@banyan_cloud/roots 1.0.61 → 1.0.62
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/dist/cjs/index.js +258 -243
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +259 -244
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +259 -244
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -18351,172 +18351,181 @@ function autoit(Prism) {
|
|
|
18351
18351
|
};
|
|
18352
18352
|
}
|
|
18353
18353
|
|
|
18354
|
-
var avisynth_1
|
|
18355
|
-
|
|
18356
|
-
|
|
18357
|
-
function
|
|
18354
|
+
var avisynth_1;
|
|
18355
|
+
var hasRequiredAvisynth;
|
|
18356
|
+
|
|
18357
|
+
function requireAvisynth () {
|
|
18358
|
+
if (hasRequiredAvisynth) return avisynth_1;
|
|
18359
|
+
hasRequiredAvisynth = 1;
|
|
18360
|
+
|
|
18361
|
+
avisynth_1 = avisynth;
|
|
18362
|
+
avisynth.displayName = 'avisynth';
|
|
18363
|
+
avisynth.aliases = ['avs'];
|
|
18364
|
+
function avisynth(Prism) {
|
|
18358
18365
|
(function (Prism) {
|
|
18359
|
-
|
|
18360
|
-
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
|
|
18365
|
-
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
|
|
18369
|
-
|
|
18370
|
-
|
|
18371
|
-
|
|
18372
|
-
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
|
|
18382
|
-
|
|
18383
|
-
|
|
18384
|
-
|
|
18385
|
-
|
|
18386
|
-
|
|
18387
|
-
|
|
18388
|
-
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
|
|
18392
|
-
|
|
18393
|
-
|
|
18394
|
-
|
|
18395
|
-
|
|
18396
|
-
|
|
18397
|
-
|
|
18398
|
-
|
|
18399
|
-
|
|
18400
|
-
|
|
18401
|
-
|
|
18402
|
-
|
|
18403
|
-
|
|
18404
|
-
|
|
18405
|
-
|
|
18406
|
-
|
|
18407
|
-
|
|
18408
|
-
|
|
18409
|
-
|
|
18410
|
-
|
|
18411
|
-
|
|
18412
|
-
|
|
18413
|
-
|
|
18414
|
-
|
|
18415
|
-
|
|
18416
|
-
|
|
18417
|
-
|
|
18418
|
-
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
|
|
18422
|
-
|
|
18423
|
-
|
|
18424
|
-
|
|
18425
|
-
|
|
18426
|
-
|
|
18427
|
-
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
|
|
18431
|
-
|
|
18432
|
-
|
|
18433
|
-
|
|
18434
|
-
|
|
18435
|
-
|
|
18436
|
-
|
|
18437
|
-
|
|
18438
|
-
|
|
18439
|
-
|
|
18440
|
-
|
|
18441
|
-
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
|
|
18445
|
-
|
|
18446
|
-
|
|
18447
|
-
|
|
18448
|
-
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
|
|
18459
|
-
|
|
18460
|
-
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
|
|
18464
|
-
|
|
18465
|
-
|
|
18466
|
-
|
|
18467
|
-
|
|
18468
|
-
|
|
18469
|
-
|
|
18470
|
-
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
|
|
18477
|
-
|
|
18478
|
-
|
|
18479
|
-
|
|
18480
|
-
|
|
18481
|
-
|
|
18482
|
-
|
|
18483
|
-
|
|
18484
|
-
|
|
18485
|
-
|
|
18486
|
-
|
|
18487
|
-
|
|
18488
|
-
|
|
18489
|
-
|
|
18490
|
-
|
|
18491
|
-
|
|
18492
|
-
|
|
18493
|
-
|
|
18494
|
-
|
|
18495
|
-
|
|
18496
|
-
|
|
18497
|
-
|
|
18498
|
-
|
|
18499
|
-
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
|
|
18503
|
-
|
|
18504
|
-
|
|
18505
|
-
|
|
18506
|
-
|
|
18507
|
-
|
|
18508
|
-
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
18366
|
+
function replace(pattern, replacements) {
|
|
18367
|
+
return pattern.replace(/<<(\d+)>>/g, function (m, index) {
|
|
18368
|
+
return replacements[+index]
|
|
18369
|
+
})
|
|
18370
|
+
}
|
|
18371
|
+
function re(pattern, replacements, flags) {
|
|
18372
|
+
return RegExp(replace(pattern, replacements), flags || '')
|
|
18373
|
+
}
|
|
18374
|
+
var types = /bool|clip|float|int|string|val/.source;
|
|
18375
|
+
var internals = [
|
|
18376
|
+
// bools
|
|
18377
|
+
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
|
|
18378
|
+
.source, // control
|
|
18379
|
+
/apply|assert|default|eval|import|nop|select|undefined/.source, // global
|
|
18380
|
+
/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
|
|
18381
|
+
.source, // conv
|
|
18382
|
+
/hex(?:value)?|value/.source, // numeric
|
|
18383
|
+
/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
|
|
18384
|
+
.source, // trig
|
|
18385
|
+
/a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
|
|
18386
|
+
/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/
|
|
18387
|
+
.source, // runtime
|
|
18388
|
+
/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
|
|
18389
|
+
.source, // script
|
|
18390
|
+
/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
|
|
18391
|
+
.source, // string
|
|
18392
|
+
/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
|
|
18393
|
+
.source, // version
|
|
18394
|
+
/isversionorgreater|version(?:number|string)/.source, // helper
|
|
18395
|
+
/buildpixeltype|colorspacenametopixeltype/.source, // avsplus
|
|
18396
|
+
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
18397
|
+
].join('|');
|
|
18398
|
+
var properties = [
|
|
18399
|
+
// content
|
|
18400
|
+
/has(?:audio|video)/.source, // resolution
|
|
18401
|
+
/height|width/.source, // framerate
|
|
18402
|
+
/frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
|
|
18403
|
+
/getparity|is(?:field|frame)based/.source, // color format
|
|
18404
|
+
/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/
|
|
18405
|
+
.source, // audio
|
|
18406
|
+
/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
|
|
18407
|
+
.source
|
|
18408
|
+
].join('|');
|
|
18409
|
+
var filters = [
|
|
18410
|
+
// source
|
|
18411
|
+
/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
|
|
18412
|
+
.source, // color
|
|
18413
|
+
/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/
|
|
18414
|
+
.source, // overlay
|
|
18415
|
+
/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
|
|
18416
|
+
/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/
|
|
18417
|
+
.source, // pixel
|
|
18418
|
+
/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
|
|
18419
|
+
.source, // timeline
|
|
18420
|
+
/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/
|
|
18421
|
+
.source, // interlace
|
|
18422
|
+
/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
|
|
18423
|
+
.source, // audio
|
|
18424
|
+
/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/
|
|
18425
|
+
.source, // conditional
|
|
18426
|
+
/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
|
|
18427
|
+
.source, // export
|
|
18428
|
+
/imagewriter/.source, // debug
|
|
18429
|
+
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
|
|
18430
|
+
.source
|
|
18431
|
+
].join('|');
|
|
18432
|
+
var allinternals = [internals, properties, filters].join('|');
|
|
18433
|
+
Prism.languages.avisynth = {
|
|
18434
|
+
comment: [
|
|
18435
|
+
{
|
|
18436
|
+
// Matches [* *] nestable block comments, but only supports 1 level of nested comments
|
|
18437
|
+
// /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
|
|
18438
|
+
pattern:
|
|
18439
|
+
/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
|
|
18440
|
+
lookbehind: true,
|
|
18441
|
+
greedy: true
|
|
18442
|
+
},
|
|
18443
|
+
{
|
|
18444
|
+
// Matches /* */ block comments
|
|
18445
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
18446
|
+
lookbehind: true,
|
|
18447
|
+
greedy: true
|
|
18448
|
+
},
|
|
18449
|
+
{
|
|
18450
|
+
// Matches # comments
|
|
18451
|
+
pattern: /(^|[^\\$])#.*/,
|
|
18452
|
+
lookbehind: true,
|
|
18453
|
+
greedy: true
|
|
18454
|
+
}
|
|
18455
|
+
],
|
|
18456
|
+
// Handle before strings because optional arguments are surrounded by double quotes
|
|
18457
|
+
argument: {
|
|
18458
|
+
pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
|
|
18459
|
+
inside: {
|
|
18460
|
+
keyword: /^\w+/
|
|
18461
|
+
}
|
|
18462
|
+
},
|
|
18463
|
+
// Optional argument assignment
|
|
18464
|
+
'argument-label': {
|
|
18465
|
+
pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
|
|
18466
|
+
lookbehind: true,
|
|
18467
|
+
inside: {
|
|
18468
|
+
'argument-name': {
|
|
18469
|
+
pattern: /^\w+/,
|
|
18470
|
+
alias: 'punctuation'
|
|
18471
|
+
},
|
|
18472
|
+
punctuation: /=$/
|
|
18473
|
+
}
|
|
18474
|
+
},
|
|
18475
|
+
string: [
|
|
18476
|
+
{
|
|
18477
|
+
// triple double-quoted
|
|
18478
|
+
pattern: /"""[\s\S]*?"""/,
|
|
18479
|
+
greedy: true
|
|
18480
|
+
},
|
|
18481
|
+
{
|
|
18482
|
+
// single double-quoted
|
|
18483
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
18484
|
+
greedy: true,
|
|
18485
|
+
inside: {
|
|
18486
|
+
constant: {
|
|
18487
|
+
// These *are* case-sensitive!
|
|
18488
|
+
pattern:
|
|
18489
|
+
/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
|
|
18490
|
+
}
|
|
18491
|
+
}
|
|
18492
|
+
}
|
|
18493
|
+
],
|
|
18494
|
+
// The special "last" variable that takes the value of the last implicitly returned clip
|
|
18495
|
+
variable: /\b(?:last)\b/i,
|
|
18496
|
+
boolean: /\b(?:false|no|true|yes)\b/i,
|
|
18497
|
+
keyword:
|
|
18498
|
+
/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
|
|
18499
|
+
constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
|
|
18500
|
+
// AviSynth's internal functions, filters, and properties
|
|
18501
|
+
'builtin-function': {
|
|
18502
|
+
pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
|
|
18503
|
+
alias: 'function'
|
|
18504
|
+
},
|
|
18505
|
+
'type-cast': {
|
|
18506
|
+
pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
|
|
18507
|
+
alias: 'keyword'
|
|
18508
|
+
},
|
|
18509
|
+
// External/user-defined filters
|
|
18510
|
+
function: {
|
|
18511
|
+
pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
|
|
18512
|
+
lookbehind: true
|
|
18513
|
+
},
|
|
18514
|
+
// Matches a \ as the first or last character on a line
|
|
18515
|
+
'line-continuation': {
|
|
18516
|
+
pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
|
|
18517
|
+
lookbehind: true,
|
|
18518
|
+
alias: 'punctuation'
|
|
18519
|
+
},
|
|
18520
|
+
number:
|
|
18521
|
+
/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
|
|
18522
|
+
operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
|
|
18523
|
+
punctuation: /[{}\[\]();,.]/
|
|
18524
|
+
};
|
|
18525
|
+
Prism.languages.avs = Prism.languages.avisynth;
|
|
18526
|
+
})(Prism);
|
|
18527
|
+
}
|
|
18528
|
+
return avisynth_1;
|
|
18520
18529
|
}
|
|
18521
18530
|
|
|
18522
18531
|
var avroIdl_1 = avroIdl;
|
|
@@ -19568,71 +19577,62 @@ function cmake(Prism) {
|
|
|
19568
19577
|
};
|
|
19569
19578
|
}
|
|
19570
19579
|
|
|
19571
|
-
var cobol_1;
|
|
19572
|
-
|
|
19573
|
-
|
|
19574
|
-
function
|
|
19575
|
-
|
|
19576
|
-
|
|
19577
|
-
|
|
19578
|
-
|
|
19579
|
-
|
|
19580
|
-
|
|
19581
|
-
|
|
19582
|
-
|
|
19583
|
-
|
|
19584
|
-
|
|
19585
|
-
|
|
19586
|
-
|
|
19587
|
-
|
|
19588
|
-
|
|
19589
|
-
|
|
19590
|
-
|
|
19591
|
-
|
|
19592
|
-
|
|
19593
|
-
|
|
19594
|
-
|
|
19595
|
-
|
|
19596
|
-
|
|
19597
|
-
|
|
19598
|
-
|
|
19599
|
-
|
|
19600
|
-
|
|
19601
|
-
|
|
19602
|
-
|
|
19603
|
-
|
|
19604
|
-
|
|
19605
|
-
|
|
19606
|
-
|
|
19607
|
-
|
|
19608
|
-
|
|
19609
|
-
|
|
19610
|
-
|
|
19611
|
-
|
|
19612
|
-
|
|
19613
|
-
|
|
19614
|
-
|
|
19615
|
-
|
|
19616
|
-
|
|
19617
|
-
|
|
19618
|
-
|
|
19619
|
-
|
|
19620
|
-
|
|
19621
|
-
|
|
19622
|
-
|
|
19623
|
-
|
|
19624
|
-
|
|
19625
|
-
|
|
19626
|
-
|
|
19627
|
-
{
|
|
19628
|
-
pattern: /(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,
|
|
19629
|
-
lookbehind: true
|
|
19630
|
-
}
|
|
19631
|
-
],
|
|
19632
|
-
punctuation: /[.:,()]/
|
|
19633
|
-
};
|
|
19634
|
-
}
|
|
19635
|
-
return cobol_1;
|
|
19580
|
+
var cobol_1 = cobol;
|
|
19581
|
+
cobol.displayName = 'cobol';
|
|
19582
|
+
cobol.aliases = [];
|
|
19583
|
+
function cobol(Prism) {
|
|
19584
|
+
Prism.languages.cobol = {
|
|
19585
|
+
comment: {
|
|
19586
|
+
pattern: /\*>.*|(^[ \t]*)\*.*/m,
|
|
19587
|
+
lookbehind: true,
|
|
19588
|
+
greedy: true
|
|
19589
|
+
},
|
|
19590
|
+
string: {
|
|
19591
|
+
pattern: /[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,
|
|
19592
|
+
greedy: true
|
|
19593
|
+
},
|
|
19594
|
+
level: {
|
|
19595
|
+
pattern: /(^[ \t]*)\d+\b/m,
|
|
19596
|
+
lookbehind: true,
|
|
19597
|
+
greedy: true,
|
|
19598
|
+
alias: 'number'
|
|
19599
|
+
},
|
|
19600
|
+
'class-name': {
|
|
19601
|
+
// https://github.com/antlr/grammars-v4/blob/42edd5b687d183b5fa679e858a82297bd27141e7/cobol85/Cobol85.g4#L1015
|
|
19602
|
+
pattern:
|
|
19603
|
+
/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,
|
|
19604
|
+
lookbehind: true,
|
|
19605
|
+
inside: {
|
|
19606
|
+
number: {
|
|
19607
|
+
pattern: /(\()\d+/,
|
|
19608
|
+
lookbehind: true
|
|
19609
|
+
},
|
|
19610
|
+
punctuation: /[()]/
|
|
19611
|
+
}
|
|
19612
|
+
},
|
|
19613
|
+
keyword: {
|
|
19614
|
+
pattern:
|
|
19615
|
+
/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,
|
|
19616
|
+
lookbehind: true
|
|
19617
|
+
},
|
|
19618
|
+
boolean: {
|
|
19619
|
+
pattern: /(^|[^\w-])(?:false|true)(?![\w-])/i,
|
|
19620
|
+
lookbehind: true
|
|
19621
|
+
},
|
|
19622
|
+
number: {
|
|
19623
|
+
pattern:
|
|
19624
|
+
/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,
|
|
19625
|
+
lookbehind: true
|
|
19626
|
+
},
|
|
19627
|
+
operator: [
|
|
19628
|
+
/<>|[<>]=?|[=+*/&]/,
|
|
19629
|
+
{
|
|
19630
|
+
pattern: /(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,
|
|
19631
|
+
lookbehind: true
|
|
19632
|
+
}
|
|
19633
|
+
],
|
|
19634
|
+
punctuation: /[.:,()]/
|
|
19635
|
+
};
|
|
19636
19636
|
}
|
|
19637
19637
|
|
|
19638
19638
|
var coffeescript_1;
|
|
@@ -39603,7 +39603,7 @@ refractor.register(asmatmel_1);
|
|
|
39603
39603
|
refractor.register(aspnet_1);
|
|
39604
39604
|
refractor.register(autohotkey_1);
|
|
39605
39605
|
refractor.register(autoit_1);
|
|
39606
|
-
refractor.register(
|
|
39606
|
+
refractor.register(requireAvisynth());
|
|
39607
39607
|
refractor.register(avroIdl_1);
|
|
39608
39608
|
refractor.register(bash_1);
|
|
39609
39609
|
refractor.register(basic_1);
|
|
@@ -39623,7 +39623,7 @@ refractor.register(chaiscript_1);
|
|
|
39623
39623
|
refractor.register(cil_1);
|
|
39624
39624
|
refractor.register(clojure_1);
|
|
39625
39625
|
refractor.register(cmake_1);
|
|
39626
|
-
refractor.register(
|
|
39626
|
+
refractor.register(cobol_1);
|
|
39627
39627
|
refractor.register(requireCoffeescript());
|
|
39628
39628
|
refractor.register(requireConcurnas());
|
|
39629
39629
|
refractor.register(requireCoq());
|
|
@@ -105770,6 +105770,7 @@ var BaseMap = function BaseMap(props) {
|
|
|
105770
105770
|
fitBounds = props.fitBounds,
|
|
105771
105771
|
options = _objectWithoutProperties$1(props, _excluded$1);
|
|
105772
105772
|
var ref = React.useRef(null);
|
|
105773
|
+
var markersRef = React.useRef([]);
|
|
105773
105774
|
var _useState = React.useState(),
|
|
105774
105775
|
_useState2 = _slicedToArray(_useState, 2),
|
|
105775
105776
|
map = _useState2[0],
|
|
@@ -105782,12 +105783,13 @@ var BaseMap = function BaseMap(props) {
|
|
|
105782
105783
|
}
|
|
105783
105784
|
}, [map]);
|
|
105784
105785
|
React.useEffect(function () {
|
|
105785
|
-
|
|
105786
|
-
|
|
105787
|
-
|
|
105788
|
-
|
|
105789
|
-
|
|
105786
|
+
var _markersRef$current;
|
|
105787
|
+
if (clustered && map && React.Children.count(children) > 0 && (markersRef === null || markersRef === void 0 ? void 0 : (_markersRef$current = markersRef.current) === null || _markersRef$current === void 0 ? void 0 : _markersRef$current.length) > 0) {
|
|
105788
|
+
var _markersRef$current2;
|
|
105789
|
+
var markers = markersRef === null || markersRef === void 0 ? void 0 : (_markersRef$current2 = markersRef.current) === null || _markersRef$current2 === void 0 ? void 0 : _markersRef$current2.map(function (marker) {
|
|
105790
|
+
return marker.current;
|
|
105790
105791
|
});
|
|
105792
|
+
|
|
105791
105793
|
// eslint-disable-next-line no-new
|
|
105792
105794
|
new MarkerClusterer({
|
|
105793
105795
|
map: map,
|
|
@@ -105843,11 +105845,18 @@ var BaseMap = function BaseMap(props) {
|
|
|
105843
105845
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
105844
105846
|
ref: ref,
|
|
105845
105847
|
style: style
|
|
105846
|
-
}),
|
|
105848
|
+
}), React.Children.map(children, function (child, index) {
|
|
105849
|
+
if (index === 0) {
|
|
105850
|
+
markersRef.current = [];
|
|
105851
|
+
}
|
|
105847
105852
|
if ( /*#__PURE__*/React.isValidElement(child)) {
|
|
105853
|
+
var _markersRef$current3;
|
|
105854
|
+
var childRef = /*#__PURE__*/React.createRef();
|
|
105855
|
+
markersRef === null || markersRef === void 0 ? void 0 : (_markersRef$current3 = markersRef.current) === null || _markersRef$current3 === void 0 ? void 0 : _markersRef$current3.push(childRef);
|
|
105848
105856
|
// set the map prop on the child component
|
|
105849
105857
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
105850
|
-
map: map
|
|
105858
|
+
map: map,
|
|
105859
|
+
ref: childRef
|
|
105851
105860
|
});
|
|
105852
105861
|
}
|
|
105853
105862
|
return null;
|
|
@@ -105886,7 +105895,9 @@ Map$1.defaultProps = {
|
|
|
105886
105895
|
};
|
|
105887
105896
|
|
|
105888
105897
|
var _excluded = ["children"];
|
|
105889
|
-
|
|
105898
|
+
|
|
105899
|
+
// eslint-disable-next-line prefer-arrow-callback
|
|
105900
|
+
var Marker = /*#__PURE__*/React.forwardRef(function Marker(_ref, ref) {
|
|
105890
105901
|
var children = _ref.children,
|
|
105891
105902
|
options = _objectWithoutProperties$1(_ref, _excluded);
|
|
105892
105903
|
var _useState = React.useState(),
|
|
@@ -105896,7 +105907,9 @@ var Marker = function Marker(_ref) {
|
|
|
105896
105907
|
var infoWindowRef = React.useRef(null);
|
|
105897
105908
|
React.useEffect(function () {
|
|
105898
105909
|
if (!marker) {
|
|
105899
|
-
|
|
105910
|
+
var newMap = new google.maps.Marker();
|
|
105911
|
+
setMarker(newMap);
|
|
105912
|
+
ref.current = newMap;
|
|
105900
105913
|
}
|
|
105901
105914
|
|
|
105902
105915
|
// remove marker from map on unmount
|
|
@@ -105909,7 +105922,6 @@ var Marker = function Marker(_ref) {
|
|
|
105909
105922
|
React.useEffect(function () {
|
|
105910
105923
|
if (marker && React.Children.count(children) === 1 && infoWindowRef !== null && infoWindowRef !== void 0 && infoWindowRef.current) {
|
|
105911
105924
|
var infoWindow = infoWindowRef === null || infoWindowRef === void 0 ? void 0 : infoWindowRef.current;
|
|
105912
|
-
console.log(marker, infoWindow);
|
|
105913
105925
|
marker.addListener('click', function () {
|
|
105914
105926
|
infoWindow.open({
|
|
105915
105927
|
anchor: marker,
|
|
@@ -105934,7 +105946,7 @@ var Marker = function Marker(_ref) {
|
|
|
105934
105946
|
}
|
|
105935
105947
|
}
|
|
105936
105948
|
return null;
|
|
105937
|
-
};
|
|
105949
|
+
});
|
|
105938
105950
|
|
|
105939
105951
|
// eslint-disable-next-line prefer-arrow-callback
|
|
105940
105952
|
var InfoWindow = /*#__PURE__*/React.forwardRef(function InfoWindow(options, ref) {
|
|
@@ -105956,6 +105968,9 @@ var InfoWindow = /*#__PURE__*/React.forwardRef(function InfoWindow(options, ref)
|
|
|
105956
105968
|
}, [infoWindow, options]);
|
|
105957
105969
|
return null;
|
|
105958
105970
|
});
|
|
105971
|
+
InfoWindow.defaultProps = {
|
|
105972
|
+
disableAutoPan: true
|
|
105973
|
+
};
|
|
105959
105974
|
|
|
105960
105975
|
exports.Accordion = Accordion;
|
|
105961
105976
|
exports.Alert = Alert;
|