@ututrust/web-components 1.1.13 → 1.1.14
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/dist/index.js +58 -89
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -314,16 +314,16 @@
|
|
|
314
314
|
};
|
|
315
315
|
|
|
316
316
|
var WellKnownSymbolsStore = shared('wks');
|
|
317
|
-
var Symbol$
|
|
318
|
-
var symbolFor = Symbol$
|
|
319
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$
|
|
317
|
+
var Symbol$1 = global$1.Symbol;
|
|
318
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
319
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
320
320
|
|
|
321
321
|
var wellKnownSymbol = function (name) {
|
|
322
322
|
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
323
323
|
var description = 'Symbol.' + name;
|
|
324
324
|
|
|
325
|
-
if (nativeSymbol && hasOwnProperty_1(Symbol$
|
|
326
|
-
WellKnownSymbolsStore[name] = Symbol$
|
|
325
|
+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
|
326
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
327
327
|
} else if (useSymbolAsUid && symbolFor) {
|
|
328
328
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
329
329
|
} else {
|
|
@@ -855,7 +855,7 @@
|
|
|
855
855
|
|
|
856
856
|
var Array$4 = global$1.Array;
|
|
857
857
|
var $stringify = getBuiltIn('JSON', 'stringify');
|
|
858
|
-
var exec$
|
|
858
|
+
var exec$2 = functionUncurryThis(/./.exec);
|
|
859
859
|
var charAt$3 = functionUncurryThis(''.charAt);
|
|
860
860
|
var charCodeAt$2 = functionUncurryThis(''.charCodeAt);
|
|
861
861
|
var replace$3 = functionUncurryThis(''.replace);
|
|
@@ -868,14 +868,14 @@
|
|
|
868
868
|
var prev = charAt$3(string, offset - 1);
|
|
869
869
|
var next = charAt$3(string, offset + 1);
|
|
870
870
|
|
|
871
|
-
if (exec$
|
|
871
|
+
if (exec$2(low, match) && !exec$2(hi, next) || exec$2(hi, match) && !exec$2(low, prev)) {
|
|
872
872
|
return '\\u' + numberToString(charCodeAt$2(match, 0), 16);
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
return match;
|
|
876
876
|
};
|
|
877
877
|
|
|
878
|
-
var FORCED$
|
|
878
|
+
var FORCED$3 = fails(function () {
|
|
879
879
|
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' || $stringify('\uDEAD') !== '"\\udead"';
|
|
880
880
|
});
|
|
881
881
|
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
_export({
|
|
887
887
|
target: 'JSON',
|
|
888
888
|
stat: true,
|
|
889
|
-
forced: FORCED$
|
|
889
|
+
forced: FORCED$3
|
|
890
890
|
}, {
|
|
891
891
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
892
892
|
stringify: function stringify(it, replacer, space) {
|
|
@@ -1983,7 +1983,7 @@
|
|
|
1983
1983
|
var empty = [];
|
|
1984
1984
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
1985
1985
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1986
|
-
var exec$
|
|
1986
|
+
var exec$1 = functionUncurryThis(constructorRegExp.exec);
|
|
1987
1987
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1988
1988
|
|
|
1989
1989
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -2011,7 +2011,7 @@
|
|
|
2011
2011
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
2012
2012
|
// `Function#toString` throws on some built-it function in some legacy engines
|
|
2013
2013
|
// (for example, `DOMQuad` and similar in FF41-)
|
|
2014
|
-
return INCORRECT_TO_STRING || !!exec$
|
|
2014
|
+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
|
|
2015
2015
|
} catch (error) {
|
|
2016
2016
|
return true;
|
|
2017
2017
|
}
|
|
@@ -2094,14 +2094,14 @@
|
|
|
2094
2094
|
return spreadable !== undefined ? !!spreadable : isArray$5(O);
|
|
2095
2095
|
};
|
|
2096
2096
|
|
|
2097
|
-
var FORCED$
|
|
2097
|
+
var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method
|
|
2098
2098
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2099
2099
|
// with adding support of @@isConcatSpreadable and @@species
|
|
2100
2100
|
|
|
2101
2101
|
_export({
|
|
2102
2102
|
target: 'Array',
|
|
2103
2103
|
proto: true,
|
|
2104
|
-
forced: FORCED$
|
|
2104
|
+
forced: FORCED$2
|
|
2105
2105
|
}, {
|
|
2106
2106
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2107
2107
|
concat: function concat(arg) {
|
|
@@ -2627,7 +2627,7 @@
|
|
|
2627
2627
|
var MAX_UINT32 = 0xFFFFFFFF;
|
|
2628
2628
|
var min = Math.min;
|
|
2629
2629
|
var $push = [].push;
|
|
2630
|
-
var exec
|
|
2630
|
+
var exec = functionUncurryThis(/./.exec);
|
|
2631
2631
|
var push$2 = functionUncurryThis($push);
|
|
2632
2632
|
var stringSlice$1 = functionUncurryThis(''.slice); // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
2633
2633
|
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
@@ -2684,7 +2684,7 @@
|
|
|
2684
2684
|
}
|
|
2685
2685
|
|
|
2686
2686
|
if (lastLastIndex === string.length) {
|
|
2687
|
-
if (lastLength || !exec
|
|
2687
|
+
if (lastLength || !exec(separatorCopy, '')) push$2(output, '');
|
|
2688
2688
|
} else push$2(output, stringSlice$1(string, lastLastIndex));
|
|
2689
2689
|
|
|
2690
2690
|
return output.length > lim ? arraySliceSimple(output, 0, lim) : output;
|
|
@@ -2962,7 +2962,7 @@
|
|
|
2962
2962
|
*/
|
|
2963
2963
|
|
|
2964
2964
|
|
|
2965
|
-
function trim$
|
|
2965
|
+
function trim$1(str) {
|
|
2966
2966
|
return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
|
|
2967
2967
|
}
|
|
2968
2968
|
/**
|
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
forEach: forEach,
|
|
3129
3129
|
merge: merge$1,
|
|
3130
3130
|
extend: extend,
|
|
3131
|
-
trim: trim$
|
|
3131
|
+
trim: trim$1,
|
|
3132
3132
|
stripBOM: stripBOM
|
|
3133
3133
|
};
|
|
3134
3134
|
|
|
@@ -26507,7 +26507,7 @@
|
|
|
26507
26507
|
return object instanceof Object$1 ? ObjectPrototype : null;
|
|
26508
26508
|
};
|
|
26509
26509
|
|
|
26510
|
-
var ITERATOR$
|
|
26510
|
+
var ITERATOR$2 = wellKnownSymbol('iterator');
|
|
26511
26511
|
var BUGGY_SAFARI_ITERATORS = false; // `%IteratorPrototype%` object
|
|
26512
26512
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
26513
26513
|
|
|
@@ -26526,13 +26526,13 @@
|
|
|
26526
26526
|
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails(function () {
|
|
26527
26527
|
var test = {}; // FF44- legacy iterators case
|
|
26528
26528
|
|
|
26529
|
-
return IteratorPrototype$2[ITERATOR$
|
|
26529
|
+
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
|
26530
26530
|
});
|
|
26531
26531
|
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {}; // `%IteratorPrototype%[@@iterator]()` method
|
|
26532
26532
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
26533
26533
|
|
|
26534
|
-
if (!isCallable(IteratorPrototype$2[ITERATOR$
|
|
26535
|
-
redefine(IteratorPrototype$2, ITERATOR$
|
|
26534
|
+
if (!isCallable(IteratorPrototype$2[ITERATOR$2])) {
|
|
26535
|
+
redefine(IteratorPrototype$2, ITERATOR$2, function () {
|
|
26536
26536
|
return this;
|
|
26537
26537
|
});
|
|
26538
26538
|
}
|
|
@@ -26549,7 +26549,7 @@
|
|
|
26549
26549
|
var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
26550
26550
|
var NativeIterator = global$1.Iterator; // FF56- have non-standard global helper `Iterator`
|
|
26551
26551
|
|
|
26552
|
-
var FORCED$
|
|
26552
|
+
var FORCED$1 = !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype$1 // FF44- non-standard `Iterator` passes previous tests
|
|
26553
26553
|
|| !fails(function () {
|
|
26554
26554
|
NativeIterator({});
|
|
26555
26555
|
});
|
|
@@ -26562,31 +26562,31 @@
|
|
|
26562
26562
|
createNonEnumerableProperty(IteratorPrototype$1, TO_STRING_TAG$2, 'Iterator');
|
|
26563
26563
|
}
|
|
26564
26564
|
|
|
26565
|
-
if (FORCED$
|
|
26565
|
+
if (FORCED$1 || !hasOwnProperty_1(IteratorPrototype$1, 'constructor') || IteratorPrototype$1.constructor === Object) {
|
|
26566
26566
|
createNonEnumerableProperty(IteratorPrototype$1, 'constructor', IteratorConstructor);
|
|
26567
26567
|
}
|
|
26568
26568
|
|
|
26569
26569
|
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
26570
26570
|
_export({
|
|
26571
26571
|
global: true,
|
|
26572
|
-
forced: FORCED$
|
|
26572
|
+
forced: FORCED$1
|
|
26573
26573
|
}, {
|
|
26574
26574
|
Iterator: IteratorConstructor
|
|
26575
26575
|
});
|
|
26576
26576
|
|
|
26577
26577
|
var iterators = {};
|
|
26578
26578
|
|
|
26579
|
-
var ITERATOR$
|
|
26579
|
+
var ITERATOR$1 = wellKnownSymbol('iterator');
|
|
26580
26580
|
var ArrayPrototype = Array.prototype; // check on default Array iterator
|
|
26581
26581
|
|
|
26582
26582
|
var isArrayIteratorMethod = function (it) {
|
|
26583
|
-
return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$
|
|
26583
|
+
return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
26584
26584
|
};
|
|
26585
26585
|
|
|
26586
|
-
var ITERATOR
|
|
26586
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
26587
26587
|
|
|
26588
26588
|
var getIteratorMethod = function (it) {
|
|
26589
|
-
if (it != undefined) return getMethod(it, ITERATOR
|
|
26589
|
+
if (it != undefined) return getMethod(it, ITERATOR) || getMethod(it, '@@iterator') || iterators[classof(it)];
|
|
26590
26590
|
};
|
|
26591
26591
|
|
|
26592
26592
|
var TypeError$4 = global$1.TypeError;
|
|
@@ -28733,66 +28733,6 @@
|
|
|
28733
28733
|
}, "Submit")));
|
|
28734
28734
|
}
|
|
28735
28735
|
|
|
28736
|
-
// a string of all valid unicode whitespaces
|
|
28737
|
-
var whitespaces = '\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';
|
|
28738
|
-
|
|
28739
|
-
var replace = functionUncurryThis(''.replace);
|
|
28740
|
-
var whitespace = '[' + whitespaces + ']';
|
|
28741
|
-
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
28742
|
-
var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
28743
|
-
|
|
28744
|
-
var createMethod = function (TYPE) {
|
|
28745
|
-
return function ($this) {
|
|
28746
|
-
var string = toString$2(requireObjectCoercible($this));
|
|
28747
|
-
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
28748
|
-
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
28749
|
-
return string;
|
|
28750
|
-
};
|
|
28751
|
-
};
|
|
28752
|
-
|
|
28753
|
-
var stringTrim = {
|
|
28754
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
28755
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
28756
|
-
start: createMethod(1),
|
|
28757
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
28758
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
28759
|
-
end: createMethod(2),
|
|
28760
|
-
// `String.prototype.trim` method
|
|
28761
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
28762
|
-
trim: createMethod(3)
|
|
28763
|
-
};
|
|
28764
|
-
|
|
28765
|
-
var trim$1 = stringTrim.trim;
|
|
28766
|
-
|
|
28767
|
-
|
|
28768
|
-
|
|
28769
|
-
var $parseInt = global$1.parseInt;
|
|
28770
|
-
var Symbol$1 = global$1.Symbol;
|
|
28771
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
28772
|
-
var hex = /^[+-]?0x/i;
|
|
28773
|
-
var exec = functionUncurryThis(hex.exec);
|
|
28774
|
-
var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22 // MS Edge 18- broken with boxed symbols
|
|
28775
|
-
|| ITERATOR && !fails(function () {
|
|
28776
|
-
$parseInt(Object(ITERATOR));
|
|
28777
|
-
}); // `parseInt` method
|
|
28778
|
-
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
28779
|
-
|
|
28780
|
-
var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
|
28781
|
-
var S = trim$1(toString$2(string));
|
|
28782
|
-
return $parseInt(S, radix >>> 0 || (exec(hex, S) ? 16 : 10));
|
|
28783
|
-
} : $parseInt;
|
|
28784
|
-
|
|
28785
|
-
// `parseInt` method
|
|
28786
|
-
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
28787
|
-
|
|
28788
|
-
|
|
28789
|
-
_export({
|
|
28790
|
-
global: true,
|
|
28791
|
-
forced: parseInt != numberParseInt
|
|
28792
|
-
}, {
|
|
28793
|
-
parseInt: numberParseInt
|
|
28794
|
-
});
|
|
28795
|
-
|
|
28796
28736
|
var css_248z$e = "body {\n overflow: scroll;\n}\n\nh3 {\n text-transform: capitalize;\n font-weight: 500;\n font-size: 14px;\n}\n\n.error {\n color: #e80054;\n}\n\n:host {\n margin: 0;\n font-family: Roboto, system-ui, -apple-system, \"Segoe UI\", \"Helvetica Neue\", Arial, \"Noto Sans\", \"Liberation Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 14px;\n font-weight: 300;\n line-height: 1.5;\n color: #000000;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: #000000;\n}\n\n.utu-section-light {\n border-bottom: 1px solid #9b9898;\n background: #fdfdfd;\n}\n.utu-section-dark {\n border-bottom: 1px solid #ebe8e8;\n background: #242323;\n}\n.utu-section-no-border-light {\n background: #fdfdfd;\n}\n.utu-section-no-border-dark {\n background: #242323;\n}\n.utu-section-no-border-mid-light {\n background: #e5e5e5;\n}\n.utu-section-no-border-mid-dark {\n background: #494949;\n}\n\n.btn {\n padding: 12px;\n border: none;\n font-size: 14px;\n font-weight: 500;\n font-family: Roboto, system-ui, -apple-system, \"Segoe UI\", \"Helvetica Neue\", Arial, \"Noto Sans\", \"Liberation Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n}\n.btn-light {\n background-color: #fbc93d;\n color: #000000 !important;\n}\n.btn-dark {\n background-color: #fbc93d;\n color: #000000 !important;\n}\n.btn-round {\n color: \"white\" !important;\n}\n.btn-round-text {\n color: \"white\" !important;\n}\n\n.icon-btn {\n border: none;\n background: none;\n padding: 0;\n font-family: Roboto, system-ui, -apple-system, \"Segoe UI\", \"Helvetica Neue\", Arial, \"Noto Sans\", \"Liberation Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-weight: 500;\n font-size: 14px;\n}\n.icon-btn svg {\n width: 60px;\n height: 60px;\n}\n\nbutton.p {\n color: \"white\";\n}\n\n.logo-position {\n position: absolute;\n top: -1rem;\n right: 6rem;\n z-index: 2;\n width: 0.5rem;\n}\n.logo-position-details {\n position: absolute;\n top: -2rem;\n right: 6rem;\n z-index: 2;\n width: 0.5rem;\n}\n.logo-position-video {\n position: absolute;\n top: 41.2rem;\n left: 21rem;\n z-index: 2;\n width: 0.5rem;\n}\n.logo-position-player {\n position: absolute;\n bottom: -0.5rem;\n left: 22rem;\n z-index: 2;\n width: 0.5rem;\n}\n.logo-section {\n position: relative;\n}\n.logo-size {\n width: 3rem;\n}\n\n.text-area {\n resize: vertical;\n min-height: 8rem;\n border-radius: 10px;\n border: none;\n padding: 16px;\n font-weight: 300;\n font-size: 0.9rem;\n background-color: #fcf8e5;\n}\n\nsvg.video-icon {\n width: 1.5rem;\n height: 2.4rem;\n padding-top: 0.3rem;\n}\nsvg.video-icon-dark {\n fill: #000000;\n}\nsvg.video-icon-light {\n fill: #000000;\n}\n\n/* ----------- Large screens ----------- */\n@media only screen and (min-width: 768px) {\n .utu-section-light {\n border-bottom: 0px;\n background-color: #fcf8e5;\n }\n .utu-section-dark {\n border-bottom: 0px;\n background: #242323;\n background-color: #3d3d3c;\n }\n .utu-section-no-border-light {\n background-color: #fcf8e5;\n }\n .utu-section-no-border-dark {\n background-color: #3d3d3c;\n }\n .utu-section-no-border-mid-light {\n background-color: #fcf8e5;\n }\n .utu-section-no-border-mid-dark {\n background-color: #3d3d3c;\n }\n\n .text-area {\n background-color: #fdfdfd;\n }\n}\n.endor-input-form {\n display: flex;\n flex-direction: row;\n justify-items: center;\n justify-content: center;\n align-items: center;\n padding-top: 3rem;\n padding-bottom: 3rem;\n width: 80vw;\n}\n.endor-input-form-text-area {\n height: 3rem;\n width: 100%;\n margin-right: 1rem;\n border-radius: 10px;\n border: none;\n padding: 16px;\n font-weight: 300;\n font-size: 0.8rem;\n align-items: center;\n align-content: center;\n background-color: #fcf8e5;\n overflow: hidden;\n}\n.endor-input-section {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding-top: 1rem;\n padding-bottom: 1rem;\n padding-left: 2rem;\n padding-right: 2rem;\n width: 100vw;\n}\n.endor-text {\n font-size: 1.5rem;\n width: 80vw;\n}\n.endor-text-light {\n color: black;\n}\n.endor-text-dark {\n color: white;\n}\n.endor-text-area {\n display: flex;\n flex-direction: row;\n}\n.endor-text-info {\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #fbc93d;\n width: 1rem;\n height: 1rem;\n margin-left: 1rem;\n font-size: 0.8rem;\n border-radius: 50%;\n cursor: pointer;\n margin-left: 0.5rem;\n transition-timing-function: ease-in-out;\n transition-duration: 2s;\n transition: width 2s, height 4s;\n}\n.endor-text-body {\n font-size: 0.8rem;\n}\n.endor-text-title {\n font-size: 0.8rem;\n}\n.endor-btn {\n border-radius: 10px;\n}\n\n/* ----------- Large screens ----------- */\n@media only screen and (min-width: 768px) {\n .endor-input-section {\n padding-left: 0rem;\n padding-right: 0rem;\n }\n .endor-input-form {\n width: 45%;\n padding: 2rem;\n }\n .endor-input-form-text-area {\n background-color: #fdfdfd;\n font-size: 0.6rem;\n }\n .endor-input-form-section {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 80vw;\n }\n .endor-text {\n padding: 2rem;\n width: 45%;\n }\n .endor-text-info {\n font-size: 0.6rem;\n }\n}\n@media only screen and (min-width: 830px) {\n .endor-input-form-text-area {\n font-size: 0.8rem;\n }\n}";
|
|
28797
28737
|
styleInject(css_248z$e);
|
|
28798
28738
|
|
|
@@ -28878,7 +28818,7 @@
|
|
|
28878
28818
|
min: 1,
|
|
28879
28819
|
validate: {
|
|
28880
28820
|
integer: function integer(v) {
|
|
28881
|
-
return v ===
|
|
28821
|
+
return v % 1 === 0;
|
|
28882
28822
|
}
|
|
28883
28823
|
}
|
|
28884
28824
|
}),
|
|
@@ -31361,6 +31301,35 @@
|
|
|
31361
31301
|
|
|
31362
31302
|
var thisNumberValue = functionUncurryThis(1.0.valueOf);
|
|
31363
31303
|
|
|
31304
|
+
// a string of all valid unicode whitespaces
|
|
31305
|
+
var whitespaces = '\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';
|
|
31306
|
+
|
|
31307
|
+
var replace = functionUncurryThis(''.replace);
|
|
31308
|
+
var whitespace = '[' + whitespaces + ']';
|
|
31309
|
+
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
31310
|
+
var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
31311
|
+
|
|
31312
|
+
var createMethod = function (TYPE) {
|
|
31313
|
+
return function ($this) {
|
|
31314
|
+
var string = toString$2(requireObjectCoercible($this));
|
|
31315
|
+
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
31316
|
+
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
31317
|
+
return string;
|
|
31318
|
+
};
|
|
31319
|
+
};
|
|
31320
|
+
|
|
31321
|
+
var stringTrim = {
|
|
31322
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
31323
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
31324
|
+
start: createMethod(1),
|
|
31325
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
31326
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
31327
|
+
end: createMethod(2),
|
|
31328
|
+
// `String.prototype.trim` method
|
|
31329
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
31330
|
+
trim: createMethod(3)
|
|
31331
|
+
};
|
|
31332
|
+
|
|
31364
31333
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
31365
31334
|
|
|
31366
31335
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|