From 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 18 Oct 2022 08:59:09 +0200 Subject: Update --- .../dist/string-collapse-leading-whitespace.umd.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 alarm/node_modules/string-collapse-leading-whitespace/dist/string-collapse-leading-whitespace.umd.js (limited to 'alarm/node_modules/string-collapse-leading-whitespace/dist/string-collapse-leading-whitespace.umd.js') diff --git a/alarm/node_modules/string-collapse-leading-whitespace/dist/string-collapse-leading-whitespace.umd.js b/alarm/node_modules/string-collapse-leading-whitespace/dist/string-collapse-leading-whitespace.umd.js new file mode 100644 index 0000000..b2be96c --- /dev/null +++ b/alarm/node_modules/string-collapse-leading-whitespace/dist/string-collapse-leading-whitespace.umd.js @@ -0,0 +1,10 @@ +/** + * @name string-collapse-leading-whitespace + * @fileoverview Collapse the leading and trailing whitespace of a string + * @version 5.1.0 + * @author Roy Revelt, Codsen Ltd + * @license MIT + * {@link https://codsen.com/os/string-collapse-leading-whitespace/} + */ + +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).stringCollapseLeadingWhitespace={})}(this,(function(e){"use strict";e.collWhitespace=function(e,t=1){function i(e){return Array.from(e).reverse().join("")}function r(e,t,i){const r=i?"\n":"\r",n=i?"\r":"\n";if(!e)return e;let f=0,o="";for(let i=0,l=e.length;i=0&&(n=+t);let f="",o="";if(e.trim()){if(!e[0].trim())for(let t=0,i=e.length;t