securemark 0.280.8 → 0.280.9
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 +4 -0
- package/dist/index.js +1018 -1723
- package/package.json +16 -16
- package/src/parser/api/cache.ts +19 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! securemark v0.280.
|
|
1
|
+
/*! securemark v0.280.9 https://github.com/falsandtru/securemark | (c) 2017, falsandtru | UNLICENSED License */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory(require("Prism"), require("DOMPurify"));
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
exports["securemark"] = factory(require("Prism"), require("DOMPurify"));
|
|
9
9
|
else
|
|
10
10
|
root["securemark"] = factory(root["Prism"], root["DOMPurify"]);
|
|
11
|
-
})(this, (
|
|
11
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__9736__, __WEBPACK_EXTERNAL_MODULE__2282__) => {
|
|
12
12
|
return /******/ (() => { // webpackBootstrap
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 8207:
|
|
16
16
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
"use strict";
|
|
@@ -40,14 +40,14 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
|
40
40
|
Object.defineProperty(exports, "__esModule", ({
|
|
41
41
|
value: true
|
|
42
42
|
}));
|
|
43
|
-
__webpack_require__(
|
|
44
|
-
__exportStar(__webpack_require__(
|
|
45
|
-
__exportStar(__webpack_require__(
|
|
46
|
-
__exportStar(__webpack_require__(
|
|
43
|
+
__webpack_require__(8324);
|
|
44
|
+
__exportStar(__webpack_require__(8112), exports);
|
|
45
|
+
__exportStar(__webpack_require__(9108), exports);
|
|
46
|
+
__exportStar(__webpack_require__(4652), exports);
|
|
47
47
|
|
|
48
48
|
/***/ }),
|
|
49
49
|
|
|
50
|
-
/***/
|
|
50
|
+
/***/ 5807:
|
|
51
51
|
/***/ ((__unused_webpack_module, exports) => {
|
|
52
52
|
|
|
53
53
|
"use strict";
|
|
@@ -71,7 +71,7 @@ exports.ObjectSetPrototypeOf = Object.setPrototypeOf;
|
|
|
71
71
|
|
|
72
72
|
/***/ }),
|
|
73
73
|
|
|
74
|
-
/***/
|
|
74
|
+
/***/ 8980:
|
|
75
75
|
/***/ ((__unused_webpack_module, exports) => {
|
|
76
76
|
|
|
77
77
|
"use strict";
|
|
@@ -167,833 +167,8 @@ exports.splice = splice;
|
|
|
167
167
|
|
|
168
168
|
/***/ }),
|
|
169
169
|
|
|
170
|
-
/***/
|
|
171
|
-
/***/ ((__unused_webpack_module, exports
|
|
172
|
-
|
|
173
|
-
"use strict";
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
177
|
-
value: true
|
|
178
|
-
}));
|
|
179
|
-
exports.template = exports.inherit = exports.merge = exports.extend = exports.overwrite = exports.clone = exports.assign = void 0;
|
|
180
|
-
const alias_1 = __webpack_require__(5406);
|
|
181
|
-
const type_1 = __webpack_require__(5177);
|
|
182
|
-
const array_1 = __webpack_require__(8112);
|
|
183
|
-
exports.assign = template((prop, target, source) => target[prop] = source[prop]);
|
|
184
|
-
exports.clone = template((prop, target, source) => {
|
|
185
|
-
switch ((0, type_1.type)(source[prop])) {
|
|
186
|
-
case 'Array':
|
|
187
|
-
return target[prop] = source[prop].slice();
|
|
188
|
-
case 'Object':
|
|
189
|
-
switch ((0, type_1.type)(target[prop])) {
|
|
190
|
-
case 'Object':
|
|
191
|
-
return target[prop] = (0, exports.clone)(empty(source[prop]), source[prop]);
|
|
192
|
-
default:
|
|
193
|
-
return target[prop] = source[prop];
|
|
194
|
-
}
|
|
195
|
-
default:
|
|
196
|
-
return target[prop] = source[prop];
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
exports.overwrite = template((prop, target, source) => {
|
|
200
|
-
switch ((0, type_1.type)(source[prop])) {
|
|
201
|
-
case 'Array':
|
|
202
|
-
return target[prop] = source[prop];
|
|
203
|
-
case 'Object':
|
|
204
|
-
switch ((0, type_1.type)(target[prop])) {
|
|
205
|
-
case 'Object':
|
|
206
|
-
return (0, exports.overwrite)(target[prop], source[prop]);
|
|
207
|
-
default:
|
|
208
|
-
return target[prop] = (0, exports.overwrite)(empty(source[prop]), source[prop]);
|
|
209
|
-
}
|
|
210
|
-
default:
|
|
211
|
-
return target[prop] = source[prop];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
exports.extend = template((prop, target, source) => {
|
|
215
|
-
switch ((0, type_1.type)(source[prop])) {
|
|
216
|
-
case 'undefined':
|
|
217
|
-
return;
|
|
218
|
-
case 'Array':
|
|
219
|
-
return target[prop] = source[prop];
|
|
220
|
-
case 'Object':
|
|
221
|
-
switch ((0, type_1.type)(target[prop])) {
|
|
222
|
-
case 'Object':
|
|
223
|
-
return (0, exports.extend)(target[prop], source[prop]);
|
|
224
|
-
default:
|
|
225
|
-
return target[prop] = (0, exports.extend)(empty(source[prop]), source[prop]);
|
|
226
|
-
}
|
|
227
|
-
default:
|
|
228
|
-
return target[prop] = source[prop];
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
exports.merge = template((prop, target, source) => {
|
|
232
|
-
switch ((0, type_1.type)(source[prop])) {
|
|
233
|
-
case 'undefined':
|
|
234
|
-
return;
|
|
235
|
-
case 'Array':
|
|
236
|
-
switch ((0, type_1.type)(target[prop])) {
|
|
237
|
-
case 'Array':
|
|
238
|
-
return target[prop] = (0, array_1.push)(target[prop], source[prop]);
|
|
239
|
-
default:
|
|
240
|
-
return target[prop] = source[prop].slice();
|
|
241
|
-
}
|
|
242
|
-
case 'Object':
|
|
243
|
-
switch ((0, type_1.type)(target[prop])) {
|
|
244
|
-
case 'Object':
|
|
245
|
-
return (0, exports.merge)(target[prop], source[prop]);
|
|
246
|
-
default:
|
|
247
|
-
return target[prop] = (0, exports.merge)(empty(source[prop]), source[prop]);
|
|
248
|
-
}
|
|
249
|
-
default:
|
|
250
|
-
return target[prop] = source[prop];
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
exports.inherit = template((prop, target, source) => {
|
|
254
|
-
switch ((0, type_1.type)(source[prop])) {
|
|
255
|
-
case 'undefined':
|
|
256
|
-
return;
|
|
257
|
-
case 'Array':
|
|
258
|
-
return target[prop] = source[prop].slice();
|
|
259
|
-
case 'Object':
|
|
260
|
-
switch ((0, type_1.type)(target[prop])) {
|
|
261
|
-
case 'Object':
|
|
262
|
-
return (0, exports.inherit)(target[prop], source[prop]);
|
|
263
|
-
default:
|
|
264
|
-
return target[prop] = (0, alias_1.ObjectCreate)(source[prop]);
|
|
265
|
-
}
|
|
266
|
-
default:
|
|
267
|
-
return target[prop] = source[prop];
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
function template(strategy) {
|
|
271
|
-
return walk;
|
|
272
|
-
function walk(target, ...sources) {
|
|
273
|
-
if ((0, type_1.isPrimitive)(target)) return target;
|
|
274
|
-
for (let i = 0; i < sources.length; ++i) {
|
|
275
|
-
const source = sources[i];
|
|
276
|
-
if (source === target) continue;
|
|
277
|
-
if ((0, type_1.isPrimitive)(source)) continue;
|
|
278
|
-
const keys = Object.keys(source);
|
|
279
|
-
for (let i = 0; i < keys.length; ++i) {
|
|
280
|
-
strategy(keys[i], target, source);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
return target;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
exports.template = template;
|
|
287
|
-
function empty(source) {
|
|
288
|
-
return source instanceof Object ? {} : (0, alias_1.ObjectCreate)(null);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/***/ }),
|
|
292
|
-
|
|
293
|
-
/***/ 9210:
|
|
294
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
295
|
-
|
|
296
|
-
"use strict";
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
300
|
-
value: true
|
|
301
|
-
}));
|
|
302
|
-
exports.Cache = void 0;
|
|
303
|
-
const alias_1 = __webpack_require__(5406);
|
|
304
|
-
const chrono_1 = __webpack_require__(4393);
|
|
305
|
-
const list_1 = __webpack_require__(3667);
|
|
306
|
-
const heap_1 = __webpack_require__(818);
|
|
307
|
-
const assign_1 = __webpack_require__(4401);
|
|
308
|
-
// Dual Window Cache
|
|
309
|
-
/*
|
|
310
|
-
LFU論理寿命:
|
|
311
|
-
小容量で小効果のみにつきLRU下限で代替し無効化。
|
|
312
|
-
|
|
313
|
-
LRU下限:
|
|
314
|
-
小容量で大効果につき採用。
|
|
315
|
-
|
|
316
|
-
統計解像度:
|
|
317
|
-
効果ないが検証用に残置。
|
|
318
|
-
|
|
319
|
-
サイクリックスィープ:
|
|
320
|
-
LRU汚染対策。
|
|
321
|
-
大効果につき採用。
|
|
322
|
-
|
|
323
|
-
履歴標本:
|
|
324
|
-
大効果につき採用。
|
|
325
|
-
|
|
326
|
-
*/
|
|
327
|
-
/*
|
|
328
|
-
比較検討
|
|
329
|
-
|
|
330
|
-
LRU/CLOCK:
|
|
331
|
-
性能が低い。
|
|
332
|
-
|
|
333
|
-
CAR/CDW(CLOCK+DWC)/CLOCK-Pro:
|
|
334
|
-
最悪計算量がO(n)であるため汎用的でない。
|
|
335
|
-
CLOCK-ProはCAR同様合計2倍の履歴を持つ。
|
|
336
|
-
|
|
337
|
-
ARC:
|
|
338
|
-
キャッシュサイズの2倍のキーを保持する。
|
|
339
|
-
すでにARCに近いヒット率を達成しているため2倍のキーサイズとリスト操作による
|
|
340
|
-
空間効率と速度の低下を正当化できるワークロードでのみ優位性がある。
|
|
341
|
-
Loop耐性が欠如しておりGLIやDS1などLoop耐性を要するワークロードではDWCが大幅に優れている。
|
|
342
|
-
|
|
343
|
-
DWC:
|
|
344
|
-
時間空間ともに定数計算量かつすべての基本的耐性を持つ。
|
|
345
|
-
情報量(履歴)の不足を補うため全体的に統計精度への依存度が上がっており標本サイズが小さくなるほど
|
|
346
|
-
情報量(標本がシグナルとなる確率)と統計精度の低下により性能低下しやすくなる。
|
|
347
|
-
|
|
348
|
-
LIRS:
|
|
349
|
-
キャッシュサイズの3倍以上のキーを保持する。
|
|
350
|
-
LIRS論文全著者を共著者とするLIRS2論文筆頭著者の実装によると最大2500倍、事実上無制限。
|
|
351
|
-
にもかかわらずARCより安定して十分に性能が高いとは言えないうえ大幅に性能の劣るケースも散見される。
|
|
352
|
-
履歴に現実的な上限を与えた場合の実際の性能が不明でありまともな比較資料がない。
|
|
353
|
-
キーを無制限に走査するGC的処理があるためキャッシュサイズに比例して大きな遅延が入る可能性が上がり
|
|
354
|
-
遅延が許容できない水準に達する可能性がある。
|
|
355
|
-
まともなアルゴリズムではない。
|
|
356
|
-
|
|
357
|
-
TinyLFU:
|
|
358
|
-
TinyLFUはキーのポインタのアドレスでブルームフィルタを生成するためJavaScriptでは
|
|
359
|
-
文字列やオブジェクトなどからアドレスを取得または代替値を高速に割り当てる方法がなく汎用的に使用できない。
|
|
360
|
-
乱数を代用する方法は強引で低速だがリモートアクセスなど低速な処理では償却可能と思われる。
|
|
361
|
-
オーバーヘッドが大きくメモ化など同期処理に耐える速度を要件とする用途には適さないと思われる。
|
|
362
|
-
ブルームフィルタが削除操作不可であるため一定期間内のキャッシュの任意または有効期限超過による
|
|
363
|
-
削除数に比例して性能が低下する。
|
|
364
|
-
キャッシュサイズ分の挿入ごとにブルームフィルタがリセットのため全走査されるため
|
|
365
|
-
キャッシュサイズに比例した大きさの遅延が入る。
|
|
366
|
-
W-TinyLFUの性能は非常に高いがTinyLFUの性能は大幅に低くDWCと一長一短かより悪いうえ
|
|
367
|
-
バーストアクセスに脆弱となるためあらかじめワークロードが検証されている場合以外はDWCのほうが優れている。
|
|
368
|
-
メインキャッシュにLRUを使用しているためこれをDWCに置換できる可能性がある。
|
|
369
|
-
|
|
370
|
-
https://github.com/ben-manes/caffeine/wiki/Efficiency
|
|
371
|
-
|
|
372
|
-
*/
|
|
373
|
-
/*
|
|
374
|
-
# lru-cacheの最適化分析
|
|
375
|
-
|
|
376
|
-
最適化前(@6)よりオブジェクト値において50-10%ほど高速化している。
|
|
377
|
-
|
|
378
|
-
## Map値の数値化
|
|
379
|
-
|
|
380
|
-
Mapは値が数値の場合setが2倍高速化される。
|
|
381
|
-
getは変わらないため読み取り主体の場合効果が低い。
|
|
382
|
-
|
|
383
|
-
## インデクスアクセス化
|
|
384
|
-
|
|
385
|
-
個別の状態を個別のオブジェクトのプロパティに持たせると最適化されていないプロパティアクセスにより
|
|
386
|
-
低速化するためすべての状態を状態別の配列に格納しインデクスアクセスに変換することで高速化している。
|
|
387
|
-
DWCはこの最適化を行っても状態数の多さに比例して増加したオーバーヘッドに相殺され効果を得られない。
|
|
388
|
-
状態をオブジェクトの代わりに配列に入れても最適化されずプロパティ・インデクスとも二段のアクセスは
|
|
389
|
-
最適化されないと思われる。
|
|
390
|
-
|
|
391
|
-
## TypedArray
|
|
392
|
-
|
|
393
|
-
インデクスアクセス化にTypedArrayを使うことで配列の書き込みが2倍高速化される。
|
|
394
|
-
これによりリスト操作が高速化されるがもともと高速なため全体的な寄与は小さいと思われる。
|
|
395
|
-
|
|
396
|
-
*/
|
|
397
|
-
class Entry {
|
|
398
|
-
constructor(key, value, size, expiration, partition, affiliation) {
|
|
399
|
-
this.key = key;
|
|
400
|
-
this.value = value;
|
|
401
|
-
this.size = size;
|
|
402
|
-
this.expiration = expiration;
|
|
403
|
-
this.partition = partition;
|
|
404
|
-
this.affiliation = affiliation;
|
|
405
|
-
this.enode = undefined;
|
|
406
|
-
this.next = undefined;
|
|
407
|
-
this.prev = undefined;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
function segment(expiration) {
|
|
411
|
-
return (0, alias_1.floor)(expiration / 16);
|
|
412
|
-
}
|
|
413
|
-
class Cache {
|
|
414
|
-
constructor(capacity, opts = {}) {
|
|
415
|
-
this.settings = {
|
|
416
|
-
capacity: 0,
|
|
417
|
-
window: 2,
|
|
418
|
-
sample: 1,
|
|
419
|
-
age: Infinity,
|
|
420
|
-
eagerExpiration: false,
|
|
421
|
-
capture: {
|
|
422
|
-
delete: true,
|
|
423
|
-
clear: true
|
|
424
|
-
},
|
|
425
|
-
sweep: {
|
|
426
|
-
threshold: 10,
|
|
427
|
-
ratio: 50,
|
|
428
|
-
window: 2,
|
|
429
|
-
room: 50,
|
|
430
|
-
range: 1,
|
|
431
|
-
shift: 2
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
this.dict = new Map();
|
|
435
|
-
this.LRU = new list_1.List();
|
|
436
|
-
this.LFU = new list_1.List();
|
|
437
|
-
this.overlapLRU = 0;
|
|
438
|
-
this.overlapLFU = 0;
|
|
439
|
-
this.$size = 0;
|
|
440
|
-
this.declination = 1;
|
|
441
|
-
if (typeof capacity === 'object') {
|
|
442
|
-
opts = capacity;
|
|
443
|
-
capacity = opts.capacity ?? 0;
|
|
444
|
-
}
|
|
445
|
-
const settings = (0, assign_1.extend)(this.settings, opts, {
|
|
446
|
-
capacity
|
|
447
|
-
});
|
|
448
|
-
this.capacity = capacity = settings.capacity;
|
|
449
|
-
if (capacity >>> 0 !== capacity) throw new Error(`Spica: Cache: Capacity must be integer.`);
|
|
450
|
-
if (capacity >= 1 === false) throw new Error(`Spica: Cache: Capacity must be 1 or more.`);
|
|
451
|
-
this.window = capacity * settings.window / 100 >>> 0 || 1;
|
|
452
|
-
this.partition = capacity - this.window;
|
|
453
|
-
this.injection = 100 * this.declination;
|
|
454
|
-
this.sample = settings.sample;
|
|
455
|
-
this.resource = settings.resource ?? capacity;
|
|
456
|
-
this.expiration = opts.age !== undefined;
|
|
457
|
-
this.age = settings.age;
|
|
458
|
-
if (settings.eagerExpiration) {
|
|
459
|
-
this.expirations = new heap_1.Heap(heap_1.Heap.min, {
|
|
460
|
-
stable: false
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
this.sweeper = new Sweeper(this.LRU, capacity, settings.sweep.window, settings.sweep.room, settings.sweep.threshold, settings.sweep.ratio, settings.sweep.range, settings.sweep.shift);
|
|
464
|
-
this.disposer = settings.disposer;
|
|
465
|
-
}
|
|
466
|
-
get length() {
|
|
467
|
-
const {
|
|
468
|
-
LRU,
|
|
469
|
-
LFU
|
|
470
|
-
} = this;
|
|
471
|
-
return LRU.length + LFU.length;
|
|
472
|
-
}
|
|
473
|
-
get size() {
|
|
474
|
-
return this.$size;
|
|
475
|
-
}
|
|
476
|
-
resize(capacity, resource) {
|
|
477
|
-
if (capacity >>> 0 !== capacity) throw new Error(`Spica: Cache: Capacity must be integer.`);
|
|
478
|
-
if (capacity >= 1 === false) throw new Error(`Spica: Cache: Capacity must be 1 or more.`);
|
|
479
|
-
this.partition = this.partition / this.capacity * capacity >>> 0;
|
|
480
|
-
this.capacity = capacity;
|
|
481
|
-
const {
|
|
482
|
-
settings
|
|
483
|
-
} = this;
|
|
484
|
-
this.window = capacity * settings.window / 100 >>> 0 || 1;
|
|
485
|
-
this.resource = resource ?? settings.resource ?? capacity;
|
|
486
|
-
this.sweeper.resize(capacity, settings.sweep.window, settings.sweep.room, settings.sweep.range);
|
|
487
|
-
this.ensure(0);
|
|
488
|
-
}
|
|
489
|
-
clear() {
|
|
490
|
-
const {
|
|
491
|
-
LRU,
|
|
492
|
-
LFU
|
|
493
|
-
} = this;
|
|
494
|
-
this.$size = 0;
|
|
495
|
-
this.partition = this.capacity - this.window;
|
|
496
|
-
this.injection = 100 * this.declination;
|
|
497
|
-
this.dict = new Map();
|
|
498
|
-
this.LRU = new list_1.List();
|
|
499
|
-
this.LFU = new list_1.List();
|
|
500
|
-
this.overlapLRU = 0;
|
|
501
|
-
this.overlapLFU = 0;
|
|
502
|
-
this.expirations?.clear();
|
|
503
|
-
this.sweeper.clear();
|
|
504
|
-
this.sweeper.replace(this.LRU);
|
|
505
|
-
if (!this.disposer || !this.settings.capture.clear) return;
|
|
506
|
-
for (const {
|
|
507
|
-
key,
|
|
508
|
-
value
|
|
509
|
-
} of LRU) {
|
|
510
|
-
this.disposer(value, key);
|
|
511
|
-
}
|
|
512
|
-
for (const {
|
|
513
|
-
key,
|
|
514
|
-
value
|
|
515
|
-
} of LFU) {
|
|
516
|
-
this.disposer(value, key);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
evict$(entry, callback) {
|
|
520
|
-
//assert(this.dict.size <= this.capacity);
|
|
521
|
-
|
|
522
|
-
this.overlap(entry, true);
|
|
523
|
-
if (entry.enode !== undefined) {
|
|
524
|
-
this.expirations.delete(entry.enode);
|
|
525
|
-
entry.enode = undefined;
|
|
526
|
-
}
|
|
527
|
-
entry.partition === 'LRU' ? this.LRU.delete(entry) : this.LFU.delete(entry);
|
|
528
|
-
this.dict.delete(entry.key);
|
|
529
|
-
//assert(this.dict.size <= this.capacity);
|
|
530
|
-
this.$size -= entry.size;
|
|
531
|
-
callback && this.disposer?.(entry.value, entry.key);
|
|
532
|
-
}
|
|
533
|
-
overlap(entry, eviction = false) {
|
|
534
|
-
if (entry.partition === 'LRU') {
|
|
535
|
-
if (entry.affiliation === 'LRU') {
|
|
536
|
-
if (eviction) return entry;
|
|
537
|
-
++this.overlapLRU;
|
|
538
|
-
} else {
|
|
539
|
-
--this.overlapLFU;
|
|
540
|
-
}
|
|
541
|
-
} else {
|
|
542
|
-
if (entry.affiliation === 'LFU') {
|
|
543
|
-
if (eviction) return entry;
|
|
544
|
-
++this.overlapLFU;
|
|
545
|
-
} else {
|
|
546
|
-
--this.overlapLRU;
|
|
547
|
-
if (this.declination !== 1 && this.overlapLRU * 100 < this.LFU.length * this.sample) {
|
|
548
|
-
this.declination = 1;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
return entry;
|
|
553
|
-
}
|
|
554
|
-
// Update and deletion are reentrant but addition is not.
|
|
555
|
-
ensure(margin, target, capture = false) {
|
|
556
|
-
let size = target?.size ?? 0;
|
|
557
|
-
const {
|
|
558
|
-
LRU,
|
|
559
|
-
LFU
|
|
560
|
-
} = this;
|
|
561
|
-
while (this.size + margin - size > this.resource) {
|
|
562
|
-
this.injection = (0, alias_1.min)(this.injection + this.sample, 100 * this.declination);
|
|
563
|
-
let victim = this.expirations?.peek()?.value;
|
|
564
|
-
if (victim !== undefined && victim !== target && victim.expiration < (0, chrono_1.now)()) {} else if (LRU.length === 0) {
|
|
565
|
-
victim = LFU.head.prev;
|
|
566
|
-
victim = victim !== target ? victim : victim.prev;
|
|
567
|
-
} else {
|
|
568
|
-
if (LFU.length > this.partition) {
|
|
569
|
-
let entry = LFU.head.prev;
|
|
570
|
-
entry = entry !== target ? entry : LFU.length !== 1 ? entry.prev : undefined;
|
|
571
|
-
if (entry !== undefined) {
|
|
572
|
-
LFU.delete(entry);
|
|
573
|
-
LRU.unshift(this.overlap(entry));
|
|
574
|
-
entry.partition = 'LRU';
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
if (LRU.length >= this.window && this.injection === 100 * this.declination) {
|
|
578
|
-
const entry = LRU.head.prev;
|
|
579
|
-
if (entry.affiliation === 'LRU') {
|
|
580
|
-
LRU.delete(entry);
|
|
581
|
-
LFU.unshift(this.overlap(entry));
|
|
582
|
-
entry.partition = 'LFU';
|
|
583
|
-
this.injection = 0;
|
|
584
|
-
this.declination = this.overlapLRU * 100 < LFU.length * this.sample ? 1 : (0, alias_1.min)(this.declination * 1.5, 5);
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
if (this.sweeper.isActive()) {
|
|
588
|
-
this.sweeper.sweep();
|
|
589
|
-
}
|
|
590
|
-
if (LRU.length !== 0) {
|
|
591
|
-
victim = LRU.head.prev;
|
|
592
|
-
victim = victim !== target ? victim : LRU.length !== 1 ? victim.prev : undefined;
|
|
593
|
-
if (capture && target === undefined && victim !== undefined) {
|
|
594
|
-
target = victim;
|
|
595
|
-
size = target.size;
|
|
596
|
-
continue;
|
|
597
|
-
}
|
|
598
|
-
victim ??= LFU.head.prev;
|
|
599
|
-
} else {
|
|
600
|
-
victim = LFU.head.prev;
|
|
601
|
-
victim = victim !== target ? victim : victim.prev;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
this.evict$(victim, true);
|
|
605
|
-
target = target?.next && target;
|
|
606
|
-
size = target?.size ?? 0;
|
|
607
|
-
}
|
|
608
|
-
return target;
|
|
609
|
-
}
|
|
610
|
-
update(entry, key, value, size, expiration) {
|
|
611
|
-
const key$ = entry.key;
|
|
612
|
-
const value$ = entry.value;
|
|
613
|
-
entry.key = key;
|
|
614
|
-
entry.value = value;
|
|
615
|
-
this.$size += size - entry.size;
|
|
616
|
-
entry.size = size;
|
|
617
|
-
entry.expiration = expiration;
|
|
618
|
-
if (this.expiration && this.expirations !== undefined && expiration !== Infinity) {
|
|
619
|
-
entry.enode !== undefined ? this.expirations.update(entry.enode, segment(expiration)) : entry.enode = this.expirations.insert(entry, segment(expiration));
|
|
620
|
-
} else if (entry.enode !== undefined) {
|
|
621
|
-
this.expirations.delete(entry.enode);
|
|
622
|
-
entry.enode = undefined;
|
|
623
|
-
}
|
|
624
|
-
this.disposer?.(value$, key$);
|
|
625
|
-
}
|
|
626
|
-
replace(entry) {
|
|
627
|
-
const {
|
|
628
|
-
LRU,
|
|
629
|
-
LFU
|
|
630
|
-
} = this;
|
|
631
|
-
if (entry.partition === 'LRU') {
|
|
632
|
-
if (entry.affiliation === 'LRU') {
|
|
633
|
-
// For memoize.
|
|
634
|
-
// Strict checks are ineffective with OLTP.
|
|
635
|
-
if (entry === LRU.head) return;
|
|
636
|
-
entry.affiliation = 'LFU';
|
|
637
|
-
} else {
|
|
638
|
-
const delta = LRU.length >= this.capacity - this.partition ? (0, alias_1.max)(LRU.length / (LFU.length || 1) * (0, alias_1.max)(this.overlapLRU / this.overlapLFU, 1) | 0, 1) : 0;
|
|
639
|
-
this.partition = (0, alias_1.min)(this.partition + delta, this.capacity - this.window);
|
|
640
|
-
--this.overlapLFU;
|
|
641
|
-
}
|
|
642
|
-
LRU.delete(entry);
|
|
643
|
-
LFU.unshift(entry);
|
|
644
|
-
entry.partition = 'LFU';
|
|
645
|
-
} else {
|
|
646
|
-
if (entry.affiliation === 'LFU') {} else {
|
|
647
|
-
const delta = LFU.length >= this.partition ? (0, alias_1.max)(LFU.length / (LRU.length || 1) * (0, alias_1.max)(this.overlapLFU / this.overlapLRU, 1) | 0, 1) : 0;
|
|
648
|
-
this.partition = (0, alias_1.max)(this.partition - delta, 0);
|
|
649
|
-
entry.affiliation = 'LFU';
|
|
650
|
-
--this.overlapLRU;
|
|
651
|
-
if (this.declination !== 1 && this.overlapLRU * 100 < this.LFU.length * this.sample) {
|
|
652
|
-
this.declination = 1;
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
if (entry === LFU.head) return;
|
|
656
|
-
LFU.delete(entry);
|
|
657
|
-
LFU.unshift(entry);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
validate(size, age) {
|
|
661
|
-
return 1 <= size && size <= this.resource && 1 <= age;
|
|
662
|
-
}
|
|
663
|
-
evict() {
|
|
664
|
-
const victim = this.LRU.last ?? this.LFU.last;
|
|
665
|
-
if (victim === undefined) return;
|
|
666
|
-
this.evict$(victim, true);
|
|
667
|
-
return [victim.key, victim.value];
|
|
668
|
-
}
|
|
669
|
-
add(key, value, {
|
|
670
|
-
size = 1,
|
|
671
|
-
age = this.age
|
|
672
|
-
} = {}, victim) {
|
|
673
|
-
if (!this.validate(size, age)) {
|
|
674
|
-
this.disposer?.(value, key);
|
|
675
|
-
return false;
|
|
676
|
-
}
|
|
677
|
-
const {
|
|
678
|
-
LRU
|
|
679
|
-
} = this;
|
|
680
|
-
const expiration = age === Infinity ? age : (0, chrono_1.now)() + age;
|
|
681
|
-
victim = this.ensure(size, victim, true);
|
|
682
|
-
// Note that the key will be duplicate if the key is evicted and added again in disposing.
|
|
683
|
-
if (victim !== undefined) {
|
|
684
|
-
victim.affiliation === 'LFU' && --this.overlapLFU;
|
|
685
|
-
this.dict.delete(victim.key);
|
|
686
|
-
this.dict.set(key, victim);
|
|
687
|
-
victim.affiliation = 'LRU';
|
|
688
|
-
LRU.head = victim;
|
|
689
|
-
this.update(victim, key, value, size, expiration);
|
|
690
|
-
return true;
|
|
691
|
-
}
|
|
692
|
-
this.$size += size;
|
|
693
|
-
const entry = new Entry(key, value, size, expiration, 'LRU', 'LRU');
|
|
694
|
-
LRU.unshift(entry);
|
|
695
|
-
this.dict.set(key, entry);
|
|
696
|
-
if (this.expiration && this.expirations !== undefined && expiration !== Infinity) {
|
|
697
|
-
entry.enode = this.expirations.insert(entry, segment(expiration));
|
|
698
|
-
}
|
|
699
|
-
return true;
|
|
700
|
-
}
|
|
701
|
-
put(key, value, {
|
|
702
|
-
size = 1,
|
|
703
|
-
age = this.age
|
|
704
|
-
} = {}) {
|
|
705
|
-
if (!this.validate(size, age)) {
|
|
706
|
-
this.disposer?.(value, key);
|
|
707
|
-
return false;
|
|
708
|
-
}
|
|
709
|
-
const entry = this.dict.get(key);
|
|
710
|
-
const match = entry !== undefined;
|
|
711
|
-
const victim = this.ensure(size, entry, true);
|
|
712
|
-
// Note that the key of entry or victim may be changed if the new key is set in disposing.
|
|
713
|
-
if (match && entry === victim) {
|
|
714
|
-
const expiration = age === Infinity ? age : (0, chrono_1.now)() + age;
|
|
715
|
-
this.update(entry, key, value, size, expiration);
|
|
716
|
-
return match;
|
|
717
|
-
}
|
|
718
|
-
this.add(key, value, {
|
|
719
|
-
size,
|
|
720
|
-
age
|
|
721
|
-
}, victim);
|
|
722
|
-
return match;
|
|
723
|
-
}
|
|
724
|
-
set(key, value, opts) {
|
|
725
|
-
this.put(key, value, opts);
|
|
726
|
-
return this;
|
|
727
|
-
}
|
|
728
|
-
get(key) {
|
|
729
|
-
const entry = this.dict.get(key);
|
|
730
|
-
if (entry === undefined) {
|
|
731
|
-
this.sweeper.miss();
|
|
732
|
-
return;
|
|
733
|
-
}
|
|
734
|
-
if (this.expiration && entry.expiration !== Infinity && entry.expiration < (0, chrono_1.now)()) {
|
|
735
|
-
this.sweeper.miss();
|
|
736
|
-
this.evict$(entry, true);
|
|
737
|
-
return;
|
|
738
|
-
}
|
|
739
|
-
this.sweeper.hit();
|
|
740
|
-
this.replace(entry);
|
|
741
|
-
return entry.value;
|
|
742
|
-
}
|
|
743
|
-
has(key) {
|
|
744
|
-
const entry = this.dict.get(key);
|
|
745
|
-
if (entry === undefined) return false;
|
|
746
|
-
if (this.expiration && entry.expiration !== Infinity && entry.expiration < (0, chrono_1.now)()) {
|
|
747
|
-
this.evict$(entry, true);
|
|
748
|
-
return false;
|
|
749
|
-
}
|
|
750
|
-
return true;
|
|
751
|
-
}
|
|
752
|
-
delete(key) {
|
|
753
|
-
const entry = this.dict.get(key);
|
|
754
|
-
if (entry === undefined) return false;
|
|
755
|
-
this.evict$(entry, this.settings.capture.delete === true);
|
|
756
|
-
return true;
|
|
757
|
-
}
|
|
758
|
-
*[Symbol.iterator]() {
|
|
759
|
-
for (const {
|
|
760
|
-
key,
|
|
761
|
-
value
|
|
762
|
-
} of this.LRU) {
|
|
763
|
-
yield [key, value];
|
|
764
|
-
}
|
|
765
|
-
for (const {
|
|
766
|
-
key,
|
|
767
|
-
value
|
|
768
|
-
} of this.LFU) {
|
|
769
|
-
yield [key, value];
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
exports.Cache = Cache;
|
|
774
|
-
// Transitive Wide MRU with Cyclic Replacement
|
|
775
|
-
class Sweeper {
|
|
776
|
-
constructor(target, capacity, window, room, threshold, ratio, range, shift) {
|
|
777
|
-
this.target = target;
|
|
778
|
-
this.window = window;
|
|
779
|
-
this.room = room;
|
|
780
|
-
this.threshold = threshold;
|
|
781
|
-
this.ratio = ratio;
|
|
782
|
-
this.range = range;
|
|
783
|
-
this.shift = shift;
|
|
784
|
-
this.currWindowHits = 0;
|
|
785
|
-
this.currWindowMisses = 0;
|
|
786
|
-
this.prevWindowHits = 0;
|
|
787
|
-
this.prevWindowMisses = 0;
|
|
788
|
-
this.currRoomHits = 0;
|
|
789
|
-
this.currRoomMisses = 0;
|
|
790
|
-
this.prevRoomHits = 0;
|
|
791
|
-
this.prevRoomMisses = 0;
|
|
792
|
-
this.processing = false;
|
|
793
|
-
this.direction = true;
|
|
794
|
-
this.initial = true;
|
|
795
|
-
this.back = 0;
|
|
796
|
-
this.advance = 0;
|
|
797
|
-
this.threshold *= 100;
|
|
798
|
-
this.resize(capacity, window, room, range);
|
|
799
|
-
}
|
|
800
|
-
replace(target) {
|
|
801
|
-
this.target = target;
|
|
802
|
-
}
|
|
803
|
-
resize(capacity, window, room, range) {
|
|
804
|
-
this.window = (0, alias_1.round)(capacity * window / 100) || 1;
|
|
805
|
-
this.room = (0, alias_1.round)(capacity * room / 100) || 1;
|
|
806
|
-
this.range = capacity * range / 100;
|
|
807
|
-
this.currWindowHits + this.currWindowMisses >= this.window && this.slideWindow();
|
|
808
|
-
this.currRoomHits + this.currRoomMisses >= this.room && this.slideRoom();
|
|
809
|
-
this.active = undefined;
|
|
810
|
-
}
|
|
811
|
-
clear() {
|
|
812
|
-
this.active = undefined;
|
|
813
|
-
this.processing = true;
|
|
814
|
-
this.reset();
|
|
815
|
-
this.slideWindow();
|
|
816
|
-
this.slideWindow();
|
|
817
|
-
this.slideRoom();
|
|
818
|
-
this.slideRoom();
|
|
819
|
-
}
|
|
820
|
-
slideWindow() {
|
|
821
|
-
this.prevWindowHits = this.currWindowHits;
|
|
822
|
-
this.prevWindowMisses = this.currWindowMisses;
|
|
823
|
-
this.currWindowHits = 0;
|
|
824
|
-
this.currWindowMisses = 0;
|
|
825
|
-
}
|
|
826
|
-
slideRoom() {
|
|
827
|
-
this.prevRoomHits = this.currRoomHits;
|
|
828
|
-
this.prevRoomMisses = this.currRoomMisses;
|
|
829
|
-
this.currRoomHits = 0;
|
|
830
|
-
this.currRoomMisses = 0;
|
|
831
|
-
}
|
|
832
|
-
hit() {
|
|
833
|
-
this.active = undefined;
|
|
834
|
-
++this.currWindowHits + this.currWindowMisses === this.window && this.slideWindow();
|
|
835
|
-
++this.currRoomHits + this.currRoomMisses === this.room && this.slideRoom();
|
|
836
|
-
this.processing && !this.isActive() && this.reset();
|
|
837
|
-
}
|
|
838
|
-
miss() {
|
|
839
|
-
this.active = undefined;
|
|
840
|
-
this.currWindowHits + ++this.currWindowMisses === this.window && this.slideWindow();
|
|
841
|
-
this.currRoomHits + ++this.currRoomMisses === this.room && this.slideRoom();
|
|
842
|
-
}
|
|
843
|
-
isActive() {
|
|
844
|
-
if (this.threshold === 0) return false;
|
|
845
|
-
return this.active ??= this.ratioWindow() < (0, alias_1.max)(this.ratioRoom() * this.ratio / 100, this.threshold);
|
|
846
|
-
}
|
|
847
|
-
ratioWindow() {
|
|
848
|
-
return ratio(this.window, [this.currWindowHits, this.prevWindowHits], [this.currWindowMisses, this.prevWindowMisses], 0);
|
|
849
|
-
}
|
|
850
|
-
ratioRoom() {
|
|
851
|
-
return ratio(this.room, [this.currRoomHits, this.prevRoomHits], [this.currRoomMisses, this.prevRoomMisses], 0);
|
|
852
|
-
}
|
|
853
|
-
sweep() {
|
|
854
|
-
const {
|
|
855
|
-
target
|
|
856
|
-
} = this;
|
|
857
|
-
let lap = false;
|
|
858
|
-
if (target.length === 0) return lap;
|
|
859
|
-
this.processing ||= true;
|
|
860
|
-
if (this.direction) {
|
|
861
|
-
if (this.back < 1) {
|
|
862
|
-
this.back += this.range;
|
|
863
|
-
lap = !this.initial && this.back >= 1;
|
|
864
|
-
}
|
|
865
|
-
} else {
|
|
866
|
-
if (this.advance < 1) {
|
|
867
|
-
this.advance += this.range * (100 - this.shift) / 100;
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
if (this.back >= 1) {
|
|
871
|
-
if (--this.back < 1) {
|
|
872
|
-
this.direction = false;
|
|
873
|
-
}
|
|
874
|
-
if (this.initial) {
|
|
875
|
-
this.initial = false;
|
|
876
|
-
target.head = target.head.next;
|
|
877
|
-
} else {
|
|
878
|
-
target.head = target.head.next.next;
|
|
879
|
-
}
|
|
880
|
-
} else if (this.advance >= 1) {
|
|
881
|
-
if (--this.advance < 1) {
|
|
882
|
-
this.direction = true;
|
|
883
|
-
}
|
|
884
|
-
} else {
|
|
885
|
-
this.direction = !this.direction;
|
|
886
|
-
target.head = target.head.next;
|
|
887
|
-
}
|
|
888
|
-
return lap;
|
|
889
|
-
}
|
|
890
|
-
reset() {
|
|
891
|
-
if (!this.processing) return;
|
|
892
|
-
this.processing = false;
|
|
893
|
-
this.direction = true;
|
|
894
|
-
this.initial = true;
|
|
895
|
-
this.back = 0;
|
|
896
|
-
this.advance = 0;
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
function ratio(window, targets, remains, offset) {
|
|
900
|
-
const currHits = targets[0];
|
|
901
|
-
const prevHits = targets[1];
|
|
902
|
-
const currTotal = currHits + remains[0];
|
|
903
|
-
const prevTotal = prevHits + remains[1];
|
|
904
|
-
const prevRate = prevHits && prevHits * 100 / prevTotal;
|
|
905
|
-
const currRatio = currTotal * 100 / window - offset;
|
|
906
|
-
if (currRatio <= 0) return prevRate * 100 | 0;
|
|
907
|
-
const currRate = currHits && currHits * 100 / currTotal;
|
|
908
|
-
if (prevTotal === 0) return currRate * 100 | 0;
|
|
909
|
-
const prevRatio = 100 - currRatio;
|
|
910
|
-
return currRate * currRatio + prevRate * prevRatio | 0;
|
|
911
|
-
}
|
|
912
|
-
function ratio2(window, targets, remains, offset) {
|
|
913
|
-
let total = 0;
|
|
914
|
-
let hits = 0;
|
|
915
|
-
let ratio = 100;
|
|
916
|
-
for (let len = targets.length, i = 0; i < len; ++i) {
|
|
917
|
-
const subtotal = targets[i] + remains[i];
|
|
918
|
-
if (subtotal === 0) continue;
|
|
919
|
-
offset = i + 1 === len ? 0 : offset;
|
|
920
|
-
const subratio = (0, alias_1.min)(subtotal * 100 / window, ratio) - offset;
|
|
921
|
-
offset = offset && subratio < 0 ? -subratio : 0;
|
|
922
|
-
if (subratio <= 0) continue;
|
|
923
|
-
const r = window * subratio / subtotal;
|
|
924
|
-
total += subtotal * r;
|
|
925
|
-
hits += targets[i] * r;
|
|
926
|
-
ratio -= subratio;
|
|
927
|
-
if (ratio <= 0) break;
|
|
928
|
-
}
|
|
929
|
-
return hits * 10000 / total | 0;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
/***/ }),
|
|
933
|
-
|
|
934
|
-
/***/ 4393:
|
|
935
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
936
|
-
|
|
937
|
-
"use strict";
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
941
|
-
value: true
|
|
942
|
-
}));
|
|
943
|
-
exports.clock = exports.now = void 0;
|
|
944
|
-
const queue_1 = __webpack_require__(4934);
|
|
945
|
-
const exception_1 = __webpack_require__(7822);
|
|
946
|
-
let time;
|
|
947
|
-
let count = 0;
|
|
948
|
-
function now(nocache) {
|
|
949
|
-
if (time === undefined) {
|
|
950
|
-
exports.clock.now(() => time = undefined);
|
|
951
|
-
} else if (!nocache && count++ !== 20) {
|
|
952
|
-
return time;
|
|
953
|
-
}
|
|
954
|
-
count = 1;
|
|
955
|
-
return time = Date.now();
|
|
956
|
-
}
|
|
957
|
-
exports.now = now;
|
|
958
|
-
exports.clock = new class Clock extends Promise {
|
|
959
|
-
constructor() {
|
|
960
|
-
super(resolve => resolve(undefined));
|
|
961
|
-
// Promise subclass is slow.
|
|
962
|
-
const clock = Promise.resolve();
|
|
963
|
-
clock.next = this.next;
|
|
964
|
-
clock.now = this.now;
|
|
965
|
-
return clock;
|
|
966
|
-
}
|
|
967
|
-
next(callback) {
|
|
968
|
-
scheduled || schedule();
|
|
969
|
-
exports.clock.then(callback);
|
|
970
|
-
}
|
|
971
|
-
now(callback) {
|
|
972
|
-
scheduled || schedule();
|
|
973
|
-
queue.push(callback);
|
|
974
|
-
}
|
|
975
|
-
}();
|
|
976
|
-
const queue = new queue_1.Queue();
|
|
977
|
-
let scheduled = false;
|
|
978
|
-
function schedule() {
|
|
979
|
-
scheduled = true;
|
|
980
|
-
exports.clock.then(run);
|
|
981
|
-
}
|
|
982
|
-
function run() {
|
|
983
|
-
for (let cb; cb = queue.pop();) {
|
|
984
|
-
try {
|
|
985
|
-
cb();
|
|
986
|
-
} catch (reason) {
|
|
987
|
-
(0, exception_1.causeAsyncException)(reason);
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
scheduled = false;
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
/***/ }),
|
|
994
|
-
|
|
995
|
-
/***/ 7681:
|
|
996
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
170
|
+
/***/ 7124:
|
|
171
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
997
172
|
|
|
998
173
|
"use strict";
|
|
999
174
|
|
|
@@ -1002,9 +177,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1002
177
|
value: true
|
|
1003
178
|
}));
|
|
1004
179
|
exports.Clock = void 0;
|
|
1005
|
-
const alias_1 = __webpack_require__(5406);
|
|
1006
180
|
const BASE = 32;
|
|
1007
|
-
const DIGIT =
|
|
181
|
+
const DIGIT = Math.log2(BASE);
|
|
1008
182
|
const MASK = BASE - 1;
|
|
1009
183
|
const empty = Symbol('empty');
|
|
1010
184
|
class Clock {
|
|
@@ -1017,7 +191,7 @@ class Clock {
|
|
|
1017
191
|
this.hand = 0;
|
|
1018
192
|
this.$length = 0;
|
|
1019
193
|
this.initial = 1;
|
|
1020
|
-
this.capacity =
|
|
194
|
+
this.capacity = ((capacity - 1 | MASK) >>> 0) + 1;
|
|
1021
195
|
this.refs = new Uint32Array(this.capacity >>> DIGIT);
|
|
1022
196
|
}
|
|
1023
197
|
get length() {
|
|
@@ -1027,10 +201,18 @@ class Clock {
|
|
|
1027
201
|
return this.$length;
|
|
1028
202
|
}
|
|
1029
203
|
mark(index) {
|
|
1030
|
-
|
|
204
|
+
const i = index >>> DIGIT;
|
|
205
|
+
const before = this.refs[i];
|
|
206
|
+
const after = before | 1 << (index & MASK);
|
|
207
|
+
if (after === before) return;
|
|
208
|
+
this.refs[i] = after;
|
|
1031
209
|
}
|
|
1032
210
|
unmark(index) {
|
|
1033
|
-
|
|
211
|
+
const i = index >>> DIGIT;
|
|
212
|
+
const before = this.refs[i];
|
|
213
|
+
const after = before & ~(1 << (index & MASK));
|
|
214
|
+
if (after === before) return;
|
|
215
|
+
this.refs[i] = after;
|
|
1034
216
|
}
|
|
1035
217
|
locate(hand, key, value) {
|
|
1036
218
|
const {
|
|
@@ -1225,7 +407,7 @@ function potision(n) {
|
|
|
1225
407
|
|
|
1226
408
|
/***/ }),
|
|
1227
409
|
|
|
1228
|
-
/***/
|
|
410
|
+
/***/ 1928:
|
|
1229
411
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1230
412
|
|
|
1231
413
|
"use strict";
|
|
@@ -1242,26 +424,28 @@ exports.equal = equal;
|
|
|
1242
424
|
|
|
1243
425
|
/***/ }),
|
|
1244
426
|
|
|
1245
|
-
/***/
|
|
427
|
+
/***/ 1444:
|
|
1246
428
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1247
429
|
|
|
1248
430
|
"use strict";
|
|
1249
431
|
|
|
1250
432
|
|
|
433
|
+
// ベンチマーク上の高速性は単一のプロシージャに最適化されたことによるものであり
|
|
434
|
+
// 複数のプロシージャに使用すると著しく低速化するため使用禁止。
|
|
1251
435
|
Object.defineProperty(exports, "__esModule", ({
|
|
1252
436
|
value: true
|
|
1253
437
|
}));
|
|
1254
438
|
exports.duffReduce = exports.duffEach = exports.duffbk = exports.duff = void 0;
|
|
1255
|
-
//
|
|
439
|
+
// @deprecated
|
|
1256
440
|
function duff(count, proc) {
|
|
1257
441
|
if (count > 0) {
|
|
1258
|
-
let i = 0
|
|
1259
|
-
|
|
442
|
+
let i = 0;
|
|
443
|
+
const m = count & 7,
|
|
1260
444
|
d = (count - m) / 8;
|
|
1261
|
-
|
|
445
|
+
for (let j = 0; j < m; ++j) {
|
|
1262
446
|
proc(i++);
|
|
1263
447
|
}
|
|
1264
|
-
|
|
448
|
+
for (let j = 0; j < d; ++j) {
|
|
1265
449
|
proc(i++);
|
|
1266
450
|
proc(i++);
|
|
1267
451
|
proc(i++);
|
|
@@ -1272,13 +456,13 @@ function duff(count, proc) {
|
|
|
1272
456
|
proc(i++);
|
|
1273
457
|
}
|
|
1274
458
|
} else {
|
|
1275
|
-
let i = -count
|
|
1276
|
-
|
|
459
|
+
let i = -count;
|
|
460
|
+
const m = i & 7,
|
|
1277
461
|
d = (i - m) / 8;
|
|
1278
|
-
|
|
462
|
+
for (let j = 0; j < m; ++j) {
|
|
1279
463
|
proc(--i);
|
|
1280
464
|
}
|
|
1281
|
-
|
|
465
|
+
for (let j = 0; j < d; ++j) {
|
|
1282
466
|
proc(--i);
|
|
1283
467
|
proc(--i);
|
|
1284
468
|
proc(--i);
|
|
@@ -1291,16 +475,16 @@ function duff(count, proc) {
|
|
|
1291
475
|
}
|
|
1292
476
|
}
|
|
1293
477
|
exports.duff = duff;
|
|
1294
|
-
//
|
|
478
|
+
// @deprecated
|
|
1295
479
|
function duffbk(count, proc) {
|
|
1296
480
|
if (count > 0) {
|
|
1297
|
-
let i = 0
|
|
1298
|
-
|
|
481
|
+
let i = 0;
|
|
482
|
+
const m = count & 7,
|
|
1299
483
|
d = (count - m) / 8;
|
|
1300
|
-
|
|
484
|
+
for (let j = 0; j < m; ++j) {
|
|
1301
485
|
if (proc(i++) === false) return;
|
|
1302
486
|
}
|
|
1303
|
-
|
|
487
|
+
for (let j = 0; j < d; ++j) {
|
|
1304
488
|
switch (false) {
|
|
1305
489
|
case proc(i++):
|
|
1306
490
|
case proc(i++):
|
|
@@ -1314,13 +498,13 @@ function duffbk(count, proc) {
|
|
|
1314
498
|
}
|
|
1315
499
|
}
|
|
1316
500
|
} else {
|
|
1317
|
-
let i = -count
|
|
1318
|
-
|
|
501
|
+
let i = -count;
|
|
502
|
+
const m = i & 7,
|
|
1319
503
|
d = (i - m) / 8;
|
|
1320
|
-
|
|
504
|
+
for (let j = 0; j < m; ++j) {
|
|
1321
505
|
if (proc(--i) === false) return;
|
|
1322
506
|
}
|
|
1323
|
-
|
|
507
|
+
for (let j = 0; j < d; ++j) {
|
|
1324
508
|
switch (false) {
|
|
1325
509
|
case proc(--i):
|
|
1326
510
|
case proc(--i):
|
|
@@ -1336,15 +520,16 @@ function duffbk(count, proc) {
|
|
|
1336
520
|
}
|
|
1337
521
|
}
|
|
1338
522
|
exports.duffbk = duffbk;
|
|
523
|
+
// @deprecated
|
|
1339
524
|
function duffEach(array, proc) {
|
|
1340
525
|
let count = array.length;
|
|
1341
|
-
let i = 0
|
|
1342
|
-
|
|
526
|
+
let i = 0;
|
|
527
|
+
const m = count & 7,
|
|
1343
528
|
d = (count - m) / 8;
|
|
1344
|
-
|
|
529
|
+
for (let j = 0; j < m; ++j) {
|
|
1345
530
|
proc(array[i], i++, array);
|
|
1346
531
|
}
|
|
1347
|
-
|
|
532
|
+
for (let j = 0; j < d; ++j) {
|
|
1348
533
|
proc(array[i], i++, array);
|
|
1349
534
|
proc(array[i], i++, array);
|
|
1350
535
|
proc(array[i], i++, array);
|
|
@@ -1356,18 +541,17 @@ function duffEach(array, proc) {
|
|
|
1356
541
|
}
|
|
1357
542
|
}
|
|
1358
543
|
exports.duffEach = duffEach;
|
|
1359
|
-
//
|
|
1360
|
-
// 実際の使用では速度低下は見られない
|
|
544
|
+
// @deprecated
|
|
1361
545
|
function duffReduce(array, proc, initial) {
|
|
1362
546
|
let count = array.length;
|
|
1363
|
-
let i = 0
|
|
1364
|
-
|
|
547
|
+
let i = 0;
|
|
548
|
+
const m = count & 7,
|
|
1365
549
|
d = (count - m) / 8;
|
|
1366
550
|
let acc = initial;
|
|
1367
|
-
|
|
551
|
+
for (let j = 0; j < m; ++j) {
|
|
1368
552
|
acc = proc(acc, array[i], i++, array);
|
|
1369
553
|
}
|
|
1370
|
-
|
|
554
|
+
for (let j = 0; j < d; ++j) {
|
|
1371
555
|
acc = proc(acc, array[i], i++, array);
|
|
1372
556
|
acc = proc(acc, array[i], i++, array);
|
|
1373
557
|
acc = proc(acc, array[i], i++, array);
|
|
@@ -1383,7 +567,7 @@ exports.duffReduce = duffReduce;
|
|
|
1383
567
|
|
|
1384
568
|
/***/ }),
|
|
1385
569
|
|
|
1386
|
-
/***/
|
|
570
|
+
/***/ 8324:
|
|
1387
571
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1388
572
|
|
|
1389
573
|
"use strict";
|
|
@@ -1392,47 +576,14 @@ exports.duffReduce = duffReduce;
|
|
|
1392
576
|
Object.defineProperty(exports, "__esModule", ({
|
|
1393
577
|
value: true
|
|
1394
578
|
}));
|
|
1395
|
-
|
|
1396
|
-
const stack_1 = __webpack_require__(5352);
|
|
1397
|
-
const stack = new stack_1.Stack();
|
|
1398
|
-
function causeAsyncException(reason) {
|
|
1399
|
-
if (stack.isEmpty()) {
|
|
1400
|
-
Promise.reject(reason);
|
|
1401
|
-
} else {
|
|
1402
|
-
stack.peek().push(reason);
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
exports.causeAsyncException = causeAsyncException;
|
|
1406
|
-
function suppressAsyncException(test) {
|
|
1407
|
-
return done => {
|
|
1408
|
-
stack.push([]);
|
|
1409
|
-
return test(err => {
|
|
1410
|
-
stack.pop();
|
|
1411
|
-
done(err);
|
|
1412
|
-
});
|
|
1413
|
-
};
|
|
1414
|
-
}
|
|
1415
|
-
exports.suppressAsyncException = suppressAsyncException;
|
|
1416
|
-
|
|
1417
|
-
/***/ }),
|
|
1418
|
-
|
|
1419
|
-
/***/ 4128:
|
|
1420
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1421
|
-
|
|
1422
|
-
"use strict";
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
1426
|
-
value: true
|
|
1427
|
-
}));
|
|
1428
|
-
__webpack_require__(6921);
|
|
579
|
+
__webpack_require__(8304);
|
|
1429
580
|
const global = globalThis;
|
|
1430
581
|
global.global = global;
|
|
1431
582
|
exports["default"] = global;
|
|
1432
583
|
|
|
1433
584
|
/***/ }),
|
|
1434
585
|
|
|
1435
|
-
/***/
|
|
586
|
+
/***/ 8304:
|
|
1436
587
|
/***/ (() => {
|
|
1437
588
|
|
|
1438
589
|
"use strict";
|
|
@@ -1443,7 +594,7 @@ var global = (/* unused pure expression or super */ null && (globalThis));
|
|
|
1443
594
|
|
|
1444
595
|
/***/ }),
|
|
1445
596
|
|
|
1446
|
-
/***/
|
|
597
|
+
/***/ 8487:
|
|
1447
598
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1448
599
|
|
|
1449
600
|
"use strict";
|
|
@@ -1453,8 +604,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1453
604
|
value: true
|
|
1454
605
|
}));
|
|
1455
606
|
exports.MultiHeap = exports.Heap = void 0;
|
|
1456
|
-
const list_1 = __webpack_require__(
|
|
1457
|
-
const memoize_1 = __webpack_require__(
|
|
607
|
+
const list_1 = __webpack_require__(9756);
|
|
608
|
+
const memoize_1 = __webpack_require__(276);
|
|
1458
609
|
class Heap {
|
|
1459
610
|
constructor(cmp = Heap.max, options) {
|
|
1460
611
|
this.cmp = cmp;
|
|
@@ -1680,7 +831,7 @@ MultiHeap.min = Heap.min;
|
|
|
1680
831
|
|
|
1681
832
|
/***/ }),
|
|
1682
833
|
|
|
1683
|
-
/***/
|
|
834
|
+
/***/ 9756:
|
|
1684
835
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1685
836
|
|
|
1686
837
|
"use strict";
|
|
@@ -1708,11 +859,11 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
|
1708
859
|
Object.defineProperty(exports, "__esModule", ({
|
|
1709
860
|
value: true
|
|
1710
861
|
}));
|
|
1711
|
-
__exportStar(__webpack_require__(
|
|
862
|
+
__exportStar(__webpack_require__(6868), exports);
|
|
1712
863
|
|
|
1713
864
|
/***/ }),
|
|
1714
865
|
|
|
1715
|
-
/***/
|
|
866
|
+
/***/ 6868:
|
|
1716
867
|
/***/ ((__unused_webpack_module, exports) => {
|
|
1717
868
|
|
|
1718
869
|
"use strict";
|
|
@@ -1779,16 +930,15 @@ class List {
|
|
|
1779
930
|
this.head = undefined;
|
|
1780
931
|
}
|
|
1781
932
|
*[Symbol.iterator]() {
|
|
1782
|
-
let
|
|
1783
|
-
for (let node = head; node !== undefined;) {
|
|
933
|
+
for (let node = this.head; node !== undefined;) {
|
|
1784
934
|
yield node;
|
|
1785
935
|
node = node.next;
|
|
1786
|
-
if (node === head)
|
|
936
|
+
if (node === this.head) break;
|
|
1787
937
|
}
|
|
1788
938
|
}
|
|
1789
939
|
flatMap(f) {
|
|
1790
940
|
const acc = [];
|
|
1791
|
-
for (let
|
|
941
|
+
for (let node = this.head; node !== undefined;) {
|
|
1792
942
|
const as = f(node);
|
|
1793
943
|
switch (as.length) {
|
|
1794
944
|
case 0:
|
|
@@ -1802,15 +952,15 @@ class List {
|
|
|
1802
952
|
}
|
|
1803
953
|
}
|
|
1804
954
|
node = node.next;
|
|
1805
|
-
if (node === head) break;
|
|
955
|
+
if (node === this.head) break;
|
|
1806
956
|
}
|
|
1807
957
|
return acc;
|
|
1808
958
|
}
|
|
1809
959
|
find(f) {
|
|
1810
|
-
for (let
|
|
960
|
+
for (let node = this.head; node !== undefined;) {
|
|
1811
961
|
if (f(node)) return node;
|
|
1812
962
|
node = node.next;
|
|
1813
|
-
if (node === head) break;
|
|
963
|
+
if (node === this.head) break;
|
|
1814
964
|
}
|
|
1815
965
|
}
|
|
1816
966
|
}
|
|
@@ -1827,7 +977,7 @@ exports.List = List;
|
|
|
1827
977
|
|
|
1828
978
|
/***/ }),
|
|
1829
979
|
|
|
1830
|
-
/***/
|
|
980
|
+
/***/ 276:
|
|
1831
981
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1832
982
|
|
|
1833
983
|
"use strict";
|
|
@@ -1837,8 +987,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1837
987
|
value: true
|
|
1838
988
|
}));
|
|
1839
989
|
exports.reduce = exports.memoize = void 0;
|
|
1840
|
-
const alias_1 = __webpack_require__(
|
|
1841
|
-
const compare_1 = __webpack_require__(
|
|
990
|
+
const alias_1 = __webpack_require__(5807);
|
|
991
|
+
const compare_1 = __webpack_require__(1928);
|
|
1842
992
|
function memoize(f, identify, memory) {
|
|
1843
993
|
if (typeof identify === 'object') {
|
|
1844
994
|
memory = identify;
|
|
@@ -1905,7 +1055,7 @@ exports.reduce = reduce;
|
|
|
1905
1055
|
|
|
1906
1056
|
/***/ }),
|
|
1907
1057
|
|
|
1908
|
-
/***/
|
|
1058
|
+
/***/ 9556:
|
|
1909
1059
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1910
1060
|
|
|
1911
1061
|
"use strict";
|
|
@@ -1915,8 +1065,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1915
1065
|
value: true
|
|
1916
1066
|
}));
|
|
1917
1067
|
exports.MultiQueue = exports.PriorityQueue = exports.Queue = void 0;
|
|
1918
|
-
const heap_1 = __webpack_require__(
|
|
1919
|
-
const memoize_1 = __webpack_require__(
|
|
1068
|
+
const heap_1 = __webpack_require__(8487);
|
|
1069
|
+
const memoize_1 = __webpack_require__(276);
|
|
1920
1070
|
const size = 2048;
|
|
1921
1071
|
const initsize = 16;
|
|
1922
1072
|
class Queue {
|
|
@@ -2138,7 +1288,7 @@ exports.MultiQueue = MultiQueue;
|
|
|
2138
1288
|
|
|
2139
1289
|
/***/ }),
|
|
2140
1290
|
|
|
2141
|
-
/***/
|
|
1291
|
+
/***/ 72:
|
|
2142
1292
|
/***/ ((__unused_webpack_module, exports) => {
|
|
2143
1293
|
|
|
2144
1294
|
"use strict";
|
|
@@ -2147,26 +1297,24 @@ exports.MultiQueue = MultiQueue;
|
|
|
2147
1297
|
Object.defineProperty(exports, "__esModule", ({
|
|
2148
1298
|
value: true
|
|
2149
1299
|
}));
|
|
2150
|
-
exports.pcg32 = exports.xorshift = exports.unique = exports.rndAf = exports.rndAP = exports.rnd0_ = exports.rnd0Z = exports.rnd0z = exports.rnd0v = exports.rnd0f = exports.rnd64 = exports.rnd62 = exports.rnd36 = exports.rnd32 = exports.rnd16 = void 0;
|
|
1300
|
+
exports.pcg32 = exports.xorshift = exports.unique = exports.rndAf = exports.rndAP = exports.rnd0_ = exports.rnd0S = exports.rnd0Z = exports.rnd0z = exports.rnd0v = exports.rnd0f = exports.rnd09 = exports.rnd64 = exports.rnd62 = exports.rnd36 = exports.rnd32 = exports.rnd16 = exports.rnd10 = void 0;
|
|
2151
1301
|
const bases = Object.freeze([...Array(7)].map((_, i) => 1 << i));
|
|
2152
1302
|
const masks = Object.freeze(bases.map(radix => radix - 1));
|
|
1303
|
+
const dict0S = [...[...Array(36)].map((_, i) => i.toString(36)), ...[...Array(36)].map((_, i) => i.toString(36).toUpperCase()).slice(-26), '+', '/'].join('');
|
|
2153
1304
|
const dict0_ = [...[...Array(36)].map((_, i) => i.toString(36)), ...[...Array(36)].map((_, i) => i.toString(36).toUpperCase()).slice(-26), '-', '_'].join('');
|
|
2154
|
-
|
|
2155
|
-
// eslint-disable-next-line
|
|
2156
|
-
|
|
2157
1305
|
const dictAz = [...[...Array(36)].map((_, i) => i.toString(36).toUpperCase()).slice(-26), ...[...Array(36)].map((_, i) => i.toString(36)).slice(-26)].join('');
|
|
2158
|
-
|
|
2159
|
-
// eslint-disable-next-line
|
|
2160
|
-
|
|
1306
|
+
exports.rnd10 = cons(10);
|
|
2161
1307
|
exports.rnd16 = cons(16);
|
|
2162
1308
|
exports.rnd32 = cons(32);
|
|
2163
1309
|
exports.rnd36 = cons(36);
|
|
2164
1310
|
exports.rnd62 = cons(62);
|
|
2165
1311
|
exports.rnd64 = cons(64);
|
|
1312
|
+
exports.rnd09 = conv(exports.rnd10, dict0_);
|
|
2166
1313
|
exports.rnd0f = conv(exports.rnd16, dict0_);
|
|
2167
1314
|
exports.rnd0v = conv(exports.rnd32, dict0_);
|
|
2168
1315
|
exports.rnd0z = conv(exports.rnd36, dict0_);
|
|
2169
1316
|
exports.rnd0Z = conv(exports.rnd62, dict0_);
|
|
1317
|
+
exports.rnd0S = conv(exports.rnd64, dict0S);
|
|
2170
1318
|
exports.rnd0_ = conv(exports.rnd64, dict0_);
|
|
2171
1319
|
exports.rndAP = conv(exports.rnd16, dictAz);
|
|
2172
1320
|
exports.rndAf = conv(exports.rnd32, dictAz);
|
|
@@ -2213,8 +1361,8 @@ function cons(size) {
|
|
|
2213
1361
|
return r < size ? r : rng();
|
|
2214
1362
|
};
|
|
2215
1363
|
}
|
|
2216
|
-
function conv(rng, dict) {
|
|
2217
|
-
return (len = 1) => {
|
|
1364
|
+
function conv($rng, dict) {
|
|
1365
|
+
return (len = 1, rng = $rng) => {
|
|
2218
1366
|
let acc = '';
|
|
2219
1367
|
while (len--) {
|
|
2220
1368
|
acc += dict[rng()];
|
|
@@ -2308,7 +1456,7 @@ exports.pcg32 = pcg32;
|
|
|
2308
1456
|
}
|
|
2309
1457
|
cur_plus = uint64n((cur_mult + 1n) * cur_plus);
|
|
2310
1458
|
cur_mult = uint64n(cur_mult * cur_mult);
|
|
2311
|
-
delta
|
|
1459
|
+
delta >>= 1n;
|
|
2312
1460
|
}
|
|
2313
1461
|
seed[0] = uint64n(acc_mult * seed[0] + acc_plus);
|
|
2314
1462
|
return seed;
|
|
@@ -2318,8 +1466,8 @@ exports.pcg32 = pcg32;
|
|
|
2318
1466
|
|
|
2319
1467
|
/***/ }),
|
|
2320
1468
|
|
|
2321
|
-
/***/
|
|
2322
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
1469
|
+
/***/ 8884:
|
|
1470
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2323
1471
|
|
|
2324
1472
|
"use strict";
|
|
2325
1473
|
|
|
@@ -2327,109 +1475,243 @@ exports.pcg32 = pcg32;
|
|
|
2327
1475
|
Object.defineProperty(exports, "__esModule", ({
|
|
2328
1476
|
value: true
|
|
2329
1477
|
}));
|
|
2330
|
-
exports.
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
1478
|
+
exports.TLRU = void 0;
|
|
1479
|
+
const alias_1 = __webpack_require__(5807);
|
|
1480
|
+
const list_1 = __webpack_require__(9756);
|
|
1481
|
+
class Entry {
|
|
1482
|
+
constructor(key, value) {
|
|
1483
|
+
this.key = key;
|
|
1484
|
+
this.value = value;
|
|
1485
|
+
this.next = undefined;
|
|
1486
|
+
this.prev = undefined;
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
class TLRU {
|
|
1490
|
+
constructor(capacity, step = 1, window = 0, retrial = true) {
|
|
1491
|
+
this.capacity = capacity;
|
|
1492
|
+
this.step = step;
|
|
1493
|
+
this.window = window;
|
|
1494
|
+
this.retrial = retrial;
|
|
1495
|
+
this.dict = new Map();
|
|
1496
|
+
this.list = new list_1.List();
|
|
1497
|
+
this.handV = undefined;
|
|
1498
|
+
this.handG = undefined;
|
|
1499
|
+
this.count = 0;
|
|
2334
1500
|
}
|
|
2335
1501
|
get length() {
|
|
2336
|
-
return this.
|
|
1502
|
+
return this.list.length;
|
|
2337
1503
|
}
|
|
2338
|
-
|
|
2339
|
-
return this.
|
|
1504
|
+
get size() {
|
|
1505
|
+
return this.list.length;
|
|
2340
1506
|
}
|
|
2341
|
-
|
|
1507
|
+
return() {
|
|
2342
1508
|
const {
|
|
2343
|
-
|
|
1509
|
+
list
|
|
2344
1510
|
} = this;
|
|
2345
|
-
|
|
1511
|
+
if (this.count !== -1 && this.handV !== undefined && this.handG !== list.last && this.handG !== undefined) {
|
|
1512
|
+
if (this.count >= 0) {
|
|
1513
|
+
// 1周できる
|
|
1514
|
+
|
|
1515
|
+
//this.count = -max(max(list.length - this.count, 0) * this.step / 100 | 0, 1) - 1;
|
|
1516
|
+
this.count = -(0, alias_1.max)(list.length * this.step / 100 | 0, list.length * this.window / 100 - this.count | 0, 1) - 1;
|
|
1517
|
+
} else {
|
|
1518
|
+
this.handG = this.handG.prev;
|
|
1519
|
+
}
|
|
1520
|
+
} else {
|
|
1521
|
+
if (this.handV === list.head) {
|
|
1522
|
+
this.handG = undefined;
|
|
1523
|
+
}
|
|
1524
|
+
if (this.handG === list.last) {
|
|
1525
|
+
this.handG = this.handG.prev;
|
|
1526
|
+
}
|
|
1527
|
+
this.handV = list.last;
|
|
1528
|
+
this.count = 0;
|
|
1529
|
+
}
|
|
2346
1530
|
}
|
|
2347
|
-
|
|
2348
|
-
|
|
1531
|
+
replace(key, value) {
|
|
1532
|
+
const {
|
|
1533
|
+
dict,
|
|
1534
|
+
list
|
|
1535
|
+
} = this;
|
|
1536
|
+
if (this.handV === this.handG || this.handV === list.last) {
|
|
1537
|
+
this.return();
|
|
1538
|
+
}
|
|
1539
|
+
// 非延命
|
|
1540
|
+
if (this.count >= 0 || !this.retrial) {
|
|
1541
|
+
const entry = this.handV ??= list.last;
|
|
1542
|
+
dict.delete(entry.key);
|
|
1543
|
+
dict.set(key, entry);
|
|
1544
|
+
entry.key = key;
|
|
1545
|
+
entry.value = value;
|
|
1546
|
+
}
|
|
1547
|
+
// 延命
|
|
1548
|
+
else {
|
|
1549
|
+
const entry = list.last;
|
|
1550
|
+
dict.delete(entry.key);
|
|
1551
|
+
dict.set(key, entry);
|
|
1552
|
+
entry.key = key;
|
|
1553
|
+
entry.value = value;
|
|
1554
|
+
this.escape(entry);
|
|
1555
|
+
list.delete(entry);
|
|
1556
|
+
if (this.handG !== list.head) {
|
|
1557
|
+
list.insert(entry, this.handG);
|
|
1558
|
+
} else {
|
|
1559
|
+
list.unshift(entry);
|
|
1560
|
+
}
|
|
1561
|
+
this.handV = entry;
|
|
1562
|
+
this.handG = entry.prev;
|
|
1563
|
+
}
|
|
1564
|
+
if (this.handV !== this.handG) {
|
|
1565
|
+
this.handV = this.handV.prev;
|
|
1566
|
+
}
|
|
1567
|
+
++this.count;
|
|
2349
1568
|
}
|
|
2350
|
-
|
|
1569
|
+
evict() {
|
|
2351
1570
|
const {
|
|
2352
|
-
|
|
1571
|
+
list
|
|
2353
1572
|
} = this;
|
|
2354
|
-
if (
|
|
2355
|
-
|
|
1573
|
+
if (list.length === 0) return;
|
|
1574
|
+
const entry = this.handV ??= list.last;
|
|
1575
|
+
this.delete(entry.key);
|
|
1576
|
+
return [entry.key, entry.value];
|
|
1577
|
+
}
|
|
1578
|
+
add(key, value) {
|
|
1579
|
+
const {
|
|
1580
|
+
dict,
|
|
1581
|
+
list
|
|
1582
|
+
} = this;
|
|
1583
|
+
if (list.length === this.capacity) {
|
|
1584
|
+
this.replace(key, value);
|
|
1585
|
+
} else {
|
|
1586
|
+
const entry = new Entry(key, value);
|
|
1587
|
+
dict.set(key, entry);
|
|
1588
|
+
if (this.handV !== undefined) {
|
|
1589
|
+
list.insert(entry, this.handV.next);
|
|
1590
|
+
} else {
|
|
1591
|
+
list.unshift(entry);
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
return true;
|
|
1595
|
+
}
|
|
1596
|
+
set(key, value) {
|
|
1597
|
+
const entry = this.dict.get(key);
|
|
1598
|
+
if (entry === undefined) {
|
|
1599
|
+
this.add(key, value);
|
|
1600
|
+
} else {
|
|
1601
|
+
entry.value = value;
|
|
1602
|
+
}
|
|
1603
|
+
return this;
|
|
1604
|
+
}
|
|
1605
|
+
escape(entry) {
|
|
1606
|
+
const {
|
|
1607
|
+
list
|
|
1608
|
+
} = this;
|
|
1609
|
+
if (list.length === 1) {
|
|
1610
|
+
this.handV = undefined;
|
|
1611
|
+
this.handG = undefined;
|
|
1612
|
+
this.count = 0;
|
|
1613
|
+
return;
|
|
1614
|
+
}
|
|
1615
|
+
if (entry === this.handV) {
|
|
1616
|
+
this.handV = this.handV !== list.head ? this.handV.prev : this.handV.next;
|
|
1617
|
+
}
|
|
1618
|
+
if (entry === this.handG) {
|
|
1619
|
+
this.handG = this.handG !== list.head ? this.handG.prev : this.handG.next;
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
get(key) {
|
|
1623
|
+
const {
|
|
1624
|
+
dict,
|
|
1625
|
+
list
|
|
1626
|
+
} = this;
|
|
1627
|
+
const entry = dict.get(key);
|
|
1628
|
+
if (entry === undefined) return;
|
|
1629
|
+
if (entry !== list.head) {
|
|
1630
|
+
this.escape(entry);
|
|
1631
|
+
list.delete(entry);
|
|
1632
|
+
list.unshift(entry);
|
|
1633
|
+
}
|
|
1634
|
+
this.handG ??= entry;
|
|
1635
|
+
return entry.value;
|
|
1636
|
+
}
|
|
1637
|
+
has(key) {
|
|
1638
|
+
return this.dict.has(key);
|
|
1639
|
+
}
|
|
1640
|
+
delete(key) {
|
|
1641
|
+
const {
|
|
1642
|
+
dict,
|
|
1643
|
+
list
|
|
1644
|
+
} = this;
|
|
1645
|
+
const entry = dict.get(key);
|
|
1646
|
+
if (entry === undefined) return false;
|
|
1647
|
+
this.escape(entry);
|
|
1648
|
+
list.delete(entry);
|
|
1649
|
+
return dict.delete(key);
|
|
2356
1650
|
}
|
|
2357
1651
|
clear() {
|
|
2358
|
-
this.
|
|
1652
|
+
this.dict.clear();
|
|
1653
|
+
this.list.clear();
|
|
1654
|
+
this.handV = undefined;
|
|
1655
|
+
this.handG = undefined;
|
|
1656
|
+
this.count = 0;
|
|
2359
1657
|
}
|
|
2360
1658
|
*[Symbol.iterator]() {
|
|
2361
|
-
|
|
2362
|
-
|
|
1659
|
+
for (const {
|
|
1660
|
+
key,
|
|
1661
|
+
value
|
|
1662
|
+
} of this.list) {
|
|
1663
|
+
yield [key, value];
|
|
2363
1664
|
}
|
|
2364
1665
|
}
|
|
2365
1666
|
}
|
|
2366
|
-
exports.
|
|
1667
|
+
exports.TLRU = TLRU;
|
|
2367
1668
|
|
|
2368
1669
|
/***/ }),
|
|
2369
1670
|
|
|
2370
|
-
/***/
|
|
2371
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
1671
|
+
/***/ 1900:
|
|
1672
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2372
1673
|
|
|
2373
1674
|
"use strict";
|
|
2374
1675
|
|
|
2375
1676
|
|
|
1677
|
+
// TLRU: True LRU
|
|
1678
|
+
// TRC: True Recency-based Cache
|
|
1679
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
1680
|
+
if (k2 === undefined) k2 = k;
|
|
1681
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1682
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1683
|
+
desc = {
|
|
1684
|
+
enumerable: true,
|
|
1685
|
+
get: function () {
|
|
1686
|
+
return m[k];
|
|
1687
|
+
}
|
|
1688
|
+
};
|
|
1689
|
+
}
|
|
1690
|
+
Object.defineProperty(o, k2, desc);
|
|
1691
|
+
} : function (o, m, k, k2) {
|
|
1692
|
+
if (k2 === undefined) k2 = k;
|
|
1693
|
+
o[k2] = m[k];
|
|
1694
|
+
});
|
|
1695
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
1696
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1697
|
+
};
|
|
2376
1698
|
Object.defineProperty(exports, "__esModule", ({
|
|
2377
1699
|
value: true
|
|
2378
1700
|
}));
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
if (value === null) return 'null';
|
|
2390
|
-
const tag = value[Symbol.toStringTag];
|
|
2391
|
-
if (tag) return tag;
|
|
2392
|
-
switch ((0, alias_1.ObjectGetPrototypeOf)(value)) {
|
|
2393
|
-
case ArrayPrototype:
|
|
2394
|
-
return 'Array';
|
|
2395
|
-
case ObjectPrototype:
|
|
2396
|
-
return 'Object';
|
|
2397
|
-
default:
|
|
2398
|
-
return value?.constructor?.name || (0, alias_1.toString)(value).slice(8, -1);
|
|
2399
|
-
}
|
|
2400
|
-
default:
|
|
2401
|
-
return type;
|
|
2402
|
-
}
|
|
2403
|
-
}
|
|
2404
|
-
exports.type = type;
|
|
2405
|
-
function is(type, value) {
|
|
2406
|
-
switch (type) {
|
|
2407
|
-
case 'null':
|
|
2408
|
-
return value === null;
|
|
2409
|
-
case 'array':
|
|
2410
|
-
return (0, alias_1.isArray)(value);
|
|
2411
|
-
case 'object':
|
|
2412
|
-
return value !== null && typeof value === type;
|
|
2413
|
-
default:
|
|
2414
|
-
return typeof value === type;
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
exports.is = is;
|
|
2418
|
-
function isPrimitive(value) {
|
|
2419
|
-
switch (typeof value) {
|
|
2420
|
-
case 'function':
|
|
2421
|
-
return false;
|
|
2422
|
-
case 'object':
|
|
2423
|
-
return value === null;
|
|
2424
|
-
default:
|
|
2425
|
-
return true;
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
exports.isPrimitive = isPrimitive;
|
|
1701
|
+
/*
|
|
1702
|
+
真に最近性に基づく真のLRU。
|
|
1703
|
+
最近性には有参照間、無参照間、有無参照間の3つがある。
|
|
1704
|
+
LRUは有無参照間の最近性を喪失しClockは有参照間の最近性を喪失する。
|
|
1705
|
+
TLRUはすべての最近性を保持する。
|
|
1706
|
+
DWCより高速かつ堅牢で小さいキャッシュサイズに適している。
|
|
1707
|
+
パラメータを調整しやすくDWCより高ヒット率となることもある。
|
|
1708
|
+
|
|
1709
|
+
*/
|
|
1710
|
+
__exportStar(__webpack_require__(8884), exports);
|
|
2429
1711
|
|
|
2430
1712
|
/***/ }),
|
|
2431
1713
|
|
|
2432
|
-
/***/
|
|
1714
|
+
/***/ 3800:
|
|
2433
1715
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2434
1716
|
|
|
2435
1717
|
"use strict";
|
|
@@ -2439,15 +1721,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2439
1721
|
value: true
|
|
2440
1722
|
}));
|
|
2441
1723
|
exports.URL = exports.ReadonlyURL = exports.standardize = void 0;
|
|
2442
|
-
const internal_1 = __webpack_require__(
|
|
2443
|
-
var internal_2 = __webpack_require__(
|
|
1724
|
+
const internal_1 = __webpack_require__(7568);
|
|
1725
|
+
var internal_2 = __webpack_require__(7568);
|
|
2444
1726
|
Object.defineProperty(exports, "standardize", ({
|
|
2445
1727
|
enumerable: true,
|
|
2446
1728
|
get: function () {
|
|
2447
1729
|
return internal_2.standardize;
|
|
2448
1730
|
}
|
|
2449
1731
|
}));
|
|
2450
|
-
var internal_3 = __webpack_require__(
|
|
1732
|
+
var internal_3 = __webpack_require__(7568);
|
|
2451
1733
|
Object.defineProperty(exports, "ReadonlyURL", ({
|
|
2452
1734
|
enumerable: true,
|
|
2453
1735
|
get: function () {
|
|
@@ -2465,7 +1747,6 @@ class URL {
|
|
|
2465
1747
|
|
|
2466
1748
|
//assert(this.href.startsWith(this.resource));
|
|
2467
1749
|
}
|
|
2468
|
-
|
|
2469
1750
|
get href() {
|
|
2470
1751
|
return this.params?.toString().replace(/^(?=.)/, `${this.url.href.slice(0, -this.url.query.length - this.url.fragment.length || this.url.href.length)}?`).concat(this.fragment) ?? this.url.href;
|
|
2471
1752
|
}
|
|
@@ -2528,7 +1809,7 @@ exports.URL = URL;
|
|
|
2528
1809
|
|
|
2529
1810
|
/***/ }),
|
|
2530
1811
|
|
|
2531
|
-
/***/
|
|
1812
|
+
/***/ 7568:
|
|
2532
1813
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2533
1814
|
|
|
2534
1815
|
"use strict";
|
|
@@ -2538,9 +1819,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2538
1819
|
value: true
|
|
2539
1820
|
}));
|
|
2540
1821
|
exports.ReadonlyURL = exports.encode = exports.standardize = void 0;
|
|
2541
|
-
__webpack_require__(
|
|
2542
|
-
const memoize_1 = __webpack_require__(
|
|
2543
|
-
const
|
|
1822
|
+
__webpack_require__(8324);
|
|
1823
|
+
const memoize_1 = __webpack_require__(276);
|
|
1824
|
+
const tlru_1 = __webpack_require__(1900);
|
|
2544
1825
|
function standardize(url, base) {
|
|
2545
1826
|
const {
|
|
2546
1827
|
origin,
|
|
@@ -2657,7 +1938,7 @@ exports.ReadonlyURL = ReadonlyURL;
|
|
|
2657
1938
|
// @ts-ignore
|
|
2658
1939
|
ReadonlyURL.get = (0, memoize_1.memoize)((url, base) => ({
|
|
2659
1940
|
url: new __webpack_require__.g.URL(url, base)
|
|
2660
|
-
}), (url, base = '') => `${base.indexOf('\n') > -1 ? base.replace(/\n+/g, '') : base}\n${url}`, new
|
|
1941
|
+
}), (url, base = '') => `${base.indexOf('\n') > -1 ? base.replace(/\n+/g, '') : base}\n${url}`, new tlru_1.TLRU(10000));
|
|
2661
1942
|
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
2662
1943
|
append(name, value) {
|
|
2663
1944
|
this.sort();
|
|
@@ -2681,7 +1962,7 @@ class ReadonlyURLSearchParams extends URLSearchParams {
|
|
|
2681
1962
|
|
|
2682
1963
|
/***/ }),
|
|
2683
1964
|
|
|
2684
|
-
/***/
|
|
1965
|
+
/***/ 7436:
|
|
2685
1966
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2686
1967
|
|
|
2687
1968
|
"use strict";
|
|
@@ -2709,34 +1990,34 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
|
2709
1990
|
Object.defineProperty(exports, "__esModule", ({
|
|
2710
1991
|
value: true
|
|
2711
1992
|
}));
|
|
2712
|
-
__exportStar(__webpack_require__(
|
|
2713
|
-
__exportStar(__webpack_require__(
|
|
2714
|
-
__exportStar(__webpack_require__(
|
|
2715
|
-
__exportStar(__webpack_require__(
|
|
2716
|
-
__exportStar(__webpack_require__(
|
|
2717
|
-
__exportStar(__webpack_require__(
|
|
2718
|
-
__exportStar(__webpack_require__(
|
|
2719
|
-
__exportStar(__webpack_require__(
|
|
2720
|
-
__exportStar(__webpack_require__(
|
|
2721
|
-
__exportStar(__webpack_require__(
|
|
2722
|
-
__exportStar(__webpack_require__(
|
|
2723
|
-
__exportStar(__webpack_require__(
|
|
2724
|
-
__exportStar(__webpack_require__(
|
|
2725
|
-
__exportStar(__webpack_require__(
|
|
2726
|
-
__exportStar(__webpack_require__(
|
|
2727
|
-
__exportStar(__webpack_require__(
|
|
2728
|
-
__exportStar(__webpack_require__(
|
|
2729
|
-
__exportStar(__webpack_require__(
|
|
2730
|
-
__exportStar(__webpack_require__(
|
|
2731
|
-
__exportStar(__webpack_require__(
|
|
2732
|
-
__exportStar(__webpack_require__(
|
|
2733
|
-
__exportStar(__webpack_require__(
|
|
2734
|
-
__exportStar(__webpack_require__(
|
|
2735
|
-
__exportStar(__webpack_require__(
|
|
2736
|
-
|
|
2737
|
-
/***/ }),
|
|
2738
|
-
|
|
2739
|
-
/***/
|
|
1993
|
+
__exportStar(__webpack_require__(8340), exports);
|
|
1994
|
+
__exportStar(__webpack_require__(9400), exports);
|
|
1995
|
+
__exportStar(__webpack_require__(5512), exports);
|
|
1996
|
+
__exportStar(__webpack_require__(6096), exports);
|
|
1997
|
+
__exportStar(__webpack_require__(272), exports);
|
|
1998
|
+
__exportStar(__webpack_require__(5456), exports);
|
|
1999
|
+
__exportStar(__webpack_require__(9976), exports);
|
|
2000
|
+
__exportStar(__webpack_require__(3948), exports);
|
|
2001
|
+
__exportStar(__webpack_require__(6480), exports);
|
|
2002
|
+
__exportStar(__webpack_require__(4720), exports);
|
|
2003
|
+
__exportStar(__webpack_require__(5896), exports);
|
|
2004
|
+
__exportStar(__webpack_require__(3121), exports);
|
|
2005
|
+
__exportStar(__webpack_require__(7176), exports);
|
|
2006
|
+
__exportStar(__webpack_require__(3424), exports);
|
|
2007
|
+
__exportStar(__webpack_require__(9104), exports);
|
|
2008
|
+
__exportStar(__webpack_require__(1864), exports);
|
|
2009
|
+
__exportStar(__webpack_require__(336), exports);
|
|
2010
|
+
__exportStar(__webpack_require__(9664), exports);
|
|
2011
|
+
__exportStar(__webpack_require__(6216), exports);
|
|
2012
|
+
__exportStar(__webpack_require__(4304), exports);
|
|
2013
|
+
__exportStar(__webpack_require__(7944), exports);
|
|
2014
|
+
__exportStar(__webpack_require__(8280), exports);
|
|
2015
|
+
__exportStar(__webpack_require__(8328), exports);
|
|
2016
|
+
__exportStar(__webpack_require__(6032), exports);
|
|
2017
|
+
|
|
2018
|
+
/***/ }),
|
|
2019
|
+
|
|
2020
|
+
/***/ 3948:
|
|
2740
2021
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2741
2022
|
|
|
2742
2023
|
"use strict";
|
|
@@ -2746,8 +2027,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2746
2027
|
value: true
|
|
2747
2028
|
}));
|
|
2748
2029
|
exports.block = void 0;
|
|
2749
|
-
const parser_1 = __webpack_require__(
|
|
2750
|
-
const line_1 = __webpack_require__(
|
|
2030
|
+
const parser_1 = __webpack_require__(3232);
|
|
2031
|
+
const line_1 = __webpack_require__(6480);
|
|
2751
2032
|
function block(parser, separation = true) {
|
|
2752
2033
|
return ({
|
|
2753
2034
|
source,
|
|
@@ -2768,7 +2049,7 @@ exports.block = block;
|
|
|
2768
2049
|
|
|
2769
2050
|
/***/ }),
|
|
2770
2051
|
|
|
2771
|
-
/***/
|
|
2052
|
+
/***/ 4720:
|
|
2772
2053
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2773
2054
|
|
|
2774
2055
|
"use strict";
|
|
@@ -2778,8 +2059,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2778
2059
|
value: true
|
|
2779
2060
|
}));
|
|
2780
2061
|
exports.verify = exports.validate = void 0;
|
|
2781
|
-
const alias_1 = __webpack_require__(
|
|
2782
|
-
const parser_1 = __webpack_require__(
|
|
2062
|
+
const alias_1 = __webpack_require__(5807);
|
|
2063
|
+
const parser_1 = __webpack_require__(3232);
|
|
2783
2064
|
function validate(patterns, has, parser) {
|
|
2784
2065
|
if (typeof has === 'function') return validate(patterns, '', has);
|
|
2785
2066
|
if (!(0, alias_1.isArray)(patterns)) return validate([patterns], has, parser);
|
|
@@ -2818,7 +2099,7 @@ exports.verify = verify;
|
|
|
2818
2099
|
|
|
2819
2100
|
/***/ }),
|
|
2820
2101
|
|
|
2821
|
-
/***/
|
|
2102
|
+
/***/ 6480:
|
|
2822
2103
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2823
2104
|
|
|
2824
2105
|
"use strict";
|
|
@@ -2828,7 +2109,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2828
2109
|
value: true
|
|
2829
2110
|
}));
|
|
2830
2111
|
exports.isBlank = exports.firstline = exports.line = void 0;
|
|
2831
|
-
const parser_1 = __webpack_require__(
|
|
2112
|
+
const parser_1 = __webpack_require__(3232);
|
|
2832
2113
|
function line(parser) {
|
|
2833
2114
|
return ({
|
|
2834
2115
|
source,
|
|
@@ -2867,7 +2148,7 @@ exports.isBlank = isBlank;
|
|
|
2867
2148
|
|
|
2868
2149
|
/***/ }),
|
|
2869
2150
|
|
|
2870
|
-
/***/
|
|
2151
|
+
/***/ 1864:
|
|
2871
2152
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2872
2153
|
|
|
2873
2154
|
"use strict";
|
|
@@ -2877,8 +2158,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2877
2158
|
value: true
|
|
2878
2159
|
}));
|
|
2879
2160
|
exports.convert = void 0;
|
|
2880
|
-
const parser_1 = __webpack_require__(
|
|
2881
|
-
const alias_1 = __webpack_require__(
|
|
2161
|
+
const parser_1 = __webpack_require__(3232);
|
|
2162
|
+
const alias_1 = __webpack_require__(5807);
|
|
2882
2163
|
function convert(conv, parser, empty = false) {
|
|
2883
2164
|
return ({
|
|
2884
2165
|
source,
|
|
@@ -2902,7 +2183,7 @@ exports.convert = convert;
|
|
|
2902
2183
|
|
|
2903
2184
|
/***/ }),
|
|
2904
2185
|
|
|
2905
|
-
/***/
|
|
2186
|
+
/***/ 9664:
|
|
2906
2187
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2907
2188
|
|
|
2908
2189
|
"use strict";
|
|
@@ -2912,7 +2193,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2912
2193
|
value: true
|
|
2913
2194
|
}));
|
|
2914
2195
|
exports.dup = void 0;
|
|
2915
|
-
const fmap_1 = __webpack_require__(
|
|
2196
|
+
const fmap_1 = __webpack_require__(8328);
|
|
2916
2197
|
function dup(parser) {
|
|
2917
2198
|
return (0, fmap_1.fmap)(parser, nodes => [nodes]);
|
|
2918
2199
|
}
|
|
@@ -2920,7 +2201,7 @@ exports.dup = dup;
|
|
|
2920
2201
|
|
|
2921
2202
|
/***/ }),
|
|
2922
2203
|
|
|
2923
|
-
/***/
|
|
2204
|
+
/***/ 4304:
|
|
2924
2205
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2925
2206
|
|
|
2926
2207
|
"use strict";
|
|
@@ -2930,7 +2211,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2930
2211
|
value: true
|
|
2931
2212
|
}));
|
|
2932
2213
|
exports.fallback = void 0;
|
|
2933
|
-
const union_1 = __webpack_require__(
|
|
2214
|
+
const union_1 = __webpack_require__(8340);
|
|
2934
2215
|
function fallback(parser, otherwise) {
|
|
2935
2216
|
return (0, union_1.union)([parser, otherwise]);
|
|
2936
2217
|
}
|
|
@@ -2938,7 +2219,7 @@ exports.fallback = fallback;
|
|
|
2938
2219
|
|
|
2939
2220
|
/***/ }),
|
|
2940
2221
|
|
|
2941
|
-
/***/
|
|
2222
|
+
/***/ 5896:
|
|
2942
2223
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2943
2224
|
|
|
2944
2225
|
"use strict";
|
|
@@ -2948,8 +2229,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2948
2229
|
value: true
|
|
2949
2230
|
}));
|
|
2950
2231
|
exports.fence = void 0;
|
|
2951
|
-
const line_1 = __webpack_require__(
|
|
2952
|
-
const array_1 = __webpack_require__(
|
|
2232
|
+
const line_1 = __webpack_require__(6480);
|
|
2233
|
+
const array_1 = __webpack_require__(8980);
|
|
2953
2234
|
function fence(opener, limit, separation = true) {
|
|
2954
2235
|
return ({
|
|
2955
2236
|
source
|
|
@@ -2996,7 +2277,7 @@ exports.fence = fence;
|
|
|
2996
2277
|
|
|
2997
2278
|
/***/ }),
|
|
2998
2279
|
|
|
2999
|
-
/***/
|
|
2280
|
+
/***/ 3121:
|
|
3000
2281
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3001
2282
|
|
|
3002
2283
|
"use strict";
|
|
@@ -3006,14 +2287,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3006
2287
|
value: true
|
|
3007
2288
|
}));
|
|
3008
2289
|
exports.indent = void 0;
|
|
3009
|
-
const parser_1 = __webpack_require__(
|
|
3010
|
-
const some_1 = __webpack_require__(
|
|
3011
|
-
const block_1 = __webpack_require__(
|
|
3012
|
-
const line_1 = __webpack_require__(
|
|
3013
|
-
const bind_1 = __webpack_require__(
|
|
3014
|
-
const match_1 = __webpack_require__(
|
|
3015
|
-
const surround_1 = __webpack_require__(
|
|
3016
|
-
const memoize_1 = __webpack_require__(
|
|
2290
|
+
const parser_1 = __webpack_require__(3232);
|
|
2291
|
+
const some_1 = __webpack_require__(5456);
|
|
2292
|
+
const block_1 = __webpack_require__(3948);
|
|
2293
|
+
const line_1 = __webpack_require__(6480);
|
|
2294
|
+
const bind_1 = __webpack_require__(6032);
|
|
2295
|
+
const match_1 = __webpack_require__(9104);
|
|
2296
|
+
const surround_1 = __webpack_require__(3424);
|
|
2297
|
+
const memoize_1 = __webpack_require__(276);
|
|
3017
2298
|
function indent(opener, parser, separation = false) {
|
|
3018
2299
|
if (typeof opener === 'function') return indent(/^([ \t])\1*/, opener, parser);
|
|
3019
2300
|
return (0, bind_1.bind)((0, block_1.block)((0, match_1.match)(opener, (0, memoize_1.memoize)(([indent]) => (0, some_1.some)((0, line_1.line)((0, surround_1.open)(indent, ({
|
|
@@ -3037,7 +2318,7 @@ function trimBlockEnd(block) {
|
|
|
3037
2318
|
|
|
3038
2319
|
/***/ }),
|
|
3039
2320
|
|
|
3040
|
-
/***/
|
|
2321
|
+
/***/ 8280:
|
|
3041
2322
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3042
2323
|
|
|
3043
2324
|
"use strict";
|
|
@@ -3055,7 +2336,7 @@ exports.lazy = lazy;
|
|
|
3055
2336
|
|
|
3056
2337
|
/***/ }),
|
|
3057
2338
|
|
|
3058
|
-
/***/
|
|
2339
|
+
/***/ 9104:
|
|
3059
2340
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3060
2341
|
|
|
3061
2342
|
"use strict";
|
|
@@ -3065,7 +2346,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3065
2346
|
value: true
|
|
3066
2347
|
}));
|
|
3067
2348
|
exports.match = void 0;
|
|
3068
|
-
const parser_1 = __webpack_require__(
|
|
2349
|
+
const parser_1 = __webpack_require__(3232);
|
|
3069
2350
|
function match(pattern, f) {
|
|
3070
2351
|
return ({
|
|
3071
2352
|
source,
|
|
@@ -3086,7 +2367,7 @@ exports.match = match;
|
|
|
3086
2367
|
|
|
3087
2368
|
/***/ }),
|
|
3088
2369
|
|
|
3089
|
-
/***/
|
|
2370
|
+
/***/ 7944:
|
|
3090
2371
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3091
2372
|
|
|
3092
2373
|
"use strict";
|
|
@@ -3109,7 +2390,7 @@ exports.recover = recover;
|
|
|
3109
2390
|
|
|
3110
2391
|
/***/ }),
|
|
3111
2392
|
|
|
3112
|
-
/***/
|
|
2393
|
+
/***/ 6216:
|
|
3113
2394
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3114
2395
|
|
|
3115
2396
|
"use strict";
|
|
@@ -3119,7 +2400,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3119
2400
|
value: true
|
|
3120
2401
|
}));
|
|
3121
2402
|
exports.reverse = void 0;
|
|
3122
|
-
const fmap_1 = __webpack_require__(
|
|
2403
|
+
const fmap_1 = __webpack_require__(8328);
|
|
3123
2404
|
function reverse(parser) {
|
|
3124
2405
|
return (0, fmap_1.fmap)(parser, nodes => nodes.reverse());
|
|
3125
2406
|
}
|
|
@@ -3127,7 +2408,7 @@ exports.reverse = reverse;
|
|
|
3127
2408
|
|
|
3128
2409
|
/***/ }),
|
|
3129
2410
|
|
|
3130
|
-
/***/
|
|
2411
|
+
/***/ 7176:
|
|
3131
2412
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3132
2413
|
|
|
3133
2414
|
"use strict";
|
|
@@ -3137,7 +2418,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3137
2418
|
value: true
|
|
3138
2419
|
}));
|
|
3139
2420
|
exports.rewrite = exports.focus = void 0;
|
|
3140
|
-
const parser_1 = __webpack_require__(
|
|
2421
|
+
const parser_1 = __webpack_require__(3232);
|
|
3141
2422
|
function focus(scope, parser) {
|
|
3142
2423
|
const match = typeof scope === 'string' ? source => source.slice(0, scope.length) === scope ? scope : '' : source => source.match(scope)?.[0] ?? '';
|
|
3143
2424
|
return ({
|
|
@@ -3191,7 +2472,7 @@ exports.rewrite = rewrite;
|
|
|
3191
2472
|
|
|
3192
2473
|
/***/ }),
|
|
3193
2474
|
|
|
3194
|
-
/***/
|
|
2475
|
+
/***/ 3424:
|
|
3195
2476
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3196
2477
|
|
|
3197
2478
|
"use strict";
|
|
@@ -3201,9 +2482,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3201
2482
|
value: true
|
|
3202
2483
|
}));
|
|
3203
2484
|
exports.clear = exports.close = exports.open = exports.surround = void 0;
|
|
3204
|
-
const parser_1 = __webpack_require__(
|
|
3205
|
-
const fmap_1 = __webpack_require__(
|
|
3206
|
-
const array_1 = __webpack_require__(
|
|
2485
|
+
const parser_1 = __webpack_require__(3232);
|
|
2486
|
+
const fmap_1 = __webpack_require__(8328);
|
|
2487
|
+
const array_1 = __webpack_require__(8980);
|
|
3207
2488
|
function surround(opener, parser, closer, optional = false, f, g) {
|
|
3208
2489
|
switch (typeof opener) {
|
|
3209
2490
|
case 'string':
|
|
@@ -3276,7 +2557,7 @@ exports.clear = clear;
|
|
|
3276
2557
|
|
|
3277
2558
|
/***/ }),
|
|
3278
2559
|
|
|
3279
|
-
/***/
|
|
2560
|
+
/***/ 336:
|
|
3280
2561
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3281
2562
|
|
|
3282
2563
|
"use strict";
|
|
@@ -3286,7 +2567,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3286
2567
|
value: true
|
|
3287
2568
|
}));
|
|
3288
2569
|
exports.trimEnd = exports.trimStart = exports.trim = void 0;
|
|
3289
|
-
const convert_1 = __webpack_require__(
|
|
2570
|
+
const convert_1 = __webpack_require__(1864);
|
|
3290
2571
|
function trim(parser) {
|
|
3291
2572
|
return (0, convert_1.convert)(source => source.trim(), parser);
|
|
3292
2573
|
}
|
|
@@ -3302,7 +2583,7 @@ exports.trimEnd = trimEnd;
|
|
|
3302
2583
|
|
|
3303
2584
|
/***/ }),
|
|
3304
2585
|
|
|
3305
|
-
/***/
|
|
2586
|
+
/***/ 6032:
|
|
3306
2587
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3307
2588
|
|
|
3308
2589
|
"use strict";
|
|
@@ -3312,7 +2593,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3312
2593
|
value: true
|
|
3313
2594
|
}));
|
|
3314
2595
|
exports.bind = void 0;
|
|
3315
|
-
const parser_1 = __webpack_require__(
|
|
2596
|
+
const parser_1 = __webpack_require__(3232);
|
|
3316
2597
|
function bind(parser, f) {
|
|
3317
2598
|
return ({
|
|
3318
2599
|
source,
|
|
@@ -3333,7 +2614,7 @@ exports.bind = bind;
|
|
|
3333
2614
|
|
|
3334
2615
|
/***/ }),
|
|
3335
2616
|
|
|
3336
|
-
/***/
|
|
2617
|
+
/***/ 8328:
|
|
3337
2618
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3338
2619
|
|
|
3339
2620
|
"use strict";
|
|
@@ -3343,7 +2624,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3343
2624
|
value: true
|
|
3344
2625
|
}));
|
|
3345
2626
|
exports.fmap = void 0;
|
|
3346
|
-
const bind_1 = __webpack_require__(
|
|
2627
|
+
const bind_1 = __webpack_require__(6032);
|
|
3347
2628
|
function fmap(parser, f) {
|
|
3348
2629
|
return (0, bind_1.bind)(parser, (nodes, rest, context) => [f(nodes, rest, context), rest]);
|
|
3349
2630
|
}
|
|
@@ -3351,7 +2632,7 @@ exports.fmap = fmap;
|
|
|
3351
2632
|
|
|
3352
2633
|
/***/ }),
|
|
3353
2634
|
|
|
3354
|
-
/***/
|
|
2635
|
+
/***/ 3232:
|
|
3355
2636
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3356
2637
|
|
|
3357
2638
|
"use strict";
|
|
@@ -3376,7 +2657,7 @@ exports.check = check;
|
|
|
3376
2657
|
|
|
3377
2658
|
/***/ }),
|
|
3378
2659
|
|
|
3379
|
-
/***/
|
|
2660
|
+
/***/ 9976:
|
|
3380
2661
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3381
2662
|
|
|
3382
2663
|
"use strict";
|
|
@@ -3386,9 +2667,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3386
2667
|
value: true
|
|
3387
2668
|
}));
|
|
3388
2669
|
exports.state = exports.constraint = exports.guard = exports.precedence = exports.creation = exports.syntax = exports.context = exports.reset = void 0;
|
|
3389
|
-
const alias_1 = __webpack_require__(
|
|
3390
|
-
const parser_1 = __webpack_require__(
|
|
3391
|
-
const memo_1 = __webpack_require__(
|
|
2670
|
+
const alias_1 = __webpack_require__(5807);
|
|
2671
|
+
const parser_1 = __webpack_require__(3232);
|
|
2672
|
+
const memo_1 = __webpack_require__(6660);
|
|
3392
2673
|
function reset(base, parser) {
|
|
3393
2674
|
const changes = Object.entries(base);
|
|
3394
2675
|
const values = Array(changes.length);
|
|
@@ -3569,7 +2850,7 @@ exports.state = state;
|
|
|
3569
2850
|
|
|
3570
2851
|
/***/ }),
|
|
3571
2852
|
|
|
3572
|
-
/***/
|
|
2853
|
+
/***/ 7252:
|
|
3573
2854
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3574
2855
|
|
|
3575
2856
|
"use strict";
|
|
@@ -3580,7 +2861,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3580
2861
|
value: true
|
|
3581
2862
|
}));
|
|
3582
2863
|
exports.Delimiters = void 0;
|
|
3583
|
-
const memoize_1 = __webpack_require__(
|
|
2864
|
+
const memoize_1 = __webpack_require__(276);
|
|
3584
2865
|
class Delimiters {
|
|
3585
2866
|
constructor() {
|
|
3586
2867
|
this.registry = (0, memoize_1.memoize)(() => []);
|
|
@@ -3679,7 +2960,7 @@ Delimiters.matcher = (0, memoize_1.memoize)(pattern => {
|
|
|
3679
2960
|
|
|
3680
2961
|
/***/ }),
|
|
3681
2962
|
|
|
3682
|
-
/***/
|
|
2963
|
+
/***/ 6660:
|
|
3683
2964
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3684
2965
|
|
|
3685
2966
|
"use strict";
|
|
@@ -3711,7 +2992,6 @@ class Memo {
|
|
|
3711
2992
|
(record[syntax] ??= {})[state] = nodes ? [nodes.slice(), offset] : [];
|
|
3712
2993
|
//console.log('set', position, syntax, state, record[syntax]?.[state]);
|
|
3713
2994
|
}
|
|
3714
|
-
|
|
3715
2995
|
resize(position) {
|
|
3716
2996
|
const memory = this.memory;
|
|
3717
2997
|
for (let i = memory.length; i > position; --i) {
|
|
@@ -3719,7 +2999,6 @@ class Memo {
|
|
|
3719
2999
|
}
|
|
3720
3000
|
//console.log('resize', position + 1);
|
|
3721
3001
|
}
|
|
3722
|
-
|
|
3723
3002
|
clear() {
|
|
3724
3003
|
this.memory = [];
|
|
3725
3004
|
this.count = 0;
|
|
@@ -3729,7 +3008,7 @@ exports.Memo = Memo;
|
|
|
3729
3008
|
|
|
3730
3009
|
/***/ }),
|
|
3731
3010
|
|
|
3732
|
-
/***/
|
|
3011
|
+
/***/ 9400:
|
|
3733
3012
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3734
3013
|
|
|
3735
3014
|
"use strict";
|
|
@@ -3739,8 +3018,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3739
3018
|
value: true
|
|
3740
3019
|
}));
|
|
3741
3020
|
exports.inits = void 0;
|
|
3742
|
-
const parser_1 = __webpack_require__(
|
|
3743
|
-
const array_1 = __webpack_require__(
|
|
3021
|
+
const parser_1 = __webpack_require__(3232);
|
|
3022
|
+
const array_1 = __webpack_require__(8980);
|
|
3744
3023
|
function inits(parsers, resume) {
|
|
3745
3024
|
if (parsers.length === 1) return parsers[0];
|
|
3746
3025
|
return ({
|
|
@@ -3768,7 +3047,7 @@ exports.inits = inits;
|
|
|
3768
3047
|
|
|
3769
3048
|
/***/ }),
|
|
3770
3049
|
|
|
3771
|
-
/***/
|
|
3050
|
+
/***/ 6096:
|
|
3772
3051
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3773
3052
|
|
|
3774
3053
|
"use strict";
|
|
@@ -3778,8 +3057,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3778
3057
|
value: true
|
|
3779
3058
|
}));
|
|
3780
3059
|
exports.sequence = void 0;
|
|
3781
|
-
const parser_1 = __webpack_require__(
|
|
3782
|
-
const array_1 = __webpack_require__(
|
|
3060
|
+
const parser_1 = __webpack_require__(3232);
|
|
3061
|
+
const array_1 = __webpack_require__(8980);
|
|
3783
3062
|
function sequence(parsers, resume) {
|
|
3784
3063
|
if (parsers.length === 1) return parsers[0];
|
|
3785
3064
|
return ({
|
|
@@ -3807,7 +3086,7 @@ exports.sequence = sequence;
|
|
|
3807
3086
|
|
|
3808
3087
|
/***/ }),
|
|
3809
3088
|
|
|
3810
|
-
/***/
|
|
3089
|
+
/***/ 5456:
|
|
3811
3090
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3812
3091
|
|
|
3813
3092
|
"use strict";
|
|
@@ -3817,9 +3096,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3817
3096
|
value: true
|
|
3818
3097
|
}));
|
|
3819
3098
|
exports.some = void 0;
|
|
3820
|
-
const parser_1 = __webpack_require__(
|
|
3821
|
-
const delimiter_1 = __webpack_require__(
|
|
3822
|
-
const array_1 = __webpack_require__(
|
|
3099
|
+
const parser_1 = __webpack_require__(3232);
|
|
3100
|
+
const delimiter_1 = __webpack_require__(7252);
|
|
3101
|
+
const array_1 = __webpack_require__(8980);
|
|
3823
3102
|
function some(parser, end, delimiters = [], limit = -1) {
|
|
3824
3103
|
if (typeof end === 'number') return some(parser, undefined, delimiters, end);
|
|
3825
3104
|
const match = delimiter_1.Delimiters.matcher(end);
|
|
@@ -3862,7 +3141,7 @@ exports.some = some;
|
|
|
3862
3141
|
|
|
3863
3142
|
/***/ }),
|
|
3864
3143
|
|
|
3865
|
-
/***/
|
|
3144
|
+
/***/ 272:
|
|
3866
3145
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3867
3146
|
|
|
3868
3147
|
"use strict";
|
|
@@ -3872,8 +3151,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3872
3151
|
value: true
|
|
3873
3152
|
}));
|
|
3874
3153
|
exports.subsequence = void 0;
|
|
3875
|
-
const union_1 = __webpack_require__(
|
|
3876
|
-
const inits_1 = __webpack_require__(
|
|
3154
|
+
const union_1 = __webpack_require__(8340);
|
|
3155
|
+
const inits_1 = __webpack_require__(9400);
|
|
3877
3156
|
function subsequence(parsers, resume) {
|
|
3878
3157
|
return (0, union_1.union)(parsers.map((_, i) => i + 1 < parsers.length ? (0, inits_1.inits)([parsers[i], subsequence(parsers.slice(i + 1), resume)], resume) : parsers[i]));
|
|
3879
3158
|
}
|
|
@@ -3881,7 +3160,7 @@ exports.subsequence = subsequence;
|
|
|
3881
3160
|
|
|
3882
3161
|
/***/ }),
|
|
3883
3162
|
|
|
3884
|
-
/***/
|
|
3163
|
+
/***/ 5512:
|
|
3885
3164
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3886
3165
|
|
|
3887
3166
|
"use strict";
|
|
@@ -3891,8 +3170,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3891
3170
|
value: true
|
|
3892
3171
|
}));
|
|
3893
3172
|
exports.tails = void 0;
|
|
3894
|
-
const union_1 = __webpack_require__(
|
|
3895
|
-
const sequence_1 = __webpack_require__(
|
|
3173
|
+
const union_1 = __webpack_require__(8340);
|
|
3174
|
+
const sequence_1 = __webpack_require__(6096);
|
|
3896
3175
|
function tails(parsers, resume) {
|
|
3897
3176
|
return (0, union_1.union)(parsers.map((_, i) => (0, sequence_1.sequence)(parsers.slice(i), resume)));
|
|
3898
3177
|
}
|
|
@@ -3900,7 +3179,7 @@ exports.tails = tails;
|
|
|
3900
3179
|
|
|
3901
3180
|
/***/ }),
|
|
3902
3181
|
|
|
3903
|
-
/***/
|
|
3182
|
+
/***/ 8340:
|
|
3904
3183
|
/***/ ((__unused_webpack_module, exports) => {
|
|
3905
3184
|
|
|
3906
3185
|
"use strict";
|
|
@@ -3924,7 +3203,7 @@ exports.union = union;
|
|
|
3924
3203
|
|
|
3925
3204
|
/***/ }),
|
|
3926
3205
|
|
|
3927
|
-
/***/
|
|
3206
|
+
/***/ 8112:
|
|
3928
3207
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3929
3208
|
|
|
3930
3209
|
"use strict";
|
|
@@ -3952,11 +3231,11 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
|
3952
3231
|
Object.defineProperty(exports, "__esModule", ({
|
|
3953
3232
|
value: true
|
|
3954
3233
|
}));
|
|
3955
|
-
__exportStar(__webpack_require__(
|
|
3234
|
+
__exportStar(__webpack_require__(6104), exports);
|
|
3956
3235
|
|
|
3957
3236
|
/***/ }),
|
|
3958
3237
|
|
|
3959
|
-
/***/
|
|
3238
|
+
/***/ 6104:
|
|
3960
3239
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
3961
3240
|
|
|
3962
3241
|
"use strict";
|
|
@@ -3966,28 +3245,28 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
3966
3245
|
value: true
|
|
3967
3246
|
}));
|
|
3968
3247
|
exports.normalize = exports.body = exports.headers = exports.header = exports.caches = exports.bind = exports.parse = void 0;
|
|
3969
|
-
var parse_1 = __webpack_require__(
|
|
3248
|
+
var parse_1 = __webpack_require__(2244);
|
|
3970
3249
|
Object.defineProperty(exports, "parse", ({
|
|
3971
3250
|
enumerable: true,
|
|
3972
3251
|
get: function () {
|
|
3973
3252
|
return parse_1.parse;
|
|
3974
3253
|
}
|
|
3975
3254
|
}));
|
|
3976
|
-
var bind_1 = __webpack_require__(
|
|
3255
|
+
var bind_1 = __webpack_require__(5492);
|
|
3977
3256
|
Object.defineProperty(exports, "bind", ({
|
|
3978
3257
|
enumerable: true,
|
|
3979
3258
|
get: function () {
|
|
3980
3259
|
return bind_1.bind;
|
|
3981
3260
|
}
|
|
3982
3261
|
}));
|
|
3983
|
-
var cache_1 = __webpack_require__(
|
|
3262
|
+
var cache_1 = __webpack_require__(3380);
|
|
3984
3263
|
Object.defineProperty(exports, "caches", ({
|
|
3985
3264
|
enumerable: true,
|
|
3986
3265
|
get: function () {
|
|
3987
3266
|
return cache_1.caches;
|
|
3988
3267
|
}
|
|
3989
3268
|
}));
|
|
3990
|
-
var header_1 = __webpack_require__(
|
|
3269
|
+
var header_1 = __webpack_require__(6308);
|
|
3991
3270
|
Object.defineProperty(exports, "header", ({
|
|
3992
3271
|
enumerable: true,
|
|
3993
3272
|
get: function () {
|
|
@@ -4000,14 +3279,14 @@ Object.defineProperty(exports, "headers", ({
|
|
|
4000
3279
|
return header_1.headers;
|
|
4001
3280
|
}
|
|
4002
3281
|
}));
|
|
4003
|
-
var body_1 = __webpack_require__(
|
|
3282
|
+
var body_1 = __webpack_require__(2172);
|
|
4004
3283
|
Object.defineProperty(exports, "body", ({
|
|
4005
3284
|
enumerable: true,
|
|
4006
3285
|
get: function () {
|
|
4007
3286
|
return body_1.body;
|
|
4008
3287
|
}
|
|
4009
3288
|
}));
|
|
4010
|
-
var normalize_1 = __webpack_require__(
|
|
3289
|
+
var normalize_1 = __webpack_require__(9588);
|
|
4011
3290
|
Object.defineProperty(exports, "normalize", ({
|
|
4012
3291
|
enumerable: true,
|
|
4013
3292
|
get: function () {
|
|
@@ -4017,7 +3296,7 @@ Object.defineProperty(exports, "normalize", ({
|
|
|
4017
3296
|
|
|
4018
3297
|
/***/ }),
|
|
4019
3298
|
|
|
4020
|
-
/***/
|
|
3299
|
+
/***/ 5492:
|
|
4021
3300
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4022
3301
|
|
|
4023
3302
|
"use strict";
|
|
@@ -4027,16 +3306,16 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4027
3306
|
value: true
|
|
4028
3307
|
}));
|
|
4029
3308
|
exports.bind = void 0;
|
|
4030
|
-
const parser_1 = __webpack_require__(
|
|
4031
|
-
const segment_1 = __webpack_require__(
|
|
4032
|
-
const header_1 = __webpack_require__(
|
|
4033
|
-
const block_1 = __webpack_require__(
|
|
4034
|
-
const normalize_1 = __webpack_require__(
|
|
4035
|
-
const header_2 = __webpack_require__(
|
|
4036
|
-
const figure_1 = __webpack_require__(
|
|
4037
|
-
const note_1 = __webpack_require__(
|
|
4038
|
-
const url_1 = __webpack_require__(
|
|
4039
|
-
const array_1 = __webpack_require__(
|
|
3309
|
+
const parser_1 = __webpack_require__(3232);
|
|
3310
|
+
const segment_1 = __webpack_require__(1284);
|
|
3311
|
+
const header_1 = __webpack_require__(540);
|
|
3312
|
+
const block_1 = __webpack_require__(9372);
|
|
3313
|
+
const normalize_1 = __webpack_require__(9588);
|
|
3314
|
+
const header_2 = __webpack_require__(6308);
|
|
3315
|
+
const figure_1 = __webpack_require__(5712);
|
|
3316
|
+
const note_1 = __webpack_require__(6992);
|
|
3317
|
+
const url_1 = __webpack_require__(3800);
|
|
3318
|
+
const array_1 = __webpack_require__(8980);
|
|
4040
3319
|
function bind(target, settings) {
|
|
4041
3320
|
let context = {
|
|
4042
3321
|
...settings,
|
|
@@ -4194,7 +3473,7 @@ exports.bind = bind;
|
|
|
4194
3473
|
|
|
4195
3474
|
/***/ }),
|
|
4196
3475
|
|
|
4197
|
-
/***/
|
|
3476
|
+
/***/ 2172:
|
|
4198
3477
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4199
3478
|
|
|
4200
3479
|
"use strict";
|
|
@@ -4204,7 +3483,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4204
3483
|
value: true
|
|
4205
3484
|
}));
|
|
4206
3485
|
exports.body = void 0;
|
|
4207
|
-
const header_1 = __webpack_require__(
|
|
3486
|
+
const header_1 = __webpack_require__(6308);
|
|
4208
3487
|
function body(source) {
|
|
4209
3488
|
return source.slice((0, header_1.header)(source).length);
|
|
4210
3489
|
}
|
|
@@ -4212,7 +3491,7 @@ exports.body = body;
|
|
|
4212
3491
|
|
|
4213
3492
|
/***/ }),
|
|
4214
3493
|
|
|
4215
|
-
/***/
|
|
3494
|
+
/***/ 3380:
|
|
4216
3495
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4217
3496
|
|
|
4218
3497
|
"use strict";
|
|
@@ -4222,18 +3501,34 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4222
3501
|
value: true
|
|
4223
3502
|
}));
|
|
4224
3503
|
exports.caches = void 0;
|
|
4225
|
-
const
|
|
4226
|
-
const
|
|
3504
|
+
const clock_1 = __webpack_require__(7124);
|
|
3505
|
+
const tlru_1 = __webpack_require__(1900);
|
|
4227
3506
|
// For rerendering in editing.
|
|
3507
|
+
/*
|
|
3508
|
+
同一文書内で複数回使用される可能性が低いデータ: Clock
|
|
3509
|
+
同一文書内で複数回使用される可能性が高いデータ: TLRU
|
|
3510
|
+
|
|
3511
|
+
編集時の再描画高速化が主目的であるためブロックを周期とするループおよび
|
|
3512
|
+
異なるブロックへのジャンプに適したアルゴリズムを使用。
|
|
3513
|
+
キャッシュサイズはブロック内の全データをキャッシュできなければならない。
|
|
3514
|
+
キャッシュサイズは100あれば足りるが10,000までは速度低下しないようなので
|
|
3515
|
+
データサイズを加味して100から1,000とする。
|
|
3516
|
+
遠くで少数の同じデータを高速描画してもあまり意味はない。
|
|
3517
|
+
タイムラインとスレッドのmediaにおいても多数の同一データが長周期で複数回表示
|
|
3518
|
+
される適切な状況はないと思われる。
|
|
3519
|
+
同一投稿は頻繁に再送されてはならずスパムは削除されなければならず
|
|
3520
|
+
ジャーゴンは考慮に値しない。
|
|
3521
|
+
|
|
3522
|
+
*/
|
|
4228
3523
|
exports.caches = {
|
|
4229
3524
|
code: new clock_1.Clock(1000),
|
|
4230
|
-
math: new
|
|
3525
|
+
math: new tlru_1.TLRU(1000),
|
|
4231
3526
|
media: new clock_1.Clock(100)
|
|
4232
3527
|
};
|
|
4233
3528
|
|
|
4234
3529
|
/***/ }),
|
|
4235
3530
|
|
|
4236
|
-
/***/
|
|
3531
|
+
/***/ 6308:
|
|
4237
3532
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4238
3533
|
|
|
4239
3534
|
"use strict";
|
|
@@ -4243,8 +3538,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4243
3538
|
value: true
|
|
4244
3539
|
}));
|
|
4245
3540
|
exports.headers = exports.header = void 0;
|
|
4246
|
-
const parser_1 = __webpack_require__(
|
|
4247
|
-
const header_1 = __webpack_require__(
|
|
3541
|
+
const parser_1 = __webpack_require__(3232);
|
|
3542
|
+
const header_1 = __webpack_require__(540);
|
|
4248
3543
|
function header(source) {
|
|
4249
3544
|
const [, rest = source] = parse(source);
|
|
4250
3545
|
return source.slice(0, source.length - rest.length);
|
|
@@ -4266,7 +3561,7 @@ function parse(source) {
|
|
|
4266
3561
|
|
|
4267
3562
|
/***/ }),
|
|
4268
3563
|
|
|
4269
|
-
/***/
|
|
3564
|
+
/***/ 9588:
|
|
4270
3565
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4271
3566
|
|
|
4272
3567
|
"use strict";
|
|
@@ -4276,8 +3571,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4276
3571
|
value: true
|
|
4277
3572
|
}));
|
|
4278
3573
|
exports.escape = exports.invisibleHTMLEntityNames = exports.normalize = void 0;
|
|
4279
|
-
const parser_1 = __webpack_require__(
|
|
4280
|
-
const htmlentity_1 = __webpack_require__(
|
|
3574
|
+
const parser_1 = __webpack_require__(3232);
|
|
3575
|
+
const htmlentity_1 = __webpack_require__(3740);
|
|
4281
3576
|
const UNICODE_REPLACEMENT_CHARACTER = '\uFFFD';
|
|
4282
3577
|
function normalize(source) {
|
|
4283
3578
|
return sanitize(format(source));
|
|
@@ -4338,7 +3633,7 @@ exports.escape = escape;
|
|
|
4338
3633
|
|
|
4339
3634
|
/***/ }),
|
|
4340
3635
|
|
|
4341
|
-
/***/
|
|
3636
|
+
/***/ 2244:
|
|
4342
3637
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4343
3638
|
|
|
4344
3639
|
"use strict";
|
|
@@ -4348,16 +3643,16 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4348
3643
|
value: true
|
|
4349
3644
|
}));
|
|
4350
3645
|
exports.parse = void 0;
|
|
4351
|
-
const parser_1 = __webpack_require__(
|
|
4352
|
-
const segment_1 = __webpack_require__(
|
|
4353
|
-
const header_1 = __webpack_require__(
|
|
4354
|
-
const block_1 = __webpack_require__(
|
|
4355
|
-
const normalize_1 = __webpack_require__(
|
|
4356
|
-
const header_2 = __webpack_require__(
|
|
4357
|
-
const figure_1 = __webpack_require__(
|
|
4358
|
-
const note_1 = __webpack_require__(
|
|
4359
|
-
const url_1 = __webpack_require__(
|
|
4360
|
-
const dom_1 = __webpack_require__(
|
|
3646
|
+
const parser_1 = __webpack_require__(3232);
|
|
3647
|
+
const segment_1 = __webpack_require__(1284);
|
|
3648
|
+
const header_1 = __webpack_require__(540);
|
|
3649
|
+
const block_1 = __webpack_require__(9372);
|
|
3650
|
+
const normalize_1 = __webpack_require__(9588);
|
|
3651
|
+
const header_2 = __webpack_require__(6308);
|
|
3652
|
+
const figure_1 = __webpack_require__(5712);
|
|
3653
|
+
const note_1 = __webpack_require__(6992);
|
|
3654
|
+
const url_1 = __webpack_require__(3800);
|
|
3655
|
+
const dom_1 = __webpack_require__(8200);
|
|
4361
3656
|
function parse(source, opts = {}, context) {
|
|
4362
3657
|
if (!(0, segment_1.validate)(source, segment_1.MAX_SEGMENT_SIZE)) throw new Error(`Too large input over ${segment_1.MAX_SEGMENT_SIZE.toLocaleString('en')} bytes`);
|
|
4363
3658
|
const url = (0, header_2.headers)(source).find(field => field.toLowerCase().startsWith('url:'))?.slice(4).trim() ?? '';
|
|
@@ -4393,7 +3688,7 @@ exports.parse = parse;
|
|
|
4393
3688
|
|
|
4394
3689
|
/***/ }),
|
|
4395
3690
|
|
|
4396
|
-
/***/
|
|
3691
|
+
/***/ 5244:
|
|
4397
3692
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4398
3693
|
|
|
4399
3694
|
"use strict";
|
|
@@ -4403,14 +3698,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4403
3698
|
value: true
|
|
4404
3699
|
}));
|
|
4405
3700
|
exports.autolink = void 0;
|
|
4406
|
-
const combinator_1 = __webpack_require__(
|
|
4407
|
-
const autolink_1 = __webpack_require__(
|
|
4408
|
-
const source_1 = __webpack_require__(
|
|
3701
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3702
|
+
const autolink_1 = __webpack_require__(2044);
|
|
3703
|
+
const source_1 = __webpack_require__(4856);
|
|
4409
3704
|
exports.autolink = (0, combinator_1.lazy)(() => (0, combinator_1.convert)(source => `\r${source}`, (0, combinator_1.some)((0, combinator_1.union)([autolink_1.autolink, source_1.linebreak, source_1.unescsource]))));
|
|
4410
3705
|
|
|
4411
3706
|
/***/ }),
|
|
4412
3707
|
|
|
4413
|
-
/***/
|
|
3708
|
+
/***/ 9372:
|
|
4414
3709
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4415
3710
|
|
|
4416
3711
|
"use strict";
|
|
@@ -4420,26 +3715,26 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4420
3715
|
value: true
|
|
4421
3716
|
}));
|
|
4422
3717
|
exports.block = void 0;
|
|
4423
|
-
const combinator_1 = __webpack_require__(
|
|
4424
|
-
const memo_1 = __webpack_require__(
|
|
4425
|
-
const source_1 = __webpack_require__(
|
|
4426
|
-
const pagebreak_1 = __webpack_require__(
|
|
4427
|
-
const heading_1 = __webpack_require__(
|
|
4428
|
-
const ulist_1 = __webpack_require__(
|
|
4429
|
-
const olist_1 = __webpack_require__(
|
|
4430
|
-
const ilist_1 = __webpack_require__(
|
|
4431
|
-
const dlist_1 = __webpack_require__(
|
|
4432
|
-
const table_1 = __webpack_require__(
|
|
4433
|
-
const codeblock_1 = __webpack_require__(
|
|
4434
|
-
const mathblock_1 = __webpack_require__(
|
|
4435
|
-
const extension_1 = __webpack_require__(
|
|
4436
|
-
const sidefence_1 = __webpack_require__(
|
|
4437
|
-
const blockquote_1 = __webpack_require__(
|
|
4438
|
-
const mediablock_1 = __webpack_require__(
|
|
4439
|
-
const reply_1 = __webpack_require__(
|
|
4440
|
-
const paragraph_1 = __webpack_require__(
|
|
4441
|
-
const random_1 = __webpack_require__(
|
|
4442
|
-
const dom_1 = __webpack_require__(
|
|
3718
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3719
|
+
const memo_1 = __webpack_require__(6660);
|
|
3720
|
+
const source_1 = __webpack_require__(4856);
|
|
3721
|
+
const pagebreak_1 = __webpack_require__(4904);
|
|
3722
|
+
const heading_1 = __webpack_require__(6700);
|
|
3723
|
+
const ulist_1 = __webpack_require__(4788);
|
|
3724
|
+
const olist_1 = __webpack_require__(9585);
|
|
3725
|
+
const ilist_1 = __webpack_require__(6688);
|
|
3726
|
+
const dlist_1 = __webpack_require__(9708);
|
|
3727
|
+
const table_1 = __webpack_require__(5068);
|
|
3728
|
+
const codeblock_1 = __webpack_require__(8912);
|
|
3729
|
+
const mathblock_1 = __webpack_require__(8748);
|
|
3730
|
+
const extension_1 = __webpack_require__(9536);
|
|
3731
|
+
const sidefence_1 = __webpack_require__(2208);
|
|
3732
|
+
const blockquote_1 = __webpack_require__(9848);
|
|
3733
|
+
const mediablock_1 = __webpack_require__(468);
|
|
3734
|
+
const reply_1 = __webpack_require__(8452);
|
|
3735
|
+
const paragraph_1 = __webpack_require__(4740);
|
|
3736
|
+
const random_1 = __webpack_require__(72);
|
|
3737
|
+
const dom_1 = __webpack_require__(8200);
|
|
4443
3738
|
exports.block = (0, combinator_1.creation)(0, false, (0, combinator_1.reset)({
|
|
4444
3739
|
resources: {
|
|
4445
3740
|
clock: 20000,
|
|
@@ -4468,7 +3763,7 @@ function error(parser) {
|
|
|
4468
3763
|
|
|
4469
3764
|
/***/ }),
|
|
4470
3765
|
|
|
4471
|
-
/***/
|
|
3766
|
+
/***/ 9848:
|
|
4472
3767
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4473
3768
|
|
|
4474
3769
|
"use strict";
|
|
@@ -4478,11 +3773,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4478
3773
|
value: true
|
|
4479
3774
|
}));
|
|
4480
3775
|
exports.blockquote = exports.segment = void 0;
|
|
4481
|
-
const combinator_1 = __webpack_require__(
|
|
4482
|
-
const autolink_1 = __webpack_require__(
|
|
4483
|
-
const source_1 = __webpack_require__(
|
|
4484
|
-
const parse_1 = __webpack_require__(
|
|
4485
|
-
const dom_1 = __webpack_require__(
|
|
3776
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3777
|
+
const autolink_1 = __webpack_require__(5244);
|
|
3778
|
+
const source_1 = __webpack_require__(4856);
|
|
3779
|
+
const parse_1 = __webpack_require__(2244);
|
|
3780
|
+
const dom_1 = __webpack_require__(8200);
|
|
4486
3781
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)(['!>', '>'], (0, combinator_1.union)([(0, combinator_1.validate)(/^!?>+(?=[^\S\n]|\n[^\S\n]*\S)/, (0, combinator_1.some)(source_1.contentline))])));
|
|
4487
3782
|
exports.blockquote = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.rewrite)(exports.segment, (0, combinator_1.union)([(0, combinator_1.open)(/^(?=>)/, source), (0, combinator_1.open)(/^!(?=>)/, markdown)]))));
|
|
4488
3783
|
const opener = /^(?=>>+(?:$|\s))/;
|
|
@@ -4507,7 +3802,7 @@ const markdown = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combina
|
|
|
4507
3802
|
|
|
4508
3803
|
/***/ }),
|
|
4509
3804
|
|
|
4510
|
-
/***/
|
|
3805
|
+
/***/ 8912:
|
|
4511
3806
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4512
3807
|
|
|
4513
3808
|
"use strict";
|
|
@@ -4517,10 +3812,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4517
3812
|
value: true
|
|
4518
3813
|
}));
|
|
4519
3814
|
exports.codeblock = exports.segment_ = exports.segment = void 0;
|
|
4520
|
-
const parser_1 = __webpack_require__(
|
|
4521
|
-
const combinator_1 = __webpack_require__(
|
|
4522
|
-
const autolink_1 = __webpack_require__(
|
|
4523
|
-
const dom_1 = __webpack_require__(
|
|
3815
|
+
const parser_1 = __webpack_require__(3232);
|
|
3816
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3817
|
+
const autolink_1 = __webpack_require__(5244);
|
|
3818
|
+
const dom_1 = __webpack_require__(8200);
|
|
4524
3819
|
const opener = /^(`{3,})(?!`)([^\n]*)(?:$|\n)/;
|
|
4525
3820
|
const language = /^[0-9a-z]+(?:-[a-z][0-9a-z]*)*$/i;
|
|
4526
3821
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('```', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300))));
|
|
@@ -4570,7 +3865,7 @@ exports.codeblock = (0, combinator_1.block)((0, combinator_1.validate)('```', (0
|
|
|
4570
3865
|
|
|
4571
3866
|
/***/ }),
|
|
4572
3867
|
|
|
4573
|
-
/***/
|
|
3868
|
+
/***/ 9708:
|
|
4574
3869
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4575
3870
|
|
|
4576
3871
|
"use strict";
|
|
@@ -4580,13 +3875,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4580
3875
|
value: true
|
|
4581
3876
|
}));
|
|
4582
3877
|
exports.dlist = void 0;
|
|
4583
|
-
const combinator_1 = __webpack_require__(
|
|
4584
|
-
const inline_1 = __webpack_require__(
|
|
4585
|
-
const source_1 = __webpack_require__(
|
|
4586
|
-
const util_1 = __webpack_require__(
|
|
4587
|
-
const visibility_1 = __webpack_require__(
|
|
4588
|
-
const array_1 = __webpack_require__(
|
|
4589
|
-
const dom_1 = __webpack_require__(
|
|
3878
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3879
|
+
const inline_1 = __webpack_require__(2716);
|
|
3880
|
+
const source_1 = __webpack_require__(4856);
|
|
3881
|
+
const util_1 = __webpack_require__(9224);
|
|
3882
|
+
const visibility_1 = __webpack_require__(5424);
|
|
3883
|
+
const array_1 = __webpack_require__(8980);
|
|
3884
|
+
const dom_1 = __webpack_require__(8200);
|
|
4590
3885
|
exports.dlist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^~[^\S\n]+(?=\S)/, (0, combinator_1.some)((0, combinator_1.inits)([(0, combinator_1.state)(256 /* State.annotation */ | 128 /* State.reference */ | 64 /* State.index */ | 32 /* State.label */ | 16 /* State.link */ | 8 /* State.media */, (0, combinator_1.some)(term)), (0, combinator_1.some)(desc)]))), es => [(0, dom_1.html)('dl', fillTrailingDescription(es))])));
|
|
4591
3886
|
const term = (0, combinator_1.creation)(1, false, (0, combinator_1.line)((0, inline_1.indexee)((0, combinator_1.fmap)((0, combinator_1.open)(/^~[^\S\n]+(?=\S)/, (0, visibility_1.visualize)((0, visibility_1.trimBlankStart)((0, combinator_1.some)((0, combinator_1.union)([inline_1.indexer, inline_1.inline])))), true), ns => [(0, dom_1.html)('dt', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]))));
|
|
4592
3887
|
const desc = (0, combinator_1.creation)(1, false, (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.open)(/^:[^\S\n]+(?=\S)|/, (0, combinator_1.rewrite)((0, combinator_1.some)(source_1.anyline, /^[~:][^\S\n]+\S/), (0, visibility_1.visualize)((0, util_1.lineable)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]))))), true), ns => [(0, dom_1.html)('dd', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]), false));
|
|
@@ -4596,7 +3891,7 @@ function fillTrailingDescription(es) {
|
|
|
4596
3891
|
|
|
4597
3892
|
/***/ }),
|
|
4598
3893
|
|
|
4599
|
-
/***/
|
|
3894
|
+
/***/ 9536:
|
|
4600
3895
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4601
3896
|
|
|
4602
3897
|
"use strict";
|
|
@@ -4606,21 +3901,21 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4606
3901
|
value: true
|
|
4607
3902
|
}));
|
|
4608
3903
|
exports.extension = exports.segment = void 0;
|
|
4609
|
-
const combinator_1 = __webpack_require__(
|
|
4610
|
-
const figbase_1 = __webpack_require__(
|
|
4611
|
-
const fig_1 = __webpack_require__(
|
|
4612
|
-
const figure_1 = __webpack_require__(
|
|
4613
|
-
const table_1 = __webpack_require__(
|
|
4614
|
-
const message_1 = __webpack_require__(
|
|
4615
|
-
const aside_1 = __webpack_require__(
|
|
4616
|
-
const example_1 = __webpack_require__(
|
|
4617
|
-
const placeholder_1 = __webpack_require__(
|
|
3904
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3905
|
+
const figbase_1 = __webpack_require__(8828);
|
|
3906
|
+
const fig_1 = __webpack_require__(8180);
|
|
3907
|
+
const figure_1 = __webpack_require__(2443);
|
|
3908
|
+
const table_1 = __webpack_require__(4280);
|
|
3909
|
+
const message_1 = __webpack_require__(2080);
|
|
3910
|
+
const aside_1 = __webpack_require__(5351);
|
|
3911
|
+
const example_1 = __webpack_require__(5072);
|
|
3912
|
+
const placeholder_1 = __webpack_require__(5704);
|
|
4618
3913
|
exports.segment = (0, combinator_1.validate)(['~~~', '[$', '$'], (0, combinator_1.validate)(/^~{3,}|^\[?\$[A-Za-z-]\S+[^\S\n]*(?:$|\n)/, (0, combinator_1.union)([fig_1.segment, figure_1.segment, table_1.segment, placeholder_1.segment])));
|
|
4619
3914
|
exports.extension = (0, combinator_1.union)([figbase_1.figbase, fig_1.fig, figure_1.figure, table_1.table, message_1.message, aside_1.aside, example_1.example, placeholder_1.placeholder]);
|
|
4620
3915
|
|
|
4621
3916
|
/***/ }),
|
|
4622
3917
|
|
|
4623
|
-
/***/
|
|
3918
|
+
/***/ 5351:
|
|
4624
3919
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4625
3920
|
|
|
4626
3921
|
"use strict";
|
|
@@ -4630,10 +3925,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4630
3925
|
value: true
|
|
4631
3926
|
}));
|
|
4632
3927
|
exports.aside = void 0;
|
|
4633
|
-
const combinator_1 = __webpack_require__(
|
|
4634
|
-
const indexee_1 = __webpack_require__(
|
|
4635
|
-
const parse_1 = __webpack_require__(
|
|
4636
|
-
const dom_1 = __webpack_require__(
|
|
3928
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3929
|
+
const indexee_1 = __webpack_require__(5688);
|
|
3930
|
+
const parse_1 = __webpack_require__(2244);
|
|
3931
|
+
const dom_1 = __webpack_require__(8200);
|
|
4637
3932
|
exports.aside = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.fmap)((0, combinator_1.fence)(/^(~{3,})aside(?!\S)([^\n]*)(?:$|\n)/, 300),
|
|
4638
3933
|
// Bug: Type mismatch between outer and inner.
|
|
4639
3934
|
([body, overflow, closer, opener, delim, param], _, context) => {
|
|
@@ -4669,7 +3964,7 @@ exports.aside = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, co
|
|
|
4669
3964
|
|
|
4670
3965
|
/***/ }),
|
|
4671
3966
|
|
|
4672
|
-
/***/
|
|
3967
|
+
/***/ 5072:
|
|
4673
3968
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4674
3969
|
|
|
4675
3970
|
"use strict";
|
|
@@ -4679,11 +3974,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4679
3974
|
value: true
|
|
4680
3975
|
}));
|
|
4681
3976
|
exports.example = void 0;
|
|
4682
|
-
const parser_1 = __webpack_require__(
|
|
4683
|
-
const combinator_1 = __webpack_require__(
|
|
4684
|
-
const parse_1 = __webpack_require__(
|
|
4685
|
-
const mathblock_1 = __webpack_require__(
|
|
4686
|
-
const dom_1 = __webpack_require__(
|
|
3977
|
+
const parser_1 = __webpack_require__(3232);
|
|
3978
|
+
const combinator_1 = __webpack_require__(7436);
|
|
3979
|
+
const parse_1 = __webpack_require__(2244);
|
|
3980
|
+
const mathblock_1 = __webpack_require__(8748);
|
|
3981
|
+
const dom_1 = __webpack_require__(8200);
|
|
4687
3982
|
const opener = /^(~{3,})(?:example\/(\S+))?(?!\S)([^\n]*)(?:$|\n)/;
|
|
4688
3983
|
exports.example = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.fmap)((0, combinator_1.fence)(opener, 300),
|
|
4689
3984
|
// Bug: Type mismatch between outer and inner.
|
|
@@ -4737,7 +4032,7 @@ exports.example = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0,
|
|
|
4737
4032
|
|
|
4738
4033
|
/***/ }),
|
|
4739
4034
|
|
|
4740
|
-
/***/
|
|
4035
|
+
/***/ 8180:
|
|
4741
4036
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4742
4037
|
|
|
4743
4038
|
"use strict";
|
|
@@ -4747,16 +4042,16 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4747
4042
|
value: true
|
|
4748
4043
|
}));
|
|
4749
4044
|
exports.fig = exports.segment = void 0;
|
|
4750
|
-
const combinator_1 = __webpack_require__(
|
|
4751
|
-
const source_1 = __webpack_require__(
|
|
4752
|
-
const figure_1 = __webpack_require__(
|
|
4753
|
-
const label_1 = __webpack_require__(
|
|
4754
|
-
const codeblock_1 = __webpack_require__(
|
|
4755
|
-
const mathblock_1 = __webpack_require__(
|
|
4756
|
-
const table_1 = __webpack_require__(
|
|
4757
|
-
const blockquote_1 = __webpack_require__(
|
|
4758
|
-
const placeholder_1 = __webpack_require__(
|
|
4759
|
-
const inline_1 = __webpack_require__(
|
|
4045
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4046
|
+
const source_1 = __webpack_require__(4856);
|
|
4047
|
+
const figure_1 = __webpack_require__(2443);
|
|
4048
|
+
const label_1 = __webpack_require__(3640);
|
|
4049
|
+
const codeblock_1 = __webpack_require__(8912);
|
|
4050
|
+
const mathblock_1 = __webpack_require__(8748);
|
|
4051
|
+
const table_1 = __webpack_require__(4280);
|
|
4052
|
+
const blockquote_1 = __webpack_require__(9848);
|
|
4053
|
+
const placeholder_1 = __webpack_require__(5704);
|
|
4054
|
+
const inline_1 = __webpack_require__(2716);
|
|
4760
4055
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)(['[$', '$'], (0, combinator_1.sequence)([(0, combinator_1.line)((0, combinator_1.close)(label_1.segment, /^(?=\s).*\n/)), (0, combinator_1.union)([codeblock_1.segment, mathblock_1.segment, table_1.segment, blockquote_1.segment, placeholder_1.segment, (0, combinator_1.some)(source_1.contentline)])])));
|
|
4761
4056
|
exports.fig = (0, combinator_1.block)((0, combinator_1.rewrite)(exports.segment, (0, combinator_1.verify)((0, combinator_1.convert)((source, context) => {
|
|
4762
4057
|
// Bug: TypeScript
|
|
@@ -4770,7 +4065,7 @@ const parser = (0, combinator_1.sequence)([(0, combinator_1.line)((0, combinator
|
|
|
4770
4065
|
|
|
4771
4066
|
/***/ }),
|
|
4772
4067
|
|
|
4773
|
-
/***/
|
|
4068
|
+
/***/ 8828:
|
|
4774
4069
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4775
4070
|
|
|
4776
4071
|
"use strict";
|
|
@@ -4780,9 +4075,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4780
4075
|
value: true
|
|
4781
4076
|
}));
|
|
4782
4077
|
exports.figbase = void 0;
|
|
4783
|
-
const combinator_1 = __webpack_require__(
|
|
4784
|
-
const label_1 = __webpack_require__(
|
|
4785
|
-
const dom_1 = __webpack_require__(
|
|
4078
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4079
|
+
const label_1 = __webpack_require__(3640);
|
|
4080
|
+
const dom_1 = __webpack_require__(8200);
|
|
4786
4081
|
exports.figbase = (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^\[?\$-(?:[0-9]+\.)*0\]?[^\S\n]*(?!\S|\n[^\S\n]*\S)/, (0, combinator_1.line)((0, combinator_1.union)([label_1.label]))), ([el]) => {
|
|
4787
4082
|
const label = el.getAttribute('data-label');
|
|
4788
4083
|
const group = label.split('-', 1)[0];
|
|
@@ -4795,7 +4090,7 @@ exports.figbase = (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_
|
|
|
4795
4090
|
|
|
4796
4091
|
/***/ }),
|
|
4797
4092
|
|
|
4798
|
-
/***/
|
|
4093
|
+
/***/ 2443:
|
|
4799
4094
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4800
4095
|
|
|
4801
4096
|
"use strict";
|
|
@@ -4805,22 +4100,22 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4805
4100
|
value: true
|
|
4806
4101
|
}));
|
|
4807
4102
|
exports.figure = exports.segment = void 0;
|
|
4808
|
-
const combinator_1 = __webpack_require__(
|
|
4809
|
-
const source_1 = __webpack_require__(
|
|
4810
|
-
const label_1 = __webpack_require__(
|
|
4811
|
-
const ulist_1 = __webpack_require__(
|
|
4812
|
-
const olist_1 = __webpack_require__(
|
|
4813
|
-
const table_1 = __webpack_require__(
|
|
4814
|
-
const codeblock_1 = __webpack_require__(
|
|
4815
|
-
const mathblock_1 = __webpack_require__(
|
|
4816
|
-
const example_1 = __webpack_require__(
|
|
4817
|
-
const table_2 = __webpack_require__(
|
|
4818
|
-
const blockquote_1 = __webpack_require__(
|
|
4819
|
-
const placeholder_1 = __webpack_require__(
|
|
4820
|
-
const inline_1 = __webpack_require__(
|
|
4821
|
-
const visibility_1 = __webpack_require__(
|
|
4822
|
-
const memoize_1 = __webpack_require__(
|
|
4823
|
-
const dom_1 = __webpack_require__(
|
|
4103
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4104
|
+
const source_1 = __webpack_require__(4856);
|
|
4105
|
+
const label_1 = __webpack_require__(3640);
|
|
4106
|
+
const ulist_1 = __webpack_require__(4788);
|
|
4107
|
+
const olist_1 = __webpack_require__(9585);
|
|
4108
|
+
const table_1 = __webpack_require__(5068);
|
|
4109
|
+
const codeblock_1 = __webpack_require__(8912);
|
|
4110
|
+
const mathblock_1 = __webpack_require__(8748);
|
|
4111
|
+
const example_1 = __webpack_require__(5072);
|
|
4112
|
+
const table_2 = __webpack_require__(4280);
|
|
4113
|
+
const blockquote_1 = __webpack_require__(9848);
|
|
4114
|
+
const placeholder_1 = __webpack_require__(5704);
|
|
4115
|
+
const inline_1 = __webpack_require__(2716);
|
|
4116
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4117
|
+
const memoize_1 = __webpack_require__(276);
|
|
4118
|
+
const dom_1 = __webpack_require__(8200);
|
|
4824
4119
|
exports.segment = (0, combinator_1.block)((0, combinator_1.match)(/^(~{3,})(?:figure[^\S\n])?(?=\[?\$)/, (0, memoize_1.memoize)(([, fence], closer = new RegExp(String.raw`^${fence}[^\S\n]*(?:$|\n)`)) => (0, combinator_1.close)((0, combinator_1.sequence)([source_1.contentline, (0, combinator_1.inits)([
|
|
4825
4120
|
// All parsers which can include closing terms.
|
|
4826
4121
|
(0, combinator_1.union)([codeblock_1.segment_, mathblock_1.segment_, table_2.segment_, blockquote_1.segment, placeholder_1.segment_, (0, combinator_1.some)(source_1.contentline, closer)]), source_1.emptyline, (0, combinator_1.union)([source_1.emptyline, (0, combinator_1.some)(source_1.contentline, closer)])])]), closer), ([, fence]) => fence.length, {})));
|
|
@@ -4923,7 +4218,7 @@ function attributes(label, param, content, caption) {
|
|
|
4923
4218
|
|
|
4924
4219
|
/***/ }),
|
|
4925
4220
|
|
|
4926
|
-
/***/
|
|
4221
|
+
/***/ 2080:
|
|
4927
4222
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4928
4223
|
|
|
4929
4224
|
"use strict";
|
|
@@ -4933,22 +4228,22 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
4933
4228
|
value: true
|
|
4934
4229
|
}));
|
|
4935
4230
|
exports.message = void 0;
|
|
4936
|
-
const parser_1 = __webpack_require__(
|
|
4937
|
-
const combinator_1 = __webpack_require__(
|
|
4938
|
-
const segment_1 = __webpack_require__(
|
|
4939
|
-
const source_1 = __webpack_require__(
|
|
4940
|
-
const ulist_1 = __webpack_require__(
|
|
4941
|
-
const olist_1 = __webpack_require__(
|
|
4942
|
-
const ilist_1 = __webpack_require__(
|
|
4943
|
-
const table_1 = __webpack_require__(
|
|
4944
|
-
const codeblock_1 = __webpack_require__(
|
|
4945
|
-
const mathblock_1 = __webpack_require__(
|
|
4946
|
-
const sidefence_1 = __webpack_require__(
|
|
4947
|
-
const blockquote_1 = __webpack_require__(
|
|
4948
|
-
const mediablock_1 = __webpack_require__(
|
|
4949
|
-
const paragraph_1 = __webpack_require__(
|
|
4950
|
-
const array_1 = __webpack_require__(
|
|
4951
|
-
const dom_1 = __webpack_require__(
|
|
4231
|
+
const parser_1 = __webpack_require__(3232);
|
|
4232
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4233
|
+
const segment_1 = __webpack_require__(1284);
|
|
4234
|
+
const source_1 = __webpack_require__(4856);
|
|
4235
|
+
const ulist_1 = __webpack_require__(4788);
|
|
4236
|
+
const olist_1 = __webpack_require__(9585);
|
|
4237
|
+
const ilist_1 = __webpack_require__(6688);
|
|
4238
|
+
const table_1 = __webpack_require__(5068);
|
|
4239
|
+
const codeblock_1 = __webpack_require__(8912);
|
|
4240
|
+
const mathblock_1 = __webpack_require__(8748);
|
|
4241
|
+
const sidefence_1 = __webpack_require__(2208);
|
|
4242
|
+
const blockquote_1 = __webpack_require__(9848);
|
|
4243
|
+
const mediablock_1 = __webpack_require__(468);
|
|
4244
|
+
const paragraph_1 = __webpack_require__(4740);
|
|
4245
|
+
const array_1 = __webpack_require__(8980);
|
|
4246
|
+
const dom_1 = __webpack_require__(8200);
|
|
4952
4247
|
exports.message = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.fmap)((0, combinator_1.fence)(/^(~{3,})message\/(\S+)([^\n]*)(?:$|\n)/, 300),
|
|
4953
4248
|
// Bug: Type mismatch between outer and inner.
|
|
4954
4249
|
([body, overflow, closer, opener, delim, type, param], _, context) => {
|
|
@@ -4996,7 +4291,7 @@ const content = (0, combinator_1.union)([source_1.emptyline, ulist_1.ulist, olis
|
|
|
4996
4291
|
|
|
4997
4292
|
/***/ }),
|
|
4998
4293
|
|
|
4999
|
-
/***/
|
|
4294
|
+
/***/ 5704:
|
|
5000
4295
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5001
4296
|
|
|
5002
4297
|
"use strict";
|
|
@@ -5006,8 +4301,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5006
4301
|
value: true
|
|
5007
4302
|
}));
|
|
5008
4303
|
exports.placeholder = exports.segment_ = exports.segment = void 0;
|
|
5009
|
-
const combinator_1 = __webpack_require__(
|
|
5010
|
-
const dom_1 = __webpack_require__(
|
|
4304
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4305
|
+
const dom_1 = __webpack_require__(8200);
|
|
5011
4306
|
const opener = /^(~{3,})(?!~)[^\n]*(?:$|\n)/;
|
|
5012
4307
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300))));
|
|
5013
4308
|
exports.segment_ = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300, false))), false);
|
|
@@ -5019,7 +4314,7 @@ exports.placeholder = (0, combinator_1.block)((0, combinator_1.validate)('~~~',
|
|
|
5019
4314
|
|
|
5020
4315
|
/***/ }),
|
|
5021
4316
|
|
|
5022
|
-
/***/
|
|
4317
|
+
/***/ 4280:
|
|
5023
4318
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5024
4319
|
|
|
5025
4320
|
"use strict";
|
|
@@ -5029,15 +4324,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5029
4324
|
value: true
|
|
5030
4325
|
}));
|
|
5031
4326
|
exports.table = exports.segment_ = exports.segment = void 0;
|
|
5032
|
-
const alias_1 = __webpack_require__(
|
|
5033
|
-
const parser_1 = __webpack_require__(
|
|
5034
|
-
const combinator_1 = __webpack_require__(
|
|
5035
|
-
const inline_1 = __webpack_require__(
|
|
5036
|
-
const source_1 = __webpack_require__(
|
|
5037
|
-
const util_1 = __webpack_require__(
|
|
5038
|
-
const visibility_1 = __webpack_require__(
|
|
5039
|
-
const array_1 = __webpack_require__(
|
|
5040
|
-
const dom_1 = __webpack_require__(
|
|
4327
|
+
const alias_1 = __webpack_require__(5807);
|
|
4328
|
+
const parser_1 = __webpack_require__(3232);
|
|
4329
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4330
|
+
const inline_1 = __webpack_require__(2716);
|
|
4331
|
+
const source_1 = __webpack_require__(4856);
|
|
4332
|
+
const util_1 = __webpack_require__(9224);
|
|
4333
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4334
|
+
const array_1 = __webpack_require__(8980);
|
|
4335
|
+
const dom_1 = __webpack_require__(8200);
|
|
5041
4336
|
const opener = /^(~{3,})table(?:\/(\S+))?(?!\S)([^\n]*)(?:$|\n)/;
|
|
5042
4337
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 10000))));
|
|
5043
4338
|
exports.segment_ = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 10000, false))), false);
|
|
@@ -5285,7 +4580,7 @@ function format(rows) {
|
|
|
5285
4580
|
|
|
5286
4581
|
/***/ }),
|
|
5287
4582
|
|
|
5288
|
-
/***/
|
|
4583
|
+
/***/ 6700:
|
|
5289
4584
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5290
4585
|
|
|
5291
4586
|
"use strict";
|
|
@@ -5295,11 +4590,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5295
4590
|
value: true
|
|
5296
4591
|
}));
|
|
5297
4592
|
exports.heading = exports.segment = void 0;
|
|
5298
|
-
const combinator_1 = __webpack_require__(
|
|
5299
|
-
const inline_1 = __webpack_require__(
|
|
5300
|
-
const source_1 = __webpack_require__(
|
|
5301
|
-
const visibility_1 = __webpack_require__(
|
|
5302
|
-
const dom_1 = __webpack_require__(
|
|
4593
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4594
|
+
const inline_1 = __webpack_require__(2716);
|
|
4595
|
+
const source_1 = __webpack_require__(4856);
|
|
4596
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4597
|
+
const dom_1 = __webpack_require__(8200);
|
|
5303
4598
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('#', (0, combinator_1.focus)(/^#+[^\S\n]+\S[^\n]*(?:\n#+(?!\S)[^\n]*)*(?:$|\n)/, (0, combinator_1.some)((0, combinator_1.line)(({
|
|
5304
4599
|
source
|
|
5305
4600
|
}) => [[source], ''])))));
|
|
@@ -5312,7 +4607,7 @@ exports.heading = (0, combinator_1.block)((0, combinator_1.rewrite)(exports.segm
|
|
|
5312
4607
|
|
|
5313
4608
|
/***/ }),
|
|
5314
4609
|
|
|
5315
|
-
/***/
|
|
4610
|
+
/***/ 6688:
|
|
5316
4611
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5317
4612
|
|
|
5318
4613
|
"use strict";
|
|
@@ -5322,13 +4617,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5322
4617
|
value: true
|
|
5323
4618
|
}));
|
|
5324
4619
|
exports.ilist_ = exports.ilist = void 0;
|
|
5325
|
-
const combinator_1 = __webpack_require__(
|
|
5326
|
-
const ulist_1 = __webpack_require__(
|
|
5327
|
-
const olist_1 = __webpack_require__(
|
|
5328
|
-
const inline_1 = __webpack_require__(
|
|
5329
|
-
const util_1 = __webpack_require__(
|
|
5330
|
-
const visibility_1 = __webpack_require__(
|
|
5331
|
-
const dom_1 = __webpack_require__(
|
|
4620
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4621
|
+
const ulist_1 = __webpack_require__(4788);
|
|
4622
|
+
const olist_1 = __webpack_require__(9585);
|
|
4623
|
+
const inline_1 = __webpack_require__(2716);
|
|
4624
|
+
const util_1 = __webpack_require__(9224);
|
|
4625
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4626
|
+
const dom_1 = __webpack_require__(8200);
|
|
5332
4627
|
exports.ilist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.validate)(/^[-+*](?=[^\S\n]|\n[^\S\n]*\S)/, exports.ilist_)));
|
|
5333
4628
|
exports.ilist_ = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^[-+*](?:$|\s)/, (0, combinator_1.some)((0, combinator_1.creation)(1, false, (0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([(0, combinator_1.line)((0, combinator_1.open)(/^[-+*](?:$|\s)/, (0, combinator_1.trim)((0, visibility_1.visualize)((0, visibility_1.trimBlank)((0, util_1.lineable)((0, combinator_1.some)(inline_1.inline))))), true)), (0, combinator_1.indent)((0, combinator_1.union)([ulist_1.ulist_, olist_1.olist_, exports.ilist_]))]), ulist_1.invalid), ns => [(0, dom_1.html)('li', (0, dom_1.defrag)((0, ulist_1.fillFirstLine)(ns)))])])))), es => [(0, dom_1.html)('ul', {
|
|
5334
4629
|
class: 'invalid',
|
|
@@ -5339,7 +4634,7 @@ exports.ilist_ = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combin
|
|
|
5339
4634
|
|
|
5340
4635
|
/***/ }),
|
|
5341
4636
|
|
|
5342
|
-
/***/
|
|
4637
|
+
/***/ 8748:
|
|
5343
4638
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5344
4639
|
|
|
5345
4640
|
"use strict";
|
|
@@ -5349,8 +4644,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5349
4644
|
value: true
|
|
5350
4645
|
}));
|
|
5351
4646
|
exports.mathblock = exports.segment_ = exports.segment = void 0;
|
|
5352
|
-
const combinator_1 = __webpack_require__(
|
|
5353
|
-
const dom_1 = __webpack_require__(
|
|
4647
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4648
|
+
const dom_1 = __webpack_require__(8200);
|
|
5354
4649
|
const opener = /^(\${2,})(?!\$)([^\n]*)(?:$|\n)/;
|
|
5355
4650
|
exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('$$', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300))));
|
|
5356
4651
|
exports.segment_ = (0, combinator_1.block)((0, combinator_1.validate)('$$', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300, false))), false);
|
|
@@ -5373,7 +4668,7 @@ exports.mathblock = (0, combinator_1.block)((0, combinator_1.validate)('$$', (0,
|
|
|
5373
4668
|
|
|
5374
4669
|
/***/ }),
|
|
5375
4670
|
|
|
5376
|
-
/***/
|
|
4671
|
+
/***/ 468:
|
|
5377
4672
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5378
4673
|
|
|
5379
4674
|
"use strict";
|
|
@@ -5383,9 +4678,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5383
4678
|
value: true
|
|
5384
4679
|
}));
|
|
5385
4680
|
exports.mediablock = void 0;
|
|
5386
|
-
const combinator_1 = __webpack_require__(
|
|
5387
|
-
const inline_1 = __webpack_require__(
|
|
5388
|
-
const dom_1 = __webpack_require__(
|
|
4681
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4682
|
+
const inline_1 = __webpack_require__(2716);
|
|
4683
|
+
const dom_1 = __webpack_require__(8200);
|
|
5389
4684
|
exports.mediablock = (0, combinator_1.block)((0, combinator_1.validate)(['[!', '!'], (0, combinator_1.fmap)((0, combinator_1.inits)([(0, combinator_1.line)((0, combinator_1.union)([inline_1.medialink, inline_1.media, inline_1.shortmedia])), (0, combinator_1.some)((0, combinator_1.line)((0, combinator_1.fallback)((0, combinator_1.union)([inline_1.medialink, inline_1.media, inline_1.shortmedia]), ({
|
|
5390
4685
|
source
|
|
5391
4686
|
}) => [[(0, dom_1.html)('div', [(0, dom_1.html)('span', attrs, source.replace('\n', ''))])], ''])))]), ns => [(0, dom_1.html)('div', ns)])));
|
|
@@ -5398,7 +4693,7 @@ const attrs = {
|
|
|
5398
4693
|
|
|
5399
4694
|
/***/ }),
|
|
5400
4695
|
|
|
5401
|
-
/***/
|
|
4696
|
+
/***/ 9585:
|
|
5402
4697
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5403
4698
|
|
|
5404
4699
|
"use strict";
|
|
@@ -5408,14 +4703,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5408
4703
|
value: true
|
|
5409
4704
|
}));
|
|
5410
4705
|
exports.olist_ = exports.olist = void 0;
|
|
5411
|
-
const combinator_1 = __webpack_require__(
|
|
5412
|
-
const ulist_1 = __webpack_require__(
|
|
5413
|
-
const ilist_1 = __webpack_require__(
|
|
5414
|
-
const inline_1 = __webpack_require__(
|
|
5415
|
-
const util_1 = __webpack_require__(
|
|
5416
|
-
const visibility_1 = __webpack_require__(
|
|
5417
|
-
const memoize_1 = __webpack_require__(
|
|
5418
|
-
const dom_1 = __webpack_require__(
|
|
4706
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4707
|
+
const ulist_1 = __webpack_require__(4788);
|
|
4708
|
+
const ilist_1 = __webpack_require__(6688);
|
|
4709
|
+
const inline_1 = __webpack_require__(2716);
|
|
4710
|
+
const util_1 = __webpack_require__(9224);
|
|
4711
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4712
|
+
const memoize_1 = __webpack_require__(276);
|
|
4713
|
+
const dom_1 = __webpack_require__(8200);
|
|
5419
4714
|
const openers = {
|
|
5420
4715
|
'.': /^([0-9]+|[a-z]+|[A-Z]+)(?:-(?!-)[0-9]*)*(?![^\S\n])\.?(?:$|\s)/,
|
|
5421
4716
|
'(': /^\(([0-9]*|[a-z]*)(?![^)\n])\)?(?:-(?!-)[0-9]*)*(?:$|\s)/
|
|
@@ -5525,7 +4820,7 @@ function format(list, type, form) {
|
|
|
5525
4820
|
|
|
5526
4821
|
/***/ }),
|
|
5527
4822
|
|
|
5528
|
-
/***/
|
|
4823
|
+
/***/ 4904:
|
|
5529
4824
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5530
4825
|
|
|
5531
4826
|
"use strict";
|
|
@@ -5535,13 +4830,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5535
4830
|
value: true
|
|
5536
4831
|
}));
|
|
5537
4832
|
exports.pagebreak = void 0;
|
|
5538
|
-
const combinator_1 = __webpack_require__(
|
|
5539
|
-
const dom_1 = __webpack_require__(
|
|
4833
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4834
|
+
const dom_1 = __webpack_require__(8200);
|
|
5540
4835
|
exports.pagebreak = (0, combinator_1.block)((0, combinator_1.line)((0, combinator_1.focus)(/^={3,}[^\S\n]*(?:$|\n)/, () => [[(0, dom_1.html)('hr')], ''])));
|
|
5541
4836
|
|
|
5542
4837
|
/***/ }),
|
|
5543
4838
|
|
|
5544
|
-
/***/
|
|
4839
|
+
/***/ 4740:
|
|
5545
4840
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5546
4841
|
|
|
5547
4842
|
"use strict";
|
|
@@ -5551,16 +4846,16 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5551
4846
|
value: true
|
|
5552
4847
|
}));
|
|
5553
4848
|
exports.paragraph = void 0;
|
|
5554
|
-
const combinator_1 = __webpack_require__(
|
|
5555
|
-
const inline_1 = __webpack_require__(
|
|
5556
|
-
const util_1 = __webpack_require__(
|
|
5557
|
-
const visibility_1 = __webpack_require__(
|
|
5558
|
-
const dom_1 = __webpack_require__(
|
|
4849
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4850
|
+
const inline_1 = __webpack_require__(2716);
|
|
4851
|
+
const util_1 = __webpack_require__(9224);
|
|
4852
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4853
|
+
const dom_1 = __webpack_require__(8200);
|
|
5559
4854
|
exports.paragraph = (0, combinator_1.block)((0, combinator_1.fmap)((0, visibility_1.visualize)((0, util_1.lineable)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline])))), ns => [(0, dom_1.html)('p', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]));
|
|
5560
4855
|
|
|
5561
4856
|
/***/ }),
|
|
5562
4857
|
|
|
5563
|
-
/***/
|
|
4858
|
+
/***/ 8452:
|
|
5564
4859
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5565
4860
|
|
|
5566
4861
|
"use strict";
|
|
@@ -5570,15 +4865,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5570
4865
|
value: true
|
|
5571
4866
|
}));
|
|
5572
4867
|
exports.reply = void 0;
|
|
5573
|
-
const combinator_1 = __webpack_require__(
|
|
5574
|
-
const cite_1 = __webpack_require__(
|
|
5575
|
-
const quote_1 = __webpack_require__(
|
|
5576
|
-
const inline_1 = __webpack_require__(
|
|
5577
|
-
const source_1 = __webpack_require__(
|
|
5578
|
-
const util_1 = __webpack_require__(
|
|
5579
|
-
const visibility_1 = __webpack_require__(
|
|
5580
|
-
const array_1 = __webpack_require__(
|
|
5581
|
-
const dom_1 = __webpack_require__(
|
|
4868
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4869
|
+
const cite_1 = __webpack_require__(1632);
|
|
4870
|
+
const quote_1 = __webpack_require__(6423);
|
|
4871
|
+
const inline_1 = __webpack_require__(2716);
|
|
4872
|
+
const source_1 = __webpack_require__(4856);
|
|
4873
|
+
const util_1 = __webpack_require__(9224);
|
|
4874
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4875
|
+
const array_1 = __webpack_require__(8980);
|
|
4876
|
+
const dom_1 = __webpack_require__(8200);
|
|
5582
4877
|
/*
|
|
5583
4878
|
必ず対象指定から始まる
|
|
5584
4879
|
対象がページである場合>>.を表現方法とする
|
|
@@ -5589,7 +4884,7 @@ exports.reply = (0, combinator_1.block)((0, combinator_1.validate)('>', (0, comb
|
|
|
5589
4884
|
|
|
5590
4885
|
/***/ }),
|
|
5591
4886
|
|
|
5592
|
-
/***/
|
|
4887
|
+
/***/ 1632:
|
|
5593
4888
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5594
4889
|
|
|
5595
4890
|
"use strict";
|
|
@@ -5599,10 +4894,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5599
4894
|
value: true
|
|
5600
4895
|
}));
|
|
5601
4896
|
exports.cite = void 0;
|
|
5602
|
-
const combinator_1 = __webpack_require__(
|
|
5603
|
-
const anchor_1 = __webpack_require__(
|
|
5604
|
-
const source_1 = __webpack_require__(
|
|
5605
|
-
const dom_1 = __webpack_require__(
|
|
4897
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4898
|
+
const anchor_1 = __webpack_require__(6508);
|
|
4899
|
+
const source_1 = __webpack_require__(4856);
|
|
4900
|
+
const dom_1 = __webpack_require__(8200);
|
|
5606
4901
|
exports.cite = (0, combinator_1.creation)(1, false, (0, combinator_1.line)((0, combinator_1.fmap)((0, combinator_1.validate)('>>', (0, combinator_1.reverse)((0, combinator_1.tails)([(0, source_1.str)(/^>*(?=>>[^>\s]+\s*$)/), (0, combinator_1.union)([anchor_1.anchor,
|
|
5607
4902
|
// Subject page representation.
|
|
5608
4903
|
// リンクの実装は後で検討
|
|
@@ -5626,7 +4921,7 @@ exports.cite = (0, combinator_1.creation)(1, false, (0, combinator_1.line)((0, c
|
|
|
5626
4921
|
|
|
5627
4922
|
/***/ }),
|
|
5628
4923
|
|
|
5629
|
-
/***/
|
|
4924
|
+
/***/ 6423:
|
|
5630
4925
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5631
4926
|
|
|
5632
4927
|
"use strict";
|
|
@@ -5636,11 +4931,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5636
4931
|
value: true
|
|
5637
4932
|
}));
|
|
5638
4933
|
exports.quote = exports.syntax = void 0;
|
|
5639
|
-
const combinator_1 = __webpack_require__(
|
|
5640
|
-
const math_1 = __webpack_require__(
|
|
5641
|
-
const autolink_1 = __webpack_require__(
|
|
5642
|
-
const source_1 = __webpack_require__(
|
|
5643
|
-
const dom_1 = __webpack_require__(
|
|
4934
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4935
|
+
const math_1 = __webpack_require__(4540);
|
|
4936
|
+
const autolink_1 = __webpack_require__(2044);
|
|
4937
|
+
const source_1 = __webpack_require__(4856);
|
|
4938
|
+
const dom_1 = __webpack_require__(8200);
|
|
5644
4939
|
exports.syntax = /^>+(?=[^\S\n])|^>(?=[^\s>])|^>+(?=[^\s>])(?![0-9a-z]+(?:-[0-9a-z]+)*(?![0-9A-Za-z@#:]))/;
|
|
5645
4940
|
exports.quote = (0, combinator_1.lazy)(() => (0, combinator_1.creation)(1, false, (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)('>', (0, combinator_1.union)([(0, combinator_1.rewrite)((0, combinator_1.some)((0, combinator_1.validate)(new RegExp(exports.syntax.source.split('|')[0]), source_1.anyline)), qblock), (0, combinator_1.rewrite)((0, combinator_1.validate)(new RegExp(exports.syntax.source.split('|').slice(1).join('|')), source_1.anyline), (0, combinator_1.line)((0, combinator_1.union)([(0, source_1.str)(/^.+/)])))])), ns => [(0, dom_1.html)('span', ns.length > 1 ? {
|
|
5646
4941
|
class: 'quote'
|
|
@@ -5650,11 +4945,13 @@ exports.quote = (0, combinator_1.lazy)(() => (0, combinator_1.creation)(1, false
|
|
|
5650
4945
|
'data-invalid-type': 'syntax',
|
|
5651
4946
|
'data-invalid-message': `Missing the whitespace after "${ns[0].split(/[^>]/, 1)[0]}"`
|
|
5652
4947
|
}, (0, dom_1.defrag)(ns)), (0, dom_1.html)('br')]), false)));
|
|
5653
|
-
const qblock = (0, combinator_1.convert)(source => source.replace(/\n$/, '').replace(/(?<=^>+[^\S\n])/mg, '\r'), (0, combinator_1.some)((0, combinator_1.union)([math_1.math,
|
|
4948
|
+
const qblock = (0, combinator_1.convert)(source => source.replace(/\n$/, '').replace(/(?<=^>+[^\S\n])/mg, '\r'), (0, combinator_1.some)((0, combinator_1.union)([math_1.math,
|
|
4949
|
+
// quote補助関数が残した数式をパースする。他の構文で数式を残す場合はソーステキストを直接使用する。
|
|
4950
|
+
autolink_1.autolink, source_1.linebreak, source_1.unescsource])));
|
|
5654
4951
|
|
|
5655
4952
|
/***/ }),
|
|
5656
4953
|
|
|
5657
|
-
/***/
|
|
4954
|
+
/***/ 2208:
|
|
5658
4955
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5659
4956
|
|
|
5660
4957
|
"use strict";
|
|
@@ -5664,10 +4961,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5664
4961
|
value: true
|
|
5665
4962
|
}));
|
|
5666
4963
|
exports.sidefence = void 0;
|
|
5667
|
-
const combinator_1 = __webpack_require__(
|
|
5668
|
-
const autolink_1 = __webpack_require__(
|
|
5669
|
-
const source_1 = __webpack_require__(
|
|
5670
|
-
const dom_1 = __webpack_require__(
|
|
4964
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4965
|
+
const autolink_1 = __webpack_require__(5244);
|
|
4966
|
+
const source_1 = __webpack_require__(4856);
|
|
4967
|
+
const dom_1 = __webpack_require__(8200);
|
|
5671
4968
|
exports.sidefence = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.focus)(/^(?=\|+(?:[^\S\n]|\n\|))(?:\|+(?:[^\S\n][^\n]*)?(?:$|\n))+$/, (0, combinator_1.union)([source])), ([el]) => [(0, dom_1.define)(el, {
|
|
5672
4969
|
class: 'invalid',
|
|
5673
4970
|
'data-invalid-syntax': 'sidefence',
|
|
@@ -5680,7 +4977,7 @@ const source = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combinato
|
|
|
5680
4977
|
|
|
5681
4978
|
/***/ }),
|
|
5682
4979
|
|
|
5683
|
-
/***/
|
|
4980
|
+
/***/ 5068:
|
|
5684
4981
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5685
4982
|
|
|
5686
4983
|
"use strict";
|
|
@@ -5690,13 +4987,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5690
4987
|
value: true
|
|
5691
4988
|
}));
|
|
5692
4989
|
exports.table = void 0;
|
|
5693
|
-
const combinator_1 = __webpack_require__(
|
|
5694
|
-
const inline_1 = __webpack_require__(
|
|
5695
|
-
const source_1 = __webpack_require__(
|
|
5696
|
-
const visibility_1 = __webpack_require__(
|
|
5697
|
-
const duff_1 = __webpack_require__(
|
|
5698
|
-
const array_1 = __webpack_require__(
|
|
5699
|
-
const dom_1 = __webpack_require__(
|
|
4990
|
+
const combinator_1 = __webpack_require__(7436);
|
|
4991
|
+
const inline_1 = __webpack_require__(2716);
|
|
4992
|
+
const source_1 = __webpack_require__(4856);
|
|
4993
|
+
const visibility_1 = __webpack_require__(5424);
|
|
4994
|
+
const duff_1 = __webpack_require__(1444);
|
|
4995
|
+
const array_1 = __webpack_require__(8980);
|
|
4996
|
+
const dom_1 = __webpack_require__(8200);
|
|
5700
4997
|
exports.table = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^\|[^\n]*(?:\n\|[^\n]*){2}/, (0, combinator_1.sequence)([row((0, combinator_1.some)(head), true), row((0, combinator_1.some)(align), false), (0, combinator_1.some)(row((0, combinator_1.some)(data), true))])), rows => [(0, dom_1.html)('table', [(0, dom_1.html)('thead', [rows.shift()]), (0, dom_1.html)('tbody', format(rows))])])));
|
|
5701
4998
|
const row = (parser, optional) => (0, combinator_1.creation)(1, false, (0, combinator_1.fallback)((0, combinator_1.fmap)((0, combinator_1.line)((0, combinator_1.surround)(/^(?=\|)/, (0, combinator_1.some)((0, combinator_1.union)([parser])), /^[|\\]?\s*$/, optional)), es => [(0, dom_1.html)('tr', es)]), (0, combinator_1.rewrite)(source_1.contentline, ({
|
|
5702
4999
|
source
|
|
@@ -5726,7 +5023,7 @@ function format(rows) {
|
|
|
5726
5023
|
|
|
5727
5024
|
/***/ }),
|
|
5728
5025
|
|
|
5729
|
-
/***/
|
|
5026
|
+
/***/ 4788:
|
|
5730
5027
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5731
5028
|
|
|
5732
5029
|
"use strict";
|
|
@@ -5736,15 +5033,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5736
5033
|
value: true
|
|
5737
5034
|
}));
|
|
5738
5035
|
exports.fillFirstLine = exports.invalid = exports.checkbox = exports.ulist_ = exports.ulist = void 0;
|
|
5739
|
-
const combinator_1 = __webpack_require__(
|
|
5740
|
-
const olist_1 = __webpack_require__(
|
|
5741
|
-
const ilist_1 = __webpack_require__(
|
|
5742
|
-
const inline_1 = __webpack_require__(
|
|
5743
|
-
const source_1 = __webpack_require__(
|
|
5744
|
-
const util_1 = __webpack_require__(
|
|
5745
|
-
const visibility_1 = __webpack_require__(
|
|
5746
|
-
const array_1 = __webpack_require__(
|
|
5747
|
-
const dom_1 = __webpack_require__(
|
|
5036
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5037
|
+
const olist_1 = __webpack_require__(9585);
|
|
5038
|
+
const ilist_1 = __webpack_require__(6688);
|
|
5039
|
+
const inline_1 = __webpack_require__(2716);
|
|
5040
|
+
const source_1 = __webpack_require__(4856);
|
|
5041
|
+
const util_1 = __webpack_require__(9224);
|
|
5042
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5043
|
+
const array_1 = __webpack_require__(8980);
|
|
5044
|
+
const dom_1 = __webpack_require__(8200);
|
|
5748
5045
|
exports.ulist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.validate)(/^-(?=[^\S\n]|\n[^\S\n]*\S)/, exports.ulist_)));
|
|
5749
5046
|
exports.ulist_ = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^-(?=$|\s)/, (0, combinator_1.some)((0, combinator_1.creation)(1, false, (0, combinator_1.union)([(0, inline_1.indexee)((0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([(0, combinator_1.line)((0, combinator_1.open)(/^-(?:$|\s)/, (0, combinator_1.subsequence)([exports.checkbox, (0, combinator_1.trim)((0, visibility_1.visualize)((0, util_1.lineable)((0, visibility_1.trimBlank)((0, combinator_1.some)((0, combinator_1.union)([inline_1.indexer, inline_1.inline]))))))]), true)), (0, combinator_1.indent)((0, combinator_1.union)([exports.ulist_, olist_1.olist_, ilist_1.ilist_]))]), exports.invalid), ns => [(0, dom_1.html)('li', (0, dom_1.defrag)(fillFirstLine(ns)))]), true)])))), es => [format((0, dom_1.html)('ul', es))])));
|
|
5750
5047
|
exports.checkbox = (0, combinator_1.creation)(1, false, (0, combinator_1.focus)(/^\[[xX ]\](?=$|\s)/, ({
|
|
@@ -5775,7 +5072,7 @@ function format(list) {
|
|
|
5775
5072
|
|
|
5776
5073
|
/***/ }),
|
|
5777
5074
|
|
|
5778
|
-
/***/
|
|
5075
|
+
/***/ 540:
|
|
5779
5076
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5780
5077
|
|
|
5781
5078
|
"use strict";
|
|
@@ -5785,11 +5082,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5785
5082
|
value: true
|
|
5786
5083
|
}));
|
|
5787
5084
|
exports.header = void 0;
|
|
5788
|
-
const combinator_1 = __webpack_require__(
|
|
5789
|
-
const segment_1 = __webpack_require__(
|
|
5790
|
-
const source_1 = __webpack_require__(
|
|
5791
|
-
const normalize_1 = __webpack_require__(
|
|
5792
|
-
const dom_1 = __webpack_require__(
|
|
5085
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5086
|
+
const segment_1 = __webpack_require__(1284);
|
|
5087
|
+
const source_1 = __webpack_require__(4856);
|
|
5088
|
+
const normalize_1 = __webpack_require__(9588);
|
|
5089
|
+
const dom_1 = __webpack_require__(8200);
|
|
5793
5090
|
exports.header = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(/^---+[^\S\v\f\r\n]*\r?\n[^\S\n]*(?=\S)/, (0, combinator_1.inits)([(0, combinator_1.rewrite)(({
|
|
5794
5091
|
source,
|
|
5795
5092
|
context
|
|
@@ -5824,7 +5121,7 @@ const field = (0, combinator_1.line)(({
|
|
|
5824
5121
|
|
|
5825
5122
|
/***/ }),
|
|
5826
5123
|
|
|
5827
|
-
/***/
|
|
5124
|
+
/***/ 2716:
|
|
5828
5125
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5829
5126
|
|
|
5830
5127
|
"use strict";
|
|
@@ -5834,57 +5131,57 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5834
5131
|
value: true
|
|
5835
5132
|
}));
|
|
5836
5133
|
exports.shortmedia = exports.media = exports.medialink = exports.indexer = exports.indexee = exports.inline = void 0;
|
|
5837
|
-
const combinator_1 = __webpack_require__(
|
|
5838
|
-
const annotation_1 = __webpack_require__(
|
|
5839
|
-
const reference_1 = __webpack_require__(
|
|
5840
|
-
const template_1 = __webpack_require__(
|
|
5841
|
-
const remark_1 = __webpack_require__(
|
|
5842
|
-
const extension_1 = __webpack_require__(
|
|
5843
|
-
const ruby_1 = __webpack_require__(
|
|
5844
|
-
const link_1 = __webpack_require__(
|
|
5845
|
-
const html_1 = __webpack_require__(
|
|
5846
|
-
const insertion_1 = __webpack_require__(
|
|
5847
|
-
const deletion_1 = __webpack_require__(
|
|
5848
|
-
const mark_1 = __webpack_require__(
|
|
5849
|
-
const emstrong_1 = __webpack_require__(
|
|
5850
|
-
const strong_1 = __webpack_require__(
|
|
5851
|
-
const emphasis_1 = __webpack_require__(
|
|
5852
|
-
const math_1 = __webpack_require__(
|
|
5853
|
-
const code_1 = __webpack_require__(
|
|
5854
|
-
const htmlentity_1 = __webpack_require__(
|
|
5855
|
-
const autolink_1 = __webpack_require__(
|
|
5856
|
-
const bracket_1 = __webpack_require__(
|
|
5857
|
-
const source_1 = __webpack_require__(
|
|
5134
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5135
|
+
const annotation_1 = __webpack_require__(2292);
|
|
5136
|
+
const reference_1 = __webpack_require__(1932);
|
|
5137
|
+
const template_1 = __webpack_require__(5872);
|
|
5138
|
+
const remark_1 = __webpack_require__(5188);
|
|
5139
|
+
const extension_1 = __webpack_require__(2656);
|
|
5140
|
+
const ruby_1 = __webpack_require__(8780);
|
|
5141
|
+
const link_1 = __webpack_require__(9596);
|
|
5142
|
+
const html_1 = __webpack_require__(1480);
|
|
5143
|
+
const insertion_1 = __webpack_require__(6896);
|
|
5144
|
+
const deletion_1 = __webpack_require__(6676);
|
|
5145
|
+
const mark_1 = __webpack_require__(1076);
|
|
5146
|
+
const emstrong_1 = __webpack_require__(5400);
|
|
5147
|
+
const strong_1 = __webpack_require__(8428);
|
|
5148
|
+
const emphasis_1 = __webpack_require__(3500);
|
|
5149
|
+
const math_1 = __webpack_require__(4540);
|
|
5150
|
+
const code_1 = __webpack_require__(8132);
|
|
5151
|
+
const htmlentity_1 = __webpack_require__(3740);
|
|
5152
|
+
const autolink_1 = __webpack_require__(2044);
|
|
5153
|
+
const bracket_1 = __webpack_require__(7376);
|
|
5154
|
+
const source_1 = __webpack_require__(4856);
|
|
5858
5155
|
exports.inline = (0, combinator_1.lazy)(() => (0, combinator_1.union)([annotation_1.annotation, reference_1.reference, template_1.template, remark_1.remark, extension_1.extension, ruby_1.ruby, link_1.textlink, html_1.html, insertion_1.insertion, deletion_1.deletion, mark_1.mark, emstrong_1.emstrong, strong_1.strong, emphasis_1.emphasis, math_1.math, code_1.code, htmlentity_1.htmlentity, autolink_1.autolink, bracket_1.bracket, source_1.text]));
|
|
5859
|
-
var indexee_1 = __webpack_require__(
|
|
5156
|
+
var indexee_1 = __webpack_require__(5688);
|
|
5860
5157
|
Object.defineProperty(exports, "indexee", ({
|
|
5861
5158
|
enumerable: true,
|
|
5862
5159
|
get: function () {
|
|
5863
5160
|
return indexee_1.indexee;
|
|
5864
5161
|
}
|
|
5865
5162
|
}));
|
|
5866
|
-
var indexer_1 = __webpack_require__(
|
|
5163
|
+
var indexer_1 = __webpack_require__(3268);
|
|
5867
5164
|
Object.defineProperty(exports, "indexer", ({
|
|
5868
5165
|
enumerable: true,
|
|
5869
5166
|
get: function () {
|
|
5870
5167
|
return indexer_1.indexer;
|
|
5871
5168
|
}
|
|
5872
5169
|
}));
|
|
5873
|
-
var link_2 = __webpack_require__(
|
|
5170
|
+
var link_2 = __webpack_require__(9596);
|
|
5874
5171
|
Object.defineProperty(exports, "medialink", ({
|
|
5875
5172
|
enumerable: true,
|
|
5876
5173
|
get: function () {
|
|
5877
5174
|
return link_2.medialink;
|
|
5878
5175
|
}
|
|
5879
5176
|
}));
|
|
5880
|
-
var media_1 = __webpack_require__(
|
|
5177
|
+
var media_1 = __webpack_require__(1064);
|
|
5881
5178
|
Object.defineProperty(exports, "media", ({
|
|
5882
5179
|
enumerable: true,
|
|
5883
5180
|
get: function () {
|
|
5884
5181
|
return media_1.media;
|
|
5885
5182
|
}
|
|
5886
5183
|
}));
|
|
5887
|
-
var shortmedia_1 = __webpack_require__(
|
|
5184
|
+
var shortmedia_1 = __webpack_require__(8396);
|
|
5888
5185
|
Object.defineProperty(exports, "shortmedia", ({
|
|
5889
5186
|
enumerable: true,
|
|
5890
5187
|
get: function () {
|
|
@@ -5894,7 +5191,7 @@ Object.defineProperty(exports, "shortmedia", ({
|
|
|
5894
5191
|
|
|
5895
5192
|
/***/ }),
|
|
5896
5193
|
|
|
5897
|
-
/***/
|
|
5194
|
+
/***/ 2292:
|
|
5898
5195
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5899
5196
|
|
|
5900
5197
|
"use strict";
|
|
@@ -5904,17 +5201,17 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5904
5201
|
value: true
|
|
5905
5202
|
}));
|
|
5906
5203
|
exports.annotation = void 0;
|
|
5907
|
-
const combinator_1 = __webpack_require__(
|
|
5908
|
-
const inline_1 = __webpack_require__(
|
|
5909
|
-
const visibility_1 = __webpack_require__(
|
|
5910
|
-
const dom_1 = __webpack_require__(
|
|
5204
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5205
|
+
const inline_1 = __webpack_require__(2716);
|
|
5206
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5207
|
+
const dom_1 = __webpack_require__(8200);
|
|
5911
5208
|
exports.annotation = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)('((', (0, combinator_1.constraint)(256 /* State.annotation */, false, (0, combinator_1.syntax)(256 /* Syntax.annotation */, 6, 256 /* State.annotation */ | 8 /* State.media */, (0, visibility_1.trimBlankStart)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), ')', [[/^\\?\n/, 9], [')', 2], ['))', 6]])))), '))', false, ([, ns], rest) => [[(0, dom_1.html)('sup', {
|
|
5912
5209
|
class: 'annotation'
|
|
5913
5210
|
}, [(0, dom_1.html)('span', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))])], rest])));
|
|
5914
5211
|
|
|
5915
5212
|
/***/ }),
|
|
5916
5213
|
|
|
5917
|
-
/***/
|
|
5214
|
+
/***/ 2044:
|
|
5918
5215
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5919
5216
|
|
|
5920
5217
|
"use strict";
|
|
@@ -5924,16 +5221,16 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5924
5221
|
value: true
|
|
5925
5222
|
}));
|
|
5926
5223
|
exports.autolink = void 0;
|
|
5927
|
-
const combinator_1 = __webpack_require__(
|
|
5928
|
-
const url_1 = __webpack_require__(
|
|
5929
|
-
const email_1 = __webpack_require__(
|
|
5930
|
-
const channel_1 = __webpack_require__(
|
|
5931
|
-
const account_1 = __webpack_require__(
|
|
5932
|
-
const hashtag_1 = __webpack_require__(
|
|
5933
|
-
const hashnum_1 = __webpack_require__(
|
|
5934
|
-
const anchor_1 = __webpack_require__(
|
|
5935
|
-
const source_1 = __webpack_require__(
|
|
5936
|
-
const util_1 = __webpack_require__(
|
|
5224
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5225
|
+
const url_1 = __webpack_require__(868);
|
|
5226
|
+
const email_1 = __webpack_require__(5664);
|
|
5227
|
+
const channel_1 = __webpack_require__(8628);
|
|
5228
|
+
const account_1 = __webpack_require__(536);
|
|
5229
|
+
const hashtag_1 = __webpack_require__(2916);
|
|
5230
|
+
const hashnum_1 = __webpack_require__(4916);
|
|
5231
|
+
const anchor_1 = __webpack_require__(6508);
|
|
5232
|
+
const source_1 = __webpack_require__(4856);
|
|
5233
|
+
const util_1 = __webpack_require__(9224);
|
|
5937
5234
|
exports.autolink = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(/^(?:[@#>0-9a-z]|\S[#>]|[\r\n]!?https?:\/\/)/iu, (0, combinator_1.constraint)(2 /* State.autolink */, false, (0, combinator_1.syntax)(2 /* Syntax.autolink */, 1, ~1 /* State.shortcut */, (0, combinator_1.union)([(0, combinator_1.some)((0, combinator_1.union)([url_1.lineurl])), (0, combinator_1.fmap)((0, combinator_1.some)((0, combinator_1.union)([url_1.url, email_1.email,
|
|
5938
5235
|
// Escape unmatched email-like strings.
|
|
5939
5236
|
(0, source_1.str)(/^[0-9a-z]+(?:[_.+-][0-9a-z]+)*(?:@(?:[0-9a-z]+(?:[.-][0-9a-z]+)*)?)*/i), channel_1.channel, account_1.account,
|
|
@@ -5948,7 +5245,7 @@ exports.autolink = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(/^(?:
|
|
|
5948
5245
|
|
|
5949
5246
|
/***/ }),
|
|
5950
5247
|
|
|
5951
|
-
/***/
|
|
5248
|
+
/***/ 536:
|
|
5952
5249
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5953
5250
|
|
|
5954
5251
|
"use strict";
|
|
@@ -5958,10 +5255,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5958
5255
|
value: true
|
|
5959
5256
|
}));
|
|
5960
5257
|
exports.account = void 0;
|
|
5961
|
-
const combinator_1 = __webpack_require__(
|
|
5962
|
-
const link_1 = __webpack_require__(
|
|
5963
|
-
const source_1 = __webpack_require__(
|
|
5964
|
-
const dom_1 = __webpack_require__(
|
|
5258
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5259
|
+
const link_1 = __webpack_require__(9596);
|
|
5260
|
+
const source_1 = __webpack_require__(4856);
|
|
5261
|
+
const dom_1 = __webpack_require__(8200);
|
|
5965
5262
|
// https://example/@user must be a user page or a redirect page going there.
|
|
5966
5263
|
exports.account = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combinator_1.rewrite)((0, combinator_1.constraint)(1 /* State.shortcut */, false, (0, combinator_1.open)('@', (0, combinator_1.tails)([(0, source_1.str)(/^[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?(?:\.[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?)*\//i), (0, source_1.str)(/^[a-z][0-9a-z]*(?:[-.][0-9a-z]+)*/i)]))), (0, combinator_1.convert)(source => `[${source}]{ ${source.includes('/') ? `https://${source.slice(1).replace('/', '/@')}` : `/${source}`} }`, (0, combinator_1.union)([link_1.unsafelink]))), ([el]) => [(0, dom_1.define)(el, {
|
|
5967
5264
|
class: 'account'
|
|
@@ -5969,7 +5266,7 @@ exports.account = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combin
|
|
|
5969
5266
|
|
|
5970
5267
|
/***/ }),
|
|
5971
5268
|
|
|
5972
|
-
/***/
|
|
5269
|
+
/***/ 6508:
|
|
5973
5270
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5974
5271
|
|
|
5975
5272
|
"use strict";
|
|
@@ -5979,9 +5276,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
5979
5276
|
value: true
|
|
5980
5277
|
}));
|
|
5981
5278
|
exports.anchor = void 0;
|
|
5982
|
-
const combinator_1 = __webpack_require__(
|
|
5983
|
-
const link_1 = __webpack_require__(
|
|
5984
|
-
const dom_1 = __webpack_require__(
|
|
5279
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5280
|
+
const link_1 = __webpack_require__(9596);
|
|
5281
|
+
const dom_1 = __webpack_require__(8200);
|
|
5985
5282
|
// Timeline(pseudonym): user/tid
|
|
5986
5283
|
// Thread(anonymous): cid
|
|
5987
5284
|
// UTC
|
|
@@ -5995,7 +5292,7 @@ exports.anchor = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('>>', (
|
|
|
5995
5292
|
|
|
5996
5293
|
/***/ }),
|
|
5997
5294
|
|
|
5998
|
-
/***/
|
|
5295
|
+
/***/ 8628:
|
|
5999
5296
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6000
5297
|
|
|
6001
5298
|
"use strict";
|
|
@@ -6005,11 +5302,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6005
5302
|
value: true
|
|
6006
5303
|
}));
|
|
6007
5304
|
exports.channel = void 0;
|
|
6008
|
-
const combinator_1 = __webpack_require__(
|
|
6009
|
-
const account_1 = __webpack_require__(
|
|
6010
|
-
const hashtag_1 = __webpack_require__(
|
|
6011
|
-
const util_1 = __webpack_require__(
|
|
6012
|
-
const dom_1 = __webpack_require__(
|
|
5305
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5306
|
+
const account_1 = __webpack_require__(536);
|
|
5307
|
+
const hashtag_1 = __webpack_require__(2916);
|
|
5308
|
+
const util_1 = __webpack_require__(9224);
|
|
5309
|
+
const dom_1 = __webpack_require__(8200);
|
|
6013
5310
|
// https://example/@user?ch=a+b must be a user channel page or a redirect page going there.
|
|
6014
5311
|
exports.channel = (0, combinator_1.validate)('@', (0, combinator_1.bind)((0, combinator_1.sequence)([account_1.account, (0, combinator_1.some)(hashtag_1.hashtag)]), (es, rest) => {
|
|
6015
5312
|
const source = (0, util_1.stringify)(es);
|
|
@@ -6023,7 +5320,7 @@ exports.channel = (0, combinator_1.validate)('@', (0, combinator_1.bind)((0, com
|
|
|
6023
5320
|
|
|
6024
5321
|
/***/ }),
|
|
6025
5322
|
|
|
6026
|
-
/***/
|
|
5323
|
+
/***/ 5664:
|
|
6027
5324
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6028
5325
|
|
|
6029
5326
|
"use strict";
|
|
@@ -6033,9 +5330,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6033
5330
|
value: true
|
|
6034
5331
|
}));
|
|
6035
5332
|
exports.email = void 0;
|
|
6036
|
-
const combinator_1 = __webpack_require__(
|
|
6037
|
-
const source_1 = __webpack_require__(
|
|
6038
|
-
const dom_1 = __webpack_require__(
|
|
5333
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5334
|
+
const source_1 = __webpack_require__(4856);
|
|
5335
|
+
const dom_1 = __webpack_require__(8200);
|
|
6039
5336
|
// https://html.spec.whatwg.org/multipage/input.html
|
|
6040
5337
|
exports.email = (0, combinator_1.creation)((0, combinator_1.rewrite)((0, combinator_1.verify)((0, source_1.str)(/^[0-9a-z](?:[_.+-](?=[0-9a-z])|[0-9a-z]){0,255}@[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?(?:\.[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?)*(?![0-9a-z])/i), ([source]) => source.length <= 255), ({
|
|
6041
5338
|
source
|
|
@@ -6046,7 +5343,7 @@ exports.email = (0, combinator_1.creation)((0, combinator_1.rewrite)((0, combina
|
|
|
6046
5343
|
|
|
6047
5344
|
/***/ }),
|
|
6048
5345
|
|
|
6049
|
-
/***/
|
|
5346
|
+
/***/ 4916:
|
|
6050
5347
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6051
5348
|
|
|
6052
5349
|
"use strict";
|
|
@@ -6056,11 +5353,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6056
5353
|
value: true
|
|
6057
5354
|
}));
|
|
6058
5355
|
exports.hashnum = void 0;
|
|
6059
|
-
const combinator_1 = __webpack_require__(
|
|
6060
|
-
const link_1 = __webpack_require__(
|
|
6061
|
-
const hashtag_1 = __webpack_require__(
|
|
6062
|
-
const source_1 = __webpack_require__(
|
|
6063
|
-
const dom_1 = __webpack_require__(
|
|
5356
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5357
|
+
const link_1 = __webpack_require__(9596);
|
|
5358
|
+
const hashtag_1 = __webpack_require__(2916);
|
|
5359
|
+
const source_1 = __webpack_require__(4856);
|
|
5360
|
+
const dom_1 = __webpack_require__(8200);
|
|
6064
5361
|
exports.hashnum = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combinator_1.rewrite)((0, combinator_1.constraint)(1 /* State.shortcut */, false, (0, combinator_1.open)('#', (0, source_1.str)(new RegExp(/^[0-9]{1,9}(?![^\p{C}\p{S}\p{P}\s]|emoji|['_])/u.source.replace(/emoji/, hashtag_1.emoji), 'u')))), (0, combinator_1.convert)(source => `[${source}]{ ${source.slice(1)} }`, (0, combinator_1.union)([link_1.unsafelink]))), ([el]) => [(0, dom_1.define)(el, {
|
|
6065
5362
|
class: 'hashnum',
|
|
6066
5363
|
href: null
|
|
@@ -6068,7 +5365,7 @@ exports.hashnum = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combin
|
|
|
6068
5365
|
|
|
6069
5366
|
/***/ }),
|
|
6070
5367
|
|
|
6071
|
-
/***/
|
|
5368
|
+
/***/ 2916:
|
|
6072
5369
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6073
5370
|
|
|
6074
5371
|
"use strict";
|
|
@@ -6078,10 +5375,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6078
5375
|
value: true
|
|
6079
5376
|
}));
|
|
6080
5377
|
exports.hashtag = exports.emoji = void 0;
|
|
6081
|
-
const combinator_1 = __webpack_require__(
|
|
6082
|
-
const link_1 = __webpack_require__(
|
|
6083
|
-
const source_1 = __webpack_require__(
|
|
6084
|
-
const dom_1 = __webpack_require__(
|
|
5378
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5379
|
+
const link_1 = __webpack_require__(9596);
|
|
5380
|
+
const source_1 = __webpack_require__(4856);
|
|
5381
|
+
const dom_1 = __webpack_require__(8200);
|
|
6085
5382
|
// https://example/hashtags/a must be a hashtag page or a redirect page going there.
|
|
6086
5383
|
// https://github.com/tc39/proposal-regexp-unicode-property-escapes#matching-emoji
|
|
6087
5384
|
exports.emoji = String.raw`\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F`;
|
|
@@ -6091,7 +5388,7 @@ exports.hashtag = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combin
|
|
|
6091
5388
|
|
|
6092
5389
|
/***/ }),
|
|
6093
5390
|
|
|
6094
|
-
/***/
|
|
5391
|
+
/***/ 868:
|
|
6095
5392
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6096
5393
|
|
|
6097
5394
|
"use strict";
|
|
@@ -6101,9 +5398,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6101
5398
|
value: true
|
|
6102
5399
|
}));
|
|
6103
5400
|
exports.lineurl = exports.url = void 0;
|
|
6104
|
-
const combinator_1 = __webpack_require__(
|
|
6105
|
-
const link_1 = __webpack_require__(
|
|
6106
|
-
const source_1 = __webpack_require__(
|
|
5401
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5402
|
+
const link_1 = __webpack_require__(9596);
|
|
5403
|
+
const source_1 = __webpack_require__(4856);
|
|
6107
5404
|
const closer = /^[-+*=~^_,.;:!?]*(?=[\\"`|\[\](){}<>]|$)/;
|
|
6108
5405
|
exports.url = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(['http://', 'https://'], (0, combinator_1.rewrite)((0, combinator_1.open)(/^https?:\/\/(?=[\x21-\x7E])/, (0, combinator_1.focus)(/^[\x21-\x7E]+/, (0, combinator_1.some)((0, combinator_1.union)([bracket, (0, combinator_1.some)(source_1.unescsource, closer)])))), (0, combinator_1.convert)(url => `{ ${url} }`, (0, combinator_1.union)([link_1.unsafelink])))));
|
|
6109
5406
|
exports.lineurl = (0, combinator_1.lazy)(() => (0, combinator_1.open)(source_1.linebreak, (0, combinator_1.tails)([(0, source_1.str)('!'), (0, combinator_1.focus)(/^https?:\/\/\S+(?=[^\S\n]*(?:$|\n))/, (0, combinator_1.convert)(url => `{ ${url} }`, link_1.unsafelink))])));
|
|
@@ -6111,7 +5408,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
|
|
|
6111
5408
|
|
|
6112
5409
|
/***/ }),
|
|
6113
5410
|
|
|
6114
|
-
/***/
|
|
5411
|
+
/***/ 7376:
|
|
6115
5412
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6116
5413
|
|
|
6117
5414
|
"use strict";
|
|
@@ -6121,11 +5418,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6121
5418
|
value: true
|
|
6122
5419
|
}));
|
|
6123
5420
|
exports.bracket = void 0;
|
|
6124
|
-
const combinator_1 = __webpack_require__(
|
|
6125
|
-
const inline_1 = __webpack_require__(
|
|
6126
|
-
const source_1 = __webpack_require__(
|
|
6127
|
-
const array_1 = __webpack_require__(
|
|
6128
|
-
const dom_1 = __webpack_require__(
|
|
5421
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5422
|
+
const inline_1 = __webpack_require__(2716);
|
|
5423
|
+
const source_1 = __webpack_require__(4856);
|
|
5424
|
+
const array_1 = __webpack_require__(8980);
|
|
5425
|
+
const dom_1 = __webpack_require__(8200);
|
|
6129
5426
|
const index = /^[0-9A-Za-z]+(?:(?:[.-]|, )[0-9A-Za-z]+)*/;
|
|
6130
5427
|
exports.bracket = (0, combinator_1.lazy)(() => (0, combinator_1.union)([(0, combinator_1.surround)((0, source_1.str)('('), (0, combinator_1.creation)((0, combinator_1.syntax)(0 /* Syntax.none */, 2, 0 /* State.none */, (0, source_1.str)(index))), (0, source_1.str)(')')), (0, combinator_1.surround)((0, source_1.str)('('), (0, combinator_1.creation)((0, combinator_1.syntax)(4 /* Syntax.bracket */, 2, 0 /* State.none */, (0, combinator_1.some)(inline_1.inline, ')', [[/^\\?\n/, 3], [')', 2]]))), (0, source_1.str)(')'), true, ([as, bs = [], cs], rest) => [[(0, dom_1.html)('span', {
|
|
6131
5428
|
class: 'paren'
|
|
@@ -6135,7 +5432,7 @@ exports.bracket = (0, combinator_1.lazy)(() => (0, combinator_1.union)([(0, comb
|
|
|
6135
5432
|
|
|
6136
5433
|
/***/ }),
|
|
6137
5434
|
|
|
6138
|
-
/***/
|
|
5435
|
+
/***/ 8132:
|
|
6139
5436
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6140
5437
|
|
|
6141
5438
|
"use strict";
|
|
@@ -6145,8 +5442,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6145
5442
|
value: true
|
|
6146
5443
|
}));
|
|
6147
5444
|
exports.code = void 0;
|
|
6148
|
-
const combinator_1 = __webpack_require__(
|
|
6149
|
-
const dom_1 = __webpack_require__(
|
|
5445
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5446
|
+
const dom_1 = __webpack_require__(8200);
|
|
6150
5447
|
exports.code = (0, combinator_1.creation)((0, combinator_1.validate)('`', (0, combinator_1.match)(/^(`+)(?!`)([^\n]*?[^`\n])\1(?!`)/, ([whole,, body]) => ({
|
|
6151
5448
|
source
|
|
6152
5449
|
}) => [[(0, dom_1.html)('code', {
|
|
@@ -6158,7 +5455,7 @@ function format(text) {
|
|
|
6158
5455
|
|
|
6159
5456
|
/***/ }),
|
|
6160
5457
|
|
|
6161
|
-
/***/
|
|
5458
|
+
/***/ 6676:
|
|
6162
5459
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6163
5460
|
|
|
6164
5461
|
"use strict";
|
|
@@ -6168,17 +5465,17 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6168
5465
|
value: true
|
|
6169
5466
|
}));
|
|
6170
5467
|
exports.deletion = void 0;
|
|
6171
|
-
const combinator_1 = __webpack_require__(
|
|
6172
|
-
const inline_1 = __webpack_require__(
|
|
6173
|
-
const source_1 = __webpack_require__(
|
|
6174
|
-
const visibility_1 = __webpack_require__(
|
|
6175
|
-
const array_1 = __webpack_require__(
|
|
6176
|
-
const dom_1 = __webpack_require__(
|
|
5468
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5469
|
+
const inline_1 = __webpack_require__(2716);
|
|
5470
|
+
const source_1 = __webpack_require__(4856);
|
|
5471
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5472
|
+
const array_1 = __webpack_require__(8980);
|
|
5473
|
+
const dom_1 = __webpack_require__(8200);
|
|
6177
5474
|
exports.deletion = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('~~', '~'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('\n', '~~')), (0, combinator_1.open)('\n', (0, combinator_1.some)(inline_1.inline, '~'), true)]))), (0, source_1.str)('~~'), false, ([, bs], rest) => [[(0, dom_1.html)('del', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
|
|
6178
5475
|
|
|
6179
5476
|
/***/ }),
|
|
6180
5477
|
|
|
6181
|
-
/***/
|
|
5478
|
+
/***/ 3500:
|
|
6182
5479
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6183
5480
|
|
|
6184
5481
|
"use strict";
|
|
@@ -6188,19 +5485,19 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6188
5485
|
value: true
|
|
6189
5486
|
}));
|
|
6190
5487
|
exports.emphasis = void 0;
|
|
6191
|
-
const combinator_1 = __webpack_require__(
|
|
6192
|
-
const inline_1 = __webpack_require__(
|
|
6193
|
-
const emstrong_1 = __webpack_require__(
|
|
6194
|
-
const strong_1 = __webpack_require__(
|
|
6195
|
-
const source_1 = __webpack_require__(
|
|
6196
|
-
const visibility_1 = __webpack_require__(
|
|
6197
|
-
const array_1 = __webpack_require__(
|
|
6198
|
-
const dom_1 = __webpack_require__(
|
|
5488
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5489
|
+
const inline_1 = __webpack_require__(2716);
|
|
5490
|
+
const emstrong_1 = __webpack_require__(5400);
|
|
5491
|
+
const strong_1 = __webpack_require__(8428);
|
|
5492
|
+
const source_1 = __webpack_require__(4856);
|
|
5493
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5494
|
+
const array_1 = __webpack_require__(8980);
|
|
5495
|
+
const dom_1 = __webpack_require__(8200);
|
|
6199
5496
|
exports.emphasis = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('*', '*'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('*'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (0, combinator_1.union)([emstrong_1.emstrong, strong_1.strong, exports.emphasis]))])))), (0, source_1.str)('*'), false, ([, bs], rest) => [[(0, dom_1.html)('em', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
|
|
6200
5497
|
|
|
6201
5498
|
/***/ }),
|
|
6202
5499
|
|
|
6203
|
-
/***/
|
|
5500
|
+
/***/ 5400:
|
|
6204
5501
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6205
5502
|
|
|
6206
5503
|
"use strict";
|
|
@@ -6210,14 +5507,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6210
5507
|
value: true
|
|
6211
5508
|
}));
|
|
6212
5509
|
exports.emstrong = void 0;
|
|
6213
|
-
const combinator_1 = __webpack_require__(
|
|
6214
|
-
const inline_1 = __webpack_require__(
|
|
6215
|
-
const strong_1 = __webpack_require__(
|
|
6216
|
-
const emphasis_1 = __webpack_require__(
|
|
6217
|
-
const source_1 = __webpack_require__(
|
|
6218
|
-
const visibility_1 = __webpack_require__(
|
|
6219
|
-
const dom_1 = __webpack_require__(
|
|
6220
|
-
const array_1 = __webpack_require__(
|
|
5510
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5511
|
+
const inline_1 = __webpack_require__(2716);
|
|
5512
|
+
const strong_1 = __webpack_require__(8428);
|
|
5513
|
+
const emphasis_1 = __webpack_require__(3500);
|
|
5514
|
+
const source_1 = __webpack_require__(4856);
|
|
5515
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5516
|
+
const dom_1 = __webpack_require__(8200);
|
|
5517
|
+
const array_1 = __webpack_require__(8980);
|
|
6221
5518
|
const substrong = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('**'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (0, combinator_1.union)([exports.emstrong, strong_1.strong]))])));
|
|
6222
5519
|
const subemphasis = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('*'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (0, combinator_1.union)([exports.emstrong, strong_1.strong, emphasis_1.emphasis]))])));
|
|
6223
5520
|
exports.emstrong = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('***'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('*'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), inline_1.inline)])))), (0, source_1.str)(/^\*{1,3}/), false, ([, bs, cs], rest, context) => {
|
|
@@ -6239,7 +5536,7 @@ exports.emstrong = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, c
|
|
|
6239
5536
|
|
|
6240
5537
|
/***/ }),
|
|
6241
5538
|
|
|
6242
|
-
/***/
|
|
5539
|
+
/***/ 2656:
|
|
6243
5540
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6244
5541
|
|
|
6245
5542
|
"use strict";
|
|
@@ -6249,15 +5546,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6249
5546
|
value: true
|
|
6250
5547
|
}));
|
|
6251
5548
|
exports.extension = void 0;
|
|
6252
|
-
const combinator_1 = __webpack_require__(
|
|
6253
|
-
const index_1 = __webpack_require__(
|
|
6254
|
-
const label_1 = __webpack_require__(
|
|
6255
|
-
const placeholder_1 = __webpack_require__(
|
|
5549
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5550
|
+
const index_1 = __webpack_require__(8300);
|
|
5551
|
+
const label_1 = __webpack_require__(3640);
|
|
5552
|
+
const placeholder_1 = __webpack_require__(1320);
|
|
6256
5553
|
exports.extension = (0, combinator_1.validate)(['[', '$'], (0, combinator_1.union)([index_1.index, label_1.label, placeholder_1.placeholder]));
|
|
6257
5554
|
|
|
6258
5555
|
/***/ }),
|
|
6259
5556
|
|
|
6260
|
-
/***/
|
|
5557
|
+
/***/ 8300:
|
|
6261
5558
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6262
5559
|
|
|
6263
5560
|
"use strict";
|
|
@@ -6267,12 +5564,12 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6267
5564
|
value: true
|
|
6268
5565
|
}));
|
|
6269
5566
|
exports.signature = exports.index = void 0;
|
|
6270
|
-
const combinator_1 = __webpack_require__(
|
|
6271
|
-
const inline_1 = __webpack_require__(
|
|
6272
|
-
const indexee_1 = __webpack_require__(
|
|
6273
|
-
const source_1 = __webpack_require__(
|
|
6274
|
-
const visibility_1 = __webpack_require__(
|
|
6275
|
-
const dom_1 = __webpack_require__(
|
|
5567
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5568
|
+
const inline_1 = __webpack_require__(2716);
|
|
5569
|
+
const indexee_1 = __webpack_require__(5688);
|
|
5570
|
+
const source_1 = __webpack_require__(4856);
|
|
5571
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5572
|
+
const dom_1 = __webpack_require__(8200);
|
|
6276
5573
|
exports.index = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[#', (0, combinator_1.creation)((0, combinator_1.fmap)((0, indexee_1.indexee)((0, combinator_1.surround)('[#', (0, combinator_1.constraint)(64 /* State.index */, false, (0, combinator_1.syntax)(64 /* Syntax.index */, 2, 502 /* State.linkers */ | 8 /* State.media */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.inits)([inline_1.inline, exports.signature]), ']', [[/^\\?\n/, 9], [']', 2]])))), ']', false, ([, ns], rest) => [[(0, dom_1.html)('a', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))], rest])), ([el]) => [(0, dom_1.define)(el, {
|
|
6277
5574
|
id: el.id ? null : undefined,
|
|
6278
5575
|
class: 'index',
|
|
@@ -6286,7 +5583,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
|
|
|
6286
5583
|
|
|
6287
5584
|
/***/ }),
|
|
6288
5585
|
|
|
6289
|
-
/***/
|
|
5586
|
+
/***/ 5688:
|
|
6290
5587
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6291
5588
|
|
|
6292
5589
|
"use strict";
|
|
@@ -6296,9 +5593,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6296
5593
|
value: true
|
|
6297
5594
|
}));
|
|
6298
5595
|
exports.text = exports.signature = exports.index = exports.identity = exports.indexee = void 0;
|
|
6299
|
-
const combinator_1 = __webpack_require__(
|
|
6300
|
-
const memoize_1 = __webpack_require__(
|
|
6301
|
-
const dom_1 = __webpack_require__(
|
|
5596
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5597
|
+
const memoize_1 = __webpack_require__(276);
|
|
5598
|
+
const dom_1 = __webpack_require__(8200);
|
|
6302
5599
|
function indexee(parser, optional) {
|
|
6303
5600
|
return (0, combinator_1.fmap)(parser, ([el], _, {
|
|
6304
5601
|
id
|
|
@@ -6403,7 +5700,7 @@ exports.text = (0, memoize_1.reduce)(source => {
|
|
|
6403
5700
|
|
|
6404
5701
|
/***/ }),
|
|
6405
5702
|
|
|
6406
|
-
/***/
|
|
5703
|
+
/***/ 3268:
|
|
6407
5704
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6408
5705
|
|
|
6409
5706
|
"use strict";
|
|
@@ -6413,9 +5710,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6413
5710
|
value: true
|
|
6414
5711
|
}));
|
|
6415
5712
|
exports.indexer = void 0;
|
|
6416
|
-
const combinator_1 = __webpack_require__(
|
|
6417
|
-
const index_1 = __webpack_require__(
|
|
6418
|
-
const dom_1 = __webpack_require__(
|
|
5713
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5714
|
+
const index_1 = __webpack_require__(8300);
|
|
5715
|
+
const dom_1 = __webpack_require__(8200);
|
|
6419
5716
|
exports.indexer = (0, combinator_1.surround)(/^\s+\[(?=\|\S)/, (0, combinator_1.union)([index_1.signature, (0, combinator_1.creation)((0, combinator_1.focus)(/^\|(?=\])/, () => [[(0, dom_1.html)('span', {
|
|
6420
5717
|
class: 'indexer',
|
|
6421
5718
|
'data-index': ''
|
|
@@ -6423,7 +5720,7 @@ exports.indexer = (0, combinator_1.surround)(/^\s+\[(?=\|\S)/, (0, combinator_1.
|
|
|
6423
5720
|
|
|
6424
5721
|
/***/ }),
|
|
6425
5722
|
|
|
6426
|
-
/***/
|
|
5723
|
+
/***/ 3640:
|
|
6427
5724
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6428
5725
|
|
|
6429
5726
|
"use strict";
|
|
@@ -6433,9 +5730,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6433
5730
|
value: true
|
|
6434
5731
|
}));
|
|
6435
5732
|
exports.isFixed = exports.number = exports.label = exports.segment = void 0;
|
|
6436
|
-
const combinator_1 = __webpack_require__(
|
|
6437
|
-
const source_1 = __webpack_require__(
|
|
6438
|
-
const dom_1 = __webpack_require__(
|
|
5733
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5734
|
+
const source_1 = __webpack_require__(4856);
|
|
5735
|
+
const dom_1 = __webpack_require__(8200);
|
|
6439
5736
|
const body = (0, source_1.str)(/^\$[A-Za-z]*(?:(?:-[A-Za-z][0-9A-Za-z]*)+|-(?:(?:0|[1-9][0-9]*)\.)*(?:0|[1-9][0-9]*)(?![0-9A-Za-z]))/);
|
|
6440
5737
|
exports.segment = (0, combinator_1.clear)((0, combinator_1.validate)(['[$', '$'], (0, combinator_1.union)([(0, combinator_1.surround)('[', body, ']'), body])));
|
|
6441
5738
|
exports.label = (0, combinator_1.validate)(['[$', '$'], (0, combinator_1.creation)((0, combinator_1.fmap)((0, combinator_1.constraint)(32 /* State.label */, false, (0, combinator_1.union)([(0, combinator_1.surround)('[', body, ']'), body])), ([text]) => [(0, dom_1.html)('a', {
|
|
@@ -6462,7 +5759,7 @@ function increment(number, position) {
|
|
|
6462
5759
|
|
|
6463
5760
|
/***/ }),
|
|
6464
5761
|
|
|
6465
|
-
/***/
|
|
5762
|
+
/***/ 1320:
|
|
6466
5763
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6467
5764
|
|
|
6468
5765
|
"use strict";
|
|
@@ -6472,12 +5769,12 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6472
5769
|
value: true
|
|
6473
5770
|
}));
|
|
6474
5771
|
exports.placeholder = void 0;
|
|
6475
|
-
const combinator_1 = __webpack_require__(
|
|
6476
|
-
const inline_1 = __webpack_require__(
|
|
6477
|
-
const source_1 = __webpack_require__(
|
|
6478
|
-
const visibility_1 = __webpack_require__(
|
|
6479
|
-
const array_1 = __webpack_require__(
|
|
6480
|
-
const dom_1 = __webpack_require__(
|
|
5772
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5773
|
+
const inline_1 = __webpack_require__(2716);
|
|
5774
|
+
const source_1 = __webpack_require__(4856);
|
|
5775
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5776
|
+
const array_1 = __webpack_require__(8980);
|
|
5777
|
+
const dom_1 = __webpack_require__(8200);
|
|
6481
5778
|
// Don't use the symbols already used: !#$%@&*+~=|
|
|
6482
5779
|
// All syntax surrounded by square brackets shouldn't contain line breaks.
|
|
6483
5780
|
exports.placeholder = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[', (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)(/^\[[:^|]/), (0, combinator_1.syntax)(32 /* Syntax.placeholder */, 2, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), ']', [[']', 2]]))), (0, source_1.str)(']'), false, ([, bs], rest) => [[(0, dom_1.html)('span', {
|
|
@@ -6489,7 +5786,7 @@ exports.placeholder = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[
|
|
|
6489
5786
|
|
|
6490
5787
|
/***/ }),
|
|
6491
5788
|
|
|
6492
|
-
/***/
|
|
5789
|
+
/***/ 1480:
|
|
6493
5790
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6494
5791
|
|
|
6495
5792
|
"use strict";
|
|
@@ -6499,14 +5796,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6499
5796
|
value: true
|
|
6500
5797
|
}));
|
|
6501
5798
|
exports.attributes = exports.attribute = exports.html = void 0;
|
|
6502
|
-
const combinator_1 = __webpack_require__(
|
|
6503
|
-
const inline_1 = __webpack_require__(
|
|
6504
|
-
const source_1 = __webpack_require__(
|
|
6505
|
-
const visibility_1 = __webpack_require__(
|
|
6506
|
-
const memoize_1 = __webpack_require__(
|
|
6507
|
-
const clock_1 = __webpack_require__(
|
|
6508
|
-
const array_1 = __webpack_require__(
|
|
6509
|
-
const dom_1 = __webpack_require__(
|
|
5799
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5800
|
+
const inline_1 = __webpack_require__(2716);
|
|
5801
|
+
const source_1 = __webpack_require__(4856);
|
|
5802
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5803
|
+
const memoize_1 = __webpack_require__(276);
|
|
5804
|
+
const clock_1 = __webpack_require__(7124);
|
|
5805
|
+
const array_1 = __webpack_require__(8980);
|
|
5806
|
+
const dom_1 = __webpack_require__(8200);
|
|
6510
5807
|
const tags = Object.freeze(['bdo', 'bdi']);
|
|
6511
5808
|
const attrspecs = {
|
|
6512
5809
|
bdo: {
|
|
@@ -6564,7 +5861,7 @@ exports.attributes = attributes;
|
|
|
6564
5861
|
|
|
6565
5862
|
/***/ }),
|
|
6566
5863
|
|
|
6567
|
-
/***/
|
|
5864
|
+
/***/ 3740:
|
|
6568
5865
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6569
5866
|
|
|
6570
5867
|
"use strict";
|
|
@@ -6574,9 +5871,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6574
5871
|
value: true
|
|
6575
5872
|
}));
|
|
6576
5873
|
exports.htmlentity = exports.unsafehtmlentity = void 0;
|
|
6577
|
-
const combinator_1 = __webpack_require__(
|
|
6578
|
-
const dom_1 = __webpack_require__(
|
|
6579
|
-
const memoize_1 = __webpack_require__(
|
|
5874
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5875
|
+
const dom_1 = __webpack_require__(8200);
|
|
5876
|
+
const memoize_1 = __webpack_require__(276);
|
|
6580
5877
|
exports.unsafehtmlentity = (0, combinator_1.creation)((0, combinator_1.validate)('&', (0, combinator_1.focus)(/^&[0-9A-Za-z]+;/, ({
|
|
6581
5878
|
source
|
|
6582
5879
|
}) => [[parse(source) ?? `\x1B${source}`], ''])));
|
|
@@ -6595,7 +5892,7 @@ const parse = (0, memoize_1.reduce)((el => entity => {
|
|
|
6595
5892
|
|
|
6596
5893
|
/***/ }),
|
|
6597
5894
|
|
|
6598
|
-
/***/
|
|
5895
|
+
/***/ 6896:
|
|
6599
5896
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6600
5897
|
|
|
6601
5898
|
"use strict";
|
|
@@ -6605,17 +5902,17 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6605
5902
|
value: true
|
|
6606
5903
|
}));
|
|
6607
5904
|
exports.insertion = void 0;
|
|
6608
|
-
const combinator_1 = __webpack_require__(
|
|
6609
|
-
const inline_1 = __webpack_require__(
|
|
6610
|
-
const source_1 = __webpack_require__(
|
|
6611
|
-
const visibility_1 = __webpack_require__(
|
|
6612
|
-
const array_1 = __webpack_require__(
|
|
6613
|
-
const dom_1 = __webpack_require__(
|
|
5905
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5906
|
+
const inline_1 = __webpack_require__(2716);
|
|
5907
|
+
const source_1 = __webpack_require__(4856);
|
|
5908
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5909
|
+
const array_1 = __webpack_require__(8980);
|
|
5910
|
+
const dom_1 = __webpack_require__(8200);
|
|
6614
5911
|
exports.insertion = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('++', '+'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('\n', '++')), (0, combinator_1.open)('\n', (0, combinator_1.some)(inline_1.inline, '+'), true)]))), (0, source_1.str)('++'), false, ([, bs], rest) => [[(0, dom_1.html)('ins', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
|
|
6615
5912
|
|
|
6616
5913
|
/***/ }),
|
|
6617
5914
|
|
|
6618
|
-
/***/
|
|
5915
|
+
/***/ 9596:
|
|
6619
5916
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6620
5917
|
|
|
6621
5918
|
"use strict";
|
|
@@ -6625,14 +5922,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6625
5922
|
value: true
|
|
6626
5923
|
}));
|
|
6627
5924
|
exports.resolve = exports.option = exports.uri = exports.unsafelink = exports.linemedialink = exports.medialink = exports.textlink = exports.link = void 0;
|
|
6628
|
-
const combinator_1 = __webpack_require__(
|
|
6629
|
-
const inline_1 = __webpack_require__(
|
|
6630
|
-
const html_1 = __webpack_require__(
|
|
6631
|
-
const source_1 = __webpack_require__(
|
|
6632
|
-
const visibility_1 = __webpack_require__(
|
|
6633
|
-
const util_1 = __webpack_require__(
|
|
6634
|
-
const url_1 = __webpack_require__(
|
|
6635
|
-
const dom_1 = __webpack_require__(
|
|
5925
|
+
const combinator_1 = __webpack_require__(7436);
|
|
5926
|
+
const inline_1 = __webpack_require__(2716);
|
|
5927
|
+
const html_1 = __webpack_require__(1480);
|
|
5928
|
+
const source_1 = __webpack_require__(4856);
|
|
5929
|
+
const visibility_1 = __webpack_require__(5424);
|
|
5930
|
+
const util_1 = __webpack_require__(9224);
|
|
5931
|
+
const url_1 = __webpack_require__(3800);
|
|
5932
|
+
const dom_1 = __webpack_require__(8200);
|
|
6636
5933
|
const optspec = {
|
|
6637
5934
|
rel: ['nofollow']
|
|
6638
5935
|
};
|
|
@@ -6730,7 +6027,7 @@ function decode(uri) {
|
|
|
6730
6027
|
|
|
6731
6028
|
/***/ }),
|
|
6732
6029
|
|
|
6733
|
-
/***/
|
|
6030
|
+
/***/ 1076:
|
|
6734
6031
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6735
6032
|
|
|
6736
6033
|
"use strict";
|
|
@@ -6740,13 +6037,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6740
6037
|
value: true
|
|
6741
6038
|
}));
|
|
6742
6039
|
exports.mark = void 0;
|
|
6743
|
-
const combinator_1 = __webpack_require__(
|
|
6744
|
-
const inline_1 = __webpack_require__(
|
|
6745
|
-
const indexee_1 = __webpack_require__(
|
|
6746
|
-
const source_1 = __webpack_require__(
|
|
6747
|
-
const visibility_1 = __webpack_require__(
|
|
6748
|
-
const array_1 = __webpack_require__(
|
|
6749
|
-
const dom_1 = __webpack_require__(
|
|
6040
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6041
|
+
const inline_1 = __webpack_require__(2716);
|
|
6042
|
+
const indexee_1 = __webpack_require__(5688);
|
|
6043
|
+
const source_1 = __webpack_require__(4856);
|
|
6044
|
+
const visibility_1 = __webpack_require__(5424);
|
|
6045
|
+
const array_1 = __webpack_require__(8980);
|
|
6046
|
+
const dom_1 = __webpack_require__(8200);
|
|
6750
6047
|
exports.mark = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('==', '='), (0, combinator_1.constraint)(4 /* State.mark */, false, (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('=='), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '=', [[/^\\?\n/, 9]]), exports.mark)]))))), (0, source_1.str)('=='), false, ([, bs], rest, {
|
|
6751
6048
|
id
|
|
6752
6049
|
}) => {
|
|
@@ -6760,7 +6057,7 @@ exports.mark = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combi
|
|
|
6760
6057
|
|
|
6761
6058
|
/***/ }),
|
|
6762
6059
|
|
|
6763
|
-
/***/
|
|
6060
|
+
/***/ 4540:
|
|
6764
6061
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6765
6062
|
|
|
6766
6063
|
"use strict";
|
|
@@ -6770,9 +6067,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6770
6067
|
value: true
|
|
6771
6068
|
}));
|
|
6772
6069
|
exports.math = void 0;
|
|
6773
|
-
const combinator_1 = __webpack_require__(
|
|
6774
|
-
const source_1 = __webpack_require__(
|
|
6775
|
-
const dom_1 = __webpack_require__(
|
|
6070
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6071
|
+
const source_1 = __webpack_require__(4856);
|
|
6072
|
+
const dom_1 = __webpack_require__(8200);
|
|
6776
6073
|
const forbiddenCommand = /\\(?:begin|tiny|huge|large)(?![a-z])/i;
|
|
6777
6074
|
exports.math = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('$', (0, combinator_1.creation)((0, combinator_1.rewrite)((0, combinator_1.union)([(0, combinator_1.surround)('$', (0, combinator_1.precedence)(6, bracket), '$'), (0, combinator_1.surround)(/^\$(?![\s{}])/, (0, combinator_1.precedence)(3, (0, combinator_1.some)((0, combinator_1.union)([bracket, (0, combinator_1.focus)(/^(?:[ ([](?!\$)|\\[\\{}$]?|[!#%&')\x2A-\x5A\]^_\x61-\x7A|~])+/, (0, combinator_1.some)(source_1.unescsource))]))), /^\$(?![0-9A-Za-z])/)]), ({
|
|
6778
6075
|
source,
|
|
@@ -6796,7 +6093,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
|
|
|
6796
6093
|
|
|
6797
6094
|
/***/ }),
|
|
6798
6095
|
|
|
6799
|
-
/***/
|
|
6096
|
+
/***/ 1064:
|
|
6800
6097
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6801
6098
|
|
|
6802
6099
|
"use strict";
|
|
@@ -6806,15 +6103,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6806
6103
|
value: true
|
|
6807
6104
|
}));
|
|
6808
6105
|
exports.linemedia = exports.media = void 0;
|
|
6809
|
-
const combinator_1 = __webpack_require__(
|
|
6810
|
-
const link_1 = __webpack_require__(
|
|
6811
|
-
const html_1 = __webpack_require__(
|
|
6812
|
-
const htmlentity_1 = __webpack_require__(
|
|
6813
|
-
const source_1 = __webpack_require__(
|
|
6814
|
-
const util_1 = __webpack_require__(
|
|
6815
|
-
const url_1 = __webpack_require__(
|
|
6816
|
-
const array_1 = __webpack_require__(
|
|
6817
|
-
const dom_1 = __webpack_require__(
|
|
6106
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6107
|
+
const link_1 = __webpack_require__(9596);
|
|
6108
|
+
const html_1 = __webpack_require__(1480);
|
|
6109
|
+
const htmlentity_1 = __webpack_require__(3740);
|
|
6110
|
+
const source_1 = __webpack_require__(4856);
|
|
6111
|
+
const util_1 = __webpack_require__(9224);
|
|
6112
|
+
const url_1 = __webpack_require__(3800);
|
|
6113
|
+
const array_1 = __webpack_require__(8980);
|
|
6114
|
+
const dom_1 = __webpack_require__(8200);
|
|
6818
6115
|
const optspec = {
|
|
6819
6116
|
'width': [],
|
|
6820
6117
|
'height': [],
|
|
@@ -6879,7 +6176,7 @@ function sanitize(target, uri, alt) {
|
|
|
6879
6176
|
|
|
6880
6177
|
/***/ }),
|
|
6881
6178
|
|
|
6882
|
-
/***/
|
|
6179
|
+
/***/ 1932:
|
|
6883
6180
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6884
6181
|
|
|
6885
6182
|
"use strict";
|
|
@@ -6889,11 +6186,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6889
6186
|
value: true
|
|
6890
6187
|
}));
|
|
6891
6188
|
exports.reference = void 0;
|
|
6892
|
-
const combinator_1 = __webpack_require__(
|
|
6893
|
-
const inline_1 = __webpack_require__(
|
|
6894
|
-
const source_1 = __webpack_require__(
|
|
6895
|
-
const visibility_1 = __webpack_require__(
|
|
6896
|
-
const dom_1 = __webpack_require__(
|
|
6189
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6190
|
+
const inline_1 = __webpack_require__(2716);
|
|
6191
|
+
const source_1 = __webpack_require__(4856);
|
|
6192
|
+
const visibility_1 = __webpack_require__(5424);
|
|
6193
|
+
const dom_1 = __webpack_require__(8200);
|
|
6897
6194
|
exports.reference = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)('[[', (0, combinator_1.constraint)(128 /* State.reference */, false, (0, combinator_1.syntax)(128 /* Syntax.reference */, 6, 256 /* State.annotation */ | 128 /* State.reference */ | 8 /* State.media */, (0, combinator_1.subsequence)([abbr, (0, visibility_1.trimBlankStart)((0, combinator_1.some)(inline_1.inline, ']', [[/^\\?\n/, 9], [']', 2], [']]', 6]]))]))), ']]', false, ([, ns], rest) => [[(0, dom_1.html)('sup', attributes(ns), [(0, dom_1.html)('span', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))])], rest])));
|
|
6898
6195
|
// Chicago-Style
|
|
6899
6196
|
const abbr = (0, combinator_1.creation)((0, combinator_1.surround)('^', (0, combinator_1.union)([(0, source_1.str)(/^(?=[A-Z])(?:[0-9A-Za-z]'?|(?:[-.:]|\.?\??,? ?)(?!['\-.:?, ]))+/)]), /^\|?(?=]])|^\|[^\S\n]*/, true, ([, ns], rest) => ns ? [['\n', ns[0].trimEnd()], rest.replace(visibility_1.blank.start, '')] : [[''], `^${rest}`], ([,, rest]) => [[''], `^${rest}`]));
|
|
@@ -6922,7 +6219,7 @@ function attributes(ns) {
|
|
|
6922
6219
|
|
|
6923
6220
|
/***/ }),
|
|
6924
6221
|
|
|
6925
|
-
/***/
|
|
6222
|
+
/***/ 5188:
|
|
6926
6223
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6927
6224
|
|
|
6928
6225
|
"use strict";
|
|
@@ -6932,12 +6229,12 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6932
6229
|
value: true
|
|
6933
6230
|
}));
|
|
6934
6231
|
exports.remark = void 0;
|
|
6935
|
-
const combinator_1 = __webpack_require__(
|
|
6936
|
-
const inline_1 = __webpack_require__(
|
|
6937
|
-
const source_1 = __webpack_require__(
|
|
6938
|
-
const memoize_1 = __webpack_require__(
|
|
6939
|
-
const array_1 = __webpack_require__(
|
|
6940
|
-
const dom_1 = __webpack_require__(
|
|
6232
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6233
|
+
const inline_1 = __webpack_require__(2716);
|
|
6234
|
+
const source_1 = __webpack_require__(4856);
|
|
6235
|
+
const memoize_1 = __webpack_require__(276);
|
|
6236
|
+
const array_1 = __webpack_require__(8980);
|
|
6237
|
+
const dom_1 = __webpack_require__(8200);
|
|
6941
6238
|
exports.remark = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[%', (0, combinator_1.creation)((0, combinator_1.syntax)(0 /* Syntax.none */, 5, 0 /* State.none */, (0, combinator_1.match)(/^\[(%+)\s/, (0, memoize_1.memoize)(([, fence]) => (0, combinator_1.surround)((0, combinator_1.open)((0, source_1.str)(`[${fence}`), (0, combinator_1.some)(source_1.text, new RegExp(String.raw`^\s+${fence}\]|^\S`)), true), (0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), new RegExp(String.raw`^\s+${fence}\]`), [[new RegExp(String.raw`^\s+${fence}\]`), 5]]), (0, combinator_1.close)((0, combinator_1.some)(source_1.text, /^\S/), (0, source_1.str)(`${fence}]`)), true, ([as, bs = [], cs], rest) => [[(0, dom_1.html)('span', {
|
|
6942
6239
|
class: 'remark'
|
|
6943
6240
|
}, [(0, dom_1.html)('input', {
|
|
@@ -6946,7 +6243,7 @@ exports.remark = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[%', (
|
|
|
6946
6243
|
|
|
6947
6244
|
/***/ }),
|
|
6948
6245
|
|
|
6949
|
-
/***/
|
|
6246
|
+
/***/ 8780:
|
|
6950
6247
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6951
6248
|
|
|
6952
6249
|
"use strict";
|
|
@@ -6956,13 +6253,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
6956
6253
|
value: true
|
|
6957
6254
|
}));
|
|
6958
6255
|
exports.ruby = void 0;
|
|
6959
|
-
const parser_1 = __webpack_require__(
|
|
6960
|
-
const combinator_1 = __webpack_require__(
|
|
6961
|
-
const htmlentity_1 = __webpack_require__(
|
|
6962
|
-
const source_1 = __webpack_require__(
|
|
6963
|
-
const visibility_1 = __webpack_require__(
|
|
6964
|
-
const array_1 = __webpack_require__(
|
|
6965
|
-
const dom_1 = __webpack_require__(
|
|
6256
|
+
const parser_1 = __webpack_require__(3232);
|
|
6257
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6258
|
+
const htmlentity_1 = __webpack_require__(3740);
|
|
6259
|
+
const source_1 = __webpack_require__(4856);
|
|
6260
|
+
const visibility_1 = __webpack_require__(5424);
|
|
6261
|
+
const array_1 = __webpack_require__(8980);
|
|
6262
|
+
const dom_1 = __webpack_require__(8200);
|
|
6966
6263
|
exports.ruby = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[', (0, combinator_1.creation)((0, combinator_1.syntax)(16 /* Syntax.ruby */, 2, -1 /* State.all */, (0, combinator_1.fmap)((0, combinator_1.verify)((0, combinator_1.fmap)((0, combinator_1.sequence)([(0, combinator_1.surround)('[', (0, source_1.str)(/^(?:\\[^\n]|[^\\[\](){}"\n])+/), ']'), (0, combinator_1.surround)('(', (0, source_1.str)(/^(?:\\[^\n]|[^\\[\](){}"\n])+/), ')')]), ([texts, rubies], _, context) => [(0, parser_1.eval)(text({
|
|
6967
6264
|
source: texts,
|
|
6968
6265
|
context
|
|
@@ -7001,7 +6298,6 @@ const text = (0, combinator_1.creation)(1, false, ({
|
|
|
7001
6298
|
}
|
|
7002
6299
|
// fallthrough
|
|
7003
6300
|
}
|
|
7004
|
-
|
|
7005
6301
|
default:
|
|
7006
6302
|
{
|
|
7007
6303
|
if (source[0].trimStart() === '') {
|
|
@@ -7040,7 +6336,7 @@ function attributes(texts, rubies) {
|
|
|
7040
6336
|
|
|
7041
6337
|
/***/ }),
|
|
7042
6338
|
|
|
7043
|
-
/***/
|
|
6339
|
+
/***/ 8396:
|
|
7044
6340
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7045
6341
|
|
|
7046
6342
|
"use strict";
|
|
@@ -7050,16 +6346,16 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7050
6346
|
value: true
|
|
7051
6347
|
}));
|
|
7052
6348
|
exports.lineshortmedia = exports.shortmedia = void 0;
|
|
7053
|
-
const combinator_1 = __webpack_require__(
|
|
7054
|
-
const url_1 = __webpack_require__(
|
|
7055
|
-
const media_1 = __webpack_require__(
|
|
7056
|
-
const source_1 = __webpack_require__(
|
|
6349
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6350
|
+
const url_1 = __webpack_require__(868);
|
|
6351
|
+
const media_1 = __webpack_require__(1064);
|
|
6352
|
+
const source_1 = __webpack_require__(4856);
|
|
7057
6353
|
exports.shortmedia = (0, combinator_1.rewrite)((0, combinator_1.constraint)(8 /* State.media */, false, (0, combinator_1.open)('!', url_1.url)), (0, combinator_1.convert)(source => `!{ ${source.slice(1)} }`, (0, combinator_1.union)([media_1.media])));
|
|
7058
6354
|
exports.lineshortmedia = (0, combinator_1.open)(source_1.linebreak, (0, combinator_1.focus)(/^!https?:\/\/\S+(?=[^\S\n]*(?:$|\n))/, (0, combinator_1.convert)(source => `!{ ${source.slice(1)} }`, (0, combinator_1.union)([media_1.media]))));
|
|
7059
6355
|
|
|
7060
6356
|
/***/ }),
|
|
7061
6357
|
|
|
7062
|
-
/***/
|
|
6358
|
+
/***/ 8428:
|
|
7063
6359
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7064
6360
|
|
|
7065
6361
|
"use strict";
|
|
@@ -7069,18 +6365,18 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7069
6365
|
value: true
|
|
7070
6366
|
}));
|
|
7071
6367
|
exports.strong = void 0;
|
|
7072
|
-
const combinator_1 = __webpack_require__(
|
|
7073
|
-
const inline_1 = __webpack_require__(
|
|
7074
|
-
const emstrong_1 = __webpack_require__(
|
|
7075
|
-
const source_1 = __webpack_require__(
|
|
7076
|
-
const visibility_1 = __webpack_require__(
|
|
7077
|
-
const array_1 = __webpack_require__(
|
|
7078
|
-
const dom_1 = __webpack_require__(
|
|
6368
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6369
|
+
const inline_1 = __webpack_require__(2716);
|
|
6370
|
+
const emstrong_1 = __webpack_require__(5400);
|
|
6371
|
+
const source_1 = __webpack_require__(4856);
|
|
6372
|
+
const visibility_1 = __webpack_require__(5424);
|
|
6373
|
+
const array_1 = __webpack_require__(8980);
|
|
6374
|
+
const dom_1 = __webpack_require__(8200);
|
|
7079
6375
|
exports.strong = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('**', '*'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('**'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (0, combinator_1.union)([emstrong_1.emstrong, exports.strong]))])))), (0, source_1.str)('**'), false, ([, bs], rest) => [[(0, dom_1.html)('strong', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
|
|
7080
6376
|
|
|
7081
6377
|
/***/ }),
|
|
7082
6378
|
|
|
7083
|
-
/***/
|
|
6379
|
+
/***/ 5872:
|
|
7084
6380
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7085
6381
|
|
|
7086
6382
|
"use strict";
|
|
@@ -7090,10 +6386,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7090
6386
|
value: true
|
|
7091
6387
|
}));
|
|
7092
6388
|
exports.template = void 0;
|
|
7093
|
-
const combinator_1 = __webpack_require__(
|
|
7094
|
-
const source_1 = __webpack_require__(
|
|
7095
|
-
const array_1 = __webpack_require__(
|
|
7096
|
-
const dom_1 = __webpack_require__(
|
|
6389
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6390
|
+
const source_1 = __webpack_require__(4856);
|
|
6391
|
+
const array_1 = __webpack_require__(8980);
|
|
6392
|
+
const dom_1 = __webpack_require__(8200);
|
|
7097
6393
|
exports.template = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)('{{', (0, combinator_1.syntax)(0 /* Syntax.none */, 6, -1 /* State.all */, (0, combinator_1.some)((0, combinator_1.union)([bracket, source_1.escsource]), '}', [['}}', 6]])), '}}', true, ([, ns = []], rest) => [[(0, dom_1.html)('span', {
|
|
7098
6394
|
class: 'template'
|
|
7099
6395
|
}, `{{${ns.join('').replace(/\x1B/g, '')}}}`)], rest])));
|
|
@@ -7101,7 +6397,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
|
|
|
7101
6397
|
|
|
7102
6398
|
/***/ }),
|
|
7103
6399
|
|
|
7104
|
-
/***/
|
|
6400
|
+
/***/ 5712:
|
|
7105
6401
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7106
6402
|
|
|
7107
6403
|
"use strict";
|
|
@@ -7111,12 +6407,12 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7111
6407
|
value: true
|
|
7112
6408
|
}));
|
|
7113
6409
|
exports.figure = void 0;
|
|
7114
|
-
const label_1 = __webpack_require__(
|
|
7115
|
-
const util_1 = __webpack_require__(
|
|
7116
|
-
const queue_1 = __webpack_require__(
|
|
7117
|
-
const array_1 = __webpack_require__(
|
|
7118
|
-
const dom_1 = __webpack_require__(
|
|
7119
|
-
const query_1 = __webpack_require__(
|
|
6410
|
+
const label_1 = __webpack_require__(3640);
|
|
6411
|
+
const util_1 = __webpack_require__(9224);
|
|
6412
|
+
const queue_1 = __webpack_require__(9556);
|
|
6413
|
+
const array_1 = __webpack_require__(8980);
|
|
6414
|
+
const dom_1 = __webpack_require__(8200);
|
|
6415
|
+
const query_1 = __webpack_require__(9252);
|
|
7120
6416
|
function* figure(target, notes, opts = {}) {
|
|
7121
6417
|
const refs = new queue_1.MultiQueue((0, array_1.push)((0, query_1.querySelectorAll)(target, 'a.label:not(.disabled)[data-label]'), notes && (0, query_1.querySelectorAll)(notes.references, 'a.label:not(.disabled)') || []).map(el => [el.getAttribute('data-label'), el]));
|
|
7122
6418
|
const labels = new Set();
|
|
@@ -7239,7 +6535,7 @@ function capitalize(label) {
|
|
|
7239
6535
|
|
|
7240
6536
|
/***/ }),
|
|
7241
6537
|
|
|
7242
|
-
/***/
|
|
6538
|
+
/***/ 6992:
|
|
7243
6539
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7244
6540
|
|
|
7245
6541
|
"use strict";
|
|
@@ -7249,10 +6545,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7249
6545
|
value: true
|
|
7250
6546
|
}));
|
|
7251
6547
|
exports.reference = exports.annotation = exports.note = void 0;
|
|
7252
|
-
const indexee_1 = __webpack_require__(
|
|
7253
|
-
const util_1 = __webpack_require__(
|
|
7254
|
-
const memoize_1 = __webpack_require__(
|
|
7255
|
-
const dom_1 = __webpack_require__(
|
|
6548
|
+
const indexee_1 = __webpack_require__(5688);
|
|
6549
|
+
const util_1 = __webpack_require__(9224);
|
|
6550
|
+
const memoize_1 = __webpack_require__(276);
|
|
6551
|
+
const dom_1 = __webpack_require__(8200);
|
|
7256
6552
|
function* note(target, notes, opts = {}, bottom = null) {
|
|
7257
6553
|
yield* (0, exports.annotation)(target, notes?.annotations, opts, bottom);
|
|
7258
6554
|
yield* (0, exports.reference)(target, notes?.references, opts, bottom);
|
|
@@ -7408,7 +6704,7 @@ function equal(a, b) {
|
|
|
7408
6704
|
|
|
7409
6705
|
/***/ }),
|
|
7410
6706
|
|
|
7411
|
-
/***/
|
|
6707
|
+
/***/ 1284:
|
|
7412
6708
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7413
6709
|
|
|
7414
6710
|
"use strict";
|
|
@@ -7418,13 +6714,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7418
6714
|
value: true
|
|
7419
6715
|
}));
|
|
7420
6716
|
exports.validate = exports.segment = exports.MAX_INPUT_SIZE = exports.MAX_SEGMENT_SIZE = void 0;
|
|
7421
|
-
const parser_1 = __webpack_require__(
|
|
7422
|
-
const combinator_1 = __webpack_require__(
|
|
7423
|
-
const heading_1 = __webpack_require__(
|
|
7424
|
-
const codeblock_1 = __webpack_require__(
|
|
7425
|
-
const mathblock_1 = __webpack_require__(
|
|
7426
|
-
const extension_1 = __webpack_require__(
|
|
7427
|
-
const source_1 = __webpack_require__(
|
|
6717
|
+
const parser_1 = __webpack_require__(3232);
|
|
6718
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6719
|
+
const heading_1 = __webpack_require__(6700);
|
|
6720
|
+
const codeblock_1 = __webpack_require__(8912);
|
|
6721
|
+
const mathblock_1 = __webpack_require__(8748);
|
|
6722
|
+
const extension_1 = __webpack_require__(9536);
|
|
6723
|
+
const source_1 = __webpack_require__(4856);
|
|
7428
6724
|
exports.MAX_SEGMENT_SIZE = 100000; // 100,000 bytes (Max value size of FDB)
|
|
7429
6725
|
exports.MAX_INPUT_SIZE = exports.MAX_SEGMENT_SIZE * 10;
|
|
7430
6726
|
const parser = (0, combinator_1.union)([heading_1.segment, codeblock_1.segment, mathblock_1.segment, extension_1.segment, (0, combinator_1.some)(source_1.contentline, exports.MAX_SEGMENT_SIZE * 2), (0, combinator_1.some)(source_1.emptyline, exports.MAX_SEGMENT_SIZE * 2)]);
|
|
@@ -7452,7 +6748,7 @@ exports.validate = validate;
|
|
|
7452
6748
|
|
|
7453
6749
|
/***/ }),
|
|
7454
6750
|
|
|
7455
|
-
/***/
|
|
6751
|
+
/***/ 4856:
|
|
7456
6752
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7457
6753
|
|
|
7458
6754
|
"use strict";
|
|
@@ -7462,7 +6758,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7462
6758
|
value: true
|
|
7463
6759
|
}));
|
|
7464
6760
|
exports.anyline = exports.emptyline = exports.contentline = exports.str = exports.unescsource = exports.escsource = exports.linebreak = exports.txt = exports.text = void 0;
|
|
7465
|
-
var text_1 = __webpack_require__(
|
|
6761
|
+
var text_1 = __webpack_require__(2732);
|
|
7466
6762
|
Object.defineProperty(exports, "text", ({
|
|
7467
6763
|
enumerable: true,
|
|
7468
6764
|
get: function () {
|
|
@@ -7481,28 +6777,28 @@ Object.defineProperty(exports, "linebreak", ({
|
|
|
7481
6777
|
return text_1.linebreak;
|
|
7482
6778
|
}
|
|
7483
6779
|
}));
|
|
7484
|
-
var escapable_1 = __webpack_require__(
|
|
6780
|
+
var escapable_1 = __webpack_require__(7228);
|
|
7485
6781
|
Object.defineProperty(exports, "escsource", ({
|
|
7486
6782
|
enumerable: true,
|
|
7487
6783
|
get: function () {
|
|
7488
6784
|
return escapable_1.escsource;
|
|
7489
6785
|
}
|
|
7490
6786
|
}));
|
|
7491
|
-
var unescapable_1 = __webpack_require__(
|
|
6787
|
+
var unescapable_1 = __webpack_require__(3544);
|
|
7492
6788
|
Object.defineProperty(exports, "unescsource", ({
|
|
7493
6789
|
enumerable: true,
|
|
7494
6790
|
get: function () {
|
|
7495
6791
|
return unescapable_1.unescsource;
|
|
7496
6792
|
}
|
|
7497
6793
|
}));
|
|
7498
|
-
var str_1 = __webpack_require__(
|
|
6794
|
+
var str_1 = __webpack_require__(7976);
|
|
7499
6795
|
Object.defineProperty(exports, "str", ({
|
|
7500
6796
|
enumerable: true,
|
|
7501
6797
|
get: function () {
|
|
7502
6798
|
return str_1.str;
|
|
7503
6799
|
}
|
|
7504
6800
|
}));
|
|
7505
|
-
var line_1 = __webpack_require__(
|
|
6801
|
+
var line_1 = __webpack_require__(7020);
|
|
7506
6802
|
Object.defineProperty(exports, "contentline", ({
|
|
7507
6803
|
enumerable: true,
|
|
7508
6804
|
get: function () {
|
|
@@ -7524,7 +6820,7 @@ Object.defineProperty(exports, "anyline", ({
|
|
|
7524
6820
|
|
|
7525
6821
|
/***/ }),
|
|
7526
6822
|
|
|
7527
|
-
/***/
|
|
6823
|
+
/***/ 7228:
|
|
7528
6824
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7529
6825
|
|
|
7530
6826
|
"use strict";
|
|
@@ -7534,8 +6830,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7534
6830
|
value: true
|
|
7535
6831
|
}));
|
|
7536
6832
|
exports.escsource = void 0;
|
|
7537
|
-
const combinator_1 = __webpack_require__(
|
|
7538
|
-
const text_1 = __webpack_require__(
|
|
6833
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6834
|
+
const text_1 = __webpack_require__(2732);
|
|
7539
6835
|
const delimiter = /[\s\x00-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]/;
|
|
7540
6836
|
exports.escsource = (0, combinator_1.creation)(1, false, ({
|
|
7541
6837
|
source,
|
|
@@ -7573,7 +6869,7 @@ exports.escsource = (0, combinator_1.creation)(1, false, ({
|
|
|
7573
6869
|
|
|
7574
6870
|
/***/ }),
|
|
7575
6871
|
|
|
7576
|
-
/***/
|
|
6872
|
+
/***/ 7020:
|
|
7577
6873
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7578
6874
|
|
|
7579
6875
|
"use strict";
|
|
@@ -7583,14 +6879,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7583
6879
|
value: true
|
|
7584
6880
|
}));
|
|
7585
6881
|
exports.contentline = exports.emptyline = exports.anyline = void 0;
|
|
7586
|
-
const combinator_1 = __webpack_require__(
|
|
6882
|
+
const combinator_1 = __webpack_require__(7436);
|
|
7587
6883
|
exports.anyline = (0, combinator_1.line)(() => [[], '']);
|
|
7588
6884
|
exports.emptyline = (0, combinator_1.line)(i => (0, combinator_1.isBlank)(i.source) ? [[], ''] : undefined);
|
|
7589
6885
|
exports.contentline = (0, combinator_1.line)(i => !(0, combinator_1.isBlank)(i.source) ? [[], ''] : undefined);
|
|
7590
6886
|
|
|
7591
6887
|
/***/ }),
|
|
7592
6888
|
|
|
7593
|
-
/***/
|
|
6889
|
+
/***/ 7976:
|
|
7594
6890
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7595
6891
|
|
|
7596
6892
|
"use strict";
|
|
@@ -7600,7 +6896,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7600
6896
|
value: true
|
|
7601
6897
|
}));
|
|
7602
6898
|
exports.str = void 0;
|
|
7603
|
-
const combinator_1 = __webpack_require__(
|
|
6899
|
+
const combinator_1 = __webpack_require__(7436);
|
|
7604
6900
|
function str(pattern, not) {
|
|
7605
6901
|
return typeof pattern === 'string' ? (0, combinator_1.creation)(1, false, ({
|
|
7606
6902
|
source
|
|
@@ -7621,7 +6917,7 @@ exports.str = str;
|
|
|
7621
6917
|
|
|
7622
6918
|
/***/ }),
|
|
7623
6919
|
|
|
7624
|
-
/***/
|
|
6920
|
+
/***/ 2732:
|
|
7625
6921
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7626
6922
|
|
|
7627
6923
|
"use strict";
|
|
@@ -7631,9 +6927,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7631
6927
|
value: true
|
|
7632
6928
|
}));
|
|
7633
6929
|
exports.isAlphanumeric = exports.linebreak = exports.txt = exports.text = exports.nonAlphanumeric = exports.nonWhitespace = exports.delimiter = void 0;
|
|
7634
|
-
const combinator_1 = __webpack_require__(
|
|
7635
|
-
const str_1 = __webpack_require__(
|
|
7636
|
-
const dom_1 = __webpack_require__(
|
|
6930
|
+
const combinator_1 = __webpack_require__(7436);
|
|
6931
|
+
const str_1 = __webpack_require__(7976);
|
|
6932
|
+
const dom_1 = __webpack_require__(8200);
|
|
7637
6933
|
exports.delimiter = /[\s\x00-\x7F()[]{}“”‘’「」『』]|\S[#>]/u;
|
|
7638
6934
|
exports.nonWhitespace = /[\S\n]|$/u;
|
|
7639
6935
|
exports.nonAlphanumeric = /[^0-9A-Za-z]|\S[#>]|$/u;
|
|
@@ -7691,7 +6987,7 @@ exports.isAlphanumeric = isAlphanumeric;
|
|
|
7691
6987
|
|
|
7692
6988
|
/***/ }),
|
|
7693
6989
|
|
|
7694
|
-
/***/
|
|
6990
|
+
/***/ 3544:
|
|
7695
6991
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7696
6992
|
|
|
7697
6993
|
"use strict";
|
|
@@ -7701,8 +6997,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7701
6997
|
value: true
|
|
7702
6998
|
}));
|
|
7703
6999
|
exports.unescsource = void 0;
|
|
7704
|
-
const combinator_1 = __webpack_require__(
|
|
7705
|
-
const text_1 = __webpack_require__(
|
|
7000
|
+
const combinator_1 = __webpack_require__(7436);
|
|
7001
|
+
const text_1 = __webpack_require__(2732);
|
|
7706
7002
|
exports.unescsource = (0, combinator_1.creation)(1, false, ({
|
|
7707
7003
|
source,
|
|
7708
7004
|
context
|
|
@@ -7730,7 +7026,7 @@ exports.unescsource = (0, combinator_1.creation)(1, false, ({
|
|
|
7730
7026
|
|
|
7731
7027
|
/***/ }),
|
|
7732
7028
|
|
|
7733
|
-
/***/
|
|
7029
|
+
/***/ 9224:
|
|
7734
7030
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7735
7031
|
|
|
7736
7032
|
"use strict";
|
|
@@ -7740,8 +7036,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7740
7036
|
value: true
|
|
7741
7037
|
}));
|
|
7742
7038
|
exports.stringify = exports.unmarkInvalid = exports.markInvalid = exports.lineable = void 0;
|
|
7743
|
-
const combinator_1 = __webpack_require__(
|
|
7744
|
-
const dom_1 = __webpack_require__(
|
|
7039
|
+
const combinator_1 = __webpack_require__(7436);
|
|
7040
|
+
const dom_1 = __webpack_require__(8200);
|
|
7745
7041
|
function lineable(parser) {
|
|
7746
7042
|
return (0, combinator_1.convert)(source => `\r${source}`, parser);
|
|
7747
7043
|
}
|
|
@@ -7781,7 +7077,7 @@ exports.stringify = stringify;
|
|
|
7781
7077
|
|
|
7782
7078
|
/***/ }),
|
|
7783
7079
|
|
|
7784
|
-
/***/
|
|
7080
|
+
/***/ 5424:
|
|
7785
7081
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7786
7082
|
|
|
7787
7083
|
"use strict";
|
|
@@ -7791,13 +7087,13 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7791
7087
|
value: true
|
|
7792
7088
|
}));
|
|
7793
7089
|
exports.trimNodeEnd = exports.trimBlankStart = exports.trimBlank = exports.isStartTightNodes = exports.isStartLooseNodes = exports.startTight = exports.blankWith = exports.visualize = exports.blank = void 0;
|
|
7794
|
-
const parser_1 = __webpack_require__(
|
|
7795
|
-
const combinator_1 = __webpack_require__(
|
|
7796
|
-
const htmlentity_1 = __webpack_require__(
|
|
7797
|
-
const source_1 = __webpack_require__(
|
|
7798
|
-
const normalize_1 = __webpack_require__(
|
|
7799
|
-
const memoize_1 = __webpack_require__(
|
|
7800
|
-
const array_1 = __webpack_require__(
|
|
7090
|
+
const parser_1 = __webpack_require__(3232);
|
|
7091
|
+
const combinator_1 = __webpack_require__(7436);
|
|
7092
|
+
const htmlentity_1 = __webpack_require__(3740);
|
|
7093
|
+
const source_1 = __webpack_require__(4856);
|
|
7094
|
+
const normalize_1 = __webpack_require__(9588);
|
|
7095
|
+
const memoize_1 = __webpack_require__(276);
|
|
7096
|
+
const array_1 = __webpack_require__(8980);
|
|
7801
7097
|
var blank;
|
|
7802
7098
|
(function (blank) {
|
|
7803
7099
|
blank.line = new RegExp(/^(?:\\?[^\S\r\n]|&IHN;|<wbr[^\S\n]*>|\\$)+$/.source.replace('IHN', `(?:${normalize_1.invisibleHTMLEntityNames.join('|')})`), 'gm');
|
|
@@ -7818,7 +7114,6 @@ function hasVisible(nodes) {
|
|
|
7818
7114
|
// (node.classList.contains('media') || node.getElementsByClassName('media')[0])) return true;
|
|
7819
7115
|
}
|
|
7820
7116
|
}
|
|
7821
|
-
|
|
7822
7117
|
return false;
|
|
7823
7118
|
}
|
|
7824
7119
|
function blankWith(starting, delimiter) {
|
|
@@ -7955,7 +7250,7 @@ exports.trimNodeEnd = trimNodeEnd;
|
|
|
7955
7250
|
|
|
7956
7251
|
/***/ }),
|
|
7957
7252
|
|
|
7958
|
-
/***/
|
|
7253
|
+
/***/ 4652:
|
|
7959
7254
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7960
7255
|
|
|
7961
7256
|
"use strict";
|
|
@@ -7965,7 +7260,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7965
7260
|
value: true
|
|
7966
7261
|
}));
|
|
7967
7262
|
exports.render = void 0;
|
|
7968
|
-
var render_1 = __webpack_require__(
|
|
7263
|
+
var render_1 = __webpack_require__(8703);
|
|
7969
7264
|
Object.defineProperty(exports, "render", ({
|
|
7970
7265
|
enumerable: true,
|
|
7971
7266
|
get: function () {
|
|
@@ -7975,7 +7270,7 @@ Object.defineProperty(exports, "render", ({
|
|
|
7975
7270
|
|
|
7976
7271
|
/***/ }),
|
|
7977
7272
|
|
|
7978
|
-
/***/
|
|
7273
|
+
/***/ 8703:
|
|
7979
7274
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7980
7275
|
|
|
7981
7276
|
"use strict";
|
|
@@ -7985,11 +7280,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
7985
7280
|
value: true
|
|
7986
7281
|
}));
|
|
7987
7282
|
exports.render = void 0;
|
|
7988
|
-
const code_1 = __webpack_require__(
|
|
7989
|
-
const math_1 = __webpack_require__(
|
|
7990
|
-
const media_1 = __webpack_require__(
|
|
7991
|
-
const memoize_1 = __webpack_require__(
|
|
7992
|
-
const query_1 = __webpack_require__(
|
|
7283
|
+
const code_1 = __webpack_require__(9040);
|
|
7284
|
+
const math_1 = __webpack_require__(9856);
|
|
7285
|
+
const media_1 = __webpack_require__(5772);
|
|
7286
|
+
const memoize_1 = __webpack_require__(276);
|
|
7287
|
+
const query_1 = __webpack_require__(9252);
|
|
7993
7288
|
const selector = 'img.media:not(.invalid):not([src])[data-src], a > :not(img).media:not(.invalid), pre.code:not(.invalid), .math:not(.invalid)';
|
|
7994
7289
|
const extend = (0, memoize_1.reduce)(opts => ({
|
|
7995
7290
|
code: code_1.code,
|
|
@@ -8033,7 +7328,7 @@ function render_(base, source, opts) {
|
|
|
8033
7328
|
|
|
8034
7329
|
/***/ }),
|
|
8035
7330
|
|
|
8036
|
-
/***/
|
|
7331
|
+
/***/ 9040:
|
|
8037
7332
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8038
7333
|
|
|
8039
7334
|
"use strict";
|
|
@@ -8048,7 +7343,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8048
7343
|
value: true
|
|
8049
7344
|
}));
|
|
8050
7345
|
exports.code = void 0;
|
|
8051
|
-
const prismjs_1 = __importDefault(__webpack_require__(
|
|
7346
|
+
const prismjs_1 = __importDefault(__webpack_require__(9736));
|
|
8052
7347
|
function code(target, cache) {
|
|
8053
7348
|
const source = target.textContent;
|
|
8054
7349
|
prismjs_1.default.highlightElement(target, false, () => void cache?.set(`${target.getAttribute('data-lang') ?? ''}\n${source}`, target.cloneNode(true)));
|
|
@@ -8057,7 +7352,7 @@ exports.code = code;
|
|
|
8057
7352
|
|
|
8058
7353
|
/***/ }),
|
|
8059
7354
|
|
|
8060
|
-
/***/
|
|
7355
|
+
/***/ 9856:
|
|
8061
7356
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8062
7357
|
|
|
8063
7358
|
"use strict";
|
|
@@ -8067,7 +7362,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8067
7362
|
value: true
|
|
8068
7363
|
}));
|
|
8069
7364
|
exports.math = void 0;
|
|
8070
|
-
const dom_1 = __webpack_require__(
|
|
7365
|
+
const dom_1 = __webpack_require__(8200);
|
|
8071
7366
|
function math(target, cache) {
|
|
8072
7367
|
const source = target.textContent;
|
|
8073
7368
|
queue(target, () => {
|
|
@@ -8085,7 +7380,7 @@ async function queue(target, callback = () => undefined) {
|
|
|
8085
7380
|
|
|
8086
7381
|
/***/ }),
|
|
8087
7382
|
|
|
8088
|
-
/***/
|
|
7383
|
+
/***/ 5772:
|
|
8089
7384
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8090
7385
|
|
|
8091
7386
|
"use strict";
|
|
@@ -8095,14 +7390,14 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8095
7390
|
value: true
|
|
8096
7391
|
}));
|
|
8097
7392
|
exports.media = void 0;
|
|
8098
|
-
const twitter_1 = __webpack_require__(
|
|
8099
|
-
const youtube_1 = __webpack_require__(
|
|
8100
|
-
const pdf_1 = __webpack_require__(
|
|
8101
|
-
const video_1 = __webpack_require__(
|
|
8102
|
-
const audio_1 = __webpack_require__(
|
|
8103
|
-
const image_1 = __webpack_require__(
|
|
8104
|
-
const url_1 = __webpack_require__(
|
|
8105
|
-
const memoize_1 = __webpack_require__(
|
|
7393
|
+
const twitter_1 = __webpack_require__(2180);
|
|
7394
|
+
const youtube_1 = __webpack_require__(7954);
|
|
7395
|
+
const pdf_1 = __webpack_require__(7872);
|
|
7396
|
+
const video_1 = __webpack_require__(1488);
|
|
7397
|
+
const audio_1 = __webpack_require__(5323);
|
|
7398
|
+
const image_1 = __webpack_require__(7892);
|
|
7399
|
+
const url_1 = __webpack_require__(3800);
|
|
7400
|
+
const memoize_1 = __webpack_require__(276);
|
|
8106
7401
|
const extend = (0, memoize_1.reduce)(opts => ({
|
|
8107
7402
|
twitter: twitter_1.twitter,
|
|
8108
7403
|
youtube: youtube_1.youtube,
|
|
@@ -8121,7 +7416,7 @@ exports.media = media;
|
|
|
8121
7416
|
|
|
8122
7417
|
/***/ }),
|
|
8123
7418
|
|
|
8124
|
-
/***/
|
|
7419
|
+
/***/ 5323:
|
|
8125
7420
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8126
7421
|
|
|
8127
7422
|
"use strict";
|
|
@@ -8131,7 +7426,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8131
7426
|
value: true
|
|
8132
7427
|
}));
|
|
8133
7428
|
exports.audio = void 0;
|
|
8134
|
-
const dom_1 = __webpack_require__(
|
|
7429
|
+
const dom_1 = __webpack_require__(8200);
|
|
8135
7430
|
const extensions = ['.oga', '.ogg'];
|
|
8136
7431
|
function audio(source, url) {
|
|
8137
7432
|
if (!extensions.includes(url.pathname.split(/(?=\.)/).pop())) return;
|
|
@@ -8147,7 +7442,7 @@ exports.audio = audio;
|
|
|
8147
7442
|
|
|
8148
7443
|
/***/ }),
|
|
8149
7444
|
|
|
8150
|
-
/***/
|
|
7445
|
+
/***/ 7892:
|
|
8151
7446
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8152
7447
|
|
|
8153
7448
|
"use strict";
|
|
@@ -8157,7 +7452,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8157
7452
|
value: true
|
|
8158
7453
|
}));
|
|
8159
7454
|
exports.image = void 0;
|
|
8160
|
-
const dom_1 = __webpack_require__(
|
|
7455
|
+
const dom_1 = __webpack_require__(8200);
|
|
8161
7456
|
function image(source, url, cache) {
|
|
8162
7457
|
if (cache?.has(url.href)) return (0, dom_1.define)(cache.get(url.href).cloneNode(true), Object.fromEntries([...source.attributes].map(attr => [attr.name, attr.value])));
|
|
8163
7458
|
(0, dom_1.define)(source, {
|
|
@@ -8172,7 +7467,7 @@ exports.image = image;
|
|
|
8172
7467
|
|
|
8173
7468
|
/***/ }),
|
|
8174
7469
|
|
|
8175
|
-
/***/
|
|
7470
|
+
/***/ 7872:
|
|
8176
7471
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8177
7472
|
|
|
8178
7473
|
"use strict";
|
|
@@ -8182,8 +7477,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8182
7477
|
value: true
|
|
8183
7478
|
}));
|
|
8184
7479
|
exports.pdf = void 0;
|
|
8185
|
-
const parser_1 = __webpack_require__(
|
|
8186
|
-
const dom_1 = __webpack_require__(
|
|
7480
|
+
const parser_1 = __webpack_require__(8112);
|
|
7481
|
+
const dom_1 = __webpack_require__(8200);
|
|
8187
7482
|
const extensions = ['.pdf'];
|
|
8188
7483
|
function pdf(source, url) {
|
|
8189
7484
|
if (!extensions.includes(url.pathname.split(/(?=\.)/).pop())) return;
|
|
@@ -8202,7 +7497,7 @@ exports.pdf = pdf;
|
|
|
8202
7497
|
|
|
8203
7498
|
/***/ }),
|
|
8204
7499
|
|
|
8205
|
-
/***/
|
|
7500
|
+
/***/ 2180:
|
|
8206
7501
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8207
7502
|
|
|
8208
7503
|
"use strict";
|
|
@@ -8217,9 +7512,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8217
7512
|
value: true
|
|
8218
7513
|
}));
|
|
8219
7514
|
exports.twitter = void 0;
|
|
8220
|
-
const parser_1 = __webpack_require__(
|
|
8221
|
-
const dom_1 = __webpack_require__(
|
|
8222
|
-
const dompurify_1 = __importDefault(__webpack_require__(
|
|
7515
|
+
const parser_1 = __webpack_require__(8112);
|
|
7516
|
+
const dom_1 = __webpack_require__(8200);
|
|
7517
|
+
const dompurify_1 = __importDefault(__webpack_require__(2282));
|
|
8223
7518
|
const origins = ['https://twitter.com'];
|
|
8224
7519
|
function twitter(source, url) {
|
|
8225
7520
|
if (!origins.includes(url.origin)) return;
|
|
@@ -8261,7 +7556,7 @@ exports.twitter = twitter;
|
|
|
8261
7556
|
|
|
8262
7557
|
/***/ }),
|
|
8263
7558
|
|
|
8264
|
-
/***/
|
|
7559
|
+
/***/ 1488:
|
|
8265
7560
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8266
7561
|
|
|
8267
7562
|
"use strict";
|
|
@@ -8271,7 +7566,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8271
7566
|
value: true
|
|
8272
7567
|
}));
|
|
8273
7568
|
exports.video = void 0;
|
|
8274
|
-
const dom_1 = __webpack_require__(
|
|
7569
|
+
const dom_1 = __webpack_require__(8200);
|
|
8275
7570
|
const extensions = ['.webm', '.ogv'];
|
|
8276
7571
|
function video(source, url) {
|
|
8277
7572
|
if (!extensions.includes(url.pathname.split(/(?=\.)/).pop())) return;
|
|
@@ -8288,7 +7583,7 @@ exports.video = video;
|
|
|
8288
7583
|
|
|
8289
7584
|
/***/ }),
|
|
8290
7585
|
|
|
8291
|
-
/***/
|
|
7586
|
+
/***/ 7954:
|
|
8292
7587
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8293
7588
|
|
|
8294
7589
|
"use strict";
|
|
@@ -8298,7 +7593,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8298
7593
|
value: true
|
|
8299
7594
|
}));
|
|
8300
7595
|
exports.youtube = void 0;
|
|
8301
|
-
const dom_1 = __webpack_require__(
|
|
7596
|
+
const dom_1 = __webpack_require__(8200);
|
|
8302
7597
|
function youtube(source, url) {
|
|
8303
7598
|
const id = resolve(url);
|
|
8304
7599
|
if (!id) return;
|
|
@@ -8325,7 +7620,7 @@ function resolve(url) {
|
|
|
8325
7620
|
|
|
8326
7621
|
/***/ }),
|
|
8327
7622
|
|
|
8328
|
-
/***/
|
|
7623
|
+
/***/ 9108:
|
|
8329
7624
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8330
7625
|
|
|
8331
7626
|
"use strict";
|
|
@@ -8335,28 +7630,28 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8335
7630
|
value: true
|
|
8336
7631
|
}));
|
|
8337
7632
|
exports.scope = exports.info = exports.toc = exports.quote = void 0;
|
|
8338
|
-
var quote_1 = __webpack_require__(
|
|
7633
|
+
var quote_1 = __webpack_require__(3120);
|
|
8339
7634
|
Object.defineProperty(exports, "quote", ({
|
|
8340
7635
|
enumerable: true,
|
|
8341
7636
|
get: function () {
|
|
8342
7637
|
return quote_1.quote;
|
|
8343
7638
|
}
|
|
8344
7639
|
}));
|
|
8345
|
-
var toc_1 = __webpack_require__(
|
|
7640
|
+
var toc_1 = __webpack_require__(6244);
|
|
8346
7641
|
Object.defineProperty(exports, "toc", ({
|
|
8347
7642
|
enumerable: true,
|
|
8348
7643
|
get: function () {
|
|
8349
7644
|
return toc_1.toc;
|
|
8350
7645
|
}
|
|
8351
7646
|
}));
|
|
8352
|
-
var info_1 = __webpack_require__(
|
|
7647
|
+
var info_1 = __webpack_require__(3888);
|
|
8353
7648
|
Object.defineProperty(exports, "info", ({
|
|
8354
7649
|
enumerable: true,
|
|
8355
7650
|
get: function () {
|
|
8356
7651
|
return info_1.info;
|
|
8357
7652
|
}
|
|
8358
7653
|
}));
|
|
8359
|
-
var scope_1 = __webpack_require__(
|
|
7654
|
+
var scope_1 = __webpack_require__(20);
|
|
8360
7655
|
Object.defineProperty(exports, "scope", ({
|
|
8361
7656
|
enumerable: true,
|
|
8362
7657
|
get: function () {
|
|
@@ -8366,7 +7661,7 @@ Object.defineProperty(exports, "scope", ({
|
|
|
8366
7661
|
|
|
8367
7662
|
/***/ }),
|
|
8368
7663
|
|
|
8369
|
-
/***/
|
|
7664
|
+
/***/ 3888:
|
|
8370
7665
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8371
7666
|
|
|
8372
7667
|
"use strict";
|
|
@@ -8376,7 +7671,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8376
7671
|
value: true
|
|
8377
7672
|
}));
|
|
8378
7673
|
exports.info = void 0;
|
|
8379
|
-
const scope_1 = __webpack_require__(
|
|
7674
|
+
const scope_1 = __webpack_require__(20);
|
|
8380
7675
|
function info(source) {
|
|
8381
7676
|
const match = (0, scope_1.scope)(source, '.invalid');
|
|
8382
7677
|
return {
|
|
@@ -8404,7 +7699,7 @@ exports.info = info;
|
|
|
8404
7699
|
|
|
8405
7700
|
/***/ }),
|
|
8406
7701
|
|
|
8407
|
-
/***/
|
|
7702
|
+
/***/ 3120:
|
|
8408
7703
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8409
7704
|
|
|
8410
7705
|
"use strict";
|
|
@@ -8414,8 +7709,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8414
7709
|
value: true
|
|
8415
7710
|
}));
|
|
8416
7711
|
exports.quote = void 0;
|
|
8417
|
-
const parser_1 = __webpack_require__(
|
|
8418
|
-
const cite_1 = __webpack_require__(
|
|
7712
|
+
const parser_1 = __webpack_require__(3232);
|
|
7713
|
+
const cite_1 = __webpack_require__(1632);
|
|
8419
7714
|
//import { url } from '../parser/inline/autolink/url';
|
|
8420
7715
|
function quote(anchor, range) {
|
|
8421
7716
|
if ((0, parser_1.exec)((0, cite_1.cite)({
|
|
@@ -8499,7 +7794,7 @@ function trim(node) {
|
|
|
8499
7794
|
|
|
8500
7795
|
/***/ }),
|
|
8501
7796
|
|
|
8502
|
-
/***/
|
|
7797
|
+
/***/ 20:
|
|
8503
7798
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8504
7799
|
|
|
8505
7800
|
"use strict";
|
|
@@ -8530,7 +7825,7 @@ exports.scope = scope;
|
|
|
8530
7825
|
|
|
8531
7826
|
/***/ }),
|
|
8532
7827
|
|
|
8533
|
-
/***/
|
|
7828
|
+
/***/ 6244:
|
|
8534
7829
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8535
7830
|
|
|
8536
7831
|
"use strict";
|
|
@@ -8540,8 +7835,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
8540
7835
|
value: true
|
|
8541
7836
|
}));
|
|
8542
7837
|
exports.toc = void 0;
|
|
8543
|
-
const array_1 = __webpack_require__(
|
|
8544
|
-
const dom_1 = __webpack_require__(
|
|
7838
|
+
const array_1 = __webpack_require__(8980);
|
|
7839
|
+
const dom_1 = __webpack_require__(8200);
|
|
8545
7840
|
const selector = ':is(h1, h2, h3, h4, h5, h6, aside.aside)[id]';
|
|
8546
7841
|
function toc(source) {
|
|
8547
7842
|
const hs = [];
|
|
@@ -8592,7 +7887,7 @@ function unlink(h) {
|
|
|
8592
7887
|
|
|
8593
7888
|
/***/ }),
|
|
8594
7889
|
|
|
8595
|
-
/***/
|
|
7890
|
+
/***/ 8200:
|
|
8596
7891
|
/***/ (function(module) {
|
|
8597
7892
|
|
|
8598
7893
|
/*! typed-dom v0.0.348 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
|
|
@@ -8960,7 +8255,7 @@ exports.defrag = defrag;
|
|
|
8960
8255
|
|
|
8961
8256
|
/***/ }),
|
|
8962
8257
|
|
|
8963
|
-
/***/
|
|
8258
|
+
/***/ 9252:
|
|
8964
8259
|
/***/ (function(module) {
|
|
8965
8260
|
|
|
8966
8261
|
/*! typed-dom v0.0.348 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
|
|
@@ -9013,19 +8308,19 @@ exports.querySelectorAll = querySelectorAll;
|
|
|
9013
8308
|
|
|
9014
8309
|
/***/ }),
|
|
9015
8310
|
|
|
9016
|
-
/***/
|
|
8311
|
+
/***/ 2282:
|
|
9017
8312
|
/***/ ((module) => {
|
|
9018
8313
|
|
|
9019
8314
|
"use strict";
|
|
9020
|
-
module.exports =
|
|
8315
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2282__;
|
|
9021
8316
|
|
|
9022
8317
|
/***/ }),
|
|
9023
8318
|
|
|
9024
|
-
/***/
|
|
8319
|
+
/***/ 9736:
|
|
9025
8320
|
/***/ ((module) => {
|
|
9026
8321
|
|
|
9027
8322
|
"use strict";
|
|
9028
|
-
module.exports =
|
|
8323
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9736__;
|
|
9029
8324
|
|
|
9030
8325
|
/***/ })
|
|
9031
8326
|
|
|
@@ -9073,7 +8368,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9450__;
|
|
|
9073
8368
|
/******/ // startup
|
|
9074
8369
|
/******/ // Load entry module and return exports
|
|
9075
8370
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
9076
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
8371
|
+
/******/ var __webpack_exports__ = __webpack_require__(8207);
|
|
9077
8372
|
/******/
|
|
9078
8373
|
/******/ return __webpack_exports__;
|
|
9079
8374
|
/******/ })()
|