string-left-right 6.1.0 → 6.2.0
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/CHANGELOG.md +16 -3
- package/LICENSE +1 -1
- package/README.md +7 -6
- package/dist/string-left-right.esm.js +10 -10
- package/dist/string-left-right.umd.js +3 -3
- package/package.json +21 -23
- package/.eslintcache +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## 6.
|
|
6
|
+
## 6.2.0 (2026-08-19)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- resolve review findings REV-004 through REV-007 ([b60e9ee](https://github.com/codsen/codsen/commit/b60e9eeb499af94685cfb87b4970fe025be1fc10))
|
|
11
|
+
- retire direct publish aliases ([f98e31e](https://github.com/codsen/codsen/commit/f98e31eb89bc185471225664e610b55f34fbf648))
|
|
12
|
+
- stop case-insensitive matching crashing on a null index ([5682575](https://github.com/codsen/codsen/commit/56825755acdcb8c9f2be089bf13cb24ba032e950))
|
|
13
|
+
- validate chomp modes and avoid argument cloning ([577224a](https://github.com/codsen/codsen/commit/577224a0d2eb95673872d5e2a5780f0ee9751dc5))
|
|
7
14
|
|
|
8
15
|
### Features
|
|
9
16
|
|
|
10
|
-
-
|
|
17
|
+
- add codsen-glob and migrate glob consumers ([5595a2b](https://github.com/codsen/codsen/commit/5595a2b267eaa6cb60072d037aef00b7a28edd42))
|
|
18
|
+
- refresh the tooling and generate with the latest dependencies ([781f802](https://github.com/codsen/codsen/commit/781f802911066a82a4533b0e5a3fcbd742d0dd83))
|
|
19
|
+
|
|
20
|
+
### Reverts
|
|
21
|
+
|
|
22
|
+
- Revert "Merge pull request #128 from codsen/release/npm-32198404552-1" ([5baeeaa](https://github.com/codsen/codsen/commit/5baeeaaa677b86f1eaa6396cadf3aea32b06416e)), closes [#128](https://github.com/codsen/codsen/issues/128)
|
|
23
|
+
- Revert "Merge pull request #127 from codsen/release/npm-32194020886-1" ([5f1e94d](https://github.com/codsen/codsen/commit/5f1e94deef910ce735266b16aeee08a76de7a862)), closes [#127](https://github.com/codsen/codsen/issues/127)
|
|
11
24
|
|
|
12
25
|
## 6.0.0 (2022-12-01)
|
|
13
26
|
|
|
@@ -112,7 +125,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
112
125
|
## 1.3.0 (2018-09-20)
|
|
113
126
|
|
|
114
127
|
- Improvements to cases when `opts.ifLeftSideIncludesThisThenCropTightly`/`opts.ifRightSideIncludesThisThenCropTightly` is an array
|
|
115
|
-
- Now we tend an edge case when `opts.addSingleSpaceToPreventAccidentalConcatenation` is surrounded by characters, whitelisted by `opts.ifLeftSideIncludesThisThenCropTightly` and `opts.ifRightSideIncludesThisThenCropTightly` (or just one of them, but then the other is a
|
|
128
|
+
- Now we tend an edge case when `opts.addSingleSpaceToPreventAccidentalConcatenation` is surrounded by characters, whitelisted by `opts.ifLeftSideIncludesThisThenCropTightly` and `opts.ifRightSideIncludesThisThenCropTightly` (or just one of them, but then the other is a falsy empty string). In that case, the compensation space is not added.
|
|
116
129
|
|
|
117
130
|
## 1.2.0 (2018-09-18)
|
|
118
131
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright © 2010-
|
|
3
|
+
Copyright © 2010-2026 Roy Revelt and other contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -32,16 +32,16 @@ npm i string-left-right
|
|
|
32
32
|
## Quick Take
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
|
-
import { strict as assert } from "assert";
|
|
35
|
+
import { strict as assert } from "node:assert";
|
|
36
36
|
|
|
37
37
|
import {
|
|
38
|
-
left,
|
|
39
|
-
right,
|
|
40
|
-
leftSeq,
|
|
41
|
-
rightSeq,
|
|
42
38
|
chompLeft,
|
|
43
39
|
chompRight,
|
|
40
|
+
left,
|
|
41
|
+
leftSeq,
|
|
44
42
|
leftStopAtNewLines,
|
|
43
|
+
right,
|
|
44
|
+
rightSeq,
|
|
45
45
|
rightStopAtNewLines,
|
|
46
46
|
} from "string-left-right";
|
|
47
47
|
|
|
@@ -59,6 +59,7 @@ assert.equal(
|
|
|
59
59
|
);
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
|
|
62
63
|
## Documentation
|
|
63
64
|
|
|
64
65
|
Please [visit codsen.com](https://codsen.com/os/string-left-right/) for a full description of the API. If you’re looking for the **Changelog**, it’s [here](https://github.com/codsen/codsen/blob/main/packages/string-left-right/CHANGELOG.md).
|
|
@@ -71,6 +72,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
|
|
|
71
72
|
|
|
72
73
|
MIT License
|
|
73
74
|
|
|
74
|
-
Copyright © 2010-
|
|
75
|
+
Copyright © 2010-2026 Roy Revelt and other contributors
|
|
75
76
|
|
|
76
77
|
<p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name string-left-right
|
|
3
3
|
* @fileoverview Looks up the first non-whitespace character to the left/right of a given index
|
|
4
|
-
* @version 6.
|
|
4
|
+
* @version 6.2.0
|
|
5
5
|
* @author Roy Revelt
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/string-left-right/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import{
|
|
11
|
-
\r`.includes(n[e+1])||o&&n[e+1]
|
|
12
|
-
\r`.includes(n[e+2])||o&&n[e+2]
|
|
13
|
-
\r`.includes(n[t])||o&&n[t]
|
|
14
|
-
\r`.includes(n[~-e])||o&&n[~-e]
|
|
15
|
-
\r`.includes(n[e-2])||o&&n[e-2]
|
|
16
|
-
\r`.includes(n[t])||o&&n[t]
|
|
10
|
+
import{isInt as R,isPlainObject as h,isStr as p}from"codsen-utils";var O="6.2.0";var j=O,$="\xA0";function L(n){let e={value:n,hungry:!1,optional:!1};return(e.value.endsWith("?*")||e.value.endsWith("*?"))&&e.value.length>2?(e.value=e.value.slice(0,e.value.length-2),e.optional=!0,e.hungry=!0):e.value.endsWith("?")&&e.value.length>1?(e.value=e.value.slice(0,~-e.value.length),e.optional=!0):e.value.endsWith("*")&&e.value.length>1&&(e.value=e.value.slice(0,~-e.value.length),e.hungry=!0),e}function V({str:n,idx:e=0,stopAtNewlines:l=!1,stopAtRawNbsp:o=!1}){if(typeof n!="string"||!n.length||((!e||typeof e!="number")&&(e=0),!n[e+1]))return null;if(n[e+1]&&(n[e+1].trim()||l&&`
|
|
11
|
+
\r`.includes(n[e+1])||o&&n[e+1]===$))return e+1;if(n[e+2]&&(n[e+2].trim()||l&&`
|
|
12
|
+
\r`.includes(n[e+2])||o&&n[e+2]===$))return e+2;for(let t=e+1,m=n.length;t<m;t++)if(n[t].trim()||l&&`
|
|
13
|
+
\r`.includes(n[t])||o&&n[t]===$)return t;return null}function y(n,e=0){return V({str:n,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!1})}function k(n,e){return V({str:n,idx:e,stopAtNewlines:!0,stopAtRawNbsp:!1})}function W(n,e){return V({str:n,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!0})}function N({str:n,idx:e,stopAtNewlines:l,stopAtRawNbsp:o}){if(typeof n!="string"||!n.length||((!e||typeof e!="number")&&(e=0),e<1))return null;if(n[~-e]&&(n[~-e].trim()||l&&`
|
|
14
|
+
\r`.includes(n[~-e])||o&&n[~-e]===$))return~-e;if(n[e-2]&&(n[e-2].trim()||l&&`
|
|
15
|
+
\r`.includes(n[e-2])||o&&n[e-2]===$))return e-2;for(let t=e;t--;)if(n[t]&&(n[t].trim()||l&&`
|
|
16
|
+
\r`.includes(n[t])||o&&n[t]===$))return t;return null}function D(n,e=0){return N({str:n,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!1})}function _(n,e){return N({str:n,idx:e,stopAtNewlines:!0,stopAtRawNbsp:!1})}function M(n,e){return N({str:n,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!0})}function w(n,e,l,o,t){if(typeof e!="string"||!e.length||(typeof l!="number"&&(l=0),n==="right"&&!e[l+1]||n==="left"&&!e[~-l]))return null;let m=l,u=[],f,i,s,r=0;for(;r<t.length;){if(!p(t[r])||!t[r].length){r+=1;continue}let{value:a,optional:T,hungry:v}=L(t[r]),g=n==="right"?y(e,m):D(e,m),d=e[g];if(d!==void 0&&(o.i&&d.toLowerCase()===a.toLowerCase()||!o.i&&d===a)){let I=n==="right"?y(e,g):D(e,g),S=!1;if(v){let E=e[I];S=E!==void 0&&(o.i&&E.toLowerCase()===a.toLowerCase()||!o.i&&E===a)}S?s=!0:r+=1,typeof g=="number"&&n==="right"&&g>m+1?u.push([m+1,g]):n==="left"&&typeof g=="number"&&g<~-m&&u.unshift([g+1,m]),m=g,n==="right"?(f===void 0&&(f=g),i=g):(i===void 0&&(i=g),f=g)}else if(T)r+=1;else if(s)r+=1,s=void 0;else return null}return f===void 0||i===void 0?null:{gaps:u,leftmostChar:f,rightmostChar:i}}var b={i:!1};function A(n,e,...l){if(!l?.length)throw new Error("string-left-right/leftSeq(): [THROW_ID_01] only two input arguments were passed! Did you intend to use left() method instead?");let o;return h(l[0])?o={...b,...l.shift()}:o=b,w("left",n,e,o,Array.from(l).reverse())}function U(n,e,...l){if(!l?.length)throw new Error("string-left-right/rightSeq(): [THROW_ID_02] only two input arguments were passed! Did you intend to use right() method instead?");let o;return h(l[0])?o={...b,...l.shift()}:o=b,w("right",n,e,o,l)}function c(n,e,l,o,t=[]){if(typeof e!="string"||!e.length||((!l||typeof l!="number")&&(l=0),n==="right"&&!e[l+1]||n==="left"&&+l==0))return null;let m=null,u=null;do m=n==="right"?U(e,typeof u=="number"?u:l,...t):A(e,typeof u=="number"?u:l,...t),m!==null&&(u=n==="right"?m.rightmostChar:m.leftmostChar);while(m);if(u!=null&&n==="right"&&(u+=1),u===null)return null;if(n==="right"){if(e[u]?.trim())return u;let i=y(e,u);if(!o||o.mode===0){if(i===u+1)return u;if(e.slice(u,i||e.length).trim()||e.slice(u,i||e.length).includes(`
|
|
17
17
|
`)||e.slice(u,i||e.length).includes("\r")){for(let s=u,r=e.length;s<r;s++)if(`
|
|
18
18
|
\r`.includes(e[s]))return s}else return i?~-i:e.length}else{if(o.mode===1)return u;if(o.mode===2){let s=e.slice(u);if(s.trim()||s.includes(`
|
|
19
19
|
`)||s.includes("\r")){for(let r=u,a=e.length;r<a;r++)if(e[r].trim()||`
|
|
20
|
-
\r`.includes(e[r]))return r}return e.length}}return i||e.length}if(e[u]&&e[~-u]?.trim())return u;let f=
|
|
20
|
+
\r`.includes(e[r]))return r}return e.length}}return i||e.length}if(e[u]&&e[~-u]?.trim())return u;let f=D(e,u);if(!o||o.mode===0){if(f===u-2)return u;if(e.slice(0,u).trim()||e.slice(0,u).includes(`
|
|
21
21
|
`)||e.slice(0,u).includes("\r")){for(let i=u;i--;)if(`
|
|
22
22
|
\r`.includes(e[i])||e[i].trim())return i+1+(e[i].trim()?1:0)}return 0}if(o.mode===1)return u;if(o.mode===2){let i=e.slice(0,u);if(i.trim()||i.includes(`
|
|
23
23
|
`)||i.includes("\r")){for(let s=u;s--;)if(e[s].trim()||`
|
|
24
|
-
\r`.includes(e[s]))return s+1}return 0}return f!==null?f+1:0}function H(n,e,...l){if(!l.length||l.length===1&&
|
|
24
|
+
\r`.includes(e[s]))return s+1}return 0}return f!==null?f+1:0}function H(n,e,...l){if(!l.length||l.length===1&&h(l[0]))return null;let o={mode:0};if(h(l[0])){let t={...o,...l[0]};if(!t.mode)t.mode=0;else if(p(t.mode)&&t.mode.length===1&&"0123".includes(t.mode))t.mode=+t.mode;else if(!R(t.mode)||t.mode<0||t.mode>3)throw new Error(`string-left-right/chompLeft(): [THROW_ID_03] the opts.mode is wrong! It should be 0, 1, 2 or 3. It was given as ${t.mode} (type ${typeof t.mode})`);return c("left",n,e,t,l.slice(1))}return p(l[0])?c("left",n,e,o,l):c("left",n,e,o,l.slice(1))}function P(n,e,...l){if(!l.length||l.length===1&&h(l[0]))return null;let o={mode:0};if(h(l[0])){let t={...o,...l[0]};if(!t.mode)t.mode=0;else if(p(t.mode)&&/^[0-3]$/.test(t.mode))t.mode=Number.parseInt(t.mode,10);else if(!R(t.mode)||t.mode<0||t.mode>3)throw new Error(`string-left-right/chompRight(): [THROW_ID_04] the opts.mode is wrong! It should be 0, 1, 2 or 3. It was given as ${t.mode} (type ${typeof t.mode})`);return c("right",n,e,t,l.slice(1))}return p(l[0])?c("right",n,e,o,l):c("right",n,e,o,l.slice(1))}export{H as chompLeft,P as chompRight,D as left,A as leftSeq,_ as leftStopAtNewLines,M as leftStopAtRawNbsp,y as right,U as rightSeq,k as rightStopAtNewLines,W as rightStopAtRawNbsp,j as version};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name string-left-right
|
|
3
3
|
* @fileoverview Looks up the first non-whitespace character to the left/right of a given index
|
|
4
|
-
* @version 6.
|
|
4
|
+
* @version 6.2.0
|
|
5
5
|
* @author Roy Revelt
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/string-left-right/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
"use strict";var stringLeftRight=(()=>{var
|
|
10
|
+
"use strict";var stringLeftRight=(()=>{var y=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var T=(t,e,n)=>e in t?y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,g=(t,e)=>{for(var n in e||(e={}))I.call(e,n)&&T(t,n,e[n]);if(C)for(var n of C(e))J.call(e,n)&&T(t,n,e[n]);return t};var x=(t,e)=>{for(var n in e)y(t,n,{get:e[n],enumerable:!0})},B=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of M(e))!I.call(t,l)&&l!==n&&y(t,l,{get:()=>e[l],enumerable:!(r=F(e,l))||r.enumerable});return t};var q=t=>B(y({},"__esModule",{value:!0}),t);var X={};x(X,{chompLeft:()=>Z,chompRight:()=>Y,left:()=>v,leftSeq:()=>j,leftStopAtNewLines:()=>G,leftStopAtRawNbsp:()=>K,right:()=>E,rightSeq:()=>U,rightStopAtNewLines:()=>Q,rightStopAtRawNbsp:()=>z,version:()=>_});var ne=new Set([..."\u060B$\u20BC\u17DB\xA5\u20A1\u20B1\xA3\u20AC\xA2\u20B9\uFDFC\u20AA\u20A9\u20AD\u20A8\u20AE\u20A6\u20BD\u20AB\u0E3F\u20A9\u20BA\u20B4","$U","$b","B/.","BZ$","Br","Bs","C$","CHF","Ft","Gs","J$","KM","K\u010D","L","MT","NT$","P","Q","R","R$","RD$","RM","Rp","S","S/.","TT$","Z$","kn","kr","lei","z\u0142","\u0192","\u0414\u0438\u043D.","\u0434\u0435\u043D","\u043B\u0432","\u062F.\u0625","Lek"]);function h(t){if(t==null||typeof t!="object")return!1;let e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null?!1:!(Symbol.iterator in t)&&!(Symbol.toStringTag in t)}function d(t){return typeof t=="string"}function A(t){return Number.isSafeInteger(t)&&t>=0}var k="6.2.0";var _=k,b="\xA0";function H(t){let e={value:t,hungry:!1,optional:!1};return(e.value.endsWith("?*")||e.value.endsWith("*?"))&&e.value.length>2?(e.value=e.value.slice(0,e.value.length-2),e.optional=!0,e.hungry=!0):e.value.endsWith("?")&&e.value.length>1?(e.value=e.value.slice(0,~-e.value.length),e.optional=!0):e.value.endsWith("*")&&e.value.length>1&&(e.value=e.value.slice(0,~-e.value.length),e.hungry=!0),e}function R({str:t,idx:e=0,stopAtNewlines:n=!1,stopAtRawNbsp:r=!1}){if(typeof t!="string"||!t.length||((!e||typeof e!="number")&&(e=0),!t[e+1]))return null;if(t[e+1]&&(t[e+1].trim()||n&&"\n\r".includes(t[e+1])||r&&t[e+1]===b))return e+1;if(t[e+2]&&(t[e+2].trim()||n&&"\n\r".includes(t[e+2])||r&&t[e+2]===b))return e+2;for(let l=e+1,s=t.length;l<s;l++)if(t[l].trim()||n&&"\n\r".includes(t[l])||r&&t[l]===b)return l;return null}function E(t,e=0){return R({str:t,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!1})}function Q(t,e){return R({str:t,idx:e,stopAtNewlines:!0,stopAtRawNbsp:!1})}function z(t,e){return R({str:t,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!0})}function V({str:t,idx:e,stopAtNewlines:n,stopAtRawNbsp:r}){if(typeof t!="string"||!t.length||((!e||typeof e!="number")&&(e=0),e<1))return null;if(t[~-e]&&(t[~-e].trim()||n&&"\n\r".includes(t[~-e])||r&&t[~-e]===b))return~-e;if(t[e-2]&&(t[e-2].trim()||n&&"\n\r".includes(t[e-2])||r&&t[e-2]===b))return e-2;for(let l=e;l--;)if(t[l]&&(t[l].trim()||n&&"\n\r".includes(t[l])||r&&t[l]===b))return l;return null}function v(t,e=0){return V({str:t,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!1})}function G(t,e){return V({str:t,idx:e,stopAtNewlines:!0,stopAtRawNbsp:!1})}function K(t,e){return V({str:t,idx:e,stopAtNewlines:!1,stopAtRawNbsp:!0})}function L(t,e,n,r,l){if(typeof e!="string"||!e.length||(typeof n!="number"&&(n=0),t==="right"&&!e[n+1]||t==="left"&&!e[~-n]))return null;let s=n,i=[],f,p,m,o=0;for(;o<l.length;){if(!d(l[o])||!l[o].length){o+=1;continue}let{value:u,optional:c,hungry:S}=H(l[o]),a=t==="right"?E(e,s):v(e,s),D=e[a];if(D!==void 0&&(r.i&&D.toLowerCase()===u.toLowerCase()||!r.i&&D===u)){let W=t==="right"?E(e,a):v(e,a),N=!1;if(S){let O=e[W];N=O!==void 0&&(r.i&&O.toLowerCase()===u.toLowerCase()||!r.i&&O===u)}N?m=!0:o+=1,typeof a=="number"&&t==="right"&&a>s+1?i.push([s+1,a]):t==="left"&&typeof a=="number"&&a<~-s&&i.unshift([a+1,s]),s=a,t==="right"?(f===void 0&&(f=a),p=a):(p===void 0&&(p=a),f=a)}else if(c)o+=1;else if(m)o+=1,m=void 0;else return null}return f===void 0||p===void 0?null:{gaps:i,leftmostChar:f,rightmostChar:p}}var w={i:!1};function j(t,e,...n){if(!(n!=null&&n.length))throw new Error("string-left-right/leftSeq(): [THROW_ID_01] only two input arguments were passed! Did you intend to use left() method instead?");let r;return h(n[0])?r=g(g({},w),n.shift()):r=w,L("left",t,e,r,Array.from(n).reverse())}function U(t,e,...n){if(!(n!=null&&n.length))throw new Error("string-left-right/rightSeq(): [THROW_ID_02] only two input arguments were passed! Did you intend to use right() method instead?");let r;return h(n[0])?r=g(g({},w),n.shift()):r=w,L("right",t,e,r,n)}function $(t,e,n,r,l=[]){var p,m;if(typeof e!="string"||!e.length||((!n||typeof n!="number")&&(n=0),t==="right"&&!e[n+1]||t==="left"&&+n==0))return null;let s=null,i=null;do s=t==="right"?U(e,typeof i=="number"?i:n,...l):j(e,typeof i=="number"?i:n,...l),s!==null&&(i=t==="right"?s.rightmostChar:s.leftmostChar);while(s);if(i!=null&&t==="right"&&(i+=1),i===null)return null;if(t==="right"){if((p=e[i])!=null&&p.trim())return i;let o=E(e,i);if(!r||r.mode===0){if(o===i+1)return i;if(e.slice(i,o||e.length).trim()||e.slice(i,o||e.length).includes("\n")||e.slice(i,o||e.length).includes("\r")){for(let u=i,c=e.length;u<c;u++)if("\n\r".includes(e[u]))return u}else return o?~-o:e.length}else{if(r.mode===1)return i;if(r.mode===2){let u=e.slice(i);if(u.trim()||u.includes("\n")||u.includes("\r")){for(let c=i,S=e.length;c<S;c++)if(e[c].trim()||"\n\r".includes(e[c]))return c}return e.length}}return o||e.length}if(e[i]&&((m=e[~-i])!=null&&m.trim()))return i;let f=v(e,i);if(!r||r.mode===0){if(f===i-2)return i;if(e.slice(0,i).trim()||e.slice(0,i).includes("\n")||e.slice(0,i).includes("\r")){for(let o=i;o--;)if("\n\r".includes(e[o])||e[o].trim())return o+1+(e[o].trim()?1:0)}return 0}if(r.mode===1)return i;if(r.mode===2){let o=e.slice(0,i);if(o.trim()||o.includes("\n")||o.includes("\r")){for(let u=i;u--;)if(e[u].trim()||"\n\r".includes(e[u]))return u+1}return 0}return f!==null?f+1:0}function Z(t,e,...n){if(!n.length||n.length===1&&h(n[0]))return null;let r={mode:0};if(h(n[0])){let l=g(g({},r),n[0]);if(!l.mode)l.mode=0;else if(d(l.mode)&&l.mode.length===1&&"0123".includes(l.mode))l.mode=+l.mode;else if(!A(l.mode)||l.mode<0||l.mode>3)throw new Error("string-left-right/chompLeft(): [THROW_ID_03] the opts.mode is wrong! It should be 0, 1, 2 or 3. It was given as ".concat(l.mode," (type ").concat(typeof l.mode,")"));return $("left",t,e,l,n.slice(1))}return d(n[0])?$("left",t,e,r,n):$("left",t,e,r,n.slice(1))}function Y(t,e,...n){if(!n.length||n.length===1&&h(n[0]))return null;let r={mode:0};if(h(n[0])){let l=g(g({},r),n[0]);if(!l.mode)l.mode=0;else if(d(l.mode)&&/^[0-3]$/.test(l.mode))l.mode=Number.parseInt(l.mode,10);else if(!A(l.mode)||l.mode<0||l.mode>3)throw new Error("string-left-right/chompRight(): [THROW_ID_04] the opts.mode is wrong! It should be 0, 1, 2 or 3. It was given as ".concat(l.mode," (type ").concat(typeof l.mode,")"));return $("right",t,e,l,n.slice(1))}return d(n[0])?$("right",t,e,r,n):$("right",t,e,r,n.slice(1))}return q(X);})();
|
|
11
11
|
/**
|
|
12
12
|
* @name codsen-utils
|
|
13
13
|
* @fileoverview Various utility functions
|
|
14
|
-
* @version 1.
|
|
14
|
+
* @version 1.8.0
|
|
15
15
|
* @author Roy Revelt
|
|
16
16
|
* @license MIT
|
|
17
17
|
* {@link https://codsen.com/os/codsen-utils/}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "string-left-right",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Looks up the first non-whitespace character to the left/right of a given index",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"check",
|
|
@@ -37,44 +37,42 @@
|
|
|
37
37
|
},
|
|
38
38
|
"types": "types/index.d.ts",
|
|
39
39
|
"scripts": {
|
|
40
|
-
"build": "node
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
|
|
40
|
+
"build": "node ../../ops/scripts/esbuild.js && npm run dts",
|
|
41
|
+
"coverage": "c8 uvu test",
|
|
42
|
+
"dev": "node ../../ops/scripts/esbuild.js --dev && npm run dts",
|
|
44
43
|
"devtest": "c8 npm run unit && npm run examples && npm run lint",
|
|
45
|
-
"dts": "rollup -c &&
|
|
44
|
+
"dts": "rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts",
|
|
46
45
|
"examples": "node '../../ops/scripts/run-examples.js'",
|
|
47
|
-
"lect": "node '../../ops/lect/lect.js'
|
|
48
|
-
"
|
|
49
|
-
"lint": "
|
|
46
|
+
"lect": "node '../../ops/lect/lect.js'",
|
|
47
|
+
"lect:check": "node '../../ops/lect/lect.js' --check",
|
|
48
|
+
"lint": "biome lint --error-on-warnings . && npm run typecheck",
|
|
49
|
+
"lint:fix": "biome lint --write --error-on-warnings . && npm run typecheck",
|
|
50
50
|
"perf": "node perf/check.js",
|
|
51
51
|
"prep": "echo 'ready'",
|
|
52
|
-
"prettier": "
|
|
53
|
-
"prettier:format": "
|
|
54
|
-
"pretest": "npm run lect && npm run build",
|
|
52
|
+
"prettier": "biome format",
|
|
53
|
+
"prettier:format": "biome format --write .",
|
|
54
|
+
"pretest": "npm run lect:check && npm run build",
|
|
55
55
|
"test": "npm run devtest",
|
|
56
|
+
"typecheck": "tsc --noEmit --pretty false --project tsconfig.json",
|
|
56
57
|
"unit": "uvu test"
|
|
57
58
|
},
|
|
58
|
-
"engines": {
|
|
59
|
-
"node": ">=14.18.0"
|
|
60
|
-
},
|
|
61
59
|
"c8": {
|
|
60
|
+
"all": true,
|
|
62
61
|
"check-coverage": true,
|
|
63
|
-
"exclude": [
|
|
64
|
-
|
|
65
|
-
],
|
|
62
|
+
"exclude": ["**/test/**/*.*"],
|
|
63
|
+
"include": ["dist/*.esm.js"],
|
|
66
64
|
"lines": 100
|
|
67
65
|
},
|
|
68
66
|
"lect": {
|
|
69
67
|
"licence": {
|
|
70
|
-
"extras": [
|
|
71
|
-
""
|
|
72
|
-
]
|
|
68
|
+
"extras": [""]
|
|
73
69
|
}
|
|
74
70
|
},
|
|
75
71
|
"dependencies": {
|
|
76
|
-
"codsen-utils": "^1.
|
|
77
|
-
|
|
72
|
+
"codsen-utils": "^1.8.0"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=18.20.8"
|
|
78
76
|
},
|
|
79
77
|
"publishConfig": {
|
|
80
78
|
"registry": "https://registry.npmjs.org/"
|
package/.eslintcache
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"/home/runner/work/codsen/codsen/packages/string-left-right/examples/_quickTake.js":"1","/home/runner/work/codsen/codsen/packages/string-left-right/perf/check.js":"2","/home/runner/work/codsen/codsen/packages/string-left-right/rollup.config.js":"3","/home/runner/work/codsen/codsen/packages/string-left-right/src/main.ts":"4","/home/runner/work/codsen/codsen/packages/string-left-right/test/chompLeft.js":"5","/home/runner/work/codsen/codsen/packages/string-left-right/test/chompRight.js":"6","/home/runner/work/codsen/codsen/packages/string-left-right/test/edge.js":"7","/home/runner/work/codsen/codsen/packages/string-left-right/test/left.js":"8","/home/runner/work/codsen/codsen/packages/string-left-right/test/leftSeq.js":"9","/home/runner/work/codsen/codsen/packages/string-left-right/test/leftStopAtNewLines.js":"10","/home/runner/work/codsen/codsen/packages/string-left-right/test/leftStopAtRawNbsp.js":"11","/home/runner/work/codsen/codsen/packages/string-left-right/test/right.js":"12","/home/runner/work/codsen/codsen/packages/string-left-right/test/rightSeq.js":"13","/home/runner/work/codsen/codsen/packages/string-left-right/test/rightStopAtNewLines.js":"14","/home/runner/work/codsen/codsen/packages/string-left-right/test/rightStopAtRawNbsp.js":"15"},{"size":616,"mtime":1760566739149,"results":"16","hashOfConfig":"17"},{"size":311,"mtime":1760566739149,"results":"18","hashOfConfig":"19"},{"size":373,"mtime":1760566739149,"results":"20","hashOfConfig":"17"},{"size":43409,"mtime":1760566739150,"results":"21","hashOfConfig":"19"},{"size":9038,"mtime":1760566739150,"results":"22","hashOfConfig":"23"},{"size":8132,"mtime":1760566739150,"results":"24","hashOfConfig":"23"},{"size":934,"mtime":1760566739150,"results":"25","hashOfConfig":"23"},{"size":1188,"mtime":1760566739150,"results":"26","hashOfConfig":"23"},{"size":2181,"mtime":1760566739150,"results":"27","hashOfConfig":"23"},{"size":1711,"mtime":1760566739150,"results":"28","hashOfConfig":"23"},{"size":4072,"mtime":1760566739150,"results":"29","hashOfConfig":"23"},{"size":1211,"mtime":1760566739150,"results":"30","hashOfConfig":"23"},{"size":3366,"mtime":1760566739150,"results":"31","hashOfConfig":"23"},{"size":2214,"mtime":1760566739150,"results":"32","hashOfConfig":"23"},{"size":4771,"mtime":1760566739150,"results":"33","hashOfConfig":"23"},{"filePath":"34","messages":"35","suppressedMessages":"36","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1nlhngw",{"filePath":"37","messages":"38","suppressedMessages":"39","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1xjytlu",{"filePath":"40","messages":"41","suppressedMessages":"42","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"43","messages":"44","suppressedMessages":"45","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","suppressedMessages":"48","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"nrihsz",{"filePath":"49","messages":"50","suppressedMessages":"51","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"52","messages":"53","suppressedMessages":"54","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","suppressedMessages":"57","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"58","messages":"59","suppressedMessages":"60","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","suppressedMessages":"63","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","suppressedMessages":"66","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","suppressedMessages":"69","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","suppressedMessages":"72","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"73","messages":"74","suppressedMessages":"75","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","suppressedMessages":"78","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/codsen/codsen/packages/string-left-right/examples/_quickTake.js",[],[],"/home/runner/work/codsen/codsen/packages/string-left-right/perf/check.js",[],[],"/home/runner/work/codsen/codsen/packages/string-left-right/rollup.config.js",[],[],"/home/runner/work/codsen/codsen/packages/string-left-right/src/main.ts",[],[],"/home/runner/work/codsen/codsen/packages/string-left-right/test/chompLeft.js",[],["79","80","81","82","83"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/chompRight.js",[],["84","85","86","87","88"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/edge.js",[],["89","90","91","92","93","94"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/left.js",[],["95","96","97","98","99"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/leftSeq.js",[],["100","101","102","103","104","105"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/leftStopAtNewLines.js",[],["106","107","108","109","110"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/leftStopAtRawNbsp.js",[],["111","112","113","114","115"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/right.js",[],["116","117","118","119","120"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/rightSeq.js",[],["121","122","123","124","125","126"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/rightStopAtNewLines.js",[],["127","128","129","130","131"],"/home/runner/work/codsen/codsen/packages/string-left-right/test/rightStopAtRawNbsp.js",[],["132","133","134","135","136"],{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"140"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"142"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"144"},{"ruleId":"137","severity":2,"message":"145","line":3,"column":39,"nodeType":null,"messageId":"139","endLine":3,"endColumn":42,"suppressions":"146"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"148"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"149"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"150"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"151"},{"ruleId":"137","severity":2,"message":"145","line":3,"column":39,"nodeType":null,"messageId":"139","endLine":3,"endColumn":42,"suppressions":"152"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"153"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"154"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"155"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"157"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"158"},{"ruleId":"137","severity":2,"message":"145","line":3,"column":39,"nodeType":null,"messageId":"139","endLine":3,"endColumn":42,"suppressions":"159"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"160"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"161"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"162"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"163"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"164"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"165"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"166"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"167"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"168"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"169"},{"ruleId":"137","severity":2,"message":"145","line":3,"column":39,"nodeType":null,"messageId":"139","endLine":3,"endColumn":42,"suppressions":"170"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"171"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"172"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"173"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"174"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"175"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"176"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"177"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"178"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"179"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"180"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"181"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"182"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"183"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"184"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"185"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"186"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"187"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"188"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"189"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"190"},{"ruleId":"137","severity":2,"message":"145","line":3,"column":39,"nodeType":null,"messageId":"139","endLine":3,"endColumn":42,"suppressions":"191"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"192"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"193"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"194"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"195"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"196"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"197"},{"ruleId":"137","severity":2,"message":"138","line":3,"column":17,"nodeType":null,"messageId":"139","endLine":3,"endColumn":19,"suppressions":"198"},{"ruleId":"137","severity":2,"message":"141","line":3,"column":21,"nodeType":null,"messageId":"139","endLine":3,"endColumn":23,"suppressions":"199"},{"ruleId":"137","severity":2,"message":"156","line":3,"column":25,"nodeType":null,"messageId":"139","endLine":3,"endColumn":31,"suppressions":"200"},{"ruleId":"137","severity":2,"message":"143","line":3,"column":33,"nodeType":null,"messageId":"139","endLine":3,"endColumn":37,"suppressions":"201"},{"ruleId":"137","severity":2,"message":"147","line":3,"column":44,"nodeType":null,"messageId":"139","endLine":3,"endColumn":49,"suppressions":"202"},"@typescript-eslint/no-unused-vars","'is' is defined but never used.","unusedVar",["203"],"'ok' is defined but never used.",["204"],"'type' is defined but never used.",["205"],"'not' is defined but never used.",["206"],"'match' is defined but never used.",["207"],["208"],["209"],["210"],["211"],["212"],["213"],["214"],"'throws' is defined but never used.",["215"],["216"],["217"],["218"],["219"],["220"],["221"],["222"],["223"],["224"],["225"],["226"],["227"],["228"],["229"],["230"],["231"],["232"],["233"],["234"],["235"],["236"],["237"],["238"],["239"],["240"],["241"],["242"],["243"],["244"],["245"],["246"],["247"],["248"],["249"],["250"],["251"],["252"],["253"],["254"],["255"],["256"],["257"],["258"],["259"],["260"],{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},{"kind":"261","justification":"262"},"directive",""]
|