@werckmeister/language-features 1.0.0-69 → 1.0.0-70
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var r;!function(t){var n={"&":"&","<":"<",">":">","'":"'",""
|
|
|
5
5
|
},{"from-xml":"sarP"}],"f88W":[function(require,module,exports) {
|
|
6
6
|
|
|
7
7
|
},{}],"Y3F9":[function(require,module,exports) {
|
|
8
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getPreInstalledAuxFiles=exports.getAutoHintDb=void 0;var e=require("./parser/docParser"),n=require("fs"),t='{"device":{"rawObject":{"doc":{"command":{"@name":"device","@where":"document","#":"Defines a device which can be used when adding instruments (see [instrumentDef](https://werckme.github.io/manual#instrumentDef))\\nsee [instrumentDef](https://werckme.github.io/manual#instrumentDef), [instrument](https://werckme.github.io/manual#instrument)\\n#### example\\ndefine an device, an instrument and assign it to a track.\\n```\\ndevice: MyDevice midi 0;\\ninstrumentDef: organ _onDevice=MyDevice _ch=0 _pc=16;\\n[\\ninstrument: organ;\\n{\\nc d e f\\n}\\n]\\n```\\n**Fluidsynth**\\nIf you want to use [fluidSynth](http://www.fluidsynth.org) as output device, you can achieve this with a command like this:\\n`device: MyDevice fluidSynth _useFont=\\"PATH OF A SOUNDFONT FILE\\";`\\nOn mac, make sure that you have fluidsynth installed."},"param":[{"@name":"setName","@position":"0","@type":"text","#":"An arbitary name."},{"@name":"isType","@position":"1","@type":"[midi,fluidSynth]","#":"The type of the device."},{"@name":"usePort","@position":"2","@optional":"1","@type":"0..N","#":"The midi port id of your device. You can get a list of your connected devices, by executing `sheetp --list`. Alternatively you can use `useDevice` instead."},{"@name":"useDevice","@position":"","@optional":"1","@type":"text","#":"The name of the midi port of your device. You can get a list of your connected devices, by executing `sheetp --list`. It is not necessary to give the full name, a subset will match."},{"@name":"withOffset","@position":"","@optional":"1","@type":"0..N","#":"Defines an offset in milliseconds. Can be used to keep different devices in sync."},{"@name":"useFont","@position":"","@optional":"1","@type":"a file path","#":"Only valid if isType=`fluidsynth`. Sets the location of the soundfont file, which will be used by FluidSynth"}]}}},"instrumentConf":{"rawObject":{"doc":{"command":{"@name":"instrumentConf","@where":"document","#":"With `instrumentConf` you are able to setup a specific instrument.\\nFollowing settings can be applied:\\n* volume\\n* pan\\n* cc\\n* voicing strategy\\n* mod\\n* velocity remap\\n#### examples\\n##### mixed settings\\n`instrumentConf: piano volume 100 pan 50;`\\n##### setup a mod\\n`instrumentConf: piano mod myLuaMod someValue; --the `someValue` argument belongs to \\"myLuaMod\\"`\\n##### setup a velocity remap\\nWith `remapVelocity` you are able to change the velocity values behind `ppppp..fffff` for a specific instrument.\\nIn the example below the velocity for `p` will be set to 100 and the value for `f` will be set to 10.\\n> this approach is deprecated, use [conduction rules](https://werckme.github.io/manual#conduction-rules) instead\\nThe value range is 0..100. (100=127 Midi velocity)\\n`instrumentConf: _set=remapVelocity _p=100 _f=10;`"},"param":{"@name":"for","@position":"0","#":"The name of the target instrument. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related setting."}}}},"mod":{"rawObject":{"doc":{"command":{"@name":"mod","@where":"voice","#":"Adds a modification to the track. Every `mod` statement adds a further modification to the related voice.\\nIf you want to use ony one modification at the time use [do](https://werckme.github.io/manual#do) instead.\\n#### examples\\n`/mod: arpeggio/`\\nMods can be external lua scripts, or one of these internal mods:\\n##### Bend\\nPerforms a pitch bend from or to the pitch of a note. The value range is 0..100 where 50 means the pichbend center.\\n```language=Werckmeister,type=single,tempo=140\\n/doOnce: bend _from=0/ c1 | /doOnce: bend _to=0/ c1\\n```\\n##### Arpeggio\\nPerforms an arpeggio over a given chord.\\n**Arpeggio is deprecated. Use the lua mod [myArpeggio](https://werckme.github.io/manual#myarpeggio) instead.**"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"modOnce":{"rawObject":{"doc":{"command":{"@name":"modOnce","@where":"voice","#":"Like [mod](https://werckme.github.io/manual#mod). But with the difference, that the loaded mod will be only executed once for the following event.\\n#### examples\\n`/modOnce: arpeggio/`"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"cue":{"rawObject":{"doc":{"command":{"@name":"cue","@where":"voice","#":"adds a cue MIDI meta message to the corresponding midi track\\n#### examples\\n`/cue: cueText/`\\n> If a cue was visited several times during a repeat or jump an additional repeat index will be added.\\n> For example:\\n> `/cue: myCue/ c d e f :|` will create two cue MIDI messages: \\"myCue\\" and \\"myCue2\\"\\n>"},"param":{"@name":"text","@type":"text","#":"the text which appears in the MIDI message"}}}},"instrumentSection":{"rawObject":{"doc":{"command":{"@name":"instrumentSection","@where":"document","#":["Layers arbitrary instruments into one.\\nsee [instrumentDef](#instrumentDef), [instrument](https://werckme.github.io/manual#instrument), [device](https://werckme.github.io/manual#device)\\n#### example\\ncreate 3 instruments and assign them to the section `myNewInstrument`.","```language=Werckmeister\\ntempo: 120;\\ndevice: MyDevice midi _usePort=0;\\ninstrumentDef:piano _onDevice=MyDevice _ch=0 _pc=0;\\ninstrumentDef:guitar _onDevice=MyDevice _ch=1 _pc=29;\\ninstrumentDef:organ _onDevice=MyDevice _ch=2 _pc=16;\\ninstrumentSection: myNewInstrument piano guitar organ;\\n\\n[\\ninstrument: myNewInstrument;\\n{\\na,,1 | a, | d#,~ | &\\n}\\n]\\n```"]},"param":{"@name":"setName","@position":"0","@type":"text","#":"An arbitary name."}}}},"instrumentDef":{"rawObject":{"doc":{"command":{"@name":"instrumentDef","@where":"document","#":"Adds a new MIDI instrument.\\nsee [instrument](https://werckme.github.io/manual#instrument), [device](https://werckme.github.io/manual#device)\\n#### example\\ndefine an device, an instrument and assign it to a track.\\n```\\ndevice: MyDevice midi 0;\\ninstrumentDef: organ _onDevice=MyDevice _ch=0 _pc=16;\\n[\\ninstrument: organ;\\n{\\nc d e f\\n}\\n]\\n```"},"param":[{"@name":"setName","@position":"0","@type":"text","#":"An arbitary name."},{"@name":"onDevice","@position":"1","@type":"text","#":"The device which to use (The name of the device, see [device](https://werckme.github.io/manual#device))."},{"@name":"ch","@position":"2","@type":"0..15","#":"The MIDI channel."},{"@name":"bankMsb","@position":"3","@type":"0..127","#":"A MIDI `bank select MSB` value."},{"@name":"pc","@position":"4","@type":"0..127","#":"A MIDI `program change` value."},{"@name":"bankLsb","@type":"0..127","#":"A MIDI `bank select LSB` value."},{"@name":"cc","@type":"0..127","@deprecated":"use bankMsb instead","#":"A MIDI `bank select MSB. Deprecated use bankMsb instead` value."},{"@name":"gmInstrument","@type":"text","#":"You can use a GM instrument name instead of a pc number. It is not necessary to give the full name, a subset will match. You can find a complete list of instrument names here: [GM Instruments](https://raw.githubusercontent.com/werckme/werckmeister/main/assets/gm_instrument_names.md)."}]}}},"execute":{"rawObject":{"doc":{"command":{"@name":"execute","@where":"voice","#":"Executes a lua function.\\n#### examples\\ntbd."},"param":{"@name":"name","@position":"0","@type":"text","#":"The name of the lua function. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"fadeCC":{"rawObject":{"doc":{"command":{"@name":"fadeCC","@where":"voice","#":"Fades a CC value from a start to an end value.\\n#### examples\\n`/fadeCC: _name=\\"modulation\\" _from=10 _to=100 _curve=\\"lin\\"/ -- fades a modulation value by controller name`\\n`/fadeCC: _nr=1 _from=10 _to=100 _curve=\\"lin\\"/ -- fades a modulation value by controller number`\\n#### supported CC names *(if using name paramenter instead of cc number)*\\n* BankSelectMSB\\n* Modulation\\n* BreathController\\n* FootController\\n* PortamentoTime\\n* MainVolume\\n* Balance\\n* Panorama\\n* Expression\\n* EffectControl1\\n* EffectControl2\\n* BankSelectLSB\\n* Hold1\\n* Portamento\\n* Sostenuto\\n* SoftPedal\\n* Legato\\n* Hold2\\n* PortamentoControl\\n* Effects1Depth\\n* Effects2Depth\\n* Effects3Depth\\n* Effects4Depth\\n* Effects5Depth\\n* AllSoundsOff\\n* ControllerReset\\n* LocalControl\\n* AllNotesOff\\n* OmniOff\\n* OmniOn\\n* MonoOn\\n* MonoOff\\n"},"param":[{"@name":"nr","@type":"0..N","@position":"0","@optional":"0","#":"The number of the controller"},{"@name":"from","@type":"0..127","@position":"1","@optional":"0","#":"the start value"},{"@name":"to","@type":"0..127","@position":"2","@optional":"0","#":"the end value"},{"@name":"name","@type":"text","@position":"3","@optional":"1","#":"a controller name, can be used instead of a number. (supported names, see list above)"},{"@name":"curve","@position":"4","@default":"lin","@optional":"1","@type":"lin,quad,cub,quart,quint,exp","#":"The fade curve type."}]}}},"fill":{"rawObject":{"doc":{"command":{"@name":"fill","@where":"accomp","#":["Plays a template only once. Is also able to replace the performance of another template during its playback.\\nUseful for fill ins.","```language=Werckmeister\\nusing \\"chords/default.chords\\";\\ntempo: 90;\\ndevice: MyDevice midi _usePort=0;\\ninstrumentDef:drums _onDevice=MyDevice _ch=9 _pc=0;\\n\\n[\\ntype: template;\\nname: drums.fill;\\ninstrument: drums;\\n{\\n(c, & &)4 (b,, & &)4 (a,, & &)4 (g,, & &)4 |\\n}\\n]\\n\\n[\\ntype: template;\\nname: drums.main;\\ninstrument: drums;\\n{\\nr8 f#,, r & r & r & |\\n}\\n{\\nr4 d,, r4 & |\\n}\\n{\\nc,,4 r & r |\\n}\\n]\\n\\n[\\ntype: accomp;\\n{\\n/template: drums.main/\\nC |\\n/fill: drums.fill/ -- play fill and drum beat together\\nC | C |\\n/fill: drums.fill _replace=\\"drums.main\\"/ -- play only the fill in\\nC | C |\\n}\\n]\\n```"]},"param":{"@name":"replace","@type":"text","#":"the name of the template to be replaced by the fill"}}}},"jump":{"rawObject":{"doc":{"command":{"@name":"jump","@where":"voice","#":["Jumps to a previous defined mark See [mark](https://werckme.github.io/manual/#mark).\\n#### example","```language=Werckmeister\\ndevice: _usePort=0 _setName=MyDevice _isType=midi;\\ninstrumentDef: _setName=piano _onDevice=MyDevice _ch=0 _pc=1 _cc=8;\\n[\\ninstrument: piano;\\n{\\n/signature: 5 4/\\n/mark: A/ -- valid & unique to this voice\\nc4 d e f g |\\n/jump: A/ -- jumps to A once\\na b c\'2\\n}\\n]\\n```"]},"param":[{"@name":"to","@position":"0","@type":"text","#":"the destination marker"},{"@name":"ignore","@position":"","@optional":"1","@type":"0..100","#":"Ignores the jump N times"},{"@name":"repeat","@position":"","@optional":"1","@type":"0..100","#":"Repeats the jump N times. (A repeat value of 1 performs 2 jumps)"}]}}},"mark":{"rawObject":{"doc":{"command":{"@name":"mark","@where":"voice","#":["adds a mark to the voice. Us it in combination with [jump](https://werckme.github.io/manual/#jump).\\n#### examples","```language=Werckmeister\\ndevice: _usePort=0 _setName=MyDevice _isType=midi;\\ninstrumentDef: _setName=piano _onDevice=MyDevice _ch=0 _pc=1 _cc=8;\\n[\\ninstrument: piano;\\n{\\n/signature: 5 4/\\n/mark: A/ -- valid & unique to this voice\\nc4 d e f g |\\n/jump: A/ -- jumps to A once\\na b c\'2\\n}\\n]\\n```"]},"param":{"@name":"name","@position":"0","@type":"word","#":"the name of the mark"}}}},"cc":{"rawObject":{"doc":{"command":{"@name":"cc","@where":"voice","#":"Adds a midi CC message.\\n#### examples\\n`/cc: _name=\\"modulation\\" _value=10/ -- sets modulation value by controller name`\\n`/cc: _nr=1 _value=10/ -- sets modulation value by controller number`\\n#### supported CC names *(if using name paramenter instead of cc number)*\\n* BankSelectMSB\\n* Modulation\\n* BreathController\\n* FootController\\n* PortamentoTime\\n* MainVolume\\n* Balance\\n* Panorama\\n* Expression\\n* EffectControl1\\n* EffectControl2\\n* BankSelectLSB\\n* Hold1\\n* Portamento\\n* Sostenuto\\n* SoftPedal\\n* Legato\\n* Hold2\\n* PortamentoControl\\n* Effects1Depth\\n* Effects2Depth\\n* Effects3Depth\\n* Effects4Depth\\n* Effects5Depth\\n* AllSoundsOff\\n* ControllerReset\\n* LocalControl\\n* AllNotesOff\\n* OmniOff\\n* OmniOn\\n* MonoOn\\n* MonoOff"},"param":[{"@name":"nr","@type":"0..N","@position":"0","@optional":"1","#":"The number of the controller"},{"@name":"value","@type":"0..127","@position":"1","@optional":"0","#":"the controller values"},{"@name":"name","@type":"text","@position":"2","@optional":"1","#":"a controller name, can be used instead of a number. (supported names, see list above)"}]}}},"setChord":{"rawObject":{"doc":{"command":{"@name":"setChord","@where":"voice","#":"Sets a chord context to the current voice to be able to use relative [degrees](https://werckme.github.io/manual#degree-events) instead of absolute notes.\\nThe given chord name must be defined in a *.chords file.\\n#### example\\n```language=Werckmeister,type=full\\nusing \\"/chords/default.chords\\";\\ndevice: myDevice midi _usePort=0;\\ninstrumentDef: piano myDevice _ch=0 _pc=0;\\ntempo: 120;\\n[\\ninstrument: piano;\\n{\\n/chord: \\"C-9\\"/\\nI III V VII | II\'1\\n}\\n]\\n```"},"param":{"@name":"name","@type":"text","#":"the chord name"}}}},"fade":{"rawObject":{"doc":{"command":{"@name":"fade","@where":"voice","#":"Fades the volume over a given duration in quarters.\\n#### example\\n```language=Werckmeister,type=full\\ndevice: myDevice midi _usePort=0;\\ninstrumentDef: organ myDevice _ch=0 _pc=16;\\ntempo: 75;\\n[\\ninstrument: organ;\\n{\\n\\\\fff\\n/fade: _from=0 _to=100 _duration=4/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"quad\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"cub\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"quart\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"quint\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"exp\\"/\\nc1 |\\n}\\n]\\n```\\n"},"param":[{"@name":"duration","@position":"0","@type":"0..N","#":"the duration in quarters."},{"@name":"from","@position":"1","@default":"0","@type":"0..100","#":"The source volume value."},{"@name":"to","@position":"2","@default":"100","@type":"0..100","#":"The target volume value."},{"@name":"curve","@position":"3","@default":"lin","@type":"lin,quad,cub,quart,quint,exp","#":"The fade curve type."}]}}},"instrument":{"rawObject":{"doc":{"command":{"@name":"instrument","@where":"track, voice","#":"Set or change the instrument of a track.\\n#### examples\\n**set an instrument for a track**\\n```\\n[\\ninstrument: myInstrument;\\n{\\nc d e f\\n}\\n]\\n```\\n**change current instrument within a track**\\n```\\n[\\n{\\nc d e f |\\n/instrument: myOtherInstrument/\\nc d e f\\n}\\n]\\n```"},"param":{"@name":"use","@position":"0","@type":"text","#":"The instrument name."}}}},"pan":{"rawObject":{"doc":{"command":{"@name":"pan","@where":"voice","#":"set the pan of the current track\\n#### example\\n`/pan: 50/`"},"param":{"@name":"to","@position":"0","@type":"0..100","#":"The pan value. Where 50 means the center"}}}},"signature":{"rawObject":{"doc":{"command":{"@name":"signature","@where":"voice","#":"Set the time signature of the current track.\\n#### example\\n`/signature: 3 4/`"},"param":[{"@name":"upper","@position":"0","#":"The upper value of the signature."},{"@name":"lower","@position":"1","#":"The lower value of the signature."}]}}},"do":{"rawObject":{"doc":{"command":{"@name":"do","@where":"voice","#":"Such as [mod](https://werckme.github.io/manual#mod) `do` adds a modification to the track.\\nThe difference is: every `mod` command adds a further modification to a voice.\\n`do` replaces the previous modification.\\n#### example\\n`/do: arpeggio/`"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"doOnce":{"rawObject":{"doc":{"command":{"@name":"doOnce","@where":"voice","#":"Like [do](https://werckme.github.io/manual#do). But with the difference, that the loaded mod will be only executed once for the following event.\\n#### example\\n`/doOnce: arpeggio/`"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"tempo":{"rawObject":{"doc":{"command":{"@name":"tempo","@where":"document, track","#":"`tempo` defines or changes the current tempo.\\n#### example\\n`tempo: 120;`\\nIt is also possible to set different tempo values for several tracks:\\n[see here](https://werckme.github.io/manual#tempo)"},"param":{"@name":"bpm","@position":"0","#":"The tempo bpm value."}}}},"voicingStrategy":{"rawObject":{"doc":{"command":{"@name":"voicingStrategy","@where":"voice","#":"Adds a modification to the track.\\n#### example\\n`/voicingStrategy: asNotated/`\\nVoicing strategies can be external lua scripts, or one of these internal strategies:\\n* asNotated\\n* simpleGuitar"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the strategy to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related strategy."}}}},"volume":{"rawObject":{"doc":{"command":{"@name":"volume","@where":"voice","#":"set the volume of the current instrument\\n#### examples\\n`/volume: 50/`"},"param":{"@name":"to","@position":"0","@type":"0..100","#":"The volume value."}}}},"drumRudiments":{"rawObject":{"doc":{"command":{"@name":"drumRudiments","@where":"mod","@using":"lua/mod/drumRudiments.lua","#":"Implements a collection of different drum rudiments. ([see Wikipedia](https://en.wikipedia.org/wiki/Drum_rudiment))\\nYou can specify which notes are for `L` and `R` and performing duration.\\nThis will be achieved by using an chord as source material.\\nThe chord pitches will be used for `L` and `R`.\\nThe length of the chord event defines over which time the rudiment will be peformed.\\nAn event tag specifies which rudiment will be performed.\\nFor example:\\nThis plays one paradiddle over a length of 1 quarter\\nusing `sn1` for R and `sn2` for L:\\n```\\n/mod: drumRudiments/\\nR L\\n\\"paradiddle\\"@<\\"sn1\\" \\"sn2\\">4\\n```\\nExamples:\\n**a single paradiddle**\\n```language=Werckmeister\\nusing \\"lua/mods/drumRudiments.lua\\";\\ntempo: 150;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=118;\\n[\\ninstrument: piano;\\n{\\n/mod: drumRudiments/\\n-- a paradiddle (RLRR) with c\' for R and c for L\\n\\"paradiddle\\"@<c\' c>1\\n}\\n]\\n```\\n**repeating**\\n```language=Werckmeister\\nusing \\"lua/mods/drumRudiments.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=118;\\n[\\ninstrument: piano;\\n{\\n/mod: drumRudiments/\\n-- performs 4 paradiddles (RLRR LRLL RLRR LRLL) with c\' for R and c for L\\n\\"4x paradiddle\\"@<c\' c>1\\n}\\n]\\n```\\n**orchestration**\\nIf you want to orchestrate a rudiment over a drum set,\\nyou are able to define more R & L notes. *(The total number of the notes has to be even.)*\\n```language=Werckmeister\\nusing \\"lua/mods/drumRudiments.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=118;\\n[\\ninstrument: piano;\\n{\\n/mod: drumRudiments/\\n-- performs 4 paradiddles (RLRR LRLL RLRR LRLL) with\\n-- c\' for R1 and c for L1\\n-- and c, for R2 and c,, for L2.\\n-- The final sequence will be: c\'(R1) c(L1) c,(R2) c,,(R1) ...\\n\\"4x paradiddle\\"@<c\' c c, c,,>1\\n}\\n]\\n```\\n**Supported Rudiments**\\n<ul style=\\"font-size: 0.9em;\\">\\n<li>singleStrokeRoll</li>\\n<li>doubleStrokeRoll</li>\\n<li>trippleStrokeRoll</li>\\n<li>fiveStrokeRoll</li>\\n<li>singleStrokeFour</li>\\n<li>singleStrokeSeven</li>\\n<li>multipleBounceRoll</li>\\n<li>sixStrokeRoll</li>\\n<li>sevenStrokeRoll</li>\\n<li>nineStrokeRoll</li>\\n<li>tenStrokeRoll</li>\\n<li>elevenStrokeRoll</li>\\n<li>thirteenStrokeRoll</li>\\n<li>fifteenStrokeRoll</li>\\n<li>seventeenStrokeRoll</li>\\n<li>paradiddle</li>\\n<li>doubleParadiddle</li>\\n<li>trippleParadiddle</li>\\n<li>paradiddlediddle</li>\\n<li>flam</li>\\n<li>flamAccent</li>\\n<li>flamTap</li>\\n<li>flamacue</li>\\n<li>flamParadiddle</li>\\n<li>singleFlammedMill</li>\\n<li>pataflafla</li>\\n<li>swissArmytriplet</li>\\n<li>invertedFlamTap</li>\\n<li>flamDrag</li>\\n<li>singleDragTap</li>\\n<li>doubleDragTap</li>\\n<li>lesson25</li>\\n<li>singleDragadiddle</li>\\n<li>dragParadiddle1</li>\\n<li>dragParadiddle2</li>\\n<li>singleRatamacue</li>\\n<li>doubleRatamacue</li>\\n<li>trippleRatamacue</li>\\n</ul>"},"param":[{"@name":"velocityFactorAccented","@optional":"1","@type":"0..1","#":"The velocity factor for accented notes (Default=1)"},{"@name":"velocityFactorUnaccented","@optional":"1","@type":"0..1","#":"The velocity factor for unaccented notes (Default=0.7)"},{"@name":"velocityFactorGraceNote","@optional":"1","@type":"0..1","#":"The velocity factor for accented notes (Default=1)"},{"@name":"flamOffset","@optional":"1","@type":"0..N","#":"The offset in quartes when to perform the grace note before the actual note (Default=0.05)"},{"@name":"dragOffset","@optional":"1","@type":"0..N","#":"The offset in quartes when to perform the two grace notes before the actual note (Default=0.05)"}]}}},"guitarStroke":{"rawObject":{"doc":{"command":{"@name":"guitarStroke","@where":"mod","@using":"lua/mod/guitarStroke.lua","#":"Simulates guitar strokes as mini arpeggios.\\n*Note: the alternate mode works only if this mod is set via instrumentConf.*\\n```\\n-- does not work:\\n[\\n{\\n/mod: guitarStroke _mode=alternate/\\n}\\n]\\n```\\n```\\n-- does work:\\ninstrumentConf: myInstrument mod guitarStroke _mode=alternate;\\n```\\n**Example**\\n```language=Werckmeister\\nusing \\"lua/mods/guitarStroke.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef: piano MyDevice _ch=0 _pc=24;\\ninstrumentConf: piano mod guitarStroke _mode=alternate _value=16;\\n[\\ninstrument: piano;\\n{\\n<c e g b>4 <c e g b>4 <c eb g bb>2 | <c eb g bb>2 <c eb g bb>2\\n}\\n]\\n```"},"param":[{"@name":"direction","@optional":"1","@type":"[up,down]","#":"Specifies the start direction of the stroke"},{"@name":"value","@optional":"1","@type":"[1,2,4,8,...]","#":"the duration of one arpeggio event. (Default=64)"},{"@name":"mode","@optional":"1","@type":"[normal,alternate]","#":"Perform only one stroke direction (normal) or alternates between up and down. (Default=normal)"}]}}},"legato":{"rawObject":{"doc":{"command":{"@name":"legato","@where":"mod","@using":"lua/mod/legato.lua","#":"Performs every note legato. It is also possible to tag single notes.\\nIf a tag is given, only the tagged notes are performed legato.\\n```language=Werckmeister\\nusing \\"lua/mods/legato.lua\\";\\ntempo: 140;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/mod: legato _forTag=leg _amount=100/\\n-- only the `d` will be performed legato.\\nc \\"leg\\"@d e f\\n}\\n]\\n```"},"param":[{"@name":"forTag","@optional":"1","@type":"text","#":"Specifies a tag name. If set only events with this tag name will be affected by the legato mod."},{"@name":"amount","@optional":"1","@type":"0..100","#":"The ammount of the legato effect"}]}}},"myArpeggio":{"rawObject":{"doc":{"command":{"@name":"myArpeggio","@where":"mod","@using":"lua/mod/myArpeggio.lua","#":"A simple arpeggio implementation.\\n**Example**\\n```language=Werckmeister\\nusing \\"lua/mods/myArpeggio.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef: piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/do: myArpeggio/\\n<c e g b>2\\n/do: myArpeggio _direction=down/\\n<c eb g bb>2\\n}\\n]\\n```"},"param":[{"@name":"style","@optional":"1","@type":"[normal,legato]","#":"Performs the arpeggio normal or legato"},{"@name":"direction","@optional":"1","@type":"[up,down]","#":"the direction of the arpeggio. (Default=up)"}]}}},"staccato":{"rawObject":{"doc":{"command":{"@name":"staccato","@where":"mod","@using":"lua/mod/staccato.lua","#":"Performs every note staccato. It is also possible to tag single notes.\\nIf a tag is given, only the tagged notes are performed staccato.\\n```language=Werckmeister\\nusing \\"lua/mods/staccato.lua\\";\\ntempo: 140;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/mod: staccato _forTag=stac _amount=100/\\n-- only the `d` will be performed staccato.\\nc \\"stac\\"@d e f\\n}\\n]\\n```"},"param":[{"@name":"forTag","@optional":"1","@type":"text","#":"Specifies a tag name. If set only events with this tag name will be affected by the staccato mod."},{"@name":"amount","@optional":"1","@type":"0..100","#":"The ammount of the staccato effect"}]}}},"swing":{"rawObject":{"doc":{"command":{"@name":"swing","@where":"mod","@using":"lua/mod/swing.lua","#":"Performs a swing groove.\\n```language=Werckmeister\\nusing \\"lua/mods/swing.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef: piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/mod: swing/\\nc8 c c c c c c c\\n}\\n]\\n```"},"param":[{"@name":"grid","@optional":"1","@type":"[8, 16]","#":"Performs the swing offset either on 8th or 16th. (Default=8)"},{"@name":"offset","@optional":"1","@type":"0..100","#":"The ammount of the swing offset"}]}}},"guitar":{"rawObject":{"doc":{"command":{"@name":"guitar","@where":"voicingStrategy","@using":"lua/voicings/guitar.lua","#":"Tries to simulate the chord voicing of an guitar.\\n```language=Werckmeister\\nusing \\"lua/voicings/guitar.lua\\";\\nusing \\"chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: guitar/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\nC | F | G | C |\\n}\\n]\\n```"},"param":{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}}}},"inversion":{"rawObject":{"doc":{"command":{"@name":"inversion","@where":"voicingStrategy","@using":"lua/voicings/inversion.lua","#":"creates an inversion by moving the lowest note an octave hihgher.\\n```language=Werckmeister\\nusing \\"lua/voicings/inversion.lua\\";\\nusing \\"chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: inversion/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\nC | F | G | C |\\n}\\n]\\n```"},"param":[{"@name":"level","@optional":"1","@type":"number","#":"level of inversion"},{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}]}}},"simple":{"rawObject":{"doc":{"command":{"@name":"simple","@where":"voicingStrategy","@using":"lua/voicings/simple.lua","#":"The simple approach with no strategy.\\n```language=Werckmeister\\nusing \\"lua/voicings/simple.lua\\";\\nusing \\"chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: simple/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\nC | F | G | C |\\n}\\n]\\n```"},"param":{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}}}},"voicelead":{"rawObject":{"doc":{"command":{"@name":"voicelead","@where":"voicingStrategy","@using":"lua/voicings/voicelead.lua","#":"Tries to simulates a voice leading approach:\\nthe octaves of a chord are rearranged, so that the actual pitch distance between the previous chord is kept minimal.\\n```language=Werckmeister\\nusing \\"lua/voicings/voicelead.lua\\";\\nusing \\"chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: voicelead/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\nC | F | G | C |\\n}\\n]\\n```"},"param":{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}}}}}',a=e.parseCommandDbJson(t);function o(){return a}exports.getAutoHintDb=o;var i=JSON.parse('{"/":[{"name":"chords","isDirectory":true},{"name":"lua","isDirectory":true},{"name":"pitchmaps","isDirectory":true},{"name":"templates","isDirectory":true}],"/chords":[{"name":"default.chords"}],"/lua/com":[{"name":"com.lua"},{"name":"globals.lua"},{"name":"inspect.lua"},{"name":"tests.lua"}],"/lua/mods":[{"name":"drumRudiments.lua"},{"name":"guitarStroke.lua"},{"name":"legato.lua"},{"name":"myArpeggio.lua"},{"name":"staccato.lua"},{"name":"swing.lua"}],"/lua/voicings":[{"name":"com.lua"},{"name":"guitar.lua"},{"name":"inversion.lua"},{"name":"simple.lua"},{"name":"voicelead.lua"}],"/lua":[{"name":"com","isDirectory":true},{"name":"mods","isDirectory":true},{"name":"voicings","isDirectory":true}],"/pitchmaps":[{"name":"battery3.tight.pitchmap"},{"name":"defaultMIDI.pitchmap"},{"name":"defaultMidiDrumMap.pitchmap"}],"/templates":[{"name":"bass.blues.template"},{"name":"bass.bossanova.template"},{"name":"bass.country.template"},{"name":"bass.disco.template"},{"name":"bass.jazzSwing.template"},{"name":"bass.reggae.template"},{"name":"bass.soca.template"},{"name":"bossanova.template"},{"name":"countryschlager1.template"},{"name":"drums.bossanova.template"},{"name":"drums.country.template"},{"name":"drums.disco.template"},{"name":"drums.jazzSwing.template"},{"name":"drums.purdie.template"},{"name":"drums.reggae.template"},{"name":"drums.soca.template"},{"name":"ennio.template"},{"name":"guitar.bossanova.template"},{"name":"guitar.country.template"},{"name":"rhythm.bossanova.template"},{"name":"rhythm.country.template"},{"name":"rhythm.jazzSwing.template"},{"name":"rhythm.reggae.template"}]}');function r(){return i}exports.getPreInstalledAuxFiles=r;
|
|
8
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getPreInstalledAuxFiles=exports.getAutoHintDb=void 0;var e=require("./parser/docParser"),n=require("fs"),t='{"device":{"rawObject":{"doc":{"command":{"@name":"device","@where":"document","#":"Defines a device which can be used when adding instruments (see [instrumentDef](https://werckme.github.io/manual#instrumentDef))\\nsee [instrumentDef](https://werckme.github.io/manual#instrumentDef), [instrument](https://werckme.github.io/manual#instrument)\\n#### example\\ndefine an device, an instrument and assign it to a track.\\n```\\ndevice: MyDevice midi 0;\\ninstrumentDef: organ _onDevice=MyDevice _ch=0 _pc=16;\\n[\\ninstrument: organ;\\n{\\nc d e f\\n}\\n]\\n```\\n**Fluidsynth**\\nIf you want to use [fluidSynth](http://www.fluidsynth.org) as output device, you can achieve this with a command like this:\\n`device: MyDevice fluidSynth _useFont=\\"PATH OF A SOUNDFONT FILE\\";`\\nOn mac, make sure that you have fluidsynth installed."},"param":[{"@name":"setName","@position":"0","@type":"text","#":"An arbitary name."},{"@name":"isType","@position":"1","@type":"[midi,fluidSynth]","#":"The type of the device."},{"@name":"usePort","@position":"2","@optional":"1","@type":"0..N","#":"The midi port id of your device. You can get a list of your connected devices, by executing `sheetp --list`. Alternatively you can use `useDevice` instead."},{"@name":"useDevice","@position":"","@optional":"1","@type":"text","#":"The name of the midi port of your device. You can get a list of your connected devices, by executing `sheetp --list`. It is not necessary to give the full name, a subset will match."},{"@name":"withOffset","@position":"","@optional":"1","@type":"0..N","#":"Defines an offset in milliseconds. Can be used to keep different devices in sync."},{"@name":"useFont","@position":"","@optional":"1","@type":"a file path","#":"Only valid if isType=`fluidsynth`. Sets the location of the soundfont file, which will be used by FluidSynth"}]}}},"instrumentConf":{"rawObject":{"doc":{"command":{"@name":"instrumentConf","@where":"document","#":"With `instrumentConf` you are able to setup a specific instrument.\\nFollowing settings can be applied:\\n* volume\\n* pan\\n* cc\\n* voicing strategy\\n* mod\\n* velocity remap\\n#### examples\\n##### mixed settings\\n`instrumentConf: piano volume 100 pan 50;`\\n##### setup a mod\\n`instrumentConf: piano mod myLuaMod someValue; --the `someValue` argument belongs to \\"myLuaMod\\"`\\n##### setup a velocity remap\\nWith `remapVelocity` you are able to change the velocity values behind `ppppp..fffff` for a specific instrument.\\nIn the example below the velocity for `p` will be set to 100 and the value for `f` will be set to 10.\\n> this approach is deprecated, use [conduction rules](https://werckme.github.io/manual#conduction-rules) instead\\nThe value range is 0..100. (100=127 Midi velocity)\\n`instrumentConf: _set=remapVelocity _p=100 _f=10;`"},"param":{"@name":"for","@position":"0","#":"The name of the target instrument. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related setting."}}}},"mod":{"rawObject":{"doc":{"command":{"@name":"mod","@where":"voice","#":"Adds a modification to the track. Every `mod` statement adds a further modification to the related voice.\\nIf you want to use ony one modification at the time use [do](https://werckme.github.io/manual#do) instead.\\n#### examples\\n`/mod: arpeggio/`\\nMods can be external lua scripts, or one of these internal mods:\\n##### Bend\\nPerforms a pitch bend from or to the pitch of a note. The value range is 0..100 where 50 means the pichbend center.\\n```language=Werckmeister,type=single,tempo=140\\n/doOnce: bend _from=0/ c1 | /doOnce: bend _to=0/ c1\\n```\\n##### Arpeggio\\nPerforms an arpeggio over a given chord.\\n**Arpeggio is deprecated. Use the lua mod [myArpeggio](https://werckme.github.io/manual#myarpeggio) instead.**"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"modOnce":{"rawObject":{"doc":{"command":{"@name":"modOnce","@where":"voice","#":"Like [mod](https://werckme.github.io/manual#mod). But with the difference, that the loaded mod will be only executed once for the following event.\\n#### examples\\n`/modOnce: arpeggio/`"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"cue":{"rawObject":{"doc":{"command":{"@name":"cue","@where":"voice","#":"adds a cue MIDI meta message to the corresponding midi track\\n#### examples\\n`/cue: cueText/`\\n> If a cue was visited several times during a repeat or jump an additional repeat index will be added.\\n> For example:\\n> `/cue: myCue/ c d e f :|` will create two cue MIDI messages: \\"myCue\\" and \\"myCue2\\"\\n>"},"param":{"@name":"text","@type":"text","#":"the text which appears in the MIDI message"}}}},"instrumentSection":{"rawObject":{"doc":{"command":{"@name":"instrumentSection","@where":"document","#":["Layers arbitrary instruments into one.\\nsee [instrumentDef](#instrumentDef), [instrument](https://werckme.github.io/manual#instrument), [device](https://werckme.github.io/manual#device)\\n#### example\\ncreate 3 instruments and assign them to the section `myNewInstrument`.","```language=Werckmeister\\ntempo: 120;\\ndevice: MyDevice midi _usePort=0;\\ninstrumentDef:piano _onDevice=MyDevice _ch=0 _pc=0;\\ninstrumentDef:guitar _onDevice=MyDevice _ch=1 _pc=29;\\ninstrumentDef:organ _onDevice=MyDevice _ch=2 _pc=16;\\ninstrumentSection: myNewInstrument piano guitar organ;\\n\\n[\\ninstrument: myNewInstrument;\\n{\\na,,1 | a, | d#,~ | &\\n}\\n]\\n```"]},"param":{"@name":"setName","@position":"0","@type":"text","#":"An arbitary name."}}}},"instrumentDef":{"rawObject":{"doc":{"command":{"@name":"instrumentDef","@where":"document","#":"Adds a new MIDI instrument.\\nsee [instrument](https://werckme.github.io/manual#instrument), [device](https://werckme.github.io/manual#device)\\n#### example\\ndefine an device, an instrument and assign it to a track.\\n```\\ndevice: MyDevice midi 0;\\ninstrumentDef: organ _onDevice=MyDevice _ch=0 _pc=16;\\n[\\ninstrument: organ;\\n{\\nc d e f\\n}\\n]\\n```"},"param":[{"@name":"setName","@position":"0","@type":"text","#":"An arbitary name."},{"@name":"onDevice","@position":"1","@type":"text","#":"The device which to use (The name of the device, see [device](https://werckme.github.io/manual#device))."},{"@name":"ch","@position":"2","@type":"0..15","#":"The MIDI channel."},{"@name":"bankMsb","@position":"3","@type":"0..127","#":"A MIDI `bank select MSB` value."},{"@name":"pc","@position":"4","@type":"0..127","#":"A MIDI `program change` value."},{"@name":"bankLsb","@type":"0..127","#":"A MIDI `bank select LSB` value."},{"@name":"cc","@type":"0..127","@deprecated":"use bankMsb instead","#":"A MIDI `bank select MSB. Deprecated use bankMsb instead` value."},{"@name":"gmInstrument","@type":"text","#":"You can use a GM instrument name instead of a pc number. It is not necessary to give the full name, a subset will match. You can find a complete list of instrument names here: [GM Instruments](https://raw.githubusercontent.com/werckme/werckmeister/main/assets/gm_instrument_names.md)."}]}}},"execute":{"rawObject":{"doc":{"command":{"@name":"execute","@where":"voice","#":"Executes a lua function.\\n#### examples\\ntbd."},"param":{"@name":"name","@position":"0","@type":"text","#":"The name of the lua function. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"fadeCC":{"rawObject":{"doc":{"command":{"@name":"fadeCC","@where":"voice","#":"Fades a CC value from a start to an end value.\\n#### examples\\n`/cc: _nr=1 _value=10/ --modulation by controller number`\\n`/cc: _name=\\"modulation\\" _value=10/ --modulation value by controller name`\\n#### supported CC names\\n* BankSelectMSB\\n* Modulation\\n* BreathController\\n* FootController\\n* PortamentoTime\\n* MainVolume\\n* Balance\\n* Panorama\\n* Expression\\n* EffectControl1\\n* EffectControl2\\n* BankSelectLSB\\n* Hold1\\n* Portamento\\n* Sostenuto\\n* SoftPedal\\n* Legato\\n* Hold2\\n* PortamentoControl\\n* Effects1Depth\\n* Effects2Depth\\n* Effects3Depth\\n* Effects4Depth\\n* Effects5Depth\\n* AllSoundsOff\\n* ControllerReset\\n* LocalControl\\n* AllNotesOff\\n* OmniOff\\n* OmniOn\\n* MonoOn\\n* MonoOff\\n"},"param":[{"@name":"nr","@type":"0..N","@position":"0","@optional":"0","#":"The number of the controller"},{"@name":"from","@type":"0..127","@position":"1","@optional":"0","#":"the start value"},{"@name":"to","@type":"0..127","@position":"2","@optional":"0","#":"the end value"},{"@name":"name","@type":"text","@position":"3","@optional":"1","#":"a controller name, can be used instead of a number. (supported names, see list below)"},{"@name":"curve","@position":"4","@default":"lin","@optional":"1","@type":"lin,quad,cub,quart,quint,exp","#":"The fade curve type."}]}}},"fill":{"rawObject":{"doc":{"command":{"@name":"fill","@where":"accomp","#":["Plays a template only once. Is also able to replace the performance of another template during its playback.\\nUseful for fill ins.","```language=Werckmeister\\nusing \\"chords/default.chords\\";\\ntempo: 90;\\ndevice: MyDevice midi _usePort=0;\\ninstrumentDef:drums _onDevice=MyDevice _ch=9 _pc=0;\\n\\n[\\ntype: template;\\nname: drums.fill;\\ninstrument: drums;\\n{\\n(c, & &)4 (b,, & &)4 (a,, & &)4 (g,, & &)4 |\\n}\\n]\\n\\n[\\ntype: template;\\nname: drums.main;\\ninstrument: drums;\\n{\\nr8 f#,, r & r & r & |\\n}\\n{\\nr4 d,, r4 & |\\n}\\n{\\nc,,4 r & r |\\n}\\n]\\n\\n[\\ntype: accomp;\\n{\\n/template: drums.main/\\nC |\\n/fill: drums.fill/ -- play fill and drum beat together\\nC | C |\\n/fill: drums.fill _replace=\\"drums.main\\"/ -- play only the fill in\\nC | C |\\n}\\n]\\n```"]},"param":{"@name":"replace","@type":"text","#":"the name of the template to be replaced by the fill"}}}},"jump":{"rawObject":{"doc":{"command":{"@name":"jump","@where":"voice","#":["Jumps to a previous defined mark See [mark](https://werckme.github.io/manual/#mark).\\n#### example","```language=Werckmeister\\ndevice: _usePort=0 _setName=MyDevice _isType=midi;\\ninstrumentDef: _setName=piano _onDevice=MyDevice _ch=0 _pc=1 _cc=8;\\n[\\ninstrument: piano;\\n{\\n/signature: 5 4/\\n/mark: A/ -- valid & unique to this voice\\nc4 d e f g |\\n/jump: A/ -- jumps to A once\\na b c\'2\\n}\\n]\\n```"]},"param":[{"@name":"to","@position":"0","@type":"text","#":"the destination marker"},{"@name":"ignore","@position":"","@optional":"1","@type":"0..100","#":"Ignores the jump N times"},{"@name":"repeat","@position":"","@optional":"1","@type":"0..100","#":"Repeats the jump N times. (A repeat value of 1 performs 2 jumps)"}]}}},"mark":{"rawObject":{"doc":{"command":{"@name":"mark","@where":"voice","#":["adds a mark to the voice. Us it in combination with [jump](https://werckme.github.io/manual/#jump).\\n#### examples","```language=Werckmeister\\ndevice: _usePort=0 _setName=MyDevice _isType=midi;\\ninstrumentDef: _setName=piano _onDevice=MyDevice _ch=0 _pc=1 _cc=8;\\n[\\ninstrument: piano;\\n{\\n/signature: 5 4/\\n/mark: A/ -- valid & unique to this voice\\nc4 d e f g |\\n/jump: A/ -- jumps to A once\\na b c\'2\\n}\\n]\\n```"]},"param":{"@name":"name","@position":"0","@type":"word","#":"the name of the mark"}}}},"cc":{"rawObject":{"doc":{"command":{"@name":"cc","@where":"voice","#":"Adds a midi CC message.\\n#### examples\\n`/cc: _nr=1 _value=10/ --modulation by controller number`\\n`/cc: _name=\\"modulation\\" _value=10/ --modulation value by controller name`\\n#### supported CC names\\n* BankSelectMSB\\n* Modulation\\n* BreathController\\n* FootController\\n* PortamentoTime\\n* MainVolume\\n* Balance\\n* Panorama\\n* Expression\\n* EffectControl1\\n* EffectControl2\\n* BankSelectLSB\\n* Hold1\\n* Portamento\\n* Sostenuto\\n* SoftPedal\\n* Legato\\n* Hold2\\n* PortamentoControl\\n* Effects1Depth\\n* Effects2Depth\\n* Effects3Depth\\n* Effects4Depth\\n* Effects5Depth\\n* AllSoundsOff\\n* ControllerReset\\n* LocalControl\\n* AllNotesOff\\n* OmniOff\\n* OmniOn\\n* MonoOn\\n* MonoOff"},"param":[{"@name":"nr","@type":"0..N","@position":"0","@optional":"1","#":"The number of the controller"},{"@name":"value","@type":"0..127","@position":"1","@optional":"0","#":"the controller values"},{"@name":"name","@type":"text","@position":"2","@optional":"1","#":"a controller name, can be used instead of a number. (supported names, see list below)"}]}}},"setChord":{"rawObject":{"doc":{"command":{"@name":"setChord","@where":"voice","#":"Sets a chord context to the current voice to be able to use relative [degrees](https://werckme.github.io/manual#degree-events) instead of absolute notes.\\nThe given chord name must be defined in a *.chords file.\\n#### example\\n```language=Werckmeister,type=full\\nusing \\"/chords/default.chords\\";\\ndevice: myDevice midi _usePort=0;\\ninstrumentDef: piano myDevice _ch=0 _pc=0;\\ntempo: 120;\\n[\\ninstrument: piano;\\n{\\n/chord: \\"C-9\\"/\\nI III V VII | II\'1\\n}\\n]\\n```"},"param":{"@name":"name","@type":"text","#":"the chord name"}}}},"fade":{"rawObject":{"doc":{"command":{"@name":"fade","@where":"voice","#":"Fades the volume over a given duration in quarters.\\n#### example\\n```language=Werckmeister,type=full\\ndevice: myDevice midi _usePort=0;\\ninstrumentDef: organ myDevice _ch=0 _pc=16;\\ntempo: 75;\\n[\\ninstrument: organ;\\n{\\n\\\\fff\\n/fade: _from=0 _to=100 _duration=4/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"quad\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"cub\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"quart\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"quint\\"/\\nc1 |\\n/fade: _from=0 _to=100 _duration=4 _curve=\\"exp\\"/\\nc1 |\\n}\\n]\\n```\\n"},"param":[{"@name":"duration","@position":"0","@type":"0..N","#":"the duration in quarters."},{"@name":"from","@position":"1","@default":"0","@type":"0..100","#":"The source volume value."},{"@name":"to","@position":"2","@default":"100","@type":"0..100","#":"The target volume value."},{"@name":"curve","@position":"3","@default":"lin","@type":"lin,quad,cub,quart,quint,exp","#":"The fade curve type."}]}}},"instrument":{"rawObject":{"doc":{"command":{"@name":"instrument","@where":"track, voice","#":"Set or change the instrument of a track.\\n#### examples\\n**set an instrument for a track**\\n```\\n[\\ninstrument: myInstrument;\\n{\\nc d e f\\n}\\n]\\n```\\n**change current instrument within a track**\\n```\\n[\\n{\\nc d e f |\\n/instrument: myOtherInstrument/\\nc d e f\\n}\\n]\\n```"},"param":{"@name":"use","@position":"0","@type":"text","#":"The instrument name."}}}},"pan":{"rawObject":{"doc":{"command":{"@name":"pan","@where":"voice","#":"set the pan of the current track\\n#### example\\n`/pan: 50/`"},"param":{"@name":"to","@position":"0","@type":"0..100","#":"The pan value. Where 50 means the center"}}}},"signature":{"rawObject":{"doc":{"command":{"@name":"signature","@where":"voice","#":"Set the time signature of the current track.\\n#### example\\n`/signature: 3 4/`"},"param":[{"@name":"upper","@position":"0","#":"The upper value of the signature."},{"@name":"lower","@position":"1","#":"The lower value of the signature."}]}}},"do":{"rawObject":{"doc":{"command":{"@name":"do","@where":"voice","#":"Such as [mod](https://werckme.github.io/manual#mod) `do` adds a modification to the track.\\nThe difference is: every `mod` command adds a further modification to a voice.\\n`do` replaces the previous modification.\\n#### example\\n`/do: arpeggio/`"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"doOnce":{"rawObject":{"doc":{"command":{"@name":"doOnce","@where":"voice","#":"Like [do](https://werckme.github.io/manual#do). But with the difference, that the loaded mod will be only executed once for the following event.\\n#### example\\n`/doOnce: arpeggio/`"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the modification to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related modification."}}}},"tempo":{"rawObject":{"doc":{"command":{"@name":"tempo","@where":"document, track","#":"`tempo` defines or changes the current tempo.\\n#### example\\n`tempo: 120;`\\nIt is also possible to set different tempo values for several tracks:\\n[see here](https://werckme.github.io/manual#tempo)"},"param":{"@name":"bpm","@position":"0","#":"The tempo bpm value."}}}},"voicingStrategy":{"rawObject":{"doc":{"command":{"@name":"voicingStrategy","@where":"voice","#":"Adds a modification to the track.\\n#### example\\n`/voicingStrategy: asNotated/`\\nVoicing strategies can be external lua scripts, or one of these internal strategies:\\n* asNotated\\n* simpleGuitar"},"param":{"@name":"use","@position":"0","@type":"text","#":"The name of the strategy to load. This is the only \\"unique\\" parameter for this command. All further parameters are specific to its related strategy."}}}},"volume":{"rawObject":{"doc":{"command":{"@name":"volume","@where":"voice","#":"set the volume of the current instrument\\n#### examples\\n`/volume: 50/`"},"param":{"@name":"to","@position":"0","@type":"0..100","#":"The volume value."}}}},"drumRudiments":{"rawObject":{"doc":{"command":{"@name":"drumRudiments","@where":"mod","@using":"lua/mod/drumRudiments.lua","#":"Implements a collection of different drum rudiments. ([see Wikipedia](https://en.wikipedia.org/wiki/Drum_rudiment))\\nYou can specify which notes are for `L` and `R` and performing duration.\\nThis will be achieved by using an chord as source material.\\nThe chord pitches will be used for `L` and `R`.\\nThe length of the chord event defines over which time the rudiment will be peformed.\\nAn event tag specifies which rudiment will be performed.\\nFor example:\\nThis plays one paradiddle over a length of 1 quarter\\nusing `sn1` for R and `sn2` for L:\\n```\\n/mod: drumRudiments/\\nR L\\n\\"paradiddle\\"@<\\"sn1\\" \\"sn2\\">4\\n```\\nExamples:\\n**a single paradiddle**\\n```language=Werckmeister\\nusing \\"lua/mods/drumRudiments.lua\\";\\ntempo: 150;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=118;\\n[\\ninstrument: piano;\\n{\\n/mod: drumRudiments/\\n-- a paradiddle (RLRR) with c\' for R and c for L\\n\\"paradiddle\\"@<c\' c>1\\n}\\n]\\n```\\n**repeating**\\n```language=Werckmeister\\nusing \\"lua/mods/drumRudiments.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=118;\\n[\\ninstrument: piano;\\n{\\n/mod: drumRudiments/\\n-- performs 4 paradiddles (RLRR LRLL RLRR LRLL) with c\' for R and c for L\\n\\"4x paradiddle\\"@<c\' c>1\\n}\\n]\\n```\\n**orchestration**\\nIf you want to orchestrate a rudiment over a drum set,\\nyou are able to define more R & L notes. *(The total number of the notes has to be even.)*\\n```language=Werckmeister\\nusing \\"lua/mods/drumRudiments.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=118;\\n[\\ninstrument: piano;\\n{\\n/mod: drumRudiments/\\n-- performs 4 paradiddles (RLRR LRLL RLRR LRLL) with\\n-- c\' for R1 and c for L1\\n-- and c, for R2 and c,, for L2.\\n-- The final sequence will be: c\'(R1) c(L1) c,(R2) c,,(R1) ...\\n\\"4x paradiddle\\"@<c\' c c, c,,>1\\n}\\n]\\n```\\n**Supported Rudiments**\\n<ul style=\\"font-size: 0.9em;\\">\\n<li>singleStrokeRoll</li>\\n<li>doubleStrokeRoll</li>\\n<li>trippleStrokeRoll</li>\\n<li>fiveStrokeRoll</li>\\n<li>singleStrokeFour</li>\\n<li>singleStrokeSeven</li>\\n<li>multipleBounceRoll</li>\\n<li>sixStrokeRoll</li>\\n<li>sevenStrokeRoll</li>\\n<li>nineStrokeRoll</li>\\n<li>tenStrokeRoll</li>\\n<li>elevenStrokeRoll</li>\\n<li>thirteenStrokeRoll</li>\\n<li>fifteenStrokeRoll</li>\\n<li>seventeenStrokeRoll</li>\\n<li>paradiddle</li>\\n<li>doubleParadiddle</li>\\n<li>trippleParadiddle</li>\\n<li>paradiddlediddle</li>\\n<li>flam</li>\\n<li>flamAccent</li>\\n<li>flamTap</li>\\n<li>flamacue</li>\\n<li>flamParadiddle</li>\\n<li>singleFlammedMill</li>\\n<li>pataflafla</li>\\n<li>swissArmytriplet</li>\\n<li>invertedFlamTap</li>\\n<li>flamDrag</li>\\n<li>singleDragTap</li>\\n<li>doubleDragTap</li>\\n<li>lesson25</li>\\n<li>singleDragadiddle</li>\\n<li>dragParadiddle1</li>\\n<li>dragParadiddle2</li>\\n<li>singleRatamacue</li>\\n<li>doubleRatamacue</li>\\n<li>trippleRatamacue</li>\\n</ul>"},"param":[{"@name":"velocityFactorAccented","@optional":"1","@type":"0..1","#":"The velocity factor for accented notes (Default=1)"},{"@name":"velocityFactorUnaccented","@optional":"1","@type":"0..1","#":"The velocity factor for unaccented notes (Default=0.7)"},{"@name":"velocityFactorGraceNote","@optional":"1","@type":"0..1","#":"The velocity factor for accented notes (Default=1)"},{"@name":"flamOffset","@optional":"1","@type":"0..N","#":"The offset in quartes when to perform the grace note before the actual note (Default=0.05)"},{"@name":"dragOffset","@optional":"1","@type":"0..N","#":"The offset in quartes when to perform the two grace notes before the actual note (Default=0.05)"}]}}},"guitarStroke":{"rawObject":{"doc":{"command":{"@name":"guitarStroke","@where":"mod","@using":"lua/mod/guitarStroke.lua","#":"Simulates guitar strokes as mini arpeggios.\\n*Note: the alternate mode works only if this mod is set via instrumentConf.*\\n```\\n-- does not work:\\n[\\n{\\n/mod: guitarStroke _mode=alternate/\\n}\\n]\\n```\\n```\\n-- does work:\\ninstrumentConf: myInstrument mod guitarStroke _mode=alternate;\\n```\\n**Example**\\n```language=Werckmeister\\nusing \\"lua/mods/guitarStroke.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef: piano MyDevice _ch=0 _pc=24;\\ninstrumentConf: piano mod guitarStroke _mode=alternate _value=16;\\n[\\ninstrument: piano;\\n{\\n<c e g b>4 <c e g b>4 <c eb g bb>2 | <c eb g bb>2 <c eb g bb>2\\n}\\n]\\n```"},"param":[{"@name":"direction","@optional":"1","@type":"[up,down,alternate]","#":"Specifies the start direction of the stroke"},{"@name":"value","@optional":"1","@type":"[1,2,4,8,...]","#":"the duration of one arpeggio event. (Default=64)"},{"@name":"mode","@optional":"1","@type":"[normal,alternate]","#":"Deprecated: Use _direction=alternate instead. Perform only one stroke direction (normal) or alternates between up and down. (Default=normal)"}]}}},"legato":{"rawObject":{"doc":{"command":{"@name":"legato","@where":"mod","@using":"lua/mod/legato.lua","#":"Performs every note legato. It is also possible to tag single notes.\\nIf a tag is given, only the tagged notes are performed legato.\\n```language=Werckmeister\\nusing \\"lua/mods/legato.lua\\";\\ntempo: 140;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/mod: legato _forTag=leg _amount=100/\\n-- only the `d` will be performed legato.\\nc \\"leg\\"@d e f\\n}\\n]\\n```"},"param":[{"@name":"forTag","@optional":"1","@type":"text","#":"Specifies a tag name. If set only events with this tag name will be affected by the legato mod."},{"@name":"amount","@optional":"1","@type":"0..100","#":"The ammount of the legato effect"}]}}},"myArpeggio":{"rawObject":{"doc":{"command":{"@name":"myArpeggio","@where":"mod","@using":"lua/mod/myArpeggio.lua","#":"A simple arpeggio implementation.\\n**Example**\\n```language=Werckmeister\\nusing \\"lua/mods/myArpeggio.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef: piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/do: myArpeggio/\\n<c e g b>2\\n/do: myArpeggio _direction=down/\\n<c eb g bb>2\\n}\\n]\\n```"},"param":[{"@name":"style","@optional":"1","@type":"[normal,legato]","#":"Performs the arpeggio normal or legato"},{"@name":"direction","@optional":"1","@type":"[up,down]","#":"the direction of the arpeggio. (Default=up)"}]}}},"staccato":{"rawObject":{"doc":{"command":{"@name":"staccato","@where":"mod","@using":"lua/mod/staccato.lua","#":"Performs every note staccato. It is also possible to tag single notes.\\nIf a tag is given, only the tagged notes are performed staccato.\\n```language=Werckmeister\\nusing \\"lua/mods/staccato.lua\\";\\ntempo: 140;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/mod: staccato _forTag=stac _amount=100/\\n-- only the `d` will be performed staccato.\\nc \\"stac\\"@d e f\\n}\\n]\\n```"},"param":[{"@name":"forTag","@optional":"1","@type":"text","#":"Specifies a tag name. If set only events with this tag name will be affected by the staccato mod."},{"@name":"amount","@optional":"1","@type":"0..100","#":"The ammount of the staccato effect"}]}}},"swing":{"rawObject":{"doc":{"command":{"@name":"swing","@where":"mod","@using":"lua/mod/swing.lua","#":"Performs a swing groove.\\n```language=Werckmeister\\nusing \\"lua/mods/swing.lua\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef: piano MyDevice _ch=0 _pc=0;\\n[\\ninstrument: piano;\\n{\\n/mod: swing/\\nc8 c c c c c c c\\n}\\n]\\n```"},"param":[{"@name":"grid","@optional":"1","@type":"[8, 16]","#":"Performs the swing offset either on 8th or 16th. (Default=8)"},{"@name":"offset","@optional":"1","@type":"0..100","#":"The ammount of the swing offset"}]}}},"guitar":{"rawObject":{"doc":{"command":{"@name":"guitar","@where":"voicingStrategy","@using":"lua/voicings/guitar.lua","#":"Tries to simulate the chord voicing of an guitar.\\n```language=Werckmeister\\nusing \\"/lua/voicings/guitar.lua\\";\\nusing \\"/chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: guitar/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\n/template: myTemplate/\\nC | F | G | C |\\n}\\n]\\n```"},"param":{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}}}},"inversion":{"rawObject":{"doc":{"command":{"@name":"inversion","@where":"voicingStrategy","@using":"lua/voicings/inversion.lua","#":"creates an inversion by moving the lowest note an octave hihgher.\\n```language=Werckmeister\\nusing \\"/lua/voicings/inversion.lua\\";\\nusing \\"/chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: inversion/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\n/template: myTemplate/\\nC | F | G | C |\\n}\\n]\\n```"},"param":[{"@name":"level","@optional":"1","@type":"number","#":"level of inversion"},{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}]}}},"simple":{"rawObject":{"doc":{"command":{"@name":"simple","@where":"voicingStrategy","@using":"lua/voicings/simple.lua","#":"The simple approach with no strategy.\\n```language=Werckmeister\\nusing \\"/lua/voicings/simple.lua\\";\\nusing \\"/chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: simple/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\n/template: myTemplate/\\nC | F | G | C |\\n}\\n]\\n```"},"param":{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}}}},"voicelead":{"rawObject":{"doc":{"command":{"@name":"voicelead","@where":"voicingStrategy","@using":"lua/voicings/voicelead.lua","#":"Tries to simulates a voice leading approach:\\nthe octaves of a chord are rearranged, so that the actual pitch distance between the previous chord is kept minimal.\\n```language=Werckmeister\\nusing \\"/lua/voicings/voicelead.lua\\";\\nusing \\"/chords/default.chords\\";\\ntempo: 120;\\ndevice: MyDevice midi 0;\\ninstrumentDef:piano MyDevice _ch=0 _pc=0;\\n[\\ntype: template;\\nname: myTemplate;\\ninstrument: piano;\\n{\\n/voicingStrategy: voicelead/\\n<I II III IV V VI VII>1\\n}\\n]\\n[\\ntype: accomp;\\n{\\n/template: myTemplate/\\nC | F | G | C |\\n}\\n]\\n```"},"param":{"@name":"range","@optional":"1","@type":"[contrabass,bass,baritone,tenor,alto,mezzosoprano,soprano]","#":"If given the strategy tries to keeps the range by shifting the octave of the chord."}}}}}',a=e.parseCommandDbJson(t);function o(){return a}exports.getAutoHintDb=o;var i=JSON.parse('{"/":[{"name":"chords","isDirectory":true},{"name":"lua","isDirectory":true},{"name":"pitchmaps","isDirectory":true},{"name":"templates","isDirectory":true}],"/chords":[{"name":"default.chords"}],"/lua/com":[{"name":"com.lua"},{"name":"globals.lua"},{"name":"inspect.lua"},{"name":"tests.lua"}],"/lua/mods":[{"name":"drumRudiments.lua"},{"name":"guitarStroke.lua"},{"name":"legato.lua"},{"name":"myArpeggio.lua"},{"name":"staccato.lua"},{"name":"swing.lua"}],"/lua/voicings":[{"name":"com.lua"},{"name":"guitar.lua"},{"name":"inversion.lua"},{"name":"simple.lua"},{"name":"voicelead.lua"}],"/lua":[{"name":"com","isDirectory":true},{"name":"mods","isDirectory":true},{"name":"voicings","isDirectory":true}],"/pitchmaps":[{"name":"battery3.tight.pitchmap"},{"name":"defaultMIDI.pitchmap"},{"name":"defaultMidiDrumMap.pitchmap"}],"/templates":[{"name":"bass.blues.template"},{"name":"bass.bossanova.template"},{"name":"bass.country.template"},{"name":"bass.disco.template"},{"name":"bass.jazzSwing.template"},{"name":"bass.reggae.template"},{"name":"bass.soca.template"},{"name":"bossanova.template"},{"name":"countryschlager1.template"},{"name":"drums.bossanova.template"},{"name":"drums.country.template"},{"name":"drums.disco.template"},{"name":"drums.jazzSwing.template"},{"name":"drums.purdie.template"},{"name":"drums.reggae.template"},{"name":"drums.soca.template"},{"name":"ennio.template"},{"name":"guitar.bossanova.template"},{"name":"guitar.country.template"},{"name":"rhythm.bossanova.template"},{"name":"rhythm.country.template"},{"name":"rhythm.jazzSwing.template"},{"name":"rhythm.reggae.template"}]}');function r(){return i}exports.getPreInstalledAuxFiles=r;
|
|
9
9
|
},{"./parser/docParser":"ol4r","fs":"f88W"}],"yh9p":[function(require,module,exports) {
|
|
10
10
|
"use strict";exports.byteLength=u,exports.toByteArray=i,exports.fromByteArray=d;for(var r=[],t=[],e="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o<a;++o)r[o]=n[o],t[n.charCodeAt(o)]=o;function h(r){var t=r.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=r.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}function u(r){var t=h(r),e=t[0],n=t[1];return 3*(e+n)/4-n}function c(r,t,e){return 3*(t+e)/4-e}function i(r){var n,o,a=h(r),u=a[0],i=a[1],f=new e(c(r,u,i)),A=0,d=i>0?u-4:u;for(o=0;o<d;o+=4)n=t[r.charCodeAt(o)]<<18|t[r.charCodeAt(o+1)]<<12|t[r.charCodeAt(o+2)]<<6|t[r.charCodeAt(o+3)],f[A++]=n>>16&255,f[A++]=n>>8&255,f[A++]=255&n;return 2===i&&(n=t[r.charCodeAt(o)]<<2|t[r.charCodeAt(o+1)]>>4,f[A++]=255&n),1===i&&(n=t[r.charCodeAt(o)]<<10|t[r.charCodeAt(o+1)]<<4|t[r.charCodeAt(o+2)]>>2,f[A++]=n>>8&255,f[A++]=255&n),f}function f(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function A(r,t,e){for(var n,o=[],a=t;a<e;a+=3)n=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(255&r[a+2]),o.push(f(n));return o.join("")}function d(t){for(var e,n=t.length,o=n%3,a=[],h=0,u=n-o;h<u;h+=16383)a.push(A(t,h,h+16383>u?u:h+16383));return 1===o?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),a.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63;
|
|
11
11
|
},{}],"JgNJ":[function(require,module,exports) {
|
|
@@ -22,7 +22,7 @@ var Buffer = require("buffer").Buffer;
|
|
|
22
22
|
var define;
|
|
23
23
|
var n,t=arguments[3],r=require("buffer").Buffer;(function(){var r,e=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",o="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",a=500,c="__lodash_placeholder__",l=1,s=2,h=4,p=1,v=2,_=1,g=2,y=4,d=8,b=16,w=32,m=64,x=128,j=256,A=512,k=30,O="...",I=800,R=16,E=1,z=2,S=1/0,L=9007199254740991,W=1.7976931348623157e308,C=NaN,B=4294967295,U=B-1,T=B>>>1,D=[["ary",x],["bind",_],["bindKey",g],["curry",d],["curryRight",b],["flip",A],["partial",w],["partialRight",m],["rearg",j]],$="[object Arguments]",M="[object Array]",F="[object AsyncFunction]",N="[object Boolean]",P="[object Date]",q="[object DOMException]",Z="[object Error]",K="[object Function]",V="[object GeneratorFunction]",G="[object Map]",H="[object Number]",J="[object Null]",Y="[object Object]",Q="[object Proxy]",X="[object RegExp]",nn="[object Set]",tn="[object String]",rn="[object Symbol]",en="[object Undefined]",un="[object WeakMap]",on="[object WeakSet]",fn="[object ArrayBuffer]",an="[object DataView]",cn="[object Float32Array]",ln="[object Float64Array]",sn="[object Int8Array]",hn="[object Int16Array]",pn="[object Int32Array]",vn="[object Uint8Array]",_n="[object Uint8ClampedArray]",gn="[object Uint16Array]",yn="[object Uint32Array]",dn=/\b__p \+= '';/g,bn=/\b(__p \+=) '' \+/g,wn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mn=/&(?:amp|lt|gt|quot|#39);/g,xn=/[&<>"']/g,jn=RegExp(mn.source),An=RegExp(xn.source),kn=/<%-([\s\S]+?)%>/g,On=/<%([\s\S]+?)%>/g,In=/<%=([\s\S]+?)%>/g,Rn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,En=/^\w*$/,zn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,Ln=RegExp(Sn.source),Wn=/^\s+/,Cn=/\s/,Bn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Un=/\{\n\/\* \[wrapped with (.+)\] \*/,Tn=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$n=/[()=,{}\[\]\/\s]/,Mn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nn=/\w*$/,Pn=/^[-+]0x[0-9a-f]+$/i,qn=/^0b[01]+$/i,Zn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn=/($^)/,Jn=/['\n\r\u2028\u2029\\]/g,Yn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xn="[\\ud800-\\udfff]",nt="["+Qn+"]",tt="["+Yn+"]",rt="\\d+",et="[\\u2700-\\u27bf]",ut="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Qn+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ot="\\ud83c[\\udffb-\\udfff]",ft="[^\\ud800-\\udfff]",at="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",lt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",st="(?:"+ut+"|"+it+")",ht="(?:"+lt+"|"+it+")",pt="(?:"+tt+"|"+ot+")"+"?",vt="[\\ufe0e\\ufe0f]?"+pt+("(?:\\u200d(?:"+[ft,at,ct].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*"),_t="(?:"+[et,at,ct].join("|")+")"+vt,gt="(?:"+[ft+tt+"?",tt,at,ct,Xn].join("|")+")",yt=RegExp("['’]","g"),dt=RegExp(tt,"g"),bt=RegExp(ot+"(?="+ot+")|"+gt+vt,"g"),wt=RegExp([lt+"?"+ut+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[nt,lt,"$"].join("|")+")",ht+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[nt,lt+st,"$"].join("|")+")",lt+"?"+st+"+(?:['’](?:d|ll|m|re|s|t|ve))?",lt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt,_t].join("|"),"g"),mt=RegExp("[\\u200d\\ud800-\\udfff"+Yn+"\\ufe0e\\ufe0f]"),xt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],At=-1,kt={};kt[cn]=kt[ln]=kt[sn]=kt[hn]=kt[pn]=kt[vn]=kt[_n]=kt[gn]=kt[yn]=!0,kt[$]=kt[M]=kt[fn]=kt[N]=kt[an]=kt[P]=kt[Z]=kt[K]=kt[G]=kt[H]=kt[Y]=kt[X]=kt[nn]=kt[tn]=kt[un]=!1;var Ot={};Ot[$]=Ot[M]=Ot[fn]=Ot[an]=Ot[N]=Ot[P]=Ot[cn]=Ot[ln]=Ot[sn]=Ot[hn]=Ot[pn]=Ot[G]=Ot[H]=Ot[Y]=Ot[X]=Ot[nn]=Ot[tn]=Ot[rn]=Ot[vn]=Ot[_n]=Ot[gn]=Ot[yn]=!0,Ot[Z]=Ot[K]=Ot[un]=!1;var It={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Rt=parseFloat,Et=parseInt,zt="object"==typeof t&&t&&t.Object===Object&&t,St="object"==typeof self&&self&&self.Object===Object&&self,Lt=zt||St||Function("return this")(),Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ct=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Bt=Ct&&Ct.exports===Wt,Ut=Bt&&zt.process,Tt=function(){try{var n=Ct&&Ct.require&&Ct.require("util").types;return n||Ut&&Ut.binding&&Ut.binding("util")}catch(t){}}(),Dt=Tt&&Tt.isArrayBuffer,$t=Tt&&Tt.isDate,Mt=Tt&&Tt.isMap,Ft=Tt&&Tt.isRegExp,Nt=Tt&&Tt.isSet,Pt=Tt&&Tt.isTypedArray;function qt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Zt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function Kt(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function Vt(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function Gt(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function Ht(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function Jt(n,t){return!!(null==n?0:n.length)&&or(n,t,0)>-1}function Yt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function Qt(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function Xt(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function nr(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function tr(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function rr(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var er=lr("length");function ur(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,!1}),e}function ir(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function or(n,t,r){return t==t?function(n,t,r){var e=r-1,u=n.length;for(;++e<u;)if(n[e]===t)return e;return-1}(n,t,r):ir(n,ar,r)}function fr(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function ar(n){return n!=n}function cr(n,t){var r=null==n?0:n.length;return r?pr(n,t)/r:C}function lr(n){return function(t){return null==t?r:t[n]}}function sr(n){return function(t){return null==n?r:n[t]}}function hr(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)}),r}function pr(n,t){for(var e,u=-1,i=n.length;++u<i;){var o=t(n[u]);o!==r&&(e=e===r?o:e+o)}return e}function vr(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function _r(n){return n?n.slice(0,Lr(n)+1).replace(Wn,""):n}function gr(n){return function(t){return n(t)}}function yr(n,t){return Qt(t,function(t){return n[t]})}function dr(n,t){return n.has(t)}function br(n,t){for(var r=-1,e=n.length;++r<e&&or(t,n[r],0)>-1;);return r}function wr(n,t){for(var r=n.length;r--&&or(t,n[r],0)>-1;);return r}var mr=sr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xr=sr({"&":"&","<":"<",">":">",'"':""","'":"'"});function jr(n){return"\\"+It[n]}function Ar(n){return mt.test(n)}function kr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function Or(n,t){return function(r){return n(t(r))}}function Ir(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&o!==c||(n[r]=c,i[u++]=r)}return i}function Rr(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function Er(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=[n,n]}),r}function zr(n){return Ar(n)?function(n){var t=bt.lastIndex=0;for(;bt.test(n);)++t;return t}(n):er(n)}function Sr(n){return Ar(n)?function(n){return n.match(bt)||[]}(n):function(n){return n.split("")}(n)}function Lr(n){for(var t=n.length;t--&&Cn.test(n.charAt(t)););return t}var Wr=sr({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Cr=function n(t){var Cn,Yn=(t=null==t?Lt:Cr.defaults(Lt.Object(),t,Cr.pick(Lt,jt))).Array,Qn=t.Date,Xn=t.Error,nt=t.Function,tt=t.Math,rt=t.Object,et=t.RegExp,ut=t.String,it=t.TypeError,ot=Yn.prototype,ft=nt.prototype,at=rt.prototype,ct=t["__core-js_shared__"],lt=ft.toString,st=at.hasOwnProperty,ht=0,pt=(Cn=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||""))?"Symbol(src)_1."+Cn:"",vt=at.toString,_t=lt.call(rt),gt=Lt._,bt=et("^"+lt.call(st).replace(Sn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=Bt?t.Buffer:r,It=t.Symbol,zt=t.Uint8Array,St=mt?mt.allocUnsafe:r,Wt=Or(rt.getPrototypeOf,rt),Ct=rt.create,Ut=at.propertyIsEnumerable,Tt=ot.splice,er=It?It.isConcatSpreadable:r,sr=It?It.iterator:r,Br=It?It.toStringTag:r,Ur=function(){try{var n=Mi(rt,"defineProperty");return n({},"",{}),n}catch(t){}}(),Tr=t.clearTimeout!==Lt.clearTimeout&&t.clearTimeout,Dr=Qn&&Qn.now!==Lt.Date.now&&Qn.now,$r=t.setTimeout!==Lt.setTimeout&&t.setTimeout,Mr=tt.ceil,Fr=tt.floor,Nr=rt.getOwnPropertySymbols,Pr=mt?mt.isBuffer:r,qr=t.isFinite,Zr=ot.join,Kr=Or(rt.keys,rt),Vr=tt.max,Gr=tt.min,Hr=Qn.now,Jr=t.parseInt,Yr=tt.random,Qr=ot.reverse,Xr=Mi(t,"DataView"),ne=Mi(t,"Map"),te=Mi(t,"Promise"),re=Mi(t,"Set"),ee=Mi(t,"WeakMap"),ue=Mi(rt,"create"),ie=ee&&new ee,oe={},fe=ho(Xr),ae=ho(ne),ce=ho(te),le=ho(re),se=ho(ee),he=It?It.prototype:r,pe=he?he.valueOf:r,ve=he?he.toString:r;function _e(n){if(Sf(n)&&!wf(n)&&!(n instanceof be)){if(n instanceof de)return n;if(st.call(n,"__wrapped__"))return po(n)}return new de(n)}var ge=function(){function n(){}return function(t){if(!zf(t))return{};if(Ct)return Ct(t);n.prototype=t;var e=new n;return n.prototype=r,e}}();function ye(){}function de(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function be(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function we(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function me(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function xe(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function je(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new xe;++t<r;)this.add(n[t])}function Ae(n){var t=this.__data__=new me(n);this.size=t.size}function ke(n,t){var r=wf(n),e=!r&&bf(n),u=!r&&!e&&Af(n),i=!r&&!e&&!u&&$f(n),o=r||e||u||i,f=o?vr(n.length,ut):[],a=f.length;for(var c in n)!t&&!st.call(n,c)||o&&("length"==c||u&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Vi(c,a))||f.push(c);return f}function Oe(n){var t=n.length;return t?n[ju(0,t-1)]:r}function Ie(n,t){return co(ui(n),Ue(t,0,n.length))}function Re(n){return co(ui(n))}function Ee(n,t,e){(e===r||gf(n[t],e))&&(e!==r||t in n)||Ce(n,t,e)}function ze(n,t,e){var u=n[t];st.call(n,t)&&gf(u,e)&&(e!==r||t in n)||Ce(n,t,e)}function Se(n,t){for(var r=n.length;r--;)if(gf(n[r][0],t))return r;return-1}function Le(n,t,r,e){return Fe(n,function(n,u,i){t(e,n,r(n),i)}),e}function We(n,t){return n&&ii(t,fa(t),n)}function Ce(n,t,r){"__proto__"==t&&Ur?Ur(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function Be(n,t){for(var e=-1,u=t.length,i=Yn(u),o=null==n;++e<u;)i[e]=o?r:ra(n,t[e]);return i}function Ue(n,t,e){return n==n&&(e!==r&&(n=n<=e?n:e),t!==r&&(n=n>=t?n:t)),n}function Te(n,t,e,u,i,o){var f,a=t&l,c=t&s,p=t&h;if(e&&(f=i?e(n,u,i,o):e(n)),f!==r)return f;if(!zf(n))return n;var v=wf(n);if(v){if(f=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&st.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(n),!a)return ui(n,f)}else{var _=Pi(n),g=_==K||_==V;if(Af(n))return Qu(n,a);if(_==Y||_==$||g&&!i){if(f=c||g?{}:Zi(n),!a)return c?function(n,t){return ii(n,Ni(n),t)}(n,function(n,t){return n&&ii(t,aa(t),n)}(f,n)):function(n,t){return ii(n,Fi(n),t)}(n,We(f,n))}else{if(!Ot[_])return i?n:{};f=function(n,t,r){var e,u,i,o=n.constructor;switch(t){case fn:return Xu(n);case N:case P:return new o(+n);case an:return function(n,t){var r=t?Xu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case cn:case ln:case sn:case hn:case pn:case vn:case _n:case gn:case yn:return ni(n,r);case G:return new o;case H:case tn:return new o(n);case X:return(i=new(u=n).constructor(u.source,Nn.exec(u))).lastIndex=u.lastIndex,i;case nn:return new o;case rn:return e=n,pe?rt(pe.call(e)):{}}}(n,_,a)}}o||(o=new Ae);var y=o.get(n);if(y)return y;o.set(n,f),Uf(n)?n.forEach(function(r){f.add(Te(r,t,e,r,n,o))}):Lf(n)&&n.forEach(function(r,u){f.set(u,Te(r,t,e,u,n,o))});var d=v?r:(p?c?Wi:Li:c?aa:fa)(n);return Kt(d||n,function(r,u){d&&(r=n[u=r]),ze(f,u,Te(r,t,e,u,n,o))}),f}function De(n,t,e){var u=e.length;if(null==n)return!u;for(n=rt(n);u--;){var i=e[u],o=t[i],f=n[i];if(f===r&&!(i in n)||!o(f))return!1}return!0}function $e(n,t,e){if("function"!=typeof n)throw new it(i);return io(function(){n.apply(r,e)},t)}function Me(n,t,r,u){var i=-1,o=Jt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;r&&(t=Qt(t,gr(r))),u?(o=Yt,f=!1):t.length>=e&&(o=dr,f=!1,t=new je(t));n:for(;++i<a;){var s=n[i],h=null==r?s:r(s);if(s=u||0!==s?s:0,f&&h==h){for(var p=l;p--;)if(t[p]===h)continue n;c.push(s)}else o(t,h,u)||c.push(s)}return c}_e.templateSettings={escape:kn,evaluate:On,interpolate:In,variable:"",imports:{_:_e}},_e.prototype=ye.prototype,_e.prototype.constructor=_e,de.prototype=ge(ye.prototype),de.prototype.constructor=de,be.prototype=ge(ye.prototype),be.prototype.constructor=be,we.prototype.clear=function(){this.__data__=ue?ue(null):{},this.size=0},we.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},we.prototype.get=function(n){var t=this.__data__;if(ue){var e=t[n];return e===f?r:e}return st.call(t,n)?t[n]:r},we.prototype.has=function(n){var t=this.__data__;return ue?t[n]!==r:st.call(t,n)},we.prototype.set=function(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=ue&&t===r?f:t,this},me.prototype.clear=function(){this.__data__=[],this.size=0},me.prototype.delete=function(n){var t=this.__data__,r=Se(t,n);return!(r<0||(r==t.length-1?t.pop():Tt.call(t,r,1),--this.size,0))},me.prototype.get=function(n){var t=this.__data__,e=Se(t,n);return e<0?r:t[e][1]},me.prototype.has=function(n){return Se(this.__data__,n)>-1},me.prototype.set=function(n,t){var r=this.__data__,e=Se(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},xe.prototype.clear=function(){this.size=0,this.__data__={hash:new we,map:new(ne||me),string:new we}},xe.prototype.delete=function(n){var t=Di(this,n).delete(n);return this.size-=t?1:0,t},xe.prototype.get=function(n){return Di(this,n).get(n)},xe.prototype.has=function(n){return Di(this,n).has(n)},xe.prototype.set=function(n,t){var r=Di(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},je.prototype.add=je.prototype.push=function(n){return this.__data__.set(n,f),this},je.prototype.has=function(n){return this.__data__.has(n)},Ae.prototype.clear=function(){this.__data__=new me,this.size=0},Ae.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ae.prototype.get=function(n){return this.__data__.get(n)},Ae.prototype.has=function(n){return this.__data__.has(n)},Ae.prototype.set=function(n,t){var r=this.__data__;if(r instanceof me){var u=r.__data__;if(!ne||u.length<e-1)return u.push([n,t]),this.size=++r.size,this;r=this.__data__=new xe(u)}return r.set(n,t),this.size=r.size,this};var Fe=ai(He),Ne=ai(Je,!0);function Pe(n,t){var r=!0;return Fe(n,function(n,e,u){return r=!!t(n,e,u)}),r}function qe(n,t,e){for(var u=-1,i=n.length;++u<i;){var o=n[u],f=t(o);if(null!=f&&(a===r?f==f&&!Df(f):e(f,a)))var a=f,c=o}return c}function Ze(n,t){var r=[];return Fe(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function Ke(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=Ki),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?Ke(f,t-1,r,e,u):Xt(u,f):e||(u[u.length]=f)}return u}var Ve=ci(),Ge=ci(!0);function He(n,t){return n&&Ve(n,t,fa)}function Je(n,t){return n&&Ge(n,t,fa)}function Ye(n,t){return Ht(t,function(t){return If(n[t])})}function Qe(n,t){for(var e=0,u=(t=Gu(t,n)).length;null!=n&&e<u;)n=n[so(t[e++])];return e&&e==u?n:r}function Xe(n,t,r){var e=t(n);return wf(n)?e:Xt(e,r(n))}function nu(n){return null==n?n===r?en:J:Br&&Br in rt(n)?function(n){var t=st.call(n,Br),e=n[Br];try{n[Br]=r;var u=!0}catch(o){}var i=vt.call(n);return u&&(t?n[Br]=e:delete n[Br]),i}(n):function(n){return vt.call(n)}(n)}function tu(n,t){return n>t}function ru(n,t){return null!=n&&st.call(n,t)}function eu(n,t){return null!=n&&t in rt(n)}function uu(n,t,e){for(var u=e?Yt:Jt,i=n[0].length,o=n.length,f=o,a=Yn(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=Qt(s,gr(t))),c=Gr(s.length,c),a[f]=!e&&(t||i>=120&&s.length>=120)?new je(f&&s):r}s=n[0];var h=-1,p=a[0];n:for(;++h<i&&l.length<c;){var v=s[h],_=t?t(v):v;if(v=e||0!==v?v:0,!(p?dr(p,_):u(l,_,e))){for(f=o;--f;){var g=a[f];if(!(g?dr(g,_):u(n[f],_,e)))continue n}p&&p.push(_),l.push(v)}}return l}function iu(n,t,e){var u=null==(n=ro(n,t=Gu(t,n)))?n:n[so(ko(t))];return null==u?r:qt(u,n,e)}function ou(n){return Sf(n)&&nu(n)==$}function fu(n,t,e,u,i){return n===t||(null==n||null==t||!Sf(n)&&!Sf(t)?n!=n&&t!=t:function(n,t,e,u,i,o){var f=wf(n),a=wf(t),c=f?M:Pi(n),l=a?M:Pi(t),s=(c=c==$?Y:c)==Y,h=(l=l==$?Y:l)==Y,_=c==l;if(_&&Af(n)){if(!Af(t))return!1;f=!0,s=!1}if(_&&!s)return o||(o=new Ae),f||$f(n)?zi(n,t,e,u,i,o):function(n,t,r,e,u,i,o){switch(r){case an:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case fn:return!(n.byteLength!=t.byteLength||!i(new zt(n),new zt(t)));case N:case P:case H:return gf(+n,+t);case Z:return n.name==t.name&&n.message==t.message;case X:case tn:return n==t+"";case G:var f=kr;case nn:var a=e&p;if(f||(f=Rr),n.size!=t.size&&!a)return!1;var c=o.get(n);if(c)return c==t;e|=v,o.set(n,t);var l=zi(f(n),f(t),e,u,i,o);return o.delete(n),l;case rn:if(pe)return pe.call(n)==pe.call(t)}return!1}(n,t,c,e,u,i,o);if(!(e&p)){var g=s&&st.call(n,"__wrapped__"),y=h&&st.call(t,"__wrapped__");if(g||y){var d=g?n.value():n,b=y?t.value():t;return o||(o=new Ae),i(d,b,e,u,o)}}return!!_&&(o||(o=new Ae),function(n,t,e,u,i,o){var f=e&p,a=Li(n),c=a.length,l=Li(t).length;if(c!=l&&!f)return!1;for(var s=c;s--;){var h=a[s];if(!(f?h in t:st.call(t,h)))return!1}var v=o.get(n),_=o.get(t);if(v&&_)return v==t&&_==n;var g=!0;o.set(n,t),o.set(t,n);for(var y=f;++s<c;){h=a[s];var d=n[h],b=t[h];if(u)var w=f?u(b,d,h,t,n,o):u(d,b,h,n,t,o);if(!(w===r?d===b||i(d,b,e,u,o):w)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var m=n.constructor,x=t.constructor;m!=x&&"constructor"in n&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x)&&(g=!1)}return o.delete(n),o.delete(t),g}(n,t,e,u,i,o))}(n,t,e,u,fu,i))}function au(n,t,e,u){var i=e.length,o=i,f=!u;if(null==n)return!o;for(n=rt(n);i--;){var a=e[i];if(f&&a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++i<o;){var c=(a=e[i])[0],l=n[c],s=a[1];if(f&&a[2]){if(l===r&&!(c in n))return!1}else{var h=new Ae;if(u)var _=u(l,s,c,n,t,h);if(!(_===r?fu(s,l,p|v,u,h):_))return!1}}return!0}function cu(n){return!(!zf(n)||(t=n,pt&&pt in t))&&(If(n)?bt:Zn).test(ho(n));var t}function lu(n){return"function"==typeof n?n:null==n?Wa:"object"==typeof n?wf(n)?gu(n[0],n[1]):_u(n):Na(n)}function su(n){if(!Qi(n))return Kr(n);var t=[];for(var r in rt(n))st.call(n,r)&&"constructor"!=r&&t.push(r);return t}function hu(n){if(!zf(n))return function(n){var t=[];if(null!=n)for(var r in rt(n))t.push(r);return t}(n);var t=Qi(n),r=[];for(var e in n)("constructor"!=e||!t&&st.call(n,e))&&r.push(e);return r}function pu(n,t){return n<t}function vu(n,t){var r=-1,e=xf(n)?Yn(n.length):[];return Fe(n,function(n,u,i){e[++r]=t(n,u,i)}),e}function _u(n){var t=$i(n);return 1==t.length&&t[0][2]?no(t[0][0],t[0][1]):function(r){return r===n||au(r,n,t)}}function gu(n,t){return Hi(n)&&Xi(t)?no(so(n),t):function(e){var u=ra(e,n);return u===r&&u===t?ea(e,n):fu(t,u,p|v)}}function yu(n,t,e,u,i){n!==t&&Ve(t,function(o,f){if(i||(i=new Ae),zf(o))!function(n,t,e,u,i,o,f){var a=eo(n,e),c=eo(t,e),l=f.get(c);if(l)Ee(n,e,l);else{var s=o?o(a,c,e+"",n,t,f):r,h=s===r;if(h){var p=wf(c),v=!p&&Af(c),_=!p&&!v&&$f(c);s=c,p||v||_?wf(a)?s=a:jf(a)?s=ui(a):v?(h=!1,s=Qu(c,!0)):_?(h=!1,s=ni(c,!0)):s=[]:Cf(c)||bf(c)?(s=a,bf(a)?s=Vf(a):zf(a)&&!If(a)||(s=Zi(c))):h=!1}h&&(f.set(c,s),i(s,c,u,o,f),f.delete(c)),Ee(n,e,s)}}(n,t,f,e,yu,u,i);else{var a=u?u(eo(n,f),o,f+"",n,t,i):r;a===r&&(a=o),Ee(n,f,a)}},aa)}function du(n,t){var e=n.length;if(e)return Vi(t+=t<0?e:0,e)?n[t]:r}function bu(n,t,r){t=t.length?Qt(t,function(n){return wf(n)?function(t){return Qe(t,1===n.length?n[0]:n)}:n}):[Wa];var e=-1;return t=Qt(t,gr(Ti())),function(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].value;return n}(vu(n,function(n,r,u){return{criteria:Qt(t,function(t){return t(n)}),index:++e,value:n}}),function(n,t){return function(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var a=ti(u[e],i[e]);if(a){if(e>=f)return a;var c=r[e];return a*("desc"==c?-1:1)}}return n.index-t.index}(n,t,r)})}function wu(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=Qe(n,o);r(f,o)&&Ru(i,Gu(o,n),f)}return i}function mu(n,t,r,e){var u=e?fr:or,i=-1,o=t.length,f=n;for(n===t&&(t=ui(t)),r&&(f=Qt(n,gr(r)));++i<o;)for(var a=0,c=t[i],l=r?r(c):c;(a=u(f,l,a,e))>-1;)f!==n&&Tt.call(f,a,1),Tt.call(n,a,1);return n}function xu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;Vi(u)?Tt.call(n,u,1):Mu(n,u)}}return n}function ju(n,t){return n+Fr(Yr()*(t-n+1))}function Au(n,t){var r="";if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=Fr(t/2))&&(n+=n)}while(t);return r}function ku(n,t){return oo(to(n,t,Wa),n+"")}function Ou(n){return Oe(ga(n))}function Iu(n,t){var r=ga(n);return co(r,Ue(t,0,r.length))}function Ru(n,t,e,u){if(!zf(n))return n;for(var i=-1,o=(t=Gu(t,n)).length,f=o-1,a=n;null!=a&&++i<o;){var c=so(t[i]),l=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return n;if(i!=f){var s=a[c];(l=u?u(s,c,a):r)===r&&(l=zf(s)?s:Vi(t[i+1])?[]:{})}ze(a,c,l),a=a[c]}return n}var Eu=ie?function(n,t){return ie.set(n,t),n}:Wa,zu=Ur?function(n,t){return Ur(n,"toString",{configurable:!0,enumerable:!1,value:za(t),writable:!0})}:Wa;function Su(n){return co(ga(n))}function Lu(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Yn(u);++e<u;)i[e]=n[e+t];return i}function Wu(n,t){var r;return Fe(n,function(n,e,u){return!(r=t(n,e,u))}),!!r}function Cu(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=T){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!Df(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return Bu(n,t,Wa,r)}function Bu(n,t,e,u){var i=0,o=null==n?0:n.length;if(0===o)return 0;for(var f=(t=e(t))!=t,a=null===t,c=Df(t),l=t===r;i<o;){var s=Fr((i+o)/2),h=e(n[s]),p=h!==r,v=null===h,_=h==h,g=Df(h);if(f)var y=u||_;else y=l?_&&(u||p):a?_&&p&&(u||!v):c?_&&p&&!v&&(u||!g):!v&&!g&&(u?h<=t:h<t);y?i=s+1:o=s}return Gr(o,U)}function Uu(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!gf(f,a)){var a=f;i[u++]=0===o?0:o}}return i}function Tu(n){return"number"==typeof n?n:Df(n)?C:+n}function Du(n){if("string"==typeof n)return n;if(wf(n))return Qt(n,Du)+"";if(Df(n))return ve?ve.call(n):"";var t=n+"";return"0"==t&&1/n==-S?"-0":t}function $u(n,t,r){var u=-1,i=Jt,o=n.length,f=!0,a=[],c=a;if(r)f=!1,i=Yt;else if(o>=e){var l=t?null:Ai(n);if(l)return Rr(l);f=!1,i=dr,c=new je}else c=t?[]:a;n:for(;++u<o;){var s=n[u],h=t?t(s):s;if(s=r||0!==s?s:0,f&&h==h){for(var p=c.length;p--;)if(c[p]===h)continue n;t&&c.push(h),a.push(s)}else i(c,h,r)||(c!==a&&c.push(h),a.push(s))}return a}function Mu(n,t){return null==(n=ro(n,t=Gu(t,n)))||delete n[so(ko(t))]}function Fu(n,t,r,e){return Ru(n,t,r(Qe(n,t)),e)}function Nu(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?Lu(n,e?0:i,e?i+1:u):Lu(n,e?i+1:0,e?u:i)}function Pu(n,t){var r=n;return r instanceof be&&(r=r.value()),nr(t,function(n,t){return t.func.apply(t.thisArg,Xt([n],t.args))},r)}function qu(n,t,r){var e=n.length;if(e<2)return e?$u(n[0]):[];for(var u=-1,i=Yn(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=Me(i[u]||o,n[f],t,r));return $u(Ke(i,1),t,r)}function Zu(n,t,e){for(var u=-1,i=n.length,o=t.length,f={};++u<i;){var a=u<o?t[u]:r;e(f,n[u],a)}return f}function Ku(n){return jf(n)?n:[]}function Vu(n){return"function"==typeof n?n:Wa}function Gu(n,t){return wf(n)?n:Hi(n,t)?[n]:lo(Gf(n))}var Hu=ku;function Ju(n,t,e){var u=n.length;return e=e===r?u:e,!t&&e>=u?n:Lu(n,t,e)}var Yu=Tr||function(n){return Lt.clearTimeout(n)};function Qu(n,t){if(t)return n.slice();var r=n.length,e=St?St(r):new n.constructor(r);return n.copy(e),e}function Xu(n){var t=new n.constructor(n.byteLength);return new zt(t).set(new zt(n)),t}function ni(n,t){var r=t?Xu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ti(n,t){if(n!==t){var e=n!==r,u=null===n,i=n==n,o=Df(n),f=t!==r,a=null===t,c=t==t,l=Df(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n<t||l&&e&&i&&!u&&!o||a&&e&&i||!f&&i||!c)return-1}return 0}function ri(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Vr(i-o,0),l=Yn(a+c),s=!e;++f<a;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;c--;)l[f++]=n[u++];return l}function ei(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,a=-1,c=t.length,l=Vr(i-f,0),s=Yn(l+c),h=!e;++u<l;)s[u]=n[u];for(var p=u;++a<c;)s[p+a]=t[a];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function ui(n,t){var r=-1,e=n.length;for(t||(t=Yn(e));++r<e;)t[r]=n[r];return t}function ii(n,t,e,u){var i=!e;e||(e={});for(var o=-1,f=t.length;++o<f;){var a=t[o],c=u?u(e[a],n[a],a,e,n):r;c===r&&(c=n[a]),i?Ce(e,a,c):ze(e,a,c)}return e}function oi(n,t){return function(r,e){var u=wf(r)?Zt:Le,i=t?t():{};return u(r,n,Ti(e,2),i)}}function fi(n){return ku(function(t,e){var u=-1,i=e.length,o=i>1?e[i-1]:r,f=i>2?e[2]:r;for(o=n.length>3&&"function"==typeof o?(i--,o):r,f&&Gi(e[0],e[1],f)&&(o=i<3?r:o,i=1),t=rt(t);++u<i;){var a=e[u];a&&n(t,a,u,o)}return t})}function ai(n,t){return function(r,e){if(null==r)return r;if(!xf(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=rt(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function ci(n){return function(t,r,e){for(var u=-1,i=rt(t),o=e(t),f=o.length;f--;){var a=o[n?f:++u];if(!1===r(i[a],a,i))break}return t}}function li(n){return function(t){var e=Ar(t=Gf(t))?Sr(t):r,u=e?e[0]:t.charAt(0),i=e?Ju(e,1).join(""):t.slice(1);return u[n]()+i}}function si(n){return function(t){return nr(Ia(ba(t).replace(yt,"")),n,"")}}function hi(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=ge(n.prototype),e=n.apply(r,t);return zf(e)?e:r}}function pi(n){return function(t,e,u){var i=rt(t);if(!xf(t)){var o=Ti(e,3);t=fa(t),e=function(n){return o(i[n],n,i)}}var f=n(t,e,u);return f>-1?i[o?t[f]:f]:r}}function vi(n){return Si(function(t){var e=t.length,u=e,o=de.prototype.thru;for(n&&t.reverse();u--;){var f=t[u];if("function"!=typeof f)throw new it(i);if(o&&!a&&"wrapper"==Bi(f))var a=new de([],!0)}for(u=a?u:e;++u<e;){var c=Bi(f=t[u]),l="wrapper"==c?Ci(f):r;a=l&&Ji(l[0])&&l[1]==(x|d|w|j)&&!l[4].length&&1==l[9]?a[Bi(l[0])].apply(a,l[3]):1==f.length&&Ji(f)?a[c]():a.thru(f)}return function(){var n=arguments,r=n[0];if(a&&1==n.length&&wf(r))return a.plant(r).value();for(var u=0,i=e?t[u].apply(this,n):r;++u<e;)i=t[u].call(this,i);return i}})}function _i(n,t,e,u,i,o,f,a,c,l){var s=t&x,h=t&_,p=t&g,v=t&(d|b),y=t&A,w=p?r:hi(n);return function _(){for(var g=arguments.length,d=Yn(g),b=g;b--;)d[b]=arguments[b];if(v)var m=Ui(_),x=function(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}(d,m);if(u&&(d=ri(d,u,i,v)),o&&(d=ei(d,o,f,v)),g-=x,v&&g<l){var j=Ir(d,m);return xi(n,t,_i,_.placeholder,e,d,j,a,c,l-g)}var A=h?e:this,k=p?A[n]:n;return g=d.length,a?d=function(n,t){for(var e=n.length,u=Gr(t.length,e),i=ui(n);u--;){var o=t[u];n[u]=Vi(o,e)?i[o]:r}return n}(d,a):y&&g>1&&d.reverse(),s&&c<g&&(d.length=c),this&&this!==Lt&&this instanceof _&&(k=w||hi(k)),k.apply(A,d)}}function gi(n,t){return function(r,e){return function(n,t,r,e){return He(n,function(n,u,i){t(e,r(n),u,i)}),e}(r,n,t(e),{})}}function yi(n,t){return function(e,u){var i;if(e===r&&u===r)return t;if(e!==r&&(i=e),u!==r){if(i===r)return u;"string"==typeof e||"string"==typeof u?(e=Du(e),u=Du(u)):(e=Tu(e),u=Tu(u)),i=n(e,u)}return i}}function di(n){return Si(function(t){return t=Qt(t,gr(Ti())),ku(function(r){var e=this;return n(t,function(n){return qt(n,e,r)})})})}function bi(n,t){var e=(t=t===r?" ":Du(t)).length;if(e<2)return e?Au(t,n):t;var u=Au(t,Mr(n/zr(t)));return Ar(t)?Ju(Sr(u),0,n).join(""):u.slice(0,n)}function wi(n){return function(t,e,u){return u&&"number"!=typeof u&&Gi(t,e,u)&&(e=u=r),t=Pf(t),e===r?(e=t,t=0):e=Pf(e),function(n,t,r,e){for(var u=-1,i=Vr(Mr((t-n)/(r||1)),0),o=Yn(i);i--;)o[e?i:++u]=n,n+=r;return o}(t,e,u=u===r?t<e?1:-1:Pf(u),n)}}function mi(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=Kf(t),r=Kf(r)),n(t,r)}}function xi(n,t,e,u,i,o,f,a,c,l){var s=t&d;t|=s?w:m,(t&=~(s?m:w))&y||(t&=~(_|g));var h=[n,t,i,s?o:r,s?f:r,s?r:o,s?r:f,a,c,l],p=e.apply(r,h);return Ji(n)&&uo(p,h),p.placeholder=u,fo(p,n,t)}function ji(n){var t=tt[n];return function(n,r){if(n=Kf(n),(r=null==r?0:Gr(qf(r),292))&&qr(n)){var e=(Gf(n)+"e").split("e");return+((e=(Gf(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return t(n)}}var Ai=re&&1/Rr(new re([,-0]))[1]==S?function(n){return new re(n)}:Da;function ki(n){return function(t){var r=Pi(t);return r==G?kr(t):r==nn?Er(t):function(n,t){return Qt(t,function(t){return[t,n[t]]})}(t,n(t))}}function Oi(n,t,e,u,o,f,a,l){var s=t&g;if(!s&&"function"!=typeof n)throw new it(i);var h=u?u.length:0;if(h||(t&=~(w|m),u=o=r),a=a===r?a:Vr(qf(a),0),l=l===r?l:qf(l),h-=o?o.length:0,t&m){var p=u,v=o;u=o=r}var A=s?r:Ci(n),k=[n,t,e,u,o,p,v,f,a,l];if(A&&function(n,t){var r=n[1],e=t[1],u=r|e,i=u<(_|g|x),o=e==x&&r==d||e==x&&r==j&&n[7].length<=t[8]||e==(x|j)&&t[7].length<=t[8]&&r==d;if(!i&&!o)return n;e&_&&(n[2]=t[2],u|=r&_?0:y);var f=t[3];if(f){var a=n[3];n[3]=a?ri(a,f,t[4]):f,n[4]=a?Ir(n[3],c):t[4]}(f=t[5])&&(a=n[5],n[5]=a?ei(a,f,t[6]):f,n[6]=a?Ir(n[5],c):t[6]),(f=t[7])&&(n[7]=f),e&x&&(n[8]=null==n[8]?t[8]:Gr(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u}(k,A),n=k[0],t=k[1],e=k[2],u=k[3],o=k[4],!(l=k[9]=k[9]===r?s?0:n.length:Vr(k[9]-h,0))&&t&(d|b)&&(t&=~(d|b)),t&&t!=_)O=t==d||t==b?function(n,t,e){var u=hi(n);return function i(){for(var o=arguments.length,f=Yn(o),a=o,c=Ui(i);a--;)f[a]=arguments[a];var l=o<3&&f[0]!==c&&f[o-1]!==c?[]:Ir(f,c);return(o-=l.length)<e?xi(n,t,_i,i.placeholder,r,f,l,r,r,e-o):qt(this&&this!==Lt&&this instanceof i?u:n,this,f)}}(n,t,l):t!=w&&t!=(_|w)||o.length?_i.apply(r,k):function(n,t,r,e){var u=t&_,i=hi(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=Yn(c+f),s=this&&this!==Lt&&this instanceof t?i:n;++a<c;)l[a]=e[a];for(;f--;)l[a++]=arguments[++o];return qt(s,u?r:this,l)}}(n,t,e,u);else var O=function(n,t,r){var e=t&_,u=hi(n);return function t(){return(this&&this!==Lt&&this instanceof t?u:n).apply(e?r:this,arguments)}}(n,t,e);return fo((A?Eu:uo)(O,k),n,t)}function Ii(n,t,e,u){return n===r||gf(n,at[e])&&!st.call(u,e)?t:n}function Ri(n,t,e,u,i,o){return zf(n)&&zf(t)&&(o.set(t,n),yu(n,t,r,Ri,o),o.delete(t)),n}function Ei(n){return Cf(n)?r:n}function zi(n,t,e,u,i,o){var f=e&p,a=n.length,c=t.length;if(a!=c&&!(f&&c>a))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,_=!0,g=e&v?new je:r;for(o.set(n,t),o.set(t,n);++h<a;){var y=n[h],d=t[h];if(u)var b=f?u(d,y,h,t,n,o):u(y,d,h,n,t,o);if(b!==r){if(b)continue;_=!1;break}if(g){if(!rr(t,function(n,t){if(!dr(g,t)&&(y===n||i(y,n,e,u,o)))return g.push(t)})){_=!1;break}}else if(y!==d&&!i(y,d,e,u,o)){_=!1;break}}return o.delete(n),o.delete(t),_}function Si(n){return oo(to(n,r,wo),n+"")}function Li(n){return Xe(n,fa,Fi)}function Wi(n){return Xe(n,aa,Ni)}var Ci=ie?function(n){return ie.get(n)}:Da;function Bi(n){for(var t=n.name+"",r=oe[t],e=st.call(oe,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function Ui(n){return(st.call(_e,"placeholder")?_e:n).placeholder}function Ti(){var n=_e.iteratee||Ca;return n=n===Ca?lu:n,arguments.length?n(arguments[0],arguments[1]):n}function Di(n,t){var r,e,u=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function $i(n){for(var t=fa(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,Xi(u)]}return t}function Mi(n,t){var e=function(n,t){return null==n?r:n[t]}(n,t);return cu(e)?e:r}var Fi=Nr?function(n){return null==n?[]:(n=rt(n),Ht(Nr(n),function(t){return Ut.call(n,t)}))}:Za,Ni=Nr?function(n){for(var t=[];n;)Xt(t,Fi(n)),n=Wt(n);return t}:Za,Pi=nu;function qi(n,t,r){for(var e=-1,u=(t=Gu(t,n)).length,i=!1;++e<u;){var o=so(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&Ef(u)&&Vi(o,u)&&(wf(n)||bf(n))}function Zi(n){return"function"!=typeof n.constructor||Qi(n)?{}:ge(Wt(n))}function Ki(n){return wf(n)||bf(n)||!!(er&&n&&n[er])}function Vi(n,t){var r=typeof n;return!!(t=null==t?L:t)&&("number"==r||"symbol"!=r&&Vn.test(n))&&n>-1&&n%1==0&&n<t}function Gi(n,t,r){if(!zf(r))return!1;var e=typeof t;return!!("number"==e?xf(r)&&Vi(t,r.length):"string"==e&&t in r)&&gf(r[t],n)}function Hi(n,t){if(wf(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!Df(n))||En.test(n)||!Rn.test(n)||null!=t&&n in rt(t)}function Ji(n){var t=Bi(n),r=_e[t];if("function"!=typeof r||!(t in be.prototype))return!1;if(n===r)return!0;var e=Ci(r);return!!e&&n===e[0]}(Xr&&Pi(new Xr(new ArrayBuffer(1)))!=an||ne&&Pi(new ne)!=G||te&&"[object Promise]"!=Pi(te.resolve())||re&&Pi(new re)!=nn||ee&&Pi(new ee)!=un)&&(Pi=function(n){var t=nu(n),e=t==Y?n.constructor:r,u=e?ho(e):"";if(u)switch(u){case fe:return an;case ae:return G;case ce:return"[object Promise]";case le:return nn;case se:return un}return t});var Yi=ct?If:Ka;function Qi(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||at)}function Xi(n){return n==n&&!zf(n)}function no(n,t){return function(e){return null!=e&&e[n]===t&&(t!==r||n in rt(e))}}function to(n,t,e){return t=Vr(t===r?n.length-1:t,0),function(){for(var r=arguments,u=-1,i=Vr(r.length-t,0),o=Yn(i);++u<i;)o[u]=r[t+u];u=-1;for(var f=Yn(t+1);++u<t;)f[u]=r[u];return f[t]=e(o),qt(n,this,f)}}function ro(n,t){return t.length<2?n:Qe(n,Lu(t,0,-1))}function eo(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var uo=ao(Eu),io=$r||function(n,t){return Lt.setTimeout(n,t)},oo=ao(zu);function fo(n,t,r){var e=t+"";return oo(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(Bn,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return Kt(D,function(r){var e="_."+r[0];t&r[1]&&!Jt(n,e)&&n.push(e)}),n.sort()}(function(n){var t=n.match(Un);return t?t[1].split(Tn):[]}(e),r)))}function ao(n){var t=0,e=0;return function(){var u=Hr(),i=R-(u-e);if(e=u,i>0){if(++t>=I)return arguments[0]}else t=0;return n.apply(r,arguments)}}function co(n,t){var e=-1,u=n.length,i=u-1;for(t=t===r?u:t;++e<t;){var o=ju(e,i),f=n[o];n[o]=n[e],n[e]=f}return n.length=t,n}var lo=function(n){var t=lf(n,function(n){return r.size===a&&r.clear(),n}),r=t.cache;return t}(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(zn,function(n,r,e,u){t.push(e?u.replace(Mn,"$1"):r||n)}),t});function so(n){if("string"==typeof n||Df(n))return n;var t=n+"";return"0"==t&&1/n==-S?"-0":t}function ho(n){if(null!=n){try{return lt.call(n)}catch(t){}try{return n+""}catch(t){}}return""}function po(n){if(n instanceof be)return n.clone();var t=new de(n.__wrapped__,n.__chain__);return t.__actions__=ui(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}var vo=ku(function(n,t){return jf(n)?Me(n,Ke(t,1,jf,!0)):[]}),_o=ku(function(n,t){var e=ko(t);return jf(e)&&(e=r),jf(n)?Me(n,Ke(t,1,jf,!0),Ti(e,2)):[]}),go=ku(function(n,t){var e=ko(t);return jf(e)&&(e=r),jf(n)?Me(n,Ke(t,1,jf,!0),r,e):[]});function yo(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:qf(r);return u<0&&(u=Vr(e+u,0)),ir(n,Ti(t,3),u)}function bo(n,t,e){var u=null==n?0:n.length;if(!u)return-1;var i=u-1;return e!==r&&(i=qf(e),i=e<0?Vr(u+i,0):Gr(i,u-1)),ir(n,Ti(t,3),i,!0)}function wo(n){return null!=n&&n.length?Ke(n,1):[]}function mo(n){return n&&n.length?n[0]:r}var xo=ku(function(n){var t=Qt(n,Ku);return t.length&&t[0]===n[0]?uu(t):[]}),jo=ku(function(n){var t=ko(n),e=Qt(n,Ku);return t===ko(e)?t=r:e.pop(),e.length&&e[0]===n[0]?uu(e,Ti(t,2)):[]}),Ao=ku(function(n){var t=ko(n),e=Qt(n,Ku);return(t="function"==typeof t?t:r)&&e.pop(),e.length&&e[0]===n[0]?uu(e,r,t):[]});function ko(n){var t=null==n?0:n.length;return t?n[t-1]:r}var Oo=ku(Io);function Io(n,t){return n&&n.length&&t&&t.length?mu(n,t):n}var Ro=Si(function(n,t){var r=null==n?0:n.length,e=Be(n,t);return xu(n,Qt(t,function(n){return Vi(n,r)?+n:n}).sort(ti)),e});function Eo(n){return null==n?n:Qr.call(n)}var zo=ku(function(n){return $u(Ke(n,1,jf,!0))}),So=ku(function(n){var t=ko(n);return jf(t)&&(t=r),$u(Ke(n,1,jf,!0),Ti(t,2))}),Lo=ku(function(n){var t=ko(n);return t="function"==typeof t?t:r,$u(Ke(n,1,jf,!0),r,t)});function Wo(n){if(!n||!n.length)return[];var t=0;return n=Ht(n,function(n){if(jf(n))return t=Vr(n.length,t),!0}),vr(t,function(t){return Qt(n,lr(t))})}function Co(n,t){if(!n||!n.length)return[];var e=Wo(n);return null==t?e:Qt(e,function(n){return qt(t,r,n)})}var Bo=ku(function(n,t){return jf(n)?Me(n,t):[]}),Uo=ku(function(n){return qu(Ht(n,jf))}),To=ku(function(n){var t=ko(n);return jf(t)&&(t=r),qu(Ht(n,jf),Ti(t,2))}),Do=ku(function(n){var t=ko(n);return t="function"==typeof t?t:r,qu(Ht(n,jf),r,t)}),$o=ku(Wo);var Mo=ku(function(n){var t=n.length,e=t>1?n[t-1]:r;return e="function"==typeof e?(n.pop(),e):r,Co(n,e)});function Fo(n){var t=_e(n);return t.__chain__=!0,t}function No(n,t){return t(n)}var Po=Si(function(n){var t=n.length,e=t?n[0]:0,u=this.__wrapped__,i=function(t){return Be(t,n)};return!(t>1||this.__actions__.length)&&u instanceof be&&Vi(e)?((u=u.slice(e,+e+(t?1:0))).__actions__.push({func:No,args:[i],thisArg:r}),new de(u,this.__chain__).thru(function(n){return t&&!n.length&&n.push(r),n})):this.thru(i)});var qo=oi(function(n,t,r){st.call(n,r)?++n[r]:Ce(n,r,1)});var Zo=pi(yo),Ko=pi(bo);function Vo(n,t){return(wf(n)?Kt:Fe)(n,Ti(t,3))}function Go(n,t){return(wf(n)?Vt:Ne)(n,Ti(t,3))}var Ho=oi(function(n,t,r){st.call(n,r)?n[r].push(t):Ce(n,r,[t])});var Jo=ku(function(n,t,r){var e=-1,u="function"==typeof t,i=xf(n)?Yn(n.length):[];return Fe(n,function(n){i[++e]=u?qt(t,n,r):iu(n,t,r)}),i}),Yo=oi(function(n,t,r){Ce(n,r,t)});function Qo(n,t){return(wf(n)?Qt:vu)(n,Ti(t,3))}var Xo=oi(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var nf=ku(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Gi(n,t[0],t[1])?t=[]:r>2&&Gi(t[0],t[1],t[2])&&(t=[t[0]]),bu(n,Ke(t,1),[])}),tf=Dr||function(){return Lt.Date.now()};function rf(n,t,e){return t=e?r:t,t=n&&null==t?n.length:t,Oi(n,x,r,r,r,r,t)}function ef(n,t){var e;if("function"!=typeof t)throw new it(i);return n=qf(n),function(){return--n>0&&(e=t.apply(this,arguments)),n<=1&&(t=r),e}}var uf=ku(function(n,t,r){var e=_;if(r.length){var u=Ir(r,Ui(uf));e|=w}return Oi(n,e,t,r,u)}),of=ku(function(n,t,r){var e=_|g;if(r.length){var u=Ir(r,Ui(of));e|=w}return Oi(t,e,n,r,u)});function ff(n,t,e){var u,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new it(i);function _(t){var e=u,i=o;return u=o=r,s=t,a=n.apply(i,e)}function g(n){var e=n-l;return l===r||e>=t||e<0||p&&n-s>=f}function y(){var n=tf();if(g(n))return d(n);c=io(y,function(n){var r=t-(n-l);return p?Gr(r,f-(n-s)):r}(n))}function d(n){return c=r,v&&u?_(n):(u=o=r,a)}function b(){var n=tf(),e=g(n);if(u=arguments,o=this,l=n,e){if(c===r)return function(n){return s=n,c=io(y,t),h?_(n):a}(l);if(p)return Yu(c),c=io(y,t),_(l)}return c===r&&(c=io(y,t)),a}return t=Kf(t)||0,zf(e)&&(h=!!e.leading,f=(p="maxWait"in e)?Vr(Kf(e.maxWait)||0,t):f,v="trailing"in e?!!e.trailing:v),b.cancel=function(){c!==r&&Yu(c),s=0,u=l=o=c=r},b.flush=function(){return c===r?a:d(tf())},b}var af=ku(function(n,t){return $e(n,1,t)}),cf=ku(function(n,t,r){return $e(n,Kf(t)||0,r)});function lf(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new it(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(lf.Cache||xe),r}function sf(n){if("function"!=typeof n)throw new it(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}lf.Cache=xe;var hf=Hu(function(n,t){var r=(t=1==t.length&&wf(t[0])?Qt(t[0],gr(Ti())):Qt(Ke(t,1),gr(Ti()))).length;return ku(function(e){for(var u=-1,i=Gr(e.length,r);++u<i;)e[u]=t[u].call(this,e[u]);return qt(n,this,e)})}),pf=ku(function(n,t){var e=Ir(t,Ui(pf));return Oi(n,w,r,t,e)}),vf=ku(function(n,t){var e=Ir(t,Ui(vf));return Oi(n,m,r,t,e)}),_f=Si(function(n,t){return Oi(n,j,r,r,r,t)});function gf(n,t){return n===t||n!=n&&t!=t}var yf=mi(tu),df=mi(function(n,t){return n>=t}),bf=ou(function(){return arguments}())?ou:function(n){return Sf(n)&&st.call(n,"callee")&&!Ut.call(n,"callee")},wf=Yn.isArray,mf=Dt?gr(Dt):function(n){return Sf(n)&&nu(n)==fn};function xf(n){return null!=n&&Ef(n.length)&&!If(n)}function jf(n){return Sf(n)&&xf(n)}var Af=Pr||Ka,kf=$t?gr($t):function(n){return Sf(n)&&nu(n)==P};function Of(n){if(!Sf(n))return!1;var t=nu(n);return t==Z||t==q||"string"==typeof n.message&&"string"==typeof n.name&&!Cf(n)}function If(n){if(!zf(n))return!1;var t=nu(n);return t==K||t==V||t==F||t==Q}function Rf(n){return"number"==typeof n&&n==qf(n)}function Ef(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=L}function zf(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function Sf(n){return null!=n&&"object"==typeof n}var Lf=Mt?gr(Mt):function(n){return Sf(n)&&Pi(n)==G};function Wf(n){return"number"==typeof n||Sf(n)&&nu(n)==H}function Cf(n){if(!Sf(n)||nu(n)!=Y)return!1;var t=Wt(n);if(null===t)return!0;var r=st.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&<.call(r)==_t}var Bf=Ft?gr(Ft):function(n){return Sf(n)&&nu(n)==X};var Uf=Nt?gr(Nt):function(n){return Sf(n)&&Pi(n)==nn};function Tf(n){return"string"==typeof n||!wf(n)&&Sf(n)&&nu(n)==tn}function Df(n){return"symbol"==typeof n||Sf(n)&&nu(n)==rn}var $f=Pt?gr(Pt):function(n){return Sf(n)&&Ef(n.length)&&!!kt[nu(n)]};var Mf=mi(pu),Ff=mi(function(n,t){return n<=t});function Nf(n){if(!n)return[];if(xf(n))return Tf(n)?Sr(n):ui(n);if(sr&&n[sr])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[sr]());var t=Pi(n);return(t==G?kr:t==nn?Rr:ga)(n)}function Pf(n){return n?(n=Kf(n))===S||n===-S?(n<0?-1:1)*W:n==n?n:0:0===n?n:0}function qf(n){var t=Pf(n),r=t%1;return t==t?r?t-r:t:0}function Zf(n){return n?Ue(qf(n),0,B):0}function Kf(n){if("number"==typeof n)return n;if(Df(n))return C;if(zf(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=zf(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=_r(n);var r=qn.test(n);return r||Kn.test(n)?Et(n.slice(2),r?2:8):Pn.test(n)?C:+n}function Vf(n){return ii(n,aa(n))}function Gf(n){return null==n?"":Du(n)}var Hf=fi(function(n,t){if(Qi(t)||xf(t))ii(t,fa(t),n);else for(var r in t)st.call(t,r)&&ze(n,r,t[r])}),Jf=fi(function(n,t){ii(t,aa(t),n)}),Yf=fi(function(n,t,r,e){ii(t,aa(t),n,e)}),Qf=fi(function(n,t,r,e){ii(t,fa(t),n,e)}),Xf=Si(Be);var na=ku(function(n,t){n=rt(n);var e=-1,u=t.length,i=u>2?t[2]:r;for(i&&Gi(t[0],t[1],i)&&(u=1);++e<u;)for(var o=t[e],f=aa(o),a=-1,c=f.length;++a<c;){var l=f[a],s=n[l];(s===r||gf(s,at[l])&&!st.call(n,l))&&(n[l]=o[l])}return n}),ta=ku(function(n){return n.push(r,Ri),qt(la,r,n)});function ra(n,t,e){var u=null==n?r:Qe(n,t);return u===r?e:u}function ea(n,t){return null!=n&&qi(n,t,eu)}var ua=gi(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=vt.call(t)),n[t]=r},za(Wa)),ia=gi(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=vt.call(t)),st.call(n,t)?n[t].push(r):n[t]=[r]},Ti),oa=ku(iu);function fa(n){return xf(n)?ke(n):su(n)}function aa(n){return xf(n)?ke(n,!0):hu(n)}var ca=fi(function(n,t,r){yu(n,t,r)}),la=fi(function(n,t,r,e){yu(n,t,r,e)}),sa=Si(function(n,t){var r={};if(null==n)return r;var e=!1;t=Qt(t,function(t){return t=Gu(t,n),e||(e=t.length>1),t}),ii(n,Wi(n),r),e&&(r=Te(r,l|s|h,Ei));for(var u=t.length;u--;)Mu(r,t[u]);return r});var ha=Si(function(n,t){return null==n?{}:function(n,t){return wu(n,t,function(t,r){return ea(n,r)})}(n,t)});function pa(n,t){if(null==n)return{};var r=Qt(Wi(n),function(n){return[n]});return t=Ti(t),wu(n,r,function(n,r){return t(n,r[0])})}var va=ki(fa),_a=ki(aa);function ga(n){return null==n?[]:yr(n,fa(n))}var ya=si(function(n,t,r){return t=t.toLowerCase(),n+(r?da(t):t)});function da(n){return Oa(Gf(n).toLowerCase())}function ba(n){return(n=Gf(n))&&n.replace(Gn,mr).replace(dt,"")}var wa=si(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),ma=si(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),xa=li("toLowerCase");var ja=si(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()});var Aa=si(function(n,t,r){return n+(r?" ":"")+Oa(t)});var ka=si(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Oa=li("toUpperCase");function Ia(n,t,e){return n=Gf(n),(t=e?r:t)===r?function(n){return xt.test(n)}(n)?function(n){return n.match(wt)||[]}(n):function(n){return n.match(Dn)||[]}(n):n.match(t)||[]}var Ra=ku(function(n,t){try{return qt(n,r,t)}catch(e){return Of(e)?e:new Xn(e)}}),Ea=Si(function(n,t){return Kt(t,function(t){t=so(t),Ce(n,t,uf(n[t],n))}),n});function za(n){return function(){return n}}var Sa=vi(),La=vi(!0);function Wa(n){return n}function Ca(n){return lu("function"==typeof n?n:Te(n,l))}var Ba=ku(function(n,t){return function(r){return iu(r,n,t)}}),Ua=ku(function(n,t){return function(r){return iu(n,r,t)}});function Ta(n,t,r){var e=fa(t),u=Ye(t,e);null!=r||zf(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=Ye(t,fa(t)));var i=!(zf(r)&&"chain"in r&&!r.chain),o=If(n);return Kt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=ui(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Xt([this.value()],arguments))})}),n}function Da(){}var $a=di(Qt),Ma=di(Gt),Fa=di(rr);function Na(n){return Hi(n)?lr(so(n)):function(n){return function(t){return Qe(t,n)}}(n)}var Pa=wi(),qa=wi(!0);function Za(){return[]}function Ka(){return!1}var Va=yi(function(n,t){return n+t},0),Ga=ji("ceil"),Ha=yi(function(n,t){return n/t},1),Ja=ji("floor");var Ya,Qa=yi(function(n,t){return n*t},1),Xa=ji("round"),nc=yi(function(n,t){return n-t},0);return _e.after=function(n,t){if("function"!=typeof t)throw new it(i);return n=qf(n),function(){if(--n<1)return t.apply(this,arguments)}},_e.ary=rf,_e.assign=Hf,_e.assignIn=Jf,_e.assignInWith=Yf,_e.assignWith=Qf,_e.at=Xf,_e.before=ef,_e.bind=uf,_e.bindAll=Ea,_e.bindKey=of,_e.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return wf(n)?n:[n]},_e.chain=Fo,_e.chunk=function(n,t,e){t=(e?Gi(n,t,e):t===r)?1:Vr(qf(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var i=0,o=0,f=Yn(Mr(u/t));i<u;)f[o++]=Lu(n,i,i+=t);return f},_e.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},_e.concat=function(){var n=arguments.length;if(!n)return[];for(var t=Yn(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return Xt(wf(r)?ui(r):[r],Ke(t,1))},_e.cond=function(n){var t=null==n?0:n.length,r=Ti();return n=t?Qt(n,function(n){if("function"!=typeof n[1])throw new it(i);return[r(n[0]),n[1]]}):[],ku(function(r){for(var e=-1;++e<t;){var u=n[e];if(qt(u[0],this,r))return qt(u[1],this,r)}})},_e.conforms=function(n){return function(n){var t=fa(n);return function(r){return De(r,n,t)}}(Te(n,l))},_e.constant=za,_e.countBy=qo,_e.create=function(n,t){var r=ge(n);return null==t?r:We(r,t)},_e.curry=function n(t,e,u){var i=Oi(t,d,r,r,r,r,r,e=u?r:e);return i.placeholder=n.placeholder,i},_e.curryRight=function n(t,e,u){var i=Oi(t,b,r,r,r,r,r,e=u?r:e);return i.placeholder=n.placeholder,i},_e.debounce=ff,_e.defaults=na,_e.defaultsDeep=ta,_e.defer=af,_e.delay=cf,_e.difference=vo,_e.differenceBy=_o,_e.differenceWith=go,_e.drop=function(n,t,e){var u=null==n?0:n.length;return u?Lu(n,(t=e||t===r?1:qf(t))<0?0:t,u):[]},_e.dropRight=function(n,t,e){var u=null==n?0:n.length;return u?Lu(n,0,(t=u-(t=e||t===r?1:qf(t)))<0?0:t):[]},_e.dropRightWhile=function(n,t){return n&&n.length?Nu(n,Ti(t,3),!0,!0):[]},_e.dropWhile=function(n,t){return n&&n.length?Nu(n,Ti(t,3),!0):[]},_e.fill=function(n,t,e,u){var i=null==n?0:n.length;return i?(e&&"number"!=typeof e&&Gi(n,t,e)&&(e=0,u=i),function(n,t,e,u){var i=n.length;for((e=qf(e))<0&&(e=-e>i?0:i+e),(u=u===r||u>i?i:qf(u))<0&&(u+=i),u=e>u?0:Zf(u);e<u;)n[e++]=t;return n}(n,t,e,u)):[]},_e.filter=function(n,t){return(wf(n)?Ht:Ze)(n,Ti(t,3))},_e.flatMap=function(n,t){return Ke(Qo(n,t),1)},_e.flatMapDeep=function(n,t){return Ke(Qo(n,t),S)},_e.flatMapDepth=function(n,t,e){return e=e===r?1:qf(e),Ke(Qo(n,t),e)},_e.flatten=wo,_e.flattenDeep=function(n){return null!=n&&n.length?Ke(n,S):[]},_e.flattenDepth=function(n,t){return null!=n&&n.length?Ke(n,t=t===r?1:qf(t)):[]},_e.flip=function(n){return Oi(n,A)},_e.flow=Sa,_e.flowRight=La,_e.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e},_e.functions=function(n){return null==n?[]:Ye(n,fa(n))},_e.functionsIn=function(n){return null==n?[]:Ye(n,aa(n))},_e.groupBy=Ho,_e.initial=function(n){return null!=n&&n.length?Lu(n,0,-1):[]},_e.intersection=xo,_e.intersectionBy=jo,_e.intersectionWith=Ao,_e.invert=ua,_e.invertBy=ia,_e.invokeMap=Jo,_e.iteratee=Ca,_e.keyBy=Yo,_e.keys=fa,_e.keysIn=aa,_e.map=Qo,_e.mapKeys=function(n,t){var r={};return t=Ti(t,3),He(n,function(n,e,u){Ce(r,t(n,e,u),n)}),r},_e.mapValues=function(n,t){var r={};return t=Ti(t,3),He(n,function(n,e,u){Ce(r,e,t(n,e,u))}),r},_e.matches=function(n){return _u(Te(n,l))},_e.matchesProperty=function(n,t){return gu(n,Te(t,l))},_e.memoize=lf,_e.merge=ca,_e.mergeWith=la,_e.method=Ba,_e.methodOf=Ua,_e.mixin=Ta,_e.negate=sf,_e.nthArg=function(n){return n=qf(n),ku(function(t){return du(t,n)})},_e.omit=sa,_e.omitBy=function(n,t){return pa(n,sf(Ti(t)))},_e.once=function(n){return ef(2,n)},_e.orderBy=function(n,t,e,u){return null==n?[]:(wf(t)||(t=null==t?[]:[t]),wf(e=u?r:e)||(e=null==e?[]:[e]),bu(n,t,e))},_e.over=$a,_e.overArgs=hf,_e.overEvery=Ma,_e.overSome=Fa,_e.partial=pf,_e.partialRight=vf,_e.partition=Xo,_e.pick=ha,_e.pickBy=pa,_e.property=Na,_e.propertyOf=function(n){return function(t){return null==n?r:Qe(n,t)}},_e.pull=Oo,_e.pullAll=Io,_e.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?mu(n,t,Ti(r,2)):n},_e.pullAllWith=function(n,t,e){return n&&n.length&&t&&t.length?mu(n,t,r,e):n},_e.pullAt=Ro,_e.range=Pa,_e.rangeRight=qa,_e.rearg=_f,_e.reject=function(n,t){return(wf(n)?Ht:Ze)(n,sf(Ti(t,3)))},_e.remove=function(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=Ti(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return xu(n,u),r},_e.rest=function(n,t){if("function"!=typeof n)throw new it(i);return ku(n,t=t===r?t:qf(t))},_e.reverse=Eo,_e.sampleSize=function(n,t,e){return t=(e?Gi(n,t,e):t===r)?1:qf(t),(wf(n)?Ie:Iu)(n,t)},_e.set=function(n,t,r){return null==n?n:Ru(n,t,r)},_e.setWith=function(n,t,e,u){return u="function"==typeof u?u:r,null==n?n:Ru(n,t,e,u)},_e.shuffle=function(n){return(wf(n)?Re:Su)(n)},_e.slice=function(n,t,e){var u=null==n?0:n.length;return u?(e&&"number"!=typeof e&&Gi(n,t,e)?(t=0,e=u):(t=null==t?0:qf(t),e=e===r?u:qf(e)),Lu(n,t,e)):[]},_e.sortBy=nf,_e.sortedUniq=function(n){return n&&n.length?Uu(n):[]},_e.sortedUniqBy=function(n,t){return n&&n.length?Uu(n,Ti(t,2)):[]},_e.split=function(n,t,e){return e&&"number"!=typeof e&&Gi(n,t,e)&&(t=e=r),(e=e===r?B:e>>>0)?(n=Gf(n))&&("string"==typeof t||null!=t&&!Bf(t))&&!(t=Du(t))&&Ar(n)?Ju(Sr(n),0,e):n.split(t,e):[]},_e.spread=function(n,t){if("function"!=typeof n)throw new it(i);return t=null==t?0:Vr(qf(t),0),ku(function(r){var e=r[t],u=Ju(r,0,t);return e&&Xt(u,e),qt(n,this,u)})},_e.tail=function(n){var t=null==n?0:n.length;return t?Lu(n,1,t):[]},_e.take=function(n,t,e){return n&&n.length?Lu(n,0,(t=e||t===r?1:qf(t))<0?0:t):[]},_e.takeRight=function(n,t,e){var u=null==n?0:n.length;return u?Lu(n,(t=u-(t=e||t===r?1:qf(t)))<0?0:t,u):[]},_e.takeRightWhile=function(n,t){return n&&n.length?Nu(n,Ti(t,3),!1,!0):[]},_e.takeWhile=function(n,t){return n&&n.length?Nu(n,Ti(t,3)):[]},_e.tap=function(n,t){return t(n),n},_e.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new it(i);return zf(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),ff(n,t,{leading:e,maxWait:t,trailing:u})},_e.thru=No,_e.toArray=Nf,_e.toPairs=va,_e.toPairsIn=_a,_e.toPath=function(n){return wf(n)?Qt(n,so):Df(n)?[n]:ui(lo(Gf(n)))},_e.toPlainObject=Vf,_e.transform=function(n,t,r){var e=wf(n),u=e||Af(n)||$f(n);if(t=Ti(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:zf(n)&&If(i)?ge(Wt(n)):{}}return(u?Kt:He)(n,function(n,e,u){return t(r,n,e,u)}),r},_e.unary=function(n){return rf(n,1)},_e.union=zo,_e.unionBy=So,_e.unionWith=Lo,_e.uniq=function(n){return n&&n.length?$u(n):[]},_e.uniqBy=function(n,t){return n&&n.length?$u(n,Ti(t,2)):[]},_e.uniqWith=function(n,t){return t="function"==typeof t?t:r,n&&n.length?$u(n,r,t):[]},_e.unset=function(n,t){return null==n||Mu(n,t)},_e.unzip=Wo,_e.unzipWith=Co,_e.update=function(n,t,r){return null==n?n:Fu(n,t,Vu(r))},_e.updateWith=function(n,t,e,u){return u="function"==typeof u?u:r,null==n?n:Fu(n,t,Vu(e),u)},_e.values=ga,_e.valuesIn=function(n){return null==n?[]:yr(n,aa(n))},_e.without=Bo,_e.words=Ia,_e.wrap=function(n,t){return pf(Vu(t),n)},_e.xor=Uo,_e.xorBy=To,_e.xorWith=Do,_e.zip=$o,_e.zipObject=function(n,t){return Zu(n||[],t||[],ze)},_e.zipObjectDeep=function(n,t){return Zu(n||[],t||[],Ru)},_e.zipWith=Mo,_e.entries=va,_e.entriesIn=_a,_e.extend=Jf,_e.extendWith=Yf,Ta(_e,_e),_e.add=Va,_e.attempt=Ra,_e.camelCase=ya,_e.capitalize=da,_e.ceil=Ga,_e.clamp=function(n,t,e){return e===r&&(e=t,t=r),e!==r&&(e=(e=Kf(e))==e?e:0),t!==r&&(t=(t=Kf(t))==t?t:0),Ue(Kf(n),t,e)},_e.clone=function(n){return Te(n,h)},_e.cloneDeep=function(n){return Te(n,l|h)},_e.cloneDeepWith=function(n,t){return Te(n,l|h,t="function"==typeof t?t:r)},_e.cloneWith=function(n,t){return Te(n,h,t="function"==typeof t?t:r)},_e.conformsTo=function(n,t){return null==t||De(n,t,fa(t))},_e.deburr=ba,_e.defaultTo=function(n,t){return null==n||n!=n?t:n},_e.divide=Ha,_e.endsWith=function(n,t,e){n=Gf(n),t=Du(t);var u=n.length,i=e=e===r?u:Ue(qf(e),0,u);return(e-=t.length)>=0&&n.slice(e,i)==t},_e.eq=gf,_e.escape=function(n){return(n=Gf(n))&&An.test(n)?n.replace(xn,xr):n},_e.escapeRegExp=function(n){return(n=Gf(n))&&Ln.test(n)?n.replace(Sn,"\\$&"):n},_e.every=function(n,t,e){var u=wf(n)?Gt:Pe;return e&&Gi(n,t,e)&&(t=r),u(n,Ti(t,3))},_e.find=Zo,_e.findIndex=yo,_e.findKey=function(n,t){return ur(n,Ti(t,3),He)},_e.findLast=Ko,_e.findLastIndex=bo,_e.findLastKey=function(n,t){return ur(n,Ti(t,3),Je)},_e.floor=Ja,_e.forEach=Vo,_e.forEachRight=Go,_e.forIn=function(n,t){return null==n?n:Ve(n,Ti(t,3),aa)},_e.forInRight=function(n,t){return null==n?n:Ge(n,Ti(t,3),aa)},_e.forOwn=function(n,t){return n&&He(n,Ti(t,3))},_e.forOwnRight=function(n,t){return n&&Je(n,Ti(t,3))},_e.get=ra,_e.gt=yf,_e.gte=df,_e.has=function(n,t){return null!=n&&qi(n,t,ru)},_e.hasIn=ea,_e.head=mo,_e.identity=Wa,_e.includes=function(n,t,r,e){n=xf(n)?n:ga(n),r=r&&!e?qf(r):0;var u=n.length;return r<0&&(r=Vr(u+r,0)),Tf(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&or(n,t,r)>-1},_e.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:qf(r);return u<0&&(u=Vr(e+u,0)),or(n,t,u)},_e.inRange=function(n,t,e){return t=Pf(t),e===r?(e=t,t=0):e=Pf(e),function(n,t,r){return n>=Gr(t,r)&&n<Vr(t,r)}(n=Kf(n),t,e)},_e.invoke=oa,_e.isArguments=bf,_e.isArray=wf,_e.isArrayBuffer=mf,_e.isArrayLike=xf,_e.isArrayLikeObject=jf,_e.isBoolean=function(n){return!0===n||!1===n||Sf(n)&&nu(n)==N},_e.isBuffer=Af,_e.isDate=kf,_e.isElement=function(n){return Sf(n)&&1===n.nodeType&&!Cf(n)},_e.isEmpty=function(n){if(null==n)return!0;if(xf(n)&&(wf(n)||"string"==typeof n||"function"==typeof n.splice||Af(n)||$f(n)||bf(n)))return!n.length;var t=Pi(n);if(t==G||t==nn)return!n.size;if(Qi(n))return!su(n).length;for(var r in n)if(st.call(n,r))return!1;return!0},_e.isEqual=function(n,t){return fu(n,t)},_e.isEqualWith=function(n,t,e){var u=(e="function"==typeof e?e:r)?e(n,t):r;return u===r?fu(n,t,r,e):!!u},_e.isError=Of,_e.isFinite=function(n){return"number"==typeof n&&qr(n)},_e.isFunction=If,_e.isInteger=Rf,_e.isLength=Ef,_e.isMap=Lf,_e.isMatch=function(n,t){return n===t||au(n,t,$i(t))},_e.isMatchWith=function(n,t,e){return e="function"==typeof e?e:r,au(n,t,$i(t),e)},_e.isNaN=function(n){return Wf(n)&&n!=+n},_e.isNative=function(n){if(Yi(n))throw new Xn(u);return cu(n)},_e.isNil=function(n){return null==n},_e.isNull=function(n){return null===n},_e.isNumber=Wf,_e.isObject=zf,_e.isObjectLike=Sf,_e.isPlainObject=Cf,_e.isRegExp=Bf,_e.isSafeInteger=function(n){return Rf(n)&&n>=-L&&n<=L},_e.isSet=Uf,_e.isString=Tf,_e.isSymbol=Df,_e.isTypedArray=$f,_e.isUndefined=function(n){return n===r},_e.isWeakMap=function(n){return Sf(n)&&Pi(n)==un},_e.isWeakSet=function(n){return Sf(n)&&nu(n)==on},_e.join=function(n,t){return null==n?"":Zr.call(n,t)},_e.kebabCase=wa,_e.last=ko,_e.lastIndexOf=function(n,t,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==r&&(i=(i=qf(e))<0?Vr(u+i,0):Gr(i,u-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):ir(n,ar,i,!0)},_e.lowerCase=ma,_e.lowerFirst=xa,_e.lt=Mf,_e.lte=Ff,_e.max=function(n){return n&&n.length?qe(n,Wa,tu):r},_e.maxBy=function(n,t){return n&&n.length?qe(n,Ti(t,2),tu):r},_e.mean=function(n){return cr(n,Wa)},_e.meanBy=function(n,t){return cr(n,Ti(t,2))},_e.min=function(n){return n&&n.length?qe(n,Wa,pu):r},_e.minBy=function(n,t){return n&&n.length?qe(n,Ti(t,2),pu):r},_e.stubArray=Za,_e.stubFalse=Ka,_e.stubObject=function(){return{}},_e.stubString=function(){return""},_e.stubTrue=function(){return!0},_e.multiply=Qa,_e.nth=function(n,t){return n&&n.length?du(n,qf(t)):r},_e.noConflict=function(){return Lt._===this&&(Lt._=gt),this},_e.noop=Da,_e.now=tf,_e.pad=function(n,t,r){n=Gf(n);var e=(t=qf(t))?zr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return bi(Fr(u),r)+n+bi(Mr(u),r)},_e.padEnd=function(n,t,r){n=Gf(n);var e=(t=qf(t))?zr(n):0;return t&&e<t?n+bi(t-e,r):n},_e.padStart=function(n,t,r){n=Gf(n);var e=(t=qf(t))?zr(n):0;return t&&e<t?bi(t-e,r)+n:n},_e.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t=+t),Jr(Gf(n).replace(Wn,""),t||0)},_e.random=function(n,t,e){if(e&&"boolean"!=typeof e&&Gi(n,t,e)&&(t=e=r),e===r&&("boolean"==typeof t?(e=t,t=r):"boolean"==typeof n&&(e=n,n=r)),n===r&&t===r?(n=0,t=1):(n=Pf(n),t===r?(t=n,n=0):t=Pf(t)),n>t){var u=n;n=t,t=u}if(e||n%1||t%1){var i=Yr();return Gr(n+i*(t-n+Rt("1e-"+((i+"").length-1))),t)}return ju(n,t)},_e.reduce=function(n,t,r){var e=wf(n)?nr:hr,u=arguments.length<3;return e(n,Ti(t,4),r,u,Fe)},_e.reduceRight=function(n,t,r){var e=wf(n)?tr:hr,u=arguments.length<3;return e(n,Ti(t,4),r,u,Ne)},_e.repeat=function(n,t,e){return t=(e?Gi(n,t,e):t===r)?1:qf(t),Au(Gf(n),t)},_e.replace=function(){var n=arguments,t=Gf(n[0]);return n.length<3?t:t.replace(n[1],n[2])},_e.result=function(n,t,e){var u=-1,i=(t=Gu(t,n)).length;for(i||(i=1,n=r);++u<i;){var o=null==n?r:n[so(t[u])];o===r&&(u=i,o=e),n=If(o)?o.call(n):o}return n},_e.round=Xa,_e.runInContext=n,_e.sample=function(n){return(wf(n)?Oe:Ou)(n)},_e.size=function(n){if(null==n)return 0;if(xf(n))return Tf(n)?zr(n):n.length;var t=Pi(n);return t==G||t==nn?n.size:su(n).length},_e.snakeCase=ja,_e.some=function(n,t,e){var u=wf(n)?rr:Wu;return e&&Gi(n,t,e)&&(t=r),u(n,Ti(t,3))},_e.sortedIndex=function(n,t){return Cu(n,t)},_e.sortedIndexBy=function(n,t,r){return Bu(n,t,Ti(r,2))},_e.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=Cu(n,t);if(e<r&&gf(n[e],t))return e}return-1},_e.sortedLastIndex=function(n,t){return Cu(n,t,!0)},_e.sortedLastIndexBy=function(n,t,r){return Bu(n,t,Ti(r,2),!0)},_e.sortedLastIndexOf=function(n,t){if(null!=n&&n.length){var r=Cu(n,t,!0)-1;if(gf(n[r],t))return r}return-1},_e.startCase=Aa,_e.startsWith=function(n,t,r){return n=Gf(n),r=null==r?0:Ue(qf(r),0,n.length),t=Du(t),n.slice(r,r+t.length)==t},_e.subtract=nc,_e.sum=function(n){return n&&n.length?pr(n,Wa):0},_e.sumBy=function(n,t){return n&&n.length?pr(n,Ti(t,2)):0},_e.template=function(n,t,e){var u=_e.templateSettings;e&&Gi(n,t,e)&&(t=r),n=Gf(n),t=Yf({},t,u,Ii);var i,f,a=Yf({},t.imports,u.imports,Ii),c=fa(a),l=yr(a,c),s=0,h=t.interpolate||Hn,p="__p += '",v=et((t.escape||Hn).source+"|"+h.source+"|"+(h===In?Fn:Hn).source+"|"+(t.evaluate||Hn).source+"|$","g"),_="//# sourceURL="+(st.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++At+"]")+"\n";n.replace(v,function(t,r,e,u,o,a){return e||(e=u),p+=n.slice(s,a).replace(Jn,jr),r&&(i=!0,p+="' +\n__e("+r+") +\n'"),o&&(f=!0,p+="';\n"+o+";\n__p += '"),e&&(p+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),s=a+t.length,t}),p+="';\n";var g=st.call(t,"variable")&&t.variable;if(g){if($n.test(g))throw new Xn(o)}else p="with (obj) {\n"+p+"\n}\n";p=(f?p.replace(dn,""):p).replace(bn,"$1").replace(wn,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Ra(function(){return nt(c,_+"return "+p).apply(r,l)});if(y.source=p,Of(y))throw y;return y},_e.times=function(n,t){if((n=qf(n))<1||n>L)return[];var r=B,e=Gr(n,B);t=Ti(t),n-=B;for(var u=vr(e,t);++r<n;)t(r);return u},_e.toFinite=Pf,_e.toInteger=qf,_e.toLength=Zf,_e.toLower=function(n){return Gf(n).toLowerCase()},_e.toNumber=Kf,_e.toSafeInteger=function(n){return n?Ue(qf(n),-L,L):0===n?n:0},_e.toString=Gf,_e.toUpper=function(n){return Gf(n).toUpperCase()},_e.trim=function(n,t,e){if((n=Gf(n))&&(e||t===r))return _r(n);if(!n||!(t=Du(t)))return n;var u=Sr(n),i=Sr(t);return Ju(u,br(u,i),wr(u,i)+1).join("")},_e.trimEnd=function(n,t,e){if((n=Gf(n))&&(e||t===r))return n.slice(0,Lr(n)+1);if(!n||!(t=Du(t)))return n;var u=Sr(n);return Ju(u,0,wr(u,Sr(t))+1).join("")},_e.trimStart=function(n,t,e){if((n=Gf(n))&&(e||t===r))return n.replace(Wn,"");if(!n||!(t=Du(t)))return n;var u=Sr(n);return Ju(u,br(u,Sr(t))).join("")},_e.truncate=function(n,t){var e=k,u=O;if(zf(t)){var i="separator"in t?t.separator:i;e="length"in t?qf(t.length):e,u="omission"in t?Du(t.omission):u}var o=(n=Gf(n)).length;if(Ar(n)){var f=Sr(n);o=f.length}if(e>=o)return n;var a=e-zr(u);if(a<1)return u;var c=f?Ju(f,0,a).join(""):n.slice(0,a);if(i===r)return c+u;if(f&&(a+=c.length-a),Bf(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=et(i.source,Gf(Nn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===r?a:h)}}else if(n.indexOf(Du(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},_e.unescape=function(n){return(n=Gf(n))&&jn.test(n)?n.replace(mn,Wr):n},_e.uniqueId=function(n){var t=++ht;return Gf(n)+t},_e.upperCase=ka,_e.upperFirst=Oa,_e.each=Vo,_e.eachRight=Go,_e.first=mo,Ta(_e,(Ya={},He(_e,function(n,t){st.call(_e.prototype,t)||(Ya[t]=n)}),Ya),{chain:!1}),_e.VERSION="4.17.21",Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){_e[n].placeholder=_e}),Kt(["drop","take"],function(n,t){be.prototype[n]=function(e){e=e===r?1:Vr(qf(e),0);var u=this.__filtered__&&!t?new be(this):this.clone();return u.__filtered__?u.__takeCount__=Gr(e,u.__takeCount__):u.__views__.push({size:Gr(e,B),type:n+(u.__dir__<0?"Right":"")}),u},be.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),Kt(["filter","map","takeWhile"],function(n,t){var r=t+1,e=r==E||3==r;be.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Ti(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Kt(["head","last"],function(n,t){var r="take"+(t?"Right":"");be.prototype[n]=function(){return this[r](1).value()[0]}}),Kt(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");be.prototype[n]=function(){return this.__filtered__?new be(this):this[r](1)}}),be.prototype.compact=function(){return this.filter(Wa)},be.prototype.find=function(n){return this.filter(n).head()},be.prototype.findLast=function(n){return this.reverse().find(n)},be.prototype.invokeMap=ku(function(n,t){return"function"==typeof n?new be(this):this.map(function(r){return iu(r,n,t)})}),be.prototype.reject=function(n){return this.filter(sf(Ti(n)))},be.prototype.slice=function(n,t){n=qf(n);var e=this;return e.__filtered__&&(n>0||t<0)?new be(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),t!==r&&(e=(t=qf(t))<0?e.dropRight(-t):e.take(t-n)),e)},be.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},be.prototype.toArray=function(){return this.take(B)},He(be.prototype,function(n,t){var e=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=_e[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&(_e.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,a=t instanceof be,c=f[0],l=a||wf(t),s=function(n){var t=i.apply(_e,Xt([n],f));return u&&h?t[0]:t};l&&e&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new be(this);var g=n.apply(t,f);return g.__actions__.push({func:No,args:[s],thisArg:r}),new de(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),Kt(["pop","push","shift","sort","splice","unshift"],function(n){var t=ot[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);_e.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(wf(u)?u:[],n)}return this[r](function(r){return t.apply(wf(r)?r:[],n)})}}),He(be.prototype,function(n,t){var r=_e[t];if(r){var e=r.name+"";st.call(oe,e)||(oe[e]=[]),oe[e].push({name:t,func:r})}}),oe[_i(r,g).name]=[{name:"wrapper",func:r}],be.prototype.clone=function(){var n=new be(this.__wrapped__);return n.__actions__=ui(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=ui(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=ui(this.__views__),n},be.prototype.reverse=function(){if(this.__filtered__){var n=new be(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},be.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=wf(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=Gr(t,n+o);break;case"takeRight":n=Vr(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Gr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return Pu(n,this.__actions__);var v=[];n:for(;a--&&h<p;){for(var _=-1,g=n[c+=t];++_<s;){var y=l[_],d=y.iteratee,b=y.type,w=d(g);if(b==z)g=w;else if(!w){if(b==E)continue n;break n}}v[h++]=g}return v},_e.prototype.at=Po,_e.prototype.chain=function(){return Fo(this)},_e.prototype.commit=function(){return new de(this.value(),this.__chain__)},_e.prototype.next=function(){this.__values__===r&&(this.__values__=Nf(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?r:this.__values__[this.__index__++]}},_e.prototype.plant=function(n){for(var t,e=this;e instanceof ye;){var u=po(e);u.__index__=0,u.__values__=r,t?i.__wrapped__=u:t=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,t},_e.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof be){var t=n;return this.__actions__.length&&(t=new be(this)),(t=t.reverse()).__actions__.push({func:No,args:[Eo],thisArg:r}),new de(t,this.__chain__)}return this.thru(Eo)},_e.prototype.toJSON=_e.prototype.valueOf=_e.prototype.value=function(){return Pu(this.__wrapped__,this.__actions__)},_e.prototype.first=_e.prototype.head,sr&&(_e.prototype[sr]=function(){return this}),_e}();"function"==typeof n&&"object"==typeof n.amd&&n.amd?(Lt._=Cr,n(function(){return Cr})):Ct?((Ct.exports=Cr)._=Cr,Wt._=Cr):Lt._=Cr}).call(this);
|
|
24
24
|
},{"buffer":"dskh"}],"I6jy":[function(require,module,exports) {
|
|
25
|
-
"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e){return i(e)||o(e)||n(e)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function o(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function i(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(){a=function(e,t){return new n(e,void 0,t)};var t=RegExp.prototype,r=new WeakMap;function n(e,t,o){var i=new RegExp(e,t);return r.set(i,o||r.get(e)),s(i,n.prototype)}function o(e,t){var n=r.get(t);return Object.keys(n).reduce(function(t,r){return t[r]=e[n[r]],t},Object.create(null))}return c(n,RegExp),n.prototype.exec=function(e){var r=t.exec.call(this,e);return r&&(r.groups=o(r,this)),r},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var u=r.get(this);return t[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,function(e,t){return"$"+u[t]}))}if("function"==typeof i){var a=this;return t[Symbol.replace].call(this,n,function(){var t=arguments;return"object"!==e(t[t.length-1])&&(t=[].slice.call(t)).push(o(t,a)),i.apply(this,t)})}return t[Symbol.replace].call(this,n,i)},a.apply(this,arguments)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),l=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&p(t,e,r);return l(t,e),t},x=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function u(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(u,a)}c((n=n.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.getExpressionDocContext=exports.getExpressionLine=exports.getFileExtension=exports.SupportedFileExtensions=exports.AllMetaCommands=exports.AllKeywords=exports.Keywords=exports.MetaCommands=exports.SupportedUsingFileExtensions=exports.SupportedDocumentContextValues=void 0;var m=require("./WerckmeisterAutoHintDb"),d=f(require("lodash"));exports.SupportedDocumentContextValues={voice:"voice",document:"document",track:"track",accomp:"accomp",mod:"mod",voicingStrategy:"voicingStrategy"},exports.SupportedUsingFileExtensions=[".lua",".template",".chords",".pitchmap",".config",".conductions"],exports.MetaCommands=d.fromPairs(d.map(m.getAutoHintDb(),function(e,t){return[t,t]})),exports.Keywords=Object.assign({using:"using"},exports.MetaCommands),exports.AllKeywords=d.values(exports.Keywords),exports.AllMetaCommands=d.values(exports.MetaCommands);var y=["(".concat(exports.AllMetaCommands.join("|"),")\\s*:\\s*[^/;]*$"),"".concat(exports.Keywords.using,"[^;]*$")],b=new RegExp(".*?(".concat(y.join("|"),")"),"s"),g=a(/(.*\/([0-9A-Z_a-z]+$))|(^([A-Za-z]+)$)/,{a:2,b:4}),v=/\.*?\{[^}]*$/,h=/\.*?\[[^\]]*$/;function S(e){if(e)return(e.match(/^.*(\.\w+)$/)||[])[1]}function w(e,t){var r;return x(this,void 0,void 0,regeneratorRuntime.mark(function n(){var o,i,u,a,c,s,p,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:o=t.line;case 1:if(!(o>=0)){n.next=16;break}return i={line:o,col:0},n.next=5,e.getRange(i,t);case 5:if(u=n.sent,!(a=b.exec(u))){n.next=10;break}return c=a[1],n.abrupt("return",c.replace(/\n/g," "));case 10:if(!(d.findIndex(u,function(e){return"]"===e||"}"===e||";"===e})>=0)){n.next=13;break}return n.abrupt("break",16);case 13:--o,n.next=1;break;case 16:return n.next=18,e.getRange({line:t.line,col:0},t);case 18:if(s=n.sent,p=(null===(r=s.match(g))||void 0===r?void 0:r.groups)||{},!(l=p.a||p.b)){n.next=23;break}return n.abrupt("return",l);case 23:return n.abrupt("return","");case 24:case"end":return n.stop()}},n)}))}function j(e,t){return x(this,void 0,void 0,regeneratorRuntime.mark(function r(){var n,o;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n={line:0,col:0},r.next=3,e.getRange(n,t);case 3:if(!(o=r.sent).match(v)){r.next=6;break}return r.abrupt("return",exports.SupportedDocumentContextValues.voice);case 6:if(!o.match(h)){r.next=8;break}return r.abrupt("return",exports.SupportedDocumentContextValues.track);case 8:return r.abrupt("return",exports.SupportedDocumentContextValues.document);case 9:case"end":return r.stop()}},r)}))}exports.SupportedFileExtensions=[].concat(t(exports.SupportedUsingFileExtensions),[".sheet"]),exports.getFileExtension=S,exports.getExpressionLine=w,exports.getExpressionDocContext=j;
|
|
25
|
+
"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e){return i(e)||o(e)||n(e)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function o(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function i(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(){a=function(e,t){return new n(e,void 0,t)};var t=RegExp.prototype,r=new WeakMap;function n(e,t,o){var i=new RegExp(e,t);return r.set(i,o||r.get(e)),s(i,n.prototype)}function o(e,t){var n=r.get(t);return Object.keys(n).reduce(function(t,r){return t[r]=e[n[r]],t},Object.create(null))}return c(n,RegExp),n.prototype.exec=function(e){var r=t.exec.call(this,e);return r&&(r.groups=o(r,this)),r},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var u=r.get(this);return t[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,function(e,t){return"$"+u[t]}))}if("function"==typeof i){var a=this;return t[Symbol.replace].call(this,n,function(){var t=arguments;return"object"!==e(t[t.length-1])&&(t=[].slice.call(t)).push(o(t,a)),i.apply(this,t)})}return t[Symbol.replace].call(this,n,i)},a.apply(this,arguments)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),l=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&p(t,e,r);return l(t,e),t},x=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function u(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(u,a)}c((n=n.apply(e,t||[])).next())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.getExpressionDocContext=exports.getExpressionLine=exports.getFileExtension=exports.SupportedFileExtensions=exports.AllMetaCommands=exports.AllKeywords=exports.Keywords=exports.MetaCommands=exports.SupportedUsingFileExtensions=exports.SupportedDocumentContextValues=void 0;var m=require("./WerckmeisterAutoHintDb"),d=f(require("lodash"));exports.SupportedDocumentContextValues={voice:"voice",document:"document",track:"track",accomp:"accomp",mod:"mod",voicingStrategy:"voicingStrategy"},exports.SupportedUsingFileExtensions=[".lua",".template",".chords",".pitchmap",".config",".conductions",".part"],exports.MetaCommands=d.fromPairs(d.map(m.getAutoHintDb(),function(e,t){return[t,t]})),exports.Keywords=Object.assign({using:"using"},exports.MetaCommands),exports.AllKeywords=d.values(exports.Keywords),exports.AllMetaCommands=d.values(exports.MetaCommands);var y=["(".concat(exports.AllMetaCommands.join("|"),")\\s*:\\s*[^/;]*$"),"".concat(exports.Keywords.using,"[^;]*$")],b=new RegExp(".*?(".concat(y.join("|"),")"),"s"),g=a(/(.*\/([0-9A-Z_a-z]+$))|(^([A-Za-z]+)$)/,{a:2,b:4}),v=/\.*?\{[^}]*$/,h=/\.*?\[[^\]]*$/;function S(e){if(e)return(e.match(/^.*(\.\w+)$/)||[])[1]}function w(e,t){var r;return x(this,void 0,void 0,regeneratorRuntime.mark(function n(){var o,i,u,a,c,s,p,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:o=t.line;case 1:if(!(o>=0)){n.next=16;break}return i={line:o,col:0},n.next=5,e.getRange(i,t);case 5:if(u=n.sent,!(a=b.exec(u))){n.next=10;break}return c=a[1],n.abrupt("return",c.replace(/\n/g," "));case 10:if(!(d.findIndex(u,function(e){return"]"===e||"}"===e||";"===e})>=0)){n.next=13;break}return n.abrupt("break",16);case 13:--o,n.next=1;break;case 16:return n.next=18,e.getRange({line:t.line,col:0},t);case 18:if(s=n.sent,p=(null===(r=s.match(g))||void 0===r?void 0:r.groups)||{},!(l=p.a||p.b)){n.next=23;break}return n.abrupt("return",l);case 23:return n.abrupt("return","");case 24:case"end":return n.stop()}},n)}))}function j(e,t){return x(this,void 0,void 0,regeneratorRuntime.mark(function r(){var n,o;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n={line:0,col:0},r.next=3,e.getRange(n,t);case 3:if(!(o=r.sent).match(v)){r.next=6;break}return r.abrupt("return",exports.SupportedDocumentContextValues.voice);case 6:if(!o.match(h)){r.next=8;break}return r.abrupt("return",exports.SupportedDocumentContextValues.track);case 8:return r.abrupt("return",exports.SupportedDocumentContextValues.document);case 9:case"end":return r.stop()}},r)}))}exports.SupportedFileExtensions=[].concat(t(exports.SupportedUsingFileExtensions),[".sheet"]),exports.getFileExtension=S,exports.getExpressionLine=w,exports.getExpressionDocContext=j;
|
|
26
26
|
},{"./WerckmeisterAutoHintDb":"Y3F9","lodash":"B1iE"}],"zyF4":[function(require,module,exports) {
|
|
27
27
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.GMInstruments=void 0,exports.GMInstruments=["Acoustic Grand Piano","Bright Acoustic Piano","Electric Grand Piano","Honky-tonk Piano","Electric Piano 1","Electric Piano 2","Harpsichord","Clavi","Celesta","Glockenspiel","Music Box","Vibraphone","Marimba","Xylophone","Tubular Bells","Dulcimer","Drawbar Organ","Percussive Organ","Rock Organ","Church Organ","Reed Organ","Accordion","Harmonica","Tango Accordion","Acoustic Guitar Nylon","Acoustic Guitar Steel","Electric Guitar Jazz","Electric Guitar Clean","Electric Guitar Muted","Overdriven Guitar","Distortion Guitar","Guitar harmonics","Acoustic Bass","Electric Bass Finger","Electric Bass Pick","Fretless Bass","Slap Bass 1","Slap Bass 2","Synth Bass 1","Synth Bass 2","Violin","Viola","Cello","Contrabass","Tremolo Strings","Pizzicato Strings","Orchestral Harp","Timpani","String Ensemble 1","String Ensemble 2","SynthStrings 1","SynthStrings 2","Choir Aahs","Voice Oohs","Synth Voice","Orchestra Hit","Trumpet","Trombone","Tuba","Muted Trumpet","French Horn","Brass Section","SynthBrass 1","SynthBrass 2","Soprano Sax","Alto Sax","Tenor Sax","Baritone Sax","Oboe","English Horn","Bassoon","Clarinet","Piccolo","Flute","Recorder","Pan Flute","Blown Bottle","Shakuhachi","Whistle","Ocarina","Lead 1 Square","Lead 2 Sawtooth","Lead 3 Calliope","Lead 4 Chiff","Lead 5 Charang","Lead 6 Voice","Lead 7 Fifths","Lead 8 Bass+Lead","Pad 1 New Age","Pad 2 Warm","Pad 3 Polysynth","Pad 4 Choir","Pad 5 Bowed","Pad 6 Metallic","Pad 7 Halo","Pad 8 Sweep","FX 1 Rain","FX 2 Soundtrack","FX 3 Crystal","FX 4 Atmosphere","FX 5 Brightness","FX 6 Goblins","FX 7 Echoes","FX 8 Sci-Fi","Sitar","Banjo","Shamisen","Koto","Kalimba","Bag pipe","Fiddle","Shanai","Tinkle Bell","Agogo","Steel Drums","Woodblock","Taiko Drum","Melodic Tom","Synth Drum","Reverse Cymbal","Guitar Fret Noise","Breath Noise","Seashore","Bird Tweet","Telephone Ring","Helicopter","Applause","Gunshot"];
|
|
28
28
|
},{}],"ykR4":[function(require,module,exports) {
|