@livetiles/reach-components-react 0.4.0-preview.302 → 0.4.0-preview.308
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/en.async.esm.esm.js +5 -0
- package/index.esm2.js +334 -186
- package/index.umd.js +339 -186
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -13540,11 +13540,11 @@ var wellKnownSymbol$b$4 = function (name) {
|
|
|
13540
13540
|
};
|
|
13541
13541
|
|
|
13542
13542
|
var ceil$6 = Math.ceil;
|
|
13543
|
-
var floor$2$
|
|
13543
|
+
var floor$2$2 = Math.floor; // `ToInteger` abstract operation
|
|
13544
13544
|
// https://tc39.github.io/ecma262/#sec-tointeger
|
|
13545
13545
|
|
|
13546
13546
|
var toInteger$3$5 = function (argument) {
|
|
13547
|
-
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$2$
|
|
13547
|
+
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$2$2 : ceil$6)(argument);
|
|
13548
13548
|
};
|
|
13549
13549
|
|
|
13550
13550
|
var toInteger$2$6 = toInteger$3$5;
|
|
@@ -15359,7 +15359,7 @@ var getInternalSearchParamsState$1 = URLSearchParamsModule$1.getState;
|
|
|
15359
15359
|
var setInternalState$a = InternalStateModule$b.set;
|
|
15360
15360
|
var getInternalURLState$1 = InternalStateModule$b.getterFor('URL');
|
|
15361
15361
|
var floor$9 = Math.floor;
|
|
15362
|
-
var pow$
|
|
15362
|
+
var pow$3 = Math.pow;
|
|
15363
15363
|
var INVALID_AUTHORITY$1 = 'Invalid authority';
|
|
15364
15364
|
var INVALID_SCHEME$1 = 'Invalid scheme';
|
|
15365
15365
|
var INVALID_HOST$1 = 'Invalid host';
|
|
@@ -15444,14 +15444,14 @@ var parseIPv4$1 = function (input) {
|
|
|
15444
15444
|
number = numbers[index];
|
|
15445
15445
|
|
|
15446
15446
|
if (index == partsLength - 1) {
|
|
15447
|
-
if (number >= pow$
|
|
15447
|
+
if (number >= pow$3(256, 5 - partsLength)) return null;
|
|
15448
15448
|
} else if (number > 255) return null;
|
|
15449
15449
|
}
|
|
15450
15450
|
|
|
15451
15451
|
ipv4 = numbers.pop();
|
|
15452
15452
|
|
|
15453
15453
|
for (index = 0; index < numbers.length; index++) {
|
|
15454
|
-
ipv4 += numbers[index] * pow$
|
|
15454
|
+
ipv4 += numbers[index] * pow$3(256, 3 - index);
|
|
15455
15455
|
}
|
|
15456
15456
|
|
|
15457
15457
|
return ipv4;
|
|
@@ -42011,7 +42011,7 @@ $$2$4({
|
|
|
42011
42011
|
var classof$1$4 = classofRaw$1$3; // `thisNumberValue` abstract operation
|
|
42012
42012
|
// https://tc39.github.io/ecma262/#sec-thisnumbervalue
|
|
42013
42013
|
|
|
42014
|
-
var thisNumberValue$1 = function (value) {
|
|
42014
|
+
var thisNumberValue$1$1 = function (value) {
|
|
42015
42015
|
if (typeof value != 'number' && classof$1$4(value) != 'Number') {
|
|
42016
42016
|
throw TypeError('Incorrect invocation');
|
|
42017
42017
|
}
|
|
@@ -42023,7 +42023,7 @@ var toInteger$1$4 = toInteger$4$3;
|
|
|
42023
42023
|
var requireObjectCoercible$1$4 = requireObjectCoercible$4$3; // `String.prototype.repeat` method implementation
|
|
42024
42024
|
// https://tc39.github.io/ecma262/#sec-string.prototype.repeat
|
|
42025
42025
|
|
|
42026
|
-
var stringRepeat = ''.repeat || function repeat(count) {
|
|
42026
|
+
var stringRepeat$1 = ''.repeat || function repeat(count) {
|
|
42027
42027
|
var str = String(requireObjectCoercible$1$4(this));
|
|
42028
42028
|
var result = '';
|
|
42029
42029
|
var n = toInteger$1$4(count);
|
|
@@ -42036,17 +42036,17 @@ var stringRepeat = ''.repeat || function repeat(count) {
|
|
|
42036
42036
|
|
|
42037
42037
|
var $$1$4 = _export$3;
|
|
42038
42038
|
var toInteger$8 = toInteger$4$3;
|
|
42039
|
-
var thisNumberValue = thisNumberValue$1;
|
|
42040
|
-
var repeat = stringRepeat;
|
|
42039
|
+
var thisNumberValue$2 = thisNumberValue$1$1;
|
|
42040
|
+
var repeat$1 = stringRepeat$1;
|
|
42041
42041
|
var fails$m = fails$7$3;
|
|
42042
|
-
var nativeToFixed = 1.0.toFixed;
|
|
42042
|
+
var nativeToFixed$1 = 1.0.toFixed;
|
|
42043
42043
|
var floor$6 = Math.floor;
|
|
42044
42044
|
|
|
42045
|
-
var pow$
|
|
42046
|
-
return n === 0 ? acc : n % 2 === 1 ? pow$
|
|
42045
|
+
var pow$2 = function (x, n, acc) {
|
|
42046
|
+
return n === 0 ? acc : n % 2 === 1 ? pow$2(x, n - 1, acc * x) : pow$2(x * x, n / 2, acc);
|
|
42047
42047
|
};
|
|
42048
42048
|
|
|
42049
|
-
var log$
|
|
42049
|
+
var log$2 = function (x) {
|
|
42050
42050
|
var n = 0;
|
|
42051
42051
|
var x2 = x;
|
|
42052
42052
|
|
|
@@ -42063,9 +42063,9 @@ var log$1 = function (x) {
|
|
|
42063
42063
|
return n;
|
|
42064
42064
|
};
|
|
42065
42065
|
|
|
42066
|
-
var FORCED$6 = nativeToFixed && (0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128') || !fails$m(function () {
|
|
42066
|
+
var FORCED$6 = nativeToFixed$1 && (0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128') || !fails$m(function () {
|
|
42067
42067
|
// V8 ~ Android 4.3-
|
|
42068
|
-
nativeToFixed.call({});
|
|
42068
|
+
nativeToFixed$1.call({});
|
|
42069
42069
|
}); // `Number.prototype.toFixed` method
|
|
42070
42070
|
// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed
|
|
42071
42071
|
|
|
@@ -42076,7 +42076,7 @@ $$1$4({
|
|
|
42076
42076
|
}, {
|
|
42077
42077
|
// eslint-disable-next-line max-statements
|
|
42078
42078
|
toFixed: function toFixed(fractionDigits) {
|
|
42079
|
-
var number = thisNumberValue(this);
|
|
42079
|
+
var number = thisNumberValue$2(this);
|
|
42080
42080
|
var fractDigits = toInteger$8(fractionDigits);
|
|
42081
42081
|
var data = [0, 0, 0, 0, 0, 0];
|
|
42082
42082
|
var sign = '';
|
|
@@ -42112,7 +42112,7 @@ $$1$4({
|
|
|
42112
42112
|
while (--index >= 0) {
|
|
42113
42113
|
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
42114
42114
|
var t = String(data[index]);
|
|
42115
|
-
s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;
|
|
42115
|
+
s = s === '' ? t : s + repeat$1.call('0', 7 - t.length) + t;
|
|
42116
42116
|
}
|
|
42117
42117
|
}
|
|
42118
42118
|
|
|
@@ -42130,8 +42130,8 @@ $$1$4({
|
|
|
42130
42130
|
}
|
|
42131
42131
|
|
|
42132
42132
|
if (number > 1e-21) {
|
|
42133
|
-
e = log$
|
|
42134
|
-
z = e < 0 ? number * pow$
|
|
42133
|
+
e = log$2(number * pow$2(2, 69, 1)) - 69;
|
|
42134
|
+
z = e < 0 ? number * pow$2(2, -e, 1) : number / pow$2(2, e, 1);
|
|
42135
42135
|
z *= 0x10000000000000;
|
|
42136
42136
|
e = 52 - e;
|
|
42137
42137
|
|
|
@@ -42144,7 +42144,7 @@ $$1$4({
|
|
|
42144
42144
|
j -= 7;
|
|
42145
42145
|
}
|
|
42146
42146
|
|
|
42147
|
-
multiply(pow$
|
|
42147
|
+
multiply(pow$2(10, j, 1), 0);
|
|
42148
42148
|
j = e - 1;
|
|
42149
42149
|
|
|
42150
42150
|
while (j >= 23) {
|
|
@@ -42159,13 +42159,13 @@ $$1$4({
|
|
|
42159
42159
|
} else {
|
|
42160
42160
|
multiply(0, z);
|
|
42161
42161
|
multiply(1 << -e, 0);
|
|
42162
|
-
result = dataToString() + repeat.call('0', fractDigits);
|
|
42162
|
+
result = dataToString() + repeat$1.call('0', fractDigits);
|
|
42163
42163
|
}
|
|
42164
42164
|
}
|
|
42165
42165
|
|
|
42166
42166
|
if (fractDigits > 0) {
|
|
42167
42167
|
k = result.length;
|
|
42168
|
-
result = sign + (k <= fractDigits ? '0.' + repeat.call('0', fractDigits - k) + result : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
|
|
42168
|
+
result = sign + (k <= fractDigits ? '0.' + repeat$1.call('0', fractDigits - k) + result : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
|
|
42169
42169
|
} else {
|
|
42170
42170
|
result = sign + result;
|
|
42171
42171
|
}
|
|
@@ -48518,7 +48518,7 @@ check$2(typeof globalThis == 'object' && globalThis) || check$2(typeof window ==
|
|
|
48518
48518
|
Function('return this')();
|
|
48519
48519
|
var objectGetOwnPropertyDescriptor$2 = {};
|
|
48520
48520
|
|
|
48521
|
-
var fails$
|
|
48521
|
+
var fails$h$2 = function (exec) {
|
|
48522
48522
|
try {
|
|
48523
48523
|
return !!exec();
|
|
48524
48524
|
} catch (error) {
|
|
@@ -48526,9 +48526,9 @@ var fails$g$2 = function (exec) {
|
|
|
48526
48526
|
}
|
|
48527
48527
|
};
|
|
48528
48528
|
|
|
48529
|
-
var fails$
|
|
48529
|
+
var fails$g$2 = fails$h$2; // Thank's IE8 for his funny defineProperty
|
|
48530
48530
|
|
|
48531
|
-
var descriptors$2 = !fails$
|
|
48531
|
+
var descriptors$2 = !fails$g$2(function () {
|
|
48532
48532
|
return Object.defineProperty({}, 1, {
|
|
48533
48533
|
get: function () {
|
|
48534
48534
|
return 7;
|
|
@@ -48564,30 +48564,30 @@ var classofRaw$1$2 = function (it) {
|
|
|
48564
48564
|
return toString$2.call(it).slice(8, -1);
|
|
48565
48565
|
};
|
|
48566
48566
|
|
|
48567
|
-
var fails$
|
|
48568
|
-
var classof$
|
|
48567
|
+
var fails$f$2 = fails$h$2;
|
|
48568
|
+
var classof$9$1 = classofRaw$1$2;
|
|
48569
48569
|
var split$2 = ''.split; // fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
48570
48570
|
|
|
48571
|
-
var indexedObject$2 = fails$
|
|
48571
|
+
var indexedObject$2 = fails$f$2(function () {
|
|
48572
48572
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
48573
48573
|
// eslint-disable-next-line no-prototype-builtins
|
|
48574
48574
|
return !Object('z').propertyIsEnumerable(0);
|
|
48575
48575
|
}) ? function (it) {
|
|
48576
|
-
return classof$
|
|
48576
|
+
return classof$9$1(it) == 'String' ? split$2.call(it, '') : Object(it);
|
|
48577
48577
|
} : Object; // `RequireObjectCoercible` abstract operation
|
|
48578
48578
|
// https://tc39.github.io/ecma262/#sec-requireobjectcoercible
|
|
48579
48579
|
|
|
48580
|
-
var requireObjectCoercible$
|
|
48580
|
+
var requireObjectCoercible$c$1 = function (it) {
|
|
48581
48581
|
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
48582
48582
|
return it;
|
|
48583
48583
|
}; // toObject with fallback for non-array-like ES3 strings
|
|
48584
48584
|
|
|
48585
48585
|
|
|
48586
48586
|
var IndexedObject$2$2 = indexedObject$2;
|
|
48587
|
-
var requireObjectCoercible$
|
|
48587
|
+
var requireObjectCoercible$b$1 = requireObjectCoercible$c$1;
|
|
48588
48588
|
|
|
48589
48589
|
var toIndexedObject$4$2 = function (it) {
|
|
48590
|
-
return IndexedObject$2$2(requireObjectCoercible$
|
|
48590
|
+
return IndexedObject$2$2(requireObjectCoercible$b$1(it));
|
|
48591
48591
|
};
|
|
48592
48592
|
|
|
48593
48593
|
var isObject$9$2 = function (it) {
|
|
@@ -48625,10 +48625,10 @@ var documentCreateElement$1$2 = function (it) {
|
|
|
48625
48625
|
};
|
|
48626
48626
|
|
|
48627
48627
|
var DESCRIPTORS$7$2 = descriptors$2;
|
|
48628
|
-
var fails$
|
|
48628
|
+
var fails$e$2 = fails$h$2;
|
|
48629
48629
|
var createElement$1$2 = documentCreateElement$1$2; // Thank's IE8 for his funny defineProperty
|
|
48630
48630
|
|
|
48631
|
-
var ie8DomDefine$2 = !DESCRIPTORS$7$2 && !fails$
|
|
48631
|
+
var ie8DomDefine$2 = !DESCRIPTORS$7$2 && !fails$e$2(function () {
|
|
48632
48632
|
return Object.defineProperty(createElement$1$2('div'), 'a', {
|
|
48633
48633
|
get: function () {
|
|
48634
48634
|
return 7;
|
|
@@ -48873,29 +48873,29 @@ var getBuiltIn$5$2 = function (namespace, method) {
|
|
|
48873
48873
|
|
|
48874
48874
|
var objectGetOwnPropertyNames$2 = {};
|
|
48875
48875
|
var ceil$2 = Math.ceil;
|
|
48876
|
-
var floor$1
|
|
48876
|
+
var floor$2$1 = Math.floor; // `ToInteger` abstract operation
|
|
48877
48877
|
// https://tc39.github.io/ecma262/#sec-tointeger
|
|
48878
48878
|
|
|
48879
|
-
var toInteger$
|
|
48880
|
-
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$1
|
|
48879
|
+
var toInteger$6$1 = function (argument) {
|
|
48880
|
+
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$2$1 : ceil$2)(argument);
|
|
48881
48881
|
};
|
|
48882
48882
|
|
|
48883
|
-
var toInteger$
|
|
48883
|
+
var toInteger$5$1 = toInteger$6$1;
|
|
48884
48884
|
var min$5$1 = Math.min; // `ToLength` abstract operation
|
|
48885
48885
|
// https://tc39.github.io/ecma262/#sec-tolength
|
|
48886
48886
|
|
|
48887
48887
|
var toLength$a$1 = function (argument) {
|
|
48888
|
-
return argument > 0 ? min$5$1(toInteger$
|
|
48888
|
+
return argument > 0 ? min$5$1(toInteger$5$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
48889
48889
|
};
|
|
48890
48890
|
|
|
48891
|
-
var toInteger$
|
|
48891
|
+
var toInteger$4$2 = toInteger$6$1;
|
|
48892
48892
|
var max$1$2 = Math.max;
|
|
48893
48893
|
var min$4$2 = Math.min; // Helper for a popular repeating case of the spec:
|
|
48894
48894
|
// Let integer be ? ToInteger(index).
|
|
48895
48895
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
48896
48896
|
|
|
48897
48897
|
var toAbsoluteIndex$1$2 = function (index, length) {
|
|
48898
|
-
var integer = toInteger$
|
|
48898
|
+
var integer = toInteger$4$2(index);
|
|
48899
48899
|
return integer < 0 ? max$1$2(integer + length, 0) : min$4$2(integer, length);
|
|
48900
48900
|
};
|
|
48901
48901
|
|
|
@@ -48991,12 +48991,12 @@ var copyConstructorProperties$1$2 = function (target, source) {
|
|
|
48991
48991
|
}
|
|
48992
48992
|
};
|
|
48993
48993
|
|
|
48994
|
-
var fails$
|
|
48994
|
+
var fails$d$2 = fails$h$2;
|
|
48995
48995
|
var replacement$2 = /#|\.prototype\./;
|
|
48996
48996
|
|
|
48997
48997
|
var isForced$2$2 = function (feature, detection) {
|
|
48998
48998
|
var value = data$2[normalize$2(feature)];
|
|
48999
|
-
return value == POLYFILL$2 ? true : value == NATIVE$2 ? false : typeof detection == 'function' ? fails$
|
|
48999
|
+
return value == POLYFILL$2 ? true : value == NATIVE$2 ? false : typeof detection == 'function' ? fails$d$2(detection) : !!detection;
|
|
49000
49000
|
};
|
|
49001
49001
|
|
|
49002
49002
|
var normalize$2 = isForced$2$2.normalize = function (string) {
|
|
@@ -49076,11 +49076,11 @@ var aFunction$7$2 = function (it) {
|
|
|
49076
49076
|
return it;
|
|
49077
49077
|
};
|
|
49078
49078
|
|
|
49079
|
-
var requireObjectCoercible$
|
|
49079
|
+
var requireObjectCoercible$a$1 = requireObjectCoercible$c$1; // `ToObject` abstract operation
|
|
49080
49080
|
// https://tc39.github.io/ecma262/#sec-toobject
|
|
49081
49081
|
|
|
49082
49082
|
var toObject$6$2 = function (argument) {
|
|
49083
|
-
return Object(requireObjectCoercible$
|
|
49083
|
+
return Object(requireObjectCoercible$a$1(argument));
|
|
49084
49084
|
};
|
|
49085
49085
|
|
|
49086
49086
|
var aFunction$6$2 = aFunction$7$2;
|
|
@@ -49126,11 +49126,11 @@ var arrayReduce$2 = {
|
|
|
49126
49126
|
// https://tc39.github.io/ecma262/#sec-array.prototype.reduceright
|
|
49127
49127
|
right: createMethod$2$2(true)
|
|
49128
49128
|
};
|
|
49129
|
-
var fails$
|
|
49129
|
+
var fails$c$2 = fails$h$2;
|
|
49130
49130
|
|
|
49131
49131
|
var arrayMethodIsStrict$2$2 = function (METHOD_NAME, argument) {
|
|
49132
49132
|
var method = [][METHOD_NAME];
|
|
49133
|
-
return !!method && fails$
|
|
49133
|
+
return !!method && fails$c$2(function () {
|
|
49134
49134
|
// eslint-disable-next-line no-useless-call,no-throw-literal
|
|
49135
49135
|
method.call(null, argument || function () {
|
|
49136
49136
|
throw 1;
|
|
@@ -49139,7 +49139,7 @@ var arrayMethodIsStrict$2$2 = function (METHOD_NAME, argument) {
|
|
|
49139
49139
|
};
|
|
49140
49140
|
|
|
49141
49141
|
var DESCRIPTORS$3$2 = descriptors$2;
|
|
49142
|
-
var fails$
|
|
49142
|
+
var fails$b$2 = fails$h$2;
|
|
49143
49143
|
var has$4$2 = has$a$2;
|
|
49144
49144
|
var defineProperty$2$2 = Object.defineProperty;
|
|
49145
49145
|
var cache$3 = {};
|
|
@@ -49155,7 +49155,7 @@ var arrayMethodUsesToLength$1$2 = function (METHOD_NAME, options) {
|
|
|
49155
49155
|
var ACCESSORS = has$4$2(options, 'ACCESSORS') ? options.ACCESSORS : false;
|
|
49156
49156
|
var argument0 = has$4$2(options, 0) ? options[0] : thrower$2;
|
|
49157
49157
|
var argument1 = has$4$2(options, 1) ? options[1] : undefined;
|
|
49158
|
-
return cache$3[METHOD_NAME] = !!method && !fails$
|
|
49158
|
+
return cache$3[METHOD_NAME] = !!method && !fails$b$2(function () {
|
|
49159
49159
|
if (ACCESSORS && !DESCRIPTORS$3$2) return true;
|
|
49160
49160
|
var O = {
|
|
49161
49161
|
length: -1
|
|
@@ -49168,7 +49168,7 @@ var arrayMethodUsesToLength$1$2 = function (METHOD_NAME, options) {
|
|
|
49168
49168
|
});
|
|
49169
49169
|
};
|
|
49170
49170
|
|
|
49171
|
-
var $$
|
|
49171
|
+
var $$d$1 = _export$2;
|
|
49172
49172
|
var $reduce$2 = arrayReduce$2.left;
|
|
49173
49173
|
var arrayMethodIsStrict$1$2 = arrayMethodIsStrict$2$2;
|
|
49174
49174
|
var arrayMethodUsesToLength$3 = arrayMethodUsesToLength$1$2;
|
|
@@ -49178,7 +49178,7 @@ var USES_TO_LENGTH$2 = arrayMethodUsesToLength$3('reduce', {
|
|
|
49178
49178
|
}); // `Array.prototype.reduce` method
|
|
49179
49179
|
// https://tc39.github.io/ecma262/#sec-array.prototype.reduce
|
|
49180
49180
|
|
|
49181
|
-
$$
|
|
49181
|
+
$$d$1({
|
|
49182
49182
|
target: 'Array',
|
|
49183
49183
|
proto: true,
|
|
49184
49184
|
forced: !STRICT_METHOD$1$2 || !USES_TO_LENGTH$2
|
|
@@ -49199,8 +49199,8 @@ var redefineAll$1$2 = function (target, src, options) {
|
|
|
49199
49199
|
return target;
|
|
49200
49200
|
};
|
|
49201
49201
|
|
|
49202
|
-
var fails$
|
|
49203
|
-
var nativeSymbol$2 = !!Object.getOwnPropertySymbols && !fails$
|
|
49202
|
+
var fails$a$2 = fails$h$2;
|
|
49203
|
+
var nativeSymbol$2 = !!Object.getOwnPropertySymbols && !fails$a$2(function () {
|
|
49204
49204
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
49205
49205
|
// eslint-disable-next-line no-undef
|
|
49206
49206
|
return !String(Symbol());
|
|
@@ -49340,20 +49340,20 @@ var tryGet$2 = function (it, key) {
|
|
|
49340
49340
|
}; // getting tag from ES6+ `Object.prototype.toString`
|
|
49341
49341
|
|
|
49342
49342
|
|
|
49343
|
-
var classof$
|
|
49343
|
+
var classof$8$2 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$3 : function (it) {
|
|
49344
49344
|
var O, tag, result;
|
|
49345
49345
|
return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case
|
|
49346
49346
|
: typeof (tag = tryGet$2(O = Object(it), TO_STRING_TAG$1$2)) == 'string' ? tag // builtinTag case
|
|
49347
49347
|
: CORRECT_ARGUMENTS$2 ? classofRaw$3(O) // ES3 arguments fallback
|
|
49348
49348
|
: (result = classofRaw$3(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
|
|
49349
49349
|
};
|
|
49350
|
-
var classof$
|
|
49350
|
+
var classof$7$2 = classof$8$2;
|
|
49351
49351
|
var Iterators$3$2 = iterators$2;
|
|
49352
49352
|
var wellKnownSymbol$b$2 = wellKnownSymbol$h$2;
|
|
49353
49353
|
var ITERATOR$4$2 = wellKnownSymbol$b$2('iterator');
|
|
49354
49354
|
|
|
49355
49355
|
var getIteratorMethod$1$2 = function (it) {
|
|
49356
|
-
if (it != undefined) return it[ITERATOR$4$2] || it['@@iterator'] || Iterators$3$2[classof$
|
|
49356
|
+
if (it != undefined) return it[ITERATOR$4$2] || it['@@iterator'] || Iterators$3$2[classof$7$2(it)];
|
|
49357
49357
|
};
|
|
49358
49358
|
|
|
49359
49359
|
var anObject$c$2 = anObject$f$1; // call something on iterator step with safe closing on error
|
|
@@ -49489,8 +49489,8 @@ var engineUserAgent$2 = getBuiltIn$1$2('navigator', 'userAgent') || '';
|
|
|
49489
49489
|
var userAgent$1$2 = engineUserAgent$2;
|
|
49490
49490
|
var engineIsIos$2 = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent$1$2);
|
|
49491
49491
|
var global$7$2 = global$j$2;
|
|
49492
|
-
var fails$
|
|
49493
|
-
var classof$
|
|
49492
|
+
var fails$9$2 = fails$h$2;
|
|
49493
|
+
var classof$6$2 = classofRaw$1$2;
|
|
49494
49494
|
var bind$2$2 = functionBindContext$2;
|
|
49495
49495
|
var html$1$2 = html$2$2;
|
|
49496
49496
|
var createElement$3 = documentCreateElement$1$2;
|
|
@@ -49552,7 +49552,7 @@ if (!set$4 || !clear$2) {
|
|
|
49552
49552
|
}; // Node.js 0.8-
|
|
49553
49553
|
|
|
49554
49554
|
|
|
49555
|
-
if (classof$
|
|
49555
|
+
if (classof$6$2(process$4$2) == 'process') {
|
|
49556
49556
|
defer$2 = function (id) {
|
|
49557
49557
|
process$4$2.nextTick(runner$2(id));
|
|
49558
49558
|
}; // Sphere (JS game engine) Dispatch API
|
|
@@ -49569,7 +49569,7 @@ if (!set$4 || !clear$2) {
|
|
|
49569
49569
|
channel$2.port1.onmessage = listener$2;
|
|
49570
49570
|
defer$2 = bind$2$2(port$2.postMessage, port$2, 1); // Browsers with postMessage, skip WebWorkers
|
|
49571
49571
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
49572
|
-
} else if (global$7$2.addEventListener && typeof postMessage == 'function' && !global$7$2.importScripts && !fails$
|
|
49572
|
+
} else if (global$7$2.addEventListener && typeof postMessage == 'function' && !global$7$2.importScripts && !fails$9$2(post$2) && location$3.protocol !== 'file:') {
|
|
49573
49573
|
defer$2 = post$2;
|
|
49574
49574
|
global$7$2.addEventListener('message', listener$2, false); // IE8-
|
|
49575
49575
|
} else if (ONREADYSTATECHANGE$2 in createElement$3('script')) {
|
|
@@ -49593,13 +49593,13 @@ var task$1$2 = {
|
|
|
49593
49593
|
};
|
|
49594
49594
|
var global$6$2 = global$j$2;
|
|
49595
49595
|
var getOwnPropertyDescriptor$2$2 = objectGetOwnPropertyDescriptor$2.f;
|
|
49596
|
-
var classof$
|
|
49596
|
+
var classof$5$2 = classofRaw$1$2;
|
|
49597
49597
|
var macrotask$2 = task$1$2.set;
|
|
49598
49598
|
var IS_IOS$3 = engineIsIos$2;
|
|
49599
49599
|
var MutationObserver$3 = global$6$2.MutationObserver || global$6$2.WebKitMutationObserver;
|
|
49600
49600
|
var process$3$2 = global$6$2.process;
|
|
49601
49601
|
var Promise$1$2 = global$6$2.Promise;
|
|
49602
|
-
var IS_NODE$1$2 = classof$
|
|
49602
|
+
var IS_NODE$1$2 = classof$5$2(process$3$2) == 'process'; // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
49603
49603
|
|
|
49604
49604
|
var queueMicrotaskDescriptor$2 = getOwnPropertyDescriptor$2$2(global$6$2, 'queueMicrotask');
|
|
49605
49605
|
var queueMicrotask$2 = queueMicrotaskDescriptor$2 && queueMicrotaskDescriptor$2.value;
|
|
@@ -49756,7 +49756,7 @@ if (v8$2) {
|
|
|
49756
49756
|
}
|
|
49757
49757
|
|
|
49758
49758
|
var engineV8Version$2 = version$6 && +version$6;
|
|
49759
|
-
var $$
|
|
49759
|
+
var $$c$1 = _export$2;
|
|
49760
49760
|
var global$3$2 = global$j$2;
|
|
49761
49761
|
var getBuiltIn$8 = getBuiltIn$5$2;
|
|
49762
49762
|
var NativePromise$2 = nativePromiseConstructor$2;
|
|
@@ -49767,7 +49767,7 @@ var setSpecies$4 = setSpecies$1$2;
|
|
|
49767
49767
|
var isObject$3$2 = isObject$9$2;
|
|
49768
49768
|
var aFunction$2$2 = aFunction$7$2;
|
|
49769
49769
|
var anInstance$5 = anInstance$1$2;
|
|
49770
|
-
var classof$
|
|
49770
|
+
var classof$4$2 = classofRaw$1$2;
|
|
49771
49771
|
var inspectSource$5 = inspectSource$3$2;
|
|
49772
49772
|
var iterate$4 = iterate$2$2.exports;
|
|
49773
49773
|
var checkCorrectnessOfIteration$3 = checkCorrectnessOfIteration$1$2;
|
|
@@ -49794,7 +49794,7 @@ var process$1$2 = global$3$2.process;
|
|
|
49794
49794
|
var $fetch$3 = getBuiltIn$8('fetch');
|
|
49795
49795
|
var newPromiseCapability$4 = newPromiseCapabilityModule$2.f;
|
|
49796
49796
|
var newGenericPromiseCapability$2 = newPromiseCapability$4;
|
|
49797
|
-
var IS_NODE$3 = classof$
|
|
49797
|
+
var IS_NODE$3 = classof$4$2(process$1$2) == 'process';
|
|
49798
49798
|
var DISPATCH_EVENT$2 = !!(document$1$2 && document$1$2.createEvent && global$3$2.dispatchEvent);
|
|
49799
49799
|
var UNHANDLED_REJECTION$2 = 'unhandledrejection';
|
|
49800
49800
|
var REJECTION_HANDLED$2 = 'rejectionhandled';
|
|
@@ -49804,7 +49804,7 @@ var REJECTED$2 = 2;
|
|
|
49804
49804
|
var HANDLED$2 = 1;
|
|
49805
49805
|
var UNHANDLED$2 = 2;
|
|
49806
49806
|
var Internal$2, OwnPromiseCapability$2, PromiseWrapper$2, nativeThen$2;
|
|
49807
|
-
var FORCED$
|
|
49807
|
+
var FORCED$3$1 = isForced$5(PROMISE$2, function () {
|
|
49808
49808
|
var GLOBAL_CORE_JS_PROMISE = inspectSource$5(PromiseConstructor$2) !== String(PromiseConstructor$2);
|
|
49809
49809
|
|
|
49810
49810
|
if (!GLOBAL_CORE_JS_PROMISE) {
|
|
@@ -49837,7 +49837,7 @@ var FORCED$2$2 = isForced$5(PROMISE$2, function () {
|
|
|
49837
49837
|
/* empty */
|
|
49838
49838
|
}) instanceof FakePromise);
|
|
49839
49839
|
});
|
|
49840
|
-
var INCORRECT_ITERATION$2 = FORCED$
|
|
49840
|
+
var INCORRECT_ITERATION$2 = FORCED$3$1 || !checkCorrectnessOfIteration$3(function (iterable) {
|
|
49841
49841
|
PromiseConstructor$2.all(iterable)['catch'](function () {
|
|
49842
49842
|
/* empty */
|
|
49843
49843
|
});
|
|
@@ -49997,7 +49997,7 @@ var internalResolve$2 = function (promise, state, value, unwrap) {
|
|
|
49997
49997
|
}; // constructor polyfill
|
|
49998
49998
|
|
|
49999
49999
|
|
|
50000
|
-
if (FORCED$
|
|
50000
|
+
if (FORCED$3$1) {
|
|
50001
50001
|
// 25.4.3.1 Promise(executor)
|
|
50002
50002
|
PromiseConstructor$2 = function Promise(executor) {
|
|
50003
50003
|
anInstance$5(this, PromiseConstructor$2, PROMISE$2);
|
|
@@ -50071,7 +50071,7 @@ if (FORCED$2$2) {
|
|
|
50071
50071
|
unsafe: true
|
|
50072
50072
|
}); // wrap fetch result
|
|
50073
50073
|
|
|
50074
|
-
if (typeof $fetch$3 == 'function') $$
|
|
50074
|
+
if (typeof $fetch$3 == 'function') $$c$1({
|
|
50075
50075
|
global: true,
|
|
50076
50076
|
enumerable: true,
|
|
50077
50077
|
forced: true
|
|
@@ -50086,10 +50086,10 @@ if (FORCED$2$2) {
|
|
|
50086
50086
|
}
|
|
50087
50087
|
}
|
|
50088
50088
|
|
|
50089
|
-
$$
|
|
50089
|
+
$$c$1({
|
|
50090
50090
|
global: true,
|
|
50091
50091
|
wrap: true,
|
|
50092
|
-
forced: FORCED$
|
|
50092
|
+
forced: FORCED$3$1
|
|
50093
50093
|
}, {
|
|
50094
50094
|
Promise: PromiseConstructor$2
|
|
50095
50095
|
});
|
|
@@ -50097,10 +50097,10 @@ setToStringTag$2$2(PromiseConstructor$2, PROMISE$2, false);
|
|
|
50097
50097
|
setSpecies$4(PROMISE$2);
|
|
50098
50098
|
PromiseWrapper$2 = getBuiltIn$8(PROMISE$2); // statics
|
|
50099
50099
|
|
|
50100
|
-
$$
|
|
50100
|
+
$$c$1({
|
|
50101
50101
|
target: PROMISE$2,
|
|
50102
50102
|
stat: true,
|
|
50103
|
-
forced: FORCED$
|
|
50103
|
+
forced: FORCED$3$1
|
|
50104
50104
|
}, {
|
|
50105
50105
|
// `Promise.reject` method
|
|
50106
50106
|
// https://tc39.github.io/ecma262/#sec-promise.reject
|
|
@@ -50110,10 +50110,10 @@ $$b$1({
|
|
|
50110
50110
|
return capability.promise;
|
|
50111
50111
|
}
|
|
50112
50112
|
});
|
|
50113
|
-
$$
|
|
50113
|
+
$$c$1({
|
|
50114
50114
|
target: PROMISE$2,
|
|
50115
50115
|
stat: true,
|
|
50116
|
-
forced: FORCED$
|
|
50116
|
+
forced: FORCED$3$1
|
|
50117
50117
|
}, {
|
|
50118
50118
|
// `Promise.resolve` method
|
|
50119
50119
|
// https://tc39.github.io/ecma262/#sec-promise.resolve
|
|
@@ -50121,7 +50121,7 @@ $$b$1({
|
|
|
50121
50121
|
return promiseResolve$3(this, x);
|
|
50122
50122
|
}
|
|
50123
50123
|
});
|
|
50124
|
-
$$
|
|
50124
|
+
$$c$1({
|
|
50125
50125
|
target: PROMISE$2,
|
|
50126
50126
|
stat: true,
|
|
50127
50127
|
forced: INCORRECT_ITERATION$2
|
|
@@ -51122,14 +51122,14 @@ var UserRegistrationResultType;
|
|
|
51122
51122
|
})(UserRegistrationResultType || (UserRegistrationResultType = {}));
|
|
51123
51123
|
|
|
51124
51124
|
var isObject$2$2 = isObject$9$2;
|
|
51125
|
-
var classof$
|
|
51125
|
+
var classof$3$2 = classofRaw$1$2;
|
|
51126
51126
|
var wellKnownSymbol$7$2 = wellKnownSymbol$h$2;
|
|
51127
51127
|
var MATCH$1$2 = wellKnownSymbol$7$2('match'); // `IsRegExp` abstract operation
|
|
51128
51128
|
// https://tc39.github.io/ecma262/#sec-isregexp
|
|
51129
51129
|
|
|
51130
51130
|
var isRegexp$3 = function (it) {
|
|
51131
51131
|
var isRegExp;
|
|
51132
|
-
return isObject$2$2(it) && ((isRegExp = it[MATCH$1$2]) !== undefined ? !!isRegExp : classof$
|
|
51132
|
+
return isObject$2$2(it) && ((isRegExp = it[MATCH$1$2]) !== undefined ? !!isRegExp : classof$3$2(it) == 'RegExp');
|
|
51133
51133
|
};
|
|
51134
51134
|
|
|
51135
51135
|
var isRegExp$1$2 = isRegexp$3;
|
|
@@ -51162,13 +51162,13 @@ var correctIsRegexpLogic$3 = function (METHOD_NAME) {
|
|
|
51162
51162
|
return false;
|
|
51163
51163
|
};
|
|
51164
51164
|
|
|
51165
|
-
var $$
|
|
51165
|
+
var $$b$1 = _export$2;
|
|
51166
51166
|
var notARegExp$2$1 = notARegexp$3;
|
|
51167
|
-
var requireObjectCoercible$
|
|
51167
|
+
var requireObjectCoercible$9$2 = requireObjectCoercible$c$1;
|
|
51168
51168
|
var correctIsRegExpLogic$2$1 = correctIsRegexpLogic$3; // `String.prototype.includes` method
|
|
51169
51169
|
// https://tc39.github.io/ecma262/#sec-string.prototype.includes
|
|
51170
51170
|
|
|
51171
|
-
$$
|
|
51171
|
+
$$b$1({
|
|
51172
51172
|
target: 'String',
|
|
51173
51173
|
proto: true,
|
|
51174
51174
|
forced: !correctIsRegExpLogic$2$1('includes')
|
|
@@ -51176,14 +51176,14 @@ $$a$1({
|
|
|
51176
51176
|
includes: function includes(searchString
|
|
51177
51177
|
/* , position = 0 */
|
|
51178
51178
|
) {
|
|
51179
|
-
return !!~String(requireObjectCoercible$
|
|
51179
|
+
return !!~String(requireObjectCoercible$9$2(this)).indexOf(notARegExp$2$1(searchString), arguments.length > 1 ? arguments[1] : undefined);
|
|
51180
51180
|
}
|
|
51181
51181
|
});
|
|
51182
|
-
var $$
|
|
51182
|
+
var $$a$1 = _export$2;
|
|
51183
51183
|
var getOwnPropertyDescriptor$1$2 = objectGetOwnPropertyDescriptor$2.f;
|
|
51184
51184
|
var toLength$6$2 = toLength$a$1;
|
|
51185
51185
|
var notARegExp$1$2 = notARegexp$3;
|
|
51186
|
-
var requireObjectCoercible$
|
|
51186
|
+
var requireObjectCoercible$8$2 = requireObjectCoercible$c$1;
|
|
51187
51187
|
var correctIsRegExpLogic$1$2 = correctIsRegexpLogic$3;
|
|
51188
51188
|
var nativeEndsWith$1 = ''.endsWith;
|
|
51189
51189
|
var min$3$2 = Math.min;
|
|
@@ -51195,7 +51195,7 @@ var MDN_POLYFILL_BUG$1$1 = !CORRECT_IS_REGEXP_LOGIC$1$1 && !!function () {
|
|
|
51195
51195
|
}(); // `String.prototype.endsWith` method
|
|
51196
51196
|
// https://tc39.github.io/ecma262/#sec-string.prototype.endswith
|
|
51197
51197
|
|
|
51198
|
-
$$
|
|
51198
|
+
$$a$1({
|
|
51199
51199
|
target: 'String',
|
|
51200
51200
|
proto: true,
|
|
51201
51201
|
forced: !MDN_POLYFILL_BUG$1$1 && !CORRECT_IS_REGEXP_LOGIC$1$1
|
|
@@ -51203,7 +51203,7 @@ $$9$2({
|
|
|
51203
51203
|
endsWith: function endsWith(searchString
|
|
51204
51204
|
/* , endPosition = @length */
|
|
51205
51205
|
) {
|
|
51206
|
-
var that = String(requireObjectCoercible$
|
|
51206
|
+
var that = String(requireObjectCoercible$8$2(this));
|
|
51207
51207
|
notARegExp$1$2(searchString);
|
|
51208
51208
|
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
51209
51209
|
var len = toLength$6$2(that.length);
|
|
@@ -52083,8 +52083,8 @@ var addToUnscopables$2$2 = function (key) {
|
|
|
52083
52083
|
ArrayPrototype$3[UNSCOPABLES$2][key] = true;
|
|
52084
52084
|
};
|
|
52085
52085
|
|
|
52086
|
-
var fails$
|
|
52087
|
-
var correctPrototypeGetter$2 = !fails$
|
|
52086
|
+
var fails$8$2 = fails$h$2;
|
|
52087
|
+
var correctPrototypeGetter$2 = !fails$8$2(function () {
|
|
52088
52088
|
function F() {
|
|
52089
52089
|
/* empty */
|
|
52090
52090
|
}
|
|
@@ -52201,7 +52201,7 @@ var objectSetPrototypeOf$2 = Object.setPrototypeOf || ('__proto__' in {} ? funct
|
|
|
52201
52201
|
return O;
|
|
52202
52202
|
};
|
|
52203
52203
|
}() : undefined);
|
|
52204
|
-
var $$
|
|
52204
|
+
var $$9$2 = _export$2;
|
|
52205
52205
|
var createIteratorConstructor$4 = createIteratorConstructor$1$2;
|
|
52206
52206
|
var getPrototypeOf$3 = objectGetPrototypeOf$2;
|
|
52207
52207
|
var setPrototypeOf$3 = objectSetPrototypeOf$2;
|
|
@@ -52302,7 +52302,7 @@ var defineIterator$1$2 = function (Iterable, NAME, IteratorConstructor, next, DE
|
|
|
52302
52302
|
if (BUGGY_SAFARI_ITERATORS$3 || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
52303
52303
|
redefine$2$2(IterablePrototype, KEY, methods[KEY]);
|
|
52304
52304
|
}
|
|
52305
|
-
} else $$
|
|
52305
|
+
} else $$9$2({
|
|
52306
52306
|
target: NAME,
|
|
52307
52307
|
proto: true,
|
|
52308
52308
|
forced: BUGGY_SAFARI_ITERATORS$3 || INCORRECT_VALUES_NAME
|
|
@@ -52549,11 +52549,11 @@ var CurrentUserDetailContextProvider = function CurrentUserDetailContextProvider
|
|
|
52549
52549
|
|
|
52550
52550
|
var CURRENT_USER_QUERY = gql(templateObject_1$2$3 || (templateObject_1$2$3 = __makeTemplateObject$k(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"], ["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"])));
|
|
52551
52551
|
var templateObject_1$2$3;
|
|
52552
|
-
var $$
|
|
52552
|
+
var $$8$2 = _export$2;
|
|
52553
52553
|
var getOwnPropertyDescriptor$6 = objectGetOwnPropertyDescriptor$2.f;
|
|
52554
52554
|
var toLength$5$2 = toLength$a$1;
|
|
52555
52555
|
var notARegExp$5 = notARegexp$3;
|
|
52556
|
-
var requireObjectCoercible$
|
|
52556
|
+
var requireObjectCoercible$7$2 = requireObjectCoercible$c$1;
|
|
52557
52557
|
var correctIsRegExpLogic$5 = correctIsRegexpLogic$3;
|
|
52558
52558
|
var nativeStartsWith$2 = ''.startsWith;
|
|
52559
52559
|
var min$2$2 = Math.min;
|
|
@@ -52565,7 +52565,7 @@ var MDN_POLYFILL_BUG$3 = !CORRECT_IS_REGEXP_LOGIC$3 && !!function () {
|
|
|
52565
52565
|
}(); // `String.prototype.startsWith` method
|
|
52566
52566
|
// https://tc39.github.io/ecma262/#sec-string.prototype.startswith
|
|
52567
52567
|
|
|
52568
|
-
$$
|
|
52568
|
+
$$8$2({
|
|
52569
52569
|
target: 'String',
|
|
52570
52570
|
proto: true,
|
|
52571
52571
|
forced: !MDN_POLYFILL_BUG$3 && !CORRECT_IS_REGEXP_LOGIC$3
|
|
@@ -52573,7 +52573,7 @@ $$7$2({
|
|
|
52573
52573
|
startsWith: function startsWith(searchString
|
|
52574
52574
|
/* , position = 0 */
|
|
52575
52575
|
) {
|
|
52576
|
-
var that = String(requireObjectCoercible$
|
|
52576
|
+
var that = String(requireObjectCoercible$7$2(this));
|
|
52577
52577
|
notARegExp$5(searchString);
|
|
52578
52578
|
var index = toLength$5$2(min$2$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
|
|
52579
52579
|
var search = String(searchString);
|
|
@@ -52939,20 +52939,20 @@ var regexpFlags$1$3 = function () {
|
|
|
52939
52939
|
};
|
|
52940
52940
|
|
|
52941
52941
|
var regexpStickyHelpers$3 = {};
|
|
52942
|
-
var fails$
|
|
52942
|
+
var fails$7$2 = fails$h$2; // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
|
|
52943
52943
|
// so we use an intermediate function.
|
|
52944
52944
|
|
|
52945
52945
|
function RE$3(s, f) {
|
|
52946
52946
|
return RegExp(s, f);
|
|
52947
52947
|
}
|
|
52948
52948
|
|
|
52949
|
-
regexpStickyHelpers$3.UNSUPPORTED_Y = fails$
|
|
52949
|
+
regexpStickyHelpers$3.UNSUPPORTED_Y = fails$7$2(function () {
|
|
52950
52950
|
// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
52951
52951
|
var re = RE$3('a', 'y');
|
|
52952
52952
|
re.lastIndex = 2;
|
|
52953
52953
|
return re.exec('abcd') != null;
|
|
52954
52954
|
});
|
|
52955
|
-
regexpStickyHelpers$3.BROKEN_CARET = fails$
|
|
52955
|
+
regexpStickyHelpers$3.BROKEN_CARET = fails$7$2(function () {
|
|
52956
52956
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
52957
52957
|
var re = RE$3('^r', 'gy');
|
|
52958
52958
|
re.lastIndex = 2;
|
|
@@ -53043,9 +53043,9 @@ if (PATCH$3) {
|
|
|
53043
53043
|
}
|
|
53044
53044
|
|
|
53045
53045
|
var regexpExec$3$2 = patchedExec$3;
|
|
53046
|
-
var $$
|
|
53046
|
+
var $$7$2 = _export$2;
|
|
53047
53047
|
var exec$3 = regexpExec$3$2;
|
|
53048
|
-
$$
|
|
53048
|
+
$$7$2({
|
|
53049
53049
|
target: 'RegExp',
|
|
53050
53050
|
proto: true,
|
|
53051
53051
|
forced: /./.exec !== exec$3
|
|
@@ -53054,12 +53054,12 @@ $$6$2({
|
|
|
53054
53054
|
}); // TODO: Remove from `core-js@4` since it's moved to entry points
|
|
53055
53055
|
|
|
53056
53056
|
var redefine$1$3 = redefine$6$2.exports;
|
|
53057
|
-
var fails$
|
|
53057
|
+
var fails$6$2 = fails$h$2;
|
|
53058
53058
|
var wellKnownSymbol$1$2 = wellKnownSymbol$h$2;
|
|
53059
53059
|
var regexpExec$2$3 = regexpExec$3$2;
|
|
53060
53060
|
var createNonEnumerableProperty$b = createNonEnumerableProperty$8$2;
|
|
53061
53061
|
var SPECIES$1$2 = wellKnownSymbol$1$2('species');
|
|
53062
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS$3 = !fails$
|
|
53062
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS$3 = !fails$6$2(function () {
|
|
53063
53063
|
// #replace needs built-in support for named groups.
|
|
53064
53064
|
// #match works fine because it just return the exec results, even if it has
|
|
53065
53065
|
// a "grops" property.
|
|
@@ -53093,7 +53093,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE$3 = function () {
|
|
|
53093
53093
|
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
53094
53094
|
|
|
53095
53095
|
|
|
53096
|
-
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC$3 = !fails$
|
|
53096
|
+
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC$3 = !fails$6$2(function () {
|
|
53097
53097
|
var re = /(?:)/;
|
|
53098
53098
|
var originalExec = re.exec;
|
|
53099
53099
|
|
|
@@ -53107,7 +53107,7 @@ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC$3 = !fails$5$2(function () {
|
|
|
53107
53107
|
|
|
53108
53108
|
var fixRegexpWellKnownSymbolLogic$3 = function (KEY, length, exec, sham) {
|
|
53109
53109
|
var SYMBOL = wellKnownSymbol$1$2(KEY);
|
|
53110
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
53110
|
+
var DELEGATES_TO_SYMBOL = !fails$6$2(function () {
|
|
53111
53111
|
// String methods call symbol-named RegEp methods
|
|
53112
53112
|
var O = {};
|
|
53113
53113
|
|
|
@@ -53117,7 +53117,7 @@ var fixRegexpWellKnownSymbolLogic$3 = function (KEY, length, exec, sham) {
|
|
|
53117
53117
|
|
|
53118
53118
|
return ''[KEY](O) != 7;
|
|
53119
53119
|
});
|
|
53120
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
53120
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6$2(function () {
|
|
53121
53121
|
// Symbol-named RegExp methods call .exec
|
|
53122
53122
|
var execCalled = false;
|
|
53123
53123
|
var re = /a/;
|
|
@@ -53192,13 +53192,13 @@ var fixRegexpWellKnownSymbolLogic$3 = function (KEY, length, exec, sham) {
|
|
|
53192
53192
|
if (sham) createNonEnumerableProperty$b(RegExp.prototype[SYMBOL], 'sham', true);
|
|
53193
53193
|
};
|
|
53194
53194
|
|
|
53195
|
-
var toInteger$
|
|
53196
|
-
var requireObjectCoercible$
|
|
53195
|
+
var toInteger$3$2 = toInteger$6$1;
|
|
53196
|
+
var requireObjectCoercible$6$2 = requireObjectCoercible$c$1; // `String.prototype.{ codePointAt, at }` methods implementation
|
|
53197
53197
|
|
|
53198
53198
|
var createMethod$1$3 = function (CONVERT_TO_STRING) {
|
|
53199
53199
|
return function ($this, pos) {
|
|
53200
|
-
var S = String(requireObjectCoercible$
|
|
53201
|
-
var position = toInteger$
|
|
53200
|
+
var S = String(requireObjectCoercible$6$2($this));
|
|
53201
|
+
var position = toInteger$3$2(pos);
|
|
53202
53202
|
var size = S.length;
|
|
53203
53203
|
var first, second;
|
|
53204
53204
|
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
@@ -53222,7 +53222,7 @@ var advanceStringIndex$3$1 = function (S, index, unicode) {
|
|
|
53222
53222
|
return index + (unicode ? charAt$4(S, index).length : 1);
|
|
53223
53223
|
};
|
|
53224
53224
|
|
|
53225
|
-
var classof$
|
|
53225
|
+
var classof$2$2 = classofRaw$1$2;
|
|
53226
53226
|
var regexpExec$1$3 = regexpExec$3$2; // `RegExpExec` abstract operation
|
|
53227
53227
|
// https://tc39.github.io/ecma262/#sec-regexpexec
|
|
53228
53228
|
|
|
@@ -53239,7 +53239,7 @@ var regexpExecAbstract$3 = function (R, S) {
|
|
|
53239
53239
|
return result;
|
|
53240
53240
|
}
|
|
53241
53241
|
|
|
53242
|
-
if (classof$
|
|
53242
|
+
if (classof$2$2(R) !== 'RegExp') {
|
|
53243
53243
|
throw TypeError('RegExp#exec called on incompatible receiver');
|
|
53244
53244
|
}
|
|
53245
53245
|
|
|
@@ -53250,13 +53250,13 @@ var fixRegExpWellKnownSymbolLogic$3$1 = fixRegexpWellKnownSymbolLogic$3;
|
|
|
53250
53250
|
var anObject$4$2 = anObject$f$1;
|
|
53251
53251
|
var toObject$3$2 = toObject$6$2;
|
|
53252
53252
|
var toLength$4$2 = toLength$a$1;
|
|
53253
|
-
var toInteger$
|
|
53254
|
-
var requireObjectCoercible$
|
|
53253
|
+
var toInteger$2$2 = toInteger$6$1;
|
|
53254
|
+
var requireObjectCoercible$5$2 = requireObjectCoercible$c$1;
|
|
53255
53255
|
var advanceStringIndex$2$2 = advanceStringIndex$3$1;
|
|
53256
53256
|
var regExpExec$2$1 = regexpExecAbstract$3;
|
|
53257
53257
|
var max$3 = Math.max;
|
|
53258
53258
|
var min$1$1 = Math.min;
|
|
53259
|
-
var floor$
|
|
53259
|
+
var floor$1$2 = Math.floor;
|
|
53260
53260
|
var SUBSTITUTION_SYMBOLS$2 = /\$([$&'`]|\d\d?|<[^>]*>)/g;
|
|
53261
53261
|
var SUBSTITUTION_SYMBOLS_NO_NAMED$2 = /\$([$&'`]|\d\d?)/g;
|
|
53262
53262
|
|
|
@@ -53272,7 +53272,7 @@ fixRegExpWellKnownSymbolLogic$3$1('replace', 2, function (REPLACE, nativeReplace
|
|
|
53272
53272
|
return [// `String.prototype.replace` method
|
|
53273
53273
|
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
|
53274
53274
|
function replace(searchValue, replaceValue) {
|
|
53275
|
-
var O = requireObjectCoercible$
|
|
53275
|
+
var O = requireObjectCoercible$5$2(this);
|
|
53276
53276
|
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
53277
53277
|
return replacer !== undefined ? replacer.call(searchValue, O, replaceValue) : nativeReplace.call(String(O), searchValue, replaceValue);
|
|
53278
53278
|
}, // `RegExp.prototype[@@replace]` method
|
|
@@ -53311,7 +53311,7 @@ fixRegExpWellKnownSymbolLogic$3$1('replace', 2, function (REPLACE, nativeReplace
|
|
|
53311
53311
|
for (var i = 0; i < results.length; i++) {
|
|
53312
53312
|
result = results[i];
|
|
53313
53313
|
var matched = String(result[0]);
|
|
53314
|
-
var position = max$3(min$1$1(toInteger$
|
|
53314
|
+
var position = max$3(min$1$1(toInteger$2$2(result.index), S.length), 0);
|
|
53315
53315
|
var captures = []; // NOTE: This is equivalent to
|
|
53316
53316
|
// captures = result.slice(1).map(maybeToString)
|
|
53317
53317
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
@@ -53375,7 +53375,7 @@ fixRegExpWellKnownSymbolLogic$3$1('replace', 2, function (REPLACE, nativeReplace
|
|
|
53375
53375
|
if (n === 0) return match;
|
|
53376
53376
|
|
|
53377
53377
|
if (n > m) {
|
|
53378
|
-
var f = floor$
|
|
53378
|
+
var f = floor$1$2(n / 10);
|
|
53379
53379
|
if (f === 0) return match;
|
|
53380
53380
|
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
53381
53381
|
return match;
|
|
@@ -53583,11 +53583,11 @@ var PluginWrapper = function PluginWrapper(_a) {
|
|
|
53583
53583
|
}), void 0);
|
|
53584
53584
|
};
|
|
53585
53585
|
|
|
53586
|
-
var classof$
|
|
53586
|
+
var classof$1$3 = classofRaw$1$2; // `IsArray` abstract operation
|
|
53587
53587
|
// https://tc39.github.io/ecma262/#sec-isarray
|
|
53588
53588
|
|
|
53589
53589
|
var isArray$3$2 = Array.isArray || function isArray(arg) {
|
|
53590
|
-
return classof$
|
|
53590
|
+
return classof$1$3(arg) == 'Array';
|
|
53591
53591
|
};
|
|
53592
53592
|
|
|
53593
53593
|
var isArray$2$2 = isArray$3$2;
|
|
@@ -53643,7 +53643,7 @@ var arraySpeciesCreate$1$2 = function (originalArray, length) {
|
|
|
53643
53643
|
return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
|
|
53644
53644
|
};
|
|
53645
53645
|
|
|
53646
|
-
var $$
|
|
53646
|
+
var $$6$2 = _export$2;
|
|
53647
53647
|
var flattenIntoArray$3 = flattenIntoArray_1$2;
|
|
53648
53648
|
var toObject$2$2 = toObject$6$2;
|
|
53649
53649
|
var toLength$2$2 = toLength$a$1;
|
|
@@ -53651,7 +53651,7 @@ var aFunction$1$2 = aFunction$7$2;
|
|
|
53651
53651
|
var arraySpeciesCreate$3 = arraySpeciesCreate$1$2; // `Array.prototype.flatMap` method
|
|
53652
53652
|
// https://github.com/tc39/proposal-flatMap
|
|
53653
53653
|
|
|
53654
|
-
$$
|
|
53654
|
+
$$6$2({
|
|
53655
53655
|
target: 'Array',
|
|
53656
53656
|
proto: true
|
|
53657
53657
|
}, {
|
|
@@ -53680,7 +53680,7 @@ var sameValue$1$3 = Object.is || function is(x, y) {
|
|
|
53680
53680
|
|
|
53681
53681
|
var fixRegExpWellKnownSymbolLogic$2$2 = fixRegexpWellKnownSymbolLogic$3;
|
|
53682
53682
|
var anObject$3$3 = anObject$f$1;
|
|
53683
|
-
var requireObjectCoercible$
|
|
53683
|
+
var requireObjectCoercible$4$2 = requireObjectCoercible$c$1;
|
|
53684
53684
|
var sameValue$4 = sameValue$1$3;
|
|
53685
53685
|
var regExpExec$1$3 = regexpExecAbstract$3; // @@search logic
|
|
53686
53686
|
|
|
@@ -53688,7 +53688,7 @@ fixRegExpWellKnownSymbolLogic$2$2('search', 1, function (SEARCH, nativeSearch, m
|
|
|
53688
53688
|
return [// `String.prototype.search` method
|
|
53689
53689
|
// https://tc39.github.io/ecma262/#sec-string.prototype.search
|
|
53690
53690
|
function search(regexp) {
|
|
53691
|
-
var O = requireObjectCoercible$
|
|
53691
|
+
var O = requireObjectCoercible$4$2(this);
|
|
53692
53692
|
var searcher = regexp == undefined ? undefined : regexp[SEARCH];
|
|
53693
53693
|
return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
|
|
53694
53694
|
}, // `RegExp.prototype[@@search]` method
|
|
@@ -53839,7 +53839,7 @@ var Plugins = function Plugins(_a) {
|
|
|
53839
53839
|
};
|
|
53840
53840
|
|
|
53841
53841
|
var DESCRIPTORS$c = descriptors$2;
|
|
53842
|
-
var fails$
|
|
53842
|
+
var fails$5$2 = fails$h$2;
|
|
53843
53843
|
var objectKeys$4 = objectKeys$2$2;
|
|
53844
53844
|
var getOwnPropertySymbolsModule$3 = objectGetOwnPropertySymbols$2;
|
|
53845
53845
|
var propertyIsEnumerableModule$3 = objectPropertyIsEnumerable$2;
|
|
@@ -53849,7 +53849,7 @@ var nativeAssign$2 = Object.assign;
|
|
|
53849
53849
|
var defineProperty$6 = Object.defineProperty; // `Object.assign` method
|
|
53850
53850
|
// https://tc39.github.io/ecma262/#sec-object.assign
|
|
53851
53851
|
|
|
53852
|
-
var objectAssign$3 = !nativeAssign$2 || fails$
|
|
53852
|
+
var objectAssign$3 = !nativeAssign$2 || fails$5$2(function () {
|
|
53853
53853
|
// should have correct order of operations (Edge bug)
|
|
53854
53854
|
if (DESCRIPTORS$c && nativeAssign$2({
|
|
53855
53855
|
b: 1
|
|
@@ -53898,17 +53898,182 @@ var objectAssign$3 = !nativeAssign$2 || fails$4$2(function () {
|
|
|
53898
53898
|
|
|
53899
53899
|
return T;
|
|
53900
53900
|
} : nativeAssign$2;
|
|
53901
|
-
var $$
|
|
53901
|
+
var $$5$2 = _export$2;
|
|
53902
53902
|
var assign$5 = objectAssign$3; // `Object.assign` method
|
|
53903
53903
|
// https://tc39.github.io/ecma262/#sec-object.assign
|
|
53904
53904
|
|
|
53905
|
-
$$
|
|
53905
|
+
$$5$2({
|
|
53906
53906
|
target: 'Object',
|
|
53907
53907
|
stat: true,
|
|
53908
53908
|
forced: Object.assign !== assign$5
|
|
53909
53909
|
}, {
|
|
53910
53910
|
assign: assign$5
|
|
53911
53911
|
});
|
|
53912
|
+
var classof$d = classofRaw$1$2; // `thisNumberValue` abstract operation
|
|
53913
|
+
// https://tc39.github.io/ecma262/#sec-thisnumbervalue
|
|
53914
|
+
|
|
53915
|
+
var thisNumberValue$1 = function (value) {
|
|
53916
|
+
if (typeof value != 'number' && classof$d(value) != 'Number') {
|
|
53917
|
+
throw TypeError('Incorrect invocation');
|
|
53918
|
+
}
|
|
53919
|
+
|
|
53920
|
+
return +value;
|
|
53921
|
+
};
|
|
53922
|
+
|
|
53923
|
+
var toInteger$1$3 = toInteger$6$1;
|
|
53924
|
+
var requireObjectCoercible$3$3 = requireObjectCoercible$c$1; // `String.prototype.repeat` method implementation
|
|
53925
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.repeat
|
|
53926
|
+
|
|
53927
|
+
var stringRepeat = ''.repeat || function repeat(count) {
|
|
53928
|
+
var str = String(requireObjectCoercible$3$3(this));
|
|
53929
|
+
var result = '';
|
|
53930
|
+
var n = toInteger$1$3(count);
|
|
53931
|
+
if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
|
|
53932
|
+
|
|
53933
|
+
for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
53934
|
+
|
|
53935
|
+
return result;
|
|
53936
|
+
};
|
|
53937
|
+
|
|
53938
|
+
var $$4$2 = _export$2;
|
|
53939
|
+
var toInteger$7 = toInteger$6$1;
|
|
53940
|
+
var thisNumberValue = thisNumberValue$1;
|
|
53941
|
+
var repeat = stringRepeat;
|
|
53942
|
+
var fails$4$2 = fails$h$2;
|
|
53943
|
+
var nativeToFixed = 1.0.toFixed;
|
|
53944
|
+
var floor$5 = Math.floor;
|
|
53945
|
+
|
|
53946
|
+
var pow$1 = function (x, n, acc) {
|
|
53947
|
+
return n === 0 ? acc : n % 2 === 1 ? pow$1(x, n - 1, acc * x) : pow$1(x * x, n / 2, acc);
|
|
53948
|
+
};
|
|
53949
|
+
|
|
53950
|
+
var log$1 = function (x) {
|
|
53951
|
+
var n = 0;
|
|
53952
|
+
var x2 = x;
|
|
53953
|
+
|
|
53954
|
+
while (x2 >= 4096) {
|
|
53955
|
+
n += 12;
|
|
53956
|
+
x2 /= 4096;
|
|
53957
|
+
}
|
|
53958
|
+
|
|
53959
|
+
while (x2 >= 2) {
|
|
53960
|
+
n += 1;
|
|
53961
|
+
x2 /= 2;
|
|
53962
|
+
}
|
|
53963
|
+
|
|
53964
|
+
return n;
|
|
53965
|
+
};
|
|
53966
|
+
|
|
53967
|
+
var FORCED$2$2 = nativeToFixed && (0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128') || !fails$4$2(function () {
|
|
53968
|
+
// V8 ~ Android 4.3-
|
|
53969
|
+
nativeToFixed.call({});
|
|
53970
|
+
}); // `Number.prototype.toFixed` method
|
|
53971
|
+
// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed
|
|
53972
|
+
|
|
53973
|
+
$$4$2({
|
|
53974
|
+
target: 'Number',
|
|
53975
|
+
proto: true,
|
|
53976
|
+
forced: FORCED$2$2
|
|
53977
|
+
}, {
|
|
53978
|
+
// eslint-disable-next-line max-statements
|
|
53979
|
+
toFixed: function toFixed(fractionDigits) {
|
|
53980
|
+
var number = thisNumberValue(this);
|
|
53981
|
+
var fractDigits = toInteger$7(fractionDigits);
|
|
53982
|
+
var data = [0, 0, 0, 0, 0, 0];
|
|
53983
|
+
var sign = '';
|
|
53984
|
+
var result = '0';
|
|
53985
|
+
var e, z, j, k;
|
|
53986
|
+
|
|
53987
|
+
var multiply = function (n, c) {
|
|
53988
|
+
var index = -1;
|
|
53989
|
+
var c2 = c;
|
|
53990
|
+
|
|
53991
|
+
while (++index < 6) {
|
|
53992
|
+
c2 += n * data[index];
|
|
53993
|
+
data[index] = c2 % 1e7;
|
|
53994
|
+
c2 = floor$5(c2 / 1e7);
|
|
53995
|
+
}
|
|
53996
|
+
};
|
|
53997
|
+
|
|
53998
|
+
var divide = function (n) {
|
|
53999
|
+
var index = 6;
|
|
54000
|
+
var c = 0;
|
|
54001
|
+
|
|
54002
|
+
while (--index >= 0) {
|
|
54003
|
+
c += data[index];
|
|
54004
|
+
data[index] = floor$5(c / n);
|
|
54005
|
+
c = c % n * 1e7;
|
|
54006
|
+
}
|
|
54007
|
+
};
|
|
54008
|
+
|
|
54009
|
+
var dataToString = function () {
|
|
54010
|
+
var index = 6;
|
|
54011
|
+
var s = '';
|
|
54012
|
+
|
|
54013
|
+
while (--index >= 0) {
|
|
54014
|
+
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
54015
|
+
var t = String(data[index]);
|
|
54016
|
+
s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;
|
|
54017
|
+
}
|
|
54018
|
+
}
|
|
54019
|
+
|
|
54020
|
+
return s;
|
|
54021
|
+
};
|
|
54022
|
+
|
|
54023
|
+
if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); // eslint-disable-next-line no-self-compare
|
|
54024
|
+
|
|
54025
|
+
if (number != number) return 'NaN';
|
|
54026
|
+
if (number <= -1e21 || number >= 1e21) return String(number);
|
|
54027
|
+
|
|
54028
|
+
if (number < 0) {
|
|
54029
|
+
sign = '-';
|
|
54030
|
+
number = -number;
|
|
54031
|
+
}
|
|
54032
|
+
|
|
54033
|
+
if (number > 1e-21) {
|
|
54034
|
+
e = log$1(number * pow$1(2, 69, 1)) - 69;
|
|
54035
|
+
z = e < 0 ? number * pow$1(2, -e, 1) : number / pow$1(2, e, 1);
|
|
54036
|
+
z *= 0x10000000000000;
|
|
54037
|
+
e = 52 - e;
|
|
54038
|
+
|
|
54039
|
+
if (e > 0) {
|
|
54040
|
+
multiply(0, z);
|
|
54041
|
+
j = fractDigits;
|
|
54042
|
+
|
|
54043
|
+
while (j >= 7) {
|
|
54044
|
+
multiply(1e7, 0);
|
|
54045
|
+
j -= 7;
|
|
54046
|
+
}
|
|
54047
|
+
|
|
54048
|
+
multiply(pow$1(10, j, 1), 0);
|
|
54049
|
+
j = e - 1;
|
|
54050
|
+
|
|
54051
|
+
while (j >= 23) {
|
|
54052
|
+
divide(1 << 23);
|
|
54053
|
+
j -= 23;
|
|
54054
|
+
}
|
|
54055
|
+
|
|
54056
|
+
divide(1 << j);
|
|
54057
|
+
multiply(1, 1);
|
|
54058
|
+
divide(2);
|
|
54059
|
+
result = dataToString();
|
|
54060
|
+
} else {
|
|
54061
|
+
multiply(0, z);
|
|
54062
|
+
multiply(1 << -e, 0);
|
|
54063
|
+
result = dataToString() + repeat.call('0', fractDigits);
|
|
54064
|
+
}
|
|
54065
|
+
}
|
|
54066
|
+
|
|
54067
|
+
if (fractDigits > 0) {
|
|
54068
|
+
k = result.length;
|
|
54069
|
+
result = sign + (k <= fractDigits ? '0.' + repeat.call('0', fractDigits - k) + result : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
|
|
54070
|
+
} else {
|
|
54071
|
+
result = sign + result;
|
|
54072
|
+
}
|
|
54073
|
+
|
|
54074
|
+
return result;
|
|
54075
|
+
}
|
|
54076
|
+
});
|
|
53912
54077
|
var primaryColor = "#512DA8";
|
|
53913
54078
|
var secondaryColor = "#6AE6C6";
|
|
53914
54079
|
var defaultThemeColorsFile = {
|
|
@@ -53993,7 +54158,7 @@ var defaultTheme = {
|
|
|
53993
54158
|
var fixRegExpWellKnownSymbolLogic$1$3 = fixRegexpWellKnownSymbolLogic$3;
|
|
53994
54159
|
var anObject$2$3 = anObject$f$1;
|
|
53995
54160
|
var toLength$1$2 = toLength$a$1;
|
|
53996
|
-
var requireObjectCoercible$2$3 = requireObjectCoercible$
|
|
54161
|
+
var requireObjectCoercible$2$3 = requireObjectCoercible$c$1;
|
|
53997
54162
|
var advanceStringIndex$1$3 = advanceStringIndex$3$1;
|
|
53998
54163
|
var regExpExec$5 = regexpExecAbstract$3; // @@match logic
|
|
53999
54164
|
|
|
@@ -54031,7 +54196,7 @@ fixRegExpWellKnownSymbolLogic$1$3('match', 1, function (MATCH, nativeMatch, mayb
|
|
|
54031
54196
|
// eslint-disable-next-line max-len
|
|
54032
54197
|
|
|
54033
54198
|
var whitespaces$3$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
54034
|
-
var requireObjectCoercible$1$3 = requireObjectCoercible$
|
|
54199
|
+
var requireObjectCoercible$1$3 = requireObjectCoercible$c$1;
|
|
54035
54200
|
var whitespaces$2$3 = whitespaces$3$1;
|
|
54036
54201
|
var whitespace$3 = '[' + whitespaces$2$3 + ']';
|
|
54037
54202
|
var ltrim$3 = RegExp('^' + whitespace$3 + whitespace$3 + '*');
|
|
@@ -54082,13 +54247,13 @@ $$3$2({
|
|
|
54082
54247
|
var fixRegExpWellKnownSymbolLogic$6 = fixRegexpWellKnownSymbolLogic$3;
|
|
54083
54248
|
var isRegExp$9 = isRegexp$3;
|
|
54084
54249
|
var anObject$1$3 = anObject$f$1;
|
|
54085
|
-
var requireObjectCoercible$g = requireObjectCoercible$
|
|
54250
|
+
var requireObjectCoercible$g = requireObjectCoercible$c$1;
|
|
54086
54251
|
var speciesConstructor$4 = speciesConstructor$2$2;
|
|
54087
54252
|
var advanceStringIndex$6 = advanceStringIndex$3$1;
|
|
54088
54253
|
var toLength$e = toLength$a$1;
|
|
54089
54254
|
var callRegExpExec$2 = regexpExecAbstract$3;
|
|
54090
54255
|
var regexpExec$6 = regexpExec$3$2;
|
|
54091
|
-
var fails$3$3 = fails$
|
|
54256
|
+
var fails$3$3 = fails$h$2;
|
|
54092
54257
|
var arrayPush$2 = [].push;
|
|
54093
54258
|
var min$8 = Math.min;
|
|
54094
54259
|
var MAX_UINT32$2 = 0xFFFFFFFF; // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
|
@@ -54199,7 +54364,7 @@ fixRegExpWellKnownSymbolLogic$6('split', 2, function (SPLIT, nativeSplit, maybeC
|
|
|
54199
54364
|
return A;
|
|
54200
54365
|
}];
|
|
54201
54366
|
}, !SUPPORTS_Y$2);
|
|
54202
|
-
var fails$2$3 = fails$
|
|
54367
|
+
var fails$2$3 = fails$h$2;
|
|
54203
54368
|
var whitespaces$6 = whitespaces$3$1;
|
|
54204
54369
|
var non$3 = '\u200B\u0085\u180E'; // check that a method works with the correct list
|
|
54205
54370
|
// of whitespaces and has a correct name
|
|
@@ -54226,7 +54391,7 @@ $$2$3({
|
|
|
54226
54391
|
});
|
|
54227
54392
|
var redefine$c = redefine$6$2.exports;
|
|
54228
54393
|
var anObject$k = anObject$f$1;
|
|
54229
|
-
var fails$1$3 = fails$
|
|
54394
|
+
var fails$1$3 = fails$h$2;
|
|
54230
54395
|
var flags$3 = regexpFlags$1$3;
|
|
54231
54396
|
var TO_STRING$3 = 'toString';
|
|
54232
54397
|
var RegExpPrototype$5 = RegExp.prototype;
|
|
@@ -55473,7 +55638,7 @@ function useListener(type, listener, deps) {
|
|
|
55473
55638
|
var $$1$3 = _export$2;
|
|
55474
55639
|
var aFunction$a = aFunction$7$2;
|
|
55475
55640
|
var toObject$a = toObject$6$2;
|
|
55476
|
-
var fails$l = fails$
|
|
55641
|
+
var fails$l = fails$h$2;
|
|
55477
55642
|
var arrayMethodIsStrict$4 = arrayMethodIsStrict$2$2;
|
|
55478
55643
|
var test$1$2 = [];
|
|
55479
55644
|
var nativeSort$2 = test$1$2.sort; // IE8-
|
|
@@ -85374,7 +85539,7 @@ var GlobalDropdownCalloutStyle = createGlobalStyle(templateObject_1$7$1 || (temp
|
|
|
85374
85539
|
var StyledDropdown$1 = _styled(Dropdown).withConfig({
|
|
85375
85540
|
displayName: "ToolbarChannelSelector__StyledDropdown",
|
|
85376
85541
|
componentId: "sc-fwvaya-0"
|
|
85377
|
-
})(templateObject_2$5$2 || (templateObject_2$5$2 = __makeTemplateObject$1(["\n ", "\n"], ["\n ", "\n"])), ToolbarDropdownStyles);
|
|
85542
|
+
})(templateObject_2$5$2 || (templateObject_2$5$2 = __makeTemplateObject$1(["\n ", "\n display: flex;\n align-items: center;\n"], ["\n ", "\n display: flex;\n align-items: center;\n"])), ToolbarDropdownStyles);
|
|
85378
85543
|
|
|
85379
85544
|
var DropdownNavLink = _styled(NavLink).withConfig({
|
|
85380
85545
|
displayName: "ToolbarChannelSelector__DropdownNavLink",
|
|
@@ -87658,9 +87823,9 @@ var AuthenticationContextProvider = function AuthenticationContextProvider(_a) {
|
|
|
87658
87823
|
}), void 0);
|
|
87659
87824
|
};
|
|
87660
87825
|
|
|
87661
|
-
var version$1 = "0.4.0-preview.
|
|
87662
|
-
var buildId = "
|
|
87663
|
-
var commitId = "
|
|
87826
|
+
var version$1 = "0.4.0-preview.308";
|
|
87827
|
+
var buildId = "100326";
|
|
87828
|
+
var commitId = "aba28b2722774945eaeaec79302015ef7243b830";
|
|
87664
87829
|
var isCustomerBuild = false;
|
|
87665
87830
|
var buildInfo = {
|
|
87666
87831
|
version: version$1,
|
|
@@ -131963,7 +132128,7 @@ var handleAttachmentCallback=useCallback(handleAttachmentsAdded,[attachments,set
|
|
|
131963
132128
|
// => we should display a retry button on the attachment preview
|
|
131964
132129
|
.then(function(){if(ignoreRef.current){return;}setAttachments(function(attachments){return attachments.map(function(a){return a.id!==newAttachment.id?a:__assign(__assign({},a),{isUploadInProgress:false});});});},function(error){logger.error(error);if(!warningToastHandle.current){warningToastHandle.current=showToastWarning('Attachments.uploadError',undefined,function(){return warningToastHandle.current=null;});}if(ignoreRef.current){return;}setAttachments(function(attachments){return attachments.map(function(a){return a.id!==newAttachment.id?a:__assign(__assign({},a),{hasError:true,isUploadInProgress:false});});});});};for(_i=0,newAttachments_1=newAttachments;_i<newAttachments_1.length;_i++){newAttachment=newAttachments_1[_i];_loop_1(newAttachment);}return [2/*return*/];});});}function clearAttachments(){if(!ignoreRef.current){setAttachments([]);setDeletedAttachmentUrls([]);}}function deleteAttachment(attachment){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(_a){switch(_a.label){case 0:return [4/*yield*/,handleAttachmentsAdded(attachments.filter(function(f){return f.id!==attachment.id;}))];case 1:_a.sent();setDeletedAttachmentUrls(__spreadArray(__spreadArray([],deletedAttachmentUrls),[attachment.url]));return [2/*return*/];}});});}function uploadAttachment(basePath,attachment){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(_a){if(attachment.type===AttachmentType.Image){return [2/*return*/,uploadImage(basePath,user.subscription.id,attachment.id,containerId,attachment.file)];}else {return [2/*return*/,uploadFile(basePath,user.subscription.id,attachment.id,containerId,attachment.file)];}});});}}var EditCommentWithAttachments=function EditCommentWithAttachments(props){var user=useCurrentUser();var getImageUrl=useAttachmentsApi().getImageUrl;var _a=useAttachmentUploader(props.item.attachments,props.item.attachmentContainerId,props.basePath),attachments=_a[0],handleAttachmentsAdded=_a[1],deletedAttachmentUrls=_a[3],onDeleteAttachment=_a[4];return jsx$1(EditComment,__assign({},props,{allowSaveWithoutContent:props.allowSaveWithoutContent,saveOnEnter:props.saveOnEnter,saveOnCtrlEnter:props.saveOnCtrlEnter,files:attachments.map(function(a){return __assign(__assign({},a),!isClientAttachment(a)&&{previewUrl:getImageUrl(props.basePath,user.subscription.id,props.item,a.id)});}),allowAttachments:!!props.basePath,onSave:handlePost,onAttachmentAdded:handleAttachmentsAdded,allowKeywords:props.allowKeywords,availableKeywords:props.availableKeywords,mandatoryKeywords:props.mandatoryKeywords,keywords:props.keywords,deletedFileUrls:deletedAttachmentUrls,onDeleteAttachment:onDeleteAttachment,attachmentPreviewTheme:props.attachmentPreviewTheme}),void 0);function handlePost(newContent,keywords){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(_a){switch(_a.label){case 0:return [4/*yield*/,props.onSave(newContent,attachments,keywords)];case 1:_a.sent();return [2/*return*/];}});});}};function isClientAttachment(value){return value.file!=null;}var CommentDisplay=function CommentDisplay(_a){var _b;var type=_a.type,baseAttachmentPath=_a.baseAttachmentPath,message=_a.message,onDelete=_a.onDelete,showDelete=_a.showDelete,showAutoTranslate=_a.showAutoTranslate,showEdit=_a.showEdit,scope=_a.scope,mentionSearchHandler=_a.mentionSearchHandler,getHashtagFilterRoute=_a.getHashtagFilterRoute,highlight=_a.highlight,isInitialLiked=_a.isInitialLiked,onReplyIconClick=_a.onReplyIconClick,onReply=_a.onReply,replyCount=_a.replyCount,readOnly=_a.readOnly,className=_a.className;var _c=useCommentApi(),toggleCommentLike=_c.toggleCommentLike,translateComment=_c.translateComment,updateComment=_c.updateComment;var formatMessage=useIntl().formatMessage;var _d=useNotificationContext(),showToast=_d.showToast,showError=_d.showError;var _e=useState$2(false),isEditMode=_e[0],setIsEditMode=_e[1];var _f=useState$2(message.content),content=_f[0],setContent=_f[1];var _g=useState$2(message.attachments),attachments=_g[0],setAttachments=_g[1];var _h=useState$2(message.modified),modifiedTime=_h[0],setModifiedTime=_h[1];var _j=useState$2(message.content),originalContent=_j[0],setOriginalContent=_j[1];var _k=useState$2(isInitialLiked),isLiked=_k[0],setIsLiked=_k[1];var _l=useState$2(((_b=message.statistics)===null||_b===void 0?void 0:_b.likeCount)||0),likeCounter=_l[0],setLikeCounter=_l[1];var features=useFeatures();var palette=useContext(ThemeContext$1).theme.palette;var hasContent=content.length>0;message=__assign(__assign({},message),{attachments:attachments});return jsxs(Container$1,__assign({className:className,"data-comment-id":message.id,"data-has-auto-translate":showAutoTranslate,"data-can-edit":showEdit,"data-can-delete":showDelete,"data-show-highlight":highlight,highlight:highlight,id:"Comment-"+message.id},{children:[jsxs(Header$1,{children:[jsx$1(CommentUser,__assign({upn:message.sender.userPrincipalName,domIdentifier:"avatar"},{children:jsx$1(Avatar,{upn:message.sender.userPrincipalName,text:message.sender.displayName,size:PersonaSize.small,hidePersonaDetails:true},void 0)}),void 0),jsxs(HeaderMetadata$1,{children:[jsx$1(CommentDisplayName,{children:jsx$1(StyledPersonaCard$1,__assign({upn:message.sender.userPrincipalName},{children:message.sender.displayName}),void 0)},void 0),jsx$1(CommentDateTime,{className:"ms-fontColor-neutralTertiary",value:message.receivedDateTime},void 0),jsx$1(Modified,{modified:modifiedTime},void 0)]},void 0),message.id&&jsxs(Buttons$1,{children:[features.replyToComments&&replyCount>0&&jsx$1(ReplyCountButton,{tooltipResourceKey:"Comment.numberOfReplies",tooltipResourceKeyValues:{count:replyCount},ariaLabel:formatMessage({id:onReplyIconClick?'AriaLabel.commentsButton':'AriaLabel.repliesButton'}),iconName:"Chat",count:replyCount,feedbackType:"comment",onClick:onReplyIconClick!==null&&onReplyIconClick!==void 0?onReplyIconClick:onReply?function(){return onReply(message.id);}:null,highlight:message.hasUnreadReplies,readOnly:readOnly},void 0),jsx$1(StyledLikeButton$1,{itemId:message.id,itemType:ItemResourceTypes.Comments,count:likeCounter,isActive:isLiked,onClick:function(){return handleLike(!isLiked);},doNotRenderZeroCount:true,isDemoContent:message.isDemoContent,readOnly:readOnly},void 0),jsx$1(CommentActionMenu,{comment:message,showEdit:showEdit,onDelete:onDelete,showDelete:showDelete,isEditMode:isEditMode,toggleEditMode:setIsEditMode,originalContent:originalContent,currentContent:content,setContent:setContent,handleTranslate:handleTranslate,showAutoTranslate:showAutoTranslate,onReply:onReply,disabled:readOnly},void 0)]},void 0)]},void 0),jsxs(Body,{children:[isEditMode&&jsx$1(StyledEditCommentWithAttachments,{content:content,mentionSearchHandler:mentionSearchHandler,onSave:handleSaveComment,onCancel:function(){return setIsEditMode(false);},basePath:baseAttachmentPath,item:message,allowSaveWithoutContent:true,saveOnCtrlEnter:true,ariaLabel:formatMessage({id:'AriaLabel.commentInput'})},void 0),!isEditMode&&hasContent&&jsx$1(Fragment,{children:jsx$1(Content$4,__assign({"data-comment-content":message.id},{children:jsx$1(ContentDisplay,{content:content,handlers:[ContentDisplayHandler.LineBreak,ContentDisplayHandler.Link,ContentDisplayHandler.Mention,ContentDisplayHandler.Hashtag],getHashtagRoute:getHashtagFilterRoute},void 0)}),void 0)},void 0)]},void 0),!isEditMode&&(attachments===null||attachments===void 0?void 0:attachments.length)>0&&jsxs("div",__assign({"data-mixed-attachment-list":true},{children:[jsx$1(GifList,{attachments:message.attachments},void 0),jsx$1(StyledImagesAndFilesList$1,{item:message,basePath:baseAttachmentPath,imagesGridBackgroundColor:palette.white},void 0),jsx$1(VideoList,{attachments:message.attachments},void 0),jsx$1(EmbeddedObjectList,{attachments:message.attachments},void 0)]}),void 0)]}),void 0);function handleLike(newIsLiked){return __awaiter(this,void 0,void 0,function(){var oldCounter,error_1;return __generator(this,function(_a){switch(_a.label){case 0:oldCounter=likeCounter;_a.label=1;case 1:_a.trys.push([1,3,,4]);setIsLiked(newIsLiked);setLikeCounter(newIsLiked?oldCounter+1:oldCounter-1);return [4/*yield*/,toggleCommentLike(message.id,newIsLiked)];case 2:_a.sent();return [3/*break*/,4];case 3:error_1=_a.sent();setIsLiked(!newIsLiked);setLikeCounter(oldCounter);logger.error(error_1);showError('Generic.error');return [3/*break*/,4];case 4:return [2/*return*/];}});});}function handleSaveComment(newContent,newAttachments){return __awaiter(this,void 0,void 0,function(){var error_2;return __generator(this,function(_a){switch(_a.label){case 0:setContent(newContent);setAttachments(newAttachments);setIsEditMode(false);setModifiedTime(new Date().toISOString());setOriginalContent(newContent);_a.label=1;case 1:_a.trys.push([1,3,,4]);return [4/*yield*/,updateComment(scope,message.parentItemId,message.id,newContent,newAttachments,type)];case 2:_a.sent();showToast('Comment.successfullyUpdated');return [3/*break*/,4];case 3:error_2=_a.sent();logger.error(error_2);showError('Generic.error');return [3/*break*/,4];case 4:return [2/*return*/];}});});}function handleTranslate(preferredContentLanguageCode){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(_b){switch(_b.label){case 0:_b.trys.push([0,2,,3]);return [4/*yield*/,translateComment(type,scope,message.parentItemId,message.id,preferredContentLanguageCode)];case 1:return [2/*return*/,_b.sent()];case 2:_b.sent();showError('Generic.error');return [2/*return*/,null];case 3:return [2/*return*/];}});});}};var Header$1=_styled.div.withConfig({displayName:"CommentDisplay__Header",componentId:"sc-el7c23-0"})(templateObject_1$1G||(templateObject_1$1G=__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"])));var avatarWidth$1=40;var maxButtonsWidth$1=125;// max 3 buttons (menu button, replies, like)
|
|
131965
132130
|
var paddingLeft$1=spacingS;var HeaderMetadata$1=_styled.div.withConfig({displayName:"CommentDisplay__HeaderMetadata",componentId:"sc-el7c23-1"})(templateObject_2$$||(templateObject_2$$=__makeTemplateObject(["\n flex: 1;\n box-sizing: border-box;\n font-size: ","px;\n padding-left: ","px;\n max-width: calc(100% - ","px - ","px);\n"],["\n flex: 1;\n box-sizing: border-box;\n font-size: ","px;\n padding-left: ","px;\n max-width: calc(100% - ","px - ","px);\n"])),fontSizeSmall,paddingLeft$1,avatarWidth$1,maxButtonsWidth$1);var CommentDisplayName=_styled.div.withConfig({displayName:"CommentDisplay__CommentDisplayName",componentId:"sc-el7c23-2"})(templateObject_3$F||(templateObject_3$F=__makeTemplateObject(["\n font-weight: bold;\n"],["\n font-weight: bold;\n"])));var StyledPersonaCard$1=_styled(PersonaCard).withConfig({displayName:"CommentDisplay__StyledPersonaCard",componentId:"sc-el7c23-3"})(templateObject_4$q||(templateObject_4$q=__makeTemplateObject(["\n && {\n max-width: 100%;\n .ms-Button {\n width: 100%;\n }\n .ms-Button-textContainer {\n width: 100%;\n }\n\n .ms-Button-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n }\n"],["\n && {\n max-width: 100%;\n .ms-Button {\n width: 100%;\n }\n .ms-Button-textContainer {\n width: 100%;\n }\n\n .ms-Button-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n }\n"])));var CommentDateTime=_styled(DateTime).withConfig({displayName:"CommentDisplay__CommentDateTime",componentId:"sc-el7c23-4"})(templateObject_5$n||(templateObject_5$n=__makeTemplateObject(["\n font-size: 12px;\n"],["\n font-size: 12px;\n"])));var Buttons$1=_styled.div.withConfig({displayName:"CommentDisplay__Buttons",componentId:"sc-el7c23-5"})(templateObject_6$f||(templateObject_6$f=__makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: auto;\n\n button {\n height: auto;\n min-height: ","px; /* icons have a font-size of 20px */\n }\n"],["\n display: flex;\n align-items: center;\n margin-left: auto;\n\n button {\n height: auto;\n min-height: ","px; /* icons have a font-size of 20px */\n }\n"])),fontSizeLarge);var Body=_styled.div.withConfig({displayName:"CommentDisplay__Body",componentId:"sc-el7c23-6"})(templateObject_7$a||(templateObject_7$a=__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n margin-top: 5px;\n"],["\n display: flex;\n flex-direction: column;\n margin-top: 5px;\n"])));var Content$4=_styled.div.withConfig({displayName:"CommentDisplay__Content",componentId:"sc-el7c23-7"})(templateObject_8$9||(templateObject_8$9=__makeTemplateObject(["\n padding-top: ","px;\n flex: 1 1 auto;\n a {\n font-weight: bold;\n &:hover,\n &:active {\n text-decoration: underline;\n }\n }\n"],["\n padding-top: ","px;\n flex: 1 1 auto;\n a {\n font-weight: bold;\n &:hover,\n &:active {\n text-decoration: underline;\n }\n }\n"])),spacingXs);var Container$1=_styled.div.withConfig({displayName:"CommentDisplay__Container",componentId:"sc-el7c23-8"})(templateObject_10$7||(templateObject_10$7=__makeTemplateObject(["\n padding-bottom: 15px;\n font-size: ","px;\n line-height: ","px;\n\n ","\n"],["\n padding-bottom: 15px;\n font-size: ","px;\n line-height: ","px;\n\n ","\n"])),fontSizeSmall,spacingM,function(p){return p.highlight&&css$2(templateObject_9$8||(templateObject_9$8=__makeTemplateObject(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: -","px;\n bottom: 0;\n right: -","px;\n width: ","px;\n display: block;\n background-color: ",";\n }\n "],["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: -","px;\n bottom: 0;\n right: -","px;\n width: ","px;\n display: block;\n background-color: ",";\n }\n "])),postsSectionPadding,postsSectionPadding,spacingXs,function(p){return p.theme.palette.accent;});});var CommentUser=_styled(PersonaCard).withConfig({displayName:"CommentDisplay__CommentUser",componentId:"sc-el7c23-9"})(templateObject_11$3||(templateObject_11$3=__makeTemplateObject(["\n align-self: flex-start;\n"],["\n align-self: flex-start;\n"])));var StyledEditCommentWithAttachments=_styled(EditCommentWithAttachments).withConfig({displayName:"CommentDisplay__StyledEditCommentWithAttachments",componentId:"sc-el7c23-10"})(templateObject_12$2$1||(templateObject_12$2$1=__makeTemplateObject(["\n width: 100%;\n position: relative;\n"],["\n width: 100%;\n position: relative;\n"])));var StyledImagesAndFilesList$1=_styled(ImagesAndFilesList).withConfig({displayName:"CommentDisplay__StyledImagesAndFilesList",componentId:"sc-el7c23-11"})(templateObject_13$2$1||(templateObject_13$2$1=__makeTemplateObject(["\n margin-top: ","px;\n\n && [data-preload-video='true'] video {\n background-color: ",";\n }\n"],["\n margin-top: ","px;\n\n && [data-preload-video='true'] video {\n background-color: ",";\n }\n"])),spacingM,function(p){return p.theme.palette.white;});var FeedbackButtonStyle=css$2(templateObject_14$2$1||(templateObject_14$2$1=__makeTemplateObject(["\n min-width: auto;\n padding: 0 4px;\n\n && {\n margin-right: 0;\n }\n\n i {\n font-size: ","px;\n height: ","px;\n line-height: ","px;\n }\n"],["\n min-width: auto;\n padding: 0 4px;\n\n && {\n margin-right: 0;\n }\n\n i {\n font-size: ","px;\n height: ","px;\n line-height: ","px;\n }\n"])),fontSizeMedium+2,fontSizeMedium+2,fontSizeMedium+2);var StyledLikeButton$1=_styled(LikeButton).withConfig({displayName:"CommentDisplay__StyledLikeButton",componentId:"sc-el7c23-12"})(templateObject_15$2$1||(templateObject_15$2$1=__makeTemplateObject(["\n ","\n"],["\n ","\n"])),FeedbackButtonStyle);var ReplyCountButton=_styled(FeedbackCountButton).withConfig({displayName:"CommentDisplay__ReplyCountButton",componentId:"sc-el7c23-13"})(templateObject_16$2||(templateObject_16$2=__makeTemplateObject(["\n &&& {\n margin-right: ","px;\n }\n ","\n"],["\n &&& {\n margin-right: ","px;\n }\n ","\n"])),spacingS,FeedbackButtonStyle);var templateObject_1$1G,templateObject_2$$,templateObject_3$F,templateObject_4$q,templateObject_5$n,templateObject_6$f,templateObject_7$a,templateObject_8$9,templateObject_9$8,templateObject_10$7,templateObject_11$3,templateObject_12$2$1,templateObject_13$2$1,templateObject_14$2$1,templateObject_15$2$1,templateObject_16$2;var CardStatisticItem=function CardStatisticItem(_a){var count=_a.count,tooltipResourceKey=_a.tooltipResourceKey,icon=_a.icon,ariaLabel=_a.ariaLabel,targetRoute=_a.targetRoute,highlight=_a.highlight,onClick=_a.onClick,className=_a.className,domIdentifier=_a.domIdentifier;var formatMessage=useIntl().formatMessage;return jsx$1(Tooltip,__assign({resourceKey:tooltipResourceKey,values:{count:count},className:className},{children:onClick?jsx$1(StatisticButton,__assign({"data-statistic-button":domIdentifier,iconProps:{iconName:icon},onClick:onClick,"aria-label":formatMessage({id:ariaLabel})},{children:count>0&&jsx$1(StatisticCount,__assign({"aria-hidden":"true"},{children:count}),void 0)}),void 0):jsxs(StatisticLink,__assign({to:targetRoute,"aria-label":formatMessage({id:ariaLabel})},{children:[jsx$1(StatisticIcon,{iconName:icon,highlight:highlight},void 0),count>0&&jsx$1(StatisticCount,__assign({"aria-hidden":"true"},{children:count}),void 0)]}),void 0)}),void 0);};var StatisticLink=_styled(NavLink).withConfig({displayName:"CardStatisticItem__StatisticLink",componentId:"sc-1ll8iv5-0"})(templateObject_1$1F||(templateObject_1$1F=__makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n color: ",";\n height: ","px;\n"],["\n display: inline-flex;\n align-items: center;\n color: ",";\n height: ","px;\n"])),function(p){return p.theme.textColors.default;},feedbackButtonHeight);var StatisticButton=_styled(IconButton).withConfig({displayName:"CardStatisticItem__StatisticButton",componentId:"sc-1ll8iv5-1"})(templateObject_2$_||(templateObject_2$_=__makeTemplateObject(["\n && {\n width: auto;\n margin: 0;\n padding: 0;\n\n i {\n font-size: ","px;\n }\n }\n"],["\n && {\n width: auto;\n margin: 0;\n padding: 0;\n\n i {\n font-size: ","px;\n }\n }\n"])),fontSizeLarge-3);var StatisticIcon=_styled(Icon).withConfig({displayName:"CardStatisticItem__StatisticIcon",componentId:"sc-1ll8iv5-2"})(templateObject_3$E||(templateObject_3$E=__makeTemplateObject(["\n ","\n"],["\n ","\n"])),function(p){return p.highlight&&unreadCommentHighlight;});var StatisticCount=_styled.span.withConfig({displayName:"CardStatisticItem__StatisticCount",componentId:"sc-1ll8iv5-3"})(templateObject_4$p||(templateObject_4$p=__makeTemplateObject(["\n flex: 1 0 auto;\n padding-left: 5px;\n font-size: 0.9rem;\n"],["\n flex: 1 0 auto;\n padding-left: 5px;\n font-size: 0.9rem;\n"])));var templateObject_1$1F,templateObject_2$_,templateObject_3$E,templateObject_4$p;var BookmarkButton=function BookmarkButton(_a){var item=_a.item,isReadOnly=_a.isReadOnly,className=_a.className;var formatMessage=useIntl().formatMessage;var refreshStatistics=useNewsApi().refreshStatistics;var toggleBookmark=useManageCurrentUserApi().toggleBookmark;var user=useCurrentUser();var showError=useNotificationContext().showError;var _b=useState$2(isUserBookmarked),isBookmarked=_b[0],setIsBookmarked=_b[1];var _c=useState$2(false),isSaving=_c[0],setIsSaving=_c[1];var itemId=item===null||item===void 0?void 0:item.id;var resourceKey="BookmarkButton."+(isBookmarked?'remove':'add')+"Tooltip";useEffect$1(function(){setIsBookmarked(isUserBookmarked());// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
131966
|
-
},[itemId]);return jsx$1(Tooltip,__assign({className:className,resourceKey:resourceKey},{children:jsx$1(StyledIconButton$5,{iconProps:{iconName:isBookmarked?'SingleBookmarkSolid':'SingleBookmark'},"data-bookmark-button":itemId,onClick:toggle,"aria-label":formatMessage({id:resourceKey}),disabled:isReadOnly},void 0)}),void 0);function isUserBookmarked(){var _a;return (_a=user.bookmarks)===null||_a===void 0?void 0:_a.some(function(id){return id===(item===null||item===void 0?void 0:item.id);});}function toggle(e){return __awaiter(this,void 0,void 0,function(){var isNowBookmarked;return __generator(this,function(_a){switch(_a.label){case 0:e.preventDefault();e.stopPropagation();if(isSaving){return [2/*return*/];}setIsSaving(true);isNowBookmarked=!isBookmarked;setIsBookmarked(isNowBookmarked);_a.label=1;case 1:_a.trys.push([1,4,5,6]);return [4/*yield*/,toggleBookmark(itemId,user)];case 2:_a.sent();return [4/*yield*/,refreshStatistics(itemId,{bookmarkCount:isNowBookmarked?1:-1})];case 3:_a.sent();return [3/*break*/,6];case 4:_a.sent();setIsBookmarked(!isNowBookmarked);showError('Profile.bookmarkError');return [3/*break*/,6];case 5:setIsSaving(false);return [7/*endfinally*/];case 6:return [2/*return*/];}});});}};var StyledIconButton$5=_styled(IconButton).withConfig({displayName:"BookmarkButton__StyledIconButton",componentId:"sc-1ni4s3y-0"})(templateObject_1$1E||(templateObject_1$1E=__makeTemplateObject(["\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n i {\n font-size: 22px;\n }\n\n &[disabled] {\n background: transparent;\n }\n"],["\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n i {\n font-size: 22px;\n }\n\n &[disabled] {\n background: transparent;\n }\n"])));var templateObject_1$1E;var CardFooter=function CardFooter(_a){var item=_a.item,showComments=_a.showComments,targetRoute=_a.targetRoute;var metadata=item.metadata||{};var user=useCurrentUser();var showCommentsIcon=showComments&&item.statistics&&item.statistics.commentCount>0&&hasFeedbackType(metadata.feedbackSettings,'comment');return jsx$1(CardFooterHost,{children:jsxs(FooterRightSection,{children:[
|
|
132131
|
+
},[itemId]);return jsx$1(Tooltip,__assign({className:className,resourceKey:resourceKey},{children:jsx$1(StyledIconButton$5,{iconProps:{iconName:isBookmarked?'SingleBookmarkSolid':'SingleBookmark'},"data-bookmark-button":itemId,onClick:toggle,"aria-label":formatMessage({id:resourceKey}),disabled:isReadOnly},void 0)}),void 0);function isUserBookmarked(){var _a;return (_a=user.bookmarks)===null||_a===void 0?void 0:_a.some(function(id){return id===(item===null||item===void 0?void 0:item.id);});}function toggle(e){return __awaiter(this,void 0,void 0,function(){var isNowBookmarked;return __generator(this,function(_a){switch(_a.label){case 0:e.preventDefault();e.stopPropagation();if(isSaving){return [2/*return*/];}setIsSaving(true);isNowBookmarked=!isBookmarked;setIsBookmarked(isNowBookmarked);_a.label=1;case 1:_a.trys.push([1,4,5,6]);return [4/*yield*/,toggleBookmark(itemId,user)];case 2:_a.sent();return [4/*yield*/,refreshStatistics(itemId,{bookmarkCount:isNowBookmarked?1:-1})];case 3:_a.sent();return [3/*break*/,6];case 4:_a.sent();setIsBookmarked(!isNowBookmarked);showError('Profile.bookmarkError');return [3/*break*/,6];case 5:setIsSaving(false);return [7/*endfinally*/];case 6:return [2/*return*/];}});});}};var StyledIconButton$5=_styled(IconButton).withConfig({displayName:"BookmarkButton__StyledIconButton",componentId:"sc-1ni4s3y-0"})(templateObject_1$1E||(templateObject_1$1E=__makeTemplateObject(["\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n i {\n font-size: 22px;\n }\n\n &[disabled] {\n background: transparent;\n }\n"],["\n padding-left: 0;\n padding-right: 0;\n margin-left: -3px;\n\n i {\n font-size: 22px;\n }\n\n &[disabled] {\n background: transparent;\n }\n"])));var templateObject_1$1E;var CardFooter=function CardFooter(_a){var item=_a.item,showComments=_a.showComments,targetRoute=_a.targetRoute;var metadata=item.metadata||{};var user=useCurrentUser();var showCommentsIcon=showComments&&item.statistics&&item.statistics.commentCount>0&&hasFeedbackType(metadata.feedbackSettings,'comment');return jsx$1(CardFooterHost,{children:jsxs(FooterRightSection,{children:[jsx$1(CardLikeButton,{item:item,itemResourceType:ItemResourceTypes.News},void 0),!user.isPublicUser&&showCommentsIcon&&jsx$1(CardStatisticItem,{count:item.statistics.commentCount,tooltipResourceKey:"NewsArticle.numberOfComments",icon:"Chat",targetRoute:targetRoute+"#comments",highlight:item.hasNewComments,ariaLabel:"AriaLabel.commentsButton"},void 0),jsx$1(BookmarkButton,{item:item},void 0)]},void 0)},void 0);};var CardFooterHost=_styled.footer.withConfig({displayName:"CardFooter__CardFooterHost",componentId:"sc-8sbpem-0"})(templateObject_1$1D||(templateObject_1$1D=__makeTemplateObject(["\n display: flex;\n margin-top: auto;\n margin-bottom: -4px;\n flex-direction: row;\n justify-content: space-between;\n\n padding-top: ","px;\n\n font-size: ","px;\n\n > div {\n display: flex;\n }\n\n a,\n button {\n position: relative;\n z-index: 1;\n }\n"],["\n display: flex;\n margin-top: auto;\n margin-bottom: -4px;\n flex-direction: row;\n justify-content: space-between;\n\n padding-top: ","px;\n\n font-size: ","px;\n\n > div {\n display: flex;\n }\n\n a,\n button {\n position: relative;\n z-index: 1;\n }\n"])),spacingM,fontSizeMedium+4);var FooterRightSection=_styled.div.withConfig({displayName:"CardFooter__FooterRightSection",componentId:"sc-8sbpem-1"})(templateObject_2$Z||(templateObject_2$Z=__makeTemplateObject(["\n .ms-TooltipHost {\n display: flex;\n align-items: center;\n }\n\n flex: 1 0 ","px;\n justify-content: flex-end;\n > * {\n margin-left: ","px;\n }\n"],["\n .ms-TooltipHost {\n display: flex;\n align-items: center;\n }\n\n flex: 1 0 ","px;\n justify-content: flex-end;\n > * {\n margin-left: ","px;\n }\n"])),spacingXl,spacingS+5);var templateObject_1$1D,templateObject_2$Z;var DetailViewContextProvider=function DetailViewContextProvider(_a){var itemId=_a.itemId,type=_a.type,loadItemFunc=_a.loadItemFunc,isEditorPreview=_a.isEditorPreview,children=_a.children;var user=useCurrentUserContext().user;var handleFatalError=useContext(ErrorContext).handleFatalError;var translateContents=useTranslateApi().translateContents;var _b=useState$2(),item=_b[0],setItem=_b[1];var _c=useState$2(),originalItem=_c[0],setOriginalItem=_c[1];var _d=useState$2(),selectedLanguage=_d[0],setSelectedLanguage=_d[1];var _e=useState$2(false),hasError=_e[0],setHasError=_e[1];var _f=useState$2(true),isLoading=_f[0],setIsLoading=_f[1];var _g=useState$2(false),showAccessDenied=_g[0],setShowAccessDenied=_g[1];var handleAccessDeniedError=useContext(ErrorContext).handleAccessDeniedError;var isValid=true;useEffect$1(function(){refreshItem();return function(){// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
131967
132132
|
isValid=false;};},[itemId]);if(showAccessDenied){handleAccessDeniedError({});return null;}var activeLanguages=NewsService.getItemContentLanguages(originalItem,user.subscription.languages);return jsx$1(DetailViewContext.Provider,__assign({value:getContextValues()},{children:children}),void 0);function getContextValues(){return {isLoading:isLoading,hasError:hasError,resourceType:type,item:item,itemId:itemId,contentLanguage:selectedLanguage===null||selectedLanguage===void 0?void 0:selectedLanguage.lang,userPreferredLanguage:(selectedLanguage===null||selectedLanguage===void 0?void 0:selectedLanguage.isUserSet)?selectedLanguage.lang:getPreferredContentLanguage(user),activeLanguages:activeLanguages,content:item&&selectedLanguage?item.contents[selectedLanguage.lang]:null,updateSelectedLanguage:function(l){return setSelectedLanguage({lang:l,isUserSet:true});},handleRefresh:handleRefresh,handleLanguageChange:handleLanguageChange,isEditorPreview:isEditorPreview};}function handleRefresh(onFinished){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(_a){switch(_a.label){case 0:return [4/*yield*/,refreshItem()];case 1:_a.sent();onFinished&&onFinished();return [2/*return*/];}});});}function refreshItem(){return __awaiter(this,void 0,void 0,function(){var p,selectedLanguage_1,err_1;return __generator(this,function(_a){switch(_a.label){case 0:_a.trys.push([0,2,3,4]);return [4/*yield*/,loadItemFunc(itemId)];case 1:p=_a.sent();selectedLanguage_1=NewsService.getLanguageForPublishableItem(p,user);if(isValid){setItem(p);setOriginalItem(p);setSelectedLanguage({isUserSet:false,lang:selectedLanguage_1});setHasError(false);}return [3/*break*/,4];case 2:err_1=_a.sent();if(err_1&&err_1.response&&err_1.response.statusCode===404){if(isValid){setItem(null);setSelectedLanguage(null);setHasError(true);}}else if(err_1&&err_1.response&&err_1.response.statusCode===403){setShowAccessDenied(true);}else {logger.error(err_1);handleFatalError({error:err_1,messageId:'Generic.error'});}return [3/*break*/,4];case 3:isValid&&setIsLoading(false);return [7/*endfinally*/];case 4:return [2/*return*/];}});});}function handleLanguageChange(language){return __awaiter(this,void 0,void 0,function(){var content;var _a;return __generator(this,function(_b){switch(_b.label){case 0:if(item.contents[language]){setSelectedLanguage({isUserSet:true,lang:language});return [2/*return*/];}return [4/*yield*/,translateContents(type,itemId,language)];case 1:content=_b.sent();setItem(__assign(__assign({},item),{contents:__assign(__assign({},item.contents),(_a={},_a[language]=content,_a))}));setSelectedLanguage({isUserSet:true,lang:language});return [2/*return*/];}});});}};var EntityType;(function(EntityType){EntityType["Video"]="video";EntityType["Image"]="image";EntityType["File"]="file";EntityType["Quote"]="quote";EntityType["InlineCode"]="inline-code";EntityType["Gallery"]="gallery";EntityType["Table"]="table";EntityType["Contact"]="contact";EntityType["InlinePageList"]="inline-page-list";EntityType["UrlPreview"]="url-preview";})(EntityType||(EntityType={}));var TextViewer=function TextViewer(_a){var html=_a.html,componentMappers=_a.componentMappers;var _b=useState$2(null),editorState=_b[0],setEditorState=_b[1];useEffect$1(function(){setEditorState(getInitialEditorState());// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
131968
132133
|
},[html]);if(!editorState){return null;}var currentContent=editorState.getCurrentContent();return jsx$1(Draft$1.Editor,{readOnly:true,editorState:editorState,onChange:function(){return null;},blockRendererFn:blockRenderer,blockStyleFn:blockStyle,blockRenderMap:headingRenderMap},void 0);function blockStyle(block){var type=block.getType();if(type==='unstyled'){return 'paragraph';}return null;}function blockRenderer(block){if(block.getType()!=='atomic'){return null;}var entityKey=block.getEntityAt(0);if(entityKey==null){return null;}var entity=currentContent.getEntity(entityKey);var handler=componentMappers.find(function(h){return h.type===entity.getType();});if(handler!=null){return {component:handler.component,editable:false,props:__assign({},entity.getData())};}return null;}function getInitialEditorState(){var contentState=convertFromHTML$1({htmlToEntity:convertHtmlToEntity,htmlToBlock:createHtmlToBlockConverter(componentMappers)})(html||'');return Draft$1.EditorState.createWithContent(contentState,decorator);}function convertHtmlToEntity(nodeName,node,createEntity){for(var _i=0,componentMappers_1=componentMappers;_i<componentMappers_1.length;_i++){var handler=componentMappers_1[_i];var match=handler.getPropsFromHtml(nodeName,node);if(match){return createEntity(handler.type,'IMMUTABLE',match);}}if(nodeName==='a'){return createEntity('LINK','MUTABLE',{url:node.getAttribute('href')});}return null;}};var Link$1=function Link(_a){var contentState=_a.contentState,entityKey=_a.entityKey,children=_a.children;var url=contentState.getEntity(entityKey).getData().url;return jsx$1(TextLink,__assign({url:url},{children:children}),void 0);};function findLinkEntities(contentBlock,callback,contentState){contentBlock.findEntityRanges(function(character){var entityKey=character.getEntity();return entityKey!==null&&contentState.getEntity(entityKey).getType()==='LINK';},callback);}var decorator=new Draft$1.CompositeDecorator([{strategy:findLinkEntities,component:Link$1}]);function createHtmlToBlockConverter(componentMappers){var componentMapperParentNodes=[];return function(nodeName,node){// note (sl): draftJS does call this for all root elements AND
|
|
131969
132134
|
// their children. We only want to handle an element,
|
|
@@ -132202,18 +132367,11 @@ var NewsDetailMainContent = function NewsDetailMainContent(_a) {
|
|
|
132202
132367
|
var hideComments = _a.hideComments,
|
|
132203
132368
|
hideLikes = _a.hideLikes;
|
|
132204
132369
|
var item = useDetailViewContext().item;
|
|
132205
|
-
|
|
132206
|
-
if (item === null || item === void 0 ? void 0 : item.useExternalContent) {
|
|
132207
|
-
return jsxs(DetailMainSection, {
|
|
132208
|
-
children: [jsx$1(DetailViewHeadline, {}, void 0), jsx$1(DetailViewTitle, {}, void 0), jsx$1(DetailViewIntro, {}, void 0), jsx$1(NewsDetailViewMetaInfo, {}, void 0), jsx$1(DetailViewBodyExternalContent, {
|
|
132209
|
-
itemType: ItemResourceTypes.News
|
|
132210
|
-
}, void 0)]
|
|
132211
|
-
}, void 0);
|
|
132212
|
-
}
|
|
132213
|
-
|
|
132214
132370
|
return jsxs(Fragment, {
|
|
132215
132371
|
children: [jsxs(DetailMainSection, {
|
|
132216
|
-
children: [jsx$1(DetailViewHeadline, {}, void 0), jsx$1(DetailViewTitle, {}, void 0), jsx$1(DetailViewIntro, {}, void 0), jsx$1(NewsDetailViewMetaInfo, {}, void 0),
|
|
132372
|
+
children: [jsx$1(DetailViewHeadline, {}, void 0), jsx$1(DetailViewTitle, {}, void 0), jsx$1(DetailViewIntro, {}, void 0), jsx$1(NewsDetailViewMetaInfo, {}, void 0), (item === null || item === void 0 ? void 0 : item.useExternalContent) ? jsx$1(DetailViewBodyExternalContent, {
|
|
132373
|
+
itemType: ItemResourceTypes.News
|
|
132374
|
+
}, void 0) : jsx$1(DetailViewBody, {}, void 0), jsx$1(DetailViewKeywords, {
|
|
132217
132375
|
filterBaseUrl: null
|
|
132218
132376
|
}, void 0)]
|
|
132219
132377
|
}, void 0), jsx$1(DetailViewPoll, {}, void 0), jsx$1(DetailViewConfirmations, {}, void 0), jsx$1(NewsDetailViewFeedbackSection, {
|
|
@@ -132699,20 +132857,12 @@ var PageDetailInternal = function PageDetailInternal(_a) {
|
|
|
132699
132857
|
}, void 0), jsx$1(DetailViewTitle, {}, void 0), jsx$1(DetailViewIntro, {}, void 0), jsx$1(PageDetailViewMetaInfo, {}, void 0)]
|
|
132700
132858
|
}, void 0);
|
|
132701
132859
|
|
|
132702
|
-
if (item === null || item === void 0 ? void 0 : item.useExternalContent) {
|
|
132703
|
-
return jsxs(Fragment, {
|
|
132704
|
-
children: [jsxs(DetailMainSection, {
|
|
132705
|
-
children: [Header, jsx$1(DetailViewBodyExternalContent, {
|
|
132706
|
-
itemType: ItemResourceTypes.Pages
|
|
132707
|
-
}, void 0), jsx$1(PagesDetailViewNavigationWrapper, {}, void 0)]
|
|
132708
|
-
}, void 0), jsx$1(DetailViewPoll, {}, void 0), jsx$1(DetailViewConfirmations, {}, void 0)]
|
|
132709
|
-
}, void 0);
|
|
132710
|
-
}
|
|
132711
|
-
|
|
132712
132860
|
var isDocument = (item === null || item === void 0 ? void 0 : item.pageType) === PageType.Document;
|
|
132713
132861
|
return jsxs(Fragment, {
|
|
132714
132862
|
children: [jsxs(DetailMainSection, {
|
|
132715
|
-
children: [Header,
|
|
132863
|
+
children: [Header, isDocument ? jsx$1(DetailViewPageDocumentDownload, {}, void 0) : (item === null || item === void 0 ? void 0 : item.useExternalContent) ? jsx$1(DetailViewBodyExternalContent, {
|
|
132864
|
+
itemType: ItemResourceTypes.Pages
|
|
132865
|
+
}, void 0) : jsx$1(DetailViewBody, {}, void 0), jsx$1(InlinePageListWrapper, {}, void 0), jsx$1(PagesDetailViewNavigationWrapper, {}, void 0), jsx$1(DetailViewKeywords, {
|
|
132716
132866
|
filterBaseUrl: null
|
|
132717
132867
|
}, void 0)]
|
|
132718
132868
|
}, void 0), jsx$1(DetailViewPoll, {}, void 0), jsx$1(DetailViewConfirmations, {}, void 0), jsx$1(PageDetailViewFeedbackSection, {
|
|
@@ -133361,34 +133511,32 @@ var NewsListInternal = function NewsListInternal(_a) {
|
|
|
133361
133511
|
onChannelClick: onChannelClick,
|
|
133362
133512
|
onKeywordClick: onKeywordClick,
|
|
133363
133513
|
buttons: jsxs(Fragment, {
|
|
133364
|
-
children: [
|
|
133365
|
-
|
|
133366
|
-
|
|
133367
|
-
|
|
133368
|
-
|
|
133369
|
-
|
|
133370
|
-
|
|
133371
|
-
|
|
133372
|
-
|
|
133373
|
-
|
|
133514
|
+
children: [jsx$1(CardLikeButton, {
|
|
133515
|
+
item: item,
|
|
133516
|
+
itemResourceType: ItemResourceTypes.News
|
|
133517
|
+
}, void 0), showComments && jsx$1(Tooltip, __assign$g({
|
|
133518
|
+
resourceKey: "NewsArticle.numberOfComments",
|
|
133519
|
+
values: {
|
|
133520
|
+
count: commentsCount
|
|
133521
|
+
},
|
|
133522
|
+
className: className
|
|
133523
|
+
}, {
|
|
133524
|
+
children: jsxs(Comments, __assign$g({
|
|
133525
|
+
href: "" + webAppUrl + targetRoute,
|
|
133526
|
+
target: "_blank",
|
|
133527
|
+
rel: "noopener noreferrer",
|
|
133528
|
+
onClick: function (e) {
|
|
133529
|
+
return handleClick(e, item, false, onItemClick, true);
|
|
133530
|
+
}
|
|
133374
133531
|
}, {
|
|
133375
|
-
children:
|
|
133376
|
-
|
|
133377
|
-
|
|
133378
|
-
|
|
133379
|
-
|
|
133380
|
-
|
|
133381
|
-
|
|
133382
|
-
|
|
133383
|
-
children: [jsx$1(StyledIcon$2, {
|
|
133384
|
-
iconName: "Chat",
|
|
133385
|
-
highlight: item.hasNewComments
|
|
133386
|
-
}, void 0), commentsCount > 0 && jsx$1(CommentsCount, {
|
|
133387
|
-
children: commentsCount
|
|
133388
|
-
}, void 0)]
|
|
133389
|
-
}), void 0)
|
|
133390
|
-
}), void 0)]
|
|
133391
|
-
}, void 0), jsx$1(BookmarkButton, {
|
|
133532
|
+
children: [jsx$1(StyledIcon$2, {
|
|
133533
|
+
iconName: "Chat",
|
|
133534
|
+
highlight: item.hasNewComments
|
|
133535
|
+
}, void 0), commentsCount > 0 && jsx$1(CommentsCount, {
|
|
133536
|
+
children: commentsCount
|
|
133537
|
+
}, void 0)]
|
|
133538
|
+
}), void 0)
|
|
133539
|
+
}), void 0), jsx$1(BookmarkButton, {
|
|
133392
133540
|
item: item
|
|
133393
133541
|
}, void 0)]
|
|
133394
133542
|
}, void 0)
|