/var/www/p4ela.kz/server/delivery/node_modules/es5-ext/string/#
NameSizeModeActions
@@iterator/-0755rm
code-point-at/-0755rm
contains/-0755rm
ends-with/-0755rm
normalize/-0755rm
repeat/-0755rm
starts-with/-0755rm
at.js10720644editdlrm
camel-to-hyphen.js2170644editdlrm
capitalize.js1830644editdlrm
case-insensitive-compare.js1820644editdlrm
count.js3990644editdlrm
hyphen-to-camel.js2240644editdlrm
indent.js4200644editdlrm
index.js7870644editdlrm
last.js1960644editdlrm
pad.js5830644editdlrm
plain-replace-all.js4190644editdlrm
plain-replace.js3140644editdlrm
uncapitalize.js2200644editdlrm
Edit: /var/www/p4ela.kz/server/delivery/node_modules/es5-ext/string/#/at.js (1072B)
// Based on: https://github.com/mathiasbynens/String.prototype.at // Thanks @mathiasbynens ! "use strict"; var toInteger = require("../../number/to-integer") , validValue = require("../../object/valid-value"); module.exports = function (pos) { var str = String(validValue(this)), size = str.length, cuFirst, cuSecond, nextPos, len; pos = toInteger(pos); // Account for out-of-bounds indices // The odd lower bound is because the ToInteger operation is // going to round `n` to `0` for `-1 < n <= 0`. if (pos <= -1 || pos >= size) return ""; // Second half of `ToInteger` // eslint-disable-next-line no-bitwise pos |= 0; // Get the first code unit and code unit value cuFirst = str.charCodeAt(pos); nextPos = pos + 1; len = 1; if ( // Check if it’s the start of a surrogate pair cuFirst >= 0xd800 && cuFirst <= 0xdbff && // High surrogate size > nextPos // There is a next code unit ) { cuSecond = str.charCodeAt(nextPos); if (cuSecond >= 0xdc00 && cuSecond <= 0xdfff) len = 2; // Low surrogate } return str.slice(pos, pos + len); };