@itwin/core-i18n 5.0.0-dev.90 → 5.0.0-dev.92
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/lib/cjs/ITwinLocalization.d.ts +1 -1
- package/lib/cjs/ITwinLocalization.d.ts.map +1 -1
- package/lib/cjs/ITwinLocalization.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +576 -1008
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +446 -878
- 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 -1
- package/lib/esm/ITwinLocalization.d.ts.map +1 -1
- package/lib/esm/ITwinLocalization.js.map +1 -1
- package/package.json +7 -7
|
@@ -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":
|
|
@@ -22262,7 +21698,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
22262
21698
|
exports.ITwinLocalization = void 0;
|
|
22263
21699
|
const i18next_1 = __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js"));
|
|
22264
21700
|
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"));
|
|
22265
|
-
const i18next_http_backend_1 = __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
21701
|
+
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"));
|
|
22266
21702
|
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js");
|
|
22267
21703
|
const DEFAULT_MAX_RETRIES = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
|
|
22268
21704
|
/** Supplies localizations for iTwin.js
|
|
@@ -22757,74 +22193,165 @@ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true,
|
|
|
22757
22193
|
|
|
22758
22194
|
/***/ }),
|
|
22759
22195
|
|
|
22760
|
-
/***/ "../../common/temp/node_modules/.pnpm
|
|
22761
|
-
|
|
22762
|
-
!*** ../../common/temp/node_modules/.pnpm
|
|
22763
|
-
|
|
22764
|
-
/***/ ((
|
|
22765
|
-
|
|
22766
|
-
var fetchApi
|
|
22767
|
-
if (typeof fetch === 'function') {
|
|
22768
|
-
if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.fetch) {
|
|
22769
|
-
fetchApi = __webpack_require__.g.fetch
|
|
22770
|
-
} else if (typeof window !== 'undefined' && window.fetch) {
|
|
22771
|
-
fetchApi = window.fetch
|
|
22772
|
-
} else {
|
|
22773
|
-
fetchApi = fetch
|
|
22774
|
-
}
|
|
22775
|
-
}
|
|
22196
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
22197
|
+
/*!*****************************************************************************************************************************!*\
|
|
22198
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
22199
|
+
\*****************************************************************************************************************************/
|
|
22200
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22776
22201
|
|
|
22777
|
-
|
|
22778
|
-
|
|
22779
|
-
|
|
22780
|
-
|
|
22781
|
-
|
|
22202
|
+
"use strict";
|
|
22203
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22204
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22205
|
+
/* harmony export */ "default": () => (/* binding */ _classCallCheck)
|
|
22206
|
+
/* harmony export */ });
|
|
22207
|
+
function _classCallCheck(a, n) {
|
|
22208
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
22782
22209
|
}
|
|
22783
22210
|
|
|
22784
22211
|
|
|
22785
22212
|
/***/ }),
|
|
22786
22213
|
|
|
22787
|
-
/***/ "../../common/temp/node_modules/.pnpm
|
|
22788
|
-
|
|
22789
|
-
!*** ../../common/temp/node_modules/.pnpm
|
|
22790
|
-
|
|
22791
|
-
/***/ ((
|
|
22214
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
22215
|
+
/*!**************************************************************************************************************************!*\
|
|
22216
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
22217
|
+
\**************************************************************************************************************************/
|
|
22218
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22792
22219
|
|
|
22793
22220
|
"use strict";
|
|
22221
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22222
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22223
|
+
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
22224
|
+
/* harmony export */ });
|
|
22225
|
+
/* 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");
|
|
22794
22226
|
|
|
22227
|
+
function _defineProperties(e, r) {
|
|
22228
|
+
for (var t = 0; t < r.length; t++) {
|
|
22229
|
+
var o = r[t];
|
|
22230
|
+
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);
|
|
22231
|
+
}
|
|
22232
|
+
}
|
|
22233
|
+
function _createClass(e, r, t) {
|
|
22234
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
22235
|
+
writable: !1
|
|
22236
|
+
}), e;
|
|
22237
|
+
}
|
|
22795
22238
|
|
|
22796
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
22797
|
-
value: true
|
|
22798
|
-
}));
|
|
22799
|
-
exports["default"] = void 0;
|
|
22800
|
-
|
|
22801
|
-
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");
|
|
22802
|
-
|
|
22803
|
-
var _request = _interopRequireDefault(__webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js"));
|
|
22804
|
-
|
|
22805
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22806
|
-
|
|
22807
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
22808
22239
|
|
|
22809
|
-
|
|
22240
|
+
/***/ }),
|
|
22810
22241
|
|
|
22811
|
-
|
|
22242
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
22243
|
+
/*!**************************************************************************************************************************!*\
|
|
22244
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
22245
|
+
\**************************************************************************************************************************/
|
|
22246
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22812
22247
|
|
|
22813
|
-
|
|
22248
|
+
"use strict";
|
|
22249
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22250
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22251
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
|
22252
|
+
/* harmony export */ });
|
|
22253
|
+
/* 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");
|
|
22814
22254
|
|
|
22815
|
-
|
|
22816
|
-
return
|
|
22817
|
-
|
|
22818
|
-
|
|
22819
|
-
|
|
22820
|
-
|
|
22255
|
+
function toPrimitive(t, r) {
|
|
22256
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
|
22257
|
+
var e = t[Symbol.toPrimitive];
|
|
22258
|
+
if (void 0 !== e) {
|
|
22259
|
+
var i = e.call(t, r || "default");
|
|
22260
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
|
22261
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22262
|
+
}
|
|
22263
|
+
return ("string" === r ? String : Number)(t);
|
|
22264
|
+
}
|
|
22265
|
+
|
|
22266
|
+
|
|
22267
|
+
/***/ }),
|
|
22268
|
+
|
|
22269
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
22270
|
+
/*!****************************************************************************************************************************!*\
|
|
22271
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
22272
|
+
\****************************************************************************************************************************/
|
|
22273
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22274
|
+
|
|
22275
|
+
"use strict";
|
|
22276
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22277
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22278
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
|
22279
|
+
/* harmony export */ });
|
|
22280
|
+
/* 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");
|
|
22281
|
+
/* 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");
|
|
22282
|
+
|
|
22283
|
+
|
|
22284
|
+
function toPropertyKey(t) {
|
|
22285
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
|
|
22286
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + "";
|
|
22287
|
+
}
|
|
22288
|
+
|
|
22289
|
+
|
|
22290
|
+
/***/ }),
|
|
22291
|
+
|
|
22292
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
22293
|
+
/*!*********************************************************************************************************************!*\
|
|
22294
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
22295
|
+
\*********************************************************************************************************************/
|
|
22296
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22297
|
+
|
|
22298
|
+
"use strict";
|
|
22299
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22300
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22301
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
22302
|
+
/* harmony export */ });
|
|
22303
|
+
function _typeof(o) {
|
|
22304
|
+
"@babel/helpers - typeof";
|
|
22305
|
+
|
|
22306
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
22307
|
+
return typeof o;
|
|
22308
|
+
} : function (o) {
|
|
22309
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
22310
|
+
}, _typeof(o);
|
|
22311
|
+
}
|
|
22312
|
+
|
|
22313
|
+
|
|
22314
|
+
/***/ }),
|
|
22315
|
+
|
|
22316
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js":
|
|
22317
|
+
/*!**********************************************************************************************************************!*\
|
|
22318
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js ***!
|
|
22319
|
+
\**********************************************************************************************************************/
|
|
22320
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
22321
|
+
|
|
22322
|
+
"use strict";
|
|
22323
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22324
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22325
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
22326
|
+
/* harmony export */ });
|
|
22327
|
+
/* 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");
|
|
22328
|
+
/* 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");
|
|
22329
|
+
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); }
|
|
22330
|
+
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; }
|
|
22331
|
+
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; }
|
|
22332
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
22333
|
+
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); } }
|
|
22334
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
22335
|
+
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; }
|
|
22336
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22337
|
+
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); }
|
|
22338
|
+
|
|
22339
|
+
|
|
22340
|
+
var getDefaults = function getDefaults() {
|
|
22341
|
+
return {
|
|
22342
|
+
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
22343
|
+
addPath: '/locales/add/{{lng}}/{{ns}}',
|
|
22344
|
+
parse: function parse(data) {
|
|
22821
22345
|
return JSON.parse(data);
|
|
22822
22346
|
},
|
|
22823
22347
|
stringify: JSON.stringify,
|
|
22824
22348
|
parsePayload: function parsePayload(namespace, key, fallbackValue) {
|
|
22825
22349
|
return _defineProperty({}, key, fallbackValue || '');
|
|
22826
22350
|
},
|
|
22827
|
-
|
|
22351
|
+
parseLoadPayload: function parseLoadPayload(languages, namespaces) {
|
|
22352
|
+
return undefined;
|
|
22353
|
+
},
|
|
22354
|
+
request: _request_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
22828
22355
|
reloadInterval: typeof window !== 'undefined' ? false : 60 * 60 * 1000,
|
|
22829
22356
|
customHeaders: {},
|
|
22830
22357
|
queryStringParams: {},
|
|
@@ -22838,36 +22365,31 @@ var getDefaults = function getDefaults() {
|
|
|
22838
22365
|
}
|
|
22839
22366
|
};
|
|
22840
22367
|
};
|
|
22841
|
-
|
|
22842
22368
|
var Backend = function () {
|
|
22843
22369
|
function Backend(services) {
|
|
22844
22370
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
22845
22371
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
22846
|
-
|
|
22847
22372
|
_classCallCheck(this, Backend);
|
|
22848
|
-
|
|
22849
22373
|
this.services = services;
|
|
22850
22374
|
this.options = options;
|
|
22851
22375
|
this.allOptions = allOptions;
|
|
22852
22376
|
this.type = 'backend';
|
|
22853
22377
|
this.init(services, options, allOptions);
|
|
22854
22378
|
}
|
|
22855
|
-
|
|
22856
|
-
_createClass(Backend, [{
|
|
22379
|
+
return _createClass(Backend, [{
|
|
22857
22380
|
key: "init",
|
|
22858
22381
|
value: function init(services) {
|
|
22859
22382
|
var _this = this;
|
|
22860
|
-
|
|
22861
22383
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
22862
22384
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
22863
22385
|
this.services = services;
|
|
22864
|
-
this.options = (
|
|
22386
|
+
this.options = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), this.options || {}), options);
|
|
22865
22387
|
this.allOptions = allOptions;
|
|
22866
|
-
|
|
22867
22388
|
if (this.services && this.options.reloadInterval) {
|
|
22868
|
-
setInterval(function () {
|
|
22389
|
+
var timer = setInterval(function () {
|
|
22869
22390
|
return _this.reload();
|
|
22870
22391
|
}, this.options.reloadInterval);
|
|
22392
|
+
if (_typeof(timer) === 'object' && typeof timer.unref === 'function') timer.unref();
|
|
22871
22393
|
}
|
|
22872
22394
|
}
|
|
22873
22395
|
}, {
|
|
@@ -22884,22 +22406,17 @@ var Backend = function () {
|
|
|
22884
22406
|
key: "_readAny",
|
|
22885
22407
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
22886
22408
|
var _this2 = this;
|
|
22887
|
-
|
|
22888
22409
|
var loadPath = this.options.loadPath;
|
|
22889
|
-
|
|
22890
22410
|
if (typeof this.options.loadPath === 'function') {
|
|
22891
22411
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
22892
22412
|
}
|
|
22893
|
-
|
|
22894
|
-
loadPath = (0, _utils.makePromise)(loadPath);
|
|
22413
|
+
loadPath = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.makePromise)(loadPath);
|
|
22895
22414
|
loadPath.then(function (resolvedLoadPath) {
|
|
22896
22415
|
if (!resolvedLoadPath) return callback(null, {});
|
|
22897
|
-
|
|
22898
22416
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
22899
22417
|
lng: languages.join('+'),
|
|
22900
22418
|
ns: namespaces.join('+')
|
|
22901
22419
|
});
|
|
22902
|
-
|
|
22903
22420
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
22904
22421
|
});
|
|
22905
22422
|
}
|
|
@@ -22907,14 +22424,23 @@ var Backend = function () {
|
|
|
22907
22424
|
key: "loadUrl",
|
|
22908
22425
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
22909
22426
|
var _this3 = this;
|
|
22910
|
-
|
|
22911
|
-
|
|
22427
|
+
var lng = typeof languages === 'string' ? [languages] : languages;
|
|
22428
|
+
var ns = typeof namespaces === 'string' ? [namespaces] : namespaces;
|
|
22429
|
+
var payload = this.options.parseLoadPayload(lng, ns);
|
|
22430
|
+
this.options.request(this.options, url, payload, function (err, res) {
|
|
22912
22431
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
22913
22432
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
22914
|
-
if (!res && err && err.message
|
|
22433
|
+
if (!res && err && err.message) {
|
|
22434
|
+
var errorMessage = err.message.toLowerCase();
|
|
22435
|
+
var isNetworkError = ['failed', 'fetch', 'network', 'load'].find(function (term) {
|
|
22436
|
+
return errorMessage.indexOf(term) > -1;
|
|
22437
|
+
});
|
|
22438
|
+
if (isNetworkError) {
|
|
22439
|
+
return callback('failed loading ' + url + ': ' + err.message, true);
|
|
22440
|
+
}
|
|
22441
|
+
}
|
|
22915
22442
|
if (err) return callback(err, false);
|
|
22916
22443
|
var ret, parseErr;
|
|
22917
|
-
|
|
22918
22444
|
try {
|
|
22919
22445
|
if (typeof res.data === 'string') {
|
|
22920
22446
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -22924,7 +22450,6 @@ var Backend = function () {
|
|
|
22924
22450
|
} catch (e) {
|
|
22925
22451
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
22926
22452
|
}
|
|
22927
|
-
|
|
22928
22453
|
if (parseErr) return callback(parseErr, false);
|
|
22929
22454
|
callback(null, ret);
|
|
22930
22455
|
});
|
|
@@ -22933,7 +22458,6 @@ var Backend = function () {
|
|
|
22933
22458
|
key: "create",
|
|
22934
22459
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
22935
22460
|
var _this4 = this;
|
|
22936
|
-
|
|
22937
22461
|
if (!this.options.addPath) return;
|
|
22938
22462
|
if (typeof languages === 'string') languages = [languages];
|
|
22939
22463
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -22942,23 +22466,19 @@ var Backend = function () {
|
|
|
22942
22466
|
var resArray = [];
|
|
22943
22467
|
languages.forEach(function (lng) {
|
|
22944
22468
|
var addPath = _this4.options.addPath;
|
|
22945
|
-
|
|
22946
22469
|
if (typeof _this4.options.addPath === 'function') {
|
|
22947
22470
|
addPath = _this4.options.addPath(lng, namespace);
|
|
22948
22471
|
}
|
|
22949
|
-
|
|
22950
22472
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
22951
22473
|
lng: lng,
|
|
22952
22474
|
ns: namespace
|
|
22953
22475
|
});
|
|
22954
|
-
|
|
22955
22476
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
22956
22477
|
finished += 1;
|
|
22957
22478
|
dataArray.push(data);
|
|
22958
22479
|
resArray.push(res);
|
|
22959
|
-
|
|
22960
22480
|
if (finished === languages.length) {
|
|
22961
|
-
if (callback) callback(dataArray, resArray);
|
|
22481
|
+
if (typeof callback === 'function') callback(dataArray, resArray);
|
|
22962
22482
|
}
|
|
22963
22483
|
});
|
|
22964
22484
|
});
|
|
@@ -22967,22 +22487,19 @@ var Backend = function () {
|
|
|
22967
22487
|
key: "reload",
|
|
22968
22488
|
value: function reload() {
|
|
22969
22489
|
var _this5 = this;
|
|
22970
|
-
|
|
22971
22490
|
var _this$services = this.services,
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22491
|
+
backendConnector = _this$services.backendConnector,
|
|
22492
|
+
languageUtils = _this$services.languageUtils,
|
|
22493
|
+
logger = _this$services.logger;
|
|
22975
22494
|
var currentLanguage = backendConnector.language;
|
|
22976
22495
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
22977
22496
|
var toLoad = [];
|
|
22978
|
-
|
|
22979
22497
|
var append = function append(lng) {
|
|
22980
22498
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
22981
22499
|
lngs.forEach(function (l) {
|
|
22982
22500
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
22983
22501
|
});
|
|
22984
22502
|
};
|
|
22985
|
-
|
|
22986
22503
|
append(currentLanguage);
|
|
22987
22504
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
22988
22505
|
return append(l);
|
|
@@ -22998,93 +22515,74 @@ var Backend = function () {
|
|
|
22998
22515
|
});
|
|
22999
22516
|
}
|
|
23000
22517
|
}]);
|
|
23001
|
-
|
|
23002
|
-
return Backend;
|
|
23003
22518
|
}();
|
|
23004
|
-
|
|
23005
22519
|
Backend.type = 'backend';
|
|
23006
|
-
|
|
23007
|
-
exports["default"] = _default;
|
|
23008
|
-
module.exports = exports.default;
|
|
22520
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backend);
|
|
23009
22521
|
|
|
23010
22522
|
/***/ }),
|
|
23011
22523
|
|
|
23012
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22524
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js":
|
|
23013
22525
|
/*!************************************************************************************************************************!*\
|
|
23014
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22526
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js ***!
|
|
23015
22527
|
\************************************************************************************************************************/
|
|
23016
|
-
/***/ ((
|
|
22528
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23017
22529
|
|
|
23018
22530
|
"use strict";
|
|
23019
|
-
|
|
23020
|
-
|
|
23021
|
-
|
|
23022
|
-
|
|
23023
|
-
|
|
23024
|
-
|
|
23025
|
-
|
|
23026
|
-
|
|
23027
|
-
|
|
23028
|
-
var
|
|
23029
|
-
|
|
23030
|
-
|
|
23031
|
-
|
|
23032
|
-
|
|
23033
|
-
|
|
23034
|
-
|
|
23035
|
-
|
|
23036
|
-
var fetchApi;
|
|
23037
|
-
|
|
23038
|
-
if (typeof fetch === 'function') {
|
|
23039
|
-
if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.fetch) {
|
|
23040
|
-
fetchApi = __webpack_require__.g.fetch;
|
|
23041
|
-
} else if (typeof window !== 'undefined' && window.fetch) {
|
|
23042
|
-
fetchApi = window.fetch;
|
|
23043
|
-
} else {
|
|
23044
|
-
fetchApi = fetch;
|
|
23045
|
-
}
|
|
22531
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22532
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22533
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
22534
|
+
/* harmony export */ });
|
|
22535
|
+
/* 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");
|
|
22536
|
+
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; }
|
|
22537
|
+
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; }
|
|
22538
|
+
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; }
|
|
22539
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22540
|
+
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); }
|
|
22541
|
+
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); }
|
|
22542
|
+
|
|
22543
|
+
var fetchApi = typeof fetch === 'function' ? fetch : undefined;
|
|
22544
|
+
if (typeof global !== 'undefined' && global.fetch) {
|
|
22545
|
+
fetchApi = global.fetch;
|
|
22546
|
+
} else if (typeof window !== 'undefined' && window.fetch) {
|
|
22547
|
+
fetchApi = window.fetch;
|
|
23046
22548
|
}
|
|
23047
|
-
|
|
23048
22549
|
var XmlHttpRequestApi;
|
|
23049
|
-
|
|
23050
|
-
if (
|
|
23051
|
-
|
|
23052
|
-
XmlHttpRequestApi = __webpack_require__.g.XMLHttpRequest;
|
|
22550
|
+
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
22551
|
+
if (typeof global !== 'undefined' && global.XMLHttpRequest) {
|
|
22552
|
+
XmlHttpRequestApi = global.XMLHttpRequest;
|
|
23053
22553
|
} else if (typeof window !== 'undefined' && window.XMLHttpRequest) {
|
|
23054
22554
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
23055
22555
|
}
|
|
23056
22556
|
}
|
|
23057
|
-
|
|
23058
22557
|
var ActiveXObjectApi;
|
|
23059
|
-
|
|
23060
22558
|
if (typeof ActiveXObject === 'function') {
|
|
23061
|
-
if (typeof
|
|
23062
|
-
ActiveXObjectApi =
|
|
22559
|
+
if (typeof global !== 'undefined' && global.ActiveXObject) {
|
|
22560
|
+
ActiveXObjectApi = global.ActiveXObject;
|
|
23063
22561
|
} else if (typeof window !== 'undefined' && window.ActiveXObject) {
|
|
23064
22562
|
ActiveXObjectApi = window.ActiveXObject;
|
|
23065
22563
|
}
|
|
23066
22564
|
}
|
|
23067
|
-
|
|
23068
|
-
if (!fetchApi && fetchNode && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = fetchNode.default || fetchNode;
|
|
23069
22565
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
23070
|
-
|
|
22566
|
+
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
22567
|
+
try {
|
|
22568
|
+
__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) {
|
|
22569
|
+
fetchApi = mod.default;
|
|
22570
|
+
}).catch(function () {});
|
|
22571
|
+
} catch (e) {}
|
|
22572
|
+
}
|
|
23071
22573
|
var addQueryString = function addQueryString(url, params) {
|
|
23072
22574
|
if (params && _typeof(params) === 'object') {
|
|
23073
22575
|
var queryString = '';
|
|
23074
|
-
|
|
23075
22576
|
for (var paramName in params) {
|
|
23076
22577
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
23077
22578
|
}
|
|
23078
|
-
|
|
23079
22579
|
if (!queryString) return url;
|
|
23080
22580
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
23081
22581
|
}
|
|
23082
|
-
|
|
23083
22582
|
return url;
|
|
23084
22583
|
};
|
|
23085
|
-
|
|
23086
|
-
var
|
|
23087
|
-
fetchApi(url, fetchOptions).then(function (response) {
|
|
22584
|
+
var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
|
|
22585
|
+
var resolver = function resolver(response) {
|
|
23088
22586
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
23089
22587
|
status: response.status
|
|
23090
22588
|
});
|
|
@@ -23094,147 +22592,127 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
23094
22592
|
data: data
|
|
23095
22593
|
});
|
|
23096
22594
|
}).catch(callback);
|
|
23097
|
-
}
|
|
22595
|
+
};
|
|
22596
|
+
if (altFetch) {
|
|
22597
|
+
var altResponse = altFetch(url, fetchOptions);
|
|
22598
|
+
if (altResponse instanceof Promise) {
|
|
22599
|
+
altResponse.then(resolver).catch(callback);
|
|
22600
|
+
return;
|
|
22601
|
+
}
|
|
22602
|
+
}
|
|
22603
|
+
if (typeof fetch === 'function') {
|
|
22604
|
+
fetch(url, fetchOptions).then(resolver).catch(callback);
|
|
22605
|
+
} else {
|
|
22606
|
+
fetchApi(url, fetchOptions).then(resolver).catch(callback);
|
|
22607
|
+
}
|
|
23098
22608
|
};
|
|
23099
|
-
|
|
23100
22609
|
var omitFetchOptions = false;
|
|
23101
|
-
|
|
23102
22610
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
23103
22611
|
if (options.queryStringParams) {
|
|
23104
22612
|
url = addQueryString(url, options.queryStringParams);
|
|
23105
22613
|
}
|
|
23106
|
-
|
|
23107
|
-
|
|
22614
|
+
var headers = _objectSpread({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
22615
|
+
if (typeof window === 'undefined' && typeof global !== 'undefined' && typeof global.process !== 'undefined' && global.process.versions && global.process.versions.node) {
|
|
22616
|
+
headers['User-Agent'] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")");
|
|
22617
|
+
}
|
|
23108
22618
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
23109
22619
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
23110
|
-
var fetchOptions = (
|
|
22620
|
+
var fetchOptions = _objectSpread({
|
|
23111
22621
|
method: payload ? 'POST' : 'GET',
|
|
23112
22622
|
body: payload ? options.stringify(payload) : undefined,
|
|
23113
22623
|
headers: headers
|
|
23114
22624
|
}, omitFetchOptions ? {} : reqOptions);
|
|
23115
|
-
|
|
22625
|
+
var altFetch = typeof options.alternateFetch === 'function' && options.alternateFetch.length >= 1 ? options.alternateFetch : undefined;
|
|
23116
22626
|
try {
|
|
23117
|
-
fetchIt(url, fetchOptions, callback);
|
|
22627
|
+
fetchIt(url, fetchOptions, callback, altFetch);
|
|
23118
22628
|
} catch (e) {
|
|
23119
22629
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
23120
22630
|
return callback(e);
|
|
23121
22631
|
}
|
|
23122
|
-
|
|
23123
22632
|
try {
|
|
23124
22633
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
23125
22634
|
delete fetchOptions[opt];
|
|
23126
22635
|
});
|
|
23127
|
-
fetchIt(url, fetchOptions, callback);
|
|
22636
|
+
fetchIt(url, fetchOptions, callback, altFetch);
|
|
23128
22637
|
omitFetchOptions = true;
|
|
23129
22638
|
} catch (err) {
|
|
23130
22639
|
callback(err);
|
|
23131
22640
|
}
|
|
23132
22641
|
}
|
|
23133
22642
|
};
|
|
23134
|
-
|
|
23135
22643
|
var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url, payload, callback) {
|
|
23136
22644
|
if (payload && _typeof(payload) === 'object') {
|
|
23137
22645
|
payload = addQueryString('', payload).slice(1);
|
|
23138
22646
|
}
|
|
23139
|
-
|
|
23140
22647
|
if (options.queryStringParams) {
|
|
23141
22648
|
url = addQueryString(url, options.queryStringParams);
|
|
23142
22649
|
}
|
|
23143
|
-
|
|
23144
22650
|
try {
|
|
23145
|
-
var x;
|
|
23146
|
-
|
|
23147
|
-
if (XmlHttpRequestApi) {
|
|
23148
|
-
x = new XmlHttpRequestApi();
|
|
23149
|
-
} else {
|
|
23150
|
-
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
23151
|
-
}
|
|
23152
|
-
|
|
22651
|
+
var x = XmlHttpRequestApi ? new XmlHttpRequestApi() : new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
23153
22652
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
23154
|
-
|
|
23155
22653
|
if (!options.crossDomain) {
|
|
23156
22654
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
23157
22655
|
}
|
|
23158
|
-
|
|
23159
22656
|
x.withCredentials = !!options.withCredentials;
|
|
23160
|
-
|
|
23161
22657
|
if (payload) {
|
|
23162
22658
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
23163
22659
|
}
|
|
23164
|
-
|
|
23165
22660
|
if (x.overrideMimeType) {
|
|
23166
22661
|
x.overrideMimeType('application/json');
|
|
23167
22662
|
}
|
|
23168
|
-
|
|
23169
22663
|
var h = options.customHeaders;
|
|
23170
22664
|
h = typeof h === 'function' ? h() : h;
|
|
23171
|
-
|
|
23172
22665
|
if (h) {
|
|
23173
22666
|
for (var i in h) {
|
|
23174
22667
|
x.setRequestHeader(i, h[i]);
|
|
23175
22668
|
}
|
|
23176
22669
|
}
|
|
23177
|
-
|
|
23178
22670
|
x.onreadystatechange = function () {
|
|
23179
22671
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
23180
22672
|
status: x.status,
|
|
23181
22673
|
data: x.responseText
|
|
23182
22674
|
});
|
|
23183
22675
|
};
|
|
23184
|
-
|
|
23185
22676
|
x.send(payload);
|
|
23186
22677
|
} catch (e) {
|
|
23187
22678
|
console && console.log(e);
|
|
23188
22679
|
}
|
|
23189
22680
|
};
|
|
23190
|
-
|
|
23191
22681
|
var request = function request(options, url, payload, callback) {
|
|
23192
22682
|
if (typeof payload === 'function') {
|
|
23193
22683
|
callback = payload;
|
|
23194
22684
|
payload = undefined;
|
|
23195
22685
|
}
|
|
23196
|
-
|
|
23197
22686
|
callback = callback || function () {};
|
|
23198
|
-
|
|
23199
|
-
if (fetchApi) {
|
|
22687
|
+
if (fetchApi && url.indexOf('file:') !== 0) {
|
|
23200
22688
|
return requestWithFetch(options, url, payload, callback);
|
|
23201
22689
|
}
|
|
23202
|
-
|
|
23203
|
-
if ((0, _utils.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
22690
|
+
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
23204
22691
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
23205
22692
|
}
|
|
23206
|
-
|
|
23207
22693
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
23208
22694
|
};
|
|
23209
|
-
|
|
23210
|
-
var _default = request;
|
|
23211
|
-
exports["default"] = _default;
|
|
23212
|
-
module.exports = exports.default;
|
|
22695
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);
|
|
23213
22696
|
|
|
23214
22697
|
/***/ }),
|
|
23215
22698
|
|
|
23216
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22699
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js":
|
|
23217
22700
|
/*!**********************************************************************************************************************!*\
|
|
23218
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@
|
|
22701
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js ***!
|
|
23219
22702
|
\**********************************************************************************************************************/
|
|
23220
|
-
/***/ ((
|
|
22703
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23221
22704
|
|
|
23222
22705
|
"use strict";
|
|
23223
|
-
|
|
23224
|
-
|
|
23225
|
-
|
|
23226
|
-
|
|
23227
|
-
|
|
23228
|
-
|
|
23229
|
-
|
|
23230
|
-
exports.makePromise = makePromise;
|
|
23231
|
-
|
|
23232
|
-
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); }
|
|
23233
|
-
|
|
22706
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22707
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22708
|
+
/* harmony export */ defaults: () => (/* binding */ defaults),
|
|
22709
|
+
/* harmony export */ hasXMLHttpRequest: () => (/* binding */ hasXMLHttpRequest),
|
|
22710
|
+
/* harmony export */ makePromise: () => (/* binding */ makePromise)
|
|
22711
|
+
/* harmony export */ });
|
|
22712
|
+
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); }
|
|
23234
22713
|
var arr = [];
|
|
23235
22714
|
var each = arr.forEach;
|
|
23236
22715
|
var slice = arr.slice;
|
|
23237
|
-
|
|
23238
22716
|
function defaults(obj) {
|
|
23239
22717
|
each.call(slice.call(arguments, 1), function (source) {
|
|
23240
22718
|
if (source) {
|
|
@@ -23245,143 +22723,19 @@ function defaults(obj) {
|
|
|
23245
22723
|
});
|
|
23246
22724
|
return obj;
|
|
23247
22725
|
}
|
|
23248
|
-
|
|
23249
22726
|
function hasXMLHttpRequest() {
|
|
23250
22727
|
return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) === 'object';
|
|
23251
22728
|
}
|
|
23252
|
-
|
|
23253
22729
|
function isPromise(maybePromise) {
|
|
23254
22730
|
return !!maybePromise && typeof maybePromise.then === 'function';
|
|
23255
22731
|
}
|
|
23256
|
-
|
|
23257
22732
|
function makePromise(maybePromise) {
|
|
23258
22733
|
if (isPromise(maybePromise)) {
|
|
23259
22734
|
return maybePromise;
|
|
23260
22735
|
}
|
|
23261
|
-
|
|
23262
22736
|
return Promise.resolve(maybePromise);
|
|
23263
22737
|
}
|
|
23264
22738
|
|
|
23265
|
-
/***/ }),
|
|
23266
|
-
|
|
23267
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
23268
|
-
/*!*****************************************************************************************************************************!*\
|
|
23269
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
23270
|
-
\*****************************************************************************************************************************/
|
|
23271
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23272
|
-
|
|
23273
|
-
"use strict";
|
|
23274
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23275
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23276
|
-
/* harmony export */ "default": () => (/* binding */ _classCallCheck)
|
|
23277
|
-
/* harmony export */ });
|
|
23278
|
-
function _classCallCheck(a, n) {
|
|
23279
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
23280
|
-
}
|
|
23281
|
-
|
|
23282
|
-
|
|
23283
|
-
/***/ }),
|
|
23284
|
-
|
|
23285
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
23286
|
-
/*!**************************************************************************************************************************!*\
|
|
23287
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
23288
|
-
\**************************************************************************************************************************/
|
|
23289
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23290
|
-
|
|
23291
|
-
"use strict";
|
|
23292
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23293
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23294
|
-
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
23295
|
-
/* harmony export */ });
|
|
23296
|
-
/* 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");
|
|
23297
|
-
|
|
23298
|
-
function _defineProperties(e, r) {
|
|
23299
|
-
for (var t = 0; t < r.length; t++) {
|
|
23300
|
-
var o = r[t];
|
|
23301
|
-
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);
|
|
23302
|
-
}
|
|
23303
|
-
}
|
|
23304
|
-
function _createClass(e, r, t) {
|
|
23305
|
-
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
23306
|
-
writable: !1
|
|
23307
|
-
}), e;
|
|
23308
|
-
}
|
|
23309
|
-
|
|
23310
|
-
|
|
23311
|
-
/***/ }),
|
|
23312
|
-
|
|
23313
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
23314
|
-
/*!**************************************************************************************************************************!*\
|
|
23315
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
23316
|
-
\**************************************************************************************************************************/
|
|
23317
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23318
|
-
|
|
23319
|
-
"use strict";
|
|
23320
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23321
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23322
|
-
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
|
23323
|
-
/* harmony export */ });
|
|
23324
|
-
/* 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");
|
|
23325
|
-
|
|
23326
|
-
function toPrimitive(t, r) {
|
|
23327
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
|
23328
|
-
var e = t[Symbol.toPrimitive];
|
|
23329
|
-
if (void 0 !== e) {
|
|
23330
|
-
var i = e.call(t, r || "default");
|
|
23331
|
-
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
|
23332
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23333
|
-
}
|
|
23334
|
-
return ("string" === r ? String : Number)(t);
|
|
23335
|
-
}
|
|
23336
|
-
|
|
23337
|
-
|
|
23338
|
-
/***/ }),
|
|
23339
|
-
|
|
23340
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
23341
|
-
/*!****************************************************************************************************************************!*\
|
|
23342
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
23343
|
-
\****************************************************************************************************************************/
|
|
23344
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23345
|
-
|
|
23346
|
-
"use strict";
|
|
23347
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23348
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23349
|
-
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
|
23350
|
-
/* harmony export */ });
|
|
23351
|
-
/* 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");
|
|
23352
|
-
/* 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");
|
|
23353
|
-
|
|
23354
|
-
|
|
23355
|
-
function toPropertyKey(t) {
|
|
23356
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
|
|
23357
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + "";
|
|
23358
|
-
}
|
|
23359
|
-
|
|
23360
|
-
|
|
23361
|
-
/***/ }),
|
|
23362
|
-
|
|
23363
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
23364
|
-
/*!*********************************************************************************************************************!*\
|
|
23365
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.10/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
23366
|
-
\*********************************************************************************************************************/
|
|
23367
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
23368
|
-
|
|
23369
|
-
"use strict";
|
|
23370
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23371
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23372
|
-
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
23373
|
-
/* harmony export */ });
|
|
23374
|
-
function _typeof(o) {
|
|
23375
|
-
"@babel/helpers - typeof";
|
|
23376
|
-
|
|
23377
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
23378
|
-
return typeof o;
|
|
23379
|
-
} : function (o) {
|
|
23380
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
23381
|
-
}, _typeof(o);
|
|
23382
|
-
}
|
|
23383
|
-
|
|
23384
|
-
|
|
23385
22739
|
/***/ })
|
|
23386
22740
|
|
|
23387
22741
|
/******/ });
|
|
@@ -23410,7 +22764,40 @@ function _typeof(o) {
|
|
|
23410
22764
|
/******/ return module.exports;
|
|
23411
22765
|
/******/ }
|
|
23412
22766
|
/******/
|
|
22767
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
22768
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
22769
|
+
/******/
|
|
23413
22770
|
/************************************************************************/
|
|
22771
|
+
/******/ /* webpack/runtime/create fake namespace object */
|
|
22772
|
+
/******/ (() => {
|
|
22773
|
+
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
22774
|
+
/******/ var leafPrototypes;
|
|
22775
|
+
/******/ // create a fake namespace object
|
|
22776
|
+
/******/ // mode & 1: value is a module id, require it
|
|
22777
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
22778
|
+
/******/ // mode & 4: return value when already ns object
|
|
22779
|
+
/******/ // mode & 16: return value when it's Promise-like
|
|
22780
|
+
/******/ // mode & 8|1: behave like require
|
|
22781
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
22782
|
+
/******/ if(mode & 1) value = this(value);
|
|
22783
|
+
/******/ if(mode & 8) return value;
|
|
22784
|
+
/******/ if(typeof value === 'object' && value) {
|
|
22785
|
+
/******/ if((mode & 4) && value.__esModule) return value;
|
|
22786
|
+
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
22787
|
+
/******/ }
|
|
22788
|
+
/******/ var ns = Object.create(null);
|
|
22789
|
+
/******/ __webpack_require__.r(ns);
|
|
22790
|
+
/******/ var def = {};
|
|
22791
|
+
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
22792
|
+
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
22793
|
+
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
22794
|
+
/******/ }
|
|
22795
|
+
/******/ def['default'] = () => (value);
|
|
22796
|
+
/******/ __webpack_require__.d(ns, def);
|
|
22797
|
+
/******/ return ns;
|
|
22798
|
+
/******/ };
|
|
22799
|
+
/******/ })();
|
|
22800
|
+
/******/
|
|
23414
22801
|
/******/ /* webpack/runtime/define property getters */
|
|
23415
22802
|
/******/ (() => {
|
|
23416
22803
|
/******/ // define getter functions for harmony exports
|
|
@@ -23423,6 +22810,28 @@ function _typeof(o) {
|
|
|
23423
22810
|
/******/ };
|
|
23424
22811
|
/******/ })();
|
|
23425
22812
|
/******/
|
|
22813
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
22814
|
+
/******/ (() => {
|
|
22815
|
+
/******/ __webpack_require__.f = {};
|
|
22816
|
+
/******/ // This file contains only the entry chunk.
|
|
22817
|
+
/******/ // The chunk loading function for additional chunks
|
|
22818
|
+
/******/ __webpack_require__.e = (chunkId) => {
|
|
22819
|
+
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
22820
|
+
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
22821
|
+
/******/ return promises;
|
|
22822
|
+
/******/ }, []));
|
|
22823
|
+
/******/ };
|
|
22824
|
+
/******/ })();
|
|
22825
|
+
/******/
|
|
22826
|
+
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
22827
|
+
/******/ (() => {
|
|
22828
|
+
/******/ // This function allow to reference async chunks
|
|
22829
|
+
/******/ __webpack_require__.u = (chunkId) => {
|
|
22830
|
+
/******/ // return url for filenames based on template
|
|
22831
|
+
/******/ return "" + chunkId + ".bundled-tests.js";
|
|
22832
|
+
/******/ };
|
|
22833
|
+
/******/ })();
|
|
22834
|
+
/******/
|
|
23426
22835
|
/******/ /* webpack/runtime/global */
|
|
23427
22836
|
/******/ (() => {
|
|
23428
22837
|
/******/ __webpack_require__.g = (function() {
|
|
@@ -23440,6 +22849,52 @@ function _typeof(o) {
|
|
|
23440
22849
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
23441
22850
|
/******/ })();
|
|
23442
22851
|
/******/
|
|
22852
|
+
/******/ /* webpack/runtime/load script */
|
|
22853
|
+
/******/ (() => {
|
|
22854
|
+
/******/ var inProgress = {};
|
|
22855
|
+
/******/ var dataWebpackPrefix = "@itwin/core-i18n:";
|
|
22856
|
+
/******/ // loadScript function to load a script via script tag
|
|
22857
|
+
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
|
|
22858
|
+
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
|
22859
|
+
/******/ var script, needAttach;
|
|
22860
|
+
/******/ if(key !== undefined) {
|
|
22861
|
+
/******/ var scripts = document.getElementsByTagName("script");
|
|
22862
|
+
/******/ for(var i = 0; i < scripts.length; i++) {
|
|
22863
|
+
/******/ var s = scripts[i];
|
|
22864
|
+
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
|
22865
|
+
/******/ }
|
|
22866
|
+
/******/ }
|
|
22867
|
+
/******/ if(!script) {
|
|
22868
|
+
/******/ needAttach = true;
|
|
22869
|
+
/******/ script = document.createElement('script');
|
|
22870
|
+
/******/
|
|
22871
|
+
/******/ script.charset = 'utf-8';
|
|
22872
|
+
/******/ script.timeout = 120;
|
|
22873
|
+
/******/ if (__webpack_require__.nc) {
|
|
22874
|
+
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
|
22875
|
+
/******/ }
|
|
22876
|
+
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
|
22877
|
+
/******/
|
|
22878
|
+
/******/ script.src = url;
|
|
22879
|
+
/******/ }
|
|
22880
|
+
/******/ inProgress[url] = [done];
|
|
22881
|
+
/******/ var onScriptComplete = (prev, event) => {
|
|
22882
|
+
/******/ // avoid mem leaks in IE.
|
|
22883
|
+
/******/ script.onerror = script.onload = null;
|
|
22884
|
+
/******/ clearTimeout(timeout);
|
|
22885
|
+
/******/ var doneFns = inProgress[url];
|
|
22886
|
+
/******/ delete inProgress[url];
|
|
22887
|
+
/******/ script.parentNode && script.parentNode.removeChild(script);
|
|
22888
|
+
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
|
|
22889
|
+
/******/ if(prev) return prev(event);
|
|
22890
|
+
/******/ }
|
|
22891
|
+
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
|
22892
|
+
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
|
22893
|
+
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
|
22894
|
+
/******/ needAttach && document.head.appendChild(script);
|
|
22895
|
+
/******/ };
|
|
22896
|
+
/******/ })();
|
|
22897
|
+
/******/
|
|
23443
22898
|
/******/ /* webpack/runtime/make namespace object */
|
|
23444
22899
|
/******/ (() => {
|
|
23445
22900
|
/******/ // define __esModule on exports
|
|
@@ -23451,6 +22906,119 @@ function _typeof(o) {
|
|
|
23451
22906
|
/******/ };
|
|
23452
22907
|
/******/ })();
|
|
23453
22908
|
/******/
|
|
22909
|
+
/******/ /* webpack/runtime/publicPath */
|
|
22910
|
+
/******/ (() => {
|
|
22911
|
+
/******/ var scriptUrl;
|
|
22912
|
+
/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
|
|
22913
|
+
/******/ var document = __webpack_require__.g.document;
|
|
22914
|
+
/******/ if (!scriptUrl && document) {
|
|
22915
|
+
/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
|
|
22916
|
+
/******/ scriptUrl = document.currentScript.src;
|
|
22917
|
+
/******/ if (!scriptUrl) {
|
|
22918
|
+
/******/ var scripts = document.getElementsByTagName("script");
|
|
22919
|
+
/******/ if(scripts.length) {
|
|
22920
|
+
/******/ var i = scripts.length - 1;
|
|
22921
|
+
/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
|
|
22922
|
+
/******/ }
|
|
22923
|
+
/******/ }
|
|
22924
|
+
/******/ }
|
|
22925
|
+
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
22926
|
+
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
22927
|
+
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
22928
|
+
/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
22929
|
+
/******/ __webpack_require__.p = scriptUrl;
|
|
22930
|
+
/******/ })();
|
|
22931
|
+
/******/
|
|
22932
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
22933
|
+
/******/ (() => {
|
|
22934
|
+
/******/ // no baseURI
|
|
22935
|
+
/******/
|
|
22936
|
+
/******/ // object to store loaded and loading chunks
|
|
22937
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
22938
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
22939
|
+
/******/ var installedChunks = {
|
|
22940
|
+
/******/ "main": 0
|
|
22941
|
+
/******/ };
|
|
22942
|
+
/******/
|
|
22943
|
+
/******/ __webpack_require__.f.j = (chunkId, promises) => {
|
|
22944
|
+
/******/ // JSONP chunk loading for javascript
|
|
22945
|
+
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
22946
|
+
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
|
22947
|
+
/******/
|
|
22948
|
+
/******/ // a Promise means "currently loading".
|
|
22949
|
+
/******/ if(installedChunkData) {
|
|
22950
|
+
/******/ promises.push(installedChunkData[2]);
|
|
22951
|
+
/******/ } else {
|
|
22952
|
+
/******/ if(true) { // all chunks have JS
|
|
22953
|
+
/******/ // setup Promise in chunk cache
|
|
22954
|
+
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
|
|
22955
|
+
/******/ promises.push(installedChunkData[2] = promise);
|
|
22956
|
+
/******/
|
|
22957
|
+
/******/ // start chunk loading
|
|
22958
|
+
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
|
22959
|
+
/******/ // create error before stack unwound to get useful stacktrace later
|
|
22960
|
+
/******/ var error = new Error();
|
|
22961
|
+
/******/ var loadingEnded = (event) => {
|
|
22962
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
|
22963
|
+
/******/ installedChunkData = installedChunks[chunkId];
|
|
22964
|
+
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
|
22965
|
+
/******/ if(installedChunkData) {
|
|
22966
|
+
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
22967
|
+
/******/ var realSrc = event && event.target && event.target.src;
|
|
22968
|
+
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
|
22969
|
+
/******/ error.name = 'ChunkLoadError';
|
|
22970
|
+
/******/ error.type = errorType;
|
|
22971
|
+
/******/ error.request = realSrc;
|
|
22972
|
+
/******/ installedChunkData[1](error);
|
|
22973
|
+
/******/ }
|
|
22974
|
+
/******/ }
|
|
22975
|
+
/******/ };
|
|
22976
|
+
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
|
22977
|
+
/******/ }
|
|
22978
|
+
/******/ }
|
|
22979
|
+
/******/ }
|
|
22980
|
+
/******/ };
|
|
22981
|
+
/******/
|
|
22982
|
+
/******/ // no prefetching
|
|
22983
|
+
/******/
|
|
22984
|
+
/******/ // no preloaded
|
|
22985
|
+
/******/
|
|
22986
|
+
/******/ // no HMR
|
|
22987
|
+
/******/
|
|
22988
|
+
/******/ // no HMR manifest
|
|
22989
|
+
/******/
|
|
22990
|
+
/******/ // no on chunks loaded
|
|
22991
|
+
/******/
|
|
22992
|
+
/******/ // install a JSONP callback for chunk loading
|
|
22993
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
22994
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
22995
|
+
/******/ // add "moreModules" to the modules object,
|
|
22996
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
22997
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
22998
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
22999
|
+
/******/ for(moduleId in moreModules) {
|
|
23000
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
23001
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
23002
|
+
/******/ }
|
|
23003
|
+
/******/ }
|
|
23004
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
23005
|
+
/******/ }
|
|
23006
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
23007
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
23008
|
+
/******/ chunkId = chunkIds[i];
|
|
23009
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
23010
|
+
/******/ installedChunks[chunkId][0]();
|
|
23011
|
+
/******/ }
|
|
23012
|
+
/******/ installedChunks[chunkId] = 0;
|
|
23013
|
+
/******/ }
|
|
23014
|
+
/******/
|
|
23015
|
+
/******/ }
|
|
23016
|
+
/******/
|
|
23017
|
+
/******/ var chunkLoadingGlobal = self["webpackChunk_itwin_core_i18n"] = self["webpackChunk_itwin_core_i18n"] || [];
|
|
23018
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
23019
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
23020
|
+
/******/ })();
|
|
23021
|
+
/******/
|
|
23454
23022
|
/************************************************************************/
|
|
23455
23023
|
var __webpack_exports__ = {};
|
|
23456
23024
|
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|