spawn-term 0.1.54 → 0.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.
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "default", {
6
6
  enumerable: true,
7
- get: function () {
7
+ get: function() {
8
8
  return intlAdapter;
9
9
  }
10
10
  });
@@ -14,24 +14,20 @@ function _class_call_check(instance, Constructor) {
14
14
  }
15
15
  }
16
16
  function _ts_generator(thisArg, body) {
17
- var f, y, t, g, _ = {
17
+ var f, y, t, _ = {
18
18
  label: 0,
19
- sent: function () {
19
+ sent: function() {
20
20
  if (t[0] & 1) throw t[1];
21
21
  return t[1];
22
22
  },
23
23
  trys: [],
24
24
  ops: []
25
- };
26
- return g = {
27
- next: verb(0),
28
- "throw": verb(1),
29
- "return": verb(2)
30
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
25
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
26
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
31
27
  return this;
32
28
  }), g;
33
29
  function verb(n) {
34
- return function (v) {
30
+ return function(v) {
35
31
  return step([
36
32
  n,
37
33
  v
@@ -40,13 +36,13 @@ function _ts_generator(thisArg, body) {
40
36
  }
41
37
  function step(op) {
42
38
  if (f) throw new TypeError("Generator is already executing.");
43
- while (_) try {
39
+ while(g && (g = 0, op[0] && (_ = 0)), _)try {
44
40
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
45
41
  if (y = 0, t) op = [
46
42
  op[0] & 2,
47
43
  t.value
48
44
  ];
49
- switch (op[0]) {
45
+ switch(op[0]){
50
46
  case 0:
51
47
  case 1:
52
48
  t = op;
@@ -98,9 +94,9 @@ function _ts_generator(thisArg, body) {
98
94
  e
99
95
  ];
100
96
  y = 0;
101
- } finally {
102
- f = t = 0;
103
- }
97
+ } finally{
98
+ f = t = 0;
99
+ }
104
100
  if (op[0] & 5) throw op[1];
105
101
  return {
106
102
  value: op[0] ? op[1] : void 0,
@@ -118,43 +114,47 @@ var hasRequiredCore;
118
114
  function requireCore() {
119
115
  if (hasRequiredCore) return core;
120
116
  hasRequiredCore = 1;
121
- core.initLookupTableBuffer = initLookupTableBuffer;
122
- core.initUnicodeRangeBuffer = initUnicodeRangeBuffer;
123
- core.searchUnicodeRange = searchUnicodeRange;
117
+ core.decodeUnicodeData = decodeUnicodeData;
118
+ core.findUnicodeRangeIndex = findUnicodeRangeIndex;
124
119
  // @ts-check
125
120
  /**
126
- * @typedef {[from: number, to: number]} UnicodeRange
127
- *
128
- * [from..to] code points included
121
+ * @template {number} [T=number]
122
+ * @typedef {[from: number, to: number, category: T]} CategorizedUnicodeRange
129
123
  */ /**
130
- * @template {number} T
131
- * @typedef {[fro: number, to: number, category: T]} CategorizedUnicodeRange
124
+ * @typedef {CategorizedUnicodeRange<0>} UnicodeRange
132
125
  */ /**
133
- * @typedef {string & { __tag: 'LookupTableEncoding' }} LookupTableEncoding
126
+ * @typedef {string & { __tag: 'UnicodeDataEncoding' }} UnicodeDataEncoding
134
127
  *
135
- * Base36 encoded {@link LookupTableBuffer} data. It's a sequence of `base36(code point)` with separators.
128
+ * Encoding for array of {@link UnicodeRange}, items separated by comma.
136
129
  *
137
- * Separator can be omitted if each value is small (=< 36)
138
- */ /**
139
- * @typedef {Array<number> & { __tag: 'LookupTableBuffer' }} LookupTableBuffer
140
- *
141
- * Value lookup table serialized into a TypedArray
142
- */ /**
143
- * @typedef {Array<number> & { __tag: 'UnicodeRangeBuffer' }} UnicodeRangeBuffer
130
+ * Each {@link UnicodeDataRow} packed as a base36 integer:
144
131
  *
145
- * {@link UnicodeRange} data serialized into a TypedArray
132
+ * padding = to - from
133
+ * encoding = base36(from) + ',' + base36(padding)
146
134
  *
147
- * It's a dense array like `[from,to,from,to,...]`
148
- * So always has an even length and is quantized into 2-items chunks.
149
- *
150
- * The pairs must be sorted in ascending order to allow binary search.
151
- */ /**
152
- * @typedef {string & { __tag: 'UnicodeRangeEncoding' }} UnicodeRangeEncoding
153
- *
154
- * Base36 encoded {@link UnicodeRangeBuffer} data. It's a sequence of `base36(code point),base36(padding)`
155
- *
156
- * Value `0` is represented as empty strings
135
+ * Notes:
136
+ * - base36 can hold surprisingly large numbers in a few characters.
137
+ * - The biggest codepoint is 0xE01F0 (918,000) at this point
138
+ * - The max value of a category is 23; https://www.unicode.org/reports/tr29/tr29-45.html#Table_Word_Break_Property_Values
139
+ * - The longest range is 42,720; CJK UNIFIED IDEOGRAPH-20000..CJK UNIFIED IDEOGRAPH-2A6DF
157
140
  */ /**
141
+ * @template {number} [T=number]
142
+ * @param {UnicodeDataEncoding} data
143
+ * @param {string} [cats='']
144
+ * @returns {Array<CategorizedUnicodeRange<T>>}
145
+ */ function decodeUnicodeData(data) {
146
+ var cats = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : '';
147
+ var buf = /** @type {Array<CategorizedUnicodeRange<T>>} */ [], nums = data.split(',').map(function(s) {
148
+ return s ? parseInt(s, 36) : 0;
149
+ }), n = 0;
150
+ for(var i = 0; i < nums.length; i++)i % 2 ? buf.push([
151
+ n,
152
+ n + nums[i],
153
+ /** @type {T} */ cats ? parseInt(cats[i >> 1], 36) : 0
154
+ ]) : n = nums[i];
155
+ return buf;
156
+ }
157
+ /**
158
158
  * @template {object} Ext
159
159
  * @typedef {{
160
160
  * segment: string,
@@ -165,52 +165,19 @@ function requireCore() {
165
165
  * @template {object} T
166
166
  * @typedef {IterableIterator<SegmentOutput<T>>} Segmenter
167
167
  */ /**
168
- * @template {number} T
169
- * @param {T} x
170
- * @param {UnicodeRangeBuffer} buffer
171
- * @param {number} [sliceFrom]
172
- * @param {number} [sliceTo]
173
- * @return {number} index of including range, or -(low+1) if there isn't
174
- */ function searchUnicodeRange(x, buffer) {
175
- var sliceFrom = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, sliceTo = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : buffer.length;
176
- var lo = sliceFrom;
177
- var hi = sliceTo - 2;
178
- while (lo <= hi) {
179
- var mid = lo + hi >> 1 & -2;
180
- var l = buffer[mid], h = buffer[mid + 1];
181
- if (l <= x && x <= h) {
182
- return mid;
183
- } else if (h < x) {
184
- lo = mid + 2;
185
- } else {
186
- hi = mid - 2;
187
- }
168
+ * @template {number} [T=number]
169
+ * @param {number} cp
170
+ * @param {CategorizedUnicodeRange<T>[]} ranges
171
+ * @return {number} index of matched unicode range, or -1 if no match
172
+ */ function findUnicodeRangeIndex(cp, ranges) {
173
+ var lo = 0, hi = ranges.length - 1;
174
+ while(lo <= hi){
175
+ var mid = lo + hi >> 1, range = ranges[mid], l = range[0], h = range[1];
176
+ if (l <= cp && cp <= h) return mid;
177
+ else if (cp > h) lo = mid + 1;
178
+ else hi = mid - 1;
188
179
  }
189
- return -lo - 1;
190
- }
191
- /**
192
- * @param {Array<number>} buffer
193
- * @param {LookupTableEncoding} value
194
- * @param {'' | ','} [sep = '']
195
- * @return {LookupTableBuffer}
196
- */ function initLookupTableBuffer(buffer, value) {
197
- var sep = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : '';
198
- var nums = value.split(sep).map(function (s) {
199
- return s ? parseInt(s, 36) : 0;
200
- });
201
- for (var i = 0; i < nums.length; i++)buffer[i] = nums[i];
202
- return /** @type {LookupTableBuffer} */ buffer;
203
- }
204
- /**
205
- * @param {Array<number>} buffer
206
- * @param {UnicodeRangeEncoding} value
207
- * @return {UnicodeRangeBuffer}
208
- */ function initUnicodeRangeBuffer(buffer, value) {
209
- var nums = value.split(',').map(function (s) {
210
- return s ? parseInt(s, 36) : 0;
211
- });
212
- for (var i = 0, n = 0; i < nums.length; i++)buffer[i] = i % 2 ? n + nums[i] : n = nums[i];
213
- return /** @type {UnicodeRangeBuffer} */ buffer;
180
+ return -1;
214
181
  }
215
182
  return core;
216
183
  }
@@ -227,57 +194,7 @@ function requireUtils() {
227
194
  utils.isSSP = isSSP;
228
195
  utils.isTIP = isTIP;
229
196
  utils.surrogatePairToCodePoint = surrogatePairToCodePoint;
230
- utils.takeChar = takeChar;
231
- utils.takeCodePoint = takeCodePoint;
232
197
  // @ts-check
233
- /**
234
- * Take a Unicode code point from the given input by cursor
235
- *
236
- * @deprecated
237
- * Use this only if `String.prototype.codePointAt()` isn't available on the host environment
238
- *
239
- * @param {string} input
240
- * @param {number} cursor
241
- * @param {number} [length] length of input
242
- * @return {number} a code point of the character
243
- */ function takeCodePoint(input, cursor) {
244
- var length = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : input.length;
245
- var hi = input.charCodeAt(cursor);
246
- if (isHighSurrogate(hi)) {
247
- if (cursor + 1 < length) {
248
- var lo = input.charCodeAt(cursor + 1);
249
- if (isLowSurrogate(lo)) {
250
- return surrogatePairToCodePoint(hi, lo);
251
- }
252
- }
253
- }
254
- return hi;
255
- }
256
- /**
257
- * Take a UTF-8 char from the given input by cursor
258
- *
259
- * @deprecated
260
- * Use this only if `String.fromCodePoint()` isn't available on the host environment
261
- *
262
- * @param {string} input
263
- * @param {number} cursor
264
- * @param {number} [length] length of input
265
- * @return {string} a UTF-8 character (its `.length` will be 1 or 2)
266
- */ function takeChar(input, cursor) {
267
- var length = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : input.length;
268
- var hi = input.charCodeAt(cursor);
269
- if (isHighSurrogate(hi)) {
270
- if (cursor + 1 < length) {
271
- var lo = input.charCodeAt(cursor + 1);
272
- if (isLowSurrogate(lo)) {
273
- // This seems to be much slower in V8
274
- // return String.fromCharCode(hi, lo);
275
- return String.fromCharCode(hi) + String.fromCharCode(lo);
276
- }
277
- }
278
- }
279
- return String.fromCharCode(hi);
280
- }
281
198
  /**
282
199
  * @param {number} c UTF-16 code point
283
200
  */ function isHighSurrogate(c) {
@@ -341,17 +258,14 @@ var hasRequired_grapheme_data;
341
258
  function require_grapheme_data() {
342
259
  if (hasRequired_grapheme_data) return _grapheme_data;
343
260
  hasRequired_grapheme_data = 1;
344
- _grapheme_data.GraphemeCategory = undefined;
345
- _grapheme_data.findGraphemeIndex = findGraphemeIndex;
346
- _grapheme_data.grapheme_cats = _grapheme_data.grapheme_buffer = undefined;
261
+ _grapheme_data.grapheme_ranges = _grapheme_data.GraphemeCategory = void 0;
347
262
  var _core = /*@__PURE__*/ requireCore();
348
263
  // The following code was generated by "scripts/unicode.js",
349
264
  // DO NOT EDIT DIRECTLY.
350
265
  //
351
266
  // @ts-check
352
267
  /**
353
- * @typedef {import('./core.js').LookupTableEncoding} LookupTableEncoding
354
- * @typedef {import('./core.js').UnicodeRangeEncoding} UnicodeRangeEncoding
268
+ * @typedef {import('./core.js').UnicodeDataEncoding} UnicodeDataEncoding
355
269
  */ /**
356
270
  * @typedef {0} GC_Any
357
271
  * @typedef {1} GC_CR
@@ -408,8 +322,9 @@ function require_grapheme_data() {
408
322
  */ /**
409
323
  * Grapheme category enum
410
324
  *
411
- * Note: The enum object is not actually `Object.freeze`
412
- * because it increases 800 bytes of Brotli compression... Not sure why :P
325
+ * Note:
326
+ * The object isn't actually frozen
327
+ * because using `Object.freeze` increases 800 bytes on Brotli compression.
413
328
  *
414
329
  * @type {Readonly<Record<GraphemeCategoryKey, GraphemeCategoryNum>>}
415
330
  */ _grapheme_data.GraphemeCategory = {
@@ -429,28 +344,9 @@ function require_grapheme_data() {
429
344
  V: 13,
430
345
  ZWJ: 14
431
346
  };
432
- var grapheme_buffer = _grapheme_data.grapheme_buffer = (0, _core.initUnicodeRangeBuffer)(Array(2908), /** @type {UnicodeRangeEncoding} */ ',9,a,,b,1,d,,e,h,3j,w,4p,,4t,,4u,,lc,33,w3,6,13l,18,14v,,14x,1,150,1,153,,16o,5,174,a,17g,,18r,k,19s,,1cm,6,1ct,,1cv,5,1d3,1,1d6,3,1e7,,1e9,,1f4,q,1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yfh,q,yg8,,yg9,q,yh0,,yh1,q,yhs,,yht,q,yik,,yil,q,yjc,,yjd,q,yk4,,yk5,q,ykw,,ykx,q,ylo,,ylp,q,ymg,,ymh,q,yn8,,yn9,q,yo0,,yo1,q,yos,,yot,q,ypk,,ypl,q,yqc,,yqd,q,yr4,,yr5,q,yrw,,yrx,q,yso,,ysp,q,ytg,,yth,q,yu8,,yu9,q,yv0,,yv1,q,yvs,,yvt,q,ywk,,ywl,q,yxc,,yxd,q,yy4,,yy5,q,yyw,,yyx,q,yzo,,yzp,q,z0g,,z0h,q,z18,,z19,q,z20,,z21,q,z2s,,z2t,q,z3k,,z3l,q,z4c,,z4d,q,z54,,z55,q,z5w,,z5x,q,z6o,,z6p,q,z7g,,z7h,q,z88,,z89,q,z90,,z91,q,z9s,,z9t,q,zak,,zal,q,zbc,,zbd,q,zc4,,zc5,q,zcw,,zcx,q,zdo,,zdp,q,zeg,,zeh,q,zf8,,zf9,q,zg0,,zg1,q,zgs,,zgt,q,zhk,,zhl,q,zic,,zid,q,zj4,,zj5,q,zjw,,zjx,q,zko,,zkp,q,zlg,,zlh,q,zm8,,zm9,q,zn0,,zn1,q,zns,,znt,q,zok,,zol,q,zpc,,zpd,q,zq4,,zq5,q,zqw,,zqx,q,zro,,zrp,q,zsg,,zsh,q,zt8,,zt9,q,zu0,,zu1,q,zus,,zut,q,zvk,,zvl,q,zwc,,zwd,q,zx4,,zx5,q,zxw,,zxx,q,zyo,,zyp,q,zzg,,zzh,q,1008,,1009,q,1010,,1011,q,101s,,101t,q,102k,,102l,q,103c,,103d,q,1044,,1045,q,104w,,104x,q,105o,,105p,q,106g,,106h,q,1078,,1079,q,1080,,1081,q,108s,,108t,q,109k,,109l,q,10ac,,10ad,q,10b4,,10b5,q,10bw,,10bx,q,10co,,10cp,q,10dg,,10dh,q,10e8,,10e9,q,10f0,,10f1,q,10fs,,10ft,q,10gk,,10gl,q,10hc,,10hd,q,10i4,,10i5,q,10iw,,10ix,q,10jo,,10jp,q,10kg,,10kh,q,10l8,,10l9,q,10m0,,10m1,q,10ms,,10mt,q,10nk,,10nl,q,10oc,,10od,q,10p4,,10p5,q,10pw,,10px,q,10qo,,10qp,q,10rg,,10rh,q,10s8,,10s9,q,10t0,,10t1,q,10ts,,10tt,q,10uk,,10ul,q,10vc,,10vd,q,10w4,,10w5,q,10ww,,10wx,q,10xo,,10xp,q,10yg,,10yh,q,10z8,,10z9,q,1100,,1101,q,110s,,110t,q,111k,,111l,q,112c,,112d,q,1134,,1135,q,113w,,113x,q,114o,,114p,q,115g,,115h,q,1168,,1169,q,1170,,1171,q,117s,,117t,q,118k,,118l,q,119c,,119d,q,11a4,,11a5,q,11aw,,11ax,q,11bo,,11bp,q,11cg,,11ch,q,11d8,,11d9,q,11e0,,11e1,q,11es,,11et,q,11fk,,11fl,q,11gc,,11gd,q,11h4,,11h5,q,11hw,,11hx,q,11io,,11ip,q,11jg,,11jh,q,11k8,,11k9,q,11l0,,11l1,q,11ls,,11lt,q,11mk,,11ml,q,11nc,,11nd,q,11o4,,11o5,q,11ow,,11ox,q,11po,,11pp,q,11qg,,11qh,q,11r8,,11r9,q,11s0,,11s1,q,11ss,,11st,q,11tk,,11tl,q,11uc,,11ud,q,11v4,,11v5,q,11vw,,11vx,q,11wo,,11wp,q,11xg,,11xh,q,11y8,,11y9,q,11z0,,11z1,q,11zs,,11zt,q,120k,,120l,q,121c,,121d,q,1224,,1225,q,122w,,122x,q,123o,,123p,q,124g,,124h,q,1258,,1259,q,1260,,1261,q,126s,,126t,q,127k,,127l,q,128c,,128d,q,1294,,1295,q,129w,,129x,q,12ao,,12ap,q,12bg,,12bh,q,12c8,,12c9,q,12d0,,12d1,q,12ds,,12dt,q,12ek,,12el,q,12fc,,12fd,q,12g4,,12g5,q,12gw,,12gx,q,12ho,,12hp,q,12ig,,12ih,q,12j8,,12j9,q,12k0,,12k1,q,12ks,,12kt,q,12lk,,12ll,q,12mc,,12md,q,12n4,,12n5,q,12nw,,12nx,q,12oo,,12op,q,12pg,,12ph,q,12q8,,12q9,q,12r0,,12r1,q,12rs,,12rt,q,12sk,,12sl,q,12tc,,12td,q,12u4,,12u5,q,12uw,,12ux,q,12vo,,12vp,q,12wg,,12wh,q,12x8,,12x9,q,12y0,,12y1,q,12ys,,12yt,q,12zk,,12zl,q,130c,,130d,q,1314,,1315,q,131w,,131x,q,132o,,132p,q,133g,,133h,q,1348,,1349,q,1350,,1351,q,135s,,135t,q,136k,,136l,q,137c,,137d,q,1384,,1385,q,138w,,138x,q,139o,,139p,q,13ag,,13ah,q,13b8,,13b9,q,13c0,,13c1,q,13cs,,13ct,q,13dk,,13dl,q,13ec,,13ed,q,13f4,,13f5,q,13fw,,13fx,q,13go,,13gp,q,13hg,,13hh,q,13i8,,13i9,q,13j0,,13j1,q,13js,,13jt,q,13kk,,13kl,q,13lc,,13ld,q,13m4,,13m5,q,13mw,,13mx,q,13no,,13np,q,13og,,13oh,q,13p8,,13p9,q,13q0,,13q1,q,13qs,,13qt,q,13rk,,13rl,q,13sc,,13sd,q,13t4,,13t5,q,13tw,,13tx,q,13uo,,13up,q,13vg,,13vh,q,13w8,,13w9,q,13x0,,13x1,q,13xs,,13xt,q,13yk,,13yl,q,13zc,,13zd,q,1404,,1405,q,140w,,140x,q,141o,,141p,q,142g,,142h,q,1438,,1439,q,1440,,1441,q,144s,,144t,q,145k,,145l,q,146c,,146d,q,1474,,1475,q,147w,,147x,q,148o,,148p,q,149g,,149h,q,14a8,,14a9,q,14b0,,14b1,q,14bs,,14bt,q,14ck,,14cl,q,14dc,,14dd,q,14e4,,14e5,q,14ew,,14ex,q,14fo,,14fp,q,14gg,,14gh,q,14h8,,14h9,q,14i0,,14i1,q,14is,,14it,q,14jk,,14jl,q,14kc,,14kd,q,14l4,,14l5,q,14lw,,14lx,q,14mo,,14mp,q,14ng,,14nh,q,14o8,,14o9,q,14p0,,14p1,q,14ps,,14pt,q,14qk,,14ql,q,14rc,,14rd,q,14s4,,14s5,q,14sw,,14sx,q,14to,,14tp,q,14ug,,14uh,q,14v8,,14v9,q,14w0,,14w1,q,14ws,,14wt,q,14xk,,14xl,q,14yc,,14yd,q,14z4,,14z5,q,14zw,,14zx,q,150o,,150p,q,151g,,151h,q,1528,,1529,q,1530,,1531,q,153s,,153t,q,154k,,154l,q,155c,,155d,q,1564,,1565,q,156w,,156x,q,157o,,157p,q,158g,,158h,q,1598,,1599,q,15a0,,15a1,q,15as,,15at,q,15bk,,15bl,q,15cc,,15cd,q,15d4,,15d5,q,15dw,,15dx,q,15eo,,15ep,q,15fg,,15fh,q,15g8,,15g9,q,15h0,,15h1,q,15hs,,15ht,q,15ik,,15il,q,15jc,,15jd,q,15k4,,15k5,q,15kw,,15kx,q,15lo,,15lp,q,15mg,,15mh,q,15n8,,15n9,q,15o0,,15o1,q,15os,,15ot,q,15pk,,15pl,q,15qc,,15qd,q,15r4,,15r5,q,15rw,,15rx,q,15so,,15sp,q,15tg,,15th,q,15u8,,15u9,q,15v0,,15v1,q,15vs,,15vt,q,15wk,,15wl,q,15xc,,15xd,q,15y4,,15y5,q,15yw,,15yx,q,15zo,,15zp,q,160g,,160h,q,1618,,1619,q,1620,,1621,q,162s,,162t,q,163k,,163l,q,164c,,164d,q,1654,,1655,q,165w,,165x,q,166o,,166p,q,167g,,167h,q,1688,,1689,q,1690,,1691,q,169s,,169t,q,16ak,,16al,q,16bc,,16bd,q,16c4,,16c5,q,16cw,,16cx,q,16do,,16dp,q,16eg,,16eh,q,16f8,,16f9,q,16g0,,16g1,q,16gs,,16gt,q,16hk,,16hl,q,16ic,,16id,q,16j4,,16j5,q,16jw,,16jx,q,16ko,,16kp,q,16ls,m,16mj,1c,1dlq,,1e68,f,1e74,f,1edb,,1ehq,1,1ek0,b,1eyl,,1f4w,,1f92,4,1gjl,2,1gjp,1,1gjw,3,1gl4,2,1glb,,1gpx,1,1h5w,3,1h7t,4,1hgr,1,1hj0,3,1hl2,a,1hmq,3,1hq8,,1hq9,,1hqa,,1hrs,e,1htc,,1ht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1kqe,4,1kqm,1,1kqo,2,1kre,,1ovk,f,1ow0,,1ow7,e,1xr2,b,1xre,2,1xrh,2,1zow,4,1zqo,6,206b,,206f,3,20jz,,20k1,1i,20lr,3,20o4,,20og,1,2ftp,1,2fts,3,2jgg,19,2jhs,m,2jxh,4,2jxp,5,2jxv,7,2jy3,7,2jyd,6,2jze,3,2k3m,2,2lmo,1i,2lob,1d,2lpx,,2lqc,,2lqz,4,2lr5,e,2mtc,6,2mtk,g,2mu3,6,2mub,1,2mue,4,2mxb,,2n1s,6,2nce,,2ne4,3,2nsc,3,2nzi,1,2ok0,6,2on8,6,2pz4,73,2q6l,2,2q7j,,2q98,5,2q9q,1,2qa6,,2qa9,9,2qb1,1k,2qcm,p,2qdd,e,2qe2,,2qen,,2qeq,8,2qf0,3,2qfd,c1,2qrf,4,2qrk,8t,2r0m,7d,2r9c,3j,2rg4,b,2rit,16,2rkc,3,2rm0,7,2rmi,5,2rns,7,2rou,29,2rrg,1a,2rss,9,2rt3,c8,2scg,sd,jny8,v,jnz4,2n,jo1s,3j,jo5c,6n,joc0,2rz');
433
- _grapheme_data.grapheme_cats = (0, _core.initLookupTableBuffer)(Array(1454), /** @type {LookupTableEncoding} */ '262122424333333393233393339333333333393393b3b3b3b3b333b33b3bb33333b3b3333333b3b33bb3333b33b3bb33333b3bbb333b333b33333b3b3b3b3333b3b33b3bb39333b33b33b3b3b333b333333b3b333333b33b3b3333b3335dc333333b3b3b33323333b3bb3b33b3b3b3333b3333b3b333bb3b33b3b3b3b3b333b333b3323e2244234444444444444444444444444444444444444444443333443443333333b3b3bb33333b353b3b3b3b333b3b333b333333b3bb3b3b3bb3787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878dc333232333333333333333b3b3333bb3b393933b3b33bb3b393b3b3b3333b33b33b3bbb33b333b3333bb3933b3b3b333b3b3b3b3b33b3b3b33b3b3b33b3b33b33b3b3b33bb39b9b3b33b3b33b9333b393b3b33b33b3b3b3333393b3b3b33b39bb3b332333b333dd3b33332333323333333333333333333333344444444a44444434444444444444423232');
434
- var grapheme_lookup = (0, _core.initLookupTableBuffer)(Array(128), /** @type {LookupTableEncoding} */ ',a,w,2y,4r,5a,5m,6w,79,7s,8j,8o,8r,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,8x,91,ai,cj,el,gl,in,kn,mp,oq,qr,st,ut,wq,wq,wq,wq,wq,wq,wq,wq,wq,wr,ww,wz,wz,x5,xb,z5,10c,118,126,126,126,126,126,126,129,129,129,129,129,129,129,129,129,129,129,12c,12c,12e,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12l,12n,12n,12n,12n,12p,12w,12w,132,132,13b,13d,13f,13f,13v,140,148', ',');
435
347
  /**
436
- * @param {number} cp
437
- * @return Index of {@link grapheme_ranges} if found, or negation of last visited low cursor.
438
- */ function findGraphemeIndex(cp) {
439
- // Perform a quick O(1) lookup in a precomputed table to determine
440
- // the slice of the range table to search in.
441
- var lookup_table = grapheme_lookup;
442
- var lookup_interval = 1024;
443
- var idx = cp / lookup_interval | 0;
444
- // If the `idx` is outside of the precomputed table - use the slice
445
- // starting from the last covered index in the precomputed table and
446
- // ending with the length of the range table.
447
- var sliceFrom = 1448, sliceTo = 1454;
448
- if (idx + 1 < lookup_table.length) {
449
- sliceFrom = lookup_table[idx];
450
- sliceTo = lookup_table[idx + 1] + 1;
451
- }
452
- return (0, _core.searchUnicodeRange)(cp, grapheme_buffer, sliceFrom * 2, sliceTo * 2);
453
- }
348
+ * @type {GraphemeCategoryRange[]}
349
+ */ _grapheme_data.grapheme_ranges = (0, _core.decodeUnicodeData)(/** @type {UnicodeDataEncoding} */ ',9,a,,b,1,d,,e,h,3j,w,4p,,4t,,4u,,lc,33,w3,6,13l,18,14v,,14x,1,150,1,153,,16o,5,174,a,17g,,18r,k,19s,,1cm,6,1ct,,1cv,5,1d3,1,1d6,3,1e7,,1e9,,1f4,q,1ie,a,1kb,8,1kt,,1li,3,1ln,8,1lx,2,1m1,4,1nd,2,1ow,1,1p3,8,1qi,n,1r6,,1r7,v,1s3,,1tm,,1tn,,1to,,1tq,2,1tt,7,1u1,3,1u5,,1u6,1,1u9,6,1uq,1,1vl,,1vm,1,1x8,,1xa,,1xb,1,1xd,3,1xj,1,1xn,1,1xp,,1xz,,1ya,1,1z2,,1z5,1,1z7,,20s,,20u,2,20x,1,213,1,217,2,21d,,228,1,22d,,22p,1,22r,,24c,,24e,2,24h,4,24n,1,24p,,24r,1,24t,,25e,1,262,5,269,,26a,1,27w,,27y,1,280,,281,3,287,1,28b,1,28d,,28l,2,28y,1,29u,,2bi,,2bj,,2bk,,2bl,1,2bq,2,2bu,2,2bx,,2c7,,2dc,,2dd,2,2dg,,2f0,,2f2,2,2f5,3,2fa,2,2fe,3,2fp,1,2g2,1,2gx,,2gy,1,2ik,,2im,,2in,1,2ip,,2iq,,2ir,1,2iu,2,2iy,3,2j9,1,2jm,1,2k3,,2kg,1,2ki,1,2m3,1,2m6,,2m7,1,2m9,3,2me,2,2mi,2,2ml,,2mm,,2mv,,2n6,1,2o1,,2o2,1,2q2,,2q7,,2q8,1,2qa,2,2qe,,2qg,6,2qn,,2r6,1,2sx,,2sz,,2t0,6,2tj,7,2wh,,2wj,,2wk,8,2x4,6,2zc,1,305,,307,,309,,30e,1,31t,d,327,,328,4,32e,1,32l,a,32x,z,346,,371,3,375,,376,5,37d,1,37f,1,37h,1,386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zzg,,zzh,q,1008,,1009,q,1010,,1011,q,101s,,101t,q,102k,,102l,q,103c,,103d,q,1044,,1045,q,104w,,104x,q,105o,,105p,q,106g,,106h,q,1078,,1079,q,1080,,1081,q,108s,,108t,q,109k,,109l,q,10ac,,10ad,q,10b4,,10b5,q,10bw,,10bx,q,10co,,10cp,q,10dg,,10dh,q,10e8,,10e9,q,10f0,,10f1,q,10fs,,10ft,q,10gk,,10gl,q,10hc,,10hd,q,10i4,,10i5,q,10iw,,10ix,q,10jo,,10jp,q,10kg,,10kh,q,10l8,,10l9,q,10m0,,10m1,q,10ms,,10mt,q,10nk,,10nl,q,10oc,,10od,q,10p4,,10p5,q,10pw,,10px,q,10qo,,10qp,q,10rg,,10rh,q,10s8,,10s9,q,10t0,,10t1,q,10ts,,10tt,q,10uk,,10ul,q,10vc,,10vd,q,10w4,,10w5,q,10ww,,10wx,q,10xo,,10xp,q,10yg,,10yh,q,10z8,,10z9,q,1100,,1101,q,110s,,110t,q,111k,,111l,q,112c,,112d,q,1134,,1135,q,113w,,113x,q,114o,,114p,q,115g,,115h,q,1168,,1169,q,1170,,1171,q,117s,,117t,q,118k,,118l,q,119c,,119d,q,11a4,,11a5,q,11aw,,11ax,q,11bo,,11bp,q,11cg,,11ch,q,11d8,,11d9,q,11e0,,11e1,q,11es,,11et,q,11fk,,11fl,q,11gc,,11gd,q,11h4,,11h5,q,11hw,,11hx,q,11io,,11ip,q,11jg,,11jh,q,11k8,,11k9,q,11l0,,11l1,q,11ls,,11lt,q,11mk,,11ml,q,11nc,,11nd,q,11o4,,11o5,q,11ow,,11ox,q,11po,,11pp,q,11qg,,11qh,q,11r8,,11r9,q,11s0,,11s1,q,11ss,,11st,q,11tk,,11tl,q,11uc,,11ud,q,11v4,,11v5,q,11vw,,11vx,q,11wo,,11wp,q,11xg,,11xh,q,11y8,,11y9,q,11z0,,11z1,q,11zs,,11zt,q,120k,,120l,q,121c,,121d,q,1224,,1225,q,122w,,122x,q,123o,,123p,q,124g,,124h,q,1258,,1259,q,1260,,1261,q,126s,,126t,q,127k,,127l,q,128c,,128d,q,1294,,1295,q,129w,,129x,q,12ao,,12ap,q,12bg,,12bh,q,12c8,,12c9,q,12d0,,12d1,q,12ds,,12dt,q,12ek,,12el,q,12fc,,12fd,q,12g4,,12g5,q,12gw,,12gx,q,12ho,,12hp,q,12ig,,12ih,q,12j8,,12j9,q,12k0,,12k1,q,12ks,,12kt,q,12lk,,12ll,q,12mc,,12md,q,12n4,,12n5,q,12nw,,12nx,q,12oo,,12op,q,12pg,,12ph,q,12q8,,12q9,q,12r0,,12r1,q,12rs,,12rt,q,12sk,,12sl,q,12tc,,12td,q,12u4,,12u5,q,12uw,,12ux,q,12vo,,12vp,q,12wg,,12wh,q,12x8,,12x9,q,12y0,,12y1,q,12ys,,12yt,q,12zk,,12zl,q,130c,,130d,q,1314,,1315,q,131w,,131x,q,132o,,132p,q,133g,,133h,q,1348,,1349,q,1350,,1351,q,135s,,135t,q,136k,,136l,q,137c,,137d,q,1384,,1385,q,138w,,138x,q,139o,,139p,q,13ag,,13ah,q,13b8,,13b9,q,13c0,,13c1,q,13cs,,13ct,q,13dk,,13dl,q,13ec,,13ed,q,13f4,,13f5,q,13fw,,13fx,q,13go,,13gp,q,13hg,,13hh,q,13i8,,13i9,q,13j0,,13j1,q,13js,,13jt,q,13kk,,13kl,q,13lc,,13ld,q,13m4,,13m5,q,13mw,,13mx,q,13no,,13np,q,13og,,13oh,q,13p8,,13p9,q,13q0,,13q1,q,13qs,,13qt,q,13rk,,13rl,q,13sc,,13sd,q,13t4,,13t5,q,13tw,,13tx,q,13uo,,13up,q,13vg,,13vh,q,13w8,,13w9,q,13x0,,13x1,q,13xs,,13xt,q,13yk,,13yl,q,13zc,,13zd,q,1404,,1405,q,140w,,140x,q,141o,,141p,q,142g,,142h,q,1438,,1439,q,1440,,1441,q,144s,,144t,q,145k,,145l,q,146c,,146d,q,1474,,1475,q,147w,,147x,q,148o,,148p,q,149g,,149h,q,14a8,,14a9,q,14b0,,14b1,q,14bs,,14bt,q,14ck,,14cl,q,14dc,,14dd,q,14e4,,14e5,q,14ew,,14ex,q,14fo,,14fp,q,14gg,,14gh,q,14h8,,14h9,q,14i0,,14i1,q,14is,,14it,q,14jk,,14jl,q,14kc,,14kd,q,14l4,,14l5,q,14lw,,14lx,q,14mo,,14mp,q,14ng,,14nh,q,14o8,,14o9,q,14p0,,14p1,q,14ps,,14pt,q,14qk,,14ql,q,14rc,,14rd,q,14s4,,14s5,q,14sw,,14sx,q,14to,,14tp,q,14ug,,14uh,q,14v8,,14v9,q,14w0,,14w1,q,14ws,,14wt,q,14xk,,14xl,q,14yc,,14yd,q,14z4,,14z5,q,14zw,,14zx,q,150o,,150p,q,151g,,151h,q,1528,,1529,q,1530,,1531,q,153s,,153t,q,154k,,154l,q,155c,,155d,q,1564,,1565,q,156w,,156x,q,157o,,157p,q,158g,,158h,q,1598,,1599,q,15a0,,15a1,q,15as,,15at,q,15bk,,15bl,q,15cc,,15cd,q,15d4,,15d5,q,15dw,,15dx,q,15eo,,15ep,q,15fg,,15fh,q,15g8,,15g9,q,15h0,,15h1,q,15hs,,15ht,q,15ik,,15il,q,15jc,,15jd,q,15k4,,15k5,q,15kw,,15kx,q,15lo,,15lp,q,15mg,,15mh,q,15n8,,15n9,q,15o0,,15o1,q,15os,,15ot,q,15pk,,15pl,q,15qc,,15qd,q,15r4,,15r5,q,15rw,,15rx,q,15so,,15sp,q,15tg,,15th,q,15u8,,15u9,q,15v0,,15v1,q,15vs,,15vt,q,15wk,,15wl,q,15xc,,15xd,q,15y4,,15y5,q,15yw,,15yx,q,15zo,,15zp,q,160g,,160h,q,1618,,1619,q,1620,,1621,q,162s,,162t,q,163k,,163l,q,164c,,164d,q,1654,,1655,q,165w,,165x,q,166o,,166p,q,167g,,167h,q,1688,,1689,q,1690,,1691,q,169s,,169t,q,16ak,,16al,q,16bc,,16bd,q,16c4,,16c5,q,16cw,,16cx,q,16do,,16dp,q,16eg,,16eh,q,16f8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d,9,1jqr,5,1jqx,,1jqy,,1jqz,3,1jrb,,1jrl,5,1jrr,1,1jrt,2,1jt0,5,1jt6,c,1jtj,,1jtk,1,1k4v,,1k4w,6,1k54,5,1k5a,,1k5b,,1k7m,l,1k89,,1k8a,6,1k8h,,1k8i,1,1k8k,,1k8l,1,1kc1,5,1kca,,1kcc,1,1kcf,6,1kcm,,1kcn,,1kei,4,1keo,1,1ker,1,1ket,,1keu,,1kev,,1koj,1,1kol,1,1kow,1,1koy,,1koz,,1kqc,1,1kqe,4,1kqm,1,1kqo,2,1kre,,1ovk,f,1ow0,,1ow7,e,1xr2,b,1xre,2,1xrh,2,1zow,4,1zqo,6,206b,,206f,3,20jz,,20k1,1i,20lr,3,20o4,,20og,1,2ftp,1,2fts,3,2jgg,19,2jhs,m,2jxh,4,2jxp,5,2jxv,7,2jy3,7,2jyd,6,2jze,3,2k3m,2,2lmo,1i,2lob,1d,2lpx,,2lqc,,2lqz,4,2lr5,e,2mtc,6,2mtk,g,2mu3,6,2mub,1,2mue,4,2mxb,,2n1s,6,2nce,,2ne4,3,2nsc,3,2nzi,1,2ok0,6,2on8,6,2pz4,73,2q6l,2,2q7j,,2q98,5,2q9q,1,2qa6,,2qa9,9,2qb1,1k,2qcm,p,2qdd,e,2qe2,,2qen,,2qeq,8,2qf0,3,2qfd,c1,2qrf,4,2qrk,8t,2r0m,7d,2r9c,3j,2rg4,b,2rit,16,2rkc,3,2rm0,7,2rmi,5,2rns,7,2rou,29,2rrg,1a,2rss,9,2rt3,c8,2scg,sd,jny8,v,jnz4,2n,jo1s,3j,jo5c,6n,joc0,2rz', '262122424333333393233393339333333333393393b3b3b3b3b333b33b3bb33333b3b3333333b3b33bb3333b33b3bb33333b3bbb333b333b33333b3b3b3b3333b3b33b3bb39333b33b33b3b3b333b333333b3b333333b33b3b3333b3335dc333333b3b3b33323333b3bb3b33b3b3b3333b3333b3b333bb3b33b3b3b3b3b333b333b3323e2244234444444444444444444444444444444444444444443333443443333333b3b3bb33333b353b3b3b3b333b3b333b333333b3bb3b3b3bb3787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878dc333232333333333333333b3b3333bb3b393933b3b33bb3b393b3b3b3333b33b33b3bbb33b333b3333bb3933b3b3b333b3b3b3b3b33b3b3b33b3b3b33b3b33b33b3b3b33bb39b9b3b33b3b33b9333b393b3b33b33b3b3b3333393b3b3b33b39bb3b332333b333dd3b33332333323333333333333333333333344444444a44444434444444444444423232');
454
350
  return _grapheme_data;
455
351
  }
456
352
  var _incb_data = {};
@@ -458,17 +354,20 @@ var hasRequired_incb_data;
458
354
  function require_incb_data() {
459
355
  if (hasRequired_incb_data) return _incb_data;
460
356
  hasRequired_incb_data = 1;
461
- _incb_data.consonant_buffer = undefined;
357
+ _incb_data.consonant_ranges = void 0;
462
358
  var _core = /*@__PURE__*/ requireCore();
463
359
  // The following code was generated by "scripts/unicode.js",
464
360
  // DO NOT EDIT DIRECTLY.
465
361
  //
466
362
  // @ts-check
467
363
  /**
468
- * @typedef {import('./core.js').UnicodeRangeEncoding} UnicodeRangeEncoding
364
+ * @typedef {import('./core.js').UnicodeRange} UnicodeRange
365
+ * @typedef {import('./core.js').UnicodeDataEncoding} UnicodeDataEncoding
469
366
  */ /**
470
367
  * The Unicode `Indic_Conjunct_Break=Consonant` derived property table
471
- */ _incb_data.consonant_buffer = (0, _core.initUnicodeRangeBuffer)(Array(52), /** @type {UnicodeRangeEncoding} */ '1sl,10,1ug,7,1vc,7,1w5,j,1wq,6,1wy,,1x2,3,1y4,1,1y7,,1yo,1,239,j,23u,6,242,1,245,4,261,,26t,j,27e,6,27m,1,27p,4,28s,1,28v,,29d,,2dx,j,2ei,f,2fs,2,2l1,11');
368
+ *
369
+ * @type {UnicodeRange[]}
370
+ */ _incb_data.consonant_ranges = (0, _core.decodeUnicodeData)(/** @type {UnicodeDataEncoding} */ '1sl,10,1ug,7,1vc,7,1w5,j,1wq,6,1wy,,1x2,3,1y4,1,1y7,,1yo,1,239,j,23u,6,242,1,245,4,261,,26t,j,27e,6,27m,1,27p,4,28s,1,28v,,29d,,2dx,j,2ei,f,2fs,2,2l1,11');
472
371
  return _incb_data;
473
372
  }
474
373
  var hasRequiredGrapheme;
@@ -477,7 +376,6 @@ function requireGrapheme() {
477
376
  hasRequiredGrapheme = 1;
478
377
  grapheme.countGrapheme = grapheme.countGraphemes = countGraphemes;
479
378
  grapheme.graphemeSegments = graphemeSegments;
480
- grapheme.searchGraphemeCategory = grapheme.searchGrapheme = searchGraphemeCategory;
481
379
  grapheme.splitGraphemes = splitGraphemes;
482
380
  var _core = /*@__PURE__*/ requireCore();
483
381
  var _utils = /*@__PURE__*/ requireUtils();
@@ -504,30 +402,12 @@ function requireGrapheme() {
504
402
  * @typedef {import('./_grapheme_data.js').GraphemeCategoryRange} GraphemeCategoryRange
505
403
  *
506
404
  * @typedef {object} GraphemeSegmentExtra
405
+ * @property {number} _hd The first code point of the segment
507
406
  * @property {GraphemeCategoryNum} _catBegin Beginning Grapheme_Cluster_Break category of the segment
508
407
  * @property {GraphemeCategoryNum} _catEnd Ending Grapheme_Cluster_Break category of the segment
509
408
  *
510
409
  * @typedef {import('./core.js').Segmenter<GraphemeSegmentExtra>} GraphemeSegmenter
511
410
  */ /**
512
- * @deprecated DO NOT USE directly, will be removed in v1
513
- * @param {number} cp
514
- * @return A {@link GraphemeCategoryRange} value if found, or garbage value with {@link GC_Any} category.
515
- */ function searchGraphemeCategory(cp) {
516
- var index = (0, _grapheme_data.findGraphemeIndex)(cp);
517
- if (index < 0) {
518
- return [
519
- 0,
520
- 0,
521
- 0 /* GC_Any */
522
- ];
523
- }
524
- return [
525
- _grapheme_data.grapheme_buffer[index],
526
- _grapheme_data.grapheme_buffer[index + 1],
527
- _grapheme_data.grapheme_cats[index >> 1]
528
- ];
529
- }
530
- /**
531
411
  * Unicode segmentation by extended grapheme rules.
532
412
  *
533
413
  * This is fully compatible with the {@link IntlSegmenter.segment} API
@@ -536,9 +416,9 @@ function requireGrapheme() {
536
416
  * @param {string} input
537
417
  * @return {GraphemeSegmenter} iterator for grapheme cluster segments
538
418
  */ function graphemeSegments(input) {
539
- var cursor, len, catBefore, catAfter, catBegin, cache, risCount, emoji, consonant, linker, incb, cp, index, segment;
540
- return _ts_generator(this, function (_state) {
541
- switch (_state.label) {
419
+ var cursor, len, catBefore, catAfter, catBegin, cache, risCount, emoji, consonant, linker, incb, cp, _hd, index, segment;
420
+ return _ts_generator(this, function(_state) {
421
+ switch(_state.label){
542
422
  case 0:
543
423
  // do nothing on empty string
544
424
  if (input === '') {
@@ -554,14 +434,15 @@ function requireGrapheme() {
554
434
  /** @type {import('./_grapheme_data.js').GraphemeCategoryRange} */ cache = [
555
435
  0,
556
436
  0,
557
- 2 /* GC_Control */
437
+ 2 /* GC_Control */
558
438
  ];
559
439
  /** @type {number} The number of RIS codepoints preceding `cursor`. */ risCount = 0;
560
440
  /** Emoji state */ emoji = false;
561
441
  /** InCB=Consonant */ consonant = false;
562
442
  /** InCB=Linker */ linker = false;
563
443
  /** InCB=Consonant InCB=Linker x InCB=Consonant */ incb = false;
564
- cp = /** @type number */ input.codePointAt(cursor);
444
+ cp = /** @type {number} */ input.codePointAt(cursor);
445
+ /** Memoize the beginnig code point a the segment. */ _hd = cp;
565
446
  index = 0;
566
447
  segment = '';
567
448
  _state.label = 1;
@@ -585,7 +466,7 @@ function requireGrapheme() {
585
466
  // which is a extra overhead only for Hindi text.
586
467
  if (!consonant && catBefore === 0) {
587
468
  consonant = isIndicConjunctCosonant(cp);
588
- } else if (catBefore === 3 /* Extend */) {
469
+ } else if (catBefore === 3 /* Extend */ ) {
589
470
  // Note: \p{InCB=Linker} is a subset of \p{Extend}
590
471
  linker = isIndicConjunctLinker(cp);
591
472
  }
@@ -606,6 +487,7 @@ function requireGrapheme() {
606
487
  segment: segment,
607
488
  index: index,
608
489
  input: input,
490
+ _hd: _hd,
609
491
  _catBegin: /** @type {typeof catBefore} */ catBegin,
610
492
  _catEnd: catBefore
611
493
  }
@@ -616,13 +498,13 @@ function requireGrapheme() {
616
498
  2
617
499
  ];
618
500
  case 4:
619
- if (catBefore === 10 /* Regional_Indicator */) {
501
+ if (catBefore === 10 /* Regional_Indicator */ ) {
620
502
  risCount += 1;
621
503
  } else {
622
504
  risCount = 0;
623
- if (catAfter === 14 /* ZWJ */ && (catBefore === 3 /* Extend */ || catBefore === 4 /* Extended_Pictographic */)) {
505
+ if (catAfter === 14 /* ZWJ */ && (catBefore === 3 /* Extend */ || catBefore === 4 /* Extended_Pictographic */ )) {
624
506
  emoji = true;
625
- } else if (catAfter === 0 /* Any */) {
507
+ } else if (catAfter === 0 /* Any */ ) {
626
508
  // Note: Put GB9c rule checking here to reduce.
627
509
  incb = consonant && linker && (consonant = isIndicConjunctCosonant(cp));
628
510
  // It cannot be both a linker and a consonant.
@@ -639,6 +521,7 @@ function requireGrapheme() {
639
521
  segment: segment,
640
522
  index: index,
641
523
  input: input,
524
+ _hd: _hd,
642
525
  _catBegin: /** @type {typeof catBefore} */ catBegin,
643
526
  _catEnd: catBefore
644
527
  }
@@ -651,6 +534,7 @@ function requireGrapheme() {
651
534
  emoji = false;
652
535
  incb = false;
653
536
  catBegin = catAfter;
537
+ _hd = cp;
654
538
  _state.label = 6;
655
539
  case 6:
656
540
  return [
@@ -680,19 +564,19 @@ function requireGrapheme() {
680
564
  var count = 0;
681
565
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
682
566
  try {
683
- for (var _iterator = graphemeSegments(text)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
567
+ for(var _iterator = graphemeSegments(text)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
684
568
  var _ = _step.value;
685
569
  count += 1;
686
570
  }
687
571
  } catch (err) {
688
572
  _didIteratorError = true;
689
573
  _iteratorError = err;
690
- } finally {
574
+ } finally{
691
575
  try {
692
576
  if (!_iteratorNormalCompletion && _iterator.return != null) {
693
577
  _iterator.return();
694
578
  }
695
- } finally {
579
+ } finally{
696
580
  if (_didIteratorError) {
697
581
  throw _iteratorError;
698
582
  }
@@ -712,8 +596,8 @@ function requireGrapheme() {
712
596
  * [...splitGraphemes('abc')] // => ['a', 'b', 'c']
713
597
  */ function splitGraphemes(text) {
714
598
  var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, s, err;
715
- return _ts_generator(this, function (_state) {
716
- switch (_state.label) {
599
+ return _ts_generator(this, function(_state) {
600
+ switch(_state.label){
717
601
  case 0:
718
602
  _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
719
603
  _state.label = 1;
@@ -763,7 +647,7 @@ function requireGrapheme() {
763
647
  if (!_iteratorNormalCompletion && _iterator.return != null) {
764
648
  _iterator.return();
765
649
  }
766
- } finally {
650
+ } finally{
767
651
  if (_didIteratorError) {
768
652
  throw _iteratorError;
769
653
  }
@@ -793,25 +677,26 @@ function requireGrapheme() {
793
677
  // due to use of punctuation and white space characters from the
794
678
  // ascii range.
795
679
  if (cp >= 32) {
796
- return 0 /* GC_Any */;
680
+ return 0 /* GC_Any */ ;
797
681
  } else if (cp === 10) {
798
- return 6 /* GC_LF */;
682
+ return 6 /* GC_LF */ ;
799
683
  } else if (cp === 13) {
800
- return 1 /* GC_CR */;
684
+ return 1 /* GC_CR */ ;
801
685
  } else {
802
- return 2 /* GC_Control */;
686
+ return 2 /* GC_Control */ ;
803
687
  }
804
688
  } else {
805
689
  // If this char isn't within the cached range, update the cache to the
806
690
  // range that includes it.
807
691
  if (cp < cache[0] || cp > cache[1]) {
808
- var index = (0, _grapheme_data.findGraphemeIndex)(cp);
692
+ var index = (0, _core.findUnicodeRangeIndex)(cp, _grapheme_data.grapheme_ranges);
809
693
  if (index < 0) {
810
694
  return 0;
811
695
  }
812
- cache[0] = _grapheme_data.grapheme_buffer[index];
813
- cache[1] = _grapheme_data.grapheme_buffer[index + 1];
814
- cache[2] = /** @type {GraphemeCategoryNum} */ _grapheme_data.grapheme_cats[index >> 1];
696
+ var range = _grapheme_data.grapheme_ranges[index];
697
+ cache[0] = range[0];
698
+ cache[1] = range[1];
699
+ cache[2] = range[2];
815
700
  }
816
701
  return cache[2];
817
702
  }
@@ -820,13 +705,13 @@ function requireGrapheme() {
820
705
  * @param {number} cp
821
706
  * @return {boolean}
822
707
  */ function isIndicConjunctCosonant(cp) {
823
- return (0, _core.searchUnicodeRange)(cp, _incb_data.consonant_buffer) >= 0;
708
+ return (0, _core.findUnicodeRangeIndex)(cp, _incb_data.consonant_ranges) >= 0;
824
709
  }
825
710
  /**
826
711
  * @param {number} cp
827
712
  * @return {boolean}
828
713
  */ function isIndicConjunctLinker(cp) {
829
- return cp === 2381 /* 0x094D */ || cp === 2509 /* 0x09CD */ || cp === 2765 /* 0x0ACD */ || cp === 2893 /* 0x0B4D */ || cp === 3149 /* 0x0C4D */ || cp === 3405 /* 0x0D4D */;
714
+ return cp === 2381 /* 0x094D */ || cp === 2509 /* 0x09CD */ || cp === 2765 /* 0x0ACD */ || cp === 2893 /* 0x0B4D */ || cp === 3149 /* 0x0C4D */ || cp === 3405 /* 0x0D4D */ ;
830
715
  }
831
716
  /**
832
717
  * @param {GraphemeCategoryNum} catBefore
@@ -895,7 +780,7 @@ var hasRequiredIntlAdapter;
895
780
  function requireIntlAdapter() {
896
781
  if (hasRequiredIntlAdapter) return intlAdapter$1;
897
782
  hasRequiredIntlAdapter = 1;
898
- intlAdapter$1.Segmenter = undefined;
783
+ intlAdapter$1.Segmenter = void 0;
899
784
  var _grapheme = /*@__PURE__*/ requireGrapheme();
900
785
  // @ts-check
901
786
  var p_locale = Symbol();
@@ -906,13 +791,13 @@ function requireIntlAdapter() {
906
791
  * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter
907
792
  *
908
793
  * @implements {IntlSegmenter}
909
- */ var Segmenter = /*#__PURE__*/ function () {
794
+ */ var Segmenter = /*#__PURE__*/ function() {
910
795
  "use strict";
911
796
  function Segmenter(locale) {
912
797
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
913
798
  _class_call_check(this, Segmenter);
914
799
  var _options_granularity = options.granularity, granularity = _options_granularity === void 0 ? 'grapheme' : _options_granularity;
915
- switch (granularity) {
800
+ switch(granularity){
916
801
  case 'grapheme':
917
802
  break;
918
803
  case 'word':
@@ -953,7 +838,7 @@ function requireIntlAdapter() {
953
838
  * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments
954
839
  * @implements {Intl.Segments}
955
840
  */ intlAdapter$1.Segmenter = Segmenter;
956
- var SegmentsAdapter = /*#__PURE__*/ function () {
841
+ var SegmentsAdapter = /*#__PURE__*/ function() {
957
842
  "use strict";
958
843
  function SegmentsAdapter(input) {
959
844
  _class_call_check(this, SegmentsAdapter);
@@ -962,10 +847,10 @@ function requireIntlAdapter() {
962
847
  var _proto = SegmentsAdapter.prototype;
963
848
  /**
964
849
  * @return {Intl.SegmentIterator<Intl.SegmentData>}
965
- */ _proto[Symbol.iterator] = function () {
850
+ */ _proto[Symbol.iterator] = function() {
966
851
  var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, _step_value, segment, index, input, err;
967
- return _ts_generator(this, function (_state) {
968
- switch (_state.label) {
852
+ return _ts_generator(this, function(_state) {
853
+ switch(_state.label){
969
854
  case 0:
970
855
  _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
971
856
  _state.label = 1;
@@ -1019,7 +904,7 @@ function requireIntlAdapter() {
1019
904
  if (!_iteratorNormalCompletion && _iterator.return != null) {
1020
905
  _iterator.return();
1021
906
  }
1022
- } finally {
907
+ } finally{
1023
908
  if (_didIteratorError) {
1024
909
  throw _iteratorError;
1025
910
  }
@@ -1047,7 +932,7 @@ function requireIntlAdapter() {
1047
932
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1048
933
  try {
1049
934
  // only grapheme segmenter is currently provided
1050
- for (var _iterator = (0, _grapheme.graphemeSegments)(this.input)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
935
+ for(var _iterator = (0, _grapheme.graphemeSegments)(this.input)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1051
936
  var x = _step.value;
1052
937
  offset += x.segment.length;
1053
938
  if (codeUnitIndex < offset) {
@@ -1057,12 +942,12 @@ function requireIntlAdapter() {
1057
942
  } catch (err) {
1058
943
  _didIteratorError = true;
1059
944
  _iteratorError = err;
1060
- } finally {
945
+ } finally{
1061
946
  try {
1062
947
  if (!_iteratorNormalCompletion && _iterator.return != null) {
1063
948
  _iterator.return();
1064
949
  }
1065
- } finally {
950
+ } finally{
1066
951
  if (_didIteratorError) {
1067
952
  throw _iteratorError;
1068
953
  }
@@ -1080,4 +965,4 @@ function requireIntlAdapter() {
1080
965
  var intlAdapterExports = requireIntlAdapter();
1081
966
  var intlAdapter = /*@__PURE__*/ getDefaultExportFromCjs(intlAdapterExports);
1082
967
 
1083
- //* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) { }; module.exports = exports.default; }
968
+ /* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) { }; module.exports = exports.default; }