securemark 0.219.3 → 0.222.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/securemark.js +669 -560
- package/package-lock.json +392 -867
- package/package.json +12 -12
- package/src/combinator/control/manipulation/fallback.ts +8 -0
- package/src/combinator/control/manipulation/fence.ts +1 -1
- package/src/combinator/control/manipulation/indent.test.ts +0 -1
- package/src/combinator/control/manipulation/indent.ts +1 -1
- package/src/combinator/control/manipulation/recovery.ts +2 -2
- package/src/combinator.ts +1 -0
- package/src/parser/api/normalize.test.ts +9 -6
- package/src/parser/api/normalize.ts +30 -29
- package/src/parser/block/ilist.ts +4 -2
- package/src/parser/block/olist.test.ts +9 -8
- package/src/parser/block/olist.ts +21 -4
- package/src/parser/block/paragraph/mention/cite.ts +3 -3
- package/src/parser/block/table.test.ts +1 -1
- package/src/parser/block/table.ts +19 -9
- package/src/parser/block/ulist.test.ts +6 -5
- package/src/parser/block/ulist.ts +13 -2
- package/src/parser/block.ts +5 -7
- package/src/parser/inline/comment.test.ts +3 -0
- package/src/parser/inline/comment.ts +6 -5
- package/src/parser/inline/html.test.ts +13 -13
- package/src/parser/inline/link.test.ts +3 -3
- package/src/parser/inline/link.ts +2 -2
- package/src/parser/util.ts +3 -4
- package/src/renderer/render/math.ts +1 -1
- package/tsconfig.json +6 -0
package/dist/securemark.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! securemark v0.
|
|
1
|
+
/*! securemark v0.222.0 https://github.com/falsandtru/securemark | (c) 2017, falsandtru | UNLICENSED */
|
|
2
2
|
require = function () {
|
|
3
3
|
function r(e, n, t) {
|
|
4
4
|
function o(i, f) {
|
|
@@ -869,10 +869,11 @@ require = function () {
|
|
|
869
869
|
function (_dereq_, module, exports) {
|
|
870
870
|
'use strict';
|
|
871
871
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
872
|
-
exports.run = exports.clear = exports.mapReturn = exports.mapParameters = exports.
|
|
872
|
+
exports.run = exports.clear = exports.mapReturn = exports.mapParameters = exports.singleton = void 0;
|
|
873
873
|
const global_1 = _dereq_('./global');
|
|
874
|
+
const exception_1 = _dereq_('./exception');
|
|
874
875
|
const noop_1 = _dereq_('./noop');
|
|
875
|
-
function
|
|
876
|
+
function singleton(f) {
|
|
876
877
|
let result;
|
|
877
878
|
return function (...as) {
|
|
878
879
|
if (f === noop_1.noop)
|
|
@@ -882,7 +883,7 @@ require = function () {
|
|
|
882
883
|
return result;
|
|
883
884
|
};
|
|
884
885
|
}
|
|
885
|
-
exports.
|
|
886
|
+
exports.singleton = singleton;
|
|
886
887
|
function mapParameters(f, g) {
|
|
887
888
|
return (...as) => f(...g(...as));
|
|
888
889
|
}
|
|
@@ -903,19 +904,32 @@ require = function () {
|
|
|
903
904
|
}
|
|
904
905
|
} catch (reason) {
|
|
905
906
|
for (let i = 0; gs[i]; ++i) {
|
|
906
|
-
|
|
907
|
+
try {
|
|
908
|
+
gs[i]();
|
|
909
|
+
} catch (reason) {
|
|
910
|
+
(0, exception_1.causeAsyncException)(reason);
|
|
911
|
+
}
|
|
907
912
|
}
|
|
908
913
|
throw reason;
|
|
909
914
|
}
|
|
910
|
-
return
|
|
915
|
+
return singleton(() => {
|
|
916
|
+
const rs = [];
|
|
911
917
|
for (let i = 0; gs[i]; ++i) {
|
|
912
|
-
|
|
918
|
+
try {
|
|
919
|
+
gs[i]();
|
|
920
|
+
} catch (reason) {
|
|
921
|
+
rs.push(reason);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
if (rs.length > 0) {
|
|
925
|
+
throw new AggregateError(rs);
|
|
913
926
|
}
|
|
914
927
|
});
|
|
915
928
|
}
|
|
916
929
|
exports.run = run;
|
|
917
930
|
},
|
|
918
931
|
{
|
|
932
|
+
'./exception': 14,
|
|
919
933
|
'./global': 17,
|
|
920
934
|
'./noop': 22
|
|
921
935
|
}
|
|
@@ -2151,7 +2165,7 @@ require = function () {
|
|
|
2151
2165
|
}
|
|
2152
2166
|
exports.join = join;
|
|
2153
2167
|
},
|
|
2154
|
-
{ './global':
|
|
2168
|
+
{ './global': 9 }
|
|
2155
2169
|
],
|
|
2156
2170
|
6: [
|
|
2157
2171
|
function (_dereq_, module, exports) {
|
|
@@ -2169,10 +2183,23 @@ require = function () {
|
|
|
2169
2183
|
function (_dereq_, module, exports) {
|
|
2170
2184
|
'use strict';
|
|
2171
2185
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2172
|
-
exports.
|
|
2186
|
+
exports.causeAsyncException = void 0;
|
|
2187
|
+
function causeAsyncException(reason) {
|
|
2188
|
+
void Promise.reject(reason);
|
|
2189
|
+
}
|
|
2190
|
+
exports.causeAsyncException = causeAsyncException;
|
|
2191
|
+
},
|
|
2192
|
+
{}
|
|
2193
|
+
],
|
|
2194
|
+
8: [
|
|
2195
|
+
function (_dereq_, module, exports) {
|
|
2196
|
+
'use strict';
|
|
2197
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2198
|
+
exports.run = exports.clear = exports.mapReturn = exports.mapParameters = exports.singleton = void 0;
|
|
2173
2199
|
const global_1 = _dereq_('./global');
|
|
2200
|
+
const exception_1 = _dereq_('./exception');
|
|
2174
2201
|
const noop_1 = _dereq_('./noop');
|
|
2175
|
-
function
|
|
2202
|
+
function singleton(f) {
|
|
2176
2203
|
let result;
|
|
2177
2204
|
return function (...as) {
|
|
2178
2205
|
if (f === noop_1.noop)
|
|
@@ -2182,7 +2209,7 @@ require = function () {
|
|
|
2182
2209
|
return result;
|
|
2183
2210
|
};
|
|
2184
2211
|
}
|
|
2185
|
-
exports.
|
|
2212
|
+
exports.singleton = singleton;
|
|
2186
2213
|
function mapParameters(f, g) {
|
|
2187
2214
|
return (...as) => f(...g(...as));
|
|
2188
2215
|
}
|
|
@@ -2203,24 +2230,37 @@ require = function () {
|
|
|
2203
2230
|
}
|
|
2204
2231
|
} catch (reason) {
|
|
2205
2232
|
for (let i = 0; gs[i]; ++i) {
|
|
2206
|
-
|
|
2233
|
+
try {
|
|
2234
|
+
gs[i]();
|
|
2235
|
+
} catch (reason) {
|
|
2236
|
+
(0, exception_1.causeAsyncException)(reason);
|
|
2237
|
+
}
|
|
2207
2238
|
}
|
|
2208
2239
|
throw reason;
|
|
2209
2240
|
}
|
|
2210
|
-
return
|
|
2241
|
+
return singleton(() => {
|
|
2242
|
+
const rs = [];
|
|
2211
2243
|
for (let i = 0; gs[i]; ++i) {
|
|
2212
|
-
|
|
2244
|
+
try {
|
|
2245
|
+
gs[i]();
|
|
2246
|
+
} catch (reason) {
|
|
2247
|
+
rs.push(reason);
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
if (rs.length > 0) {
|
|
2251
|
+
throw new AggregateError(rs);
|
|
2213
2252
|
}
|
|
2214
2253
|
});
|
|
2215
2254
|
}
|
|
2216
2255
|
exports.run = run;
|
|
2217
2256
|
},
|
|
2218
2257
|
{
|
|
2219
|
-
'./
|
|
2220
|
-
'./
|
|
2258
|
+
'./exception': 7,
|
|
2259
|
+
'./global': 9,
|
|
2260
|
+
'./noop': 11
|
|
2221
2261
|
}
|
|
2222
2262
|
],
|
|
2223
|
-
|
|
2263
|
+
9: [
|
|
2224
2264
|
function (_dereq_, module, exports) {
|
|
2225
2265
|
'use strict';
|
|
2226
2266
|
const global = void 0 || typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || Function('return this')();
|
|
@@ -2229,7 +2269,7 @@ require = function () {
|
|
|
2229
2269
|
},
|
|
2230
2270
|
{}
|
|
2231
2271
|
],
|
|
2232
|
-
|
|
2272
|
+
10: [
|
|
2233
2273
|
function (_dereq_, module, exports) {
|
|
2234
2274
|
'use strict';
|
|
2235
2275
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -2270,10 +2310,10 @@ require = function () {
|
|
|
2270
2310
|
},
|
|
2271
2311
|
{
|
|
2272
2312
|
'./compare': 6,
|
|
2273
|
-
'./global':
|
|
2313
|
+
'./global': 9
|
|
2274
2314
|
}
|
|
2275
2315
|
],
|
|
2276
|
-
|
|
2316
|
+
11: [
|
|
2277
2317
|
function (_dereq_, module, exports) {
|
|
2278
2318
|
'use strict';
|
|
2279
2319
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -2284,7 +2324,7 @@ require = function () {
|
|
|
2284
2324
|
},
|
|
2285
2325
|
{}
|
|
2286
2326
|
],
|
|
2287
|
-
|
|
2327
|
+
12: [
|
|
2288
2328
|
function (_dereq_, module, exports) {
|
|
2289
2329
|
'use strict';
|
|
2290
2330
|
var _a, _b;
|
|
@@ -2631,11 +2671,11 @@ require = function () {
|
|
|
2631
2671
|
},
|
|
2632
2672
|
{
|
|
2633
2673
|
'./alias': 4,
|
|
2634
|
-
'./global':
|
|
2635
|
-
'./noop':
|
|
2674
|
+
'./global': 9,
|
|
2675
|
+
'./noop': 11
|
|
2636
2676
|
}
|
|
2637
2677
|
],
|
|
2638
|
-
|
|
2678
|
+
13: [
|
|
2639
2679
|
function (_dereq_, module, exports) {
|
|
2640
2680
|
'use strict';
|
|
2641
2681
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -2717,9 +2757,9 @@ require = function () {
|
|
|
2717
2757
|
}
|
|
2718
2758
|
}
|
|
2719
2759
|
},
|
|
2720
|
-
{ './global':
|
|
2760
|
+
{ './global': 9 }
|
|
2721
2761
|
],
|
|
2722
|
-
|
|
2762
|
+
14: [
|
|
2723
2763
|
function (_dereq_, module, exports) {
|
|
2724
2764
|
'use strict';
|
|
2725
2765
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -2763,7 +2803,7 @@ require = function () {
|
|
|
2763
2803
|
return true;
|
|
2764
2804
|
}
|
|
2765
2805
|
function elem(factory, attrs, children) {
|
|
2766
|
-
const el = factory ? (0, dom_1.define)(factory(baseFactory, tag, attrs
|
|
2806
|
+
const el = factory ? (0, dom_1.define)(factory(baseFactory, tag, attrs !== null && attrs !== void 0 ? attrs : {}, children), attrs) : baseFactory(tag, attrs);
|
|
2767
2807
|
if (tag !== el.tagName.toLowerCase())
|
|
2768
2808
|
throw new Error(`TypedDOM: Expected tag name is "${ tag }" but actually "${ el.tagName.toLowerCase() }".`);
|
|
2769
2809
|
return el;
|
|
@@ -2772,12 +2812,12 @@ require = function () {
|
|
|
2772
2812
|
}
|
|
2773
2813
|
},
|
|
2774
2814
|
{
|
|
2775
|
-
'./proxy':
|
|
2776
|
-
'./util/dom':
|
|
2815
|
+
'./proxy': 15,
|
|
2816
|
+
'./util/dom': 16,
|
|
2777
2817
|
'spica/alias': 4
|
|
2778
2818
|
}
|
|
2779
2819
|
],
|
|
2780
|
-
|
|
2820
|
+
15: [
|
|
2781
2821
|
function (_dereq_, module, exports) {
|
|
2782
2822
|
'use strict';
|
|
2783
2823
|
var _a, _b, _c, _d;
|
|
@@ -3081,14 +3121,14 @@ require = function () {
|
|
|
3081
3121
|
}
|
|
3082
3122
|
},
|
|
3083
3123
|
{
|
|
3084
|
-
'./util/dom':
|
|
3085
|
-
'./util/identity':
|
|
3124
|
+
'./util/dom': 16,
|
|
3125
|
+
'./util/identity': 17,
|
|
3086
3126
|
'spica/alias': 4,
|
|
3087
3127
|
'spica/array': 5,
|
|
3088
|
-
'spica/global':
|
|
3128
|
+
'spica/global': 9
|
|
3089
3129
|
}
|
|
3090
3130
|
],
|
|
3091
|
-
|
|
3131
|
+
16: [
|
|
3092
3132
|
function (_dereq_, module, exports) {
|
|
3093
3133
|
'use strict';
|
|
3094
3134
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3096,19 +3136,19 @@ require = function () {
|
|
|
3096
3136
|
const global_1 = _dereq_('spica/global');
|
|
3097
3137
|
const alias_1 = _dereq_('spica/alias');
|
|
3098
3138
|
const memoize_1 = _dereq_('spica/memoize');
|
|
3099
|
-
const array_1 = _dereq_('spica/array');
|
|
3100
3139
|
var caches;
|
|
3101
3140
|
(function (caches) {
|
|
3102
3141
|
caches.shadows = new WeakMap();
|
|
3103
3142
|
caches.fragment = global_1.document.createDocumentFragment();
|
|
3104
3143
|
}(caches || (caches = {})));
|
|
3105
3144
|
function shadow(el, children, opts) {
|
|
3145
|
+
var _a, _b;
|
|
3106
3146
|
if (typeof el === 'string')
|
|
3107
3147
|
return shadow((0, exports.html)(el), children, opts);
|
|
3108
3148
|
if (children && !isChildren(children))
|
|
3109
3149
|
return shadow(el, void 0, children);
|
|
3110
|
-
const root = opts === void 0 ? el.shadowRoot
|
|
3111
|
-
return defineChildren(!opts || opts.mode === 'open' ? root
|
|
3150
|
+
const root = opts === void 0 ? (_a = el.shadowRoot) !== null && _a !== void 0 ? _a : caches.shadows.get(el) : opts.mode === 'open' ? (_b = el.shadowRoot) !== null && _b !== void 0 ? _b : void 0 : caches.shadows.get(el);
|
|
3151
|
+
return defineChildren(!opts || opts.mode === 'open' ? root !== null && root !== void 0 ? root : el.attachShadow(opts !== null && opts !== void 0 ? opts : { mode: 'open' }) : root !== null && root !== void 0 ? root : caches.shadows.set(el, el.attachShadow(opts)).get(el), !root && children === void 0 ? el.childNodes : children);
|
|
3112
3152
|
}
|
|
3113
3153
|
exports.shadow = shadow;
|
|
3114
3154
|
function frag(children) {
|
|
@@ -3179,7 +3219,9 @@ require = function () {
|
|
|
3179
3219
|
return el;
|
|
3180
3220
|
}
|
|
3181
3221
|
function defineChildren(node, children) {
|
|
3182
|
-
|
|
3222
|
+
if (children === void 0)
|
|
3223
|
+
return node;
|
|
3224
|
+
node.replaceChildren(...typeof children === 'string' ? [children] : children);
|
|
3183
3225
|
return node;
|
|
3184
3226
|
}
|
|
3185
3227
|
function isChildren(o) {
|
|
@@ -3200,12 +3242,11 @@ require = function () {
|
|
|
3200
3242
|
},
|
|
3201
3243
|
{
|
|
3202
3244
|
'spica/alias': 4,
|
|
3203
|
-
'spica/
|
|
3204
|
-
'spica/
|
|
3205
|
-
'spica/memoize': 9
|
|
3245
|
+
'spica/global': 9,
|
|
3246
|
+
'spica/memoize': 10
|
|
3206
3247
|
}
|
|
3207
3248
|
],
|
|
3208
|
-
|
|
3249
|
+
17: [
|
|
3209
3250
|
function (_dereq_, module, exports) {
|
|
3210
3251
|
'use strict';
|
|
3211
3252
|
var _a;
|
|
@@ -3217,11 +3258,11 @@ require = function () {
|
|
|
3217
3258
|
exports.identity = (0, random_1.unique)(random_1.rnd0Z, 2, (_a = global_1.global[ids]) !== null && _a !== void 0 ? _a : global_1.global[ids] = new global_1.Set());
|
|
3218
3259
|
},
|
|
3219
3260
|
{
|
|
3220
|
-
'spica/global':
|
|
3221
|
-
'spica/random':
|
|
3261
|
+
'spica/global': 9,
|
|
3262
|
+
'spica/random': 13
|
|
3222
3263
|
}
|
|
3223
3264
|
],
|
|
3224
|
-
|
|
3265
|
+
18: [
|
|
3225
3266
|
function (_dereq_, module, exports) {
|
|
3226
3267
|
'use strict';
|
|
3227
3268
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3254,7 +3295,7 @@ require = function () {
|
|
|
3254
3295
|
var _a, _b;
|
|
3255
3296
|
unbind();
|
|
3256
3297
|
const cx = ev.target.shadowRoot ? (_a = ev.composedPath()[0]) === null || _a === void 0 ? void 0 : _a.closest(selector) : (_b = ev.target) === null || _b === void 0 ? void 0 : _b.closest(selector);
|
|
3257
|
-
return cx ? unbind = once(cx, type, listener, option) : void 0
|
|
3298
|
+
return cx ? unbind = once(cx, type, listener, option) : void 0;
|
|
3258
3299
|
}, {
|
|
3259
3300
|
...option,
|
|
3260
3301
|
capture: true
|
|
@@ -3263,20 +3304,21 @@ require = function () {
|
|
|
3263
3304
|
exports.delegate = delegate;
|
|
3264
3305
|
function bind(target, type, listener, option = false) {
|
|
3265
3306
|
target.addEventListener(type, handler, option);
|
|
3266
|
-
return (0, function_1.
|
|
3307
|
+
return (0, function_1.singleton)(() => void target.removeEventListener(type, handler, option));
|
|
3267
3308
|
function handler(ev) {
|
|
3268
|
-
|
|
3309
|
+
ev[exports.currentTarget] = ev.currentTarget;
|
|
3310
|
+
return listener(ev);
|
|
3269
3311
|
}
|
|
3270
3312
|
}
|
|
3271
3313
|
exports.bind = bind;
|
|
3272
3314
|
},
|
|
3273
3315
|
{
|
|
3274
|
-
'spica/function':
|
|
3275
|
-
'spica/noop':
|
|
3276
|
-
'spica/promise':
|
|
3316
|
+
'spica/function': 8,
|
|
3317
|
+
'spica/noop': 11,
|
|
3318
|
+
'spica/promise': 12
|
|
3277
3319
|
}
|
|
3278
3320
|
],
|
|
3279
|
-
|
|
3321
|
+
19: [
|
|
3280
3322
|
function (_dereq_, module, exports) {
|
|
3281
3323
|
'use strict';
|
|
3282
3324
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3291,7 +3333,7 @@ require = function () {
|
|
|
3291
3333
|
}
|
|
3292
3334
|
exports.apply = apply;
|
|
3293
3335
|
},
|
|
3294
|
-
{ './dom':
|
|
3336
|
+
{ './dom': 16 }
|
|
3295
3337
|
],
|
|
3296
3338
|
'typed-dom': [
|
|
3297
3339
|
function (_dereq_, module, exports) {
|
|
@@ -3433,13 +3475,13 @@ require = function () {
|
|
|
3433
3475
|
});
|
|
3434
3476
|
},
|
|
3435
3477
|
{
|
|
3436
|
-
'./src/builder':
|
|
3437
|
-
'./src/proxy':
|
|
3438
|
-
'./src/util/dom':
|
|
3439
|
-
'./src/util/identity':
|
|
3440
|
-
'./src/util/listener':
|
|
3441
|
-
'./src/util/query':
|
|
3442
|
-
'spica/global':
|
|
3478
|
+
'./src/builder': 14,
|
|
3479
|
+
'./src/proxy': 15,
|
|
3480
|
+
'./src/util/dom': 16,
|
|
3481
|
+
'./src/util/identity': 17,
|
|
3482
|
+
'./src/util/listener': 18,
|
|
3483
|
+
'./src/util/query': 19,
|
|
3484
|
+
'spica/global': 9
|
|
3443
3485
|
}
|
|
3444
3486
|
]
|
|
3445
3487
|
}, {}, [
|
|
@@ -3505,6 +3547,7 @@ require = function () {
|
|
|
3505
3547
|
__exportStar(_dereq_('./combinator/control/manipulation/trim'), exports);
|
|
3506
3548
|
__exportStar(_dereq_('./combinator/control/manipulation/duplicate'), exports);
|
|
3507
3549
|
__exportStar(_dereq_('./combinator/control/manipulation/reverse'), exports);
|
|
3550
|
+
__exportStar(_dereq_('./combinator/control/manipulation/fallback'), exports);
|
|
3508
3551
|
__exportStar(_dereq_('./combinator/control/manipulation/recovery'), exports);
|
|
3509
3552
|
__exportStar(_dereq_('./combinator/control/manipulation/lazy'), exports);
|
|
3510
3553
|
__exportStar(_dereq_('./combinator/control/monad/fmap'), exports);
|
|
@@ -3517,24 +3560,25 @@ require = function () {
|
|
|
3517
3560
|
'./combinator/control/manipulation/context': 34,
|
|
3518
3561
|
'./combinator/control/manipulation/convert': 35,
|
|
3519
3562
|
'./combinator/control/manipulation/duplicate': 36,
|
|
3520
|
-
'./combinator/control/manipulation/
|
|
3521
|
-
'./combinator/control/manipulation/
|
|
3522
|
-
'./combinator/control/manipulation/
|
|
3523
|
-
'./combinator/control/manipulation/
|
|
3524
|
-
'./combinator/control/manipulation/
|
|
3525
|
-
'./combinator/control/manipulation/
|
|
3526
|
-
'./combinator/control/manipulation/
|
|
3527
|
-
'./combinator/control/manipulation/
|
|
3528
|
-
'./combinator/control/manipulation/
|
|
3529
|
-
'./combinator/control/manipulation/
|
|
3530
|
-
'./combinator/control/
|
|
3531
|
-
'./combinator/control/monad/
|
|
3532
|
-
'./combinator/
|
|
3533
|
-
'./combinator/data/parser/
|
|
3534
|
-
'./combinator/data/parser/
|
|
3535
|
-
'./combinator/data/parser/
|
|
3536
|
-
'./combinator/data/parser/
|
|
3537
|
-
'./combinator/data/parser/
|
|
3563
|
+
'./combinator/control/manipulation/fallback': 37,
|
|
3564
|
+
'./combinator/control/manipulation/fence': 38,
|
|
3565
|
+
'./combinator/control/manipulation/indent': 39,
|
|
3566
|
+
'./combinator/control/manipulation/lazy': 40,
|
|
3567
|
+
'./combinator/control/manipulation/match': 41,
|
|
3568
|
+
'./combinator/control/manipulation/recovery': 42,
|
|
3569
|
+
'./combinator/control/manipulation/resource': 43,
|
|
3570
|
+
'./combinator/control/manipulation/reverse': 44,
|
|
3571
|
+
'./combinator/control/manipulation/scope': 45,
|
|
3572
|
+
'./combinator/control/manipulation/surround': 46,
|
|
3573
|
+
'./combinator/control/manipulation/trim': 47,
|
|
3574
|
+
'./combinator/control/monad/bind': 48,
|
|
3575
|
+
'./combinator/control/monad/fmap': 49,
|
|
3576
|
+
'./combinator/data/parser/inits': 51,
|
|
3577
|
+
'./combinator/data/parser/sequence': 52,
|
|
3578
|
+
'./combinator/data/parser/some': 53,
|
|
3579
|
+
'./combinator/data/parser/subsequence': 54,
|
|
3580
|
+
'./combinator/data/parser/tails': 55,
|
|
3581
|
+
'./combinator/data/parser/union': 56
|
|
3538
3582
|
}
|
|
3539
3583
|
],
|
|
3540
3584
|
31: [
|
|
@@ -3561,7 +3605,7 @@ require = function () {
|
|
|
3561
3605
|
exports.block = block;
|
|
3562
3606
|
},
|
|
3563
3607
|
{
|
|
3564
|
-
'../../data/parser':
|
|
3608
|
+
'../../data/parser': 50,
|
|
3565
3609
|
'./line': 33,
|
|
3566
3610
|
'spica/global': 17
|
|
3567
3611
|
}
|
|
@@ -3622,7 +3666,7 @@ require = function () {
|
|
|
3622
3666
|
exports.verify = verify;
|
|
3623
3667
|
},
|
|
3624
3668
|
{
|
|
3625
|
-
'../../data/parser':
|
|
3669
|
+
'../../data/parser': 50,
|
|
3626
3670
|
'spica/alias': 5,
|
|
3627
3671
|
'spica/global': 17
|
|
3628
3672
|
}
|
|
@@ -3667,7 +3711,7 @@ require = function () {
|
|
|
3667
3711
|
exports.isEmpty = isEmpty;
|
|
3668
3712
|
},
|
|
3669
3713
|
{
|
|
3670
|
-
'../../data/parser':
|
|
3714
|
+
'../../data/parser': 50,
|
|
3671
3715
|
'spica/global': 17
|
|
3672
3716
|
}
|
|
3673
3717
|
],
|
|
@@ -3755,9 +3799,25 @@ require = function () {
|
|
|
3755
3799
|
}
|
|
3756
3800
|
exports.dup = dup;
|
|
3757
3801
|
},
|
|
3758
|
-
{ '../monad/fmap':
|
|
3802
|
+
{ '../monad/fmap': 49 }
|
|
3759
3803
|
],
|
|
3760
3804
|
37: [
|
|
3805
|
+
function (_dereq_, module, exports) {
|
|
3806
|
+
'use strict';
|
|
3807
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3808
|
+
exports.fallback = void 0;
|
|
3809
|
+
const union_1 = _dereq_('../../data/parser/union');
|
|
3810
|
+
function fallback(parser, otherwise) {
|
|
3811
|
+
return (0, union_1.union)([
|
|
3812
|
+
parser,
|
|
3813
|
+
otherwise
|
|
3814
|
+
]);
|
|
3815
|
+
}
|
|
3816
|
+
exports.fallback = fallback;
|
|
3817
|
+
},
|
|
3818
|
+
{ '../../data/parser/union': 56 }
|
|
3819
|
+
],
|
|
3820
|
+
38: [
|
|
3761
3821
|
function (_dereq_, module, exports) {
|
|
3762
3822
|
'use strict';
|
|
3763
3823
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3810,7 +3870,7 @@ require = function () {
|
|
|
3810
3870
|
'spica/array': 6
|
|
3811
3871
|
}
|
|
3812
3872
|
],
|
|
3813
|
-
|
|
3873
|
+
39: [
|
|
3814
3874
|
function (_dereq_, module, exports) {
|
|
3815
3875
|
'use strict';
|
|
3816
3876
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3825,7 +3885,7 @@ require = function () {
|
|
|
3825
3885
|
const memoize_1 = _dereq_('spica/memoize');
|
|
3826
3886
|
const array_1 = _dereq_('spica/array');
|
|
3827
3887
|
function indent(parser) {
|
|
3828
|
-
return (0, bind_1.bind)((0, match_1.match)(/^(?=(([ \t
|
|
3888
|
+
return (0, bind_1.bind)((0, match_1.match)(/^(?=(([ \t])\2*))/, (0, memoize_1.reduce)(([, indent]) => (0, some_1.some)((0, line_1.line)((0, surround_1.open)(indent, source => [
|
|
3829
3889
|
[unline(source)],
|
|
3830
3890
|
''
|
|
3831
3891
|
]))), ([, indent]) => indent)), (nodes, rest, context) => {
|
|
@@ -3842,18 +3902,18 @@ require = function () {
|
|
|
3842
3902
|
}
|
|
3843
3903
|
},
|
|
3844
3904
|
{
|
|
3845
|
-
'../../data/parser':
|
|
3846
|
-
'../../data/parser/some':
|
|
3905
|
+
'../../data/parser': 50,
|
|
3906
|
+
'../../data/parser/some': 53,
|
|
3847
3907
|
'../constraint/line': 33,
|
|
3848
|
-
'../monad/bind':
|
|
3849
|
-
'./match':
|
|
3850
|
-
'./surround':
|
|
3908
|
+
'../monad/bind': 48,
|
|
3909
|
+
'./match': 41,
|
|
3910
|
+
'./surround': 46,
|
|
3851
3911
|
'spica/array': 6,
|
|
3852
3912
|
'spica/global': 17,
|
|
3853
3913
|
'spica/memoize': 20
|
|
3854
3914
|
}
|
|
3855
3915
|
],
|
|
3856
|
-
|
|
3916
|
+
40: [
|
|
3857
3917
|
function (_dereq_, module, exports) {
|
|
3858
3918
|
'use strict';
|
|
3859
3919
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3866,7 +3926,7 @@ require = function () {
|
|
|
3866
3926
|
},
|
|
3867
3927
|
{}
|
|
3868
3928
|
],
|
|
3869
|
-
|
|
3929
|
+
41: [
|
|
3870
3930
|
function (_dereq_, module, exports) {
|
|
3871
3931
|
'use strict';
|
|
3872
3932
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3890,11 +3950,11 @@ require = function () {
|
|
|
3890
3950
|
exports.match = match;
|
|
3891
3951
|
},
|
|
3892
3952
|
{
|
|
3893
|
-
'../../data/parser':
|
|
3953
|
+
'../../data/parser': 50,
|
|
3894
3954
|
'spica/global': 17
|
|
3895
3955
|
}
|
|
3896
3956
|
],
|
|
3897
|
-
|
|
3957
|
+
42: [
|
|
3898
3958
|
function (_dereq_, module, exports) {
|
|
3899
3959
|
'use strict';
|
|
3900
3960
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3912,7 +3972,7 @@ require = function () {
|
|
|
3912
3972
|
},
|
|
3913
3973
|
{}
|
|
3914
3974
|
],
|
|
3915
|
-
|
|
3975
|
+
43: [
|
|
3916
3976
|
function (_dereq_, module, exports) {
|
|
3917
3977
|
'use strict';
|
|
3918
3978
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3937,7 +3997,7 @@ require = function () {
|
|
|
3937
3997
|
},
|
|
3938
3998
|
{}
|
|
3939
3999
|
],
|
|
3940
|
-
|
|
4000
|
+
44: [
|
|
3941
4001
|
function (_dereq_, module, exports) {
|
|
3942
4002
|
'use strict';
|
|
3943
4003
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3948,9 +4008,9 @@ require = function () {
|
|
|
3948
4008
|
}
|
|
3949
4009
|
exports.reverse = reverse;
|
|
3950
4010
|
},
|
|
3951
|
-
{ '../monad/fmap':
|
|
4011
|
+
{ '../monad/fmap': 49 }
|
|
3952
4012
|
],
|
|
3953
|
-
|
|
4013
|
+
45: [
|
|
3954
4014
|
function (_dereq_, module, exports) {
|
|
3955
4015
|
'use strict';
|
|
3956
4016
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -3998,11 +4058,11 @@ require = function () {
|
|
|
3998
4058
|
exports.rewrite = rewrite;
|
|
3999
4059
|
},
|
|
4000
4060
|
{
|
|
4001
|
-
'../../data/parser':
|
|
4061
|
+
'../../data/parser': 50,
|
|
4002
4062
|
'spica/global': 17
|
|
4003
4063
|
}
|
|
4004
4064
|
],
|
|
4005
|
-
|
|
4065
|
+
46: [
|
|
4006
4066
|
function (_dereq_, module, exports) {
|
|
4007
4067
|
'use strict';
|
|
4008
4068
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4085,13 +4145,13 @@ require = function () {
|
|
|
4085
4145
|
exports.clear = clear;
|
|
4086
4146
|
},
|
|
4087
4147
|
{
|
|
4088
|
-
'../../data/parser':
|
|
4089
|
-
'../monad/fmap':
|
|
4148
|
+
'../../data/parser': 50,
|
|
4149
|
+
'../monad/fmap': 49,
|
|
4090
4150
|
'spica/array': 6,
|
|
4091
4151
|
'spica/global': 17
|
|
4092
4152
|
}
|
|
4093
4153
|
],
|
|
4094
|
-
|
|
4154
|
+
47: [
|
|
4095
4155
|
function (_dereq_, module, exports) {
|
|
4096
4156
|
'use strict';
|
|
4097
4157
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4112,7 +4172,7 @@ require = function () {
|
|
|
4112
4172
|
},
|
|
4113
4173
|
{ './convert': 35 }
|
|
4114
4174
|
],
|
|
4115
|
-
|
|
4175
|
+
48: [
|
|
4116
4176
|
function (_dereq_, module, exports) {
|
|
4117
4177
|
'use strict';
|
|
4118
4178
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4135,11 +4195,11 @@ require = function () {
|
|
|
4135
4195
|
exports.bind = bind;
|
|
4136
4196
|
},
|
|
4137
4197
|
{
|
|
4138
|
-
'../../data/parser':
|
|
4198
|
+
'../../data/parser': 50,
|
|
4139
4199
|
'spica/global': 17
|
|
4140
4200
|
}
|
|
4141
4201
|
],
|
|
4142
|
-
|
|
4202
|
+
49: [
|
|
4143
4203
|
function (_dereq_, module, exports) {
|
|
4144
4204
|
'use strict';
|
|
4145
4205
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4153,9 +4213,9 @@ require = function () {
|
|
|
4153
4213
|
}
|
|
4154
4214
|
exports.fmap = fmap;
|
|
4155
4215
|
},
|
|
4156
|
-
{ './bind':
|
|
4216
|
+
{ './bind': 48 }
|
|
4157
4217
|
],
|
|
4158
|
-
|
|
4218
|
+
50: [
|
|
4159
4219
|
function (_dereq_, module, exports) {
|
|
4160
4220
|
'use strict';
|
|
4161
4221
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4175,7 +4235,7 @@ require = function () {
|
|
|
4175
4235
|
},
|
|
4176
4236
|
{}
|
|
4177
4237
|
],
|
|
4178
|
-
|
|
4238
|
+
51: [
|
|
4179
4239
|
function (_dereq_, module, exports) {
|
|
4180
4240
|
'use strict';
|
|
4181
4241
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4208,12 +4268,12 @@ require = function () {
|
|
|
4208
4268
|
exports.inits = inits;
|
|
4209
4269
|
},
|
|
4210
4270
|
{
|
|
4211
|
-
'../parser':
|
|
4271
|
+
'../parser': 50,
|
|
4212
4272
|
'spica/array': 6,
|
|
4213
4273
|
'spica/global': 17
|
|
4214
4274
|
}
|
|
4215
4275
|
],
|
|
4216
|
-
|
|
4276
|
+
52: [
|
|
4217
4277
|
function (_dereq_, module, exports) {
|
|
4218
4278
|
'use strict';
|
|
4219
4279
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4246,12 +4306,12 @@ require = function () {
|
|
|
4246
4306
|
exports.sequence = sequence;
|
|
4247
4307
|
},
|
|
4248
4308
|
{
|
|
4249
|
-
'../parser':
|
|
4309
|
+
'../parser': 50,
|
|
4250
4310
|
'spica/array': 6,
|
|
4251
4311
|
'spica/global': 17
|
|
4252
4312
|
}
|
|
4253
4313
|
],
|
|
4254
|
-
|
|
4314
|
+
53: [
|
|
4255
4315
|
function (_dereq_, module, exports) {
|
|
4256
4316
|
'use strict';
|
|
4257
4317
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4302,12 +4362,12 @@ require = function () {
|
|
|
4302
4362
|
exports.some = some;
|
|
4303
4363
|
},
|
|
4304
4364
|
{
|
|
4305
|
-
'../parser':
|
|
4365
|
+
'../parser': 50,
|
|
4306
4366
|
'spica/array': 6,
|
|
4307
4367
|
'spica/global': 17
|
|
4308
4368
|
}
|
|
4309
4369
|
],
|
|
4310
|
-
|
|
4370
|
+
54: [
|
|
4311
4371
|
function (_dereq_, module, exports) {
|
|
4312
4372
|
'use strict';
|
|
4313
4373
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4334,11 +4394,11 @@ require = function () {
|
|
|
4334
4394
|
exports.subsequence = subsequence;
|
|
4335
4395
|
},
|
|
4336
4396
|
{
|
|
4337
|
-
'./inits':
|
|
4338
|
-
'./union':
|
|
4397
|
+
'./inits': 51,
|
|
4398
|
+
'./union': 56
|
|
4339
4399
|
}
|
|
4340
4400
|
],
|
|
4341
|
-
|
|
4401
|
+
55: [
|
|
4342
4402
|
function (_dereq_, module, exports) {
|
|
4343
4403
|
'use strict';
|
|
4344
4404
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4351,11 +4411,11 @@ require = function () {
|
|
|
4351
4411
|
exports.tails = tails;
|
|
4352
4412
|
},
|
|
4353
4413
|
{
|
|
4354
|
-
'./sequence':
|
|
4355
|
-
'./union':
|
|
4414
|
+
'./sequence': 52,
|
|
4415
|
+
'./union': 56
|
|
4356
4416
|
}
|
|
4357
4417
|
],
|
|
4358
|
-
|
|
4418
|
+
56: [
|
|
4359
4419
|
function (_dereq_, module, exports) {
|
|
4360
4420
|
'use strict';
|
|
4361
4421
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4380,7 +4440,7 @@ require = function () {
|
|
|
4380
4440
|
},
|
|
4381
4441
|
{ 'spica/global': 17 }
|
|
4382
4442
|
],
|
|
4383
|
-
|
|
4443
|
+
57: [
|
|
4384
4444
|
function (_dereq_, module, exports) {
|
|
4385
4445
|
'use strict';
|
|
4386
4446
|
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
@@ -4405,9 +4465,9 @@ require = function () {
|
|
|
4405
4465
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4406
4466
|
__exportStar(_dereq_('./parser/api'), exports);
|
|
4407
4467
|
},
|
|
4408
|
-
{ './parser/api':
|
|
4468
|
+
{ './parser/api': 58 }
|
|
4409
4469
|
],
|
|
4410
|
-
|
|
4470
|
+
58: [
|
|
4411
4471
|
function (_dereq_, module, exports) {
|
|
4412
4472
|
'use strict';
|
|
4413
4473
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4462,15 +4522,15 @@ require = function () {
|
|
|
4462
4522
|
});
|
|
4463
4523
|
},
|
|
4464
4524
|
{
|
|
4465
|
-
'./api/bind':
|
|
4466
|
-
'./api/body':
|
|
4467
|
-
'./api/cache':
|
|
4468
|
-
'./api/header':
|
|
4469
|
-
'./api/normalize':
|
|
4470
|
-
'./api/parse':
|
|
4525
|
+
'./api/bind': 59,
|
|
4526
|
+
'./api/body': 60,
|
|
4527
|
+
'./api/cache': 61,
|
|
4528
|
+
'./api/header': 62,
|
|
4529
|
+
'./api/normalize': 63,
|
|
4530
|
+
'./api/parse': 64
|
|
4471
4531
|
}
|
|
4472
4532
|
],
|
|
4473
|
-
|
|
4533
|
+
59: [
|
|
4474
4534
|
function (_dereq_, module, exports) {
|
|
4475
4535
|
'use strict';
|
|
4476
4536
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4644,21 +4704,21 @@ require = function () {
|
|
|
4644
4704
|
exports.bind = bind;
|
|
4645
4705
|
},
|
|
4646
4706
|
{
|
|
4647
|
-
'../../combinator/data/parser':
|
|
4648
|
-
'../block':
|
|
4649
|
-
'../header':
|
|
4650
|
-
'../processor/figure':
|
|
4651
|
-
'../processor/footnote':
|
|
4652
|
-
'../segment':
|
|
4653
|
-
'./header':
|
|
4654
|
-
'./normalize':
|
|
4707
|
+
'../../combinator/data/parser': 50,
|
|
4708
|
+
'../block': 66,
|
|
4709
|
+
'../header': 90,
|
|
4710
|
+
'../processor/figure': 128,
|
|
4711
|
+
'../processor/footnote': 129,
|
|
4712
|
+
'../segment': 130,
|
|
4713
|
+
'./header': 62,
|
|
4714
|
+
'./normalize': 63,
|
|
4655
4715
|
'spica/alias': 5,
|
|
4656
4716
|
'spica/array': 6,
|
|
4657
4717
|
'spica/global': 17,
|
|
4658
4718
|
'spica/url': 27
|
|
4659
4719
|
}
|
|
4660
4720
|
],
|
|
4661
|
-
|
|
4721
|
+
60: [
|
|
4662
4722
|
function (_dereq_, module, exports) {
|
|
4663
4723
|
'use strict';
|
|
4664
4724
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4669,9 +4729,9 @@ require = function () {
|
|
|
4669
4729
|
}
|
|
4670
4730
|
exports.body = body;
|
|
4671
4731
|
},
|
|
4672
|
-
{ './header':
|
|
4732
|
+
{ './header': 62 }
|
|
4673
4733
|
],
|
|
4674
|
-
|
|
4734
|
+
61: [
|
|
4675
4735
|
function (_dereq_, module, exports) {
|
|
4676
4736
|
'use strict';
|
|
4677
4737
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4685,7 +4745,7 @@ require = function () {
|
|
|
4685
4745
|
},
|
|
4686
4746
|
{ 'spica/cache': 9 }
|
|
4687
4747
|
],
|
|
4688
|
-
|
|
4748
|
+
62: [
|
|
4689
4749
|
function (_dereq_, module, exports) {
|
|
4690
4750
|
'use strict';
|
|
4691
4751
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4713,21 +4773,38 @@ require = function () {
|
|
|
4713
4773
|
}
|
|
4714
4774
|
},
|
|
4715
4775
|
{
|
|
4716
|
-
'../../combinator/data/parser':
|
|
4717
|
-
'../header':
|
|
4776
|
+
'../../combinator/data/parser': 50,
|
|
4777
|
+
'../header': 90
|
|
4718
4778
|
}
|
|
4719
4779
|
],
|
|
4720
|
-
|
|
4780
|
+
63: [
|
|
4721
4781
|
function (_dereq_, module, exports) {
|
|
4722
4782
|
'use strict';
|
|
4723
4783
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4724
|
-
exports.normalize = void 0;
|
|
4784
|
+
exports.escape = exports.normalize = void 0;
|
|
4725
4785
|
const htmlentity_1 = _dereq_('../inline/htmlentity');
|
|
4726
4786
|
const parser_1 = _dereq_('../../combinator/data/parser');
|
|
4787
|
+
const UNICODE_REPLACEMENT_CHARACTER = '\uFFFD';
|
|
4788
|
+
function normalize(source) {
|
|
4789
|
+
return format(sanitize(source));
|
|
4790
|
+
}
|
|
4791
|
+
exports.normalize = normalize;
|
|
4792
|
+
function format(source) {
|
|
4793
|
+
return source.replace(/\r\n?/g, '\n');
|
|
4794
|
+
}
|
|
4795
|
+
function sanitize(source) {
|
|
4796
|
+
return source.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]|[\u2006\u200B-\u200F\u202A-\u202F\u2060\uFEFF]|(^|[^\u1820\u1821])\u180E/g, `$1${ UNICODE_REPLACEMENT_CHARACTER }`).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]?|[\uDC00-\uDFFF]/g, char => char.length === 1 ? UNICODE_REPLACEMENT_CHARACTER : char);
|
|
4797
|
+
}
|
|
4727
4798
|
const unreadableHTMLEntityNames = [
|
|
4799
|
+
'NonBreakingSpace',
|
|
4800
|
+
'nbsp',
|
|
4728
4801
|
'shy',
|
|
4802
|
+
'ensp',
|
|
4803
|
+
'emsp',
|
|
4729
4804
|
'emsp13',
|
|
4730
4805
|
'emsp14',
|
|
4806
|
+
'numsp',
|
|
4807
|
+
'puncsp',
|
|
4731
4808
|
'ThinSpace',
|
|
4732
4809
|
'thinsp',
|
|
4733
4810
|
'VeryThinSpace',
|
|
@@ -4741,6 +4818,7 @@ require = function () {
|
|
|
4741
4818
|
'zwnj',
|
|
4742
4819
|
'lrm',
|
|
4743
4820
|
'rlm',
|
|
4821
|
+
'MediumSpace',
|
|
4744
4822
|
'NoBreak',
|
|
4745
4823
|
'ApplyFunction',
|
|
4746
4824
|
'af',
|
|
@@ -4767,27 +4845,17 @@ require = function () {
|
|
|
4767
4845
|
'\u2060',
|
|
4768
4846
|
'\uFEFF'
|
|
4769
4847
|
];
|
|
4770
|
-
const UNICODE_REPLACEMENT_CHARACTER = '\uFFFD';
|
|
4771
|
-
function normalize(source) {
|
|
4772
|
-
return format(sanitize(escape(source)));
|
|
4773
|
-
}
|
|
4774
|
-
exports.normalize = normalize;
|
|
4775
|
-
function format(source) {
|
|
4776
|
-
return source.replace(/\r\n?/g, '\n');
|
|
4777
|
-
}
|
|
4778
|
-
function sanitize(source) {
|
|
4779
|
-
return source.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]|[\u2006\u200B-\u200F\u202A-\u202F\u2060\uFEFF]|(^|[^\u1820\u1821])\u180E/g, `$1${ UNICODE_REPLACEMENT_CHARACTER }`).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]?|[\uDC00-\uDFFF]/g, char => char.length === 1 ? UNICODE_REPLACEMENT_CHARACTER : char);
|
|
4780
|
-
}
|
|
4781
4848
|
function escape(source) {
|
|
4782
4849
|
return source.replace(unreadableEscapableCharacter, char => `&${ unreadableHTMLEntityNames[unreadableEscapableCharacters.indexOf(char)] };`);
|
|
4783
4850
|
}
|
|
4851
|
+
exports.escape = escape;
|
|
4784
4852
|
},
|
|
4785
4853
|
{
|
|
4786
|
-
'../../combinator/data/parser':
|
|
4787
|
-
'../inline/htmlentity':
|
|
4854
|
+
'../../combinator/data/parser': 50,
|
|
4855
|
+
'../inline/htmlentity': 115
|
|
4788
4856
|
}
|
|
4789
4857
|
],
|
|
4790
|
-
|
|
4858
|
+
64: [
|
|
4791
4859
|
function (_dereq_, module, exports) {
|
|
4792
4860
|
'use strict';
|
|
4793
4861
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4836,14 +4904,14 @@ require = function () {
|
|
|
4836
4904
|
exports.parse = parse;
|
|
4837
4905
|
},
|
|
4838
4906
|
{
|
|
4839
|
-
'../../combinator/data/parser':
|
|
4840
|
-
'../block':
|
|
4841
|
-
'../header':
|
|
4842
|
-
'../processor/figure':
|
|
4843
|
-
'../processor/footnote':
|
|
4844
|
-
'../segment':
|
|
4845
|
-
'./header':
|
|
4846
|
-
'./normalize':
|
|
4907
|
+
'../../combinator/data/parser': 50,
|
|
4908
|
+
'../block': 66,
|
|
4909
|
+
'../header': 90,
|
|
4910
|
+
'../processor/figure': 128,
|
|
4911
|
+
'../processor/footnote': 129,
|
|
4912
|
+
'../segment': 130,
|
|
4913
|
+
'./header': 62,
|
|
4914
|
+
'./normalize': 63,
|
|
4847
4915
|
'spica/alias': 5,
|
|
4848
4916
|
'spica/global': 17,
|
|
4849
4917
|
'spica/memoize': 20,
|
|
@@ -4851,7 +4919,7 @@ require = function () {
|
|
|
4851
4919
|
'typed-dom': 29
|
|
4852
4920
|
}
|
|
4853
4921
|
],
|
|
4854
|
-
|
|
4922
|
+
65: [
|
|
4855
4923
|
function (_dereq_, module, exports) {
|
|
4856
4924
|
'use strict';
|
|
4857
4925
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4867,11 +4935,11 @@ require = function () {
|
|
|
4867
4935
|
},
|
|
4868
4936
|
{
|
|
4869
4937
|
'../combinator': 30,
|
|
4870
|
-
'./inline/autolink':
|
|
4871
|
-
'./source':
|
|
4938
|
+
'./inline/autolink': 93,
|
|
4939
|
+
'./source': 131
|
|
4872
4940
|
}
|
|
4873
4941
|
],
|
|
4874
|
-
|
|
4942
|
+
66: [
|
|
4875
4943
|
function (_dereq_, module, exports) {
|
|
4876
4944
|
'use strict';
|
|
4877
4945
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -4909,12 +4977,9 @@ require = function () {
|
|
|
4909
4977
|
paragraph_1.paragraph
|
|
4910
4978
|
]))));
|
|
4911
4979
|
function error(parser) {
|
|
4912
|
-
return (0, combinator_1.recover)((0, combinator_1.
|
|
4913
|
-
(
|
|
4914
|
-
|
|
4915
|
-
}),
|
|
4916
|
-
parser
|
|
4917
|
-
]), (source, {id}, reason) => [
|
|
4980
|
+
return (0, combinator_1.recover)((0, combinator_1.fallback)((0, combinator_1.open)('\0', source => {
|
|
4981
|
+
throw new Error(source.split('\n', 1)[0]);
|
|
4982
|
+
}), parser), (source, {id}, reason) => [
|
|
4918
4983
|
[
|
|
4919
4984
|
(0, typed_dom_1.html)('h1', {
|
|
4920
4985
|
id: id !== '' ? `error:${ (0, random_1.rnd0Z)(8) }` : global_1.undefined,
|
|
@@ -4932,25 +4997,25 @@ require = function () {
|
|
|
4932
4997
|
},
|
|
4933
4998
|
{
|
|
4934
4999
|
'../combinator': 30,
|
|
4935
|
-
'./block/blockquote':
|
|
4936
|
-
'./block/codeblock':
|
|
4937
|
-
'./block/dlist':
|
|
4938
|
-
'./block/extension':
|
|
4939
|
-
'./block/heading':
|
|
4940
|
-
'./block/horizontalrule':
|
|
4941
|
-
'./block/ilist':
|
|
4942
|
-
'./block/mathblock':
|
|
4943
|
-
'./block/olist':
|
|
4944
|
-
'./block/paragraph':
|
|
4945
|
-
'./block/table':
|
|
4946
|
-
'./block/ulist':
|
|
4947
|
-
'./source':
|
|
5000
|
+
'./block/blockquote': 67,
|
|
5001
|
+
'./block/codeblock': 68,
|
|
5002
|
+
'./block/dlist': 69,
|
|
5003
|
+
'./block/extension': 70,
|
|
5004
|
+
'./block/heading': 79,
|
|
5005
|
+
'./block/horizontalrule': 80,
|
|
5006
|
+
'./block/ilist': 81,
|
|
5007
|
+
'./block/mathblock': 82,
|
|
5008
|
+
'./block/olist': 83,
|
|
5009
|
+
'./block/paragraph': 84,
|
|
5010
|
+
'./block/table': 88,
|
|
5011
|
+
'./block/ulist': 89,
|
|
5012
|
+
'./source': 131,
|
|
4948
5013
|
'spica/global': 17,
|
|
4949
5014
|
'spica/random': 24,
|
|
4950
5015
|
'typed-dom': 29
|
|
4951
5016
|
}
|
|
4952
5017
|
],
|
|
4953
|
-
|
|
5018
|
+
67: [
|
|
4954
5019
|
function (_dereq_, module, exports) {
|
|
4955
5020
|
'use strict';
|
|
4956
5021
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5002,13 +5067,13 @@ require = function () {
|
|
|
5002
5067
|
},
|
|
5003
5068
|
{
|
|
5004
5069
|
'../../combinator': 30,
|
|
5005
|
-
'../api/parse':
|
|
5006
|
-
'../autolink':
|
|
5007
|
-
'../source':
|
|
5070
|
+
'../api/parse': 64,
|
|
5071
|
+
'../autolink': 65,
|
|
5072
|
+
'../source': 131,
|
|
5008
5073
|
'typed-dom': 29
|
|
5009
5074
|
}
|
|
5010
5075
|
],
|
|
5011
|
-
|
|
5076
|
+
68: [
|
|
5012
5077
|
function (_dereq_, module, exports) {
|
|
5013
5078
|
'use strict';
|
|
5014
5079
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5057,15 +5122,15 @@ require = function () {
|
|
|
5057
5122
|
},
|
|
5058
5123
|
{
|
|
5059
5124
|
'../../combinator': 30,
|
|
5060
|
-
'../../combinator/data/parser':
|
|
5061
|
-
'../autolink':
|
|
5062
|
-
'../source':
|
|
5125
|
+
'../../combinator/data/parser': 50,
|
|
5126
|
+
'../autolink': 65,
|
|
5127
|
+
'../source': 131,
|
|
5063
5128
|
'spica/array': 6,
|
|
5064
5129
|
'spica/global': 17,
|
|
5065
5130
|
'typed-dom': 29
|
|
5066
5131
|
}
|
|
5067
5132
|
],
|
|
5068
|
-
|
|
5133
|
+
69: [
|
|
5069
5134
|
function (_dereq_, module, exports) {
|
|
5070
5135
|
'use strict';
|
|
5071
5136
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5105,17 +5170,17 @@ require = function () {
|
|
|
5105
5170
|
},
|
|
5106
5171
|
{
|
|
5107
5172
|
'../../combinator': 30,
|
|
5108
|
-
'../inline':
|
|
5109
|
-
'../inline/extension/indexee':
|
|
5110
|
-
'../inline/extension/indexer':
|
|
5111
|
-
'../locale':
|
|
5112
|
-
'../source':
|
|
5113
|
-
'../util':
|
|
5173
|
+
'../inline': 91,
|
|
5174
|
+
'../inline/extension/indexee': 110,
|
|
5175
|
+
'../inline/extension/indexer': 111,
|
|
5176
|
+
'../locale': 126,
|
|
5177
|
+
'../source': 131,
|
|
5178
|
+
'../util': 137,
|
|
5114
5179
|
'spica/array': 6,
|
|
5115
5180
|
'typed-dom': 29
|
|
5116
5181
|
}
|
|
5117
5182
|
],
|
|
5118
|
-
|
|
5183
|
+
70: [
|
|
5119
5184
|
function (_dereq_, module, exports) {
|
|
5120
5185
|
'use strict';
|
|
5121
5186
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5152,17 +5217,17 @@ require = function () {
|
|
|
5152
5217
|
},
|
|
5153
5218
|
{
|
|
5154
5219
|
'../../combinator': 30,
|
|
5155
|
-
'./extension/aside':
|
|
5156
|
-
'./extension/example':
|
|
5157
|
-
'./extension/fig':
|
|
5158
|
-
'./extension/figbase':
|
|
5159
|
-
'./extension/figure':
|
|
5160
|
-
'./extension/message':
|
|
5161
|
-
'./extension/placeholder':
|
|
5162
|
-
'./extension/table':
|
|
5220
|
+
'./extension/aside': 71,
|
|
5221
|
+
'./extension/example': 72,
|
|
5222
|
+
'./extension/fig': 73,
|
|
5223
|
+
'./extension/figbase': 74,
|
|
5224
|
+
'./extension/figure': 75,
|
|
5225
|
+
'./extension/message': 76,
|
|
5226
|
+
'./extension/placeholder': 77,
|
|
5227
|
+
'./extension/table': 78
|
|
5163
5228
|
}
|
|
5164
5229
|
],
|
|
5165
|
-
|
|
5230
|
+
71: [
|
|
5166
5231
|
function (_dereq_, module, exports) {
|
|
5167
5232
|
'use strict';
|
|
5168
5233
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5211,12 +5276,12 @@ require = function () {
|
|
|
5211
5276
|
},
|
|
5212
5277
|
{
|
|
5213
5278
|
'../../../combinator': 30,
|
|
5214
|
-
'../../api/parse':
|
|
5215
|
-
'../../inline/extension/indexee':
|
|
5279
|
+
'../../api/parse': 64,
|
|
5280
|
+
'../../inline/extension/indexee': 110,
|
|
5216
5281
|
'typed-dom': 29
|
|
5217
5282
|
}
|
|
5218
5283
|
],
|
|
5219
|
-
|
|
5284
|
+
72: [
|
|
5220
5285
|
function (_dereq_, module, exports) {
|
|
5221
5286
|
'use strict';
|
|
5222
5287
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5281,13 +5346,13 @@ require = function () {
|
|
|
5281
5346
|
},
|
|
5282
5347
|
{
|
|
5283
5348
|
'../../../combinator': 30,
|
|
5284
|
-
'../../../combinator/data/parser':
|
|
5285
|
-
'../../api/parse':
|
|
5286
|
-
'../mathblock':
|
|
5349
|
+
'../../../combinator/data/parser': 50,
|
|
5350
|
+
'../../api/parse': 64,
|
|
5351
|
+
'../mathblock': 82,
|
|
5287
5352
|
'typed-dom': 29
|
|
5288
5353
|
}
|
|
5289
5354
|
],
|
|
5290
|
-
|
|
5355
|
+
73: [
|
|
5291
5356
|
function (_dereq_, module, exports) {
|
|
5292
5357
|
'use strict';
|
|
5293
5358
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5322,17 +5387,17 @@ require = function () {
|
|
|
5322
5387
|
},
|
|
5323
5388
|
{
|
|
5324
5389
|
'../../../combinator': 30,
|
|
5325
|
-
'../../inline/extension/label':
|
|
5326
|
-
'../../source':
|
|
5327
|
-
'../blockquote':
|
|
5328
|
-
'../codeblock':
|
|
5329
|
-
'../mathblock':
|
|
5330
|
-
'./figure':
|
|
5331
|
-
'./placeholder':
|
|
5332
|
-
'./table':
|
|
5390
|
+
'../../inline/extension/label': 112,
|
|
5391
|
+
'../../source': 131,
|
|
5392
|
+
'../blockquote': 67,
|
|
5393
|
+
'../codeblock': 68,
|
|
5394
|
+
'../mathblock': 82,
|
|
5395
|
+
'./figure': 75,
|
|
5396
|
+
'./placeholder': 77,
|
|
5397
|
+
'./table': 78
|
|
5333
5398
|
}
|
|
5334
5399
|
],
|
|
5335
|
-
|
|
5400
|
+
74: [
|
|
5336
5401
|
function (_dereq_, module, exports) {
|
|
5337
5402
|
'use strict';
|
|
5338
5403
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5352,11 +5417,11 @@ require = function () {
|
|
|
5352
5417
|
},
|
|
5353
5418
|
{
|
|
5354
5419
|
'../../../combinator': 30,
|
|
5355
|
-
'../../inline/extension/label':
|
|
5420
|
+
'../../inline/extension/label': 112,
|
|
5356
5421
|
'typed-dom': 29
|
|
5357
5422
|
}
|
|
5358
5423
|
],
|
|
5359
|
-
|
|
5424
|
+
75: [
|
|
5360
5425
|
function (_dereq_, module, exports) {
|
|
5361
5426
|
'use strict';
|
|
5362
5427
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5448,24 +5513,24 @@ require = function () {
|
|
|
5448
5513
|
},
|
|
5449
5514
|
{
|
|
5450
5515
|
'../../../combinator': 30,
|
|
5451
|
-
'../../inline':
|
|
5452
|
-
'../../inline/extension/label':
|
|
5453
|
-
'../../locale':
|
|
5454
|
-
'../../source':
|
|
5455
|
-
'../../util':
|
|
5456
|
-
'../blockquote':
|
|
5457
|
-
'../codeblock':
|
|
5458
|
-
'../mathblock':
|
|
5459
|
-
'../table':
|
|
5460
|
-
'./example':
|
|
5461
|
-
'./placeholder':
|
|
5462
|
-
'./table':
|
|
5516
|
+
'../../inline': 91,
|
|
5517
|
+
'../../inline/extension/label': 112,
|
|
5518
|
+
'../../locale': 126,
|
|
5519
|
+
'../../source': 131,
|
|
5520
|
+
'../../util': 137,
|
|
5521
|
+
'../blockquote': 67,
|
|
5522
|
+
'../codeblock': 68,
|
|
5523
|
+
'../mathblock': 82,
|
|
5524
|
+
'../table': 88,
|
|
5525
|
+
'./example': 72,
|
|
5526
|
+
'./placeholder': 77,
|
|
5527
|
+
'./table': 78,
|
|
5463
5528
|
'spica/global': 17,
|
|
5464
5529
|
'spica/memoize': 20,
|
|
5465
5530
|
'typed-dom': 29
|
|
5466
5531
|
}
|
|
5467
5532
|
],
|
|
5468
|
-
|
|
5533
|
+
76: [
|
|
5469
5534
|
function (_dereq_, module, exports) {
|
|
5470
5535
|
'use strict';
|
|
5471
5536
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5532,22 +5597,22 @@ require = function () {
|
|
|
5532
5597
|
},
|
|
5533
5598
|
{
|
|
5534
5599
|
'../../../combinator': 30,
|
|
5535
|
-
'../../../combinator/data/parser':
|
|
5536
|
-
'../../segment':
|
|
5537
|
-
'../../source':
|
|
5538
|
-
'../blockquote':
|
|
5539
|
-
'../codeblock':
|
|
5540
|
-
'../ilist':
|
|
5541
|
-
'../mathblock':
|
|
5542
|
-
'../olist':
|
|
5543
|
-
'../paragraph':
|
|
5544
|
-
'../table':
|
|
5545
|
-
'../ulist':
|
|
5600
|
+
'../../../combinator/data/parser': 50,
|
|
5601
|
+
'../../segment': 130,
|
|
5602
|
+
'../../source': 131,
|
|
5603
|
+
'../blockquote': 67,
|
|
5604
|
+
'../codeblock': 68,
|
|
5605
|
+
'../ilist': 81,
|
|
5606
|
+
'../mathblock': 82,
|
|
5607
|
+
'../olist': 83,
|
|
5608
|
+
'../paragraph': 84,
|
|
5609
|
+
'../table': 88,
|
|
5610
|
+
'../ulist': 89,
|
|
5546
5611
|
'spica/array': 6,
|
|
5547
5612
|
'typed-dom': 29
|
|
5548
5613
|
}
|
|
5549
5614
|
],
|
|
5550
|
-
|
|
5615
|
+
77: [
|
|
5551
5616
|
function (_dereq_, module, exports) {
|
|
5552
5617
|
'use strict';
|
|
5553
5618
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5570,7 +5635,7 @@ require = function () {
|
|
|
5570
5635
|
'typed-dom': 29
|
|
5571
5636
|
}
|
|
5572
5637
|
],
|
|
5573
|
-
|
|
5638
|
+
78: [
|
|
5574
5639
|
function (_dereq_, module, exports) {
|
|
5575
5640
|
'use strict';
|
|
5576
5641
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5836,17 +5901,17 @@ require = function () {
|
|
|
5836
5901
|
},
|
|
5837
5902
|
{
|
|
5838
5903
|
'../../../combinator': 30,
|
|
5839
|
-
'../../inline':
|
|
5840
|
-
'../../locale':
|
|
5841
|
-
'../../source':
|
|
5842
|
-
'../../util':
|
|
5904
|
+
'../../inline': 91,
|
|
5905
|
+
'../../locale': 126,
|
|
5906
|
+
'../../source': 131,
|
|
5907
|
+
'../../util': 137,
|
|
5843
5908
|
'spica/alias': 5,
|
|
5844
5909
|
'spica/array': 6,
|
|
5845
5910
|
'spica/global': 17,
|
|
5846
5911
|
'typed-dom': 29
|
|
5847
5912
|
}
|
|
5848
5913
|
],
|
|
5849
|
-
|
|
5914
|
+
79: [
|
|
5850
5915
|
function (_dereq_, module, exports) {
|
|
5851
5916
|
'use strict';
|
|
5852
5917
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5887,16 +5952,16 @@ require = function () {
|
|
|
5887
5952
|
},
|
|
5888
5953
|
{
|
|
5889
5954
|
'../../combinator': 30,
|
|
5890
|
-
'../inline':
|
|
5891
|
-
'../inline/extension/indexee':
|
|
5892
|
-
'../inline/extension/indexer':
|
|
5893
|
-
'../source':
|
|
5894
|
-
'../util':
|
|
5955
|
+
'../inline': 91,
|
|
5956
|
+
'../inline/extension/indexee': 110,
|
|
5957
|
+
'../inline/extension/indexer': 111,
|
|
5958
|
+
'../source': 131,
|
|
5959
|
+
'../util': 137,
|
|
5895
5960
|
'spica/array': 6,
|
|
5896
5961
|
'typed-dom': 29
|
|
5897
5962
|
}
|
|
5898
5963
|
],
|
|
5899
|
-
|
|
5964
|
+
80: [
|
|
5900
5965
|
function (_dereq_, module, exports) {
|
|
5901
5966
|
'use strict';
|
|
5902
5967
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5913,7 +5978,7 @@ require = function () {
|
|
|
5913
5978
|
'typed-dom': 29
|
|
5914
5979
|
}
|
|
5915
5980
|
],
|
|
5916
|
-
|
|
5981
|
+
81: [
|
|
5917
5982
|
function (_dereq_, module, exports) {
|
|
5918
5983
|
'use strict';
|
|
5919
5984
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5922,15 +5987,19 @@ require = function () {
|
|
|
5922
5987
|
const ulist_1 = _dereq_('./ulist');
|
|
5923
5988
|
const olist_1 = _dereq_('./olist');
|
|
5924
5989
|
const inline_1 = _dereq_('../inline');
|
|
5990
|
+
const source_1 = _dereq_('../source');
|
|
5925
5991
|
const typed_dom_1 = _dereq_('typed-dom');
|
|
5926
|
-
exports.ilist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^[-+*](?=[^\S\n]|\n[^\S\n]*\S)/, (0, combinator_1.context)({ syntax: { inline: { media: false } } }, (0, combinator_1.some)((0, combinator_1.creator)((0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.inits)([
|
|
5992
|
+
exports.ilist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^[-+*](?=[^\S\n]|\n[^\S\n]*\S)/, (0, combinator_1.context)({ syntax: { inline: { media: false } } }, (0, combinator_1.some)((0, combinator_1.creator)((0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([
|
|
5927
5993
|
(0, combinator_1.line)((0, combinator_1.open)(/^[-+*](?:$|\s)/, (0, combinator_1.trim)((0, combinator_1.some)(inline_1.inline)), true)),
|
|
5928
5994
|
(0, combinator_1.indent)((0, combinator_1.union)([
|
|
5929
5995
|
ulist_1.ulist_,
|
|
5930
5996
|
olist_1.olist_,
|
|
5931
5997
|
exports.ilist_
|
|
5932
5998
|
]))
|
|
5933
|
-
]),
|
|
5999
|
+
]), (0, combinator_1.rewrite)(source_1.contentline, source => [
|
|
6000
|
+
[(0, typed_dom_1.html)('span', source.replace('\n', ''))],
|
|
6001
|
+
''
|
|
6002
|
+
])), ns => [(0, typed_dom_1.html)('li', (0, typed_dom_1.defrag)((0, ulist_1.fillFirstLine)(ns)))])]))))), es => [(0, typed_dom_1.html)('ul', {
|
|
5934
6003
|
class: 'invalid',
|
|
5935
6004
|
'data-invalid-syntax': 'list',
|
|
5936
6005
|
'data-invalid-type': 'syntax',
|
|
@@ -5940,13 +6009,14 @@ require = function () {
|
|
|
5940
6009
|
},
|
|
5941
6010
|
{
|
|
5942
6011
|
'../../combinator': 30,
|
|
5943
|
-
'../inline':
|
|
5944
|
-
'
|
|
5945
|
-
'./
|
|
6012
|
+
'../inline': 91,
|
|
6013
|
+
'../source': 131,
|
|
6014
|
+
'./olist': 83,
|
|
6015
|
+
'./ulist': 89,
|
|
5946
6016
|
'typed-dom': 29
|
|
5947
6017
|
}
|
|
5948
6018
|
],
|
|
5949
|
-
|
|
6019
|
+
82: [
|
|
5950
6020
|
function (_dereq_, module, exports) {
|
|
5951
6021
|
'use strict';
|
|
5952
6022
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5981,7 +6051,7 @@ require = function () {
|
|
|
5981
6051
|
'typed-dom': 29
|
|
5982
6052
|
}
|
|
5983
6053
|
],
|
|
5984
|
-
|
|
6054
|
+
83: [
|
|
5985
6055
|
function (_dereq_, module, exports) {
|
|
5986
6056
|
'use strict';
|
|
5987
6057
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5991,11 +6061,12 @@ require = function () {
|
|
|
5991
6061
|
const ulist_1 = _dereq_('./ulist');
|
|
5992
6062
|
const ilist_1 = _dereq_('./ilist');
|
|
5993
6063
|
const inline_1 = _dereq_('../inline');
|
|
6064
|
+
const source_1 = _dereq_('../source');
|
|
5994
6065
|
const typed_dom_1 = _dereq_('typed-dom');
|
|
5995
6066
|
const memoize_1 = _dereq_('spica/memoize');
|
|
5996
6067
|
const array_1 = _dereq_('spica/array');
|
|
5997
6068
|
exports.olist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.match)(/^(?=(?:([0-9]+|[a-z]+|[A-Z]+)(?:-[0-9]+)*(\.)|\(([0-9]+|[a-z]+)(\))(?:-[0-9]+)*)(?=[^\S\n]|\n[^\S\n]*\S))/, (0, memoize_1.memoize)(ms => list(type(ms[1] || ms[3]), ms[2] || ms[4]), ms => type(ms[1] || ms[3]) + (ms[2] || ms[4])))));
|
|
5998
|
-
const list = (type, delim) => (0, combinator_1.fmap)((0, combinator_1.context)({ syntax: { inline: { media: false } } }, (0, combinator_1.some)((0, combinator_1.creator)((0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.inits)([
|
|
6069
|
+
const list = (type, delim) => (0, combinator_1.fmap)((0, combinator_1.context)({ syntax: { inline: { media: false } } }, (0, combinator_1.some)((0, combinator_1.creator)((0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([
|
|
5999
6070
|
(0, combinator_1.line)((0, combinator_1.open)(items[delim], (0, combinator_1.trim)((0, combinator_1.subsequence)([
|
|
6000
6071
|
ulist_1.checkbox,
|
|
6001
6072
|
(0, combinator_1.trimStart)((0, combinator_1.some)(inline_1.inline))
|
|
@@ -6005,7 +6076,7 @@ require = function () {
|
|
|
6005
6076
|
exports.olist_,
|
|
6006
6077
|
ilist_1.ilist_
|
|
6007
6078
|
]))
|
|
6008
|
-
]), ns => [(0, typed_dom_1.html)('li', { 'data-marker': ns[0] }, (0, typed_dom_1.defrag)((0, ulist_1.fillFirstLine)((0, array_1.shift)(ns)[1])))])])))), es => [format((0, typed_dom_1.html)('ol', es), type, delim)]);
|
|
6079
|
+
]), iitem), ns => [(0, typed_dom_1.html)('li', { 'data-marker': ns[0] }, (0, typed_dom_1.defrag)((0, ulist_1.fillFirstLine)((0, array_1.shift)(ns)[1])))])])))), es => [format((0, typed_dom_1.html)('ol', es), type, delim)]);
|
|
6009
6080
|
const items = {
|
|
6010
6081
|
'.': (0, combinator_1.focus)(/^(?:[0-9]+|[a-z]+|[A-Z]+)(?:-(?!-)[0-9]*)*(?![^\S\n])\.?(?=$|\s)/, source => [
|
|
6011
6082
|
[`${ source.split('.', 1)[0] }.`],
|
|
@@ -6017,6 +6088,18 @@ require = function () {
|
|
|
6017
6088
|
])
|
|
6018
6089
|
};
|
|
6019
6090
|
exports.olist_ = (0, combinator_1.convert)(source => source[0] !== '(' ? source.replace(/^((?:[0-9]+|[a-z]+|[A-Z]+)(?:-(?!-)[0-9]*)*)\.?(?=$|\n)/, `$1. `) : source.replace(/^\((?=$|\n)/, `(1) `).replace(/^\(((?:[0-9]+|[a-z]+))\)?((?:-(?!-)[0-9]*)*(?=$|\n))/, `($1)$2 `), exports.olist);
|
|
6091
|
+
const iitem = (0, combinator_1.rewrite)(source_1.contentline, source => [
|
|
6092
|
+
[
|
|
6093
|
+
'',
|
|
6094
|
+
(0, typed_dom_1.html)('span', {
|
|
6095
|
+
class: 'invalid',
|
|
6096
|
+
'data-invalid-syntax': 'listitem',
|
|
6097
|
+
'data-invalid-type': 'syntax',
|
|
6098
|
+
'data-invalid-description': 'Fix the indent or the head of list items.'
|
|
6099
|
+
}, source.replace('\n', ''))
|
|
6100
|
+
],
|
|
6101
|
+
''
|
|
6102
|
+
]);
|
|
6020
6103
|
function type(index) {
|
|
6021
6104
|
switch (index) {
|
|
6022
6105
|
case 'i':
|
|
@@ -6072,25 +6155,30 @@ require = function () {
|
|
|
6072
6155
|
const marker = (_e = (_d = (_c = el.firstElementChild) === null || _c === void 0 ? void 0 : _c.getAttribute('data-marker').match(initial(type))) === null || _d === void 0 ? void 0 : _d[0]) !== null && _e !== void 0 ? _e : '';
|
|
6073
6156
|
for (let es = el.children, len = es.length, i = 0; i < len; ++i) {
|
|
6074
6157
|
const el = es[i];
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6158
|
+
switch (el.getAttribute('data-marker')) {
|
|
6159
|
+
case '':
|
|
6160
|
+
case marker:
|
|
6161
|
+
el.removeAttribute('data-marker');
|
|
6162
|
+
continue;
|
|
6163
|
+
}
|
|
6164
|
+
break;
|
|
6078
6165
|
}
|
|
6079
6166
|
return el;
|
|
6080
6167
|
}
|
|
6081
6168
|
},
|
|
6082
6169
|
{
|
|
6083
6170
|
'../../combinator': 30,
|
|
6084
|
-
'../inline':
|
|
6085
|
-
'
|
|
6086
|
-
'./
|
|
6171
|
+
'../inline': 91,
|
|
6172
|
+
'../source': 131,
|
|
6173
|
+
'./ilist': 81,
|
|
6174
|
+
'./ulist': 89,
|
|
6087
6175
|
'spica/array': 6,
|
|
6088
6176
|
'spica/global': 17,
|
|
6089
6177
|
'spica/memoize': 20,
|
|
6090
6178
|
'typed-dom': 29
|
|
6091
6179
|
}
|
|
6092
6180
|
],
|
|
6093
|
-
|
|
6181
|
+
84: [
|
|
6094
6182
|
function (_dereq_, module, exports) {
|
|
6095
6183
|
'use strict';
|
|
6096
6184
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6114,17 +6202,17 @@ require = function () {
|
|
|
6114
6202
|
},
|
|
6115
6203
|
{
|
|
6116
6204
|
'../../combinator': 30,
|
|
6117
|
-
'../inline':
|
|
6118
|
-
'../locale':
|
|
6119
|
-
'../source':
|
|
6120
|
-
'../util':
|
|
6121
|
-
'./paragraph/mention':
|
|
6122
|
-
'./paragraph/mention/quote':
|
|
6205
|
+
'../inline': 91,
|
|
6206
|
+
'../locale': 126,
|
|
6207
|
+
'../source': 131,
|
|
6208
|
+
'../util': 137,
|
|
6209
|
+
'./paragraph/mention': 85,
|
|
6210
|
+
'./paragraph/mention/quote': 87,
|
|
6123
6211
|
'spica/array': 6,
|
|
6124
6212
|
'typed-dom': 29
|
|
6125
6213
|
}
|
|
6126
6214
|
],
|
|
6127
|
-
|
|
6215
|
+
85: [
|
|
6128
6216
|
function (_dereq_, module, exports) {
|
|
6129
6217
|
'use strict';
|
|
6130
6218
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6139,11 +6227,11 @@ require = function () {
|
|
|
6139
6227
|
},
|
|
6140
6228
|
{
|
|
6141
6229
|
'../../../combinator': 30,
|
|
6142
|
-
'./mention/cite':
|
|
6143
|
-
'./mention/quote':
|
|
6230
|
+
'./mention/cite': 86,
|
|
6231
|
+
'./mention/quote': 87
|
|
6144
6232
|
}
|
|
6145
6233
|
],
|
|
6146
|
-
|
|
6234
|
+
86: [
|
|
6147
6235
|
function (_dereq_, module, exports) {
|
|
6148
6236
|
'use strict';
|
|
6149
6237
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6155,22 +6243,22 @@ require = function () {
|
|
|
6155
6243
|
exports.cite = (0, combinator_1.creator)((0, combinator_1.line)((0, combinator_1.fmap)((0, combinator_1.validate)('>>', (0, combinator_1.reverse)((0, combinator_1.tails)([
|
|
6156
6244
|
(0, source_1.str)(/^>*(?=>>)/),
|
|
6157
6245
|
anchor_1.anchor
|
|
6158
|
-
]))), ([el,
|
|
6246
|
+
]))), ([el, quotes = '']) => [
|
|
6159
6247
|
(0, typed_dom_1.html)('span', { class: 'cite' }, (0, typed_dom_1.defrag)([
|
|
6160
|
-
|
|
6161
|
-
(0, typed_dom_1.define)(el, { 'data-depth': `${
|
|
6248
|
+
quotes + '>',
|
|
6249
|
+
(0, typed_dom_1.define)(el, { 'data-depth': `${ quotes.length + 1 }` }, el.innerText.slice(1))
|
|
6162
6250
|
])),
|
|
6163
6251
|
(0, typed_dom_1.html)('br')
|
|
6164
6252
|
])));
|
|
6165
6253
|
},
|
|
6166
6254
|
{
|
|
6167
6255
|
'../../../../combinator': 30,
|
|
6168
|
-
'../../../inline/autolink/anchor':
|
|
6169
|
-
'../../../source':
|
|
6256
|
+
'../../../inline/autolink/anchor': 95,
|
|
6257
|
+
'../../../source': 131,
|
|
6170
6258
|
'typed-dom': 29
|
|
6171
6259
|
}
|
|
6172
6260
|
],
|
|
6173
|
-
|
|
6261
|
+
87: [
|
|
6174
6262
|
function (_dereq_, module, exports) {
|
|
6175
6263
|
'use strict';
|
|
6176
6264
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6233,31 +6321,40 @@ require = function () {
|
|
|
6233
6321
|
},
|
|
6234
6322
|
{
|
|
6235
6323
|
'../../../../combinator': 30,
|
|
6236
|
-
'../../../../combinator/data/parser':
|
|
6237
|
-
'../../../autolink':
|
|
6238
|
-
'../../../inline/math':
|
|
6239
|
-
'../../../source':
|
|
6324
|
+
'../../../../combinator/data/parser': 50,
|
|
6325
|
+
'../../../autolink': 65,
|
|
6326
|
+
'../../../inline/math': 119,
|
|
6327
|
+
'../../../source': 131,
|
|
6240
6328
|
'typed-dom': 29
|
|
6241
6329
|
}
|
|
6242
6330
|
],
|
|
6243
|
-
|
|
6331
|
+
88: [
|
|
6244
6332
|
function (_dereq_, module, exports) {
|
|
6245
6333
|
'use strict';
|
|
6246
6334
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6247
6335
|
exports.table = void 0;
|
|
6248
6336
|
const combinator_1 = _dereq_('../../combinator');
|
|
6249
6337
|
const inline_1 = _dereq_('../inline');
|
|
6338
|
+
const source_1 = _dereq_('../source');
|
|
6250
6339
|
const typed_dom_1 = _dereq_('typed-dom');
|
|
6251
6340
|
const array_1 = _dereq_('spica/array');
|
|
6252
|
-
exports.table = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^\|[^\n]*(?:\n\|[^\n]*){2
|
|
6341
|
+
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)([
|
|
6253
6342
|
row((0, combinator_1.some)(head), true),
|
|
6254
6343
|
row((0, combinator_1.some)(align), false),
|
|
6255
6344
|
(0, combinator_1.some)(row((0, combinator_1.some)(data), true))
|
|
6256
6345
|
])), rows => [(0, typed_dom_1.html)('table', [
|
|
6257
6346
|
(0, typed_dom_1.html)('thead', [rows.shift()]),
|
|
6258
|
-
(0, typed_dom_1.html)('tbody', format(rows
|
|
6347
|
+
(0, typed_dom_1.html)('tbody', format(rows))
|
|
6259
6348
|
])])));
|
|
6260
|
-
const row = (parser, optional) => (0, combinator_1.creator)((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, typed_dom_1.html)('tr', es)]))
|
|
6349
|
+
const row = (parser, optional) => (0, combinator_1.creator)((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, typed_dom_1.html)('tr', es)]), (0, combinator_1.rewrite)(source_1.contentline, source => [
|
|
6350
|
+
[(0, typed_dom_1.html)('tr', {
|
|
6351
|
+
class: 'invalid',
|
|
6352
|
+
'data-invalid-syntax': 'tablerow',
|
|
6353
|
+
'data-invalid-type': 'syntax',
|
|
6354
|
+
'data-invalid-description': 'Invalid table row.'
|
|
6355
|
+
}, [(0, typed_dom_1.html)('td', source.replace('\n', ''))])],
|
|
6356
|
+
''
|
|
6357
|
+
])));
|
|
6261
6358
|
const align = (0, combinator_1.creator)((0, combinator_1.fmap)((0, combinator_1.open)('|', (0, combinator_1.union)([
|
|
6262
6359
|
(0, combinator_1.focus)(/^:-+:/, () => [
|
|
6263
6360
|
['center'],
|
|
@@ -6279,10 +6376,10 @@ require = function () {
|
|
|
6279
6376
|
const cell = (0, combinator_1.surround)(/^\|(?:\\?\s)*(?=\S)/, (0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), /^(?:\\?\s)*(?=\||\\?$)/), /^[^|]*/, true);
|
|
6280
6377
|
const head = (0, combinator_1.creator)((0, combinator_1.fmap)(cell, ns => [(0, typed_dom_1.html)('th', (0, typed_dom_1.defrag)(ns))]));
|
|
6281
6378
|
const data = (0, combinator_1.creator)((0, combinator_1.fmap)(cell, ns => [(0, typed_dom_1.html)('td', (0, typed_dom_1.defrag)(ns))]));
|
|
6282
|
-
function format(rows
|
|
6379
|
+
function format(rows) {
|
|
6380
|
+
const aligns = rows[0].classList.contains('invalid') ? [] : (0, array_1.push)([], rows.shift().children).map(el => el.textContent);
|
|
6283
6381
|
for (let i = 0, len = rows.length; i < len; ++i) {
|
|
6284
|
-
const
|
|
6285
|
-
const cols = row.children;
|
|
6382
|
+
const cols = rows[i].children;
|
|
6286
6383
|
for (let i = 0, len = cols.length; i < len; ++i) {
|
|
6287
6384
|
if (i > 0 && !aligns[i]) {
|
|
6288
6385
|
aligns[i] = aligns[i - 1];
|
|
@@ -6297,12 +6394,13 @@ require = function () {
|
|
|
6297
6394
|
},
|
|
6298
6395
|
{
|
|
6299
6396
|
'../../combinator': 30,
|
|
6300
|
-
'../inline':
|
|
6397
|
+
'../inline': 91,
|
|
6398
|
+
'../source': 131,
|
|
6301
6399
|
'spica/array': 6,
|
|
6302
6400
|
'typed-dom': 29
|
|
6303
6401
|
}
|
|
6304
6402
|
],
|
|
6305
|
-
|
|
6403
|
+
89: [
|
|
6306
6404
|
function (_dereq_, module, exports) {
|
|
6307
6405
|
'use strict';
|
|
6308
6406
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6313,7 +6411,8 @@ require = function () {
|
|
|
6313
6411
|
const inline_1 = _dereq_('../inline');
|
|
6314
6412
|
const typed_dom_1 = _dereq_('typed-dom');
|
|
6315
6413
|
const array_1 = _dereq_('spica/array');
|
|
6316
|
-
|
|
6414
|
+
const source_1 = _dereq_('../source');
|
|
6415
|
+
exports.ulist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^-(?=[^\S\n]|\n[^\S\n]*\S)/, (0, combinator_1.context)({ syntax: { inline: { media: false } } }, (0, combinator_1.some)((0, combinator_1.creator)((0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([
|
|
6317
6416
|
(0, combinator_1.line)((0, combinator_1.open)(/^-(?:$|\s)/, (0, combinator_1.trim)((0, combinator_1.subsequence)([
|
|
6318
6417
|
exports.checkbox,
|
|
6319
6418
|
(0, combinator_1.trimStart)((0, combinator_1.some)(inline_1.inline))
|
|
@@ -6323,12 +6422,21 @@ require = function () {
|
|
|
6323
6422
|
olist_1.olist_,
|
|
6324
6423
|
ilist_1.ilist_
|
|
6325
6424
|
]))
|
|
6326
|
-
]), ns => [(0, typed_dom_1.html)('li', (0, typed_dom_1.defrag)(fillFirstLine(ns)))])]))))), es => [format((0, typed_dom_1.html)('ul', es))])));
|
|
6425
|
+
]), iitem), ns => [(0, typed_dom_1.html)('li', (0, typed_dom_1.defrag)(fillFirstLine(ns)))])]))))), es => [format((0, typed_dom_1.html)('ul', es))])));
|
|
6327
6426
|
exports.checkbox = (0, combinator_1.focus)(/^\[[xX ]\](?=$|\s)/, source => [
|
|
6328
6427
|
[(0, typed_dom_1.html)('span', { class: 'checkbox' }, source[1].trimStart() ? '\u2611' : '\u2610')],
|
|
6329
6428
|
''
|
|
6330
6429
|
]);
|
|
6331
6430
|
exports.ulist_ = (0, combinator_1.convert)(source => source.replace(/^-(?=$|\n)/, `$& `), exports.ulist);
|
|
6431
|
+
const iitem = (0, combinator_1.rewrite)(source_1.contentline, source => [
|
|
6432
|
+
[(0, typed_dom_1.html)('span', {
|
|
6433
|
+
class: 'invalid',
|
|
6434
|
+
'data-invalid-syntax': 'listitem',
|
|
6435
|
+
'data-invalid-type': 'syntax',
|
|
6436
|
+
'data-invalid-description': 'Fix the indent or the head of list items.'
|
|
6437
|
+
}, source.replace('\n', ''))],
|
|
6438
|
+
''
|
|
6439
|
+
]);
|
|
6332
6440
|
function fillFirstLine(ns) {
|
|
6333
6441
|
return ns.length === 1 && typeof ns[0] === 'object' && [
|
|
6334
6442
|
'UL',
|
|
@@ -6346,14 +6454,15 @@ require = function () {
|
|
|
6346
6454
|
},
|
|
6347
6455
|
{
|
|
6348
6456
|
'../../combinator': 30,
|
|
6349
|
-
'../inline':
|
|
6350
|
-
'
|
|
6351
|
-
'./
|
|
6457
|
+
'../inline': 91,
|
|
6458
|
+
'../source': 131,
|
|
6459
|
+
'./ilist': 81,
|
|
6460
|
+
'./olist': 83,
|
|
6352
6461
|
'spica/array': 6,
|
|
6353
6462
|
'typed-dom': 29
|
|
6354
6463
|
}
|
|
6355
6464
|
],
|
|
6356
|
-
|
|
6465
|
+
90: [
|
|
6357
6466
|
function (_dereq_, module, exports) {
|
|
6358
6467
|
'use strict';
|
|
6359
6468
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6401,13 +6510,13 @@ require = function () {
|
|
|
6401
6510
|
},
|
|
6402
6511
|
{
|
|
6403
6512
|
'../combinator': 30,
|
|
6404
|
-
'./api/normalize':
|
|
6405
|
-
'./segment':
|
|
6406
|
-
'./source':
|
|
6513
|
+
'./api/normalize': 63,
|
|
6514
|
+
'./segment': 130,
|
|
6515
|
+
'./source': 131,
|
|
6407
6516
|
'typed-dom': 29
|
|
6408
6517
|
}
|
|
6409
6518
|
],
|
|
6410
|
-
|
|
6519
|
+
91: [
|
|
6411
6520
|
function (_dereq_, module, exports) {
|
|
6412
6521
|
'use strict';
|
|
6413
6522
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6478,32 +6587,32 @@ require = function () {
|
|
|
6478
6587
|
},
|
|
6479
6588
|
{
|
|
6480
6589
|
'../combinator': 30,
|
|
6481
|
-
'./inline/annotation':
|
|
6482
|
-
'./inline/autolink':
|
|
6483
|
-
'./inline/bracket':
|
|
6484
|
-
'./inline/code':
|
|
6485
|
-
'./inline/comment':
|
|
6486
|
-
'./inline/deletion':
|
|
6487
|
-
'./inline/emphasis':
|
|
6488
|
-
'./inline/emstrong':
|
|
6489
|
-
'./inline/escape':
|
|
6490
|
-
'./inline/extension':
|
|
6491
|
-
'./inline/html':
|
|
6492
|
-
'./inline/htmlentity':
|
|
6493
|
-
'./inline/insertion':
|
|
6494
|
-
'./inline/link':
|
|
6495
|
-
'./inline/mark':
|
|
6496
|
-
'./inline/math':
|
|
6497
|
-
'./inline/media':
|
|
6498
|
-
'./inline/reference':
|
|
6499
|
-
'./inline/ruby':
|
|
6500
|
-
'./inline/shortmedia':
|
|
6501
|
-
'./inline/strong':
|
|
6502
|
-
'./inline/template':
|
|
6503
|
-
'./source':
|
|
6590
|
+
'./inline/annotation': 92,
|
|
6591
|
+
'./inline/autolink': 93,
|
|
6592
|
+
'./inline/bracket': 101,
|
|
6593
|
+
'./inline/code': 102,
|
|
6594
|
+
'./inline/comment': 103,
|
|
6595
|
+
'./inline/deletion': 104,
|
|
6596
|
+
'./inline/emphasis': 105,
|
|
6597
|
+
'./inline/emstrong': 106,
|
|
6598
|
+
'./inline/escape': 107,
|
|
6599
|
+
'./inline/extension': 108,
|
|
6600
|
+
'./inline/html': 114,
|
|
6601
|
+
'./inline/htmlentity': 115,
|
|
6602
|
+
'./inline/insertion': 116,
|
|
6603
|
+
'./inline/link': 117,
|
|
6604
|
+
'./inline/mark': 118,
|
|
6605
|
+
'./inline/math': 119,
|
|
6606
|
+
'./inline/media': 120,
|
|
6607
|
+
'./inline/reference': 121,
|
|
6608
|
+
'./inline/ruby': 122,
|
|
6609
|
+
'./inline/shortmedia': 123,
|
|
6610
|
+
'./inline/strong': 124,
|
|
6611
|
+
'./inline/template': 125,
|
|
6612
|
+
'./source': 131
|
|
6504
6613
|
}
|
|
6505
6614
|
],
|
|
6506
|
-
|
|
6615
|
+
92: [
|
|
6507
6616
|
function (_dereq_, module, exports) {
|
|
6508
6617
|
'use strict';
|
|
6509
6618
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6528,13 +6637,13 @@ require = function () {
|
|
|
6528
6637
|
},
|
|
6529
6638
|
{
|
|
6530
6639
|
'../../combinator': 30,
|
|
6531
|
-
'../inline':
|
|
6532
|
-
'../util':
|
|
6640
|
+
'../inline': 91,
|
|
6641
|
+
'../util': 137,
|
|
6533
6642
|
'spica/global': 17,
|
|
6534
6643
|
'typed-dom': 29
|
|
6535
6644
|
}
|
|
6536
6645
|
],
|
|
6537
|
-
|
|
6646
|
+
93: [
|
|
6538
6647
|
function (_dereq_, module, exports) {
|
|
6539
6648
|
'use strict';
|
|
6540
6649
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6570,18 +6679,18 @@ require = function () {
|
|
|
6570
6679
|
},
|
|
6571
6680
|
{
|
|
6572
6681
|
'../../combinator': 30,
|
|
6573
|
-
'../source':
|
|
6574
|
-
'../util':
|
|
6575
|
-
'./autolink/account':
|
|
6576
|
-
'./autolink/anchor':
|
|
6577
|
-
'./autolink/channel':
|
|
6578
|
-
'./autolink/email':
|
|
6579
|
-
'./autolink/hashref':
|
|
6580
|
-
'./autolink/hashtag':
|
|
6581
|
-
'./autolink/url':
|
|
6682
|
+
'../source': 131,
|
|
6683
|
+
'../util': 137,
|
|
6684
|
+
'./autolink/account': 94,
|
|
6685
|
+
'./autolink/anchor': 95,
|
|
6686
|
+
'./autolink/channel': 96,
|
|
6687
|
+
'./autolink/email': 97,
|
|
6688
|
+
'./autolink/hashref': 98,
|
|
6689
|
+
'./autolink/hashtag': 99,
|
|
6690
|
+
'./autolink/url': 100
|
|
6582
6691
|
}
|
|
6583
6692
|
],
|
|
6584
|
-
|
|
6693
|
+
94: [
|
|
6585
6694
|
function (_dereq_, module, exports) {
|
|
6586
6695
|
'use strict';
|
|
6587
6696
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6604,12 +6713,12 @@ require = function () {
|
|
|
6604
6713
|
},
|
|
6605
6714
|
{
|
|
6606
6715
|
'../../../combinator': 30,
|
|
6607
|
-
'../../source':
|
|
6608
|
-
'../link':
|
|
6716
|
+
'../../source': 131,
|
|
6717
|
+
'../link': 117,
|
|
6609
6718
|
'typed-dom': 29
|
|
6610
6719
|
}
|
|
6611
6720
|
],
|
|
6612
|
-
|
|
6721
|
+
95: [
|
|
6613
6722
|
function (_dereq_, module, exports) {
|
|
6614
6723
|
'use strict';
|
|
6615
6724
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6629,12 +6738,12 @@ require = function () {
|
|
|
6629
6738
|
},
|
|
6630
6739
|
{
|
|
6631
6740
|
'../../../combinator': 30,
|
|
6632
|
-
'../../source':
|
|
6633
|
-
'../link':
|
|
6741
|
+
'../../source': 131,
|
|
6742
|
+
'../link': 117,
|
|
6634
6743
|
'typed-dom': 29
|
|
6635
6744
|
}
|
|
6636
6745
|
],
|
|
6637
|
-
|
|
6746
|
+
96: [
|
|
6638
6747
|
function (_dereq_, module, exports) {
|
|
6639
6748
|
'use strict';
|
|
6640
6749
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6664,13 +6773,13 @@ require = function () {
|
|
|
6664
6773
|
},
|
|
6665
6774
|
{
|
|
6666
6775
|
'../../../combinator': 30,
|
|
6667
|
-
'../../util':
|
|
6668
|
-
'./account':
|
|
6669
|
-
'./hashtag':
|
|
6776
|
+
'../../util': 137,
|
|
6777
|
+
'./account': 94,
|
|
6778
|
+
'./hashtag': 99,
|
|
6670
6779
|
'typed-dom': 29
|
|
6671
6780
|
}
|
|
6672
6781
|
],
|
|
6673
|
-
|
|
6782
|
+
97: [
|
|
6674
6783
|
function (_dereq_, module, exports) {
|
|
6675
6784
|
'use strict';
|
|
6676
6785
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6688,11 +6797,11 @@ require = function () {
|
|
|
6688
6797
|
},
|
|
6689
6798
|
{
|
|
6690
6799
|
'../../../combinator': 30,
|
|
6691
|
-
'../../source':
|
|
6800
|
+
'../../source': 131,
|
|
6692
6801
|
'typed-dom': 29
|
|
6693
6802
|
}
|
|
6694
6803
|
],
|
|
6695
|
-
|
|
6804
|
+
98: [
|
|
6696
6805
|
function (_dereq_, module, exports) {
|
|
6697
6806
|
'use strict';
|
|
6698
6807
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6715,12 +6824,12 @@ require = function () {
|
|
|
6715
6824
|
},
|
|
6716
6825
|
{
|
|
6717
6826
|
'../../../combinator': 30,
|
|
6718
|
-
'../../source':
|
|
6719
|
-
'../link':
|
|
6827
|
+
'../../source': 131,
|
|
6828
|
+
'../link': 117,
|
|
6720
6829
|
'typed-dom': 29
|
|
6721
6830
|
}
|
|
6722
6831
|
],
|
|
6723
|
-
|
|
6832
|
+
99: [
|
|
6724
6833
|
function (_dereq_, module, exports) {
|
|
6725
6834
|
'use strict';
|
|
6726
6835
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6743,12 +6852,12 @@ require = function () {
|
|
|
6743
6852
|
},
|
|
6744
6853
|
{
|
|
6745
6854
|
'../../../combinator': 30,
|
|
6746
|
-
'../../source':
|
|
6747
|
-
'../link':
|
|
6855
|
+
'../../source': 131,
|
|
6856
|
+
'../link': 117,
|
|
6748
6857
|
'typed-dom': 29
|
|
6749
6858
|
}
|
|
6750
6859
|
],
|
|
6751
|
-
|
|
6860
|
+
100: [
|
|
6752
6861
|
function (_dereq_, module, exports) {
|
|
6753
6862
|
'use strict';
|
|
6754
6863
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6782,11 +6891,11 @@ require = function () {
|
|
|
6782
6891
|
},
|
|
6783
6892
|
{
|
|
6784
6893
|
'../../../combinator': 30,
|
|
6785
|
-
'../../source':
|
|
6786
|
-
'../link':
|
|
6894
|
+
'../../source': 131,
|
|
6895
|
+
'../link': 117
|
|
6787
6896
|
}
|
|
6788
6897
|
],
|
|
6789
|
-
|
|
6898
|
+
101: [
|
|
6790
6899
|
function (_dereq_, module, exports) {
|
|
6791
6900
|
'use strict';
|
|
6792
6901
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6847,14 +6956,14 @@ require = function () {
|
|
|
6847
6956
|
},
|
|
6848
6957
|
{
|
|
6849
6958
|
'../../combinator': 30,
|
|
6850
|
-
'../inline':
|
|
6851
|
-
'../source':
|
|
6959
|
+
'../inline': 91,
|
|
6960
|
+
'../source': 131,
|
|
6852
6961
|
'spica/array': 6,
|
|
6853
6962
|
'spica/global': 17,
|
|
6854
6963
|
'typed-dom': 29
|
|
6855
6964
|
}
|
|
6856
6965
|
],
|
|
6857
|
-
|
|
6966
|
+
102: [
|
|
6858
6967
|
function (_dereq_, module, exports) {
|
|
6859
6968
|
'use strict';
|
|
6860
6969
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6874,7 +6983,7 @@ require = function () {
|
|
|
6874
6983
|
'typed-dom': 29
|
|
6875
6984
|
}
|
|
6876
6985
|
],
|
|
6877
|
-
|
|
6986
|
+
103: [
|
|
6878
6987
|
function (_dereq_, module, exports) {
|
|
6879
6988
|
'use strict';
|
|
6880
6989
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6883,8 +6992,8 @@ require = function () {
|
|
|
6883
6992
|
const typed_dom_1 = _dereq_('typed-dom');
|
|
6884
6993
|
const memoize_1 = _dereq_('spica/memoize');
|
|
6885
6994
|
const closer = (0, memoize_1.memoize)(sharps => new RegExp(String.raw`\s${ sharps }]`));
|
|
6886
|
-
exports.comment = (0, combinator_1.creator)((0, combinator_1.validate)('[#', (0, combinator_1.match)(/^\[(#+)\s+(?:(\S[^\n]*?(?:\n.*?){0,99}?(?:\s|\n\s*))
|
|
6887
|
-
if (
|
|
6995
|
+
exports.comment = (0, combinator_1.creator)((0, combinator_1.validate)('[#', (0, combinator_1.match)(/^\[(#+)\s+(?!\s|\1\])(?:(\S[^\n]*?(?:\n.*?){0,99}?(?:\s|\n\s*))\1\])?/, ([, sharps, title]) => (rest, {resources}) => {
|
|
6996
|
+
if (title)
|
|
6888
6997
|
return [
|
|
6889
6998
|
[(0, typed_dom_1.html)('sup', {
|
|
6890
6999
|
class: 'comment',
|
|
@@ -6893,17 +7002,17 @@ require = function () {
|
|
|
6893
7002
|
rest
|
|
6894
7003
|
];
|
|
6895
7004
|
const i = rest.search(closer(sharps));
|
|
6896
|
-
if (i
|
|
6897
|
-
return
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
7005
|
+
if (i !== -1)
|
|
7006
|
+
return [
|
|
7007
|
+
[(0, typed_dom_1.html)('sup', {
|
|
7008
|
+
class: 'comment invalid',
|
|
7009
|
+
'data-invalid-syntax': 'comment',
|
|
7010
|
+
'data-invalid-type': 'content',
|
|
7011
|
+
'data-invalid-description': 'Too many lines.'
|
|
7012
|
+
}, rest.slice(0, i).trimEnd().replace(/\x7F.?/gs, ''))],
|
|
7013
|
+
rest.slice(i + sharps.length + 2)
|
|
7014
|
+
];
|
|
7015
|
+
resources && (resources.budget -= 10);
|
|
6907
7016
|
})));
|
|
6908
7017
|
},
|
|
6909
7018
|
{
|
|
@@ -6912,7 +7021,7 @@ require = function () {
|
|
|
6912
7021
|
'typed-dom': 29
|
|
6913
7022
|
}
|
|
6914
7023
|
],
|
|
6915
|
-
|
|
7024
|
+
104: [
|
|
6916
7025
|
function (_dereq_, module, exports) {
|
|
6917
7026
|
'use strict';
|
|
6918
7027
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6933,14 +7042,14 @@ require = function () {
|
|
|
6933
7042
|
},
|
|
6934
7043
|
{
|
|
6935
7044
|
'../../combinator': 30,
|
|
6936
|
-
'../inline':
|
|
6937
|
-
'../source':
|
|
6938
|
-
'../util':
|
|
7045
|
+
'../inline': 91,
|
|
7046
|
+
'../source': 131,
|
|
7047
|
+
'../util': 137,
|
|
6939
7048
|
'spica/array': 6,
|
|
6940
7049
|
'typed-dom': 29
|
|
6941
7050
|
}
|
|
6942
7051
|
],
|
|
6943
|
-
|
|
7052
|
+
105: [
|
|
6944
7053
|
function (_dereq_, module, exports) {
|
|
6945
7054
|
'use strict';
|
|
6946
7055
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6968,15 +7077,15 @@ require = function () {
|
|
|
6968
7077
|
},
|
|
6969
7078
|
{
|
|
6970
7079
|
'../../combinator': 30,
|
|
6971
|
-
'../inline':
|
|
6972
|
-
'../source':
|
|
6973
|
-
'../util':
|
|
6974
|
-
'./strong':
|
|
7080
|
+
'../inline': 91,
|
|
7081
|
+
'../source': 131,
|
|
7082
|
+
'../util': 137,
|
|
7083
|
+
'./strong': 124,
|
|
6975
7084
|
'spica/array': 6,
|
|
6976
7085
|
'typed-dom': 29
|
|
6977
7086
|
}
|
|
6978
7087
|
],
|
|
6979
|
-
|
|
7088
|
+
106: [
|
|
6980
7089
|
function (_dereq_, module, exports) {
|
|
6981
7090
|
'use strict';
|
|
6982
7091
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7042,14 +7151,14 @@ require = function () {
|
|
|
7042
7151
|
},
|
|
7043
7152
|
{
|
|
7044
7153
|
'../../combinator': 30,
|
|
7045
|
-
'../inline':
|
|
7046
|
-
'../source':
|
|
7047
|
-
'../util':
|
|
7154
|
+
'../inline': 91,
|
|
7155
|
+
'../source': 131,
|
|
7156
|
+
'../util': 137,
|
|
7048
7157
|
'spica/array': 6,
|
|
7049
7158
|
'typed-dom': 29
|
|
7050
7159
|
}
|
|
7051
7160
|
],
|
|
7052
|
-
|
|
7161
|
+
107: [
|
|
7053
7162
|
function (_dereq_, module, exports) {
|
|
7054
7163
|
'use strict';
|
|
7055
7164
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7077,11 +7186,11 @@ require = function () {
|
|
|
7077
7186
|
},
|
|
7078
7187
|
{
|
|
7079
7188
|
'../../combinator': 30,
|
|
7080
|
-
'../source':
|
|
7189
|
+
'../source': 131,
|
|
7081
7190
|
'spica/global': 17
|
|
7082
7191
|
}
|
|
7083
7192
|
],
|
|
7084
|
-
|
|
7193
|
+
108: [
|
|
7085
7194
|
function (_dereq_, module, exports) {
|
|
7086
7195
|
'use strict';
|
|
7087
7196
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7101,12 +7210,12 @@ require = function () {
|
|
|
7101
7210
|
},
|
|
7102
7211
|
{
|
|
7103
7212
|
'../../combinator': 30,
|
|
7104
|
-
'./extension/index':
|
|
7105
|
-
'./extension/label':
|
|
7106
|
-
'./extension/placeholder':
|
|
7213
|
+
'./extension/index': 109,
|
|
7214
|
+
'./extension/label': 112,
|
|
7215
|
+
'./extension/placeholder': 113
|
|
7107
7216
|
}
|
|
7108
7217
|
],
|
|
7109
|
-
|
|
7218
|
+
109: [
|
|
7110
7219
|
function (_dereq_, module, exports) {
|
|
7111
7220
|
'use strict';
|
|
7112
7221
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7167,16 +7276,16 @@ require = function () {
|
|
|
7167
7276
|
},
|
|
7168
7277
|
{
|
|
7169
7278
|
'../../../combinator': 30,
|
|
7170
|
-
'../../inline':
|
|
7171
|
-
'../../source':
|
|
7172
|
-
'../../util':
|
|
7173
|
-
'./indexee':
|
|
7279
|
+
'../../inline': 91,
|
|
7280
|
+
'../../source': 131,
|
|
7281
|
+
'../../util': 137,
|
|
7282
|
+
'./indexee': 110,
|
|
7174
7283
|
'spica/array': 6,
|
|
7175
7284
|
'spica/global': 17,
|
|
7176
7285
|
'typed-dom': 29
|
|
7177
7286
|
}
|
|
7178
7287
|
],
|
|
7179
|
-
|
|
7288
|
+
110: [
|
|
7180
7289
|
function (_dereq_, module, exports) {
|
|
7181
7290
|
'use strict';
|
|
7182
7291
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7226,7 +7335,7 @@ require = function () {
|
|
|
7226
7335
|
'typed-dom': 29
|
|
7227
7336
|
}
|
|
7228
7337
|
],
|
|
7229
|
-
|
|
7338
|
+
111: [
|
|
7230
7339
|
function (_dereq_, module, exports) {
|
|
7231
7340
|
'use strict';
|
|
7232
7341
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7241,11 +7350,11 @@ require = function () {
|
|
|
7241
7350
|
},
|
|
7242
7351
|
{
|
|
7243
7352
|
'../../../combinator': 30,
|
|
7244
|
-
'./index':
|
|
7353
|
+
'./index': 109,
|
|
7245
7354
|
'typed-dom': 29
|
|
7246
7355
|
}
|
|
7247
7356
|
],
|
|
7248
|
-
|
|
7357
|
+
112: [
|
|
7249
7358
|
function (_dereq_, module, exports) {
|
|
7250
7359
|
'use strict';
|
|
7251
7360
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7297,13 +7406,13 @@ require = function () {
|
|
|
7297
7406
|
},
|
|
7298
7407
|
{
|
|
7299
7408
|
'../../../combinator': 30,
|
|
7300
|
-
'../../source':
|
|
7409
|
+
'../../source': 131,
|
|
7301
7410
|
'spica/array': 6,
|
|
7302
7411
|
'spica/global': 17,
|
|
7303
7412
|
'typed-dom': 29
|
|
7304
7413
|
}
|
|
7305
7414
|
],
|
|
7306
|
-
|
|
7415
|
+
113: [
|
|
7307
7416
|
function (_dereq_, module, exports) {
|
|
7308
7417
|
'use strict';
|
|
7309
7418
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7332,14 +7441,14 @@ require = function () {
|
|
|
7332
7441
|
},
|
|
7333
7442
|
{
|
|
7334
7443
|
'../../../combinator': 30,
|
|
7335
|
-
'../../inline':
|
|
7336
|
-
'../../source':
|
|
7337
|
-
'../../util':
|
|
7444
|
+
'../../inline': 91,
|
|
7445
|
+
'../../source': 131,
|
|
7446
|
+
'../../util': 137,
|
|
7338
7447
|
'spica/array': 6,
|
|
7339
7448
|
'typed-dom': 29
|
|
7340
7449
|
}
|
|
7341
7450
|
],
|
|
7342
|
-
|
|
7451
|
+
114: [
|
|
7343
7452
|
function (_dereq_, module, exports) {
|
|
7344
7453
|
'use strict';
|
|
7345
7454
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7478,9 +7587,9 @@ require = function () {
|
|
|
7478
7587
|
},
|
|
7479
7588
|
{
|
|
7480
7589
|
'../../combinator': 30,
|
|
7481
|
-
'../inline':
|
|
7482
|
-
'../source':
|
|
7483
|
-
'../util':
|
|
7590
|
+
'../inline': 91,
|
|
7591
|
+
'../source': 131,
|
|
7592
|
+
'../util': 137,
|
|
7484
7593
|
'spica/alias': 5,
|
|
7485
7594
|
'spica/array': 6,
|
|
7486
7595
|
'spica/cache': 9,
|
|
@@ -7489,7 +7598,7 @@ require = function () {
|
|
|
7489
7598
|
'typed-dom': 29
|
|
7490
7599
|
}
|
|
7491
7600
|
],
|
|
7492
|
-
|
|
7601
|
+
115: [
|
|
7493
7602
|
function (_dereq_, module, exports) {
|
|
7494
7603
|
'use strict';
|
|
7495
7604
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7507,7 +7616,7 @@ require = function () {
|
|
|
7507
7616
|
'typed-dom': 29
|
|
7508
7617
|
}
|
|
7509
7618
|
],
|
|
7510
|
-
|
|
7619
|
+
116: [
|
|
7511
7620
|
function (_dereq_, module, exports) {
|
|
7512
7621
|
'use strict';
|
|
7513
7622
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7528,14 +7637,14 @@ require = function () {
|
|
|
7528
7637
|
},
|
|
7529
7638
|
{
|
|
7530
7639
|
'../../combinator': 30,
|
|
7531
|
-
'../inline':
|
|
7532
|
-
'../source':
|
|
7533
|
-
'../util':
|
|
7640
|
+
'../inline': 91,
|
|
7641
|
+
'../source': 131,
|
|
7642
|
+
'../util': 137,
|
|
7534
7643
|
'spica/array': 6,
|
|
7535
7644
|
'typed-dom': 29
|
|
7536
7645
|
}
|
|
7537
7646
|
],
|
|
7538
|
-
|
|
7647
|
+
117: [
|
|
7539
7648
|
function (_dereq_, module, exports) {
|
|
7540
7649
|
'use strict';
|
|
7541
7650
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7585,7 +7694,7 @@ require = function () {
|
|
|
7585
7694
|
if ((0, parser_1.eval)((0, combinator_1.some)(autolink_1.autolink)((0, util_1.stringify)(content), context), []).some(node => typeof node === 'object'))
|
|
7586
7695
|
return;
|
|
7587
7696
|
const INSECURE_URI = params.shift();
|
|
7588
|
-
const el = create(INSECURE_URI, (0, typed_dom_1.defrag)(content), new url_1.ReadonlyURL(resolve(INSECURE_URI, context.host || global_1.location, context.url || global_1.location), ((_a = context.host) === null || _a === void 0 ? void 0 : _a.href) || global_1.location.href), ((_b = context.host) === null || _b === void 0 ? void 0 : _b.origin) || global_1.location.origin);
|
|
7697
|
+
const el = create(INSECURE_URI, (0, util_1.trimEnd)((0, typed_dom_1.defrag)(content)), new url_1.ReadonlyURL(resolve(INSECURE_URI, context.host || global_1.location, context.url || global_1.location), ((_a = context.host) === null || _a === void 0 ? void 0 : _a.href) || global_1.location.href), ((_b = context.host) === null || _b === void 0 ? void 0 : _b.origin) || global_1.location.origin);
|
|
7589
7698
|
if (el.classList.contains('invalid'))
|
|
7590
7699
|
return [
|
|
7591
7700
|
[el],
|
|
@@ -7666,19 +7775,19 @@ require = function () {
|
|
|
7666
7775
|
},
|
|
7667
7776
|
{
|
|
7668
7777
|
'../../combinator': 30,
|
|
7669
|
-
'../../combinator/data/parser':
|
|
7670
|
-
'../autolink':
|
|
7671
|
-
'../inline':
|
|
7672
|
-
'../source':
|
|
7673
|
-
'../util':
|
|
7674
|
-
'./html':
|
|
7778
|
+
'../../combinator/data/parser': 50,
|
|
7779
|
+
'../autolink': 65,
|
|
7780
|
+
'../inline': 91,
|
|
7781
|
+
'../source': 131,
|
|
7782
|
+
'../util': 137,
|
|
7783
|
+
'./html': 114,
|
|
7675
7784
|
'spica/alias': 5,
|
|
7676
7785
|
'spica/global': 17,
|
|
7677
7786
|
'spica/url': 27,
|
|
7678
7787
|
'typed-dom': 29
|
|
7679
7788
|
}
|
|
7680
7789
|
],
|
|
7681
|
-
|
|
7790
|
+
118: [
|
|
7682
7791
|
function (_dereq_, module, exports) {
|
|
7683
7792
|
'use strict';
|
|
7684
7793
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7702,14 +7811,14 @@ require = function () {
|
|
|
7702
7811
|
},
|
|
7703
7812
|
{
|
|
7704
7813
|
'../../combinator': 30,
|
|
7705
|
-
'../inline':
|
|
7706
|
-
'../source':
|
|
7707
|
-
'../util':
|
|
7814
|
+
'../inline': 91,
|
|
7815
|
+
'../source': 131,
|
|
7816
|
+
'../util': 137,
|
|
7708
7817
|
'spica/array': 6,
|
|
7709
7818
|
'typed-dom': 29
|
|
7710
7819
|
}
|
|
7711
7820
|
],
|
|
7712
|
-
|
|
7821
|
+
119: [
|
|
7713
7822
|
function (_dereq_, module, exports) {
|
|
7714
7823
|
'use strict';
|
|
7715
7824
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7748,12 +7857,12 @@ require = function () {
|
|
|
7748
7857
|
},
|
|
7749
7858
|
{
|
|
7750
7859
|
'../../combinator': 30,
|
|
7751
|
-
'../source':
|
|
7752
|
-
'../util':
|
|
7860
|
+
'../source': 131,
|
|
7861
|
+
'../util': 137,
|
|
7753
7862
|
'typed-dom': 29
|
|
7754
7863
|
}
|
|
7755
7864
|
],
|
|
7756
|
-
|
|
7865
|
+
120: [
|
|
7757
7866
|
function (_dereq_, module, exports) {
|
|
7758
7867
|
'use strict';
|
|
7759
7868
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7878,11 +7987,11 @@ require = function () {
|
|
|
7878
7987
|
},
|
|
7879
7988
|
{
|
|
7880
7989
|
'../../combinator': 30,
|
|
7881
|
-
'../source':
|
|
7882
|
-
'../util':
|
|
7883
|
-
'./html':
|
|
7884
|
-
'./htmlentity':
|
|
7885
|
-
'./link':
|
|
7990
|
+
'../source': 131,
|
|
7991
|
+
'../util': 137,
|
|
7992
|
+
'./html': 114,
|
|
7993
|
+
'./htmlentity': 115,
|
|
7994
|
+
'./link': 117,
|
|
7886
7995
|
'spica/alias': 5,
|
|
7887
7996
|
'spica/array': 6,
|
|
7888
7997
|
'spica/global': 17,
|
|
@@ -7890,7 +7999,7 @@ require = function () {
|
|
|
7890
7999
|
'typed-dom': 29
|
|
7891
8000
|
}
|
|
7892
8001
|
],
|
|
7893
|
-
|
|
8002
|
+
121: [
|
|
7894
8003
|
function (_dereq_, module, exports) {
|
|
7895
8004
|
'use strict';
|
|
7896
8005
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -7939,14 +8048,14 @@ require = function () {
|
|
|
7939
8048
|
},
|
|
7940
8049
|
{
|
|
7941
8050
|
'../../combinator': 30,
|
|
7942
|
-
'../inline':
|
|
7943
|
-
'../source':
|
|
7944
|
-
'../util':
|
|
8051
|
+
'../inline': 91,
|
|
8052
|
+
'../source': 131,
|
|
8053
|
+
'../util': 137,
|
|
7945
8054
|
'spica/global': 17,
|
|
7946
8055
|
'typed-dom': 29
|
|
7947
8056
|
}
|
|
7948
8057
|
],
|
|
7949
|
-
|
|
8058
|
+
122: [
|
|
7950
8059
|
function (_dereq_, module, exports) {
|
|
7951
8060
|
'use strict';
|
|
7952
8061
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8027,16 +8136,16 @@ require = function () {
|
|
|
8027
8136
|
},
|
|
8028
8137
|
{
|
|
8029
8138
|
'../../combinator': 30,
|
|
8030
|
-
'../../combinator/data/parser':
|
|
8031
|
-
'../source':
|
|
8032
|
-
'../util':
|
|
8033
|
-
'./htmlentity':
|
|
8139
|
+
'../../combinator/data/parser': 50,
|
|
8140
|
+
'../source': 131,
|
|
8141
|
+
'../util': 137,
|
|
8142
|
+
'./htmlentity': 115,
|
|
8034
8143
|
'spica/array': 6,
|
|
8035
8144
|
'spica/global': 17,
|
|
8036
8145
|
'typed-dom': 29
|
|
8037
8146
|
}
|
|
8038
8147
|
],
|
|
8039
|
-
|
|
8148
|
+
123: [
|
|
8040
8149
|
function (_dereq_, module, exports) {
|
|
8041
8150
|
'use strict';
|
|
8042
8151
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8051,11 +8160,11 @@ require = function () {
|
|
|
8051
8160
|
},
|
|
8052
8161
|
{
|
|
8053
8162
|
'../../combinator': 30,
|
|
8054
|
-
'./autolink/url':
|
|
8055
|
-
'./media':
|
|
8163
|
+
'./autolink/url': 100,
|
|
8164
|
+
'./media': 120
|
|
8056
8165
|
}
|
|
8057
8166
|
],
|
|
8058
|
-
|
|
8167
|
+
124: [
|
|
8059
8168
|
function (_dereq_, module, exports) {
|
|
8060
8169
|
'use strict';
|
|
8061
8170
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8084,15 +8193,15 @@ require = function () {
|
|
|
8084
8193
|
},
|
|
8085
8194
|
{
|
|
8086
8195
|
'../../combinator': 30,
|
|
8087
|
-
'../inline':
|
|
8088
|
-
'../source':
|
|
8089
|
-
'../util':
|
|
8090
|
-
'./emphasis':
|
|
8196
|
+
'../inline': 91,
|
|
8197
|
+
'../source': 131,
|
|
8198
|
+
'../util': 137,
|
|
8199
|
+
'./emphasis': 105,
|
|
8091
8200
|
'spica/array': 6,
|
|
8092
8201
|
'typed-dom': 29
|
|
8093
8202
|
}
|
|
8094
8203
|
],
|
|
8095
|
-
|
|
8204
|
+
125: [
|
|
8096
8205
|
function (_dereq_, module, exports) {
|
|
8097
8206
|
'use strict';
|
|
8098
8207
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8136,13 +8245,13 @@ require = function () {
|
|
|
8136
8245
|
},
|
|
8137
8246
|
{
|
|
8138
8247
|
'../../combinator': 30,
|
|
8139
|
-
'../source':
|
|
8248
|
+
'../source': 131,
|
|
8140
8249
|
'spica/array': 6,
|
|
8141
8250
|
'spica/global': 17,
|
|
8142
8251
|
'typed-dom': 29
|
|
8143
8252
|
}
|
|
8144
8253
|
],
|
|
8145
|
-
|
|
8254
|
+
126: [
|
|
8146
8255
|
function (_dereq_, module, exports) {
|
|
8147
8256
|
'use strict';
|
|
8148
8257
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8210,11 +8319,11 @@ require = function () {
|
|
|
8210
8319
|
},
|
|
8211
8320
|
{
|
|
8212
8321
|
'../combinator': 30,
|
|
8213
|
-
'./locale/ja':
|
|
8322
|
+
'./locale/ja': 127,
|
|
8214
8323
|
'typed-dom': 29
|
|
8215
8324
|
}
|
|
8216
8325
|
],
|
|
8217
|
-
|
|
8326
|
+
127: [
|
|
8218
8327
|
function (_dereq_, module, exports) {
|
|
8219
8328
|
'use strict';
|
|
8220
8329
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8234,7 +8343,7 @@ require = function () {
|
|
|
8234
8343
|
},
|
|
8235
8344
|
{}
|
|
8236
8345
|
],
|
|
8237
|
-
|
|
8346
|
+
128: [
|
|
8238
8347
|
function (_dereq_, module, exports) {
|
|
8239
8348
|
'use strict';
|
|
8240
8349
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8332,14 +8441,14 @@ require = function () {
|
|
|
8332
8441
|
}
|
|
8333
8442
|
},
|
|
8334
8443
|
{
|
|
8335
|
-
'../inline/extension/label':
|
|
8444
|
+
'../inline/extension/label': 112,
|
|
8336
8445
|
'spica/array': 6,
|
|
8337
8446
|
'spica/global': 17,
|
|
8338
8447
|
'spica/multimap': 21,
|
|
8339
8448
|
'typed-dom': 29
|
|
8340
8449
|
}
|
|
8341
8450
|
],
|
|
8342
|
-
|
|
8451
|
+
129: [
|
|
8343
8452
|
function (_dereq_, module, exports) {
|
|
8344
8453
|
'use strict';
|
|
8345
8454
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8451,14 +8560,14 @@ require = function () {
|
|
|
8451
8560
|
}
|
|
8452
8561
|
},
|
|
8453
8562
|
{
|
|
8454
|
-
'../inline/extension/indexee':
|
|
8563
|
+
'../inline/extension/indexee': 110,
|
|
8455
8564
|
'spica/global': 17,
|
|
8456
8565
|
'spica/memoize': 20,
|
|
8457
8566
|
'spica/multimap': 21,
|
|
8458
8567
|
'typed-dom': 29
|
|
8459
8568
|
}
|
|
8460
8569
|
],
|
|
8461
|
-
|
|
8570
|
+
130: [
|
|
8462
8571
|
function (_dereq_, module, exports) {
|
|
8463
8572
|
'use strict';
|
|
8464
8573
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8503,16 +8612,16 @@ require = function () {
|
|
|
8503
8612
|
},
|
|
8504
8613
|
{
|
|
8505
8614
|
'../combinator': 30,
|
|
8506
|
-
'../combinator/data/parser':
|
|
8507
|
-
'./block/codeblock':
|
|
8508
|
-
'./block/extension':
|
|
8509
|
-
'./block/heading':
|
|
8510
|
-
'./block/mathblock':
|
|
8511
|
-
'./source':
|
|
8615
|
+
'../combinator/data/parser': 50,
|
|
8616
|
+
'./block/codeblock': 68,
|
|
8617
|
+
'./block/extension': 70,
|
|
8618
|
+
'./block/heading': 79,
|
|
8619
|
+
'./block/mathblock': 82,
|
|
8620
|
+
'./source': 131,
|
|
8512
8621
|
'spica/global': 17
|
|
8513
8622
|
}
|
|
8514
8623
|
],
|
|
8515
|
-
|
|
8624
|
+
131: [
|
|
8516
8625
|
function (_dereq_, module, exports) {
|
|
8517
8626
|
'use strict';
|
|
8518
8627
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8578,14 +8687,14 @@ require = function () {
|
|
|
8578
8687
|
});
|
|
8579
8688
|
},
|
|
8580
8689
|
{
|
|
8581
|
-
'./source/escapable':
|
|
8582
|
-
'./source/line':
|
|
8583
|
-
'./source/str':
|
|
8584
|
-
'./source/text':
|
|
8585
|
-
'./source/unescapable':
|
|
8690
|
+
'./source/escapable': 132,
|
|
8691
|
+
'./source/line': 133,
|
|
8692
|
+
'./source/str': 134,
|
|
8693
|
+
'./source/text': 135,
|
|
8694
|
+
'./source/unescapable': 136
|
|
8586
8695
|
}
|
|
8587
8696
|
],
|
|
8588
|
-
|
|
8697
|
+
132: [
|
|
8589
8698
|
function (_dereq_, module, exports) {
|
|
8590
8699
|
'use strict';
|
|
8591
8700
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8625,7 +8734,7 @@ require = function () {
|
|
|
8625
8734
|
},
|
|
8626
8735
|
{ '../../combinator': 30 }
|
|
8627
8736
|
],
|
|
8628
|
-
|
|
8737
|
+
133: [
|
|
8629
8738
|
function (_dereq_, module, exports) {
|
|
8630
8739
|
'use strict';
|
|
8631
8740
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8650,7 +8759,7 @@ require = function () {
|
|
|
8650
8759
|
'spica/global': 17
|
|
8651
8760
|
}
|
|
8652
8761
|
],
|
|
8653
|
-
|
|
8762
|
+
134: [
|
|
8654
8763
|
function (_dereq_, module, exports) {
|
|
8655
8764
|
'use strict';
|
|
8656
8765
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8683,7 +8792,7 @@ require = function () {
|
|
|
8683
8792
|
'spica/global': 17
|
|
8684
8793
|
}
|
|
8685
8794
|
],
|
|
8686
|
-
|
|
8795
|
+
135: [
|
|
8687
8796
|
function (_dereq_, module, exports) {
|
|
8688
8797
|
'use strict';
|
|
8689
8798
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8788,12 +8897,12 @@ require = function () {
|
|
|
8788
8897
|
},
|
|
8789
8898
|
{
|
|
8790
8899
|
'../../combinator': 30,
|
|
8791
|
-
'./str':
|
|
8900
|
+
'./str': 134,
|
|
8792
8901
|
'spica/global': 17,
|
|
8793
8902
|
'typed-dom': 29
|
|
8794
8903
|
}
|
|
8795
8904
|
],
|
|
8796
|
-
|
|
8905
|
+
136: [
|
|
8797
8906
|
function (_dereq_, module, exports) {
|
|
8798
8907
|
'use strict';
|
|
8799
8908
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8828,10 +8937,10 @@ require = function () {
|
|
|
8828
8937
|
},
|
|
8829
8938
|
{
|
|
8830
8939
|
'../../combinator': 30,
|
|
8831
|
-
'./text':
|
|
8940
|
+
'./text': 135
|
|
8832
8941
|
}
|
|
8833
8942
|
],
|
|
8834
|
-
|
|
8943
|
+
137: [
|
|
8835
8944
|
function (_dereq_, module, exports) {
|
|
8836
8945
|
'use strict';
|
|
8837
8946
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8877,7 +8986,7 @@ require = function () {
|
|
|
8877
8986
|
'InvisibleComma',
|
|
8878
8987
|
'ic'
|
|
8879
8988
|
];
|
|
8880
|
-
const blankline = new RegExp(String.raw`^(?!$|\n)(?:\\?\s|&(?:${ invisibleHTMLEntityNames.join('|') });|<wbr>|\[(#+)\s
|
|
8989
|
+
const blankline = new RegExp(String.raw`^(?!$|\n)(?:\\?\s|&(?:${ invisibleHTMLEntityNames.join('|') });|<wbr>|\[(#+)\s+(?!\s|\1\])\S[^\n]*?(?:\n.*?){0,99}?(?:\s|\n\s*)\1\])*\\?(?:$|\n)`, 'gm');
|
|
8881
8990
|
function visualize(parser) {
|
|
8882
8991
|
return (0, combinator_1.convert)(source => source.replace(blankline, line => line.replace(/[\\&<\[]/g, '\x7F\\$&')), (0, combinator_1.union)([
|
|
8883
8992
|
(0, combinator_1.verify)(parser, (ns, rest, context) => !rest && hasVisible(ns, context)),
|
|
@@ -8952,7 +9061,7 @@ require = function () {
|
|
|
8952
9061
|
function verifyStartTight(nodes) {
|
|
8953
9062
|
if (nodes.length === 0)
|
|
8954
9063
|
return true;
|
|
8955
|
-
return isVisible(nodes[0]);
|
|
9064
|
+
return isVisible(nodes[0], 0);
|
|
8956
9065
|
}
|
|
8957
9066
|
exports.verifyStartTight = verifyStartTight;
|
|
8958
9067
|
function verifyEndTight(nodes) {
|
|
@@ -8962,7 +9071,7 @@ require = function () {
|
|
|
8962
9071
|
return typeof nodes[last] === 'string' && nodes[last].length > 1 ? isVisible(nodes[last], -1) || isVisible(nodes[last], -2) : isVisible(nodes[last], -1) || last === 0 || isVisible(nodes[last - 1], -1);
|
|
8963
9072
|
}
|
|
8964
9073
|
exports.verifyEndTight = verifyEndTight;
|
|
8965
|
-
function isVisible(node, position
|
|
9074
|
+
function isVisible(node, position) {
|
|
8966
9075
|
if (!node)
|
|
8967
9076
|
return false;
|
|
8968
9077
|
switch (typeof node) {
|
|
@@ -9028,15 +9137,15 @@ require = function () {
|
|
|
9028
9137
|
},
|
|
9029
9138
|
{
|
|
9030
9139
|
'../combinator': 30,
|
|
9031
|
-
'../combinator/data/parser':
|
|
9032
|
-
'./inline/comment':
|
|
9033
|
-
'./inline/htmlentity':
|
|
9034
|
-
'./source':
|
|
9140
|
+
'../combinator/data/parser': 50,
|
|
9141
|
+
'./inline/comment': 103,
|
|
9142
|
+
'./inline/htmlentity': 115,
|
|
9143
|
+
'./source': 131,
|
|
9035
9144
|
'spica/array': 6,
|
|
9036
9145
|
'spica/global': 17
|
|
9037
9146
|
}
|
|
9038
9147
|
],
|
|
9039
|
-
|
|
9148
|
+
138: [
|
|
9040
9149
|
function (_dereq_, module, exports) {
|
|
9041
9150
|
'use strict';
|
|
9042
9151
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9049,9 +9158,9 @@ require = function () {
|
|
|
9049
9158
|
}
|
|
9050
9159
|
});
|
|
9051
9160
|
},
|
|
9052
|
-
{ './renderer/render':
|
|
9161
|
+
{ './renderer/render': 139 }
|
|
9053
9162
|
],
|
|
9054
|
-
|
|
9163
|
+
139: [
|
|
9055
9164
|
function (_dereq_, module, exports) {
|
|
9056
9165
|
'use strict';
|
|
9057
9166
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9107,14 +9216,14 @@ require = function () {
|
|
|
9107
9216
|
}
|
|
9108
9217
|
},
|
|
9109
9218
|
{
|
|
9110
|
-
'./render/code':
|
|
9111
|
-
'./render/math':
|
|
9112
|
-
'./render/media':
|
|
9219
|
+
'./render/code': 140,
|
|
9220
|
+
'./render/math': 141,
|
|
9221
|
+
'./render/media': 142,
|
|
9113
9222
|
'spica/global': 17,
|
|
9114
9223
|
'spica/memoize': 20
|
|
9115
9224
|
}
|
|
9116
9225
|
],
|
|
9117
|
-
|
|
9226
|
+
140: [
|
|
9118
9227
|
function (_dereq_, module, exports) {
|
|
9119
9228
|
(function (global) {
|
|
9120
9229
|
(function () {
|
|
@@ -9168,7 +9277,7 @@ require = function () {
|
|
|
9168
9277
|
},
|
|
9169
9278
|
{}
|
|
9170
9279
|
],
|
|
9171
|
-
|
|
9280
|
+
141: [
|
|
9172
9281
|
function (_dereq_, module, exports) {
|
|
9173
9282
|
'use strict';
|
|
9174
9283
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9185,7 +9294,7 @@ require = function () {
|
|
|
9185
9294
|
}
|
|
9186
9295
|
exports.math = math;
|
|
9187
9296
|
async function queue(target, callback = () => global_1.undefined) {
|
|
9188
|
-
MathJax.typesetPromise
|
|
9297
|
+
!MathJax.typesetPromise && await MathJax.startup.promise;
|
|
9189
9298
|
MathJax.typesetPromise([target]).then(callback);
|
|
9190
9299
|
}
|
|
9191
9300
|
},
|
|
@@ -9194,7 +9303,7 @@ require = function () {
|
|
|
9194
9303
|
'typed-dom': 29
|
|
9195
9304
|
}
|
|
9196
9305
|
],
|
|
9197
|
-
|
|
9306
|
+
142: [
|
|
9198
9307
|
function (_dereq_, module, exports) {
|
|
9199
9308
|
'use strict';
|
|
9200
9309
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9225,17 +9334,17 @@ require = function () {
|
|
|
9225
9334
|
exports.media = media;
|
|
9226
9335
|
},
|
|
9227
9336
|
{
|
|
9228
|
-
'./media/audio':
|
|
9229
|
-
'./media/image':
|
|
9230
|
-
'./media/pdf':
|
|
9231
|
-
'./media/twitter':
|
|
9232
|
-
'./media/video':
|
|
9233
|
-
'./media/youtube':
|
|
9337
|
+
'./media/audio': 143,
|
|
9338
|
+
'./media/image': 144,
|
|
9339
|
+
'./media/pdf': 145,
|
|
9340
|
+
'./media/twitter': 146,
|
|
9341
|
+
'./media/video': 147,
|
|
9342
|
+
'./media/youtube': 148,
|
|
9234
9343
|
'spica/memoize': 20,
|
|
9235
9344
|
'spica/url': 27
|
|
9236
9345
|
}
|
|
9237
9346
|
],
|
|
9238
|
-
|
|
9347
|
+
143: [
|
|
9239
9348
|
function (_dereq_, module, exports) {
|
|
9240
9349
|
'use strict';
|
|
9241
9350
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9260,7 +9369,7 @@ require = function () {
|
|
|
9260
9369
|
},
|
|
9261
9370
|
{ 'typed-dom': 29 }
|
|
9262
9371
|
],
|
|
9263
|
-
|
|
9372
|
+
144: [
|
|
9264
9373
|
function (_dereq_, module, exports) {
|
|
9265
9374
|
'use strict';
|
|
9266
9375
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9297,7 +9406,7 @@ require = function () {
|
|
|
9297
9406
|
'typed-dom': 29
|
|
9298
9407
|
}
|
|
9299
9408
|
],
|
|
9300
|
-
|
|
9409
|
+
145: [
|
|
9301
9410
|
function (_dereq_, module, exports) {
|
|
9302
9411
|
'use strict';
|
|
9303
9412
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9322,11 +9431,11 @@ require = function () {
|
|
|
9322
9431
|
exports.pdf = pdf;
|
|
9323
9432
|
},
|
|
9324
9433
|
{
|
|
9325
|
-
'../../../parser':
|
|
9434
|
+
'../../../parser': 57,
|
|
9326
9435
|
'typed-dom': 29
|
|
9327
9436
|
}
|
|
9328
9437
|
],
|
|
9329
|
-
|
|
9438
|
+
146: [
|
|
9330
9439
|
function (_dereq_, module, exports) {
|
|
9331
9440
|
(function (global) {
|
|
9332
9441
|
(function () {
|
|
@@ -9378,12 +9487,12 @@ require = function () {
|
|
|
9378
9487
|
}.call(this, typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {}));
|
|
9379
9488
|
},
|
|
9380
9489
|
{
|
|
9381
|
-
'../../../parser':
|
|
9490
|
+
'../../../parser': 57,
|
|
9382
9491
|
'spica/global': 17,
|
|
9383
9492
|
'typed-dom': 29
|
|
9384
9493
|
}
|
|
9385
9494
|
],
|
|
9386
|
-
|
|
9495
|
+
147: [
|
|
9387
9496
|
function (_dereq_, module, exports) {
|
|
9388
9497
|
'use strict';
|
|
9389
9498
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9415,7 +9524,7 @@ require = function () {
|
|
|
9415
9524
|
'typed-dom': 29
|
|
9416
9525
|
}
|
|
9417
9526
|
],
|
|
9418
|
-
|
|
9527
|
+
148: [
|
|
9419
9528
|
function (_dereq_, module, exports) {
|
|
9420
9529
|
'use strict';
|
|
9421
9530
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9448,7 +9557,7 @@ require = function () {
|
|
|
9448
9557
|
},
|
|
9449
9558
|
{ 'typed-dom': 29 }
|
|
9450
9559
|
],
|
|
9451
|
-
|
|
9560
|
+
149: [
|
|
9452
9561
|
function (_dereq_, module, exports) {
|
|
9453
9562
|
'use strict';
|
|
9454
9563
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9490,14 +9599,14 @@ require = function () {
|
|
|
9490
9599
|
});
|
|
9491
9600
|
},
|
|
9492
9601
|
{
|
|
9493
|
-
'./util/info':
|
|
9494
|
-
'./util/quote':
|
|
9495
|
-
'./util/scope':
|
|
9496
|
-
'./util/sync':
|
|
9497
|
-
'./util/toc':
|
|
9602
|
+
'./util/info': 150,
|
|
9603
|
+
'./util/quote': 151,
|
|
9604
|
+
'./util/scope': 152,
|
|
9605
|
+
'./util/sync': 153,
|
|
9606
|
+
'./util/toc': 154
|
|
9498
9607
|
}
|
|
9499
9608
|
],
|
|
9500
|
-
|
|
9609
|
+
150: [
|
|
9501
9610
|
function (_dereq_, module, exports) {
|
|
9502
9611
|
'use strict';
|
|
9503
9612
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9533,9 +9642,9 @@ require = function () {
|
|
|
9533
9642
|
}
|
|
9534
9643
|
exports.info = info;
|
|
9535
9644
|
},
|
|
9536
|
-
{ './scope':
|
|
9645
|
+
{ './scope': 152 }
|
|
9537
9646
|
],
|
|
9538
|
-
|
|
9647
|
+
151: [
|
|
9539
9648
|
function (_dereq_, module, exports) {
|
|
9540
9649
|
'use strict';
|
|
9541
9650
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9619,12 +9728,12 @@ require = function () {
|
|
|
9619
9728
|
}
|
|
9620
9729
|
},
|
|
9621
9730
|
{
|
|
9622
|
-
'../combinator/data/parser':
|
|
9623
|
-
'../parser/block/paragraph/mention/cite':
|
|
9731
|
+
'../combinator/data/parser': 50,
|
|
9732
|
+
'../parser/block/paragraph/mention/cite': 86,
|
|
9624
9733
|
'typed-dom': 29
|
|
9625
9734
|
}
|
|
9626
9735
|
],
|
|
9627
|
-
|
|
9736
|
+
152: [
|
|
9628
9737
|
function (_dereq_, module, exports) {
|
|
9629
9738
|
'use strict';
|
|
9630
9739
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9649,7 +9758,7 @@ require = function () {
|
|
|
9649
9758
|
},
|
|
9650
9759
|
{ 'spica/global': 17 }
|
|
9651
9760
|
],
|
|
9652
|
-
|
|
9761
|
+
153: [
|
|
9653
9762
|
function (_dereq_, module, exports) {
|
|
9654
9763
|
'use strict';
|
|
9655
9764
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9702,7 +9811,7 @@ require = function () {
|
|
|
9702
9811
|
'typed-dom': 29
|
|
9703
9812
|
}
|
|
9704
9813
|
],
|
|
9705
|
-
|
|
9814
|
+
154: [
|
|
9706
9815
|
function (_dereq_, module, exports) {
|
|
9707
9816
|
'use strict';
|
|
9708
9817
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -9802,9 +9911,9 @@ require = function () {
|
|
|
9802
9911
|
__exportStar(_dereq_('./src/renderer'), exports);
|
|
9803
9912
|
},
|
|
9804
9913
|
{
|
|
9805
|
-
'./src/parser':
|
|
9806
|
-
'./src/renderer':
|
|
9807
|
-
'./src/util':
|
|
9914
|
+
'./src/parser': 57,
|
|
9915
|
+
'./src/renderer': 138,
|
|
9916
|
+
'./src/util': 149,
|
|
9808
9917
|
'spica/global': 17
|
|
9809
9918
|
}
|
|
9810
9919
|
]
|