@itwin/core-i18n 5.0.0-dev.11 → 5.0.0-dev.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -1
- package/lib/cjs/ITwinLocalization.d.ts +1 -10
- package/lib/cjs/ITwinLocalization.d.ts.map +1 -1
- package/lib/cjs/ITwinLocalization.js +6 -22
- package/lib/cjs/ITwinLocalization.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +1615 -2136
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +1065 -1426
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/lib/cjs/test/webpack/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.instrumented.js +661 -0
- package/lib/cjs/test/webpack/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.instrumented.js.map +1 -0
- package/lib/cjs/test/webpack/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js +661 -0
- package/lib/cjs/test/webpack/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -0
- package/lib/esm/ITwinLocalization.d.ts +1 -10
- package/lib/esm/ITwinLocalization.d.ts.map +1 -1
- package/lib/esm/ITwinLocalization.js +6 -22
- package/lib/esm/ITwinLocalization.js.map +1 -1
- package/package.json +14 -14
|
@@ -9666,570 +9666,6 @@ module.exports = {
|
|
|
9666
9666
|
};
|
|
9667
9667
|
|
|
9668
9668
|
|
|
9669
|
-
/***/ }),
|
|
9670
|
-
|
|
9671
|
-
/***/ "../../common/temp/node_modules/.pnpm/cross-fetch@3.1.5/node_modules/cross-fetch/dist/browser-ponyfill.js":
|
|
9672
|
-
/*!****************************************************************************************************************!*\
|
|
9673
|
-
!*** ../../common/temp/node_modules/.pnpm/cross-fetch@3.1.5/node_modules/cross-fetch/dist/browser-ponyfill.js ***!
|
|
9674
|
-
\****************************************************************************************************************/
|
|
9675
|
-
/***/ (function(module, exports) {
|
|
9676
|
-
|
|
9677
|
-
var global = typeof self !== 'undefined' ? self : this;
|
|
9678
|
-
var __self__ = (function () {
|
|
9679
|
-
function F() {
|
|
9680
|
-
this.fetch = false;
|
|
9681
|
-
this.DOMException = global.DOMException
|
|
9682
|
-
}
|
|
9683
|
-
F.prototype = global;
|
|
9684
|
-
return new F();
|
|
9685
|
-
})();
|
|
9686
|
-
(function(self) {
|
|
9687
|
-
|
|
9688
|
-
var irrelevant = (function (exports) {
|
|
9689
|
-
|
|
9690
|
-
var support = {
|
|
9691
|
-
searchParams: 'URLSearchParams' in self,
|
|
9692
|
-
iterable: 'Symbol' in self && 'iterator' in Symbol,
|
|
9693
|
-
blob:
|
|
9694
|
-
'FileReader' in self &&
|
|
9695
|
-
'Blob' in self &&
|
|
9696
|
-
(function() {
|
|
9697
|
-
try {
|
|
9698
|
-
new Blob();
|
|
9699
|
-
return true
|
|
9700
|
-
} catch (e) {
|
|
9701
|
-
return false
|
|
9702
|
-
}
|
|
9703
|
-
})(),
|
|
9704
|
-
formData: 'FormData' in self,
|
|
9705
|
-
arrayBuffer: 'ArrayBuffer' in self
|
|
9706
|
-
};
|
|
9707
|
-
|
|
9708
|
-
function isDataView(obj) {
|
|
9709
|
-
return obj && DataView.prototype.isPrototypeOf(obj)
|
|
9710
|
-
}
|
|
9711
|
-
|
|
9712
|
-
if (support.arrayBuffer) {
|
|
9713
|
-
var viewClasses = [
|
|
9714
|
-
'[object Int8Array]',
|
|
9715
|
-
'[object Uint8Array]',
|
|
9716
|
-
'[object Uint8ClampedArray]',
|
|
9717
|
-
'[object Int16Array]',
|
|
9718
|
-
'[object Uint16Array]',
|
|
9719
|
-
'[object Int32Array]',
|
|
9720
|
-
'[object Uint32Array]',
|
|
9721
|
-
'[object Float32Array]',
|
|
9722
|
-
'[object Float64Array]'
|
|
9723
|
-
];
|
|
9724
|
-
|
|
9725
|
-
var isArrayBufferView =
|
|
9726
|
-
ArrayBuffer.isView ||
|
|
9727
|
-
function(obj) {
|
|
9728
|
-
return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1
|
|
9729
|
-
};
|
|
9730
|
-
}
|
|
9731
|
-
|
|
9732
|
-
function normalizeName(name) {
|
|
9733
|
-
if (typeof name !== 'string') {
|
|
9734
|
-
name = String(name);
|
|
9735
|
-
}
|
|
9736
|
-
if (/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name)) {
|
|
9737
|
-
throw new TypeError('Invalid character in header field name')
|
|
9738
|
-
}
|
|
9739
|
-
return name.toLowerCase()
|
|
9740
|
-
}
|
|
9741
|
-
|
|
9742
|
-
function normalizeValue(value) {
|
|
9743
|
-
if (typeof value !== 'string') {
|
|
9744
|
-
value = String(value);
|
|
9745
|
-
}
|
|
9746
|
-
return value
|
|
9747
|
-
}
|
|
9748
|
-
|
|
9749
|
-
// Build a destructive iterator for the value list
|
|
9750
|
-
function iteratorFor(items) {
|
|
9751
|
-
var iterator = {
|
|
9752
|
-
next: function() {
|
|
9753
|
-
var value = items.shift();
|
|
9754
|
-
return {done: value === undefined, value: value}
|
|
9755
|
-
}
|
|
9756
|
-
};
|
|
9757
|
-
|
|
9758
|
-
if (support.iterable) {
|
|
9759
|
-
iterator[Symbol.iterator] = function() {
|
|
9760
|
-
return iterator
|
|
9761
|
-
};
|
|
9762
|
-
}
|
|
9763
|
-
|
|
9764
|
-
return iterator
|
|
9765
|
-
}
|
|
9766
|
-
|
|
9767
|
-
function Headers(headers) {
|
|
9768
|
-
this.map = {};
|
|
9769
|
-
|
|
9770
|
-
if (headers instanceof Headers) {
|
|
9771
|
-
headers.forEach(function(value, name) {
|
|
9772
|
-
this.append(name, value);
|
|
9773
|
-
}, this);
|
|
9774
|
-
} else if (Array.isArray(headers)) {
|
|
9775
|
-
headers.forEach(function(header) {
|
|
9776
|
-
this.append(header[0], header[1]);
|
|
9777
|
-
}, this);
|
|
9778
|
-
} else if (headers) {
|
|
9779
|
-
Object.getOwnPropertyNames(headers).forEach(function(name) {
|
|
9780
|
-
this.append(name, headers[name]);
|
|
9781
|
-
}, this);
|
|
9782
|
-
}
|
|
9783
|
-
}
|
|
9784
|
-
|
|
9785
|
-
Headers.prototype.append = function(name, value) {
|
|
9786
|
-
name = normalizeName(name);
|
|
9787
|
-
value = normalizeValue(value);
|
|
9788
|
-
var oldValue = this.map[name];
|
|
9789
|
-
this.map[name] = oldValue ? oldValue + ', ' + value : value;
|
|
9790
|
-
};
|
|
9791
|
-
|
|
9792
|
-
Headers.prototype['delete'] = function(name) {
|
|
9793
|
-
delete this.map[normalizeName(name)];
|
|
9794
|
-
};
|
|
9795
|
-
|
|
9796
|
-
Headers.prototype.get = function(name) {
|
|
9797
|
-
name = normalizeName(name);
|
|
9798
|
-
return this.has(name) ? this.map[name] : null
|
|
9799
|
-
};
|
|
9800
|
-
|
|
9801
|
-
Headers.prototype.has = function(name) {
|
|
9802
|
-
return this.map.hasOwnProperty(normalizeName(name))
|
|
9803
|
-
};
|
|
9804
|
-
|
|
9805
|
-
Headers.prototype.set = function(name, value) {
|
|
9806
|
-
this.map[normalizeName(name)] = normalizeValue(value);
|
|
9807
|
-
};
|
|
9808
|
-
|
|
9809
|
-
Headers.prototype.forEach = function(callback, thisArg) {
|
|
9810
|
-
for (var name in this.map) {
|
|
9811
|
-
if (this.map.hasOwnProperty(name)) {
|
|
9812
|
-
callback.call(thisArg, this.map[name], name, this);
|
|
9813
|
-
}
|
|
9814
|
-
}
|
|
9815
|
-
};
|
|
9816
|
-
|
|
9817
|
-
Headers.prototype.keys = function() {
|
|
9818
|
-
var items = [];
|
|
9819
|
-
this.forEach(function(value, name) {
|
|
9820
|
-
items.push(name);
|
|
9821
|
-
});
|
|
9822
|
-
return iteratorFor(items)
|
|
9823
|
-
};
|
|
9824
|
-
|
|
9825
|
-
Headers.prototype.values = function() {
|
|
9826
|
-
var items = [];
|
|
9827
|
-
this.forEach(function(value) {
|
|
9828
|
-
items.push(value);
|
|
9829
|
-
});
|
|
9830
|
-
return iteratorFor(items)
|
|
9831
|
-
};
|
|
9832
|
-
|
|
9833
|
-
Headers.prototype.entries = function() {
|
|
9834
|
-
var items = [];
|
|
9835
|
-
this.forEach(function(value, name) {
|
|
9836
|
-
items.push([name, value]);
|
|
9837
|
-
});
|
|
9838
|
-
return iteratorFor(items)
|
|
9839
|
-
};
|
|
9840
|
-
|
|
9841
|
-
if (support.iterable) {
|
|
9842
|
-
Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
|
|
9843
|
-
}
|
|
9844
|
-
|
|
9845
|
-
function consumed(body) {
|
|
9846
|
-
if (body.bodyUsed) {
|
|
9847
|
-
return Promise.reject(new TypeError('Already read'))
|
|
9848
|
-
}
|
|
9849
|
-
body.bodyUsed = true;
|
|
9850
|
-
}
|
|
9851
|
-
|
|
9852
|
-
function fileReaderReady(reader) {
|
|
9853
|
-
return new Promise(function(resolve, reject) {
|
|
9854
|
-
reader.onload = function() {
|
|
9855
|
-
resolve(reader.result);
|
|
9856
|
-
};
|
|
9857
|
-
reader.onerror = function() {
|
|
9858
|
-
reject(reader.error);
|
|
9859
|
-
};
|
|
9860
|
-
})
|
|
9861
|
-
}
|
|
9862
|
-
|
|
9863
|
-
function readBlobAsArrayBuffer(blob) {
|
|
9864
|
-
var reader = new FileReader();
|
|
9865
|
-
var promise = fileReaderReady(reader);
|
|
9866
|
-
reader.readAsArrayBuffer(blob);
|
|
9867
|
-
return promise
|
|
9868
|
-
}
|
|
9869
|
-
|
|
9870
|
-
function readBlobAsText(blob) {
|
|
9871
|
-
var reader = new FileReader();
|
|
9872
|
-
var promise = fileReaderReady(reader);
|
|
9873
|
-
reader.readAsText(blob);
|
|
9874
|
-
return promise
|
|
9875
|
-
}
|
|
9876
|
-
|
|
9877
|
-
function readArrayBufferAsText(buf) {
|
|
9878
|
-
var view = new Uint8Array(buf);
|
|
9879
|
-
var chars = new Array(view.length);
|
|
9880
|
-
|
|
9881
|
-
for (var i = 0; i < view.length; i++) {
|
|
9882
|
-
chars[i] = String.fromCharCode(view[i]);
|
|
9883
|
-
}
|
|
9884
|
-
return chars.join('')
|
|
9885
|
-
}
|
|
9886
|
-
|
|
9887
|
-
function bufferClone(buf) {
|
|
9888
|
-
if (buf.slice) {
|
|
9889
|
-
return buf.slice(0)
|
|
9890
|
-
} else {
|
|
9891
|
-
var view = new Uint8Array(buf.byteLength);
|
|
9892
|
-
view.set(new Uint8Array(buf));
|
|
9893
|
-
return view.buffer
|
|
9894
|
-
}
|
|
9895
|
-
}
|
|
9896
|
-
|
|
9897
|
-
function Body() {
|
|
9898
|
-
this.bodyUsed = false;
|
|
9899
|
-
|
|
9900
|
-
this._initBody = function(body) {
|
|
9901
|
-
this._bodyInit = body;
|
|
9902
|
-
if (!body) {
|
|
9903
|
-
this._bodyText = '';
|
|
9904
|
-
} else if (typeof body === 'string') {
|
|
9905
|
-
this._bodyText = body;
|
|
9906
|
-
} else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
|
|
9907
|
-
this._bodyBlob = body;
|
|
9908
|
-
} else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
|
|
9909
|
-
this._bodyFormData = body;
|
|
9910
|
-
} else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
|
|
9911
|
-
this._bodyText = body.toString();
|
|
9912
|
-
} else if (support.arrayBuffer && support.blob && isDataView(body)) {
|
|
9913
|
-
this._bodyArrayBuffer = bufferClone(body.buffer);
|
|
9914
|
-
// IE 10-11 can't handle a DataView body.
|
|
9915
|
-
this._bodyInit = new Blob([this._bodyArrayBuffer]);
|
|
9916
|
-
} else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {
|
|
9917
|
-
this._bodyArrayBuffer = bufferClone(body);
|
|
9918
|
-
} else {
|
|
9919
|
-
this._bodyText = body = Object.prototype.toString.call(body);
|
|
9920
|
-
}
|
|
9921
|
-
|
|
9922
|
-
if (!this.headers.get('content-type')) {
|
|
9923
|
-
if (typeof body === 'string') {
|
|
9924
|
-
this.headers.set('content-type', 'text/plain;charset=UTF-8');
|
|
9925
|
-
} else if (this._bodyBlob && this._bodyBlob.type) {
|
|
9926
|
-
this.headers.set('content-type', this._bodyBlob.type);
|
|
9927
|
-
} else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
|
|
9928
|
-
this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
|
|
9929
|
-
}
|
|
9930
|
-
}
|
|
9931
|
-
};
|
|
9932
|
-
|
|
9933
|
-
if (support.blob) {
|
|
9934
|
-
this.blob = function() {
|
|
9935
|
-
var rejected = consumed(this);
|
|
9936
|
-
if (rejected) {
|
|
9937
|
-
return rejected
|
|
9938
|
-
}
|
|
9939
|
-
|
|
9940
|
-
if (this._bodyBlob) {
|
|
9941
|
-
return Promise.resolve(this._bodyBlob)
|
|
9942
|
-
} else if (this._bodyArrayBuffer) {
|
|
9943
|
-
return Promise.resolve(new Blob([this._bodyArrayBuffer]))
|
|
9944
|
-
} else if (this._bodyFormData) {
|
|
9945
|
-
throw new Error('could not read FormData body as blob')
|
|
9946
|
-
} else {
|
|
9947
|
-
return Promise.resolve(new Blob([this._bodyText]))
|
|
9948
|
-
}
|
|
9949
|
-
};
|
|
9950
|
-
|
|
9951
|
-
this.arrayBuffer = function() {
|
|
9952
|
-
if (this._bodyArrayBuffer) {
|
|
9953
|
-
return consumed(this) || Promise.resolve(this._bodyArrayBuffer)
|
|
9954
|
-
} else {
|
|
9955
|
-
return this.blob().then(readBlobAsArrayBuffer)
|
|
9956
|
-
}
|
|
9957
|
-
};
|
|
9958
|
-
}
|
|
9959
|
-
|
|
9960
|
-
this.text = function() {
|
|
9961
|
-
var rejected = consumed(this);
|
|
9962
|
-
if (rejected) {
|
|
9963
|
-
return rejected
|
|
9964
|
-
}
|
|
9965
|
-
|
|
9966
|
-
if (this._bodyBlob) {
|
|
9967
|
-
return readBlobAsText(this._bodyBlob)
|
|
9968
|
-
} else if (this._bodyArrayBuffer) {
|
|
9969
|
-
return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
|
|
9970
|
-
} else if (this._bodyFormData) {
|
|
9971
|
-
throw new Error('could not read FormData body as text')
|
|
9972
|
-
} else {
|
|
9973
|
-
return Promise.resolve(this._bodyText)
|
|
9974
|
-
}
|
|
9975
|
-
};
|
|
9976
|
-
|
|
9977
|
-
if (support.formData) {
|
|
9978
|
-
this.formData = function() {
|
|
9979
|
-
return this.text().then(decode)
|
|
9980
|
-
};
|
|
9981
|
-
}
|
|
9982
|
-
|
|
9983
|
-
this.json = function() {
|
|
9984
|
-
return this.text().then(JSON.parse)
|
|
9985
|
-
};
|
|
9986
|
-
|
|
9987
|
-
return this
|
|
9988
|
-
}
|
|
9989
|
-
|
|
9990
|
-
// HTTP methods whose capitalization should be normalized
|
|
9991
|
-
var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];
|
|
9992
|
-
|
|
9993
|
-
function normalizeMethod(method) {
|
|
9994
|
-
var upcased = method.toUpperCase();
|
|
9995
|
-
return methods.indexOf(upcased) > -1 ? upcased : method
|
|
9996
|
-
}
|
|
9997
|
-
|
|
9998
|
-
function Request(input, options) {
|
|
9999
|
-
options = options || {};
|
|
10000
|
-
var body = options.body;
|
|
10001
|
-
|
|
10002
|
-
if (input instanceof Request) {
|
|
10003
|
-
if (input.bodyUsed) {
|
|
10004
|
-
throw new TypeError('Already read')
|
|
10005
|
-
}
|
|
10006
|
-
this.url = input.url;
|
|
10007
|
-
this.credentials = input.credentials;
|
|
10008
|
-
if (!options.headers) {
|
|
10009
|
-
this.headers = new Headers(input.headers);
|
|
10010
|
-
}
|
|
10011
|
-
this.method = input.method;
|
|
10012
|
-
this.mode = input.mode;
|
|
10013
|
-
this.signal = input.signal;
|
|
10014
|
-
if (!body && input._bodyInit != null) {
|
|
10015
|
-
body = input._bodyInit;
|
|
10016
|
-
input.bodyUsed = true;
|
|
10017
|
-
}
|
|
10018
|
-
} else {
|
|
10019
|
-
this.url = String(input);
|
|
10020
|
-
}
|
|
10021
|
-
|
|
10022
|
-
this.credentials = options.credentials || this.credentials || 'same-origin';
|
|
10023
|
-
if (options.headers || !this.headers) {
|
|
10024
|
-
this.headers = new Headers(options.headers);
|
|
10025
|
-
}
|
|
10026
|
-
this.method = normalizeMethod(options.method || this.method || 'GET');
|
|
10027
|
-
this.mode = options.mode || this.mode || null;
|
|
10028
|
-
this.signal = options.signal || this.signal;
|
|
10029
|
-
this.referrer = null;
|
|
10030
|
-
|
|
10031
|
-
if ((this.method === 'GET' || this.method === 'HEAD') && body) {
|
|
10032
|
-
throw new TypeError('Body not allowed for GET or HEAD requests')
|
|
10033
|
-
}
|
|
10034
|
-
this._initBody(body);
|
|
10035
|
-
}
|
|
10036
|
-
|
|
10037
|
-
Request.prototype.clone = function() {
|
|
10038
|
-
return new Request(this, {body: this._bodyInit})
|
|
10039
|
-
};
|
|
10040
|
-
|
|
10041
|
-
function decode(body) {
|
|
10042
|
-
var form = new FormData();
|
|
10043
|
-
body
|
|
10044
|
-
.trim()
|
|
10045
|
-
.split('&')
|
|
10046
|
-
.forEach(function(bytes) {
|
|
10047
|
-
if (bytes) {
|
|
10048
|
-
var split = bytes.split('=');
|
|
10049
|
-
var name = split.shift().replace(/\+/g, ' ');
|
|
10050
|
-
var value = split.join('=').replace(/\+/g, ' ');
|
|
10051
|
-
form.append(decodeURIComponent(name), decodeURIComponent(value));
|
|
10052
|
-
}
|
|
10053
|
-
});
|
|
10054
|
-
return form
|
|
10055
|
-
}
|
|
10056
|
-
|
|
10057
|
-
function parseHeaders(rawHeaders) {
|
|
10058
|
-
var headers = new Headers();
|
|
10059
|
-
// Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space
|
|
10060
|
-
// https://tools.ietf.org/html/rfc7230#section-3.2
|
|
10061
|
-
var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ');
|
|
10062
|
-
preProcessedHeaders.split(/\r?\n/).forEach(function(line) {
|
|
10063
|
-
var parts = line.split(':');
|
|
10064
|
-
var key = parts.shift().trim();
|
|
10065
|
-
if (key) {
|
|
10066
|
-
var value = parts.join(':').trim();
|
|
10067
|
-
headers.append(key, value);
|
|
10068
|
-
}
|
|
10069
|
-
});
|
|
10070
|
-
return headers
|
|
10071
|
-
}
|
|
10072
|
-
|
|
10073
|
-
Body.call(Request.prototype);
|
|
10074
|
-
|
|
10075
|
-
function Response(bodyInit, options) {
|
|
10076
|
-
if (!options) {
|
|
10077
|
-
options = {};
|
|
10078
|
-
}
|
|
10079
|
-
|
|
10080
|
-
this.type = 'default';
|
|
10081
|
-
this.status = options.status === undefined ? 200 : options.status;
|
|
10082
|
-
this.ok = this.status >= 200 && this.status < 300;
|
|
10083
|
-
this.statusText = 'statusText' in options ? options.statusText : 'OK';
|
|
10084
|
-
this.headers = new Headers(options.headers);
|
|
10085
|
-
this.url = options.url || '';
|
|
10086
|
-
this._initBody(bodyInit);
|
|
10087
|
-
}
|
|
10088
|
-
|
|
10089
|
-
Body.call(Response.prototype);
|
|
10090
|
-
|
|
10091
|
-
Response.prototype.clone = function() {
|
|
10092
|
-
return new Response(this._bodyInit, {
|
|
10093
|
-
status: this.status,
|
|
10094
|
-
statusText: this.statusText,
|
|
10095
|
-
headers: new Headers(this.headers),
|
|
10096
|
-
url: this.url
|
|
10097
|
-
})
|
|
10098
|
-
};
|
|
10099
|
-
|
|
10100
|
-
Response.error = function() {
|
|
10101
|
-
var response = new Response(null, {status: 0, statusText: ''});
|
|
10102
|
-
response.type = 'error';
|
|
10103
|
-
return response
|
|
10104
|
-
};
|
|
10105
|
-
|
|
10106
|
-
var redirectStatuses = [301, 302, 303, 307, 308];
|
|
10107
|
-
|
|
10108
|
-
Response.redirect = function(url, status) {
|
|
10109
|
-
if (redirectStatuses.indexOf(status) === -1) {
|
|
10110
|
-
throw new RangeError('Invalid status code')
|
|
10111
|
-
}
|
|
10112
|
-
|
|
10113
|
-
return new Response(null, {status: status, headers: {location: url}})
|
|
10114
|
-
};
|
|
10115
|
-
|
|
10116
|
-
exports.DOMException = self.DOMException;
|
|
10117
|
-
try {
|
|
10118
|
-
new exports.DOMException();
|
|
10119
|
-
} catch (err) {
|
|
10120
|
-
exports.DOMException = function(message, name) {
|
|
10121
|
-
this.message = message;
|
|
10122
|
-
this.name = name;
|
|
10123
|
-
var error = Error(message);
|
|
10124
|
-
this.stack = error.stack;
|
|
10125
|
-
};
|
|
10126
|
-
exports.DOMException.prototype = Object.create(Error.prototype);
|
|
10127
|
-
exports.DOMException.prototype.constructor = exports.DOMException;
|
|
10128
|
-
}
|
|
10129
|
-
|
|
10130
|
-
function fetch(input, init) {
|
|
10131
|
-
return new Promise(function(resolve, reject) {
|
|
10132
|
-
var request = new Request(input, init);
|
|
10133
|
-
|
|
10134
|
-
if (request.signal && request.signal.aborted) {
|
|
10135
|
-
return reject(new exports.DOMException('Aborted', 'AbortError'))
|
|
10136
|
-
}
|
|
10137
|
-
|
|
10138
|
-
var xhr = new XMLHttpRequest();
|
|
10139
|
-
|
|
10140
|
-
function abortXhr() {
|
|
10141
|
-
xhr.abort();
|
|
10142
|
-
}
|
|
10143
|
-
|
|
10144
|
-
xhr.onload = function() {
|
|
10145
|
-
var options = {
|
|
10146
|
-
status: xhr.status,
|
|
10147
|
-
statusText: xhr.statusText,
|
|
10148
|
-
headers: parseHeaders(xhr.getAllResponseHeaders() || '')
|
|
10149
|
-
};
|
|
10150
|
-
options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');
|
|
10151
|
-
var body = 'response' in xhr ? xhr.response : xhr.responseText;
|
|
10152
|
-
resolve(new Response(body, options));
|
|
10153
|
-
};
|
|
10154
|
-
|
|
10155
|
-
xhr.onerror = function() {
|
|
10156
|
-
reject(new TypeError('Network request failed'));
|
|
10157
|
-
};
|
|
10158
|
-
|
|
10159
|
-
xhr.ontimeout = function() {
|
|
10160
|
-
reject(new TypeError('Network request failed'));
|
|
10161
|
-
};
|
|
10162
|
-
|
|
10163
|
-
xhr.onabort = function() {
|
|
10164
|
-
reject(new exports.DOMException('Aborted', 'AbortError'));
|
|
10165
|
-
};
|
|
10166
|
-
|
|
10167
|
-
xhr.open(request.method, request.url, true);
|
|
10168
|
-
|
|
10169
|
-
if (request.credentials === 'include') {
|
|
10170
|
-
xhr.withCredentials = true;
|
|
10171
|
-
} else if (request.credentials === 'omit') {
|
|
10172
|
-
xhr.withCredentials = false;
|
|
10173
|
-
}
|
|
10174
|
-
|
|
10175
|
-
if ('responseType' in xhr && support.blob) {
|
|
10176
|
-
xhr.responseType = 'blob';
|
|
10177
|
-
}
|
|
10178
|
-
|
|
10179
|
-
request.headers.forEach(function(value, name) {
|
|
10180
|
-
xhr.setRequestHeader(name, value);
|
|
10181
|
-
});
|
|
10182
|
-
|
|
10183
|
-
if (request.signal) {
|
|
10184
|
-
request.signal.addEventListener('abort', abortXhr);
|
|
10185
|
-
|
|
10186
|
-
xhr.onreadystatechange = function() {
|
|
10187
|
-
// DONE (success or failure)
|
|
10188
|
-
if (xhr.readyState === 4) {
|
|
10189
|
-
request.signal.removeEventListener('abort', abortXhr);
|
|
10190
|
-
}
|
|
10191
|
-
};
|
|
10192
|
-
}
|
|
10193
|
-
|
|
10194
|
-
xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);
|
|
10195
|
-
})
|
|
10196
|
-
}
|
|
10197
|
-
|
|
10198
|
-
fetch.polyfill = true;
|
|
10199
|
-
|
|
10200
|
-
if (!self.fetch) {
|
|
10201
|
-
self.fetch = fetch;
|
|
10202
|
-
self.Headers = Headers;
|
|
10203
|
-
self.Request = Request;
|
|
10204
|
-
self.Response = Response;
|
|
10205
|
-
}
|
|
10206
|
-
|
|
10207
|
-
exports.Headers = Headers;
|
|
10208
|
-
exports.Request = Request;
|
|
10209
|
-
exports.Response = Response;
|
|
10210
|
-
exports.fetch = fetch;
|
|
10211
|
-
|
|
10212
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10213
|
-
|
|
10214
|
-
return exports;
|
|
10215
|
-
|
|
10216
|
-
})({});
|
|
10217
|
-
})(__self__);
|
|
10218
|
-
__self__.fetch.ponyfill = true;
|
|
10219
|
-
// Remove "polyfill" property added by whatwg-fetch
|
|
10220
|
-
delete __self__.fetch.polyfill;
|
|
10221
|
-
// Choose between native implementation (global) or custom implementation (__self__)
|
|
10222
|
-
// var ctx = global.fetch ? global : __self__;
|
|
10223
|
-
var ctx = __self__; // this line disable service worker support temporarily
|
|
10224
|
-
exports = ctx.fetch // To enable: import fetch from 'cross-fetch'
|
|
10225
|
-
exports["default"] = ctx.fetch // For TypeScript consumers without esModuleInterop.
|
|
10226
|
-
exports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch'
|
|
10227
|
-
exports.Headers = ctx.Headers
|
|
10228
|
-
exports.Request = ctx.Request
|
|
10229
|
-
exports.Response = ctx.Response
|
|
10230
|
-
module.exports = exports
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
9669
|
/***/ }),
|
|
10234
9670
|
|
|
10235
9671
|
/***/ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.4/node_modules/deep-eql/index.js":
|
|
@@ -10815,8 +10251,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10815
10251
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10816
10252
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
10817
10253
|
/* harmony export */ });
|
|
10818
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
10819
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
10254
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
10255
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
10820
10256
|
|
|
10821
10257
|
|
|
10822
10258
|
|
|
@@ -11244,15 +10680,15 @@ Browser.type = 'languageDetector';
|
|
|
11244
10680
|
"use strict";
|
|
11245
10681
|
|
|
11246
10682
|
|
|
11247
|
-
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11248
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11249
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11250
|
-
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11251
|
-
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11252
|
-
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11253
|
-
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11254
|
-
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
11255
|
-
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
10683
|
+
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/typeof.js");
|
|
10684
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
10685
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/createClass.js");
|
|
10686
|
+
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
10687
|
+
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/inherits.js");
|
|
10688
|
+
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
|
|
10689
|
+
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
|
|
10690
|
+
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/defineProperty.js");
|
|
10691
|
+
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toArray.js");
|
|
11256
10692
|
|
|
11257
10693
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11258
10694
|
|
|
@@ -15439,7 +14875,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15439
14875
|
"use strict";
|
|
15440
14876
|
__webpack_require__.r(__webpack_exports__);
|
|
15441
14877
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15442
|
-
/* harmony export */
|
|
14878
|
+
/* harmony export */ assert: () => (/* binding */ assert)
|
|
15443
14879
|
/* harmony export */ });
|
|
15444
14880
|
/*---------------------------------------------------------------------------------------------
|
|
15445
14881
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -15495,9 +14931,9 @@ function assert(condition, message) {
|
|
|
15495
14931
|
"use strict";
|
|
15496
14932
|
__webpack_require__.r(__webpack_exports__);
|
|
15497
14933
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15498
|
-
/* harmony export */
|
|
15499
|
-
/* harmony export */
|
|
15500
|
-
/* harmony export */
|
|
14934
|
+
/* harmony export */ BeEvent: () => (/* binding */ BeEvent),
|
|
14935
|
+
/* harmony export */ BeEventList: () => (/* binding */ BeEventList),
|
|
14936
|
+
/* harmony export */ BeUiEvent: () => (/* binding */ BeUiEvent)
|
|
15501
14937
|
/* harmony export */ });
|
|
15502
14938
|
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../bentley/lib/esm/UnexpectedErrors.js");
|
|
15503
14939
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -15515,10 +14951,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15515
14951
|
* @public
|
|
15516
14952
|
*/
|
|
15517
14953
|
class BeEvent {
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
this._insideRaiseEvent = false;
|
|
15521
|
-
}
|
|
14954
|
+
_listeners = [];
|
|
14955
|
+
_insideRaiseEvent = false;
|
|
15522
14956
|
/** The number of listeners currently subscribed to the event. */
|
|
15523
14957
|
get numberOfListeners() { return this._listeners.length; }
|
|
15524
14958
|
/**
|
|
@@ -15627,9 +15061,7 @@ class BeUiEvent extends BeEvent {
|
|
|
15627
15061
|
* @public
|
|
15628
15062
|
*/
|
|
15629
15063
|
class BeEventList {
|
|
15630
|
-
|
|
15631
|
-
this._events = {};
|
|
15632
|
-
}
|
|
15064
|
+
_events = {};
|
|
15633
15065
|
/**
|
|
15634
15066
|
* Gets the event associated with the specified name, creating the event if it does not already exist.
|
|
15635
15067
|
* @param name The name of the event.
|
|
@@ -15663,9 +15095,9 @@ class BeEventList {
|
|
|
15663
15095
|
"use strict";
|
|
15664
15096
|
__webpack_require__.r(__webpack_exports__);
|
|
15665
15097
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15666
|
-
/* harmony export */
|
|
15667
|
-
/* harmony export */
|
|
15668
|
-
/* harmony export */
|
|
15098
|
+
/* harmony export */ DbOpcode: () => (/* binding */ DbOpcode),
|
|
15099
|
+
/* harmony export */ DbResult: () => (/* binding */ DbResult),
|
|
15100
|
+
/* harmony export */ OpenMode: () => (/* binding */ OpenMode)
|
|
15669
15101
|
/* harmony export */ });
|
|
15670
15102
|
/*---------------------------------------------------------------------------------------------
|
|
15671
15103
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -15860,19 +15292,21 @@ var DbResult;
|
|
|
15860
15292
|
"use strict";
|
|
15861
15293
|
__webpack_require__.r(__webpack_exports__);
|
|
15862
15294
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15863
|
-
/* harmony export */
|
|
15864
|
-
/* harmony export */
|
|
15865
|
-
/* harmony export */
|
|
15866
|
-
/* harmony export */
|
|
15867
|
-
/* harmony export */
|
|
15868
|
-
/* harmony export */
|
|
15869
|
-
/* harmony export */
|
|
15870
|
-
/* harmony export */
|
|
15871
|
-
/* harmony export */
|
|
15872
|
-
/* harmony export */
|
|
15295
|
+
/* harmony export */ BentleyError: () => (/* binding */ BentleyError),
|
|
15296
|
+
/* harmony export */ BentleyStatus: () => (/* binding */ BentleyStatus),
|
|
15297
|
+
/* harmony export */ BriefcaseStatus: () => (/* binding */ BriefcaseStatus),
|
|
15298
|
+
/* harmony export */ ChangeSetStatus: () => (/* binding */ ChangeSetStatus),
|
|
15299
|
+
/* harmony export */ GeoServiceStatus: () => (/* binding */ GeoServiceStatus),
|
|
15300
|
+
/* harmony export */ HttpStatus: () => (/* binding */ HttpStatus),
|
|
15301
|
+
/* harmony export */ IModelHubStatus: () => (/* binding */ IModelHubStatus),
|
|
15302
|
+
/* harmony export */ IModelStatus: () => (/* binding */ IModelStatus),
|
|
15303
|
+
/* harmony export */ ITwinError: () => (/* binding */ ITwinError),
|
|
15304
|
+
/* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
|
|
15305
|
+
/* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
|
|
15873
15306
|
/* harmony export */ });
|
|
15874
15307
|
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../bentley/lib/esm/BeSQLite.js");
|
|
15875
15308
|
/* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
|
|
15309
|
+
/* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./JsonUtils */ "../bentley/lib/esm/JsonUtils.js");
|
|
15876
15310
|
/*---------------------------------------------------------------------------------------------
|
|
15877
15311
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
15878
15312
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -15882,6 +15316,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15882
15316
|
*/
|
|
15883
15317
|
|
|
15884
15318
|
|
|
15319
|
+
|
|
15320
|
+
/** @beta */
|
|
15321
|
+
var ITwinError;
|
|
15322
|
+
(function (ITwinError) {
|
|
15323
|
+
/** Instantiate a new `ITwinError` or subtype thereof.
|
|
15324
|
+
* @see [[ITwinError.throwError]] to conveniently instantiate and throw the error.
|
|
15325
|
+
*/
|
|
15326
|
+
function create(args) {
|
|
15327
|
+
const err = new Error(args.message);
|
|
15328
|
+
Object.assign(err, args);
|
|
15329
|
+
err.name = args.iTwinErrorId.key; // helpful because this is used by `toString` for Error class
|
|
15330
|
+
return err;
|
|
15331
|
+
}
|
|
15332
|
+
ITwinError.create = create;
|
|
15333
|
+
/** Instantiate and immediately throw an `ITwinError`.
|
|
15334
|
+
* @see [[ITwinError.create]] to instantiate an error without throwing it.
|
|
15335
|
+
*/
|
|
15336
|
+
function throwError(args) {
|
|
15337
|
+
throw create(args);
|
|
15338
|
+
}
|
|
15339
|
+
ITwinError.throwError = throwError;
|
|
15340
|
+
/**
|
|
15341
|
+
* Determine whether an error object was thrown by iTwin.js and has a specific scope and key.
|
|
15342
|
+
*
|
|
15343
|
+
* If the test succeeds, the type of `error` is coerced to `T`
|
|
15344
|
+
* @param error The error to ve verified.
|
|
15345
|
+
* @param scope value for `error.iTwinErrorId.scope`
|
|
15346
|
+
* @param key value for `error.iTwinErrorId.key`
|
|
15347
|
+
*/
|
|
15348
|
+
function isError(error, scope, key) {
|
|
15349
|
+
return _JsonUtils__WEBPACK_IMPORTED_MODULE_2__.JsonUtils.isObject(error) && "iTwinErrorId" in error && _JsonUtils__WEBPACK_IMPORTED_MODULE_2__.JsonUtils.isObject(error.iTwinErrorId)
|
|
15350
|
+
&& error.iTwinErrorId.scope === scope && (undefined === key || error.iTwinErrorId.key === key);
|
|
15351
|
+
}
|
|
15352
|
+
ITwinError.isError = isError;
|
|
15353
|
+
})(ITwinError || (ITwinError = {}));
|
|
15885
15354
|
/** Standard status code.
|
|
15886
15355
|
* This status code should be rarely used.
|
|
15887
15356
|
* Prefer to throw an exception to indicate an error, rather than returning a special status code.
|
|
@@ -16157,6 +15626,9 @@ var GeoServiceStatus;
|
|
|
16157
15626
|
GeoServiceStatus[GeoServiceStatus["NoDatumConverter"] = 147459] = "NoDatumConverter";
|
|
16158
15627
|
GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
|
|
16159
15628
|
GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
|
|
15629
|
+
/**
|
|
15630
|
+
* @deprecated in 5.0. This status is never returned.
|
|
15631
|
+
*/
|
|
16160
15632
|
GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
|
|
16161
15633
|
})(GeoServiceStatus || (GeoServiceStatus = {}));
|
|
16162
15634
|
/** Error status from various reality data operations
|
|
@@ -16168,13 +15640,15 @@ var RealityDataStatus;
|
|
|
16168
15640
|
RealityDataStatus[RealityDataStatus["REALITYDATA_ERROR_BASE"] = 151552] = "REALITYDATA_ERROR_BASE";
|
|
16169
15641
|
RealityDataStatus[RealityDataStatus["InvalidData"] = 151553] = "InvalidData";
|
|
16170
15642
|
})(RealityDataStatus || (RealityDataStatus = {}));
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
/** Base exception class for iTwin.js exceptions.
|
|
15643
|
+
/**
|
|
15644
|
+
* Base exception class for legacy iTwin.js errors.
|
|
15645
|
+
* For backwards compatibility only. Do not create new subclasses of BentleyError. Instead use [[ITwinError]].
|
|
16175
15646
|
* @public
|
|
16176
15647
|
*/
|
|
16177
15648
|
class BentleyError extends Error {
|
|
15649
|
+
errorNumber;
|
|
15650
|
+
static iTwinErrorScope = "bentley-error";
|
|
15651
|
+
_metaData;
|
|
16178
15652
|
/**
|
|
16179
15653
|
* @param errorNumber The a number that identifies of the problem.
|
|
16180
15654
|
* @param message message that describes the problem (should not be localized).
|
|
@@ -16187,6 +15661,23 @@ class BentleyError extends Error {
|
|
|
16187
15661
|
this._metaData = metaData;
|
|
16188
15662
|
this.name = this._initName();
|
|
16189
15663
|
}
|
|
15664
|
+
/** supply the value for iTwinErrorId */
|
|
15665
|
+
get iTwinErrorId() {
|
|
15666
|
+
return { scope: BentleyError.iTwinErrorScope, key: this.name };
|
|
15667
|
+
}
|
|
15668
|
+
/** value for logging metadata */
|
|
15669
|
+
get loggingMetadata() { return this.getMetaData(); }
|
|
15670
|
+
/**
|
|
15671
|
+
* Determine if an error object implements the `LegacyITwinErrorWithNumber` interface.
|
|
15672
|
+
*
|
|
15673
|
+
* If the test succeeds, the type of `error` is coerced to `T`
|
|
15674
|
+
* @note this method does *not* test that the object is an `instanceOf BentleyError`.
|
|
15675
|
+
* @beta
|
|
15676
|
+
*/
|
|
15677
|
+
static isError(error, errorNumber) {
|
|
15678
|
+
return ITwinError.isError(error, BentleyError.iTwinErrorScope) &&
|
|
15679
|
+
typeof error.errorNumber === "number" && (errorNumber === undefined || error.errorNumber === errorNumber);
|
|
15680
|
+
}
|
|
16190
15681
|
/** Returns true if this BentleyError includes (optional) metadata. */
|
|
16191
15682
|
get hasMetaData() { return undefined !== this._metaData; }
|
|
16192
15683
|
/** get the meta data associated with this BentleyError, if any. */
|
|
@@ -16199,7 +15690,11 @@ class BentleyError extends Error {
|
|
|
16199
15690
|
}
|
|
16200
15691
|
/** This function returns the name of each error status. Override this method to handle more error status codes. */
|
|
16201
15692
|
_initName() {
|
|
16202
|
-
|
|
15693
|
+
return BentleyError.getErrorKey(this.errorNumber);
|
|
15694
|
+
}
|
|
15695
|
+
/** This function returns the name of each error status. */
|
|
15696
|
+
static getErrorKey(errorNumber) {
|
|
15697
|
+
switch (errorNumber) {
|
|
16203
15698
|
case IModelStatus.AlreadyLoaded: return "Already Loaded";
|
|
16204
15699
|
case IModelStatus.AlreadyOpen: return "Already Open";
|
|
16205
15700
|
case IModelStatus.BadArg: return "Bad Arg";
|
|
@@ -16466,7 +15961,7 @@ class BentleyError extends Error {
|
|
|
16466
15961
|
case GeoServiceStatus.NoDatumConverter: return "No datum converter";
|
|
16467
15962
|
case GeoServiceStatus.VerticalDatumConvertError: return "Vertical datum convert error";
|
|
16468
15963
|
case GeoServiceStatus.CSMapError: return "CSMap error";
|
|
16469
|
-
case GeoServiceStatus.Pending: return "Pending";
|
|
15964
|
+
case GeoServiceStatus.Pending: return "Pending"; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
16470
15965
|
case RealityDataStatus.InvalidData: return "Invalid or unknown data";
|
|
16471
15966
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_OK:
|
|
16472
15967
|
case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ROW:
|
|
@@ -16474,7 +15969,7 @@ class BentleyError extends Error {
|
|
|
16474
15969
|
case BentleyStatus.SUCCESS:
|
|
16475
15970
|
return "Success";
|
|
16476
15971
|
default:
|
|
16477
|
-
return `Error (${
|
|
15972
|
+
return `Error (${errorNumber})`;
|
|
16478
15973
|
}
|
|
16479
15974
|
}
|
|
16480
15975
|
/** Use run-time type checking to safely get a useful string summary of an unknown error value, or `""` if none exists.
|
|
@@ -16486,7 +15981,7 @@ class BentleyError extends Error {
|
|
|
16486
15981
|
return error;
|
|
16487
15982
|
if (error instanceof Error)
|
|
16488
15983
|
return error.toString();
|
|
16489
|
-
if (isObject(error)) {
|
|
15984
|
+
if (_JsonUtils__WEBPACK_IMPORTED_MODULE_2__.JsonUtils.isObject(error)) {
|
|
16490
15985
|
if (typeof error.message === "string")
|
|
16491
15986
|
return error.message;
|
|
16492
15987
|
if (typeof error.msg === "string")
|
|
@@ -16502,7 +15997,7 @@ class BentleyError extends Error {
|
|
|
16502
15997
|
* @public
|
|
16503
15998
|
*/
|
|
16504
15999
|
static getErrorStack(error) {
|
|
16505
|
-
if (isObject(error) && typeof error.stack === "string")
|
|
16000
|
+
if (_JsonUtils__WEBPACK_IMPORTED_MODULE_2__.JsonUtils.isObject(error) && typeof error.stack === "string")
|
|
16506
16001
|
return error.stack;
|
|
16507
16002
|
return undefined;
|
|
16508
16003
|
}
|
|
@@ -16512,7 +16007,7 @@ class BentleyError extends Error {
|
|
|
16512
16007
|
* @public
|
|
16513
16008
|
*/
|
|
16514
16009
|
static getErrorMetadata(error) {
|
|
16515
|
-
if (isObject(error) && typeof error.getMetaData === "function") {
|
|
16010
|
+
if (_JsonUtils__WEBPACK_IMPORTED_MODULE_2__.JsonUtils.isObject(error) && typeof error.getMetaData === "function") {
|
|
16516
16011
|
const metadata = error.getMetaData();
|
|
16517
16012
|
if (typeof metadata === "object" && metadata !== null)
|
|
16518
16013
|
return metadata;
|
|
@@ -16550,7 +16045,7 @@ class BentleyError extends Error {
|
|
|
16550
16045
|
"use strict";
|
|
16551
16046
|
__webpack_require__.r(__webpack_exports__);
|
|
16552
16047
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16553
|
-
/* harmony export */
|
|
16048
|
+
/* harmony export */ BentleyLoggerCategory: () => (/* binding */ BentleyLoggerCategory)
|
|
16554
16049
|
/* harmony export */ });
|
|
16555
16050
|
/*---------------------------------------------------------------------------------------------
|
|
16556
16051
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -16581,7 +16076,7 @@ var BentleyLoggerCategory;
|
|
|
16581
16076
|
"use strict";
|
|
16582
16077
|
__webpack_require__.r(__webpack_exports__);
|
|
16583
16078
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16584
|
-
/* harmony export */
|
|
16079
|
+
/* harmony export */ ByteStream: () => (/* binding */ ByteStream)
|
|
16585
16080
|
/* harmony export */ });
|
|
16586
16081
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
16587
16082
|
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
|
|
@@ -16602,6 +16097,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16602
16097
|
* @public
|
|
16603
16098
|
*/
|
|
16604
16099
|
class ByteStream {
|
|
16100
|
+
_view;
|
|
16101
|
+
_byteOffset;
|
|
16102
|
+
_curPos = 0;
|
|
16605
16103
|
/** Construct a new ByteStream with the read position set to the beginning.
|
|
16606
16104
|
* @param buffer The underlying buffer from which data is to be extracted.
|
|
16607
16105
|
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
@@ -16613,11 +16111,9 @@ class ByteStream {
|
|
|
16613
16111
|
* ArrayBuffer. If `bytes` represents only a **sub-range** of the underlying buffer's data, the results will be unexpected unless the optional `subView`
|
|
16614
16112
|
* argument is supplied, with correct offset and length.
|
|
16615
16113
|
*
|
|
16616
|
-
* For both of the above reasons,
|
|
16617
|
-
* @deprecated in 3.x. Use [[fromUint8Array]] or [[fromArrayBuffer]].
|
|
16114
|
+
* For both of the above reasons, this constructor is private, and [[fromUint8Array]] or [[fromArrayBuffer]] should be used to create a ByteStream.
|
|
16618
16115
|
*/
|
|
16619
16116
|
constructor(buffer, subView) {
|
|
16620
|
-
this._curPos = 0;
|
|
16621
16117
|
if (undefined !== subView) {
|
|
16622
16118
|
this._view = new DataView(buffer, subView.byteOffset, subView.byteLength);
|
|
16623
16119
|
this._byteOffset = subView.byteOffset;
|
|
@@ -16629,17 +16125,18 @@ class ByteStream {
|
|
|
16629
16125
|
}
|
|
16630
16126
|
/** Construct a new ByteStream for the range of bytes represented by `bytes`, which may be a subset of the range of bytes
|
|
16631
16127
|
* represented by the underlying ArrayBuffer. The read position will be set to the beginning of the range of bytes.
|
|
16128
|
+
* @param bytes The Uint8Array from which data is to be extracted.
|
|
16632
16129
|
*/
|
|
16633
16130
|
static fromUint8Array(bytes) {
|
|
16634
16131
|
const { byteOffset, byteLength } = bytes;
|
|
16635
|
-
return new ByteStream(bytes.buffer, { byteOffset, byteLength });
|
|
16132
|
+
return new ByteStream(bytes.buffer, { byteOffset, byteLength });
|
|
16636
16133
|
}
|
|
16637
16134
|
/** Construct a new ByteStream with the read position set to the beginning.
|
|
16638
16135
|
* @param buffer The underlying buffer from which data is to be extracted.
|
|
16639
16136
|
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
16640
16137
|
*/
|
|
16641
16138
|
static fromArrayBuffer(buffer, subView) {
|
|
16642
|
-
return new ByteStream(buffer, subView);
|
|
16139
|
+
return new ByteStream(buffer, subView);
|
|
16643
16140
|
}
|
|
16644
16141
|
/** The number of bytes in this stream */
|
|
16645
16142
|
get length() {
|
|
@@ -16697,22 +16194,6 @@ class ByteStream {
|
|
|
16697
16194
|
readId64() { return _Id__WEBPACK_IMPORTED_MODULE_1__.Id64.fromUint32Pair(this.readUint32(), this.readUint32()); }
|
|
16698
16195
|
/** Read an unsigned 24-bit integer from the current read position and advance by 3 bytes. */
|
|
16699
16196
|
readUint24() { return this.readUint8() | (this.readUint8() << 8) | (this.readUint8() << 16); }
|
|
16700
|
-
/** @deprecated in 3.x. use [[readUint8]]. */
|
|
16701
|
-
get nextUint8() { return this.readUint8(); }
|
|
16702
|
-
/** @deprecated in 3.x. use [[readUint16]]. */
|
|
16703
|
-
get nextUint16() { return this.readUint16(); }
|
|
16704
|
-
/** @deprecated in 3.x. use [[readUint32]]. */
|
|
16705
|
-
get nextUint32() { return this.readUint32(); }
|
|
16706
|
-
/** @deprecated in 3.x. use [[readInt32]]. */
|
|
16707
|
-
get nextInt32() { return this.readInt32(); }
|
|
16708
|
-
/** @deprecated in 3.x. use [[readFloat32]]. */
|
|
16709
|
-
get nextFloat32() { return this.readFloat32(); }
|
|
16710
|
-
/** @deprecated in 3.x. use [[readFloat64]]. */
|
|
16711
|
-
get nextFloat64() { return this.readFloat64(); }
|
|
16712
|
-
/** @deprecated in 3.x. use [[readId64]]. */
|
|
16713
|
-
get nextId64() { return this.readId64(); }
|
|
16714
|
-
/** @deprecated in 3.x. use [[readUint32]]. */
|
|
16715
|
-
get nextUint24() { return this.readUint24(); }
|
|
16716
16197
|
/** Read the specified number of bytes beginning at the current read position into a Uint8Array and advance by the specified number of byte.
|
|
16717
16198
|
* @param numBytes The number of bytes to read.
|
|
16718
16199
|
*/
|
|
@@ -16753,8 +16234,8 @@ class ByteStream {
|
|
|
16753
16234
|
"use strict";
|
|
16754
16235
|
__webpack_require__.r(__webpack_exports__);
|
|
16755
16236
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16756
|
-
/* harmony export */
|
|
16757
|
-
/* harmony export */
|
|
16237
|
+
/* harmony export */ isProperSubclassOf: () => (/* binding */ isProperSubclassOf),
|
|
16238
|
+
/* harmony export */ isSubclassOf: () => (/* binding */ isSubclassOf)
|
|
16758
16239
|
/* harmony export */ });
|
|
16759
16240
|
/*---------------------------------------------------------------------------------------------
|
|
16760
16241
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -16796,15 +16277,17 @@ function isSubclassOf(subclass, superclass) {
|
|
|
16796
16277
|
"use strict";
|
|
16797
16278
|
__webpack_require__.r(__webpack_exports__);
|
|
16798
16279
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16799
|
-
/* harmony export */
|
|
16800
|
-
/* harmony export */
|
|
16801
|
-
/* harmony export */
|
|
16802
|
-
/* harmony export */
|
|
16803
|
-
/* harmony export */
|
|
16804
|
-
/* harmony export */
|
|
16805
|
-
/* harmony export */
|
|
16806
|
-
/* harmony export */
|
|
16807
|
-
/* harmony export */
|
|
16280
|
+
/* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
|
|
16281
|
+
/* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
|
|
16282
|
+
/* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
|
|
16283
|
+
/* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
|
|
16284
|
+
/* harmony export */ compareNumbersOrUndefined: () => (/* binding */ compareNumbersOrUndefined),
|
|
16285
|
+
/* harmony export */ comparePossiblyUndefined: () => (/* binding */ comparePossiblyUndefined),
|
|
16286
|
+
/* harmony export */ compareSimpleArrays: () => (/* binding */ compareSimpleArrays),
|
|
16287
|
+
/* harmony export */ compareSimpleTypes: () => (/* binding */ compareSimpleTypes),
|
|
16288
|
+
/* harmony export */ compareStrings: () => (/* binding */ compareStrings),
|
|
16289
|
+
/* harmony export */ compareStringsOrUndefined: () => (/* binding */ compareStringsOrUndefined),
|
|
16290
|
+
/* harmony export */ compareWithTolerance: () => (/* binding */ compareWithTolerance)
|
|
16808
16291
|
/* harmony export */ });
|
|
16809
16292
|
/*---------------------------------------------------------------------------------------------
|
|
16810
16293
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -16869,6 +16352,52 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
|
|
|
16869
16352
|
else
|
|
16870
16353
|
return areEqual(t, u);
|
|
16871
16354
|
}
|
|
16355
|
+
/**
|
|
16356
|
+
* Compare two simples types (number, string, boolean)
|
|
16357
|
+
* This essentially wraps the existing type-specific comparison functions
|
|
16358
|
+
* @beta */
|
|
16359
|
+
function compareSimpleTypes(lhs, rhs) {
|
|
16360
|
+
let cmp = 0;
|
|
16361
|
+
// Make sure the types are the same
|
|
16362
|
+
cmp = compareStrings(typeof lhs, typeof rhs);
|
|
16363
|
+
if (cmp !== 0) {
|
|
16364
|
+
return cmp;
|
|
16365
|
+
}
|
|
16366
|
+
// Compare actual values
|
|
16367
|
+
switch (typeof lhs) {
|
|
16368
|
+
case "number":
|
|
16369
|
+
return compareNumbers(lhs, rhs);
|
|
16370
|
+
case "string":
|
|
16371
|
+
return compareStrings(lhs, rhs);
|
|
16372
|
+
case "boolean":
|
|
16373
|
+
return compareBooleans(lhs, rhs);
|
|
16374
|
+
}
|
|
16375
|
+
return cmp;
|
|
16376
|
+
}
|
|
16377
|
+
/**
|
|
16378
|
+
* Compare two arrays of simple types (number, string, boolean)
|
|
16379
|
+
* @beta
|
|
16380
|
+
*/
|
|
16381
|
+
function compareSimpleArrays(lhs, rhs) {
|
|
16382
|
+
if (undefined === lhs)
|
|
16383
|
+
return undefined === rhs ? 0 : -1;
|
|
16384
|
+
else if (undefined === rhs)
|
|
16385
|
+
return 1;
|
|
16386
|
+
else if (lhs.length === 0 && rhs.length === 0) {
|
|
16387
|
+
return 0;
|
|
16388
|
+
}
|
|
16389
|
+
else if (lhs.length !== rhs.length) {
|
|
16390
|
+
return lhs.length - rhs.length;
|
|
16391
|
+
}
|
|
16392
|
+
let cmp = 0;
|
|
16393
|
+
for (let i = 0; i < lhs.length; i++) {
|
|
16394
|
+
cmp = compareSimpleTypes(lhs[i], rhs[i]);
|
|
16395
|
+
if (cmp !== 0) {
|
|
16396
|
+
break;
|
|
16397
|
+
}
|
|
16398
|
+
}
|
|
16399
|
+
return cmp;
|
|
16400
|
+
}
|
|
16872
16401
|
|
|
16873
16402
|
|
|
16874
16403
|
/***/ }),
|
|
@@ -16882,9 +16411,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
|
|
|
16882
16411
|
"use strict";
|
|
16883
16412
|
__webpack_require__.r(__webpack_exports__);
|
|
16884
16413
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16885
|
-
/* harmony export */
|
|
16886
|
-
/* harmony export */
|
|
16887
|
-
/* harmony export */
|
|
16414
|
+
/* harmony export */ CompressedId64Set: () => (/* binding */ CompressedId64Set),
|
|
16415
|
+
/* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
|
|
16416
|
+
/* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
|
|
16888
16417
|
/* harmony export */ });
|
|
16889
16418
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
16890
16419
|
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
|
|
@@ -17010,6 +16539,9 @@ var CompressedId64Set;
|
|
|
17010
16539
|
CompressedId64Set.compressIds = compressIds;
|
|
17011
16540
|
/** This exists strictly for the purposes of compressed sets of 64-bit Ids, to avoid the overhead of BigInt for handling 64-bit integers. */
|
|
17012
16541
|
class Uint64 {
|
|
16542
|
+
lower;
|
|
16543
|
+
upper;
|
|
16544
|
+
static _base = 0x100000000;
|
|
17013
16545
|
static assertUint32(num) {
|
|
17014
16546
|
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num >= 0);
|
|
17015
16547
|
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num < Uint64._base);
|
|
@@ -17071,7 +16603,6 @@ var CompressedId64Set;
|
|
|
17071
16603
|
return _Id__WEBPACK_IMPORTED_MODULE_1__.Id64.fromUint32Pair(this.lower, this.upper);
|
|
17072
16604
|
}
|
|
17073
16605
|
}
|
|
17074
|
-
Uint64._base = 0x100000000;
|
|
17075
16606
|
/** Supplies an iterator over the [[Id64String]]s in a [[CompressedId64Set]].
|
|
17076
16607
|
* The Ids are iterated in ascending order based on their unsigned 64-bit integer values.
|
|
17077
16608
|
*/
|
|
@@ -17215,10 +16746,11 @@ class OrderedId64Array extends _SortedArray__WEBPACK_IMPORTED_MODULE_3__.SortedA
|
|
|
17215
16746
|
* @public
|
|
17216
16747
|
*/
|
|
17217
16748
|
class MutableCompressedId64Set {
|
|
16749
|
+
_ids;
|
|
16750
|
+
_inserted = new OrderedId64Array();
|
|
16751
|
+
_deleted = new OrderedId64Array();
|
|
17218
16752
|
/** Construct a new set, optionally initialized to contain the Ids represented by `ids`. */
|
|
17219
16753
|
constructor(ids) {
|
|
17220
|
-
this._inserted = new OrderedId64Array();
|
|
17221
|
-
this._deleted = new OrderedId64Array();
|
|
17222
16754
|
this._ids = ids ?? "";
|
|
17223
16755
|
}
|
|
17224
16756
|
/** Obtain the compact string representation of the contents of this set. If any insertions or removals are pending, they will be applied and the string recomputed. */
|
|
@@ -17326,7 +16858,7 @@ class MutableCompressedId64Set {
|
|
|
17326
16858
|
"use strict";
|
|
17327
16859
|
__webpack_require__.r(__webpack_exports__);
|
|
17328
16860
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17329
|
-
/* harmony export */
|
|
16861
|
+
/* harmony export */ Dictionary: () => (/* binding */ Dictionary)
|
|
17330
16862
|
/* harmony export */ });
|
|
17331
16863
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
17332
16864
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -17338,8 +16870,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17338
16870
|
*/
|
|
17339
16871
|
|
|
17340
16872
|
class DictionaryIterator {
|
|
16873
|
+
_keys;
|
|
16874
|
+
_values;
|
|
16875
|
+
_curIndex = -1;
|
|
17341
16876
|
constructor(keys, values) {
|
|
17342
|
-
this._curIndex = -1;
|
|
17343
16877
|
this._keys = keys;
|
|
17344
16878
|
this._values = values;
|
|
17345
16879
|
}
|
|
@@ -17374,6 +16908,11 @@ class DictionaryIterator {
|
|
|
17374
16908
|
* @public
|
|
17375
16909
|
*/
|
|
17376
16910
|
class Dictionary {
|
|
16911
|
+
_keys = [];
|
|
16912
|
+
_compareKeys;
|
|
16913
|
+
_cloneKey;
|
|
16914
|
+
_values = [];
|
|
16915
|
+
_cloneValue;
|
|
17377
16916
|
/**
|
|
17378
16917
|
* Construct a new Dictionary<K, V>.
|
|
17379
16918
|
* @param compareKeys The function used to compare keys within the dictionary.
|
|
@@ -17381,8 +16920,6 @@ class Dictionary {
|
|
|
17381
16920
|
* @param cloneValue The function invoked to clone a value for insertion into the dictionary. The default implementation simply returns its input.
|
|
17382
16921
|
*/
|
|
17383
16922
|
constructor(compareKeys, cloneKey = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone, cloneValue = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
|
|
17384
|
-
this._keys = [];
|
|
17385
|
-
this._values = [];
|
|
17386
16923
|
this._compareKeys = compareKeys;
|
|
17387
16924
|
this._cloneKey = cloneKey;
|
|
17388
16925
|
this._cloneValue = cloneValue;
|
|
@@ -17541,11 +17078,12 @@ class Dictionary {
|
|
|
17541
17078
|
"use strict";
|
|
17542
17079
|
__webpack_require__.r(__webpack_exports__);
|
|
17543
17080
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17544
|
-
/* harmony export */
|
|
17545
|
-
/* harmony export */
|
|
17546
|
-
/* harmony export */
|
|
17547
|
-
/* harmony export */
|
|
17548
|
-
/* harmony export */
|
|
17081
|
+
/* harmony export */ DisposableList: () => (/* binding */ DisposableList),
|
|
17082
|
+
/* harmony export */ dispose: () => (/* binding */ dispose),
|
|
17083
|
+
/* harmony export */ disposeArray: () => (/* binding */ disposeArray),
|
|
17084
|
+
/* harmony export */ isDisposable: () => (/* binding */ isDisposable),
|
|
17085
|
+
/* harmony export */ isIDisposable: () => (/* binding */ isIDisposable),
|
|
17086
|
+
/* harmony export */ using: () => (/* binding */ using)
|
|
17549
17087
|
/* harmony export */ });
|
|
17550
17088
|
/*---------------------------------------------------------------------------------------------
|
|
17551
17089
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -17554,46 +17092,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17554
17092
|
/** @packageDocumentation
|
|
17555
17093
|
* @module Utils
|
|
17556
17094
|
*/
|
|
17095
|
+
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
17096
|
+
Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
17097
|
+
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
17557
17098
|
/**
|
|
17558
17099
|
* A type guard that checks whether the given argument implements `IDisposable` interface
|
|
17100
|
+
* @deprecated in 5.0 Use isDisposable instead.
|
|
17559
17101
|
* @public
|
|
17560
17102
|
*/
|
|
17561
17103
|
function isIDisposable(obj) {
|
|
17562
17104
|
return !!obj && (obj instanceof Object) && !!obj.dispose && (typeof obj.dispose === "function");
|
|
17563
17105
|
}
|
|
17564
|
-
/**
|
|
17565
|
-
*
|
|
17566
|
-
* As a simple example:
|
|
17567
|
-
* ```ts
|
|
17568
|
-
* class Disposable implements IDisposable {
|
|
17569
|
-
* public member1?: DisposableType1;
|
|
17570
|
-
* public member2?: DisposableType2;
|
|
17571
|
-
*
|
|
17572
|
-
* public dispose() {
|
|
17573
|
-
* this.member1 = dispose(this.member1); // If member1 is defined, dispose of it and set it to undefined.
|
|
17574
|
-
* this.member2 = dispose(this.member2); // Likewise for member2.
|
|
17575
|
-
* }
|
|
17576
|
-
* }
|
|
17577
|
-
* ```
|
|
17578
|
-
* @param disposable The object to be disposed of.
|
|
17579
|
-
* @returns undefined
|
|
17106
|
+
/**
|
|
17107
|
+
* A type guard that checks whether the given argument implements `Disposable` interface
|
|
17580
17108
|
* @public
|
|
17581
17109
|
*/
|
|
17110
|
+
function isDisposable(obj) {
|
|
17111
|
+
return !!obj && (obj instanceof Object) && !!obj[Symbol.dispose] && (typeof obj[Symbol.dispose] === "function");
|
|
17112
|
+
}
|
|
17582
17113
|
function dispose(disposable) {
|
|
17583
|
-
if (undefined !== disposable)
|
|
17584
|
-
|
|
17114
|
+
if (undefined !== disposable) {
|
|
17115
|
+
if (Symbol.dispose in disposable)
|
|
17116
|
+
disposable[Symbol.dispose]();
|
|
17117
|
+
else
|
|
17118
|
+
disposable.dispose();
|
|
17119
|
+
}
|
|
17585
17120
|
return undefined;
|
|
17586
17121
|
}
|
|
17587
|
-
/** Disposes of and empties a list of disposable objects.
|
|
17588
|
-
* @param list The list of disposable objects.
|
|
17589
|
-
* @returns undefined
|
|
17590
|
-
* @public
|
|
17591
|
-
*/
|
|
17592
17122
|
function disposeArray(list) {
|
|
17593
17123
|
if (undefined === list)
|
|
17594
17124
|
return undefined;
|
|
17595
|
-
for (const entry of list)
|
|
17596
|
-
dispose
|
|
17125
|
+
for (const entry of list) {
|
|
17126
|
+
if (Symbol.dispose in entry)
|
|
17127
|
+
entry[Symbol.dispose]();
|
|
17128
|
+
else
|
|
17129
|
+
entry.dispose();
|
|
17130
|
+
}
|
|
17597
17131
|
list.length = 0;
|
|
17598
17132
|
return undefined;
|
|
17599
17133
|
}
|
|
@@ -17602,6 +17136,7 @@ function disposeArray(list) {
|
|
|
17602
17136
|
* of this function is equal to return value of func. If func throws, this function also throws (after
|
|
17603
17137
|
* disposing the resource).
|
|
17604
17138
|
* @public
|
|
17139
|
+
* @deprecated in 5.0 Use `using` declarations instead.
|
|
17605
17140
|
*/
|
|
17606
17141
|
function using(resources, func) {
|
|
17607
17142
|
if (!Array.isArray(resources))
|
|
@@ -17622,6 +17157,7 @@ function using(resources, func) {
|
|
|
17622
17157
|
}
|
|
17623
17158
|
}
|
|
17624
17159
|
class FuncDisposable {
|
|
17160
|
+
_disposeFunc;
|
|
17625
17161
|
constructor(disposeFunc) { this._disposeFunc = disposeFunc; }
|
|
17626
17162
|
dispose() { this._disposeFunc(); }
|
|
17627
17163
|
}
|
|
@@ -17629,6 +17165,7 @@ class FuncDisposable {
|
|
|
17629
17165
|
* @public
|
|
17630
17166
|
*/
|
|
17631
17167
|
class DisposableList {
|
|
17168
|
+
_disposables;
|
|
17632
17169
|
/** Creates a disposable list. */
|
|
17633
17170
|
constructor(disposables = []) {
|
|
17634
17171
|
this._disposables = [];
|
|
@@ -17671,9 +17208,9 @@ class DisposableList {
|
|
|
17671
17208
|
"use strict";
|
|
17672
17209
|
__webpack_require__.r(__webpack_exports__);
|
|
17673
17210
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17674
|
-
/* harmony export */
|
|
17675
|
-
/* harmony export */
|
|
17676
|
-
/* harmony export */
|
|
17211
|
+
/* harmony export */ Guid: () => (/* binding */ Guid),
|
|
17212
|
+
/* harmony export */ Id64: () => (/* binding */ Id64),
|
|
17213
|
+
/* harmony export */ TransientIdSequence: () => (/* binding */ TransientIdSequence)
|
|
17677
17214
|
/* harmony export */ });
|
|
17678
17215
|
/*---------------------------------------------------------------------------------------------
|
|
17679
17216
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -18094,11 +17631,11 @@ var Id64;
|
|
|
18094
17631
|
* @public
|
|
18095
17632
|
*/
|
|
18096
17633
|
class Uint32Set {
|
|
17634
|
+
_map = new Map();
|
|
18097
17635
|
/** Construct a new Uint32Set.
|
|
18098
17636
|
* @param ids If supplied, all of the specified Ids will be added to the new set.
|
|
18099
17637
|
*/
|
|
18100
17638
|
constructor(ids) {
|
|
18101
|
-
this._map = new Map();
|
|
18102
17639
|
if (undefined !== ids)
|
|
18103
17640
|
this.addIds(ids);
|
|
18104
17641
|
}
|
|
@@ -18159,8 +17696,11 @@ var Id64;
|
|
|
18159
17696
|
/** Remove an Id from the set. */
|
|
18160
17697
|
delete(low, high) {
|
|
18161
17698
|
const set = this._map.get(high);
|
|
18162
|
-
if (undefined !== set)
|
|
17699
|
+
if (undefined !== set) {
|
|
18163
17700
|
set.delete(low);
|
|
17701
|
+
if (set.size === 0)
|
|
17702
|
+
this._map.delete(high);
|
|
17703
|
+
}
|
|
18164
17704
|
}
|
|
18165
17705
|
/** Returns true if the set contains the specified Id. */
|
|
18166
17706
|
has(low, high) {
|
|
@@ -18209,9 +17749,7 @@ var Id64;
|
|
|
18209
17749
|
* @public
|
|
18210
17750
|
*/
|
|
18211
17751
|
class Uint32Map {
|
|
18212
|
-
|
|
18213
|
-
this._map = new Map();
|
|
18214
|
-
}
|
|
17752
|
+
_map = new Map();
|
|
18215
17753
|
/** Remove all entries from the map. */
|
|
18216
17754
|
clear() { this._map.clear(); }
|
|
18217
17755
|
/** Find an entry in the map by Id. */
|
|
@@ -18262,6 +17800,9 @@ function validateLocalId(num) {
|
|
|
18262
17800
|
* @public
|
|
18263
17801
|
*/
|
|
18264
17802
|
class TransientIdSequence {
|
|
17803
|
+
/** The starting local Id provided to the constructor. The sequence begins at `initialLocalId + 1`. */
|
|
17804
|
+
initialLocalId;
|
|
17805
|
+
_localId;
|
|
18265
17806
|
/** Constructor.
|
|
18266
17807
|
* @param initialLocalId The starting local Id. The local Id of the first [[Id64String]] generated by [[getNext]] will be `initialLocalId + 1`.
|
|
18267
17808
|
*/
|
|
@@ -18277,12 +17818,6 @@ class TransientIdSequence {
|
|
|
18277
17818
|
get currentLocalId() {
|
|
18278
17819
|
return this._localId;
|
|
18279
17820
|
}
|
|
18280
|
-
/** Generate and return the next transient Id64String in the sequence.
|
|
18281
|
-
* @deprecated in 3.x. Use [[getNext]].
|
|
18282
|
-
*/
|
|
18283
|
-
get next() {
|
|
18284
|
-
return this.getNext();
|
|
18285
|
-
}
|
|
18286
17821
|
/** Generate and return the next transient Id64String in the sequence. */
|
|
18287
17822
|
getNext() {
|
|
18288
17823
|
return Id64.fromLocalAndBriefcaseIds(++this._localId, 0xffffff);
|
|
@@ -18414,8 +17949,8 @@ var Guid;
|
|
|
18414
17949
|
"use strict";
|
|
18415
17950
|
__webpack_require__.r(__webpack_exports__);
|
|
18416
17951
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18417
|
-
/* harmony export */
|
|
18418
|
-
/* harmony export */
|
|
17952
|
+
/* harmony export */ IndexMap: () => (/* binding */ IndexMap),
|
|
17953
|
+
/* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
|
|
18419
17954
|
/* harmony export */ });
|
|
18420
17955
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
18421
17956
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -18430,6 +17965,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18430
17965
|
* @public
|
|
18431
17966
|
*/
|
|
18432
17967
|
class IndexedValue {
|
|
17968
|
+
value;
|
|
17969
|
+
index;
|
|
18433
17970
|
constructor(value, index) {
|
|
18434
17971
|
this.value = value;
|
|
18435
17972
|
this.index = index;
|
|
@@ -18442,6 +17979,10 @@ class IndexedValue {
|
|
|
18442
17979
|
* @public
|
|
18443
17980
|
*/
|
|
18444
17981
|
class IndexMap {
|
|
17982
|
+
_array = [];
|
|
17983
|
+
_compareValues;
|
|
17984
|
+
_clone;
|
|
17985
|
+
_maximumSize;
|
|
18445
17986
|
/**
|
|
18446
17987
|
* Construct a new IndexMap<T>.
|
|
18447
17988
|
* @param compare The function used to compare elements within the map.
|
|
@@ -18449,7 +17990,6 @@ class IndexMap {
|
|
|
18449
17990
|
* @param clone The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input.
|
|
18450
17991
|
*/
|
|
18451
17992
|
constructor(compare, maximumSize = Number.MAX_SAFE_INTEGER, clone = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
|
|
18452
|
-
this._array = [];
|
|
18453
17993
|
this._compareValues = compare;
|
|
18454
17994
|
this._clone = clone;
|
|
18455
17995
|
this._maximumSize = maximumSize;
|
|
@@ -18537,7 +18077,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18537
18077
|
"use strict";
|
|
18538
18078
|
__webpack_require__.r(__webpack_exports__);
|
|
18539
18079
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18540
|
-
/* harmony export */
|
|
18080
|
+
/* harmony export */ JsonUtils: () => (/* binding */ JsonUtils)
|
|
18541
18081
|
/* harmony export */ });
|
|
18542
18082
|
/*---------------------------------------------------------------------------------------------
|
|
18543
18083
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -18631,12 +18171,17 @@ var JsonUtils;
|
|
|
18631
18171
|
json[key] = val;
|
|
18632
18172
|
}
|
|
18633
18173
|
JsonUtils.setOrRemoveBoolean = setOrRemoveBoolean;
|
|
18174
|
+
/** Returns `true` if `json` is a non-null object. */
|
|
18175
|
+
function isObject(json) {
|
|
18176
|
+
return json !== null && "object" === typeof json;
|
|
18177
|
+
}
|
|
18178
|
+
JsonUtils.isObject = isObject;
|
|
18634
18179
|
/** Determine if a Javascript object is equivalent to `{}`.
|
|
18635
18180
|
* @param json The JSON object to test.
|
|
18636
18181
|
* @returns true if `json` is an Object with no keys.
|
|
18637
18182
|
*/
|
|
18638
18183
|
function isEmptyObject(json) {
|
|
18639
|
-
return
|
|
18184
|
+
return isObject(json) && 0 === Object.keys(json).length;
|
|
18640
18185
|
}
|
|
18641
18186
|
JsonUtils.isEmptyObject = isEmptyObject;
|
|
18642
18187
|
/** Determine if the input is undefined or an empty Javascript object.
|
|
@@ -18700,10 +18245,10 @@ var JsonUtils;
|
|
|
18700
18245
|
"use strict";
|
|
18701
18246
|
__webpack_require__.r(__webpack_exports__);
|
|
18702
18247
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18703
|
-
/* harmony export */
|
|
18704
|
-
/* harmony export */
|
|
18705
|
-
/* harmony export */
|
|
18706
|
-
/* harmony export */
|
|
18248
|
+
/* harmony export */ Entry: () => (/* binding */ Entry),
|
|
18249
|
+
/* harmony export */ LRUCache: () => (/* binding */ LRUCache),
|
|
18250
|
+
/* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
|
|
18251
|
+
/* harmony export */ LRUMap: () => (/* binding */ LRUMap)
|
|
18707
18252
|
/* harmony export */ });
|
|
18708
18253
|
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../bentley/lib/esm/Dictionary.js");
|
|
18709
18254
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -18723,12 +18268,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18723
18268
|
* @public
|
|
18724
18269
|
*/
|
|
18725
18270
|
class Entry {
|
|
18271
|
+
key;
|
|
18272
|
+
value;
|
|
18273
|
+
newer;
|
|
18274
|
+
older;
|
|
18726
18275
|
constructor(key, value) {
|
|
18727
18276
|
this.key = key;
|
|
18728
18277
|
this.value = value;
|
|
18729
18278
|
}
|
|
18730
18279
|
}
|
|
18731
18280
|
class EntryIterator {
|
|
18281
|
+
_entry;
|
|
18732
18282
|
constructor(oldestEntry) {
|
|
18733
18283
|
this._entry = oldestEntry;
|
|
18734
18284
|
}
|
|
@@ -18742,6 +18292,7 @@ class EntryIterator {
|
|
|
18742
18292
|
}
|
|
18743
18293
|
}
|
|
18744
18294
|
class KeyIterator {
|
|
18295
|
+
_entry;
|
|
18745
18296
|
constructor(oldestEntry) {
|
|
18746
18297
|
this._entry = oldestEntry;
|
|
18747
18298
|
}
|
|
@@ -18754,6 +18305,7 @@ class KeyIterator {
|
|
|
18754
18305
|
}
|
|
18755
18306
|
}
|
|
18756
18307
|
class ValueIterator {
|
|
18308
|
+
_entry;
|
|
18757
18309
|
constructor(oldestEntry) {
|
|
18758
18310
|
this._entry = oldestEntry;
|
|
18759
18311
|
}
|
|
@@ -18786,6 +18338,15 @@ class ValueIterator {
|
|
|
18786
18338
|
* @public
|
|
18787
18339
|
*/
|
|
18788
18340
|
class LRUCache {
|
|
18341
|
+
_container;
|
|
18342
|
+
/** Current number of items */
|
|
18343
|
+
size;
|
|
18344
|
+
/** Maximum number of items this cache can hold */
|
|
18345
|
+
limit;
|
|
18346
|
+
/** Least recently-used entry. Invalidated when cache is modified. */
|
|
18347
|
+
oldest;
|
|
18348
|
+
/** Most recently-used entry. Invalidated when cache is modified. */
|
|
18349
|
+
newest;
|
|
18789
18350
|
/**
|
|
18790
18351
|
* Construct a new LRUCache to hold up to `limit` entries.
|
|
18791
18352
|
*/
|
|
@@ -19045,14 +18606,13 @@ class LRUDictionary extends LRUCache {
|
|
|
19045
18606
|
"use strict";
|
|
19046
18607
|
__webpack_require__.r(__webpack_exports__);
|
|
19047
18608
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19048
|
-
/* harmony export */
|
|
19049
|
-
/* harmony export */
|
|
19050
|
-
/* harmony export */
|
|
18609
|
+
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
18610
|
+
/* harmony export */ Logger: () => (/* binding */ Logger),
|
|
18611
|
+
/* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
|
|
19051
18612
|
/* harmony export */ });
|
|
19052
18613
|
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
|
|
19053
18614
|
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
19054
18615
|
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../bentley/lib/esm/BentleyLoggerCategory.js");
|
|
19055
|
-
/* harmony import */ var _internal_staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/staticLoggerMetadata */ "../bentley/lib/esm/internal/staticLoggerMetadata.js");
|
|
19056
18616
|
/*---------------------------------------------------------------------------------------------
|
|
19057
18617
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
19058
18618
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -19063,7 +18623,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19063
18623
|
|
|
19064
18624
|
|
|
19065
18625
|
|
|
19066
|
-
|
|
19067
18626
|
/** Use to categorize logging messages by severity.
|
|
19068
18627
|
* @public
|
|
19069
18628
|
*/
|
|
@@ -19085,6 +18644,12 @@ var LogLevel;
|
|
|
19085
18644
|
* @public
|
|
19086
18645
|
*/
|
|
19087
18646
|
class Logger {
|
|
18647
|
+
static _logError;
|
|
18648
|
+
static _logWarning;
|
|
18649
|
+
static _logInfo;
|
|
18650
|
+
static _logTrace;
|
|
18651
|
+
static _onLogLevelChanged;
|
|
18652
|
+
static _staticMetaData = new Map();
|
|
19088
18653
|
/** An event raised whenever [[setLevel]] or [[setLevelDefault]] is called. */
|
|
19089
18654
|
static get onLogLevelChanged() {
|
|
19090
18655
|
// We have to lazily initialize because it's static and BeEvent imports UnexpectedErrors which imports Logger which wants to instantiate BeEvent.
|
|
@@ -19093,6 +18658,7 @@ class Logger {
|
|
|
19093
18658
|
}
|
|
19094
18659
|
return Logger._onLogLevelChanged;
|
|
19095
18660
|
}
|
|
18661
|
+
static _categoryFilter = {};
|
|
19096
18662
|
/** Maps category names to the least severe level at which messages in that category should be displayed,
|
|
19097
18663
|
* or `undefined` if a minimum has not been defined.
|
|
19098
18664
|
* @see [[setLevel]] to change the minimum logging level for a category.
|
|
@@ -19101,6 +18667,7 @@ class Logger {
|
|
|
19101
18667
|
// NOTE: this property is accessed by native code.
|
|
19102
18668
|
return this._categoryFilter;
|
|
19103
18669
|
}
|
|
18670
|
+
static _minLevel;
|
|
19104
18671
|
/** The least severe level at which messages should be displayed by default.
|
|
19105
18672
|
* @see [[setLevelDefault]] to change this default.
|
|
19106
18673
|
* @see [[setLevel]] to override this default for specific categories.
|
|
@@ -19109,7 +18676,15 @@ class Logger {
|
|
|
19109
18676
|
// NOTE: this property is accessed by native code. */
|
|
19110
18677
|
return this._minLevel;
|
|
19111
18678
|
}
|
|
19112
|
-
/**
|
|
18679
|
+
/** Should the call stack be included when an exception is logged? */
|
|
18680
|
+
static logExceptionCallstacks = false;
|
|
18681
|
+
/** Contains metadata that should be included with every logged message.
|
|
18682
|
+
* @beta
|
|
18683
|
+
*/
|
|
18684
|
+
static get staticMetaData() {
|
|
18685
|
+
return this._staticMetaData;
|
|
18686
|
+
}
|
|
18687
|
+
/** Initialize the logger streams. Should be called at application initialization time. */
|
|
19113
18688
|
static initialize(logError, logWarning, logInfo, logTrace) {
|
|
19114
18689
|
Logger._logError = logError;
|
|
19115
18690
|
Logger._logWarning = logWarning;
|
|
@@ -19126,7 +18701,7 @@ class Logger {
|
|
|
19126
18701
|
/** merge the supplied metadata with all static metadata into one object */
|
|
19127
18702
|
static getMetaData(metaData) {
|
|
19128
18703
|
const metaObj = {};
|
|
19129
|
-
for (const meta of
|
|
18704
|
+
for (const meta of this._staticMetaData) {
|
|
19130
18705
|
const val = _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(meta[1]);
|
|
19131
18706
|
if (val)
|
|
19132
18707
|
Object.assign(metaObj, val);
|
|
@@ -19250,14 +18825,19 @@ class Logger {
|
|
|
19250
18825
|
const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorStack(err)}` : "";
|
|
19251
18826
|
return _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMessage(err) + stack;
|
|
19252
18827
|
}
|
|
19253
|
-
/** Log the specified exception.
|
|
18828
|
+
/** Log the specified exception.
|
|
18829
|
+
* For legacy [[BentleyError]] exceptions, the special "exceptionType" property will be added as metadata. Otherwise, all enumerable members of the exception are logged as metadata.
|
|
19254
18830
|
* @param category The category of the message.
|
|
19255
18831
|
* @param err The exception object.
|
|
19256
18832
|
* @param log The logger output function to use - defaults to Logger.logError
|
|
19257
18833
|
*/
|
|
19258
18834
|
static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
|
|
19259
18835
|
log(category, Logger.getExceptionMessage(err), () => {
|
|
19260
|
-
|
|
18836
|
+
// For backwards compatibility, log BentleyError old way
|
|
18837
|
+
if (_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.isError(err))
|
|
18838
|
+
return { ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMetadata(err), exceptionType: err?.constructor?.name ?? "<Unknown>" };
|
|
18839
|
+
// return a copy of the error, with non-enumerable members `message` and `stack` removed, as "metadata" for log.
|
|
18840
|
+
return { ...err };
|
|
19261
18841
|
});
|
|
19262
18842
|
}
|
|
19263
18843
|
/** Log the specified message to the **warning** stream.
|
|
@@ -19288,9 +18868,6 @@ class Logger {
|
|
|
19288
18868
|
Logger._logTrace(category, message, metaData);
|
|
19289
18869
|
}
|
|
19290
18870
|
}
|
|
19291
|
-
Logger._categoryFilter = {};
|
|
19292
|
-
/** Should the call stack be included when an exception is logged? */
|
|
19293
|
-
Logger.logExceptionCallstacks = false;
|
|
19294
18871
|
/** Simple performance diagnostics utility.
|
|
19295
18872
|
* It measures the time from construction to disposal. On disposal it logs the routine name along with
|
|
19296
18873
|
* the duration in milliseconds.
|
|
@@ -19301,6 +18878,10 @@ Logger.logExceptionCallstacks = false;
|
|
|
19301
18878
|
* @public
|
|
19302
18879
|
*/
|
|
19303
18880
|
class PerfLogger {
|
|
18881
|
+
static _severity = LogLevel.Info;
|
|
18882
|
+
_operation;
|
|
18883
|
+
_metaData;
|
|
18884
|
+
_startTimeStamp;
|
|
19304
18885
|
constructor(operation, metaData) {
|
|
19305
18886
|
this._operation = operation;
|
|
19306
18887
|
this._metaData = metaData;
|
|
@@ -19322,11 +18903,14 @@ class PerfLogger {
|
|
|
19322
18903
|
};
|
|
19323
18904
|
});
|
|
19324
18905
|
}
|
|
19325
|
-
dispose() {
|
|
18906
|
+
[Symbol.dispose]() {
|
|
19326
18907
|
this.logMessage();
|
|
19327
18908
|
}
|
|
18909
|
+
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
18910
|
+
dispose() {
|
|
18911
|
+
this[Symbol.dispose]();
|
|
18912
|
+
}
|
|
19328
18913
|
}
|
|
19329
|
-
PerfLogger._severity = LogLevel.Info;
|
|
19330
18914
|
|
|
19331
18915
|
|
|
19332
18916
|
/***/ }),
|
|
@@ -19340,7 +18924,7 @@ PerfLogger._severity = LogLevel.Info;
|
|
|
19340
18924
|
"use strict";
|
|
19341
18925
|
__webpack_require__.r(__webpack_exports__);
|
|
19342
18926
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19343
|
-
/* harmony export */
|
|
18927
|
+
/* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
|
|
19344
18928
|
/* harmony export */ });
|
|
19345
18929
|
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
|
|
19346
18930
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -19355,18 +18939,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19355
18939
|
* @public
|
|
19356
18940
|
*/
|
|
19357
18941
|
class ObservableSet extends Set {
|
|
18942
|
+
/** Emitted after `item` is added to this set. */
|
|
18943
|
+
onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
18944
|
+
/** Emitted after `item` is deleted from this set. */
|
|
18945
|
+
onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
18946
|
+
/** Emitted after this set's contents are cleared. */
|
|
18947
|
+
onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
19358
18948
|
/** Construct a new ObservableSet.
|
|
19359
18949
|
* @param elements Optional elements with which to populate the new set.
|
|
19360
18950
|
*/
|
|
19361
18951
|
constructor(elements) {
|
|
19362
18952
|
// NB: Set constructor will invoke add(). Do not override until initialized.
|
|
19363
18953
|
super(elements);
|
|
19364
|
-
/** Emitted after `item` is added to this set. */
|
|
19365
|
-
this.onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
19366
|
-
/** Emitted after `item` is deleted from this set. */
|
|
19367
|
-
this.onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
19368
|
-
/** Emitted after this set's contents are cleared. */
|
|
19369
|
-
this.onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
19370
18954
|
this.add = (item) => {
|
|
19371
18955
|
const prevSize = this.size;
|
|
19372
18956
|
const ret = super.add(item);
|
|
@@ -19407,8 +18991,8 @@ class ObservableSet extends Set {
|
|
|
19407
18991
|
"use strict";
|
|
19408
18992
|
__webpack_require__.r(__webpack_exports__);
|
|
19409
18993
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19410
|
-
/* harmony export */
|
|
19411
|
-
/* harmony export */
|
|
18994
|
+
/* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
|
|
18995
|
+
/* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
|
|
19412
18996
|
/* harmony export */ });
|
|
19413
18997
|
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
19414
18998
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -19429,6 +19013,11 @@ class AbandonedError extends Error {
|
|
|
19429
19013
|
* Promises involved that are chained together. That makes this class less efficient than just using a Promise directly.
|
|
19430
19014
|
*/
|
|
19431
19015
|
class PromiseWithAbandon {
|
|
19016
|
+
_run;
|
|
19017
|
+
_args;
|
|
19018
|
+
/** Method to abandon the Promise created by [[init]] while it is outstanding. The promise will be rejected. */
|
|
19019
|
+
abandon;
|
|
19020
|
+
_resolve;
|
|
19432
19021
|
/** Create a PromiseWithAbandon. After this call you must call [[init]] to create the underlying Promise.
|
|
19433
19022
|
* @param _run The method that creates the underlying Promise.
|
|
19434
19023
|
* @param _args An array of args to be passed to run when [[start]] is called.
|
|
@@ -19466,6 +19055,10 @@ class PromiseWithAbandon {
|
|
|
19466
19055
|
* @beta
|
|
19467
19056
|
*/
|
|
19468
19057
|
class OneAtATimeAction {
|
|
19058
|
+
_active;
|
|
19059
|
+
_pending;
|
|
19060
|
+
_run;
|
|
19061
|
+
msg;
|
|
19469
19062
|
/** Ctor for OneAtATimePromise.
|
|
19470
19063
|
* @param run The method that performs an action that creates the Promise.
|
|
19471
19064
|
*/
|
|
@@ -19513,7 +19106,7 @@ class OneAtATimeAction {
|
|
|
19513
19106
|
"use strict";
|
|
19514
19107
|
__webpack_require__.r(__webpack_exports__);
|
|
19515
19108
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19516
|
-
/* harmony export */
|
|
19109
|
+
/* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
|
|
19517
19110
|
/* harmony export */ });
|
|
19518
19111
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
19519
19112
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -19761,8 +19354,8 @@ var OrderedId64Iterable;
|
|
|
19761
19354
|
"use strict";
|
|
19762
19355
|
__webpack_require__.r(__webpack_exports__);
|
|
19763
19356
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19764
|
-
/* harmony export */
|
|
19765
|
-
/* harmony export */
|
|
19357
|
+
/* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
|
|
19358
|
+
/* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
|
|
19766
19359
|
/* harmony export */ });
|
|
19767
19360
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
19768
19361
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -19779,6 +19372,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19779
19372
|
* @public
|
|
19780
19373
|
*/
|
|
19781
19374
|
class ReadonlyOrderedSet {
|
|
19375
|
+
_array;
|
|
19782
19376
|
/** Construct a new ReadonlyOrderedSet<T>.
|
|
19783
19377
|
* @param compare The function used to compare elements within the set, determining their ordering.
|
|
19784
19378
|
* @param clone The function invoked to clone a new element for insertion into the set. The default implementation simply returns its input.
|
|
@@ -19837,7 +19431,7 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
19837
19431
|
"use strict";
|
|
19838
19432
|
__webpack_require__.r(__webpack_exports__);
|
|
19839
19433
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19840
|
-
/* harmony export */
|
|
19434
|
+
/* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
|
|
19841
19435
|
/* harmony export */ });
|
|
19842
19436
|
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
19843
19437
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -19854,6 +19448,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19854
19448
|
* @public
|
|
19855
19449
|
*/
|
|
19856
19450
|
class PriorityQueue {
|
|
19451
|
+
_array = [];
|
|
19452
|
+
_compare;
|
|
19453
|
+
_clone;
|
|
19857
19454
|
/**
|
|
19858
19455
|
* Constructor
|
|
19859
19456
|
* @param compare The function used to compare values in the queue. If `compare(x, y)` returns a negative value, then x is placed before y in the queue.
|
|
@@ -19861,7 +19458,6 @@ class PriorityQueue {
|
|
|
19861
19458
|
* @note If the criterion which control the result of the `compare` function changes, then [[PriorityQueue.sort]] should be used to reorder the queue according to the new criterion.
|
|
19862
19459
|
*/
|
|
19863
19460
|
constructor(compare, clone = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
|
|
19864
|
-
this._array = [];
|
|
19865
19461
|
this._compare = compare;
|
|
19866
19462
|
this._clone = clone;
|
|
19867
19463
|
}
|
|
@@ -19989,7 +19585,7 @@ class PriorityQueue {
|
|
|
19989
19585
|
"use strict";
|
|
19990
19586
|
__webpack_require__.r(__webpack_exports__);
|
|
19991
19587
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19992
|
-
/* harmony export */
|
|
19588
|
+
/* harmony export */ ProcessDetector: () => (/* binding */ ProcessDetector)
|
|
19993
19589
|
/* harmony export */ });
|
|
19994
19590
|
/*---------------------------------------------------------------------------------------------
|
|
19995
19591
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -20071,11 +19667,11 @@ class ProcessDetector {
|
|
|
20071
19667
|
"use strict";
|
|
20072
19668
|
__webpack_require__.r(__webpack_exports__);
|
|
20073
19669
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20074
|
-
/* harmony export */
|
|
20075
|
-
/* harmony export */
|
|
20076
|
-
/* harmony export */
|
|
20077
|
-
/* harmony export */
|
|
20078
|
-
/* harmony export */
|
|
19670
|
+
/* harmony export */ DuplicatePolicy: () => (/* binding */ DuplicatePolicy),
|
|
19671
|
+
/* harmony export */ ReadonlySortedArray: () => (/* binding */ ReadonlySortedArray),
|
|
19672
|
+
/* harmony export */ SortedArray: () => (/* binding */ SortedArray),
|
|
19673
|
+
/* harmony export */ lowerBound: () => (/* binding */ lowerBound),
|
|
19674
|
+
/* harmony export */ shallowClone: () => (/* binding */ shallowClone)
|
|
20079
19675
|
/* harmony export */ });
|
|
20080
19676
|
/*---------------------------------------------------------------------------------------------
|
|
20081
19677
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -20159,6 +19755,10 @@ var DuplicatePolicy;
|
|
|
20159
19755
|
* @public
|
|
20160
19756
|
*/
|
|
20161
19757
|
class ReadonlySortedArray {
|
|
19758
|
+
_array = [];
|
|
19759
|
+
_compare;
|
|
19760
|
+
_clone;
|
|
19761
|
+
_duplicatePolicy;
|
|
20162
19762
|
/**
|
|
20163
19763
|
* Construct a new ReadonlySortedArray<T>.
|
|
20164
19764
|
* @param compare The function used to compare elements within the array.
|
|
@@ -20166,7 +19766,6 @@ class ReadonlySortedArray {
|
|
|
20166
19766
|
* @param clone The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input.
|
|
20167
19767
|
*/
|
|
20168
19768
|
constructor(compare, duplicatePolicy = false, clone = shallowClone) {
|
|
20169
|
-
this._array = [];
|
|
20170
19769
|
this._compare = compare;
|
|
20171
19770
|
this._clone = clone;
|
|
20172
19771
|
if (typeof duplicatePolicy === "boolean")
|
|
@@ -20398,9 +19997,9 @@ class SortedArray extends ReadonlySortedArray {
|
|
|
20398
19997
|
"use strict";
|
|
20399
19998
|
__webpack_require__.r(__webpack_exports__);
|
|
20400
19999
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20401
|
-
/* harmony export */
|
|
20402
|
-
/* harmony export */
|
|
20403
|
-
/* harmony export */
|
|
20000
|
+
/* harmony export */ ErrorCategory: () => (/* binding */ ErrorCategory),
|
|
20001
|
+
/* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
|
|
20002
|
+
/* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
|
|
20404
20003
|
/* harmony export */ });
|
|
20405
20004
|
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
20406
20005
|
/* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
|
|
@@ -20417,6 +20016,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20417
20016
|
* @alpha
|
|
20418
20017
|
*/
|
|
20419
20018
|
class StatusCategory {
|
|
20019
|
+
static handlers = new Set();
|
|
20420
20020
|
static for(error) {
|
|
20421
20021
|
for (const handler of this.handlers) {
|
|
20422
20022
|
const category = handler(error);
|
|
@@ -20430,179 +20030,115 @@ class StatusCategory {
|
|
|
20430
20030
|
return new UnknownError();
|
|
20431
20031
|
}
|
|
20432
20032
|
}
|
|
20433
|
-
StatusCategory.handlers = new Set();
|
|
20434
20033
|
/***
|
|
20435
20034
|
* A success status.
|
|
20436
20035
|
* @alpha
|
|
20437
20036
|
*/
|
|
20438
20037
|
class SuccessCategory extends StatusCategory {
|
|
20439
|
-
|
|
20440
|
-
super(...arguments);
|
|
20441
|
-
this.error = false;
|
|
20442
|
-
}
|
|
20038
|
+
error = false;
|
|
20443
20039
|
}
|
|
20444
20040
|
/**
|
|
20445
20041
|
* An error status.
|
|
20446
20042
|
* @alpha
|
|
20447
20043
|
*/
|
|
20448
20044
|
class ErrorCategory extends StatusCategory {
|
|
20449
|
-
|
|
20450
|
-
super(...arguments);
|
|
20451
|
-
this.error = true;
|
|
20452
|
-
}
|
|
20045
|
+
error = true;
|
|
20453
20046
|
}
|
|
20454
20047
|
var HTTP;
|
|
20455
20048
|
(function (HTTP) {
|
|
20456
20049
|
class OK extends SuccessCategory {
|
|
20457
|
-
|
|
20458
|
-
|
|
20459
|
-
this.name = "OK";
|
|
20460
|
-
this.code = 200;
|
|
20461
|
-
}
|
|
20050
|
+
name = "OK";
|
|
20051
|
+
code = 200;
|
|
20462
20052
|
}
|
|
20463
20053
|
HTTP.OK = OK;
|
|
20464
20054
|
class Accepted extends SuccessCategory {
|
|
20465
|
-
|
|
20466
|
-
|
|
20467
|
-
this.name = "Accepted";
|
|
20468
|
-
this.code = 202;
|
|
20469
|
-
}
|
|
20055
|
+
name = "Accepted";
|
|
20056
|
+
code = 202;
|
|
20470
20057
|
}
|
|
20471
20058
|
HTTP.Accepted = Accepted;
|
|
20472
20059
|
class NoContent extends SuccessCategory {
|
|
20473
|
-
|
|
20474
|
-
|
|
20475
|
-
this.name = "NoContent";
|
|
20476
|
-
this.code = 204;
|
|
20477
|
-
}
|
|
20060
|
+
name = "NoContent";
|
|
20061
|
+
code = 204;
|
|
20478
20062
|
}
|
|
20479
20063
|
HTTP.NoContent = NoContent;
|
|
20480
20064
|
class BadRequest extends ErrorCategory {
|
|
20481
|
-
|
|
20482
|
-
|
|
20483
|
-
this.name = "BadRequest";
|
|
20484
|
-
this.code = 400;
|
|
20485
|
-
}
|
|
20065
|
+
name = "BadRequest";
|
|
20066
|
+
code = 400;
|
|
20486
20067
|
}
|
|
20487
20068
|
HTTP.BadRequest = BadRequest;
|
|
20488
20069
|
class Unauthorized extends ErrorCategory {
|
|
20489
|
-
|
|
20490
|
-
|
|
20491
|
-
this.name = "Unauthorized";
|
|
20492
|
-
this.code = 401;
|
|
20493
|
-
}
|
|
20070
|
+
name = "Unauthorized";
|
|
20071
|
+
code = 401;
|
|
20494
20072
|
}
|
|
20495
20073
|
HTTP.Unauthorized = Unauthorized;
|
|
20496
20074
|
class Forbidden extends ErrorCategory {
|
|
20497
|
-
|
|
20498
|
-
|
|
20499
|
-
this.name = "Forbidden";
|
|
20500
|
-
this.code = 403;
|
|
20501
|
-
}
|
|
20075
|
+
name = "Forbidden";
|
|
20076
|
+
code = 403;
|
|
20502
20077
|
}
|
|
20503
20078
|
HTTP.Forbidden = Forbidden;
|
|
20504
20079
|
class NotFound extends ErrorCategory {
|
|
20505
|
-
|
|
20506
|
-
|
|
20507
|
-
this.name = "NotFound";
|
|
20508
|
-
this.code = 404;
|
|
20509
|
-
}
|
|
20080
|
+
name = "NotFound";
|
|
20081
|
+
code = 404;
|
|
20510
20082
|
}
|
|
20511
20083
|
HTTP.NotFound = NotFound;
|
|
20512
20084
|
class RequestTimeout extends ErrorCategory {
|
|
20513
|
-
|
|
20514
|
-
|
|
20515
|
-
this.name = "RequestTimeout";
|
|
20516
|
-
this.code = 408;
|
|
20517
|
-
}
|
|
20085
|
+
name = "RequestTimeout";
|
|
20086
|
+
code = 408;
|
|
20518
20087
|
}
|
|
20519
20088
|
HTTP.RequestTimeout = RequestTimeout;
|
|
20520
20089
|
class Conflict extends ErrorCategory {
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
this.name = "Conflict";
|
|
20524
|
-
this.code = 409;
|
|
20525
|
-
}
|
|
20090
|
+
name = "Conflict";
|
|
20091
|
+
code = 409;
|
|
20526
20092
|
}
|
|
20527
20093
|
HTTP.Conflict = Conflict;
|
|
20528
20094
|
class Gone extends ErrorCategory {
|
|
20529
|
-
|
|
20530
|
-
|
|
20531
|
-
this.name = "Gone";
|
|
20532
|
-
this.code = 410;
|
|
20533
|
-
}
|
|
20095
|
+
name = "Gone";
|
|
20096
|
+
code = 410;
|
|
20534
20097
|
}
|
|
20535
20098
|
HTTP.Gone = Gone;
|
|
20536
20099
|
class PreconditionFailed extends ErrorCategory {
|
|
20537
|
-
|
|
20538
|
-
|
|
20539
|
-
this.name = "PreconditionFailed";
|
|
20540
|
-
this.code = 412;
|
|
20541
|
-
}
|
|
20100
|
+
name = "PreconditionFailed";
|
|
20101
|
+
code = 412;
|
|
20542
20102
|
}
|
|
20543
20103
|
HTTP.PreconditionFailed = PreconditionFailed;
|
|
20544
20104
|
class ExpectationFailed extends ErrorCategory {
|
|
20545
|
-
|
|
20546
|
-
|
|
20547
|
-
this.name = "ExpectationFailed";
|
|
20548
|
-
this.code = 417;
|
|
20549
|
-
}
|
|
20105
|
+
name = "ExpectationFailed";
|
|
20106
|
+
code = 417;
|
|
20550
20107
|
}
|
|
20551
20108
|
HTTP.ExpectationFailed = ExpectationFailed;
|
|
20552
20109
|
class MisdirectedRequest extends ErrorCategory {
|
|
20553
|
-
|
|
20554
|
-
|
|
20555
|
-
this.name = "MisdirectedRequest";
|
|
20556
|
-
this.code = 421;
|
|
20557
|
-
}
|
|
20110
|
+
name = "MisdirectedRequest";
|
|
20111
|
+
code = 421;
|
|
20558
20112
|
}
|
|
20559
20113
|
HTTP.MisdirectedRequest = MisdirectedRequest;
|
|
20560
20114
|
class UnprocessableEntity extends ErrorCategory {
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
this.name = "UnprocessableEntity";
|
|
20564
|
-
this.code = 422;
|
|
20565
|
-
}
|
|
20115
|
+
name = "UnprocessableEntity";
|
|
20116
|
+
code = 422;
|
|
20566
20117
|
}
|
|
20567
20118
|
HTTP.UnprocessableEntity = UnprocessableEntity;
|
|
20568
20119
|
class UpgradeRequired extends ErrorCategory {
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
this.name = "UpgradeRequired";
|
|
20572
|
-
this.code = 426;
|
|
20573
|
-
}
|
|
20120
|
+
name = "UpgradeRequired";
|
|
20121
|
+
code = 426;
|
|
20574
20122
|
}
|
|
20575
20123
|
HTTP.UpgradeRequired = UpgradeRequired;
|
|
20576
20124
|
class PreconditionRequired extends ErrorCategory {
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
this.name = "PreconditionRequired";
|
|
20580
|
-
this.code = 428;
|
|
20581
|
-
}
|
|
20125
|
+
name = "PreconditionRequired";
|
|
20126
|
+
code = 428;
|
|
20582
20127
|
}
|
|
20583
20128
|
HTTP.PreconditionRequired = PreconditionRequired;
|
|
20584
20129
|
class TooManyRequests extends ErrorCategory {
|
|
20585
|
-
|
|
20586
|
-
|
|
20587
|
-
this.name = "TooManyRequests";
|
|
20588
|
-
this.code = 429;
|
|
20589
|
-
}
|
|
20130
|
+
name = "TooManyRequests";
|
|
20131
|
+
code = 429;
|
|
20590
20132
|
}
|
|
20591
20133
|
HTTP.TooManyRequests = TooManyRequests;
|
|
20592
20134
|
class InternalServerError extends ErrorCategory {
|
|
20593
|
-
|
|
20594
|
-
|
|
20595
|
-
this.name = "InternalServerError";
|
|
20596
|
-
this.code = 500;
|
|
20597
|
-
}
|
|
20135
|
+
name = "InternalServerError";
|
|
20136
|
+
code = 500;
|
|
20598
20137
|
}
|
|
20599
20138
|
HTTP.InternalServerError = InternalServerError;
|
|
20600
20139
|
class NotImplemented extends ErrorCategory {
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
this.name = "NotImplemented";
|
|
20604
|
-
this.code = 501;
|
|
20605
|
-
}
|
|
20140
|
+
name = "NotImplemented";
|
|
20141
|
+
code = 501;
|
|
20606
20142
|
}
|
|
20607
20143
|
HTTP.NotImplemented = NotImplemented;
|
|
20608
20144
|
})(HTTP || (HTTP = {}));
|
|
@@ -20859,7 +20395,7 @@ function lookupHttpStatusCategory(statusCode) {
|
|
|
20859
20395
|
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.NoDatumConverter: return new OperationFailed();
|
|
20860
20396
|
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.VerticalDatumConvertError: return new OperationFailed();
|
|
20861
20397
|
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.CSMapError: return new InternalError();
|
|
20862
|
-
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.Pending: return new Pending();
|
|
20398
|
+
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.Pending: return new Pending(); // eslint-disable-line @typescript-eslint/no-deprecated
|
|
20863
20399
|
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.RealityDataStatus.Success: return new Success();
|
|
20864
20400
|
case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.RealityDataStatus.InvalidData: return new InvalidData();
|
|
20865
20401
|
default: return new UnknownError();
|
|
@@ -20878,8 +20414,8 @@ function lookupHttpStatusCategory(statusCode) {
|
|
|
20878
20414
|
"use strict";
|
|
20879
20415
|
__webpack_require__.r(__webpack_exports__);
|
|
20880
20416
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20881
|
-
/* harmony export */
|
|
20882
|
-
/* harmony export */
|
|
20417
|
+
/* harmony export */ base64StringToUint8Array: () => (/* binding */ base64StringToUint8Array),
|
|
20418
|
+
/* harmony export */ utf8ToString: () => (/* binding */ utf8ToString)
|
|
20883
20419
|
/* harmony export */ });
|
|
20884
20420
|
/*---------------------------------------------------------------------------------------------
|
|
20885
20421
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -20921,9 +20457,9 @@ function base64StringToUint8Array(base64) {
|
|
|
20921
20457
|
"use strict";
|
|
20922
20458
|
__webpack_require__.r(__webpack_exports__);
|
|
20923
20459
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20924
|
-
/* harmony export */
|
|
20925
|
-
/* harmony export */
|
|
20926
|
-
/* harmony export */
|
|
20460
|
+
/* harmony export */ BeDuration: () => (/* binding */ BeDuration),
|
|
20461
|
+
/* harmony export */ BeTimePoint: () => (/* binding */ BeTimePoint),
|
|
20462
|
+
/* harmony export */ StopWatch: () => (/* binding */ StopWatch)
|
|
20927
20463
|
/* harmony export */ });
|
|
20928
20464
|
/*---------------------------------------------------------------------------------------------
|
|
20929
20465
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -20937,6 +20473,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20937
20473
|
* @public
|
|
20938
20474
|
*/
|
|
20939
20475
|
class BeDuration {
|
|
20476
|
+
_milliseconds;
|
|
20940
20477
|
constructor(milliseconds = 0) { this._milliseconds = milliseconds; }
|
|
20941
20478
|
/** The duration in milliseconds */
|
|
20942
20479
|
get milliseconds() { return this._milliseconds; }
|
|
@@ -21003,6 +20540,7 @@ class BeDuration {
|
|
|
21003
20540
|
* @public
|
|
21004
20541
|
*/
|
|
21005
20542
|
class BeTimePoint {
|
|
20543
|
+
_milliseconds;
|
|
21006
20544
|
/** the time in milliseconds, of this BeTimePoint (relative to January 1, 1970 00:00:00 UTC.) */
|
|
21007
20545
|
get milliseconds() { return this._milliseconds; }
|
|
21008
20546
|
constructor(milliseconds) { this._milliseconds = milliseconds; }
|
|
@@ -21041,6 +20579,9 @@ class BeTimePoint {
|
|
|
21041
20579
|
* @public
|
|
21042
20580
|
*/
|
|
21043
20581
|
class StopWatch {
|
|
20582
|
+
description;
|
|
20583
|
+
_start;
|
|
20584
|
+
_stop;
|
|
21044
20585
|
/** Get the elapsed time since start() on a running timer. */
|
|
21045
20586
|
get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
|
|
21046
20587
|
/** Get the elapsed time, in seconds, since start() on a running timer. */
|
|
@@ -21084,8 +20625,8 @@ class StopWatch {
|
|
|
21084
20625
|
"use strict";
|
|
21085
20626
|
__webpack_require__.r(__webpack_exports__);
|
|
21086
20627
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21087
|
-
/* harmony export */
|
|
21088
|
-
/* harmony export */
|
|
20628
|
+
/* harmony export */ SpanKind: () => (/* binding */ SpanKind),
|
|
20629
|
+
/* harmony export */ Tracing: () => (/* binding */ Tracing)
|
|
21089
20630
|
/* harmony export */ });
|
|
21090
20631
|
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
|
|
21091
20632
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -21163,6 +20704,8 @@ function flattenObject(obj) {
|
|
|
21163
20704
|
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
21164
20705
|
*/
|
|
21165
20706
|
class Tracing {
|
|
20707
|
+
static _tracer;
|
|
20708
|
+
static _openTelemetry;
|
|
21166
20709
|
/**
|
|
21167
20710
|
* If OpenTelemetry tracing is enabled, creates a new span and runs the provided function in it.
|
|
21168
20711
|
* If OpenTelemetry tracing is _not_ enabled, runs the provided function.
|
|
@@ -21262,7 +20805,7 @@ class Tracing {
|
|
|
21262
20805
|
"use strict";
|
|
21263
20806
|
__webpack_require__.r(__webpack_exports__);
|
|
21264
20807
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21265
|
-
/* harmony export */
|
|
20808
|
+
/* harmony export */ TupleKeyedMap: () => (/* binding */ TupleKeyedMap)
|
|
21266
20809
|
/* harmony export */ });
|
|
21267
20810
|
/*---------------------------------------------------------------------------------------------
|
|
21268
20811
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -21292,10 +20835,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21292
20835
|
* @public
|
|
21293
20836
|
*/
|
|
21294
20837
|
class TupleKeyedMap {
|
|
20838
|
+
_map = new Map();
|
|
21295
20839
|
// argument types match those of Map
|
|
21296
20840
|
constructor(entries) {
|
|
21297
|
-
this._map = new Map();
|
|
21298
|
-
this._size = 0;
|
|
21299
20841
|
if (entries)
|
|
21300
20842
|
for (const [k, v] of entries) {
|
|
21301
20843
|
this.set(k, v);
|
|
@@ -21355,6 +20897,7 @@ class TupleKeyedMap {
|
|
|
21355
20897
|
}
|
|
21356
20898
|
yield* impl(this._map, []);
|
|
21357
20899
|
}
|
|
20900
|
+
_size = 0;
|
|
21358
20901
|
get size() {
|
|
21359
20902
|
return this._size;
|
|
21360
20903
|
}
|
|
@@ -21375,11 +20918,11 @@ class TupleKeyedMap {
|
|
|
21375
20918
|
"use strict";
|
|
21376
20919
|
__webpack_require__.r(__webpack_exports__);
|
|
21377
20920
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21378
|
-
/* harmony export */
|
|
21379
|
-
/* harmony export */
|
|
21380
|
-
/* harmony export */
|
|
21381
|
-
/* harmony export */
|
|
21382
|
-
/* harmony export */
|
|
20921
|
+
/* harmony export */ TypedArrayBuilder: () => (/* binding */ TypedArrayBuilder),
|
|
20922
|
+
/* harmony export */ Uint16ArrayBuilder: () => (/* binding */ Uint16ArrayBuilder),
|
|
20923
|
+
/* harmony export */ Uint32ArrayBuilder: () => (/* binding */ Uint32ArrayBuilder),
|
|
20924
|
+
/* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
|
|
20925
|
+
/* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
|
|
21383
20926
|
/* harmony export */ });
|
|
21384
20927
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
21385
20928
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -21405,6 +20948,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21405
20948
|
* @public
|
|
21406
20949
|
*/
|
|
21407
20950
|
class TypedArrayBuilder {
|
|
20951
|
+
/** The constructor for the specific type of array being populated. */
|
|
20952
|
+
_constructor;
|
|
20953
|
+
/** The underlying typed array, to be reallocated and copied when its capacity is exceeded. */
|
|
20954
|
+
_data;
|
|
20955
|
+
/** The number of elements added to the array so far. */
|
|
20956
|
+
_length;
|
|
20957
|
+
/** Multiplier applied to required capacity by [[ensureCapacity]]. */
|
|
20958
|
+
growthFactor;
|
|
21408
20959
|
/** Constructs a new builder from the specified options, with a [[length]] of zero. */
|
|
21409
20960
|
constructor(constructor, options) {
|
|
21410
20961
|
this._constructor = constructor;
|
|
@@ -21593,7 +21144,7 @@ class UintArrayBuilder extends TypedArrayBuilder {
|
|
|
21593
21144
|
"use strict";
|
|
21594
21145
|
__webpack_require__.r(__webpack_exports__);
|
|
21595
21146
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21596
|
-
/* harmony export */
|
|
21147
|
+
/* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
|
|
21597
21148
|
/* harmony export */ });
|
|
21598
21149
|
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
|
|
21599
21150
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -21603,7 +21154,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21603
21154
|
/** @packageDocumentation
|
|
21604
21155
|
* @module Errors
|
|
21605
21156
|
*/
|
|
21606
|
-
var _a;
|
|
21607
21157
|
|
|
21608
21158
|
/**
|
|
21609
21159
|
* Utility for handling/reporting unexpected runtime errors. This class establishes a global handler for
|
|
@@ -21613,6 +21163,16 @@ var _a;
|
|
|
21613
21163
|
* @public
|
|
21614
21164
|
*/
|
|
21615
21165
|
class UnexpectedErrors {
|
|
21166
|
+
/** handler for re-throwing exceptions directly */
|
|
21167
|
+
static reThrowImmediate = (e) => { throw e; };
|
|
21168
|
+
/** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
|
|
21169
|
+
static reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0);
|
|
21170
|
+
/** handler for logging exception to console */
|
|
21171
|
+
static consoleLog = (e) => console.error(e); // eslint-disable-line no-console
|
|
21172
|
+
/** handler for logging exception with [[Logger]] */
|
|
21173
|
+
static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
|
|
21174
|
+
static _telemetry = [];
|
|
21175
|
+
static _handler = this.errorLog; // default to error logging
|
|
21616
21176
|
constructor() { } // this is a singleton
|
|
21617
21177
|
/** Add a "telemetry tracker" for unexpected errors. Useful for tracking/reporting errors without changing handler.
|
|
21618
21178
|
* @returns a method to remove the tracker
|
|
@@ -21649,17 +21209,6 @@ class UnexpectedErrors {
|
|
|
21649
21209
|
return oldHandler;
|
|
21650
21210
|
}
|
|
21651
21211
|
}
|
|
21652
|
-
_a = UnexpectedErrors;
|
|
21653
|
-
/** handler for re-throwing exceptions directly */
|
|
21654
|
-
UnexpectedErrors.reThrowImmediate = (e) => { throw e; };
|
|
21655
|
-
/** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
|
|
21656
|
-
UnexpectedErrors.reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0);
|
|
21657
|
-
/** handler for logging exception to console */
|
|
21658
|
-
UnexpectedErrors.consoleLog = (e) => console.error(e); // eslint-disable-line no-console
|
|
21659
|
-
/** handler for logging exception with [[Logger]] */
|
|
21660
|
-
UnexpectedErrors.errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
|
|
21661
|
-
UnexpectedErrors._telemetry = [];
|
|
21662
|
-
UnexpectedErrors._handler = _a.errorLog; // default to error logging
|
|
21663
21212
|
|
|
21664
21213
|
|
|
21665
21214
|
/***/ }),
|
|
@@ -21673,9 +21222,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
|
|
|
21673
21222
|
"use strict";
|
|
21674
21223
|
__webpack_require__.r(__webpack_exports__);
|
|
21675
21224
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21676
|
-
/* harmony export */
|
|
21677
|
-
/* harmony export */
|
|
21678
|
-
/* harmony export */
|
|
21225
|
+
/* harmony export */ asInstanceOf: () => (/* binding */ asInstanceOf),
|
|
21226
|
+
/* harmony export */ isInstanceOf: () => (/* binding */ isInstanceOf),
|
|
21227
|
+
/* harmony export */ omit: () => (/* binding */ omit)
|
|
21679
21228
|
/* harmony export */ });
|
|
21680
21229
|
/*---------------------------------------------------------------------------------------------
|
|
21681
21230
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -21724,7 +21273,7 @@ function omit(t, keys) {
|
|
|
21724
21273
|
"use strict";
|
|
21725
21274
|
__webpack_require__.r(__webpack_exports__);
|
|
21726
21275
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21727
|
-
/* harmony export */
|
|
21276
|
+
/* harmony export */ YieldManager: () => (/* binding */ YieldManager)
|
|
21728
21277
|
/* harmony export */ });
|
|
21729
21278
|
/*---------------------------------------------------------------------------------------------
|
|
21730
21279
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -21745,11 +21294,13 @@ const defaultYieldManagerOptions = {
|
|
|
21745
21294
|
* @public
|
|
21746
21295
|
*/
|
|
21747
21296
|
class YieldManager {
|
|
21297
|
+
/** Options controlling the yield behavior. */
|
|
21298
|
+
options;
|
|
21299
|
+
_counter = 0;
|
|
21748
21300
|
/** Constructor.
|
|
21749
21301
|
* @param options Options customizing the yield behavior. Omitted properties are assigned their default values.
|
|
21750
21302
|
*/
|
|
21751
21303
|
constructor(options = {}) {
|
|
21752
|
-
this._counter = 0;
|
|
21753
21304
|
this.options = { ...defaultYieldManagerOptions, ...options };
|
|
21754
21305
|
}
|
|
21755
21306
|
/** Increment the iteration counter, yielding control and resetting the counter if [[options.iterationsBeforeYield]] is exceeded. */
|
|
@@ -21776,99 +21327,102 @@ class YieldManager {
|
|
|
21776
21327
|
"use strict";
|
|
21777
21328
|
__webpack_require__.r(__webpack_exports__);
|
|
21778
21329
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21779
|
-
/* harmony export */
|
|
21780
|
-
/* harmony export */
|
|
21781
|
-
/* harmony export */
|
|
21782
|
-
/* harmony export */
|
|
21783
|
-
/* harmony export */
|
|
21784
|
-
/* harmony export */
|
|
21785
|
-
/* harmony export */
|
|
21786
|
-
/* harmony export */
|
|
21787
|
-
/* harmony export */
|
|
21788
|
-
/* harmony export */
|
|
21789
|
-
/* harmony export */
|
|
21790
|
-
/* harmony export */
|
|
21791
|
-
/* harmony export */
|
|
21792
|
-
/* harmony export */
|
|
21793
|
-
/* harmony export */
|
|
21794
|
-
/* harmony export */
|
|
21795
|
-
/* harmony export */
|
|
21796
|
-
/* harmony export */
|
|
21797
|
-
/* harmony export */
|
|
21798
|
-
/* harmony export */
|
|
21799
|
-
/* harmony export */
|
|
21800
|
-
/* harmony export */
|
|
21801
|
-
/* harmony export */
|
|
21802
|
-
/* harmony export */
|
|
21803
|
-
/* harmony export */
|
|
21804
|
-
/* harmony export */
|
|
21805
|
-
/* harmony export */
|
|
21806
|
-
/* harmony export */
|
|
21807
|
-
/* harmony export */
|
|
21808
|
-
/* harmony export */
|
|
21809
|
-
/* harmony export */
|
|
21810
|
-
/* harmony export */
|
|
21811
|
-
/* harmony export */
|
|
21812
|
-
/* harmony export */
|
|
21813
|
-
/* harmony export */
|
|
21814
|
-
/* harmony export */
|
|
21815
|
-
/* harmony export */
|
|
21816
|
-
/* harmony export */
|
|
21817
|
-
/* harmony export */
|
|
21818
|
-
/* harmony export */
|
|
21819
|
-
/* harmony export */
|
|
21820
|
-
/* harmony export */
|
|
21821
|
-
/* harmony export */
|
|
21822
|
-
/* harmony export */
|
|
21823
|
-
/* harmony export */
|
|
21824
|
-
/* harmony export */
|
|
21825
|
-
/* harmony export */
|
|
21826
|
-
/* harmony export */
|
|
21827
|
-
/* harmony export */
|
|
21828
|
-
/* harmony export */
|
|
21829
|
-
/* harmony export */
|
|
21830
|
-
/* harmony export */
|
|
21831
|
-
/* harmony export */
|
|
21832
|
-
/* harmony export */
|
|
21833
|
-
/* harmony export */
|
|
21834
|
-
/* harmony export */
|
|
21835
|
-
/* harmony export */
|
|
21836
|
-
/* harmony export */
|
|
21837
|
-
/* harmony export */
|
|
21838
|
-
/* harmony export */
|
|
21839
|
-
/* harmony export */
|
|
21840
|
-
/* harmony export */
|
|
21841
|
-
/* harmony export */
|
|
21842
|
-
/* harmony export */
|
|
21843
|
-
/* harmony export */
|
|
21844
|
-
/* harmony export */
|
|
21845
|
-
/* harmony export */
|
|
21846
|
-
/* harmony export */
|
|
21847
|
-
/* harmony export */
|
|
21848
|
-
/* harmony export */
|
|
21849
|
-
/* harmony export */
|
|
21850
|
-
/* harmony export */
|
|
21851
|
-
/* harmony export */
|
|
21852
|
-
/* harmony export */
|
|
21853
|
-
/* harmony export */
|
|
21854
|
-
/* harmony export */
|
|
21855
|
-
/* harmony export */
|
|
21856
|
-
/* harmony export */
|
|
21857
|
-
/* harmony export */
|
|
21858
|
-
/* harmony export */
|
|
21859
|
-
/* harmony export */
|
|
21860
|
-
/* harmony export */
|
|
21861
|
-
/* harmony export */
|
|
21862
|
-
/* harmony export */
|
|
21863
|
-
/* harmony export */
|
|
21864
|
-
/* harmony export */
|
|
21865
|
-
/* harmony export */
|
|
21866
|
-
/* harmony export */
|
|
21867
|
-
/* harmony export */
|
|
21868
|
-
/* harmony export */
|
|
21869
|
-
/* harmony export */
|
|
21870
|
-
/* harmony export */
|
|
21871
|
-
/* harmony export */
|
|
21330
|
+
/* harmony export */ AbandonedError: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
|
|
21331
|
+
/* harmony export */ BeDuration: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
|
|
21332
|
+
/* harmony export */ BeEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
|
|
21333
|
+
/* harmony export */ BeEventList: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
|
|
21334
|
+
/* harmony export */ BeTimePoint: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
|
|
21335
|
+
/* harmony export */ BeUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
|
|
21336
|
+
/* harmony export */ BentleyError: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
|
|
21337
|
+
/* harmony export */ BentleyLoggerCategory: () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
|
|
21338
|
+
/* harmony export */ BentleyStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
|
|
21339
|
+
/* harmony export */ BriefcaseStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
|
|
21340
|
+
/* harmony export */ ByteStream: () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
|
|
21341
|
+
/* harmony export */ ChangeSetStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
|
|
21342
|
+
/* harmony export */ CompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
|
|
21343
|
+
/* harmony export */ DbChangeStage: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbChangeStage),
|
|
21344
|
+
/* harmony export */ DbConflictCause: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictCause),
|
|
21345
|
+
/* harmony export */ DbConflictResolution: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictResolution),
|
|
21346
|
+
/* harmony export */ DbOpcode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
|
|
21347
|
+
/* harmony export */ DbResult: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
|
|
21348
|
+
/* harmony export */ DbValueType: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbValueType),
|
|
21349
|
+
/* harmony export */ Dictionary: () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
|
|
21350
|
+
/* harmony export */ DisposableList: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
|
|
21351
|
+
/* harmony export */ DuplicatePolicy: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
|
|
21352
|
+
/* harmony export */ Entry: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
|
|
21353
|
+
/* harmony export */ ErrorCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
|
|
21354
|
+
/* harmony export */ GeoServiceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
|
|
21355
|
+
/* harmony export */ Guid: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
|
|
21356
|
+
/* harmony export */ HttpStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
|
|
21357
|
+
/* harmony export */ IModelHubStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
|
|
21358
|
+
/* harmony export */ IModelStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
|
|
21359
|
+
/* harmony export */ ITwinError: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ITwinError),
|
|
21360
|
+
/* harmony export */ Id64: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
|
|
21361
|
+
/* harmony export */ IndexMap: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
|
|
21362
|
+
/* harmony export */ IndexedValue: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
|
|
21363
|
+
/* harmony export */ JsonUtils: () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
|
|
21364
|
+
/* harmony export */ LRUCache: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
|
|
21365
|
+
/* harmony export */ LRUDictionary: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
|
|
21366
|
+
/* harmony export */ LRUMap: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
|
|
21367
|
+
/* harmony export */ LogLevel: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
|
|
21368
|
+
/* harmony export */ Logger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
|
|
21369
|
+
/* harmony export */ MutableCompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
|
|
21370
|
+
/* harmony export */ ObservableSet: () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
|
|
21371
|
+
/* harmony export */ OneAtATimeAction: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
|
|
21372
|
+
/* harmony export */ OpenMode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
|
|
21373
|
+
/* harmony export */ OrderedId64Array: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
|
|
21374
|
+
/* harmony export */ OrderedId64Iterable: () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
|
|
21375
|
+
/* harmony export */ OrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
|
|
21376
|
+
/* harmony export */ PerfLogger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
|
|
21377
|
+
/* harmony export */ PriorityQueue: () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
|
|
21378
|
+
/* harmony export */ ProcessDetector: () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
|
|
21379
|
+
/* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
|
|
21380
|
+
/* harmony export */ ReadonlySortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
|
|
21381
|
+
/* harmony export */ RealityDataStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
|
|
21382
|
+
/* harmony export */ RepositoryStatus: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.RepositoryStatus),
|
|
21383
|
+
/* harmony export */ RpcInterfaceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
|
|
21384
|
+
/* harmony export */ SortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
|
|
21385
|
+
/* harmony export */ SpanKind: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
|
|
21386
|
+
/* harmony export */ StatusCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
|
|
21387
|
+
/* harmony export */ StopWatch: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
|
|
21388
|
+
/* harmony export */ SuccessCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
|
|
21389
|
+
/* harmony export */ Tracing: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
|
|
21390
|
+
/* harmony export */ TransientIdSequence: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
|
|
21391
|
+
/* harmony export */ TupleKeyedMap: () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
|
|
21392
|
+
/* harmony export */ TypedArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
|
|
21393
|
+
/* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
|
|
21394
|
+
/* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
|
|
21395
|
+
/* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
|
|
21396
|
+
/* harmony export */ UintArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
|
|
21397
|
+
/* harmony export */ UnexpectedErrors: () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
|
|
21398
|
+
/* harmony export */ YieldManager: () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
|
|
21399
|
+
/* harmony export */ areEqualPossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
|
|
21400
|
+
/* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
|
|
21401
|
+
/* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
|
|
21402
|
+
/* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
|
|
21403
|
+
/* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
|
|
21404
|
+
/* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
|
|
21405
|
+
/* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
|
|
21406
|
+
/* harmony export */ compareNumbersOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
|
|
21407
|
+
/* harmony export */ comparePossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
|
|
21408
|
+
/* harmony export */ compareSimpleArrays: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareSimpleArrays),
|
|
21409
|
+
/* harmony export */ compareSimpleTypes: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareSimpleTypes),
|
|
21410
|
+
/* harmony export */ compareStrings: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
|
|
21411
|
+
/* harmony export */ compareStringsOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
|
|
21412
|
+
/* harmony export */ compareWithTolerance: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
|
|
21413
|
+
/* harmony export */ dispose: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
|
|
21414
|
+
/* harmony export */ disposeArray: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
|
|
21415
|
+
/* harmony export */ isDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isDisposable),
|
|
21416
|
+
/* harmony export */ isIDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
|
|
21417
|
+
/* harmony export */ isInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
|
|
21418
|
+
/* harmony export */ isProperSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
|
|
21419
|
+
/* harmony export */ isSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
|
|
21420
|
+
/* harmony export */ lowerBound: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
|
|
21421
|
+
/* harmony export */ omit: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
|
|
21422
|
+
/* harmony export */ partitionArray: () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
|
|
21423
|
+
/* harmony export */ shallowClone: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
|
|
21424
|
+
/* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
|
|
21425
|
+
/* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString)
|
|
21872
21426
|
/* harmony export */ });
|
|
21873
21427
|
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../bentley/lib/esm/AccessToken.js");
|
|
21874
21428
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
@@ -21999,10 +21553,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21999
21553
|
"use strict";
|
|
22000
21554
|
__webpack_require__.r(__webpack_exports__);
|
|
22001
21555
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22002
|
-
/* harmony export */
|
|
22003
|
-
/* harmony export */
|
|
22004
|
-
/* harmony export */
|
|
22005
|
-
/* harmony export */
|
|
21556
|
+
/* harmony export */ DbChangeStage: () => (/* binding */ DbChangeStage),
|
|
21557
|
+
/* harmony export */ DbConflictCause: () => (/* binding */ DbConflictCause),
|
|
21558
|
+
/* harmony export */ DbConflictResolution: () => (/* binding */ DbConflictResolution),
|
|
21559
|
+
/* harmony export */ DbValueType: () => (/* binding */ DbValueType)
|
|
22006
21560
|
/* harmony export */ });
|
|
22007
21561
|
/*---------------------------------------------------------------------------------------------
|
|
22008
21562
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -22060,7 +21614,7 @@ var DbConflictResolution;
|
|
|
22060
21614
|
"use strict";
|
|
22061
21615
|
__webpack_require__.r(__webpack_exports__);
|
|
22062
21616
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22063
|
-
/* harmony export */
|
|
21617
|
+
/* harmony export */ RepositoryStatus: () => (/* binding */ RepositoryStatus)
|
|
22064
21618
|
/* harmony export */ });
|
|
22065
21619
|
/*---------------------------------------------------------------------------------------------
|
|
22066
21620
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -22119,16 +21673,14 @@ var RepositoryStatus;
|
|
|
22119
21673
|
"use strict";
|
|
22120
21674
|
__webpack_require__.r(__webpack_exports__);
|
|
22121
21675
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22122
|
-
/* harmony export */
|
|
22123
|
-
/* harmony export */
|
|
22124
|
-
/* harmony export */
|
|
22125
|
-
/* harmony export */
|
|
22126
|
-
/* harmony export */
|
|
22127
|
-
/* harmony export */ "staticLoggerMetadata": () => (/* reexport safe */ _staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_0__.staticLoggerMetadata)
|
|
21676
|
+
/* harmony export */ DbChangeStage: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbChangeStage),
|
|
21677
|
+
/* harmony export */ DbConflictCause: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbConflictCause),
|
|
21678
|
+
/* harmony export */ DbConflictResolution: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbConflictResolution),
|
|
21679
|
+
/* harmony export */ DbValueType: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbValueType),
|
|
21680
|
+
/* harmony export */ RepositoryStatus: () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__.RepositoryStatus)
|
|
22128
21681
|
/* harmony export */ });
|
|
22129
|
-
/* harmony import */ var
|
|
22130
|
-
/* harmony import */ var
|
|
22131
|
-
/* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../bentley/lib/esm/internal/BeSQLiteInternal.js");
|
|
21682
|
+
/* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
|
|
21683
|
+
/* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../bentley/lib/esm/internal/BeSQLiteInternal.js");
|
|
22132
21684
|
/*---------------------------------------------------------------------------------------------
|
|
22133
21685
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
22134
21686
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -22137,35 +21689,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22137
21689
|
|
|
22138
21690
|
|
|
22139
21691
|
|
|
22140
|
-
|
|
22141
|
-
/***/ }),
|
|
22142
|
-
|
|
22143
|
-
/***/ "../bentley/lib/esm/internal/staticLoggerMetadata.js":
|
|
22144
|
-
/*!***********************************************************!*\
|
|
22145
|
-
!*** ../bentley/lib/esm/internal/staticLoggerMetadata.js ***!
|
|
22146
|
-
\***********************************************************/
|
|
22147
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
22148
|
-
|
|
22149
|
-
"use strict";
|
|
22150
|
-
__webpack_require__.r(__webpack_exports__);
|
|
22151
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22152
|
-
/* harmony export */ "staticLoggerMetadata": () => (/* binding */ staticLoggerMetadata)
|
|
22153
|
-
/* harmony export */ });
|
|
22154
|
-
/*---------------------------------------------------------------------------------------------
|
|
22155
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
22156
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
22157
|
-
*--------------------------------------------------------------------------------------------*/
|
|
22158
|
-
/** @packageDocumentation
|
|
22159
|
-
* @module Logging
|
|
22160
|
-
*/
|
|
22161
|
-
/** All static metadata is combined with per-call metadata and stringified in every log message.
|
|
22162
|
-
* Static metadata can either be an object or a function that returns an object.
|
|
22163
|
-
* Use a key to identify entries in the map so the can be removed individually.
|
|
22164
|
-
* @internal
|
|
22165
|
-
*/
|
|
22166
|
-
const staticLoggerMetadata = new Map();
|
|
22167
|
-
|
|
22168
|
-
|
|
22169
21692
|
/***/ }),
|
|
22170
21693
|
|
|
22171
21694
|
/***/ "../bentley/lib/esm/partitionArray.js":
|
|
@@ -22177,7 +21700,7 @@ const staticLoggerMetadata = new Map();
|
|
|
22177
21700
|
"use strict";
|
|
22178
21701
|
__webpack_require__.r(__webpack_exports__);
|
|
22179
21702
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22180
|
-
/* harmony export */
|
|
21703
|
+
/* harmony export */ partitionArray: () => (/* binding */ partitionArray)
|
|
22181
21704
|
/* harmony export */ });
|
|
22182
21705
|
/*---------------------------------------------------------------------------------------------
|
|
22183
21706
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -22244,7 +21767,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
22244
21767
|
exports.ITwinLocalization = void 0;
|
|
22245
21768
|
const i18next_1 = __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js"));
|
|
22246
21769
|
const i18next_browser_languagedetector_1 = __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js"));
|
|
22247
|
-
const i18next_http_backend_1 = __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
21770
|
+
const i18next_http_backend_1 = __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js"));
|
|
22248
21771
|
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js");
|
|
22249
21772
|
const DEFAULT_MAX_RETRIES = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
|
|
22250
21773
|
/** Supplies localizations for iTwin.js
|
|
@@ -22252,8 +21775,12 @@ const DEFAULT_MAX_RETRIES = 1; // a low number prevents wasted time and potentia
|
|
|
22252
21775
|
* @public
|
|
22253
21776
|
*/
|
|
22254
21777
|
class ITwinLocalization {
|
|
21778
|
+
i18next;
|
|
21779
|
+
_initOptions;
|
|
21780
|
+
_backendOptions;
|
|
21781
|
+
_detectionOptions;
|
|
21782
|
+
_namespaces = new Map();
|
|
22255
21783
|
constructor(options) {
|
|
22256
|
-
this._namespaces = new Map();
|
|
22257
21784
|
this.i18next = i18next_1.default.createInstance();
|
|
22258
21785
|
this._backendOptions = {
|
|
22259
21786
|
loadPath: options?.urlTemplate ?? "locales/{{lng}}/{{ns}}.json",
|
|
@@ -22341,26 +21868,6 @@ class ITwinLocalization {
|
|
|
22341
21868
|
}
|
|
22342
21869
|
return value;
|
|
22343
21870
|
}
|
|
22344
|
-
/** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
|
|
22345
|
-
* to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.
|
|
22346
|
-
* @param namespace - the namespace that identifies the particular localization file that contains the property.
|
|
22347
|
-
* @param key - the key that matches a property in the JSON localization file.
|
|
22348
|
-
* @returns The string corresponding to the first key that resolves.
|
|
22349
|
-
* @throws Error if no keys resolve to a string.
|
|
22350
|
-
* @internal
|
|
22351
|
-
*/
|
|
22352
|
-
getLocalizedStringWithNamespace(namespace, key, options) {
|
|
22353
|
-
let fullKey = "";
|
|
22354
|
-
if (typeof key === "string") {
|
|
22355
|
-
fullKey = `${namespace}:${key}`;
|
|
22356
|
-
}
|
|
22357
|
-
else {
|
|
22358
|
-
fullKey = key.map((subKey) => {
|
|
22359
|
-
return `${namespace}:${subKey}`;
|
|
22360
|
-
});
|
|
22361
|
-
}
|
|
22362
|
-
return this.getLocalizedString(fullKey, options);
|
|
22363
|
-
}
|
|
22364
21871
|
/** Gets the English translation.
|
|
22365
21872
|
* @param namespace - the namespace that identifies the particular localization file that contains the property.
|
|
22366
21873
|
* @param key - the key that matches a property in the JSON localization file.
|
|
@@ -22445,6 +21952,7 @@ class ITwinLocalization {
|
|
|
22445
21952
|
}
|
|
22446
21953
|
exports.ITwinLocalization = ITwinLocalization;
|
|
22447
21954
|
class TranslationLogger {
|
|
21955
|
+
static type = "logger";
|
|
22448
21956
|
log(args) { core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args)); }
|
|
22449
21957
|
warn(args) { core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args)); }
|
|
22450
21958
|
error(args) { core_bentley_1.Logger.logError("i18n", this.createLogMessage(args)); }
|
|
@@ -22457,7 +21965,6 @@ class TranslationLogger {
|
|
|
22457
21965
|
return message;
|
|
22458
21966
|
}
|
|
22459
21967
|
}
|
|
22460
|
-
TranslationLogger.type = "logger";
|
|
22461
21968
|
|
|
22462
21969
|
|
|
22463
21970
|
/***/ }),
|
|
@@ -22472,10 +21979,10 @@ TranslationLogger.type = "logger";
|
|
|
22472
21979
|
|
|
22473
21980
|
/***/ }),
|
|
22474
21981
|
|
|
22475
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22476
|
-
|
|
22477
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22478
|
-
|
|
21982
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
|
|
21983
|
+
/*!***************************************************************************************************************************!*\
|
|
21984
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
|
|
21985
|
+
\***************************************************************************************************************************/
|
|
22479
21986
|
/***/ ((module) => {
|
|
22480
21987
|
|
|
22481
21988
|
function _arrayLikeToArray(r, a) {
|
|
@@ -22487,10 +21994,10 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
|
|
|
22487
21994
|
|
|
22488
21995
|
/***/ }),
|
|
22489
21996
|
|
|
22490
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22491
|
-
|
|
22492
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22493
|
-
|
|
21997
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
|
|
21998
|
+
/*!*************************************************************************************************************************!*\
|
|
21999
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
|
22000
|
+
\*************************************************************************************************************************/
|
|
22494
22001
|
/***/ ((module) => {
|
|
22495
22002
|
|
|
22496
22003
|
function _arrayWithHoles(r) {
|
|
@@ -22500,10 +22007,10 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
|
|
|
22500
22007
|
|
|
22501
22008
|
/***/ }),
|
|
22502
22009
|
|
|
22503
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22504
|
-
|
|
22505
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22506
|
-
|
|
22010
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
|
|
22011
|
+
/*!********************************************************************************************************************************!*\
|
|
22012
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
|
22013
|
+
\********************************************************************************************************************************/
|
|
22507
22014
|
/***/ ((module) => {
|
|
22508
22015
|
|
|
22509
22016
|
function _assertThisInitialized(e) {
|
|
@@ -22514,10 +22021,10 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
|
|
|
22514
22021
|
|
|
22515
22022
|
/***/ }),
|
|
22516
22023
|
|
|
22517
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22518
|
-
|
|
22519
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22520
|
-
|
|
22024
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/classCallCheck.js":
|
|
22025
|
+
/*!*************************************************************************************************************************!*\
|
|
22026
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
22027
|
+
\*************************************************************************************************************************/
|
|
22521
22028
|
/***/ ((module) => {
|
|
22522
22029
|
|
|
22523
22030
|
function _classCallCheck(a, n) {
|
|
@@ -22527,13 +22034,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
|
|
|
22527
22034
|
|
|
22528
22035
|
/***/ }),
|
|
22529
22036
|
|
|
22530
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22531
|
-
|
|
22532
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22533
|
-
|
|
22037
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/createClass.js":
|
|
22038
|
+
/*!**********************************************************************************************************************!*\
|
|
22039
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/createClass.js ***!
|
|
22040
|
+
\**********************************************************************************************************************/
|
|
22534
22041
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22535
22042
|
|
|
22536
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22043
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
22537
22044
|
function _defineProperties(e, r) {
|
|
22538
22045
|
for (var t = 0; t < r.length; t++) {
|
|
22539
22046
|
var o = r[t];
|
|
@@ -22549,13 +22056,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
|
|
|
22549
22056
|
|
|
22550
22057
|
/***/ }),
|
|
22551
22058
|
|
|
22552
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22553
|
-
|
|
22554
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22555
|
-
|
|
22059
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/defineProperty.js":
|
|
22060
|
+
/*!*************************************************************************************************************************!*\
|
|
22061
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
|
22062
|
+
\*************************************************************************************************************************/
|
|
22556
22063
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22557
22064
|
|
|
22558
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22065
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
22559
22066
|
function _defineProperty(e, r, t) {
|
|
22560
22067
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
22561
22068
|
value: t,
|
|
@@ -22568,10 +22075,10 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
|
|
|
22568
22075
|
|
|
22569
22076
|
/***/ }),
|
|
22570
22077
|
|
|
22571
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22572
|
-
|
|
22573
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22574
|
-
|
|
22078
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
|
|
22079
|
+
/*!*************************************************************************************************************************!*\
|
|
22080
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
|
|
22081
|
+
\*************************************************************************************************************************/
|
|
22575
22082
|
/***/ ((module) => {
|
|
22576
22083
|
|
|
22577
22084
|
function _getPrototypeOf(t) {
|
|
@@ -22583,13 +22090,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
22583
22090
|
|
|
22584
22091
|
/***/ }),
|
|
22585
22092
|
|
|
22586
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22587
|
-
|
|
22588
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22589
|
-
|
|
22093
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/inherits.js":
|
|
22094
|
+
/*!*******************************************************************************************************************!*\
|
|
22095
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/inherits.js ***!
|
|
22096
|
+
\*******************************************************************************************************************/
|
|
22590
22097
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22591
22098
|
|
|
22592
|
-
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22099
|
+
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
|
|
22593
22100
|
function _inherits(t, e) {
|
|
22594
22101
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
22595
22102
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -22606,10 +22113,10 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
|
|
|
22606
22113
|
|
|
22607
22114
|
/***/ }),
|
|
22608
22115
|
|
|
22609
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22610
|
-
|
|
22611
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22612
|
-
|
|
22116
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/iterableToArray.js":
|
|
22117
|
+
/*!**************************************************************************************************************************!*\
|
|
22118
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
|
22119
|
+
\**************************************************************************************************************************/
|
|
22613
22120
|
/***/ ((module) => {
|
|
22614
22121
|
|
|
22615
22122
|
function _iterableToArray(r) {
|
|
@@ -22619,10 +22126,10 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
|
|
|
22619
22126
|
|
|
22620
22127
|
/***/ }),
|
|
22621
22128
|
|
|
22622
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22623
|
-
|
|
22624
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22625
|
-
|
|
22129
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/nonIterableRest.js":
|
|
22130
|
+
/*!**************************************************************************************************************************!*\
|
|
22131
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
|
22132
|
+
\**************************************************************************************************************************/
|
|
22626
22133
|
/***/ ((module) => {
|
|
22627
22134
|
|
|
22628
22135
|
function _nonIterableRest() {
|
|
@@ -22632,14 +22139,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
|
|
|
22632
22139
|
|
|
22633
22140
|
/***/ }),
|
|
22634
22141
|
|
|
22635
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22636
|
-
|
|
22637
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22638
|
-
|
|
22142
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
|
|
22143
|
+
/*!************************************************************************************************************************************!*\
|
|
22144
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
|
|
22145
|
+
\************************************************************************************************************************************/
|
|
22639
22146
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22640
22147
|
|
|
22641
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22642
|
-
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22148
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
22149
|
+
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
22643
22150
|
function _possibleConstructorReturn(t, e) {
|
|
22644
22151
|
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
22645
22152
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -22649,10 +22156,10 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
|
|
|
22649
22156
|
|
|
22650
22157
|
/***/ }),
|
|
22651
22158
|
|
|
22652
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22653
|
-
|
|
22654
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22655
|
-
|
|
22159
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
|
|
22160
|
+
/*!*************************************************************************************************************************!*\
|
|
22161
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
|
|
22162
|
+
\*************************************************************************************************************************/
|
|
22656
22163
|
/***/ ((module) => {
|
|
22657
22164
|
|
|
22658
22165
|
function _setPrototypeOf(t, e) {
|
|
@@ -22664,16 +22171,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
22664
22171
|
|
|
22665
22172
|
/***/ }),
|
|
22666
22173
|
|
|
22667
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22668
|
-
|
|
22669
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22670
|
-
|
|
22174
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toArray.js":
|
|
22175
|
+
/*!******************************************************************************************************************!*\
|
|
22176
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toArray.js ***!
|
|
22177
|
+
\******************************************************************************************************************/
|
|
22671
22178
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22672
22179
|
|
|
22673
|
-
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22674
|
-
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22675
|
-
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22676
|
-
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22180
|
+
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
|
|
22181
|
+
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/iterableToArray.js");
|
|
22182
|
+
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
|
|
22183
|
+
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/nonIterableRest.js");
|
|
22677
22184
|
function _toArray(r) {
|
|
22678
22185
|
return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
|
|
22679
22186
|
}
|
|
@@ -22681,13 +22188,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
|
|
|
22681
22188
|
|
|
22682
22189
|
/***/ }),
|
|
22683
22190
|
|
|
22684
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22685
|
-
|
|
22686
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22687
|
-
|
|
22191
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPrimitive.js":
|
|
22192
|
+
/*!**********************************************************************************************************************!*\
|
|
22193
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
|
|
22194
|
+
\**********************************************************************************************************************/
|
|
22688
22195
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22689
22196
|
|
|
22690
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22197
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
22691
22198
|
function toPrimitive(t, r) {
|
|
22692
22199
|
if ("object" != _typeof(t) || !t) return t;
|
|
22693
22200
|
var e = t[Symbol.toPrimitive];
|
|
@@ -22702,14 +22209,14 @@ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["
|
|
|
22702
22209
|
|
|
22703
22210
|
/***/ }),
|
|
22704
22211
|
|
|
22705
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22706
|
-
|
|
22707
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22708
|
-
|
|
22212
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPropertyKey.js":
|
|
22213
|
+
/*!************************************************************************************************************************!*\
|
|
22214
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
|
|
22215
|
+
\************************************************************************************************************************/
|
|
22709
22216
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22710
22217
|
|
|
22711
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22712
|
-
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22218
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
22219
|
+
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/toPrimitive.js");
|
|
22713
22220
|
function toPropertyKey(t) {
|
|
22714
22221
|
var i = toPrimitive(t, "string");
|
|
22715
22222
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
@@ -22718,10 +22225,10 @@ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports
|
|
|
22718
22225
|
|
|
22719
22226
|
/***/ }),
|
|
22720
22227
|
|
|
22721
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22722
|
-
|
|
22723
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22724
|
-
|
|
22228
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/typeof.js":
|
|
22229
|
+
/*!*****************************************************************************************************************!*\
|
|
22230
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/typeof.js ***!
|
|
22231
|
+
\*****************************************************************************************************************/
|
|
22725
22232
|
/***/ ((module) => {
|
|
22726
22233
|
|
|
22727
22234
|
function _typeof(o) {
|
|
@@ -22737,13 +22244,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
22737
22244
|
|
|
22738
22245
|
/***/ }),
|
|
22739
22246
|
|
|
22740
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22741
|
-
|
|
22742
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22743
|
-
|
|
22247
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
|
|
22248
|
+
/*!*************************************************************************************************************************************!*\
|
|
22249
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
|
|
22250
|
+
\*************************************************************************************************************************************/
|
|
22744
22251
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
22745
22252
|
|
|
22746
|
-
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.
|
|
22253
|
+
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
|
|
22747
22254
|
function _unsupportedIterableToArray(r, a) {
|
|
22748
22255
|
if (r) {
|
|
22749
22256
|
if ("string" == typeof r) return arrayLikeToArray(r, a);
|
|
@@ -22755,66 +22262,154 @@ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true,
|
|
|
22755
22262
|
|
|
22756
22263
|
/***/ }),
|
|
22757
22264
|
|
|
22758
|
-
/***/ "../../common/temp/node_modules/.pnpm
|
|
22759
|
-
|
|
22760
|
-
!*** ../../common/temp/node_modules/.pnpm
|
|
22761
|
-
|
|
22762
|
-
/***/ ((
|
|
22763
|
-
|
|
22764
|
-
|
|
22765
|
-
|
|
22766
|
-
|
|
22767
|
-
|
|
22768
|
-
|
|
22769
|
-
|
|
22770
|
-
|
|
22771
|
-
|
|
22265
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
22266
|
+
/*!*****************************************************************************************************************************!*\
|
|
22267
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
22268
|
+
\*****************************************************************************************************************************/
|
|
22269
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22270
|
+
|
|
22271
|
+
"use strict";
|
|
22272
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22273
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22274
|
+
/* harmony export */ "default": () => (/* binding */ _classCallCheck)
|
|
22275
|
+
/* harmony export */ });
|
|
22276
|
+
function _classCallCheck(a, n) {
|
|
22277
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
22278
|
+
}
|
|
22279
|
+
|
|
22280
|
+
|
|
22281
|
+
/***/ }),
|
|
22282
|
+
|
|
22283
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
22284
|
+
/*!**************************************************************************************************************************!*\
|
|
22285
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
22286
|
+
\**************************************************************************************************************************/
|
|
22287
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22288
|
+
|
|
22289
|
+
"use strict";
|
|
22290
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22291
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22292
|
+
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
22293
|
+
/* harmony export */ });
|
|
22294
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
22295
|
+
|
|
22296
|
+
function _defineProperties(e, r) {
|
|
22297
|
+
for (var t = 0; t < r.length; t++) {
|
|
22298
|
+
var o = r[t];
|
|
22299
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o.key), o);
|
|
22772
22300
|
}
|
|
22773
22301
|
}
|
|
22302
|
+
function _createClass(e, r, t) {
|
|
22303
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
22304
|
+
writable: !1
|
|
22305
|
+
}), e;
|
|
22306
|
+
}
|
|
22307
|
+
|
|
22774
22308
|
|
|
22775
|
-
|
|
22776
|
-
|
|
22777
|
-
|
|
22778
|
-
|
|
22779
|
-
|
|
22309
|
+
/***/ }),
|
|
22310
|
+
|
|
22311
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
22312
|
+
/*!**************************************************************************************************************************!*\
|
|
22313
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
22314
|
+
\**************************************************************************************************************************/
|
|
22315
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22316
|
+
|
|
22317
|
+
"use strict";
|
|
22318
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22319
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22320
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
|
22321
|
+
/* harmony export */ });
|
|
22322
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
22323
|
+
|
|
22324
|
+
function toPrimitive(t, r) {
|
|
22325
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
|
22326
|
+
var e = t[Symbol.toPrimitive];
|
|
22327
|
+
if (void 0 !== e) {
|
|
22328
|
+
var i = e.call(t, r || "default");
|
|
22329
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
|
22330
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22331
|
+
}
|
|
22332
|
+
return ("string" === r ? String : Number)(t);
|
|
22780
22333
|
}
|
|
22781
22334
|
|
|
22782
22335
|
|
|
22783
22336
|
/***/ }),
|
|
22784
22337
|
|
|
22785
|
-
/***/ "../../common/temp/node_modules/.pnpm
|
|
22786
|
-
|
|
22787
|
-
!*** ../../common/temp/node_modules/.pnpm
|
|
22788
|
-
|
|
22789
|
-
/***/ ((
|
|
22338
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
22339
|
+
/*!****************************************************************************************************************************!*\
|
|
22340
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
22341
|
+
\****************************************************************************************************************************/
|
|
22342
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22790
22343
|
|
|
22791
22344
|
"use strict";
|
|
22345
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22346
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22347
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
|
22348
|
+
/* harmony export */ });
|
|
22349
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
22350
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
22792
22351
|
|
|
22793
22352
|
|
|
22794
|
-
|
|
22795
|
-
|
|
22796
|
-
|
|
22797
|
-
|
|
22353
|
+
function toPropertyKey(t) {
|
|
22354
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
|
|
22355
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + "";
|
|
22356
|
+
}
|
|
22798
22357
|
|
|
22799
|
-
var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js");
|
|
22800
22358
|
|
|
22801
|
-
|
|
22359
|
+
/***/ }),
|
|
22360
|
+
|
|
22361
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
22362
|
+
/*!*********************************************************************************************************************!*\
|
|
22363
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
22364
|
+
\*********************************************************************************************************************/
|
|
22365
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22366
|
+
|
|
22367
|
+
"use strict";
|
|
22368
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22369
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22370
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
22371
|
+
/* harmony export */ });
|
|
22372
|
+
function _typeof(o) {
|
|
22373
|
+
"@babel/helpers - typeof";
|
|
22374
|
+
|
|
22375
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
22376
|
+
return typeof o;
|
|
22377
|
+
} : function (o) {
|
|
22378
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
22379
|
+
}, _typeof(o);
|
|
22380
|
+
}
|
|
22802
22381
|
|
|
22803
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22804
22382
|
|
|
22805
|
-
|
|
22383
|
+
/***/ }),
|
|
22806
22384
|
|
|
22807
|
-
|
|
22385
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js":
|
|
22386
|
+
/*!**********************************************************************************************************************!*\
|
|
22387
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js ***!
|
|
22388
|
+
\**********************************************************************************************************************/
|
|
22389
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22808
22390
|
|
|
22809
|
-
|
|
22391
|
+
"use strict";
|
|
22392
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22393
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22394
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
22395
|
+
/* harmony export */ });
|
|
22396
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js");
|
|
22397
|
+
/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js");
|
|
22398
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
22399
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22400
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22401
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
22402
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
22403
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
22404
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
22405
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22406
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
22810
22407
|
|
|
22811
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22812
22408
|
|
|
22813
22409
|
var getDefaults = function getDefaults() {
|
|
22814
22410
|
return {
|
|
22815
22411
|
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
22816
22412
|
addPath: '/locales/add/{{lng}}/{{ns}}',
|
|
22817
|
-
allowMultiLoading: false,
|
|
22818
22413
|
parse: function parse(data) {
|
|
22819
22414
|
return JSON.parse(data);
|
|
22820
22415
|
},
|
|
@@ -22822,7 +22417,10 @@ var getDefaults = function getDefaults() {
|
|
|
22822
22417
|
parsePayload: function parsePayload(namespace, key, fallbackValue) {
|
|
22823
22418
|
return _defineProperty({}, key, fallbackValue || '');
|
|
22824
22419
|
},
|
|
22825
|
-
|
|
22420
|
+
parseLoadPayload: function parseLoadPayload(languages, namespaces) {
|
|
22421
|
+
return undefined;
|
|
22422
|
+
},
|
|
22423
|
+
request: _request_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
22826
22424
|
reloadInterval: typeof window !== 'undefined' ? false : 60 * 60 * 1000,
|
|
22827
22425
|
customHeaders: {},
|
|
22828
22426
|
queryStringParams: {},
|
|
@@ -22836,36 +22434,31 @@ var getDefaults = function getDefaults() {
|
|
|
22836
22434
|
}
|
|
22837
22435
|
};
|
|
22838
22436
|
};
|
|
22839
|
-
|
|
22840
22437
|
var Backend = function () {
|
|
22841
22438
|
function Backend(services) {
|
|
22842
22439
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
22843
22440
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
22844
|
-
|
|
22845
22441
|
_classCallCheck(this, Backend);
|
|
22846
|
-
|
|
22847
22442
|
this.services = services;
|
|
22848
22443
|
this.options = options;
|
|
22849
22444
|
this.allOptions = allOptions;
|
|
22850
22445
|
this.type = 'backend';
|
|
22851
22446
|
this.init(services, options, allOptions);
|
|
22852
22447
|
}
|
|
22853
|
-
|
|
22854
|
-
_createClass(Backend, [{
|
|
22448
|
+
return _createClass(Backend, [{
|
|
22855
22449
|
key: "init",
|
|
22856
22450
|
value: function init(services) {
|
|
22857
22451
|
var _this = this;
|
|
22858
|
-
|
|
22859
22452
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
22860
22453
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
22861
22454
|
this.services = services;
|
|
22862
|
-
this.options = (
|
|
22455
|
+
this.options = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), this.options || {}), options);
|
|
22863
22456
|
this.allOptions = allOptions;
|
|
22864
|
-
|
|
22865
22457
|
if (this.services && this.options.reloadInterval) {
|
|
22866
|
-
setInterval(function () {
|
|
22458
|
+
var timer = setInterval(function () {
|
|
22867
22459
|
return _this.reload();
|
|
22868
22460
|
}, this.options.reloadInterval);
|
|
22461
|
+
if (_typeof(timer) === 'object' && typeof timer.unref === 'function') timer.unref();
|
|
22869
22462
|
}
|
|
22870
22463
|
}
|
|
22871
22464
|
}, {
|
|
@@ -22882,22 +22475,17 @@ var Backend = function () {
|
|
|
22882
22475
|
key: "_readAny",
|
|
22883
22476
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
22884
22477
|
var _this2 = this;
|
|
22885
|
-
|
|
22886
22478
|
var loadPath = this.options.loadPath;
|
|
22887
|
-
|
|
22888
22479
|
if (typeof this.options.loadPath === 'function') {
|
|
22889
22480
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
22890
22481
|
}
|
|
22891
|
-
|
|
22892
|
-
loadPath = (0, _utils.makePromise)(loadPath);
|
|
22482
|
+
loadPath = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.makePromise)(loadPath);
|
|
22893
22483
|
loadPath.then(function (resolvedLoadPath) {
|
|
22894
22484
|
if (!resolvedLoadPath) return callback(null, {});
|
|
22895
|
-
|
|
22896
22485
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
22897
22486
|
lng: languages.join('+'),
|
|
22898
22487
|
ns: namespaces.join('+')
|
|
22899
22488
|
});
|
|
22900
|
-
|
|
22901
22489
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
22902
22490
|
});
|
|
22903
22491
|
}
|
|
@@ -22905,14 +22493,23 @@ var Backend = function () {
|
|
|
22905
22493
|
key: "loadUrl",
|
|
22906
22494
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
22907
22495
|
var _this3 = this;
|
|
22908
|
-
|
|
22909
|
-
|
|
22496
|
+
var lng = typeof languages === 'string' ? [languages] : languages;
|
|
22497
|
+
var ns = typeof namespaces === 'string' ? [namespaces] : namespaces;
|
|
22498
|
+
var payload = this.options.parseLoadPayload(lng, ns);
|
|
22499
|
+
this.options.request(this.options, url, payload, function (err, res) {
|
|
22910
22500
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
22911
22501
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
22912
|
-
if (!res && err && err.message
|
|
22502
|
+
if (!res && err && err.message) {
|
|
22503
|
+
var errorMessage = err.message.toLowerCase();
|
|
22504
|
+
var isNetworkError = ['failed', 'fetch', 'network', 'load'].find(function (term) {
|
|
22505
|
+
return errorMessage.indexOf(term) > -1;
|
|
22506
|
+
});
|
|
22507
|
+
if (isNetworkError) {
|
|
22508
|
+
return callback('failed loading ' + url + ': ' + err.message, true);
|
|
22509
|
+
}
|
|
22510
|
+
}
|
|
22913
22511
|
if (err) return callback(err, false);
|
|
22914
22512
|
var ret, parseErr;
|
|
22915
|
-
|
|
22916
22513
|
try {
|
|
22917
22514
|
if (typeof res.data === 'string') {
|
|
22918
22515
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -22922,7 +22519,6 @@ var Backend = function () {
|
|
|
22922
22519
|
} catch (e) {
|
|
22923
22520
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
22924
22521
|
}
|
|
22925
|
-
|
|
22926
22522
|
if (parseErr) return callback(parseErr, false);
|
|
22927
22523
|
callback(null, ret);
|
|
22928
22524
|
});
|
|
@@ -22931,7 +22527,6 @@ var Backend = function () {
|
|
|
22931
22527
|
key: "create",
|
|
22932
22528
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
22933
22529
|
var _this4 = this;
|
|
22934
|
-
|
|
22935
22530
|
if (!this.options.addPath) return;
|
|
22936
22531
|
if (typeof languages === 'string') languages = [languages];
|
|
22937
22532
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -22940,23 +22535,19 @@ var Backend = function () {
|
|
|
22940
22535
|
var resArray = [];
|
|
22941
22536
|
languages.forEach(function (lng) {
|
|
22942
22537
|
var addPath = _this4.options.addPath;
|
|
22943
|
-
|
|
22944
22538
|
if (typeof _this4.options.addPath === 'function') {
|
|
22945
22539
|
addPath = _this4.options.addPath(lng, namespace);
|
|
22946
22540
|
}
|
|
22947
|
-
|
|
22948
22541
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
22949
22542
|
lng: lng,
|
|
22950
22543
|
ns: namespace
|
|
22951
22544
|
});
|
|
22952
|
-
|
|
22953
22545
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
22954
22546
|
finished += 1;
|
|
22955
22547
|
dataArray.push(data);
|
|
22956
22548
|
resArray.push(res);
|
|
22957
|
-
|
|
22958
22549
|
if (finished === languages.length) {
|
|
22959
|
-
if (callback) callback(dataArray, resArray);
|
|
22550
|
+
if (typeof callback === 'function') callback(dataArray, resArray);
|
|
22960
22551
|
}
|
|
22961
22552
|
});
|
|
22962
22553
|
});
|
|
@@ -22965,22 +22556,19 @@ var Backend = function () {
|
|
|
22965
22556
|
key: "reload",
|
|
22966
22557
|
value: function reload() {
|
|
22967
22558
|
var _this5 = this;
|
|
22968
|
-
|
|
22969
22559
|
var _this$services = this.services,
|
|
22970
|
-
|
|
22971
|
-
|
|
22972
|
-
|
|
22560
|
+
backendConnector = _this$services.backendConnector,
|
|
22561
|
+
languageUtils = _this$services.languageUtils,
|
|
22562
|
+
logger = _this$services.logger;
|
|
22973
22563
|
var currentLanguage = backendConnector.language;
|
|
22974
22564
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
22975
22565
|
var toLoad = [];
|
|
22976
|
-
|
|
22977
22566
|
var append = function append(lng) {
|
|
22978
22567
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
22979
22568
|
lngs.forEach(function (l) {
|
|
22980
22569
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
22981
22570
|
});
|
|
22982
22571
|
};
|
|
22983
|
-
|
|
22984
22572
|
append(currentLanguage);
|
|
22985
22573
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
22986
22574
|
return append(l);
|
|
@@ -22996,93 +22584,74 @@ var Backend = function () {
|
|
|
22996
22584
|
});
|
|
22997
22585
|
}
|
|
22998
22586
|
}]);
|
|
22999
|
-
|
|
23000
|
-
return Backend;
|
|
23001
22587
|
}();
|
|
23002
|
-
|
|
23003
22588
|
Backend.type = 'backend';
|
|
23004
|
-
|
|
23005
|
-
exports["default"] = _default;
|
|
23006
|
-
module.exports = exports.default;
|
|
22589
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backend);
|
|
23007
22590
|
|
|
23008
22591
|
/***/ }),
|
|
23009
22592
|
|
|
23010
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22593
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js":
|
|
23011
22594
|
/*!************************************************************************************************************************!*\
|
|
23012
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22595
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js ***!
|
|
23013
22596
|
\************************************************************************************************************************/
|
|
23014
|
-
/***/ ((
|
|
22597
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23015
22598
|
|
|
23016
22599
|
"use strict";
|
|
23017
|
-
|
|
23018
|
-
|
|
23019
|
-
|
|
23020
|
-
|
|
23021
|
-
|
|
23022
|
-
|
|
23023
|
-
|
|
23024
|
-
|
|
23025
|
-
|
|
23026
|
-
var
|
|
23027
|
-
|
|
23028
|
-
|
|
23029
|
-
|
|
23030
|
-
|
|
23031
|
-
|
|
23032
|
-
|
|
23033
|
-
|
|
23034
|
-
var fetchApi;
|
|
23035
|
-
|
|
23036
|
-
if (typeof fetch === 'function') {
|
|
23037
|
-
if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.fetch) {
|
|
23038
|
-
fetchApi = __webpack_require__.g.fetch;
|
|
23039
|
-
} else if (typeof window !== 'undefined' && window.fetch) {
|
|
23040
|
-
fetchApi = window.fetch;
|
|
23041
|
-
} else {
|
|
23042
|
-
fetchApi = fetch;
|
|
23043
|
-
}
|
|
22600
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22601
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22602
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
22603
|
+
/* harmony export */ });
|
|
22604
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js");
|
|
22605
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22606
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22607
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
22608
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22609
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
22610
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
22611
|
+
|
|
22612
|
+
var fetchApi = typeof fetch === 'function' ? fetch : undefined;
|
|
22613
|
+
if (typeof global !== 'undefined' && global.fetch) {
|
|
22614
|
+
fetchApi = global.fetch;
|
|
22615
|
+
} else if (typeof window !== 'undefined' && window.fetch) {
|
|
22616
|
+
fetchApi = window.fetch;
|
|
23044
22617
|
}
|
|
23045
|
-
|
|
23046
22618
|
var XmlHttpRequestApi;
|
|
23047
|
-
|
|
23048
|
-
if (
|
|
23049
|
-
|
|
23050
|
-
XmlHttpRequestApi = __webpack_require__.g.XMLHttpRequest;
|
|
22619
|
+
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
22620
|
+
if (typeof global !== 'undefined' && global.XMLHttpRequest) {
|
|
22621
|
+
XmlHttpRequestApi = global.XMLHttpRequest;
|
|
23051
22622
|
} else if (typeof window !== 'undefined' && window.XMLHttpRequest) {
|
|
23052
22623
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
23053
22624
|
}
|
|
23054
22625
|
}
|
|
23055
|
-
|
|
23056
22626
|
var ActiveXObjectApi;
|
|
23057
|
-
|
|
23058
22627
|
if (typeof ActiveXObject === 'function') {
|
|
23059
|
-
if (typeof
|
|
23060
|
-
ActiveXObjectApi =
|
|
22628
|
+
if (typeof global !== 'undefined' && global.ActiveXObject) {
|
|
22629
|
+
ActiveXObjectApi = global.ActiveXObject;
|
|
23061
22630
|
} else if (typeof window !== 'undefined' && window.ActiveXObject) {
|
|
23062
22631
|
ActiveXObjectApi = window.ActiveXObject;
|
|
23063
22632
|
}
|
|
23064
22633
|
}
|
|
23065
|
-
|
|
23066
|
-
if (!fetchApi && fetchNode && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = fetchNode.default || fetchNode;
|
|
23067
22634
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
23068
|
-
|
|
22635
|
+
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
22636
|
+
try {
|
|
22637
|
+
__webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b").then(__webpack_require__.t.bind(__webpack_require__, /*! cross-fetch */ "../../common/temp/node_modules/.pnpm/cross-fetch@4.0.0/node_modules/cross-fetch/dist/browser-ponyfill.js", 19)).then(function (mod) {
|
|
22638
|
+
fetchApi = mod.default;
|
|
22639
|
+
}).catch(function () {});
|
|
22640
|
+
} catch (e) {}
|
|
22641
|
+
}
|
|
23069
22642
|
var addQueryString = function addQueryString(url, params) {
|
|
23070
22643
|
if (params && _typeof(params) === 'object') {
|
|
23071
22644
|
var queryString = '';
|
|
23072
|
-
|
|
23073
22645
|
for (var paramName in params) {
|
|
23074
22646
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
23075
22647
|
}
|
|
23076
|
-
|
|
23077
22648
|
if (!queryString) return url;
|
|
23078
22649
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
23079
22650
|
}
|
|
23080
|
-
|
|
23081
22651
|
return url;
|
|
23082
22652
|
};
|
|
23083
|
-
|
|
23084
|
-
var
|
|
23085
|
-
fetchApi(url, fetchOptions).then(function (response) {
|
|
22653
|
+
var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
|
|
22654
|
+
var resolver = function resolver(response) {
|
|
23086
22655
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
23087
22656
|
status: response.status
|
|
23088
22657
|
});
|
|
@@ -23092,147 +22661,127 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
23092
22661
|
data: data
|
|
23093
22662
|
});
|
|
23094
22663
|
}).catch(callback);
|
|
23095
|
-
}
|
|
22664
|
+
};
|
|
22665
|
+
if (altFetch) {
|
|
22666
|
+
var altResponse = altFetch(url, fetchOptions);
|
|
22667
|
+
if (altResponse instanceof Promise) {
|
|
22668
|
+
altResponse.then(resolver).catch(callback);
|
|
22669
|
+
return;
|
|
22670
|
+
}
|
|
22671
|
+
}
|
|
22672
|
+
if (typeof fetch === 'function') {
|
|
22673
|
+
fetch(url, fetchOptions).then(resolver).catch(callback);
|
|
22674
|
+
} else {
|
|
22675
|
+
fetchApi(url, fetchOptions).then(resolver).catch(callback);
|
|
22676
|
+
}
|
|
23096
22677
|
};
|
|
23097
|
-
|
|
23098
22678
|
var omitFetchOptions = false;
|
|
23099
|
-
|
|
23100
22679
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
23101
22680
|
if (options.queryStringParams) {
|
|
23102
22681
|
url = addQueryString(url, options.queryStringParams);
|
|
23103
22682
|
}
|
|
23104
|
-
|
|
23105
|
-
|
|
22683
|
+
var headers = _objectSpread({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
22684
|
+
if (typeof window === 'undefined' && typeof global !== 'undefined' && typeof global.process !== 'undefined' && global.process.versions && global.process.versions.node) {
|
|
22685
|
+
headers['User-Agent'] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")");
|
|
22686
|
+
}
|
|
23106
22687
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
23107
22688
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
23108
|
-
var fetchOptions = (
|
|
22689
|
+
var fetchOptions = _objectSpread({
|
|
23109
22690
|
method: payload ? 'POST' : 'GET',
|
|
23110
22691
|
body: payload ? options.stringify(payload) : undefined,
|
|
23111
22692
|
headers: headers
|
|
23112
22693
|
}, omitFetchOptions ? {} : reqOptions);
|
|
23113
|
-
|
|
22694
|
+
var altFetch = typeof options.alternateFetch === 'function' && options.alternateFetch.length >= 1 ? options.alternateFetch : undefined;
|
|
23114
22695
|
try {
|
|
23115
|
-
fetchIt(url, fetchOptions, callback);
|
|
22696
|
+
fetchIt(url, fetchOptions, callback, altFetch);
|
|
23116
22697
|
} catch (e) {
|
|
23117
22698
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
23118
22699
|
return callback(e);
|
|
23119
22700
|
}
|
|
23120
|
-
|
|
23121
22701
|
try {
|
|
23122
22702
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
23123
22703
|
delete fetchOptions[opt];
|
|
23124
22704
|
});
|
|
23125
|
-
fetchIt(url, fetchOptions, callback);
|
|
22705
|
+
fetchIt(url, fetchOptions, callback, altFetch);
|
|
23126
22706
|
omitFetchOptions = true;
|
|
23127
22707
|
} catch (err) {
|
|
23128
22708
|
callback(err);
|
|
23129
22709
|
}
|
|
23130
22710
|
}
|
|
23131
22711
|
};
|
|
23132
|
-
|
|
23133
22712
|
var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url, payload, callback) {
|
|
23134
22713
|
if (payload && _typeof(payload) === 'object') {
|
|
23135
22714
|
payload = addQueryString('', payload).slice(1);
|
|
23136
22715
|
}
|
|
23137
|
-
|
|
23138
22716
|
if (options.queryStringParams) {
|
|
23139
22717
|
url = addQueryString(url, options.queryStringParams);
|
|
23140
22718
|
}
|
|
23141
|
-
|
|
23142
22719
|
try {
|
|
23143
|
-
var x;
|
|
23144
|
-
|
|
23145
|
-
if (XmlHttpRequestApi) {
|
|
23146
|
-
x = new XmlHttpRequestApi();
|
|
23147
|
-
} else {
|
|
23148
|
-
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
23149
|
-
}
|
|
23150
|
-
|
|
22720
|
+
var x = XmlHttpRequestApi ? new XmlHttpRequestApi() : new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
23151
22721
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
23152
|
-
|
|
23153
22722
|
if (!options.crossDomain) {
|
|
23154
22723
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
23155
22724
|
}
|
|
23156
|
-
|
|
23157
22725
|
x.withCredentials = !!options.withCredentials;
|
|
23158
|
-
|
|
23159
22726
|
if (payload) {
|
|
23160
22727
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
23161
22728
|
}
|
|
23162
|
-
|
|
23163
22729
|
if (x.overrideMimeType) {
|
|
23164
22730
|
x.overrideMimeType('application/json');
|
|
23165
22731
|
}
|
|
23166
|
-
|
|
23167
22732
|
var h = options.customHeaders;
|
|
23168
22733
|
h = typeof h === 'function' ? h() : h;
|
|
23169
|
-
|
|
23170
22734
|
if (h) {
|
|
23171
22735
|
for (var i in h) {
|
|
23172
22736
|
x.setRequestHeader(i, h[i]);
|
|
23173
22737
|
}
|
|
23174
22738
|
}
|
|
23175
|
-
|
|
23176
22739
|
x.onreadystatechange = function () {
|
|
23177
22740
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
23178
22741
|
status: x.status,
|
|
23179
22742
|
data: x.responseText
|
|
23180
22743
|
});
|
|
23181
22744
|
};
|
|
23182
|
-
|
|
23183
22745
|
x.send(payload);
|
|
23184
22746
|
} catch (e) {
|
|
23185
22747
|
console && console.log(e);
|
|
23186
22748
|
}
|
|
23187
22749
|
};
|
|
23188
|
-
|
|
23189
22750
|
var request = function request(options, url, payload, callback) {
|
|
23190
22751
|
if (typeof payload === 'function') {
|
|
23191
22752
|
callback = payload;
|
|
23192
22753
|
payload = undefined;
|
|
23193
22754
|
}
|
|
23194
|
-
|
|
23195
22755
|
callback = callback || function () {};
|
|
23196
|
-
|
|
23197
|
-
if (fetchApi) {
|
|
22756
|
+
if (fetchApi && url.indexOf('file:') !== 0) {
|
|
23198
22757
|
return requestWithFetch(options, url, payload, callback);
|
|
23199
22758
|
}
|
|
23200
|
-
|
|
23201
|
-
if ((0, _utils.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
22759
|
+
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
23202
22760
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
23203
22761
|
}
|
|
23204
|
-
|
|
23205
22762
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
23206
22763
|
};
|
|
23207
|
-
|
|
23208
|
-
var _default = request;
|
|
23209
|
-
exports["default"] = _default;
|
|
23210
|
-
module.exports = exports.default;
|
|
22764
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);
|
|
23211
22765
|
|
|
23212
22766
|
/***/ }),
|
|
23213
22767
|
|
|
23214
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22768
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js":
|
|
23215
22769
|
/*!**********************************************************************************************************************!*\
|
|
23216
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22770
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js ***!
|
|
23217
22771
|
\**********************************************************************************************************************/
|
|
23218
|
-
/***/ ((
|
|
22772
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23219
22773
|
|
|
23220
22774
|
"use strict";
|
|
23221
|
-
|
|
23222
|
-
|
|
23223
|
-
|
|
23224
|
-
|
|
23225
|
-
|
|
23226
|
-
|
|
23227
|
-
|
|
23228
|
-
exports.makePromise = makePromise;
|
|
23229
|
-
|
|
23230
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
23231
|
-
|
|
22775
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22776
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22777
|
+
/* harmony export */ defaults: () => (/* binding */ defaults),
|
|
22778
|
+
/* harmony export */ hasXMLHttpRequest: () => (/* binding */ hasXMLHttpRequest),
|
|
22779
|
+
/* harmony export */ makePromise: () => (/* binding */ makePromise)
|
|
22780
|
+
/* harmony export */ });
|
|
22781
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
23232
22782
|
var arr = [];
|
|
23233
22783
|
var each = arr.forEach;
|
|
23234
22784
|
var slice = arr.slice;
|
|
23235
|
-
|
|
23236
22785
|
function defaults(obj) {
|
|
23237
22786
|
each.call(slice.call(arguments, 1), function (source) {
|
|
23238
22787
|
if (source) {
|
|
@@ -23243,143 +22792,19 @@ function defaults(obj) {
|
|
|
23243
22792
|
});
|
|
23244
22793
|
return obj;
|
|
23245
22794
|
}
|
|
23246
|
-
|
|
23247
22795
|
function hasXMLHttpRequest() {
|
|
23248
22796
|
return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) === 'object';
|
|
23249
22797
|
}
|
|
23250
|
-
|
|
23251
22798
|
function isPromise(maybePromise) {
|
|
23252
22799
|
return !!maybePromise && typeof maybePromise.then === 'function';
|
|
23253
22800
|
}
|
|
23254
|
-
|
|
23255
22801
|
function makePromise(maybePromise) {
|
|
23256
22802
|
if (isPromise(maybePromise)) {
|
|
23257
22803
|
return maybePromise;
|
|
23258
22804
|
}
|
|
23259
|
-
|
|
23260
22805
|
return Promise.resolve(maybePromise);
|
|
23261
22806
|
}
|
|
23262
22807
|
|
|
23263
|
-
/***/ }),
|
|
23264
|
-
|
|
23265
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
23266
|
-
/*!****************************************************************************************************************************!*\
|
|
23267
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
23268
|
-
\****************************************************************************************************************************/
|
|
23269
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23270
|
-
|
|
23271
|
-
"use strict";
|
|
23272
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23273
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23274
|
-
/* harmony export */ "default": () => (/* binding */ _classCallCheck)
|
|
23275
|
-
/* harmony export */ });
|
|
23276
|
-
function _classCallCheck(a, n) {
|
|
23277
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
23278
|
-
}
|
|
23279
|
-
|
|
23280
|
-
|
|
23281
|
-
/***/ }),
|
|
23282
|
-
|
|
23283
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
23284
|
-
/*!*************************************************************************************************************************!*\
|
|
23285
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
23286
|
-
\*************************************************************************************************************************/
|
|
23287
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23288
|
-
|
|
23289
|
-
"use strict";
|
|
23290
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23291
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23292
|
-
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
23293
|
-
/* harmony export */ });
|
|
23294
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
23295
|
-
|
|
23296
|
-
function _defineProperties(e, r) {
|
|
23297
|
-
for (var t = 0; t < r.length; t++) {
|
|
23298
|
-
var o = r[t];
|
|
23299
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o.key), o);
|
|
23300
|
-
}
|
|
23301
|
-
}
|
|
23302
|
-
function _createClass(e, r, t) {
|
|
23303
|
-
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
23304
|
-
writable: !1
|
|
23305
|
-
}), e;
|
|
23306
|
-
}
|
|
23307
|
-
|
|
23308
|
-
|
|
23309
|
-
/***/ }),
|
|
23310
|
-
|
|
23311
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
23312
|
-
/*!*************************************************************************************************************************!*\
|
|
23313
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
23314
|
-
\*************************************************************************************************************************/
|
|
23315
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23316
|
-
|
|
23317
|
-
"use strict";
|
|
23318
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23319
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23320
|
-
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
|
23321
|
-
/* harmony export */ });
|
|
23322
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
23323
|
-
|
|
23324
|
-
function toPrimitive(t, r) {
|
|
23325
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
|
23326
|
-
var e = t[Symbol.toPrimitive];
|
|
23327
|
-
if (void 0 !== e) {
|
|
23328
|
-
var i = e.call(t, r || "default");
|
|
23329
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
|
23330
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23331
|
-
}
|
|
23332
|
-
return ("string" === r ? String : Number)(t);
|
|
23333
|
-
}
|
|
23334
|
-
|
|
23335
|
-
|
|
23336
|
-
/***/ }),
|
|
23337
|
-
|
|
23338
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
23339
|
-
/*!***************************************************************************************************************************!*\
|
|
23340
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
23341
|
-
\***************************************************************************************************************************/
|
|
23342
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23343
|
-
|
|
23344
|
-
"use strict";
|
|
23345
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23346
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23347
|
-
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
|
23348
|
-
/* harmony export */ });
|
|
23349
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
23350
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
23351
|
-
|
|
23352
|
-
|
|
23353
|
-
function toPropertyKey(t) {
|
|
23354
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
|
|
23355
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + "";
|
|
23356
|
-
}
|
|
23357
|
-
|
|
23358
|
-
|
|
23359
|
-
/***/ }),
|
|
23360
|
-
|
|
23361
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
23362
|
-
/*!********************************************************************************************************************!*\
|
|
23363
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
23364
|
-
\********************************************************************************************************************/
|
|
23365
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23366
|
-
|
|
23367
|
-
"use strict";
|
|
23368
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23369
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23370
|
-
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
23371
|
-
/* harmony export */ });
|
|
23372
|
-
function _typeof(o) {
|
|
23373
|
-
"@babel/helpers - typeof";
|
|
23374
|
-
|
|
23375
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
23376
|
-
return typeof o;
|
|
23377
|
-
} : function (o) {
|
|
23378
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
23379
|
-
}, _typeof(o);
|
|
23380
|
-
}
|
|
23381
|
-
|
|
23382
|
-
|
|
23383
22808
|
/***/ })
|
|
23384
22809
|
|
|
23385
22810
|
/******/ });
|
|
@@ -23408,7 +22833,40 @@ function _typeof(o) {
|
|
|
23408
22833
|
/******/ return module.exports;
|
|
23409
22834
|
/******/ }
|
|
23410
22835
|
/******/
|
|
22836
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
22837
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
22838
|
+
/******/
|
|
23411
22839
|
/************************************************************************/
|
|
22840
|
+
/******/ /* webpack/runtime/create fake namespace object */
|
|
22841
|
+
/******/ (() => {
|
|
22842
|
+
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
22843
|
+
/******/ var leafPrototypes;
|
|
22844
|
+
/******/ // create a fake namespace object
|
|
22845
|
+
/******/ // mode & 1: value is a module id, require it
|
|
22846
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
22847
|
+
/******/ // mode & 4: return value when already ns object
|
|
22848
|
+
/******/ // mode & 16: return value when it's Promise-like
|
|
22849
|
+
/******/ // mode & 8|1: behave like require
|
|
22850
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
22851
|
+
/******/ if(mode & 1) value = this(value);
|
|
22852
|
+
/******/ if(mode & 8) return value;
|
|
22853
|
+
/******/ if(typeof value === 'object' && value) {
|
|
22854
|
+
/******/ if((mode & 4) && value.__esModule) return value;
|
|
22855
|
+
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
22856
|
+
/******/ }
|
|
22857
|
+
/******/ var ns = Object.create(null);
|
|
22858
|
+
/******/ __webpack_require__.r(ns);
|
|
22859
|
+
/******/ var def = {};
|
|
22860
|
+
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
22861
|
+
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
22862
|
+
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
22863
|
+
/******/ }
|
|
22864
|
+
/******/ def['default'] = () => (value);
|
|
22865
|
+
/******/ __webpack_require__.d(ns, def);
|
|
22866
|
+
/******/ return ns;
|
|
22867
|
+
/******/ };
|
|
22868
|
+
/******/ })();
|
|
22869
|
+
/******/
|
|
23412
22870
|
/******/ /* webpack/runtime/define property getters */
|
|
23413
22871
|
/******/ (() => {
|
|
23414
22872
|
/******/ // define getter functions for harmony exports
|
|
@@ -23421,6 +22879,28 @@ function _typeof(o) {
|
|
|
23421
22879
|
/******/ };
|
|
23422
22880
|
/******/ })();
|
|
23423
22881
|
/******/
|
|
22882
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
22883
|
+
/******/ (() => {
|
|
22884
|
+
/******/ __webpack_require__.f = {};
|
|
22885
|
+
/******/ // This file contains only the entry chunk.
|
|
22886
|
+
/******/ // The chunk loading function for additional chunks
|
|
22887
|
+
/******/ __webpack_require__.e = (chunkId) => {
|
|
22888
|
+
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
22889
|
+
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
22890
|
+
/******/ return promises;
|
|
22891
|
+
/******/ }, []));
|
|
22892
|
+
/******/ };
|
|
22893
|
+
/******/ })();
|
|
22894
|
+
/******/
|
|
22895
|
+
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
22896
|
+
/******/ (() => {
|
|
22897
|
+
/******/ // This function allow to reference async chunks
|
|
22898
|
+
/******/ __webpack_require__.u = (chunkId) => {
|
|
22899
|
+
/******/ // return url for filenames based on template
|
|
22900
|
+
/******/ return "" + chunkId + ".bundled-tests.js";
|
|
22901
|
+
/******/ };
|
|
22902
|
+
/******/ })();
|
|
22903
|
+
/******/
|
|
23424
22904
|
/******/ /* webpack/runtime/global */
|
|
23425
22905
|
/******/ (() => {
|
|
23426
22906
|
/******/ __webpack_require__.g = (function() {
|
|
@@ -23438,6 +22918,52 @@ function _typeof(o) {
|
|
|
23438
22918
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
23439
22919
|
/******/ })();
|
|
23440
22920
|
/******/
|
|
22921
|
+
/******/ /* webpack/runtime/load script */
|
|
22922
|
+
/******/ (() => {
|
|
22923
|
+
/******/ var inProgress = {};
|
|
22924
|
+
/******/ var dataWebpackPrefix = "@itwin/core-i18n:";
|
|
22925
|
+
/******/ // loadScript function to load a script via script tag
|
|
22926
|
+
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
|
|
22927
|
+
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
|
22928
|
+
/******/ var script, needAttach;
|
|
22929
|
+
/******/ if(key !== undefined) {
|
|
22930
|
+
/******/ var scripts = document.getElementsByTagName("script");
|
|
22931
|
+
/******/ for(var i = 0; i < scripts.length; i++) {
|
|
22932
|
+
/******/ var s = scripts[i];
|
|
22933
|
+
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
|
22934
|
+
/******/ }
|
|
22935
|
+
/******/ }
|
|
22936
|
+
/******/ if(!script) {
|
|
22937
|
+
/******/ needAttach = true;
|
|
22938
|
+
/******/ script = document.createElement('script');
|
|
22939
|
+
/******/
|
|
22940
|
+
/******/ script.charset = 'utf-8';
|
|
22941
|
+
/******/ script.timeout = 120;
|
|
22942
|
+
/******/ if (__webpack_require__.nc) {
|
|
22943
|
+
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|
22944
|
+
/******/ }
|
|
22945
|
+
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
|
22946
|
+
/******/
|
|
22947
|
+
/******/ script.src = url;
|
|
22948
|
+
/******/ }
|
|
22949
|
+
/******/ inProgress[url] = [done];
|
|
22950
|
+
/******/ var onScriptComplete = (prev, event) => {
|
|
22951
|
+
/******/ // avoid mem leaks in IE.
|
|
22952
|
+
/******/ script.onerror = script.onload = null;
|
|
22953
|
+
/******/ clearTimeout(timeout);
|
|
22954
|
+
/******/ var doneFns = inProgress[url];
|
|
22955
|
+
/******/ delete inProgress[url];
|
|
22956
|
+
/******/ script.parentNode && script.parentNode.removeChild(script);
|
|
22957
|
+
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
|
|
22958
|
+
/******/ if(prev) return prev(event);
|
|
22959
|
+
/******/ }
|
|
22960
|
+
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
|
22961
|
+
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
|
22962
|
+
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
|
22963
|
+
/******/ needAttach && document.head.appendChild(script);
|
|
22964
|
+
/******/ };
|
|
22965
|
+
/******/ })();
|
|
22966
|
+
/******/
|
|
23441
22967
|
/******/ /* webpack/runtime/make namespace object */
|
|
23442
22968
|
/******/ (() => {
|
|
23443
22969
|
/******/ // define __esModule on exports
|
|
@@ -23449,9 +22975,122 @@ function _typeof(o) {
|
|
|
23449
22975
|
/******/ };
|
|
23450
22976
|
/******/ })();
|
|
23451
22977
|
/******/
|
|
22978
|
+
/******/ /* webpack/runtime/publicPath */
|
|
22979
|
+
/******/ (() => {
|
|
22980
|
+
/******/ var scriptUrl;
|
|
22981
|
+
/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
|
|
22982
|
+
/******/ var document = __webpack_require__.g.document;
|
|
22983
|
+
/******/ if (!scriptUrl && document) {
|
|
22984
|
+
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
22985
|
+
/******/ scriptUrl = document.currentScript.src;
|
|
22986
|
+
/******/ if (!scriptUrl) {
|
|
22987
|
+
/******/ var scripts = document.getElementsByTagName("script");
|
|
22988
|
+
/******/ if(scripts.length) {
|
|
22989
|
+
/******/ var i = scripts.length - 1;
|
|
22990
|
+
/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
|
|
22991
|
+
/******/ }
|
|
22992
|
+
/******/ }
|
|
22993
|
+
/******/ }
|
|
22994
|
+
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
22995
|
+
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
22996
|
+
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
22997
|
+
/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
22998
|
+
/******/ __webpack_require__.p = scriptUrl;
|
|
22999
|
+
/******/ })();
|
|
23000
|
+
/******/
|
|
23001
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
23002
|
+
/******/ (() => {
|
|
23003
|
+
/******/ // no baseURI
|
|
23004
|
+
/******/
|
|
23005
|
+
/******/ // object to store loaded and loading chunks
|
|
23006
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
23007
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
23008
|
+
/******/ var installedChunks = {
|
|
23009
|
+
/******/ "main": 0
|
|
23010
|
+
/******/ };
|
|
23011
|
+
/******/
|
|
23012
|
+
/******/ __webpack_require__.f.j = (chunkId, promises) => {
|
|
23013
|
+
/******/ // JSONP chunk loading for javascript
|
|
23014
|
+
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
23015
|
+
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|
23016
|
+
/******/
|
|
23017
|
+
/******/ // a Promise means "currently loading".
|
|
23018
|
+
/******/ if(installedChunkData) {
|
|
23019
|
+
/******/ promises.push(installedChunkData[2]);
|
|
23020
|
+
/******/ } else {
|
|
23021
|
+
/******/ if(true) { // all chunks have JS
|
|
23022
|
+
/******/ // setup Promise in chunk cache
|
|
23023
|
+
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
|
|
23024
|
+
/******/ promises.push(installedChunkData[2] = promise);
|
|
23025
|
+
/******/
|
|
23026
|
+
/******/ // start chunk loading
|
|
23027
|
+
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
|
23028
|
+
/******/ // create error before stack unwound to get useful stacktrace later
|
|
23029
|
+
/******/ var error = new Error();
|
|
23030
|
+
/******/ var loadingEnded = (event) => {
|
|
23031
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
|
23032
|
+
/******/ installedChunkData = installedChunks[chunkId];
|
|
23033
|
+
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
|
23034
|
+
/******/ if(installedChunkData) {
|
|
23035
|
+
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
23036
|
+
/******/ var realSrc = event && event.target && event.target.src;
|
|
23037
|
+
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|
23038
|
+
/******/ error.name = 'ChunkLoadError';
|
|
23039
|
+
/******/ error.type = errorType;
|
|
23040
|
+
/******/ error.request = realSrc;
|
|
23041
|
+
/******/ installedChunkData[1](error);
|
|
23042
|
+
/******/ }
|
|
23043
|
+
/******/ }
|
|
23044
|
+
/******/ };
|
|
23045
|
+
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
|
23046
|
+
/******/ }
|
|
23047
|
+
/******/ }
|
|
23048
|
+
/******/ }
|
|
23049
|
+
/******/ };
|
|
23050
|
+
/******/
|
|
23051
|
+
/******/ // no prefetching
|
|
23052
|
+
/******/
|
|
23053
|
+
/******/ // no preloaded
|
|
23054
|
+
/******/
|
|
23055
|
+
/******/ // no HMR
|
|
23056
|
+
/******/
|
|
23057
|
+
/******/ // no HMR manifest
|
|
23058
|
+
/******/
|
|
23059
|
+
/******/ // no on chunks loaded
|
|
23060
|
+
/******/
|
|
23061
|
+
/******/ // install a JSONP callback for chunk loading
|
|
23062
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
23063
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
23064
|
+
/******/ // add "moreModules" to the modules object,
|
|
23065
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
23066
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
23067
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
23068
|
+
/******/ for(moduleId in moreModules) {
|
|
23069
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
23070
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
23071
|
+
/******/ }
|
|
23072
|
+
/******/ }
|
|
23073
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
23074
|
+
/******/ }
|
|
23075
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
23076
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
23077
|
+
/******/ chunkId = chunkIds[i];
|
|
23078
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
23079
|
+
/******/ installedChunks[chunkId][0]();
|
|
23080
|
+
/******/ }
|
|
23081
|
+
/******/ installedChunks[chunkId] = 0;
|
|
23082
|
+
/******/ }
|
|
23083
|
+
/******/
|
|
23084
|
+
/******/ }
|
|
23085
|
+
/******/
|
|
23086
|
+
/******/ var chunkLoadingGlobal = self["webpackChunk_itwin_core_i18n"] = self["webpackChunk_itwin_core_i18n"] || [];
|
|
23087
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
23088
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
23089
|
+
/******/ })();
|
|
23090
|
+
/******/
|
|
23452
23091
|
/************************************************************************/
|
|
23453
23092
|
var __webpack_exports__ = {};
|
|
23454
|
-
// This entry
|
|
23093
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
23455
23094
|
(() => {
|
|
23456
23095
|
"use strict";
|
|
23457
23096
|
var exports = __webpack_exports__;
|