From ffc8ef2ad73e835470bbae23ff3c424e8b5f2b02 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Sat, 4 Jan 2025 20:50:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20global=20variables=20fr?= =?UTF-8?q?om=20syntax=20highlighter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The syntax highlighter used to work by calling `initTranslations()` with the current level and language, which then manipulates global variables so that the syntax highlighter code has the right information to highlight the different levels and languages of Hedy correctly. To remove the need for global variables, we instead parameterize the Lezer parsers and pass the level and language into the generator at every time it is used. --- build-tools/heroku/generate-lezer-parsers | 35 + hedy_translation.py | 1 + static/js/adventure.ts | 17 +- static/js/app.ts | 40 +- static/js/appbundle.js | 1267 +++++++++--------- static/js/appbundle.js.map | 4 +- static/js/cm-editor.ts | 24 +- static/js/editor.ts | 2 +- static/js/lezer-parsers/language-packages.ts | 74 +- static/js/lezer-parsers/level1-parser.ts | 8 +- static/js/lezer-parsers/level10-parser.ts | 8 +- static/js/lezer-parsers/level11-parser.ts | 8 +- static/js/lezer-parsers/level12-parser.ts | 8 +- static/js/lezer-parsers/level13-parser.ts | 8 +- static/js/lezer-parsers/level14-parser.ts | 8 +- static/js/lezer-parsers/level15-parser.ts | 8 +- static/js/lezer-parsers/level16-parser.ts | 8 +- static/js/lezer-parsers/level17-parser.ts | 8 +- static/js/lezer-parsers/level18-parser.ts | 8 +- static/js/lezer-parsers/level2-parser.ts | 8 +- static/js/lezer-parsers/level3-parser.ts | 8 +- static/js/lezer-parsers/level4-parser.ts | 8 +- static/js/lezer-parsers/level5-parser.ts | 8 +- static/js/lezer-parsers/level6-parser.ts | 8 +- static/js/lezer-parsers/level7-parser.ts | 8 +- static/js/lezer-parsers/level8-parser.ts | 8 +- static/js/lezer-parsers/level9-parser.ts | 8 +- static/js/lezer-parsers/tokens.ts | 94 +- static/js/teachers.ts | 42 +- 29 files changed, 952 insertions(+), 792 deletions(-) diff --git a/build-tools/heroku/generate-lezer-parsers b/build-tools/heroku/generate-lezer-parsers index 09f8087b587..768a7da1946 100755 --- a/build-tools/heroku/generate-lezer-parsers +++ b/build-tools/heroku/generate-lezer-parsers @@ -7,5 +7,40 @@ cd $scriptdir for grammarFile in ../../highlighting/lezer-grammars/level*.grammar ; do baseName=$(basename "$grammarFile") tsFile=${baseName%.grammar}-parser.ts + + # We need to parameterize the parsers generated by lezer-generator with a level and a language. + # There is limited customizability in the tool, but lezer-generator will + # generate a source file with a predictable format, that we can line-edit. npx lezer-generator --typeScript "$grammarFile" -o ../../static/js/lezer-parsers/$tsFile + + out=../../static/js/lezer-parsers/$tsFile + mv $out $out.tmp + + echo "// This file was generated by lezer-generator. You probably shouldn't edit it." >> $out + echo 'import {LRParser} from "@lezer/lr"' >> $out + echo 'import {specializeKeywordGen, extendKeywordGen} from "./tokens"' >> $out + echo 'export function generateParser(level: number, language: string): LRParser {' >> $out + + # So we don't get "unused import" errors + if grep specializeKeyword $out.tmp > /dev/null; then + echo ' const specializeKeyword = specializeKeywordGen(level, language);' >> $out + else + echo ' void specializeKeywordGen;' >> $out + fi + + # So we don't get "unused import" errors + if grep extendKeyword $out.tmp > /dev/null; then + echo ' const extendKeyword = extendKeywordGen(level, language);' >> $out + else + echo ' void extendKeywordGen;' >> $out + fi + + echo ' return LRParser.deserialize({' >> $out + tail -n +5 $out.tmp >> $out + echo '}' >> $out + + rm $out.tmp + + + done \ No newline at end of file diff --git a/hedy_translation.py b/hedy_translation.py index 2c619a0a0a8..7ac8de642dd 100644 --- a/hedy_translation.py +++ b/hedy_translation.py @@ -73,6 +73,7 @@ def get_target_keyword(keyword_dict, keyword): return keyword + def translate_keywords(input_string, from_lang="en", to_lang="nl", level=1): """ "Return code with keywords translated to language of choice in level of choice""" diff --git a/static/js/adventure.ts b/static/js/adventure.ts index a7d6d7876fa..c7c98e81657 100644 --- a/static/js/adventure.ts +++ b/static/js/adventure.ts @@ -2,7 +2,6 @@ import ClassicEditor from "./ckeditor"; import { CustomWindow } from './custom-window'; import { languagePerLevel, keywords } from "./lezer-parsers/language-packages"; import { SyntaxNode } from "@lezer/common"; -import { initializeTranslation } from "./lezer-parsers/tokens"; import DOMPurify from "dompurify"; import TRADUCTION_IMPORT from '../../highlighting/highlighting-trad.json'; import { convert } from "./utils"; @@ -25,7 +24,7 @@ export async function initializeCustomAdventurePage(_options: InitializeCustomiz const editorSolutionExampleContainer = document.querySelector('#adventure-solution-editor') as HTMLElement; // Initialize the editor with the default language let lang = (document.querySelector('#languages_dropdown') as HedySelect).selected[0] - const TRADUCTIONS = convert(TRADUCTION_IMPORT) as Map>; + const TRADUCTIONS = convert(TRADUCTION_IMPORT) as Map>; if (!TRADUCTIONS.has(lang)) { lang = 'en'; } let TRADUCTION = TRADUCTIONS.get(lang) as Map; @@ -46,7 +45,7 @@ export async function initializeCustomAdventurePage(_options: InitializeCustomiz // Autosave customize adventure page autoSave("customize_adventure") - + showWarningIfMultipleLevels() document.querySelectorAll('#levels_dropdown div div .option').forEach((el) => { el.addEventListener('click', () => { @@ -104,7 +103,7 @@ function formatKeyword(name: string) { function findCoincidences(name: string, TRADUCTION: Map) { let coincidences = []; - for (const [key, regexString] of TRADUCTION) { + for (const [key, regexString] of TRADUCTION) { if (new RegExp(`^(${regexString})$`, 'gu').test(name)) { coincidences.push(key) } @@ -143,10 +142,8 @@ function initializeEditor(language: string, editorContainer: HTMLElement, soluti export function addCurlyBracesToCode(code: string, level: number, language: string = 'en') { // If code already has curly braces, we don't do anything about it if (code.match(/\{(\w|_)+\}/g)) return code - - initializeTranslation({keywordLanguage: language, level: level}) - let parser = languagePerLevel[level]; + let parser = languagePerLevel[level](language); let parseResult = parser.parse(code); let formattedCode = '' let previous_node: SyntaxNode | undefined = undefined @@ -205,17 +202,17 @@ export function addCurlyBracesToCode(code: string, level: number, language: stri j += 1; } formattedCode = resultingLines.join('\n'); - + return formattedCode; } export function addCurlyBracesToKeyword(name: string) { let lang = (document.querySelector('#languages_dropdown') as HedySelect).selected[0] - const TRADUCTIONS = convert(TRADUCTION_IMPORT) as Map>; + const TRADUCTIONS = convert(TRADUCTION_IMPORT) as Map>; if (!TRADUCTIONS.has(lang)) { lang = 'en'; } let TRADUCTION = TRADUCTIONS.get(lang) as Map; - for (const [key, regexString] of TRADUCTION) { + for (const [key, regexString] of TRADUCTION) { if ((new RegExp(`^(${regexString})$`, 'gu').test(name)) || name === key) { return `{${key}}` } diff --git a/static/js/app.ts b/static/js/app.ts index 408bcd4d3cd..0c9cca69d05 100644 --- a/static/js/app.ts +++ b/static/js/app.ts @@ -23,7 +23,6 @@ import { LocalSaveWarning } from './local-save-warning'; import { HedyEditor, EditorType } from './editor'; import { stopDebug } from "./debugging"; import { HedyCodeMirrorEditorCreator } from './cm-editor'; -import { initializeTranslation } from './lezer-parsers/tokens'; import { initializeActivity } from './user-activity'; import { IndexTabs, SwitchAdventureEvent } from './index-tabs'; export let theGlobalDebugger: any; @@ -218,7 +217,6 @@ export function initializeCodePage(options: InitializeCodePageOptions) { if ($editor.length) { const dir = $('body').attr('dir'); theGlobalEditor = editorCreator.initializeEditorWithGutter($editor, EditorType.MAIN, dir); - initializeTranslation({keywordLanguage: theKeywordLanguage, level: theLevel}); attachMainEditorEvents(theGlobalEditor); initializeDebugger({ editor: theGlobalEditor, @@ -369,10 +367,6 @@ export function initializeViewProgramPage(options: InitializeViewProgramPageOpti // We need to enable the main editor for the program page as well const dir = $('body').attr('dir'); theGlobalEditor = editorCreator.initializeEditorWithGutter($('#editor'), EditorType.MAIN, dir); - initializeTranslation({ - keywordLanguage: options.lang, - level: options.level - }); attachMainEditorEvents(theGlobalEditor); theGlobalEditor.contents = options.code; initializeDebugger({ @@ -386,12 +380,6 @@ export function initializeViewProgramPage(options: InitializeViewProgramPageOpti export function initializeHighlightedCodeBlocks(where: Element, initializeAll?: boolean) { const dir = $("body").attr("dir"); initializeParsons(); - if (theLevel) { - initializeTranslation({ - keywordLanguage: theKeywordLanguage, - level: theLevel - }) - } // Any code blocks we find inside 'turn-pre-into-ace' get turned into // read-only editors (for syntax highlighting) for (const container of $(where).find('.turn-pre-into-ace').get()) { @@ -452,11 +440,7 @@ function convertPreviewToEditor(preview: HTMLPreElement, container: HTMLElement, const levelStr = $(preview).attr('level'); const lang = $(preview).attr('lang'); if (levelStr && lang) { - initializeTranslation({ - keywordLanguage: lang, - level: parseInt(levelStr, 10), - }) - exampleEditor.setHighlighterForLevel(parseInt(levelStr, 10)); + exampleEditor.setHighlighterForLevel(parseInt(levelStr, 10), lang); } } @@ -474,8 +458,8 @@ export function stopit() { document.onkeydown = null; $('#keybinding_modal').hide(); $('#sleep_modal').hide(); - - if (sleepRunning) { + + if (sleepRunning) { sleepRunning = false; } @@ -586,7 +570,7 @@ export async function runit(level: number, lang: string, raw: boolean, disabled_ error.showWarning(response.Warning); } - + if (adventure && response.save_info) { adventure.save_info = response.save_info; adventure.editor_contents = code; @@ -676,7 +660,7 @@ function updateProgramCount() { const countText = programCountDiv.text(); const regex = /(\d+)/; const match = countText.match(regex); - + if (match && match.length > 0) { const currentCount = parseInt(match[0]); const newCount = currentCount - 1; @@ -688,7 +672,7 @@ function updateProgramCount() { function updateSelectOptions(selectName: string) { let optionsArray: string[] = []; const select = $(`select[name='${selectName}']`); - + // grabs all the levels and names from the remaining adventures $(`[id="program_${selectName}"]`).each(function() { const text = $(this).text().trim(); @@ -725,8 +709,8 @@ export async function delete_program(id: string, prompt: string) { updateSelectOptions('adventure'); // this function decreases the total programs saved updateProgramCount(); - const response = await postJson('/programs/delete', { id }); - + const response = await postJson('/programs/delete', { id }); + // issue request on the Bar component. modal.notifySuccess(response.message); }); @@ -1002,7 +986,7 @@ export function runPythonProgram(this: any, code: string, sourceMap: any, hasTur $('#stopit').hide(); $('#runit').show(); $('#runit').show(); - if (Sk.execLimit != 1) { + if (Sk.execLimit != 1) { return ClientMessages ['Program_too_long']; } else { return null; @@ -1051,7 +1035,7 @@ export function runPythonProgram(this: any, code: string, sourceMap: any, hasTur } // Check if the program was correct but the output window is empty: Return a warning - if ((!hasClear) && $('#output').is(':empty') && $('#turtlecanvas').is(':empty') && !hasMusic) { + if ((!hasClear) && $('#output').is(':empty') && $('#turtlecanvas').is(':empty') && !hasMusic) { error.showWarning(ClientMessages['Empty_output']); return; } @@ -1186,7 +1170,7 @@ export function runPythonProgram(this: any, code: string, sourceMap: any, hasTur function builtinRead(x: string) { if (x in skulptExternalLibraries) { const tmpPath = skulptExternalLibraries[x]["path"]; - + let request = new XMLHttpRequest(); request.open("GET", tmpPath, false); request.send(); @@ -1762,7 +1746,7 @@ function updatePageElements() { $('#commands_dropdown_container').show() $('#hand_in_button').show() } - if (currentTab === 'parsons'){ + if (currentTab === 'parsons'){ $('#share_program_button').hide() $('#read_outloud_button_container').hide() $('#cheatsheet_dropdown_container').hide() diff --git a/static/js/appbundle.js b/static/js/appbundle.js index cd39bb85c45..e1f6d7edd92 100644 --- a/static/js/appbundle.js +++ b/static/js/appbundle.js @@ -78831,10 +78831,10 @@ def note_with_error(value, err): current_level = "intro"; startIntro(); } - function startLevelTutorial(level3) { + function startLevelTutorial(level2) { $("#tutorial_mask").show(); - current_level = level3; - startLevel(level3); + current_level = level2; + startLevel(level2); } function startTeacherTutorial() { $("#tutorial_mask").show(); @@ -79898,8 +79898,8 @@ def note_with_error(value, err): return this.flags & 8 ? -1 : this.flags & 16 ? 1 : 0; } get bidiLevel() { - let level3 = this.flags & 7; - return level3 == 7 ? null : level3; + let level2 = this.flags & 7; + return level2 == 7 ? null : level2; } get goalColumn() { let value = this.flags >> 6; @@ -83561,18 +83561,18 @@ def note_with_error(value, err): point() { }, span(from18, to11, active, open) { - let level3 = result; + let level2 = result; for (let i = active.length - 1; i >= 0; i--, open--) { let iso = active[i].spec.bidiIsolate, update; if (iso == null) continue; - if (open > 0 && level3.length && (update = level3[level3.length - 1]).to == from18 && update.direction == iso) { + if (open > 0 && level2.length && (update = level2[level2.length - 1]).to == from18 && update.direction == iso) { update.to = to11; - level3 = update.inner; + level2 = update.inner; } else { let add17 = { from: from18, to: to11, direction: iso, inner: [] }; - level3.push(add17); - level3 = add17.inner; + level2.push(add17); + level2 = add17.inner; } } } @@ -83716,20 +83716,20 @@ def note_with_error(value, err): get dir() { return this.level % 2 ? RTL : LTR; } - constructor(from17, to10, level3) { + constructor(from17, to10, level2) { this.from = from17; this.to = to10; - this.level = level3; + this.level = level2; } side(end, dir) { return this.dir == dir == end ? this.to : this.from; } - static find(order, index3, level3, assoc) { + static find(order, index3, level2, assoc) { let maybe = -1; for (let i = 0; i < order.length; i++) { let span = order[i]; if (span.from <= index3 && span.to >= index3) { - if (span.level == level3) + if (span.level == level2) return i; if (maybe < 0 || (assoc != 0 ? assoc < 0 ? span.from < index3 : span.to > index3 : order[maybe].level > span.level)) maybe = i; @@ -83870,9 +83870,9 @@ def note_with_error(value, err): } } } - function emitSpans(line, from17, to10, level3, baseLevel, isolates, order) { - let ourType = level3 % 2 ? 2 : 1; - if (level3 % 2 == baseLevel % 2) { + function emitSpans(line, from17, to10, level2, baseLevel, isolates, order) { + let ourType = level2 % 2 ? 2 : 1; + if (level2 % 2 == baseLevel % 2) { for (let iCh = from17, iI = 0; iCh < to10; ) { let sameDir = true, isNum = false; if (iI == isolates.length || iCh < isolates[iI].from) { @@ -83883,7 +83883,7 @@ def note_with_error(value, err): } } let recurse = !sameDir && ourType == 1 ? [] : null; - let localLevel = sameDir ? level3 : level3 + 1; + let localLevel = sameDir ? level2 : level2 + 1; let iScan = iCh; run: for (; ; ) { @@ -83909,7 +83909,7 @@ def note_with_error(value, err): if (iso.from > iCh) order.push(new BidiSpan(iCh, iso.from, localLevel)); let dirSwap = iso.direction == LTR != !(localLevel % 2); - computeSectionOrder(line, dirSwap ? level3 + 1 : level3, baseLevel, iso.inner, iso.from, iso.to, order); + computeSectionOrder(line, dirSwap ? level2 + 1 : level2, baseLevel, iso.inner, iso.from, iso.to, order); iCh = iso.to; } iScan = iso.to; @@ -83920,7 +83920,7 @@ def note_with_error(value, err): } } if (recurse) - emitSpans(line, iCh, iScan, level3 + 1, baseLevel, recurse, order); + emitSpans(line, iCh, iScan, level2 + 1, baseLevel, recurse, order); else if (iCh < iScan) order.push(new BidiSpan(iCh, iScan, localLevel)); iCh = iScan; @@ -83936,7 +83936,7 @@ def note_with_error(value, err): } } let recurse = !sameDir && ourType == 1 ? [] : null; - let localLevel = sameDir ? level3 : level3 + 1; + let localLevel = sameDir ? level2 : level2 + 1; let iScan = iCh; run: for (; ; ) { @@ -83961,7 +83961,7 @@ def note_with_error(value, err): if (iso.to < iCh) order.push(new BidiSpan(iso.to, iCh, localLevel)); let dirSwap = iso.direction == LTR != !(localLevel % 2); - computeSectionOrder(line, dirSwap ? level3 + 1 : level3, baseLevel, iso.inner, iso.from, iso.to, order); + computeSectionOrder(line, dirSwap ? level2 + 1 : level2, baseLevel, iso.inner, iso.from, iso.to, order); iCh = iso.from; } iScan = iso.from; @@ -83972,19 +83972,19 @@ def note_with_error(value, err): } } if (recurse) - emitSpans(line, iScan, iCh, level3 + 1, baseLevel, recurse, order); + emitSpans(line, iScan, iCh, level2 + 1, baseLevel, recurse, order); else if (iScan < iCh) order.push(new BidiSpan(iScan, iCh, localLevel)); iCh = iScan; } } } - function computeSectionOrder(line, level3, baseLevel, isolates, from17, to10, order) { - let outerType = level3 % 2 ? 2 : 1; + function computeSectionOrder(line, level2, baseLevel, isolates, from17, to10, order) { + let outerType = level2 % 2 ? 2 : 1; computeCharTypes(line, from17, to10, isolates, outerType); processBracketPairs(line, from17, to10, isolates, outerType); processNeutrals(from17, to10, isolates, outerType); - emitSpans(line, from17, to10, level3, baseLevel, isolates, order); + emitSpans(line, from17, to10, level2, baseLevel, isolates, order); } function computeOrder(line, direction, isolates) { if (!line) @@ -83994,8 +83994,8 @@ def note_with_error(value, err): if (isolates.length) while (line.length > types.length) types[types.length] = 256; - let order = [], level3 = direction == LTR ? 0 : 1; - computeSectionOrder(line, level3, level3, isolates, 0, line.length, order); + let order = [], level2 = direction == LTR ? 0 : 1; + computeSectionOrder(line, level2, level2, isolates, 0, line.length, order); return order; } function trivialOrder(length) { @@ -89928,10 +89928,10 @@ def note_with_error(value, err): NodeProp.lookAhead = new NodeProp({ perNode: true }); NodeProp.mounted = new NodeProp({ perNode: true }); var MountedTree = class { - constructor(tree, overlay, parser19) { + constructor(tree, overlay, parser) { this.tree = tree; this.overlay = overlay; - this.parser = parser19; + this.parser = parser; } static get(tree) { return tree && tree.props && tree.props[NodeProp.mounted.id]; @@ -91512,14 +91512,14 @@ def note_with_error(value, err): } var sublanguageProp = /* @__PURE__ */ new NodeProp(); var Language = class { - constructor(data, parser19, extraExtensions = [], name2 = "") { + constructor(data, parser, extraExtensions = [], name2 = "") { this.data = data; this.name = name2; if (!EditorState.prototype.hasOwnProperty("tree")) Object.defineProperty(EditorState.prototype, "tree", { get() { return syntaxTree(this); } }); - this.parser = parser19; + this.parser = parser; this.extension = [ language.of(this), EditorState.languageData.of((state, pos, side) => { @@ -91594,9 +91594,9 @@ def note_with_error(value, err): return tree; } var LRLanguage = class extends Language { - constructor(data, parser19, name2) { - super(data, parser19, [], name2); - this.parser = parser19; + constructor(data, parser, name2) { + super(data, parser, [], name2); + this.parser = parser; } static define(spec) { let data = defineLanguageFacet(spec.languageData); @@ -91647,8 +91647,8 @@ def note_with_error(value, err): }; var currentContext = null; var ParseContext = class { - constructor(parser19, state, fragments = [], tree, treeLen, viewport, skipped, scheduleOn) { - this.parser = parser19; + constructor(parser, state, fragments = [], tree, treeLen, viewport, skipped, scheduleOn) { + this.parser = parser; this.state = state; this.fragments = fragments; this.tree = tree; @@ -91659,8 +91659,8 @@ def note_with_error(value, err): this.parse = null; this.tempSkipped = []; } - static create(parser19, state, viewport) { - return new ParseContext(parser19, state, [], Tree.empty, 0, viewport, [], null); + static create(parser, state, viewport) { + return new ParseContext(parser, state, [], Tree.empty, 0, viewport, [], null); } startParse() { return this.parser.startParse(new DocInput(this.state.doc), this.fragments); @@ -91779,7 +91779,7 @@ def note_with_error(value, err): return new class extends Parser { createParse(input2, fragments, ranges) { let from17 = ranges[0].from, to10 = ranges[ranges.length - 1].to; - let parser19 = { + let parser = { parsedPos: from17, advance() { let cx = currentContext; @@ -91796,7 +91796,7 @@ def note_with_error(value, err): stopAt() { } }; - return parser19; + return parser; } }(); } @@ -94801,8 +94801,8 @@ def note_with_error(value, err): decorations: (v) => v.decorations }); function highlightVariables(view) { - const level3 = view.state.facet(level); - if (level3 == 1) + const level2 = view.state.facet(level); + if (level2 == 1) return Decoration.none; let variableDeco = new RangeSetBuilder(); let variableData = []; @@ -94855,7 +94855,7 @@ def note_with_error(value, err): "Call", "Play" ]; - if (level3 > 3) + if (level2 > 3) commands.push("Ask"); for (let { from: from17, to: to10 } of view.visibleRanges) { syntaxTree(view.state).iterate({ @@ -94868,7 +94868,7 @@ def note_with_error(value, err): for (; i < children.length; i++) { const child = children[i]; const text = view.state.doc.sliceString(child.from, child.to); - if (level3 <= 3) { + if (level2 <= 3) { const varNames = getVarNames(text) || []; let startIndex = 0; for (const name2 of varNames) { @@ -94975,16 +94975,16 @@ def note_with_error(value, err): reduce(action) { var _a3; let depth = action >> 19, type = action & 65535; - let { parser: parser19 } = this.p; + let { parser } = this.p; let lookaheadRecord = this.reducePos < this.pos - 25; if (lookaheadRecord) this.setLookAhead(this.pos); - let dPrec = parser19.dynamicPrecedence(type); + let dPrec = parser.dynamicPrecedence(type); if (dPrec) this.score += dPrec; if (depth == 0) { - this.pushState(parser19.getGoto(this.state, type, true), this.reducePos); - if (type < parser19.minRepeatTerm) + this.pushState(parser.getGoto(this.state, type, true), this.reducePos); + if (type < parser.minRepeatTerm) this.storeNode(type, this.reducePos, this.reducePos, lookaheadRecord ? 8 : 4, true); this.reduceContext(type, this.reducePos); return; @@ -95002,15 +95002,15 @@ def note_with_error(value, err): } } let bufferBase = base2 ? this.stack[base2 - 1] : 0, count = this.bufferBase + this.buffer.length - bufferBase; - if (type < parser19.minRepeatTerm || action & 131072) { - let pos = parser19.stateFlag(this.state, 1) ? this.pos : this.reducePos; + if (type < parser.minRepeatTerm || action & 131072) { + let pos = parser.stateFlag(this.state, 1) ? this.pos : this.reducePos; this.storeNode(type, start2, pos, count + 4, true); } if (action & 262144) { this.state = this.stack[base2]; } else { let baseStateID = this.stack[base2 - 3]; - this.state = parser19.getGoto(baseStateID, type, true); + this.state = parser.getGoto(baseStateID, type, true); } while (this.stack.length > base2) this.stack.pop(); @@ -95065,15 +95065,15 @@ def note_with_error(value, err): if (action & 131072) { this.pushState(action & 65535, this.pos); } else if ((action & 262144) == 0) { - let nextState = action, { parser: parser19 } = this.p; - if (end > this.pos || type <= parser19.maxNode) { + let nextState = action, { parser } = this.p; + if (end > this.pos || type <= parser.maxNode) { this.pos = end; - if (!parser19.stateFlag(nextState, 1)) + if (!parser.stateFlag(nextState, 1)) this.reducePos = end; } this.pushState(nextState, start2); this.shiftContext(type, start2); - if (type <= parser19.maxNode) + if (type <= parser.maxNode) this.buffer.push(type, start2, end, 4); } else { this.pos = end; @@ -95163,14 +95163,14 @@ def note_with_error(value, err): return result; } forceReduce() { - let { parser: parser19 } = this.p; - let reduce = parser19.stateSlot(this.state, 5); + let { parser } = this.p; + let reduce = parser.stateSlot(this.state, 5); if ((reduce & 65536) == 0) return false; - if (!parser19.validAction(this.state, reduce)) { + if (!parser.validAction(this.state, reduce)) { let depth = reduce >> 19, term = reduce & 65535; let target = this.stack.length - depth * 3; - if (target < 0 || parser19.getGoto(this.stack[target], term, false) < 0) { + if (target < 0 || parser.getGoto(this.stack[target], term, false) < 0) { let backup = this.findForcedReduction(); if (backup == null) return false; @@ -95184,19 +95184,19 @@ def note_with_error(value, err): return true; } findForcedReduction() { - let { parser: parser19 } = this.p, seen = []; + let { parser } = this.p, seen = []; let explore = (state, depth) => { if (seen.includes(state)) return; seen.push(state); - return parser19.allActions(state, (action) => { + return parser.allActions(state, (action) => { if (action & (262144 | 131072)) ; else if (action & 65536) { let rDepth = (action >> 19) - depth; if (rDepth > 1) { let term = action & 65535, target = this.stack.length - rDepth * 3; - if (target >= 0 && parser19.getGoto(this.stack[target], term, false) >= 0) + if (target >= 0 && parser.getGoto(this.stack[target], term, false) >= 0) return rDepth << 19 | 65536 | term; } } else { @@ -95220,8 +95220,8 @@ def note_with_error(value, err): get deadEnd() { if (this.stack.length != 3) return false; - let { parser: parser19 } = this.p; - return parser19.data[parser19.stateSlot(this.state, 1)] == 65535 && !parser19.stateSlot(this.state, 4); + let { parser } = this.p; + return parser.data[parser.stateSlot(this.state, 1)] == 65535 && !parser.stateSlot(this.state, 4); } restart() { this.storeNode(0, this.pos, this.pos, 4, true); @@ -95574,8 +95574,8 @@ def note_with_error(value, err): this.id = id2; } token(input2, stack) { - let { parser: parser19 } = stack.p; - readToken(this.data, input2, stack, this.id, parser19.data, parser19.tokenPrecTable); + let { parser } = stack.p; + readToken(this.data, input2, stack, this.id, parser.data, parser.tokenPrecTable); } }; TokenGroup.prototype.contextual = TokenGroup.prototype.fallback = TokenGroup.prototype.extend = false; @@ -95753,18 +95753,18 @@ def note_with_error(value, err): } }; var TokenCache = class { - constructor(parser19, stream) { + constructor(parser, stream) { this.stream = stream; this.tokens = []; this.mainToken = null; this.actions = []; - this.tokens = parser19.tokenizers.map((_) => new CachedToken()); + this.tokens = parser.tokenizers.map((_) => new CachedToken()); } getActions(stack) { let actionIndex = 0; let main = null; - let { parser: parser19 } = stack.p, { tokenizers } = parser19; - let mask = parser19.stateSlot(stack.state, 3); + let { parser } = stack.p, { tokenizers } = parser; + let mask = parser.stateSlot(stack.state, 3); let context2 = stack.curContext ? stack.curContext.hash : 0; let lookAhead = 0; for (let i = 0; i < tokenizers.length; i++) { @@ -95818,10 +95818,10 @@ def note_with_error(value, err): let start2 = this.stream.clipPos(stack.pos); tokenizer.token(this.stream.reset(start2, token), stack); if (token.value > -1) { - let { parser: parser19 } = stack.p; - for (let i = 0; i < parser19.specialized.length; i++) - if (parser19.specialized[i] == token.value) { - let result = parser19.specializers[i](this.stream.read(token.start, token.end), stack); + let { parser } = stack.p; + for (let i = 0; i < parser.specialized.length; i++) + if (parser.specialized[i] == token.value) { + let result = parser.specializers[i](this.stream.read(token.start, token.end), stack); if (result >= 0 && stack.p.parser.dialect.allows(result >> 1)) { if ((result & 1) == 0) token.value = result >> 1; @@ -95845,9 +95845,9 @@ def note_with_error(value, err): return index3; } addActions(stack, token, end, index3) { - let { state } = stack, { parser: parser19 } = stack.p, { data } = parser19; + let { state } = stack, { parser } = stack.p, { data } = parser; for (let set2 = 0; set2 < 2; set2++) { - for (let i = parser19.stateSlot(state, set2 ? 2 : 1); ; i += 3) { + for (let i = parser.stateSlot(state, set2 ? 2 : 1); ; i += 3) { if (data[i] == 65535) { if (data[i + 1] == 1) { i = pair(data, i + 2); @@ -95865,8 +95865,8 @@ def note_with_error(value, err): } }; var Parse = class { - constructor(parser19, input2, fragments, ranges) { - this.parser = parser19; + constructor(parser, input2, fragments, ranges) { + this.parser = parser; this.input = input2; this.ranges = ranges; this.recovering = 0; @@ -95878,11 +95878,11 @@ def note_with_error(value, err): this.lastBigReductionSize = 0; this.bigReductionCount = 0; this.stream = new InputStream(input2, ranges); - this.tokens = new TokenCache(parser19, this.stream); - this.topTerm = parser19.top[1]; + this.tokens = new TokenCache(parser, this.stream); + this.topTerm = parser.top[1]; let { from: from17 } = ranges[0]; - this.stacks = [Stack.start(this, parser19.top[0], from17)]; - this.fragments = fragments.length && this.stream.end - from17 > parser19.bufferLength * 4 ? new FragmentCursor(fragments, parser19.nodeSet) : null; + this.stacks = [Stack.start(this, parser.top[0], from17)]; + this.fragments = fragments.length && this.stream.end - from17 > parser.bufferLength * 4 ? new FragmentCursor(fragments, parser.nodeSet) : null; } get parsedPos() { return this.minStackPos; @@ -95980,18 +95980,18 @@ def note_with_error(value, err): this.stoppedAt = pos; } advanceStack(stack, stacks, split) { - let start2 = stack.pos, { parser: parser19 } = this; + let start2 = stack.pos, { parser } = this; let base2 = verbose ? this.stackID(stack) + " -> " : ""; if (this.stoppedAt != null && start2 > this.stoppedAt) return stack.forceReduce() ? stack : null; if (this.fragments) { let strictCx = stack.curContext && stack.curContext.tracker.strict, cxHash = strictCx ? stack.curContext.hash : 0; for (let cached = this.fragments.nodeAt(start2); cached; ) { - let match = this.parser.nodeSet.types[cached.type.id] == cached.type ? parser19.getGoto(stack.state, cached.type.id) : -1; + let match = this.parser.nodeSet.types[cached.type.id] == cached.type ? parser.getGoto(stack.state, cached.type.id) : -1; if (match > -1 && cached.length && (!strictCx || (cached.prop(NodeProp.contextHash) || 0) == cxHash)) { stack.useNode(cached, match); if (verbose) - console.log(base2 + this.stackID(stack) + ` (via reuse of ${parser19.getName(cached.type.id)})`); + console.log(base2 + this.stackID(stack) + ` (via reuse of ${parser.getName(cached.type.id)})`); return true; } if (!(cached instanceof Tree) || cached.children.length == 0 || cached.positions[0] > 0) @@ -96003,11 +96003,11 @@ def note_with_error(value, err): break; } } - let defaultReduce = parser19.stateSlot(stack.state, 4); + let defaultReduce = parser.stateSlot(stack.state, 4); if (defaultReduce > 0) { stack.reduce(defaultReduce); if (verbose) - console.log(base2 + this.stackID(stack) + ` (via always-reduce ${parser19.getName(defaultReduce & 65535)})`); + console.log(base2 + this.stackID(stack) + ` (via always-reduce ${parser.getName(defaultReduce & 65535)})`); return true; } if (stack.stack.length >= 8400) { @@ -96022,7 +96022,7 @@ def note_with_error(value, err): let main = this.tokens.mainToken; localStack.apply(action, term, main ? main.start : localStack.pos, end); if (verbose) - console.log(base2 + this.stackID(localStack) + ` (via ${(action & 65536) == 0 ? "shift" : `reduce of ${parser19.getName(action & 65535)}`} for ${parser19.getName(term)} @ ${start2}${localStack == stack ? "" : ", split"})`); + console.log(base2 + this.stackID(localStack) + ` (via ${(action & 65536) == 0 ? "shift" : `reduce of ${parser.getName(action & 65535)}`} for ${parser.getName(term)} @ ${start2}${localStack == stack ? "" : ", split"})`); if (last) return true; else if (localStack.pos > start2) @@ -100437,8 +100437,6 @@ def note_with_error(value, err): } // static/js/lezer-parsers/tokens.ts - var TRADUCTION; - var level2; var keywordToToken = { 1: { extend: { @@ -100979,447 +100977,525 @@ def note_with_error(value, err): extend: {} } }; - var specializeTranslations; - var extendTranslations; - function initializeTranslation(options) { - const TRADUCTIONS = convert(highlighting_trad_default); - level2 = options.level; - let lang = options.keywordLanguage; - if (!TRADUCTIONS.has(lang)) { - lang = "en"; + var converted_cache; + function traductionMap(language2) { + if (!converted_cache) { + converted_cache = convert(highlighting_trad_default); } - TRADUCTION = TRADUCTIONS.get(lang); - specializeTranslations = new Map(); - extendTranslations = new Map(); - for (const [key, value] of TRADUCTION) { + if (!converted_cache.has(language2)) { + language2 = "en"; + } + return converted_cache.get(language2); + } + function specializeKeywordGen(level2, lang) { + const specializeTranslations = new Map(); + for (const [key, value] of traductionMap(lang)) { if (key in keywordToToken[level2].specialize) { specializeTranslations.set(key, value); - } else if (key in keywordToToken[level2].extend) { - extendTranslations.set(key, value); } } - } - function specializeKeyword(name2, stack) { - for (const [key, value] of specializeTranslations) { - const regexString = value.replace(/ /g, "|"); - if (new RegExp(`^(${regexString})$`, "gu").test(name2)) { - if (stack.canShift(keywordToToken[level2].specialize[key])) { - return keywordToToken[level2].specialize[key]; + return (name2, stack) => { + for (const [key, value] of specializeTranslations) { + const regexString = value.replace(/ /g, "|"); + if (new RegExp(`^(${regexString})$`, "gu").test(name2)) { + if (stack.canShift(keywordToToken[level2].specialize[key])) { + return keywordToToken[level2].specialize[key]; + } } } - } - return -1; + return -1; + }; } - function extendKeyword(name2, stack) { - for (const [key, value] of extendTranslations) { - const regexString = value.replace(/ /g, "|"); - if (new RegExp(`^(${regexString})$`, "gu").test(name2)) { - if (stack.canShift(keywordToToken[level2].extend[key])) { - return keywordToToken[level2].extend[key]; - } + function extendKeywordGen(level2, lang) { + const extendTranslations = new Map(); + for (const [key, value] of traductionMap(lang)) { + if (key in keywordToToken[level2].specialize) { + extendTranslations.set(key, value); } } - return -1; + return (name2, stack) => { + for (const [key, value] of extendTranslations) { + const regexString = value.replace(/ /g, "|"); + if (new RegExp(`^(${regexString})$`, "gu").test(name2)) { + if (stack.canShift(keywordToToken[level2].extend[key])) { + return keywordToToken[level2].extend[key]; + } + } + } + return -1; + }; } // static/js/lezer-parsers/level1-parser.ts - var parser = LRParser.deserialize({ - version: 14, - states: "&`QYQPOOOOQO'#Cq'#CqQYQPOOOOQO'#Cs'#CsOwQPO'#CgOOQO'#Ct'#CtO!PQPO'#CpOOQO'#Cu'#CuO![QPO'#CiOOQO'#Cv'#CvO!dQPO'#CjOOQO'#Cw'#CwO!rQPO'#CkOOQO'#Cx'#CxO!zQPO'#CmOOQO'#Cy'#CyO#SQPO'#CnOOQO'#Cz'#CzO#[QPO'#CoOOQO'#Cl'#ClOOQO'#Cf'#CfQrQPO'#CrQ#dQPOOOOQO-E6o-E6oOOQO-E6q-E6qO$OQPO,59ROOQO-E6r-E6rO$ZQPO,59TOOQO-E6s-E6sO$fQPO,59UOOQO-E6t-E6tO$qQPO,59VOOQO-E6u-E6uOOQO-E6v-E6vOOQO,59X,59XOOQO-E6w-E6wOOQO,59Y,59YOOQO-E6x-E6xOOQO,59Z,59ZO$|QPO,59^OOQO-E6p-E6p", - stateData: "%n~OWOSqOS~OPROQ]OR_OSXOTZOUVOVaO[TOrPO~OPRO[TO~O[TOodXrdX~OUVO[TO~OSXO[TOo^Xr^X~OTZO[TO~OQ]O[rO~OR_O[tO~OVaO[vO~OPROQ]OR_OSXOTZOUVOVaO[TO~O[TOoZarZa~O[TOo]ar]a~O[TOo^ar^a~O[TOo_ar_a~OrPOPfaQfaRfaSfaTfaUfaVfa[faofa~O", - goto: "$UoPPPPPPPPPPpuPuuuuzzzu!P!Z!b!j#S#[#d#l#t#|VeOQfVdOQfVcOQfQQOSgQwRweSfOQRxfUSOQfRhSUUOQfQiSYjUikmoQkWQmYRo[UWOQfRlWUYOQfRnYU[OQfRp[U^OQfRq^U`OQfRs`UbOQfRub", - nodeNames: "\u26A0 print forward turn echo play ask color Comment Program Command Print Text Ask Echo Play Turtle Forward Turn Color ErrorInvalid", - maxTerm: 34, - nodeProps: [ - ["group", 16, "turtle"] - ], - skippedNodes: [0, 8], - repeatNodeCount: 10, - tokenData: "#O~RXOYnYZ!]Zpnpq!bqsnst!gt;'Sn;'S;=`!V<%lOn~sU[~OYnZpnqsnt;'Sn;'S;=`!V<%lOn~!YP;=`<%ln~!bOr~~!gOq~~!lSW~OY!gZ;'S!g;'S;=`!x<%lO!g~!{P;=`<%l!g", - tokenizers: [0], - topRules: { "Program": [0, 9] }, - dynamicPrecedences: { "20": -10 }, - specialized: [{ term: 12, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 0 - }); + function generateParser(level2, language2) { + void 0; + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "&`QYQPOOOOQO'#Cq'#CqQYQPOOOOQO'#Cs'#CsOwQPO'#CgOOQO'#Ct'#CtO!PQPO'#CpOOQO'#Cu'#CuO![QPO'#CiOOQO'#Cv'#CvO!dQPO'#CjOOQO'#Cw'#CwO!rQPO'#CkOOQO'#Cx'#CxO!zQPO'#CmOOQO'#Cy'#CyO#SQPO'#CnOOQO'#Cz'#CzO#[QPO'#CoOOQO'#Cl'#ClOOQO'#Cf'#CfQrQPO'#CrQ#dQPOOOOQO-E6o-E6oOOQO-E6q-E6qO$OQPO,59ROOQO-E6r-E6rO$ZQPO,59TOOQO-E6s-E6sO$fQPO,59UOOQO-E6t-E6tO$qQPO,59VOOQO-E6u-E6uOOQO-E6v-E6vOOQO,59X,59XOOQO-E6w-E6wOOQO,59Y,59YOOQO-E6x-E6xOOQO,59Z,59ZO$|QPO,59^OOQO-E6p-E6p", + stateData: "%n~OWOSqOS~OPROQ]OR_OSXOTZOUVOVaO[TOrPO~OPRO[TO~O[TOodXrdX~OUVO[TO~OSXO[TOo^Xr^X~OTZO[TO~OQ]O[rO~OR_O[tO~OVaO[vO~OPROQ]OR_OSXOTZOUVOVaO[TO~O[TOoZarZa~O[TOo]ar]a~O[TOo^ar^a~O[TOo_ar_a~OrPOPfaQfaRfaSfaTfaUfaVfa[faofa~O", + goto: "$UoPPPPPPPPPPpuPuuuuzzzu!P!Z!b!j#S#[#d#l#t#|VeOQfVdOQfVcOQfQQOSgQwRweSfOQRxfUSOQfRhSUUOQfQiSYjUikmoQkWQmYRo[UWOQfRlWUYOQfRnYU[OQfRp[U^OQfRq^U`OQfRs`UbOQfRub", + nodeNames: "\u26A0 print forward turn echo play ask color Comment Program Command Print Text Ask Echo Play Turtle Forward Turn Color ErrorInvalid", + maxTerm: 34, + nodeProps: [ + ["group", 16, "turtle"] + ], + skippedNodes: [0, 8], + repeatNodeCount: 10, + tokenData: "#O~RXOYnYZ!]Zpnpq!bqsnst!gt;'Sn;'S;=`!V<%lOn~sU[~OYnZpnqsnt;'Sn;'S;=`!V<%lOn~!YP;=`<%ln~!bOr~~!gOq~~!lSW~OY!gZ;'S!g;'S;=`!x<%lO!g~!{P;=`<%l!g", + tokenizers: [0], + topRules: { "Program": [0, 9] }, + dynamicPrecedences: { "20": -10 }, + specialized: [{ term: 12, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 0 + }); + } // static/js/lezer-parsers/level2-parser.ts - var parser2 = LRParser.deserialize({ - version: 14, - states: "'OQ]QPOOOOQO'#Ct'#CtQ]QPOOOwQPO'#CwO!VQPO'#CsOOQO'#Cy'#CyO!bQPO'#ClOOQO'#Cz'#CzO!jQPO'#CmOOQO'#C{'#C{O!rQPO'#CoOOQO'#C|'#C|O!zQPO'#CpOOQO'#C}'#C}O#SQPO'#CqOOQO'#Cn'#CnOOQO'#DO'#DOO#[QPO'#CrOOQO'#Ch'#ChQrQPO'#CuQ#jQPOOOOQO-E6r-E6rOOQO'#Cv'#CvO$RQPO,59TOOQO'#Cw'#CwOOQO-E6u-E6uO$^QPO,59WOOQO-E6w-E6wO$iQPO,59XOOQO-E6x-E6xOOQO-E6y-E6yOOQO,59Z,59ZOOQO-E6z-E6zOOQO,59[,59[OOQO-E6{-E6{OOQO,59],59]O$tQPO,59^OOQO-E6|-E6|O%PQPO,59aOOQO-E6s-E6sOOQO-E6t-E6tO%nQPO1G.oOOQO'#Cx'#CxO%yQPO1G.qO&RQPO7+$]OOQO-E6v-E6v", - stateData: "&^~OXOSuOSYOS~OQTORXOSZOT]OU`OVVO^ROvPO~OWfO^kXskXvkX~O^hOsgXvgX~OQTO^hO~OVVO^hO~ORXO^oO~OSZO^qO~OT]O^sO~OU`O^hOsfXvfX~OQTORXOSZOT]OU`OVVO^RO~OPzOWfO^hO~O^hOs`av`a~O^hOsaavaa~O^hOsfavfa~OvPOQiaRiaSiaTiaUiaVia^iasia~O^hOs]iv]i~OPzO^hO~O^hOs_qv_q~O", - goto: "$bsPPPPPPPPPPPPtyPyyyy!O!O!Oyy!T!_!f!l#Y#`#h#p#x$Q$YVcOQdVbOQdV_OQdQQOSeQvRvcSdOQRwdQgRRxgUSOQd[iSjlty|QjUQlWQtaQygR|{Q{gR}{UUOQdRkUUWOQdRmWUYOQdRnYU[OQdRp[U^OQdRr^UaOQdRua", - nodeNames: "\u26A0 ask print forward turn color sleep play is Comment SpecialChar Program Command Assign Text Ask Print Play Turtle Forward Turn Color Sleep ErrorInvalid", - maxTerm: 38, - nodeProps: [ - ["group", 18, "turtle"] - ], - skippedNodes: [0, 9, 10], - repeatNodeCount: 11, - tokenData: "#j~R^OY}YZ!rZp}pq!wqr!|rs}st#Rt!O}!O!P!|!P!a}!a!b!|!b;'S};'S;=`!l<%lO}~!SW^~OY}Zp}rs}t!O}!P!a}!b;'S};'S;=`!l<%lO}~!oP;=`<%l}~!wOv~~!|Ou~~#ROY~~#WSX~OY#RZ;'S#R;'S;=`#d<%lO#R~#gP;=`<%l#R", - tokenizers: [0], - topRules: { "Program": [0, 11] }, - dynamicPrecedences: { "23": -10 }, - specialized: [{ term: 14, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 14, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 0 - }); + function generateParser2(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "'OQ]QPOOOOQO'#Ct'#CtQ]QPOOOwQPO'#CwO!VQPO'#CsOOQO'#Cy'#CyO!bQPO'#ClOOQO'#Cz'#CzO!jQPO'#CmOOQO'#C{'#C{O!rQPO'#CoOOQO'#C|'#C|O!zQPO'#CpOOQO'#C}'#C}O#SQPO'#CqOOQO'#Cn'#CnOOQO'#DO'#DOO#[QPO'#CrOOQO'#Ch'#ChQrQPO'#CuQ#jQPOOOOQO-E6r-E6rOOQO'#Cv'#CvO$RQPO,59TOOQO'#Cw'#CwOOQO-E6u-E6uO$^QPO,59WOOQO-E6w-E6wO$iQPO,59XOOQO-E6x-E6xOOQO-E6y-E6yOOQO,59Z,59ZOOQO-E6z-E6zOOQO,59[,59[OOQO-E6{-E6{OOQO,59],59]O$tQPO,59^OOQO-E6|-E6|O%PQPO,59aOOQO-E6s-E6sOOQO-E6t-E6tO%nQPO1G.oOOQO'#Cx'#CxO%yQPO1G.qO&RQPO7+$]OOQO-E6v-E6v", + stateData: "&^~OXOSuOSYOS~OQTORXOSZOT]OU`OVVO^ROvPO~OWfO^kXskXvkX~O^hOsgXvgX~OQTO^hO~OVVO^hO~ORXO^oO~OSZO^qO~OT]O^sO~OU`O^hOsfXvfX~OQTORXOSZOT]OU`OVVO^RO~OPzOWfO^hO~O^hOs`av`a~O^hOsaavaa~O^hOsfavfa~OvPOQiaRiaSiaTiaUiaVia^iasia~O^hOs]iv]i~OPzO^hO~O^hOs_qv_q~O", + goto: "$bsPPPPPPPPPPPPtyPyyyy!O!O!Oyy!T!_!f!l#Y#`#h#p#x$Q$YVcOQdVbOQdV_OQdQQOSeQvRvcSdOQRwdQgRRxgUSOQd[iSjlty|QjUQlWQtaQygR|{Q{gR}{UUOQdRkUUWOQdRmWUYOQdRnYU[OQdRp[U^OQdRr^UaOQdRua", + nodeNames: "\u26A0 ask print forward turn color sleep play is Comment SpecialChar Program Command Assign Text Ask Print Play Turtle Forward Turn Color Sleep ErrorInvalid", + maxTerm: 38, + nodeProps: [ + ["group", 18, "turtle"] + ], + skippedNodes: [0, 9, 10], + repeatNodeCount: 11, + tokenData: "#j~R^OY}YZ!rZp}pq!wqr!|rs}st#Rt!O}!O!P!|!P!a}!a!b!|!b;'S};'S;=`!l<%lO}~!SW^~OY}Zp}rs}t!O}!P!a}!b;'S};'S;=`!l<%lO}~!oP;=`<%l}~!wOv~~!|Ou~~#ROY~~#WSX~OY#RZ;'S#R;'S;=`#d<%lO#R~#gP;=`<%l#R", + tokenizers: [0], + topRules: { "Program": [0, 11] }, + dynamicPrecedences: { "23": -10 }, + specialized: [{ term: 14, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 14, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 0 + }); + } // static/js/lezer-parsers/level3-parser.ts - var parser3 = LRParser.deserialize({ - version: 14, - states: "+|QYQPOOOOQO'#DO'#DOQYQPOOOzQPO'#DRO!YQPO'#C}OOQO'#DW'#DWO!eQPO'#CtOOQO'#DY'#DYO!mQPO'#CuOOQO'#DZ'#DZO!uQPO'#CwOOQO'#D['#D[O!}QPO'#CxOOQO'#D]'#D]O#VQPO'#CyOOQO'#Cv'#CvOOQO'#D^'#D^O#_QPO'#CzOOQO'#D_'#D_O#mQPO'#C{OOQO'#Da'#DaO#uQPO'#C|OOQO'#Cm'#CmQuQPO'#DPQ#}QPOOOOQO-E6|-E6|OOQO'#DQ'#DQO$lQPO,59YOOQO'#DR'#DROOQO-E7P-E7PO$wQPO'#DXOOQO-E7U-E7UOOQO'#DX'#DXO%VQPO,59`O%bQPO'#DRO%|QPO,59aOOQO-E7W-E7WOOQO,59a,59aO&XQPO,59cOOQO-E7X-E7XOOQO,59c,59cO&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xa~O", - goto: "&o!VPPPPPPPPPPPPPPPPP!W!]P!b!]!x!]!]!]!]!|!|!|!]!]!]!]#R#]#d#j$[$g$m$s$y%R%X%a%i%q%y&R&Z&a&iVgOQhVfOQhSpUqQuWQxYQ{[Q!O^Q!RaR![kT!g!Z!hV_OQhQQOSiQ!WR!WgShOQR!XhQkRR!YkUSOQh^mSs!S!U!Z!i!sQsWQ!ScQ!UeQ!ZkQ!i!^R!s!g[!`nrvy|!PR!k!`Q!m!`R!u!mQ!h!ZR!t!hQ!^kR!j!^UUOQhRoUQqUR!aqUWOQhRtWUYOQhRwYU[OQhRz[U^OQhR}^UaOQhR!QaUcOQhR!TcQ!c!SR!o!cUeOQhR!VeQ!e!UR!q!e", - nodeNames: "\u26A0 ask at random print forward turn color sleep play is add from remove to_list Comment Program Command Assign Text ListAccess AssignList Op Ask Print Play Turtle Forward Turn Color Sleep Add Remove ErrorInvalid", - maxTerm: 60, - nodeProps: [ - ["group", 26, "turtle"] - ], - skippedNodes: [0, 15], - repeatNodeCount: 19, - tokenData: "$`~RbOY!ZYZ#XZp!Zpq#^qs!Zst#ct|!Z|}#z}#Q!Z#RBn!ZBnBo$PBo&FV!Z&FV&FW$U&FW;'S!Z;'S;=`#R<%l?Hb!Z?Hb?Hc$Z?HcO!Z~!`Zc~OY!ZZp!Zqs!Zt|!Z}#Q!Z#RBn!ZBo&FV!Z&FW;'S!Z;'S;=`#R<%l?Hb!Z?HcO!Z~#UP;=`<%l!Z~#^O!Y~~#cO!X~~#hS_~OY#cZ;'S#c;'S;=`#t<%lO#c~#wP;=`<%l#c~$PO!Z~~$UO![~~$ZO!^~~$`O!]~", - tokenizers: [0], - topRules: { "Program": [0, 16] }, - dynamicPrecedences: { "33": -10 }, - specialized: [{ term: 19, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 19, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 0 - }); + function generateParser3(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "+|QYQPOOOOQO'#DO'#DOQYQPOOOzQPO'#DRO!YQPO'#C}OOQO'#DW'#DWO!eQPO'#CtOOQO'#DY'#DYO!mQPO'#CuOOQO'#DZ'#DZO!uQPO'#CwOOQO'#D['#D[O!}QPO'#CxOOQO'#D]'#D]O#VQPO'#CyOOQO'#Cv'#CvOOQO'#D^'#D^O#_QPO'#CzOOQO'#D_'#D_O#mQPO'#C{OOQO'#Da'#DaO#uQPO'#C|OOQO'#Cm'#CmQuQPO'#DPQ#}QPOOOOQO-E6|-E6|OOQO'#DQ'#DQO$lQPO,59YOOQO'#DR'#DROOQO-E7P-E7PO$wQPO'#DXOOQO-E7U-E7UOOQO'#DX'#DXO%VQPO,59`O%bQPO'#DRO%|QPO,59aOOQO-E7W-E7WOOQO,59a,59aO&XQPO,59cOOQO-E7X-E7XOOQO,59c,59cO&dQPO,59dOOQO-E7Y-E7YOOQO,59d,59dO&oQPO,59eOOQO-E7Z-E7ZOOQO,59e,59eO&zQPO,59fOOQO-E7[-E7[OOQO,59f,59fO'VQPO,59gOOQO-E7]-E7]O'_QPO,59hOOQO-E7_-E7_O'gQPO,59kOOQO-E6}-E6}OOQO-E7O-E7OO([QPO1G.tOOQO1G.t1G.tOOQO'#DV'#DVO(sQPO1G.yOOQO'#DS'#DSO({QPO,59[OOQO-E7V-E7VOOQO'#D`'#D`O)WQPO1G/ROOQO'#Db'#DbO)`QPO1G/SOOQO'#Cr'#CrO#pQPO'#DUO)hQPO7+$cO)|QPO7+$eOOQO-E7T-E7TOOQO-E7Q-E7QOOQO'#DT'#DTO*XQPO1G.vOOQO1G.v1G.vOOQO-E7^-E7^OOQO7+$m7+$mOOQO-E7`-E7`OOQO7+$n7+$nO*gQPO,59pOOQO-E7S-E7SOOQO-E7R-E7R", + stateData: "+O~O_OS!XOS~OSTOTXOUZOV]OW`OXVOZbO]dOcRO!YPO~OYjOcuX!VuX!YuX~OclO!VqX!YqX~OSTOcnO~OXVOcrO~OTXOcvO~OUZOcyO~OV]Oc|O~OW`Oc!PO!VnX!YnX~OZbOclO~O]dOclO~OSTOTXOUZOV]OW`OXVOZbO]dOcRO~OP!]OYjOcrO~OQ!_Oc{X!V{X!Y{X~OcnO!Vha!Yha~OQ!_OcuX!VuX!YuX!ZuX![uX!]uX!^uX~OclO!Via!Yia~OQ!_O!Vka!Yka~OQ!_O!Vla!Yla~OQ!_O!Vma!Yma~OQ!_O!Vna!Yna~O^!bOclO~O[!dOclO~O!YPOSsaTsaUsaVsaWsaXsaZsa]sacsa!Vsa~OclO!Z!fO![!fO!]!fO!^!fO!Vbi!Ybi~OP!]OclO~OQ!_OR!lOc!nO~O^!bOc!pO~O[!dOc!rO~O!Z!fO![!fO!]!fO!^!fO!Veq!Yeq~OclO!Vgq!Ygq~OR!lOcdi!Vdi!Ydi~OclO!Vxa!Yxa!Zxa![xa!]xa!^xa~O", + goto: "&o!VPPPPPPPPPPPPPPPPP!W!]P!b!]!x!]!]!]!]!|!|!|!]!]!]!]#R#]#d#j$[$g$m$s$y%R%X%a%i%q%y&R&Z&a&iVgOQhVfOQhSpUqQuWQxYQ{[Q!O^Q!RaR![kT!g!Z!hV_OQhQQOSiQ!WR!WgShOQR!XhQkRR!YkUSOQh^mSs!S!U!Z!i!sQsWQ!ScQ!UeQ!ZkQ!i!^R!s!g[!`nrvy|!PR!k!`Q!m!`R!u!mQ!h!ZR!t!hQ!^kR!j!^UUOQhRoUQqUR!aqUWOQhRtWUYOQhRwYU[OQhRz[U^OQhR}^UaOQhR!QaUcOQhR!TcQ!c!SR!o!cUeOQhR!VeQ!e!UR!q!e", + nodeNames: "\u26A0 ask at random print forward turn color sleep play is add from remove to_list Comment Program Command Assign Text ListAccess AssignList Op Ask Print Play Turtle Forward Turn Color Sleep Add Remove ErrorInvalid", + maxTerm: 60, + nodeProps: [ + ["group", 26, "turtle"] + ], + skippedNodes: [0, 15], + repeatNodeCount: 19, + tokenData: "$`~RbOY!ZYZ#XZp!Zpq#^qs!Zst#ct|!Z|}#z}#Q!Z#RBn!ZBnBo$PBo&FV!Z&FV&FW$U&FW;'S!Z;'S;=`#R<%l?Hb!Z?Hb?Hc$Z?HcO!Z~!`Zc~OY!ZZp!Zqs!Zt|!Z}#Q!Z#RBn!ZBo&FV!Z&FW;'S!Z;'S;=`#R<%l?Hb!Z?HcO!Z~#UP;=`<%l!Z~#^O!Y~~#cO!X~~#hS_~OY#cZ;'S#c;'S;=`#t<%lO#c~#wP;=`<%l#c~$PO!Z~~$UO![~~$ZO!^~~$`O!]~", + tokenizers: [0], + topRules: { "Program": [0, 16] }, + dynamicPrecedences: { "33": -10 }, + specialized: [{ term: 19, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 19, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 0 + }); + } // static/js/lezer-parsers/level4-parser.ts - var parser4 = LRParser.deserialize({ - version: 14, - states: ",`QYQPOOOOQO'#DR'#DRQYQPOOO}QPO'#DUO!]QPO'#DQOOQO'#D['#D[O!hQPO'#CvOOQO'#D]'#D]O!sQPO'#CwOOQO'#D^'#D^O#OQPO'#CxOOQO'#D_'#D_O#WQPO'#CzOOQO'#D`'#D`O#`QPO'#C{OOQO'#Da'#DaO#hQPO'#C|OOQO'#Cy'#CyOOQO'#Db'#DbO#pQPO'#C}OOQO'#Dc'#DcO$OQPO'#DOOOQO'#De'#DeO$WQPO'#DPOOQO'#Cn'#CnQxQPO'#DSQ$`QPOOOOQO-E7P-E7POOQO'#DT'#DTO%QQPO,59ZOOQO'#DU'#DUOOQO-E7S-E7SOOQO-E7Y-E7YO%]QPO'#DZOOQO'#DZ'#DZO%nQPO,59cOOQO-E7Z-E7ZO%|QPO'#DUO&hQPO,59dOOQO-E7[-E7[OOQO,59d,59dO&sQPO,59fOOQO-E7]-E7]OOQO,59f,59fO'OQ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!Zei!^ei~OdnO!Z{a!^{a!_{a!`{a!a{a!b{a~O", - goto: "&}!ZPPPPPPPPPPPPPPPPPP![!aP!f!a#O!aP!a!a!a!a#S#S#S!a!a!a!a#X#c#j#p$^$i$o$u${%V%_%g%o%w&P&X&a&i&o&wViOQjVhOQjWrWs!a!mQxYQ{[Q!O^Q!R`Q!UcR!_mT!j!^!kVaOQjQQOSkQ!ZR!ZiSjOQR![jQmRR!]mUSOQj[oSv!V!X!^!vQvYQ!VeQ!XgQ!^mR!v!j[!cquy|!P!SR!n!cQ!p!cR!x!pQ!k!^R!w!kQ!amR!l!aQsWS!ds!mR!m!aUUOQjRpUUWOQjRtWUYOQjRwYU[OQjRz[U^OQjR}^U`OQjR!Q`UcOQjR!TcUeOQjR!WeQ!f!VR!r!fUgOQjR!YgQ!h!XR!t!h", - nodeNames: "\u26A0 ask at random print forward turn color sleep play is add from remove to_list clear Comment Program Command Assign Text ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove ErrorInvalid", - maxTerm: 64, - nodeProps: [ - ["group", 29, "turtle"] - ], - skippedNodes: [0, 16], - repeatNodeCount: 20, - tokenData: ")V~R}YZ$Opq$Tqr$Yrs&ust'jtu$Yuv$Yvw$Ywx(Rxy$Yyz$Yz{$Y{|$Y|}(q}!O$Y!O!P$Y!P!Q$Y!Q![$Y![!]$Y!]!^$Y!^!_$Y!_!`$Y!`!a$Y!a!b$Y!b!c$Y!c!}$Y!}#O$Y#O#P$Y#P#Q$Y#Q#R$Y#R#S$Y#S#T$Y#T#o$Y#o#p$Y#q#r$Y#r#s$Y$gBn$YBnBo(vBo&FV$Y&FV&FW({&FW;'S$Y;'S;=`&o<%l?Hb$Y?Hb?Hc)Q?HcO$Y~$TO!^~~$YO!]~~$_td~qr$Ytu$Yuv$Yvw$Yxy$Yyz$Yz{$Y{|$Y}!O$Y!O!P$Y!P!Q$Y!Q![$Y![!]$Y!]!^$Y!^!_$Y!_!`$Y!`!a$Y!a!b$Y!b!c$Y!c!}$Y!}#O$Y#O#P$Y#P#Q$Y#Q#R$Y#R#S$Y#S#T$Y#T#o$Y#o#p$Y#q#r$Y#r#s$Y$gBn$YBo&FV$Y&FW;'S$Y;'S;=`&o<%l?Hb$Y?HcO$Y~&rP;=`<%l$Y~&xVOY&uZr&urs'_s#O&u#P;'S&u;'S;=`'d<%lO&u~'dOi~~'gP;=`<%l&u~'oS`~OY'jZ;'S'j;'S;=`'{<%lO'j~(OP;=`<%l'j~(UVOY(RZw(Rwx'_x#O(R#P;'S(R;'S;=`(k<%lO(R~(nP;=`<%l(R~(vO!_~~({O!`~~)QO!b~~)VO!a~", - tokenizers: [0], - topRules: { "Program": [0, 17] }, - dynamicPrecedences: { "36": -10 }, - specialized: [{ term: 20, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 20, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 0 - }); + function generateParser4(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: ",`QYQPOOOOQO'#DR'#DRQYQPOOO}QPO'#DUO!]QPO'#DQOOQO'#D['#D[O!hQPO'#CvOOQO'#D]'#D]O!sQPO'#CwOOQO'#D^'#D^O#OQPO'#CxOOQO'#D_'#D_O#WQPO'#CzOOQO'#D`'#D`O#`QPO'#C{OOQO'#Da'#DaO#hQPO'#C|OOQO'#Cy'#CyOOQO'#Db'#DbO#pQPO'#C}OOQO'#Dc'#DcO$OQPO'#DOOOQO'#De'#DeO$WQPO'#DPOOQO'#Cn'#CnQxQPO'#DSQ$`QPOOOOQO-E7P-E7POOQO'#DT'#DTO%QQPO,59ZOOQO'#DU'#DUOOQO-E7S-E7SOOQO-E7Y-E7YO%]QPO'#DZOOQO'#DZ'#DZO%nQPO,59cOOQO-E7Z-E7ZO%|QPO'#DUO&hQPO,59dOOQO-E7[-E7[OOQO,59d,59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!Zfq!^fq~OdqOirO!Zhq!^hq~OR!oOdeiiei!Zei!^ei~OdnO!Z{a!^{a!_{a!`{a!a{a!b{a~O", + goto: "&}!ZPPPPPPPPPPPPPPPPPP![!aP!f!a#O!aP!a!a!a!a#S#S#S!a!a!a!a#X#c#j#p$^$i$o$u${%V%_%g%o%w&P&X&a&i&o&wViOQjVhOQjWrWs!a!mQxYQ{[Q!O^Q!R`Q!UcR!_mT!j!^!kVaOQjQQOSkQ!ZR!ZiSjOQR![jQmRR!]mUSOQj[oSv!V!X!^!vQvYQ!VeQ!XgQ!^mR!v!j[!cquy|!P!SR!n!cQ!p!cR!x!pQ!k!^R!w!kQ!amR!l!aQsWS!ds!mR!m!aUUOQjRpUUWOQjRtWUYOQjRwYU[OQjRz[U^OQjR}^U`OQjR!Q`UcOQjR!TcUeOQjR!WeQ!f!VR!r!fUgOQjR!YgQ!h!XR!t!h", + nodeNames: "\u26A0 ask at random print forward turn color sleep play is add from remove to_list clear Comment Program Command Assign Text ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove ErrorInvalid", + maxTerm: 64, + nodeProps: [ + ["group", 29, "turtle"] + ], + skippedNodes: [0, 16], + repeatNodeCount: 20, + tokenData: ")V~R}YZ$Opq$Tqr$Yrs&ust'jtu$Yuv$Yvw$Ywx(Rxy$Yyz$Yz{$Y{|$Y|}(q}!O$Y!O!P$Y!P!Q$Y!Q![$Y![!]$Y!]!^$Y!^!_$Y!_!`$Y!`!a$Y!a!b$Y!b!c$Y!c!}$Y!}#O$Y#O#P$Y#P#Q$Y#Q#R$Y#R#S$Y#S#T$Y#T#o$Y#o#p$Y#q#r$Y#r#s$Y$gBn$YBnBo(vBo&FV$Y&FV&FW({&FW;'S$Y;'S;=`&o<%l?Hb$Y?Hb?Hc)Q?HcO$Y~$TO!^~~$YO!]~~$_td~qr$Ytu$Yuv$Yvw$Yxy$Yyz$Yz{$Y{|$Y}!O$Y!O!P$Y!P!Q$Y!Q![$Y![!]$Y!]!^$Y!^!_$Y!_!`$Y!`!a$Y!a!b$Y!b!c$Y!c!}$Y!}#O$Y#O#P$Y#P#Q$Y#Q#R$Y#R#S$Y#S#T$Y#T#o$Y#o#p$Y#q#r$Y#r#s$Y$gBn$YBo&FV$Y&FW;'S$Y;'S;=`&o<%l?Hb$Y?HcO$Y~&rP;=`<%l$Y~&xVOY&uZr&urs'_s#O&u#P;'S&u;'S;=`'d<%lO&u~'dOi~~'gP;=`<%l&u~'oS`~OY'jZ;'S'j;'S;=`'{<%lO'j~(OP;=`<%l'j~(UVOY(RZw(Rwx'_x#O(R#P;'S(R;'S;=`(k<%lO(R~(nP;=`<%l(R~(vO!_~~({O!`~~)QO!b~~)VO!a~", + tokenizers: [0], + topRules: { "Program": [0, 17] }, + dynamicPrecedences: { "36": -10 }, + specialized: [{ term: 20, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 20, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 0 + }); + } // static/js/lezer-parsers/level5-parser.ts - var parser5 = LRParser.deserialize({ - version: 14, - states: "0bQYQPOOOOQO'#D_'#D_QYQPOOO!TQPO'#DbO!fQPO'#D]OOQO'#Dh'#DhO!tQPO'#C{OOQO'#Di'#DiO#SQPO'#C|OOQO'#Dj'#DjO#_QPO'#C}OOQO'#Dk'#DkO#gQPO'#DPOOQO'#Dl'#DlO#oQPO'#DQOOQO'#Dm'#DmO#wQPO'#DROOQO'#DO'#DOOOQO'#Dn'#DnO$PQPO'#DSOOQO'#Do'#DoO$bQPO'#DTOOQO'#Dq'#DqO$jQPO'#DUOOQO'#Ds'#DsO$rQPO'#DVOOQO'#Dw'#DwO%oQPO'#D^OOQO'#Cs'#CsQ!OQPO'#D`Q%vQPOOOOQO-E7]-E7]OOQO'#Da'#DaO%}QPO,59`OOQO'#Db'#DbOOQO-E7`-E7`OOQO-E7f-E7fO&YQPO'#DgOOQO'#Dg'#DgO&nQPO,59hOOQO-E7g-E7gO'PQPO'#DbO'nQPO,59iOOQO-E7h-E7hOOQO,59i,59iO'|QPO,59kOOQO-E7i-E7iOOQO,59k,59kO([QPO,59lOOQO-E7j-E7jOOQO,59l,59lO(jQPO,59mOOQO-E7k-E7kOOQO,59m,59mO(xQPO,59nOOQO-E7l-E7lOOQO,59n,59nO)WQPO,59oOOQO-E7m-E7mO)`QPO,59pOOQO-E7o-E7oOOQO-E7q-E7qO)hQPO'#DXOOQO'#DW'#DWO`QPO,59qO`QPO,59xOOQO'#D['#D[OOQO-E7u-E7uOOQO,59x,59xO)sQPO,59zOOQO-E7^-E7^OOQO-E7_-E7_O*qQPO1G.zOOQO1G.z1G.zOOQO'#Df'#DfO+]QPO1G/POOQO'#Dc'#DcO+hQPO,59bOOQO-E7e-E7eOOQO'#Dp'#DpO+sQPO1G/ZOOQO'#Dr'#DrO+{QPO1G/[O,TQPO,59sOOQO'#Du'#DuO,cQPO,59tOOQO'#Dv'#DvO,kQPO,59uO`QPO1G/]O,sQPO1G/]OOQO1G/d1G/dOOQO'#Cx'#CxO$eQPO'#DeO-OQPO7+$iOOQO-E7d-E7dO-gQPO7+$kOOQO-E7a-E7aOOQO'#Dd'#DdO-xQPO1G.|OOQO1G.|1G.|OOQO-E7n-E7nOOQO7+$u7+$uOOQO-E7p-E7pOOQO7+$v7+$vOOQO'#Dt'#DtO.^QPO1G/_OOQO1G/_1G/_OOQO-E7s-E7sOOQO1G/`1G/`OOQO-E7t-E7tOOQO1G/a1G/aO/UQPO7+$wOOQO7+$w7+$wO/aQPO,5:POOQO-E7c-E7cOOQO-E7b-E7bOOQO-E7r-E7rOOQO< specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 25, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 0 - }); + function generateParser5(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: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-E7dO-gQPO7+$kOOQO-E7a-E7aOOQO'#Dd'#DdO-xQPO1G.|OOQO1G.|1G.|OOQO-E7n-E7nOOQO7+$u7+$uOOQO-E7p-E7pOOQO7+$v7+$vOOQO'#Dt'#DtO.^QPO1G/_OOQO1G/_1G/_OOQO-E7s-E7sOOQO1G/`1G/`OOQO-E7t-E7tOOQO1G/a1G/aO/UQPO7+$wOOQO7+$w7+$wO/aQPO,5:POOQO-E7c-E7cOOQO-E7b-E7bOOQO-E7r-E7rOOQO< specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 25, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 0 + }); + } // static/js/lezer-parsers/level6-parser.ts - var parser6 = LRParser.deserialize({ - version: 14, - states: "2`QYQPOOOOQO'#Dd'#DdQYQPOOO!TQPO'#DjO!iQPO'#DbOOQO'#Dn'#DnO!wQPO'#DQO#VQPO'#DROOQO'#Do'#DoO#bQPO'#DSOOQO'#Dp'#DpO#mQPO'#DUOOQO'#Dq'#DqO#xQPO'#DVOOQO'#Dr'#DrO$TQPO'#DWOOQO'#DT'#DTOOQO'#Ds'#DsO$`QPO'#DXOOQO'#Dt'#DtO$tQPO'#DYOOQO'#Dv'#DvO$|QPO'#DZOOQO'#Dx'#DxO%UQPO'#D[OOQO'#D|'#D|O&UQPO'#DcOOQO'#Cs'#CsQ!OQPO'#DeQ&]QPOOOOQO-E7b-E7bOOQO'#Df'#DfO&dQPO,59`OOQO'#Cv'#CvO&rQPO,59`OOQO'#Dj'#DjOOQO-E7h-E7hOOQO-E7l-E7lO&}QPO'#DmOOQO'#Cw'#CwO(aQPO'#CwOOQO'#Dm'#DmO(hQPO,59mO(|QPO,59nOOQO-E7m-E7mOOQO,59n,59nO)eQPO,59pOOQO-E7n-E7nOOQO,59p,59pO)|QPO,59qOOQO-E7o-E7oOOQO,59q,59qO*eQPO,59rOOQO-E7p-E7pOOQO,59r,59rO*|QPO,59sOOQO-E7q-E7qOOQO,59s,59sO+eQPO,59tOOQO-E7r-E7rO+mQPO,59uOOQO-E7t-E7tOOQO-E7v-E7vO+uQPO'#D^OOQO'#D]'#D]O`QPO,59vO`QPO,59}OOQO'#Da'#DaOOQO-E7z-E7zOOQO,59},59}O,TQPO,5:POOQO-E7c-E7cOOQO-E7d-E7dO-RQPO'#DgO-pQPO1G/SO.QQPO'#CwOOQO'#Dg'#DgO.eQPO1G.zO.vQPO1G/SOOQO'#Dl'#DlO/XQPO1G/UOOQO'#Cy'#CyOOQO'#Cz'#CzO/gQPO,5:nO/gQPO,5:nOOQO'#Dh'#DhO/oQPO,59gOOQO-E7k-E7kOOQO'#Du'#DuO/}QPO1G/`OOQO'#Dw'#DwO0VQPO1G/aO0_QPO,59xO0pQPO,59xOOQO'#Dz'#DzO1OQPO,59yOOQO'#D{'#D{O1WQPO,59zO`QPO1G/bO1`QPO1G/bOOQO1G/i1G/iOOQO'#C}'#C}O1kQPO'#DkO1sQPO7+$nOOQO-E7e-E7eOOQO-E7j-E7jO2[QPO7+$pOOQO1G0Y1G0YO2pQPO1G0YOOQO-E7f-E7fOOQO'#Di'#DiO3}QPO1G/ROOQO1G/R1G/ROOQO-E7s-E7sOOQO7+$z7+$zOOQO-E7u-E7uOOQO7+${7+${O5ZQPO1G/dOOQO'#Dy'#DyO5kQPO1G/dOOQO1G/d1G/dOOQO-E7x-E7xOOQO1G/e1G/eOOQO-E7y-E7yOOQO1G/f1G/fO5rQPO7+$|OOQO7+$|7+$|O5}QPO,5:VOOQO,5:V,5:VOOQO-E7i-E7iOOQO-E7g-E7gOOQO-E7w-E7wOOQO< specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 25, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 991 - }); + function generateParser6(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "2`QYQPOOOO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PO,59yOOQO'#D{'#D{O1WQPO,59zO`QPO1G/bO1`QPO1G/bOOQO1G/i1G/iOOQO'#C}'#C}O1kQPO'#DkO1sQPO7+$nOOQO-E7e-E7eOOQO-E7j-E7jO2[QPO7+$pOOQO1G0Y1G0YO2pQPO1G0YOOQO-E7f-E7fOOQO'#Di'#DiO3}QPO1G/ROOQO1G/R1G/ROOQO-E7s-E7sOOQO7+$z7+$zOOQO-E7u-E7uOOQO7+${7+${O5ZQPO1G/dOOQO'#Dy'#DyO5kQPO1G/dOOQO1G/d1G/dOOQO-E7x-E7xOOQO1G/e1G/eOOQO-E7y-E7yOOQO1G/f1G/fO5rQPO7+$|OOQO7+$|7+$|O5}QPO,5:VOOQO,5:V,5:VOOQO-E7i-E7iOOQO-E7g-E7gOOQO-E7w-E7wOOQO< specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 25, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 991 + }); + } // static/js/lezer-parsers/level7-parser.ts - var parser7 = LRParser.deserialize({ - version: 14, - states: "3bQYQPOOOOQO'#Dg'#DgQYQPOOO!WQPO'#DmO!lQPO'#DeOOQO'#Dq'#DqO!zQPO'#DSO#YQPO'#DTOOQO'#Dr'#DrO#eQPO'#DUOOQO'#Ds'#DsO#pQPO'#DWOOQO'#Dt'#DtO#{QPO'#DXOOQO'#Du'#DuO$WQPO'#DYOOQO'#DV'#DVOOQO'#Dv'#DvO$cQPO'#DZOOQO'#Dw'#DwO$wQPO'#D[OOQO'#Dy'#DyO%PQPO'#D]OOQO'#D{'#D{O%XQPO'#D^OOQO'#EP'#EPO%dQPO'#DdOOQO'#ER'#ERO&gQPO'#DfOOQO'#Cu'#CuQ!RQPO'#DhQ&nQPOOOOQO-E7e-E7eOOQO'#Di'#DiO&uQPO,59bOOQO'#Cx'#CxO'TQPO,59bOOQO'#Dm'#DmOOQO-E7k-E7kOOQO-E7o-E7oO'`QPO'#DpOOQO'#Cy'#C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PO,5:YOOQO,5:Y,5:YOOQO-E7l-E7lOOQO-E7j-E7jOOQO-E7z-E7zOOQO< specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 27, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1038 - }); + function generateParser7(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "3bQYQPOOOOQO'#Dg'#DgQYQPOOO!WQPO'#DmO!lQPO'#DeOOQO'#Dq'#DqO!zQPO'#DSO#YQPO'#DTOOQO'#Dr'#DrO#eQPO'#DUOOQO'#Ds'#DsO#pQPO'#DWOOQO'#Dt'#DtO#{QPO'#DXOOQO'#Du'#DuO$WQPO'#DYOOQO'#DV'#DVOOQO'#Dv'#DvO$cQPO'#DZOOQO'#Dw'#DwO$wQPO'#D[OOQO'#Dy'#DyO%PQPO'#D]OOQO'#D{'#D{O%XQPO'#D^OOQO'#EP'#EPO%dQPO'#DdOOQO'#ER'#ERO&gQPO'#DfOOQO'#Cu'#CuQ!RQPO'#DhQ&nQPOOOOQO-E7e-E7eOOQO'#Di'#DiO&uQPO,59bOOQO'#Cx'#CxO'TQPO,59bOOQO'#Dm'#DmOOQO-E7k-E7kOOQO-E7o-E7oO'`QPO'#DpOOQO'#Cy'#CyO(rQPO'#CyOOQO'#Dp'#DpO(yQPO,59oO)_QPO,59pOOQO-E7p-E7pOOQO,59p,59pO)vQPO,59rOOQO-E7q-E7qOOQO,59r,59rO*_QPO,59sOOQO-E7r-E7rOOQO,59s,59sO*vQPO,59tOOQO-E7s-E7sOOQO,59t,59tO+_QPO,59uOOQO-E7t-E7tOOQO,59u,59uO+vQPO,59vOOQO-E7u-E7uO,OQPO,59wOOQO-E7w-E7wOOQO-E7y-E7yO,WQPO'#D`OOQO'#D_'#D_O`QPO,59xOOQO-E7}-E7}O,fQPO,5:OO`QPO,5:QOOQO'#Dc'#DcOOQO-E8P-E8POOQO,5:Q,5:QO,kQPO,5:SOOQO-E7f-E7fOOQO-E7g-E7gO-lQPO'#DjO.ZQPO1G/UO.kQPO'#CyOOQO'#Dj'#DjO/OQPO1G.|O/aQPO1G/UOOQO'#Do'#DoO/rQPO1G/WOOQO'#C{'#C{OOQO'#C|'#C|O0QQPO,5:sO0QQPO,5:sOOQO'#Dk'#DkO0YQPO,59iOOQO-E7n-E7nOOQO'#Dx'#DxO0hQPO1G/bOOQO'#Dz'#DzO0pQPO1G/cO0xQPO,59zO1ZQPO,59zOOQO'#D}'#D}O1iQPO,59{OOQO'#EO'#EOO1qQPO,59|O`QPO1G/dO1yQPO1G/dOOQO'#EQ'#EQO2UQPO1G/jOOQO1G/l1G/lOOQO'#DP'#DPO2fQPO'#DnO2nQPO7+$pOOQO-E7h-E7hOOQO-E7m-E7mO3VQPO7+$rOOQO1G0_1G0_O3kQPO1G0_OOQO-E7i-E7iOOQO'#Dl'#DlO4{QPO1G/TOOQO1G/T1G/TOOQO-E7v-E7vOOQO7+$|7+$|OOQO-E7x-E7xOOQO7+$}7+$}O6[QPO1G/fOOQO'#D|'#D|O6lQPO1G/fOOQO1G/f1G/fOOQO-E7{-E7{OOQO1G/g1G/gOOQO-E7|-E7|OOQO1G/h1G/hO6sQPO7+%OOOQO7+%O7+%OOOQO-E8O-E8OOOQO7+%U7+%UO7OQPO,5:YOOQO,5:Y,5:YOOQO-E7l-E7lOOQO-E7j-E7jOOQO-E7z-E7zOOQO< specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 27, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1038 + }); + } // static/js/lezer-parsers/level8-parser.ts - var parser8 = LRParser.deserialize({ - version: 14, - states: "2SQYQPOOOOQO'#Df'#DfQYQPOOO!WQPO'#DlO!iQPO'#DeOOQO'#Dp'#DpO!tQPO'#DSO#PQPO'#DTOOQO'#Dq'#DqO#[QPO'#DUOOQO'#Dr'#Dr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!bhS#k#P#QR#v#kQ#S!cR#m#SQ#U!cR#o#UUjOQoR!fjUlOQoR!glQ#W!hR#q#WqyVXZ]_brt|!p!s!v!w#P#Q#^", - nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat ErrorInvalid", - maxTerm: 96, - nodeProps: [ - ["group", 41, "turtle"] - ], - skippedNodes: [0, 23], - repeatNodeCount: 27, - tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo1]BoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FV&FW1b&FW;'S&Z;'S;=`*b<%l?Hb&Z?Hb?Hc1g?HcO&Z~&UO!x~~&ZO!w~~&`!`k~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R&Z!R!S&Z!S!T&Z!T!U&Z!U!V&Z!V!W&Z!W!X&Z!X!Y&Z!Y!Z&Z!Z![&Z![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T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, extend: true }], - tokenPrec: 894 - }); + function generateParser8(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "2SQYQPOOOOQO'#Df'#DfQYQPOOO!WQPO'#DlO!iQPO'#DeOOQO'#Dp'#DpO!tQPO'#DSO#PQPO'#DTOOQO'#Dq'#DqO#[QPO'#DUOOQO'#Dr'#DrO#gQPO'#DWOOQO'#Ds'#DsO#rQPO'#DXOOQO'#Dt'#DtO#}QPO'#DYOOQO'#DV'#DVOOQO'#Du'#DuO$YQPO'#DZOOQO'#Dv'#DvO$kQPO'#D[OOQO'#Dx'#DxO$sQPO'#D]OOQO'#Dz'#DzO${QPO'#D^OOQO'#EO'#EOO%WQPO'#DcOOQO'#EP'#EPO%cQPO'#DdOOQO'#Cu'#CuQ!RQPO'#DgQ%nQPOOOOQO-E7d-E7dOOQO'#Dh'#DhO&iQPO,59bOOQO'#Cx'#CxO&wQPO,59bOOQO'#Dl'#DlOOQO-E7j-E7jOOQO-E7n-E7nO'SQPO'#DoOOQO'#Cy'#CyO(`QPO'#CyOOQO'#Do'#DoO(gQPO,59oO(xQPO,59pOOQO-E7o-E7oOOQO,59p,59pO)^QPO,59rOOQO-E7p-E7pOOQO,59r,59rO)rQPO,59sOOQO-E7q-E7qOOQO,59s,59sO*WQPO,59tOOQO-E7r-E7rOOQO,59t,59tO*lQPO,59uOOQO-E7s-E7sOOQO,59u,59uO+QQPO,59vOOQO-E7t-E7tO+YQPO,59wOOQO-E7v-E7vOOQO-E7x-E7xO+bQPO'#D`OOQO'#D_'#D_OOQO,59x,59xOOQO-E7|-E7|OOQO-E7}-E7}O+pQPO,5:OO+uQPO,5:ROOQO-E7e-E7eOOQO-E7f-E7fO,vQPO'#DiO-bQPO1G/UO-rQPO'#CyOOQO'#Di'#DiO.VQPO1G.|O.eQPO1G/UOOQO'#Dn'#DnO.vQPO1G/WOOQO'#C{'#C{OOQO'#C|'#C|O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inSoOQR!joQrRS!kr#PR#P!cS!prtR#[!pS!yz!nR#a!yQ#c!yR#u#cUSOQoYvS!^!`!q#rQ!^dQ!`fS!qrtR#r#YS#Z!m!qR#t#ZS!srtR#]!sQ|VS!z|#^R#^!sUUOQoRwUUXOQoR!OXUZOQoR!RZU]OQoR!U]U_OQoR!X_UbOQoR![bUdOQoR!_dQ!|!^R#e!|UfOQoR!afQ#O!`R#g#OUhOQoR!bhS#k#P#QR#v#kQ#S!cR#m#SQ#U!cR#o#UUjOQoR!fjUlOQoR!glQ#W!hR#q#WqyVXZ]_brt|!p!s!v!w#P#Q#^", + nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat ErrorInvalid", + maxTerm: 96, + nodeProps: [ + ["group", 41, "turtle"] + ], + skippedNodes: [0, 23], + repeatNodeCount: 27, + tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo1]BoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FV&FW1b&FW;'S&Z;'S;=`*b<%l?Hb&Z?Hb?Hc1g?HcO&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Gu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O!y~~1bO#Q~~1gO#S~~1lO#R~", + tokenizers: [0], + topRules: { "Program": [0, 24] }, + dynamicPrecedences: { "55": -10 }, + specialized: [{ term: 27, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 27, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 894 + }); + } // static/js/lezer-parsers/level9-parser.ts - var parser9 = LRParser.deserialize({ - version: 14, - states: "2SQYQPOOOOQO'#Df'#DfQYQPOOO!WQPO'#DlO!iQPO'#DeOOQO'#Dp'#DpO!tQPO'#DSO#PQPO'#DTOOQO'#Dq'#DqO#[QPO'#DUOOQO'#Dr'#DrO#gQPO'#DWOOQO'#Ds'#DsO#rQPO'#DXOOQO'#Dt'#DtO#}QPO'#DYOOQO'#DV'#DVOOQO'#Du'#DuO$YQPO'#DZOOQO'#Dv'#DvO$kQPO'#D[OOQO'#Dx'#DxO$sQPO'#D]OOQO'#Dz'#DzO${QPO'#D^OOQO'#EO'#EOO%WQPO'#DcOOQO'#EP'#EPO%cQPO'#DdOOQO'#Cu'#CuQ!RQPO'#DgQ%nQPOOOOQO-E7d-E7dOOQO'#Dh'#DhO&iQPO,59bOOQO'#Cx'#CxO&wQPO,59bOOQO'#Dl'#DlOOQO-E7j-E7jOOQO-E7n-E7nO'SQPO'#DoOOQO'#Cy'#CyO(`QPO'#CyOOQO'#Do'#DoO(gQPO,59oO(xQPO,59pOOQO-E7o-E7oOOQO,59p,59pO)^QPO,59rOOQO-E7p-E7pOOQO,59r,59rO)rQPO,59sOOQO-E7q-E7qOOQO,59s,59sO*WQPO,59tOOQO-E7r-E7rOOQO,59t,59tO*lQPO,59uOOQO-E7s-E7sOOQO,59u,59uO+QQPO,59vOOQO-E7t-E7tO+YQPO,59wOOQO-E7v-E7vOOQO-E7x-E7xO+bQPO'#D`OOQO'#D_'#D_O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oQtRR#Q!cWxV|!s#^Q}XQ!QZQ!T]Q!W_Q!ZbU!lrt!pQ#_!vQ#`!wT#i#P#Qc!vx}!Q!T!W!Z!l#`#ic!wx}!Q!T!W!Z!l#`#iW{V|!s#^Q!PXQ!SZQ!V]Q!Y_Q!]bV!ort!pV#Y!m!q#ZV`OQoR!ehR!dhQQOSpQ!iR!inSoOQR!joQrRS!kr#PR#P!cS!prtR#[!pS!yz!nR#a!yQ#c!yR#u#cUSOQoYvS!^!`!q#rQ!^dQ!`fS!qrtR#r#YS#Z!m!qR#t#ZS!srtR#]!sQ|VS!z|#^R#^!sUUOQoRwUUXOQoR!OXUZOQoR!RZU]OQoR!U]U_OQoR!X_UbOQoR![bUdOQoR!_dQ!|!^R#e!|UfOQoR!afQ#O!`R#g#OUhOQoR!bhS#k#P#QR#v#kQ#S!cR#m#SQ#U!cR#o#UUjOQoR!fjUlOQoR!glQ#W!hR#q#WqyVXZ]_brt|!p!s!v!w#P#Q#^", - nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat ErrorInvalid", - maxTerm: 96, - nodeProps: [ - ["group", 41, "turtle"] - ], - skippedNodes: [0, 23], - repeatNodeCount: 27, - tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo1]BoD`&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#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O!y~~1bO#Q~~1gO#S~~1lO#R~", - tokenizers: [0], - topRules: { "Program": [0, 24] }, - dynamicPrecedences: { "55": -10 }, - specialized: [{ term: 27, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 27, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 894 - }); + function generateParser9(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "2SQYQPOOOOQO'#Df'#DfQYQPOOO!WQPO'#DlO!iQPO'#DeOOQO'#Dp'#DpO!tQPO'#DSO#PQPO'#DTOOQO'#Dq'#DqO#[QPO'#DUOOQO'#Dr'#DrO#gQPO'#DWOOQO'#Ds'#DsO#rQPO'#DXOOQO'#Dt'#DtO#}QPO'#DYOOQO'#DV'#DVOOQO'#Du'#DuO$YQPO'#DZOOQO'#Dv'#DvO$kQPO'#D[OOQO'#Dx'#DxO$sQPO'#D]OOQO'#Dz'#DzO${QPO'#D^OOQO'#EO'#EOO%WQPO'#DcOOQO'#EP'#EPO%cQPO'#DdOOQO'#Cu'#CuQ!RQPO'#DgQ%nQPOOOOQO-E7d-E7dOOQO'#Dh'#DhO&iQPO,59bOOQO'#Cx'#CxO&wQPO,59bOOQO'#Dl'#DlOOQO-E7j-E7jOOQO-E7n-E7nO'SQPO'#DoOOQO'#Cy'#CyO(`QPO'#CyOOQO'#Do'#DoO(gQPO,59oO(xQPO,59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T#jO!u!Si!x!Si~OkuO!u!aa!x!aa#P!aa#Q!aa#R!aa#S!aa~Onk~", + goto: "*o!{PPPPPPPPPPPPPPPPPPPPPPPPP!|#RP#W#^P$S$_$j#R%U#RP#R#R#R#R%Z%Z%Z#R#R#R#R%`%c%c%c#R#R#R%f%p%w&R&Y&a&g'Q'X'`'j'r'z(S([(d(l(t(z)S)Y)b)i)o)u)}*VPPPPP*]VnOQoVmOQoQtRR#Q!cWxV|!s#^Q}XQ!QZQ!T]Q!W_Q!ZbU!lrt!pQ#_!vQ#`!wT#i#P#Qc!vx}!Q!T!W!Z!l#`#ic!wx}!Q!T!W!Z!l#`#iW{V|!s#^Q!PXQ!SZQ!V]Q!Y_Q!]bV!ort!pV#Y!m!q#ZV`OQoR!ehR!dhQQOSpQ!iR!inSoOQR!joQrRS!kr#PR#P!cS!prtR#[!pS!yz!nR#a!yQ#c!yR#u#cUSOQoYvS!^!`!q#rQ!^dQ!`fS!qrtR#r#YS#Z!m!qR#t#ZS!srtR#]!sQ|VS!z|#^R#^!sUUOQoRwUUXOQoR!OXUZOQoR!RZU]OQoR!U]U_OQoR!X_UbOQoR![bUdOQoR!_dQ!|!^R#e!|UfOQoR!afQ#O!`R#g#OUhOQoR!bhS#k#P#QR#v#kQ#S!cR#m#SQ#U!cR#o#UUjOQoR!fjUlOQoR!glQ#W!hR#q#WqyVXZ]_brt|!p!s!v!w#P#Q#^", + nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat ErrorInvalid", + maxTerm: 96, + nodeProps: [ + ["group", 41, "turtle"] + ], + skippedNodes: [0, 23], + repeatNodeCount: 27, + tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,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O+t~,aP;=`<%l+t~,iO!{~~,nO!}~~,sO#P~~,xO#O~~,}O!|~~-U!`n~k~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O!y~~1bO#Q~~1gO#S~~1lO#R~", + tokenizers: [0], + topRules: { "Program": [0, 24] }, + dynamicPrecedences: { "55": -10 }, + specialized: [{ term: 27, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 27, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 894 + }); + } // static/js/lezer-parsers/level10-parser.ts - var parser10 = LRParser.deserialize({ - version: 14, - states: "2xQYQPOOOOQO'#Dh'#DhQYQPOOO!ZQPO'#DnO!lQPO'#DgOOQO'#Dr'#DrO!wQPO'#DTO#SQPO'#DUOOQO'#Ds'#DsO#_QPO'#DVOOQO'#Dt'#DtO#jQPO'#DXOOQO'#Du'#DuO#uQPO'#DYOOQO'#Dv'#DvO$QQPO'#DZOOQO'#DW'#DWOOQO'#Dw'#DwO$]QPO'#D[OOQO'#Dx'#DxO$nQPO'#D]OOQO'#Dz'#DzO$vQPO'#D^OOQO'#D|'#D|O%OQPO'#D_OOQO'#EQ'#EQO%ZQPO'#DdOOQO'#ER'#ERO%fQPO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R!ilQ#[!jR#v#[UnOQqR!knq{VXZ]_btv!O!t!w!z!{#T#U#c", - nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times for Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For ErrorInvalid", - maxTerm: 99, - nodeProps: [ - ["group", 42, "turtle"] - ], - skippedNodes: [0, 24], - repeatNodeCount: 28, - tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo1]BoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FV&FW1b&FW;'S&Z;'S;=`*b<%l?Hb&Z?Hb?Hc1g?HcO&Z~&UO!{~~&ZO!z~~&`!`l~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R&Z!R!S&Z!S!T&Z!T!U&Z!U!V&Z!V!W&Z!W!X&Z!X!Y&Z!Y!Z&Z!Z![&Z![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg&ZDgDh&ZDhDi&ZDiDj&ZDjDk&ZDkDl&ZDlDm&ZDmDn&ZDnDo&ZDoDp&ZDvGl&ZGlGm&ZGmGn&ZGnGo&ZGoGp&ZGpGq&ZGqGr&ZGrGs&ZGsGt&ZGtGu&ZGuGv&ZGv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~*eP;=`<%l&Z~*kVOY*hZr*hrs+Qs#O*h#P;'S*h;'S;=`+V<%lO*h~+VOv~~+YP;=`<%l*h~+bSh~OY+]Z;'S+];'S;=`+n<%lO+]~+qP;=`<%l+]~+wVOY+tZw+twx+Qx#O+t#P;'S+t;'S;=`,^<%lO+t~,aP;=`<%l+t~,iO#O~~,nO#Q~~,sO#S~~,xO#R~~,}O#P~~-U!`o~l~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O!|~~1bO#T~~1gO#V~~1lO#U~", - tokenizers: [0], - topRules: { "Program": [0, 25] }, - dynamicPrecedences: { "57": -10 }, - specialized: [{ term: 28, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 28, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 924 - }); + function generateParser10(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "2xQYQPOOOOQO'#Dh'#DhQYQPOOO!ZQPO'#DnO!lQPO'#DgOOQO'#Dr'#DrO!wQPO'#DTO#SQPO'#DUOOQO'#Ds'#DsO#_QPO'#DVOOQO'#Dt'#DtO#jQPO'#DXOOQO'#Du'#DuO#uQPO'#DYOOQO'#Dv'#DvO$QQPO'#DZOOQO'#DW'#DWOOQO'#Dw'#DwO$]QPO'#D[OOQO'#Dx'#DxO$nQPO'#D]OOQO'#Dz'#DzO$vQPO'#D^OOQO'#D|'#D|O%OQPO'#D_OOQO'#EQ'#EQO%ZQPO'#DdOOQO'#ER'#ERO%fQPO'#DeOOQO'#ET'#ETO%qQPO'#DfOOQO'#Cv'#CvQ!UQPO'#DiQ%yQPOOOOQO-E7f-E7fOOQO'#Dj'#DjO&wQPO,59cOOQO'#Cy'#CyO'VQPO,59cOOQO'#Dn'#DnOOQO-E7l-E7lOOQO-E7p-E7pO'bQPO'#DqOOQO'#Cz'#CzO(nQPO'#CzOOQO'#Dq'#DqO(uQPO,59pO)WQPO,59qOOQO-E7q-E7qOOQO,59q,59qO)lQPO,59sOOQO-E7r-E7rOOQO,59s,59sO*QQPO,59tOOQO-E7s-E7sOOQO,59t,59tO*fQPO,59uOOQO-E7t-E7tOOQO,59u,59uO*zQPO,59vOOQO-E7u-E7uOOQO,59v,59vO+`QPO,59wOOQO-E7v-E7vO+hQPO,59xOOQO-E7x-E7xOOQO-E7z-E7zO+pQPO'#DaOOQO'#D`'#D`OOQO,59y,59yOOQO-E8O-E8OOOQO-E8P-E8PO,OQPO,5:POOQO-E8R-E8RO,TQPO,5:QO,YQPO,5:TOOQO-E7g-E7gOOQO-E7h-E7hO-^QPO'#DkO-xQPO1G/VO.YQPO'#CzOOQO'#Dk'#DkO.mQPO1G.}O.{QPO1G/VOOQO'#Dp'#DpO/^QPO1G/XOOQO'#C|'#C|OOQO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e#nc!{z!P!S!V!Y!]!p#e#nW}V!O!w#cQ!RXQ!UZQ!X]Q![_Q!_bV!stv!tV#_!q!u#`V`OQqR!ghR!fhQQOSrQ!mR!mpSqOQR!nqQtRS!ot#TR#T!eS!ttvR#a!tS!}|!rR#f!}Q#h!}R#{#hUSOQqYxS!`!b!u#xQ!`dQ!bfS!utvR#x#_S#`!q!uR#z#`S!wtvR#b!wQ!OVS#O!O#cR#c!wUUOQqRyUUXOQqR!QXUZOQqR!TZU]OQqR!W]U_OQqR!Z_UbOQqR!^bUdOQqR!adQ#Q!`R#j#QUfOQqR!cfQ#S!bR#l#SUhOQqR!dhS#p#T#UR#|#pQ#W!eQ#]!lT#r#W#]Q#Y!eR#t#YUjOQqR!hjUlOQqR!ilQ#[!jR#v#[UnOQqR!knq{VXZ]_btv!O!t!w!z!{#T#U#c", + nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times for Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For ErrorInvalid", + maxTerm: 99, + nodeProps: [ + ["group", 42, "turtle"] + ], + skippedNodes: [0, 24], + repeatNodeCount: 28, + tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo1]BoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl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oD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O!|~~1bO#T~~1gO#V~~1lO#U~", + tokenizers: [0], + topRules: { "Program": [0, 25] }, + dynamicPrecedences: { "57": -10 }, + specialized: [{ term: 28, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 28, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 924 + }); + } // static/js/lezer-parsers/level11-parser.ts - var parser11 = LRParser.deserialize({ - version: 14, - states: "4WQYQPOOOOQO'#Dj'#DjQYQPOOO!ZQPO'#DpO!lQPO'#DiOOQO'#Dt'#DtO!wQPO'#DVOOQO'#Du'#DuO#SQPO'#DWOOQO'#Dv'#DvO#bQPO'#DXOOQO'#Dw'#DwO#mQPO'#DZOOQO'#Dx'#DxO#xQPO'#D[OOQO'#Dy'#DyO$TQPO'#D]OOQO'#DY'#DYOOQO'#Dz'#DzO$`QPO'#D^OOQO'#D{'#D{O$qQPO'#D_OOQO'#D}'#D}O$yQPO'#D`OOQO'#EP'#EPO%RQPO'#DaOOQO'#ET'#ETO%^QPO'#DfOOQO'#EU'#EUO%iQPO'#DgOOQO'#EW'#EWO%tQPO'#DhOOQO'#Cx'#CxQ!UQPO'#DkQ%|QPOOOOQO-E7h-E7hOOQO'#Dl'#DlO&zQPO,59eOOQO'#C{'#C{O'YQPO,59eOOQO'#Dp'#DpOOQO-E7n-E7nOOQO-E7r-E7rO'eQPO'#DsOOQO'#C|'#C|O(qQPO'#C|OOQO'#Ds'#DsO(xQPO,59rOOQO-E7s-E7sO)ZQPO,59sOOQO-E7t-E7tOOQO,59s,59sO)oQPO,59uOOQO-E7u-E7uOOQO,59u,59uO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from remove to_list clear in not_in repeat times for to range Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For ErrorInvalid", - maxTerm: 104, - nodeProps: [ - ["group", 44, "turtle"] - ], - skippedNodes: [0, 26], - repeatNodeCount: 31, - tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo1]BoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FV&FW1b&FW;'S&Z;'S;=`*b<%l?Hb&Z?Hb?Hc1g?HcO&Z~&UO#Q~~&ZO#P~~&`!`n~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R&Z!R!S&Z!S!T&Z!T!U&Z!U!V&Z!V!W&Z!W!X&Z!X!Y&Z!Y!Z&Z!Z![&Z![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg&ZDgDh&ZDhDi&ZDiDj&ZDjDk&ZDkDl&ZDlDm&ZDmDn&ZDnDo&ZDoDp&ZDvGl&ZGlGm&ZGmGn&ZGnGo&ZGoGp&ZGpGq&ZGqGr&ZGrGs&ZGsGt&ZGtGu&ZGuGv&ZGv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~*eP;=`<%l&Z~*kVOY*hZr*hrs+Qs#O*h#P;'S*h;'S;=`+V<%lO*h~+VOx~~+YP;=`<%l*h~+bSj~OY+]Z;'S+];'S;=`+n<%lO+]~+qP;=`<%l+]~+wVOY+tZw+twx+Qx#O+t#P;'S+t;'S;=`,^<%lO+t~,aP;=`<%l+t~,iO#T~~,nO#V~~,sO#X~~,xO#W~~,}O#U~~-U!`q~n~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O#R~~1bO#Y~~1gO#[~~1lO#Z~", - tokenizers: [0], - topRules: { "Program": [0, 27] }, - dynamicPrecedences: { "59": -10 }, - specialized: [{ term: 30, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 30, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 957 - }); + function generateParser11(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "4WQYQPOOOOQO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VpOQrQwRR#W!gW{W!P!y#eQ!RYQ!U[Q!X^Q![`Q!_cU!ruw!vQ#f!|Q#g!}T#p#V#Wc!|{!R!U!X![!_!r#g#pc!}{!R!U!X![!_!r#g#pW!OW!P!y#eQ!TYQ!W[Q!Z^Q!^`Q!acV!uuw!vV#a!s!w#bVaOQrR!iiR!hiQQOSsQ!oR!oqSrOQR!prQuRS!qu#VR#V!gS!vuwR#c!vS#P}!tR#h#PQ#j#PR$P#jUSOQrYyS!b!d!w#|Q!beQ!dgS!wuwR#|#aS#b!s!wR$O#bS!yuwR#d!yQ!PWS#Q!P#eR#e!yUUOQrRzUUWOQrR!QWUYOQrR!SYU[OQrR!V[U^OQrR!Y^U`OQrR!]`UcOQrR!`cUeOQrR!ceQ#S!bR#l#SUgOQrR!egQ#U!dR#n#UUiOQrR!fiS#r#V#WR$Q#rQ#Y!gQ#_!nT#t#Y#_Q#[!gR#v#[UkOQrR!jkUmOQrR!kmQ#^!lR#x#^UoOQrR!moQ#z#_R$R#zQ$U$SR$V$Uq|WY[^`cuw!P!v!y!|!}#V#W#e", + nodeNames: "\u26A0 ask at random if pressed else print forward turn color sleep play is add from remove to_list clear in not_in repeat times for to range Comment Program Command Assign Text Op Expression Int Op Op ListAccess AssignList Op Ask String Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For ErrorInvalid", + maxTerm: 104, + nodeProps: [ + ["group", 44, "turtle"] + ], + skippedNodes: [0, 26], + repeatNodeCount: 31, + tokenData: "1l~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`1W!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#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&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~1]O#R~~1bO#Y~~1gO#[~~1lO#Z~", + tokenizers: [0], + topRules: { "Program": [0, 27] }, + dynamicPrecedences: { "59": -10 }, + specialized: [{ term: 30, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 30, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 957 + }); + } // static/js/lezer-parsers/level12-parser.ts - var parser12 = LRParser.deserialize({ - version: 14, - states: "8`QYQPOOOOQO'#Dr'#DrQYQPOOO!dQPO'#EgOOQO'#Dx'#DxO!xQPO'#DUO#QQPO'#C}OOQO'#EO'#EOO#YQPO'#D]OOQO'#EP'#EPO#eQPO'#D^OOQO'#EQ'#EQO#vQPO'#D_OOQO'#ER'#ERO$XQPO'#DaOOQO'#ES'#ESO$jQPO'#DbOOQO'#ET'#ETO${QPO'#DcOOQO'#D`'#D`OOQO'#EU'#EUO%^QPO'#DdOOQO'#EV'#EVO%uQPO'#DeOOQO'#EX'#EXO&WQPO'#DfOOQO'#EZ'#EZO&iQPO'#DgOOQO'#E_'#E_O&wQPO'#DlOOQO'#E`'#E`O'SQPO'#DmOOQO'#Eb'#EbO'_QPO'#DnOOQO'#Ee'#EeO'gQPO'#DoOOQO'#Ef'#EfO'oQPO'#DpO(QQPO'#DqOOQO'#C|'#C|Q!_QPO'#DsQ(]QPOOOOQO-E7p-E7pOOQO'#Dt'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R!VWUYOQyR!]YU[OQyR!_[U^OQyR!b^U`OQyR!e`UbOQyR!hbUeOQyR!keUgOQyR!ngQ#g!mR$S#gUiOQyR!piQ#i!oR$U#iUkOQyR!qkS$Y#j#kR$h$YQ#m!rQ#r!yT$Z#m#rQ#o!rR$]#oUmOQyR!umUoOQyR!voQ#q!wR$_#qUqOQyR!xqQ$a#rR$i$aQ$n$jR$p$nUsOQyR!zsUuOQyR!}uUvOQyR#PvS$O#`#sQ$k$fR$o$s", - nodeNames: "\u26A0 ask at random if pressed else call with print forward turn color sleep play is add from remove to_list clear in not_in repeat times for to range define return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For Define Return ErrorInvalid", - maxTerm: 118, - nodeProps: [ - ["group", 50, "turtle"] - ], - skippedNodes: [0, 30], - repeatNodeCount: 36, - tokenData: "9|~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`9h!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBnBo9mBoD`&ZDfDg,}DgDh,}DhDi,}DiDj,}DjDk,}DkDl,}DlDm,}DmDn,}DnDo,}DoDp,}DvGl&ZGlGm,}GmGn,}GnGo,}GoGp,}GpGq,}GqGr,}GrGs,}GsGt,}GtGu,}GuGv,}Gv&FV&Z&FV&FW9r&FW;'S&Z;'S;=`*b<%l?Hb&Z?Hb?Hc9w?HcO&Z~&UO#_~~&ZO#^~~&`!`r~qr&Ztu&Zuv&Zvw&Zx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?HcO&Z~1]!`r~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R5_!R!S5_!S!T5_!T!U5_!U!V5_!V!W5_!W!X5_!X!Y5_!Y!Z5_!Z![5_![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg5_DgDh5_DhDi5_DiDj5_DjDk5_DkDl5_DlDm5_DmDn5_DnDo5_DoDp5_DvGl&ZGlGm5_GmGn5_GnGo5_GoGp5_GpGq5_GqGr5_GrGs5_GsGt5_GtGu5_GuGv5_Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~5f!`t~r~qr&Ztu&Zuv&Zvw&Zxy&Zyz&Z!O!P&Z!Q!R5_!R!S5_!S!T5_!T!U5_!U!V5_!V!W5_!W!X5_!X!Y5_!Y!Z5_!Z![5_![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg5_DgDh5_DhDi5_DiDj5_DjDk5_DkDl5_DlDm5_DmDn5_DnDo5_DoDp5_DvGl&ZGlGm5_GmGn5_GnGo5_GoGp5_GpGq5_GqGr5_GrGs5_GsGt5_GtGu5_GuGv5_Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~9mO#`~~9rO#c~~9wO#e~~9|O#d~", - tokenizers: [0], - topRules: { "Program": [0, 31] }, - dynamicPrecedences: { "67": -10 }, - specialized: [{ term: 34, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 34, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1442 - }); + function generateParser12(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "8`QYQPOOOOQO'#Dr'#DrQYQPOOO!dQPO'#EgOOQO'#Dx'#DxO!xQPO'#DUO#QQPO'#C}OOQO'#EO'#EOO#YQPO'#D]OOQO'#EP'#EPO#eQPO'#D^OOQO'#EQ'#EQO#vQPO'#D_OOQO'#ER'#ERO$XQPO'#DaOOQO'#ES'#ESO$jQPO'#DbOOQO'#ET'#ETO${QPO'#DcOOQO'#D`'#D`OOQO'#EU'#EUO%^QPO'#DdOOQO'#EV'#EVO%uQPO'#DeOOQO'#EX'#EXO&WQPO'#DfOOQO'#EZ'#EZO&iQPO'#DgOOQO'#E_'#E_O&wQPO'#DlOOQO'#E`'#E`O'SQPO'#DmOOQO'#Eb'#EbO'_QPO'#DnOOQO'#Ee'#EeO'gQPO'#DoOOQO'#Ef'#EfO'oQPO'#DpO(QQPO'#DqOOQO'#C|'#C|Q!_QPO'#DsQ(]QPOOOOQO-E7p-E7pOOQO'#Dt'#DtO)dQPO,59kOOQO'#Dv'#DvO*TQPO,59iOOQO'#DR'#DRO)rQPO,59iOOQO-E7v-E7vO*[QPO,59pO+VQPO,59iO+hQPO,59iOOQO-E7|-E7|O,hQPO'#DSO-RQPO'#D}OOQO'#DS'#DSOOQO'#D}'#D}O-sQPO,59xOOQO-E7}-E7}O.XQPO,59yOOQO-E8O-E8OOOQO,59y,59yO.mQPO,59{OOQO-E8P-E8POOQO,59{,59{O/RQPO,59|OOQO-E8Q-E8QOOQO,59|,59|O/gQPO,59}OOQO-E8R-E8ROOQO,59},59}O/{QPO,5:OOOQO-E8S-E8SOOQO,5:O,5:OO0aQPO,5:POOQO-E8T-E8TO0rQPO,5:QOOQO-E8V-E8VOOQO-E8X-E8XO1TQPO'#DiOOQO'#Dh'#DhOOQO,5:R,5:ROOQO-E8]-E8]OOQO-E8^-E8^O1cQPO,5:XOOQO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QyUUOQy[!ZYu![!|#^#zQ!`[Q!c^Q!f`Q!ibQ!leY#Z!O!Q!T!U#[X#}#`#s$f$sQ!QRQ!UUR#k!r[!XYu![!|#^#zQ!^[Q!a^Q!d`Q!gbQ!jeQ!mgQ!oiY#X!O!Q!T!U#[W#|#`#s$f$sS$Q#c$vQ$R#dS$W#j#kR$x$wUwOQy!Z!YY[^`begiu!O!Q!T!U![!|#[#^#`#c#d#j#k#s#z$f$s$v$wS$P#`$sR$c#sS#v#Y#wT$f$O$gf#c!X!^!a!d!g!j!m!o#X$R$WT$v#|$xf#d!X!^!a!d!g!j!m!o#X$R$WT$w#|$xVcOQyR!tkR!skQQOSzQ#QR#QxSyOQR#RyS|R!WR#S|Q#U|R#t#UQ!ORQ!TUU#W!O!T#jR#j!rW#[!O!Q!T!UR#x#[!STOQY[^`begiuy!O!Q!T!U![!|#[#^#c#d#j#k#zS!RT$u]$u#`#s$f$s$v$wQ#`!SQ#s!{U#{#`#s$sR$s$tQ$g$OR$l$gQ#w#YR$e#wS#^!O!QR#y#^Q![YQ!|uU#e![!|#zR#z#^UWOQyR!VWUYOQyR!]YU[OQyR!_[U^OQyR!b^U`OQyR!e`UbOQyR!hbUeOQyR!keUgOQyR!ngQ#g!mR$S#gUiOQyR!piQ#i!oR$U#iUkOQyR!qkS$Y#j#kR$h$YQ#m!rQ#r!yT$Z#m#rQ#o!rR$]#oUmOQyR!umUoOQyR!voQ#q!wR$_#qUqOQyR!xqQ$a#rR$i$aQ$n$jR$p$nUsOQyR!zsUuOQyR!}uUvOQyR#PvS$O#`#sQ$k$fR$o$s", + nodeNames: "\u26A0 ask at random if pressed else call with print forward turn color sleep play is add from remove to_list clear in not_in repeat times for to range define return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For Define Return ErrorInvalid", + maxTerm: 118, + nodeProps: [ + ["group", 50, "turt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Z!O!P&Z!Q!R5_!R!S5_!S!T5_!T!U5_!U!V5_!V!W5_!W!X5_!X!Y5_!Y!Z5_!Z![5_![!]&Z!]!^&Z!^!_&Z!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg5_DgDh5_DhDi5_DiDj5_DjDk5_DkDl5_DlDm5_DmDn5_DnDo5_DoDp5_DvGl&ZGlGm5_GmGn5_GnGo5_GoGp5_GpGq5_GqGr5_GrGs5_GsGt5_GtGu5_GuGv5_Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~9mO#`~~9rO#c~~9wO#e~~9|O#d~", + tokenizers: [0], + topRules: { "Program": [0, 31] }, + dynamicPrecedences: { "67": -10 }, + specialized: [{ term: 34, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 34, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1442 + }); + } // static/js/lezer-parsers/level13-parser.ts - var parser13 = LRParser.deserialize({ - version: 14, - states: "9hQYQPOOOOQO'#Dt'#DtQYQPOOO!dQPO'#ElOOQO'#Dz'#DzO!xQPO'#DWO#QQPO'#DPOOQO'#EQ'#EQO#YQPO'#D_OOQO'#ER'#ERO#eQPO'#D`OOQO'#ES'#ESO#vQPO'#DaOOQO'#ET'#ETO$XQPO'#DcOOQO'#EU'#EUO$jQPO'#DdOOQO'#EV'#EVO${QPO'#DeOOQO'#Db'#DbOOQO'#EW'#EWO%^QPO'#DfOOQO'#EX'#EXO%uQPO'#DgOOQO'#EZ'#EZO&WQPO'#DhOOQO'#E]'#E]O&iQPO'#DiOOQO'#Ed'#EdO&wQPO'#DnOOQO'#Ee'#EeO'SQPO'#DoOOQO'#Eg'#EgO'_QPO'#DpOOQO'#Ej'#EjO'gQPO'#DqOOQO'#Ek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o$|%P%QS$U#`$|R$l#xS#{#Y#|T$o$T$pf#c!X!^!a!d!g!j!m!o#X$W$]T%P$R%Rf#d!X!^!a!d!g!j!m!o#X$W$]T%Q$R%RVcOQyQ!tkT$e#q#sV!sk#q#sQQOSzQ#QR#QxSyOQR#RyS|R!WR#S|Q#U|R#y#UQ!ORQ!TUU#W!O!T#jR#j!rW#[!O!Q!T!UR#}#[!STOQY[^`begiuy!O!Q!T!U![!|#[#^#c#d#j#k$PS!RT%O]%O#`#x$o$|%P%QQ#`!SQ#x!{U$Q#`#x$|R$|$}Q$p$TR$u$pQ#|#YR$n#|S#^!O!QR$O#^Q![YQ!|uU#e![!|$PR$P#^UWOQyR!VWUYOQyR!]YU[OQyR!_[U^OQyR!b^U`OQyR!e`UbOQyR!hbUeOQyR!keUgOQyR!ngQ#g!mR$X#gUiOQyR!piQ#i!oR$Z#iUkOQyR!qkS$_#j#kR$q$_Q#m!rQ#w!yT$`#m#wQ#o!rR$b#oQ#t!tR$g#tS#q!t#tR$d#qS#s!t#tR$f#sUmOQyR!umUoOQyR!voQ#v!wR$h#vUqOQyR!xqQ$j#wR$r$jQ$w$sR$y$wUsOQyR!zsUuOQyR!}uUvOQyR#PvS$T#`#xQ$t$oR$x$|", - nodeNames: "\u26A0 ask at random if pressed else and or call with print forward turn color sleep play is add from remove to_list clear in not_in repeat times for to range define return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For Define Return ErrorInvalid", - maxTerm: 123, - nodeProps: [ - ["group", 52, "turtle"] - ], - skippedNodes: [0, 32], - repeatNodeCount: 39, - tokenData: "9|~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!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#q#r&Z#r#s&Z$gBn&ZBoD`&ZDfDg5_DgDh5_DhDi5_DiDj5_DjDk5_DkDl5_DlDm5_DmDn5_DnDo5_DoDp5_DvGl&ZGlGm5_GmGn5_GnGo5_GoGp5_GpGq5_GqGr5_GrGs5_GsGt5_GtGu5_GuGv5_Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~9mO#e~~9rO#h~~9wO#j~~9|O#i~", - tokenizers: [0], - topRules: { "Program": [0, 33] }, - dynamicPrecedences: { "69": -10 }, - specialized: [{ term: 36, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 36, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1552 - }); + function generateParser13(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "9hQYQPOOOOQO'#Dt'#DtQYQPOOO!dQPO'#ElOOQO'#Dz'#DzO!xQPO'#DWO#QQPO'#DPOOQO'#EQ'#EQO#YQPO'#D_OOQO'#ER'#ERO#eQPO'#D`OOQO'#ES'#ESO#vQPO'#DaOOQO'#ET'#ETO$XQPO'#DcOOQO'#EU'#EUO$jQPO'#DdOOQO'#EV'#EVO${QPO'#DeOOQO'#Db'#DbOOQO'#EW'#EWO%^QPO'#DfOOQO'#EX'#EXO%uQPO'#DgOOQO'#EZ'#EZO&WQPO'#DhOOQO'#E]'#E]O&iQPO'#DiOOQO'#Ed'#EdO&wQPO'#DnOOQO'#Ee'#EeO'SQPO'#DoOOQO'#Eg'#EgO'_QPO'#DpOOQO'#Ej'#EjO'gQPO'#DqOOQO'#Ek'#EkO'oQPO'#DrO(QQPO'#DsOOQO'#DO'#DOQ!_QPO'#DuQ(]QPOOOOQO-E7r-E7rOOQO'#Dv'#DvO)dQPO,59mOOQO'#Dx'#DxO*TQPO,59kOOQO'#DT'#DTO)rQPO,59kOOQO-E7x-E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R#RyS|R!WR#S|Q#U|R#y#UQ!ORQ!TUU#W!O!T#jR#j!rW#[!O!Q!T!UR#}#[!STOQY[^`begiuy!O!Q!T!U![!|#[#^#c#d#j#k$PS!RT%O]%O#`#x$o$|%P%QQ#`!SQ#x!{U$Q#`#x$|R$|$}Q$p$TR$u$pQ#|#YR$n#|S#^!O!QR$O#^Q![YQ!|uU#e![!|$PR$P#^UWOQyR!VWUYOQyR!]YU[OQyR!_[U^OQyR!b^U`OQyR!e`UbOQyR!hbUeOQyR!keUgOQyR!ngQ#g!mR$X#gUiOQyR!piQ#i!oR$Z#iUkOQyR!qkS$_#j#kR$q$_Q#m!rQ#w!yT$`#m#wQ#o!rR$b#oQ#t!tR$g#tS#q!t#tR$d#qS#s!t#tR$f#sUmOQyR!umUoOQyR!voQ#v!wR$h#vUqOQyR!xqQ$j#wR$r$jQ$w$sR$y$wUsOQyR!zsUuOQyR!}uUvOQyR#PvS$T#`#xQ$t$oR$x$|", + nodeNames: "\u26A0 ask at random if pressed else and or call with print forward turn color sleep play is add from remove to_list clear in not_in repeat times for to range define return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition EqualityCheck InListCheck NotInListCheck Else Repeat For Define Return ErrorInvalid", + maxTerm: 123, + nodeProps: [ + ["group", 52, "turtle"] + ], + skippedNodes: [0, 32], + repeatNodeCount: 39, + tokenData: "9|~R!nYZ&Ppq&Uqr&Zrs*hst+]tu&Zuv&Zvw&Zwx+txy&Zyz&Zz{,d{|,i|},n}!O,s!O!P&Z!P!Q,x!Q!R,}!R!S,}!S!T,}!T!U,}!U!V,}!V!W,}!W!X,}!X!Y,}!Y!Z,}!Z![,}![!]&Z!]!^&Z!^!_&Z!_!`9h!`!a&Z!a!b&Z!b!c&Z!c!}&Z!}#O&Z#O#P&Z#P#Q&Z#Q#R&Z#R#S&Z#S#T&Z#T#o&Z#o#p&Z#q#r&Z#r#s&Z$gBn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_GtGu5_GuGv5_Gv&FV&Z&FW;'S&Z;'S;=`*b<%l?Hb&Z?HcO&Z~9mO#e~~9rO#h~~9wO#j~~9|O#i~", + tokenizers: [0], + topRules: { "Program": [0, 33] }, + dynamicPrecedences: { "69": -10 }, + specialized: [{ term: 36, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 36, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1552 + }); + } // static/js/lezer-parsers/level14-parser.ts - var parser14 = LRParser.deserialize({ - version: 14, - states: ";YQYQPOOOOQO'#Dz'#DzQYQPOOO!dQPO'#ErOOQO'#EQ'#EQO!xQPO'#DWO#QQPO'#DPOOQO'#EW'#EWO#YQPO'#D_OOQO'#EX'#EXO#eQPO'#D`OOQO'#EY'#EYO#vQPO'#DaOOQO'#EZ'#EZO$XQPO'#DcOOQO'#E['#E[O$jQPO'#DdOOQO'#E]'#E]O${QPO'#DeOOQO'#Db'#DbOOQO'#E^'#E^O%^QPO'#DfOOQO'#E_'#E_O%uQPO'#DgOOQO'#Ea'#EaO&WQPO'#DhOOQO'#Ec'#EcO&iQPO'#DiOOQO'#Ej'#EjO&zQPO'#DtOOQO'#Ek'#EkO'VQPO'#DuOOQO'#Em'#EmO'bQPO'#DvOOQO'#Ep'#EpO'jQPO'#DwOOQO'#Eq'#EqO'rQPO'#DxO(TQPO'#DyOOQO'#DO'#DOQ!_QPO'#D{Q(`QPOOOOQO-E7x-E7xOOQO'#D|'#D|O)gQPO,59mOOQO'#EO'#EOO*WQPO,59kOOQO'#DT'#DTO)uQPO,59kOOQO-E8O-E8OO*_QPO,59rO+uQPO,59kO#hQPO,59kOOQO-E8U-E8UO,{QPO'#DUO.OQPO'#EVOOQO'#DU'#DUOOQO'#EV'#EVO.pQPO,59zOOQO-E8V-E8VO/UQPO,59{OOQO-E8W-E8WOOQO,59{,59{O/jQPO,59}OOQO-E8X-E8XOOQO,59},59}O0OQPO,5:OOOQO-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!jeQ!mgQ!oiU!qk#x#zY#Y!O!Q!T!U#]W$Y#a$P$z%ZS$^#d%^Q$_#eS$d#k#lQ$f#nQ$g#qQ$|$eQ$}$hR%`%_UwOQy!i!YY[^`begiku!O!Q!T!U![!}#]#_#a#d#e#k#l#n#q#x#z$P$W$e$h$z%Z%^%_S$]#a%ZR$w$PS$S#Z$TT$z$[${p#d!X!^!a!d!g!j!m!o!q#Y$_$d$f$g$|$}T%^$Y%`p#e!X!^!a!d!g!j!m!o!q#Y$_$d$f$g$|$}T%_$Y%`VcOQyQ!ukT$p#x#zV!tk#x#zR#n!qR#q!qQQOSzQ#RR#RxSyOQR#SyS|R!WR#T|Q#V|R$Q#VQ!ORQ!TUW#X!O!T#k#vQ#k!qR#v!rW#]!O!Q!T!UR$U#]!bTOQY[^`begikuy!O!Q!T!U![!}#]#_#d#e#k#l#n#q#x#z$W$e$hS!RT%]]%]#a$P$z%Z%^%_Q#a!SQ$P!|U$X#a$P%ZR%Z%[Q${$[R%S${Q$T#ZR$y$TS#_!O!QR$V#_Q![YQ!}uU#f![!}$WR$W#_UWOQyR!VWUYOQyR!]YU[OQyR!_[U^OQyR!b^U`OQyR!e`UbOQyR!hbUeOQyR!keUgOQyR!ngQ#h!mR$`#hUiOQyR!piQ#j!oR$b#jUkOQyR!skQ$n#vR%O$nQ#s!qQ$O!zT$i#s$OQ#u!qR$k#uQ#{!uR$r#{S#x!u#{R$o#xS#z!u#{R$q#zUmOQyR!vmUoOQyR!woQ#}!xR$s#}UqOQyR!yqQ$u$OR%P$uQ%U%QR%W%UUsOQyR!{sUuOQyR#OuUvOQyR#QvS$[#a$PQ%R$zR%V%Z", - nodeNames: "\u26A0 ask at random if pressed else and or is define with print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op In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R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4}DgDh4}DhDi4}DiDj4}DjDk4}DkDl4}DlDm4}DmDn4}DnDo4}DoDp4}DvGl'rGlGm4}GmGn4}GnGo4}GoGp4}GpGq4}GqGr4}GrGs4}GsGt4}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~9SO#x~~9XO#k~~9^O#w~~9cO#n~~9hO#p~~9mO#o~", - tokenizers: [0], - topRules: { "Program": [0, 33] }, - dynamicPrecedences: { "75": -10 }, - specialized: [{ term: 36, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 36, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1852 - }); + function generateParser14(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: ";YQYQPOOOOQO'#Dz'#DzQYQPOOO!dQPO'#ErOOQO'#EQ'#EQO!xQPO'#DWO#QQPO'#DPOOQO'#EW'#EWO#YQPO'#D_OOQO'#EX'#EXO#eQPO'#D`OOQO'#EY'#EYO#vQPO'#DaOOQO'#EZ'#EZO$XQPO'#DcOOQO'#E['#E[O$jQPO'#DdOOQO'#E]'#E]O${QPO'#DeOOQO'#Db'#DbOOQO'#E^'#E^O%^QPO'#DfOOQO'#E_'#E_O%uQPO'#DgOOQO'#Ea'#EaO&WQPO'#DhOOQO'#Ec'#EcO&iQPO'#DiOOQO'#Ej'#EjO&zQPO'#DtOOQO'#Ek'#EkO'VQPO'#DuOOQO'#Em'#EmO'bQPO'#DvOOQO'#Ep'#EpO'jQPO'#DwOOQO'#Eq'#EqO'rQPO'#DxO(TQPO'#DyOOQO'#DO'#DOQ!_QPO'#D{Q(`QPOOOOQO-E7x-E7xOOQO'#D|'#D|O)gQPO,59mOOQO'#EO'#EOO*WQPO,59kOOQO'#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QyR#OuUvOQyR#QvS$[#a$PQ%R$zR%V%Z", + nodeNames: "\u26A0 ask at random if pressed else and or is define with print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op InListCheck NotInListCheck Else Repeat For Define Return ErrorInvalid", + maxTerm: 132, + nodeProps: [ + ["group", 52, "turtle"] + ], + skippedNodes: [0, 32], + repeatNodeCount: 39, + tokenData: "9m~R!nYZ&Ppq&Uqr&Zrs&fst'Ztu'ruv'rvw'rwx+vxy'ryz'rz{,f{|,k|},p}!O,u!O!P'r!P!Q,z!Q!R-P!R!S-P!S!T-P!T!U-P!U!V-P!V!W-P!W!X-P!X!Y-P!Y!Z-P!Z![-P![!]'r!]!^'r!^!_8}!_!`9S!`!a9X!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBnBo9^BoD`'rDfDg-PDgDh-PDhDi-PDiDj-PDjDk-PDkDl-PDlDm-PDmDn-PDnDo-PDoDp-PDvGl'rGlGm-PGmGn-PGnGo-PGoGp-PGpGq-PGqGr-PGrGs-PGsGt-PGtGu-PGuGv-PGv&FV'r&FV&FW9c&FW;'S'r;'S;=`+p<%l?Hb'r?Hb?Hc9h?HcO'r~&UO#j~~&ZO#i~~&^P!_!`&a~&fO#v~~&iVOY&fZr&frs'Os#O&f#P;'S&f;'S;=`'T<%lO&f~'TOy~~'WP;=`<%l&f~'`Sp~OY'ZZ;'S'Z;'S;=`'l<%lO'Z~'oP;=`<%l'Z~'w!]t~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R'r!R!S'r!S!T'r!T!U'r!U!V'r!V!W'r!W!X'r!X!Y'r!Y!Z'r!Z!['r![!]'r!]!^'r!a!b'r!b!c'r!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}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~5U!]v~t~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R4}!R!S4}!S!T4}!T!U4}!U!V4}!V!W4}!W!X4}!X!Y4}!Y!Z4}!Z![4}![!]'r!]!^'r!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4}DgDh4}DhDi4}DiDj4}DjDk4}DkDl4}DlDm4}DmDn4}DnDo4}DoDp4}DvGl'rGlGm4}GmGn4}GnGo4}GoGp4}GpGq4}GqGr4}GrGs4}GsGt4}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~9SO#x~~9XO#k~~9^O#w~~9cO#n~~9hO#p~~9mO#o~", + tokenizers: [0], + topRules: { "Program": [0, 33] }, + dynamicPrecedences: { "75": -10 }, + specialized: [{ term: 36, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 36, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1852 + }); + } // static/js/lezer-parsers/level15-parser.ts - var parser15 = LRParser.deserialize({ - version: 14, - states: "VQPO'#FQOOQO'#FQ'#FQO@SQPO'#D^OOQO7+$}7+$}OOQO1G1]1G1]OBPQPO1G1]OOQO-E8d-E8dOOQO7+%^7+%^OOQO-E8f-E8fOOQO7+%_7+%_OCpQPO1G/wO%UQPO1G/wOD[QPO1G/xODvQPO1G/zO%UQPO1G/zOOQO-E8i-E8iOOQO1G/}1G/}OOQO-E8j-E8jOOQO1G0O1G0OOOQO'#Ej'#EjOEbQPO1G/vOOQO-E8l-E8lOOQO,5;X,5;XOOQO-E8m-E8mOOQO-E8k-E8kOOQO-E8p-E8pOOQO'#Et'#EtOEsQPO7+%mOOQO7+%m7+%mOOQO7+%n7+%nOOQO,5:u,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R%V${Q%[%WR%^%[UsOQ{R#OsUuOQ{R#RuUwOQ{R#SwUxOQ{R#Vx!f!]Y[^`begikuw!V!W!_#Q#b#d#f#i#j#p#q#s#v#}$P$U$^$k$n%Q%a%d%eS#`!Q!SR%O$YS$b#f$UQ%X%QR%]%a", - nodeNames: "\u26A0 ask at random if pressed else and or is while define with true false True False print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op InListCheck NotInListCheck Else Repeat For Define Return While ErrorInvalid", - maxTerm: 140, - nodeProps: [ - ["group", 57, "turtle"] - ], - skippedNodes: [0, 37], - repeatNodeCount: 40, - tokenData: "9m~R!nYZ&Ppq&Uqr&Zrs&fst'Ztu'ruv'rvw'rwx+vxy'ryz'rz{,f{|,k|},p}!O,u!O!P'r!P!Q,z!Q!R-P!R!S-P!S!T-P!T!U-P!U!V-P!V!W-P!W!X-P!X!Y-P!Y!Z-P!Z![-P![!]'r!]!^'r!^!_8}!_!`9S!`!a9X!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBnBo9^BoD`'rDfDg-PDgDh-PDhDi-PDiDj-PDjDk-PDkDl-PDlDm-PDmDn-PDnDo-PDoDp-PDvGl'rGlGm-PGmGn-PGnGo-PGoGp-PGpGq-PGqGr-PGrGs-PGsGt-PGtGu-PGuGv-PGv&FV'r&FV&FW9c&FW;'S'r;'S;=`+p<%l?Hb'r?Hb?Hc9h?HcO'r~&UO#q~~&ZO#p~~&^P!_!`&a~&fO$O~~&iVOY&fZr&frs'Os#O&f#P;'S&f;'S;=`'T<%lO&f~'TO!O~~'WP;=`<%l&f~'`Su~OY'ZZ;'S'Z;'S;=`'l<%lO'Z~'oP;=`<%l'Z~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rBoD`'rDfDg4}DgDh4}DhDi4}DiDj4}DjDk4}DkDl4}DlDm4}DmDn4}DnDo4}DoDp4}DvGl'rGlGm4}GmGn4}GnGo4}GoGp4}GpGq4}GqGr4}GrGs4}GsGt4}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~5U!]{~y~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R4}!R!S4}!S!T4}!T!U4}!U!V4}!V!W4}!W!X4}!X!Y4}!Y!Z4}!Z![4}![!]'r!]!^'r!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4}DgDh4}DhDi4}DiDj4}DjDk4}DkDl4}DlDm4}DmDn4}DnDo4}DoDp4}DvGl'rGlGm4}GmGn4}GnGo4}GoGp4}GpGq4}GqGr4}GrGs4}GsGt4}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~9SO$Q~~9XO#r~~9^O$P~~9cO#v~~9hO#x~~9mO#w~", - tokenizers: [0], - topRules: { "Program": [0, 38] }, - dynamicPrecedences: { "81": -10, "127": 10 }, - specialized: [{ term: 41, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 41, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1899 - }); + function generateParser15(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "VQPO'#FQOOQO'#FQ'#FQO@SQPO'#D^OOQO7+$}7+$}OOQO1G1]1G1]OBPQPO1G1]OOQO-E8d-E8dOOQO7+%^7+%^OOQO-E8f-E8fOOQO7+%_7+%_OCpQPO1G/wO%UQPO1G/wOD[QPO1G/xODvQPO1G/zO%UQPO1G/zOOQO-E8i-E8iOOQO1G/}1G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siQ#o!rR$h#oUkOQ{R!vkQ$t#{R%U$tQ#x!tQ$T!}T$o#x$TQ#z!tR$q#zQ$Q!xQ$V#TT$x$Q$VW#}!x#T$Q$VR$u#}W$P!x#T$Q$VR$w$PUmOQ{R!ymUoOQ{R!zoQ$S!{R$y$SUqOQ{R!|qQ${$TR%V${Q%[%WR%^%[UsOQ{R#OsUuOQ{R#RuUwOQ{R#SwUxOQ{R#Vx!f!]Y[^`begikuw!V!W!_#Q#b#d#f#i#j#p#q#s#v#}$P$U$^$k$n%Q%a%d%eS#`!Q!SR%O$YS$b#f$UQ%X%QR%]%a", + nodeNames: "\u26A0 ask at random if pressed else and or is while define with true false True False print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Number Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op InListCheck NotInListCheck Else Repeat For Define Return While ErrorInvalid", + maxTerm: 140, + nodeProps: [ + ["group", 57, "turtle"] + ], + skippedNodes: [0, 37], + repeatNodeCount: 40, + tokenData: "9m~R!nYZ&Ppq&Uqr&Zrs&fst'Ztu'ruv'rvw'rwx+vxy'ryz'rz{,f{|,k|},p}!O,u!O!P'r!P!Q,z!Q!R-P!R!S-P!S!T-P!T!U-P!U!V-P!V!W-P!W!X-P!X!Y-P!Y!Z-P!Z![-P![!]'r!]!^'r!^!_8}!_!`9S!`!a9X!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBnBo9^BoD`'rDfDg-PDgDh-PDhDi-PDiDj-PDjDk-PDkDl-PDlDm-PDmDn-PDnDo-PDoDp-PDvGl'rGlGm-PGmGn-PGnGo-PGoGp-PGpGq-PGqGr-PGrGs-PGsGt-PGtGu-PGuGv-PGv&FV'r&FV&FW9c&FW;'S'r;'S;=`+p<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!P'r!Q!R4}!R!S4}!S!T4}!T!U4}!U!V4}!V!W4}!W!X4}!X!Y4}!Y!Z4}!Z![4}![!]'r!]!^'r!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4}DgDh4}DhDi4}DiDj4}DjDk4}DkDl4}DlDm4}DmDn4}DnDo4}DoDp4}DvGl'rGlGm4}GmGn4}GnGo4}GoGp4}GpGq4}GqGr4}GrGs4}GsGt4}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~5U!]{~y~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R4}!R!S4}!S!T4}!T!U4}!U!V4}!V!W4}!W!X4}!X!Y4}!Y!Z4}!Z![4}![!]'r!]!^'r!a!b'r!b!c'r!c!}'r!}#O'r#O#P'r#P#Q'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4}DgDh4}DhDi4}DiDj4}DjDk4}DkDl4}DlDm4}DmDn4}DnDo4}DoDp4}DvGl'rGlGm4}GmGn4}GnGo4}GoGp4}GpGq4}GqGr4}GrGs4}GsGt4}GtGu4}GuGv4}Gv&FV'r&FW;'S'r;'S;=`+p<%l?Hb'r?HcO'r~9SO$Q~~9XO#r~~9^O$P~~9cO#v~~9hO#x~~9mO#w~", + tokenizers: [0], + topRules: { "Program": [0, 38] }, + dynamicPrecedences: { "81": -10, "127": 10 }, + specialized: [{ term: 41, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 41, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1899 + }); + } // static/js/lezer-parsers/level16-parser.ts - var parser16 = LRParser.deserialize({ - version: 14, - states: ";fQYQPOOOOQO'#ER'#ERQYQPOOO!gQPO'#EyOOQO'#EW'#EWO!{QPO'#D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{!k!]Y[^`begikuw!Q!S!V!W!^!z#X#[#^#a#b#i#j#l#o#u#w#|$V$d$g$z%]%`%aS$X#^%]R$t#|S$v$T$wT$z$Y$yp#a![!`!b!d!f!h!j!l!o#W$[$c$e$f$|$}X%`$Y%U%[%bp#b![!`!b!d!f!h!j!l!o#W$[$c$e$f$|$}X%a$Y%U%[%bVcOQ{Q!rkQ!}wT$m#u#wX!qkw#u#wR#l!oR#o!oQQOS|Q#QR#QzS{OQR#R{Q#T!OR$O#TQ!QRQ!VUW#V!Q!V#h#iQ#h!nR#i!oW#X!Q!S!V!WR$R#X!dTOQY[^`begikuw{!Q!S!V!W!^!z#X#[#a#b#i#j#l#o#u#w$V$d$gS!TT%_]%_#^#|$z%]%`%aQ#^!UQ#|!yU$W#^#|%]R%]%^Q$y$YR%T$yQ$w$TR%R$wS#[!Q!SR$U#[Q!^YQ!zuU#c!^!z$VR$V#[UWOQ{R!XWUYOQ{R!_YU[OQ{R!a[U^OQ{R!c^U`OQ{R!e`UbOQ{R!gbUeOQ{R!ieUgOQ{R!kgQ#e!jR$]#eUiOQ{R!miQ#g!lR$_#gUkOQ{R!pkQ$b#hR${$bQ#q!oQ#{!wT$h#q#{Q#s!oR$j#sQ#x!rQ#}!}T$o#x#}W#u!r!}#x#}R$l#uW#w!r!}#x#}R$n#wUmOQ{R!smUoOQ{R!toQ#z!uR$p#zUqOQ{R!vqQ$r#{R%O$rQ%W%PR%X%WUsOQ{R!xsUuOQ{R!{uUwOQ{R!|wUxOQ{R#Px!j!]Y[^`begikuw!Q!S!V!W!^!z#X#[#^#a#b#i#j#l#o#u#w#|$V$d$g$z%]%`%aQ$T#YR%Q$v", - nodeNames: "\u26A0 ask random if pressed else and or is while define with true false True False print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Op Number Op Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck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s'r$gBn'rBoD`'rDfDg4kDgDh4kDhDi4kDiDj4kDjDk4kDkDl4kDlDm4kDmDn4kDnDo4kDoDp4kDvGl'rGlGm4kGmGn4kGnGo4kGoGp4kGpGq4kGqGr4kGrGs4kGsGt4kGtGu4kGuGv4kGv&FV'r&FW;'S'r;'S;=`+j<%l?Hb'r?HcO'r~8jO$R~~8oO#t~~8tO$Q~~8yO#r~~9OO#s~~9TO#w~~9YO#y~~9_O#x~", - tokenizers: [0], - topRules: { "Program": [0, 37] }, - dynamicPrecedences: { "82": -10 }, - specialized: [{ term: 40, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 40, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1765 - }); + function generateParser16(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: ";fQYQPOOOOQO'#ER'#ERQYQPOOO!gQPO'#EyOOQO'#EW'#EWO!{QPO'#D^O#TQPO'#DTOOQO'#E^'#E^O#]QPO'#DeOOQO'#E_'#E_O$SQPO'#DfOOQO'#E`'#E`O$ZQPO'#DgOOQO'#Ea'#EaO$bQPO'#DiOOQO'#Eb'#EbO$iQPO'#DjOOQO'#Ec'#EcO$pQPO'#DkOOQO'#Dh'#DhOOQO'#Ed'#EdO$wQPO'#DlOOQO'#Ee'#EeO%UQPO'#DmOOQO'#Eg'#EgO%]QPO'#DnOOQO'#Ei'#EiO&OQPO'#DoOOQO'#Ep'#EpO&VQPO'#DzOOQO'#Eq'#EqO&bQPO'#D{OOQO'#Es'#EsO&mQPO'#D|OOQO'#Ev'#EvO&uQPO'#D}OOQO'#Ew'#EwO&}QPO'#EOOOQO'#Ex'#ExO'UQPO'#EPO']QPO'#EQOOQO'#DS'#DSQ!bQPO'#ESQ'hQPOOOOQO-E8P-E8POOQO'#DW'#DWO(rQPO,59qOOQO'#EU'#EUO(}QPO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YOQ{R!_YU[OQ{R!a[U^OQ{R!c^U`OQ{R!e`UbOQ{R!gbUeOQ{R!ieUgOQ{R!kgQ#e!jR$]#eUiOQ{R!miQ#g!lR$_#gUkOQ{R!pkQ$b#hR${$bQ#q!oQ#{!wT$h#q#{Q#s!oR$j#sQ#x!rQ#}!}T$o#x#}W#u!r!}#x#}R$l#uW#w!r!}#x#}R$n#wUmOQ{R!smUoOQ{R!toQ#z!uR$p#zUqOQ{R!vqQ$r#{R%O$rQ%W%PR%X%WUsOQ{R!xsUuOQ{R!{uUwOQ{R!|wUxOQ{R#Px!j!]Y[^`begikuw!Q!S!V!W!^!z#X#[#^#a#b#i#j#l#o#u#w#|$V$d$g$z%]%`%aQ$T#YR%Q$v", + nodeNames: "\u26A0 ask random if pressed else and or is while define with true false True False print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Op Number Op Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op InListCheck NotInListCheck Else Repeat For Define Return While ErrorInvalid", + maxTerm: 141, + nodeProps: [ + ["group", 58, "turtle"] + ], + skippedNodes: [0, 36], + repeatNodeCount: 39, + tokenData: "9_~R!nYZ&Ppq&Uqr&Zrs&fst'Ztu'ruv'rvw'rwx+pxy'ryz'rz{,`{|,e|},j}!O,o!O!P'r!P!Q,t!Q!R,y!R!S,y!S!T,y!T!U,y!U!V,y!V!W,y!W!X,y!X!Y,y!Y!Z,y!Z![,y![!]'r!]!^'r!^!_8e!_!`8j!`!a8o!a!b'r!b!c'r!c!}'r!}#O8t#O#P'r#P#Q8y#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBnBo9OBoD`'rDfDg,yDgDh,yDhDi,yDiDj,yDjDk,yDkDl,yDlDm,yDmDn,yDnDo,yDoDp,yDvGl'rGlGm,yGmGn,yGnGo,yGoGp,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`+j<%l?Hb'r?HcO'r~0x!Zx~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R4k!R!S4k!S!T4k!T!U4k!U!V4k!V!W4k!W!X4k!X!Y4k!Y!Z4k!Z![4k![!]'r!]!^'r!a!b'r!b!c'r!c!}'r#O#P'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4kDgDh4kDhDi4kDiDj4kDjDk4kDkDl4kDlDm4kDmDn4kDnDo4kDoDp4kDvGl'rGlGm4kGmGn4kGnGo4kGoGp4kGpGq4kGqGr4kGrGs4kGsGt4kGtGu4kGuGv4kGv&FV'r&FW;'S'r;'S;=`+j<%l?Hb'r?HcO'r~4r!Z{~x~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R4k!R!S4k!S!T4k!T!U4k!U!V4k!V!W4k!W!X4k!X!Y4k!Y!Z4k!Z![4k![!]'r!]!^'r!a!b'r!b!c'r!c!}'r#O#P'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4kDgDh4kDhDi4kDiDj4kDjDk4kDkDl4kDlDm4kDmDn4kDnDo4kDoDp4kDvGl'rGlGm4kGmGn4kGnGo4kGoGp4kGpGq4kGqGr4kGrGs4kGsGt4kGtGu4kGuGv4kGv&FV'r&FW;'S'r;'S;=`+j<%l?Hb'r?HcO'r~8jO$R~~8oO#t~~8tO$Q~~8yO#r~~9OO#s~~9TO#w~~9YO#y~~9_O#x~", + tokenizers: [0], + topRules: { "Program": [0, 37] }, + dynamicPrecedences: { "82": -10 }, + specialized: [{ term: 40, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 40, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1765 + }); + } // static/js/lezer-parsers/level17-parser.ts - var parser17 = LRParser.deserialize({ - version: 14, - states: "=pQYQPOOOOQO'#EU'#EUQYQPOOO!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%O$SR%^%OQ%h%_R%i%hUsOQ}R!|sUuOQ}R#PuUwOQ}R#QwUyOQ}R#SyUzOQ}R#Vz!l!_Y[^`begikuwy!S!U!X!Y!`#O#_#b#d#g#h#o#p#r#u#{#}$T$b$o$r%Y%n%q%rQ$`#`R%b%U", - nodeNames: "\u26A0 ask random if pressed else and or is while elif define with true false True False print forward turn color sleep play add from remove to_list clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Op Number Op Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op InListCheck NotInListCheck Op Else Repeat For Define Return While Elif ErrorInvalid", - maxTerm: 146, - nodeProps: [ - ["group", 59, "turtle"] - ], - skippedNodes: [0, 37], - repeatNodeCount: 40, - tokenData: "9W~R!nYZ&Ppq&Uqr&Zrs&fst'Ztu'ruv'rvw'rwx+mxy'ryz'rz{,]{|,b|},g}!O,l!O!P'r!P!Q,q!Q!R,v!R!S,v!S!T,v!T!U,v!U!V,v!V!W,v!W!X,v!X!Y,v!Y!Z,v!Z![,v![!]8X!]!^'r!^!_8^!_!`8c!`!a8h!a!b'r!b!c'r!c!}'r!}#O8m#O#P'r#P#Q8r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBnBo8wBoD`'rDfDg,vDgDh,vDhDi,vDiDj,vDjDk,vDkDl,vDlDm,vDmDn,vDnDo,vDoDp,vDvGl'rGlGm,vGmGn,vGnGo,vGoGp,vGpGq,vGqGr,vGrGs,vGsGt,vGtGu,vGuGv,vGv&FV'r&FV&FW8|&FW;'S'r;'S;=`+g<%l?Hb'r?Hb?Hc9R?HcO'r~&UO#u~~&ZO#t~~&^P!_!`&a~&fO$T~~&iVOY&fZr&frs'Os#O&f#P;'S&f;'S;=`'T<%lO&f~'TO!Q~~'WP;=`<%l&f~'`Su~OY'ZZ;'S'Z;'S;=`'l<%lO'Z~'o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Dl4bDlDm4bDmDn4bDnDo4bDoDp4bDvGl'rGlGm4bGmGn4bGnGo4bGoGp4bGpGq4bGqGr4bGrGs4bGsGt4bGtGu4bGuGv4bGv&FV'r&FW;'S'r;'S;=`+g<%l?Hb'r?HcO'r~4i!Y|~y~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R4b!R!S4b!S!T4b!T!U4b!U!V4b!V!W4b!W!X4b!X!Y4b!Y!Z4b!Z![4b!]!^'r!a!b'r!b!c'r!c!}'r#O#P'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4bDgDh4bDhDi4bDiDj4bDjDk4bDkDl4bDlDm4bDmDn4bDnDo4bDoDp4bDvGl'rGlGm4bGmGn4bGnGo4bGoGp4bGpGq4bGqGr4bGrGs4bGsGt4bGtGu4bGuGv4bGv&FV'r&FW;'S'r;'S;=`+g<%l?Hb'r?HcO'r~8^O$W~~8cO$V~~8hO#x~~8mO$U~~8rO#v~~8wO#w~~8|O#{~~9RO#}~~9WO#|~", - tokenizers: [0], - topRules: { "Program": [0, 38] }, - dynamicPrecedences: { "85": -10 }, - specialized: [{ term: 41, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 41, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], - tokenPrec: 1730 - }); + function generateParser17(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + const extendKeyword = extendKeywordGen(level2, language2); + return LRParser.deserialize({ + version: 14, + states: "=pQYQPOOOOQO'#EU'#EUQYQPOOO!jQPO'#E}OOQO'#EZ'#EZO#OQPO'#D_O#WQPO'#DUOOQO'#Ea'#EaO#`QPO'#DfOOQO'#Eb'#EbO$VQPO'#DgOOQO'#Ec'#EcO$^QPO'#DhOOQO'#Ed'#EdO$eQPO'#DjOOQO'#Ee'#EeO$lQPO'#DkOOQO'#Ef'#EfO$sQPO'#DlOOQO'#Di'#DiOOQO'#Eg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clear in not_in repeat times for to range call return Comment Program Command Assign Text ListAccess Op Number Op Op Expression String Call Arguments Op Op Op AssignList Ask Clear Print Play Turtle Forward Turn Color Sleep Add Remove If Condition PressedCheck EqualityCheck NotEqualCheck Op ComparisonCheck Op Op InListCheck NotInListCheck Op Else Repeat For Define Return While Elif ErrorInvalid", + maxTerm: 146, + nodeProps: [ + ["group", 59, "turtle"] + ], + skippedNodes: [0, 37], + repeatNodeCount: 40, + tokenData: "9W~R!nYZ&Ppq&Uqr&Zrs&fst'Ztu'ruv'rvw'rwx+mxy'ryz'rz{,]{|,b|},g}!O,l!O!P'r!P!Q,q!Q!R,v!R!S,v!S!T,v!T!U,v!U!V,v!V!W,v!W!X,v!X!Y,v!Y!Z,v!Z![,v![!]8X!]!^'r!^!_8^!_!`8c!`!a8h!a!b'r!b!c'r!c!}'r!}#O8m#O#P'r#P#Q8r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBnBo8wBoD`'rDfDg,vDgDh,vDhDi,vDiDj,vDjDk,vDkDl,vDlDm,vDmDn,vDnDo,vDoDp,vDvGl'rGlGm,vGmGn,vGnGo,vGoGp,vGpGq,vGqGr,vGrGs,vGsGt,vGtGu,vGuGv,vGv&FV'r&FV&FW8|&FW;'S'r;'S;=`+g<%l?Hb'r?Hb?Hc9R?HcO'r~&UO#u~~&ZO#t~~&^P!_!`&a~&fO$T~~&iVOY&fZr&frs'Os#O&f#P;'S&f;'S;=`'T<%lO&f~'TO!Q~~'WP;=`<%l&f~'`Su~OY'ZZ;'S'Z;'S;=`'l<%lO'Z~'oP;=`<%l'Z~'w!Yy~tu'ruv'rvw'rxy'ryz'r!O!P'r!Q!R'r!R!S'r!S!T'r!T!U'r!U!V'r!V!W'r!W!X'r!X!Y'r!Y!Z'r!Z!['r!]!^'r!a!b'r!b!c'r!c!}'r#O#P'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg'rD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V!W4b!W!X4b!X!Y4b!Y!Z4b!Z![4b!]!^'r!a!b'r!b!c'r!c!}'r#O#P'r#Q#R'r#R#S'r#S#T'r#T#o'r#o#p'r#q#r'r#r#s'r$gBn'rBoD`'rDfDg4bDgDh4bDhDi4bDiDj4bDjDk4bDkDl4bDlDm4bDmDn4bDnDo4bDoDp4bDvGl'rGlGm4bGmGn4bGnGo4bGoGp4bGpGq4bGqGr4bGrGs4bGsGt4bGtGu4bGuGv4bGv&FV'r&FW;'S'r;'S;=`+g<%l?Hb'r?HcO'r~8^O$W~~8cO$V~~8hO#x~~8mO$U~~8rO#v~~8wO#w~~8|O#{~~9RO#}~~9WO#|~", + tokenizers: [0], + topRules: { "Program": [0, 38] }, + dynamicPrecedences: { "85": -10 }, + specialized: [{ term: 41, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }, { term: 41, get: (value, stack) => extendKeyword(value, stack) << 1 | 1, external: extendKeyword, extend: true }], + tokenPrec: 1730 + }); + } // static/js/lezer-parsers/level18-parser.ts - var parser18 = LRParser.deserialize({ - version: 14, - states: "=vQYQPOOOOQO'#ES'#ESQYQPOOO!gQPO'#ExO#OQPO'#DROOQO'#E['#E[O#WQPO'#DeOOQO'#E]'#E]O#cQPO'#DfOOQO'#E^'#E^O$SQPO'#DgOOQO'#E_'#E_O$ZQPO'#DiOOQO'#E`'#E`O$bQPO'#DjOOQO'#Ea'#EaO$iQPO'#DkOOQO'#Dh'#DhOOQO'#Eb'#EbO$pQPO'#DlOOQO'#Ec'#EcO$}QPO'#DmOOQO'#Ee'#EeO%UQPO'#DnOOQO'#Eg'#EgO%tQPO'#DoOOQO'#Em'#EmO%{QPO'#DzOOQO'#En'#EnO&TQPO'#D{OOQO'#Ep'#EpO&`QPO'#D|OOQO'#Es'#EsO&hQPO'#D}OOQO'#Et'#EtO&pQPO'#EOOOQO'#Ev'#EvO&xQPO'#EPOOQO'#Ew'#EwO'PQPO'#EQO'WQPO'#EROOQO'#DQ'#DQQ!b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ek'#EkO5PQPO'#EjOOQO'#El'#ElO5WQPO'#EjO/aQPO1G/uOOQO1G/u1G/uOOQO'#Eo'#EoO5_QPO1G0ROOQO'#Eq'#EqO5jQPO1G0SO)VQPO1G0TOOQO-E8s-E8sO/aQPO1G0VOOQO1G0V1G0VO/aQPO1G0WOOQO1G0W1G0WOOQO-E8S-E8SOOQO'#DW'#DWOOQO7+$u7+$uOOQO-E8U-E8UOOQO7+%T7+%TO5uQPO7+%TOOQO-E8X-E8XO)VQPO7+%UOOQO7+$|7+$|OOQO'#D_'#D_O6WQPO,59xO#kQPO'#EXOOQO7+%W7+%WOOQO1G1_1G1_O6iQPO1G1_OOQO-E8b-E8bOOQO7+%_7+%_OOQO-E8d-E8dOOQO7+%`7+%`OOQO'#Eh'#EhO8fQPO1G/wO8tQPO1G/xO#kQPO1G/xO9]QPO1G/yO9tQPO1G/{O#kQPO1G/{OOQO-E8g-E8gOOQO1G0O1G0OOOQO-E8i-E8iOOQO,5;U,5;UOOQO-E8j-E8jOOQO-E8h-E8hOOQO7+%a7+%aOOQO-E8m-E8mOOQO-E8o-E8oOOQO'#Er'#ErO:]QPO7+%nO&OQPO7+%nO&OQPO7+%oO3dQPO7+%oOOQO7+%q7+%qOOQO7+%r7+%rO:eQPO'#EYO5uQPO<ZAN>ZOOQOAN>[AN>[O5xQPOAN>tOOQOAN>uAN>uO specializeKeyword(value, stack) << 1, external: specializeKeyword }], - tokenPrec: 1310 - }); + function generateParser18(level2, language2) { + const specializeKeyword = specializeKeywordGen(level2, language2); + void 0; + return LRParser.deserialize({ + version: 14, + states: "=vQYQPOOOOQO'#ES'#ESQYQPOOO!gQPO'#ExO#OQPO'#DROOQO'#E['#E[O#WQPO'#DeOOQO'#E]'#E]O#cQPO'#DfOOQO'#E^'#E^O$SQPO'#DgOOQO'#E_'#E_O$ZQPO'#DiOOQO'#E`'#E`O$bQPO'#DjOOQO'#Ea'#EaO$iQPO'#DkOOQO'#Dh'#DhOOQO'#Eb'#EbO$pQ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ts var languagePerLevel = { - 1: parser, - 2: parser2, - 3: parser3, - 4: parser4, - 5: parser5, - 6: parser6, - 7: parser7, - 8: parser8, - 9: parser9, - 10: parser10, - 11: parser11, - 12: parser12, - 13: parser13, - 14: parser14, - 15: parser15, - 16: parser16, - 17: parser17, - 18: parser18 + 1: (lang) => generateParser(1, lang), + 2: (lang) => generateParser2(2, lang), + 3: (lang) => generateParser3(3, lang), + 4: (lang) => generateParser4(4, lang), + 5: (lang) => generateParser5(5, lang), + 6: (lang) => generateParser6(6, lang), + 7: (lang) => generateParser7(7, lang), + 8: (lang) => generateParser8(8, lang), + 9: (lang) => generateParser9(9, lang), + 10: (lang) => generateParser10(10, lang), + 11: (lang) => generateParser11(11, lang), + 12: (lang) => generateParser12(12, lang), + 13: (lang) => generateParser13(13, lang), + 14: (lang) => generateParser14(14, lang), + 15: (lang) => generateParser15(15, lang), + 16: (lang) => generateParser16(16, lang), + 17: (lang) => generateParser17(17, lang), + 18: (lang) => generateParser18(18, lang) }; var keywords = [ "print", @@ -101645,6 +101721,7 @@ def note_with_error(value, err): click: true }); this.incorrectLineMapping = {}; + var _a3; let state; if (editorType === EditorType.MAIN) { const mainEditorStyling = EditorView.theme({ @@ -101760,12 +101837,15 @@ def note_with_error(value, err): parent: element, state }); - if (theLevel) { - this.setHighlighterForLevel(theLevel); + const levelStr = $(element).closest("[data-level]").attr("data-level"); + const lang = (_a3 = $(element).closest("[data-lang]").attr("data-lang")) != null ? _a3 : "en"; + const levelInt = levelStr ? parseInt(levelStr, 10) : theLevel; + if (levelInt) { + this.setHighlighterForLevel(levelInt, lang); } } - setHighlighterForLevel(level3) { - const language2 = languagePerLevel[level3]; + setHighlighterForLevel(level2, lang) { + const language2 = languagePerLevel[level2](lang); const hedyStyleTags = { "print forward turn play color ask is echo sleep Comma": tags.keyword, "at random remove from add to if else in not_in Op": tags.keyword, @@ -101839,8 +101919,8 @@ def note_with_error(value, err): } configureMainEditor() { } - getHighlighter(level3) { - return `${level3}`; + getHighlighter(level2) { + return `${level2}`; } trimTrailingSpace() { deleteTrailingWhitespace(this.view); @@ -104156,10 +104236,10 @@ def note_with_error(value, err): var sortable_esm_default = Sortable; // static/js/parsons.ts - function loadParsonsExercise(level3, exercise) { + function loadParsonsExercise(level2, exercise) { $("#next_parson_button").hide(); let parameters = new URLSearchParams(window.location.search); - let url = "/parsons/get-exercise/" + level3 + "/" + exercise; + let url = "/parsons/get-exercise/" + level2 + "/" + exercise; if (parameters.has("keyword_language")) { url += "/" + parameters.get("keyword_language"); } @@ -104173,7 +104253,7 @@ def note_with_error(value, err): resetView(); updateHeader(exercise); showExercise(response); - updateNextExerciseButton(level3, exercise); + updateNextExerciseButton(level2, exercise); }).fail(function(err) { modal.notifyError(err.responseText); }); @@ -104217,10 +104297,10 @@ def note_with_error(value, err): }); $("#parsons_explanation_story").text(response.story); } - function updateNextExerciseButton(level3, exercise) { + function updateNextExerciseButton(level2, exercise) { const max_exercise = $("#next_parson_button").attr("max_exercise") || 1; if (exercise < max_exercise) { - $("#next_parson_button").on("click", () => loadParsonsExercise(level3, exercise + 1)); + $("#next_parson_button").on("click", () => loadParsonsExercise(level2, exercise + 1)); } else { $("#next_parson_button").off("click"); } @@ -104317,7 +104397,7 @@ def note_with_error(value, err): var theGlobalEditor2; var theLevel2; var theLanguage; - var TRADUCTION2; + var TRADUCTION; var variable_view = true; var showRoles = false; var step_debugger = false; @@ -104424,21 +104504,21 @@ def note_with_error(value, err): if (!TRADUCTIONS.has(lang)) { lang = "en"; } - TRADUCTION2 = TRADUCTIONS.get(lang); + TRADUCTION = TRADUCTIONS.get(lang); if (!variable_view) { $("#variables").hide(); $("#variable_button").hide(); } if (options.level > 0) { - let level3 = options.level; - step_debugger = level3 <= 700; + let level2 = options.level; + step_debugger = level2 <= 700; } if (!step_debugger) { $("#debug_button").hide(); } if (options.level != 0) { - let level3 = options.level; - variable_view = level3 >= 2; + let level2 = options.level; + variable_view = level2 >= 2; } initializeBreakpoints(options.editor); } @@ -104548,9 +104628,9 @@ def note_with_error(value, err): const suspension_info = theGlobalDebugger.getSuspensionInfo(active_suspension); const lineNumber = suspension_info.lineno; load_variables(suspension_info.variables); - const ifRegexTranslated = ifRegex.replace("__if__", TRADUCTION2.get("if")).replace("__is__", TRADUCTION2.get("is")).replace("__in__", TRADUCTION2.get("in")); - const repeatRegexTranslated = repeatRegex.replace("__repeat__", TRADUCTION2.get("repeat")).replace("__times__", TRADUCTION2.get("times")); - const elseRegexTranslated = elseRegex.replace("__else__", TRADUCTION2.get("else")); + const ifRegexTranslated = ifRegex.replace("__if__", TRADUCTION.get("if")).replace("__is__", TRADUCTION.get("is")).replace("__in__", TRADUCTION.get("in")); + const repeatRegexTranslated = repeatRegex.replace("__repeat__", TRADUCTION.get("repeat")).replace("__times__", TRADUCTION.get("times")); + const elseRegexTranslated = elseRegex.replace("__else__", TRADUCTION.get("else")); const ifRe = new RegExp(ifRegexTranslated, "gu"); const repeatRe = new RegExp(repeatRegexTranslated, "gu"); const elseRe = new RegExp(elseRegexTranslated, "gu"); @@ -104713,13 +104793,13 @@ def note_with_error(value, err): if (!TRADUCTIONS.has(lang)) { lang = "en"; } - let TRADUCTION3 = TRADUCTIONS.get(lang); + let TRADUCTION2 = TRADUCTIONS.get(lang); if (editorContainer) { await initializeEditor(lang, editorContainer); await initializeEditor(lang, editorSolutionExampleContainer, true); - showWarningIfMultipleKeywords(TRADUCTION3); + showWarningIfMultipleKeywords(TRADUCTION2); $editor.model.document.on("change:data", () => { - showWarningIfMultipleKeywords(TRADUCTION3); + showWarningIfMultipleKeywords(TRADUCTION2); }); } $("#language").on("change", () => { @@ -104727,7 +104807,7 @@ def note_with_error(value, err): if (!TRADUCTIONS.has(lang2)) { lang2 = "en"; } - TRADUCTION3 = TRADUCTIONS.get(lang2); + TRADUCTION2 = TRADUCTIONS.get(lang2); }); autoSave("customize_adventure"); showWarningIfMultipleLevels(); @@ -104746,13 +104826,13 @@ def note_with_error(value, err): $("#warningbox").hide(); } } - function showWarningIfMultipleKeywords(TRADUCTION3) { + function showWarningIfMultipleKeywords(TRADUCTION2) { const content2 = import_dompurify.default.sanitize($editor.getData()); - const parser19 = new DOMParser(); - const html = parser19.parseFromString(content2, "text/html"); + const parser = new DOMParser(); + const html = parser.parseFromString(content2, "text/html"); for (const tag of html.getElementsByTagName("code")) { if (tag.className !== "language-python") { - const coincidences = findCoincidences(tag.innerText, TRADUCTION3); + const coincidences = findCoincidences(tag.innerText, TRADUCTION2); if (coincidences.length > 1 && !keywordHasAlert.get(tag.innerText)) { keywordHasAlert.set(tag.innerText, true); const template = document.querySelector("#warning_template"); @@ -104781,9 +104861,9 @@ def note_with_error(value, err): function formatKeyword(name2) { return `${name2}`; } - function findCoincidences(name2, TRADUCTION3) { + function findCoincidences(name2, TRADUCTION2) { let coincidences = []; - for (const [key, regexString] of TRADUCTION3) { + for (const [key, regexString] of TRADUCTION2) { if (new RegExp(`^(${regexString})$`, "gu").test(name2)) { coincidences.push(key); } @@ -104814,12 +104894,11 @@ def note_with_error(value, err): }); }); } - function addCurlyBracesToCode(code, level3, language2 = "en") { + function addCurlyBracesToCode(code, level2, language2 = "en") { if (code.match(/\{(\w|_)+\}/g)) return code; - initializeTranslation({ keywordLanguage: language2, level: level3 }); - let parser19 = languagePerLevel[level3]; - let parseResult = parser19.parse(code); + let parser = languagePerLevel[level2](language2); + let parseResult = parser.parse(code); let formattedCode = ""; let previous_node = void 0; parseResult.iterate({ @@ -104875,8 +104954,8 @@ def note_with_error(value, err): if (!TRADUCTIONS.has(lang)) { lang = "en"; } - let TRADUCTION3 = TRADUCTIONS.get(lang); - for (const [key, regexString] of TRADUCTION3) { + let TRADUCTION2 = TRADUCTIONS.get(lang); + for (const [key, regexString] of TRADUCTION2) { if (new RegExp(`^(${regexString})$`, "gu").test(name2) || name2 === key) { return `{${key}}`; } @@ -118609,13 +118688,13 @@ def note_with_error(value, err): return null; } const adapter = scale._adapter; - const { parser: parser19, round: round3, isoWeekday } = scale._parseOpts; + const { parser, round: round3, isoWeekday } = scale._parseOpts; let value = input2; - if (typeof parser19 === "function") { - value = parser19(value); + if (typeof parser === "function") { + value = parser(value); } if (!isNumberFinite(value)) { - value = typeof parser19 === "string" ? adapter.parse(value, parser19) : adapter.parse(value); + value = typeof parser === "string" ? adapter.parse(value, parser) : adapter.parse(value); } if (value === null) { return null; @@ -119279,8 +119358,8 @@ def note_with_error(value, err): }); } function get_formatted_content(content2, levels, language2) { - const parser19 = new DOMParser(); - const html = parser19.parseFromString(content2, "text/html"); + const parser = new DOMParser(); + const html = parser.parseFromString(content2, "text/html"); let minLevel = 1; if (levels.length) { minLevel = Math.min(...levels.map((el3) => Number(el3))); @@ -119391,12 +119470,9 @@ def note_with_error(value, err): } const exampleEditor = editorCreator.initializeReadOnlyEditor(preview, dir); exampleEditor.contents = code.trimEnd(); - for (const level3 of levels) { - initializeTranslation({ - keywordLanguage: theKeywordLanguage, - level: parseInt(level3, 10) - }); - exampleEditor.setHighlighterForLevel(parseInt(level3, 10)); + for (const level2 of levels) { + exampleEditor.setHighlighterForLevel(parseInt(level2, 10), theKeywordLanguage); + break; } } } @@ -119533,27 +119609,27 @@ def note_with_error(value, err): } }); } - function enable_level(level3) { - if ($("#enable_level_" + level3).is(":checked")) { - $("#opening_date_level_" + level3).prop("disabled", false).attr("type", "text").attr("placeholder", ClientMessages.directly_available).removeClass("bg-green-300").addClass("bg-gray-200"); + function enable_level(level2) { + if ($("#enable_level_" + level2).is(":checked")) { + $("#opening_date_level_" + level2).prop("disabled", false).attr("type", "text").attr("placeholder", ClientMessages.directly_available).removeClass("bg-green-300").addClass("bg-gray-200"); } else { - $("#opening_date_level_" + level3).prop("disabled", true).attr("type", "text").attr("placeholder", ClientMessages.disabled).val(""); + $("#opening_date_level_" + level2).prop("disabled", true).attr("type", "text").attr("placeholder", ClientMessages.disabled).val(""); } - if ($("#level_" + level3).is(":visible")) { - setLevelStateIndicator(level3); + if ($("#level_" + level2).is(":visible")) { + setLevelStateIndicator(level2); } } - function setDateLevelInputColor(level3) { - var date_string = $("#opening_date_level_" + level3).val(); + function setDateLevelInputColor(level2) { + var date_string = $("#opening_date_level_" + level2).val(); var input_date = new Date(date_string); var today_date = new Date(); if (input_date > today_date) { - $("#opening_date_level_" + level3).removeClass("bg-gray-200").addClass("bg-green-300"); + $("#opening_date_level_" + level2).removeClass("bg-gray-200").addClass("bg-green-300"); } else { - $("#opening_date_level_" + level3).removeClass("bg-green-300").addClass("bg-gray-200"); + $("#opening_date_level_" + level2).removeClass("bg-green-300").addClass("bg-gray-200"); } - if ($("#level_" + level3).is(":visible")) { - setLevelStateIndicator(level3); + if ($("#level_" + level2).is(":visible")) { + setLevelStateIndicator(level2); } } function add_account_placeholder() { @@ -119717,14 +119793,14 @@ def note_with_error(value, err): startTeacherTutorial(); } } - function setLevelStateIndicator(level3) { + function setLevelStateIndicator(level2) { $("[id^=state_]").addClass("hidden"); - if ($("#opening_date_level_" + level3).is(":disabled")) { + if ($("#opening_date_level_" + level2).is(":disabled")) { $("#state_disabled").removeClass("hidden"); - } else if ($("#opening_date_level_" + level3).val() === "") { + } else if ($("#opening_date_level_" + level2).val() === "") { $("#state_accessible").removeClass("hidden"); } else { - var date_string = $("#opening_date_level_" + level3).val(); + var date_string = $("#opening_date_level_" + level2).val(); var input_date = new Date(date_string); var today_date = new Date(); if (input_date > today_date) { @@ -119750,8 +119826,8 @@ def note_with_error(value, err): setDateLevelInputColor($(this).attr("level")); }); $("#levels_dropdown").on("change", function() { - var level3 = $(this).val(); - setLevelStateIndicator(level3); + var level2 = $(this).val(); + setLevelStateIndicator(level2); }); autoSave("customize_class", null, { elementId: "levels_dropdown", trigger: "input" }); }); @@ -120453,12 +120529,12 @@ def note_with_error(value, err): $("*[data-tab]").on("click", (e) => { const tab = $(e.target); const tabName = tab.data("tab"); - const level3 = tab.data("level"); + const level2 = tab.data("level"); e.preventDefault(); - if (this._currentLevel == Number(level3)) - this.switchToTab(tabName, Number(level3)); + if (this._currentLevel == Number(level2)) + this.switchToTab(tabName, Number(level2)); else - location.href = `/tryit/${level3}#${tabName}`; + location.href = `/tryit/${level2}#${tabName}`; }); $("#next_adventure").on("click", () => { this.switchPreviousOrNext(true); @@ -120478,7 +120554,7 @@ def note_with_error(value, err): this.switchToTab(initialTab, this._currentLevel); } } - switchToTab(tabName, level3) { + switchToTab(tabName, level2) { const doSwitch = () => { var _a3, _b, _c2, _d2, _e2, _f; const oldTab = this._currentTab; @@ -120487,7 +120563,7 @@ def note_with_error(value, err): if (window.history) { window.history.replaceState(null, "", "#" + hashFragment); } - const tab = $(`*[data-tab="${tabName}"][data-level="${level3}"]`); + const tab = $(`*[data-tab="${tabName}"][data-level="${level2}"]`); const allTabs = tab.siblings("*[data-tab]"); const target = $('*[data-tabtarget="' + tabName + '"]'); const allTargets = target.siblings("*[data-tabtarget]"); @@ -120702,7 +120778,6 @@ def note_with_error(value, err): if ($editor2.length) { const dir = $("body").attr("dir"); theGlobalEditor = editorCreator2.initializeEditorWithGutter($editor2, EditorType.MAIN, dir); - initializeTranslation({ keywordLanguage: theKeywordLanguage, level: theLevel }); attachMainEditorEvents(theGlobalEditor); initializeDebugger({ editor: theGlobalEditor, @@ -120811,10 +120886,6 @@ def note_with_error(value, err): theLanguage2 = options.lang; const dir = $("body").attr("dir"); theGlobalEditor = editorCreator2.initializeEditorWithGutter($("#editor"), EditorType.MAIN, dir); - initializeTranslation({ - keywordLanguage: options.lang, - level: options.level - }); attachMainEditorEvents(theGlobalEditor); theGlobalEditor.contents = options.code; initializeDebugger({ @@ -120827,12 +120898,6 @@ def note_with_error(value, err): function initializeHighlightedCodeBlocks(where, initializeAll) { const dir = $("body").attr("dir"); initializeParsons(); - if (theLevel) { - initializeTranslation({ - keywordLanguage: theKeywordLanguage, - level: theLevel - }); - } for (const container of $(where).find(".turn-pre-into-ace").get()) { for (const preview of $(container).find("pre").get()) { $(preview).addClass("relative text-lg rounded overflow-x-hidden").attr("lang", theKeywordLanguage); @@ -120878,15 +120943,11 @@ def note_with_error(value, err): const levelStr = $(preview).attr("level"); const lang = $(preview).attr("lang"); if (levelStr && lang) { - initializeTranslation({ - keywordLanguage: lang, - level: parseInt(levelStr, 10) - }); - exampleEditor.setHighlighterForLevel(parseInt(levelStr, 10)); + exampleEditor.setHighlighterForLevel(parseInt(levelStr, 10), lang); } } - function getHighlighter(level3) { - return `ace/mode/level${level3}`; + function getHighlighter(level2) { + return `ace/mode/level${level2}`; } function stopit() { Sk.execLimit = 1; @@ -120916,7 +120977,7 @@ def note_with_error(value, err): buttonsDiv.empty(); buttonsDiv.hide(); } - async function runit(level3, lang, raw, disabled_prompt, run_type, cb2) { + async function runit(level2, lang, raw, disabled_prompt, run_type, cb2) { const adventureName = currentTab; if (askPromptOpen) { if (disabled_prompt) { @@ -120962,7 +121023,7 @@ def note_with_error(value, err): try { cancelPendingAutomaticSave(); let data = { - level: `${level3}`, + level: `${level2}`, code, lang, skip_faulty: false, @@ -121008,7 +121069,7 @@ def note_with_error(value, err): runPythonProgram(program_data.Code, program_data.source_map, program_data.has_turtle, program_data.has_pressed, program_data.has_sleep, program_data.has_clear, program_data.has_music, program_data.Warning, program_data.variables, program_data.is_modified, cb2, run_type).catch(function(err) { if (err != null) { error.show(ClientMessages["Execute_error"], err.message); - reportClientError(level3, code, err.message); + reportClientError(level2, code, err.message); } }); } catch (e) { @@ -121184,9 +121245,9 @@ def note_with_error(value, err): modal.hide(); modal.notifySuccess(prompt, 3e3); } - function reportClientError(level3, code, client_error) { + function reportClientError(level2, code, client_error) { postJson("/report_error", { - level: `${level3}`, + level: `${level2}`, code, page: window.location.href, client_error @@ -121320,11 +121381,11 @@ def note_with_error(value, err): } }, execLimit: function() { - const level3 = theLevel; + const level2 = theLevel; if (hasTurtle || hasPressed || hasMusic) { return 6e6; } - if (level3 < 7) { + if (level2 < 7) { return 3e6; } return hasSleep ? 3e4 : 1e4; @@ -121556,8 +121617,8 @@ def note_with_error(value, err): return window.speechSynthesis.getVoices().filter((voice) => voice.lang.startsWith(simpleLang)); } } - function load_quiz(level3) { - $('*[data-tabtarget="quiz"]').html(''); + function load_quiz(level2) { + $('*[data-tabtarget="quiz"]').html(''); } async function store_parsons_attempt(order, correct) { try { @@ -121618,8 +121679,8 @@ def note_with_error(value, err): const outputDiv = $("#output"); outputDiv.scrollTop(outputDiv.prop("scrollHeight")); } - function modalStepOne(level3) { - createModal(level3); + function modalStepOne(level2) { + createModal(level2); let $modalEditor = $("#modal_editor"); if ($modalEditor.length) { const dir = $("body").attr("dir"); @@ -121632,8 +121693,8 @@ def note_with_error(value, err): var randomnum = Math.floor(Math.random() * allsuccessmessages.length); success.show(allsuccessmessages[randomnum], isModified); } - function createModal(level3) { - let editor = ``.replace("{level}", level3.toString()); + function createModal(level2) { + let editor = ``.replace("{level}", level2.toString()); let title = ClientMessages["Program_repair"]; modal.repair(editor, 0, title); } @@ -121796,10 +121857,10 @@ def note_with_error(value, err): timers.forEach(clearTimeout); timers = []; }; - function downloadSlides(level3) { - var iframe = document.getElementById(`level_${level3}_slides`); - iframe.setAttribute("src", `/slides/${level3}`); - $(`#level_${level3}_slides`).on("load", function() { + function downloadSlides(level2) { + var iframe = document.getElementById(`level_${level2}_slides`); + iframe.setAttribute("src", `/slides/${level2}`); + $(`#level_${level2}_slides`).on("load", function() { var innerDoc = iframe.contentDocument || iframe.contentWindow.document; var slides = innerDoc.getElementsByTagName("section"); var slidesHTML = ""; @@ -121818,9 +121879,9 @@ def note_with_error(value, err): var zip = (0, import_jszip.default)(); zip.file("index.html", template); zip.folder("lib"); - zip.folder(`hedy-level-${level3}`); + zip.folder(`hedy-level-${level2}`); zip.generateAsync({ type: "blob" }).then(function(content2) { - download(content2, `hedy-level-${level3}.zip`, "zip"); + download(content2, `hedy-level-${level2}.zip`, "zip"); }); }); } @@ -122032,11 +122093,11 @@ def note_with_error(value, err): function currentTabLsKey() { return `save-${currentTab}-${theLevel}`; } - function goToLevel(level3) { + function goToLevel(level2) { const hash = window.location.hash; - let newPath = window.location.pathname.replace(/\/\d+/, `/${level3}`); - if (!newPath.includes(level3)) { - newPath = window.location.pathname + `/${level3}`; + let newPath = window.location.pathname.replace(/\/\d+/, `/${level2}`); + if (!newPath.includes(level2)) { + newPath = window.location.pathname + `/${level2}`; } window.location.pathname = newPath; window.location.hash = hash; @@ -122330,12 +122391,12 @@ def note_with_error(value, err): function initialize(options) { var _a3, _b; setClientMessageLanguage(options.lang); - let level3 = options.level; - if (!level3 && ((_a3 = options.javascriptPageOptions) == null ? void 0 : _a3.page) == "customize-adventure") { - level3 = options.javascriptPageOptions.level; + let level2 = options.level; + if (!level2 && ((_a3 = options.javascriptPageOptions) == null ? void 0 : _a3.page) == "customize-adventure") { + level2 = options.javascriptPageOptions.level; } initializeApp({ - level: level3, + level: level2, keywordLanguage: options.keyword_language, staticRoot: options.staticRoot }); @@ -127499,10 +127560,10 @@ def note_with_error(value, err): const searchInput = document.getElementById("search_adventure"); const queryString = window.location.search; const urlParams = new URLSearchParams(queryString); - const level3 = levelSelect.selected[0]; + const level2 = levelSelect.selected[0]; const language2 = languageSelect.selected[0] || ""; const tags2 = tagsSelect.selected.join(","); - urlParams.set("level", level3); + urlParams.set("level", level2); urlParams.set("lang", language2); urlParams.set("tag", tags2); if (searchInput) { @@ -127524,9 +127585,9 @@ def note_with_error(value, err): }); // static/js/microbit.ts - async function saveMicrobit(level3) { + async function saveMicrobit(level2) { const response = await postJson("/generate_microbit_files", { - level: level3, + level: level2, code: get_active_and_trimmed_code() }); if (response.filename) { diff --git a/static/js/appbundle.js.map b/static/js/appbundle.js.map index 4da75b2e1b4..ff49c20c8df 100644 --- a/static/js/appbundle.js.map +++ b/static/js/appbundle.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../../node_modules/jszip/dist/jszip.min.js", "../../node_modules/@babel/runtime/helpers/arrayWithHoles.js", "../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js", "../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js", "../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js", "../../node_modules/@babel/runtime/helpers/nonIterableRest.js", "../../node_modules/@babel/runtime/helpers/slicedToArray.js", "../../node_modules/@babel/runtime/helpers/classCallCheck.js", "../../node_modules/@babel/runtime/helpers/typeof.js", "../../node_modules/@babel/runtime/helpers/toPrimitive.js", "../../node_modules/@babel/runtime/helpers/toPropertyKey.js", "../../node_modules/@babel/runtime/helpers/createClass.js", "../../node_modules/automation-events/build/es5/bundle.js", "../../node_modules/dompurify/src/utils.js", "../../node_modules/dompurify/src/tags.js", "../../node_modules/dompurify/src/attrs.js", "../../node_modules/dompurify/src/regexp.js", "../../node_modules/dompurify/src/purify.js", "ckeditor.js", "index.ts", "message-translations.ts", "client-messages.ts", "modal.ts", "app.ts", "../../node_modules/tone/Tone/version.ts", "../../node_modules/standardized-audio-context/src/module.ts", "../../node_modules/standardized-audio-context/src/factories/abort-error.ts", "../../node_modules/standardized-audio-context/src/factories/add-active-input-connection-to-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/add-audio-node-connections.ts", "../../node_modules/standardized-audio-context/src/factories/add-audio-param-connections.ts", "../../node_modules/standardized-audio-context/src/globals.ts", "../../node_modules/standardized-audio-context/src/helpers/is-constructible.ts", "../../node_modules/standardized-audio-context/src/helpers/split-import-statements.ts", "../../node_modules/standardized-audio-context/src/factories/add-audio-worklet-module.ts", "../../node_modules/standardized-audio-context/src/helpers/get-value-for-key.ts", "../../node_modules/standardized-audio-context/src/helpers/pick-element-from-set.ts", "../../node_modules/standardized-audio-context/src/helpers/delete-passive-input-connection-to-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/get-event-listeners-of-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/set-internal-state-to-active.ts", "../../node_modules/standardized-audio-context/src/guards/audio-worklet-node.ts", "../../node_modules/standardized-audio-context/src/helpers/set-internal-state-to-passive.ts", "../../node_modules/standardized-audio-context/src/helpers/set-internal-state-to-passive-when-necessary.ts", "../../node_modules/standardized-audio-context/src/factories/add-connection-to-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/add-passive-input-connection-to-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/add-silent-connection.ts", "../../node_modules/standardized-audio-context/src/factories/add-unrendered-audio-worklet-node.ts", "../../node_modules/standardized-audio-context/src/factories/analyser-node-constructor.ts", "../../node_modules/standardized-audio-context/src/helpers/is-owned-by-context.ts", "../../node_modules/standardized-audio-context/src/factories/analyser-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.ts", "../../node_modules/standardized-audio-context/src/factories/index-size-error.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-buffer-get-channel-data-method.ts", "../../node_modules/standardized-audio-context/src/factories/audio-buffer-constructor.ts", "../../node_modules/standardized-audio-context/src/constants.ts", "../../node_modules/standardized-audio-context/src/helpers/is-active-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/audio-buffer-source-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/audio-buffer-source-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/guards/audio-buffer-source-node.ts", "../../node_modules/standardized-audio-context/src/guards/biquad-filter-node.ts", "../../node_modules/standardized-audio-context/src/guards/constant-source-node.ts", "../../node_modules/standardized-audio-context/src/guards/gain-node.ts", "../../node_modules/standardized-audio-context/src/guards/oscillator-node.ts", "../../node_modules/standardized-audio-context/src/guards/stereo-panner-node.ts", "../../node_modules/standardized-audio-context/src/helpers/get-audio-node-connections.ts", "../../node_modules/standardized-audio-context/src/helpers/get-audio-param-connections.ts", "../../node_modules/standardized-audio-context/src/helpers/deactivate-active-audio-node-input-connections.ts", "../../node_modules/standardized-audio-context/src/helpers/deactivate-audio-graph.ts", "../../node_modules/standardized-audio-context/src/helpers/is-valid-latency-hint.ts", "../../node_modules/standardized-audio-context/src/factories/audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/audio-destination-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/audio-destination-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/audio-listener-factory.ts", "../../node_modules/standardized-audio-context/src/guards/audio-node.ts", "../../node_modules/standardized-audio-context/src/guards/audio-node-output-connection.ts", "../../node_modules/standardized-audio-context/src/helpers/insert-element-in-set.ts", "../../node_modules/standardized-audio-context/src/helpers/add-active-input-connection-to-audio-param.ts", "../../node_modules/standardized-audio-context/src/helpers/add-passive-input-connection-to-audio-param.ts", "../../node_modules/standardized-audio-context/src/guards/native-audio-node-faker.ts", "../../node_modules/standardized-audio-context/src/helpers/connect-native-audio-node-to-native-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/delete-active-input-connection.ts", "../../node_modules/standardized-audio-context/src/helpers/delete-active-input-connection-to-audio-param.ts", "../../node_modules/standardized-audio-context/src/helpers/delete-event-listeners-of-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/delete-passive-input-connection-to-audio-param.ts", "../../node_modules/standardized-audio-context/src/helpers/disconnect-native-audio-node-from-native-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/get-native-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/get-native-audio-param.ts", "../../node_modules/standardized-audio-context/src/helpers/is-part-of-a-cycle.ts", "../../node_modules/standardized-audio-context/src/helpers/is-passive-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-node-disconnect-method-support.ts", "../../node_modules/standardized-audio-context/src/helpers/visit-each-audio-node-once.ts", "../../node_modules/standardized-audio-context/src/guards/native-audio-node.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-node-disconnect-method.ts", "../../node_modules/standardized-audio-context/src/factories/audio-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/audio-param-factory.ts", "../../node_modules/standardized-audio-context/src/factories/audio-param-renderer.ts", "../../node_modules/standardized-audio-context/src/read-only-map.ts", "../../node_modules/standardized-audio-context/src/factories/audio-worklet-node-constructor.ts", "../../node_modules/standardized-audio-context/src/helpers/copy-from-channel.ts", "../../node_modules/standardized-audio-context/src/helpers/copy-to-channel.ts", "../../node_modules/standardized-audio-context/src/helpers/create-nested-arrays.ts", "../../node_modules/standardized-audio-context/src/helpers/get-audio-worklet-processor.ts", "../../node_modules/standardized-audio-context/src/factories/audio-worklet-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/base-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/biquad-filter-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/biquad-filter-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/cache-test-result.ts", "../../node_modules/standardized-audio-context/src/factories/channel-merger-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/channel-merger-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/channel-splitter-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/channel-splitter-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/connect-audio-param.ts", "../../node_modules/standardized-audio-context/src/factories/connect-multiple-outputs.ts", "../../node_modules/standardized-audio-context/src/factories/connected-native-audio-buffer-source-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/constant-source-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/constant-source-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/convert-number-to-unsigned-long.ts", "../../node_modules/standardized-audio-context/src/factories/convolver-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/convolver-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/create-native-offline-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/data-clone-error.ts", "../../node_modules/standardized-audio-context/src/helpers/detach-array-buffer.ts", "../../node_modules/standardized-audio-context/src/factories/decode-audio-data.ts", "../../node_modules/standardized-audio-context/src/factories/decrement-cycle-counter.ts", "../../node_modules/standardized-audio-context/src/factories/delay-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/delay-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/delete-active-input-connection-to-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/delete-unrendered-audio-worklet-node.ts", "../../node_modules/standardized-audio-context/src/guards/delay-node.ts", "../../node_modules/standardized-audio-context/src/factories/detect-cycles.ts", "../../node_modules/standardized-audio-context/src/factories/disconnect-multiple-outputs.ts", "../../node_modules/standardized-audio-context/src/factories/dynamics-compressor-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/dynamics-compressor-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/encoding-error.ts", "../../node_modules/standardized-audio-context/src/factories/evaluate-source.ts", "../../node_modules/standardized-audio-context/src/factories/event-target-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/expose-current-frame-and-current-time.ts", "../../node_modules/standardized-audio-context/src/factories/fetch-source.ts", "../../node_modules/standardized-audio-context/src/factories/gain-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/gain-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/get-active-audio-worklet-node-inputs.ts", "../../node_modules/standardized-audio-context/src/factories/get-audio-node-renderer.ts", "../../node_modules/standardized-audio-context/src/factories/get-audio-node-tail-time.ts", "../../node_modules/standardized-audio-context/src/factories/get-audio-param-renderer.ts", "../../node_modules/standardized-audio-context/src/factories/get-backup-offline-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/invalid-state-error.ts", "../../node_modules/standardized-audio-context/src/factories/get-native-context.ts", "../../node_modules/standardized-audio-context/src/factories/get-or-create-backup-offline-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/get-unrendered-audio-worklet-nodes.ts", "../../node_modules/standardized-audio-context/src/factories/invalid-access-error.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-iir-filter-node-get-frequency-response-method.ts", "../../node_modules/standardized-audio-context/src/factories/iir-filter-node-constructor.ts", "../../node_modules/standardized-audio-context/src/helpers/filter-buffer.ts", "../../node_modules/standardized-audio-context/src/factories/iir-filter-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/increment-cycle-counter-factory.ts", "../../node_modules/standardized-audio-context/src/factories/is-any-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/is-any-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/is-any-audio-param.ts", "../../node_modules/standardized-audio-context/src/factories/is-any-offline-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/is-native-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/is-native-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/is-native-audio-param.ts", "../../node_modules/standardized-audio-context/src/factories/is-native-context.ts", "../../node_modules/standardized-audio-context/src/factories/is-native-offline-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/is-secure-context.ts", "../../node_modules/standardized-audio-context/src/factories/media-element-audio-source-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/media-stream-audio-destination-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/media-stream-audio-source-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/media-stream-track-audio-source-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/minimal-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/minimal-base-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/helpers/test-promise-support.ts", "../../node_modules/standardized-audio-context/src/factories/minimal-offline-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/monitor-connections.ts", "../../node_modules/standardized-audio-context/src/helpers/assign-native-audio-node-option.ts", "../../node_modules/standardized-audio-context/src/helpers/assign-native-audio-node-options.ts", "../../node_modules/standardized-audio-context/src/helpers/test-analyser-node-get-float-time-domain-data-method-support.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-analyser-node-get-float-time-domain-data-method.ts", "../../node_modules/standardized-audio-context/src/factories/native-analyser-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-buffer-constructor.ts", "../../node_modules/standardized-audio-context/src/helpers/assign-native-audio-node-audio-param-value.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-buffer-source-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-destination-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-worklet-node-constructor.ts", "../../node_modules/standardized-audio-context/src/helpers/test-clonability-of-audio-worklet-node-options.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-worklet-node-factory.ts", "../../node_modules/standardized-audio-context/src/helpers/compute-buffer-size.ts", "../../node_modules/standardized-audio-context/src/helpers/clone-audio-worklet-node-options.ts", "../../node_modules/standardized-audio-context/src/helpers/create-audio-worklet-processor-promise.ts", "../../node_modules/standardized-audio-context/src/helpers/create-audio-worklet-processor.ts", "../../node_modules/standardized-audio-context/src/factories/native-audio-worklet-node-faker-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-biquad-filter-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-channel-merger-node-factory.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-channel-splitter-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-channel-splitter-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-constant-source-node-factory.ts", "../../node_modules/standardized-audio-context/src/helpers/intercept-connections.ts", "../../node_modules/standardized-audio-context/src/factories/native-constant-source-node-faker-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-convolver-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-delay-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-dynamics-compressor-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-gain-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-iir-filter-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-iir-filter-node-faker-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-media-element-audio-source-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-media-stream-audio-destination-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-media-stream-audio-source-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-media-stream-track-audio-source-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-offline-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/native-oscillator-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-panner-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-panner-node-faker-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-periodic-wave-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-script-processor-node.ts", "../../node_modules/standardized-audio-context/src/factories/native-stereo-panner-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-stereo-panner-node-faker-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-wave-shaper-node-factory.ts", "../../node_modules/standardized-audio-context/src/factories/native-wave-shaper-node-faker-factory.ts", "../../node_modules/standardized-audio-context/src/factories/not-supported-error.ts", "../../node_modules/standardized-audio-context/src/factories/offline-audio-context-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/oscillator-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/oscillator-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/panner-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/panner-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/periodic-wave-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/render-automation.ts", "../../node_modules/standardized-audio-context/src/factories/render-inputs-of-audio-node.ts", "../../node_modules/standardized-audio-context/src/factories/render-inputs-of-audio-param.ts", "../../node_modules/standardized-audio-context/src/factories/render-native-offline-audio-context.ts", "../../node_modules/standardized-audio-context/src/factories/set-active-audio-worklet-node-inputs.ts", "../../node_modules/standardized-audio-context/src/factories/set-audio-node-tail-time.ts", "../../node_modules/standardized-audio-context/src/factories/start-rendering.ts", "../../node_modules/standardized-audio-context/src/factories/stereo-panner-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/stereo-panner-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/test-audio-buffer-constructor-support.ts", "../../node_modules/standardized-audio-context/src/factories/test-audio-worklet-processor-post-message-support.ts", "../../node_modules/standardized-audio-context/src/factories/test-offline-audio-context-current-time-support.ts", "../../node_modules/standardized-audio-context/src/factories/unknown-error.ts", "../../node_modules/standardized-audio-context/src/factories/wave-shaper-node-constructor.ts", "../../node_modules/standardized-audio-context/src/factories/wave-shaper-node-renderer-factory.ts", "../../node_modules/standardized-audio-context/src/factories/window.ts", "../../node_modules/standardized-audio-context/src/factories/wrap-audio-buffer-copy-channel-methods.ts", "../../node_modules/standardized-audio-context/src/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.ts", "../../node_modules/standardized-audio-context/src/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.ts", "../../node_modules/standardized-audio-context/src/factories/wrap-channel-merger-node.ts", "../../node_modules/standardized-audio-context/src/helpers/get-first-sample.ts", "../../node_modules/standardized-audio-context/src/helpers/is-dc-curve.ts", "../../node_modules/standardized-audio-context/src/helpers/overwrite-accessors.ts", "../../node_modules/standardized-audio-context/src/helpers/sanitize-audio-worklet-node-options.ts", "../../node_modules/standardized-audio-context/src/helpers/sanitize-channel-splitter-options.ts", "../../node_modules/standardized-audio-context/src/helpers/sanitize-periodic-wave-options.ts", "../../node_modules/standardized-audio-context/src/helpers/set-value-at-time-until-possible.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.ts", "../../node_modules/standardized-audio-context/src/helpers/test-audio-worklet-node-options-clonability.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.ts", "../../node_modules/standardized-audio-context/src/helpers/wrap-event-listener.ts", "../../node_modules/tone/Tone/core/util/Debug.ts", "../../node_modules/tone/Tone/core/util/TypeCheck.ts", "../../node_modules/tone/Tone/core/context/AudioContext.ts", "../../node_modules/tslib/tslib.es6.mjs", "../../node_modules/tone/Tone/core/clock/Ticker.ts", "../../node_modules/tone/Tone/core/util/AdvancedTypeCheck.ts", "../../node_modules/tone/Tone/core/util/Defaults.ts", "../../node_modules/tone/Tone/core/Tone.ts", "../../node_modules/tone/Tone/core/util/Math.ts", "../../node_modules/tone/Tone/core/util/Timeline.ts", "../../node_modules/tone/Tone/core/context/ContextInitialization.ts", "../../node_modules/tone/Tone/core/util/Emitter.ts", "../../node_modules/tone/Tone/core/context/BaseContext.ts", "../../node_modules/tone/Tone/core/context/Context.ts", "../../node_modules/tone/Tone/core/context/DummyContext.ts", "../../node_modules/tone/Tone/core/util/Interface.ts", "../../node_modules/tone/Tone/core/context/ToneAudioBuffer.ts", "../../node_modules/tone/Tone/core/context/OfflineContext.ts", "../../node_modules/tone/Tone/core/Global.ts", "../../node_modules/tone/Tone/core/type/Conversions.ts", "../../node_modules/tone/Tone/core/type/TimeBase.ts", "../../node_modules/tone/Tone/core/type/Time.ts", "../../node_modules/tone/Tone/core/type/Frequency.ts", "../../node_modules/tone/Tone/core/type/TransportTime.ts", "../../node_modules/tone/Tone/core/context/ToneWithContext.ts", "../../node_modules/tone/Tone/core/util/StateTimeline.ts", "../../node_modules/tone/Tone/core/context/Param.ts", "../../node_modules/tone/Tone/core/context/ToneAudioNode.ts", "../../node_modules/tone/Tone/core/context/Gain.ts", "../../node_modules/tone/Tone/source/OneShotSource.ts", "../../node_modules/tone/Tone/signal/ToneConstantSource.ts", "../../node_modules/tone/Tone/signal/Signal.ts", "../../node_modules/tone/Tone/core/clock/TickParam.ts", "../../node_modules/tone/Tone/core/clock/TickSignal.ts", "../../node_modules/tone/Tone/core/clock/TickSource.ts", "../../node_modules/tone/Tone/core/clock/Clock.ts", "../../node_modules/tone/Tone/core/context/ToneAudioBuffers.ts", "../../node_modules/tone/Tone/core/type/Midi.ts", "../../node_modules/tone/Tone/core/type/Ticks.ts", "../../node_modules/tone/Tone/core/util/Draw.ts", "../../node_modules/tone/Tone/core/util/IntervalTimeline.ts", "../../node_modules/tone/Tone/component/channel/Volume.ts", "../../node_modules/tone/Tone/core/context/Destination.ts", "../../node_modules/tone/Tone/core/util/TimelineValue.ts", "../../node_modules/tone/Tone/core/clock/TransportEvent.ts", "../../node_modules/tone/Tone/core/clock/TransportRepeatEvent.ts", "../../node_modules/tone/Tone/core/clock/Transport.ts", "../../node_modules/tone/Tone/source/Source.ts", "../../node_modules/tone/Tone/source/buffer/ToneBufferSource.ts", "../../node_modules/tone/Tone/source/Noise.ts", "../../node_modules/tone/Tone/source/oscillator/OscillatorInterface.ts", "../../node_modules/tone/Tone/source/oscillator/ToneOscillatorNode.ts", "../../node_modules/tone/Tone/source/oscillator/Oscillator.ts", "../../node_modules/tone/Tone/signal/SignalOperator.ts", "../../node_modules/tone/Tone/signal/WaveShaper.ts", "../../node_modules/tone/Tone/signal/AudioToGain.ts", "../../node_modules/tone/Tone/signal/Multiply.ts", "../../node_modules/tone/Tone/source/oscillator/AMOscillator.ts", "../../node_modules/tone/Tone/source/oscillator/FMOscillator.ts", "../../node_modules/tone/Tone/source/oscillator/PulseOscillator.ts", "../../node_modules/tone/Tone/source/oscillator/FatOscillator.ts", "../../node_modules/tone/Tone/source/oscillator/PWMOscillator.ts", "../../node_modules/tone/Tone/source/oscillator/OmniOscillator.ts", "../../node_modules/tone/Tone/core/util/Decorator.ts", "../../node_modules/tone/Tone/source/buffer/Player.ts", "../../node_modules/tone/Tone/component/envelope/Envelope.ts", "../../node_modules/tone/Tone/instrument/Instrument.ts", "../../node_modules/tone/Tone/instrument/Monophonic.ts", "../../node_modules/tone/Tone/component/envelope/AmplitudeEnvelope.ts", "../../node_modules/tone/Tone/instrument/Synth.ts", "../../node_modules/tone/Tone/instrument/MembraneSynth.ts", "../../node_modules/tone/Tone/core/worklet/WorkletGlobalScope.ts", "../../node_modules/tone/Tone/core/worklet/ToneAudioWorkletProcessor.worklet.ts", "../../node_modules/tone/Tone/core/worklet/SingleIOProcessor.worklet.ts", "../../node_modules/tone/Tone/core/worklet/DelayLine.worklet.ts", "../../node_modules/tone/Tone/component/filter/FeedbackCombFilter.worklet.ts", "../../node_modules/tone/Tone/instrument/PolySynth.ts", "../../node_modules/tone/Tone/instrument/Sampler.ts", "../../node_modules/tone/Tone/component/channel/Panner.ts", "../../node_modules/tone/Tone/effect/BitCrusher.worklet.ts", "../../node_modules/tone/Tone/effect/Freeverb.ts", "../../node_modules/tone/Tone/effect/JCReverb.ts", "../../node_modules/tone/Tone/component/channel/Solo.ts", "../../node_modules/tone/Tone/component/channel/PanVol.ts", "../../node_modules/tone/Tone/component/channel/Channel.ts", "../../node_modules/tone/Tone/core/context/Listener.ts", "../../node_modules/tone/Tone/index.ts", "event-emitter.ts", "tabs.ts", "pythonPrefixes.ts", "types.ts", "tutorials/utils.ts", "tutorials/intro.ts", "tutorials/teacher.ts", "tutorials/level1.ts", "tutorials/tutorial.ts", "editor.ts", "../../node_modules/@codemirror/state/dist/index.js", "../../node_modules/style-mod/src/style-mod.js", "../../node_modules/w3c-keyname/index.js", "../../node_modules/@codemirror/view/dist/index.js", "../../node_modules/@lezer/common/dist/index.js", "../../node_modules/@lezer/highlight/dist/index.js", "../../node_modules/@codemirror/language/dist/index.js", "../../node_modules/@codemirror/commands/dist/index.js", "../../node_modules/crelt/index.js", "../../node_modules/@codemirror/search/dist/index.js", "cm-decorations.ts", "../../node_modules/@lezer/lr/dist/index.js", "lezer-parsers/level1-parser.terms.ts", "lezer-parsers/level2-parser.terms.ts", "lezer-parsers/level3-parser.terms.ts", "lezer-parsers/level4-parser.terms.ts", "lezer-parsers/level5-parser.terms.ts", "lezer-parsers/level6-parser.terms.ts", "lezer-parsers/level7-parser.terms.ts", "lezer-parsers/level8-parser.terms.ts", "lezer-parsers/level10-parser.terms.ts", "lezer-parsers/level11-parser.terms.ts", "lezer-parsers/level12-parser.terms.ts", "lezer-parsers/level13-parser.terms.ts", "lezer-parsers/level14-parser.terms.ts", "lezer-parsers/level15-parser.terms.ts", "lezer-parsers/level16-parser.terms.ts", "lezer-parsers/level17-parser.terms.ts", "lezer-parsers/level18-parser.terms.ts", "utils.ts", "lezer-parsers/tokens.ts", "lezer-parsers/level1-parser.ts", "lezer-parsers/level2-parser.ts", "lezer-parsers/level3-parser.ts", "lezer-parsers/level4-parser.ts", "lezer-parsers/level5-parser.ts", "lezer-parsers/level6-parser.ts", "lezer-parsers/level7-parser.ts", "lezer-parsers/level8-parser.ts", "lezer-parsers/level9-parser.ts", "lezer-parsers/level10-parser.ts", "lezer-parsers/level11-parser.ts", "lezer-parsers/level12-parser.ts", "lezer-parsers/level13-parser.ts", "lezer-parsers/level14-parser.ts", "lezer-parsers/level15-parser.ts", "lezer-parsers/level16-parser.ts", "lezer-parsers/level17-parser.ts", "lezer-parsers/level18-parser.ts", "lezer-parsers/language-packages.ts", "cm-monokai-theme.ts", "cm-editor.ts", "../../node_modules/sortablejs/modular/sortable.esm.js", "parsons.ts", "browser-helpers/on-element-becomes-visible.ts", "debugging.ts", "local.ts", "teachers.ts", "adventure.ts", "autosave.ts", "../../node_modules/@kurkle/color/dist/color.esm.js", "../../node_modules/chart.js/src/helpers/helpers.core.ts", "../../node_modules/chart.js/src/helpers/helpers.math.ts", "../../node_modules/chart.js/src/helpers/helpers.collection.ts", "../../node_modules/chart.js/src/helpers/helpers.extras.ts", "../../node_modules/chart.js/src/helpers/helpers.easing.ts", "../../node_modules/chart.js/src/helpers/helpers.color.ts", "../../node_modules/chart.js/src/core/core.animations.defaults.js", "../../node_modules/chart.js/src/core/core.layouts.defaults.js", "../../node_modules/chart.js/src/helpers/helpers.intl.ts", "../../node_modules/chart.js/src/core/core.ticks.js", "../../node_modules/chart.js/src/core/core.scale.defaults.js", "../../node_modules/chart.js/src/core/core.defaults.js", "../../node_modules/chart.js/src/helpers/helpers.canvas.ts", "../../node_modules/chart.js/src/helpers/helpers.options.ts", "../../node_modules/chart.js/src/helpers/helpers.config.ts", "../../node_modules/chart.js/src/helpers/helpers.curve.ts", "../../node_modules/chart.js/src/helpers/helpers.dom.ts", "../../node_modules/chart.js/src/helpers/helpers.interpolation.ts", "../../node_modules/chart.js/src/helpers/helpers.rtl.ts", "../../node_modules/chart.js/src/helpers/helpers.segment.js", "../../node_modules/chart.js/src/core/core.animator.js", "../../node_modules/chart.js/src/core/core.animation.js", "../../node_modules/chart.js/src/core/core.animations.js", "../../node_modules/chart.js/src/core/core.datasetController.js", "../../node_modules/chart.js/src/controllers/controller.bar.js", "../../node_modules/chart.js/src/controllers/controller.bubble.js", "../../node_modules/chart.js/src/controllers/controller.doughnut.js", "../../node_modules/chart.js/src/controllers/controller.line.js", "../../node_modules/chart.js/src/controllers/controller.polarArea.js", "../../node_modules/chart.js/src/controllers/controller.pie.js", "../../node_modules/chart.js/src/controllers/controller.radar.js", "../../node_modules/chart.js/src/controllers/controller.scatter.js", "../../node_modules/chart.js/src/core/core.adapters.ts", "../../node_modules/chart.js/src/core/core.interaction.js", "../../node_modules/chart.js/src/core/core.layouts.js", "../../node_modules/chart.js/src/platform/platform.base.js", "../../node_modules/chart.js/src/platform/platform.basic.js", "../../node_modules/chart.js/src/platform/platform.dom.js", "../../node_modules/chart.js/src/platform/index.js", "../../node_modules/chart.js/src/core/core.element.ts", "../../node_modules/chart.js/src/core/core.scale.autoskip.js", "../../node_modules/chart.js/src/core/core.scale.js", "../../node_modules/chart.js/src/core/core.typedRegistry.js", "../../node_modules/chart.js/src/core/core.registry.js", "../../node_modules/chart.js/src/core/core.plugins.js", "../../node_modules/chart.js/src/core/core.config.js", "../../node_modules/chart.js/src/core/core.controller.js", "../../node_modules/chart.js/src/elements/element.arc.ts", "../../node_modules/chart.js/src/elements/element.line.js", "../../node_modules/chart.js/src/elements/element.point.ts", "../../node_modules/chart.js/src/elements/element.bar.js", "../../node_modules/chart.js/src/plugins/plugin.colors.ts", "../../node_modules/chart.js/src/plugins/plugin.decimation.js", "../../node_modules/chart.js/src/plugins/plugin.filler/filler.segment.js", "../../node_modules/chart.js/src/plugins/plugin.filler/filler.helper.js", "../../node_modules/chart.js/src/plugins/plugin.filler/filler.options.js", "../../node_modules/chart.js/src/plugins/plugin.filler/filler.target.stack.js", "../../node_modules/chart.js/src/plugins/plugin.filler/simpleArc.js", "../../node_modules/chart.js/src/plugins/plugin.filler/filler.target.js", "../../node_modules/chart.js/src/plugins/plugin.filler/filler.drawing.js", "../../node_modules/chart.js/src/plugins/plugin.filler/index.js", "../../node_modules/chart.js/src/plugins/plugin.legend.js", "../../node_modules/chart.js/src/plugins/plugin.title.js", "../../node_modules/chart.js/src/plugins/plugin.subtitle.js", "../../node_modules/chart.js/src/plugins/plugin.tooltip.js", "../../node_modules/chart.js/src/scales/scale.category.js", "../../node_modules/chart.js/src/scales/scale.linearbase.js", "../../node_modules/chart.js/src/scales/scale.linear.js", "../../node_modules/chart.js/src/scales/scale.logarithmic.js", "../../node_modules/chart.js/src/scales/scale.radialLinear.js", "../../node_modules/chart.js/src/scales/scale.time.js", "../../node_modules/chart.js/src/scales/scale.timeseries.js", "../../node_modules/chart.js/src/index.ts", "loading.ts", "comm.ts", "auth.ts", "local-save-warning.ts", "user-activity.ts", "index-tabs.ts", "htmx-integration.ts", "statistics.ts", "logs.ts", "admin.ts", "profile.ts", "initialize.ts", "../../node_modules/tw-elements/src/js/dom/data.js", "../../node_modules/tw-elements/src/js/util/index.js", "../../node_modules/tw-elements/src/js/dom/event-handler.js", "../../node_modules/tw-elements/src/js/base-component.js", "../../node_modules/tw-elements/src/js/components/button.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/enums.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getWindow.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/applyStyles.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getBasePlacement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/math.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/userAgent.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/contains.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/within.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/expandToHashMap.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/arrow.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getVariation.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/computeStyles.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/eventListeners.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/rectToClientRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/computeOffsets.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/detectOverflow.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/flip.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/hide.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/offset.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/getAltAxis.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/orderModifiers.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/debounce.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/format.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/validateModifiers.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/uniqueBy.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/utils/mergeByName.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/createPopper.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/popper-lite.js", "../../node_modules/tw-elements/node_modules/@popperjs/core/lib/popper.js", "../../node_modules/tw-elements/src/js/dom/manipulator.js", "../../node_modules/tw-elements/src/js/dom/selector-engine.js", "../../node_modules/tw-elements/src/js/components/dropdown.js", "../../node_modules/tw-elements/src/js/components/collapse.js", "../../node_modules/tw-elements/src/js/util/scrollbar.js", "../../node_modules/tw-elements/src/js/util/backdrop.js", "../../node_modules/tw-elements/src/js/util/focusTrap.js", "../../node_modules/tw-elements/src/js/util/component-functions.js", "../../node_modules/tw-elements/src/js/components/offcanvas.js", "../../node_modules/tw-elements/src/js/components/alert.js", "../../node_modules/tw-elements/src/js/components/carousel.js", "../../node_modules/tw-elements/src/js/components/modal.js", "../../node_modules/tw-elements/src/js/util/sanitizer.js", "../../node_modules/tw-elements/src/js/components/tooltip.js", "../../node_modules/tw-elements/src/js/components/popover.js", "../../node_modules/tw-elements/src/js/navigation/scrollspy.js", "../../node_modules/tw-elements/src/js/navigation/tab.js", "../../node_modules/tw-elements/src/js/components/toast.js", "../../node_modules/tw-elements/node_modules/detect-autofill/dist/detect-autofill.js", "../../node_modules/tw-elements/src/js/forms/input.js", "../../node_modules/tw-elements/src/js/content-styles/animate.js", "../../node_modules/tw-elements/src/js/methods/ripple.js", "../../node_modules/tw-elements/src/js/forms/datepicker/date-utils.js", "../../node_modules/tw-elements/src/js/forms/datepicker/templates.js", "../../node_modules/tw-elements/src/js/util/keycodes.js", "../../node_modules/tw-elements/src/js/forms/datepicker/index.js", "../../node_modules/tw-elements/src/js/forms/timepicker/templates.js", "../../node_modules/tw-elements/src/js/forms/timepicker/utils.js", "../../node_modules/tw-elements/src/js/forms/timepicker/index.js", "../../node_modules/tw-elements/src/js/util/touch/swipe.js", "../../node_modules/tw-elements/src/js/util/touch/index.js", "../../node_modules/tw-elements/src/js/navigation/sidenav.js", "../../node_modules/tw-elements/src/js/components/stepper.js", "../../node_modules/tw-elements/src/js/forms/select/select-option.js", "../../node_modules/tw-elements/src/js/forms/select/selection-model.js", "../../node_modules/tw-elements/src/js/forms/select/util.js", "../../node_modules/tw-elements/src/js/forms/select/templates.js", "../../node_modules/tw-elements/src/js/forms/select/index.js", "../../node_modules/tw-elements/src/js/components/chips/templates.js", "../../node_modules/tw-elements/src/js/components/chips/chip.js", "../../node_modules/tw-elements/src/js/components/chips/index.js", "../../node_modules/tw-elements/src/js/data/chart/chartDefaults.js", "../../node_modules/tw-elements/node_modules/deepmerge/dist/cjs.js", "../../node_modules/tw-elements/src/js/data/chart/charts.js", "../../node_modules/tw-elements/node_modules/perfect-scrollbar/dist/perfect-scrollbar.esm.js", "../../node_modules/tw-elements/src/js/methods/perfect-scrollbar.js", "../../node_modules/tw-elements/src/js/data/datatables/html/pagination.js", "../../node_modules/tw-elements/src/js/data/datatables/html/columns.js", "../../node_modules/tw-elements/src/js/data/datatables/html/rows.js", "../../node_modules/tw-elements/src/js/data/datatables/html/table.js", "../../node_modules/tw-elements/src/js/data/datatables/util.js", "../../node_modules/tw-elements/src/js/data/datatables/index.js", "../../node_modules/tw-elements/src/js/components/rating.js", "../../node_modules/tw-elements/src/js/components/popconfirm.js", "../../node_modules/tw-elements/src/js/components/lightbox.js", "../../node_modules/tw-elements/src/js/forms/validation/rules.js", "../../node_modules/tw-elements/src/js/forms/validation/validation.js", "../../node_modules/tw-elements/src/js/methods/touch/touchUtil.js", "../../node_modules/tw-elements/src/js/methods/touch/press.js", "../../node_modules/tw-elements/src/js/methods/touch/swipe.js", "../../node_modules/tw-elements/src/js/methods/touch/pan.js", "../../node_modules/tw-elements/src/js/methods/touch/pinch.js", "../../node_modules/tw-elements/src/js/methods/touch/tap.js", "../../node_modules/tw-elements/src/js/methods/touch/rotate.js", "../../node_modules/tw-elements/src/js/methods/touch/index.js", "../../node_modules/tw-elements/src/js/methods/smooth-scroll.js", "../../node_modules/tw-elements/src/js/methods/lazy-load.js", "../../node_modules/tw-elements/src/js/methods/clipboard.js", "../../node_modules/tw-elements/src/js/methods/infinite-scroll.js", "../../node_modules/tw-elements/src/js/methods/loading-management/templates.js", "../../node_modules/tw-elements/src/js/methods/loading-management/index.js", "../../node_modules/tw-elements/src/js/forms/dateTimepicker/utils.js", "../../node_modules/tw-elements/src/js/forms/dateTimepicker/templates.js", "../../node_modules/tw-elements/src/js/forms/dateTimepicker/index.js", "../../node_modules/tw-elements/src/js/methods/sticky.js", "../../node_modules/tw-elements/src/js/autoinit/jqueryInit.js", "../../node_modules/tw-elements/src/js/autoinit/autoinitCallbacks.js", "../../node_modules/tw-elements/src/js/autoinit/chartsInit.js", "../../node_modules/tw-elements/src/js/autoinit/Register.js", "../../node_modules/tw-elements/src/js/autoinit/index.js", "tailwind.ts", "public-adventures.ts", "microbit.ts", "custom-elements.ts"], - "sourcesContent": ["/*!\n\nJSZip v3.10.1 - A JavaScript class for generating and reading zip files\n\n\n(c) 2009-2016 Stuart Knightley \nDual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.\n\nJSZip uses the library pako released under the MIT license :\nhttps://github.com/nodeca/pako/blob/main/LICENSE\n*/\n\n!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=e()}}(function(){return function s(a,o,h){function u(r,e){if(!o[r]){if(!a[r]){var t=\"function\"==typeof require&&require;if(!e&&t)return t(r,!0);if(l)return l(r,!0);var n=new Error(\"Cannot find module '\"+r+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var i=o[r]={exports:{}};a[r][0].call(i.exports,function(e){var t=a[r][1][e];return u(t||e)},i,i.exports,s,a,o,h)}return o[r].exports}for(var l=\"function\"==typeof require&&require,e=0;e>2,s=(3&t)<<4|r>>4,a=1>6:64,o=2>4,r=(15&i)<<4|(s=p.indexOf(e.charAt(o++)))>>2,n=(3&s)<<6|(a=p.indexOf(e.charAt(o++))),l[h++]=t,64!==s&&(l[h++]=r),64!==a&&(l[h++]=n);return l}},{\"./support\":30,\"./utils\":32}],2:[function(e,t,r){\"use strict\";var n=e(\"./external\"),i=e(\"./stream/DataWorker\"),s=e(\"./stream/Crc32Probe\"),a=e(\"./stream/DataLengthProbe\");function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a(\"data_length\")),t=this;return e.on(\"end\",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a(\"uncompressedSize\")).pipe(t.compressWorker(r)).pipe(new a(\"compressedSize\")).withStreamInfo(\"compression\",t)},t.exports=o},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(e,t,r){\"use strict\";var n=e(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=e(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(e,t,r){\"use strict\";var n=e(\"./utils\");var o=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?\"string\"!==n.getTypeOf(e)?function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{\"./utils\":32}],5:[function(e,t,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){\"use strict\";var n=null;n=\"undefined\"!=typeof Promise?Promise:e(\"lie\"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,i=e(\"pako\"),s=e(\"./utils\"),a=e(\"./stream/GenericWorker\"),o=n?\"uint8array\":\"array\";function h(e,t){a.call(this,\"FlateWorker/\"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic=\"\\b\\0\",s.inherits(h,a),h.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(e){return new h(\"Deflate\",e)},r.uncompressWorker=function(){return new h(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(e,t,r){\"use strict\";function A(e,t){var r,n=\"\";for(r=0;r>>=8;return n}function n(e,t,r,n,i,s){var a,o,h=e.file,u=e.compression,l=s!==O.utf8encode,f=I.transformTo(\"string\",s(h.name)),c=I.transformTo(\"string\",O.utf8encode(h.name)),d=h.comment,p=I.transformTo(\"string\",s(d)),m=I.transformTo(\"string\",O.utf8encode(d)),_=c.length!==h.name.length,g=m.length!==d.length,b=\"\",v=\"\",y=\"\",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(x.crc32=e.crc32,x.compressedSize=e.compressedSize,x.uncompressedSize=e.uncompressedSize);var S=0;t&&(S|=8),l||!_&&!g||(S|=2048);var z=0,C=0;w&&(z|=16),\"UNIX\"===i?(C=798,z|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(h.unixPermissions,w)):(C=20,z|=function(e){return 63&(e||0)}(h.dosPermissions)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(v=A(1,1)+A(B(f),4)+c,b+=\"up\"+A(v.length,2)+v),g&&(y=A(1,1)+A(B(p),4)+m,b+=\"uc\"+A(y.length,2)+y);var E=\"\";return E+=\"\\n\\0\",E+=A(S,2),E+=u.magic,E+=A(a,2),E+=A(o,2),E+=A(x.crc32,4),E+=A(x.compressedSize,4),E+=A(x.uncompressedSize,4),E+=A(f.length,2),E+=A(b.length,2),{fileRecord:R.LOCAL_FILE_HEADER+E+f+b,dirRecord:R.CENTRAL_FILE_HEADER+A(C,2)+E+A(p.length,2)+\"\\0\\0\\0\\0\"+A(z,4)+A(n,4)+f+b+p}}var I=e(\"../utils\"),i=e(\"../stream/GenericWorker\"),O=e(\"../utf8\"),B=e(\"../crc32\"),R=e(\"../signature\");function s(e,t,r,n){i.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}I.inherits(s,i),s.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},s.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=n(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},s.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return R.DATA_DESCRIPTOR+A(e.crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},s.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo(\"string\",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{\"../utils\":32}],19:[function(e,t,r){\"use strict\";var n=e(\"./Uint8ArrayReader\");function i(e){n.call(this,e)}e(\"../utils\").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(e,t,r){\"use strict\";var n=e(\"./DataReader\");function i(e){n.call(this,e)}e(\"../utils\").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./DataReader\":18}],21:[function(e,t,r){\"use strict\";var n=e(\"./ArrayReader\");function i(e){n.call(this,e)}e(\"../utils\").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"../support\"),s=e(\"./ArrayReader\"),a=e(\"./StringReader\"),o=e(\"./NodeBufferReader\"),h=e(\"./Uint8ArrayReader\");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),\"string\"!==t||i.uint8array?\"nodebuffer\"===t?new o(e):i.uint8array?new h(n.transformTo(\"uint8array\",e)):new s(n.transformTo(\"array\",e)):new a(e)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(e,t,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(e,t,r){\"use strict\";var n=e(\"./GenericWorker\"),i=e(\"../utils\");function s(e){n.call(this,\"ConvertWorker to \"+e),this.destType=e}i.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(e,t,r){\"use strict\";var n=e(\"./GenericWorker\"),i=e(\"../crc32\");function s(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}e(\"../utils\").inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"./GenericWorker\");function s(e){i.call(this,\"DataLengthProbe for \"+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"./GenericWorker\");function s(e){i.call(this,\"DataWorker\");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":e=this.data.substring(this.index,t);break;case\"uint8array\":e=this.data.subarray(this.index,t);break;case\"array\":case\"nodebuffer\":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(e,t,r){\"use strict\";function n(e){this.name=e||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit(\"data\",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(\"error\",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(\"error\",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r \"+e:e}},t.exports=n},{}],29:[function(e,t,r){\"use strict\";var h=e(\"../utils\"),i=e(\"./ConvertWorker\"),s=e(\"./GenericWorker\"),u=e(\"../base64\"),n=e(\"../support\"),a=e(\"../external\"),o=null;if(n.nodestream)try{o=e(\"../nodejs/NodejsStreamOutputAdapter\")}catch(e){}function l(e,o){return new a.Promise(function(t,r){var n=[],i=e._internalType,s=e._outputType,a=e._mimeType;e.on(\"data\",function(e,t){n.push(e),o&&o(t)}).on(\"error\",function(e){n=[],r(e)}).on(\"end\",function(){try{var e=function(e,t,r){switch(e){case\"blob\":return h.newBlob(h.transformTo(\"arraybuffer\",t),r);case\"base64\":return u.encode(t);default:return h.transformTo(e,t)}}(s,function(e,t){var r,n=0,i=null,s=0;for(r=0;r>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t}(e)},s.utf8decode=function(e){return h.nodebuffer?o.transformTo(\"nodebuffer\",e).toString(\"utf-8\"):function(e){var t,r,n,i,s=e.length,a=new Array(2*s);for(t=r=0;t>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(e=o.transformTo(h.uint8array?\"uint8array\":\"array\",e))},o.inherits(a,n),a.prototype.processChunk=function(e){var t=o.transformTo(h.uint8array?\"uint8array\":\"array\",e.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=t;(t=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}(t),i=t;n!==t.length&&(h.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:s.utf8decode(i),meta:e.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,n),l.prototype.processChunk=function(e){this.push({data:s.utf8encode(e.data),meta:e.meta})},s.Utf8EncodeWorker=l},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(e,t,a){\"use strict\";var o=e(\"./support\"),h=e(\"./base64\"),r=e(\"./nodejsUtils\"),u=e(\"./external\");function n(e){return e}function l(e,t){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new h.Buf8(e.length),r=0,n=t.length;r>10&1023,o[n++]=56320|1023&i)}return l(o,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}},{\"./common\":41}],43:[function(e,t,r){\"use strict\";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,r){\"use strict\";var h,c=e(\"../utils/common\"),u=e(\"./trees\"),d=e(\"./adler32\"),p=e(\"./crc32\"),n=e(\"./messages\"),l=0,f=4,m=0,_=-2,g=-1,b=4,i=2,v=8,y=9,s=286,a=30,o=19,w=2*s+1,k=15,x=3,S=258,z=S+x+1,C=42,E=113,A=1,I=2,O=3,B=4;function R(e,t){return e.msg=n[t],t}function T(e){return(e<<1)-(4e.avail_out&&(r=e.avail_out),0!==r&&(c.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function N(e,t){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function U(e,t){e.pending_buf[e.pending++]=t}function P(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function L(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,h=e.strstart>e.w_size-z?e.strstart-(e.w_size-z):0,u=e.window,l=e.w_mask,f=e.prev,c=e.strstart+S,d=u[s+a-1],p=u[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===d&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&sh&&0!=--i);return a<=e.lookahead?a:e.lookahead}function j(e){var t,r,n,i,s,a,o,h,u,l,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-z)){for(c.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);i+=f}if(0===e.strm.avail_in)break;if(a=e.strm,o=e.window,h=e.strstart+e.lookahead,u=i,l=void 0,l=a.avail_in,u=x)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<=x&&(e.ins_h=(e.ins_h<=x)if(n=u._tr_tally(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=x&&(e.ins_h=(e.ins_h<=x&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-x,n=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(j(e),0===e.lookahead&&t===l)return A;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,N(e,!1),0===e.strm.avail_out))return A;if(e.strstart-e.block_start>=e.w_size-z&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),A)}),new M(4,4,8,4,Z),new M(4,5,16,8,Z),new M(4,6,32,32,Z),new M(4,4,16,16,W),new M(8,16,32,32,W),new M(8,16,128,128,W),new M(8,32,128,256,W),new M(32,128,258,1024,W),new M(32,258,258,4096,W)],r.deflateInit=function(e,t){return Y(e,t,v,15,8,0)},r.deflateInit2=Y,r.deflateReset=K,r.deflateResetKeep=G,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?_:(e.state.gzhead=t,m):_},r.deflate=function(e,t){var r,n,i,s;if(!e||!e.state||5>8&255),U(n,n.gzhead.time>>16&255),U(n,n.gzhead.time>>24&255),U(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),U(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(U(n,255&n.gzhead.extra.length),U(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=p(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(U(n,0),U(n,0),U(n,0),U(n,0),U(n,0),U(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),U(n,3),n.status=E);else{var a=v+(n.w_bits-8<<4)<<8;a|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=E,P(n,a),0!==n.strstart&&(P(n,e.adler>>>16),P(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending!==n.pending_buf_size));)U(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexi&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexi&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&F(e),n.pending+2<=n.pending_buf_size&&(U(n,255&e.adler),U(n,e.adler>>8&255),e.adler=0,n.status=E)):n.status=E),0!==n.pending){if(F(e),0===e.avail_out)return n.last_flush=-1,m}else if(0===e.avail_in&&T(t)<=T(r)&&t!==f)return R(e,-5);if(666===n.status&&0!==e.avail_in)return R(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==l&&666!==n.status){var o=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(j(e),0===e.lookahead)){if(t===l)return A;break}if(e.match_length=0,r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}(n,t):3===n.strategy?function(e,t){for(var r,n,i,s,a=e.window;;){if(e.lookahead<=S){if(j(e),e.lookahead<=S&&t===l)return A;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(r=u._tr_tally(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}(n,t):h[n.level].func(n,t);if(o!==O&&o!==B||(n.status=666),o===A||o===O)return 0===e.avail_out&&(n.last_flush=-1),m;if(o===I&&(1===t?u._tr_align(n):5!==t&&(u._tr_stored_block(n,0,0,!1),3===t&&(D(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),F(e),0===e.avail_out))return n.last_flush=-1,m}return t!==f?m:n.wrap<=0?1:(2===n.wrap?(U(n,255&e.adler),U(n,e.adler>>8&255),U(n,e.adler>>16&255),U(n,e.adler>>24&255),U(n,255&e.total_in),U(n,e.total_in>>8&255),U(n,e.total_in>>16&255),U(n,e.total_in>>24&255)):(P(n,e.adler>>>16),P(n,65535&e.adler)),F(e),0=r.w_size&&(0===s&&(D(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new c.Buf8(r.w_size),c.arraySet(u,t,l-r.w_size,r.w_size,0),t=u,l=r.w_size),a=e.avail_in,o=e.next_in,h=e.input,e.avail_in=l,e.next_in=0,e.input=t,j(r);r.lookahead>=x;){for(n=r.strstart,i=r.lookahead-(x-1);r.ins_h=(r.ins_h<>>=y=v>>>24,p-=y,0===(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(d&(1<>>=y,p-=y),p<15&&(d+=z[n++]<>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(d&(1<>>=y,p-=y,(y=s-a)>3,d&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=\"\",t.wrap&&(e.adler=1&t.wrap),t.mode=P,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new I.Buf32(n),t.distcode=t.distdyn=new I.Buf32(i),t.sane=1,t.back=-1,N):U}function o(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,a(e)):U}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(I.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(n<(i=s.wsize-s.wnext)&&(i=n),I.arraySet(s.window,t,r-n,i,s.wnext),(n-=i)?(I.arraySet(s.window,t,r-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&u)){e.msg=\"unknown compression method\",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){e.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break e;o--,u+=n[s++]<>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break e;o--,u+=n[s++]<>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(d=r.length)&&(d=o),d&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,n,s,d,k)),512&r.flags&&(r.check=B(r.check,n,d,s)),o-=d,s+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break e;for(d=0;k=n[s+d++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&d>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break e;o--,u+=n[s++]<>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==t)break;u>>>=2,l-=2;break e;case 2:r.mode=17;break;case 3:e.msg=\"invalid block type\",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break e;o--,u+=n[s++]<>>16^65535)){e.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(o>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l>>=_,l-=_,0===r.have){e.msg=\"invalid bit length repeat\",r.mode=30;break}k=r.lens[r.have-1],d=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l>>=_)),u>>>=3,l-=3}else{for(z=_+7;l>>=_)),u>>>=7,l-=7}if(r.have+d>r.nlen+r.ndist){e.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){e.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){e.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=o&&258<=h){e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=o,r.hold=u,r.bits=l,R(e,c),a=e.next_out,i=e.output,h=e.avail_out,s=e.next_in,n=e.input,o=e.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){e.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){e.msg=\"invalid distance code\",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===h)break e;if(d=c-h,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg=\"invalid distance too far back\",r.mode=30;break}p=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=a-r.offset,d=r.length;for(hd?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=t[r+a[v]]}if(k>>7)]}function U(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function P(e,t,r){e.bi_valid>d-r?(e.bi_buf|=t<>d-e.bi_valid,e.bi_valid+=r-d):(e.bi_buf|=t<>>=1,r<<=1,0<--t;);return r>>>1}function Z(e,t,r){var n,i,s=new Array(g+1),a=0;for(n=1;n<=g;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=j(s[o]++,o))}}function W(e){var t;for(t=0;t>1;1<=r;r--)G(e,s,r);for(i=h;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,G(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,h=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,c=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(s=0;s<=g;s++)e.bl_count[s]=0;for(h[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<_;r++)p<(s=h[2*h[2*(n=e.heap[r])+1]+1]+1)&&(s=p,m++),h[2*n+1]=s,u>=7;n>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return h;for(t=32;t>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?J(e,t,r,n):4===e.strategy||s===i?(P(e,2+(n?1:0),3),K(e,z,C)):(P(e,4+(n?1:0),3),function(e,t,r,n){var i;for(P(e,t-257,5),P(e,r-1,5),P(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(A[r]+u+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){P(e,2,3),L(e,m,z),function(e){16===e.bi_valid?(U(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{\"../utils/common\":41}],53:[function(e,t,r){\"use strict\";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(r,n){\"use strict\";if(!r.setImmediate){var i,s,t,a,o=1,h={},u=!1,l=r.document,e=Object.getPrototypeOf&&Object.getPrototypeOf(r);e=e&&e.setTimeout?e:r,i=\"[object process]\"==={}.toString.call(r.process)?function(e){process.nextTick(function(){c(e)})}:function(){if(r.postMessage&&!r.importScripts){var e=!0,t=r.onmessage;return r.onmessage=function(){e=!1},r.postMessage(\"\",\"*\"),r.onmessage=t,e}}()?(a=\"setImmediate$\"+Math.random()+\"$\",r.addEventListener?r.addEventListener(\"message\",d,!1):r.attachEvent(\"onmessage\",d),function(e){r.postMessage(a+e,\"*\")}):r.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){c(e.data)},function(e){t.port2.postMessage(e)}):l&&\"onreadystatechange\"in l.createElement(\"script\")?(s=l.documentElement,function(e){var t=l.createElement(\"script\");t.onreadystatechange=function(){c(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}):function(e){setTimeout(c,0,e)},e.setImmediate=function(e){\"function\"!=typeof e&&(e=new Function(\"\"+e));for(var t=new Array(arguments.length-1),r=0;r arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;", "(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass')) :\n typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.automationEvents = {}, global._slicedToArray, global._classCallCheck, global._createClass));\n})(this, (function (exports, _slicedToArray, _classCallCheck, _createClass) { 'use strict';\n\n var createExtendedExponentialRampToValueAutomationEvent = function createExtendedExponentialRampToValueAutomationEvent(value, endTime, insertTime) {\n return {\n endTime: endTime,\n insertTime: insertTime,\n type: 'exponentialRampToValue',\n value: value\n };\n };\n\n var createExtendedLinearRampToValueAutomationEvent = function createExtendedLinearRampToValueAutomationEvent(value, endTime, insertTime) {\n return {\n endTime: endTime,\n insertTime: insertTime,\n type: 'linearRampToValue',\n value: value\n };\n };\n\n var createSetValueAutomationEvent = function createSetValueAutomationEvent(value, startTime) {\n return {\n startTime: startTime,\n type: 'setValue',\n value: value\n };\n };\n\n var createSetValueCurveAutomationEvent = function createSetValueCurveAutomationEvent(values, startTime, duration) {\n return {\n duration: duration,\n startTime: startTime,\n type: 'setValueCurve',\n values: values\n };\n };\n\n var getTargetValueAtTime = function getTargetValueAtTime(time, valueAtStartTime, _ref) {\n var startTime = _ref.startTime,\n target = _ref.target,\n timeConstant = _ref.timeConstant;\n return target + (valueAtStartTime - target) * Math.exp((startTime - time) / timeConstant);\n };\n\n var isExponentialRampToValueAutomationEvent = function isExponentialRampToValueAutomationEvent(automationEvent) {\n return automationEvent.type === 'exponentialRampToValue';\n };\n\n var isLinearRampToValueAutomationEvent = function isLinearRampToValueAutomationEvent(automationEvent) {\n return automationEvent.type === 'linearRampToValue';\n };\n\n var isAnyRampToValueAutomationEvent = function isAnyRampToValueAutomationEvent(automationEvent) {\n return isExponentialRampToValueAutomationEvent(automationEvent) || isLinearRampToValueAutomationEvent(automationEvent);\n };\n\n var isSetValueAutomationEvent = function isSetValueAutomationEvent(automationEvent) {\n return automationEvent.type === 'setValue';\n };\n\n var isSetValueCurveAutomationEvent = function isSetValueCurveAutomationEvent(automationEvent) {\n return automationEvent.type === 'setValueCurve';\n };\n\n var getValueOfAutomationEventAtIndexAtTime = function getValueOfAutomationEventAtIndexAtTime(automationEvents, index, time, defaultValue) {\n var automationEvent = automationEvents[index];\n return automationEvent === undefined ? defaultValue : isAnyRampToValueAutomationEvent(automationEvent) || isSetValueAutomationEvent(automationEvent) ? automationEvent.value : isSetValueCurveAutomationEvent(automationEvent) ? automationEvent.values[automationEvent.values.length - 1] : getTargetValueAtTime(time, getValueOfAutomationEventAtIndexAtTime(automationEvents, index - 1, automationEvent.startTime, defaultValue), automationEvent);\n };\n\n var getEndTimeAndValueOfPreviousAutomationEvent = function getEndTimeAndValueOfPreviousAutomationEvent(automationEvents, index, currentAutomationEvent, nextAutomationEvent, defaultValue) {\n return currentAutomationEvent === undefined ? [nextAutomationEvent.insertTime, defaultValue] : isAnyRampToValueAutomationEvent(currentAutomationEvent) ? [currentAutomationEvent.endTime, currentAutomationEvent.value] : isSetValueAutomationEvent(currentAutomationEvent) ? [currentAutomationEvent.startTime, currentAutomationEvent.value] : isSetValueCurveAutomationEvent(currentAutomationEvent) ? [currentAutomationEvent.startTime + currentAutomationEvent.duration, currentAutomationEvent.values[currentAutomationEvent.values.length - 1]] : [currentAutomationEvent.startTime, getValueOfAutomationEventAtIndexAtTime(automationEvents, index - 1, currentAutomationEvent.startTime, defaultValue)];\n };\n\n var isCancelAndHoldAutomationEvent = function isCancelAndHoldAutomationEvent(automationEvent) {\n return automationEvent.type === 'cancelAndHold';\n };\n\n var isCancelScheduledValuesAutomationEvent = function isCancelScheduledValuesAutomationEvent(automationEvent) {\n return automationEvent.type === 'cancelScheduledValues';\n };\n\n var getEventTime = function getEventTime(automationEvent) {\n if (isCancelAndHoldAutomationEvent(automationEvent) || isCancelScheduledValuesAutomationEvent(automationEvent)) {\n return automationEvent.cancelTime;\n }\n if (isExponentialRampToValueAutomationEvent(automationEvent) || isLinearRampToValueAutomationEvent(automationEvent)) {\n return automationEvent.endTime;\n }\n return automationEvent.startTime;\n };\n\n var getExponentialRampValueAtTime = function getExponentialRampValueAtTime(time, startTime, valueAtStartTime, _ref) {\n var endTime = _ref.endTime,\n value = _ref.value;\n if (valueAtStartTime === value) {\n return value;\n }\n if (0 < valueAtStartTime && 0 < value || valueAtStartTime < 0 && value < 0) {\n return valueAtStartTime * Math.pow(value / valueAtStartTime, (time - startTime) / (endTime - startTime));\n }\n return 0;\n };\n\n var getLinearRampValueAtTime = function getLinearRampValueAtTime(time, startTime, valueAtStartTime, _ref) {\n var endTime = _ref.endTime,\n value = _ref.value;\n return valueAtStartTime + (time - startTime) / (endTime - startTime) * (value - valueAtStartTime);\n };\n\n var interpolateValue = function interpolateValue(values, theoreticIndex) {\n var lowerIndex = Math.floor(theoreticIndex);\n var upperIndex = Math.ceil(theoreticIndex);\n if (lowerIndex === upperIndex) {\n return values[lowerIndex];\n }\n return (1 - (theoreticIndex - lowerIndex)) * values[lowerIndex] + (1 - (upperIndex - theoreticIndex)) * values[upperIndex];\n };\n\n var getValueCurveValueAtTime = function getValueCurveValueAtTime(time, _ref) {\n var duration = _ref.duration,\n startTime = _ref.startTime,\n values = _ref.values;\n var theoreticIndex = (time - startTime) / duration * (values.length - 1);\n return interpolateValue(values, theoreticIndex);\n };\n\n var isSetTargetAutomationEvent = function isSetTargetAutomationEvent(automationEvent) {\n return automationEvent.type === 'setTarget';\n };\n\n var AutomationEventList = /*#__PURE__*/function (_Symbol$iterator) {\n function AutomationEventList(defaultValue) {\n _classCallCheck(this, AutomationEventList);\n this._automationEvents = [];\n this._currenTime = 0;\n this._defaultValue = defaultValue;\n }\n _createClass(AutomationEventList, [{\n key: _Symbol$iterator,\n value: function value() {\n return this._automationEvents[Symbol.iterator]();\n }\n }, {\n key: \"add\",\n value: function add(automationEvent) {\n var eventTime = getEventTime(automationEvent);\n if (isCancelAndHoldAutomationEvent(automationEvent) || isCancelScheduledValuesAutomationEvent(automationEvent)) {\n var index = this._automationEvents.findIndex(function (currentAutomationEvent) {\n if (isCancelScheduledValuesAutomationEvent(automationEvent) && isSetValueCurveAutomationEvent(currentAutomationEvent)) {\n return currentAutomationEvent.startTime + currentAutomationEvent.duration >= eventTime;\n }\n return getEventTime(currentAutomationEvent) >= eventTime;\n });\n var removedAutomationEvent = this._automationEvents[index];\n if (index !== -1) {\n this._automationEvents = this._automationEvents.slice(0, index);\n }\n if (isCancelAndHoldAutomationEvent(automationEvent)) {\n var lastAutomationEvent = this._automationEvents[this._automationEvents.length - 1];\n if (removedAutomationEvent !== undefined && isAnyRampToValueAutomationEvent(removedAutomationEvent)) {\n if (lastAutomationEvent !== undefined && isSetTargetAutomationEvent(lastAutomationEvent)) {\n throw new Error('The internal list is malformed.');\n }\n var startTime = lastAutomationEvent === undefined ? removedAutomationEvent.insertTime : isSetValueCurveAutomationEvent(lastAutomationEvent) ? lastAutomationEvent.startTime + lastAutomationEvent.duration : getEventTime(lastAutomationEvent);\n var startValue = lastAutomationEvent === undefined ? this._defaultValue : isSetValueCurveAutomationEvent(lastAutomationEvent) ? lastAutomationEvent.values[lastAutomationEvent.values.length - 1] : lastAutomationEvent.value;\n var value = isExponentialRampToValueAutomationEvent(removedAutomationEvent) ? getExponentialRampValueAtTime(eventTime, startTime, startValue, removedAutomationEvent) : getLinearRampValueAtTime(eventTime, startTime, startValue, removedAutomationEvent);\n var truncatedAutomationEvent = isExponentialRampToValueAutomationEvent(removedAutomationEvent) ? createExtendedExponentialRampToValueAutomationEvent(value, eventTime, this._currenTime) : createExtendedLinearRampToValueAutomationEvent(value, eventTime, this._currenTime);\n this._automationEvents.push(truncatedAutomationEvent);\n }\n if (lastAutomationEvent !== undefined && isSetTargetAutomationEvent(lastAutomationEvent)) {\n this._automationEvents.push(createSetValueAutomationEvent(this.getValue(eventTime), eventTime));\n }\n if (lastAutomationEvent !== undefined && isSetValueCurveAutomationEvent(lastAutomationEvent) && lastAutomationEvent.startTime + lastAutomationEvent.duration > eventTime) {\n var duration = eventTime - lastAutomationEvent.startTime;\n var ratio = (lastAutomationEvent.values.length - 1) / lastAutomationEvent.duration;\n var length = Math.max(2, 1 + Math.ceil(duration * ratio));\n var fraction = duration / (length - 1) * ratio;\n var values = lastAutomationEvent.values.slice(0, length);\n if (fraction < 1) {\n for (var i = 1; i < length; i += 1) {\n var factor = fraction * i % 1;\n values[i] = lastAutomationEvent.values[i - 1] * (1 - factor) + lastAutomationEvent.values[i] * factor;\n }\n }\n this._automationEvents[this._automationEvents.length - 1] = createSetValueCurveAutomationEvent(values, lastAutomationEvent.startTime, duration);\n }\n }\n } else {\n var _index = this._automationEvents.findIndex(function (currentAutomationEvent) {\n return getEventTime(currentAutomationEvent) > eventTime;\n });\n var previousAutomationEvent = _index === -1 ? this._automationEvents[this._automationEvents.length - 1] : this._automationEvents[_index - 1];\n if (previousAutomationEvent !== undefined && isSetValueCurveAutomationEvent(previousAutomationEvent) && getEventTime(previousAutomationEvent) + previousAutomationEvent.duration > eventTime) {\n return false;\n }\n var persistentAutomationEvent = isExponentialRampToValueAutomationEvent(automationEvent) ? createExtendedExponentialRampToValueAutomationEvent(automationEvent.value, automationEvent.endTime, this._currenTime) : isLinearRampToValueAutomationEvent(automationEvent) ? createExtendedLinearRampToValueAutomationEvent(automationEvent.value, eventTime, this._currenTime) : automationEvent;\n if (_index === -1) {\n this._automationEvents.push(persistentAutomationEvent);\n } else {\n if (isSetValueCurveAutomationEvent(automationEvent) && eventTime + automationEvent.duration > getEventTime(this._automationEvents[_index])) {\n return false;\n }\n this._automationEvents.splice(_index, 0, persistentAutomationEvent);\n }\n }\n return true;\n }\n }, {\n key: \"flush\",\n value: function flush(time) {\n var index = this._automationEvents.findIndex(function (currentAutomationEvent) {\n return getEventTime(currentAutomationEvent) > time;\n });\n if (index > 1) {\n var remainingAutomationEvents = this._automationEvents.slice(index - 1);\n var firstRemainingAutomationEvent = remainingAutomationEvents[0];\n if (isSetTargetAutomationEvent(firstRemainingAutomationEvent)) {\n remainingAutomationEvents.unshift(createSetValueAutomationEvent(getValueOfAutomationEventAtIndexAtTime(this._automationEvents, index - 2, firstRemainingAutomationEvent.startTime, this._defaultValue), firstRemainingAutomationEvent.startTime));\n }\n this._automationEvents = remainingAutomationEvents;\n }\n }\n }, {\n key: \"getValue\",\n value: function getValue(time) {\n if (this._automationEvents.length === 0) {\n return this._defaultValue;\n }\n var indexOfNextEvent = this._automationEvents.findIndex(function (automationEvent) {\n return getEventTime(automationEvent) > time;\n });\n var nextAutomationEvent = this._automationEvents[indexOfNextEvent];\n var indexOfCurrentEvent = (indexOfNextEvent === -1 ? this._automationEvents.length : indexOfNextEvent) - 1;\n var currentAutomationEvent = this._automationEvents[indexOfCurrentEvent];\n if (currentAutomationEvent !== undefined && isSetTargetAutomationEvent(currentAutomationEvent) && (nextAutomationEvent === undefined || !isAnyRampToValueAutomationEvent(nextAutomationEvent) || nextAutomationEvent.insertTime > time)) {\n return getTargetValueAtTime(time, getValueOfAutomationEventAtIndexAtTime(this._automationEvents, indexOfCurrentEvent - 1, currentAutomationEvent.startTime, this._defaultValue), currentAutomationEvent);\n }\n if (currentAutomationEvent !== undefined && isSetValueAutomationEvent(currentAutomationEvent) && (nextAutomationEvent === undefined || !isAnyRampToValueAutomationEvent(nextAutomationEvent))) {\n return currentAutomationEvent.value;\n }\n if (currentAutomationEvent !== undefined && isSetValueCurveAutomationEvent(currentAutomationEvent) && (nextAutomationEvent === undefined || !isAnyRampToValueAutomationEvent(nextAutomationEvent) || currentAutomationEvent.startTime + currentAutomationEvent.duration > time)) {\n if (time < currentAutomationEvent.startTime + currentAutomationEvent.duration) {\n return getValueCurveValueAtTime(time, currentAutomationEvent);\n }\n return currentAutomationEvent.values[currentAutomationEvent.values.length - 1];\n }\n if (currentAutomationEvent !== undefined && isAnyRampToValueAutomationEvent(currentAutomationEvent) && (nextAutomationEvent === undefined || !isAnyRampToValueAutomationEvent(nextAutomationEvent))) {\n return currentAutomationEvent.value;\n }\n if (nextAutomationEvent !== undefined && isExponentialRampToValueAutomationEvent(nextAutomationEvent)) {\n var _getEndTimeAndValueOf = getEndTimeAndValueOfPreviousAutomationEvent(this._automationEvents, indexOfCurrentEvent, currentAutomationEvent, nextAutomationEvent, this._defaultValue),\n _getEndTimeAndValueOf2 = _slicedToArray(_getEndTimeAndValueOf, 2),\n startTime = _getEndTimeAndValueOf2[0],\n value = _getEndTimeAndValueOf2[1];\n return getExponentialRampValueAtTime(time, startTime, value, nextAutomationEvent);\n }\n if (nextAutomationEvent !== undefined && isLinearRampToValueAutomationEvent(nextAutomationEvent)) {\n var _getEndTimeAndValueOf3 = getEndTimeAndValueOfPreviousAutomationEvent(this._automationEvents, indexOfCurrentEvent, currentAutomationEvent, nextAutomationEvent, this._defaultValue),\n _getEndTimeAndValueOf4 = _slicedToArray(_getEndTimeAndValueOf3, 2),\n _startTime = _getEndTimeAndValueOf4[0],\n _value = _getEndTimeAndValueOf4[1];\n return getLinearRampValueAtTime(time, _startTime, _value, nextAutomationEvent);\n }\n return this._defaultValue;\n }\n }]);\n return AutomationEventList;\n }(Symbol.iterator);\n\n var createCancelAndHoldAutomationEvent = function createCancelAndHoldAutomationEvent(cancelTime) {\n return {\n cancelTime: cancelTime,\n type: 'cancelAndHold'\n };\n };\n\n var createCancelScheduledValuesAutomationEvent = function createCancelScheduledValuesAutomationEvent(cancelTime) {\n return {\n cancelTime: cancelTime,\n type: 'cancelScheduledValues'\n };\n };\n\n var createExponentialRampToValueAutomationEvent = function createExponentialRampToValueAutomationEvent(value, endTime) {\n return {\n endTime: endTime,\n type: 'exponentialRampToValue',\n value: value\n };\n };\n\n var createLinearRampToValueAutomationEvent = function createLinearRampToValueAutomationEvent(value, endTime) {\n return {\n endTime: endTime,\n type: 'linearRampToValue',\n value: value\n };\n };\n\n var createSetTargetAutomationEvent = function createSetTargetAutomationEvent(target, startTime, timeConstant) {\n return {\n startTime: startTime,\n target: target,\n timeConstant: timeConstant,\n type: 'setTarget'\n };\n };\n\n exports.AutomationEventList = AutomationEventList;\n exports.createCancelAndHoldAutomationEvent = createCancelAndHoldAutomationEvent;\n exports.createCancelScheduledValuesAutomationEvent = createCancelScheduledValuesAutomationEvent;\n exports.createExponentialRampToValueAutomationEvent = createExponentialRampToValueAutomationEvent;\n exports.createLinearRampToValueAutomationEvent = createLinearRampToValueAutomationEvent;\n exports.createSetTargetAutomationEvent = createSetTargetAutomationEvent;\n exports.createSetValueAutomationEvent = createSetValueAutomationEvent;\n exports.createSetValueCurveAutomationEvent = createSetValueCurveAutomationEvent;\n\n}));\n", "const {\n hasOwnProperty,\n setPrototypeOf,\n isFrozen,\n getPrototypeOf,\n getOwnPropertyDescriptor,\n} = Object;\n\nlet { freeze, seal, create } = Object; // eslint-disable-line import/no-mutable-exports\nlet { apply, construct } = typeof Reflect !== 'undefined' && Reflect;\n\nif (!apply) {\n apply = function (fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n}\n\nif (!freeze) {\n freeze = function (x) {\n return x;\n };\n}\n\nif (!seal) {\n seal = function (x) {\n return x;\n };\n}\n\nif (!construct) {\n construct = function (Func, args) {\n return new Func(...args);\n };\n}\n\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayIndexOf = unapply(Array.prototype.indexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySlice = unapply(Array.prototype.slice);\n\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\n\nconst regExpTest = unapply(RegExp.prototype.test);\n\nconst typeErrorCreate = unconstruct(TypeError);\n\nexport function numberIsNaN(x) {\n // eslint-disable-next-line unicorn/prefer-number-properties\n return typeof x === 'number' && isNaN(x);\n}\n\nexport function unapply(func) {\n return (thisArg, ...args) => apply(func, thisArg, args);\n}\n\nexport function unconstruct(func) {\n return (...args) => construct(func, args);\n}\n\n/* Add properties to a lookup table */\nexport function addToSet(set, array, transformCaseFunc) {\n transformCaseFunc = transformCaseFunc ?? stringToLowerCase;\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n\n let l = array.length;\n while (l--) {\n let element = array[l];\n if (typeof element === 'string') {\n const lcElement = transformCaseFunc(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n\n element = lcElement;\n }\n }\n\n set[element] = true;\n }\n\n return set;\n}\n\n/* Shallow clone an object */\nexport function clone(object) {\n const newObject = create(null);\n\n let property;\n for (property in object) {\n if (apply(hasOwnProperty, object, [property]) === true) {\n newObject[property] = object[property];\n }\n }\n\n return newObject;\n}\n\n/* IE10 doesn't support __lookupGetter__ so lets'\n * simulate it. It also automatically checks\n * if the prop is function or getter and behaves\n * accordingly. */\nfunction lookupGetter(object, prop) {\n while (object !== null) {\n const desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n\n object = getPrototypeOf(object);\n }\n\n function fallbackValue(element) {\n console.warn('fallback value for', element);\n return null;\n }\n\n return fallbackValue;\n}\n\nexport {\n // Array\n arrayForEach,\n arrayIndexOf,\n arrayPop,\n arrayPush,\n arraySlice,\n // Object\n freeze,\n getPrototypeOf,\n getOwnPropertyDescriptor,\n hasOwnProperty,\n isFrozen,\n setPrototypeOf,\n seal,\n // RegExp\n regExpTest,\n // String\n stringIndexOf,\n stringMatch,\n stringReplace,\n stringToLowerCase,\n stringToString,\n stringTrim,\n // Errors\n typeErrorCreate,\n // Other\n lookupGetter,\n};\n", "import { freeze } from './utils.js';\n\nexport const html = freeze([\n 'a',\n 'abbr',\n 'acronym',\n 'address',\n 'area',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'bdi',\n 'bdo',\n 'big',\n 'blink',\n 'blockquote',\n 'body',\n 'br',\n 'button',\n 'canvas',\n 'caption',\n 'center',\n 'cite',\n 'code',\n 'col',\n 'colgroup',\n 'content',\n 'data',\n 'datalist',\n 'dd',\n 'decorator',\n 'del',\n 'details',\n 'dfn',\n 'dialog',\n 'dir',\n 'div',\n 'dl',\n 'dt',\n 'element',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'font',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hgroup',\n 'hr',\n 'html',\n 'i',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'map',\n 'mark',\n 'marquee',\n 'menu',\n 'menuitem',\n 'meter',\n 'nav',\n 'nobr',\n 'ol',\n 'optgroup',\n 'option',\n 'output',\n 'p',\n 'picture',\n 'pre',\n 'progress',\n 'q',\n 'rp',\n 'rt',\n 'ruby',\n 's',\n 'samp',\n 'section',\n 'select',\n 'shadow',\n 'small',\n 'source',\n 'spacer',\n 'span',\n 'strike',\n 'strong',\n 'style',\n 'sub',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'template',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'track',\n 'tt',\n 'u',\n 'ul',\n 'var',\n 'video',\n 'wbr',\n]);\n\n// SVG\nexport const svg = freeze([\n 'svg',\n 'a',\n 'altglyph',\n 'altglyphdef',\n 'altglyphitem',\n 'animatecolor',\n 'animatemotion',\n 'animatetransform',\n 'circle',\n 'clippath',\n 'defs',\n 'desc',\n 'ellipse',\n 'filter',\n 'font',\n 'g',\n 'glyph',\n 'glyphref',\n 'hkern',\n 'image',\n 'line',\n 'lineargradient',\n 'marker',\n 'mask',\n 'metadata',\n 'mpath',\n 'path',\n 'pattern',\n 'polygon',\n 'polyline',\n 'radialgradient',\n 'rect',\n 'stop',\n 'style',\n 'switch',\n 'symbol',\n 'text',\n 'textpath',\n 'title',\n 'tref',\n 'tspan',\n 'view',\n 'vkern',\n]);\n\nexport const svgFilters = freeze([\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDistantLight',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n]);\n\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nexport const svgDisallowed = freeze([\n 'animate',\n 'color-profile',\n 'cursor',\n 'discard',\n 'fedropshadow',\n 'font-face',\n 'font-face-format',\n 'font-face-name',\n 'font-face-src',\n 'font-face-uri',\n 'foreignobject',\n 'hatch',\n 'hatchpath',\n 'mesh',\n 'meshgradient',\n 'meshpatch',\n 'meshrow',\n 'missing-glyph',\n 'script',\n 'set',\n 'solidcolor',\n 'unknown',\n 'use',\n]);\n\nexport const mathMl = freeze([\n 'math',\n 'menclose',\n 'merror',\n 'mfenced',\n 'mfrac',\n 'mglyph',\n 'mi',\n 'mlabeledtr',\n 'mmultiscripts',\n 'mn',\n 'mo',\n 'mover',\n 'mpadded',\n 'mphantom',\n 'mroot',\n 'mrow',\n 'ms',\n 'mspace',\n 'msqrt',\n 'mstyle',\n 'msub',\n 'msup',\n 'msubsup',\n 'mtable',\n 'mtd',\n 'mtext',\n 'mtr',\n 'munder',\n 'munderover',\n]);\n\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nexport const mathMlDisallowed = freeze([\n 'maction',\n 'maligngroup',\n 'malignmark',\n 'mlongdiv',\n 'mscarries',\n 'mscarry',\n 'msgroup',\n 'mstack',\n 'msline',\n 'msrow',\n 'semantics',\n 'annotation',\n 'annotation-xml',\n 'mprescripts',\n 'none',\n]);\n\nexport const text = freeze(['#text']);\n", "import { freeze } from './utils.js';\n\nexport const html = freeze([\n 'accept',\n 'action',\n 'align',\n 'alt',\n 'autocapitalize',\n 'autocomplete',\n 'autopictureinpicture',\n 'autoplay',\n 'background',\n 'bgcolor',\n 'border',\n 'capture',\n 'cellpadding',\n 'cellspacing',\n 'checked',\n 'cite',\n 'class',\n 'clear',\n 'color',\n 'cols',\n 'colspan',\n 'controls',\n 'controlslist',\n 'coords',\n 'crossorigin',\n 'datetime',\n 'decoding',\n 'default',\n 'dir',\n 'disabled',\n 'disablepictureinpicture',\n 'disableremoteplayback',\n 'download',\n 'draggable',\n 'enctype',\n 'enterkeyhint',\n 'face',\n 'for',\n 'headers',\n 'height',\n 'hidden',\n 'high',\n 'href',\n 'hreflang',\n 'id',\n 'inputmode',\n 'integrity',\n 'ismap',\n 'kind',\n 'label',\n 'lang',\n 'list',\n 'loading',\n 'loop',\n 'low',\n 'max',\n 'maxlength',\n 'media',\n 'method',\n 'min',\n 'minlength',\n 'multiple',\n 'muted',\n 'name',\n 'nonce',\n 'noshade',\n 'novalidate',\n 'nowrap',\n 'open',\n 'optimum',\n 'pattern',\n 'placeholder',\n 'playsinline',\n 'poster',\n 'preload',\n 'pubdate',\n 'radiogroup',\n 'readonly',\n 'rel',\n 'required',\n 'rev',\n 'reversed',\n 'role',\n 'rows',\n 'rowspan',\n 'spellcheck',\n 'scope',\n 'selected',\n 'shape',\n 'size',\n 'sizes',\n 'span',\n 'srclang',\n 'start',\n 'src',\n 'srcset',\n 'step',\n 'style',\n 'summary',\n 'tabindex',\n 'title',\n 'translate',\n 'type',\n 'usemap',\n 'valign',\n 'value',\n 'width',\n 'xmlns',\n 'slot',\n]);\n\nexport const svg = freeze([\n 'accent-height',\n 'accumulate',\n 'additive',\n 'alignment-baseline',\n 'ascent',\n 'attributename',\n 'attributetype',\n 'azimuth',\n 'basefrequency',\n 'baseline-shift',\n 'begin',\n 'bias',\n 'by',\n 'class',\n 'clip',\n 'clippathunits',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'color-interpolation',\n 'color-interpolation-filters',\n 'color-profile',\n 'color-rendering',\n 'cx',\n 'cy',\n 'd',\n 'dx',\n 'dy',\n 'diffuseconstant',\n 'direction',\n 'display',\n 'divisor',\n 'dur',\n 'edgemode',\n 'elevation',\n 'end',\n 'fill',\n 'fill-opacity',\n 'fill-rule',\n 'filter',\n 'filterunits',\n 'flood-color',\n 'flood-opacity',\n 'font-family',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-style',\n 'font-variant',\n 'font-weight',\n 'fx',\n 'fy',\n 'g1',\n 'g2',\n 'glyph-name',\n 'glyphref',\n 'gradientunits',\n 'gradienttransform',\n 'height',\n 'href',\n 'id',\n 'image-rendering',\n 'in',\n 'in2',\n 'k',\n 'k1',\n 'k2',\n 'k3',\n 'k4',\n 'kerning',\n 'keypoints',\n 'keysplines',\n 'keytimes',\n 'lang',\n 'lengthadjust',\n 'letter-spacing',\n 'kernelmatrix',\n 'kernelunitlength',\n 'lighting-color',\n 'local',\n 'marker-end',\n 'marker-mid',\n 'marker-start',\n 'markerheight',\n 'markerunits',\n 'markerwidth',\n 'maskcontentunits',\n 'maskunits',\n 'max',\n 'mask',\n 'media',\n 'method',\n 'mode',\n 'min',\n 'name',\n 'numoctaves',\n 'offset',\n 'operator',\n 'opacity',\n 'order',\n 'orient',\n 'orientation',\n 'origin',\n 'overflow',\n 'paint-order',\n 'path',\n 'pathlength',\n 'patterncontentunits',\n 'patterntransform',\n 'patternunits',\n 'points',\n 'preservealpha',\n 'preserveaspectratio',\n 'primitiveunits',\n 'r',\n 'rx',\n 'ry',\n 'radius',\n 'refx',\n 'refy',\n 'repeatcount',\n 'repeatdur',\n 'restart',\n 'result',\n 'rotate',\n 'scale',\n 'seed',\n 'shape-rendering',\n 'specularconstant',\n 'specularexponent',\n 'spreadmethod',\n 'startoffset',\n 'stddeviation',\n 'stitchtiles',\n 'stop-color',\n 'stop-opacity',\n 'stroke-dasharray',\n 'stroke-dashoffset',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-miterlimit',\n 'stroke-opacity',\n 'stroke',\n 'stroke-width',\n 'style',\n 'surfacescale',\n 'systemlanguage',\n 'tabindex',\n 'targetx',\n 'targety',\n 'transform',\n 'transform-origin',\n 'text-anchor',\n 'text-decoration',\n 'text-rendering',\n 'textlength',\n 'type',\n 'u1',\n 'u2',\n 'unicode',\n 'values',\n 'viewbox',\n 'visibility',\n 'version',\n 'vert-adv-y',\n 'vert-origin-x',\n 'vert-origin-y',\n 'width',\n 'word-spacing',\n 'wrap',\n 'writing-mode',\n 'xchannelselector',\n 'ychannelselector',\n 'x',\n 'x1',\n 'x2',\n 'xmlns',\n 'y',\n 'y1',\n 'y2',\n 'z',\n 'zoomandpan',\n]);\n\nexport const mathMl = freeze([\n 'accent',\n 'accentunder',\n 'align',\n 'bevelled',\n 'close',\n 'columnsalign',\n 'columnlines',\n 'columnspan',\n 'denomalign',\n 'depth',\n 'dir',\n 'display',\n 'displaystyle',\n 'encoding',\n 'fence',\n 'frame',\n 'height',\n 'href',\n 'id',\n 'largeop',\n 'length',\n 'linethickness',\n 'lspace',\n 'lquote',\n 'mathbackground',\n 'mathcolor',\n 'mathsize',\n 'mathvariant',\n 'maxsize',\n 'minsize',\n 'movablelimits',\n 'notation',\n 'numalign',\n 'open',\n 'rowalign',\n 'rowlines',\n 'rowspacing',\n 'rowspan',\n 'rspace',\n 'rquote',\n 'scriptlevel',\n 'scriptminsize',\n 'scriptsizemultiplier',\n 'selection',\n 'separator',\n 'separators',\n 'stretchy',\n 'subscriptshift',\n 'supscriptshift',\n 'symmetric',\n 'voffset',\n 'width',\n 'xmlns',\n]);\n\nexport const xml = freeze([\n 'xlink:href',\n 'xml:id',\n 'xlink:title',\n 'xml:space',\n 'xmlns:xlink',\n]);\n", "import { seal } from './utils.js';\n\n// eslint-disable-next-line unicorn/better-regex\nexport const MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\nexport const ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nexport const TMPLIT_EXPR = seal(/\\${[\\w\\W]*}/gm);\nexport const DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]/); // eslint-disable-line no-useless-escape\nexport const ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nexport const IS_ALLOWED_URI = seal(\n /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nexport const IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nexport const ATTR_WHITESPACE = seal(\n /[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nexport const DOCTYPE_NAME = seal(/^html$/i);\nexport const CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n", "import * as TAGS from './tags.js';\nimport * as ATTRS from './attrs.js';\nimport * as EXPRESSIONS from './regexp.js';\nimport {\n addToSet,\n clone,\n freeze,\n arrayForEach,\n arrayPop,\n arrayPush,\n stringMatch,\n stringReplace,\n stringToLowerCase,\n stringToString,\n stringIndexOf,\n stringTrim,\n numberIsNaN,\n regExpTest,\n typeErrorCreate,\n lookupGetter,\n} from './utils.js';\n\nconst getGlobal = () => (typeof window === 'undefined' ? null : window);\n\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {Document} document The document object (to determine policy name suffix)\n * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported).\n */\nconst _createTrustedTypesPolicy = function (trustedTypes, document) {\n if (\n typeof trustedTypes !== 'object' ||\n typeof trustedTypes.createPolicy !== 'function'\n ) {\n return null;\n }\n\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n let suffix = null;\n const ATTR_NAME = 'data-tt-policy-suffix';\n if (\n document.currentScript &&\n document.currentScript.hasAttribute(ATTR_NAME)\n ) {\n suffix = document.currentScript.getAttribute(ATTR_NAME);\n }\n\n const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML(html) {\n return html;\n },\n createScriptURL(scriptUrl) {\n return scriptUrl;\n },\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn(\n 'TrustedTypes policy ' + policyName + ' could not be created.'\n );\n return null;\n }\n};\n\nfunction createDOMPurify(window = getGlobal()) {\n const DOMPurify = (root) => createDOMPurify(root);\n\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n DOMPurify.version = VERSION;\n\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n DOMPurify.removed = [];\n\n if (!window || !window.document || window.document.nodeType !== 9) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n\n return DOMPurify;\n }\n\n const originalDocument = window.document;\n\n let { document } = window;\n const {\n DocumentFragment,\n HTMLTemplateElement,\n Node,\n Element,\n NodeFilter,\n NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n HTMLFormElement,\n DOMParser,\n trustedTypes,\n } = window;\n\n const ElementPrototype = Element.prototype;\n\n const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n const template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n\n const trustedTypesPolicy = _createTrustedTypesPolicy(\n trustedTypes,\n originalDocument\n );\n const emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';\n\n const {\n implementation,\n createNodeIterator,\n createDocumentFragment,\n getElementsByTagName,\n } = document;\n const { importNode } = originalDocument;\n\n let documentMode = {};\n try {\n documentMode = clone(document).documentMode ? document.documentMode : {};\n } catch (_) {}\n\n let hooks = {};\n\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported =\n typeof getParentNode === 'function' &&\n implementation &&\n implementation.createHTMLDocument !== undefined &&\n documentMode !== 9;\n\n const {\n MUSTACHE_EXPR,\n ERB_EXPR,\n TMPLIT_EXPR,\n DATA_ATTR,\n ARIA_ATTR,\n IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE,\n CUSTOM_ELEMENT,\n } = EXPRESSIONS;\n\n let { IS_ALLOWED_URI } = EXPRESSIONS;\n\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n let ALLOWED_TAGS = null;\n const DEFAULT_ALLOWED_TAGS = addToSet({}, [\n ...TAGS.html,\n ...TAGS.svg,\n ...TAGS.svgFilters,\n ...TAGS.mathMl,\n ...TAGS.text,\n ]);\n\n /* Allowed attribute names */\n let ALLOWED_ATTR = null;\n const DEFAULT_ALLOWED_ATTR = addToSet({}, [\n ...ATTRS.html,\n ...ATTRS.svg,\n ...ATTRS.mathMl,\n ...ATTRS.xml,\n ]);\n\n /*\n * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n let CUSTOM_ELEMENT_HANDLING = Object.seal(\n Object.create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null,\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null,\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false,\n },\n })\n );\n\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n let FORBID_TAGS = null;\n\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n let FORBID_ATTR = null;\n\n /* Decide if ARIA attributes are okay */\n let ALLOW_ARIA_ATTR = true;\n\n /* Decide if custom data attributes are okay */\n let ALLOW_DATA_ATTR = true;\n\n /* Decide if unknown protocols are okay */\n let ALLOW_UNKNOWN_PROTOCOLS = false;\n\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n let ALLOW_SELF_CLOSE_IN_ATTR = true;\n\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n let SAFE_FOR_TEMPLATES = false;\n\n /* Output should be safe even for XML used within HTML and alike.\n * This means, DOMPurify removes comments when containing risky content.\n */\n let SAFE_FOR_XML = true;\n\n /* Decide if document with ... should be returned */\n let WHOLE_DOCUMENT = false;\n\n /* Track whether config is already set on this instance of DOMPurify. */\n let SET_CONFIG = false;\n\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n let FORCE_BODY = false;\n\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n let RETURN_DOM = false;\n\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n let RETURN_DOM_FRAGMENT = false;\n\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n let RETURN_TRUSTED_TYPE = false;\n\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n let SANITIZE_DOM = true;\n\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (\u00A77.3.3)\n * - DOM Tree Accessors (\u00A73.1.5)\n * - Form Element Parent-Child Relations (\u00A74.10.3)\n * - Iframe srcdoc / Nested WindowProxies (\u00A74.8.5)\n * - HTMLCollection (\u00A74.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n let SANITIZE_NAMED_PROPS = false;\n const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n\n /* Keep element content when removing element? */\n let KEEP_CONTENT = true;\n\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n let IN_PLACE = false;\n\n /* Allow usage of profiles like html, svg and mathMl */\n let USE_PROFILES = {};\n\n /* Tags to ignore content of when KEEP_CONTENT is true */\n let FORBID_CONTENTS = null;\n const DEFAULT_FORBID_CONTENTS = addToSet({}, [\n 'annotation-xml',\n 'audio',\n 'colgroup',\n 'desc',\n 'foreignobject',\n 'head',\n 'iframe',\n 'math',\n 'mi',\n 'mn',\n 'mo',\n 'ms',\n 'mtext',\n 'noembed',\n 'noframes',\n 'noscript',\n 'plaintext',\n 'script',\n 'style',\n 'svg',\n 'template',\n 'thead',\n 'title',\n 'video',\n 'xmp',\n ]);\n\n /* Tags that are safe for data: URIs */\n let DATA_URI_TAGS = null;\n const DEFAULT_DATA_URI_TAGS = addToSet({}, [\n 'audio',\n 'video',\n 'img',\n 'source',\n 'image',\n 'track',\n ]);\n\n /* Attributes safe for values like \"javascript:\" */\n let URI_SAFE_ATTRIBUTES = null;\n const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, [\n 'alt',\n 'class',\n 'for',\n 'id',\n 'label',\n 'name',\n 'pattern',\n 'placeholder',\n 'role',\n 'summary',\n 'title',\n 'value',\n 'style',\n 'xmlns',\n ]);\n\n const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n let NAMESPACE = HTML_NAMESPACE;\n let IS_EMPTY_INPUT = false;\n\n /* Allowed XHTML+XML namespaces */\n let ALLOWED_NAMESPACES = null;\n const DEFAULT_ALLOWED_NAMESPACES = addToSet(\n {},\n [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE],\n stringToString\n );\n\n /* Parsing of strict XHTML documents */\n let PARSER_MEDIA_TYPE;\n const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n let transformCaseFunc;\n\n /* Keep a reference to config to pass to hooks */\n let CONFIG = null;\n\n /* Specify the maximum element nesting depth to prevent mXSS */\n const MAX_NESTING_DEPTH = 255;\n\n /* Ideally, do not touch anything below this line */\n /* ______________________________________________ */\n\n const formElement = document.createElement('form');\n\n const isRegexOrFunction = function (testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n const _parseConfig = function (cfg) {\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n\n /* Shield configuration object from tampering */\n if (!cfg || typeof cfg !== 'object') {\n cfg = {};\n }\n\n /* Shield configuration object from prototype pollution */\n cfg = clone(cfg);\n\n PARSER_MEDIA_TYPE =\n // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1\n ? (PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE)\n : (PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE);\n\n // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n transformCaseFunc =\n PARSER_MEDIA_TYPE === 'application/xhtml+xml'\n ? stringToString\n : stringToLowerCase;\n\n /* Set configuration parameters */\n ALLOWED_TAGS =\n 'ALLOWED_TAGS' in cfg\n ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc)\n : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR =\n 'ALLOWED_ATTR' in cfg\n ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc)\n : DEFAULT_ALLOWED_ATTR;\n ALLOWED_NAMESPACES =\n 'ALLOWED_NAMESPACES' in cfg\n ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString)\n : DEFAULT_ALLOWED_NAMESPACES;\n URI_SAFE_ATTRIBUTES =\n 'ADD_URI_SAFE_ATTR' in cfg\n ? addToSet(\n clone(DEFAULT_URI_SAFE_ATTRIBUTES), // eslint-disable-line indent\n cfg.ADD_URI_SAFE_ATTR, // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS =\n 'ADD_DATA_URI_TAGS' in cfg\n ? addToSet(\n clone(DEFAULT_DATA_URI_TAGS), // eslint-disable-line indent\n cfg.ADD_DATA_URI_TAGS, // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_DATA_URI_TAGS;\n FORBID_CONTENTS =\n 'FORBID_CONTENTS' in cfg\n ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc)\n : DEFAULT_FORBID_CONTENTS;\n FORBID_TAGS =\n 'FORBID_TAGS' in cfg\n ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc)\n : {};\n FORBID_ATTR =\n 'FORBID_ATTR' in cfg\n ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc)\n : {};\n USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n IS_ALLOWED_URI = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n if (\n cfg.CUSTOM_ELEMENT_HANDLING &&\n isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)\n ) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck =\n cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n }\n\n if (\n cfg.CUSTOM_ELEMENT_HANDLING &&\n isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)\n ) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck =\n cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n }\n\n if (\n cfg.CUSTOM_ELEMENT_HANDLING &&\n typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements ===\n 'boolean'\n ) {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements =\n cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n }\n\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n\n /* Parse profile info */\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, [...TAGS.text]);\n ALLOWED_ATTR = [];\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, TAGS.html);\n addToSet(ALLOWED_ATTR, ATTRS.html);\n }\n\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, TAGS.svg);\n addToSet(ALLOWED_ATTR, ATTRS.svg);\n addToSet(ALLOWED_ATTR, ATTRS.xml);\n }\n\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, TAGS.svgFilters);\n addToSet(ALLOWED_ATTR, ATTRS.svg);\n addToSet(ALLOWED_ATTR, ATTRS.xml);\n }\n\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, TAGS.mathMl);\n addToSet(ALLOWED_ATTR, ATTRS.mathMl);\n addToSet(ALLOWED_ATTR, ATTRS.xml);\n }\n }\n\n /* Merge configuration parameters */\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n }\n\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n }\n\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n }\n\n if (cfg.FORBID_CONTENTS) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n }\n\n /* Add #text in case KEEP_CONTENT is set to true */\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n\n // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n if (freeze) {\n freeze(cfg);\n }\n\n CONFIG = cfg;\n };\n\n const MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, [\n 'mi',\n 'mo',\n 'mn',\n 'ms',\n 'mtext',\n ]);\n\n const HTML_INTEGRATION_POINTS = addToSet({}, [\n 'foreignobject',\n 'annotation-xml',\n ]);\n\n // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erroneously deleted from\n // HTML namespace.\n const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, [\n 'title',\n 'style',\n 'font',\n 'a',\n 'script',\n ]);\n\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n const ALL_SVG_TAGS = addToSet({}, TAGS.svg);\n addToSet(ALL_SVG_TAGS, TAGS.svgFilters);\n addToSet(ALL_SVG_TAGS, TAGS.svgDisallowed);\n\n const ALL_MATHML_TAGS = addToSet({}, TAGS.mathMl);\n addToSet(ALL_MATHML_TAGS, TAGS.mathMlDisallowed);\n\n /**\n *\n *\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n const _checkValidNamespace = function (element) {\n let parent = getParentNode(element);\n\n // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: NAMESPACE,\n tagName: 'template',\n };\n }\n\n const tagName = stringToLowerCase(element.tagName);\n const parentTagName = stringToLowerCase(parent.tagName);\n\n if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n return false;\n }\n\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'svg';\n }\n\n // The only way to switch from MathML to SVG is via`\n // svg if parent is either or MathML\n // text integration points.\n if (parent.namespaceURI === MATHML_NAMESPACE) {\n return (\n tagName === 'svg' &&\n (parentTagName === 'annotation-xml' ||\n MATHML_TEXT_INTEGRATION_POINTS[parentTagName])\n );\n }\n\n // We only allow elements that are defined in SVG\n // spec. All others are disallowed in SVG namespace.\n return Boolean(ALL_SVG_TAGS[tagName]);\n }\n\n if (element.namespaceURI === MATHML_NAMESPACE) {\n // The only way to switch from HTML namespace to MathML\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'math';\n }\n\n // The only way to switch from SVG to MathML is via\n // and HTML integration points\n if (parent.namespaceURI === SVG_NAMESPACE) {\n return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n }\n\n // We only allow elements that are defined in MathML\n // spec. All others are disallowed in MathML namespace.\n return Boolean(ALL_MATHML_TAGS[tagName]);\n }\n\n if (element.namespaceURI === HTML_NAMESPACE) {\n // The only way to switch from SVG to HTML is via\n // HTML integration points, and from MathML to HTML\n // is via MathML text integration points\n if (\n parent.namespaceURI === SVG_NAMESPACE &&\n !HTML_INTEGRATION_POINTS[parentTagName]\n ) {\n return false;\n }\n\n if (\n parent.namespaceURI === MATHML_NAMESPACE &&\n !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]\n ) {\n return false;\n }\n\n // We disallow tags that are specific for MathML\n // or SVG and should never appear in HTML namespace\n return (\n !ALL_MATHML_TAGS[tagName] &&\n (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName])\n );\n }\n\n // For XHTML and XML documents that support custom namespaces\n if (\n PARSER_MEDIA_TYPE === 'application/xhtml+xml' &&\n ALLOWED_NAMESPACES[element.namespaceURI]\n ) {\n return true;\n }\n\n // The code should never reach this place (this means\n // that the element somehow got namespace that is not\n // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n // Return false just in case.\n return false;\n };\n\n /**\n * _forceRemove\n *\n * @param {Node} node a DOM node\n */\n const _forceRemove = function (node) {\n arrayPush(DOMPurify.removed, { element: node });\n try {\n // eslint-disable-next-line unicorn/prefer-dom-node-remove\n node.parentNode.removeChild(node);\n } catch (_) {\n try {\n node.outerHTML = emptyHTML;\n } catch (_) {\n node.remove();\n }\n }\n };\n\n /**\n * _removeAttribute\n *\n * @param {String} name an Attribute name\n * @param {Node} node a DOM node\n */\n const _removeAttribute = function (name, node) {\n try {\n arrayPush(DOMPurify.removed, {\n attribute: node.getAttributeNode(name),\n from: node,\n });\n } catch (_) {\n arrayPush(DOMPurify.removed, {\n attribute: null,\n from: node,\n });\n }\n\n node.removeAttribute(name);\n\n // We void attribute values for unremovable \"is\"\" attributes\n if (name === 'is' && !ALLOWED_ATTR[name]) {\n if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n try {\n _forceRemove(node);\n } catch (_) {}\n } else {\n try {\n node.setAttribute(name, '');\n } catch (_) {}\n }\n }\n };\n\n /**\n * _initDocument\n *\n * @param {String} dirty a string of dirty markup\n * @return {Document} a DOM, filled with the dirty markup\n */\n const _initDocument = function (dirty) {\n /* Create a HTML document */\n let doc;\n let leadingWhitespace;\n\n if (FORCE_BODY) {\n dirty = '' + dirty;\n } else {\n /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n leadingWhitespace = matches && matches[0];\n }\n\n if (\n PARSER_MEDIA_TYPE === 'application/xhtml+xml' &&\n NAMESPACE === HTML_NAMESPACE\n ) {\n // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n dirty =\n '' +\n dirty +\n '';\n }\n\n const dirtyPayload = trustedTypesPolicy\n ? trustedTypesPolicy.createHTML(dirty)\n : dirty;\n /*\n * Use the DOMParser API by default, fallback later if needs be\n * DOMParser not work for svg when has multiple root element.\n */\n if (NAMESPACE === HTML_NAMESPACE) {\n try {\n doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n } catch (_) {}\n }\n\n /* Use createHTMLDocument in case DOMParser is not available */\n if (!doc || !doc.documentElement) {\n doc = implementation.createDocument(NAMESPACE, 'template', null);\n try {\n doc.documentElement.innerHTML = IS_EMPTY_INPUT\n ? emptyHTML\n : dirtyPayload;\n } catch (_) {\n // Syntax error if dirtyPayload is invalid xml\n }\n }\n\n const body = doc.body || doc.documentElement;\n\n if (dirty && leadingWhitespace) {\n body.insertBefore(\n document.createTextNode(leadingWhitespace),\n body.childNodes[0] || null\n );\n }\n\n /* Work on whole document or just its body */\n if (NAMESPACE === HTML_NAMESPACE) {\n return getElementsByTagName.call(\n doc,\n WHOLE_DOCUMENT ? 'html' : 'body'\n )[0];\n }\n\n return WHOLE_DOCUMENT ? doc.documentElement : body;\n };\n\n /**\n * _createIterator\n *\n * @param {Document} root document/fragment to create iterator for\n * @return {Iterator} iterator instance\n */\n const _createIterator = function (root) {\n return createNodeIterator.call(\n root.ownerDocument || root,\n root,\n // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_ELEMENT |\n NodeFilter.SHOW_COMMENT |\n NodeFilter.SHOW_TEXT |\n NodeFilter.SHOW_PROCESSING_INSTRUCTION |\n NodeFilter.SHOW_CDATA_SECTION,\n null,\n false\n );\n };\n\n /**\n * _isClobbered\n *\n * @param {Node} elm element to check for clobbering attacks\n * @return {Boolean} true if clobbered, false if safe\n */\n const _isClobbered = function (elm) {\n return (\n elm instanceof HTMLFormElement &&\n ((typeof elm.__depth !== 'undefined' &&\n typeof elm.__depth !== 'number') ||\n (typeof elm.__removalCount !== 'undefined' &&\n typeof elm.__removalCount !== 'number') ||\n typeof elm.nodeName !== 'string' ||\n typeof elm.textContent !== 'string' ||\n typeof elm.removeChild !== 'function' ||\n !(elm.attributes instanceof NamedNodeMap) ||\n typeof elm.removeAttribute !== 'function' ||\n typeof elm.setAttribute !== 'function' ||\n typeof elm.namespaceURI !== 'string' ||\n typeof elm.insertBefore !== 'function' ||\n typeof elm.hasChildNodes !== 'function')\n );\n };\n\n /**\n * _isNode\n *\n * @param {Node} obj object to check whether it's a DOM node\n * @return {Boolean} true is object is a DOM node\n */\n const _isNode = function (object) {\n return typeof Node === 'object'\n ? object instanceof Node\n : object &&\n typeof object === 'object' &&\n typeof object.nodeType === 'number' &&\n typeof object.nodeName === 'string';\n };\n\n /**\n * _executeHook\n * Execute user configurable hooks\n *\n * @param {String} entryPoint Name of the hook's entry point\n * @param {Node} currentNode node to work on with the hook\n * @param {Object} data additional hook parameters\n */\n const _executeHook = function (entryPoint, currentNode, data) {\n if (!hooks[entryPoint]) {\n return;\n }\n\n arrayForEach(hooks[entryPoint], (hook) => {\n hook.call(DOMPurify, currentNode, data, CONFIG);\n });\n };\n\n /**\n * _sanitizeElements\n *\n * @protect nodeName\n * @protect textContent\n * @protect removeChild\n *\n * @param {Node} currentNode to check for permission to exist\n * @return {Boolean} true if node was killed, false if left alive\n */\n const _sanitizeElements = function (currentNode) {\n let content;\n\n /* Execute a hook if present */\n _executeHook('beforeSanitizeElements', currentNode, null);\n\n /* Check if element is clobbered or can clobber */\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Check if tagname contains Unicode */\n if (regExpTest(/[\\u0080-\\uFFFF]/, currentNode.nodeName)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Now let's check the element's type and name */\n const tagName = transformCaseFunc(currentNode.nodeName);\n\n /* Execute a hook if present */\n _executeHook('uponSanitizeElement', currentNode, {\n tagName,\n allowedTags: ALLOWED_TAGS,\n });\n\n /* Detect mXSS attempts abusing namespace confusion */\n if (\n currentNode.hasChildNodes() &&\n !_isNode(currentNode.firstElementChild) &&\n (!_isNode(currentNode.content) ||\n !_isNode(currentNode.content.firstElementChild)) &&\n regExpTest(/<[/\\w]/g, currentNode.innerHTML) &&\n regExpTest(/<[/\\w]/g, currentNode.textContent)\n ) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Mitigate a problem with templates inside select */\n if (\n tagName === 'select' &&\n regExpTest(/