diff --git a/.github/workflows/common_check.yml b/.github/workflows/common_check.yml index f78b61f0df..2c0eac5ef7 100644 --- a/.github/workflows/common_check.yml +++ b/.github/workflows/common_check.yml @@ -39,6 +39,7 @@ jobs: node-qunit-puppeteer tests/cell/spreadsheet-calculation/SheetStructureTests.html node-qunit-puppeteer tests/cell/spreadsheet-calculation/autoFilterTests.html node-qunit-puppeteer tests/cell/spreadsheet-calculation/UserProtectedRangesTest.html + node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTrace.html node-qunit-puppeteer tests/word/unit-tests/paragraphContentPos.html node-qunit-puppeteer tests/word/content-control/block-level/cursorAndSelection.html node-qunit-puppeteer tests/word/content-control/inline-level/cursorAndSelection.html @@ -48,6 +49,7 @@ jobs: node-qunit-puppeteer tests/word/document-calculation/table/flowTablePosition.html node-qunit-puppeteer tests/word/document-calculation/table/pageBreak.html node-qunit-puppeteer tests/word/document-calculation/textShaper/textShaper.html + node-qunit-puppeteer tests/word/document-calculation/text-hyphenator/text-hyphenator.html node-qunit-puppeteer tests/word/forms/forms.html node-qunit-puppeteer tests/word/forms/complexForm.html node-qunit-puppeteer tests/word/numbering/numberingApplicator.html diff --git a/.github/workflows/dev_check.yml b/.github/workflows/dev_check.yml index 6113e6d73e..c33d38b9d9 100644 --- a/.github/workflows/dev_check.yml +++ b/.github/workflows/dev_check.yml @@ -39,6 +39,7 @@ jobs: node-qunit-puppeteer tests/cell/spreadsheet-calculation/SheetStructureTests.html node-qunit-puppeteer tests/cell/spreadsheet-calculation/autoFilterTests.html node-qunit-puppeteer tests/cell/spreadsheet-calculation/UserProtectedRangesTest.html + node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTrace.html node-qunit-puppeteer tests/word/unit-tests/paragraphContentPos.html node-qunit-puppeteer tests/word/content-control/block-level/cursorAndSelection.html node-qunit-puppeteer tests/word/content-control/inline-level/cursorAndSelection.html @@ -48,6 +49,7 @@ jobs: node-qunit-puppeteer tests/word/document-calculation/table/flowTablePosition.html node-qunit-puppeteer tests/word/document-calculation/table/pageBreak.html node-qunit-puppeteer tests/word/document-calculation/textShaper/textShaper.html + node-qunit-puppeteer tests/word/document-calculation/text-hyphenator/text-hyphenator.html node-qunit-puppeteer tests/word/forms/forms.html node-qunit-puppeteer tests/word/forms/complexForm.html node-qunit-puppeteer tests/word/numbering/numberingApplicator.html diff --git a/cell/api.js b/cell/api.js index f6d251a83b..a1367e0d5b 100644 --- a/cell/api.js +++ b/cell/api.js @@ -589,32 +589,6 @@ var editor; } }; - spreadsheet_api.prototype._getFileFromUrl = function (url, fileType, token, outputFormat, callback) { - if (this.canEdit()) { - var document = {url: url, format: fileType, token: token}; - this.insertDocumentUrlsData = { - imageMap: null, documents: [document], convertCallback: function (_api, url) { - _api.insertDocumentUrlsData.imageMap = url; - if (url['output.xlsx']) { - callback(url['output.xlsx']); - } else if (url['output.xlst']) { - callback(url['output.xlst']); - } else { - callback(null); - } - _api.endInsertDocumentUrls(); - }, endCallback: function (_api) { - callback(null); - } - }; - - var _options = new Asc.asc_CDownloadOptions(outputFormat); - _options.isNaturalDownload = true; - _options.isGetTextFromUrl = true; - this.downloadAs(Asc.c_oAscAsyncAction.DownloadAs, _options); - } - }; - spreadsheet_api.prototype._getTextFromFile = function (options, callback) { let t = this; @@ -868,15 +842,6 @@ var editor; this.downloadAs(Asc.c_oAscAsyncAction.DownloadAs, options); }; - spreadsheet_api.prototype.endInsertDocumentUrls = function() - { - if (this.insertDocumentUrlsData) { - this.insertDocumentUrlsData.endCallback(this); - this.insertDocumentUrlsData = null; - //this.sync_EndAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.DownloadAs); - } - }; - spreadsheet_api.prototype.asc_TextToColumns = function (options, opt_text, opt_activeRange) { if (this.canEdit()) { var ws = this.wb.getWorksheet(); @@ -1779,6 +1744,10 @@ var editor; if (this.wbModel.DrawingDocument) { this.wbModel.DrawingDocument.CloseFile(); } + + if(this.wb.MobileTouchManager) { + this.wb.MobileTouchManager.Destroy(); + } }; spreadsheet_api.prototype.openDocumentFromZip = function (wb, data) { @@ -6687,6 +6656,8 @@ var editor; }; spreadsheet_api.prototype.asc_nativePrint = function (_printer, _page, _options) { + //calc to fix case where file has formulas with no cache values and no changes + this.wbModel.dependencyFormulas.calcTree(); var _adjustPrint = (window.AscDesktopEditor_PrintOptions && window.AscDesktopEditor_PrintOptions.advancedOptions) || new Asc.asc_CAdjustPrint(); window.AscDesktopEditor_PrintOptions = undefined; @@ -8909,6 +8880,44 @@ var editor; }; + spreadsheet_api.prototype.asc_TracePrecedents = function() { + if (this.collaborativeEditing.getGlobalLock() || !this.canEdit()) { + return; + } + let wb = this.wb; + if (!wb) { + return; + } + let ws = wb.getWorksheet(); + return ws.tracePrecedents(); + }; + + spreadsheet_api.prototype.asc_TraceDependents = function() { + if (this.collaborativeEditing.getGlobalLock() || !this.canEdit()) { + return; + } + let wb = this.wb; + if (!wb) { + return; + } + let ws = wb.getWorksheet(); + return ws.traceDependents(); + }; + + spreadsheet_api.prototype.asc_RemoveTraceArrows = function(type) { + if (this.collaborativeEditing.getGlobalLock() || !this.canEdit()) { + return; + } + let wb = this.wb; + if (!wb) { + return; + } + let ws = wb.getWorksheet(); + return ws.removeTraceArrows(type); + }; + + + /* * Export * ----------------------------------------------------------------------------- @@ -9073,6 +9082,7 @@ var editor; prot["asc_setDisplayHeadings"] = prot.asc_setDisplayHeadings; prot["asc_setShowZeros"] = prot.asc_setShowZeros; prot["asc_setShowFormulas"] = prot.asc_setShowFormulas; + prot["asc_getShowFormulas"] = prot.asc_getShowFormulas; // Defined Names @@ -9474,6 +9484,9 @@ var editor; prot["asc_GetSheetViewType"] = prot.asc_GetSheetViewType; prot["asc_ChangeTextCase"] = prot.asc_ChangeTextCase; + prot["asc_TracePrecedents"] = prot.asc_TracePrecedents; + prot["asc_TraceDependents"] = prot.asc_TraceDependents; + prot["asc_RemoveTraceArrows"] = prot.asc_RemoveTraceArrows; prot["asc_InsertPageBreak"] = prot.asc_InsertPageBreak; prot["asc_RemovePageBreak"] = prot.asc_RemovePageBreak; diff --git a/cell/apiDefines.js b/cell/apiDefines.js index aafe2f4987..3d8425888b 100644 --- a/cell/apiDefines.js +++ b/cell/apiDefines.js @@ -581,6 +581,12 @@ var c_oAscPopUpSelectorType = { }; + var c_oAscRemoveArrowsType = { + all: 0, + precedent: 1, + dependent: 2 + }; + //----------------------------------------------------------export---------------------------------------------------- window['AscCommonExcel'] = window['AscCommonExcel'] || {}; window['AscCommonExcel'].c_oAscDrawDepOptions = c_oAscDrawDepOptions; @@ -983,6 +989,11 @@ var c_oAscPopUpSelectorType = { prot['all'] = prot.all; prot['insertRemove'] = prot.insertRemove; prot['reset'] = prot.reset; + window['Asc']['c_oAscRemoveArrowsType'] = window['Asc'].c_oAscRemoveArrowsType = c_oAscRemoveArrowsType; + prot = c_oAscRemoveArrowsType; + prot['all'] = prot.all; + prot['precedent'] = prot.precedent; + prot['dependent'] = prot.dependent; })(window); diff --git a/cell/model/FormulaObjects/dateandtimeFunctions.js b/cell/model/FormulaObjects/dateandtimeFunctions.js index 1db300f7bd..31b1d2c5a0 100644 --- a/cell/model/FormulaObjects/dateandtimeFunctions.js +++ b/cell/model/FormulaObjects/dateandtimeFunctions.js @@ -1957,7 +1957,7 @@ } return new cNumber( - weekday[new cDate((arg0.getValue() - (AscCommonExcel.c_DateCorrectConst + 1)) * c_msPerDay).getUTCDay()]); + weekday[new cDate((arg0.getValue() - (AscCommonExcel.c_DateCorrectConst + (AscCommon.bDate1904 ? 0 : 1))) * c_msPerDay).getUTCDay()]); }; /** diff --git a/cell/model/FormulaObjects/parserFormula.js b/cell/model/FormulaObjects/parserFormula.js index 10cf67900c..882386111a 100644 --- a/cell/model/FormulaObjects/parserFormula.js +++ b/cell/model/FormulaObjects/parserFormula.js @@ -1197,16 +1197,16 @@ parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSepara if (!emptyReplaceOn) { emptyReplaceOn = new cEmpty(); } - let elem; for (let i = bbox.r1; i <= Math.min(bbox.r2, maxRowCount != null ? bbox.r1 + maxRowCount : bbox.r2); i++) { if ( !arr.array[i - bbox.r1] ) { arr.addRow(); } for (let j = bbox.c1; j <= Math.min(bbox.c2, maxColCount != null ? bbox.c1 + maxColCount : bbox.c2); j++) { + let elem = null; if (elemsNoEmpty && elemsNoEmpty[i - bbox.r1] && elemsNoEmpty[i - bbox.r1][j - bbox.c1]) { elem = elemsNoEmpty[i - bbox.r1][j - bbox.c1]; } - if (!elem || elem.type === cElementType.empty) { + if (elem === null || elem.type === cElementType.empty) { elem = emptyReplaceOn; } @@ -1605,16 +1605,16 @@ parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSepara if (!emptyReplaceOn) { emptyReplaceOn = new cEmpty(); } - let elem; for (let i = bbox.r1; i <= Math.min(bbox.r2, maxRowCount != null ? bbox.r1 + maxRowCount : bbox.r2); i++) { if (!arr.array[i - bbox.r1]) { arr.addRow(); } for (let j = bbox.c1; j <= Math.min(bbox.c2, maxColCount != null ? bbox.c1 + maxColCount : bbox.c2); j++) { + let elem = null; if (elemsNoEmpty && elemsNoEmpty[0] && elemsNoEmpty[0][i - bbox.r1] && elemsNoEmpty[0][i - bbox.r1][j - bbox.c1]) { elem = elemsNoEmpty[0][i - bbox.r1][j - bbox.c1]; } - if (!elem || elem.type === cElementType.empty) { + if (elem === null || elem.type === cElementType.empty) { elem = emptyReplaceOn; } diff --git a/cell/model/FormulaObjects/textanddataFunctions.js b/cell/model/FormulaObjects/textanddataFunctions.js index 9284878b28..f2098a0f35 100644 --- a/cell/model/FormulaObjects/textanddataFunctions.js +++ b/cell/model/FormulaObjects/textanddataFunctions.js @@ -2433,7 +2433,7 @@ function (window, undefined) { cTEXTBEFORE.prototype.argumentsMin = 2; cTEXTBEFORE.prototype.argumentsMax = 6; cTEXTBEFORE.prototype.numFormat = AscCommonExcel.cNumFormatNone; - cTEXTBEFORE.prototype.argumentsType = [argType.text, argType.text, argType.number, argType.number, argType.number, argType.any]; + cTEXTBEFORE.prototype.argumentsType = [argType.text, argType.text, argType.number, argType.logical, argType.logical, argType.any]; cTEXTBEFORE.prototype.isXLFN = true; cTEXTBEFORE.prototype.arrayIndexes = {1: 1}; cTEXTBEFORE.prototype.Calculate = function (arg) { @@ -2454,7 +2454,7 @@ function (window, undefined) { cTEXTAFTER.prototype.argumentsMin = 2; cTEXTAFTER.prototype.argumentsMax = 6; cTEXTAFTER.prototype.numFormat = AscCommonExcel.cNumFormatNone; - cTEXTAFTER.prototype.argumentsType = [argType.text, argType.text, argType.number, argType.number, argType.number, argType.any]; + cTEXTAFTER.prototype.argumentsType = [argType.text, argType.text, argType.number, argType.logical, argType.logical, argType.any]; cTEXTAFTER.prototype.isXLFN = true; cTEXTAFTER.prototype.arrayIndexes = {1: 1}; cTEXTAFTER.prototype.Calculate = function (arg) { diff --git a/cell/model/FormulaObjects/traceDependents.js b/cell/model/FormulaObjects/traceDependents.js new file mode 100644 index 0000000000..717747f12e --- /dev/null +++ b/cell/model/FormulaObjects/traceDependents.js @@ -0,0 +1,1273 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; +(/** + * @param {Window} window + * @param {undefined} undefined + */ +function (window, undefined) { + + /* + * Import + * ----------------------------------------------------------------------------- + */ + let asc = window["Asc"]; + + let asc_Range = asc.Range; + let cElementType = AscCommonExcel.cElementType; + + function TraceDependentsManager(ws) { + this.ws = ws; + this.precedents = null; + this.precedentsExternal = null; + this.dependents = null; + this.isDependetsCall = null; + this.inLoop = null; + this.isPrecedentsCall = null; + this.precedentsAreas = null; + this.precedentsAreasHeaders = null; + this.data = { + referenceMaxLevel: Math.pow(100, 10), + lastHeaderIndex: -1, + prevIndex: -1, + recLevel: 0, + maxRecLevel: 0, + indices: { + // cellIndex[From]: cellIndex[To]: recLevel + } + }; + this.currentCalculatedPrecedentAreas = { + // rangeName: { + // inProgress: null, + // isCalculated: null + // } + }; + } + + TraceDependentsManager.prototype.setPrecedentsCall = function () { + this.isPrecedentsCall = true; + this.isDependetsCall = false; + }; + TraceDependentsManager.prototype.setDependentsCall = function () { + this.isDependetsCall = true; + this.isPrecedentsCall = false; + }; + TraceDependentsManager.prototype.setPrecedentExternal = function (cellIndex) { + if (!this.precedentsExternal) { + this.precedentsExternal = new Set(); + } + this.precedentsExternal.add(cellIndex); + }; + TraceDependentsManager.prototype.checkPrecedentExternal = function (cellIndex) { + if (!this.precedentsExternal) { + return false; + } + return this.precedentsExternal.has(cellIndex); + }; + TraceDependentsManager.prototype.checkCircularReference = function (cellIndex, isDependentCall) { + if (this.dependents && this.dependents[cellIndex] && this.precedents && this.precedents[cellIndex]) { + if (isDependentCall) { + for (let i in this.dependents[cellIndex]) { + if (this._getDependents(i, cellIndex) && this._getDependents(cellIndex, i)) { + return true; + } + } + } else { + for (let i in this.precedents) { + if (this._getPrecedents(i, cellIndex) && this._getPrecedents(cellIndex, i)) { + return true; + } + } + } + } + }; + TraceDependentsManager.prototype.clearLastDependent = function (row, col) { + let ws = this.ws && this.ws.model; + if (!ws || !this.dependents) { + return; + } + if (Object.keys(this.dependents).length === 0) { + return; + } + + const t = this; + if (row == null || col == null) { + let selection = ws.getSelection(); + let activeCell = selection.activeCell; + row = activeCell.row; + col = activeCell.col; + } + + const findMaxNesting = function (row, col) { + let currentCellIndex = AscCommonExcel.getCellIndex(row, col); + + if (t.data.prevIndex !== -1 && t.data.indices[t.data.prevIndex] && t.data.indices[t.data.prevIndex][currentCellIndex]) { + return; + } + if (t.dependents[currentCellIndex]) { + if (checkCircularReference(currentCellIndex)) { + return; + } + + let interLevel, fork; + if (Object.keys(t.dependents[currentCellIndex]).length > 1) { + fork = true; + } + + t.data.recLevel++; + t.data.maxRecLevel = t.data.recLevel > t.data.maxRecLevel ? t.data.recLevel : t.data.maxRecLevel; + interLevel = t.data.recLevel; + for (let j in t.dependents[currentCellIndex]) { + t.data.prevIndex = currentCellIndex; + if (j.includes(";")) { + // [fromCurrent][toExternal] + if (!t.data.indices[currentCellIndex]) { + t.data.indices[currentCellIndex] = {}; + } + t.data.indices[currentCellIndex][j] = t.data.recLevel; + continue; + } + let coords = AscCommonExcel.getFromCellIndex(j, true); + findMaxNesting(coords.row, coords.col); + t.data.recLevel = fork ? interLevel : t.data.recLevel; + } + } else { + if (!t.data.indices[t.data.prevIndex]) { + t.data.indices[t.data.prevIndex] = {}; + } + t.data.indices[t.data.prevIndex][currentCellIndex] = t.data.recLevel; // [from][to] + } + }; + const checkCircularReference = function (index) { + for (let i in t.dependents[index]) { + if (t._getDependents(index, i) && t._getDependents(i, index)) { + let related = index + "|" + i; + t.data.recLevel = t.data.referenceMaxLevel; + t.data.maxRecLevel = t.data.recLevel; + t.data.indices[related] = t.data.recLevel; + return true; + } + } + }; + + findMaxNesting(row, col); + const maxLevel = this.data.maxRecLevel; + if (maxLevel === 0) { + this._setDefaultData(); + return; + } else if (maxLevel === t.data.referenceMaxLevel) { + // TODO improve check of cyclic references + // temporary solution: now, when finding cyclic dependencies, the maximum nesting number(100^10) is set for them and only they are will be initially removed + for (let i in this.data.indices) { + if (this.data.indices[i] === maxLevel) { + let val = i.split("|"); + this._deleteDependent(val[0], val[1]); + this._deletePrecedent(val[0], val[1]); + this._deleteDependent(val[1], val[0]); + this._deletePrecedent(val[1], val[0]); + } + } + } + + for (let index in this.data.indices) { + for (let i in this.data.indices[index]) { + if (this.data.indices[index][i] === maxLevel) { + this._deletePrecedent(i, index); + this._deleteDependent(index, i); + } + } + } + + this._setDefaultData(); + }; + TraceDependentsManager.prototype.calculateDependents = function (row, col) { + let ws = this.ws && this.ws.model; + if (!ws) { + return; + } + if (row == null || col == null) { + let selection = ws.getSelection(); + let activeCell = selection.activeCell; + row = activeCell.row; + col = activeCell.col; + let mergedRange = ws.getMergedByCell(row, col); + if (mergedRange) { + row = mergedRange.r1; + col = mergedRange.c1; + } + } + + let depFormulas = ws.workbook.dependencyFormulas; + if (depFormulas && depFormulas.sheetListeners) { + if (!this.dependents) { + this.dependents = {}; + } + + let sheetListeners = depFormulas.sheetListeners; + let curListener = sheetListeners[ws.Id]; + let cellIndex = AscCommonExcel.getCellIndex(row, col); + this._calculateDependents(cellIndex, curListener); + this.setDependentsCall(); + } + }; + TraceDependentsManager.prototype._calculateDependents = function (cellIndex, curListener, isSecondCall) { + let t = this; + let ws = this.ws.model; + let wb = this.ws.model.workbook; + let dependencyFormulas = wb.dependencyFormulas; + let allDefNamesListeners = dependencyFormulas.defNameListeners; + let cellAddress = AscCommonExcel.getFromCellIndex(cellIndex, true); + + const findCellListeners = function () { + const listeners = {}; + if (curListener && curListener.areaMap) { + for (let j in curListener.areaMap) { + if (curListener.areaMap.hasOwnProperty(j)) { + if (curListener.areaMap[j] && curListener.areaMap[j].bbox.contains(cellAddress.col, cellAddress.row)) { + Object.assign(listeners, curListener.areaMap[j].listeners); + } + } + } + } + if (curListener && curListener.cellMap && curListener.cellMap[cellIndex]) { + if (Object.keys(curListener.cellMap[cellIndex]).length > 0) { + Object.assign(listeners, curListener.cellMap[cellIndex].listeners); + } + } + if (curListener && curListener.defName3d) { + Object.assign(listeners, curListener.defName3d); + } + return listeners; + }; + const checkIfHeader = function (tableHeader) { + if (!tableHeader) { + return false; + } + + return tableHeader.col === cellAddress.col && tableHeader.row === cellAddress.row; + }; + const getTableHeader = function (table) { + if (!table.Ref) { + return false; + } + + return {col: table.Ref.c1, row: table.Ref.r1}; + }; + const setDefNameIndexes = function (defName, isTable) { + let tableHeader = isTable ? getTableHeader(ws.getTableByName(defName)) : false; + let isCurrentCellHeader = isTable ? checkIfHeader(tableHeader) : false; + for (const i in allDefNamesListeners) { + if (allDefNamesListeners.hasOwnProperty(i) && i.toLowerCase() === defName.toLowerCase()) { + for (const listener in allDefNamesListeners[i].listeners) { + // TODO возможно стоить добавить все слушатели сразу в curListener + let elem = allDefNamesListeners[i].listeners[listener]; + let isArea = elem.ref ? !elem.ref.isOneCell() : false; + let is3D = elem.ws.Id ? elem.ws.Id !== ws.Id : false; + if (isArea && !is3D && !isCurrentCellHeader) { + // decompose all elements into dependencies + let areaIndexes = getAllAreaIndexes(elem); + if (areaIndexes) { + for (let index of areaIndexes) { + t._setDependents(cellIndex, index); + t._setPrecedents(index, cellIndex); + } + continue; + } + } + let parentCellIndex = getParentIndex(elem.parent); + if (!parentCellIndex) { + continue; + } + + if (isTable) { + // check Headers + // if current header and listener is header, make trace only with header + // check if current cell header or not + if (elem.Formula.includes("Headers")) { + if (isCurrentCellHeader) { + t._setDependents(cellIndex, parentCellIndex); + t._setPrecedents(parentCellIndex, cellIndex); + } else { + continue; + } + // continue; + } else if (!elem.Formula.includes("Headers") && isCurrentCellHeader) { + continue; + } + // ?additional check if the listener is in the same table, need to check if it is a listener of the main cell + if (elem.outStack) { + let arr = []; + // check each element of the stack for an occurrence in the original cell + for (let table in elem.outStack) { + if (elem.outStack[table].type !== cElementType.table) { + continue; + } + + let bbox = elem.outStack[table].area.bbox ? elem.outStack[table].area.bbox : (elem.outStack[table].area.range.bbox ? elem.outStack[table].area.range.bbox : null); + + if (bbox) { + arr.push(bbox.contains2(cellAddress)); + } + } + if (!arr.includes(true)) { + continue; + } + } + + // shared checks + if (elem.shared !== null && !is3D) { + let currentCellRange = ws.getCell3(cellAddress.row, cellAddress.col); + setSharedTableIntersection(ws.getTableByName(defName).getRangeWithoutHeaderFooter(), currentCellRange, elem.shared); + continue; + } + t._setDependents(cellIndex, parentCellIndex); + t._setPrecedents(parentCellIndex, cellIndex); + } else { + t._setDependents(cellIndex, parentCellIndex); + t._setPrecedents(parentCellIndex, cellIndex); + } + } + } + } + }; + const getAllAreaIndexes = function (parserFormula) { + const indexes = [], range = parserFormula.ref; + if (!range) { + return; + } + for (let i = range.c1; i <= range.c2; i++) { + for (let j = range.r1; j <= range.r2; j++) { + let index = AscCommonExcel.getCellIndex(j, i); + indexes.push(index); + } + } + + return indexes; + }; + const getParentIndex = function (_parent) { + let _parentCellIndex = AscCommonExcel.getCellIndex(_parent.nRow, _parent.nCol); + //parent -> cell/defname + if (_parent.parsedRef/*parent instanceof AscCommonExcel.DefName*/) { + _parentCellIndex = null; + } else if (_parent.ws !== t.ws.model) { + _parentCellIndex += ";" + _parent.ws.index; + } + return _parentCellIndex; + }; + const setSharedIntersection = function (currentRange, shared) { + // get the cell is contained in one of the areaMap + // if contain, call getSharedIntersect with currentRange whom contain cell and sharedRange + if (curListener && curListener.areaMap) { + for (let j in curListener.areaMap) { + if (curListener.areaMap.hasOwnProperty(j)) { + if (curListener.areaMap[j] && curListener.areaMap[j].bbox.contains(cellAddress.col, cellAddress.row)) { + let res = curListener.areaMap[j].bbox.getSharedIntersect(shared.ref, currentRange.bbox); + // draw dependents to coords from res + if (res && (res.r1 === res.r2 && res.c1 === res.c2)) { + let index = AscCommonExcel.getCellIndex(res.r1, res.c1); + t._setDependents(cellIndex, index); + t._setPrecedents(index, cellIndex); + } + } + } + } + } + }; + const setSharedTableIntersection = function (currentRange, currentCellRange, shared) { + // row mode || col mode + let isRowMode = currentRange.r1 === currentRange.r2, + isColumnMode = currentRange.c1 === currentRange.c2, res, tempRange; + + if (isColumnMode && currentRange.r2 > shared.ref.r2) { + if (!shared.ref.containsRow(currentCellRange.bbox.r2)) { + return + } + if (currentCellRange.r2 > shared.ref.r2) { + return; + } + // do check with rest of the currentRange + tempRange = new asc_Range(currentRange.c1, currentRange.r1, currentRange.c2, shared.ref.r2); + } else if (isRowMode && currentRange.c2 > shared.ref.c2) { + // contains + if (!shared.ref.containsCol(currentCellRange.bbox.c2)) { + return + } + if (currentCellRange.c2 > shared.ref.c2) { + return; + } + tempRange = new asc_Range(currentRange.c1, currentRange.r1, shared.ref.c2, currentRange.r2); + } + + if (tempRange) { + res = tempRange.getSharedIntersect(shared.ref, currentCellRange.bbox); + } + + res = !res ? currentRange.getSharedIntersect(shared.ref, currentCellRange.bbox) : res; + + if (res && (res.r1 === res.r2 && res.c1 === res.c2)) { + let index = AscCommonExcel.getCellIndex(res.r1, res.c1); + t._setDependents(cellIndex, index); + t._setPrecedents(index, cellIndex); + } else { + // split shared range on two parts + let split = currentRange.difference(shared.ref); + + if (split.length > 1) { + // first part + res = currentRange.getSharedIntersect(split[0], currentCellRange.bbox); + if (res && (res.r1 === res.r2 && res.c1 === res.c2)) { + let index = AscCommonExcel.getCellIndex(res.r1, res.c1); + t._setDependents(cellIndex, index); + t._setPrecedents(index, cellIndex); + } + + // second part + if (split[1]) { + let range = split[1], indexes = []; + for (let col = range.c1; col <= range.c2; col++) { + for (let row = range.r1; row <= range.r2; row++) { + let index = AscCommonExcel.getCellIndex(row, col); + indexes.push(index); + } + } + if (indexes.length > 0) { + for (let index of indexes) { + t._setDependents(cellIndex, index); + t._setPrecedents(index, cellIndex); + } + } + } + } + } + }; + + const cellListeners = findCellListeners(); + if (cellListeners && Object.keys(cellListeners).length > 0) { + if (!this.dependents) { + this.dependents = {}; + } + if (!this.dependents[cellIndex]) { + // if dependents by cellIndex didn't exist, create it + this.dependents[cellIndex] = {}; + for (let i in cellListeners) { + if (cellListeners.hasOwnProperty(i)) { + let parent = cellListeners[i].parent; + let parentWsId = parent.ws ? parent.ws.Id : null; + let isTable = parent.parsedRef ? parent.parsedRef.isTable : false; + let isDefName = !!parent.name; + let formula = cellListeners[i].Formula; + let is3D = false; + const parentInfo = { + parent, + parentWsId, + isTable, + isDefName + }; + + if (isDefName) { + // TODO check external table ref + setDefNameIndexes(parent.name, isTable); + continue; + } else if (cellListeners[i].is3D) { + is3D = true; + } + + if (cellListeners[i].shared !== null && !is3D) { + // can be shared ref in otheer sheet + let shared = cellListeners[i].getShared(); + let currentCellRange = ws.getCell3(cellAddress.row, cellAddress.col); + setSharedIntersection(currentCellRange, shared); + continue; + } + + if (formula.includes(":") && !is3D) { + // call splitAreaListeners which return cellIndexes of each element(this will be parentCellIndex) + // go through the values and set dependents for each + let areaIndexes = getAllAreaIndexes(cellListeners[i]); + if (areaIndexes) { + for (let index of areaIndexes) { + this._setDependents(cellIndex, index); + this._setPrecedents(index, cellIndex); + } + continue; + } + } + let parentCellIndex = getParentIndex(parent); + + if (parentCellIndex === null || (typeof(parentCellIndex) === "number" && isNaN(parentCellIndex))) { + continue; + } + this._setDependents(cellIndex, parentCellIndex); + this._setPrecedents(parentCellIndex, cellIndex, true); + } + } + if (Object.keys(this.dependents[cellIndex]).length === 0) { + delete this.dependents[cellIndex]; + } + } else { + if (this.checkCircularReference(cellIndex, true)) { + return; + } + // if dependents by cellIndex aldready exist, check current tree + let currentIndex = Object.keys(this.dependents[cellIndex])[0]; + let isUpdated = false; + for (let i in cellListeners) { + if (cellListeners.hasOwnProperty(i)) { + let parent = cellListeners[i].parent, + elemCellIndex = cellListeners[i].shared !== null ? currentIndex : getParentIndex(parent), + formula = cellListeners[i].Formula; + + if (parent.name) { + continue; + } + + if (formula.includes(":") && !cellListeners[i].is3D) { + // call getAllAreaIndexes which return cellIndexes of each element(this will be parentCellIndex) + let areaIndexes = getAllAreaIndexes(cellListeners[i]); + if (areaIndexes) { + // go through the values and set dependents for each + for (let index of areaIndexes) { + this._setDependents(cellIndex, index); + } + continue; + } + } + + // if the child cell does not yet have a dependency with listeners, create it + if (!this._getDependents(cellIndex, elemCellIndex)) { + this._setDependents(cellIndex, elemCellIndex); + isUpdated = true; + } + } + } + + if (!isUpdated) { + for (let i in this.dependents[cellIndex]) { + if (this.dependents[cellIndex].hasOwnProperty(i)) { + this._calculateDependents(i, curListener, true); + } + } + } + } + } else if (!isSecondCall) { + this.ws.workbook.handlers.trigger("asc_onError", c_oAscError.ID.TraceDependentsNoFormulas, c_oAscError.Level.NoCritical); + } + }; + TraceDependentsManager.prototype._getDependents = function (from, to) { + return this.dependents[from] && this.dependents[from][to]; + }; + TraceDependentsManager.prototype._setDependents = function (from, to) { + if (!this.dependents) { + this.dependents = {}; + } + if (!this.dependents[from]) { + this.dependents[from] = {}; + } + this.dependents[from][to] = 1; + }; + TraceDependentsManager.prototype._setDefaultData = function () { + this.data = { + referenceMaxLevel: Math.pow(100, 10), + recLevel: 0, + maxRecLevel: 0, + lastHeaderIndex: -1, + prevIndex: -1, + indices: {} + }; + }; + TraceDependentsManager.prototype.clearLastPrecedent = function (row, col) { + let ws = this.ws && this.ws.model; + if (!ws || !this.precedents) { + return; + } + if (Object.keys(this.precedents).length === 0) { + return; + } + + const t = this; + + // TODO merged range + if (row == null || col == null) { + let selection = ws.getSelection(); + let activeCell = selection.activeCell; + row = activeCell.row; + col = activeCell.col; + } + + const checkCircularReference = function (index) { + for (let i in t.precedents[index]) { + if (t._getPrecedents(index, i) && t._getPrecedents(i, index)) { + let related = index + "|" + i; + t.data.recLevel = t.data.referenceMaxLevel; + t.data.maxRecLevel = t.data.recLevel; + t.data.indices[related] = t.data.recLevel; + return true; + } + } + }; + const checkIfHeader = function (cellIndex) { + if (!t.precedentsAreas || !t.precedentsAreasHeaders) { + return; + } + if (t.precedentsAreasHeaders[cellIndex]) { + return true; + } + }; + const getAllAreaIndexes = function (areas, areaName) { + const indexes = []; + if (!areas) { + return; + } + + let area = areas[areaName]; + for (let i = area.range.r1; i <= area.range.r2; i++) { + for (let j = area.range.c1; j <= area.range.c2; j++) { + let index = AscCommonExcel.getCellIndex(i, j); + indexes.push(index); + } + } + return indexes; + }; + const findMaxNesting = function (row, col, callFromArea) { + let currentCellIndex = AscCommonExcel.getCellIndex(row, col); + if (t.data.indices[currentCellIndex] && t.data.indices[currentCellIndex][t.data.prevIndex]) { + t.data.indices[currentCellIndex][t.data.prevIndex] = t.data.recLevel; + return; + } + + let ifHeader, interLevel, fork; + if (t.data.recLevel > 0 && t.data.lastHeaderIndex !== currentCellIndex) { + // checking if a cell is a table header + ifHeader = callFromArea ? false : checkIfHeader(currentCellIndex); + + if (!t.precedents[currentCellIndex] && !ifHeader) { + if (!t.data.indices[t.data.prevIndex]) { + t.data.indices[t.data.prevIndex] = {}; + } + t.data.indices[t.data.prevIndex][currentCellIndex] = t.data.recLevel; // [from][to] format + return; + } + } + + if (ifHeader) { + // go through area + let areaName = t.precedentsAreasHeaders[currentCellIndex]; + let areaIndexes = getAllAreaIndexes(t.precedentsAreas, areaName); + + if (areaIndexes.length > 0) { + fork = true; + interLevel = t.data.recLevel; + for (let index of areaIndexes) { + let cellAddress = AscCommonExcel.getFromCellIndex(index, true); + if (index === currentCellIndex) { + t.data.lastHeaderIndex = index; + } + if (!t.precedents[index] && index !== currentCellIndex) { + continue; + } + findMaxNesting(cellAddress.row, cellAddress.col, true); + t.data.recLevel = fork ? interLevel : t.data.recLevel; + } + } + } else if (t.precedents[currentCellIndex]) { + if (checkCircularReference(currentCellIndex)) { + return; + } + if (Object.keys(t.precedents[currentCellIndex]).length > 1) { + fork = true; + } + + t.data.recLevel++; + t.data.maxRecLevel = t.data.recLevel > t.data.maxRecLevel ? t.data.recLevel : t.data.maxRecLevel; + interLevel = t.data.recLevel; + for (let j in t.precedents[currentCellIndex]) { + t.data.prevIndex = currentCellIndex; + if (j.includes(";")) { + // [fromCurrent][toExternal] + if (!t.data.indices[currentCellIndex]) { + t.data.indices[currentCellIndex] = {}; + } + t.data.indices[currentCellIndex][j] = t.data.recLevel; + continue; + } + let coords = AscCommonExcel.getFromCellIndex(j, true); + findMaxNesting(coords.row, coords.col); + t.data.recLevel = fork ? interLevel : t.data.recLevel; + } + } else { + if (!t.data.indices[t.data.prevIndex]) { + t.data.indices[t.data.prevIndex] = {}; + } + // [from][to] + t.data.indices[t.data.prevIndex][currentCellIndex] = t.data.recLevel; + } + }; + findMaxNesting(row, col); + const maxLevel = this.data.maxRecLevel; + if (maxLevel === 0) { + this._setDefaultData(); + return; + } + // TODO improve check of cyclic references + // temporary solution: now, when finding cyclic dependencies, the maximum nesting number(100^10) is set for them and only they are will be initially removed + else if (maxLevel === t.data.referenceMaxLevel) { + for (let i in this.data.indices) { + if (this.data.indices[i] === maxLevel) { + let val = i.split("|"); + this._deleteDependent(val[0], val[1]); + this._deletePrecedent(val[0], val[1]); + this._deleteDependent(val[1], val[0]); + this._deletePrecedent(val[1], val[0]); + } + } + } + + for (let index in this.data.indices) { + for (let i in this.data.indices[index]) { + if (this.data.indices[index][i] === maxLevel) { + this._deletePrecedent(index, i); + this._deleteDependent(i, index); + } + } + } + this.checkAreas(); + this._setDefaultData(); + }; + TraceDependentsManager.prototype.calculatePrecedents = function (row, col, isSecondCall, callFromArea) { + //depend from row/col cell + let ws = this.ws && this.ws.model; + if (!ws) { + return; + } + const t = this; + if (row == null || col == null) { + // if first call, create/clear object with calculated areas + this.currentCalculatedPrecedentAreas = {}; + + let selection = ws.getSelection(); + let activeCell = selection.activeCell; + row = activeCell.row; + col = activeCell.col; + let mergedRange = ws.getMergedByCell(row, col); + if (mergedRange) { + row = mergedRange.r1; + col = mergedRange.c1; + } + } + + const cellIndex = AscCommonExcel.getCellIndex(row, col); + const getAllAreaIndexesWithFormula = function (areas, areaName) { + const indexes = []; + if (!areas) { + return; + } + + let area = areas[areaName]; + // if (area.isCalculated) { + // return indexes; + // } + + for (let i = area.range.r1; i <= area.range.r2; i++) { + for (let j = area.range.c1; j <= area.range.c2; j++) { + // ??? check parserFormula and return indexes only with it + if (!ws.getCell3(i, j).isFormula()) { + continue; + } + let index = AscCommonExcel.getCellIndex(i, j); + indexes.push(index); + } + } + + area.isCalculated = true; + return indexes; + }; + const isCellAreaHeader = function (cellIndex) { + if (!t.precedentsAreas || !t.precedentsAreasHeaders) { + return; + } + if (t.precedentsAreasHeaders[cellIndex]) { + return true; + } + }; + + let formulaParsed; + ws.getCell3(row, col)._foreachNoEmpty(function (cell) { + formulaParsed = cell.formulaParsed; + }); + + // TODO another way to check table + let isAreaHeader = callFromArea ? false : isCellAreaHeader(cellIndex); + if (this.precedentsAreas && isSecondCall && isAreaHeader) { + // calculate all precedents in areas + let areaName = this.precedentsAreasHeaders[cellIndex]; + let areaIndexes = getAllAreaIndexesWithFormula(this.precedentsAreas, areaName); + + if (!this.currentCalculatedPrecedentAreas[areaName]) { + this.currentCalculatedPrecedentAreas[areaName] = {}; + // go through the values and check precedents for each + for (let index of areaIndexes) { + let cellAddress = AscCommonExcel.getFromCellIndex(index, true); + // if (!ws.getCell3(cellAddress.row, cellAddress.col).isFormula()) { + // continue; + // } + this.calculatePrecedents(cellAddress.row, cellAddress.col, null, true); + } + } + } else if (formulaParsed) { + this._calculatePrecedents(formulaParsed, row, col, isSecondCall); + this.setPrecedentsCall(); + } else if (!isSecondCall) { + this.ws.workbook.handlers.trigger("asc_onError", c_oAscError.ID.TracePrecedentsNoValidReference, c_oAscError.Level.NoCritical); + } + }; + TraceDependentsManager.prototype._calculatePrecedents = function (formulaParsed, row, col, isSecondCall) { + if (!this.precedents) { + this.precedents = {}; + } + let t = this; + let currentCellIndex = AscCommonExcel.getCellIndex(row, col); + let isHaveUnrecorded = this.isCellHaveUnrecordedTraces(currentCellIndex, formulaParsed); + + if (isHaveUnrecorded) { + // if (!this.precedents[currentCellIndex]) { + let shared, base; + if (formulaParsed.shared !== null) { + shared = formulaParsed.getShared(); + base = shared.base; // base index - where shared formula start + } + + if (formulaParsed.outStack) { + let currentWsIndex = formulaParsed.ws.index; + let ref = formulaParsed.ref; + // iterate and find all reference + for (const elem of formulaParsed.outStack) { + let elemType = elem.type ? elem.type : null; + + let is3D = elemType === cElementType.cell3D || elemType === cElementType.cellsRange3D || elemType === cElementType.name3D, + isArea = elemType === cElementType.cellsRange || elemType === cElementType.name, + isDefName = elemType === cElementType.name || elemType === cElementType.name3D, + isTable = elemType === cElementType.table, areaName; + + if (elemType === cElementType.cell || isArea || is3D || isTable) { + + let cellRange = new asc_Range(col, row, col, row), elemRange, elemCellIndex; + + if (isDefName) { + let elemDefName = elem.getDefName(); + let elemValue = elem.getValue(); + let defNameParentWsIndex = elemDefName.parsedRef.outStack[0].wsFrom ? elemDefName.parsedRef.outStack[0].wsFrom.index : (elemDefName.parsedRef.outStack[0].ws ? elemDefName.parsedRef.outStack[0].ws.index : null); + elemRange = elemValue.range.bbox ? elemValue.range.bbox : elemValue.bbox; + + if (defNameParentWsIndex && defNameParentWsIndex !== currentWsIndex) { + // 3D + is3D = true; + isArea = false; + } else if (elemRange.isOneCell()) { + isArea = false; + } + } else if (isTable) { + let currentWsId = elem.ws.Id, + elemWsId = elem.area.ws ? elem.area.ws.Id : elem.area.wsFrom.Id; + // elem.area can be cRef and cArea + is3D = currentWsId !== elemWsId; + elemRange = elem.area.bbox ? elem.area.bbox : (elem.area.range ? elem.area.range.bbox : null); + isArea = ref ? true : !elemRange.isOneCell(); + + } else { + elemRange = elem.range.bbox ? elem.range.bbox : elem.bbox; + } + + if (!elemRange) { + return; + } + + if (shared) { + if (isTable) { + let isRowMode = shared.ref.r1 === shared.ref.r2, + isColumnMode = shared.ref.c1 === shared.ref.c2, + diff = []; + + if ((isRowMode && (cellRange.c2 > elemRange.c2)) || (isColumnMode && (cellRange.r2 > elemRange.r2))) { + // regular link to main table + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1, elemRange.c1); + } else { + diff = elemRange.difference(shared.ref); + if (diff.length > 0) { + let res = diff[0].getSharedIntersect(elemRange, cellRange); + if (res && (res.r1 === res.r2 && res.c1 === res.c2)) { + elemCellIndex = AscCommonExcel.getCellIndex(res.r1, res.c1); + } else { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1 + (row - base.nRow), elemRange.c1 + (col - base.nCol)); + } + } + } + } else { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1 + (row - base.nRow), elemRange.c1 + (col - base.nCol)); + } + } else { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1, elemRange.c1); + } + + // cross check for cell + if (isArea && !ref && !is3D) { + if (elemRange.getWidth() > 1 && elemRange.getHeight() <= 1) { + // check cols + if (elemRange.containsCol(col)) { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1, col); + isArea = false; + } + } else if (elemRange.getWidth() <= 1 && elemRange.getHeight() > 1) { + // check rows + if (elemRange.containsRow(row)) { + elemCellIndex = AscCommonExcel.getCellIndex(row, elemRange.c1); + isArea = false; + } + } else { + isArea = true; + } + } + + // if the area is on the same sheet - write to the array of areas for drawing + if (isArea && !is3D) { + let copyRange = elemRange.clone(); + if (shared && !isTable) { + const offset = { + row: row - base.nRow, + col: col - base.nCol + }; + // set offset according to base shift + copyRange.setOffset(offset); + } + const areaRange = {}; + areaName = copyRange.getName(); // areaName - unique key for areaRange + areaRange[areaName] = {}; + areaRange[areaName].range = copyRange; + areaRange[areaName].isCalculated = null; + areaRange[areaName].areaHeader = elemCellIndex; + + this._setPrecedentsAreas(areaRange); + } + + if (is3D) { + // TODO другой механизм отрисовки для внешних precedents + elemCellIndex += ";" + (elem.wsTo ? elem.wsTo.index : elem.ws.index); + this._setDependents(elemCellIndex, currentCellIndex); + this._setPrecedents(currentCellIndex, elemCellIndex); + this.setPrecedentExternal(currentCellIndex); + } else { + this._setPrecedents(currentCellIndex, elemCellIndex, false, false); + this._setDependents(elemCellIndex, currentCellIndex); + if (areaName) { + this._setPrecedentsAreaHeader(elemCellIndex, areaName); + } + } + } + } + } + } else { + if (this.checkCircularReference(currentCellIndex, false)) { + return; + } + this.setPrecedentsLoop(true); + let isHavePrecedents = false; + // check first level, then if function return false, check second, third and so on + for (let i in this.precedents[currentCellIndex]) { + let coords = AscCommonExcel.getFromCellIndex(i, true); + this.calculatePrecedents(coords.row, coords.col, true); + isHavePrecedents = true; + } + + if (!isHavePrecedents && !isSecondCall) { + this.ws.workbook.handlers.trigger("asc_onError", c_oAscError.ID.TracePrecedentsNoValidReference, c_oAscError.Level.NoCritical); + } + + this.setPrecedentsLoop(false); + } + }; + TraceDependentsManager.prototype.isCellHaveUnrecordedTraces = function (cellIndex, formulaParsed) { + if (formulaParsed && formulaParsed.outStack) { + let currentWsIndex = formulaParsed.ws.index, + ref = formulaParsed.ref, + coords = AscCommonExcel.getFromCellIndex(cellIndex, true), + row = coords.row, col = coords.col, shared, base; + + if (formulaParsed.shared !== null) { + shared = formulaParsed.getShared(); + base = shared.base; + } + + for (const elem of formulaParsed.outStack) { + let elemType = elem.type ? elem.type : null; + + let is3D = elemType === cElementType.cell3D || elemType === cElementType.cellsRange3D || elemType === cElementType.name3D, + isArea = elemType === cElementType.cellsRange || elemType === cElementType.name, + isDefName = elemType === cElementType.name || elemType === cElementType.name3D, + isTable = elemType === cElementType.table; + + if (elemType === cElementType.cell || isArea || is3D || isTable) { + let elemRange, elemCellIndex; + + if (isDefName) { + let elemDefName = elem.getDefName(), + elemValue = elem.getValue(), + defNameParentWsIndex = elemDefName.parsedRef.outStack[0].wsFrom ? elemDefName.parsedRef.outStack[0].wsFrom.index : (elemDefName.parsedRef.outStack[0].ws ? elemDefName.parsedRef.outStack[0].ws.index : null); + + elemRange = elemValue.range.bbox ? elemValue.range.bbox : elemValue.bbox; + + if (defNameParentWsIndex && defNameParentWsIndex !== currentWsIndex) { + is3D = true; + isArea = false; + } else if (elemRange.isOneCell()) { + isArea = false; + } + } else if (isTable) { + let currentWsId = elem.ws.Id, + elemWsId = elem.area.ws ? elem.area.ws.Id : elem.area.wsFrom.Id; + is3D = currentWsId !== elemWsId; + elemRange = elem.area.bbox ? elem.area.bbox : (elem.area.range ? elem.area.range.bbox : null); + } else { + elemRange = elem.range.bbox ? elem.range.bbox : elem.bbox; + } + + if (!elemRange) { + return; + } + + if (shared) { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1 + (row - base.nRow), elemRange.c1 + (col - base.nCol)); + } else { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1, elemRange.c1); + } + + // cross check for cell + if (isArea && !ref && !is3D) { + if (elemRange.getWidth() > 1 && elemRange.getHeight() <= 1) { + // check cols + if (elemRange.containsCol(col)) { + elemCellIndex = AscCommonExcel.getCellIndex(elemRange.r1, col); + isArea = false; + } + } else if (elemRange.getWidth() <= 1 && elemRange.getHeight() > 1) { + // check rows + if (elemRange.containsRow(row)) { + elemCellIndex = AscCommonExcel.getCellIndex(row, elemRange.c1); + isArea = false; + } + } else { + isArea = true; + } + } + + if (is3D) { + elemCellIndex += ";" + (elem.wsTo ? elem.wsTo.index : elem.ws.index); + + } + if (!this._getPrecedents(cellIndex, elemCellIndex)) { + return true; + } + } + } + } + }; + TraceDependentsManager.prototype.setPrecedentsLoop = function (inLoop) { + this.inLoop = inLoop; + }; + TraceDependentsManager.prototype.getPrecedentsLoop = function () { + return this.inLoop; + }; + TraceDependentsManager.prototype._getPrecedents = function (from, to) { + return this.precedents[from] && this.precedents[from][to]; + }; + TraceDependentsManager.prototype._deleteDependent = function (from, to) { + if (this.dependents[from] && this.dependents[from][to]) { + delete this.dependents[from][to]; + if (Object.keys(this.dependents[from]).length === 0) { + delete this.dependents[from]; + } + } + }; + TraceDependentsManager.prototype._deletePrecedentFromArea = function (index) { + if (this.dependents[index] && this.precedents) { + for (let precedentIndex in this.precedents) { + for (let i in this.precedents[precedentIndex]) { + if (i == index) { + this._deleteDependent(index, precedentIndex); + this._deletePrecedent(precedentIndex, index); + } + } + } + } + }; + TraceDependentsManager.prototype._deletePrecedent = function (from, to) { + if (this.precedents[from] && this.precedents[from][to]) { + delete this.precedents[from][to]; + if (Object.keys(this.precedents[from]).length === 0) { + delete this.precedents[from]; + } + } + }; + TraceDependentsManager.prototype._setPrecedents = function (from, to, isDependent, areaName) { + if (!this.precedents) { + this.precedents = {}; + } + if (!this.precedents[from]) { + this.precedents[from] = {}; + } + // TODO calculated: 1, not_calculated: 2 + // TODO isAreaHeader: "A3:B4" + // this.precedents[from][to] = isDependent ? 2 : 1; + this.precedents[from][to] = areaName ? areaName : 1; + }; + TraceDependentsManager.prototype._setPrecedentsAreaHeader = function (headerCellIndex, areaName) { + if (!this.precedentsAreasHeaders) { + this.precedentsAreasHeaders = {}; + } + this.precedentsAreasHeaders[headerCellIndex] = areaName; + }; + TraceDependentsManager.prototype._setPrecedentsAreas = function (area) { + if (!this.precedentsAreas) { + this.precedentsAreas = {}; + } + Object.assign(this.precedentsAreas, area); + }; + TraceDependentsManager.prototype._getPrecedentsAreas = function () { + return this.precedentsAreas; + }; + TraceDependentsManager.prototype.isHaveData = function () { + return this.isHaveDependents() || this.isHavePrecedents(); + }; + TraceDependentsManager.prototype.isHaveDependents = function () { + return !!this.dependents; + }; + TraceDependentsManager.prototype.isHavePrecedents = function () { + return !!this.precedents; + }; + TraceDependentsManager.prototype.forEachDependents = function (callback) { + for (let i in this.dependents) { + callback(i, this.dependents[i], this.isPrecedentsCall); + } + }; + TraceDependentsManager.prototype.forEachExternalPrecedent = function (callback) { + for (let i in this.precedents) { + callback(i); + } + }; + TraceDependentsManager.prototype.clear = function (type) { + if (Asc.c_oAscRemoveArrowsType.all === type) { + this.clearAll(); + } + if (Asc.c_oAscRemoveArrowsType.dependent === type) { + this.clearLastDependent(); + } + if (Asc.c_oAscRemoveArrowsType.precedent === type) { + this.clearLastPrecedent(); + } + }; + TraceDependentsManager.prototype.clearAll = function (needDraw) { + this.precedents = null; + this.precedentsExternal = null; + this.dependents = null; + this.isDependetsCall = null; + this.inLoop = null; + this.isPrecedentsCall = null; + this.precedentsAreas = null; + this.currentCalculatedPrecedentAreas = null; + this.precedentsAreasHeaders = null; + this._setDefaultData(); + + if (needDraw) { + if (this.ws && this.ws.overlayCtx) { + this.ws._drawSelection(); + } + } + }; + TraceDependentsManager.prototype.changeDocument = function (prop, arg1, arg2) { + switch (prop) { + case AscCommonExcel.docChangedType.cellValue: + if (arg1) { + this.clearCellTraces(arg1.nRow, arg1.nCol); + } + break; + case AscCommonExcel.docChangedType.rangeValues: + break; + case AscCommonExcel.docChangedType.sheetContent: + this.clearAll(); + break; + case AscCommonExcel.docChangedType.sheetRemove: + break; + case AscCommonExcel.docChangedType.sheetRename: + break; + case AscCommonExcel.docChangedType.sheetChangeIndex: + break; + case AscCommonExcel.docChangedType.markModifiedSearch: + break; + } + }; + TraceDependentsManager.prototype.clearCellTraces = function (row, col) { + let ws = this.ws && this.ws.model; + if (!ws || row == null || col == null || !this.precedents || !this.dependents) { + return; + } + + let cellIndex = AscCommonExcel.getCellIndex(row, col); + if (this.precedents[cellIndex]) { + for (let i in this.precedents[cellIndex]) { + this._deleteDependent(i, cellIndex); + } + delete this.precedents[cellIndex]; + } + + // check the ranges for existence of dependencies on it + this.checkAreas(); + }; + TraceDependentsManager.prototype.checkAreas = function () { + if (!this.precedentsAreas) { + return + } + for (let i in this.precedentsAreas) { + let areaHeader = this.precedentsAreas[i].areaHeader; + if (!this.dependents[areaHeader]) { + delete this.precedentsAreas[i]; + delete this.precedentsAreasHeaders[areaHeader]; + } + } + }; + + + //------------------------------------------------------------export--------------------------------------------------- + window['AscCommonExcel'] = window['AscCommonExcel'] || {}; + + window["AscCommonExcel"].TraceDependentsManager = TraceDependentsManager; + + +})(window); diff --git a/cell/model/Slicer.js b/cell/model/Slicer.js index 492906924a..869a211447 100644 --- a/cell/model/Slicer.js +++ b/cell/model/Slicer.js @@ -3152,7 +3152,7 @@ prot['Ascending'] = prot.Ascending; prot['Descending'] = prot.Descending; - window['Asc']['ST_slicerCacheCrossFilter'] = window['AscCommonExcel'].ST_slicerCacheCrossFilter = ST_slicerCacheCrossFilter; + window['Asc']['ST_slicerCacheCrossFilter'] = window['Asc'].ST_slicerCacheCrossFilter = ST_slicerCacheCrossFilter; prot = ST_slicerCacheCrossFilter; prot['None'] = prot.None; prot['ShowItemsWithDataAtTop'] = prot.ShowItemsWithDataAtTop; diff --git a/cell/model/UndoRedo.js b/cell/model/UndoRedo.js index 3ecae44c2a..640f160908 100644 --- a/cell/model/UndoRedo.js +++ b/cell/model/UndoRedo.js @@ -2502,7 +2502,11 @@ function (window, undefined) { } else if (from && to) { //изменение //TODO нужно сохранить ссылки на текущий лист externalReferenceIndex = wb.getExternalLinkIndexByName(to.Id); + if (externalReferenceIndex !== null) { + from.worksheets = wb.externalReferences[externalReferenceIndex - 1].worksheets; + from.initWorksheetsFromSheetDataSet(); + from.putToChangedCells(); wb.externalReferences[externalReferenceIndex - 1] = from; } } @@ -3241,7 +3245,7 @@ function (window, undefined) { pivot.replaceSlicersPivotCacheDefinition(oldPivot.cacheDefinition, pivot.cacheDefinition); } ws.deletePivotTable(Data.pivot); - ws.insertPivotTable(pivot, false, true); + ws.insertPivotTable(pivot, false, false); } else if (AscCH.historyitem_Worksheet_PivotReplaceKeepRecords === Type) { var data = bUndo ? Data.from : Data.to; var pivot = data.getData(); diff --git a/cell/model/Workbook.js b/cell/model/Workbook.js index 455f4ccde0..1a3f15f375 100644 --- a/cell/model/Workbook.js +++ b/cell/model/Workbook.js @@ -565,9 +565,10 @@ var g_FCI = {row: null, col: null}; - function getFromCellIndex(cellIndex) { + function getFromCellIndex(cellIndex, returnDuplicate) { g_FCI.row = Math.floor(cellIndex / AscCommon.gc_nMaxCol); g_FCI.col = cellIndex % AscCommon.gc_nMaxCol; + return returnDuplicate ? {row: g_FCI.row, col: g_FCI.col} : null; } function getVertexIndex(bbox) { @@ -2280,6 +2281,7 @@ this.workbookFormulas = new AscCommonExcel.CWorkbookFormulas(); this.loadCells = [];//to return one object when nested _getCell calls this.DrawingDocument = new AscCommon.CDrawingDocument(); + this.mathTrackHandler = new AscWord.CMathTrackHandler(this.DrawingDocument, oApi); this.aComments = []; // Комментарии к документу this.aWorksheets = []; @@ -5891,7 +5893,7 @@ this.workbook.handlers && this.workbook.handlers.trigger("updateCellWatches"); } if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetRename, this.index, name); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetRename, this.index, name, this.getId()); } } else { console.log(new Error('The sheet name must be less than 31 characters.')); @@ -6194,7 +6196,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } this.workbook.dependencyFormulas.unlockRecal(); @@ -6285,7 +6287,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } this.workbook.dependencyFormulas.unlockRecal(); @@ -6376,7 +6378,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } this.workbook.dependencyFormulas.unlockRecal(); @@ -6466,7 +6468,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } this.workbook.dependencyFormulas.unlockRecal(); @@ -7743,7 +7745,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } //todo проверить не уменьшились ли границы таблицы }; @@ -7786,7 +7788,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } //todo проверить не уменьшились ли границы таблицы }; @@ -7851,7 +7853,7 @@ this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } }; Worksheet.prototype._shiftCellsBottom=function(oBBox, displayNameFormatTable){ @@ -7926,13 +7928,13 @@ { this.autoFilters.redrawStylesTables(redrawTablesArr); if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this, null, this.getId()); } } }; Worksheet.prototype._setIndex=function(ind){ if (this.workbook.handlers) { - this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetChangeIndex, this.index, ind); + this.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetChangeIndex, this.index, ind, this.getId()); } this.index = ind; }; @@ -11476,55 +11478,66 @@ }; Worksheet.prototype.isLockedRange = function (range) { - var rangeType = range.getType(); - var oRange = this.getRange3(range.r1, range.c1, range.r2, range.c2); - var res = true; - var unLockedRowIndex = range.r1 - 1; + let oRange = this.getRange3(range.r1, range.c1, range.r2, range.c2); + let res = true; + + let _getLocked = function (_xfs) { + let _res = null; + if (_xfs && _xfs.applyProtection) { + _res = true;//null/true + if (_xfs.getLocked() === false) { + _res = false; + } + } + return _res; + }; + + //1. init default value + //all cells + if (null != this.oAllCol && this.oAllCol.xfs && this.oAllCol.xfs.locked != null) { + res = _getLocked(this.oAllCol.xfs); + } + + //all selected rows + let unLockedRowIndex = range.r1 - 1; oRange._foreachRowNoEmpty(function(row){ - if(null != row && row.xfs && false === row.xfs.getLocked()) { + if(null != row && row.xfs && !res === _getLocked(row.xfs)) { if (unLockedRowIndex + 1 === row.index) { unLockedRowIndex++; } } }); if (unLockedRowIndex === range.r2) { - //если все строки разлочены, далее можно не проверять - return false; - } else if (rangeType === Asc.c_oAscSelectionType.RangeMax || rangeType === Asc.c_oAscSelectionType.RangeRow) { - //если выделены все строки, но среди них не все разлочены - далее не проверяем и возвращаем true - return true; + res = !res; } - var unLockedColndex = range.c1 - 1; + //all selected cols + let unLockedColIndex = range.c1 - 1; oRange._foreachColNoEmpty(function(col){ - if(null != col && col.xfs && false === col.xfs.getLocked()) { - if (unLockedColndex + 1 === col.index) { - unLockedColndex++; + if(null != col && col.xfs && !res === _getLocked(col.xfs)) { + if (unLockedColIndex + 1 === col.index) { + unLockedColIndex++; } } }); - if (unLockedColndex === range.c2) { - //если все столбцы разлочены, далее можно не проверять - return false; - } else if (rangeType === Asc.c_oAscSelectionType.RangeMax || rangeType === Asc.c_oAscSelectionType.RangeCol) { - //если выделены все столбцы, но среди них не все разлочены - далее не проверяем и возвращаем true - return true; + if (unLockedColIndex === range.c2) { + res = !res; } - oRange._foreach2(function(cell){ + oRange._foreachNoEmpty(function(cell){ if (!cell) { - res = true; - return true; + return; } - var cellxfs = cell.xfs; - var isLocked = cellxfs && cellxfs.asc_getLocked(); - if (isLocked === null || isLocked === true) { + + var isLocked = _getLocked(cell.xfs); + if (isLocked === true) { res = true; return true; - } else { + } else if (isLocked === false) { res = false; } }); + return res; }; @@ -12638,7 +12651,7 @@ wb.dependencyFormulas.addToBuildDependencyCell(this); } if (this.ws.workbook.handlers) { - this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this); + this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this, null, this.ws.getId()); } } else if (val) { this._setValue(val, ignoreHyperlink); @@ -12649,7 +12662,7 @@ } else { wb.dependencyFormulas.addToChangedCell(this); if (this.ws.workbook.handlers) { - this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this); + this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this, null, this.ws.getId()); } } @@ -13425,7 +13438,7 @@ this.setValue(""); if (this.ws.workbook.handlers) { - this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this); + this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this, null, this.ws.getId()); } }; Cell.prototype._checkDirty = function(){ @@ -13797,7 +13810,7 @@ if("" == val) { if (this.ws.workbook.handlers) { - this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this); + this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this, null, this.ws.getId()); } return; } @@ -13868,7 +13881,7 @@ } } if (this.ws.workbook.handlers) { - this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this); + this.ws.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.cellValue, this, null, this.ws.getId()); } }; Cell.prototype._autoformatHyperlink = function(val){ @@ -17765,7 +17778,7 @@ this.worksheet.workbook.dependencyFormulas.addToChangedRange(this.worksheet.getId(), new Asc.Range(oBBox.c1, oBBox.r1, oBBox.c2, oBBox.r2)); this.worksheet.workbook.dependencyFormulas.calcTree(); if (this.worksheet.workbook.handlers) { - this.worksheet.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this.worksheet); + this.worksheet.workbook.handlers.trigger("changeDocument", AscCommonExcel.docChangedType.sheetContent, this.worksheet, null, this.worksheet.getId()); } if (false == this.worksheet.workbook.bUndoChanges && (false == this.worksheet.workbook.bRedoChanges || this.worksheet.workbook.bCollaborativeChanges)) { @@ -19399,6 +19412,7 @@ window['AscCommonExcel'].oFormulaLocaleInfo = oFormulaLocaleInfo; window['AscCommonExcel'].getDefNameIndex = getDefNameIndex; window['AscCommonExcel'].getCellIndex = getCellIndex; + window['AscCommonExcel'].getFromCellIndex = getFromCellIndex; window['AscCommonExcel'].angleFormatToInterface2 = angleFormatToInterface2; window['AscCommonExcel'].angleInterfaceToFormat = angleInterfaceToFormat; window['AscCommonExcel'].Workbook = Workbook; diff --git a/cell/model/WorkbookElems.js b/cell/model/WorkbookElems.js index 7d6ed1fb0e..e479c56119 100644 --- a/cell/model/WorkbookElems.js +++ b/cell/model/WorkbookElems.js @@ -14821,6 +14821,15 @@ QueryTableField.prototype.clone = function() { } }; + ExternalReference.prototype.putToChangedCells = function () { + for (let i in this.SheetDataSet) { + if (this.SheetDataSet.hasOwnProperty(i)) { + let sheetName = this.SheetNames && this.SheetNames[this.SheetDataSet[i].SheetId]; + this.SheetDataSet[i].putToChangedCells(this.worksheets && this.worksheets[sheetName]); + } + } + }; + //TODO внешние источники данных, как в файле из бага https://bugzilla.onlyoffice.com/show_bug.cgi?id=38646 ExternalReference.prototype.getAscLink = function () { @@ -15227,6 +15236,30 @@ QueryTableField.prototype.clone = function() { return isChanged; }; + ExternalSheetDataSet.prototype.putToChangedCells = function(sheet) { + if (!sheet) { + return; + } + for (var i = 0; i < this.Row.length; i++) { + var row = this.Row[i]; + if (!row) { + continue; + } + for (var j = 0; j < this.Row[i].Cell.length; j++) { + var externalCell = this.Row[i].Cell[j]; + if (!externalCell) { + continue; + } + var range = sheet.getRange2(externalCell.Ref); + range._foreach(function (cell) { + var api_sheet = Asc['editor']; + var wb = api_sheet.wbModel; + wb.dependencyFormulas.addToChangedCell(cell); + }); + } + } + }; + ExternalSheetDataSet.prototype.getRow = function(index, needGenerateRow) { var row = null; diff --git a/cell/model/autofilters.js b/cell/model/autofilters.js index be2918f67f..5dcbc13aaf 100644 --- a/cell/model/autofilters.js +++ b/cell/model/autofilters.js @@ -4804,6 +4804,7 @@ maxFilterRow--; } + let g_cCharDelimiter = AscCommon.g_cCharDelimiter; let findDateTimeFormat; let individualCount = 0, count = 0; let visibleCount = 0, maxVisibleCountTooltip = 100; @@ -4836,8 +4837,10 @@ if (isDateTimeFormat) { dataValue = AscCommon.NumFormat.prototype.parseDate(val); findDateTimeFormat = true; - textLowerCase = dataValue.countDay + dataValue.d + dataValue.dayWeek + dataValue.dayWeek + dataValue.hour + - dataValue.min + dataValue.month + dataValue.sec + dataValue.year; + textLowerCase = + dataValue.countDay + g_cCharDelimiter + dataValue.d + g_cCharDelimiter + dataValue.dayWeek + g_cCharDelimiter + dataValue.dayWeek + g_cCharDelimiter + + dataValue.hour + g_cCharDelimiter + dataValue.min + g_cCharDelimiter + dataValue.month + g_cCharDelimiter + dataValue.sec + g_cCharDelimiter + + dataValue.year; } //check duplicate value diff --git a/cell/view/CellEditorView.js b/cell/view/CellEditorView.js index 0fe9787cc8..9a06ffb4de 100644 --- a/cell/view/CellEditorView.js +++ b/cell/view/CellEditorView.js @@ -2743,6 +2743,7 @@ event.preventDefault(); return false; + case 59: case 186: // ctrl + (shift) + ; if (ctrlKey) { var api = window["Asc"]["editor"]; diff --git a/cell/view/DrawingObjectsController.js b/cell/view/DrawingObjectsController.js index 0fcbbf2c33..2dc8de5249 100644 --- a/cell/view/DrawingObjectsController.js +++ b/cell/view/DrawingObjectsController.js @@ -293,6 +293,7 @@ DrawingObjectsController.prototype.onMouseDown = function(e, x, y) { e.ShiftKey = e.shiftKey; e.CtrlKey = e.metaKey || e.ctrlKey; + e.AltKey = e.altKey; e.Button = e.button; e.Type = AscCommon.g_mouse_event_type_down; e.IsLocked = e.isLocked; @@ -318,6 +319,7 @@ DrawingObjectsController.prototype.onMouseMove = function(e, x, y) { e.ShiftKey = e.shiftKey; e.CtrlKey = e.metaKey || e.ctrlKey; + e.AltKey = e.altKey; e.Button = e.button; e.Type = AscCommon.g_mouse_event_type_move; e.IsLocked = e.isLocked; @@ -330,6 +332,7 @@ DrawingObjectsController.prototype.onMouseUp = function(e, x, y) { e.ShiftKey = e.shiftKey; e.CtrlKey = e.metaKey || e.ctrlKey; + e.AltKey = e.altKey; e.Button = e.button; e.Type = AscCommon.g_mouse_event_type_up; this.curState.onMouseUp(e, x, y, 0); diff --git a/cell/view/EventsController.js b/cell/view/EventsController.js index 9d8e2dd9c9..ea5608e2f9 100644 --- a/cell/view/EventsController.js +++ b/cell/view/EventsController.js @@ -871,6 +871,7 @@ t.handlers.trigger("editCell", enterOptions); return result; + case 59: case 186: // add current date or time Ctrl + (Shift) + ; if (!canEdit || t.getCellEditMode() || selectionDialogMode) { return true; diff --git a/cell/view/WorkbookView.js b/cell/view/WorkbookView.js index 33764a7fc3..bbcd2bd1c9 100644 --- a/cell/view/WorkbookView.js +++ b/cell/view/WorkbookView.js @@ -941,8 +941,12 @@ ws.changeWorksheet("update", val); } }); - this.model.handlers.add("changeDocument", function(prop, arg1, arg2) { - self.SearchEngine && self.SearchEngine.changeDocument(prop, arg1, arg2); + this.model.handlers.add("changeDocument", function(prop, arg1, arg2, wsId) { + self.SearchEngine && self.SearchEngine.changeDocument(prop, arg1, arg2); + let ws = wsId && self.getWorksheetById(wsId, true); + if (ws) { + ws.traceDependentsManager.changeDocument(prop, arg1, arg2); + } }); this.model.handlers.add("showWorksheet", function(wsId) { var wsModel = self.model.getWorksheetById(wsId), index; @@ -3450,6 +3454,7 @@ { t.handlers.trigger("asc_onRefreshDefNameList"); } + ws.traceDependentsManager && ws.traceDependentsManager.clearAll(true); } else { t.handlers.trigger("asc_onError", c_oAscError.ID.LockCreateDefName, c_oAscError.Level.NoCritical); } @@ -3504,6 +3509,7 @@ if (res) { t.model.delDefinesNames(oldName); t.handlers.trigger("asc_onRefreshDefNameList"); + ws.traceDependentsManager && ws.traceDependentsManager.clearAll(true); } else { t.handlers.trigger("asc_onError", c_oAscError.ID.LockCreateDefName, c_oAscError.Level.NoCritical); } @@ -5194,7 +5200,12 @@ let isLocalDesktop = window["AscDesktopEditor"] && window["AscDesktopEditor"]["IsLocalFile"](); - var doUpdateData = function (_arrAfterPromise) { + const doUpdateData = function (_arrAfterPromise) { + if (!_arrAfterPromise.length) { + t.model.handlers.trigger("asc_onStartUpdateExternalReference", false); + return; + } + History.Create_NewPoint(); History.StartTransaction(); @@ -5294,150 +5305,8 @@ this.model.handlers.trigger("asc_onStartUpdateExternalReference", true); - let doPromise = function (data) { - //создаём запросы - var arrAfterPromise = []; - - var aRequests = []; - t._getPromiseRequestsArr(data, aRequests, externalReferences, function (_stream, externalReferenceId, oData) { - arrAfterPromise.push({stream: _stream, externalReferenceId: externalReferenceId, data: oData}); - if (aRequests.length === arrAfterPromise.length) { - doUpdateData(arrAfterPromise); - } - }); - - if (!aRequests.length) { - t.model.handlers.trigger("asc_onStartUpdateExternalReference", false); - return; - } - - var _promise = Promise.resolve(); - for (let i in aRequests) { - _promise = _promise.then(aRequests[i]); - } - }; - - if (isLocalDesktop) { - //TODO для декстопа необходима функция получения файлов + при копипасте нужно записывать путь файла(и знать путь текущего файла, чтобы вычислить относительный) - //десктоп - //var arrAfterPromise = getFilesContent(externalReferences); - //doUpdateData(arrAfterPromise); - doPromise(); - } else { - //портал - //получаем ссылку на файл через asc_onUpdateExternalReference от портала - t._getExternalReferenceData(externalReferences, doPromise); - } - } - }; - - WorkbookView.prototype._getExternalReferenceData = function (externalReferences, callback) { - if (externalReferences) { - this.model.handlers.trigger("asc_onUpdateExternalReference", externalReferences, callback); - } - }; - - WorkbookView.prototype._getPromiseRequestsArr = function (data, requests, externalReferences, resolveFunc) { - if (!requests) { - return; - } - let t = this; - //чтобы потом понять что нужно обновлять, сохраняю сооветсвие, количество запросов соответсвует количеству externalReferences - //для этого создаю на все Promise, и если data[i].error -> возвращаю null - - let isLocalDesktop = window["AscDesktopEditor"] && window["AscDesktopEditor"]["IsLocalFile"](); - let successfulLoadFileMap = {}; - let getPromise = function (oData, eR, _resolve) { - return function () { - - return new Promise(function (resolve) { - - let resolveStream = function (stream) { - resolve(_resolve(stream, eR.externalReference.Id, oData)); - }; - //получаем контент файла - let loadFile = function (_fileUrl) { - AscCommon.loadFileContent(_fileUrl, function (httpRequest) { - let stream; - if (httpRequest) { - stream = AscCommon.initStreamFromResponse(httpRequest); - } else { - //reject - не вызываю, чтобы выполнились все запросы - stream = null; - } - resolveStream(stream); - }, "arraybuffer"); - }; - - let sFileUrl = isLocalDesktop ? eR.externalReference && eR.externalReference.Id : (oData && !oData["error"] ? oData["url"] : null); - let isExternalLink = eR.isExternalLink(); - - if (isLocalDesktop) { - //TODO isExternalLink - if (sFileUrl) { - //resolveStream(stream); - window["AscDesktopEditor"]["convertFile"](sFileUrl, 0x2002, function (_file) { - let stream = null; - if (_file) { - stream = _file["get"](/*Editor.bin*/); - _file["close"](); - } - resolveStream(stream ? new Uint8Array(stream) : null); - }); - - } else { - resolve(_resolve(null, eR.externalReference.Id, oData)); - } - } else if (!window["NATIVE_EDITOR_ENJINE"]) { - //если ссылка на внешний источник, пробуем получить контент - if (!sFileUrl && oData["error"] && isExternalLink) { - sFileUrl = eR.data; - } - - //если открыть на клиенте не можем, то запрашиваем бинарник - let isXlsx = eR.externalReference && eR.externalReference.isXlsx(); - let outputFormat = t.Api["asc_isSupportFeature"]("ooxml") ? Asc.c_oAscFileType.XLSX : Asc.c_oAscFileType.XLSY; - let fileType = oData["fileType"]; - let token = oData["token"]; - let directUrl = oData["directUrl"]; - - //если внешняя ссылка, то конвертируем в xlsx - if (sFileUrl && (isExternalLink || !isXlsx) || !t.Api["asc_isSupportFeature"]("ooxml")) { - t.Api._getFileFromUrl(sFileUrl, fileType, token, outputFormat, - function (fileUrlAfterConvert) { - if (fileUrlAfterConvert) { - successfulLoadFileMap[sFileUrl] = 1; - loadFile(fileUrlAfterConvert); - } else if (!successfulLoadFileMap[sFileUrl]) { - resolve(_resolve(null, eR.externalReference.Id, oData)); - } - }); - } else { - if (directUrl || sFileUrl) { - t.Api._downloadOriginalFile(directUrl, sFileUrl, fileType, token, function(stream){ - resolveStream(stream); - }); - } else { - resolve(_resolve(null, eR.externalReference.Id, oData)); - } - } - } else { - resolveStream(null); - } - }); - } - - }; - - - let _length = data ? data.length : externalReferences.length; - for (let i = 0; i < _length; i++) { - let _oData = data && data[i]; - let _eR = externalReferences[i]; - - if (isLocalDesktop || (_oData && _eR && (_eR.isExternalLink() || !_oData["error"]))) { - requests.push(getPromise(_oData, _eR, resolveFunc)); - } + const oDataUpdater = new AscCommon.CExternalDataLoader(externalReferences, this.Api, doUpdateData); + oDataUpdater.updateExternalData(); } }; diff --git a/cell/view/WorksheetView.js b/cell/view/WorksheetView.js index 921e012485..e989b768cb 100644 --- a/cell/view/WorksheetView.js +++ b/cell/view/WorksheetView.js @@ -506,6 +506,8 @@ this.asyncOperations = null; + this.traceDependentsManager = new AscCommonExcel.TraceDependentsManager(this); + this._init(); return this; @@ -4992,6 +4994,365 @@ } }; + WorksheetView.prototype.drawTraceDependents = function () { + let traceManager = this.traceDependentsManager; + if(traceManager && (traceManager.isHaveDependents() || traceManager.isHavePrecedents())) { + this._drawElements(this.drawTraceArrows); + } + }; + + WorksheetView.prototype.drawTraceArrows = function (visibleRange, offsetX, offsetY) { + let traceManager = this.traceDependentsManager; + let ctx = this.overlayCtx; + let widthLine = 2, + customScale = AscBrowser.retinaPixelRatio, + zoom = this.getZoom(); + + widthLine = customScale * widthLine * zoom; + ctx.setLineWidth(widthLine); + + const lineColor = new CColor(78, 128, 245); + const externalLineColor = new CColor(68, 68, 68); + const whiteColor = new CColor(255, 255, 255); + + let t = this; + + // clip by visible area + ctx.AddClipRect(t._getColLeft(visibleRange.c1) - offsetX, t._getRowTop(visibleRange.r1) - offsetY, Math.abs(t._getColLeft(visibleRange.c2 + 1) - t._getColLeft(visibleRange.c1)), Math.abs(t._getRowTop(visibleRange.r2 + 1) - t._getRowTop(visibleRange.r1))); + + const doDrawArrow = function (_from, _to, external, isPrecedent) { + // drawing line, arrow, dot, minitable as part of a whole dependency line + ctx.beginPath(); + ctx.setStrokeStyle(!external ? lineColor : externalLineColor); + ctx.setLineDash([]); + if (isPrecedent && external) { + drawExternalPrecedentLine(_from); + } else { + drawDependentLine(_from, _to, external); + } + }; + + const drawDependentLine = function (from, to, external) { + let x1 = t._getColLeft(from.col) - offsetX + t._getColumnWidth(from.col) / 4; + let y1 = t._getRowTop(from.row) - offsetY + t._getRowHeight(from.row) / 2; + let arrowSize = 7 * zoom * customScale; + + let x2, y2, miniTableCol, miniTableRow, isTableLeft, isTableTop; + if (external) { + if (from.col < 2 && from.row < 3) { + // 1) Right down (+1r, +1c) + x2 = t._getColLeft(from.col + 1) - offsetX + t._getColumnWidth(from.col + 1); + y2 = t._getRowTop(from.row + 1) - offsetY + t._getRowHeight(from.row + 1); + miniTableCol = from.col + 2; + miniTableRow = from.row + 1; + } else if (from.col < 2 && from.row >= 3) { + // 2) Right up(-1r,+1c) + x2 = t._getColLeft(from.col + 1) - offsetX + t._getColumnWidth(from.col + 1); + y2 = t._getRowTop(from.row - 1) - offsetY; + miniTableCol = from.col + 2; + miniTableRow = from.row - 2; + isTableTop = true; + } else if (from.col >= 2 && from.row < 3) { + // 3) Left down(+1r,-1c) + x2 = t._getColLeft(from.col - 1) - offsetX; + y2 = t._getRowTop(from.row + 1) - offsetY + t._getRowHeight(from.row + 1); + miniTableCol = from.col - 2; + miniTableRow = from.row + 1; + isTableLeft = true; + } else { + // 4) Left up(-1r,-1c) + x2 = t._getColLeft(from.col - 1) - offsetX; + y2 = t._getRowTop(from.row - 1) - offsetY; + miniTableCol = from.col - 2; + miniTableRow = from.row - 2; + isTableLeft = true; + isTableTop = true; + } + } else { + x2 = t._getColLeft(to.col) - offsetX + t._getColumnWidth(to.col) / 4; + y2 = t._getRowTop(to.row) - offsetY + t._getRowHeight(to.row) / 2; + } + + // Angle and size for arrowhead + let angle = Math.atan2(y2 - y1, x2 - x1); + + // Draw the line and subtract the padding to draw the arrowhead correctly + let extLength = Math.sqrt(Math.pow((x2 - x1), 2) + Math.pow((y2 - y1), 2)); + if (extLength === 0 && angle === 0) { + // temporary exception + ctx.lineDiag(x1, y1, x2, y2); + ctx.closePath().stroke(); + + !external ? drawDot(x1, y1, lineColor) : drawDot(x1, y1, externalLineColor); + } else { + let dx = (x2 - x1) / extLength; + let dy = (y2 - y1) / extLength; + let newX2 = x2 - dx * arrowSize; + let newY2 = y2 - dy * arrowSize; + + arrowSize = zoom <= 0.5 ? arrowSize * 1.25 : arrowSize; + + if (external) { + drawDottedLine(x1, y1, newX2, newY2); + drawArrowHead(x2, y2, arrowSize, angle, externalLineColor); + drawDot(x1, y1, externalLineColor); + drawMiniTable(x2, y2, miniTableCol, miniTableRow, isTableLeft, isTableTop); + } else { + ctx.beginPath(); + ctx.setStrokeStyle(!external ? lineColor : externalLineColor); + ctx.moveTo(x1, y1); + ctx.lineTo(newX2, newY2); + ctx.closePath().stroke(); + drawArrowHead(newX2, newY2, arrowSize, angle, lineColor); + drawDot(x1, y1, lineColor); + } + } + }; + const drawExternalPrecedentLine = function (from) { + // make x1 the end of line and x2 is start + let x1 = t._getColLeft(from.col) - offsetX + t._getColumnWidth(from.col) / 4; + let y1 = t._getRowTop(from.row) - offsetY + t._getRowHeight(from.row) / 2; + let arrowSize = 7 * zoom * customScale; + + let x2, y2, miniTableCol, miniTableRow, isTableLeft, isTableTop; + // reverse the line + x2 = x1; + y2 = y1; + if (from.col < 2 && from.row < 3) { + // 1) Right down (+1r, +1c) + x1 = t._getColLeft(from.col + 1) - offsetX + t._getColumnWidth(from.col + 1); + y1 = t._getRowTop(from.row + 1) - offsetY + t._getRowHeight(from.row + 1); + miniTableCol = from.col + 2; + miniTableRow = from.row + 1; + } else if (from.col < 2 && from.row >= 3) { + // 2) Right up(-1r,+1c) + x1 = t._getColLeft(from.col + 1) - offsetX + t._getColumnWidth(from.col + 1); + y1 = t._getRowTop(from.row - 1) - offsetY; + miniTableCol = from.col + 2; + miniTableRow = from.row - 2; + isTableTop = true; + } else if (from.col >= 2 && from.row < 3) { + // 3) Left down(+1r,-1c) + x1 = t._getColLeft(from.col - 1) - offsetX; + y1 = t._getRowTop(from.row + 1) - offsetY + t._getRowHeight(from.row + 1); + miniTableCol = from.col - 2; + miniTableRow = from.row + 1; + isTableLeft = true; + } else { + // 4) Left up(-1r,-1c) + x1 = t._getColLeft(from.col - 1) - offsetX; + y1 = t._getRowTop(from.row - 1) - offsetY; + miniTableCol = from.col - 2; + miniTableRow = from.row - 2; + isTableLeft = true; + isTableTop = true + } + + // Angle and size for arrowhead + let angle = Math.atan2(y2 - y1, x2 - x1); + + // Draw the line and subtract the padding to draw the arrowhead correctly + let extLength = Math.sqrt(Math.pow((x2 - x1), 2) + Math.pow((y2 - y1), 2)); + + let dx = (x2 - x1) / extLength; + let dy = (y2 - y1) / extLength; + let newX2 = x2 - dx * arrowSize; + let newY2 = y2 - dy * arrowSize; + + arrowSize = zoom <= 0.5 ? arrowSize * 1.25 : arrowSize; + + // draw dotted line + drawDottedLine(x1, y1, newX2, newY2); + // draw arrowhead + drawArrowHead(newX2, newY2, arrowSize, angle, externalLineColor); + // draw dot + drawDot(x1, y1, externalLineColor); + // draw mini table + drawMiniTable(x1, y1, miniTableCol, miniTableRow, isTableLeft, isTableTop); + }; + + const drawDottedLine = function (x1, y1, x2, y2) { + const dashLength = 8 * zoom; + const dashSpace = 2 * zoom; + const dx = x2 - x1; + const dy = y2 - y1; + const distance = Math.sqrt(dx * dx + dy * dy); + const dashCount = Math.floor(distance / (dashLength + dashSpace)); + + const xStep = dx / (dashCount); + const yStep = dy / (dashCount); + + ctx.setLineWidth(widthLine); + ctx.beginPath(); + ctx.setStrokeStyle(externalLineColor); + ctx.lineDiag(x1, y1, x2, y2); + ctx.stroke(); + ctx.closePath(); + + ctx.setStrokeStyle(whiteColor); + for (let i = 0; i < dashCount; i++) { + ctx.beginPath(); + ctx.lineDiag(x1, y1, x1 - xStep * 0.2, y1 - yStep * 0.2); + ctx.stroke(); + x1 += xStep; + y1 += yStep; + ctx.closePath(); + } + }; + const drawArrowHead = function (x2, y2, arrowSize, angle, color) { + function checkArrowSize (size) { + if (Number.isInteger(size)) { + return size % 2 !== 0 ? ++size : size; + } else { + let intPart = parseInt(size, 10), + decimalPart = +(size+"").split(".")[1] ? +(size+"").split(".")[1][0] : null; + + if (decimalPart && intPart % 2 === 0) { + return intPart; + } else { + return Math.ceil(size); + } + } + } + + arrowSize = checkArrowSize(arrowSize); + + ctx.setFillStyle(color); + + let lineDeg = angle * 180 / Math.PI, + lineDeg1 = 90 + angle * 180 / Math.PI, + lineDeg2 = -90 + angle * 180 / Math.PI; + + ctx.beginPath(); + ctx.moveTo(x2, y2); + ctx.lineTo(x2 + Math.cos(lineDeg1 * Math.PI / 180) * arrowSize / 2, y2 + Math.sin(lineDeg1 * Math.PI / 180) * arrowSize / 2); + ctx.lineTo(x2 + Math.cos(lineDeg * Math.PI / 180) * arrowSize, y2 + Math.sin(lineDeg * Math.PI / 180) * arrowSize); + ctx.lineTo(x2 + Math.cos(lineDeg2 * Math.PI / 180) * arrowSize / 2, y2 + Math.sin(lineDeg2 * Math.PI / 180) * arrowSize / 2); + ctx.closePath().fill(); + }; + const drawDot = function (x, y, color) { + const dotRadius = 2.75 * zoom * customScale; + ctx.beginPath(); + ctx.arc(x, y, dotRadius, 0, 2 * Math.PI); + ctx.setFillStyle(color); + ctx.closePath().fill(); + }; + const drawMiniTable = function (x, y, destCol, destRow, isTableLeft, isTableTop) { + const paddingX = 8 * zoom * customScale; + const paddingY = 4 * zoom * customScale; + const tableWidth = 15 * zoom * customScale; + const tableHeight = 9 * zoom * customScale; + const cellWidth = tableWidth / 3; + const cellHeight = tableHeight / 3; + const lineWidth = 1 * zoom * customScale; + const cellStrokesColor = new CColor(0, 0, 0); + + // Padding for a table inside the cell + const x1 = isTableLeft ? x - tableWidth - paddingX : x + paddingX; + const y1 = isTableTop ? y - tableHeight - (paddingY * 2) : y + paddingY; + + // draw white canvas behind the table + ctx.setFillStyle(whiteColor); + ctx.beginPath(); + ctx.fillRect(x1, y1 - lineWidth, tableWidth, tableHeight + (lineWidth * 2)); + ctx.closePath().stroke(); + + ctx.setLineWidth(lineWidth); + ctx.setFillStyle(cellStrokesColor); + ctx.setStrokeStyle(cellStrokesColor); + + // draw main rectangle + ctx.beginPath(); + ctx.strokeRect(x1, y1, tableWidth, tableHeight); + ctx.stroke(); + + ctx.beginPath(); + let multiplier = zoom < 3 ? 1.5 : 1.2; + if (zoom > 1.8) { + ctx.fillRect(x1 - 0.5, y1 - lineWidth, tableWidth + (lineWidth * 0.5), lineWidth * multiplier); + } else { + ctx.fillRect(x1, y1 - lineWidth, tableWidth + 0.5, lineWidth * multiplier); + } + ctx.strokeRect(x1, y1 - lineWidth, tableWidth, tableHeight + lineWidth); + ctx.stroke(); + ctx.closePath().fill(); + + // Vertical lines + for (let i = 1; i < 3; i++) { + let x2 = i * cellWidth; + ctx.beginPath(); + ctx.lineVer(x2 + x1, y1, y1 + tableHeight); + ctx.stroke(); + } + + // Horizontal lines + for (let j = 1; j < 3; j++) { + let y2 = j * cellHeight; + ctx.beginPath(); + ctx.lineHor(x1, y1 + y2, x1 + tableWidth); + ctx.stroke(); + } + }; + + // draw stroke for precedent cArea + const drawAreaStroke = function (areas) { + for (const area in areas) { + const range = areas[area].range, + // write top left and bottom right cell coords to draw a rectangle around the range + topLeftCoords = {row: range.r1, col: range.c1}, + bottomRightCoords = {row: range.r2, col: range.c2}; + + let x1 = t._getColLeft(topLeftCoords.col) - offsetX, + y1 = t._getRowTop(topLeftCoords.row) - offsetY, + x2 = t._getColLeft(bottomRightCoords.col) + t._getColumnWidth(bottomRightCoords.col) - offsetX, + y2 = t._getRowTop(bottomRightCoords.row) + t._getRowHeight(bottomRightCoords.row) - offsetY; + + // draw rectangle + ctx.beginPath(); + ctx.setStrokeStyle(lineColor); + ctx.setLineWidth(1); + ctx.strokeRect(x1, y1, Math.abs(x2 - x1), Math.abs(y2 - y1)); + ctx.closePath().stroke(); + // then go to the next area + } + }; + + let otherSheetMap = {}; + traceManager.forEachDependents(function (from, to, isPrecedent) { + if (from && to) { + for (let i in to) { + let cellFrom = AscCommonExcel.getFromCellIndex(from, true); + if (-1 !== i.indexOf(";")) { + if (visibleRange.contains2(cellFrom) && !otherSheetMap[from]) { + doDrawArrow(cellFrom, null, true, false); + } + } else { + let cellTo = AscCommonExcel.getFromCellIndex(i, true); + if (visibleRange.contains2(cellFrom) || visibleRange.contains2(cellTo)) { + doDrawArrow(cellFrom, cellTo, false, isPrecedent); + } + } + } + } + }); + // draw external line for precedents + traceManager.forEachExternalPrecedent(function (from) { + if (from) { + let cellFrom = AscCommonExcel.getFromCellIndex(from, true); + // check if cellIndex exist in precedentExternal array + if (traceManager.checkPrecedentExternal(+from) && visibleRange.contains2(cellFrom)) { + doDrawArrow(cellFrom, null, true, true); + } + } + }); + // draw area + drawAreaStroke(traceManager._getPrecedentsAreas()); + // remove clip range + ctx.RemoveClipRect(); + + return true; + }; + WorksheetView.prototype._drawPageBreakPreviewText = function (drawingCtx, range, leftFieldInPx, topFieldInPx) { if(!this.isPageBreakPreview(true)) { @@ -6087,7 +6448,6 @@ rFrozen = this.topLeftFrozenCell.getRow0(); offsetX -= this._getColLeft(cFrozen) - this._getColLeft(0); offsetY -= this._getRowTop(rFrozen) - this._getRowTop(0); - var oFrozenRange; cFrozen -= 1; rFrozen -= 1; @@ -6132,6 +6492,10 @@ return; } + if (!this.overlayCtx) { + return; + } + var selectionDialogMode = this.getSelectionDialogMode(); var dialogOtherRanges = this.getDialogOtherRanges(); @@ -6242,6 +6606,8 @@ } } + this.drawTraceDependents(); + // restore canvas' original clipping range ctx.restore(); @@ -6448,8 +6814,12 @@ }; WorksheetView.prototype.cleanSelection = function (range, isFrozen) { - var api = window["Asc"]["editor"]; - if (window['IS_NATIVE_EDITOR']) { + var api = window["Asc"]["editor"]; + if (window['IS_NATIVE_EDITOR']) { + return; + } + + if (!this.overlayCtx) { return; } @@ -6595,7 +6965,8 @@ //TODO пересмотреть! возможно стоит очищать частями в зависимости от print_area //print lines view - if(this.viewPrintLines || this.copyCutRange || (this.isPageBreakPreview(true) && this.pagesModeData)) { + let isTraceDependents = this.traceDependentsManager.isHaveData(); + if(this.viewPrintLines || this.copyCutRange || (this.isPageBreakPreview(true) && this.pagesModeData) || isTraceDependents) { this.overlayCtx.clear(); } @@ -13590,6 +13961,12 @@ //TODO пока для закрытия транзации выставляю флаг. пересмотреть! window['AscCommon'].g_specialPasteHelper.bIsEndTransaction = true; AscCommonExcel.g_clipboardExcel.pasteData(t, specialPasteData._format, specialPasteData.data1, specialPasteData.data2, specialPasteData.text_data); + + const cPasteProps = Asc.c_oSpecialPasteProps; + const pasteProp = props && props.property; + if (cPasteProps.none !== pasteProp && cPasteProps.link !== pasteProp && cPasteProps.picture !== pasteProp && cPasteProps.linkedPicture !== pasteProp) { + t.traceDependentsManager && t.traceDependentsManager.clearAll(true); + } }; if (specialPasteData.activeRange && !isIntoShape) { @@ -17548,6 +17925,7 @@ if (defName) { this._isLockedDefNames(null, defName.getNodeId()); + this.traceDependentsManager && this.traceDependentsManager.clearAll(true); } else { this.model.workbook.handlers.trigger("asc_onError", c_oAscError.ID.InvalidReferenceOrName, c_oAscError.Level.NoCritical); @@ -18312,6 +18690,10 @@ return; } + if (addFormatTableOptionsObj) { + t.traceDependentsManager && t.traceDependentsManager.clearAll(); + } + var addFilterCallBack; if (bIsChangeFilterToTable)//CHANGE FILTER TO TABLEPART { @@ -25586,6 +25968,30 @@ WorksheetView.prototype.getRetinaPixelRatio = function () { return AscBrowser.retinaPixelRatio; }; + //cell trace dependents/precedents + WorksheetView.prototype.tracePrecedents = function () { + if (this.traceDependentsManager) { + this.traceDependentsManager.calculatePrecedents(); + this.updateSelection(); + } + }; + + + WorksheetView.prototype.traceDependents = function () { + if (this.traceDependentsManager) { + this.traceDependentsManager.calculateDependents(); + this.updateSelection(); + } + }; + + WorksheetView.prototype.removeTraceArrows = function (type) { + if (this.traceDependentsManager && this.traceDependentsManager.isHaveData()) { + this.cleanSelection(); + this.traceDependentsManager.clear(type); + this.updateSelection(); + } + }; + WorksheetView.prototype.changeLegacyDrawingHFPictures = function (picturesMap) { //lock? diff --git a/common/Charts/DrawingObjects.js b/common/Charts/DrawingObjects.js index a11450b760..4cfeac1a6a 100644 --- a/common/Charts/DrawingObjects.js +++ b/common/Charts/DrawingObjects.js @@ -1785,7 +1785,6 @@ CSparklineView.prototype.setMinMaxValAx = function(minVal, maxVal, oSparklineGro _this.drawingDocument = null; _this.asyncImageEndLoaded = null; _this.CompositeInput = null; - _this.mathTrackHandler = null; _this.lastX = 0; _this.lastY = 0; @@ -1976,7 +1975,6 @@ CSparklineView.prototype.setMinMaxValAx = function(minVal, maxVal, oSparklineGro _this.drawingDocument.TargetHtmlElement = document.getElementById('id_target_cursor'); _this.drawingDocument.InitGuiCanvasShape(api.shapeElementId); _this.controller = new AscFormat.DrawingObjectsController(_this); - _this.mathTrackHandler = new AscWord.CMathTrackHandler(_this.drawingDocument, api); _this.canEdit = function() { return api.canEdit(); }; aImagesSync = []; @@ -2290,7 +2288,7 @@ CSparklineView.prototype.setMinMaxValAx = function(minVal, maxVal, oSparklineGro _this.OnUpdateOverlay(); _this.controller.updateSelectionState(true); AscCommon.CollaborativeEditing.Update_ForeignCursorsPositions(); - this.mathTrackHandler.Update(); + Asc.editor.wbModel.mathTrackHandler.Update(); }; _this.print = function(oOptions) { diff --git a/common/Drawings/CommonController.js b/common/Drawings/CommonController.js index 180e40248c..85cd625c93 100644 --- a/common/Drawings/CommonController.js +++ b/common/Drawings/CommonController.js @@ -4792,8 +4792,8 @@ drawingDocument.SelectShow(); } let oMathTrackHandler = null; - if (this.drawingObjects.mathTrackHandler) { - oMathTrackHandler = this.drawingObjects.mathTrackHandler; + if (Asc.editor.wbModel && Asc.editor.wbModel.mathTrackHandler) { + oMathTrackHandler = Asc.editor.wbModel.mathTrackHandler; } else { if (this.drawingObjects.cSld) { oMathTrackHandler = editor.WordControl.m_oLogicDocument.MathTrackHandler; @@ -5870,15 +5870,20 @@ { } else if (e.keyCode == 145) // Scroll Lock { - } else if (e.keyCode == 187 && canEdit && true === ctrlKey) // Ctrl + Shift + +, Ctrl + = - superscript/subscript + } else if ((e.keyCode === 61 || e.keyCode == 187) && canEdit && true === ctrlKey) // Ctrl + Shift + +, Ctrl + = - superscript/subscript { var TextPr = drawingObjectsController.getParagraphTextPr(); if (isRealObject(TextPr)) { if (true === e.shiftKey) + { drawingObjectsController.setCellSuperscript(TextPr.VertAlign === AscCommon.vertalign_SuperScript ? false : true); - else + bRetValue = true; + } + else if (true === e.altKey) + { drawingObjectsController.setCellSubscript(TextPr.VertAlign === AscCommon.vertalign_SubScript ? false : true); - bRetValue = true; + bRetValue = true; + } } } else if (e.keyCode == 188 && true === ctrlKey) // Ctrl + , { @@ -5887,7 +5892,7 @@ drawingObjectsController.setCellSuperscript(TextPr.VertAlign === AscCommon.vertalign_SuperScript ? false : true); bRetValue = true; } - } else if (e.keyCode == 189 && canEdit) // Клавиша Num- + } else if ((e.keyCode == 189 || e.keyCode == 173) && canEdit && true === ctrlKey && true === e.shiftKey) // Клавиша Num- { if (!this.checkSelectedObjectsProtectionText()) { var Item = null; @@ -5897,10 +5902,7 @@ if (true === ctrlKey && true === e.shiftKey) { Item = new AscWord.CRunText(0x2013); Item.SpaceAfter = false; - } else if (true === e.shiftKey) - Item = new AscWord.CRunText("_".charCodeAt(0)); - else - Item = new AscWord.CRunText("-".charCodeAt(0)); + } oThis.paragraphAdd(Item); }; this.checkSelectedObjectsAndCallback(callBack, [], false, AscDFH.historydescription_Spreadsheet_AddItem, undefined, window["Asc"]["editor"].collaborativeEditing.getFast()); diff --git a/common/Drawings/Format/Format.js b/common/Drawings/Format/Format.js index 3e4557c1f5..2a1721c7a4 100644 --- a/common/Drawings/Format/Format.js +++ b/common/Drawings/Format/Format.js @@ -7375,6 +7375,9 @@ this.chExtY === xfrm.chExtY; }; CXfrm.prototype.merge = function (xfrm) { + if(!xfrm) { + return; + } if (xfrm.offX != null) { this.offX = xfrm.offX; } diff --git a/common/Drawings/Format/GraphicObjectBase.js b/common/Drawings/Format/GraphicObjectBase.js index e6eb78dabe..5fad98475b 100644 --- a/common/Drawings/Format/GraphicObjectBase.js +++ b/common/Drawings/Format/GraphicObjectBase.js @@ -1690,6 +1690,16 @@ } return null; }; + CGraphicObjectBase.prototype.getMorphGeometry = function() { + let oGeometry = this.getGeometry(); + if(!oGeometry) { + oGeometry = AscFormat.ExecuteNoHistory(function () { + oGeometry = AscFormat.CreateGeometry("rect"); + oGeometry.Recalculate(this.extX, this.extY); + }, this, []); + } + return oGeometry; + }; CGraphicObjectBase.prototype.getTrackGeometry = function () { const oOwnGeometry = this.getGeometry(); diff --git a/common/Drawings/Format/Shape.js b/common/Drawings/Format/Shape.js index 2255a5e2bc..8602043ac7 100644 --- a/common/Drawings/Format/Shape.js +++ b/common/Drawings/Format/Shape.js @@ -3391,9 +3391,10 @@ } } } else { + let oOwnXfrm = this.spPr && this.spPr.xfrm; var xfrm; - if (this.spPr && this.spPr.xfrm && this.spPr.xfrm.isNotNull()) { - xfrm = this.spPr.xfrm; + if (oOwnXfrm && oOwnXfrm.isNotNull()) { + xfrm = oOwnXfrm; } else { if (this.isPlaceholder()) { var hierarchy = this.getHierarchy(); @@ -3408,15 +3409,17 @@ xfrm = new AscFormat.CXfrm(); xfrm.offX = 0; xfrm.offX = 0; - xfrm.extX = 5; - xfrm.extY = 5; + xfrm.extX = 0; + xfrm.extY = 0; + xfrm.merge(oOwnXfrm); } } else { xfrm = new AscFormat.CXfrm(); xfrm.offX = 0; xfrm.offY = 0; - xfrm.extX = 5; - xfrm.extY = 5; + xfrm.extX = 0; + xfrm.extY = 0; + xfrm.merge(oOwnXfrm); } } @@ -3708,16 +3711,6 @@ if (isRealObject(this.group)) { global_MatrixTransformer.MultiplyAppend(transform, this.group.getLocalTransform()); } - if (this.parent instanceof AscFormat.CRelSizeAnchor || this.parent instanceof AscFormat.CAbsSizeAnchor) { - if (this.parent.parent instanceof AscFormat.CChartSpace) { - if (this.parent.parent.recalcInfo.recalculateTransform) { - this.parent.parent.recalculateTransform(); - this.parent.parent.rectGeometry.Recalculate(this.parent.parent.extX, this.parent.parent.extY); - this.parent.parent.recalcInfo.recalculateTransform = false; - } - global_MatrixTransformer.MultiplyAppend(transform, this.parent.parent.localTransform); - } - } if (oParaDrawing) { this.m_oSectPr = null; var oParentParagraph = oParaDrawing.Get_ParentParagraph(); @@ -4452,7 +4445,7 @@ CShape.prototype.setTruthFontSizeInSmartArt = function () { const arrMainContentPoints = this.getSmartArtPointContent(); - if (!arrMainContentPoints) return; + if (!(arrMainContentPoints && arrMainContentPoints.length)) return; const bIsFitText = arrMainContentPoints.every(function (point) { return point && point.prSet && (typeof point.prSet.phldrT === "string") && !point.prSet.custT && !point.prSet.phldr; }); diff --git a/common/Drawings/States.js b/common/Drawings/States.js index 28ea4e8bec..4b7da24431 100644 --- a/common/Drawings/States.js +++ b/common/Drawings/States.js @@ -981,6 +981,8 @@ RotateState.prototype = { if(this.drawingObjects.canEdit() && this.bSamePos !== true) { + const bIsMac = AscCommon.AscBrowser.isMacOs; + const bCopyKey = bIsMac ? e.AltKey : e.CtrlKey; var tracks = [].concat(this.drawingObjects.arrTrackObjects); var group = this.group; var drawingObjects = this.drawingObjects; @@ -988,8 +990,8 @@ RotateState.prototype = var bIsMoveState = (this instanceof MoveState); var bIsChartFrame = Asc["editor"] && Asc["editor"].isChartEditor === true; var bIsTrackInChart = (tracks.length > 0 && (tracks[0] instanceof AscFormat.MoveChartObjectTrack)); - var bCopyOnMove = e.CtrlKey && bIsMoveState && !bIsChartFrame && !bIsTrackInChart; - var bCopyOnMoveInGroup = (e.CtrlKey && oThis instanceof MoveInGroupState && !oThis.hasObjectInSmartArt); + var bCopyOnMove = bCopyKey && bIsMoveState && !bIsChartFrame && !bIsTrackInChart; + var bCopyOnMoveInGroup = (bCopyKey && oThis instanceof MoveInGroupState && !oThis.hasObjectInSmartArt); var i, j; var copy; if(bCopyOnMove) diff --git a/common/ExternalDataLoader.js b/common/ExternalDataLoader.js new file mode 100644 index 0000000000..0e5b4044ed --- /dev/null +++ b/common/ExternalDataLoader.js @@ -0,0 +1,240 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; + +(function (window) { + function CExternalDataLoader(arrExternalReference, oApi, fCallback) { + this.externalReferences = arrExternalReference || []; + this.api = oApi; + this.isLocalDesktop = window["AscDesktopEditor"] && window["AscDesktopEditor"]["IsLocalFile"](); + this.fCallback = fCallback; + } + + CExternalDataLoader.prototype.updateExternalData = function () { + if (this.externalReferences) { + if (this.isLocalDesktop) { + this.resolveUpdateData(); + } else { + this.api.sendEvent("asc_onUpdateExternalReference", this.externalReferences, this.tryForceSave.bind(this)); + } + } + }; + CExternalDataLoader.prototype.tryForceSave = function (arrData) { + arrData = arrData || []; + const oThis = this; + const nTimeout = 10000; + const arrPromises = []; + let isForceSavePossible = true; + for (let i = 0; i < arrData.length; i++) { + const oData = arrData[i]; + const sToken = oData['token']; + const sKey = oData['key']; + + if (!sKey) { + //if don't have key, then don't have force save + isForceSavePossible = false; + break; + } + + const oForceUpdatePromise = new Promise(function (fResolve) { + oThis.api.saveRelativeFromChanges(sKey, sToken, nTimeout, function (bTimeout, oResult) { + //oResult -> {code, inProgress, url} + + //errors + //oResult.code -> c_oAscServerCommandErrors + //c_oAscServerCommandErrors.NoError - everything all right + //c_oAscServerCommandErrors.NotModified - no file, no changes + //c_oAscServerCommandErrors.Token - wrong token + //inProgress && с c_oAscServerCommandErrors.NoError -> the function was called several times and did'nt wait answer + + //url - file link + + if (!bTimeout && oResult["code"] === AscCommon.c_oAscServerCommandErrors.NoError) { + arrData[i]["directUrl"] = oResult["url"]; + arrData[i]["url"] = oResult["url"]; + arrData[i]["fileType"] = "xlsx"; + arrData[i]["token"] = null; + } + fResolve(); + }); + }); + arrPromises.push(oForceUpdatePromise); + } + if (!isForceSavePossible) { + oThis.resolveUpdateData(arrData); + } else { + Promise.all(arrPromises).then(function () { + oThis.resolveUpdateData(arrData); + }); + } + }; + CExternalDataLoader.prototype.resolveUpdateData = function (arrData) { + arrData = arrData || []; + const nLength = Math.max(arrData.length, this.externalReferences.length); + const arrFPromiseGetters = []; + for (let i = 0; i < nLength; i += 1) { + if (this.isLocalDesktop || (arrData[i] && (!arrData[i]["error"] || this.externalReferences[i].isExternalLink()))) { + const oPromiseGetter = new CExternalDataPromiseGetter(this.api, this.getExternalReference(i), arrData[i]); + arrFPromiseGetters.push(oPromiseGetter.getPromise.bind(oPromiseGetter)); + } + } + this.doUpdate(arrFPromiseGetters); + }; + CExternalDataLoader.prototype.doUpdate = function (arrFPromiseGetters) { + const oThis = this; + const oPromiseGetterIterator = new AscCommon.CPromiseGetterIterator(arrFPromiseGetters); + oPromiseGetterIterator.forAllSuccessValues(function (arrValues) { + oThis.fCallback(arrValues); + }); + }; + CExternalDataLoader.prototype.getExternalReference = function (nId) { + if (this.externalReferences[nId]) { + return this.externalReferences[nId].asc_getPath(); + } + }; + + function CExternalDataPromiseGetter(oApi, sExternalReference, oData) { + this.externalReference = sExternalReference; + this.data = oData; + this.api = oApi; + this.fileUrl = this.getFileUrl(); + } + + CExternalDataPromiseGetter.prototype.isLocalDesktop = function () { + return window["AscDesktopEditor"] && window["AscDesktopEditor"]["IsLocalFile"](); + }; + CExternalDataPromiseGetter.prototype.resolveStream = function (arrStream, fResolve) { + fResolve({stream: arrStream, externalReferenceId: this.externalReference, data: this.data}); + }; + CExternalDataPromiseGetter.prototype.getLocalDesktopPromise = function () { + const oThis = this; + return new Promise(function (resolve) { + if (oThis.fileUrl) { + window["AscDesktopEditor"]["convertFile"](oThis.fileUrl, 0x2002, function (_file) { + let arrStream = null; + if (_file) { + arrStream = new Uint8Array(_file["get"]()); + _file["close"](); + } + oThis.resolveStream(arrStream, resolve); + }); + } else { + oThis.resolveStream(null, resolve); + } + }); + }; + + CExternalDataPromiseGetter.prototype.getLocalFileLink = function () { + let res = this.externalReference; + if (res) { + res = res.replace(/^file:\/\/\//, ''); + res = res.replace(/^file:\/\//, ''); + } + return res; + }; + + CExternalDataPromiseGetter.prototype.isExternalLink = function () { + const p = /^(?:http:|https:)/; + return this.externalReference.match(p); + }; + + CExternalDataPromiseGetter.prototype.getFileUrl = function () { + if (this.isLocalDesktop() && !this.isExternalLink()) { + return this.getLocalFileLink(); + } else if (this.data && !this.data["error"]) { + return this.data["url"]; + } + return this.externalReference; + }; + CExternalDataPromiseGetter.prototype.isSupportOOXML = function () { + return this.api["asc_isSupportFeature"]("ooxml"); + }; + CExternalDataPromiseGetter.prototype.getPromise = function () { + const oThis = this; + if (this.isLocalDesktop()) { + return this.getLocalDesktopPromise(); + } else if (!window["NATIVE_EDITOR_ENJINE"]) { + return this.getSDKPromise(); + } else { + return new Promise(function (fResolve) { + oThis.resolveStream(null, fResolve); + }); + } + }; + + CExternalDataPromiseGetter.prototype.loadFileContentFromUrl = function (sFileUrl, resolve) { + const oThis = this; + AscCommon.loadFileContent(sFileUrl, function (httpRequest) { + let arrStream = null; + if (httpRequest) { + arrStream = AscCommon.initStreamFromResponse(httpRequest); + } + oThis.resolveStream(arrStream, resolve); + }, "arraybuffer"); + }; + + CExternalDataPromiseGetter.prototype.getSDKPromise = function () { + const oThis = this; + return new Promise(function (fResolve) { + const isSupportOOXML = oThis.isSupportOOXML(); + const nOutputFormat = isSupportOOXML ? Asc.c_oAscFileType.XLSX : Asc.c_oAscFileType.XLSY; + const sFileUrl = oThis.getFileUrl(); + const sFileType = oThis.data["fileType"]; + const sToken = oThis.data["token"]; + const sDirectUrl = oThis.data["directUrl"]; + const bIsXLSX = sFileType === "xlsx"; + + if ((sFileUrl && !bIsXLSX) || !isSupportOOXML) { + let bLoad = false; + oThis.api.getConvertedXLSXFileFromUrl(sFileUrl, sFileType, sToken, nOutputFormat, + function (sFileUrlAfterConvert) { + if (sFileUrlAfterConvert) { + oThis.loadFileContentFromUrl(sFileUrlAfterConvert, fResolve); + bLoad = true; + } else if (!bLoad) { + oThis.resolveStream(null, fResolve); + } + }); + } else if (sDirectUrl || sFileUrl) { + oThis.api._downloadOriginalFile(sDirectUrl, sFileUrl, sFileType, sToken, function (arrStream) { + oThis.resolveStream(arrStream, fResolve); + }); + } else { + oThis.resolveStream(null, fResolve); + } + }); + }; + + AscCommon.CExternalDataLoader = CExternalDataLoader; +})(window); + diff --git a/common/HistoryCommon.js b/common/HistoryCommon.js index c553f0e71b..3951c45884 100644 --- a/common/HistoryCommon.js +++ b/common/HistoryCommon.js @@ -32,12 +32,6 @@ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 27.10.2016 - * Time: 12:11 - */ - (/** * @param {Window} window * @param {undefined} undefined @@ -1278,6 +1272,9 @@ case AscDFH.historydescription_Document_FillContentControlPlaceholderOnBlur: sString = "Document_FillContentControlPlaceholderOnBlur"; break; + case AscDFH.historydescription_Document_SetAutoHyphenation: + sString = "Document_SetAutoHyphenation"; + break; } return sString; } @@ -1728,17 +1725,21 @@ //------------------------------------------------------------------------------------------------------------------ // Типы изменений в классе CDocument //------------------------------------------------------------------------------------------------------------------ - window['AscDFH'].historyitem_Document_AddItem = window['AscDFH'].historyitem_type_Document | 1; - window['AscDFH'].historyitem_Document_RemoveItem = window['AscDFH'].historyitem_type_Document | 2; - window['AscDFH'].historyitem_Document_DefaultTab = window['AscDFH'].historyitem_type_Document | 3; - window['AscDFH'].historyitem_Document_EvenAndOddHeaders = window['AscDFH'].historyitem_type_Document | 4; - window['AscDFH'].historyitem_Document_DefaultLanguage = window['AscDFH'].historyitem_type_Document | 5; - window['AscDFH'].historyitem_Document_MathSettings = window['AscDFH'].historyitem_type_Document | 6; - window['AscDFH'].historyitem_Document_SdtGlobalSettings = window['AscDFH'].historyitem_type_Document | 7; - window['AscDFH'].historyitem_Document_Settings_GutterAtTop = window['AscDFH'].historyitem_type_Document | 8; - window['AscDFH'].historyitem_Document_Settings_MirrorMargins = window['AscDFH'].historyitem_type_Document | 9; - window['AscDFH'].historyitem_Document_SpecialFormsGlobalSettings = window['AscDFH'].historyitem_type_Document | 10; - window['AscDFH'].historyitem_Document_Settings_TrackRevisions = window['AscDFH'].historyitem_type_Document | 11; + window['AscDFH'].historyitem_Document_AddItem = window['AscDFH'].historyitem_type_Document | 1; + window['AscDFH'].historyitem_Document_RemoveItem = window['AscDFH'].historyitem_type_Document | 2; + window['AscDFH'].historyitem_Document_DefaultTab = window['AscDFH'].historyitem_type_Document | 3; + window['AscDFH'].historyitem_Document_EvenAndOddHeaders = window['AscDFH'].historyitem_type_Document | 4; + window['AscDFH'].historyitem_Document_DefaultLanguage = window['AscDFH'].historyitem_type_Document | 5; + window['AscDFH'].historyitem_Document_MathSettings = window['AscDFH'].historyitem_type_Document | 6; + window['AscDFH'].historyitem_Document_SdtGlobalSettings = window['AscDFH'].historyitem_type_Document | 7; + window['AscDFH'].historyitem_Document_Settings_GutterAtTop = window['AscDFH'].historyitem_type_Document | 8; + window['AscDFH'].historyitem_Document_Settings_MirrorMargins = window['AscDFH'].historyitem_type_Document | 9; + window['AscDFH'].historyitem_Document_SpecialFormsGlobalSettings = window['AscDFH'].historyitem_type_Document | 10; + window['AscDFH'].historyitem_Document_Settings_TrackRevisions = window['AscDFH'].historyitem_type_Document | 11; + window['AscDFH'].historyitem_Document_Settings_AutoHyphenation = window['AscDFH'].historyitem_type_Document | 12; + window['AscDFH'].historyitem_Document_Settings_ConsecutiveHyphenLimit = window['AscDFH'].historyitem_type_Document | 13; + window['AscDFH'].historyitem_Document_Settings_DoNotHyphenateCaps = window['AscDFH'].historyitem_type_Document | 14; + window['AscDFH'].historyitem_Document_Settings_HyphenationZone = window['AscDFH'].historyitem_type_Document | 15; //------------------------------------------------------------------------------------------------------------------ // Типы изменений в классе Paragraph //------------------------------------------------------------------------------------------------------------------ @@ -4410,6 +4411,9 @@ window['AscDFH'].historydescription_Document_RemoveComplexFieldWrapper = 0x01a3; window['AscDFH'].historydescription_Document_MergeDocuments = 0x01a4; window['AscDFH'].historydescription_Document_FillContentControlPlaceholderOnBlur= 0x01a5; + window['AscDFH'].historydescription_Document_SetAutoHyphenation = 0x01a6; + window['AscDFH'].historydescription_Document_SetConsecutiveHyphenLimit = 0x01a7; + window['AscDFH'].historydescription_Document_SetHyphenateCaps = 0x01a8; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/common/PromiseIterators.js b/common/PromiseIterators.js new file mode 100644 index 0000000000..21d9a17e3e --- /dev/null +++ b/common/PromiseIterators.js @@ -0,0 +1,82 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; + +(function (window) { + function CPromiseGetterIterator(arrFPromiseGetters) { + this.promiseGetters = arrFPromiseGetters; + } + + CPromiseGetterIterator.prototype.getPromise = function (nIndex) { + const fPromiseGetter = this.promiseGetters[nIndex]; + if (fPromiseGetter) { + return fPromiseGetter(); + } + }; + + CPromiseGetterIterator.prototype.forEachValue = function (fSuccess, fReject, fAfterAll) { + let nIndex = 0; + const oThis = this; + + const resolveIndexPromise = function () { + const oPromise = oThis.getPromise(nIndex); + if (oPromise) { + oPromise.then(function (oValue) { + nIndex += 1; + fSuccess && fSuccess(oValue); + resolveIndexPromise(); + }, function (reason) { + nIndex += 1; + fReject && fReject(reason); + resolveIndexPromise(); + }); + } else { + fAfterAll && fAfterAll(); + } + }; + resolveIndexPromise(); + }; + CPromiseGetterIterator.prototype.forAllSuccessValues = function (fCallback) { + const arrValues = []; + const fAfterAll = function () { + fCallback(arrValues); + }; + this.forEachValue(function (oValue) { + arrValues.push(oValue); + }, undefined, fAfterAll); + }; + + window.AscCommon = window.AscCommon || {}; + window.AscCommon.CPromiseGetterIterator = CPromiseGetterIterator; + +})(window); diff --git a/common/TableId.js b/common/TableId.js index 65c89110b1..f8829a59e3 100644 --- a/common/TableId.js +++ b/common/TableId.js @@ -32,12 +32,6 @@ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 26.10.2016 - * Time: 18:45 - */ - (/** * @param {Window} window * @param {undefined} undefined diff --git a/common/TableIdChanges.js b/common/TableIdChanges.js index 3501735343..873b92ffad 100644 --- a/common/TableIdChanges.js +++ b/common/TableIdChanges.js @@ -32,12 +32,6 @@ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 26.10.2016 - * Time: 18:53 - */ - (/** * @param {Window} window * @param {undefined} undefined diff --git a/common/api/auto-hyphenation-settings.js b/common/api/auto-hyphenation-settings.js new file mode 100644 index 0000000000..b6af1360a8 --- /dev/null +++ b/common/api/auto-hyphenation-settings.js @@ -0,0 +1,94 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; + +(function (window) +{ + /** + * @constructor + */ + function AutoHyphenationSettings() + { + this.autoHyphenation = false; + this.hyphenateCaps = true; + this.hyphenationZone = 360; // twips + this.hyphenationLimit = 0; + } + AutoHyphenationSettings.prototype.isAutoHyphenation = function() + { + return this.autoHyphenation; + }; + AutoHyphenationSettings.prototype.setAutoHyphenation = function(isAuto) + { + this.autoHyphenation = isAuto; + }; + AutoHyphenationSettings.prototype.isHyphenateCaps = function() + { + return this.hyphenateCaps; + }; + AutoHyphenationSettings.prototype.setHyphenateCaps = function(isHyphenate) + { + this.hyphenateCaps = isHyphenate; + }; + AutoHyphenationSettings.prototype.getHyphenationZone = function() + { + return this.hyphenationZone; + }; + AutoHyphenationSettings.prototype.setHyphenationZone = function(zone) + { + this.hyphenationZone = zone; + }; + AutoHyphenationSettings.prototype.getHyphenationLimit = function() + { + return this.hyphenationLimit; + }; + AutoHyphenationSettings.prototype.setHyphenationLimit = function(limit) + { + this.hyphenationLimit = limit; + }; + + //--------------------------------------------------------export---------------------------------------------------- + window['AscCommon'] = window['AscCommon'] || {}; + window['AscCommon'].AutoHyphenationSettings = window['AscCommon']['AutoHyphenationSettings'] = AutoHyphenationSettings; + + const p = AutoHyphenationSettings.prototype; + p["isAutoHyphenation"] = p.isAutoHyphenation; + p["setAutoHyphenation"] = p.setAutoHyphenation; + p["isHyphenateCaps"] = p.isHyphenateCaps; + p["setHyphenateCaps"] = p.setHyphenateCaps; + p["getHyphenationZone"] = p.getHyphenationZone; + p["setHyphenationZone"] = p.setHyphenationZone; + p["getHyphenationLimit"] = p.getHyphenationLimit; + p["setHyphenationLimit"] = p.setHyphenationLimit; + +})(window); diff --git a/common/apiBase.js b/common/apiBase.js index f30c45d5d4..3ab9688646 100644 --- a/common/apiBase.js +++ b/common/apiBase.js @@ -163,6 +163,7 @@ this.forceSaveTimeoutTimeout = null; this.forceSaveForm = null; this.disconnectOnSave = null; + this.disconnectRestrictions = null;//to restore restrictions after disconnect this.forceSaveUndoRequest = false; // Флаг нужен, чтобы мы знали, что данное сохранение пришло по запросу Undo в совместке // Version History @@ -1424,8 +1425,34 @@ // get permissions baseEditorsApi.prototype.asc_getEditorPermissions = function() { + AscCommon.sendClientLog("debug", AscCommon.getClientInfoString("getEditorPermissions", performance.now()), this); this._coAuthoringInit(); }; + baseEditorsApi.prototype.getConvertedXLSXFileFromUrl = function (sUrl, sFileType, sToken, nOutputFormat, fCallback) { + if (this.canEdit()) { + const oDocument = {url: sUrl, format: sFileType, token: sToken}; + this.insertDocumentUrlsData = { + imageMap: null, documents: [oDocument], convertCallback: function (_api, url) { + _api.insertDocumentUrlsData.imageMap = url; + if (url['output.xlsx']) { + fCallback(url['output.xlsx']); + } else if (url['output.xlst']) { + fCallback(url['output.xlst']); + } else { + fCallback(null); + } + _api.endInsertDocumentUrls(); + }, endCallback: function (_api) { + fCallback(null); + } + }; + + const oOptions = new Asc.asc_CDownloadOptions(nOutputFormat); + oOptions.isNaturalDownload = true; + oOptions.isGetTextFromUrl = true; + this.downloadAs(Asc.c_oAscAsyncAction.DownloadAs, oOptions); + } + }; baseEditorsApi.prototype._onEndPermissions = function() { if (this.isOnLoadLicense) { @@ -1499,9 +1526,10 @@ t.sendEvent('asc_onCoAuthoringChatReceiveMessage', e, clear); }; this.CoAuthoringApi.onServerVersion = function (buildVersion, buildNumber) { - if (t.isRestrictionView()) { + if (null !== t.disconnectRestrictions) { t.sync_EndAction(Asc.c_oAscAsyncActionType.Information, Asc.c_oAscAsyncAction.Disconnect); - t.asc_removeRestriction(Asc.c_oAscRestrictionType.View); + t.asc_setRestriction(t.disconnectRestrictions); + t.disconnectRestrictions = null; } t.sendEvent('asc_onServerVersion', buildVersion, buildNumber); @@ -1715,9 +1743,10 @@ t.asyncServerIdEndLoaded(); } if (null != opt_closeCode) { - if (t.isRestrictionView()) { + if (null !== t.disconnectRestrictions) { t.sync_EndAction(Asc.c_oAscAsyncActionType.Information, Asc.c_oAscAsyncAction.Disconnect); - t.asc_removeRestriction(Asc.c_oAscRestrictionType.View); + t.asc_setRestriction(t.disconnectRestrictions); + t.disconnectRestrictions = null; } var error = AscCommon.getDisconnectErrorCode(t.isDocumentLoadComplete, opt_closeCode); var level = t.isDocumentLoadComplete ? Asc.c_oAscError.Level.NoCritical : Asc.c_oAscError.Level.Critical; @@ -1727,9 +1756,10 @@ } else { t.sendEvent('asc_onError', error, level); } - } else if (!t.isRestrictionView()) { + } else if (null === t.disconnectRestrictions){ + t.disconnectRestrictions = t.restrictions; t.sync_StartAction(Asc.c_oAscAsyncActionType.Information, Asc.c_oAscAsyncAction.Disconnect); - t.asc_addRestriction(Asc.c_oAscRestrictionType.View); + t.asc_setRestriction(Asc.c_oAscRestrictionType.View); } }; this.CoAuthoringApi.onDocumentOpen = function (inputWrap) { @@ -2024,8 +2054,12 @@ { }; // Download - baseEditorsApi.prototype.endInsertDocumentUrls = function () + baseEditorsApi.prototype.endInsertDocumentUrls = function() { + if (this.insertDocumentUrlsData) { + this.insertDocumentUrlsData.endCallback(this); + this.insertDocumentUrlsData = null; + } }; baseEditorsApi.prototype._downloadAs = function () { @@ -2371,17 +2405,16 @@ && AscFormat.isRealNumber(fWidthMM) && AscFormat.isRealNumber(fHeightMM) ) { - let sMethodGuid; if(bPlugin) { - sMethodGuid = window.g_asc_plugins.setPluginMethodReturnAsync(); + window.g_asc_plugins.setPluginMethodReturnAsync(); } this.asc_checkImageUrlAndAction(sImgSrc, function(oImage) { oThis.asc_addOleObjectAction(AscCommon.g_oDocumentUrls.getImageLocal(oImage.src), sData, sGuid, fWidthMM, fHeightMM, nWidthPix, nHeightPix, bSelect); if(bPlugin) { - window.g_asc_plugins.onPluginMethodReturn(sMethodGuid); + window.g_asc_plugins.onPluginMethodReturn(); } }); } diff --git a/common/apiBase_plugins.js b/common/apiBase_plugins.js index 698c3e8e99..b15763f6c8 100644 --- a/common/apiBase_plugins.js +++ b/common/apiBase_plugins.js @@ -1113,7 +1113,7 @@ */ Api.prototype["pluginMethod_ReplaceTextSmart"] = function(arrString, sParaTab, sParaNewLine) { - let guid = window.g_asc_plugins ? window.g_asc_plugins.setPluginMethodReturnAsync() : null; + window.g_asc_plugins && window.g_asc_plugins.setPluginMethodReturnAsync(); this.incrementCounterLongAction(); function ReplaceTextSmart() @@ -1135,7 +1135,7 @@ this.decrementCounterLongAction(); if (guid) - window.g_asc_plugins.onPluginMethodReturn(guid, true); + window.g_asc_plugins.onPluginMethodReturn(true); } let sOverAll = ""; @@ -1156,7 +1156,7 @@ */ Api.prototype["pluginMethod_GetFileToDownload"] = function(format) { - let guid = window.g_asc_plugins ? window.g_asc_plugins.setPluginMethodReturnAsync() : null; + window.g_asc_plugins && window.g_asc_plugins.setPluginMethodReturnAsync(); let dwnldF = Asc.c_oAscFileType[format] || Asc.c_oAscFileType[this.DocInfo.Format.toUpperCase()]; let opts = new Asc.asc_CDownloadOptions(dwnldF); let _t = this; @@ -1164,8 +1164,7 @@ _t.sync_EndAction(Asc.c_oAscAsyncActionType.BlockInteraction, Asc.c_oAscAsyncAction.DownloadAs); _t.fCurCallback = function(res) { let data = (res.status == "ok") ? res.data : "error"; - if (guid) - window.g_asc_plugins.onPluginMethodReturn(guid, data); + window.g_asc_plugins && window.g_asc_plugins.onPluginMethodReturn(data); }; } this.downloadAs(Asc.c_oAscAsyncAction.DownloadAs, opts); @@ -1208,7 +1207,7 @@ */ Api.prototype["pluginMethod_PutImageDataToSelection"] = function(oImageData) { - let sMethodGuid = window.g_asc_plugins.setPluginMethodReturnAsync(); + window.g_asc_plugins.setPluginMethodReturnAsync(); let sImgSrc = oImageData["src"]; this.asc_checkImageUrlAndAction(sImgSrc, function(oImage) { @@ -1221,8 +1220,7 @@ nHeight = oImage.Image.height; } this.putImageToSelection(AscCommon.g_oDocumentUrls.getImageLocal(oImage.src), nWidth, nHeight, oImageData["replaceMode"]); - window.g_asc_plugins.onPluginMethodReturn(sMethodGuid); - + window.g_asc_plugins.onPluginMethodReturn(); }); }; @@ -1609,19 +1607,18 @@ if (!this.keychainStorage) this.keychainStorage = new AscCrypto.Storage.CStorageLocalStorage(); - var guidAsync = window.g_asc_plugins.setPluginMethodReturnAsync(); - + window.g_asc_plugins.setPluginMethodReturnAsync(); this.keychainStorage.command(keys, function(retObj){ - window.g_asc_plugins.onPluginMethodReturn(guidAsync, retObj); + window.g_asc_plugins.onPluginMethodReturn(retObj); }); }; Api.prototype["pluginMethod_SetKeychainStorageInfo"] = function(items) { - var guidAsync = window.g_asc_plugins.setPluginMethodReturnAsync(); + window.g_asc_plugins.setPluginMethodReturnAsync(); - this.keychainStorage.command(items, function(retObj){ - window.g_asc_plugins.onPluginMethodReturn(guidAsync, retObj); + this.keychainStorage.command(items, function(retObj) { + window.g_asc_plugins.onPluginMethodReturn(retObj); }); }; @@ -1759,7 +1756,7 @@ */ Api.prototype["pluginMethod_ShowWindow"] = function(frameId, variation) { - variation["guid"] = window.g_asc_plugins.guidAsyncMethod; + variation["guid"] = window.g_asc_plugins.getCurrentPluginGuid(); this.sendEvent("asc_onPluginWindowShow", frameId, variation); }; @@ -1804,9 +1801,9 @@ */ Api.prototype["pluginMethod_ResizeWindow"] = function(frameId, size, minSize, maxSize) { - let guidAsync = window.g_asc_plugins.setPluginMethodReturnAsync(); + window.g_asc_plugins.setPluginMethodReturnAsync(); this.sendEvent("asc_onPluginWindowResize", frameId, size, minSize, maxSize, function(){ - window.g_asc_plugins.onPluginMethodReturn(guidAsync, 'resize_result'); + window.g_asc_plugins.onPluginMethodReturn("resize_result"); }); }; diff --git a/common/apiCommon.js b/common/apiCommon.js index cc793d0573..d5556189c7 100644 --- a/common/apiCommon.js +++ b/common/apiCommon.js @@ -6642,6 +6642,18 @@ } // ----------------------------- plugins ------------------------------- // + var PluginType = { + System : 0, // Системный, неотключаемый плагин. + Background : 1, // Фоновый плагин. Тоже самое, что и системный, но отключаемый. + Window : 2, // Окно + Panel : 3 // Панель + }; + + PluginType["System"] = PluginType.System; + PluginType["Background"] = PluginType.Background; + PluginType["Window"] = PluginType.Window; + PluginType["Panel"] = PluginType.Panel; + function CPluginVariation() { this.description = ""; @@ -6654,11 +6666,10 @@ this.isViewer = false; this.EditorsSupport = ["word", "cell", "slide"]; - this.isSystem = false; - this.isVisual = false; // визуальный ли - this.isModal = false; // модальное ли окно (используется только для визуального) - this.isInsideMode = false; // отрисовка не в окне а внутри редактора (в панели) (используется только для визуального немодального) - this.isCustomWindow = false; // ued only if this.isModal == true + this.type = PluginType.Background; + + this.isCustomWindow = false; // используется только если this.type === PluginType.Window + this.isModal = true; // используется только если this.type === PluginType.Window this.initDataType = EPluginDataType.none; this.initData = ""; @@ -6680,144 +6691,60 @@ { return this.description; }; - CPluginVariation.prototype["set_Description"] = function(value) - { - this.description = value; - }; CPluginVariation.prototype["get_Url"] = function() { return this.url; }; - CPluginVariation.prototype["set_Url"] = function(value) - { - this.url = value; - }; CPluginVariation.prototype["get_Help"] = function() { return this.help; }; - CPluginVariation.prototype["set_Help"] = function(value) - { - this.help = value; - }; CPluginVariation.prototype["get_Icons"] = function() { return this.icons; }; - CPluginVariation.prototype["set_Icons"] = function(value) - { - this.icons = value; - }; - CPluginVariation.prototype["get_System"] = function() + CPluginVariation.prototype["get_Type"] = function() { - return this.isSystem; + return this.type; }; - CPluginVariation.prototype["set_System"] = function(value) + + CPluginVariation.prototype["get_Visual"] = function() { - this.isSystem = value; + return (this.type === PluginType.Window || this.type === PluginType.Panel) ? true : false; }; + CPluginVariation.prototype["get_Viewer"] = function() { return this.isViewer; }; - CPluginVariation.prototype["set_Viewer"] = function(value) - { - this.isViewer = value; - }; CPluginVariation.prototype["get_EditorsSupport"] = function() { return this.EditorsSupport; }; - CPluginVariation.prototype["set_EditorsSupport"] = function(value) - { - this.EditorsSupport = value; - }; - - CPluginVariation.prototype["get_Visual"] = function() - { - return this.isVisual; - }; - CPluginVariation.prototype["set_Visual"] = function(value) - { - this.isVisual = value; - }; - CPluginVariation.prototype["get_Modal"] = function() + CPluginVariation.prototype["get_Modal"] = function() { return this.isModal; }; - CPluginVariation.prototype["set_Modal"] = function(value) - { - this.isModal = value; - }; CPluginVariation.prototype["get_InsideMode"] = function() { - return this.isInsideMode; - }; - CPluginVariation.prototype["set_InsideMode"] = function(value) - { - this.isInsideMode = value; + return (this.type === PluginType.Panel) ? true : false; }; CPluginVariation.prototype["get_CustomWindow"] = function() { return this.isCustomWindow; }; - CPluginVariation.prototype["set_CustomWindow"] = function(value) - { - this.isCustomWindow = value; - }; - - CPluginVariation.prototype["get_InitDataType"] = function() - { - return this.initDataType; - }; - CPluginVariation.prototype["set_InitDataType"] = function(value) - { - this.initDataType = value; - }; - CPluginVariation.prototype["get_InitData"] = function() - { - return this.initData; - }; - CPluginVariation.prototype["set_InitData"] = function(value) - { - this.initData = value; - }; - CPluginVariation.prototype["get_UpdateOleOnResize"] = function() - { - return this.isUpdateOleOnResize; - }; - CPluginVariation.prototype["set_UpdateOleOnResize"] = function(value) - { - this.isUpdateOleOnResize = value; - }; CPluginVariation.prototype["get_Buttons"] = function() { return this.buttons; }; - CPluginVariation.prototype["set_Buttons"] = function(value) - { - this.buttons = value; - }; CPluginVariation.prototype["get_Size"] = function() { return this.size; }; - CPluginVariation.prototype["set_Size"] = function(value) - { - this.size = value; - }; - CPluginVariation.prototype["get_InitOnSelectionChanged"] = function() - { - return this.initOnSelectionChanged; - }; - CPluginVariation.prototype["set_InitOnSelectionChanged"] = function(value) - { - this.initOnSelectionChanged = value; - }; CPluginVariation.prototype["get_Events"] = function() { return this.events; @@ -6847,11 +6774,10 @@ _object["isViewer"] = this.isViewer; _object["EditorsSupport"] = this.EditorsSupport; - _object["isSystem"] = this.isSystem; - _object["isVisual"] = this.isVisual; - _object["isModal"] = this.isModal; - _object["isInsideMode"] = this.isInsideMode; + _object["type"] = this.type; + _object["isCustomWindow"] = this.isCustomWindow; + _object["isModal"] = this.isModal; _object["initDataType"] = this.initDataType; _object["initData"] = this.initData; @@ -6879,11 +6805,29 @@ this.isViewer = (_object["isViewer"] != null) ? _object["isViewer"] : this.isViewer; this.EditorsSupport = (_object["EditorsSupport"] != null) ? _object["EditorsSupport"] : this.EditorsSupport; - this.isVisual = (_object["isVisual"] != null) ? _object["isVisual"] : this.isVisual; - this.isModal = (_object["isModal"] != null) ? _object["isModal"] : this.isModal; - this.isSystem = (_object["isSystem"] != null) ? _object["isSystem"] : this.isSystem; - this.isInsideMode = (_object["isInsideMode"] != null) ? _object["isInsideMode"] : this.isInsideMode; + // default: background + this.type = PluginType.Background; + + let _type = _object["type"]; + if (undefined !== _type) + { + if ("system" === _type) + this.type = PluginType.System; + if ("window" === _type) + this.type = PluginType.Window; + if ("panel" === _type) + this.type = PluginType.Panel; + } + else + { + if (true === _object["isSystem"]) + this.type = PluginType.System; + if (true === _object["isVisual"]) + this.type = (true === _object["isInsideMode"]) ? PluginType.Panel : PluginType.Window; + } + this.isCustomWindow = (_object["isCustomWindow"] != null) ? _object["isCustomWindow"] : this.isCustomWindow; + this.isModal = (_object["isModal"] != null) ? _object["isModal"] : this.isModal; this.initDataType = (_object["initDataType"] != null) ? _object["initDataType"] : this.initDataType; this.initData = (_object["initData"] != null) ? _object["initData"] : this.initData; @@ -6914,26 +6858,6 @@ this.variations = []; } - CPlugin.prototype.getIntVersion = function() - { - if (!this.version) - return 0; - let arrayVersion = this.version.split("."); - - while (arrayVersion.length < 3) - arrayVersion.push("0"); - - try - { - let intVer = parseInt(arrayVersion[0]) * 10000 + parseInt(arrayVersion[1]) * 100 + parseInt(arrayVersion[2]); - return intVer; - } - catch (e) - { - } - return 0; - }; - CPlugin.prototype["get_Name"] = function(locale) { if (locale && this.nameLocale && this.nameLocale[locale]) @@ -7067,6 +6991,41 @@ this.variations.push(_variation); } }; + + // no export + CPlugin.prototype.isType = function(type) + { + if (this.variations && this.variations[0] && this.variations[0].type === type) + return true; + return false; + }; + CPlugin.prototype.isSystem = function() + { + return this.isType(PluginType.System); + }; + CPlugin.prototype.isBackground = function() + { + return this.isType(PluginType.Background); + }; + CPlugin.prototype.getIntVersion = function() + { + if (!this.version) + return 0; + let arrayVersion = this.version.split("."); + + while (arrayVersion.length < 3) + arrayVersion.push("0"); + + try + { + let intVer = parseInt(arrayVersion[0]) * 10000 + parseInt(arrayVersion[1]) * 100 + parseInt(arrayVersion[2]); + return intVer; + } + catch (e) + { + } + return 0; + }; /* * Export @@ -8051,6 +8010,7 @@ window["AscCommon"].asc_menu_ReadPaddings = asc_menu_ReadPaddings; window["AscCommon"].asc_menu_ReadColor = asc_menu_ReadColor; + window["Asc"]["PluginType"] = window["Asc"].PluginType = PluginType; window["Asc"]["CPluginVariation"] = window["Asc"].CPluginVariation = CPluginVariation; window["Asc"]["CPlugin"] = window["Asc"].CPlugin = CPlugin; diff --git a/common/editorscommon.js b/common/editorscommon.js index 1e2e4e2a45..f695141d25 100644 --- a/common/editorscommon.js +++ b/common/editorscommon.js @@ -9369,7 +9369,7 @@ || 0x2611 === nUnicode || 0x2610 === nUnicode)); } - + function ExecuteNoHistory(f, oLogicDocument, oThis, args) { // TODO: Надо перевести все редакторы на StartNoHistoryMode/EndNoHistoryMode @@ -9405,6 +9405,12 @@ return result; } + + function AddAndExecuteChange(change) + { + AscCommon.History.Add(change); + change.Redo(); + } /** * Функция сравнивает две строки (они могут быть не заданы) @@ -13204,6 +13210,9 @@ if (!api) { return; } + if (api.documentOpenOptions && api.documentOpenOptions["debug"]) { + console.log("[speed]: "+ msg); + } api.CoAuthoringApi.sendClientLog(level, msg); } @@ -13400,6 +13409,7 @@ window["AscCommon"].CorrectFontSize = CorrectFontSize; window["AscCommon"].IsAscFontSupport = IsAscFontSupport; window["AscCommon"].ExecuteNoHistory = ExecuteNoHistory; + window["AscCommon"].AddAndExecuteChange = AddAndExecuteChange; window["AscCommon"].CompareStrings = CompareStrings; window["AscCommon"].IsSupportAscFeature = IsSupportAscFeature; window["AscCommon"].IsSupportOFormFeature = IsSupportOFormFeature; diff --git a/common/errorCodes.js b/common/errorCodes.js index 8871d203af..5dd24a318a 100644 --- a/common/errorCodes.js +++ b/common/errorCodes.js @@ -234,7 +234,10 @@ FillAllRowsWarning: 1040, - ProtectedRangeByOtherUser: 1050 + ProtectedRangeByOtherUser: 1050, + + TraceDependentsNoFormulas: 1060, + TracePrecedentsNoValidReference: 1061 } }; @@ -393,5 +396,8 @@ prot['FillAllRowsWarning'] = prot.FillAllRowsWarning; prot['CannotUseCommandProtectedSheet'] = prot.CannotUseCommandProtectedSheet; prot['ProtectedRangeByOtherUser'] = prot.ProtectedRangeByOtherUser; + prot['TraceDependentsNoFormulas'] = prot.TraceDependentsNoFormulas; + prot['TracePrecedentsNoValidReference'] = prot.TracePrecedentsNoValidReference; + })(window); diff --git a/common/externs/global.js b/common/externs/global.js index a35632a907..9d6d403a9c 100644 --- a/common/externs/global.js +++ b/common/externs/global.js @@ -48,6 +48,7 @@ var AscMath; var AscJsonConverter; var AscCrypto; var AscOForm; +var AscHyphenation; function jq(){} function DE(){} diff --git a/common/libfont/engine.js b/common/libfont/engine.js index 79d1f72903..452aa0e3bb 100644 --- a/common/libfont/engine.js +++ b/common/libfont/engine.js @@ -30,6 +30,8 @@ * */ +// THIS FILE WAS GENERATED AUTOMATICALLY. DO NOT CHANGE IT! + function onLoadFontsModule(window, undefined) { var AscFonts = window['AscFonts']; @@ -73,6 +75,13 @@ function onLoadFontsModule(window, undefined) AscFonts.HB_FontFree = AscFonts["HB_FontFree"]; AscFonts.HB_ShapeText = AscFonts["HB_ShapeText"]; + AscFonts["Hyphen_Init"](); + AscFonts.Hyphen_Destroy = AscFonts["Hyphen_Destroy"]; + AscFonts.Hyphen_LoadDictionary = AscFonts["Hyphen_LoadDictionary"]; + AscFonts.Hyphen_CheckDictionary = AscFonts["Hyphen_CheckDictionary"]; + AscFonts.Hyphen_Word = AscFonts["Hyphen_Word"]; + + AscFonts.CreateNativeStreamByIndex = function(stream_index) { let stream = AscFonts.g_fonts_streams[stream_index]; @@ -665,4 +674,117 @@ function onLoadFontsModule(window, undefined) retObj["free"](); return glyphs; }; + + function Hyphenation() + { + this._value = ""; + this._lang = 0; + this._dictionaries = {}; + this._mapToNames = null; + + this.addCodePoint = function(codePoint) + { + this._value += String.fromCodePoint(codePoint); + }; + this.clear = function() + { + this._value = ""; + }; + this.setLang = function(langCode, callback) + { + this._lang = langCode; + + let _langKey = "" + langCode; + if (this._dictionaries[_langKey] !== undefined) + return this._dictionaries[_langKey]; + + if (window["NATIVE_EDITOR_ENJINE"]) + { + this._dictionaries[_langKey] = AscFonts.Hyphen_CheckDictionary(this._lang); + return this._dictionaries[_langKey]; + } + else if (callback) + { + if (!this._mapToNames) + this._mapToNames = AscCommon.spellcheckGetLanguages(); + + if (undefined !== this._mapToNames["" + langCode]) + this.loadDictionary(langCode, callback); + } + + return false; + }; + this.hyphenate = function() + { + if ("" === this._value) + return []; + return AscFonts.Hyphen_Word(this._lang, this._value); + }; + + this.loadDictionary = function(lang, callback) + { + if (window["NATIVE_EDITOR_ENJINE"]) + { + callback(); + return; + } + + if (!this._mapToNames) + this._mapToNames = AscCommon.spellcheckGetLanguages(); + + let _langKey = "" + lang; + let _langName = this._mapToNames[_langKey]; + if (_langName === undefined) + { + this._dictionaries[_langKey] = false; + callback(); + return; + } + + this._loadDictionaryAttemt(_langKey, _langName, callback); + }; + + this._loadDictionaryAttemt = function(langKey, langName, callback, currentAttempt) + { + var xhr = new XMLHttpRequest(); + let urlDictionaries = "../../../../dictionaries/"; + let url = urlDictionaries + langName + "/hyph_" + langName + ".dic"; + + xhr.open('GET', url, true); + xhr.responseType = 'arraybuffer'; + xhr.currentAttempt = currentAttempt || 0; + + if (xhr.overrideMimeType) + xhr.overrideMimeType('text/plain; charset=x-user-defined'); + else + xhr.setRequestHeader('Accept-Charset', 'x-user-defined'); + + var _t = this; + xhr.onload = function() + { + if (this.status === 200 || location.href.indexOf("file:") === 0) + { + _t._dictionaries[langKey] = true; + AscFonts.Hyphen_LoadDictionary(parseInt(langKey), this.response); + callback(); + } + }; + xhr.onerror = function() + { + let _currentAttempt = xhr.currentAttempt + 1; + if (_currentAttempt > 3) + { + _t._dictionaries[langKey] = false; + callback(); + return; + } + + _t._loadDictionaryAttemt(langKey, langName, callback, _currentAttempt); + }; + + xhr.send(null); + }; + } + + window["AscHyphenation"] = new Hyphenation(); } diff --git a/common/libfont/engine/fonts.js b/common/libfont/engine/fonts.js index 4fec68155b..6c0b085a0a 100644 --- a/common/libfont/engine/fonts.js +++ b/common/libfont/engine/fonts.js @@ -37,6 +37,8 @@ var AscFonts = window['AscFonts']; if (window["NATIVE_EDITOR_ENJINE"]) window.setImmediate = function(fn) { fn(); }; +var setImmediate = window.setImmediate; + // correct fetch for desktop application var printErr = undefined; @@ -233,7 +235,7 @@ else })(); -var Module=typeof Module!="undefined"?Module:{};var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=(url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText});if(ENVIRONMENT_IS_WORKER){readBinary=(url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)})}readAsync=((url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=(()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()});xhr.onerror=onerror;xhr.send(null)})}setWindowTitle=(title=>document.title=title)}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=value=>{tempRet0=value};var getTempRet0=()=>tempRet0;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscFonts"].onLoadModule();}];var runtimeInitialized=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="fonts.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["K"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["M"];addOnInit(Module["asm"]["L"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func=="number"){if(callback.arg===undefined){getWasmTableEntry(func)()}else{getWasmTableEntry(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}function CatchInfo(ptr){this.free=function(){_free(this.ptr);this.ptr=0};this.set_base_ptr=function(basePtr){HEAP32[this.ptr>>2]=basePtr};this.get_base_ptr=function(){return HEAP32[this.ptr>>2]};this.set_adjusted_ptr=function(adjustedPtr){HEAP32[this.ptr+4>>2]=adjustedPtr};this.get_adjusted_ptr_addr=function(){return this.ptr+4};this.get_adjusted_ptr=function(){return HEAP32[this.ptr+4>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_exception_info().get_type());if(isPointer){return HEAP32[this.get_base_ptr()>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.get_base_ptr()};this.get_exception_info=function(){return new ExceptionInfo(this.get_base_ptr())};if(ptr===undefined){this.ptr=_malloc(8);this.set_adjusted_ptr(0)}else{this.ptr=ptr}}var exceptionCaught=[];function exception_addRef(info){info.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(ptr){var catchInfo=new CatchInfo(ptr);var info=catchInfo.get_exception_info();if(!info.get_caught()){info.set_caught(true);uncaughtExceptionCount--}info.set_rethrown(false);exceptionCaught.push(catchInfo);exception_addRef(info);return catchInfo.get_exception_ptr()}var exceptionLast=0;function ___cxa_free_exception(ptr){return _free(new ExceptionInfo(ptr).ptr)}function exception_decRef(info){if(info.release_ref()&&!info.get_rethrown()){var destructor=info.get_destructor();if(destructor){getWasmTableEntry(destructor)(info.excPtr)}___cxa_free_exception(info.excPtr)}}function ___cxa_end_catch(){_setThrew(0);var catchInfo=exceptionCaught.pop();exception_decRef(catchInfo.get_exception_info());catchInfo.free();exceptionLast=0}function ___resumeException(catchInfoPtr){var catchInfo=new CatchInfo(catchInfoPtr);var ptr=catchInfo.get_base_ptr();if(!exceptionLast){exceptionLast=ptr}catchInfo.free();throw ptr}function ___cxa_find_matching_catch_2(){var thrown=exceptionLast;if(!thrown){setTempRet0(0);return 0|0}var info=new ExceptionInfo(thrown);var thrownType=info.get_type();var catchInfo=new CatchInfo;catchInfo.set_base_ptr(thrown);catchInfo.set_adjusted_ptr(thrown);if(!thrownType){setTempRet0(0);return catchInfo.ptr|0}var typeArray=Array.prototype.slice.call(arguments);for(var i=0;i>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function _emscripten_get_heap_max(){return 2147483648}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=_emscripten_get_heap_max();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}function _fd_close(fd){return 0}function _fd_read(fd,iov,iovcnt,pnum){var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAP32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}function _getTempRet0(){return getTempRet0()}function _llvm_eh_typeid_for(type){return type}var asmLibraryArg={"r":___cxa_allocate_exception,"o":___cxa_begin_catch,"s":___cxa_end_catch,"b":___cxa_find_matching_catch_2,"g":___cxa_find_matching_catch_3,"z":___cxa_free_exception,"q":___cxa_throw,"d":___resumeException,"w":___syscall_fcntl64,"E":___syscall_ioctl,"F":___syscall_openat,"p":_abort,"G":_emscripten_memcpy_big,"A":_emscripten_resize_heap,"B":_environ_get,"C":_environ_sizes_get,"u":_fd_close,"D":_fd_read,"y":_fd_seek,"v":_fd_write,"a":_getTempRet0,"j":invoke_ii,"e":invoke_iii,"l":invoke_iiii,"h":invoke_iiiii,"I":invoke_iiiiii,"m":invoke_iiiiiii,"x":invoke_iiiiiiiii,"J":invoke_v,"c":invoke_vi,"i":invoke_vii,"k":invoke_viii,"n":invoke_viiiffi,"f":invoke_viiii,"H":invoke_viiiiii,"t":_llvm_eh_typeid_for};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["L"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["N"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["O"]).apply(null,arguments)};var _ASC_FT_Malloc=Module["_ASC_FT_Malloc"]=function(){return(_ASC_FT_Malloc=Module["_ASC_FT_Malloc"]=Module["asm"]["P"]).apply(null,arguments)};var _ASC_FT_Free=Module["_ASC_FT_Free"]=function(){return(_ASC_FT_Free=Module["_ASC_FT_Free"]=Module["asm"]["Q"]).apply(null,arguments)};var _ASC_FT_Init=Module["_ASC_FT_Init"]=function(){return(_ASC_FT_Init=Module["_ASC_FT_Init"]=Module["asm"]["R"]).apply(null,arguments)};var _ASC_FT_Done_FreeType=Module["_ASC_FT_Done_FreeType"]=function(){return(_ASC_FT_Done_FreeType=Module["_ASC_FT_Done_FreeType"]=Module["asm"]["S"]).apply(null,arguments)};var _ASC_FT_Set_TrueType_HintProp=Module["_ASC_FT_Set_TrueType_HintProp"]=function(){return(_ASC_FT_Set_TrueType_HintProp=Module["_ASC_FT_Set_TrueType_HintProp"]=Module["asm"]["T"]).apply(null,arguments)};var _ASC_FT_Open_Face=Module["_ASC_FT_Open_Face"]=function(){return(_ASC_FT_Open_Face=Module["_ASC_FT_Open_Face"]=Module["asm"]["U"]).apply(null,arguments)};var _ASC_FT_Done_Face=Module["_ASC_FT_Done_Face"]=function(){return(_ASC_FT_Done_Face=Module["_ASC_FT_Done_Face"]=Module["asm"]["V"]).apply(null,arguments)};var _ASC_FT_SetCMapForCharCode=Module["_ASC_FT_SetCMapForCharCode"]=function(){return(_ASC_FT_SetCMapForCharCode=Module["_ASC_FT_SetCMapForCharCode"]=Module["asm"]["W"]).apply(null,arguments)};var _ASC_FT_GetFaceInfo=Module["_ASC_FT_GetFaceInfo"]=function(){return(_ASC_FT_GetFaceInfo=Module["_ASC_FT_GetFaceInfo"]=Module["asm"]["X"]).apply(null,arguments)};var _ASC_FT_GetFaceMaxAdvanceX=Module["_ASC_FT_GetFaceMaxAdvanceX"]=function(){return(_ASC_FT_GetFaceMaxAdvanceX=Module["_ASC_FT_GetFaceMaxAdvanceX"]=Module["asm"]["Y"]).apply(null,arguments)};var _ASC_FT_GetKerningX=Module["_ASC_FT_GetKerningX"]=function(){return(_ASC_FT_GetKerningX=Module["_ASC_FT_GetKerningX"]=Module["asm"]["Z"]).apply(null,arguments)};var _ASC_FT_Set_Transform=Module["_ASC_FT_Set_Transform"]=function(){return(_ASC_FT_Set_Transform=Module["_ASC_FT_Set_Transform"]=Module["asm"]["_"]).apply(null,arguments)};var _ASC_FT_Set_Char_Size=Module["_ASC_FT_Set_Char_Size"]=function(){return(_ASC_FT_Set_Char_Size=Module["_ASC_FT_Set_Char_Size"]=Module["asm"]["$"]).apply(null,arguments)};var _ASC_FT_Load_Glyph=Module["_ASC_FT_Load_Glyph"]=function(){return(_ASC_FT_Load_Glyph=Module["_ASC_FT_Load_Glyph"]=Module["asm"]["aa"]).apply(null,arguments)};var _ASC_FT_Glyph_Get_CBox=Module["_ASC_FT_Glyph_Get_CBox"]=function(){return(_ASC_FT_Glyph_Get_CBox=Module["_ASC_FT_Glyph_Get_CBox"]=Module["asm"]["ba"]).apply(null,arguments)};var _ASC_FT_Get_Glyph_Measure_Params=Module["_ASC_FT_Get_Glyph_Measure_Params"]=function(){return(_ASC_FT_Get_Glyph_Measure_Params=Module["_ASC_FT_Get_Glyph_Measure_Params"]=Module["asm"]["ca"]).apply(null,arguments)};var _ASC_FT_Get_Glyph_Render_Params=Module["_ASC_FT_Get_Glyph_Render_Params"]=function(){return(_ASC_FT_Get_Glyph_Render_Params=Module["_ASC_FT_Get_Glyph_Render_Params"]=Module["asm"]["da"]).apply(null,arguments)};var _ASC_FT_Get_Glyph_Render_Buffer=Module["_ASC_FT_Get_Glyph_Render_Buffer"]=function(){return(_ASC_FT_Get_Glyph_Render_Buffer=Module["_ASC_FT_Get_Glyph_Render_Buffer"]=Module["asm"]["ea"]).apply(null,arguments)};var _ASC_HB_LanguageFromString=Module["_ASC_HB_LanguageFromString"]=function(){return(_ASC_HB_LanguageFromString=Module["_ASC_HB_LanguageFromString"]=Module["asm"]["fa"]).apply(null,arguments)};var _ASC_HB_ShapeText=Module["_ASC_HB_ShapeText"]=function(){return(_ASC_HB_ShapeText=Module["_ASC_HB_ShapeText"]=Module["asm"]["ga"]).apply(null,arguments)};var _ASC_HB_FontFree=Module["_ASC_HB_FontFree"]=function(){return(_ASC_HB_FontFree=Module["_ASC_HB_FontFree"]=Module["asm"]["ha"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["ia"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["ja"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["ka"]).apply(null,arguments)};var ___cxa_can_catch=Module["___cxa_can_catch"]=function(){return(___cxa_can_catch=Module["___cxa_can_catch"]=Module["asm"]["la"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["ma"]).apply(null,arguments)};function invoke_v(index){var sp=stackSave();try{getWasmTableEntry(index)()}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{getWasmTableEntry(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return getWasmTableEntry(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiffi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); +var Module=typeof Module!="undefined"?Module:{};var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=(url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText});if(ENVIRONMENT_IS_WORKER){readBinary=(url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)})}readAsync=((url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=(()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()});xhr.onerror=onerror;xhr.send(null)})}setWindowTitle=(title=>document.title=title)}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=value=>{tempRet0=value};var getTempRet0=()=>tempRet0;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscFonts"].onLoadModule();}];var runtimeInitialized=false;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="fonts.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["Y"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["_"];addOnInit(Module["asm"]["Z"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func=="number"){if(callback.arg===undefined){getWasmTableEntry(func)()}else{getWasmTableEntry(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}function CatchInfo(ptr){this.free=function(){_free(this.ptr);this.ptr=0};this.set_base_ptr=function(basePtr){HEAP32[this.ptr>>2]=basePtr};this.get_base_ptr=function(){return HEAP32[this.ptr>>2]};this.set_adjusted_ptr=function(adjustedPtr){HEAP32[this.ptr+4>>2]=adjustedPtr};this.get_adjusted_ptr_addr=function(){return this.ptr+4};this.get_adjusted_ptr=function(){return HEAP32[this.ptr+4>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_exception_info().get_type());if(isPointer){return HEAP32[this.get_base_ptr()>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.get_base_ptr()};this.get_exception_info=function(){return new ExceptionInfo(this.get_base_ptr())};if(ptr===undefined){this.ptr=_malloc(8);this.set_adjusted_ptr(0)}else{this.ptr=ptr}}var exceptionCaught=[];function exception_addRef(info){info.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(ptr){var catchInfo=new CatchInfo(ptr);var info=catchInfo.get_exception_info();if(!info.get_caught()){info.set_caught(true);uncaughtExceptionCount--}info.set_rethrown(false);exceptionCaught.push(catchInfo);exception_addRef(info);return catchInfo.get_exception_ptr()}var exceptionLast=0;function ___cxa_free_exception(ptr){return _free(new ExceptionInfo(ptr).ptr)}function exception_decRef(info){if(info.release_ref()&&!info.get_rethrown()){var destructor=info.get_destructor();if(destructor){getWasmTableEntry(destructor)(info.excPtr)}___cxa_free_exception(info.excPtr)}}function ___cxa_end_catch(){_setThrew(0);var catchInfo=exceptionCaught.pop();exception_decRef(catchInfo.get_exception_info());catchInfo.free();exceptionLast=0}function ___resumeException(catchInfoPtr){var catchInfo=new CatchInfo(catchInfoPtr);var ptr=catchInfo.get_base_ptr();if(!exceptionLast){exceptionLast=ptr}catchInfo.free();throw ptr}function ___cxa_find_matching_catch_2(){var thrown=exceptionLast;if(!thrown){setTempRet0(0);return 0|0}var info=new ExceptionInfo(thrown);var thrownType=info.get_type();var catchInfo=new CatchInfo;catchInfo.set_base_ptr(thrown);catchInfo.set_adjusted_ptr(thrown);if(!thrownType){setTempRet0(0);return catchInfo.ptr|0}var typeArray=Array.prototype.slice.call(arguments);for(var i=0;i>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function _emscripten_get_heap_max(){return 2147483648}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=_emscripten_get_heap_max();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}function _exit(status){exit(status)}function _fd_close(fd){return 0}function _fd_read(fd,iov,iovcnt,pnum){var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAP32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}function _getTempRet0(){return getTempRet0()}function _llvm_eh_typeid_for(type){return type}function _setTempRet0(val){setTempRet0(val)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]){}return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value=="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var days=date.tm_yday+7-date.tm_wday;return leadingNulls(Math.floor(days/7),2)},"%V":function(date){var val=Math.floor((date.tm_yday+7-(date.tm_wday+6)%7)/7);if((date.tm_wday+371-date.tm_yday-2)%7<=2){val++}if(!val){val=52;var dec31=(date.tm_wday+7-date.tm_yday-1)%7;if(dec31==4||dec31==5&&__isLeapYear(date.tm_year%400-1)){val++}}else if(val==53){var jan1=(date.tm_wday+371-date.tm_yday)%7;if(jan1!=4&&(jan1!=3||!__isLeapYear(date.tm_year)))val=1}return leadingNulls(val,2)},"%w":function(date){return date.tm_wday},"%W":function(date){var days=date.tm_yday+7-(date.tm_wday+6)%7;return leadingNulls(Math.floor(days/7),2)},"%y":function(date){return(date.tm_year+1900).toString().substring(2)},"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};pattern=pattern.replace(/%%/g,"\0\0");for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}pattern=pattern.replace(/\0\0/g,"%");var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var asmLibraryArg={"u":___cxa_allocate_exception,"q":___cxa_begin_catch,"r":___cxa_end_catch,"b":___cxa_find_matching_catch_2,"g":___cxa_find_matching_catch_3,"A":___cxa_free_exception,"H":___cxa_rethrow,"t":___cxa_throw,"P":___cxa_uncaught_exceptions,"d":___resumeException,"G":___syscall_fcntl64,"U":___syscall_ioctl,"V":___syscall_openat,"z":_abort,"W":_emscripten_memcpy_big,"Q":_emscripten_resize_heap,"R":_environ_get,"S":_environ_sizes_get,"s":_exit,"E":_fd_close,"T":_fd_read,"M":_fd_seek,"F":_fd_write,"a":_getTempRet0,"C":invoke_diii,"D":invoke_fiii,"n":invoke_i,"c":invoke_ii,"e":invoke_iii,"m":invoke_iiii,"i":invoke_iiiii,"J":invoke_iiiiii,"o":invoke_iiiiiii,"I":invoke_iiiiiiii,"K":invoke_iiiiiiiii,"x":invoke_iiiiiiiiiiii,"L":invoke_jiiii,"k":invoke_v,"h":invoke_vi,"f":invoke_vii,"l":invoke_viii,"y":invoke_viiiffi,"j":invoke_viiii,"X":invoke_viiiiii,"p":invoke_viiiiiii,"v":invoke_viiiiiiiiii,"w":invoke_viiiiiiiiiiiiiii,"B":_llvm_eh_typeid_for,"N":_setTempRet0,"O":_strftime_l};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["Z"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["$"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["aa"]).apply(null,arguments)};var _ASC_FT_Malloc=Module["_ASC_FT_Malloc"]=function(){return(_ASC_FT_Malloc=Module["_ASC_FT_Malloc"]=Module["asm"]["ba"]).apply(null,arguments)};var _ASC_FT_Free=Module["_ASC_FT_Free"]=function(){return(_ASC_FT_Free=Module["_ASC_FT_Free"]=Module["asm"]["ca"]).apply(null,arguments)};var _ASC_FT_Init=Module["_ASC_FT_Init"]=function(){return(_ASC_FT_Init=Module["_ASC_FT_Init"]=Module["asm"]["da"]).apply(null,arguments)};var _ASC_FT_Done_FreeType=Module["_ASC_FT_Done_FreeType"]=function(){return(_ASC_FT_Done_FreeType=Module["_ASC_FT_Done_FreeType"]=Module["asm"]["ea"]).apply(null,arguments)};var _ASC_FT_Set_TrueType_HintProp=Module["_ASC_FT_Set_TrueType_HintProp"]=function(){return(_ASC_FT_Set_TrueType_HintProp=Module["_ASC_FT_Set_TrueType_HintProp"]=Module["asm"]["fa"]).apply(null,arguments)};var _ASC_FT_Open_Face=Module["_ASC_FT_Open_Face"]=function(){return(_ASC_FT_Open_Face=Module["_ASC_FT_Open_Face"]=Module["asm"]["ga"]).apply(null,arguments)};var _ASC_FT_Done_Face=Module["_ASC_FT_Done_Face"]=function(){return(_ASC_FT_Done_Face=Module["_ASC_FT_Done_Face"]=Module["asm"]["ha"]).apply(null,arguments)};var _ASC_FT_SetCMapForCharCode=Module["_ASC_FT_SetCMapForCharCode"]=function(){return(_ASC_FT_SetCMapForCharCode=Module["_ASC_FT_SetCMapForCharCode"]=Module["asm"]["ia"]).apply(null,arguments)};var _ASC_FT_GetFaceInfo=Module["_ASC_FT_GetFaceInfo"]=function(){return(_ASC_FT_GetFaceInfo=Module["_ASC_FT_GetFaceInfo"]=Module["asm"]["ja"]).apply(null,arguments)};var _ASC_FT_GetFaceMaxAdvanceX=Module["_ASC_FT_GetFaceMaxAdvanceX"]=function(){return(_ASC_FT_GetFaceMaxAdvanceX=Module["_ASC_FT_GetFaceMaxAdvanceX"]=Module["asm"]["ka"]).apply(null,arguments)};var _ASC_FT_GetKerningX=Module["_ASC_FT_GetKerningX"]=function(){return(_ASC_FT_GetKerningX=Module["_ASC_FT_GetKerningX"]=Module["asm"]["la"]).apply(null,arguments)};var _ASC_FT_Set_Transform=Module["_ASC_FT_Set_Transform"]=function(){return(_ASC_FT_Set_Transform=Module["_ASC_FT_Set_Transform"]=Module["asm"]["ma"]).apply(null,arguments)};var _ASC_FT_Set_Char_Size=Module["_ASC_FT_Set_Char_Size"]=function(){return(_ASC_FT_Set_Char_Size=Module["_ASC_FT_Set_Char_Size"]=Module["asm"]["na"]).apply(null,arguments)};var _ASC_FT_Load_Glyph=Module["_ASC_FT_Load_Glyph"]=function(){return(_ASC_FT_Load_Glyph=Module["_ASC_FT_Load_Glyph"]=Module["asm"]["oa"]).apply(null,arguments)};var _ASC_FT_Glyph_Get_CBox=Module["_ASC_FT_Glyph_Get_CBox"]=function(){return(_ASC_FT_Glyph_Get_CBox=Module["_ASC_FT_Glyph_Get_CBox"]=Module["asm"]["pa"]).apply(null,arguments)};var _ASC_FT_Get_Glyph_Measure_Params=Module["_ASC_FT_Get_Glyph_Measure_Params"]=function(){return(_ASC_FT_Get_Glyph_Measure_Params=Module["_ASC_FT_Get_Glyph_Measure_Params"]=Module["asm"]["qa"]).apply(null,arguments)};var _ASC_FT_Get_Glyph_Render_Params=Module["_ASC_FT_Get_Glyph_Render_Params"]=function(){return(_ASC_FT_Get_Glyph_Render_Params=Module["_ASC_FT_Get_Glyph_Render_Params"]=Module["asm"]["ra"]).apply(null,arguments)};var _ASC_FT_Get_Glyph_Render_Buffer=Module["_ASC_FT_Get_Glyph_Render_Buffer"]=function(){return(_ASC_FT_Get_Glyph_Render_Buffer=Module["_ASC_FT_Get_Glyph_Render_Buffer"]=Module["asm"]["sa"]).apply(null,arguments)};var _ASC_HB_LanguageFromString=Module["_ASC_HB_LanguageFromString"]=function(){return(_ASC_HB_LanguageFromString=Module["_ASC_HB_LanguageFromString"]=Module["asm"]["ta"]).apply(null,arguments)};var _ASC_HB_ShapeText=Module["_ASC_HB_ShapeText"]=function(){return(_ASC_HB_ShapeText=Module["_ASC_HB_ShapeText"]=Module["asm"]["ua"]).apply(null,arguments)};var _ASC_HB_FontFree=Module["_ASC_HB_FontFree"]=function(){return(_ASC_HB_FontFree=Module["_ASC_HB_FontFree"]=Module["asm"]["va"]).apply(null,arguments)};var _hyphenCreateApplication=Module["_hyphenCreateApplication"]=function(){return(_hyphenCreateApplication=Module["_hyphenCreateApplication"]=Module["asm"]["wa"]).apply(null,arguments)};var _hyphenDestroyApplication=Module["_hyphenDestroyApplication"]=function(){return(_hyphenDestroyApplication=Module["_hyphenDestroyApplication"]=Module["asm"]["xa"]).apply(null,arguments)};var _hyphenLoadDictionary=Module["_hyphenLoadDictionary"]=function(){return(_hyphenLoadDictionary=Module["_hyphenLoadDictionary"]=Module["asm"]["ya"]).apply(null,arguments)};var _hyphenCheckDictionary=Module["_hyphenCheckDictionary"]=function(){return(_hyphenCheckDictionary=Module["_hyphenCheckDictionary"]=Module["asm"]["za"]).apply(null,arguments)};var _hyphenWord=Module["_hyphenWord"]=function(){return(_hyphenWord=Module["_hyphenWord"]=Module["asm"]["Aa"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["Ba"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["Ca"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["Da"]).apply(null,arguments)};var ___cxa_can_catch=Module["___cxa_can_catch"]=function(){return(___cxa_can_catch=Module["___cxa_can_catch"]=Module["asm"]["Ea"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["Fa"]).apply(null,arguments)};var dynCall_jiiii=Module["dynCall_jiiii"]=function(){return(dynCall_jiiii=Module["dynCall_jiiii"]=Module["asm"]["Ga"]).apply(null,arguments)};function invoke_v(index){var sp=stackSave();try{getWasmTableEntry(index)()}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{getWasmTableEntry(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return getWasmTableEntry(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiffi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_i(index){var sp=stackSave();try{return getWasmTableEntry(index)()}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_fiii(index,a1,a2,a3){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_diii(index,a1,a2,a3){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_jiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_jiiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){EXITSTATUS=status;procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); function CReturnObject() @@ -382,6 +384,86 @@ AscFonts.HB_ShapeText = function(fontFile, text, features, script, direction, la return g_return_obj_count; }; +var hyphenApplication = 0; +AscFonts.Hyphen_Init = function() +{ + hyphenApplication = Module["_hyphenCreateApplication"](); +}; +AscFonts.Hyphen_Destroy = function() +{ + Module["_hyphenDestroyApplication"](hyphenApplication); +}; +AscFonts.Hyphen_CheckDictionary = function(lang) +{ + return false; +}; +AscFonts.Hyphen_LoadDictionary = function(lang, data) +{ + let dictSize = data.byteLength; + let dictPointer = Module["_malloc"](dictSize); + Module["HEAP8"].set(new Uint8ClampedArray(data), dictPointer); + + let result = Module["_hyphenLoadDictionary"](hyphenApplication, lang, dictPointer, dictSize); + + Module["_free"](dictPointer); + + return (result === 0) ? true : false; +}; + +function GetUtf8SymbolLen(c) +{ + if (0x00 == (c & 0x80)) + return 1; + else if (0x00 == (c & 0x20)) + return 2; + else if (0x00 == (c & 0x10)) + return 3; + else if (0x00 == (c & 0x0F)) + return 4; + else if (0x00 == (c & 0x08)) + return 4; + else if (0x00 == (c & 0x04)) + return 5; + return 6; +} + +AscFonts.Hyphen_Word = function(lang, word) +{ + let wordPointer = word.toUtf8Pointer(); + let wordLen = wordPointer.length; + let hyphens = []; + + if (wordPointer) + { + const ptr = Module._hyphenWord(hyphenApplication, lang, wordPointer.ptr, wordLen); + + let curUnicode = new Uint8ClampedArray(Module["HEAP8"].buffer, wordPointer.ptr, wordLen); + let posUnicode = 0; + let posUtf8 = 0; + + let vector = new Uint8ClampedArray(Module["HEAP8"].buffer, ptr, wordLen + 5); + + let pos = 0; + while (vector[pos] != 0) + { + if (1 === (vector[pos] & 1)) + { + while (posUtf8 < pos) + { + ++posUnicode; + posUtf8 += GetUtf8SymbolLen(curUnicode[posUtf8]); + } + hyphens.push(posUnicode); + } + + pos++; + } + + wordPointer.free(); + } + return hyphens; +}; + AscFonts.onLoadModule(); })(window, undefined); diff --git a/common/libfont/engine/fonts.wasm b/common/libfont/engine/fonts.wasm index cd1779ba2c..0ae0f5635f 100644 Binary files a/common/libfont/engine/fonts.wasm and b/common/libfont/engine/fonts.wasm differ diff --git a/common/libfont/engine/fonts_ie.js b/common/libfont/engine/fonts_ie.js index a922ea2d34..2db037f87b 100644 --- a/common/libfont/engine/fonts_ie.js +++ b/common/libfont/engine/fonts_ie.js @@ -302,26 +302,28 @@ tryParseAsDataURI(url);if(data)return intArrayToString(data);throw err$0;}};if(E if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true; var WebAssembly={Memory:function(opts){this.buffer=new ArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=( // EMSCRIPTEN_START_ASM -function instantiate(Sa){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new Uint8Array(123);for(var a=25;a>=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>2];d=e+1|0;h=F[a+4>>2];if(d>>>0>h>>>0){break b}c:{if(e>>>0>>0){i=F[a>>2];c=G[i+e|0];if((c|0)==12){e=w;if(d>>>0>=h>>>0){break c}c=G[d+i|0]|256;e=d}if(e>>>0>=h>>>0){e=c;break c}F[a+12>>2]=e+1;break a}D[a+16|0]=1;c=65535;e=v;if((e|0)==12){break a}}D[a+16|0]=1;F[a+12>>2]=h;c=e;break a}c=F[a+92>>2]?11:14}d:{e:{f:{switch(c-10|0){case 0:case 19:e=F[a+24>>2]-1|0;g:{if(e>>>0>=I[a+32>>2]){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break g}e=F[a+36>>2]+(e<<5)|0}if(!F[e+20>>2]){break e}D[a+40|0]=1;break d;case 6:Mo(a);break d;case 5:break f;default:break e}}c=F[a+32>>2];e=F[a+24>>2]-1|0;h:{if(c>>>0<=e>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break h}e=F[a+36>>2]+(e<<5)|0}if(F[e+20>>2]){D[a+40|0]=1;break d}e=F[a+24>>2];i:{j:{if(e){e=e-1|0;F[a+24>>2]=e;if(c>>>0<=e>>>0){break j}e=F[a+36>>2]+(e<<5)|0;break i}D[a+20|0]=1}e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432}f=K[e>>3];k:{if(N(f)<2147483648){e=~~f;break k}e=-2147483648}if((e|0)<0){D[a+20|0]=1;e=0}l:{if(G[a+177|0]|G[a+178|0]){D[a+40|0]=1;break l}F[a+160>>2]=e}F[a+24>>2]=0;D[a+177|0]=1;break d}f=0;k=0;l=0;g=0;u=0;s=Ga-16|0;Ga=s;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{switch(c-1|0){default:switch(c-255|0){case 38:break t;case 37:break u;case 36:break v;case 35:break w;case 0:break P;default:break s};case 10:if(G[a+16|0]){D[a+40|0]=1}e=F[a+92>>2];R:{S:{if(e){e=e-1|0;F[a+92>>2]=e;if(e>>>0>=I[a+100>>2]){break S}e=F[a+104>>2]+L(e,28)|0;break R}D[a+88|0]=1}F[61614]=F[40914];e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432}c=F[e+4>>2];F[a+44>>2]=F[e>>2];F[a+48>>2]=c;F[a+68>>2]=F[e+24>>2];c=F[e+20>>2];F[a+60>>2]=F[e+16>>2];F[a+64>>2]=c;c=F[e+12>>2];F[a+52>>2]=F[e+8>>2];F[a+56>>2]=c;c=F[e+8>>2];d=F[e+12>>2];h=F[e>>2];i=F[e+4>>2];D[a+16|0]=G[e+16|0];F[a+8>>2]=c;F[a+12>>2]=d;F[a>>2]=h;F[a+4>>2]=i;break m;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break s;case 30:break x;case 29:break y;case 26:break z;case 25:break A;case 24:break B;case 23:break C;case 7:break D;case 6:break E;case 5:break F;case 4:break G;case 3:break H;case 21:break I;case 20:break J;case 18:case 19:break K;case 2:case 22:break L;case 0:case 17:break M;case 28:break N;case 9:break O;case 13:break Q}}D[a+72|0]=1;F[a+24>>2]=0;break m}if(G[a+16|0]){break m}c=F[a+4>>2];e=F[a+12>>2];if(c>>>0>>0){break m}T:{if(c>>>0<=e>>>0){D[a+16|0]=1;e=163632;break T}e=e+F[a>>2]|0}c=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);d=c>>>8&65280|c>>>24;e=F[a+24>>2];U:{if(e>>>0>2]){F[a+24>>2]=e+1;e=F[a+36>>2]+(e<<5)|0;break U}D[a+20|0]=1;e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432}F[e+8>>2]=0;F[e+12>>2]=0;if(F[e+16>>2]>=0){F[e+20>>2]=0}K[e>>3]=+(d|(c<<8&16711680|c<<24))*152587890625e-16;if(G[a+16|0]){e=F[a+4>>2];break n}e=F[a+4>>2];c=F[a+12>>2];if(e>>>0>>0){break n}c=c+4|0;if(c>>>0>e>>>0){break n}F[a+12>>2]=c;break m}Hf(a,a+116|0,2);break m}Hf(a,a+108|0,1);break m}e=F[a+24>>2];F[a+24>>2]=0;F[a+76>>2]=F[a+76>>2]+(e>>>1|0);break m}e=F[a+24>>2];F[a+24>>2]=0;F[a+80>>2]=F[a+80>>2]+(e>>>1|0);break m}V:{if(G[a+74|0]){e=F[a+84>>2];break V}D[a+74|0]=1;e=F[a+80>>2]+(F[a+24>>2]>>>1|0)|0;F[a+80>>2]=e;e=(e+F[a+76>>2]|0)+7>>>3|0;F[a+84>>2]=e}if(G[a+16|0]){break m}c=F[a+12>>2];d=c+e|0;e=F[a+4>>2];if(d>>>0>e>>>0){break m}F[a+24>>2]=0;if(c>>>0<=e>>>0){F[a+12>>2]=d;break m}D[a+16|0]=1;F[a+12>>2]=e;break m}h=Ga-16|0;Ga=h;e=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=e;e=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=e;e=F[a+24>>2];W:{X:{if(e){e=e-1|0;F[a+24>>2]=e;if(e>>>0>=I[a+32>>2]){break X}e=F[a+36>>2]+(e<<5)|0;break W}D[a+20|0]=1}e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432}l=G[a+176|0];Y:{if(!l){break Y}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Y}d=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];if((c|0)!=1){j=c&-2;while(1){m=g|1;f=+J[i+(m<<2)>>2]*K[d+(m<<3)>>3]+(+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}f=c&1?+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Y}F[e+20>>2]=0}c=F[a+24>>2];Z:{_:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){break _}c=F[a+36>>2]+(c<<5)|0;break Z}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432}$:{if(!l){break $}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break $}l=d&1;i=F[c+24>>2];k=F[a+172>>2];f=K[c>>3];aa:{if((d|0)==1){g=0;break aa}j=d&-2;g=0;d=0;while(1){m=g|1;f=+J[k+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[k+(g<<2)>>2]*K[i+(g<<3)>>3]+f);g=g+2|0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}f=l?+J[k+(g<<2)>>2]*K[i+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break $}F[c+20>>2]=0}K[h>>3]=K[h>>3]+K[c>>3];K[h+8>>3]=K[h+8>>3]+K[e>>3];zh(b,h);e=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=e;e=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=e;Ga=h+16|0;if(!G[a+73|0]){if(!G[a+74|0]){D[a+74|0]=1;e=F[a+80>>2]+(F[a+24>>2]>>>1|0)|0;F[a+80>>2]=e;F[a+84>>2]=(e+F[a+76>>2]|0)+7>>>3}D[a+73|0]=1}F[a+24>>2]=0;break m}e=F[a+140>>2];F[s+8>>2]=F[a+136>>2];F[s+12>>2]=e;e=F[a+132>>2];F[s>>2]=F[a+128>>2];F[s+4>>2]=e;e=F[a+24>>2];ba:{ca:{if(e){e=e-1|0;F[a+24>>2]=e;if(e>>>0>=I[a+32>>2]){break ca}c=F[a+36>>2]+(e<<5)|0;break ba}D[a+20|0]=1}e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;c=246432}if(!G[a+176|0]){break o}e=F[c+20>>2];if(!e|(e|0)!=F[a+168>>2]){break o}i=e&1;d=F[c+24>>2];h=F[a+172>>2];f=K[c>>3];if((e|0)==1){e=0;break p}g=e&-2;e=0;while(1){l=e|1;f=+J[h+(l<<2)>>2]*K[d+(l<<3)>>3]+(+J[h+(e<<2)>>2]*K[d+(e<<3)>>3]+f);e=e+2|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}break p}e=F[a+140>>2];F[s+8>>2]=F[a+136>>2];F[s+12>>2]=e;e=F[a+132>>2];F[s>>2]=F[a+128>>2];F[s+4>>2]=e;e=F[a+24>>2];da:{ea:{if(e){e=e-1|0;F[a+24>>2]=e;if(e>>>0>=I[a+32>>2]){break ea}c=F[a+36>>2]+(e<<5)|0;break da}D[a+20|0]=1}e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;c=246432}if(!G[a+176|0]){break q}e=F[c+20>>2];if(!e|(e|0)!=F[a+168>>2]){break q}i=e&1;d=F[c+24>>2];h=F[a+172>>2];f=K[c>>3];if((e|0)==1){e=0;break r}g=e&-2;e=0;while(1){l=e|1;f=+J[h+(l<<2)>>2]*K[d+(l<<3)>>3]+(+J[h+(e<<2)>>2]*K[d+(e<<3)>>3]+f);e=e+2|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}break r}e=0;h=Ga-16|0;Ga=h;k=F[a+24>>2];if(k>>>0>=2){c=2;while(1){d=e;e=c;c=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=c;c=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=c;if(d>>>0>=k>>>0){D[a+20|0]=1}m=F[a+32>>2];fa:{if(m>>>0<=d>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break fa}c=F[a+36>>2]+(d<<5)|0}n=G[a+176|0];ga:{if(!n){break ga}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break ga}l=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];k=0;if((i|0)!=1){o=i&-2;g=0;while(1){p=k|1;f=+J[j+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}f=i&1?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ga}F[c+20>>2]=0}d=d|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}ha:{if(d>>>0>=m>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break ha}d=F[a+36>>2]+(d<<5)|0}ia:{if(!n){break ia}i=F[d+20>>2];if(!i|(i|0)!=F[a+168>>2]){break ia}l=F[d+24>>2];j=F[a+172>>2];f=K[d>>3];k=0;if((i|0)!=1){m=i&-2;g=0;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}f=i&1?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break ia}F[d+20>>2]=0}K[h>>3]=K[h>>3]+K[c>>3];K[h+8>>3]=K[h+8>>3]+K[d>>3];Vc(b,h);c=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=c;c=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=c;c=e+2|0;k=F[a+24>>2];if(c>>>0<=k>>>0){continue}break}}Ga=h+16|0;F[a+24>>2]=0;break m}e=0;h=Ga-16|0;Ga=h;g=F[a+24>>2];if(g>>>0>=2){c=2;while(1){d=e;e=c;c=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=c;c=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=c;if(d>>>0>=g>>>0){D[a+20|0]=1}ja:{if(d>>>0>=I[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ja}c=F[a+36>>2]+(d<<5)|0}ka:{if(!G[a+176|0]){break ka}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break ka}k=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];g=0;if((i|0)!=1){m=i&-2;l=0;while(1){n=g|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}f=i&1?+J[j+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ka}F[c+20>>2]=0}K[h>>3]=K[h>>3]+K[c>>3];Vc(b,h);c=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=c;c=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=c;c=d|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}la:{if(c>>>0>=I[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break la}c=F[a+36>>2]+(c<<5)|0}ma:{if(!G[a+176|0]){break ma}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break ma}i=F[c+24>>2];k=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+J[k+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[k+(g<<2)>>2]*K[i+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+J[k+(g<<2)>>2]*K[i+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ma}F[c+20>>2]=0}K[h+8>>3]=K[h+8>>3]+K[c>>3];Vc(b,h);c=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=c;c=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=c;g=F[a+24>>2];c=e+2|0;if(g>>>0>=c>>>0){continue}break}}if(e>>>0>>0){c=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=c;c=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=c;na:{if(I[a+32>>2]<=e>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break na}e=F[a+36>>2]+(e<<5)|0}oa:{if(!G[a+176|0]){break oa}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break oa}k=c&1;d=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];pa:{if((c|0)==1){g=0;break pa}c=c&-2;g=0;l=0;while(1){j=g|1;f=+J[i+(j<<2)>>2]*K[d+(j<<3)>>3]+(+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break oa}F[e+20>>2]=0}K[h>>3]=K[h>>3]+K[e>>3];Vc(b,h);e=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=e;e=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=e}Ga=h+16|0;F[a+24>>2]=0;break m}e=0;h=Ga-16|0;Ga=h;g=F[a+24>>2];if(g>>>0>=2){c=2;while(1){d=e;e=c;c=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=c;c=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=c;if(d>>>0>=g>>>0){D[a+20|0]=1}qa:{if(d>>>0>=I[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break qa}c=F[a+36>>2]+(d<<5)|0}ra:{if(!G[a+176|0]){break ra}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break ra}k=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];g=0;if((i|0)!=1){m=i&-2;l=0;while(1){n=g|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}f=i&1?+J[j+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ra}F[c+20>>2]=0}K[h+8>>3]=K[h+8>>3]+K[c>>3];Vc(b,h);c=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=c;c=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=c;c=d|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}sa:{if(c>>>0>=I[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break sa}c=F[a+36>>2]+(c<<5)|0}ta:{if(!G[a+176|0]){break ta}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break ta}i=F[c+24>>2];k=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+J[k+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[k+(g<<2)>>2]*K[i+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+J[k+(g<<2)>>2]*K[i+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ta}F[c+20>>2]=0}K[h>>3]=K[h>>3]+K[c>>3];Vc(b,h);c=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=c;c=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=c;g=F[a+24>>2];c=e+2|0;if(g>>>0>=c>>>0){continue}break}}if(e>>>0>>0){c=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=c;c=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=c;ua:{if(I[a+32>>2]<=e>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ua}e=F[a+36>>2]+(e<<5)|0}va:{if(!G[a+176|0]){break va}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break va}k=c&1;d=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];wa:{if((c|0)==1){g=0;break wa}c=c&-2;g=0;l=0;while(1){j=g|1;f=+J[i+(j<<2)>>2]*K[d+(j<<3)>>3]+(+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break va}F[e+20>>2]=0}K[h+8>>3]=K[h+8>>3]+K[e>>3];Vc(b,h);e=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=e;e=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=e}Ga=h+16|0;F[a+24>>2]=0;break m}e=0;i=Ga-48|0;Ga=i;g=F[a+24>>2];if(g>>>0>=6){c=6;while(1){h=e;e=c;c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;if(g>>>0<=h>>>0){D[a+20|0]=1}k=F[a+32>>2];xa:{if(k>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break xa}c=F[a+36>>2]+(h<<5)|0}j=G[a+176|0];ya:{if(!j){break ya}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break ya}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ya}F[c+20>>2]=0}d=h|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}za:{if(d>>>0>=k>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break za}d=F[a+36>>2]+(d<<5)|0}Aa:{if(!j){break Aa}m=F[d+20>>2];if(!m|(m|0)!=F[a+168>>2]){break Aa}n=F[d+24>>2];o=F[a+172>>2];f=K[d>>3];g=0;if((m|0)!=1){p=m&-2;l=0;while(1){r=g|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=m&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Aa}F[d+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[c>>3];K[i+40>>3]=K[i+40>>3]+K[d>>3];c=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=c;c=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=c;c=h+2|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Ba:{if(c>>>0>=k>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ba}c=F[a+36>>2]+(c<<5)|0}Ca:{if(!j){break Ca}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Ca}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Ca}F[c+20>>2]=0}d=h+3|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Da:{if(d>>>0>=k>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Da}d=F[a+36>>2]+(d<<5)|0}Ea:{if(!j){break Ea}m=F[d+20>>2];if(!m|(m|0)!=F[a+168>>2]){break Ea}n=F[d+24>>2];o=F[a+172>>2];f=K[d>>3];g=0;if((m|0)!=1){p=m&-2;l=0;while(1){r=g|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=m&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Ea}F[d+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[c>>3];K[i+24>>3]=K[i+24>>3]+K[d>>3];c=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=c;c=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=c;c=h+4|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Fa:{if(c>>>0>=k>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Fa}c=F[a+36>>2]+(c<<5)|0}Ga:{if(!j){break Ga}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Ga}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Ga}F[c+20>>2]=0}d=h+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ha:{if(d>>>0>=k>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Ha}d=F[a+36>>2]+(d<<5)|0}Ia:{if(!j){break Ia}h=F[d+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Ia}k=F[d+24>>2];j=F[a+172>>2];f=K[d>>3];g=0;if((h|0)!=1){m=h&-2;l=0;while(1){n=g|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}f=h&1?+J[j+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Ia}F[d+20>>2]=0}K[i>>3]=K[i>>3]+K[c>>3];K[i+8>>3]=K[i+8>>3]+K[d>>3];Qb(b,i+32|0,i+16|0,i);c=F[i+12>>2];F[a+136>>2]=F[i+8>>2];F[a+140>>2]=c;c=F[i+4>>2];F[a+128>>2]=F[i>>2];F[a+132>>2]=c;g=F[a+24>>2];c=e+6|0;if(g>>>0>=c>>>0){continue}break}}Ga=i+48|0;F[a+24>>2]=0;break m}e=0;i=Ga-48|0;Ga=i;g=F[a+24>>2];if(g>>>0>=8){p=g-2|0;c=6;while(1){h=e;e=c;c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;if(g>>>0<=h>>>0){D[a+20|0]=1}l=F[a+32>>2];Ja:{if(l>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ja}c=F[a+36>>2]+(h<<5)|0}j=G[a+176|0];Ka:{if(!j){break Ka}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Ka}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;k=0;while(1){r=g|1;f=+J[n+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Ka}F[c+20>>2]=0}d=h|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}La:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break La}d=F[a+36>>2]+(d<<5)|0}Ma:{if(!j){break Ma}m=F[d+20>>2];if(!m|(m|0)!=F[a+168>>2]){break Ma}n=F[d+24>>2];o=F[a+172>>2];f=K[d>>3];g=0;if((m|0)!=1){r=m&-2;k=0;while(1){t=g|1;f=+J[o+(t<<2)>>2]*K[n+(t<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}f=m&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Ma}F[d+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[c>>3];K[i+40>>3]=K[i+40>>3]+K[d>>3];c=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=c;c=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=c;c=h+2|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Na:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Na}c=F[a+36>>2]+(c<<5)|0}Oa:{if(!j){break Oa}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Oa}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;k=0;while(1){r=g|1;f=+J[n+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Oa}F[c+20>>2]=0}d=h+3|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Pa:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Pa}d=F[a+36>>2]+(d<<5)|0}Qa:{if(!j){break Qa}m=F[d+20>>2];if(!m|(m|0)!=F[a+168>>2]){break Qa}n=F[d+24>>2];o=F[a+172>>2];f=K[d>>3];g=0;if((m|0)!=1){r=m&-2;k=0;while(1){t=g|1;f=+J[o+(t<<2)>>2]*K[n+(t<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}f=m&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Qa}F[d+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[c>>3];K[i+24>>3]=K[i+24>>3]+K[d>>3];c=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=c;c=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=c;c=h+4|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Ra:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ra}c=F[a+36>>2]+(c<<5)|0}Sa:{if(!j){break Sa}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Sa}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;k=0;while(1){r=g|1;f=+J[n+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Sa}F[c+20>>2]=0}d=h+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ta:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Ta}d=F[a+36>>2]+(d<<5)|0}Ua:{if(!j){break Ua}h=F[d+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Ua}l=F[d+24>>2];j=F[a+172>>2];f=K[d>>3];g=0;if((h|0)!=1){m=h&-2;k=0;while(1){n=g|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(g<<2)>>2]*K[l+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=h&1?+J[j+(g<<2)>>2]*K[l+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Ua}F[d+20>>2]=0}K[i>>3]=K[i>>3]+K[c>>3];K[i+8>>3]=K[i+8>>3]+K[d>>3];Qb(b,i+32|0,i+16|0,i);c=F[i+12>>2];F[a+136>>2]=F[i+8>>2];F[a+140>>2]=c;c=F[i+4>>2];F[a+128>>2]=F[i>>2];F[a+132>>2]=c;g=F[a+24>>2];c=e+6|0;if(p>>>0>=c>>>0){continue}break}c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;if(e>>>0>=g>>>0){D[a+20|0]=1}j=F[a+32>>2];Va:{if(j>>>0<=e>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break Va}d=F[a+36>>2]+(e<<5)|0}m=G[a+176|0];Wa:{if(!m){break Wa}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Wa}n=c&1;h=F[d+24>>2];l=F[a+172>>2];f=K[d>>3];Xa:{if((c|0)==1){g=0;break Xa}c=c&-2;g=0;k=0;while(1){o=g|1;f=+J[l+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[l+(g<<2)>>2]*K[h+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=n?+J[l+(g<<2)>>2]*K[h+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Wa}F[d+20>>2]=0}e=e|1;if(e>>>0>=I[a+24>>2]){D[a+20|0]=1}Ya:{if(e>>>0>=j>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ya}e=F[a+36>>2]+(e<<5)|0}Za:{if(!m){break Za}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Za}l=c&1;h=F[e+24>>2];k=F[a+172>>2];f=K[e>>3];_a:{if((c|0)==1){g=0;break _a}j=c&-2;g=0;c=0;while(1){m=g|1;f=+J[k+(m<<2)>>2]*K[h+(m<<3)>>3]+(+J[k+(g<<2)>>2]*K[h+(g<<3)>>3]+f);g=g+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}f=l?+J[k+(g<<2)>>2]*K[h+(g<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Za}F[e+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[d>>3];K[i+40>>3]=K[i+40>>3]+K[e>>3];Vc(b,i+32|0);e=F[i+44>>2];F[a+136>>2]=F[i+40>>2];F[a+140>>2]=e;e=F[i+36>>2];F[a+128>>2]=F[i+32>>2];F[a+132>>2]=e}Ga=i+48|0;F[a+24>>2]=0;break m}e=0;i=Ga-48|0;Ga=i;k=F[a+24>>2];if(k>>>0>=8){m=k-6|0;c=2;while(1){h=e;e=c;c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;if(h>>>0>=k>>>0){D[a+20|0]=1}n=F[a+32>>2];$a:{if(n>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break $a}d=F[a+36>>2]+(h<<5)|0}o=G[a+176|0];ab:{if(!o){break ab}g=F[d+20>>2];if(!g|(g|0)!=F[a+168>>2]){break ab}l=F[d+24>>2];j=F[a+172>>2];f=K[d>>3];c=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=c|1;f=+J[j+(r<<2)>>2]*K[l+(r<<3)>>3]+(+J[j+(c<<2)>>2]*K[l+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+J[j+(c<<2)>>2]*K[l+(c<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break ab}F[d+20>>2]=0}c=h|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}bb:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;h=246432;break bb}h=F[a+36>>2]+(c<<5)|0}cb:{if(!o){break cb}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break cb}l=F[h+24>>2];j=F[a+172>>2];f=K[h>>3];c=0;if((g|0)!=1){n=g&-2;k=0;while(1){o=c|1;f=+J[j+(o<<2)>>2]*K[l+(o<<3)>>3]+(+J[j+(c<<2)>>2]*K[l+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=g&1?+J[j+(c<<2)>>2]*K[l+(c<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break cb}F[h+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[d>>3];K[i+40>>3]=K[i+40>>3]+K[h>>3];Vc(b,i+32|0);c=F[i+44>>2];F[a+136>>2]=F[i+40>>2];F[a+140>>2]=c;c=F[i+36>>2];F[a+128>>2]=F[i+32>>2];F[a+132>>2]=c;k=F[a+24>>2];c=e+2|0;if(m>>>0>=c>>>0){continue}break}d=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=d;d=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=d;if(e>>>0>=k>>>0){D[a+20|0]=1}g=F[a+32>>2];db:{if(g>>>0<=e>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break db}d=F[a+36>>2]+(e<<5)|0}j=G[a+176|0];eb:{if(!j){break eb}h=F[d+20>>2];if(!h|(h|0)!=F[a+168>>2]){break eb}o=h&1;m=F[d+24>>2];n=F[a+172>>2];f=K[d>>3];fb:{if((h|0)==1){k=0;break fb}h=h&-2;k=0;l=0;while(1){p=k|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(k<<2)>>2]*K[m+(k<<3)>>3]+f);k=k+2|0;l=l+2|0;if((h|0)!=(l|0)){continue}break}}f=o?+J[n+(k<<2)>>2]*K[m+(k<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break eb}F[d+20>>2]=0}h=e|1;if(h>>>0>=I[a+24>>2]){D[a+20|0]=1}gb:{if(g>>>0<=h>>>0){h=F[40915];F[61614]=F[40914];F[61615]=h;h=F[40913];F[61612]=F[40912];F[61613]=h;h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432;break gb}h=F[a+36>>2]+(h<<5)|0}hb:{if(!j){break hb}k=F[h+20>>2];if(!k|(k|0)!=F[a+168>>2]){break hb}o=k&1;m=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];ib:{if((k|0)==1){k=0;break ib}p=k&-2;k=0;l=0;while(1){r=k|1;f=+J[n+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[n+(k<<2)>>2]*K[m+(k<<3)>>3]+f);k=k+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=o?+J[n+(k<<2)>>2]*K[m+(k<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break hb}F[h+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[d>>3];K[i+40>>3]=K[i+40>>3]+K[h>>3];d=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=d;d=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=d;if(I[a+24>>2]<=c>>>0){D[a+20|0]=1}jb:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break jb}d=F[a+36>>2]+(c<<5)|0}kb:{if(!j){break kb}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break kb}m=c&1;h=F[d+24>>2];l=F[a+172>>2];f=K[d>>3];lb:{if((c|0)==1){c=0;break lb}n=c&-2;c=0;k=0;while(1){o=c|1;f=+J[l+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[l+(c<<2)>>2]*K[h+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+J[l+(c<<2)>>2]*K[h+(c<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break kb}F[d+20>>2]=0}c=e+3|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}mb:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;h=246432;break mb}h=F[a+36>>2]+(c<<5)|0}nb:{if(!j){break nb}c=F[h+20>>2];if(!c|(c|0)!=F[a+168>>2]){break nb}n=c&1;l=F[h+24>>2];m=F[a+172>>2];f=K[h>>3];ob:{if((c|0)==1){c=0;break ob}o=c&-2;c=0;k=0;while(1){p=c|1;f=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(c<<2)>>2]*K[l+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=n?+J[m+(c<<2)>>2]*K[l+(c<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break nb}F[h+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[d>>3];K[i+24>>3]=K[i+24>>3]+K[h>>3];c=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=c;c=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=c;c=e+4|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}pb:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break pb}d=F[a+36>>2]+(c<<5)|0}qb:{if(!j){break qb}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break qb}m=c&1;h=F[d+24>>2];l=F[a+172>>2];f=K[d>>3];rb:{if((c|0)==1){c=0;break rb}n=c&-2;c=0;k=0;while(1){o=c|1;f=+J[l+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[l+(c<<2)>>2]*K[h+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+J[l+(c<<2)>>2]*K[h+(c<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break qb}F[d+20>>2]=0}e=e+5|0;if(e>>>0>=I[a+24>>2]){D[a+20|0]=1}sb:{if(e>>>0>=g>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break sb}e=F[a+36>>2]+(e<<5)|0}tb:{if(!j){break tb}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break tb}l=c&1;h=F[e+24>>2];g=F[a+172>>2];f=K[e>>3];ub:{if((c|0)==1){c=0;break ub}j=c&-2;c=0;k=0;while(1){m=c|1;f=+J[g+(m<<2)>>2]*K[h+(m<<3)>>3]+(+J[g+(c<<2)>>2]*K[h+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}f=l?+J[g+(c<<2)>>2]*K[h+(c<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break tb}F[e+20>>2]=0}K[i>>3]=K[i>>3]+K[d>>3];K[i+8>>3]=K[i+8>>3]+K[e>>3];Qb(b,i+32|0,i+16|0,i);e=F[i+12>>2];F[a+136>>2]=F[i+8>>2];F[a+140>>2]=e;e=F[i+4>>2];F[a+128>>2]=F[i>>2];F[a+132>>2]=e}Ga=i+48|0;F[a+24>>2]=0;break m}e=0;i=Ga-48|0;Ga=i;c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;g=F[a+24>>2];if(g&1){vb:{if(!F[a+32>>2]){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break vb}e=F[a+36>>2]}wb:{if(!G[a+176|0]){break wb}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break wb}k=c&1;d=F[e+24>>2];h=F[a+172>>2];f=K[e>>3];xb:{if((c|0)==1){g=0;break xb}c=c&-2;g=0;while(1){j=g|1;f=+J[h+(j<<2)>>2]*K[d+(j<<3)>>3]+(+J[h+(g<<2)>>2]*K[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+J[h+(g<<2)>>2]*K[d+(g<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break wb}F[e+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[e>>3];g=F[a+24>>2];e=1}c=e|4;if(c>>>0<=g>>>0){while(1){h=e;e=c;if(g>>>0<=h>>>0){D[a+20|0]=1}j=F[a+32>>2];yb:{if(j>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break yb}c=F[a+36>>2]+(h<<5)|0}m=G[a+176|0];zb:{if(!m){break zb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break zb}k=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break zb}F[c+20>>2]=0}K[i+40>>3]=K[i+40>>3]+K[c>>3];c=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=c;c=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=c;c=h+1|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Ab:{if(c>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ab}c=F[a+36>>2]+(c<<5)|0}Bb:{if(!m){break Bb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Bb}k=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Bb}F[c+20>>2]=0}d=h+2|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Cb:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Cb}d=F[a+36>>2]+(d<<5)|0}Db:{if(!m){break Db}k=F[d+20>>2];if(!k|(k|0)!=F[a+168>>2]){break Db}n=F[d+24>>2];o=F[a+172>>2];f=K[d>>3];g=0;if((k|0)!=1){p=k&-2;l=0;while(1){r=g|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=k&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Db}F[d+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[c>>3];K[i+24>>3]=K[i+24>>3]+K[d>>3];c=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=c;c=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=c;c=h+3|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Eb:{if(c>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Eb}c=F[a+36>>2]+(c<<5)|0}Fb:{if(!m){break Fb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Fb}h=F[c+24>>2];k=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+J[k+(m<<2)>>2]*K[h+(m<<3)>>3]+(+J[k+(g<<2)>>2]*K[h+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+J[k+(g<<2)>>2]*K[h+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Fb}F[c+20>>2]=0}K[i+8>>3]=K[i+8>>3]+K[c>>3];Qb(b,i+32|0,i+16|0,i);c=F[i+12>>2];F[a+136>>2]=F[i+8>>2];F[a+140>>2]=c;c=F[i+4>>2];F[a+128>>2]=F[i>>2];F[a+132>>2]=c;c=F[i+12>>2];F[i+40>>2]=F[i+8>>2];F[i+44>>2]=c;c=F[i+4>>2];F[i+32>>2]=F[i>>2];F[i+36>>2]=c;g=F[a+24>>2];c=e+4|0;if(g>>>0>=c>>>0){continue}break}}Ga=i+48|0;F[a+24>>2]=0;break m}e=0;i=Ga-48|0;Ga=i;c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;g=F[a+24>>2];if(g&1){Gb:{if(!F[a+32>>2]){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Gb}e=F[a+36>>2]}Hb:{if(!G[a+176|0]){break Hb}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Hb}k=c&1;d=F[e+24>>2];h=F[a+172>>2];f=K[e>>3];Ib:{if((c|0)==1){g=0;break Ib}c=c&-2;g=0;while(1){j=g|1;f=+J[h+(j<<2)>>2]*K[d+(j<<3)>>3]+(+J[h+(g<<2)>>2]*K[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+J[h+(g<<2)>>2]*K[d+(g<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Hb}F[e+20>>2]=0}K[i+40>>3]=K[i+40>>3]+K[e>>3];g=F[a+24>>2];e=1}c=e|4;if(c>>>0<=g>>>0){while(1){h=e;e=c;if(g>>>0<=h>>>0){D[a+20|0]=1}j=F[a+32>>2];Jb:{if(j>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Jb}c=F[a+36>>2]+(h<<5)|0}m=G[a+176|0];Kb:{if(!m){break Kb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Kb}k=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Kb}F[c+20>>2]=0}K[i+32>>3]=K[i+32>>3]+K[c>>3];c=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=c;c=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=c;c=h+1|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Lb:{if(c>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Lb}c=F[a+36>>2]+(c<<5)|0}Mb:{if(!m){break Mb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Mb}k=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+J[n+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+J[n+(g<<2)>>2]*K[k+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Mb}F[c+20>>2]=0}d=h+2|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Nb:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Nb}d=F[a+36>>2]+(d<<5)|0}Ob:{if(!m){break Ob}k=F[d+20>>2];if(!k|(k|0)!=F[a+168>>2]){break Ob}n=F[d+24>>2];o=F[a+172>>2];f=K[d>>3];g=0;if((k|0)!=1){p=k&-2;l=0;while(1){r=g|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=k&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Ob}F[d+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[c>>3];K[i+24>>3]=K[i+24>>3]+K[d>>3];c=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=c;c=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=c;c=h+3|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Pb:{if(c>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Pb}c=F[a+36>>2]+(c<<5)|0}Qb:{if(!m){break Qb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Qb}h=F[c+24>>2];k=F[a+172>>2];f=K[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+J[k+(m<<2)>>2]*K[h+(m<<3)>>3]+(+J[k+(g<<2)>>2]*K[h+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+J[k+(g<<2)>>2]*K[h+(g<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Qb}F[c+20>>2]=0}K[i>>3]=K[i>>3]+K[c>>3];Qb(b,i+32|0,i+16|0,i);c=F[i+12>>2];F[a+136>>2]=F[i+8>>2];F[a+140>>2]=c;c=F[i+4>>2];F[a+128>>2]=F[i>>2];F[a+132>>2]=c;c=F[i+12>>2];F[i+40>>2]=F[i+8>>2];F[i+44>>2]=c;c=F[i+4>>2];F[i+32>>2]=F[i>>2];F[i+36>>2]=c;g=F[a+24>>2];c=e+4|0;if(g>>>0>=c>>>0){continue}break}}Ga=i+48|0;F[a+24>>2]=0;break m}j=Ga-96|0;Ga=j;F[j+88>>2]=0;F[j+92>>2]=0;F[j+80>>2]=0;F[j+84>>2]=0;F[j+72>>2]=0;F[j+76>>2]=0;F[j+64>>2]=0;F[j+68>>2]=0;F[j+56>>2]=0;F[j+60>>2]=0;F[j+48>>2]=0;F[j+52>>2]=0;d=F[a+24>>2];Rb:{if(!(d&4)){if(d>>>0<8){break Rb}c=8;e=0;while(1){h=e;e=c;c=F[a+140>>2];F[j+88>>2]=F[a+136>>2];F[j+92>>2]=c;c=F[a+132>>2];F[j+80>>2]=F[a+128>>2];F[j+84>>2]=c;if(d>>>0<=h>>>0){D[a+20|0]=1}l=F[a+32>>2];Sb:{if(l>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Sb}c=F[a+36>>2]+(h<<5)|0}m=G[a+176|0];Tb:{if(!m){break Tb}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Tb}g=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Tb}F[c+20>>2]=0}K[j+88>>3]=K[j+88>>3]+K[c>>3];c=F[j+92>>2];F[j+72>>2]=F[j+88>>2];F[j+76>>2]=c;c=F[j+84>>2];F[j+64>>2]=F[j+80>>2];F[j+68>>2]=c;c=h|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Ub:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ub}c=F[a+36>>2]+(c<<5)|0}Vb:{if(!m){break Vb}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Vb}g=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Vb}F[c+20>>2]=0}d=h|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Wb:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break Wb}i=F[a+36>>2]+(d<<5)|0}Xb:{if(!m){break Xb}g=F[i+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Xb}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break Xb}F[i+20>>2]=0}K[j+64>>3]=K[j+64>>3]+K[c>>3];K[j+72>>3]=K[j+72>>3]+K[i>>3];c=F[j+76>>2];F[j+56>>2]=F[j+72>>2];F[j+60>>2]=c;c=F[j+68>>2];F[j+48>>2]=F[j+64>>2];F[j+52>>2]=c;c=h|3;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Yb:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Yb}c=F[a+36>>2]+(c<<5)|0}Zb:{if(!m){break Zb}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Zb}g=F[c+24>>2];l=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+J[l+(n<<2)>>2]*K[g+(n<<3)>>3]+(+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Zb}F[c+20>>2]=0}K[j+48>>3]=K[j+48>>3]+K[c>>3];Qb(b,j+80|0,j- -64|0,j+48|0);c=F[j+60>>2];F[a+136>>2]=F[j+56>>2];F[a+140>>2]=c;c=F[j+52>>2];F[a+128>>2]=F[j+48>>2];F[a+132>>2]=c;c=F[j+60>>2];F[j+88>>2]=F[j+56>>2];F[j+92>>2]=c;c=F[j+52>>2];F[j+80>>2]=F[j+48>>2];F[j+84>>2]=c;c=h|4;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}g=F[a+32>>2];_b:{if(g>>>0<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break _b}c=F[a+36>>2]+(c<<5)|0}l=G[a+176|0];$b:{if(!l){break $b}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break $b}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break $b}F[c+20>>2]=0}f=K[c>>3];c=F[j+92>>2];F[j+72>>2]=F[j+88>>2];F[j+76>>2]=c;K[j+80>>3]=f+K[j+80>>3];c=F[j+84>>2];F[j+64>>2]=F[j+80>>2];F[j+68>>2]=c;c=h|5;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}ac:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ac}c=F[a+36>>2]+(c<<5)|0}bc:{if(!l){break bc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break bc}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break bc}F[c+20>>2]=0}d=h|6;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}cc:{if(d>>>0>=g>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break cc}i=F[a+36>>2]+(d<<5)|0}dc:{if(!l){break dc}m=F[i+20>>2];if(!m|(m|0)!=F[a+168>>2]){break dc}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break dc}F[i+20>>2]=0}K[j+64>>3]=K[j+64>>3]+K[c>>3];K[j+72>>3]=K[j+72>>3]+K[i>>3];c=F[j+76>>2];F[j+56>>2]=F[j+72>>2];F[j+60>>2]=c;c=F[j+68>>2];F[j+48>>2]=F[j+64>>2];F[j+52>>2]=c;c=h|7;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}ec:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ec}c=F[a+36>>2]+(c<<5)|0}fc:{if(!l){break fc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break fc}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break fc}F[c+20>>2]=0}K[j+56>>3]=K[j+56>>3]+K[c>>3];c=F[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=e>>>0){D[a+20|0]=1}gc:{if(e>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break gc}c=F[a+36>>2]+(e<<5)|0}hc:{if(!l){break hc}h=F[c+20>>2];if(!h|(h|0)!=F[a+168>>2]){break hc}i=F[c+24>>2];g=F[a+172>>2];f=K[c>>3];d=0;if((h|0)!=1){l=h&-2;k=0;while(1){m=d|1;f=+J[g+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[g+(d<<2)>>2]*K[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}f=h&1?+J[g+(d<<2)>>2]*K[i+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break hc}F[c+20>>2]=0}K[j+48>>3]=K[j+48>>3]+K[c>>3]}Qb(b,j+80|0,j- -64|0,j+48|0);c=F[j+60>>2];F[a+136>>2]=F[j+56>>2];F[a+140>>2]=c;c=F[j+52>>2];F[a+128>>2]=F[j+48>>2];F[a+132>>2]=c;d=F[a+24>>2];c=e+8|0;if(d>>>0>=c>>>0){continue}break}break Rb}e=F[a+140>>2];F[j+40>>2]=F[a+136>>2];F[j+44>>2]=e;e=F[a+132>>2];F[j+32>>2]=F[a+128>>2];F[j+36>>2]=e;l=F[a+32>>2];ic:{if(!l){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ic}e=F[a+36>>2]}g=G[a+176|0];jc:{if(!g){break jc}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break jc}m=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];kc:{if((c|0)==1){d=0;break kc}c=c&-2;d=0;while(1){n=d|1;f=+J[i+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break jc}F[e+20>>2]=0}K[j+40>>3]=K[j+40>>3]+K[e>>3];e=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=e;e=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=e;if(I[a+24>>2]<=1){D[a+20|0]=1}lc:{if(l>>>0<=1){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break lc}e=F[a+36>>2]+32|0}mc:{if(!g){break mc}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break mc}m=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];nc:{if((c|0)==1){d=0;break nc}c=c&-2;d=0;k=0;while(1){n=d|1;f=+J[i+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break mc}F[e+20>>2]=0}if(I[a+24>>2]<=2){D[a+20|0]=1}oc:{if(l>>>0<=2){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break oc}c=F[a+36>>2]- -64|0}pc:{if(!g){break pc}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break pc}m=d&1;h=F[c+24>>2];i=F[a+172>>2];f=K[c>>3];qc:{if((d|0)==1){d=0;break qc}n=d&-2;d=0;k=0;while(1){o=d|1;f=+J[i+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break pc}F[c+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[e>>3];K[j+24>>3]=K[j+24>>3]+K[c>>3];e=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=e;e=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=e;if(I[a+24>>2]<=3){D[a+20|0]=1}rc:{if(l>>>0<=3){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break rc}e=F[a+36>>2]+96|0}sc:{if(!g){break sc}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break sc}m=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];tc:{if((c|0)==1){d=0;break tc}c=c&-2;d=0;k=0;while(1){n=d|1;f=+J[i+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break sc}F[e+20>>2]=0}K[j>>3]=K[j>>3]+K[e>>3];d=12;e=4;c=F[a+24>>2];if(c>>>0>=12){while(1){c=e;e=d;Qb(b,j+32|0,j+16|0,j);d=F[j+12>>2];F[a+136>>2]=F[j+8>>2];F[a+140>>2]=d;d=F[j+4>>2];F[a+128>>2]=F[j>>2];F[a+132>>2]=d;d=F[j+12>>2];F[j+40>>2]=F[j+8>>2];F[j+44>>2]=d;d=F[j+4>>2];F[j+32>>2]=F[j>>2];F[j+36>>2]=d;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}l=F[a+32>>2];uc:{if(l>>>0<=c>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break uc}h=F[a+36>>2]+(c<<5)|0}m=G[a+176|0];vc:{if(!m){break vc}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break vc}g=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break vc}F[h+20>>2]=0}f=K[h>>3];d=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=d;K[j+32>>3]=f+K[j+32>>3];d=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=d;d=c|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}wc:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break wc}h=F[a+36>>2]+(d<<5)|0}xc:{if(!m){break xc}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break xc}g=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break xc}F[h+20>>2]=0}d=c|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}yc:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break yc}i=F[a+36>>2]+(d<<5)|0}zc:{if(!m){break zc}g=F[i+20>>2];if(!g|(g|0)!=F[a+168>>2]){break zc}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break zc}F[i+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[h>>3];K[j+24>>3]=K[j+24>>3]+K[i>>3];d=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=d;d=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=d;d=c|3;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ac:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Ac}h=F[a+36>>2]+(d<<5)|0}Bc:{if(!m){break Bc}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Bc}g=F[h+24>>2];l=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+J[l+(n<<2)>>2]*K[g+(n<<3)>>3]+(+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break Bc}F[h+20>>2]=0}K[j+8>>3]=K[j+8>>3]+K[h>>3];Qb(b,j+32|0,j+16|0,j);d=F[j+12>>2];F[a+136>>2]=F[j+8>>2];F[a+140>>2]=d;d=F[j+4>>2];F[a+128>>2]=F[j>>2];F[a+132>>2]=d;d=F[j+12>>2];F[j+40>>2]=F[j+8>>2];F[j+44>>2]=d;d=F[j+4>>2];F[j+32>>2]=F[j>>2];F[j+36>>2]=d;d=c+4|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}l=F[a+32>>2];Cc:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Cc}h=F[a+36>>2]+(d<<5)|0}g=G[a+176|0];Dc:{if(!g){break Dc}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Dc}m=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break Dc}F[h+20>>2]=0}K[j+40>>3]=K[j+40>>3]+K[h>>3];d=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=d;d=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=d;d=c+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ec:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Ec}h=F[a+36>>2]+(d<<5)|0}Fc:{if(!g){break Fc}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Fc}m=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break Fc}F[h+20>>2]=0}d=c+6|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Gc:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break Gc}i=F[a+36>>2]+(d<<5)|0}Hc:{if(!g){break Hc}m=F[i+20>>2];if(!m|(m|0)!=F[a+168>>2]){break Hc}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break Hc}F[i+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[h>>3];K[j+24>>3]=K[j+24>>3]+K[i>>3];d=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=d;d=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=d;c=c+7|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Ic:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ic}c=F[a+36>>2]+(c<<5)|0}Jc:{if(!g){break Jc}h=F[c+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Jc}i=F[c+24>>2];m=F[a+172>>2];f=K[c>>3];d=0;if((h|0)!=1){n=h&-2;k=0;while(1){o=d|1;f=+J[m+(o<<2)>>2]*K[i+(o<<3)>>3]+(+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=h&1?+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Jc}F[c+20>>2]=0}K[j>>3]=K[j>>3]+K[c>>3];d=e+8|0;c=F[a+24>>2];if(d>>>0<=c>>>0){continue}break}}if(c>>>0>e>>>0){Kc:{if(e>>>0>=l>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;d=246432;break Kc}d=F[a+36>>2]+(e<<5)|0}Lc:{if(!g){break Lc}e=F[d+20>>2];if(!e|(e|0)!=F[a+168>>2]){break Lc}g=e&1;h=F[d+24>>2];i=F[a+172>>2];f=K[d>>3];Mc:{if((e|0)==1){e=0;break Mc}k=e&-2;e=0;c=0;while(1){l=e|1;f=+J[i+(l<<2)>>2]*K[h+(l<<3)>>3]+(+J[i+(e<<2)>>2]*K[h+(e<<3)>>3]+f);e=e+2|0;c=c+2|0;if((k|0)!=(c|0)){continue}break}}f=g?+J[i+(e<<2)>>2]*K[h+(e<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Lc}F[d+20>>2]=0}K[j+8>>3]=K[j+8>>3]+K[d>>3]}Qb(b,j+32|0,j+16|0,j);e=F[j+12>>2];F[a+136>>2]=F[j+8>>2];F[a+140>>2]=e;e=F[j+4>>2];F[a+128>>2]=F[j>>2];F[a+132>>2]=e}Ga=j+96|0;F[a+24>>2]=0;break m}j=Ga-96|0;Ga=j;F[j+88>>2]=0;F[j+92>>2]=0;F[j+80>>2]=0;F[j+84>>2]=0;F[j+72>>2]=0;F[j+76>>2]=0;F[j+64>>2]=0;F[j+68>>2]=0;F[j+56>>2]=0;F[j+60>>2]=0;F[j+48>>2]=0;F[j+52>>2]=0;d=F[a+24>>2];Nc:{if(!(d&4)){if(d>>>0<8){break Nc}c=8;e=0;while(1){h=e;e=c;c=F[a+140>>2];F[j+88>>2]=F[a+136>>2];F[j+92>>2]=c;c=F[a+132>>2];F[j+80>>2]=F[a+128>>2];F[j+84>>2]=c;if(d>>>0<=h>>>0){D[a+20|0]=1}l=F[a+32>>2];Oc:{if(l>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Oc}c=F[a+36>>2]+(h<<5)|0}m=G[a+176|0];Pc:{if(!m){break Pc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Pc}g=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Pc}F[c+20>>2]=0}f=K[c>>3];c=F[j+92>>2];F[j+72>>2]=F[j+88>>2];F[j+76>>2]=c;K[j+80>>3]=f+K[j+80>>3];c=F[j+84>>2];F[j+64>>2]=F[j+80>>2];F[j+68>>2]=c;c=h|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Qc:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Qc}c=F[a+36>>2]+(c<<5)|0}Rc:{if(!m){break Rc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Rc}g=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Rc}F[c+20>>2]=0}d=h|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Sc:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break Sc}i=F[a+36>>2]+(d<<5)|0}Tc:{if(!m){break Tc}g=F[i+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Tc}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break Tc}F[i+20>>2]=0}K[j+64>>3]=K[j+64>>3]+K[c>>3];K[j+72>>3]=K[j+72>>3]+K[i>>3];c=F[j+76>>2];F[j+56>>2]=F[j+72>>2];F[j+60>>2]=c;c=F[j+68>>2];F[j+48>>2]=F[j+64>>2];F[j+52>>2]=c;c=h|3;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Uc:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Uc}c=F[a+36>>2]+(c<<5)|0}Vc:{if(!m){break Vc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Vc}g=F[c+24>>2];l=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+J[l+(n<<2)>>2]*K[g+(n<<3)>>3]+(+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Vc}F[c+20>>2]=0}K[j+56>>3]=K[j+56>>3]+K[c>>3];Qb(b,j+80|0,j- -64|0,j+48|0);c=F[j+60>>2];F[a+136>>2]=F[j+56>>2];F[a+140>>2]=c;c=F[j+52>>2];F[a+128>>2]=F[j+48>>2];F[a+132>>2]=c;c=F[j+60>>2];F[j+88>>2]=F[j+56>>2];F[j+92>>2]=c;c=F[j+52>>2];F[j+80>>2]=F[j+48>>2];F[j+84>>2]=c;c=h|4;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}g=F[a+32>>2];Wc:{if(g>>>0<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Wc}c=F[a+36>>2]+(c<<5)|0}l=G[a+176|0];Xc:{if(!l){break Xc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Xc}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Xc}F[c+20>>2]=0}K[j+88>>3]=K[j+88>>3]+K[c>>3];c=F[j+92>>2];F[j+72>>2]=F[j+88>>2];F[j+76>>2]=c;c=F[j+84>>2];F[j+64>>2]=F[j+80>>2];F[j+68>>2]=c;c=h|5;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Yc:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Yc}c=F[a+36>>2]+(c<<5)|0}Zc:{if(!l){break Zc}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Zc}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Zc}F[c+20>>2]=0}d=h|6;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}_c:{if(d>>>0>=g>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break _c}i=F[a+36>>2]+(d<<5)|0}$c:{if(!l){break $c}m=F[i+20>>2];if(!m|(m|0)!=F[a+168>>2]){break $c}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break $c}F[i+20>>2]=0}K[j+64>>3]=K[j+64>>3]+K[c>>3];K[j+72>>3]=K[j+72>>3]+K[i>>3];c=F[j+76>>2];F[j+56>>2]=F[j+72>>2];F[j+60>>2]=c;c=F[j+68>>2];F[j+48>>2]=F[j+64>>2];F[j+52>>2]=c;c=h|7;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}ad:{if(c>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ad}c=F[a+36>>2]+(c<<5)|0}bd:{if(!l){break bd}i=F[c+20>>2];if(!i|(i|0)!=F[a+168>>2]){break bd}m=F[c+24>>2];n=F[a+172>>2];f=K[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break bd}F[c+20>>2]=0}K[j+48>>3]=K[j+48>>3]+K[c>>3];c=F[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=e>>>0){D[a+20|0]=1}cd:{if(e>>>0>=g>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break cd}c=F[a+36>>2]+(e<<5)|0}dd:{if(!l){break dd}h=F[c+20>>2];if(!h|(h|0)!=F[a+168>>2]){break dd}i=F[c+24>>2];g=F[a+172>>2];f=K[c>>3];d=0;if((h|0)!=1){l=h&-2;k=0;while(1){m=d|1;f=+J[g+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[g+(d<<2)>>2]*K[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}f=h&1?+J[g+(d<<2)>>2]*K[i+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break dd}F[c+20>>2]=0}K[j+56>>3]=K[j+56>>3]+K[c>>3]}Qb(b,j+80|0,j- -64|0,j+48|0);c=F[j+60>>2];F[a+136>>2]=F[j+56>>2];F[a+140>>2]=c;c=F[j+52>>2];F[a+128>>2]=F[j+48>>2];F[a+132>>2]=c;d=F[a+24>>2];c=e+8|0;if(d>>>0>=c>>>0){continue}break}break Nc}e=F[a+140>>2];F[j+40>>2]=F[a+136>>2];F[j+44>>2]=e;e=F[a+132>>2];F[j+32>>2]=F[a+128>>2];F[j+36>>2]=e;l=F[a+32>>2];ed:{if(!l){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ed}e=F[a+36>>2]}g=G[a+176|0];fd:{if(!g){break fd}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break fd}m=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];gd:{if((c|0)==1){d=0;break gd}c=c&-2;d=0;while(1){n=d|1;f=+J[i+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break fd}F[e+20>>2]=0}K[j+32>>3]=K[j+32>>3]+K[e>>3];e=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=e;e=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=e;if(I[a+24>>2]<=1){D[a+20|0]=1}hd:{if(l>>>0<=1){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break hd}e=F[a+36>>2]+32|0}id:{if(!g){break id}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break id}m=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];jd:{if((c|0)==1){d=0;break jd}c=c&-2;d=0;k=0;while(1){n=d|1;f=+J[i+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break id}F[e+20>>2]=0}if(I[a+24>>2]<=2){D[a+20|0]=1}kd:{if(l>>>0<=2){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break kd}c=F[a+36>>2]- -64|0}ld:{if(!g){break ld}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break ld}m=d&1;h=F[c+24>>2];i=F[a+172>>2];f=K[c>>3];md:{if((d|0)==1){d=0;break md}n=d&-2;d=0;k=0;while(1){o=d|1;f=+J[i+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ld}F[c+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[e>>3];K[j+24>>3]=K[j+24>>3]+K[c>>3];e=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=e;e=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=e;if(I[a+24>>2]<=3){D[a+20|0]=1}nd:{if(l>>>0<=3){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break nd}e=F[a+36>>2]+96|0}od:{if(!g){break od}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break od}m=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];pd:{if((c|0)==1){d=0;break pd}c=c&-2;d=0;k=0;while(1){n=d|1;f=+J[i+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+J[i+(d<<2)>>2]*K[h+(d<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break od}F[e+20>>2]=0}K[j+8>>3]=K[j+8>>3]+K[e>>3];d=12;e=4;c=F[a+24>>2];if(c>>>0>=12){while(1){c=e;e=d;Qb(b,j+32|0,j+16|0,j);d=F[j+12>>2];F[a+136>>2]=F[j+8>>2];F[a+140>>2]=d;d=F[j+4>>2];F[a+128>>2]=F[j>>2];F[a+132>>2]=d;d=F[j+12>>2];F[j+40>>2]=F[j+8>>2];F[j+44>>2]=d;d=F[j+4>>2];F[j+32>>2]=F[j>>2];F[j+36>>2]=d;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}l=F[a+32>>2];qd:{if(l>>>0<=c>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break qd}h=F[a+36>>2]+(c<<5)|0}m=G[a+176|0];rd:{if(!m){break rd}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break rd}g=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break rd}F[h+20>>2]=0}K[j+40>>3]=K[j+40>>3]+K[h>>3];d=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=d;d=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=d;d=c|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}sd:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break sd}h=F[a+36>>2]+(d<<5)|0}td:{if(!m){break td}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break td}g=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break td}F[h+20>>2]=0}d=c|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}ud:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break ud}i=F[a+36>>2]+(d<<5)|0}vd:{if(!m){break vd}g=F[i+20>>2];if(!g|(g|0)!=F[a+168>>2]){break vd}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break vd}F[i+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[h>>3];K[j+24>>3]=K[j+24>>3]+K[i>>3];d=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=d;d=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=d;d=c|3;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}wd:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break wd}h=F[a+36>>2]+(d<<5)|0}xd:{if(!m){break xd}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break xd}g=F[h+24>>2];l=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+J[l+(n<<2)>>2]*K[g+(n<<3)>>3]+(+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+J[l+(d<<2)>>2]*K[g+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break xd}F[h+20>>2]=0}K[j>>3]=K[j>>3]+K[h>>3];Qb(b,j+32|0,j+16|0,j);d=F[j+12>>2];F[a+136>>2]=F[j+8>>2];F[a+140>>2]=d;d=F[j+4>>2];F[a+128>>2]=F[j>>2];F[a+132>>2]=d;d=F[j+12>>2];F[j+40>>2]=F[j+8>>2];F[j+44>>2]=d;d=F[j+4>>2];F[j+32>>2]=F[j>>2];F[j+36>>2]=d;d=c+4|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}l=F[a+32>>2];yd:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break yd}h=F[a+36>>2]+(d<<5)|0}g=G[a+176|0];zd:{if(!g){break zd}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break zd}m=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break zd}F[h+20>>2]=0}f=K[h>>3];d=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=d;K[j+32>>3]=f+K[j+32>>3];d=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=d;d=c+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ad:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Ad}h=F[a+36>>2]+(d<<5)|0}Bd:{if(!g){break Bd}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Bd}m=F[h+24>>2];n=F[a+172>>2];f=K[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+J[n+(d<<2)>>2]*K[m+(d<<3)>>3]+f:f;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=f;if(F[h+16>>2]<0){break Bd}F[h+20>>2]=0}d=c+6|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Cd:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break Cd}i=F[a+36>>2]+(d<<5)|0}Dd:{if(!g){break Dd}m=F[i+20>>2];if(!m|(m|0)!=F[a+168>>2]){break Dd}n=F[i+24>>2];o=F[a+172>>2];f=K[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+J[o+(d<<2)>>2]*K[n+(d<<3)>>3]+f:f;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=f;if(F[i+16>>2]<0){break Dd}F[i+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[h>>3];K[j+24>>3]=K[j+24>>3]+K[i>>3];d=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=d;d=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=d;c=c+7|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Ed:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ed}c=F[a+36>>2]+(c<<5)|0}Fd:{if(!g){break Fd}h=F[c+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Fd}i=F[c+24>>2];m=F[a+172>>2];f=K[c>>3];d=0;if((h|0)!=1){n=h&-2;k=0;while(1){o=d|1;f=+J[m+(o<<2)>>2]*K[i+(o<<3)>>3]+(+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=h&1?+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Fd}F[c+20>>2]=0}K[j+8>>3]=K[j+8>>3]+K[c>>3];d=e+8|0;c=F[a+24>>2];if(d>>>0<=c>>>0){continue}break}}if(c>>>0>e>>>0){Gd:{if(e>>>0>=l>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;d=246432;break Gd}d=F[a+36>>2]+(e<<5)|0}Hd:{if(!g){break Hd}e=F[d+20>>2];if(!e|(e|0)!=F[a+168>>2]){break Hd}g=e&1;h=F[d+24>>2];i=F[a+172>>2];f=K[d>>3];Id:{if((e|0)==1){e=0;break Id}k=e&-2;e=0;c=0;while(1){l=e|1;f=+J[i+(l<<2)>>2]*K[h+(l<<3)>>3]+(+J[i+(e<<2)>>2]*K[h+(e<<3)>>3]+f);e=e+2|0;c=c+2|0;if((k|0)!=(c|0)){continue}break}}f=g?+J[i+(e<<2)>>2]*K[h+(e<<3)>>3]+f:f;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=f;if(F[d+16>>2]<0){break Hd}F[d+20>>2]=0}K[j>>3]=K[j>>3]+K[d>>3]}Qb(b,j+32|0,j+16|0,j);e=F[j+12>>2];F[a+136>>2]=F[j+8>>2];F[a+140>>2]=e;e=F[j+4>>2];F[a+128>>2]=F[j>>2];F[a+132>>2]=e}Ga=j+96|0;F[a+24>>2]=0;break m}h=Ga-96|0;Ga=h;Jd:{Kd:{Ld:{if(F[a+24>>2]==7){e=F[a+140>>2];F[h+88>>2]=F[a+136>>2];F[h+92>>2]=e;e=F[a+132>>2];F[h+80>>2]=F[a+128>>2];F[h+84>>2]=e;d=F[a+32>>2];Md:{if(!d){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Md}e=F[a+36>>2]}i=G[a+176|0];if(!i){break Kd}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Kd}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];if((c|0)==1){break Ld}c=c&-2;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}break Ld}D[a+40|0]=1;break Jd}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Kd}F[e+20>>2]=0}K[h+80>>3]=K[h+80>>3]+K[e>>3];e=F[h+92>>2];F[h+72>>2]=F[h+88>>2];F[h+76>>2]=e;e=F[h+84>>2];F[h+64>>2]=F[h+80>>2];F[h+68>>2]=e;if(I[a+24>>2]<=1){D[a+20|0]=1}Nd:{if(d>>>0<=1){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Nd}e=F[a+36>>2]+32|0}Od:{if(!i){break Od}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Od}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];Pd:{if((c|0)==1){l=0;break Pd}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Od}F[e+20>>2]=0}if(I[a+24>>2]<=2){D[a+20|0]=1}Qd:{if(d>>>0<=2){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Qd}c=F[a+36>>2]- -64|0}Rd:{if(!i){break Rd}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Rd}m=g&1;k=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];Sd:{if((g|0)==1){l=0;break Sd}n=g&-2;l=0;g=0;while(1){o=l|1;f=+J[j+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Rd}F[c+20>>2]=0}K[h+64>>3]=K[h+64>>3]+K[e>>3];K[h+72>>3]=K[h+72>>3]+K[c>>3];e=F[h+76>>2];F[h+56>>2]=F[h+72>>2];F[h+60>>2]=e;e=F[h+68>>2];F[h+48>>2]=F[h+64>>2];F[h+52>>2]=e;if(I[a+24>>2]<=3){D[a+20|0]=1}Td:{if(d>>>0<=3){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Td}e=F[a+36>>2]+96|0}Ud:{if(!i){break Ud}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Ud}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];Vd:{if((c|0)==1){l=0;break Vd}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Ud}F[e+20>>2]=0}K[h+48>>3]=K[h+48>>3]+K[e>>3];e=F[h+60>>2];F[h+40>>2]=F[h+56>>2];F[h+44>>2]=e;e=F[h+52>>2];F[h+32>>2]=F[h+48>>2];F[h+36>>2]=e;if(I[a+24>>2]<=4){D[a+20|0]=1}Wd:{if(d>>>0<=4){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Wd}e=F[a+36>>2]+128|0}Xd:{if(!i){break Xd}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Xd}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];Yd:{if((c|0)==1){l=0;break Yd}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Xd}F[e+20>>2]=0}K[h+32>>3]=K[h+32>>3]+K[e>>3];e=F[h+44>>2];F[h+24>>2]=F[h+40>>2];F[h+28>>2]=e;e=F[h+36>>2];F[h+16>>2]=F[h+32>>2];F[h+20>>2]=e;if(I[a+24>>2]<=5){D[a+20|0]=1}Zd:{if(d>>>0<=5){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Zd}e=F[a+36>>2]+160|0}_d:{if(!i){break _d}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break _d}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];$d:{if((c|0)==1){l=0;break $d}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break _d}F[e+20>>2]=0}f=K[e>>3];e=F[h+92>>2];c=F[h+88>>2];F[h+24>>2]=c;F[h+28>>2]=e;K[h+16>>3]=f+K[h+16>>3];F[h+8>>2]=c;F[h+12>>2]=e;e=F[h+20>>2];F[h>>2]=F[h+16>>2];F[h+4>>2]=e;if(I[a+24>>2]<=6){D[a+20|0]=1}ae:{if(d>>>0<=6){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ae}e=F[a+36>>2]+192|0}be:{if(!i){break be}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break be}k=c&1;i=F[e+24>>2];g=F[a+172>>2];f=K[e>>3];ce:{if((c|0)==1){l=0;break ce}c=c&-2;l=0;d=0;while(1){j=l|1;f=+J[g+(j<<2)>>2]*K[i+(j<<3)>>3]+(+J[g+(l<<2)>>2]*K[i+(l<<3)>>3]+f);l=l+2|0;d=d+2|0;if((c|0)!=(d|0)){continue}break}}f=k?+J[g+(l<<2)>>2]*K[i+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break be}F[e+20>>2]=0}K[h>>3]=K[h>>3]+K[e>>3];Qb(b,h+80|0,h- -64|0,h+48|0);e=F[h+60>>2];F[a+136>>2]=F[h+56>>2];F[a+140>>2]=e;e=F[h+52>>2];F[a+128>>2]=F[h+48>>2];F[a+132>>2]=e;Qb(b,h+32|0,h+16|0,h);e=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=e;e=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=e}Ga=h+96|0;F[a+24>>2]=0;break m}h=Ga-96|0;Ga=h;de:{ee:{fe:{if(F[a+24>>2]==13){e=F[a+140>>2];F[h+88>>2]=F[a+136>>2];F[h+92>>2]=e;e=F[a+132>>2];F[h+80>>2]=F[a+128>>2];F[h+84>>2]=e;d=F[a+32>>2];ge:{if(!d){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ge}e=F[a+36>>2]}i=G[a+176|0];if(!i){break ee}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break ee}m=c&1;l=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];if((c|0)==1){break fe}c=c&-2;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}break fe}D[a+40|0]=1;break de}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break ee}F[e+20>>2]=0}if(I[a+24>>2]<=1){D[a+20|0]=1}he:{if(d>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break he}c=F[a+36>>2]+32|0}ie:{if(!i){break ie}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break ie}m=g&1;l=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];je:{if((g|0)==1){k=0;break je}n=g&-2;k=0;g=0;while(1){o=k|1;f=+J[j+(o<<2)>>2]*K[l+(o<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ie}F[c+20>>2]=0}K[h+80>>3]=K[h+80>>3]+K[e>>3];K[h+88>>3]=K[h+88>>3]+K[c>>3];e=F[h+92>>2];F[h+72>>2]=F[h+88>>2];F[h+76>>2]=e;e=F[h+84>>2];F[h+64>>2]=F[h+80>>2];F[h+68>>2]=e;if(I[a+24>>2]<=2){D[a+20|0]=1}ke:{if(d>>>0<=2){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ke}e=F[a+36>>2]- -64|0}le:{if(!i){break le}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break le}m=c&1;l=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];me:{if((c|0)==1){k=0;break me}c=c&-2;k=0;g=0;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break le}F[e+20>>2]=0}if(I[a+24>>2]<=3){D[a+20|0]=1}ne:{if(d>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ne}c=F[a+36>>2]+96|0}oe:{if(!i){break oe}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break oe}m=g&1;l=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];pe:{if((g|0)==1){k=0;break pe}n=g&-2;k=0;g=0;while(1){o=k|1;f=+J[j+(o<<2)>>2]*K[l+(o<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break oe}F[c+20>>2]=0}K[h+64>>3]=K[h+64>>3]+K[e>>3];K[h+72>>3]=K[h+72>>3]+K[c>>3];e=F[h+76>>2];F[h+56>>2]=F[h+72>>2];F[h+60>>2]=e;e=F[h+68>>2];F[h+48>>2]=F[h+64>>2];F[h+52>>2]=e;if(I[a+24>>2]<=4){D[a+20|0]=1}qe:{if(d>>>0<=4){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break qe}e=F[a+36>>2]+128|0}re:{if(!i){break re}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break re}m=c&1;l=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];se:{if((c|0)==1){k=0;break se}c=c&-2;k=0;g=0;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break re}F[e+20>>2]=0}if(I[a+24>>2]<=5){D[a+20|0]=1}te:{if(d>>>0<=5){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break te}c=F[a+36>>2]+160|0}ue:{if(!i){break ue}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break ue}m=g&1;l=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];ve:{if((g|0)==1){k=0;break ve}n=g&-2;k=0;g=0;while(1){o=k|1;f=+J[j+(o<<2)>>2]*K[l+(o<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break ue}F[c+20>>2]=0}K[h+48>>3]=K[h+48>>3]+K[e>>3];K[h+56>>3]=K[h+56>>3]+K[c>>3];e=F[h+60>>2];F[h+40>>2]=F[h+56>>2];F[h+44>>2]=e;e=F[h+52>>2];F[h+32>>2]=F[h+48>>2];F[h+36>>2]=e;if(I[a+24>>2]<=6){D[a+20|0]=1}we:{if(d>>>0<=6){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break we}e=F[a+36>>2]+192|0}xe:{if(!i){break xe}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break xe}m=c&1;l=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];ye:{if((c|0)==1){k=0;break ye}c=c&-2;k=0;g=0;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break xe}F[e+20>>2]=0}if(I[a+24>>2]<=7){D[a+20|0]=1}ze:{if(d>>>0<=7){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ze}c=F[a+36>>2]+224|0}Ae:{if(!i){break Ae}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Ae}m=g&1;l=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];Be:{if((g|0)==1){k=0;break Be}n=g&-2;k=0;g=0;while(1){o=k|1;f=+J[j+(o<<2)>>2]*K[l+(o<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Ae}F[c+20>>2]=0}K[h+32>>3]=K[h+32>>3]+K[e>>3];K[h+40>>3]=K[h+40>>3]+K[c>>3];e=F[h+44>>2];F[h+24>>2]=F[h+40>>2];F[h+28>>2]=e;e=F[h+36>>2];F[h+16>>2]=F[h+32>>2];F[h+20>>2]=e;if(I[a+24>>2]<=8){D[a+20|0]=1}Ce:{if(d>>>0<=8){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ce}e=F[a+36>>2]+256|0}De:{if(!i){break De}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break De}m=c&1;l=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];Ee:{if((c|0)==1){k=0;break Ee}c=c&-2;k=0;g=0;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break De}F[e+20>>2]=0}if(I[a+24>>2]<=9){D[a+20|0]=1}Fe:{if(d>>>0<=9){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Fe}c=F[a+36>>2]+288|0}Ge:{if(!i){break Ge}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Ge}m=g&1;l=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];He:{if((g|0)==1){k=0;break He}n=g&-2;k=0;g=0;while(1){o=k|1;f=+J[j+(o<<2)>>2]*K[l+(o<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Ge}F[c+20>>2]=0}K[h+16>>3]=K[h+16>>3]+K[e>>3];K[h+24>>3]=K[h+24>>3]+K[c>>3];e=F[h+28>>2];F[h+8>>2]=F[h+24>>2];F[h+12>>2]=e;e=F[h+20>>2];F[h>>2]=F[h+16>>2];F[h+4>>2]=e;if(I[a+24>>2]<=10){D[a+20|0]=1}Ie:{if(d>>>0<=10){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ie}e=F[a+36>>2]+320|0}Je:{if(!i){break Je}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Je}m=c&1;l=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];Ke:{if((c|0)==1){k=0;break Ke}c=c&-2;k=0;g=0;while(1){n=k|1;f=+J[j+(n<<2)>>2]*K[l+(n<<3)>>3]+(+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(k<<2)>>2]*K[l+(k<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Je}F[e+20>>2]=0}if(I[a+24>>2]<=11){D[a+20|0]=1}Le:{if(d>>>0<=11){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Le}c=F[a+36>>2]+352|0}Me:{if(!i){break Me}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Me}l=d&1;i=F[c+24>>2];g=F[a+172>>2];f=K[c>>3];Ne:{if((d|0)==1){k=0;break Ne}j=d&-2;k=0;d=0;while(1){m=k|1;f=+J[g+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[g+(k<<2)>>2]*K[i+(k<<3)>>3]+f);k=k+2|0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}f=l?+J[g+(k<<2)>>2]*K[i+(k<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Me}F[c+20>>2]=0}K[h>>3]=K[h>>3]+K[e>>3];K[h+8>>3]=K[h+8>>3]+K[c>>3];Qb(b,h+80|0,h- -64|0,h+48|0);e=F[h+60>>2];F[a+136>>2]=F[h+56>>2];F[a+140>>2]=e;e=F[h+52>>2];F[a+128>>2]=F[h+48>>2];F[a+132>>2]=e;Qb(b,h+32|0,h+16|0,h);e=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=e;e=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=e}Ga=h+96|0;F[a+24>>2]=0;break m}d=Ga-96|0;Ga=d;Oe:{Pe:{Qe:{if(F[a+24>>2]==9){e=F[a+140>>2];F[d+88>>2]=F[a+136>>2];F[d+92>>2]=e;e=F[a+132>>2];F[d+80>>2]=F[a+128>>2];F[d+84>>2]=e;h=F[a+32>>2];Re:{if(!h){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Re}e=F[a+36>>2]}i=G[a+176|0];if(!i){break Pe}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Pe}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];if((c|0)==1){break Qe}c=c&-2;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}break Qe}D[a+40|0]=1;break Oe}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break Pe}F[e+20>>2]=0}if(I[a+24>>2]<=1){D[a+20|0]=1}Se:{if(h>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Se}c=F[a+36>>2]+32|0}Te:{if(!i){break Te}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Te}m=g&1;k=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];Ue:{if((g|0)==1){l=0;break Ue}n=g&-2;l=0;g=0;while(1){o=l|1;f=+J[j+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Te}F[c+20>>2]=0}K[d+80>>3]=K[d+80>>3]+K[e>>3];K[d+88>>3]=K[d+88>>3]+K[c>>3];e=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=e;e=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=e;if(I[a+24>>2]<=2){D[a+20|0]=1}Ve:{if(h>>>0<=2){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ve}e=F[a+36>>2]- -64|0}We:{if(!i){break We}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break We}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];Xe:{if((c|0)==1){l=0;break Xe}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break We}F[e+20>>2]=0}if(I[a+24>>2]<=3){D[a+20|0]=1}Ye:{if(h>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ye}c=F[a+36>>2]+96|0}Ze:{if(!i){break Ze}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Ze}m=g&1;k=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];_e:{if((g|0)==1){l=0;break _e}n=g&-2;l=0;g=0;while(1){o=l|1;f=+J[j+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break Ze}F[c+20>>2]=0}K[d+64>>3]=K[d+64>>3]+K[e>>3];K[d+72>>3]=K[d+72>>3]+K[c>>3];e=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=e;e=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=e;if(I[a+24>>2]<=4){D[a+20|0]=1}$e:{if(h>>>0<=4){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break $e}e=F[a+36>>2]+128|0}af:{if(!i){break af}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break af}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];bf:{if((c|0)==1){l=0;break bf}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break af}F[e+20>>2]=0}K[d+48>>3]=K[d+48>>3]+K[e>>3];e=F[d+60>>2];F[d+40>>2]=F[d+56>>2];F[d+44>>2]=e;e=F[d+52>>2];F[d+32>>2]=F[d+48>>2];F[d+36>>2]=e;if(I[a+24>>2]<=5){D[a+20|0]=1}cf:{if(h>>>0<=5){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break cf}e=F[a+36>>2]+160|0}df:{if(!i){break df}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break df}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];ef:{if((c|0)==1){l=0;break ef}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break df}F[e+20>>2]=0}K[d+32>>3]=K[d+32>>3]+K[e>>3];e=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=e;e=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=e;if(I[a+24>>2]<=6){D[a+20|0]=1}ff:{if(h>>>0<=6){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ff}e=F[a+36>>2]+192|0}gf:{if(!i){break gf}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break gf}m=c&1;k=F[e+24>>2];j=F[a+172>>2];f=K[e>>3];hf:{if((c|0)==1){l=0;break hf}c=c&-2;l=0;g=0;while(1){n=l|1;f=+J[j+(n<<2)>>2]*K[k+(n<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break gf}F[e+20>>2]=0}if(I[a+24>>2]<=7){D[a+20|0]=1}jf:{if(h>>>0<=7){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break jf}c=F[a+36>>2]+224|0}kf:{if(!i){break kf}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break kf}m=g&1;k=F[c+24>>2];j=F[a+172>>2];f=K[c>>3];lf:{if((g|0)==1){l=0;break lf}n=g&-2;l=0;g=0;while(1){o=l|1;f=+J[j+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break kf}F[c+20>>2]=0}K[d+16>>3]=K[d+16>>3]+K[e>>3];K[d+24>>3]=K[d+24>>3]+K[c>>3];e=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=e;e=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=e;if(I[a+24>>2]<=8){D[a+20|0]=1}mf:{if(h>>>0<=8){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break mf}e=F[a+36>>2]+256|0}nf:{if(!i){break nf}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break nf}k=c&1;h=F[e+24>>2];i=F[a+172>>2];f=K[e>>3];of:{if((c|0)==1){l=0;break of}c=c&-2;l=0;g=0;while(1){j=l|1;f=+J[i+(j<<2)>>2]*K[h+(j<<3)>>3]+(+J[i+(l<<2)>>2]*K[h+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=k?+J[i+(l<<2)>>2]*K[h+(l<<3)>>3]+f:f;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=f;if(F[e+16>>2]<0){break nf}F[e+20>>2]=0}K[d>>3]=K[d>>3]+K[e>>3];e=F[a+140>>2];F[d+8>>2]=F[a+136>>2];F[d+12>>2]=e;Qb(b,d+80|0,d- -64|0,d+48|0);e=F[d+60>>2];F[a+136>>2]=F[d+56>>2];F[a+140>>2]=e;e=F[d+52>>2];F[a+128>>2]=F[d+48>>2];F[a+132>>2]=e;Qb(b,d+32|0,d+16|0,d);e=F[d+12>>2];F[a+136>>2]=F[d+8>>2];F[a+140>>2]=e;e=F[d+4>>2];F[a+128>>2]=F[d>>2];F[a+132>>2]=e}Ga=d+96|0;F[a+24>>2]=0;break m}h=Ga-96|0;Ga=h;g=11;pf:{qf:{if(F[a+24>>2]==11){c=F[a+36>>2];i=F[a+32>>2];j=G[a+176|0];while(1){if(g>>>0<=k>>>0){D[a+20|0]=1}rf:{if(i>>>0<=k>>>0){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break rf}e=c+(k<<5)|0}sf:{if(!j){break sf}d=F[e+20>>2];if(!d|(d|0)!=F[a+168>>2]){break sf}m=F[e+24>>2];n=F[a+172>>2];q=K[e>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;q=+J[n+(p<<2)>>2]*K[m+(p<<3)>>3]+(+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=d&1?+J[n+(g<<2)>>2]*K[m+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break sf}F[e+20>>2]=0}d=k|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}tf:{if(d>>>0>=i>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break tf}d=c+(d<<5)|0}uf:{if(!j){break uf}m=F[d+20>>2];if(!m|(m|0)!=F[a+168>>2]){break uf}n=F[d+24>>2];o=F[a+172>>2];q=K[d>>3];g=0;if((m|0)!=1){p=m&-2;l=0;while(1){r=g|1;q=+J[o+(r<<2)>>2]*K[n+(r<<3)>>3]+(+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}q=m&1?+J[o+(g<<2)>>2]*K[n+(g<<3)>>3]+q:q;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=q;if(F[d+16>>2]<0){break uf}F[d+20>>2]=0}u=u+K[d>>3];f=f+K[e>>3];if(k>>>0>7){break qf}k=k+2|0;g=F[a+24>>2];continue}}D[a+40|0]=1;break pf}e=F[a+140>>2];F[h+88>>2]=F[a+136>>2];F[h+92>>2]=e;e=F[a+132>>2];F[h+80>>2]=F[a+128>>2];F[h+84>>2]=e;if(!F[a+24>>2]){D[a+20|0]=1}e=c;if(!i){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432}vf:{if(!j){break vf}d=F[e+20>>2];if(!d|(d|0)!=F[a+168>>2]){break vf}n=d&1;k=F[e+24>>2];m=F[a+172>>2];q=K[e>>3];wf:{if((d|0)==1){g=0;break wf}d=d&-2;g=0;l=0;while(1){o=g|1;q=+J[m+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break vf}F[e+20>>2]=0}if(I[a+24>>2]<=1){D[a+20|0]=1}xf:{if(i>>>0<=1){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break xf}d=c+32|0}yf:{if(!j){break yf}g=F[d+20>>2];if(!g|(g|0)!=F[a+168>>2]){break yf}n=g&1;k=F[d+24>>2];m=F[a+172>>2];q=K[d>>3];zf:{if((g|0)==1){g=0;break zf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+J[m+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=q;if(F[d+16>>2]<0){break yf}F[d+20>>2]=0}K[h+80>>3]=K[h+80>>3]+K[e>>3];K[h+88>>3]=K[h+88>>3]+K[d>>3];e=F[h+92>>2];F[h+72>>2]=F[h+88>>2];F[h+76>>2]=e;e=F[h+84>>2];F[h+64>>2]=F[h+80>>2];F[h+68>>2]=e;if(I[a+24>>2]<=2){D[a+20|0]=1}Af:{if(i>>>0<=2){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Af}e=c- -64|0}Bf:{if(!j){break Bf}d=F[e+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Bf}n=d&1;k=F[e+24>>2];m=F[a+172>>2];q=K[e>>3];Cf:{if((d|0)==1){g=0;break Cf}d=d&-2;g=0;l=0;while(1){o=g|1;q=+J[m+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break Bf}F[e+20>>2]=0}if(I[a+24>>2]<=3){D[a+20|0]=1}Df:{if(i>>>0<=3){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Df}d=c+96|0}Ef:{if(!j){break Ef}g=F[d+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Ef}n=g&1;k=F[d+24>>2];m=F[a+172>>2];q=K[d>>3];Ff:{if((g|0)==1){g=0;break Ff}o=g&-2;g=0;l=0;while(1){p=g|1;q=+J[m+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=q;if(F[d+16>>2]<0){break Ef}F[d+20>>2]=0}K[h+64>>3]=K[h+64>>3]+K[e>>3];K[h+72>>3]=K[h+72>>3]+K[d>>3];e=F[h+76>>2];F[h+56>>2]=F[h+72>>2];F[h+60>>2]=e;e=F[h+68>>2];F[h+48>>2]=F[h+64>>2];F[h+52>>2]=e;if(I[a+24>>2]<=4){D[a+20|0]=1}Gf:{if(i>>>0<=4){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Gf}e=c+128|0}Hf:{if(!j){break Hf}d=F[e+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Hf}n=d&1;k=F[e+24>>2];m=F[a+172>>2];q=K[e>>3];If:{if((d|0)==1){g=0;break If}d=d&-2;g=0;l=0;while(1){o=g|1;q=+J[m+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break Hf}F[e+20>>2]=0}if(I[a+24>>2]<=5){D[a+20|0]=1}Jf:{if(i>>>0<=5){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Jf}d=c+160|0}Kf:{if(!j){break Kf}g=F[d+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Kf}n=g&1;k=F[d+24>>2];m=F[a+172>>2];q=K[d>>3];Lf:{if((g|0)==1){g=0;break Lf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+J[m+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=q;if(F[d+16>>2]<0){break Kf}F[d+20>>2]=0}K[h+48>>3]=K[h+48>>3]+K[e>>3];K[h+56>>3]=K[h+56>>3]+K[d>>3];e=F[h+60>>2];F[h+40>>2]=F[h+56>>2];F[h+44>>2]=e;e=F[h+52>>2];F[h+32>>2]=F[h+48>>2];F[h+36>>2]=e;if(I[a+24>>2]<=6){D[a+20|0]=1}Mf:{if(i>>>0<=6){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Mf}e=c+192|0}Nf:{if(!j){break Nf}d=F[e+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Nf}n=d&1;k=F[e+24>>2];m=F[a+172>>2];q=K[e>>3];Of:{if((d|0)==1){g=0;break Of}d=d&-2;g=0;l=0;while(1){o=g|1;q=+J[m+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break Nf}F[e+20>>2]=0}if(I[a+24>>2]<=7){D[a+20|0]=1}Pf:{if(i>>>0<=7){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Pf}d=c+224|0}Qf:{if(!j){break Qf}g=F[d+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Qf}n=g&1;k=F[d+24>>2];m=F[a+172>>2];q=K[d>>3];Rf:{if((g|0)==1){g=0;break Rf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+J[m+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=q;if(F[d+16>>2]<0){break Qf}F[d+20>>2]=0}K[h+32>>3]=K[h+32>>3]+K[e>>3];K[h+40>>3]=K[h+40>>3]+K[d>>3];e=F[h+44>>2];F[h+24>>2]=F[h+40>>2];F[h+28>>2]=e;e=F[h+36>>2];F[h+16>>2]=F[h+32>>2];F[h+20>>2]=e;if(I[a+24>>2]<=8){D[a+20|0]=1}Sf:{if(i>>>0<=8){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Sf}e=c+256|0}Tf:{if(!j){break Tf}d=F[e+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Tf}n=d&1;k=F[e+24>>2];m=F[a+172>>2];q=K[e>>3];Uf:{if((d|0)==1){g=0;break Uf}d=d&-2;g=0;l=0;while(1){o=g|1;q=+J[m+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break Tf}F[e+20>>2]=0}if(I[a+24>>2]<=9){D[a+20|0]=1}Vf:{if(i>>>0<=9){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Vf}d=c+288|0}Wf:{if(!j){break Wf}g=F[d+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Wf}n=g&1;k=F[d+24>>2];m=F[a+172>>2];q=K[d>>3];Xf:{if((g|0)==1){g=0;break Xf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+J[m+(p<<2)>>2]*K[k+(p<<3)>>3]+(+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+J[m+(g<<2)>>2]*K[k+(g<<3)>>3]+q:q;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=q;if(F[d+16>>2]<0){break Wf}F[d+20>>2]=0}K[h+16>>3]=K[h+16>>3]+K[e>>3];K[h+24>>3]=K[h+24>>3]+K[d>>3];e=F[h+28>>2];F[h+8>>2]=F[h+24>>2];F[h+12>>2]=e;e=F[h+20>>2];F[h>>2]=F[h+16>>2];F[h+4>>2]=e;Yf:{Zf:{_f:{if(N(f)>N(u)){if(I[a+24>>2]<=10){D[a+20|0]=1}$f:{if(i>>>0<=10){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break $f}e=c+320|0}if(!j){break Zf}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Zf}k=c&1;d=F[e+24>>2];i=F[a+172>>2];q=K[e>>3];if((c|0)==1){g=0;break _f}c=c&-2;g=0;l=0;while(1){j=g|1;q=+J[i+(j<<2)>>2]*K[d+(j<<3)>>3]+(+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}break _f}e=F[a+132>>2];F[h>>2]=F[a+128>>2];F[h+4>>2]=e;if(I[a+24>>2]<=10){D[a+20|0]=1}ag:{if(i>>>0<=10){e=F[40915];F[61614]=F[40914];F[61615]=e;e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break ag}e=c+320|0}bg:{if(!j){break bg}c=F[e+20>>2];if(!c|(c|0)!=F[a+168>>2]){break bg}k=c&1;d=F[e+24>>2];i=F[a+172>>2];q=K[e>>3];cg:{if((c|0)==1){g=0;break cg}c=c&-2;g=0;l=0;while(1){j=g|1;q=+J[i+(j<<2)>>2]*K[d+(j<<3)>>3]+(+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}q=k?+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break bg}F[e+20>>2]=0}K[h+8>>3]=K[h+8>>3]+K[e>>3];break Yf}q=k?+J[i+(g<<2)>>2]*K[d+(g<<3)>>3]+q:q;F[e+8>>2]=0;F[e+12>>2]=0;K[e>>3]=q;if(F[e+16>>2]<0){break Zf}F[e+20>>2]=0}K[h>>3]=K[h>>3]+K[e>>3];e=F[a+140>>2];F[h+8>>2]=F[a+136>>2];F[h+12>>2]=e}Qb(b,h+80|0,h- -64|0,h+48|0);e=F[h+60>>2];F[a+136>>2]=F[h+56>>2];F[a+140>>2]=e;e=F[h+52>>2];F[a+128>>2]=F[h+48>>2];F[a+132>>2]=e;Qb(b,h+32|0,h+16|0,h);e=F[h+12>>2];F[a+136>>2]=F[h+8>>2];F[a+140>>2]=e;e=F[h+4>>2];F[a+128>>2]=F[h>>2];F[a+132>>2]=e}Ga=h+96|0;F[a+24>>2]=0;break m}Lo(c,a);break m}f=i?+J[h+(e<<2)>>2]*K[d+(e<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break q}F[c+20>>2]=0}K[s+8>>3]=K[s+8>>3]+K[c>>3];zh(b,s);e=F[s+12>>2];F[a+136>>2]=F[s+8>>2];F[a+140>>2]=e;e=F[s+4>>2];F[a+128>>2]=F[s>>2];F[a+132>>2]=e;if(!G[a+73|0]){if(!G[a+74|0]){D[a+74|0]=1;e=F[a+80>>2]+(F[a+24>>2]>>>1|0)|0;F[a+80>>2]=e;F[a+84>>2]=(e+F[a+76>>2]|0)+7>>>3}D[a+73|0]=1}F[a+24>>2]=0;break m}f=i?+J[h+(e<<2)>>2]*K[d+(e<<3)>>3]+f:f;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=f;if(F[c+16>>2]<0){break o}F[c+20>>2]=0}K[s>>3]=K[s>>3]+K[c>>3];zh(b,s);e=F[s+12>>2];F[a+136>>2]=F[s+8>>2];F[a+140>>2]=e;e=F[s+4>>2];F[a+128>>2]=F[s>>2];F[a+132>>2]=e;if(!G[a+73|0]){if(!G[a+74|0]){D[a+74|0]=1;e=F[a+80>>2]+(F[a+24>>2]>>>1|0)|0;F[a+80>>2]=e;F[a+84>>2]=(e+F[a+76>>2]|0)+7>>>3}D[a+73|0]=1}F[a+24>>2]=0;break m}D[a+16|0]=1;F[a+12>>2]=e}Ga=s+16|0}e=0;dg:{if(G[a+88|0]|F[a+96>>2]<0|(G[a+20|0]|(G[a+40|0]|G[a+16|0]))){break dg}if(F[a+28>>2]<0){break dg}e=1;if(!G[a+72|0]){continue}}break}return e|0}function xC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;D[a+72|0]=0;v=G[163632];w=v|256;c=!G[a+16|0];while(1){a:{b:{if(!(c&1)){break b}c=F[a+12>>2];d=c+1|0;h=F[a+4>>2];if(d>>>0>h>>>0){break b}c:{if(c>>>0>>0){g=F[a>>2];f=G[g+c|0];if((f|0)==12){c=w;if(d>>>0>=h>>>0){break c}f=G[d+g|0]|256;c=d}if(c>>>0>=h>>>0){c=f;break c}F[a+12>>2]=c+1;break a}D[a+16|0]=1;f=65535;c=v;if((c|0)==12){break a}}D[a+16|0]=1;F[a+12>>2]=h;f=c;break a}f=F[a+92>>2]?11:14}d:{e:{f:{switch(f-10|0){case 0:case 19:c=F[a+24>>2]-1|0;g:{if(c>>>0>=I[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break g}c=F[a+36>>2]+(c<<5)|0}if(!F[c+20>>2]){break e}D[a+40|0]=1;break d;case 6:Mo(a);break d;case 5:break f;default:break e}}d=F[a+32>>2];c=F[a+24>>2]-1|0;h:{if(d>>>0<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break h}c=F[a+36>>2]+(c<<5)|0}if(F[c+20>>2]){D[a+40|0]=1;break d}c=F[a+24>>2];i:{j:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=d>>>0){break j}c=F[a+36>>2]+(c<<5)|0;break i}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432}e=K[c>>3];k:{if(N(e)<2147483648){c=~~e;break k}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}l:{if(G[a+177|0]|G[a+178|0]){D[a+40|0]=1;break l}F[a+160>>2]=c}F[a+24>>2]=0;D[a+177|0]=1;break d}d=0;k=0;h=0;i=0;j=0;q=0;s=0;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{switch(f-1|0){default:switch(f-255|0){case 38:break v;case 37:break w;case 36:break x;case 35:break y;case 0:break R;default:break u};case 10:if(G[a+16|0]){D[a+40|0]=1}c=F[a+92>>2];T:{U:{if(c){c=c-1|0;F[a+92>>2]=c;if(c>>>0>=I[a+100>>2]){break U}c=F[a+104>>2]+L(c,28)|0;break T}D[a+88|0]=1}F[61614]=F[40914];c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432}d=F[c+4>>2];F[a+44>>2]=F[c>>2];F[a+48>>2]=d;F[a+68>>2]=F[c+24>>2];d=F[c+20>>2];F[a+60>>2]=F[c+16>>2];F[a+64>>2]=d;d=F[c+12>>2];F[a+52>>2]=F[c+8>>2];F[a+56>>2]=d;d=F[c+8>>2];f=F[c+12>>2];h=F[c>>2];g=F[c+4>>2];D[a+16|0]=G[c+16|0];F[a+8>>2]=d;F[a+12>>2]=f;F[a>>2]=h;F[a+4>>2]=g;break m;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break u;case 30:break z;case 29:break A;case 26:break B;case 25:break C;case 24:break D;case 23:break E;case 7:break F;case 6:break G;case 5:break H;case 4:break I;case 3:break J;case 21:break K;case 20:break L;case 18:case 19:break M;case 2:case 22:break N;case 0:case 17:break O;case 28:break P;case 9:break Q;case 13:break S}}D[a+72|0]=1;break o}if(G[a+16|0]){break m}d=F[a+4>>2];c=F[a+12>>2];if(d>>>0>>0){break m}V:{if(c>>>0>=d>>>0){D[a+16|0]=1;c=163632;break V}c=c+F[a>>2]|0}d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);f=d>>>8&65280|d>>>24;c=F[a+24>>2];W:{if(c>>>0>2]){F[a+24>>2]=c+1;c=F[a+36>>2]+(c<<5)|0;break W}D[a+20|0]=1;c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432}F[c+8>>2]=0;F[c+12>>2]=0;if(F[c+16>>2]>=0){F[c+20>>2]=0}K[c>>3]=+(f|(d<<8&16711680|d<<24))*152587890625e-16;if(G[a+16|0]){c=F[a+4>>2];break n}c=F[a+4>>2];d=F[a+12>>2];if(c>>>0>>0){break n}d=d+4|0;if(d>>>0>c>>>0){break n}F[a+12>>2]=d;break m}Hf(a,a+116|0,2);break m}Hf(a,a+108|0,1);break m}c=F[a+24>>2];F[a+24>>2]=0;F[a+76>>2]=F[a+76>>2]+(c>>>1|0);break m}c=F[a+24>>2];F[a+24>>2]=0;F[a+80>>2]=F[a+80>>2]+(c>>>1|0);break m}X:{if(G[a+74|0]){c=F[a+84>>2];break X}D[a+74|0]=1;c=F[a+80>>2]+(F[a+24>>2]>>>1|0)|0;F[a+80>>2]=c;c=(c+F[a+76>>2]|0)+7>>>3|0;F[a+84>>2]=c}if(G[a+16|0]){break m}f=F[a+12>>2];d=f+c|0;c=F[a+4>>2];if(d>>>0>c>>>0){break m}F[a+24>>2]=0;if(c>>>0>=f>>>0){F[a+12>>2]=d;break m}break n}c=F[a+24>>2];Y:{Z:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){break Z}d=F[a+36>>2]+(c<<5)|0;break Y}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432}q=K[a+136>>3];s=K[a+128>>3];g=G[a+176|0];_:{if(!g){break _}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break _}k=c&1;f=F[d+24>>2];h=F[a+172>>2];e=K[d>>3];$:{if((c|0)==1){c=0;break $}j=c&-2;c=0;while(1){n=c|1;e=+J[h+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[h+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}e=k?+J[h+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break _}F[d+20>>2]=0}c=F[a+24>>2];aa:{ba:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){break ba}f=F[a+36>>2]+(c<<5)|0;break aa}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432}ca:{if(!g){break ca}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break ca}k=c&1;h=F[f+24>>2];g=F[a+172>>2];e=K[f>>3];da:{if((c|0)==1){c=0;break da}j=c&-2;c=0;i=0;while(1){n=c|1;e=+J[g+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[g+(c<<2)>>2]*K[h+(c<<3)>>3]+e);c=c+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}e=k?+J[g+(c<<2)>>2]*K[h+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break ca}F[f+20>>2]=0}e=K[f>>3];u=K[d>>3];D[b|0]=0;K[a+136>>3]=q+u;K[a+128>>3]=s+e;break p}c=F[a+24>>2];ea:{fa:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){break fa}d=F[a+36>>2]+(c<<5)|0;break ea}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432}q=K[a+136>>3];s=K[a+128>>3];if(!G[a+176|0]){break q}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break q}g=c&1;f=F[d+24>>2];h=F[a+172>>2];e=K[d>>3];if((c|0)==1){c=0;break r}i=c&-2;c=0;while(1){j=c|1;e=+J[h+(j<<2)>>2]*K[f+(j<<3)>>3]+(+J[h+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}break r}c=F[a+24>>2];ga:{ha:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){break ha}d=F[a+36>>2]+(c<<5)|0;break ga}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432}q=K[a+136>>3];s=K[a+128>>3];if(!G[a+176|0]){break s}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break s}g=c&1;f=F[d+24>>2];h=F[a+172>>2];e=K[d>>3];if((c|0)==1){c=0;break t}i=c&-2;c=0;while(1){j=c|1;e=+J[h+(j<<2)>>2]*K[f+(j<<3)>>3]+(+J[h+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}break t}c=0;h=F[a+24>>2];if(h>>>0>=2){n=F[a+36>>2];l=F[a+32>>2];m=G[a+176|0];d=2;while(1){if(c>>>0>=h>>>0){D[a+20|0]=1}ia:{if(c>>>0>=l>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break ia}f=n+(c<<5)|0}q=K[a+136>>3];s=K[a+128>>3];ja:{if(!m){break ja}g=F[f+20>>2];if(!g|(g|0)!=F[a+168>>2]){break ja}i=F[f+24>>2];j=F[a+172>>2];e=K[f>>3];h=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=h|1;e=+J[j+(p<<2)>>2]*K[i+(p<<3)>>3]+(+J[j+(h<<2)>>2]*K[i+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[j+(h<<2)>>2]*K[i+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break ja}F[f+20>>2]=0}c=c|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}ka:{if(c>>>0>=l>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ka}c=n+(c<<5)|0}la:{if(!m){break la}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break la}i=F[c+24>>2];j=F[a+172>>2];e=K[c>>3];h=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=h|1;e=+J[j+(p<<2)>>2]*K[i+(p<<3)>>3]+(+J[j+(h<<2)>>2]*K[i+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[j+(h<<2)>>2]*K[i+(h<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break la}F[c+20>>2]=0}u=q+K[c>>3];e=s+K[f>>3];ma:{if(G[b|0]){break ma}D[b|0]=1;q=K[a+128>>3];if(q>3]){K[b+8>>3]=q;q=K[a+128>>3]}if(K[b+24>>3]>3]=q}q=K[a+136>>3];if(q>3]){K[b+16>>3]=q;q=K[a+136>>3]}if(!(K[b+32>>3]>3]=q}K[a+136>>3]=u;K[a+128>>3]=e;if(K[b+8>>3]>e){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(K[b+32>>3]>3]=e}c=d;d=c+2|0;h=F[a+24>>2];if(d>>>0<=h>>>0){continue}break}}break o}c=0;i=F[a+24>>2];if(i>>>0>=2){n=F[a+36>>2];l=F[a+32>>2];m=G[a+176|0];h=2;while(1){c=h;if(d>>>0>=i>>>0){D[a+20|0]=1}na:{if(d>>>0>=l>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break na}f=n+(d<<5)|0}s=K[a+136>>3];q=K[a+128>>3];oa:{if(!m){break oa}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break oa}g=F[f+24>>2];j=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;k=0;while(1){p=i|1;e=+J[j+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=h&1?+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break oa}F[f+20>>2]=0}q=q+K[f>>3];pa:{if(G[b|0]){break pa}D[b|0]=1;e=K[a+128>>3];if(e>3]){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(!(K[b+32>>3]>3]=e}K[a+136>>3]=s;K[a+128>>3]=q;e=q;if(e>3]){K[b+8>>3]=q;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(K[b+32>>3]>3]=e}d=d|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}qa:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break qa}d=n+(d<<5)|0}ra:{if(!m){break ra}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break ra}h=F[d+24>>2];g=F[a+172>>2];e=K[d>>3];i=0;if((f|0)!=1){j=f&-2;k=0;while(1){o=i|1;e=+J[g+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}e=f&1?+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break ra}F[d+20>>2]=0}e=s+K[d>>3];sa:{if(G[b|0]){break sa}D[b|0]=1;s=K[a+128>>3];if(s>3]){K[b+8>>3]=s;s=K[a+128>>3]}if(K[b+24>>3]>3]=s}s=K[a+136>>3];if(s>3]){K[b+16>>3]=s;s=K[a+136>>3]}if(!(K[b+32>>3]>3]=s}K[a+136>>3]=e;K[a+128>>3]=q;if(K[b+8>>3]>q){K[b+8>>3]=q;q=K[a+128>>3]}if(K[b+24>>3]>3]=q}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(K[b+32>>3]>3]=e}i=F[a+24>>2];d=c;h=c+2|0;if(i>>>0>=h>>>0){continue}break}}ta:{if(c>>>0>=i>>>0){break ta}ua:{if(I[a+32>>2]<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ua}c=F[a+36>>2]+(c<<5)|0}q=K[a+136>>3];s=K[a+128>>3];va:{if(!G[a+176|0]){break va}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break va}g=d&1;f=F[c+24>>2];h=F[a+172>>2];e=K[c>>3];wa:{if((d|0)==1){i=0;break wa}d=d&-2;i=0;k=0;while(1){j=i|1;e=+J[h+(j<<2)>>2]*K[f+(j<<3)>>3]+(+J[h+(i<<2)>>2]*K[f+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=g?+J[h+(i<<2)>>2]*K[f+(i<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break va}F[c+20>>2]=0}e=s+K[c>>3];xa:{if(G[b|0]){break xa}D[b|0]=1;s=K[a+128>>3];if(s>3]){K[b+8>>3]=s;s=K[a+128>>3]}if(K[b+24>>3]>3]=s}s=K[a+136>>3];if(s>3]){K[b+16>>3]=s;s=K[a+136>>3]}if(!(K[b+32>>3]>3]=s}K[a+136>>3]=q;K[a+128>>3]=e;if(K[b+8>>3]>e){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(!(K[b+32>>3]>3]=e}break o}c=0;i=F[a+24>>2];if(i>>>0>=2){n=F[a+36>>2];l=F[a+32>>2];m=G[a+176|0];h=2;while(1){c=h;if(d>>>0>=i>>>0){D[a+20|0]=1}ya:{if(d>>>0>=l>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break ya}f=n+(d<<5)|0}s=K[a+136>>3];q=K[a+128>>3];za:{if(!m){break za}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break za}g=F[f+24>>2];j=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;k=0;while(1){p=i|1;e=+J[j+(p<<2)>>2]*K[g+(p<<3)>>3]+(+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=h&1?+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break za}F[f+20>>2]=0}s=s+K[f>>3];Aa:{if(G[b|0]){break Aa}D[b|0]=1;e=K[a+128>>3];if(e>3]){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(!(K[b+32>>3]>3]=e}K[a+136>>3]=s;K[a+128>>3]=q;e=q;if(e>3]){K[b+8>>3]=q;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(K[b+32>>3]>3]=e}d=d|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ba:{if(d>>>0>=l>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Ba}d=n+(d<<5)|0}Ca:{if(!m){break Ca}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Ca}h=F[d+24>>2];g=F[a+172>>2];e=K[d>>3];i=0;if((f|0)!=1){j=f&-2;k=0;while(1){o=i|1;e=+J[g+(o<<2)>>2]*K[h+(o<<3)>>3]+(+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}e=f&1?+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Ca}F[d+20>>2]=0}e=q+K[d>>3];Da:{if(G[b|0]){break Da}D[b|0]=1;q=K[a+128>>3];if(q>3]){K[b+8>>3]=q;q=K[a+128>>3]}if(K[b+24>>3]>3]=q}q=K[a+136>>3];if(q>3]){K[b+16>>3]=q;q=K[a+136>>3]}if(!(K[b+32>>3]>3]=q}K[a+136>>3]=s;K[a+128>>3]=e;if(K[b+8>>3]>e){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(K[b+32>>3]>3]=e}i=F[a+24>>2];d=c;h=c+2|0;if(i>>>0>=h>>>0){continue}break}}Ea:{if(c>>>0>=i>>>0){break Ea}Fa:{if(I[a+32>>2]<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Fa}c=F[a+36>>2]+(c<<5)|0}s=K[a+136>>3];q=K[a+128>>3];Ga:{if(!G[a+176|0]){break Ga}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Ga}g=d&1;f=F[c+24>>2];h=F[a+172>>2];e=K[c>>3];Ha:{if((d|0)==1){i=0;break Ha}d=d&-2;i=0;k=0;while(1){j=i|1;e=+J[h+(j<<2)>>2]*K[f+(j<<3)>>3]+(+J[h+(i<<2)>>2]*K[f+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=g?+J[h+(i<<2)>>2]*K[f+(i<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Ga}F[c+20>>2]=0}s=s+K[c>>3];Ia:{if(G[b|0]){break Ia}D[b|0]=1;e=K[a+128>>3];if(e>3]){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(!(K[b+32>>3]>3]=e}K[a+136>>3]=s;K[a+128>>3]=q;if(K[b+8>>3]>q){K[b+8>>3]=q;q=K[a+128>>3]}if(K[b+24>>3]>3]=q}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(!(K[b+32>>3]>3]=e}break o}c=0;k=Ga-48|0;Ga=k;i=F[a+24>>2];if(i>>>0>=6){d=6;while(1){g=c;c=d;d=F[a+140>>2];F[k+40>>2]=F[a+136>>2];F[k+44>>2]=d;d=F[a+132>>2];F[k+32>>2]=F[a+128>>2];F[k+36>>2]=d;if(g>>>0>=i>>>0){D[a+20|0]=1}j=F[a+32>>2];Ja:{if(j>>>0<=g>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Ja}f=F[a+36>>2]+(g<<5)|0}n=G[a+176|0];Ka:{if(!n){break Ka}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Ka}l=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Ka}F[f+20>>2]=0}d=g|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}La:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break La}h=F[a+36>>2]+(d<<5)|0}Ma:{if(!n){break Ma}l=F[h+20>>2];if(!l|(l|0)!=F[a+168>>2]){break Ma}m=F[h+24>>2];o=F[a+172>>2];e=K[h>>3];i=0;if((l|0)!=1){p=l&-2;d=0;while(1){r=i|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=l&1?+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Ma}F[h+20>>2]=0}K[k+32>>3]=K[k+32>>3]+K[f>>3];K[k+40>>3]=K[k+40>>3]+K[h>>3];d=F[k+44>>2];F[k+24>>2]=F[k+40>>2];F[k+28>>2]=d;d=F[k+36>>2];F[k+16>>2]=F[k+32>>2];F[k+20>>2]=d;d=g+2|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Na:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Na}f=F[a+36>>2]+(d<<5)|0}Oa:{if(!n){break Oa}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Oa}l=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Oa}F[f+20>>2]=0}d=g+3|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Pa:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Pa}h=F[a+36>>2]+(d<<5)|0}Qa:{if(!n){break Qa}l=F[h+20>>2];if(!l|(l|0)!=F[a+168>>2]){break Qa}m=F[h+24>>2];o=F[a+172>>2];e=K[h>>3];i=0;if((l|0)!=1){p=l&-2;d=0;while(1){r=i|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=l&1?+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Qa}F[h+20>>2]=0}K[k+16>>3]=K[k+16>>3]+K[f>>3];K[k+24>>3]=K[k+24>>3]+K[h>>3];d=F[k+28>>2];F[k+8>>2]=F[k+24>>2];F[k+12>>2]=d;d=F[k+20>>2];F[k>>2]=F[k+16>>2];F[k+4>>2]=d;d=g+4|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ra:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Ra}f=F[a+36>>2]+(d<<5)|0}Sa:{if(!n){break Sa}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Sa}l=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Sa}F[f+20>>2]=0}d=g+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ta:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Ta}h=F[a+36>>2]+(d<<5)|0}Ua:{if(!n){break Ua}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Ua}j=F[h+24>>2];n=F[a+172>>2];e=K[h>>3];i=0;if((g|0)!=1){l=g&-2;d=0;while(1){m=i|1;e=+J[n+(m<<2)>>2]*K[j+(m<<3)>>3]+(+J[n+(i<<2)>>2]*K[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((l|0)!=(d|0)){continue}break}}e=g&1?+J[n+(i<<2)>>2]*K[j+(i<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Ua}F[h+20>>2]=0}K[k>>3]=K[k>>3]+K[f>>3];K[k+8>>3]=K[k+8>>3]+K[h>>3];ub(a,b,k+32|0,k+16|0,k);d=c+6|0;i=F[a+24>>2];if(d>>>0<=i>>>0){continue}break}}Ga=k+48|0;break o}c=0;k=Ga-48|0;Ga=k;i=F[a+24>>2];Va:{if(i>>>0<8){break Va}p=i-2|0;h=6;while(1){g=c;c=h;d=F[a+140>>2];F[k+40>>2]=F[a+136>>2];F[k+44>>2]=d;d=F[a+132>>2];F[k+32>>2]=F[a+128>>2];F[k+36>>2]=d;if(g>>>0>=i>>>0){D[a+20|0]=1}j=F[a+32>>2];Wa:{if(j>>>0<=g>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Wa}d=F[a+36>>2]+(g<<5)|0}n=G[a+176|0];Xa:{if(!n){break Xa}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Xa}l=F[d+24>>2];m=F[a+172>>2];e=K[d>>3];i=0;if((f|0)!=1){o=f&-2;h=0;while(1){r=i|1;e=+J[m+(r<<2)>>2]*K[l+(r<<3)>>3]+(+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}e=f&1?+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Xa}F[d+20>>2]=0}f=g|1;if(f>>>0>=I[a+24>>2]){D[a+20|0]=1}Ya:{if(f>>>0>=j>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break Ya}f=F[a+36>>2]+(f<<5)|0}Za:{if(!n){break Za}l=F[f+20>>2];if(!l|(l|0)!=F[a+168>>2]){break Za}m=F[f+24>>2];o=F[a+172>>2];e=K[f>>3];i=0;if((l|0)!=1){r=l&-2;h=0;while(1){t=i|1;e=+J[o+(t<<2)>>2]*K[m+(t<<3)>>3]+(+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}e=l&1?+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Za}F[f+20>>2]=0}K[k+32>>3]=K[k+32>>3]+K[d>>3];K[k+40>>3]=K[k+40>>3]+K[f>>3];d=F[k+44>>2];F[k+24>>2]=F[k+40>>2];F[k+28>>2]=d;d=F[k+36>>2];F[k+16>>2]=F[k+32>>2];F[k+20>>2]=d;d=g+2|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}_a:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break _a}d=F[a+36>>2]+(d<<5)|0}$a:{if(!n){break $a}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break $a}l=F[d+24>>2];m=F[a+172>>2];e=K[d>>3];i=0;if((f|0)!=1){o=f&-2;h=0;while(1){r=i|1;e=+J[m+(r<<2)>>2]*K[l+(r<<3)>>3]+(+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}e=f&1?+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break $a}F[d+20>>2]=0}f=g+3|0;if(f>>>0>=I[a+24>>2]){D[a+20|0]=1}ab:{if(f>>>0>=j>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break ab}f=F[a+36>>2]+(f<<5)|0}bb:{if(!n){break bb}l=F[f+20>>2];if(!l|(l|0)!=F[a+168>>2]){break bb}m=F[f+24>>2];o=F[a+172>>2];e=K[f>>3];i=0;if((l|0)!=1){r=l&-2;h=0;while(1){t=i|1;e=+J[o+(t<<2)>>2]*K[m+(t<<3)>>3]+(+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}e=l&1?+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break bb}F[f+20>>2]=0}K[k+16>>3]=K[k+16>>3]+K[d>>3];K[k+24>>3]=K[k+24>>3]+K[f>>3];d=F[k+28>>2];F[k+8>>2]=F[k+24>>2];F[k+12>>2]=d;d=F[k+20>>2];F[k>>2]=F[k+16>>2];F[k+4>>2]=d;d=g+4|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}cb:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break cb}d=F[a+36>>2]+(d<<5)|0}db:{if(!n){break db}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break db}l=F[d+24>>2];m=F[a+172>>2];e=K[d>>3];i=0;if((f|0)!=1){o=f&-2;h=0;while(1){r=i|1;e=+J[m+(r<<2)>>2]*K[l+(r<<3)>>3]+(+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}e=f&1?+J[m+(i<<2)>>2]*K[l+(i<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break db}F[d+20>>2]=0}f=g+5|0;if(f>>>0>=I[a+24>>2]){D[a+20|0]=1}eb:{if(f>>>0>=j>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break eb}f=F[a+36>>2]+(f<<5)|0}fb:{if(!n){break fb}g=F[f+20>>2];if(!g|(g|0)!=F[a+168>>2]){break fb}j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];i=0;if((g|0)!=1){l=g&-2;h=0;while(1){m=i|1;e=+J[n+(m<<2)>>2]*K[j+(m<<3)>>3]+(+J[n+(i<<2)>>2]*K[j+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=g&1?+J[n+(i<<2)>>2]*K[j+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break fb}F[f+20>>2]=0}K[k>>3]=K[k>>3]+K[d>>3];K[k+8>>3]=K[k+8>>3]+K[f>>3];ub(a,b,k+32|0,k+16|0,k);i=F[a+24>>2];h=c+6|0;if(p>>>0>=h>>>0){continue}break}if(c>>>0>=i>>>0){D[a+20|0]=1}n=F[a+32>>2];gb:{if(n>>>0<=c>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break gb}d=F[a+36>>2]+(c<<5)|0}q=K[a+136>>3];s=K[a+128>>3];l=G[a+176|0];hb:{if(!l){break hb}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break hb}m=f&1;g=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];ib:{if((f|0)==1){i=0;break ib}f=f&-2;i=0;h=0;while(1){o=i|1;e=+J[j+(o<<2)>>2]*K[g+(o<<3)>>3]+(+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((f|0)!=(h|0)){continue}break}}e=m?+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break hb}F[d+20>>2]=0}c=c|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}jb:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break jb}c=F[a+36>>2]+(c<<5)|0}kb:{if(!l){break kb}f=F[c+20>>2];if(!f|(f|0)!=F[a+168>>2]){break kb}n=f&1;g=F[c+24>>2];j=F[a+172>>2];e=K[c>>3];lb:{if((f|0)==1){i=0;break lb}f=f&-2;i=0;h=0;while(1){l=i|1;e=+J[j+(l<<2)>>2]*K[g+(l<<3)>>3]+(+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((f|0)!=(h|0)){continue}break}}e=n?+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break kb}F[c+20>>2]=0}u=q+K[c>>3];e=s+K[d>>3];mb:{if(G[b|0]){break mb}D[b|0]=1;q=K[a+128>>3];if(q>3]){K[b+8>>3]=q;q=K[a+128>>3]}if(K[b+24>>3]>3]=q}q=K[a+136>>3];if(q>3]){K[b+16>>3]=q;q=K[a+136>>3]}if(!(K[b+32>>3]>3]=q}K[a+136>>3]=u;K[a+128>>3]=e;if(K[b+8>>3]>e){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(!(K[b+32>>3]>3]=e}Ga=k+48|0;break o}g=Ga-48|0;Ga=g;k=F[a+24>>2];if(k>>>0>=8){p=k-6|0;l=F[a+36>>2];m=F[a+32>>2];o=G[a+176|0];f=2;while(1){if(h>>>0>=k>>>0){D[a+20|0]=1}c=f;nb:{if(h>>>0>=m>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break nb}d=l+(h<<5)|0}q=K[a+136>>3];s=K[a+128>>3];ob:{if(!o){break ob}i=F[d+20>>2];if(!i|(i|0)!=F[a+168>>2]){break ob}j=F[d+24>>2];n=F[a+172>>2];e=K[d>>3];f=0;if((i|0)!=1){r=i&-2;k=0;while(1){t=f|1;e=+J[n+(t<<2)>>2]*K[j+(t<<3)>>3]+(+J[n+(f<<2)>>2]*K[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}e=i&1?+J[n+(f<<2)>>2]*K[j+(f<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break ob}F[d+20>>2]=0}f=h|1;if(f>>>0>=I[a+24>>2]){D[a+20|0]=1}pb:{if(f>>>0>=m>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;h=246432;break pb}h=l+(f<<5)|0}qb:{if(!o){break qb}i=F[h+20>>2];if(!i|(i|0)!=F[a+168>>2]){break qb}j=F[h+24>>2];n=F[a+172>>2];e=K[h>>3];f=0;if((i|0)!=1){r=i&-2;k=0;while(1){t=f|1;e=+J[n+(t<<2)>>2]*K[j+(t<<3)>>3]+(+J[n+(f<<2)>>2]*K[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}e=i&1?+J[n+(f<<2)>>2]*K[j+(f<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break qb}F[h+20>>2]=0}u=q+K[h>>3];e=s+K[d>>3];rb:{if(G[b|0]){break rb}D[b|0]=1;q=K[a+128>>3];if(q>3]){K[b+8>>3]=q;q=K[a+128>>3]}if(K[b+24>>3]>3]=q}q=K[a+136>>3];if(q>3]){K[b+16>>3]=q;q=K[a+136>>3]}if(!(K[b+32>>3]>3]=q}K[a+136>>3]=u;K[a+128>>3]=e;if(K[b+8>>3]>e){K[b+8>>3]=e;e=K[a+128>>3]}if(K[b+24>>3]>3]=e}e=K[a+136>>3];if(e>3]){K[b+16>>3]=e;e=K[a+136>>3]}if(K[b+32>>3]>3]=e}k=F[a+24>>2];h=c;f=c+2|0;if(p>>>0>=f>>>0){continue}break}c=F[a+140>>2];F[g+40>>2]=F[a+136>>2];F[g+44>>2]=c;c=F[a+132>>2];F[g+32>>2]=F[a+128>>2];F[g+36>>2]=c;if(h>>>0>=k>>>0){D[a+20|0]=1}i=F[a+32>>2];sb:{if(i>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break sb}c=F[a+36>>2]+(h<<5)|0}n=G[a+176|0];tb:{if(!n){break tb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break tb}o=d&1;l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];ub:{if((d|0)==1){k=0;break ub}d=d&-2;k=0;j=0;while(1){p=k|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(k<<2)>>2]*K[l+(k<<3)>>3]+e);k=k+2|0;j=j+2|0;if((d|0)!=(j|0)){continue}break}}e=o?+J[m+(k<<2)>>2]*K[l+(k<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break tb}F[c+20>>2]=0}d=h|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}vb:{if(d>>>0>=i>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break vb}d=F[a+36>>2]+(d<<5)|0}wb:{if(!n){break wb}k=F[d+20>>2];if(!k|(k|0)!=F[a+168>>2]){break wb}o=k&1;l=F[d+24>>2];m=F[a+172>>2];e=K[d>>3];xb:{if((k|0)==1){k=0;break xb}p=k&-2;k=0;j=0;while(1){r=k|1;e=+J[m+(r<<2)>>2]*K[l+(r<<3)>>3]+(+J[m+(k<<2)>>2]*K[l+(k<<3)>>3]+e);k=k+2|0;j=j+2|0;if((p|0)!=(j|0)){continue}break}}e=o?+J[m+(k<<2)>>2]*K[l+(k<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break wb}F[d+20>>2]=0}K[g+32>>3]=K[g+32>>3]+K[c>>3];K[g+40>>3]=K[g+40>>3]+K[d>>3];c=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=c;c=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=c;if(I[a+24>>2]<=f>>>0){D[a+20|0]=1}yb:{if(f>>>0>=i>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break yb}c=F[a+36>>2]+(f<<5)|0}zb:{if(!n){break zb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break zb}m=d&1;j=F[c+24>>2];l=F[a+172>>2];e=K[c>>3];Ab:{if((d|0)==1){f=0;break Ab}d=d&-2;f=0;k=0;while(1){o=f|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(f<<2)>>2]*K[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=m?+J[l+(f<<2)>>2]*K[j+(f<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break zb}F[c+20>>2]=0}d=h+3|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Bb:{if(d>>>0>=i>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Bb}d=F[a+36>>2]+(d<<5)|0}Cb:{if(!n){break Cb}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Cb}m=f&1;j=F[d+24>>2];l=F[a+172>>2];e=K[d>>3];Db:{if((f|0)==1){f=0;break Db}o=f&-2;f=0;k=0;while(1){p=f|1;e=+J[l+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[l+(f<<2)>>2]*K[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+J[l+(f<<2)>>2]*K[j+(f<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Cb}F[d+20>>2]=0}K[g+16>>3]=K[g+16>>3]+K[c>>3];K[g+24>>3]=K[g+24>>3]+K[d>>3];c=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=c;c=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=c;c=h+4|0;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}Eb:{if(c>>>0>=i>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Eb}c=F[a+36>>2]+(c<<5)|0}Fb:{if(!n){break Fb}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Fb}m=d&1;j=F[c+24>>2];l=F[a+172>>2];e=K[c>>3];Gb:{if((d|0)==1){f=0;break Gb}d=d&-2;f=0;k=0;while(1){o=f|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(f<<2)>>2]*K[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=m?+J[l+(f<<2)>>2]*K[j+(f<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Fb}F[c+20>>2]=0}d=h+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Hb:{if(d>>>0>=i>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Hb}d=F[a+36>>2]+(d<<5)|0}Ib:{if(!n){break Ib}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Ib}j=f&1;h=F[d+24>>2];i=F[a+172>>2];e=K[d>>3];Jb:{if((f|0)==1){f=0;break Jb}n=f&-2;f=0;k=0;while(1){l=f|1;e=+J[i+(l<<2)>>2]*K[h+(l<<3)>>3]+(+J[i+(f<<2)>>2]*K[h+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}e=j?+J[i+(f<<2)>>2]*K[h+(f<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Ib}F[d+20>>2]=0}K[g>>3]=K[g>>3]+K[c>>3];K[g+8>>3]=K[g+8>>3]+K[d>>3];ub(a,b,g+32|0,g+16|0,g)}Ga=g+48|0;break o}c=0;k=Ga-48|0;Ga=k;f=F[a+140>>2];F[k+40>>2]=F[a+136>>2];F[k+44>>2]=f;f=F[a+132>>2];F[k+32>>2]=F[a+128>>2];F[k+36>>2]=f;i=F[a+24>>2];if(i&1){Kb:{if(!F[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Kb}c=F[a+36>>2]}Lb:{if(!G[a+176|0]){break Lb}f=F[c+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Lb}j=f&1;h=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];Mb:{if((f|0)==1){i=0;break Mb}f=f&-2;i=0;while(1){n=i|1;e=+J[g+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}e=j?+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Lb}F[c+20>>2]=0}K[k+32>>3]=K[k+32>>3]+K[c>>3];i=F[a+24>>2];c=1}d=c|4;if(i>>>0>=d>>>0){while(1){g=c;c=d;if(g>>>0>=i>>>0){D[a+20|0]=1}n=F[a+32>>2];Nb:{if(n>>>0<=g>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Nb}f=F[a+36>>2]+(g<<5)|0}l=G[a+176|0];Ob:{if(!l){break Ob}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Ob}j=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Ob}F[f+20>>2]=0}K[k+40>>3]=K[k+40>>3]+K[f>>3];d=F[k+44>>2];F[k+24>>2]=F[k+40>>2];F[k+28>>2]=d;d=F[k+36>>2];F[k+16>>2]=F[k+32>>2];F[k+20>>2]=d;d=g+1|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Pb:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Pb}f=F[a+36>>2]+(d<<5)|0}Qb:{if(!l){break Qb}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Qb}j=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Qb}F[f+20>>2]=0}d=g+2|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Rb:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Rb}h=F[a+36>>2]+(d<<5)|0}Sb:{if(!l){break Sb}j=F[h+20>>2];if(!j|(j|0)!=F[a+168>>2]){break Sb}m=F[h+24>>2];o=F[a+172>>2];e=K[h>>3];i=0;if((j|0)!=1){p=j&-2;d=0;while(1){r=i|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=j&1?+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Sb}F[h+20>>2]=0}K[k+16>>3]=K[k+16>>3]+K[f>>3];K[k+24>>3]=K[k+24>>3]+K[h>>3];d=F[k+28>>2];F[k+8>>2]=F[k+24>>2];F[k+12>>2]=d;d=F[k+20>>2];F[k>>2]=F[k+16>>2];F[k+4>>2]=d;d=g+3|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Tb:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Tb}f=F[a+36>>2]+(d<<5)|0}Ub:{if(!l){break Ub}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Ub}g=F[f+24>>2];j=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){n=h&-2;d=0;while(1){l=i|1;e=+J[j+(l<<2)>>2]*K[g+(l<<3)>>3]+(+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((n|0)!=(d|0)){continue}break}}e=h&1?+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Ub}F[f+20>>2]=0}K[k+8>>3]=K[k+8>>3]+K[f>>3];ub(a,b,k+32|0,k+16|0,k);d=F[a+140>>2];F[k+40>>2]=F[a+136>>2];F[k+44>>2]=d;d=F[a+132>>2];F[k+32>>2]=F[a+128>>2];F[k+36>>2]=d;d=c+4|0;i=F[a+24>>2];if(d>>>0<=i>>>0){continue}break}}Ga=k+48|0;break o}c=0;k=Ga-48|0;Ga=k;f=F[a+140>>2];F[k+40>>2]=F[a+136>>2];F[k+44>>2]=f;f=F[a+132>>2];F[k+32>>2]=F[a+128>>2];F[k+36>>2]=f;i=F[a+24>>2];if(i&1){Vb:{if(!F[a+32>>2]){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Vb}c=F[a+36>>2]}Wb:{if(!G[a+176|0]){break Wb}f=F[c+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Wb}j=f&1;h=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];Xb:{if((f|0)==1){i=0;break Xb}f=f&-2;i=0;while(1){n=i|1;e=+J[g+(n<<2)>>2]*K[h+(n<<3)>>3]+(+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}e=j?+J[g+(i<<2)>>2]*K[h+(i<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Wb}F[c+20>>2]=0}K[k+40>>3]=K[k+40>>3]+K[c>>3];i=F[a+24>>2];c=1}d=c|4;if(i>>>0>=d>>>0){while(1){g=c;c=d;if(g>>>0>=i>>>0){D[a+20|0]=1}n=F[a+32>>2];Yb:{if(n>>>0<=g>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Yb}f=F[a+36>>2]+(g<<5)|0}l=G[a+176|0];Zb:{if(!l){break Zb}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Zb}j=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Zb}F[f+20>>2]=0}K[k+32>>3]=K[k+32>>3]+K[f>>3];d=F[k+44>>2];F[k+24>>2]=F[k+40>>2];F[k+28>>2]=d;d=F[k+36>>2];F[k+16>>2]=F[k+32>>2];F[k+20>>2]=d;d=g+1|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}_b:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break _b}f=F[a+36>>2]+(d<<5)|0}$b:{if(!l){break $b}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break $b}j=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+J[m+(i<<2)>>2]*K[j+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break $b}F[f+20>>2]=0}d=g+2|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}ac:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break ac}h=F[a+36>>2]+(d<<5)|0}bc:{if(!l){break bc}j=F[h+20>>2];if(!j|(j|0)!=F[a+168>>2]){break bc}m=F[h+24>>2];o=F[a+172>>2];e=K[h>>3];i=0;if((j|0)!=1){p=j&-2;d=0;while(1){r=i|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=j&1?+J[o+(i<<2)>>2]*K[m+(i<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break bc}F[h+20>>2]=0}K[k+16>>3]=K[k+16>>3]+K[f>>3];K[k+24>>3]=K[k+24>>3]+K[h>>3];d=F[k+28>>2];F[k+8>>2]=F[k+24>>2];F[k+12>>2]=d;d=F[k+20>>2];F[k>>2]=F[k+16>>2];F[k+4>>2]=d;d=g+3|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}cc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break cc}f=F[a+36>>2]+(d<<5)|0}dc:{if(!l){break dc}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break dc}g=F[f+24>>2];j=F[a+172>>2];e=K[f>>3];i=0;if((h|0)!=1){n=h&-2;d=0;while(1){l=i|1;e=+J[j+(l<<2)>>2]*K[g+(l<<3)>>3]+(+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((n|0)!=(d|0)){continue}break}}e=h&1?+J[j+(i<<2)>>2]*K[g+(i<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break dc}F[f+20>>2]=0}K[k>>3]=K[k>>3]+K[f>>3];ub(a,b,k+32|0,k+16|0,k);d=F[a+140>>2];F[k+40>>2]=F[a+136>>2];F[k+44>>2]=d;d=F[a+132>>2];F[k+32>>2]=F[a+128>>2];F[k+36>>2]=d;d=c+4|0;i=F[a+24>>2];if(d>>>0<=i>>>0){continue}break}}Ga=k+48|0;break o}f=0;i=Ga-96|0;Ga=i;F[i+88>>2]=0;F[i+92>>2]=0;F[i+80>>2]=0;F[i+84>>2]=0;F[i+72>>2]=0;F[i+76>>2]=0;F[i+64>>2]=0;F[i+68>>2]=0;F[i+56>>2]=0;F[i+60>>2]=0;F[i+48>>2]=0;F[i+52>>2]=0;d=F[a+24>>2];ec:{if(!(d&4)){if(d>>>0<8){break ec}c=8;while(1){h=f;f=c;c=F[a+140>>2];F[i+88>>2]=F[a+136>>2];F[i+92>>2]=c;c=F[a+132>>2];F[i+80>>2]=F[a+128>>2];F[i+84>>2]=c;if(d>>>0<=h>>>0){D[a+20|0]=1}n=F[a+32>>2];fc:{if(n>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break fc}c=F[a+36>>2]+(h<<5)|0}l=G[a+176|0];gc:{if(!l){break gc}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break gc}j=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break gc}F[c+20>>2]=0}K[i+88>>3]=K[i+88>>3]+K[c>>3];c=F[i+92>>2];F[i+72>>2]=F[i+88>>2];F[i+76>>2]=c;c=F[i+84>>2];F[i+64>>2]=F[i+80>>2];F[i+68>>2]=c;c=h|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}hc:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break hc}c=F[a+36>>2]+(c<<5)|0}ic:{if(!l){break ic}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break ic}j=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break ic}F[c+20>>2]=0}d=h|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}jc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break jc}g=F[a+36>>2]+(d<<5)|0}kc:{if(!l){break kc}j=F[g+20>>2];if(!j|(j|0)!=F[a+168>>2]){break kc}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=j&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break kc}F[g+20>>2]=0}K[i+64>>3]=K[i+64>>3]+K[c>>3];K[i+72>>3]=K[i+72>>3]+K[g>>3];c=F[i+76>>2];F[i+56>>2]=F[i+72>>2];F[i+60>>2]=c;c=F[i+68>>2];F[i+48>>2]=F[i+64>>2];F[i+52>>2]=c;c=h|3;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}lc:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break lc}c=F[a+36>>2]+(c<<5)|0}mc:{if(!l){break mc}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break mc}j=F[c+24>>2];n=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+J[n+(m<<2)>>2]*K[j+(m<<3)>>3]+(+J[n+(d<<2)>>2]*K[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+J[n+(d<<2)>>2]*K[j+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break mc}F[c+20>>2]=0}K[i+48>>3]=K[i+48>>3]+K[c>>3];ub(a,b,i+80|0,i- -64|0,i+48|0);c=F[i+60>>2];F[i+88>>2]=F[i+56>>2];F[i+92>>2]=c;c=F[i+52>>2];F[i+80>>2]=F[i+48>>2];F[i+84>>2]=c;c=h|4;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}j=F[a+32>>2];nc:{if(j>>>0<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break nc}c=F[a+36>>2]+(c<<5)|0}n=G[a+176|0];oc:{if(!n){break oc}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break oc}l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break oc}F[c+20>>2]=0}e=K[c>>3];c=F[i+92>>2];F[i+72>>2]=F[i+88>>2];F[i+76>>2]=c;K[i+80>>3]=e+K[i+80>>3];c=F[i+84>>2];F[i+64>>2]=F[i+80>>2];F[i+68>>2]=c;c=h|5;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}pc:{if(c>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break pc}c=F[a+36>>2]+(c<<5)|0}qc:{if(!n){break qc}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break qc}l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break qc}F[c+20>>2]=0}d=h|6;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}rc:{if(d>>>0>=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break rc}g=F[a+36>>2]+(d<<5)|0}sc:{if(!n){break sc}l=F[g+20>>2];if(!l|(l|0)!=F[a+168>>2]){break sc}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break sc}F[g+20>>2]=0}K[i+64>>3]=K[i+64>>3]+K[c>>3];K[i+72>>3]=K[i+72>>3]+K[g>>3];c=F[i+76>>2];F[i+56>>2]=F[i+72>>2];F[i+60>>2]=c;c=F[i+68>>2];F[i+48>>2]=F[i+64>>2];F[i+52>>2]=c;c=h|7;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}tc:{if(c>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break tc}c=F[a+36>>2]+(c<<5)|0}uc:{if(!n){break uc}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break uc}l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break uc}F[c+20>>2]=0}K[i+56>>3]=K[i+56>>3]+K[c>>3];c=F[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){D[a+20|0]=1}vc:{if(f>>>0>=j>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break vc}c=F[a+36>>2]+(f<<5)|0}wc:{if(!n){break wc}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break wc}k=F[c+24>>2];j=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){n=g&-2;h=0;while(1){l=d|1;e=+J[j+(l<<2)>>2]*K[k+(l<<3)>>3]+(+J[j+(d<<2)>>2]*K[k+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}}e=g&1?+J[j+(d<<2)>>2]*K[k+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break wc}F[c+20>>2]=0}K[i+48>>3]=K[i+48>>3]+K[c>>3]}ub(a,b,i+80|0,i- -64|0,i+48|0);c=f+8|0;d=F[a+24>>2];if(c>>>0<=d>>>0){continue}break}break ec}c=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=c;c=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=c;n=F[a+32>>2];xc:{if(!n){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break xc}c=F[a+36>>2]}j=G[a+176|0];yc:{if(!j){break yc}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break yc}k=d&1;f=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];zc:{if((d|0)==1){d=0;break zc}l=d&-2;d=0;while(1){m=d|1;e=+J[g+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break yc}F[c+20>>2]=0}K[i+40>>3]=K[i+40>>3]+K[c>>3];c=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=c;c=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=c;if(I[a+24>>2]<=1){D[a+20|0]=1}Ac:{if(n>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Ac}c=F[a+36>>2]+32|0}Bc:{if(!j){break Bc}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Bc}k=d&1;f=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];Cc:{if((d|0)==1){d=0;break Cc}l=d&-2;d=0;h=0;while(1){m=d|1;e=+J[g+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Bc}F[c+20>>2]=0}if(I[a+24>>2]<=2){D[a+20|0]=1}Dc:{if(n>>>0<=2){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Dc}f=F[a+36>>2]- -64|0}Ec:{if(!j){break Ec}d=F[f+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Ec}l=d&1;g=F[f+24>>2];k=F[a+172>>2];e=K[f>>3];Fc:{if((d|0)==1){d=0;break Fc}m=d&-2;d=0;h=0;while(1){o=d|1;e=+J[k+(o<<2)>>2]*K[g+(o<<3)>>3]+(+J[k+(d<<2)>>2]*K[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[k+(d<<2)>>2]*K[g+(d<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Ec}F[f+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[c>>3];K[i+24>>3]=K[i+24>>3]+K[f>>3];c=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=c;c=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=c;if(I[a+24>>2]<=3){D[a+20|0]=1}Gc:{if(n>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Gc}c=F[a+36>>2]+96|0}Hc:{if(!j){break Hc}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Hc}k=d&1;f=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];Ic:{if((d|0)==1){d=0;break Ic}l=d&-2;d=0;h=0;while(1){m=d|1;e=+J[g+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Hc}F[c+20>>2]=0}K[i>>3]=K[i>>3]+K[c>>3];d=12;c=4;f=F[a+24>>2];if(f>>>0>=12){while(1){f=c;c=d;ub(a,b,i+32|0,i+16|0,i);d=F[a+140>>2];F[i+40>>2]=F[a+136>>2];F[i+44>>2]=d;d=F[a+132>>2];F[i+32>>2]=F[a+128>>2];F[i+36>>2]=d;if(f>>>0>=I[a+24>>2]){D[a+20|0]=1}n=F[a+32>>2];Jc:{if(n>>>0<=f>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Jc}h=F[a+36>>2]+(f<<5)|0}l=G[a+176|0];Kc:{if(!l){break Kc}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Kc}j=F[h+24>>2];m=F[a+172>>2];e=K[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Kc}F[h+20>>2]=0}e=K[h>>3];d=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=d;K[i+32>>3]=e+K[i+32>>3];d=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=d;d=f|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Lc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Lc}h=F[a+36>>2]+(d<<5)|0}Mc:{if(!l){break Mc}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Mc}j=F[h+24>>2];m=F[a+172>>2];e=K[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[j+(d<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Mc}F[h+20>>2]=0}d=f|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Nc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break Nc}g=F[a+36>>2]+(d<<5)|0}Oc:{if(!l){break Oc}j=F[g+20>>2];if(!j|(j|0)!=F[a+168>>2]){break Oc}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=j&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Oc}F[g+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[h>>3];K[i+24>>3]=K[i+24>>3]+K[g>>3];d=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=d;d=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=d;d=f|3;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Pc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Pc}h=F[a+36>>2]+(d<<5)|0}Qc:{if(!l){break Qc}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Qc}j=F[h+24>>2];n=F[a+172>>2];e=K[h>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+J[n+(m<<2)>>2]*K[j+(m<<3)>>3]+(+J[n+(d<<2)>>2]*K[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+J[n+(d<<2)>>2]*K[j+(d<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Qc}F[h+20>>2]=0}K[i+8>>3]=K[i+8>>3]+K[h>>3];ub(a,b,i+32|0,i+16|0,i);d=F[i+12>>2];F[i+40>>2]=F[i+8>>2];F[i+44>>2]=d;d=F[i+4>>2];F[i+32>>2]=F[i>>2];F[i+36>>2]=d;d=f+4|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}n=F[a+32>>2];Rc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Rc}h=F[a+36>>2]+(d<<5)|0}j=G[a+176|0];Sc:{if(!j){break Sc}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Sc}l=F[h+24>>2];m=F[a+172>>2];e=K[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Sc}F[h+20>>2]=0}K[i+40>>3]=K[i+40>>3]+K[h>>3];d=F[i+44>>2];F[i+24>>2]=F[i+40>>2];F[i+28>>2]=d;d=F[i+36>>2];F[i+16>>2]=F[i+32>>2];F[i+20>>2]=d;d=f+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Tc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break Tc}h=F[a+36>>2]+(d<<5)|0}Uc:{if(!j){break Uc}g=F[h+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Uc}l=F[h+24>>2];m=F[a+172>>2];e=K[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[h+8>>2]=0;F[h+12>>2]=0;K[h>>3]=e;if(F[h+16>>2]<0){break Uc}F[h+20>>2]=0}d=f+6|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Vc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break Vc}g=F[a+36>>2]+(d<<5)|0}Wc:{if(!j){break Wc}l=F[g+20>>2];if(!l|(l|0)!=F[a+168>>2]){break Wc}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Wc}F[g+20>>2]=0}K[i+16>>3]=K[i+16>>3]+K[h>>3];K[i+24>>3]=K[i+24>>3]+K[g>>3];d=F[i+28>>2];F[i+8>>2]=F[i+24>>2];F[i+12>>2]=d;d=F[i+20>>2];F[i>>2]=F[i+16>>2];F[i+4>>2]=d;d=f+7|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Xc:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Xc}f=F[a+36>>2]+(d<<5)|0}Yc:{if(!j){break Yc}g=F[f+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Yc}k=F[f+24>>2];l=F[a+172>>2];e=K[f>>3];d=0;if((g|0)!=1){m=g&-2;h=0;while(1){o=d|1;e=+J[l+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[l+(d<<2)>>2]*K[k+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=g&1?+J[l+(d<<2)>>2]*K[k+(d<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Yc}F[f+20>>2]=0}K[i>>3]=K[i>>3]+K[f>>3];d=c+8|0;f=F[a+24>>2];if(d>>>0<=f>>>0){continue}break}}if(c>>>0>>0){Zc:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Zc}c=F[a+36>>2]+(c<<5)|0}_c:{if(!j){break _c}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break _c}k=d&1;f=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];$c:{if((d|0)==1){d=0;break $c}j=d&-2;d=0;h=0;while(1){n=d|1;e=+J[g+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}e=k?+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break _c}F[c+20>>2]=0}K[i+8>>3]=K[i+8>>3]+K[c>>3]}ub(a,b,i+32|0,i+16|0,i)}Ga=i+96|0;break o}f=0;j=Ga-96|0;Ga=j;F[j+88>>2]=0;F[j+92>>2]=0;F[j+80>>2]=0;F[j+84>>2]=0;F[j+72>>2]=0;F[j+76>>2]=0;F[j+64>>2]=0;F[j+68>>2]=0;F[j+56>>2]=0;F[j+60>>2]=0;F[j+48>>2]=0;F[j+52>>2]=0;d=F[a+24>>2];ad:{if(!(d&4)){if(d>>>0<8){break ad}c=8;while(1){h=f;f=c;c=F[a+140>>2];F[j+88>>2]=F[a+136>>2];F[j+92>>2]=c;c=F[a+132>>2];F[j+80>>2]=F[a+128>>2];F[j+84>>2]=c;if(d>>>0<=h>>>0){D[a+20|0]=1}n=F[a+32>>2];bd:{if(n>>>0<=h>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break bd}c=F[a+36>>2]+(h<<5)|0}l=G[a+176|0];cd:{if(!l){break cd}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break cd}i=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[i+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break cd}F[c+20>>2]=0}e=K[c>>3];c=F[j+92>>2];F[j+72>>2]=F[j+88>>2];F[j+76>>2]=c;K[j+80>>3]=e+K[j+80>>3];c=F[j+84>>2];F[j+64>>2]=F[j+80>>2];F[j+68>>2]=c;c=h|1;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}dd:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break dd}c=F[a+36>>2]+(c<<5)|0}ed:{if(!l){break ed}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break ed}i=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[i+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break ed}F[c+20>>2]=0}d=h|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}fd:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break fd}g=F[a+36>>2]+(d<<5)|0}gd:{if(!l){break gd}i=F[g+20>>2];if(!i|(i|0)!=F[a+168>>2]){break gd}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((i|0)!=1){p=i&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=i&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break gd}F[g+20>>2]=0}K[j+64>>3]=K[j+64>>3]+K[c>>3];K[j+72>>3]=K[j+72>>3]+K[g>>3];c=F[j+76>>2];F[j+56>>2]=F[j+72>>2];F[j+60>>2]=c;c=F[j+68>>2];F[j+48>>2]=F[j+64>>2];F[j+52>>2]=c;c=h|3;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}hd:{if(c>>>0>=n>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break hd}c=F[a+36>>2]+(c<<5)|0}id:{if(!l){break id}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break id}i=F[c+24>>2];n=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+J[n+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[n+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+J[n+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break id}F[c+20>>2]=0}K[j+56>>3]=K[j+56>>3]+K[c>>3];ub(a,b,j+80|0,j- -64|0,j+48|0);c=F[j+60>>2];F[j+88>>2]=F[j+56>>2];F[j+92>>2]=c;c=F[j+52>>2];F[j+80>>2]=F[j+48>>2];F[j+84>>2]=c;c=h|4;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}i=F[a+32>>2];jd:{if(i>>>0<=c>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break jd}c=F[a+36>>2]+(c<<5)|0}n=G[a+176|0];kd:{if(!n){break kd}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break kd}l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break kd}F[c+20>>2]=0}K[j+88>>3]=K[j+88>>3]+K[c>>3];c=F[j+92>>2];F[j+72>>2]=F[j+88>>2];F[j+76>>2]=c;c=F[j+84>>2];F[j+64>>2]=F[j+80>>2];F[j+68>>2]=c;c=h|5;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}ld:{if(c>>>0>=i>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break ld}c=F[a+36>>2]+(c<<5)|0}md:{if(!n){break md}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break md}l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break md}F[c+20>>2]=0}d=h|6;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}nd:{if(d>>>0>=i>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break nd}g=F[a+36>>2]+(d<<5)|0}od:{if(!n){break od}l=F[g+20>>2];if(!l|(l|0)!=F[a+168>>2]){break od}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break od}F[g+20>>2]=0}K[j+64>>3]=K[j+64>>3]+K[c>>3];K[j+72>>3]=K[j+72>>3]+K[g>>3];c=F[j+76>>2];F[j+56>>2]=F[j+72>>2];F[j+60>>2]=c;c=F[j+68>>2];F[j+48>>2]=F[j+64>>2];F[j+52>>2]=c;c=h|7;if(c>>>0>=I[a+24>>2]){D[a+20|0]=1}pd:{if(c>>>0>=i>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break pd}c=F[a+36>>2]+(c<<5)|0}qd:{if(!n){break qd}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break qd}l=F[c+24>>2];m=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break qd}F[c+20>>2]=0}K[j+48>>3]=K[j+48>>3]+K[c>>3];c=F[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){D[a+20|0]=1}rd:{if(f>>>0>=i>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break rd}c=F[a+36>>2]+(f<<5)|0}sd:{if(!n){break sd}g=F[c+20>>2];if(!g|(g|0)!=F[a+168>>2]){break sd}i=F[c+24>>2];k=F[a+172>>2];e=K[c>>3];d=0;if((g|0)!=1){n=g&-2;h=0;while(1){l=d|1;e=+J[k+(l<<2)>>2]*K[i+(l<<3)>>3]+(+J[k+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}}e=g&1?+J[k+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break sd}F[c+20>>2]=0}K[j+56>>3]=K[j+56>>3]+K[c>>3]}ub(a,b,j+80|0,j- -64|0,j+48|0);c=f+8|0;d=F[a+24>>2];if(c>>>0<=d>>>0){continue}break}break ad}c=F[a+140>>2];F[j+40>>2]=F[a+136>>2];F[j+44>>2]=c;c=F[a+132>>2];F[j+32>>2]=F[a+128>>2];F[j+36>>2]=c;f=F[a+32>>2];td:{if(!f){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break td}c=F[a+36>>2]}n=G[a+176|0];ud:{if(!n){break ud}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break ud}k=d&1;g=F[c+24>>2];i=F[a+172>>2];e=K[c>>3];vd:{if((d|0)==1){d=0;break vd}l=d&-2;d=0;while(1){m=d|1;e=+J[i+(m<<2)>>2]*K[g+(m<<3)>>3]+(+J[i+(d<<2)>>2]*K[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+J[i+(d<<2)>>2]*K[g+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break ud}F[c+20>>2]=0}K[j+32>>3]=K[j+32>>3]+K[c>>3];c=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=c;c=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=c;if(I[a+24>>2]<=1){D[a+20|0]=1}wd:{if(f>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break wd}c=F[a+36>>2]+32|0}xd:{if(!n){break xd}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break xd}k=d&1;g=F[c+24>>2];i=F[a+172>>2];e=K[c>>3];yd:{if((d|0)==1){d=0;break yd}l=d&-2;d=0;h=0;while(1){m=d|1;e=+J[i+(m<<2)>>2]*K[g+(m<<3)>>3]+(+J[i+(d<<2)>>2]*K[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+J[i+(d<<2)>>2]*K[g+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break xd}F[c+20>>2]=0}if(I[a+24>>2]<=2){D[a+20|0]=1}zd:{if(f>>>0<=2){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break zd}g=F[a+36>>2]- -64|0}Ad:{if(!n){break Ad}d=F[g+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Ad}l=d&1;i=F[g+24>>2];k=F[a+172>>2];e=K[g>>3];Bd:{if((d|0)==1){d=0;break Bd}m=d&-2;d=0;h=0;while(1){o=d|1;e=+J[k+(o<<2)>>2]*K[i+(o<<3)>>3]+(+J[k+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[k+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Ad}F[g+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[c>>3];K[j+24>>3]=K[j+24>>3]+K[g>>3];c=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=c;c=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=c;if(I[a+24>>2]<=3){D[a+20|0]=1}Cd:{if(f>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Cd}c=F[a+36>>2]+96|0}Dd:{if(!n){break Dd}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Dd}k=d&1;g=F[c+24>>2];i=F[a+172>>2];e=K[c>>3];Ed:{if((d|0)==1){d=0;break Ed}l=d&-2;d=0;h=0;while(1){m=d|1;e=+J[i+(m<<2)>>2]*K[g+(m<<3)>>3]+(+J[i+(d<<2)>>2]*K[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+J[i+(d<<2)>>2]*K[g+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Dd}F[c+20>>2]=0}K[j+8>>3]=K[j+8>>3]+K[c>>3];d=12;c=4;h=F[a+24>>2];if(h>>>0>=12){while(1){h=c;c=d;ub(a,b,j+32|0,j+16|0,j);d=F[a+140>>2];F[j+40>>2]=F[a+136>>2];F[j+44>>2]=d;d=F[a+132>>2];F[j+32>>2]=F[a+128>>2];F[j+36>>2]=d;if(h>>>0>=I[a+24>>2]){D[a+20|0]=1}n=F[a+32>>2];Fd:{if(n>>>0<=h>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Fd}f=F[a+36>>2]+(h<<5)|0}l=G[a+176|0];Gd:{if(!l){break Gd}g=F[f+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Gd}i=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[i+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Gd}F[f+20>>2]=0}K[j+40>>3]=K[j+40>>3]+K[f>>3];d=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=d;d=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=d;d=h|1;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Hd:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Hd}f=F[a+36>>2]+(d<<5)|0}Id:{if(!l){break Id}g=F[f+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Id}i=F[f+24>>2];m=F[a+172>>2];e=K[f>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[i+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+J[m+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Id}F[f+20>>2]=0}d=h|2;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Jd:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break Jd}g=F[a+36>>2]+(d<<5)|0}Kd:{if(!l){break Kd}i=F[g+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Kd}m=F[g+24>>2];o=F[a+172>>2];e=K[g>>3];d=0;if((i|0)!=1){p=i&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=i&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Kd}F[g+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[f>>3];K[j+24>>3]=K[j+24>>3]+K[g>>3];d=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=d;d=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=d;d=h|3;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Ld:{if(d>>>0>=n>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432;break Ld}f=F[a+36>>2]+(d<<5)|0}Md:{if(!l){break Md}g=F[f+20>>2];if(!g|(g|0)!=F[a+168>>2]){break Md}i=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+J[n+(m<<2)>>2]*K[i+(m<<3)>>3]+(+J[n+(d<<2)>>2]*K[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+J[n+(d<<2)>>2]*K[i+(d<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Md}F[f+20>>2]=0}K[j>>3]=K[j>>3]+K[f>>3];ub(a,b,j+32|0,j+16|0,j);d=F[j+12>>2];F[j+40>>2]=F[j+8>>2];F[j+44>>2]=d;d=F[j+4>>2];F[j+32>>2]=F[j>>2];F[j+36>>2]=d;d=h+4|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}f=F[a+32>>2];Nd:{if(d>>>0>=f>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break Nd}g=F[a+36>>2]+(d<<5)|0}n=G[a+176|0];Od:{if(!n){break Od}i=F[g+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Od}l=F[g+24>>2];m=F[a+172>>2];e=K[g>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=i&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Od}F[g+20>>2]=0}e=K[g>>3];d=F[j+44>>2];F[j+24>>2]=F[j+40>>2];F[j+28>>2]=d;K[j+32>>3]=e+K[j+32>>3];d=F[j+36>>2];F[j+16>>2]=F[j+32>>2];F[j+20>>2]=d;d=h+5|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Pd:{if(d>>>0>=f>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break Pd}g=F[a+36>>2]+(d<<5)|0}Qd:{if(!n){break Qd}i=F[g+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Qd}l=F[g+24>>2];m=F[a+172>>2];e=K[g>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=i&1?+J[m+(d<<2)>>2]*K[l+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Qd}F[g+20>>2]=0}d=h+6|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Rd:{if(d>>>0>=f>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;i=246432;break Rd}i=F[a+36>>2]+(d<<5)|0}Sd:{if(!n){break Sd}l=F[i+20>>2];if(!l|(l|0)!=F[a+168>>2]){break Sd}m=F[i+24>>2];o=F[a+172>>2];e=K[i>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+J[o+(d<<2)>>2]*K[m+(d<<3)>>3]+e:e;F[i+8>>2]=0;F[i+12>>2]=0;K[i>>3]=e;if(F[i+16>>2]<0){break Sd}F[i+20>>2]=0}K[j+16>>3]=K[j+16>>3]+K[g>>3];K[j+24>>3]=K[j+24>>3]+K[i>>3];d=F[j+28>>2];F[j+8>>2]=F[j+24>>2];F[j+12>>2]=d;d=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=d;d=h+7|0;if(d>>>0>=I[a+24>>2]){D[a+20|0]=1}Td:{if(d>>>0>=f>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break Td}g=F[a+36>>2]+(d<<5)|0}Ud:{if(!n){break Ud}i=F[g+20>>2];if(!i|(i|0)!=F[a+168>>2]){break Ud}k=F[g+24>>2];l=F[a+172>>2];e=K[g>>3];d=0;if((i|0)!=1){m=i&-2;h=0;while(1){o=d|1;e=+J[l+(o<<2)>>2]*K[k+(o<<3)>>3]+(+J[l+(d<<2)>>2]*K[k+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=i&1?+J[l+(d<<2)>>2]*K[k+(d<<3)>>3]+e:e;F[g+8>>2]=0;F[g+12>>2]=0;K[g>>3]=e;if(F[g+16>>2]<0){break Ud}F[g+20>>2]=0}K[j+8>>3]=K[j+8>>3]+K[g>>3];d=c+8|0;h=F[a+24>>2];if(d>>>0<=h>>>0){continue}break}}if(c>>>0>>0){Vd:{if(c>>>0>=f>>>0){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Vd}c=F[a+36>>2]+(c<<5)|0}Wd:{if(!n){break Wd}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Wd}i=d&1;f=F[c+24>>2];g=F[a+172>>2];e=K[c>>3];Xd:{if((d|0)==1){d=0;break Xd}k=d&-2;d=0;h=0;while(1){n=d|1;e=+J[g+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}e=i?+J[g+(d<<2)>>2]*K[f+(d<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break Wd}F[c+20>>2]=0}K[j>>3]=K[j>>3]+K[c>>3]}ub(a,b,j+32|0,j+16|0,j)}Ga=j+96|0;break o}g=Ga-96|0;Ga=g;Yd:{Zd:{_d:{if(F[a+24>>2]==7){c=F[a+140>>2];F[g+88>>2]=F[a+136>>2];F[g+92>>2]=c;c=F[a+132>>2];F[g+80>>2]=F[a+128>>2];F[g+84>>2]=c;i=F[a+32>>2];$d:{if(!i){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break $d}d=F[a+36>>2]}k=G[a+176|0];if(!k){break Zd}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Zd}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];if((c|0)==1){c=0;break _d}l=c&-2;c=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}break _d}D[a+40|0]=1;break Yd}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Zd}F[d+20>>2]=0}K[g+80>>3]=K[g+80>>3]+K[d>>3];c=F[g+92>>2];F[g+72>>2]=F[g+88>>2];F[g+76>>2]=c;c=F[g+84>>2];F[g+64>>2]=F[g+80>>2];F[g+68>>2]=c;if(I[a+24>>2]<=1){D[a+20|0]=1}ae:{if(i>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break ae}d=F[a+36>>2]+32|0}be:{if(!k){break be}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break be}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];ce:{if((c|0)==1){c=0;break ce}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break be}F[d+20>>2]=0}if(I[a+24>>2]<=2){D[a+20|0]=1}de:{if(i>>>0<=2){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break de}f=F[a+36>>2]- -64|0}ee:{if(!k){break ee}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break ee}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];fe:{if((c|0)==1){c=0;break fe}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break ee}F[f+20>>2]=0}K[g+64>>3]=K[g+64>>3]+K[d>>3];K[g+72>>3]=K[g+72>>3]+K[f>>3];c=F[g+76>>2];F[g+56>>2]=F[g+72>>2];F[g+60>>2]=c;c=F[g+68>>2];F[g+48>>2]=F[g+64>>2];F[g+52>>2]=c;if(I[a+24>>2]<=3){D[a+20|0]=1}ge:{if(i>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break ge}d=F[a+36>>2]+96|0}he:{if(!k){break he}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break he}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];ie:{if((c|0)==1){c=0;break ie}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break he}F[d+20>>2]=0}K[g+48>>3]=K[g+48>>3]+K[d>>3];c=F[g+60>>2];F[g+40>>2]=F[g+56>>2];F[g+44>>2]=c;c=F[g+52>>2];F[g+32>>2]=F[g+48>>2];F[g+36>>2]=c;if(I[a+24>>2]<=4){D[a+20|0]=1}je:{if(i>>>0<=4){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break je}d=F[a+36>>2]+128|0}ke:{if(!k){break ke}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break ke}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];le:{if((c|0)==1){c=0;break le}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break ke}F[d+20>>2]=0}K[g+32>>3]=K[g+32>>3]+K[d>>3];c=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=c;c=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=c;if(I[a+24>>2]<=5){D[a+20|0]=1}me:{if(i>>>0<=5){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break me}d=F[a+36>>2]+160|0}ne:{if(!k){break ne}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break ne}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];oe:{if((c|0)==1){c=0;break oe}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break ne}F[d+20>>2]=0}e=K[d>>3];c=F[g+92>>2];d=F[g+88>>2];F[g+24>>2]=d;F[g+28>>2]=c;K[g+16>>3]=e+K[g+16>>3];F[g+8>>2]=d;F[g+12>>2]=c;c=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=c;if(I[a+24>>2]<=6){D[a+20|0]=1}pe:{if(i>>>0<=6){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break pe}d=F[a+36>>2]+192|0}qe:{if(!k){break qe}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break qe}k=c&1;f=F[d+24>>2];i=F[a+172>>2];e=K[d>>3];re:{if((c|0)==1){c=0;break re}j=c&-2;c=0;h=0;while(1){n=c|1;e=+J[i+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[i+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}e=k?+J[i+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break qe}F[d+20>>2]=0}K[g>>3]=K[g>>3]+K[d>>3];ub(a,b,g+80|0,g- -64|0,g+48|0);ub(a,b,g+32|0,g+16|0,g)}Ga=g+96|0;break o}g=Ga-96|0;Ga=g;se:{te:{ue:{if(F[a+24>>2]==13){c=F[a+140>>2];F[g+88>>2]=F[a+136>>2];F[g+92>>2]=c;c=F[a+132>>2];F[g+80>>2]=F[a+128>>2];F[g+84>>2]=c;i=F[a+32>>2];ve:{if(!i){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break ve}d=F[a+36>>2]}k=G[a+176|0];if(!k){break te}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break te}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];if((c|0)==1){c=0;break ue}l=c&-2;c=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}break ue}D[a+40|0]=1;break se}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break te}F[d+20>>2]=0}if(I[a+24>>2]<=1){D[a+20|0]=1}we:{if(i>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break we}f=F[a+36>>2]+32|0}xe:{if(!k){break xe}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break xe}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];ye:{if((c|0)==1){c=0;break ye}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break xe}F[f+20>>2]=0}K[g+80>>3]=K[g+80>>3]+K[d>>3];K[g+88>>3]=K[g+88>>3]+K[f>>3];c=F[g+92>>2];F[g+72>>2]=F[g+88>>2];F[g+76>>2]=c;c=F[g+84>>2];F[g+64>>2]=F[g+80>>2];F[g+68>>2]=c;if(I[a+24>>2]<=2){D[a+20|0]=1}ze:{if(i>>>0<=2){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break ze}d=F[a+36>>2]- -64|0}Ae:{if(!k){break Ae}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Ae}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];Be:{if((c|0)==1){c=0;break Be}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Ae}F[d+20>>2]=0}if(I[a+24>>2]<=3){D[a+20|0]=1}Ce:{if(i>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break Ce}f=F[a+36>>2]+96|0}De:{if(!k){break De}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break De}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];Ee:{if((c|0)==1){c=0;break Ee}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break De}F[f+20>>2]=0}K[g+64>>3]=K[g+64>>3]+K[d>>3];K[g+72>>3]=K[g+72>>3]+K[f>>3];c=F[g+76>>2];F[g+56>>2]=F[g+72>>2];F[g+60>>2]=c;c=F[g+68>>2];F[g+48>>2]=F[g+64>>2];F[g+52>>2]=c;if(I[a+24>>2]<=4){D[a+20|0]=1}Fe:{if(i>>>0<=4){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break Fe}d=F[a+36>>2]+128|0}Ge:{if(!k){break Ge}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Ge}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];He:{if((c|0)==1){c=0;break He}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Ge}F[d+20>>2]=0}if(I[a+24>>2]<=5){D[a+20|0]=1}Ie:{if(i>>>0<=5){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break Ie}f=F[a+36>>2]+160|0}Je:{if(!k){break Je}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Je}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];Ke:{if((c|0)==1){c=0;break Ke}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Je}F[f+20>>2]=0}K[g+48>>3]=K[g+48>>3]+K[d>>3];K[g+56>>3]=K[g+56>>3]+K[f>>3];c=F[g+60>>2];F[g+40>>2]=F[g+56>>2];F[g+44>>2]=c;c=F[g+52>>2];F[g+32>>2]=F[g+48>>2];F[g+36>>2]=c;if(I[a+24>>2]<=6){D[a+20|0]=1}Le:{if(i>>>0<=6){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break Le}d=F[a+36>>2]+192|0}Me:{if(!k){break Me}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Me}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];Ne:{if((c|0)==1){c=0;break Ne}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Me}F[d+20>>2]=0}if(I[a+24>>2]<=7){D[a+20|0]=1}Oe:{if(i>>>0<=7){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break Oe}f=F[a+36>>2]+224|0}Pe:{if(!k){break Pe}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Pe}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];Qe:{if((c|0)==1){c=0;break Qe}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Pe}F[f+20>>2]=0}K[g+32>>3]=K[g+32>>3]+K[d>>3];K[g+40>>3]=K[g+40>>3]+K[f>>3];c=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=c;c=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=c;if(I[a+24>>2]<=8){D[a+20|0]=1}Re:{if(i>>>0<=8){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break Re}d=F[a+36>>2]+256|0}Se:{if(!k){break Se}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Se}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];Te:{if((c|0)==1){c=0;break Te}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Se}F[d+20>>2]=0}if(I[a+24>>2]<=9){D[a+20|0]=1}Ue:{if(i>>>0<=9){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break Ue}f=F[a+36>>2]+288|0}Ve:{if(!k){break Ve}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Ve}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];We:{if((c|0)==1){c=0;break We}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Ve}F[f+20>>2]=0}K[g+16>>3]=K[g+16>>3]+K[d>>3];K[g+24>>3]=K[g+24>>3]+K[f>>3];c=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=c;c=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=c;if(I[a+24>>2]<=10){D[a+20|0]=1}Xe:{if(i>>>0<=10){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break Xe}d=F[a+36>>2]+320|0}Ye:{if(!k){break Ye}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Ye}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];Ze:{if((c|0)==1){c=0;break Ze}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Ye}F[d+20>>2]=0}if(I[a+24>>2]<=11){D[a+20|0]=1}_e:{if(i>>>0<=11){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break _e}f=F[a+36>>2]+352|0}$e:{if(!k){break $e}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break $e}k=c&1;h=F[f+24>>2];i=F[a+172>>2];e=K[f>>3];af:{if((c|0)==1){c=0;break af}j=c&-2;c=0;n=0;while(1){l=c|1;e=+J[i+(l<<2)>>2]*K[h+(l<<3)>>3]+(+J[i+(c<<2)>>2]*K[h+(c<<3)>>3]+e);c=c+2|0;n=n+2|0;if((j|0)!=(n|0)){continue}break}}e=k?+J[i+(c<<2)>>2]*K[h+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break $e}F[f+20>>2]=0}K[g>>3]=K[g>>3]+K[d>>3];K[g+8>>3]=K[g+8>>3]+K[f>>3];ub(a,b,g+80|0,g- -64|0,g+48|0);ub(a,b,g+32|0,g+16|0,g)}Ga=g+96|0;break o}g=Ga-96|0;Ga=g;bf:{cf:{df:{if(F[a+24>>2]==9){c=F[a+140>>2];F[g+88>>2]=F[a+136>>2];F[g+92>>2]=c;c=F[a+132>>2];F[g+80>>2]=F[a+128>>2];F[g+84>>2]=c;i=F[a+32>>2];ef:{if(!i){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break ef}d=F[a+36>>2]}k=G[a+176|0];if(!k){break cf}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break cf}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];if((c|0)==1){c=0;break df}l=c&-2;c=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}break df}D[a+40|0]=1;break bf}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break cf}F[d+20>>2]=0}if(I[a+24>>2]<=1){D[a+20|0]=1}ff:{if(i>>>0<=1){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break ff}f=F[a+36>>2]+32|0}gf:{if(!k){break gf}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break gf}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];hf:{if((c|0)==1){c=0;break hf}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break gf}F[f+20>>2]=0}K[g+80>>3]=K[g+80>>3]+K[d>>3];K[g+88>>3]=K[g+88>>3]+K[f>>3];c=F[g+92>>2];F[g+72>>2]=F[g+88>>2];F[g+76>>2]=c;c=F[g+84>>2];F[g+64>>2]=F[g+80>>2];F[g+68>>2]=c;if(I[a+24>>2]<=2){D[a+20|0]=1}jf:{if(i>>>0<=2){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break jf}d=F[a+36>>2]- -64|0}kf:{if(!k){break kf}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break kf}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];lf:{if((c|0)==1){c=0;break lf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break kf}F[d+20>>2]=0}if(I[a+24>>2]<=3){D[a+20|0]=1}mf:{if(i>>>0<=3){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break mf}f=F[a+36>>2]+96|0}nf:{if(!k){break nf}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break nf}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];of:{if((c|0)==1){c=0;break of}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break nf}F[f+20>>2]=0}K[g+64>>3]=K[g+64>>3]+K[d>>3];K[g+72>>3]=K[g+72>>3]+K[f>>3];c=F[g+76>>2];F[g+56>>2]=F[g+72>>2];F[g+60>>2]=c;c=F[g+68>>2];F[g+48>>2]=F[g+64>>2];F[g+52>>2]=c;if(I[a+24>>2]<=4){D[a+20|0]=1}pf:{if(i>>>0<=4){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break pf}d=F[a+36>>2]+128|0}qf:{if(!k){break qf}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break qf}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];rf:{if((c|0)==1){c=0;break rf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break qf}F[d+20>>2]=0}K[g+48>>3]=K[g+48>>3]+K[d>>3];c=F[g+60>>2];F[g+40>>2]=F[g+56>>2];F[g+44>>2]=c;c=F[g+52>>2];F[g+32>>2]=F[g+48>>2];F[g+36>>2]=c;if(I[a+24>>2]<=5){D[a+20|0]=1}sf:{if(i>>>0<=5){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break sf}d=F[a+36>>2]+160|0}tf:{if(!k){break tf}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break tf}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];uf:{if((c|0)==1){c=0;break uf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break tf}F[d+20>>2]=0}K[g+32>>3]=K[g+32>>3]+K[d>>3];c=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=c;c=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=c;if(I[a+24>>2]<=6){D[a+20|0]=1}vf:{if(i>>>0<=6){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break vf}d=F[a+36>>2]+192|0}wf:{if(!k){break wf}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break wf}n=c&1;f=F[d+24>>2];j=F[a+172>>2];e=K[d>>3];xf:{if((c|0)==1){c=0;break xf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+J[j+(m<<2)>>2]*K[f+(m<<3)>>3]+(+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+J[j+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break wf}F[d+20>>2]=0}if(I[a+24>>2]<=7){D[a+20|0]=1}yf:{if(i>>>0<=7){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;f=246432;break yf}f=F[a+36>>2]+224|0}zf:{if(!k){break zf}c=F[f+20>>2];if(!c|(c|0)!=F[a+168>>2]){break zf}l=c&1;j=F[f+24>>2];n=F[a+172>>2];e=K[f>>3];Af:{if((c|0)==1){c=0;break Af}m=c&-2;c=0;h=0;while(1){o=c|1;e=+J[n+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+J[n+(c<<2)>>2]*K[j+(c<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break zf}F[f+20>>2]=0}K[g+16>>3]=K[g+16>>3]+K[d>>3];K[g+24>>3]=K[g+24>>3]+K[f>>3];c=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=c;c=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=c;if(I[a+24>>2]<=8){D[a+20|0]=1}Bf:{if(i>>>0<=8){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break Bf}d=F[a+36>>2]+256|0}Cf:{if(!k){break Cf}c=F[d+20>>2];if(!c|(c|0)!=F[a+168>>2]){break Cf}k=c&1;f=F[d+24>>2];i=F[a+172>>2];e=K[d>>3];Df:{if((c|0)==1){c=0;break Df}j=c&-2;c=0;h=0;while(1){n=c|1;e=+J[i+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[i+(c<<2)>>2]*K[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}e=k?+J[i+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Cf}F[d+20>>2]=0}K[g>>3]=K[g>>3]+K[d>>3];c=F[a+140>>2];F[g+8>>2]=F[a+136>>2];F[g+12>>2]=c;ub(a,b,g+80|0,g- -64|0,g+48|0);ub(a,b,g+32|0,g+16|0,g)}Ga=g+96|0;break o}g=Ga-96|0;Ga=g;h=11;Ef:{Ff:{if(F[a+24>>2]==11){c=F[a+36>>2];i=F[a+32>>2];n=G[a+176|0];while(1){if(h>>>0<=j>>>0){D[a+20|0]=1}Gf:{if(i>>>0<=j>>>0){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Gf}d=c+(j<<5)|0}Hf:{if(!n){break Hf}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Hf}l=F[d+24>>2];m=F[a+172>>2];e=K[d>>3];h=0;if((f|0)!=1){o=f&-2;k=0;while(1){p=h|1;e=+J[m+(p<<2)>>2]*K[l+(p<<3)>>3]+(+J[m+(h<<2)>>2]*K[l+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=f&1?+J[m+(h<<2)>>2]*K[l+(h<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Hf}F[d+20>>2]=0}f=j|1;if(f>>>0>=I[a+24>>2]){D[a+20|0]=1}If:{if(f>>>0>=i>>>0){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break If}f=c+(f<<5)|0}Jf:{if(!n){break Jf}l=F[f+20>>2];if(!l|(l|0)!=F[a+168>>2]){break Jf}m=F[f+24>>2];o=F[a+172>>2];e=K[f>>3];h=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=h|1;e=+J[o+(r<<2)>>2]*K[m+(r<<3)>>3]+(+J[o+(h<<2)>>2]*K[m+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+J[o+(h<<2)>>2]*K[m+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Jf}F[f+20>>2]=0}q=q+K[f>>3];s=s+K[d>>3];if(j>>>0>7){break Ff}j=j+2|0;h=F[a+24>>2];continue}}D[a+40|0]=1;break Ef}d=F[a+140>>2];F[g+88>>2]=F[a+136>>2];F[g+92>>2]=d;d=F[a+132>>2];F[g+80>>2]=F[a+128>>2];F[g+84>>2]=d;if(!F[a+24>>2]){D[a+20|0]=1}f=c;if(!i){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;f=246432}Kf:{if(!n){break Kf}d=F[f+20>>2];if(!d|(d|0)!=F[a+168>>2]){break Kf}m=d&1;j=F[f+24>>2];l=F[a+172>>2];e=K[f>>3];Lf:{if((d|0)==1){h=0;break Lf}d=d&-2;h=0;k=0;while(1){o=h|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Kf}F[f+20>>2]=0}if(I[a+24>>2]<=1){D[a+20|0]=1}Mf:{if(i>>>0<=1){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Mf}d=c+32|0}Nf:{if(!n){break Nf}h=F[d+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Nf}m=h&1;j=F[d+24>>2];l=F[a+172>>2];e=K[d>>3];Of:{if((h|0)==1){h=0;break Of}o=h&-2;h=0;k=0;while(1){p=h|1;e=+J[l+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Nf}F[d+20>>2]=0}K[g+80>>3]=K[g+80>>3]+K[f>>3];K[g+88>>3]=K[g+88>>3]+K[d>>3];d=F[g+92>>2];F[g+72>>2]=F[g+88>>2];F[g+76>>2]=d;d=F[g+84>>2];F[g+64>>2]=F[g+80>>2];F[g+68>>2]=d;if(I[a+24>>2]<=2){D[a+20|0]=1}Pf:{if(i>>>0<=2){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Pf}d=c- -64|0}Qf:{if(!n){break Qf}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Qf}m=f&1;j=F[d+24>>2];l=F[a+172>>2];e=K[d>>3];Rf:{if((f|0)==1){h=0;break Rf}f=f&-2;h=0;k=0;while(1){o=h|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Qf}F[d+20>>2]=0}if(I[a+24>>2]<=3){D[a+20|0]=1}Sf:{if(i>>>0<=3){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break Sf}f=c+96|0}Tf:{if(!n){break Tf}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Tf}m=h&1;j=F[f+24>>2];l=F[a+172>>2];e=K[f>>3];Uf:{if((h|0)==1){h=0;break Uf}o=h&-2;h=0;k=0;while(1){p=h|1;e=+J[l+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Tf}F[f+20>>2]=0}K[g+64>>3]=K[g+64>>3]+K[d>>3];K[g+72>>3]=K[g+72>>3]+K[f>>3];d=F[g+76>>2];F[g+56>>2]=F[g+72>>2];F[g+60>>2]=d;d=F[g+68>>2];F[g+48>>2]=F[g+64>>2];F[g+52>>2]=d;if(I[a+24>>2]<=4){D[a+20|0]=1}Vf:{if(i>>>0<=4){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break Vf}d=c+128|0}Wf:{if(!n){break Wf}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break Wf}m=f&1;j=F[d+24>>2];l=F[a+172>>2];e=K[d>>3];Xf:{if((f|0)==1){h=0;break Xf}f=f&-2;h=0;k=0;while(1){o=h|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break Wf}F[d+20>>2]=0}if(I[a+24>>2]<=5){D[a+20|0]=1}Yf:{if(i>>>0<=5){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break Yf}f=c+160|0}Zf:{if(!n){break Zf}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break Zf}m=h&1;j=F[f+24>>2];l=F[a+172>>2];e=K[f>>3];_f:{if((h|0)==1){h=0;break _f}o=h&-2;h=0;k=0;while(1){p=h|1;e=+J[l+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break Zf}F[f+20>>2]=0}K[g+48>>3]=K[g+48>>3]+K[d>>3];K[g+56>>3]=K[g+56>>3]+K[f>>3];d=F[g+60>>2];F[g+40>>2]=F[g+56>>2];F[g+44>>2]=d;d=F[g+52>>2];F[g+32>>2]=F[g+48>>2];F[g+36>>2]=d;if(I[a+24>>2]<=6){D[a+20|0]=1}$f:{if(i>>>0<=6){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break $f}d=c+192|0}ag:{if(!n){break ag}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break ag}m=f&1;j=F[d+24>>2];l=F[a+172>>2];e=K[d>>3];bg:{if((f|0)==1){h=0;break bg}f=f&-2;h=0;k=0;while(1){o=h|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break ag}F[d+20>>2]=0}if(I[a+24>>2]<=7){D[a+20|0]=1}cg:{if(i>>>0<=7){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break cg}f=c+224|0}dg:{if(!n){break dg}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break dg}m=h&1;j=F[f+24>>2];l=F[a+172>>2];e=K[f>>3];eg:{if((h|0)==1){h=0;break eg}o=h&-2;h=0;k=0;while(1){p=h|1;e=+J[l+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break dg}F[f+20>>2]=0}K[g+32>>3]=K[g+32>>3]+K[d>>3];K[g+40>>3]=K[g+40>>3]+K[f>>3];d=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=d;d=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=d;if(I[a+24>>2]<=8){D[a+20|0]=1}fg:{if(i>>>0<=8){d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break fg}d=c+256|0}gg:{if(!n){break gg}f=F[d+20>>2];if(!f|(f|0)!=F[a+168>>2]){break gg}m=f&1;j=F[d+24>>2];l=F[a+172>>2];e=K[d>>3];hg:{if((f|0)==1){h=0;break hg}f=f&-2;h=0;k=0;while(1){o=h|1;e=+J[l+(o<<2)>>2]*K[j+(o<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break gg}F[d+20>>2]=0}if(I[a+24>>2]<=9){D[a+20|0]=1}ig:{if(i>>>0<=9){f=F[40915];F[61614]=F[40914];F[61615]=f;f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break ig}f=c+288|0}jg:{if(!n){break jg}h=F[f+20>>2];if(!h|(h|0)!=F[a+168>>2]){break jg}m=h&1;j=F[f+24>>2];l=F[a+172>>2];e=K[f>>3];kg:{if((h|0)==1){h=0;break kg}o=h&-2;h=0;k=0;while(1){p=h|1;e=+J[l+(p<<2)>>2]*K[j+(p<<3)>>3]+(+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+J[l+(h<<2)>>2]*K[j+(h<<3)>>3]+e:e;F[f+8>>2]=0;F[f+12>>2]=0;K[f>>3]=e;if(F[f+16>>2]<0){break jg}F[f+20>>2]=0}K[g+16>>3]=K[g+16>>3]+K[d>>3];K[g+24>>3]=K[g+24>>3]+K[f>>3];d=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=d;d=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=d;lg:{mg:{ng:{if(N(s)>N(q)){if(I[a+24>>2]<=10){D[a+20|0]=1}og:{if(i>>>0<=10){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break og}c=c+320|0}if(!n){break mg}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break mg}j=d&1;f=F[c+24>>2];i=F[a+172>>2];e=K[c>>3];if((d|0)==1){h=0;break ng}d=d&-2;h=0;k=0;while(1){n=h|1;e=+J[i+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[i+(h<<2)>>2]*K[f+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}break ng}d=F[a+132>>2];F[g>>2]=F[a+128>>2];F[g+4>>2]=d;if(I[a+24>>2]<=10){D[a+20|0]=1}pg:{if(i>>>0<=10){c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break pg}c=c+320|0}qg:{if(!n){break qg}d=F[c+20>>2];if(!d|(d|0)!=F[a+168>>2]){break qg}j=d&1;f=F[c+24>>2];i=F[a+172>>2];e=K[c>>3];rg:{if((d|0)==1){h=0;break rg}d=d&-2;h=0;k=0;while(1){n=h|1;e=+J[i+(n<<2)>>2]*K[f+(n<<3)>>3]+(+J[i+(h<<2)>>2]*K[f+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=j?+J[i+(h<<2)>>2]*K[f+(h<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break qg}F[c+20>>2]=0}K[g+8>>3]=K[g+8>>3]+K[c>>3];break lg}e=j?+J[i+(h<<2)>>2]*K[f+(h<<3)>>3]+e:e;F[c+8>>2]=0;F[c+12>>2]=0;K[c>>3]=e;if(F[c+16>>2]<0){break mg}F[c+20>>2]=0}K[g>>3]=K[g>>3]+K[c>>3];c=F[a+140>>2];F[g+8>>2]=F[a+136>>2];F[g+12>>2]=c}ub(a,b,g+80|0,g- -64|0,g+48|0);ub(a,b,g+32|0,g+16|0,g)}Ga=g+96|0;break o}Lo(f,a);break m}e=g?+J[h+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break s}F[d+20>>2]=0}e=K[d>>3];D[b|0]=0;K[a+136>>3]=q+e;K[a+128>>3]=s;break p}e=g?+J[h+(c<<2)>>2]*K[f+(c<<3)>>3]+e:e;F[d+8>>2]=0;F[d+12>>2]=0;K[d>>3]=e;if(F[d+16>>2]<0){break q}F[d+20>>2]=0}e=K[d>>3];D[b|0]=0;K[a+136>>3]=q;K[a+128>>3]=s+e}if(!G[a+73|0]){if(!G[a+74|0]){D[a+74|0]=1;c=F[a+80>>2]+(F[a+24>>2]>>>1|0)|0;F[a+80>>2]=c;F[a+84>>2]=(c+F[a+76>>2]|0)+7>>>3}D[a+73|0]=1}}F[a+24>>2]=0;break m}D[a+16|0]=1;F[a+12>>2]=c}}c=0;sg:{if(G[a+88|0]|F[a+96>>2]<0|(G[a+20|0]|(G[a+40|0]|G[a+16|0]))){break sg}if(F[a+28>>2]<0){break sg}c=1;if(!G[a+72|0]){continue}}break}return c|0}function Ns(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;k=Ga+-64|0;Ga=k;c=F[a>>2];b=0;a:{if(F[F[c+96>>2]+64>>2]!=40){break a}b=0;if(!G[a+613|0]){break a}b=0;if(G[c+9|0]&32){break a}b=(G[a+340|0]>>>2^-1)&1}E[a+616>>1]=0;D[a+615|0]=b;b=F[a+384>>2];e=H[a+152>>1];f=b+e<<1;f=f>>>0>30?f:30;if(f>>>0>1]){E[a+188>>1]=f}F[a+628>>2]=0;F[a+620>>2]=0;b:{if(e){e=L(e,10);b=(e>>>0>50?e:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=L(b,22)+300|0}F[a+624>>2]=b;c=F[c+16>>2];F[a+260>>2]=0;c=L(c,100);b=b>>>0>>0?b:c;F[a+632>>2]=b;F[a+624>>2]=b;c:{if(H[a+220>>1]!=H[a+222>>1]){c=83;f=84;h=85;b=82;break c}c=87;f=88;h=89;b=86}F[a+608>>2]=b;F[a+604>>2]=c;F[a+600>>2]=f;F[a+596>>2]=h;e=E[a+302>>1];d:{if((e&65535)==16384){b=E[a+298>>1];F[a+568>>2]=b;c=b;break d}b=E[a+304>>1];if((b|0)==16384){b=E[a+300>>1];F[a+568>>2]=b;c=H[a+298>>1];break d}c=E[a+298>>1];b=L(b,E[a+300>>1])+L(e,c)>>14;F[a+568>>2]=b}e:{if((c&65535)==16384){F[a+576>>2]=90;break e}if(H[a+300>>1]==16384){F[a+576>>2]=91;break e}F[a+576>>2]=92}f:{if(H[a+294>>1]==16384){F[a+580>>2]=90;break f}if(H[a+296>>1]==16384){F[a+580>>2]=91;break f}F[a+580>>2]=93}F[a+592>>2]=94;F[a+588>>2]=95;g:{if((b|0)!=16384){break g}h:{if((e|0)==16384){f=97;c=96;break h}if(H[a+304>>1]!=16384){break g}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;b=F[a+316>>2];if(!(b&248)){F[a+572>>2]=F[(b<<24>>22)+98152>>2]}x=a+180|0;y=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=F[a+364>>2];i:{j:{while(1){j=F[a+360>>2];i=G[j+c|0];D[a+372|0]=i;f=D[i+96128|0];F[a+376>>2]=f;k:{if((i&254)!=64){h=F[a+368>>2];break k}h=F[a+368>>2];b=c+1|0;if((h|0)<=(b|0)){h=131;break j}f=2-L(G[b+j|0],f)|0;F[a+376>>2]=f}if((c+f|0)>(h|0)){h=131;break j}b=G[i+96384|0];e=b>>>4|0;c=F[a+16>>2]-e|0;F[a+28>>2]=c;if((c|0)<0){if(G[a+565|0]){h=129;break j}if(b>>>0>=16){Wa(F[a+24>>2],0,(e>>>0>1?e:1)<<2)}F[a+28>>2]=0;c=0}l:{m:{if((i|0)==145){b=F[F[a>>2]+736>>2];if(!b){e=F[a+32>>2];break l}e=F[b>>2]+c|0;break m}e=(b&15)+c|0}F[a+32>>2]=e}h=130;b=F[a+20>>2];if((b|0)<(e|0)){break j}F[a+12>>2]=0;D[a+380|0]=1;g=F[a+24>>2];d=g+(c<<2)|0;h=135;n:{o:{p:{q:{r:{s:{t:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){E[a+296>>1]=b;E[a+294>>1]=c;E[a+300>>1]=b;E[a+298>>1]=c}u:{if(i&2){c=H[a+302>>1];break u}E[a+302>>1]=c;E[a+304>>1]=b}v:{if((c&65535)==16384){b=E[a+298>>1];F[a+568>>2]=b;e=b;break v}b=E[a+304>>1];if((b|0)==16384){b=E[a+300>>1];F[a+568>>2]=b;e=H[a+298>>1];break v}e=E[a+298>>1];b=L(b,E[a+300>>1])+L(e,c<<16>>16)>>14;F[a+568>>2]=b}f=90;F[a+576>>2]=(e&65535)!=16384?H[a+300>>1]==16384?91:92:90;f=H[a+294>>1]!=16384?H[a+296>>1]==16384?91:93:f;F[a+592>>2]=94;F[a+588>>2]=95;F[a+580>>2]=f;w:{if((b|0)!=16384){break w}x:{if((c&65535)==16384){f=97;c=96;break x}if(H[a+304>>1]!=16384){break w}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 6:case 7:y:{b=H[d+4>>1];if(b>>>0>1]){c=H[d>>1];if(c>>>0>1]){break y}}if(!G[a+565|0]){break s}h=134;break j}c=F[a+88>>2]+(c<<3)|0;e=F[c+4>>2];f=F[a+124>>2]+(b<<3)|0;d=F[f+4>>2];b=e-d|0;g=F[c>>2];f=F[f>>2];c=(g|0)==(f|0)&(d|0)==(e|0);e=c?16384:g-f|0;c=c|!(i&1);f=c?b:e;b=c?e:0-b|0;if(f|b){F[k+28>>2]=f;F[k+24>>2]=b;Rd(k+24|0);E[a+298>>1]=F[k+24>>2]/4;E[a+300>>1]=F[k+28>>2]/4}c=H[a+298>>1]|H[a+300>>1]<<16;E[a+294>>1]=c;E[a+296>>1]=c>>>16;e=E[a+302>>1];b=c<<16>>16;z:{if((e&65535)==16384){break z}f=E[a+304>>1];b=c>>16;if((f|0)==16384){break z}b=L(f,c>>16)+L(e,c<<16>>16)>>14}F[a+592>>2]=94;F[a+588>>2]=95;F[a+568>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;F[a+580>>2]=c?90:f?91:93;F[a+576>>2]=c?90:f?91:92;A:{if((b|0)!=16384){break A}B:{if((e|0)==16384){f=97;c=96;break B}if(H[a+304>>1]!=16384){break A}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 8:case 9:C:{b=H[d+4>>1];if(b>>>0>1]){c=H[d>>1];if(c>>>0>1]){break C}}if(!G[a+565|0]){break s}h=134;break j}c=F[a+88>>2]+(c<<3)|0;e=F[c+4>>2];f=F[a+124>>2]+(b<<3)|0;d=F[f+4>>2];b=e-d|0;g=F[c>>2];f=F[f>>2];c=(g|0)==(f|0)&(d|0)==(e|0);e=c?16384:g-f|0;c=c|!(i&1);f=c?b:e;b=c?e:0-b|0;D:{if(!(f|b)){c=H[a+302>>1];break D}F[k+28>>2]=f;F[k+24>>2]=b;Rd(k+24|0);c=F[k+24>>2]/4|0;E[a+302>>1]=c;E[a+304>>1]=F[k+28>>2]/4}E:{if((c&65535)==16384){b=E[a+298>>1];F[a+568>>2]=b;e=b;break E}b=E[a+304>>1];if((b|0)==16384){b=E[a+300>>1];F[a+568>>2]=b;e=H[a+298>>1];break E}e=E[a+298>>1];b=L(b,E[a+300>>1])+L(e,c<<16>>16)>>14;F[a+568>>2]=b}f=90;F[a+576>>2]=(e&65535)!=16384?H[a+300>>1]==16384?91:92:90;f=H[a+294>>1]!=16384?H[a+296>>1]==16384?91:93:f;F[a+592>>2]=94;F[a+588>>2]=95;F[a+580>>2]=f;F:{if((b|0)!=16384){break F}G:{if((c&65535)==16384){f=97;c=96;break G}if(H[a+304>>1]!=16384){break F}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 10:b=E[d+4>>1];c=E[d>>1];if(b|c){F[k+28>>2]=b;F[k+24>>2]=c;Rd(k+24|0);E[a+298>>1]=F[k+24>>2]/4;E[a+300>>1]=F[k+28>>2]/4}c=H[a+298>>1]|H[a+300>>1]<<16;E[a+294>>1]=c;E[a+296>>1]=c>>>16;e=E[a+302>>1];b=c<<16>>16;H:{if((e&65535)==16384){break H}f=E[a+304>>1];b=c>>16;if((f|0)==16384){break H}b=L(f,c>>16)+L(e,c<<16>>16)>>14}F[a+592>>2]=94;F[a+588>>2]=95;F[a+568>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;F[a+580>>2]=c?90:f?91:93;F[a+576>>2]=c?90:f?91:92;I:{if((b|0)!=16384){break I}J:{if((e|0)==16384){f=97;c=96;break J}if(H[a+304>>1]!=16384){break I}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 11:b=E[d+4>>1];c=E[d>>1];K:{if(!(b|c)){c=H[a+302>>1];break K}F[k+28>>2]=b;F[k+24>>2]=c;Rd(k+24|0);c=F[k+24>>2]/4|0;E[a+302>>1]=c;E[a+304>>1]=F[k+28>>2]/4}L:{if((c&65535)==16384){b=E[a+298>>1];F[a+568>>2]=b;e=b;break L}b=E[a+304>>1];if((b|0)==16384){b=E[a+300>>1];F[a+568>>2]=b;e=H[a+298>>1];break L}e=E[a+298>>1];b=L(b,E[a+300>>1])+L(e,c<<16>>16)>>14;F[a+568>>2]=b}f=90;F[a+576>>2]=(e&65535)!=16384?H[a+300>>1]==16384?91:92:90;f=H[a+294>>1]!=16384?H[a+296>>1]==16384?91:93:f;F[a+592>>2]=94;F[a+588>>2]=95;F[a+580>>2]=f;M:{if((b|0)!=16384){break M}N:{if((c&65535)==16384){f=97;c=96;break N}if(H[a+304>>1]!=16384){break M}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 12:b=E[a+298>>1];F[d+4>>2]=E[a+300>>1];F[d>>2]=b;break s;case 13:b=E[a+302>>1];F[d+4>>2]=E[a+304>>1];F[d>>2]=b;break s;case 14:e=H[a+298>>1]|H[a+300>>1]<<16;E[a+302>>1]=e;d=e>>>16|0;E[a+304>>1]=d;c=e<<16>>16;f=90;O:{if((e&65535)==16384){h=90;b=c;break O}h=91;b=16384;if((d|0)==16384){break O}h=92;b=e>>16;b=L(c,c)+L(b,b)>>>14|0}F[a+576>>2]=h;F[a+568>>2]=b;f=H[a+294>>1]!=16384?H[a+296>>1]==16384?91:93:f;F[a+592>>2]=94;F[a+588>>2]=95;F[a+580>>2]=f;P:{if((b|0)!=16384){break P}Q:{if((e&65535)==16384){f=97;c=96;break Q}if((d|0)!=16384){break P}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 15:R:{c=H[d+12>>1];b=H[a+44>>1];S:{if(c>>>0>=b>>>0){break S}f=H[d+16>>1];if(f>>>0>=b>>>0){break S}g=H[d+4>>1];b=H[a+80>>1];if(g>>>0>=b>>>0){break S}i=H[d+8>>1];if(i>>>0>=b>>>0){break S}b=H[d>>1];if(b>>>0>1]){break R}}if(!G[a+565|0]){break s}h=134;break j}d=F[a+52>>2];q=c<<3;c=d+q|0;e=F[c>>2];s=f<<3;h=s+d|0;j=F[h>>2];m=F[a+88>>2];f=g<<3;g=m+f|0;d=F[g+4>>2];l=i<<3;i=l+m|0;m=F[i+4>>2];t=F[g>>2];g=F[i>>2]-t|0;u=F[c+4>>2];r=F[h+4>>2]-u|0;v=0-r|0;i=m-d|0;h=j-e|0;c=bb(g,v,64)+bb(i,h,64)|0;j=c>>31;r=bb(g,h,64)+bb(i,r,64)|0;m=r>>31;T:{if(((m^r)-m|0)<(L((c^j)-j|0,19)|0)){e=bb(e-t|0,v,64)+bb(u-d|0,h,64)|0;d=bb(e,g,c);e=bb(e,i,c);c=F[a+124>>2];f=f+F[a+88>>2]|0;F[c+(b<<3)>>2]=d+F[f>>2];e=e+F[f+4>>2]|0;break T}c=F[a+124>>2];e=F[a+52>>2];d=e+q|0;g=F[a+88>>2];i=g+l|0;f=f+g|0;e=e+s|0;F[c+(b<<3)>>2]=((F[d>>2]+(F[i>>2]+F[f>>2]|0)|0)+F[e>>2]|0)/4;e=(F[e+4>>2]+(F[d+4>>2]+(F[i+4>>2]+F[f+4>>2]|0)|0)|0)/4|0}F[((b<<3)+c|0)+4>>2]=e;b=b+F[a+132>>2]|0;D[b|0]=G[b|0]|24;break s;case 16:E[a+288>>1]=F[d>>2];break s;case 17:E[a+290>>1]=F[d>>2];break s;case 18:E[a+292>>1]=F[d>>2];break s;case 19:b=x;U:{switch(F[d>>2]){default:if(!G[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break U}}c=F[b+4>>2];F[o>>2]=F[b>>2];F[o+4>>2]=c;F[o+32>>2]=F[b+32>>2];c=F[b+28>>2];F[o+24>>2]=F[b+24>>2];F[o+28>>2]=c;c=F[b+20>>2];F[o+16>>2]=F[b+16>>2];F[o+20>>2]=c;c=F[b+12>>2];F[o+8>>2]=F[b+8>>2];F[o+12>>2]=c;E[a+348>>1]=F[d>>2];break s;case 20:b=x;V:{switch(F[d>>2]){default:if(!G[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break V}}c=F[b+4>>2];F[n>>2]=F[b>>2];F[n+4>>2]=c;F[n+32>>2]=F[b+32>>2];c=F[b+28>>2];F[n+24>>2]=F[b+24>>2];F[n+28>>2]=c;c=F[b+20>>2];F[n+16>>2]=F[b+16>>2];F[n+20>>2]=c;c=F[b+12>>2];F[n+8>>2]=F[b+8>>2];F[n+12>>2]=c;E[a+350>>1]=F[d>>2];break s;case 21:b=x;W:{switch(F[d>>2]){default:if(!G[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break W}}c=F[b+4>>2];F[p>>2]=F[b>>2];F[p+4>>2]=c;F[p+32>>2]=F[b+32>>2];c=F[b+28>>2];F[p+24>>2]=F[b+24>>2];F[p+28>>2]=c;c=F[b+20>>2];F[p+16>>2]=F[b+16>>2];F[p+20>>2]=c;c=F[b+12>>2];F[p+8>>2]=F[b+8>>2];F[p+12>>2]=c;E[a+352>>1]=F[d>>2];break s;case 22:b=x;X:{switch(F[d>>2]){default:if(!G[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break X}}c=F[b+4>>2];F[o>>2]=F[b>>2];F[o+4>>2]=c;F[o+32>>2]=F[b+32>>2];c=F[b+28>>2];F[o+24>>2]=F[b+24>>2];F[o+28>>2]=c;c=F[b+20>>2];F[o+16>>2]=F[b+16>>2];F[o+20>>2]=c;c=F[b+12>>2];F[o+8>>2]=F[b+8>>2];F[o+12>>2]=c;F[n+32>>2]=F[b+32>>2];c=F[b+28>>2];F[n+24>>2]=F[b+24>>2];F[n+28>>2]=c;c=F[b+20>>2];F[n+16>>2]=F[b+16>>2];F[n+20>>2]=c;c=F[b+12>>2];F[n+8>>2]=F[b+8>>2];F[n+12>>2]=c;c=F[b+4>>2];F[n>>2]=F[b>>2];F[n+4>>2]=c;F[p+32>>2]=F[b+32>>2];c=F[b+28>>2];F[p+24>>2]=F[b+24>>2];F[p+28>>2]=c;c=F[b+20>>2];F[p+16>>2]=F[b+16>>2];F[p+20>>2]=c;c=F[b+12>>2];F[p+8>>2]=F[b+8>>2];F[p+12>>2]=c;c=F[b+4>>2];F[p>>2]=F[b>>2];F[p+4>>2]=c;b=H[d>>1];E[a+352>>1]=b;E[a+350>>1]=b;E[a+348>>1]=b;break s;case 23:b=F[d>>2];if((b|0)<0){h=132;break j}F[a+308>>2]=b>>>0<65535?b:65535;break s;case 24:F[a+572>>2]=100;F[a+316>>2]=1;break s;case 25:F[a+572>>2]=101;F[a+316>>2]=0;break s;case 26:F[a+312>>2]=F[d>>2];break s;case 27:b=F[a+364>>2];c=F[a+368>>2];e=1;while(1){b=b+f|0;F[a+364>>2]=b;if((b|0)>=(c|0)){h=131;break j}d=G[b+j|0];D[a+372|0]=d;f=D[d+96128|0];F[a+376>>2]=f;if((d&254)==64){g=b+1|0;if((g|0)>=(c|0)){h=131;break j}f=2-L(G[g+j|0],f)|0;F[a+376>>2]=f}if((c|0)<(b+f|0)){h=131;break j}Y:{switch(d-88|0){case 0:e=e+1|0;if(e){continue}break s;case 1:e=e-1|0;break;default:break Y}}if(e){continue}break};break s;case 28:b=132;e=c;c=F[d>>2];Z:{if(!(e|c)){break Z}c=c+F[a+364>>2]|0;F[a+364>>2]=c;if((c|0)<0){break Z}e=F[a+432>>2];if((e|0)>0&(c|0)>F[F[(F[a+440>>2]+(e<<4)|0)-4>>2]+8>>2]){break Z}D[a+380|0]=0;if(F[d>>2]>=0){break s}c=F[a+628>>2]+1|0;F[a+628>>2]=c;b=139;if(c>>>0<=I[a+632>>2]){break s}}F[a+12>>2]=b;break r;case 29:F[a+324>>2]=F[d>>2];break s;case 30:F[a+328>>2]=F[d>>2];break s;case 31:Q=a,R=Ua(F[d>>2],F[a+264>>2]),F[Q+332>>2]=R;break s;case 32:F[d+4>>2]=F[d>>2];break s;case 34:F[a+32>>2]=0;break s;case 35:Q=d,R=JC(F[d>>2],F[d+4>>2]),F[Q>>2]=R;F[d+4>>2]=Ha;break s;case 36:F[d>>2]=F[a+16>>2];break s;case 37:b=F[d>>2];_:{if(!((b|0)>0&(b|0)<=(c|0))){b=0;if(!G[a+565|0]){break _}F[a+12>>2]=134;F[d>>2]=0;break s}b=F[(c-b<<2)+g>>2]}F[d>>2]=b;break s;case 38:b=F[d>>2];if(!((b|0)>0&(b|0)<=(c|0))){if(!G[a+565|0]){break s}h=134;break j}c=(c-b<<2)+g|0;e=F[c>>2];Cb(c,c+4|0,(b<<2)-4|0);F[(F[a+24>>2]+(F[a+28>>2]<<2)|0)-4>>2]=e;break s;case 39:$:{b=H[d>>1];if(b>>>0>1]){c=H[d+4>>1];if(c>>>0>1]){break $}}if(!G[a+565|0]){break s}h=134;break j}d=b;e=F[a+52>>2]+(c<<3)|0;b=F[a+88>>2]+(b<<3)|0;b=(Ia[F[a+576>>2]](a,F[e>>2]-F[b>>2]|0,F[e+4>>2]-F[b+4>>2]|0)|0)/2|0;Ia[F[a+588>>2]](a,n,d,b);Ia[F[a+588>>2]](a,o,c,0-b|0);break s;case 40:rd(a);break s;case 41:b=H[d>>1];if(b>>>0>=H[a+44>>1]){if(!G[a+565|0]){break s}h=134;break j}b=b+F[a+60>>2]|0;c=b;d=G[b|0];b=H[a+302>>1]?-9:-1;D[c|0]=d&(H[a+304>>1]?b&239:b);break s;case 42:b=134;f=F[d+4>>2];c=F[a+424>>2]+1|0;aa:{if(f>>>0>=c>>>0){break aa}e=F[a+408>>2];g=F[a+400>>2];ba:{if((g|0)==(c|0)){c=e+L(f,24)|0;if((f|0)==F[(e?c:0)+12>>2]){break ba}}c=e;e=c?c+L(g,24)|0:0;ca:{if(c>>>0>=e>>>0){break ca}while(1){if((f|0)==F[c+12>>2]){break ca}c=c+24|0;if(e>>>0>c>>>0){continue}break}}if((c|0)==(e|0)){break aa}}if(!G[c+16|0]){break aa}b=130;e=F[a+432>>2];if((e|0)>=F[a+436>>2]){break aa}if(F[d>>2]<=0){break s}b=F[a+440>>2]+(e<<4)|0;F[b>>2]=F[a+356>>2];F[b+4>>2]=F[a+364>>2]+1;f=F[d>>2];F[b+12>>2]=c;F[b+8>>2]=f;F[a+432>>2]=e+1;b=F[c>>2];da:{if(b-4>>>0<=4294967292){F[a+12>>2]=132;break da}e=(b-1<<3)+a|0;f=F[e+448>>2];if(!f){F[a+12>>2]=138;break da}e=F[e+452>>2];c=F[c+4>>2];if((e|0)<(c|0)){F[a+12>>2]=131;break da}F[a+368>>2]=e;F[a+360>>2]=f;F[a+364>>2]=c;F[a+356>>2]=b}D[a+380|0]=0;c=F[a+620>>2]+F[d>>2]|0;F[a+620>>2]=c;b=139;if(c>>>0<=I[a+624>>2]){break s}}F[a+12>>2]=b;break r;case 43:h=134;b=F[a+424>>2]+1|0;e=F[d>>2];if(b>>>0<=e>>>0){break j}c=F[a+408>>2];if(!c){break j}f=F[a+400>>2];ea:{if((f|0)==(b|0)){b=c+L(e,24)|0;if((e|0)==F[b+12>>2]){break ea}}d=c+L(f,24)|0;b=c;fa:{if((f|0)<=0){break fa}while(1){if((e|0)==F[b+12>>2]){break fa}b=b+24|0;if(d>>>0>b>>>0){continue}break}}if((b|0)==(d|0)){break j}}if(!G[b+16|0]){break j}h=130;e=F[a+432>>2];if((e|0)>=F[a+436>>2]){break j}c=F[a+440>>2]+(e<<4)|0;F[c>>2]=F[a+356>>2];f=F[a+364>>2];F[c+12>>2]=b;F[c+8>>2]=1;F[c+4>>2]=f+1;F[a+432>>2]=e+1;c=F[b>>2];ga:{if(c-4>>>0<=4294967292){F[a+12>>2]=132;break ga}e=(c-1<<3)+a|0;f=F[e+448>>2];if(!f){F[a+12>>2]=138;break ga}e=F[e+452>>2];b=F[b+4>>2];if((e|0)<(b|0)){F[a+12>>2]=131;break ga}F[a+368>>2]=e;F[a+360>>2]=f;F[a+364>>2]=b;F[a+356>>2]=c}D[a+380|0]=0;break s;case 44:g=F[a+356>>2];if((g|0)==3){h=156;break j}b=F[a+408>>2];ha:{ia:{if(!b){e=F[a+400>>2];h=F[d>>2];c=0;break ia}e=F[a+400>>2];c=L(e,24)+b|0;h=F[d>>2];ja:{if((e|0)<=0){break ja}while(1){if(F[b+12>>2]==(h|0)){break ja}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ha}}if(I[a+404>>2]<=e>>>0){h=140;break j}F[a+400>>2]=e+1;b=c}if(h>>>0>65535){h=140;break j}F[b+12>>2]=h;F[b>>2]=g;c=F[a+364>>2];F[b+20>>2]=0;E[b+16>>1]=1;F[b+4>>2]=c+1;if(I[a+424>>2]>>0){F[a+424>>2]=h}d=F[a+368>>2];while(1){c=c+f|0;F[a+364>>2]=c;if((c|0)>=(d|0)){h=131;break j}e=G[c+j|0];D[a+372|0]=e;f=D[e+96128|0];F[a+376>>2]=f;if((e&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-L(G[g+j|0],f)|0;F[a+376>>2]=f}if((d|0)<(c+f|0)){h=131;break j}h=137;ka:{switch(e-44|0){case 1:F[b+8>>2]=c;break s;case 0:break j;default:break ka}}if((e|0)!=137){continue}break};break j;case 33:case 89:case 126:case 127:F[a+16>>2]=e;break q;default:if(i>>>0>=224){c=F[d+4>>2];b=0;la:{ma:{f=F[d>>2];e=f&65535;na:{if(e>>>0>=H[a+80>>1]){break na}d=c+1|0;if(d>>>0>=F[a+384>>2]+1>>>0){break na}if(H[a+288>>1]>1]){break ma}}if(!G[a+565|0]){break la}F[a+12>>2]=134;break la}if(d){b=Ia[F[a+600>>2]](a,c)|0}c=F[a+332>>2];g=b-c|0;d=g>>31;b=F[a+328>>2]>((d^g)-d|0)?(b|0)>=0?c:0-c|0:b;if(!H[a+350>>1]){d=E[a+302>>1];c=d>>31;i=(c^d)-c|0;c=b>>31;h=(c^b)-c|0;j=h>>>16|0;m=L(i,j);g=m<<16|8192;q=e<<3;c=q+F[a+84>>2]|0;s=F[a+48>>2]+(H[a+288>>1]<<3)|0;l=g;r=i;i=h&65535;g=g+L(r,i)|0;g=(m>>>16|0)+(l>>>0>g>>>0)<<18|g>>>14;F[c>>2]=F[s>>2]+((b^d)>=0?g:0-g|0);d=E[a+304>>1];g=d>>31;h=(d^g)-g|0;j=L(h,j);g=j<<16|8192;m=g;g=g+L(h,i)|0;g=(j>>>16|0)+(m>>>0>g>>>0)<<18|g>>>14;F[c+4>>2]=F[s+4>>2]+((b^d)>=0?g:0-g|0);g=F[c+4>>2];d=q+F[a+88>>2]|0;F[d>>2]=F[c>>2];F[d+4>>2]=g}e=e<<3;c=e+F[a+84>>2]|0;d=F[a+48>>2]+(H[a+288>>1]<<3)|0;c=Ia[F[a+580>>2]](a,F[c>>2]-F[d>>2]|0,F[c+4>>2]-F[d+4>>2]|0)|0;e=e+F[a+88>>2]|0;d=F[a+52>>2]+(H[a+288>>1]<<3)|0;g=Ia[F[a+576>>2]](a,F[e>>2]-F[d>>2]|0,F[e+4>>2]-F[d+4>>2]|0)|0;b=G[a+320|0]?(b^c)<0?0-b|0:b:b;e=G[a+372|0];oa:{if(e&4){if(H[a+348>>1]==H[a+350>>1]){i=b-c|0;d=i>>31;b=F[a+324>>2]<((d^i)-d|0)?c:b}b=Ia[F[a+572>>2]](a,b,e&3)|0;e=G[a+372|0];break oa}d=F[(((e&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+d|0;b=(b|0)>0?b:0;break oa}b=b-d|0;b=b>>31&b}d=a+72|0;pa:{if(!(e&8)){break pa}e=F[a+312>>2];if((c|0)>=0){b=(b|0)>(e|0)?b:e;break pa}c=0-e|0;b=(b|0)<(c|0)?b:c}Ia[F[a+588>>2]](a,d,f&65535,b-g|0)}E[a+290>>1]=H[a+288>>1];if(G[a+372|0]&16){E[a+288>>1]=f}E[a+292>>1]=f;break s}if(i>>>0>=192){qa:{ra:{f=F[d>>2];d=f&65535;if(d>>>0>1]){b=H[a+288>>1];if(b>>>0>1]){break ra}}if(!G[a+565|0]){break qa}F[a+12>>2]=134;break qa}sa:{if(!(H[a+350>>1]?H[a+348>>1]:0)){c=F[a+84>>2]+(d<<3)|0;b=F[a+48>>2]+(b<<3)|0;b=Ia[F[a+580>>2]](a,F[c>>2]-F[b>>2]|0,F[c+4>>2]-F[b+4>>2]|0)|0;break sa}b=F[a+56>>2]+(b<<3)|0;c=F[a+92>>2]+(d<<3)|0;e=F[a+224>>2];if((e|0)==F[a+228>>2]){b=Ua(Ia[F[a+580>>2]](a,F[c>>2]-F[b>>2]|0,F[c+4>>2]-F[b+4>>2]|0)|0,F[a+224>>2]);break sa}b=(R=a,S=Ua(F[c>>2]-F[b>>2]|0,e),T=Ua(F[c+4>>2]-F[b+4>>2]|0,F[a+228>>2]),Q=F[a+580>>2],Ia[Q](R|0,S|0,T|0)|0)}e=F[a+328>>2];ta:{if((e|0)<=0){break ta}c=F[a+332>>2];if((c+e|0)<=(b|0)|(c-e|0)>=(b|0)){break ta}b=(b|0)>=0?c:0-c|0}e=G[a+372|0];ua:{if(e&4){c=Ia[F[a+572>>2]](a,b,e&3)|0;e=G[a+372|0];break ua}c=F[(((e&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break ua}c=b-c|0;c=c>>31&c}g=a+72|0;va:{if(!(e&8)){break va}e=F[a+312>>2];if((b|0)>=0){c=(c|0)>(e|0)?c:e;break va}b=0-e|0;c=(b|0)>(c|0)?c:b}e=c;b=F[a+88>>2]+(d<<3)|0;c=F[a+52>>2]+(H[a+288>>1]<<3)|0;T=a,S=g,R=f&65535,U=e-(Ia[F[a+576>>2]](a,F[b>>2]-F[c>>2]|0,F[b+4>>2]-F[c+4>>2]|0)|0)|0,Q=F[a+588>>2],Ia[Q](T|0,S|0,R|0,U|0)}E[a+292>>1]=f;E[a+290>>1]=H[a+288>>1];if(G[a+372|0]&16){E[a+288>>1]=f}break s}if(i>>>0>=184){b=G[a+372|0]+65353&65535;if(b>>>0>=(F[a+20>>2]-F[a+16>>2]|0)+1>>>0){F[a+12>>2]=130;break s}e=F[a+364>>2];c=e+1|0;F[a+364>>2]=c;wa:{if(!b){break wa}F[a+364>>2]=e+3;g=c;c=F[a+360>>2];F[d>>2]=(G[g+c|0]<<8|G[(c+e|0)+2|0])<<16>>16;e=1;if((b|0)==1){break wa}f=b-1|0;g=f&1;if((b|0)!=2){f=f&-2;b=0;while(1){i=F[a+364>>2];F[a+364>>2]=i+2;h=d+(e<<2)|0;i=c+i|0;i=G[i|0]|G[i+1|0]<<8;F[h>>2]=(i<<8|i>>>8)<<16>>16;i=F[a+364>>2];F[a+364>>2]=i+2;i=c+i|0;i=G[i|0]|G[i+1|0]<<8;F[h+4>>2]=(i<<8|i>>>8)<<16>>16;e=e+2|0;b=b+2|0;if((f|0)!=(b|0)){continue}break}}if(!g){break wa}b=F[a+364>>2];F[a+364>>2]=b+2;b=b+c|0;b=G[b|0]|G[b+1|0]<<8;F[d+(e<<2)>>2]=(b<<8|b>>>8)<<16>>16}D[a+380|0]=0;break s}if(i>>>0>=176){e=G[a+372|0]+65361|0;b=e&65535;if(b>>>0<(F[a+20>>2]-F[a+16>>2]|0)+1>>>0){if(b){f=F[a+360>>2];b=1;c=1;while(1){F[(d+(b<<2)|0)-4>>2]=G[f+(F[a+364>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(e&65535)>>>0){continue}break}}break s}F[a+12>>2]=130;break s}rd(a);break s;case 146:if(F[F[a>>2]+736>>2]){F[d>>2]=17;break s}rd(a);break s;case 145:if(F[F[a>>2]+736>>2]){i=0;h=0;c=F[F[a>>2]+736>>2];b=F[c>>2];if(b>>>0>=(F[a+20>>2]-F[a+16>>2]|0)+1>>>0){F[a+12>>2]=130;break s}e=F[c+8>>2];xa:{if(e){if(!b){break xa}c=0;if(b-1>>>0>=3){g=b&-4;while(1){f=c<<2;F[f+d>>2]=F[e+f>>2]>>2;j=f|4;F[j+d>>2]=F[e+j>>2]>>2;j=f|8;F[j+d>>2]=F[e+j>>2]>>2;f=f|12;F[f+d>>2]=F[e+f>>2]>>2;c=c+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}b=b&3;if(!b){break xa}while(1){f=c<<2;F[f+d>>2]=F[e+f>>2]>>2;c=c+1|0;i=i+1|0;if((b|0)!=(i|0)){continue}break}break xa}if(!b){break xa}Wa(d,0,b<<2)}break s}rd(a);break s;case 143:case 144:rd(a);break s;case 142:c=F[d+4>>2];if(c-4>>>0<=4294967292){if(!G[a+565|0]){break s}h=134;break j}b=F[d>>2];e=1<>2]+96>>2]+64>>2]!=40){break s}D[a+615|0]=(b|0)!=4;break s;case 141:b=F[d>>2];if((b|0)<0){break s}F[a+344>>2]=b&65535;break s;case 140:b=F[d+4>>2];if((b|0)>=F[d>>2]){break s}F[d>>2]=b;break s;case 139:b=F[d+4>>2];if((b|0)<=F[d>>2]){break s}F[d>>2]=b;break s;case 138:b=F[d+8>>2];c=F[d+4>>2];F[d+8>>2]=F[d>>2];F[d>>2]=c;F[d+4>>2]=b;break s;case 137:g=F[a+356>>2];if((g|0)==3){h=156;break j}e=F[a+412>>2];b=F[a+420>>2];ya:{za:{if(!b){c=0;break za}c=L(e,24)+b|0;Aa:{if((e|0)<=0){break Aa}i=F[d>>2];while(1){if((i|0)==F[b+12>>2]){break Aa}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ya}}if(e>>>0>=I[a+416>>2]){h=141;break j}F[a+412>>2]=e+1;b=c}c=F[d>>2];if(c>>>0>255){h=141;break j}F[b+12>>2]=c;c=F[a+364>>2];D[b+16|0]=1;F[b>>2]=g;F[b+4>>2]=c+1;e=F[d>>2];if(e>>>0>I[a+428>>2]){F[a+428>>2]=e&255}d=F[a+368>>2];while(1){c=c+f|0;F[a+364>>2]=c;if((c|0)>=(d|0)){h=131;break j}e=G[c+j|0];D[a+372|0]=e;f=D[e+96128|0];F[a+376>>2]=f;if((e&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-L(G[g+j|0],f)|0;F[a+376>>2]=f}if((d|0)<(c+f|0)){h=131;break j}h=137;Ba:{switch(e-44|0){default:if((e|0)!=137){continue}break j;case 0:break j;case 1:break Ba}}break};F[b+8>>2]=c;break s;case 136:b=0;c=F[d>>2];b=c&1?F[F[F[a>>2]+96>>2]+64>>2]:b;b=c&2?G[a+285|0]?b|256:b:b;b=c&4?G[a+286|0]?b|512:b:b;b=c&8?F[F[a>>2]+736>>2]?b|1024:b:b;b=c&32?G[a+612|0]?b|4096:b:b;Ca:{if(!G[a+613|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40){break Ca}e=c<<7;b=e&8192|b;if(c&256){b=G[a+614|0]?b|32768:b}b=e&393216|b;if(!(c&4096)){break Ca}b=G[a+618|0]?b|524288:b}F[d>>2]=b;break s;case 134:case 135:Da:{b=H[d>>1];if(b>>>0>1]){c=H[d+4>>1];if(c>>>0>1]){break Da}}if(!G[a+565|0]){break s}h=134;break j}e=b<<3;f=e+F[a+84>>2]|0;d=F[f+4>>2];g=c<<3;c=g+F[a+120>>2]|0;h=F[c+4>>2];b=d-h|0;f=F[f>>2];j=F[c>>2];c=(f|0)==(j|0)&(d|0)==(h|0);f=c?16384:f-j|0;c=c|!(i&1);d=c?b:f;b=c?f:0-b|0;if(d|b){F[k+28>>2]=d;F[k+24>>2]=b;Rd(k+24|0);E[a+294>>1]=F[k+24>>2]/4;E[a+296>>1]=F[k+28>>2]/4}e=e+F[a+88>>2]|0;f=F[e+4>>2];d=g+F[a+124>>2]|0;g=F[d+4>>2];b=f-g|0;i=F[e>>2];d=F[d>>2];e=(i|0)==(d|0)&(f|0)==(g|0);f=e?16384:i-d|0;c=c|e;e=c?b:f;b=c?f:0-b|0;if(e|b){F[k+28>>2]=e;F[k+24>>2]=b;Rd(k+24|0);E[a+298>>1]=F[k+24>>2]/4;E[a+300>>1]=F[k+28>>2]/4}e=H[a+302>>1];Ea:{if((e|0)==16384){b=E[a+298>>1];F[a+568>>2]=b;h=b;break Ea}b=E[a+304>>1];if((b|0)==16384){b=E[a+300>>1];F[a+568>>2]=b;h=H[a+298>>1];break Ea}h=E[a+298>>1];b=L(b,E[a+300>>1])+L(h,e<<16>>16)>>14;F[a+568>>2]=b}c=90;F[a+576>>2]=(h&65535)!=16384?H[a+300>>1]==16384?91:92:90;c=H[a+294>>1]!=16384?H[a+296>>1]==16384?91:93:c;F[a+592>>2]=94;F[a+588>>2]=95;F[a+580>>2]=c;Fa:{if((b|0)!=16384){break Fa}Ga:{if((e|0)==16384){f=97;c=96;break Ga}if(H[a+304>>1]!=16384){break Fa}f=99;c=98}F[a+592>>2]=c;F[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){F[a+568>>2]=16384}F[a+260>>2]=0;break s;case 133:b=F[d>>2];c=b&255;if((c|0)==255){D[a+341|0]=1;break s}if(!c){D[a+341|0]=0;break s}if(!(!(b&256)|c>>>0>1])){D[a+341|0]=1}if(!(!(b&512)|!G[a+285|0])){D[a+341|0]=1}if(!(!(b&1024)|!G[a+286|0])){D[a+341|0]=1}if(!(!(b&2048)|c>>>0>=H[a+256>>1])){D[a+341|0]=0}if(!(!(b&4096)|!G[a+285|0])){D[a+341|0]=0}if(!(b&8192)|!G[a+286|0]){break s}D[a+341|0]=0;break s;case 131:case 132:rd(a);break s;case 130:if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break s}}Ha:{e=H[d+4>>1];b=H[a+152>>1];if(e>>>0>=b>>>0){break Ha}c=H[d>>1];if(b>>>0<=c>>>0){break Ha}if(c>>>0>e>>>0){break s}f=0;b=c;d=e-b|0;g=d+1&3;if(g){while(1){c=F[a+168>>2]+c|0;D[c|0]=G[c|0]&254;b=b+1|0;c=b&65535;f=f+1|0;if((g|0)!=(f&65535)){continue}break}}if((d&65535)>>>0<3){break s}while(1){c=F[a+168>>2]+c|0;D[c|0]=G[c|0]&254;c=F[a+168>>2]+(b+1&65535)|0;D[c|0]=G[c|0]&254;c=F[a+168>>2]+(b+2&65535)|0;D[c|0]=G[c|0]&254;c=F[a+168>>2]+(b+3&65535)|0;D[c|0]=G[c|0]&254;b=b+4|0;c=b&65535;if(e>>>0>=c>>>0){continue}break}break s}if(!G[a+565|0]){break s}h=134;break j;case 129:if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break s}}Ia:{e=H[d+4>>1];b=H[a+152>>1];if(e>>>0>=b>>>0){break Ia}c=H[d>>1];if(b>>>0<=c>>>0){break Ia}if(c>>>0>e>>>0){break s}f=0;b=c;d=e-b|0;g=d+1&3;if(g){while(1){c=F[a+168>>2]+c|0;D[c|0]=G[c|0]|1;b=b+1|0;c=b&65535;f=f+1|0;if((g|0)!=(f&65535)){continue}break}}if((d&65535)>>>0<3){break s}while(1){c=F[a+168>>2]+c|0;D[c|0]=G[c|0]|1;c=F[a+168>>2]+(b+1&65535)|0;D[c|0]=G[c|0]|1;c=F[a+168>>2]+(b+2&65535)|0;D[c|0]=G[c|0]|1;c=F[a+168>>2]+(b+3&65535)|0;D[c|0]=G[c|0]|1;b=b+4|0;c=b&65535;if(e>>>0>=c>>>0){continue}break}break s}if(!G[a+565|0]){break s}h=134;break j;case 128:Ja:{if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break Ja}}Ka:{b=F[a+308>>2];if((b|0)<=F[a+16>>2]){if((b|0)>0){break Ka}break Ja}if(!G[a+565|0]){break Ja}F[a+12>>2]=129;break Ja}while(1){c=c-1|0;F[a+28>>2]=c;c=H[(c<<2)+g>>1];La:{if(c>>>0>=H[a+152>>1]){if(!G[a+565|0]){break La}h=134;break j}b=c+F[a+168>>2]|0;D[b|0]=G[b|0]^1;b=F[a+308>>2]}e=b-1|0;F[a+308>>2]=e;c=F[a+28>>2];if((b|0)<2){break Ja}g=F[a+24>>2];b=e;continue}}F[a+32>>2]=c;F[a+308>>2]=1;break s;case 125:F[a+572>>2]=102;F[a+316>>2]=3;break s;case 124:F[a+572>>2]=103;F[a+316>>2]=4;break s;case 123:rd(a);break s;case 122:F[a+572>>2]=104;F[a+316>>2]=5;break s;case 121:if(F[d+4>>2]){break s}b=132;e=c;c=F[d>>2];Ma:{if(!(e|c)){break Ma}c=c+F[a+364>>2]|0;F[a+364>>2]=c;if((c|0)<0){break Ma}e=F[a+432>>2];if((e|0)>0&(c|0)>F[F[(F[a+440>>2]+(e<<4)|0)-4>>2]+8>>2]){break Ma}D[a+380|0]=0;if(F[d>>2]>=0){break s}c=F[a+628>>2]+1|0;F[a+628>>2]=c;b=139;if(c>>>0<=I[a+632>>2]){break s}}F[a+12>>2]=b;break r;case 120:if(!F[d+4>>2]){break s}b=132;e=c;c=F[d>>2];Na:{if(!(e|c)){break Na}c=c+F[a+364>>2]|0;F[a+364>>2]=c;if((c|0)<0){break Na}e=F[a+432>>2];if((e|0)>0&(c|0)>F[F[(F[a+440>>2]+(e<<4)|0)-4>>2]+8>>2]){break Na}D[a+380|0]=0;if(F[d>>2]>=0){break s}c=F[a+628>>2]+1|0;F[a+628>>2]=c;b=139;if(c>>>0<=I[a+632>>2]){break s}}F[a+12>>2]=b;break r;case 119:e=F[d>>2];c=e>>>4|0;b=F[(c&12)+98200>>2];Oa:{Pa:{Qa:{Ra:{c=c&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=b>>>10|0;break Oa}c=b>>>9|0;break Oa}c=L(b,3)>>>10|0}F[a+484>>2]=c;F[a+572>>2]=105;F[a+316>>2]=7;c=e&15;if(c){c=(L(b,c-4|0)|0)/8|0}else{c=b-1|0}F[a+488>>2]=c>>8;F[a+480>>2]=b>>>8;break s;case 118:e=F[d>>2];c=e>>>4|0;b=F[(c&12)+98184>>2];Sa:{Ta:{Ua:{Va:{c=c&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=b>>>10|0;break Sa}c=b>>>9|0;break Sa}c=L(b,3)>>>10|0}F[a+484>>2]=c;F[a+572>>2]=106;F[a+316>>2]=6;c=e&15;if(c){c=(L(b,c-4|0)|0)/8|0}else{c=b-1|0}F[a+488>>2]=c>>8;F[a+480>>2]=b>>>8;break s;case 115:case 116:case 117:e=Ia[F[a+596>>2]](a)|0;c=1;f=F[d>>2];Wa:{if(!f){break Wa}while(1){b=F[a+28>>2];if((b|0)<=1){if(G[a+565|0]){F[a+12>>2]=129}F[a+28>>2]=0;break Wa}d=b-2|0;F[a+28>>2]=d;g=b<<2;b=F[a+24>>2];g=F[(g+b|0)-4>>2];Xa:{if(g>>>0>=I[a+384>>2]){if(!G[a+565|0]){break Xa}h=134;break j}d=F[b+(d<<2)>>2];b=d>>>4&15;Ya:{Za:{switch(G[a+372|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((e|0)!=(H[a+336>>1]+b|0)){break Xa}b=d&15;Ia[F[a+608>>2]](a,g,(b>>>0>7?-7:-8)+b<<6-H[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}F[a+32>>2]=F[a+28>>2];break s;case 113:case 114:Ej(a,d);break s;case 112:b=F[d>>2];if(b>>>0>=I[a+384>>2]){if(!G[a+565|0]){break s}h=134;break j}c=Ua(F[d+4>>2],F[a+264>>2]);F[F[a+388>>2]+(b<<2)>>2]=c;break s;case 108:case 109:case 110:case 111:b=F[(((i&3)<<2)+a|0)+268>>2];c=F[d>>2];if((c|0)>=0){b=b+c|0;F[d>>2]=(b|0)>0?b:0;break s}b=c-b|0;F[d>>2]=b>>31&b;break s;case 104:case 105:case 106:case 107:Q=d,U=Ia[F[a+572>>2]](a,F[d>>2],i&3)|0,F[Q>>2]=U;break s;case 103:F[d>>2]=F[d>>2]+63&-64;break s;case 102:F[d>>2]=F[d>>2]&-64;break s;case 101:F[d>>2]=0-F[d>>2];break s;case 100:b=F[d>>2];if((b|0)>=0){break s}F[d>>2]=0-b;break s;case 99:Q=d,U=bb(F[d>>2],F[d+4>>2],64),F[Q>>2]=U;break s;case 98:b=F[d+4>>2];if(!b){h=133;break j}Q=d,U=Pg(F[d>>2],64,b),F[Q>>2]=U;break s;case 97:F[d>>2]=F[d>>2]-F[d+4>>2];break s;case 96:F[d>>2]=F[d+4>>2]+F[d>>2];break s;case 95:b=F[d>>2];if(b>>>0>6){h=132;break j}E[a+338>>1]=b;break s;case 94:E[a+336>>1]=F[d>>2];break s;case 93:Ej(a,d);break s;case 92:F[d>>2]=!F[d>>2];break s;case 91:F[d>>2]=F[d>>2]?1:F[d+4>>2]!=0;break s;case 90:if(!F[d>>2]){F[d>>2]=0;break s}F[d>>2]=F[d+4>>2]!=0;break s;case 88:if(F[d>>2]){break s}c=F[a+364>>2];e=F[a+368>>2];l=1;_a:while(1){c=c+f|0;F[a+364>>2]=c;$a:{if((l|0)==1){if((c|0)>=(e|0)){h=131;break j}b=G[c+j|0];D[a+372|0]=b;f=D[b+96128|0];F[a+376>>2]=f;if((b&254)==64){d=c+1|0;if((d|0)>=(e|0)){h=131;break j}f=2-L(G[d+j|0],f)|0;F[a+376>>2]=f}if((e|0)<(c+f|0)){h=131;break j}ab:{switch(b-88|0){case 1:break s;case 0:break $a;default:break ab}}l=1;if((b|0)!=27){continue}break s}if((c|0)>=(e|0)){h=131;break j}bb:{while(1){d=G[c+j|0];D[a+372|0]=d;f=D[d+96128|0];F[a+376>>2]=f;if((d&254)==64){b=c+1|0;if((b|0)>=(e|0)){h=131;break j}f=2-L(G[b+j|0],f)|0;F[a+376>>2]=f}b=c+f|0;if((b|0)>(e|0)){h=131;break j}if((d|0)!=27){switch(d-88|0){case 0:break $a;case 1:break bb;default:continue _a}}F[a+364>>2]=b;c=b;if((b|0)<(e|0)){continue}break}h=131;break j}l=l-1|0;if(l){continue}break s}l=l+1|0;continue};case 87:Q=d,U=!(Ia[F[a+572>>2]](a,F[d>>2],3)&127),F[Q>>2]=U;break s;case 86:Q=d,U=(Ia[F[a+572>>2]](a,F[d>>2],3)&127)==64,F[Q>>2]=U;break s;case 85:F[d>>2]=F[d>>2]!=F[d+4>>2];break s;case 84:F[d>>2]=F[d>>2]==F[d+4>>2];break s;case 83:F[d>>2]=F[d>>2]>=F[d+4>>2];break s;case 82:F[d>>2]=F[d>>2]>F[d+4>>2];break s;case 81:F[d>>2]=F[d>>2]<=F[d+4>>2];break s;case 80:F[d>>2]=F[d>>2]>2];break s;case 78:D[a+320|0]=0;break s;case 77:D[a+320|0]=1;break s;case 76:if(F[F[F[a>>2]+96>>2]+64>>2]==35){Q=d,U=Ia[F[a+596>>2]](a)|0,F[Q>>2]=U;break s}F[d>>2]=F[a+216>>2];break s;case 75:Q=d,U=Ia[F[a+596>>2]](a)|0,F[Q>>2]=U;break s;case 73:case 74:cb:{db:{c=H[d>>1];if(c>>>0>1]){b=H[d+4>>1];if(b>>>0>1]){break db}}b=0;if(!G[a+565|0]){break cb}F[a+12>>2]=134;F[d>>2]=0;break s}if(i&1){c=F[a+52>>2]+(c<<3)|0;b=F[a+88>>2]+(b<<3)|0;Q=d,U=Ia[F[a+576>>2]](a,F[c>>2]-F[b>>2]|0,F[c+4>>2]-F[b+4>>2]|0)|0,F[Q>>2]=U;break s}if(!(H[a+350>>1]?H[a+348>>1]:0)){c=F[a+48>>2]+(c<<3)|0;b=F[a+84>>2]+(b<<3)|0;Q=d,U=Ia[F[a+580>>2]](a,F[c>>2]-F[b>>2]|0,F[c+4>>2]-F[b+4>>2]|0)|0,F[Q>>2]=U;break s}b=F[a+92>>2]+(b<<3)|0;c=F[a+56>>2]+(c<<3)|0;e=F[a+224>>2];if((e|0)==F[a+228>>2]){Q=d,U=Ua(Ia[F[a+580>>2]](a,F[c>>2]-F[b>>2]|0,F[c+4>>2]-F[b+4>>2]|0)|0,F[a+224>>2]),F[Q>>2]=U;break s}b=(U=a,R=Ua(F[c>>2]-F[b>>2]|0,e),S=Ua(F[c+4>>2]-F[b+4>>2]|0,F[a+228>>2]),Q=F[a+580>>2],Ia[Q](U|0,R|0,S|0)|0)}F[d>>2]=b;break s;case 72:b=H[d>>1];if(b>>>0>=H[a+116>>1]){if(!G[a+565|0]){break s}h=134;break j}c=b<<3;e=c+F[a+124>>2]|0;e=Ia[F[a+576>>2]](a,F[e>>2],F[e+4>>2])|0;Ia[F[a+588>>2]](a,p,b,F[d+4>>2]-e|0);if(H[a+352>>1]){break s}b=c+F[a+120>>2]|0;c=c+F[a+124>>2]|0;e=F[c+4>>2];F[b>>2]=F[c>>2];F[b+4>>2]=e;break s;case 70:case 71:b=F[d>>2];eb:{if(b>>>0>=H[a+116>>1]){b=0;if(!G[a+565|0]){break eb}F[a+12>>2]=134;F[d>>2]=0;break s}if(i&1){b=F[a+120>>2]+(b<<3)|0;Q=d,S=Ia[F[a+580>>2]](a,F[b>>2],F[b+4>>2])|0,F[Q>>2]=S;break s}b=F[a+124>>2]+(b<<3)|0;b=Ia[F[a+576>>2]](a,F[b>>2],F[b+4>>2])|0}F[d>>2]=b;break s;case 69:b=F[d>>2];fb:{if(b>>>0>=I[a+384>>2]){b=0;if(!G[a+565|0]){break fb}h=134;break j}b=Ia[F[a+600>>2]](a,b)|0}F[d>>2]=b;break s;case 68:b=F[d>>2];if(b>>>0>=I[a+384>>2]){if(!G[a+565|0]){break s}h=134;break j}Ia[F[a+604>>2]](a,b,F[d+4>>2]);break s;case 67:b=F[d>>2];gb:{if(b>>>0>=H[a+472>>1]){b=0;if(!G[a+565|0]){break gb}h=134;break j}b=F[F[a+476>>2]+(b<<2)>>2]}F[d>>2]=b;break s;case 66:b=F[d>>2];if(b>>>0>=H[a+472>>1]){if(!G[a+565|0]){break s}h=134;break j}F[F[a+476>>2]+(b<<2)>>2]=F[d+4>>2];break s;case 65:h=130;g=(b-F[a+16>>2]|0)+1|0;b=F[a+364>>2];c=b+j|0;e=G[c+1|0];if(g>>>0<=e>>>0){break j}f=b+2|0;F[a+364>>2]=f;hb:{if(!e){break hb}F[a+364>>2]=b+4;F[d>>2]=(G[c+3|0]|G[f+j|0]<<8)<<16>>16;b=1;if((e|0)==1){break hb}c=e-1|0;f=c&1;if((e|0)!=2){g=c&-2;c=0;while(1){i=F[a+364>>2];F[a+364>>2]=i+2;h=d+(b<<2)|0;i=i+j|0;i=G[i|0]|G[i+1|0]<<8;F[h>>2]=(i<<8|i>>>8)<<16>>16;i=F[a+364>>2];F[a+364>>2]=i+2;i=i+j|0;i=G[i|0]|G[i+1|0]<<8;F[h+4>>2]=(i<<8|i>>>8)<<16>>16;b=b+2|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!f){break hb}c=F[a+364>>2];F[a+364>>2]=c+2;d=d+(b<<2)|0;b=c+j|0;b=G[b|0]|G[b+1|0]<<8;F[d>>2]=(b<<8|b>>>8)<<16>>16}D[a+380|0]=0;F[a+32>>2]=e+F[a+32>>2];break s;case 64:h=130;c=j+F[a+364>>2]|0;e=G[c+1|0];if(e>>>0>=(b-F[a+16>>2]|0)+1>>>0){break j}ib:{if(!e){break ib}b=2;F[d>>2]=G[c+2|0];if((e|0)==1){break ib}c=e-1|0;f=c&1;if((e|0)!=2){g=c&-2;c=0;while(1){i=d+(b<<2)|0;F[i-4>>2]=G[j+(F[a+364>>2]+(b|1)|0)|0];b=b+2|0;F[i>>2]=G[j+(b+F[a+364>>2]|0)|0];c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!f){break ib}F[(d+(b<<2)|0)-4>>2]=G[(j+(F[a+364>>2]+b|0)|0)+1|0]}F[a+32>>2]=e+F[a+32>>2];break s;case 62:case 63:jb:{kb:{c=H[d>>1];if(c>>>0>1]){b=F[d+4>>2];if(b>>>0>2]){break kb}}if(!G[a+565|0]){break jb}F[a+12>>2]=134;break jb}b=Ia[F[a+600>>2]](a,b)|0;if(!H[a+348>>1]){f=E[a+302>>1];e=f>>31;g=(e^f)-e|0;e=b>>31;i=(e^b)-e|0;h=i>>>16|0;j=L(g,h);d=j<<16|8192;m=c<<3;e=m+F[a+48>>2]|0;q=d;s=g;g=i&65535;d=d+L(s,g)|0;d=(j>>>16|0)+(q>>>0>d>>>0)<<18|d>>>14;F[e>>2]=(b^f)>=0?d:0-d|0;f=E[a+304>>1];d=f>>31;i=(d^f)-d|0;h=L(i,h);d=h<<16|8192;j=d;d=d+L(g,i)|0;d=(h>>>16|0)+(j>>>0>d>>>0)<<18|d>>>14;F[e+4>>2]=(b^f)>=0?d:0-d|0;d=F[e+4>>2];f=m+F[a+52>>2]|0;F[f>>2]=F[e>>2];F[f+4>>2]=d}e=F[a+52>>2]+(c<<3)|0;e=Ia[F[a+576>>2]](a,F[e>>2],F[e+4>>2])|0;if(D[a+372|0]&1){d=b-e|0;f=d>>31;b=Ia[F[a+572>>2]](a,F[a+324>>2]<((d^f)-f|0)?e:b,3)|0}Ia[F[a+588>>2]](a,o,c,b-e|0)}E[a+290>>1]=c;E[a+288>>1]=c;break s;case 61:F[a+572>>2]=107;F[a+316>>2]=2;break s;case 60:lb:{b=F[a+308>>2];if(!(H[a+288>>1]>1]&(b|0)<=F[a+16>>2])){if(!G[a+565|0]){break lb}F[a+12>>2]=134;break lb}if((b|0)<=0){break lb}while(1){c=c-1|0;F[a+28>>2]=c;c=H[(c<<2)+g>>1];mb:{if(c>>>0>=H[a+80>>1]){if(!G[a+565|0]){break mb}h=134;break j}d=c;b=F[a+88>>2]+(c<<3)|0;c=F[a+52>>2]+(H[a+288>>1]<<3)|0;S=a,R=n,U=d,T=0-(Ia[F[a+576>>2]](a,F[b>>2]-F[c>>2]|0,F[b+4>>2]-F[c+4>>2]|0)|0)|0,Q=F[a+588>>2],Ia[Q](S|0,R|0,U|0,T|0);b=F[a+308>>2]}e=b-1|0;F[a+308>>2]=e;c=F[a+28>>2];if((b|0)<2){break lb}g=F[a+24>>2];b=e;continue}}F[a+32>>2]=c;F[a+308>>2]=1;break s;case 58:case 59:nb:{b=H[d>>1];if(b>>>0>1]){c=H[a+288>>1];if(c>>>0>1]){break nb}}if(!G[a+565|0]){break s}h=134;break j}if(!H[a+350>>1]){c=F[a+48>>2]+(c<<3)|0;g=F[c+4>>2];e=b<<3;f=e+F[a+84>>2]|0;F[f>>2]=F[c>>2];F[f+4>>2]=g;Ia[F[a+592>>2]](a,n,b,F[d+4>>2]);c=e+F[a+88>>2]|0;e=e+F[a+84>>2]|0;f=F[e+4>>2];F[c>>2]=F[e>>2];F[c+4>>2]=f;c=H[a+288>>1]}e=F[a+88>>2]+(b<<3)|0;c=F[a+52>>2]+(c<<3)|0;c=Ia[F[a+576>>2]](a,F[e>>2]-F[c>>2]|0,F[e+4>>2]-F[c+4>>2]|0)|0;Ia[F[a+588>>2]](a,n,b,F[d+4>>2]-c|0);E[a+292>>1]=b;E[a+290>>1]=H[a+288>>1];if(!(D[a+372|0]&1)){break s}E[a+288>>1]=b;break s;case 57:ob:{pb:{b=F[a+308>>2];qb:{if((b|0)>F[a+16>>2]){if(G[a+565|0]){break qb}break ob}c=1;c=!H[a+348>>1]|!H[a+350>>1]?c:!H[a+352>>1];e=H[a+290>>1];if(e>>>0>1]){break pb}if(!G[a+565|0]){break ob}}F[a+12>>2]=134;break ob}g=F[(c?48:56)+a>>2];f=e<<3;d=g+f|0;m=F[a+52>>2];i=m+f|0;h=0;f=0;j=H[a+292>>1];if(j>>>0>1]){rb:{if(c){b=F[a+84>>2]+(j<<3)|0;f=Ia[F[a+580>>2]](a,F[b>>2]-F[d>>2]|0,F[b+4>>2]-F[(g+(e<<3)|0)+4>>2]|0)|0;break rb}b=F[a+224>>2];if((b|0)==F[a+228>>2]){b=F[a+92>>2]+(j<<3)|0;f=Ia[F[a+580>>2]](a,F[b>>2]-F[d>>2]|0,F[b+4>>2]-F[(g+(e<<3)|0)+4>>2]|0)|0;break rb}f=(T=a,U=Ua(F[F[a+92>>2]+(j<<3)>>2]-F[d>>2]|0,b),R=Ua(F[(F[a+92>>2]+(H[a+292>>1]<<3)|0)+4>>2]-F[(g+(e<<3)|0)+4>>2]|0,F[a+228>>2]),Q=F[a+580>>2],Ia[Q](T|0,U|0,R|0)|0)}b=F[a+88>>2]+(H[a+292>>1]<<3)|0;h=Ia[F[a+576>>2]](a,F[b>>2]-F[i>>2]|0,F[b+4>>2]-F[(m+(e<<3)|0)+4>>2]|0)|0;b=F[a+308>>2]}if((b|0)<=0){break ob}e=e<<3;j=e+m|0;e=e+g|0;if(c){while(1){c=F[a+28>>2]-1|0;F[a+28>>2]=c;c=F[F[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=H[a+116>>1]){if(!G[a+565|0]){break sb}h=134;break j}g=c<<3;b=g+F[a+120>>2]|0;b=Ia[F[a+580>>2]](a,F[b>>2]-F[d>>2]|0,F[b+4>>2]-F[e+4>>2]|0)|0;g=g+F[a+124>>2]|0;g=Ia[F[a+576>>2]](a,F[g>>2]-F[i>>2]|0,F[g+4>>2]-F[j+4>>2]|0)|0;m=a;c=c&65535;if(!(!b|!f)){b=bb(b,h,f)}Ia[F[a+588>>2]](m,p,c,b-g|0);b=F[a+308>>2]}c=b;b=c-1|0;F[a+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=F[a+28>>2]-1|0;F[a+28>>2]=c;c=F[F[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=H[a+116>>1]){if(!G[a+565|0]){break tb}h=134;break j}b=F[a+224>>2];ub:{if((b|0)==F[a+228>>2]){b=F[a+128>>2]+(c<<3)|0;b=Ia[F[a+580>>2]](a,F[b>>2]-F[d>>2]|0,F[b+4>>2]-F[e+4>>2]|0)|0;break ub}g=c<<3;b=(R=a,U=Ua(F[g+F[a+128>>2]>>2]-F[d>>2]|0,b),T=Ua(F[(g+F[a+128>>2]|0)+4>>2]-F[e+4>>2]|0,F[a+228>>2]),Q=F[a+580>>2],Ia[Q](R|0,U|0,T|0)|0)}g=F[a+124>>2]+(c<<3)|0;g=Ia[F[a+576>>2]](a,F[g>>2]-F[i>>2]|0,F[g+4>>2]-F[j+4>>2]|0)|0;m=a;c=c&65535;if(!(!b|!f)){b=bb(b,h,f)}Ia[F[a+588>>2]](m,p,c,b-g|0);b=F[a+308>>2]}c=b;b=c-1|0;F[a+308>>2]=b;if((c|0)>1){continue}break}}F[a+308>>2]=1;F[a+32>>2]=F[a+28>>2];break s;case 56:f=1;f=!H[a+348>>1]|!H[a+350>>1]?f:!H[a+352>>1];vb:{b=F[a+308>>2];if((b|0)>=F[a+16>>2]){if(!G[a+565|0]){break vb}F[a+12>>2]=134;break vb}if((b|0)<=0){break vb}e=E[a+304>>1];i=e>>31;b=F[d>>2];d=b>>31;i=(e^i)-i|0;h=(b^d)-d|0;j=h>>>16|0;m=L(i,j);d=m<<16|8192;q=d;s=i;i=h&65535;d=d+L(s,i)|0;d=(m>>>16|0)+(q>>>0>d>>>0)<<18|d>>>14;h=(b^e)>=0?d:0-d|0;e=E[a+302>>1];d=e>>31;m=j;j=(d^e)-d|0;m=L(m,j);d=m<<16|8192;q=d;d=d+L(i,j)|0;d=(m>>>16|0)+(q>>>0>d>>>0)<<18|d>>>14;e=(b^e)>=0?d:0-d|0;while(1){b=c-1|0;F[a+28>>2]=b;b=H[(b<<2)+g>>1];wb:{if(b>>>0>=H[a+116>>1]){if(!G[a+565|0]){break wb}h=134;break j}xb:{yb:{zb:{Ab:{if(F[F[F[a>>2]+96>>2]+64>>2]==40){if(G[a+615|0]){Bb:{if(f){break Bb}if(G[a+617|0]?G[a+616|0]:0){break wb}if(H[a+304>>1]?G[a+564|0]:0){break Bb}if(!(G[b+F[a+132>>2]|0]&16)){break wb}}if(H[a+302>>1]){c=b+F[a+132>>2]|0;D[c|0]=G[c|0]|8}if(!H[a+304>>1]){break wb}if(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40|(!G[a+616|0]|!G[a+617|0])){break yb}break xb}if(H[a+302>>1]){break Ab}break zb}if(!H[a+302>>1]){break zb}}c=F[a+124>>2]+(b<<3)|0;F[c>>2]=e+F[c>>2];c=b+F[a+132>>2]|0;D[c|0]=G[c|0]|8}if(!H[a+304>>1]){break wb}if(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40)){break yb}if(G[a+617|0]){break xb}}c=F[a+124>>2]+(b<<3)|0;F[c+4>>2]=h+F[c+4>>2]}b=b+F[a+132>>2]|0;D[b|0]=G[b|0]|16}b=F[a+308>>2];F[a+308>>2]=b-1;c=F[a+28>>2];if((b|0)<2){break vb}g=F[a+24>>2];continue}}F[a+32>>2]=c;F[a+308>>2]=1;break s;case 54:case 55:if(I[d>>2]>=2){if(!G[a+565|0]){break s}F[a+12>>2]=134;break s}if(fg(a,k+16|0,k+12|0,k+24|0,k+22|0)){break s}Cb:{Db:{switch(H[a+352>>1]){case 0:b=H[a+116>>1];break Cb;case 1:break Db;default:break s}}b=E[a+118>>1];if((b|0)<=0){break s}b=H[(F[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(b&65535)){break s}c=F[k+12>>2];e=F[k+16>>2];f=F[k+40>>2];d=F[a+124>>2];if((f|0)==(d|0)){d=b&65535;b=0;g=H[k+22>>1];while(1){Eb:{if((b|0)==(g|0)){break Eb}if(!(!H[a+302>>1]|(G[a+615|0]?F[F[F[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;F[i>>2]=e+F[i>>2]}if(!H[a+304>>1]){break Eb}if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break Eb}}i=f+(b<<3)|0;F[i+4>>2]=c+F[i+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break s}f=H[a+302>>1];if(!H[a+304>>1]){if(!f){break s}f=F[F[F[a>>2]+96>>2]+64>>2];c=0;g=b&65535;if((g|0)!=1){g=g&65534;h=0;while(1){if(!(G[a+615|0]?(f|0)==40:0)){i=d+(c<<3)|0;F[i>>2]=e+F[i>>2]}if(!(G[a+615|0]?(f|0)==40:0)){i=d+((c|1)<<3)|0;F[i>>2]=e+F[i>>2]}c=c+2|0;h=h+2|0;if((g|0)!=(h|0)){continue}break}}if(!(b&1)|(G[a+615|0]?(f|0)==40:0)){break s}b=d+(c<<3)|0;F[b>>2]=e+F[b>>2];break s}g=F[F[F[a>>2]+96>>2]+64>>2];if(!f){if((g|0)!=40){e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|8)|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|16)|0;F[h+4>>2]=c+F[h+4>>2];g=d+(g|24)|0;F[g+4>>2]=c+F[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;F[g+4>>2]=c+F[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if(!G[a+615|0]){e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|8)|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|16)|0;F[h+4>>2]=c+F[h+4>>2];g=d+(g|24)|0;F[g+4>>2]=c+F[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;F[g+4>>2]=c+F[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if(!G[a+616|0]){e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|8)|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|16)|0;F[h+4>>2]=c+F[h+4>>2];g=d+(g|24)|0;F[g+4>>2]=c+F[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;F[g+4>>2]=c+F[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if(G[a+617|0]){break s}e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|8)|0;F[h+4>>2]=c+F[h+4>>2];h=d+(g|16)|0;F[h+4>>2]=c+F[h+4>>2];g=d+(g|24)|0;F[g+4>>2]=c+F[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;F[g+4>>2]=c+F[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if((g|0)==40){b=b&65535;g=G[a+615|0];f=0;while(1){Fb:{Gb:{if(!g){i=d+(f<<3)|0;F[i>>2]=e+F[i>>2];break Gb}if(!G[a+616|0]){break Gb}if(G[a+617|0]){break Fb}}i=d+(f<<3)|0;F[i+4>>2]=c+F[i+4>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break s}h=0;f=b&65535;if((f|0)!=1){g=f&65534;l=0;while(1){i=h<<3;f=i+d|0;F[f>>2]=e+F[f>>2];F[f+4>>2]=c+F[f+4>>2];f=d+(i|8)|0;F[f>>2]=e+F[f>>2];F[f+4>>2]=c+F[f+4>>2];h=h+2|0;l=l+2|0;if((g|0)!=(l|0)){continue}break}}if(!(b&1)){break s}b=d+(h<<3)|0;F[b>>2]=e+F[b>>2];F[b+4>>2]=c+F[b+4>>2];break s;case 52:case 53:b=F[d>>2]<<16;c=b>>16;if(c>>>0>=(H[a+352>>1]?E[a+118>>1]:1)>>>0){if(!G[a+565|0]){break s}F[a+12>>2]=134;break s}if(fg(a,k+16|0,k+12|0,k+24|0,k+22|0)){break s}b=(b?(H[(F[a+136>>2]+(c<<1)|0)-2>>1]-H[a+140>>1]|0)+1|0:0)&65535;if(H[a+352>>1]){c=(H[F[a+136>>2]+(c<<1)>>1]-H[a+140>>1]|0)+1|0}else{c=H[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break s}e=H[k+22>>1];f=F[k+12>>2];d=F[k+16>>2];g=F[k+40>>2];while(1){i=F[a+124>>2];Hb:{if((i|0)==(g|0)&(b|0)==(e|0)){break Hb}if(H[a+302>>1]){if(!(G[a+615|0]?F[F[F[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;F[i>>2]=d+F[i>>2]}i=F[a+132>>2]+b|0;D[i|0]=G[i|0]|8}if(!H[a+304>>1]){break Hb}Ib:{if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break Ib}}i=F[a+124>>2]+(b<<3)|0;F[i+4>>2]=f+F[i+4>>2]}i=F[a+132>>2]+b|0;D[i|0]=G[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break s;case 50:case 51:Jb:{if(F[a+16>>2]>2]){if(!G[a+565|0]){break Jb}F[a+12>>2]=134;break Jb}if(fg(a,k+16|0,k+12|0,k+24|0,k+22|0)){break s}if(F[a+308>>2]<=0){break Jb}c=F[k+12>>2];e=F[k+16>>2];while(1){b=F[a+28>>2]-1|0;F[a+28>>2]=b;b=H[F[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=H[a+116>>1]){if(!G[a+565|0]){break Kb}F[a+12>>2]=134;break s}if(H[a+302>>1]){if(!(G[a+615|0]?F[F[F[a>>2]+96>>2]+64>>2]==40:0)){f=F[a+124>>2]+(b<<3)|0;F[f>>2]=e+F[f>>2]}f=b+F[a+132>>2]|0;D[f|0]=G[f|0]|8}if(!H[a+304>>1]){break Kb}Lb:{if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break Lb}}f=F[a+124>>2]+(b<<3)|0;F[f+4>>2]=c+F[f+4>>2]}b=b+F[a+132>>2]|0;D[b|0]=G[b|0]|16}b=F[a+308>>2];F[a+308>>2]=b-1;if((b|0)>1){continue}break}}F[a+308>>2]=1;F[a+32>>2]=F[a+28>>2];break s;case 48:case 49:Mb:{if(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40){break Mb}if(G[a+617|0]?G[a+616|0]:0){break s}if(i&1){D[a+616|0]=1;break Mb}D[a+617|0]=1}if(!H[a+154>>1]){break s}Nb:{if(i&1){t=F[a+156>>2];F[k+24>>2]=t;l=F[a+160>>2];F[k+28>>2]=l;r=F[a+164>>2];F[k+32>>2]=r;s=8;break Nb}t=F[a+156>>2]+4|0;F[k+24>>2]=t;l=F[a+160>>2]+4|0;F[k+28>>2]=l;r=F[a+164>>2]+4|0;F[k+32>>2]=r;s=16}q=H[a+152>>1];F[k+36>>2]=q;v=0;b=q;j=0;while(1){c=H[F[a+172>>2]+(v<<1)>>1]-H[a+176>>1]|0;b=b&65535;u=b>>>0>c>>>0?c:b-1|0;Ob:{if(u>>>0>>0){f=j;break Ob}b=F[a+168>>2];e=j;Pb:{while(1){Qb:{f=e+1|0;if(G[b+e|0]&s){i=f;h=e;g=e;Rb:{Sb:{C=f>>>0>u>>>0;if(!C){while(1){d=i;Tb:{if(!(G[d+b|0]&s)){c=g;break Tb}b=g+1|0;c=d;if(h>>>0>>0|c>>>0>=q>>>0|g>>>0>=q>>>0){break Tb}i=F[(d<<3)+r>>2];c=F[(g<<3)+r>>2];Ub:{if((i|0)>=(c|0)){m=i;i=c;c=d;break Ub}m=c;c=g;g=d}c=c<<3;w=F[c+l>>2];A=F[c+t>>2];J=w-A|0;g=g<<3;c=F[g+l>>2];B=F[g+t>>2];K=c-B|0;Vb:{if(!((c|0)==(w|0)|(i|0)==(m|0))){N=m-i|0;O=w-c|0;m=0;w=0;while(1){g=b<<3;P=g+l|0;g=F[g+t>>2];Wb:{if((g|0)<=(B|0)){z=g+K|0;break Wb}z=g+J|0;if((g|0)>=(A|0)){break Wb}if(!(m&255)){w=_a(O,N)}m=1;z=Ua(F[(b<<3)+r>>2]-i|0,w)+c|0}F[P>>2]=z;b=b+1|0;if(h>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;g=F[i+t>>2];F[i+l>>2]=(g|0)>(B|0)?(g|0)<(A|0)?c:g+J|0:g+K|0;b=b+1|0;if(h>>>0>=b>>>0){continue}break}}c=d}i=d+1|0;if(u>>>0>=i>>>0){b=F[a+168>>2];h=d;g=c;continue}break}if((c|0)!=(e|0)){break Sb}}b=e<<3;c=F[b+l>>2];b=F[b+t>>2];if((c|0)==(b|0)){break Pb}d=c-b|0;if(e>>>0<=j>>>0){break Qb}b=(j^-1)+e|0;c=0;g=e-j&3;if(g){while(1){h=(j<<3)+l|0;F[h>>2]=d+F[h>>2];j=j+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(b>>>0>2){break Rb}break Qb}Dj(k+24|0,c+1&65535,u,c,e);if(!e){break Pb}Dj(k+24|0,j,e-1|0,c,e);break Pb}while(1){b=(j<<3)+l|0;F[b>>2]=d+F[b>>2];F[b+8>>2]=d+F[b+8>>2];F[b+16>>2]=d+F[b+16>>2];F[b+24>>2]=d+F[b+24>>2];j=j+4|0;if((j|0)!=(e|0)){continue}break}break Qb}e=f;if(u>>>0>=e>>>0){continue}break Ob}break}if(C){break Pb}while(1){b=(f<<3)+l|0;F[b>>2]=d+F[b>>2];f=f+1|0;if(u>>>0>=f>>>0){continue}break}}f=i}v=v+1|0;if((v|0)>=E[a+154>>1]){break s}b=H[a+152>>1];j=f;continue};case 46:case 47:b=H[d>>1];if(b>>>0>=H[a+44>>1]){if(!G[a+565|0]){break s}h=134;break j}if(i&1){c=F[a+52>>2]+(b<<3)|0;c=Ia[F[a+576>>2]](a,F[c>>2],F[c+4>>2])|0;c=(Ia[F[a+572>>2]](a,c,3)|0)-c|0}else{c=0}Ia[F[a+588>>2]](a,o,b,c);E[a+290>>1]=b;E[a+288>>1]=b;break s;case 79:break j;case 45:break t}}c=F[a+432>>2];if((c|0)<=0){h=136;break j}b=c-1|0;F[a+432>>2]=b;b=F[a+440>>2]+(b<<4)|0;e=F[b+8>>2];F[b+8>>2]=e-1;D[a+380|0]=0;if((e|0)>=2){F[a+432>>2]=c;F[a+364>>2]=F[F[b+12>>2]+4>>2];break s}c=F[b>>2];if(c-4>>>0<4294967293){h=132;break j}e=(c-1<<3)+a|0;f=F[e+448>>2];if(!f){h=138;break j}e=F[e+452>>2];b=F[b+4>>2];if((e|0)<(b|0)){h=131;break j}F[a+368>>2]=e;F[a+360>>2]=f;F[a+364>>2]=b;F[a+356>>2]=c}b=F[a+12>>2]}if(b){h=128;if((b|0)!=128){break i}b=F[a+420>>2];if(!b){break j}c=F[a+412>>2];if((c|0)<=0){break j}c=L(c,24)+b|0;while(1){if(!(!G[b+16|0]|G[a+372|0]!=G[b+12|0])){c=F[a+432>>2];if((c|0)>=F[a+436>>2]){h=134;break j}c=F[a+440>>2]+(c<<4)|0;F[c>>2]=F[a+356>>2];e=F[a+364>>2];F[c+12>>2]=b;F[c+8>>2]=1;F[c+4>>2]=e+1;c=F[b>>2];if(c-4>>>0<4294967293){h=132;break j}e=(c-1<<3)+a|0;f=F[e+448>>2];if(!f){h=138;break j}e=F[e+452>>2];b=F[b+4>>2];if((e|0)>=(b|0)){break o}h=131;break j}b=b+24|0;if(c>>>0>b>>>0){continue}break}break j}F[a+16>>2]=F[a+32>>2];if(!G[a+380|0]){break p}}F[a+364>>2]=F[a+364>>2]+F[a+376>>2]}M=M+1|0;if(M>>>0<=1e6){break n}b=139;break i}F[a+368>>2]=e;F[a+360>>2]=f;F[a+364>>2]=b;F[a+356>>2]=c}c=F[a+364>>2];if((c|0)>=F[a+368>>2]){b=0;h=131;if(F[a+432>>2]>0){break j}break i}if(!G[a+492|0]){continue}break}b=0;break i}F[a+12>>2]=h;b=h}Ga=k- -64|0;return b|0}function wm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,K=M(0),O=0,P=0;q=Ga-32|0;Ga=q;F[c+144>>2]=0;D[c+140|0]=0;g=F[c+68>>2];a:{if(g>>>0>67108862){break a}l=g<<6;F[c+148>>2]=l>>>0>16384?l:16384;if(g>>>0>4194302){break a}g=g<<10;F[c+152>>2]=g>>>0>16384?g:16384}C=F[c+40>>2];i=F[c+68>>2];if(i){g=F[a+96>>2];l=F[c+80>>2];if(i-1>>>0>=7){k=i&-8;while(1){F[(l+L(f,20)|0)+4>>2]=g;F[(l+L(f|1,20)|0)+4>>2]=g;F[(l+L(f|2,20)|0)+4>>2]=g;F[(l+L(f|3,20)|0)+4>>2]=g;F[(l+L(f|4,20)|0)+4>>2]=g;F[(l+L(f|5,20)|0)+4>>2]=g;F[(l+L(f|6,20)|0)+4>>2]=g;F[(l+L(f|7,20)|0)+4>>2]=g;f=f+8|0;j=j+8|0;if((k|0)!=(j|0)){continue}break}}k=i&7;if(k){while(1){F[(l+L(f,20)|0)+4>>2]=g;f=f+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}g=0;while(1){f=l+L(g,20)|0;Ed(f,c);j=f+16|0;h=H[j>>1];b:{c:{if((h&31)==24&F[f>>2]-127995>>>0<=4){break c}if(!(!g|F[f>>2]-127462>>>0>25)){f=l+L(g-1|0,20)|0;if(F[f>>2]-127462>>>0>25){break b}if(!(G[f+16|0]&128)){break c}break b}if((h&287)==257){E[f+16>>1]=h|128;f=g+1|0;if(f>>>0>=i>>>0){break b}k=l+L(f,20)|0;h=F[k>>2];if(h>>>0<=131069){h=G[((h&56|G[(G[(h>>>11|0)+229200|0]>>>(h>>>8&4)<<4&240|h>>>6&15)+229264|0]<<6)>>>3|0)+229424|0]>>>(h&7)&1}else{h=0}if(!h){break b}Ed(k,c);j=k+16|0;h=H[k+16>>1];g=f;break c}if(F[f>>2]-917536>>>0>95){break b}}E[j>>1]=h|128}g=g+1|0;if(i>>>0>g>>>0){continue}break}}d:{if(!(1<>2]+16>>1]&7168)|(F[c+132>>2]|(F[c+16>>2]&17)!=1)){break d}F[q+8>>2]=0;f=F[b+80>>2];if(!(Ia[F[f+164>>2]](b,F[b+84>>2],9676,q+8|0,F[f+20>>2])|0)){break d}F[q+20>>2]=0;F[q+24>>2]=0;F[q+12>>2]=0;F[q+16>>2]=0;F[q+8>>2]=9676;Ed(q+8|0,c);F[c+72>>2]=0;F[c+64>>2]=0;D[c+61|0]=1;D[c+62|0]=0;F[c+84>>2]=F[c+80>>2];F[c+64>>2]=0;f=F[c+80>>2];g=F[f+4>>2];h=F[f+8>>2];l=F[q+20>>2];i=F[q+24>>2];k=F[q+8>>2];if($a(c,0,1)){f=F[c+84>>2]+L(F[c+72>>2],20)|0;F[f+12>>2]=l;F[f+16>>2]=i;F[f+8>>2]=h;F[f+4>>2]=g;F[f>>2]=k;F[c+72>>2]=F[c+72>>2]+1}mc(c)}e:{n=F[c+144>>2];if(!(n&1)){break e}l=F[c+68>>2];if(!F[c+20>>2]){if(!l){break e}f=l-1|0;g=0;while(1){f:{if((f|0)==(g|0)){g=l;break f}g=g+1|0;if(G[(F[c+80>>2]+L(g,20)|0)+16|0]&128){continue}}break}h=0;k=l;while(1){if(g-h>>>0>=2){Kb(c,h,g);k=F[c+68>>2]}f=g+1|0;h=f>>>0>>0?k:f;f=g;while(1){g:{f=f+1|0;if(k>>>0<=f>>>0){f=h;break g}if(G[(F[c+80>>2]+L(f,20)|0)+16|0]&128){continue}}break}i=g>>>0>>0;h=g;g=f;if(i){continue}break}break e}if(!l){break e}g=l-1|0;f=0;while(1){h:{if((f|0)==(g|0)){f=l;break h}f=f+1|0;if(G[(F[c+80>>2]+L(f,20)|0)+16|0]&128){continue}}break}g=0;h=l;while(1){i=f;s=f>>>0>h>>>0?h:f;p=s-g|0;i:{if(p>>>0<2){break i}n=n|32;F[c+144>>2]=n;if(g>>>0>=s>>>0){break i}m=F[c+80>>2];f=-1;k=g;r=s+(g^-1)|0;if(r>>>0>=3){t=p&-4;o=0;while(1){j=m+L(k,20)|0;u=F[j+8>>2];f=f>>>0>>0?f:u;u=F[j+28>>2];f=f>>>0>>0?f:u;u=F[j+48>>2];f=f>>>0>>0?f:u;j=F[j+68>>2];f=f>>>0>>0?f:j;k=k+4|0;o=o+4|0;if((t|0)!=(o|0)){continue}break}}j=0;o=p&3;if(o){while(1){t=F[(m+L(k,20)|0)+8>>2];f=f>>>0>>0?f:t;k=k+1|0;j=j+1|0;if((o|0)!=(j|0)){continue}break}}if(p&1){k=m+L(g,20)|0;if(F[k+8>>2]!=(f|0)){F[c+144>>2]=n;F[k+4>>2]=F[k+4>>2]|3}g=g+1|0}if(!r){break i}while(1){k=m+L(g,20)|0;if(F[k+8>>2]!=(f|0)){n=n|32;F[c+144>>2]=n;F[k+4>>2]=F[k+4>>2]|3}k=m+L(g+1|0,20)|0;if(F[k+8>>2]!=(f|0)){n=n|32;F[c+144>>2]=n;F[k+4>>2]=F[k+4>>2]|3}g=g+2|0;if((s|0)!=(g|0)){continue}break}}f=i+1|0;g=f>>>0>>0?h:f;f=i;while(1){j:{f=f+1|0;if(h>>>0<=f>>>0){f=g;break j}if(G[(F[c+80>>2]+L(f,20)|0)+16|0]&128){continue}}break}if(i>>>0>=l>>>0){break e}h=F[c+68>>2];g=i;continue}}h=F[c+40>>2];k:{l:{m:{k=Qf(F[c+44>>2]);n:{if(!((k|0)!=5|(h|0)!=4)){l=F[c+68>>2];if(!l){k=5;break n}i=F[c+80>>2];k=0;n=1;f=0;while(1){o:{g=1;j=H[(i+L(k,20)|0)+16>>1]&31;if((j|0)!=13){g=f;if(1<>>0>k>>>0;f=g;if((k|0)!=(l|0)){continue}}break}k=g&1?n&1?5:4:5}f=h&-2;if((f|0)!=4){break m}}if((h|0)==(k|0)){break k}if(k){break l}break k}if((h|0)==6|(f|0)!=6){break k}}ce(c,781,F[c+20>>2]==1);F[c+40>>2]=F[c+40>>2]^1}s=a+60|0;p:{if(!F[F[a+80>>2]+16>>2]){break p}if(!mb(c,b,105256,0)){break p}Ia[F[F[a+80>>2]+16>>2]](s,c,b);mb(c,b,105431,0)}k=F[c+80>>2];l=F[c+68>>2];if(!(!l|(C&-3)!=5)){j=F[a+200>>2];h=F[c+12>>2];g=0;while(1){f=k+L(g,20)|0;i=Ia[F[h+28>>2]](h,F[f>>2],F[h+60>>2])|0;q:{r:{if((i|0)==F[f>>2]){break r}F[q+8>>2]=0;o=F[b+80>>2];if(!(Ia[F[o+164>>2]](b,F[b+84>>2],i,q+8|0,F[o+20>>2])|0)){break r}F[f>>2]=i;break q}F[f+4>>2]=j|F[f+4>>2]}g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(!(!l|(G[a+212|0]&8|(C&-2)!=6))){f=0;while(1){s:{t:{u:{v:{w:{x:{y:{i=k+L(f,20)|0;h=F[i>>2];g=h>>>8|0;switch(g-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break s;case 16:break u;case 0:break x;default:break y}}switch(g-254|0){case 1:break v;case 0:break w;default:break s}}g=65074;z:{switch(h-8211|0){case 1:g=65073;break t;case 18:g=65072;break t;case 0:break t;case 19:break z;default:break s}}g=65049;break t}g=65076;if((h|0)==65103){break t}break s}g=65045;A:{switch(h-65281|0){case 7:g=65077;break t;case 8:g=65078;break t;case 11:g=65040;break t;case 25:g=65043;break t;case 26:g=65044;break t;case 30:g=65046;break t;case 58:g=65095;break t;case 60:g=65096;break t;case 62:g=65075;break t;case 90:g=65079;break t;case 0:break t;case 92:break A;default:break s}}g=65080;break t}g=h-12289|0;if(g>>>0>=23|!(7995267>>>g&1)){break s}g=F[(g<<2)+151680>>2]}if((g|0)==(h|0)){break s}F[q+8>>2]=0;h=F[b+80>>2];if(!(Ia[F[h+164>>2]](b,F[b+84>>2],g,q+8|0,F[h+20>>2])|0)){break s}F[i>>2]=g}f=f+1|0;if((l|0)!=(f|0)){continue}break}}m=b;o=Ga-48|0;Ga=o;i=c;B:{if(!F[c+68>>2]){break B}b=F[s+20>>2];c=F[b+24>>2];F[o+24>>2]=m;F[o+20>>2]=i;F[o+16>>2]=s;F[o+28>>2]=F[i+12>>2];F[o+32>>2]=F[i+32>>2];f=F[b+28>>2];F[o+36>>2]=f?f:771;b=F[b+32>>2];F[o+40>>2]=b?b:772;F[i+72>>2]=0;F[i+64>>2]=0;D[i+61|0]=1;D[i+62|0]=0;F[i+84>>2]=F[i+80>>2];F[i+64>>2]=0;r=(c|0)==4?2:c;t=r&-3;p=F[i+68>>2];f=0;h=1;C:{D:{E:{while(1){b=f+1|0;g=b>>>0

>>0?p:b;b=f;while(1){F:{c=b;b=b+1|0;if(p>>>0<=b>>>0){c=g;break F}if(!(1<>2]+L(b,20)|0)+16>>1]&7168)){continue}}break}if((t|0)!=1){b=F[i+80>>2]+L(f,20)|0;g=b;l=b+12|0;b=F[m+80>>2];b=Ia[F[b+168>>2]](m,F[m+84>>2],c-f|0,g,20,l,20,F[b+24>>2])|0;if(G[i+61|0]){G:{if(F[i+84>>2]==F[i+80>>2]){f=F[i+72>>2];if((f|0)==F[i+64>>2]){break G}}if(!$a(i,b,b)){break E}Cb(F[i+84>>2]+L(F[i+72>>2],20)|0,F[i+80>>2]+L(F[i+64>>2],20)|0,L(b,20));f=F[i+72>>2]}F[i+72>>2]=b+f}f=b+F[i+64>>2]|0;F[i+64>>2]=f}H:{if(!G[i+60|0]|c>>>0<=f>>>0){break H}while(1){ym(o+16|0,(t|0)!=1);f=F[i+64>>2];if(f>>>0>=c>>>0){break H}if(G[i+60|0]){continue}break}}if(!G[i+60|0]|(f|0)==(p|0)){break E}b=f+1|0;b=b>>>0

>>0?p:b;g=b-1|0;while(1){I:{c=f;f=c+1|0;if(p>>>0<=f>>>0){c=g;f=b;break I}if(1<>2]+L(f,20)|0)+16>>1]&7168){continue}}break}j=F[o+20>>2];h=F[j+64>>2];J:{if(h>>>0>=f>>>0|!G[j+60|0]){break J}l=j- -64|0;g=F[j+80>>2];b=h;K:{while(1){k=F[g+L(b,20)>>2];if(!((k&-16)==65024|k-918e3>>>0>=4294967056)){k=(b|0)==(c|0);b=b+1|0;if(!k){continue}break K}break}n=F[o+24>>2];L:{if(c>>>0<=h>>>0){break L}k=j+72|0;while(1){g=F[j+80>>2]+L(h,20)|0;F[g+12>>2]=0;h=g+12|0;u=F[g>>2];b=F[n+80>>2];g=F[g+20>>2];M:{if(!((g&-16)!=65024&g-918e3>>>0<4294967056)){g=Ia[F[b+172>>2]](n,F[n+84>>2],u,g,h,F[b+28>>2])|0;b=F[j+80>>2]+L(F[j+64>>2],20)|0;u=F[b>>2];N:{O:{if(g){if(!$a(j,2,1)){break N}b=F[j+64>>2];Kb(j,b,b+2|0);b=F[j+64>>2];P:{if(b>>>0>2]){h=F[j+72>>2];g=F[j+84>>2];b=F[j+80>>2]+L(b,20)|0;break P}g=F[j+84>>2];h=F[j+72>>2];b=g+L(h?h-1|0:0,20)|0}g=L(h,20)+g|0;h=F[b+4>>2];F[g>>2]=F[b>>2];F[g+4>>2]=h;F[g+16>>2]=F[b+16>>2];h=F[b+12>>2];F[g+8>>2]=F[b+8>>2];F[g+12>>2]=h;F[g>>2]=u;F[l>>2]=F[l>>2]+2;b=k;break O}F[b+12>>2]=0;g=b+12|0;b=F[n+80>>2];Ia[F[b+164>>2]](n,F[n+84>>2],u,g,F[b+20>>2])|0;Q:{if(G[j+61|0]){R:{if(F[j+84>>2]==F[j+80>>2]){b=F[k>>2];if((b|0)==F[l>>2]){break R}}if(!$a(j,1,1)){b=F[l>>2];break Q}g=F[j+80>>2]+L(F[j+64>>2],20)|0;h=F[g+4>>2];b=F[j+84>>2]+L(F[j+72>>2],20)|0;F[b>>2]=F[g>>2];F[b+4>>2]=h;F[b+16>>2]=F[g+16>>2];h=F[g+12>>2];F[b+8>>2]=F[g+8>>2];F[b+12>>2]=h;b=F[j+72>>2]}F[k>>2]=b+1}b=F[l>>2]+1|0;F[l>>2]=b}b=F[j+80>>2]+L(b,20)|0;F[b+12>>2]=0;h=F[b>>2];g=b+12|0;b=F[n+80>>2];Ia[F[b+164>>2]](n,F[n+84>>2],h,g,F[b+20>>2])|0;b=l;if(!G[j+61|0]){break O}S:{if(F[j+84>>2]==F[j+80>>2]){b=F[k>>2];if((b|0)==F[l>>2]){break S}}if(!$a(j,1,1)){break N}g=F[j+80>>2]+L(F[j+64>>2],20)|0;h=F[g+4>>2];b=F[j+84>>2]+L(F[j+72>>2],20)|0;F[b>>2]=F[g>>2];F[b+4>>2]=h;F[b+16>>2]=F[g+16>>2];h=F[g+12>>2];F[b+8>>2]=F[g+8>>2];F[b+12>>2]=h;b=F[j+72>>2]}F[k>>2]=b+1;b=l}F[b>>2]=F[b>>2]+1}h=F[l>>2];if(h>>>0>=f>>>0){break M}while(1){if(!G[j+60|0]){break M}b=F[j+80>>2]+L(h,20)|0;g=F[b>>2];if((g&-16)!=65024&g-918e3>>>0<4294967056){break M}F[b+12>>2]=0;h=b+12|0;b=F[n+80>>2];Ia[F[b+164>>2]](n,F[n+84>>2],g,h,F[b+20>>2])|0;T:{if(G[j+61|0]){U:{if(F[j+84>>2]==F[j+80>>2]){b=F[k>>2];if((b|0)==F[l>>2]){break U}}if(!$a(j,1,1)){h=F[l>>2];break T}g=F[j+80>>2]+L(F[j+64>>2],20)|0;h=F[g+4>>2];b=F[j+84>>2]+L(F[j+72>>2],20)|0;F[b>>2]=F[g>>2];F[b+4>>2]=h;F[b+16>>2]=F[g+16>>2];h=F[g+12>>2];F[b+8>>2]=F[g+8>>2];F[b+12>>2]=h;b=F[j+72>>2]}F[k>>2]=b+1}h=F[l>>2]+1|0;F[l>>2]=h}if(f>>>0>h>>>0){continue}break}break M}Ia[F[b+164>>2]](n,F[n+84>>2],u,h,F[b+20>>2])|0;if(G[j+61|0]){V:{if(F[j+84>>2]==F[j+80>>2]){b=F[k>>2];if((b|0)==F[l>>2]){break V}}if(!$a(j,1,1)){h=F[l>>2];break M}g=F[j+80>>2]+L(F[j+64>>2],20)|0;h=F[g+4>>2];b=F[j+84>>2]+L(F[j+72>>2],20)|0;F[b>>2]=F[g>>2];F[b+4>>2]=h;F[b+16>>2]=F[g+16>>2];h=F[g+12>>2];F[b+8>>2]=F[g+8>>2];F[b+12>>2]=h;b=F[j+72>>2]}F[k>>2]=b+1}h=F[l>>2]+1|0;F[l>>2]=h}if(c>>>0<=h>>>0){break L}if(G[j+60|0]){continue}break}}if(f>>>0<=h>>>0){break J}b=F[j+80>>2]+L(h,20)|0;F[b+12>>2]=0;f=F[b>>2];c=b+12|0;b=F[n+80>>2];Ia[F[b+164>>2]](n,F[n+84>>2],f,c,F[b+20>>2])|0;if(G[j+61|0]){W:{if(F[j+84>>2]==F[j+80>>2]){b=F[j+72>>2];if((b|0)==F[j+64>>2]){break W}}if(!$a(j,1,1)){break J}c=F[j+80>>2]+L(F[j+64>>2],20)|0;f=F[c+4>>2];b=F[j+84>>2]+L(F[j+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=f;F[b+16>>2]=F[c+16>>2];f=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=f;b=F[j+72>>2]}F[j+72>>2]=b+1}F[l>>2]=F[l>>2]+1;break J}while(1){ym(o+16|0,!r);if(I[l>>2]>=f>>>0){break J}if(G[j+60|0]){continue}break}}f=F[i+64>>2];if(p>>>0>f>>>0){h=0;if(G[i+60|0]){continue}}break}mc(i);break D}mc(i);g=1;if(h&1){break C}}g=0;if(!mb(i,m,105046,0)){break C}g=F[i+68>>2];if(g){c=0;while(1){h=F[i+80>>2];b=H[(h+L(c,20)|0)+16>>1];X:{if(!(1<>>0<256){b=c;break X}b=c+1|0;f=b>>>0>>0?g:b;b=c;while(1){Y:{b=b+1|0;if(g>>>0<=b>>>0){b=f;break Y}l=H[(h+L(b,20)|0)+16>>1];if(!(1<>>0>255){continue}}break}if(b-c>>>0>32){break X}mi(i,c,b,773);f=F[F[s+20>>2]+44>>2];if(!f){break X}Ia[f|0](s,i,c,b)}c=b+1|0;if(g>>>0>c>>>0){continue}break}}mb(i,m,105284,0);g=0}Z:{if(!(G[i+144|0]&16)){break Z}c=F[i+68>>2];if(c>>>0<3){break Z}b=1;f=2;while(1){h=b;b=f;f=L(h,20);h=F[i+80>>2];f=f+h|0;_:{if(F[f>>2]!=847){break _}h=H[(h+L(b,20)|0)+16>>1];if(!(!(1<>>0<256)){l=h>>>8|0;h=H[f-4>>1];if(l>>>0<(1<>>8|0:0)>>>0){break _}}E[f+16>>1]=H[f+16>>1]&65471;c=F[i+68>>2]}f=b+1|0;if(f>>>0>>0){continue}break}}if(!G[i+60|0]|g|(r&-2)!=2){break B}F[i+72>>2]=0;F[i+64>>2]=0;D[i+61|0]=1;D[i+62|0]=0;F[i+84>>2]=F[i+80>>2];g=F[i+68>>2];$:{if(G[i+61|0]){aa:{if(F[i+84>>2]==F[i+80>>2]){b=F[i+72>>2];if((b|0)==F[i+64>>2]){break aa}}if(!$a(i,1,1)){b=F[i+64>>2];break $}c=F[i+80>>2]+L(F[i+64>>2],20)|0;f=F[c+4>>2];b=F[i+84>>2]+L(F[i+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=f;F[b+16>>2]=F[c+16>>2];f=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=f;b=F[i+72>>2]}F[i+72>>2]=b+1}b=F[i+64>>2]+1|0;F[i+64>>2]=b}ba:{if(b>>>0>=g>>>0){break ba}f=0;while(1){ca:{da:{c=F[i+80>>2]+L(b,20)|0;h=H[c+16>>1];if(!(1<>2];l=F[i+72>>2];k=l-1|0;if((k|0)!=(f|0)){n=h>>>8|0;h=H[(b+L(l?k:0,20)|0)+16>>1];if(n>>>0<=(1<>>8|0:0)>>>0){break da}}h=L(f,20);if(!(Ia[F[o+40>>2]](o+16|0,F[h+b>>2],F[c>>2],o+12|0)|0)){break da}F[o+8>>2]=0;b=F[m+80>>2];if(!(Ia[F[b+164>>2]](m,F[m+84>>2],F[o+12>>2],o+8|0,F[b+20>>2])|0)){break da}ea:{if(!G[i+61|0]){b=F[i+72>>2];break ea}fa:{if(F[i+84>>2]==F[i+80>>2]){b=F[i+72>>2];if((b|0)==F[i+64>>2]){break fa}}if(!$a(i,1,1)){break ba}c=F[i+80>>2]+L(F[i+64>>2],20)|0;l=F[c+4>>2];b=F[i+84>>2]+L(F[i+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=l;F[b+16>>2]=F[c+16>>2];l=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=l;b=F[i+72>>2]}b=b+1|0;F[i+72>>2]=b}F[i+64>>2]=F[i+64>>2]+1;Xc(i,f,b);F[i+72>>2]=F[i+72>>2]-1;b=h+F[i+84>>2]|0;F[b>>2]=F[o+12>>2];F[b+12>>2]=F[o+8>>2];Ed(h+F[i+84>>2]|0,i);b=F[i+64>>2];break ca}ga:{if(!G[i+61|0]){c=F[i+72>>2];break ga}ha:{if(F[i+84>>2]==F[i+80>>2]){b=F[i+72>>2];if((b|0)==F[i+64>>2]){break ha}}if(!$a(i,1,1)){break ba}c=F[i+80>>2]+L(F[i+64>>2],20)|0;h=F[c+4>>2];b=F[i+84>>2]+L(F[i+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=h;F[b+16>>2]=F[c+16>>2];h=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=h;b=F[i+72>>2]}c=b+1|0;F[i+72>>2]=c}b=F[i+64>>2]+1|0;F[i+64>>2]=b;h=c-1|0;c=H[(F[i+84>>2]+L(c?h:0,20)|0)+16>>1];f=1<>>0<256?h:f:h}if(b>>>0>>0){continue}break}}mc(i)}Ga=o+48|0;k=F[i+144>>2];ia:{if(!(k&1)|!(G[a+212|0]&4)){break ia}ja:{if((F[i+40>>2]&-3)==4){t=F[a+188>>2];h=t|F[a+192>>2];c=a+196|0;break ja}t=F[a+188>>2];h=t|F[a+196>>2];c=a+192|0}b=F[i+68>>2];if(!b){break ia}r=F[c>>2]|t;l=F[i+80>>2];c=0;while(1){x=l+L(c,20)|0;if(F[x>>2]==8260){g=c+1|0;j=c;while(1){f=j;if(f){j=f-1|0;if((H[(l+L(j,20)|0)+16>>1]&31)==13){continue}}break}n=g;ka:{if(b>>>0<=g>>>0){break ka}while(1){if((H[(l+L(n,20)|0)+16>>1]&31)!=13){break ka}n=n+1|0;if((b|0)!=(n|0)){continue}break}n=b}j=F[i+68>>2];u=j>>>0>>0?j:n;w=u-f|0;la:{if(w>>>0<2){break la}k=k|32;F[i+144>>2]=k;if(f>>>0>=u>>>0){break la}j=-1;o=f;A=u+(f^-1)|0;if(A>>>0>=3){B=w&-4;p=0;while(1){v=l+L(o,20)|0;y=F[v+8>>2];j=j>>>0>>0?j:y;y=F[v+28>>2];j=j>>>0>>0?j:y;y=F[v+48>>2];j=j>>>0>>0?j:y;v=F[v+68>>2];j=j>>>0>>0?j:v;o=o+4|0;p=p+4|0;if((B|0)!=(p|0)){continue}break}}p=0;v=w&3;if(v){while(1){B=F[(l+L(o,20)|0)+8>>2];j=j>>>0>>0?j:B;o=o+1|0;p=p+1|0;if((v|0)!=(p|0)){continue}break}}o=f;if(w&1){o=l+L(f,20)|0;if(F[o+8>>2]!=(j|0)){F[i+144>>2]=k;F[o+4>>2]=F[o+4>>2]|3}o=f+1|0}if(!A){break la}while(1){p=l+L(o,20)|0;if(F[p+8>>2]!=(j|0)){k=k|32;F[i+144>>2]=k;F[p+4>>2]=F[p+4>>2]|3}p=l+L(o+1|0,20)|0;if(F[p+8>>2]!=(j|0)){k=k|32;F[i+144>>2]=k;F[p+4>>2]=F[p+4>>2]|3}o=o+2|0;if((u|0)!=(o|0)){continue}break}}ma:{if(c>>>0<=f>>>0){break ma}o=(f^-1)+c|0;j=0;p=c-f&3;if(p){while(1){u=l+L(f,20)|0;F[u+4>>2]=F[u+4>>2]|h;f=f+1|0;j=j+1|0;if((p|0)!=(j|0)){continue}break}}if(o>>>0<=2){break ma}while(1){j=l+L(f,20)|0;F[j+4>>2]=F[j+4>>2]|h;F[j+24>>2]=F[j+24>>2]|h;F[j+44>>2]=F[j+44>>2]|h;j=j- -64|0;F[j>>2]=F[j>>2]|h;f=f+4|0;if((f|0)!=(c|0)){continue}break}}F[x+4>>2]=F[x+4>>2]|t;na:{if(g>>>0>=n>>>0){break na}f=0;j=(c^-1)+n&3;if(j){while(1){o=l+L(g,20)|0;F[o+4>>2]=r|F[o+4>>2];g=g+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if((n-c|0)-2>>>0<3){break na}while(1){c=l+L(g,20)|0;F[c+4>>2]=r|F[c+4>>2];F[c+24>>2]=r|F[c+24>>2];F[c+44>>2]=r|F[c+44>>2];c=c- -64|0;F[c>>2]=r|F[c>>2];g=g+4|0;if((n|0)!=(g|0)){continue}break}}c=n-1|0}c=c+1|0;if(b>>>0>c>>>0){continue}break}}b=F[F[a+80>>2]+36>>2];if(b){Ia[b|0](s,i,m)}if(e){c=0;while(1){b=(c<<4)+d|0;h=F[b+8>>2];if(!(!h&F[b+12>>2]==-1)){o=F[b+4>>2];oa:{pa:{f=F[a+116>>2];if((f|0)<=0){break pa}g=F[b>>2];n=F[a+120>>2];f=f-1|0;k=0;while(1){qa:{l=f+k>>>1|0;j=n+L(l,36)|0;p=F[j>>2];ra:{if(p>>>0>g>>>0){f=l-1|0;break ra}if(g>>>0<=p>>>0){break qa}k=l+1|0}if((f|0)>=(k|0)){continue}break pa}break}k=F[j+24>>2];f=F[j+20>>2];break oa}k=0;f=0}g=o<>2];o=0;sa:{if(!k){break sa}l=F[i+68>>2];if(!l){break sa}j=g&k;k=k^-1;b=F[i+80>>2];g=0;if((l|0)!=1){p=l&-2;while(1){n=b+L(g,20)|0;r=F[n+8>>2];if(!(r>>>0>>0|f>>>0<=r>>>0)){F[n+4>>2]=j|k&F[n+4>>2]}n=b+L(g|1,20)|0;r=F[n+8>>2];if(!(r>>>0>>0|f>>>0<=r>>>0)){F[n+4>>2]=j|k&F[n+4>>2]}g=g+2|0;o=o+2|0;if((p|0)!=(o|0)){continue}break}}if(!(l&1)){break sa}l=h;h=F[(b+L(g,20)|0)+8>>2];if(l>>>0>h>>>0|f>>>0<=h>>>0){break sa}b=b+L(g,20)|0;F[b+4>>2]=j|k&F[b+4>>2]}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(G[a+212|0]&128){g=F[i+68>>2];if(g){h=F[i+80>>2];k=0;while(1){f=h+L(k,20)|0;c=H[f+16>>1];if((c&31)==12){b=c>>>8|0;ta:{if(c>>>0>51199){d=b;break ta}ua:{va:{d=F[f>>2];if((d&-256)==3584){if(c>>>0<=255){e=0;wa:{switch(d-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:e=230;break ua;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break va;case 139:break wa;default:break ua}}e=220;break ua}e=222;if((d|0)==3642){break ua}}d=220;xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{e=b;switch(b-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break ta;case 119:case 129:break xa;case 104:break ya;case 0:break za;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Aa;case 8:case 11:break Ba;case 7:break Ca;case 10:break Da;default:break ua}}d=214;break ta}d=232;break ta}d=228;break ta}d=230;break ta}d=222;break ta}d=232;break ta}d=230;break ta}e=232}d=e}E[f+16>>1]=c&255|d<<8}k=k+1|0;if((g|0)!=(k|0)){continue}break}}}c=F[i+68>>2];Ea:{if(!c){break Ea}b=F[i+80>>2];g=0;f=0;if(c-1>>>0>=3){d=c&-4;h=0;while(1){e=b+L(f,20)|0;F[e>>2]=F[e+12>>2];e=b+L(f|1,20)|0;F[e>>2]=F[e+12>>2];e=b+L(f|2,20)|0;F[e>>2]=F[e+12>>2];e=b+L(f|3,20)|0;F[e>>2]=F[e+12>>2];f=f+4|0;h=h+4|0;if((d|0)!=(h|0)){continue}break}}c=c&3;if(!c){break Ea}while(1){d=b+L(f,20)|0;F[d>>2]=F[d+12>>2];f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}F[i+36>>2]=2;Fa:{b=F[m+16>>2];d=F[b+140>>2];Ga:{if(d){break Ga}while(1){c=F[b+48>>2];if(!c){d=163632;break Ga}d=mh(c);if(!d){d=163632}c=F[b+140>>2];F[b+140>>2]=c?c:d;if(!c){break Ga}if(!(!d|(d|0)==163632)){c=F[d>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break Fa}Ta(d)}d=F[b+140>>2];if(!d){continue}break}}c=F[i+68>>2];if(c){b=F[d>>2];b=b?b:163632;e=I[b+16>>2]<12?163632:F[b+12>>2];d=0;while(1){b=L(d,20);f=b+F[i+80>>2]|0;O=f,P=jc(e,F[f>>2]),E[O+12>>1]=P;D[(b+F[i+80>>2]|0)+14|0]=0;D[(b+F[i+80>>2]|0)+15|0]=0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}f=H[a+212>>1];Ha:{if(!(f&64)){break Ha}c=F[i+68>>2];if(!c){break Ha}d=F[i+80>>2];f=0;while(1){b=d+L(f,20)|0;e=H[b+16>>1];Ia:{if((e&31)==12){g=8;if(!(e&32)|G[b+12|0]&16){break Ia}}g=2}E[b+12>>1]=g;f=f+1|0;if((c|0)!=(f|0)){continue}break}f=H[a+212>>1]}Ja:{if(f&8192){e=Ga-80|0;Ga=e;c=Ga-48|0;Ga=c;d=F[m+16>>2]+156|0;b=F[d>>2];Ka:{if(b){break Ka}g=d-108|0;while(1){b=F[g>>2];if(!b){b=163632;break Ka}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;f=Db(b);D[c+40|0]=1;F[c+36>>2]=f;b=$i(c,Ab(b,1836020344));if(!b){b=163632}f=F[d>>2];F[d>>2]=f?f:b;if(!f){break Ka}if(!(!b|(b|0)==163632)){Xa(b)}b=F[d>>2];if(!b){continue}break}}Ga=c+48|0;La:{Ma:{Na:{Oa:{c=I[b+16>>2]<8?163632:F[b+12>>2];Pa:{if(G[c|0]|G[c+1|0]<<8){d=de(e,s,m,i,b);F[61902]=0;b=da(580,i|0,m|0,104992,0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break Na}if(b){Qa:{if(!G[F[d+16>>2]+60|0]){break Qa}F[d+72>>2]=0;b=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!f){break Qa}c=c+8|0;b=0;while(1){g=F[d+4>>2];g=F[(I[g+116>>2]>b>>>0?F[g+120>>2]+(b<<2)|0:163632)>>2];F[61902]=0;ga(581,c|0,d|0,g|0);g=F[61902];F[61902]=0;if((g|0)==1){break Na}if(!G[F[d+16>>2]+60|0]){break Qa}g=c;c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}F[61902]=0;da(580,i|0,m|0,105241,0)|0;b=F[61902];F[61902]=0;if((b|0)==1){break Na}}b=F[d+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)!=1){break Pa}break La}c=Ga-48|0;Ga=c;d=F[m+16>>2]+160|0;b=F[d>>2];Ra:{if(b){break Ra}g=d-112|0;while(1){b=F[g>>2];if(!b){b=163632;break Ra}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;f=Db(b);D[c+40|0]=1;F[c+36>>2]=f;b=_i(c,Ab(b,1836020340));if(!b){b=163632}f=F[d>>2];F[d>>2]=f?f:b;if(!f){break Ra}if(!(!b|(b|0)==163632)){Xa(b)}b=F[d>>2];if(!b){continue}break}}Ga=c+48|0;c=I[b+16>>2]<8?163632:F[b+12>>2];if(!(G[c|0]|G[c+1|0]<<8)){break Pa}d=de(e,s,m,i,b);F[61902]=0;b=da(580,i|0,m|0,105451,0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break Oa}if(b){Sa:{if(!G[F[d+16>>2]+60|0]){break Sa}F[d+72>>2]=0;b=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!f){break Sa}c=c+8|0;b=0;while(1){g=F[d+4>>2];g=F[(I[g+116>>2]>b>>>0?F[g+120>>2]+(b<<2)|0:163632)>>2];F[61902]=0;ga(582,c|0,d|0,g|0);g=F[61902];F[61902]=0;if((g|0)==1){break Oa}if(!G[F[d+16>>2]+60|0]){break Sa}g=c;c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}F[61902]=0;da(580,i|0,m|0,105577,0)|0;b=F[61902];F[61902]=0;if((b|0)==1){break Oa}}b=F[d+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break La}}Ga=e+80|0;break Ja}b=Z()|0;Y()|0;a=F[d+52>>2];F[61902]=0;_(579,a|0);a=F[61902];F[61902]=0;if((a|0)!=1){break Ma}break La}b=Z()|0;Y()|0;a=F[d+52>>2];F[61902]=0;_(579,a|0);a=F[61902];F[61902]=0;if((a|0)==1){break La}}$(b|0);V()}break Fa}f=0;o=0;j=Ga-16|0;Ga=j;c=F[m+16>>2];b=F[c+144>>2];Ta:{if(b){break Ta}while(1){d=F[c+48>>2];if(!d){b=163632;break Ta}b=ib(1,12);Ua:{if(!b){b=163632;break Ua}jd(b,d)}d=F[c+144>>2];F[c+144>>2]=d?d:b;if(!d){break Ta}kc(b);b=F[c+144>>2];if(!b){continue}break}}b=F[b>>2];b=b?b:163632;F[j+8>>2]=I[b+16>>2]<10?163632:F[b+12>>2];b=F[c+144>>2];Va:{if(b){break Va}while(1){d=F[c+48>>2];if(!d){b=163632;break Va}b=ib(1,12);Wa:{if(!b){b=163632;break Wa}jd(b,d)}d=F[c+144>>2];F[c+144>>2]=d?d:b;if(!d){break Va}kc(b);b=F[c+144>>2];if(!b){continue}break}}F[j+12>>2]=F[b+8>>2];if(mb(i,m,105496,0)){h=Ga-176|0;Ga=h;b=rc(h+24|0,0,m,i);F[b+104>>2]=714;c=F[a+152>>2];if(c){e=H[81816];while(1){r=c>>>0>o>>>0?F[a+156>>2]+(o<<3)|0:163632;if(I[r>>2]>f>>>0){while(1){c=f<<3;n=H[(I[a+128>>2]>f>>>0?c+F[a+132>>2]|0:163632)>>1];F[h+16>>2]=n;if(mb(i,m,124932,h+16|0)){F[b+128>>2]=n;d=163632;g=I[a+128>>2]>f>>>0?c+F[a+132>>2]|0:163632;l=F[g+4>>2];F[b+36>>2]=0;F[b+120>>2]=l;F[b+28>>2]=0;F[b+32>>2]=0;c=F[b+132>>2];F[b+12>>2]=c;k=F[b+124>>2]==1;D[b+16|0]=k;F[b+80>>2]=0;F[b+20>>2]=l;D[b+17|0]=G[b+142|0];F[b+72>>2]=0;F[b+76>>2]=0;F[b+56>>2]=c;F[b+64>>2]=-1;D[b+61|0]=1;F[b+8>>2]=b;F[b+52>>2]=b;p=k|G[b+141|0]!=0;D[b+60|0]=p;t=G[g+2|0];F[b+12>>2]=c;F[b+20>>2]=l;F[b+56>>2]=c;F[b+72>>2]=0;F[b+76>>2]=0;F[b+80>>2]=0;F[b+28>>2]=0;F[b+32>>2]=0;D[b+16|0]=k;F[b+36>>2]=0;F[b+64>>2]=-1;D[b+61|0]=1;D[b+60|0]=p;p=t>>>1&1;D[b+142|0]=p;D[b+17|0]=p;F[b+8>>2]=b;F[b+52>>2]=b;t=G[g+2|0];F[b+36>>2]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+20>>2]=l;D[b+17|0]=p;D[b+16|0]=k;F[b+12>>2]=c;F[b+72>>2]=0;F[b+76>>2]=0;F[b+64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=c;u=t&1;D[b+141|0]=u;D[b+60|0]=(k|t)&1;F[b+8>>2]=b;F[b+52>>2]=b;D[b+143|0]=G[g+2|0]>>>2&1;c=163632;g=F[j+8>>2];t=G[g+8|0]|G[g+9|0]<<8;if(t){c=g+((t<<8|t>>>8)&65535)|0}g=G[c|0]|G[c+1|0]<<8;Xa:{if(n>>>0>=((g<<8|g>>>8)&65535)>>>0){break Xa}g=(n<<1)+c|0;g=G[g+2|0]|G[g+3|0]<<8;if(!g){break Xa}d=((g<<8|g>>>8)&65535)+c|0}g=F[b+100>>2];w=F[g+68>>2];Ya:{if(!w|!l){break Ya}t=F[j+12>>2];c=G[d+2|0]|G[d+3|0]<<8;v=c<<8|c>>>8;c=v&65535;if(v&16){z=c;c=G[d+4|0]|G[d+5|0]<<8;c=(((c<<8|c>>>8)&65535)<<1)+d|0;c=G[c+6|0]|G[c+7|0]<<8;c=z|(c<<8|c>>>8)<<16}t=t+L(n,24)|0;F[b+36>>2]=0;F[b+132>>2]=c;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+20>>2]=l;D[b+17|0]=p;D[b+16|0]=k;F[b+12>>2]=c;F[b+72>>2]=0;F[b+76>>2]=0;F[b+64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=c;D[b+60|0]=k|u;F[b+8>>2]=b;F[b+52>>2]=b;Za:{c=G[d|0]|G[d+1|0]<<8;_a:{if((c|0)!=1792){if((c|0)!=2048){break _a}break Za}c=G[d+4|0]|G[d+5|0]<<8?G[d+6|0]|G[d+7|0]<<8:e;$a:{if(!(c&65535)){d=163632;c=e;break $a}d=((c<<8|(c&65280)>>>8)&65535)+d|0;c=G[d|0]|G[d+1|0]<<8}if((c&65535)!=256){break _a}if((G[d+2|0]|G[d+3|0]<<8)==2048){break Za}}F[g+72>>2]=0;F[g+64>>2]=0;D[g+61|0]=1;D[g+62|0]=0;F[g+84>>2]=F[g+80>>2];F[g+64>>2]=0;lh(b,t);mc(g);break Ya}F[g+64>>2]=w-1;Tn(b,t)}F[h>>2]=n;mb(i,m,124959,h)}f=f+1|0;if(f>>>0>2]){continue}break}}c=F[r+4>>2];if(c){Ia[c|0](s,m,i)}c=F[a+152>>2];o=o+1|0;if(c>>>0>o>>>0){continue}break}}Ga=h+176|0;mb(i,m,105742,0)}Ga=j+16|0}si(i);c=F[i+88>>2];d=F[i+80>>2];b=F[i+68>>2];ab:{if((F[i+40>>2]&-2)==4){e=F[m+80>>2];Ia[F[e+184>>2]](m,F[m+84>>2],b,d,20,c,20,F[e+40>>2]);if(!$d(m,9)|!b){break ab}k=0;while(1){e=L(k,20);pd(m,F[e+d>>2],q+8|0,q+28|0);e=c+e|0;F[e+8>>2]=F[e+8>>2]-F[q+8>>2];F[e+12>>2]=F[e+12>>2]-F[q+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}break ab}e=F[m+80>>2];Ia[F[e+188>>2]](m,F[m+84>>2],b,d,20,c+4|0,20,F[e+44>>2]);if(!b){break ab}k=0;while(1){e=L(k,20);Tf(m,F[e+d>>2],q+8|0,q+28|0);e=c+e|0;F[e+8>>2]=F[e+8>>2]-F[q+8>>2];F[e+12>>2]=F[e+12>>2]-F[q+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}}if(G[i+144|0]&4){h=0;b=Ga-16|0;Ga=b;l=F[i+68>>2];if(l){c=F[i+88>>2];k=F[i+80>>2];e=(F[i+40>>2]&-2)!=4;while(1){d=L(h,20);f=d+k|0;bb:{if((H[f+16>>1]&31)!=29|G[f+12|0]&32){break bb}g=F[i+28>>2];cb:{if(!g|(g|0)!=F[f>>2]){break cb}if(!e){F[c+d>>2]=F[m+20>>2]/4;break cb}F[(c+d|0)+4>>2]=F[m+24>>2]/-4}db:{eb:{fb:{gb:{hb:{f=H[f+16>>1];f=(f&31)==29?f>>>8|0:0;switch(f-1|0){case 20:break db;case 19:break eb;case 18:break fb;case 16:break gb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break hb;default:break bb}}if(!e){F[c+d>>2]=(F[m+20>>2]+(f>>>1|0)|0)/(f|0);break bb}F[(c+d|0)+4>>2]=0-((F[m+24>>2]+(f>>>1|0)|0)/(f|0)|0);break bb}if(!e){g=c+d|0;d=F[m+20>>2];f=d>>31;O=g,P=FC(d<<2,f<<2|d>>>30,18,0),F[O>>2]=P;break bb}g=c+d|0;d=0-F[m+24>>2]|0;f=d>>31;O=g,P=FC(d<<2,f<<2|d>>>30,18,0),F[O+4>>2]=P;break bb}F[b+12>>2]=0;f=F[m+80>>2];ib:{if(Ia[F[f+164>>2]](m,F[m+84>>2],48,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],49,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],50,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],51,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],52,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],53,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],54,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],55,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(Ia[F[f+164>>2]](m,F[m+84>>2],56,b+12|0,F[f+20>>2])|0){break ib}F[b+12>>2]=0;f=F[m+80>>2];if(!(Ia[F[f+164>>2]](m,F[m+84>>2],57,b+12|0,F[f+20>>2])|0)){break bb}}f=F[m+80>>2];g=F[b+12>>2];if(!e){O=c+d|0,P=Ia[F[f+176>>2]](m,F[m+84>>2],g,F[f+32>>2])|0,F[O>>2]=P;break bb}O=c+d|0,P=Ia[F[f+180>>2]](m,F[m+84>>2],g,F[f+36>>2])|0,F[O+4>>2]=P;break bb}F[b+12>>2]=0;f=F[m+80>>2];if(!(Ia[F[f+164>>2]](m,F[m+84>>2],46,b+12|0,F[f+20>>2])|0)){F[b+12>>2]=0;f=F[m+80>>2];if(!(Ia[F[f+164>>2]](m,F[m+84>>2],44,b+12|0,F[f+20>>2])|0)){break bb}}f=F[m+80>>2];g=F[b+12>>2];if(!e){O=c+d|0,P=Ia[F[f+176>>2]](m,F[m+84>>2],g,F[f+32>>2])|0,F[O>>2]=P;break bb}O=c+d|0,P=Ia[F[f+180>>2]](m,F[m+84>>2],g,F[f+36>>2])|0,F[O+4>>2]=P;break bb}if(!e){d=c+d|0;F[d>>2]=F[d>>2]/2;break bb}d=c+d|0;F[d+4>>2]=F[d+4>>2]/2}h=h+1|0;if((l|0)!=(h|0)){continue}break}}Ga=b+16|0}p=0;p=D[a+213|0]&1?(F[i+40>>2]&-3)==4:p;t=F[i+88>>2];u=F[i+80>>2];o=F[i+68>>2];if(!(!$d(m,9)|!o)){k=0;while(1){b=L(k,20);pd(m,F[b+u>>2],q+8|0,q+28|0);b=b+t|0;F[b+8>>2]=F[b+8>>2]+F[q+8>>2];F[b+12>>2]=F[b+12>>2]+F[q+28>>2];k=k+1|0;if((o|0)!=(k|0)){continue}break}}d=0;f=0;k=0;b=F[i+68>>2];jb:{if(!b){break jb}if(b-1>>>0>=3){c=b&-4;while(1){e=L(d,20);D[(e+F[i+88>>2]|0)+18|0]=0;E[(e+F[i+88>>2]|0)+16>>1]=0;e=L(d|1,20);D[(e+F[i+88>>2]|0)+18|0]=0;E[(e+F[i+88>>2]|0)+16>>1]=0;e=L(d|2,20);D[(e+F[i+88>>2]|0)+18|0]=0;E[(e+F[i+88>>2]|0)+16>>1]=0;e=L(d|3,20);D[(e+F[i+88>>2]|0)+18|0]=0;E[(e+F[i+88>>2]|0)+16>>1]=0;d=d+4|0;f=f+4|0;if((c|0)!=(f|0)){continue}break}}b=b&3;if(!b){break jb}while(1){c=L(d,20);D[(c+F[i+88>>2]|0)+18|0]=0;E[(c+F[i+88>>2]|0)+16>>1]=0;d=d+1|0;k=k+1|0;if((b|0)!=(k|0)){continue}break}}kb:{if(!(G[a+212|0]&32)|F[F[a+80>>2]+48>>2]!=1){break kb}c=F[i+68>>2];if(!c){break kb}d=F[i+80>>2];if(p){k=0;while(1){b=L(k,20);if(G[(b+d|0)+12|0]&8){b=b+F[i+88>>2]|0;e=F[b+4>>2];F[b+4>>2]=0;f=F[b>>2];F[b>>2]=0;F[b+8>>2]=F[b+8>>2]-f;F[b+12>>2]=F[b+12>>2]-e}k=k+1|0;if((c|0)!=(k|0)){continue}break}break kb}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){e=L(f,20);if(G[(e+d|0)+12|0]&8){e=e+F[i+88>>2]|0;F[e>>2]=0;F[e+4>>2]=0}e=L(f|1,20);if(G[(e+d|0)+12|0]&8){e=e+F[i+88>>2]|0;F[e>>2]=0;F[e+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break kb}b=L(f,20);if(!(G[(b+d|0)+12|0]&8)){break kb}b=b+F[i+88>>2]|0;F[b>>2]=0;F[b+4>>2]=0}k=0;b=H[s+152>>1];lb:{if(b&512){l=Ga-16|0;Ga=l;b=F[m+16>>2];h=F[b+148>>2];mb:{if(h){break mb}while(1){c=F[b+48>>2];if(!c){h=163632;break mb}h=ib(1,12);nb:{if(!h){h=163632;break nb}we(h,c)}c=F[b+148>>2];F[b+148>>2]=c?c:h;if(!c){break mb}kc(h);h=F[b+148>>2];if(!h){continue}break}}c=F[h>>2];c=c?c:163632;F[l+8>>2]=I[c+16>>2]<10?163632:F[c+12>>2];h=F[b+148>>2];ob:{if(h){break ob}while(1){c=F[b+48>>2];if(!c){h=163632;break ob}h=ib(1,12);pb:{if(!h){h=163632;break pb}we(h,c)}c=F[b+148>>2];F[b+148>>2]=c?c:h;if(!c){break ob}kc(h);h=F[b+148>>2];if(!h){continue}break}}F[l+12>>2]=F[h+8>>2];if(mb(i,m,105907,0)){d=0;e=Ga-176|0;Ga=e;b=rc(e+24|0,1,m,i);F[b+104>>2]=715;c=F[s+104>>2];if(c){while(1){w=c>>>0>k>>>0?F[s+108>>2]+(k<<3)|0:163632;if(I[w>>2]>d>>>0){while(1){c=d<<3;j=H[(I[s+80>>2]>d>>>0?c+F[s+84>>2]|0:163632)>>1];F[e+16>>2]=j;if(mb(i,m,124932,e+16|0)){F[b+128>>2]=j;h=163632;n=I[s+80>>2]>d>>>0?c+F[s+84>>2]|0:163632;f=F[n+4>>2];F[b+36>>2]=0;F[b+120>>2]=f;F[b+28>>2]=0;F[b+32>>2]=0;c=F[b+132>>2];F[b+12>>2]=c;g=F[b+124>>2]==1;D[b+16|0]=g;F[b+80>>2]=0;F[b+20>>2]=f;D[b+17|0]=G[b+142|0];F[b+72>>2]=0;F[b+76>>2]=0;F[b+56>>2]=c;F[b+64>>2]=-1;D[b+61|0]=1;F[b+8>>2]=b;F[b+52>>2]=b;r=g|G[b+141|0]!=0;D[b+60|0]=r;v=G[n+2|0];F[b+12>>2]=c;F[b+20>>2]=f;F[b+56>>2]=c;F[b+72>>2]=0;F[b+76>>2]=0;F[b+80>>2]=0;F[b+28>>2]=0;F[b+32>>2]=0;D[b+16|0]=g;F[b+36>>2]=0;F[b+64>>2]=-1;D[b+61|0]=1;D[b+60|0]=r;r=v>>>1&1;D[b+142|0]=r;D[b+17|0]=r;F[b+8>>2]=b;F[b+52>>2]=b;v=G[n+2|0];F[b+36>>2]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+20>>2]=f;D[b+17|0]=r;D[b+16|0]=g;F[b+12>>2]=c;F[b+72>>2]=0;F[b+76>>2]=0;F[b+64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=c;x=v&1;D[b+141|0]=x;D[b+60|0]=(g|v)&1;F[b+8>>2]=b;F[b+52>>2]=b;D[b+143|0]=G[n+2|0]>>>2&1;c=163632;n=F[l+8>>2];v=G[n+8|0]|G[n+9|0]<<8;if(v){c=n+((v<<8|v>>>8)&65535)|0}n=G[c|0]|G[c+1|0]<<8;qb:{if(j>>>0>=((n<<8|n>>>8)&65535)>>>0){break qb}n=(j<<1)+c|0;n=G[n+2|0]|G[n+3|0]<<8;if(!n){break qb}h=((n<<8|n>>>8)&65535)+c|0}n=F[b+100>>2];if(!(!F[n+68>>2]|!f)){v=F[l+12>>2]+L(j,24)|0;c=G[h+2|0]|G[h+3|0]<<8;A=c<<8|c>>>8;c=A&65535;if(A&16){z=c;c=G[h+4|0]|G[h+5|0]<<8;c=(((c<<8|c>>>8)&65535)<<1)+h|0;c=G[c+6|0]|G[c+7|0]<<8;c=z|(c<<8|c>>>8)<<16}F[b+36>>2]=0;F[b+132>>2]=c;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+20>>2]=f;D[b+17|0]=r;D[b+16|0]=g;F[b+12>>2]=c;F[b+72>>2]=0;F[b+76>>2]=0;F[b+64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=c;D[b+60|0]=g|x;F[b+8>>2]=b;F[b+52>>2]=b;F[n+64>>2]=0;lh(b,v)}F[e>>2]=j;mb(i,m,124959,e)}d=d+1|0;if(d>>>0>2]){continue}break}}c=F[w+4>>2];if(c){Ia[c|0](s,m,i)}k=k+1|0;c=F[s+104>>2];if(k>>>0>>0){continue}break}}Ga=e+176|0;mb(i,m,106050,0)}Ga=l+16|0;break lb}if(!(b&4096)){break lb}d=Ga-80|0;Ga=d;b=Ga-48|0;Ga=b;c=F[m+16>>2]+164|0;h=F[c>>2];rb:{if(h){break rb}f=c-116|0;while(1){e=F[f>>2];if(!e){h=163632;break rb}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;g=Db(e);D[b+40|0]=1;F[b+36>>2]=g;h=Zi(b,Ab(e,1801810552));if(!h){h=163632}e=F[c>>2];F[c>>2]=e?e:h;if(!e){break rb}if(!(!h|(h|0)==163632)){Xa(h)}h=F[c>>2];if(!h){continue}break}}Ga=b+48|0;c=F[h+16>>2];e=F[h+12>>2];b=de(d,s,m,i,h);F[61902]=0;f=da(580,i|0,m|0,105807,0)|0;g=F[61902];F[61902]=0;sb:{tb:{if((g|0)==1){break tb}if(f){f=F[m+16>>2];F[61902]=0;f=fa(587,f+168|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break tb}F[b+64>>2]=f;F[61902]=0;aa(588,(c>>>0<8?163632:e)|0,b|0)|0;c=F[61902];F[61902]=0;if((c|0)==1){break tb}F[61902]=0;da(580,i|0,m|0,105981,0)|0;c=F[61902];F[61902]=0;if((c|0)==1){break tb}}b=F[b+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)!=1){Ga=d+80|0;break sb}break Fa}a=Z()|0;Y()|0;b=F[b+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)!=1){$(a|0);V()}break Fa}}b=H[s+152>>1];ub:{if(b&1024){d=Ga-80|0;Ga=d;b=Ga-48|0;Ga=b;c=F[m+16>>2]+136|0;h=F[c>>2];vb:{if(h){break vb}f=c-88|0;while(1){e=F[f>>2];if(!e){h=163632;break vb}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;g=Db(e);D[b+40|0]=1;F[b+36>>2]=g;h=eo(b,Ab(e,1801810542));if(!h){h=163632}e=F[c>>2];F[c>>2]=e?e:h;if(!e){break vb}if(!(!h|(h|0)==163632)){Xa(h)}h=F[c>>2];if(!h){continue}break}}Ga=b+48|0;c=F[h+12>>2];e=F[h+16>>2];b=de(d,s,m,i,h);F[61902]=0;f=da(580,i|0,m|0,105085,0)|0;g=F[61902];F[61902]=0;wb:{if((g|0)==1){break wb}if(f){xb:{yb:{zb:{c=e>>>0<4?163632:c;e=G[c|0]|G[c+1|0]<<8;switch((e<<8|e>>>8)&65535){case 1:break yb;case 0:break zb;default:break xb}}F[61902]=0;aa(710,c|0,b|0)|0;c=F[61902];F[61902]=0;if((c|0)!=1){break xb}break wb}F[61902]=0;aa(711,c|0,b|0)|0;c=F[61902];F[61902]=0;if((c|0)==1){break wb}}F[61902]=0;da(580,i|0,m|0,105296,0)|0;c=F[61902];F[61902]=0;if((c|0)==1){break wb}}cj(b);Ga=d+80|0;break ub}a=Z()|0;Y()|0;cj(b);$(a|0);V()}if(!(b&2048)){break ub}h=0;f=Ga-48|0;Ga=f;Ab:{Bb:{if((F[i+40>>2]&-2)==4){if($d(m,11)){break Bb}break Ab}if(!$d(m,12)){break Ab}}if(!mb(i,m,105468,0)){break Ab}A=(F[i+40>>2]&-3)!=5;Cb:{if(A){break Cb}e=F[i+68>>2];if(e>>>0>=2){g=F[i+80>>2];c=e-1|0;while(1){b=g+L(c,20)|0;F[f+40>>2]=F[b+16>>2];d=F[b+12>>2];F[f+32>>2]=F[b+8>>2];F[f+36>>2]=d;d=F[b+4>>2];F[f+24>>2]=F[b>>2];F[f+28>>2]=d;d=g+L(h,20)|0;F[b+16>>2]=F[d+16>>2];l=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=l;l=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=l;F[d+16>>2]=F[f+40>>2];b=F[f+36>>2];F[d+8>>2]=F[f+32>>2];F[d+12>>2]=b;b=F[f+28>>2];F[d>>2]=F[f+24>>2];F[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}if(!G[i+62|0]){break Cb}b=F[i+68>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break Cb}e=F[i+88>>2];c=b-1|0;h=0;while(1){b=e+L(c,20)|0;F[f+40>>2]=F[b+16>>2];d=F[b+12>>2];F[f+32>>2]=F[b+8>>2];F[f+36>>2]=d;d=F[b+4>>2];F[f+24>>2]=F[b>>2];F[f+28>>2]=d;d=e+L(h,20)|0;F[b+16>>2]=F[d+16>>2];g=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=g;g=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=g;F[d+16>>2]=F[f+40>>2];b=F[f+36>>2];F[d+8>>2]=F[f+32>>2];F[d+12>>2]=b;b=F[f+28>>2];F[d>>2]=F[f+24>>2];F[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}F[f+16>>2]=m;F[f+20>>2]=F[i+40>>2];D[f+12|0]=0;F[f+8>>2]=f+16;k=F[s+144>>2];c=0;j=Ga-160|0;Ga=j;if(mb(i,m,105847,0)){if(G[i+16|0]&64){wb(i,2,0,-1,1,0)}b=rc(j+8|0,1,m,i);F[b+120>>2]=k;F[b+132>>2]=8;F[b+36>>2]=0;F[b+8>>2]=b;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+52>>2]=b;F[b+20>>2]=k;D[b+17|0]=G[b+142|0];F[b+12>>2]=8;F[b+72>>2]=0;F[b+76>>2]=0;F[b- -64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=8;d=F[b+124>>2]==1;D[b+16|0]=d;D[b+60|0]=d|G[b+141|0]!=0;e=F[i+68>>2];if(e){n=b+4|0;g=F[i+88>>2];w=F[i+80>>2];B=(F[i+40>>2]&-2)!=4;while(1){Db:{Eb:{r=L(c,20);h=r+w|0;if(!(k&F[h+4>>2])){break Eb}F[b+40>>2]=1;F[b+4>>2]=c;d=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[d+68>>2];D[b+24|0]=F[d+64>>2]==(c|0)?G[(r+F[d+80>>2]|0)+15|0]:0;if(!cc(n,j+4|0)){break Eb}v=F[h>>2];y=F[n>>2];h=L(y,20);x=F[h+w>>2];z=F[f+8>>2];d=F[z>>2];l=F[d+80>>2];Fb:{if((F[z+4>>2]&-2)==4){d=Ia[F[l+200>>2]](d,F[d+84>>2],v,x,F[l+56>>2])|0;break Fb}d=Ia[F[l+204>>2]](d,F[d+84>>2],v,x,F[l+60>>2])|0}if(d){Gb:{if(!B){if(G[f+12|0]){F[(g+h|0)+12>>2]=d;F[i+144>>2]=F[i+144>>2]|8;break Gb}l=g+r|0;z=l;x=F[l>>2];l=d>>1;F[z>>2]=x+l;h=g+h|0;d=d-l|0;F[h>>2]=d+F[h>>2];F[h+8>>2]=d+F[h+8>>2];break Gb}if(G[f+12|0]){F[(g+h|0)+8>>2]=d;F[i+144>>2]=F[i+144>>2]|8;break Gb}l=g+r|0;z=l;x=F[l+4>>2];l=d>>1;F[z+4>>2]=x+l;h=g+h|0;d=d-l|0;F[h+4>>2]=d+F[h+4>>2];F[h+12>>2]=d+F[h+12>>2]}Fc(i,c,y+1|0)}c=F[n>>2];break Db}c=c+1|0}if(e>>>0>c>>>0){continue}break}}mb(i,m,105999,0)}Ga=j+160|0;Hb:{if(A){break Hb}e=F[i+68>>2];if(e>>>0>=2){g=F[i+80>>2];c=e-1|0;h=0;while(1){b=g+L(c,20)|0;F[f+40>>2]=F[b+16>>2];d=F[b+12>>2];F[f+32>>2]=F[b+8>>2];F[f+36>>2]=d;d=F[b+4>>2];F[f+24>>2]=F[b>>2];F[f+28>>2]=d;d=g+L(h,20)|0;F[b+16>>2]=F[d+16>>2];l=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=l;l=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=l;F[d+16>>2]=F[f+40>>2];b=F[f+36>>2];F[d+8>>2]=F[f+32>>2];F[d+12>>2]=b;b=F[f+28>>2];F[d>>2]=F[f+24>>2];F[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}if(!G[i+62|0]){break Hb}b=F[i+68>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break Hb}e=F[i+88>>2];c=b-1|0;h=0;while(1){b=e+L(c,20)|0;F[f+40>>2]=F[b+16>>2];d=F[b+12>>2];F[f+32>>2]=F[b+8>>2];F[f+36>>2]=d;d=F[b+4>>2];F[f+24>>2]=F[b>>2];F[f+28>>2]=d;d=e+L(h,20)|0;F[b+16>>2]=F[d+16>>2];g=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=g;g=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=g;F[d+16>>2]=F[f+40>>2];b=F[f+36>>2];F[d+8>>2]=F[f+32>>2];F[d+12>>2]=b;b=F[f+28>>2];F[d>>2]=F[f+24>>2];F[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}mb(i,m,105661,0)}Ga=f+48|0}if(G[s+153|0]&64){Ib:{c=Ga-80|0;Ga=c;d=Yi(F[m+16>>2]+172|0);b=de(c,s,m,i,163632);F[61902]=0;aa(590,d|0,b|0)|0;d=F[61902];F[61902]=0;Jb:{if((d|0)!=1){b=F[b+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break Jb}Ga=c+80|0;break Ib}a=Z()|0;Y()|0;b=F[b+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break Jb}$(a|0);V()}break Fa}}Kb:{if(!(G[a+212|0]&32)|F[F[a+80>>2]+48>>2]!=2){break Kb}c=F[i+68>>2];if(!c){break Kb}d=F[i+80>>2];if(p){k=0;while(1){b=L(k,20);if(G[(b+d|0)+12|0]&8){b=b+F[i+88>>2]|0;e=F[b+4>>2];F[b+4>>2]=0;f=F[b>>2];F[b>>2]=0;F[b+8>>2]=F[b+8>>2]-f;F[b+12>>2]=F[b+12>>2]-e}k=k+1|0;if((c|0)!=(k|0)){continue}break}break Kb}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){e=L(f,20);if(G[(e+d|0)+12|0]&8){e=e+F[i+88>>2]|0;F[e>>2]=0;F[e+4>>2]=0}e=L(f|1,20);if(G[(e+d|0)+12|0]&8){e=e+F[i+88>>2]|0;F[e>>2]=0;F[e+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break Kb}b=L(f,20);if(!(G[(b+d|0)+12|0]&8)){break Kb}b=b+F[i+88>>2]|0;F[b>>2]=0;F[b+4>>2]=0}Lb:{if(!(G[i+144|0]&2)|G[i+16|0]&12){break Lb}b=F[i+68>>2];if(!b){break Lb}c=F[i+88>>2];d=F[i+80>>2];f=0;if((b|0)!=1){g=b&-2;j=0;while(1){e=L(f,20);h=e+d|0;if(!(!(G[h+16|0]&32)|G[h+12|0]&16)){e=c+e|0;F[e>>2]=0;F[e+4>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0}e=L(f|1,20);h=e+d|0;if(!(!(G[h+16|0]&32)|G[h+12|0]&16)){e=c+e|0;F[e>>2]=0;F[e+4>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0}f=f+2|0;j=j+2|0;if((g|0)!=(j|0)){continue}break}}if(!(b&1)){break Lb}b=d+L(f,20)|0;if(!(G[b+16|0]&32)|G[b+12|0]&16){break Lb}b=c+L(f,20)|0;F[b>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0}if(G[a+213|0]&32){h=0;b=F[i+68>>2];Mb:{if(!b){break Mb}c=F[i+88>>2];e=F[i+80>>2];d=0;if((b|0)!=1){g=b&-2;while(1){f=L(d,20);if(F[f+e>>2]==65535){f=c+f|0;F[f>>2]=0;F[f+4>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0}f=L(d|1,20);if(F[f+e>>2]==65535){f=c+f|0;F[f>>2]=0;F[f+4>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0}d=d+2|0;h=h+2|0;if((g|0)!=(h|0)){continue}break}}if(!(b&1)){break Mb}b=L(d,20);if(F[b+e>>2]!=65535){break Mb}b=b+c|0;F[b>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0}}c=Ga-16|0;Ga=c;f=oi(i,c+12|0);e=F[c+12>>2];if(!(!(G[i+144|0]&8)|!e)){b=F[i+40>>2];d=0;while(1){Un(f,e,d,b);d=d+1|0;e=F[c+12>>2];if(d>>>0>>0){continue}break}}if(!(!e|J[m+28>>2]==M(0))){d=0;while(1){b=f+L(d,20)|0;g=F[b+12>>2];if(g){K=M(M(R(M(M(J[m+32>>2]*M(g|0))+M(.5))))+M(F[b+8>>2]));Nb:{if(M(N(K))>2]=e;e=F[c+12>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}Ga=c+16|0;if(!(!$d(m,9)|!o)){k=0;while(1){b=L(k,20);pd(m,F[b+u>>2],q+8|0,q+28|0);b=b+t|0;F[b+8>>2]=F[b+8>>2]-F[q+8>>2];F[b+12>>2]=F[b+12>>2]-F[q+28>>2];k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(G[a+212|0]&128){e=0;if(mb(i,m,105133,0)){d=1;b=F[i+68>>2];if(b>>>0>1){c=F[i+80>>2];while(1){if(!(1<>1]&7168)){zm(s,m,i,e,d,p);e=d}d=d+1|0;if((b|0)!=(d|0)){continue}break}}zm(s,m,i,e,b,p);mb(i,m,105316,0)}}if((F[i+40>>2]&-3)==5){md(i)}Ob:{if(!(G[i+144|0]&2)){break Ob}c=F[i+16>>2];if(c&4){break Ob}d=F[i+80>>2];b=F[i+68>>2];e=F[i+28>>2];F[q+8>>2]=e;Pb:{if(c&8){break Pb}if(!e){F[q+8>>2]=0;c=F[m+80>>2];if(!(Ia[F[c+164>>2]](m,F[m+84>>2],32,q+8|0,F[c+20>>2])|0)){break Pb}}if(!b){break Ob}f=0;while(1){c=d+L(f,20)|0;if(!(!(G[c+16|0]&32)|G[c+12|0]&16)){F[c>>2]=F[q+8>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break Ob}Vn(i,782)}if(G[a+213|0]&32){Vn(i,586)}Qb:{if(!F[F[a+80>>2]+20>>2]){break Qb}if(!mb(i,m,105592,0)){break Qb}Ia[F[F[a+80>>2]+20>>2]](s,i,m);mb(i,m,105824,0)}Rb:{if(!(G[i+144|0]&32)){break Rb}c=F[i+68>>2];if(!c){break Rb}d=F[i+80>>2];a=c-1|0;f=0;while(1){Sb:{if((a|0)==(f|0)){f=c;break Sb}b=L(f,20);f=f+1|0;b=b+d|0;if(F[b+8>>2]==F[b+28>>2]){continue}}break}h=0;while(1){a=f;Tb:{if(f>>>0<=h>>>0){break Tb}b=a-h|0;e=b&3;j=0;f=0;k=h;l=a+(h^-1)>>>0<3;if(!l){o=b&-4;b=0;while(1){g=d+L(k,20)|0;f=F[g- -64>>2]&3|(F[g+44>>2]&3|(F[g+24>>2]&3|(F[g+4>>2]&3|f)));k=k+4|0;b=b+4|0;if((o|0)!=(b|0)){continue}break}}if(e){while(1){f=F[(d+L(k,20)|0)+4>>2]&3|f;k=k+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(!f){break Tb}k=0;if(e){while(1){b=d+L(h,20)|0;F[b+4>>2]=F[b+4>>2]|f;h=h+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(l){break Tb}while(1){b=d+L(h,20)|0;F[b+4>>2]=F[b+4>>2]|f;F[b+24>>2]=F[b+24>>2]|f;F[b+44>>2]=F[b+44>>2]|f;b=b- -64|0;F[b>>2]=F[b>>2]|f;h=h+4|0;if((a|0)!=(h|0)){continue}break}}b=a+1|0;b=b>>>0>>0?c:b;e=b-1|0;f=a;while(1){Ub:{if((e|0)==(f|0)){f=b;break Ub}g=L(f,20);f=f+1|0;g=d+g|0;if(F[g+8>>2]==F[g+28>>2]){continue}}break}h=a;if(c>>>0>h>>>0){continue}break}}F[i+40>>2]=C;F[i+148>>2]=1073741823;F[i+152>>2]=536870911;D[i+140|0]=0;Ga=q+32|0;return 1}ca(0)|0;Y()|0;Hb();V()}function AC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,A=0;n=Ga-16|0;Ga=n;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{switch(a-1|0){default:switch(a-255|0){case 36:break j;case 35:break k;case 0:break D;case 38:break h;case 37:break i;default:break g};case 10:if(G[b+16|0]){D[b+40|0]=1}a=F[b+92>>2];F:{G:{if(a){a=a-1|0;F[b+92>>2]=a;if(a>>>0>=I[b+100>>2]){break G}a=F[b+104>>2]+L(a,28)|0;break F}D[b+88|0]=1}F[61614]=F[40914];a=F[40913];F[61612]=F[40912];F[61613]=a;a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}c=F[a+4>>2];F[b+44>>2]=F[a>>2];F[b+48>>2]=c;F[b+68>>2]=F[a+24>>2];c=F[a+20>>2];F[b+60>>2]=F[a+16>>2];F[b+64>>2]=c;c=F[a+12>>2];F[b+52>>2]=F[a+8>>2];F[b+56>>2]=c;c=F[a+8>>2];e=F[a+12>>2];f=F[a>>2];g=F[a+4>>2];D[b+16|0]=G[a+16|0];F[b+8>>2]=c;F[b+12>>2]=e;F[b>>2]=f;F[b+4>>2]=g;break a;case 30:break l;case 29:break m;case 26:break n;case 25:break o;case 24:break p;case 23:break q;case 7:break r;case 6:break s;case 5:break t;case 4:break u;case 3:break v;case 21:break w;case 20:break x;case 18:case 19:break y;case 2:case 22:break z;case 0:case 17:break A;case 28:break B;case 9:break C;case 13:break E;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break g}}if(!G[b+144|0]){if(D[b+24|0]&1){H:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break H}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}F[b+148>>2]=0;D[b+72|0]=1;F[b+24>>2]=0;break a}if(G[b+16|0]){break a}f=F[b+12>>2];g=f+4|0;e=F[b+4>>2];if(g>>>0>e>>>0){break a}I:{if(e>>>0<=f>>>0){D[b+16|0]=1;a=163632;break I}a=f+F[b>>2]|0}a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=F[b+24>>2];J:{if(a>>>0>2]){F[b+24>>2]=a+1;c=F[b+36>>2]+(a<<3)|0;a=e;break J}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;c=246432;a=F[b+4>>2]}K[c>>3]=+(d|0)*152587890625e-16;if(!(a>>>0>>0|e>>>0<=f>>>0|a>>>0>>0)){F[b+12>>2]=g;break a}D[b+16|0]=1;F[b+12>>2]=a;break a}Jf(b,b+116|0,2);break a}Jf(b,b+108|0,1);break a}if(G[b+144|0]|a>>>0>18){break b}if(1<>2];a=e>>>0>1;break c}K:{if(G[b+144|0]|a>>>0>23){break K}L:{M:{c=1<>2];a=e>>>0>2;break L}e=F[b+24>>2];a=e&1;break L}e=F[b+24>>2];a=e>>>0>1}if(!(!a|!e)){N:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break N}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}F[b+148>>2]=0;a=F[b+24>>2];F[b+24>>2]=0;F[b+80>>2]=F[b+80>>2]+(a>>>1|0);break a}if(!G[b+144|0]){if(D[b+24|0]&1){O:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break O}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}P:{if(G[b+74|0]){a=F[b+84>>2];break P}D[b+74|0]=1;a=F[b+80>>2]+(F[b+24>>2]>>>1|0)|0;F[b+80>>2]=a;a=(a+F[b+76>>2]|0)+7>>>3|0;F[b+84>>2]=a}if(G[b+16|0]){break a}c=F[b+12>>2];e=c+a|0;a=F[b+4>>2];if(e>>>0>a>>>0){break a}F[b+148>>2]=0;F[b+24>>2]=0;if(a>>>0>=c>>>0){F[b+12>>2]=e;break a}D[b+16|0]=1;F[b+12>>2]=a;break a}f=F[b+24>>2];if(!G[b+144|0]){if(f>>>0>=3){Q:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break Q}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}a=F[b+140>>2];F[n+8>>2]=F[b+136>>2];F[n+12>>2]=a;a=F[b+132>>2];F[n>>2]=F[b+128>>2];F[n+4>>2]=a;if(!f){e=246432;break e}a=f-1|0;F[b+24>>2]=a;g=F[b+32>>2];R:{if(g>>>0<=a>>>0){e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break R}e=F[b+36>>2]+(a<<3)|0}if(!a){break e}a=f-2|0;F[b+24>>2]=a;if(a>>>0>=g>>>0){a=F[40909];f=F[40908];F[61608]=f;F[61609]=a;x(0,f|0);x(1,a|0);h=+z();break d}h=K[F[b+36>>2]+(a<<3)>>3];break d}f=F[b+24>>2];if(!G[b+144|0]){if(f>>>0>=2){S:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break S}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}a=F[b+140>>2];F[n+8>>2]=F[b+136>>2];F[n+12>>2]=a;a=F[b+132>>2];F[n>>2]=F[b+128>>2];F[n+4>>2]=a;T:{if(f){a=f-1|0;F[b+24>>2]=a;if(a>>>0>=I[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z();break T}h=K[F[b+36>>2]+(a<<3)>>3];break T}D[b+20|0]=1;a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z()}K[n>>3]=h+K[n>>3];Bh(c,n);a=F[n+12>>2];F[b+136>>2]=F[n+8>>2];F[b+140>>2]=a;a=F[n+4>>2];F[b+128>>2]=F[n>>2];F[b+132>>2]=a;if(!G[b+73|0]){if(!G[b+74|0]){D[b+74|0]=1;a=F[b+80>>2]+(F[b+24>>2]>>>1|0)|0;F[b+80>>2]=a;F[b+84>>2]=(a+F[b+76>>2]|0)+7>>>3}D[b+73|0]=1}F[b+24>>2]=0;F[b+148>>2]=0;break a}f=F[b+24>>2];if(!G[b+144|0]){if(f>>>0>=2){U:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break U}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}a=F[b+140>>2];F[n+8>>2]=F[b+136>>2];F[n+12>>2]=a;a=F[b+132>>2];F[n>>2]=F[b+128>>2];F[n+4>>2]=a;V:{if(f){a=f-1|0;F[b+24>>2]=a;if(a>>>0>=I[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z();break V}h=K[F[b+36>>2]+(a<<3)>>3];break V}D[b+20|0]=1;a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z()}K[n+8>>3]=h+K[n+8>>3];Bh(c,n);a=F[n+12>>2];F[b+136>>2]=F[n+8>>2];F[b+140>>2]=a;a=F[n+4>>2];F[b+128>>2]=F[n>>2];F[b+132>>2]=a;if(!G[b+73|0]){if(!G[b+74|0]){D[b+74|0]=1;a=F[b+80>>2]+(F[b+24>>2]>>>1|0)|0;F[b+80>>2]=a;F[b+84>>2]=(a+F[b+76>>2]|0)+7>>>3}D[b+73|0]=1}F[b+24>>2]=0;F[b+148>>2]=0;break a}r=F[b+24>>2];if(r>>>0>=2){g=F[40908];d=F[40909];e=2;a=0;while(1){f=F[b+140>>2];F[n+8>>2]=F[b+136>>2];F[n+12>>2]=f;f=F[b+132>>2];F[n>>2]=F[b+128>>2];F[n+4>>2]=f;if(a>>>0>=r>>>0){D[b+20|0]=1}j=F[b+32>>2];W:{if(j>>>0<=a>>>0){F[61608]=g;F[61609]=d;f=246432;break W}f=F[b+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=r>>>0){D[b+20|0]=1}X:{if(a>>>0>=j>>>0){F[61608]=g;F[61609]=d;a=246432;break X}a=F[b+36>>2]+(a<<3)|0}K[n>>3]=K[n>>3]+K[f>>3];K[n+8>>3]=K[n+8>>3]+K[a>>3];Wc(c,n);a=F[n+12>>2];F[b+136>>2]=F[n+8>>2];F[b+140>>2]=a;a=F[n+4>>2];F[b+128>>2]=F[n>>2];F[b+132>>2]=a;a=e;e=e+2|0;r=F[b+24>>2];if(e>>>0<=r>>>0){continue}break}}F[b+24>>2]=0;F[b+148>>2]=0;break a}a=0;g=Ga-16|0;Ga=g;f=b;p=F[b+24>>2];if(p>>>0>=2){a=F[40909];d=a;j=F[40908];x(0,j|0);x(1,d|0);h=+z();b=2;while(1){a=b;b=F[f+140>>2];F[g+8>>2]=F[f+136>>2];F[g+12>>2]=b;b=F[f+132>>2];F[g>>2]=F[f+128>>2];F[g+4>>2]=b;if(e>>>0>=p>>>0){D[f+20|0]=1}Y:{if(I[f+32>>2]<=e>>>0){F[61608]=j;F[61609]=d;i=h;break Y}i=K[F[f+36>>2]+(e<<3)>>3]}K[g>>3]=K[g>>3]+i;Wc(c,g);b=F[g+12>>2];F[f+136>>2]=F[g+8>>2];F[f+140>>2]=b;b=F[g+4>>2];F[f+128>>2]=F[g>>2];F[f+132>>2]=b;b=e|1;if(b>>>0>=I[f+24>>2]){D[f+20|0]=1}Z:{if(b>>>0>=I[f+32>>2]){F[61608]=j;F[61609]=d;i=h;break Z}i=K[F[f+36>>2]+(b<<3)>>3]}K[g+8>>3]=K[g+8>>3]+i;Wc(c,g);b=F[g+12>>2];F[f+136>>2]=F[g+8>>2];F[f+140>>2]=b;b=F[g+4>>2];F[f+128>>2]=F[g>>2];F[f+132>>2]=b;e=a;b=e+2|0;p=F[f+24>>2];if(b>>>0<=p>>>0){continue}break}}if(a>>>0

>>0){b=F[f+140>>2];F[g+8>>2]=F[f+136>>2];F[g+12>>2]=b;b=F[f+132>>2];F[g>>2]=F[f+128>>2];F[g+4>>2]=b;_:{if(I[f+32>>2]<=a>>>0){a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break _}h=K[F[f+36>>2]+(a<<3)>>3]}K[g>>3]=K[g>>3]+h;Wc(c,g);a=F[g+12>>2];F[f+136>>2]=F[g+8>>2];F[f+140>>2]=a;a=F[g+4>>2];F[f+128>>2]=F[g>>2];F[f+132>>2]=a}Ga=g+16|0;F[f+24>>2]=0;F[f+148>>2]=0;break a}a=0;g=Ga-16|0;Ga=g;f=b;p=F[b+24>>2];if(p>>>0>=2){a=F[40909];d=a;j=F[40908];x(0,j|0);x(1,d|0);h=+z();b=2;while(1){a=b;b=F[f+140>>2];F[g+8>>2]=F[f+136>>2];F[g+12>>2]=b;b=F[f+132>>2];F[g>>2]=F[f+128>>2];F[g+4>>2]=b;if(e>>>0>=p>>>0){D[f+20|0]=1}$:{if(I[f+32>>2]<=e>>>0){F[61608]=j;F[61609]=d;i=h;break $}i=K[F[f+36>>2]+(e<<3)>>3]}K[g+8>>3]=K[g+8>>3]+i;Wc(c,g);b=F[g+12>>2];F[f+136>>2]=F[g+8>>2];F[f+140>>2]=b;b=F[g+4>>2];F[f+128>>2]=F[g>>2];F[f+132>>2]=b;b=e|1;if(b>>>0>=I[f+24>>2]){D[f+20|0]=1}aa:{if(b>>>0>=I[f+32>>2]){F[61608]=j;F[61609]=d;i=h;break aa}i=K[F[f+36>>2]+(b<<3)>>3]}K[g>>3]=K[g>>3]+i;Wc(c,g);b=F[g+12>>2];F[f+136>>2]=F[g+8>>2];F[f+140>>2]=b;b=F[g+4>>2];F[f+128>>2]=F[g>>2];F[f+132>>2]=b;e=a;b=e+2|0;p=F[f+24>>2];if(b>>>0<=p>>>0){continue}break}}if(a>>>0

>>0){b=F[f+140>>2];F[g+8>>2]=F[f+136>>2];F[g+12>>2]=b;b=F[f+132>>2];F[g>>2]=F[f+128>>2];F[g+4>>2]=b;ba:{if(I[f+32>>2]<=a>>>0){a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break ba}h=K[F[f+36>>2]+(a<<3)>>3]}K[g+8>>3]=K[g+8>>3]+h;Wc(c,g);a=F[g+12>>2];F[f+136>>2]=F[g+8>>2];F[f+140>>2]=a;a=F[g+4>>2];F[f+128>>2]=F[g>>2];F[f+132>>2]=a}Ga=g+16|0;F[f+24>>2]=0;F[f+148>>2]=0;break a}g=Ga-48|0;Ga=g;j=F[b+24>>2];if(j>>>0>=6){d=F[40908];m=F[40909];a=6;while(1){f=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=f;f=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=f;if(e>>>0>=j>>>0){D[b+20|0]=1}l=F[b+32>>2];ca:{if(l>>>0<=e>>>0){F[61608]=d;F[61609]=m;f=246432;break ca}f=F[b+36>>2]+(e<<3)|0}k=e|1;if(k>>>0>=j>>>0){D[b+20|0]=1}da:{if(l>>>0<=k>>>0){F[61608]=d;F[61609]=m;k=246432;break da}k=F[b+36>>2]+(k<<3)|0}K[g+32>>3]=K[g+32>>3]+K[f>>3];K[g+40>>3]=K[g+40>>3]+K[k>>3];f=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=f;f=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=f;f=e+2|0;if(f>>>0>=j>>>0){D[b+20|0]=1}ea:{if(f>>>0>=l>>>0){F[61608]=d;F[61609]=m;f=246432;break ea}f=F[b+36>>2]+(f<<3)|0}k=e+3|0;if(k>>>0>=j>>>0){D[b+20|0]=1}fa:{if(l>>>0<=k>>>0){F[61608]=d;F[61609]=m;k=246432;break fa}k=F[b+36>>2]+(k<<3)|0}K[g+16>>3]=K[g+16>>3]+K[f>>3];K[g+24>>3]=K[g+24>>3]+K[k>>3];f=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=f;f=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=f;f=e+4|0;if(f>>>0>=j>>>0){D[b+20|0]=1}ga:{if(f>>>0>=l>>>0){F[61608]=d;F[61609]=m;f=246432;break ga}f=F[b+36>>2]+(f<<3)|0}e=e+5|0;if(e>>>0>=j>>>0){D[b+20|0]=1}ha:{if(e>>>0>=l>>>0){F[61608]=d;F[61609]=m;e=246432;break ha}e=F[b+36>>2]+(e<<3)|0}K[g>>3]=K[g>>3]+K[f>>3];K[g+8>>3]=K[g+8>>3]+K[e>>3];Rb(c,g+32|0,g+16|0,g);e=F[g+12>>2];F[b+136>>2]=F[g+8>>2];F[b+140>>2]=e;e=F[g+4>>2];F[b+128>>2]=F[g>>2];F[b+132>>2]=e;e=a;a=e+6|0;j=F[b+24>>2];if(a>>>0<=j>>>0){continue}break}}Ga=g+48|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}g=Ga-48|0;Ga=g;k=F[b+24>>2];if(k>>>0>=8){o=k-2|0;d=F[40908];j=F[40909];a=6;while(1){f=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=f;f=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=f;if(e>>>0>=k>>>0){D[b+20|0]=1}m=F[b+32>>2];ia:{if(m>>>0<=e>>>0){F[61608]=d;F[61609]=j;f=246432;break ia}f=F[b+36>>2]+(e<<3)|0}l=e|1;if(l>>>0>=k>>>0){D[b+20|0]=1}ja:{if(m>>>0<=l>>>0){F[61608]=d;F[61609]=j;l=246432;break ja}l=F[b+36>>2]+(l<<3)|0}K[g+32>>3]=K[g+32>>3]+K[f>>3];K[g+40>>3]=K[g+40>>3]+K[l>>3];f=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=f;f=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=f;f=e+2|0;if(f>>>0>=k>>>0){D[b+20|0]=1}ka:{if(f>>>0>=m>>>0){F[61608]=d;F[61609]=j;f=246432;break ka}f=F[b+36>>2]+(f<<3)|0}l=e+3|0;if(l>>>0>=k>>>0){D[b+20|0]=1}la:{if(m>>>0<=l>>>0){F[61608]=d;F[61609]=j;l=246432;break la}l=F[b+36>>2]+(l<<3)|0}K[g+16>>3]=K[g+16>>3]+K[f>>3];K[g+24>>3]=K[g+24>>3]+K[l>>3];f=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=f;f=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=f;f=e+4|0;if(f>>>0>=k>>>0){D[b+20|0]=1}ma:{if(f>>>0>=m>>>0){F[61608]=d;F[61609]=j;f=246432;break ma}f=F[b+36>>2]+(f<<3)|0}e=e+5|0;if(e>>>0>=k>>>0){D[b+20|0]=1}na:{if(e>>>0>=m>>>0){F[61608]=d;F[61609]=j;e=246432;break na}e=F[b+36>>2]+(e<<3)|0}K[g>>3]=K[g>>3]+K[f>>3];K[g+8>>3]=K[g+8>>3]+K[e>>3];Rb(c,g+32|0,g+16|0,g);e=F[g+12>>2];F[b+136>>2]=F[g+8>>2];F[b+140>>2]=e;e=F[g+4>>2];F[b+128>>2]=F[g>>2];F[b+132>>2]=e;k=F[b+24>>2];e=a;a=e+6|0;if(o>>>0>=a>>>0){continue}break}a=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=a;a=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=a;if(e>>>0>=k>>>0){D[b+20|0]=1}f=F[b+32>>2];oa:{if(f>>>0<=e>>>0){a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break oa}a=F[b+36>>2]+(e<<3)|0}e=e|1;if(e>>>0>=k>>>0){D[b+20|0]=1}pa:{if(e>>>0>=f>>>0){e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break pa}e=F[b+36>>2]+(e<<3)|0}K[g+32>>3]=K[g+32>>3]+K[a>>3];K[g+40>>3]=K[g+40>>3]+K[e>>3];Wc(c,g+32|0);a=F[g+44>>2];F[b+136>>2]=F[g+40>>2];F[b+140>>2]=a;a=F[g+36>>2];F[b+128>>2]=F[g+32>>2];F[b+132>>2]=a}Ga=g+48|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}g=Ga-48|0;Ga=g;k=F[b+24>>2];if(k>>>0>=8){m=k-6|0;d=F[40908];j=F[40909];a=2;while(1){f=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=f;f=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=f;if(e>>>0>=k>>>0){D[b+20|0]=1}l=F[b+32>>2];qa:{if(l>>>0<=e>>>0){F[61608]=d;F[61609]=j;f=246432;break qa}f=F[b+36>>2]+(e<<3)|0}e=e|1;if(e>>>0>=k>>>0){D[b+20|0]=1}ra:{if(e>>>0>=l>>>0){F[61608]=d;F[61609]=j;e=246432;break ra}e=F[b+36>>2]+(e<<3)|0}K[g+32>>3]=K[g+32>>3]+K[f>>3];K[g+40>>3]=K[g+40>>3]+K[e>>3];Wc(c,g+32|0);e=F[g+44>>2];F[b+136>>2]=F[g+40>>2];F[b+140>>2]=e;e=F[g+36>>2];F[b+128>>2]=F[g+32>>2];F[b+132>>2]=e;k=F[b+24>>2];e=a;a=e+2|0;if(m>>>0>=a>>>0){continue}break}f=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=f;f=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=f;if(e>>>0>=k>>>0){D[b+20|0]=1}d=F[b+32>>2];sa:{if(d>>>0<=e>>>0){f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break sa}f=F[b+36>>2]+(e<<3)|0}j=e|1;if(j>>>0>=k>>>0){D[b+20|0]=1}ta:{if(d>>>0<=j>>>0){j=F[40909];F[61608]=F[40908];F[61609]=j;j=246432;break ta}j=F[b+36>>2]+(j<<3)|0}K[g+32>>3]=K[g+32>>3]+K[f>>3];K[g+40>>3]=K[g+40>>3]+K[j>>3];f=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=f;f=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=f;if(a>>>0>=k>>>0){D[b+20|0]=1}ua:{if(a>>>0>=d>>>0){a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break ua}a=F[b+36>>2]+(a<<3)|0}f=e+3|0;if(f>>>0>=k>>>0){D[b+20|0]=1}va:{if(d>>>0<=f>>>0){f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break va}f=F[b+36>>2]+(f<<3)|0}K[g+16>>3]=K[g+16>>3]+K[a>>3];K[g+24>>3]=K[g+24>>3]+K[f>>3];a=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=a;a=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=a;a=e+4|0;if(a>>>0>=k>>>0){D[b+20|0]=1}wa:{if(a>>>0>=d>>>0){a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break wa}a=F[b+36>>2]+(a<<3)|0}e=e+5|0;if(e>>>0>=k>>>0){D[b+20|0]=1}xa:{if(d>>>0<=e>>>0){e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break xa}e=F[b+36>>2]+(e<<3)|0}K[g>>3]=K[g>>3]+K[a>>3];K[g+8>>3]=K[g+8>>3]+K[e>>3];Rb(c,g+32|0,g+16|0,g);a=F[g+12>>2];F[b+136>>2]=F[g+8>>2];F[b+140>>2]=a;a=F[g+4>>2];F[b+128>>2]=F[g>>2];F[b+132>>2]=a}Ga=g+48|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}g=Ga-48|0;Ga=g;a=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=a;a=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=a;j=F[b+24>>2];if(j&1){ya:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z();break ya}h=K[F[b+36>>2]>>3]}K[g+32>>3]=K[g+32>>3]+h;e=1}a=e|4;if(j>>>0>=a>>>0){f=F[40909];d=f;m=F[40908];x(0,m|0);x(1,d|0);h=+z();while(1){if(e>>>0>=j>>>0){D[b+20|0]=1}l=F[b+32>>2];za:{if(l>>>0<=e>>>0){F[61608]=m;F[61609]=d;i=h;break za}i=K[F[b+36>>2]+(e<<3)>>3]}K[g+40>>3]=K[g+40>>3]+i;f=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=f;f=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=f;f=e+1|0;if(f>>>0>=j>>>0){D[b+20|0]=1}Aa:{if(f>>>0>=l>>>0){F[61608]=m;F[61609]=d;f=246432;break Aa}f=F[b+36>>2]+(f<<3)|0}k=e+2|0;if(k>>>0>=j>>>0){D[b+20|0]=1}Ba:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=d;k=246432;break Ba}k=F[b+36>>2]+(k<<3)|0}K[g+16>>3]=K[g+16>>3]+K[f>>3];K[g+24>>3]=K[g+24>>3]+K[k>>3];f=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=f;f=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=f;e=e+3|0;if(e>>>0>=j>>>0){D[b+20|0]=1}Ca:{if(e>>>0>=l>>>0){F[61608]=m;F[61609]=d;i=h;break Ca}i=K[F[b+36>>2]+(e<<3)>>3]}K[g+8>>3]=K[g+8>>3]+i;Rb(c,g+32|0,g+16|0,g);e=F[g+12>>2];F[b+136>>2]=F[g+8>>2];F[b+140>>2]=e;e=F[g+4>>2];F[b+128>>2]=F[g>>2];F[b+132>>2]=e;e=F[g+12>>2];F[g+40>>2]=F[g+8>>2];F[g+44>>2]=e;e=F[g+4>>2];F[g+32>>2]=F[g>>2];F[g+36>>2]=e;e=a;a=e+4|0;j=F[b+24>>2];if(a>>>0<=j>>>0){continue}break}}Ga=g+48|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}g=Ga-48|0;Ga=g;a=F[b+140>>2];F[g+40>>2]=F[b+136>>2];F[g+44>>2]=a;a=F[b+132>>2];F[g+32>>2]=F[b+128>>2];F[g+36>>2]=a;j=F[b+24>>2];if(j&1){Da:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z();break Da}h=K[F[b+36>>2]>>3]}K[g+40>>3]=K[g+40>>3]+h;e=1}a=e|4;if(j>>>0>=a>>>0){f=F[40909];d=f;m=F[40908];x(0,m|0);x(1,d|0);h=+z();while(1){if(e>>>0>=j>>>0){D[b+20|0]=1}l=F[b+32>>2];Ea:{if(l>>>0<=e>>>0){F[61608]=m;F[61609]=d;i=h;break Ea}i=K[F[b+36>>2]+(e<<3)>>3]}K[g+32>>3]=K[g+32>>3]+i;f=F[g+44>>2];F[g+24>>2]=F[g+40>>2];F[g+28>>2]=f;f=F[g+36>>2];F[g+16>>2]=F[g+32>>2];F[g+20>>2]=f;f=e+1|0;if(f>>>0>=j>>>0){D[b+20|0]=1}Fa:{if(f>>>0>=l>>>0){F[61608]=m;F[61609]=d;f=246432;break Fa}f=F[b+36>>2]+(f<<3)|0}k=e+2|0;if(k>>>0>=j>>>0){D[b+20|0]=1}Ga:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=d;k=246432;break Ga}k=F[b+36>>2]+(k<<3)|0}K[g+16>>3]=K[g+16>>3]+K[f>>3];K[g+24>>3]=K[g+24>>3]+K[k>>3];f=F[g+28>>2];F[g+8>>2]=F[g+24>>2];F[g+12>>2]=f;f=F[g+20>>2];F[g>>2]=F[g+16>>2];F[g+4>>2]=f;f=e+3|0;if(f>>>0>=j>>>0){D[b+20|0]=1}e=a;Ha:{if(f>>>0>=l>>>0){F[61608]=m;F[61609]=d;i=h;break Ha}i=K[F[b+36>>2]+(f<<3)>>3]}K[g>>3]=K[g>>3]+i;Rb(c,g+32|0,g+16|0,g);a=F[g+12>>2];F[b+136>>2]=F[g+8>>2];F[b+140>>2]=a;a=F[g+4>>2];F[b+128>>2]=F[g>>2];F[b+132>>2]=a;a=F[g+12>>2];F[g+40>>2]=F[g+8>>2];F[g+44>>2]=a;a=F[g+4>>2];F[g+32>>2]=F[g>>2];F[g+36>>2]=a;a=e+4|0;j=F[b+24>>2];if(a>>>0<=j>>>0){continue}break}}Ga=g+48|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}g=c;c=0;d=Ga-96|0;Ga=d;F[d+88>>2]=0;F[d+92>>2]=0;F[d+80>>2]=0;F[d+84>>2]=0;F[d+72>>2]=0;F[d+76>>2]=0;F[d+64>>2]=0;F[d+68>>2]=0;F[d+56>>2]=0;F[d+60>>2]=0;F[d+48>>2]=0;F[d+52>>2]=0;f=b;j=F[b+24>>2];Ia:{if(!(j&4)){if(j>>>0<8){break Ia}a=F[40909];e=a;m=F[40908];x(0,m|0);x(1,e|0);h=+z();b=8;while(1){a=c;c=b;b=F[f+140>>2];F[d+88>>2]=F[f+136>>2];F[d+92>>2]=b;b=F[f+132>>2];F[d+80>>2]=F[f+128>>2];F[d+84>>2]=b;if(a>>>0>=j>>>0){D[f+20|0]=1}l=F[f+32>>2];Ja:{if(l>>>0<=a>>>0){F[61608]=m;F[61609]=e;i=h;break Ja}i=K[F[f+36>>2]+(a<<3)>>3]}K[d+88>>3]=K[d+88>>3]+i;b=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=b;b=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=b;b=a|1;if(b>>>0>=j>>>0){D[f+20|0]=1}Ka:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;b=246432;break Ka}b=F[f+36>>2]+(b<<3)|0}k=a|2;if(k>>>0>=j>>>0){D[f+20|0]=1}La:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=e;k=246432;break La}k=F[f+36>>2]+(k<<3)|0}K[d+64>>3]=K[d+64>>3]+K[b>>3];K[d+72>>3]=K[d+72>>3]+K[k>>3];b=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=b;b=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=b;b=a|3;if(b>>>0>=j>>>0){D[f+20|0]=1}Ma:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;i=h;break Ma}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+48>>3]=K[d+48>>3]+i;Rb(g,d+80|0,d- -64|0,d+48|0);b=F[d+60>>2];F[f+136>>2]=F[d+56>>2];F[f+140>>2]=b;b=F[d+52>>2];F[f+128>>2]=F[d+48>>2];F[f+132>>2]=b;b=F[d+60>>2];F[d+88>>2]=F[d+56>>2];F[d+92>>2]=b;b=F[d+52>>2];F[d+80>>2]=F[d+48>>2];F[d+84>>2]=b;j=F[f+24>>2];b=a|4;if(j>>>0<=b>>>0){D[f+20|0]=1}l=F[f+32>>2];Na:{if(l>>>0<=b>>>0){F[61608]=m;F[61609]=e;i=h;break Na}i=K[F[f+36>>2]+(b<<3)>>3]}b=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=b;K[d+80>>3]=K[d+80>>3]+i;b=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=b;b=a|5;if(b>>>0>=j>>>0){D[f+20|0]=1}Oa:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;b=246432;break Oa}b=F[f+36>>2]+(b<<3)|0}k=a|6;if(k>>>0>=j>>>0){D[f+20|0]=1}Pa:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=e;k=246432;break Pa}k=F[f+36>>2]+(k<<3)|0}K[d+64>>3]=K[d+64>>3]+K[b>>3];K[d+72>>3]=K[d+72>>3]+K[k>>3];b=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=b;b=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=b;b=a|7;if(b>>>0>=j>>>0){D[f+20|0]=1}Qa:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;i=h;break Qa}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+56>>3]=K[d+56>>3]+i;if(!(!(j&1)|j-a>>>0>15)){if(c>>>0>=j>>>0){D[f+20|0]=1}Ra:{if(c>>>0>=l>>>0){F[61608]=m;F[61609]=e;i=h;break Ra}i=K[F[f+36>>2]+(c<<3)>>3]}K[d+48>>3]=K[d+48>>3]+i}Rb(g,d+80|0,d- -64|0,d+48|0);a=F[d+60>>2];F[f+136>>2]=F[d+56>>2];F[f+140>>2]=a;a=F[d+52>>2];F[f+128>>2]=F[d+48>>2];F[f+132>>2]=a;b=c+8|0;j=F[f+24>>2];if(b>>>0<=j>>>0){continue}break}break Ia}a=F[f+140>>2];F[d+40>>2]=F[f+136>>2];F[d+44>>2]=a;a=F[f+132>>2];F[d+32>>2]=F[f+128>>2];F[d+36>>2]=a;Sa:{Ta:{c=F[f+32>>2];Ua:{if(!c){K[d+40>>3]=K[d+40>>3]+K[20454];a=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=a;a=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=a;e=246432;break Ua}K[d+40>>3]=K[d+40>>3]+K[F[f+36>>2]>>3];a=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=a;a=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=a;if((c|0)==1){e=246432;break Ua}e=F[f+36>>2]+8|0;if(c>>>0>2){break Ta}}a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break Sa}h=K[F[f+36>>2]+16>>3]}i=K[e>>3];K[d+24>>3]=K[d+24>>3]+h;K[d+16>>3]=i+K[d+16>>3];a=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=a;a=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=a;Va:{if(c>>>0<=3){a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break Va}h=K[F[f+36>>2]+24>>3]}K[d>>3]=K[d>>3]+h;b=12;a=4;if(j>>>0>=12){a=F[40909];m=a;l=F[40908];x(0,l|0);x(1,a|0);h=+z();e=4;while(1){a=b;Rb(g,d+32|0,d+16|0,d);b=F[d+12>>2];F[f+136>>2]=F[d+8>>2];F[f+140>>2]=b;b=F[d+4>>2];F[f+128>>2]=F[d>>2];F[f+132>>2]=b;b=F[d+12>>2];F[d+40>>2]=F[d+8>>2];F[d+44>>2]=b;b=F[d+4>>2];F[d+32>>2]=F[d>>2];F[d+36>>2]=b;c=F[f+24>>2];if(c>>>0<=e>>>0){D[f+20|0]=1}j=F[f+32>>2];Wa:{if(j>>>0<=e>>>0){F[61608]=l;F[61609]=m;i=h;break Wa}i=K[F[f+36>>2]+(e<<3)>>3]}b=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=b;K[d+32>>3]=K[d+32>>3]+i;b=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=b;b=e|1;if(b>>>0>=c>>>0){D[f+20|0]=1}Xa:{if(b>>>0>=j>>>0){F[61608]=l;F[61609]=m;b=246432;break Xa}b=F[f+36>>2]+(b<<3)|0}k=e|2;if(k>>>0>=c>>>0){D[f+20|0]=1}Ya:{if(j>>>0<=k>>>0){F[61608]=l;F[61609]=m;k=246432;break Ya}k=F[f+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[b>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];b=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=b;b=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=b;b=e|3;if(b>>>0>=c>>>0){D[f+20|0]=1}Za:{if(b>>>0>=j>>>0){F[61608]=l;F[61609]=m;i=h;break Za}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+8>>3]=K[d+8>>3]+i;Rb(g,d+32|0,d+16|0,d);b=F[d+12>>2];F[f+136>>2]=F[d+8>>2];F[f+140>>2]=b;b=F[d+4>>2];F[f+128>>2]=F[d>>2];F[f+132>>2]=b;b=F[d+12>>2];F[d+40>>2]=F[d+8>>2];F[d+44>>2]=b;b=F[d+4>>2];F[d+32>>2]=F[d>>2];F[d+36>>2]=b;j=F[f+24>>2];b=e+4|0;if(j>>>0<=b>>>0){D[f+20|0]=1}c=F[f+32>>2];_a:{if(b>>>0>=c>>>0){F[61608]=l;F[61609]=m;i=h;break _a}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+40>>3]=K[d+40>>3]+i;b=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=b;b=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=b;b=e+5|0;if(b>>>0>=j>>>0){D[f+20|0]=1}$a:{if(b>>>0>=c>>>0){F[61608]=l;F[61609]=m;b=246432;break $a}b=F[f+36>>2]+(b<<3)|0}k=e+6|0;if(k>>>0>=j>>>0){D[f+20|0]=1}ab:{if(c>>>0<=k>>>0){F[61608]=l;F[61609]=m;k=246432;break ab}k=F[f+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[b>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];b=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=b;b=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=b;b=e+7|0;if(b>>>0>=j>>>0){D[f+20|0]=1}bb:{if(b>>>0>=c>>>0){F[61608]=l;F[61609]=m;i=h;break bb}i=K[F[f+36>>2]+(b<<3)>>3]}K[d>>3]=K[d>>3]+i;e=a;b=e+8|0;if(j>>>0>=b>>>0){continue}break}}if(a>>>0>>0){cb:{if(a>>>0>=c>>>0){a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break cb}h=K[F[f+36>>2]+(a<<3)>>3]}K[d+8>>3]=K[d+8>>3]+h}Rb(g,d+32|0,d+16|0,d);a=F[d+12>>2];F[f+136>>2]=F[d+8>>2];F[f+140>>2]=a;a=F[d+4>>2];F[f+128>>2]=F[d>>2];F[f+132>>2]=a}Ga=d+96|0;F[f+24>>2]=0;F[f+148>>2]=0;break a}g=c;c=0;d=Ga-96|0;Ga=d;F[d+88>>2]=0;F[d+92>>2]=0;F[d+80>>2]=0;F[d+84>>2]=0;F[d+72>>2]=0;F[d+76>>2]=0;F[d+64>>2]=0;F[d+68>>2]=0;F[d+56>>2]=0;F[d+60>>2]=0;F[d+48>>2]=0;F[d+52>>2]=0;f=b;j=F[b+24>>2];db:{if(!(j&4)){if(j>>>0<8){break db}a=F[40909];e=a;m=F[40908];x(0,m|0);x(1,e|0);h=+z();b=8;while(1){a=c;c=b;b=F[f+140>>2];F[d+88>>2]=F[f+136>>2];F[d+92>>2]=b;b=F[f+132>>2];F[d+80>>2]=F[f+128>>2];F[d+84>>2]=b;if(a>>>0>=j>>>0){D[f+20|0]=1}l=F[f+32>>2];eb:{if(l>>>0<=a>>>0){F[61608]=m;F[61609]=e;i=h;break eb}i=K[F[f+36>>2]+(a<<3)>>3]}b=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=b;K[d+80>>3]=K[d+80>>3]+i;b=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=b;b=a|1;if(b>>>0>=j>>>0){D[f+20|0]=1}fb:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;b=246432;break fb}b=F[f+36>>2]+(b<<3)|0}k=a|2;if(k>>>0>=j>>>0){D[f+20|0]=1}gb:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=e;k=246432;break gb}k=F[f+36>>2]+(k<<3)|0}K[d+64>>3]=K[d+64>>3]+K[b>>3];K[d+72>>3]=K[d+72>>3]+K[k>>3];b=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=b;b=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=b;b=a|3;if(b>>>0>=j>>>0){D[f+20|0]=1}hb:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;i=h;break hb}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+56>>3]=K[d+56>>3]+i;Rb(g,d+80|0,d- -64|0,d+48|0);b=F[d+60>>2];F[f+136>>2]=F[d+56>>2];F[f+140>>2]=b;b=F[d+52>>2];F[f+128>>2]=F[d+48>>2];F[f+132>>2]=b;b=F[d+60>>2];F[d+88>>2]=F[d+56>>2];F[d+92>>2]=b;b=F[d+52>>2];F[d+80>>2]=F[d+48>>2];F[d+84>>2]=b;j=F[f+24>>2];b=a|4;if(j>>>0<=b>>>0){D[f+20|0]=1}l=F[f+32>>2];ib:{if(l>>>0<=b>>>0){F[61608]=m;F[61609]=e;i=h;break ib}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+88>>3]=K[d+88>>3]+i;b=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=b;b=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=b;b=a|5;if(b>>>0>=j>>>0){D[f+20|0]=1}jb:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;b=246432;break jb}b=F[f+36>>2]+(b<<3)|0}k=a|6;if(k>>>0>=j>>>0){D[f+20|0]=1}kb:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=e;k=246432;break kb}k=F[f+36>>2]+(k<<3)|0}K[d+64>>3]=K[d+64>>3]+K[b>>3];K[d+72>>3]=K[d+72>>3]+K[k>>3];b=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=b;b=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=b;b=a|7;if(b>>>0>=j>>>0){D[f+20|0]=1}lb:{if(b>>>0>=l>>>0){F[61608]=m;F[61609]=e;i=h;break lb}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+48>>3]=K[d+48>>3]+i;if(!(!(j&1)|j-a>>>0>15)){if(c>>>0>=j>>>0){D[f+20|0]=1}mb:{if(c>>>0>=l>>>0){F[61608]=m;F[61609]=e;i=h;break mb}i=K[F[f+36>>2]+(c<<3)>>3]}K[d+56>>3]=K[d+56>>3]+i}Rb(g,d+80|0,d- -64|0,d+48|0);a=F[d+60>>2];F[f+136>>2]=F[d+56>>2];F[f+140>>2]=a;a=F[d+52>>2];F[f+128>>2]=F[d+48>>2];F[f+132>>2]=a;b=c+8|0;j=F[f+24>>2];if(b>>>0<=j>>>0){continue}break}break db}a=F[f+140>>2];F[d+40>>2]=F[f+136>>2];F[d+44>>2]=a;a=F[f+132>>2];F[d+32>>2]=F[f+128>>2];F[d+36>>2]=a;nb:{ob:{c=F[f+32>>2];pb:{if(!c){K[d+32>>3]=K[d+32>>3]+K[20454];a=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=a;a=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=a;e=246432;break pb}K[d+32>>3]=K[d+32>>3]+K[F[f+36>>2]>>3];a=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=a;a=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=a;if((c|0)==1){e=246432;break pb}e=F[f+36>>2]+8|0;if(c>>>0>2){break ob}}a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break nb}h=K[F[f+36>>2]+16>>3]}i=K[e>>3];K[d+24>>3]=K[d+24>>3]+h;K[d+16>>3]=i+K[d+16>>3];a=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=a;a=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=a;qb:{if(c>>>0<=3){a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break qb}h=K[F[f+36>>2]+24>>3]}K[d+8>>3]=K[d+8>>3]+h;b=12;a=4;if(j>>>0>=12){a=F[40909];m=a;l=F[40908];x(0,l|0);x(1,a|0);h=+z();e=4;while(1){a=b;Rb(g,d+32|0,d+16|0,d);b=F[d+12>>2];F[f+136>>2]=F[d+8>>2];F[f+140>>2]=b;b=F[d+4>>2];F[f+128>>2]=F[d>>2];F[f+132>>2]=b;b=F[d+12>>2];F[d+40>>2]=F[d+8>>2];F[d+44>>2]=b;b=F[d+4>>2];F[d+32>>2]=F[d>>2];F[d+36>>2]=b;c=F[f+24>>2];if(c>>>0<=e>>>0){D[f+20|0]=1}j=F[f+32>>2];rb:{if(j>>>0<=e>>>0){F[61608]=l;F[61609]=m;i=h;break rb}i=K[F[f+36>>2]+(e<<3)>>3]}K[d+40>>3]=K[d+40>>3]+i;b=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=b;b=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=b;b=e|1;if(b>>>0>=c>>>0){D[f+20|0]=1}sb:{if(b>>>0>=j>>>0){F[61608]=l;F[61609]=m;b=246432;break sb}b=F[f+36>>2]+(b<<3)|0}k=e|2;if(k>>>0>=c>>>0){D[f+20|0]=1}tb:{if(j>>>0<=k>>>0){F[61608]=l;F[61609]=m;k=246432;break tb}k=F[f+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[b>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];b=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=b;b=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=b;b=e|3;if(b>>>0>=c>>>0){D[f+20|0]=1}ub:{if(b>>>0>=j>>>0){F[61608]=l;F[61609]=m;i=h;break ub}i=K[F[f+36>>2]+(b<<3)>>3]}K[d>>3]=K[d>>3]+i;Rb(g,d+32|0,d+16|0,d);b=F[d+12>>2];F[f+136>>2]=F[d+8>>2];F[f+140>>2]=b;b=F[d+4>>2];F[f+128>>2]=F[d>>2];F[f+132>>2]=b;b=F[d+12>>2];F[d+40>>2]=F[d+8>>2];F[d+44>>2]=b;b=F[d+4>>2];F[d+32>>2]=F[d>>2];F[d+36>>2]=b;j=F[f+24>>2];b=e+4|0;if(j>>>0<=b>>>0){D[f+20|0]=1}c=F[f+32>>2];vb:{if(b>>>0>=c>>>0){F[61608]=l;F[61609]=m;i=h;break vb}i=K[F[f+36>>2]+(b<<3)>>3]}b=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=b;K[d+32>>3]=K[d+32>>3]+i;b=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=b;b=e+5|0;if(b>>>0>=j>>>0){D[f+20|0]=1}wb:{if(b>>>0>=c>>>0){F[61608]=l;F[61609]=m;b=246432;break wb}b=F[f+36>>2]+(b<<3)|0}k=e+6|0;if(k>>>0>=j>>>0){D[f+20|0]=1}xb:{if(c>>>0<=k>>>0){F[61608]=l;F[61609]=m;k=246432;break xb}k=F[f+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[b>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];b=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=b;b=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=b;b=e+7|0;if(b>>>0>=j>>>0){D[f+20|0]=1}yb:{if(b>>>0>=c>>>0){F[61608]=l;F[61609]=m;i=h;break yb}i=K[F[f+36>>2]+(b<<3)>>3]}K[d+8>>3]=K[d+8>>3]+i;e=a;b=e+8|0;if(j>>>0>=b>>>0){continue}break}}if(a>>>0>>0){zb:{if(a>>>0>=c>>>0){a=F[40909];b=F[40908];F[61608]=b;F[61609]=a;x(0,b|0);x(1,a|0);h=+z();break zb}h=K[F[f+36>>2]+(a<<3)>>3]}K[d>>3]=K[d>>3]+h}Rb(g,d+32|0,d+16|0,d);a=F[d+12>>2];F[f+136>>2]=F[d+8>>2];F[f+140>>2]=a;a=F[d+4>>2];F[f+128>>2]=F[d>>2];F[f+132>>2]=a}Ga=d+96|0;F[f+24>>2]=0;F[f+148>>2]=0;break a}e=Ga-96|0;Ga=e;Ab:{if(F[b+24>>2]==7){a=F[b+140>>2];F[e+88>>2]=F[b+136>>2];F[e+92>>2]=a;a=F[b+132>>2];F[e+80>>2]=F[b+128>>2];F[e+84>>2]=a;Bb:{Cb:{f=F[b+32>>2];Db:{if(!f){K[e+80>>3]=K[e+80>>3]+K[20454];a=F[e+92>>2];F[e+72>>2]=F[e+88>>2];F[e+76>>2]=a;a=F[e+84>>2];F[e+64>>2]=F[e+80>>2];F[e+68>>2]=a;a=246432;break Db}K[e+80>>3]=K[e+80>>3]+K[F[b+36>>2]>>3];a=F[e+92>>2];F[e+72>>2]=F[e+88>>2];F[e+76>>2]=a;a=F[e+84>>2];F[e+64>>2]=F[e+80>>2];F[e+68>>2]=a;if((f|0)==1){a=246432;break Db}a=F[b+36>>2]+8|0;if(f>>>0>2){break Cb}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break Bb}h=K[F[b+36>>2]+16>>3]}i=K[a>>3];K[e+72>>3]=K[e+72>>3]+h;K[e+64>>3]=i+K[e+64>>3];a=F[e+76>>2];F[e+56>>2]=F[e+72>>2];F[e+60>>2]=a;a=F[e+68>>2];F[e+48>>2]=F[e+64>>2];F[e+52>>2]=a;Eb:{Fb:{Gb:{Hb:{Ib:{if(f>>>0<=3){a=F[40909];g=F[40908];F[61608]=g;F[61609]=a;h=K[e+48>>3];x(0,g|0);x(1,a|0);y=e,A=h+ +z(),K[y+48>>3]=A;a=F[e+60>>2];F[e+40>>2]=F[e+56>>2];F[e+44>>2]=a;a=F[e+52>>2];F[e+32>>2]=F[e+48>>2];F[e+36>>2]=a;break Ib}K[e+48>>3]=K[e+48>>3]+K[F[b+36>>2]+24>>3];a=F[e+60>>2];F[e+40>>2]=F[e+56>>2];F[e+44>>2]=a;a=F[e+52>>2];F[e+32>>2]=F[e+48>>2];F[e+36>>2]=a;if((f|0)!=4){break Hb}}K[e+32>>3]=K[e+32>>3]+K[20454];a=F[e+44>>2];F[e+24>>2]=F[e+40>>2];F[e+28>>2]=a;a=F[e+36>>2];F[e+16>>2]=F[e+32>>2];F[e+20>>2]=a;break Gb}K[e+32>>3]=K[e+32>>3]+K[F[b+36>>2]+32>>3];a=F[e+44>>2];F[e+24>>2]=F[e+40>>2];F[e+28>>2]=a;a=F[e+36>>2];F[e+16>>2]=F[e+32>>2];F[e+20>>2]=a;if(f>>>0>5){break Fb}}a=F[40909];g=F[40908];F[61608]=g;F[61609]=a;x(0,g|0);x(1,a|0);h=+z();break Eb}h=K[F[b+36>>2]+40>>3]}a=F[e+92>>2];g=F[e+88>>2];F[e+24>>2]=g;F[e+28>>2]=a;K[e+16>>3]=K[e+16>>3]+h;F[e+8>>2]=g;F[e+12>>2]=a;a=F[e+20>>2];F[e>>2]=F[e+16>>2];F[e+4>>2]=a;Jb:{if(f>>>0<=6){a=F[40909];f=F[40908];F[61608]=f;F[61609]=a;x(0,f|0);x(1,a|0);h=+z();break Jb}h=K[F[b+36>>2]+48>>3]}K[e>>3]=K[e>>3]+h;Rb(c,e+80|0,e- -64|0,e+48|0);a=F[e+60>>2];F[b+136>>2]=F[e+56>>2];F[b+140>>2]=a;a=F[e+52>>2];F[b+128>>2]=F[e+48>>2];F[b+132>>2]=a;Rb(c,e+32|0,e+16|0,e);a=F[e+12>>2];F[b+136>>2]=F[e+8>>2];F[b+140>>2]=a;a=F[e+4>>2];F[b+128>>2]=F[e>>2];F[b+132>>2]=a;break Ab}D[b+40|0]=1}Ga=e+96|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}e=Ga-96|0;Ga=e;Kb:{if(F[b+24>>2]==13){a=F[b+140>>2];F[e+88>>2]=F[b+136>>2];F[e+92>>2]=a;a=F[b+132>>2];F[e+80>>2]=F[b+128>>2];F[e+84>>2]=a;Lb:{Mb:{f=F[b+32>>2];Nb:{if(!f){a=246432;break Nb}a=F[b+36>>2];if((f|0)!=1){break Mb}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break Lb}h=K[F[b+36>>2]+8>>3]}i=K[a>>3];K[e+88>>3]=K[e+88>>3]+h;K[e+80>>3]=i+K[e+80>>3];a=F[e+92>>2];F[e+72>>2]=F[e+88>>2];F[e+76>>2]=a;a=F[e+84>>2];F[e+64>>2]=F[e+80>>2];F[e+68>>2]=a;Ob:{Pb:{Qb:{if(f>>>0<3){a=246432;break Qb}a=F[b+36>>2]+16|0;if((f|0)!=3){break Pb}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break Ob}h=K[F[b+36>>2]+24>>3]}i=K[a>>3];K[e+72>>3]=K[e+72>>3]+h;K[e+64>>3]=i+K[e+64>>3];a=F[e+76>>2];F[e+56>>2]=F[e+72>>2];F[e+60>>2]=a;a=F[e+68>>2];F[e+48>>2]=F[e+64>>2];F[e+52>>2]=a;Rb:{Sb:{Tb:{if(f>>>0<5){a=246432;break Tb}a=F[b+36>>2]+32|0;if((f|0)!=5){break Sb}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break Rb}h=K[F[b+36>>2]+40>>3]}i=K[a>>3];K[e+56>>3]=K[e+56>>3]+h;K[e+48>>3]=i+K[e+48>>3];a=F[e+60>>2];F[e+40>>2]=F[e+56>>2];F[e+44>>2]=a;a=F[e+52>>2];F[e+32>>2]=F[e+48>>2];F[e+36>>2]=a;Ub:{Vb:{Wb:{if(f>>>0<7){a=246432;break Wb}a=F[b+36>>2]+48|0;if((f|0)!=7){break Vb}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break Ub}h=K[F[b+36>>2]+56>>3]}i=K[a>>3];K[e+40>>3]=K[e+40>>3]+h;K[e+32>>3]=i+K[e+32>>3];a=F[e+44>>2];F[e+24>>2]=F[e+40>>2];F[e+28>>2]=a;a=F[e+36>>2];F[e+16>>2]=F[e+32>>2];F[e+20>>2]=a;Xb:{Yb:{Zb:{if(f>>>0<9){a=246432;break Zb}a=F[b+36>>2]- -64|0;if((f|0)!=9){break Yb}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break Xb}h=K[F[b+36>>2]+72>>3]}i=K[a>>3];K[e+24>>3]=K[e+24>>3]+h;K[e+16>>3]=i+K[e+16>>3];a=F[e+28>>2];F[e+8>>2]=F[e+24>>2];F[e+12>>2]=a;a=F[e+20>>2];F[e>>2]=F[e+16>>2];F[e+4>>2]=a;_b:{$b:{ac:{if(f>>>0<11){a=246432;break ac}a=F[b+36>>2]+80|0;if((f|0)!=11){break $b}}f=F[40909];g=F[40908];F[61608]=g;F[61609]=f;x(0,g|0);x(1,f|0);h=+z();break _b}h=K[F[b+36>>2]+88>>3]}i=K[a>>3];K[e+8>>3]=K[e+8>>3]+h;K[e>>3]=i+K[e>>3];Rb(c,e+80|0,e- -64|0,e+48|0);a=F[e+60>>2];F[b+136>>2]=F[e+56>>2];F[b+140>>2]=a;a=F[e+52>>2];F[b+128>>2]=F[e+48>>2];F[b+132>>2]=a;Rb(c,e+32|0,e+16|0,e);a=F[e+12>>2];F[b+136>>2]=F[e+8>>2];F[b+140>>2]=a;a=F[e+4>>2];F[b+128>>2]=F[e>>2];F[b+132>>2]=a;break Kb}D[b+40|0]=1}Ga=e+96|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}e=Ga-96|0;Ga=e;bc:{if(F[b+24>>2]==9){a=F[b+140>>2];F[e+88>>2]=F[b+136>>2];F[e+92>>2]=a;a=F[b+132>>2];F[e+80>>2]=F[b+128>>2];F[e+84>>2]=a;cc:{dc:{f=F[b+32>>2];ec:{if(!f){a=246432;break ec}a=F[b+36>>2];if((f|0)!=1){break dc}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break cc}h=K[F[b+36>>2]+8>>3]}i=K[a>>3];K[e+88>>3]=K[e+88>>3]+h;K[e+80>>3]=i+K[e+80>>3];a=F[e+92>>2];F[e+72>>2]=F[e+88>>2];F[e+76>>2]=a;a=F[e+84>>2];F[e+64>>2]=F[e+80>>2];F[e+68>>2]=a;fc:{gc:{hc:{if(f>>>0<3){a=246432;break hc}a=F[b+36>>2]+16|0;if((f|0)!=3){break gc}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break fc}h=K[F[b+36>>2]+24>>3]}i=K[a>>3];K[e+72>>3]=K[e+72>>3]+h;K[e+64>>3]=i+K[e+64>>3];a=F[e+76>>2];F[e+56>>2]=F[e+72>>2];F[e+60>>2]=a;a=F[e+68>>2];F[e+48>>2]=F[e+64>>2];F[e+52>>2]=a;ic:{jc:{kc:{lc:{mc:{if(f>>>0<=4){K[e+48>>3]=K[e+48>>3]+K[20454];a=F[e+60>>2];F[e+40>>2]=F[e+56>>2];F[e+44>>2]=a;a=F[e+52>>2];F[e+32>>2]=F[e+48>>2];F[e+36>>2]=a;break mc}K[e+48>>3]=K[e+48>>3]+K[F[b+36>>2]+32>>3];a=F[e+60>>2];F[e+40>>2]=F[e+56>>2];F[e+44>>2]=a;a=F[e+52>>2];F[e+32>>2]=F[e+48>>2];F[e+36>>2]=a;if((f|0)!=5){break lc}}a=F[40909];g=F[40908];F[61608]=g;F[61609]=a;h=K[e+32>>3];x(0,g|0);x(1,a|0);y=e,A=h+ +z(),K[y+32>>3]=A;a=F[e+44>>2];F[e+24>>2]=F[e+40>>2];F[e+28>>2]=a;a=F[e+36>>2];F[e+16>>2]=F[e+32>>2];F[e+20>>2]=a;a=246432;break kc}K[e+32>>3]=K[e+32>>3]+K[F[b+36>>2]+40>>3];a=F[e+44>>2];F[e+24>>2]=F[e+40>>2];F[e+28>>2]=a;a=F[e+36>>2];F[e+16>>2]=F[e+32>>2];F[e+20>>2]=a;if(f>>>0<7){a=246432;break kc}a=F[b+36>>2]+48|0;if((f|0)!=7){break jc}}g=F[40909];d=F[40908];F[61608]=d;F[61609]=g;x(0,d|0);x(1,g|0);h=+z();break ic}h=K[F[b+36>>2]+56>>3]}i=K[a>>3];K[e+24>>3]=K[e+24>>3]+h;K[e+16>>3]=i+K[e+16>>3];a=F[e+28>>2];F[e+8>>2]=F[e+24>>2];F[e+12>>2]=a;a=F[e+20>>2];F[e>>2]=F[e+16>>2];F[e+4>>2]=a;nc:{if(f>>>0<=8){a=F[40909];f=F[40908];F[61608]=f;F[61609]=a;x(0,f|0);x(1,a|0);h=+z();break nc}h=K[F[b+36>>2]+64>>3]}K[e>>3]=K[e>>3]+h;a=F[b+140>>2];F[e+8>>2]=F[b+136>>2];F[e+12>>2]=a;Rb(c,e+80|0,e- -64|0,e+48|0);a=F[e+60>>2];F[b+136>>2]=F[e+56>>2];F[b+140>>2]=a;a=F[e+52>>2];F[b+128>>2]=F[e+48>>2];F[b+132>>2]=a;Rb(c,e+32|0,e+16|0,e);a=F[e+12>>2];F[b+136>>2]=F[e+8>>2];F[b+140>>2]=a;a=F[e+4>>2];F[b+128>>2]=F[e>>2];F[b+132>>2]=a;break bc}D[b+40|0]=1}Ga=e+96|0;F[b+24>>2]=0;F[b+148>>2]=0;break a}d=Ga-96|0;Ga=d;oc:{pc:{qc:{f=b;rc:{sc:{if(F[b+24>>2]==11){a=F[f+36>>2];m=F[40908];l=F[40909];b=246432;e=246432;tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{o=F[f+32>>2];switch(o|0){case 0:break Ac;case 1:break Bc;default:break zc}}e=a}F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=+z()+0;h=K[e>>3]+0;g=0;break yc}i=K[a+8>>3]+0;h=K[a>>3]+0;g=1;if(o>>>0<3){break yc}if((o|0)!=3){break xc}b=a+16|0;s=1;g=1}F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=i+ +z();h=h+K[b>>3];b=246432;break wc}i=i+K[a+24>>3];h=h+K[a+16>>3];if(o>>>0<5){t=1;g=1;s=1;b=246432;break wc}if((o|0)!=5){break vc}t=1;g=1;s=1;u=1;b=a+32|0}F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=i+ +z();h=h+K[b>>3];b=246432;break uc}i=i+K[a+40>>3];h=h+K[a+32>>3];if(o>>>0<7){w=1;t=1;g=1;s=1;u=1;b=246432;break uc}if((o|0)!=7){break tc}w=1;t=1;g=1;s=1;u=1;k=1;b=a+48|0}F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);v=i+ +z();h=h+K[b>>3];e=246432;break sc}v=i+K[a+56>>3];h=h+K[a+48>>3];if(o>>>0<9){j=1;w=1;t=1;g=1;s=1;u=1;k=1;break sc}if((o|0)==9){e=a- -64|0;j=1;w=1;t=1;g=1;s=1;u=1;k=1;r=1;break sc}i=K[a+64>>3];q=K[a+72>>3];b=F[f+140>>2];F[d+88>>2]=F[f+136>>2];F[d+92>>2]=b;b=F[f+132>>2];F[d+80>>2]=F[f+128>>2];F[d+84>>2]=b;e=f+128|0;v=v+q;h=h+i;p=1;j=1;w=1;t=1;s=1;u=1;k=1;r=1;b=a;break rc}D[f+40|0]=1;break oc}F[61608]=m;F[61609]=l;q=K[e>>3];b=F[f+140>>2];F[d+88>>2]=F[f+136>>2];F[d+92>>2]=b;b=F[f+132>>2];F[d+80>>2]=F[f+128>>2];F[d+84>>2]=b;e=f+128|0;x(0,m|0);x(1,l|0);i=+z();v=v+i;h=h+q;if(!o){F[61608]=m;F[61609]=l;b=246432;if(g){break rc}break qc}b=a;if(!g){break qc}b=a}i=K[a+8>>3];break pc}F[61608]=m;F[61609]=l}q=K[b>>3];K[d+88>>3]=K[d+88>>3]+i;K[d+80>>3]=q+K[d+80>>3];b=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=b;b=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=b;Cc:{if(!s){F[61608]=m;F[61609]=l;b=246432;break Cc}b=a+16|0}Dc:{if(!t){F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=+z();break Dc}i=K[a+24>>3]}q=K[b>>3];K[d+72>>3]=K[d+72>>3]+i;K[d+64>>3]=q+K[d+64>>3];b=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=b;b=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=b;Ec:{if(!u){F[61608]=m;F[61609]=l;b=246432;break Ec}b=a+32|0}Fc:{if(!w){F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=+z();break Fc}i=K[a+40>>3]}q=K[b>>3];K[d+56>>3]=K[d+56>>3]+i;K[d+48>>3]=q+K[d+48>>3];b=F[d+60>>2];F[d+40>>2]=F[d+56>>2];F[d+44>>2]=b;b=F[d+52>>2];F[d+32>>2]=F[d+48>>2];F[d+36>>2]=b;Gc:{if(!k){F[61608]=m;F[61609]=l;b=246432;break Gc}b=a+48|0}Hc:{if(!j){F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=+z();break Hc}i=K[a+56>>3]}q=K[b>>3];K[d+40>>3]=K[d+40>>3]+i;K[d+32>>3]=q+K[d+32>>3];b=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=b;b=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=b;Ic:{if(!r){F[61608]=m;F[61609]=l;b=246432;break Ic}b=a- -64|0}Jc:{if(!p){F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);i=+z();break Jc}i=K[a+72>>3]}q=K[b>>3];K[d+24>>3]=K[d+24>>3]+i;K[d+16>>3]=q+K[d+16>>3];b=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=b;b=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=b;Kc:{if(N(h)>N(v)){Lc:{if(o>>>0<=10){F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);h=+z();break Lc}h=K[a+80>>3]}K[d>>3]=K[d>>3]+h;a=F[f+140>>2];F[d+8>>2]=F[f+136>>2];F[d+12>>2]=a;break Kc}b=F[e+4>>2];F[d>>2]=F[e>>2];F[d+4>>2]=b;Mc:{if(o>>>0<=10){F[61608]=m;F[61609]=l;x(0,m|0);x(1,l|0);h=+z();break Mc}h=K[a+80>>3]}K[d+8>>3]=K[d+8>>3]+h}Rb(c,d+80|0,d- -64|0,d+48|0);a=F[d+60>>2];F[e+8>>2]=F[d+56>>2];F[e+12>>2]=a;a=F[d+52>>2];F[e>>2]=F[d+48>>2];F[e+4>>2]=a;Rb(c,d+32|0,d+16|0,d);a=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=a;a=F[d+4>>2];F[e>>2]=F[d>>2];F[e+4>>2]=a}Ga=d+96|0;F[f+24>>2]=0;F[f+148>>2]=0;break a}Id(a,b);break a}e=F[b+24>>2];a=e&1;break c}D[b+20|0]=1;a=F[40909];f=F[40908];F[61608]=f;F[61609]=a;x(0,f|0);x(1,a|0);h=+z()}K[n>>3]=h+K[n>>3];K[n+8>>3]=K[n+8>>3]+K[e>>3];Bh(c,n);a=F[n+12>>2];F[b+136>>2]=F[n+8>>2];F[b+140>>2]=a;a=F[n+4>>2];F[b+128>>2]=F[n>>2];F[b+132>>2]=a;if(!G[b+73|0]){if(!G[b+74|0]){D[b+74|0]=1;a=F[b+80>>2]+(F[b+24>>2]>>>1|0)|0;F[b+80>>2]=a;F[b+84>>2]=(a+F[b+76>>2]|0)+7>>>3}D[b+73|0]=1}F[b+24>>2]=0;F[b+148>>2]=0;break a}if(!(!a|!e)){Nc:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break Nc}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}F[b+148>>2]=0;a=F[b+24>>2];F[b+24>>2]=0;F[b+76>>2]=F[b+76>>2]+(a>>>1|0)}Ga=n+16|0}function Eh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,A=0,B=0,C=0,E=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{switch(a-1|0){default:switch(a-255|0){case 38:break l;case 37:break m;case 36:break n;case 35:break o;case 0:break H;default:break k};case 10:if(G[b+16|0]){D[b+40|0]=1}a=F[b+92>>2];J:{K:{if(a){a=a-1|0;F[b+92>>2]=a;if(a>>>0>=I[b+100>>2]){break K}a=F[b+104>>2]+L(a,28)|0;break J}D[b+88|0]=1}F[61614]=F[40914];a=F[40913];F[61612]=F[40912];F[61613]=a;a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}c=F[a+4>>2];F[b+44>>2]=F[a>>2];F[b+48>>2]=c;F[b+68>>2]=F[a+24>>2];c=F[a+20>>2];F[b+60>>2]=F[a+16>>2];F[b+64>>2]=c;c=F[a+12>>2];F[b+52>>2]=F[a+8>>2];F[b+56>>2]=c;c=F[a+8>>2];e=F[a+12>>2];i=F[a>>2];d=F[a+4>>2];D[b+16|0]=G[a+16|0];F[b+8>>2]=c;F[b+12>>2]=e;F[b>>2]=i;F[b+4>>2]=d;return;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break k;case 30:break p;case 29:break q;case 26:break r;case 25:break s;case 24:break t;case 23:break u;case 7:break v;case 6:break w;case 5:break x;case 4:break y;case 3:break z;case 21:break A;case 20:break B;case 18:case 19:break C;case 2:case 22:break D;case 0:case 17:break E;case 28:break F;case 9:break G;case 13:break I}}if(!G[b+144|0]){if(D[b+24|0]&1){L:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break L}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}F[b+148>>2]=0;D[b+72|0]=1;F[b+24>>2]=0;return}if(G[b+16|0]){break j}e=F[b+12>>2];i=e+4|0;c=F[b+4>>2];if(i>>>0>c>>>0){break j}M:{if(c>>>0<=e>>>0){D[b+16|0]=1;a=163632;break M}a=e+F[b>>2]|0}a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=F[b+24>>2];N:{if(a>>>0>2]){F[b+24>>2]=a+1;f=F[b+36>>2]+(a<<3)|0;a=c;break N}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;f=246432;a=F[b+4>>2]}K[f>>3]=+(d|0)*152587890625e-16;if(!(a>>>0>>0|c>>>0<=e>>>0|a>>>0>>0)){F[b+12>>2]=i;return}break a}Jf(b,b+116|0,2);return}Jf(b,b+108|0,1);return}if(G[b+144|0]|a>>>0>18){break e}if(1<>2];a=c>>>0>1;break f}O:{if(G[b+144|0]|a>>>0>23){break O}P:{Q:{c=1<>2];a=c>>>0>2;break P}c=F[b+24>>2];a=c&1;break P}c=F[b+24>>2];a=c>>>0>1}if(!(!a|!c)){R:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break R}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}F[b+148>>2]=0;a=F[b+24>>2];F[b+24>>2]=0;F[b+80>>2]=F[b+80>>2]+(a>>>1|0);return}if(!G[b+144|0]){if(D[b+24|0]&1){S:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break S}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}T:{if(G[b+74|0]){a=F[b+84>>2];break T}D[b+74|0]=1;a=F[b+80>>2]+(F[b+24>>2]>>>1|0)|0;F[b+80>>2]=a;a=(a+F[b+76>>2]|0)+7>>>3|0;F[b+84>>2]=a}if(G[b+16|0]){break j}c=F[b+12>>2];e=c+a|0;a=F[b+4>>2];if(e>>>0>a>>>0){break j}F[b+148>>2]=0;F[b+24>>2]=0;if(a>>>0>=c>>>0){F[b+12>>2]=e;return}break a}d=F[b+24>>2];if(!G[b+144|0]){if(d>>>0>=3){U:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break U}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}n=K[b+136>>3];g=K[b+128>>3];if(!d){i=246432;break h}a=d-1|0;F[b+24>>2]=a;e=F[b+32>>2];V:{if(e>>>0<=a>>>0){i=F[40909];F[61608]=F[40908];F[61609]=i;i=246432;break V}i=F[b+36>>2]+(a<<3)|0}if(!a){break h}a=d-2|0;if(e>>>0<=a>>>0){e=F[40909];d=F[40908];F[61608]=d;F[61609]=e;x(0,d|0);x(1,e|0);h=+z();break g}h=K[F[b+36>>2]+(a<<3)>>3];break g}i=F[b+24>>2];if(!G[b+144|0]){if(i>>>0>=2){W:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break W}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}n=K[b+136>>3];g=K[b+128>>3];X:{if(i){a=i-1|0;if(a>>>0>=I[b+32>>2]){e=F[40909];i=F[40908];F[61608]=i;F[61609]=e;x(0,i|0);x(1,e|0);h=+z();break X}h=K[F[b+36>>2]+(a<<3)>>3];break X}D[b+20|0]=1;a=0;e=F[40909];i=F[40908];F[61608]=i;F[61609]=e;x(0,i|0);x(1,e|0);h=+z()}D[c|0]=0;K[b+136>>3]=n;break d}i=F[b+24>>2];if(!G[b+144|0]){if(i>>>0>=2){Y:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break Y}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}F[b+148>>2]=1;D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}h=K[b+136>>3];n=K[b+128>>3];Z:{if(i){a=i-1|0;if(a>>>0>=I[b+32>>2]){e=F[40909];i=F[40908];F[61608]=i;F[61609]=e;x(0,i|0);x(1,e|0);g=+z();break Z}g=K[F[b+36>>2]+(a<<3)>>3];break Z}D[b+20|0]=1;a=0;e=F[40909];i=F[40908];F[61608]=i;F[61609]=e;x(0,i|0);x(1,e|0);g=+z()}D[c|0]=0;K[b+136>>3]=h+g;K[b+128>>3]=n;break c}a=0;d=F[b+24>>2];if(d>>>0>=2){f=F[b+36>>2];l=F[b+32>>2];e=F[40909];j=e;m=F[40908];x(0,m|0);x(1,e|0);n=+z();e=2;while(1){if(a>>>0>=d>>>0){D[b+20|0]=1}_:{if(a>>>0>=l>>>0){F[61608]=m;F[61609]=j;i=246432;break _}i=f+(a<<3)|0}a=a|1;if(a>>>0>=d>>>0){D[b+20|0]=1}g=K[b+128>>3];r=K[b+136>>3];$:{if(a>>>0>=l>>>0){F[61608]=m;F[61609]=j;h=n;break $}h=K[f+(a<<3)>>3]}o=r+h;h=g+K[i>>3];aa:{if(G[c|0]){break aa}D[c|0]=1;if(K[c+8>>3]>g){K[c+8>>3]=g;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=o;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(K[c+32>>3]>3]=h}a=e;e=a+2|0;if(d>>>0>=e>>>0){continue}break}}break b}a=0;d=F[b+24>>2];if(d>>>0>=2){f=F[b+36>>2];l=F[b+32>>2];a=F[40909];j=a;m=F[40908];x(0,m|0);x(1,a|0);r=+z();i=2;while(1){a=i;if(d>>>0<=e>>>0){D[b+20|0]=1}g=K[b+128>>3];ba:{if(e>>>0>=l>>>0){F[61608]=m;F[61609]=j;h=r;break ba}h=K[f+(e<<3)>>3]}p=K[b+136>>3];h=g+h;ca:{if(G[c|0]){break ca}D[c|0]=1;if(K[c+8>>3]>g){K[c+8>>3]=g;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=p;K[b+128>>3]=h;g=h;n=K[c+8>>3];if(g>3]=h;n=h;g=K[b+128>>3]}o=K[c+24>>3];if(o>3]=g;o=g}s=K[c+16>>3];g=K[b+136>>3];if(s>g){K[c+16>>3]=g;s=g;g=K[b+136>>3]}t=K[c+32>>3];if(g>t){K[c+32>>3]=g;t=g}e=e|1;if(e>>>0>=d>>>0){D[b+20|0]=1}g=p;da:{if(e>>>0>=l>>>0){F[61608]=m;F[61609]=j;p=r;break da}p=K[f+(e<<3)>>3]}p=g+p;ea:{if(G[c|0]){break ea}D[c|0]=1;g=n;n=K[b+128>>3];if(g>n){K[c+8>>3]=n;n=K[b+128>>3]}if(n>o){K[c+24>>3]=n}n=K[b+136>>3];if(s>n){K[c+16>>3]=n;n=K[b+136>>3]}if(!(n>t)){break ea}K[c+32>>3]=n}K[b+136>>3]=p;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(K[c+32>>3]>3]=h}e=a;i=a+2|0;if(d>>>0>=i>>>0){continue}break}}fa:{if(a>>>0>=d>>>0){break fa}g=K[b+128>>3];ga:{if(I[b+32>>2]<=a>>>0){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);h=+z();break ga}h=K[F[b+36>>2]+(a<<3)>>3]}n=K[b+136>>3];h=g+h;ha:{if(G[c|0]){break ha}D[c|0]=1;if(K[c+8>>3]>g){K[c+8>>3]=g;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=n;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(!(K[c+32>>3]>3]=h}break b}a=0;d=F[b+24>>2];if(d>>>0>=2){f=F[b+36>>2];l=F[b+32>>2];a=F[40909];j=a;m=F[40908];x(0,m|0);x(1,a|0);r=+z();i=2;while(1){a=i;if(d>>>0<=e>>>0){D[b+20|0]=1}n=K[b+136>>3];ia:{if(e>>>0>=l>>>0){F[61608]=m;F[61609]=j;g=r;break ia}g=K[f+(e<<3)>>3]}h=K[b+128>>3];p=n+g;ja:{if(G[c|0]){break ja}D[c|0]=1;g=h;if(g>3]){K[c+8>>3]=h;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=p;K[b+128>>3]=h;g=h;n=K[c+8>>3];if(g>3]=h;n=h;g=K[b+128>>3]}o=K[c+24>>3];if(o>3]=g;o=g}s=K[c+16>>3];g=K[b+136>>3];if(s>g){K[c+16>>3]=g;s=g;g=K[b+136>>3]}t=K[c+32>>3];if(g>t){K[c+32>>3]=g;t=g}e=e|1;if(e>>>0>=d>>>0){D[b+20|0]=1}ka:{if(e>>>0>=l>>>0){F[61608]=m;F[61609]=j;g=r;break ka}g=K[f+(e<<3)>>3]}h=h+g;la:{if(G[c|0]){break la}D[c|0]=1;g=K[b+128>>3];if(n>g){K[c+8>>3]=g;g=K[b+128>>3]}if(g>o){K[c+24>>3]=g}g=K[b+136>>3];if(s>g){K[c+16>>3]=g;g=K[b+136>>3]}if(!(g>t)){break la}K[c+32>>3]=g}K[b+136>>3]=p;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(K[c+32>>3]>3]=h}e=a;i=a+2|0;if(d>>>0>=i>>>0){continue}break}}ma:{if(a>>>0>=d>>>0){break ma}n=K[b+136>>3];na:{if(I[b+32>>2]<=a>>>0){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);g=+z();break na}g=K[F[b+36>>2]+(a<<3)>>3]}h=K[b+128>>3];n=n+g;oa:{if(G[c|0]){break oa}D[c|0]=1;g=h;if(g>3]){K[c+8>>3]=h;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=n;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(!(K[c+32>>3]>3]=h}break b}i=c;a=0;d=Ga-48|0;Ga=d;f=F[b+24>>2];if(f>>>0>=6){l=F[40908];j=F[40909];c=6;while(1){e=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=e;e=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=e;if(a>>>0>=f>>>0){D[b+20|0]=1}m=F[b+32>>2];pa:{if(m>>>0<=a>>>0){F[61608]=l;F[61609]=j;e=246432;break pa}e=F[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=f>>>0){D[b+20|0]=1}qa:{if(k>>>0>=m>>>0){F[61608]=l;F[61609]=j;k=246432;break qa}k=F[b+36>>2]+(k<<3)|0}K[d+32>>3]=K[d+32>>3]+K[e>>3];K[d+40>>3]=K[d+40>>3]+K[k>>3];e=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=e;e=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=e;e=a+2|0;if(e>>>0>=f>>>0){D[b+20|0]=1}ra:{if(e>>>0>=m>>>0){F[61608]=l;F[61609]=j;e=246432;break ra}e=F[b+36>>2]+(e<<3)|0}k=a+3|0;if(k>>>0>=f>>>0){D[b+20|0]=1}sa:{if(k>>>0>=m>>>0){F[61608]=l;F[61609]=j;k=246432;break sa}k=F[b+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[e>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];e=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=e;e=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=e;e=a+4|0;if(e>>>0>=f>>>0){D[b+20|0]=1}ta:{if(e>>>0>=m>>>0){F[61608]=l;F[61609]=j;e=246432;break ta}e=F[b+36>>2]+(e<<3)|0}a=a+5|0;if(a>>>0>=f>>>0){D[b+20|0]=1}ua:{if(a>>>0>=m>>>0){F[61608]=l;F[61609]=j;a=246432;break ua}a=F[b+36>>2]+(a<<3)|0}K[d>>3]=K[d>>3]+K[e>>3];K[d+8>>3]=K[d+8>>3]+K[a>>3];ub(b,i,d+32|0,d+16|0,d);a=c;c=a+6|0;f=F[b+24>>2];if(c>>>0<=f>>>0){continue}break}}Ga=d+48|0;break b}a=0;d=Ga-48|0;Ga=d;f=F[b+24>>2];va:{if(f>>>0<8){break va}q=f-2|0;l=F[40908];j=F[40909];e=6;while(1){i=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=i;i=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=i;if(a>>>0>=f>>>0){D[b+20|0]=1}m=F[b+32>>2];wa:{if(m>>>0<=a>>>0){F[61608]=l;F[61609]=j;i=246432;break wa}i=F[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=f>>>0){D[b+20|0]=1}xa:{if(k>>>0>=m>>>0){F[61608]=l;F[61609]=j;k=246432;break xa}k=F[b+36>>2]+(k<<3)|0}K[d+32>>3]=K[d+32>>3]+K[i>>3];K[d+40>>3]=K[d+40>>3]+K[k>>3];i=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=i;i=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=i;i=a+2|0;if(i>>>0>=f>>>0){D[b+20|0]=1}ya:{if(i>>>0>=m>>>0){F[61608]=l;F[61609]=j;i=246432;break ya}i=F[b+36>>2]+(i<<3)|0}k=a+3|0;if(k>>>0>=f>>>0){D[b+20|0]=1}za:{if(k>>>0>=m>>>0){F[61608]=l;F[61609]=j;k=246432;break za}k=F[b+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[i>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];i=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=i;i=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=i;i=a+4|0;if(i>>>0>=f>>>0){D[b+20|0]=1}Aa:{if(i>>>0>=m>>>0){F[61608]=l;F[61609]=j;i=246432;break Aa}i=F[b+36>>2]+(i<<3)|0}a=a+5|0;if(a>>>0>=f>>>0){D[b+20|0]=1}Ba:{if(a>>>0>=m>>>0){F[61608]=l;F[61609]=j;a=246432;break Ba}a=F[b+36>>2]+(a<<3)|0}K[d>>3]=K[d>>3]+K[i>>3];K[d+8>>3]=K[d+8>>3]+K[a>>3];ub(b,c,d+32|0,d+16|0,d);f=F[b+24>>2];a=e;e=a+6|0;if(q>>>0>=e>>>0){continue}break}if(a>>>0>=f>>>0){D[b+20|0]=1}i=F[b+32>>2];Ca:{if(i>>>0<=a>>>0){e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ca}e=F[b+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=f>>>0){D[b+20|0]=1}g=K[b+128>>3];h=K[b+136>>3];Da:{if(a>>>0>=i>>>0){a=F[40909];i=F[40908];F[61608]=i;F[61609]=a;x(0,i|0);x(1,a|0);n=+z();break Da}n=K[F[b+36>>2]+(a<<3)>>3]}n=h+n;h=g+K[e>>3];Ea:{if(G[c|0]){break Ea}D[c|0]=1;if(K[c+8>>3]>g){K[c+8>>3]=g;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=n;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(!(K[c+32>>3]>3]=h}Ga=d+48|0;break b}a=0;d=Ga-48|0;Ga=d;f=F[b+24>>2];if(f>>>0>=8){q=f-6|0;l=F[b+36>>2];j=F[b+32>>2];e=F[40909];m=e;k=F[40908];x(0,k|0);x(1,e|0);n=+z();e=2;while(1){if(a>>>0>=f>>>0){D[b+20|0]=1}Fa:{if(a>>>0>=j>>>0){F[61608]=k;F[61609]=m;i=246432;break Fa}i=l+(a<<3)|0}a=a|1;if(a>>>0>=f>>>0){D[b+20|0]=1}g=K[b+128>>3];r=K[b+136>>3];Ga:{if(a>>>0>=j>>>0){F[61608]=k;F[61609]=m;h=n;break Ga}h=K[l+(a<<3)>>3]}o=r+h;h=g+K[i>>3];Ha:{if(G[c|0]){break Ha}D[c|0]=1;if(K[c+8>>3]>g){K[c+8>>3]=g;g=K[b+128>>3]}if(K[c+24>>3]>3]=g}g=K[b+136>>3];if(g>3]){K[c+16>>3]=g;g=K[b+136>>3]}if(!(K[c+32>>3]>3]=g}K[b+136>>3]=o;K[b+128>>3]=h;if(K[c+8>>3]>h){K[c+8>>3]=h;h=K[b+128>>3]}if(K[c+24>>3]>3]=h}h=K[b+136>>3];if(h>3]){K[c+16>>3]=h;h=K[b+136>>3]}if(K[c+32>>3]>3]=h}a=e;e=a+2|0;if(q>>>0>=e>>>0){continue}break}i=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=i;i=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=i;if(a>>>0>=f>>>0){D[b+20|0]=1}l=F[b+32>>2];Ia:{if(l>>>0<=a>>>0){i=F[40909];F[61608]=F[40908];F[61609]=i;i=246432;break Ia}i=F[b+36>>2]+(a<<3)|0}j=a|1;if(j>>>0>=f>>>0){D[b+20|0]=1}Ja:{if(j>>>0>=l>>>0){j=F[40909];F[61608]=F[40908];F[61609]=j;j=246432;break Ja}j=F[b+36>>2]+(j<<3)|0}K[d+32>>3]=K[d+32>>3]+K[i>>3];K[d+40>>3]=K[d+40>>3]+K[j>>3];i=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=i;i=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=i;if(e>>>0>=f>>>0){D[b+20|0]=1}Ka:{if(e>>>0>=l>>>0){e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ka}e=F[b+36>>2]+(e<<3)|0}i=a+3|0;if(i>>>0>=f>>>0){D[b+20|0]=1}La:{if(i>>>0>=l>>>0){i=F[40909];F[61608]=F[40908];F[61609]=i;i=246432;break La}i=F[b+36>>2]+(i<<3)|0}K[d+16>>3]=K[d+16>>3]+K[e>>3];K[d+24>>3]=K[d+24>>3]+K[i>>3];e=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=e;e=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=e;e=a+4|0;if(e>>>0>=f>>>0){D[b+20|0]=1}Ma:{if(e>>>0>=l>>>0){e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break Ma}e=F[b+36>>2]+(e<<3)|0}a=a+5|0;if(a>>>0>=f>>>0){D[b+20|0]=1}Na:{if(a>>>0>=l>>>0){a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break Na}a=F[b+36>>2]+(a<<3)|0}K[d>>3]=K[d>>3]+K[e>>3];K[d+8>>3]=K[d+8>>3]+K[a>>3];ub(b,c,d+32|0,d+16|0,d)}Ga=d+48|0;break b}i=c;a=0;d=Ga-48|0;Ga=d;c=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=c;c=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=c;f=F[b+24>>2];if(f&1){Oa:{if(!F[b+32>>2]){a=F[40909];c=F[40908];F[61608]=c;F[61609]=a;x(0,c|0);x(1,a|0);g=+z();break Oa}g=K[F[b+36>>2]>>3]}K[d+32>>3]=K[d+32>>3]+g;a=1}c=a|4;if(f>>>0>=c>>>0){e=F[40909];l=e;j=F[40908];x(0,j|0);x(1,e|0);g=+z();while(1){if(a>>>0>=f>>>0){D[b+20|0]=1}m=F[b+32>>2];Pa:{if(m>>>0<=a>>>0){F[61608]=j;F[61609]=l;h=g;break Pa}h=K[F[b+36>>2]+(a<<3)>>3]}K[d+40>>3]=K[d+40>>3]+h;e=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=e;e=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=e;e=a+1|0;if(e>>>0>=f>>>0){D[b+20|0]=1}Qa:{if(e>>>0>=m>>>0){F[61608]=j;F[61609]=l;e=246432;break Qa}e=F[b+36>>2]+(e<<3)|0}k=a+2|0;if(k>>>0>=f>>>0){D[b+20|0]=1}Ra:{if(k>>>0>=m>>>0){F[61608]=j;F[61609]=l;k=246432;break Ra}k=F[b+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[e>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];e=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=e;e=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=e;e=a+3|0;if(e>>>0>=f>>>0){D[b+20|0]=1}a=c;Sa:{if(e>>>0>=m>>>0){F[61608]=j;F[61609]=l;h=g;break Sa}h=K[F[b+36>>2]+(e<<3)>>3]}K[d+8>>3]=K[d+8>>3]+h;ub(b,i,d+32|0,d+16|0,d);c=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=c;c=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=c;c=a+4|0;f=F[b+24>>2];if(c>>>0<=f>>>0){continue}break}}Ga=d+48|0;break b}i=c;a=0;d=Ga-48|0;Ga=d;c=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=c;c=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=c;f=F[b+24>>2];if(f&1){Ta:{if(!F[b+32>>2]){a=F[40909];c=F[40908];F[61608]=c;F[61609]=a;x(0,c|0);x(1,a|0);g=+z();break Ta}g=K[F[b+36>>2]>>3]}K[d+40>>3]=K[d+40>>3]+g;a=1}c=a|4;if(f>>>0>=c>>>0){e=F[40909];l=e;j=F[40908];x(0,j|0);x(1,e|0);g=+z();while(1){if(a>>>0>=f>>>0){D[b+20|0]=1}m=F[b+32>>2];Ua:{if(m>>>0<=a>>>0){F[61608]=j;F[61609]=l;h=g;break Ua}h=K[F[b+36>>2]+(a<<3)>>3]}K[d+32>>3]=K[d+32>>3]+h;e=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=e;e=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=e;e=a+1|0;if(e>>>0>=f>>>0){D[b+20|0]=1}Va:{if(e>>>0>=m>>>0){F[61608]=j;F[61609]=l;e=246432;break Va}e=F[b+36>>2]+(e<<3)|0}k=a+2|0;if(k>>>0>=f>>>0){D[b+20|0]=1}Wa:{if(k>>>0>=m>>>0){F[61608]=j;F[61609]=l;k=246432;break Wa}k=F[b+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[e>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];e=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=e;e=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=e;e=a+3|0;if(e>>>0>=f>>>0){D[b+20|0]=1}a=c;Xa:{if(e>>>0>=m>>>0){F[61608]=j;F[61609]=l;h=g;break Xa}h=K[F[b+36>>2]+(e<<3)>>3]}K[d>>3]=K[d>>3]+h;ub(b,i,d+32|0,d+16|0,d);c=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=c;c=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=c;c=a+4|0;f=F[b+24>>2];if(c>>>0<=f>>>0){continue}break}}Ga=d+48|0;break b}d=c;a=0;f=Ga-96|0;Ga=f;F[f+88>>2]=0;F[f+92>>2]=0;F[f+80>>2]=0;F[f+84>>2]=0;F[f+72>>2]=0;F[f+76>>2]=0;F[f+64>>2]=0;F[f+68>>2]=0;F[f+56>>2]=0;F[f+60>>2]=0;F[f+48>>2]=0;F[f+52>>2]=0;l=F[b+24>>2];Ya:{if(!(l&4)){if(l>>>0<8){break Ya}c=F[40909];i=c;j=F[40908];x(0,j|0);x(1,c|0);g=+z();c=8;while(1){e=a;a=c;c=F[b+140>>2];F[f+88>>2]=F[b+136>>2];F[f+92>>2]=c;c=F[b+132>>2];F[f+80>>2]=F[b+128>>2];F[f+84>>2]=c;if(e>>>0>=l>>>0){D[b+20|0]=1}m=F[b+32>>2];Za:{if(m>>>0<=e>>>0){F[61608]=j;F[61609]=i;h=g;break Za}h=K[F[b+36>>2]+(e<<3)>>3]}K[f+88>>3]=K[f+88>>3]+h;c=F[f+92>>2];F[f+72>>2]=F[f+88>>2];F[f+76>>2]=c;c=F[f+84>>2];F[f+64>>2]=F[f+80>>2];F[f+68>>2]=c;c=e|1;if(c>>>0>=l>>>0){D[b+20|0]=1}_a:{if(c>>>0>=m>>>0){F[61608]=j;F[61609]=i;c=246432;break _a}c=F[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=l>>>0){D[b+20|0]=1}$a:{if(k>>>0>=m>>>0){F[61608]=j;F[61609]=i;k=246432;break $a}k=F[b+36>>2]+(k<<3)|0}K[f+64>>3]=K[f+64>>3]+K[c>>3];K[f+72>>3]=K[f+72>>3]+K[k>>3];c=F[f+76>>2];F[f+56>>2]=F[f+72>>2];F[f+60>>2]=c;c=F[f+68>>2];F[f+48>>2]=F[f+64>>2];F[f+52>>2]=c;c=e|3;if(c>>>0>=l>>>0){D[b+20|0]=1}ab:{if(c>>>0>=m>>>0){F[61608]=j;F[61609]=i;h=g;break ab}h=K[F[b+36>>2]+(c<<3)>>3]}K[f+48>>3]=K[f+48>>3]+h;ub(b,d,f+80|0,f- -64|0,f+48|0);c=F[f+60>>2];F[f+88>>2]=F[f+56>>2];F[f+92>>2]=c;c=F[f+52>>2];F[f+80>>2]=F[f+48>>2];F[f+84>>2]=c;l=F[b+24>>2];c=e|4;if(l>>>0<=c>>>0){D[b+20|0]=1}m=F[b+32>>2];bb:{if(m>>>0<=c>>>0){F[61608]=j;F[61609]=i;h=g;break bb}h=K[F[b+36>>2]+(c<<3)>>3]}c=F[f+92>>2];F[f+72>>2]=F[f+88>>2];F[f+76>>2]=c;K[f+80>>3]=K[f+80>>3]+h;c=F[f+84>>2];F[f+64>>2]=F[f+80>>2];F[f+68>>2]=c;c=e|5;if(c>>>0>=l>>>0){D[b+20|0]=1}cb:{if(c>>>0>=m>>>0){F[61608]=j;F[61609]=i;c=246432;break cb}c=F[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=l>>>0){D[b+20|0]=1}db:{if(k>>>0>=m>>>0){F[61608]=j;F[61609]=i;k=246432;break db}k=F[b+36>>2]+(k<<3)|0}K[f+64>>3]=K[f+64>>3]+K[c>>3];K[f+72>>3]=K[f+72>>3]+K[k>>3];c=F[f+76>>2];F[f+56>>2]=F[f+72>>2];F[f+60>>2]=c;c=F[f+68>>2];F[f+48>>2]=F[f+64>>2];F[f+52>>2]=c;c=e|7;if(c>>>0>=l>>>0){D[b+20|0]=1}eb:{if(c>>>0>=m>>>0){F[61608]=j;F[61609]=i;h=g;break eb}h=K[F[b+36>>2]+(c<<3)>>3]}K[f+56>>3]=K[f+56>>3]+h;if(!(!(l&1)|l-e>>>0>15)){if(a>>>0>=l>>>0){D[b+20|0]=1}fb:{if(a>>>0>=m>>>0){F[61608]=j;F[61609]=i;h=g;break fb}h=K[F[b+36>>2]+(a<<3)>>3]}K[f+48>>3]=K[f+48>>3]+h}ub(b,d,f+80|0,f- -64|0,f+48|0);c=a+8|0;l=F[b+24>>2];if(c>>>0<=l>>>0){continue}break}break Ya}a=F[b+140>>2];F[f+40>>2]=F[b+136>>2];F[f+44>>2]=a;a=F[b+132>>2];F[f+32>>2]=F[b+128>>2];F[f+36>>2]=a;gb:{hb:{a=F[b+32>>2];ib:{if(!a){K[f+40>>3]=K[f+40>>3]+K[20454];c=F[f+44>>2];F[f+24>>2]=F[f+40>>2];F[f+28>>2]=c;c=F[f+36>>2];F[f+16>>2]=F[f+32>>2];F[f+20>>2]=c;i=246432;break ib}K[f+40>>3]=K[f+40>>3]+K[F[b+36>>2]>>3];c=F[f+44>>2];F[f+24>>2]=F[f+40>>2];F[f+28>>2]=c;c=F[f+36>>2];F[f+16>>2]=F[f+32>>2];F[f+20>>2]=c;if((a|0)==1){i=246432;break ib}i=F[b+36>>2]+8|0;if(a>>>0>2){break hb}}c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;x(0,e|0);x(1,c|0);g=+z();break gb}g=K[F[b+36>>2]+16>>3]}h=K[i>>3];K[f+24>>3]=K[f+24>>3]+g;K[f+16>>3]=h+K[f+16>>3];c=F[f+28>>2];F[f+8>>2]=F[f+24>>2];F[f+12>>2]=c;c=F[f+20>>2];F[f>>2]=F[f+16>>2];F[f+4>>2]=c;jb:{if(a>>>0<=3){c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;x(0,e|0);x(1,c|0);g=+z();break jb}g=K[F[b+36>>2]+24>>3]}K[f>>3]=K[f>>3]+g;c=12;e=4;if(l>>>0>=12){a=F[40909];j=a;m=F[40908];x(0,m|0);x(1,a|0);g=+z();i=4;while(1){e=c;ub(b,d,f+32|0,f+16|0,f);a=F[b+140>>2];F[f+40>>2]=F[b+136>>2];F[f+44>>2]=a;a=F[b+132>>2];F[f+32>>2]=F[b+128>>2];F[f+36>>2]=a;c=F[b+24>>2];if(c>>>0<=i>>>0){D[b+20|0]=1}l=F[b+32>>2];kb:{if(l>>>0<=i>>>0){F[61608]=m;F[61609]=j;h=g;break kb}h=K[F[b+36>>2]+(i<<3)>>3]}a=F[f+44>>2];F[f+24>>2]=F[f+40>>2];F[f+28>>2]=a;K[f+32>>3]=K[f+32>>3]+h;a=F[f+36>>2];F[f+16>>2]=F[f+32>>2];F[f+20>>2]=a;a=i|1;if(a>>>0>=c>>>0){D[b+20|0]=1}lb:{if(a>>>0>=l>>>0){F[61608]=m;F[61609]=j;a=246432;break lb}a=F[b+36>>2]+(a<<3)|0}k=i|2;if(k>>>0>=c>>>0){D[b+20|0]=1}mb:{if(l>>>0<=k>>>0){F[61608]=m;F[61609]=j;k=246432;break mb}k=F[b+36>>2]+(k<<3)|0}K[f+16>>3]=K[f+16>>3]+K[a>>3];K[f+24>>3]=K[f+24>>3]+K[k>>3];a=F[f+28>>2];F[f+8>>2]=F[f+24>>2];F[f+12>>2]=a;a=F[f+20>>2];F[f>>2]=F[f+16>>2];F[f+4>>2]=a;a=i|3;if(a>>>0>=c>>>0){D[b+20|0]=1}nb:{if(a>>>0>=l>>>0){F[61608]=m;F[61609]=j;h=g;break nb}h=K[F[b+36>>2]+(a<<3)>>3]}K[f+8>>3]=K[f+8>>3]+h;ub(b,d,f+32|0,f+16|0,f);a=F[f+12>>2];F[f+40>>2]=F[f+8>>2];F[f+44>>2]=a;a=F[f+4>>2];F[f+32>>2]=F[f>>2];F[f+36>>2]=a;l=F[b+24>>2];c=i+4|0;if(l>>>0<=c>>>0){D[b+20|0]=1}a=F[b+32>>2];ob:{if(c>>>0>=a>>>0){F[61608]=m;F[61609]=j;h=g;break ob}h=K[F[b+36>>2]+(c<<3)>>3]}K[f+40>>3]=K[f+40>>3]+h;c=F[f+44>>2];F[f+24>>2]=F[f+40>>2];F[f+28>>2]=c;c=F[f+36>>2];F[f+16>>2]=F[f+32>>2];F[f+20>>2]=c;c=i+5|0;if(c>>>0>=l>>>0){D[b+20|0]=1}pb:{if(a>>>0<=c>>>0){F[61608]=m;F[61609]=j;c=246432;break pb}c=F[b+36>>2]+(c<<3)|0}k=i+6|0;if(k>>>0>=l>>>0){D[b+20|0]=1}qb:{if(a>>>0<=k>>>0){F[61608]=m;F[61609]=j;k=246432;break qb}k=F[b+36>>2]+(k<<3)|0}K[f+16>>3]=K[f+16>>3]+K[c>>3];K[f+24>>3]=K[f+24>>3]+K[k>>3];c=F[f+28>>2];F[f+8>>2]=F[f+24>>2];F[f+12>>2]=c;c=F[f+20>>2];F[f>>2]=F[f+16>>2];F[f+4>>2]=c;c=i+7|0;if(c>>>0>=l>>>0){D[b+20|0]=1}rb:{if(a>>>0<=c>>>0){F[61608]=m;F[61609]=j;h=g;break rb}h=K[F[b+36>>2]+(c<<3)>>3]}K[f>>3]=K[f>>3]+h;i=e;c=e+8|0;if(l>>>0>=c>>>0){continue}break}}if(e>>>0>>0){sb:{if(a>>>0<=e>>>0){a=F[40909];c=F[40908];F[61608]=c;F[61609]=a;x(0,c|0);x(1,a|0);g=+z();break sb}g=K[F[b+36>>2]+(e<<3)>>3]}K[f+8>>3]=K[f+8>>3]+g}ub(b,d,f+32|0,f+16|0,f)}Ga=f+96|0;break b}i=c;a=0;d=Ga-96|0;Ga=d;F[d+88>>2]=0;F[d+92>>2]=0;F[d+80>>2]=0;F[d+84>>2]=0;F[d+72>>2]=0;F[d+76>>2]=0;F[d+64>>2]=0;F[d+68>>2]=0;F[d+56>>2]=0;F[d+60>>2]=0;F[d+48>>2]=0;F[d+52>>2]=0;m=F[b+24>>2];tb:{if(!(m&4)){if(m>>>0<8){break tb}c=F[40909];f=c;l=F[40908];x(0,l|0);x(1,c|0);g=+z();c=8;while(1){e=a;a=c;c=F[b+140>>2];F[d+88>>2]=F[b+136>>2];F[d+92>>2]=c;c=F[b+132>>2];F[d+80>>2]=F[b+128>>2];F[d+84>>2]=c;if(e>>>0>=m>>>0){D[b+20|0]=1}j=F[b+32>>2];ub:{if(j>>>0<=e>>>0){F[61608]=l;F[61609]=f;h=g;break ub}h=K[F[b+36>>2]+(e<<3)>>3]}c=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=c;K[d+80>>3]=K[d+80>>3]+h;c=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=c;c=e|1;if(c>>>0>=m>>>0){D[b+20|0]=1}vb:{if(c>>>0>=j>>>0){F[61608]=l;F[61609]=f;c=246432;break vb}c=F[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=m>>>0){D[b+20|0]=1}wb:{if(j>>>0<=k>>>0){F[61608]=l;F[61609]=f;k=246432;break wb}k=F[b+36>>2]+(k<<3)|0}K[d+64>>3]=K[d+64>>3]+K[c>>3];K[d+72>>3]=K[d+72>>3]+K[k>>3];c=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=c;c=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=c;c=e|3;if(c>>>0>=m>>>0){D[b+20|0]=1}xb:{if(c>>>0>=j>>>0){F[61608]=l;F[61609]=f;h=g;break xb}h=K[F[b+36>>2]+(c<<3)>>3]}K[d+56>>3]=K[d+56>>3]+h;ub(b,i,d+80|0,d- -64|0,d+48|0);c=F[d+60>>2];F[d+88>>2]=F[d+56>>2];F[d+92>>2]=c;c=F[d+52>>2];F[d+80>>2]=F[d+48>>2];F[d+84>>2]=c;j=F[b+24>>2];c=e|4;if(j>>>0<=c>>>0){D[b+20|0]=1}m=F[b+32>>2];yb:{if(m>>>0<=c>>>0){F[61608]=l;F[61609]=f;h=g;break yb}h=K[F[b+36>>2]+(c<<3)>>3]}K[d+88>>3]=K[d+88>>3]+h;c=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=c;c=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=c;c=e|5;if(c>>>0>=j>>>0){D[b+20|0]=1}zb:{if(c>>>0>=m>>>0){F[61608]=l;F[61609]=f;c=246432;break zb}c=F[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=j>>>0){D[b+20|0]=1}Ab:{if(k>>>0>=m>>>0){F[61608]=l;F[61609]=f;k=246432;break Ab}k=F[b+36>>2]+(k<<3)|0}K[d+64>>3]=K[d+64>>3]+K[c>>3];K[d+72>>3]=K[d+72>>3]+K[k>>3];c=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=c;c=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=c;c=e|7;if(c>>>0>=j>>>0){D[b+20|0]=1}Bb:{if(c>>>0>=m>>>0){F[61608]=l;F[61609]=f;h=g;break Bb}h=K[F[b+36>>2]+(c<<3)>>3]}K[d+48>>3]=K[d+48>>3]+h;if(!(!(j&1)|j-e>>>0>15)){if(a>>>0>=j>>>0){D[b+20|0]=1}Cb:{if(a>>>0>=m>>>0){F[61608]=l;F[61609]=f;h=g;break Cb}h=K[F[b+36>>2]+(a<<3)>>3]}K[d+56>>3]=K[d+56>>3]+h}ub(b,i,d+80|0,d- -64|0,d+48|0);c=a+8|0;m=F[b+24>>2];if(c>>>0<=m>>>0){continue}break}break tb}a=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=a;a=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=a;Db:{Eb:{l=F[b+32>>2];Fb:{if(!l){K[d+32>>3]=K[d+32>>3]+K[20454];a=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=a;a=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=a;e=246432;break Fb}K[d+32>>3]=K[d+32>>3]+K[F[b+36>>2]>>3];a=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=a;a=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=a;if((l|0)==1){e=246432;break Fb}e=F[b+36>>2]+8|0;if(l>>>0>2){break Eb}}a=F[40909];c=F[40908];F[61608]=c;F[61609]=a;x(0,c|0);x(1,a|0);g=+z();break Db}g=K[F[b+36>>2]+16>>3]}h=K[e>>3];K[d+24>>3]=K[d+24>>3]+g;K[d+16>>3]=h+K[d+16>>3];a=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=a;a=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=a;Gb:{if(l>>>0<=3){a=F[40909];c=F[40908];F[61608]=c;F[61609]=a;x(0,c|0);x(1,a|0);g=+z();break Gb}g=K[F[b+36>>2]+24>>3]}K[d+8>>3]=K[d+8>>3]+g;c=12;a=4;if(m>>>0>=12){a=F[40909];f=a;j=F[40908];x(0,j|0);x(1,a|0);g=+z();e=4;while(1){a=c;ub(b,i,d+32|0,d+16|0,d);c=F[b+140>>2];F[d+40>>2]=F[b+136>>2];F[d+44>>2]=c;c=F[b+132>>2];F[d+32>>2]=F[b+128>>2];F[d+36>>2]=c;l=F[b+24>>2];if(l>>>0<=e>>>0){D[b+20|0]=1}m=F[b+32>>2];Hb:{if(m>>>0<=e>>>0){F[61608]=j;F[61609]=f;h=g;break Hb}h=K[F[b+36>>2]+(e<<3)>>3]}K[d+40>>3]=K[d+40>>3]+h;c=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=c;c=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=c;c=e|1;if(c>>>0>=l>>>0){D[b+20|0]=1}Ib:{if(c>>>0>=m>>>0){F[61608]=j;F[61609]=f;c=246432;break Ib}c=F[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=l>>>0){D[b+20|0]=1}Jb:{if(k>>>0>=m>>>0){F[61608]=j;F[61609]=f;k=246432;break Jb}k=F[b+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[c>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];c=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=c;c=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=c;c=e|3;if(c>>>0>=l>>>0){D[b+20|0]=1}Kb:{if(c>>>0>=m>>>0){F[61608]=j;F[61609]=f;h=g;break Kb}h=K[F[b+36>>2]+(c<<3)>>3]}K[d>>3]=K[d>>3]+h;ub(b,i,d+32|0,d+16|0,d);c=F[d+12>>2];F[d+40>>2]=F[d+8>>2];F[d+44>>2]=c;c=F[d+4>>2];F[d+32>>2]=F[d>>2];F[d+36>>2]=c;m=F[b+24>>2];c=e+4|0;if(m>>>0<=c>>>0){D[b+20|0]=1}l=F[b+32>>2];Lb:{if(c>>>0>=l>>>0){F[61608]=j;F[61609]=f;h=g;break Lb}h=K[F[b+36>>2]+(c<<3)>>3]}c=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=c;K[d+32>>3]=K[d+32>>3]+h;c=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=c;c=e+5|0;if(c>>>0>=m>>>0){D[b+20|0]=1}Mb:{if(c>>>0>=l>>>0){F[61608]=j;F[61609]=f;c=246432;break Mb}c=F[b+36>>2]+(c<<3)|0}k=e+6|0;if(k>>>0>=m>>>0){D[b+20|0]=1}Nb:{if(l>>>0<=k>>>0){F[61608]=j;F[61609]=f;k=246432;break Nb}k=F[b+36>>2]+(k<<3)|0}K[d+16>>3]=K[d+16>>3]+K[c>>3];K[d+24>>3]=K[d+24>>3]+K[k>>3];c=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=c;c=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=c;c=e+7|0;if(c>>>0>=m>>>0){D[b+20|0]=1}Ob:{if(c>>>0>=l>>>0){F[61608]=j;F[61609]=f;h=g;break Ob}h=K[F[b+36>>2]+(c<<3)>>3]}K[d+8>>3]=K[d+8>>3]+h;e=a;c=a+8|0;if(m>>>0>=c>>>0){continue}break}}if(a>>>0>>0){Pb:{if(a>>>0>=l>>>0){a=F[40909];c=F[40908];F[61608]=c;F[61609]=a;x(0,c|0);x(1,a|0);g=+z();break Pb}g=K[F[b+36>>2]+(a<<3)>>3]}K[d>>3]=K[d>>3]+g}ub(b,i,d+32|0,d+16|0,d)}Ga=d+96|0;break b}a=Ga-96|0;Ga=a;Qb:{if(F[b+24>>2]==7){e=F[b+140>>2];F[a+88>>2]=F[b+136>>2];F[a+92>>2]=e;e=F[b+132>>2];F[a+80>>2]=F[b+128>>2];F[a+84>>2]=e;Rb:{Sb:{e=F[b+32>>2];Tb:{if(!e){K[a+80>>3]=K[a+80>>3]+K[20454];i=F[a+92>>2];F[a+72>>2]=F[a+88>>2];F[a+76>>2]=i;i=F[a+84>>2];F[a+64>>2]=F[a+80>>2];F[a+68>>2]=i;i=246432;break Tb}K[a+80>>3]=K[a+80>>3]+K[F[b+36>>2]>>3];i=F[a+92>>2];F[a+72>>2]=F[a+88>>2];F[a+76>>2]=i;i=F[a+84>>2];F[a+64>>2]=F[a+80>>2];F[a+68>>2]=i;if((e|0)==1){i=246432;break Tb}i=F[b+36>>2]+8|0;if(e>>>0>2){break Sb}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break Rb}g=K[F[b+36>>2]+16>>3]}h=K[i>>3];K[a+72>>3]=K[a+72>>3]+g;K[a+64>>3]=h+K[a+64>>3];i=F[a+76>>2];F[a+56>>2]=F[a+72>>2];F[a+60>>2]=i;i=F[a+68>>2];F[a+48>>2]=F[a+64>>2];F[a+52>>2]=i;Ub:{Vb:{Wb:{Xb:{Yb:{if(e>>>0<=3){i=F[40909];d=F[40908];F[61608]=d;F[61609]=i;g=K[a+48>>3];x(0,d|0);x(1,i|0);C=a,E=g+ +z(),K[C+48>>3]=E;i=F[a+60>>2];F[a+40>>2]=F[a+56>>2];F[a+44>>2]=i;i=F[a+52>>2];F[a+32>>2]=F[a+48>>2];F[a+36>>2]=i;break Yb}K[a+48>>3]=K[a+48>>3]+K[F[b+36>>2]+24>>3];i=F[a+60>>2];F[a+40>>2]=F[a+56>>2];F[a+44>>2]=i;i=F[a+52>>2];F[a+32>>2]=F[a+48>>2];F[a+36>>2]=i;if((e|0)!=4){break Xb}}K[a+32>>3]=K[a+32>>3]+K[20454];i=F[a+44>>2];F[a+24>>2]=F[a+40>>2];F[a+28>>2]=i;i=F[a+36>>2];F[a+16>>2]=F[a+32>>2];F[a+20>>2]=i;break Wb}K[a+32>>3]=K[a+32>>3]+K[F[b+36>>2]+32>>3];i=F[a+44>>2];F[a+24>>2]=F[a+40>>2];F[a+28>>2]=i;i=F[a+36>>2];F[a+16>>2]=F[a+32>>2];F[a+20>>2]=i;if(e>>>0>5){break Vb}}i=F[40909];d=F[40908];F[61608]=d;F[61609]=i;x(0,d|0);x(1,i|0);g=+z();break Ub}g=K[F[b+36>>2]+40>>3]}i=F[a+92>>2];d=F[a+88>>2];F[a+24>>2]=d;F[a+28>>2]=i;K[a+16>>3]=K[a+16>>3]+g;F[a+8>>2]=d;F[a+12>>2]=i;i=F[a+20>>2];F[a>>2]=F[a+16>>2];F[a+4>>2]=i;Zb:{if(e>>>0<=6){e=F[40909];i=F[40908];F[61608]=i;F[61609]=e;x(0,i|0);x(1,e|0);g=+z();break Zb}g=K[F[b+36>>2]+48>>3]}K[a>>3]=K[a>>3]+g;ub(b,c,a+80|0,a- -64|0,a+48|0);ub(b,c,a+32|0,a+16|0,a);break Qb}D[b+40|0]=1}Ga=a+96|0;break b}a=Ga-96|0;Ga=a;_b:{if(F[b+24>>2]==13){e=F[b+140>>2];F[a+88>>2]=F[b+136>>2];F[a+92>>2]=e;e=F[b+132>>2];F[a+80>>2]=F[b+128>>2];F[a+84>>2]=e;$b:{ac:{i=F[b+32>>2];bc:{if(!i){e=246432;break bc}e=F[b+36>>2];if((i|0)!=1){break ac}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break $b}g=K[F[b+36>>2]+8>>3]}h=K[e>>3];K[a+88>>3]=K[a+88>>3]+g;K[a+80>>3]=h+K[a+80>>3];e=F[a+92>>2];F[a+72>>2]=F[a+88>>2];F[a+76>>2]=e;e=F[a+84>>2];F[a+64>>2]=F[a+80>>2];F[a+68>>2]=e;cc:{dc:{ec:{if(i>>>0<3){e=246432;break ec}e=F[b+36>>2]+16|0;if((i|0)!=3){break dc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break cc}g=K[F[b+36>>2]+24>>3]}h=K[e>>3];K[a+72>>3]=K[a+72>>3]+g;K[a+64>>3]=h+K[a+64>>3];e=F[a+76>>2];F[a+56>>2]=F[a+72>>2];F[a+60>>2]=e;e=F[a+68>>2];F[a+48>>2]=F[a+64>>2];F[a+52>>2]=e;fc:{gc:{hc:{if(i>>>0<5){e=246432;break hc}e=F[b+36>>2]+32|0;if((i|0)!=5){break gc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break fc}g=K[F[b+36>>2]+40>>3]}h=K[e>>3];K[a+56>>3]=K[a+56>>3]+g;K[a+48>>3]=h+K[a+48>>3];e=F[a+60>>2];F[a+40>>2]=F[a+56>>2];F[a+44>>2]=e;e=F[a+52>>2];F[a+32>>2]=F[a+48>>2];F[a+36>>2]=e;ic:{jc:{kc:{if(i>>>0<7){e=246432;break kc}e=F[b+36>>2]+48|0;if((i|0)!=7){break jc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break ic}g=K[F[b+36>>2]+56>>3]}h=K[e>>3];K[a+40>>3]=K[a+40>>3]+g;K[a+32>>3]=h+K[a+32>>3];e=F[a+44>>2];F[a+24>>2]=F[a+40>>2];F[a+28>>2]=e;e=F[a+36>>2];F[a+16>>2]=F[a+32>>2];F[a+20>>2]=e;lc:{mc:{nc:{if(i>>>0<9){e=246432;break nc}e=F[b+36>>2]- -64|0;if((i|0)!=9){break mc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break lc}g=K[F[b+36>>2]+72>>3]}h=K[e>>3];K[a+24>>3]=K[a+24>>3]+g;K[a+16>>3]=h+K[a+16>>3];e=F[a+28>>2];F[a+8>>2]=F[a+24>>2];F[a+12>>2]=e;e=F[a+20>>2];F[a>>2]=F[a+16>>2];F[a+4>>2]=e;oc:{pc:{qc:{if(i>>>0<11){e=246432;break qc}e=F[b+36>>2]+80|0;if((i|0)!=11){break pc}}i=F[40909];d=F[40908];F[61608]=d;F[61609]=i;x(0,d|0);x(1,i|0);g=+z();break oc}g=K[F[b+36>>2]+88>>3]}h=K[e>>3];K[a+8>>3]=K[a+8>>3]+g;K[a>>3]=h+K[a>>3];ub(b,c,a+80|0,a- -64|0,a+48|0);ub(b,c,a+32|0,a+16|0,a);break _b}D[b+40|0]=1}Ga=a+96|0;break b}a=Ga-96|0;Ga=a;rc:{if(F[b+24>>2]==9){e=F[b+140>>2];F[a+88>>2]=F[b+136>>2];F[a+92>>2]=e;e=F[b+132>>2];F[a+80>>2]=F[b+128>>2];F[a+84>>2]=e;sc:{tc:{i=F[b+32>>2];uc:{if(!i){e=246432;break uc}e=F[b+36>>2];if((i|0)!=1){break tc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break sc}g=K[F[b+36>>2]+8>>3]}h=K[e>>3];K[a+88>>3]=K[a+88>>3]+g;K[a+80>>3]=h+K[a+80>>3];e=F[a+92>>2];F[a+72>>2]=F[a+88>>2];F[a+76>>2]=e;e=F[a+84>>2];F[a+64>>2]=F[a+80>>2];F[a+68>>2]=e;vc:{wc:{xc:{if(i>>>0<3){e=246432;break xc}e=F[b+36>>2]+16|0;if((i|0)!=3){break wc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break vc}g=K[F[b+36>>2]+24>>3]}h=K[e>>3];K[a+72>>3]=K[a+72>>3]+g;K[a+64>>3]=h+K[a+64>>3];e=F[a+76>>2];F[a+56>>2]=F[a+72>>2];F[a+60>>2]=e;e=F[a+68>>2];F[a+48>>2]=F[a+64>>2];F[a+52>>2]=e;yc:{zc:{Ac:{Bc:{Cc:{if(i>>>0<=4){K[a+48>>3]=K[a+48>>3]+K[20454];e=F[a+60>>2];F[a+40>>2]=F[a+56>>2];F[a+44>>2]=e;e=F[a+52>>2];F[a+32>>2]=F[a+48>>2];F[a+36>>2]=e;break Cc}K[a+48>>3]=K[a+48>>3]+K[F[b+36>>2]+32>>3];e=F[a+60>>2];F[a+40>>2]=F[a+56>>2];F[a+44>>2]=e;e=F[a+52>>2];F[a+32>>2]=F[a+48>>2];F[a+36>>2]=e;if((i|0)!=5){break Bc}}e=F[40909];d=F[40908];F[61608]=d;F[61609]=e;g=K[a+32>>3];x(0,d|0);x(1,e|0);C=a,E=g+ +z(),K[C+32>>3]=E;e=F[a+44>>2];F[a+24>>2]=F[a+40>>2];F[a+28>>2]=e;e=F[a+36>>2];F[a+16>>2]=F[a+32>>2];F[a+20>>2]=e;e=246432;break Ac}K[a+32>>3]=K[a+32>>3]+K[F[b+36>>2]+40>>3];e=F[a+44>>2];F[a+24>>2]=F[a+40>>2];F[a+28>>2]=e;e=F[a+36>>2];F[a+16>>2]=F[a+32>>2];F[a+20>>2]=e;if(i>>>0<7){e=246432;break Ac}e=F[b+36>>2]+48|0;if((i|0)!=7){break zc}}d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);g=+z();break yc}g=K[F[b+36>>2]+56>>3]}h=K[e>>3];K[a+24>>3]=K[a+24>>3]+g;K[a+16>>3]=h+K[a+16>>3];e=F[a+28>>2];F[a+8>>2]=F[a+24>>2];F[a+12>>2]=e;e=F[a+20>>2];F[a>>2]=F[a+16>>2];F[a+4>>2]=e;Dc:{if(i>>>0<=8){e=F[40909];i=F[40908];F[61608]=i;F[61609]=e;x(0,i|0);x(1,e|0);g=+z();break Dc}g=K[F[b+36>>2]+64>>3]}K[a>>3]=K[a>>3]+g;e=F[b+140>>2];F[a+8>>2]=F[b+136>>2];F[a+12>>2]=e;ub(b,c,a+80|0,a- -64|0,a+48|0);ub(b,c,a+32|0,a+16|0,a);break rc}D[b+40|0]=1}Ga=a+96|0;break b}i=c;d=Ga-96|0;Ga=d;Ec:{Fc:{Gc:{Hc:{Ic:{if(F[b+24>>2]==11){a=F[b+36>>2];f=F[40908];j=F[40909];u=246432;c=246432;Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{k=F[b+32>>2];switch(k|0){case 0:break Qc;case 1:break Rc;default:break Pc}}c=a}F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=+z()+0;g=K[c>>3]+0;e=0;break Oc}h=K[a+8>>3]+0;g=K[a>>3]+0;e=1;if(k>>>0<3){break Oc}if((k|0)!=3){break Nc}u=a+16|0;m=1;e=1}F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=h+ +z();g=g+K[u>>3];c=246432;break Mc}h=h+K[a+24>>3];g=g+K[a+16>>3];if(k>>>0<5){l=1;e=1;m=1;c=246432;break Mc}if((k|0)!=5){break Lc}l=1;e=1;m=1;q=1;c=a+32|0}F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=h+ +z();g=g+K[c>>3];c=246432;break Kc}h=h+K[a+40>>3];g=g+K[a+32>>3];if(k>>>0<7){v=1;l=1;e=1;m=1;q=1;c=246432;break Kc}if((k|0)!=7){break Jc}v=1;l=1;e=1;m=1;q=1;w=1;c=a+48|0}F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);n=h+ +z();g=g+K[c>>3];c=246432;break Ic}n=h+K[a+56>>3];g=g+K[a+48>>3];if(k>>>0<9){y=1;v=1;l=1;e=1;m=1;q=1;w=1;break Ic}if((k|0)==9){c=a- -64|0;y=1;v=1;l=1;e=1;m=1;q=1;w=1;B=1;break Ic}h=K[a+64>>3];o=K[a+72>>3];c=F[b+140>>2];F[d+88>>2]=F[b+136>>2];F[d+92>>2]=c;c=F[b+132>>2];F[d+80>>2]=F[b+128>>2];F[d+84>>2]=c;A=b+128|0;n=n+o;g=g+h;u=1;y=1;v=1;l=1;m=1;q=1;w=1;B=1;c=a;break Hc}D[b+40|0]=1;break Ec}u=0;F[61608]=f;F[61609]=j;o=K[c>>3];c=F[b+140>>2];F[d+88>>2]=F[b+136>>2];F[d+92>>2]=c;c=F[b+132>>2];F[d+80>>2]=F[b+128>>2];F[d+84>>2]=c;A=b+128|0;x(0,f|0);x(1,j|0);h=+z();n=n+h;g=g+o;if(!k){F[61608]=f;F[61609]=j;c=246432;if(e){break Hc}break Gc}c=a;if(!e){break Gc}c=a}h=K[a+8>>3];break Fc}F[61608]=f;F[61609]=j}o=K[c>>3];K[d+88>>3]=K[d+88>>3]+h;K[d+80>>3]=o+K[d+80>>3];c=F[d+92>>2];F[d+72>>2]=F[d+88>>2];F[d+76>>2]=c;c=F[d+84>>2];F[d+64>>2]=F[d+80>>2];F[d+68>>2]=c;Sc:{if(!m){F[61608]=f;F[61609]=j;c=246432;break Sc}c=a+16|0}Tc:{if(!l){F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=+z();break Tc}h=K[a+24>>3]}o=K[c>>3];K[d+72>>3]=K[d+72>>3]+h;K[d+64>>3]=o+K[d+64>>3];c=F[d+76>>2];F[d+56>>2]=F[d+72>>2];F[d+60>>2]=c;c=F[d+68>>2];F[d+48>>2]=F[d+64>>2];F[d+52>>2]=c;Uc:{if(!q){F[61608]=f;F[61609]=j;c=246432;break Uc}c=a+32|0}Vc:{if(!v){F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=+z();break Vc}h=K[a+40>>3]}o=K[c>>3];K[d+56>>3]=K[d+56>>3]+h;K[d+48>>3]=o+K[d+48>>3];c=F[d+60>>2];F[d+40>>2]=F[d+56>>2];F[d+44>>2]=c;c=F[d+52>>2];F[d+32>>2]=F[d+48>>2];F[d+36>>2]=c;Wc:{if(!w){F[61608]=f;F[61609]=j;c=246432;break Wc}c=a+48|0}Xc:{if(!y){F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=+z();break Xc}h=K[a+56>>3]}o=K[c>>3];K[d+40>>3]=K[d+40>>3]+h;K[d+32>>3]=o+K[d+32>>3];c=F[d+44>>2];F[d+24>>2]=F[d+40>>2];F[d+28>>2]=c;c=F[d+36>>2];F[d+16>>2]=F[d+32>>2];F[d+20>>2]=c;Yc:{if(!B){F[61608]=f;F[61609]=j;c=246432;break Yc}c=a- -64|0}Zc:{if(!u){F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);h=+z();break Zc}h=K[a+72>>3]}o=K[c>>3];K[d+24>>3]=K[d+24>>3]+h;K[d+16>>3]=o+K[d+16>>3];c=F[d+28>>2];F[d+8>>2]=F[d+24>>2];F[d+12>>2]=c;c=F[d+20>>2];F[d>>2]=F[d+16>>2];F[d+4>>2]=c;_c:{if(N(g)>N(n)){$c:{if(k>>>0<=10){F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);g=+z();break $c}g=K[a+80>>3]}K[d>>3]=K[d>>3]+g;a=F[b+140>>2];F[d+8>>2]=F[b+136>>2];F[d+12>>2]=a;break _c}c=F[A+4>>2];F[d>>2]=F[A>>2];F[d+4>>2]=c;ad:{if(k>>>0<=10){F[61608]=f;F[61609]=j;x(0,f|0);x(1,j|0);g=+z();break ad}g=K[a+80>>3]}K[d+8>>3]=K[d+8>>3]+g}ub(b,i,d+80|0,d- -64|0,d+48|0);ub(b,i,d+32|0,d+16|0,d)}Ga=d+96|0;break b}Id(a,b)}return}c=F[b+24>>2];a=c&1;break f}D[b+20|0]=1;a=0;e=F[40909];d=F[40908];F[61608]=d;F[61609]=e;x(0,d|0);x(1,e|0);h=+z()}o=K[i>>3];D[c|0]=0;K[b+136>>3]=n+o;break d}if(!(!a|!c)){bd:{if(!F[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;break bd}a=F[b+36>>2];e=F[a>>2];a=F[a+4>>2]}D[b+145|0]=1;F[b+152>>2]=e;F[b+156>>2]=a}D[b+144|0]=1}F[b+148>>2]=0;a=F[b+24>>2];F[b+24>>2]=0;F[b+76>>2]=F[b+76>>2]+(a>>>1|0);return}K[b+128>>3]=g+h}if(!G[b+73|0]){if(!G[b+74|0]){D[b+74|0]=1;a=F[b+80>>2]+(a>>>1|0)|0;F[b+80>>2]=a;F[b+84>>2]=(a+F[b+76>>2]|0)+7>>>3}D[b+73|0]=1}}F[b+24>>2]=0;F[b+148>>2]=0;return}D[b+16|0]=1;F[b+12>>2]=a}function oe(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,H=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;k=Ga-15984|0;Ga=k;F[k+15976>>2]=g;F[k+15980>>2]=f;o=F[a+176>>2];m=o;i=F[F[m+536>>2]+544>>2];O=F[a+52>>2];B=F[a>>2];Wa(k+15824|0,0,128);F[k+15968>>2]=0;f=k+15808|0;F[f>>2]=0;F[f+4>>2]=0;f=k+15700|0;F[f>>2]=0;F[f+4>>2]=0;f=k+15708|0;F[f>>2]=0;F[f+4>>2]=0;F[k+15960>>2]=0;F[k+15964>>2]=0;F[k+15792>>2]=0;F[k+15796>>2]=0;F[k+15800>>2]=0;F[k+15804>>2]=0;F[k+15776>>2]=0;F[k+15780>>2]=0;F[k+15768>>2]=10;F[k+15772>>2]=0;F[k+15760>>2]=20;F[k+15764>>2]=0;J=a+4|0;F[k+15756>>2]=J;F[k+15752>>2]=B;F[k+15744>>2]=0;F[k+15748>>2]=0;F[k+15736>>2]=10;F[k+15740>>2]=0;F[k+15728>>2]=20;F[k+15732>>2]=0;F[k+15724>>2]=J;F[k+15720>>2]=B;F[k+15692>>2]=0;F[k+15696>>2]=0;F[k+15688>>2]=J;Wa(k+15528|0,0,160);F[k+15532>>2]=10;F[k+15524>>2]=8;F[k+15520>>2]=J;F[k+15516>>2]=B;F[k+3908>>2]=c;F[k+3904>>2]=a;Wa(k+11660|0,0,3856);f=G[a+184|0];F[k+11664>>2]=O;D[k+11661|0]=f;P=k+15516|0;F[k+11656>>2]=P;Q=k+11648|0;F[k+11652>>2]=Q;F[k+11648>>2]=a;Wa(k+7792|0,0,3856);F[k+7796>>2]=O;D[k+7793|0]=f;F[k+7788>>2]=P;F[k+7784>>2]=Q;F[k+7780>>2]=a;Wa(k+3924|0,0,3856);F[k+3928>>2]=O;D[k+3925|0]=f;F[k+3920>>2]=P;F[k+3916>>2]=Q;F[k+3912>>2]=a;F[k+15548>>2]=F[a+40>>2];K=48;f=F[a+48>>2];F[k+15556>>2]=O;F[k+15552>>2]=f;j=F[d+4>>2];f=F[d>>2];F[k+15588>>2]=a+240;F[k+15584>>2]=g;F[k+15560>>2]=f;F[k+15564>>2]=j;F[k+15580>>2]=k+15688;F[k+15576>>2]=k+15720;F[k+15572>>2]=k+15752;D[k+15570|0]=G[a+185|0];f=F[a+228>>2];F[k+15592>>2]=f;j=F[a+232>>2];F[k+15604>>2]=6554;F[k+15596>>2]=j;D[k+15569|0]=0;D[k+15571|0]=1;g=f;f=f>>31;g=(g^f)-f|0;f=j>>31;f=(f^j)-f|0;F[k+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=G[a+9|0];D[k+15791|0]=(f|0)!=0;F[h>>2]=F[F[m+536>>2]+540>>2]<<16;K=f?F[F[m+532>>2]+1556>>2]:K;F[k+32>>2]=0;j=gb(B,20,k+32|0);a:{b:{c:{d:{if(!F[k+32>>2]){F[j+4>>2]=J;F[j>>2]=B;f=Va(B,8,0,K,0,k+32|0);F[j+8>>2]=f;if(!F[k+32>>2]){break d}if(j){Ia[F[B+8>>2]](B,j)}}l=64;j=0;b=1;break c}F[j+16>>2]=K;F[j+12>>2]=f;F[k+32>>2]=0;C=Va(B,1,0,272,0,k+32|0);f=F[a+4>>2];if(F[k+32>>2]){b=0;if(f){break a}l=64;break b}if(f){b=0;break a}R=i<<16;T=k+3912|0;y=k+15688|4;f=F[b+4>>2];F[C>>2]=F[b>>2];F[C+4>>2]=f;f=F[b+12>>2];F[C+8>>2]=F[b+8>>2];F[C+12>>2]=f;M=a+92|0;U=k+44|0;V=k+15608|0;N=k|4;S=2e7;t=C;b=0;e:while(1){z=0;while(1){f=b;l=t+12|0;b=F[l>>2];q=F[t+8>>2];f:{if(b>>>0>=q>>>0){g=A?11:14;i=b;break f}i=b+1|0;F[l>>2]=i;g:{g=G[b|0];switch(g-11|0){case 0:case 3:break g;default:break f}}g=G[a+9|0]?0:g}r=G[a+8|0];if(r){h:{if(f&255){break h}i:{switch(g-1|0){case 0:case 2:case 9:case 10:case 11:case 12:case 13:break h;default:break i}}if(g>>>0>31){break h}F[j+12>>2]=F[j+8>>2];b=0;continue}m=(g|0)==12;b=g>>>0>31;H=H&255?b?H:m?H:0:H;u=(u|0)<=0?u:(g|0)==10?u:(g|0)==11?u:m?u:b?u:0}if(F[a+4>>2]){b=0;break a}S=S-1|0;if(!S){b=0;l=18;break b}b=f;j:{k:{l:{m:{n:{o:{p:{switch(g|0){case 15:if(!G[a+9|0]){break n}if(G[a+93|0]){break j}b=F[j+12>>2];if((b|0)==F[j+8>>2]){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break l}F[b>>2]=161;F[a+120>>2]=0;b=f;break k}if(F[b-4>>2]!=2){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break l}F[b>>2]=160;break l}b=b-8|0;F[j+12>>2]=b;g=F[b>>2];if((g|0)>=0){break l}break n;case 16:if(!G[a+9|0]){break n}l=18;b=0;if(!F[a+96>>2]){break c}q:{if(!(Ia[F[F[a+548>>2]+12>>2]](M,F[a+120>>2],F[a+124>>2],F[a+128>>2])|0)){break q}g=Ia[F[F[a+548>>2]+16>>2]](M,F[a+120>>2],F[a+124>>2],F[a+128>>2])|0;if(!g){break q}l=g;break c}g=F[j+12>>2];r:{if((g|0)==F[j+8>>2]){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break r}F[b>>2]=161;break r}if(F[g-4>>2]!=2){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break r}F[b>>2]=160;break r}g=g-8|0;F[j+12>>2]=g;g=F[g>>2];if(K>>>0>>0){break c}}n=0;i=F[j+12>>2];b=F[j+8>>2];m=i-b>>3;v=L(F[M+20>>2],g);if(g){r=m-v|0;l=r+g|0;while(1){s=F[M+24>>2];q=i-b>>3;w=n+r|0;s:{if(q>>>0<=w>>>0){m=0;x=F[j+4>>2];if(!x|F[x>>2]){break s}F[x>>2]=130;break s}t:{u:{v:{m=(w<<3)+b|0;switch(F[m+4>>2]-1|0){case 0:break u;case 1:break v;default:break t}}m=F[m>>2]<<16;break s}m=F[m>>2];m=((m>>31)+m|0)- -8192>>14;break s}m=F[m>>2]}x=1;if(I[M+20>>2]>=2){while(1){q=F[s+4>>2];w:{if(i-b>>3>>>0<=l>>>0){b=0;i=F[j+4>>2];if(!i|F[i>>2]){break w}F[i>>2]=130;break w}x:{y:{z:{b=(l<<3)+b|0;switch(F[b+4>>2]-1|0){case 0:break y;case 1:break z;default:break x}}b=F[b>>2]<<16;break w}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break w}b=F[b>>2]}l=l+1|0;s=s+4|0;m=Ua(q,b)+m|0;i=F[j+12>>2];b=F[j+8>>2];x=x+1|0;if(x>>>0>2]){continue}break}q=i-b>>3}A:{if(q>>>0>>0){i=F[j+4>>2];if(!i|F[i>>2]){break A}F[i>>2]=130;break A}i=w<<3;F[i+b>>2]=m;b=F[j+8>>2];F[(i+b|0)+4>>2]=0}i=F[j+12>>2];n=n+1|0;if((n|0)!=(g|0)){continue}break}m=i-b>>3}b=v-g|0;B:{if(m>>>0>>0){b=F[j+4>>2];if(!b|F[b>>2]){break B}F[b>>2]=161;break B}F[j+12>>2]=i-(b<<3)}D[a+93|0]=1;b=f;continue;case 1:case 18:g=k+15752|0;i=k+15791|0;C:{if(!r){if(G[k+15692|0]){break n}f=0;break C}f=F[F[o+32>>2]+4>>2]}Xe(a,j,g,h,i,f);if(!G[o+548|0]){break k}break m;case 3:case 23:g=k+15720|0;i=k+15791|0;D:{if(!r){if(G[k+15692|0]){break n}f=0;break D}f=F[F[o+32>>2]>>2]}Xe(a,j,g,h,i,f);if(G[o+548|0]){break m}break k;case 4:g=F[j+12>>2];m=F[j+8>>2];if(!(G[k+15791|0]|g-m>>>0<16)){E:{F:{switch(F[m+4>>2]-1|0){case 1:b=F[m>>2]<<16;break E;case 0:b=F[m>>2];b=((b>>31)+b|0)- -8192>>14;break E;default:break F}}b=F[m>>2]}F[h>>2]=b+R}D[k+15791|0]=1;if(G[o+548|0]){break m}i=F[k+15976>>2];G:{if((g|0)==(m|0)){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break G}F[b>>2]=161;break G}b=g-8|0;F[j+12>>2]=b;H:{switch(F[b+4>>2]-1|0){case 1:g=F[b>>2]<<16;break G;case 0:b=F[b>>2];g=((b>>31)+b|0)- -8192>>14;break G;default:break H}}g=F[b>>2]}b=g+i|0;F[k+15976>>2]=b;if(F[o+468>>2]){break n}Nd(k+3904|0,F[k+15980>>2],b);break n;case 5:I:{b=F[j+8>>2];l=F[j+12>>2];if((b|0)==(l|0)){break I}q=l-b>>3;g=0;while(1){m=F[k+15980>>2];n=l-b>>3;J:{if(n>>>0<=g>>>0){l=0;i=F[j+4>>2];if(!i|F[i>>2]){break J}F[i>>2]=130;break J}K:{L:{M:{i=(g<<3)+b|0;switch(F[i+4>>2]-1|0){case 0:break L;case 1:break M;default:break K}}l=F[i>>2]<<16;break J}i=F[i>>2];l=((i>>31)+i|0)- -8192>>14;break J}l=F[i>>2]}l=l+m|0;F[k+15980>>2]=l;m=F[k+15976>>2];i=g|1;N:{if(i>>>0>=n>>>0){b=0;i=F[j+4>>2];if(!i|F[i>>2]){break N}F[i>>2]=130;l=F[k+15980>>2];break N}O:{P:{Q:{b=(i<<3)+b|0;switch(F[b+4>>2]-1|0){case 1:break Q;case 0:break P;default:break O}}b=F[b>>2]<<16;break N}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break N}b=F[b>>2]}b=b+m|0;F[k+15976>>2]=b;vd(k+3904|0,l,b);b=F[j+8>>2];g=g+2|0;if(q>>>0<=g>>>0){break I}l=F[j+12>>2];continue}}F[j+12>>2]=b;b=f;continue;case 6:case 7:l=F[j+8>>2];p=F[j+12>>2];if((l|0)!=(p|0)){b=p-l>>3;m=b>>>0>1?b:1;b=(g|0)==6;g=0;while(1){R:{if(p-l>>3>>>0<=g>>>0){l=0;i=F[j+4>>2];if(!i|F[i>>2]){break R}F[i>>2]=130;break R}S:{T:{U:{i=(g<<3)+l|0;switch(F[i+4>>2]-1|0){case 0:break T;case 1:break U;default:break S}}l=F[i>>2]<<16;break R}i=F[i>>2];l=((i>>31)+i|0)- -8192>>14;break R}l=F[i>>2]}V:{if(b&255){l=F[k+15980>>2]+l|0;F[k+15980>>2]=l;p=F[k+15976>>2];break V}p=F[k+15976>>2]+l|0;F[k+15976>>2]=p;l=F[k+15980>>2]}vd(k+3904|0,l,p);g=g+1|0;if((m|0)!=(g|0)){b=b^1;p=F[j+12>>2];l=F[j+8>>2];continue}break}l=F[j+8>>2]}F[j+12>>2]=l;b=f;continue;case 8:case 24:b=0;l=F[j+12>>2];p=F[j+8>>2];i=l-p|0;if(i>>>0<48){break o}r=i>>3;i=6;while(1){m=i;v=l-p>>3;W:{if(v>>>0<=b>>>0){i=0;l=F[j+4>>2];if(!l|F[l>>2]){break W}F[l>>2]=130;break W}X:{Y:{Z:{i=(b<<3)+p|0;switch(F[i+4>>2]-1|0){case 0:break Y;case 1:break Z;default:break X}}i=F[i>>2]<<16;break W}i=F[i>>2];i=((i>>31)+i|0)- -8192>>14;break W}i=F[i>>2]}s=F[k+15980>>2];l=b|1;_:{if(l>>>0>=v>>>0){n=0;l=F[j+4>>2];if(!l|F[l>>2]){break _}F[l>>2]=130;break _}$:{aa:{ba:{l=(l<<3)+p|0;switch(F[l+4>>2]-1|0){case 0:break aa;case 1:break ba;default:break $}}n=F[l>>2]<<16;break _}l=F[l>>2];n=((l>>31)+l|0)- -8192>>14;break _}n=F[l>>2]}q=F[k+15976>>2];l=b+2|0;ca:{if(l>>>0>=v>>>0){l=0;x=F[j+4>>2];if(!x|F[x>>2]){break ca}F[x>>2]=130;break ca}da:{ea:{fa:{l=(l<<3)+p|0;switch(F[l+4>>2]-1|0){case 0:break ea;case 1:break fa;default:break da}}l=F[l>>2]<<16;break ca}l=F[l>>2];l=((l>>31)+l|0)- -8192>>14;break ca}l=F[l>>2]}x=i+s|0;i=b+3|0;ga:{if(i>>>0>=v>>>0){w=0;i=F[j+4>>2];if(!i|F[i>>2]){break ga}F[i>>2]=130;break ga}ha:{ia:{ja:{i=(i<<3)+p|0;switch(F[i+4>>2]-1|0){case 0:break ia;case 1:break ja;default:break ha}}w=F[i>>2]<<16;break ga}i=F[i>>2];w=((i>>31)+i|0)- -8192>>14;break ga}w=F[i>>2]}s=n+q|0;q=l+x|0;i=b+4|0;ka:{if(i>>>0>=v>>>0){l=0;i=F[j+4>>2];if(!i|F[i>>2]){break ka}F[i>>2]=130;break ka}la:{ma:{na:{i=(i<<3)+p|0;switch(F[i+4>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}l=F[i>>2]<<16;break ka}i=F[i>>2];l=((i>>31)+i|0)- -8192>>14;break ka}l=F[i>>2]}n=s+w|0;l=l+q|0;b=b+5|0;oa:{if(b>>>0>=v>>>0){b=0;i=F[j+4>>2];if(!i|F[i>>2]){break oa}F[i>>2]=130;break oa}pa:{qa:{ra:{b=(b<<3)+p|0;switch(F[b+4>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}b=F[b>>2]<<16;break oa}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break oa}b=F[b>>2]}b=b+n|0;_c(k+3904|0,x,s,q,n,l,b);F[k+15976>>2]=b;F[k+15980>>2]=l;i=m+6|0;if(r>>>0>>0){b=m;break o}else{l=F[j+12>>2];p=F[j+8>>2];b=m;continue}};default:if(g>>>0<=246){b=F[j+12>>2];if((b|0)==(F[j+8>>2]+(F[j+16>>2]<<3)|0)){b=f;f=F[j+4>>2];if(!f|F[f>>2]){continue}F[f>>2]=130;continue}F[b>>2]=g-139;b=F[j+12>>2];F[b+4>>2]=2;F[j+12>>2]=b+8;b=f;continue}if(g>>>0<=250){sa:{if(i>>>0>>0){F[l>>2]=i+1;l=G[i|0];break sa}l=0;b=F[t>>2];if(!b|F[b>>2]){break sa}F[b>>2]=85}b=F[j+12>>2];if((b|0)==(F[j+8>>2]+(F[j+16>>2]<<3)|0)){b=f;f=F[j+4>>2];if(!f|F[f>>2]){continue}F[f>>2]=130;continue}F[b>>2]=((g<<8)+l|0)-63124;b=F[j+12>>2];F[b+4>>2]=2;F[j+12>>2]=b+8;b=f;continue}if((g|0)!=255){g=0-(g<<8)|0;ta:{if(i>>>0>>0){F[l>>2]=i+1;b=G[i|0];break ta}b=0;i=F[t>>2];if(!i|F[i>>2]){break ta}F[i>>2]=85}Md(j,(g-b|0)+64148|0);b=f;continue}ua:{if(i>>>0>>0){g=i+1|0;F[l>>2]=g;s=G[i|0];break ua}s=0;b=F[t>>2];if(!(!b|F[b>>2])){F[b>>2]=85}g=i}va:{if(g>>>0>>0){b=g+1|0;F[l>>2]=b;i=G[g|0];break va}i=0;b=F[t>>2];if(!(!b|F[b>>2])){F[b>>2]=85}b=g}wa:{if(b>>>0>>0){g=b+1|0;F[l>>2]=g;n=G[b|0];break wa}n=0;g=F[t>>2];if(!(!g|F[g>>2])){F[g>>2]=85}g=b}xa:{if(g>>>0>>0){F[l>>2]=g+1;g=G[g|0];break xa}g=0;b=F[t>>2];if(!b|F[b>>2]){break xa}F[b>>2]=85}b=i<<16|s<<24|n<<8|g;if(r){Md(j,b);H=b+32e3>>>0<64001?H:H&255?H:1;b=f;continue}Ib(j,b);b=f;continue;case 28:ya:{if(i>>>0>>0){g=i+1|0;F[l>>2]=g;b=G[i|0];break ya}b=0;g=F[t>>2];if(!(!g|F[g>>2])){F[g>>2]=85}g=i}za:{if(g>>>0>>0){F[l>>2]=g+1;g=G[g|0];break za}g=0;i=F[t>>2];if(!i|F[i>>2]){break za}F[i>>2]=85}i=F[j+12>>2];if((i|0)==(F[j+8>>2]+(F[j+16>>2]<<3)|0)){b=f;f=F[j+4>>2];if(!f|F[f>>2]){continue}F[f>>2]=130;continue}F[i>>2]=(g<<16|b<<24)>>16;b=F[j+12>>2];F[b+4>>2]=2;F[j+12>>2]=b+8;b=f;continue;case 30:case 31:i=F[j+8>>2];b=F[j+12>>2]-i>>3;x=b&-3;b=b&2;if(x>>>0>b>>>0){w=(g|0)==31;while(1){Aa:{if(w&255){v=F[j+8>>2];r=F[j+12>>2]-v>>3;Ba:{if(r>>>0<=b>>>0){p=0;g=F[j+4>>2];if(!g|F[g>>2]){break Ba}F[g>>2]=130;break Ba}Ca:{Da:{Ea:{g=v+(b<<3)|0;switch(F[g+4>>2]-1|0){case 0:break Da;case 1:break Ea;default:break Ca}}p=F[g>>2]<<16;break Ba}g=F[g>>2];p=((g>>31)+g|0)- -8192>>14;break Ba}p=F[g>>2]}q=F[k+15980>>2];l=F[k+15976>>2];g=b+1|0;Fa:{if(r>>>0<=g>>>0){i=0;m=F[j+4>>2];if(!m|F[m>>2]){break Fa}F[m>>2]=130;break Fa}Ga:{Ha:{Ia:{i=v+(g<<3)|0;switch(F[i+4>>2]-1|0){case 0:break Ha;case 1:break Ia;default:break Ga}}i=F[i>>2]<<16;break Fa}i=F[i>>2];i=((i>>31)+i|0)- -8192>>14;break Fa}i=F[i>>2]}m=b+2|0;Ja:{if(m>>>0>=r>>>0){n=0;m=F[j+4>>2];if(!m|F[m>>2]){break Ja}F[m>>2]=130;break Ja}Ka:{La:{Ma:{m=v+(m<<3)|0;switch(F[m+4>>2]-1|0){case 0:break La;case 1:break Ma;default:break Ka}}n=F[m>>2]<<16;break Ja}m=F[m>>2];n=((m>>31)+m|0)- -8192>>14;break Ja}n=F[m>>2]}p=p+q|0;s=l+n|0;m=b+3|0;Na:{if(m>>>0>=r>>>0){w=0;m=F[j+4>>2];if(!m|F[m>>2]){break Na}F[m>>2]=130;break Na}Oa:{Pa:{Qa:{m=v+(m<<3)|0;switch(F[m+4>>2]-1|0){case 0:break Pa;case 1:break Qa;default:break Oa}}w=F[m>>2]<<16;break Na}m=F[m>>2];w=((m>>31)+m|0)- -8192>>14;break Na}w=F[m>>2]}n=i+p|0;i=s+w|0;w=0;if((x-b|0)!=5){g=b;m=n;break Aa}b=b+4|0;Ra:{if(b>>>0>=r>>>0){m=F[j+4>>2];b=0;if(!m|F[m>>2]){break Ra}F[m>>2]=130;m=n;break Aa}Sa:{Ta:{Ua:{b=v+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break Ta;case 1:break Ua;default:break Sa}}m=(F[b>>2]<<16)+n|0;break Aa}b=F[b>>2];m=(((b>>31)+b|0)- -8192>>14)+n|0;break Aa}b=F[b>>2]}m=b+n|0;break Aa}p=F[k+15980>>2];r=F[j+8>>2];q=F[j+12>>2]-r>>3;Va:{if(q>>>0<=b>>>0){l=0;g=F[j+4>>2];if(!g|F[g>>2]){break Va}F[g>>2]=130;break Va}Wa:{Xa:{Ya:{g=r+(b<<3)|0;switch(F[g+4>>2]-1|0){case 0:break Xa;case 1:break Ya;default:break Wa}}l=F[g>>2]<<16;break Va}g=F[g>>2];l=((g>>31)+g|0)- -8192>>14;break Va}l=F[g>>2]}n=F[k+15976>>2];g=b+1|0;Za:{if(q>>>0<=g>>>0){m=0;i=F[j+4>>2];if(!i|F[i>>2]){break Za}F[i>>2]=130;break Za}_a:{$a:{ab:{i=r+(g<<3)|0;switch(F[i+4>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}m=F[i>>2]<<16;break Za}i=F[i>>2];m=((i>>31)+i|0)- -8192>>14;break Za}m=F[i>>2]}i=b+2|0;bb:{if(i>>>0>=q>>>0){w=0;i=F[j+4>>2];if(!i|F[i>>2]){break bb}F[i>>2]=130;break bb}cb:{db:{eb:{i=r+(i<<3)|0;switch(F[i+4>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}w=F[i>>2]<<16;break bb}i=F[i>>2];w=((i>>31)+i|0)- -8192>>14;break bb}w=F[i>>2]}l=l+n|0;n=m+p|0;i=b+3|0;fb:{if(i>>>0>=q>>>0){m=0;i=F[j+4>>2];if(!i|F[i>>2]){break fb}F[i>>2]=130;break fb}gb:{hb:{ib:{i=r+(i<<3)|0;switch(F[i+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}m=F[i>>2]<<16;break fb}i=F[i>>2];m=((i>>31)+i|0)- -8192>>14;break fb}m=F[i>>2]}s=l+w|0;m=m+n|0;w=1;if((x-b|0)!=5){g=b;i=s;break Aa}b=b+4|0;jb:{if(b>>>0>=q>>>0){b=0;i=F[j+4>>2];if(!i|F[i>>2]){break jb}F[i>>2]=130;break jb}kb:{lb:{mb:{b=r+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}b=F[b>>2]<<16;break jb}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break jb}b=F[b>>2]}i=b+s|0}_c(k+3904|0,p,l,n,s,m,i);F[k+15976>>2]=i;F[k+15980>>2]=m;b=g+4|0;if(x>>>0>b>>>0){continue}break}i=F[j+8>>2]}F[j+12>>2]=i;b=f;continue;case 27:b=F[j+8>>2];r=F[j+12>>2]-b>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){nb:{if(r-g&1){p=F[j+8>>2];b=F[j+12>>2]-p>>3;ob:{if(g>>>0>=b>>>0){l=0;i=F[j+4>>2];if(!i|F[i>>2]){break ob}F[i>>2]=130;break ob}pb:{qb:{rb:{i=(g<<3)+p|0;switch(F[i+4>>2]-1|0){case 0:break qb;case 1:break rb;default:break pb}}l=F[i>>2]<<16;break ob}i=F[i>>2];l=((i>>31)+i|0)- -8192>>14;break ob}l=F[i>>2]}g=g+1|0;i=F[k+15976>>2]+l|0;break nb}p=F[j+8>>2];b=F[j+12>>2]-p>>3;i=F[k+15976>>2]}sb:{if(b>>>0<=g>>>0){l=0;m=F[j+4>>2];if(!m|F[m>>2]){break sb}F[m>>2]=130;break sb}tb:{ub:{vb:{m=(g<<3)+p|0;switch(F[m+4>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}l=F[m>>2]<<16;break sb}m=F[m>>2];l=((m>>31)+m|0)- -8192>>14;break sb}l=F[m>>2]}n=F[k+15980>>2];m=g+1|0;wb:{if(m>>>0>=b>>>0){m=0;q=F[j+4>>2];if(!q|F[q>>2]){break wb}F[q>>2]=130;break wb}xb:{yb:{zb:{m=(m<<3)+p|0;switch(F[m+4>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}m=F[m>>2]<<16;break wb}m=F[m>>2];m=((m>>31)+m|0)- -8192>>14;break wb}m=F[m>>2]}q=l+n|0;l=g+2|0;Ab:{if(l>>>0>=b>>>0){l=0;n=F[j+4>>2];if(!n|F[n>>2]){break Ab}F[n>>2]=130;break Ab}Bb:{Cb:{Db:{l=(l<<3)+p|0;switch(F[l+4>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}l=F[l>>2]<<16;break Ab}l=F[l>>2];l=((l>>31)+l|0)- -8192>>14;break Ab}l=F[l>>2]}n=m+q|0;l=i+l|0;m=b;b=g+3|0;Eb:{if(m>>>0<=b>>>0){b=0;m=F[j+4>>2];if(!m|F[m>>2]){break Eb}F[m>>2]=130;break Eb}Fb:{Gb:{Hb:{b=(b<<3)+p|0;switch(F[b+4>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}b=F[b>>2]<<16;break Eb}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break Eb}b=F[b>>2]}b=b+n|0;_c(k+3904|0,q,i,n,l,b,l);F[k+15976>>2]=l;F[k+15980>>2]=b;g=g+4|0;if(s>>>0>g>>>0){continue}break}b=F[j+8>>2]}F[j+12>>2]=b;b=f;continue;case 26:b=F[j+8>>2];r=F[j+12>>2]-b>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){Ib:{if(r-g&1){p=F[j+8>>2];b=F[j+12>>2]-p>>3;Jb:{if(g>>>0>=b>>>0){l=0;i=F[j+4>>2];if(!i|F[i>>2]){break Jb}F[i>>2]=130;break Jb}Kb:{Lb:{Mb:{i=(g<<3)+p|0;switch(F[i+4>>2]-1|0){case 0:break Lb;case 1:break Mb;default:break Kb}}l=F[i>>2]<<16;break Jb}i=F[i>>2];l=((i>>31)+i|0)- -8192>>14;break Jb}l=F[i>>2]}g=g+1|0;i=F[k+15980>>2]+l|0;break Ib}p=F[j+8>>2];b=F[j+12>>2]-p>>3;i=F[k+15980>>2]}Nb:{if(b>>>0<=g>>>0){l=0;m=F[j+4>>2];if(!m|F[m>>2]){break Nb}F[m>>2]=130;break Nb}Ob:{Pb:{Qb:{m=(g<<3)+p|0;switch(F[m+4>>2]-1|0){case 0:break Pb;case 1:break Qb;default:break Ob}}l=F[m>>2]<<16;break Nb}m=F[m>>2];l=((m>>31)+m|0)- -8192>>14;break Nb}l=F[m>>2]}n=F[k+15976>>2];m=g+1|0;Rb:{if(m>>>0>=b>>>0){m=0;q=F[j+4>>2];if(!q|F[q>>2]){break Rb}F[q>>2]=130;break Rb}Sb:{Tb:{Ub:{m=(m<<3)+p|0;switch(F[m+4>>2]-1|0){case 0:break Tb;case 1:break Ub;default:break Sb}}m=F[m>>2]<<16;break Rb}m=F[m>>2];m=((m>>31)+m|0)- -8192>>14;break Rb}m=F[m>>2]}q=l+n|0;l=g+2|0;Vb:{if(l>>>0>=b>>>0){n=0;l=F[j+4>>2];if(!l|F[l>>2]){break Vb}F[l>>2]=130;break Vb}Wb:{Xb:{Yb:{l=(l<<3)+p|0;switch(F[l+4>>2]-1|0){case 0:break Xb;case 1:break Yb;default:break Wb}}n=F[l>>2]<<16;break Vb}l=F[l>>2];n=((l>>31)+l|0)- -8192>>14;break Vb}n=F[l>>2]}x=i+m|0;l=n+q|0;m=b;b=g+3|0;Zb:{if(m>>>0<=b>>>0){b=0;m=F[j+4>>2];if(!m|F[m>>2]){break Zb}F[m>>2]=130;break Zb}_b:{$b:{ac:{b=(b<<3)+p|0;switch(F[b+4>>2]-1|0){case 0:break $b;case 1:break ac;default:break _b}}b=F[b>>2]<<16;break Zb}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break Zb}b=F[b>>2]}b=b+l|0;_c(k+3904|0,i,q,x,l,x,b);F[k+15976>>2]=b;F[k+15980>>2]=x;g=g+4|0;if(s>>>0>g>>>0){continue}break}b=F[j+8>>2]}F[j+12>>2]=b;b=f;continue;case 25:l=F[j+12>>2];b=F[j+8>>2];i=l-b|0;x=i>>3;g=0;if(i>>>0>48){while(1){m=F[k+15980>>2];n=l-b>>3;bc:{if(n>>>0<=g>>>0){l=0;i=F[j+4>>2];if(!i|F[i>>2]){break bc}F[i>>2]=130;break bc}cc:{dc:{ec:{i=(g<<3)+b|0;switch(F[i+4>>2]-1|0){case 0:break dc;case 1:break ec;default:break cc}}l=F[i>>2]<<16;break bc}i=F[i>>2];l=((i>>31)+i|0)- -8192>>14;break bc}l=F[i>>2]}l=l+m|0;F[k+15980>>2]=l;m=F[k+15976>>2];i=g|1;fc:{if(i>>>0>=n>>>0){b=0;i=F[j+4>>2];if(!i|F[i>>2]){break fc}F[i>>2]=130;l=F[k+15980>>2];break fc}gc:{hc:{ic:{b=(i<<3)+b|0;switch(F[b+4>>2]-1|0){case 0:break hc;case 1:break ic;default:break gc}}b=F[b>>2]<<16;break fc}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break fc}b=F[b>>2]}b=b+m|0;F[k+15976>>2]=b;vd(k+3904|0,l,b);i=g+2|0;if(x>>>0>g+8>>>0){l=F[j+12>>2];b=F[j+8>>2];g=i;continue}break}g=i}if(g>>>0>>0){while(1){w=F[j+8>>2];v=F[j+12>>2]-w>>3;jc:{if(v>>>0<=g>>>0){p=0;b=F[j+4>>2];if(!b|F[b>>2]){break jc}F[b>>2]=130;break jc}kc:{lc:{mc:{b=w+(g<<3)|0;switch(F[b+4>>2]-1|0){case 0:break lc;case 1:break mc;default:break kc}}p=F[b>>2]<<16;break jc}b=F[b>>2];p=((b>>31)+b|0)- -8192>>14;break jc}p=F[b>>2]}l=F[k+15980>>2];b=g|1;nc:{if(b>>>0>=v>>>0){i=0;b=F[j+4>>2];if(!b|F[b>>2]){break nc}F[b>>2]=130;break nc}oc:{pc:{qc:{b=w+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break pc;case 1:break qc;default:break oc}}i=F[b>>2]<<16;break nc}b=F[b>>2];i=((b>>31)+b|0)- -8192>>14;break nc}i=F[b>>2]}m=F[k+15976>>2];b=g+2|0;rc:{if(b>>>0>=v>>>0){n=0;b=F[j+4>>2];if(!b|F[b>>2]){break rc}F[b>>2]=130;break rc}sc:{tc:{uc:{b=w+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break tc;case 1:break uc;default:break sc}}n=F[b>>2]<<16;break rc}b=F[b>>2];n=((b>>31)+b|0)- -8192>>14;break rc}n=F[b>>2]}r=l+p|0;b=g+3|0;vc:{if(b>>>0>=v>>>0){l=0;b=F[j+4>>2];if(!b|F[b>>2]){break vc}F[b>>2]=130;break vc}wc:{xc:{yc:{b=w+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break xc;case 1:break yc;default:break wc}}l=F[b>>2]<<16;break vc}b=F[b>>2];l=((b>>31)+b|0)- -8192>>14;break vc}l=F[b>>2]}s=i+m|0;q=n+r|0;b=g+4|0;zc:{if(b>>>0>=v>>>0){n=0;b=F[j+4>>2];if(!b|F[b>>2]){break zc}F[b>>2]=130;break zc}Ac:{Bc:{Cc:{b=w+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break Bc;case 1:break Cc;default:break Ac}}n=F[b>>2]<<16;break zc}b=F[b>>2];n=((b>>31)+b|0)- -8192>>14;break zc}n=F[b>>2]}l=l+s|0;m=n+q|0;b=g+5|0;Dc:{if(b>>>0>=v>>>0){b=0;i=F[j+4>>2];if(!i|F[i>>2]){break Dc}F[i>>2]=130;break Dc}Ec:{Fc:{Gc:{b=w+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break Fc;case 1:break Gc;default:break Ec}}b=F[b>>2]<<16;break Dc}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break Dc}b=F[b>>2]}b=b+l|0;_c(k+3904|0,r,s,q,l,m,b);F[k+15976>>2]=b;F[k+15980>>2]=m;g=g+6|0;if(x>>>0>g>>>0){continue}break}}F[j+12>>2]=F[j+8>>2];b=f;continue;case 22:g=F[j+12>>2];m=F[j+8>>2];if(!(G[k+15791|0]|g-m>>>0<16)){Hc:{Ic:{switch(F[m+4>>2]-1|0){case 1:b=F[m>>2]<<16;break Hc;case 0:b=F[m>>2];b=((b>>31)+b|0)- -8192>>14;break Hc;default:break Ic}}b=F[m>>2]}F[h>>2]=b+R}D[k+15791|0]=1;if(G[o+548|0]){break m}i=F[k+15980>>2];Jc:{if((g|0)==(m|0)){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break Jc}F[b>>2]=161;break Jc}b=g-8|0;F[j+12>>2]=b;Kc:{switch(F[b+4>>2]-1|0){case 1:g=F[b>>2]<<16;break Jc;case 0:b=F[b>>2];g=((b>>31)+b|0)- -8192>>14;break Jc;default:break Kc}}g=F[b>>2]}b=g+i|0;F[k+15980>>2]=b;if(F[o+468>>2]){break n}Nd(k+3904|0,b,F[k+15976>>2]);b=f;break k;case 21:m=F[j+12>>2];n=F[j+8>>2];if(!(G[k+15791|0]|m-n>>>0<24)){Lc:{Mc:{switch(F[n+4>>2]-1|0){case 1:b=F[n>>2]<<16;break Lc;case 0:b=F[n>>2];b=((b>>31)+b|0)- -8192>>14;break Lc;default:break Mc}}b=F[n>>2]}F[h>>2]=b+R}D[k+15791|0]=1;if(G[o+548|0]){break m}i=F[k+15976>>2];Nc:{Oc:{Pc:{if((m|0)==(n|0)){b=F[j+4>>2];if(!(!b|F[b>>2])){F[b>>2]=161}F[k+15976>>2]=i;p=F[k+15980>>2];break Pc}l=m-8|0;F[j+12>>2]=l;Qc:{Rc:{switch(F[l+4>>2]-1|0){case 0:g=F[l>>2];b=((g>>31)+g|0)- -8192>>14;break Qc;default:b=F[l>>2];break Qc;case 1:break Rc}}b=F[l>>2]<<16}F[k+15976>>2]=b+i;p=F[k+15980>>2];if((l|0)!=(n|0)){break Oc}}g=0;b=F[j+4>>2];if(!b|F[b>>2]){break Nc}F[b>>2]=161;break Nc}b=m-16|0;F[j+12>>2]=b;Sc:{switch(F[b+4>>2]-1|0){case 1:g=F[b>>2]<<16;break Nc;case 0:b=F[b>>2];g=((b>>31)+b|0)- -8192>>14;break Nc;default:break Sc}}g=F[b>>2]}b=g+p|0;F[k+15980>>2]=b;if(F[o+468>>2]){break n}Nd(k+3904|0,b,F[k+15976>>2]);b=f;break k;case 19:case 20:if(G[k+15692|0]?F[j+12>>2]-F[j+8>>2]>>>0>=16:0){break n}b=0;Xe(a,j,k+15720|0,h,k+15791|0,0);if(G[o+548|0]){l=0;break c}if((g|0)==19){b=F[k+15740>>2]+F[k+15772>>2]|0;if(b>>>0>=97){b=F[k+15688>>2];if(!b|F[b>>2]){break n}F[b>>2]=18;b=f;break k}F[k+15696>>2]=b;E[k+15692>>1]=257;F[k+15700>>2]=b+7>>>3;if(!b){break n}g=0;while(1){b=F[l>>2];Tc:{if(b>>>0>2]){F[l>>2]=b+1;b=G[b|0];break Tc}b=0;i=F[t>>2];if(!i|F[i>>2]){break Tc}F[i>>2]=85}D[(g+k|0)+15704|0]=b;g=g+1|0;if(g>>>0>2]){continue}break}break n}Wa(U,0,3856);b=G[a+184|0];F[k+48>>2]=O;D[k+45|0]=b;F[k+40>>2]=P;F[k+36>>2]=Q;F[k+32>>2]=a;F[N+16>>2]=0;F[N+20>>2]=0;F[N+8>>2]=0;F[N+12>>2]=0;F[N>>2]=0;F[N+4>>2]=0;F[k>>2]=J;b=F[k+15740>>2]+F[k+15772>>2]|0;Uc:{if(b>>>0>=97){if(F[a+4>>2]){break Uc}F[a+4>>2]=18;break Uc}F[k+8>>2]=b;E[k+4>>1]=257;F[k+12>>2]=b+7>>>3;if(!b){break Uc}g=0;while(1){b=F[l>>2];Vc:{if(b>>>0>2]){F[l>>2]=b+1;b=G[b|0];break Vc}b=0;i=F[t>>2];if(!i|F[i>>2]){break Vc}F[i>>2]=85}D[(g+k|0)+16|0]=b;g=g+1|0;if(g>>>0>2]){continue}break}}le(k+32|0,k+15752|0,k+15720|0,k,0,0);b=f;break k;case 14:if(!(!r|f&255)){Nd(k+3904|0,F[k+15980>>2],F[k+15976>>2]);F[k+15772>>2]=0;F[k+15740>>2]=0;F[y+16>>2]=0;F[y+20>>2]=0;F[y+8>>2]=0;F[y+12>>2]=0;F[y>>2]=0;F[y+4>>2]=0;F[k+15688>>2]=J;D[k+15693|0]=1;if((A|0)>0){g=A;Wc:{if(!(g&1)){break Wc}g=A-1|0;if(g>>>0<17){l=g;break Wc}l=0;if(F[a+4>>2]){break Wc}F[a+4>>2]=130}if((A|0)!=1){while(1){b=g-1|0;if(!(F[a+4>>2]|b>>>0<17)){F[a+4>>2]=130}g=g-2|0;l=g;Xc:{if(g>>>0<17){break Xc}l=0;if(F[a+4>>2]){break Xc}F[a+4>>2]=130}if(b>>>0>1){continue}break}}t=(l<<4)+C|0;A=0}F[t+12>>2]=F[t+4>>2];b=1;break k}b=F[j+12>>2]-F[j+8>>2]|0;Yc:{Zc:{if((b|0)!=8){if((b|0)!=40){break Yc}if(!G[k+15791|0]){break Zc}break Yc}if(G[k+15791|0]){break Yc}}W=h,X=Mc(j,0)+R|0,F[W>>2]=X}D[k+15791|0]=1;if(G[o+548|0]){break m}b=k+3904|0;if(G[b+11664|0]){D[b+11665|0]=1;vd(b,F[b+11736>>2],F[b+11740>>2]);if(G[b+11744|0]){ke(b,b+8|0,b+11704|0,F[b+11712>>2],F[b+11716>>2],1)}D[b+11744|0]=0;E[b+11664>>1]=0;D[b+11667|0]=1}if(G[a+9|0]|G[a+8|0]|F[j+12>>2]-F[j+8>>2]>>>0<9){break m}l=18;_c:{if(e){break _c}b=fc(j);e=fc(j);W=k,X=pb(j),F[W+15976>>2]=X;W=k,X=pb(j),F[W+15980>>2]=X;l=Ak(o,b,k+32|0);if(l){break _c}f=k+32|0;oe(a,f,c,d,1,F[k+15980>>2],F[k+15976>>2],k);b=f|4;Ia[F[o+600>>2]](F[o+4>>2],b,F[k+40>>2]-F[k+36>>2]|0);l=Ak(o,e,f);if(l){break _c}l=0;oe(a,k+32|0,c,d,1,0,0,k);Ia[F[o+600>>2]](F[o+4>>2],b,F[k+40>>2]-F[k+36>>2]|0)}b=0;break c;case 13:if(!r){break n}g=F[j+12>>2];i=F[j+8>>2];$c:{if((g|0)==(i|0)){p=0;b=F[j+4>>2];if(!b|F[b>>2]){break $c}F[b>>2]=161;break $c}g=g-8|0;F[j+12>>2]=g;ad:{switch(F[g+4>>2]-1|0){case 1:p=F[g>>2]<<16;break $c;case 0:b=F[g>>2];p=((b>>31)+b|0)- -8192>>14;break $c;default:break ad}}p=F[g>>2]}b=F[o+36>>2];F[b+4>>2]=0;F[b>>2]=p;bd:{if((g|0)==(i|0)){g=0;b=F[j+4>>2];if(!b|F[b>>2]){break bd}F[b>>2]=161;break bd}b=g-8|0;F[j+12>>2]=b;cd:{switch(F[b+4>>2]-1|0){case 1:g=F[b>>2]<<16;break bd;case 0:b=F[b>>2];g=((b>>31)+b|0)- -8192>>14;break bd;default:break cd}}g=F[b>>2]}b=F[o+32>>2];F[b>>2]=F[b>>2]+g;D[k+15791|0]=1;if(G[o+47|0]){break m}if(!(f&255)){b=0;break k}F[k+15980>>2]=F[k+15980>>2]+g;b=f;break k;case 12:dd:{if(i>>>0>=q>>>0){b=F[t>>2];if(b){g=0;if(F[b>>2]){break dd}F[b>>2]=85}g=0;break dd}F[l>>2]=i+1;ed:{fd:{gd:{hd:{g=G[i|0];switch(g-8|0){case 0:case 5:case 11:case 17:case 23:case 24:break k;case 29:break ed;case 28:break fd;case 27:break gd;case 26:break hd;default:break dd}}We(j,k+15980|0,k+15976|0,k+3904|0,31308,0);continue}We(j,k+15980|0,k+15976|0,k+3904|0,31320,0);break k}We(j,k+15980|0,k+15976|0,k+3904|0,31332,0);continue}We(j,k+15980|0,k+15976|0,k+3904|0,31344,1);continue}if(G[a+9|0]|g>>>0>37){break n}if(!(!r|(u|0)<=0|(g|0)==17)){u=0;b=f;break k}b=f;id:{jd:{kd:{ld:{switch(g-1|0){case 0:case 1:if(!r){break n}l=Mc(j,0);n=Mc(j,2);m=Mc(j,4);i=Mc(j,1);b=F[j+8>>2];md:{if(F[j+12>>2]-b>>>0<=15){b=F[j+4>>2];if(!b|F[b>>2]){break md}F[b>>2]=130;break md}F[b+16>>2]=n-(i+l|0);F[F[j+8>>2]+20>>2]=0}i=Mc(j,3);b=F[j+8>>2];nd:{if(F[j+12>>2]-b>>>0<=31){b=F[j+4>>2];if(!b|F[b>>2]){break nd}F[b>>2]=130;break nd}F[b+32>>2]=m-(i+n|0);F[F[j+8>>2]+36>>2]=0}Xe(a,j,(g|0)==1?k+15720|0:k+15752|0,h,k+15791|0,F[F[o+32>>2]+(((g|0)!=1)<<2)>>2]);b=f;if(G[o+548|0]){break m}break k;case 2:b=pb(j);Md(j,(pb(j)|0)!=0&(b|0)!=0);b=f;continue;case 3:Md(j,(pb(j)|pb(j))!=0);continue;case 4:Md(j,!pb(j));continue;case 5:if(!r){break k}h=F[o+4>>2];l=18;g=fc(j);b=fc(j);u=pb(j);f=pb(j);y=pb(j);od:{if(G[o+47|0]|e){break od}e=F[F[h+128>>2]+52>>2];pd:{if(!F[o+580>>2]){if(!e){break od}K=F[F[o+32>>2]>>2];break pd}K=F[F[o+32>>2]>>2];if(e){break pd}b=zk(o,b);g=zk(o,g)}if((b|g)<0){break od}m=f+K|0;qd:{if(G[o+46|0]){e=F[o+8>>2];d=F[F[e+156>>2]>>2];l=Fl(d,2);if(l){break od}c=F[d+88>>2];F[c+32>>2]=g;F[c+8>>2]=0;F[c+12>>2]=0;E[c+4>>1]=514;F[c>>2]=b;E[c+36>>1]=2;b=m-y|0;F[c+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;F[c+44>>2]=((u+(u>>31)|0)+32768&-65536)>>16;F[e+128>>2]=2;b=F[d+52>>2];F[e+72>>2]=1668246896;F[e+132>>2]=b;F[d+84>>2]=2;break qd}e=F[o+12>>2];F[e+56>>2]=0;F[e+84>>2]=0;f=F[e+24>>2];if(f){f=f+(E[e+22>>1]<<3)|0}else{f=0}F[e+60>>2]=f;h=e- -64|0;f=F[e+28>>2];if(f){f=f+E[e+22>>1]|0}else{f=0}F[h>>2]=f;f=F[e+32>>2];if(f){f=f+(E[e+20>>1]<<1)|0}else{f=0}F[e+68>>2]=f;if(G[e+16|0]){f=E[e+22>>1]<<3;F[e+76>>2]=f+F[e+40>>2];F[e+80>>2]=f+F[e+44>>2]}f=F[e+52>>2];if(f){f=f+(F[e+48>>2]<<5)|0}else{f=0}F[e+88>>2]=f;l=yk(F[o+4>>2],b,k+32|0);if(l){break od}b=F[o+36>>2];s=F[b>>2];q=F[b+4>>2];b=F[o+32>>2];n=F[b>>2];i=F[b+4>>2];oe(a,k+32|0,c,d,1,0,0,k+3900|0);e=F[F[F[o+4>>2]+128>>2]+52>>2];b=F[k+36>>2];F[k+4>>2]=F[k+40>>2]-b;F[k>>2]=b;if(e){Ia[F[F[e>>2]+4>>2]](F[e+4>>2],k)}rd:{if(G[k+15791|0]){b=F[o+32>>2];break rd}b=F[o+36>>2];s=F[b>>2];q=F[b+4>>2];b=F[o+32>>2];n=F[b>>2];i=F[b+4>>2]}F[b>>2]=0;F[b+4>>2]=0;l=yk(F[o+4>>2],g,k+32|0);if(l){break od}oe(a,k+32|0,c,d,1,m-y|0,u,k+3900|0);c=F[F[F[o+4>>2]+128>>2]+52>>2];b=F[k+36>>2];F[k+4>>2]=F[k+40>>2]-b;F[k>>2]=b;if(c){Ia[F[F[c>>2]+4>>2]](F[c+4>>2],k)}b=F[o+32>>2];F[b>>2]=n;F[b+4>>2]=i;b=F[o+36>>2];F[b>>2]=s;F[b+4>>2]=q}l=0}b=0;break c;case 6:if(!r){break n}b=pb(j);F[F[o+36>>2]+4>>2]=b;b=pb(j);F[F[o+36>>2]>>2]=b;g=pb(j);b=pb(j);i=F[o+32>>2];F[i>>2]=b+F[i>>2];F[i+4>>2]=g+F[i+4>>2];D[k+15791|0]=1;if(G[o+47|0]){break m}if(!(f&255)){b=0;break k}F[k+15980>>2]=b+F[k+15980>>2];F[k+15976>>2]=g+F[k+15976>>2];b=f;break k;case 8:b=pb(j);if((b|0)==-2147483648){Ib(j,2147483647);b=f;continue}g=b;b=b>>31;Ib(j,(g^b)-b|0);b=f;continue;case 9:Ib(j,pb(j)+pb(j)|0);continue;case 10:b=pb(j);Ib(j,pb(j)-b|0);b=f;continue;case 11:sd:{if(!(!r|!(H&255))){H=0;g=fc(j);f=fc(j);break sd}g=pb(j);f=pb(j)}Ib(j,_a(f,g));continue;case 13:b=pb(j);if((b|0)==-2147483648){Ib(j,2147483647);b=f;continue}Ib(j,0-b|0);b=f;continue;case 14:Md(j,(pb(j)|0)==(pb(j)|0));continue;case 15:if(!r){continue}m=fc(j);n=fc(j);g=F[j+8>>2];td:{switch(m|0){case 0:l=18;b=0;if((n|0)!=3|(!F[o+468>>2]|F[o+472>>2]!=7?f&255:0)){break c}Ib(j,F[k+15980>>2]);Ib(j,F[k+15976>>2]);z=2;break jd;case 1:if(n){break j}u=0;b=0;z=0;if(!(f&255)){continue}ud:{g=F[o+12>>2];if((E[g+22>>1]+E[g+58>>1]|0)+6>>>0<=I[g+4>>2]){break ud}if(!Ub(g,6,0)){break ud}l=0;break c}F[o+468>>2]=1;F[o+472>>2]=0;break id;case 2:l=18;if(n){b=0;break c}u=0;b=0;z=0;if(!(f&255)){continue}if(!F[o+468>>2]){break c}i=F[o+472>>2];F[o+472>>2]=i+1;b=f;if(i-1>>>0>5){continue}g=F[o+12>>2];if((E[g+22>>1]+E[g+58>>1]|0)+1>>>0>I[g+4>>2]){b=0;if(Ub(g,1,0)){break c}}b=i<<1;b=(k+15792|0)+((i>>>0>3?b-6|0:b)<<2)|0;F[b-8>>2]=F[k+15980>>2];F[b-4>>2]=F[k+15976>>2];b=f;vd:{switch(i-3|0){case 0:case 3:break vd;default:continue}}_c(k+3904|0,F[k+15792>>2],F[k+15796>>2],F[k+15800>>2],F[k+15804>>2],F[k+15808>>2],F[k+15812>>2]);continue e;case 3:z=1;if((n|0)!=1){break j}u=0;b=0;if(!(f&255)){continue}F[k+15772>>2]=0;F[k+15740>>2]=0;F[y+16>>2]=0;F[y+20>>2]=0;F[y+8>>2]=0;F[y+12>>2]=0;F[y>>2]=0;F[y+4>>2]=0;D[k+15693|0]=1;F[k+15688>>2]=J;b=f;continue;case 12:case 13:F[j+12>>2]=g;break id;case 14:case 15:case 16:case 17:case 18:b=0;l=18;i=F[o+644>>2];if(!i){break c}z=(m+((m|0)==18)|0)-13|0;if((n|0)!=(L(z,F[i>>2])|0)){break c}u=(F[j+12>>2]-g>>3)-n|0;b=z+u|0;s=0;while(1){l=Mc(j,u);g=1;if(I[i>>2]>=2){while(1){l=Ua(Mc(j,b),F[F[i+136>>2]+(g<<2)>>2])+l|0;b=b+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=F[j+8>>2];wd:{if(F[j+12>>2]-g>>3>>>0>>0){g=F[j+4>>2];if(!g|F[g>>2]){break wd}F[g>>2]=130;break wd}m=g;g=u<<3;F[m+g>>2]=l;F[(g+F[j+8>>2]|0)+4>>2]=0}u=u+1|0;s=s+1|0;if((z|0)!=(s|0)){continue}break};b=n-z|0;g=F[j+12>>2];if(b>>>0>g-F[j+8>>2]>>3>>>0){u=0;b=f;f=F[j+4>>2];if(!f|F[f>>2]){continue}F[f>>2]=161;continue}F[j+12>>2]=g-(b<<3);break jd;case 19:l=18;b=0;if((n|0)!=1){break c}m=F[o+644>>2];if(!m){break c}i=fc(j);if((i|0)<0){break c}g=F[m>>2];if(I[o+652>>2]>>0){break c}Ya(F[o+648>>2]+(i<<2)|0,F[m+136>>2],g<<2);break id;case 20:if((n|0)!=2){break j}Ib(j,pb(j)+pb(j)|0);break kd;case 21:if((n|0)!=2){break j}b=pb(j);Ib(j,pb(j)-b|0);break kd;case 22:if((n|0)!=2){break j}b=pb(j);Ib(j,Ua(pb(j),b));break kd;case 23:l=18;b=0;if((n|0)!=2){break c}i=pb(j);g=pb(j);if(!i){break c}Ib(j,_a(g,i));break kd;case 24:l=18;b=0;if(!F[o+644>>2]|(n|0)!=2){break c}g=fc(j);if((g|0)<0|g>>>0>=I[o+652>>2]){break c}b=pb(j);F[F[o+648>>2]+(g<<2)>>2]=b;break id;case 25:l=18;b=0;if(!F[o+644>>2]|(n|0)!=1){break c}g=fc(j);if((g|0)<0|g>>>0>=I[o+652>>2]){break c}Ib(j,F[F[o+648>>2]+(g<<2)>>2]);break kd;case 27:if((n|0)!=4){break j}g=pb(j);b=pb(j);Ib(j,(W=pb(j),X=pb(j),Y=(b|0)>(g|0),Y?W:X));break kd;case 28:if(n){break j}g=F[o+536>>2];i=F[g+648>>2];b=i<<13^i;b=b>>>17^b;F[g+648>>2]=b^b<<5;z=1;Ib(j,(i&65535)+1|0);break jd;default:break td}}b=0;l=18;if((n|0)<0){break c}z=0;if((m|0)<0){break c}u=0;b=f;g=1;f=n>>>0<3?n:3;if(!f){continue}while(1){W=(k+15960|0)+(f-g<<2)|0,X=pb(j),F[W>>2]=X;i=(f|0)==(g|0);g=g+1|0;if(!i){continue}break};u=f;continue;case 16:if(!r){continue}if((z|0)>0){z=z-1|0;continue}if(!u){break j}u=u-1|0;Ib(j,F[(k+15960|0)+(u<<2)>>2]);continue;case 17:pb(j);continue;case 19:g=fc(j);f=pb(j);if(g>>>0>31){continue}F[(k+15824|0)+(g<<2)>>2]=f;continue;case 20:f=fc(j);if(f>>>0>31){continue}Ib(j,F[(k+15824|0)+(f<<2)>>2]);continue;case 21:g=pb(j);b=pb(j);Ib(j,(W=pb(j),X=pb(j),Y=(b|0)>(g|0),Y?W:X));b=f;continue;case 22:g=F[o+536>>2];i=F[g+648>>2];b=i<<13^i;b=b>>>17^b;F[g+648>>2]=b^b<<5;Ib(j,(i&65535)+1|0);b=f;continue;case 23:b=pb(j);Ib(j,Ua(pb(j),b));b=f;continue;case 25:i=pb(j);xd:{if((i|0)<=0){g=0;break xd}b=i>>>(i>>>0>9)|0;while(1){g=b;b=(_a(i,b)+b|0)+1>>1;if((b|0)!=(g|0)){continue}break}}Ib(j,g);b=f;continue;case 26:b=pb(j);Ib(j,b);Ib(j,b);b=f;continue;case 27:g=pb(j);b=pb(j);Ib(j,g);Ib(j,b);b=f;continue;case 28:i=fc(j);g=F[j+12>>2];f=F[j+8>>2];if((g|0)==(f|0)){continue}f=g-f>>3;g=f-1|0;yd:{if((i|0)<0){break yd}g=0;if(f>>>0<=i>>>0){break yd}g=f+(i^-1)|0}Ib(j,Mc(j,g));continue;case 29:b=fc(j);m=0;v=fc(j);zd:{if((v|0)<2){break zd}if(v>>>0>F[j+12>>2]-F[j+8>>2]>>3>>>0){b=F[j+4>>2];if(!b|F[b>>2]){break zd}F[b>>2]=130;break zd}x=(b|0)%(v|0)|0;if(!x){break zd}r=0-v|0;s=0;q=2;b=-1;g=-1;while(1){Ad:{if((b|0)!=(g|0)){l=F[j+8>>2];n=s;i=q;break Ad}l=F[j+8>>2];g=b+1|0;b=l+(g<<3)|0;n=F[b>>2];i=F[b+4>>2];b=g}b=b+x|0;b=((b|0)<(v|0)?v&b>>31:r)+b|0;l=(b<<3)+l|0;s=F[l>>2];q=F[l+4>>2];F[l>>2]=n;F[l+4>>2]=i;m=m+1|0;if((v|0)!=(m|0)){continue}break}}b=f;continue;case 32:break ld;default:break k}}if(!r|!(f&255)){break n}W=k,X=pb(j),F[W+15976>>2]=X;W=k,X=pb(j),F[W+15980>>2]=X;F[o+468>>2]=0;break k}z=1}u=0;b=f;continue}u=0;b=f;continue e;case 11:if((A|0)<=0){break j}A=A-1|0;f=A;if(f>>>0>=17){F[a+4>>2]=130;f=0}t=(f<<4)+C|0;continue;case 10:case 29:l=18;b=0;i=(A|0)>16;if(i&!r|(i?r:0)){break c}A=A+1|0;i=A;if(i>>>0>=17){F[a+4>>2]=130;i=0}m=i<<4;i=F[j+12>>2];Bd:{if((i|0)==F[j+8>>2]){s=0;i=F[j+4>>2];if(!i|F[i>>2]){break Bd}F[i>>2]=161;break Bd}if(F[i-4>>2]!=2){s=0;i=F[j+4>>2];if(!i|F[i>>2]){break Bd}F[i>>2]=160;break Bd}i=i-8|0;F[j+12>>2]=i;s=F[i>>2]}t=m+C|0;Cd:{if(!r){break Cd}i=F[o+616>>2];if(!i){break Cd}i=ac(s,i);if(!i){s=-1;break Cd}s=F[i>>2]}F[t>>2]=0;F[t+4>>2]=0;F[t+8>>2]=0;F[t+12>>2]=0;if((g|0)==29){g=F[o+568>>2]+s|0;if(g>>>0>=I[o+560>>2]){break c}g=F[o+576>>2]+(g<<2)|0;b=F[g>>2];F[t+4>>2]=b;F[t+12>>2]=b;F[t+8>>2]=F[g+4>>2];b=f;continue}g=F[o+564>>2]+s|0;if(g>>>0>=I[o+556>>2]){break c}i=g<<2;m=i+F[o+572>>2]|0;g=F[m>>2];F[t+4>>2]=g;Dd:{if(G[o+48|0]){b=F[o+612>>2];if(b){if(!g){g=0;b=0;break Dd}b=F[b+i>>2]+g|0;break Dd}b=F[o+608>>2];g=((b|0)>0?b:0)+g|0;F[t+4>>2]=g;b=F[m+4>>2];break Dd}b=F[m+4>>2]}F[t+12>>2]=g;F[t+8>>2]=b;b=f;continue;case 0:case 2:case 17:break k;case 9:break p}}if(!r){break n}if(G[k+15568|0]){D[k+15569|0]=1;vd(k+3904|0,F[k+15640>>2],F[k+15644>>2]);if(G[k+15648|0]){ke(k+3904|0,T,V,F[k+15616>>2],F[k+15620>>2],1)}D[k+15648|0]=0;E[k+15568>>1]=0;D[k+15571|0]=1}D[k+15791|0]=1;b=f;break k}if((g|0)==24){i=F[k+15980>>2];l=F[j+8>>2];m=F[j+12>>2]-l>>3;Ed:{if(m>>>0<=b>>>0){s=0;g=F[j+4>>2];if(!g|F[g>>2]){break Ed}F[g>>2]=130;break Ed}Fd:{Gd:{Hd:{g=l+(b<<3)|0;switch(F[g+4>>2]-1|0){case 0:break Gd;case 1:break Hd;default:break Fd}}s=F[g>>2]<<16;break Ed}g=F[g>>2];s=((g>>31)+g|0)- -8192>>14;break Ed}s=F[g>>2]}g=i+s|0;F[k+15980>>2]=g;i=F[k+15976>>2];b=b|1;Id:{if(b>>>0>=m>>>0){b=0;m=F[j+4>>2];if(!m|F[m>>2]){break Id}F[m>>2]=130;g=F[k+15980>>2];break Id}Jd:{Kd:{Ld:{b=l+(b<<3)|0;switch(F[b+4>>2]-1|0){case 0:break Kd;case 1:break Ld;default:break Jd}}b=F[b>>2]<<16;break Id}b=F[b>>2];b=((b>>31)+b|0)- -8192>>14;break Id}b=F[b>>2]}b=b+i|0;F[k+15976>>2]=b;vd(k+3904|0,g,b)}F[j+12>>2]=F[j+8>>2];b=f;continue}b=f;break k}b=0;l=0;break c}F[a+120>>2]=g;b=f}F[j+12>>2]=F[j+8>>2];continue}break}break}l=18;b=0}if(F[a+4>>2]){break a}}F[a+4>>2]=l}a=k+15536|0;F[a>>2]=0;F[a+4>>2]=0;F[k+15528>>2]=0;d=F[k+15516>>2];c=k+15544|0;a=F[c>>2];if(a){Ia[F[d+8>>2]](d,a)}F[c>>2]=0;F[k+15740>>2]=0;F[k+15744>>2]=0;F[k+15732>>2]=0;c=F[k+15720>>2];a=F[k+15748>>2];if(a){Ia[F[c+8>>2]](c,a)}F[k+15748>>2]=0;F[k+15772>>2]=0;F[k+15776>>2]=0;F[k+15764>>2]=0;c=F[k+15752>>2];a=F[k+15780>>2];if(a){Ia[F[c+8>>2]](c,a)}F[k+15780>>2]=0;if(C){Ia[F[B+8>>2]](B,C)}if(!b){b=F[j>>2];a=F[j+8>>2];if(a){Ia[F[b+8>>2]](b,a)}F[j+8>>2]=0;if(j){Ia[F[b+8>>2]](b,j)}}Ga=k+15984|0}function gA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=Ga-160|0;Ga=e;F[e+156>>2]=c;q=F[c+80>>2];F[e+152>>2]=q;h=q;b=0;a:{m=F[c+68>>2];if(!m){break a}f=m;while(1){b:{if(G[h+18|0]!=6){p=f;break b}g=H[h+12>>1]&16;if(!(G[h+16|0]&32)){p=f;break b}if(g){p=f;break b}j=j+1|0;d=!!f;b=d+b|0;h=L(d,20)+h|0;g=(d|0)!=(f|0);p=f-d|0;f=p;if(g){continue}}break}d=1;if(!p){p=0;break a}c:while(1){d:{if(!d){F[61612]=F[40912];g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break d}g=h}d=j;if(G[g+18|0]!=14){break a}while(1){d=d+1|0;if(m>>>0<=d>>>0){break a}g=q+L(d,20)|0;e:{if(G[g+18|0]!=6){i=H[g+16>>1];break e}i=H[g+16>>1];if(!(i&32)){break e}if(!(H[g+12>>1]&16)){continue}}break}g=h;f=p;if(!(1<>1]&16;if(!(G[g+16|0]&32)){d=p;continue c}g=h;d=p;f=d;if(!i){continue}break}continue}}F[e+140>>2]=140220;F[e+128>>2]=124893;F[e+120>>2]=b;F[e+116>>2]=p;F[e+112>>2]=h;F[e+136>>2]=e+152;F[e+132>>2]=e+156;F[e+96>>2]=0;F[e+100>>2]=1;F[e+104>>2]=j;F[e+108>>2]=1;f:{if(p){l=j;k=h;i=p;while(1){b=k;while(1){l=l+1|0;t=i;g=!!i;i=i-g|0;f=L(g,20);k=f+b|0;g:{if((g|0)==(t|0)){g=t;break g}d=l;h:{i:{f=b+f|0;switch(G[f+18|0]-6|0){case 8:break h;case 0:break i;default:break g}}if(!(G[f+16|0]&32)){break g}b=k;if(!(H[f+12>>1]&16)){continue}break g}while(1){d=d+1|0;if(m>>>0<=d>>>0){break g}b=q+L(d,20)|0;j:{if(G[b+18|0]!=6){f=H[b+16>>1];break j}f=H[b+16>>1];if(!(f&32)){break j}if(!(H[b+12>>1]&16)){continue}}break}b=k;if(1<>1]&16)){continue}break k}while(1){d=d+1|0;if(m>>>0<=d>>>0){break k}h=q+L(d,20)|0;n:{if(G[h+18|0]!=6){f=H[h+16>>1];break n}f=H[h+16>>1];if(!(f&32)){break n}if(!(H[h+12>>1]&16)){continue}}break}h=b;if(1<>2];f=F[e+136>>2];F[e+88>>2]=f;F[e+92>>2]=q;m=F[e+132>>2];h=F[e+128>>2];F[e+80>>2]=h;F[e+84>>2]=m;n=F[e+124>>2];i=F[e+120>>2];F[e+72>>2]=i;F[e+76>>2]=n;k=F[e+116>>2];b=e- -64|0;d=F[e+112>>2];F[b>>2]=d;F[b+4>>2]=k;j=F[e+108>>2];l=e+56|0;g=F[e+104>>2];F[l>>2]=g;F[l+4>>2]=j;p=F[e+100>>2];b=F[e+96>>2];F[e+48>>2]=b;F[e+52>>2]=p;F[e+40>>2]=f;F[e+44>>2]=q;F[e+32>>2]=h;F[e+36>>2]=m;F[e+24>>2]=i;F[e+28>>2]=n;F[e+16>>2]=d;F[e+20>>2]=k;F[e+8>>2]=g;F[e+12>>2]=j;F[e>>2]=b;F[e+4>>2]=p;d=F[e+48>>2];o:{if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(!d){break o}F[e+48>>2]=d-L(F[e+52>>2],d);break o}if(!d){break o}F[e+48>>2]=d-L(F[e+52>>2],d);while(1){Pb(l);d=d-1|0;if(!F[e+68>>2]){break o}if(d){continue}break}}u=e+8|0;d=F[e>>2];g=F[e+20>>2];p:{if(!g){g=0;F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(!d){break p}F[e>>2]=d-L(F[e+4>>2],d);break p}if(!d){break p}F[e>>2]=d-L(F[e+4>>2],d);while(1){Pb(u);d=d-1|0;g=F[e+20>>2];if(!g){break p}if(d){continue}break}}j=F[e+96>>2];l=F[e+116>>2];if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(!v){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}w=e+104|0;p=0;o=1;d=(j|0)==(t|0);while(1){q:{r:{s:{if(!d){if(G[p+142160|0]!=2){break r}if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e+48>>2];i=F[e+68>>2];if(!i){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>=j>>>0){break s}F[e+48>>2]=d+L(F[e+52>>2],j-d|0);break r}if(d>>>0>>0){n=j-d|0;F[e+48>>2]=d+L(n,F[e+52>>2]);q=F[e+60>>2];m=F[e+88>>2];k=F[e+84>>2];h=F[e+56>>2];while(1){n=n-1|0;b=i;while(1){h=h+q|0;F[e+56>>2]=h;f=!!b;i=b-f|0;F[e+68>>2]=i;F[e+72>>2]=f+F[e+72>>2];d=F[e+64>>2]+L(f,20)|0;F[e+64>>2]=d;if((b|0)==(f|0)){break r}t:{u:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break t}b=i;if(!(H[d+12>>1]&16)){continue}break t;case 8:break u;default:break t}}b=F[F[k>>2]+68>>2];d=h;while(1){d=d+1|0;if(b>>>0<=d>>>0){break t}s=F[m>>2]+L(d,20)|0;v:{if(G[s+18|0]!=6){f=H[s+16>>1];break v}f=H[s+16>>1];if(!(f&32)){break v}if(!(H[s+12>>1]&16)){continue}}break}b=i;if(1<>>0<=j>>>0){break r}b=d-j|0;F[e+48>>2]=d-L(b,F[e+52>>2]);h=F[e+72>>2];s=F[e+60>>2];q=F[e+88>>2];m=F[e+84>>2];k=F[e+56>>2];while(1){b=b-1|0;while(1){k=k-s|0;F[e+56>>2]=k;d=!!h;h=h-d|0;F[e+72>>2]=h;i=d+i|0;F[e+68>>2]=i;d=F[e+64>>2]+L(d,-20)|0;F[e+64>>2]=d;if(!i){break r}w:{x:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break w}if(!(H[d+12>>1]&16)){continue}break w;case 8:break x;default:break w}}n=F[F[m>>2]+68>>2];d=k;while(1){d=d+1|0;if(n>>>0<=d>>>0){break w}r=F[q>>2]+L(d,20)|0;y:{if(G[r+18|0]!=6){f=H[r+16>>1];break y}f=H[r+16>>1];if(!(f&32)){break y}if(!(H[r+12>>1]&16)){continue}}break}if(1<>1]-1|0;break q}z:{p=F[c+68>>2];if(!p){break z}i=p-1|0;d=0;g=F[c+80>>2];b=G[g+15|0];while(1){A:{if((d|0)==(i|0)){d=p;break A}d=d+1|0;if((b|0)==G[(g+L(d,20)|0)+15|0]){continue}}break}if(!p){break z}q=F[c+80>>2];h=0;k=p;while(1){f=d;m=d>>>0>k>>>0?k:d;v=m-h|0;B:{if(v>>>0<2){break B}i=F[c+144>>2]|32;F[c+144>>2]=i;if(h>>>0>=m>>>0){break B}d=-1;b=h;t=m+(b^-1)|0;if(t>>>0>=3){j=v&-4;l=0;while(1){n=q+L(b,20)|0;g=F[n+8>>2];d=d>>>0>>0?d:g;g=F[n+28>>2];d=d>>>0>>0?d:g;g=F[n+48>>2];d=d>>>0>>0?d:g;g=F[n+68>>2];d=d>>>0>>0?d:g;b=b+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}g=0;l=v&3;if(l){while(1){j=F[(q+L(b,20)|0)+8>>2];d=d>>>0>>0?d:j;b=b+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(v&1){b=q+L(h,20)|0;if(F[b+8>>2]!=(d|0)){F[c+144>>2]=i;F[b+4>>2]=F[b+4>>2]|3}h=h+1|0}if(!t){break B}while(1){b=q+L(h,20)|0;if(F[b+8>>2]!=(d|0)){i=i|32;F[c+144>>2]=i;F[b+4>>2]=F[b+4>>2]|3}b=q+L(h+1|0,20)|0;if(F[b+8>>2]!=(d|0)){i=i|32;F[c+144>>2]=i;F[b+4>>2]=F[b+4>>2]|3}h=h+2|0;if((m|0)!=(h|0)){continue}break}}b=f+1|0;b=b>>>0>>0?k:b;g=G[(q+L(f,20)|0)+15|0];d=f;while(1){C:{d=d+1|0;if(k>>>0<=d>>>0){d=b;break C}if((g|0)==G[(q+L(d,20)|0)+15|0]){continue}}break}if(f>>>0>=p>>>0){break z}k=F[c+68>>2];h=f;continue}}h=F[a+124>>2];l=F[h>>2];if(!(!l|!p)){g=p-1|0;f=0;k=F[c+80>>2];b=G[k+15|0];while(1){D:{if((f|0)==(g|0)){f=p;break D}f=f+1|0;if((b|0)==G[(k+L(f,20)|0)+15|0]){continue}}break}d=0;while(1){b=f;g=b-d|0;j=G[(k+L(d,20)|0)+18|0]==18?1:g>>>0<3?g:3;i=j+d|0;E:{if(i>>>0<=d>>>0){break E}f=0;if(j){while(1){g=k+L(d,20)|0;F[g+4>>2]=l|F[g+4>>2];d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(j-1>>>0<=2){break E}while(1){g=k+L(d,20)|0;F[g+4>>2]=l|F[g+4>>2];F[g+24>>2]=l|F[g+24>>2];F[g+44>>2]=l|F[g+44>>2];g=g- -64|0;F[g>>2]=l|F[g>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}g=b+1|0;g=g>>>0

>>0?p:g;i=g-1|0;d=G[(k+L(b,20)|0)+15|0];f=b;while(1){F:{if((f|0)==(i|0)){f=g;break F}f=f+1|0;if((d|0)==G[(k+L(f,20)|0)+15|0]){continue}}break}d=b;if(d>>>0

>>0){continue}break}}G:{if(F[h+4>>2]){break G}g=F[a+56>>2];f=g-1|0;b=0;if((g|0)<=0){break G}i=F[a+36>>2];j=F[a+60>>2];h=f;H:{while(1){I:{g=b+h>>>1|0;a=F[j+L(g,36)>>2];J:{if(a>>>0>=1769172845){h=g-1|0;break J}if((a|0)==1769172844){break I}b=g+1|0}k=0;if((b|0)<=(h|0)){continue}break H}break}k=F[(j+L(g,36)|0)+28>>2]}h=0;g=(i|0)==(k|0)?0:k;F[e+96>>2]=g;b=f;while(1){K:{d=b+h>>>1|0;a=F[j+L(d,36)>>2];L:{if(a>>>0<=1768843636){if((a|0)==1768843636){k=F[(j+L(d,36)|0)+28>>2];break K}h=d+1|0;break L}b=d-1|0}k=0;if((b|0)>=(h|0)){continue}}break}h=0;a=(i|0)==(k|0)?0:k;F[e+100>>2]=a;g=a|g;b=f;while(1){M:{d=b+h>>>1|0;a=F[j+L(d,36)>>2];N:{if(a>>>0<=1835361385){if((a|0)==1835361385){k=F[(j+L(d,36)|0)+28>>2];break M}h=d+1|0;break N}b=d-1|0}k=0;if((b|0)>=(h|0)){continue}}break}b=0;a=(i|0)==(k|0)?0:k;F[e+104>>2]=a;g=a|g;while(1){O:{d=b+f>>>1|0;a=F[j+L(d,36)>>2];P:{if(a>>>0<=1718185569){if((a|0)==1718185569){h=F[(j+L(d,36)|0)+28>>2];break O}b=d+1|0;break P}f=d-1|0}h=0;if((b|0)<=(f|0)){continue}}break}a=(h|0)==(i|0)?0:h;F[e+108>>2]=a;a=a|g;if(!a|!p){break G}l=a^-1;b=p-1|0;d=0;f=F[c+80>>2];k=G[f+15|0];a=k;while(1){Q:{if((b|0)==(d|0)){d=p;break Q}d=d+1|0;if((a|0)==G[(f+L(d,20)|0)+15|0]){continue}}break}g=0;h=0;i=4;while(1){a=g;g=d;b=k&15;R:{if(b>>>0>8){break R}if(!(1<>>0<=h>>>0){break S}d=a+(h^-1)|0;i=F[(e+96|((i|0)==3?8:4))>>2];k=0;c=a-h&3;if(c){while(1){b=f+L(h,20)|0;F[b+4>>2]=i|l&F[b+4>>2];h=h+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(d>>>0<3){break S}while(1){b=f+L(h,20)|0;F[b+4>>2]=i|l&F[b+4>>2];F[b+24>>2]=i|l&F[b+24>>2];F[b+44>>2]=i|l&F[b+44>>2];b=b- -64|0;F[b>>2]=i|l&F[b>>2];h=h+4|0;if((a|0)!=(h|0)){continue}break}}U:{if(a>>>0>=g>>>0){break U}i=F[(e+96|j<<2)>>2];k=0;d=a;c=g-d&3;if(c){while(1){b=f+L(d,20)|0;F[b+4>>2]=i|l&F[b+4>>2];d=d+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if((a^-1)+g>>>0<3){break U}while(1){b=f+L(d,20)|0;F[b+4>>2]=i|l&F[b+4>>2];F[b+24>>2]=i|l&F[b+24>>2];F[b+44>>2]=i|l&F[b+44>>2];b=b- -64|0;F[b>>2]=i|l&F[b>>2];d=d+4|0;if((g|0)!=(d|0)){continue}break}}i=j}b=g+1|0;b=b>>>0

>>0?p:b;c=b-1|0;k=G[(f+L(g,20)|0)+15|0];d=g;while(1){V:{if((c|0)==(d|0)){d=b;break V}d=d+1|0;if(G[(f+L(d,20)|0)+15|0]==(k&255)){continue}}break}h=a;if(g>>>0

>>0){continue}break}}Ga=e+160|0;return}if(d>>>0<=j>>>0){break r}F[e+48>>2]=d+L(F[e+52>>2],j-d|0)}f=p<<1;i=E[f+141680>>1]+140352|0;b=D[p+141808|0];h=G[f+140224|0];W:{X:{if(!l){F[61612]=F[40912];d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;k=G[246450];if(h>>>0>k>>>0){break W}if(G[f+140225|0]>=k>>>0){break X}break W}k=G[F[e+112>>2]+18|0];if(h>>>0>k>>>0|G[f+140225|0]>>0){break W}}b=k-h|0}b=D[b+i|0]}p=D[b+141872|0];b=D[b+141952|0];Y:{if(!b){break Y}Z:{_:{switch(b-3|0){case 4:r=F[e+100>>2]+j|0;q=F[e+108>>2];$:{if(l){j=F[e+104>>2];d=F[e+112>>2];m=F[e+132>>2];n=F[e+136>>2];while(1){j=j+q|0;h=l;i=!!h;l=h-i|0;f=L(i,20);b=f+d|0;aa:{if((h|0)==(i|0)){i=h;break aa}ba:{ca:{f=d+f|0;switch(G[f+18|0]-6|0){case 8:break ba;case 0:break ca;default:break aa}}if(!(G[f+16|0]&32)){break aa}d=b;if(!(H[f+12>>1]&16)){continue}break aa}k=F[F[m>>2]+68>>2];d=j;while(1){d=d+1|0;if(k>>>0<=d>>>0){break aa}s=F[n>>2]+L(d,20)|0;da:{if(G[s+18|0]!=6){f=H[s+16>>1];break da}f=H[s+16>>1];if(!(f&32)){break da}if(!(H[s+12>>1]&16)){continue}}break}d=b;if(1<>2];ea:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],r-d|0);break ea}if(d>>>0<=r>>>0){break ea}F[e>>2]=d+L(F[e+4>>2],r-d|0);break ea}if(d>>>0>>0){h=r-d|0;F[e>>2]=d+L(h,F[e+4>>2]);k=F[e+12>>2];l=F[e+40>>2];j=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+k|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break ea}fa:{ga:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break fa}b=g;if(!(H[d+12>>1]&16)){continue}break fa;case 8:break ga;default:break fa}}b=F[F[j>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break fa}n=F[l>>2]+L(d,20)|0;ha:{if(G[n+18|0]!=6){f=H[n+16>>1];break ha}f=H[n+16>>1];if(!(f&32)){break ha}if(!(H[n+12>>1]&16)){continue}}break}b=g;if(1<>>0<=r>>>0){break ea}b=d;d=d-r|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Pb(u);d=d-1|0;g=F[e+20>>2];if(!g){break ea}if(d){continue}break}}d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|2;while(1){i=F[e+8>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;g=F[e+20>>2];continue}};case 10:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];ia:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break ia}if(d>>>0<=j>>>0){break ia}F[e>>2]=d+L(F[e+4>>2],j-d|0);break ia}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break ia}ja:{ka:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break ja}b=g;if(!(H[d+12>>1]&16)){continue}break ja;case 8:break ka;default:break ja}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ja}m=F[k>>2]+L(d,20)|0;la:{if(G[m+18|0]!=6){f=H[m+16>>1];break la}f=H[m+16>>1];if(!(f&32)){break la}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break ia}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){ma:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break ma}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|8;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)!=16){break Y}break Z}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 9:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];na:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break na}if(d>>>0<=j>>>0){break na}F[e>>2]=d+L(F[e+4>>2],j-d|0);break na}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break na}oa:{pa:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break oa}b=g;if(!(H[d+12>>1]&16)){continue}break oa;case 8:break pa;default:break oa}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break oa}m=F[k>>2]+L(d,20)|0;qa:{if(G[m+18|0]!=6){f=H[m+16>>1];break qa}f=H[m+16>>1];if(!(f&32)){break qa}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break na}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){ra:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break ra}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|7;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 11:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];sa:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break sa}if(d>>>0<=j>>>0){break sa}F[e>>2]=d+L(F[e+4>>2],j-d|0);break sa}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break sa}ta:{ua:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break ta}b=g;if(!(H[d+12>>1]&16)){continue}break ta;case 8:break ua;default:break ta}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ta}m=F[k>>2]+L(d,20)|0;va:{if(G[m+18|0]!=6){f=H[m+16>>1];break va}f=H[m+16>>1];if(!(f&32)){break va}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break sa}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){wa:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break wa}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|6;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 2:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];xa:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break xa}if(d>>>0<=j>>>0){break xa}F[e>>2]=d+L(F[e+4>>2],j-d|0);break xa}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break xa}ya:{za:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break ya}b=g;if(!(H[d+12>>1]&16)){continue}break ya;case 8:break za;default:break ya}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ya}m=F[k>>2]+L(d,20)|0;Aa:{if(G[m+18|0]!=6){f=H[m+16>>1];break Aa}f=H[m+16>>1];if(!(f&32)){break Aa}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break xa}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Ba:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break Ba}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|5;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 7:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];Ca:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ca}if(d>>>0<=j>>>0){break Ca}F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ca}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break Ca}Da:{Ea:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break Da}b=g;if(!(H[d+12>>1]&16)){continue}break Da;case 8:break Ea;default:break Da}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Da}m=F[k>>2]+L(d,20)|0;Fa:{if(G[m+18|0]!=6){f=H[m+16>>1];break Fa}f=H[m+16>>1];if(!(f&32)){break Fa}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ca}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Ga:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break Ga}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|4;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 8:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];Ha:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ha}if(d>>>0<=j>>>0){break Ha}F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ha}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break Ha}Ia:{Ja:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break Ia}b=g;if(!(H[d+12>>1]&16)){continue}break Ia;case 8:break Ja;default:break Ia}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Ia}m=F[k>>2]+L(d,20)|0;Ka:{if(G[m+18|0]!=6){f=H[m+16>>1];break Ka}f=H[m+16>>1];if(!(f&32)){break Ka}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ha}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){La:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break La}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|3;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 3:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];Ma:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ma}if(d>>>0<=j>>>0){break Ma}F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ma}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break Ma}Na:{Oa:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break Na}b=g;if(!(H[d+12>>1]&16)){continue}break Na;case 8:break Oa;default:break Na}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Na}m=F[k>>2]+L(d,20)|0;Pa:{if(G[m+18|0]!=6){f=H[m+16>>1];break Pa}f=H[m+16>>1];if(!(f&32)){break Pa}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ma}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Qa:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break Qa}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|2;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 6:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];Ra:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ra}if(d>>>0<=j>>>0){break Ra}F[e>>2]=d+L(F[e+4>>2],j-d|0);break Ra}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break Ra}Sa:{Ta:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break Sa}b=g;if(!(H[d+12>>1]&16)){continue}break Sa;case 8:break Ta;default:break Sa}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Sa}m=F[k>>2]+L(d,20)|0;Ua:{if(G[m+18|0]!=6){f=H[m+16>>1];break Ua}f=H[m+16>>1];if(!(f&32)){break Ua}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ra}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Va:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break Va}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|1;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 5:if(!l){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}d=F[e>>2];Wa:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],j-d|0);break Wa}if(d>>>0<=j>>>0){break Wa}F[e>>2]=d+L(F[e+4>>2],j-d|0);break Wa}if(d>>>0>>0){h=j-d|0;F[e>>2]=d+L(h,F[e+4>>2]);n=F[e+12>>2];k=F[e+40>>2];l=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break Wa}Xa:{Ya:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break Xa}b=g;if(!(H[d+12>>1]&16)){continue}break Xa;case 8:break Ya;default:break Xa}}b=F[F[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Xa}m=F[k>>2]+L(d,20)|0;Za:{if(G[m+18|0]!=6){f=H[m+16>>1];break Za}f=H[m+16>>1];if(!(f&32)){break Za}if(!(H[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Wa}b=d;d=d-j|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){_a:{Pb(u);d=d-1|0;if(!F[e+20>>2]){break _a}if(d){continue}}break}j=F[e+96>>2]}F[e+96>>2]=j-F[e+100>>2];Pb(w);d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4;while(1){i=F[e+8>>2];g=F[e+20>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 0:r=F[e+100>>2]+j|0;q=F[e+108>>2];$a:{if(l){j=F[e+104>>2];d=F[e+112>>2];m=F[e+132>>2];n=F[e+136>>2];while(1){j=j+q|0;h=l;i=!!h;l=h-i|0;f=L(i,20);b=f+d|0;ab:{if((h|0)==(i|0)){i=h;break ab}bb:{cb:{f=d+f|0;switch(G[f+18|0]-6|0){case 8:break bb;case 0:break cb;default:break ab}}if(!(G[f+16|0]&32)){break ab}d=b;if(!(H[f+12>>1]&16)){continue}break ab}k=F[F[m>>2]+68>>2];d=j;while(1){d=d+1|0;if(k>>>0<=d>>>0){break ab}s=F[n>>2]+L(d,20)|0;db:{if(G[s+18|0]!=6){f=H[s+16>>1];break db}f=H[s+16>>1];if(!(f&32)){break db}if(!(H[s+12>>1]&16)){continue}}break}d=b;if(1<>2];eb:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],r-d|0);break eb}if(d>>>0<=r>>>0){break eb}F[e>>2]=d+L(F[e+4>>2],r-d|0);break eb}if(d>>>0>>0){h=r-d|0;F[e>>2]=d+L(h,F[e+4>>2]);k=F[e+12>>2];l=F[e+40>>2];j=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+k|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break eb}fb:{gb:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break fb}b=g;if(!(H[d+12>>1]&16)){continue}break fb;case 8:break gb;default:break fb}}b=F[F[j>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break fb}n=F[l>>2]+L(d,20)|0;hb:{if(G[n+18|0]!=6){f=H[n+16>>1];break hb}f=H[n+16>>1];if(!(f&32)){break hb}if(!(H[n+12>>1]&16)){continue}}break}b=g;if(1<>>0<=r>>>0){break eb}b=d;d=d-r|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Pb(u);d=d-1|0;g=F[e+20>>2];if(!g){break eb}if(d){continue}break}}d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|8;while(1){i=F[e+8>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;g=F[e+20>>2];continue}};case 1:break _;default:break Y}}r=F[e+100>>2]+j|0;q=F[e+108>>2];ib:{if(l){j=F[e+104>>2];d=F[e+112>>2];m=F[e+132>>2];n=F[e+136>>2];while(1){j=j+q|0;h=l;i=!!h;l=h-i|0;f=L(i,20);b=f+d|0;jb:{if((h|0)==(i|0)){i=h;break jb}kb:{lb:{f=d+f|0;switch(G[f+18|0]-6|0){case 8:break kb;case 0:break lb;default:break jb}}if(!(G[f+16|0]&32)){break jb}d=b;if(!(H[f+12>>1]&16)){continue}break jb}k=F[F[m>>2]+68>>2];d=j;while(1){d=d+1|0;if(k>>>0<=d>>>0){break jb}s=F[n>>2]+L(d,20)|0;mb:{if(G[s+18|0]!=6){f=H[s+16>>1];break mb}f=H[s+16>>1];if(!(f&32)){break mb}if(!(H[s+12>>1]&16)){continue}}break}d=b;if(1<>2];nb:{if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(d>>>0>>0){F[e>>2]=d+L(F[e+4>>2],r-d|0);break nb}if(d>>>0<=r>>>0){break nb}F[e>>2]=d+L(F[e+4>>2],r-d|0);break nb}if(d>>>0>>0){h=r-d|0;F[e>>2]=d+L(h,F[e+4>>2]);k=F[e+12>>2];l=F[e+40>>2];j=F[e+36>>2];i=F[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+k|0;F[e+8>>2]=i;f=!!b;g=b-f|0;F[e+20>>2]=g;F[e+24>>2]=f+F[e+24>>2];d=F[e+16>>2]+L(f,20)|0;F[e+16>>2]=d;if((b|0)==(f|0)){break nb}ob:{pb:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break ob}b=g;if(!(H[d+12>>1]&16)){continue}break ob;case 8:break pb;default:break ob}}b=F[F[j>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ob}n=F[l>>2]+L(d,20)|0;qb:{if(G[n+18|0]!=6){f=H[n+16>>1];break qb}f=H[n+16>>1];if(!(f&32)){break qb}if(!(H[n+12>>1]&16)){continue}}break}b=g;if(1<>>0<=r>>>0){break nb}b=d;d=d-r|0;F[e>>2]=b-L(d,F[e+4>>2]);while(1){Pb(u);d=d-1|0;g=F[e+20>>2];if(!g){break nb}if(d){continue}break}}d=F[e+56>>2];if(!F[e+68>>2]){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=o<<4|7;while(1){i=F[e+8>>2];if(!g){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{D[(F[e+152>>2]+L(d,20)|0)+15|0]=h;d=d+1|0;g=F[e+20>>2];continue}}}o=1}rb:{if(G[p+142224|0]!=1){break rb}k=F[e+48>>2];i=F[e+68>>2];if(!i){F[61612]=F[40912];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;if(!k){break rb}F[e+48>>2]=k-L(F[e+52>>2],k);break rb}if(!k){break rb}F[e+48>>2]=k-L(F[e+52>>2],k);l=F[e+72>>2];m=F[e+60>>2];n=F[e+88>>2];j=F[e+84>>2];h=F[e+56>>2];while(1){k=k-1|0;while(1){h=h-m|0;F[e+56>>2]=h;b=!!l;l=l-b|0;F[e+72>>2]=l;i=b+i|0;F[e+68>>2]=i;b=F[e+64>>2]+L(b,-20)|0;F[e+64>>2]=b;if(!i){break rb}sb:{tb:{switch(G[b+18|0]-6|0){case 0:if(!(G[b+16|0]&32)){break sb}if(!(H[b+12>>1]&16)){continue}break sb;case 8:break tb;default:break sb}}b=F[F[j>>2]+68>>2];d=h;while(1){d=d+1|0;if(b>>>0<=d>>>0){break sb}q=F[n>>2]+L(d,20)|0;ub:{if(G[q+18|0]!=6){f=H[q+16>>1];break ub}f=H[q+16>>1];if(!(f&32)){break ub}if(!(H[q+12>>1]&16)){continue}}break}if(1<>2]+F[e+100>>2]|0;F[e+96>>2]=j;b=F[e+116>>2];i=F[e+104>>2];n=F[e+108>>2];k=F[e+136>>2];h=F[e+132>>2];vb:{while(1){i=i+n|0;F[e+104>>2]=i;f=!!b;l=b-f|0;F[e+116>>2]=l;F[e+120>>2]=f+F[e+120>>2];d=F[e+112>>2]+L(f,20)|0;F[e+112>>2]=d;if((b|0)!=(f|0)){wb:{switch(G[d+18|0]-6|0){case 0:if(!(G[d+16|0]&32)){break vb}b=l;if(!(H[d+12>>1]&16)){continue}break vb;case 8:break wb;default:break vb}}b=F[F[h>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break vb}m=F[k>>2]+L(d,20)|0;xb:{if(G[m+18|0]!=6){f=H[m+16>>1];break xb}f=H[m+16>>1];if(!(f&32)){break xb}if(!(H[m+12>>1]&16)){continue}}break}b=l;if(1<>2];e=F[d+4>>2];J=F[b+540>>2];a:{if(!J){J=Jc(e,8760);if(!J){l=11;break a}F[b+540>>2]=J;F[b+516>>2]=F[J>>2];d=F[b+96>>2]}qa=b,ra=pc(d,10021,1),F[qa+544>>2]=ra;if(!F[b+548>>2]){qa=b,ra=pc(Nb(e,10174),10252,0),F[qa+548>>2]=ra}if(!F[b+552>>2]){qa=b,ra=pc(Nb(e,10174),10390,0),F[qa+552>>2]=ra}ja=F[a+28>>2];F[b+140>>2]=0;F[b+132>>2]=0;F[b+136>>2]=0;w=F[a+8>>2];d=Bb(a,g);l=F[g>>2];if(l){break a}ka=b+132|0;oa=g+96|0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212){break o}l=2;if((d|0)==65536){break o}break a}if((d|0)<=1953658212){if((d|0)==131072){break o}l=2;if((d|0)==1330926671){break o}break a}if((d|0)==1953658213){break o}l=2;if((d|0)==1953784678){break o}break a}if((d|0)==2001684018){break m}if((d|0)==2001684038){break n}l=2;if((d|0)!=1954115633){break a}}F[ka>>2]=1953784678;if((d|0)!=1953784678){break l}l=sb(a,94560,ka);F[g>>2]=l;if(l){break a}d=F[b+140>>2];if(d){break k}l=8;break a}l=Za(a,w);F[g>>2]=l;if(l){break a}v=F[a+28>>2];F[g+16>>2]=0;l=sb(a,94576,g+40|0);F[g+16>>2]=l;if(l){break a}l=8;d=F[g+44>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=F[g+48>>2];if((d|0)!=F[a+4>>2]){break a}e=H[g+52>>1];if(!e|d>>>0<=L(e,20)+44>>>0){break a}e=e<<4|12;d=F[g+56>>2];if(e>>>0>=d>>>0|d&3){break a}d=F[g+68>>2];p:{if(!F[g+64>>2]){if(!(d|F[g+72>>2])){break p}break a}if(!d){break p}if(!F[g+72>>2]){break a}}if(!(F[g+80>>2]?F[g+76>>2]:1)){break a}d=0;q=gb(v,e,g+16|0);if(F[g+16>>2]){j=0;l=0;break d}j=gb(v,40,g+16|0);if(F[g+16>>2]){l=0;break d}i=H[g+52>>1];l=i;w=0;if(i){while(1){w=w+1|0;e=l>>>0>1;l=l>>>1|0;if(e){continue}break}}D[q|0]=G[g+47|0];D[q+1|0]=H[g+46>>1];D[q+2|0]=F[g+44>>2]>>>8;D[q+3|0]=F[g+44>>2];D[q+4|0]=G[g+53|0];f=G[g+52|0];e=i<<4;m=w-1|0;i=16<>>8;D[q+9|0]=m;D[q+8|0]=m>>>8;D[q+7|0]=i;D[q+6|0]=i>>>8;D[q+5|0]=f;l=Va(v,24,0,H[g+52>>1],0,g+16|0);if(F[g+16>>2]){break d}d=Va(v,4,0,H[g+52>>1],0,g+16|0);if(F[g+16>>2]){break d}e=tb(a,L(H[g+52>>1],20));F[g+16>>2]=e;if(e){break d}e=0;r=0;if(H[g+52>>1]){while(1){f=L(r,24)+l|0;qa=f,ra=Tb(a),F[qa>>2]=ra;qa=f,ra=Tb(a),F[qa+4>>2]=ra;qa=f,ra=Tb(a),F[qa+8>>2]=ra;qa=f,ra=Tb(a),F[qa+12>>2]=ra;qa=f,ra=Tb(a),F[qa+16>>2]=ra;i=e;e=F[f>>2];if(i>>>0>=e>>>0){lb(a);F[g+16>>2]=8;break d}F[(r<<2)+d>>2]=f;r=r+1|0;if(r>>>0>1]){continue}break}}lb(a);Dd(d,H[g+52>>1],4,66);u=H[g+52>>1];f=u<<4|12;w=L(u,20)+44|0;q:{if(!u){r=f;break q}n=0;i=F[g+56>>2];e=F[g+48>>2];r=f;while(1){r:{k=F[(n<<2)+d>>2];s:{if(F[k+4>>2]!=(w|0)){break s}h=F[k+8>>2];if(h>>>0>e>>>0|e-h>>>0>>0){break s}m=F[k+12>>2];if(m>>>0>i>>>0|i-m>>>0>>0){break s}if(h>>>0<=m>>>0){break r}}F[g+16>>2]=8;break d}F[k+20>>2]=r;r=(m+3&-4)+r|0;w=(h+3&-4)+w|0;n=n+1|0;if((u|0)!=(n|0)){continue}break}}t:{e=F[g+64>>2];if(!e){break t}if((e|0)==(w|0)){w=F[g+68>>2]+w|0;if(w>>>0<=I[g+48>>2]){break t}}F[g+16>>2]=8;break d}i=F[g+76>>2];if(!i){e=F[g+48>>2];break e}if((i|0)==(w+3&-4)){e=F[g+48>>2];w=i+F[g+80>>2]|0;if(e>>>0>=w>>>0){break e}}F[g+16>>2]=8;break d}l=Za(a,w);F[g>>2]=l;if(l){break a}p=F[a+28>>2];F[g+108>>2]=0;F[g+32>>2]=0;F[g+36>>2]=0;F[g+24>>2]=0;F[g+28>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+12>>2]=0;l=sb(a,94640,g+40|0);F[g+108>>2]=l;if(l){break a}l=8;if(F[g+44>>2]==2001684018){break a}i=F[g+48>>2];if((i|0)!=F[a+4>>2]){break a}f=H[g+52>>1];if(!f|i>>>0<=L(f,20)+48>>>0){break a}r=F[g+68>>2];e=F[g+64>>2];u:{if(!e){d=F[g+72>>2]|r;r=0;if(!d){break u}break a}if(!r){break u}if(!F[g+72>>2]){break a}}if(i-e>>>0>>0|e>>>0>=i>>>0){break a}e=F[g+76>>2];d=F[g+80>>2];if(!e&(d|0)!=0|e>>>0>=i>>>0|d>>>0>i-e>>>0){break a}w=0;F[g+104>>2]=0;ea=Va(p,32,0,f,0,g+108|0);if(F[g+108>>2]){l=0;r=0;break f}r=Va(p,4,0,H[g+52>>1],0,g+108|0);if(F[g+108>>2]){l=0;break f}j=0;n=0;v:{if(!H[g+52>>1]){l=0;break v}while(1){m=(j<<5)+ea|0;d=Jb(a,g+108|0);D[m|0]=d;if(F[g+108>>2]){l=0;break f}e=d&63;w:{if((e|0)==63){e=Bb(a,g+108|0);F[m+4>>2]=e;if(F[g+108>>2]){break g}d=G[m|0];break w}e=F[(e<<2)+94704>>2];F[m+4>>2]=e}x:{if(!((e|0)!=1819239265&(e|0)!=1735162214)){e=d&255;q=e>>>0>63;f=(e>>>0<64)<<8;break x}e=d&255;q=e>>>0<64;f=(e>>>0>63)<<8}e=Uj(a,m+8|0);F[g+108>>2]=e;if(e){break g}e=F[m+8>>2];F[m+12>>2]=e;y:{z:{if(!q){e=Uj(a,m+12|0);F[g+108>>2]=e;if(e){break g}i=F[m+12>>2];if(F[m+4>>2]==1819239265){break z}e=i}if((n^-1)>>>0>>0){break h}break y}e=0;if(i){break h}}F[m+24>>2]=e;F[m+20>>2]=n;F[m+16>>2]=f|(d&192)>>>6;F[(j<<2)+r>>2]=m;n=e+n|0;j=j+1|0;l=H[g+52>>1];if(j>>>0>>0){continue}break}}d=F[((l<<2)+r|0)-4>>2];e=F[d+24>>2];d=e+F[d+20>>2]|0;F[g+84>>2]=d;if(d>>>0>>0){break h}F[g+92>>2]=0;E[g+96>>1]=1;A:{if(F[g+44>>2]==1953784678){d=Bb(a,g+108|0);F[g+92>>2]=d;if(F[g+108>>2]){break g}if((d|0)!=65536&(d|0)!=131072){break h}d=td(a,oa);F[g+108>>2]=d;if(d){break g}d=H[g+96>>1];if(!d){break h}d=Va(p,12,0,d,0,g+108|0);F[g+104>>2]=d;if(F[g+108>>2]){l=0;break f}if(!H[g+96>>1]){break A}q=d+4|0;e=td(a,q);F[g+108>>2]=e;if(e){l=0;break f}while(1){i=L(w,12)+d|0;qa=i,ra=Bb(a,g+108|0),F[qa>>2]=ra;if(F[g+108>>2]){break g}l=0;qa=i,ra=Va(p,2,0,H[q>>1],0,g+108|0),F[qa+8>>2]=ra;if(F[g+108>>2]){w=0;break f}j=0;B:{if(!H[q>>1]){e=0;break B}e=0;d=0;while(1){f=td(a,g+6|0);F[g+108>>2]=f;if(f){break g}m=H[g+6>>1];if(m>>>0>=H[g+52>>1]){F[g+108>>2]=8;break g}E[F[i+8>>2]+(d<<1)>>1]=m;f=F[F[(m<<2)+r>>2]+4>>2];e=(f|0)==1735162214?m:e;j=(f|0)==1819239265?m:j;d=d+1|0;if(d>>>0>1]){continue}break}}if((j-e|0)!=1|e>>>0>j>>>0?e|j:0){break h}w=w+1|0;if(w>>>0>=H[g+96>>1]){break A}d=F[g+104>>2];q=(d+L(w,12)|0)+4|0;e=td(a,q);F[g+108>>2]=e;if(!e){continue}break}w=0;break f}F[g+104>>2]=0}d=F[a+8>>2];F[g+88>>2]=d;f=(d+F[g+60>>2]|0)+3|0;l=f&-4;e=F[g+48>>2];if(l>>>0>e>>>0){break h}d=F[g+64>>2];if(d){if((d|0)!=(l|0)){break h}l=F[g+68>>2]+(f|3)&-4}d=F[g+76>>2];if(d){if((d|0)!=(l|0)){break h}l=F[g+80>>2]+(l|3)&-4}if((e+3&-4)!=(l|0)){break h}C:{ba=c>>31;l=ba+((c^ba)-ba&65535)|0;fa=H[g+96>>1];if((l|0)<(fa|0)){break C}l=0;if((c|0)<0){break C}F[g+108>>2]=6;break g}D:{if(!F[g+92>>2]){l=H[g+52>>1];break D}w=0;m=F[g+104>>2]+L(l,12)|0;n=Va(p,4,0,H[m+4>>1],0,g+108|0);if(F[g+108>>2]){l=0;break f}f=H[m+4>>1];E:{if(!f){break E}l=0;if((f|0)!=1){e=f&65534;j=0;while(1){F[n+(l<<2)>>2]=F[(H[F[m+8>>2]+(l<<1)>>1]<<2)+r>>2];d=l|1;F[n+(d<<2)>>2]=F[(H[F[m+8>>2]+(d<<1)>>1]<<2)+r>>2];l=l+2|0;j=j+2|0;if((e|0)!=(j|0)){continue}break}}if(!(f&1)){break E}F[n+(l<<2)>>2]=F[(H[F[m+8>>2]+(l<<1)>>1]<<2)+r>>2]}r=Va(p,4,H[g+52>>1],f,r,g+108|0);if(F[g+108>>2]){break g}i=H[m+4>>1];F:{if(!i){break F}j=0;l=0;if(i-1>>>0>=3){f=i&65532;e=0;while(1){q=l<<2;F[q+r>>2]=F[n+q>>2];d=q|4;F[d+r>>2]=F[d+n>>2];d=q|8;F[d+r>>2]=F[d+n>>2];d=q|12;F[d+r>>2]=F[d+n>>2];l=l+4|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}e=i&3;if(!e){break F}while(1){d=l<<2;F[d+r>>2]=F[d+n>>2];l=l+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(n){Ia[F[p+8>>2]](p,n)}F[g+44>>2]=F[m>>2];l=H[m+4>>1];E[g+52>>1]=l}e=(l&65535)<<4|12;F[g+8>>2]=e;f=F[g+56>>2];if(f>>>0>e>>>0){d=F[g+48>>2];d=d>>>0>>6>>>0?d<<6:f;e=d>>>0<67108864?d:67108864;F[g+8>>2]=e}q=gb(p,e,g+108|0);F[g+12>>2]=q;l=0;if(F[g+108>>2]){w=0;break f}w=gb(p,40,g+108|0);if(F[g+108>>2]){break f}D[q|0]=G[g+47|0];D[q+1|0]=H[g+46>>1];D[q+2|0]=F[g+44>>2]>>>8;D[q+3|0]=F[g+44>>2];i=H[g+52>>1];if(i){d=0;l=i;while(1){f=d;d=d+1|0;j=l>>>0>1;l=l>>>1|0;if(j){continue}break}D[q+4|0]=i>>>8;j=G[g+52|0];d=i<<4;i=16<>>8;D[q+9|0]=f;D[q+8|0]=f>>>8;D[q+7|0]=i;D[q+6|0]=i>>>8;D[q+5|0]=j;d=H[g+52>>1]}else{d=0}qa=g,ra=kg(q,12),F[qa+16>>2]=ra;Dd(r,d,4,67);d=F[g+84>>2];if(!d|d>>>0>e>>>0){break i}l=gb(p,d,g+108|0);if(F[g+108>>2]){break f}d=tb(a,F[g+60>>2]);F[g+108>>2]=d;if(d){break f}F[g+108>>2]=7;lb(a);if(F[g+108>>2]){break f}la=F[g+84>>2];P=g+8|0;m=0;n=0;o=0;ca=0;da=0;h=Ga-48|0;Ga=h;F[h+16>>2]=0;e=F[g+12>>2];F[h+12>>2]=e;U=H[g+52>>1];q=U<<4|12;F[h+8>>2]=q;F[h>>2]=0;B=g+16|0;ga=F[B>>2];G:{H:{if(U){I:{while(1){K=F[(m<<2)+r>>2];if(F[K+4>>2]==1735162214){break I}m=m+1|0;if((U|0)!=(m|0)){continue}break}K=0}F[B+12>>2]=K;V=B+12|0;m=0;J:{while(1){d=F[(m<<2)+r>>2];if(F[d+4>>2]!=1819239265){m=m+1|0;if((U|0)!=(m|0)){continue}break J}break}F[B+16>>2]=d;m=8;if(!K|(F[d+16>>2]^F[K+16>>2])&256){break G}d=B+16|0;break H}F[B+16>>2]=0;m=8;if(K){break G}d=B+16|0;break H}F[B+12>>2]=0;F[B+16>>2]=0;V=B+12|0;d=B+16|0}ma=d;x=Va(p,1,0,16,0,h+16|0);K:{L:{if(F[h+16>>2]){break L}o=gb(p,40,h+16|0);if(F[h+16>>2]){break L}F[o+32>>2]=0;F[o+8>>2]=0;F[o+4>>2]=la;F[o>>2]=l;F[o+20>>2]=0;F[o+24>>2]=0;M:{N:{O:{if(!U){break O}pa=l+8|0;ha=12;while(1){i=F[(da<<2)+r>>2];d=F[i+28>>2];f=F[i+16>>2];aa=F[i+8>>2];X=F[i+4>>2];v=F[i+24>>2];i=F[i+20>>2];K=Za(o,i);F[h+16>>2]=K;if(i+v>>>0>la>>>0|K){break M}P:{Q:{if((X|0)==1751672161){d=Fb(o,34);F[h+44>>2]=d;if(d){break N}ca=fb(o,h+44|0);if(F[h+44>>2]){break N}E[B+6>>1]=ca;if(!(f&256)){break Q}break N}E[B+6>>1]=ca;F[h+4>>2]=0;if(f&256){R:{S:{T:{U:{V:{W:{if((X|0)!=1819239265){if((X|0)==1752003704){break W}if((X|0)!=1735162214){break N}m=0;F[h+44>>2]=0;F[h+40>>2]=e;n=F[o+8>>2];F[h+36>>2]=q;t=Va(p,12,0,7,0,h+44|0);if(F[h+44>>2]){break S}d=Fb(o,4);F[h+44>>2]=d;if(d){break S}Z=fb(o,h+44|0);if(F[h+44>>2]){break S}ia=fb(o,h+44|0);K=0;z=0;j=0;if(F[h+44>>2]){break R}E[B+4>>1]=Z;v=Z+1|0;if(F[F[B+16>>2]+8>>2]!=(L(v,ia?4:2)|0)|I[F[V>>2]+12>>2]<36){break T}e=Bb(o,h+44|0);if(F[h+44>>2]){break R}if(e>>>0>F[F[V>>2]+12>>2]-36>>>0){break T}F[t+8>>2]=e;d=n+36|0;F[t+4>>2]=d;F[t>>2]=d;i=Bb(o,h+44|0);if(F[h+44>>2]){break R}e=e+36|0;if(i>>>0>F[F[V>>2]+12>>2]-e>>>0){break T}F[t+20>>2]=i;d=e+n|0;F[t+16>>2]=d;F[t+12>>2]=d;f=Bb(o,h+44|0);if(F[h+44>>2]){break R}e=e+i|0;if(f>>>0>F[F[V>>2]+12>>2]-e>>>0){break T}F[t+32>>2]=f;d=e+n|0;F[t+28>>2]=d;F[t+24>>2]=d;i=Bb(o,h+44|0);if(F[h+44>>2]){break R}e=e+f|0;if(i>>>0>F[F[V>>2]+12>>2]-e>>>0){break T}F[t+44>>2]=i;d=e+n|0;F[t+40>>2]=d;F[t+36>>2]=d;f=Bb(o,h+44|0);if(F[h+44>>2]){break R}e=e+i|0;if(f>>>0>F[F[V>>2]+12>>2]-e>>>0){break T}F[t+56>>2]=f;d=e+n|0;F[t+52>>2]=d;F[t+48>>2]=d;i=Bb(o,h+44|0);if(F[h+44>>2]){break R}f=e+f|0;if(i>>>0>F[F[V>>2]+12>>2]-f>>>0){break T}F[t+68>>2]=i;d=f+n|0;F[t+64>>2]=d;F[t+60>>2]=d;e=Bb(o,h+44|0);if(F[h+44>>2]){break R}d=f+i|0;if(e>>>0>F[F[V>>2]+12>>2]-d>>>0){break T}F[t+80>>2]=e;d=d+n|0;F[t+76>>2]=d;F[t+72>>2]=d;m=Va(p,4,0,v,0,h+44|0);if(F[h+44>>2]){break S}na=F[t+64>>2];F[t+64>>2]=na+(Z+31>>>3&16380);z=Va(p,1,0,5120,0,h+44|0);if(F[h+44>>2]){break R}qa=B,ra=Va(p,2,0,Z,0,h+44|0),F[qa+8>>2]=ra;if(F[h+44>>2]){break R}d=5120;_=0;j=q;X:{if(Z){while(1){F[h+32>>2]=0;E[h+30>>1]=0;e=Za(o,(_>>>3|0)+na|0);F[h+44>>2]=e;if(e){break U}f=Jb(o,h+44|0);if(F[h+44>>2]){break U}e=Za(o,F[t+4>>2]);F[h+44>>2]=e;if(e){break U}W=fb(o,h+44|0);if(F[h+44>>2]){break U}Y=f&128>>>(_&7);F[t+4>>2]=F[t+4>>2]+2;Y:{Z:{if(W){if((W|0)==65535){D[h+22|0]=0;E[h+28>>1]=0;if(!Y){break U}f=0;j=Ga-16|0;Ga=j;n=F[t+52>>2];s=Za(o,n);F[j+12>>2]=s;_:{if(s){break _}e=32;while(1){if(e&32){e=fb(o,j+12|0);s=F[j+12>>2];if(s){break _}f=e>>>8&1|f;k=e&1?6:4;i=k+2|0;$:{if(e&8){break $}i=k+4|0;if(e&64){break $}i=k|e>>>4&8}s=Fb(o,i);F[j+12>>2]=s;if(!s){continue}break _}break}F[h+24>>2]=F[o+8>>2]-n;D[h+22|0]=f;s=F[j+12>>2]}Ga=j+16|0;if(s){break U}if(G[h+22|0]){e=Za(o,F[t+40>>2]);F[h+44>>2]=e;if(e){break U}e=td(o,h+28|0);F[h+44>>2]=e;if(e){break U}F[t+40>>2]=F[o+8>>2];e=H[h+28>>1]}else{e=0}j=(F[h+24>>2]+(e&65535)|0)+12|0;aa:{if(j>>>0<=d>>>0){j=d;break aa}z=Va(p,1,d,j,z,h+44|0);if(F[h+44>>2]){break U}}d=F[h+32>>2]+z|0;D[d|0]=255;D[d+1|0]=255;F[h+32>>2]=F[h+32>>2]+2;d=Za(o,F[t+64>>2]);F[h+44>>2]=d;if(d){break U}qa=h,ra=fb(o,h+44|0),E[qa+30>>1]=ra;if(F[h+44>>2]){break U}d=Za(o,F[t+64>>2]);F[h+44>>2]=d;if(d){break U}d=Gb(o,F[h+32>>2]+z|0,8);F[h+44>>2]=d;if(d){break U}F[t+64>>2]=F[t+64>>2]+8;F[h+32>>2]=F[h+32>>2]+8;d=Za(o,F[t+52>>2]);F[h+44>>2]=d;if(d){break U}e=F[h+24>>2];d=Gb(o,F[h+32>>2]+z|0,e);F[h+44>>2]=d;if(d){break U}F[t+52>>2]=e+F[t+52>>2];d=e+F[h+32>>2]|0;F[h+32>>2]=d;if(G[h+22|0]){d=d+z|0;D[d|0]=G[h+29|0];D[d+1|0]=G[h+28|0];F[h+32>>2]=F[h+32>>2]+2;d=Za(o,F[t+76>>2]);F[h+44>>2]=d;if(d){break U}e=H[h+28>>1];d=Gb(o,F[h+32>>2]+z|0,e);F[h+44>>2]=d;if(d){break U}F[t+76>>2]=e+F[t+76>>2];F[h+32>>2]=e+F[h+32>>2]}d=j;break Y}j=Va(p,2,0,W,0,h+44|0);if(F[h+44>>2]){break X}f=Za(o,F[t+16>>2]);F[h+44>>2]=f;i=0;e=0;if(f){break X}while(1){f=td(o,h+28|0);F[h+44>>2]=f;if(f){break X}f=H[h+28>>1];E[(i<<1)+j>>1]=f;C=e+f|0;if(C>>>0>>0){break X}e=C;i=i+1|0;if((W|0)!=(i|0)){continue}break}F[t+16>>2]=F[o+8>>2];if(I[t+32>>2]>>0){break X}k=F[t+44>>2];i=F[t+40>>2];n=i-F[t+36>>2]|0;if(k>>>0>>0){break X}u=F[o>>2];f=F[t+28>>2];F[h+24>>2]=0;y=Va(p,12,0,e,0,h+44|0);ba:{if(F[h+44>>2]){break ba}A=f+u|0;$=i+u|0;f=0;Q=0;M=0;N=0;i=0;R=8;u=k-n|0;ca:{if(u>>>0>>0){break ca}if(C){while(1){S=G[A+N|0];T=S&127;e=1;da:{if(T>>>0<84){break da}e=2;if(T>>>0<120){break da}e=T>>>0<124?3:4}i=e+f|0;if(u>>>0>>0|e>>>0>i>>>0){break ca}ea:{if(T>>>0<=9){s=0;e=G[f+$|0]|T<<7&1792;O=S&1?e:0-e|0;break ea}if(T>>>0<=19){O=0;e=G[f+$|0]|(T<<7)+768&1792;s=S&1?e:0-e|0;break ea}if(T>>>0<=83){n=G[f+$|0];f=T-20|0;e=n&15|f<<2&48;O=S&2?e+1|0:e^-1;e=f&48|n>>>4;s=S&1?e+1|0:e^-1;break ea}if(T>>>0<=119){k=f+$|0;n=T-84|0;f=((n&255)>>>0)/12|0;e=G[k|0]|f<<8;s=S&1?e+1|0:e^-1;e=G[k+1|0]|n-L(f,12)<<6&768;O=S&2?e+1|0:e^-1;break ea}if(T>>>0<=123){n=f+$|0;f=G[n+1|0];e=G[n|0]<<4|f>>>4;s=S&1?e:0-e|0;e=G[n+2|0]|f<<8&3840;O=S&2?e:0-e|0;break ea}f=f+$|0;e=G[f|0]<<8|G[f+1|0];s=S&1?e:0-e|0;e=G[f+3|0]|G[f+2|0]<<8;O=S&2?e:0-e|0}if((2147483647-M|0)<(s|0)&(M|0)>0|(M|0)<0&(-2147483648-M|0)>(s|0)|((2147483647-Q|0)<(O|0)&(Q|0)>0|(Q|0)<0&(-2147483648-Q|0)>(O|0))){break ca}e=y+L(N,12)|0;D[e+8|0]=((S^-1)&128)>>>7;Q=O+Q|0;F[e+4>>2]=Q;M=s+M|0;F[e>>2]=M;f=i;N=N+1|0;if((C|0)!=(N|0)){continue}break}}F[h+24>>2]=i;R=0}if(R){break ba}F[t+28>>2]=C+F[t+28>>2];e=F[t+40>>2]+F[h+24>>2]|0;F[t+40>>2]=e;e=Za(o,e);F[h+44>>2]=e;if(e){break ba}e=td(o,h+22|0);F[h+44>>2]=e;if(e){break ba}F[t+40>>2]=F[o+8>>2];if(C>>>0>134217727){break ba}n=(H[h+22>>1]+(L(C,5)+(W<<1)|0)|0)+12|0;fa:{if(n>>>0<=d>>>0){n=d;break fa}z=Va(p,1,d,n,z,h+44|0);if(F[h+44>>2]){break ba}}e=F[h+32>>2]+z|0;d=W<<8|W>>>8;D[e|0]=d;D[e+1|0]=d>>>8;F[h+32>>2]=F[h+32>>2]+2;ga:{if(Y){d=Za(o,F[t+64>>2]);F[h+44>>2]=d;if(d){break ba}qa=h,ra=fb(o,h+44|0),E[qa+30>>1]=ra;if(F[h+44>>2]){break ba}d=Za(o,F[t+64>>2]);F[h+44>>2]=d;if(d){break ba}d=Gb(o,F[h+32>>2]+z|0,8);F[h+44>>2]=d;if(d){break ba}F[t+64>>2]=F[t+64>>2]+8;break ga}f=0;d=0;e=0;N=0;ha:{if(!C){i=0;break ha}s=1;e=F[y+4>>2];d=F[y>>2];if((C|0)==1){i=e;f=d;break ha}f=C-1|0;u=f&1;ia:{if((C|0)==2){f=d;i=e;break ia}k=f&-2;f=d;i=e;while(1){A=y+L(s,12)|0;Q=F[A+16>>2];Y=F[A+4>>2];i=(i|0)<(Y|0)?Y:i;i=(i|0)<(Q|0)?Q:i;R=F[A+12>>2];A=F[A>>2];f=(f|0)<(A|0)?A:f;f=(f|0)<(R|0)?R:f;e=(e|0)>(Y|0)?Y:e;e=(e|0)>(Q|0)?Q:e;d=(d|0)>(A|0)?A:d;d=(d|0)>(R|0)?R:d;s=s+2|0;N=N+2|0;if((k|0)!=(N|0)){continue}break}}if(!u){break ha}k=y+L(s,12)|0;u=F[k+4>>2];i=(i|0)<(u|0)?u:i;k=F[k>>2];f=(f|0)<(k|0)?k:f;e=(e|0)>(u|0)?u:e;d=(d|0)>(k|0)?k:d}D[z+9|0]=i;D[z+7|0]=f;D[z+5|0]=e;D[z+3|0]=d;D[z+8|0]=i>>>8;D[z+6|0]=f>>>8;D[z+4|0]=e>>>8;D[z+2|0]=d>>>8;E[h+30>>1]=d}F[h+32>>2]=10;f=z+10|0;e=-1;i=0;while(1){d=f;e=H[(i<<1)+j>>1]+e|0;if((e|0)>65535){break ba}f=e<<8|(e&65280)>>>8;D[d|0]=f;D[d+1|0]=f>>>8;F[h+32>>2]=F[h+32>>2]+2;f=d+2|0;i=i+1|0;if((W|0)!=(i|0)){continue}break}f=H[h+22>>1];e=f<<8|f>>>8;D[d+2|0]=e;D[d+3|0]=e>>>8;F[h+32>>2]=F[h+32>>2]+2;d=Za(o,F[t+76>>2]);F[h+44>>2]=d;if(d){break ba}d=Gb(o,F[h+32>>2]+z|0,f);F[h+44>>2]=d;if(d){break ba}F[t+76>>2]=f+F[t+76>>2];F[h+32>>2]=f+F[h+32>>2];e=0;s=0;i=0;M=0;N=0;R=0;f=(f+(W<<1)|0)+12|0;ja:{ka:{la:{if(C){A=255;while(1){k=y+L(R,12)|0;u=F[k+4>>2];d=G[k+8|0]!=0;k=F[k>>2];ma:{if((k|0)==(e|0)){d=d|16;break ma}e=k-e|0;if(e+255>>>0<=510){M=M+1|0;d=((e|0)>0?18:2)|d;break ma}M=M+2|0}na:{if((s|0)==(u|0)){d=d|32;break na}e=u-s|0;if(e+255>>>0<=510){N=N+1|0;d=((e|0)>0?36:4)|d;break na}N=N+2|0}oa:{if(!((i&255)==255|(A&255)!=(d|0))){e=(f+z|0)-1|0;D[e|0]=G[e|0]|8;i=i+1|0;break oa}if(i&255){e=8;if(f>>>0>=n>>>0){break ja}D[f+z|0]=i;f=f+1|0}e=8;if(f>>>0>=n>>>0){break ja}D[f+z|0]=d;f=f+1|0;i=0}A=d;e=k;s=u;R=R+1|0;if((C|0)!=(R|0)){continue}break}if(i&255){d=8;if(f>>>0>=n>>>0){break ka}D[f+z|0]=i;e=f+1|0}else{e=f}d=8;f=M+N|0;if(f>>>0>>0){break ka}f=e+f|0;if(f>>>0>>0|f>>>0>n>>>0){break ka}f=e+M|0;if(!C){break la}i=0;d=0;A=0;while(1){u=d;s=y+L(A,12)|0;d=F[s+4>>2];k=i;i=F[s>>2];pa:{if((k|0)==(i|0)){break pa}k=i-k|0;if(k+255>>>0<=510){s=k;k=k>>31;D[e+z|0]=(s^k)-k;e=e+1|0;break pa}s=e+z|0;k=k<<8|(k&65280)>>>8;D[s|0]=k;D[s+1|0]=k>>>8;e=e+2|0}qa:{if((d|0)==(u|0)){break qa}k=d-u|0;if(k+255>>>0<=510){u=k;k=k>>31;D[f+z|0]=(u^k)-k;f=f+1|0;break qa}u=f+z|0;k=k<<8|(k&65280)>>>8;D[u|0]=k;D[u+1|0]=k>>>8;f=f+2|0}A=A+1|0;if((C|0)!=(A|0)){continue}break}break la}d=8;if(f>>>0>n>>>0){break ka}}F[h+32>>2]=f;d=0}e=d}if(!e){break Z}}K=y;break T}if(!Y){break Y}break U}if(y){Ia[F[p+8>>2]](p,y)}if(j){Ia[F[p+8>>2]](p,j)}d=n}F[(_<<2)+m>>2]=F[h+36>>2]-q;if(Oj(h+40|0,P,h+36|0,z,F[h+32>>2],p)){break U}k=Ga-16|0;Ga=k;f=F[h+40>>2];j=F[h+36>>2];D[k+10|0]=0;E[k+8>>1]=0;i=8;ra:{if(j>>>0>4294967292){break ra}e=j+3&-4;sa:{if((j|0)==(e|0)){e=j;break sa}F[k+12>>2]=0;if(e>>>0>31457280){break ra}n=F[P>>2];if(n>>>0>>0){f=Va(p,1,n,e,f,k+12|0);if(F[k+12>>2]){break ra}F[P>>2]=e}Ya(f+j|0,k+8|0,e-j|0);if(F[k+12>>2]){break ra}}F[h+40>>2]=f;F[h+36>>2]=e;i=0}Ga=k+16|0;if(i){break U}qa=h,ra=F[h+4>>2]+kg(z,F[h+32>>2])|0,F[qa+4>>2]=ra;if(W){E[F[B+8>>2]+(_<<1)>>1]=H[h+30>>1]}_=_+1|0;if((_|0)!=(Z|0)){continue}break}j=F[h+36>>2]}d=F[V>>2];e=j-F[d+28>>2]|0;F[d+8>>2]=e;F[F[ma>>2]+28>>2]=j;F[(Z<<2)+m>>2]=e;j=0;d=0;e=0;f=0;A=0;C=Ga-16|0;Ga=C;F[C+8>>2]=0;ta:{if(v>>>0<=1073741823){k=F[h+36>>2];O=F[h+40>>2];y=L(v,ia?4:2);e=Va(p,1,0,y,0,C+8|0);if(F[C+8>>2]){break ta}ua:{if(!v){break ua}va:{if(ia){d=e;if((v|0)!=1){i=v&-2;s=0;while(1){f=A<<2;n=F[f+m>>2];n=n<<24|n<<8&16711680|(n>>>8&65280|n>>>24);D[d|0]=n;D[d+1|0]=n>>>8;D[d+2|0]=n>>>16;D[d+3|0]=n>>>24;f=F[(f|4)+m>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);D[d+4|0]=f;D[d+5|0]=f>>>8;D[d+6|0]=f>>>16;D[d+7|0]=f>>>24;A=A+2|0;d=d+8|0;s=s+2|0;if((i|0)!=(s|0)){continue}break}}if(!(v&1)){break va}f=F[(A<<2)+m>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);D[d|0]=f;D[d+1|0]=f>>>8;D[d+2|0]=f>>>16;D[d+3|0]=f>>>24;break va}d=e;if(v-1>>>0>=3){n=v&-4;s=0;while(1){u=f<<2;i=F[u+m>>2];D[d+1|0]=i>>>1;D[d|0]=i>>>9;i=F[(u|4)+m>>2];D[d+3|0]=i>>>1;D[d+2|0]=i>>>9;i=F[(u|8)+m>>2];D[d+5|0]=i>>>1;D[d+4|0]=i>>>9;i=F[(u|12)+m>>2];D[d+7|0]=i>>>1;D[d+6|0]=i>>>9;f=f+4|0;d=d+8|0;s=s+4|0;if((n|0)!=(s|0)){continue}break}}n=v&3;if(!n){break va}while(1){i=F[(f<<2)+m>>2];D[d+1|0]=i>>>1;D[d|0]=i>>>9;f=f+1|0;d=d+2|0;A=A+1|0;if((n|0)!=(A|0)){continue}break}}d=0;i=y&-4;if(!i){f=0;break ua}f=0;while(1){f=(G[(d|3)+e|0]|(G[(d|1)+e|0]<<16|G[d+e|0]<<24|G[(d|2)+e|0]<<8))+f|0;d=d+4|0;if(i>>>0>d>>>0){continue}break}d=i}if((d|0)!=(y|0)){s=0;if(d>>>0>>0){n=y-d|0;A=0;while(1){i=d<<3&16;s=G[(d|1)+e|0]<<(i^16)|(G[d+e|0]<<(i^24)|s);d=d+2|0;A=A+2|0;if((n|0)!=(A|0)){continue}break}}f=f+s|0}F[h>>2]=f;F[C+12>>2]=0;wa:{f=k+y|0;if(f>>>0>31457280){break wa}d=F[P>>2];if(d>>>0>>0){O=Va(p,1,d,f,O,C+12|0);if(F[C+12>>2]){break wa}F[P>>2]=f}Ya(k+O|0,e,y);if(F[C+12>>2]){break wa}F[h+40>>2]=O;F[h+36>>2]=f;break ta}if(F[C+8>>2]){break ta}}F[C+8>>2]=8}if(e){Ia[F[p+8>>2]](p,e)}Ga=C+16|0;if(!F[C+8>>2]){break V}}break T}F[h+4>>2]=F[h>>2];q=d;break P}m=ca;if(!n){j=0;k=Ga-16|0;Ga=k;d=8;xa:{if(!U){break xa}ya:{while(1){m=F[(j<<2)+r>>2];if(F[m+4>>2]==1835104368){break ya}j=j+1|0;if((U|0)!=(j|0)){continue}break}m=0}j=0;while(1){e=F[(j<<2)+r>>2];if(F[e+4>>2]!=1751474532){j=j+1|0;if((U|0)!=(j|0)){continue}break xa}break}if(!m|!F[B+16>>2]){break xa}d=Za(o,F[m+20>>2]);if(d){break xa}d=Fb(o,8);F[k+12>>2]=d;if(d){break xa}i=fb(o,k+12|0);d=F[k+12>>2];if(d){break xa}E[B+4>>1]=i;d=Za(o,F[e+20>>2]);F[k+12>>2]=d;if(d){break xa}d=Fb(o,50);F[k+12>>2]=d;if(d){break xa}e=fb(o,k+12|0);d=F[k+12>>2];if(d){break xa}qa=B,ra=Va(p,2,0,i,0,k+12|0),F[qa+8>>2]=ra;d=F[k+12>>2];if(d){break xa}d=0;if(!i){break xa}f=e?4:2;j=F[F[B+16>>2]+20>>2];m=0;if(!e){while(1){d=Za(o,j);F[k+12>>2]=d;if(d){break xa}e=fb(o,k+12|0);d=F[k+12>>2];if(d){break xa}d=Za(o,F[F[B+12>>2]+20>>2]+(e<<1)|0);F[k+12>>2]=d;if(d){break xa}d=Fb(o,2);F[k+12>>2]=d;if(d){break xa}d=fb(o,k+12|0);E[F[B+8>>2]+(m<<1)>>1]=d;d=F[k+12>>2];if(d){break xa}j=f+j|0;d=0;m=m+1|0;if((i|0)!=(m|0)){continue}break xa}}while(1){d=Za(o,j);F[k+12>>2]=d;if(d){break xa}e=Bb(o,k+12|0);d=F[k+12>>2];if(d){break xa}d=Za(o,e+F[F[B+12>>2]+20>>2]|0);F[k+12>>2]=d;if(d){break xa}d=Fb(o,2);F[k+12>>2]=d;if(d){break xa}d=fb(o,k+12|0);E[F[B+8>>2]+(m<<1)>>1]=d;d=F[k+12>>2];if(d){break xa}j=f+j|0;d=0;m=m+1|0;if((i|0)!=(m|0)){continue}break}}Ga=k+16|0;if(d){break N}m=H[B+6>>1]}v=H[B+4>>1];d=m&65535;u=F[B+8>>2];j=0;s=0;A=0;y=Ga-16|0;Ga=y;F[y+12>>2]=0;F[y+8>>2]=F[h+12>>2];F[y+4>>2]=F[h+8>>2];e=Jb(o,y+12|0);za:{Aa:{Ba:{if(F[y+12>>2]|e&252|(!(e&3)|!d)){break Ba}if(v>>>0<=(d-1&65535)>>>0){break Aa}A=Va(p,2,0,d,0,y+12|0);if(F[y+12>>2]){break Ba}s=Va(p,2,0,v,0,y+12|0);if(F[y+12>>2]){break Aa}m=e&2;f=e&1;i=0;while(1){e=fb(o,y+12|0);if(F[y+12>>2]){break Aa}E[(i<<1)+A>>1]=e;i=i+1|0;if((d|0)!=(i|0)){continue}break}Ca:{if(!f){while(1){e=fb(o,y+12|0);if(F[y+12>>2]){break Ba}E[(j<<1)+s>>1]=e;j=j+1|0;if((d|0)!=(j|0)){continue}break}break Ca}i=0;if(d-1>>>0>=3){f=d&65532;K=0;while(1){k=j<<1;E[k+s>>1]=H[k+u>>1];e=k|2;E[e+s>>1]=H[e+u>>1];e=k|4;E[e+s>>1]=H[e+u>>1];e=k|6;E[e+s>>1]=H[e+u>>1];j=j+4|0;K=K+4|0;if((f|0)!=(K|0)){continue}break}}f=d&3;if(!f){break Ca}while(1){e=j<<1;E[e+s>>1]=H[e+u>>1];j=j+1|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}Da:{if(d>>>0>=v>>>0){break Da}if(!m){j=d;while(1){e=fb(o,y+12|0);if(F[y+12>>2]){break Ba}E[(j<<1)+s>>1]=e;j=j+1|0;if((v|0)!=(j|0)){continue}break}break Da}m=v+(d^-1)|0;i=v-d&3;Ea:{if(!i){e=d;break Ea}j=0;e=d;while(1){f=e<<1;E[f+s>>1]=H[f+u>>1];e=e+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(m>>>0<3){break Da}while(1){i=e<<1;E[i+s>>1]=H[i+u>>1];f=i+2|0;E[f+s>>1]=H[f+u>>1];f=i+4|0;E[f+s>>1]=H[f+u>>1];f=i+6|0;E[f+s>>1]=H[f+u>>1];e=e+4|0;if((v|0)!=(e|0)){continue}break}}i=0;m=d+v<<1;j=Va(p,1,0,m,0,y+12|0);if(F[y+12>>2]){break Aa}if(v){e=j;while(1){if(d>>>0>i>>>0){f=(i<<1)+A|0;D[e|0]=G[f+1|0];D[e+1|0]=G[f|0];e=e+2|0}f=(i<<1)+s|0;D[e|0]=G[f+1|0];D[e+1|0]=G[f|0];e=e+2|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}}qa=h,ra=kg(j,m),F[qa+4>>2]=ra;if(Oj(y+8|0,P,y+4|0,j,m,p)){break Aa}F[h+12>>2]=F[y+8>>2];F[h+8>>2]=F[y+4>>2];if(A){Ia[F[p+8>>2]](p,A)}if(s){Ia[F[p+8>>2]](p,s)}if(j){Ia[F[p+8>>2]](p,j)}d=F[y+12>>2];break za}j=0}if(A){Ia[F[p+8>>2]](p,A)}if(s){Ia[F[p+8>>2]](p,s)}if(j){Ia[F[p+8>>2]](p,j)}d=F[y+12>>2];d=d?d:8}Ga=y+16|0;if(d){break N}e=F[h+12>>2];break P}e=F[ma>>2];d=F[h+36>>2];F[e+8>>2]=d-F[e+28>>2];F[h+8>>2]=d;break R}j=0}if(F[h+44>>2]){break R}F[h+44>>2]=8;break R}K=0;z=0;j=0}e=F[h+40>>2];F[h+12>>2]=e;if(t){Ia[F[p+8>>2]](p,t)}d=p;if(m){Ia[F[d+8>>2]](d,m)}if(j){Ia[F[d+8>>2]](d,j)}if(z){Ia[F[d+8>>2]](d,z)}if(K){Ia[F[p+8>>2]](p,K)}n=1;if(!F[h+44>>2]){break P}break N}if((X|0)!=1751474532){break Q}if(v>>>0<12){break N}d=i+pa|0;D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0}u=i+l|0;m=0;z=0;j=v&-4;if(j){while(1){z=(G[u+(m|3)|0]|(G[u+(m|1)|0]<<16|G[m+u|0]<<24|G[u+(m|2)|0]<<8))+z|0;m=m+4|0;if(m>>>0>>0){continue}break}}if((j|0)!=(v|0)){m=0;Fa:{if(j>>>0>=v>>>0){break Fa}k=v&1;if((v|0)!=(j|1)){i=(v&3)-k|0;f=0;while(1){d=j<<3&16;m=G[u+(j|1)|0]<<(d^16)|(G[j+u|0]<<(d^24)|m);j=j+2|0;f=f+2|0;if((i|0)!=(f|0)){continue}break}}if(!k){break Fa}m=G[j+u|0]<<((j<<3^-1)&24)|m}z=m+z|0}F[h+4>>2]=z;F[h+44>>2]=0;f=q+v|0;if(f>>>0>31457280){break N}d=F[P>>2];if(d>>>0>>0){e=Va(p,1,d,f,e,h+44|0);if(F[h+44>>2]){break N}F[P>>2]=f}Ya(e+q|0,u,v);F[h+12>>2]=e;F[h+8>>2]=f;if(F[h+44>>2]){break N}}v=F[h+4>>2];D[x+15|0]=aa;D[x+11|0]=q;D[x+7|0]=v;D[x+3|0]=X;D[x+14|0]=aa>>>8;D[x+13|0]=aa>>>16;D[x+12|0]=aa>>>24;D[x+10|0]=q>>>8;D[x+9|0]=q>>>16;D[x+8|0]=q>>>24;D[x+6|0]=v>>>8;D[x+5|0]=v>>>16;D[x+4|0]=v>>>24;D[x+2|0]=X>>>8;D[x+1|0]=X>>>16;D[x|0]=X>>>24;F[h+44>>2]=0;f=ha+16|0;Ga:{if(f>>>0>31457280){d=e;break Ga}d=F[P>>2];Ha:{if(d>>>0>=f>>>0){d=e;break Ha}d=Va(p,1,d,f,e,h+44|0);if(F[h+44>>2]){d=e;break Ga}F[P>>2]=f}i=G[x+4|0]|G[x+5|0]<<8|(G[x+6|0]<<16|G[x+7|0]<<24);j=d+ha|0;e=G[x|0]|G[x+1|0]<<8|(G[x+2|0]<<16|G[x+3|0]<<24);D[j|0]=e;D[j+1|0]=e>>>8;D[j+2|0]=e>>>16;D[j+3|0]=e>>>24;D[j+4|0]=i;D[j+5|0]=i>>>8;D[j+6|0]=i>>>16;D[j+7|0]=i>>>24;i=G[x+12|0]|G[x+13|0]<<8|(G[x+14|0]<<16|G[x+15|0]<<24);e=G[x+8|0]|G[x+9|0]<<8|(G[x+10|0]<<16|G[x+11|0]<<24);D[j+8|0]=e;D[j+9|0]=e>>>8;D[j+10|0]=e>>>16;D[j+11|0]=e>>>24;D[j+12|0]=i;D[j+13|0]=i>>>8;D[j+14|0]=i>>>16;D[j+15|0]=i>>>24;F[h+12>>2]=d;ha=f}u=G[x+12|0]|G[x+13|0]<<8|(G[x+14|0]<<16|G[x+15|0]<<24);k=G[x+8|0]|G[x+9|0]<<8|(G[x+10|0]<<16|G[x+11|0]<<24);j=G[x+4|0]|G[x+5|0]<<8|(G[x+6|0]<<16|G[x+7|0]<<24);i=G[x|0]|G[x+1|0]<<8|(G[x+2|0]<<16|G[x+3|0]<<24);f=F[h+8>>2];D[h+42|0]=0;E[h+40>>1]=0;if(f>>>0>4294967292){break N}m=f+3&-4;Ia:{if((f|0)==(m|0)){e=d;m=f;break Ia}F[h+44>>2]=0;if(m>>>0>31457280){break N}e=F[P>>2];Ja:{if(e>>>0>=m>>>0){e=d;break Ja}e=Va(p,1,e,m,d,h+44|0);if(F[h+44>>2]){break N}F[P>>2]=m}Ya(e+f|0,h+40|0,m-f|0);if(F[h+44>>2]){break N}}F[h+12>>2]=e;F[h+8>>2]=m;if(q+aa>>>0>m>>>0){break N}ga=v+ga+((((j<<8&16711680|j<<24|(j>>>8&65280|j>>>24))+(i<<8&16711680|i<<24|(i>>>8&65280|i>>>24))|0)+(k<<8&16711680|k<<24|(k>>>8&65280|k>>>24))|0)+(u<<8&16711680|u<<24|(u>>>8&65280|u>>>24)))|0;q=m;da=da+1|0;if((da|0)!=(U|0)){continue}break}if(!U){break O}m=0;while(1){d=F[(m<<2)+r>>2];if(F[d+4>>2]!=1751474532){m=m+1|0;if((U|0)!=(m|0)){continue}break O}break}F[B+20>>2]=d;if(I[d+8>>2]<12){break N}f=F[d+28>>2]+e|0;d=-1313820742-ga|0;d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);D[f+8|0]=d;D[f+9|0]=d>>>8;D[f+10|0]=d>>>16;D[f+11|0]=d>>>24;F[g+100>>2]=F[h+8>>2];F[g+12>>2]=e;break K}F[B+20>>2]=0}K=F[h+16>>2]}if(K){break L}F[h+16>>2]=8}F[g+12>>2]=F[h+12>>2]}if(x){Ia[F[p+8>>2]](p,x)}Ka:{if(!o){break Ka}d=F[o+24>>2];if(!d){break Ka}Ia[d|0](o)}if(o){Ia[F[p+8>>2]](p,o)}m=F[h+16>>2]}Ga=h+48|0;F[g+108>>2]=m;if(m){break f}d=F[g+12>>2];j=F[g+100>>2];e=F[g+8>>2];if(j>>>0>>0){d=Va(p,1,e,j,d,g+108|0);F[g+12>>2]=d;if(F[g+108>>2]){break f}j=F[g+100>>2]}F[w+32>>2]=0;F[w+8>>2]=0;F[w+4>>2]=j;F[w>>2]=d;F[w+20>>2]=0;F[w+24>>2]=0;a=F[a+28>>2];F[w+24>>2]=68;F[w+28>>2]=a;Dl(F[b+104>>2],F[b+8>>2]>>>10&1);F[b+104>>2]=w;F[b+8>>2]=F[b+8>>2]&-1025;c=ba;break f}F[b+136>>2]=65536;F[b+140>>2]=1;a=gb(ja,4,g);F[b+144>>2]=a;l=F[g>>2];if(l){break a}F[a>>2]=w;F[g+40>>2]=0;break j}l=10;if(d>>>0>F[a+4>>2]>>>5>>>0){break a}qa=b,ra=Va(ja,4,0,d,0,g),F[qa+144>>2]=ra;l=F[g>>2];if(l){break a}l=tb(a,F[b+140>>2]<<2);F[g>>2]=l;if(l){break a}if(F[b+140>>2]>0){l=0;while(1){d=Tb(a);F[F[b+144>>2]+(l<<2)>>2]=d;l=l+1|0;if((l|0)>2]){continue}break}}lb(a);l=F[g>>2];F[g+40>>2]=l;if(l){break a}}k=F[b+104>>2];d=F[b+144>>2];a=c>>31;i=(a^c)-a|0;a=(i&65535)+a|0;if((a|0)>=F[b+140>>2]){l=6;if((c|0)>=0){break a}a=0}l=Za(k,F[d+(a<<2)>>2]);F[g+40>>2]=l;if(l){break a}l=Ia[F[J+88>>2]](b,k)|0;F[g+40>>2]=l;if(l){break a}f=F[b+100>>2];La:{Ma:{if(Ia[F[b+516>>2]](b,1719034226,k,g+16|0)|I[g+16>>2]<20){break Ma}J=Bb(k,g+40|0);if(F[g+40>>2]){break Ma}j=fb(k,g+40|0);if(F[g+40>>2]){break Ma}a=Fb(k,2);F[g+40>>2]=a;if(a){break Ma}l=fb(k,g+40|0);if(F[g+40>>2]){break Ma}q=fb(k,g+40|0);if(F[g+40>>2]){break Ma}d=fb(k,g+40|0);if(F[g+40>>2]){break Ma}n=fb(k,g+40|0);if(!F[g+40>>2]){break La}}J=0;j=0;l=0;q=0;d=0;n=0}r=0;a=0;Na:{if((J|0)!=65536|(q|0)!=20|(!l|l>>>0>16382)){break Na}e=l<<2;Oa:{if((e+4|0)!=(n|0)){if((e+6|0)!=(n|0)){break Na}if(d>>>0<=32511){break Oa}break Na}if(d>>>0>32511){break Na}}if(I[g+16>>2]<(L(l,20)+j|0)+L(d,n)>>>0){break Na}F[b+740>>2]=F[b+740>>2]|1;a=d}Pa:{if(!(D[b+740|0]&1)){e=0;break Pa}h=l<<2;e=gb(f,h,g+40|0);if(F[g+40>>2]){break Pa}r=gb(f,h,g+40|0);if(F[g+40>>2]){break Pa}m=(F[k+8>>2]+j|0)-16|0;if(l){J=m+8|0;j=0;d=e;while(1){qa=g,ra=af(k,J,d,4),F[qa+40>>2]=ra;d=d+4|0;J=q+J|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}}Qa:{if(!a){J=0;break Qa}l=(m+L(l,q)|0)+4|0;J=0;while(1){qa=g,ra=af(k,l,r,h),F[qa+40>>2]=ra;if(!hc(e,r,h)){break Qa}l=l+n|0;J=J+1|0;if((J|0)!=(a|0)){continue}break}J=a}a=((a|0)==(J|0))+a|0}if(e){Ia[F[f+8>>2]](f,e)}if(r){Ia[F[f+8>>2]](f,r)}d=i>>>16|0;Ra:{if(!(Ia[F[b+516>>2]](b,1735162214,k,0)|0)){break Ra}if(!(Ia[F[b+516>>2]](b,1128678962,k,0)|0)){break Ra}a=Ia[F[b+516>>2]](b,1128678944,k,0)|0?a:0}Sa:{if(d>>>0>(a&65535)>>>0){if((c|0)>=0){break Sa}a=0}F[b+12>>2]=a<<16;F[b+4>>2]=c;F[b>>2]=F[b+140>>2];if(fa){F[b>>2]=fa}l=F[g+40>>2];break a}l=6;break a}F[g+108>>2]=8;l=0;break f}F[g+108>>2]=8}w=0;l=0}if(ea){Ia[F[p+8>>2]](p,ea)}if(r){Ia[F[p+8>>2]](p,r)}if(l){Ia[F[p+8>>2]](p,l)}a=F[g+24>>2];if(a){Ia[F[p+8>>2]](p,a)}a=F[g+104>>2];if(a){l=0;if(H[g+96>>1]){while(1){d=F[a+8>>2];if(d){Ia[F[p+8>>2]](p,d)}F[a+8>>2]=0;a=a+12|0;l=l+1|0;if(l>>>0>1]){continue}break}a=F[g+104>>2]}if(a){Ia[F[p+8>>2]](p,a)}F[g+104>>2]=0}if(!F[g+108>>2]){F[g>>2]=0;break b}a=F[g+12>>2];if(a){Ia[F[p+8>>2]](p,a)}if(w){Ta:{if(!w){break Ta}a=F[w+24>>2];if(!a){break Ta}Ia[a|0](w)}if(w){Ia[F[p+8>>2]](p,w)}}l=F[g+108>>2];break c}if(!(F[g+56>>2]==(r|0)&(e|0)==(w|0))){F[g+16>>2]=8;break d}q=Va(v,1,f,r,q,g+16|0);if(F[g+16>>2]){break d}if(H[g+52>>1]){r=q+12|0;e=0;while(1){k=L(e,24)+l|0;D[r|0]=G[k+3|0];D[r+1|0]=H[k+2>>1];D[r+2|0]=F[k>>2]>>>8;D[r+3|0]=F[k>>2];D[r+4|0]=G[k+19|0];D[r+5|0]=H[k+18>>1];D[r+6|0]=F[k+16>>2]>>>8;D[r+7|0]=F[k+16>>2];D[r+8|0]=G[k+23|0];D[r+9|0]=H[k+22>>1];D[r+10|0]=F[k+20>>2]>>>8;D[r+11|0]=F[k+20>>2];D[r+12|0]=G[k+15|0];D[r+13|0]=H[k+14>>1];D[r+14|0]=F[k+12>>2]>>>8;D[r+15|0]=F[k+12>>2];f=Za(a,F[k+4>>2]);F[g+16>>2]=f;if(f){break d}f=tb(a,F[k+8>>2]);F[g+16>>2]=f;if(f){break d}Ua:{i=F[k+8>>2];f=F[k+12>>2];if((i|0)==(f|0)){Ya(F[k+20>>2]+q|0,F[a+32>>2],i);break Ua}F[g+108>>2]=f;n=g+108|0;m=F[a+32>>2];i=F[k+8>>2];h=Ga+-64|0;Ga=h;w=6;f=F[k+20>>2]+q|0;Va:{if(!n|(!f|!v)){break Va}F[h+20>>2]=f;F[h+12>>2]=i;F[h+8>>2]=m;f=F[n>>2];F[h+48>>2]=v;F[h+44>>2]=16;F[h+40>>2]=17;F[h+24>>2]=f;if(qm(h+8|0,47)){break Va}f=pm(h+8|0,4);Wa:{if((f|0)!=1){uf(h+8|0);if(f){break Wa}w=10;break Va}F[n>>2]=F[h+28>>2];f=uf(h+8|0)}w=0;f=f+5|0;if(f>>>0>2){break Va}w=F[(f<<2)+29288>>2]}Ga=h- -64|0;F[g+16>>2]=w;if(!w){if(F[g+108>>2]==F[k+12>>2]){break Ua}F[g+16>>2]=8}lb(a);break d}lb(a);m=F[k+12>>2];i=F[k+20>>2];f=m+i|0;if(f&3){Wa(f+q|0,0,((m^-1)-i&3)+1|0)}r=r+16|0;e=e+1|0;if(e>>>0>1]){continue}break}}e=F[g+56>>2];F[j+32>>2]=0;F[j+8>>2]=0;F[j+4>>2]=e;F[j>>2]=q;F[j+20>>2]=0;F[j+24>>2]=0;a=F[a+28>>2];F[j+24>>2]=69;F[j+28>>2]=a;Dl(F[b+104>>2],F[b+8>>2]>>>10&1);F[b+104>>2]=j;F[b+8>>2]=F[b+8>>2]&-1025}if(l){Ia[F[v+8>>2]](v,l)}if(d){Ia[F[v+8>>2]](v,d)}if(!F[g+16>>2]){F[g>>2]=0;break b}if(q){Ia[F[v+8>>2]](v,q)}Xa:{if(!j){break Xa}a=F[j+24>>2];if(!a){break Xa}Ia[a|0](j)}if(j){Ia[F[v+8>>2]](v,j)}l=F[g+16>>2]}F[g>>2]=l;if(l){break a}}a=F[b+104>>2];w=F[a+8>>2];d=Bb(a,g);l=F[g>>2];if(!l){continue}break}}Ga=g+112|0;return l|0}function Wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0;d=F[a+8>>2];F[b>>2]=F[a+4>>2];F[b+4>>2]=d;F[b+16>>2]=F[a+20>>2];d=F[a+16>>2];F[b+8>>2]=F[a+12>>2];F[b+12>>2]=d;F[b+20>>2]=F[a+152>>2];u=c;c=0;q=Ga-160|0;Ga=q;r=b+24|0;F[r+12>>2]=-2147483648;F[q>>2]=0;F[q+4>>2]=0;j=a+24|0;F[r>>2]=F[j+24>>2];D[r+8|0]=G[j+32|0];ao(F[j>>2],1196643650,F[j+36>>2],F[j+44>>2],q+20|0,q+12|0);F[r+4>>2]=F[j+28>>2];D[r+9|0]=G[j+33|0];ao(F[j>>2],1196445523,F[j+40>>2],F[j+48>>2],q+24|0,q+16|0);d=F[j- -64>>2];a:{if(!d){break a}dh(F[j+68>>2],d,28,744);g=F[j+64>>2];if(g>>>0>=2){p=1;while(1){i=g>>>0>p>>>0;b:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break b}d=F[j+68>>2]+L(p,28)|0}f=F[d>>2];h=c>>>0>>0;c:{if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break c}d=F[j+68>>2]+L(c,28)|0}d:{if((f|0)!=F[d>>2]){e:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break e}d=F[j+68>>2]+L(p,28)|0}c=c+1|0;f:{if(g>>>0<=c>>>0){F[61614]=F[40914];e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break f}e=F[j+68>>2]+L(c,28)|0}f=F[d+4>>2];F[e>>2]=F[d>>2];F[e+4>>2]=f;F[e+24>>2]=F[d+24>>2];f=F[d+20>>2];F[e+16>>2]=F[d+16>>2];F[e+20>>2]=f;f=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=f;break d}g:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break g}d=F[j+68>>2]+L(p,28)|0}h:{if(D[d+12|0]&1){i:{if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break i}d=F[j+68>>2]+L(c,28)|0}F[d+12>>2]=F[d+12>>2]|1;j:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break j}d=F[j+68>>2]+L(p,28)|0}e=F[d+8>>2];k:{if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break k}d=F[j+68>>2]+L(c,28)|0}F[d+8>>2]=e;l:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break l}d=F[j+68>>2]+L(p,28)|0}e=F[d+16>>2];if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;F[61612]=e;break h}F[(F[j+68>>2]+L(c,28)|0)+16>>2]=e;break h}m:{n:{o:{p:{q:{if(c>>>0>>0){d=L(c,28);if(!(D[(d+F[j+68>>2]|0)+12|0]&1)){break p}g=d+F[j+68>>2]|0;break q}d=F[40911];F[61610]=F[40910];F[61611]=d;F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;if(!(D[246444]&1)){break o}}F[g+12>>2]=F[g+12>>2]^1}if(h){break n}}F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break m}d=F[j+68>>2]+L(c,28)|0}r:{if(!i){F[61614]=F[40914];e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;f=246432;break r}f=F[j+68>>2]+L(p,28)|0}e=F[d+8>>2];d=F[f+8>>2];e=d>>>0>>0?e:d;s:{if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break s}d=F[j+68>>2]+L(c,28)|0}F[d+8>>2]=e}t:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break t}d=F[j+68>>2]+L(p,28)|0}u:{if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break u}g=F[j+68>>2]+L(c,28)|0;F[g+12>>2]=F[g+12>>2]|F[d+12>>2]&2}v:{if(!i){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break v}d=F[j+68>>2]+L(p,28)|0}e=F[g+20>>2];d=F[d+20>>2];e=d>>>0>e>>>0?e:d;w:{if(!h){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break w}d=F[j+68>>2]+L(c,28)|0}F[d+20>>2]=e;e=F[j+64>>2];f=e>>>0>c>>>0;x:{if(!f){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break x}d=F[j+68>>2]+L(c,28)|0}y:{if(e>>>0<=p>>>0){F[61614]=F[40914];e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;h=246432;break y}h=F[j+68>>2]+L(p,28)|0}e=F[d+24>>2];d=F[h+24>>2];e=d>>>0>e>>>0?e:d;z:{if(!f){F[61614]=F[40914];d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break z}d=F[j+68>>2]+L(c,28)|0}F[d+24>>2]=e}g=F[j+64>>2];p=p+1|0;if(g>>>0>p>>>0){continue}break}}c=c+1|0;c=(c|0)>0?c:0;if(c>>>0>>0){F[j+64>>2]=c;g=c}if(!g){break a}o=q+36|0;f=3;v=F[q+4>>2];k=F[q>>2];p=0;while(1){A:{if(g>>>0<=p>>>0){F[61614]=F[40914];c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;h=246432;break A}h=F[j+68>>2]+L(p,28)|0}d=F[h+8>>2];B:{C:{if(D[h+12|0]&1){c=0;if((d|0)==1){break C}}if(!d){break B}c=32-O(d)|0;c=c>>>0<8?c:8}e=c+f|0;if(e>>>0>30){break B}c=F[h>>2];k=(c|0)==F[q+12>>2]?F[h+20>>2]:k;d=$n(F[j>>2],1196643650,F[j+36>>2],F[j+44>>2],c,q+32|0);c=F[h>>2];v=(c|0)==F[q+16>>2]?F[h+24>>2]:v;n=0;D:{E:{if($n(F[j>>2],1196445523,F[j+40>>2],F[j+48>>2],c,o)|d){break E}c=F[h+12>>2];if(c&16){if(bo(F[j>>2],1196643650,F[h>>2],q+32|0)|bo(F[j>>2],1196445523,F[h>>2],o)){break E}c=F[h+12>>2]}n=1;if(!(c&2)){break D}}F:{G:{H:{d=F[r+28>>2];if((d|0)>=0){c=d;w=F[r+32>>2];i=w+1|0;i=(i|0)>0?i:0;if(c>>>0>=i>>>0){break G}while(1){c=((c>>>1|0)+c|0)+8|0;if(i>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>119304646)){d=ob(F[r+36>>2],L(c,36));if(d){break H}}F[r+28>>2]=-1}F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break F}F[r+28>>2]=c;F[r+36>>2]=d;w=F[r+32>>2]}if(i>>>0>w>>>0){Wa(F[r+36>>2]+L(w,36)|0,0,L(i-w|0,36))}F[r+32>>2]=i;c=(F[r+36>>2]+L(i,36)|0)-36|0}F[c>>2]=F[h>>2];F[c+4>>2]=F[q+32>>2];F[c+8>>2]=F[q+36>>2];F[c+12>>2]=F[h+20>>2];F[c+16>>2]=F[h+24>>2];d=(G[h+12|0]>>>1&2|G[c+32|0]&-3)^2;D[c+32|0]=d;d=(G[h+12|0]>>>1&4|d&-5)^4;D[c+32|0]=d;w=d&-9|G[h+12|0]>>>2&8;D[c+32|0]=w;I:{if(!(!(D[h+12|0]&1)|F[h+8>>2]!=1)){m=-2147483648;e=f;f=31;break I}m=(1<>2]=F[r+12>>2]|m&F[h+16>>2]<>2]=m;F[c+20>>2]=f;D[c+32|0]=w&254|n;F[c+28>>2]=1<>2]}p=p+1|0;if(p>>>0>>0){continue}break}F[q+4>>2]=v;F[q>>2]=k;if(!g){break a}F[j+64>>2]=0}J:{K:{L:{d=F[j+72>>2];if((d|0)>=0){c=F[j+76>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break K}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=ob(F[j+80>>2],c<<3);if(d){break L}}F[j+72>>2]=-1}c=F[40909];F[61608]=F[40908];F[61609]=c;d=246432;break J}F[j+72>>2]=c;F[j+80>>2]=d;c=F[j+76>>2]}if(c>>>0>>0){Wa(F[j+80>>2]+(c<<3)|0,0,e-c<<3)}F[j+76>>2]=e;d=(F[j+80>>2]+(e<<3)|0)-8|0}c=F[j+52>>2];F[d+4>>2]=0;F[d>>2]=c;F[j+52>>2]=F[j+52>>2]+1;M:{N:{O:{d=F[j+84>>2];if((d|0)>=0){c=F[j+88>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break N}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=ob(F[j+92>>2],c<<3);if(d){break O}}F[j+84>>2]=-1}c=F[40909];o=c;h=F[40908];F[61608]=h;F[61609]=c;d=246432;break M}F[j+84>>2]=c;F[j+92>>2]=d;c=F[j+88>>2]}if(c>>>0>>0){Wa(F[j+92>>2]+(c<<3)|0,0,e-c<<3)}F[j+88>>2]=e;h=F[40908];o=F[40909];d=(F[j+92>>2]+(e<<3)|0)-8|0}c=F[j+56>>2];F[d+4>>2]=0;F[d>>2]=c;F[j+56>>2]=F[j+56>>2]+1;i=o;d=(i&65535)<<16|h>>>16;while(1){J=N<<2;R=J+j|0;if(F[R+52>>2]){S=J+124976|0;T=u+J|0;c=L(N,12);l=c+r|0;Q=l- -64|0;P=c+j|0;s=q+J|0;A=(q+20|0)+J|0;w=0;e=0;M=0;while(1){y=F[A>>2];P:{if((y|0)==65535|F[s>>2]!=(w|0)){break P}B=F[T>>2];v=0;C=F[S>>2];z=Zn(F[j>>2],C);while(1){F[q+28>>2]=32;_n(F[j>>2],C,y,B,v,q+28|0,q+32|0);m=0;c=F[q+28>>2];if(!c){break P}while(1){n=(q+32|0)+(m<<2)|0;if(z>>>0>I[n>>2]){Q:{R:{S:{c=F[l+40>>2];if((c|0)>=0){g=c;f=F[l+44>>2];k=f+1|0;k=(k|0)>0?k:0;if(c>>>0>=k>>>0){break R}while(1){g=((g>>>1|0)+g|0)+8|0;if(k>>>0>=g>>>0){continue}break}if(!(c>>>0>g>>>0|g>>>0>536870910)){c=ob(F[l+48>>2],g<<3);if(c){break S}}F[l+40>>2]=-1}F[61608]=h;F[61609]=o;c=246432;f=d;break Q}F[l+48>>2]=c;F[l+40>>2]=g;f=F[l+44>>2]}if(f>>>0>>0){Wa(F[l+48>>2]+(f<<3)|0,0,k-f<<3)}F[l+44>>2]=k;f=F[l+48>>2]+(k<<3)|0;c=f-8|0;f=G[f-6|0]}F[c+4>>2]=-2147483648;g=F[n>>2];D[c+2|0]=f&248|3;E[c>>1]=g;c=F[q+28>>2]}m=m+1|0;if(m>>>0>>0){continue}break}v=c+v|0;if((c|0)==32){continue}break}}p=0;m=F[r+32>>2];if(m){while(1){T:{if(m>>>0<=p>>>0){F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break T}c=F[r+36>>2]+L(p,36)|0}U:{if(F[(c+J|0)+12>>2]!=(w|0)){break U}m=F[r+32>>2];V:{if(p>>>0>=m>>>0){F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;m=F[r+32>>2];c=246432;break V}c=F[r+36>>2]+L(p,36)|0}v=F[(c+J|0)+4>>2];y=F[T>>2];W:{if(m>>>0<=p>>>0){F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;m=F[r+32>>2];c=246432;break W}c=F[r+36>>2]+L(p,36)|0}B=F[c+24>>2];X:{if(m>>>0<=p>>>0){F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;m=F[r+32>>2];c=246432;break X}c=F[r+36>>2]+L(p,36)|0}g=G[c+32|0];Y:{if(m>>>0<=p>>>0){F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;m=F[r+32>>2];c=246432;break Y}c=F[r+36>>2]+L(p,36)|0}f=G[c+32|0];Z:{if(m>>>0<=p>>>0){F[61616]=F[40916];c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break Z}c=F[r+36>>2]+L(p,36)|0}C=G[c+32|0]>>>1&4|(f>>>1&2|g>>>1&1);x=0;z=F[S>>2];n=Zn(F[j>>2],z);while(1){F[q+28>>2]=32;_n(F[j>>2],z,v,y,x,q+28|0,q+32|0);m=0;c=F[q+28>>2];if(!c){break U}while(1){k=(q+32|0)+(m<<2)|0;if(n>>>0>I[k>>2]){_:{$:{aa:{c=F[l+40>>2];if((c|0)>=0){f=F[l+44>>2];g=f+1|0;K=(g|0)>0?g:0;g=c;if(K>>>0<=c>>>0){break $}while(1){g=((g>>>1|0)+g|0)+8|0;if(K>>>0>=g>>>0){continue}break}if(!(c>>>0>g>>>0|g>>>0>536870910)){c=ob(F[l+48>>2],g<<3);if(c){break aa}}F[l+40>>2]=-1}F[61608]=h;F[61609]=o;c=246432;f=d;break _}F[l+48>>2]=c;F[l+40>>2]=g;f=F[l+44>>2]}if(f>>>0>>0){Wa(F[l+48>>2]+(f<<3)|0,0,K-f<<3)}F[l+44>>2]=K;f=F[l+48>>2]+(K<<3)|0;c=f-8|0;f=G[f-6|0]}F[c+4>>2]=B;g=F[k>>2];D[c+2|0]=C|f&248;E[c>>1]=g;c=F[q+28>>2]}m=m+1|0;if(m>>>0>>0){continue}break}x=c+x|0;if((c|0)==32){continue}break}}m=F[r+32>>2];p=p+1|0;if(m>>>0>p>>>0){continue}break}}c=F[l+44>>2];ba:{if(c>>>0<=e>>>0){e=c;break ba}dh(F[l+48>>2]+(e<<3)|0,c-e|0,8,745);c=F[l+44>>2];m=e+1|0;if(c>>>0>m>>>0){while(1){ca:{if(c>>>0<=m>>>0){F[61608]=h;F[61609]=o;c=F[l+44>>2];f=h;break ca}f=H[F[l+48>>2]+(m<<3)>>1]}da:{if(c>>>0<=e>>>0){F[61608]=h;F[61609]=o;g=h;break da}g=H[F[l+48>>2]+(e<<3)>>1]}c=F[l+44>>2];ea:{if((f&65535)!=(g&65535)){fa:{if(c>>>0<=m>>>0){F[61608]=h;F[61609]=o;c=F[l+44>>2];f=246432;break fa}f=F[l+48>>2]+(m<<3)|0}e=e+1|0;ga:{if(e>>>0>=c>>>0){F[61608]=h;F[61609]=o;g=246432;break ga}g=F[l+48>>2]+(e<<3)|0}c=F[f+4>>2];F[g>>2]=F[f>>2];F[g+4>>2]=c;break ea}ha:{if(c>>>0<=m>>>0){F[61608]=h;F[61609]=o;c=F[l+44>>2];f=i;break ha}f=F[(F[l+48>>2]+(m<<3)|0)+4>>2]}ia:{if(c>>>0<=e>>>0){F[61608]=h;F[61609]=o;c=F[l+44>>2];g=246432;n=i;break ia}g=F[l+48>>2]+(e<<3)|0;n=F[g+4>>2]}k=n;F[g+4>>2]=f|k;ja:{if(c>>>0<=m>>>0){F[61608]=h;F[61609]=o;c=F[l+44>>2];f=d;break ja}f=G[(F[l+48>>2]+(m<<3)|0)+2|0]}ka:{if(c>>>0<=e>>>0){F[61608]=h;F[61609]=o;c=246432;g=d;break ka}c=F[l+48>>2]+(e<<3)|0;g=G[c+2|0]}D[c+2|0]=g&(f|254);c=F[l+44>>2];la:{if(m>>>0>=c>>>0){F[61608]=h;F[61609]=o;c=F[l+44>>2];f=d;break la}f=G[(F[l+48>>2]+(m<<3)|0)+2|0]}ma:{if(c>>>0<=e>>>0){F[61608]=h;F[61609]=o;c=246432;g=d;break ma}c=F[l+48>>2]+(e<<3)|0;g=G[c+2|0]}D[c+2|0]=g&(f|253)}c=F[l+44>>2];m=m+1|0;if(c>>>0>m>>>0){continue}break}m=e+1|0}e=c;c=(m|0)>0?m:0;if(e>>>0<=c>>>0){break ba}F[l+44>>2]=c;e=c}na:{if(I[P+76>>2]<=M>>>0){break na}n=M<<3;if(F[n+F[P+80>>2]>>2]!=(w|0)){break na}oa:{pa:{qa:{c=F[Q>>2];if((c|0)>=0){f=c;g=F[l+68>>2];k=g+1|0;k=(k|0)>0?k:0;if(c>>>0>=k>>>0){break pa}while(1){f=((f>>>1|0)+f|0)+8|0;if(k>>>0>=f>>>0){continue}break}if(!(c>>>0>f>>>0|f>>>0>536870910)){c=ob(F[l+72>>2],f<<3);if(c){break qa}}F[Q>>2]=-1}F[61608]=h;F[61609]=o;c=246432;break oa}F[l+72>>2]=c;F[Q>>2]=f;g=F[l+68>>2]}if(g>>>0>>0){Wa(F[l+72>>2]+(g<<3)|0,0,k-g<<3)}F[l+68>>2]=k;c=(F[l+72>>2]+(k<<3)|0)-8|0}F[c>>2]=e;ra:{if(I[P+76>>2]<=M>>>0){F[61608]=h;F[61609]=o;f=i;break ra}f=F[(n+F[P+80>>2]|0)+4>>2]}F[c+4>>2]=f;M=M+1|0}w=w+1|0;if(w>>>0>2]){continue}break}}N=N+1|0;if((N|0)!=2){continue}break}Ga=q+160|0;if(D[a+148|0]&1){e=b+112|0;k=0;f=a+120|0;c=F[f+20>>2];sa:{if(!c){break sa}wi(F[f+24>>2],c,16);n=F[f+20>>2];if(n>>>0>=2){c=1;while(1){g=c>>>0>>0;ta:{if(!g){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break ta}d=F[f+24>>2]+(c<<4)|0}h=F[d>>2];i=k>>>0>>0;ua:{if(!i){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break ua}d=F[f+24>>2]+(k<<4)|0}va:{if((h|0)==F[d>>2]){wa:{if(c>>>0>>0){d=c<<4;if(G[(d+F[f+24>>2]|0)+8|0]){break va}d=d+F[f+24>>2]|0;break wa}d=F[40911];h=F[40910];F[61610]=h;F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;if(h&255){break va}d=246432}h=F[d+4>>2];xa:{if(!i){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break xa}d=F[f+24>>2]+(k<<4)|0}if((h^F[d+4>>2])>>>0<2){break va}}ya:{if(!g){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break ya}d=F[f+24>>2]+(c<<4)|0}k=k+1|0;za:{if(n>>>0<=k>>>0){h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;i=246432;break za}i=F[f+24>>2]+(k<<4)|0}h=F[d+4>>2];F[i>>2]=F[d>>2];F[i+4>>2]=h;h=F[d+12>>2];F[i+8>>2]=F[d+8>>2];F[i+12>>2]=h;n=F[f+20>>2]}c=c+1|0;if(n>>>0>c>>>0){continue}break}}c=k+1|0;c=(c|0)>0?c:0;if(c>>>0>=n>>>0){break sa}F[f+20>>2]=c}i=e;B=0;c=f;d=bj(F[c>>2]+156|0);Aa:{if(G[d|0]|G[d+1|0]<<8){c=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(n){c=d+8|0;C=F[40908];while(1){x=0;d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h=c;c=G[c+8|0]|G[c+9|0]<<8|(G[c+10|0]<<16|G[c+11|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Ba:{if(!k){break Ba}c=F[f+20>>2];if((c|0)<=0){break Ba}d=c-1|0;u=F[f+24>>2];while(1){s=(x|0)<0?163632:(h+L(x,12)|0)+16|0;c=G[s+2|0]|G[s+3|0]<<8;A=(c<<8|c>>>8)&65535;c=G[s|0]|G[s+1|0]<<8;v=(c<<8|c>>>8)&65535;while(1){y=0;c=d;Ca:{while(1){Da:{Ea:{Fa:{z=c+y>>>1|0;o=u+(z<<4)|0;g=F[o>>2];Ga:{if((g|0)!=(v|0)){if((g|0)>(v|0)){break Ga}break Ea}g=F[o+4>>2];if((g|0)==(A|0)){break Fa}if((g|0)<=(A|0)){break Ea}}c=z-1|0;break Da}c=G[s+8|0]|G[s+9|0]<<8|(G[s+10|0]<<16|G[s+11|0]<<24);e=G[s+7|0]|((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))&e|(G[s+5|0]<<16|G[s+4|0]<<24)|G[s+6|0]<<8);break Ca}y=z+1|0}if((c|0)>=(y|0)){continue}break}if((v|0)!=3){break Ca}v=37;c=(A|0)==3;A=1;if(c){continue}}break}x=x+1|0;if((k|0)!=(x|0)){continue}break}}Ha:{Ia:{Ja:{d=F[i>>2];if((d|0)>=0){c=d;k=F[i+4>>2];g=k+1|0;g=(g|0)>0?g:0;if(c>>>0>=g>>>0){break Ia}while(1){c=((c>>>1|0)+c|0)+8|0;if(g>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=ob(F[i+8>>2],c<<2);if(d){break Ja}}F[i>>2]=-1}F[61608]=C;break Ha}F[i>>2]=c;F[i+8>>2]=d;k=F[i+4>>2]}if(g>>>0>k>>>0){Wa(F[i+8>>2]+(k<<2)|0,0,g-k<<2)}F[i+4>>2]=g;c=F[i+8>>2];F[61608]=C;c=(c+(g<<2)|0)-4|0;if((c|0)==246432){break Ha}F[c>>2]=e}c=G[h+4|0]|G[h+5|0]<<8|(G[h+6|0]<<16|G[h+7|0]<<24);c=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;B=B+1|0;if((n|0)!=(B|0)){continue}break}}break Aa}d=aj(F[c>>2]+160|0);if(G[d|0]|G[d+1|0]<<8){c=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(n){c=d+8|0;C=F[40908];while(1){v=0;d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h=c;g=G[c+8|0]|G[c+9|0]<<8;Ka:{if(!g){break Ka}c=F[f+20>>2];if((c|0)<=0){break Ka}d=c-1|0;k=F[f+24>>2];c=(g<<8|g>>>8)&65535;u=c>>>0>1?c:1;while(1){s=h+L(v,12)|0;c=G[s+14|0]|G[s+15|0]<<8;x=(c<<8|c>>>8)&65535;c=G[s+12|0]|G[s+13|0]<<8;A=(c<<8|c>>>8)&65535;while(1){y=0;c=d;La:{while(1){Ma:{Na:{Oa:{z=c+y>>>1|0;o=k+(z<<4)|0;g=F[o>>2];Pa:{if((g|0)!=(A|0)){if((g|0)>(A|0)){break Pa}break Na}g=F[o+4>>2];if((g|0)==(x|0)){break Oa}if((g|0)<=(x|0)){break Na}}c=z-1|0;break Ma}c=G[s+20|0]|G[s+21|0]<<8|(G[s+22|0]<<16|G[s+23|0]<<24);e=G[s+19|0]|((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))&e|(G[s+17|0]<<16|G[s+16|0]<<24)|G[s+18|0]<<8);break La}y=z+1|0}if((c|0)>=(y|0)){continue}break}if((A|0)!=3){break La}A=37;c=(x|0)==3;x=1;if(c){continue}}break}v=v+1|0;if((u|0)!=(v|0)){continue}break}}Qa:{Ra:{Sa:{d=F[i>>2];if((d|0)>=0){c=d;k=F[i+4>>2];g=k+1|0;g=(g|0)>0?g:0;if(c>>>0>=g>>>0){break Ra}while(1){c=((c>>>1|0)+c|0)+8|0;if(g>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=ob(F[i+8>>2],c<<2);if(d){break Sa}}F[i>>2]=-1}F[61608]=C;break Qa}F[i>>2]=c;F[i+8>>2]=d;k=F[i+4>>2]}if(g>>>0>k>>>0){Wa(F[i+8>>2]+(k<<2)|0,0,g-k<<2)}F[i+4>>2]=g;c=F[i+8>>2];F[61608]=C;c=(c+(g<<2)|0)-4|0;if((c|0)==246432){break Qa}F[c>>2]=e}c=G[h+4|0]|G[h+5|0]<<8|(G[h+6|0]<<16|G[h+7|0]<<24);c=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;B=B+1|0;if((n|0)!=(B|0)){continue}break}}}}}u=F[b+60>>2];Ta:{Ua:{Va:{c=b;Wa:{Xa:{Ya:{o=F[c+56>>2];if((o|0)>0){e=o-1|0;f=e;Za:{_a:{while(1){h=f+t>>>1|0;d=F[u+L(h,36)>>2];$a:{if(d>>>0>=1718772068){f=h-1|0;break $a}if((d|0)==1718772067){break _a}t=h+1|0}if((f|0)>=(t|0)){continue}break}d=0;break Za}d=F[(u+L(h,36)|0)+28>>2]}F[b+128>>2]=d;t=0;f=e;while(1){i=f+t>>>1|0;h=F[u+L(i,36)>>2];ab:{if(h>>>0>=1853189491){f=i-1|0;break ab}if((h|0)==1853189490){break Ya}t=i+1|0}if((f|0)>=(t|0)){continue}break}h=0;break Xa}F[b+136>>2]=0;F[b+128>>2]=0;F[b+132>>2]=0;g=H[b+152>>1]&-5;E[b+152>>1]=g;d=b+152|0;break Wa}h=F[(u+L(i,36)|0)+28>>2]}F[c+132>>2]=h;f=0;bb:{cb:{while(1){i=e+f>>>1|0;c=F[u+L(i,36)>>2];db:{if(c>>>0>=1684959086){e=i-1|0;break db}if((c|0)==1684959085){break cb}f=i+1|0}if((e|0)>=(f|0)){continue}break}c=0;break bb}c=F[(u+L(i,36)|0)+28>>2]}F[b+136>>2]=c;eb:{fb:{if(d){d=b+152|0;t=H[b+152>>1];break fb}d=b+152|0;t=H[b+152>>1];f=0;if(!h|!c){break eb}}f=4}g=t&-5|f;E[d>>1]=g;e=0;if((o|0)>0){break Va}}F[b+140>>2]=0;break Ua}f=o-1|0;t=f;gb:{hb:{while(1){h=e+t>>>1|0;c=F[u+L(h,36)>>2];ib:{if(c>>>0>=1920232558){t=h-1|0;break ib}if((c|0)==1920232557){break hb}e=h+1|0}if((e|0)<=(t|0)){continue}break}c=0;break gb}c=F[(u+L(h,36)|0)+28>>2]}F[b+140>>2]=c;e=0;while(1){jb:{h=e+f>>>1|0;c=F[u+L(h,36)>>2];kb:{if(c>>>0>=1986359925){f=h-1|0;break kb}if((c|0)==1986359924){break jb}e=h+1|0}if((e|0)<=(f|0)){continue}break Ua}break}c=8;if(F[(u+L(h,36)|0)+28>>2]){break Ta}}c=0}e=c|g&-9;E[d>>1]=e;i=(F[a+4>>2]&-2)==4?1801810542:1986753134;f=0;lb:{mb:{nb:{ob:{if((o|0)<=0){F[b+144>>2]=0;n=e&65534;E[b+152>>1]=n;break ob}t=o-1|0;n=t;pb:{qb:{while(1){h=f+n>>>1|0;c=F[u+L(h,36)>>2];rb:{if(c>>>0>i>>>0){n=h-1|0;break rb}if(c>>>0>=i>>>0){break qb}f=h+1|0}if((f|0)<=(n|0)){continue}break}c=0;break pb}c=F[(u+L(h,36)|0)+24>>2]}F[b+144>>2]=c;f=0;n=e&-2|(c|0)!=0;E[b+152>>1]=n;while(1){e=f+t>>>1|0;c=F[u+L(e,36)>>2];sb:{if(c>>>0>=1953653100){t=e-1|0;break sb}if((c|0)==1953653099){break nb}f=e+1|0}if((f|0)<=(t|0)){continue}break}}F[b+148>>2]=0;break mb}c=F[(u+L(e,36)|0)+24>>2];F[b+148>>2]=c;f=2;if(c){break lb}}f=0}E[d>>1]=f|n&65533;n=65535;tb:{if((o|0)<=0){break tb}f=o-1|0;t=0;while(1){ub:{e=f+t>>>1|0;c=F[u+L(e,36)>>2];vb:{if(c>>>0>i>>>0){f=e-1|0;break vb}if(c>>>0>=i>>>0){break ub}t=e+1|0}if((f|0)>=(t|0)){continue}break tb}break}n=F[(u+L(e,36)|0)+8>>2]}i=F[F[b+20>>2]+40>>2];h=(i|0)!=F[b+28>>2];wb:{xb:{f=F[a>>2];c=F[f+140>>2];yb:{if(c){break yb}while(1){c=F[f+48>>2];if(!c){c=163632;break yb}c=mh(c);if(!c){c=163632}e=F[f+140>>2];F[f+140>>2]=e?e:c;if(!e){break yb}if(!(!c|(c|0)==163632)){e=F[c>>2];F[61902]=0;_(579,e|0);e=F[61902];F[61902]=0;if((e|0)==1){break xb}Ta(c)}c=F[f+140>>2];if(!c){continue}break}}c=F[c>>2];c=c?c:163632;c=I[c+16>>2]<12?163632:F[c+12>>2];e=(G[c+4|0]|G[c+5|0]<<8)!=0;break wb}ca(0)|0;Y()|0;Hb();V()}c=H[b+152>>1];if(!e){c=c|64;E[d>>1]=c}t=1;E[d>>1]=c&57343|(D[a+148|0]&1)<<13;c=Ga-48|0;Ga=c;o=F[a>>2]+164|0;g=F[o>>2];zb:{if(g){break zb}f=o-116|0;while(1){g=F[f>>2];if(!g){g=163632;break zb}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;e=Db(g);D[c+40|0]=1;F[c+36>>2]=e;g=Zi(c,Ab(g,1801810552));if(!g){g=163632}e=F[o>>2];F[o>>2]=e?e:g;if(!e){break zb}if(!(!g|(g|0)==163632)){Xa(g)}g=F[o>>2];if(!g){continue}break}}Ga=c+48|0;e=0;c=I[g+16>>2]<8?163632:F[g+12>>2];g=(G[c|0]|G[c+1|0]<<8)!=0;o=!g;if(!(D[a+148|0]&1)){t=!Xn(F[a>>2])}if(!(h&(i|0)!=0)){e=F[a>>2];f=F[e+148>>2];Ab:{if(f){break Ab}while(1){c=F[e+48>>2];if(!c){f=163632;break Ab}f=ib(1,12);Bb:{if(!f){f=163632;break Bb}we(f,c)}c=F[e+148>>2];F[e+148>>2]=c?c:f;if(!c){break Ab}kc(f);f=F[e+148>>2];if(!f){continue}break}}c=F[f>>2];c=c?c:163632;c=I[c+16>>2]<10?163632:F[c+12>>2];e=(G[c|0]|G[c+1|0]<<8|(G[c+2|0]|G[c+3|0]<<8))!=0}Cb:{Db:{if(!(o|(t|e^1)!=1)){c=H[d>>1]|4096;break Db}c=H[d>>1];if(!e){break Cb}c=c|512}E[d>>1]=c}Eb:{if(c&4096|(c&512?(n|0)!=65535:0)){break Eb}if(g){c=c|4096}else{c=nh(F[a>>2]+136|0);e=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=H[d>>1];if(!(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))){break Eb}c=c|1024}E[d>>1]=c}n=c&-2049|(c&4608?0:(c<<1^-1)&2048);E[d>>1]=n;f=0;Fb:{if(!(G[a+148|0]&2)|c&4096){break Fb}f=32;if(!(c&1024)){break Fb}c=0;Gb:{Hb:{Ib:{i=nh(F[a>>2]+136|0);e=G[i|0]|G[i+1|0]<<8;switch((e<<8|e>>>8)&65535){case 1:break Hb;case 0:break Ib;default:break Gb}}e=G[i+2|0]|G[i+3|0]<<8;if(!e){break Gb}c=1;if(G[i+8|0]==1){break Gb}h=(e<<8|e>>>8)&65535;f=h>>>0>1?h:1;e=i+4|0;c=0;while(1){c=c+1|0;if((f|0)!=(c|0)){g=e;e=G[e+2|0]|G[e+3|0]<<8;e=g+((e<<8|e>>>8)&65535)|0;if(G[e+4|0]!=1){continue}}break}c=c>>>0>>0;break Gb}e=G[i+4|0]|G[i+5|0]<<8|(G[i+6|0]<<16|G[i+7|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!f){break Gb}c=1;if(G[i+13|0]==1){break Gb}c=i+8|0;e=0;while(1){e=e+1|0;if((f|0)!=(e|0)){h=c;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;if(G[c+5|0]!=1){continue}}break}c=e>>>0>>0}n=H[d>>1];f=c?0:32}f=f|n&-33;E[b+152>>1]=f;c=F[b+56>>2];Jb:{Kb:{if((c|0)<=0){break Kb}h=F[b+60>>2];c=c-1|0;e=0;while(1){Lb:{i=c+e>>>1|0;b=F[h+L(i,36)>>2];Mb:{if(b>>>0>=1835102828){c=i-1|0;break Mb}if((b|0)==1835102827){break Lb}e=i+1|0}if((c|0)>=(e|0)){continue}break Kb}break}b=16;if(F[(h+L(i,36)|0)+28>>2]){break Jb}}b=0}c=b|f&-17;E[d>>1]=c;f=0;e=0;Nb:{if(n&4608){break Nb}e=256;if(!(n&1024)){break Nb}b=0;Ob:{Pb:{Qb:{i=nh(F[a>>2]+136|0);c=G[i|0]|G[i+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break Pb;case 0:break Qb;default:break Ob}}c=G[i+2|0]|G[i+3|0]<<8;if(!c){break Ob}b=1;if(G[i+9|0]&4){break Ob}h=(c<<8|c>>>8)&65535;e=h>>>0>1?h:1;c=i+4|0;b=0;while(1){b=b+1|0;if((e|0)!=(b|0)){g=c;c=G[c+2|0]|G[c+3|0]<<8;c=g+((c<<8|c>>>8)&65535)|0;if(!(G[c+5|0]&4)){continue}}break}b=b>>>0>>0;break Ob}c=G[i+4|0]|G[i+5|0]<<8|(G[i+6|0]<<16|G[i+7|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!e){break Ob}b=1;if(G[i+12|0]&64){break Ob}b=i+8|0;c=0;while(1){c=c+1|0;if((e|0)!=(c|0)){h=b;b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);b=h+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;if(!(G[b+4|0]&64)){continue}}break}b=c>>>0>>0}c=H[d>>1];e=b?0:256}b=e|c&-257;E[d>>1]=b;b=b&-129|(e?G[a+148|0]<<5&128:0);c=c&8192?b&-257:b;E[d>>1]=c;if(c&2){a=Yi(F[a>>2]+172|0);f=((G[a|0]|G[a+1|0]<<8|(G[a+2|0]|G[a+3|0]<<8))!=0)<<14;c=H[d>>1]}E[d>>1]=c&49151|f}function pm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;s=Ga-16|0;Ga=s;y=-2;a:{if(!F[a+36>>2]|(!a|!F[a+32>>2])){break a}f=F[a+28>>2];if(!f|F[f>>2]!=(a|0)){break a}e=F[f+4>>2];if(e-16180>>>0>31){break a}p=F[a+12>>2];if(!p){break a}d=F[a>>2];if(!(F[a+4>>2]?d:1)){break a}if((e|0)==16191){F[f+4>>2]=16192;e=16192}S=b-5|0;T=f+92|0;A=f+756|0;J=f+116|0;K=f+88|0;B=f+112|0;z=f+1332|0;g=F[f+64>>2];C=F[a+4>>2];i=C;h=F[f+60>>2];n=F[a+16>>2];v=n;b:{c:{d:while(1){e:{c=-3;k=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{switch(e-16180|0){case 23:l=F[f+76>>2];c=d;e=i;break B;case 21:k=F[f+76>>2];break D;case 18:e=F[f+108>>2];break M;case 27:e=F[f+12>>2];break f;case 16:if(g>>>0>=14){break V}if(!i){break e}e=g+8|0;c=d+1|0;k=i-1|0;h=(G[d|0]<>>0<=5){break W}d=c;i=k;g=e;break V;case 9:if(g>>>0>=32){break ba}if(!i){break e}c=d+1|0;e=i-1|0;h=(G[d|0]<>>0<=23){break ca}d=c;i=e;break ba;case 1:if(g>>>0>=16){break ma}if(!i){break e}e=g+8|0;c=d+1|0;k=i-1|0;h=(G[d|0]<>>0<=7){break na}d=c;i=k;g=e;break ma;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break A;case 22:break C;case 20:break K;case 30:break b;case 19:break L;case 26:break R;case 25:break S;case 17:break U;case 29:break c;case 15:break X;case 14:break Y;case 13:break Z;case 12:break _;case 11:break $;case 10:break aa;case 4:break fa;case 3:break ia;case 2:break la;case 0:break oa;default:break a}}l=F[f+12>>2];if(!l){break Q}pa:{if(g>>>0>=16){e=h;break pa}if(!i){break e}k=g+8|0;c=d+1|0;j=i-1|0;e=(G[d|0]<>>0>7){d=c;i=j;g=k;break pa}if(!j){d=c;i=0;h=e;g=k;c=o;break c}g=g+16|0;i=i-2|0;e=(G[d+1|0]<>2]){F[f+40>>2]=15}h=0;c=uc(0,0,0);F[f+28>>2]=c;D[s+12|0]=e;D[s+13|0]=e>>>8;Y=f,Z=uc(c,s+12|0,2),F[Y+28>>2]=Z;F[f+4>>2]=16181;g=0;e=F[f+4>>2];continue}if(!k){d=c;i=0;g=e;c=o;break c}g=g+16|0;i=i-2|0;h=(G[d+1|0]<>2]=h;if((h&255)!=8){F[a+24>>2]=238658;F[f+4>>2]=16209;e=F[f+4>>2];continue}if(h&57344){F[a+24>>2]=238018;F[f+4>>2]=16209;e=F[f+4>>2];continue}c=F[f+36>>2];if(c){F[c>>2]=h>>>8&1}if(!(!(h&512)|!(G[f+12|0]&4))){D[s+12|0]=h;D[s+13|0]=h>>>8;Y=f,Z=uc(F[f+28>>2],s+12|0,2),F[Y+28>>2]=Z}F[f+4>>2]=16182;g=0;h=0;break ka}if(g>>>0>31){break ja}}if(!i){break e}c=d+1|0;e=i-1|0;h=(G[d|0]<>>0>23){d=c;i=e;break ja}k=g+8|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+2|0;e=i-2|0;h=(G[d+1|0]<>>0>15){d=c;i=e;break ja}k=g+16|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+3|0;e=i-3|0;h=(G[d+2|0]<>>0>7){d=c;i=e;break ja}g=g+24|0;if(!e){d=c;i=0;c=o;break c}i=i-4|0;h=(G[d+3|0]<>2];if(c){F[c+4>>2]=h}if(!(!(G[f+21|0]&2)|!(G[f+12|0]&4))){D[s+12|0]=h;D[s+13|0]=h>>>8;D[s+14|0]=h>>>16;D[s+15|0]=h>>>24;Y=f,Z=uc(F[f+28>>2],s+12|0,4),F[Y+28>>2]=Z}F[f+4>>2]=16183;g=0;h=0;break ha}if(g>>>0>15){break ga}}if(!i){break e}c=d+1|0;e=i-1|0;h=(G[d|0]<>>0>7){d=c;i=e;break ga}g=g+8|0;if(!e){d=c;i=0;c=o;break c}i=i-2|0;h=(G[d+1|0]<>2];if(c){F[c+12>>2]=h>>>8;F[c+8>>2]=h&255}if(!(!(G[f+21|0]&2)|!(G[f+12|0]&4))){D[s+12|0]=h;D[s+13|0]=h>>>8;Y=f,Z=uc(F[f+28>>2],s+12|0,2),F[Y+28>>2]=Z}F[f+4>>2]=16184;e=0;g=0;h=0;c=F[f+20>>2];if(c&1024){break ea}break p}c=F[f+20>>2];if(!(c&1024)){e=g;break p}e=h;if(g>>>0>15){break da}}if(!i){i=0;h=e;c=o;break c}k=d+1|0;j=i-1|0;h=(G[d|0]<>>0>7){d=k;i=j;break da}g=g+8|0;if(!j){d=k;i=0;c=o;break c}i=i-2|0;h=(G[d+1|0]<>2]=h;g=F[f+36>>2];if(g){F[g+20>>2]=h}g=0;if(!(!(c&512)|!(G[f+12|0]&4))){D[s+12|0]=h;D[s+13|0]=h>>>8;Y=f,Z=uc(F[f+28>>2],s+12|0,2),F[Y+28>>2]=Z}h=0;break o}k=g+8|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+2|0;e=i-2|0;h=(G[d+1|0]<>>0>15){d=c;i=e;break ba}k=g+16|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+3|0;e=i-3|0;h=(G[d+2|0]<>>0>7){d=c;i=e;break ba}g=g+24|0;if(!e){d=c;i=0;c=o;break c}i=i-4|0;h=(G[d+3|0]<>>8&65280|h>>>24);F[f+28>>2]=c;F[a+48>>2]=c;F[f+4>>2]=16190;h=0;g=0}if(!F[f+16>>2]){F[a+16>>2]=n;F[a+12>>2]=p;F[a+4>>2]=i;F[a>>2]=d;F[f+64>>2]=g;F[f+60>>2]=h;y=2;break a}c=vf(0,0,0);F[f+28>>2]=c;F[a+48>>2]=c;F[f+4>>2]=16191}if(S>>>0<2){break i}}ra:{sa:{if(!F[f+8>>2]){if(g>>>0<3){break sa}break ra}F[f+4>>2]=16206;h=h>>>(g&7)|0;g=g&-8;e=F[f+4>>2];continue}if(!i){break e}i=i-1|0;h=(G[d|0]<>2]=h&1;e=16193;ta:{ua:{va:{switch((h>>>1&3)-1|0){case 0:F[f+80>>2]=238864;F[f+88>>2]=9;F[f+92>>2]=5;F[f+84>>2]=240912;F[f+4>>2]=16199;if((b|0)!=6){break ta}g=g-3|0;h=h>>>3|0;c=o;break c;case 1:e=16196;break ua;case 2:break va;default:break ua}}F[a+24>>2]=238589;e=16209}F[f+4>>2]=e}g=g-3|0;h=h>>>3|0;e=F[f+4>>2];continue}h=h>>>(g&7)|0;g=g&-8;wa:{if(g>>>0>31){break wa}if(!i){break e}e=g+8|0;c=d+1|0;k=i-1|0;h=(G[d|0]<>>0>23){d=c;i=k;g=e;break wa}if(!k){d=c;i=0;g=e;c=o;break c}k=g+16|0;c=d+2|0;j=i-2|0;h=(G[d+1|0]<>>0>15){d=c;i=j;g=k;break wa}if(!j){d=c;i=0;g=k;c=o;break c}e=g+24|0;c=d+3|0;j=i-3|0;h=(G[d+2|0]<>>16|0)){F[a+24>>2]=238127;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+4>>2]=16194;F[f+68>>2]=c;h=0;g=0;if((b|0)!=6){break Y}break i}F[f+4>>2]=16195}c=F[f+68>>2];if(c){c=c>>>0>>0?c:i;e=c>>>0>>0?c:n;if(!e){break i}c=Ya(p,d,e);F[f+68>>2]=F[f+68>>2]-e;p=c+e|0;n=n-e|0;d=d+e|0;i=i-e|0;e=F[f+4>>2];continue}F[f+4>>2]=16191;e=F[f+4>>2];continue}if(!k){d=c;i=0;g=e;c=o;break c}g=g+16|0;i=i-2|0;h=(G[d+1|0]<>2]=e+257;c=h>>>5&31;F[f+104>>2]=c+1;j=(h>>>10&15)+4|0;F[f+96>>2]=j;g=g-14|0;h=h>>>14|0;if(!(c>>>0<30&e>>>0<=29)){F[a+24>>2]=238091;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+4>>2]=16197;e=0;F[f+108>>2]=0;break T}e=F[f+108>>2];j=F[f+96>>2];if(e>>>0>=j>>>0){break N}}c=e;while(1){if(g>>>0<=2){if(!i){break e}i=i-1|0;h=(G[d|0]<>2]=e;E[((H[(c<<1)+238816>>1]<<1)+f|0)+116>>1]=h&7;g=g-3|0;h=h>>>3|0;c=e;if(j>>>0>c>>>0){continue}break}break N}if(!n){break z}D[p|0]=F[f+68>>2];F[f+4>>2]=16200;n=n-1|0;p=p+1|0;e=F[f+4>>2];continue}e=F[f+12>>2];if(!e){e=0;break O}xa:{if(g>>>0>31){k=d;break xa}if(!i){break e}c=g+8|0;k=d+1|0;j=i-1|0;h=(G[d|0]<>>0>23){i=j;g=c;break xa}if(!j){d=k;i=0;g=c;c=o;break c}j=g+16|0;k=d+2|0;l=i-2|0;h=(G[d+1|0]<>>0>15){i=l;g=j;break xa}if(!l){d=k;i=0;g=j;c=o;break c}c=g+24|0;k=d+3|0;l=i-3|0;h=(G[d+2|0]<>>0>7){i=l;g=c;break xa}if(!l){d=k;i=0;g=c;c=o;break c}g=g+32|0;k=d+4|0;i=i-4|0;h=(G[d+3|0]<>2]=j+F[a+20>>2];F[f+32>>2]=j+F[f+32>>2];c=e&4;if(!(!c|(n|0)==(v|0))){c=p-j|0;d=F[f+28>>2];ya:{if(F[f+20>>2]){d=uc(d,c,j);break ya}d=vf(d,c,j)}F[f+28>>2]=d;F[a+48>>2]=d;e=F[f+12>>2];c=e&4}if(!c|F[f+28>>2]==((F[f+20>>2]?h:h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))|0)){break P}F[a+24>>2]=238404;F[f+4>>2]=16209;d=k;v=n;e=F[f+4>>2];continue}F[f+4>>2]=16192;break r}d=k;h=0;g=0;v=n}F[f+4>>2]=16207;break f}if(e>>>0<=18){k=0;c=e;o=3-c&3;if(o){while(1){E[((H[(c<<1)+238816>>1]<<1)+f|0)+116>>1]=0;c=c+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(e-16>>>0>=3){while(1){e=f+116|0;o=c<<1;E[e+(H[o+238816>>1]<<1)>>1]=0;E[e+(H[o+238818>>1]<<1)>>1]=0;E[e+(H[o+238820>>1]<<1)>>1]=0;E[e+(H[o+238822>>1]<<1)>>1]=0;c=c+4|0;if((c|0)!=19){continue}break}}F[f+108>>2]=19}F[f+88>>2]=7;F[f+80>>2]=z;F[f+112>>2]=z;e=0;o=_g(0,J,19,B,K,A);if(o){F[a+24>>2]=237993;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+4>>2]=16198;F[f+108>>2]=0;o=0}r=F[f+100>>2];t=r+F[f+104>>2]|0;if(t>>>0>e>>>0){q=-1<>2]^-1;w=F[f+80>>2];while(1){l=g;k=i;j=d;u=h&q;m=G[(w+(u<<2)|0)+1|0];za:{if(m>>>0<=g>>>0){c=g;break za}while(1){if(!k){break J}m=G[j|0]<>>0>c>>>0){continue}break}d=j;i=k}g=H[(w+(u<<2)|0)+2>>1];Aa:{if(g>>>0<=15){k=e+1|0;F[f+108>>2]=k;E[((e<<1)+f|0)+116>>1]=g;g=c-m|0;h=h>>>m|0;e=k;break Aa}Ba:{Ca:{Da:{switch(g-16|0){case 0:g=m+2|0;if(g>>>0>c>>>0){while(1){if(!i){break q}i=i-1|0;h=(G[d|0]<>>0>c>>>0){continue}break}}g=c-m|0;c=h>>>m|0;if(!e){F[a+24>>2]=238065;F[f+4>>2]=16209;h=c;e=F[f+4>>2];continue d}g=g-2|0;h=c>>>2|0;k=(c&3)+3|0;c=H[((e<<1)+f|0)+114>>1];break Ba;case 1:g=m+3|0;if(g>>>0>c>>>0){while(1){if(!i){break q}i=i-1|0;h=(G[d|0]<>>0>c>>>0){continue}break}}g=(c-m|0)-3|0;c=h>>>m|0;h=c>>>3|0;k=(c&7)+3|0;break Ca;default:break Da}}g=m+7|0;if(g>>>0>c>>>0){while(1){if(!i){break q}i=i-1|0;h=(G[d|0]<>>0>c>>>0){continue}break}}g=(c-m|0)-7|0;c=h>>>m|0;h=c>>>7|0;k=(c&127)+11|0}c=0}if(t>>>0>>0){break G}m=k-1|0;j=0;l=k&3;if(l){while(1){E[((e<<1)+f|0)+116>>1]=c;e=e+1|0;k=k-1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}}if(m>>>0>=3){while(1){j=(e<<1)+f|0;E[j+118>>1]=c;E[j+116>>1]=c;E[j+120>>1]=c;E[j+122>>1]=c;e=e+4|0;k=k-4|0;if(k){continue}break}}F[f+108>>2]=e}if(e>>>0>>0){continue}break}}if(!H[f+628>>1]){F[a+24>>2]=238321;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+88>>2]=9;F[f+80>>2]=z;F[f+112>>2]=z;o=_g(1,J,r,B,K,A);if(o){F[a+24>>2]=237965;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+92>>2]=6;F[f+84>>2]=F[f+112>>2];o=_g(2,((F[f+100>>2]<<1)+f|0)+116|0,F[f+104>>2],B,T,A);if(o){F[a+24>>2]=238043;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+4>>2]=16199;o=0;if((b|0)!=6){break L}c=0;break c}F[f+4>>2]=16200}if(!(i>>>0<6|n>>>0<258)){F[a+16>>2]=n;F[a+12>>2]=p;F[a+4>>2]=i;F[a>>2]=d;F[f+64>>2]=g;F[f+60>>2]=h;j=F[a+12>>2];d=F[a+16>>2];c=j+d|0;L=c+(v^-1)|0;l=F[a+28>>2];r=F[l+52>>2];U=(c+(r^-1)|0)-v|0;M=r&7;N=F[l+44>>2];V=r+N|0;O=c-257|0;W=(d-v|0)+j|0;i=F[a>>2];P=(i+F[a+4>>2]|0)-5|0;X=-1<>2]^-1;p=-1<>2]^-1;Q=F[l+84>>2];R=F[l+80>>2];e=F[l+64>>2];m=F[l+60>>2];k=F[l+56>>2];u=F[l+48>>2];w=r-1>>>0<7;while(1){if(e>>>0<=14){m=((G[i|0]<>>d|0;d=H[c+2>>1];Ea:{Fa:{Ga:{c=G[c|0];if(!c){break Ga}Ha:{Ia:{Ja:{while(1){if(c&16){n=d&65535;d=c&15;Ka:{if(!d){g=i;c=m;break Ka}La:{if(d>>>0<=e>>>0){g=i;break La}m=(G[i|0]<>>d|0}if(e>>>0<=14){c=((G[g|0]<>>d|0;d=H[i+2>>1];c=G[i|0];if(c&16){break Ja}while(1){if(!(c&64)){c=(((-1<>>d|0;d=H[c+2>>1];c=G[c|0];if(!(c&16)){continue}break Ja}break}n=238636;i=g;break Ia}g=c&255;if(!(g&64)){c=(((-1<>>d|0;d=H[c+2>>1];c=G[c|0];if(!c){break Ga}continue}break}n=238608;d=16191;if(c&32){break Ha}break Ia}q=d&65535;c=c&15;Ma:{if(c>>>0<=e>>>0){d=e;i=g;break Ma}m=(G[g|0]<>>0<=d>>>0){break Ma}m=(G[g+1|0]<>>c|0;Na:{x=g+q|0;d=j-W|0;if(x>>>0>d>>>0){h=x-d|0;if(!(!F[l+7108>>2]|h>>>0<=u>>>0)){n=238425;break Ia}Oa:{Pa:{if(!r){c=k+(N-h|0)|0;if(h>>>0>=n>>>0){break Oa}t=(q+(g+L|0)|0)-j|0;g=0;d=h;q=d&7;if(q){while(1){D[j|0]=G[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((q|0)!=(g|0)){continue}break}}if(t>>>0<7){break Pa}while(1){D[j|0]=G[c|0];D[j+1|0]=G[c+1|0];D[j+2|0]=G[c+2|0];D[j+3|0]=G[c+3|0];D[j+4|0]=G[c+4|0];D[j+5|0]=G[c+5|0];D[j+6|0]=G[c+6|0];D[j+7|0]=G[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}break Pa}if(h>>>0>r>>>0){c=k+(V-h|0)|0;h=h-r|0;if(h>>>0>=n>>>0){break Oa}t=(q+(g+U|0)|0)-j|0;g=0;d=h;q=d&7;if(q){while(1){D[j|0]=G[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((q|0)!=(g|0)){continue}break}}if(t>>>0>=7){while(1){D[j|0]=G[c|0];D[j+1|0]=G[c+1|0];D[j+2|0]=G[c+2|0];D[j+3|0]=G[c+3|0];D[j+4|0]=G[c+4|0];D[j+5|0]=G[c+5|0];D[j+6|0]=G[c+6|0];D[j+7|0]=G[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}}n=n-h|0;if(r>>>0>=n>>>0){c=k;break Oa}g=0;d=r;c=k;if(M){while(1){D[j|0]=G[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((M|0)!=(g|0)){continue}break}}if(!w){while(1){D[j|0]=G[c|0];D[j+1|0]=G[c+1|0];D[j+2|0]=G[c+2|0];D[j+3|0]=G[c+3|0];D[j+4|0]=G[c+4|0];D[j+5|0]=G[c+5|0];D[j+6|0]=G[c+6|0];D[j+7|0]=G[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}}c=j-x|0;n=n-r|0;break Oa}c=k+(r-h|0)|0;if(h>>>0>=n>>>0){break Oa}t=(q+(g+L|0)|0)-j|0;g=0;d=h;q=d&7;if(q){while(1){D[j|0]=G[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((q|0)!=(g|0)){continue}break}}if(t>>>0<7){break Pa}while(1){D[j|0]=G[c|0];D[j+1|0]=G[c+1|0];D[j+2|0]=G[c+2|0];D[j+3|0]=G[c+3|0];D[j+4|0]=G[c+4|0];D[j+5|0]=G[c+5|0];D[j+6|0]=G[c+6|0];D[j+7|0]=G[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}}c=j-x|0;n=n-h|0}Qa:{if(n>>>0<3){break Qa}d=0;h=n-3|0;g=((h>>>0)/3|0)+1&3;if(g){while(1){D[j|0]=G[c|0];D[j+1|0]=G[c+1|0];D[j+2|0]=G[c+2|0];n=n-3|0;j=j+3|0;c=c+3|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(h>>>0<9){break Qa}while(1){D[j|0]=G[c|0];D[j+1|0]=G[c+1|0];D[j+2|0]=G[c+2|0];D[j+3|0]=G[c+3|0];D[j+4|0]=G[c+4|0];D[j+5|0]=G[c+5|0];D[j+6|0]=G[c+6|0];D[j+7|0]=G[c+7|0];D[j+8|0]=G[c+8|0];D[j+9|0]=G[c+9|0];D[j+10|0]=G[c+10|0];D[j+11|0]=G[c+11|0];j=j+12|0;c=c+12|0;n=n-12|0;if(n>>>0>2){continue}break}}if(!n){break Fa}D[j|0]=G[c|0];if((n|0)!=1){break Na}j=j+1|0;break Fa}g=j-x|0;while(1){c=j;d=g;D[c|0]=G[d|0];D[c+1|0]=G[d+1|0];D[c+2|0]=G[d+2|0];j=c+3|0;g=d+3|0;n=n-3|0;if(n>>>0>2){continue}break}if(!n){break Fa}D[c+3|0]=G[g|0];if((n|0)==1){j=c+4|0;break Fa}D[c+4|0]=G[d+4|0];j=c+5|0;break Fa}D[j+1|0]=G[c+1|0];j=j+2|0;break Fa}F[a+24>>2]=n;d=16209}F[l+4>>2]=d;break Ea}D[j|0]=d;j=j+1|0}if(i>>>0>=P>>>0){break Ea}if(j>>>0>>0){continue}}break}F[a+12>>2]=j;d=i-(e>>>3|0)|0;F[a>>2]=d;F[a+16>>2]=(O-j|0)+257;F[a+4>>2]=(P-d|0)+5;d=e&7;F[l+64>>2]=d;F[l+60>>2]=(-1<>2];h=F[f+60>>2];i=F[a+4>>2];d=F[a>>2];n=F[a+16>>2];p=F[a+12>>2];if(F[f+4>>2]!=16191){break r}F[f+7112>>2]=-1;e=F[f+4>>2];continue}F[f+7112>>2]=0;k=g;e=i;c=d;q=F[f+80>>2];r=-1<>2]^-1;m=r&h;l=G[(q+(m<<2)|0)+1|0];Ra:{if(l>>>0<=g>>>0){j=g;break Ra}while(1){if(!e){break H}l=G[c|0]<>>0>j>>>0){continue}break}}d=q+(m<<2)|0;u=H[d+2>>1];k=G[d|0];if(!k|k&240){break F}i=e;d=c;g=j;r=-1<>>l|0)+u|0;m=G[(q+(t<<2)|0)+1|0];Sa:{if(g>>>0>=m+l>>>0){k=j;break Sa}while(1){if(!i){break I}m=G[d|0]<>>l|0)+u|0;m=G[(q+(t<<2)|0)+1|0];if(g>>>0>>0){continue}break}}j=k-l|0;h=h>>>l|0;c=q+(t<<2)|0;k=G[c|0];u=H[c+2>>1];break E}d=d+i|0;g=(i<<3)+g|0;break e}d=c+e|0;g=(e<<3)+j|0;break e}d=d+i|0;g=(i<<3)+g|0;break e}F[a+24>>2]=238065;F[f+4>>2]=16209;e=F[f+4>>2];continue}m=l;l=0;d=c;i=e}F[f+68>>2]=u&65535;F[f+7112>>2]=l+m;g=j-m|0;h=h>>>m|0;if(!k){F[f+4>>2]=16205;e=F[f+4>>2];continue}if(k&32){F[f+4>>2]=16191;F[f+7112>>2]=-1;e=F[f+4>>2];continue}if(k&64){F[a+24>>2]=238608;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+4>>2]=16201;k=k&15;F[f+76>>2]=k}j=d;l=i;Ta:{if(!k){c=F[f+68>>2];break Ta}c=d;e=g;if(k>>>0>e>>>0){while(1){if(!i){break u}i=i-1|0;h=(G[c|0]<>>0>e>>>0){continue}break}}F[f+7112>>2]=F[f+7112>>2]+k;c=F[f+68>>2]+((-1<>2]=c;g=e-k|0;h=h>>>k|0}F[f+4>>2]=16202;F[f+7116>>2]=c}k=g;e=i;c=d;q=F[f+84>>2];r=-1<>2]^-1;m=r&h;l=G[(q+(m<<2)|0)+1|0];Ua:{if(l>>>0<=g>>>0){j=g;break Ua}while(1){if(!e){break v}l=G[c|0]<>>0>j>>>0){continue}break}}d=q+(m<<2)|0;u=H[d+2>>1];m=G[d|0];Va:{if(m&240){k=l;d=F[f+7112>>2];break Va}i=e;d=c;g=j;r=-1<>>l|0)+u|0;k=G[(q+(t<<2)|0)+1|0];Wa:{if(g>>>0>=l+k>>>0){m=j;break Wa}while(1){if(!i){break w}k=G[d|0]<>>l|0)+u|0;k=G[(q+(t<<2)|0)+1|0];if(g>>>0>>0){continue}break}c=d;e=i}j=m-l|0;h=h>>>l|0;d=q+(t<<2)|0;m=G[d|0];u=H[d+2>>1];d=F[f+7112>>2]+l|0}F[f+7112>>2]=d+k;g=j-k|0;h=h>>>k|0;if(m&64){F[a+24>>2]=238636;F[f+4>>2]=16209;d=c;i=e;e=F[f+4>>2];continue}F[f+4>>2]=16203;l=m&15;F[f+76>>2]=l;F[f+72>>2]=u&65535}Xa:{if(!l){d=c;i=e;break Xa}k=g;i=e;j=c;Ya:{if(g>>>0>=l>>>0){d=c;break Ya}while(1){if(!i){break x}i=i-1|0;h=(G[j|0]<>>0>k>>>0){continue}break}}F[f+7112>>2]=F[f+7112>>2]+l;F[f+72>>2]=F[f+72>>2]+((-1<>>l|0}F[f+4>>2]=16204}if(n){break y}}n=0;break i}e=F[f+72>>2];c=v-n|0;Za:{if(e>>>0>c>>>0){c=e-c|0;if(!(!F[f+7108>>2]|c>>>0<=I[f+48>>2])){F[a+24>>2]=238425;F[f+4>>2]=16209;e=F[f+4>>2];continue}e=F[f+52>>2];_a:{if(e>>>0>>0){c=c-e|0;e=F[f+56>>2]+(F[f+44>>2]-c|0)|0;break _a}e=F[f+56>>2]+(e-c|0)|0}k=F[f+68>>2];c=c>>>0>>0?c:k;break Za}e=p-e|0;k=F[f+68>>2];c=k}j=c>>>0>>0?c:n;F[f+68>>2]=k-j;m=j-1|0;k=0;l=j&7;if(!l){break t}c=j;while(1){D[p|0]=G[e|0];c=c-1|0;p=p+1|0;e=e+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}break s}d=c+e|0;g=(e<<3)+g|0;break e}d=c+e|0;g=(e<<3)+j|0;break e}d=d+i|0;g=(i<<3)+g|0;break e}d=j+l|0;g=(l<<3)+g|0;break e}c=j}if(m>>>0>=7){while(1){D[p|0]=G[e|0];D[p+1|0]=G[e+1|0];D[p+2|0]=G[e+2|0];D[p+3|0]=G[e+3|0];D[p+4|0]=G[e+4|0];D[p+5|0]=G[e+5|0];D[p+6|0]=G[e+6|0];D[p+7|0]=G[e+7|0];p=p+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}}n=n-j|0;if(F[f+68>>2]){break r}F[f+4>>2]=16200;e=F[f+4>>2];continue}e=F[f+4>>2];continue}i=0;g=c;c=o;break c}c=F[f+36>>2];if(c){F[c+16>>2]=0}g=e}F[f+4>>2]=16185}k=F[f+20>>2];if(k&1024){e=F[f+68>>2];l=e>>>0>>0?e:i;if(l){j=F[f+36>>2];$a:{if(!j){break $a}c=F[j+16>>2];if(!c){break $a}e=F[j+20>>2]-e|0;k=e+c|0;c=F[j+24>>2];Ya(k,d,c>>>0>>0?c-e|0:l);k=F[f+20>>2]}if(!(!(k&512)|!(G[f+12|0]&4))){Y=f,Z=uc(F[f+28>>2],d,l),F[Y+28>>2]=Z}e=F[f+68>>2]-l|0;F[f+68>>2]=e;i=i-l|0;d=d+l|0}if(e){break i}}F[f+4>>2]=16186;F[f+68>>2]=0}ab:{if(G[f+21|0]&8){e=0;if(!i){break j}while(1){j=G[d+e|0];k=F[f+36>>2];bb:{if(!k){break bb}c=F[k+28>>2];if(!c){break bb}l=F[k+32>>2];k=F[f+68>>2];if(l>>>0<=k>>>0){break bb}F[f+68>>2]=k+1;D[c+k|0]=j}e=e+1|0;if(i>>>0>e>>>0?j:0){continue}break}if(!(!(G[f+21|0]&2)|!(G[f+12|0]&4))){Y=f,Z=uc(F[f+28>>2],d,e),F[Y+28>>2]=Z}d=d+e|0;i=i-e|0;if(!j){break ab}break i}c=F[f+36>>2];if(!c){break ab}F[c+28>>2]=0}F[f+4>>2]=16187;F[f+68>>2]=0}cb:{if(G[f+21|0]&16){e=0;if(!i){break j}while(1){j=G[d+e|0];k=F[f+36>>2];db:{if(!k){break db}c=F[k+36>>2];if(!c){break db}l=F[k+40>>2];k=F[f+68>>2];if(l>>>0<=k>>>0){break db}F[f+68>>2]=k+1;D[c+k|0]=j}e=e+1|0;if(i>>>0>e>>>0?j:0){continue}break}if(!(!(G[f+21|0]&2)|!(G[f+12|0]&4))){Y=f,Z=uc(F[f+28>>2],d,e),F[Y+28>>2]=Z}d=d+e|0;i=i-e|0;if(!j){break cb}break i}c=F[f+36>>2];if(!c){break cb}F[c+36>>2]=0}F[f+4>>2]=16188}j=F[f+20>>2];if(j&512){eb:{if(g>>>0>15){e=d;break eb}if(!i){break e}c=g+8|0;e=d+1|0;k=i-1|0;h=(G[d|0]<>>0>7){i=k;g=c;break eb}if(!k){d=e;i=0;g=c;c=o;break c}g=g+16|0;e=d+2|0;i=i-2|0;h=(G[d+1|0]<>1]==(h|0))){F[a+24>>2]=238455;F[f+4>>2]=16209;d=e;e=F[f+4>>2];continue}h=0;g=0;d=e}c=F[f+36>>2];if(c){F[c+48>>2]=1;F[c+44>>2]=j>>>9&1}c=uc(0,0,0);F[f+28>>2]=c;F[a+48>>2]=c;F[f+4>>2]=16191;e=F[f+4>>2];continue}i=0}k=o}c=k;break c}F[f+20>>2]=0;c=F[f+36>>2];if(c){F[c+48>>2]=-1}if(!(((e<<8&65280)+(e>>>8|0)>>>0)%31|0?0:l&1)){F[a+24>>2]=238358;F[f+4>>2]=16209;h=e;e=F[f+4>>2];continue}if((e&15)!=8){F[a+24>>2]=238658;F[f+4>>2]=16209;h=e;e=F[f+4>>2];continue}h=e>>>4|0;l=h&15;k=l+8|0;j=l>>>0<=7;c=F[f+40>>2];if(!c){F[f+40>>2]=k;c=k}if(!(c>>>0>=k>>>0&j)){g=g-4|0;F[a+24>>2]=238492;F[f+4>>2]=16209;e=F[f+4>>2];continue}F[f+24>>2]=256<>2]=c;F[a+48>>2]=c;F[f+4>>2]=e&8192?16189:16191;g=0;e=F[f+4>>2];continue}fb:{if(!(!e|!F[f+20>>2])){gb:{if(g>>>0>31){e=d;break gb}if(!i){break e}c=g+8|0;e=d+1|0;k=i-1|0;h=(G[d|0]<>>0>23){i=k;g=c;break gb}if(!k){d=e;i=0;g=c;c=o;break c}k=g+16|0;e=d+2|0;j=i-2|0;h=(G[d+1|0]<>>0>15){i=j;g=k;break gb}if(!j){d=e;i=0;g=k;c=o;break c}c=g+24|0;e=d+3|0;j=i-3|0;h=(G[d+2|0]<>>0>7){i=j;g=c;break gb}if(!j){d=e;i=0;g=c;c=o;break c}g=g+32|0;e=d+4|0;i=i-4|0;h=(G[d+3|0]<>2]!=(h|0)){break fb}d=e;g=0;h=0}F[f+4>>2]=16208;c=1;break c}F[a+24>>2]=238381;F[f+4>>2]=16209;d=e;e=F[f+4>>2];continue}break}i=0;c=o}F[a+16>>2]=n;F[a+12>>2]=p;F[a+4>>2]=i;F[a>>2]=d;F[f+64>>2]=g;F[f+60>>2]=h;hb:{ib:{jb:{if(F[f+44>>2]){break jb}if((n|0)==(v|0)){break ib}d=F[f+4>>2];if(d>>>0>16208){break ib}if((b|0)!=4|d>>>0<=16205){break jb}break ib}k=v-n|0;h=F[a+28>>2];i=F[h+56>>2];kb:{if(!i){o=1;i=Ia[F[a+32>>2]](F[a+40>>2],1<>2],1)|0;F[h+56>>2]=i;if(!i){break kb}}e=F[h+44>>2];if(!e){F[h+48>>2]=0;F[h+52>>2]=0;e=1<>2];F[h+44>>2]=e}lb:{if(e>>>0<=k>>>0){Ya(i,p-e|0,e);F[h+52>>2]=0;break lb}g=F[h+52>>2];d=e-g|0;e=d>>>0>>0;i=g+i|0;g=e?d:k;Ya(i,p-k|0,g);if(e){d=k-g|0;Ya(F[h+56>>2],p-d|0,d);F[h+52>>2]=d;break lb}o=0;d=g+F[h+52>>2]|0;e=d;d=F[h+44>>2];F[h+52>>2]=(e|0)==(d|0)?0:e;e=d;d=F[h+48>>2];if(e>>>0<=d>>>0){break kb}F[h+48>>2]=d+g;break kb}F[h+48>>2]=F[h+44>>2];o=0}if(o){break hb}n=F[a+16>>2];i=F[a+4>>2]}F[a+8>>2]=F[a+8>>2]+(C-i|0);e=v-n|0;F[a+20>>2]=e+F[a+20>>2];F[f+32>>2]=e+F[f+32>>2];if(!(!(G[f+12|0]&4)|(n|0)==(v|0))){g=F[a+12>>2]-e|0;d=F[f+28>>2];mb:{if(F[f+20>>2]){d=uc(d,g,e);break mb}d=vf(d,g,e)}F[f+28>>2]=d;F[a+48>>2]=d}d=a;a=F[f+4>>2];F[d+44>>2]=((F[f+64>>2]+((F[f+8>>2]!=0)<<6)|0)+(((a|0)==16191)<<7)|0)+((a|0)==16199?256:((a|0)==16194)<<8);a=c?c:-5;y=(b|0)==4?a:(i|0)==(C|0)?(n|0)==(v|0)?a:c:c;break a}F[f+4>>2]=16210}y=-4}Ga=s+16|0;return y}function Em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=0;if(!(G[b+16|0]&16)){F[b+72>>2]=0;F[b+64>>2]=0;D[b+61|0]=1;D[b+62|0]=0;F[b+84>>2]=F[b+80>>2];g=F[b+68>>2];a:{b:{c:{a=F[b+44>>2];if((a|0)<=1332902240){if((a|0)>1198879348){break c}if((a|0)>1147500128){break b}if((a|0)!=1113943655){if((a|0)!=1114792296){break a}F[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!G[b+60|0]){break a}f=69688;d:{e:{f:{g:{h:{e=F[b+80>>2];switch(F[e+L(c,20)>>2]-69637|0){case 0:break f;case 10:break g;case 6:break h;default:break e}}f=69694;break f}f=69698}d=F[e+L(a,20)>>2];i:{if(G[b+61|0]){j:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break j}}if(!$a(b,1,1)){break i}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=(f|0)){break d}Wb(b);break d}if(G[b+61|0]){k:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break k}}if(!$a(b,1,1)){break d}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!G[b+60|0]){break a}f=2494;l:{m:{n:{o:{p:{e=F[b+80>>2];switch(F[e+L(c,20)>>2]-2437|0){case 0:break n;case 7:break o;case 6:break p;default:break m}}f=2499;break n}f=2530}d=F[e+L(a,20)>>2];q:{if(G[b+61|0]){r:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break r}}if(!$a(b,1,1)){break q}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=(f|0)){break l}Wb(b);break l}if(G[b+61|0]){s:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break s}}if(!$a(b,1,1)){break l}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}if((a|0)<=1415671147){t:{u:{switch(a-1399418468|0){default:if((a|0)==1332902241){break t}if((a|0)!=1415670642){break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}v:{w:{x:{y:{z:{A:{e=F[b+80>>2];switch(F[e+L(c,20)>>2]-71296|0){case 6:break z;case 0:break A;default:break x}}a=F[e+L(f,20)>>2]-71341|0;if(a>>>0>8|!(1<>2]){a=c;if(F[b+72>>2]==(c|0)){break B}}if(!$a(b,1,1)){break y}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;Wb(b);break v}d=F[e+L(f,20)>>2];C:{if(G[b+61|0]){D:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break D}}if(!$a(b,1,1)){break C}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=71346){break v}}Wb(b);break v}if(G[b+61|0]){E:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break E}}if(!$a(b,1,1)){break v}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break v}if(G[b+61|0]){F:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break F}}if(!$a(b,1,1)){break v}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break};break a;case 0:F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}G:{H:{d=F[b+80>>2];if(F[d+L(c,20)>>2]==70320){a=F[d+L(f,20)>>2];if(a-70373>>>0>=4&(a|0)!=70368){break H}I:{if(G[b+61|0]){J:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break J}}if(!$a(b,1,1)){break I}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}Wb(b);break G}if(G[b+61|0]){K:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break K}}if(!$a(b,1,1)){break G}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break G}if(G[b+61|0]){L:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break L}}if(!$a(b,1,1)){break G}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break};break a;case 1:case 2:case 3:break a;case 4:break u}}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}M:{N:{O:{P:{Q:{R:{S:{T:{U:{d=F[b+80>>2];switch(F[d+L(c,20)>>2]-3461|0){case 0:break R;case 12:break S;case 8:break T;case 6:case 10:case 15:break U;default:break O}}a=F[d+L(f,20)>>2]==3551;break Q}a=F[d+L(f,20)>>2]==3544;break Q}a=F[d+L(f,20)>>2]-3530|0;if(a>>>0>20|!(1<>2]){a=c;if(F[b+72>>2]==(c|0)){break V}}if(!$a(b,1,1)){break P}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;Wb(b);break M}a=F[d+L(f,20)>>2]-3535>>>0<3}W:{if(G[b+61|0]){X:{if((d|0)==F[b+84>>2]){d=c;if(F[b+72>>2]==(c|0)){break X}}if(!$a(b,1,1)){break W}d=F[b+80>>2]+L(F[b+64>>2],20)|0;c=F[d+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=c;F[e+16>>2]=F[d+16>>2];c=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=c;c=F[b+64>>2];d=F[b+72>>2]}F[b+72>>2]=d+1}F[b+64>>2]=c+1}if(!a){break M}}Wb(b);break M}if(G[b+61|0]){Y:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Y}}if(!$a(b,1,1)){break M}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break M}Lc(b)}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!G[b+60|0]){break a}f=2878;Z:{_:{$:{aa:{e=F[b+80>>2];switch(F[e+L(c,20)>>2]-2821|0){case 0:break $;case 10:case 14:break aa;default:break _}}f=2903}d=F[e+L(a,20)>>2];ba:{if(G[b+61|0]){ca:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break ca}}if(!$a(b,1,1)){break ba}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=(f|0)){break Z}Wb(b);break Z}if(G[b+61|0]){da:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break da}}if(!$a(b,1,1)){break Z}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}if((a|0)!=1415671148){if((a|0)!=1415933045){if((a|0)!=1416196712){break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}ea:{fa:{ga:{ha:{ia:{ja:{ka:{d=F[b+80>>2];a=F[d+L(c,20)>>2];switch(a-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break ha;case 10:case 12:break ja;case 0:break ka;default:break ia}}a=F[d+L(f,20)>>2]==70832;break fa}a=F[d+L(f,20)>>2]==70842;break fa}if((a|0)==70826){break ga}}if(G[b+61|0]){la:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break la}}if(!$a(b,1,1)){break ea}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break ea}a=F[d+L(f,20)>>2]-70837>>>0<2}ma:{if(G[b+61|0]){na:{if((d|0)==F[b+84>>2]){d=c;if(F[b+72>>2]==(c|0)){break na}}if(!$a(b,1,1)){break ma}d=F[b+80>>2]+L(F[b+64>>2],20)|0;c=F[d+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=c;F[e+16>>2]=F[d+16>>2];c=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=c;c=F[b+64>>2];d=F[b+72>>2]}F[b+72>>2]=d+1}F[b+64>>2]=c+1}if(!a){break ea}Wb(b)}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}oa:{pa:{e=F[b+80>>2];d=F[e+L(c,20)>>2];a=d-3135|0;qa:{if(!(a>>>0>11|!(1<>2]==3157;break qa}if((d|0)!=3090){break pa}a=F[e+L(f,20)>>2];a=(a|0)==3148|(a|0)==3157}ra:{if(G[b+61|0]){sa:{if((e|0)==F[b+84>>2]){d=c;if(F[b+72>>2]==(c|0)){break sa}}if(!$a(b,1,1)){break ra}d=F[b+80>>2]+L(F[b+64>>2],20)|0;c=F[d+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=c;F[e+16>>2]=F[d+16>>2];c=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=c;c=F[b+64>>2];d=F[b+72>>2]}F[b+72>>2]=d+1}F[b+64>>2]=c+1}if(!a){break oa}Wb(b);break oa}if(G[b+61|0]){ta:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break ta}}if(!$a(b,1,1)){break oa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}a=F[b+80>>2];ua:{if(F[a+L(c,20)>>2]==2949){d=F[a+L(f,20)>>2];va:{if(G[b+61|0]){wa:{if((a|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break wa}}if(!$a(b,1,1)){break va}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=3010){break ua}Wb(b);break ua}if(G[b+61|0]){xa:{if((a|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break xa}}if(!$a(b,1,1)){break ua}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}if((a|0)<=1298954604){if((a|0)!=1198879349){if((a|0)!=1265525857){break a}F[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!G[b+60|0]){break a}f=3262;ya:{za:{Aa:{Ba:{e=F[b+80>>2];switch(F[e+L(c,20)>>2]-3209|0){case 0:case 2:break Aa;case 9:break Ba;default:break za}}f=3276}d=F[e+L(a,20)>>2];Ca:{if(G[b+61|0]){Da:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Da}}if(!$a(b,1,1)){break Ca}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=(f|0)){break ya}Wb(b);break ya}if(G[b+61|0]){Ea:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Ea}}if(!$a(b,1,1)){break ya}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{d=F[b+80>>2];a=F[d+L(c,20)>>2];switch(a-2674|0){case 1:break Pa;case 0:break Qa;default:break Ra}}if((a|0)!=2565){break Ja}a=F[d+L(f,20)>>2]-2622|0;if(a>>>0>14|!(1<>2]){a=c;if(F[b+72>>2]==(c|0)){break Ma}}if($a(b,1,1)){break Na}break Ka}a=F[d+L(f,20)>>2]-2623|0;if(a>>>0>8|!(1<>2]-2625|0;if(a>>>0>10|!(1<>2]){a=c;if(F[b+72>>2]==(c|0)){break Ma}}if($a(b,1,1)){break Na}break Ka}if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Ma}}if(!$a(b,1,1)){break Ka}}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+72>>2];a=F[b+64>>2]}F[b+72>>2]=c+1}F[b+64>>2]=a+1}Wb(b);break Fa}if(G[b+61|0]){Sa:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Sa}}if(!$a(b,1,1)){break Fa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break Fa}if(G[b+61|0]){Ta:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Ta}}if(!$a(b,1,1)){break Fa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break Fa}if(G[b+61|0]){Ua:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Ua}}if(!$a(b,1,1)){break Fa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break Fa}if(G[b+61|0]){Va:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Va}}if(!$a(b,1,1)){break Fa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}if((a|0)!=1298954605){if((a|0)!=1299145833){break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}a=F[b+80>>2];Wa:{if((F[a+L(c,20)>>2]&-2)==71168){d=F[a+L(f,20)>>2]-71225|0;Xa:{if(G[b+61|0]){Ya:{if((a|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Ya}}if(!$a(b,1,1)){break Xa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if(d>>>0>1){break Wa}Wb(b);break Wa}if(G[b+61|0]){Za:{if((a|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Za}}if(!$a(b,1,1)){break Wa}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}_a:{$a:{ab:{bb:{cb:{db:{d=F[b+80>>2];switch(F[d+L(c,20)>>2]-3335|0){case 11:break bb;case 7:break cb;case 0:case 2:break db;default:break $a}}a=F[d+L(f,20)>>2]==3415;break ab}a=F[d+L(f,20)>>2]==3398;break ab}a=F[d+L(f,20)>>2];a=(a|0)==3390|(a|0)==3415}eb:{if(G[b+61|0]){fb:{if((d|0)==F[b+84>>2]){d=c;if(F[b+72>>2]==(c|0)){break fb}}if(!$a(b,1,1)){break eb}d=F[b+80>>2]+L(F[b+64>>2],20)|0;c=F[d+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=c;F[e+16>>2]=F[d+16>>2];c=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=c;c=F[b+64>>2];d=F[b+72>>2]}F[b+72>>2]=d+1}F[b+64>>2]=c+1}if(!a){break _a}Wb(b);break _a}if(G[b+61|0]){gb:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break gb}}if(!$a(b,1,1)){break _a}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}if((a|0)!=1147500129){if((a|0)!=1198877298){break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}hb:{ib:{jb:{e=F[b+80>>2];a=F[e+L(c,20)>>2];kb:{if((a|0)!=2757){if((a|0)!=2693){break jb}a=F[e+L(f,20)>>2]-2750|0;if(a>>>0>14|!(1<>2]){a=c;if(F[b+72>>2]==(c|0)){break lb}}if(!$a(b,1,1)){break kb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;Wb(b);break hb}d=F[e+L(f,20)>>2];mb:{if(G[b+61|0]){nb:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break nb}}if(!$a(b,1,1)){break mb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=a;F[e+16>>2]=F[c+16>>2];a=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1}if((d|0)!=2750){break hb}}Wb(b);break hb}if(G[b+61|0]){ob:{if((e|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break ob}}if(!$a(b,1,1)){break hb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break hb}Lc(b)}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}F[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!G[b+60|0]){break a}pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{d=F[b+80>>2];switch(F[d+L(c,20)>>2]-2309|0){case 4:break xb;case 43:break yb;case 10:break zb;case 1:break Ab;case 0:break Bb;default:break ub}}a=F[d+L(f,20)>>2]-2362|0;if(a>>>0>29|!(1<>2]){a=c;if(F[b+72>>2]==(c|0)){break Cb}}if(!$a(b,1,1)){break vb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;Wb(b);break pb}a=F[d+L(f,20)>>2];if(a-2373>>>0>=4&(a|0)!=2362){break rb}if(G[b+61|0]){Db:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Db}}if(!$a(b,1,1)){break vb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;Wb(b);break pb}a=F[d+L(f,20)>>2]-2373>>>0<3;break wb}if(F[d+L(f,20)>>2]!=2381){break sb}a=c+2|0;if(a>>>0>=g>>>0){break tb}a=F[d+L(a,20)>>2];Lc(b);if((a|0)!=2311){break pb}Lc(b);Wb(b);break pb}a=F[d+L(f,20)>>2]==2369}Eb:{if(G[b+61|0]){Fb:{if((d|0)==F[b+84>>2]){d=c;if(F[b+72>>2]==(c|0)){break Fb}}if(!$a(b,1,1)){break Eb}d=F[b+80>>2]+L(F[b+64>>2],20)|0;c=F[d+4>>2];e=F[b+84>>2]+L(F[b+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=c;F[e+16>>2]=F[d+16>>2];c=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=c;c=F[b+64>>2];d=F[b+72>>2]}F[b+72>>2]=d+1}F[b+64>>2]=c+1}if(!a){break pb}}Wb(b);break pb}if(G[b+61|0]){Gb:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Gb}}if(!$a(b,1,1)){break pb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break pb}Lc(b);break pb}if(G[b+61|0]){Hb:{if((d|0)==F[b+84>>2]){a=c;if(F[b+72>>2]==(c|0)){break Hb}}if(!$a(b,1,1)){break pb}c=F[b+80>>2]+L(F[b+64>>2],20)|0;a=F[c+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[c>>2];F[d+4>>2]=a;F[d+16>>2]=F[c+16>>2];a=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=a;c=F[b+64>>2];a=F[b+72>>2]}F[b+72>>2]=a+1}F[b+64>>2]=c+1;break pb}Lc(b);break pb}Lc(b)}c=F[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}}mc(b)}}function lq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;m=Ga-80|0;Ga=m;a:{b:{switch(G[a+7|0]){case 0:c=F[b+4>>2];if(!(D[c+152|0]&1)){break a}g=G[a+4|0];if(g&16){break a}F[m+8>>2]=a;h=1;F[m+12>>2]=b;D[m+68|0]=g>>>6&1;F[m+64>>2]=m+8;o=m- -64|0;q=F[c+144>>2];p=Ga-160|0;Ga=p;j=F[b+16>>2];i=F[b+8>>2];if(mb(j,i,106210,0)){if(G[j+16|0]&64){wb(j,2,0,-1,1,0)}b=rc(p+8|0,1,i,j);F[b+120>>2]=q;F[b+132>>2]=8;F[b+36>>2]=0;F[b+8>>2]=b;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+52>>2]=b;F[b+20>>2]=q;D[b+17|0]=G[b+142|0];F[b+12>>2]=8;F[b+72>>2]=0;F[b+76>>2]=0;F[b- -64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=8;a=F[b+124>>2]==1;D[b+16|0]=a;D[b+60|0]=a|G[b+141|0]!=0;g=F[j+68>>2];if(g){k=b+4|0;l=F[j+88>>2];w=F[j+80>>2];A=(F[j+40>>2]&-2)!=4;while(1){c:{d:{t=L(e,20);c=t+w|0;if(!(q&F[c+4>>2])){break d}F[b+40>>2]=1;F[b+4>>2]=e;a=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[a+68>>2];D[b+24|0]=F[a+64>>2]==(e|0)?G[(t+F[a+80>>2]|0)+15|0]:0;if(!cc(k,p+4|0)){break d}a=F[o>>2];d=F[a>>2];z=F[c>>2];B=F[k>>2];n=L(B,20);v=F[n+w>>2];f=F[a+4>>2];c=0;r=163632;a=G[d+12|0]|G[d+13|0]<<8|(G[d+14|0]<<16|G[d+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e:{if((a|0)<=0){break e}a=a-1|0;while(1){f:{g:{h:{s=a+c>>>1|0;u=d+L(s,6)|0;y=G[u+28|0]|G[u+29|0]<<8;y=(y<<8|y>>>8)&65535;i:{if((y|0)==(z|0)){u=G[u+30|0]|G[u+31|0]<<8;u=(u<<8|u>>>8)&65535;if(u>>>0>v>>>0){break i}if((u|0)==(v|0)){break h}break g}if(z>>>0>=y>>>0){break g}}a=s-1|0;break f}r=(d+L(s,6)|0)+28|0;break e}c=s+1|0}if((a|0)>=(c|0)){continue}break}}a=G[r+4|0]|G[r+5|0]<<8;c=(a<<8|a>>>8)<<16>>16;a=c;j:{if(!f){break j}a=c;r=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);r=r<<24|r<<8&16711680|(r>>>8&65280|r>>>24);if(!r){break j}a=0;k:{if(r>>>0>2147483646){break k}c=c+d|0;if(c>>>0>2]){break k}d=F[f+28>>2];if(d>>>0>>0){break k}x=d-c|0;d=r<<1;if(x>>>0>>0){break k}d=F[f+32>>2]-d|0;F[f+32>>2]=d;if((d|0)<=0){break k}a=G[c|0]|G[c+1|0]<<8;a=(a<<8|a>>>8)<<16>>16}}if(a){l:{if(!A){a=a<<16;d=a>>31;a=EC(F[i+40>>2],F[i+44>>2],a>>16,d)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;if(G[o+4|0]){F[(l+n|0)+12>>2]=a;F[j+144>>2]=F[j+144>>2]|8;break l}c=l+t|0;d=a>>1;F[c>>2]=d+F[c>>2];c=l+n|0;a=a-d|0;F[c>>2]=a+F[c>>2];F[c+8>>2]=a+F[c+8>>2];break l}a=a<<16;f=a>>31;a=EC(F[i+48>>2],F[i+52>>2],a>>16,f)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;if(G[o+4|0]){F[(l+n|0)+8>>2]=a;F[j+144>>2]=F[j+144>>2]|8;break l}c=l+t|0;d=a>>1;F[c+4>>2]=d+F[c+4>>2];c=l+n|0;a=a-d|0;F[c+4>>2]=a+F[c+4>>2];F[c+12>>2]=a+F[c+12>>2]}Fc(j,e,B+1|0)}e=F[k>>2];break c}e=e+1|0}if(g>>>0>e>>>0){continue}break}}mb(j,i,106229,0)}Ga=p+160|0;break a;case 1:g=G[a+4|0];c=D[F[b+4>>2]+152|0]&1|g&64;n=!c;if(c){F[m+12>>2]=a;F[m+8>>2]=b;c=G[a+28|0]|G[a+29|0]<<8|(G[a+30|0]<<16|G[a+31|0]<<24);F[m+52>>2]=0;D[m+56|0]=g>>>6&1;a=a+12|0;F[m+16>>2]=a+(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24));c=F[F[b+8>>2]+16>>2];F[m+68>>2]=F[b+16>>2];F[m+64>>2]=a;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[m+72>>2]=a;g=m+8|0;j=m- -64|0;a=F[j+4>>2];F[a+64>>2]=0;m:{if(!G[a+60|0]){break m}while(1){b=0;n:{if(I[a+68>>2]<=e>>>0){break n}c=F[F[a+80>>2]+L(e,20)>>2];b=2;if((c|0)==65535){break n}a=F[j>>2];e=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=ec((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))+a|0,c,F[j+8>>2]);b=1;if(!a){break n}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=F[j>>2];e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=c>>>0>b>>>0;o=L(c,h);e=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);f=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=((d?b:1)+o<<1)+f|0;e=G[e|0]|G[e+1|0]<<8;k=L((e<<8|e>>>8)&65535,6);e=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);l=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=k+l|0;i=G[e|0]|G[e+1|0]<<8;o:{p:{if((G[e+4|0]|G[e+5|0]<<8)!=65535){break p}q:{if(!h){break q}h=G[e+2|0]|G[e+3|0]<<8;if(!(h&64?i:1)){break q}a=f+((d?b:1)<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=l+L((a<<8|a>>>8)&65535,6)|0;if((G[a+4|0]|G[a+5|0]<<8)!=65535|(i|0)!=(G[a|0]|G[a+1|0]<<8)|(h^(G[a+2|0]|G[a+3|0]<<8))&64){break p}}a=f+(o+!c<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=l+L((a<<8|a>>>8)&65535,6)|0;if((G[a+4|0]|G[a+5|0]<<8)==65535){break o}}a=F[j+4>>2];b=F[a+64>>2];h=G[a+61|0]?F[a+72>>2]:b;if(!h|b>>>0>=I[a+68>>2]){break o}wb(a,3,h-1|0,b+1|0,1,1)}a=G[e+2|0]|G[e+3|0]<<8;a=a<<8|a>>>8;h=a&65535;b=F[j+4>>2];if(a&8192){F[g+44>>2]=0}r:{if(!(h&32768)){break r}a=F[g+44>>2];if(a>>>0<=7){h=F[b+64>>2];F[g+44>>2]=a+1;F[(g+(a<<2)|0)+12>>2]=h;break r}F[g+44>>2]=0}h=G[e+4|0]|G[e+5|0]<<8;s:{if((h|0)==65535){break s}c=F[g+44>>2];if(!c){break s}t:{a=F[g+4>>2];a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=a>>>0>1?a:1;u:{if(4294967295/(d>>>0)>>>0<=c>>>0){break u}f=L(c,d);if(f>>>0>2147483646){break u}h=F[g+8>>2]+((h<<8|h>>>8)&65534)|0;a=F[g>>2];if(!f){break t}if(I[a+24>>2]>h>>>0){break u}l=F[a+28>>2];if(l>>>0>>0){break u}f=f<<1;if(f>>>0>l-h>>>0){break u}f=F[a+32>>2]-f|0;F[a+32>>2]=f;if((f|0)>0){break t}}F[g+44>>2]=0;break s}l=F[F[a+4>>2]+144>>2];o=d<<1;while(1){c=c-1|0;F[g+44>>2]=c;d=F[(g+(c<<2)|0)+12>>2];if(d>>>0>2]){a=G[h|0]|G[h+1|0]<<8;c=(a<<8|a>>>8)<<16>>16;a=c&-2;q=c&1;f=G[g+48|0];c=F[b+88>>2];v:{if((F[b+40>>2]&-2)==4){if(f){c=c+L(d,20)|0;if((a|0)==-32768){E[c+16>>1]=0;D[c+18|0]=0;F[c+12>>2]=0;break v}if(!G[c+18|0]){break v}k=c;d=F[c+12>>2];c=F[F[g>>2]+8>>2];a=EC(F[c+48>>2],F[c+52>>2],a,a>>31)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;F[k+12>>2]=d+((c&65535)<<16|a>>>16);F[b+144>>2]=F[b+144>>2]|8;break v}d=L(d,20);if(!(l&F[(d+F[b+80>>2]|0)+4>>2])){break v}c=c+d|0;d=F[F[g>>2]+8>>2];a=EC(F[d+40>>2],F[d+44>>2],a,a>>31)+32768|0;d=Ha;d=a>>>0<32768?d+1|0:d;a=(d&65535)<<16|a>>>16;F[c>>2]=a+F[c>>2];F[c+8>>2]=a+F[c+8>>2];break v}if(f){c=c+L(d,20)|0;if((a|0)==-32768){E[c+16>>1]=0;D[c+18|0]=0;F[c+8>>2]=0;break v}if(!G[c+18|0]){break v}k=c;d=F[c+8>>2];c=F[F[g>>2]+8>>2];c=EC(F[c+40>>2],F[c+44>>2],a,a>>31)+32768|0;a=Ha;a=c>>>0<32768?a+1|0:a;F[k+8>>2]=d+((a&65535)<<16|c>>>16);F[b+144>>2]=F[b+144>>2]|8;break v}d=L(d,20);if(!(l&F[(d+F[b+80>>2]|0)+4>>2])){break v}c=c+d|0;d=F[F[g>>2]+8>>2];a=EC(F[d+48>>2],F[d+52>>2],a,a>>31)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;F[c+4>>2]=a+F[c+4>>2];F[c+12>>2]=a+F[c+12>>2]}if(q){break s}c=F[g+44>>2]}h=h+o|0;if(c){continue}break}}a=F[j+4>>2];h=F[a+64>>2];if((h|0)==F[a+68>>2]|!G[a+60|0]){break m}w:{if(G[e+2|0]&64){b=F[a+152>>2];F[a+152>>2]=b-1;if((b|0)>0){break w}}if(G[a+61|0]){x:{if(F[a+84>>2]==F[a+80>>2]){b=h;if(F[a+72>>2]==(b|0)){break x}}if(!$a(a,1,1)){break w}e=F[a+80>>2]+L(F[a+64>>2],20)|0;h=F[e+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[e>>2];F[b+4>>2]=h;F[b+16>>2]=F[e+16>>2];h=F[e+12>>2];F[b+8>>2]=F[e+8>>2];F[b+12>>2]=h;h=F[a+64>>2];b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=h+1}a=F[j+4>>2];if(!G[a+60|0]){break m}h=(i<<8|i>>>8)&65535;e=F[a+64>>2];continue}}}h=!n;break a;case 2:c=F[b+4>>2];if(!(D[c+152|0]&1)){break a}g=G[a+4|0];if(g&16){break a}F[m+8>>2]=a;h=1;F[m+12>>2]=b;D[m+68|0]=g>>>6&1;F[m+64>>2]=m+8;q=m- -64|0;p=F[c+144>>2];k=Ga-160|0;Ga=k;j=F[b+16>>2];l=F[b+8>>2];if(mb(j,l,106210,0)){if(G[j+16|0]&64){wb(j,2,0,-1,1,0)}b=rc(k+8|0,1,l,j);F[b+120>>2]=p;F[b+132>>2]=8;F[b+36>>2]=0;F[b+8>>2]=b;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+52>>2]=b;F[b+20>>2]=p;D[b+17|0]=G[b+142|0];F[b+12>>2]=8;F[b+72>>2]=0;F[b+76>>2]=0;F[b- -64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=8;a=F[b+124>>2]==1;D[b+16|0]=a;D[b+60|0]=a|G[b+141|0]!=0;g=F[j+68>>2];if(g){t=b+4|0;n=F[j+88>>2];u=F[j+80>>2];z=(F[j+40>>2]&-2)!=4;while(1){y:{z:{r=L(e,20);c=r+u|0;if(!(p&F[c+4>>2])){break z}F[b+40>>2]=1;F[b+4>>2]=e;a=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[a+68>>2];D[b+24|0]=F[a+64>>2]==(e|0)?G[(r+F[a+80>>2]|0)+15|0]:0;if(!cc(t,k+4|0)){break z}v=F[t>>2];o=L(v,20);w=F[o+u>>2];i=0;s=0;f=F[q>>2];d=F[f>>2];a=G[d+16|0]|G[d+17|0]<<8|(G[d+18|0]<<16|G[d+19|0]<<24);x=F[c>>2];f=F[f+4>>2];c=F[f+56>>2];a=ec((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+d|0,x,c);if(a){a=G[a|0]|G[a+1|0]<<8;s=(a<<8|a>>>8)&65535}a=G[d+20|0]|G[d+21|0]<<8|(G[d+22|0]<<16|G[d+23|0]<<24);a=ec(d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0,w,c);if(a){a=G[a|0]|G[a+1|0]<<8;i=(a<<8|a>>>8)&65535}c=0;A=F[f+24>>2];a=G[d+24|0]|G[d+25|0]<<8|(G[d+26|0]<<16|G[d+27|0]<<24);a=(d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)+(i+s<<1)|0;A:{B:{if(A>>>0>a>>>0){break B}i=F[f+28>>2];if(i>>>0>>0|i-a>>>0<2){break B}w=F[f+32>>2]-2|0;F[f+32>>2]=w;if((w|0)<=0){break B}a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;s=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);s=s<<24|s<<8&16711680|(s>>>8&65280|s>>>24);if(!s){break A}if(s>>>0>2147483646){break B}a=a+d|0;if(a>>>0>>0|a>>>0>i>>>0){break B}d=s<<1;if(d>>>0>i-a>>>0){break B}d=w-d|0;F[f+32>>2]=d;if((d|0)<=0){break B}a=G[a|0]|G[a+1|0]<<8;c=(a<<8|a>>>8)<<16>>16}a=c}if(a){C:{if(!z){a=a<<16;f=a>>31;a=EC(F[l+40>>2],F[l+44>>2],a>>16,f)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(G[q+4|0]){F[(n+o|0)+12>>2]=a;F[j+144>>2]=F[j+144>>2]|8;break C}c=n+r|0;d=a>>1;F[c>>2]=d+F[c>>2];c=n+o|0;a=a-d|0;F[c>>2]=a+F[c>>2];F[c+8>>2]=a+F[c+8>>2];break C}a=a<<16;c=a>>31;a=EC(F[l+48>>2],F[l+52>>2],a>>16,c)+32768|0;d=Ha;d=a>>>0<32768?d+1|0:d;a=(d&65535)<<16|a>>>16;if(G[q+4|0]){F[(n+o|0)+8>>2]=a;F[j+144>>2]=F[j+144>>2]|8;break C}c=n+r|0;d=a>>1;F[c+4>>2]=d+F[c+4>>2];c=n+o|0;a=a-d|0;F[c+4>>2]=a+F[c+4>>2];F[c+12>>2]=a+F[c+12>>2]}Fc(j,e,v+1|0)}e=F[t>>2];break y}e=e+1|0}if(g>>>0>e>>>0){continue}break}}mb(j,l,106229,0)}Ga=k+160|0;break a;case 4:F[m+8>>2]=b;F[m+12>>2]=G[a+28|0]>>>6;c=G[a+31|0];g=G[a+30|0];d=G[a+29|0];F[m+24>>2]=0;D[m+20|0]=0;a=a+12|0;F[m+16>>2]=a+(c|(g<<8|d<<16));c=F[F[b+8>>2]+16>>2];F[m+68>>2]=F[b+16>>2];F[m+64>>2]=a;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[m+72>>2]=a;g=m+8|0;l=m- -64|0;a=F[l+4>>2];F[a+64>>2]=0;D:{if(!G[a+60|0]){break D}while(1){b=0;E:{if(I[a+68>>2]<=e>>>0){break E}c=F[F[a+80>>2]+L(e,20)>>2];b=2;if((c|0)==65535){break E}a=F[l>>2];e=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=ec((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))+a|0,c,F[l+8>>2]);b=1;if(!a){break E}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=F[l>>2];e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=c>>>0>b>>>0;i=L(c,h);e=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);f=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=((d?b:1)+i<<1)+f|0;e=G[e|0]|G[e+1|0]<<8;k=L((e<<8|e>>>8)&65535,6);e=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);e=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;j=k+e|0;n=G[j|0]|G[j+1|0]<<8;F:{G:{if((G[j+4|0]|G[j+5|0]<<8)!=65535){break G}H:{if(!h){break H}h=G[j+2|0]|G[j+3|0]<<8;if(!(h&64?n:1)){break H}a=f+((d?b:1)<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=e+L((a<<8|a>>>8)&65535,6)|0;if((G[a+4|0]|G[a+5|0]<<8)!=65535|(n|0)!=(G[a|0]|G[a+1|0]<<8)|(h^(G[a+2|0]|G[a+3|0]<<8))&64){break G}}a=f+(i+!c<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=e+L((a<<8|a>>>8)&65535,6)|0;if((G[a+4|0]|G[a+5|0]<<8)==65535){break F}}a=F[l+4>>2];b=F[a+64>>2];e=G[a+61|0]?F[a+72>>2]:b;if(!e|b>>>0>=I[a+68>>2]){break F}wb(a,3,e-1|0,b+1|0,1,1)}b=Ga-32|0;Ga=b;h=F[l+4>>2];I:{J:{if(!G[g+12|0]){break J}a=G[j+4|0]|G[j+5|0]<<8;if((a|0)==65535){break J}o=F[h+64>>2];if(o>>>0>=I[h+68>>2]){break J}c=(a<<8|a>>>8)&65535;q=F[h+88>>2];K:{L:{switch(F[g+4>>2]){case 0:a=F[g+8>>2]+(c<<2)|0;e=F[g>>2];if(a>>>0>2]){break I}c=F[e+28>>2];if(c>>>0>>0|c-a>>>0<4){break I}c=F[e+32>>2]-4|0;F[e+32>>2]=c;if((c|0)<=0){break I}f=G[a+2|0]|G[a+3|0]<<8;c=G[a|0]|G[a+1|0]<<8;F[b+12>>2]=0;F[b+8>>2]=0;d=F[F[F[e+16>>2]+80>>2]+L(F[g+16>>2],20)>>2];a=F[e+8>>2];F[b+20>>2]=0;F[b+16>>2]=0;e=F[a+80>>2];if(!(Ia[F[e+212>>2]](a,F[a+84>>2],d,(c<<8|c>>>8)&65535,b+20|0,b+16|0,F[e+68>>2])|0)){break I}pd(a,d,b+28|0,b+24|0);F[b+20>>2]=F[b+20>>2]-F[b+28>>2];F[b+16>>2]=F[b+16>>2]-F[b+24>>2];a=F[g>>2];e=F[a+8>>2];a=F[a+16>>2];i=F[F[a+80>>2]+L(F[a+64>>2],20)>>2];a=Ga-16|0;Ga=a;c=b+8|0;F[c>>2]=0;d=b+12|0;F[d>>2]=0;k=(f<<8|(f&65280)>>>8)&65535;f=F[e+80>>2];f=Ia[F[f+212>>2]](e,F[e+84>>2],i,k,d,c,F[f+68>>2])|0;if(f){pd(e,i,a+12|0,a+8|0);F[d>>2]=F[d>>2]-F[a+12>>2];F[c>>2]=F[c>>2]-F[a+8>>2]}Ga=a+16|0;if(!f){break I}a=q+L(o,20)|0;F[a+8>>2]=F[b+20>>2]-F[b+12>>2];F[a+12>>2]=F[b+16>>2]-F[b+8>>2];break K;case 1:a=F[g+8>>2]+(c<<2)|0;e=F[g>>2];if(a>>>0>2]){break I}c=F[e+28>>2];if(c>>>0>>0|c-a>>>0<4){break I}c=F[e+32>>2]-4|0;F[e+32>>2]=c;if((c|0)<=0){break I}f=G[a+2|0]|G[a+3|0]<<8;p=G[a|0]|G[a+1|0]<<8;i=163632;c=163632;a=F[e+64>>2];d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=ec(d?a+d|0:164042,F[F[F[e+16>>2]+80>>2]+L(F[g+16>>2],20)>>2],F[e+56>>2]);if(d){e=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);c=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;a=G[d|0]|G[d+1|0]<<8;a=c+((a<<8|a>>>8)&65535)|0;e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=(p<<8|(p&65280)>>>8)&65535;c=(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))>>>0>c>>>0?(a+(c<<2)|0)+4|0:163632}d=F[g>>2];a=F[d+64>>2];e=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);k=e?a+e|0:164042;e=F[d+16>>2];d=ec(k,F[F[e+80>>2]+L(F[e+64>>2],20)>>2],F[d+56>>2]);if(d){e=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);e=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;a=G[d|0]|G[d+1|0]<<8;a=e+((a<<8|a>>>8)&65535)|0;e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=(f<<8|f>>>8)&65535;i=(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))>>>0>d>>>0?(a+(d<<2)|0)+4|0:163632}e=F[F[g>>2]+8>>2];p=F[e+40>>2];a=F[e+44>>2];k=a;a=G[c|0]|G[c+1|0]<<8;a=(a<<8|a>>>8)<<16;d=a>>31;a=EC(p,k,a>>16,d)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;t=q+L(o,20)|0;x=(f&65535)<<16|a>>>16;a=G[i|0]|G[i+1|0]<<8;d=(a<<8|a>>>8)<<16;f=d>>31;a=EC(p,k,d>>16,f)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;F[t+8>>2]=x-((f&65535)<<16|a>>>16);a=F[e+52>>2];p=a;e=F[e+48>>2];a=G[c+2|0]|G[c+3|0]<<8;d=(a<<8|a>>>8)<<16;f=d>>31;a=EC(e,p,d>>16,f)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;k=(c&65535)<<16|a>>>16;a=G[i+2|0]|G[i+3|0]<<8;f=(a<<8|a>>>8)<<16;c=f>>31;e=EC(e,p,f>>16,c)+32768|0;a=Ha;a=e>>>0<32768?a+1|0:a;F[t+12>>2]=k-((a&65535)<<16|e>>>16);break K;case 2:break L;default:break K}}e=F[g+8>>2]+(c<<3)|0;a=F[g>>2];if(e>>>0>2]){break I}c=F[a+28>>2];if(c>>>0>>0|c-e>>>0<8){break I}c=F[a+32>>2]-8|0;F[a+32>>2]=c;if((c|0)<=0){break I}i=G[e+6|0]|G[e+7|0]<<8;p=G[e+2|0]|G[e+3|0]<<8;c=F[a+8>>2];d=F[c+40>>2];a=F[c+44>>2];k=a;a=G[e|0]|G[e+1|0]<<8;f=(a<<8|a>>>8)<<16;a=f>>31;a=EC(d,k,f>>16,a)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;t=q+L(o,20)|0;x=(f&65535)<<16|a>>>16;a=G[e+4|0]|G[e+5|0]<<8;a=(a<<8|a>>>8)<<16;f=a>>31;a=EC(d,k,a>>16,f)+32768|0;d=Ha;d=a>>>0<32768?d+1|0:d;F[t+8>>2]=x-((d&65535)<<16|a>>>16);a=F[c+52>>2];e=a;f=F[c+48>>2];a=(p<<8|p>>>8)<<16;d=a>>31;a=EC(f,e,a>>16,d)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;k=(c&65535)<<16|a>>>16;d=(i<<8|i>>>8)<<16;c=d>>31;a=EC(f,e,d>>16,c)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;F[t+12>>2]=k-((f&65535)<<16|a>>>16)}a=q+L(o,20)|0;D[a+18|0]=1;E[a+16>>1]=F[g+16>>2]-F[h+64>>2];F[h+144>>2]=F[h+144>>2]|8}if(!(G[j+2|0]&128)){break I}D[g+12|0]=1;F[g+16>>2]=F[h+64>>2]}Ga=b+32|0;a=F[l+4>>2];h=F[a+64>>2];if((h|0)==F[a+68>>2]|!G[a+60|0]){break D}M:{if(G[j+2|0]&64){b=F[a+152>>2];F[a+152>>2]=b-1;if((b|0)>0){break M}}if(G[a+61|0]){N:{if(F[a+84>>2]==F[a+80>>2]){b=h;if(F[a+72>>2]==(b|0)){break N}}if(!$a(a,1,1)){break M}e=F[a+80>>2]+L(F[a+64>>2],20)|0;h=F[e+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[e>>2];F[b+4>>2]=h;F[b+16>>2]=F[e+16>>2];h=F[e+12>>2];F[b+8>>2]=F[e+8>>2];F[b+12>>2]=h;h=F[a+64>>2];b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=h+1}a=F[l+4>>2];if(!G[a+60|0]){break D}h=(n<<8|n>>>8)&65535;e=F[a+64>>2];continue}}h=1;break a;case 6:break b;default:break a}}c=F[b+4>>2];if(!(D[c+152|0]&1)){break a}g=G[a+4|0];if(g&16){break a}F[m+8>>2]=a;h=1;F[m+12>>2]=b;D[m+68|0]=g>>>6&1;F[m+64>>2]=m+8;t=m- -64|0;r=F[c+144>>2];s=Ga-160|0;Ga=s;l=F[b+16>>2];o=F[b+8>>2];if(mb(l,o,106210,0)){if(G[l+16|0]&64){wb(l,2,0,-1,1,0)}c=rc(s+8|0,1,o,l);F[c+120>>2]=r;F[c+132>>2]=8;F[c+36>>2]=0;F[c+8>>2]=c;F[c+28>>2]=0;F[c+32>>2]=0;F[c+80>>2]=0;F[c+52>>2]=c;F[c+20>>2]=r;D[c+17|0]=G[c+142|0];F[c+12>>2]=8;F[c+72>>2]=0;F[c+76>>2]=0;F[c- -64>>2]=-1;D[c+61|0]=1;F[c+56>>2]=8;a=F[c+124>>2]==1;D[c+16|0]=a;D[c+60|0]=a|G[c+141|0]!=0;j=F[l+68>>2];if(j){u=c+4|0;q=F[l+88>>2];z=F[l+80>>2];A=(F[l+40>>2]&-2)!=4;while(1){O:{P:{w=L(e,20);b=w+z|0;if(!(r&F[b+4>>2])){break P}F[c+40>>2]=1;F[c+4>>2]=e;a=F[F[c+8>>2]+100>>2];F[c+44>>2]=F[a+68>>2];D[c+24|0]=F[a+64>>2]==(e|0)?G[(w+F[a+80>>2]|0)+15|0]:0;if(!cc(u,s+4|0)){break P}b=F[b>>2];B=F[u>>2];p=L(B,20);i=F[p+z>>2];g=0;d=F[t>>2];f=F[d>>2];a=G[f+20|0]|G[f+21|0]<<8|(G[f+22|0]<<16|G[f+23|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+f|0;n=F[d+4>>2];k=F[n+56>>2];Q:{R:{S:{if(D[f+15|0]&1){d=Ai(a,b,k);a=G[f+24|0]|G[f+25|0]<<8|(G[f+26|0]<<16|G[f+27|0]<<24);b=Ai(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0,i,k);a=d+b|0;if(a>>>0>>0|a>>>0>1073741822){break R}v=F[n+24>>2];b=G[f+28|0]|G[f+29|0]<<8|(G[f+30|0]<<16|G[f+31|0]<<24);a=(f+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0)+(a<<2)|0;if(v>>>0>a>>>0){break R}b=F[n+28>>2];if(b>>>0>>0|b-a>>>0<4){break R}k=F[n+32>>2]-4|0;F[n+32>>2]=k;if((k|0)<=0){break R}a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=G[f+8|0]|G[f+9|0]<<8|(G[f+10|0]<<16|G[f+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break Q}if(d>>>0>2147483646){break R}x=a;a=G[f+32|0]|G[f+33|0]<<8|(G[f+34|0]<<16|G[f+35|0]<<24);i=x+(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(v>>>0>i>>>0|b>>>0>>0){break R}a=d<<1;if(a>>>0>b-i>>>0){break R}a=k-a|0;F[n+32>>2]=a;if((a|0)>0){break S}break R}T:{if((G[a|0]|G[a+1|0]<<8)==2560){U:{d=G[a+4|0]|G[a+5|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=b>>>0){d=b-d|0;v=G[a+6|0]|G[a+7|0]<<8;if(d>>>0<((v<<8|v>>>8)&65535)>>>0){break U}}a=H[81816];b=(a<<8|a>>>8)&65535;break T}b=G[a+2|0]|G[a+3|0]<<8;if(!b){b=0;break T}x=a;b=(b<<8|b>>>8)&65535;a=L(b,d);a=(a|0)<0?163632:(x+a|0)+8|0;b=b>>>0>1?b:1;v=b&3;if(b-1>>>0<3){b=0}else{y=b&65532;b=0;while(1){d=a;a=a+4|0;b=b+4|0;if((y|0)!=(b|0)){continue}break}b=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!v){break T}while(1){b=G[a|0]|b<<8;a=a+1|0;g=g+1|0;if((v|0)!=(g|0)){continue}break}break T}a=ec(a,b,k);a=a?a:163632;a=G[a|0]|G[a+1|0]<<8;b=a<<8|a>>>8}v=b&65535;a=G[f+24|0]|G[f+25|0]<<8|(G[f+26|0]<<16|G[f+27|0]<<24);a=f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;V:{if((G[a|0]|G[a+1|0]<<8)==2560){W:{b=G[a+4|0]|G[a+5|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<=i>>>0){g=G[a+6|0]|G[a+7|0]<<8;k=(g<<8|g>>>8)&65535;g=i-b|0;if(k>>>0>g>>>0){break W}}a=H[81816];b=(a<<8|a>>>8)&65535;break V}b=G[a+2|0]|G[a+3|0]<<8;if(!b){b=0;break V}i=0;k=a;b=(b<<8|b>>>8)&65535;a=L(b,g);a=(a|0)<0?163632:(k+a|0)+8|0;b=b>>>0>1?b:1;d=b&3;if(b-1>>>0<3){b=0}else{k=b&65532;b=0;while(1){g=a;a=a+4|0;b=b+4|0;if((k|0)!=(b|0)){continue}break}b=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!d){break V}while(1){b=G[a|0]|b<<8;a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break V}a=ec(a,i,k);a=a?a:163632;a=G[a|0]|G[a+1|0]<<8;b=a<<8|a>>>8}g=0;y=F[n+24>>2];a=G[f+28|0]|G[f+29|0]<<8|(G[f+30|0]<<16|G[f+31|0]<<24);a=(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)+(v+(b&65535)<<1)|0;if(y>>>0>a>>>0){break R}b=F[n+28>>2];if(b>>>0>>0|b-a>>>0<2){break R}k=F[n+32>>2]-2|0;F[n+32>>2]=k;if((k|0)<=0){break R}a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;d=G[f+8|0]|G[f+9|0]<<8|(G[f+10|0]<<16|G[f+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break Q}if(d>>>0>2147483646){break R}x=a;a=G[f+32|0]|G[f+33|0]<<8|(G[f+34|0]<<16|G[f+35|0]<<24);i=x+(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(y>>>0>i>>>0|b>>>0>>0){break R}a=d<<1;if(a>>>0>b-i>>>0){break R}a=k-a|0;F[n+32>>2]=a;if((a|0)<=0){break R}}a=G[i|0]|G[i+1|0]<<8;g=(a<<8|a>>>8)<<16>>16}a=g}if(a){X:{if(!A){d=a<<16;f=d>>31;a=EC(F[o+40>>2],F[o+44>>2],d>>16,f)+32768|0;f=Ha;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;if(G[t+4|0]){F[(p+q|0)+12>>2]=a;F[l+144>>2]=F[l+144>>2]|8;break X}b=q+w|0;g=a>>1;F[b>>2]=g+F[b>>2];b=p+q|0;a=a-g|0;F[b>>2]=a+F[b>>2];F[b+8>>2]=a+F[b+8>>2];break X}d=a<<16;f=d>>31;b=EC(F[o+48>>2],F[o+52>>2],d>>16,f)+32768|0;a=Ha;a=b>>>0<32768?a+1|0:a;a=(a&65535)<<16|b>>>16;if(G[t+4|0]){F[(p+q|0)+8>>2]=a;F[l+144>>2]=F[l+144>>2]|8;break X}b=q+w|0;g=a>>1;F[b+4>>2]=g+F[b+4>>2];b=p+q|0;a=a-g|0;F[b+4>>2]=a+F[b+4>>2];F[b+12>>2]=a+F[b+12>>2]}Fc(l,e,B+1|0)}e=F[u>>2];break O}e=e+1|0}if(j>>>0>e>>>0){continue}break}}mb(l,o,106229,0)}Ga=s+160|0}Ga=m+80|0;return h|0}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,M=0,N=0;s=Ga-16|0;Ga=s;f=11;g=F[F[b+96>>2]+4>>2];n=Jc(g,9005);a:{if(!n){break a}y=pc(F[b+96>>2],10901,1);J=Jc(g,11010);h=Jc(g,11108);if(!h){break a}F[b+556>>2]=h;K=pc(F[b+96>>2],10595,1);f=Za(a,0);if(f){break a}C=Ia[F[n+4>>2]](a,b,c,d,e)|0;b:{if(!C){f=2;if(F[b+148>>2]!=1330926671){break a}f=0;if((c|0)<0){break a}c:{if(!(Ia[F[b+516>>2]](b,1751474532,a,0)|0)){f=Ia[F[n+8>>2]](a,b,c,d,e)|0;if(!f){break c}break a}f=Ia[F[n+32>>2]](b,a)|0;if(f){break a}u=1}f=Ia[F[b+516>>2]](b,1128678962,a,0)|0;F[s+12>>2]=f;if(!f){d=1;D[b+732|0]=1;break b}if((f&255)!=142){break a}d=0;f=Ia[F[b+516>>2]](b,1128678944,a,0)|0;F[s+12>>2]=f;if(!f){break b}break a}d=0;f=Za(a,0);if(f){break a}F[s+12>>2]=0;u=1}z=F[b+100>>2];n=gb(z,3136,s+12|0);f=F[s+12>>2];if(f){break a}F[b+712>>2]=n;e=b;i=Ga-80|0;Ga=i;t=F[a+28>>2];k=Wa(n,0,3136);F[i+72>>2]=0;b=i- -64|0;F[b>>2]=0;F[b+4>>2]=0;F[i+56>>2]=0;F[i+60>>2]=0;F[i+48>>2]=0;F[i+52>>2]=0;F[i+40>>2]=0;F[i+44>>2]=0;r=F[a+8>>2];D[k+32|0]=d;F[k+8>>2]=t;F[k+4>>2]=a;F[k>>2]=g;F[k+12>>2]=r;b=sb(a,27632,k);F[i+76>>2]=b;d:{if(b){break d}e:{if(d){if(!(G[k+24|0]==2&G[k+26|0]>4)){F[i+76>>2]=2;break d}M=k,N=fb(a,i+76|0),F[M+28>>2]=N;if(F[i+76>>2]){break d}b=G[k+26|0];break e}f=Jb(a,i+76|0);if(F[i+76>>2]){break d}f:{if(G[k+24|0]!=1){break f}b=G[k+26|0];if(b>>>0<4){break f}if(f>>>0<5){break e}}F[i+76>>2]=2;break d}b=Za(a,b+r|0);F[i+76>>2]=b;if(b){if(!u){break d}F[i+76>>2]=2;break d}g:{if(d){F[k+1240>>2]=0;F[k+1244>>2]=0;F[k+1272>>2]=0;b=k+1264|0;F[b>>2]=0;F[b+4>>2]=0;f=k+1256|0;F[f>>2]=0;F[f+4>>2]=0;f=k+1248|0;F[f>>2]=0;F[f+4>>2]=0;F[k+1260>>2]=F[a+8>>2];f=b;b=F[k+28>>2];F[f>>2]=b;b=Fb(a,b);F[i+76>>2]=b;if(b){break d}b=gd(k+108|0,a,1,1);F[i+76>>2]=b;if(b){break d}break g}b=gd(k+36|0,a,0,0);F[i+76>>2]=b;if(b){if(!u){break d}F[i+76>>2]=2;break d}b=F[k+48>>2];if(!(b>>>0<2|b>>>0<=I[k+60>>2])){F[i+76>>2]=u?2:3;break d}b=gd(k+1240|0,a,0,0);F[i+76>>2]=b;if(b){break d}b=gd(i+40|0,a,1,0);F[i+76>>2]=b;if(b){break d}b=gd(k+108|0,a,1,0);F[i+76>>2]=b;if(b){break d}b=Tg(i+40|0,k+1360|0,k+1364|0,k+1368|0);F[i+76>>2]=b;if(b){break d}if(I[k+48>>2]<=I[k+1252>>2]){break g}F[i+76>>2]=3;break d}F[k+1356>>2]=F[i+52>>2];h:{i:{if(u){A=c&65535;b=F[k+48>>2];if(A>>>0>>0|(c|0)<=0){break i}F[i+76>>2]=6;break d}if(I[k+48>>2]<2){break h}F[i+76>>2]=3;break d}F[k+16>>2]=b}if((c|0)<0){break d}b=Zl(k+1372|0,k+1240|0,A,a,r,d?12288:4096,k,e);F[i+76>>2]=b;if(b){break d}b=Za(a,r+F[k+1484>>2]|0);F[i+76>>2]=b;if(b){break d}b=gd(k+1204|0,a,0,d);F[i+76>>2]=b;if(b){break d}j:{if(!(!d&F[k+1504>>2]==65535)){f=k+3112|0;b=Ga-16|0;Ga=b;h=F[a+28>>2];k:{l:{g=F[k+1552>>2];if(!g){break l}g=Za(a,g+r|0);F[b+12>>2]=g;if(g){break k}g=Fb(a,2);F[b+12>>2]=g;if(g){break k}q=F[a+8>>2];g=fb(a,b+12|0);if(F[b+12>>2]){break k}if((g|0)!=1){F[b+12>>2]=3;break k}g=Bb(a,b+12|0);if(F[b+12>>2]){break k}p=fb(a,b+12|0);F[f>>2]=p;if(F[b+12>>2]){break k}j=Va(h,4,0,p,0,b+12|0);if(F[b+12>>2]){break k}if(F[f>>2]){while(1){M=(l<<2)+j|0,N=Bb(a,b+12|0),F[M>>2]=N;if(F[b+12>>2]){break k}l=l+1|0;if(l>>>0>2]){continue}break}}g=Za(a,g+q|0);F[b+12>>2]=g;if(g){break k}M=f,N=fb(a,b+12|0),E[M+8>>1]=N;if(F[b+12>>2]){break k}g=fb(a,b+12|0);F[f+12>>2]=g;if(F[b+12>>2]){break k}o=Va(h,4,0,g,0,b+12|0);F[f+16>>2]=o;if(F[b+12>>2]){break k}m:{if(!F[f+12>>2]){break m}g=Va(h,12,0,H[f+8>>1],0,b+12|0);F[o>>2]=g;if(F[b+12>>2]){break k}while(1){n:{if(!H[f+8>>1]){g=0;break n}p=fb(a,b+12|0);if(F[b+12>>2]){break k}l=0;while(1){v=fb(a,b+12|0);if(F[b+12>>2]){break k}x=fb(a,b+12|0);if(F[b+12>>2]){break k}g=L(l,12)+g|0;F[g+8>>2]=x<<16>>16<<2;F[g+4>>2]=v<<16>>16<<2;F[g>>2]=p<<16>>16<<2;l=l+1|0;g=H[f+8>>1];if(l>>>0>=g>>>0){break n}g=F[o>>2];p=fb(a,b+12|0);if(!F[b+12>>2]){continue}break}break k}m=m+1|0;if(m>>>0>=I[f+12>>2]){break m}o=F[f+16>>2]+(m<<2)|0;g=Va(h,12,0,g,0,b+12|0);F[o>>2]=g;if(!F[b+12>>2]){continue}break}break k}l=Va(h,8,0,F[f>>2],0,b+12|0);F[f+4>>2]=l;if(F[b+12>>2]){break k}if(!F[f>>2]){break l}g=Za(a,q+F[j>>2]|0);F[b+12>>2]=g;if(g){break k}g=0;while(1){m=Fb(a,4);F[b+12>>2]=m;if(m){break k}m=(g<<3)+l|0;l=fb(a,b+12|0);F[m>>2]=l;if(F[b+12>>2]){break k}M=m,N=Va(h,4,0,l,0,b+12|0),F[M+4>>2]=N;if(F[b+12>>2]){break k}if(F[m>>2]){l=0;while(1){p=fb(a,b+12|0);F[F[m+4>>2]+(l<<2)>>2]=p;if(F[b+12>>2]){break k}l=l+1|0;if(l>>>0>2]){continue}break}}g=g+1|0;if(g>>>0>=I[f>>2]){break l}l=F[f+4>>2];m=Za(a,q+F[(g<<2)+j>>2]|0);F[b+12>>2]=m;if(!m){continue}break}break k}F[b+12>>2]=0}if(j){Ia[F[h+8>>2]](h,j)}if(F[b+12>>2]){ri(f,h);f=F[b+12>>2]}else{f=0}Ga=b+16|0;F[i+76>>2]=f;if(f){break d}b=Za(a,r+F[k+1536>>2]|0);F[i+76>>2]=b;if(b){break d}b=gd(i,a,0,d);F[i+76>>2]=b;if(b){break d}f=F[i+12>>2];o:{if(f>>>0>256){break o}F[k+2024>>2]=f;b=0;f=Va(t,652,0,f,0,i+76|0);if(F[i+76>>2]){break o}g=F[i+12>>2];p:{if(!g){break p}if(g-1>>>0>=3){j=g&-4;h=k+2028|0;while(1){F[h+(b<<2)>>2]=f+L(b,652);m=b|1;F[h+(m<<2)>>2]=f+L(m,652);m=b|2;F[h+(m<<2)>>2]=f+L(m,652);m=b|3;F[h+(m<<2)>>2]=f+L(m,652);b=b+4|0;w=w+4|0;if((j|0)!=(w|0)){continue}break}}h=g&3;if(h){while(1){F[(k+(b<<2)|0)+2028>>2]=f+L(b,652);b=b+1|0;B=B+1|0;if((h|0)!=(B|0)){continue}break}}if(!g){b=0;break p}f=d?16384:4096;b=0;while(1){g=Zl(F[(k+(b<<2)|0)+2028>>2],i,b,a,r,f,k,e);F[i+76>>2]=g;if(g){break o}b=b+1|0;g=F[i+12>>2];if(b>>>0>>0){continue}break}b=g>>>0>1}if(b?0:d){break o}h=k+3052|0;g=F[k+1216>>2];f=Ga-16|0;Ga=f;b=Za(a,r+F[k+1540>>2]|0);F[f+12>>2]=b;q:{if(b){break q}j=Jb(a,f+12|0);b=F[f+12>>2];if(b){break q}F[h+20>>2]=0;D[h|0]=j;b=3;r:{switch(j&255){case 3:g=fb(a,f+12|0);b=F[f+12>>2];if(b){break q}b=3;if(!g){break q}g=L(g,3)+2|0;break;case 0:break r;default:break q}}F[h+12>>2]=g;b=$b(a,g,h+8|0)}Ga=f+16|0;F[i+76>>2]=b}b=F[i>>2];if(b){f=i+32|0;g=F[b+28>>2];if(F[i+32>>2]){Eb(b,f)}b=F[i+28>>2];if(b){Ia[F[g+8>>2]](g,b)}F[f>>2]=0;F[i+24>>2]=0;F[i+28>>2]=0;F[i+16>>2]=0;F[i+20>>2]=0;F[i+8>>2]=0;F[i+12>>2]=0;F[i>>2]=0;F[i+4>>2]=0}if(!F[i+76>>2]){break j}break d}F[k+2024>>2]=0}if(!F[k+1484>>2]){F[i+76>>2]=3;break d}F[k+20>>2]=F[k+1216>>2];b=Tg(k+108|0,k+1352|0,0,0);F[i+76>>2]=b;if(b){break d}s:{if(d){break s}f=F[k+20>>2];if(!f){break s}g=k+1180|0;b=F[k+1476>>2];p=F[k+1504>>2]!=65535&u;h=Ga-16|0;Ga=h;l=F[a+28>>2];F[h+8>>2]=0;t:{u:{v:{w:{if(b>>>0>=3){b=b+r|0;F[g+4>>2]=b;b=Za(a,b);F[h+8>>2]=b;if(b){break u}M=g,N=Jb(a,h+8|0)&255,F[M>>2]=N;if(F[h+8>>2]){break u}b=Va(l,2,0,f,0,h+8|0);F[g+8>>2]=b;if(F[h+8>>2]){break u}E[b>>1]=0;x:{switch(F[g>>2]){case 0:b=1;j=tb(a,(f<<1)-2|0);F[h+8>>2]=j;if(j){break u}if(f>>>0>=2){while(1){j=xb(a);E[F[g+8>>2]+(b<<1)>>1]=j;b=b+1|0;if((f|0)!=(b|0)){continue}break}}lb(a);break w;case 1:case 2:b=1;if(f>>>0<=1){break w}while(1){m=fb(a,h+8|0);if(F[h+8>>2]){break u}y:{if(F[g>>2]==2){j=fb(a,h+8|0);if(!F[h+8>>2]){break y}break u}j=Jb(a,h+8|0);if(F[h+8>>2]){break u}j=j&255}z:{if(b>>>0>=f>>>0){break z}o=(j^65535)>>>0>>0?m^65535:j;q=F[g+8>>2];j=0;while(1){E[q+(b<<1)>>1]=m;b=b+1|0;if(f>>>0<=b>>>0){break z}m=m+1|0;t=j>>>0>>0;j=j+1|0;if(t){continue}break}}if(b>>>0>>0){continue}break};break w;default:break x}}F[h+8>>2]=3;break u}F[g+4>>2]=b;A:{switch(b|0){case 0:if(f>>>0>=230){F[h+8>>2]=3;break u}b=Va(l,2,0,f,0,h+8|0);F[g+8>>2]=b;if(F[h+8>>2]){break u}Ya(b,27664,f<<1);break w;case 1:if(f>>>0>=167){F[h+8>>2]=3;break u}b=Va(l,2,0,f,0,h+8|0);F[g+8>>2]=b;if(F[h+8>>2]){break u}Ya(b,28128,f<<1);break w;case 2:break A;default:break v}}if(f>>>0>=88){F[h+8>>2]=3;break u}b=Va(l,2,0,f,0,h+8|0);F[g+8>>2]=b;if(F[h+8>>2]){break u}Ya(b,28464,f<<1)}B:{if(!p){b=F[h+8>>2];break B}b=0;F[h+12>>2]=0;C:{if(F[g+16>>2]){break C}m=0;if(f){t=f&3;o=F[g+8>>2];p=0;D:{if(f-1>>>0<3){j=0;break D}v=f&-4;j=0;while(1){q=b<<1;x=H[o+(q|6)>>1];w=H[o+(q|4)>>1];B=H[o+(q|2)>>1];q=H[o+q>>1];j=j&65535;j=j>>>0>>0?q:j;j=j>>>0>>0?B:j;j=j>>>0>>0?w:j;j=j>>>0>>0?x:j;b=b+4|0;m=m+4|0;if((v|0)!=(m|0)){continue}break}}if(t){while(1){m=H[o+(b<<1)>>1];j=j&65535;j=j>>>0>>0?m:j;b=b+1|0;p=p+1|0;if((t|0)!=(p|0)){continue}break}}m=j&65535}j=Va(l,2,0,m+1|0,0,h+12|0);F[g+12>>2]=j;b=F[h+12>>2];if(b){break C}E:{if((f|0)<=0){break E}p=F[g+8>>2];b=f;q=b&3;if(q){o=0;while(1){b=b-1|0;E[j+(H[p+(b<<1)>>1]<<1)>>1]=b;o=o+1|0;if((q|0)!=(o|0)){continue}break}}if(f-1>>>0<3){break E}while(1){o=b-1|0;E[j+(H[p+(o<<1)>>1]<<1)>>1]=o;o=b-2|0;E[j+(H[p+(o<<1)>>1]<<1)>>1]=o;o=b-3|0;E[j+(H[p+(o<<1)>>1]<<1)>>1]=o;b=b-4|0;E[j+(H[p+(b<<1)>>1]<<1)>>1]=b;if(o>>>0>1){continue}break}}F[g+20>>2]=f;F[g+16>>2]=m;b=0}F[h+8>>2]=b}if(b){break u}b=0;break t}F[h+8>>2]=3}b=F[g+8>>2];if(b){Ia[F[l+8>>2]](l,b)}F[g+8>>2]=0;b=F[g+12>>2];if(b){Ia[F[l+8>>2]](l,b)}F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;b=F[h+8>>2]}Ga=h+16|0;F[i+76>>2]=b;if(b){break d}if(F[k+1504>>2]!=65535){break s}p=k+144|0;h=F[k+20>>2];j=a;b=F[k+1480>>2];o=0;m=Ga-16|0;Ga=m;F[m+8>>2]=0;a=3;F:{if(!F[g+8>>2]){break F}f=g;a=Wa(p+12|0,0,1024);if(b>>>0>=2){a=b+r|0;F[p+4>>2]=a;a=Za(j,a);F[m+8>>2]=a;if(a){break F}M=p,N=Jb(j,m+8|0)&255,F[M>>2]=N;a=F[m+8>>2];if(a){break F}g=Jb(j,m+8|0);a=F[m+8>>2];if(a){break F}l=g&255;a=3;G:{H:{switch(F[p>>2]&127){case 0:F[p+8>>2]=l+1;a=tb(j,l);F[m+8>>2]=a;if(a){break F}I:{if(!g){break I}a=1;b=F[j+32>>2];if((g|0)!=1){o=l&254;g=0;while(1){if(a>>>0>>0){r=p+(G[b|0]<<1)|0;E[r+524>>1]=a;E[r+12>>1]=H[F[f+8>>2]+(a<<1)>>1]}r=a+1|0;if(r>>>0>>0){q=p+(G[b+1|0]<<1)|0;E[q+524>>1]=r;E[q+12>>1]=H[F[f+8>>2]+(r<<1)>>1]}b=b+2|0;a=a+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}if(!(l&1)|a>>>0>=h>>>0){break I}b=p+(G[b|0]<<1)|0;E[b+524>>1]=a;E[b+12>>1]=H[F[f+8>>2]+(a<<1)>>1]}lb(j);break G;case 1:break H;default:break F}}F[p+8>>2]=0;if(!g){break G}g=1;while(1){b=g;v=Jb(j,m+8|0);a=F[m+8>>2];if(a){break F}q=Jb(j,m+8|0);a=F[m+8>>2];if(a){break F}t=q&255;a=t+1|0;r=F[p+8>>2];if(t>>>0>=r>>>0){F[p+8>>2]=a;r=a}g=a+b|0;J:{if(g>>>0<=b>>>0){break J}a=v&255;if(!(t&1)){if(b>>>0>>0){t=p+(a<<1)|0;E[t+524>>1]=b;E[t+12>>1]=H[F[f+8>>2]+(b<<1)>>1]}b=b+1|0;a=a+1|0}if(!q){break J}while(1){if(!(a>>>0>255|b>>>0>=h>>>0)){q=p+(a<<1)|0;E[q+524>>1]=b;E[q+12>>1]=H[F[f+8>>2]+(b<<1)>>1]}q=b+1|0;K:{if(q>>>0>=h>>>0){break K}t=a+1|0;if(t>>>0>255){break K}t=p+(t<<1)|0;E[t+524>>1]=q;E[t+12>>1]=H[F[f+8>>2]+(q<<1)>>1]}a=a+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}o=o+1|0;if((l|0)!=(o|0)){continue}break}if(r>>>0<257){break G}F[p+8>>2]=256}if(!(G[p|0]&128)){a=F[m+8>>2];break F}b=Jb(j,m+8|0);a=F[m+8>>2];if(a|!b){break F}r=b&255;b=0;while(1){l=Jb(j,m+8|0);a=F[m+8>>2];if(a){break F}g=fb(j,m+8|0);a=F[m+8>>2];if(a){break F}l=p+((l&255)<<1)|0;E[l+12>>1]=g;L:{if(!h){break L}o=F[f+8>>2];a=0;while(1){if((g|0)==H[o+(a<<1)>>1]){E[l+524>>1]=a;break L}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=0;b=b+1|0;if((r|0)!=(b|0)){continue}break}break F}M:{N:{O:{P:{switch(b|0){case 0:Ya(a,24864,512);break O;case 1:break P;default:break N}}Ya(a,28640,512)}F[p+8>>2]=0;a=F[j+28>>2];F[m+12>>2]=0;b=F[f+16>>2];if(!b){b=0;j=a;if(h){q=h&3;r=F[f+8>>2];Q:{if(h-1>>>0<3){l=0;a=0;break Q}t=h&-4;l=0;a=0;g=0;while(1){o=a<<1;v=H[r+(o|6)>>1];x=H[r+(o|4)>>1];w=H[r+(o|2)>>1];o=H[o+r>>1];l=l&65535;l=l>>>0>>0?o:l;l=l>>>0>>0?w:l;l=l>>>0>>0?x:l;l=l>>>0>>0?v:l;a=a+4|0;g=g+4|0;if((t|0)!=(g|0)){continue}break}}if(q){while(1){g=H[r+(a<<1)>>1];l=l&65535;l=g>>>0>l>>>0?g:l;a=a+1|0;b=b+1|0;if((q|0)!=(b|0)){continue}break}}b=l&65535}j=Va(j,2,0,b+1|0,0,m+12|0);F[f+12>>2]=j;a=F[m+12>>2];if(a){break M}R:{if((h|0)<=0){break R}r=F[f+8>>2];a=h;l=a&3;if(l){g=0;while(1){a=a-1|0;E[j+(H[r+(a<<1)>>1]<<1)>>1]=a;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(h-1>>>0<3){break R}while(1){g=a-1|0;E[j+(H[r+(g<<1)>>1]<<1)>>1]=g;g=a-2|0;E[j+(H[r+(g<<1)>>1]<<1)>>1]=g;g=a-3|0;E[j+(H[r+(g<<1)>>1]<<1)>>1]=g;a=a-4|0;E[j+(H[r+(a<<1)>>1]<<1)>>1]=a;if(g>>>0>1){continue}break}}F[f+20>>2]=h;F[f+16>>2]=b}F[m+8>>2]=0;a=0;while(1){S:{T:{g=p+(a<<1)|0;h=H[g+12>>1];if(!h|b>>>0>>0){break T}h=H[F[f+12>>2]+(h<<1)>>1];if(!h){break T}E[g+524>>1]=h;a=a+1|0;F[p+8>>2]=a;break S}E[g+524>>1]=0;E[g+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break F}a=3}F[m+8>>2]=a}Ga=m+16|0;F[i+76>>2]=a;if(a){break d}}M=k,N=Ei(k,A),F[M+1348>>2]=N}a=F[i+40>>2];if(a){b=F[a+28>>2];if(F[i+72>>2]){Eb(a,i+72|0)}a=F[i+68>>2];if(a){Ia[F[b+8>>2]](b,a)}}Ga=i+80|0;a=F[i+76>>2];f=a;F[s+12>>2]=a;if(a){break a}if((c|0)<0){F[e>>2]=F[n+16>>2];f=0;break a}F[n+3088>>2]=K;F[n+3084>>2]=y;F[n+3080>>2]=J;j=c&65535;F[e+4>>2]=j;F[e+16>>2]=F[n+20>>2];if(!(y|F[n+1504>>2]!=65535)){f=11;F[s+12>>2]=11;break a}U:{if(!(F[e+8>>2]&256)|c>>>0<65536){break U}b=F[e+548>>2];if(!b){break U}a=F[e+552>>2];f=Ia[F[b+28>>2]](e,c>>>16|0)|0;F[s+12>>2]=f;if(f){break a}if(!a){break U}Ia[F[a+28>>2]](e)}if(!G[n+1436|0]){F[n+1440>>2]=u?1e3:H[e+68>>1]}f=F[n+1432>>2];if(!f){f=F[n+1428>>2]}a=f>>31;a=(a^f)-a|0;V:{if((a|0)==65536){f=F[n+1448>>2];break V}M=n,N=_a(F[n+1440>>2],a),F[M+1440>>2]=N;M=n,N=_a(F[n+1420>>2],a),F[M+1420>>2]=N;M=n,N=_a(F[n+1428>>2],a),F[M+1428>>2]=N;M=n,N=_a(F[n+1424>>2],a),F[M+1424>>2]=N;M=n,N=_a(F[n+1432>>2],a),F[M+1432>>2]=N;M=n,N=_a(F[n+1444>>2],a),F[M+1444>>2]=N;f=_a(F[n+1448>>2],a);F[n+1448>>2]=f}F[n+1448>>2]=f>>16;F[n+1444>>2]=E[n+1446>>1];a=F[n+2024>>2];if(a){r=n+2028|0;f=n+1420|0;while(1){a=a-1|0;b=F[r+(a<<2)>>2];W:{if(G[b+64|0]){if(!G[n+1436|0]){break W}c=1;g=F[n+1440>>2];if(g>>>0>=2){c=F[b+68>>2];c=c>>>0>1?c>>>0>g>>>0?g:c:1}g=b+48|0;if(!(!f|!g)){i=F[f>>2];k=F[g>>2];h=c<<16;m=bb(i,k,h);l=F[f+4>>2];p=F[g+8>>2];o=bb(l,p,h);q=i;i=F[g+4>>2];A=bb(q,i,h);q=l;l=F[g+12>>2];q=bb(q,l,h);y=F[f+8>>2];t=bb(y,k,h);k=F[f+12>>2];M=g,N=t+bb(k,p,h)|0,F[M+8>>2]=N;F[g+4>>2]=q+A;F[g>>2]=m+o;M=g,N=bb(y,i,h)+bb(k,l,h)|0,F[M+12>>2]=N}if(!(!f|(b|0)==-72)){h=F[f+8>>2];i=F[f+12>>2];k=F[b+72>>2];g=c<<16;l=bb(k,F[f>>2],g);m=F[b+76>>2];M=b,N=l+bb(m,F[f+4>>2],g)|0,F[M+72>>2]=N;M=b,N=bb(k,h,g)+bb(m,i,g)|0,F[M+76>>2]=N}M=b,N=bb(F[b+68>>2],F[n+1440>>2],c),F[M+68>>2]=N;break W}c=F[f+4>>2];F[b+48>>2]=F[f>>2];F[b+52>>2]=c;c=F[f+12>>2];F[b+56>>2]=F[f+8>>2];F[b+60>>2]=c;c=F[n+1448>>2];F[b+72>>2]=F[n+1444>>2];F[b+76>>2]=c;F[b+68>>2]=F[n+1440>>2]}c=F[b+60>>2];if(!c){c=F[b+56>>2]}g=c;c=c>>31;c=(g^c)-c|0;if((c|0)==65536){c=F[b+76>>2]}else{M=b,N=_a(F[b+68>>2],c),F[M+68>>2]=N;M=b,N=_a(F[b+48>>2],c),F[M+48>>2]=N;M=b,N=_a(F[b+56>>2],c),F[M+56>>2]=N;M=b,N=_a(F[b+52>>2],c),F[M+52>>2]=N;M=b,N=_a(F[b+60>>2],c),F[M+60>>2]=N;M=b,N=_a(F[b+72>>2],c),F[M+72>>2]=N;c=_a(F[b+76>>2],c)}F[b+76>>2]=c>>16;F[b+72>>2]=E[b+74>>1];if(a){continue}break}}if(u){F[e>>2]=F[n+16>>2];if(F[n+1504>>2]!=65535){a=F[n+1196>>2]+1|0}else{a=F[n+1216>>2]}F[e+16>>2]=a;F[e+52>>2]=E[n+1458>>1];a=E[n+1462>>1];F[e+56>>2]=a;F[e+60>>2]=F[n+1464>>2]+65535>>16;b=F[n+1468>>2]+65535>>16;F[e- -64>>2]=b;c=F[n+1440>>2];E[e+72>>1]=a;E[e+70>>1]=b;E[e+68>>1]=c;a=b-a|0;b=(L(c&65535,12)>>>0)/10|0;E[e+74>>1]=(a|0)>b<<16>>16?a:b;E[e+80>>1]=H[n+1406>>1];E[e+82>>1]=H[n+1410>>1];a=F[n+1388>>2];X:{if(!a){break X}a=Le(n,a);if(!a){break X}M=e,N=nc(z,a,s),F[M+20>>2]=N}Y:{Z:{_:{if(!F[e+20>>2]){c=Ei(n,j);F[e+20>>2]=c;if(!c){break _}a=hb(c);$:{if((a|0)<6){break $}f=c+7|0;b=a+1|0;while(1){if(G[c+6|0]!=43|(G[c+5|0]-91&255)>>>0<230|((G[c+4|0]-91&255)>>>0<230|(G[c+3|0]-91&255)>>>0<230)){break $}if((G[c+2|0]-91&255)>>>0<230|(G[c+1|0]-91&255)>>>0<230|(G[c|0]-91&255)>>>0<230){break $}a=b-7|0;if((b|0)>=8){Cb(c,f,a)}g=(b|0)>13;b=a;if(g){continue}break}}if(!F[e+20>>2]){break _}}b=Le(n,F[n+1384>>2]);if(!b){break Z}a=F[e+20>>2];if(!a){break Z}f=G[b|0];if(!f){break Z}while(1){aa:{ba:{g=f&255;c=g-32|0;if(!((c|0)!=13?c:0)){if((g|0)==G[a|0]){break ba}break aa}c=a;f=G[a|0];if((g|0)==(f|0)){break ba}while(1){ca:{da:{a=f&255;switch(a-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Z;case 0:case 13:break da;default:break ca}}f=G[c+1|0];a=c+1|0;c=a;if((f|0)!=(g|0)){continue}break ba}break}if(a){break Z}f=nc(z,b,s);if(!f){break Z}c=F[e+20>>2];g=hb(c);b=hb(f);ea:{if((g|0)<=(b|0)){break ea}a=1;if((b|0)>0){while(1){if(G[c+(g-a|0)|0]!=G[(b-a|0)+f|0]){break ea}h=(a|0)==(b|0);a=a+1|0;if(!h){continue}break}}a=g+(b^-1)|0;if((a|0)<=0){break ea}while(1){b=a+c|0;g=G[b|0];h=g-32|0;if(!((1<>>0<=13:0)|(g|0)==95)){D[b+1|0]=0;break ea}b=(a|0)>1;a=a-1|0;if(b){continue}break}}break Y}a=a+1|0}f=G[b+1|0];b=b+1|0;if(f){continue}break}break Z}a=Le(n,F[n+1544>>2]);if(!a){break Z}M=e,N=nc(z,a,s),F[M+20>>2]=N}f=nc(z,11235,s)}F[e+24>>2]=f;a=C?2065:2073;F[e+8>>2]=F[e+8>>2]|(G[n+1396|0]?a|4:a);f=F[n+1400>>2]!=0;a=Le(n,F[n+1392>>2]);fa:{if(!a){break fa}if(ab(a,11389)){if(ab(a,11470)){break fa}}f=f|2}ga:{if(f&2){break ga}a=F[e+24>>2];if(!a){break ga}if(cb(a,11389,4)){if(cb(a,11470,5)){break ga}}f=f|2}F[e+12>>2]=f}b=F[n+1504>>2];if(!((b|0)!=65535|d)){F[e+8>>2]=F[e+8>>2]|512}if(!(!u|(b|0)==65535)){F[e+8>>2]=F[e+8>>2]|4096}a=F[e+36>>2];ha:{ia:{if(a){c=F[e+40>>2];f=0;while(1){ja:{ka:{d=F[c+(f<<2)>>2];switch(H[d+8>>1]){case 0:break ia;case 3:break ka;default:break ja}}if(H[d+10>>1]==1){break ia}}f=f+1|0;if((a|0)!=(f|0)){continue}break}}if((b|0)!=65535&u){break ha}F[s>>2]=e;F[s+4>>2]=1970170211;F[s+8>>2]=65539;b=qc(24468,0,s,0);F[s+12>>2]=b;la:{if(!b){break la}b=b&255;if((b|0)==163){break la}if((b|0)!=7){break ha}}F[s+12>>2]=0;if(F[e+92>>2]|(a|0)==F[e+36>>2]){break ia}F[e+92>>2]=F[F[e+40>>2]+(a<<2)>>2]}if(!F[n+152>>2]){break ha}E[s+8>>1]=7;F[s>>2]=e;b=1094995778;f=0;ma:{na:{switch(F[n+148>>2]){case 1:b=1094992453;f=1;break ma;case 0:break ma;default:break na}}b=1094992451;f=2}F[s+4>>2]=b;E[s+10>>1]=f;M=s,N=qc(24428,0,s,0),F[M+12>>2]=N}f=F[s+12>>2]}Ga=s+16|0;return f|0}function hC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=M(0),n=0,o=0,p=0,q=M(0),r=0,s=0,t=0,u=M(0),v=0,w=0,x=0,y=0;l=1;h=Ga-48|0;Ga=h;n=b+148|0;g=F[n>>2];a:{b:{if(g){break b}v=n-148|0;while(1){p=F[v>>2];if(!p){g=163632;break b}c:{g=ib(1,8);if(g){F[h+8>>2]=0;F[h+12>>2]=0;F[h+16>>2]=0;F[h+20>>2]=0;D[h+24|0]=0;F[h+28>>2]=0;F[h+32>>2]=0;F[h>>2]=0;F[h+4>>2]=0;e=Db(p);D[h+40|0]=1;F[h+36>>2]=e;f=Ab(p,1935829368);i=0;o=Ga-16|0;Ga=o;if(!(!f|!F[f>>2])){F[f>>2]=F[f>>2]+1}e=f;F[h+32>>2]=f;d:{e:{f:{g:{h:{while(1){D[h+24|0]=i;i=F[e+12>>2];F[h+4>>2]=i;r=F[e+16>>2];F[h+8>>2]=r+i;k=1073741823;F[h+28>>2]=0;if(r>>>0<=67108862){k=r<<6;k=k>>>0>16384?k:16384;k=k>>>0<1073741823?k:1073741823}F[h+12>>2]=k;F[h+20>>2]=0;F[h>>2]=0;if(!i){Xa(e);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0;break d}if((r|0)<=7){break g}F[h+12>>2]=k-8;if(!(G[i|0]|G[i+1|0]<<8)){break g}F[o+8>>2]=i;i:{e=i+4|0;if(Jo(e,h,o+8|0)){if(!F[h+28>>2]){break i}F[h+28>>2]=0;if(i>>>0>2]){break g}k=F[h+8>>2];if(k>>>0>>0|k-i>>>0<=7){break g}k=F[h+12>>2]-8|0;F[h+12>>2]=k;if(!(G[i|0]|G[i+1|0]<<8)|(k|0)<=0){break g}F[o+12>>2]=i;i=Jo(e,h,o+12|0);e=F[h+32>>2];if(F[h+28>>2]){break f}Xa(e);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0;if(i){break h}break e}if(G[h+24|0]|!F[h+28>>2]){break g}k=Xb(f);F[h+4>>2]=k;F[h+8>>2]=k+F[f+16>>2];e=F[h+32>>2];i=1;if(k){continue}break f}break}Xa(F[h+32>>2]);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0}if(F[f+4>>2]){F[f+4>>2]=0}break d}e=F[h+32>>2]}Xa(e);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0}Xa(f);f=163632}Ga=o+16|0;F[g>>2]=f;e=F[p+32>>2];if((e|0)==-1){e=Zb(p)}F[g+4>>2]=e;e=F[n>>2];F[n>>2]=e?e:g;if(!e){break b}e=F[g>>2];F[61902]=0;_(579,e|0);e=F[61902];F[61902]=0;if((e|0)==1){break a}Ta(g);break c}g=163632;e=F[n>>2];F[n>>2]=e?e:163632;if(e){break c}break b}g=F[n>>2];if(!g){continue}break}}Ga=h+48|0;n=Ga-16|0;Ga=n;k=g;e=F[g>>2];e=e?e:163632;e=I[e+16>>2]<8?163632:F[e+12>>2];if(G[e|0]|G[e+1|0]<<8){F[n+12>>2]=0;F[n+8>>2]=0;F[n+4>>2]=0;e=c;i=F[k>>2];f=i?i:163632;o=I[f+16>>2]<8?163632:F[f+12>>2];f=G[o+4|0]|G[o+5|0]<<8|(G[o+6|0]<<16|G[o+7|0]<<24);p=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(p){if((p|0)!=1){f=F[a+56>>2];g=F[a+60>>2];f=f>>>0>g>>>0?f:g;r=f?f:1073741824;f=G[o+8|0]|G[o+9|0]<<8|(G[o+10|0]<<16|G[o+11|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=f?f+o|0:163632;f=G[f|0]|G[f+1|0]<<8;h=(f<<8|f>>>8)&65535;f=1;while(1){g=f>>>0

>>0?(o+(f<<2)|0)+8|0:163632;g=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=g?g+o|0:163632;g=G[g|0]|G[g+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!(!(g>>>0>=r>>>0&g>>>0>>0)&(g>>>0<=h>>>0|h>>>0>=r>>>0))){j=f;h=g}f=f+1|0;if((p|0)!=(f|0)){continue}break}}f=j>>>0

>>0?(o+(j<<2)|0)+8|0:163632;f=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=f?f+o|0:163632}else{g=163632}o=G[g|0]|G[g+1|0]<<8;j=163632;j:{if(!o){break j}r=F[k+4>>2];v=g-F[i+12>>2]|0;w=F[i+16>>2]-v|0;k=g+4|0;f=8;k:{while(1){j=f;l:{m:{if(e>>>0>=r>>>0){break m}f=e+1|0;f=(f|0)<0?163632:k+(f<<2)|0;f=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e=(e|0)<0?163632:k+(e<<2)|0;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(f>>>0<=h>>>0){break m}e=f-h|0;if(e>>>0<9){break m}if(f>>>0<=w>>>0){break l}}j=163632;break j}p=e-8|0;e=h?g+h|0:163632;f=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if((f|0)!=1685418085){break k}if(p>>>0>=2){e=G[e+8|0]|G[e+9|0]<<8;e=(e<<8|e>>>8)&65535;f=j-1|0;if(j){continue}}break}j=163632;break j}j=163632;if((f|0)!=1886283552){break j}f=n+4|0;if(f){F[f>>2]=(o<<8|o>>>8)&65535}f=n+12|0;if(f){j=f;f=G[e|0]|G[e+1|0]<<8;F[j>>2]=(f<<8|f>>>8)<<16>>16}f=n+8|0;if(f){e=G[e+2|0]|G[e+3|0]<<8;F[f>>2]=(e<<8|e>>>8)<<16>>16}j=ui(i,(h+v|0)+8|0,p)}h=j;e=F[h+12>>2];g=F[h+16>>2];f=F[n+12>>2];F[d>>2]=f;g=g>>>0<29?163632:e;e=G[g+20|0]|G[g+21|0]<<8|(G[g+22|0]<<16|G[g+23|0]<<24);e=F[n+8>>2]+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;F[d+4>>2]=e;j=G[g+16|0]|G[g+17|0]<<8|(G[g+18|0]<<16|G[g+19|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);F[d+8>>2]=j;g=G[g+20|0]|G[g+21|0]<<8|(G[g+22|0]<<16|G[g+23|0]<<24);i=0-(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;F[d+12>>2]=i;w=d;g=F[n+4>>2];n:{if(g){e=F[a+16>>2];j=F[e+28>>2];if(!j){j=db(e);f=F[d>>2];g=F[n+4>>2];e=F[a+16>>2]}m=M(M(j>>>0)/M(g>>>0));q=M(m*M(f|0));j=F[a+20>>2];f=F[e+28>>2];if(!f){f=db(e);e=F[a+16>>2]}q=M(R(M(M(M(q*M(j|0))/M(f>>>0))+M(.5))));o:{if(M(N(q))>2]=f;q=M(m*M(F[d+4>>2]));j=F[a+24>>2];f=F[e+28>>2];if(!f){f=db(e);e=F[a+16>>2]}q=M(R(M(M(M(q*M(j|0))/M(f>>>0))+M(.5))));p:{if(M(N(q))>2]=f;q=M(m*M(F[d+8>>2]));j=F[a+20>>2];f=F[e+28>>2];if(!f){f=db(e);e=F[a+16>>2]}q=M(R(M(M(M(q*M(j|0))/M(f>>>0))+M(.5))));q:{if(M(N(q))>2]=f;u=M(M(m*M(F[d+12>>2]))*M(F[a+24>>2]));f=F[e+28>>2];if(!f){f=db(e)}m=M(R(M(M(u/M(f>>>0))+M(.5))));if(M(N(m))>2];p=g;r=F[a+40>>2];g=f<<16;f=g>>31;g=EC(r,p,g>>16,f)+32768|0;f=Ha;f=g>>>0<32768?f+1|0:f;F[d>>2]=(f&65535)<<16|g>>>16;k=F[a+48>>2];o=F[a+52>>2];g=j<<16;f=g>>31;f=EC(r,p,g>>16,f)+32768|0;g=Ha;g=f>>>0<32768?g+1|0:g;F[d+8>>2]=(g&65535)<<16|f>>>16;f=e<<16;g=f>>31;f=EC(k,o,f>>16,g)+32768|0;e=Ha;e=f>>>0<32768?e+1|0:e;F[d+4>>2]=(e&65535)<<16|f>>>16;g=i<<16;e=g>>31;e=EC(k,o,g>>16,e)+32768|0;f=Ha;f=e>>>0<32768?f+1|0:f;e=(f&65535)<<16|e>>>16}F[w+12>>2]=e;Xa(h);e=F[n+4>>2]!=0}else{e=0}Ga=n+16|0;r:{s:{if(e){break s}e=F[b+60>>2];t:{if(e){break t}while(1){f=F[b>>2];if(!f){e=163632;break t}u:{e=ib(1,28);if(e){Ce(e,f);f=F[b+60>>2];F[b+60>>2]=f?f:e;if(!f){break t}f=F[e+24>>2];F[61902]=0;_(579,f|0);f=F[61902];F[61902]=0;if((f|0)==1){break r}Ta(e);break u}e=163632;f=F[b+60>>2];F[b+60>>2]=f?f:163632;if(f){break u}break t}e=F[b+60>>2];if(!e){continue}break}}if(Co(e,a,c,d)){break s}e=F[b+64>>2];v:{if(e){break v}while(1){f=F[b>>2];if(!f){e=163632;break v}e=ib(1,244);w:{if(e){g=Gf(e,f);f=F[b+64>>2];F[b+64>>2]=f?f:e;if(!f){break v}De(g);Ta(e);break w}e=163632;f=F[b+64>>2];F[b+64>>2]=f?f:163632;if(!f){break v}}e=F[b+64>>2];if(!e){continue}break}}f=Ga-32|0;Ga=f;F[f+24>>2]=0;F[f+28>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;F[f>>2]=0;F[f+4>>2]=0;k=Kf(e,c,f,0);x:{if(!k){break x}s=K[f+16>>3];t=K[f>>3];y:{if(!(s>t)){F[d>>2]=0;F[d+8>>2]=0;break y}h=F[a+20>>2];m=M(t);j=F[a+16>>2];g=F[j+28>>2];if(g){e=h}else{g=db(j);j=F[a+16>>2];e=F[a+20>>2]}i=e;m=M(R(M(M(M(m*M(h|0))/M(g>>>0))+M(.5))));z:{if(M(N(m))>2]=e;g=F[j+28>>2];if(!g){g=db(j);e=F[d>>2]}m=M(R(M(M(M(M(s)*M(i|0))/M(g>>>0))+M(.5))));A:{if(M(N(m))>2]=j-e}s=K[f+24>>3];t=K[f+8>>3];if(!(s>t)){F[d+4>>2]=0;F[d+12>>2]=0;break x}h=F[a+24>>2];m=M(s);j=F[a+16>>2];g=F[j+28>>2];if(g){e=h}else{g=db(j);j=F[a+16>>2];e=F[a+24>>2]}i=e;m=M(R(M(M(M(m*M(h|0))/M(g>>>0))+M(.5))));B:{if(M(N(m))>2]=g;e=F[j+28>>2];if(!e){e=db(j);g=F[d+4>>2]}m=M(R(M(M(M(M(t)*M(i|0))/M(e>>>0))+M(.5))));C:{if(M(N(m))>2]=e-g}Ga=f+32|0;if(k){break s}e=F[b+68>>2];D:{if(e){break D}while(1){f=F[b>>2];if(!f){e=163632;break D}e=ib(1,132);E:{if(e){g=Bo(e,f);f=F[b+68>>2];F[b+68>>2]=f?f:e;if(!f){break D}xh(g);Ta(e);break E}e=163632;f=F[b+68>>2];F[b+68>>2]=f?f:163632;if(!f){break D}}e=F[b+68>>2];if(!e){continue}break}}f=0;j=0;g=0;i=Ga-240|0;Ga=i;F:{G:{if(!(!F[e>>2]|I[e+128>>2]<=c>>>0)){o=Oo(F[e+96>>2],c);D[i+72|0]=0;f=i- -64|0;F[f>>2]=0;F[f+4>>2]=0;F[i+92>>2]=0;F[i+84>>2]=0;F[i+88>>2]=0;F[i+108>>2]=0;F[i+112>>2]=0;D[i+116|0]=0;F[i+160>>2]=0;F[i+152>>2]=0;F[i+156>>2]=0;F[i+192>>2]=0;F[i+196>>2]=0;F[i+228>>2]=0;F[i+56>>2]=0;F[i+60>>2]=0;F[i+100>>2]=0;F[i+104>>2]=0;F[i+184>>2]=0;F[i+188>>2]=0;F[i+220>>2]=0;F[i+224>>2]=0;k=F[e+88>>2];f=G[k|0]|G[k+1|0]<<8|(G[k+2|0]<<16|G[k+3|0]<<24);r=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);H:{if(r>>>0<=c>>>0){F[i+48>>2]=F[40910];f=F[40909];F[i+40>>2]=F[40908];F[i+44>>2]=f;break H}n=G[k+4|0];I:{if(!n){break I}p=n&3;f=(k+L(c,n)|0)+5|0;if(n-1>>>0<3){j=0}else{v=n&252;while(1){h=f;f=f+4|0;j=j+4|0;if((v|0)!=(j|0)){continue}break}j=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24)}if(!p){break I}while(1){j=G[f|0]|j<<8;f=f+1|0;g=g+1|0;if((p|0)!=(g|0)){continue}break}}F[61902]=0;f=Ee(k,c);g=F[61902];F[61902]=0;if((g|0)==1){break G}F[i+48>>2]=0;F[i+44>>2]=f;F[i+40>>2]=((k+L(n,r+1|0)|0)+j|0)+4}h=F[(o>>>0>2]?F[e+124>>2]+L(o,28)|0:163632)+20>>2];f=F[a+68>>2];j=F[a+72>>2];k=F[e+80>>2];g=0;F[61902]=0;ba(652,i+56|0,i+40|0,k|0,h|0);h=F[61902];F[61902]=0;if((h|0)==1){break G}F[i+204>>2]=f;F[i+200>>2]=j;h=F[e+84>>2];F[i+208>>2]=h;D[i+233|0]=0;D[i+234|0]=0;F[i+228>>2]=0;F[i+220>>2]=0;F[i+224>>2]=0;D[i+232|0]=!j|!f?g:(G[h|0]|G[h+1|0]<<8)!=0;F[i+216>>2]=F[(o>>>0>2]?F[e+124>>2]+L(o,28)|0:163632)+24>>2];F[61902]=0;F[i+32>>2]=0;F[i+36>>2]=-1042284544;F[i+24>>2]=0;F[i+28>>2]=-1042284544;F[i+16>>2]=-4194304;F[i+20>>2]=1105199103;F[i+8>>2]=-4194304;F[i+12>>2]=1105199103;D[i|0]=0;f=aa(653,i+56|0,i|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break G}J:{if(!f){break J}s=K[i+24>>3];t=K[i+8>>3];K:{if(!(s>t)){F[d>>2]=0;F[d+8>>2]=0;break K}j=F[a+20>>2];g=F[a+16>>2];h=F[g+28>>2];if(h){e=j}else{F[61902]=0;h=fa(654,g|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break G}g=F[a+16>>2];s=K[i+24>>3];e=F[a+20>>2]}m=M(R(M(M(M(M(t)*M(j|0))/M(h>>>0))+M(.5))));L:{if(M(N(m))>2]=j;h=F[g+28>>2];if(!h){F[61902]=0;h=fa(654,g|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break G}j=F[d>>2]}m=M(R(M(M(M(M(s)*M(e|0))/M(h>>>0))+M(.5))));M:{if(M(N(m))>2]=e-j}s=K[i+16>>3];t=K[i+32>>3];if(!(s>2]=0;F[d+12>>2]=0;break J}j=F[a+24>>2];g=F[a+16>>2];h=F[g+28>>2];if(h){e=j}else{F[61902]=0;h=fa(654,g|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break G}g=F[a+16>>2];s=K[i+16>>3];e=F[a+24>>2]}m=M(R(M(M(M(M(t)*M(j|0))/M(h>>>0))+M(.5))));N:{if(M(N(m))>2]=j;h=F[g+28>>2];if(!h){F[61902]=0;h=fa(654,g|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break G}j=F[d+4>>2]}m=M(R(M(M(M(M(s)*M(e|0))/M(h>>>0))+M(.5))));O:{if(M(N(m))>2]=e-j}If(i+56|0)}Ga=i+240|0;break F}a=Z()|0;Y()|0;If(i+56|0);$(a|0);V()}if(f){break s}l=F[b+144>>2];P:{if(l){break P}while(1){j=F[b>>2];if(!j){l=163632;break P}h=0;g=Ga-48|0;Ga=g;f=ib(1,12);if(f){F[g+8>>2]=0;F[g+12>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;D[g+24|0]=0;F[g+28>>2]=0;F[g+32>>2]=0;F[g>>2]=0;F[g+4>>2]=0;e=Db(j);D[g+40|0]=1;F[g+36>>2]=e;l=Ab(j,1128418371);i=Ga-16|0;Ga=i;if(!(!l|!F[l>>2])){F[l>>2]=F[l>>2]+1}e=l;F[g+32>>2]=e;Q:{R:{S:{T:{U:{while(1){D[g+24|0]=h;h=F[e+12>>2];F[g+4>>2]=h;n=F[e+16>>2];F[g+8>>2]=n+h;k=1073741823;F[g+28>>2]=0;if(n>>>0<=67108862){k=n<<6;k=k>>>0>16384?k:16384;k=k>>>0<1073741823?k:1073741823}F[g+12>>2]=k;F[g+20>>2]=0;F[g>>2]=0;if(!h){Xa(e);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;break Q}if((n|0)<=7){break T}F[g+12>>2]=k-8;if(((G[h|0]|G[h+1|0]<<8)&65279)!=512){break T}F[i+8>>2]=h;V:{e=h+4|0;if(Ko(e,g,i+8|0)){if(!F[g+28>>2]){break V}F[g+28>>2]=0;if(h>>>0>2]){break T}k=F[g+8>>2];if(k>>>0>>0|k-h>>>0<=7){break T}k=F[g+12>>2]-8|0;F[g+12>>2]=k;if(((G[h|0]|G[h+1|0]<<8)&65279)!=512|(k|0)<=0){break T}F[i+12>>2]=h;h=Ko(e,g,i+12|0);e=F[g+32>>2];if(F[g+28>>2]){break S}Xa(e);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;if(h){break U}break R}if(G[g+24|0]|!F[g+28>>2]){break T}k=Xb(l);F[g+4>>2]=k;F[g+8>>2]=k+F[l+16>>2];e=F[g+32>>2];h=1;if(k){continue}break S}break}Xa(F[g+32>>2]);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0}if(F[l+4>>2]){F[l+4>>2]=0}break Q}e=F[g+32>>2]}Xa(e);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0}Xa(l);l=163632}Ga=i+16|0;F[f>>2]=l;F[g+8>>2]=0;F[g+12>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;D[g+24|0]=0;F[g+28>>2]=0;F[g+32>>2]=0;F[g>>2]=0;F[g+4>>2]=0;e=Db(j);D[g+40|0]=1;F[g+36>>2]=e;e=Ab(j,1128416340);if(!(!e|!F[e>>2])){F[e>>2]=F[e>>2]+1}D[g+24|0]=0;F[g+32>>2]=e;h=F[e+12>>2];F[g+4>>2]=h;i=F[e+16>>2];F[g+8>>2]=i+h;F[g+28>>2]=0;if(i>>>0>67108862){l=1073741823}else{l=i<<6;l=l>>>0>16384?l:16384;l=l>>>0<1073741823?l:1073741823}F[g+12>>2]=l;F[g+20>>2]=0;F[g>>2]=0;W:{if(!h){Xa(e);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;break W}X:{if((i|0)>=4){F[g+12>>2]=l-4;l=G[h|0]|G[h+1|0]<<8;Xa(e);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;if((l&65279)!=512){break X}if(F[e+4>>2]){F[e+4>>2]=0}break W}Xa(e);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0}Xa(e);e=163632}F[f+4>>2]=e;x=f,y=Ke(j),F[x+8>>2]=y}Ga=g+48|0;l=f;if(!f){l=163632}e=F[b+144>>2];F[b+144>>2]=e?e:l;if(!e){break P}if(!(!l|(l|0)==163632)){e=F[l>>2];F[61902]=0;_(579,e|0);e=F[61902];F[61902]=0;if((e|0)==1){break r}F[l>>2]=0;e=F[l+4>>2];F[61902]=0;_(579,e|0);e=F[61902];F[61902]=0;if((e|0)==1){break r}Ta(l)}l=F[b+144>>2];if(!l){continue}break}}e=a;f=c;j=Ga-16|0;Ga=j;b=163632;a=F[l>>2];a=a?a:163632;h=I[a+16>>2]<8?163632:F[a+12>>2];a=G[h+4|0]|G[h+5|0]<<8|(G[h+6|0]<<16|G[h+7|0]<<24);i=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(i){b=0;if((i|0)!=1){a=F[e+56>>2];b=F[e+60>>2];a=a>>>0>b>>>0?a:b;k=a?a:1073741824;c=G[(G[h+52|0]>>0>=k>>>0&c>>>0>g>>>0)&(c>>>0>=k>>>0|c>>>0>=g>>>0))){b=a;c=g}a=a+1|0;if((i|0)!=(a|0)){continue}break}}b=b>>>0>>0?(h+L(b,48)|0)+8|0:163632}a=0;c=G[b+8|0]|G[b+9|0]<<8|(G[b+10|0]<<16|G[b+11|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Y:{if(!g){break Y}c=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);h=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;while(1){Z:{c=(a|0)<0?163632:h+(a<<3)|0;i=G[c|0]|G[c+1|0]<<8;if(f>>>0<((i<<8|i>>>8)&65535)>>>0){break Z}i=G[c+2|0]|G[c+3|0]<<8;if(f>>>0>((i<<8|i>>>8)&65535)>>>0){break Z}a=0;if(!G[b+44|0]|!G[b+45|0]){break Y}F[j+12>>2]=0;F[j+8>>2]=0;F[j+4>>2]=0;g=0;i=G[c|0]|G[c+1|0]<<8;i=(i<<8|i>>>8)&65535;_:{if(i>>>0>f>>>0){break _}k=G[c+2|0]|G[c+3|0]<<8;if(f>>>0>((k<<8|k>>>8)&65535)>>>0){break _}c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+h|0:163632;h=G[c+2|0]|G[c+3|0]<<8;F[j+4>>2]=(h<<8|h>>>8)&65535;h=f-i|0;$:{aa:{f=G[c|0]|G[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break $;case 0:break aa;default:break _}}i=c+8|0;f=h+1|0;f=(f|0)<0?163632:i+(f<<2)|0;g=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);k=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=(h|0)<0?163632:i+(h<<2)|0;h=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(k>>>0>h>>>0){c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);F[j+12>>2]=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24));c=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);F[j+8>>2]=f-(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))}g=h>>>0>>0;break _}i=c+8|0;f=h+1|0;f=(f|0)<0?163632:i+(f<<1)|0;f=G[f|0]|G[f+1|0]<<8;f=f<<8|f>>>8;h=(h|0)<0?163632:i+(h<<1)|0;h=G[h|0]|G[h+1|0]<<8;h=h<<8|h>>>8;if((f&65535)>>>0<=(h&65535)>>>0){break _}c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h&65535;F[j+12>>2]=g+c;F[j+8>>2]=(f&65535)-c;g=1}if(!g){break Y}c=F[l+4>>2];h=c?c:163632;c=F[h+16>>2];f=F[j+12>>2];if(c>>>0>>0){break Y}g=F[j+8>>2];if(g>>>0>c-f>>>0){break Y}ba:{ca:{switch(F[j+4>>2]-17|0){case 0:if(g>>>0>=9){break ba}break Y;case 1:break ca;default:break Y}}if(g>>>0<12){break Y}}m=M(I[l+8>>2]);q=M(m/M(G[b+45|0]));g=F[e+48>>2];l=F[e+52>>2];a=f+(c>>>0<4?163632:F[h+12>>2])|0;c=EC(g,l,G[a|0],0);f=0-((c>>>0>32768)+Ha|0)|0;c=32768-c|0;u=M(R(M(M(q*M((f&65535)<<16|c>>>16))+M(.5))));da:{if(M(N(u))>31;f=D[a+3|0];k=f;n=f>>31;f=G[a+1|0];a=F[e+40>>2];e=F[e+44>>2];b=G[b+44|0];F[d+12>>2]=c;m=M(m/M(b>>>0));b=EC(f,0,a,e)+32768|0;f=Ha;f=b>>>0<32768?f+1|0:f;u=M(R(M(M(m*M((f&65535)<<16|b>>>16))+M(.5))));ea:{if(M(N(u))>2]=b;b=EC(k,n,g,l)+32768|0;g=Ha;g=b>>>0<32768?g+1|0:g;q=M(R(M(M(q*M((g&65535)<<16|b>>>16))+M(.5))));fa:{if(M(N(q))>2]=b;a=EC(a,e,h,i)+32768|0;e=Ha;e=a>>>0<32768?e+1|0:e;m=M(R(M(M(m*M((e&65535)<<16|a>>>16))+M(.5))));ga:{if(M(N(m))>2]=a;a=1;break Y}a=a+1|0;if((g|0)!=(a|0)){continue}break}a=0}Ga=j+16|0;l=a}return l|0}}ca(0)|0;Y()|0;Hb();V()}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=Ga-48|0;Ga=h;a:{b:{switch(G[a+7|0]){case 0:F[h+4>>2]=0;F[h+8>>2]=0;D[h|0]=0;c=F[b+12>>2];F[h+36>>2]=F[b+16>>2];F[h+32>>2]=a+12;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[h+40>>2]=a;c=0;f=h+32|0;a=F[f+4>>2];F[a+64>>2]=0;c:{if(!G[a+60|0]){break c}while(1){b=0;d:{if(I[a+68>>2]<=c>>>0){break d}e=F[F[a+80>>2]+L(c,20)>>2];b=2;if((e|0)==65535){break d}a=F[f>>2];c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=ec((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0,e,F[f+8>>2]);b=1;if(!a){break d}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=F[f>>2];c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=i>>>0>b>>>0;o=L(d,i);c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);l=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=((g?b:1)+o<<1)+l|0;c=G[c|0]|G[c+1|0]<<8;e=((c<<8|c>>>8)&65535)<<2;c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);m=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=e+m|0;e=G[c|0]|G[c+1|0]<<8;k=G[c+2|0]|G[c+3|0]<<8;j=F[h+4>>2];n=F[h+8>>2];e:{f:{if(j>>>0>>0?k&3840:0){break f}if(!(!d|!(k&64?e:1))){a=l+((g?b:1)<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<2)|0;b=G[a+2|0]|G[a+3|0]<<8;if((j>>>0>>0?b&3840:0)|(e|0)!=(G[a|0]|G[a+1|0]<<8)|(b^k)&64){break f}}a=l+(o+!i<<1)|0;a=G[a|0]|G[a+1|0]<<8;if(!(G[(m+(((a<<8|a>>>8)&65535)<<2)|0)+3|0]&15)|j>>>0>=n>>>0){break e}}a=F[f+4>>2];b=F[a+64>>2];d=G[a+61|0]?F[a+72>>2]:b;if(!d|b>>>0>=I[a+68>>2]){break e}wb(a,3,d-1|0,b+1|0,1,1)}Hi(h,f,c);a=F[f+4>>2];d=F[a+64>>2];if((d|0)==F[a+68>>2]|!G[a+60|0]){break c}g:{if(G[c+2|0]&64){b=F[a+152>>2];F[a+152>>2]=b-1;if((b|0)>0){break g}}if(G[a+61|0]){h:{if(F[a+84>>2]==F[a+80>>2]){b=d;if(F[a+72>>2]==(b|0)){break h}}if(!$a(a,1,1)){break g}d=F[a+80>>2]+L(F[a+64>>2],20)|0;c=F[d+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[d>>2];F[b+4>>2]=c;F[b+16>>2]=F[d+16>>2];c=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=c;d=F[a+64>>2];b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=d+1}a=F[f+4>>2];if(!G[a+60|0]){break c}d=(e<<8|e>>>8)&65535;c=F[a+64>>2];continue}}c=G[h|0]!=0;break a;case 1:D[h|0]=0;F[h+4>>2]=b;c=F[b+68>>2];D[h+12|0]=0;F[h+8>>2]=c;f=G[c+4|0]|G[c+5|0]<<8;c=a+12|0;F[h+20>>2]=c;F[h+16>>2]=0;D[h+13|0]=(f|0)!=0;a=G[a+28|0]|G[a+29|0]<<8|(G[a+30|0]<<16|G[a+31|0]<<24);F[h+24>>2]=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));f=F[b+12>>2];F[h+36>>2]=F[b+16>>2];F[h+32>>2]=c;a=F[f+32>>2];if((a|0)==-1){a=Zb(f)}F[h+40>>2]=a;c=0;f=h+32|0;a=F[f+4>>2];F[a+64>>2]=0;i:{if(!G[a+60|0]){break i}while(1){b=0;j:{if(I[a+68>>2]<=c>>>0){break j}e=F[F[a+80>>2]+L(c,20)>>2];b=2;if((e|0)==65535){break j}a=F[f>>2];c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=ec((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0,e,F[f+8>>2]);b=1;if(!a){break j}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=F[f>>2];c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=i>>>0>b>>>0;n=L(d,i);c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);m=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=((g?b:1)+n<<1)+m|0;c=G[c|0]|G[c+1|0]<<8;e=((c<<8|c>>>8)&65535)<<3;c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);k=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;a=e+k|0;l=G[a|0]|G[a+1|0]<<8;c=F[f+4>>2];e=F[c+64>>2];o=F[c+68>>2];j=!G[h+12|0]&(e|0)==(o|0);k:{l:{if(!j&((G[a+4|0]|G[a+5|0]<<8)!=65535|(G[a+6|0]|G[a+7|0]<<8)!=65535)){break l}m:{if(!d){break m}d=G[a+2|0]|G[a+3|0]<<8;if(!(d&64?l:1)){break m}b=m+((g?b:1)<<1)|0;b=G[b|0]|G[b+1|0]<<8;b=k+(((b<<8|b>>>8)&65535)<<3)|0;if(!j&((G[b+4|0]|G[b+5|0]<<8)!=65535|(G[b+6|0]|G[b+7|0]<<8)!=65535)|((d^(G[b+2|0]|G[b+3|0]<<8))&64|(l|0)!=(G[b|0]|G[b+1|0]<<8))){break l}}if(j){break k}b=m+(n+!i<<1)|0;b=G[b|0]|G[b+1|0]<<8;b=k+(((b<<8|b>>>8)&65535)<<3)|0;if((G[b+4|0]|G[b+5|0]<<8)!=65535){break l}if((G[b+6|0]|G[b+7|0]<<8)==65535){break k}}b=G[c+61|0]?F[c+72>>2]:e;if(!b|e>>>0>=o>>>0){break k}wb(c,3,b-1|0,e+1|0,1,1)}c=a;n=0;d=F[f+4>>2];n:{if(G[h+12|0]?0:F[d+64>>2]==F[d+68>>2]){break n}a=G[c+4|0]|G[c+5|0]<<8;o:{if((a|0)==65535){break o}b=F[h+24>>2];a=b+(((a<<8|a>>>8)&65535)<<2)|0;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);o=ec((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+b|0,F[F[d+80>>2]+L(F[h+16>>2],20)>>2],F[f+8>>2]);if(!o){break o}a=F[d+64>>2]+1|0;b=F[d+68>>2];m=a>>>0>>0?a:b;b=F[h+16>>2];k=m-b|0;p:{if(k>>>0<=1){g=F[d+80>>2];break p}e=F[d+144>>2]|32;F[d+144>>2]=e;g=F[d+80>>2];if(b>>>0>=m>>>0){break p}i=-1;a=b;r=m+(a^-1)|0;if(r>>>0>=3){q=k&-4;while(1){j=L(a,20)+g|0;p=F[j+8>>2];i=i>>>0

>>0?i:p;p=F[j+28>>2];i=i>>>0

>>0?i:p;p=F[j+48>>2];i=i>>>0

>>0?i:p;j=F[j+68>>2];i=i>>>0>>0?i:j;a=a+4|0;n=n+4|0;if((q|0)!=(n|0)){continue}break}}n=k&3;if(n){j=0;while(1){q=F[(L(a,20)+g|0)+8>>2];i=i>>>0>>0?i:q;a=a+1|0;j=j+1|0;if((n|0)!=(j|0)){continue}break}}a=b;if(k&1){a=L(b,20)+g|0;if(F[a+8>>2]!=(i|0)){F[d+144>>2]=e;F[a+4>>2]=F[a+4>>2]|3}a=b+1|0}if(!r){break p}while(1){k=L(a,20)+g|0;if(F[k+8>>2]!=(i|0)){e=e|32;F[d+144>>2]=e;F[k+4>>2]=F[k+4>>2]|3}k=L(a+1|0,20)+g|0;if(F[k+8>>2]!=(i|0)){e=e|32;F[d+144>>2]=e;F[k+4>>2]=F[k+4>>2]|3}a=a+2|0;if((m|0)!=(a|0)){continue}break}}a=L(b,20)+g|0;b=G[o|0]|G[o+1|0]<<8;b=(b<<8|b>>>8)&65535;F[a>>2]=b;if(G[h+13|0]){s=a,t=jc(F[h+8>>2],b),E[s+12>>1]=t}D[h|0]=1}a=G[c+6|0]|G[c+7|0]<<8;q:{if((a|0)==65535){break q}b=F[h+24>>2];a=b+(((a<<8|a>>>8)&65535)<<2)|0;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);g=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+b|0;a=F[d+64>>2];b=F[d+68>>2]-1|0;b=a>>>0>>0?a:b;e=L(b,20);a=ec(g,F[e+F[d+80>>2]>>2],F[f+8>>2]);if(!a){break q}g=e;e=F[d+80>>2];a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535;F[g+e>>2]=a;if(G[h+13|0]){s=e+L(b,20)|0,t=jc(F[h+8>>2],a),E[s+12>>1]=t}D[h|0]=1}if(!(G[c+2|0]&128)){break n}D[h+12|0]=1;F[h+16>>2]=F[d+64>>2]}a=F[f+4>>2];d=F[a+64>>2];if((d|0)==F[a+68>>2]|!G[a+60|0]){break i}r:{if(G[c+2|0]&64){b=F[a+152>>2];F[a+152>>2]=b-1;if((b|0)>0){break r}}if(G[a+61|0]){s:{if(F[a+84>>2]==F[a+80>>2]){b=d;if(F[a+72>>2]==(b|0)){break s}}if(!$a(a,1,1)){break r}d=F[a+80>>2]+L(F[a+64>>2],20)|0;c=F[d+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[d>>2];F[b+4>>2]=c;F[b+16>>2]=F[d+16>>2];c=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=c;d=F[a+64>>2];b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=d+1}a=F[f+4>>2];if(!G[a+60|0]){break i}d=(l<<8|l>>>8)&65535;c=F[a+64>>2];continue}}c=G[h|0]!=0;break a;case 2:c=Ga-304|0;Ga=c;a=a+12|0;F[c+24>>2]=a;D[c+16|0]=0;F[c+20>>2]=b;f=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);F[c+28>>2]=a+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24));f=G[a+20|0]|G[a+21|0]<<8|(G[a+22|0]<<16|G[a+23|0]<<24);F[c+32>>2]=a+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24));f=G[a+24|0]|G[a+25|0]<<8|(G[a+26|0]<<16|G[a+27|0]<<24);F[c+40>>2]=0;F[c+36>>2]=a+(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24));f=F[b+12>>2];F[c+4>>2]=F[b+16>>2];F[c>>2]=a;a=F[f+32>>2];if((a|0)==-1){a=Zb(f)}F[c+8>>2]=a;f=c+16|0;b=0;a=F[c+4>>2];F[a+72>>2]=0;F[a+64>>2]=0;D[a+61|0]=1;D[a+62|0]=0;F[a+84>>2]=F[a+80>>2];a=F[c+4>>2];F[a+64>>2]=0;t:{if(!G[a+60|0]){break t}while(1){e=0;u:{if(I[a+68>>2]<=b>>>0){break u}i=F[F[a+80>>2]+L(b,20)>>2];e=2;if((i|0)==65535){break u}a=F[c>>2];b=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=ec((b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))+a|0,i,F[c+8>>2]);e=1;if(!a){break u}a=G[a|0]|G[a+1|0]<<8;e=(a<<8|a>>>8)&65535}a=F[c>>2];b=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=i>>>0>e>>>0;n=L(d,i);b=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);k=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=((g?e:1)+n<<1)+k|0;b=G[b|0]|G[b+1|0]<<8;j=L((b<<8|b>>>8)&65535,6);b=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);b=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;l=j+b|0;m=G[l|0]|G[l+1|0]<<8;j=G[l+2|0]|G[l+3|0]<<8;v:{w:{if(j&32){break w}if(!(!d|!(j&64?m:1))){a=k+((g?e:1)<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=b+L((a<<8|a>>>8)&65535,6)|0;d=G[a+2|0]|G[a+3|0]<<8;if(d&32|(m|0)!=(G[a|0]|G[a+1|0]<<8)|(d^j)&64){break w}}a=k+(n+!i<<1)|0;a=G[a|0]|G[a+1|0]<<8;if(!(G[(b+L((a<<8|a>>>8)&65535,6)|0)+2|0]&32)){break v}}a=F[c+4>>2];b=F[a+64>>2];d=G[a+61|0]?F[a+72>>2]:b;if(!d|b>>>0>=I[a+68>>2]){break v}wb(a,3,d-1|0,b+1|0,1,1)}k=0;e=F[c+4>>2];b=G[l+2|0]|G[l+3|0]<<8;if(b&128){a=F[f+24>>2];x:{if(!a){i=F[e+72>>2];a=0;break x}i=F[e+72>>2];a=a-((i|0)==F[(f+((a-1&63)<<2)|0)+28>>2])|0}F[f+24>>2]=a+1;F[(f+((a&63)<<2)|0)+28>>2]=i}y:{if(!(b&32)){break y}i=F[f+24>>2];if(!i|I[e+64>>2]>=I[e+68>>2]){break y}r=F[e+72>>2];a=G[l+4|0]|G[l+5|0]<<8;b=F[f+12>>2]+(((a<<8|a>>>8)&65535)<<2)|0;while(1){z:{if(!i){F[f+24>>2]=0;break z}i=i-1|0;q=f+((i&63)<<2)|0;if(!lc(e,F[q+28>>2])){break y}a=F[f+4>>2];j=F[a+24>>2];if(j>>>0>b>>>0){break z}d=F[a+28>>2];if(d>>>0>>0|d-b>>>0<4){break z}n=F[a+32>>2];g=n-4|0;F[a+32>>2]=g;if((g|0)<=0){break z}g=G[b|0];o=G[b+3|0]|(G[b+1|0]<<16|g<<24|G[b+2|0]<<8);g=F[F[e+80>>2]+L(F[e+64>>2],20)>>2]+(o&1073741823|g<<26>>31&-1073741824)|0;g=(g|0)<0?163632:F[f+16>>2]+(g<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break z}p=n-6|0;F[a+32>>2]=p;if((p|0)<=0){break z}g=G[g|0]|G[g+1|0]<<8;k=((g<<8|g>>>8)&65535)+k|0;if(o>>>0>=1073741824){g=(k|0)<0?163632:F[f+20>>2]+(k<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break z}d=a;a=n-8|0;F[d+32>>2]=a;if((a|0)<=0){break z}a=G[g|0]|G[g+1|0]<<8;if(!$a(e,1,1)){break y}j=(a<<8|a>>>8)&65535;a=F[e+64>>2];A:{if(a>>>0>2]){d=F[e+72>>2];g=F[e+84>>2];a=F[e+80>>2]+L(a,20)|0;break A}g=F[e+84>>2];d=F[e+72>>2];a=g+L(d?d-1|0:0,20)|0}d=L(d,20)+g|0;g=F[a+4>>2];F[d>>2]=F[a>>2];F[d+4>>2]=g;F[d+16>>2]=F[a+16>>2];g=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=g;F[d>>2]=j;F[e+64>>2]=F[e+64>>2]+1;F[e+72>>2]=F[e+72>>2]+1;d=F[f+24>>2]-1|0;j=F[(f+((d&63)<<2)|0)+28>>2];if(d>>>0>i>>>0){while(1){F[f+24>>2]=d;if(!lc(e,F[(f+((d&63)<<2)|0)+28>>2])){break y}if(!$a(e,1,1)){break y}a=F[e+64>>2];B:{if(a>>>0>2]){d=F[e+72>>2];g=F[e+84>>2];a=F[e+80>>2]+L(a,20)|0;break B}g=F[e+84>>2];d=F[e+72>>2];a=g+L(d?d-1|0:0,20)|0}d=L(d,20)+g|0;g=F[a+4>>2];F[d>>2]=F[a>>2];F[d+4>>2]=g;F[d+16>>2]=F[a+16>>2];g=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=g;F[d>>2]=65535;F[e+64>>2]=F[e+64>>2]+1;F[e+72>>2]=F[e+72>>2]+1;d=F[f+24>>2]-1|0;if(i>>>0>>0){continue}break}}if(!lc(e,j+1|0)){break y}Xc(e,F[q+28>>2],F[e+72>>2])}b=b+4|0;if((o|0)>=0){continue}}break}lc(e,r)}a=F[c+4>>2];b=F[a+64>>2];if((b|0)==F[a+68>>2]|!G[a+60|0]){break t}C:{if(G[l+2|0]&64){d=F[a+152>>2];F[a+152>>2]=d-1;if((d|0)>0){break C}}if(G[a+61|0]){D:{if(F[a+84>>2]==F[a+80>>2]){d=b;if(F[a+72>>2]==(b|0)){break D}}if(!$a(a,1,1)){break C}d=F[a+80>>2]+L(F[a+64>>2],20)|0;e=F[d+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[d>>2];F[b+4>>2]=e;F[b+16>>2]=F[d+16>>2];e=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=e;b=F[a+64>>2];d=F[a+72>>2]}F[a+72>>2]=d+1}F[a+64>>2]=b+1}a=F[c+4>>2];if(!G[a+60|0]){break t}d=(m<<8|m>>>8)&65535;b=F[a+64>>2];continue}}mc(a);Ga=c+304|0;c=G[c+16|0];break a;case 4:c=Ii(a+12|0,b);break a;case 5:break b;default:break a}}F[h+8>>2]=0;D[h|0]=0;F[h+4>>2]=b;c=G[a+28|0]|G[a+29|0]<<8|(G[a+30|0]<<16|G[a+31|0]<<24);a=a+12|0;F[h+12>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;c=F[b+12>>2];F[h+36>>2]=F[b+16>>2];F[h+32>>2]=a;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[h+40>>2]=a;c=0;f=h+32|0;a=F[f+4>>2];F[a+72>>2]=0;F[a+64>>2]=0;D[a+61|0]=1;D[a+62|0]=0;F[a+84>>2]=F[a+80>>2];a=F[f+4>>2];F[a+64>>2]=0;E:{if(!G[a+60|0]){break E}while(1){b=0;F:{if(I[a+68>>2]<=c>>>0){break F}e=F[F[a+80>>2]+L(c,20)>>2];b=2;if((e|0)==65535){break F}a=F[f>>2];c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=ec((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0,e,F[f+8>>2]);b=1;if(!a){break F}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=F[f>>2];c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=i>>>0>b>>>0;j=L(d,i);c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);l=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=((g?b:1)+j<<1)+l|0;c=G[c|0]|G[c+1|0]<<8;e=((c<<8|c>>>8)&65535)<<3;c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);m=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=e+m|0;e=G[c|0]|G[c+1|0]<<8;k=G[c+2|0]|G[c+3|0]<<8;G:{H:{if((G[c+4|0]|G[c+5|0]<<8)!=65535|(G[c+6|0]|G[c+7|0]<<8)!=65535?k&65283:0){break H}if(!(!d|!(k&64?e:1))){a=l+((g?b:1)<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;b=G[a+2|0]|G[a+3|0]<<8;if(((G[a+4|0]|G[a+5|0]<<8)!=65535|(G[a+6|0]|G[a+7|0]<<8)!=65535?b&65283:0)|((b^k)&64|(e|0)!=(G[a|0]|G[a+1|0]<<8))){break H}}a=l+(j+!i<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;if(!((G[a+2|0]|G[a+3|0]<<8)&65283)){break G}if((G[a+4|0]|G[a+5|0]<<8)!=65535){break H}if((G[a+6|0]|G[a+7|0]<<8)==65535){break G}}a=F[f+4>>2];b=F[a+64>>2];d=G[a+61|0]?F[a+72>>2]:b;if(!d|b>>>0>=I[a+68>>2]){break G}wb(a,3,d-1|0,b+1|0,1,1)}Gi(h,f,c);a=F[f+4>>2];d=F[a+64>>2];if((d|0)==F[a+68>>2]|!G[a+60|0]){break E}I:{if(G[c+2|0]&64){b=F[a+152>>2];F[a+152>>2]=b-1;if((b|0)>0){break I}}if(G[a+61|0]){J:{if(F[a+84>>2]==F[a+80>>2]){b=d;if(F[a+72>>2]==(b|0)){break J}}if(!$a(a,1,1)){break I}d=F[a+80>>2]+L(F[a+64>>2],20)|0;c=F[d+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[d>>2];F[b+4>>2]=c;F[b+16>>2]=F[d+16>>2];c=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=c;d=F[a+64>>2];b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=d+1}a=F[f+4>>2];if(!G[a+60|0]){break E}d=(e<<8|e>>>8)&65535;c=F[a+64>>2];continue}}mc(a);c=G[h|0]!=0}Ga=h+48|0;return c|0} -function UB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=Ga-144|0;Ga=d;F[a+88>>2]=0;F[a+92>>2]=0;F[a+104>>2]=0;F[a+108>>2]=0;F[a+96>>2]=0;F[a+100>>2]=0;F[a+112>>2]=-1;F[a+116>>2]=-1;F[a+120>>2]=-1;F[a+124>>2]=-1;F[a+128>>2]=-1;F[a+132>>2]=-1;F[a+136>>2]=-1;F[a+140>>2]=-1;F[a+144>>2]=-1;F[a+148>>2]=-1;F[a+152>>2]=-1;F[a+168>>2]=0;F[a+172>>2]=0;F[a+160>>2]=0;F[a+164>>2]=8720;F[a+176>>2]=0;F[a+180>>2]=0;F[a+184>>2]=0;F[a+188>>2]=0;o=a+192|0;c=o;F[c>>2]=0;F[c+4>>2]=0;F[a+200>>2]=0;F[a+204>>2]=0;F[a+208>>2]=0;F[a+212>>2]=0;if(!G[a+44|0]){c=Db(b);D[a+44|0]=1;F[a+40>>2]=c}b=Ab(b,1128678944);if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}i=a+4|0;D[i+24|0]=0;F[i+32>>2]=b;h=F[b+12>>2];F[i+4>>2]=h;j=F[b+16>>2];F[i+8>>2]=j+h;F[i+28>>2]=0;if(j>>>0>67108862){c=1073741823}else{c=j<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}F[i+12>>2]=c;F[i+20>>2]=0;F[i>>2]=0;a:{if(!h){Xa(b);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0;break a}b:{if((j|0)>=4){F[i+12>>2]=c-4;c=G[h|0];Xa(b);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0;if((c|0)!=1){break b}if(F[b+4>>2]){F[b+4>>2]=0}break a}Xa(b);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0}Xa(b);b=163632}F[a>>2]=b;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}D[a+28|0]=0;F[a+36>>2]=b;c=F[b+12>>2];F[a+8>>2]=c;b=F[b+16>>2];F[a+12>>2]=b+c;F[a+4>>2]=0;F[a+32>>2]=0;if(b>>>0>67108862){b=1073741823}else{b=b<<6;b=b>>>0>16384?b:16384;b=b>>>0<1073741823?b:1073741823}F[a+16>>2]=b;F[a+24>>2]=0;c:{d:{e:{f:{b=F[a>>2];if(I[b+16>>2]>=4){m=F[b+12>>2];if((m|0)!=163632){break f}}ic(a);break e}b=m+G[m+2|0]|0;F[a+56>>2]=b;g:{if((b|0)!=163632){if(Uc(b,i)){break g}}ic(a);break e}h=F[a+56>>2];b=0;h:{if((h|0)==163632){break h}c=G[h|0]|G[h+1|0]<<8;b=2;if(!c){break h}b=(c<<8|c>>>8)&65535;c=G[h+2|0];k=L(b+1|0,c);i:{if(!c){break i}j=c&3;b=(h+L(b,c)|0)+3|0;if(c-1>>>0<3){e=0}else{g=c&252;while(1){c=b;b=b+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!j){break i}while(1){e=G[b|0]|e<<8;b=b+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}b=(e+k|0)+2|0}b=b+h|0;F[a+60>>2]=b;j:{k:{if((b|0)==163632){break k}if(!Uc(b,i)){break k}b=F[a+60>>2];if(G[b|0]|G[b+1|0]<<8){break j}}ic(a);break e}qo(d+8|0,b,0);l:{m:{n:{b=F[d+12>>2];switch(b+1|0){case 1:break l;case 0:break m;default:break n}}c=F[d+8>>2];if(c>>>0>2]){break m}f=F[a+12>>2];if(f>>>0>>0|b>>>0>f-c>>>0){break m}b=F[a+16>>2]-b|0;F[a+16>>2]=b;if((b|0)>0){break l}}ic(a);break e}b=a+88|0;F[d+104>>2]=0;F[d+108>>2]=0;F[d+96>>2]=F[d+16>>2];F[d+132>>2]=0;F[d+136>>2]=0;c=F[d+12>>2];F[d+88>>2]=F[d+8>>2];F[d+92>>2]=c;F[d+100>>2]=0;D[d+108|0]=0;c=nb(4744);F[d+120>>2]=0;F[d+124>>2]=0;F[d+112>>2]=0;F[d+116>>2]=0;o:{if(!c){F[d+116>>2]=-1;break o}F[d+124>>2]=c;F[d+116>>2]=593;Wa(c,0,4104);F[d+120>>2]=513}D[d+128|0]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;F[a+152>>2]=-1;F[a+144>>2]=-1;F[a+148>>2]=-1;F[a+136>>2]=-1;F[a+140>>2]=-1;F[a+128>>2]=-1;F[a+132>>2]=-1;F[a+120>>2]=-1;F[a+124>>2]=-1;F[a+112>>2]=-1;F[a+116>>2]=-1;F[a+160>>2]=0;F[a+164>>2]=8720;F[a+176>>2]=0;F[a+180>>2]=0;F[a+184>>2]=0;F[a+188>>2]=0;F[a+168>>2]=0;F[a+172>>2]=0;F[61902]=0;b=aa(703,d+88|0,b|0)|0;c=F[61902];F[61902]=0;p:{q:{r:{if((c|0)!=1){if(b){break q}F[61902]=0;_(657,a|0);c=F[61902];F[61902]=0;if((c|0)!=1){break r}}break d}F[d+120>>2]=0;Ta(F[d+124>>2]);if(b){break p}break e}F[d+120>>2]=0;Ta(F[d+124>>2])}s:{b=F[a+172>>2];if(b>>>0<=2){F[a+52>>2]=163632;break s}b=b+m|0;F[a+52>>2]=b;if((b|0)!=163632){f=0;g=F[i+4>>2];t:{if(g>>>0>b>>>0){break t}k=F[i+8>>2];if(k>>>0<=b>>>0){break t}c=F[i+12>>2];h=c-1|0;F[i+12>>2]=h;if((h|0)<=0){break t}u:{v:{switch(G[b|0]){case 0:b=(b+(F[i+36>>2]<<1)|0)-1|0;if(b>>>0>>0|b>>>0>k>>>0|k-b>>>0<2){break t}b=c-3|0;F[i+12>>2]=b;f=(b|0)>0;break t;case 1:f=1;e=F[i+36>>2]-1|0;if(!e){break t}j=b+1|0;c=0;while(1){b=j+L(c,3)|0;if(b>>>0>>0|b>>>0>k>>>0|k-b>>>0<3){break u}h=h-3|0;F[i+12>>2]=h;if((h|0)<=0){break u}b=G[b+2|0];if(b>>>0>=e>>>0){break u}c=c+1|0;e=(b^-1)+e|0;if(e){continue}break};break t;case 2:break v;default:break t}}f=1;j=F[i+36>>2]-1|0;if(!j){break t}e=0;while(1){c=b+(e<<2)|0;f=c+1|0;if(f>>>0>>0|f>>>0>k>>>0|k-f>>>0<4){break u}h=h-4|0;F[i+12>>2]=h;if((h|0)<=0){break u}c=G[c+3|0]|G[c+4|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>=j>>>0){break u}f=1;e=e+1|0;j=(c^-1)+j|0;if(j){continue}break}break t}f=0}if(f){break s}}ic(a);break e}F[a+84>>2]=1;w:{x:{if(F[a+148>>2]!=-1){b=F[a+108>>2];b=b?b+m|0:163632;F[a+76>>2]=b;c=F[a+176>>2];F[a+80>>2]=c?c+m|0:163632;y:{z:{if((b|0)==163632){break z}if(!Uc(b,i)){break z}b=F[a+80>>2];if((b|0)==163632){break z}c=F[a+76>>2];c=G[c|0]|G[c+1|0]<<8;e=(c<<8|c>>>8)&65535;c=0;k=F[i+4>>2];A:{if(k>>>0>b>>>0){break A}g=F[i+8>>2];if(g>>>0<=b>>>0){break A}n=F[i+12>>2];f=n-1|0;F[i+12>>2]=f;if((f|0)<=0){break A}B:{switch(G[b|0]){case 0:c=1;h=F[i+36>>2];if(!h){break A}j=1;l=b+1|0;if(!(l>>>0>>0|g>>>0<=l>>>0)){c=n-2|0;e=c&c>>31;C:{if((c|0)<=0){b=e;break C}b=f-h|0;f=0;D:{while(1){f=f+1|0;if((h|0)==(f|0)){break D}j=f+l|0;if(j>>>0>>0){b=c;break D}if(g>>>0<=j>>>0){b=c;break D}c=c-1|0;if((c|0)>0){continue}break}b=e}j=f>>>0>>0}F[i+12>>2]=b}c=!j;break A;case 3:break B;default:break A}}c=oo(b+1|0,i,e)}if(c){break y}}ic(a);break e}b=F[a+76>>2];b=G[b|0]|G[b+1|0]<<8;F[a+48>>2]=163632;F[a+84>>2]=(b<<8|b>>>8)&65535;b=a+48|0;if(F[a+148>>2]==-1){break x}if(F[a+52>>2]!=163632){break w}ic(a);break e}F[a+80>>2]=163632;F[a+76>>2]=163632;F[a+48>>2]=163632;b=a+48|0}c=F[a+168>>2];if(c>>>0<2){break w}e=b;b=c+m|0;F[e>>2]=b;if((b|0)!=163632){E:{F:{h=F[i+4>>2];if(h>>>0>b>>>0){break F}c=F[i+8>>2];if(c>>>0<=b>>>0){break F}f=F[i+12>>2];e=f-1|0;F[i+12>>2]=e;if((e|0)<=0){break F}e=0;G:{H:{I:{J:{K:{g=G[b|0];switch(g&127){case 1:break J;case 0:break K;default:break G}}j=b+1|0;if(j>>>0>>0|c>>>0<=j>>>0){break F}f=f-2|0;F[i+12>>2]=f;if(!f){break F}j=G[b+1|0];if(!j){break H}k=b+2|0;if(k>>>0>>0|c>>>0>>0){break F}if(j>>>0<=c-k>>>0){break I}break F}e=b+1|0;if(e>>>0>>0|c>>>0<=e>>>0){break F}f=f-2|0;F[i+12>>2]=f;if(!f){break F}j=G[b+1|0];if(!j){break H}e=b+2|0;if(e>>>0>>0|c>>>0>>0){break F}k=c-e|0;e=j<<1;if(k>>>0>>0){break F}f=f-e|0;F[i+12>>2]=f;if((f|0)>0){break H}break F}f=f-j|0;F[i+12>>2]=f;if((f|0)<=0){break G}}e=1;j=g<<24>>24;if((j|0)>=0){break G}e=163632;L:{M:{switch(j&127){case 0:e=b+1|0;b=G[b+1|0];e=(b?e+b|0:163632)+1|0;break L;case 1:break M;default:break L}}e=G[b+1|0];e=(e?b+(e<<1)|0:163632)+2|0}if(e>>>0>>0|c>>>0<=e>>>0){break F}b=f-1|0;F[i+12>>2]=b;if(!b){break F}j=G[e|0];if(j){f=e+1|0;if(f>>>0>>0|c>>>0>>0){break F}e=c-f|0;c=L(j,3);if(e>>>0>>0){break F}b=b-c|0;F[i+12>>2]=b;e=0;if((b|0)<=0){break G}}e=1}break E}e=0}if(e){break w}}ic(a);break e}b=F[a+60>>2];b=po(b)+b|0;F[a+64>>2]=b;N:{if((b|0)!=163632){if(Uc(b,i)){break N}}ic(a);break e}b=F[a+64>>2];b=po(b)+b|0;F[a+68>>2]=b;O:{if((b|0)==163632){break O}if(Uc(b,i)){break O}ic(a);break e}b=F[a+104>>2];b=b?b+m|0:163632;F[a+72>>2]=b;P:{if((b|0)!=163632){if(Uc(b,i)){break P}}ic(a);break e}b=F[a+72>>2];b=G[b|0]|G[b+1|0]<<8;b=(b<<8|b>>>8)&65535;F[a+216>>2]=b;if((b|0)!=F[a+40>>2]){ic(a);break e}c=F[a+84>>2];h=a+204|0;b=F[h>>2];Q:{if((b|0)>=0){k=(c|0)>0?c:0;if(k>>>0>b>>>0){c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(k>>>0>=c>>>0){continue}break}R:{if(!(b>>>0>c>>>0|c>>>0>178956969)){f=0;j=0;e=nb(L(c,24));if(e){l=F[h+4>>2];S:{if(!l){break S}b=0;if(l-1>>>0>=7){n=l&-8;while(1){g=e+L(b,24)|0;F[g>>2]=0;F[g+4>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;g=e+L(b|1,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;g=e+L(b|2,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;g=e+L(b|3,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;g=e+L(b|4,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;g=e+L(b|5,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;g=e+L(b|6,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;g=e+L(b|7,24)|0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;b=b+8|0;f=f+8|0;if((n|0)!=(f|0)){continue}break}}g=l&7;if(g){while(1){f=e+L(b,24)|0;F[f>>2]=0;F[f+4>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;b=b+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(!l){f=0;break S}j=0;while(1){f=L(j,24);b=f+e|0;f=f+F[h+8>>2]|0;F[b>>2]=F[f>>2];g=F[b+4>>2];F[b+4>>2]=F[f+4>>2];F[f+4>>2]=g;g=F[b+8>>2];F[b+8>>2]=F[f+8>>2];F[f+8>>2]=g;g=F[b+12>>2];F[b+12>>2]=F[f+12>>2];F[f+12>>2]=g;g=F[f+20>>2];F[b+16>>2]=F[f+16>>2];F[b+20>>2]=g;f=F[h+4>>2];j=j+1|0;if(f>>>0>j>>>0){continue}break}if(!f){f=0;break S}b=f;while(1){b=F[h+8>>2]+L(b,24)|0;F[b-16>>2]=0;j=b-12|0;Ta(F[j>>2]);F[j>>2]=0;b=b-20|0;F[b>>2]=0;F[b+4>>2]=0;b=F[h+4>>2]-1|0;F[h+4>>2]=b;if(b){continue}break}}F[h+4>>2]=f;Ta(F[h+8>>2])}if(e){break R}}F[h>>2]=-1;b=0;break Q}F[h>>2]=c;F[h+8>>2]=e}c=F[h+4>>2];T:{if(k>>>0>c>>>0){while(1){F[h+4>>2]=c+1;b=F[h+8>>2]+L(c,24)|0;F[b>>2]=0;F[b+4>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;c=F[h+4>>2];if(k>>>0>c>>>0){continue}break T}}if(c>>>0<=k>>>0){break T}while(1){b=F[h+8>>2]+L(c,24)|0;F[b-16>>2]=0;c=b-12|0;Ta(F[c>>2]);F[c>>2]=0;b=b-20|0;F[b>>2]=0;F[b+4>>2]=0;c=F[h+4>>2]-1|0;F[h+4>>2]=c;if(c>>>0>k>>>0){continue}break}}F[h+4>>2]=k;b=1}else{b=0}}if(b){U:{if(F[a+84>>2]){e=0;while(1){V:{if(I[a+208>>2]<=e>>>0){b=F[40913];F[61612]=F[40912];F[61613]=b;b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=246432;break V}b=F[a+212>>2]+L(e,24)|0}F[b>>2]=0;F[b+4>>2]=0;F[b+20>>2]=163632;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;e=e+1|0;b=F[a+84>>2];if(e>>>0>>0){continue}break}if(F[a+148>>2]==-1){break U}if(!b){break e}f=0;W:{while(1){b=d+72|0;qo(b,F[a+76>>2],f);if(!Ff(b,i)){ic(a);break e}F[d+96>>2]=F[d+80>>2];b=F[d+76>>2];F[d+88>>2]=F[d+72>>2];F[d+92>>2]=b;D[d+108|0]=0;D[d+104|0]=0;F[d+100>>2]=0;b=nb(4744);F[d+120>>2]=0;F[d+124>>2]=0;F[d+112>>2]=0;F[d+116>>2]=0;X:{if(!b){F[d+116>>2]=-1;break X}F[d+116>>2]=593;F[d+124>>2]=b;Wa(b,0,4104);F[d+120>>2]=513}F[61902]=0;D[d+128|0]=0;c=fa(704,o|0)|0;b=F[61902];F[61902]=0;Y:{Z:{_:{$:{if((b|0)==1){break $}b=F[40915];F[61614]=F[40914];F[61615]=b;b=F[40913];e=F[40912];F[61612]=e;F[61613]=b;h=F[40911];j=F[40910];F[61610]=j;F[61611]=h;k=F[40909];g=F[40908];F[61608]=g;F[61609]=k;if((c|0)!=246432){F[c>>2]=0;F[c+4>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c+24>>2]=0;F[c+28>>2]=-1;F[61902]=0;l=aa(705,d+88|0,c|0)|0;n=F[61902];F[61902]=0;if((n|0)==1){break $}if(l){break _}}F[61902]=0;_(657,a|0);b=F[61902];F[61902]=0;e=1;if((b|0)!=1){break Z}}a=Z()|0;Y()|0;break W}aa:{if(I[a+208>>2]<=f>>>0){F[61612]=e;F[61613]=b;F[61610]=j;F[61611]=h;F[61608]=g;F[61609]=k;b=246432;break aa}b=F[a+212>>2]+L(f,24)|0}e=F[c+20>>2];c=F[c+16>>2];F[d+64>>2]=0;F[d+60>>2]=e;F[d+56>>2]=c+m;F[61902]=0;c=Ff(d+56|0,i);e=F[61902];F[61902]=0;ba:{if((e|0)!=1){if(c){break ba}F[61902]=0;_(657,a|0);b=F[61902];F[61902]=0;e=1;if((b|0)!=1){break Z}}a=Z()|0;Y()|0;break W}F[d+16>>2]=F[d- -64>>2];c=F[d+60>>2];F[d+8>>2]=F[d+56>>2];F[d+12>>2]=c;D[d+28|0]=0;D[d+24|0]=0;F[d+20>>2]=0;c=nb(4744);F[d+40>>2]=0;F[d+44>>2]=0;F[d+32>>2]=0;F[d+36>>2]=0;ca:{if(!c){F[d+36>>2]=-1;break ca}F[d+36>>2]=593;F[d+44>>2]=c;Wa(c,0,4104);F[d+40>>2]=513}D[d+48|0]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;F[b+20>>2]=163632;F[61902]=0;c=aa(707,d+8|0,b|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break Y}da:{if(c){c=b;b=F[b+16>>2];b=b?b+F[d+56>>2]|0:163632;F[c+20>>2]=b;e=0;if((b|0)==163632){break da}F[61902]=0;b=Uc(b,i);c=F[61902];F[61902]=0;if((c|0)==1){break Y}if(b){break da}}F[61902]=0;_(657,a|0);b=F[61902];F[61902]=0;e=1;if((b|0)==1){break Y}}F[d+40>>2]=0;Ta(F[d+44>>2])}F[d+120>>2]=0;Ta(F[d+124>>2]);if(e){break e}f=f+1|0;if(f>>>0>=I[a+84>>2]){break e}continue}break}a=Z()|0;Y()|0;F[d+40>>2]=0;Ta(F[d+44>>2])}break c}if(F[a+148>>2]!=-1){break e}}ea:{if(!F[a+208>>2]){b=F[40913];F[61612]=F[40912];F[61613]=b;b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=246432;break ea}b=F[a+212>>2]}c=F[a+180>>2];f=F[a+184>>2];F[d+16>>2]=0;F[d+12>>2]=f;F[d+8>>2]=c+m;if(!Ff(d+8|0,i)){ic(a);break e}F[d+96>>2]=F[d+16>>2];c=F[d+12>>2];F[d+88>>2]=F[d+8>>2];F[d+92>>2]=c;D[d+108|0]=0;D[d+104|0]=0;F[d+100>>2]=0;c=nb(4744);F[d+120>>2]=0;F[d+124>>2]=0;F[d+112>>2]=0;F[d+116>>2]=0;fa:{if(!c){F[d+116>>2]=-1;break fa}F[d+116>>2]=593;F[d+124>>2]=c;Wa(c,0,4104);F[d+120>>2]=513}D[d+128|0]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;F[b+20>>2]=163632;F[61902]=0;c=aa(707,d+88|0,b|0)|0;f=F[61902];F[61902]=0;ga:{if((f|0)==1){break ga}ha:{if(c){c=b;b=F[b+16>>2];b=b?b+F[d+8>>2]|0:163632;F[c+20>>2]=b;if((b|0)==163632){break ha}F[61902]=0;b=Uc(b,i);c=F[61902];F[61902]=0;if((c|0)==1){break ga}if(b){break ha}}F[61902]=0;_(657,a|0);a=F[61902];F[61902]=0;if((a|0)==1){break ga}}F[d+120>>2]=0;Ta(F[d+124>>2]);break e}break d}ic(a)}Ga=d+144|0;return}a=Z()|0;Y()|0}F[d+120>>2]=0;Ta(F[d+124>>2]);$(a|0);V()}function Tk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=Ga-32|0;Ga=g;p=F[b+100>>2];d=1;a:{b:{c:{d:{e:{f:{g:{if(Za(a,0)){break g}e=sb(a,29600,b+184|0);F[g+28>>2]=e;if(e){break g}d=3;if(F[b+184>>2]!=1885562369){break g}f=F[b+188>>2];if(!f){break g}e=F[a+4>>2];if(e>>>0<16){break g}d=e>>>4|0;if(!(f>>>0<=9&d>>>0>=f>>>0)){f=e>>>0<144?d:9;F[b+188>>2]=f}e=0;f=Va(p,16,0,f,0,g+28|0);F[b+192>>2]=f;d=F[g+28>>2];if(d){break g}if(F[b+188>>2]){while(1){d=sb(a,29616,f);F[g+28>>2]=d;if(d){break d}f=f+16|0;e=e+1|0;d=F[b+188>>2];if(e>>>0>>0){continue}break}f=F[b+192>>2];if((d|0)==1){break f}e=d}d=0;h:{i:{while(1){i=d+1|0;if((i|0)==(e|0)){j=e-1|0;e=F[a+4>>2];f=F[b+192>>2];break i}m=d^-1;h=F[f+12>>2];d=0;j=0;while(1){k=(j<<4)+f|0;j=j+1|0;l=(j<<4)+f|0;e=F[l+12>>2];if(h>>>0>e>>>0){d=F[k+12>>2];F[g+16>>2]=F[k+8>>2];F[g+20>>2]=d;d=F[k+4>>2];F[g+8>>2]=F[k>>2];F[g+12>>2]=d;d=F[l+12>>2];F[k+8>>2]=F[l+8>>2];F[k+12>>2]=d;d=F[l+4>>2];F[k>>2]=F[l>>2];F[k+4>>2]=d;d=F[g+20>>2];F[l+8>>2]=F[g+16>>2];F[l+12>>2]=d;d=F[g+12>>2];F[l>>2]=F[g+8>>2];F[l+4>>2]=d;e=F[l+12>>2];d=1}h=F[k+8>>2];if(h>>>0>e>>>0|I[k+12>>2]>e-h>>>0){break h}h=e;e=F[b+188>>2];if(m+e>>>0>j>>>0){continue}break}j=e-1|0;if(d){d=i;if(j>>>0>d>>>0){continue}}break}e=F[a+4>>2];f=F[b+192>>2];i=f;if(!j){break e}}i=(j<<4)+f|0;h=0;d=f;while(1){k=F[d+8>>2];if(!(k>>>0<=e>>>0&I[d+12>>2]<=e-k>>>0)){F[g+28>>2]=8;break d}d=d+16|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}break e}F[g+28>>2]=9;break d}F[g+4>>2]=d;break b}e=F[a+4>>2];i=f}d=F[i+12>>2];if(d>>>0>e>>>0){F[g+28>>2]=8;break d}d=e-d|0;if(d>>>0>2]){F[i+8>>2]=d}F[g+4>>2]=0;break c}d=F[b+192>>2];if(d){Ia[F[p+8>>2]](p,d)}f=0;F[b+192>>2]=0;d=F[g+28>>2];F[g+4>>2]=d;if(d){break b}}F[b>>2]=1;F[b+4>>2]=0;d=0;if((c|0)<0){break a}h=F[b+100>>2];j=3;j:{k:{c=F[b+188>>2];l:{if(!c){break l}d=0;while(1){if(F[(d<<4)+f>>2]==1){j=83;c=F[((d<<4)+f|0)+12>>2];e=F[a+8>>2];if(c>>>0>>0){break l}if(Fb(a,c-e|0)){break l}k=F[((d<<4)+f|0)+8>>2];c=0;F[g+8>>2]=0;d=dc(a,g+8|0);if(!F[g+8>>2]){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}F[g+8>>2]=j;c=0;d=0;break j}if(d>>>0>255){d=0;break j}f=d&4;m:{if(f){e=Bb(a,g+8|0);break m}e=dc(a,g+8|0)}if(F[g+8>>2]){d=0;break j}if(e>>>0>(k>>>0)/9>>>0){F[g+8>>2]=8;d=0;break j}i=e>>>0<256?e:256;F[b+280>>2]=i;d=Va(h,12,0,i,0,g+8|0);if(F[g+8>>2]){break j}n:{if(!i){break n}j=0;if(!f){while(1){l=sb(a,29680,L(j,12)+d|0);F[g+8>>2]=l;if(l){break j}j=j+1|0;if((i|0)!=(j|0)){continue}break n}}while(1){l=sb(a,29648,L(j,12)+d|0);F[g+8>>2]=l;if(l){break j}j=j+1|0;if((i|0)!=(j|0)){continue}break}}j=Fb(a,L(e-i|0,9));F[g+8>>2]=j;if(j){F[g+8>>2]=83;break j}o:{j=e&3;if(!j){break o}j=Fb(a,4-j|0);F[g+8>>2]=j;if(!j){break o}F[g+8>>2]=83;break j}p:{if(f){f=Bb(a,g+8|0);break p}f=dc(a,g+8|0)}if(F[g+8>>2]){break j}if(f>>>0>k+L(e,-9)>>>0){F[g+8>>2]=8;break j}f=f>>>0<16777472?f:16777472;c=Va(h,1,0,f+1|0,0,g+8|0);if(F[g+8>>2]){break j}e=Gb(a,c,f);F[g+8>>2]=e;if(e){break j}j=0;l=Va(h,12,0,i,0,g+8|0);if(F[g+8>>2]){break j}F[b+284>>2]=l;if(i){while(1){k=L(j,12);e=k+d|0;m=F[e>>2];if(!((m|0)>=0&f>>>0>=m>>>0)){F[g+8>>2]=9;break j}k=l+k|0;u=k,v=nc(h,c+m|0,g+8|0),F[u>>2]=v;if(F[g+8>>2]){break j}m=G[e+4|0];D[k+4|0]=m;e=F[e+8>>2];q:{if(m){if(!(e>>>0<=f>>>0&(e|0)>=0)){F[g+8>>2]=9;break j}u=k,v=nc(h,c+e|0,g+8|0),F[u+8>>2]=v;if(!F[g+8>>2]){break q}break j}F[k+8>>2]=e}j=j+1|0;if((i|0)!=(j|0)){continue}break}}F[g+8>>2]=0}if(d){Ia[F[h+8>>2]](h,d)}if(c){Ia[F[h+8>>2]](h,c)}c=F[g+8>>2];F[g+4>>2]=c;if(c){break b}r:{s:{c=F[b+188>>2];if(!c){break s}f=F[b+192>>2];d=0;while(1){if(F[(d<<4)+f>>2]!=256){d=d+1|0;if((d|0)!=(c|0)){continue}break s}break}k=0;break r}c=Rk(a,b,2);F[g+4>>2]=c;if(c){break b}c=F[b+188>>2];f=F[b+192>>2];k=1}if(!c){F[g+4>>2]=3;break b}h=F[b+100>>2];d=0;t:{u:{while(1){if(F[(d<<4)+f>>2]==4){c=83;e=F[((d<<4)+f|0)+12>>2];i=F[a+8>>2];if(e>>>0>>0){break t}if(Fb(a,e-i|0)){break t}f=F[((d<<4)+f|0)+8>>2];F[g+28>>2]=0;e=dc(a,g+28|0);c=F[g+28>>2];if(c){break t}if(((e|256)&-256)==256){break u}F[g+4>>2]=3;break b}d=d+1|0;if((d|0)!=(c|0)){continue}break}F[g+4>>2]=3;break b}i=e&4;v:{if(e>>>0<=255){if(i){d=Bb(a,g+28|0);break v}d=dc(a,g+28|0);break v}if(i){d=fb(a,g+28|0);break v}d=jl(a,g+28|0)}c=3;if(F[g+28>>2]){break t}w:{if(e>>>0<=255){c=8;if(d-1>>>0<(f>>>0)/12>>>0){break w}break t}c=8;if(d-1>>>0>=(f>>>0)/5>>>0){break t}}c=(d>>>0<65534?d:65534)+1|0;F[b+288>>2]=c;d=Va(h,16,0,c,0,g+28|0);F[b+292>>2]=d;c=F[g+28>>2];if(c){break t}x:{y:{z:{A:{if(I[b+288>>2]<2){break A}c=d+16|0;f=1;if(e>>>0<=255){d=i?29840:29872;while(1){e=sb(a,d,c);F[g+28>>2]=e;F[c+12>>2]=0;if(e){break y}if(!(E[c+2>>1]>=E[c>>1]&E[c+6>>1]>=(0-E[c+8>>1]|0))){F[c>>2]=0;F[c+4>>2]=0;E[c+8>>1]=0}c=c+16|0;f=f+1|0;if(f>>>0>2]){continue}break}break A}while(1){d=sb(a,29904,g+8|0);if(d){break z}E[c>>1]=G[g+8|0]-128;E[c+2>>1]=G[g+9|0]-128;E[c+4>>1]=G[g+10|0]-128;e=G[g+11|0]-128|0;E[c+6>>1]=e;d=G[g+12|0];E[c+10>>1]=0;E[c+8>>1]=d-128;F[g+28>>2]=0;F[c+12>>2]=0;if(!((e|0)>=(128-d|0)&E[c+2>>1]>=E[c>>1])){F[c>>2]=0;F[c+4>>2]=0;E[c+8>>1]=0}c=c+16|0;f=f+1|0;if(f>>>0>2]){continue}break}}F[g+4>>2]=0;break x}F[g+28>>2]=d;F[c+12>>2]=0}c=F[b+292>>2];if(c){Ia[F[h+8>>2]](h,c)}F[b+292>>2]=0;c=F[g+28>>2];F[g+4>>2]=c;if(c){break b}}e=F[b+188>>2];if(!e){F[g+4>>2]=3;break b}c=F[b+192>>2];d=0;B:{C:{D:{E:{while(1){if(F[c+(d<<4)>>2]==8){f=83;e=F[(c+(d<<4)|0)+12>>2];h=F[a+8>>2];if(e>>>0>>0){break C}if(Fb(a,e-h|0)){break C}e=F[(c+(d<<4)|0)+8>>2];f=tb(a,8);F[g+8>>2]=f;if(f){break C}h=kl(a);i=h&4;if(!i){break E}c=Tb(a);break D}d=d+1|0;if((e|0)!=(d|0)){continue}break}F[g+4>>2]=3;break b}c=kl(a)}lb(a);if(h>>>0>255){F[g+4>>2]=3;break b}f=3;c=c>>>0<65534?c:65534;if((c|0)!=(F[b+288>>2]-1|0)){break C}F:{if(!c){break F}f=(F[a+8>>2]+(c<<2)|0)+16|0;d=1;if(!i){while(1){j=dc(a,g+8|0);F[(F[b+292>>2]+(d<<4)|0)+12>>2]=f+(e>>>0>>0?0:j);j=(c|0)==(d|0);d=d+1|0;if(!j){continue}break F}}while(1){j=Bb(a,g+8|0);F[(F[b+292>>2]+(d<<4)|0)+12>>2]=f+(e>>>0>>0?0:j);j=(c|0)!=(d|0);d=d+1|0;if(j){continue}break}}f=F[g+8>>2];if(f){break C}G:{if(i){Bb(a,g+8|0);f=F[g+8>>2];if(f){break C}Bb(a,g+8|0);f=F[g+8>>2];if(f){break C}Bb(a,g+8|0);f=F[g+8>>2];if(f){break C}Bb(a,g+8|0);break G}dc(a,g+8|0);f=F[g+8>>2];if(f){break C}dc(a,g+8|0);f=F[g+8>>2];if(f){break C}dc(a,g+8|0);f=F[g+8>>2];if(f){break C}dc(a,g+8|0)}f=F[g+8>>2];if(!f){break B}}F[g+4>>2]=f;break b}F[b+312>>2]=h;F[g+4>>2]=0;f=0;i=Ga-16|0;Ga=i;h=3;e=F[b+188>>2];H:{if(!e){break H}l=b+296|0;d=F[b+192>>2];c=F[b+100>>2];while(1){if(F[d+(f<<4)>>2]==32){h=83;d=F[(d+(f<<4)|0)+12>>2];e=F[a+8>>2];if(d>>>0>>0){break H}if(Fb(a,d-e|0)){break H}F[i+12>>2]=0;d=dc(a,i+12|0);h=F[i+12>>2];if(h){break H}h=3;if(d>>>0>255){break H}m=d&4;I:{if(m){h=sb(a,29936,l);break I}h=sb(a,29968,l)}F[i+12>>2]=h;if(h){break H}h=8;d=H[b+298>>1];f=H[b+296>>1];if(d>>>0>>0|d>>>0>255){break H}e=H[b+302>>1];j=H[b+300>>1];if(e>>>0>>0|e>>>0>255){break H}d=L((e-j|0)+1|0,(d-f|0)+1|0);u=b,v=Va(c,2,0,d,0,i+12|0),F[u+308>>2]=v;h=F[i+12>>2];if(h){break H}d=tb(a,d<<1);F[i+12>>2]=d;J:{if(!d){e=H[b+304>>1];c=e>>>8|0;f=H[b+300>>1];K:{L:{if(c>>>0>>0|H[b+302>>1]>>0){break L}d=H[l>>1];e=e&255;if(d>>>0>e>>>0){break L}j=H[b+298>>1];if(j>>>0>=e>>>0){break K}}d=H[b+296>>1];E[b+304>>1]=d+(f<<8);j=H[b+298>>1];c=f;e=d}h=1;c=F[a+32>>2]+(((e&65535)-d|0)+L((j-d|0)+1|0,c-f|0)<<1)|0;c=G[c+!m|0]<<8|G[c+((m|0)!=0)|0];if((c|0)!=65535){c=c+1&65535;h=c>>>0>2]?c:1}c=F[b+292>>2];d=(h<<4)+c|0;e=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=e;e=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=e;M:{h=H[b+300>>1];if(h>>>0>H[b+302>>1]){break M}c=H[b+296>>1];d=H[b+298>>1];if(c>>>0>d>>>0){break M}f=F[b+308>>2];while(1){N:{if((c&65535)>>>0>d>>>0){break N}if(!m){while(1){d=wd(a);E[f>>1]=(d|0)==65535?-1:d+1|0;f=f+2|0;d=H[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break N}}while(1){d=xb(a);E[f>>1]=(d|0)==65535?-1:d+1|0;f=f+2|0;d=H[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break}}h=h+1|0;if(H[b+302>>1]<(h&65535)>>>0){break M}c=H[l>>1];continue}}lb(a);break J}d=F[b+308>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+308>>2]=0}h=F[i+12>>2];break H}f=f+1|0;if((e|0)!=(f|0)){continue}break}}Ga=i+16|0;F[g+4>>2]=h;if(h){break b}if(!k){a=Rk(a,b,256);F[g+4>>2]=a;if(a){break b}}a=F[b+8>>2];F[b+8>>2]=a|18;if(G[b+199|0]){F[b+8>>2]=a|22}a=0;f=0;h=0;i=0;j=0;m=Ga-16|0;Ga=m;F[m+12>>2]=0;F[b+12>>2]=0;r=1;q=F[b+100>>2];l=F[b+280>>2];O:{P:{if((l|0)<=0){k=1;h=1;break P}o=F[b+284>>2];while(1){Q:{c=a;e=ab(F[o+L(c,12)>>2],11280);a=c+1|0;if((l|0)<=(a|0)){break Q}if(e){continue}}break}a=0;d=2;R:{if(e){break R}c=o+L(c,12)|0;if(!G[c+4|0]){break R}S:{switch(G[F[c+8>>2]]-73|0){case 0:case 6:case 32:case 38:break S;default:break R}}F[b+12>>2]=1;h=(G[F[c+8>>2]]&223)==79?11357:11500;d=3}while(1){T:{e=a;f=ab(F[o+L(a,12)>>2],11622);a=a+1|0;if((l|0)<=(a|0)){break T}if(f){continue}}break}a=0;k=1;U:{if(f){break U}e=o+L(e,12)|0;k=1;if(!G[e+4|0]){break U}k=1;if((G[F[e+8>>2]]|32)!=98){break U}F[b+12>>2]=d;j=11719;k=0}while(1){V:{d=a;e=ab(F[o+L(d,12)>>2],11814);a=d+1|0;if((l|0)<=(a|0)){break V}if(e){continue}}break}a=0;c=0;W:{if(e){break W}d=o+L(d,12)|0;c=0;if(!G[d+4|0]){break W}d=F[d+8>>2];e=G[d|0];c=0;if(!e){break W}c=0;if((e|0)==78){break W}c=0;if((e|0)==110){break W}c=d}while(1){X:{f=a;r=ab(F[o+L(a,12)>>2],11907);a=a+1|0;if((l|0)<=(a|0)){break X}if(r){continue}}break}d=0;e=0;Y:{if(r){break Y}Z:{a=o+L(f,12)|0;if(!G[a+4|0]){break Z}a=F[a+8>>2];f=G[a|0];if(!f|(f|0)==78){break Z}e=0;if((f|0)==110){break Y}d=a;i=hb(d);e=i+1|0;break Y}e=0}_:{if(k){j=0;break _}s=hb(j);e=(s+e|0)+1|0}f=0;if(h){t=hb(h);e=(t+e|0)+1|0;a=h}else{a=0}o=a;$:{if(!c){a=0;break $}a=hb(c);e=(e+a|0)+1|0;f=c}r=!h;h=!c;if(e){break O}}e=8;i=7;d=11981}c=gb(q,e,m+12|0);F[b+24>>2]=c;e=F[m+12>>2];if(!e){if(d){l=Ya(c,d,i);aa:{if(!i){break aa}e=0;c=0;if(i-1>>>0>=3){q=i&-4;d=0;while(1){n=c+l|0;if(G[n|0]==32){D[n|0]=45}n=l+(c|1)|0;if(G[n|0]==32){D[n|0]=45}n=l+(c|2)|0;if(G[n|0]==32){D[n|0]=45}n=l+(c|3)|0;if(G[n|0]==32){D[n|0]=45}c=c+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}}d=i&3;if(!d){break aa}while(1){q=c+l|0;if(G[q|0]==32){D[q|0]=45}c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=i+l|0}if(!k){if(F[b+24>>2]!=(c|0)){D[c|0]=32;c=c+1|0}c=Ya(c,j,s)+s|0}if(!r){if(F[b+24>>2]!=(c|0)){D[c|0]=32;c=c+1|0}c=Ya(c,o,t)+t|0}if(!h){if(F[b+24>>2]!=(c|0)){D[c|0]=32;c=c+1|0}f=Ya(c,f,a);ba:{if(!a){a=0;break ba}e=0;c=0;if(a-1>>>0>=3){h=a&-4;d=0;while(1){i=c+f|0;if(G[i|0]==32){D[i|0]=45}i=f+(c|1)|0;if(G[i|0]==32){D[i|0]=45}i=f+(c|2)|0;if(G[i|0]==32){D[i|0]=45}i=f+(c|3)|0;if(G[i|0]==32){D[i|0]=45}c=c+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}d=a&3;if(!d){break ba}while(1){h=c+f|0;if(G[h|0]==32){D[h|0]=45}c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=a+f|0}D[c|0]=0;e=F[m+12>>2]}Ga=m+16|0;F[g+4>>2]=e;if(e){break b}a=ad(b,10323);ca:{if(!(!a|!G[a+4|0])){u=b,v=nc(p,F[a+8>>2],g+4|0),F[u+20>>2]=v;if(!F[g+4>>2]){break ca}break b}F[b+20>>2]=0}F[b+28>>2]=1;F[b+16>>2]=F[b+288>>2];a=Va(p,16,0,1,0,g+4|0);F[b+32>>2]=a;if(F[g+4>>2]){break b}F[a>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;c=32767;d=F[b+208>>2]+F[b+204>>2]|0;e=d&32768?0-d|0:d;f=d;d=d>>31;d=(f^d)-d|0;E[a>>1]=d>>>0>32767?32767:e;f=ad(b,10453);da:{if(f){d=F[f+8>>2];e=d>>31;if((d^e)-e>>>0>327665){break da}c=(d+5|0)/10|0;c=c&32768?0-c|0:c;break da}c=bb(d>>>0>32767?32767:e<<16>>16,2,3)}E[a+2>>1]=c;c=ad(b,10604);if(c){d=F[c+8>>2];c=d>>31;c=(c^d)-c|0;if(c>>>0<=328898){c=bb(c,460800,72270)}else{c=32767}F[a+4>>2]=c}c=ad(b,10739);if(c){c=F[c+8>>2];d=c>>31;if((c^d)-d>>>0<=32767){c=c<<16;d=c>>16;c=((c|0)<0?0-d|0:d)<<6}else{c=2097088}F[a+12>>2]=c}d=ad(b,10842);c=0;ea:{if(!d){break ea}d=F[d+8>>2];e=d>>31;c=32767;if((d^e)-e>>>0>32767){break ea}c=(d&32768?0-d|0:d)<<16>>16}fa:{ga:{ha:{ia:{d=ad(b,10937);if(d){f=32767;d=F[d+8>>2];e=d>>31;if((d^e)-e>>>0>32767){break ia}f=d&32768?0-d|0:d;d=F[a+12>>2];if(d){break ga}d=F[a+4>>2];F[a+12>>2]=d;if(!(f&65535)){break fa}e=a+12|0;break ha}d=F[a+12>>2];if(d){break fa}d=F[a+4>>2];F[a+12>>2]=d;break fa}d=F[a+12>>2];if(d){break ga}d=F[a+4>>2];F[a+12>>2]=d;e=a+12|0}d=bb(d,f<<16>>16,72);F[e>>2]=d}if(!c|!(f&65535)){break fa}d=bb(d,c,f<<16>>16)}F[a+8>>2]=d;a=ad(b,11043);c=ad(b,11171);if(!(!a|!G[a+4|0]|(!c|!G[c+4|0]))){u=b,v=nc(p,F[c+8>>2],g+4|0),F[u+176>>2]=v;if(F[g+4>>2]){break b}u=b,v=nc(p,F[a+8>>2],g+4|0),F[u+180>>2]=v}if(F[g+4>>2]){break b}d=0;break a}F[g+4>>2]=c}d=3}Ga=g+32|0;return d}function Tz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=Ga-32|0;Ga=l;a:{if(!b){n=1;if(!F[e>>2]|(!e|!f)){break a}F[e>>2]=0;break a}h=b;j=G[h+1|0];b=G[h|0];b:{if((b|0)==120){m=h;i=0;if((j|0)==45){break b}}g=h+1|0;m=0;c:{if(!j){break c}n=h;while(1){i=g;d:{if((b&255)!=45|G[n+2|0]!=45){break d}k=k?k:n;if((j|0)!=120){break d}m=i;break c}g=i+1|0;j=G[i+1|0];if(!j){break c}b=G[i|0];n=i;continue}}i=k?k:g}n=vm(m,c,d,105153,783)^1;b=vm(m,e,f,105278,784);if(!f|!e|(!F[e>>2]|b)){break a}F[l+24>>2]=h;b=h;e:{f:{g:{while(1){g=zb(b,105712);if(!g|g>>>0>=i>>>0){break g}b=g+8|0;g=G[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}F[f>>2]=1095782472;break f}b=h;h:{while(1){g=zb(b,105858);if(!g|g>>>0>=i>>>0){break h}b=g+8|0;g=G[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}F[f>>2]=1346851360;break f}b=h;i:{while(1){g=zb(b,106041);if(!g|g>>>0>=i>>>0){break i}b=g+8|0;g=G[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}F[f>>2]=1213809952;break f}b=h;j:{while(1){g=zb(b,106263);if(!g|g>>>0>=i>>>0){break j}b=g+8|0;g=G[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}F[f>>2]=1347571488;break f}b=h;k:{while(1){g=zb(b,106288);if(!g|g>>>0>=i>>>0){break k}b=g+7|0;g=G[g+7|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}F[f>>2]=1230000200;break f}b=h;l:{while(1){g=zb(b,106311);if(!g|g>>>0>=i>>>0){break l}b=g+5|0;g=G[g+5|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}F[f>>2]=1262961952;break f}if(rb(h,i,106340)){F[f>>2]=1398362693;break f}if(rb(h,i,106360)){F[f>>2]=1398362698;break f}if(rb(h,i,106366)){F[f>>2]=1398362702;break f}m:{n:{switch(D[h|0]-97|0){case 0:b=1;if(ab(h+1|0,106392)){break m}F[f>>2]=1245859616;break e;case 2:b=1;g=h+1|0;if(jb(g,106445)){F[f>>2]=1514686496;break e}if(jb(g,106456)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,106501)){F[f>>2]=1514686496;break e}if(jb(g,106527)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163048)){F[f>>2]=1514686496;break e}if(jb(g,163059)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,106075)){F[f>>2]=1514686496;break e}if(jb(g,106109)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163070)){F[f>>2]=1514686496;break e}if(jb(g,163081)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163092)){F[f>>2]=1514686496;break e}if(jb(g,163103)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,124948)){F[f>>2]=1514686496;break e}if(jb(g,163114)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163125)){F[f>>2]=1514686496;break e}if(jb(g,163136)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,106178)){F[f>>2]=1514689312;break e}if(jb(g,106202)){F[f>>2]=1514689568;break e}if(jb(g,106221)){F[f>>2]=1514689312;break e}if(jb(g,163147)){F[f>>2]=1514689568;break e}if(jb(g,163155)){F[f>>2]=1514689312;break e}if(jb(g,163163)){F[f>>2]=1514689568;break e}if(jb(g,163171)){F[f>>2]=1514689312;break e}if(jb(g,163179)){F[f>>2]=1514689568;break e}if(jb(g,163187)){F[f>>2]=1514689312;break e}if(jb(g,163195)){F[f>>2]=1514689568;break e}if(jb(g,163203)){F[f>>2]=1514689312;break e}if(jb(g,163211)){F[f>>2]=1514689568;break e}if(jb(g,163219)){F[f>>2]=1514689312;break e}if(jb(g,163227)){F[f>>2]=1514689568;break e}if(jb(g,163235)){F[f>>2]=1514689312;break e}if(jb(g,163243)){F[f>>2]=1514689568;break e}o:{if(cb(g,163251,3)){break o}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break o}F[f>>2]=1514689568;break e}p:{if(cb(g,163267,3)){break p}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break p}F[f>>2]=1514689568;break e}q:{if(cb(g,163271,3)){break q}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break q}F[f>>2]=1514689568;break e}r:{if(cb(g,163275,3)){break r}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break r}F[f>>2]=1514689568;break e}s:{if(cb(g,163279,3)){break s}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break s}F[f>>2]=1514689568;break e}t:{if(cb(g,163283,3)){break t}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break t}F[f>>2]=1514689568;break e}u:{if(cb(g,163287,3)){break u}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break u}F[f>>2]=1514689568;break e}if(cb(g,163291,3)){break m}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break m}F[f>>2]=1514689568;break e;case 6:b=1;g=h+1|0;if(jb(g,163295)){F[f>>2]=1514686496;break e}if(jb(g,163306)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163317)){F[f>>2]=1514689312;break e}if(jb(g,163325)){F[f>>2]=1514689568;break e}if(jb(g,163333)){F[f>>2]=1230132256;break e}if(cb(g,163340,3)){break m}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break m}F[f>>2]=1514689568;break e;case 7:b=1;g=h+1|0;if(jb(g,163344)){F[f>>2]=1514686496;break e}if(jb(g,163355)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163366)){F[f>>2]=1514686496;break e}if(jb(g,163377)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163388)){F[f>>2]=1514689312;break e}if(jb(g,163396)){F[f>>2]=1514689568;break e}if(jb(g,163404)){F[f>>2]=1514689312;break e}if(jb(g,163412)){F[f>>2]=1514689568;break e}v:{if(cb(g,163420,3)){break v}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break v}F[f>>2]=1514689568;break e}if(cb(g,163424,3)){break m}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break m}F[f>>2]=1514689568;break e;case 8:b=1;g=h+1|0;if(!ab(g,163428)){F[f>>2]=1312904736;if(I[e>>2]<2){break e}F[f+4>>2]=1096042528;b=2;break e}if(!ab(g,163436)){F[f>>2]=1514689312;break e}if(ab(g,163441)){break m}F[f>>2]=1280596512;break e;case 11:b=1;if(!jb(h+1|0,163219)){break m}F[f>>2]=1514689312;break e;case 12:b=1;g=h+1|0;if(jb(g,106075)){F[f>>2]=1514686496;break e}if(jb(g,106109)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163171)){F[f>>2]=1514689312;break e}if(jb(g,163179)){F[f>>2]=1514689568;break e}w:{if(cb(g,163275,3)){break w}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break w}F[f>>2]=1514689568;break e}if(cb(g,163446,3)){break m}if(!rb(h,i,163450)){break m}F[f>>2]=1297043028;break e;case 13:b=1;g=h+1|0;if(jb(g,163295)){F[f>>2]=1514686496;break e}if(jb(g,163306)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163317)){F[f>>2]=1514689312;break e}if(jb(g,163325)){F[f>>2]=1514689568;break e}x:{if(cb(g,163340,3)){break x}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break x}F[f>>2]=1514689568;break e}if(!ab(g,163454)){F[f>>2]=1313821216;break e}if(ab(g,163460)){break m}F[f>>2]=1314475552;break e;case 17:if(cb(h+1|0,163466,2)){break m}if(!rb(h,i,163469)){break m}F[f>>2]=1297042464;b=1;if(I[e>>2]<2){break e}F[f+4>>2]=1380928800;b=2;break e;case 22:b=1;g=h+1|0;if(jb(g,163473)){F[f>>2]=1514686496;break e}if(jb(g,163484)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(jb(g,163495)){F[f>>2]=1514689312;break e}if(jb(g,163503)){F[f>>2]=1514689568;break e}if(cb(g,163511,3)){break m}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break m}F[f>>2]=1514689568;break e;case 24:b=1;if(!jb(h+1|0,163515)){break m}F[f>>2]=1514689312;break e;case 25:break n;default:break m}}b=1;g=h+1|0;if(jb(g,163523)){F[f>>2]=1514686496;break e}if(jb(g,163533)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!ab(g,163543)){F[f>>2]=1514689312;break e}if(jb(g,163553)){F[f>>2]=1514689312;break e}if(jb(g,163560)){F[f>>2]=1514689568;break e}if(!ab(g,163567)){F[f>>2]=1514689312;break e}if(cb(g,163573,2)){break m}if(rb(h,i,163255)){F[f>>2]=1514686496;break e}if(rb(h,i,163259)){F[f>>2]=1514689613;if(I[e>>2]<2){break e}F[f+4>>2]=1514686496;b=2;break e}if(!rb(h,i,163263)){break m}F[f>>2]=1514689568;break e}g=oc(h,45);y:{if(!g|(i-h|0)<6){break y}b=g+1|0;h=oc(b,45);z:{if(h){h=h+(g^-1)|0;break z}h=hb(b)}if((h|0)!=3|((G[b|0]&223)-65&255)>>>0>25){break y}F[l+24>>2]=b}F[l+12>>2]=1409;F[l+16>>2]=0;F[l+8>>2]=151776;b=F[l+12>>2];A:{if((b|0)<=0){F[l+28>>2]=0;b=0;break A}h=b-1|0;p=F[l+8>>2];i=F[l+24>>2];b=oc(i,45);if(b){o=b-i|0;b=0;while(1){m=b+h>>>1|0;j=p+(m<<3)|0;k=oc(j,45);B:{if(k){k=k-j|0;break B}k=hb(j)}j=cb(i,j,k>>>0>>0?o:k);C:{if((j|0)<0){h=m-1|0;break C}if(!j){F[l+28>>2]=m;b=1;break A}b=m+1|0}if((b|0)<=(h|0)){continue}break}F[l+28>>2]=b;b=0;break A}o=hb(i);b=0;while(1){m=b+h>>>1|0;j=p+(m<<3)|0;k=oc(j,45);D:{if(k){k=k-j|0;break D}k=hb(j)}j=cb(i,j,k>>>0>>0?o:k);E:{if((j|0)>=0){if(!j){F[l+28>>2]=m;b=1;break A}b=m+1|0;break E}h=m-1|0}if((b|0)<=(h|0)){continue}break}F[l+28>>2]=b;b=0}if(b){b=F[l+28>>2];while(1){h=b;if(h){b=h-1|0;if(!ab((h<<3)+151776|0,(b<<3)+151776|0)){continue}}break}if(!F[e>>2]){b=0;break e}b=0;i=1409-h|0;i=i>>>0>1409?0:i;g=(h<<3)+151776|0;while(1){if((b|0)==(i|0)){b=i;break e}m=b+h<<3;j=F[m+151780>>2];if(!j){break e}if(ab(m+151776|0,g)){break e}F[(b<<2)+f>>2]=j;b=b+1|0;if(b>>>0>2]){continue}break}break e}i=F[l+24>>2];b=0;if(!g){g=hb(i)+i|0}if((g-i|0)!=3){break e}h=Ga-16|0;Ga=h;F:{if(!i){break F}g=G[i|0];if(!g){break F}D[h+12|0]=g;g=G[i+1|0];b=1;G:{if(!g){break G}D[h+13|0]=g;i=G[i+2|0];b=2;if(!i){break G}D[h+14|0]=i;b=3}if(b>>>0<=3){Wa(b+(h+12|0)|0,32,4-b|0)}b=G[h+12|0]|G[h+13|0]<<8|(G[h+14|0]<<16|G[h+15|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}Ga=h+16|0;F[f>>2]=b&-538976257}b=1}F[e>>2]=b}if(!(!d|!c|(!n|!F[c>>2]))){b=0;H:{I:{J:{K:{L:{M:{N:{O:{P:{if((a|0)<=1298954604){if((a|0)<=1198877297){g=1651402546;if((a|0)==1113943655){break K}if((a|0)!=1147500129){break I}g=1684370994;break K}if((a|0)==1198877298){break P}if((a|0)==1198879349){break O}if((a|0)!=1265525857){break I}g=1802396722;break K}if((a|0)<=1332902240){if((a|0)==1298954605){break N}g=1836674354;if((a|0)==1299803506){break J}break I}if((a|0)==1332902241){break M}if((a|0)==1415671148){break L}if((a|0)!=1415933045){break I}g=1952803890;break K}g=1735029298;break K}g=1735750194;break K}g=1835822386;break K}g=1869773106;break K}g=1953328178}F[d>>2]=g|51;b=1;if(I[c>>2]<2){break H}}F[(b<<2)+d>>2]=g;b=b+1|0;if(b>>>0>=I[c>>2]){break H}}e=(b<<2)+d|0;Q:{R:{S:{T:{U:{if((a|0)<=1315663726){if(!a){break H}if((a|0)==1214870113){break T}if((a|0)!=1281453935){break U}d=1818324768;break Q}if((a|0)<=1500080488){if((a|0)==1315663727){break R}if((a|0)!=1449224553){break U}d=1986095392;break Q}if((a|0)==1500080489){break S}d=1835103336;if((a|0)==1517122664){break Q}}d=a|536870912;break Q}d=1801547361;break Q}d=2036932640;break Q}d=1852534560}F[e>>2]=d;b=b+1|0}F[c>>2]=b}Ga=l+32|0}function ig(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0;e=Ga-176|0;Ga=e;F[e+172>>2]=0;p=F[a+12>>2];m=F[a>>2];if(H[m+290>>1]>>0){E[m+290>>1]=c}F[a+20>>2]=b;t=65536;l=65536;if(!(D[a+16|0]&1)){g=F[F[a+4>>2]+44>>2];t=F[g+8>>2];l=F[g+4>>2]}v=F[F[m+128>>2]+52>>2];a:{b:{if(v){g=Ia[F[F[v>>2]>>2]](F[v+4>>2],b,e+120|0)|0;F[e+172>>2]=g;if(g){break a}g=F[e+124>>2];F[a+28>>2]=g;F[e+160>>2]=0;F[e+164>>2]=0;F[e+152>>2]=0;F[e+156>>2]=0;F[e+144>>2]=0;F[e+148>>2]=0;F[e+136>>2]=0;F[e+140>>2]=0;F[e+128>>2]=0;F[e+132>>2]=0;f=F[e+120>>2];h=e+128|0;F[h+32>>2]=0;F[e+136>>2]=0;F[e+132>>2]=g;F[e+128>>2]=f;F[e+148>>2]=0;F[e+152>>2]=0;F[a+24>>2]=h;g=0;break b}g=ag(m,b,a+28|0)}f=F[a+28>>2];c:{if((f|0)>0){h=F[m+728>>2];if(!(h|F[F[m+128>>2]+52>>2])){F[e+172>>2]=8;break c}f=Ia[F[m+520>>2]](a,b,g+h|0,f)|0;F[e+172>>2]=f;if(f){break c}C=e,J=Ia[F[m+528>>2]](a)|0,F[C+172>>2]=J;Ia[F[m+524>>2]](a);if(F[e+172>>2]){break c}f=F[a+28>>2]}if(!(H[a+32>>1]?f:0)){F[a+36>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+48>>2]=0}f=F[a>>2];h=F[a+24>>2];E[e+80>>1]=0;E[e>>1]=0;E[e+40>>1]=0;E[e+64>>1]=0;j=F[h+8>>2];Ia[F[F[f+540>>2]+140>>2]](f,0,b,e+80|0,e+40|0);d:{if(G[f+292|0]){Ia[F[F[f+540>>2]+140>>2]](f,1,b,e,e- -64|0);break d}i=F[a+48>>2];if(H[f+372>>1]!=65535){k=E[f+442>>1];E[e>>1]=k-i;i=k-E[f+444>>1]|0;f=i>>31;E[e+64>>1]=(f^i)-f;break d}k=E[f+220>>1];E[e>>1]=k-i;i=k-E[f+222>>1]|0;f=i>>31;E[e+64>>1]=(f^i)-f}f=Za(h,j);if(f){F[e+172>>2]=f;break c}h=E[e+80>>1];F[a+52>>2]=h;f=H[e+40>>1];F[a+56>>2]=f;j=E[e>>1];F[a+172>>2]=j;k=H[e+64>>1];F[a+176>>2]=k;if(!G[a+64|0]){F[a+60>>2]=f;D[a+64|0]=1}F[e+172>>2]=0;if(d){break c}d=F[a+28>>2];if(!(H[a+32>>1]?d:0)){g=F[a>>2];c=0;e:{if(F[F[g+96>>2]+64>>2]!=40){break e}d=F[a+156>>2];c=0;if(!d){break e}c=G[d+613|0]!=0&G[d+618|0]!=0}F[a+80>>2]=0;F[a+72>>2]=0;c=c?f>>>1|0:0;F[a+188>>2]=c;d=j+F[a+48>>2]|0;F[a+184>>2]=d;F[a+180>>2]=c;c=F[a+36>>2]-h|0;F[a+68>>2]=c;F[a+192>>2]=d-k;F[a+76>>2]=c+f;c=F[F[g+128>>2]+52>>2];f:{if(!c){break f}d=F[F[c>>2]+8>>2];if(!d){break f}F[e+92>>2]=0;F[e+88>>2]=f;F[e+84>>2]=0;F[e+80>>2]=h;if(Ia[d|0](F[c+4>>2],b,0,e+80|0)|0){break f}d=E[e+80>>1];c=H[e+88>>1];F[a+172>>2]=0;F[a+176>>2]=0;F[a+56>>2]=c;F[a+52>>2]=d;if(G[a+64|0]){break f}F[a+60>>2]=c;D[a+64|0]=1}g:{if(!(G[m+9|0]&128?1:H[m+6>>1]&32767)){break g}F[e+76>>2]=16843009;F[e+64>>2]=65536;F[e+68>>2]=196610;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;F[e+80>>2]=F[a+68>>2];F[e+84>>2]=F[a+72>>2];F[e+88>>2]=F[a+76>>2];F[e+92>>2]=F[a+80>>2];F[e+96>>2]=F[a+180>>2];F[e+100>>2]=F[a+184>>2];F[e+104>>2]=F[a+188>>2];F[e+108>>2]=F[a+192>>2];F[e+40>>2]=262148;F[e+52>>2]=e- -64;F[e+48>>2]=e+76;F[e+44>>2]=e+80;b=$f(F[a>>2],b,e+40|0,e,4);F[e+172>>2]=b;if(b){break c}F[a+68>>2]=F[e+80>>2];F[a+72>>2]=F[e+84>>2];F[a+76>>2]=F[e+88>>2];F[a+80>>2]=F[e+92>>2];F[a+180>>2]=F[e+96>>2];F[a+184>>2]=F[e+100>>2];F[a+188>>2]=F[e+104>>2];F[a+192>>2]=F[e+108>>2];b=F[F[a>>2]+740>>2];if(!(b&2)){F[a+60>>2]=((F[e+8>>2]-F[e>>2]|0)+32&-64)/64}if(b&16){break g}F[a+176>>2]=((F[e+24>>2]-F[e+16>>2]|0)+32&-64)/64}if(!(D[a+16|0]&1)){C=a,J=Ua(F[a+68>>2],l),F[C+68>>2]=J;C=a,J=Ua(F[a+76>>2],l),F[C+76>>2]=J;C=a,J=Ua(F[a+180>>2],l),F[C+180>>2]=J;C=a,J=Ua(F[a+184>>2],t),F[C+184>>2]=J;C=a,J=Ua(F[a+188>>2],l),F[C+188>>2]=J;C=a,J=Ua(F[a+192>>2],t),F[C+192>>2]=J}F[e+172>>2]=0;break c}n=F[a>>2];i=0;h:{if(F[F[n+96>>2]+64>>2]!=40){break h}o=F[a+156>>2];i=0;if(!o){break h}i=G[o+613|0]!=0&G[o+618|0]!=0}F[a+80>>2]=0;F[a+72>>2]=0;i=i?f>>>1|0:0;F[a+188>>2]=i;j=j+F[a+48>>2]|0;F[a+184>>2]=j;F[a+180>>2]=i;i=F[a+36>>2]-h|0;F[a+68>>2]=i;F[a+192>>2]=j-k;F[a+76>>2]=f+i;i=F[F[n+128>>2]+52>>2];i:{if(!i){break i}j=F[F[i>>2]+8>>2];if(!j){break i}F[e+92>>2]=0;F[e+88>>2]=f;F[e+84>>2]=0;F[e+80>>2]=h;j:{if(Ia[j|0](F[i+4>>2],b,0,e+80|0)|0){break j}f=E[e+80>>1];d=H[e+88>>1];F[a+172>>2]=0;F[a+176>>2]=0;F[a+56>>2]=d;F[a+52>>2]=f;if(G[a+64|0]){break j}F[a+60>>2]=d;D[a+64|0]=1}d=F[a+28>>2]}d=Ia[F[m+520>>2]](a,b,(g+F[m+728>>2]|0)+10|0,d-10|0)|0;F[e+172>>2]=d;if(d){break c}k:{d=E[a+32>>1];if((d|0)>0){b=Ia[F[m+532>>2]](a)|0;F[e+172>>2]=b;if(b){break k}Ia[F[m+524>>2]](a);b=0;j=Ga-16|0;Ga=j;f=F[a+12>>2];F[j+12>>2]=0;d=F[F[a>>2]+100>>2];g=F[a+72>>2];i=E[f+58>>1];c=F[f+60>>2]+(i<<3)|0;F[c>>2]=F[a+68>>2];F[c+4>>2]=g;g=F[a+80>>2];k=i+1|0;c=F[f+60>>2]+(k<<3)|0;F[c>>2]=F[a+76>>2];F[c+4>>2]=g;g=F[a+184>>2];o=i+2|0;c=F[f+60>>2]+(o<<3)|0;F[c>>2]=F[a+180>>2];F[c+4>>2]=g;g=F[a+192>>2];n=i+3|0;c=F[f+60>>2]+(n<<3)|0;F[c>>2]=F[a+188>>2];F[c+4>>2]=g;c=f- -64|0;D[i+F[c>>2]|0]=0;D[k+F[c>>2]|0]=0;D[o+F[c>>2]|0]=0;D[n+F[c>>2]|0]=0;c=i+4|0;g=F[a>>2];l:{if(G[g+9|0]&128?1:H[g+6>>1]&32767){b=Va(d,8,0,c,0,j+12|0);if(F[j+12>>2]){break l}g=$f(F[a>>2],F[a+20>>2],f+56|0,b,c);F[j+12>>2]=g;h=F[F[a>>2]+740>>2];if(!(h&2)){F[a+60>>2]=((F[(k<<3)+b>>2]-F[(i<<3)+b>>2]|0)+32&-64)/64}if(!(h&16)){F[a+176>>2]=((F[(n<<3)+b>>2]-F[(o<<3)+b>>2]|0)+32&-64)/64}if(g){break l}}g=F[a+16>>2];if(!(g&2)){g=H[f+58>>1];E[a+128>>1]=g;E[a+130>>1]=H[f+56>>1];F[a+132>>2]=F[f+76>>2];h=F[f+60>>2];F[a+136>>2]=h;l=F[f+80>>2];F[a+140>>2]=l;F[a+144>>2]=F[f+64>>2];q=F[f+68>>2];E[a+152>>1]=0;F[a+148>>2]=q;Ya(l,h,(g<<3)+32|0);g=F[a+16>>2]}l=0;h=0;m:{if(g&1){break m}g=F[f+60>>2];q=g+(c<<3)|0;c=F[F[a+4>>2]+44>>2];l=F[c+8>>2];h=F[c+4>>2];c=F[a>>2];if(!(H[c+6>>1]&32767|G[c+9|0]&128)){if((i|0)<=-4){break m}while(1){C=g,J=Ua(F[g>>2],h),F[C>>2]=J;C=g,J=Ua(F[g+4>>2],l),F[C+4>>2]=J;g=g+8|0;if(q>>>0>g>>>0){continue}break}break m}if((i|0)<-3){break m}c=b;while(1){C=g,J=Ua(F[c>>2],h)+32>>6,F[C>>2]=J;C=g,J=Ua(F[c+4>>2],l)+32>>6,F[C+4>>2]=J;c=c+8|0;g=g+8|0;if(q>>>0>g>>>0){continue}break}}g=F[a>>2];n:{if(!(!(G[g+740|0]&2)|G[a+16|0]&2)){C=a,J=Ua(F[a+68>>2],h),F[C+68>>2]=J;C=a,J=Ua(F[a+76>>2],h),F[C+76>>2]=J;g=F[a>>2];break n}c=F[f+60>>2]+(i<<3)|0;i=F[c+4>>2];F[a+68>>2]=F[c>>2];F[a+72>>2]=i;c=F[f+60>>2]+(k<<3)|0;i=F[c+4>>2];F[a+76>>2]=F[c>>2];F[a+80>>2]=i}o:{if(!(!(G[g+740|0]&16)|G[a+16|0]&2)){C=a,J=Ua(F[a+180>>2],h),F[C+180>>2]=J;C=a,J=Ua(F[a+184>>2],l),F[C+184>>2]=J;C=a,J=Ua(F[a+188>>2],h),F[C+188>>2]=J;C=a,J=Ua(F[a+192>>2],l),F[C+192>>2]=J;break o}c=F[f+60>>2]+(o<<3)|0;g=F[c+4>>2];F[a+180>>2]=F[c>>2];F[a+184>>2]=g;c=F[f+60>>2]+(n<<3)|0;g=F[c+4>>2];F[a+188>>2]=F[c>>2];F[a+192>>2]=g}if(G[a+16|0]&2){break l}E[a+128>>1]=H[a+128>>1]+4;C=j,J=sj(a,0),F[C+12>>2]=J}if(b){Ia[F[d+8>>2]](d,b)}Ga=j+16|0;a=F[j+12>>2];F[e+172>>2]=a;if(a){break c}re(p);break c}if((d|0)>=0){break k}n=F[m+100>>2];E[a+32>>1]=65535;f=a+204|0;p:{q:{d=F[a+204>>2];r:{if(d){g=c;while(1){if(!g){g=d;while(1){F[g+8>>2]=-1;g=F[g+4>>2];if(g){continue}break}if(Ig(f,b)){break r}F[d+8>>2]=b;break p}g=g-1|0;d=F[d+4>>2];if(d){continue}break}}if(!Ig(f,b)){break q}}F[e+172>>2]=21;break k}d=gb(n,12,e+172|0);if(F[e+172>>2]){break k}F[d+8>>2]=b;if(!(!f|!d)){g=F[f+4>>2];F[d>>2]=g;F[d+4>>2]=0;F[(g?g+4|0:f)>>2]=d;F[f+4>>2]=d}}j=E[p+22>>1];w=E[p+20>>1];d=Ia[F[m+536>>2]](a)|0;F[e+172>>2]=d;if(d){break k}z=F[a+164>>2];Ia[F[m+524>>2]](a);if(G[m+9|0]&128?1:H[m+6>>1]&32767){s=F[p+84>>2];d=s+4|0;E[e+80>>1]=d;E[e+82>>1]=d;f=0;q=d<<16>>16;i=Va(n,8,0,q,0,e+172|0);h=0;g=0;d=0;s:{if(F[e+172>>2]){break s}k=Va(n,1,0,q,0,e+172|0);d=0;if(F[e+172>>2]){break s}o=Va(n,2,0,q,0,e+172|0);d=0;if(F[e+172>>2]){break s}g=Va(n,8,0,q,0,e+172|0);d=0;if(F[e+172>>2]){break s}s=s<<16;u=s>>16;if((s|0)>0){d=F[p+88>>2];while(1){r=i+(f<<3)|0;F[r>>2]=F[d+8>>2];F[r+4>>2]=F[d+12>>2];D[f+k|0]=1;E[o+(f<<1)>>1]=h;d=d+32|0;h=h+1|0;f=h<<16>>16;if((u|0)>(f|0)){continue}break}}d=i+(f<<3)|0;F[d>>2]=F[a+68>>2];F[d+4>>2]=F[a+72>>2];D[f+k|0]=1;E[o+(f<<1)>>1]=h;f=h+1|0;d=f<<16>>16;r=i+(d<<3)|0;F[r>>2]=F[a+76>>2];F[r+4>>2]=F[a+80>>2];D[d+k|0]=1;E[o+(d<<1)>>1]=f;f=h+2|0;d=f<<16>>16;r=i+(d<<3)|0;F[r>>2]=F[a+180>>2];F[r+4>>2]=F[a+184>>2];D[d+k|0]=1;E[o+(d<<1)>>1]=f;f=h+3|0;d=f<<16>>16;h=i+(d<<3)|0;F[h>>2]=F[a+188>>2];F[h+4>>2]=F[a+192>>2];D[d+k|0]=1;E[o+(d<<1)>>1]=f;F[e+92>>2]=o;F[e+88>>2]=k;F[e+84>>2]=i;b=$f(m,b,e+80|0,g,q);F[e+172>>2]=b;t:{if(b){break t}u:{if((s|0)<=0){d=0;break u}b=F[p+88>>2];d=0;f=0;while(1){if(G[b+4|0]&2){d=i+(d<<3)|0;F[b+8>>2]=E[d>>1];F[b+12>>2]=E[d+4>>1]}b=b+32|0;f=f+1|0;d=f<<16>>16;if((u|0)>(d|0)){continue}break}}b=i+(d<<3)|0;F[a+68>>2]=F[b>>2];F[a+72>>2]=F[b+4>>2];F[a+76>>2]=F[b+8>>2];F[a+80>>2]=F[b+12>>2];F[a+180>>2]=F[b+16>>2];F[a+184>>2]=F[b+20>>2];F[a+188>>2]=F[b+24>>2];F[a+192>>2]=F[b+28>>2];b=F[m+740>>2];if(!(b&2)){d=(q<<3)+g|0;F[a+60>>2]=((F[d-24>>2]-F[d-32>>2]|0)+32&-64)/64}if(b&16){break t}b=(q<<3)+g|0;F[a+176>>2]=((F[b-8>>2]-F[b-16>>2]|0)+32&-64)/64}f=o;h=i;d=k}if(h){Ia[F[n+8>>2]](n,h)}if(d){Ia[F[n+8>>2]](n,d)}if(f){Ia[F[n+8>>2]](n,f)}if(g){Ia[F[n+8>>2]](n,g)}if(F[e+172>>2]){break c}}b=F[a+16>>2];if(!(b&1)){C=a,J=Ua(F[a+68>>2],l),F[C+68>>2]=J;C=a,J=Ua(F[a+76>>2],l),F[C+76>>2]=J;C=a,J=Ua(F[a+180>>2],l),F[C+180>>2]=J;C=a,J=Ua(F[a+184>>2],t),F[C+184>>2]=J;C=a,J=Ua(F[a+188>>2],l),F[C+188>>2]=J;C=a,J=Ua(F[a+192>>2],t),F[C+192>>2]=J;b=F[a+16>>2]}if(b&1024){re(p);F[F[a+8>>2]+72>>2]=1668246896;break c}n=F[p+48>>2];o=F[p+84>>2];q=F[a+28>>2];t=F[a+24>>2];re(p);v:{if(!o){g=0;b=j;break v}s=c+1|0;b=0;while(1){c=E[p+22>>1];d=F[a+176>>2];f=F[a+60>>2];h=F[a+188>>2];i=F[a+192>>2];k=F[a+180>>2];l=F[a+184>>2];u=F[a+76>>2];r=F[a+80>>2];A=F[a+68>>2];B=F[a+72>>2];x=b<<5;g=n<<5;y=ig(a,F[x+(g+F[p+52>>2]|0)>>2],s,0);F[e+172>>2]=y;if(y){break c}g=x+(g+F[p+52>>2]|0)|0;if(!(G[g+5|0]&2)){F[a+188>>2]=h;F[a+192>>2]=i;F[a+180>>2]=k;F[a+184>>2]=l;F[a+76>>2]=u;F[a+80>>2]=r;F[a+68>>2]=A;F[a+72>>2]=B;F[a+176>>2]=d;F[a+60>>2]=f}u=H[p+22>>1];if((u|0)!=(c&65535)){l=0;i=Ga-32|0;Ga=i;k=F[a+12>>2];F[i+12>>2]=F[k+24>>2]+(c<<3);E[i+10>>1]=H[k+22>>1]-c;h=H[g+4>>1];r=h&200;if(r){Pc(i+8|0,g+16|0);h=H[g+4>>1]}f=F[g+12>>2];d=F[g+8>>2];w:{x:{if(!(h&2)){l=21;d=d+j|0;if(d>>>0>=c>>>0){break w}c=c+f|0;if(c>>>0>=E[k+22>>1]>>>0){break w}f=d<<3;d=F[k+24>>2];h=f+d|0;c=d+(c<<3)|0;f=F[h+4>>2]-F[c+4>>2]|0;d=F[h>>2]-F[c>>2]|0;break x}if(!(d|f)){break w}if(!(!r|!(h&2048))){c=Qg(F[g+16>>2],F[g+20>>2]);h=Qg(F[g+28>>2],F[g+24>>2]);d=Ua(d,c);f=Ua(f,h)}if(D[a+16|0]&1){break x}c=F[F[a+4>>2]+44>>2];h=F[c+8>>2];d=Ua(d,F[c+4>>2]);f=Ua(f,h);if(!(G[g+4|0]&4)|G[a+16|0]&2){break x}d=F[F[F[a>>2]+96>>2]+64>>2]==35?d+32&-64:d;f=f+32&-64}l=0;if(!(d|f)){break w}Vb(i+8|0,d,f)}Ga=i+32|0;F[e+172>>2]=l;if(l){break c}}b=b+1|0;if((o|0)!=(b|0)){continue}break}b=u<<16>>16}F[a+164>>2]=z;F[a+28>>2]=q;F[a+24>>2]=t;if(!(!g|G[a+16|0]&2|(!(D[g+5|0]&1)|b>>>0<=j>>>0))){g=Ga-16|0;Ga=g;b=F[a+12>>2];d=E[b+22>>1];c=d+4|0;y:{if(!(!c|I[b+4>>2]>=E[b+58>>1]+(c+d|0)>>>0)){d=Ub(b,c,0);if(d){break y}d=E[b+22>>1]}c=F[b+24>>2]+(d<<3)|0;d=F[a+72>>2];F[c>>2]=F[a+68>>2];F[c+4>>2]=d;d=F[a+80>>2];c=F[b+24>>2]+(E[b+22>>1]<<3)|0;F[c+8>>2]=F[a+76>>2];F[c+12>>2]=d;d=F[a+184>>2];c=F[b+24>>2]+(E[b+22>>1]<<3)|0;F[c+16>>2]=F[a+180>>2];F[c+20>>2]=d;d=F[a+192>>2];c=F[b+24>>2]+(E[b+22>>1]<<3)|0;F[c+24>>2]=F[a+188>>2];F[c+28>>2]=d;D[F[b+28>>2]+E[b+22>>1]|0]=0;D[(E[b+22>>1]+F[b+28>>2]|0)+1|0]=0;D[(E[b+22>>1]+F[b+28>>2]|0)+2|0]=0;D[(E[b+22>>1]+F[b+28>>2]|0)+3|0]=0;c=F[a+24>>2];d=Za(c,F[a+164>>2]);F[g+12>>2]=d;if(d){break y}b=fb(c,g+12|0);d=F[g+12>>2];if(d){break y}z:{if(b>>>0>H[F[a>>2]+286>>1]){d=22;if((b|0)>F[a+28>>2]){break y}d=F[a+156>>2];F[g+8>>2]=F[d+392>>2];d=tj(F[d+8>>2],g+8|0,d+396|0,b);F[g+12>>2]=d;h=F[a+156>>2];F[h+392>>2]=H[g+8>>1];if(!d){break z}break y}if(!b){d=0;break y}h=F[a+156>>2]}d=Gb(c,F[h+396>>2],b);F[g+12>>2]=d;if(d){break y}c=F[F[a+156>>2]+396>>2];d=F[a+8>>2];F[d+140>>2]=b;F[d+136>>2]=c;b=F[a+12>>2];f=H[b+22>>1];E[a+128>>1]=f-j;E[a+130>>1]=H[b+20>>1]-w;c=j<<3;F[a+132>>2]=c+F[b+40>>2];F[a+136>>2]=c+F[b+24>>2];F[a+140>>2]=c+F[b+44>>2];d=F[b+28>>2]+j|0;F[a+144>>2]=d;b=F[b+32>>2];E[a+152>>1]=j;c=1;F[a+148>>2]=b+(w<<1);if((f|0)!=(j&65535)){D[d|0]=G[d|0]&231;d=H[a+128>>1];if(d>>>0>=2){while(1){b=F[a+144>>2]+c|0;D[b|0]=G[b|0]&231;c=c+1|0;d=H[a+128>>1];if(c>>>0>>0){continue}break}}b=d+4|0}else{b=4}E[a+128>>1]=b;d=sj(a,1)}Ga=g+16|0;F[e+172>>2]=d;if(d){break c}}if(!F[p+48>>2]|!(G[F[p+52>>2]+5|0]&4)){break c}F[p+36>>2]=F[p+36>>2]|64;break c}Ia[F[m+524>>2]](a)}if(!v){break a}a=F[F[m+128>>2]+52>>2];Ia[F[F[a>>2]+4>>2]](F[a+4>>2],e+120|0)}Ga=e+176|0;return F[e+172>>2]}function gq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Ga-304|0;Ga=g;a:{b:{switch(G[a+3|0]){case 0:F[g+4>>2]=0;F[g+8>>2]=0;D[g|0]=0;c=F[b+12>>2];F[g+292>>2]=F[b+16>>2];F[g+288>>2]=a+8;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[g+296>>2]=a;a=0;h=g+288|0;c=F[h+4>>2];F[c+64>>2]=0;c:{if(!G[c+60|0]){break c}while(1){i=I[c+68>>2]<=r>>>0;d=0;d:{if(i){break d}b=F[F[c+80>>2]+L(r,20)>>2];d=2;if((b|0)==65535){break d}e=F[h>>2];d=G[e+2|0]|G[e+3|0]<<8;j=b;f=((d<<8|d>>>8)&65535)+e|0;b=G[f|0]|G[f+1|0]<<8;e=j-((b<<8|b>>>8)&65535)|0;b=G[f+2|0]|G[f+3|0]<<8;d=1;if(e>>>0>=((b<<8|b>>>8)&65535)>>>0){break d}d=G[(e+f|0)+4|0]}f=F[h>>2];m=G[f|0]|G[f+1|0]<<8;n=(m<<8|m>>>8)&65535;o=n>>>0>d>>>0;e=L(a,n);b=G[f+4|0]|G[f+5|0]<<8;p=(b<<8|b>>>8)&65535;s=p+f|0;b=G[f+6|0]|G[f+7|0]<<8;q=f+((b<<8|b>>>8)&65535)|0;l=(G[((o?d:1)+e|0)+s|0]<<2)+q|0;b=G[l|0]|G[l+1|0]<<8;b=(((b<<8|b>>>8)&65535)-p|0)/(n|0)|0;k=G[l+2|0]|G[l+3|0]<<8;j=F[g+4>>2];f=F[g+8>>2];e:{f:{if(j>>>0>>0?k&3840:0){break f}if(!(!a|!(k&64?b:1))){a=q+(G[s+(o?d:1)|0]<<2)|0;d=G[a+2|0]|G[a+3|0]<<8;if(f>>>0>j>>>0?d&3840:0){break f}a=G[a|0]|G[a+1|0]<<8;if((d^k)&64|(b|0)!=((((a<<8|a>>>8)&65535)-p|0)/(n|0)|0)){break f}}if(!(G[(q+(G[s+(e+!m|0)|0]<<2)|0)+3|0]&15)|f>>>0<=j>>>0){break e}}a=G[c+61|0]?F[c+72>>2]:r;if(i|!a){break e}wb(c,3,a-1|0,r+1|0,1,1)}Hi(g,h,l);a=F[h+4>>2];c=F[a+64>>2];if((c|0)==F[a+68>>2]|!G[a+60|0]){break c}g:{if(G[l+2|0]&64){d=F[a+152>>2];F[a+152>>2]=d-1;if((d|0)>0){break g}}if(G[a+61|0]){h:{if(F[a+84>>2]==F[a+80>>2]){d=c;if(F[a+72>>2]==(c|0)){break h}}if(!$a(a,1,1)){break g}d=F[a+80>>2]+L(F[a+64>>2],20)|0;c=F[d+4>>2];e=F[a+84>>2]+L(F[a+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=c;F[e+16>>2]=F[d+16>>2];c=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=c;c=F[a+64>>2];d=F[a+72>>2]}F[a+72>>2]=d+1}F[a+64>>2]=c+1}c=F[h+4>>2];if(!G[c+60|0]){break c}r=F[c+64>>2];a=b;continue}}c=G[g|0]!=0;break a;case 1:D[g|0]=0;F[g+4>>2]=b;d=F[b+68>>2];D[g+12|0]=0;F[g+8>>2]=d;d=G[d+4|0]|G[d+5|0]<<8;e=a+8|0;F[g+20>>2]=e;F[g+16>>2]=0;D[g+13|0]=(d|0)!=0;a=G[a+16|0]|G[a+17|0]<<8;F[g+24>>2]=e+((a<<8|a>>>8)&65535);d=F[b+12>>2];F[g+292>>2]=F[b+16>>2];F[g+288>>2]=e;a=F[d+32>>2];if((a|0)==-1){a=Zb(d)}F[g+296>>2]=a;a=0;x=g+288|0;r=F[x+4>>2];F[r+64>>2]=0;i:{if(!G[r+60|0]){break i}while(1){e=F[r+68>>2];f=e>>>0<=c>>>0;b=0;j:{if(f){break j}d=F[F[r+80>>2]+L(c,20)>>2];b=2;if((d|0)==65535){break j}i=F[x>>2];b=G[i+2|0]|G[i+3|0]<<8;j=((b<<8|b>>>8)&65535)+i|0;b=G[j|0]|G[j+1|0]<<8;i=d-((b<<8|b>>>8)&65535)|0;d=G[j+2|0]|G[j+3|0]<<8;b=1;if(i>>>0>=((d<<8|d>>>8)&65535)>>>0){break j}b=G[(i+j|0)+4|0]}j=F[x>>2];o=G[j|0]|G[j+1|0]<<8;m=(o<<8|o>>>8)&65535;p=m>>>0>b>>>0;i=L(a,m);d=G[j+4|0]|G[j+5|0]<<8;s=(d<<8|d>>>8)&65535;q=s+j|0;d=G[j+6|0]|G[j+7|0]<<8;k=j+((d<<8|d>>>8)&65535)|0;t=(G[((p?b:1)+i|0)+q|0]<<3)+k|0;d=G[t|0]|G[t+1|0]<<8;d=(((d<<8|d>>>8)&65535)-s|0)/(m|0)|0;j=!G[g+12|0]&(c|0)==(e|0);k:{l:{if(!j&((G[t+4|0]|G[t+5|0]<<8)!=65535|(G[t+6|0]|G[t+7|0]<<8)!=65535)){break l}m:{if(!a){break m}e=G[t+2|0]|G[t+3|0]<<8;if(!(e&64?d:1)){break m}b=k+(G[q+(p?b:1)|0]<<3)|0;if(!j&((G[b+4|0]|G[b+5|0]<<8)!=65535|(G[b+6|0]|G[b+7|0]<<8)!=65535)){break l}a=G[b|0]|G[b+1|0]<<8;if((e^(G[b+2|0]|G[b+3|0]<<8))&64|(d|0)!=((((a<<8|a>>>8)&65535)-s|0)/(m|0)|0)){break l}}if(j){break k}a=k+(G[q+(i+!o|0)|0]<<3)|0;if((G[a+4|0]|G[a+5|0]<<8)!=65535){break l}if((G[a+6|0]|G[a+7|0]<<8)==65535){break k}}a=G[r+61|0]?F[r+72>>2]:c;if(f|!a){break k}wb(r,3,a-1|0,c+1|0,1,1)}o=0;u=F[x+4>>2];e=F[u+64>>2];n:{if(G[g+12|0]?0:(e|0)==F[u+68>>2]){break n}c=F[g+4>>2];p=F[c+24>>2];h=F[g+24>>2];s=F[g+20>>2];v=F[u+80>>2];a=F[g+16>>2];k=v+L(a,20)|0;b=G[t+4|0]|G[t+5|0]<<8;i=h+(s+((F[k>>2]+((b<<8|b>>>8)&65535)<<1)-h|0)&-2)|0;o:{if(p>>>0>i>>>0){break o}b=F[c+28>>2];if(b>>>0>>0|b-i>>>0<2){break o}b=F[c+32>>2]-2|0;F[c+32>>2]=b;if((b|0)<=0){break o}q=G[i|0]|G[i+1|0]<<8;if(!q){break o}e=e+1|0;b=F[u+68>>2];l=b>>>0>e>>>0?e:b;n=l-a|0;p:{if(n>>>0<2){break p}r=F[u+144>>2]|32;F[u+144>>2]=r;if(a>>>0>=l>>>0){break p}w=-1;b=a;j=l+(a^-1)|0;if(j>>>0>=3){f=n&-4;while(1){m=L(b,20)+v|0;e=F[m+8>>2];i=e>>>0>w>>>0?w:e;e=F[m+28>>2];i=e>>>0>i>>>0?i:e;e=F[m+48>>2];i=e>>>0>i>>>0?i:e;e=F[m+68>>2];w=e>>>0>i>>>0?i:e;b=b+4|0;o=o+4|0;if((f|0)!=(o|0)){continue}break}}i=n&3;if(i){f=0;while(1){e=F[(L(b,20)+v|0)+8>>2];w=e>>>0>w>>>0?w:e;b=b+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}b=a;if(n&1){b=L(a,20)+v|0;if(F[b+8>>2]!=(w|0)){F[u+144>>2]=r;F[b+4>>2]=F[b+4>>2]|3}b=a+1|0}if(!j){break p}while(1){e=L(b,20)+v|0;if(F[e+8>>2]!=(w|0)){r=r|32;F[u+144>>2]=r;F[e+4>>2]=F[e+4>>2]|3}e=L(b+1|0,20)+v|0;if(F[e+8>>2]!=(w|0)){r=r|32;F[u+144>>2]=r;F[e+4>>2]=F[e+4>>2]|3}b=b+2|0;if((l|0)!=(b|0)){continue}break}}b=(q<<8|q>>>8)&65535;F[k>>2]=b;if(G[g+13|0]){y=L(a,20)+v|0,z=jc(F[g+8>>2],b),E[y+12>>1]=z;c=F[g+4>>2];p=F[c+24>>2];h=F[g+24>>2];v=F[u+80>>2];s=F[g+20>>2]}D[g|0]=1}b=F[u+64>>2];a=F[u+68>>2]-1|0;e=a>>>0>b>>>0?b:a;b=L(e,20)+v|0;a=G[t+6|0]|G[t+7|0]<<8;i=(((F[b>>2]+((a<<8|a>>>8)&65535)<<1)-h|0)+s&-2)+h|0;q:{if(i>>>0

>>0){break q}a=F[c+28>>2];if(a>>>0>>0|a-i>>>0<2){break q}a=F[c+32>>2]-2|0;F[c+32>>2]=a;if((a|0)<=0){break q}a=G[i|0]|G[i+1|0]<<8;if(!a){break q}a=(a<<8|a>>>8)&65535;F[b>>2]=a;if(G[g+13|0]){y=L(e,20)+v|0,z=jc(F[g+8>>2],a),E[y+12>>1]=z}D[g|0]=1}if(!(G[t+2|0]&128)){break n}D[g+12|0]=1;F[g+16>>2]=F[u+64>>2]}a=F[x+4>>2];c=F[a+64>>2];if((c|0)==F[a+68>>2]|!G[a+60|0]){break i}r:{if(G[t+2|0]&64){b=F[a+152>>2];F[a+152>>2]=b-1;if((b|0)>0){break r}}if(G[a+61|0]){s:{if(F[a+84>>2]==F[a+80>>2]){b=c;if(F[a+72>>2]==(c|0)){break s}}if(!$a(a,1,1)){break r}c=F[a+80>>2]+L(F[a+64>>2],20)|0;b=F[c+4>>2];e=F[a+84>>2]+L(F[a+72>>2],20)|0;F[e>>2]=F[c>>2];F[e+4>>2]=b;F[e+16>>2]=F[c+16>>2];b=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=b;c=F[a+64>>2];b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=c+1}r=F[x+4>>2];if(!G[r+60|0]){break i}c=F[r+64>>2];a=d;continue}}c=G[g|0]!=0;break a;case 2:D[g|0]=0;d=a+8|0;F[g+8>>2]=d;F[g+4>>2]=b;c=G[a+16|0]|G[a+17|0]<<8;F[g+12>>2]=d+((c<<8|c>>>8)&65535);c=G[a+18|0]|G[a+19|0]<<8;F[g+16>>2]=d+((c<<8|c>>>8)&65535);a=G[a+20|0]|G[a+21|0]<<8;F[g+24>>2]=0;F[g+20>>2]=d+((a<<8|a>>>8)&65535);c=F[b+12>>2];F[g+292>>2]=F[b+16>>2];F[g+288>>2]=d;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[g+296>>2]=a;a=0;n=g+288|0;b=F[n+4>>2];F[b+72>>2]=0;F[b+64>>2]=0;D[b+61|0]=1;D[b+62|0]=0;F[b+84>>2]=F[b+80>>2];c=F[n+4>>2];F[c+64>>2]=0;t:{if(!G[c+60|0]){break t}while(1){i=I[c+68>>2]<=l>>>0;d=0;u:{if(i){break u}b=F[F[c+80>>2]+L(l,20)>>2];d=2;if((b|0)==65535){break u}e=F[n>>2];d=G[e+2|0]|G[e+3|0]<<8;j=b;f=((d<<8|d>>>8)&65535)+e|0;b=G[f|0]|G[f+1|0]<<8;e=j-((b<<8|b>>>8)&65535)|0;b=G[f+2|0]|G[f+3|0]<<8;d=1;if(e>>>0>=((b<<8|b>>>8)&65535)>>>0){break u}d=G[(e+f|0)+4|0]}f=F[n>>2];p=G[f|0]|G[f+1|0]<<8;o=(p<<8|p>>>8)&65535;s=o>>>0>d>>>0;e=L(a,o);b=G[f+4|0]|G[f+5|0]<<8;q=(b<<8|b>>>8)&65535;k=q+f|0;b=G[f+6|0]|G[f+7|0]<<8;j=f+((b<<8|b>>>8)&65535)|0;m=(G[((s?d:1)+e|0)+k|0]<<2)+j|0;b=G[m|0]|G[m+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(o|0)|0;f=G[m+2|0]|G[m+3|0]<<8;v:{w:{if(f&65343){break w}if(!(!a|!(f&64?b:1))){a=j+(G[k+(s?d:1)|0]<<2)|0;d=G[a+2|0]|G[a+3|0]<<8;if(d&65343){break w}a=G[a|0]|G[a+1|0]<<8;if((d^f)&64|(b|0)!=((((a<<8|a>>>8)&65535)-q|0)/(o|0)|0)){break w}}a=j+(G[k+(e+!p|0)|0]<<2)|0;if(!((G[a+2|0]|G[a+3|0]<<8)&65343)){break v}}a=G[c+61|0]?F[c+72>>2]:l;if(i|!a){break v}wb(c,3,a-1|0,l+1|0,1,1)}q=0;h=F[n+4>>2];a=G[m+2|0]|G[m+3|0]<<8;if(a&128){c=F[g+24>>2];x:{if(!c){f=F[h+72>>2];c=0;break x}f=F[h+72>>2];c=c-((f|0)==F[(((c-1&63)<<2)+g|0)+28>>2])|0}F[g+24>>2]=c+1;F[(((c&63)<<2)+g|0)+28>>2]=f}a=a&65343;y:{if(!a){break y}o=F[g+24>>2];if(!o|I[h+64>>2]>=I[h+68>>2]){break y}i=F[h+72>>2];c=F[g+8>>2]+((a<<8|a>>>8)&65535)|0;a=F[g+12>>2];l=(c-a&-4)+a|0;while(1){z:{if(!o){F[g+24>>2]=0;break z}o=o-1|0;e=((o&63)<<2)+g|0;if(!lc(h,F[e+28>>2])){break y}p=F[g+4>>2];f=F[p+24>>2];if(f>>>0>l>>>0){break z}s=F[p+28>>2];if(s>>>0>>0|s-l>>>0<4){break z}d=F[p+32>>2];a=d-4|0;F[p+32>>2]=a;if((a|0)<=0){break z}a=G[l|0];j=G[l+3|0]|(G[l+1|0]<<16|a<<24|G[l+2|0]<<8);k=(F[F[h+80>>2]+L(F[h+64>>2],20)>>2]+(a<<25&1073741824)|0)+(j&1073741823)|0;c=F[g+8>>2];a=F[g+16>>2];k=(k+(c-a>>>1|0)<<1)+a|0;if(k>>>0>>0|k>>>0>s>>>0|s-k>>>0<2){break z}a=d-6|0;F[p+32>>2]=a;if((a|0)<=0){break z}a=G[k|0]|G[k+1|0]<<8;q=((a<<8|a>>>8)&65535)+q|0;if(j>>>0>=1073741824){a=F[g+20>>2];q=(c+q|0)-a>>>1|0;c=(q<<1)+a|0;if(c>>>0>>0|c>>>0>s>>>0|s-c>>>0<2){break z}a=d-8|0;F[p+32>>2]=a;if((a|0)<=0){break z}a=G[c|0]|G[c+1|0]<<8;if(!$a(h,1,1)){break y}d=(a<<8|a>>>8)&65535;a=F[h+64>>2];A:{if(a>>>0>2]){k=F[h+72>>2];f=F[h+84>>2];a=F[h+80>>2]+L(a,20)|0;break A}f=F[h+84>>2];k=F[h+72>>2];a=f+L(k?k-1|0:0,20)|0}c=F[a+4>>2];f=L(k,20)+f|0;F[f>>2]=F[a>>2];F[f+4>>2]=c;F[f+16>>2]=F[a+16>>2];c=F[a+12>>2];F[f+8>>2]=F[a+8>>2];F[f+12>>2]=c;F[f>>2]=d;F[h+64>>2]=F[h+64>>2]+1;F[h+72>>2]=F[h+72>>2]+1;a=F[g+24>>2]-1|0;c=F[(((a&63)<<2)+g|0)+28>>2];if(a>>>0>o>>>0){while(1){F[g+24>>2]=a;if(!lc(h,F[(((a&63)<<2)+g|0)+28>>2])){break y}if(!$a(h,1,1)){break y}a=F[h+64>>2];B:{if(a>>>0>2]){k=F[h+80>>2]+L(a,20)|0;a=F[h+72>>2];f=F[h+84>>2];break B}f=F[h+84>>2];a=F[h+72>>2];k=f+L(a?a-1|0:0,20)|0}d=L(a,20)+f|0;a=F[k+4>>2];F[d>>2]=F[k>>2];F[d+4>>2]=a;F[d+16>>2]=F[k+16>>2];a=F[k+12>>2];F[d+8>>2]=F[k+8>>2];F[d+12>>2]=a;F[d>>2]=65535;F[h+64>>2]=F[h+64>>2]+1;F[h+72>>2]=F[h+72>>2]+1;a=F[g+24>>2]-1|0;if(o>>>0>>0){continue}break}}if(!lc(h,c+1|0)){break y}Xc(h,F[e+28>>2],F[h+72>>2])}l=l+4|0;if((j|0)>=0){continue}}break}lc(h,i)}c=F[n+4>>2];a=F[c+64>>2];if((a|0)==F[c+68>>2]|!G[c+60|0]){break t}C:{if(G[m+2|0]&64){d=F[c+152>>2];F[c+152>>2]=d-1;if((d|0)>0){break C}}if(G[c+61|0]){D:{if(F[c+84>>2]==F[c+80>>2]){d=a;if(F[c+72>>2]==(a|0)){break D}}if(!$a(c,1,1)){break C}d=F[c+80>>2]+L(F[c+64>>2],20)|0;a=F[d+4>>2];e=F[c+84>>2]+L(F[c+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=a;F[e+16>>2]=F[d+16>>2];a=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=a;a=F[c+64>>2];d=F[c+72>>2]}F[c+72>>2]=d+1}F[c+64>>2]=a+1}c=F[n+4>>2];if(!G[c+60|0]){break t}l=F[c+64>>2];a=b;continue}}mc(c);c=G[g|0]!=0;break a;case 4:c=Ii(a+8|0,b);break a;case 5:break b;default:break a}}F[g+8>>2]=0;D[g|0]=0;F[g+4>>2]=b;c=G[a+16|0]|G[a+17|0]<<8;a=a+8|0;F[g+12>>2]=((c<<8|c>>>8)&65535)+a;c=F[b+12>>2];F[g+292>>2]=F[b+16>>2];F[g+288>>2]=a;a=F[c+32>>2];if((a|0)==-1){a=Zb(c)}F[g+296>>2]=a;a=0;m=g+288|0;b=F[m+4>>2];F[b+72>>2]=0;F[b+64>>2]=0;D[b+61|0]=1;D[b+62|0]=0;F[b+84>>2]=F[b+80>>2];c=F[m+4>>2];F[c+64>>2]=0;E:{if(!G[c+60|0]){break E}while(1){i=I[c+68>>2]<=l>>>0;d=0;F:{if(i){break F}b=F[F[c+80>>2]+L(l,20)>>2];d=2;if((b|0)==65535){break F}e=F[m>>2];d=G[e+2|0]|G[e+3|0]<<8;j=b;f=((d<<8|d>>>8)&65535)+e|0;b=G[f|0]|G[f+1|0]<<8;e=j-((b<<8|b>>>8)&65535)|0;b=G[f+2|0]|G[f+3|0]<<8;d=1;if(e>>>0>=((b<<8|b>>>8)&65535)>>>0){break F}d=G[(e+f|0)+4|0]}f=F[m>>2];p=G[f|0]|G[f+1|0]<<8;o=(p<<8|p>>>8)&65535;s=o>>>0>d>>>0;e=L(a,o);b=G[f+4|0]|G[f+5|0]<<8;q=(b<<8|b>>>8)&65535;k=q+f|0;b=G[f+6|0]|G[f+7|0]<<8;j=f+((b<<8|b>>>8)&65535)|0;n=(G[((s?d:1)+e|0)+k|0]<<3)+j|0;b=G[n|0]|G[n+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(o|0)|0;f=G[n+2|0]|G[n+3|0]<<8;G:{H:{if((G[n+4|0]|G[n+5|0]<<8)!=65535|(G[n+6|0]|G[n+7|0]<<8)!=65535?f&65283:0){break H}if(!(!a|!(f&64?b:1))){a=j+(G[k+(s?d:1)|0]<<3)|0;d=G[a+2|0]|G[a+3|0]<<8;if((G[a+4|0]|G[a+5|0]<<8)!=65535|(G[a+6|0]|G[a+7|0]<<8)!=65535?d&65283:0){break H}a=G[a|0]|G[a+1|0]<<8;if((d^f)&64|(b|0)!=((((a<<8|a>>>8)&65535)-q|0)/(o|0)|0)){break H}}a=j+(G[k+(e+!p|0)|0]<<3)|0;if(!((G[a+2|0]|G[a+3|0]<<8)&65283)){break G}if((G[a+4|0]|G[a+5|0]<<8)!=65535){break H}if((G[a+6|0]|G[a+7|0]<<8)==65535){break G}}a=G[c+61|0]?F[c+72>>2]:l;if(i|!a){break G}wb(c,3,a-1|0,l+1|0,1,1)}Gi(g,m,n);c=F[m+4>>2];a=F[c+64>>2];if((a|0)==F[c+68>>2]|!G[c+60|0]){break E}I:{if(G[n+2|0]&64){d=F[c+152>>2];F[c+152>>2]=d-1;if((d|0)>0){break I}}if(G[c+61|0]){J:{if(F[c+84>>2]==F[c+80>>2]){d=a;if(F[c+72>>2]==(a|0)){break J}}if(!$a(c,1,1)){break I}d=F[c+80>>2]+L(F[c+64>>2],20)|0;a=F[d+4>>2];e=F[c+84>>2]+L(F[c+72>>2],20)|0;F[e>>2]=F[d>>2];F[e+4>>2]=a;F[e+16>>2]=F[d+16>>2];a=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=a;a=F[c+64>>2];d=F[c+72>>2]}F[c+72>>2]=d+1}F[c+64>>2]=a+1}c=F[m+4>>2];if(!G[c+60|0]){break E}l=F[c+64>>2];a=b;continue}}mc(c);c=G[g|0]!=0}Ga=g+304|0;return c|0}function ez(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=M(0),q=0,r=M(0),s=0,t=M(0),u=M(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,K=0;w=Ga-16|0;Ga=w;if(!G[246912]){F[61724]=1801810542;F[61725]=0;F[61720]=1684826471;F[61721]=0;F[61716]=1751935335;F[61717]=0;F[61712]=1668049255;F[61713]=0;F[61710]=0;F[61711]=-1;F[61708]=1818847073;F[61709]=0;D[246912]=1;F[61726]=0;F[61727]=-1;F[61722]=0;F[61723]=-1;F[61718]=0;F[61719]=-1;F[61714]=0;F[61715]=-1}if(!b){m=a;a=F[a+104>>2];a:{if(!F[a+20>>2]){o=vi(F[a>>2],F[a+4>>2],1,m,0);a=o;n=F[m+4>>2];h=Ga-48|0;Ga=h;F[h+8>>2]=0;F[h+12>>2]=0;F[h+16>>2]=0;F[h+20>>2]=0;D[h+24|0]=0;F[h+28>>2]=0;F[h+32>>2]=0;F[h>>2]=0;F[h+4>>2]=0;D[h+40|0]=0;F[h+36>>2]=65536;a=a?a:163632;if(!(!a|!F[a>>2])){F[a>>2]=F[a>>2]+1}if(!(!a|!F[a>>2])){F[a>>2]=F[a>>2]+1}b=a;F[h+32>>2]=a;b:{c:{d:{e:{f:{while(1){D[h+24|0]=j;i=F[b+12>>2];F[h+4>>2]=i;j=F[b+16>>2];F[h+8>>2]=j+i;F[h+28>>2]=0;if(j>>>0<=67108862){j=j<<6;j=j>>>0>16384?j:16384;j=j>>>0<1073741823?j:1073741823}else{j=1073741823}F[h+12>>2]=j;F[h+20>>2]=0;F[h>>2]=0;if(!i){Xa(b);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0;break b}j=ii(i,h);b=F[h+28>>2];g:{if(j){if(!b){break g}F[h+28>>2]=0;b=ii(i,h);i=F[h+28>>2];Xa(F[h+32>>2]);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0;if(!b){break c}if(!i){break f}break c}if(G[h+24|0]|!b){break e}i=Xb(a);F[h+4>>2]=i;F[h+8>>2]=i+F[a+16>>2];b=F[h+32>>2];j=1;if(i){continue}break d}break}Xa(F[h+32>>2]);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0}if(F[a+4>>2]){F[a+4>>2]=0}break b}b=F[h+32>>2]}Xa(b);F[h+32>>2]=0;F[h+4>>2]=0;F[h+8>>2]=0}Xa(a);a=163632}b=a;i=ib(1,8);h:{if(i){E[i+4>>1]=n;F[i>>2]=b;a=ib(1,212);i:{if(a){F[a+8>>2]=0;F[a>>2]=1;F[a+4>>2]=1;F[a+32>>2]=-1;F[a+20>>2]=598;F[a+16>>2]=i;F[a+12>>2]=599;F[a+36>>2]=a;F[a+48>>2]=a;break i}Xa(b);Ta(i);a=245244}F[a+24>>2]=n;break h}Xa(b);a=245244}Ga=h+48|0;Xa(o);break a}a=ib(1,212);j:{if(a){F[a+8>>2]=0;F[a>>2]=1;F[a+4>>2]=1;F[a+32>>2]=-1;F[a+20>>2]=0;F[a+16>>2]=m;F[a+12>>2]=621;F[a+36>>2]=a;F[a+48>>2]=a;break j}a=245244}}b=F[m+4>>2];if(F[a+4>>2]){F[a+24>>2]=b}b=H[m+68>>1];if(F[a+4>>2]){F[a+28>>2]=b}n=a;b=a;i=0;v=Ga-16|0;Ga=v;a=a?a:245244;j=ib(1,104);k:{if(!j){j=245688;break k}F[j+8>>2]=0;F[j>>2]=1;F[j+4>>2]=1;if(F[a+4>>2]){F[a+4>>2]=0}F[j+12>>2]=245688;if(!(!a|!F[a>>2])){F[a>>2]=F[a>>2]+1}F[j+80>>2]=245792;F[j+16>>2]=a;F[j+92>>2]=j;a=Ke(a);F[j+48>>2]=65536;F[j+52>>2]=0;F[j+20>>2]=a;F[j+24>>2]=a;F[j+40>>2]=65536;F[j+44>>2]=0}while(1){l:{a=F[61605];if(a){break l}a=Yh();Wh(a,659);Vh(a,660);Uh(a,661);Xh(a,662);Th(a,663);if(F[a+4>>2]){h=F[a+88>>2];if(h){Ia[h|0](F[a+16>>2])}F[a+88>>2]=0;F[a+160>>2]=664;F[a+16>>2]=0}if(F[a+4>>2]){h=F[a+116>>2];if(h){Ia[h|0](F[a+44>>2])}F[a+116>>2]=0;F[a+188>>2]=665;F[a+44>>2]=0}Sh(a,666);Oh(a,667);Rh(a,668);Qh(a,669);Ph(a,670);if(F[a+4>>2]){F[a+4>>2]=0}h=F[61605];a=a?a:245792;F[61605]=h?h:a;if(!h){break l}if(!a|(a|0)==245792){continue}Ie(a);continue}break}Lh(j,a,F[j+16>>2]+48|0,0);m:{if(!b){break m}a=F[b+24>>2];if(!F[j+4>>2]|a>>>0<65536){break m}b=(a>>>16|0)-1|0;a=um(F[j+16>>2],b,0,0);F[v+12>>2]=a;if(a){s=ib(a,4);if(!s){break m}}um(F[j+16>>2],b,v+12|0,s);o=F[v+12>>2];if(F[j+4>>2]){n:{if(o){q=ib(o,4);x=ib(o,4);if(!(x?q:0)){Ta(q);Ta(x);break n}Ya(x,s,o<<2)}k=F[j+16>>2];b=Kh(k+120|0);if(o){while(1){a=i<<2;l=a+q|0;r=J[a+s>>2];t=r;a=G[b+4|0]|G[b+5|0]<<8;if(a){h=b+((a<<8|a>>>8)&65535)|0}else{h=163632}a=G[b+8|0]|G[b+9|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>i>>>0?h+L(i,20)|0:163632;h=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);p=M(M(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))*M(152587890625e-16));u=t;h=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);t=M(M(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))*M(152587890625e-16));t=p<=t?p:t;u=r>=t?u:t;a=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);r=M(M(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*M(152587890625e-16));r=p>=r?p:r;u=r>=u?u:r;if(p!=u){p=M(R(M(M(M(M(u-p)/(p>u?M(p-t):M(r-p)))*M(16384))+M(.5))));o:{if(M(N(p))>2]=a;i=i+1|0;if((o|0)!=(i|0)){continue}break}}i=Ga-48|0;Ga=i;k=k+124|0;h=F[k>>2];p:{if(h){break p}y=k-76|0;while(1){a=F[y>>2];if(!a){h=163632;break p}F[i+8>>2]=0;F[i+12>>2]=0;F[i+16>>2]=0;F[i+20>>2]=0;D[i+24|0]=0;F[i+28>>2]=0;F[i+32>>2]=0;F[i>>2]=0;F[i+4>>2]=0;b=Db(a);D[i+40|0]=1;F[i+36>>2]=b;h=0;a=Ab(a,1635148146);if(!(!a|!F[a>>2])){F[a>>2]=F[a>>2]+1}b=a;F[i+32>>2]=a;q:{r:{s:{t:{u:{while(1){D[i+24|0]=h;h=F[b+12>>2];F[i+4>>2]=h;l=F[b+16>>2];F[i+8>>2]=l+h;F[i+28>>2]=0;if(l>>>0<=67108862){l=l<<6;l=l>>>0>16384?l:16384;l=l>>>0<1073741823?l:1073741823}else{l=1073741823}F[i+12>>2]=l;F[i+20>>2]=0;F[i>>2]=0;if(!h){Xa(b);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0;break q}l=Ih(h,i);b=F[i+28>>2];v:{if(l){if(!b){break v}F[i+28>>2]=0;b=Ih(h,i);h=F[i+28>>2];Xa(F[i+32>>2]);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0;if(!b){break r}if(!h){break u}break r}if(G[i+24|0]|!b){break t}l=Xb(a);F[i+4>>2]=l;F[i+8>>2]=l+F[a+16>>2];b=F[i+32>>2];h=1;if(l){continue}break s}break}Xa(F[i+32>>2]);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0}if(F[a+4>>2]){F[a+4>>2]=0}break q}b=F[i+32>>2]}Xa(b);F[i+32>>2]=0;F[i+4>>2]=0;F[i+8>>2]=0}Xa(a);a=163632}h=a;if(!a){h=163632}a=F[k>>2];F[k>>2]=a?a:h;if(!a){break p}if(!(!h|(h|0)==163632)){Xa(h)}h=F[k>>2];if(!h){continue}break}}Ga=i+48|0;a=I[h+16>>2]<8?163632:F[h+12>>2];b=G[a+6|0]|G[a+7|0]<<8;b=(b<<8|b>>>8)&65535;y=b>>>0>>0?b:o;if(y){i=a+8|0;while(1){a=(z<<2)+q|0;B=a;h=F[a>>2];a=G[i|0]|G[i+1|0]<<8;b=(a<<8|a>>>8)&65535;w:{if(b>>>0<=1){if(!a){break w}a=G[i+2|0]|G[i+3|0]<<8;b=h-((a<<8|a>>>8)<<16>>16)|0;a=G[i+4|0]|G[i+5|0]<<8;h=b+((a<<8|a>>>8)<<16>>16)|0;break w}a=G[i+2|0]|G[i+3|0]<<8;a=(a<<8|a>>>8)<<16>>16;if((a|0)>=(h|0)){b=h-a|0;a=G[i+4|0]|G[i+5|0]<<8;h=b+((a<<8|a>>>8)<<16>>16)|0;break w}a=1;b=b-1|0;x:{if(b>>>0<2){break x}while(1){k=(a<<2)+i|0;k=G[k+2|0]|G[k+3|0]<<8;if((k<<8|k>>>8)<<16>>16>=(h|0)){break x}a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}b=(a<<2)+i|0;k=G[b+2|0]|G[b+3|0]<<8;l=(k<<8|k>>>8)<<16>>16;if((l|0)<=(h|0)){a=G[b+4|0]|G[b+5|0]<<8;h=(h-l|0)+((a<<8|a>>>8)<<16>>16)|0;break w}A=k;b=a-1|0;k=(b<<2)+i|0;k=G[k+2|0]|G[k+3|0]<<8;if((A|0)==(k|0)){a=(b<<2)+i|0;a=G[a+4|0]|G[a+5|0]<<8;h=(a<<8|a>>>8)<<16>>16;break w}A=h;h=(k<<8|k>>>8)<<16>>16;k=a<<2;a=i+2|0;k=k+a|0;k=G[k+2|0]|G[k+3|0]<<8;a=a+(b<<2)|0;a=G[a+2|0]|G[a+3|0]<<8;a=(a<<8|a>>>8)<<16>>16;p=M(R(M(M(M(M(M(A-h|0)*M(((k<<8|k>>>8)<<16>>16)-a|0))/M(l-h|0))+M(a|0))+M(.5))));if(M(N(p))>2]=h;a=G[i|0]|G[i+1|0]<<8;i=((((a<<8|a>>>8)&65535)<<2)+i|0)+2|0;z=z+1|0;if((y|0)!=(z|0)){continue}break}}Ta(F[j+72>>2]);Ta(F[j+76>>2]);F[j+76>>2]=x;F[j+72>>2]=q;F[j+68>>2]=o}}Ta(s)}Ga=v+16|0;hi(n);b=j;Hh(b,m,0);if(F[b+88>>2]==622){a=F[F[b+84>>2]+24>>2];j=H[a+68>>1];m=F[a+88>>2];a=F[m+16>>2];h=EC(j,0,a,a>>31)+32768|0;a=Ha;a=h>>>0<32768?a+1|0:a;i=(a&65535)<<16|h>>>16;a=F[m+20>>2];a=EC(a,a>>31,j,0)+32768|0;j=Ha;j=a>>>0<32768?j+1|0:j;a=(j&65535)<<16|a>>>16;if(F[b+4>>2]){F[b+24>>2]=a;F[b+20>>2]=i;j=F[b+16>>2];h=F[j+28>>2];if(!h){h=db(j);i=F[b+20>>2];a=F[b+24>>2]}n=h>>31;C=b,K=FC(a<<16,a>>31<<16|a>>>16,h,n),F[C+48>>2]=K;F[b+52>>2]=Ha;C=b,K=FC(i<<16,i>>31<<16|i>>>16,h,n),F[C+40>>2]=K;F[b+44>>2]=Ha;J[b+32>>2]=a?M(M(J[b+28>>2]*M(i|0))/M(a|0)):M(0)}}h=Ga-32|0;Ga=h;a=F[b+16>>2];i=F[a+12>>2];y:{if(i){a=Ia[i|0](a,0,F[a+16>>2])|0;if(a){break y}}a=163632}if(h+28|0){F[h+28>>2]=F[a+16>>2]}m=F[a+12>>2];F[h+24>>2]=0;while(1){z:{i=F[61604];if(i){break z}A:{if(bl(h+8|0)){break A}i=F[h+8>>2];if(!i){break A}j=F[61604];F[61604]=j?j:i;if(!j){break z}if(i){Kl(i)}continue}i=0;j=F[61604];F[61604]=j;if(j){continue}}break}n=F[h+28>>2];o=F[F[b+16>>2]+24>>2];q=h+24|0;j=Ga-32|0;Ga=j;if(m){F[j+16>>2]=0;F[j+8>>2]=n;F[j+4>>2]=m;F[j>>2]=1;i=Kg(i,j,o,q,1)}else{i=6}Ga=j+32|0;B:{if(i){Xa(a);break B}if(dd(F[h+24>>2],1937337698)){dd(F[h+24>>2],1970170211)}m=F[b+20>>2];i=m>>31;n=F[b+24>>2];j=n>>31;tl(F[h+24>>2],(i^m)-i|0,(j^n)-j|0,0,0);i=F[b+20>>2];j=F[b+24>>2];if((i|j)<0){F[h+12>>2]=0;F[h+16>>2]=0;F[h+20>>2]=j>>31|1;F[h+8>>2]=i>>31|1;Cl(F[h+24>>2],h+8|0)}i=F[h+24>>2];F[i+44>>2]=a;F[i+48>>2]=636;Hh(b,i,1);if(!F[b+4>>2]|F[b+88>>2]!=622){break B}F[F[b+84>>2]+28>>2]=2}Ga=h+32|0}F[61709]=d&1;F[61725]=d>>>4&1;F[61721]=d>>>3&1;F[61717]=d>>>2&1;F[61713]=d>>>1&1;a=qi();if(F[a+4>>2]){F[a+40>>2]=f}if(F[a+4>>2]){F[a+44>>2]=e}if(F[a+4>>2]){F[a+48>>2]=g}e=0;if(F[a+4>>2]){F[a+20>>2]=0}d=hb(c);g=d;i=Ga-16|0;Ga=i;f=a;C:{if(!F[a+4>>2]){break C}m=F[f+24>>2];if((g|0)==-1){g=hb(c)}d=(d|0)==-1?g:d;if(d>>>0>268435455){break C}a=F[f+68>>2]+(d>>>2|0)|0;if(!(!a|a>>>0>2])){if(!Yc(f,a)){break C}}a=c;D:{if((d|0)<=0){d=a;break D}n=a+d|0;while(1){d=ni(a,n,i+8|0,m);o=F[i+8>>2];h=F[f+68>>2];j=h+1|0;E:{if(!(j>>>0>2]|h>>>0>j>>>0)){if(!Yc(f,j)){break E}h=F[f+68>>2]}h=F[f+80>>2]+L(h,20)|0;F[h+8>>2]=0;F[h+12>>2]=0;F[h+4>>2]=0;F[h>>2]=o;F[h+16>>2]=0;F[h+8>>2]=a-c;F[f+68>>2]=F[f+68>>2]+1}a=d;if(n>>>0>a>>>0){continue}break}}F[f+136>>2]=0;a=c+g|0;F:{if(a>>>0<=d>>>0){break F}while(1){d=ni(d,a,i+4|0,m);c=F[i+4>>2];g=F[f+136>>2];F[f+136>>2]=g+1;F[(f+(g<<2)|0)+112>>2]=c;if(a>>>0<=d>>>0){break F}if(I[f+136>>2]<5){continue}break}}F[f+36>>2]=1}Ga=i+16|0;a=0;G:{if(F[f+44>>2]|!F[f+68>>2]){break G}while(1){c=F[f+12>>2];c=Ia[F[c+32>>2]](c,F[F[f+80>>2]+L(a,20)>>2],F[c- -64>>2])|0;if(!((c|0)==1516858984|(c|0)==1517910393|(c|0)==1517976186)){F[f+44>>2]=c;break G}a=a+1|0;if(a>>>0>2]){continue}break}}if(!F[f+40>>2]){a=Qf(F[f+44>>2]);F[f+40>>2]=a?a:4}if(!F[f+48>>2]){a=0;c=F[61601];if(c){a=c}else{c=Sf(105740);if(c){a=F[c+4>>2]}c=F[61601];F[61601]=c?c:a}F[f+48>>2]=a}wf(b,f,246832,5,0);a=w+12|0;if(a){F[a>>2]=F[f+68>>2]}q=F[f+80>>2];v=oi(f,a);c=F[w+12>>2];a=L(c,26)+12|0;h=ib(1,a);D[h+4|0]=b;D[h+5|0]=b>>>8;D[h+6|0]=b>>>16;D[h+7|0]=b>>>24;D[h+8|0]=0;D[h+9|0]=0;D[h+10|0]=0;D[h+11|0]=0;D[h|0]=a;D[h+1|0]=a>>>8;D[h+2|0]=a>>>16;D[h+3|0]=a>>>24;if(c){d=h+12|0;while(1){s=L(e,20);i=s+q|0;j=F[i>>2];H:{I:{c=F[b+16>>2];a=F[c+140>>2];J:{if(a){break J}while(1){a=F[c+48>>2];if(!a){a=163632;break J}a=mh(a);if(!a){a=163632}g=F[c+140>>2];F[c+140>>2]=g?g:a;if(!g){break J}if(!(!a|(a|0)==163632)){g=F[a>>2];F[61902]=0;_(579,g|0);g=F[61902];F[61902]=0;if((g|0)==1){break I}Ta(a)}a=F[c+140>>2];if(!a){continue}break}}c=163632;a=F[a>>2];a=a?a:163632;a=I[a+16>>2]<12?163632:F[a+12>>2];g=G[a+4|0]|G[a+5|0]<<8;if(g){c=a+((g<<8|g>>>8)&65535)|0}a=0;K:{L:{M:{N:{g=G[c|0]|G[c+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break M;case 0:break N;default:break K}}a=G[c+2|0]|G[c+3|0]<<8;a=j-((a<<8|a>>>8)&65535)|0;g=((a<<1)+c|0)+6|0;c=G[c+4|0]|G[c+5|0]<<8;a=a>>>0<((c<<8|c>>>8)&65535)>>>0?g:163632;break L}o=164024;a=G[c+2|0]|G[c+3|0]<<8;O:{if(!a){break O}a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){m=a+g>>>1|0;n=L(m,6)+c|0;k=G[n+4|0]|G[n+5|0]<<8;P:{if(j>>>0>=((k<<8|k>>>8)&65535)>>>0){g=G[n+6|0]|G[n+7|0]<<8;if(j>>>0>((g<<8|g>>>8)&65535)>>>0){g=m+1|0;break P}o=(L(m,6)+c|0)+4|0;break O}a=m-1|0}if((a|0)>=(g|0)){continue}break}}a=o+4|0}a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535}break H}ca(0)|0;Y()|0;Hb();V()}c=F[i+4>>2];a=a&255;D[d|0]=a;D[d+1|0]=a>>>8;D[d+2|0]=a>>>16;D[d+3|0]=a>>>24;a=c&3;D[d+1|0]=a;D[d+2|0]=a>>>8;D[d+3|0]=a>>>16;D[d+4|0]=a>>>24;a=F[i>>2];D[d+2|0]=a;D[d+3|0]=a>>>8;D[d+4|0]=a>>>16;D[d+5|0]=a>>>24;a=F[i+8>>2];D[d+6|0]=a;D[d+7|0]=a>>>8;D[d+8|0]=a>>>16;D[d+9|0]=a>>>24;a=v+s|0;c=F[a>>2];D[d+10|0]=c;D[d+11|0]=c>>>8;D[d+12|0]=c>>>16;D[d+13|0]=c>>>24;c=F[a+4>>2];D[d+14|0]=c;D[d+15|0]=c>>>8;D[d+16|0]=c>>>16;D[d+17|0]=c>>>24;c=F[a+8>>2];D[d+18|0]=c;D[d+19|0]=c>>>8;D[d+20|0]=c>>>16;D[d+21|0]=c>>>24;a=F[a+12>>2];D[d+22|0]=a;D[d+23|0]=a>>>8;D[d+24|0]=a>>>16;D[d+25|0]=a>>>24;d=d+26|0;e=e+1|0;if(e>>>0>2]){continue}break}}nd(f);Ga=w+16|0;return h|0}function ay(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;k=Ga-26352|0;Ga=k;S=F[b+92>>2];F[a+40>>2]=H[b+68>>1];c=0;a:{if(dd(b,1970170211)){break a}c=F[b+100>>2];Wa(k+19664|4,0,2756);F[k+19664>>2]=c;F[a+9856>>2]=0;F[a+52>>2]=0;g=F[F[(F[F[a>>2]+8>>2]<<2)+16352>>2]+16>>2];c=G[g|0];b:{if(!c){break b}while(1){if((c&255)==32){while(1){c=G[g+1|0];g=g+1|0;if((c|0)==32){continue}break}}l=c&255;d=g+1|0;j=F[a+36>>2];if(c<<24>>24<0){c=l>>>0<240;e=l>>>0<224;f=e?1:c?2:3;h=f-1|0;l=(e?31:c?15:7)&l;e=0;c=f;while(1){l=G[d|0]&63|l<<6;c=c-1|0;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}if(h>>>0>=3){while(1){l=G[d+3|0]&63|((G[d+1|0]&63|(l<<12|(G[d|0]&63)<<6))<<12|(G[d+2|0]&63)<<6);d=d+4|0;c=c-4|0;if(c){continue}break}}d=(f+g|0)+1|0}g=d;j=F[j>>2];d=0;while(1){c=G[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;e=d>>>0<224;f=e?1:c?2:3;i=f-1|0;d=(e?31:c?15:7)&d;h=0;e=f;c=g;while(1){d=G[c|0]&63|d<<6;e=e-1|0;c=c+1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}if(i>>>0>=3){while(1){d=G[c+3|0]&63|((G[c+1|0]&63|(d<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=f+g|0;continue}break}c:{if(!d){c=Ob(j,l);if(c){break c}c=G[g|0]}if(c&255){continue}break b}break}if(Kc(b,c,1)){break b}c=F[b+84>>2];if(E[c+110>>1]<=0){break b}d=Wa(k,0,19652);e=F[a+40>>2];F[d+8>>2]=65536;F[d+12>>2]=65536;F[d+40>>2]=e;F[d+4>>2]=b;F[d+22404>>2]=0;F[d+22412>>2]=d;if(Ge(d+19664|0,c+108|0)){break b}if(xd(d+19664|0,0)){break b}h=0;qe(d+19664|0,0,0,0);e=F[d+19708>>2];if((e|0)>0){c=F[d+19716>>2];g=c+L(e,44)|0;while(1){e=F[c+20>>2];if(!(!e|F[e+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=e>>>0))){f=E[c+2>>1]-E[e+2>>1]|0;e=f>>31;F[(L(h,12)+a|0)+56>>2]=(e^f)-e;h=h+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}F[d+26304>>2]=h;$e(d+26304|0,a+56|0,I[d+40>>2]/100|0);F[a+52>>2]=F[d+26304>>2];if(xd(d+19664|0,1)){break b}h=0;qe(d+19664|0,0,0,1);e=F[d+21056>>2];if((e|0)>0){c=F[d+21064>>2];g=c+L(e,44)|0;while(1){e=F[c+20>>2];if(!(!e|F[e+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=e>>>0))){f=E[c+2>>1]-E[e+2>>1]|0;e=f>>31;F[(L(h,12)+a|0)+9860>>2]=(e^f)-e;h=h+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}F[d+26304>>2]=h;$e(d+26304|0,a+9860|0,I[d+40>>2]/100|0);F[a+9856>>2]=F[d+26304>>2]}if(F[a+52>>2]){c=F[a+56>>2]}else{c=(L(F[a+40>>2],50)|0)/2048|0}D[a+256|0]=0;F[a+252>>2]=c;F[a+248>>2]=(c|0)/5;if(F[a+9856>>2]){c=F[a+9860>>2]}else{c=(L(F[a+40>>2],50)|0)/2048|0}D[a+10060|0]=0;F[a+10056>>2]=c;F[a+10052>>2]=(c|0)/5;Ag(k+19664|0);T=I[a+40>>2]/14|0;P=F[a>>2];c=(F[P+12>>2]<<3)+6560|0;d=F[c>>2];if((d|0)!=5531){while(1){s=c;g=d+1024|0;d=G[g|0];d:{if(!d){break d}v=0;u=0;l=0;p=0;while(1){if((d&255)==32){while(1){d=G[g+1|0];g=g+1|0;if((d|0)==32){continue}break}}m=d&255;c=g+1|0;j=F[a+36>>2];if(d<<24>>24<0){d=m>>>0<240;e=m>>>0<224;f=e?1:d?2:3;h=f-1|0;m=(e?31:d?15:7)&m;e=0;d=f;while(1){m=G[c|0]&63|m<<6;d=d-1|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}if(h>>>0>=3){while(1){m=G[c+3|0]&63|((G[c+1|0]&63|(m<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(f+g|0)+1|0}g=c;j=F[j>>2];d=0;while(1){c=G[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;e=d>>>0<224;f=e?1:c?2:3;i=f-1|0;d=(e?31:c?15:7)&d;h=0;e=f;c=g;while(1){d=G[c|0]&63|d<<6;e=e-1|0;c=c+1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}if(i>>>0>=3){while(1){d=G[c+3|0]&63|((G[c+1|0]&63|(d<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=f+g|0;continue}break}e:{if(d){break e}c=Ob(j,m);A=D[s+4|0]&1?-2147483648:2147483647;m=0;f:{if(!c){break f}if(Kc(b,c,1)){break f}c=F[b+84>>2];if(E[c+110>>1]<3){break f}N=0;m=E[c+108>>1];g:{if((m|0)<=0){i=0;C=H[s+4>>1];break g}C=F[c+120>>2];B=F[c+116>>2];q=F[c+112>>2];j=-1;w=0;x=0;f=0;i=0;d=0;while(1){n=E[C+(i<<1)>>1];h:{if((n|0)<=(f|0)){e=j;break h}i:{if(G[s+4|0]&3){j:{if(!((n-f|0)+1&1)){h=f;c=d;e=j;break j}h=f+1|0;c=F[((f<<3)+q|0)+4>>2];k:{if(!((j|0)<0|(d|0)<(c|0))){p=(c|0)>(p|0)?p:c;c=d;e=j;break k}l=(c|0)<(l|0)?l:c;d=c;e=f}}if((f|0)==(n|0)){break i}while(1){d=F[((h<<3)+q|0)+4>>2];l:{if(!((d|0)<=(c|0)&(e|0)>=0)){l=(d|0)<(l|0)?l:d;e=h;break l}p=(d|0)>(p|0)?p:d;d=c}o=h+1|0;c=F[((o<<3)+q|0)+4>>2];m:{if(!((e|0)<0|(d|0)<(c|0))){p=(c|0)>(p|0)?p:c;c=d;break m}l=(c|0)<(l|0)?l:c;e=o}h=h+2|0;d=c;if((n|0)!=(o|0)){continue}break}break i}n:{if(!((n-f|0)+1&1)){h=f;c=d;e=j;break n}h=f+1|0;c=F[((f<<3)+q|0)+4>>2];o:{if(!((j|0)<0|(d|0)>(c|0))){l=(c|0)<(l|0)?l:c;c=d;e=j;break o}p=(c|0)>(p|0)?p:c;d=c;e=f}}if((f|0)==(n|0)){break i}while(1){d=F[((h<<3)+q|0)+4>>2];p:{if(!((e|0)>=0&(d|0)>=(c|0))){p=(d|0)>(p|0)?p:d;e=h;break p}l=(d|0)<(l|0)?l:d;d=c}o=h+1|0;c=F[((o<<3)+q|0)+4>>2];q:{if(!((e|0)<0|(d|0)>(c|0))){l=(c|0)<(l|0)?l:c;c=d;break q}p=(c|0)>(p|0)?p:c;e=o}h=h+2|0;d=c;if((n|0)!=(o|0)){continue}break}}c=(e|0)==(j|0);w=c?w:f;x=c?x:n;j=e}f=n+1|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}if((e|0)<0){i=d;C=H[s+4>>1];break g}M=F[(e<<3)+q>>2];j=e;c=(G[e+B|0]&3)==1?e:-1;h=c;r:{while(1){f=(j|0)>(w|0)?j-1|0:x;o=(f<<3)+q|0;n=F[o+4>>2]-d|0;i=n>>31;n=(i^n)-i|0;if(n>>>0>=6){o=F[o>>2]-M|0;i=o>>31;if((i^o)-i>>>0<=L(n,20)>>>0){break r}}j=(G[f+B|0]&3)==1;h=j?(h|0)<0?f:h:h;c=j?f:c;j=f;if((f|0)!=(e|0)){continue}break}j=e}f=e;s:{while(1){i=(f|0)<(x|0)?f+1|0:w;O=(i<<3)+q|0;n=F[O+4>>2]-d|0;o=n>>31;n=(n^o)-o|0;if(n>>>0>=6){m=F[O>>2]-M|0;o=m>>31;if((m^o)-o>>>0<=L(n,20)>>>0){break s}}f=(G[i+B|0]&3)==1;c=f?(c|0)<0?i:c:c;h=f?i:h;f=i;if((f|0)!=(e|0)){continue}break}f=e}C=H[s+4>>1];t:{u:{if(!(C&16)){break u}o=F[(f<<3)+q>>2]-F[(j<<3)+q>>2]|0;i=o>>31;n=F[a+40>>2];Q=(n>>>0)/25|0;if(Q>>>0<=(i^o)-i>>>0){break u}i=e;if(((f-j|0)+2|0)>(x-w|0)){break u}while(1){i=(i|0)>(w|0)?i-1|0:x;R=F[(i<<3)+q>>2];if((R|0)==(M|0)&(e|0)!=(i|0)){continue}break}m=0;if((e|0)==(i|0)){break f}U=n>>>2|0;J=0;o=f;e=f;n=0;while(1){if(!J){m=(G[e+B|0]&3)==1?e:-1;n=m;o=e}e=(e|0)<(x|0)?e+1|0:w;J=0;y=(o<<3)+q|0;i=F[y+4>>2];z=d-i|0;t=z>>31;v:{if((t^z)-t>>>0>U>>>0){break v}t=(e<<3)+q|0;r=F[t+4>>2]-i|0;z=r>>31;z=(r^z)-z|0;w:{if(z>>>0<=5){t=F[t>>2];y=F[y>>2];r=t-y|0;J=r>>31;r=(r^J)-J|0;break w}t=F[t>>2];y=F[y>>2];K=t-y|0;r=K>>31;r=(r^K)-r|0;if(r>>>0<=L(z,20)>>>0){break v}}J=1;K=(G[e+B|0]&3)==1;m=K?(m|0)<0?e:m:m;n=K?e:n;if((M|0)>(R|0)^(t|0)>(y|0)|(r|0)<(Q|0)){break v}d=L(z,20);while(1){e=(e|0)<(x|0)?e+1|0:w;f=F[((e<<3)+q|0)+4>>2]-i|0;c=f>>31;x:{if((c^f)-c>>>0<6){break x}f=F[O>>2]-y|0;c=f>>31;if(d>>>0<(c^f)-c>>>0){break x}f=(e|0)>(w|0)?e-1|0:x;break t}m=(G[e+B|0]&3)==1?(m|0)<0?e:m:m;n=e;if((e|0)!=(j|0)){continue}break}f=j;n=f;break t}if((e|0)!=(j|0)){continue}break}}i=d;o=j;m=c;n=h}if((m|n)>=0){d=F[(n<<3)+q>>2]-F[(m<<3)+q>>2]|0;c=d>>31;if((c^d)-c>>>0>T>>>0){break g}}if((G[o+B|0]&3)==1&(G[f+B|0]&3)==1){break g}m=0;N=1;if(C&4){break f}}if(C&1){c=(i|0)>(A|0);A=c?i:A;m=c&N;break f}c=(i|0)<(A|0);A=c?i:A;m=c&N}if(A-2147483647>>>0<2){break e}F[(m?(k+19664|0)+(u<<2)|0:(v<<2)+k|0)>>2]=A;u=m+u|0;v=!m+v|0}d=G[g|0];if(d){continue}break}if(!(u|v)){break d}y:{if(u>>>0<2){break y}g=1;c=u-1|0;f=c&1;if((u|0)!=2){j=c&-2;m=0;while(1){e=F[(k+19664|0)+(g<<2)>>2];c=g;while(1){d=c-1|0;h=(k+19664|0)+(d<<2)|0;i=F[h>>2];if((i|0)>(e|0)){F[(k+19664|0)+(c<<2)>>2]=i;F[h>>2]=e;c=d;if(c){continue}}break}c=g+1|0;e=F[(k+19664|0)+(c<<2)>>2];while(1){d=c-1|0;h=(k+19664|0)+(d<<2)|0;i=F[h>>2];if((i|0)>(e|0)){F[(k+19664|0)+(c<<2)>>2]=i;F[h>>2]=e;c=d;if(c){continue}}break}g=g+2|0;m=m+2|0;if((j|0)!=(m|0)){continue}break}}if(!f){break y}d=F[(k+19664|0)+(g<<2)>>2];while(1){c=g-1|0;e=(k+19664|0)+(c<<2)|0;f=F[e>>2];if((f|0)<=(d|0)){break y}F[(k+19664|0)+(g<<2)>>2]=f;F[e>>2]=d;g=c;if(c){continue}break}}z:{if(v>>>0<2){break z}g=1;c=v-1|0;f=c&1;if((v|0)!=2){j=c&-2;m=0;while(1){e=F[(g<<2)+k>>2];c=g;while(1){d=c-1|0;h=(d<<2)+k|0;i=F[h>>2];if((i|0)>(e|0)){F[(c<<2)+k>>2]=i;F[h>>2]=e;c=d;if(c){continue}}break}c=g+1|0;e=F[(c<<2)+k>>2];while(1){d=c-1|0;h=(d<<2)+k|0;i=F[h>>2];if((i|0)>(e|0)){F[(c<<2)+k>>2]=i;F[h>>2]=e;c=d;if(c){continue}}break}g=g+2|0;m=m+2|0;if((j|0)!=(m|0)){continue}break}}if(!f){break z}d=F[(g<<2)+k>>2];while(1){c=g-1|0;e=(c<<2)+k|0;f=F[e>>2];if((f|0)<=(d|0)){break z}F[(g<<2)+k>>2]=f;F[e>>2]=d;g=c;if(c){continue}break}}c=F[a+10064>>2];F[a+10064>>2]=c+1;c=L(c,36)+a|0;e=c+10080|0;g=c+10068|0;A:{B:{if(!v){d=F[(k+19664|0)+(u<<1&-4)>>2];break B}d=F[(v<<1&-4)+k>>2];if(!u){break B}F[g>>2]=d;f=F[(k+19664|0)+(u<<1&-4)>>2];F[e>>2]=f;if((d|0)==(f|0)){j=H[s+4>>1];break A}j=H[s+4>>1];if(((j&3)!=0|0)==((d|0)<(f|0)|0)){break A}d=(d+f|0)/2|0;F[e>>2]=d;F[g>>2]=d;break A}F[e>>2]=d;F[g>>2]=d;j=H[s+4>>1]}d=c+10100|0;e=j<<1&2;F[d>>2]=e;F[c+10096>>2]=p;F[c+10092>>2]=l;c=H[s+4>>1];if(!(c&14)){break d}c=c<<1;F[d>>2]=e|c&4|c&8|c&16}c=s+8|0;d=F[s+8>>2];if((d|0)!=5531){continue}break}}g=F[a+10064>>2];if(g){e=0;c=0;if(g-1>>>0>=3){j=g&-4;d=a+10068|0;h=0;while(1){f=k+26304|0;F[f+(c<<2)>>2]=d+L(c,36);i=c|1;F[f+(i<<2)>>2]=d+L(i,36);i=c|2;F[f+(i<<2)>>2]=d+L(i,36);i=c|3;F[f+(i<<2)>>2]=d+L(i,36);c=c+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}d=g&3;if(d){while(1){F[(k+26304|0)+(c<<2)>>2]=(L(c,36)+a|0)+10068;c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(g>>>0>=2){l=1;while(1){e=F[(k+26304|0)+(l<<2)>>2];j=F[(G[e+32|0]&6?0:12)+e>>2];c=l;while(1){d=c-1|0;h=(k+26304|0)+(d<<2)|0;f=F[h>>2];if((j|0)>2]){F[(k+26304|0)+(c<<2)>>2]=f;F[h>>2]=e;c=d;if(c){continue}}break}l=l+1|0;if((g|0)!=(l|0)){continue}break}}g=g-1|0;if(g){d=F[k+26304>>2];e=F[d+32>>2];c=0;while(1){f=(e&6?12:0)+d|0;c=c+1|0;d=F[(k+26304|0)+(c<<2)>>2];e=F[d+32>>2];j=F[(e&6?12:0)+d>>2];if(F[f>>2]>(j|0)){F[f>>2]=j}if((c|0)!=(g|0)){continue}break}}F[k+19664>>2]=0;F[k+16>>2]=F[5328];c=F[5327];F[k+8>>2]=F[5326];F[k+12>>2]=c;c=F[5325];F[k>>2]=F[5324];F[k+4>>2]=c;d=48;g=k;j=0;f=0;C:{while(1){c=g+1|0;if((d&255)==32){while(1){g=c;c=c+1|0;d=G[g|0];if((d|0)==32){continue}break}}i=F[a+36>>2];l=d&255;if(d<<24>>24<0){d=l>>>0<240;e=l>>>0<224;h=e?1:d?2:3;o=h-1|0;l=(e?31:d?15:7)&l;e=0;d=h;while(1){l=G[c|0]&63|l<<6;d=d-1|0;c=c+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}if(o>>>0>=3){while(1){l=G[c+3|0]&63|((G[c+1|0]&63|(l<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+h|0)+1|0}g=c;o=F[i>>2];d=0;while(1){c=G[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;e=d>>>0<224;i=e?1:c?2:3;n=i-1|0;d=(e?31:c?15:7)&d;h=0;e=i;c=g;while(1){d=G[c|0]&63|d<<6;e=e-1|0;c=c+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}if(n>>>0>=3){while(1){d=G[c+3|0]&63|((G[c+1|0]&63|(d<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=g+i|0;continue}break}D:{if(d){se(o,0,2051,k+19664|0);break D}c=Ob(o,l);se(F[F[a+36>>2]>>2],c,2051,k+19664|0);if(!c){break D}d=j&255;j=1;c=F[k+19664>>2];if(!d){f=c;break D}if((c|0)==(f|0)){break D}c=0;break C}d=G[g|0];if(d){continue}break}c=1}D[a+32|0]=c;c=0;break a}c=F[a+36>>2];a=F[c+4>>2];E:{if((a|0)<=0){break E}d=F[c+8>>2];e=F[P>>2];c=0;if((a|0)!=1){g=a&-2;h=0;while(1){f=c<<1;j=f+d|0;if((e|0)==(H[j>>1]&16383)){E[j>>1]=66}f=d+(f|2)|0;if((e|0)==(H[f>>1]&16383)){E[f>>1]=66}c=c+2|0;h=h+2|0;if((g|0)!=(h|0)){continue}break}}if(!(a&1)){break E}a=d+(c<<1)|0;if((e|0)!=(H[a>>1]&16383)){break E}E[a>>1]=66}c=-1}cd(b,S);Ga=k+26352|0;return c|0}function LA(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;i=Ga-160|0;Ga=i;a:{if(!Hm(a,b,4,c)){break a}m=Fd(b);F[i+152>>2]=F[h+8>>2];c=F[h+4>>2];F[i+144>>2]=F[h>>2];F[i+148>>2]=c;F[i+136>>2]=F[g+8>>2];c=F[g+4>>2];F[i+128>>2]=F[g>>2];F[i+132>>2]=c;F[i+120>>2]=F[f+8>>2];c=F[f+4>>2];F[i+112>>2]=F[f>>2];F[i+116>>2]=c;F[i+104>>2]=F[e+8>>2];c=F[e+4>>2];F[i+96>>2]=F[e>>2];F[i+100>>2]=c;F[i+88>>2]=F[d+8>>2];c=F[d+4>>2];F[i+80>>2]=F[d>>2];F[i+84>>2]=c;b:{if(F[b+20>>2]){break b}e=m+2|0;d=F[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-d|0))){F[b+20>>2]=4;break b}c:{if((d|0)==(e|0)){F[b+4>>2]=(c+m|0)+2;break c}Wa(d,0,c);d=c;c=F[b+4>>2];F[b+4>>2]=d+c;if(!c){break b}}D[m|0]=0;D[m+1|0]=1;F[i+72>>2]=F[i+88>>2];F[i+56>>2]=F[i+104>>2];F[i+40>>2]=F[i+120>>2];F[i+24>>2]=F[i+136>>2];F[i+8>>2]=F[i+152>>2];c=F[i+84>>2];F[i+64>>2]=F[i+80>>2];F[i+68>>2]=c;c=F[i+100>>2];F[i+48>>2]=F[i+96>>2];F[i+52>>2]=c;c=F[i+116>>2];F[i+32>>2]=F[i+112>>2];F[i+36>>2]=c;c=F[i+132>>2];F[i+16>>2]=F[i+128>>2];F[i+20>>2]=c;c=F[i+148>>2];F[i>>2]=F[i+144>>2];F[i+4>>2]=c;y=i- -64|0;f=0;s=Ga-32|0;Ga=s;d:{e:{if(F[b+20>>2]){break e}e=m+6|0;d=F[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-d|0))){F[b+20>>2]=4;break d}f:{if((d|0)==(e|0)){d=c+e|0;F[b+4>>2]=d;break f}Wa(d,0,c);d=c;c=F[b+4>>2];d=d+c|0;F[b+4>>2]=d;if(F[b+20>>2]|!c){break d}}g=m+6|0;c=g-d|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-d|0))){F[b+20>>2]=4;break d}e=F[y+4>>2];g:{if((d|0)==(g|0)){F[b+4>>2]=c+d;break g}Wa(d,0,c);d=c;c=F[b+4>>2];F[b+4>>2]=d+c;if(!c){break d}}c=e<<8|(e&65280)>>>8;D[m+4|0]=c;D[m+5|0]=c>>>8;c=F[b+20>>2];if(e>>>0>=65536){F[b+20>>2]=c|16;break e}if(c){break e}e=(m+(e<<1&131070)|0)+6|0;d=F[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-d|0))){F[b+20>>2]=4;break d}h:{if((d|0)==(e|0)){F[b+4>>2]=c+e;break h}Wa(d,0,c);d=c;c=F[b+4>>2];F[b+4>>2]=d+c;if(!c){break d}}i:{M=F[y+4>>2];if(M){C=F[i+24>>2];I=F[i+40>>2];z=F[i+16>>2];f=F[i+20>>2];A=F[i+32>>2];g=F[i+36>>2];O=H[81816];P=F[i+48>>2];Q=F[i+52>>2];d=0;while(1){u=F[(d>>>0>>0?(d<<2)+P|0:163632)>>2];c=G[m+4|0]|G[m+5|0]<<8;j:{if(((c<<8|c>>>8)&65535)>>>0<=d>>>0){E[123216]=O;c=246432;break j}c=(m+(d<<1)|0)+6|0}F[s+24>>2]=0;F[s+16>>2]=A;F[s+20>>2]=g>>>0>>0?g:u;F[s+8>>2]=0;F[s+4>>2]=f>>>0>>0?f:u;F[s>>2]=z;h=0;n=Ga-32|0;Ga=n;J=c;D[c|0]=0;D[c+1|0]=0;v=Fd(b);F[n+24>>2]=F[s+24>>2];c=F[s+20>>2];F[n+16>>2]=F[s+16>>2];F[n+20>>2]=c;F[n+8>>2]=F[s+8>>2];c=F[s+4>>2];F[n>>2]=F[s>>2];F[n+4>>2]=c;r=Ga-16|0;Ga=r;k:{if(F[b+20>>2]){break k}j=4;l:{c=v+2|0;k=F[b+4>>2];e=c-k|0;if((e|0)<0|(e|0)>(F[b+8>>2]-k|0)){break l}m:{if((c|0)==(k|0)){k=c+e|0;F[b+4>>2]=k;break m}Wa(k,0,e);k=e;e=F[b+4>>2];k=k+e|0;F[b+4>>2]=k;if(F[b+20>>2]|!e){break k}}e=c-k|0;if((e|0)<0|(e|0)>(F[b+8>>2]-k|0)){break l}t=F[n+20>>2];n:{if((c|0)==(k|0)){F[b+4>>2]=c+e;break n}Wa(k,0,e);c=F[b+4>>2];F[b+4>>2]=c+e;if(!c){break k}}c=t<<8|(t&65280)>>>8;D[v|0]=c;D[v+1|0]=c>>>8;c=F[b+20>>2];if(t>>>0>=65536){j=c|16;break l}if(c){break k}k=((t<<1&131070)+v|0)+2|0;e=F[b+4>>2];c=k-e|0;if((c|0)<0|(c|0)>(F[b+8>>2]-e|0)){break l}o:{if((e|0)==(k|0)){F[b+4>>2]=c+k;break o}Wa(e,0,c);e=c;c=F[b+4>>2];F[b+4>>2]=e+c;if(!c){break k}}if(!t){h=1;break k}R=F[n+16>>2];S=H[81816];T=F[n>>2];U=F[n+4>>2];k=0;while(1){c=F[(k>>>0>>0?(k<<2)+T|0:163632)>>2];c=((c|0)>1?c:1)-1|0;e=G[v|0]|G[v+1|0]<<8;p:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){E[123216]=S;e=246432;break p}e=((k<<1)+v|0)+2|0}h=F[i+4>>2];o=F[i>>2];F[r+8>>2]=0;F[r>>2]=o;F[r+4>>2]=c>>>0>h>>>0?h:c;K=0;j=Ga-32|0;Ga=j;o=e;D[e|0]=0;D[e+1|0]=0;h=Fd(b);e=k>>>0>>0?(k<<1)+R|0:163632;l=G[e|0]|G[e+1|0]<<8;F[j+24>>2]=F[r+8>>2];e=F[r+4>>2];F[j+16>>2]=F[r>>2];F[j+20>>2]=e;q:{r:{if(F[b+20>>2]){break r}p=h+4|0;q=F[b+4>>2];e=p-q|0;if(!((e|0)>=0&(e|0)<=(F[b+8>>2]-q|0))){F[b+20>>2]=4;break r}s:{if((p|0)==(q|0)){F[b+4>>2]=e+p;break s}Wa(q,0,e);p=e;e=F[b+4>>2];F[b+4>>2]=p+e;if(!e){break r}}D[h|0]=l;D[h+1|0]=l>>>8;F[j+8>>2]=F[j+24>>2];e=F[j+20>>2];F[j>>2]=F[j+16>>2];F[j+4>>2]=e;e=0;t:{if(F[b+20>>2]){break t}q=h+2|0;p=q+2|0;l=F[b+4>>2];e=p-l|0;if(!((e|0)>=0&(e|0)<=(F[b+8>>2]-l|0))){F[b+20>>2]=4;e=0;break t}h=F[j+4>>2];u:{v:{if((l|0)==(p|0)){F[b+4>>2]=e+p;break v}Wa(l,0,e);l=F[b+4>>2];F[b+4>>2]=l+e;e=0;if(!l){break u}}l=h+1|0;e=l<<8|(l&65280)>>>8;D[q|0]=e;D[q+1|0]=e>>>8;p=F[b+20>>2];if(l>>>0>=65536){F[b+20>>2]=p|16;e=0;break t}e=0;if(p){break t}p=q+(l&65535?l<<1&131070:2)|0;l=F[b+4>>2];e=p-l|0;if(!((e|0)>=0&(e|0)<=(F[b+8>>2]-l|0))){F[b+20>>2]=4;e=0;break t}w:{if((l|0)==(p|0)){F[b+4>>2]=e+p;break w}Wa(l,0,e);l=F[b+4>>2];F[b+4>>2]=l+e;e=0;if(!l){break u}}if(h){V=h&1;p=F[j+8>>2];e=F[j>>2];x:{if((h|0)==1){l=0;break x}W=h&-2;l=0;while(1){x=q+(l<<1)|0;w=h?e:163632;w=G[w|0]|G[w+1|0]<<8;D[x+2|0]=w;D[x+3|0]=w>>>8;w=q+((l|1)<<1)|0;x=!!h;e=(x<<1)+e|0;N=(h|0)==(x|0);B=N?163632:e;B=G[B|0]|G[B+1|0]<<8;D[w+2|0]=B;D[w+3|0]=B>>>8;l=l+2|0;w=!N;p=w+(p+x|0)|0;e=e+(w<<1)|0;h=h-(w+x|0)|0;K=K+2|0;if((W|0)!=(K|0)){continue}break}}if(V){q=q+(l<<1)|0;l=h?e:163632;l=G[l|0]|G[l+1|0]<<8;D[q+2|0]=l;D[q+3|0]=l>>>8;q=!!h;p=q+p|0;h=h-q|0;e=(q<<1)+e|0}F[j+8>>2]=p;F[j+4>>2]=h;F[j>>2]=e}e=1}}if(!e){break r}h=1;Xd(b,o,kd(b,1));break q}h=0;e=F[b+40>>2];if(F[b+20>>2]|!e){break q}F[b+40>>2]=F[e+32>>2];o=F[e+4>>2];F[b+4>>2]=F[e>>2];F[b+8>>2]=o;Wd(b);F[e+12>>2]=0;Ta(F[e+16>>2]);F[e+24>>2]=0;F[e+16>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;Ta(F[e+28>>2]);F[e+28>>2]=0;F[e+20>>2]=0;F[e+24>>2]=0;F[e>>2]=F[b+24>>2];F[b+24>>2]=e}Ga=j+32|0;if(!h){break k}e=F[i+4>>2];if(e>>>0>>0){c=e}F[i+4>>2]=e-c;F[i+8>>2]=F[i+8>>2]+c;F[i>>2]=F[i>>2]+(c<<1);k=k+1|0;if((t|0)!=(k|0)){continue}break}break k}F[b+20>>2]=j}Ga=r+16|0;y:{if(h){Xd(b,J,kd(b,1));break y}c=F[b+40>>2];if(F[b+20>>2]|!c){break y}F[b+40>>2]=F[c+32>>2];e=F[c+4>>2];F[b+4>>2]=F[c>>2];F[b+8>>2]=e;Wd(b);F[c+12>>2]=0;Ta(F[c+16>>2]);F[c+24>>2]=0;F[c+16>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;Ta(F[c+28>>2]);F[c+28>>2]=0;F[c+20>>2]=0;F[c+24>>2]=0;F[c>>2]=F[b+24>>2];F[b+24>>2]=c}Ga=n+32|0;if(!h){break i}c=g>>>0>>0?g:u;I=c+I|0;g=g-c|0;A=(c<<1)+A|0;c=f>>>0>>0?f:u;C=c+C|0;f=f-c|0;z=(c<<2)+z|0;d=d+1|0;if(M>>>0>d>>>0){continue}break}F[i+32>>2]=A;F[i+36>>2]=g;F[i+16>>2]=z;F[i+20>>2]=f;F[i+40>>2]=I;F[i+24>>2]=C}c=0;k=0;j=0;n=Ga-16|0;Ga=n;u=m+2|0;D[u|0]=0;D[u+1|0]=0;f=Fd(b);F[n+8>>2]=F[y+8>>2];d=F[y+4>>2];F[n>>2]=F[y>>2];F[n+4>>2]=d;o=Ga-32|0;Ga=o;z:{if(F[b+20>>2]){break z}g=f+2|0;e=F[b+4>>2];d=g-e|0;if(!((d|0)>=0&(d|0)<=(F[b+8>>2]-e|0))){F[b+20>>2]=4;break z}A:{if((e|0)==(g|0)){F[b+4>>2]=d+g;break A}Wa(e,0,d);e=d;d=F[b+4>>2];F[b+4>>2]=e+d;if(!d){break z}}B:{e=F[n+4>>2];C:{if(e){c=F[n>>2];m=c+(e<<1)|0;g=-2;while(1){h=g+1|0;d=e?c:163632;d=G[d|0]|G[d+1|0]<<8;g=(d<<8|d>>>8)&65535;k=((h|0)!=(g|0))+k|0;j=j+1|0;d=e;h=!!e;e=e-h|0;c=(h<<1)+c|0;if((m|0)!=(c|0)|(d|0)!=(h|0)){continue}break}c=L(k,3)>>>0>>0;d=c?512:256;D[f|0]=d;D[f+1|0]=d>>>8;if(c-1|0){break C}break B}D[f|0]=0;D[f+1|0]=1}F[o+8>>2]=F[n+8>>2];c=F[n+4>>2];F[o>>2]=F[n>>2];F[o+4>>2]=c;k=0;d=0;D:{if(F[b+20>>2]){break D}e=f+2|0;g=e+2|0;f=F[b+4>>2];d=g-f|0;if(!((d|0)>=0&(d|0)<=(F[b+8>>2]-f|0))){F[b+20>>2]=4;d=0;break D}c=F[o+4>>2];E:{F:{if((f|0)==(g|0)){F[b+4>>2]=d+g;break F}Wa(f,0,d);f=F[b+4>>2];F[b+4>>2]=f+d;d=0;if(!f){break E}}d=c<<8|(c&65280)>>>8;D[e|0]=d;D[e+1|0]=d>>>8;f=F[b+20>>2];if(c>>>0>=65536){F[b+20>>2]=f|16;d=0;break D}d=0;if(f){break D}g=(e+(c<<1&131070)|0)+2|0;f=F[b+4>>2];d=g-f|0;if(!((d|0)>=0&(d|0)<=(F[b+8>>2]-f|0))){F[b+20>>2]=4;d=0;break D}G:{if((f|0)==(g|0)){F[b+4>>2]=d+g;break G}Wa(f,0,d);f=F[b+4>>2];F[b+4>>2]=f+d;d=0;if(!f){break E}}if(c){m=c&1;h=F[o+8>>2];d=F[o>>2];H:{if((c|0)==1){g=0;break H}v=c&-2;g=0;while(1){f=e+(g<<1)|0;j=c?d:163632;j=G[j|0]|G[j+1|0]<<8;D[f+2|0]=j;D[f+3|0]=j>>>8;j=e+((g|1)<<1)|0;f=!!c;d=(f<<1)+d|0;r=(c|0)==(f|0);t=r?163632:d;t=G[t|0]|G[t+1|0]<<8;D[j+2|0]=t;D[j+3|0]=t>>>8;g=g+2|0;j=!r;h=j+(f+h|0)|0;d=d+(j<<1)|0;c=c-(f+j|0)|0;k=k+2|0;if((v|0)!=(k|0)){continue}break}}if(m){e=e+(g<<1)|0;f=c?d:163632;f=G[f|0]|G[f+1|0]<<8;D[e+2|0]=f;D[e+3|0]=f>>>8;e=!!c;h=e+h|0;d=(e<<1)+d|0;c=c-e|0}F[o+8>>2]=h;F[o+4>>2]=c;F[o>>2]=d}d=1}}c=d;break z}F[o+24>>2]=F[n+8>>2];c=F[n+4>>2];F[o+16>>2]=F[n>>2];F[o+20>>2]=c;j=0;c=0;I:{if(F[b+20>>2]){break I}J:{e=f;c=e+4|0;f=F[b+4>>2];d=c-f|0;if(!((d|0)>=0&(d|0)<=(F[b+8>>2]-f|0))){break J}K:{L:{if((c|0)==(f|0)){m=c+d|0;F[b+4>>2]=m;break L}c=0;Wa(f,0,d);f=d;d=F[b+4>>2];m=f+d|0;F[b+4>>2]=m;if(!d){break K}}d=F[o+20>>2];if(!d){D[e+2|0]=0;D[e+3|0]=0;c=1;break I}h=F[o+16>>2];v=h+(d<<1)|0;g=-2;c=d;f=h;while(1){k=g+1|0;g=c?f:163632;g=G[g|0]|G[g+1|0]<<8;g=(g<<8|g>>>8)&65535;j=((k|0)!=(g|0))+j|0;k=c;r=!!c;c=c-r|0;f=(r<<1)+f|0;if((v|0)!=(f|0)|(k|0)!=(r|0)){continue}break}c=0;if(F[b+20>>2]){break I}c=e+4|0;f=c-m|0;if(!((f|0)>=0&(f|0)<=(F[b+8>>2]-m|0))){break J}M:{if((c|0)==(m|0)){F[b+4>>2]=f+m;break M}c=0;Wa(m,0,f);g=f;f=F[b+4>>2];F[b+4>>2]=g+f;if(!f){break K}}c=j<<8|(j&65280)>>>8;D[e+2|0]=c;D[e+3|0]=c>>>8;f=F[b+20>>2];if(j>>>0>=65536){F[b+20>>2]=f|16;c=0;break I}c=0;if(f){break I}c=(e+L(j,6)|0)+4|0;g=F[b+4>>2];f=c-g|0;if(!((f|0)>=0&(f|0)<=(F[b+8>>2]-g|0))){break J}N:{if((c|0)==(g|0)){F[b+4>>2]=c+f;break N}c=0;Wa(g,0,f);g=f;f=F[b+4>>2];F[b+4>>2]=g+f;if(!f){break K}}k=-2;j=-1;g=0;while(1){f=d;J=k+1|0;c=d?h:163632;c=G[c|0]|G[c+1|0]<<8;k=(c<<8|c>>>8)&65535;if((J|0)!=(k|0)){j=j+1|0;d=G[e+2|0]|G[e+3|0]<<8;O:{if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){E[123218]=G[164028]|G[164029]<<8;F[61608]=G[164024]|G[164025]<<8|(G[164026]<<16|G[164027]<<24);d=246432;break O}d=(e+L(j,6)|0)+4|0}D[d|0]=c;D[d+1|0]=c>>>8;d=G[e+2|0]|G[e+3|0]<<8;P:{if(((d<<8|d>>>8)&65535)>>>0<=j>>>0){E[123218]=G[164028]|G[164029]<<8;F[61608]=G[164024]|G[164025]<<8|(G[164026]<<16|G[164027]<<24);d=246432;break P}d=(e+L(j,6)|0)+4|0}m=g<<8|(g&65280)>>>8;D[d+4|0]=m;D[d+5|0]=m>>>8}d=G[e+2|0]|G[e+3|0]<<8;Q:{if(((d<<8|d>>>8)&65535)>>>0<=j>>>0){E[123218]=G[164028]|G[164029]<<8;F[61608]=G[164024]|G[164025]<<8|(G[164026]<<16|G[164027]<<24);d=246432;break Q}d=(e+L(j,6)|0)+4|0}D[d+2|0]=c;D[d+3|0]=c>>>8;c=1;g=g+1|0;m=!!f;d=f-m|0;h=(m<<1)+h|0;if((v|0)!=(h|0)|(f|0)!=(m|0)){continue}break}}break I}F[b+20>>2]=4;c=0}}Ga=o+32|0;R:{if(c){Xd(b,u,kd(b,1));break R}d=F[b+40>>2];if(F[b+20>>2]|!d){break R}F[b+40>>2]=F[d+32>>2];e=F[d+4>>2];F[b+4>>2]=F[d>>2];F[b+8>>2]=e;Wd(b);F[d+12>>2]=0;Ta(F[d+16>>2]);F[d+24>>2]=0;F[d+16>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;Ta(F[d+28>>2]);F[d+28>>2]=0;F[d+20>>2]=0;F[d+24>>2]=0;F[d>>2]=F[b+24>>2];F[b+24>>2]=d}Ga=n+16|0;f=c;break d}F[i+32>>2]=A;F[i+36>>2]=g;F[i+16>>2]=z;F[i+20>>2]=f;F[i+40>>2]=I;F[i+24>>2]=C}f=0}Ga=s+32|0;if(!f){break b}X=1;S:{if(!(G[a+4|0]|G[a+5|0]<<8)){E[123216]=H[81816];a=246432;break S}a=a+6|0}Xd(b,a,kd(b,1));break a}a=F[b+40>>2];if(F[b+20>>2]|!a){break a}F[b+40>>2]=F[a+32>>2];c=F[a+4>>2];F[b+4>>2]=F[a>>2];F[b+8>>2]=c;Wd(b);F[a+12>>2]=0;Ta(F[a+16>>2]);F[a+24>>2]=0;F[a+16>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;Ta(F[a+28>>2]);F[a+28>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a>>2]=F[b+24>>2];F[b+24>>2]=a}Ga=i+160|0;return X|0}function bC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=M(0),y=0,z=0,A=0,B=M(0),C=0,E=0;j=Ga-112|0;Ga=j;a:{b:{c:{d:{if(f>>>0<=6){F[j+104>>2]=0;F[j+96>>2]=0;F[j+100>>2]=0;e:{f:{g:{h:{i:{j:{k:{l:{switch(F[a+20>>2]-1|0){case 1:i=F[a+16>>2]+10|0;v=F[a>>2];if(i>>>0>>0){break k}r=v+F[a+4>>2]|0;if(r>>>0>>0){break k}m=r-i|0;if(m>>>0<4){break k}o=G[i|0]|G[i+1|0]<<8;g=o<<8|o>>>8;h=g&1?8:6;l=h+2|0;m:{if(g&8){break m}l=h+4|0;g=g&65535;if(g&64){break m}l=g&128?h+8|0:h}h=0;if(l>>>0>m>>>0){break k}h=1;g=1;if(o&8192){while(1){n:{i=i+l|0;if(v>>>0>i>>>0|i>>>0>r>>>0){break n}h=r-i|0;if(h>>>0<4){break n}o=G[i|0]|G[i+1|0]<<8;m=o<<8|o>>>8;s=m&1?8:6;l=s+2|0;o:{if(m&8){break o}l=s+4|0;m=m&65535;if(m&64){break o}l=m&128?s+8|0:s}if(h>>>0>>0){break n}g=g+1|0;if(o&8192){continue}}break}h=(g|0)>0?g:0;if((g|0)<=0){break k}}while(1){k=((k>>>1|0)+k|0)+8|0;if(k>>>0<=h>>>0){continue}break};p:{if(k>>>0<=268435454){l=nb(k<<4);if(l){break p}}F[j+96>>2]=-1;i=0;break e}F[j+96>>2]=k;F[j+104>>2]=l;i=0;o=Wa(l,0,h<<4);F[j+100>>2]=h;if((g|0)<=0){break j}if((h|0)!=1){l=h&2147483646;m=0;while(1){q:{if(h>>>0<=i>>>0){g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break q}g=o+(i<<4)|0}F[g+4>>2]=0;F[g+8>>2]=0;D[g|0]=0;D[g+12|0]=0;g=i|1;r:{if(g>>>0>=h>>>0){g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break r}g=o+(g<<4)|0}F[g+4>>2]=0;F[g+8>>2]=0;D[g|0]=0;D[g+12|0]=0;i=i+2|0;m=m+2|0;if((l|0)!=(m|0)){continue}break}}if(!(h&1)){break g}if(h>>>0>i>>>0){break i}g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break h;case 0:break l;default:break j}}F[j+24>>2]=F[a+16>>2];F[j+36>>2]=F[a+8>>2];g=F[a+4>>2];F[j+28>>2]=F[a>>2];F[j+32>>2]=g;F[61902]=0;h=ha(695,j+24|0,j+96|0,e|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break d}if(!h){break e}k=F[j+96>>2];h=F[j+100>>2];break g}F[j+100>>2]=h}g=h+4|0;g=(g|0)>0?g:0;break f}g=o+(i<<4)|0}F[g+4>>2]=0;F[g+8>>2]=0;D[g|0]=0;D[g+12|0]=0}i=0;if((k|0)<0){break e}g=h+4|0;g=(g|0)>0?g:0}o=g;if(g>>>0>k>>>0){i=k;while(1){i=((i>>>1|0)+i|0)+8|0;if(o>>>0>=i>>>0){continue}break}s:{if(!(i>>>0>>0|i>>>0>268435454)){g=ob(F[j+104>>2],i<<4);if(g){break s}}F[j+96>>2]=-1;i=0;break e}F[j+96>>2]=i;F[j+104>>2]=g;h=F[j+100>>2]}if(h>>>0>>0){Wa(F[j+104>>2]+(h<<4)|0,0,o-h<<4)}F[j+100>>2]=o;y=F[j+104>>2];q=o-4|0;t=y+(q<<4)|0;F[j+80>>2]=t;F[j+88>>2]=0;g=o-q|0;g=g>>>0>o>>>0?0:g;z=g>>>0<4?g:4;F[j+84>>2]=z;t:{u:{v:{w:{x:{y:{z:{if(!z){g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;F[61609]=0;F[61610]=0;D[246432]=0;D[246444]=0;break z}D[t|0]=0;F[t+4>>2]=0;F[t+8>>2]=0;D[t+12|0]=0;if((z|0)!=1){break y}}g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;F[61609]=0;F[61610]=0;D[246432]=0;D[246444]=0;break x}D[t+16|0]=0;F[t+20>>2]=0;F[t+24>>2]=0;D[t+28|0]=0;if(z>>>0>2){break w}}g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;F[61609]=0;F[61610]=0;D[246432]=0;D[246444]=0;m=0;break v}D[t+32|0]=0;F[t+36>>2]=0;F[t+40>>2]=0;D[t+44|0]=0;if((z|0)!=3){break u}m=1}g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break t}m=1;g=t+48|0}F[g+4>>2]=0;F[g+8>>2]=0;l=0;D[g|0]=0;D[g+12|0]=0;h=F[a+12>>2];n=F[c+4>>2];u=F[n>>2];A:{B:{if(h>>>0>>0){g=F[n+20>>2];g=((h|0)<0?163632:F[(g?g:163632)+12>>2]+(h<<2)|0)+2|0;break B}if(I[n+4>>2]<=h>>>0){break A}g=F[n+20>>2];g=(h-u<<1)+((u|0)<0?163632:F[(g?g:163632)+12>>2]+(u<<2)|0)|0}g=G[g|0]|G[g+1|0]<<8;l=(g<<8|g>>>8)<<16>>16}k=F[a+16>>2];w=F[c+8>>2];A=F[w>>2];C:{D:{if(A>>>0>h>>>0){g=F[w+20>>2];g=((h|0)<0?163632:F[(g?g:163632)+12>>2]+(h<<2)|0)+2|0;break D}i=0;if(I[w+4>>2]<=h>>>0){break C}g=F[w+20>>2];g=(h-A<<1)+((A|0)<0?163632:F[(g?g:163632)+12>>2]+(A<<2)|0)|0}g=G[g|0]|G[g+1|0]<<8;i=(g<<8|g>>>8)<<16>>16}r=G[k+2|0]|G[k+3|0]<<8;s=G[k+8|0]|G[k+9|0]<<8;E:{F:{G:{H:{I:{g=h;p=F[n+4>>2];if(g>>>0

>>0){break I}v=F[n+8>>2];if(!v){break G}k=F[n+12>>2];if((p|0)!=(v|0)){break H}g=p-1|0;if(!p){n=0;if(h>>>0>=k>>>0|g>>>0>=k>>>0){break E}while(1)continue}if(h>>>0>>0){break I}n=0;break E}k=F[n+20>>2];n=F[(k?k:163632)+12>>2];k=u-1|0;g=g>>>0>>0?g:k;g=(g|0)<0?163632:n+(g<<2)|0;g=G[g|0]|G[g+1|0]<<8;n=(g<<8|g>>>8)&65535;break E}if(h>>>0>>0){break F}n=0;break E}n=F[n+16>>2];break E}g=F[n+20>>2];n=(p-u<<1)+((u|0)<0?163632:F[(g?g:163632)+12>>2]+(u<<2)|0)|0;k=h-p|0;g=v+(p^-1)|0;g=n+((g>>>0>k>>>0?k:g)<<1)|0;g=G[g|0]|G[g+1|0]<<8;n=(g<<8|g>>>8)&65535}J:{K:{L:{M:{N:{g=h;u=F[w+4>>2];if(g>>>0>>0){break N}v=F[w+8>>2];if(!v){break L}p=F[w+12>>2];if((u|0)!=(v|0)){break M}g=u-1|0;if(!u){k=0;if(h>>>0>=p>>>0|g>>>0>=p>>>0){break J}while(1)continue}if(h>>>0

>>0){break N}k=0;break J}k=F[w+20>>2];p=F[(k?k:163632)+12>>2];k=A-1|0;g=g>>>0>>0?g:k;g=(g|0)<0?163632:p+(g<<2)|0;g=G[g|0]|G[g+1|0]<<8;k=(g<<8|g>>>8)&65535;break J}if(h>>>0

>>0){break K}k=0;break J}k=F[w+16>>2];break J}g=F[w+20>>2];p=(u-A<<1)+((A|0)<0?163632:F[(g?g:163632)+12>>2]+(A<<2)|0)|0;k=h-u|0;g=v+(u^-1)|0;g=p+((g>>>0>k>>>0?k:g)<<1)|0;g=G[g|0]|G[g+1|0]<<8;k=(g<<8|g>>>8)&65535}l=((r<<8|r>>>8)<<16>>16)-l|0;i=i+((s<<8|s>>>8)<<16>>16)|0;O:{P:{Q:{R:{S:{T:{U:{if(!z){g=F[40909];F[61608]=F[40908];F[61609]=g;g=F[40911];F[61610]=F[40910];F[61611]=g;J[61609]=l|0;break U}J[(y+(q<<4)|0)+4>>2]=l|0;if((z|0)!=1){break T}}g=F[40909];F[61608]=F[40908];F[61609]=g;g=F[40911];F[61610]=F[40910];F[61611]=g;J[61609]=l+n>>>0;break S}J[t+20>>2]=l+n>>>0;if(m){break R}}g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;J[61610]=i|0;break Q}J[t+40>>2]=i|0;if((z|0)!=3){break P}}g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;h=F[a+12>>2];g=246432;break O}g=t+48|0}J[g+8>>2]=i-k|0;l=F[c>>2];i=0;F[j+72>>2]=0;F[j+16>>2]=0;F[j+68>>2]=o;F[j+64>>2]=y;F[61902]=0;g=F[j+68>>2];F[j+8>>2]=F[j+64>>2];F[j+12>>2]=g;h=da(696,l|0,h|0,b|0,j+8|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break c}if(!h){break e}V:{W:{switch(F[a+20>>2]-1|0){case 0:F[j+32>>2]=0;F[61902]=0;C=j,E=JC(F[j+100>>2],F[j+104>>2]),F[C+24>>2]=E;F[j+28>>2]=Ha;ea(697,d|0,j+24|0);a=F[61902];F[61902]=0;if((a|0)!=1){break V}i=Z()|0;Y()|0;break a;case 1:X:{i=F[a+16>>2]+10|0;y=F[a>>2];Y:{if(i>>>0>>0){break Y}p=y+F[a+4>>2]|0;if(p>>>0>>0){break Y}a=p-i|0;if(a>>>0<4){break Y}l=G[i|0]|G[i+1|0]<<8;h=l<<8|l>>>8;m=h&1?8:6;g=m+2|0;Z:{if(h&8){break Z}g=m+4|0;h=h&65535;if(h&64){break Z}g=h&128?m+8|0:m}if(a>>>0>>0){break Y}_:{if(!(l&8192)){break _}h=i;a=g;while(1){h=a+h|0;if(y>>>0>h>>>0|h>>>0>p>>>0){break _}l=p-h|0;if(l>>>0<4){break _}o=G[h|0]|G[h+1|0]<<8;m=o<<8|o>>>8;k=m&1?8:6;a=k+2|0;$:{if(m&8){break $}a=k+4|0;m=m&65535;if(m&64){break $}a=m&128?k+8|0:k}if(a>>>0>l>>>0){break _}if(o&8192){continue}break}}v=f+1|0;n=0;while(1){F[j+56>>2]=0;F[j+48>>2]=0;F[j+52>>2]=0;a=G[i+2|0]|G[i+3|0]<<8;F[61902]=0;Ae(j+24|0,c,(a<<8|a>>>8)&65535,0);a=F[61902];F[61902]=0;if((a|0)==1){break b}F[61902]=0;h=ia(672,j+24|0,b|0,c|0,j+48|0,e|0,v|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break b}l=i;a=h^1;h=F[j+52>>2];o=a|h>>>0<4;if(!o){if(G[l|0]&2){r=F[j+56>>2];m=r+(h<<4)|0;k=m+-64|0;aa:{ba:{ca:{da:{ea:{fa:{s=F[j+84>>2];ga:{if(!s){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=F[k+4>>2];F[61608]=F[k>>2];F[61609]=a;a=F[k+12>>2];F[61610]=F[k+8>>2];F[61611]=a;k=h-3|0;break ga}a=F[k+4>>2];q=F[j+80>>2];i=q;F[i>>2]=F[k>>2];F[i+4>>2]=a;a=F[k+12>>2];F[i+8>>2]=F[k+8>>2];F[i+12>>2]=a;k=h-3|0;if((s|0)!=1){break fa}}a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;i=r+(k<<4)|0;a=F[i+4>>2];F[61608]=F[i>>2];F[61609]=a;a=F[i+12>>2];F[61610]=F[i+8>>2];F[61611]=a;h=h-2|0;break ea}i=r+(k<<4)|0;a=F[i+4>>2];F[q+16>>2]=F[i>>2];F[q+20>>2]=a;a=F[i+12>>2];F[q+24>>2]=F[i+8>>2];F[q+28>>2]=a;h=h-2|0;if(s>>>0>2){break da}}a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;i=r+(h<<4)|0;a=F[i+4>>2];F[61608]=F[i>>2];F[61609]=a;a=F[i+12>>2];F[61610]=F[i+8>>2];F[61611]=a;h=m-16|0;break ca}i=r+(h<<4)|0;a=F[i+4>>2];F[q+32>>2]=F[i>>2];F[q+36>>2]=a;a=F[i+12>>2];F[q+40>>2]=F[i+8>>2];F[q+44>>2]=a;h=m-16|0;if((s|0)!=3){break ba}}a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;i=246432;break aa}i=q+48|0}a=F[h+4>>2];F[i>>2]=F[h>>2];F[i+4>>2]=a;a=F[h+12>>2];F[i+8>>2]=F[h+8>>2];F[i+12>>2]=a}F[61902]=0;vo(l,j+48|0);a=F[61902];F[61902]=0;if((a|0)==1){break b}ha:{if(I[j+100>>2]<=n>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;i=246432;break ha}i=F[j+104>>2]+(n<<4)|0}q=F[j+52>>2];ia:{if(!q){break ia}a=0;r=F[j+56>>2];if((q|0)!=1){m=q&-2;k=0;while(1){x=J[i+8>>2];h=a<<4;s=h+r|0;J[s+4>>2]=J[i+4>>2]+J[s+4>>2];J[s+8>>2]=x+J[s+8>>2];x=J[i+8>>2];h=r+(h|16)|0;J[h+4>>2]=J[i+4>>2]+J[h+4>>2];J[h+8>>2]=x+J[h+8>>2];a=a+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}if(!(q&1)){break ia}x=J[i+8>>2];a=r+(a<<4)|0;J[a+4>>2]=J[i+4>>2]+J[a+4>>2];J[a+8>>2]=x+J[a+8>>2]}a=G[l|0]|G[l+1|0]<<8;ja:{if(a&512){break ja}ka:{if(a&256){a=G[l+4|0]|G[l+5|0]<<8;i=(a<<8|a>>>8)&65535;a=G[l+6|0]|G[l+7|0]<<8;a=(a<<8|a>>>8)&65535;break ka}i=G[l+4|0];a=G[l+5|0]}if(I[d+4>>2]<=i>>>0){break ja}m=F[j+52>>2];if(m>>>0<=a>>>0){break ja}h=F[d+8>>2]+(i<<4)|0;i=F[j+56>>2];a=i+(a<<4)|0;B=M(J[h+8>>2]-J[a+8>>2]);x=M(J[h+4>>2]-J[a+4>>2]);h=0;while(1){la:{if(h>>>0>=m>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break la}a=i+(h<<4)|0}J[a+4>>2]=x+J[a+4>>2];J[a+8>>2]=B+J[a+8>>2];h=h+1|0;if((m|0)!=(h|0)){continue}break}}F[j+32>>2]=0;F[j+24>>2]=F[j+56>>2];F[61902]=0;i=F[j+52>>2];a=q-4|0;F[j+28>>2]=a>>>0>i>>>0?i:a;ea(697,d|0,j+24|0);a=F[61902];F[61902]=0;if((a|0)==1){break X}n=n+1|0}i=0;F[j+52>>2]=0;Ta(F[j+56>>2]);if(o){break e}if(!(G[l+1|0]&32)){break Y}i=g+l|0;if(y>>>0>i>>>0|i>>>0>p>>>0){break Y}a=p-i|0;if(a>>>0<4){break Y}g=G[i|0]|G[i+1|0]<<8;h=g<<8|g>>>8;m=h&1?8:6;g=m+2|0;ma:{if(h&8){break ma}g=m+4|0;h=h&65535;if(h&64){break ma}g=h&128?m+8|0:m}if(a>>>0>>0){break Y}if(l){continue}break}}F[61902]=0;ea(697,d|0,j+80|0);a=F[61902];F[61902]=0;if((a|0)!=1){break V}i=Z()|0;Y()|0;break a}break b;default:break W}}F[61902]=0;ea(697,d|0,j+80|0);a=F[61902];F[61902]=0;if((a|0)==1){break c}}i=1;if(f){break e}na:{if(!F[j+84>>2]){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break na}a=F[j+80>>2]}x=J[a+4>>2];if(x==M(0)){break e}a=F[d+4>>2];if(!a){break e}h=0;while(1){oa:{if(a>>>0<=h>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=F[d+4>>2];b=246432;break oa}b=F[d+8>>2]+(h<<4)|0}J[b+4>>2]=J[b+4>>2]-x;J[b+8>>2]=J[b+8>>2]+M(0);h=h+1|0;if(a>>>0>h>>>0){continue}break}}F[j+100>>2]=0;Ta(F[j+104>>2])}Ga=j+112|0;return i|0}i=Z()|0;Y()|0;break a}i=Z()|0;Y()|0;break a}i=Z()|0;Y()|0;F[j+52>>2]=0;Ta(F[j+56>>2])}F[j+100>>2]=0;Ta(F[j+104>>2]);$(i|0);V()}function ZB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=M(0),m=0,n=0,o=0,p=M(0),q=M(0),r=M(0),s=M(0),t=0,u=0,v=0,w=M(0),x=0,y=0,z=0,A=0,B=0,C=0,E=0,H=0,K=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,W=0;g=Ga-176|0;Ga=g;k=1;a:{f=F[c+68>>2];if(!f){break a}o=F[a>>2];e=o?o:163632;e=I[e+16>>2]<20?163632:F[e+12>>2];i=G[e+4|0]|G[e+5|0]<<8;if((f|0)!=((i<<8|i>>>8)&65535)){break a}f=G[e+12|0]|G[e+13|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){break a}f=e+20|0;b:{if(D[e+15|0]&1){f=f+(b<<2)|0;b=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break b}f=f+(b<<1)|0;b=G[f|0]|G[f+1|0]<<8;b=((b<<8|b>>>8)&65535)<<1;f=G[f+2|0]|G[f+3|0]<<8;f=((f<<8|f>>>8)&65535)<<1}i=F[o+16>>2];e=G[e+16|0]|G[e+17|0]<<8|(G[e+18|0]<<16|G[e+19|0]<<24);e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+b|0;j=i-e|0;i=j>>>0>i>>>0?0:j;b=f-b|0;b=b>>>0>i>>>0?i:b;c:{if(b>>>0<4){b=0;e=0;break c}e=e+F[o+12>>2]|0}F[g+168>>2]=0;F[g+164>>2]=b;F[g+160>>2]=e;b=I[g+164>>2]<4?163632:F[g+160>>2];if(!(G[b|0]|G[b+1|0]<<8)){break a}F[g+152>>2]=0;F[g+144>>2]=0;F[g+148>>2]=0;F[g+136>>2]=0;F[g+128>>2]=0;F[g+132>>2]=0;b=F[a>>2];b=b?b:163632;b=I[b+16>>2]<20?163632:F[b+12>>2];b=G[b+4|0]|G[b+5|0]<<8;F[g+24>>2]=F[g+168>>2];F[61902]=0;e=F[g+164>>2];F[g+16>>2]=F[g+160>>2];F[g+20>>2]=e;b=da(699,g+16|0,(b<<8|b>>>8)&65535,g+144|0,g+112|0)|0;e=F[61902];F[61902]=0;d:{e:{f:{g:{if((e|0)!=1){if(!b){break e}b=0;f=F[d+4>>2];if((f|0)<=0){break f}m=(f|0)>0?f:0;while(1){b=((b>>>1|0)+b|0)+8|0;if(m>>>0>=b>>>0){continue}break}if(b>>>0>268435454){break g}u=nb(b<<4);if(!u){u=0;break g}k=Wa(u,0,m<<4);if((f|0)<=0){break g}i=F[d>>2];e=0;while(1){h:{if(e>>>0>=f>>>0){b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=246432;break h}b=i+(e<<4)|0}j=F[b+4>>2];o=k+(e<<4)|0;F[o>>2]=F[b>>2];F[o+4>>2]=j;j=F[b+12>>2];F[o+8>>2]=F[b+8>>2];F[o+12>>2]=j;e=e+1|0;if((m|0)!=(e|0)){continue}break}A=m;break g}e=Z()|0;Y()|0;break d}i:{if((f|0)>0){while(1){n=((n>>>1|0)+n|0)+8|0;if(n>>>0<=m>>>0){continue}break}b=0;if(n>>>0>268435454){m=0;break f}b=nb(n<<4);if(b){break i}}m=0;b=0;break f}Wa(b,0,m<<4)}j:{if(!f){o=F[40908];break j}o=F[40908];e=0;k=0;while(1){k:{if(e>>>0>=f>>>0){f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break k}f=F[d>>2]+(e<<4)|0}l:{if(!G[f+12|0]){break l}m:{if((k|0)<0){break m}i=k;f=x+1|0;j=(f|0)>0?f:0;n:{if(i>>>0>=j>>>0){f=z;break n}while(1){i=((i>>>1|0)+i|0)+8|0;if(j>>>0>=i>>>0){continue}break}f=k>>>0>i>>>0;k=-1;if(i>>>0>1073741822|f){break m}f=ob(z,i<<2);if(!f){break m}}if(j>>>0>x>>>0){Wa((x<<2)+f|0,0,j-x<<2)}F[61608]=o;k=((j<<2)+f|0)-4|0;if((k|0)!=246432){F[k>>2]=e}k=i;x=j;z=f;break l}F[61608]=o}e=e+1|0;f=F[d+4>>2];if(e>>>0>>0){continue}break}}a=F[a>>2];a=a?a:163632;a=I[a+16>>2]<20?163632:F[a+12>>2];e=G[a+4|0]|G[a+5|0]<<8;f=(e<<8|e>>>8)&65535;e=G[a+6|0]|G[a+7|0]<<8;Q=L(f,(e<<8|e>>>8)&65535);e=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);R=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;S=m&2147483644;H=m&3;T=F[c+68>>2];U=F[c+72>>2];e=F[g+140>>2];W=m-1>>>0<3;while(1){o:{F[g+104>>2]=0;F[g+8>>2]=0;F[g+100>>2]=Q;F[g+96>>2]=R;F[61902]=0;a=F[g+100>>2];F[g>>2]=F[g+96>>2];F[g+4>>2]=a;l=uo(e,U,T,g);a=F[61902];F[61902]=0;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((a|0)!=1){if(l==M(0)){break p}a=F[g+112>>2];c=G[a+2|0]|G[a+3|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=163632}a=a+F[g+124>>2]|0;F[g+92>>2]=a;c=F[g+128>>2];if(c>>>0>a>>>0){break y}c=c+F[g+132>>2]|0;if(c>>>0>>0){break y}i=c-a|0;e=F[g+140>>2];c=G[e|0]|G[e+1|0]<<8;f=(c<<8|c>>>8)&65535;if(i>>>0>>0){break y}c=0;F[g+88>>2]=0;F[g+84>>2]=f;F[g+80>>2]=a;F[g+72>>2]=0;F[g+64>>2]=0;F[g+68>>2]=0;t=0;n=0;B:{if(G[e+2|0]&32){F[61902]=0;a=ha(701,g+92|0,g- -64|0,g+80|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break A}if(!a){break B}n=F[g+68>>2];t=F[g+72>>2]}B=F[d+4>>2];a=F[g+148>>2];h=F[g+152>>2];F[g+56>>2]=0;F[g+48>>2]=0;F[g+52>>2]=0;i=n?n:a;k=i?i:B;a=(k|0)>0?k:0;f=(k|0)<=0;C:{D:{if(f){break D}while(1){c=((c>>>1|0)+c|0)+8|0;if(a>>>0>=c>>>0){continue}break}E:{if(c>>>0<=1073741822){e=nb(c<<2);if(e){break E}}F[g+48>>2]=-1;break C}F[g+48>>2]=c;F[g+56>>2]=e;if(f){break D}Wa(e,0,a<<2)}F[g+52>>2]=a}F[61902]=0;c=sh(g+92|0,g+48|0,g+80|0);e=F[61902];F[61902]=0;if((e|0)!=1){e=1;if(!c){break q}e=0;F[g+40>>2]=0;F[g+32>>2]=0;F[g+36>>2]=0;F:{G:{if(f){break G}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}H:{if(e>>>0<=1073741822){c=nb(e<<2);if(c){break H}}F[g+32>>2]=-1;break F}F[g+32>>2]=e;F[g+40>>2]=c;if(f){break G}Wa(c,0,a<<2)}F[g+36>>2]=a}F[61902]=0;a=sh(g+92|0,g+32|0,g+80|0);c=F[61902];F[61902]=0;if((c|0)==1){break z}e=1;if(!a){break r}if(!m){break s}f=0;e=0;c=0;if(!W){break x}break t}e=Z()|0;Y()|0;break w}k=0;F[g+68>>2]=0;Ta(F[g+72>>2]);break o}e=Z()|0;Y()|0;break u}e=Z()|0;Y()|0;break v}e=Z()|0;Y()|0;F[g+36>>2]=0;Ta(F[g+40>>2]);break w}k=0;break o}while(1){a=e<<4;j=a+b|0;F[j+4>>2]=0;F[j+8>>2]=0;D[j|0]=0;D[j+12|0]=0;j=(a|16)+b|0;F[j+4>>2]=0;F[j+8>>2]=0;D[j|0]=0;D[j+12|0]=0;j=(a|32)+b|0;F[j+4>>2]=0;F[j+8>>2]=0;D[j|0]=0;D[j+12|0]=0;a=(a|48)+b|0;F[a+4>>2]=0;F[a+8>>2]=0;D[a|0]=0;D[a+12|0]=0;e=e+4|0;c=c+4|0;if((S|0)!=(c|0)){continue}break}break t}F[g+52>>2]=0;Ta(F[g+56>>2])}F[g+68>>2]=0;Ta(F[g+72>>2])}Ta(z);Ta(b);Ta(u);break d}if(!H){break s}while(1){a=(e<<4)+b|0;F[a+4>>2]=0;F[a+8>>2]=0;D[a|0]=0;D[a+12|0]=0;e=e+1|0;f=f+1|0;if((H|0)!=(f|0)){continue}break}}if(k){t=n?t:h;e=0;n=F[g+40>>2];h=F[g+36>>2];v=F[g+56>>2];y=F[g+52>>2];while(1){c=e;I:{if(!i){break I}if(e>>>0>=i>>>0){F[61608]=o;c=o;break I}c=F[t+(e<<2)>>2]}j=c>>>0>>0;J:{if(!j){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break J}a=(c<<4)+b|0}D[a|0]=1;K:{if(e>>>0>=y>>>0){F[61608]=o;a=o;break K}a=F[v+(e<<2)>>2]}L:{if(!j){f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break L}f=(c<<4)+b|0}J[f+4>>2]=M(M(a|0)*l)+J[f+4>>2];M:{if(e>>>0>=h>>>0){F[61608]=o;a=o;break M}a=F[n+(e<<2)>>2]}N:{if(!j){c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break N}c=(c<<4)+b|0}J[c+8>>2]=M(M(a|0)*l)+J[c+8>>2];e=e+1|0;if((k|0)!=(e|0)){continue}break}}y=0;a=0;if(x){while(1){n=0;e=a;v=F[(y<<2)+z>>2];O:{if(e>>>0>v>>>0){break O}while(1){P:{if(e>>>0>=m>>>0){c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break P}c=(e<<4)+b|0}n=!G[c|0]+n|0;e=e+1|0;if(v>>>0>=e>>>0){continue}break}if(!n){break O}e=a;if(v-e>>>0>>0){break O}Q:while(1){c=e;e=e>>>0>>0?e+1|0:a;C=c>>>0>>0;R:{if(!C){f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break R}f=(c<<4)+b|0}if(!G[f|0]){continue}S:{if(e>>>0>=m>>>0){f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break S}f=(e<<4)+b|0}if(G[f|0]){continue}e=c;while(1){k=e>>>0>>0;i=e+1|0;T:{if(e>>>0>=m>>>0){e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;f=246432;break T}f=(e<<4)+b|0}e=k?i:a;if(G[f|0]){continue}E=e>>>0>>0;U:{if(!E){f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;f=246432;break U}f=(e<<4)+b|0}if(!G[f|0]){continue}break}f=e<<4;k=f+b|0;t=c<<4;i=t+b|0;j=f+u|0;t=t+u|0;f=c;while(1){f=f>>>0>>0?f+1|0:a;if((f|0)==(e|0)){continue Q}K=f>>>0>>0;V:{if(!K){h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432;break V}h=(f<<4)+u|0}l=J[h+4>>2];N=c>>>0>>0;if(N){h=t}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}p=J[h+4>>2];O=e>>>0>>0;if(O){h=j}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}q=J[h+4>>2];if(C){h=i}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}s=J[h+4>>2];if(E){h=k}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}w=J[h+4>>2];r=w==s?s:M(0);W:{if(p==q){break W}r=pq?s:w;if(l>=(p>=q?p:q)){break W}l=M(M(l-p)/M(q-p));r=M(M(M(M(1)-l)*s)+M(l*w))}l=r;P=f>>>0>>0;X:{if(!P){h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432;break X}h=(f<<4)+b|0}J[h+4>>2]=l;Y:{if(!K){h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432;break Y}h=(f<<4)+u|0}l=J[h+8>>2];if(N){h=t}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}p=J[h+8>>2];if(O){h=j}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}q=J[h+8>>2];if(C){h=i}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}s=J[h+8>>2];if(E){h=k}else{h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432}w=J[h+8>>2];r=w==s?s:M(0);Z:{if(p==q){break Z}r=pq?s:w;if(l>=(p>=q?p:q)){break Z}l=M(M(l-p)/M(q-p));r=M(M(M(M(1)-l)*s)+M(l*w))}l=r;_:{if(!P){h=F[40911];F[61610]=F[40910];F[61611]=h;h=F[40909];F[61608]=F[40908];F[61609]=h;h=246432;break _}h=(f<<4)+b|0}J[h+8>>2]=l;n=n-1|0;if(n){continue}break}break}}a=v+1|0;y=y+1|0;if((x|0)!=(y|0)){continue}break}}if(B){c=F[d>>2];f=F[d+4>>2];e=0;while(1){k=e>>>0>>0;$:{if(!k){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break $}a=(e<<4)+b|0}l=J[a+4>>2];i=e>>>0>>0;aa:{if(!i){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break aa}a=c+(e<<4)|0}J[a+4>>2]=l+J[a+4>>2];ba:{if(!k){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break ba}a=(e<<4)+b|0}l=J[a+8>>2];ca:{if(!i){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break ca}a=c+(e<<4)|0}J[a+8>>2]=l+J[a+8>>2];e=e+1|0;if((B|0)!=(e|0)){continue}break}}e=0}F[g+36>>2]=0;Ta(F[g+40>>2])}k=0;F[g+52>>2]=0;Ta(F[g+56>>2]);F[g+68>>2]=0;Ta(F[g+72>>2]);if(e){break o}}a=F[g+140>>2];c=G[a|0]|G[a+1|0]<<8;F[g+124>>2]=F[g+124>>2]+((c<<8|c>>>8)&65535);k=1;c=G[a+2|0]|G[a+3|0]<<8;e=c>>>5&2|c>>>7&1;c=F[g+120>>2]<<1;e=(a+L(e,c)|0)+4|0;F[g+140>>2]=e;a=F[g+116>>2]+1|0;F[g+116>>2]=a;f=F[g+112>>2];f=G[f|0]|G[f+1|0]<<8;if(a>>>0>=((f<<8|f>>>8)&4095)>>>0){break o}a=F[g+128>>2];if(a>>>0>e>>>0){break o}a=a+F[g+132>>2]|0;if(a>>>0>>0){break o}f=a-e|0;if(f>>>0<4){break o}a=G[e+2|0]|G[e+3|0]<<8;a=L(c,a>>>5&2|a>>>7&1)+4|0;c=G[e|0]|G[e+1|0]<<8;c=(c<<8|c>>>8)&65535;if(f>>>0<(a>>>0>c>>>0?a:c)>>>0){break o}if(a){continue}}break}Ta(z);Ta(b);Ta(u)}F[g+148>>2]=0;Ta(F[g+152>>2]);break a}F[g+148>>2]=0;Ta(F[g+152>>2]);$(e|0);V()}Ga=g+176|0;return k|0}function sm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if(!b){break b}k=ib(1,216);if(!k){break b}F[k+8>>2]=0;F[k>>2]=1;F[k+4>>2]=1;j=a?a:245244;if(F[j+4>>2]){F[j+4>>2]=0}F[k+12>>2]=j;i=k+16|0;if(tm(i,1,j,b,c,d,e,f,g)){b=Ga-160|0;Ga=b;f=k+60|0;m=Wa(f+24|0,0,100);F[b>>2]=j;a=F[i+4>>2];F[b+4>>2]=F[i>>2];F[b+8>>2]=a;a=F[i+12>>2];F[b+12>>2]=F[i+8>>2];F[b+16>>2]=a;F[b+20>>2]=F[i+16>>2];c=Ga-32|0;Ga=c;a=b+24|0;Wa(a+4|0,0,92);F[a>>2]=j;d=F[i+4>>2];F[a+4>>2]=F[i>>2];F[a+8>>2]=d;d=F[i+12>>2];F[a+12>>2]=F[i+8>>2];F[a+16>>2]=d;F[a+20>>2]=F[i+16>>2];F[c+28>>2]=3;F[c+24>>2]=3;d=F[a+12>>2];e=F[a+8>>2];F[61902]=0;Da(741,e|0,d|0,c+28|0,c+12|0,c+24|0,c|0);d=F[61902];F[61902]=0;c:{d:{e:{if((d|0)!=1){d=F[a>>2];F[61902]=0;d=ia(742,d|0,1196643650,F[c+28>>2],c+12|0,a+36|0,a+24|0)|0;e=F[61902];F[61902]=0;f:{if((e|0)==1){break f}D[a+32|0]=(d|0)!=0;d=F[a>>2];e=F[a+36>>2];F[61902]=0;ia(743,d|0,1196643650,e|0,F[c+24>>2],c|0,a+44|0)|0;d=F[61902];F[61902]=0;if((d|0)==1){break f}d=F[a>>2];F[61902]=0;d=ia(742,d|0,1196445523,F[c+28>>2],c+12|0,a+40|0,a+28|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break f}D[a+33|0]=(d|0)!=0;d=F[a>>2];e=F[a+40>>2];F[61902]=0;ia(743,d|0,1196445523,e|0,F[c+24>>2],c|0,a+48|0)|0;d=F[61902];F[61902]=0;if((d|0)!=1){break e}}break d}break d}Ga=c+32|0;break c}b=Z()|0;Y()|0;F[a+88>>2]=0;Ta(F[a+92>>2]);F[a+92>>2]=0;F[a+84>>2]=0;F[a+88>>2]=0;F[a+76>>2]=0;Ta(F[a+80>>2]);F[a+80>>2]=0;F[a+72>>2]=0;F[a+76>>2]=0;F[a- -64>>2]=0;Ta(F[a+68>>2]);F[a+68>>2]=0;F[a+60>>2]=0;F[a+64>>2]=0;$(b|0);V()}F[b+124>>2]=0;F[b+128>>2]=0;F[b+120>>2]=j;F[b+132>>2]=0;F[b+136>>2]=0;F[b+140>>2]=0;F[b+144>>2]=0;F[61902]=0;c=fa(774,j|0)|0;d=F[61902];F[61902]=0;g:{h:{if((d|0)==1){break h}i:{if(!c){break i}h=1;if((F[i>>2]&-2)==4){break i}F[61902]=0;c=fa(775,j|0)|0;d=F[61902];F[61902]=0;if((d|0)==1){break h}h=!c}c=G[b+148|0]&-2|h;D[b+148|0]=c;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{a=F[b+8>>2];if((a|0)<=1298231906){if((a|0)<=1198877297){if((a|0)<=1130918514){if((a|0)<=1114139506){if((a|0)<=1113681e3){if((a|0)==1097100397|(a|0)==1097363309){break k}if((a|0)==1098015074){break t}d=128212;break j}if((a|0)==1113681001|(a|0)==1113683051){break k}if((a|0)==1113943655){break p}d=128212;break j}if((a|0)<=1114990691){if((a|0)==1114139507|(a|0)==1114792296){break k}d=128212;if((a|0)==1114990441){break k}break j}if((a|0)==1114990692|(a|0)==1130457965){break k}d=128212;if((a|0)==1130914157){break k}break j}if((a|0)<=1164409199){if((a|0)<=1147756906){if((a|0)==1130918515|(a|0)==1131441518){break k}if((a|0)==1147500129){break p}d=128212;break j}if((a|0)==1147756907|(a|0)==1148151666){break k}d=128212;if((a|0)==1148547180){break k}break j}if((a|0)<=1198485094){if((a|0)==1164409200){break k}d=128212;if((a|0)==1164736877){break k}break j}d=128212;switch(a-1198485095|0){case 1:case 2:case 3:case 4:case 5:break j;case 0:case 6:break k;default:break l}}if((a|0)<=1265202290){if((a|0)<=1247901280){if((a|0)<=1214603889){d=128212;u:{switch(a-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break j;case 8:break k;case 0:break r;default:break u}}if((a|0)==1198877298|(a|0)==1198879349){break p}break j}d=128212;switch(a-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break j;case 0:case 9:break k;default:break q}}if((a|0)<=1265131889){if((a|0)==1247901281){break k}d=128212;if((a|0)==1264675945){break k}break j}if((a|0)==1265131890){break k}if((a|0)==1265134962){break o}d=128212;if((a|0)==1265135466){break k}break j}if((a|0)<=1281977697){if((a|0)<=1281453664){if((a|0)==1265202291){break k}if((a|0)==1265525857){break p}d=128212;if((a|0)==1265920105){break k}break j}if((a|0)==1281453665){break k}if((a|0)==1281453935){break s}d=128212;if((a|0)==1281716323){break k}break j}if((a|0)<=1298230883){if((a|0)==1281977698|(a|0)==1298229354){break k}d=128212;if((a|0)==1298230113){break k}break j}d=128212;switch(a-1298230884|0){case 0:case 5:break k;default:break j}}if((a|0)<=1399809891){if((a|0)<=1333094257){if((a|0)<=1299541107){if((a|0)<=1299145832){if((a|0)==1298231907|(a|0)==1298490470){break k}if((a|0)==1298954605){break p}d=128212;break j}if((a|0)==1299145833|(a|0)==1299148391){break k}d=128212;if((a|0)==1299473769){break k}break j}if((a|0)<=1315272544){if((a|0)==1299541108){break k}if((a|0)==1299803506){break n}d=128212;if((a|0)==1315008100){break k}break j}if((a|0)==1315272545|(a|0)==1315663727){break k}if((a|0)==1332902241){break p}d=128212;break j}if((a|0)<=1383032934){if((a|0)<=1349284451){if((a|0)==1333094258|(a|0)==1349017959){break k}d=128212;if((a|0)==1349020784){break k}break j}if((a|0)==1349284452){break k}if((a|0)==1365336423){break m}d=128212;if((a|0)==1382706791){break k}break j}if((a|0)<=1399415907){if((a|0)==1383032935|(a|0)==1398895986){break k}d=128212;if((a|0)==1399353956){break k}break j}d=128212;v:{switch(a-1399418468|0){case 1:case 2:case 3:break j;case 0:break k;case 4:break p;default:break v}}if((a|0)==1399415908){break k}break j}if((a|0)<=1415999078){if((a|0)<=1415669601){if((a|0)<=1400204899){d=128212;w:{switch(a-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:case 11:break k;default:break w}}if((a|0)==1399814511){break k}break j}if((a|0)==1400204900|(a|0)==1400466543){break k}if((a|0)==1400468067){break t}d=128212;break j}if((a|0)<=1415671147){if((a|0)==1415669602|(a|0)==1415670642){break k}d=128212;if((a|0)==1415670885){break k}break j}if((a|0)==1415671148){break p}if((a|0)==1415673460){break k}if((a|0)==1415933045){break p}d=128212;break j}if((a|0)<=1416524640){if((a|0)<=1416126824){if((a|0)==1415999079){break k}d=128212;if((a|0)==1416064103){break k}break j}if((a|0)==1416126825){break s}if((a|0)==1416192628){break k}d=128212;if((a|0)==1416196712){break k}break j}if((a|0)<=1466132590){if((a|0)==1416524641|(a|0)==1416590447){break k}d=128212;if((a|0)==1449751656){break k}break j}if((a|0)==1466132591|(a|0)==1499822697){break k}d=128212;if((a|0)==1516334690){break k}break j}if(!(F[b+48>>2]==1145457748&(a|0)!=1098015074)){d=125024;if((F[b+4>>2]&-2)==4){break j}}d=128212;break j}d=139472;break j}d=128324;break j}if((a|0)!=1214603890){break j}d=128380;break j}a=F[b+48>>2];if((a|0)==1145457748){d=128212;break j}d=128212;if((a|0)==1818326126){break j}d=(a&255)==51?140164:132144;break j}d=135688;break j}a=F[b+48>>2];if((a|0)==1145457748){d=128212;break j}if((a|0)==1818326126){d=128212;break j}d=128212;if((a|0)==1836674418){break j}d=137060;break j}d=137116;break j}if((a|0)!=1198678382){break j}}a=F[b+48>>2];d=(a|0)==1145457748?128212:(a|0)==1818326126?128212:140164}F[b+152>>2]=d;a=c&-3|(F[d+48>>2]!=0)<<1;D[b+148|0]=a;D[b+148|0]=a&251|G[d+52|0]<<2;if(!(!h|(d|0)==128212)){F[b+152>>2]=128268}a=b;break g}c=Z()|0;Y()|0;F[b+140>>2]=0;Ta(F[b+144>>2]);F[b+144>>2]=0;F[b+136>>2]=0;F[b+140>>2]=0;F[b+128>>2]=0;Ta(F[b+132>>2]);F[b+132>>2]=0;F[b+124>>2]=0;F[b+128>>2]=0;eh(a);$(c|0);V()}g=F[i+24>>2];j=F[i+20>>2];F[61902]=0;e=a+24|0;ba(776,e|0,1920365166,1,1);c=F[61902];F[61902]=0;x:{y:{if((c|0)==1){break y}F[61902]=0;ga(777,e|0,0,0);c=F[61902];F[61902]=0;if((c|0)==1){break y}z:{A:{B:{switch(F[a+4>>2]-4|0){case 1:F[61902]=0;ba(776,e|0,1920232545,1,1);h=F[61902];F[61902]=0;d=1920232557;c=0;break A;case 0:break B;default:break z}}F[61902]=0;ba(776,e|0,1819570785,1,1);h=F[61902];F[61902]=0;d=1819570797;c=1}if((h|0)==1){break y}F[61902]=0;ba(776,e|0,d|0,c|0,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}}F[61902]=0;ba(776,e|0,1718772067,0,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1853189490,0,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1684959085,0,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1918987876,33,255);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1953653099,3,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1214345830,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1212240454,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}c=F[F[a+152>>2]>>2];if(c){F[61902]=0;_(c|0,a|0);c=F[61902];F[61902]=0;if((c|0)==1){break y}}F[61902]=0;ba(776,e|0,1114995322,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1112889946,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1633842797,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1651275629,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1667460464,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1819239276,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1835102827,13,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1835756907,13,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1919707495,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}C:{if((F[a+4>>2]&-2)!=4){c=17;h=1986359924;break C}F[61902]=0;ba(776,e|0,1667329140,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1668049255,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1668641395,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;ba(776,e|0,1684632436,1,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}F[61902]=0;c=1;ba(776,e|0,1801810542,3,1);d=F[61902];F[61902]=0;if((d|0)==1){break y}F[61902]=0;ba(776,e|0,1818847073,1,1);d=F[61902];F[61902]=0;h=1919118452;if((d|0)==1){break y}}d=0;F[61902]=0;ba(776,e|0,h|0,c|0,1);c=F[61902];F[61902]=0;if((c|0)==1){break y}D:{E:{if(!g){break E}while(1){c=j+(d<<4)|0;l=F[c>>2];h=0;h=F[c+8>>2]?h:F[c+12>>2]==-1;c=F[c+4>>2];F[61902]=0;ba(776,e|0,l|0,h|0,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break D}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(!(D[a+148|0]&1)){break E}d=a+120|0;c=0;while(1){h=j+(c<<4)|0;l=F[h+4>>2];h=F[h>>2];F[61902]=0;ga(778,d|0,h|0,l|0);h=F[61902];F[61902]=0;if((h|0)==1){break D}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=F[F[a+152>>2]+4>>2];if(c){F[61902]=0;_(c|0,a|0);c=F[61902];F[61902]=0;if((c|0)==1){break y}}F[61902]=0;ga(779,a|0,f|0,i+28|0);d=F[61902];F[61902]=0;c=1;if((d|0)==1){break y}d=F[F[f+20>>2]+8>>2];F:{if(!d){break F}F[61902]=0;d=fa(d|0,f|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break y}F[f+124>>2]=d;if(d){break F}c=0;F[61902]=0;xm(m);d=F[61902];F[61902]=0;if((d|0)==1){break y}F[f+116>>2]=0;Ta(F[f+120>>2]);F[f+120>>2]=0;F[f+112>>2]=0;F[f+116>>2]=0}F[a+140>>2]=0;Ta(F[a+144>>2]);F[a+144>>2]=0;F[a+136>>2]=0;F[a+140>>2]=0;F[a+128>>2]=0;Ta(F[a+132>>2]);F[a+132>>2]=0;F[a+124>>2]=0;F[a+128>>2]=0;eh(e);Ga=b+160|0;break x}}b=Z()|0;Y()|0;F[a+140>>2]=0;Ta(F[a+144>>2]);F[a+144>>2]=0;F[a+136>>2]=0;F[a+140>>2]=0;F[a+128>>2]=0;Ta(F[a+132>>2]);F[a+132>>2]=0;F[a+124>>2]=0;F[a+128>>2]=0;eh(a+24|0);$(b|0);V()}if(c){break a}Ta(F[k+36>>2])}Ta(k)}k=163632}return k}function Sw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;f=Ga-6768|0;Ga=f;c=F[F[a+4>>2]>>2];g=f- -64|0;Wa(g|4,0,2756);F[f+16>>2]=0;F[f+20>>2]=0;F[f+24>>2]=0;F[f+28>>2]=0;F[f+32>>2]=0;F[f+36>>2]=0;F[f+40>>2]=0;F[f+44>>2]=0;F[f+48>>2]=0;F[f+52>>2]=0;F[f+56>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;F[f>>2]=0;F[f+4>>2]=0;F[f+64>>2]=c;F[f+8>>2]=g;h=F[b+4>>2];n=F[h+84>>2];z=F[n+156>>2];C=F[z>>2];j=F[h+88>>2];i=F[j+40>>2];g=F[i+12>>2];a:{b:{if(!g){c=e>>>16&15;break b}b=F[i+4>>2];c=e>>>16&15;if((b|0)==(c|0)){break a}}F[i+4>>2]=c;F[i+32>>2]=F[j+36>>2];b=F[j+32>>2];F[i+24>>2]=F[j+28>>2];F[i+28>>2]=b;b=F[j+24>>2];F[i+16>>2]=F[j+20>>2];F[i+20>>2]=b;b=F[j+16>>2];F[i+8>>2]=F[j+12>>2];F[i+12>>2]=b;g=F[i+12>>2];b=c}F[f+6724>>2]=0;F[f+6716>>2]=g;F[f+6712>>2]=h;c=F[i+16>>2];F[f+6736>>2]=0;F[f+6732>>2]=b;F[f+6728>>2]=0;F[f+6720>>2]=c;F[f>>2]=h;b=F[h+116>>2];F[f+4>>2]=b;c:{if(!b){g=Ye(h,f|4,a);if(g){break c}b=F[f+4>>2];F[h+116>>2]=b;F[h+120>>2]=1}F[f+6744>>2]=0;g=6;if(I[b+4>>2]<=d>>>0){break c}r=d<<1;g=H[r+F[b+8>>2]>>1]&16383;c=((g<<2)+b|0)+16|0;o=F[c>>2];d:{if(o){break d}e:{f:{while(1){i=F[F[b>>2]+100>>2];w=F[(g<<2)+16608>>2];j=F[(F[w+4>>2]<<2)+16320>>2];o=gb(i,F[j+4>>2],f+6744|0);g=F[f+6744>>2];if(g){break c}F[o+36>>2]=b;F[o>>2]=w;g=F[j+8>>2];if(!g){break f}g=Ia[g|0](o,F[b>>2])|0;F[f+6744>>2]=g;if(!g){break f}c=F[j+16>>2];if(c){Ia[c|0](o)}c=i;if(o){Ia[F[c+8>>2]](c,o)}g=F[f+6744>>2];if((g|0)!=-1){break e}g=H[r+F[b+8>>2]>>1]&16383;c=((g<<2)+b|0)+16|0;if(!F[c>>2]){continue}break}g=-1;break c}F[c>>2]=o;break d}if(g){break c}o=0}b=F[F[o>>2]+4>>2];F[f+12>>2]=o;R=F[(b<<2)+16320>>2];b=F[R+12>>2];g:{if(b){Ia[b|0](o,f+6712|0);break g}b=F[f+6716>>2];F[o+4>>2]=F[f+6712>>2];F[o+8>>2]=b;F[o+28>>2]=F[f+6736>>2];b=f+6728|0;c=F[b+4>>2];F[o+20>>2]=F[b>>2];F[o+24>>2]=c;b=f+6720|0;c=F[b+4>>2];F[o+12>>2]=F[b>>2];F[o+16>>2]=c}b=F[R+24>>2];if(b){g=Ia[b|0](f- -64|0,o)|0;if(g){break c}}g=Kc(h,d,e&-10246|10241);if(g){break c}h:{if(F[f+6732>>2]!=1){break h}b=D[F[h+128>>2]+56|0];if(G[a+21|0]|(b|0)>=0?b:0){break h}j=F[h+84>>2];b=F[F[h+88>>2]+40>>2];t=F[f+4>>2];F[f+6704>>2]=0;F[f+6764>>2]=0;c=H[t+364>>1];e=H[b+8>>1];g=H[h+68>>1]<<16;i=_a(65536e3,g);F[f+6752>>2]=F[5331];a=F[5330];F[f+6744>>2]=F[5329];F[f+6748>>2]=a;if(!H[h+68>>1]){break h}a=F[F[(F[F[o>>2]+4>>2]<<2)+16320>>2]+20>>2];if(!a){break h}Ia[a|0](o,f+6764|0,f+6704|0);a=F[f+6704>>2];i:{j:{k:{if(((a|0)==F[t+368>>2]|(a|0)<=0)&(c|0)==(e|0)){break k}a=_a(Ua(Ik(F[F[f+4>>2]+388>>2],H[h+68>>1],H[F[h+88>>2]+12>>1],a)<<16,F[b+12>>2]),i);F[t+368>>2]=F[f+6704>>2];r=H[b+8>>1];F[t+376>>2]=a+32768>>16;E[t+364>>1]=r;if((c|0)==(e|0)){break k}a=F[f+6764>>2];break j}a=F[f+6764>>2];if((a|0)<=0|F[t+372>>2]==(a|0)){break i}}a=Ik(F[F[f+4>>2]+388>>2],H[h+68>>1],H[F[h+88>>2]+12>>1],a)<<16;c=_a(Ua(a,F[b+16>>2]),i);F[t+372>>2]=F[f+6764>>2];b=H[b+8>>1];F[t+380>>2]=c+32768>>16;E[t+364>>1]=b;da=t,ea=_a((g-a|0)-524288|0,g),F[da+384>>2]=ea}S=F[t+376>>2];T=F[t+380>>2];W=j+108|0;a=W;l:{if(!a){break l}J=(T|0)/2|0;K=(S|0)/2|0;m:{if(T+1>>>0<3&S+1>>>0<=2){break m}M=ml(a);if((M|0)==2){break l}X=E[a>>1];if((X|0)<=0){break m}U=F[a+4>>2];b=J>>31;N=(b^J)-b|0;$=N>>>16|0;Y=N&65535;b=K>>31;P=(b^K)-b|0;aa=P>>>16|0;Z=P&65535;ba=F[a+12>>2];while(1){v=E[(V<<1)+ba>>1];n:{if((v|0)==(x|0)){break n}y=-1;g=x;r=0;j=0;w=0;A=0;i=0;h=0;b=v;if((b|0)==-1){break n}while(1){c=A;e=w;a=r;o:{if((g|0)!=(y|0)){e=(g<<3)+U|0;c=F[e+4>>2];l=(b<<3)+U|0;k=F[l+4>>2];p=c-k|0;a=p>>31;a=(a^p)-a|0;e=F[e>>2];l=F[l>>2];p:{if((e|0)==(l|0)){if((c|0)==(k|0)){break o}e=0;c=(p|0)<0?-65536:65536;break p}e=e-l|0;l=e>>31;l=(e^l)-l|0;if((c|0)==(k|0)){c=0;e=(e|0)<0?-65536:65536;a=l;break p}c=a>>>0>>0?l+(a>>>1|0)|0:(l>>>1|0)+a|0;k=O(c);k=(-1431655766>>>k>>>0>c>>>0?-15:-16)+k|0;u=(k|0)<=0;q:{if(!u){l=l<>>0>>0?l+(a>>>1|0)|0:(l>>>1|0)+a|0;break q}m=0-k|0;c=c>>>m|0;a=a>>>m|0;l=l>>>m|0}c=65536-c|0;while(1){m=(L(c,l)>>16)+l|0;s=(L(a,c)>>16)+a|0;q=L((L(m,m)+L(s,s)|0)/-512|0,c+65536>>8);c=((q|0)/65536|0)+c|0;if((q|0)>65535){continue}break}c=(p|0)<0?0-s|0:s;e=(e|0)<0?0-m|0:m;a=((L(l,m)+L(a,s)|0)/65536|0)+65536|0;if(!u){a=a+(1<>>k|0;break p}a=a<<0-k}if(!a){break o}}r:{if(!j){break r}if((y|0)<0){w=i;y=b;A=h;r=j}l=0;k=e>>31;m=(k^e)-k|0;k=i>>31;s=(k^i)-k|0;s:{if((m>>>8|0)+s>>>0<=8190){q=L(m,s)+32768>>>16|0;break s}k=s&65535;q=L(k,m>>>16|0)+L(m,s>>>16|0)+(L(k,m&65535)+32768>>>16)|0}k=q;p=0-k|0;k=i>>31|1;B=(((e|0)<0?0-k|0:k)|0)<0?p:q;k=c>>31;p=(k^c)-k|0;k=h>>31;u=(k^h)-k|0;t:{if((p>>>8|0)+u>>>0<=8190){q=L(p,u)+32768>>>16|0;break t}k=u&65535;q=L(k,p>>>16|0)+L(p,u>>>16|0)+(L(k,p&65535)+32768>>>16)|0}k=q;Q=0-k|0;k=h>>31|1;B=B+((((c|0)<0?0-k|0:k)|0)<0?Q:q)|0;q=0;u:{if((B|0)<-61439){break u}q=c+h|0;k=B+65536|0;if(m+(u>>>8|0)>>>0<=8190){m=L(m,u)+32768>>>16|0}else{l=m&65535;m=L(l,u>>>16|0)+L(u,m>>>16|0)+(L(l,u&65535)+32768>>>16)|0}l=m;u=0-l|0;l=e>>31|1;m=(((h|0)<0?0-l|0:l)|0)<0?u:m;if(p+(s>>>8|0)>>>0<=8190){l=L(p,s)+32768>>>16|0}else{h=p&65535;l=L(h,s>>>16|0)+L(s,p>>>16|0)+(L(h,s&65535)+32768>>>16)|0}h=l;p=0-h|0;h=c>>31|1;h=m+((((i|0)<0?0-h|0:h)|0)<0?l:p)|0;s=M?h:0-h|0;m=(a|0)>(j|0)?j:a;p=M?q:0-q|0;l=h;h=h>>31;h=(l^h)-h|0;u=h>>>8|0;v:{if(u+P>>>0<=8190){j=L(h,P)+32768>>>16|0;break v}j=L(h>>>16|0,Z)+L(h,aa)+(L(h&65535,Z)+32768>>>16)|0}q=(s|0)<0;ca=q^(S|0)<-1?0-j|0:j;j=m>>31;j=(j^m)-j|0;Q=j+(k>>>8|0)>>>0>8190;w:{if(!Q){l=L(j,k)+32768>>>16|0;break w}l=j&65535;l=L(l,k>>>16|0)+L(k,j>>>16|0)+(L(l,B&65535)+32768>>>16)|0}_=(m|0)<0;x:{if((ca|0)<=((_?0-l|0:l)|0)){l=bb(p,K,k);break x}l=bb(p,m,s)}i=e+i|0;p=M?0-i|0:i;i=u+N>>>0<=8190?L(h,N)+32768>>>16|0:L(h>>>16|0,Y)+L(h,$)+(L(h&65535,Y)+32768>>>16)|0;h=q^(T|0)<-1?0-i|0:i;if(Q){i=j&65535;i=L(i,k>>>16|0)+L(k,j>>>16|0)+(L(i,B&65535)+32768>>>16)|0}else{i=L(j,k)+32768>>>16|0}if((h|0)<=((_?0-i|0:i)|0)){q=bb(p,J,k);break u}q=bb(p,m,s)}if((b|0)==(g|0)){break r}h=q+J|0;j=l+K|0;while(1){i=(b<<3)+U|0;F[i>>2]=j+F[i>>2];F[i+4>>2]=h+F[i+4>>2];b=(b|0)<(v|0)?b+1|0:x;if((g|0)!=(b|0)){continue}break}}h=c;i=e;j=a;b=g}g=(g|0)<(v|0)?g+1|0:x;if((g|0)==(b|0)){break n}if((b|0)!=(y|0)){continue}break}}x=v+1|0;V=V+1|0;if((X|0)!=(V|0)){continue}break}}}F[f+6756>>2]=F[t+384>>2];Pc(W,f+6744|0)}a=G[z+8|0];D[f+16|0]=a;y:{if(!a){break y}a=z;b=F[a+24>>2];e=F[a+20>>2];F[f+28>>2]=e;F[f+32>>2]=b;c=F[a+16>>2];g=F[a+12>>2];F[f+20>>2]=g;F[f+24>>2]=c;i=F[a+28>>2];a=F[a+32>>2];h=f+6752|0;F[h>>2]=e;F[h+4>>2]=b;F[f+6744>>2]=g;F[f+6748>>2]=c;F[f+36>>2]=i;F[f+40>>2]=a;e=6;i=f+6744|0;z:{if(!i){break z}b=F[i>>2];a=b>>31;A=F[i+12>>2];c=A>>31;r=(a^b)-a|0;h=(c^A)-c|0;A:{if(r+(h>>>8|0)>>>0<=8190){a=L(h,r)+32768>>>16|0;break A}a=r&65535;a=L(a,h>>>16|0)+L(h,r>>>16|0)+(L(a,h&65535)+32768>>>16)|0}y=b>>31|1;k=0-y|0;g=(((A|0)<0?k:y)|0)<0?0-a|0:a;b=F[i+4>>2];a=b>>31;l=F[i+8>>2];c=l>>31;j=(c^l)-c|0;c=(a^b)-a|0;B:{if((j>>>8|0)+c>>>0<=8190){a=L(c,j)+32768>>>16|0;break B}a=c&65535;a=L(a,j>>>16|0)+L(j,c>>>16|0)+(L(a,j&65535)+32768>>>16)|0}z=b>>31|1;m=0-z|0;a=(((l|0)<0?m:z)|0)<0?0-a|0:a;if((g|0)==(a|0)){break z}w=g-a|0;a=w>>31;a=(a^w)-a|0;x=a>>>17^65535;C:{if(x>>>0>=c>>>0){b=((c<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break C}b=2147483647;e=a>>>1|0;v=e+(c<<16)|0;c=(c>>>16|0)+(e>>>0>v>>>0)|0;if(c>>>0>=a>>>0){break C}t=O(c);e=32-t|0;c=v>>>e|c<>>0)/(a>>>0)|0;g=c-L(a,b)|0;c=v<>>31;g=v-(a>>>0>v>>>0?0:a)|0;b=b<<1|a>>>0<=v>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}F[i+4>>2]=(((w|0)<0?m:z)|0)<0?b:0-b|0;D:{if(j>>>0<=x>>>0){b=((j<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break D}b=2147483647;e=a>>>1|0;c=e+(j<<16)|0;g=(j>>>16|0)+(c>>>0>>0)|0;if(g>>>0>=a>>>0){break D}j=O(g);e=32-j|0;g=c>>>e|g<>>0)/(a>>>0)|0;g=g-L(a,b)|0;c=c<>>31;g=j-(a>>>0>j>>>0?0:a)|0;b=b<<1|a>>>0<=j>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}c=b;e=0-b|0;b=l>>31|1;F[i+8>>2]=(((w|0)<0?0-b|0:b)|0)<0?c:e;E:{if(h>>>0<=x>>>0){b=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break E}b=2147483647;e=a>>>1|0;c=e+(h<<16)|0;g=(h>>>16|0)+(c>>>0>>0)|0;if(g>>>0>=a>>>0){break E}h=O(g);e=32-h|0;g=c>>>e|g<>>0)/(a>>>0)|0;g=g-L(a,b)|0;c=c<>>31;g=h-(a>>>0>h>>>0?0:a)|0;b=b<<1|a>>>0<=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}e=0-b|0;c=b;b=A>>31|1;F[i>>2]=(((w|0)<0?0-b|0:b)|0)<0?e:c;F:{if(r>>>0<=x>>>0){b=((r<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break F}b=2147483647;e=a>>>1|0;c=e+(r<<16)|0;g=(r>>>16|0)+(c>>>0>>0)|0;if(g>>>0>=a>>>0){break F}h=O(g);e=32-h|0;g=c>>>e|g<>>0)/(a>>>0)|0;g=g-L(a,b)|0;c=c<>>31;g=h-(a>>>0>h>>>0?0:a)|0;b=b<<1|a>>>0<=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}e=0;F[i+12>>2]=(((w|0)<0?k:y)|0)<0?0-b|0:b}if(e){break y}jf(f+36|0,f+6744|0)}c=7;G:{if(F[n+72>>2]!=1869968492){break G}if(G[f+16|0]){Vb(n+108|0,F[f+36>>2],F[f+40>>2])}F[f+48>>2]=F[f+80>>2];F[f+44>>2]=F[f+72>>2];a=Ua(F[n+40>>2],F[f+68>>2]);F[f+56>>2]=F[f+80>>2];F[f+52>>2]=a+F[f+72>>2];c=0;if(!H[n+110>>1]){break G}a=F[R+28>>2];if(a){g=Ia[a|0](d,f- -64|0,C+20|0,o)|0;if(g){break c}}H:{if(F[f+6732>>2]!=1){a=F[f+120>>2];if(!(G[f+2804|0]&4|(a|0)<2)){b=L(a,44);a=F[f+128>>2];b=b+a|0;e=F[b-36>>2];i=F[b-40>>2];h=F[a+8>>2];g=F[a+4>>2];a=h-g|0;j=(g|0)<24?a-8|0:a;b=j+32&-64;F[f+44>>2]=b;i=F[f+52>>2]-i|0;a=i+e|0;r=(i|0)<24?a+8|0:a;a=r+32&-64;F[f+52>>2]=a;if(!((b|0)<(h|0)|(g|0)<=0)){b=b+-64|0;F[f+44>>2]=b}if(!((i|0)<=0|(a|0)>(e|0))){a=a- -64|0;F[f+52>>2]=a}F[n+144>>2]=b-j;a=a-r|0;break H}a=F[f+52>>2];b=(a+F[f+2820>>2]|0)+32&-64;F[f+52>>2]=b;e=F[f+44>>2];g=(e+F[f+2816>>2]|0)+32&-64;F[f+44>>2]=g;F[n+144>>2]=g-e;a=b-a|0;break H}a=F[f+52>>2];b=a+32&-64;F[f+52>>2]=b;e=F[f+44>>2];g=e+32&-64;F[f+44>>2]=g;F[n+144>>2]=g-e;a=b-a|0}F[n+148>>2]=a}a=F[n+36>>2];b=F[n+48>>2];da=f,ea=Ua(F[n+44>>2]-F[n+32>>2]|0,F[o+8>>2]),F[da+6704>>2]=ea;da=f,ea=Ua(b-a|0,F[o+12>>2]),F[da+6708>>2]=ea;if(G[f+16|0]){a=f+20|0;Pc(C+20|0,a);jf(f+6704|0,a)}a=F[f+44>>2];if(a){Vb(C+20|0,0-a|0,0)}ed(C+20|0,f+6744|0);a=F[f+6744>>2]&-64;F[f+6744>>2]=a;b=F[f+6756>>2]+63&-64;F[f+6756>>2]=b;e=F[f+6752>>2]+63&-64;F[f+6752>>2]=e;g=F[f+6748>>2]&-64;F[f+6748>>2]=g;F[n+36>>2]=b;F[n+32>>2]=a;F[n+28>>2]=b-g;F[n+24>>2]=e-a;F[n+44>>2]=a+F[f+6704>>2]&-64;F[n+48>>2]=b+F[f+6708>>2]&-64;I:{J:{if(F[f+6732>>2]==1){break J}if(!(G[F[n+4>>2]+8|0]&4)){a=F[f+4>>2];if(!G[o+32|0]|(I[a+4>>2]<=d>>>0|E[F[a+8>>2]+(d<<1)>>1]>=0)){break J}}a=Ua(F[n+40>>2],F[o+8>>2]);F[n+144>>2]=0;F[n+148>>2]=0;F[n+40>>2]=a;break I}if(!F[n+40>>2]){break I}F[n+40>>2]=F[f+52>>2]-F[f+44>>2]}a=Ua(F[n+52>>2],F[o+12>>2]);F[n+72>>2]=1869968492;F[n+52>>2]=a+32&-64;F[n+40>>2]=F[n+40>>2]+32&-64;g=c}F[f+8>>2]=0;F[f>>2]=0;F[f+4>>2]=0;Ag(f- -64|0);Ga=f+6768|0;return g|0}function nb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Ga-16|0;Ga=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){e=F[61778];g=a>>>0<11?16:a+11&-8;c=g>>>3|0;b=e>>>c|0;if(b&3){d=c+((b^-1)&1)|0;b=d<<3;f=F[b+247160>>2];a=f+8|0;c=F[f+8>>2];b=b+247152|0;l:{if((c|0)==(b|0)){m=247112,n=IC(-2,d)&e,F[m>>2]=n;break l}F[c+12>>2]=b;F[b+8>>2]=c}b=d<<3;F[f+4>>2]=b|3;b=b+f|0;F[b+4>>2]=F[b+4>>2]|1;break a}k=F[61780];if(k>>>0>=g>>>0){break k}if(b){a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;c=(c|a)+(b>>>a|0)|0;a=c<<3;j=F[a+247160>>2];b=F[j+8>>2];a=a+247152|0;m:{if((b|0)==(a|0)){e=IC(-2,c)&e;F[61778]=e;break m}F[b+12>>2]=a;F[a+8>>2]=b}a=j+8|0;F[j+4>>2]=g|3;d=g+j|0;b=c<<3;f=b-g|0;F[d+4>>2]=f|1;F[b+j>>2]=f;if(k){b=k>>>3|0;c=(b<<3)+247152|0;j=F[61783];b=1<>2]}F[c+8>>2]=j;F[b+12>>2]=j;F[j+12>>2]=c;F[j+8>>2]=b}F[61783]=d;F[61780]=f;break a}h=F[61779];if(!h){break k}b=(0-h&h)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;b=F[((c|a)+(b>>>a|0)<<2)+247416>>2];d=(F[b+4>>2]&-8)-g|0;c=b;while(1){o:{a=F[c+16>>2];if(!a){a=F[c+20>>2];if(!a){break o}}c=(F[a+4>>2]&-8)-g|0;f=c>>>0>>0;d=f?c:d;b=f?a:b;c=a;continue}break}i=F[b+24>>2];f=F[b+12>>2];if((f|0)!=(b|0)){a=F[b+8>>2];F[a+12>>2]=f;F[f+8>>2]=a;break b}c=b+20|0;a=F[c>>2];if(!a){a=F[b+16>>2];if(!a){break j}c=b+16|0}while(1){j=c;f=a;c=a+20|0;a=F[c>>2];if(a){continue}c=f+16|0;a=F[f+16>>2];if(a){continue}break}F[j>>2]=0;break b}g=-1;if(a>>>0>4294967231){break k}a=a+11|0;g=a&-8;i=F[61779];if(!i){break k}d=0-g|0;e=0;p:{if(g>>>0<256){break p}e=31;if(g>>>0>16777215){break p}a=a>>>8|0;j=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|j))|0;e=(a<<1|g>>>a+21&1)+28|0}c=F[(e<<2)+247416>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=g<<((e|0)==31?0:25-(e>>>1|0)|0);while(1){t:{h=F[c+4>>2]&-8;j=h-g|0;if(j>>>0>=d>>>0){break t}d=j;f=c;if((g|0)!=(h|0)){break t}d=0;a=c;break r}j=F[c+20>>2];c=F[((b>>>29&4)+c|0)+16>>2];a=j?(j|0)==(c|0)?a:j:a;b=b<<1;if(c){continue}break}}if(!(a|f)){f=0;a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;a=F[((c|a)+(b>>>a|0)<<2)+247416>>2]}if(!a){break q}}while(1){b=(F[a+4>>2]&-8)-g|0;c=b>>>0>>0;d=c?b:d;f=c?a:f;b=F[a+16>>2];if(b){a=b}else{a=F[a+20>>2]}if(a){continue}break}}if(!f|F[61780]-g>>>0<=d>>>0){break k}e=F[f+24>>2];b=F[f+12>>2];if((f|0)!=(b|0)){a=F[f+8>>2];F[a+12>>2]=b;F[b+8>>2]=a;break c}c=f+20|0;a=F[c>>2];if(!a){a=F[f+16>>2];if(!a){break i}c=f+16|0}while(1){j=c;b=a;c=a+20|0;a=F[c>>2];if(a){continue}c=b+16|0;a=F[b+16>>2];if(a){continue}break}F[j>>2]=0;break c}c=F[61780];if(c>>>0>=g>>>0){d=F[61783];b=c-g|0;u:{if(b>>>0>=16){F[61780]=b;a=d+g|0;F[61783]=a;F[a+4>>2]=b|1;F[c+d>>2]=b;F[d+4>>2]=g|3;break u}F[61783]=0;F[61780]=0;F[d+4>>2]=c|3;a=c+d|0;F[a+4>>2]=F[a+4>>2]|1}a=d+8|0;break a}i=F[61781];if(i>>>0>g>>>0){b=i-g|0;F[61781]=b;c=F[61784];a=c+g|0;F[61784]=a;F[a+4>>2]=b|1;F[c+4>>2]=g|3;a=c+8|0;break a}a=0;h=g+47|0;if(F[61896]){c=F[61898]}else{F[61899]=-1;F[61900]=-1;F[61897]=4096;F[61898]=4096;F[61896]=l+12&-16^1431655768;F[61901]=0;F[61889]=0;c=4096}j=h+c|0;f=0-c|0;c=j&f;if(c>>>0<=g>>>0){break a}d=F[61888];if(d){b=F[61886];e=b+c|0;if(e>>>0>d>>>0|b>>>0>=e>>>0){break a}}if(G[247556]&4){break f}v:{w:{d=F[61784];if(d){a=247560;while(1){b=F[a>>2];if(b>>>0<=d>>>0&d>>>0>2]>>>0){break w}a=F[a+8>>2];if(a){continue}break}}b=Bd(0);if((b|0)==-1){break g}e=c;d=F[61897];a=d-1|0;if(a&b){e=(c-b|0)+(a+b&0-d)|0}if(e>>>0<=g>>>0|e>>>0>2147483646){break g}d=F[61888];if(d){a=F[61886];f=a+e|0;if(d>>>0>>0|a>>>0>=f>>>0){break g}}a=Bd(e);if((b|0)!=(a|0)){break v}break e}e=f&j-i;if(e>>>0>2147483646){break g}b=Bd(e);if((b|0)==(F[a>>2]+F[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|g+48>>>0<=e>>>0)){b=F[61898];b=b+(h-e|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Bd(b)|0)!=-1){e=b+e|0;b=a;break e}Bd(0-e|0);break g}b=a;if((a|0)!=-1){break e}break g}f=0;break b}b=0;break c}if((b|0)!=-1){break e}}F[61889]=F[61889]|4}if(c>>>0>2147483646){break d}b=Bd(c);a=Bd(0);if((b|0)==-1|(a|0)==-1|a>>>0<=b>>>0){break d}e=a-b|0;if(e>>>0<=g+40>>>0){break d}}a=F[61886]+e|0;F[61886]=a;if(a>>>0>I[61887]){F[61887]=a}x:{y:{z:{h=F[61784];if(h){a=247560;while(1){d=F[a>>2];c=F[a+4>>2];if((d+c|0)==(b|0)){break z}a=F[a+8>>2];if(a){continue}break}break y}a=F[61782];if(!(a>>>0<=b>>>0?a:0)){F[61782]=b}a=0;F[61891]=e;F[61890]=b;F[61786]=-1;F[61787]=F[61896];F[61893]=0;while(1){d=a<<3;c=d+247152|0;F[d+247160>>2]=c;F[d+247164>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;F[61781]=c;a=a+b|0;F[61784]=a;F[a+4>>2]=c|1;F[(b+d|0)+4>>2]=40;F[61785]=F[61900];break x}if(G[a+12|0]&8|d>>>0>h>>>0|b>>>0<=h>>>0){break y}F[a+4>>2]=c+e;a=h+8&7?-8-h&7:0;c=a+h|0;F[61784]=c;b=F[61781]+e|0;a=b-a|0;F[61781]=a;F[c+4>>2]=a|1;F[(b+h|0)+4>>2]=40;F[61785]=F[61900];break x}if(I[61782]>b>>>0){F[61782]=b}c=b+e|0;a=247560;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=F[a>>2]){a=F[a+8>>2];if(a){continue}break F}break}if(!(G[a+12|0]&8)){break E}}a=247560;while(1){c=F[a>>2];if(c>>>0<=h>>>0){f=c+F[a+4>>2]|0;if(f>>>0>h>>>0){break D}}a=F[a+8>>2];continue}}F[a>>2]=b;F[a+4>>2]=F[a+4>>2]+e;j=(b+8&7?-8-b&7:0)+b|0;F[j+4>>2]=g|3;e=c+(c+8&7?-8-c&7:0)|0;i=g+j|0;g=e-i|0;if((e|0)==(h|0)){F[61784]=i;a=F[61781]+g|0;F[61781]=a;F[i+4>>2]=a|1;break B}if(F[61783]==(e|0)){F[61783]=i;a=F[61780]+g|0;F[61780]=a;F[i+4>>2]=a|1;F[a+i>>2]=a;break B}a=F[e+4>>2];if((a&3)==1){f=a&-8;G:{if(a>>>0<=255){c=F[e+8>>2];a=a>>>3|0;b=F[e+12>>2];if((b|0)==(c|0)){m=247112,n=F[61778]&IC(-2,a),F[m>>2]=n;break G}F[c+12>>2]=b;F[b+8>>2]=c;break G}h=F[e+24>>2];b=F[e+12>>2];H:{if((e|0)!=(b|0)){a=F[e+8>>2];F[a+12>>2]=b;F[b+8>>2]=a;break H}I:{a=e+20|0;d=F[a>>2];if(d){break I}a=e+16|0;d=F[a>>2];if(d){break I}b=0;break H}while(1){c=a;b=d;a=b+20|0;d=F[a>>2];if(d){continue}a=b+16|0;d=F[b+16>>2];if(d){continue}break}F[c>>2]=0}if(!h){break G}c=F[e+28>>2];a=(c<<2)+247416|0;J:{if(F[a>>2]==(e|0)){F[a>>2]=b;if(b){break J}m=247116,n=F[61779]&IC(-2,c),F[m>>2]=n;break G}F[h+(F[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break G}}F[b+24>>2]=h;a=F[e+16>>2];if(a){F[b+16>>2]=a;F[a+24>>2]=b}a=F[e+20>>2];if(!a){break G}F[b+20>>2]=a;F[a+24>>2]=b}g=f+g|0;e=e+f|0}F[e+4>>2]=F[e+4>>2]&-2;F[i+4>>2]=g|1;F[g+i>>2]=g;if(g>>>0<=255){a=g>>>3|0;b=(a<<3)+247152|0;c=F[61778];a=1<>2]}F[b+8>>2]=i;F[a+12>>2]=i;F[i+12>>2]=b;F[i+8>>2]=a;break B}a=31;if(g>>>0<=16777215){a=g>>>8|0;d=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|d))|0;a=(a<<1|g>>>a+21&1)+28|0}F[i+28>>2]=a;F[i+16>>2]=0;F[i+20>>2]=0;d=(a<<2)+247416|0;c=F[61779];b=1<>2]=i;F[i+24>>2]=d;break L}a=g<<((a|0)==31?0:25-(a>>>1|0)|0);b=F[d>>2];while(1){c=b;if((F[b+4>>2]&-8)==(g|0)){break C}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=F[d+16>>2];if(b){continue}break}F[d+16>>2]=i;F[i+24>>2]=c}F[i+12>>2]=i;F[i+8>>2]=i;break B}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;F[61781]=c;a=a+b|0;F[61784]=a;F[a+4>>2]=c|1;F[(b+d|0)+4>>2]=40;F[61785]=F[61900];a=(f+(f-39&7?39-f&7:0)|0)-47|0;c=a>>>0>>0?h:a;F[c+4>>2]=27;a=F[61893];F[c+16>>2]=F[61892];F[c+20>>2]=a;a=F[61891];F[c+8>>2]=F[61890];F[c+12>>2]=a;F[61892]=c+8;F[61891]=e;F[61890]=b;F[61893]=0;a=c+24|0;while(1){F[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(h|0)){break x}F[c+4>>2]=F[c+4>>2]&-2;f=c-h|0;F[h+4>>2]=f|1;F[c>>2]=f;if(f>>>0<=255){a=f>>>3|0;b=(a<<3)+247152|0;c=F[61778];a=1<>2]}F[b+8>>2]=h;F[a+12>>2]=h;F[h+12>>2]=b;F[h+8>>2]=a;break x}a=31;F[h+16>>2]=0;F[h+20>>2]=0;if(f>>>0<=16777215){a=f>>>8|0;d=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|d))|0;a=(a<<1|f>>>a+21&1)+28|0}F[h+28>>2]=a;d=(a<<2)+247416|0;c=F[61779];b=1<>2]=h;F[h+24>>2]=d;break N}a=f<<((a|0)==31?0:25-(a>>>1|0)|0);b=F[d>>2];while(1){c=b;if((f|0)==(F[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=F[d+16>>2];if(b){continue}break}F[d+16>>2]=h;F[h+24>>2]=c}F[h+12>>2]=h;F[h+8>>2]=h;break x}a=F[c+8>>2];F[a+12>>2]=i;F[c+8>>2]=i;F[i+24>>2]=0;F[i+12>>2]=c;F[i+8>>2]=a}a=j+8|0;break a}a=F[c+8>>2];F[a+12>>2]=h;F[c+8>>2]=h;F[h+24>>2]=0;F[h+12>>2]=c;F[h+8>>2]=a}a=F[61781];if(a>>>0<=g>>>0){break d}b=a-g|0;F[61781]=b;c=F[61784];a=c+g|0;F[61784]=a;F[a+4>>2]=b|1;F[c+4>>2]=g|3;a=c+8|0;break a}F[61729]=48;a=0;break a}O:{if(!e){break O}c=F[f+28>>2];a=(c<<2)+247416|0;P:{if(F[a>>2]==(f|0)){F[a>>2]=b;if(b){break P}i=IC(-2,c)&i;F[61779]=i;break O}F[e+(F[e+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break O}}F[b+24>>2]=e;a=F[f+16>>2];if(a){F[b+16>>2]=a;F[a+24>>2]=b}a=F[f+20>>2];if(!a){break O}F[b+20>>2]=a;F[a+24>>2]=b}Q:{if(d>>>0<=15){a=d+g|0;F[f+4>>2]=a|3;a=a+f|0;F[a+4>>2]=F[a+4>>2]|1;break Q}F[f+4>>2]=g|3;e=f+g|0;F[e+4>>2]=d|1;F[e+d>>2]=d;if(d>>>0<=255){a=d>>>3|0;b=(a<<3)+247152|0;c=F[61778];a=1<>2]}F[b+8>>2]=e;F[a+12>>2]=e;F[e+12>>2]=b;F[e+8>>2]=a;break Q}a=31;if(d>>>0<=16777215){a=d>>>8|0;j=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|j))|0;a=(a<<1|d>>>a+21&1)+28|0}F[e+28>>2]=a;F[e+16>>2]=0;F[e+20>>2]=0;b=(a<<2)+247416|0;S:{c=1<>2]=e;break T}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);c=F[b>>2];while(1){b=c;if((F[b+4>>2]&-8)==(d|0)){break S}c=a>>>29|0;a=a<<1;j=(c&4)+b|0;c=F[j+16>>2];if(c){continue}break}F[j+16>>2]=e}F[e+24>>2]=b;F[e+12>>2]=e;F[e+8>>2]=e;break Q}a=F[b+8>>2];F[a+12>>2]=e;F[b+8>>2]=e;F[e+24>>2]=0;F[e+12>>2]=b;F[e+8>>2]=a}a=f+8|0;break a}U:{if(!i){break U}c=F[b+28>>2];a=(c<<2)+247416|0;V:{if(F[a>>2]==(b|0)){F[a>>2]=f;if(f){break V}m=247116,n=IC(-2,c)&h,F[m>>2]=n;break U}F[i+(F[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break U}}F[f+24>>2]=i;a=F[b+16>>2];if(a){F[f+16>>2]=a;F[a+24>>2]=f}a=F[b+20>>2];if(!a){break U}F[f+20>>2]=a;F[a+24>>2]=f}W:{if(d>>>0<=15){a=d+g|0;F[b+4>>2]=a|3;a=a+b|0;F[a+4>>2]=F[a+4>>2]|1;break W}F[b+4>>2]=g|3;f=b+g|0;F[f+4>>2]=d|1;F[d+f>>2]=d;if(k){a=k>>>3|0;c=(a<<3)+247152|0;j=F[61783];a=1<>2]}F[c+8>>2]=j;F[a+12>>2]=j;F[j+12>>2]=c;F[j+8>>2]=a}F[61783]=f;F[61780]=d}a=b+8|0}Ga=l+16|0;return a|0}function an(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=1;a:{b:{switch(c-1|0){case 0:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;c:{d:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=0;c=F[b+4>>2];e:{f:{if(c>>>0>a>>>0){break f}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<6){break f}f=F[b+12>>2];h=f-6|0;F[b+12>>2]=h;if((h|0)<=0){break f}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break f}e=f-8|0;F[b+12>>2]=e;if((e|0)<=0){break f}e=G[c|0]|G[c+1|0]<<8;g:{if(!e){break g}if(Mb(((e<<8|e>>>8)&65535)+a|0,b)){break g}e=F[b+28>>2];if(e>>>0>31){break f}F[b+28>>2]=e+1;if(!G[b+24|0]){break f}D[c|0]=0;D[c+1|0]=0}e=G[a+4|0]|G[a+5|0]<<8;c=1;if(!e){break e}c=a+6|0;if(c>>>0>2]){break f}f=F[b+8>>2];if(f>>>0>>0){break f}g=f-c|0;f=HC(e)<<1;if(g>>>0>>0){break f}f=F[b+12>>2]-f|0;F[b+12>>2]=f;if((f|0)<=0){break f}d=1;if(e>>>0<4096){break f}d=Zd(a+4|0,b,a,c)}c=d}return c}d=0;c=F[b+4>>2];h:{if(c>>>0>a>>>0){break h}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break h}f=F[b+12>>2];h=f-8|0;F[b+12>>2]=h;if((h|0)<=0){break h}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break h}e=f-10|0;F[b+12>>2]=e;if((e|0)<=0){break h}e=G[c|0]|G[c+1|0]<<8;i:{if(!e){break i}if(Mb(((e<<8|e>>>8)&65535)+a|0,b)){break i}e=F[b+28>>2];if(e>>>0>31){break h}F[b+28>>2]=e+1;if(!G[b+24|0]){break h}D[c|0]=0;D[c+1|0]=0}c=a+8|0;h=G[a+4|0]|G[a+5|0]<<8;g=HC(h);e=G[a+6|0]|G[a+7|0]<<8;i=(e<<8|e>>>8)&65535;f=L(g,i)<<1;if(f){if(I[b+4>>2]>c>>>0){break h}j=F[b+8>>2];if(j>>>0>>0|f>>>0>j-c>>>0){break h}f=F[b+12>>2]-f|0;F[b+12>>2]=f;if((f|0)<=0){break h}}d=1;if(!e){break h}if(h>>>0<4096){break h}f=a+4|0;e=0;while(1){d=Zd(f,b,a,c);if(!d){break h}c=(g<<1)+c|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}return d;case 1:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;j:{k:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break j;case 0:break k;default:break a}}d=0;c=Ga-32|0;Ga=c;f=F[b+4>>2];l:{if(f>>>0>a>>>0){break l}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<10){break l}h=F[b+12>>2];g=h-10|0;F[b+12>>2]=g;if((g|0)<=0){break l}d=G[a+6|0]|G[a+7|0]<<8;g=G[a+4|0]|G[a+5|0]<<8;F[c+16>>2]=a+4;g=HC(g);F[c+20>>2]=g;r=c,s=(HC(d)+g|0)+1|0,F[r+24>>2]=s;m:{d=a+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break m}e=h-12|0;F[b+12>>2]=e;if((e|0)<=0){break m}e=G[d|0]|G[d+1|0]<<8;n:{if(!e){break n}if(Mb(((e<<8|e>>>8)&65535)+a|0,b)){break n}e=F[b+28>>2];if(e>>>0>31){break m}F[b+28>>2]=e+1;if(!G[b+24|0]){break m}D[d|0]=0;D[d+1|0]=0}F[c+12>>2]=a;F[c+8>>2]=c+16;d=0;f=a+8|0;g=F[b+4>>2];o:{p:{if(f>>>0>>0){break p}e=F[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break p}h=F[b+12>>2]-2|0;F[b+12>>2]=h;if((h|0)<=0){break p}i=G[f|0]|G[f+1|0]<<8;a=1;if(!i){break o}a=f+2|0;if(a>>>0>>0|a>>>0>e>>>0){break p}k=e-a|0;a=(i<<8|i>>>8)&65535;e=a<<1;if(k>>>0>>0){break p}e=h-e|0;F[b+12>>2]=e;if((e|0)<=0){break p}h=f+2|0;if(g>>>0>h>>>0){break p}q=a>>>0>1?a:1;while(1){q:{a=F[b+8>>2];if(a>>>0>>0|a-h>>>0<2){break q}d=F[c+12>>2];a=F[b+12>>2]-2|0;F[b+12>>2]=a;if((a|0)<=0){break q}a=G[h|0]|G[h+1|0]<<8;r:{if(!a){break r}g=F[c+8>>2];l=0;p=F[b+4>>2];a=d+((a<<8|a>>>8)&65535)|0;s:{if(p>>>0>a>>>0){break s}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break s}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break s}i=F[g+8>>2];m=G[a|0]|G[a+1|0]<<8;n=(m<<8|m>>>8)&65535;k=n<<1;if(k>>>0>=4294967295/(i>>>0)>>>0?i:0){break s}k=L(i,k);if(k){o=a+2|0;if(p>>>0>o>>>0|d>>>0>>0|k>>>0>d-o>>>0){break s}d=e-k|0;F[b+12>>2]=d;if((d|0)<=0){break s}}d=F[g>>2];if(!(!m|(G[d|0]|G[d+1|0]<<8)>>>0<4096)){e=a+4|0;k=0;while(1){if(!Zd(d,b,a,e)){break s}e=(i<<1)+e|0;k=k+1|0;if((n|0)!=(k|0)){continue}break}i=F[g+8>>2];d=F[g>>2]}l=1;if(!m|(G[d+2|0]|G[d+3|0]<<8)>>>0<4096){break s}m=d+2|0;e=0;d=F[g+4>>2];d=(d|0)<0?163632:(a+(d<<1)|0)+4|0;g=i<<1;while(1){l=Zd(m,b,a,d);if(!l){break s}d=d+g|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}if(l){break r}a=F[b+28>>2];if(a>>>0>31){break q}F[b+28>>2]=a+1;if(!G[b+24|0]){break q}D[h|0]=0;D[h+1|0]=0}d=1;j=j+1|0;if((q|0)==(j|0)){break p}h=(f+(j<<1)|0)+2|0;if(h>>>0>=I[b+4>>2]){continue}}break}d=0}a=d}d=a;break l}d=0}Ga=c+32|0;return d}c=F[b+4>>2];t:{if(c>>>0>a>>>0){break t}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break t}f=F[b+12>>2];h=f-16|0;F[b+12>>2]=h;if((h|0)<=0){break t}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break t}d=f-18|0;F[b+12>>2]=d;if((d|0)<=0){break t}d=G[c|0]|G[c+1|0]<<8;u:{if(!d){break u}if(Mb(((d<<8|d>>>8)&65535)+a|0,b)){break u}d=F[b+28>>2];if(d>>>0>31){break t}F[b+28>>2]=d+1;if(!G[b+24|0]){break t}D[c|0]=0;D[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break t}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break t}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break t}d=G[c|0]|G[c+1|0]<<8;v:{if(!d){break v}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break v}d=F[b+28>>2];if(d>>>0>31){break t}F[b+28>>2]=d+1;if(!G[b+24|0]){break t}D[c|0]=0;D[c+1|0]=0}c=a+10|0;if(c>>>0>2]){break t}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break t}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break t}d=G[c|0]|G[c+1|0]<<8;w:{if(!d){break w}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break w}d=F[b+28>>2];if(d>>>0>31){break t}F[b+28>>2]=d+1;if(!G[b+24|0]){break t}D[c|0]=0;D[c+1|0]=0}c=G[a+14|0]|G[a+15|0]<<8;d=(c<<8|c>>>8)&65535;c=G[a+12|0]|G[a+13|0]<<8;f=L(d,(c<<8|c>>>8)&65535);j=G[a+4|0]|G[a+5|0]<<8;i=HC(j);d=G[a+6|0]|G[a+7|0]<<8;h=HC(d)+i|0;g=h<<1;if(f>>>0>=4294967295/(g>>>0)>>>0?h:0){break t}c=a+16|0;g=L(f,g);if(g){if(I[b+4>>2]>c>>>0){break t}l=F[b+8>>2];if(l>>>0>>0|g>>>0>l-c>>>0){break t}g=F[b+12>>2]-g|0;F[b+12>>2]=g;if((g|0)<=0){break t}}g=a+6|0;if(!(!f|j>>>0<4096)){j=a+4|0;d=0;while(1){if(!Zd(j,b,a,c)){break t}c=(h<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}d=G[g|0]|G[g+1|0]<<8}e=1;if(!f|d>>>0<4096){break t}c=((i<<1)+a|0)+16|0;d=0;while(1){e=Zd(g,b,a,c);if(!e){break t}c=(h<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}return e;case 2:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}x:{y:{c=a+2|0;if(c>>>0>2]){break y}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break y}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break y}d=G[c|0]|G[c+1|0]<<8;z:{if(!d){break z}if(Mb(((d<<8|d>>>8)&65535)+a|0,b)){break z}d=F[b+28>>2];if(d>>>0>31){break y}F[b+28>>2]=d+1;if(!G[b+24|0]){break y}D[c|0]=0;D[c+1|0]=0}h=F[b+4>>2];c=a+4|0;if(h>>>0>c>>>0){break y}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break y}e=F[b+12>>2]-2|0;F[b+12>>2]=e;c=1;if((e|0)<=0){break y}f=G[a+4|0]|G[a+5|0]<<8;if(!f){break x}c=a+6|0;if(c>>>0>>0|c>>>0>d>>>0){break y}g=d-c|0;d=(f<<8|f>>>8)&65535;c=d<<2;if(g>>>0>>0){break y}e=e-c|0;F[b+12>>2]=e;c=0;if((e|0)<=0){break x}e=d>>>0>1?d:1;d=0;while(1){c=(d<<2)+a|0;if(!Bf(c+6|0,b,a)){break y}if(!Bf(c+8|0,b,a)){break y}c=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break x}c=0}return c;case 3:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}return $m(a,b);case 4:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}h=Ga-16|0;Ga=h;c=F[b+4>>2];A:{if(c>>>0>a>>>0){break A}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<=11){break A}f=F[b+12>>2];g=f-12|0;F[b+12>>2]=g;if((g|0)<=0){break A}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break A}d=f-14|0;F[b+12>>2]=d;if((d|0)<=0){break A}d=G[c|0]|G[c+1|0]<<8;B:{if(!d){break B}if(Mb(((d<<8|d>>>8)&65535)+a|0,b)){break B}d=F[b+28>>2];if(d>>>0>31){break A}F[b+28>>2]=d+1;if(!G[b+24|0]){break A}D[c|0]=0;D[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break A}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break A}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break A}d=G[c|0]|G[c+1|0]<<8;C:{if(!d){break C}if(Mb(((d<<8|d>>>8)&65535)+a|0,b)){break C}d=F[b+28>>2];if(d>>>0>31){break A}F[b+28>>2]=d+1;if(!G[b+24|0]){break A}D[c|0]=0;D[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break A}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break A}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break A}d=G[c|0]|G[c+1|0]<<8;D:{if(!d){break D}d=((d<<8|d>>>8)&65535)+a|0;F[h+12>>2]=d;if(_m(d,b,h+12|0)){break D}d=F[b+28>>2];if(d>>>0>31){break A}F[b+28>>2]=d+1;if(!G[b+24|0]){break A}D[c|0]=0;D[c+1|0]=0}c=G[a+6|0]|G[a+7|0]<<8;F[h+8>>2]=(c<<8|c>>>8)&65535;g=F[b+4>>2];f=a+10|0;c=0;E:{if(g>>>0>f>>>0){break E}d=F[b+8>>2];c=0;if(d>>>0>>0){break E}c=0;if(d-f>>>0<2){break E}i=F[b+12>>2];j=i-2|0;F[b+12>>2]=j;e=1;c=0;if((j|0)<=0){break E}j=h+8|0;c=G[f|0]|G[f+1|0]<<8;F:{if(!c){break F}G:{a=((c<<8|c>>>8)&65535)+a|0;if(a>>>0>>0|a>>>0>d>>>0|d-a>>>0<2){break G}c=i-4|0;F[b+12>>2]=c;if((c|0)<=0){break G}i=G[a|0]|G[a+1|0]<<8;if(!i){break F}e=a+2|0;if(e>>>0>>0|d>>>0>>0){break G}g=d-e|0;d=(i<<8|i>>>8)&65535;e=d<<1;if(g>>>0>>0){break G}c=c-e|0;F[b+12>>2]=c;if((c|0)<=0){break G}c=d>>>0>1?d:1;d=0;while(1){if(!Zm((a+(d<<1)|0)+2|0,b,a,j)){break G}e=1;d=d+1|0;if((c|0)!=(d|0)){continue}break}break F}a=F[b+28>>2];c=0;if(a>>>0>31){break E}F[b+28>>2]=a+1;e=0;if(!G[b+24|0]){break F}D[f|0]=0;D[f+1|0]=0;e=1}c=e}e=c}Ga=h+16|0;return e;case 5:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}return $m(a,b);case 6:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;H:{I:{J:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break H;case 1:break I;case 0:break J;default:break a}}return An(a,b)}return zn(a,b)}return yn(a,b);case 7:return xn(a,b);case 8:break b;default:break a}}c=0;K:{if(I[b+4>>2]>a>>>0){break K}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break K}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break K}c=1;if((G[a|0]|G[a+1|0]<<8)!=256){break K}c=0;L:{if(I[b+4>>2]>a>>>0){break L}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break L}d=F[b+12>>2]-8|0;F[b+12>>2]=d;if((d|0)<=0){break L}d=G[a+2|0]|G[a+3|0]<<8;if((d|0)==2304){break L}c=a;a=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=an(a?c+a|0:163632,b,(d<<8|(d&65280)>>>8)&65535)}}d=c}return d}function QA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;u=Ga-160|0;Ga=u;t=F[a+124>>2];a:{if(!(D[t+36|0]&1)){break a}while(1){b:{f=F[t+32>>2];if(f){break b}p=0;r=0;d=Ga-1920|0;Ga=d;c:{d:{h=ib(1,168);e:{if(h){f=F[a+56>>2];f:{if((f|0)>0){w=d+1052|0;m=d+1496|0;k=d+1448|0;x=d+464|0;while(1){g:{h:{if((f|0)>0){s=F[(r<<2)+126704>>2];n=F[a+60>>2];f=f-1|0;g=0;while(1){l=f+g>>>1|0;i=n+L(l,36)|0;e=F[i>>2];i:{if(e>>>0>s>>>0){f=l-1|0;break i}if(e>>>0>=s>>>0){break h}g=l+1|0}if((f|0)>=(g|0)){continue}break}}F[((p<<2)+h|0)+8>>2]=0;break g}s=(p<<2)+h|0;f=F[i+28>>2];F[s+8>>2]=f;if(!f){break g}j:{k:{l:{m:{n:{o:{if(r>>>0<=3){f=1569;q=0;while(1){g=H[((f<<3)+(r<<1)|0)+114184>>1];p:{if(!g){break p}e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(!(Ia[F[e+164>>2]](b,F[b+84>>2],f,j,F[e+20>>2])|0)){break p}e=d+112|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(!(Ia[F[e+164>>2]](b,F[b+84>>2],g,j,F[e+20>>2])|0)){break p}i=F[d+208>>2];g=F[d+112>>2];if((i|0)==(g|0)|(g|i)>>>0>65535){break p}e=q<<1;E[e+(d+1056|0)>>1]=g<<8|(g&65280)>>>8;E[e+(d+1424|0)>>1]=i<<8|(i&65280)>>>8;q=q+1|0}f=f+1|0;if((f|0)!=1748){continue}break}g=1;f=0;q:{switch(q|0){default:while(1){l=g<<1;o=l+(d+1424|0)|0;f=g;while(1){r:{e=f;if(!e){break r}f=e-1|0;n=H[(d+1424|0)+(f<<1)>>1];i=H[o>>1];if(((n<<8|n>>>8)&65535)>>>0<((i<<8|i>>>8)&65535)>>>0){break r}if((i|0)!=(n|0)){continue}}break}if((e|0)!=(g|0)){n=H[o>>1];j=e<<1;v=j+2|0;f=d+1424|0;o=f+j|0;i=g-e<<1;Cb(f+v|0,o,i);E[o>>1]=n;f=d+1056|0;e=H[f+l>>1];l=f+v|0;f=f+j|0;Cb(l,f,i);E[f>>1]=e}g=g+1|0;if((q|0)!=(g|0)){continue}break};break;case 0:break j;case 1:break q}}F[d+124>>2]=w;F[d+112>>2]=d+208;F[d+160>>2]=0;F[d+164>>2]=0;F[d+152>>2]=0;F[d+156>>2]=0;F[d+144>>2]=0;F[d+148>>2]=0;F[d+136>>2]=0;F[d+140>>2]=0;F[d+176>>2]=0;F[d+168>>2]=1;F[d+172>>2]=1;D[d+180|0]=1;F[d+200>>2]=0;F[d+192>>2]=0;F[d+196>>2]=0;F[d+184>>2]=0;F[d+188>>2]=0;F[61902]=0;_(748,d+112|0);f=F[61902];F[61902]=0;if((f|0)==1){k=Z()|0;Y()|0;F[d+168>>2]=-57005;b=F[d+176>>2];if(b){F[61902]=0;ea(605,b+24|0,b|0);a=F[61902];F[61902]=0;if((a|0)==1){break d}yb();Ta(b)}a=F[d+200>>2];if(a){Ta(a);F[d+200>>2]=0}F[d+184>>2]=0;F[d+188>>2]=0;F[d+160>>2]=0;Ta(F[d+164>>2]);F[d+164>>2]=0;F[d+156>>2]=0;F[d+160>>2]=0;F[d+136>>2]=0;a=F[d+148>>2];f=F[d+144>>2];if(f){c=(f<<2)+a|0;while(1){Ta(F[(f?a:163632)>>2]);b=!!f;f=f-b|0;a=(b<<2)+a|0;if((c|0)!=(a|0)){continue}break}a=F[d+148>>2]}F[d+144>>2]=0;Ta(a);F[d+148>>2]=0;F[d+140>>2]=0;F[d+144>>2]=0;$(k|0);V()}F[61902]=0;e=fa(749,d+112|0)|0;f=F[61902];F[61902]=0;if((f|0)!=1){s:{F[d+1880>>2]=0;F[d+1864>>2]=0;F[d+24>>2]=0;F[d+8>>2]=0;F[d+1876>>2]=q;F[d+1860>>2]=q;F[61902]=0;F[d+1872>>2]=d+1424;f=F[d+1876>>2];F[d+16>>2]=F[d+1872>>2];F[d+20>>2]=f;F[d+1856>>2]=d+1056;f=F[d+1860>>2];F[d>>2]=F[d+1856>>2];F[d+4>>2]=f;e=Ea(750,e|0,d+112|0,8,d+16|0,d|0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break s}g=F[d+132>>2];if(!g&F[d+156>>2]<0|!(G[d+180|0]?1:g)){break o}t:{if(!F[d+152>>2]){break t}if(g){f=0;if(!(g&2)){break k}F[d+132>>2]=g|1;break k}g=0;if(I[d+160>>2]<2){break t}F[61902]=0;aa(751,d+112|0,0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break s}F[61902]=0;Of(d+112|0);f=F[61902];F[61902]=0;if((f|0)==1){break s}g=F[d+132>>2]}f=0;if(g|!e){break k}n=F[d+120>>2];i=F[d+124>>2]-n|0;g=F[d+112>>2];l=F[d+116>>2]-g|0;e=i+l|0;if(!e){break k}e=nb(e);if(!e){break k}f=Ya(e,g,l);Ya(l+f|0,n,i);break k}}a=Z()|0;Y()|0;Je(d+112|0);$(a|0);V()}f=d+208|0;F[f>>2]=0;e=f;f=F[b+80>>2];g=Ia[F[f+164>>2]](b,F[b+84>>2],65247,e,F[f+20>>2])|0;if(!g){break n}F[d+1896>>2]=0;F[d+1904>>2]=0;f=H[d+208>>1];E[d+1912>>1]=f<<8|f>>>8;f=1;e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(Ia[F[e+164>>2]](b,F[b+84>>2],65248,j,F[e+20>>2])|0){break m}o=1;break l}F[d+132>>2]=1;f=0;break k}f=0;e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(Ia[F[e+164>>2]](b,F[b+84>>2],65248,j,F[e+20>>2])|0){break m}break j}o=1;e=H[d+208>>1];E[(d+1912|f<<1)>>1]=e<<8|e>>>8;e=f<<2;F[e+(d+1896|0)>>2]=0;F[e+(d+1904|0)>>2]=1;if(!g){break l}o=f+1|0;e=H[d+1912>>1];f=H[d+1914>>1];if(((e<<8|e>>>8)&65535)>>>0<((f<<8|f>>>8)&65535)>>>0|(f|0)==(e|0)){break l}E[d+1912>>1]=f;E[d+1914>>1]=e;y=d,z=JC(F[d+1904>>2],F[d+1908>>2]),F[y+1904>>2]=z;F[d+1908>>2]=Ha}g=0;f=0;while(1){e=f<<2;l=e+(d+1896|0)|0;n=L(F[e+(d+1904|0)>>2],18);i=H[n+128178>>1];e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];u:{if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break u}i=H[n+128180>>1];e=d+1424|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break u}F[l>>2]=F[l>>2]+1;F[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=H[d+1424>>1];E[i+(d+112|0)>>1]=e<<8|e>>>8;e=H[d+208>>1];E[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}i=H[n+128182>>1];e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];v:{if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break v}i=H[n+128184>>1];e=d+1424|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break v}F[l>>2]=F[l>>2]+1;F[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=H[d+1424>>1];E[i+(d+112|0)>>1]=e<<8|e>>>8;e=H[d+208>>1];E[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}i=H[n+128186>>1];e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];w:{if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break w}i=H[n+128188>>1];e=d+1424|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break w}F[l>>2]=F[l>>2]+1;F[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=H[d+1424>>1];E[i+(d+112|0)>>1]=e<<8|e>>>8;e=H[d+208>>1];E[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}i=H[n+128190>>1];e=d+208|0;F[e>>2]=0;j=e;e=F[b+80>>2];x:{if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break x}i=H[n+128192>>1];e=d+1424|0;F[e>>2]=0;j=e;e=F[b+80>>2];if(!(Ia[F[e+164>>2]](b,F[b+84>>2],i,j,F[e+20>>2])|0)){break x}F[l>>2]=F[l>>2]+1;F[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=H[d+1424>>1];E[i+(d+112|0)>>1]=e<<8|e>>>8;e=H[d+208>>1];E[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}f=f+1|0;if((o|0)!=(f|0)){continue}break}if(!g){f=0;break j}F[d+1436>>2]=x;F[d+1424>>2]=d+208;F[k+24>>2]=0;F[k+28>>2]=0;F[k+16>>2]=0;F[k+20>>2]=0;F[k+8>>2]=0;F[k+12>>2]=0;F[k>>2]=0;F[k+4>>2]=0;F[d+1488>>2]=0;F[d+1480>>2]=1;F[d+1484>>2]=1;D[d+1492|0]=1;F[m+16>>2]=0;F[m+8>>2]=0;F[m+12>>2]=0;F[m>>2]=0;F[m+4>>2]=0;F[61902]=0;_(748,d+1424|0);f=F[61902];F[61902]=0;if((f|0)==1){k=Z()|0;Y()|0;F[d+1480>>2]=-57005;b=F[d+1488>>2];if(b){F[61902]=0;ea(605,b+24|0,b|0);a=F[61902];F[61902]=0;if((a|0)==1){break d}yb();Ta(b)}a=F[d+1512>>2];if(a){Ta(a);F[d+1512>>2]=0}F[d+1496>>2]=0;F[d+1500>>2]=0;F[d+1472>>2]=0;Ta(F[d+1476>>2]);F[d+1476>>2]=0;F[d+1468>>2]=0;F[d+1472>>2]=0;F[d+1448>>2]=0;a=F[d+1460>>2];f=F[d+1456>>2];if(f){c=(f<<2)+a|0;while(1){Ta(F[(f?a:163632)>>2]);b=!!f;f=f-b|0;a=(b<<2)+a|0;if((c|0)!=(a|0)){continue}break}a=F[d+1460>>2]}F[d+1456>>2]=0;Ta(a);F[d+1460>>2]=0;a=d+1452|0;F[a>>2]=0;F[a+4>>2]=0;$(k|0);V()}F[61902]=0;i=fa(749,d+1424|0)|0;f=F[61902];F[61902]=0;y:{z:{if((f|0)!=1){A:{F[d+1864>>2]=0;F[d+1848>>2]=0;F[d+1832>>2]=0;F[d+1816>>2]=0;e=d+1800|0;F[e>>2]=0;F[d+104>>2]=0;F[d+1860>>2]=o;F[d+1844>>2]=o;F[d+1828>>2]=g;F[d+1812>>2]=g;F[d+1796>>2]=g;F[61902]=0;F[d+1856>>2]=d+1912;f=F[d+1860>>2];F[d+96>>2]=F[d+1856>>2];F[d+100>>2]=f;F[d+1840>>2]=d+1896;F[d+1824>>2]=d+112;F[d+1808>>2]=d+1056;F[d+1792>>2]=d+1872;F[d+88>>2]=0;F[d+72>>2]=0;F[d+56>>2]=0;f=F[d+1844>>2];F[d+80>>2]=F[d+1840>>2];F[d+84>>2]=f;f=F[d+1828>>2];F[d+64>>2]=F[d+1824>>2];F[d+68>>2]=f;f=F[d+1812>>2];F[d+48>>2]=F[d+1808>>2];F[d+52>>2]=f;F[d+40>>2]=F[e>>2];f=F[d+1796>>2];F[d+32>>2]=F[d+1792>>2];F[d+36>>2]=f;e=ta(753,i|0,d+1424|0,8,d+96|0,d+80|0,d- -64|0,d+48|0,d+32|0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break A}g=F[d+1444>>2];if(!g&F[d+1468>>2]<0|!(G[d+1492|0]?1:g)){break z}B:{if(!F[d+1464>>2]){break B}if(g){f=0;if(!(g&2)){break y}F[d+1444>>2]=g|1;break y}g=0;if(I[d+1472>>2]<2){break B}F[61902]=0;aa(751,d+1424|0,0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break A}F[61902]=0;Of(d+1424|0);f=F[61902];F[61902]=0;if((f|0)==1){break A}g=F[d+1444>>2]}f=0;if(g|!e){break y}n=F[d+1432>>2];i=F[d+1436>>2]-n|0;g=F[d+1424>>2];l=F[d+1428>>2]-g|0;e=i+l|0;if(!e){break y}e=nb(e);if(!e){break y}f=Ya(e,g,l);Ya(l+f|0,n,i);break y}}a=Z()|0;Y()|0;Je(d+1424|0);$(a|0);V()}F[d+1444>>2]=1;f=0}Je(d+1424|0);break j}Je(d+112|0)}F[s+28>>2]=f;if(!f){break g}Ln((L(p,24)+h|0)+48|0,f);p=p+1|0}r=r+1|0;if((r|0)!=5){f=F[a+56>>2];continue}break}D[h+4|0]=1;F[h>>2]=p;if(p){break e}break f}D[h+4|0]=1;F[h>>2]=0}Ta(h)}h=163632}Ga=d+1920|0;f=h;break c}ca(0)|0;Y()|0;Hb();V()}k=F[t+32>>2];F[t+32>>2]=k?k:f;if(!k){break b}g=0;if(!(!f|!F[f>>2])){while(1){k=(g<<2)+f|0;C:{if(!F[k+28>>2]){break C}m=L(g,24)+f|0;F[m- -64>>2]=0;Ta(F[m+68>>2]);F[m+68>>2]=0;F[m+60>>2]=0;F[m+64>>2]=0;if(!G[f+4|0]){break C}Ta(F[k+28>>2])}g=g+1|0;if(g>>>0>2]){continue}break}Ta(f)}continue}break}h=rc(u+8|0,0,b,c);b=F[f>>2];if(!b){break a}c=0;while(1){a=(c<<2)+f|0;e=F[a+28>>2];if(e){k=F[a+8>>2];F[h+36>>2]=0;F[h+120>>2]=k;F[h+28>>2]=0;F[h+32>>2]=0;b=F[h+132>>2];F[h+12>>2]=b;a=F[h+124>>2]==1;D[h+16|0]=a;F[h+80>>2]=0;F[h+20>>2]=k;D[h+17|0]=G[h+142|0];F[h+72>>2]=0;F[h+76>>2]=0;F[h+56>>2]=b;F[h+64>>2]=-1;D[h+61|0]=1;D[h+60|0]=a|G[h+141|0]!=0;F[h+8>>2]=h;F[h+52>>2]=h;k=(L(c,24)+f|0)+48|0;m=F[h+100>>2];D:{if(!F[m+68>>2]){break D}b=F[h+120>>2];if(!b){break D}a=G[e+2|0]|G[e+3|0]<<8;a=a<<8|a>>>8;o=a&65535;if(a&16){a=G[e+4|0]|G[e+5|0]<<8;a=e+(((a<<8|a>>>8)&65535)<<1)|0;a=G[a+6|0]|G[a+7|0]<<8;o=(a<<8|a>>>8)<<16|o}F[h+132>>2]=o;F[h- -64>>2]=-1;D[h+61|0]=1;F[h+36>>2]=0;F[h+8>>2]=h;F[h+28>>2]=0;F[h+32>>2]=0;F[h+12>>2]=o;F[h+80>>2]=0;F[h+52>>2]=h;F[h+20>>2]=b;D[h+17|0]=G[h+142|0];F[h+72>>2]=0;F[h+76>>2]=0;F[h+56>>2]=o;a=F[h+124>>2]==1;D[h+16|0]=a;D[h+60|0]=a|G[h+141|0]!=0;E:{a=G[e|0]|G[e+1|0]<<8;F:{if((a|0)!=1792){if((a|0)!=2048){break F}break E}o=H[81816];a=G[e+4|0]|G[e+5|0]<<8?G[e+6|0]|G[e+7|0]<<8:o;G:{if(!(a&65535)){a=163632;break G}a=e+((a<<8|(a&65280)>>>8)&65535)|0;o=G[a|0]|G[a+1|0]<<8}if((o&65535)!=256){break F}if((G[a+2|0]|G[a+3|0]<<8)==2048){break E}}F[m+72>>2]=0;F[m+64>>2]=0;D[m+61|0]=1;D[m+62|0]=0;F[m+84>>2]=F[m+80>>2];F[m+64>>2]=0;lh(h,k);mc(m);break D}F[m+64>>2]=F[m+68>>2]-1;Tn(h,k)}b=F[f>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}Ga=u+160|0}function xB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=Ga-80|0;Ga=j;a:{b:{switch(G[a+5|0]){case 0:d=F[b+4>>2];q=E[d+152>>1]&1;if(q){h=G[a+4|0];F[j+24>>2]=a;F[j+28>>2]=b;D[j+12|0]=h>>>6&1;F[j+8>>2]=j+24;r=F[d+144>>2];o=Ga-160|0;Ga=o;g=F[b+16>>2];i=F[b+8>>2];if(mb(g,i,106300,0)){if(G[g+16|0]&64){wb(g,2,0,-1,1,0)}a=rc(o+8|0,1,i,g);F[a+120>>2]=r;F[a+132>>2]=8;F[a+36>>2]=0;F[a+8>>2]=a;F[a+28>>2]=0;F[a+32>>2]=0;F[a+80>>2]=0;F[a+52>>2]=a;F[a+20>>2]=r;D[a+17|0]=G[a+142|0];F[a+12>>2]=8;F[a+72>>2]=0;F[a+76>>2]=0;F[a- -64>>2]=-1;D[a+61|0]=1;F[a+56>>2]=8;b=F[a+124>>2]==1;D[a+16|0]=b;D[a+60|0]=b|G[a+141|0]!=0;h=F[g+68>>2];if(h){s=a+4|0;l=F[g+88>>2];t=F[g+80>>2];v=(F[g+40>>2]&-2)!=4;while(1){c:{d:{p=L(e,20);f=p+t|0;if(!(r&F[f+4>>2])){break d}F[a+40>>2]=1;F[a+4>>2]=e;d=F[F[a+8>>2]+100>>2];F[a+44>>2]=F[d+68>>2];b=0;D[a+24|0]=F[d+64>>2]==(e|0)?G[(p+F[d+80>>2]|0)+15|0]:0;if(!cc(s,o+4|0)){break d}d=F[s>>2];m=L(d,20);u=F[F[j+8>>2]>>2];c=G[u+8|0]|G[u+9|0]<<8;e:{if(c){n=F[f>>2];x=F[m+t>>2];f=((c<<8|c>>>8)&65535)-1|0;while(1){f:{g:{w=b+f>>>1|0;k=u+L(w,6)|0;c=k+16|0;y=G[c|0]|G[c+1|0]<<8;y=(y<<8|y>>>8)&65535;h:{if((y|0)==(n|0)){k=G[k+18|0]|G[k+19|0]<<8;k=(k<<8|k>>>8)&65535;if(k>>>0>x>>>0){break h}if((k|0)==(x|0)){break e}break g}if(n>>>0>=y>>>0){break g}}f=w-1|0;break f}b=w+1|0}if((b|0)<=(f|0)){continue}break}}c=163632}c=G[c+4|0]|G[c+5|0]<<8;if(!c){break c}b=c<<8|c>>>8;i:{if(!v){c=b<<16;f=c>>31;b=EC(F[i+40>>2],F[i+44>>2],c>>16,f)+32768|0;f=Ha;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(G[j+12|0]){F[(l+m|0)+12>>2]=b;F[g+144>>2]=F[g+144>>2]|8;break i}c=l+p|0;f=b>>1;F[c>>2]=f+F[c>>2];c=l+m|0;b=b-f|0;F[c>>2]=b+F[c>>2];F[c+8>>2]=b+F[c+8>>2];break i}c=b<<16;f=c>>31;b=EC(F[i+48>>2],F[i+52>>2],c>>16,f)+32768|0;f=Ha;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(G[j+12|0]){F[(l+m|0)+8>>2]=b;F[g+144>>2]=F[g+144>>2]|8;break i}c=l+p|0;f=b>>1;F[c+4>>2]=f+F[c+4>>2];c=l+m|0;b=b-f|0;F[c+4>>2]=b+F[c+4>>2];F[c+12>>2]=b+F[c+12>>2]}Fc(g,e,d+1|0);d=F[s>>2];break c}d=e+1|0}e=d;if(h>>>0>e>>>0){continue}break}}mb(g,i,106331,0)}Ga=o+160|0}break a;case 1:d=G[a+4|0];e=D[F[b+4>>2]+152|0]&1|d&64;p=!e;if(e){F[j+28>>2]=a;F[j+24>>2]=b;e=G[a+16|0]|G[a+17|0]<<8;D[j+72|0]=d>>>6&1;F[j+68>>2]=0;a=a+8|0;F[j+32>>2]=a+((e<<8|e>>>8)&65535);e=F[F[b+8>>2]+16>>2];F[j+12>>2]=F[b+16>>2];F[j+8>>2]=a;a=F[e+32>>2];if((a|0)==-1){a=Zb(e)}F[j+16>>2]=a;h=j+24|0;a=0;l=j+8|0;e=F[l+4>>2];F[e+64>>2]=0;j:{if(!G[e+60|0]){break j}while(1){t=I[e+68>>2]<=q>>>0;b=0;k:{if(t){break k}c=F[F[e+80>>2]+L(q,20)>>2];b=2;if((c|0)==65535){break k}b=F[l>>2];d=G[b+2|0]|G[b+3|0]<<8;d=((d<<8|d>>>8)&65535)+b|0;b=G[d|0]|G[d+1|0]<<8;c=c-((b<<8|b>>>8)&65535)|0;g=G[d+2|0]|G[d+3|0]<<8;b=1;if(c>>>0>=((g<<8|g>>>8)&65535)>>>0){break k}b=G[(c+d|0)+4|0]}d=b;b=F[l>>2];g=G[b|0]|G[b+1|0]<<8;c=(g<<8|g>>>8)&65535;f=d>>>0>>0;i=G[b+4|0]|G[b+5|0]<<8;m=(i<<8|i>>>8)&65535;r=m+b|0;u=L(a,c);i=G[b+6|0]|G[b+7|0]<<8;o=b+((i<<8|i>>>8)&65535)|0;i=(G[r+(u+(f?d:1)|0)|0]<<2)+o|0;b=G[i|0]|G[i+1|0]<<8;b=(((b<<8|b>>>8)&65535)-m|0)/(c|0)|0;s=G[i+2|0]|G[i+3|0]<<8;l:{m:{if(s&65343){break m}if(!(!a|!(s&64?b:1))){a=o+(G[r+(f?d:1)|0]<<2)|0;d=G[a+2|0]|G[a+3|0]<<8;if(d&65343){break m}a=G[a|0]|G[a+1|0]<<8;if((d^s)&64|(b|0)!=((((a<<8|a>>>8)&65535)-m|0)/(c|0)|0)){break m}}a=o+(G[r+(u+!g|0)|0]<<2)|0;if(!((G[a+2|0]|G[a+3|0]<<8)&65343)){break l}}a=G[e+61|0]?F[e+72>>2]:q;if(t|!a){break l}wb(e,3,a-1|0,q+1|0,1,1)}a=F[l+4>>2];d=G[i+2|0]|G[i+3|0]<<8;n:{if(!(d&128)){break n}e=F[h+44>>2];if(e>>>0<=7){c=F[a+64>>2];F[h+44>>2]=e+1;F[(h+(e<<2)|0)+12>>2]=c;break n}F[h+44>>2]=0}e=d&65343;o:{if(!e){break o}c=F[h+44>>2];if(!c){break o}p:{q:{if(c>>>0>2147483646){break q}d=F[h+4>>2]+((e<<8|e>>>8)&65535)|0;e=F[h+8>>2];g=((d-e|0)+8&-2)+e|0;e=F[h>>2];if(g>>>0>2]){break q}d=F[e+28>>2];if(d>>>0>>0){break q}k=d-g|0;d=c<<1;if(k>>>0>>0){break q}d=F[e+32>>2]-d|0;F[e+32>>2]=d;if((d|0)>0){break p}}F[h+44>>2]=0;break o}q=F[F[e+4>>2]+144>>2];while(1){c=c-1|0;F[h+44>>2]=c;d=F[(h+(c<<2)|0)+12>>2];if(d>>>0>2]){e=G[g|0]|G[g+1|0]<<8;c=(e<<8|e>>>8)<<16>>16;e=c&-2;m=c&1;f=G[h+48|0];c=F[a+88>>2];r:{if((F[a+40>>2]&-2)==4){if(f){d=c+L(d,20)|0;if((e|0)==-32768){E[d+16>>1]=0;D[d+18|0]=0;F[d+12>>2]=0;break r}if(!G[d+18|0]){break r}c=d;k=F[d+12>>2];d=F[F[h>>2]+8>>2];e=EC(F[d+48>>2],F[d+52>>2],e,e>>31)+32768|0;f=Ha;f=e>>>0<32768?f+1|0:f;F[c+12>>2]=k+((f&65535)<<16|e>>>16);F[a+144>>2]=F[a+144>>2]|8;break r}d=L(d,20);if(!(q&F[(d+F[a+80>>2]|0)+4>>2])){break r}d=c+d|0;c=F[F[h>>2]+8>>2];e=EC(F[c+40>>2],F[c+44>>2],e,e>>31)+32768|0;f=Ha;f=e>>>0<32768?f+1|0:f;e=(f&65535)<<16|e>>>16;F[d>>2]=e+F[d>>2];F[d+8>>2]=e+F[d+8>>2];break r}if(f){d=c+L(d,20)|0;if((e|0)==-32768){E[d+16>>1]=0;D[d+18|0]=0;F[d+8>>2]=0;break r}if(!G[d+18|0]){break r}k=d;f=F[d+8>>2];d=F[F[h>>2]+8>>2];e=EC(F[d+40>>2],F[d+44>>2],e,e>>31)+32768|0;c=Ha;c=e>>>0<32768?c+1|0:c;F[k+8>>2]=f+((c&65535)<<16|e>>>16);F[a+144>>2]=F[a+144>>2]|8;break r}d=L(d,20);if(!(q&F[(d+F[a+80>>2]|0)+4>>2])){break r}d=c+d|0;c=F[F[h>>2]+8>>2];e=EC(F[c+48>>2],F[c+52>>2],e,e>>31)+32768|0;f=Ha;f=e>>>0<32768?f+1|0:f;e=(f&65535)<<16|e>>>16;F[d+4>>2]=e+F[d+4>>2];F[d+12>>2]=e+F[d+12>>2]}if(m){break o}c=F[h+44>>2]}g=g+2|0;if(c){continue}break}}a=F[l+4>>2];e=F[a+64>>2];if((e|0)==F[a+68>>2]|!G[a+60|0]){break j}s:{if(G[i+2|0]&64){d=F[a+152>>2];F[a+152>>2]=d-1;if((d|0)>0){break s}}if(G[a+61|0]){t:{if(F[a+84>>2]==F[a+80>>2]){d=e;if(F[a+72>>2]==(d|0)){break t}}if(!$a(a,1,1)){break s}e=F[a+80>>2]+L(F[a+64>>2],20)|0;c=F[e+4>>2];d=F[a+84>>2]+L(F[a+72>>2],20)|0;F[d>>2]=F[e>>2];F[d+4>>2]=c;F[d+16>>2]=F[e+16>>2];c=F[e+12>>2];F[d+8>>2]=F[e+8>>2];F[d+12>>2]=c;e=F[a+64>>2];d=F[a+72>>2]}F[a+72>>2]=d+1}F[a+64>>2]=e+1}e=F[l+4>>2];if(!G[e+60|0]){break j}q=F[e+64>>2];a=b;continue}}}q=!p;break a;case 2:d=F[b+4>>2];q=E[d+152>>1]&1;if(q){h=G[a+4|0];F[j+24>>2]=a;F[j+28>>2]=b;D[j+12|0]=h>>>6&1;F[j+8>>2]=j+24;r=F[d+144>>2];o=Ga-160|0;Ga=o;h=F[b+16>>2];i=F[b+8>>2];if(mb(h,i,106300,0)){if(G[h+16|0]&64){wb(h,2,0,-1,1,0)}a=rc(o+8|0,1,i,h);F[a+120>>2]=r;F[a+132>>2]=8;F[a+36>>2]=0;F[a+8>>2]=a;F[a+28>>2]=0;F[a+32>>2]=0;F[a+80>>2]=0;F[a+52>>2]=a;F[a+20>>2]=r;D[a+17|0]=G[a+142|0];F[a+12>>2]=8;F[a+72>>2]=0;F[a+76>>2]=0;F[a- -64>>2]=-1;D[a+61|0]=1;F[a+56>>2]=8;b=F[a+124>>2]==1;D[a+16|0]=b;D[a+60|0]=b|G[a+141|0]!=0;d=F[h+68>>2];if(d){s=a+4|0;l=F[h+88>>2];t=F[h+80>>2];x=(F[h+40>>2]&-2)!=4;while(1){u:{v:{p=L(e,20);n=p+t|0;if(!(r&F[n+4>>2])){break v}F[a+40>>2]=1;F[a+4>>2]=e;b=F[F[a+8>>2]+100>>2];F[a+44>>2]=F[b+68>>2];D[a+24|0]=F[b+64>>2]==(e|0)?G[(p+F[b+80>>2]|0)+15|0]:0;if(!cc(s,o+4|0)){break v}b=F[j+8>>2];c=F[b>>2];w=F[s>>2];m=L(w,20);k=F[m+t>>2];f=F[b+4>>2];g=0;u=0;v=F[n>>2];b=G[c+10|0]|G[c+11|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;n=G[b|0]|G[b+1|0]<<8;n=v-((n<<8|n>>>8)&65535)|0;v=G[b+2|0]|G[b+3|0]<<8;if(n>>>0<((v<<8|v>>>8)&65535)>>>0){b=b+(n<<1)|0;b=G[b+4|0]|G[b+5|0]<<8;u=(b<<8|b>>>8)&65535}b=G[c+12|0]|G[c+13|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;n=G[b|0]|G[b+1|0]<<8;n=k-((n<<8|n>>>8)&65535)|0;k=G[b+2|0]|G[b+3|0]<<8;if(n>>>0<((k<<8|k>>>8)&65535)>>>0){b=b+(n<<1)|0;b=G[b+4|0]|G[b+5|0]<<8;g=(b<<8|b>>>8)&65535}b=0;k=(c+u|0)+g|0;g=G[c+14|0]|G[c+15|0]<<8;c=c+((g<<8|g>>>8)&65535)|0;c=(k-c&-2)+c|0;w:{if(c>>>0>2]){break w}g=F[f+28>>2];if(g>>>0>>0|g-c>>>0<2){break w}g=F[f+32>>2]-2|0;F[f+32>>2]=g;if((g|0)<=0){break w}b=G[c|0]|G[c+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}if(b){x:{if(!x){c=b<<16;f=c>>31;b=EC(F[i+40>>2],F[i+44>>2],c>>16,f)+32768|0;f=Ha;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(G[j+12|0]){F[(l+m|0)+12>>2]=b;F[h+144>>2]=F[h+144>>2]|8;break x}c=l+p|0;g=b>>1;F[c>>2]=g+F[c>>2];c=l+m|0;b=b-g|0;F[c>>2]=b+F[c>>2];F[c+8>>2]=b+F[c+8>>2];break x}c=b<<16;f=c>>31;b=EC(F[i+48>>2],F[i+52>>2],c>>16,f)+32768|0;f=Ha;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(G[j+12|0]){F[(l+m|0)+8>>2]=b;F[h+144>>2]=F[h+144>>2]|8;break x}c=l+p|0;g=b>>1;F[c+4>>2]=g+F[c+4>>2];c=l+m|0;b=b-g|0;F[c+4>>2]=b+F[c+4>>2];F[c+12>>2]=b+F[c+12>>2]}Fc(h,e,w+1|0)}e=F[s>>2];break u}e=e+1|0}if(d>>>0>e>>>0){continue}break}}mb(h,i,106331,0)}Ga=o+160|0}break a;case 3:break b;default:break a}}d=F[b+4>>2];q=E[d+152>>1]&1;if(q){h=G[a+4|0];F[j+24>>2]=a;D[j+28|0]=h>>>6&1;r=F[d+144>>2];o=Ga-160|0;Ga=o;g=F[b+16>>2];i=F[b+8>>2];if(mb(g,i,106300,0)){if(G[g+16|0]&64){wb(g,2,0,-1,1,0)}b=rc(o+8|0,1,i,g);F[b+120>>2]=r;F[b+132>>2]=8;F[b+36>>2]=0;F[b+8>>2]=b;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+52>>2]=b;F[b+20>>2]=r;D[b+17|0]=G[b+142|0];F[b+12>>2]=8;F[b+72>>2]=0;F[b+76>>2]=0;F[b- -64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=8;a=F[b+124>>2]==1;D[b+16|0]=a;D[b+60|0]=a|G[b+141|0]!=0;h=F[g+68>>2];if(h){s=b+4|0;l=F[g+88>>2];t=F[g+80>>2];u=(F[g+40>>2]&-2)!=4;while(1){y:{z:{p=L(e,20);c=p+t|0;if(!(r&F[c+4>>2])){break z}F[b+40>>2]=1;F[b+4>>2]=e;a=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[a+68>>2];D[b+24|0]=F[a+64>>2]==(e|0)?G[(p+F[a+80>>2]|0)+15|0]:0;if(!cc(s,o+4|0)){break z}a=F[s>>2];d=F[j+24>>2];n=G[d+10|0];f=((n<<1)+d|0)+14|0;c=F[c>>2];m=f+c|0;k=c;c=G[d+8|0]|G[d+9|0]<<8;c=(c<<8|c>>>8)&65535;x=G[(k>>>0>>0?m:163632)|0];w=G[d+11|0];if(x>>>0>=w>>>0){break y}k=c+f|0;m=L(a,20);f=F[m+t>>2];v=G[(c>>>0>f>>>0?k+f|0:163632)|0];f=G[d+12|0];if(v>>>0>=f>>>0){break y}k=c+k|0;c=v+L(f,x)|0;c=G[(c>>>0>>0?k+c|0:163632)|0];d=c>>>0>>0?(d+(c<<1)|0)+14|0:163632;d=G[d|0]|G[d+1|0]<<8;if(!d){break y}d=d<<8|d>>>8;A:{if(!u){c=d<<16;f=c>>31;d=EC(F[i+40>>2],F[i+44>>2],c>>16,f)+32768|0;f=Ha;f=d>>>0<32768?f+1|0:f;d=(f&65535)<<16|d>>>16;if(G[j+28|0]){F[(l+m|0)+12>>2]=d;F[g+144>>2]=F[g+144>>2]|8;break A}c=l+p|0;f=d>>1;F[c>>2]=f+F[c>>2];c=l+m|0;d=d-f|0;F[c>>2]=d+F[c>>2];F[c+8>>2]=d+F[c+8>>2];break A}c=d<<16;f=c>>31;d=EC(F[i+48>>2],F[i+52>>2],c>>16,f)+32768|0;f=Ha;f=d>>>0<32768?f+1|0:f;d=(f&65535)<<16|d>>>16;if(G[j+28|0]){F[(l+m|0)+8>>2]=d;F[g+144>>2]=F[g+144>>2]|8;break A}c=l+p|0;f=d>>1;F[c+4>>2]=f+F[c+4>>2];c=l+m|0;d=d-f|0;F[c+4>>2]=d+F[c+4>>2];F[c+12>>2]=d+F[c+12>>2]}Fc(g,e,a+1|0);a=F[s>>2];break y}a=e+1|0}e=a;if(h>>>0>a>>>0){continue}break}}mb(g,i,106331,0)}Ga=o+160|0}}Ga=j+80|0;return q|0}function GA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=Ga-32|0;Ga=j;F[b+72>>2]=0;F[b+64>>2]=0;D[b+61|0]=1;D[b+62|0]=0;F[b+84>>2]=F[b+80>>2];F[b+64>>2]=0;w=F[b+68>>2];a:{if(!w){break a}h=b- -64|0;while(1){if(!G[b+60|0]){break a}k=F[b+80>>2];q=k+L(d,20)|0;f=F[q>>2];b:{if((f&-2)==12334){c:{if(!(F[b+72>>2]!=(i|0)|i>>>0<=m>>>0)){wb(b,3,m,d,1,1);if(G[b+61|0]){d:{if(F[b+84>>2]==F[b+80>>2]){d=F[b+72>>2];if((d|0)==F[h>>2]){break d}}if(!$a(b,1,1)){break a}d=F[b+80>>2]+L(F[h>>2],20)|0;e=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=e;F[a+16>>2]=F[d+16>>2];e=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=e;d=F[b+72>>2]}F[b+72>>2]=d+1}F[h>>2]=F[h>>2]+1;a=j+8|0;F[a>>2]=0;d=a;a=F[c+80>>2];if(Ia[F[a+164>>2]](c,F[c+84>>2],f,d,F[a+20>>2])|0){a=F[c+80>>2];if(!(Ia[F[a+176>>2]](c,F[c+84>>2],F[j+8>>2],F[a+32>>2])|0)){break c}}Xc(b,m,i+1|0);d=F[b+84>>2];a=d+L(i,20)|0;F[j+24>>2]=F[a+16>>2];e=F[a+12>>2];F[j+16>>2]=F[a+8>>2];F[j+20>>2]=e;e=F[a+4>>2];F[j+8>>2]=F[a>>2];F[j+12>>2]=e;a=d+L(m,20)|0;Cb(a+20|0,a,L(i-m|0,20));F[a+16>>2]=F[j+24>>2];d=F[j+20>>2];F[a+8>>2]=F[j+16>>2];F[a+12>>2]=d;d=F[j+12>>2];F[a>>2]=F[j+8>>2];F[a+4>>2]=d;break c}e:{if(G[b+16|0]&16){break e}F[j+8>>2]=0;a=F[c+80>>2];if(!(Ia[F[a+164>>2]](c,F[c+84>>2],9676,j+8|0,F[a+20>>2])|0)){break e}a=j+8|0;F[a>>2]=0;d=a;a=F[c+80>>2];f:{if(!(Ia[F[a+164>>2]](c,F[c+84>>2],f,d,F[a+20>>2])|0)){i=9676;break f}a=F[c+80>>2];a=Ia[F[a+176>>2]](c,F[c+84>>2],F[j+8>>2],F[a+32>>2])|0;i=a?9676:f;f=a?f:9676}if(!$a(b,1,2)){break c}a=F[b+64>>2];g:{if(a>>>0>2]){d=F[b+72>>2];m=F[b+84>>2];a=F[b+80>>2]+L(a,20)|0;break g}m=F[b+84>>2];d=F[b+72>>2];a=m+L(d?d-1|0:0,20)|0}e=F[a+4>>2];d=L(d,20)+m|0;F[d>>2]=F[a>>2];F[d+4>>2]=e;F[d+16>>2]=F[a+16>>2];e=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=e;F[d>>2]=f;e=F[a+4>>2];F[d+20>>2]=F[a>>2];F[d+24>>2]=e;e=F[a+12>>2];F[d+28>>2]=F[a+8>>2];F[d+32>>2]=e;F[d+36>>2]=F[a+16>>2];F[d+20>>2]=i;F[h>>2]=F[h>>2]+1;F[b+72>>2]=F[b+72>>2]+2;break c}if(G[b+61|0]){h:{if(F[b+84>>2]==F[b+80>>2]){f=F[b+72>>2];if((f|0)==F[h>>2]){break h}}if(!$a(b,1,1)){break c}d=F[b+80>>2]+L(F[h>>2],20)|0;e=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=e;F[a+16>>2]=F[d+16>>2];e=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=e;f=F[b+72>>2]}F[b+72>>2]=f+1}F[h>>2]=F[h>>2]+1}m=F[b+72>>2];i=m;break b}m=F[b+72>>2];i:{j:{k:{y=f-4352|0;l:{if(!(f-43360>>>0>28&y>>>0>=96)){o=d+1|0;if(o>>>0>=w>>>0){break l}n=F[k+L(o,20)>>2];if(n-4448>>>0>=72&n-55216>>>0>22){break l}z=0;u=0;a=d+2|0;if(a>>>0>>0){a=F[k+L(a,20)>>2];e=a-4520>>>0<88|a-55243>>>0<49;z=e?a-4519|0:0;u=e?a:0}a=F[b+68>>2];p=u?3:2;e=p+d|0;r=a>>>0>>0?a:e;t=r-d|0;m:{if(t>>>0<2){break m}e=F[b+144>>2]|32;F[b+144>>2]=e;if(d>>>0>=r>>>0){break m}i=-1;a=d;x=r+(a^-1)|0;if(x>>>0>=3){s=t&-4;g=0;while(1){l=k+L(a,20)|0;v=F[l+8>>2];i=i>>>0>>0?i:v;v=F[l+28>>2];i=i>>>0>>0?i:v;v=F[l+48>>2];i=i>>>0>>0?i:v;l=F[l+68>>2];i=i>>>0>>0?i:l;a=a+4|0;g=g+4|0;if((s|0)!=(g|0)){continue}break}}g=0;l=t&3;if(l){while(1){s=F[(k+L(a,20)|0)+8>>2];i=i>>>0>>0?i:s;a=a+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=d;if(t&1){if(F[q+8>>2]!=(i|0)){F[b+144>>2]=e;F[q+4>>2]=F[q+4>>2]|3}a=o}if(!x){break m}while(1){g=k+L(a,20)|0;if(F[g+8>>2]!=(i|0)){e=e|32;F[b+144>>2]=e;F[g+4>>2]=F[g+4>>2]|3}g=k+L(a+1|0,20)|0;if(F[g+8>>2]!=(i|0)){e=e|32;F[b+144>>2]=e;F[g+4>>2]=F[g+4>>2]|3}a=a+2|0;if((r|0)!=(a|0)){continue}break}}n:{o:{p:{q:{r:{if(!(y>>>0>18|n-4449>>>0>20|(u-4520>>>0>26?u:0))){F[j+8>>2]=0;e=((L(f,588)+L(n,28)|0)+z|0)-2639516|0;a=F[c+80>>2];if(Ia[F[a+164>>2]](c,F[c+84>>2],e,j+8|0,F[a+20>>2])|0){break r}d=F[h>>2]}D[(F[b+80>>2]+L(d,20)|0)+19|0]=1;if(!G[b+61|0]){break o}if(F[b+84>>2]==F[b+80>>2]){f=F[b+72>>2];if((f|0)==F[h>>2]){break p}}if($a(b,1,1)){break q}f=F[h>>2];break n}if(!$a(b,p,1)){i=m+1|0;break b}a=F[b+64>>2];Kb(b,a,a+p|0);a=F[b+64>>2];s:{if(a>>>0>2]){d=F[b+72>>2];i=F[b+84>>2];a=F[b+80>>2]+L(a,20)|0;break s}i=F[b+84>>2];d=F[b+72>>2];a=i+L(d?d-1|0:0,20)|0}g=F[a+4>>2];d=L(d,20)+i|0;F[d>>2]=F[a>>2];F[d+4>>2]=g;F[d+16>>2]=F[a+16>>2];g=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=g;F[d>>2]=e;F[h>>2]=p+F[h>>2];F[b+72>>2]=F[b+72>>2]+1;i=m+1|0;break b}d=F[b+80>>2]+L(F[h>>2],20)|0;e=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=e;F[a+16>>2]=F[d+16>>2];e=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=e;f=F[b+72>>2]}F[b+72>>2]=f+1}f=F[h>>2]+1|0;F[h>>2]=f}D[(F[b+80>>2]+L(f,20)|0)+19|0]=2;t:{if(G[b+61|0]){u:{if(F[b+84>>2]==F[b+80>>2]){f=F[b+72>>2];if((f|0)==F[h>>2]){break u}}if(!$a(b,1,1)){break t}d=F[b+80>>2]+L(F[h>>2],20)|0;e=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=e;F[a+16>>2]=F[d+16>>2];e=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=e;f=F[b+72>>2]}F[b+72>>2]=f+1}F[h>>2]=F[h>>2]+1}if(u){D[(F[b+80>>2]+L(F[b+64>>2],20)|0)+19|0]=3;v:{if(G[b+61|0]){w:{if(F[b+84>>2]==F[b+80>>2]){f=F[b+72>>2];if((f|0)==F[h>>2]){break w}}if(!$a(b,1,1)){break v}d=F[b+80>>2]+L(F[h>>2],20)|0;e=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=e;F[a+16>>2]=F[d+16>>2];e=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=e;f=F[b+72>>2]}F[b+72>>2]=f+1}F[h>>2]=F[h>>2]+1}a=3}else{a=2}if(!G[b+60|0]){break a}i=a+m|0;if(F[b+20>>2]){break b}Xc(b,m,i);break b}a=f-44032|0;if(a>>>0>11171){break l}F[j+8>>2]=0;a=a&65535;t=(a>>>0)/588|0;d=F[c+80>>2];u=Ia[F[d+164>>2]](c,F[c+84>>2],f,j+8|0,F[d+20>>2])|0;a=(a>>>0)%588|0;p=(a>>>0)/28|0;l=a-L(p,28)|0;o=l&65535;x:{y:{if(!o){a=F[h>>2]+1|0;z:{if(a>>>0>=w>>>0){break z}a=F[F[b+80>>2]+L(a,20)>>2];if(a-4520>>>0>26){break z}F[j+8>>2]=0;e=(a+f|0)-4519|0;a=F[c+80>>2];z=Ia[F[a+164>>2]](c,F[c+84>>2],e,j+8|0,F[a+20>>2])|0;if(z){if($a(b,2,1)){a=F[b+64>>2];Kb(b,a,a+2|0);a=F[b+64>>2];A:{if(a>>>0>2]){d=F[b+72>>2];o=F[b+84>>2];a=F[b+80>>2]+L(a,20)|0;break A}o=F[b+84>>2];d=F[b+72>>2];a=o+L(d?d-1|0:0,20)|0}g=F[a+4>>2];d=L(d,20)+o|0;F[d>>2]=F[a>>2];F[d+4>>2]=g;F[d+16>>2]=F[a+16>>2];g=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=g;F[d>>2]=e;F[h>>2]=F[h>>2]+2;F[b+72>>2]=F[b+72>>2]+1}i=m+1|0;break b}a=F[b+68>>2];g=F[b+64>>2];d=g+2|0;k=a>>>0>>0?a:d;q=k-g|0;if(q>>>0<2){break z}a=F[b+144>>2]|32;F[b+144>>2]=a;if(g>>>0>=k>>>0){break z}d=F[b+80>>2];f=-1;e=g;y=k+(e^-1)|0;if(y>>>0>=3){x=q&-4;r=0;while(1){n=d+L(e,20)|0;s=F[n+8>>2];f=f>>>0>>0?f:s;s=F[n+28>>2];f=f>>>0>>0?f:s;s=F[n+48>>2];f=f>>>0>>0?f:s;n=F[n+68>>2];f=f>>>0>>0?f:n;e=e+4|0;r=r+4|0;if((x|0)!=(r|0)){continue}break}}n=0;r=q&3;if(r){while(1){x=F[(d+L(e,20)|0)+8>>2];f=f>>>0>>0?f:x;e=e+1|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}if(q&1){e=d+L(g,20)|0;if(F[e+8>>2]!=(f|0)){F[b+144>>2]=a;F[e+4>>2]=F[e+4>>2]|3}g=g+1|0}if(y){while(1){e=d+L(g,20)|0;if(F[e+8>>2]!=(f|0)){a=a|32;F[b+144>>2]=a;F[e+4>>2]=F[e+4>>2]|3}e=d+L(g+1|0,20)|0;if(F[e+8>>2]!=(f|0)){a=a|32;F[b+144>>2]=a;F[e+4>>2]=F[e+4>>2]|3}g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(z){break b}}if(!u){break y}a=F[h>>2]+1|0;if(a>>>0>=w>>>0){break x}a=F[F[b+80>>2]+L(a,20)>>2];if(a-4520>>>0<88){break y}if(a-55243>>>0>48){break x}break y}if(u){break x}}a=p+4449|0;F[j+12>>2]=a;k=t|4352;F[j+8>>2]=k;d=l+4519&65535;F[j+16>>2]=d;F[j+28>>2]=0;B:{e=F[c+80>>2];if(!(Ia[F[e+164>>2]](c,F[c+84>>2],k,j+28|0,F[e+20>>2])|0)){break B}F[j+28>>2]=0;e=a;a=F[c+80>>2];if(!(Ia[F[a+164>>2]](c,F[c+84>>2],e,j+28|0,F[a+20>>2])|0)){break B}C:{if(!o){e=2;break C}F[j+28>>2]=0;e=3;a=F[c+80>>2];if(!(Ia[F[a+164>>2]](c,F[c+84>>2],d,j+28|0,F[a+20>>2])|0)){break x}}if(!$a(b,1,e)){break i}a=F[b+64>>2];D:{if(a>>>0>2]){f=F[b+72>>2];g=F[b+84>>2];a=F[b+80>>2]+L(a,20)|0;break D}g=F[b+84>>2];f=F[b+72>>2];a=g+L(f?f-1|0:0,20)|0}d=L(f,20)+g|0;g=F[a+4>>2];F[d>>2]=F[a>>2];F[d+4>>2]=g;F[d+16>>2]=F[a+16>>2];g=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=g;F[d>>2]=k;g=F[j+12>>2];f=F[a+4>>2];F[d+20>>2]=F[a>>2];F[d+24>>2]=f;F[d+36>>2]=F[a+16>>2];f=F[a+12>>2];F[d+28>>2]=F[a+8>>2];F[d+32>>2]=f;F[d+20>>2]=g;if(o){break k}break j}if(o){break x}d=F[h>>2];a=d+1|0;if(w>>>0<=a>>>0){break x}k=F[b+80>>2];e=F[k+L(a,20)>>2];if(e-4520>>>0>=88&e-55243>>>0>48){break x}e=F[b+68>>2];g=d+2|0;q=e>>>0>>0?e:g;n=q-d|0;if(n>>>0<2){break x}e=F[b+144>>2]|32;F[b+144>>2]=e;if(d>>>0>=q>>>0){break x}f=-1;o=d;r=q+(d^-1)|0;if(r>>>0>=3){t=n&-4;g=0;while(1){p=k+L(o,20)|0;l=F[p+8>>2];f=f>>>0>>0?f:l;l=F[p+28>>2];f=f>>>0>>0?f:l;l=F[p+48>>2];f=f>>>0>>0?f:l;p=F[p+68>>2];f=f>>>0

>>0?f:p;o=o+4|0;g=g+4|0;if((t|0)!=(g|0)){continue}break}}g=0;p=n&3;if(p){while(1){t=F[(k+L(o,20)|0)+8>>2];f=f>>>0>>0?f:t;o=o+1|0;g=g+1|0;if((p|0)!=(g|0)){continue}break}}E:{if(!(n&1)){a=d;break E}d=k+L(d,20)|0;if(F[d+8>>2]==(f|0)){break E}F[b+144>>2]=e;F[d+4>>2]=F[d+4>>2]|3}if(!r){break x}while(1){d=k+L(a,20)|0;if(F[d+8>>2]!=(f|0)){e=e|32;F[b+144>>2]=e;F[d+4>>2]=F[d+4>>2]|3}d=k+L(a+1|0,20)|0;if(F[d+8>>2]!=(f|0)){e=e|32;F[b+144>>2]=e;F[d+4>>2]=F[d+4>>2]|3}a=a+2|0;if((q|0)!=(a|0)){continue}break}}i=u?m+1|0:i}if(G[b+61|0]){F:{if(F[b+84>>2]==F[b+80>>2]){f=F[b+72>>2];if((f|0)==F[h>>2]){break F}}if(!$a(b,1,1)){break b}d=F[b+80>>2]+L(F[h>>2],20)|0;e=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=e;F[a+16>>2]=F[d+16>>2];e=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=e;f=F[b+72>>2]}F[b+72>>2]=f+1}F[h>>2]=F[h>>2]+1;break b}g=F[j+16>>2];f=F[a+4>>2];F[d+40>>2]=F[a>>2];F[d+44>>2]=f;F[d+56>>2]=F[a+16>>2];f=F[a+12>>2];F[d+48>>2]=F[a+8>>2];F[d+52>>2]=f;F[d+40>>2]=g}F[h>>2]=F[h>>2]+1;F[b+72>>2]=F[b+72>>2]+e}if(!(!u|o)){G:{if(G[b+61|0]){H:{if(F[b+84>>2]==F[b+80>>2]){f=F[b+72>>2];if((f|0)==F[h>>2]){break H}}if(!$a(b,1,1)){break G}d=F[b+80>>2]+L(F[h>>2],20)|0;g=F[d+4>>2];a=F[b+84>>2]+L(F[b+72>>2],20)|0;F[a>>2]=F[d>>2];F[a+4>>2]=g;F[a+16>>2]=F[d+16>>2];g=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=g;f=F[b+72>>2]}F[b+72>>2]=f+1}F[h>>2]=F[h>>2]+1}e=e+1|0}if(!G[b+60|0]){break a}a=F[b+84>>2];d=a+L(m,20)|0;D[d+39|0]=2;D[d+19|0]=1;i=e+m|0;d=m+2|0;if(i>>>0>d>>>0){D[(a+L(d,20)|0)+19|0]=3}if(F[b+20>>2]){break b}Xc(b,m,i)}d=F[h>>2];if(w>>>0>d>>>0){continue}break}}mc(b);Ga=j+32|0}function Kg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Ga-240|0;Ga=h;F[h+8>>2]=0;f=6;a:{if(!b|!d&(c|0)>=0){break a}q=G[b|0]&2?F[b+16>>2]!=0:q;F[h+12>>2]=0;b:{if(!a){f=33;break b}i=F[a>>2];g=Ia[F[i+4>>2]](i,40)|0;c:{if(!g){f=64;break c}D[g+24|0]=0;D[g+25|0]=0;D[g+26|0]=0;D[g+27|0]=0;D[g+28|0]=0;D[g+29|0]=0;D[g+30|0]=0;D[g+31|0]=0;D[g|0]=0;D[g+1|0]=0;D[g+2|0]=0;D[g+3|0]=0;D[g+4|0]=0;D[g+5|0]=0;D[g+6|0]=0;D[g+7|0]=0;D[g+32|0]=0;D[g+33|0]=0;D[g+34|0]=0;D[g+35|0]=0;D[g+36|0]=0;D[g+37|0]=0;D[g+38|0]=0;D[g+39|0]=0;D[g+16|0]=0;D[g+17|0]=0;D[g+18|0]=0;D[g+19|0]=0;D[g+20|0]=0;D[g+21|0]=0;D[g+22|0]=0;D[g+23|0]=0;D[g+8|0]=0;D[g+9|0]=0;D[g+10|0]=0;D[g+11|0]=0;D[g+12|0]=0;D[g+13|0]=0;D[g+14|0]=0;D[g+15|0]=0;F[g+28>>2]=i;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{m=F[b>>2];if(m&1){m=F[b+4>>2];f=F[b+8>>2];F[g+32>>2]=0;F[g+8>>2]=0;F[g+20>>2]=0;F[g+24>>2]=0;F[g>>2]=m;F[g+4>>2]=f;break m}n:{if(!(m&4)){if(!(m&2)|!F[b+16>>2]){break n}Ia[F[i+8>>2]](i,g);g=F[b+16>>2];break m}f=pe(g,F[b+12>>2]);F[g+16>>2]=F[b+12>>2];if(!f){break m}}Ia[F[i+8>>2]](i,g);F[h+12>>2]=0;m=0;break l}F[g+28>>2]=i;F[h+12>>2]=g;r=F[a>>2];o:{o=F[b>>2];if(!(o&8)){break o}m=F[b+20>>2];if(!m){break o}f=32;if(D[F[m>>2]]&1){g=0;e=h+12|0;if(o&16){g=F[b+28>>2];a=F[b+24>>2]}else{a=0}f=Bl(m,e,q,c,a,g,h+8|0);if(!f){break j}g=F[h+12>>2];if(!g){break b}i=F[g+28>>2]}a=F[g+24>>2];if(a){Ia[a|0](g)}if(q){break b}Ia[F[i+8>>2]](i,g);break b}m=F[a+16>>2];if((m|0)<=0){f=11;m=0;break c}o=((m<<2)+a|0)+20|0;g=a+20|0;f=11;i=0;while(1){m=F[g>>2];if(D[F[m>>2]]&1){f=0;i=0;if(G[b|0]&16){f=F[b+24>>2];i=F[b+28>>2]}f=Bl(m,h+12|0,q,c,f,i,h+8|0);if(!f){break j}p:{if(!e){break p}if(ab(F[F[F[g>>2]>>2]+8>>2],10087)|(f&255)!=142){break p}i=F[h+12>>2];f=F[i+20>>2];if(f){if(Ia[f|0](i,0,0,0)|0){break k}}F[i+8>>2]=0;f=Al(a,i,c,d);if(f){break p}a=F[i+28>>2];b=F[i+24>>2];if(b){Ia[b|0](i)}f=0;if(q){break a}Ia[F[a+8>>2]](a,i);break a}if((f&255)!=2){break l}i=m}g=g+4|0;if(o>>>0>g>>>0){continue}break}m=i}q:{r:{i=f&255;switch(i-81|0){case 0:case 4:break q;case 1:case 2:case 3:break c;default:break r}}if((i|0)!=2){break c}}if(!e){break e}i=F[h+12>>2];if(i){break k}i=0;s=1;break i}e=F[i+20>>2];if(e){if(Ia[e|0](i,0,0,0)|0){break i}}F[i+8>>2]=0;e=F[i+4>>2];if(!e){break i}g=F[i+20>>2];s:{if(g){f=Ia[g|0](i,0,h+112|0,128)|0;break s}f=e>>>0<128?e:128;Ya(h+112|0,F[i>>2],f)}F[i+8>>2]=f;if(f>>>0<128){break i}t:{u:{if(G[h+194|0]|(G[h+112|0]|G[h+186|0])){break u}e=G[h+113|0];if(!e|e>>>0>33|(G[h+175|0]|G[(e+h|0)+114|0])){break u}e=D[h+195|0];if((e|0)<0){break u}f=Jg(a,i,(G[h+198|0]|(G[h+196|0]<<16|(e&255)<<24|G[h+197|0]<<8))+255&-128,c,d);if((f&255)!=2){break t}}f=Jg(a,i,0,c,d)}e=f&255;if((e|0)==85){break h}if((e|0)!=2){break g}break h}b=Ia[F[r+4>>2]](r,12)|0;if(!b){f=64;break b}D[b|0]=0;D[b+1|0]=0;D[b+2|0]=0;D[b+3|0]=0;D[b+4|0]=0;D[b+5|0]=0;D[b+6|0]=0;D[b+7|0]=0;a=F[h+8>>2];F[b+8>>2]=a;e=F[a+96>>2];m=F[e+20>>2];F[b>>2]=m;F[(m?m+4|0:e+16|0)>>2]=b;F[e+20>>2]=b;v:{if((c|0)>=0){f=Lg(a,0);if(f){break v}f=zl(a,h+112|0);if(f){break v}F[a+88>>2]=F[h+112>>2]}b=F[a+8>>2];w:{if(!(b&1)){break w}f=E[a+74>>1];if((f|0)<0){f=0-f|0;E[a+74>>1]=f}if(b&32){break w}E[a+78>>1]=f}x:{if(!(b&2)){break x}c=F[a+28>>2];if((c|0)<=0){break x}e=F[a+32>>2];f=0;while(1){b=e+(f<<4)|0;m=E[b>>1];if((m|0)<0){m=0-m|0;E[b>>1]=m}i=F[b+8>>2];if((i|0)<0){F[b+8>>2]=0-i}i=F[b+12>>2];if((i|0)<0){F[b+12>>2]=0-i}if(m<<16>>16<0){F[b>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0}f=f+1|0;if((c|0)!=(f|0)){continue}break}}b=F[a+128>>2];F[b+64>>2]=1;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=65536;F[b>>2]=65536;F[b+4>>2]=0;D[b+56|0]=255;if(d){F[d>>2]=a;f=0;break a}if(a){hf(a)}f=0;break a}c=F[a+96>>2];if(!c){break a}d=F[a+128>>2];b=F[d+64>>2];F[d+64>>2]=b-1;if((b|0)>1){break a}b=F[c+16>>2];if(!b){break a}m=c+16|0;d=F[c+8>>2];while(1){if((a|0)!=F[b+8>>2]){b=F[b+4>>2];if(b){continue}break a}break}e=F[b>>2];i=e?e+4|0:m;m=F[b+4>>2];F[i>>2]=m;F[(m?m:c+20|0)>>2]=e;Ia[F[d+8>>2]](d,b);Qd(d,a,c);break a}f=85}if(!(G[b|0]&4)){break g}o=F[a>>2];g=F[b+12>>2];n=h- -64|0;e=h+112|0;F[e>>2]=0;y:{z:{A:{if(i){k=F[i+20>>2];B:{if(k){f=85;if(Ia[k|0](i,0,0,0)|0){break B}}F[i+8>>2]=0;F[h+16>>2]=0;F[e>>2]=0;f=yd(i,333319,n)}F[h+16>>2]=f;F[e+4>>2]=0;f=F[i+20>>2];if(!f){break A}if(!(Ia[f|0](i,0,0,0)|0)){break A}F[h+20>>2]=85;break z}F[h+16>>2]=81;F[e+4>>2]=0;F[h+20>>2]=81;F[e+8>>2]=0;F[h+24>>2]=0;t=h,u=Hg(a,0,g,e+8|0,n+8|0),F[t+24>>2]=u;F[e+12>>2]=0;F[h+28>>2]=0;f=hb(g);l=f+18|0;C:{D:{if((f|0)<=-18){p=6;if(l){break C}break D}j=F[a>>2];j=Ia[F[j+4>>2]](j,l)|0;p=64;if(!j){break C}Wa(j,0,l)}p=Ya(j,g,f);f=p+f|0;j=G[11598]|G[11599]<<8;D[f+16|0]=j;D[f+17|0]=j>>>8;j=G[11594]|G[11595]<<8|(G[11596]<<16|G[11597]<<24);l=G[11590]|G[11591]<<8|(G[11592]<<16|G[11593]<<24);D[f+8|0]=l;D[f+9|0]=l>>>8;D[f+10|0]=l>>>16;D[f+11|0]=l>>>24;D[f+12|0]=j;D[f+13|0]=j>>>8;D[f+14|0]=j>>>16;D[f+15|0]=j>>>24;j=G[11586]|G[11587]<<8|(G[11588]<<16|G[11589]<<24);l=G[11582]|G[11583]<<8|(G[11584]<<16|G[11585]<<24);D[f|0]=l;D[f+1|0]=l>>>8;D[f+2|0]=l>>>16;D[f+3|0]=l>>>24;D[f+4|0]=j;D[f+5|0]=j>>>8;D[f+6|0]=j>>>16;D[f+7|0]=j>>>24;F[e+12>>2]=p;F[n+12>>2]=0;p=0}F[h+28>>2]=p;F[e+16>>2]=0;F[h+32>>2]=0;j=6;f=hb(g);l=f+6|0;E:{F:{if((f|0)<=-6){if(!l){break F}break E}j=F[a>>2];k=Ia[F[j+4>>2]](j,l)|0;if(!k){j=64;break E}Wa(k,0,l)}j=0;l=Ya(k,g,f);f=l+f|0;k=G[11728]|G[11729]<<8;D[f+4|0]=k;D[f+5|0]=k>>>8;k=G[11724]|G[11725]<<8|(G[11726]<<16|G[11727]<<24);D[f|0]=k;D[f+1|0]=k>>>8;D[f+2|0]=k>>>16;D[f+3|0]=k>>>24;F[e+16>>2]=l;F[n+16>>2]=0}F[h+32>>2]=j;F[e+20>>2]=0;F[h+36>>2]=0;f=Oc(F[a>>2],g,11828);if(f){F[e+20>>2]=f;F[n+20>>2]=0;f=0}else{f=64}F[h+36>>2]=f;F[e+24>>2]=0;F[h+40>>2]=0;f=Oc(F[a>>2],g,11927);if(f){F[e+24>>2]=f;F[n+24>>2]=0;f=0}else{f=64}F[h+40>>2]=f;F[e+28>>2]=0;F[h+44>>2]=0;t=h,u=Gg(a,0,g,e+28|0,n+28|0),F[t+44>>2]=u;F[e+32>>2]=0;F[h+48>>2]=0;t=h,u=Fg(a,0,g,e+32|0,n+32|0),F[t+48>>2]=u;break y}F[i+8>>2]=0;F[h+20>>2]=0;F[e+4>>2]=0;t=h,u=yd(i,333312,n+4|0),F[t+20>>2]=u}F[e+8>>2]=0;G:{H:{f=F[i+20>>2];if(!f){break H}if(!(Ia[f|0](i,0,0,0)|0)){break H}F[h+24>>2]=85;break G}F[i+8>>2]=0;F[h+24>>2]=0;t=h,u=Hg(a,i,g,e+8|0,n+8|0),F[t+24>>2]=u}F[e+12>>2]=0;I:{J:{f=F[i+20>>2];if(!f){break J}if(!(Ia[f|0](i,0,0,0)|0)){break J}F[h+28>>2]=85;break I}F[i+8>>2]=0;F[h+28>>2]=0;f=hb(g);k=f+18|0;K:{L:{if((f|0)<=-18){l=6;if(k){break K}break L}j=F[a>>2];j=Ia[F[j+4>>2]](j,k)|0;l=64;if(!j){break K}Wa(j,0,k)}l=Ya(j,g,f);f=l+f|0;j=G[11598]|G[11599]<<8;D[f+16|0]=j;D[f+17|0]=j>>>8;j=G[11594]|G[11595]<<8|(G[11596]<<16|G[11597]<<24);k=G[11590]|G[11591]<<8|(G[11592]<<16|G[11593]<<24);D[f+8|0]=k;D[f+9|0]=k>>>8;D[f+10|0]=k>>>16;D[f+11|0]=k>>>24;D[f+12|0]=j;D[f+13|0]=j>>>8;D[f+14|0]=j>>>16;D[f+15|0]=j>>>24;j=G[11586]|G[11587]<<8|(G[11588]<<16|G[11589]<<24);k=G[11582]|G[11583]<<8|(G[11584]<<16|G[11585]<<24);D[f|0]=k;D[f+1|0]=k>>>8;D[f+2|0]=k>>>16;D[f+3|0]=k>>>24;D[f+4|0]=j;D[f+5|0]=j>>>8;D[f+6|0]=j>>>16;D[f+7|0]=j>>>24;F[e+12>>2]=l;F[n+12>>2]=0;l=0}F[h+28>>2]=l}F[e+16>>2]=0;M:{N:{f=F[i+20>>2];if(!f){break N}if(!(Ia[f|0](i,0,0,0)|0)){break N}F[h+32>>2]=85;break M}F[i+8>>2]=0;F[h+32>>2]=0;k=6;f=hb(g);l=f+6|0;O:{P:{if((f|0)<=-6){if(l){break O}j=0;break P}j=F[a>>2];j=Ia[F[j+4>>2]](j,l)|0;if(!j){k=64;break O}Wa(j,0,l)}k=0;l=Ya(j,g,f);f=l+f|0;j=G[11728]|G[11729]<<8;D[f+4|0]=j;D[f+5|0]=j>>>8;j=G[11724]|G[11725]<<8|(G[11726]<<16|G[11727]<<24);D[f|0]=j;D[f+1|0]=j>>>8;D[f+2|0]=j>>>16;D[f+3|0]=j>>>24;F[e+16>>2]=l;F[n+16>>2]=0}F[h+32>>2]=k}F[e+20>>2]=0;Q:{R:{f=F[i+20>>2];if(!f){break R}if(!(Ia[f|0](i,0,0,0)|0)){break R}F[h+36>>2]=85;break Q}F[i+8>>2]=0;F[h+36>>2]=0;f=Oc(F[a>>2],g,11828);if(f){F[e+20>>2]=f;F[n+20>>2]=0;f=0}else{f=64}F[h+36>>2]=f}F[e+24>>2]=0;S:{T:{f=F[i+20>>2];if(!f){break T}if(!(Ia[f|0](i,0,0,0)|0)){break T}F[h+40>>2]=85;break S}F[i+8>>2]=0;F[h+40>>2]=0;f=Oc(F[a>>2],g,11927);if(f){F[e+24>>2]=f;F[n+24>>2]=0;f=0}else{f=64}F[h+40>>2]=f}F[e+28>>2]=0;U:{V:{f=F[i+20>>2];if(!f){break V}if(!(Ia[f|0](i,0,0,0)|0)){break V}F[h+44>>2]=85;break U}F[i+8>>2]=0;F[h+44>>2]=0;t=h,u=Gg(a,i,g,e+28|0,n+28|0),F[t+44>>2]=u}F[e+32>>2]=0;W:{f=F[i+20>>2];if(!f){break W}if(!(Ia[f|0](i,0,0,0)|0)){break W}F[h+48>>2]=85;break y}F[i+8>>2]=0;F[h+48>>2]=0;t=h,u=Fg(a,i,g,e+32|0,n+32|0),F[t+48>>2]=u}e=0;j=2;f=0;while(1){X:{l=F[(f<<3)+29156>>2]-3|0;Y:{if(e&255?l>>>0<=1:0){break Y}p=f<<2;if(F[p+(h+16|0)>>2]){break Y}k=F[(h+112|0)+p>>2];if(!k){k=F[b+12>>2]}Z:{n=F[a>>2];g=Ia[F[n+4>>2]](n,40)|0;_:{if(!g){j=64;break _}D[g+24|0]=0;D[g+25|0]=0;D[g+26|0]=0;D[g+27|0]=0;D[g+28|0]=0;D[g+29|0]=0;D[g+30|0]=0;D[g+31|0]=0;D[g|0]=0;D[g+1|0]=0;D[g+2|0]=0;D[g+3|0]=0;D[g+4|0]=0;D[g+5|0]=0;D[g+6|0]=0;D[g+7|0]=0;D[g+32|0]=0;D[g+33|0]=0;D[g+34|0]=0;D[g+35|0]=0;D[g+36|0]=0;D[g+37|0]=0;D[g+38|0]=0;D[g+39|0]=0;D[g+16|0]=0;D[g+17|0]=0;D[g+18|0]=0;D[g+19|0]=0;D[g+20|0]=0;D[g+21|0]=0;D[g+22|0]=0;D[g+23|0]=0;D[g+8|0]=0;D[g+9|0]=0;D[g+10|0]=0;D[g+11|0]=0;D[g+12|0]=0;D[g+13|0]=0;D[g+14|0]=0;D[g+15|0]=0;F[g+28>>2]=n;j=pe(g,k);F[g+16>>2]=k;if(!j){break Z}Ia[F[n+8>>2]](n,g)}e=l>>>0<2?(j&255)==81?1:e:e;break Y}F[g+28>>2]=n;j=Jg(a,g,F[(h- -64|0)+p>>2],c,d);n=F[g+28>>2];k=F[g+24>>2];if(k){Ia[k|0](g)}Ia[F[n+8>>2]](n,g);if(!j){j=0;break X}e=l>>>0<2?1:e}f=f+1|0;if((f|0)!=9){continue}}break}a=F[h+112>>2];if(a){Ia[F[o+8>>2]](o,a);F[h+112>>2]=0}a=F[h+116>>2];if(a){Ia[F[o+8>>2]](o,a);F[h+116>>2]=0}a=F[h+120>>2];if(a){Ia[F[o+8>>2]](o,a);F[h+120>>2]=0}a=F[h+124>>2];if(a){Ia[F[o+8>>2]](o,a)}a=F[h+128>>2];if(a){Ia[F[o+8>>2]](o,a)}a=F[h+132>>2];if(a){Ia[F[o+8>>2]](o,a)}a=F[h+136>>2];if(a){Ia[F[o+8>>2]](o,a)}a=F[h+140>>2];if(a){Ia[F[o+8>>2]](o,a)}a=F[h+144>>2];if(a){Ia[F[o+8>>2]](o,a)}if(!j){break f}break d}if(f){break e}}f=0;if(s){break a}a=F[i+28>>2];b=F[i+24>>2];if(b){Ia[b|0](i)}if(q){break a}Ia[F[a+8>>2]](a,i);break a}if((f&255)!=2){break c}}f=2}a=F[h+12>>2];if(!a){break b}b=F[a+28>>2];c=F[a+24>>2];if(c){Ia[c|0](a)}if(q){break b}Ia[F[b+8>>2]](b,a)}a=F[h+8>>2];if(!a){break a}Qd(r,a,m)}Ga=h+240|0;return f}function Xr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=Ga-1536|0;Ga=e;F[b>>2]=1;n=pc(F[b+96>>2],10650,1);F[b+488>>2]=n;l=Jc(F[F[b+96>>2]+4>>2],10788);F[b+492>>2]=l;a:{if(!l){a=11;break a}q=b,r=Jc(F[F[b+96>>2]+4>>2],10580),F[q+552>>2]=r;i=F[b+492>>2];a=e+8|0;Wa(a,0,380);F[b+544>>2]=0;F[b+536>>2]=-1;F[b+540>>2]=-1;F[b+284>>2]=1;F[b+348>>2]=3932;F[b+172>>2]=4;F[b+276>>2]=2596864;F[b+280>>2]=7;f=F[b+104>>2];g=F[b+100>>2];Ia[F[F[i+4>>2]>>2]](a,0,0,g);F[e+92>>2]=0;F[e+96>>2]=0;D[e+99|0]=0;D[e+100|0]=0;D[e+101|0]=0;D[e+102|0]=0;F[e+84>>2]=0;F[e+88>>2]=0;F[e+80>>2]=f;a=qj(f,11316,14);F[e+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=qj(f,11489,10);F[e+4>>2]=a;if(a){break d}}a=Za(f,0);F[e+4>>2]=a;if(a){break d}h=fb(f,e+1528|0);e:{f:{g:{h:{a=F[e+1528>>2];if(!a){if((h+32767&65535)>>>0>=2){break g}d=dc(f,e+1528|0);a=F[e+1528>>2];if(!a){break h}}F[e+4>>2]=a;break d}F[e+4>>2]=0;if((h|0)==32769){break f}}a=Za(f,0);F[e+4>>2]=a;if(a){break d}d=F[f+4>>2];break e}D[e+100|0]=1}i:{if(!F[f+20>>2]){a=F[f+8>>2];h=F[f>>2];D[e+101|0]=1;F[e+88>>2]=d;F[e+84>>2]=a+h;a=Fb(f,d);F[e+4>>2]=a;if(a){break d}d=F[e+88>>2];break i}h=gb(g,d,e+4|0);F[e+84>>2]=h;a=F[e+4>>2];if(a){break d}a=Gb(f,h,d);F[e+4>>2]=a;if(a){break d}F[e+88>>2]=d}f=F[e+84>>2];F[e+12>>2]=f;F[e+8>>2]=f;F[e+16>>2]=d+f;break c}if(G[e+101|0]){F[e>>2]=a;break b}a=F[e+84>>2];if(a){Ia[F[g+8>>2]](g,a)}f=0;F[e+84>>2]=0;a=F[e+4>>2];F[e>>2]=a;if(a){break b}d=F[e+88>>2]}a=pj(b,e+8|0,f,d);F[e>>2]=a;if(a){break b}j=F[e+24>>2];a=F[e+80>>2];F[e+4>>2]=0;j:{k:{l:{m:{if(G[e+100|0]){h=F[a+8>>2];F[e+96>>2]=0;while(1){f=fb(a,e+1528|0);n:{d=F[e+1528>>2];if(!d){if((f+32767&65535)>>>0>=2){F[e+4>>2]=0;break m}g=dc(a,e+1528|0);d=F[e+1528>>2];if(!d){break n}}F[e+4>>2]=d;F[e>>2]=d;break b}F[e+4>>2]=0;if((f|0)!=32770){break m}F[e+96>>2]=g+F[e+96>>2];g=Fb(a,g);F[e+4>>2]=g;if(!g){continue}break}break k}d=F[e+84>>2];h=F[e+88>>2];f=d+h|0;a=d;while(1){o:{p:{if(G[a|0]!=101|a+9>>>0>=f>>>0|(G[a+1|0]!=101|G[a+2|0]!=120)){break p}if(G[a+3|0]!=101){break p}if(G[a+4|0]==99){break o}}a=a+1|0;if(f>>>0>a>>>0){continue}F[e>>2]=3;break b}a=a+10|0;F[e+16>>2]=a;F[e+8>>2]=d;q:{if(a>>>0>d>>>0){while(1){r:{if(G[d|0]!=101|d+5>>>0>=a>>>0|(G[d+1|0]!=101|G[d+2|0]!=120)){break r}if(G[d+3|0]!=101){break r}if(G[d+4|0]==99){break q}}Ia[F[e+40>>2]](e+8|0);if(!F[e+20>>2]){Ia[F[e+36>>2]](e+8|0);d=F[e+8>>2];if(d>>>0>>0){continue}}break}h=F[e+88>>2];d=F[e+84>>2]}g=3;f=d+h|0;if(f>>>0>a>>>0){continue}break k}break}F[e+16>>2]=F[e+84>>2]+F[e+88>>2];Ia[F[e+40>>2]](e+8|0);h=F[e+16>>2];a=F[e+8>>2];f=h-a|0;d=te(a,10,f);if(d){d=te(a,13,f)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break k}k=a+f|0;while(1){s:{f=G[a|0];if(!((f|0)==9|(f|0)==32|d&(f|0)==13)){if((f|0)!=10){break s}}a=a+1|0;if((k|0)!=(a|0)){continue}break k}break}d=F[e+84>>2];f=F[e+88>>2]+(d-a|0)|0;t:{if(G[e+101|0]){d=gb(j,f+1|0,e+4|0);F[e+92>>2]=d;g=F[e+4>>2];if(g){break k}F[e+96>>2]=f;break t}F[e+96>>2]=f;F[e+92>>2]=d;D[e+102|0]=1;F[e+84>>2]=0;F[e+88>>2]=0}u:{if(h>>>0<=a+3>>>0){break u}v:{g=G[a|0];if(g-48>>>0<10){break v}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break u}}w:{g=G[a+1|0];if(g-48>>>0<10){break w}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break u}}x:{g=G[a+2|0];if(g-48>>>0<10){break x}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break u}}y:{g=G[a+3|0];if(g-48>>>0<10){break y}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break y;default:break u}}F[e+8>>2]=a;Ia[F[F[i+4>>2]+24>>2]](e+8|0,d,f,e+1528|0,0)|0;a=F[e+1528>>2];F[e+96>>2]=a;D[a+F[e+92>>2]|0]=0;break l}Cb(d,a,f);break l}if(!F[e+96>>2]){F[e>>2]=3;break b}g=Za(a,h);F[e+4>>2]=g;if(g){break k}q=e,r=gb(j,F[e+96>>2],e+4|0),F[q+92>>2]=r;g=F[e+4>>2];if(g){break k}F[e+96>>2]=0;f=fb(a,e+1528|0);z:{if(F[e+1528>>2]){break z}while(1){if((f+32767&65535)>>>0>1){break z}d=dc(a,e+1528|0);if(F[e+1528>>2]){break z}F[e+4>>2]=0;if((f&65535)!=32770){break z}g=Gb(a,F[e+92>>2]+F[e+96>>2]|0,d);F[e+4>>2]=g;if(g){break k}F[e+96>>2]=d+F[e+96>>2];f=fb(a,e+1528|0);if(!F[e+1528>>2]){continue}break}}F[e+4>>2]=0}Ia[F[i+16>>2]](F[e+92>>2],F[e+96>>2],55665);g=3;if(I[e+96>>2]>3){break j}}F[e>>2]=g;break b}D[F[e+92>>2]]=32;D[F[e+92>>2]+1|0]=32;D[F[e+92>>2]+2|0]=32;D[F[e+92>>2]+3|0]=32;a=F[e+92>>2];F[e+12>>2]=a;F[e+8>>2]=a;d=F[e+96>>2];F[e+16>>2]=d+a;f=F[e+4>>2];F[e>>2]=f;if(f){break b}a=pj(b,e+8|0,a,d);F[e>>2]=a;if(a){break b}D[b+176|0]=G[b+176|0]&254;A:{B:{f=F[b+532>>2];if(!f){break B}if(F[f>>2]!=1<>2]){fe(b);f=F[b+532>>2];if(!f){break B}}a=F[f+416>>2];if(!(!a|(a|0)==F[f+4>>2])){F[f+416>>2]=0}C:{D:{if(F[f>>2]){d=F[f+4>>2];if(d){break D}}fe(b);f=F[b+532>>2];if(!f){break B}d=F[f+4>>2];if(!d){break C}}a=0;while(1){if(G[(L(a,12)+f|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break C}break}fe(b);if(!F[b+532>>2]){break B}}a=F[b+544>>2];if(!a){break A}q=b,r=Va(F[b+100>>2],4,0,a,0,e),F[q+548>>2]=r;if(!F[e>>2]){break A}F[b+544>>2]=0;break b}F[b+544>>2]=0}f=F[e+160>>2];F[b+420>>2]=f;if(F[e+336>>2]){F[b+404>>2]=F[e+320>>2];F[b+392>>2]=F[e+324>>2];F[b+408>>2]=F[e+348>>2];F[b+412>>2]=F[e+352>>2];F[b+416>>2]=F[e+376>>2];F[e+376>>2]=0;F[e+336>>2]=0}if(!(F[F[b+128>>2]+52>>2]|F[e+228>>2])){F[e>>2]=3}g=0;F[e+228>>2]=0;F[b+396>>2]=F[e+216>>2];F[b+428>>2]=F[e+240>>2];F[b+432>>2]=F[e+244>>2];F[b+400>>2]=F[e+164>>2];F[b+424>>2]=F[e+188>>2];F[e+188>>2]=0;F[e+164>>2]=0;if(F[b+368>>2]==1){h=0;i=F[e+124>>2];E:{if((i|0)<=0){break E}if((f|0)>0){d=0;while(1){j=d<<2;k=F[j+F[e+132>>2]>>2];o=d<<1;E[o+F[b+384>>2]>>1]=0;F[j+F[b+388>>2]>>2]=11262;F:{if(!k){break F}p=F[b+424>>2];a=0;while(1){m=F[(a<<2)+p>>2];if(ab(k,m)){a=a+1|0;if((f|0)!=(a|0)){continue}break F}break}E[F[b+384>>2]+o>>1]=a;F[j+F[b+388>>2]>>2]=m;if(!ab(11262,m)){break F}h=(d|0)<(h|0)?h:d+1|0;g=(d|0)<(g|0)?d:g}d=d+1|0;if((i|0)!=(d|0)){continue}break}break E}f=0;a=0;if(i-1>>>0>=3){g=i&-4;d=0;while(1){E[F[b+384>>2]+(a<<1)>>1]=0;F[F[b+388>>2]+(a<<2)>>2]=11262;h=a|1;E[F[b+384>>2]+(h<<1)>>1]=0;F[F[b+388>>2]+(h<<2)>>2]=11262;h=a|2;E[F[b+384>>2]+(h<<1)>>1]=0;F[F[b+388>>2]+(h<<2)>>2]=11262;h=a|3;E[F[b+384>>2]+(h<<1)>>1]=0;F[F[b+388>>2]+(h<<2)>>2]=11262;a=a+4|0;d=d+4|0;if((g|0)!=(d|0)){continue}break}}d=i&3;if(!d){g=0;h=0;break E}while(1){g=0;E[F[b+384>>2]+(a<<1)>>1]=0;F[F[b+388>>2]+(a<<2)>>2]=11262;a=a+1|0;h=0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}F[b+380>>2]=h;F[b+376>>2]=g;F[b+372>>2]=F[e+104>>2]}if(I[b+280>>2]>=1001){F[b+280>>2]=7}if(I[b+284>>2]<1001){break b}F[b+284>>2]=1}a=F[e+24>>2];d=F[e+156>>2];if(d){Ia[d|0](e+108|0)}d=F[e+264>>2];if(d){Ia[d|0](e+216|0)}d=F[e+212>>2];if(d){Ia[d|0](e+164|0)}d=F[e+316>>2];if(d){Ia[d|0](e+268|0)}d=F[e+372>>2];if(d){Ia[d|0](e+324|0)}ff(F[e+376>>2],a);d=F[e+376>>2];if(d){Ia[F[a+8>>2]](a,d)}F[e+376>>2]=0;a=F[e+24>>2];d=F[e+92>>2];if(d){Ia[F[a+8>>2]](a,d)}F[e+92>>2]=0;if(!G[e+101|0]){d=F[e+84>>2];if(d){Ia[F[a+8>>2]](a,d)}F[e+84>>2]=0}Ia[F[e+32>>2]](e+8|0);a=F[e>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}F[b+4>>2]=0;F[b+16>>2]=F[b+420>>2];c=F[b+8>>2];a=c|2577;F[b+8>>2]=a;if(G[b+156|0]){a=c|2581;F[b+8>>2]=a}g=F[b+532>>2];if(g){F[b+8>>2]=a|256}F[b+24>>2]=0;f=F[b+144>>2];F[b+20>>2]=f;G:{H:{if(f){a=F[b+140>>2];if(!a){break H}c=G[a|0];if(!c){a=10918;break G}while(1){I:{J:{d=c&255;c=G[f|0];if((d|0)==(c|0)){a=a+1|0;break J}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break I}K:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break H;case 0:case 13:break J;default:break K}}if(c){break H}break G}f=f+1|0}c=G[a|0];if(c){continue}break}a=10918;break G}a=F[b+364>>2];if(!a){break H}F[b+20>>2]=a}a=F[b+148>>2];a=a?a:10918}F[b+24>>2]=a;c=F[b+152>>2]!=0;F[b+12>>2]=c;a=F[b+148>>2];L:{if(!a){break L}if(ab(a,11038)){if(ab(a,11114)){break L}}F[b+12>>2]=c|2}F[b+28>>2]=0;F[b+32>>2]=0;F[b+52>>2]=E[b+466>>1];a=E[b+470>>1];F[b+56>>2]=a;f=F[b+472>>2]+65535>>16;F[b+60>>2]=f;d=F[b+476>>2]+65535>>16;F[b- -64>>2]=d;c=H[b+68>>1];if(!c){E[b+68>>1]=1e3;c=1e3}E[b+76>>1]=f;E[b+72>>1]=a;E[b+70>>1]=d;a=d-a|0;c=(L(c,12)>>>0)/10|0;E[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=F[b+492>>2];if(!(Ia[F[F[d+12>>2]>>2]](e+8|0,b,0,0,F[b+424>>2],g,0,0,109)|0)){D[e+76|0]=0;D[e+78|0]=1;F[e+1372>>2]=F[b+404>>2];F[e+1376>>2]=F[b+408>>2];F[e+1380>>2]=F[b+412>>2];F[e+1384>>2]=F[b+416>>2];F[e+1504>>2]=F[b+548>>2];F[e+1508>>2]=F[b+544>>2];M:{if(F[b+420>>2]<=0){break M}N:{if(ee(e+8|0,0,e+1528|0,e+4|0)){break N}a=F[F[F[e+12>>2]+128>>2]+52>>2];if(!a){break N}Ia[F[F[a>>2]+4>>2]](F[a+4>>2],e+1528|0)}a=F[e+48>>2];if(F[b+420>>2]<2){break M}f=1;while(1){O:{if(ee(e+8|0,f,e+1528|0,e+4|0)){break O}c=F[F[F[e+12>>2]+128>>2]+52>>2];if(!c){break O}Ia[F[F[c>>2]+4>>2]](F[c+4>>2],e+1528|0)}c=F[e+48>>2];a=(a|0)<(c|0)?c:a;f=f+1|0;if((f|0)>2]){continue}break}}Ia[F[F[d+12>>2]+4>>2]](e+8|0);E[b+76>>1]=(((a>>31)+a|0)+32768&-65536)>>>16}E[b+78>>1]=H[b+74>>1];F[b+80>>2]=H[b+158>>1]|H[b+160>>1]<<16;if(!n){a=0;break a}f=F[l+32>>2];F[e+8>>2]=b;F[e+12>>2]=1970170211;F[e+16>>2]=65539;a=qc(F[f+12>>2],0,e+8|0,0);P:{if(!a){break P}c=a&255;if((c|0)==163){break P}if((c|0)!=7){break a}}E[e+16>>1]=7;a=0;Q:{R:{switch(F[b+368>>2]-1|0){case 1:E[e+18>>1]=0;F[e+12>>2]=1094995778;break Q;case 3:E[e+18>>1]=1;F[e+12>>2]=1094992453;f=f+4|0;break Q;case 0:E[e+18>>1]=2;F[e+12>>2]=1094992451;f=f+8|0;break Q;case 2:break R;default:break a}}f=f+12|0;E[e+18>>1]=3;F[e+12>>2]=1818326065}b=F[f>>2];if(!b){break a}a=qc(b,0,e+8|0,0)}Ga=e+1536|0;return a|0}function Os(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=Ga-256|0;Ga=g;a:{if(!b){e=36;break a}h=F[a+4>>2];if(!h){e=35;break a}if(!(F[F[h+128>>2]+52>>2]|I[h+16>>2]>c>>>0)){e=6;break a}if(d&2){d=G[h+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(G[h+9|0]&32?9:11)|d}n=d&2;F[b+44>>2]=(n?12:48)+b;b:{if(d&8){break b}e=F[b+116>>2];if(G[h+9|0]&128|(H[h+6>>1]&32767|(e|0)==-1)){break b}f=F[b+20>>2];i=F[b+16>>2];c:{e=Ia[F[F[h+540>>2]+72>>2]](h,e,c,d,F[h+104>>2],a+76|0,g+8|0)|0;if(e){h=F[a+4>>2];j=F[h+8>>2]&1;if((e&255)!=157){break c}if(j){break b}E[g+8>>1]=0;E[g+240>>1]=0;E[g+224>>1]=0;E[g+6>>1]=0;if(!F[h+752>>2]){break a}Ia[F[F[h+540>>2]+140>>2]](h,0,c,g+8|0,g+224|0);b=g+240|0;d=g+6|0;d:{if(G[h+292|0]){Ia[F[F[h+540>>2]+140>>2]](h,1,c,b,d);break d}if(H[h+372>>1]!=65535){E[b>>1]=H[h+442>>1];c=E[h+442>>1]-E[h+444>>1]|0;b=c>>31;E[d>>1]=(b^c)-b;break d}E[b>>1]=H[h+220>>1];c=E[h+220>>1]-E[h+222>>1]|0;b=c>>31;E[d>>1]=(b^c)-b}F[a+108>>2]=0;F[a+24>>2]=0;F[a+28>>2]=0;b=Ua(E[g+8>>1],i);F[a+36>>2]=0;F[a+32>>2]=b;b=Ua(H[g+224>>1],i);F[a+44>>2]=0;F[a+40>>2]=b;t=a,u=Ua(E[g+240>>1],f),F[t+48>>2]=u;b=Ua(H[g+6>>1],f);F[a+100>>2]=0;F[a+104>>2]=0;D[a+94|0]=1;F[a+72>>2]=1651078259;F[a+52>>2]=b;e=0;break a}e=0;F[a+108>>2]=0;F[a+24>>2]=H[g+10>>1]<<6;F[a+28>>2]=H[g+8>>1]<<6;h=E[g+12>>1];F[a+32>>2]=h<<6;j=E[g+14>>1];F[a+36>>2]=j<<6;F[a+40>>2]=H[g+16>>1]<<6;k=E[g+18>>1];F[a+44>>2]=k<<6;m=E[g+20>>1];F[a+48>>2]=m<<6;n=H[g+22>>1];l=j;j=d&16;F[a+104>>2]=j?m:l;F[a+100>>2]=j?k:h;F[a+72>>2]=1651078259;F[a+52>>2]=n<<6;h=F[a+4>>2];if(!(D[h+8|0]&1)){break a}j=F[h+104>>2];Wa(g+20|0,0,192);F[g+212>>2]=0;F[g+216>>2]=0;F[g+32>>2]=j;F[g+16>>2]=a;F[g+12>>2]=b;F[g+8>>2]=h;F[g+24>>2]=d;ig(g+8|0,c,0,1);gl(g+212|0,F[F[g+8>>2]+100>>2]);b=F[g+68>>2];F[a+56>>2]=b;F[a+60>>2]=F[g+184>>2];if(!(F[a+40>>2]|!b)){t=a,u=Ua(b,i),F[t+40>>2]=u}if(F[a+52>>2]){break a}b=F[a+60>>2];if(!b){break a}t=a,u=Ua(b,f),F[t+52>>2]=u;break a}if(!j){break a}}r=d&1;if(!(r|G[b+112|0])){e=36;break a}e=6;if(d&16384){break a}q=F[h+104>>2];p=F[h+96>>2];Wa(g+8|0,0,212);if(!n){m=(d&128)>>>7|0;e=F[b+304>>2];e:{f:{if((e|0)>=0){f=F[b+308>>2];if((f|0)<0){break f}if(e){break a}e=f;if(!e){break e}break a}j=F[b>>2];i=F[j+100>>2];e=F[b+132>>2];if(e){Ia[F[i+8>>2]](i,e)}F[b+132>>2]=0;e=F[b+144>>2];if(e){Ia[F[i+8>>2]](i,e)}F[b+144>>2]=0;e=F[b+252>>2];if(e){Ia[F[i+8>>2]](i,e)}F[b+252>>2]=0;e=F[b+260>>2];if(e){Ia[F[i+8>>2]](i,e)}F[b+260>>2]=0;e=F[b+300>>2];if(e){F[e+444>>2]=0;f=F[e+8>>2];k=F[e+24>>2];if(k){Ia[F[f+8>>2]](f,k)}F[e+20>>2]=0;F[e+24>>2]=0;k=F[e+440>>2];if(k){Ia[F[f+8>>2]](f,k)}F[e+440>>2]=0;F[e+432>>2]=0;F[e+436>>2]=0;k=F[e+396>>2];if(k){Ia[F[f+8>>2]](f,k)}F[e+392>>2]=0;F[e+396>>2]=0;F[e>>2]=0;F[e+4>>2]=0;if(e){Ia[F[f+8>>2]](f,e)}}e=F[b+264>>2];if(e){f=F[b+292>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+292>>2]=0;f=F[b+288>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+288>>2]=0;f=F[b+280>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+280>>2]=0;f=F[b+276>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+276>>2]=0;f=F[b+284>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+284>>2]=0;F[b+272>>2]=0;F[b+264>>2]=0;F[b+268>>2]=0}F[b+304>>2]=-1;F[b+308>>2]=-1;k=Ga-16|0;Ga=k;e=F[j+96>>2];g:{h:{if(!e){break h}f=F[e+8>>2];e=gb(f,636,k+8|0);if(F[k+8>>2]){break h}F[e+436>>2]=32;F[e+8>>2]=f;t=e,u=Va(f,16,0,32,0,k+12|0),F[t+440>>2]=u;if(!F[k+12>>2]){F[e+444>>2]=0;F[e+392>>2]=0;F[e+396>>2]=0;F[e+20>>2]=0;F[e+24>>2]=0;F[e>>2]=0;F[e+4>>2]=0;break g}F[e+444>>2]=0;f=F[e+8>>2];l=F[e+24>>2];if(l){Ia[F[f+8>>2]](f,l)}F[e+20>>2]=0;F[e+24>>2]=0;l=F[e+440>>2];if(l){Ia[F[f+8>>2]](f,l)}F[e+440>>2]=0;F[e+432>>2]=0;F[e+436>>2]=0;l=F[e+396>>2];if(l){Ia[F[f+8>>2]](f,l)}F[e+392>>2]=0;F[e+396>>2]=0;F[e>>2]=0;F[e+4>>2]=0;if(e){Ia[F[f+8>>2]](f,e)}if(!F[k+12>>2]){break g}}e=0}Ga=k+16|0;F[b+300>>2]=e;e=H[j+280>>1];F[b+128>>2]=e;f=H[j+282>>1];F[b+148>>2]=0;F[b+152>>2]=0;F[b+136>>2]=0;F[b+124>>2]=0;F[b+140>>2]=f;F[b+248>>2]=F[j+700>>2];f=H[j+278>>1];D[b+113|0]=0;D[b+114|0]=0;E[b+256>>1]=f;F[b+96>>2]=0;F[b+100>>2]=0;F[b+104>>2]=0;F[b+108>>2]=0;t=b,u=Va(i,24,0,e,0,g+224|0),F[t+132>>2]=u;i:{if(F[g+224>>2]){break i}t=b,u=Va(i,24,0,F[b+140>>2],0,g+224|0),F[t+144>>2]=u;if(F[g+224>>2]){break i}t=b,u=Va(i,4,0,F[b+248>>2],0,g+224|0),F[t+252>>2]=u;if(F[g+224>>2]){break i}t=b,u=Va(i,4,0,H[b+256>>1],0,g+224|0),F[t+260>>2]=u;if(F[g+224>>2]){break i}e=H[j+276>>1];F[b+292>>2]=0;F[b+296>>2]=0;F[b+284>>2]=0;F[b+288>>2]=0;F[b+276>>2]=0;F[b+280>>2]=0;F[b+268>>2]=0;F[b+272>>2]=0;F[b+264>>2]=i;k=e+4|0;e=k&65535;t=b,u=Va(i,8,0,e,0,g+240|0),F[t+276>>2]=u;j:{k:{l:{f=F[g+240>>2];m:{if(f){break m}t=b,u=Va(i,8,0,e,0,g+240|0),F[t+280>>2]=u;f=F[g+240>>2];if(f){break m}t=b,u=Va(i,8,0,e,0,g+240|0),F[t+284>>2]=u;f=F[g+240>>2];if(f){break m}t=b,u=Va(i,1,0,e,0,g+240|0),F[t+288>>2]=u;f=F[g+240>>2];if(f){break m}t=b,u=Va(i,2,0,0,0,g+240|0),F[t+292>>2]=u;f=F[g+240>>2];if(!f){break l}}e=F[b+264>>2];if(e){break k}F[g+224>>2]=f;break i}E[b+268>>1]=k;E[b+270>>1]=0;F[g+224>>2]=0;break j}f=F[b+292>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+292>>2]=0;f=F[b+288>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+288>>2]=0;f=F[b+280>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+280>>2]=0;f=F[b+276>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+276>>2]=0;f=F[b+284>>2];if(f){Ia[F[e+8>>2]](e,f)}F[b+284>>2]=0;F[b+272>>2]=0;F[b+264>>2]=0;F[b+268>>2]=0;e=F[g+240>>2];F[g+224>>2]=e;if(e){break i}}E[b+272>>1]=k;Ya(b+180|0,96052,68);e=F[F[F[j+96>>2]+4>>2]+164>>2];F[j+708>>2]=e?e:81;e=F[b+300>>2];i=F[b>>2];f=hg(e,i,b);n:{if(f){break n}F[e+484>>2]=0;F[e+488>>2]=0;F[e+480>>2]=64;F[e+16>>2]=0;F[e+432>>2]=0;F[e+568>>2]=16384;D[e+565|0]=m;F[e+220>>2]=0;F[e+224>>2]=0;D[e+492|0]=0;E[e+256>>1]=0;F[e+228>>2]=0;F[e+260>>2]=65536;F[e+264>>2]=0;j=F[i+688>>2];f=F[i+684>>2];F[e+456>>2]=0;F[e+460>>2]=0;F[e+452>>2]=f;F[e+448>>2]=j;F[e+464>>2]=0;F[e+468>>2]=0;o:{if(!f){F[b+304>>2]=0;break o}F[e+368>>2]=f;F[e+360>>2]=j;F[e+364>>2]=0;F[e+356>>2]=1;f=Ia[F[i+708>>2]](e)|0;F[b+304>>2]=f;if(f){break n}}F[b+124>>2]=F[e+400>>2];F[b+136>>2]=F[e+412>>2];F[b+148>>2]=F[e+424>>2];F[b+152>>2]=F[e+428>>2];f=F[e+452>>2];F[b+156>>2]=F[e+448>>2];F[b+160>>2]=f;f=F[e+460>>2];F[b+164>>2]=F[e+456>>2];F[b+168>>2]=f;f=F[e+468>>2];F[b+172>>2]=F[e+464>>2];F[b+176>>2]=f;f=0}e=f;break f}Ij(b);e=F[g+224>>2]}if(e){break a}e=F[b+308>>2];if((e|0)<0){i=H[b+272>>1];p:{if(!i){break p}j=F[b+280>>2];k=F[b+276>>2];e=0;if((i|0)!=1){s=i&65534;f=0;while(1){l=e<<3;o=l+k|0;F[o>>2]=0;F[o+4>>2]=0;o=j+l|0;F[o>>2]=0;F[o+4>>2]=0;l=l|8;o=l+k|0;F[o>>2]=0;F[o+4>>2]=0;l=j+l|0;F[l>>2]=0;F[l+4>>2]=0;e=e+2|0;f=f+2|0;if((s|0)!=(f|0)){continue}break}}if(!(i&1)){break p}e=e<<3;f=e+k|0;F[f>>2]=0;F[f+4>>2]=0;e=e+j|0;F[e>>2]=0;F[e+4>>2]=0}e=H[b+256>>1];if(e){Wa(F[b+260>>2],0,e<<2)}Ya(b+180|0,96052,68);e=Hj(b,m)}if(e){break a}}i=F[b+300>>2];if(!i){e=153;break a}e=d&983040;q:{if(F[p+64>>2]!=40){j=(e|0)!=131072;e=0;k=0;f=0;break q}k=(e|0)!=131072;e=k&(d&262144)>>>18;j=0;f=!(d&458752)&k}D[i+614|0]=e;e=hg(i,h,b);if(e){break a}r:{s:{t:{u:{if(F[p+64>>2]==40){e=G[i+613|0]==(k|0);if(!e){D[i+613|0]=k}if((f|0)!=G[i+618|0]){break u}if(G[i+612|0]==(j|0)){break t}D[i+612|0]=j;break s}if(G[i+612|0]==(j|0)){break r}D[i+612|0]=j;break s}D[i+618|0]=f;if(G[i+612|0]==(j|0)){break s}D[i+612|0]=j;break s}if(e){break r}}e=Hj(b,m);if(e){break a}}e=G[i+340|0];f=e<<1&2;if(e&2){Ya(i+288|0,96052,68)}D[i+565|0]=m;F[g+164>>2]=i;F[g+168>>2]=F[i+396>>2];d=d|f}e=F[F[a+156>>2]>>2];fd(e);F[g+24>>2]=d;F[g+20>>2]=e;F[g+212>>2]=0;F[g+216>>2]=0;F[g+32>>2]=q;F[g+16>>2]=a;F[g+12>>2]=b;F[g+8>>2]=h;F[a+124>>2]=0;F[a+128>>2]=0;F[a+72>>2]=1869968492;e=ig(g+8|0,c,0,0);v:{if(e){break v}d=F[g+20>>2];w:{if(F[a+72>>2]==1668246896){F[a+128>>2]=F[d+48>>2];F[a+132>>2]=F[d+52>>2];break w}h=F[d+24>>2];e=a+108|0;F[e>>2]=F[d+20>>2];F[e+4>>2]=h;F[e+16>>2]=F[d+36>>2];h=F[d+32>>2];F[e+8>>2]=F[d+28>>2];F[e+12>>2]=h;F[a+124>>2]=F[a+124>>2]&-513;d=F[g+76>>2];if(!d){break w}Vb(e,0-d|0,0)}x:{if(n){break x}d=8;e=F[g+164>>2];y:{if(!G[e+341|0]){break y}d=32;z:{switch(F[e+344>>2]){case 4:d=48;break y;case 5:d=16;break y;case 1:break x;case 0:break y;default:break z}}d=8}F[a+124>>2]=F[a+124>>2]|d}e=F[g+8>>2];j=65536;f=F[g+12>>2];d=F[g+16>>2];j=D[g+24|0]&1?j:F[F[f+44>>2]+8>>2];h=F[e+96>>2];A:{if(F[d+72>>2]!=1668246896){ed(d+108|0,g+240|0);break A}i=F[g+56>>2];F[g+248>>2]=F[g+52>>2];F[g+252>>2]=i;i=F[g+48>>2];F[g+240>>2]=F[g+44>>2];F[g+244>>2]=i}F[d+56>>2]=F[g+68>>2];n=F[g+240>>2];F[d+32>>2]=n;i=F[g+252>>2];F[d+36>>2]=i;F[d+40>>2]=F[g+84>>2]-F[g+76>>2];B:{C:{if(F[h+64>>2]!=40){break C}h=F[g+164>>2];if(!h){break C}if(G[h+615|0]){break B}}if(F[e+488>>2]|F[g+24>>2]&2097154){break B}p=F[e+776>>2];if(!p){break B}h=0;k=F[e+768>>2];l=k?k+8|0:0;m=F[e+780>>2];q=F[e+784>>2];f=H[F[f+44>>2]>>1];while(1){if((f|0)==G[h+q|0]){f=c+2|0;if(!k|f>>>0>=m>>>0){break B}F[d+40>>2]=G[f+(l+L(h,m)|0)|0]<<6;break B}h=h+1|0;if((p|0)!=(h|0)){continue}break}}F[d+24>>2]=F[g+248>>2]-n;h=i-F[g+244>>2]|0;F[d+28>>2]=h;D:{if(!(!G[e+292|0]|!H[e+330>>1])){f=_a(F[g+192>>2]-i|0,j)<<16>>16;h=0;i=F[g+192>>2];k=F[g+200>>2];if((i|0)<=(k|0)){break D}h=_a(i-k|0,j)&65535;break D}f=_a(h,j);h=H[e+372>>1]==65535;h=E[e+(h?220:442)>>1]-E[e+(h?222:444)>>1]|0;f=(h-(f<<16>>16)|0)/2|0}e=F[F[e+128>>2]+52>>2];E:{if(!e){break E}i=F[F[e>>2]+8>>2];if(!i){break E}F[g+232>>2]=h;F[g+228>>2]=f;F[g+224>>2]=0;e=Ia[i|0](F[e+4>>2],c,1,g+224|0)|0;if(e){break v}h=F[g+232>>2];f=F[g+228>>2]}F[d+60>>2]=h;if(!(D[g+24|0]&1)){f=Ua(f,j);h=Ua(h,j)}F[d+52>>2]=h;F[d+48>>2]=f;F[d+44>>2]=F[d+32>>2]+(F[d+40>>2]/-2|0);e=0}if(!(H[F[b+44>>2]+2>>1]>23|r)){F[a+124>>2]=F[a+124>>2]|256}gl(g+212|0,F[F[g+8>>2]+100>>2])}Ga=g+256|0;return e|0}function kr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=Ga-384|0;Ga=f;F[b>>2]=1;a:{if(!F[b+136>>2]){d=Jc(F[F[b+96>>2]+4>>2],9871);if(!d){a=11;break a}F[b+136>>2]=d}if(!F[b+320>>2]){x=b,y=Jc(F[F[b+96>>2]+4>>2],10070),F[x+320>>2]=y}a=Za(a,0);if(a){break a}i=F[b+100>>2];F[f+108>>2]=0;g=F[b+104>>2];a=F[b+136>>2];d=f+8|0;Wa(d,0,100);Ia[F[F[a+4>>2]>>2]](d,0,0,i);F[f+80>>2]=g;j=F[g+8>>2];b:{c:{d:{d=tb(g,31);e:{if(d){break e}a=cb(F[g+32>>2],10532,31);lb(g);if(a){F[f+4>>2]=2;break b}m=f+106|0;l=f+84|0;o=f+112|9;while(1){d=F[g+8>>2];h=d;a=0;d=F[g+4>>2]-d|0;e=d>>>0<265?d:265;d=Gb(g,f+112|0,e);if(d){break e}while(1){f:{d=f+112|0;k=(d+a|0)+e|0;D[k|0]=0;e=a+e|0;if(d>>>0>>0){n=e+m|0;d=G[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(cb(a,10729,9)){break g}e=10;break f}h:{d=G[a+1|0];if((d|0)!=115){break h}if(cb(a,10807,6)){break h}e=7;break f}a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(e>>>0<9){F[f+4>>2]=3;break b}a=k-9|0;d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);D[f+120|0]=G[a+8|0];F[f+112>>2]=e;F[f+116>>2]=d;h=h+256|0;a=9;d=F[g+4>>2]-F[g+8>>2]|0;e=d>>>0<256?d:256;d=Gb(g,o,e);if(!d){continue}break e}break}d=Za(g,j);if(d){break e}k=((h-(f+112|0)|0)+a|0)+e|0;a=k-j|0;d=$b(g,a,l);if(d){break e}F[f+92>>2]=k;h=F[f+84>>2];F[f+12>>2]=h;F[f+104>>2]=-1;F[f+8>>2]=h;F[f+88>>2]=a;F[f+16>>2]=a+h;d=f+8|0;Ia[F[f+40>>2]](d);Ia[F[f+36>>2]](d);a=F[f+8>>2];Ia[F[f+40>>2]](d);Ia[F[f+36>>2]](d);d=F[f+8>>2];e=F[f+16>>2];n=e-6|0;if(d>>>0<=n>>>0){p=e-9|0;while(1){e=a;a=d;d=F[f+20>>2];if(d){break e}i:{if(G[a|0]!=83|a>>>0>p>>>0){break i}if(cb(a,10729,9)){break i}if(cb(h,10959,5)){break c}a=Lb(e,0);if((a|0)>=0){break d}F[f+4>>2]=3;break b}j:{if(G[a+1|0]!=115){break j}if(cb(a,10807,6)){break j}F[f+4>>2]=2;break b}d=f+8|0;Ia[F[f+40>>2]](d);Ia[F[f+36>>2]](d);h=e;d=F[f+8>>2];if(n>>>0>=d>>>0){continue}break}}Eb(g,l);d=Za(g,k);if(!d){continue}break}}F[f+4>>2]=d;break b}F[f+96>>2]=a}F[f+4>>2]=0;F[f+20>>2]=0;a=F[f+84>>2];m=a+F[f+88>>2]|0;F[f+16>>2]=m;g=b+164|0;j=b+312|0;l=b+196|0;k=b+140|0;s=m-1|0;k:{l:{m:while(1){F[f+8>>2]=a;Ia[F[f+36>>2]](f+8|0);d=F[f+8>>2];e=(d>>>0>>0?d:s)-17|0;if(e>>>0>a>>>0){while(1){n:{if(G[a|0]!=37){break n}if(cb(a,10992,17)|F[b+300>>2]<=0){break n}F[f+104>>2]=F[f+104>>2]+1}a=a+1|0;if((e|0)!=(a|0)){continue}break}}o:{if(d>>>0>=m>>>0){break o}Ia[F[f+40>>2]](f+8|0);a=F[f+8>>2];if(F[f+20>>2]|m>>>0<=a>>>0){break o}if(G[d|0]!=47|m>>>0<=d+2>>>0){continue}n=d+1|0;if((n|0)==(a|0)){continue}o=a-n|0;if(o>>>0>21){continue}p=G[n|0];e=100384;d=11146;p:{if(o>>>0>=2){while(1){h=e;q:{if((p|0)!=G[d|0]){break q}e=1;if((hb(d)|0)!=(o|0)){break q}while(1){if(G[e+n|0]!=G[d+e|0]){break q}e=e+1|0;if((o|0)!=(e|0)){continue}break}e=h;break p}e=h+36|0;d=F[h+36>>2];if(d){continue}continue m}}while(1){if((p|0)==G[d|0]){if((hb(d)|0)==(o|0)){break p}}d=F[e+36>>2];e=e+36|0;if(d){continue}break}continue}h=F[e+8>>2];r:{if((h|0)==11){Ia[F[e+12>>2]](b,f+8|0);a=F[f+20>>2];break r}d=k;s:{t:{u:{v:{switch(F[e+4>>2]){case 3:d=g;break u;case 2:d=j;break u;case 5:d=l;break u;case 0:break u;default:break v}}a=F[f+104>>2];if((a|0)<0|(a|0)>=F[b+300>>2]){break t}d=F[b+304>>2]+L(a,252)|0}F[f+112>>2]=d;if(h-9>>>0>1){break s}a=Ia[F[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break r}F[f+20>>2]=160;F[f+4>>2]=160;break b}a=Ia[F[f+72>>2]](f+8|0,e,f+112|0,0,0)|0}F[f+20>>2]=a;if(a){break l}a=F[f+8>>2];continue}break}if(F[b+300>>2]){break k}a=3}F[f+4>>2]=a;break b}a=F[f+20>>2];F[f+4>>2]=a;if(a|(c|0)<0){break b}d=gb(i,40,f+4|0);F[b+328>>2]=d;if(F[f+4>>2]){break b}a=F[f+96>>2];w:{if(a){e=b;d=F[F[b+104>>2]+4>>2]-F[f+92>>2]|0;if(d>>>0>>0){F[f+96>>2]=d;a=d}d=e;e=gb(i,a,f+4|0);F[d+324>>2]=e;if(F[f+4>>2]){break b}a=F[f+96>>2];d=Ga-256|0;Ga=d;j=F[b+104>>2];i=Za(j,F[f+92>>2]);x:{if(i){break x}if((a|0)>0){o=a+e|0;l=1;a=d;k=a;while(1){if(a>>>0>=k>>>0){a=F[j+8>>2];h=F[j+4>>2];if((a|0)==(h|0)){i=160;break x}h=h-a|0;i=Gb(j,d,h>>>0<256?h:256);if(i){break x}k=(d+F[j+8>>2]|0)-a|0;a=d}h=G[a|0];g=h-48|0;y:{z:{if(g>>>0<10){break z}A:{if((h-97&255)>>>0>=6){if((h-65&255)>>>0<6){break A}g=0;i=160;m=0;B:{switch(h|0){case 62:break y;case 0:case 9:case 10:case 12:case 13:case 32:break B;default:break x}}a=a+1|0;continue}g=h-87|0;break z}g=h-55|0}m=1}C:{if(l&255){D[e|0]=g<<4;break C}D[e|0]=G[e|0]+g;e=e+1|0}a=a+1|0;l=1-l|0;if(e>>>0>>0&m){continue}break}}i=0}Ga=d+256|0;F[f+4>>2]=i;if(i){break b}d=F[b+324>>2];e=F[f+96>>2];a=F[b+328>>2];F[a+32>>2]=0;F[a+8>>2]=0;F[a+4>>2]=e;F[a>>2]=d;F[a+20>>2]=0;F[a+24>>2]=0;a=0;break w}a=F[b+104>>2];e=F[a+4>>2];F[d>>2]=F[a>>2];F[d+4>>2]=e;e=F[a+36>>2];F[d+32>>2]=F[a+32>>2];F[d+36>>2]=e;e=F[a+28>>2];F[d+24>>2]=F[a+24>>2];F[d+28>>2]=e;e=F[a+20>>2];F[d+16>>2]=F[a+16>>2];F[d+20>>2]=e;e=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=e;a=F[f+92>>2]}F[b+308>>2]=a;D:{i=F[b+288>>2];if((i|0)>=0){g=F[b+292>>2];if((g|0)>0){break D}}F[f+4>>2]=3;break b}if(!(g>>>0<5&i>>>0<=4)){F[f+4>>2]=3;break b}d=F[F[b+328>>2]+4>>2]-a|0;l=F[b+300>>2];if((l|0)>0){k=F[b+304>>2];e=0;while(1){a=k+L(e,252)|0;if(I[a+112>>2]>=1001){F[a+112>>2]=7}if(I[a+116>>2]>=1001){F[a+116>>2]=1}E:{h=F[a+248>>2];if((h|0)>=0){j=F[a+240>>2];if(h|!j){break E}}F[f+4>>2]=3;break b}if(h>>>0>=5){F[f+4>>2]=3;break b}a=F[a+244>>2];if(a>>>0>d>>>0){F[f+4>>2]=3;break b}if(!((!h|j>>>0<=(d-a>>>0)/(h>>>0)>>>0)&(j|0)>=0)){F[f+4>>2]=3;break b}e=e+1|0;if((l|0)!=(e|0)){continue}break}}a=F[b+284>>2];if(a>>>0>d>>>0){F[f+4>>2]=3;break b}if(I[b+296>>2]>(d-a>>>0)/(g+i>>>0)>>>0){F[f+4>>2]=3;break b}i=0;h=0;s=0;j=Ga-16|0;Ga=j;o=F[b+328>>2];u=F[b+136>>2];k=F[b+100>>2];l=Va(k,8,0,F[b+300>>2],0,j+12|0);F[b+316>>2]=l;F:{if(F[j+12>>2]){break F}d=F[b+300>>2];if((d|0)<=0){break F}while(1){G:{e=F[b+304>>2]+L(s,252)|0;m=F[e+240>>2];if(m){v=F[e+4>>2];n=m+1|0;if(n>>>0>h>>>0){a=m+4&-4;if(a>>>0<=h>>>0){F[j+12>>2]=160;break G}i=Va(k,4,h,a,i,j+12|0);h=a;if(F[j+12>>2]){break G}}a=Za(o,F[e+244>>2]+F[b+308>>2]|0);F[j+12>>2]=a;if(a){break G}a=tb(o,L(n,F[e+248>>2]));F[j+12>>2]=a;if(a){break G}a=F[e+248>>2];H:{if(a&255){r=a-1&255;t=r+1|0;w=a&252;q=a&3;e=F[o+32>>2];p=0;while(1){a=e;g=0;d=0;if(r>>>0>=3){while(1){d=a;a=a+4|0;g=g+4|0;if((g&255)!=(w|0)){continue}break}d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}g=0;if(q){while(1){d=G[a|0]|d<<8;a=a+1|0;g=g+1|0;if((q|0)!=(g&255)){continue}break}}F[(p<<2)+i>>2]=d;e=e+t|0;a=(m|0)!=(p|0);p=p+1|0;if(a){continue}break}break H}Wa(i,0,(m<<2)+4|0)}lb(o);d=F[i>>2];a=1;I:{while(1){e=d;d=F[(a<<2)+i>>2];if(e>>>0<=d>>>0){a=a+1|0;if(m>>>0>=a>>>0){continue}break I}break}F[j+12>>2]=3;break G}a=F[(m<<2)+i>>2];if(a>>>0>F[o+4>>2]-F[b+308>>2]>>>0){F[j+12>>2]=3;break G}d=F[i>>2];x=l,y=Va(k,4,0,n,0,j+12|0),F[x+4>>2]=y;if(F[j+12>>2]){break G}a=a-d|0;d=gb(k,a,j+12|0);F[F[l+4>>2]>>2]=d;if(F[j+12>>2]){break G}d=Za(o,F[i>>2]+F[b+308>>2]|0);F[j+12>>2]=d;if(d){break G}a=Gb(o,F[F[l+4>>2]>>2],a);F[j+12>>2]=a;if(a){break G}d=1;a=(n>>>0>2?n:2)-1|0;p=a&1;g=F[i>>2];if(n>>>0>=3){n=a&-2;e=0;while(1){a=d<<2;q=a+F[l+4>>2]|0;r=q;t=F[q-4>>2];q=F[a+i>>2];F[r>>2]=t+(q-g|0);r=a+4|0;g=F[r+i>>2];t=F[l+4>>2];F[r+t>>2]=F[a+t>>2]+(g-q|0);d=d+2|0;e=e+2|0;if((n|0)!=(e|0)){continue}break}}if(p){a=d<<2;d=a+F[l+4>>2]|0;F[d>>2]=F[d-4>>2]+(F[a+i>>2]-g|0)}J:{if((v|0)<0){break J}d=m>>>0>1?m:1;n=d&1;a=0;if(m>>>0>=2){p=d&-2;g=0;while(1){d=a<<2;q=d|4;e=q+i|0;Ia[F[u+16>>2]](F[d+F[l+4>>2]>>2],F[e>>2]-F[d+i>>2]|0,4330);a=a+2|0;Ia[F[u+16>>2]](F[q+F[l+4>>2]>>2],F[(a<<2)+i>>2]-F[e>>2]|0,4330);g=g+2|0;if((p|0)!=(g|0)){continue}break}}if(!n){break J}d=a<<2;a=d+i|0;Ia[F[u+16>>2]](F[d+F[l+4>>2]>>2],F[a+4>>2]-F[a>>2]|0,4330)}F[l>>2]=m;d=F[b+300>>2]}l=l+8|0;s=s+1|0;if((s|0)<(d|0)){continue}break F}break}a=F[b+316>>2];if(!a){break F}if(F[b+300>>2]>0){g=0;while(1){d=g<<3;e=F[(d+a|0)+4>>2];if(e){a=F[e>>2];if(a){Ia[F[k+8>>2]](k,a)}F[F[(d+F[b+316>>2]|0)+4>>2]>>2]=0;a=F[b+316>>2]}a=F[(a+d|0)+4>>2];if(a){Ia[F[k+8>>2]](k,a)}a=F[b+316>>2];F[(d+a|0)+4>>2]=0;g=g+1|0;if((g|0)>2]){continue}break}}if(a){Ia[F[k+8>>2]](k,a)}F[b+316>>2]=0}if(i){Ia[F[k+8>>2]](k,i)}Ga=j+16|0;F[f+4>>2]=F[j+12>>2]}if(F[f+84>>2]){Eb(F[f+80>>2],f+84|0)}Ia[F[f+32>>2]](f+8|0);a=F[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}F[b+36>>2]=0;F[b+4>>2]=0;F[b+16>>2]=F[b+296>>2];a=F[b+8>>2];F[b+8>>2]=a|2065;if(G[b+188|0]){F[b+8>>2]=a|2069}F[b+24>>2]=10166;d=F[b+176>>2];F[b+20>>2]=d;K:{if(d){a=F[b+172>>2];if(!a){break K}e=G[a|0];if(!e){break K}while(1){e=e&255;c=G[d|0];L:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break L}e=e-32|0;if(!(!e|(e|0)==13)){M:{switch(c-32|0){case 0:case 13:d=d+1|0;break L;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break K;default:break M}}if(c){break K}F[b+24>>2]=a;break K}a=a+1|0}e=G[a|0];if(e){continue}break}break K}a=F[b+140>>2];if(!a){break K}F[b+20>>2]=a}c=F[b+184>>2]!=0;F[b+12>>2]=c;a=F[b+180>>2];N:{if(!a){break N}if(ab(a,10301)){if(ab(a,10420)){break N}}F[b+12>>2]=c|2}F[b+28>>2]=0;F[b+32>>2]=0;F[b+52>>2]=E[b+198>>1];a=E[b+202>>1];F[b+56>>2]=a;F[b+60>>2]=F[b+204>>2]+65535>>16;c=F[b+208>>2]+65535>>16;F[b- -64>>2]=c;e=H[b+68>>1];if(!e){E[b+68>>1]=1e3;e=1e3}E[b+72>>1]=a;E[b+70>>1]=c;F[b+80>>2]=H[b+190>>1]|H[b+192>>1]<<16;d=b;a=c-a|0;b=(L(e,12)>>>0)/10|0;E[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}Ga=f+384|0;return a|0}function St(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Ga-48|0;Ga=e;f=F[a+720>>2];a:{if(f){break a}b:{c:{if(!(!F[a+736>>2]|!(G[a+9|0]&128?1:H[a+6>>1]&32767))){m=F[a+548>>2];g=F[a+100>>2];if(!F[a+744>>2]){F[e+16>>2]=-1;F[e+20>>2]=-1;h=H[a+340>>1];if(!h){f=0;break b}i=F[a+356>>2];while(1){c=i+L(b,20)|0;d:{if(H[c+6>>1]!=25|!H[c+8>>1]){break d}e:{f:{switch(H[c>>1]-1|0){case 2:if(H[c+2>>1]>1){break d}f=e+20|0;if(H[c+4>>1]==1033|F[e+20>>2]==-1){break e}break d;case 0:break f;default:break d}}if(H[c+2>>1]){break d}f=e+16|0;if(!H[c+4>>1]){break e}if(F[e+16>>2]!=-1){break d}}F[f>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}g:{h:{b=F[e+20>>2];if((b|0)>=0){break h}d=F[e+16>>2];i:{if((d|0)>=0){break i}F[e+16>>2]=-1;F[e+20>>2]=-1;b=0;while(1){c=i+L(b,20)|0;j:{if(H[c+6>>1]!=16|!H[c+8>>1]){break j}k:{l:{switch(H[c>>1]-1|0){case 2:if(H[c+2>>1]>1){break j}f=e+20|0;if(H[c+4>>1]==1033|F[e+20>>2]==-1){break k}break j;case 0:break l;default:break j}}if(H[c+2>>1]){break j}f=e+16|0;if(!H[c+4>>1]){break k}if(F[e+16>>2]!=-1){break j}}F[f>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}b=F[e+20>>2];if((b|0)>=0){break h}d=F[e+16>>2];if((d|0)>=0){break i}F[e+16>>2]=-1;F[e+20>>2]=-1;b=0;while(1){c=i+L(b,20)|0;m:{if(H[c+6>>1]!=1|!H[c+8>>1]){break m}n:{o:{switch(H[c>>1]-1|0){case 2:if(H[c+2>>1]>1){break m}f=e+20|0;if(H[c+4>>1]==1033|F[e+20>>2]==-1){break n}break m;case 0:break o;default:break m}}if(H[c+2>>1]){break m}f=e+16|0;if(!H[c+4>>1]){break n}if(F[e+16>>2]!=-1){break m}}F[f>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}b=F[e+20>>2];if((b|0)>=0){break h}f=0;d=F[e+16>>2];if((d|0)<0){break b}}if((b|0)!=-1){break h}b=0;break g}b=Vj(g,F[a+368>>2],i+L(b,20)|0,64);d=F[e+16>>2]}p:{if((d|0)==-1|b){break p}c=F[a+368>>2];h=F[a+100>>2];l=F[a+356>>2];b=0;F[e+40>>2]=0;j=l+L(d,20)|0;f=gb(h,H[j+8>>1]+1|0,e+40|0);if(F[e+40>>2]){break p}b=Za(c,F[j+12>>2]);F[e+40>>2]=b;q:{if(b){break q}b=tb(c,H[j+8>>1]);F[e+40>>2]=b;if(b){break q}b=f;r:{k=H[j+8>>1];if(k){i=F[c+32>>2];while(1){n=D[i|0];if(n-58>>>0<=4294967285&(n&-33)-91>>>0<4294967270){break r}D[b|0]=n;i=i+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}D[b|0]=0;lb(c);b=f;break p}lb(c)}if(f){Ia[F[h+8>>2]](h,f)}b=0;F[j+12>>2]=0;E[j+8>>1]=0;f=l+L(d,20)|0;c=F[f+16>>2];if(c){Ia[F[h+8>>2]](h,c)}F[f+16>>2]=0}if(!b){f=0;break b}f=hb(b);if(f>>>0>=92){D[b+91|0]=0;f=91}F[a+748>>2]=f;F[a+744>>2]=b}f=0;Ia[F[m+40>>2]](a,e+32|0,e+28|0,0,e+24|0)|0;s:{t:{b=F[a+4>>2];if(!(b&2147418112)|G[a+9|0]&128){break t}i=(b>>>16&32767)-1|0;b=F[F[e+24>>2]+16>>2];c=F[(L(i,12)+b|0)+8>>2];d=F[a+540>>2];F[e+40>>2]=0;if(!((c|0)!=6&c-256>>>0>32511)){Ia[F[d+144>>2]](a,c&65535,e+40|0)|0;b=F[e+40>>2];if(b){break s}b=F[F[e+24>>2]+16>>2]}Ia[F[d+144>>2]](a,H[(L(i,12)+b|0)+4>>1],e+12|0)|0;b=F[e+12>>2];if(!b){break t}b=gb(g,(F[a+748>>2]+hb(b)|0)+2|0,e+36|0);if(F[e+36>>2]){break b}f=Ug(b,F[a+744>>2]);b=f+F[a+748>>2]|0;D[b|0]=45;i=b+1|0;d=F[e+12>>2];b=G[d|0];if(b){while(1){c=b<<24>>24;if(!(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){D[i|0]=b;i=i+1|0}b=G[d+1|0];d=d+1|0;if(b){continue}break}}D[i|0]=0;b=F[e+12>>2];if(b){Ia[F[g+8>>2]](g,b)}d=i+1|0;break c}j=F[F[e+24>>2]+12>>2];b=gb(g,(F[a+748>>2]+L(F[e+32>>2],17)|0)+1|0,e+36|0);if(F[e+36>>2]){break b}f=Ug(b,F[a+744>>2]);d=f+F[a+748>>2]|0;if(!F[e+32>>2]){break c}l=e+40^-1;b=F[e+28>>2];i=0;while(1){u:{if(F[b>>2]==F[j+8>>2]){break u}D[d|0]=95;b=F[F[e+28>>2]>>2];v:{if(!b){D[d+1|0]=48;d=d+2|0;break v}if((b|0)>=0){d=d+1|0}else{D[d+1|0]=45;b=0-b|0;d=d+2|0}h=b&65535;w:{if(b>>>0<65536){break w}c=b>>>16|0;b=e+40|0;while(1){g=(c>>>0)/10|0;D[b|0]=c-L(g,10)|48;b=b+1|0;k=c>>>0<10;c=g;if(!k){continue}break}if(e+40>>>0>=b>>>0){break w}g=b+l|0;c=0;k=b-(e+40|0)&7;if(k){while(1){b=b-1|0;D[d|0]=G[b|0];d=d+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(g>>>0<7){break w}while(1){D[d|0]=G[b-1|0];D[d+1|0]=G[b-2|0];D[d+2|0]=G[b-3|0];D[d+3|0]=G[b-4|0];D[d+4|0]=G[b-5|0];D[d+5|0]=G[b-6|0];D[d+6|0]=G[b-7|0];b=b-8|0;D[d+7|0]=G[b|0];d=d+8|0;if(e+40>>>0>>0){continue}break}}if(!h){break v}D[d|0]=46;b=L(h,10)+5|0;D[d+1|0]=(b>>>16|0)+48;b=L(b&65535,10);D[d+2|0]=b>>>16|48;b=L(b&65534,10);c=b>>>16|48;D[d+3|0]=c;x:{y:{z:{A:{B:{C:{D:{b=b&65532;if(!b){b=d+3|0;break D}b=L(b,10);c=b>>>16|48;D[d+4|0]=c;b=b&65528;if(!b){b=d+4|0;break D}h=L(b,10);g=h>>>16|0;c=g|48;D[d+5|0]=c;b=d+5|0;h=h&65520;if(!h){break D}d=L(h,10);if(d>>>0>=344800){break z}if((c|0)==49){break C}if((h|0)==17232){if(!(g&1)){break z}c=g+47|0;break A}if(d>>>0>172319){break z}break B}if((b-d|0)!=5){break z}if((c|0)!=49){break B}}D[b|0]=48;break y}if((c|0)==48){break y}c=c-1|0}D[b|0]=c}if((c|0)!=48){break x}}while(1){D[b|0]=0;b=b-1|0;if(G[b|0]==48){continue}break}}d=b+1|0}b=F[j+16>>2];c=b>>24;if(!((c|0)==32|!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){D[d|0]=b>>>24;d=d+1|0;b=F[j+16>>2]}g=b>>>16|0;c=g<<24;E:{if((c|0)==536870912){break E}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break E}D[d|0]=g;d=d+1|0;b=F[j+16>>2]}g=b>>>8|0;c=g<<24;F:{if((c|0)==536870912){break F}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break F}D[d|0]=g;d=d+1|0;b=F[j+16>>2]}c=b<<24;if((c|0)==536870912){break u}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break u}D[d|0]=b;d=d+1|0}b=F[e+28>>2]+4|0;F[e+28>>2]=b;j=j+24|0;i=i+1|0;if(i>>>0>2]){continue}break}break c}d=(hb(b)+b|0)+1|0;f=b;break c}F[e+32>>2]=-1;F[e+36>>2]=-1;c=H[a+340>>1];G:{if(c){g=F[a+356>>2];while(1){f=g+L(b,20)|0;H:{if(H[f+6>>1]!=6|!H[f+8>>1]){break H}I:{J:{switch(H[f>>1]-1|0){case 2:if(H[f+2>>1]>1){break H}d=e+36|0;if(H[f+4>>1]==1033|F[e+36>>2]==-1){break I}break H;case 0:break J;default:break H}}if(H[f+2>>1]){break H}d=e+32|0;if(!H[f+4>>1]){break I}if(F[e+32>>2]!=-1){break H}}F[d>>2]=b}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=F[e+32>>2];K:{c=F[e+36>>2];if((c|0)>=0){break K}f=0;if((b|0)<0){break a}if((c|0)!=-1){break K}break G}f=Vj(F[a+100>>2],F[a+368>>2],F[a+356>>2]+L(c,20)|0,65);break G}f=0;b=F[e+32>>2];if((b|0)<0){break a}}if((b|0)==-1|f){break b}d=F[a+368>>2];j=F[a+356>>2];g=F[a+100>>2];f=0;F[e+40>>2]=0;h=j+L(b,20)|0;c=gb(g,H[h+8>>1]+1|0,e+40|0);if(F[e+40>>2]){break b}f=Za(d,F[h+12>>2]);F[e+40>>2]=f;L:{if(f){break L}f=tb(d,H[h+8>>1]);F[e+40>>2]=f;if(f){break L}f=c;M:{k=H[h+8>>1];if(k){i=F[d+32>>2];while(1){l=G[i|0];n=l<<24>>24;if((n|0)<0|!(G[(l>>>3|0)+94544|0]>>>(l&7)&1)){break M}D[f|0]=n;i=i+1|0;f=f+1|0;k=k-1|0;if(k){continue}break}}D[f|0]=0;lb(d);f=c;break b}lb(d)}if(c){Ia[F[g+8>>2]](g,c)}f=0;F[h+12>>2]=0;E[h+8>>1]=0;b=j+L(b,20)|0;c=F[b+16>>2];if(c){Ia[F[g+8>>2]](g,c)}F[b+16>>2]=0;break b}l=d-f|0;if((l|0)<128){break b}b=0-(l>>>4|0)|0;h=(l&-16)+f|0;j=123456789;c=123456789;i=123456789;d=123456789;while(1){m=j;g=h+(b<<4)|0;j=F[g>>2];j=IC(m^L(L(j,597399067)>>>17|L(j,-888307712),-1425107063),19)+c|0;m=c;c=F[g+4>>2];c=L(IC(m^L(L(c,-1425107063)>>>16|L(c,-1752629248),951274213),17)+i|0,5)+197830471|0;m=i;i=F[g+8>>2];k=L(IC(m^L(L(i,951274213)>>>15|L(i,-1781923840),-1578923117),15)+d|0,5)-1764942795|0;i=k;m=d;d=F[g+12>>2];j=L(j,5)+1444728091|0;d=L(IC(m^L(L(d,-1578923117)>>>14|L(d,776732672),597399067),13)+j|0,5)+850148119|0;g=b;b=b+1|0;if(g>>>0<=b>>>0){continue}break}b=0;N:{switch((l&15)-1|0){case 14:b=G[h+14|0]<<16;case 13:b=G[h+13|0]<<8|b;case 12:b=G[h+12|0]^b;d=L(L(b,-1578923117)>>>14|L(b,776732672),597399067)^d;case 11:b=G[h+11|0]<<24;case 10:b=G[h+10|0]<<16|b;case 9:b=G[h+9|0]<<8^b;case 8:b=G[h+8|0]^b;k=L(L(b,951274213)>>>15|L(b,-1781923840),-1578923117)^k;case 7:b=G[h+7|0]<<24;case 6:b=G[h+6|0]<<16|b;case 5:b=G[h+5|0]<<8^b;case 4:b=G[h+4|0]^b;c=L(L(b,-1425107063)>>>16|L(b,-1752629248),951274213)^c;case 3:b=G[h+3|0]<<24;case 2:b=G[h+2|0]<<16|b;case 1:b=G[h+1|0]<<8^b;case 0:b=G[h|0]^b;j=L(L(b,597399067)>>>17|L(b,-888307712),-1425107063)^j;break;default:break N}}b=F[a+748>>2]+f|0;D[b|0]=45;D[b+33|0]=46;D[b+34|0]=46;D[b+35|0]=46;D[b+36|0]=0;i=c^l;g=l^k;d=d^l;c=(i+(g+d|0)|0)+(j^l)|0;h=L(c>>>16^c,-2048144789);h=L(h>>>13^h,-1028477387);i=c+i|0;i=L(i>>>16^i,-2048144789);i=L(i>>>13^i,-1028477387);i=i>>>16^i;g=c+g|0;g=L(g>>>16^g,-2048144789);g=L(g>>>13^g,-1028477387);g=g>>>16^g;c=c+d|0;c=L(c>>>16^c,-2048144789);c=L(c>>>13^c,-1028477387);d=c>>>16^c;c=(((h>>>16^h)+i|0)+g|0)+d|0;d=c+d|0;D[b+32|0]=G[(d&15)+94528|0];D[b+25|0]=G[(d>>>28|0)+94528|0];g=c+g|0;D[b+24|0]=G[(g&15)+94528|0];D[b+31|0]=G[(d>>>4&15)+94528|0];D[b+30|0]=G[(d>>>8&15)+94528|0];D[b+29|0]=G[(d>>>12&15)+94528|0];D[b+28|0]=G[(d>>>16&15)+94528|0];D[b+27|0]=G[(d>>>20&15)+94528|0];D[b+26|0]=G[(d>>>24&15)+94528|0];D[b+23|0]=G[(g>>>4&15)+94528|0];D[b+22|0]=G[(g>>>8&15)+94528|0];D[b+21|0]=G[(g>>>12&15)+94528|0];D[b+20|0]=G[(g>>>16&15)+94528|0];D[b+19|0]=G[(g>>>20&15)+94528|0];D[b+18|0]=G[(g>>>24&15)+94528|0];d=c+i|0;D[b+16|0]=G[(d&15)+94528|0];D[b+17|0]=G[(g>>>28|0)+94528|0];D[b+15|0]=G[(d>>>4&15)+94528|0];D[b+14|0]=G[(d>>>8&15)+94528|0];D[b+13|0]=G[(d>>>12&15)+94528|0];D[b+12|0]=G[(d>>>16&15)+94528|0];D[b+11|0]=G[(d>>>20&15)+94528|0];D[b+10|0]=G[(d>>>24&15)+94528|0];D[b+9|0]=G[(d>>>28|0)+94528|0];D[b+8|0]=G[(c&15)+94528|0];D[b+7|0]=G[(c>>>4&15)+94528|0];D[b+6|0]=G[(c>>>8&15)+94528|0];D[b+5|0]=G[(c>>>12&15)+94528|0];D[b+4|0]=G[(c>>>16&15)+94528|0];D[b+3|0]=G[(c>>>20&15)+94528|0];D[b+2|0]=G[(c>>>24&15)+94528|0];D[b+1|0]=G[(c>>>28|0)+94528|0]}F[a+720>>2]=f}Ga=e+48|0;return f|0}function jk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Ga-16|0;Ga=k;c=F[a+1008>>2];d=0;a:{if((c|0)<0){break a}b:{c:{while(1){d=F[a+4>>2];c=(c<<2)+a|0;F[a+72>>2]=L(d,E[c+946>>1]);c=E[c+944>>1];F[a+40>>2]=0;F[a+44>>2]=0;F[a+84>>2]=0;h=F[a+24>>2];F[a+36>>2]=h;E[a+78>>1]=0;F[a+80>>2]=h;g=F[a+28>>2]-32|0;F[a+32>>2]=g;F[a+68>>2]=L(c,d);F[h+8>>2]=h;E[a+76>>1]=0;d:{e:{f:{g:{h:{if(E[a+120>>1]<=0){break h}e=F[a+8>>2];f=F[a+132>>2];c=0;q=0;while(1){F[a+88>>2]=0;F[a+92>>2]=0;d=F[a+12>>2];j=F[a+124>>2];l=c&65535;c=j+(l<<3)|0;g=L(d,F[c+4>>2])-e|0;i=L(d,F[c>>2])-e|0;r=q<<1;h=H[r+f>>1];m=j+(h<<3)|0;f=L(d,F[m+4>>2])-e|0;d=L(d,F[m>>2])-e|0;i:{if(!b){j=i;i=g;g=d;d=f;break i}j=g;g=f}f=l;l=F[a+128>>2];e=f+l|0;f=G[e|0];if(f&4){D[a+164|0]=f>>>5;f=G[e|0]}f=f&3;j:{if((f|0)==3){break j}k:{switch(f-1|0){case 0:break j;case 1:break b;default:break k}}l:{if((G[h+l|0]&3)==1){m=m-8|0;j=g;break l}d=(d+i|0)/2|0;j=(g+j|0)/2|0}i=d;e=e-1|0;c=c-8|0}F[a+64>>2]=i;F[a+60>>2]=j;m:{if(c>>>0>>0){while(1){h=e+1|0;g=c+8|0;n:{o:{p:{switch(G[e+1|0]&3){case 1:f=F[c+8>>2];d=c;e=h;c=g;l=F[d+12>>2];d=F[a+12>>2];g=F[a+8>>2];l=L(l,d)-g|0;d=L(d,f)-g|0;if(ik(a,b?l:d,b?d:l)){break g}break n;case 0:d=F[a+12>>2];f=F[a+8>>2];e=L(d,F[c+8>>2])-f|0;c=L(d,F[c+12>>2])-f|0;d=b?e:c;f=b?c:e;c=g;while(1){if(c>>>0>=m>>>0){break o}e=F[a+12>>2];g=F[a+8>>2];l=L(e,F[c+8>>2])-g|0;e=L(e,F[c+12>>2])-g|0;g=b?l:e;l=b?e:l;e=h+1|0;c=c+8|0;h=G[h+1|0]&3;if(h){if((h|0)!=1){break b}if(!mg(a,f,d,l,g)){break n}break g}n=mg(a,f,d,(f+l|0)/2|0,(d+g|0)/2|0);h=e;f=l;d=g;if(!n){continue}break};break g;default:break p}}if((G[e+2|0]&3)!=2|c+16>>>0>m>>>0){break b}n=c+24|0;p=F[a+12>>2];o=F[a+8>>2];d=L(p,F[c+16>>2])-o|0;g=L(p,F[c+8>>2])-o|0;h=L(p,F[c+20>>2])-o|0;f=L(p,F[c+12>>2])-o|0;q:{if(!b){l=g;g=f;f=d;d=h;break q}l=f;f=h}if(m>>>0>=n>>>0){h=d;d=L(p,F[c+28>>2])-o|0;c=L(p,F[c+24>>2])-o|0;if(hk(a,l,g,f,h,b?d:c,b?c:d)){break g}e=e+3|0;c=n;break n}if(!hk(a,l,g,f,d,j,i)){break m}break g}if(mg(a,f,d,j,i)){break g}break m}if(c>>>0>>0){continue}break}}if(ik(a,j,i)){break g}}f=F[a+132>>2];j=H[r+f>>1];l=F[a+4>>2];h=l-1|0;i=F[a+64>>2];n=h&i;r:{if(n|(i|0)>2]|(i|0)>F[a+72>>2]){break r}c=F[a+88>>2];if(!c|(H[F[a+80>>2]+12>>1]^H[c+12>>1])&8){break r}F[a+36>>2]=F[a+36>>2]-4}s:{t:{u:{c=F[a+36>>2];d=F[a+80>>2];e=F[d+8>>2];m=(c|0)==(e|0);if(G[d+12|0]&8?m:1){g=c-e|0;if((g|0)>=0){break u}break c}g=c-e|0;if((g|0)<0){break c}e=F[a+8>>2];i=(n|0)>=(e|0);break t}e=F[a+8>>2];if(m){h=c;break s}i=((h+i&0-l)-i|0)>=(e|0)}F[d+16>>2]=g>>>2;if(i){i=H[d+12>>1];E[d+12>>1]=(i&8?16:32)|i}F[a+80>>2]=c;h=c+32|0;F[a+36>>2]=h;F[c+8>>2]=h;F[c+16>>2]=0;F[d+28>>2]=c;E[a+76>>1]=H[a+76>>1]+1}g=F[a+32>>2];if(g>>>0<=h>>>0){break f}D[a+79|0]=0;c=F[a+88>>2];if(c){F[d+28>>2]=c}c=j+1|0;q=q+1|0;if((q|0)>1]){continue}break}q=H[a+76>>1];if(q>>>0<2){break h}m=F[a+84>>2];if(!m){break h}j=F[a+44>>2];o=F[a+28>>2];c=m;while(1){v:{if((q&65535)>>>0>=2){d=F[c+16>>2];l=F[c+8>>2]+(d<<2)|0;F[c+4>>2]=l;break v}l=0;F[c+4>>2]=0;d=F[c+16>>2]}e=F[c+20>>2];w:{if(G[c+12|0]&8){f=e;e=(e+d|0)-1|0;break w}f=(e-d|0)+1|0;F[c+20>>2]=f;F[c+8>>2]=(F[c+8>>2]+(d<<2)|0)-4}p=e;n=0-j|0;r=o-(j<<2)|0;c=j;x:{y:{while(1){i=c;if((c|0)<=0){break y}c=i-1|0;e=r+(c<<2)|0;d=F[e>>2];if((f|0)<(d|0)){continue}break}if((d|0)>=(f|0)){i=j;break x}F[e>>2]=f;if(!c){f=d;break y}e=0;n=c&3;if(n){while(1){c=c-1|0;s=r+(c<<2)|0;f=F[s>>2];F[s>>2]=d;d=f;e=e+1|0;if((n|0)!=(e|0)){continue}break}}if(i-2>>>0<3){break y}while(1){f=r+(c<<2)|0;e=f-8|0;i=F[e+4>>2];e=F[e>>2];F[f-4>>2]=d;d=f-12|0;f=F[d>>2];F[d>>2]=e;F[d+4>>2]=i;c=c-4|0;e=r+(c<<2)|0;d=F[e>>2];F[e>>2]=f;f=d;if(c){continue}break}}g=g-4|0;F[a+32>>2]=g;if(h>>>0>=g>>>0){break f}i=j+1|0;F[a+44>>2]=i;n=j^-1;F[o+(n<<2)>>2]=f}f=p+1|0;n=o+(n<<2)|0;c=i;z:{A:{while(1){j=c;if((c|0)<=0){break A}c=j-1|0;e=n+(c<<2)|0;d=F[e>>2];if((f|0)<(d|0)){continue}break}if((d|0)>(p|0)){j=i;break z}F[e>>2]=f;if(!c){f=d;break A}e=0;p=c&3;if(p){while(1){c=c-1|0;r=n+(c<<2)|0;f=F[r>>2];F[r>>2]=d;d=f;e=e+1|0;if((p|0)!=(e|0)){continue}break}}if(j-2>>>0<3){break A}while(1){f=n+(c<<2)|0;e=f-8|0;j=F[e+4>>2];e=F[e>>2];F[f-4>>2]=d;d=f-12|0;f=F[d>>2];F[d>>2]=e;F[d+4>>2]=j;c=c-4|0;e=n+(c<<2)|0;d=F[e>>2];F[e>>2]=f;f=d;if(c){continue}break}}g=g-4|0;F[a+32>>2]=g;if(h>>>0>=g>>>0){break f}j=i+1|0;F[a+44>>2]=j;F[o+((i^-1)<<2)>>2]=f}c=l;q=q-1|0;if(q&65535){continue}break}if(h>>>0>=g>>>0){break g}F[k+8>>2]=0;F[k+4>>2]=0;F[k>>2]=0;c=F[a>>2];d=F[a+68>>2]>>c;E[k+12>>1]=d;f=F[a+72>>2]>>c;E[k+14>>1]=f;while(1){e=m;c=F[e+20>>2];i=(c+F[e+16>>2]<<16)-65536>>16;if(c<<16>>16>16){E[k+14>>1]=c;f=c}if((i|0)>d<<16>>16){E[k+12>>1]=i;d=i}m=F[e+4>>2];F[e>>2]=0;h=k+8|0;c=F[k+8>>2];B:{if(!c){c=0;break B}if(F[c>>2]>0){break B}C:{while(1){i=c;c=F[c+4>>2];if(c){if(F[c>>2]<=0){continue}break C}break}c=0}h=i+4|0}F[e+4>>2]=c;F[h>>2]=e;if(m){continue}break}D:{if(F[a+44>>2]){Ia[F[a+148>>2]](a,k+14|0,k+12|0);l=E[k+14>>1];e=F[k+8>>2];if(e){c=e;while(1){F[c+24>>2]=F[c+20>>2]-l;c=F[c+4>>2];if(c){continue}break}}g=F[a+44>>2];if((g|0)<=0){break D}if(F[F[a+28>>2]-(g<<2)>>2]==(l|0)){g=g-1|0;F[a+44>>2]=g;if(!g){break D}}c=0;while(1){if(e){j=c<<16>>16;while(1){c=F[e+24>>2];F[e+24>>2]=c-j;f=F[e+4>>2];if((c|0)==(j|0)){c=F[k+8>>2];E:{if(!c){break E}if((c|0)==(e|0)){F[k+8>>2]=f;break E}while(1){d=c;c=F[c+4>>2];if(!c){break E}if((c|0)!=(e|0)){continue}break}F[d+4>>2]=f}i=F[e>>2];F:{if(G[e+12|0]&8){d=k+4|0;c=F[k+4>>2];if(!c){c=0;break F}if((i|0)>2]){break F}G:{while(1){d=c;c=F[c+4>>2];if(c){if((i|0)>=F[c>>2]){continue}break G}break}c=0}d=d+4|0;break F}d=k;c=F[d>>2];if(!c){c=0;break F}if((i|0)>2]){break F}H:{while(1){d=c;c=F[c+4>>2];if(c){if((i|0)>=F[c>>2]){continue}break H}break}c=0}d=d+4|0}F[e+4>>2]=c;F[d>>2]=e}e=f;if(e){continue}break}}e=F[k+4>>2];c=e;I:{if(!c){break I}while(1){d=F[c+8>>2];F[c>>2]=F[d>>2];F[c+16>>2]=F[c+16>>2]-1;F[c+8>>2]=d+(H[c+12>>1]&8?4:-4);c=F[c+4>>2];if(c){continue}break}c=F[e+4>>2];if(!c){break I}h=e+4|0;d=k+4|0;while(1){J:{if(F[e>>2]<=F[c>>2]){e=c;d=h;break J}F[d>>2]=c;F[h>>2]=F[c+4>>2];F[c+4>>2]=e;e=F[k+4>>2];d=k+4|0}h=e+4|0;c=F[e+4>>2];if(c){continue}break}}j=F[k>>2];c=j;K:{if(!c){j=0;break K}while(1){d=F[c+8>>2];F[c>>2]=F[d>>2];F[c+16>>2]=F[c+16>>2]-1;F[c+8>>2]=d+(H[c+12>>1]&8?4:-4);c=F[c+4>>2];if(c){continue}break}e=F[j+4>>2];if(!e){break K}h=j+4|0;d=k;c=j;while(1){L:{if(F[c>>2]<=F[e>>2]){d=h;c=e;break L}F[d>>2]=e;F[h>>2]=F[e+4>>2];F[e+4>>2]=c;d=k;j=F[d>>2];c=j}h=c+4|0;e=F[c+4>>2];if(e){continue}break}}F[a+44>>2]=g-1;r=F[F[a+28>>2]-(g<<2)>>2];s=r<<16>>16;M:{if((s|0)>l<<16>>16){n=j;g=j;i=l;while(1){e=F[k+4>>2];N:{if(!e){break N}q=0;c=e;f=g;if(!f){break N}while(1){O:{P:{h=F[c>>2];m=F[f>>2];d=(h|0)>(m|0)?h:m;h=(h|0)<(m|0)?h:m;m=F[a+4>>2];if((d-h|0)>(m|0)){break P}o=0-m|0;p=o&h;if((p|0)==(h|0)){break P}o=o&(d+m|0)-1;if((o|0)==(d|0)|(o|0)!=(m+p|0)&(o|0)>=(p|0)){break P}if((H[c+12>>1]&7)==2){break O}F[c>>2]=h;F[f>>2]=d;F[c+24>>2]=1;q=q+1|0;break O}Ia[F[a+152>>2]](a,i<<16>>16,h,d,c,f)}c=F[c+4>>2];if(c){f=F[f+4>>2];if(f){continue}}break}c=e;if(q<<16>>16<=0){break N}while(1){if(F[c+24>>2]){F[c+24>>2]=0;Ia[F[a+156>>2]](a,i<<16>>16,F[c>>2],F[g>>2],c,g)}c=F[c+4>>2];if(!c){break N}g=F[g+4>>2];if(g){continue}break}}Ia[F[a+160>>2]](a);i=i+1|0;if((s|0)<=i<<16>>16){break M}c=e;Q:{if(!c){break Q}while(1){d=F[c+8>>2];F[c>>2]=F[d>>2];F[c+16>>2]=F[c+16>>2]-1;F[c+8>>2]=d+(H[c+12>>1]&8?4:-4);c=F[c+4>>2];if(c){continue}break}c=F[e+4>>2];if(!c){break Q}h=e+4|0;d=k+4|0;while(1){R:{if(F[e>>2]<=F[c>>2]){e=c;d=h;break R}F[d>>2]=c;F[h>>2]=F[c+4>>2];F[c+4>>2]=e;e=F[k+4>>2];d=k+4|0}h=e+4|0;c=F[e+4>>2];if(c){continue}break}j=F[k>>2];n=j}f=n;n=0;g=0;c=f;if(!c){continue}while(1){d=F[c+8>>2];F[c>>2]=F[d>>2];F[c+16>>2]=F[c+16>>2]-1;F[c+8>>2]=d+(H[c+12>>1]&8?4:-4);c=F[c+4>>2];if(c){continue}break}h=f+4|0;d=k;n=f;g=f;c=f;e=F[c+4>>2];if(!e){continue}while(1){S:{if(F[c>>2]<=F[e>>2]){d=h;c=e;break S}F[d>>2]=e;F[h>>2]=F[e+4>>2];F[e+4>>2]=c;d=k;j=F[d>>2];f=j;c=f}h=c+4|0;e=F[c+4>>2];if(e){continue}break}n=f;g=f;continue}}e=F[k+4>>2];i=l}T:{c=e;if(!c){break T}while(1){d=F[c+4>>2];U:{if(F[c+16>>2]|!e){break U}if((c|0)==(e|0)){F[k+4>>2]=d;break U}while(1){f=e;e=F[e+4>>2];if(!e){break U}if((c|0)!=(e|0)){continue}break}F[f+4>>2]=d}if(!d){break T}e=F[k+4>>2];c=d;continue}}V:{if(!j){break V}while(1){d=j;j=F[d+4>>2];W:{if(F[d+16>>2]){break W}c=F[k>>2];if(!c){break W}if((c|0)==(d|0)){F[k>>2]=j;if(!j){break V}continue}while(1){f=c;c=F[c+4>>2];if(!c){break W}if((c|0)!=(d|0)){continue}break}F[f+4>>2]=j;if(!j){break V}continue}if(j){continue}break}}g=F[a+44>>2];if((g|0)<=0){l=i;break D}else{c=r-l|0;e=F[k+8>>2];l=i;continue}}}F[a+40>>2]=20;d=20;break a}if(E[k+12>>1]>16){break e}while(1){Ia[F[a+160>>2]](a);l=(l<<16)+65536>>16;if((l|0)<=E[k+12>>1]){continue}break}break e}F[a+84>>2]=0;if(h>>>0>>0){break e}}if(F[a+40>>2]==98){break f}d=1;break a}F[a+40>>2]=0;c=F[a+1008>>2];d=(c<<2)+a|0;f=d;e=E[d+946>>1];i=E[d+944>>1];d=(e+i|0)/2|0;if(!((c|0)<=6&(d|0)>=(i|0))){F[a+40>>2]=20;F[a+1008>>2]=0;d=20;break a}c=c+1|0;i=(c<<2)+a|0;E[i+946>>1]=e;E[i+944>>1]=d;E[f+946>>1]=d-1;break d}c=F[a+1008>>2]-1|0}F[a+1008>>2]=c;if((c|0)>=0){continue}break}d=0;break a}F[a+40>>2]=99;d=1;break a}F[a+40>>2]=20;d=1}Ga=k+16|0;return d}function Dm(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;m=Ga-32|0;Ga=m;k=F[c+80>>2];g=d+3|0;a:{if(F[c+44>>2]!=1265525857|g>>>0>e>>>0){break a}i=L(d,20)+k|0;if(G[i+12|0]&32|G[i+18|0]!=16){break a}f=d+1|0;j=L(f,20)+k|0;if(G[j+12|0]&32|G[j+18|0]!=4){break a}i=L(d,20)+k|0;if(G[i+52|0]&32){break a}h=i+40|0;if(G[h+18|0]!=6){break a}Kb(c,f,g);F[m+24>>2]=F[j+16>>2];i=F[j+12>>2];F[m+16>>2]=F[j+8>>2];F[m+20>>2]=i;i=F[j+4>>2];F[m+8>>2]=F[j>>2];F[m+12>>2]=i;F[j+16>>2]=F[h+16>>2];i=F[h+12>>2];F[j+8>>2]=F[h+8>>2];F[j+12>>2]=i;i=F[h+4>>2];F[j>>2]=F[h>>2];F[j+4>>2]=i;F[h+16>>2]=F[m+24>>2];i=F[m+20>>2];F[h+8>>2]=F[m+16>>2];F[h+12>>2]=i;i=F[m+12>>2];F[h>>2]=F[m+8>>2];F[h+4>>2]=i}l=F[a>>2];h=F[l+20>>2];b:{c:{d:{e:{f:{g:{if(!(!F[a+80>>2]|e>>>0>>0)){i=e;g=d;h:{i:{switch(h|0){case 0:i=L(d+2|0,20)+k|0;if(G[i+12|0]&32){break h}f=G[i+18|0];if(f>>>0>31){break h}i=e;if(!(1<>2]=F[i>>2];F[m+12>>2]=F[i+20>>2];j:{if((h|0)==1){F[m+16>>2]=F[i+40>>2];h=a+16|0;if(F[h>>2]){break j}break c}F[m+16>>2]=0;h=a+16|0;i=e;if(!F[h>>2]){break d}}f=0;k:{while(1){if(wc(b,H[F[a+12>>2]+(f<<3)>>1],m+8|0,2,G[a+20|0])){break k}f=f+1|0;j=F[h>>2];if(f>>>0>>0){continue}break}if(F[F[a>>2]+20>>2]!=1){break c}i=e;if(!j){break d}f=0;while(1){if(wc(b,H[F[a+12>>2]+(f<<3)>>1],m+8|0,3,G[a+20|0])){break k}f=f+1|0;if(f>>>0>2]){continue}break}break c}n=1;g=d+2|0;if(g>>>0>=e>>>0){i=d;l=F[a>>2];break b}while(1){i=L(g,20)+k|0;if(G[i+12|0]&32){i=d;l=F[a>>2];break b}i=G[i+18|0];if(i>>>0>31|!(1<>>0>i>>>0?e:i;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){i=d;break b}i=L(f,20)+k|0;if(G[i+12|0]&32){i=d;g=f;break b}i=G[i+18|0];if(1<>>0<=31:0){continue}break}i=d;g=f;break b}i=e;g=d;break b}i=d}l=F[a>>2];break b}i=e;l=F[a>>2]}j=0;f=e;l:{m:{switch(F[l+12>>2]){case 1:while(1){h=f;n:{o:{f=f-1|0;l=L(f,20)+k|0;if(G[l+12|0]&32){break o}l=G[l+18|0];if(l>>>0>31|!(1<>>0>=f>>>0){break n}if(G[(L(h,20)+k|0)-22|0]==4){break l}}if(f>>>0>g>>>0){continue}break};break l;case 0:break m;default:break l}}h=n?i:g;r:{if(e>>>0<=g>>>0){i=h;break r}f=g;while(1){i=h;j=L(f,20)+k|0;s:{if(G[j+12|0]&32){break s}h=G[j+18|0];if(h>>>0>31){h=i;break s}if(!(1<>>0<=g>>>0){break s}if(G[j-2|0]==6){break r}}i=h;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>=e>>>0){break l}while(1){j=L(f,20)+k|0;t:{if(G[j+12|0]&32){break t}h=G[j+18|0];if(h>>>0>31|!(1<>>0>2:0;u:{if(d>>>0>=i>>>0){break u}f=d;j=i-f&3;if(j){h=0;while(1){g=L(f,20)+k|0;n=G[g+19|0];D[g+19|0]=n>>>0<3?n:3;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((d^-1)+i>>>0<=2){break u}while(1){h=L(f,20)+k|0;g=G[h+19|0];D[h+19|0]=g>>>0<3?g:3;g=G[h+39|0];D[h+39|0]=g>>>0<3?g:3;g=G[h+59|0];D[h+59|0]=g>>>0<3?g:3;g=G[h+79|0];D[h+79|0]=g>>>0<3?g:3;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(e>>>0>i>>>0){D[(L(i,20)+k|0)+19|0]=4}f=i;v:{while(1){g=f;f=f+1|0;if(f>>>0>=e>>>0){break v}if(G[(L(f,20)+k|0)+18|0]!=7){continue}break}f=g+2|0;if(f>>>0>=e>>>0){break v}while(1){w:{g=L(f,20)+k|0;if(G[g+12|0]&32){break w}g=G[g+18|0];if(g>>>0>31|!(1<>>0>=e>>>0){break x}if(G[(L(f,20)+k|0)+18|0]!=4){continue}break}g=e-1|0;if(g>>>0<=f>>>0){break x}j=F[c+44>>2]!=1265525857;while(1){y:{n=L(g,20)+k|0;z:{if(G[n+12|0]&32){break z}l=G[n+18|0];if(l>>>0>31){break z}if(1<>>0>f>>>0){continue}break x}g=g-1|0;if(g>>>0>f>>>0){continue}break x}break}if((l|0)==4){break x}l=L(f,20)+k|0;F[m+24>>2]=F[l+16>>2];j=F[l+12>>2];F[m+16>>2]=F[l+8>>2];F[m+20>>2]=j;j=F[l+4>>2];F[m+8>>2]=F[l>>2];F[m+12>>2]=j;Cb(l,(L(h,20)+k|0)+40|0,L(g-f|0,20));g=L(g,20)+k|0;F[g+16>>2]=F[m+24>>2];f=F[m+20>>2];F[g+8>>2]=F[m+16>>2];F[g+12>>2]=f;f=F[m+12>>2];F[g>>2]=F[m+8>>2];F[g+4>>2]=f}r=d>>>0>>0;if(r){l=0;f=d;while(1){j=L(f,20)+k|0;g=G[j+18|0];A:{if(!(g>>>0>31|!(1<>>0>=h>>>0){break A}h=h-1|0;g=G[(L(h,20)+k|0)+19|0];if((g|0)==2){continue}break}D[j+19|0]=g;break A}g=G[j+19|0];l=(g|0)==14?l:g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>>0){n=i-1|0;l=0;j=i;while(1){g=j;B:{C:{o=L(f,20)+k|0;if(G[o+12|0]&32){h=G[o+18|0];break C}h=G[o+18|0];if(h>>>0>31|!(1<>>0>=f>>>0){break B}if((i+l|0)-g&1){h=L(h,20)+k|0;if(G[h+19|0]<=13){D[h+19|0]=G[o+19|0]}h=g+2|0}j=f;if((g|0)==(l+n|0)){break B}while(1){g=L(h,20)+k|0;if(G[g+19|0]<=13){D[g+19|0]=G[o+19|0]}if(G[g+39|0]<=13){D[g+39|0]=G[o+19|0]}h=h+2|0;if(h>>>0>>0){continue}break}j=f;break B}j=(h&255)==7?f:g}l=l+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}j=L(d,20)+k|0;p=G[j+15|0];o=d>>>0>=e>>>0;D:{if(o){break D}f=d;i=e-f&3;if(i){h=0;while(1){D[(L(f,20)+k|0)+15|0]=f-d;f=f+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if((d^-1)+e>>>0<3){break D}while(1){g=L(f,20)+k|0;i=f-d|0;D[g+35|0]=i+1;D[g+15|0]=i;D[g+55|0]=i+2;D[g+75|0]=i+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}q=e-d|0;if(q>>>0>=2){l=1;while(1){g=j+L(l,20)|0;h=l;while(1){i=h;if(h){h=i-1|0;if(G[(j+L(h,20)|0)+19|0]>G[g+19|0]){continue}}break}if((i|0)!=(l|0)){F[m+24>>2]=F[g+16>>2];f=F[g+12>>2];F[m+16>>2]=F[g+8>>2];F[m+20>>2]=f;f=F[g+4>>2];F[m+8>>2]=F[g>>2];F[m+12>>2]=f;f=j+L(i,20)|0;Cb(f+20|0,f,L(l-i|0,20));F[f+16>>2]=F[m+24>>2];i=F[m+20>>2];F[f+8>>2]=F[m+16>>2];F[f+12>>2]=i;i=F[m+12>>2];F[f>>2]=F[m+8>>2];F[f+4>>2]=i}l=l+1|0;if((q|0)!=(l|0)){continue}break}}i=e;E:{if(!r){break E}i=d;while(1){if(G[(L(i,20)+k|0)+19|0]==4){break E}i=i+1|0;if((i|0)!=(e|0)){continue}break}i=e}F:{if(!(G[a+4|0]|q>>>0>127)){if(e>>>0<=i>>>0){break F}j=i;while(1){f=G[(L(j,20)+k|0)+15|0];G:{if((f|0)==255){break G}f=d+f|0;g=j;h=g;if((f|0)!=(g|0)){while(1){n=L(f,20)+k|0;l=G[n+15|0];D[n+15|0]=255;g=f>>>0>>0?g:f;h=f>>>0>h>>>0?h:f;f=d+l|0;if((j|0)!=(f|0)){continue}break}}g=g+1|0;f=i>>>0>h>>>0?i:h;if(g-f>>>0<2){break G}Kb(c,f,g)}j=j+1|0;if((j|0)!=(e|0)){continue}break}break F}if(e-i>>>0<2){break F}Kb(c,i,e)}H:{if(o){break H}h=d;g=q&7;if(g){f=0;while(1){D[(L(h,20)+k|0)+15|0]=p;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if((d^-1)+e>>>0>6){while(1){f=L(h,20)+k|0;D[f+35|0]=p;D[f+15|0]=p;D[f+55|0]=p;D[f+75|0]=p;D[f+95|0]=p;D[f+115|0]=p;D[f+135|0]=p;D[f+155|0]=p;h=h+8|0;if((h|0)!=(e|0)){continue}break}}if(!r){break H}f=d;while(1){g=L(f,20)+k|0;if(G[g+19|0]!=1){break H}F[g+4>>2]=F[g+4>>2]|F[a+80>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=F[a+100>>2];n=G[a+4|0];h=n|F[F[a>>2]+24>>2]?h:F[a+92>>2]|h;I:{if(d>>>0>=i>>>0){break I}f=d;l=i-f&3;if(l){g=0;while(1){j=L(f,20)+k|0;F[j+4>>2]=F[j+4>>2]|h;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+i>>>0<=2){break I}while(1){g=L(f,20)+k|0;F[g+4>>2]=F[g+4>>2]|h;F[g+24>>2]=F[g+24>>2]|h;F[g+44>>2]=F[g+44>>2]|h;g=g- -64|0;F[g>>2]=F[g>>2]|h;f=f+4|0;if((i|0)!=(f|0)){continue}break}}f=i+1|0;J:{if(f>>>0>=e>>>0){break J}l=F[a+104>>2]|(F[a+96>>2]|F[a+92>>2]);j=(i^-1)+e&3;if(j){g=0;while(1){h=L(f,20)+k|0;F[h+4>>2]=l|F[h+4>>2];f=f+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((e-i|0)-2>>>0<3){break J}while(1){g=L(f,20)+k|0;F[g+4>>2]=l|F[g+4>>2];F[g+24>>2]=l|F[g+24>>2];F[g+44>>2]=l|F[g+44>>2];g=g- -64|0;F[g>>2]=l|F[g>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}K:{if(!n|F[c+44>>2]!=1147500129){break K}g=d+1|0;if(i>>>0<=g>>>0){break K}f=d;while(1){c=f;f=g;h=L(c,20)+k|0;L:{if(G[h+18|0]!=16){break L}g=L(f,20)+k|0;if(G[g+18|0]!=4){break L}c=c+2|0;if((c|0)!=(i|0)&G[(L(c,20)+k|0)+18|0]==6){break L}F[h+4>>2]=F[h+4>>2]|F[a+92>>2];F[g+4>>2]=F[g+4>>2]|F[a+92>>2]}g=f+1|0;if((i|0)!=(g|0)){continue}break}}M:{if(!F[a+88>>2]|i+2>>>0>=e>>>0){break M}h=F[a+28>>2];while(1){c=L(i,20)+k|0;F[m+8>>2]=F[c+20>>2];F[m+12>>2]=F[c+40>>2];c=i+1|0;N:{O:{if(h){g=i+2|0;f=0;break O}h=0;break N}while(1){if(!wc(b,H[F[a+24>>2]+(f<<3)>>1],m+8|0,2,G[a+32|0])){f=f+1|0;h=F[a+28>>2];if(f>>>0>>0){continue}break N}break}b=L(c,20)+k|0;F[b+4>>2]=F[b+4>>2]|F[a+88>>2];b=L(g,20)+k|0;F[b+4>>2]=F[b+4>>2]|F[a+88>>2];break M}f=i+3|0;i=c;if(e>>>0>f>>>0){continue}break}}h=d+1|0;if(h>>>0>>0){g=d;while(1){f=g;g=h;b=L(g,20)+k|0;P:{if(G[b+12|0]&32){break P}b=G[b+18|0];if((b|0)!=5|!(1<>2]=F[b+4>>2]&(F[a+100>>2]^-1);if(d>>>0>=f>>>0){break P}while(1){b=L(f,20)+k|0;Q:{if(G[b+12|0]&32){break Q}b=G[b+18|0];if(b>>>0>31){break Q}if(1<>2]=F[b+4>>2]&(F[a+100>>2]^-1);if(d>>>0>>0){continue}break}}h=g+1|0;if((h|0)!=(e|0)){continue}break}}Ga=m+32|0}function Gv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=Ga-144|0;Ga=h;e=E[b+2>>1];if(!(!e|!H[b>>1])){Wa(h+8|0,0,128);t=F[c>>2];F[h+24>>2]=t;v=h,w=Va(t,40,0,e,0,h+140|0),F[v+16>>2]=w;o=F[h+140>>2];a:{if(o){break a}f=Va(t,8,0,E[b>>1],0,h+140|0);F[h+20>>2]=f;o=F[h+140>>2];if(o){break a}o=E[b+2>>1];F[h+8>>2]=o;e=E[b>>1];F[h+12>>2]=e;n=F[h+16>>2];if(e){s=e>>>0>1?e:1;p=F[b+12>>2];while(1){u=E[p+(k<<1)>>1];m=n+L(j,40)|0;F[f>>2]=m;q=u+1|0;g=q-j|0;F[f+4>>2]=g;if((j|0)!=(q|0)){F[m>>2]=n+L(u,40);F[m+8>>2]=f;i=m;b:{if(g>>>0<2){break b}l=0;e=m;r=u-j&3;if(r){while(1){F[e+48>>2]=f;i=e+40|0;F[e+4>>2]=i;F[e+40>>2]=e;g=g-1|0;e=i;l=l+1|0;if((r|0)!=(l|0)){continue}break}}if((j^-1)+u>>>0<3){break b}while(1){F[e+48>>2]=f;i=e+40|0;F[e+4>>2]=i;F[e+88>>2]=f;F[e+80>>2]=i;i=e+80|0;F[e+44>>2]=i;F[e+128>>2]=f;F[e+120>>2]=i;i=e+120|0;F[e+84>>2]=i;F[e+168>>2]=f;F[e+160>>2]=i;i=e+160|0;F[e+124>>2]=i;F[e+40>>2]=e;e=i;g=g-4|0;if(g>>>0>1){continue}break}}F[i+4>>2]=m}f=f+8|0;j=q;k=k+1|0;if((s|0)!=(k|0)){continue}break}}p=F[b+4>>2];c:{if(!o){F[h+32>>2]=c;F[h+28>>2]=b;break c}f=0;e=n;while(1){l=(F[e+4>>2]-n|0)/40|0;g=(F[e>>2]-n|0)/40|0;if(!(D[F[b+8>>2]+f|0]&1)){F[e+12>>2]=1}i=p+(f<<3)|0;k=F[i+4>>2];g=p+(g<<3)|0;r=k-F[g+4>>2]|0;j=r>>31;m=F[i>>2];q=m-F[g>>2]|0;g=q>>31;g=(g^q)-g|0;j=(j^r)-j|0;i=(q|0)>=0?2:-2;d:{if(g>>>0>L(j,12)>>>0){break d}i=4;if(j>>>0<=L(g,12)>>>0){break d}i=(r|0)>=0?-1:1}D[e+20|0]=i;g=p+(l<<3)|0;l=F[g+4>>2]-k|0;j=l>>31;k=F[g>>2]-m|0;g=k>>31;g=(g^k)-g|0;m=(j^l)-j|0;j=(k|0)>=0?2:-2;e:{if(g>>>0>L(m,12)>>>0){break e}j=4;if(m>>>0<=L(g,12)>>>0){break e}j=(l|0)>=0?-1:1}D[e+21|0]=j;g=F[e+12>>2];f:{g:{if(g&1){break g}if((i|0)!=(j|0)){break f}if((j|0)!=4){break g}if(!Gl(q,r,k,l)){break f}g=F[e+12>>2]}F[e+12>>2]=g|2}e=e+40|0;f=f+1|0;i=F[h+8>>2];if(f>>>0>>0){continue}break}F[h+32>>2]=c;F[h+28>>2]=b;if(!i){break c}j=i-1|0;f=F[b+4>>2];g=0;e=F[h+16>>2];b=i&3;if(b){while(1){F[e+24>>2]=0;F[e+16>>2]=0;F[e+28>>2]=F[f>>2];F[e+32>>2]=F[f+4>>2];f=f+8|0;e=e+40|0;i=i-1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}if(j>>>0<3){break c}while(1){F[e+24>>2]=0;F[e+16>>2]=0;F[e+28>>2]=F[f>>2];b=F[f+4>>2];F[e- -64>>2]=0;F[e+56>>2]=0;F[e+32>>2]=b;F[e+68>>2]=F[f+8>>2];b=F[f+12>>2];F[e+104>>2]=0;F[e+96>>2]=0;F[e+72>>2]=b;F[e+108>>2]=F[f+16>>2];b=F[f+20>>2];F[e+144>>2]=0;F[e+136>>2]=0;F[e+112>>2]=b;F[e+148>>2]=F[f+24>>2];F[e+152>>2]=F[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}}p=0;if(F[h+12>>2]){while(1){b=F[h+20>>2]+(p<<3)|0;h:{if(I[b+4>>2]<4){break h}b=F[b>>2];e=b;while(1){e=F[e+4>>2];if((b|0)==(e|0)){break h}f=F[e+28>>2];j=F[b+28>>2];i=F[b+32>>2];g=F[e+32>>2];if((f|0)==(j|0)&(i|0)==(g|0)){continue}break}n=g-i|0;q=f-j|0;j=b;while(1){m=j;j=F[j>>2];if((b|0)==(j|0)){break h}k=F[m+28>>2];i=F[j+28>>2];f=F[j+32>>2];g=F[m+32>>2];if((k|0)==(i|0)&(f|0)==(g|0)){continue}i=k-i|0;l=g-f|0;f=Hl(q,n,i,l);if(!f){continue}break}b=m;while(1){n=f;q=l;j=i;k=b;g=0;while(1){r=F[e+32>>2];l=F[e+28>>2];while(1){i:{b=e;e=F[e+4>>2];g=(m|0)==(e|0)?1:g;f=F[e+32>>2];i=F[e+28>>2];if((i|0)!=(l|0)){break i}if((f|0)==(r|0)){continue}}break}i=i-l|0;l=f-r|0;f=Hl(j,q,i,l);if(!f){continue}break}if((f^n)<0){while(1){F[k+12>>2]=F[k+12>>2]|4;k=F[k+4>>2];if((k|0)!=(b|0)){continue}break}F[b+12>>2]=F[b+12>>2]|4}if(!g){continue}break}}p=p+1|0;if(p>>>0>2]){continue}break}}o=wk(h+36|0,a+16|0,a+28|0,t);F[h+140>>2]=o;if(o){break a}o=wk(h+76|0,a+52|0,a- -64|0,t);if(o){break a}a=F[h+32>>2];p=F[a+200>>2];m=c+416|0;r=F[a+404>>2];e=Ua(F[m>>2],r);b=e+32&-64;q=!b|(b|0)==(e|0);if(!q){a=bb(r,b,e);og(F[h+32>>2],(b|0)<(e|0)?p+((p|0)/-50|0)|0:p,a,0,0)}E[h+128>>1]=257;D[h+132|0]=(d|0)!=1;D[h+131|0]=(d|0)==2|(d|0)==4;D[h+130|0]=(d&-2)==2;o=1;l=0;while(1){d=F[h+8>>2];j:{if(!d){break j}f=F[F[h+28>>2]+4>>2];e=F[h+16>>2];if(!(o&1)){i=0;g=d;a=g&3;if(a){while(1){F[e+24>>2]=0;F[e+16>>2]=0;F[e+28>>2]=F[f+4>>2];F[e+32>>2]=F[f>>2];f=f+8|0;e=e+40|0;g=g-1|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}}if(d-1>>>0<3){break j}while(1){F[e+24>>2]=0;F[e+16>>2]=0;F[e+28>>2]=F[f+4>>2];a=F[f>>2];F[e- -64>>2]=0;F[e+56>>2]=0;F[e+32>>2]=a;F[e+68>>2]=F[f+12>>2];a=F[f+8>>2];F[e+104>>2]=0;F[e+96>>2]=0;F[e+72>>2]=a;F[e+108>>2]=F[f+20>>2];a=F[f+16>>2];F[e+144>>2]=0;F[e+136>>2]=0;F[e+112>>2]=a;F[e+148>>2]=F[f+28>>2];F[e+152>>2]=F[f+24>>2];f=f+32|0;e=e+160|0;g=g-4|0;if(g){continue}break}break j}i=0;g=d;a=g&3;if(a){while(1){F[e+24>>2]=0;F[e+16>>2]=0;F[e+28>>2]=F[f>>2];F[e+32>>2]=F[f+4>>2];f=f+8|0;e=e+40|0;g=g-1|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}}if(d-1>>>0<3){break j}while(1){F[e+24>>2]=0;F[e+16>>2]=0;F[e+28>>2]=F[f>>2];a=F[f+4>>2];F[e- -64>>2]=0;F[e+56>>2]=0;F[e+32>>2]=a;F[e+68>>2]=F[f+8>>2];a=F[f+12>>2];F[e+104>>2]=0;F[e+96>>2]=0;F[e+72>>2]=a;F[e+108>>2]=F[f+16>>2];a=F[f+20>>2];F[e+144>>2]=0;F[e+136>>2]=0;F[e+112>>2]=a;F[e+148>>2]=F[f+24>>2];F[e+152>>2]=F[f+28>>2];f=f+32|0;e=e+160|0;g=g-4|0;if(g){continue}break}}b=0;j=F[h+12>>2];k:{if(!j){break k}n=0;i=F[h+20>>2];while(1){b=i+(n<<3)|0;a=F[b>>2];l:{if(!F[b+4>>2]){break l}f=a;while(1){f=F[f>>2];if((a|0)==(f|0)){b=n+1|0;break k}if(F[f+28>>2]==F[a+28>>2]){continue}break}a=F[f+4>>2];e=a;while(1){g=e;while(1){e=F[e+4>>2];if((a|0)==(e|0)){break l}b=F[e+28>>2];k=F[g+28>>2];if((b|0)==(k|0)){continue}break}m:{n:{if((k|0)>F[f+28>>2]){if((b|0)<(k|0)){break n}break m}if((b|0)<=(k|0)){break m}}while(1){F[g+16>>2]=F[g+16>>2]|64;g=F[g+4>>2];if((g|0)!=(e|0)){continue}break}}f=F[e>>2];continue}}b=0;n=n+1|0;if((j|0)!=(n|0)){continue}break}}while(1){if(b>>>0>>0){g=F[h+16>>2];e=L(b,40);a=g+e|0;i=F[a+16>>2];o:{if(!(i&64)){break o}g=e+g|0;e=a;while(1){e=F[e>>2];if((a|0)==(e|0)){break o}j=F[e+32>>2];f=F[g+32>>2];if((j|0)==(f|0)){continue}break}e=a;while(1){e=F[e+4>>2];if((a|0)==(e|0)){break o}g=F[e+32>>2];if((g|0)==(f|0)){continue}break}e=128;if(!((f|0)<(g|0)&(f|0)>(j|0))){e=256;if((f|0)<=(g|0)|(f|0)>=(j|0)){break o}}F[a+16>>2]=e|i}b=b+1|0;continue}break}g=F[h+32>>2];s=(h+8|0)+L(l,40)|0;n=s+28|0;f=F[n>>2];if(f){e=F[s+36>>2];while(1){vk(e,g,l,h+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}g=F[h+32>>2]}a=F[s+60>>2];e=F[a+8>>2];j=F[a>>2];a=_a(32,F[(L(l,204)+g|0)+200>>2]);k=(a|0)<30?a:30;i=o&1?1:2;p:{q:{r:{s:{t:{u:{if(j>>>0>=2){f=F[h+8>>2];if(!f){break s}a=F[e+12>>2];g=a>>>0>>0?a:f;while(1){a=F[e+28>>2];a=a>>>0>>0?a:f;if(a>>>0>g>>>0){b=F[h+16>>2];uk(n,F[e+16>>2],F[e+24>>2]);tk(F[s+32>>2],F[s+40>>2],b+L(g,40)|0,a-g|0,k,i)}j=j-1|0;if(j>>>0<2){break u}f=F[h+8>>2];e=e+16|0;g=a;continue}}if((j|0)!=1){break t}}d=F[h+16>>2];b=F[h+8>>2];a=F[F[s+60>>2]+8>>2];uk(n,F[a>>2],F[a+8>>2]);tk(F[s+32>>2],F[s+40>>2],d,b,k,i)}k=F[h+8>>2];if(!k){break s}e=F[h+16>>2];if(k&1){v:{if(!F[e+24>>2]){break v}a=F[e+16>>2];if(a&16){break v}F[e+16>>2]=a|16}e=e+40|0;f=k-1|0}else{f=k}if((k|0)!=1){while(1){w:{if(!F[e+24>>2]){break w}a=F[e+16>>2];if(a&16){break w}F[e+16>>2]=a|16}x:{if(!F[e- -64>>2]){break x}a=F[e+56>>2];if(a&16){break x}F[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}if(!(l&1)){break q}g=F[h+16>>2];while(1){a=G[g+20|0];y:{z:{if((a|0)==2|(a|0)==254){break z}a=G[g+21|0];if((a|0)==254){break z}if((a|0)!=2){break y}}j=F[g+16>>2];if(j&16){break y}f=F[g+28>>2];i=F[c+412>>2];A:{if(!i){break A}d=F[c+2488>>2];b=0-d|0;e=m;while(1){a=f-F[e+12>>2]|0;if((a|0)<(b|0)){break A}if(!(!G[c+2492|0]&(a|0)>F[c+2484>>2]|(f|0)>(d+F[e+8>>2]|0))){a=F[e+24>>2];j=j|48;F[g+16>>2]=j;F[g+36>>2]=a}e=e+32|0;i=i-1|0;if(i){continue}break}}i=F[c+928>>2];if(!i){break y}e=F[c+2488>>2];d=0-e|0;l=((i<<5)+c|0)+932|0;while(1){a=l;l=a-32|0;b=F[a-24>>2]-f|0;if((b|0)<(d|0)){break y}if(!(!G[c+2492|0]&(b|0)>=F[c+2484>>2]|(f|0)<(F[a-20>>2]-e|0))){a=F[a-4>>2];j=j|48;F[g+16>>2]=j;F[g+36>>2]=a}i=i-1|0;if(i){continue}break}}g=g+40|0;k=k-1|0;if(k){continue}break}break r}if(!(l&1)){break q}}a=h+8|0;sk(a,1);rk(a,1);qk(a,1);g=F[h+8>>2];if(!g){break p}a=F[h+28>>2];d=F[a+8>>2];b=F[a+4>>2];f=0;e=F[h+16>>2];while(1){F[(b+(f<<3)|0)+4>>2]=F[e+36>>2];if(G[e+16|0]&16){a=d+f|0;D[a|0]=G[a|0]|64;g=F[h+8>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break p}a=h+8|0;sk(a,0);rk(a,0);qk(a,0);g=F[h+8>>2];if(!g){break p}a=F[h+28>>2];d=F[a+8>>2];b=F[a+4>>2];f=0;e=F[h+16>>2];while(1){F[b+(f<<3)>>2]=F[e+36>>2];if(G[e+16|0]&16){a=d+f|0;D[a|0]=G[a|0]|32;g=F[h+8>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!q){og(F[h+32>>2],p,r,0,0)}l=1;a=o&1;o=0;if(a){continue}break}}b=F[h+24>>2];a=F[h+100>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h+104>>2]=0;F[h+96>>2]=0;F[h+100>>2]=0;a=F[h+88>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h+88>>2]=0;a=F[h+84>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h+84>>2]=0;F[h+92>>2]=0;F[h+76>>2]=0;F[h+80>>2]=0;a=F[h+60>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h- -64>>2]=0;F[h+56>>2]=0;F[h+60>>2]=0;a=F[h+48>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h+48>>2]=0;a=F[h+44>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h+44>>2]=0;F[h+52>>2]=0;F[h+36>>2]=0;F[h+40>>2]=0;a=F[h+16>>2];if(a){Ia[F[b+8>>2]](b,a)}F[h+16>>2]=0;a=F[h+20>>2];if(a){Ia[F[b+8>>2]](b,a)}}Ga=h+144|0;return o|0}function Bo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=Ga-112|0;Ga=c;F[a>>2]=0;F[a+4>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;D[a+21|0]=0;D[a+22|0]=0;D[a+23|0]=0;D[a+24|0]=0;D[a+25|0]=0;D[a+26|0]=0;D[a+27|0]=0;D[a+28|0]=0;D[a+44|0]=0;F[a+40>>2]=65536;k=Wa(a+48|0,0,84);F[61902]=0;d=fa(683,b|0)|0;e=F[61902];F[61902]=0;w=a+116|0;x=a+104|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((e|0)==1){break k}D[a+44|0]=1;F[a+40>>2]=d;F[61902]=0;b=aa(684,b|0,1128678962)|0;d=F[61902];F[61902]=0;if((d|0)==1){break k}F[61902]=0;o=a+4|0;b=aa(685,o|0,b|0)|0;d=F[61902];F[61902]=0;if((d|0)==1){break k}F[a>>2]=b;F[61902]=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=F[61902];F[61902]=0;if((d|0)==1){break k}F[a+36>>2]=b;D[a+28|0]=0;l=F[b+12>>2];F[a+8>>2]=l;b=F[b+16>>2];f=b+l|0;F[a+12>>2]=f;F[a+32>>2]=0;F[a+4>>2]=0;if(b>>>0>67108862){b=1073741823}else{b=b<<6;b=b>>>0>16384?b:16384;b=b>>>0<1073741823?b:1073741823}F[a+16>>2]=b;F[a+24>>2]=0;d=F[a>>2];if(I[d+16>>2]<5){break g}j=F[d+12>>2];if((j|0)==163632){break g}e=G[j+3|0]|G[j+4|0]<<8;g=(e<<8|e>>>8)&65535;d=G[j+2|0]+j|0;if(e){if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0>>0){break g}b=b-g|0;F[a+16>>2]=b;if((b|0)<=0){break g}}D[c+28|0]=0;F[c+12>>2]=g;F[c+8>>2]=d;b=nb(4744);F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;D[c+24|0]=0;F[c+16>>2]=0;F[c+20>>2]=0;l:{if(!b){F[c+36>>2]=-1;break l}F[c+36>>2]=593;F[c+44>>2]=b;Wa(b,0,4104);F[c+40>>2]=513}b=0;D[c+48|0]=0;d=k;F[d+24>>2]=0;F[d+28>>2]=0;F[d+16>>2]=0;F[d+20>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;F[d>>2]=0;F[d+4>>2]=0;f=G[163632];l=f|256;if((f|0)==12){break j}if(!e){break i}d=1;while(1){e=f;m:{n:{if(b>>>0>=g>>>0){break n}h=F[c+8>>2];e=G[h+b|0];if((e|0)==12){e=l;if(d>>>0>=g>>>0){break n}e=G[d+h|0]|256;b=d}if(b>>>0>=g>>>0){break n}F[c+20>>2]=b+1;break m}D[c+24|0]=1;F[c+20>>2]=g}F[61902]=0;ga(687,e|0,c+8|0,k|0);b=F[61902];F[61902]=0;if((b|0)!=1){if(G[c+28|0]|(G[c+48|0]|G[c+24|0])|F[c+36>>2]<0){break h}b=F[c+20>>2];d=b+1|0;g=F[c+12>>2];if(d>>>0<=g>>>0){continue}break i}break}break b}e=Z()|0;Y()|0;break a}if(!e){break i}d=1;while(1){o:{if(b>>>0>=g>>>0){D[c+24|0]=1;e=65535;break o}p:{f=F[c+8>>2];e=G[f+b|0];q:{if((e|0)==12){e=l;if(d>>>0>=g>>>0){break q}e=G[d+f|0]|256;b=d}if(b>>>0>>0){break p}}D[c+24|0]=1;F[c+20>>2]=g;break o}F[c+20>>2]=b+1}F[61902]=0;ga(687,e|0,c+8|0,k|0);b=F[61902];F[61902]=0;if((b|0)!=1){if(G[c+28|0]|(G[c+48|0]|G[c+24|0])|F[c+36>>2]<0){break h}b=F[c+20>>2];d=b+1|0;g=F[c+12>>2];if(d>>>0<=g>>>0){continue}break i}break}break b}F[c+40>>2]=0;Ta(F[c+44>>2]);l=G[j+2|0];d=G[j+3|0]|G[j+4|0]<<8;b=F[a+72>>2];e=b?b+j|0:163632;F[a+84>>2]=e;b=F[a- -64>>2];b=b?b+j|0:163632;F[a+88>>2]=b;k=F[a+68>>2];F[a+92>>2]=k?k+j|0:163632;k=F[a+76>>2];F[a+96>>2]=k?k+j|0:163632;F[a+80>>2]=(l+((d<<8|d>>>8)&65535)|0)+j;if((e|0)!=163632){F[61902]=0;b=ko(e,o);d=F[61902];F[61902]=0;if((d|0)==1){break e}if(!b){break g}b=F[a+88>>2]}if((b|0)==163632){break g}F[61902]=0;b=xe(b,o);d=F[61902];F[61902]=0;if((d|0)==1){break e}if(!b){break g}b=F[a+80>>2];if((b|0)==163632){break g}F[61902]=0;b=xe(b,o);d=F[61902];F[61902]=0;if((d|0)==1){break e}if(!b){break g}b=F[a+92>>2];if((b|0)==163632){break g}F[61902]=0;b=xe(b,o);d=F[61902];F[61902]=0;if((d|0)==1){break e}if(!b){break g}d=F[a+96>>2];if((d|0)!=163632){b=F[a+92>>2];b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);F[61902]=0;b=jo(d,o,b<<8&16711680|b<<24|(b>>>8&65280|b>>>24));d=F[61902];F[61902]=0;if((d|0)==1){break e}if(!b){break g}}b=F[a+88>>2];b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);F[a+128>>2]=b;if((b|0)!=F[a+40>>2]){break g}b=F[a+92>>2];b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);F[a+100>>2]=b;F[61902]=0;b=aa(691,w|0,b|0)|0;d=F[61902];F[61902]=0;if((d|0)==1){break e}if(!b){break g}if(!F[a+100>>2]){break f}g=F[40908];l=g&255;k=l|256;z=F[40910];A=F[40909];while(1){d=g;b=A;h=z;r:{s:{t:{u:{v:{w:{x:{y:{i=F[a+92>>2];e=G[i|0]|G[i+1|0]<<8|(G[i+2|0]<<16|G[i+3|0]<<24);q=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(q>>>0>n>>>0){h=0;e=0;m=G[i+4|0];z:{if(!m){break z}p=m&3;b=(i+L(n,m)|0)+5|0;d=0;if(m-1>>>0<3){e=0}else{r=m&252;while(1){f=b;b=b+4|0;e=e+4|0;if((r|0)!=(e|0)){continue}break}e=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!p){break z}while(1){e=G[b|0]|e<<8;b=b+1|0;d=d+1|0;if((p|0)!=(d|0)){continue}break}}F[61902]=0;b=Ee(i,n);d=F[61902];F[61902]=0;if((d|0)==1){break y}d=((i+4|0)+L(m,q+1|0)|0)+e|0}A:{switch(b+1|0){default:if(I[a+8>>2]>d>>>0){break g}e=F[a+12>>2];if(e>>>0>>0|e-d>>>0>>0){break g}e=F[a+16>>2]-b|0;F[a+16>>2]=e;if((e|0)<=0){break g}break;case 1:break A;case 0:break g}}D[c+84|0]=0;D[c+80|0]=0;F[c+76>>2]=0;F[c+72>>2]=h;F[c+68>>2]=b;F[c+64>>2]=d;b=nb(4744);F[c+96>>2]=0;F[c+100>>2]=0;F[c+88>>2]=0;F[c+92>>2]=0;B:{if(!b){F[c+92>>2]=-1;break B}F[c+92>>2]=593;F[c+100>>2]=b;Wa(b,0,4104);F[c+96>>2]=513}D[c+104|0]=0;b=F[a+108>>2];F[61902]=0;b=aa(692,x|0,b+1|0)|0;d=F[61902];F[61902]=0;C:{if((d|0)!=1){if(b){break C}F[61614]=F[40914];b=F[40913];F[61612]=F[40912];F[61613]=b;b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;break w}e=Z()|0;Y()|0;break c}b=F[a+112>>2];d=F[a+108>>2];p=F[40914];F[61614]=p;e=F[40913];q=e;r=F[40912];F[61612]=r;F[61613]=e;e=F[40911];u=e;s=F[40910];F[61610]=s;F[61611]=e;e=F[40909];v=e;t=F[40908];F[61608]=t;F[61609]=e;e=b+L(d-1|0,28)|0;if((e|0)!=246432){break x}break w}e=Z()|0;Y()|0;break a}b=e;F[b>>2]=0;F[b+4>>2]=0;F[b+24>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;b=!G[c+80|0];while(1){D:{if(!(b&1)){break D}b=F[c+76>>2];f=b+1|0;h=F[c+68>>2];if(f>>>0>h>>>0){break D}E:{F:{if(b>>>0>>0){i=F[c+64>>2];d=G[i+b|0];if((d|0)==12){b=k;if(f>>>0>=h>>>0){break F}d=G[f+i|0]|256;b=f}if(b>>>0>=h>>>0){b=d;break F}F[c+76>>2]=b+1;break E}D[c+80|0]=1;d=65535;b=l;if((g&255)==12){break E}}D[c+80|0]=1;F[c+76>>2]=h;d=b}F[61902]=0;ga(693,d|0,c- -64|0,e|0);b=F[61902];F[61902]=0;if((b|0)==1){break u}if(G[c+84|0]|(G[c+104|0]|G[c+80|0])){break w}b=1;if(F[c+92>>2]>=0){continue}break w}break}b=F[e+16>>2];h=b?b+j|0:163632;G:{H:{i=F[e+20>>2];switch(i+1|0){case 0:break w;case 1:break G;default:break H}}if(h>>>0>2]){break w}b=F[a+12>>2];if(b>>>0>>0|i>>>0>b-h>>>0){break w}b=F[a+16>>2]-i|0;F[a+16>>2]=b;if((b|0)<=0){break w}}D[c+28|0]=0;F[c+12>>2]=i;F[c+8>>2]=h;b=nb(4744);F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;D[c+24|0]=0;F[c+16>>2]=0;F[c+20>>2]=0;I:{if(!b){F[c+36>>2]=-1;break I}F[c+36>>2]=593;F[c+44>>2]=b;Wa(b,0,4104);F[c+40>>2]=513}D[c+56|0]=0;F[c+52>>2]=0;D[c+48|0]=0;J:{if(I[a+120>>2]<=n>>>0){F[61614]=p;F[61612]=r;F[61613]=q;F[61610]=s;F[61611]=u;F[61608]=t;F[61609]=v;b=246432;break J}b=F[a+124>>2]+L(n,28)|0}F[b+24>>2]=0;F[b+20>>2]=163632;F[b>>2]=0;F[b+4>>2]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;K:{if(I[a+120>>2]<=n>>>0){F[61614]=p;F[61612]=r;F[61613]=q;F[61610]=s;F[61611]=u;F[61608]=t;F[61609]=v;e=246432;break K}e=F[a+124>>2]+L(n,28)|0}F[e+24>>2]=0;F[e+20>>2]=163632;F[e>>2]=0;F[e+4>>2]=0;F[e+16>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;b=!G[c+24|0];L:{while(1){if(!(b&1)){break L}b=F[c+20>>2];f=b+1|0;m=F[c+12>>2];if(f>>>0>m>>>0){break L}M:{N:{if(b>>>0>>0){y=F[c+8>>2];d=G[y+b|0];if((d|0)==12){b=k;if(f>>>0>=m>>>0){break N}d=G[f+y|0]|256;b=f}if(b>>>0>=m>>>0){b=d;break N}F[c+20>>2]=b+1;break M}D[c+24|0]=1;d=65535;b=l;if((g&255)==12){break M}}D[c+24|0]=1;F[c+20>>2]=m;d=b}F[61902]=0;ga(694,d|0,c+8|0,e|0);b=F[61902];F[61902]=0;if((b|0)!=1){if(G[c+28|0]|(G[c+48|0]|G[c+24|0])){break s}b=1;if(F[c+36>>2]>=0){continue}break s}break}break d}if(I[a+120>>2]<=n>>>0){break v}b=F[a+124>>2]+L(n,28)|0;d=F[b+16>>2];d=d?d+(i?h:163632)|0:163632;F[b+20>>2]=d;if((d|0)==163632){break r}break t}F[c+96>>2]=0;Ta(F[c+100>>2]);break g}F[61612]=r;F[61613]=q;F[61614]=p;F[61610]=s;F[61611]=u;F[61608]=t;F[61609]=v;b=246432;if(F[61613]!=163632){break t}break r}e=Z()|0;Y()|0;break c}b=F[b+20>>2];F[61902]=0;b=xe(b,o);d=F[61902];F[61902]=0;if((d|0)==1){break d}if(b){break r}}F[c+40>>2]=0;Ta(F[c+44>>2]);F[c+96>>2]=0;Ta(F[c+100>>2]);break g}F[c+40>>2]=0;Ta(F[c+44>>2]);F[c+96>>2]=0;Ta(F[c+100>>2]);n=n+1|0;if(n>>>0>2]){continue}break}break f}F[c+40>>2]=0;Ta(F[c+44>>2])}F[61902]=0;_(658,a|0);b=F[61902];F[61902]=0;if((b|0)==1){break e}}Ga=c+112|0;return a|0}e=Z()|0;Y()|0;break a}e=Z()|0;Y()|0;F[c+40>>2]=0;Ta(F[c+44>>2])}F[c+96>>2]=0;Ta(F[c+100>>2]);break a}e=Z()|0;Y()|0;F[c+40>>2]=0;Ta(F[c+44>>2])}ho(w);ho(x);F[a+56>>2]=0;Ta(F[a+60>>2]);F[a+60>>2]=0;F[a+52>>2]=0;F[a+56>>2]=0;$(e|0);V()}function tv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=Ga-48|0;Ga=g;p=F[b+100>>2];d=Za(a,0);F[g+36>>2]=d;a:{if(d){break a}F[g+24>>2]=0;F[g+28>>2]=8;F[g+16>>2]=1;F[g+20>>2]=1;F[g+40>>2]=0;h=gb(p,64,g+40|0);b:{c:{d:{d=F[g+40>>2];if(!d){E[h+12>>1]=32767;F[h+36>>2]=g+16;d=F[a+4>>2];F[h+56>>2]=p;F[h+60>>2]=d;F[h+40>>2]=0;F[h+44>>2]=0;F[h+48>>2]=0;F[h+52>>2]=p;r=F[a+28>>2];F[g+44>>2]=0;d=1024;o=Va(r,1,0,1024,0,g+44|0);if(F[g+44>>2]){break d}F[g>>2]=2;D[o|0]=0;i=256;e=0;k=1;e:while(1){m=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){l=Eg(a,e+o|0,m-e|0);j=l+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(j|0)){break j}t=d+o|0;f=D[t|0];if((i|0)==(f|0)){break g}n=d;while(1){k:{s=f&255;switch(s-10|0){case 0:case 3:break i;default:break k}}n=n+1|0;if((n|0)==(j|0)){break j}f=G[o+n|0];continue}}if(!l){break d}if(!d){if(m>>>0<65536){break h}F[g+44>>2]=6;break d}l=j-d|0;Cb(o,d+o|0,l);e=l;j=d;continue f}i=o+n|0;D[i|0]=0;l:{m:{switch(G[t|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(n|0)){break l}q=n-d|0;d=Ia[F[g>>2]](t,q,k,g,h)|0;F[g+44>>2]=d;if((d|0)==-1){d=Ia[F[g>>2]](t,q,k,g,h)|0;F[g+44>>2]=d}if(d){break d}}D[i|0]=f;i=(s|0)==10?13:(s|0)==13?10:256;f=1;d=n+1|0;k=k+1|0;continue}d=m<<1;o=Va(r,1,m,d,o,g+44|0);e=m;if(!F[g+44>>2]){continue e}break d}f=1;d=d+1|0;i=256;continue}}}}e=0;if(!h){break b}break c}if(o){Ia[F[r+8>>2]](r,o)}a=F[g+44>>2];F[g+40>>2]=a;e=F[h+32>>2];n:{if(a){break n}o:{p:{q:{if(e){if(F[e+28>>2]!=8){E[e+32>>1]=H[e+4>>1]}r:{if(!F[F[h+36>>2]>>2]|!(F[e+52>>2]|F[e+64>>2])){break r}a=E[h+12>>1];d=E[h+16>>1]-a|0;if((d|0)!=H[e+4>>1]){E[e+4>>1]=d}if(H[e+8>>1]!=(a&65535)){E[e+8>>1]=a}a=H[h+18>>1];d=a<<16;if((a|0)!=H[e+12>>1]){E[e+12>>1]=a}a=H[h+20>>1];f=a<<16>>16;if((a|0)!=H[e+14>>1]){E[e+14>>1]=a;E[e+10>>1]=0-a}a=f+(d>>16)|0;if((a|0)==H[e+6>>1]){break r}E[e+6>>1]=a}d=F[h>>2];if(d&1){break q}a=F[e+88>>2];if(!a){break c}a=Va(F[e+100>>2],1,a,a+1|0,F[e+84>>2],g+40|0);e=F[h+32>>2];F[e+84>>2]=a;if(F[g+40>>2]){break n}D[a+F[e+88>>2]|0]=0;e=F[h+32>>2];break c}d=F[h>>2];if(!(d&1)){break p}}if(d&32){break o}F[g+40>>2]=185;break n}F[g+40>>2]=3;e=0;break c}F[g+40>>2]=186}kk(e);a=F[h+32>>2];if(a){Ia[F[p+8>>2]](p,a)}e=0;F[h+32>>2]=0}a=F[h+52>>2];if(a){d=F[h+40>>2];if(d){Ia[F[a+8>>2]](a,d)}F[h+48>>2]=0;F[h+52>>2]=0;F[h+40>>2]=0;F[h+44>>2]=0}a=F[h+24>>2];if(a){Ia[F[p+8>>2]](p,a)}F[h+24>>2]=0;if(h){Ia[F[p+8>>2]](p,h)}d=F[g+40>>2]}F[g+36>>2]=d;s:{t:{u:{v:{w:{x:{y:{z:{if((d&255)!=176){if(d){break a}F[b+140>>2]=e;if(!(!(c&65535)|(c|0)<=0)){ng(b);d=6;break a}F[b>>2]=1;F[b+4>>2]=0;F[b+8>>2]=F[b+8>>2]|18;A:{B:{if(!e|!F[e+72>>2]){break B}a=ac(9396,F[e+92>>2]);C:{if(!a){break C}c=F[e+80>>2];if(!c){break C}a=c+(F[a>>2]<<4)|0;if(F[a+4>>2]!=1){break C}a=F[a+12>>2];if(!a){break C}D:{E:{a=G[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break C;case 0:case 10:break D;default:break E}}switch(a-99|0){case 0:case 10:break D;default:break C}}F[b+8>>2]=F[b+8>>2]|4}if(!F[e+72>>2]){break B}a=ac(9539,F[e+92>>2]);if(!a){break B}c=F[e+80>>2];if(!c){break B}a=F[(c+(F[a>>2]<<4)|0)+12>>2];if(!a){break B}u=b,v=nc(p,a,g+36|0),F[u+20>>2]=v;d=F[g+36>>2];if(!d){break A}break a}F[b+20>>2]=0}l=0;F[g>>2]=0;F[b+12>>2]=0;s=F[b+100>>2];t=1;d=F[b+140>>2];if(!d|!F[d+72>>2]){break u}h=0;n=0;a=ac(23829,F[d+92>>2]);F:{if(!a){break F}c=F[d+80>>2];if(!c){break F}a=c+(F[a>>2]<<4)|0;if(F[a+4>>2]!=1){break F}c=F[a+12>>2];if(!c){break F}G:{switch(G[c|0]-73|0){case 0:case 6:case 32:case 38:break G;default:break F}}F[b+12>>2]=F[b+12>>2]|1;n=(G[F[a+12>>2]]&223)==79?24400:24408}if(!F[d+72>>2]){i=0;a=0;k=0;o=0;d=0;m=1;break v}a=0;j=1;c=ac(24015,F[d+92>>2]);k=0;H:{if(!c){break H}f=F[d+80>>2];k=0;if(!f){break H}c=f+(F[c>>2]<<4)|0;k=0;if(F[c+4>>2]!=1){break H}c=F[c+12>>2];k=0;if(!c){break H}k=0;if((G[c|0]|32)!=98){break H}F[b+12>>2]=F[b+12>>2]|2;j=0;k=24415}if(!F[d+72>>2]){break y}i=0;c=ac(23815,F[d+92>>2]);a=0;I:{if(!c){break I}f=F[d+80>>2];a=0;if(!f){break I}c=f+(F[c>>2]<<4)|0;a=0;if(F[c+4>>2]!=1){break I}c=F[c+12>>2];a=0;if(!c){break I}f=G[c|0];a=0;if(!f){break I}a=0;if((f|0)==78){break I}a=0;if((f|0)==110){break I}a=c}if(!F[d+72>>2]){break x}c=ac(12253,F[d+92>>2]);if(!c){break y}d=F[d+80>>2];if(!d){break y}c=d+(F[c>>2]<<4)|0;if(F[c+4>>2]!=1){break x}i=F[c+12>>2];if(!i){break y}c=G[i|0];if(!c|(c|0)==78|(c|0)==110){break z}h=hb(i);d=h+1|0;break w}ng(b);d=2;break a}i=0;d=0;break w}i=0}d=0}if(j){k=0;o=0;m=1;break v}o=hb(k);d=(o+d|0)+1|0;m=0}J:{if(!n){r=0;break J}r=hb(n);d=(r+d|0)+1|0}t=!n;c=!a;if(a){l=hb(a);d=(l+d|0)+1|0}if(d){break s}break t}a=0;o=0;k=0;m=1;n=0;r=0;c=1}d=8;h=7;i=24420}f=gb(s,d,g);F[b+24>>2]=f;d=F[g>>2];if(d){F[g+36>>2]=d;break a}if(i){f=Ya(f,i,h);K:{if(!h){break K}i=0;d=0;if(h-1>>>0>=3){s=h&-4;j=0;while(1){q=d+f|0;if(G[q|0]==32){D[q|0]=45}q=f+(d|1)|0;if(G[q|0]==32){D[q|0]=45}q=f+(d|2)|0;if(G[q|0]==32){D[q|0]=45}q=f+(d|3)|0;if(G[q|0]==32){D[q|0]=45}d=d+4|0;j=j+4|0;if((s|0)!=(j|0)){continue}break}}j=h&3;if(!j){break K}while(1){s=d+f|0;if(G[s|0]==32){D[s|0]=45}d=d+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}f=f+h|0}if(!m){if(F[b+24>>2]!=(f|0)){D[f|0]=32;f=f+1|0}f=Ya(f,k,o)+o|0}if(!t){if(F[b+24>>2]!=(f|0)){D[f|0]=32;f=f+1|0}f=Ya(f,n,r)+r|0}if(!c){if(F[b+24>>2]!=(f|0)){D[f|0]=32;f=f+1|0}a=Ya(f,a,l);L:{if(!l){break L}i=0;d=0;if(l-1>>>0>=3){c=l&-4;j=0;while(1){f=a+d|0;if(G[f|0]==32){D[f|0]=45}f=a+(d|1)|0;if(G[f|0]==32){D[f|0]=45}f=a+(d|2)|0;if(G[f|0]==32){D[f|0]=45}f=a+(d|3)|0;if(G[f|0]==32){D[f|0]=45}d=d+4|0;j=j+4|0;if((c|0)!=(j|0)){continue}break}}c=l&3;if(!c){break L}while(1){f=a+d|0;if(G[f|0]==32){D[f|0]=45}d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}f=a+l|0}D[f|0]=0;d=F[g>>2];F[g+36>>2]=d;if(d){break a}a=F[e+48>>2];F[b+28>>2]=1;F[b+16>>2]=a+1;a=Va(p,16,0,1,0,g+36|0);F[b+32>>2]=a;d=F[g+36>>2];if(d){break a}F[a>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;d=F[e+40>>2];if(d-32768>>>0<=4294901760){d=(d|0)<0?-32767:32767;F[e+40>>2]=d}i=F[e+44>>2];if(i-32768>>>0<=4294901760){i=(i|0)<0?-32767:32767;F[e+44>>2]=i}E[a>>1]=d+i;d=ud(e,9648);M:{if(d){d=F[d+12>>2];c=32767;if(d-327666>>>0<4294311965){break M}d=(d+5|0)/10|0;c=d>>31;c=(c^d)-c|0;break M}c=bb(E[a>>1],2,3)}E[a+2>>1]=c;d=ud(e,9820);N:{if(d){d=F[d+12>>2];c=32767;if(d-328899>>>0<4294309499){break N}c=d>>31;c=bb((c^d)-c|0,460800,72270);break N}c=F[e+16>>2];if(c){c=c>>>0>32767?32767:c<<6;break N}c=E[a+2>>1]<<6}F[a+4>>2]=c;c=ud(e,9946);if(c){c=F[c+12>>2];d=c>>31;F[a+12>>2]=c-32768>>>0<4294901761?2097088:(c^d)-d<<6}d=ud(e,10096);d=F[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=2147418112;if(d-32768>>>0<4294901761){break O}c=d>>31;c=(c^d)-c<<16}P:{Q:{R:{S:{d=ud(e,10199);d=F[(d?d+12|0:e+24|0)>>2];if(d){if(d-32768>>>0<4294901761){break S}m=d;d=d>>31;j=(m^d)-d|0;d=F[a+12>>2];if(d){break Q}d=F[a+4>>2];F[a+12>>2]=d;if(!(j&65535)){break P}m=a+12|0;break R}d=F[a+12>>2];if(d){break P}d=F[a+4>>2];F[a+12>>2]=d;break P}j=32767;d=F[a+12>>2];if(d){break Q}d=F[a+4>>2];F[a+12>>2]=d;m=a+12|0}d=bb(d,j&65535,72);F[m>>2]=d}if(!c){break P}f=j&65535;if(!f){break P}d=bb(d,c>>>16|0,f)}F[a+8>>2]=d;a=F[e+56>>2];c=Va(p,8,0,F[e+48>>2],0,g+36|0);F[b+144>>2]=c;d=F[g+36>>2];if(d){break a}F[b+148>>2]=0;f=F[e+48>>2];T:{if(!f){break T}m=F[e+36>>2];d=0;if((f|0)!=1){k=f&-2;n=0;while(1){j=F[(a+L(d,36)|0)+4>>2];l=c+(d<<3)|0;E[l+4>>1]=d;F[l>>2]=j;if((j|0)==(m|0)){F[b+148>>2]=d}j=d|1;l=F[(a+L(j,36)|0)+4>>2];h=c+(j<<3)|0;E[h+4>>1]=j;F[h>>2]=l;if((l|0)==(m|0)){F[b+148>>2]=j}d=d+2|0;n=n+2|0;if((k|0)!=(n|0)){continue}break}}if(!(f&1)){break T}a=F[(a+L(d,36)|0)+4>>2];c=c+(d<<3)|0;E[c+4>>1]=d;F[c>>2]=a;if((a|0)!=(m|0)){break T}F[b+148>>2]=d}U:{a=ud(e,10306);c=ud(e,10470);if(!a|!c|(F[a+4>>2]!=1|F[c+4>>2]!=1)){break U}if(!F[a+12>>2]){break U}c=F[c+12>>2];if(!c){break U}u=b,v=nc(p,c,g+36|0),F[u+132>>2]=v;d=F[g+36>>2];if(d){break a}a=nc(p,F[a+12>>2],g+36|0);F[b+136>>2]=a;d=F[g+36>>2];if(d){break a}V:{W:{X:{Y:{if(!((G[a|0]|32)!=105|(G[a+1|0]|32)!=115|(G[a+2|0]|32)!=111)){a=a+3|0;if(!ab(a,10615)){break Y}if(!ab(a,10750)){if(!ab(F[b+132>>2],10855)){break Y}}if(!ab(a,10950)){break X}}F[g+4>>2]=0;F[g+8>>2]=0;F[g>>2]=b;break V}F[g+4>>2]=0;F[g+8>>2]=0;F[g>>2]=b;break W}a=ab(F[b+132>>2],11060);F[g+4>>2]=0;F[g+8>>2]=0;F[g>>2]=b;if(a){break V}}F[g+4>>2]=1970170211;F[g+8>>2]=65539}d=qc(21632,0,g,0);F[g+36>>2]=d;break a}F[g+4>>2]=1094995778;F[g+8>>2]=7;F[g>>2]=b;d=qc(21632,0,g,0);F[g+36>>2]=d;if(!F[b+36>>2]){break a}F[b+92>>2]=F[F[b+40>>2]>>2]}Ga=g+48|0;return d|0}function gw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ga-80|0;Ga=f;k=F[a+8>>2];a:{if(!k){b=6;break a}m=F[a>>2];g=F[a+4>>2];b:{if(F[g+12>>2]>1){break b}Nc(g);if(F[g+12>>2]>1){break b}c=F[g+8>>2];b=F[g>>2];while(1){if(b>>>0>=c>>>0){break b}e=b+1|0;F[g>>2]=e;h=G[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){c:{F[g+12>>2]=0;e=ne(g);if(e){break c}b=2;if(F[g+12>>2]==2){continue}break a}break}b=2;if((F[g>>2]+(e^-1)|0)!=16){break a}if(cb(e,9081,16)){break a}h=160;d:while(1){d=F[a+4>>2];e:{if(F[d+12>>2]>1){break e}Nc(d);if(F[d+12>>2]>1){break e}c=F[d+8>>2];b=F[d>>2];while(1){if(b>>>0>=c>>>0){break e}e=b+1|0;F[d>>2]=e;g=G[b|0];b=e;if(!(1<>>0>26){continue}break}}f:{while(1){g:{F[d+12>>2]=0;j=ne(d);if(j){break g}if(F[d+12>>2]==2){continue}break f}break}g=F[d>>2]+(j^-1)|0;d=G[j|0];e=0;while(1){h:{i=F[(e<<2)+30768>>2];if((d|0)==G[i|0]){c=e;break h}c=e|1;i=F[(c<<2)+30768>>2];if((d|0)==G[i|0]){break h}e=e+2|0;if((e|0)!=74){continue}continue d}break}b=(c|0)>73?c:73;while(1){if(cb(i,j,g)){if((b|0)==(c|0)){continue d}c=c+1|0;i=F[(c<<2)+30768>>2];if((d|0)==G[i|0]){continue}continue d}break}b=0;i:{j:{k:{l:{switch(c|0){case 40:F[f+32>>2]=3;if((Gc(a,f+32|0,1)|0)!=1){break f}if(!(F[f+36>>2]&-3)){continue}h=7;break f;case 30:F[f>>2]=4;if((Gc(a,f,1)|0)!=1){break f}D[k|0]=G[f+4|0];continue;case 26:F[f+24>>2]=2;F[f+16>>2]=2;F[f+8>>2]=2;F[f>>2]=2;if((Gc(a,f,4)|0)!=4){break f}F[k+4>>2]=F[f+4>>2];F[k+8>>2]=F[f+12>>2];F[k+12>>2]=F[f+20>>2];F[k+16>>2]=F[f+28>>2];continue;case 0:F[f>>2]=2;if((Gc(a,f,1)|0)!=1){break f}F[k+20>>2]=F[f+4>>2];continue;case 14:F[f>>2]=2;if((Gc(a,f,1)|0)!=1){break f}F[k+24>>2]=F[f+4>>2];continue;case 45:F[f+32>>2]=3;if((Gc(a,f+32|0,1)|0)!=1){break f}h=F[f+36>>2];if((h|0)<=0){break i}m:while(1){j=F[a+4>>2];n:{if(F[j+12>>2]>1){break n}Nc(j);if(F[j+12>>2]>1){break n}c=F[j+8>>2];e=F[j>>2];while(1){if(c>>>0<=e>>>0){break n}b=e+1|0;F[j>>2]=b;g=G[e|0];e=b;if(!(1<>>0>26){continue}break}}e=F[j>>2];d=F[j+8>>2];if(e>>>0>>0){g=h-1|0;F[j+12>>2]=0;while(1){c=1;b=e+1|0;F[j>>2]=b;o:{switch(G[e|0]-9|0){default:p:{q:{r:{while(1){c=3;if(b>>>0>=d>>>0){break q}e=b;b=b+1|0;F[j>>2]=b;s:{switch(G[e|0]-9|0){case 0:case 23:break p;case 17:break q;case 50:break r;case 1:case 4:break s;default:continue}}break}c=2;break q}c=1}F[j+12>>2]=c}b=(h|0)>1;h=g;if(b){continue m}break i;case 0:case 23:e=b;if((b|0)!=(d|0)){continue}break k;case 50:break j;case 17:break k;case 1:case 4:break o}}F[j+12>>2]=0;e=b;if(b>>>0>>0){continue}break}break k}break};F[j+12>>2]=3;b=160;break a;case 20:break a;case 49:break l;default:continue}}t:while(1){d=F[a+4>>2];u:{if(F[d+12>>2]>1){break u}Nc(d);if(F[d+12>>2]>1){break u}c=F[d+8>>2];e=F[d>>2];while(1){if(c>>>0<=e>>>0){break u}b=e+1|0;F[d>>2]=b;h=G[e|0];e=b;if(!(1<>>0>26){continue}break}}F[d+12>>2]=0;c=3;v:{w:{e=F[d>>2];g=F[d+8>>2];x:{if(e>>>0>=g>>>0){break x}while(1){b=e+1|0;F[d>>2]=b;y:{switch(G[e|0]-9|0){case 0:case 23:e=b;if((b|0)!=(g|0)){continue}break x;default:z:{A:{B:{while(1){h=3;c=b;if(b>>>0>=g>>>0){break A}b=c+1|0;F[d>>2]=b;C:{switch(G[c|0]-9|0){case 0:case 23:break z;case 17:break A;case 50:break B;case 1:case 4:break C;default:continue}}break}h=2;break A}h=1}F[d+12>>2]=h}h=(e^-1)+b|0;g=G[e|0];b=0;while(1){i=F[(b<<2)+30768>>2];if((g|0)==G[i|0]){c=b;break w}c=b|1;i=F[(c<<2)+30768>>2];if((g|0)==G[i|0]){break w}b=b+2|0;if((b|0)!=74){continue}break};continue t;case 50:c=1;break x;case 17:break x;case 1:case 4:break y}}F[d+12>>2]=0;e=b;if(b>>>0>>0){continue}break}}F[d+12>>2]=c;break v}b=(c|0)>73?c:73;while(1){if(cb(i,e,h)){if((b|0)==(c|0)){continue t}c=c+1|0;i=F[(c<<2)+30768>>2];if((g|0)==G[i|0]){continue}continue t}break}b=0;h=160;D:{switch(c-20|0){case 33:l=F[a+8>>2];F[f+32>>2]=3;if((Gc(a,f+32|0,1)|0)!=1){break v}b=F[f+36>>2];if((b|0)<0){break v}F[l+32>>2]=b;if(b){n=l,o=Va(F[a>>2],20,0,b,0,f+32|0),F[n+28>>2]=o;h=F[f+32>>2];if(h){break f}}h=-1;E:while(1){d=F[a+4>>2];F:{if(F[d+12>>2]>1){break F}Nc(d);if(F[d+12>>2]>1){break F}c=F[d+8>>2];b=F[d>>2];while(1){if(b>>>0>=c>>>0){break F}e=b+1|0;F[d>>2]=e;g=G[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){G:{F[d+12>>2]=0;j=ne(d);if(j){break G}if(F[d+12>>2]==2){continue}break v}break}g=F[d>>2]+(j^-1)|0;d=G[j|0];e=0;while(1){H:{i=F[(e<<2)+30768>>2];if((d|0)==G[i|0]){c=e;break H}c=e|1;i=F[(c<<2)+30768>>2];if((d|0)==G[i|0]){break H}e=e+2|0;if((e|0)!=74){continue}continue E}break}b=(c|0)>73?c:73;while(1){if(cb(i,j,g)){if((b|0)==(c|0)){continue E}c=c+1|0;i=F[(c<<2)+30768>>2];if((d|0)==G[i|0]){continue}continue E}break}I:{switch(c-20|0){case 36:h=h+1|0;if((h|0)>=F[l+32>>2]){break v}b=F[l+28>>2];F[f+64>>2]=2;F[f+56>>2]=2;F[f+48>>2]=2;F[f+40>>2]=2;F[f+32>>2]=3;if((Gc(a,f+32|0,5)|0)!=5){break v}b=b+L(h,20)|0;F[b>>2]=F[f+36>>2];F[b+4>>2]=F[f+44>>2];F[b+8>>2]=F[f+52>>2];F[b+12>>2]=F[f+60>>2];F[b+16>>2]=F[f+68>>2];continue;default:if((c|0)==75){continue}break v;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break v;case 0:case 1:case 3:break I}}break};F[l+32>>2]=h+1;continue;case 0:case 1:break a;case 55:continue;case 30:case 31:break D;default:break f}}l=F[a+8>>2];F[f+32>>2]=3;if((Gc(a,f+32|0,1)|0)!=1){break v}b=F[f+36>>2];if((b|0)<0){break v}F[l+40>>2]=b;if(b){n=l,o=Va(F[a>>2],16,0,b,0,f+32|0),F[n+36>>2]=o;h=F[f+32>>2];if(h){break f}}h=-1;J:while(1){d=F[a+4>>2];K:{if(F[d+12>>2]>1){break K}Nc(d);if(F[d+12>>2]>1){break K}c=F[d+8>>2];b=F[d>>2];while(1){if(b>>>0>=c>>>0){break K}e=b+1|0;F[d>>2]=e;g=G[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){L:{F[d+12>>2]=0;j=ne(d);if(j){break L}if(F[d+12>>2]==2){continue}break v}break}g=F[d>>2]+(j^-1)|0;d=G[j|0];e=0;while(1){M:{i=F[(e<<2)+30768>>2];if((d|0)==G[i|0]){c=e;break M}c=e|1;i=F[(c<<2)+30768>>2];if((d|0)==G[i|0]){break M}e=e+2|0;if((e|0)!=74){continue}continue J}break}b=(c|0)>73?c:73;while(1){if(cb(i,j,g)){if((b|0)==(c|0)){continue J}c=c+1|0;i=F[(c<<2)+30768>>2];if((d|0)==G[i|0]){continue}continue J}break}if((c|0)==75){continue}b=c-20|0;if(b>>>0>17){break v}b=1<=F[l+40>>2]){break v}b=F[l+36>>2];F[f+56>>2]=3;F[f+48>>2]=3;F[f+40>>2]=5;F[f+32>>2]=5;d=Gc(a,f+32|0,4);if((d|0)<3){break v}g=b+(h<<4)|0;F[g>>2]=F[f+36>>2];F[g+4>>2]=F[f+44>>2];b=0;e=F[f+52>>2];if((c|0)!=37){b=e;e=(c|0)==34?(d|0)==4?F[f+60>>2]:0:0}F[g+12>>2]=e;F[g+8>>2]=b;continue}break}b=h+1|0;F[l+40>>2]=b;Dd(F[l+36>>2],b,16,37);continue}break}h=160;break f}c=3}F[j+12>>2]=c;b=160;break a}N:while(1){d=F[a+4>>2];O:{if(F[d+12>>2]>1){break O}Nc(d);if(F[d+12>>2]>1){break O}c=F[d+8>>2];e=F[d>>2];while(1){if(c>>>0<=e>>>0){break O}b=e+1|0;F[d>>2]=b;h=G[e|0];e=b;if(!(1<>>0>26){continue}break}}P:{Q:{R:{e=F[d>>2];g=F[d+8>>2];if(e>>>0>>0){F[d+12>>2]=0;while(1){c=1;b=e+1|0;F[d>>2]=b;S:{switch(G[e|0]-9|0){default:T:{U:{V:{while(1){h=3;c=b;if(b>>>0>=g>>>0){break U}b=c+1|0;F[d>>2]=b;W:{switch(G[c|0]-9|0){case 0:case 23:break T;case 17:break U;case 50:break V;case 1:case 4:break W;default:continue}}break}h=2;break U}h=1}F[d+12>>2]=h}h=(e^-1)+b|0;g=G[e|0];b=0;while(1){i=F[(b<<2)+30768>>2];if((g|0)==G[i|0]){c=b;break P}c=b|1;i=F[(c<<2)+30768>>2];if((g|0)==G[i|0]){break P}b=b+2|0;if((b|0)!=74){continue}break};continue N;case 0:case 23:e=b;if((b|0)!=(g|0)){continue}break R;case 50:break Q;case 17:break R;case 1:case 4:break S}}F[d+12>>2]=0;e=b;if(b>>>0>>0){continue}break}break R}F[d+12>>2]=3;b=160;break a}c=3}F[d+12>>2]=c;b=160;break a}b=(c|0)>73?c:73;while(1){if(cb(i,e,h)){if((b|0)==(c|0)){continue N}c=c+1|0;i=F[(c<<2)+30768>>2];if((g|0)==G[i|0]){continue}continue N}break}h=0;if(!((c|0)==20^(c|0)==17)){continue}break}continue}break}a=F[k+28>>2];if(a){Ia[F[m+8>>2]](m,a)}F[k+28>>2]=0;F[k+32>>2]=0;a=F[k+36>>2];if(a){Ia[F[m+8>>2]](m,a)}F[k+36>>2]=0;F[k+40>>2]=0;D[k|0]=0;b=h}Ga=f+80|0;return b|0}function WB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=M(0),g=0,h=M(0),i=0,j=M(0),k=M(0),l=0,m=M(0),n=0,o=0,p=0,q=M(0),r=0,s=M(0),t=0,u=M(0);r=Ga-16|0;Ga=r;c=D[b|0]&1;j=J[b+8>>2];k=J[b+4>>2];a:{if(!G[a+8|0]){if(c){D[a+8|0]=1;J[a+16>>2]=j;J[a+12>>2]=k;g=F[a+4>>2];c=F[a>>2];i=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(!e){e=db(d);c=F[a>>2];d=F[c+16>>2]}h=M(M(k*M(i|0))/M(e>>>0));e=g+16|0;f=M(j*M(F[c+24>>2]));c=F[d+28>>2];if(!c){c=db(d)}f=M(f/M(c>>>0));d=F[g+12>>2];c=F[g+8>>2];if(G[g+4|0]){if(F[e>>2]){k=J[g+20>>2];j=J[g+24>>2];if(!(k==J[g+28>>2]&j==J[g+32>>2])){Ia[F[c+16>>2]](c,d,e,k,j,F[c+36>>2])}Ia[F[c+28>>2]](c,d,e,F[c+48>>2]);F[e+8>>2]=0;F[e>>2]=0;F[e+4>>2]=0}J[g+32>>2]=f;J[g+28>>2]=h;break a}rh(c,d,e,M(M(f*J[g>>2])+h),f);break a}if(G[a+20|0]){D[a+32|0]=1;D[a+8|0]=1;J[a+40>>2]=j;J[a+36>>2]=k;f=J[a+28>>2];f=M(M(M(j-f)*M(.5))+f);J[a+16>>2]=f;h=J[a+24>>2];h=M(M(M(k-h)*M(.5))+h);J[a+12>>2]=h;g=F[a+4>>2];c=F[a>>2];i=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(!e){e=db(d);c=F[a>>2];d=F[c+16>>2]}h=M(M(h*M(i|0))/M(e>>>0));e=g+16|0;f=M(f*M(F[c+24>>2]));c=F[d+28>>2];if(!c){c=db(d)}f=M(f/M(c>>>0));d=F[g+12>>2];c=F[g+8>>2];if(G[g+4|0]){if(F[e>>2]){k=J[g+20>>2];j=J[g+24>>2];if(!(k==J[g+28>>2]&j==J[g+32>>2])){Ia[F[c+16>>2]](c,d,e,k,j,F[c+36>>2])}Ia[F[c+28>>2]](c,d,e,F[c+48>>2]);F[e+8>>2]=0;F[e>>2]=0;F[e+4>>2]=0}J[g+32>>2]=f;J[g+28>>2]=h;break a}rh(c,d,e,M(M(f*J[g>>2])+h),f);break a}D[a+20|0]=1;J[a+28>>2]=j;J[a+24>>2]=k;break a}if(G[a+32|0]){if(c){f=J[a+36>>2];i=F[a+4>>2];c=F[a>>2];n=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(!e){e=db(d);c=F[a>>2];d=F[c+16>>2]}h=J[a+40>>2];o=F[c+24>>2];g=F[d+28>>2];if(!g){g=db(d);c=F[a>>2];d=F[c+16>>2]}p=F[c+20>>2];l=F[d+28>>2];if(!l){l=db(d);c=F[a>>2];d=F[c+16>>2]}t=F[c+24>>2];c=F[d+28>>2];if(!c){c=db(d)}m=M(M(f*M(n|0))/M(e>>>0));h=M(M(h*M(o|0))/M(g>>>0));k=M(M(k*M(p|0))/M(l>>>0));d=i+16|0;f=M(M(j*M(t|0))/M(c>>>0));e=F[i+12>>2];c=F[i+8>>2];b:{if(G[i+4|0]){if(!F[d>>2]){Ia[F[c+12>>2]](c,e,d,J[i+28>>2],J[i+32>>2],F[c+32>>2]);F[i+16>>2]=1;g=F[i+32>>2];F[i+20>>2]=F[i+28>>2];F[i+24>>2]=g}Ia[F[c+20>>2]](c,e,d,m,h,k,f,F[c+40>>2]);J[i+32>>2]=f;J[i+28>>2]=k;break b}j=J[i>>2];_d(c,e,d,M(M(h*j)+m),h,M(M(f*j)+k),f)}D[a+32|0]=0;break a}h=J[a+40>>2];q=J[a+36>>2];u=M(k-q);i=F[a+4>>2];c=F[a>>2];n=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(e){f=h}else{e=db(d);c=F[a>>2];d=F[c+16>>2];f=J[a+40>>2]}o=F[c+24>>2];g=F[d+28>>2];if(!g){g=db(d);c=F[a>>2];d=F[c+16>>2]}p=F[c+20>>2];l=F[d+28>>2];if(!l){l=db(d);c=F[a>>2];d=F[c+16>>2]}t=F[c+24>>2];c=F[d+28>>2];if(!c){c=db(d)}s=M(M(q*M(n|0))/M(e>>>0));m=M(M(f*M(o|0))/M(g>>>0));q=M(M(M(M(u*M(.5))+q)*M(p|0))/M(l>>>0));d=i+16|0;f=M(M(M(M(M(j-h)*M(.5))+h)*M(t|0))/M(c>>>0));e=F[i+12>>2];c=F[i+8>>2];c:{if(G[i+4|0]){if(!F[d>>2]){Ia[F[c+12>>2]](c,e,d,J[i+28>>2],J[i+32>>2],F[c+32>>2]);F[i+16>>2]=1;g=F[i+32>>2];F[i+20>>2]=F[i+28>>2];F[i+24>>2]=g}Ia[F[c+20>>2]](c,e,d,s,m,q,f,F[c+40>>2]);J[i+32>>2]=f;J[i+28>>2]=q;break c}h=J[i>>2];_d(c,e,d,M(M(m*h)+s),m,M(M(f*h)+q),f)}D[a+32|0]=1;c=G[r+13|0]|G[r+14|0]<<8;D[a+33|0]=c;D[a+34|0]=c>>>8;D[a+35|0]=G[r+15|0];J[a+40>>2]=j;J[a+36>>2]=k;break a}if(c){g=F[a+4>>2];c=F[a>>2];i=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(!e){e=db(d);c=F[a>>2];d=F[c+16>>2]}h=M(M(k*M(i|0))/M(e>>>0));e=g+16|0;f=M(j*M(F[c+24>>2]));c=F[d+28>>2];if(!c){c=db(d)}f=M(f/M(c>>>0));d=F[g+12>>2];c=F[g+8>>2];if(G[g+4|0]){if(!F[e>>2]){Ia[F[c+12>>2]](c,d,e,J[g+28>>2],J[g+32>>2],F[c+32>>2]);F[g+16>>2]=1;i=F[g+32>>2];F[g+20>>2]=F[g+28>>2];F[g+24>>2]=i}Ia[F[c+16>>2]](c,d,e,h,f,F[c+36>>2]);J[g+32>>2]=f;J[g+28>>2]=h;break a}so(c,d,e,M(M(f*J[g>>2])+h),f);break a}D[a+32|0]=1;J[a+40>>2]=j;J[a+36>>2]=k}if(G[b+12|0]){d:{e:{f:{g:{if(G[a+20|0]){if(G[a+32|0]){h=J[a+40>>2];q=J[a+28>>2];k=J[a+36>>2];s=M(J[a+24>>2]-k);b=F[a+4>>2];d=F[a>>2];i=F[d+20>>2];e=F[d+16>>2];g=F[e+28>>2];if(g){f=h}else{g=db(e);d=F[a>>2];e=F[d+16>>2];f=J[a+40>>2]}n=F[d+24>>2];l=F[e+28>>2];if(!l){l=db(e);d=F[a>>2];e=F[d+16>>2]}o=F[d+20>>2];c=F[e+28>>2];if(!c){c=db(e);d=F[a>>2];e=F[d+16>>2]}p=F[d+24>>2];d=F[e+28>>2];if(!d){d=db(e)}m=M(M(k*M(i|0))/M(g>>>0));j=M(M(f*M(n|0))/M(l>>>0));k=M(M(M(M(s*M(.5))+k)*M(o|0))/M(c>>>0));e=b+16|0;f=M(M(M(M(M(q-h)*M(.5))+h)*M(p|0))/M(d>>>0));d=F[b+12>>2];c=F[b+8>>2];h:{if(G[b+4|0]){if(!F[e>>2]){Ia[F[c+12>>2]](c,d,e,J[b+28>>2],J[b+32>>2],F[c+32>>2]);F[b+16>>2]=1;g=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=g}Ia[F[c+20>>2]](c,d,e,m,j,k,f,F[c+40>>2]);J[b+32>>2]=f;J[b+28>>2]=k;break h}h=J[b>>2];_d(c,d,e,M(M(j*h)+m),j,M(M(f*h)+k),f)}D[a+32|0]=0;b=G[a+20|0]}else{b=1}c=G[a+8|0];if(!(c?b&255:0)){if(c){break g}if(!(b&255)){break d}f=J[a+24>>2];b=F[a>>2];c=F[b+20>>2];d=F[b+16>>2];e=F[d+28>>2];if(!e){break f}b=c;break e}f=J[a+24>>2];b=F[a+4>>2];d=F[a>>2];i=F[d+20>>2];e=F[d+16>>2];g=F[e+28>>2];if(!g){g=db(e);d=F[a>>2];e=F[d+16>>2]}h=J[a+28>>2];n=F[d+24>>2];l=F[e+28>>2];if(!l){l=db(e);d=F[a>>2];e=F[d+16>>2]}j=J[a+12>>2];o=F[d+20>>2];c=F[e+28>>2];if(!c){c=db(e);d=F[a>>2];e=F[d+16>>2]}m=J[a+16>>2];p=F[d+24>>2];d=F[e+28>>2];if(!d){d=db(e)}k=M(M(f*M(i|0))/M(g>>>0));h=M(M(h*M(n|0))/M(l>>>0));j=M(M(j*M(o|0))/M(c>>>0));e=b+16|0;f=M(M(m*M(p|0))/M(d>>>0));d=F[b+12>>2];c=F[b+8>>2];if(G[b+4|0]){if(!F[e>>2]){Ia[F[c+12>>2]](c,d,e,J[b+28>>2],J[b+32>>2],F[c+32>>2]);F[b+16>>2]=1;g=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=g}Ia[F[c+20>>2]](c,d,e,k,h,j,f,F[c+40>>2]);J[b+32>>2]=f;J[b+28>>2]=j;break d}m=J[b>>2];_d(c,d,e,M(M(h*m)+k),h,M(M(f*m)+j),f);break d}b=G[a+8|0];if(!(!G[a+32|0]|!b)){f=J[a+36>>2];b=F[a+4>>2];d=F[a>>2];i=F[d+20>>2];e=F[d+16>>2];g=F[e+28>>2];if(!g){g=db(e);d=F[a>>2];e=F[d+16>>2]}h=J[a+40>>2];n=F[d+24>>2];l=F[e+28>>2];if(!l){l=db(e);d=F[a>>2];e=F[d+16>>2]}j=J[a+12>>2];o=F[d+20>>2];c=F[e+28>>2];if(!c){c=db(e);d=F[a>>2];e=F[d+16>>2]}m=J[a+16>>2];p=F[d+24>>2];d=F[e+28>>2];if(!d){d=db(e)}k=M(M(f*M(i|0))/M(g>>>0));h=M(M(h*M(n|0))/M(l>>>0));j=M(M(j*M(o|0))/M(c>>>0));e=b+16|0;f=M(M(m*M(p|0))/M(d>>>0));d=F[b+12>>2];c=F[b+8>>2];if(G[b+4|0]){if(!F[e>>2]){Ia[F[c+12>>2]](c,d,e,J[b+28>>2],J[b+32>>2],F[c+32>>2]);F[b+16>>2]=1;g=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=g}Ia[F[c+20>>2]](c,d,e,k,h,j,f,F[c+40>>2]);J[b+32>>2]=f;J[b+28>>2]=j;break d}m=J[b>>2];_d(c,d,e,M(M(h*m)+k),h,M(M(f*m)+j),f);break d}if(!b){break d}}f=J[a+12>>2];b=F[a+4>>2];d=F[a>>2];c=F[d+20>>2];e=F[d+16>>2];g=F[e+28>>2];if(!g){g=db(e);d=F[a>>2];e=F[d+16>>2]}j=J[a+16>>2];i=F[d+24>>2];d=F[e+28>>2];if(!d){d=db(e)}h=M(M(f*M(c|0))/M(g>>>0));e=b+16|0;f=M(M(j*M(i|0))/M(d>>>0));d=F[b+12>>2];c=F[b+8>>2];if(G[b+4|0]){if(!F[e>>2]){Ia[F[c+12>>2]](c,d,e,J[b+28>>2],J[b+32>>2],F[c+32>>2]);F[b+16>>2]=1;g=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=g}Ia[F[c+16>>2]](c,d,e,h,f,F[c+36>>2]);J[b+32>>2]=f;J[b+28>>2]=h;break d}so(c,d,e,M(M(f*J[b>>2])+h),f);break d}e=db(d);b=F[a>>2];d=F[b+16>>2];b=F[b+20>>2]}h=M(e>>>0);j=J[a+28>>2];e=F[d+28>>2];if(!e){e=db(d)}h=M(M(f*M(c|0))/h);c=F[a+4>>2];d=c+16|0;f=M(M(j*M(b|0))/M(e>>>0));e=F[c+12>>2];b=F[c+8>>2];i:{if(G[c+4|0]){if(F[d>>2]){k=J[c+20>>2];j=J[c+24>>2];if(!(k==J[c+28>>2]&j==J[c+32>>2])){Ia[F[b+16>>2]](b,e,d,k,j,F[b+36>>2])}Ia[F[b+28>>2]](b,e,d,F[b+48>>2]);F[d+8>>2]=0;F[d>>2]=0;F[d+4>>2]=0}J[c+32>>2]=f;J[c+28>>2]=h;break i}rh(b,e,d,M(M(f*J[c>>2])+h),f)}b=F[a+4>>2];d=b+16|0;e=F[b+12>>2];c=F[b+8>>2];if(G[b+4|0]){if(!F[d>>2]){Ia[F[c+12>>2]](c,e,d,J[b+28>>2],J[b+32>>2],F[c+32>>2]);F[b+16>>2]=1;g=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=g}Ia[F[c+20>>2]](c,e,d,h,f,h,f,F[c+40>>2]);J[b+32>>2]=f;J[b+28>>2]=h;break d}h=M(M(f*J[b>>2])+h);_d(c,e,d,h,f,h,f)}D[a+32|0]=0;F[a+28>>2]=F[a+40>>2];b=F[a+36>>2];F[a+20>>2]=F[a+32>>2];F[a+24>>2]=b;F[a+16>>2]=F[a+40>>2];b=F[a+36>>2];F[a+8>>2]=F[a+32>>2];F[a+12>>2]=b;a=F[a+4>>2];b=a+16|0;if(F[a+16>>2]){d=F[a+12>>2];c=F[a+8>>2];h=J[a+20>>2];f=J[a+24>>2];if(!(h==J[a+28>>2]&f==J[a+32>>2])){Ia[F[c+16>>2]](c,d,b,h,f,F[c+36>>2])}Ia[F[c+28>>2]](c,d,b,F[c+48>>2])}F[b>>2]=0;F[b+4>>2]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0}Ga=r+16|0}function CA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=F[c+80>>2];l=39;h=1;a=0;m=F[c+68>>2];b=!m;while(1){a:{b:{c:{if(!b){a=G[l+135040|0]==10?g:a;d=l<<1;f=E[d+134e3>>1]+132640|0;b=D[l+134288|0];l=G[(i+L(g,20)|0)+18|0];j=G[d+132352|0];if(l>>>0>=j>>>0){b=l>>>0>G[d+132353|0]?b:l-j|0}b=G[b+f|0];break c}if((l|0)==39){break b}g=m;b=E[(l<<1)+134752>>1]-1|0}l=G[b+134432|0];b=D[b+134592|0];d:{if(!b){break d}e:{switch(b-1|0){case 1:e=g+1|0;break d;case 10:e=g+1|0;f:{if(e>>>0<=a>>>0){break f}f=h<<4|5;b=0;d=a;j=g-d|0;o=j+1&7;if(o){while(1){D[(i+L(d,20)|0)+15|0]=f;d=d+1|0;b=b+1|0;if((o|0)!=(b|0)){continue}break}}if(j>>>0<=6){break f}while(1){b=i+L(d,20)|0;D[b+35|0]=f;D[b+15|0]=f;D[b+55|0]=f;D[b+75|0]=f;D[b+95|0]=f;D[b+115|0]=f;D[b+135|0]=f;D[b+155|0]=f;b=d+7|0;d=d+8|0;if((b|0)!=(g|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 12:g:{if(a>>>0>=g>>>0){break g}b=h<<4;e=0;d=a;f=g-d&7;if(f){while(1){D[(i+L(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break g}while(1){e=i+L(d,20)|0;D[e+35|0]=b;D[e+15|0]=b;D[e+55|0]=b;D[e+75|0]=b;D[e+95|0]=b;D[e+115|0]=b;D[e+135|0]=b;D[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 13:h:{if(a>>>0>=g>>>0){break h}b=h<<4|1;e=0;d=a;f=g-d&7;if(f){while(1){D[(i+L(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break h}while(1){e=i+L(d,20)|0;D[e+35|0]=b;D[e+15|0]=b;D[e+55|0]=b;D[e+75|0]=b;D[e+95|0]=b;D[e+115|0]=b;D[e+135|0]=b;D[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 16:i:{if(a>>>0>=g>>>0){break i}b=h<<4|2;e=0;d=a;f=g-d&7;if(f){while(1){D[(i+L(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break i}while(1){e=i+L(d,20)|0;D[e+35|0]=b;D[e+15|0]=b;D[e+55|0]=b;D[e+75|0]=b;D[e+95|0]=b;D[e+115|0]=b;D[e+135|0]=b;D[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 18:j:{if(a>>>0>=g>>>0){break j}b=h<<4|3;e=0;d=a;f=g-d&7;if(f){while(1){D[(i+L(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break j}while(1){e=i+L(d,20)|0;D[e+35|0]=b;D[e+15|0]=b;D[e+55|0]=b;D[e+75|0]=b;D[e+95|0]=b;D[e+115|0]=b;D[e+135|0]=b;D[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 14:k:{if(a>>>0>=g>>>0){break k}b=h<<4|4;e=0;d=a;f=g-d&7;if(f){while(1){D[(i+L(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break k}while(1){e=i+L(d,20)|0;D[e+35|0]=b;D[e+15|0]=b;D[e+55|0]=b;D[e+75|0]=b;D[e+95|0]=b;D[e+115|0]=b;D[e+135|0]=b;D[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 15:l:{if(a>>>0>=g>>>0){break l}b=h<<4|5;e=0;d=a;f=g-d&7;if(f){while(1){D[(i+L(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break l}while(1){e=i+L(d,20)|0;D[e+35|0]=b;D[e+15|0]=b;D[e+55|0]=b;D[e+75|0]=b;D[e+95|0]=b;D[e+115|0]=b;D[e+135|0]=b;D[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 0:g=e-1|0;m:{if(a>>>0>=e>>>0){break m}f=h<<4;d=0;b=a;j=e-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:g=e-1|0;n:{if(a>>>0>=e>>>0){break n}f=h<<4|1;d=0;b=a;j=e-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break n}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 6:g=e-1|0;o:{if(a>>>0>=e>>>0){break o}f=h<<4|2;d=0;b=a;j=e-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 7:g=e-1|0;p:{if(a>>>0>=e>>>0){break p}f=h<<4|3;d=0;b=a;j=e-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 3:g=e-1|0;q:{if(a>>>0>=e>>>0){break q}f=h<<4|4;d=0;b=a;j=e-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break q}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 5:r:{switch(k-1|0){case 0:g=e-1|0;s:{if(a>>>0>=e>>>0){break s}f=h<<4;d=0;b=a;k=e-b&7;if(k){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break s}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}k=1;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 4:g=e-1|0;t:{if(a>>>0>=e>>>0){break t}f=h<<4|4;d=0;b=a;k=e-b&7;if(k){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break t}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}k=5;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 5:break r;default:break d}}g=e-1|0;u:{if(a>>>0>=e>>>0){break u}f=h<<4|5;d=0;b=a;k=e-b&7;if(k){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break u}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}k=6;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 17:k=1;e=g+1|0;break d;case 4:e=g+1|0;k=5;break d;case 11:break e;default:break d}}e=g+1|0;k=6}a=G[l+135184|0]==9?0:a;g=g+1|0;if((m|0)!=(g|0)){break a}b=1;continue}v:{i=F[c+68>>2];if(!i){break v}a=i-1|0;g=0;b=F[c+80>>2];d=G[b+15|0];while(1){w:{if((a|0)==(g|0)){g=i;break w}g=g+1|0;if((d|0)==G[(b+L(g,20)|0)+15|0]){continue}}break}if(!i){break v}f=F[c+80>>2];b=0;l=i;while(1){m=g;k=g>>>0>l>>>0?l:g;j=k-b|0;x:{if(j>>>0<2){break x}e=F[c+144>>2]|32;F[c+144>>2]=e;if(b>>>0>=k>>>0){break x}g=-1;a=b;o=k+(b^-1)|0;if(o>>>0>=3){p=j&-4;d=0;while(1){h=f+L(a,20)|0;n=F[h+8>>2];g=g>>>0>>0?g:n;n=F[h+28>>2];g=g>>>0>>0?g:n;n=F[h+48>>2];g=g>>>0>>0?g:n;h=F[h+68>>2];g=g>>>0>>0?g:h;a=a+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}h=0;d=j&3;if(d){while(1){p=F[(f+L(a,20)|0)+8>>2];g=g>>>0

>>0?g:p;a=a+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(j&1){a=f+L(b,20)|0;if(F[a+8>>2]!=(g|0)){F[c+144>>2]=e;F[a+4>>2]=F[a+4>>2]|3}b=b+1|0}if(!o){break x}while(1){a=f+L(b,20)|0;if(F[a+8>>2]!=(g|0)){e=e|32;F[c+144>>2]=e;F[a+4>>2]=F[a+4>>2]|3}a=f+L(b+1|0,20)|0;if(F[a+8>>2]!=(g|0)){e=e|32;F[c+144>>2]=e;F[a+4>>2]=F[a+4>>2]|3}b=b+2|0;if((k|0)!=(b|0)){continue}break}}a=m+1|0;a=a>>>0>>0?l:a;b=G[(f+L(m,20)|0)+15|0];g=m;while(1){y:{g=g+1|0;if(l>>>0<=g>>>0){g=a;break y}if((b|0)==G[(f+L(g,20)|0)+15|0]){continue}}break}if(i>>>0<=m>>>0){break v}l=F[c+68>>2];b=m;continue}}return}b=0;continue}}function Wn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{f:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}if(F[b+12>>2]!=1){break b}d=G[a+2|0]|G[a+3|0]<<8;c=163632;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0;break d}if(F[b+12>>2]!=1){break b}d=G[a+2|0]|G[a+3|0]<<8;c=163632;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0}return(qb(c,F[F[b+8>>2]>>2])|0)!=-1;case 1:if((G[a|0]|G[a+1|0]<<8)!=256|F[b+12>>2]!=1){break b}break a;case 2:if((G[a|0]|G[a+1|0]<<8)!=256|F[b+12>>2]!=1){break b}break a;case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=G[a+2|0]|G[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=qb(c,F[F[b+8>>2]>>2]);g:{if((c|0)==-1){break g}f=163632;e=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((e<<8|e>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=G[f|0]|G[f+1|0]<<8;if(!a){break g}e=(a<<8|a>>>8)&65535;c=f+2|0;a=F[b+12>>2];if(a>>>0<2){while(1){b=G[c|0]|G[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=163632}b=G[b+2|0]|G[b+3|0]<<8;d=((b<<8|b>>>8)&65535)==(a|0);if(d){break g}c=c+2|0;e=e-1|0;if(e){continue}break g}}i=F[b+8>>2];while(1){h=163632;b=G[c|0]|G[c+1|0]<<8;if(b){h=((b<<8|b>>>8)&65535)+f|0}h:{b=G[h+2|0]|G[h+3|0]<<8;if((a|0)!=((b<<8|b>>>8)&65535)){break h}b=G[h+4|0]|G[h+5|0]<<8;if(F[i+4>>2]!=((b<<8|b>>>8)&65535)){break h}b=1;while(1){g=b+1|0;if((g|0)!=(a|0)){j=b<<1;b=g;j=a>>>0>b>>>0?(h+j|0)+4|0:163632;j=G[j|0]|G[j+1|0]<<8;if(F[i+(b<<2)>>2]==((j<<8|j>>>8)&65535)){continue}}break}if(a>>>0>g>>>0){break h}d=1;break g}c=c+2|0;e=e-1|0;if(e){continue}break}}return d;case 4:f=b;b=0;c=a;i:{j:{k:{l:{a=G[a|0]|G[a+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break i}}i=163632;a=G[c+2|0]|G[c+3|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=163632}a=qb(a,F[F[f+8>>2]>>2]);b=G[c+4|0]|G[c+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(c+(a<<1)|0)+6|0:163632;a=G[a|0]|G[a+1|0]<<8;if(a){i=c+((a<<8|a>>>8)&65535)|0}a=G[i|0]|G[i+1|0]<<8;m:{n:{if(a){h=(a<<8|a>>>8)&65535;c=i+2|0;g=F[f+12>>2];while(1){a=G[c|0]|G[c+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+i|0}else{e=163632}a=G[e|0]|G[e+1|0]<<8;a=(a<<8|a>>>8)&65535;o:{if((a|0)!=(g|0)){break o}b=1;if(a>>>0<2){break m}d=1;a=1;j=F[f+8>>2];b=G[e+4|0]|G[e+5|0]<<8;if(F[j+4>>2]!=((b<<8|b>>>8)&65535)){break o}while(1){b=a+1|0;if((b|0)==(g|0)){break n}k=a<<1;a=b;b=e+k|0;b=G[b+4|0]|G[b+5|0]<<8;if(F[j+(a<<2)>>2]==((b<<8|b>>>8)&65535)){continue}break}if(a>>>0>=g>>>0){break n}}c=c+2|0;h=h-1|0;if(h){continue}break}}d=0}b=d}break i}k=F[f+8>>2];a=F[k>>2];p:{q:{r:{s:{d=G[c+4|0]|G[c+5|0]<<8;if(d){g=c+((d<<8|d>>>8)&65535)|0}else{g=163632}d=G[g|0]|G[g+1|0]<<8;m=d<<8|d>>>8;switch((m&65535)-1|0){case 1:break r;case 0:break s;default:break p}}b=a;a=G[g+2|0]|G[g+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=G[g+4|0]|G[g+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(g+(a<<1)|0)+6|0:163632;break q}h=164024;b=G[g+2|0]|G[g+3|0]<<8;t:{if(!b){break t}b=((b<<8|b>>>8)&65535)-1|0;while(1){d=b+e>>>1|0;i=g+L(d,6)|0;j=G[i+4|0]|G[i+5|0]<<8;u:{if(a>>>0>=((j<<8|j>>>8)&65535)>>>0){e=G[i+6|0]|G[i+7|0]<<8;if(a>>>0>((e<<8|e>>>8)&65535)>>>0){e=d+1|0;break u}h=(g+L(d,6)|0)+4|0;break t}b=d-1|0}if((b|0)>=(e|0)){continue}break}}a=h+4|0}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}i=163632;a=G[c+6|0]|G[c+7|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>b>>>0?(c+(b<<1)|0)+8|0:163632;a=G[a|0]|G[a+1|0]<<8;if(a){i=c+((a<<8|a>>>8)&65535)|0}a=G[i|0]|G[i+1|0]<<8;v:{w:{if(a){j=(a<<8|a>>>8)&65535;h=i+2|0;f=F[f+12>>2];while(1){c=163632;a=G[h|0]|G[h+1|0]<<8;if(a){c=((a<<8|a>>>8)&65535)+i|0}a=G[c|0]|G[c+1|0]<<8;a=(a<<8|a>>>8)&65535;x:{if((a|0)!=(f|0)){break x}b=1;if(a>>>0<2){break v}a=F[k+4>>2];b=0;y:{z:{A:{switch((m&65535)-1|0){case 0:b=a;a=G[g+2|0]|G[g+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=G[g+4|0]|G[g+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(g+(a<<1)|0)+6|0:163632;break z;case 1:break A;default:break y}}b=G[g+2|0]|G[g+3|0]<<8;B:{if(b){b=((b<<8|b>>>8)&65535)-1|0;e=0;while(1){l=b+e>>>1|0;d=(g+L(l,6)|0)+4|0;n=G[d|0]|G[d+1|0]<<8;C:{if(a>>>0>=((n<<8|n>>>8)&65535)>>>0){e=G[d+2|0]|G[d+3|0]<<8;if(a>>>0<=((e<<8|e>>>8)&65535)>>>0){break B}e=l+1|0;break C}b=l-1|0}if((b|0)>=(e|0)){continue}break}}d=164024}a=d+4|0}a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)&65535}e=1;a=1;d=b;b=G[c+4|0]|G[c+5|0]<<8;if((d|0)!=((b<<8|b>>>8)&65535)){break x}while(1){b=a+1|0;if((b|0)==(f|0)){break w}d=a<<1;a=b;if(Qn(F[k+(a<<2)>>2],(c+d|0)+4|0,g)){continue}break}if(a>>>0>=f>>>0){break w}}h=h+2|0;j=j-1|0;if(j){continue}break}}e=0}b=e}break i}a=G[c+2|0]|G[c+3|0]<<8;a=a<<8|a>>>8;d=a&65535;if((d|0)!=F[f+12>>2]){break i}b=1;if((a&65535)>>>0<2){break i}g=F[F[f+8>>2]+4>>2];b=0;e=c+8|0;a=G[e|0]|G[e+1|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=163632}if((qb(a,g)|0)==-1){break i}b=1;while(1){D:{a=b+1|0;if((d|0)==(a|0)){a=d;break D}h=F[F[f+8>>2]+(a<<2)>>2];b=e+(b<<1)|0;b=G[b|0]|G[b+1|0]<<8;if(b){g=c+((b<<8|b>>>8)&65535)|0}else{g=163632}b=a;if((qb(g,h)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}return b;case 5:c=0;g=Ga-16|0;Ga=g;E:{F:{G:{H:{d=G[a|0]|G[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break F;case 1:break G;case 0:break H;default:break E}}c=163632;d=G[a+2|0]|G[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}d=qb(d,F[F[b+8>>2]>>2]);e=G[a+4|0]|G[a+5|0]<<8;d=d>>>0<((e<<8|e>>>8)&65535)>>>0?((d<<1)+a|0)+6|0:163632;d=G[d|0]|G[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=F[31228];F[g+8>>2]=F[31227];F[g+12>>2]=a;a=F[31226];F[g>>2]=F[31225];F[g+4>>2]=a;c=Sn(c,b,g);break E}h=Ga-16|0;Ga=h;c=163632;m=163632;d=G[a+4|0]|G[a+5|0]<<8;if(d){m=((d<<8|d>>>8)&65535)+a|0}d=G[a+6|0]|G[a+7|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}d=G[a+8|0]|G[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}i=F[F[b+8>>2]>>2];I:{J:{K:{L:{e=G[c|0]|G[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break I}}e=G[c+2|0]|G[c+3|0]<<8;e=i-((e<<8|e>>>8)&65535)|0;f=G[c+4|0]|G[c+5|0]<<8;e=e>>>0<((f<<8|f>>>8)&65535)>>>0?((e<<1)+c|0)+6|0:163632;break J}j=164024;e=G[c+2|0]|G[c+3|0]<<8;M:{if(!e){break M}f=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){k=e+f>>>1|0;l=L(k,6)+c|0;n=G[l+4|0]|G[l+5|0]<<8;N:{if(i>>>0>=((n<<8|n>>>8)&65535)>>>0){e=G[l+6|0]|G[l+7|0]<<8;if(i>>>0>((e<<8|e>>>8)&65535)>>>0){e=k+1|0;break N}j=(L(k,6)+c|0)+4|0;break M}f=k-1|0}if((e|0)<=(f|0)){continue}break}}e=j+4|0}e=G[e|0]|G[e+1|0]<<8;f=(e<<8|e>>>8)&65535}e=163632;j=((f<<1)+a|0)+12|0;i=f;f=G[a+10|0]|G[a+11|0]<<8;f=i>>>0<((f<<8|f>>>8)&65535)>>>0?j:163632;f=G[f|0]|G[f+1|0]<<8;if(f){e=((f<<8|f>>>8)&65535)+a|0}F[h+12>>2]=d;F[h+8>>2]=c;F[h+4>>2]=m;F[h>>2]=716;c=Sn(e,b,h);Ga=h+16|0;break E}c=b;b=0;e=a;d=a+2|0;a=G[a+2|0]|G[a+3|0]<<8;h=d+(((a<<8|a>>>8)&65535)<<1)|0;f=h+2|0;d=G[f|0]|G[f+1|0]<<8;i=d<<8|d>>>8;d=i&65535;f=(d<<1)+f|0;O:{if((G[c+16|0]?G[f+2|0]|G[f+3|0]<<8|a:0)|(d|0)!=F[c+12>>2]){break O}b=1;if((i&65535)>>>0<2){break O}i=F[F[c+8>>2]+4>>2];b=0;f=h+6|0;a=G[f|0]|G[f+1|0]<<8;if(a){a=e+((a<<8|a>>>8)&65535)|0}else{a=163632}if((qb(a,i)|0)==-1){break O}b=1;while(1){P:{a=b+1|0;if((d|0)==(a|0)){a=d;break P}i=F[F[c+8>>2]+(a<<2)>>2];b=f+(b<<1)|0;b=G[b|0]|G[b+1|0]<<8;if(b){h=e+((b<<8|b>>>8)&65535)|0}else{h=163632}b=a;if((qb(h,i)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}c=b}Ga=g+16|0;return c;case 6:if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;a=Wn(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break c;default:break b}}if((G[a|0]|G[a+1|0]<<8)!=256|F[b+12>>2]!=1){break b}c=G[a+2|0]|G[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}f=(qb(a,F[F[b+8>>2]>>2])|0)!=-1}return f}c=G[a+2|0]|G[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}return(qb(a,F[F[b+8>>2]>>2])|0)!=-1}function Yw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Ga-16|0;Ga=h;a:{b:{d=Za(a,0);if(!d){d=sb(a,30192,b+132|0);if(!d){break b}}F[h+12>>2]=d;break a}F[b+168>>2]=F[b+168>>2]+(F[b+204>>2]<<16);c:{if(!(F[b+132>>2]!=1346785840|I[b+136>>2]>4|I[b+144>>2]<58)){if(F[b+140>>2]==3338){break c}}d=2;F[h+12>>2]=2;break a}g=F[b+152>>2];d=Za(a,g);F[h>>2]=d;d:{e:{if(d){break e}e=fb(a,h);d=F[h>>2];if(d){break e}d=8;if(e>>>0>13106){break e}f=F[a+4>>2];if(L(e,5)+2>>>0>=f-g>>>0){break e}if(f>>>0>L(e,23)+95>>>0){break d}}F[h+12>>2]=d;break a}d=0;F[h+12>>2]=0;F[b>>2]=e;if((c|0)<0){break a}q=c&65535;if(e>>>0<=q>>>0){d=6;F[h+12>>2]=6;break a}i=F[b+204>>2];d=Za(a,F[b+152>>2]);F[h>>2]=d;f:{g:{h:{if(d){break h}c=fb(a,h);d=F[h>>2];if(d){break h}d=6;if(c>>>0<=q>>>0){break h}d=Fb(a,L(q,5));F[h>>2]=d;if(d){break h}e=fb(a,h);d=F[h>>2];if(d){break h}g=0;f=Ga-16|0;Ga=f;F[h>>2]=0;i:{j:{k:{l:{d=F[a+8>>2];if(I[a+4>>2]<=d+2>>>0){break l}c=F[a+20>>2];m:{if(c){if((Ia[c|0](a,d,f+13|0,3)|0)!=3){break l}d=F[a+8>>2];c=f+13|0;break m}c=F[a>>2];if(!c){break k}c=c+d|0}g=G[c+2|0]|(G[c+1|0]<<8|G[c|0]<<16);break j}F[h>>2]=85;break i}g=0}F[a+8>>2]=d+3}Ga=f+16|0;d=F[h>>2];if(d){break h}F[b+240>>2]=e;F[b+244>>2]=g;d=Za(a,g);F[h>>2]=d;if(d){break h}d=tb(a,e);F[h>>2]=d;if(d){break h}n:{if(e>>>0<13){break n}d=F[a+32>>2];f=d+e|0;F[b+248>>2]=G[d+2|0]|(G[d+1|0]<<8|G[d|0]<<16);F[b+252>>2]=G[d+5|0]|(G[d+4|0]<<8|G[d+3|0]<<16);F[b+256>>2]=G[d+8|0]|(G[d+7|0]<<8|G[d+6|0]<<16);F[b+260>>2]=G[d+11|0]|(G[d+10|0]<<8|G[d+9|0]<<16);c=0;e=d+13|0;g=G[d+12|0];j=g&4;if(j){c=g&8?2:1;k=g&3?c:c+3|0}else{k=c}c=g&32;if(f>>>0>31&(c?2:1))|0)>>>0){break n}k=g&16;o:{if(!j){break o}p:{if(g&8){e=G[d+13|0]|G[d+14|0]<<8;j=(e<<8|e>>>8)<<16>>16;e=d+15|0;break p}j=G[d+13|0];e=d+14|0}F[b+268>>2]=j;if(g&3){break o}F[b+276>>2]=G[e+2|0]|(G[e+1|0]<<8|G[e|0]<<16);e=e+3|0}q:{if(!k){c=e;break q}r:{if(c){c=G[e|0]|G[e+1|0]<<8;d=(c<<8|c>>>8)<<16>>16;c=e+2|0;break r}d=G[e|0];c=e+1|0}F[b+272>>2]=d}s:{if(!(g&64)){d=c;break s}d=c+1|0;if(f>>>0>>0){break g}c=G[c|0];if(c){while(1){e=d+2|0;if(e>>>0>f>>>0){break g}d=e+G[d|0]|0;if(f>>>0>>0){break g}c=c-1|0;if(c){continue}break}}F[h>>2]=0}if(f>>>0>>0){break n}c=G[d+1|0]|G[d|0]<<8;F[b+280>>2]=c;F[b+284>>2]=G[d+4|0]|(G[d+3|0]<<8|G[d+2|0]<<16);if(!i){break f}if(f>>>0>>0){break n}F[b+280>>2]=c|G[d+5|0]<<16;break f}F[h>>2]=8;break f}F[h+12>>2]=d;break a}F[h>>2]=8}lb(a);d=F[h>>2];F[h+12>>2]=d;if(d){break a}e=F[b+280>>2];p=F[b+284>>2];l=F[a+28>>2];F[b+428>>2]=b+424;F[b+424>>2]=0;F[b+292>>2]=p;f=b+288|0;F[f>>2]=l;t:{u:{v:{w:{x:{d=Za(a,p);if(d){break x}d=tb(a,e);F[h>>2]=d;if(d){break x}d=F[a+32>>2];F[f+148>>2]=d;if((e|0)<15){break w}F[f+8>>2]=G[d+1|0]|G[d|0]<<8;F[f+12>>2]=G[d+3|0]|G[d+2|0]<<8;F[f+16>>2]=G[d+5|0]|G[d+4|0]<<8;c=G[d+6|0]|G[d+7|0]<<8;F[f+20>>2]=(c<<8|c>>>8)<<16>>16;c=G[d+8|0]|G[d+9|0]<<8;F[f+24>>2]=(c<<8|c>>>8)<<16>>16;c=G[d+10|0]|G[d+11|0]<<8;F[f+28>>2]=(c<<8|c>>>8)<<16>>16;c=G[d+12|0]|G[d+13|0]<<8;F[f+32>>2]=(c<<8|c>>>8)<<16>>16;k=G[d+14|0];F[f+36>>2]=k;r=k&4;if(r){c=d+15|0}else{if(e>>>0<17){break w}c=G[d+15|0]|G[d+16|0]<<8;F[f+40>>2]=(c<<8|c>>>8)<<16>>16;c=d+17|0}j=d+e|0;if(k&128){d=c+1|0;if(j>>>0>>0){break v}g=G[c|0];y:{if(!g){c=d;break y}while(1){e=d+2|0;if(e>>>0>j>>>0){break v}c=e+G[d|0]|0;if(j>>>0>>0){break v}d=G[d+1|0]-1|0;if((d&255)>>>0<=3){d=Ia[F[(d<<24>>24<<2)+30308>>2]](e,c,f)|0;if(d){break u}}d=c;g=g-1|0;if(g){continue}break}}F[h>>2]=0}e=c+3|0;if(j>>>0>>0){break w}d=G[c+2|0]|(G[c+1|0]<<8|G[c|0]<<16);if(d){c=d+e|0;if(c>>>0>j>>>0){break w}m=f+84|0;n=f+88|0;while(1){z:{o=e+4|0;if(o>>>0>c>>>0){break z}i=G[e+1|0]|G[e|0]<<8;if(i>>>0<4|d>>>0>>0){break z}g=d;A:{B:{C:{D:{E:{d=G[e+2|0]|G[e+3|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break C;case 1:break D;case 0:break E;default:break A}}d=Pk(o,i-4|0,l,m);break B}if(i>>>0<36){break A}d=G[e+14|0]|G[e+15|0]<<8;F[f+44>>2]=(d<<8|d>>>8)<<16>>16;d=G[e+16|0]|G[e+17|0]<<8;F[f+48>>2]=(d<<8|d>>>8)<<16>>16;d=G[e+18|0]|G[e+19|0]<<8;F[f+52>>2]=(d<<8|d>>>8)<<16>>16;break A}d=Pk(o,i-4|0,l,n)}F[h>>2]=d;if(d){break x}}e=e+i|0;d=g-i|0;if((g|0)!=(i|0)){continue}}break}e=c}d=e+1|0;if(j>>>0>>0){break w}c=G[e|0];F[f+104>>2]=c;if(j>>>0<(c<<1)+d>>>0){break w}i=Va(l,4,0,c,0,h);F[f+108>>2]=i;if(F[h>>2]){break t}F:{if(!c){break F}o=c&1;G:{if((c|0)==1){e=0;break G}c=c&254;e=0;g=0;while(1){m=e<<2;n=G[d|0]|G[d+1|0]<<8;F[m+i>>2]=(n<<8|n>>>8)<<16>>16;n=i+(m|4)|0;m=G[d+2|0]|G[d+3|0]<<8;F[n>>2]=(m<<8|m>>>8)<<16>>16;e=e+2|0;d=d+4|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}if(!o){break F}c=G[d|0]|G[d+1|0]<<8;F[i+(e<<2)>>2]=(c<<8|c>>>8)<<16>>16;d=d+2|0}e=d+8|0;if(j>>>0>>0){break w}F[f+112>>2]=G[d|0];F[f+116>>2]=G[d+1|0];F[f+68>>2]=G[d+3|0]|G[d+2|0]<<8;F[f+56>>2]=G[d+5|0]|G[d+4|0]<<8;i=G[d+7|0]|G[d+6|0]<<8;F[f+120>>2]=i;F[f+124>>2]=(e+p|0)-F[a+32>>2];p=k>>>3&1;o=k&2;m=k&16;n=k&32;if(j>>>0>>1)+(o?5:4)+(m>>>4)+(n>>>5)|0)+e>>>0){break w}l=Va(l,16,0,i,0,h);F[f+128>>2]=l;if(F[h>>2]|!i){break t}c=0;while(1){H:{if(o){g=G[e+1|0]|G[e|0]<<8;d=e+2|0;break H}g=G[e|0];d=e+1|0}k=l+(c<<4)|0;F[k>>2]=g;I:{if(r){e=G[d|0]|G[d+1|0]<<8;g=(e<<8|e>>>8)<<16>>16;d=d+2|0;break I}g=F[f+40>>2]}F[k+4>>2]=g;d=d+p|0;J:{if(m){g=G[d+1|0]|G[d|0]<<8;d=d+2|0;break J}g=G[d|0];d=d+1|0}F[k+8>>2]=g;K:{if(n){g=G[d+1|0]<<8|G[d|0]<<16;j=2;e=d+3|0;break K}g=G[d|0]<<8;j=1;e=d+2|0}F[k+12>>2]=G[d+j|0]|g;c=c+1|0;if((i|0)!=(c|0)){continue}break}break t}F[h+12>>2]=d;break a}F[h>>2]=8;break t}d=8}F[h>>2]=d}lb(a);e=0;a=F[a+8>>2];F[f+148>>2]=0;F[f+144>>2]=a;d=F[h>>2];F[h+12>>2]=d;if(d){break a}F[b+4>>2]=q;a=F[b+408>>2];F[b+16>>2]=a+1;c=F[b+8>>2]|1;F[b+8>>2]=c;L:{M:{N:{if(!a){break N}d=F[f+128>>2];while(1){if(F[(d+(e<<4)|0)+12>>2]){break N}e=e+1|0;if((a|0)!=(e|0)){continue}break}break M}if((a|0)!=(e|0)){break L}}c=0;if(F[f+92>>2]){break L}d=3;F[h+12>>2]=3;break a}a=F[b+324>>2];d=(a^-1)&4|c|(a&1?32:16);F[b+8>>2]=d;c=F[b+380>>2];if(c){d=d|2;F[b+8>>2]=d}if(F[f+132>>2]){F[b+8>>2]=d|64}d=F[b+372>>2];F[b+20>>2]=d;if(!d){F[b+20>>2]=F[b+368>>2]}F[b+28>>2]=0;F[b+32>>2]=0;F[b+24>>2]=F[b+376>>2];d=F[f+28>>2];e=F[f+32>>2];g=F[f+24>>2];j=F[f+20>>2];i=F[b+300>>2];E[b+68>>1]=i;k=F[b+320>>2];E[b+70>>1]=k;l=F[b+312>>2];E[b+72>>1]=l;F[b+52>>2]=j;F[b+56>>2]=g;F[b+60>>2]=d;F[b+64>>2]=e;d=(k<<16>>16)-(l<<16>>16)|0;e=(L(i&65535,12)>>>0)/10|0;E[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){a=Va(F[F[b+104>>2]+28>>2],16,0,c,0,h+12|0);F[b+32>>2]=a;d=F[h+12>>2];if(d){break a}d=F[f+100>>2];if((c|0)!=1){j=c&-2;e=0;while(1){i=F[d+4>>2];E[a>>1]=i;g=F[d>>2];i=i<<6;F[a+12>>2]=i;F[a+4>>2]=i;E[a+2>>1]=g;F[a+8>>2]=g<<6;i=F[d+40>>2];E[a+16>>1]=i;g=F[d+36>>2];i=i<<6;F[a+28>>2]=i;F[a+20>>2]=i;E[a+18>>1]=g;F[a+24>>2]=g<<6;d=d+72|0;a=a+32|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(c&1){e=F[d+4>>2];E[a>>1]=e;d=F[d>>2];e=e<<6;F[a+12>>2]=e;F[a+4>>2]=e;E[a+2>>1]=d;F[a+8>>2]=d<<6}F[b+28>>2]=c;a=F[b+324>>2]}O:{if(!(a&4)){a=F[f+40>>2];break O}a=F[f+120>>2];if(!a){a=0;break O}g=a&3;d=F[f+128>>2];c=0;P:{if(a-1>>>0<3){a=0;break P}f=a&-4;a=0;e=0;while(1){j=F[d+4>>2];a=(a|0)>(j|0)?a:j;j=F[d+20>>2];a=(a|0)>(j|0)?a:j;j=F[d+36>>2];a=(a|0)>(j|0)?a:j;j=F[d+52>>2];a=(a|0)>(j|0)?a:j;d=d- -64|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}if(!g){break O}while(1){e=F[d+4>>2];a=(a|0)>(e|0)?a:e;d=d+16|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}E[b+76>>1]=a;E[b+78>>1]=H[b+74>>1];a=H[b+68>>1];E[b+82>>1]=(a>>>0)/30;E[b+80>>1]=0-((a>>>0)/10|0);F[h>>2]=b;F[h+4>>2]=1970170211;F[h+8>>2]=65539;d=qc(29996,0,h,0);F[h+12>>2]=d;if(!F[b+420>>2]){break a}F[b+8>>2]=F[b+8>>2]|64}Ga=h+16|0;return d|0}function It(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Ga-240|0;Ga=f;n=1;j=F[b+540>>2];a:{if((d|0)<=0){c=0;break a}m=d&3;b:{if(d-1>>>0<3){c=0;d=0;break b}o=d&-4;c=0;d=0;while(1){i=1;l=d<<3;g=F[l+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}}else{c=1}g=c;c=F[(l|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}i=g}c=1;g=F[(l|16)+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}g=i}else{g=1}i=F[(l|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=g}d=d+4|0;p=p+4|0;if((o|0)!=(p|0)){continue}break}}if(!m){break a}g=c;while(1){i=F[(d<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=g}else{c=1}d=d+1|0;g=c;h=h+1|0;if((m|0)!=(h|0)){continue}break}}c:{if(F[F[b+128>>2]+52>>2]){break c}g=0;d=H[b+152>>1];d:{if(!d){break d}g=F[b+156>>2];e=g+(d<<4)|0;d=g;while(1){if(F[d+12>>2]?F[d>>2]==1735162214:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}d=g;while(1){if(F[d+12>>2]?F[d>>2]==1128678944:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}while(1){if(F[g+12>>2]?F[g>>2]==1128678962:0){break d}g=g+16|0;if(e>>>0>g>>>0){continue}break}g=0}n=(g|0)!=0}d=1;e=Ia[F[b+516>>2]](b,1935829368,a,0)|0;i=(e|0)!=0&n;e:{f:{g:{if(i){break g}h=F[j+68>>2];if(!h){break g}g=0;h=Ia[h|0](b,a)|0;d=(h|0)!=0;if(!e){break g}if(!h){break f}}e=Ia[F[j+24>>2]](b,a)|0;F[f+12>>2]=e;g=d;if(e){break e}}d=Ia[F[b+516>>2]](b,1128418371,a,0)|0;e=Ia[F[b+516>>2]](b,1128416340,a,0)|0;if((H[b+178>>1]-16385&65535)>>>0<=49166){F[f+12>>2]=8;break e}d=i&((d|0)!=0&(e|0)!=0);Ia[F[j+36>>2]](b,a)|0;Ia[F[j+32>>2]](b,a)|0;Ia[F[j+48>>2]](b,a)|0;h=Ia[F[j+44>>2]](b,a)|0;h:{if(!g){e=d;break h}e=Ia[F[j+28>>2]](b,a,0)|0;F[f+12>>2]=e;i:{j:{k:{if(!e){g=Ia[F[j+92>>2]](b,a,0)|0;F[f+12>>2]=g;if((g&255)!=142){break j}F[f+12>>2]=147;e=F[F[b+128>>2]+52>>2];if(!e){break e}if(F[F[e>>2]+8>>2]){break k}break e}if((e&255)!=142){break e}e=0;if(F[b+148>>2]==1953658213){break i}F[f+12>>2]=143;e=F[F[b+128>>2]+52>>2];if(!e|!F[F[e>>2]+8>>2]){break e}}E[b+250>>1]=0;e=d;break i}e=d;if(g){break e}}d=Ia[F[j+28>>2]](b,a,1)|0;F[f+12>>2]=d;l:{m:{if(d){break m}d=Ia[F[j+92>>2]](b,a,1)|0;F[f+12>>2]=d;if(d){break m}D[b+292|0]=1;break l}if((d&255)!=142){break e}}if(!(Ia[F[j+40>>2]](b,a)|0)){break h}E[b+372>>1]=65535}d=F[j+96>>2];if(d){Ia[d|0](b,a)|0}d=F[j+112>>2];if(d){Ia[d|0](b,a)|0;Ia[F[j+116>>2]](b,a)|0}Ia[F[j+64>>2]](b,a)|0;Ia[F[j+60>>2]](b,a)|0;Ia[F[j+56>>2]](b,a)|0;F[b+20>>2]=0;F[b+24>>2]=0;F[b+16>>2]=H[b+264>>1];a=b+24|0;d=b+20|0;n:{if(!(!(D[b+437|0]&1)|H[b+372>>1]==65535)){o:{if(!(c&255)){c=zc(b,16,d);F[f+12>>2]=c;if(c){break e}if(F[d>>2]){break o}}c=zc(b,1,d);F[f+12>>2]=c;if(c){break e}}if(!(k&255)){c=zc(b,17,a);F[f+12>>2]=c;if(c){break e}}if(F[a>>2]){break n}a=zc(b,2,a);F[f+12>>2]=a;if(!a){break n}break e}g=zc(b,21,d);F[f+12>>2]=g;if(g){break e}i=F[d>>2];if(!(i|c&255)){c=zc(b,16,d);F[f+12>>2]=c;if(c){break e}i=F[d>>2]}if(!i){c=zc(b,1,d);F[f+12>>2]=c;if(c){break e}}c=zc(b,22,a);F[f+12>>2]=c;if(c){break e}d=F[a>>2];if(!(d|k&255)){c=zc(b,17,a);F[f+12>>2]=c;if(c){break e}d=F[a>>2]}if(d){break n}a=zc(b,2,a);F[f+12>>2]=a;if(a){break e}}d=F[b+8>>2];a=e|((F[b+872>>2]?0:(F[b+796>>2]&-2)!=2)?d:d|16384);d=a|24;d=h?d:F[b+476>>2]==196608?d:a|536;a=F[b+488>>2]?d|4:d;a=G[b+292|0]?a|32:a;h=F[b+820>>2]?a|64:a;if(D[b+740|0]&1){k=0;a=H[b+152>>1];p:{if(!a){break p}d=F[b+156>>2];a=d+(a<<4)|0;c=d;while(1){q:{if(!(!F[c+12>>2]|F[c>>2]!=1735162214)){c=d;r:{while(1){if(F[c+12>>2]?F[c>>2]==1735811442:0){break r}c=c+16|0;if(a>>>0>c>>>0){continue}break}c=0}h=c?h|256:h;break q}c=c+16|0;if(a>>>0>c>>>0){continue}}break}while(1){if(!(!F[d+12>>2]|F[d>>2]!=1128678962)){k=d;break p}d=d+16|0;if(a>>>0>d>>>0){continue}break}}h=k?h|256:h}F[b+8>>2]=h;s:{if(!(!e|H[b+372>>1]==65535)){a=H[b+436>>1];a=a>>>4&2|(a&513)!=0;break s}a=H[b+204>>1];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a>>>4&252645135|(a&252645135)<<4;a=a>>>2&858993459|(a&858993459)<<2;a=(a>>>1|(a&1073741824)<<1)>>>30|0}F[b+12>>2]=a|F[b+12>>2];c=F[b+508>>2];F[f+232>>2]=c;t:{if(!F[f+232>>2]){break t}a=F[b+512>>2];if(a>>>0<4){break t}F[f+232>>2]=F[f+232>>2]+2;F[f+232>>2]=F[f+232>>2]+2;F[f+236>>2]=G[F[f+232>>2]-1|0]|G[F[f+232>>2]-2|0]<<8;if(!F[f+236>>2]){break t}d=a+c|0;while(1){if(d>>>0>2]+8>>>0){break t}F[f+232>>2]=F[f+232>>2]+2;a=G[F[f+232>>2]-2|0];e=G[F[f+232>>2]-1|0];F[f+232>>2]=F[f+232>>2]+2;E[f+224>>1]=e|a<<8;a=G[F[f+232>>2]-2|0];e=G[F[f+232>>2]-1|0];F[f+232>>2]=F[f+232>>2]+4;F[f+216>>2]=b;F[f+220>>2]=0;E[f+226>>1]=e|a<<8;a=G[F[f+232>>2]-1|0]|(G[F[f+232>>2]-3|0]<<16|G[F[f+232>>2]-4|0]<<24|G[F[f+232>>2]-2|0]<<8);if(!(!a|a>>>0>F[b+512>>2]-2>>>0)){F[f+212>>2]=a+c;a=F[f+212>>2];F[f+208>>2]=G[a+1|0]|G[a|0]<<8;F[f+204>>2]=94960;u:{if(!F[F[f+204>>2]>>2]){break u}while(1){F[f+200>>2]=F[F[f+204>>2]>>2];if(F[F[f+200>>2]+40>>2]==F[f+208>>2]){F[f+20>>2]=0;a=f+24|0;F[a+156>>2]=F[f+212>>2];F[a+160>>2]=d;F[a+164>>2]=0;F[a+168>>2]=0;F[f+196>>2]=H[b+264>>1];e=F[F[f+200>>2]+44>>2];F[61902]=0;a=aa(e|0,F[f+212>>2],a|0)|0;e=F[61902];F[61902]=0;v:{w:{if((e|0)!=1){F[f+20>>2]=a;break w}a=ca(244664)|0;if((Y()|0)!=(pa(244664)|0)){break v}ka(a|0)|0;oa()}if(F[f+192>>2]){break u}if(qc(F[f+200>>2],F[f+212>>2],f+216|0,f+16|0)){break u}F[F[f+16>>2]+20>>2]=F[f+20>>2];break u}$(a|0);V()}F[f+204>>2]=F[f+204>>2]+4;if(F[F[f+204>>2]>>2]){continue}break}}}F[f+236>>2]=F[f+236>>2]-1;if(F[f+236>>2]){continue}break}}g=F[b+36>>2];x:{if((g|0)>0){h=F[b+40>>2];i=0;d=0;while(1){c=F[h+(d<<2)>>2];a=E[c+10>>1];e=95008;y:{z:{A:{B:{switch(H[c+8>>1]){case 0:e=95020;break A;case 1:if(a){break z}e=95032;break A;case 2:break A;case 3:break B;default:break z}}if(!(1151>>>a&1)|a>>>0>=11){break z}e=F[(a<<2)+95912>>2]}a=F[e+8>>2];F[c+4>>2]=a;if((a|0)!=1970170211&(a|0)!=1937337698){break y}i=1;break y}F[c+4>>2]=0}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(i&255){break x}}F[f+24>>2]=b;F[f+28>>2]=1970170211;F[f+32>>2]=65539;a=qc(94432,0,f+24|0,0);F[f+12>>2]=a;C:{if(!a){break C}a=a&255;if((a|0)==163){break C}if((a|0)!=7){break e}}F[f+12>>2]=0}a=F[b+800>>2];D:{if(!a){break D}e=F[F[b+104>>2]+28>>2];k=H[b+178>>1];if(!k|H[b+372>>1]==65535){k=1;c=1}else{c=H[b+374>>1]}q=b,r=Va(e,16,0,a,0,f+12|0),F[q+32>>2]=r;if(F[f+12>>2]){break e}g=Va(e,4,0,a,0,f+12|0);if(F[f+12>>2]){break e}l=k>>>1|0;n=c<<16>>16;h=0;d=0;while(1){c=F[b+32>>2];i=Ia[F[j+108>>2]](b,d,f+24|0)|0;F[f+12>>2]=i;E:{if(i){break E}c=c+(h<<4)|0;E[c>>1]=F[f+44>>2]>>>6;i=H[f+24>>1];F[c+8>>2]=i<<6;E[c+2>>1]=(l+L(i,n)|0)/(k|0);m=H[f+26>>1];o=m<<6;F[c+4>>2]=o;F[c+12>>2]=o;if(!i|!m){break E}F[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}a=Va(e,4,a,h,g,f+12|0);if(!h){break D}F[b+804>>2]=a;F[b+28>>2]=h;F[b+8>>2]=F[b+8>>2]|2}d=F[b+8>>2];if(!(d&3)){d=d|1;F[b+8>>2]=d}if(!(d&1)){break e}E[b+68>>1]=H[b+178>>1];F[b+52>>2]=E[b+196>>1];F[b+56>>2]=E[b+198>>1];F[b+60>>2]=E[b+200>>1];F[b- -64>>2]=E[b+202>>1];d=H[b+372>>1];F:{if(!(!(G[b+436|0]&128)|(d|0)==65535)){a=H[b+442>>1];E[b+70>>1]=a;c=H[b+444>>1];E[b+72>>1]=c;E[b+74>>1]=H[b+446>>1]+(a-c|0);break F}a=H[b+220>>1];E[b+70>>1]=a;c=H[b+222>>1];E[b+72>>1]=c;E[b+74>>1]=H[b+224>>1]+(a-c|0);if(a|c|(d|0)==65535){break F}a=H[b+442>>1];c=H[b+444>>1];if(a|c){E[b+72>>1]=c;E[b+70>>1]=a;E[b+74>>1]=H[b+446>>1]+(a-c|0);break F}a=H[b+448>>1];E[b+70>>1]=a;c=a;a=H[b+450>>1];E[b+74>>1]=c+a;E[b+72>>1]=0-a}E[b+76>>1]=H[b+226>>1];E[b+78>>1]=H[(G[b+292|0]?306:74)+b>>1];a=E[b+486>>1];E[b+82>>1]=a;E[b+80>>1]=H[b+484>>1]+((a|0)/-2|0)}Ga=f+240|0;return F[f+12>>2]}function $f(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0;o=Ga-16|0;Ga=o;q=F[a+736>>2];m=F[a+104>>2];n=F[m+28>>2];F[o+4>>2]=0;s=6;a:{if(!G[a+733|0]|!q){break a}b:{if(!e){break b}f=F[c+4>>2];s=0;if((e|0)!=1){g=e&-2;while(1){j=s<<3;i=j+d|0;t=f+j|0;F[i>>2]=F[t>>2]<<6;F[i+4>>2]=F[t+4>>2]<<6;j=j|8;i=j+d|0;j=f+j|0;F[i>>2]=F[j>>2]<<6;F[i+4>>2]=F[j+4>>2]<<6;s=s+2|0;y=y+2|0;if((g|0)!=(y|0)){continue}break}}if(!(e&1)){break b}j=s<<3;g=j+d|0;f=f+j|0;F[g>>2]=F[f>>2]<<6;F[g+4>>2]=F[f+4>>2]<<6}s=0;if(I[q+68>>2]<=b>>>0){break a}f=F[q+72>>2];j=b+1|0;if(F[f+(b<<2)>>2]==F[f+(j<<2)>>2]){break a}r=Va(n,8,0,e,0,o+12|0);c:{if(F[o+12>>2]){break c}p=Va(n,8,0,e,0,o+12|0);if(F[o+12>>2]){break c}s=Va(n,1,0,e,0,o+12|0);if(F[o+12>>2]){break c}f=F[q+72>>2];j=F[f+(j<<2)>>2];b=F[f+(b<<2)>>2];f=Za(m,b);F[o+12>>2]=f;if(f){break c}b=j-b|0;f=tb(m,b);F[o+12>>2]=f;if(f){break c}j=F[m>>2];g=F[m+32>>2];C=Va(n,4,0,F[q>>2],0,o+12|0);y=0;d:{e:{if(F[o+12>>2]){break e}R=Va(n,4,0,F[q>>2],0,o+12|0);if(F[o+12>>2]){break e}S=Va(n,4,0,F[q>>2],0,o+12|0);if(F[o+12>>2]){break e}f=xb(m);f:{i=xb(m);if(i>>>0<=b>>>0){V=f&4095;if(b>>>0>=V<<2>>>0){break f}}F[o+12>>2]=8;break e}z=i+(g-j|0)|0;if(f&32768){j=F[m+32>>2];b=F[m>>2];f=F[m+36>>2];F[m+32>>2]=f-b>>>0>z>>>0?b+z|0:f;y=Pe(m,F[q+76>>2],o+4|0);g=F[m+32>>2];f=F[m>>2];b=j-b|0;j=F[m+36>>2];F[m+32>>2]=b>>>0>>0?f+b|0:j;z=g-f|0}J=Va(n,4,0,e,0,o+12|0);g:{if(F[o+12>>2]){break g}K=Va(n,4,0,e,0,o+12|0);if(F[o+12>>2]){break g}h:{if(!e){break h}b=F[c+4>>2];g=0;if((e|0)!=1){j=e&-2;while(1){f=g<<3;i=f+r|0;t=b+f|0;F[i>>2]=F[t>>2]<<16;F[i+4>>2]=F[t+4>>2]<<16;f=f|8;i=f+r|0;f=b+f|0;F[i>>2]=F[f>>2]<<16;F[i+4>>2]=F[f+4>>2]<<16;g=g+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}if(!(e&1)){break h}f=g<<3;h=f+r|0;b=b+f|0;F[h>>2]=F[b>>2]<<16;F[h+4>>2]=F[b+4>>2]<<16}if(V){fa=e&-4;_=e&3;W=e-1|0;$=e-2|0;aa=e-3|0;T=e-4|0;ba=F[o+4>>2];b=0;while(1){ga=xb(m);i:{j:{k:{l:{m:{f=xb(m);n:{if(f&32768){g=0;if(!F[q>>2]){break n}while(1){ka=(g<<2)+C|0,la=xb(m)<<16>>16<<2,F[ka>>2]=la;g=g+1|0;if(g>>>0>2]){continue}break}break n}h=f&4095;if(h>>>0>=I[q+60>>2]){break m}j=h;h=F[q>>2];Ya(C,F[q+64>>2]+(L(j,h)<<2)|0,h<<2)}o:{if(!(f&16384)){break o}g=0;if(!F[q>>2]){break o}while(1){ka=(g<<2)+R|0,la=xb(m)<<16>>16<<2,F[ka>>2]=la;g=g+1|0;h=F[q>>2];if(g>>>0>>0){continue}break}g=0;if(!h){break o}while(1){ka=(g<<2)+S|0,la=xb(m)<<16>>16<<2,F[ka>>2]=la;g=g+1|0;if(g>>>0>2]){continue}break}}j=zj(q,f,C,R,S);if(!j){break i}ha=F[m+32>>2];X=F[m>>2];h=F[m+36>>2];F[m+32>>2]=h-X>>>0>z>>>0?X+z|0:h;p:{if(f&8192){t=Pe(m,F[q+76>>2],o+8|0);f=F[o+8>>2];b=t;break p}F[o+8>>2]=ba;f=ba;t=b;b=y}h=f?f:e;M=cg(m,F[q+76>>2],h);N=cg(m,F[q+76>>2],h);if(!M|(!b|!N)){break j}q:{if((b|0)!=-1){if(!e){break k}h=0;g=0;i=0;if(W>>>0>=3){break q}break l}g=0;if(!e){break j}while(1){b=g<<2;f=b+K|0;h=F[f>>2];i=b+J|0;k=F[i>>2];l=Ua(F[b+M>>2],j);b=Ua(F[b+N>>2],j);r:{if(g>>>0>>0){F[i>>2]=k+l;F[f>>2]=b+h;break r}if(!(G[a+740|0]&4|(g|0)!=(T|0))){F[i>>2]=k+l;break r}if(!(G[a+740|0]&2|(g|0)!=(aa|0))){F[i>>2]=k+l;break r}if(!(G[a+740|0]&32|(g|0)!=($|0))){F[f>>2]=b+h;break r}if(G[a+740|0]&16|(g|0)!=(W|0)){break r}F[f>>2]=b+h}g=g+1|0;if((g|0)!=(e|0)){continue}break}break j}while(1){D[g+s|0]=0;k=g<<3;l=k+p|0;k=k+r|0;u=F[k+4>>2];F[l>>2]=F[k>>2];F[l+4>>2]=u;k=g|1;D[k+s|0]=0;k=k<<3;l=k+p|0;k=k+r|0;u=F[k+4>>2];F[l>>2]=F[k>>2];F[l+4>>2]=u;k=g|2;D[k+s|0]=0;k=k<<3;l=k+p|0;k=k+r|0;u=F[k+4>>2];F[l>>2]=F[k>>2];F[l+4>>2]=u;k=g|3;D[k+s|0]=0;k=k<<3;l=k+p|0;k=k+r|0;u=F[k+4>>2];F[l>>2]=F[k>>2];F[l+4>>2]=u;g=g+4|0;i=i+4|0;if((fa|0)!=(i|0)){continue}break}break l}F[o+12>>2]=8;break g}if(!_){break k}while(1){D[g+s|0]=0;i=g<<3;k=i+p|0;i=i+r|0;l=F[i+4>>2];F[k>>2]=F[i>>2];F[k+4>>2]=l;g=g+1|0;h=h+1|0;if((_|0)!=(h|0)){continue}break}}g=0;if(f){while(1){h=H[b+(g<<1)>>1];if(h>>>0>>0){D[h+s|0]=1;h=(h<<3)+p|0;i=g<<2;ka=h,la=Ua(F[i+M>>2],j)+F[h>>2]|0,F[ka>>2]=la;ka=h,la=Ua(F[i+N>>2],j)+F[h+4>>2]|0,F[ka+4>>2]=la}g=g+1|0;if((f|0)!=(g|0)){continue}break}}f=0;U=0;if(H[c>>1]){Y=p+4|0;O=r+4|0;while(1){w=E[F[c+12>>2]+(U<<1)>>1];s:{if((w|0)<(f|0)){break s}k=w+1|0;g=f;while(1){t:{b=g+1|0;if(G[g+s|0]){h=g;j=g;u:{v:{if((g|0)<(w|0)){while(1){u=h;h=b;l=j;i=j;w:{if(!G[h+s|0]){break w}i=h;if((l|0)>=(u|0)){break w}j=l+1|0;i=F[r+(l<<3)>>2]>F[r+(h<<3)>>2];P=i?l:h;Q=P<<3;b=F[Q+p>>2];B=i?h:l;Z=B<<3;x=F[Z+p>>2];v=F[r+Q>>2];l=F[r+Z>>2];if(!((v|0)==(l|0)&(b|0)!=(x|0))){ca=0;if((l|0)!=(v|0)){ca=_a(b-x|0,v-l|0)}ia=b-v|0;ja=x-l|0;b=j;while(1){i=b;da=b<<3;b=F[r+da>>2];x:{if((b|0)<=(l|0)){A=b+ja|0;break x}A=b+ia|0;if((b|0)>=(v|0)){break x}A=Ua(b-l|0,ca)+x|0}F[p+da>>2]=A;b=i+1|0;if((i|0)!=(u|0)){continue}break}}i=F[O+Z>>2]>F[O+Q>>2];l=(i?B:P)<<3;b=F[l+Y>>2];i=(i?P:B)<<3;x=F[i+Y>>2];v=F[l+O>>2];l=F[i+O>>2];if((v|0)==(l|0)){i=h;if((b|0)!=(x|0)){break w}}A=0;if((l|0)!=(v|0)){A=_a(b-x|0,v-l|0)}P=b-v|0;Q=x-l|0;while(1){b=j;B=b<<3;j=F[B+O>>2];y:{if((j|0)<=(l|0)){i=j+Q|0;break y}i=j+P|0;if((j|0)>=(v|0)){break y}i=Ua(j-l|0,A)+x|0}F[B+Y>>2]=i;j=b+1|0;if((b|0)!=(u|0)){continue}break}i=h}j=i;b=h+1|0;if((h|0)!=(w|0)){continue}break}if((g|0)!=(j|0)){break v}b=k}j=g<<3;i=j+r|0;h=F[i+4>>2];k=j+p|0;j=F[k+4>>2];k=F[k>>2];i=F[i>>2];if(!((k|0)!=(i|0)|(h|0)!=(j|0))){f=b;break s}j=j-h|0;i=k-i|0;if((g|0)<=(f|0)){break u}h=f+1|0;if(g-f&1){f=(f<<3)+p|0;F[f>>2]=i+F[f>>2];F[f+4>>2]=j+F[f+4>>2];f=h}if((g|0)==(h|0)){break u}while(1){h=(f<<3)+p|0;F[h>>2]=i+F[h>>2];F[h+4>>2]=j+F[h+4>>2];F[h+12>>2]=j+F[h+12>>2];F[h+8>>2]=i+F[h+8>>2];f=f+2|0;if((f|0)!=(g|0)){continue}break}break u}rj(j+1|0,w,j,g,r,p);if((g|0)<=0){break t}rj(f,g-1|0,j,g,r,p);break t}if((g|0)>=(w|0)){f=b;break s}h=g^-1;if(w-g&1){g=g+1|0;f=(g<<3)+p|0;F[f>>2]=i+F[f>>2];F[f+4>>2]=j+F[f+4>>2]}if((h|0)==(0-w|0)){f=b;break s}while(1){f=(g<<3)+p|0;F[f+8>>2]=i+F[f+8>>2];F[f+12>>2]=j+F[f+12>>2];g=g+2|0;f=(g<<3)+p|0;F[f>>2]=i+F[f>>2];F[f+4>>2]=j+F[f+4>>2];if((g|0)!=(w|0)){continue}break}f=b;break s}h=(g|0)==(w|0);g=b;if(!h){continue}}break}f=k}U=U+1|0;if((U|0)>1]){continue}break}}g=0;if(!e){break j}while(1){b=g<<3;f=b+p|0;h=b+r|0;b=F[f+4>>2]-F[h+4>>2]|0;f=F[f>>2]-F[h>>2]|0;i=g<<2;h=i+K|0;j=F[h>>2];i=i+J|0;k=F[i>>2];z:{if(g>>>0>>0){F[i>>2]=f+k;F[h>>2]=b+j;break z}if(!(G[a+740|0]&4|(g|0)!=(T|0))){F[i>>2]=f+k;break z}if(!(G[a+740|0]&2|(g|0)!=(aa|0))){F[i>>2]=f+k;break z}if(!(G[a+740|0]&32|(g|0)!=($|0))){F[h>>2]=b+j;break z}if(G[a+740|0]&16|(g|0)!=(W|0)){break z}F[h>>2]=b+j}g=g+1|0;if((g|0)!=(e|0)){continue}break}}b=-1;if((t|0)!=-1){if(t){Ia[F[n+8>>2]](n,t)}b=0}if(M){Ia[F[n+8>>2]](n,M)}if(N){Ia[F[n+8>>2]](n,N)}f=ha-X|0;h=F[m>>2];j=F[m+36>>2];F[m+32>>2]=f>>>0>>0?f+h|0:j}z=z+ga|0;ea=ea+1|0;if((ea|0)!=(V|0)){continue}break}}if(!e){break g}b=F[c+4>>2];g=0;while(1){c=g<<3;a=c+d|0;f=g<<2;h=f+J|0;F[a>>2]=F[a>>2]+(F[h>>2]+512>>10);f=f+K|0;F[a+4>>2]=F[a+4>>2]+(F[f>>2]+512>>10);a=b+c|0;F[a>>2]=F[a>>2]+(F[h>>2]+32768>>16);F[a+4>>2]=F[a+4>>2]+(F[f>>2]+32768>>16);g=g+1|0;if((g|0)!=(e|0)){continue}break}}if(J){Ia[F[n+8>>2]](n,J)}if(K){Ia[F[n+8>>2]](n,K)}if((y|0)==-1){break d}}if(y){Ia[F[n+8>>2]](n,y)}}if(C){Ia[F[n+8>>2]](n,C)}if(R){Ia[F[n+8>>2]](n,R)}if(S){Ia[F[n+8>>2]](n,S)}lb(m)}if(r){Ia[F[n+8>>2]](n,r)}if(p){Ia[F[n+8>>2]](n,p)}if(s){Ia[F[n+8>>2]](n,s)}s=F[o+12>>2]}Ga=o+16|0;return s}function AA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=Ga-32|0;Ga=k;a:{if(!F[c+68>>2]){break a}if(!mb(c,b,105867,0)){break a}s=F[c+68>>2];b:{if(!s){break b}f=s-1|0;e=F[c+80>>2];j=G[e+15|0];while(1){c:{if((d|0)==(f|0)){d=s;break c}d=d+1|0;if((j|0)==G[(e+L(d,20)|0)+15|0]){continue}}break}if(!s){break b}h=F[c+80>>2];j=0;while(1){q=F[a+124>>2];i=d;d:{if(d>>>0<=j>>>0){break d}d=j;e=F[q+8>>2];if(!e){break d}while(1){f=L(d,20)+h|0;e:{if((e|0)!=F[f>>2]){break e}l=H[f+12>>1];if((l&96)!=96){break e}E[f+12>>1]=l&65439;D[f+18|0]=4}d=d+1|0;if((i|0)!=(d|0)){continue}break}}l=F[q+88>>2];o=(l|0)!=0;f=j;f:{g:{if(i>>>0<=f>>>0){l=j+1|0;if(l>>>0>>0){break g}break f}h:{while(1){d=f+1|0;if(G[(L(f,20)+h|0)+19|0]>=4){i:{if(!l){break i}e=d;if(d>>>0>=i>>>0){break i}while(1){g=L(e,20)+h|0;if(l&F[g+4>>2]){o=1;l=H[g+12>>1];if((l&112)==48){break i}j:{if(e>>>0>=i>>>0){f=e;break j}if(l&32){f=e;break j}f=e;if(G[g+18|0]!=4){break j}while(1){f=f+1|0;if((i|0)==(f|0)){f=i;break j}d=L(f,20)+h|0;if(G[d+12|0]&32){break j}if(G[d+18|0]==4){continue}break}}D[(L(f,20)+h|0)+19|0]=4;d=f+1|0;o=0;break i}o=1;e=e+1|0;if((i|0)!=(e|0)){continue}break}}k:{if(F[c+44>>2]!=1298954605|d>>>0>=i>>>0){break k}while(1){l:{if(d>>>0>=i>>>0){break l}while(1){e=L(d,20)+h|0;if(G[e+12|0]&32){break l}e=G[e+18|0];if(e>>>0>31|!(1<>>0>>0?i:e)-1|0;m:{while(1){l=d;d=d+1|0;if(i>>>0<=d>>>0){l=e;break m}g=L(d,20)+h|0;if(G[g+12|0]&32){break m}n=G[g+18|0];m=1<>>0>31;if(!(m&96?n:1)){continue}break}if(!(m&727046)|n|G[g+19|0]!=8){break m}D[g+19|0]=4;f=d}d=l+2|0;if(i>>>0>d>>>0){continue}break}}if(f>>>0<=j>>>0){break h}f=f-(G[(L(f,20)+h|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(i|0)){continue}break}f=i}n:{if(!((f|0)!=(i|0)|f>>>0<=j>>>0)){f=i;d=f-1|0;e=L(d,20)+h|0;if(G[e+12|0]&32){break n}f=G[e+18|0]==6?d:i}if(f>>>0<=j>>>0|f>>>0>=i>>>0){break n}while(1){d=L(f,20)+h|0;if(G[d+12|0]&32){break n}d=G[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}f=j;l=f+1|0;if(l>>>0>>0){break g}break f}l=j+1|0;n=l>>>0>=i>>>0;o:{if(n|f>>>0<=j>>>0){break o}d=((f|0)==(i|0)?-2:-1)+f|0;p:{q:{e=F[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break q}while(1){e=0;r:{if(d>>>0<=j>>>0){break r}while(1){e=L(d,20)+h|0;s:{if(G[e+12|0]&32){break s}g=G[e+18|0];if(g>>>0>31){break s}e=1;if(1<>>0>>0){continue}break}d=j;e=0}g=L(d,20)+h|0;if(G[g+12|0]&32|G[g+18|0]!=4|G[g+19|0]==2){break p}g=d+1|0;if(g>>>0>=i>>>0|(e^1|G[(L(g,20)+h|0)+18|0]!=6)){break q}d=d-1|0;continue}}if(G[(L(d,20)+h|0)+19|0]==2|d>>>0<=j>>>0){break p}e=d;while(1){m=d-1|0;g=L(m,20)+h|0;if(G[g+19|0]==2){F[k+24>>2]=F[g+16>>2];r=F[g+12>>2];F[k+16>>2]=F[g+8>>2];F[k+20>>2]=r;r=F[g+4>>2];F[k+8>>2]=F[g>>2];F[k+12>>2]=r;Cb(g,L(d,20)+h|0,L(e-m|0,20));d=L(e,20)+h|0;F[d+16>>2]=F[k+24>>2];g=F[k+20>>2];F[d+8>>2]=F[k+16>>2];F[d+12>>2]=g;g=F[k+12>>2];F[d>>2]=F[k+8>>2];F[d+4>>2]=g;f=f-(f>>>0>m>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>i>>>0?i:d;if(d-e>>>0>=2){Kb(c,e,d)}e=e-1|0}d=m;if(j>>>0>>0){continue}break}break o}e=j;while(1){if(G[(L(e,20)+h|0)+19|0]==2){d=f+1|0;d=d>>>0>i>>>0?i:d;if(d-e>>>0<2){break o}Kb(c,e,d);break g}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(n){break f}}m=L(j,20)+h|0;if(G[m+19|0]!=1|(G[m+18|0]==15|0)==((H[m+12>>1]&96)==32|0)){break f}g=F[F[q>>2]+16>>2];t:{u:{if((g|0)==12){break u}v:{w:{x:{d=l;if(f>>>0>d>>>0){while(1){e=d+1|0;n=L(d,20)+h|0;if(!(G[n+12|0]&32)&G[n+18|0]==4){break x}d=e;if((f|0)!=(d|0)){continue}break}}switch(g-5|0){case 4:break v;case 0:break w;default:break u}}if(e>>>0>=f>>>0){break t}g=L(e,20)+h|0;if(G[g+12|0]&32){break t}n=e;e=G[g+18|0];d=e>>>0<32?1<>>0>>0?i:d)-1|0;e=f;while(1){y:{d=e;e=d+1|0;if(i>>>0<=e>>>0){d=g;break y}if(G[(L(e,20)+h|0)+19|0]<6){continue}}break}if(d>>>0>=i>>>0){break u}break t}d=f+1|0;g=(d>>>0>>0?i:d)-1|0;e=f;while(1){z:{d=e;e=d+1|0;if(i>>>0<=e>>>0){d=g;break z}n=G[(L(e,20)+h|0)+19|0];if(n>>>0>31|!(1<>>0>>0){break t}}A:{d=l;if(f>>>0<=d>>>0){break A}while(1){B:{e=d+1|0;g=L(d,20)+h|0;if(!(G[g+12|0]&32)&G[g+18|0]==4){break B}d=e;if((f|0)!=(d|0)){continue}break A}break}if(e>>>0>=f>>>0){break t}g=L(e,20)+h|0;if(G[g+12|0]&32){break t}n=e;e=G[g+18|0];d=e>>>0<32?1<>>0>j>>>0?j:d;d=i;while(1){C:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break C}if(G[(L(d,20)+h|0)+19|0]==14){continue}}break}if(G[q+5|0]){break t}e=L(d,20)+h|0;if(G[e+12|0]&32|G[e+18|0]!=4){break t}e=f+1|0;if(e>>>0>=d>>>0){break t}while(1){d=d-(G[(L(e,20)+h|0)+18|0]==7)|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){Kb(c,j,e)}F[k+24>>2]=F[m+16>>2];e=F[m+12>>2];F[k+16>>2]=F[m+8>>2];F[k+20>>2]=e;e=F[m+4>>2];F[k+8>>2]=F[m>>2];F[k+12>>2]=e;Cb(m,L(l,20)+h|0,L(d-j|0,20));e=L(d,20)+h|0;F[e+16>>2]=F[k+24>>2];g=F[k+20>>2];F[e+8>>2]=F[k+16>>2];F[e+12>>2]=g;g=F[k+12>>2];F[e>>2]=F[k+8>>2];F[e+4>>2]=g;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}D:{if(!o){break D}d=f+1|0;if(i>>>0<=d>>>0){break D}e=F[q+88>>2];E:{F:{while(1){G:{g=L(d,20)+h|0;if(e&F[g+4>>2]){if((H[g+12>>1]&96)!=32){break D}e=F[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break G}e=f;if(j>>>0>=e>>>0){break F}while(1){e=f;f=e-1|0;m=L(f,20)+h|0;H:{if(G[m+12|0]&32){break H}m=G[m+18|0];if(m>>>0>31){break H}if(1<>>0>j>>>0){continue}break}e=j;break E}d=d+1|0;if((i|0)!=(d|0)){continue}break D}break}e=f}if(e>>>0<=j>>>0){break E}f=L(e,20)+h|0;if(G[f-8|0]&32|G[f-2|0]!=4|(G[f+12|0]&32|e>>>0>=i>>>0)){break E}f=G[f+18|0];e=(f>>>0<32&(1<>>0>=2){Kb(c,e,f)}F[k+24>>2]=F[g+16>>2];f=F[g+12>>2];F[k+16>>2]=F[g+8>>2];F[k+20>>2]=f;f=F[g+4>>2];F[k+8>>2]=F[g>>2];F[k+12>>2]=f;f=L(e,20)+h|0;Cb(f+20|0,f,L(d-e|0,20));F[f+16>>2]=F[k+24>>2];d=F[k+20>>2];F[f+8>>2]=F[k+16>>2];F[f+12>>2]=d;d=F[k+12>>2];F[f>>2]=F[k+8>>2];F[f+4>>2]=d}d=L(j,20)+h|0;I:{if(G[d+19|0]!=2){break I}J:{if(j){f=j-1|0;r=L(f,20);if(1<>1]&8190){break J}}F[d+4>>2]=F[d+4>>2]|F[q+116>>2];break I}d=F[c+68>>2];m=d>>>0>>0?d:l;o=m-f|0;if(o>>>0<2){break I}l=F[c+144>>2]|32;F[c+144>>2]=l;if(f>>>0>=m>>>0){break I}g=F[c+80>>2];h=-1;d=f;if(m-j>>>0>=3){t=o&-4;n=0;while(1){e=g+L(d,20)|0;p=F[e+8>>2];h=h>>>0

>>0?h:p;p=F[e+28>>2];h=h>>>0

>>0?h:p;p=F[e+48>>2];h=h>>>0

>>0?h:p;e=F[e+68>>2];h=e>>>0>h>>>0?h:e;d=d+4|0;n=n+4|0;if((t|0)!=(n|0)){continue}break}}e=0;n=o&3;if(n){while(1){t=F[(g+L(d,20)|0)+8>>2];h=h>>>0>>0?h:t;d=d+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}K:{if(!(o&1)){break K}f=j;d=g+r|0;if(F[d+8>>2]==(h|0)){break K}F[c+144>>2]=l;F[d+4>>2]=F[d+4>>2]|3}if((j|0)==(m|0)){break I}while(1){d=g+L(f,20)|0;if(F[d+8>>2]!=(h|0)){l=l|32;F[c+144>>2]=l;F[d+4>>2]=F[d+4>>2]|3}d=g+L(f+1|0,20)|0;if(F[d+8>>2]!=(h|0)){l=l|32;F[c+144>>2]=l;F[d+4>>2]=F[d+4>>2]|3}f=f+2|0;if((m|0)!=(f|0)){continue}break}}L:{if(!G[q+5|0]){break L}d=F[a+4>>2];if((d|0)==1399418472|(d|0)==1415671148|i-j>>>0<2){break L}Kb(c,j,i)}e=F[c+68>>2];d=i+1|0;f=d>>>0>>0?e:d;h=F[c+80>>2];j=G[(h+L(i,20)|0)+15|0];d=i;while(1){M:{d=d+1|0;if(e>>>0<=d>>>0){d=f;break M}if((j|0)==G[(L(d,20)+h|0)+15|0]){continue}}break}j=i;if(i>>>0>>0){continue}break}}mb(c,b,106008,0)}Ga=k+32|0}function Ok(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=Ga-48|0;Ga=k;d=Za(b,c+d|0);a:{if(d){break a}d=tb(b,e);if(d){break a}b:{c:{if(!e){F[k+44>>2]=0;break c}g=F[b+32>>2];j=g+e|0;if(D[g|0]<0){l=F[a+16>>2];o=F[a+28>>2];F[k>>2]=0;d=8;if((e|0)<=0){break b}m=G[g|0];if(!(m&128)){break b}f=g+1|0;i=F[o>>2];d:{if(!(m&64)){e=f;break d}if(e>>>0<2){break b}e=g+2|0;h=G[f|0];if(!h){break d}while(1){f=e+2|0;if(f>>>0>j>>>0){break b}e=f+G[e|0]|0;if(j>>>0>>0){break b}h=h-1|0;if(h){continue}break}}p=m&63;f=p+l|0;h=F[a+20>>2];e:{if(f>>>0<=h>>>0){h=F[a+24>>2];break e}f=f+3&-4;if(f>>>0>64){break b}h=Va(i,24,h,f,F[a+24>>2],k);F[a+24>>2]=h;d=F[k>>2];if(d){break b}F[a+20>>2]=f}if(p){h=L(l,24)+h|0;d=8;while(1){f=e+1|0;if(j>>>0>>0){break b}i=G[e|0];F[h>>2]=65536;if(i&16){f=e+3|0;if(j>>>0>>0){break b}e=G[e+1|0]|G[e+2|0]<<8;F[h>>2]=(e<<8|e>>>8)<<16>>16<<4}F[h+4>>2]=65536;f:{if(!(i&32)){e=f;break f}e=f+2|0;if(j>>>0>>0){break b}f=G[f|0]|G[f+1|0]<<8;F[h+4>>2]=(f<<8|f>>>8)<<16>>16<<4}m=0;f=0;g:{h:{switch((i&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=G[e|0]|G[e+1|0]<<8;f=(e<<8|e>>>8)<<16>>16;e=g;break g;case 1:break h;default:break g}}g=e+1|0;if(g>>>0>j>>>0){break b}f=D[e|0];e=g}i:{j:{switch((i>>>2&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=G[e|0]|G[e+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=g;break i;case 1:break j;default:break i}}g=e+1|0;if(g>>>0>j>>>0){break b}m=D[e|0];e=g}F[h+12>>2]=m;F[h+8>>2]=f;k:{if(i&64){f=e+2|0;if(j>>>0>>0){break b}e=G[e+1|0]|G[e|0]<<8;break k}f=e+1|0;if(j>>>0>>0){break b}e=G[e|0]}F[h+20>>2]=e;l:{if(i&128){e=f+3|0;if(j>>>0>>0){break b}m=2;g=G[f+1|0]<<8|G[f|0]<<16;break l}e=f+2|0;if(j>>>0>>0){break b}m=1;g=G[f|0]<<8}F[h+16>>2]=g|G[f+m|0];F[a+16>>2]=F[a+16>>2]+1;h=h+24|0;q=q+1|0;if((p|0)!=(q|0)){continue}break}}lb(b);d=0;e=F[a+16>>2];if((e|0)==(l|0)){break a}j=e-l|0;m=0;while(1){h=E[o+22>>1];f=L(m,24);e=L(l,24);d=f+(e+F[a+24>>2]|0)|0;d=Ok(a,b,c,F[d+16>>2],F[d+20>>2]);if(d){break a}i=E[o+22>>1];g=i-h|0;e=f+(e+F[a+24>>2]|0)|0;f=F[e>>2];m:{if(!((f|0)==65536&F[e+4>>2]==65536)){if((g|0)<=0){break m}d=F[o+24>>2]+(h<<3)|0;h=0;while(1){u=d,v=Ua(F[d>>2],f)+F[e+8>>2]|0,F[u>>2]=v;u=d,v=Ua(F[d+4>>2],F[e+4>>2])+F[e+12>>2]|0,F[u+4>>2]=v;h=h+1|0;if((g|0)==(h|0)){break m}d=d+8|0;f=F[e>>2];continue}}if((g|0)<=0){break m}d=F[o+24>>2]+(h<<3)|0;f=F[e+12>>2];e=F[e+8>>2];if(i+(h^-1)>>>0>=3){i=g&-4;h=0;while(1){F[d>>2]=e+F[d>>2];F[d+4>>2]=f+F[d+4>>2];F[d+8>>2]=e+F[d+8>>2];F[d+16>>2]=e+F[d+16>>2];F[d+24>>2]=e+F[d+24>>2];F[d+12>>2]=f+F[d+12>>2];F[d+20>>2]=f+F[d+20>>2];F[d+28>>2]=f+F[d+28>>2];d=d+32|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}h=0;g=g&3;if(!g){break m}while(1){F[d>>2]=e+F[d>>2];F[d+4>>2]=f+F[d+4>>2];d=d+8|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}d=0;m=m+1|0;if((j|0)!=(m|0)){continue}break}break a}F[k+44>>2]=0;d=8;if((e|0)<=0){break b}l=G[g|0];if(l&128){break b}i=F[F[a+28>>2]>>2];n:{if(l&4){if(e>>>0<2){break b}f=g+2|0;c=G[g+1|0];q=c>>>4|0;m=c&15;break n}if(l&2){if(e>>>0<2){break b}m=G[g+1|0];c=g+2|0}else{c=g+1|0}if(!(l&1)){f=c;break n}f=c+1|0;if(j>>>0>>0){break b}q=G[c|0]}g=m+q|0;c=F[a+4>>2];o:{p:{if(g>>>0>c>>>0){d=c;c=g+7&1016;i=Va(i,4,d,c,F[a+8>>2],k+44|0);F[a+8>>2]=i;d=F[k+44>>2];if(d){break b}o=a+8|0;F[a+4>>2]=c;F[a+12>>2]=(m<<2)+i;p=a+12|0;break p}i=F[a+8>>2];F[a+12>>2]=i+(m<<2);p=a+12|0;o=a+8|0;if(!g){break o}}c=0;d=0;while(1){q:{if(d&7){e=f;break q}e=f+1|0;if(j>>>0>>0){break c}c=G[f|0]}n=(d<<2)+i|0;r:{if(c&1){f=e+2|0;if(j>>>0>>0){break c}e=G[e|0]|G[e+1|0]<<8;h=(e<<8|e>>>8)<<16>>16;break r}f=e+1|0;if(j>>>0>>0){break c}h=G[e|0]+h|0}F[n>>2]=h;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;s:{if(!(l&8)){c=f;break s}c=f+1|0;if(j>>>0>>0){break b}e=G[f|0];if(e){while(1){f=c+2|0;if(f>>>0>j>>>0){break b}c=f+G[c|0]|0;if(j>>>0>>0){break b}e=e-1|0;if(e){continue}break}}F[k+44>>2]=0}D[a+32|0]=0;F[k+24>>2]=0;F[k+28>>2]=0;F[k>>2]=0;F[k+4>>2]=0;r=k+16|0;s=k|8;f=0;h=0;while(1){g=c+1|0;if(g>>>0>j>>>0){break c}c=G[c|0];e=c&15;i=1;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{n=c>>>4|0;switch(n|0){case 0:break w;case 1:case 4:case 5:break x;case 7:break z;case 6:break A;case 3:break C;case 2:break D;default:break y}}if(e>>>0>=m>>>0){break c}F[k>>2]=F[F[o>>2]+(e<<2)>>2];break B}if(e>>>0>=q>>>0){break c}F[k>>2]=h;f=F[F[p>>2]+(e<<2)>>2]}F[k+4>>2]=f;c=F[k+4>>2];h=F[k>>2];F[k+24>>2]=h;F[k+28>>2]=c;f=c;c=g;break v}e=2958;i=3;break x}e=3627;i=3;break x}i=4}l=0;d=k;c=g;while(1){E:{F:{switch(e&3){case 0:g=c+1|0;if(g>>>0>j>>>0){break c}c=G[c|0];if(c>>>0>=m>>>0){break c}h=F[F[o>>2]+(c<<2)>>2];c=g;break E;case 1:g=c+2|0;if(g>>>0>j>>>0){break c}c=G[c|0]|G[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16;c=g;break E;case 2:break F;default:break E}}g=c+1|0;if(g>>>0>j>>>0){break c}h=D[c|0]+h|0;c=g}F[d>>2]=h;G:{H:{switch(e>>>2&3){case 0:h=c+1|0;if(h>>>0>j>>>0){break c}c=G[c|0];if(c>>>0>=q>>>0){break c}f=F[F[p>>2]+(c<<2)>>2];c=h;break G;case 1:h=c+2|0;if(h>>>0>j>>>0){break c}c=G[c|0]|G[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=h;break G;case 2:break H;default:break G}}h=c+1|0;if(h>>>0>j>>>0){break c}f=D[c|0]+f|0;c=h}F[d+4>>2]=f;I:{if(!((i|0)!=4|l)){f=c+1|0;if(f>>>0>j>>>0){break c}e=G[c|0];i=3;c=f;break I}e=e>>>4|0}f=F[d+4>>2];h=F[d>>2];F[k+24>>2]=h;F[k+28>>2]=f;d=d+8|0;l=l+1|0;if(l>>>0>>0){continue}break}J:{switch(n|0){case 4:case 5:e=F[a+28>>2];K:{if(!G[a+32|0]){break K}i=E[e+58>>1];d=i-1|0;g=H[e+56>>1];l=g<<16>>16;if((l|0)<=0){g=0}else{g=E[(F[e+68>>2]+(g<<1)|0)-2>>1]}L:{if((d|0)<=(g|0)){break L}n=F[e+60>>2];t=n+(g<<3)|0;n=n+(d<<3)|0;if(F[t>>2]!=F[n>>2]|F[t+4>>2]!=F[n+4>>2]){break L}E[e+58>>1]=i-1;d=i-2|0}if((d|0)<(g|0)){break K}E[e+56>>1]=l+1;E[F[e+68>>2]+(l<<1)>>1]=d}D[a+32|0]=1;i=F[e+4>>2];d=E[e+58>>1];l=(d+E[e+22>>1]|0)+1|0;if(!(i>>>0>=l>>>0&I[e+8>>2]>=(E[e+20>>1]+E[e+56>>1]|0)+1>>>0)){d=Ub(e,1,1);if(d){break t}if(!G[a+32|0]){d=8;break t}e=F[a+28>>2];d=E[e+58>>1];l=(d+E[e+22>>1]|0)+1|0;i=F[e+4>>2]}if(i>>>0>>0){d=Ub(e,1,0);if(d){break t}d=E[e+58>>1]}break u;case 1:case 2:case 3:break v;case 0:break w;default:break J}}if(G[a+32|0]){d=F[a+28>>2];e=E[d+58>>1];M:{if(I[d+4>>2]<(E[d+22>>1]+e|0)+3>>>0){e=Ub(d,3,0);if(e){break M}e=E[d+58>>1]}i=F[d- -64>>2];l=F[k+4>>2];g=F[d+60>>2]+(e<<3)|0;F[g>>2]=F[k>>2];F[g+4>>2]=l;l=F[s+4>>2];F[g+8>>2]=F[s>>2];F[g+12>>2]=l;l=F[r+4>>2];F[g+16>>2]=F[r>>2];F[g+20>>2]=l;e=e+i|0;D[e+2|0]=1;D[e|0]=2;D[e+1|0]=2;E[d+58>>1]=H[d+58>>1]+3;e=0}d=e}else{d=8}break t}e=F[a+28>>2];if(G[a+32|0]){f=E[e+58>>1];d=f-1|0;c=H[e+56>>1];h=c<<16>>16;if((h|0)<=0){c=0}else{c=E[(F[e+68>>2]+(c<<1)|0)-2>>1]}N:{if((d|0)<=(c|0)){break N}g=F[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(F[j>>2]!=F[g>>2]|F[j+4>>2]!=F[g+4>>2]){break N}E[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){E[e+56>>1]=h+1;E[F[e+68>>2]+(h<<1)>>1]=d}D[a+32|0]=0}re(e);d=F[k+44>>2];break b}if(!G[a+32|0]){d=8;break t}e=F[a+28>>2];d=E[e+58>>1];if(I[e+4>>2]<(d+E[e+22>>1]|0)+1>>>0){d=Ub(e,1,0);if(d){break t}d=E[e+58>>1]}}i=F[k+4>>2];g=F[e+60>>2]+(d<<3)|0;F[g>>2]=F[k>>2];F[g+4>>2]=i;D[d+F[e- -64>>2]|0]=1;E[e+58>>1]=H[e+58>>1]+1;d=0}F[k+44>>2]=d;if(!d){continue}break}break b}d=8}lb(b)}Ga=k+48|0;return d}function le(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Ga-80|0;Ga=g;o=F[a>>2];a:{if(f){break a}i=F[a+4>>2];if(G[i+12|0]){break a}h=F[d>>2];F[g+68>>2]=0;F[g+72>>2]=0;F[g+60>>2]=0;F[g+64>>2]=0;F[g+52>>2]=0;F[g+56>>2]=0;F[g+48>>2]=h;le(i,b,c,g+48|0,e,1)}b:{c:{d:{if(G[d+4|0]){break d}i=F[c+20>>2]+F[b+20>>2]|0;e:{if(i>>>0>=97){b=F[d>>2];if(!b|F[b>>2]){break e}F[b>>2]=18;break e}F[d+8>>2]=i;E[d+4>>1]=257;F[d+12>>2]=i+7>>>3;if(!i){break d}c=0;i=-1<<(0-i&7);while(1){D[(c+d|0)+16|0]=255;c=c+1|0;h=F[d+12>>2];if(c>>>0>>0){continue}break}c=d+h|0;D[c+15|0]=i&G[c+15|0];if(G[d+4|0]){break d}}if(!G[o+8|0]){break b}F[F[d>>2]>>2]=0;a=a+13|0;break c}F[a+20>>2]=0;F[a+24>>2]=0;F[g+72>>2]=F[d+24>>2];i=F[d+20>>2];s=g- -64|0;c=s;F[c>>2]=F[d+16>>2];F[c+4>>2]=i;c=F[d+12>>2];F[g+56>>2]=F[d+8>>2];F[g+60>>2]=c;c=F[d+4>>2];F[g+48>>2]=F[d>>2];F[g+52>>2]=c;u=F[b+20>>2];if(u>>>0>I[d+8>>2]){break b}if(G[o+249|0]){F[g+40>>2]=0;F[g+32>>2]=0;F[g+36>>2]=0;F[g+24>>2]=0;F[g+28>>2]=0;c=g+24|0;je(a,o+288|0,c);je(a,c,o+268|0)}f:{g:{if(u){j=s;q=128;i=0;while(1){h:{if(!(G[j|0]&q)){break h}n=F[a+16>>2];F[g+40>>2]=0;F[g+32>>2]=0;F[g+36>>2]=0;F[g+24>>2]=0;F[g+28>>2]=0;c=i;h=F[b+20>>2];i:{if(c>>>0>>0){break i}c=0;k=F[b+4>>2];if(!k|F[k>>2]){break i}F[k>>2]=130}j:{k:{c=F[b+28>>2]+L(F[b+8>>2],c)|0;k=F[c+8>>2];l=F[c+4>>2];m=k-l|0;if((m|0)==-1376256){l=1}else{if((m|0)==-1310720){F[g+40>>2]=n;F[g+32>>2]=e;m=0;F[g+24>>2]=0;F[g+28>>2]=i;l=e;break k}k=(m|0)<0?k:l;l=4}m=l;F[g+40>>2]=n;F[g+24>>2]=m;F[g+28>>2]=i;l=e+k|0;F[g+32>>2]=l;if(!G[c|0]){break k}r=F[c+12>>2];m=m|16;F[g+24>>2]=m;F[g+36>>2]=r;break j}r=Ua(l,n);F[g+36>>2]=r;h=F[b+20>>2]}k=F[a+16>>2];F[g+16>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;c=i;l:{if(h>>>0>c>>>0){break l}c=0;h=F[b+4>>2];if(!h|F[h>>2]){break l}F[h>>2]=130}m:{n:{c=F[b+28>>2]+L(F[b+8>>2],c)|0;p=F[c+8>>2];h=F[c+4>>2];n=p-h|0;if((n|0)==-1310720){n=2}else{if((n|0)==-1376256){F[g+16>>2]=k;F[g+8>>2]=e;n=0;F[g>>2]=0;F[g+4>>2]=i;h=e;break n}h=(n|0)<0?h:p;n=8}F[g>>2]=n;p=F[o+232>>2];F[g+16>>2]=k;F[g+4>>2]=i;h=(e+h|0)+(p<<1)|0;F[g+8>>2]=h;if(!G[c|0]){break n}t=F[c+16>>2];n=n|16;F[g>>2]=n;break m}t=Ua(h,k)}F[g+12>>2]=t;o:{if((m|n)&16){break o}v=F[o+244>>2];if(!v){break h}p=F[o+260>>2];k=n&10;p:{q:{r:{if(!(m&5)){c=0;if(!k){break h}while(1){l=L(c,20)+o|0;s:{if(G[l+324|0]){break s}k=F[l+308>>2];if((k-p|0)>(h|0)){break s}if((p+F[l+312>>2]|0)>=(h|0)){break r}}c=c+1|0;if((v|0)!=(c|0)){continue}break}break h}c=0;if(!k){while(1){h=L(c,20)+o|0;if(!(!G[h+324|0]|(F[h+308>>2]-p|0)>(l|0))){k=F[h+312>>2];if((p+k|0)>=(l|0)){break q}}c=c+1|0;if((v|0)!=(c|0)){continue}break h}}while(1){w=L(c,20)+o|0;k=F[w+308>>2];x=k-p|0;t:{if(G[w+324|0]){if((l|0)<(x|0)){break t}k=F[w+312>>2];if((p+k|0)<(l|0)){break t}break q}if((h|0)<(x|0)){break t}if((p+F[w+312>>2]|0)>=(h|0)){break r}}c=c+1|0;if((v|0)!=(c|0)){continue}break}break h}l=F[(L(c,20)+o|0)+320>>2];u:{if(G[o+248|0]){break u}l=t+32768&-65536;if(F[o+256>>2]>(h-k|0)){break u}c=F[(L(c,20)+o|0)+320>>2]+65536|0;l=(c|0)<(l|0)?l:c}c=l-t|0;if(!m){break p}F[g+24>>2]=m|16;F[g+36>>2]=c+r;break p}h=F[(L(c,20)+o|0)+320>>2];v:{if(G[o+248|0]){break v}h=r+32768&-65536;if(F[o+256>>2]>(k-l|0)){break v}c=F[(L(c,20)+o|0)+320>>2]-65536|0;h=(c|0)>(h|0)?h:c}F[g+24>>2]=m|16;F[g+36>>2]=h;if(!n){break o}c=h-r|0}F[g>>2]=n|16;F[g+12>>2]=c+t}je(a,g+24|0,g);D[j|0]=G[j|0]&(q^-1)}c=(i&7)==7;q=c?128:q>>>1&127;j=c+j|0;i=i+1|0;if((u|0)!=(i|0)){continue}break}if(f){break g}if(!u){break f}i=128;c=0;while(1){if(G[s|0]&i){m=F[a+16>>2];F[g+40>>2]=0;F[g+32>>2]=0;F[g+36>>2]=0;F[g+24>>2]=0;F[g+28>>2]=0;h=c;k=F[b+20>>2];w:{if(k>>>0>c>>>0){break w}h=0;j=F[b+4>>2];if(!j|F[j>>2]){break w}F[j>>2]=130}x:{y:{l=F[b+28>>2]+L(F[b+8>>2],h)|0;j=F[l+8>>2];n=F[l+4>>2];h=j-n|0;if((h|0)==-1376256){h=1}else{if((h|0)==-1310720){F[g+40>>2]=m;F[g+32>>2]=e;F[g+24>>2]=0;F[g+28>>2]=c;j=e;break y}j=(h|0)<0?j:n;h=4}F[g+40>>2]=m;F[g+24>>2]=h;F[g+28>>2]=c;j=e+j|0;F[g+32>>2]=j;if(!G[l|0]){break y}j=F[l+12>>2];F[g+24>>2]=h|16;F[g+36>>2]=j;break x}y=g,z=Ua(j,m),F[y+36>>2]=z;k=F[b+20>>2]}j=F[a+16>>2];F[g+16>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;h=c;z:{if(c>>>0>>0){break z}h=0;k=F[b+4>>2];if(!k|F[k>>2]){break z}F[k>>2]=130}A:{B:{m=F[b+28>>2]+L(F[b+8>>2],h)|0;l=F[m+8>>2];k=F[m+4>>2];h=l-k|0;if((h|0)==-1310720){h=2}else{if((h|0)==-1376256){F[g+16>>2]=j;F[g+8>>2]=e;F[g>>2]=0;F[g+4>>2]=c;k=e;break B}k=(h|0)<0?k:l;h=8}F[g>>2]=h;l=F[o+232>>2];F[g+16>>2]=j;F[g+4>>2]=c;k=(e+k|0)+(l<<1)|0;F[g+8>>2]=k;if(!G[m|0]){break B}j=F[m+16>>2];F[g>>2]=h|16;F[g+12>>2]=j;break A}y=g,z=Ua(k,j),F[y+12>>2]=z}je(a,g+24|0,g)}h=(c&7)==7;i=h?128:i>>>1&127;s=h+s|0;c=c+1|0;if((u|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=F[a+20>>2];if(!(!c|F[a+36>>2]>0)&F[(L(c,20)+a|0)+16>>2]>=0){break f}F[g+36>>2]=0;F[g+28>>2]=0;F[g+32>>2]=0;F[g+24>>2]=49;c=F[a+16>>2];F[g+8>>2]=0;F[g+12>>2]=0;F[g+16>>2]=0;F[g>>2]=0;F[g+4>>2]=0;F[g+40>>2]=c;je(a,g+24|0,g)}F[F[a+8>>2]+20>>2]=0;q=F[a+20>>2];C:{if(!q){break C}c=0;while(1){k=c+1|0;s=L(c,20);l=s+a|0;e=F[l+28>>2];o=e&12;m=o?k:c;D:{if(e&16){break D}i=a+28|0;p=i+s|0;h=F[p+12>>2];e=h&65535;n=e?65536-e|0:0;r=i+L(m,20)|0;t=F[r+12>>2];j=t&65535;i=j?65536-j|0:0;i=i>>>0>n>>>0?n:i;n=(e|0)<(j|0)?e:j;j=0-n|0;E:{F:{if(m>>>0>>0){q=L(m+1|0,20)+a|0;if(F[q+40>>2]<((i+t|0)+32768|0)){break F}}if(!(!c|F[l+20>>2]<=((h-n|0)-32768|0))){e=i;break E}e=i>>>0>n>>>0?j:i;break E}G:{if(c){e=0;if(F[l+20>>2]>((h-n|0)-32768|0)){break G}}e=j;if(i>>>0>>0){break G}break E}if(G[q+28|0]&16){break E}F[g+24>>2]=m;F[g+28>>2]=i-e;xk(F[a+8>>2],g+24|0);h=F[p+12>>2]}F[p+12>>2]=e+h;if(!o){break D}F[r+12>>2]=F[r+12>>2]+e}H:{if(!c){break H}e=F[l+36>>2];i=F[l+16>>2];if((e|0)==(i|0)){break H}h=a+28|0;j=h+L(c-1|0,20)|0;y=j,z=_a(F[(h+s|0)+12>>2]-F[j+12>>2]|0,e-i|0),F[y+16>>2]=z}if(o){c=L(m,20);e=c+a|0;i=F[e+36>>2];e=F[e+16>>2];if((i|0)!=(e|0)){h=a+28|0;j=h+L(m-1|0,20)|0;y=j,z=_a(F[(c+h|0)+12>>2]-F[j+12>>2]|0,i-e|0),F[y+16>>2]=z}c=k}c=c+1|0;q=F[a+20>>2];if(c>>>0>>0){continue}break}h=F[a+8>>2];e=F[h+20>>2];if(!e){break C}k=F[h+8>>2];m=F[h+28>>2];c=e;while(1){c=c-1|0;i=c;I:{if(c>>>0>>0){break I}i=0;j=F[h+4>>2];if(!j|F[j>>2]){break I}F[j>>2]=130}j=m+L(i,k)|0;i=L(F[j>>2],20)+a|0;j=F[j+4>>2];l=j+F[i+40>>2]|0;J:{if(F[i+60>>2]<(l+32768|0)){break J}F[i+40>>2]=l;if(!(G[i+28|0]&12)){break J}F[i+20>>2]=j+F[i+20>>2]}if(c){continue}break}}K:{if(f){break K}h=F[a+20>>2];if(!h){break K}c=0;while(1){e=L(c,20)+a|0;i=F[e+28>>2];if(!(i&32)){h=F[e+32>>2];L:{if(h>>>0>2]){break L}h=0;f=F[b+4>>2];if(!f|F[f>>2]){break L}F[f>>2]=130;i=F[e+28>>2]}f=F[b+28>>2]+L(F[b+8>>2],h)|0;F[f+(i&10?16:12)>>2]=F[e+40>>2];D[f|0]=1;h=F[a+20>>2]}c=c+1|0;if(h>>>0>c>>>0){continue}break}}D[a+12|0]=1;a=d+5|0}D[a|0]=0}Ga=g+80|0}function wf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(G[b+16|0]&32){s=qi();ld(s,b,0,-1)}u=b+40|0;f=F[a+72>>2];m=F[a+68>>2];h=Ga-48|0;Ga=h;q=F[a+16>>2];a:{if(F[q>>2]>0){n=F[q+208>>2];while(1){if(!tm(h,0,q,u,c,d,f,m,e)){g=163632;break a}g=n;if(g){while(1){p=0;i=F[g>>2];if(!(F[i+16>>2]!=F[h>>2]|F[i+20>>2]!=F[h+4>>2]|(F[i+24>>2]!=F[h+8>>2]|F[i+28>>2]!=F[h+12>>2]))){p=F[i+32>>2]==F[h+16>>2]}b:{if(!p){break b}j=F[i+40>>2];if((j|0)!=F[h+24>>2]){break b}if(j){k=F[i+36>>2];p=F[h+20>>2];if(F[k>>2]!=F[p>>2]|F[k+4>>2]!=F[p+4>>2]){break b}l=0;t=1;while(1){c:{d:{e:{o=l<<4;r=o+k|0;if(!F[r+8>>2]){r=F[r+12>>2];o=p+o|0;if(!F[o+8>>2]){break e}if((r|0)!=-1){break d}break c}o=p+o|0;if(F[o+8>>2]|F[o+12>>2]!=-1){break d}break c}if((r|0)==-1^F[o+12>>2]==-1){break c}}l=l+1|0;t=j>>>0>l>>>0;if((j|0)==(l|0)){break c}o=l<<4;r=o+k|0;o=p+o|0;if(F[r>>2]!=F[o>>2]){break c}if(F[r+4>>2]==F[o+4>>2]){continue}}break}if(t){break b}}if((G[i+44|0]|G[i+45|0]<<8|(G[i+46|0]<<16|G[i+47|0]<<24))!=(G[h+28|0]|G[h+29|0]<<8|(G[h+30|0]<<16|G[h+31|0]<<24))|(G[i+48|0]|G[i+49|0]<<8|(G[i+50|0]<<16|G[i+51|0]<<24))!=(G[h+32|0]|G[h+33|0]<<8|(G[h+34|0]<<16|G[h+35|0]<<24))|F[i+52>>2]!=F[h+36>>2]){break b}g=F[g>>2];if(!g){g=0;break a}if(!F[g>>2]){break a}F[g>>2]=F[g>>2]+1;break a}g=F[g+4>>2];if(g){continue}break}}g=sm(q,u,c,d,f,m,e);i=ib(1,8);if(!i){break a}F[i+4>>2]=n;F[i>>2]=g;p=F[q+208>>2];n=(p|0)==(n|0);F[q+208>>2]=n?i:p;if(n){if(!g){g=0;break a}if(!F[g>>2]){break a}F[g>>2]=F[g>>2]+1;break a}$g(g);Ta(i);n=F[q+208>>2];if(F[q>>2]>0){continue}break}}g=sm(q,u,c,d,f,m,e)}Ga=h+48|0;i=d;d=b;f:{g:{if(!F[d+68>>2]){break g}b=0;if(F[g>>2]<=0){break f}n=F[g+52>>2];if((n|0)==785){h:{if(F[a+96>>2]){break h}while(1){b=0;if(!F[a+92>>2]){break f}b=F[a+96>>2];F[a+96>>2]=b?b:1;if(!b){break h}if(!F[a+96>>2]){continue}break}}b=0;if(wm(g,a,d,c,i)){break g}break f}if((n|0)!=786){break f}i:{if(F[a+100>>2]){break i}while(1){b=0;if(!F[a+92>>2]){break f}b=F[a+100>>2];F[a+100>>2]=b?b:1;if(!b){break i}if(!F[a+100>>2]){continue}break}}b=0;if(!ai(g,a,d,c,i)){break f}}b=1;if(F[d+36>>2]!=1){break f}F[d+36>>2]=2}$g(g);if(s){if(b){u=b;n=a;q=c;p=i;f=Ga-80|0;Ga=f;i=1;b=1;g=d;j:{if(I[d+20>>2]>1){break j}b=F[g+40>>2];if(f+48|0){F[f+48>>2]=F[g+68>>2]}d=F[g+80>>2];i=F[f+48>>2];k:{if(i>>>0>=2){a=F[d+8>>2];h=(b&-3)==4;b=1;while(1){c=a;a=F[(d+L(b,20)|0)+8>>2];if(!((c|0)==(a|0)|h^a>>>0<=c>>>0)){od(g,n,105368,0);i=0;break k}b=b+1|0;if((i|0)!=(b|0)){continue}break}}i=1}b=1;if(I[g+20>>2]>1){break j}d=be(g);a=d;b=F[a+16>>2]&-33;if(F[a+4>>2]){F[a+16>>2]=b}h=be(g);a=h;b=F[a+16>>2]&-33;if(F[a+4>>2]){F[a+16>>2]=b}if(f+48|0){F[f+48>>2]=F[g+68>>2]}m=F[g+80>>2];if(f+72|0){F[f+72>>2]=F[s+68>>2]}t=F[s+80>>2];a=F[g+40>>2];l:{m:{l=F[f+48>>2];if(l-1>>>0<=4294967293){a=a&-3;o=(a|0)!=4;r=o?-1:0;k=1;j=(a|0)==4;c=j?0:F[f+72>>2];a=c;while(1){n:{if(l>>>0>k>>>0){b=m+L(k,20)|0;if(D[(m+L(k+r|0,20)|0)+4|0]&1|F[b+8>>2]==F[b-12>>2]){break n}}o:{if((l|0)==(k|0)){b=j?c:0;a=j?F[f+72>>2]:a;break o}if(!o){b=F[f+72>>2];if(b>>>0<=a>>>0){b=c;break o}l=F[(m+L(k,20)|0)+8>>2];while(1){if(l>>>0<=I[(t+L(a,20)|0)+8>>2]){b=c;break o}a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b;b=c;break o}l=F[(m+L(k,20)|0)-12>>2];while(1){b=c;if(!b){b=0;break o}c=b-1|0;if(l>>>0<=I[(t+L(c,20)|0)+8>>2]){continue}break}}if(F[d+4>>2]){F[d+36>>2]=0;F[d+40>>2]=0;F[d+72>>2]=0;F[d+64>>2]=0;F[d+68>>2]=0;D[d+62|0]=0;E[d+60>>1]=1;F[d+144>>2]=0;F[d+92>>2]=0;F[d+96>>2]=0;F[d+52>>2]=0;F[d+56>>2]=0;F[d+44>>2]=0;F[d+48>>2]=0;F[d+84>>2]=F[d+80>>2];F[d+100>>2]=0;F[d+104>>2]=0;F[d+108>>2]=0;F[d+112>>2]=0;F[d+116>>2]=0;F[d+120>>2]=0;F[d+124>>2]=0;F[d+128>>2]=0;F[d+132>>2]=0;F[d+136>>2]=0;D[d+140|0]=0}c=F[d+16>>2];c=b?c&-2:c;c=I[f+72>>2]>a>>>0?c&-3:c;if(F[d+4>>2]){F[d+16>>2]=c}ld(d,s,b,a);if(!wf(n,d,q,p,e)){break m}ld(h,d,0,-1);l=F[f+48>>2];a=j?a:b;c=a}k=k+1|0;if(k>>>0>>0){continue}break}}b=0;if(!li(h,g)){b=1;break l}od(g,n,105757,0);pi(g);ld(g,h,0,-1);break l}b=0;od(g,n,105513,0)}nd(h);nd(d)}t=b&i;p:{q:{r:{s:{if(G[g+16|0]&64){i=1;b=1;if(I[g+20>>2]<=1){m=be(g);F[f+72>>2]=m;j=be(g);F[f+76>>2]=j;a=F[m+16>>2]&-33;if(F[m+4>>2]){F[m+16>>2]=a}a=F[j+16>>2]&-33;if(F[j+4>>2]){F[j+16>>2]=a}h=be(g);a=F[h+16>>2]&-33;if(F[h+4>>2]){F[h+16>>2]=a}a=F[g+44>>2];F[f+48>>2]=F[g+40>>2];F[f+52>>2]=a;F[f+64>>2]=F[g+56>>2];a=F[g+52>>2];F[f+56>>2]=F[g+48>>2];F[f+60>>2]=a;if(F[m+4>>2]){a=F[f+52>>2];F[m+40>>2]=F[f+48>>2];F[m+44>>2]=a;F[m+56>>2]=F[f+64>>2];a=F[f+60>>2];F[m+48>>2]=F[f+56>>2];F[m+52>>2]=a}if(F[j+4>>2]){a=F[f+52>>2];F[j+40>>2]=F[f+48>>2];F[j+44>>2]=a;F[j+56>>2]=F[f+64>>2];a=F[f+60>>2];F[j+48>>2]=F[f+56>>2];F[j+52>>2]=a}if(F[h+4>>2]){a=F[f+52>>2];F[h+40>>2]=F[f+48>>2];F[h+44>>2]=a;F[h+56>>2]=F[f+64>>2];a=F[f+60>>2];F[h+48>>2]=F[f+56>>2];F[h+52>>2]=a}if(f+44|0){F[f+44>>2]=F[g+68>>2]}o=F[g+80>>2];if(f+40|0){F[f+40>>2]=F[s+68>>2]}v=F[s+80>>2];r=F[g+40>>2]&-3;if((r|0)!=4){md(g)}k=F[f+44>>2];if(k-1>>>0<4294967294){c=1;l=0;b=0;a=0;while(1){d=a;t:{u:{if(c>>>0>=k>>>0){break u}a=o+L(c,20)|0;if(F[a+8>>2]==F[a-12>>2]){a=d;break t}if(!(G[a+4|0]&2)){break u}a=d;break t}v:{if((c|0)==(k|0)){a=F[f+40>>2];break v}a=F[f+40>>2];if(b>>>0>=a>>>0){a=b;break v}k=F[(o+L(c,20)|0)+8>>2];while(1){if(k>>>0<=I[(v+L(b,20)|0)+8>>2]){a=b;break v}b=b+1|0;if((b|0)!=(a|0)){continue}break}}ld(F[(f+72|0)+(l<<2)>>2],s,d,a);l=1-l|0;k=F[f+44>>2];b=a}c=c+1|0;if(c>>>0>>0){continue}break}}w:{if(!wf(n,m,q,p,e)){b=0;od(g,n,105513,0);break w}if(!wf(n,j,q,p,e)){b=0;od(g,n,105513,0);break w}if((r|0)!=4){md(m);md(j)}F[f+32>>2]=0;F[f+36>>2]=0;if(f+24|0){F[f+24>>2]=F[m+68>>2]}F[f+16>>2]=F[m+80>>2];if(f+28|0){F[f+28>>2]=F[j+68>>2]}F[f+20>>2]=F[j+80>>2];x:{d=F[f+24>>2];if(!(d|F[f+28>>2])){break x}l=0;while(1){c=l<<2;q=c+(f+32|0)|0;e=F[q>>2];b=e+1|0;y:{if(d>>>0<=b>>>0){break y}p=F[c+(f+16|0)>>2];a=F[(p+L(e,20)|0)+8>>2];while(1){v=a;k=p+L(b,20)|0;a=F[k+8>>2];if(G[k+4|0]&2?0:(v|0)!=(a|0)){break y}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}ld(h,F[c+(f+72|0)>>2],e,b);F[q>>2]=b;if(I[f+28>>2]<=I[f+36>>2]&I[f+32>>2]>=I[f+24>>2]){break x}l=1-l|0;d=F[(f+24|0)+(l<<2)>>2];continue}}if((r|0)!=4){md(g);md(h)}b=0;if(!li(h,g)){b=1;break w}od(g,n,105930,0);pi(g);ld(g,h,0,-1)}nd(h);nd(m);nd(j)}if(!(b&t)){break s}break r}i=1;if(t){break r}}d=F[s+68>>2];F[f+48>>2]=d;b=0;c=L(d,10)+16|0;a=(c|0)>0;c=a?c:0;z:{if(a){while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}a=0;if((b|0)==-1){break z}b=nb(b);if(!b){break z}Wa(b,0,c)}F[61902]=0;ta(596,s|0,0,d|0,b|0,c|0,f+48|0,1413830740,1)|0;a=F[61902];F[61902]=0;if((a|0)==1){break q}F[f>>2]=b;F[61902]=0;ba(597,g|0,n|0,105206,f|0);a=F[61902];F[61902]=0;if((a|0)==1){break q}a=b}Ta(a);i=0}Ga=f+80|0;break p}a=Z()|0;Y()|0;Ta(b);$(a|0);V()}b=i?u:0}else{b=0}nd(s)}return b}function nw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=Ga+-64|0;Ga=f;F[f+40>>2]=0;g=G[a+48|0];a:{if(!(F[a+536>>2]|!g)){e=8;break a}e=F[a+540>>2];d=F[e>>2];if(!d){h=F[a>>2];F[e+4>>2]=33;d=gb(h,552,f+40|0);F[F[a+540>>2]>>2]=d;e=64;if(F[f+40>>2]){break a}F[d>>2]=h;if(!g){F[d+548>>2]=F[F[a+532>>2]+3088>>2]}F[d+152>>2]=0;F[d+156>>2]=0;e=d+168|0;F[e>>2]=0;F[e+4>>2]=0;F[d+160>>2]=0;F[d+164>>2]=0;F[d+148>>2]=34;F[d+144>>2]=35;F[d+156>>2]=36;F[d+168>>2]=d+4;F[d+164>>2]=h}F[d+176>>2]=a;F[d+172>>2]=a;h=F[a+4>>2];m=D[F[h+128>>2]+56|0];e=F[h+96>>2];k=G[e+32|0];F[f+8>>2]=0;F[f+12>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+36>>2]=b;F[f+28>>2]=b;F[f>>2]=0;F[f+4>>2]=0;F[f+24>>2]=0;F[f+32>>2]=b?b+c|0:0;b=F[a+8>>2];l=G[b+161|0];i=G[b+160|0];b:{if(i){n=(F[b+164>>2]+32|0)/64|0;F[f>>2]=n;b=(F[b+168>>2]+32|0)/64|0;break b}n=1024;F[f>>2]=1024;b=1024}F[f+12>>2]=b;c=0;c=g?c:G[h+732|0];D[d+8|0]=g;D[d+9|0]=c;c=(i|0)!=0;F[d+12>>2]=c;if(!(!l|(k|(m|0)>=0?m:0))){F[d+12>>2]=c|2}F[d+188>>2]=F[e+36>>2];F[d+192>>2]=F[e+40>>2];F[d+196>>2]=F[e+44>>2];F[d+200>>2]=F[e+48>>2];F[d+204>>2]=F[e+52>>2];F[d+208>>2]=F[e+56>>2];F[d+212>>2]=F[e+60>>2];F[d+216>>2]=F[e- -64>>2];c=H[F[a+4>>2]+68>>1];F[d+132>>2]=c;if(l){e=36;if((n|0)<=0|(b|0)<=0){break a}e=164;if(c<<16>>16<0){break a}a=_a(131072e3,c<<16);if((a|0)<(n|0)|(a|0)<(b|0)){break a}a=F[d+176>>2]}F[f+48>>2]=0;F[f+52>>2]=0;e=0;F[f+44>>2]=0;b=F[d+136>>2];m=F[d+140>>2];F[f+60>>2]=0;F[f+56>>2]=0;F[d+4>>2]=0;c=F[a+536>>2];if((c|0)!=F[d+180>>2]){F[d+180>>2]=c;e=1}c:{d:{if(!(G[d+8|0]|!F[F[a+532>>2]+3112>>2])){g=F[d+548>>2];h=F[a+4>>2];h=Ia[F[F[h+548>>2]+40>>2]](h,f+60|0,0,f+56|0,0)|0;F[d+4>>2]=h;if(h){break d}if(Ia[F[g+12>>2]](c+556|0,F[c+548>>2],F[f+60>>2],F[f+56>>2])|0){Ia[F[g+4>>2]](F[a+532>>2],c,F[f+60>>2],F[f+56>>2])|0;e=1}g=F[c+560>>2];D[d+93|0]=0;F[d+96>>2]=g;F[d+120>>2]=F[c+548>>2];F[d+124>>2]=F[f+60>>2];F[d+128>>2]=F[f+56>>2]}g=H[F[F[a+4>>2]+88>>2]+14>>1]<<16;if((g|0)!=F[d+88>>2]){F[d+88>>2]=g;e=1}c=F[d+12>>2];D[d+184|0]=c&1;e:{f:{g:{if(!hc(f,d+16|0,16)){n=d+186|0;c=c&2;if((c|0)!=G[d+186|0]){break g}if(e){break f}break e}e=F[f+4>>2];F[d+16>>2]=F[f>>2];F[d+20>>2]=e;e=F[f+12>>2];F[d+24>>2]=F[f+8>>2];F[d+28>>2]=e;F[d+32>>2]=0;F[d+36>>2]=0;e=F[f+4>>2];F[d+40>>2]=F[f>>2];F[d+44>>2]=e;e=F[f+12>>2];F[d+48>>2]=F[f+8>>2];F[d+52>>2]=e;e=F[f+20>>2];F[d+56>>2]=F[f+16>>2];F[d+60>>2]=e;F[d+72>>2]=0;F[d+76>>2]=65536;F[d+64>>2]=65536;F[d+68>>2]=0;n=d+186|0;c=c&2;if((c|0)==G[d+186|0]){break f}}D[n|0]=c>>>1}c=F[F[a+536>>2]+400>>2]<<16;F[d+220>>2]=c;e=F[d+132>>2];l=e?e:1e3;e=65536e3/(l|0)|0;if((c|0)<=0){c=_a(4915200,e);F[d+220>>2]=c}h=d+188|0;g=(g|0)>262144?g:262144;h:{if((b|0)>0){c=l<<16;if((_a(c,g)|0)>=(b|0)){b=_a(c,g)}F[d+228>>2]=0;if(!b|(e|0)<655){break h}F[d+228>>2]=(b|0)/2;break h}Fk(e,g,c,d+228|0,0,G[d+186|0],h)}b=F[F[a+536>>2]+396>>2];i:{if(b<<16>0){a=4915200;if(F[d+220>>2]>b<<17){break i}}a=7208960}a=_a(a,e);F[d+224>>2]=a;Fk(e,g,a,d+232|0,m,G[d+186|0],h);a=1;a=F[d+228>>2]?a:F[d+232>>2]!=0;h=0;D[d+236|0]=0;D[d+185|0]=a;a=F[d+176>>2];q=Wa(d+244|0,0,304);F[d+240>>2]=F[d+52>>2];u=d,v=_a(F[F[a+536>>2]+384>>2],65536e3),F[u+252>>2]=v;g=F[a+536>>2];F[d+256>>2]=F[g+388>>2]<<16;F[d+260>>2]=F[g+392>>2]<<16;r=G[g+191|0];m=G[g+190|0];l=G[g+189|0];b=G[g+188|0];j:{k:{if(F[g+524>>2]==1){l:{switch(b|0){case 4:if(F[g+192>>2]<<16>-7864321|F[g+196>>2]<<16>-7864321|(F[g+200>>2]<<16<57671681|F[g+204>>2]<<16<57671681)){break k}break;case 0:break l;default:break k}}F[d+296>>2]=-7864321;a=Ua(-7864321,F[d+240>>2]);F[d+288>>2]=49;b=F[d+240>>2];F[d+304>>2]=b;F[d+300>>2]=(a+32768&-65536)-32768;a=(F[d+232>>2]<<1)+57671681|0;F[d+276>>2]=a;a=Ua(a,b);F[d+268>>2]=50;D[d+249|0]=1;F[d+284>>2]=F[d+240>>2];F[d+280>>2]=a+32768&-65536|32768;break e}if(!b){break j}}c=F[d+244>>2];a=L(c,20)+d|0;h=F[g+192>>2]<<16;F[a+308>>2]=h;e=F[g+196>>2]<<16;F[a+312>>2]=e;h=e-h|0;m:{if((h|0)<0){h=0;break m}F[a+316>>2]=e;D[a+324|0]=1;c=c+1|0;F[d+244>>2]=c}e=2;if(b>>>0<=2){break j}k=g+192|0;while(1){a=L(c,20)+d|0;j=e<<2;i=F[j+k>>2]<<16;F[a+308>>2]=i;j=F[k+(j|4)>>2]<<16;F[a+312>>2]=j;o=j-i|0;if((o|0)>=0){p=j;j=F[d+232>>2]<<1;F[a+312>>2]=p+j;i=i+j|0;F[a+308>>2]=i;F[a+316>>2]=i;D[a+324|0]=0;c=c+1|0;F[d+244>>2]=c;h=(h|0)<(o|0)?o:h}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(l){b=F[q>>2];c=g+248|0;e=0;while(1){a=L(b,20)+d|0;k=e<<2;i=F[k+c>>2]<<16;F[a+308>>2]=i;k=F[c+(k|4)>>2]<<16;F[a+312>>2]=k;i=k-i|0;if((i|0)>=0){F[a+316>>2]=k;D[a+324|0]=1;b=b+1|0;F[d+244>>2]=b;h=(h|0)<(i|0)?i:h}e=e+2|0;if(l>>>0>e>>>0){continue}break}}l=_a(65536,F[d+240>>2]);o=F[d+244>>2];if(o){k=0;t=m>>>0<3;while(1){a=L(k,20)+d|0;i=a;e=F[a+316>>2];n:{if(G[a+324|0]){a=0;c=2147483647;o:{if(!r){break o}while(1){j=F[(g+(a<<2|4)|0)+344>>2]<<16;p=e-j|0;b=p>>31;p:{b=(b^p)-b|0;if((b|0)>=(c|0)|(b|0)>=(l|0)){break p}F[i+316>>2]=j;c=b;if((e|0)!=(j|0)){break p}c=0;break o}a=a+2|0;if(r>>>0>a>>>0){continue}break}}if(m>>>0<2){break n}b=F[g+292>>2]<<16;e=e-b|0;a=e>>31;a=(a^e)-a|0;if((a|0)>=(c|0)|(a|0)>=(l|0)){break n}F[i+316>>2]=b;break n}if(t){break n}p=F[d+232>>2]<<1;a=2;c=2147483647;while(1){j=(F[(g+(a<<2)|0)+288>>2]<<16)+p|0;s=e-j|0;b=s>>31;b=(b^s)-b|0;if(!((b|0)>=(c|0)|(b|0)>=(l|0))){F[i+316>>2]=j;c=b;if((e|0)==(j|0)){break n}}a=a+2|0;if(m>>>0>a>>>0){continue}break}}k=k+1|0;if((o|0)!=(k|0)){continue}break}}q:{if((h|0)<=0){break q}if(F[d+252>>2]<=(_a(65536,h)|0)){break q}u=d,v=_a(65536,h),F[u+252>>2]=v}a=F[d+240>>2];b=F[d+252>>2];if((a|0)<(b|0)){D[d+248|0]=1;a=bb(39322,a,b);F[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(G[n|0]){F[d+264>>2]=0}if(!F[q>>2]){break e}c=d+240|0;a=0;while(1){b=c+L(a,20)|0;e=G[b+84|0];i=b;j=Ua(F[b+76>>2],F[d+240>>2]);b=F[d+264>>2];F[i+80>>2]=(j+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}if(F[d+4>>2]){break d}D[d+236|0]=0;b=d+144|0;a=G[d+185|0];while(1){F[d+160>>2]=0;fd(F[F[d+172>>2]+12>>2]);oe(d,f+24|0,b,f+48|0,0,0,0,f+44|0);if(F[d+4>>2]){break d}if(!(!(a&255)|F[d+160>>2]>=0)){D[d+236|0]=1;a=0;continue}break}g=F[d+172>>2];a=F[g+20>>2];r:{if(!a){break r}s:{t:{b=H[a>>1];e=b<<16>>16;if((e|0)>=2){b=E[(F[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break t}b=0;if(e){break t}c=H[a+2>>1];break s}c=E[a+2>>1];if((c|0)!=(b|0)){break s}E[a>>1]=e-1;break r}u:{if(c<<16>>16<2){break u}h=F[a+4>>2];n=h+(b<<3)|0;m=c&65535;h=(h+(m<<3)|0)-8|0;if(F[n>>2]!=F[h>>2]|F[n+4>>2]!=F[h+4>>2]|G[(m+F[a+8>>2]|0)-1|0]!=1){break u}c=c-1|0;E[a+2>>1]=c}if((e|0)<=0){break r}i=b;b=(c<<16>>16)-1|0;if((i|0)==(b|0)){E[a+2>>1]=c-1;E[a>>1]=e-1;break r}E[(F[a+12>>2]+(e<<1)|0)-2>>1]=b}re(F[g+12>>2]);if(!F[d+4>>2]){break c}}e=3;break a}a=F[f+44>>2];e=0;F[d+4>>2]=0;b=F[d+172>>2];if(G[b+48|0]){break a}F[F[b+544>>2]>>2]=a+32768>>16}Ga=f- -64|0;return e|0}function bi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{i=F[b+4>>2];if(i>>>0>a>>>0){break a}g=F[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}d=F[b+12>>2];c=d-4|0;F[b+12>>2]=c;if(G[a|0]|G[a+1|0]<<8|(c|0)<=0){break a}c=a+2|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<2){break a}e=d-6|0;F[b+12>>2]=e;o=1;if((e|0)<=0){break a}d=G[a+2|0]|G[a+3|0]<<8;b:{if(!d){break b}c=a+4|0;if(c>>>0>>0|c>>>0>g>>>0){break a}f=g-c|0;d=(d<<8|d>>>8)&65535;c=d<<3;if(f>>>0>>0){break a}c=e-c|0;F[b+12>>2]=c;o=0;if((c|0)<=0){break b}u=d>>>0>1?d:1;while(1){o=0;g=((t<<3)+a|0)+4|0;e=F[b+4>>2];c:{if(g>>>0>>0){break c}i=F[b+8>>2];if(i>>>0>>0|i-g>>>0<8){break c}d=F[b+12>>2];c=d-8|0;F[b+12>>2]=c;if((c|0)<=0){break c}q=g+4|0;if(e>>>0>q>>>0|i>>>0>>0|i-q>>>0<4){break c}c=d-12|0;F[b+12>>2]=c;if((c|0)<=0){break c}c=D[g+4|0];e=G[g+7|0]|(G[g+5|0]<<16|c<<24|G[g+6|0]<<8);c=(e|0)!=0&(c|0)<0;o=!c;if(c|!e){break c}o=1;d=0;s=Ga-16|0;Ga=s;i=F[b+4>>2];f=a+e|0;d:{if(i>>>0>f>>>0){break d}h=F[b+8>>2];if(h>>>0>>0){break d}g=h-f|0;if(g>>>0<2){break d}e=F[b+12>>2];c=e-2|0;F[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break d}e:{f:{g:{h:{i:{j:{k:{c=G[f|0]|G[f+1|0]<<8;switch((c<<8|c>>>8)&65535){case 10:break h;case 6:break i;case 4:break j;case 0:break k;case 14:break e;case 13:break f;case 12:break g;default:break d}}d=0;if(g>>>0<262){break d}c=e-264|0;F[b+12>>2]=c;d=(c|0)>0;break d}if(g>>>0<14){d=0;break d}e=e-16|0;F[b+12>>2]=e;d=0;if((e|0)<=0){break d}d=G[f+2|0]|G[f+3|0]<<8;l:{if(!d){d=0;break l}c=(d<<8|d>>>8)&65535;if(c>>>0<=g>>>0){c=e-c|0;F[b+12>>2]=c;if((c|0)>0){break l}}d=0;c=F[b+28>>2];if(c>>>0>31){break d}F[b+28>>2]=c+1;if(!G[b+24|0]){break d}c=g>>>0<65535?g:65535;d=c<<8|(c&65280)>>>8;D[f+2|0]=d;D[f+3|0]=d>>>8}c=G[f+6|0]|G[f+7|0]<<8;d=(((c<<8|c>>>8)&65535)<<2)+16>>>0<=((d<<8|(d&65280)>>>8)&65535)>>>0;break d}if(g>>>0<10){d=0;break d}c=e-12|0;F[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+8|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<2){d=0;break d}e=e-14|0;F[b+12>>2]=e;if((e|0)<=0){d=0;break d}d=G[f+8|0]|G[f+9|0]<<8;if(d){c=f+10|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=((d<<8|d>>>8)&65535)<<1;if(f>>>0>>0){d=0;break d}c=e-c|0;F[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<20){d=0;break d}c=e-22|0;F[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+16|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<4){d=0;break d}e=e-26|0;F[b+12>>2]=e;if((e|0)<=0){d=0;break d}c=G[f+16|0]|G[f+17|0]<<8|(G[f+18|0]<<16|G[f+19|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0>2147483646){d=0;break d}if(d){c=f+20|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=d<<1;if(f>>>0>>0){d=0;break d}c=e-c|0;F[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<16){d=0;break d}c=e-18|0;F[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+12|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<4){d=0;break d}e=e-22|0;F[b+12>>2]=e;if((e|0)<=0){d=0;break d}c=G[f+12|0]|G[f+13|0]<<8|(G[f+14|0]<<16|G[f+15|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0>357913940){d=0;break d}if(d){c=f+16|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=L(d,12);if(f>>>0>>0){d=0;break d}c=e-c|0;F[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<16){d=0;break d}c=e-18|0;F[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+12|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<4){d=0;break d}e=e-22|0;F[b+12>>2]=e;if((e|0)<=0){d=0;break d}c=G[f+12|0]|G[f+13|0]<<8|(G[f+14|0]<<16|G[f+15|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0>357913940){d=0;break d}if(d){c=f+16|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=L(d,12);if(f>>>0>>0){d=0;break d}c=e-c|0;F[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<=9){d=0;break d}c=e-12|0;F[b+12>>2]=c;if((c|0)<=0){d=0;break d}F[s+12>>2]=f;d=0;k=f+6|0;h=F[b+4>>2];m:{n:{if(k>>>0>>0){break n}g=F[b+8>>2];if(g>>>0>>0|g-k>>>0<4){break n}i=F[b+12>>2]-4|0;F[b+12>>2]=i;if((i|0)<=0){break n}c=G[k|0]|G[k+1|0]<<8|(G[k+2|0]<<16|G[k+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>390451571){break n}c=1;if(!e){break m}c=k+4|0;if(c>>>0>>0|c>>>0>g>>>0){break n}f=g-c|0;c=L(e,11);if(f>>>0>>0){break n}c=i-c|0;F[b+12>>2]=c;if((c|0)<=0){break n}d=1;c=G[k|0]|G[k+1|0]<<8|(G[k+2|0]<<16|G[k+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!g){break n}d=0;e=k+4|0;if(h>>>0>e>>>0){break n}r=0;while(1){c=F[b+8>>2];if(c>>>0>>0|c-e>>>0<11){break n}l=F[s+12>>2];c=F[b+12>>2]-11|0;F[b+12>>2]=c;if((c|0)<=0){break n}m=0;i=k+L(r,11)|0;n=i+7|0;f=F[b+4>>2];o:{if(n>>>0>>0){break o}j=F[b+8>>2];if(j>>>0>>0|j-n>>>0<4){break o}e=F[b+12>>2];c=e-4|0;F[b+12>>2]=c;if((c|0)<=0){break o}c=D[n|0];h=G[n+3|0]|(G[n+1|0]<<16|c<<24|G[n+2|0]<<8);c=(h|0)!=0&(c|0)<0;m=!c;if(!h|c){break o}p=h+l|0;p:{if(p>>>0>>0|j>>>0

>>0|j-p>>>0<4){break p}h=e-8|0;F[b+12>>2]=h;if((h|0)<=0){break p}c=G[p|0]|G[p+1|0]<<8|(G[p+2|0]<<16|G[p+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>1073741822){break p}m=1;if(!e){break o}c=p+4|0;if(c>>>0>>0|c>>>0>j>>>0){break p}f=j-c|0;c=e<<2;if(f>>>0>>0){break p}c=h-c|0;F[b+12>>2]=c;if((c|0)>0){break o}}m=0;c=F[b+28>>2];if(c>>>0>31){break o}F[b+28>>2]=c+1;if(!G[b+24|0]){break o}D[n|0]=0;D[n+1|0]=0;D[n+2|0]=0;D[n+3|0]=0;m=1}if(!m){break n}m=0;j=i+11|0;h=F[b+4>>2];q:{if(j>>>0>>0){break q}f=F[b+8>>2];if(f>>>0>>0|f-j>>>0<4){break q}e=F[b+12>>2];c=e-4|0;F[b+12>>2]=c;if((c|0)<=0){break q}c=D[j|0];i=G[j+3|0]|(G[j+1|0]<<16|c<<24|G[j+2|0]<<8);c=(i|0)!=0&(c|0)<0;m=!c;if(!i|c){break q}l=i+l|0;r:{if(l>>>0>>0|f>>>0>>0|f-l>>>0<4){break r}i=e-8|0;F[b+12>>2]=i;if((i|0)<=0){break r}c=G[l|0]|G[l+1|0]<<8|(G[l+2|0]<<16|G[l+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>858993458){break r}m=1;if(!e){break q}c=l+4|0;if(c>>>0>>0|c>>>0>f>>>0){break r}f=f-c|0;c=L(e,5);if(f>>>0>>0){break r}c=i-c|0;F[b+12>>2]=c;if((c|0)>0){break q}}m=0;c=F[b+28>>2];if(c>>>0>31){break q}F[b+28>>2]=c+1;if(!G[b+24|0]){break q}D[j|0]=0;D[j+1|0]=0;D[j+2|0]=0;D[j+3|0]=0;m=1}if(!m){break n}d=1;r=r+1|0;if((g|0)==(r|0)){break n}d=0;e=(k+L(r,11)|0)+4|0;if(e>>>0>=I[b+4>>2]){continue}break}}c=d}d=c}Ga=s+16|0;if(d){break c}o=0;c=F[b+28>>2];if(c>>>0>31){break c}F[b+28>>2]=c+1;if(!G[b+24|0]){break c}D[q|0]=0;D[q+1|0]=0;D[q+2|0]=0;D[q+3|0]=0;o=1}if(!o){break b}t=t+1|0;if((u|0)!=(t|0)){continue}break}}return o}return 0} -function TB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;F[b>>2]=0;F[b+4>>2]=0;F[b+24>>2]=-1;F[b+28>>2]=-1;F[b+80>>2]=0;F[b+84>>2]=0;F[b+72>>2]=0;F[b+76>>2]=8720;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b+32>>2]=-1;F[b+36>>2]=-1;F[b+40>>2]=-1;F[b+44>>2]=-1;F[b+48>>2]=-1;F[b+52>>2]=-1;F[b+56>>2]=-1;F[b+60>>2]=-1;F[b- -64>>2]=-1;F[b+88>>2]=0;F[b+92>>2]=0;F[b+96>>2]=0;F[b+100>>2]=0;k=G[163632];m=k|256;h=!G[a+16|0];while(1){a:{c=F[a+12>>2];d=c+1|0;i=F[a+4>>2];l=d>>>0<=i>>>0&h;if(!l){break a}b:{c:{if(c>>>0>>0){f=F[a>>2];h=G[f+c|0];if((h|0)==12){c=m;if(d>>>0>=i>>>0){break c}h=G[d+f|0]|256;c=d}if(c>>>0>=i>>>0){c=h;break c}F[a+12>>2]=c+1;break b}D[a+16|0]=1;h=65535;c=k;if((c|0)==12){break b}}D[a+16|0]=1;F[a+12>>2]=i;h=c}d=0;i=Ga-32|0;Ga=i;F[i+20>>2]=0;F[i+12>>2]=0;F[i+16>>2]=0;F[i+24>>2]=F[a+48>>2]+(F[b>>2]^-1);d:{e:{f:{g:{switch(h|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:f=a+24|0;c=F[f>>2];h:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];g=F[40908];F[61608]=g;F[61609]=c;x(0,g|0);x(1,c|0);e=+z();break h}e=K[F[a+36>>2]+(c<<3)>>3];break h}D[a+20|0]=1;c=F[40909];g=F[40908];F[61608]=g;F[61609]=c;x(0,g|0);x(1,c|0);e=+z()}i:{if(N(e)<2147483648){c=~~e;break i}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}j:{k:{l:{m:{n:{o:{p:{q:{r:{switch(h-1|0){default:switch(h-256|0){case 22:break k;case 38:break l;case 21:break m;case 0:break q;default:break j};case 3:break n;case 2:break o;case 1:break p;case 0:break r}}d=1;break j}d=2;break j}d=3;break j}d=4;break j}d=5;break j}d=6;break j}d=7;break j}d=8}F[((d<<2)+b|0)+24>>2]=c;break f;case 290:f=a+24|0;c=F[f>>2];s:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break s}e=K[F[a+36>>2]+(c<<3)>>3];break s}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}t:{if(N(e)<2147483648){c=~~e;break t}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+76>>2]=c;break f;case 286:f=a+24|0;c=F[f>>2];u:{if(c){c=c-1|0;F[a+24>>2]=c;if(I[a+32>>2]<=c>>>0){d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);e=+z();break u}e=K[F[a+36>>2]+(c<<3)>>3];break u}D[a+20|0]=1;c=0;d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);e=+z()}v:{if(N(e)<2147483648){d=~~e;break v}d=-2147483648}if((d|0)<0){D[a+20|0]=1;d=0}F[b+72>>2]=d;d=b- -64|0;w:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){c=F[40909];g=F[40908];F[61608]=g;F[61609]=c;x(0,g|0);x(1,c|0);e=+z();break w}e=K[F[a+36>>2]+(c<<3)>>3];break w}D[a+20|0]=1;c=F[40909];g=F[40908];F[61608]=g;F[61609]=c;x(0,g|0);x(1,c|0);e=+z()}x:{if(N(e)<2147483648){c=~~e;break x}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[d>>2]=c;c=F[a+24>>2];y:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break y}e=K[F[a+36>>2]+(c<<3)>>3];break y}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}z:{if(N(e)<2147483648){c=~~e;break z}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+60>>2]=c;break f;case 16:c=F[a+24>>2];A:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break A}e=K[F[a+36>>2]+(c<<3)>>3];break A}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}B:{if(N(e)<2147483648){c=~~e;break B}c=-2147483648}if((c|0)<0){D[a+20|0]=1;F[b+80>>2]=0;F[a+24>>2]=0;break d}F[b+80>>2]=c;F[a+24>>2]=0;if(c){break e}break d;case 15:c=F[a+24>>2];C:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break C}e=K[F[a+36>>2]+(c<<3)>>3];break C}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}D:{if(N(e)<2147483648){c=~~e;break D}c=-2147483648}if((c|0)<0){D[a+20|0]=1;F[b+84>>2]=0;F[a+24>>2]=0;break d}F[b+84>>2]=c;F[a+24>>2]=0;if(c){break e}break d;case 293:f=a+24|0;c=F[f>>2];E:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break E}e=K[F[a+36>>2]+(c<<3)>>3];break E}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}F:{if(N(e)<2147483648){c=~~e;break F}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+88>>2]=c;break f;case 18:f=a+24|0;c=F[f>>2];G:{if(c){c=c-1|0;F[a+24>>2]=c;if(I[a+32>>2]<=c>>>0){d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);e=+z();break G}e=K[F[a+36>>2]+(c<<3)>>3];break G}D[a+20|0]=1;c=0;d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);e=+z()}H:{if(N(e)<2147483648){d=~~e;break H}d=-2147483648}if((d|0)<0){D[a+20|0]=1;d=0}F[b+92>>2]=d;I:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break I}e=K[F[a+36>>2]+(c<<3)>>3];break I}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}J:{if(N(e)<2147483648){c=~~e;break J}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+96>>2]=c;break f;default:F[a+48>>2]=F[a+12>>2];no(h,a,b);if(!F[a+24>>2]){break e}break d;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break g}}f=a+24|0}F[f>>2]=0}if(G[a+20|0]|(G[a+40|0]|G[a+16|0])|F[a+28>>2]<0){break d}K:{L:{M:{c=F[b+4>>2];if((c|0)>=0){d=F[b+8>>2];f=d+1|0;f=(f|0)>0?f:0;if(f>>>0<=c>>>0){break L}d=c;while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(!(c>>>0>d>>>0|d>>>0>214748363)){c=ob(F[b+12>>2],L(d,20));if(c){break M}}F[b+4>>2]=-1}F[61612]=F[40912];c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;j=246432;break K}F[b+4>>2]=d;F[b+12>>2]=c;d=F[b+8>>2]}if(d>>>0>>0){while(1){F[b+8>>2]=d+1;c=F[b+12>>2]+L(d,20)|0;F[c>>2]=0;F[c+4>>2]=0;F[c+16>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;d=F[b+8>>2];if(f>>>0>d>>>0){continue}break}}F[b+8>>2]=f;d=F[b+12>>2];F[61612]=F[40912];c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;d=(d+L(f,20)|0)-20|0;j=246432;if((d|0)==246432){break K}c=F[i+12>>2];F[d>>2]=F[i+8>>2];F[d+4>>2]=c;F[d+16>>2]=F[i+24>>2];c=F[i+20>>2];F[d+8>>2]=F[i+16>>2];F[d+12>>2]=c;j=d}c=j;F[c>>2]=h;f=F[a+12>>2];d=F[a+4>>2];g=F[a>>2];h=F[b>>2];F[c+12>>2]=0;F[c+4>>2]=h+g;c=d-h|0;c=c>>>0>d>>>0?0:c;h=f-h|0;F[j+8>>2]=c>>>0>>0?c:h;F[b>>2]=F[a+12>>2]}Ga=i+32|0;if(G[a+20|0]|(G[a+40|0]|G[a+16|0])){break a}h=1;if(F[a+28>>2]>=0){continue}}break}return!l|0}function Uw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;k=Ga-48|0;Ga=k;s=6;j=F[a+4>>2];a:{if(!j){break a}r=c?c-1|0:0;if(r>>>0>=I[j+408>>2]){break a}b:{c:{if(d&9){break c}f=F[j+380>>2];if(!f){break c}u=F[j+416>>2];o=F[j+104>>2];c=F[j+388>>2];e=H[b+12>>1];while(1){if(!((e|0)==F[c>>2]&F[c+4>>2]==H[b+14>>1])){c=c+36|0;g=g+1|0;if((f|0)!=(g|0)){continue}break c}break}g=F[c+8>>2];if(Za(o,F[c+24>>2]+F[j+432>>2]|0)){break c}f=g&1;if(tb(o,L(F[c+28>>2],(g>>>2&1)+(g&2?f+5|0:f|4)|0))){break c}m=F[c+8>>2];p=m&1;n=(m&2?p+5|0:p|4)+(m>>>2&1)|0;l=F[(r<<4)+u>>2];g=F[c+28>>2];h=F[o+32>>2];if(!(m&64)){f=F[o+36>>2];q=m|128;F[c+8>>2]=q;d:{e:{f:{e=L(g,n);t=e+h|0;if(f>>>0>=t>>>0){if((e|0)<=0){break d}e=-1;if(p){break f}f=h;while(1){i=e;e=G[f|0];if((i|0)>=(e|0)){break e}f=f+n|0;if(t>>>0>f>>>0){continue}break}break d}q=m&-129;break d}f=h;while(1){i=e;e=G[f+1|0]|G[f|0]<<8;if((i|0)>=(e|0)){break e}f=f+n|0;if(t>>>0>f>>>0){continue}break}break d}q=m&-129}m=q|64;F[c+8>>2]=m}g:{if(!(m&128)){break g}h:{if(!p){c=0;while(1){if(c>>>0>=g>>>0){break g}f=c+g>>>1|0;p=h+L(f,n)|0;e=G[p|0];i=e>>>0>l>>>0;g=i?f:g;c=i?c:e>>>0>>0?f+1|0:c;if((e|0)!=(l|0)){continue}break}f=p+1|0;break h}p=h+2|0;c=0;while(1){if(c>>>0>=g>>>0){break g}e=c+g>>>1|0;f=p+L(e,n)|0;h=f-2|0;h=G[h|0]<<8|G[h+1|0];i=h>>>0>l>>>0;c=i?c:h>>>0>>0?e+1|0:c;g=i?e:g;if((h|0)!=(l|0)){continue}break}}i:{if(m&2){g=G[f+1|0]|G[f|0]<<8;c=f+2|0;break i}g=G[f|0];c=f+1|0}f=G[c|0];j:{if(m&4){h=2;f=G[c+1|0]<<8|f<<16;break j}h=1;f=f<<8}c=G[c+h|0];lb(o);if(!g){break c}e=c|f;F[k+8>>2]=0;F[k+44>>2]=0;F[k+36>>2]=0;F[k+32>>2]=0;F[k+28>>2]=0;i=(r<<4)+u|0;c=F[i+4>>2];h=F[j+304>>2];f=F[j+300>>2];k:{if((h|0)==(f|0)){f=c;break k}f=bb(c,f,h);h=F[j+304>>2];c=F[i+4>>2]}F[a+56>>2]=f;f=bb(H[b+12>>1]<<8,c,h);F[k+40>>2]=f;if(Za(o,e+F[j+188>>2]|0)){break c}if(tb(o,g)){break c}F[k+24>>2]=F[o+32>>2];p=8;h=F[o+36>>2];e=F[k+24>>2];l:{if(h>>>0>>0){break l}m:{n:{o:{p:{q:{q=G[e|0];switch((q&3)-1|0){case 2:break n;case 1:break o;case 0:break p;default:break q}}c=e+2|0;if(h>>>0>>0){break l}e=D[e+1|0];m=e>>4;i=e<<28>>28;break m}c=e+3|0;if(h>>>0>>0){break l}i=D[e+2|0];m=D[e+1|0];break m}c=e+5|0;if(h>>>0>>0){break l}i=G[e+3|0]|G[e+4|0]<<8;i=(i<<8|i>>>8)<<16>>16;e=G[e+1|0]|G[e+2|0]<<8;m=(e<<8|e>>>8)<<16>>16;break m}c=e+7|0;if(h>>>0>>0){break l}i=G[e+6|0]|(G[e+5|0]<<8|G[e+4|0]<<16);m=G[e+3|0]|(G[e+2|0]<<8|G[e+1|0]<<16)}l=q>>>2&3;n=l;r:{s:{switch(l-1|0){case 0:e=c+1|0;if(e>>>0>h>>>0){break l}c=G[c|0];n=c&15;l=c>>>4|0;c=e;break r;case 1:e=c+2|0;if(e>>>0>h>>>0){break l}n=G[c+1|0];l=G[c|0];c=e;break r;case 2:break s;default:break r}}e=c+4|0;if(e>>>0>h>>>0){break l}n=G[c+3|0]|G[c+2|0]<<8;l=G[c+1|0]|G[c|0]<<8;c=e}t:{u:{v:{w:{q=q>>>4|0;switch((q&3)-1|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}e=c+1|0;if(e>>>0>h>>>0){break l}f=D[c|0]<<8;c=e;break t}e=c+2|0;if(e>>>0>h>>>0){break l}c=G[c|0]|G[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break t}e=c+3|0;if(e>>>0>h>>>0){break l}f=G[c+2|0]|(G[c+1|0]<<8|G[c|0]<<16);c=e}F[k+8>>2]=m;F[k+44>>2]=i;F[k+36>>2]=l;F[k+32>>2]=n;F[k+40>>2]=f;F[k+28>>2]=q>>>2;F[k+24>>2]=c;p=0}if(p){break g}x:{y:{z:{A:{e=F[k+28>>2];switch(e|0){case 0:break y;case 2:break z;case 1:break A;default:break g}}c=F[k+32>>2];h=F[k+36>>2];if(L(c,h)>>>0<=L(g,15)>>>0){break x}break g}c=F[k+32>>2];h=F[k+36>>2];if(L(c,h)>>>0>L(g+1>>>1|0,255)>>>0){break g}break x}c=F[k+32>>2];h=F[k+36>>2];if(L(c,h)+7>>>3>>>0>g>>>0){break g}}if((c|0)<0){break g}g=F[k+44>>2];if((g|0)>(2147483647-c|0)){break g}F[a+72>>2]=1651078259;F[a+76>>2]=c;F[a+80>>2]=h;D[a+94|0]=1;F[a+28>>2]=c<<6;i=h<<6;F[a+24>>2]=i;h=h+7>>3;F[a+84>>2]=h;f=F[k+8>>2];F[a+36>>2]=g<<6;F[a+32>>2]=f<<6;l=F[k+40>>2];F[a+48>>2]=0;F[a+44>>2]=0-i>>1;F[a+40>>2]=(l>>2)+32&-64;i=F[b+32>>2];F[a+104>>2]=c+g;F[a+100>>2]=f;F[a+52>>2]=i;if(!(d&4194304)){if(df(a,L(c,h))){break g}d=F[k+24>>2];m=F[o+36>>2];c=G[j+208|0]>>>1&1;j=0;g=F[a+76>>2];B:{if(!g){break B}b=F[a+80>>2];if(!b){break B}f=F[a+84>>2];r=c?f:0-f|0;n=L(b,g);h=F[a+88>>2]+(c?0:L(f,g-1|0))|0;C:{D:{switch(e|0){case 0:a=m-d<<3;l=a>>>0>>0?a:n;if(!l){break B}i=128;f=0;c=h;a=b;g=l;while(1){if(!((g^l)&7)){f=G[d|0];d=d+1|0}j=f<<24>>31&i|j;a=a-1|0;E:{if(!a){D[c|0]=j;j=0;a=b;h=h+r|0;c=h;e=128;break E}e=i>>>1|0;if(i>>>0>1){break E}D[c|0]=j;c=c+1|0;j=0;e=128}i=e;f=f<<1;g=g-1|0;if(g){continue}break};if((i|0)!=128){break C}break B;case 1:if(!n){break B}s=1;g=128;c=h;e=b;l=0;a=0;i=1;while(1){f=a;F:{if(s){while(1){G:{if(!i){i=1;f=l;break G}if(d>>>0>=m>>>0){i=1;f=a;a=g;break F}a=G[d|0];l=a&15;d=d+1|0;i=0;f=a>>>4|0}a=0;if(!f){continue}break}}a=i?g:0}j=a|j;e=e-1|0;H:{if(!e){D[c|0]=j;j=0;e=b;h=h+r|0;c=h;a=128;break H}a=g>>>1|0;if(g>>>0>1){break H}D[c|0]=j;c=c+1|0;j=0;a=128}g=a;s=(f|0)<2;a=f-1|0;n=n-1|0;if(n){continue}break};if((g|0)!=128){break C}break B;case 2:break D;default:break B}}if(!n){break B}f=1;l=128;c=h;g=b;a=0;i=1;while(1){I:{if(!f|d>>>0>=m>>>0){break I}J:{while(1){i=i^1;f=d+1|0;a=G[d|0];if(a){break J}d=f;if((f|0)!=(m|0)){continue}break}a=0;d=m;break I}d=f}j=(i?l:0)|j;g=g-1|0;K:{if(!g){D[c|0]=j;j=0;g=b;h=h+r|0;c=h;e=128;break K}e=l>>>1|0;if(l>>>0>1){break K}D[c|0]=j;c=c+1|0;j=0;e=128}l=e;f=(a|0)<2;a=a-1|0;n=n-1|0;if(n){continue}break}if((l|0)==128){break B}}D[c|0]=j}}lb(o);break b}lb(o)}if(d&16384){break a}g=F[j+416>>2];F[a+72>>2]=1869968492;F[a+108>>2]=0;c=g+(r<<4)|0;f=F[c+8>>2];c=F[c+12>>2];e=F[j+188>>2];h=F[j+104>>2];fd(F[a+188>>2]);F[a+176>>2]=0;s=Ok(a+160|0,h,e,c,f);if(s){break a}c=F[a+188>>2];e=F[c+24>>2];f=a+108|0;F[f>>2]=F[c+20>>2];F[f+4>>2]=e;F[f+16>>2]=F[c+36>>2];e=F[c+32>>2];F[f+8>>2]=F[c+28>>2];F[f+12>>2]=e;c=F[a+124>>2]&-6;F[a+124>>2]=c|4;if(H[b+14>>1]<=23){F[a+124>>2]=c|260}F[a+52>>2]=0;F[a+40>>2]=0;c=F[(g+(r<<4)|0)+4>>2];g=F[j+304>>2];e=F[j+300>>2];if((g|0)!=(e|0)){c=bb(c,e,g)}L:{if(D[j+324|0]&1){F[a+52>>2]=c;g=F[a+40>>2];break L}F[a+40>>2]=c;g=c;c=F[a+52>>2]}F[a+60>>2]=c;F[a+56>>2]=g;F[a+44>>2]=0;F[a+48>>2]=0;if(!(d&1)){d=F[b+20>>2];b=F[b+16>>2];if(E[a+110>>1]>0){c=F[a+112>>2];g=0;while(1){v=c,w=Ua(F[c>>2],b),F[v>>2]=w;v=c,w=Ua(F[c+4>>2],d),F[v+4>>2]=w;c=c+8|0;g=g+1|0;if((g|0)>1]){continue}break}g=F[a+40>>2]}v=a,w=Ua(g,b),F[v+40>>2]=w;v=a,w=Ua(F[a+52>>2],d),F[v+52>>2]=w}ed(f,k+8|0);b=F[k+8>>2];F[a+24>>2]=F[k+16>>2]-b;c=F[k+20>>2];d=F[k+12>>2];F[a+36>>2]=d;F[a+32>>2]=b;F[a+28>>2]=c-d}s=0}Ga=k+48|0;return s|0}function Im(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=F[b+80>>2];u=F[b+68>>2];a:{if(!F[b+132>>2]){break a}while(1){e=F[((g<<2)+b|0)+92>>2];f=F[b+12>>2];f=ch(e,Ia[F[f+24>>2]](f,e,F[f+56>>2])|0);if((f|0)==7){e=0;g=g+1|0;if(g>>>0>2]){continue}break a}break}e=H[(f<<2)+125090>>1]}b:{if(!u){f=-1;break b}f=-1;while(1){n=o+L(l,20)|0;d=ch(F[n>>2],H[n+16>>1]&31);c:{if((d|0)==7){D[n+19|0]=7;break c}t=L(e,24)+(d<<2)|0;g=G[t+125088|0];d:{if(!((g|0)==7|(f|0)==-1)){s=L(f,20);D[(s+o|0)+19|0]=g;e=F[b+68>>2];d=l+1|0;k=d>>>0>e>>>0?e:d;m=k-f|0;if(m>>>0<2){break d}g=F[b+144>>2]|32;F[b+144>>2]=g;if(f>>>0>=k>>>0){break d}j=F[b+80>>2];d=-1;e=f;r=k+(f^-1)|0;if(r>>>0>=3){p=m&-4;h=0;while(1){i=j+L(e,20)|0;q=F[i+8>>2];d=d>>>0>>0?d:q;q=F[i+28>>2];d=d>>>0>>0?d:q;q=F[i+48>>2];d=d>>>0>>0?d:q;i=F[i+68>>2];d=d>>>0>>0?d:i;e=e+4|0;h=h+4|0;if((p|0)!=(h|0)){continue}break}}h=0;i=m&3;if(i){while(1){p=F[(j+L(e,20)|0)+8>>2];d=d>>>0

>>0?d:p;e=e+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(m&1){e=j+s|0;if(F[e+8>>2]!=(d|0)){F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|3}f=f+1|0}if(!r){break d}while(1){e=j+L(f,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|3}e=j+L(f+1|0,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|3}f=f+2|0;if((k|0)!=(f|0)){continue}break}break d}if((f|0)==-1){if(!(G[b+16|0]&64)|d>>>0<2){break d}F[b+144>>2]=F[b+144>>2]|32;f=F[b+68>>2];e=l+1|0;h=f>>>0>>0?f:e;if(!G[b+61|0]){if(!h){break d}f=F[b+80>>2];e=0;d=0;if(h-1>>>0>=3){j=h&-4;g=0;while(1){k=f+L(d,20)|0;F[k+4>>2]=F[k+4>>2]|2;k=f+L(d|1,20)|0;F[k+4>>2]=F[k+4>>2]|2;k=f+L(d|2,20)|0;F[k+4>>2]=F[k+4>>2]|2;k=f+L(d|3,20)|0;F[k+4>>2]=F[k+4>>2]|2;d=d+4|0;g=g+4|0;if((j|0)!=(g|0)){continue}break}}g=h&3;if(!g){break d}while(1){h=f+L(d,20)|0;F[h+4>>2]=F[h+4>>2]|2;d=d+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break d}j=F[b+72>>2];e:{if(!j){break e}f=F[b+84>>2];e=0;d=0;if(j-1>>>0>=3){k=j&-4;g=0;while(1){m=f+L(d,20)|0;F[m+4>>2]=F[m+4>>2]|2;m=f+L(d|1,20)|0;F[m+4>>2]=F[m+4>>2]|2;m=f+L(d|2,20)|0;F[m+4>>2]=F[m+4>>2]|2;m=f+L(d|3,20)|0;F[m+4>>2]=F[m+4>>2]|2;d=d+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}g=j&3;if(!g){break e}while(1){j=f+L(d,20)|0;F[j+4>>2]=F[j+4>>2]|2;d=d+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}d=F[b+64>>2];if(h>>>0<=d>>>0){break d}g=h+(d^-1)|0;e=F[b+80>>2];f=0;j=h-d&3;if(j){while(1){k=e+L(d,20)|0;F[k+4>>2]=F[k+4>>2]|2;d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(g>>>0<3){break d}while(1){f=e+L(d,20)|0;F[f+4>>2]=F[f+4>>2]|2;F[f+24>>2]=F[f+24>>2]|2;F[f+44>>2]=F[f+44>>2]|2;f=f- -64|0;F[f>>2]=F[f>>2]|2;d=d+4|0;if((h|0)!=(d|0)){continue}break}break d}if(!(G[b+16|0]&64)|d>>>0<=1&e-2>>>0>3){break d}e=F[b+68>>2];d=l+1|0;k=d>>>0>e>>>0?e:d;m=k-f|0;if(m>>>0<2){break d}g=F[b+144>>2]|32;F[b+144>>2]=g;if(f>>>0>=k>>>0){break d}j=F[b+80>>2];d=-1;e=f;s=k+(f^-1)|0;if(s>>>0>=3){r=m&-4;h=0;while(1){i=j+L(e,20)|0;p=F[i+8>>2];d=d>>>0

>>0?d:p;p=F[i+28>>2];d=d>>>0

>>0?d:p;p=F[i+48>>2];d=d>>>0

>>0?d:p;i=F[i+68>>2];d=d>>>0>>0?d:i;e=e+4|0;h=h+4|0;if((r|0)!=(h|0)){continue}break}}h=0;i=m&3;if(i){while(1){r=F[(j+L(e,20)|0)+8>>2];d=d>>>0>>0?d:r;e=e+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(m&1){e=j+L(f,20)|0;if(F[e+8>>2]!=(d|0)){F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|2}f=f+1|0}if(!s){break d}while(1){e=j+L(f,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|2}e=j+L(f+1|0,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|2}f=f+2|0;if((k|0)!=(f|0)){continue}break}}D[n+19|0]=G[t+125089|0];e=H[t+125090>>1];f=l}l=l+1|0;if((u|0)!=(l|0)){continue}break}}f:{if(!F[b+136>>2]){break f}h=0;while(1){d=F[((h<<2)+b|0)+112>>2];l=F[b+12>>2];l=ch(d,Ia[F[l+24>>2]](l,d,F[l+56>>2])|0);if((l|0)==7){h=h+1|0;if(h>>>0>2]){continue}break f}break}l=G[(L(e,24)+(l<<2)|0)+125088|0];if(!((l|0)==7|(f|0)==-1)){D[(o+L(f,20)|0)+19|0]=l;j=F[b+68>>2];o=j-f|0;if(o>>>0<2){break f}g=F[b+144>>2]|32;F[b+144>>2]=g;if(f>>>0>=j>>>0){break f}l=F[b+80>>2];d=-1;e=f;k=j+(f^-1)|0;if(k>>>0>=3){m=o&-4;h=0;while(1){n=l+L(e,20)|0;i=F[n+8>>2];d=d>>>0>>0?d:i;i=F[n+28>>2];d=d>>>0>>0?d:i;i=F[n+48>>2];d=d>>>0>>0?d:i;n=F[n+68>>2];d=d>>>0>>0?d:n;e=e+4|0;h=h+4|0;if((m|0)!=(h|0)){continue}break}}n=o&3;if(n){h=0;while(1){m=F[(l+L(e,20)|0)+8>>2];d=d>>>0>>0?d:m;e=e+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}}if(o&1){e=l+L(f,20)|0;if(F[e+8>>2]!=(d|0)){F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|3}f=f+1|0}if(!k){break f}while(1){e=l+L(f,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|3}e=l+L(f+1|0,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|3}f=f+2|0;if((j|0)!=(f|0)){continue}break}break f}if(!(G[b+16|0]&64)|e-2>>>0>3){break f}j=F[b+68>>2];o=j-f|0;if(o>>>0<2){break f}g=F[b+144>>2]|32;F[b+144>>2]=g;if(f>>>0>=j>>>0){break f}l=F[b+80>>2];d=-1;e=f;k=j+(f^-1)|0;if(k>>>0>=3){m=o&-4;h=0;while(1){n=l+L(e,20)|0;i=F[n+8>>2];d=d>>>0>>0?d:i;i=F[n+28>>2];d=d>>>0>>0?d:i;i=F[n+48>>2];d=d>>>0>>0?d:i;n=F[n+68>>2];d=d>>>0>>0?d:n;e=e+4|0;h=h+4|0;if((m|0)!=(h|0)){continue}break}}n=o&3;if(n){h=0;while(1){m=F[(l+L(e,20)|0)+8>>2];d=d>>>0>>0?d:m;e=e+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}}if(o&1){e=l+L(f,20)|0;if(F[e+8>>2]!=(d|0)){F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|2}f=f+1|0}if(!k){break f}while(1){e=l+L(f,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|2}e=l+L(f+1|0,20)|0;if(F[e+8>>2]!=(d|0)){g=g|32;F[b+144>>2]=g;F[e+4>>2]=F[e+4>>2]|2}f=f+2|0;if((j|0)!=(f|0)){continue}break}}g:{h:{if((c|0)!=1299148391){break h}f=F[b+68>>2];if(f>>>0<2){break g}c=F[b+80>>2];d=1;e=f-1|0;l=e&1;if((f|0)!=2){e=e&-2;g=0;while(1){f=c+L(d,20)|0;h=F[f>>2]-6155|0;if(!(h>>>0>4|(h|0)==3)){D[f+19|0]=G[f-1|0]}h=c+L(d+1|0,20)|0;j=F[h>>2]-6155|0;if(!(j>>>0>4|(j|0)==3)){D[h+19|0]=G[f+19|0]}d=d+2|0;g=g+2|0;if((e|0)!=(g|0)){continue}break}}if(!l){break h}f=F[c+L(d,20)>>2]-6155|0;if(f>>>0>4|(f|0)==3){break h}c=c+L(d,20)|0;D[c+19|0]=G[c-1|0]}f=F[b+68>>2]}i:{if(!f){break i}b=F[b+80>>2];d=0;if((f|0)!=1){e=f&-2;g=0;while(1){c=b+L(d,20)|0;F[c+4>>2]=F[c+4>>2]|F[(G[c+19|0]<<2)+a>>2];c=b+L(d|1,20)|0;F[c+4>>2]=F[c+4>>2]|F[(G[c+19|0]<<2)+a>>2];d=d+2|0;g=g+2|0;if((e|0)!=(g|0)){continue}break}}if(!(f&1)){break i}b=b+L(d,20)|0;F[b+4>>2]=F[b+4>>2]|F[(G[b+19|0]<<2)+a>>2]}}function Ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;c=F[b+4>>2];a:{if(c>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}h=F[b+12>>2];e=h-4|0;F[b+12>>2]=e;if((G[a|0]|G[a+1|0]<<8)!=256|(e|0)<=0){break a}k=c;c=a+4|0;if(k>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break a}d=h-6|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[c|0]|G[c+1|0]<<8;b:{if(!d){break b}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=F[b+28>>2];if(d>>>0>31){break a}F[b+28>>2]=d+1;if(!G[b+24|0]){break a}D[c|0]=0;D[c+1|0]=0}h=0;e=Ga-16|0;Ga=e;j=F[b+4>>2];d=a+6|0;c:{if(j>>>0>d>>>0){break c}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break c}l=F[b+12>>2];c=l-2|0;F[b+12>>2]=c;h=1;if((c|0)<=0){h=0;break c}c=G[d|0]|G[d+1|0]<<8;if(!c){break c}c=((c<<8|c>>>8)&65535)+a|0;d:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break d}h=l-4|0;F[b+12>>2]=h;if((h|0)<=0){break d}h=G[c|0]|G[c+1|0]<<8;e:{if(!h){break e}if(Mb(c+((h<<8|h>>>8)&65535)|0,b)){break e}h=F[b+28>>2];if(h>>>0>31){break d}F[b+28>>2]=h+1;if(!G[b+24|0]){break d}D[c|0]=0;D[c+1|0]=0}F[e+12>>2]=c;h=1;if(Si(c+2|0,b,e+12|0)){break c}}c=F[b+28>>2];if(c>>>0>31){h=0;break c}F[b+28>>2]=c+1;h=0;if(!G[b+24|0]){break c}D[d|0]=0;D[d+1|0]=0;h=1}Ga=e+16|0;if(!h){break a}h=0;o=Ga-16|0;Ga=o;e=F[b+4>>2];l=a+8|0;f:{if(e>>>0>l>>>0){break f}d=F[b+8>>2];if(d>>>0>>0|d-l>>>0<2){break f}f=F[b+12>>2];c=f-2|0;F[b+12>>2]=c;h=1;if((c|0)<=0){h=0;break f}c=G[l|0]|G[l+1|0]<<8;if(!c){break f}c=((c<<8|c>>>8)&65535)+a|0;g:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=f-4|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=G[c|0]|G[c+1|0]<<8;h:{if(!d){break h}if(Mb(c+((d<<8|d>>>8)&65535)|0,b)){break h}d=F[b+28>>2];if(d>>>0>31){break g}F[b+28>>2]=d+1;if(!G[b+24|0]){break g}D[c|0]=0;D[c+1|0]=0}F[o+12>>2]=c;d=0;p=Ga-16|0;Ga=p;j=c+2|0;f=F[b+4>>2];i:{if(j>>>0>>0){break i}c=F[b+8>>2];if(c>>>0>>0|c-j>>>0<2){break i}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break i}g=G[j|0]|G[j+1|0]<<8;if(!g){d=1;break i}i=j+2|0;if(i>>>0>>0|c>>>0>>0){break i}k=c-i|0;c=(g<<8|g>>>8)&65535;g=c<<1;if(k>>>0>>0){break i}e=e-g|0;F[b+12>>2]=e;if((e|0)<=0){break i}e=j+2|0;if(f>>>0>e>>>0){break i}u=c>>>0>1?c:1;while(1){j:{c=F[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break j}d=F[o+12>>2];c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break j}c=G[e|0]|G[e+1|0]<<8;k:{if(!c){break k}f=d+((c<<8|c>>>8)&65535)|0;F[p+12>>2]=f;c=0;i=F[b+4>>2];l:{m:{if(i>>>0>f>>>0){break m}g=F[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break m}n=F[b+12>>2]-2|0;F[b+12>>2]=n;if((n|0)<=0){break m}m=G[f|0]|G[f+1|0]<<8;k=1;if(!m){break l}d=f+2|0;if(d>>>0>>0|d>>>0>g>>>0){break m}k=g-d|0;g=(m<<8|m>>>8)&65535;d=g<<1;if(k>>>0>>0){break m}d=n-d|0;F[b+12>>2]=d;if((d|0)<=0){break m}d=f+2|0;if(i>>>0>d>>>0){break m}v=g>>>0>1?g:1;n=0;while(1){n:{c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break n}g=F[p+12>>2];c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break n}c=G[d|0]|G[d+1|0]<<8;o:{if(!c){break o}p:{q:{r:{s=F[b+4>>2];g=g+((c<<8|c>>>8)&65535)|0;if(s>>>0>g>>>0){break r}m=F[b+8>>2];if(m>>>0>>0){break r}i=m-g|0;if(i>>>0<2){break r}q=F[b+12>>2];k=q-2|0;F[b+12>>2]=k;c=1;if((k|0)<=0){break r}s:{t:{u:{v:{k=G[g|0]|G[g+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break s}}c=0;if(i>>>0<4){break s}break q}c=0;if(i>>>0<4){break s}break q}if(i>>>0<6){break r}c=q-8|0;F[b+12>>2]=c;if((c|0)<=0){break r}i=g+4|0;if(i>>>0>>0|i>>>0>m>>>0|m-i>>>0<2){break r}m=q-10|0;F[b+12>>2]=m;c=1;if((m|0)<=0){break r}m=G[i|0]|G[i+1|0]<<8;if(!m){break s}if(qd(g+((m<<8|m>>>8)&65535)|0,b)){break s}c=F[b+28>>2];if(c>>>0>31){break r}F[b+28>>2]=c+1;c=0;if(!G[b+24|0]){break s}D[i|0]=0;D[i+1|0]=0;c=1}break p}c=0;break p}c=q-6|0;F[b+12>>2]=c;c=(c|0)>0}if(c){break o}c=F[b+28>>2];if(c>>>0>31){break n}F[b+28>>2]=c+1;if(!G[b+24|0]){break n}D[d|0]=0;D[d+1|0]=0}c=1;n=n+1|0;if((v|0)==(n|0)){break m}d=(f+(n<<1)|0)+2|0;if(d>>>0>=I[b+4>>2]){continue}}break}c=0}k=c}if(k){break k}c=F[b+28>>2];if(c>>>0>31){break j}F[b+28>>2]=c+1;if(!G[b+24|0]){break j}D[e|0]=0;D[e+1|0]=0}d=1;r=r+1|0;if((u|0)==(r|0)){break i}e=(j+(r<<1)|0)+2|0;if(e>>>0>=I[b+4>>2]){continue}}break}d=0}Ga=p+16|0;if(d){break f}}c=F[b+28>>2];if(c>>>0>31){h=0;break f}F[b+28>>2]=c+1;h=0;if(!G[b+24|0]){break f}D[l|0]=0;D[l+1|0]=0;h=1}Ga=o+16|0;if(!h){break a}c=a+10|0;if(c>>>0>2]){break a}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[c|0]|G[c+1|0]<<8;w:{if(!d){break w}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break w}d=F[b+28>>2];if(d>>>0>31){break a}F[b+28>>2]=d+1;if(!G[b+24|0]){break a}D[c|0]=0;D[c+1|0]=0}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65538){return 1}h=0;l=Ga-16|0;Ga=l;e=F[b+4>>2];j=a+12|0;x:{if(e>>>0>j>>>0){break x}d=F[b+8>>2];if(d>>>0>>0|d-j>>>0<2){break x}f=F[b+12>>2];c=f-2|0;F[b+12>>2]=c;h=1;if((c|0)<=0){h=0;break x}c=G[j|0]|G[j+1|0]<<8;if(!c){break x}c=((c<<8|c>>>8)&65535)+a|0;y:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break y}d=f-4|0;F[b+12>>2]=d;if((d|0)<=0){break y}if((G[c|0]|G[c+1|0]<<8)!=256){break x}F[l+12>>2]=c;d=c+2|0;g=F[b+4>>2];z:{A:{if(d>>>0>>0){break A}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break A}f=F[b+12>>2]-2|0;F[b+12>>2]=f;e=1;if((f|0)<=0){break A}i=G[d|0]|G[d+1|0]<<8;if(!i){break z}e=d+2|0;if(e>>>0>>0|c>>>0>>0){break A}k=c-e|0;c=(i<<8|i>>>8)&65535;e=c<<2;if(k>>>0>>0){break A}f=f-e|0;F[b+12>>2]=f;e=0;if((f|0)<=0){break z}f=d+2|0;if(g>>>0>f>>>0){break z}i=c>>>0>1?c:1;c=0;while(1){e=F[b+8>>2];if(e>>>0>>0|e-f>>>0<4){break A}o=F[l+12>>2];e=F[b+12>>2]-4|0;F[b+12>>2]=e;if((e|0)<=0){break A}e=d+(c<<2)|0;g=D[f|0];e=G[e+3|0]<<16|g<<24|G[e+4|0]<<8|G[e+5|0];g=(e|0)!=0&(g|0)<0;B:{if(!(g|!e)){if(Mb(e+o|0,b)){break B}e=F[b+28>>2];if(e>>>0>31){break A}F[b+28>>2]=e+1;if(!G[b+24|0]){break A}D[f|0]=0;D[f+1|0]=0;D[f+2|0]=0;D[f+3|0]=0;break B}if(g){break A}}e=1;c=c+1|0;if((i|0)==(c|0)){break z}f=(d+(c<<2)|0)+2|0;if(f>>>0>=I[b+4>>2]){continue}break}}e=0}if(e){break x}}c=F[b+28>>2];if(c>>>0>31){h=0;break x}F[b+28>>2]=c+1;h=0;if(!G[b+24|0]){break x}D[j|0]=0;D[j+1|0]=0;h=1}Ga=l+16|0;if(!h){break a}t=1;c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65539){break a}t=Ti(a+14|0,b,a)}return t}function Kd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=Ga+-64|0;Ga=f;r=F[a+100>>2];g=F[a+104>>2];F[f+56>>2]=0;e=F[a+736>>2];a:{b:{if(!e){c=Ia[F[a+516>>2]](a,1735811442,g,f+60|0)|0;F[f+56>>2]=c;if(c){c=Ia[F[a+516>>2]](a,1128678962,g,f+60|0)|0;F[f+56>>2]=c;if(c){break a}}c=Ia[F[a+516>>2]](a,1719034226,g,f+60|0)|0;F[f+56>>2]=c;if(c){break a}o=F[g+8>>2];c=sb(g,96848,f+40|0);F[f+56>>2]=c;if(c){break a}h=H[f+46>>1];i=H[f+52>>1];c=gb(r,80,f+56|0);F[a+736>>2]=c;if(F[f+56>>2]){break a}k=H[f+46>>1];F[c>>2]=k;x=(i|0)==((h<<2)+6|0);break b}k=F[e>>2];c=e}t=L(k,24);p=F[a+12>>2];q=p>>>16|0;u=L(q,12);v=(k<<1)+3&-4;y=L(k,q);w=y<<2;if(!e){e=c;c=((((L(k,5)+t|0)+v|0)+u|0)+w|0)+20|0;F[e+16>>2]=c;h=gb(r,c,f+56|0);if(F[f+56>>2]){break a}F[F[a+736>>2]+12>>2]=h;s=h+20|0;i=s+v|0;F[h+12>>2]=i;F[h+8>>2]=q;F[h+4>>2]=-1;F[h>>2]=k;n=i+t|0;F[h+16>>2]=n;e=n+u|0;c:{if(p>>>0<65536){break c}p=q>>>0>1?q:1;z=p&3;c=e;if(p-1>>>0>=3){p=p&65532;while(1){F[L(d,12)+n>>2]=c;l=c;c=k<<2;l=l+c|0;F[L(d|1,12)+n>>2]=l;l=c+l|0;F[L(d|2,12)+n>>2]=l;l=c+l|0;F[L(d|3,12)+n>>2]=l;c=c+l|0;d=d+4|0;j=j+4|0;if((p|0)!=(j|0)){continue}break}}if(!z){break c}j=k<<2;while(1){F[L(d,12)+n>>2]=c;d=d+1|0;c=c+j|0;m=m+1|0;if((z|0)!=(m|0)){continue}break}}d:{if(!k){break d}m=k&7;d=e+w|0;j=0;e:{if(k-1>>>0<7){c=0;break e}e=k&-8;c=0;n=0;while(1){F[L(c,24)+i>>2]=d;F[L(c|1,24)+i>>2]=d+5;F[L(c|2,24)+i>>2]=d+10;F[L(c|3,24)+i>>2]=d+15;F[L(c|4,24)+i>>2]=d+20;F[L(c|5,24)+i>>2]=d+25;F[L(c|6,24)+i>>2]=d+30;F[L(c|7,24)+i>>2]=d+35;c=c+8|0;d=d+40|0;n=n+8|0;if((e|0)!=(n|0)){continue}break}}if(!m){break d}while(1){F[L(c,24)+i>>2]=d;c=c+1|0;d=d+5|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}c=Za(g,H[f+44>>1]+o|0);F[f+56>>2]=c;if(c){break a}if(k){d=F[h+12>>2];e=0;while(1){c=sb(g,96896,f+16|0);F[f+56>>2]=c;if(c){break a}c=F[f+16>>2];F[d+16>>2]=c;F[d+4>>2]=F[f+20>>2];F[d+8>>2]=F[f+24>>2];F[d+12>>2]=F[f+28>>2];F[d+20>>2]=H[f+34>>1];D[F[d>>2]]=c>>>24;D[F[d>>2]+1|0]=H[d+18>>1];D[F[d>>2]+2|0]=F[d+16>>2]>>>8;D[F[d>>2]+3|0]=F[d+16>>2];D[F[d>>2]+4|0]=0;E[s>>1]=H[f+32>>1];c=F[d+8>>2];if(!((c|0)>=F[d+4>>2]&(c|0)<=F[d+12>>2])){F[d+12>>2]=c;F[d+4>>2]=c}s=s+2|0;d=d+24|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}d=0;c=Va(r,4,0,y,0,f+56|0);e=F[a+736>>2];F[e+20>>2]=c;if(F[f+56>>2]){break a}f:{if(!H[f+50>>1]){break f}if(!G[e+24|0]){c=F[g+8>>2];Cj(a);c=Za(g,c);F[f+56>>2]=c;if(c){break a}if(!H[f+50>>1]){break f}}i=k<<2;o=i+(x?6:4)|0;e=F[h+16>>2];j=F[F[a+736>>2]+20>>2];n=0;while(1){c=tb(g,o);F[f+56>>2]=c;if(c){break a}A=e,B=xb(g),F[A+4>>2]=B;xb(g);if(k){d=F[e>>2];c=0;while(1){A=d,B=Tb(g),F[A>>2]=B;d=d+4|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(x){c=xb(g)}else{c=65535}F[e+8>>2]=c;Bj(F[a+736>>2],k,F[e>>2],j);lb(g);e=e+12|0;j=i+j|0;d=H[f+50>>1];n=n+1|0;if(d>>>0>n>>>0){continue}break}}g:{if((d|0)==(q|0)){break g}c=17;e=F[a+540>>2];if(!(Ia[F[e+148>>2]](a,17,f+16|0,f+12|0)|0)){c=2;if(!(Ia[F[e+148>>2]](a,2,f+16|0,f+12|0)|0)){break g}}if(!(Ia[F[e+148>>2]](a,6,f+16|0,f+12|0)|0)){break g}e=F[h+16>>2]+L(H[f+50>>1],12)|0;F[e+8>>2]=6;F[e+4>>2]=c;if(!k){break g}d=F[e>>2];c=F[h+12>>2];if(k-1>>>0>=7){g=k&-8;e=0;while(1){F[d>>2]=F[c+8>>2];F[d+4>>2]=F[c+32>>2];F[d+8>>2]=F[c+56>>2];F[d+12>>2]=F[c+80>>2];F[d+16>>2]=F[c+104>>2];F[d+20>>2]=F[c+128>>2];F[d+24>>2]=F[c+152>>2];F[d+28>>2]=F[c+176>>2];d=d+32|0;c=c+192|0;e=e+8|0;if((g|0)!=(e|0)){continue}break}}g=k&7;if(!g){break g}e=0;while(1){F[d>>2]=F[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=Ga-16|0;Ga=c;d=F[a+736>>2];e=F[a+104>>2];g=F[e+28>>2];h=Ia[F[a+516>>2]](a,1297498450,e,c+8|0)|0;F[c+12>>2]=h;h:{if(h){break h}h=F[e+8>>2];j=fb(e,c+12|0);if(F[c+12>>2]){break h}i=Fb(e,2);F[c+12>>2]=i;if((j|0)!=1|i){break h}A=d,B=gb(g,28,c+12|0),F[A+56>>2]=B;if(F[c+12>>2]){break h}j=Fb(e,4);F[c+12>>2]=j;if(j){break h}j=fb(e,c+12|0);E[F[d+56>>2]>>1]=j;if(F[c+12>>2]){break h}j=fb(e,c+12|0);if(F[c+12>>2]){break h}i=F[e+8>>2];h=yj(F[a+104>>2],F[a+736>>2],h+j|0,F[d+56>>2]+4|0);F[c+12>>2]=h;if(h){break h}g=Va(g,12,0,H[F[d+56>>2]>>1],0,c+12|0);F[F[d+56>>2]+24>>2]=g;if(F[c+12>>2]){break h}g=Za(e,i);F[c+12>>2]=g;if(g){break h}g=tb(e,H[F[d+56>>2]>>1]<<3);F[c+12>>2]=g;if(g){break h}g=F[d+56>>2];h=H[g>>1];i:{if(!h){break i}o=F[g+24>>2];h=o+L(h,12)|0;while(1){j:{A=o,B=Tb(e),F[A>>2]=B;A=o,B=xb(e),E[A+4>>1]=B;j=xb(e);E[o+6>>1]=j;i=H[o+4>>1];if(i>>>0>=I[g+4>>2]|j>>>0>=I[F[g+8>>2]+(i<<4)>>2]){break j}o=o+12|0;if(h>>>0>o>>>0){continue}break i}break}F[c+12>>2]=8}lb(e);if(F[c+12>>2]){break h}e=F[d+56>>2];d=H[e>>1];if(d){m=F[e+24>>2];e=m+L(d,12)|0;while(1){d=wj(a,F[m>>2]);if(d){E[m+8>>1]=H[d>>1]}m=m+12|0;if(e>>>0>m>>>0){continue}break}}F[a+740>>2]=F[a+740>>2]|256}Ga=c+16|0}if(!b){break a}c=gb(r,F[F[a+736>>2]+16>>2],f+56|0);if(F[f+56>>2]){break a}a=F[a+736>>2];h=Ya(c,F[a+12>>2],F[a+16>>2]);c=(h+v|0)+20|0;g=t+c|0;F[h+16>>2]=g;F[h+12>>2]=c;a=g+u|0;i=F[h+8>>2];k:{if(!i){break k}j=0;d=0;e=a;if(i-1>>>0>=3){o=i&-4;n=0;while(1){F[g+L(d,12)>>2]=e;l=e;e=k<<2;m=l+e|0;F[g+L(d|1,12)>>2]=m;m=e+m|0;F[g+L(d|2,12)>>2]=m;m=e+m|0;F[g+L(d|3,12)>>2]=m;e=e+m|0;d=d+4|0;n=n+4|0;if((o|0)!=(n|0)){continue}break}}i=i&3;if(!i){break k}o=k<<2;while(1){F[g+L(d,12)>>2]=e;d=d+1|0;e=e+o|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}l:{if(!k){break l}d=a+w|0;if((k|0)!=1){j=k&-2;a=0;while(1){F[c>>2]=d;m:{n:{o:{e=F[c+16>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break o}if((e|0)!=1936486004){break m}l=10564;break n}l=10150;if((e|0)==2003265652){break n}if((e|0)!=2003072104){break m}l=10287;break n}l=10426}F[c>>2]=l}F[c+24>>2]=d+5;p:{q:{r:{s:{e=F[c+40>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break s}if((e|0)!=1936486004){break p}l=10564;break q}if((e|0)==2003072104){break r}l=10150;if((e|0)==2003265652){break q}break p}l=10426;break q}l=10287}F[c+24>>2]=l}c=c+48|0;d=d+10|0;a=a+2|0;if((j|0)!=(a|0)){continue}break}}if(!(k&1)){break l}F[c>>2]=d;t:{u:{v:{a=F[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break v}if((a|0)!=1936486004){break l}e=10564;break t}if((a|0)==2003072104){break u}e=10150;if((a|0)==2003265652){break t}break l}e=10426;break t}e=10287}F[c>>2]=e}F[b>>2]=h}Ga=f- -64|0;return F[f+56>>2]}function Rq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a=Ga-336|0;Ga=a;F[b>>2]=1;q=b+504|0;F[q>>2]=0;r=pc(F[b+96>>2],9721,1);F[b+488>>2]=r;n=Jc(F[F[b+96>>2]+4>>2],9871);F[b+492>>2]=n;a:{if(!n){f=11;break a}h=F[b+100>>2];Wa(a+16|0,0,304);t=b,u=gb(h,12,a+12|0),F[t+496>>2]=u;b:{if(F[a+12>>2]){break b}F[b+500>>2]=12;f=F[b+104>>2];Ia[F[F[n+4>>2]>>2]](a+16|0,0,0,h);D[a+100|0]=0;F[a+92>>2]=0;F[a+96>>2]=0;F[a+88>>2]=f;g=Za(f,0);F[a+320>>2]=g;c:{d:{if(g){break d}g=tb(f,17);F[a+320>>2]=g;if(g){break d}if(hc(F[f+32>>2],10372,17)){g=2;F[a+320>>2]=2;lb(f);break d}lb(f);g=Za(f,0);F[a+320>>2]=g;if(g){break d}i=F[f+4>>2];e:{if(!F[f+20>>2]){g=F[f+8>>2];j=F[f>>2];D[a+100|0]=1;F[a+96>>2]=i;F[a+92>>2]=g+j;g=Fb(f,i);F[a+320>>2]=g;if(g){break d}i=F[a+96>>2];break e}j=gb(h,i,a+320|0);F[a+92>>2]=j;g=F[a+320>>2];if(g){break d}g=Gb(f,j,i);F[a+320>>2]=g;if(g){break d}F[a+96>>2]=i}h=F[a+92>>2];F[a+20>>2]=h;F[a+12>>2]=0;break c}if(G[a+100|0]){F[a+12>>2]=g;break b}f=F[a+92>>2];if(f){Ia[F[h+8>>2]](h,f)}h=0;F[a+92>>2]=0;f=F[a+320>>2];F[a+12>>2]=f;if(f){break b}i=F[a+96>>2]}F[a+28>>2]=0;F[a+16>>2]=h;g=h+i|0;F[a+24>>2]=g;Ia[F[a+44>>2]](a+16|0);f:{g:{h:{f=F[a+16>>2];if(g>>>0>f>>>0){o=b+132|0;m=b+164|0;p=b+464|0;while(1){i:{j:{i=G[f|0];if(!((i|0)!=70|g>>>0<=f+25>>>0)){if(cb(f,10518,13)){break j}f=a+16|0;Ia[F[a+48>>2]](f);Ia[F[a+44>>2]](f);h=F[a+16>>2];f=h;k:{if(g>>>0<=f>>>0){break k}while(1){l:{if(!(G[f|0]!=107|g>>>0<=f+5>>>0)){if(!cb(f,10667,5)){break l}}Ia[F[a+48>>2]](a+16|0);f=F[a+28>>2];if(f){break h}Ia[F[a+44>>2]](a+16|0);f=F[a+16>>2];if(g>>>0>f>>>0){continue}break k}break}f=a+16|0;Ia[F[a+48>>2]](f);Ia[F[a+72>>2]](f,a+320|0);h=F[a+328>>2]==3?F[a+16>>2]:h}F[a+16>>2]=h;break i}if((i|0)!=47|g>>>0<=f+2>>>0){break j}i=f+1|0;F[a+16>>2]=i;Ia[F[a+48>>2]](a+16|0);f=F[a+28>>2];if(f){break h}h=F[a+16>>2];if((h|0)==(i|0)){break i}k=h-i|0;if(k>>>0>21){break i}f=0;if(g>>>0<=h>>>0){break i}while(1){m:{h=L(f,36);l=h+102480|0;j=F[l>>2];if(!j|G[i|0]!=G[j|0]){break m}if((hb(j)|0)!=(k|0)){break m}if(hc(i,j,k)){break m}n:{if(f-15>>>0<=3){Ia[F[h+102492>>2]](b,a+16|0);f=F[a+28>>2];break n}f=F[h+102488>>2];o:{p:{switch(F[h+102484>>2]-2|0){case 0:F[a+320>>2]=m;break o;case 3:F[a+320>>2]=p;break o;default:break p}}F[a+320>>2]=o}if(f-9>>>0<=1){f=Ia[F[a+84>>2]](a+16|0,l,a+320|0,0,0)|0;break n}f=Ia[F[a+80>>2]](a+16|0,l,a+320|0,0,0)|0}F[a+28>>2]=f;if(!f){break i}F[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break i}Ia[F[a+48>>2]](a+16|0);f=F[a+28>>2];if(f){break h}}Ia[F[a+44>>2]](a+16|0);f=F[a+16>>2];if(g>>>0>f>>>0){continue}break}}f=F[a+28>>2];F[a+12>>2]=f;if(f){break b}if(G[b+437|0]!=42){F[a+12>>2]=2;break b}h=F[a+160>>2];F[b+420>>2]=h;if(!F[a+228>>2]){F[a+12>>2]=3}i=0;F[a+228>>2]=0;F[b+396>>2]=F[a+216>>2];F[b+428>>2]=F[a+240>>2];F[b+432>>2]=F[a+244>>2];F[b+400>>2]=F[a+164>>2];F[b+424>>2]=F[a+188>>2];F[a+188>>2]=0;F[a+164>>2]=0;if(F[b+368>>2]!=1){break b}j=0;k=F[a+124>>2];if((k|0)<=0){break f}g=0;if((h|0)<=0){break g}while(1){l=g<<2;o=F[l+F[a+132>>2]>>2];p=g<<1;E[p+F[b+384>>2]>>1]=0;F[l+F[b+388>>2]>>2]=10293;q:{if(!o){break q}s=F[b+424>>2];f=0;while(1){m=F[(f<<2)+s>>2];if(ab(o,m)){f=f+1|0;if((h|0)!=(f|0)){continue}break q}break}E[p+F[b+384>>2]>>1]=f;F[l+F[b+388>>2]>>2]=m;if(!ab(10293,m)){break q}j=(g|0)<(j|0)?j:g+1|0;i=(g|0)<(i|0)?g:i}g=g+1|0;if((k|0)!=(g|0)){continue}break}break f}F[a+12>>2]=f;break b}h=0;f=0;if(k-1>>>0>=3){i=k&-4;while(1){E[F[b+384>>2]+(f<<1)>>1]=0;F[F[b+388>>2]+(f<<2)>>2]=10293;j=f|1;E[F[b+384>>2]+(j<<1)>>1]=0;F[F[b+388>>2]+(j<<2)>>2]=10293;j=f|2;E[F[b+384>>2]+(j<<1)>>1]=0;F[F[b+388>>2]+(j<<2)>>2]=10293;j=f|3;E[F[b+384>>2]+(j<<1)>>1]=0;F[F[b+388>>2]+(j<<2)>>2]=10293;f=f+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}}g=k&3;if(!g){i=0;j=0;break f}while(1){i=0;E[F[b+384>>2]+(f<<1)>>1]=0;F[F[b+388>>2]+(f<<2)>>2]=10293;f=f+1|0;j=0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}F[b+380>>2]=j;F[b+376>>2]=i;F[b+372>>2]=F[a+104>>2]}f=F[a+156>>2];if(f){Ia[f|0](a+108|0)}f=F[a+264>>2];if(f){Ia[f|0](a+216|0)}f=F[a+212>>2];if(f){Ia[f|0](a+164|0)}f=F[a+316>>2];if(f){Ia[f|0](a+268|0)}if(!G[a+100|0]){f=F[a+32>>2];g=F[a+92>>2];if(g){Ia[F[f+8>>2]](f,g)}F[a+92>>2]=0}f=F[a+40>>2];if(f){Ia[f|0](a+16|0)}f=F[a+12>>2];if(f|(c|0)<0){break a}f=6;if(c&65535){break a}F[b+36>>2]=0;F[b+4>>2]=0;F[b+24>>2]=10079;F[b+16>>2]=F[b+420>>2];c=F[b+144>>2];F[b+20>>2]=c;F[b+8>>2]=F[b+8>>2]|(G[b+156|0]?533:529)|2048;r:{if(c){f=F[b+140>>2];if(!f){break r}h=G[f|0];if(!h){break r}while(1){i=h&255;g=G[c|0];s:{if((i|0)==(g|0)){f=f+1|0;c=c+1|0;break s}i=i-32|0;if(!(!i|(i|0)==13)){t:{switch(g-32|0){case 0:case 13:c=c+1|0;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break r;default:break t}}if(g){break r}F[b+24>>2]=f;break r}f=f+1|0}h=G[f|0];if(h){continue}break}break r}c=F[b+364>>2];if(!c){break r}F[b+20>>2]=c}F[b+28>>2]=0;F[b+32>>2]=0;F[a+16>>2]=9;t=a,u=Nb(F[F[b+96>>2]+4>>2],10174),F[t+36>>2]=u;F[a+20>>2]=F[b+496>>2];F[a+24>>2]=F[b+500>>2];if(d){F[a+44>>2]=e;F[a+40>>2]=d;F[a+16>>2]=25}f=yl(F[F[b+96>>2]+4>>2],a+16|0,0,q);if(f){break a}xl(F[F[b+504>>2]+88>>2]);c=F[b+504>>2];d=F[c+56>>2];F[b+52>>2]=F[c+52>>2];F[b+56>>2]=d;d=F[c+64>>2];F[b+60>>2]=F[c+60>>2];F[b+64>>2]=d;E[b+68>>1]=H[c+68>>1];E[b+70>>1]=H[c+70>>1];E[b+72>>1]=H[c+72>>1];E[b+74>>1]=H[c+74>>1];E[b+76>>1]=H[c+76>>1];E[b+78>>1]=H[c+78>>1];E[b+80>>1]=H[b+158>>1];E[b+82>>1]=H[b+160>>1];d=F[b+152>>2]!=0;F[b+12>>2]=d;if(G[c+12|0]&2){F[b+12>>2]=d|2}if(G[c+8|0]&32){F[b+8>>2]=F[b+8>>2]|32}if(!r){f=0;break a}c=F[n+32>>2];F[a+16>>2]=b;F[a+20>>2]=1970170211;F[a+24>>2]=65539;f=qc(F[c+12>>2],0,a+16|0,0);u:{if(!f){break u}d=f&255;if((d|0)==163){break u}if((d|0)!=7){break a}}E[a+24>>1]=7;f=0;v:{w:{switch(F[b+368>>2]-1|0){case 1:E[a+26>>1]=0;F[a+20>>2]=1094995778;break v;case 3:E[a+26>>1]=1;F[a+20>>2]=1094992453;c=c+4|0;break v;case 0:E[a+26>>1]=2;F[a+20>>2]=1094992451;c=c+8|0;break v;case 2:break w;default:break a}}c=c+12|0;E[a+26>>1]=3;F[a+20>>2]=1818326065}b=F[c>>2];if(!b){break a}f=qc(b,0,a+16|0,0)}Ga=a+336|0;return f|0}function ii(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Ga-16|0;Ga=n;c=F[b+4>>2];a:{if(c>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0){break a}h=d-a|0;if(h>>>0<4){break a}g=F[b+12>>2];f=g-4|0;F[b+12>>2]=f;e=1;if((f|0)<=0){e=0;break a}b:{c:{f=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);d:{if((f|0)<=1953658212){if((f|0)==256){break b}if((f|0)==65536|(f|0)==1330926671){break d}break a}if((f|0)==1954115633){break d}if((f|0)==1953784678){break c}if((f|0)!=1953658213){break a}}if(h>>>0<12){e=0;break a}e=g-16|0;F[b+12>>2]=e;if((e|0)<=0){e=0;break a}e=a+4|0;if(e>>>0>>0){e=0;break a}if(d>>>0>>0){e=0;break a}if(d-e>>>0<8){e=0;break a}e=g-24|0;F[b+12>>2]=e;if((e|0)<=0){e=0;break a}f=G[a+4|0]|G[a+5|0]<<8;if(f){a=a+12|0;if(a>>>0>>0){e=0;break a}if(a>>>0>d>>>0){e=0;break a}d=d-a|0;a=((f<<8|f>>>8)&65535)<<4;if(d>>>0>>0){e=0;break a}a=e-a|0;F[b+12>>2]=a;e=0;if((a|0)<=0){break a}}e=1;break a}f=a+4|0;if(f>>>0>>0){e=0;break a}if(d>>>0>>0){e=0;break a}if(d-f>>>0<4){e=0;break a}d=g-8|0;F[b+12>>2]=d;e=0;if((d|0)<=0){break a}e=1;d=G[f|0]|G[f+1|0]<<8;if(((d<<8|d>>>8)&65535)-1>>>0>1){break a}F[n+12>>2]=a;e=0;d=a+8|0;h=F[b+4>>2];e:{f:{if(d>>>0>>0){break f}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break f}c=F[b+12>>2]-4|0;F[b+12>>2]=c;if((c|0)<=0){break f}a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(g>>>0>1073741822){break f}a=1;if(!g){break e}a=d+4|0;if(a>>>0>>0|a>>>0>f>>>0){break f}f=f-a|0;a=g<<2;if(f>>>0>>0){break f}a=c-a|0;F[b+12>>2]=a;if((a|0)<=0){break f}e=1;a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!l){break f}while(1){k=F[n+12>>2];f=0;a=(d+(i<<2)|0)+4|0;g=F[b+4>>2];g:{if(a>>>0>>0){break g}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break g}h=F[b+12>>2];c=h-4|0;F[b+12>>2]=c;if((c|0)<=0){break g}f=D[a|0];c=G[a+3|0]|(G[a+1|0]<<16|f<<24|G[a+2|0]<<8);j=(c|0)!=0&(f|0)<0;f=!j;if(!c|j){break g}c=c+k|0;h:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<12){break h}f=h-16|0;F[b+12>>2]=f;if((f|0)<=0){break h}f=c+4|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<8){break h}h=h-24|0;F[b+12>>2]=h;f=1;if((h|0)<=0){break h}k=G[c+4|0]|G[c+5|0]<<8;if(!k){break g}c=c+12|0;if(c>>>0>>0|c>>>0>e>>>0){break h}c=e-c|0;e=((k<<8|k>>>8)&65535)<<4;if(c>>>0>>0){break h}e=h-e|0;F[b+12>>2]=e;if((e|0)>0){break g}}f=0;e=F[b+28>>2];if(e>>>0>31){break g}F[b+28>>2]=e+1;if(!G[b+24|0]){break g}D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;f=1}e=f;if(!e){break f}i=i+1|0;if((l|0)!=(i|0)){continue}break}}a=e}e=a;break a}f=0;i:{j:{g=F[b+4>>2];k:{if(g>>>0>a>>>0){break k}i=F[b+8>>2];if(i>>>0>>0|i-a>>>0<16){break k}e=F[b+12>>2];d=e-16|0;F[b+12>>2]=d;if((d|0)<=0){break k}e=e-20|0;F[b+12>>2]=e;if((e|0)<=0){break k}d=D[a|0];if((d|0)<0){break k}d=G[a+3|0]|(G[a+1|0]<<16|(d&255)<<24|G[a+2|0]<<8);l:{m:{c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);switch(c+1|0){case 0:break k;case 1:break l;default:break m}}d=a+d|0;if(d>>>0>>0|d>>>0>i>>>0|c>>>0>i-d>>>0){break j}e=e-c|0;F[b+12>>2]=e;if((e|0)<=0){break j}d=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}c=a+4|0;if(c>>>0>>0|c>>>0>i>>>0|i-c>>>0<4){break j}F[b+12>>2]=e-4;if((e|0)<5){break j}e=D[c|0];if((e|0)<0){break k}p=a+d|0;d=0;e=(G[a+7|0]|(G[a+5|0]<<16|(e&255)<<24|G[a+6|0]<<8))+a|0;f=F[b+4>>2];n:{if(e>>>0>>0){break n}a=F[b+8>>2];if(a>>>0>>0|a-e>>>0<28){break n}i=F[b+12>>2];c=i-28|0;F[b+12>>2]=c;if((c|0)<=0){break n}c=e+24|0;if(c>>>0>>0|a>>>0>>0|a-c>>>0<2){break n}c=G[e+24|0]|G[e+25|0]<<8;g=i-30|0;F[b+12>>2]=g;if((g|0)<=0){break n}e=e+((c<<8|c>>>8)&65535)|0;if(f>>>0>e>>>0|a>>>0>>0|a-e>>>0<2){break n}i=i-32|0;F[b+12>>2]=i;if((i|0)<=0){break n}c=f;f=e+2|0;if(c>>>0>f>>>0|a>>>0>>0){break n}f=a-f|0;a=G[e|0]|G[e+1|0]<<8;q=(a<<8|a>>>8)&65535;a=(q<<3)+8|0;if(f>>>0>>0){break n}a=i-a|0;F[b+12>>2]=a;f=0;if((a|0)<=0){break n}while(1){d=0;a=((f<<3)+e|0)+2|0;g=F[b+4>>2];o:{if(a>>>0>>0){break o}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break o}h=F[b+12>>2];i=h-8|0;F[b+12>>2]=i;if((i|0)<=0){break o}i=0;d=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))==1936092788){d=G[a+4|0]|G[a+5|0]<<8;i=((d<<8|d>>>8)&65535)+1|0}p:{a=a+6|0;if(a>>>0>>0|a>>>0>c>>>0|c-a>>>0<2){break p}h=h-10|0;F[b+12>>2]=h;d=1;if((h|0)<=0){break p}if(!i){break o}a=G[a|0]|G[a+1|0]<<8;k=((a<<8|a>>>8)&65535)+e|0;if(g>>>0>k>>>0|c>>>0>>0){break p}d=0;a=L(i,12);if(a>>>0>c-k>>>0){break o}a=h-a|0;F[b+12>>2]=a;l=0;if((a|0)<=0){break p}while(1){d=0;a=0;g=L(l,12)+k|0;q:{if(g>>>0>2]){break q}c=F[b+8>>2];if(c>>>0>>0|c-g>>>0<12){break q}c=F[b+12>>2]-12|0;F[b+12>>2]=c;if((c|0)<=0){break q}c=g+5|0;o=F[b+4>>2];r:{if(c>>>0>>0){break r}h=F[b+8>>2];if(c>>>0>h>>>0|h-c>>>0<3){break r}j=F[b+12>>2];m=j-3|0;F[b+12>>2]=m;if((m|0)<=0){break r}c=p+(G[c+2|0]|(G[c+1|0]<<8|G[c|0]<<16))|0;s:{if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break s}m=j-7|0;F[b+12>>2]=m;d=1;if((m|0)<=0){break s}t:{j=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);switch(j+1|0){case 1:break r;case 0:break s;default:break t}}c=c+4|0;if(c>>>0>>0|c>>>0>h>>>0|j>>>0>h-c>>>0){break s}c=m-j|0;F[b+12>>2]=c;if((c|0)>0){break r}}d=0}if(!d){break q}h=F[b+4>>2];d=(p+(G[g+7|0]|(G[g+6|0]<<8|G[g+5|0]<<16))|0)+4|0;if(h>>>0>d>>>0){break q}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<12){break q}j=F[b+12>>2];g=j-12|0;F[b+12>>2]=g;if((g|0)<=0){break q}g=d+4|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<8){break q}g=j-20|0;F[b+12>>2]=g;if((g|0)<=0){break q}j=G[d+4|0]|G[d+5|0]<<8;if(j){d=d+12|0;if(d>>>0>>0|c>>>0>>0){break q}c=c-d|0;d=((j<<8|j>>>8)&65535)<<4;if(c>>>0>>0){break q}d=g-d|0;F[b+12>>2]=d;if((d|0)<=0){break q}}a=1}d=a;if(!a){break o}l=l+1|0;if((i|0)!=(l|0)){continue}break}break o}d=0}if(!d){break n}a=(f|0)!=(q|0);f=f+1|0;if(a){continue}break}}f=d}e=f;break i}e=0}}Ga=n+16|0;return e}function Ls(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ga-16|0;Ga=g;F[g+4>>2]=0;f=F[e+32>>2];i=F[f+100>>2];a:{b:{c:{d:{if(cb(a,11158,7)){break d}e:{c=G[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}F[g+12>>2]=0;d=F[f+88>>2];h=d;d=(c?-8:-7)+b|0;j=d+1|0;h=Va(i,1,h,h+j|0,F[f+84>>2],g+12|0);F[f+84>>2]=h;b=F[g+12>>2];if(!b){n=Ya(h+F[f+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,o=10,D[n|0]=o;F[f+88>>2]=j+F[f+88>>2];b=F[g+12>>2]}F[g+4>>2]=b;break c}f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{c=F[e>>2];if(!(c&32)){if(cb(a,11901,5)){break o}p:{switch(G[a+5|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}b=sc(e+40|0,11510,a,b);F[g+4>>2]=b;if(b){break b}b=F[F[e+40>>2]+4>>2];if(!b){break i}a=D[b|0];c=a&255;if(!c|!(G[(c>>>3|0)+24096|0]>>>(a&7)&1)){break i}c=0;q:{r:{while(1){if(c>>>0>=429496728){b=f+48|0;a=I[e+60>>2]/20|0;c=e+4|0;break r}c=G[a+24128|0]+L(c,10)|0;a=D[b+1|0];b=b+1|0;if(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}F[f+48>>2]=c;F[e+4>>2]=c;b=f+48|0;a=I[e+60>>2]/20|0;if(c>>>0<=a>>>0){a=c;break q}c=e+4|0}F[b>>2]=a;F[c>>2]=a}if(!a){break h}if(a>>>0<1114112){break g}b=6;break j}s:{t:{if(cb(a,24294,7)){break t}u:{switch(G[a+7|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}if(!(c&4032)){break s}b=186;break j}v:{if(cb(a,24302,7)){break v}w:{switch(G[a+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break v}}F[e+28>>2]=0;F[e>>2]=c&-4033;break f}d=c&64;if(!(F[F[e+36>>2]+4>>2]?1:!d|F[e+28>>2]!=-1)){break f}x:{if(cb(a,24310,9)){break x}y:{switch(G[a+9|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}if(c&4032){break k}c=F[e+24>>2];if(c){Ia[F[i+8>>2]](i,c)}F[e+24>>2]=0;c=e+40|0;b=sc(c,11510,a,b);F[g+4>>2]=b;if(b){break b}Pj(c);a=Nj(c,g+8|0);if(!a){break l}c=F[g+8>>2]+1|0;d=Va(i,1,0,c,0,g+4|0);F[e+24>>2]=d;b=F[g+4>>2];if(b){break b}Ya(d,a,c);F[e>>2]=F[e>>2]|64;break f}z:{if(cb(a,24320,8)){break z}A:{switch(G[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}if(!d){break k}b=sc(e+40|0,11510,a,b);F[g+4>>2]=b;if(b){break b}c=F[e+40>>2];a=Gj(F[c+4>>2]);b=(a|0)>=0;a=b?a:-1;F[e+28>>2]=a;if(!(I[e+48>>2]<3|b)){a=Gj(F[c+8>>2]);F[e+28>>2]=a}if(a-1114112>>>0<=4293853182){F[e+28>>2]=-1;break n}if((a|0)<0){break n}b=F[f+52>>2];B:{if((b|0)!=F[f+48>>2]){c=F[f+56>>2];break B}c=Va(i,36,b,b- -64|0,F[f+56>>2],g+4|0);F[f+56>>2]=c;b=F[g+4>>2];if(b){break b}F[f+48>>2]=F[f+48>>2]- -64;b=F[f+52>>2];a=F[e+28>>2]}F[f+52>>2]=b+1;d=F[e+24>>2];b=L(b,36)+c|0;F[b+4>>2]=a;F[b>>2]=d;break m}if(c&128){d=F[e+28>>2]==-1;j=F[f+(d?64:52)>>2]-1|0;h=F[f+(d?68:56)>>2];if(c&2048){d=F[e+8>>2];b=h+L(j,36)|0;if(d>>>0>=H[b+14>>1]){if((c|0)<0){break f}F[e>>2]=c|-2147483648;break f}c=F[b+28>>2];b=F[b+24>>2]+L(c,d)|0;f=0;d=c<<1;C:{if(!d){c=0;break C}D:{while(1){c=f;k=G[c+a|0];f=k<<24>>24;if(!(G[(k>>>3|0)+24368|0]>>>(f&7)&1)){break D}D[b|0]=G[f+24128|0]+(G[b|0]<<4);f=c+1|0;if(!(!(c&1)|d>>>0<=f>>>0)){D[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break C}f=F[e>>2];if(f&1073741824){break C}F[e>>2]=f|1073741824}f=H[(h+L(j,36)|0)+12>>1];if(f){D[b|0]=G[b|0]&G[(L(f,H[F[e+32>>2]+96>>1])&7)+24329|0]}E:{if((c|0)!=(d|0)){break E}a=G[a+d|0];if(!(G[(a>>>3|0)+24368|0]>>>(a&7)&1)){break E}a=F[e>>2];if(a&1073741824){break E}F[e>>2]=a|1073741824}F[e+8>>2]=F[e+8>>2]+1;break f}F:{if(cb(a,24337,6)){break F}G:{switch(G[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}b=sc(e+40|0,11510,a,b);F[g+4>>2]=b;if(b){break b}n=h+L(j,36)|0,o=Ld(F[F[e+40>>2]+4>>2]),E[n+8>>1]=o;F[e>>2]=F[e>>2]|256;break f}H:{if(cb(a,24344,6)){break H}I:{switch(G[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}b=sc(e+40|0,11510,a,b);F[g+4>>2]=b;if(b){break b}b=h+L(j,36)|0;c=Ld(F[F[e+40>>2]+4>>2]);E[b+10>>1]=c;a=F[e>>2];if(!(a&256)){n=b,o=bb(c&65535,72e3,L(F[f+20>>2],F[f+16>>2])),E[n+8>>1]=o;a=F[e>>2]}F[e>>2]=a|512;break f}J:{if(cb(a,24351,3)){break J}K:{switch(G[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}b=sc(e+40|0,11510,a,b);F[g+4>>2]=b;if(b){break b}a=h+L(j,36)|0;c=F[e+40>>2];d=Se(F[c+4>>2]);E[a+12>>1]=d;k=Se(F[c+8>>2]);E[a+14>>1]=k;b=he(F[c+12>>2]);E[a+16>>1]=b;c=he(F[c+16>>2]);E[a+18>>1]=c;l=0-c|0;E[a+22>>1]=l;c=c+k|0;E[a+20>>1]=c;k=b+d|0;E[e+22>>1]=k;c=c<<16>>16;m=E[e+18>>1];E[e+18>>1]=(c|0)>(m|0)?c:m;c=E[e+20>>1];l=l<<16>>16;E[e+20>>1]=(c|0)>(l|0)?c:l;c=k<<16>>16;k=E[e+16>>1];E[e+16>>1]=(c|0)>(k|0)?c:k;c=E[e+12>>1];E[e+12>>1]=(b|0)<(c|0)?b:c;c=E[e+14>>1];E[e+14>>1]=(b|0)>(c|0)?b:c;b=F[e>>2];if(!(b&512)){E[a+10>>1]=d}L:{if(!F[F[e+36>>2]>>2]){break L}a=h+L(j,36)|0;b=bb(H[a+10>>1],72e3,L(F[f+20>>2],F[f+16>>2]));if(H[a+8>>1]==(b&65535)){b=F[e>>2];break L}E[a+8>>1]=b;b=F[e>>2]|4096}F[e>>2]=b|1024;break f}if(cb(a,24355,6)){break l}M:{switch(G[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break l}}b=183;if(!(c&1024)){break j}a=h+L(j,36)|0;c=L(H[f+96>>1],H[a+12>>1]);b=c+7>>>3|0;F[a+28>>2]=b;N:{if(c>>>0<=524280){a=L(b,H[a+14>>1]);if(a>>>0<65536){break N}}b=184;break j}b=h+L(j,36)|0;E[b+32>>1]=a;n=b,o=Va(i,1,0,a,0,g+4|0),F[n+24>>2]=o;b=F[g+4>>2];if(b){break b}F[e+8>>2]=0;F[e>>2]=F[e>>2]|2048;break f}b=182;break j}Dd(F[f+56>>2],F[f+52>>2],36,5);F[e>>2]=F[e>>2]&-2;F[d>>2]=6;break f}b=180;break j}if(F[F[e+36>>2]+4>>2]){a=F[f+64>>2];O:{if((a|0)!=F[f+60>>2]){c=F[f+68>>2];break O}c=Va(i,36,a,a+4|0,F[f+68>>2],g+4|0);F[f+68>>2]=c;b=F[g+4>>2];if(b){break b}F[f+60>>2]=F[f+60>>2]+4;a=F[f+64>>2]}b=L(a,36)+c|0;F[b>>2]=F[e+24>>2];F[f+64>>2]=a+1;F[b+4>>2]=a;break m}a=F[e+24>>2];if(a){Ia[F[i+8>>2]](i,a)}}F[e+24>>2]=0;F[e>>2]=F[e>>2]&1073741695|128;break f}b=3;break j}b=181}F[g+4>>2]=b;break b}F[f+48>>2]=0;F[e+4>>2]=0;b=f+48|0}a=64;F[b>>2]=64}n=f,o=Va(i,36,0,a,0,g+4|0),F[n+56>>2]=o;b=F[g+4>>2];if(b){break b}F[e>>2]=F[e>>2]|32}b=F[g+4>>2]}if(b){break b}b=0;break a}if(!(G[e|0]&64)){break a}a=F[e+24>>2];if(a){Ia[F[i+8>>2]](i,a)}F[e+24>>2]=0;b=F[g+4>>2]}Ga=g+16|0;return b|0}function Bi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=F[b+4>>2];a:{if(l>>>0>a>>>0){break a}e=F[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<12){break a}d=F[b+12>>2]-12|0;F[b+12>>2]=d;if(G[a|0]|G[a+1|0]<<8|(d|0)<=0){break a}c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(c>>>0>f>>>0){break a}d=d-c|0;F[b+12>>2]=d;if((d|0)<=0){break a}c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}else{c=0}n=a+4|0;if(l>>>0>n>>>0){return 0}if(e>>>0>>0){return 0}if(e-n>>>0<4){return 0}F[b+12>>2]=d-4;if((d|0)<5){break a}d=D[a+4|0];e=G[a+7|0]|(G[a+5|0]<<16|d<<24|G[a+6|0]<<8);d=(e|0)!=0&(d|0)<0;q=!d;if(d|!e){break a}q=1;d=a+c|0;c=0;l=Ga-16|0;Ga=l;e=a+e|0;b:{if(e>>>0>2]){break b}a=F[b+8>>2];if(a>>>0>>0){break b}a=a-e|0;if(a>>>0<2){break b}f=F[b+12>>2];h=f-2|0;F[b+12>>2]=h;if((h|0)<=0){break b}c:{d:{e:{f:{g:{h:{h=G[e|0]|G[e+1|0]<<8;switch((h<<8|h>>>8)&65535){case 6:break e;case 4:break f;case 2:break g;case 0:break h;case 10:break b;case 8:break d;default:break c}}F[l+12>>2]=d;c=Uf(e+2|0,b,F[b+36>>2],l+12|0);break b}F[l+12>>2]=d;a=0;i:{e=e+2|0;g=F[b+4>>2];if(e>>>0>>0){break i}c=F[b+8>>2];if(c>>>0>>0|c-e>>>0<10){break i}f=F[b+12>>2]-10|0;F[b+12>>2]=f;if((f|0)<=0){break i}d=G[e|0]|G[e+1|0]<<8;h=(d<<8|d>>>8)&65535;if(h>>>0<6){break i}d=G[e+2|0]|G[e+3|0]<<8;k=(d<<8|d>>>8)&65535;i=L(k,h);if(i){j=g;g=e+10|0;if(j>>>0>g>>>0|c>>>0>>0|i>>>0>c-g>>>0){break i}c=f-i|0;F[b+12>>2]=c;if((c|0)<=0){break i}}c=0;j:{if(!d){break j}a=e+L(h,k-1|0)|0;if((G[a+10|0]|G[a+11|0]<<8)!=65535){break j}c=(G[a+12|0]|G[a+13|0]<<8)==65535?-1:0}a=1;o=c+k|0;if(!o){break i}k=e+10|0;c=0;while(1){h=(d<<8|d>>>8)&65535;g=F[l+12>>2];a=0;j=0;k:{if(!d){break k}d=G[e|0]|G[e+1|0]<<8;d=k+L(h-1|0,(d<<8|d>>>8)&65535)|0;j=0;if((G[d|0]|G[d+1|0]<<8)!=65535){break k}j=(G[d+2|0]|G[d+3|0]<<8)==65535?-1:0}if(j+h>>>0<=c>>>0){d=163632}else{d=G[e|0]|G[e+1|0]<<8;d=k+L((d<<8|d>>>8)&65535,c)|0}h=F[b+4>>2];l:{if(d>>>0>>0){break l}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<6){break l}i=F[b+12>>2];j=i-6|0;F[b+12>>2]=j;if((j|0)<=0){break l}d=d+4|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break l}j=i-8|0;F[b+12>>2]=j;if((j|0)<=0){break l}a=G[d|0]|G[d+1|0]<<8;d=g+((a<<8|a>>>8)&65535)|0;m:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break m}i=i-12|0;F[b+12>>2]=i;if((i|0)<=0){break m}a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(g>>>0>1073741822){break m}a=1;if(!g){break l}d=d+4|0;if(d>>>0>>0|d>>>0>f>>>0){break m}j=f-d|0;d=g<<2;if(j>>>0>>0){break m}d=i-d|0;F[b+12>>2]=d;if((d|0)>0){break l}}a=0}if(!a){break i}c=c+1|0;if((o|0)==(c|0)){break i}d=G[e+2|0]|G[e+3|0]<<8;continue}}c=a;break b}F[l+12>>2]=d;F[l+8>>2]=e;o=l+12|0;d=0;n:{e=e+2|0;g=F[b+4>>2];if(e>>>0>>0){break n}a=F[b+8>>2];if(a>>>0>>0|a-e>>>0<10){break n}f=F[b+12>>2]-10|0;F[b+12>>2]=f;if((f|0)<=0){break n}c=G[e|0]|G[e+1|0]<<8;h=(c<<8|c>>>8)&65535;if(h>>>0<6){break n}c=G[e+2|0]|G[e+3|0]<<8;k=(c<<8|c>>>8)&65535;i=L(k,h);if(i){j=g;g=e+10|0;if(j>>>0>g>>>0|a>>>0>>0|i>>>0>a-g>>>0){break n}a=f-i|0;F[b+12>>2]=a;if((a|0)<=0){break n}}a=0;o:{if(!c){break o}d=e+L(h,k-1|0)|0;if((G[d+10|0]|G[d+11|0]<<8)!=65535){break o}a=(G[d+12|0]|G[d+13|0]<<8)==65535?-1:0}d=1;i=a+k|0;if(!i){break n}h=e+10|0;a=0;while(1){k=(c<<8|c>>>8)&65535;d=0;g=0;p:{if(!c){break p}c=G[e|0]|G[e+1|0]<<8;c=h+L(k-1|0,(c<<8|c>>>8)&65535)|0;g=0;if((G[c|0]|G[c+1|0]<<8)!=65535){break p}g=(G[c+2|0]|G[c+3|0]<<8)==65535?-1:0}if(g+k>>>0<=a>>>0){c=163632}else{c=G[e|0]|G[e+1|0]<<8;c=h+L((c<<8|c>>>8)&65535,a)|0}k=F[b+4>>2];if(c>>>0>>0){break n}f=F[b+8>>2];if(f>>>0>>0|f-c>>>0<6){break n}g=F[l+8>>2];j=F[b+12>>2];m=j-6|0;F[b+12>>2]=m;if((m|0)<=0){break n}m=G[c|0]|G[c+1|0]<<8;m=(m<<8|m>>>8)&65535;p=G[c+2|0]|G[c+3|0]<<8;p=(p<<8|p>>>8)&65535;if(m>>>0

>>0){break n}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break n}f=j-8|0;F[b+12>>2]=f;if((f|0)<=0){break n}c=G[c|0]|G[c+1|0]<<8;if(!Uf(g+((c<<8|c>>>8)&65535)|0,b,(m-p|0)+1|0,o)){break n}d=1;a=a+1|0;if((i|0)==(a|0)){break n}c=G[e+2|0]|G[e+3|0]<<8;continue}}c=d;break b}F[l+12>>2]=d;a=0;q:{e=e+2|0;g=F[b+4>>2];if(e>>>0>>0){break q}d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break q}f=F[b+12>>2]-10|0;F[b+12>>2]=f;if((f|0)<=0){break q}c=G[e|0]|G[e+1|0]<<8;h=(c<<8|c>>>8)&65535;if(h>>>0<4){break q}c=G[e+2|0]|G[e+3|0]<<8;k=(c<<8|c>>>8)&65535;i=L(k,h);if(i){j=g;g=e+10|0;if(j>>>0>g>>>0|d>>>0>>0|i>>>0>d-g>>>0){break q}d=f-i|0;F[b+12>>2]=d;if((d|0)<=0){break q}}if(c){a=e+L(h,k-1|0)|0;d=(G[a+10|0]|G[a+11|0]<<8)==65535?-1:0}else{d=0}a=1;o=d+k|0;if(!o){break q}k=e+10|0;d=0;while(1){f=(c<<8|c>>>8)&65535;g=F[l+12>>2];a=0;if(c){c=G[e|0]|G[e+1|0]<<8;c=k+L(f-1|0,(c<<8|c>>>8)&65535)|0;c=(G[c|0]|G[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+f>>>0<=d>>>0){c=163632}else{c=G[e|0]|G[e+1|0]<<8;c=k+L((c<<8|c>>>8)&65535,d)|0}h=F[b+4>>2];r:{if(c>>>0>>0){break r}f=F[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break r}i=F[b+12>>2];j=i-4|0;F[b+12>>2]=j;if((j|0)<=0){break r}c=c+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break r}j=i-6|0;F[b+12>>2]=j;if((j|0)<=0){break r}a=G[c|0]|G[c+1|0]<<8;c=g+((a<<8|a>>>8)&65535)|0;s:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break s}i=i-10|0;F[b+12>>2]=i;if((i|0)<=0){break s}a=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(g>>>0>1073741822){break s}a=1;if(!g){break r}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0){break s}j=f-c|0;c=g<<2;if(j>>>0>>0){break s}c=i-c|0;F[b+12>>2]=c;if((c|0)>0){break r}}a=0}if(!a){break q}d=d+1|0;if((o|0)==(d|0)){break q}c=G[e+2|0]|G[e+3|0]<<8;continue}}c=a;break b}F[l+12>>2]=d;if(a>>>0<6){break b}a=f-8|0;F[b+12>>2]=a;if((a|0)<=0){break b}a=G[e+4|0]|G[e+5|0]<<8;c=Uf(e+6|0,b,(a<<8|a>>>8)&65535,l+12|0);break b}c=1}Ga=l+16|0;if(c){break a}q=0;a=F[b+28>>2];if(a>>>0>31){break a}F[b+28>>2]=a+1;if(!G[b+24|0]){break a}D[n|0]=0;D[n+1|0]=0;D[n+2|0]=0;D[n+3|0]=0;q=1}return q}function uz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Ga-16|0;Ga=j;a:{if(!a){break a}o=-1;b:{if(!a|!(G[a+8|0]&8)){break b}i=F[a+96>>2];h=F[F[i>>2]+32>>2];if(!h){break b}i=Ia[h|0](i,9632)|0;if(!i){break b}l=Ia[F[i+4>>2]](a,2)|0}c:{if(!l|H[l>>1]==65535){break c}i=F[l+80>>2];if(i|F[l+84>>2]?(i|0)>=0:0){break c}i=F[a+36>>2];if((i|0)<=0){break c}h=F[a+40>>2];while(1){n=F[h+(b<<2)>>2];if(!(H[n+10>>1]|H[n+8>>1]!=3)){o=b;break c}b=b+1|0;if((i|0)!=(b|0)){continue}break}}b=F[a+8>>2]&8;p=E[(b?202:70)+a>>1];q=E[(b?198:72)+a>>1];F[j+12>>2]=0;F[j+8>>2]=0;n=Ga-16|0;Ga=n;i=a;b=F[a+20>>2];while(1){d:{a=G[b+d|0];e:{if((a|0)!=63){if(a){break e}f:{g:{if(G[b|0]!=60|d>>>0<7|(G[b+1|0]!=117|G[b+2|0]!=116)){break g}if(G[b+3|0]!=102|G[b+4|0]!=56|G[b+5|0]!=62){break g}e=0;F[j+8>>2]=0;a=d-5|0;h=Ad((a|0)!=(a&1073741823)?-1:a<<2);F[j+12>>2]=h;c=6;while(1){a=b+c|0;f=G[a|0];h:{if(!(f&128)){a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=f;c=c+1|0;break h}if(!(f&32)){g=0;a=c+1|0;if(a>>>0>>0){g=f<<6&1984|G[a+b|0]&63}a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=g;c=c+2|0;break h}if(!(f&16)){g=0;m=c+2|0;if(m>>>0>>0){g=G[b+m|0]&63|(f<<12&61440|(G[a+1|0]&63)<<6)}a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=g;c=c+3|0;break h}if(!(f&15)){g=0;m=c+3|0;if(m>>>0>>0){g=G[b+m|0]&63|(f<<18&1835008|(G[a+1|0]&63)<<12|(G[a+2|0]&63)<<6)}a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=g;c=c+4|0;break h}if(!(f&8)){g=0;m=c+3|0;if(m>>>0>>0){g=G[b+m|0]&63|(f<<18&1835008|(G[a+1|0]&63)<<12|(G[a+2|0]&63)<<6)}a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=g;c=c+4|0;break h}if(!(f&4)){g=0;m=c+4|0;if(m>>>0>>0){g=G[b+m|0]&63|(f<<24&50331648|(G[a+1|0]&63)<<18|(G[a+2|0]&63)<<12|(G[a+3|0]&63)<<6)}a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=g;c=c+5|0;break h}g=0;c=c+5|0;if(d>>>0>c>>>0){g=G[b+c|0]&63|(f<<30&1073741824|(G[a+1|0]&63)<<24|(G[a+2|0]&63)<<18|(G[a+3|0]&63)<<12|(G[a+4|0]&63)<<6)}a=e+1|0;F[j+8>>2]=a;F[h+(e<<2)>>2]=g}e=a;if(c>>>0>>0){continue}break}F[h+(e<<2)>>2]=0;break f}if(!(e&1)){F[j+8>>2]=d;a=d+1|0;a=Ad((a|0)!=(a&1073741823)?-1:a<<2);F[j+12>>2]=a;i:{if(!d){break i}if(d-1>>>0>=3){e=d&-4;while(1){F[a+(c<<2)>>2]=D[b+c|0];h=c|1;F[a+(h<<2)>>2]=D[b+h|0];h=c|2;F[a+(h<<2)>>2]=D[b+h|0];h=c|3;F[a+(h<<2)>>2]=D[b+h|0];c=c+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}e=d&3;if(!e){break i}while(1){F[a+(c<<2)>>2]=D[b+c|0];c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}F[a+(d<<2)>>2]=0;break f}j:{k:{if(!i|!(G[i+8|0]&8)){break k}f=H[i+340>>1];if(!f){break k}h=F[i+356>>2];while(1){a=h+L(c,20)|0;l:{if(H[a+6>>1]!=1){break l}m=H[a+8>>1];if(!m){break l}m:{switch(H[a>>1]){case 3:e=H[a+2>>1];if(e>>>0>10|!(1<>2];e=F[i+100>>2];F[n+12>>2]=0;r=a,s=Va(e,1,0,m,0,n+12|0),F[r+16>>2]=s;n:{if(F[n+12>>2]){break n}m=Za(g,F[a+12>>2]);F[n+12>>2]=m;if(m){break n}g=Gb(g,F[a+16>>2],H[a+8>>1]);F[n+12>>2]=g;if(!g){break j}}g=F[a+16>>2];if(g){Ia[F[e+8>>2]](e,g)}F[a+16>>2]=0;E[a+8>>1]=0}c=c+1|0;if((f|0)!=(c|0)){continue}break}}F[j+8>>2]=d;a=d+1|0;a=Ad((a|0)!=(a&1073741823)?-1:a<<2);F[j+12>>2]=a;o:{if(!d){break o}f=0;c=0;if(d-1>>>0>=3){e=d&-4;g=0;while(1){F[a+(c<<2)>>2]=D[b+c|0];h=c|1;F[a+(h<<2)>>2]=D[b+h|0];h=c|2;F[a+(h<<2)>>2]=D[b+h|0];h=c|3;F[a+(h<<2)>>2]=D[b+h|0];c=c+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}e=d&3;if(!e){break o}while(1){F[a+(c<<2)>>2]=D[b+c|0];c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}F[a+(d<<2)>>2]=0;break f}f=F[a+16>>2];a=H[a+8>>1];c=0;F[j+12>>2]=0;F[j+8>>2]=0;if(a){b=a+1|0;F[j+8>>2]=b;r=j,s=Ad((b|0)!=(b&1073741823)?-1:b<<2),F[r+12>>2]=s;F[j+8>>2]=0;if((a|0)!=1){b=a>>>1|0;g=F[j+12>>2];e=0;while(1){d=G[f+1|0]|G[f|0]<<8;p:{if(d-56320>>>0<4294966272){c=2;a=1;break p}d=(d<<10&1047552|(G[f+3|0]|G[f+2|0]<<8&768))+65536|0;c=4;a=2}h=F[j+8>>2];F[j+8>>2]=h+1;F[g+(h<<2)>>2]=d;f=c+f|0;e=a+e|0;if(b>>>0>e>>>0){continue}break}c=F[j+8>>2]}F[F[j+12>>2]+(c<<2)>>2]=0}}Ga=n+16|0;break d}e=1}d=d+1|0;continue}break}f=F[j+8>>2];c=F[i+24>>2];h=hb(c);g=F[i+28>>2];e=nb(((f+h|0)+g<<2)+124|0);F[e>>2]=H[i+68>>1];F[e+4>>2]=E[i+70>>1];F[e+8>>2]=E[i+72>>1];F[e+12>>2]=E[i+74>>1];F[e+16>>2]=F[i+8>>2];F[e+20>>2]=F[i>>2];F[e+24>>2]=F[i+16>>2];F[e+28>>2]=F[i+36>>2];F[e+32>>2]=F[i+12>>2];F[e+36>>2]=F[i+4>>2];b=e+40|0;q:{if(!f){break q}a=F[j+12>>2];if(f-1>>>0>=3){m=f&-4;d=0;while(1){n=k<<2;F[b>>2]=F[n+a>>2];F[b+4>>2]=F[a+(n|4)>>2];F[b+8>>2]=F[a+(n|8)>>2];F[b+12>>2]=F[a+(n|12)>>2];k=k+4|0;b=b+16|0;d=d+4|0;if((m|0)!=(d|0)){continue}break}}f=f&3;if(!f){break q}d=0;while(1){F[b>>2]=F[a+(k<<2)>>2];k=k+1|0;b=b+4|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}k=0;F[b>>2]=0;a=b+4|0;r:{if(!h){break r}if(h-1>>>0>=3){f=h&-4;d=0;while(1){b=a;F[a>>2]=D[c+k|0];F[a+4>>2]=D[c+(k|1)|0];F[a+8>>2]=D[c+(k|2)|0];F[a+12>>2]=D[c+(k|3)|0];a=a+16|0;k=k+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}b=b+12|0}f=h&3;if(!f){break r}d=0;while(1){b=a;F[a>>2]=D[c+k|0];a=a+4|0;k=k+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}k=0;F[a>>2]=0;s:{if(l){F[b+8>>2]=H[l>>1];F[b+12>>2]=H[l+4>>1];F[b+16>>2]=H[l+64>>1];F[b+20>>2]=H[l+76>>1];F[b+24>>2]=H[l+78>>1];F[b+28>>2]=H[l+92>>1];F[b+32>>2]=E[l+70>>1];F[b+36>>2]=E[l+72>>1];F[b+40>>2]=E[l+74>>1];F[b+44>>2]=F[l+44>>2];F[b+48>>2]=F[l+48>>2];F[b+52>>2]=F[l+52>>2];d=F[l+84>>2];k=F[l+56>>2];a=F[l+80>>2];break s}F[b+12>>2]=0;F[b+16>>2]=0;F[b+8>>2]=65535;F[b+20>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b+36>>2]=0;F[b+40>>2]=0;F[b+44>>2]=0;F[b+48>>2]=0;F[b+52>>2]=0;d=0;a=0}F[b+80>>2]=g;F[b+76>>2]=p;F[b+72>>2]=q;F[b+68>>2]=o;F[b+64>>2]=d;F[b+60>>2]=a;F[b+56>>2]=k;t:{if((g|0)<=0){break t}c=g&3;b=b+84|0;i=F[i+32>>2];d=0;u:{if(g-1>>>0<3){k=0;break u}g=g&-4;k=0;a=0;while(1){o=k<<4;F[b>>2]=F[(o+i|0)+4>>2];F[b+4>>2]=F[(i+(o|16)|0)+4>>2];F[b+8>>2]=F[(i+(o|32)|0)+4>>2];F[b+12>>2]=F[(i+(o|48)|0)+4>>2];k=k+4|0;b=b+16|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}}if(!c){break t}while(1){F[b>>2]=F[(i+(k<<4)|0)+4>>2];k=k+1|0;b=b+4|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}a=F[j+12>>2];if(!a){break a}Ta(a)}Ga=j+16|0;return e|0}function Cn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=1;a:{b:{switch(c-1|0){case 0:c:{d:{e=F[b+4>>2];if(e>>>0>a>>>0){break d}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break d}f=F[b+12>>2];g=f-2|0;F[b+12>>2]=g;c=1;if((g|0)<=0){break d}e:{f:{g:{g=G[a|0]|G[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break e}}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break d}d=f-4|0;F[b+12>>2]=d;if((d|0)<=0){break d}d=G[c|0]|G[c+1|0]<<8;h:{if(!d){break h}if(Mb(((d<<8|d>>>8)&65535)+a|0,b)){break h}d=F[b+28>>2];if(d>>>0>31){break d}F[b+28>>2]=d+1;if(!G[b+24|0]){break d}D[c|0]=0;D[c+1|0]=0}a=a+4|0;if(a>>>0>2]){break d}d=F[b+8>>2];if(d>>>0>>0){break d}c=0;if(d-a>>>0<2){break e}a=F[b+12>>2]-2|0;F[b+12>>2]=a;c=(a|0)>0;break c}d=0;c=a+2|0;i:{if(c>>>0>2]){break i}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break i}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break i}e=G[c|0]|G[c+1|0]<<8;j:{if(!e){break j}if(Mb(((e<<8|e>>>8)&65535)+a|0,b)){break j}e=F[b+28>>2];if(e>>>0>31){break i}F[b+28>>2]=e+1;if(!G[b+24|0]){break i}D[c|0]=0;D[c+1|0]=0}g=F[b+4>>2];e=a+4|0;if(g>>>0>e>>>0){break i}c=F[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break i}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break i}f=G[a+4|0]|G[a+5|0]<<8;if(f){a=a+6|0;if(a>>>0>>0|a>>>0>c>>>0){break i}c=c-a|0;a=((f<<8|f>>>8)&65535)<<1;if(c>>>0>>0){break i}a=e-a|0;F[b+12>>2]=a;if((a|0)<=0){break i}}d=1}c=d}break c}c=0}return c;case 1:return Bn(a,b);case 2:return Bn(a,b);case 3:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}d=0;c=a+2|0;k:{l:{if(c>>>0>2]){break l}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break l}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break l}e=G[c|0]|G[c+1|0]<<8;m:{if(!e){break m}if(Mb(((e<<8|e>>>8)&65535)+a|0,b)){break m}e=F[b+28>>2];if(e>>>0>31){break l}F[b+28>>2]=e+1;if(!G[b+24|0]){break l}D[c|0]=0;D[c+1|0]=0}i=F[b+4>>2];c=a+4|0;if(i>>>0>c>>>0){break l}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break l}f=F[b+12>>2]-2|0;F[b+12>>2]=f;if((f|0)<=0){break l}g=G[a+4|0]|G[a+5|0]<<8;c=1;if(!g){break k}c=a+6|0;if(c>>>0>>0|c>>>0>e>>>0){break l}h=e-c|0;c=(g<<8|g>>>8)&65535;e=c<<1;if(h>>>0>>0){break l}e=f-e|0;F[b+12>>2]=e;if((e|0)<=0){break l}n=c>>>0>1?c:1;c=0;while(1){j=F[b+4>>2];i=((c<<1)+a|0)+6|0;d=0;n:{if(j>>>0>i>>>0){break n}g=F[b+8>>2];d=0;if(g>>>0>>0){break n}d=0;if(g-i>>>0<2){break n}h=F[b+12>>2];f=h-2|0;F[b+12>>2]=f;e=1;d=0;if((f|0)<=0){break n}d=G[i|0]|G[i+1|0]<<8;o:{if(!d){break o}p:{f=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>>0|f>>>0>g>>>0|g-f>>>0<2){break p}d=h-4|0;F[b+12>>2]=d;if((d|0)<=0){break p}h=G[f|0]|G[f+1|0]<<8;if(!h){break o}e=f+2|0;if(e>>>0>>0|e>>>0>g>>>0){break p}j=g-e|0;e=(h<<8|h>>>8)&65535;g=e<<1;if(j>>>0>>0){break p}d=d-g|0;F[b+12>>2]=d;if((d|0)<=0){break p}o=e>>>0>1?e:1;l=0;while(1){m=F[b+4>>2];j=(f+(l<<1)|0)+2|0;d=0;q:{if(m>>>0>j>>>0){break q}g=F[b+8>>2];d=0;if(g>>>0>>0){break q}d=0;if(g-j>>>0<2){break q}k=F[b+12>>2];h=k-2|0;F[b+12>>2]=h;e=1;d=0;if((h|0)<=0){break q}d=G[j|0]|G[j+1|0]<<8;r:{if(!d){break r}d=f+((d<<8|d>>>8)&65535)|0;s:{if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<2){break s}e=k-4|0;F[b+12>>2]=e;if((e|0)<=0){break s}h=d+2|0;if(h>>>0>>0|g>>>0>>0|g-h>>>0<2){break s}k=k-6|0;F[b+12>>2]=k;e=1;if((k|0)<=0){break s}h=G[h|0]|G[h+1|0]<<8;if(!h){break r}h=((h<<8|h>>>8)&65535)-1|0;if(!h){break r}d=d+4|0;if(d>>>0>>0|d>>>0>g>>>0){break s}g=g-d|0;d=h<<1;if(g>>>0>>0){break s}d=k-d|0;F[b+12>>2]=d;if((d|0)>0){break r}}e=F[b+28>>2];d=0;if(e>>>0>31){break q}F[b+28>>2]=e+1;e=0;if(!G[b+24|0]){break r}D[j|0]=0;D[j+1|0]=0;e=1}d=e}if(!d){break p}e=1;l=l+1|0;if((o|0)!=(l|0)){continue}break}break o}e=F[b+28>>2];d=0;if(e>>>0>31){break n}F[b+28>>2]=e+1;e=0;if(!G[b+24|0]){break o}D[i|0]=0;D[i+1|0]=0;e=1}d=e}if(!d){break l}c=c+1|0;if((n|0)!=(c|0)){continue}break}}c=d}return c;case 4:d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;t:{u:{v:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break a}}return An(a,b)}return zn(a,b)}return yn(a,b);case 5:return xn(a,b);case 6:c=0;w:{if(I[b+4>>2]>a>>>0){break w}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break w}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break w}c=1;if((G[a|0]|G[a+1|0]<<8)!=256){break w}c=0;x:{if(I[b+4>>2]>a>>>0){break x}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break x}d=F[b+12>>2]-8|0;F[b+12>>2]=d;if((d|0)<=0){break x}d=G[a+2|0]|G[a+3|0]<<8;if((d|0)==1792){break x}c=a;a=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=Cn(a?c+a|0:163632,b,(d<<8|(d&65280)>>>8)&65535)}}return c;case 7:break b;default:break a}}d=0;if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}d=Ga-16|0;Ga=d;c=a+2|0;y:{if(c>>>0>2]){break y}f=F[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break y}f=F[b+12>>2]-2|0;F[b+12>>2]=f;if((f|0)<=0){break y}f=G[c|0]|G[c+1|0]<<8;z:{if(!f){break z}if(Mb(((f<<8|f>>>8)&65535)+a|0,b)){break z}f=F[b+28>>2];if(f>>>0>31){break y}F[b+28>>2]=f+1;if(!G[b+24|0]){break y}D[c|0]=0;D[c+1|0]=0}F[d+12>>2]=a;f=a+4|0;if(!ve(f,b,d+12|0)){break y}c=G[a+4|0]|G[a+5|0]<<8;F[d+8>>2]=a;a=(f+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!ve(a,b,d+8|0)){break y}i=F[b+4>>2];c=G[a|0]|G[a+1|0]<<8;a=(a+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(i>>>0>a>>>0){break y}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break y}f=F[b+12>>2]-2|0;F[b+12>>2]=f;if((f|0)<=0){break y}g=G[a|0]|G[a+1|0]<<8;if(g){a=a+2|0;if(a>>>0>>0|a>>>0>c>>>0){break y}c=c-a|0;a=((g<<8|g>>>8)&65535)<<1;if(c>>>0>>0){break y}a=f-a|0;F[b+12>>2]=a;if((a|0)<=0){break y}}e=1}Ga=d+16|0;d=e}return d}function Ys(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Jc(F[F[b+96>>2]+4>>2],9005);if(!f){return 11}g=Za(a,0);a:{if(g){break a}g=Ia[F[f+4>>2]](a,b,c,d,e)|0;if(g){break a}j=F[b+104>>2];g=2;a=F[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}F[b+8>>2]=F[b+8>>2]|2048;g=0;if((c|0)<0){break a}g=Ia[F[f+8>>2]](j,b,c,d,e)|0;if(g){break a}l=Ga-128|0;Ga=l;c:{d:{if(!b){break d}a=F[b+20>>2];if(a){i=1;if(zb(a,96928)){break c}if(zb(a,96948)){break c}if(zb(a,96968)){break c}if(zb(a,96988)){break c}if(zb(a,97008)){break c}if(zb(a,97028)){break c}if(zb(a,97048)){break c}if(zb(a,97068)){break c}if(zb(a,97088)){break c}if(zb(a,97108)){break c}if(zb(a,97128)){break c}if(zb(a,97148)){break c}if(zb(a,97168)){break c}if(zb(a,97188)){break c}if(zb(a,97208)){break c}if(zb(a,97228)){break c}if(zb(a,97248)){break c}if(zb(a,97268)){break c}if(zb(a,97288)){break c}if(zb(a,97308)){break c}if(zb(a,97328)){break c}if(zb(a,97348)){break c}if(zb(a,97368)){break c}if(zb(a,97388)){break c}if(zb(a,97408)){break c}if(zb(a,97428)){break c}}f=Wa(l,0,116);e:{f:{a=H[b+152>>1];if(!a){break f}d=0;while(1){i=0;e=1;g=0;h=F[b+156>>2];n=m<<4;k=F[h+n>>2];g:{if((k|0)!=1668707360){h:{if((k|0)!=1886545264){if((k|0)!=1718642541){break g}g=1;break h}g=2}e=d}a=0;while(1){d=h+n|0;p=L(i,24)+(g<<3)|0;if(F[d+12>>2]==F[p+97460>>2]){i:{if(a){break i}h=F[b+516>>2];if(!h){a=0;break i}a=0;if(Ia[h|0](b,F[d>>2],F[b+104>>2],0)|0){break i}k=F[b+104>>2];h=F[(F[b+156>>2]+n|0)+12>>2];if(tb(k,h)){break i}if(h>>>0>3){while(1){a=Tb(k)+a|0;h=h-4|0;if(h>>>0>3){continue}break}}d=3;if(h){while(1){o=a;a=F[k+32>>2];if(a>>>0>2]){F[k+32>>2]=a+1;a=D[a|0]}else{a=0}a=o+((a<<24>>24&255)<<(d<<3))|0;d=d-1|0;h=h-1|0;if(h){continue}break}}lb(k)}d=f+(i<<2)|0;h=F[d>>2];if(F[p+97456>>2]==(a|0)){h=h+1|0;F[d>>2]=h}if((h|0)==3){break e}}i=i+1|0;if((i|0)!=29){h=F[b+156>>2];continue}break}a=H[b+152>>1];d=e}m=m+1|0;if(m>>>0>>0){continue}break}if(!(d&255)){break f}i=1;if(F[f>>2]==3|F[f+4>>2]==3|(F[f+8>>2]==3|F[f+12>>2]==3)){break c}if(F[f+16>>2]==3|F[f+20>>2]==3|(F[f+24>>2]==3|F[f+28>>2]==3)){break c}if(F[f+32>>2]==3|F[f+36>>2]==3|(F[f+40>>2]==3|F[f+44>>2]==3)){break c}if(F[f+48>>2]==3|F[f+52>>2]==3|(F[f+56>>2]==3|F[f+60>>2]==3)){break c}if(F[f+64>>2]==3|F[f+68>>2]==3|(F[f+72>>2]==3|F[f+76>>2]==3)){break c}if(F[f+80>>2]==3|F[f+84>>2]==3|(F[f+88>>2]==3|F[f+92>>2]==3)){break c}if(F[f+96>>2]==3|F[f+100>>2]==3|(F[f+104>>2]==3|F[f+108>>2]==3)){break c}if(F[f+112>>2]==3){break c}break d}i=0;while(1){d=f+(i<<2)|0;a=F[d>>2];if(i-16>>>0<=11){a=a+1|0;F[d>>2]=a}if((a|0)==3){break e}a=i|1;if((a|0)==29){break d}d=f+(a<<2)|0;a=F[d>>2];if(i-15>>>0<=11){a=a+1|0;F[d>>2]=a}if((a|0)==3){break e}i=i+2|0;continue}}i=1;break c}i=0}Ga=l+128|0;if(i){F[b+8>>2]=F[b+8>>2]|8192}d=0;f=Ga-16|0;Ga=f;k=F[j+28>>2];j:{if(Ia[F[b+516>>2]](b,1751412088,j,f+8|0)|0){break j}a=F[f+8>>2];if(a>>>0<8){break j}h=b+768|0;a=$b(j,a,h);F[f+12>>2]=a;k:{if(a){break k}l:{m:{e=F[h>>2];a=G[e+2|0]<<8|G[e+3|0];if(a>>>0<=255){l=F[f+8>>2];g=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=g>>>0>4294901759?g&65535:g;if(!a|i-65538>>>0>4294901761){break m}}F[f+12>>2]=3;break l}q=b,r=Va(k,1,0,a,0,f+12|0),F[q+784>>2]=r;if(F[f+12>>2]){break l}n:{if(!a){break n}g=e+8|0;h=e+l|0;while(1){e=g+i|0;if(e>>>0>h>>>0){break n}D[F[b+784>>2]+d|0]=G[g|0];g=e;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}F[b+776>>2]=d;a=F[f+8>>2];F[b+780>>2]=i;F[b+772>>2]=a;break k}Eb(j,h);F[b+772>>2]=0}d=F[f+12>>2]}Ga=f+16|0;g=d;if(d){break a}g=0;o:{if(!(D[b+8|0]&1)){break o}p:{if(F[F[b+128>>2]+52>>2]){break p}g=Ga-16|0;Ga=g;d=Ia[F[b+516>>2]](b,1735162214,j,b+724|0)|0;q:{r:{if((d&255)==142){F[b+724>>2]=0;a=0;break r}if(d){break q}a=0;if(F[F[b+128>>2]+52>>2]){break r}a=F[j+8>>2]}F[b+728>>2]=a;d=144;if(Ia[F[b+516>>2]](b,1819239265,j,g+12|0)|0){break q}a=F[g+12>>2];s:{if(H[b+210>>1]){e=2;if(a>>>0>=262144){F[g+12>>2]=262143;a=262143}break s}e=1;if(a>>>0>=131072){F[g+12>>2]=131071;a=131071}}d=a>>>e|0;F[b+760>>2]=d;f=F[b+16>>2];t:{if(f>>>0>>0){break t}o=d;d=f+1|0;if((o|0)==(d|0)){break t}a=d<>2];f=F[j+8>>2];d=H[b+152>>1];u:{if(d){k=(d<<4)+e|0;d=2147483647;i=0;while(1){h=F[e+8>>2]-f|0;l=(h|0)>0&(d|0)>(h|0);i=l?1:i;d=l?h:d;e=e+16|0;if(k>>>0>e>>>0){continue}break}if(i&255){break u}}d=F[j+4>>2]-f|0}if(a>>>0<=d>>>0){F[b+760>>2]=F[b+16>>2]+1;F[g+12>>2]=a;break t}a=F[b+760>>2];F[b+16>>2]=a?a-1|0:0;a=F[g+12>>2]}d=$b(j,a,b+764|0)}Ga=g+16|0;g=d;if(F[b+724>>2]){if(g){break a}if((g&255)!=142){break p}break a}if(g){break a}}g=Mj(b,j);if((g&255)!=142?g:0){break a}a=Ga-16|0;Ga=a;v:{if(Ia[F[b+516>>2]](b,1718642541,j,a+12|0)|0){F[b+684>>2]=0;F[b+688>>2]=0;g=0;break v}d=F[a+12>>2];F[b+684>>2]=d;g=$b(j,d,b+688|0)}Ga=a+16|0;if((g&255)!=142?g:0){break a}a=Ga-16|0;Ga=a;w:{if(Ia[F[b+516>>2]](b,1886545264,j,a+12|0)|0){F[b+692>>2]=0;F[b+696>>2]=0;g=0;break w}d=F[a+12>>2];F[b+692>>2]=d;g=$b(j,d,b+696|0)}Ga=a+16|0;if((g&255)!=142?g:0){break a}if(!F[b+764>>2]|(F[F[b+128>>2]+52>>2]|!F[b+28>>2])){break o}a=0;d=0;f=Ga-16|0;Ga=f;e=0;x:{if(!F[b+760>>2]){break x}while(1){ag(b,a,f+12|0);y:{if(!F[f+12>>2]){break y}i=e-1|0;e=1;d=a;if(i>>>0>=4294967294){break y}e=0;break x}a=a+1|0;if(a>>>0>2]){continue}break}a=!e;e=0;if(a){break x}e=1;if(!d){break x}e=0;if(rl(b,d,f+4|0,8)|G[f+4|0]!=46){break x}e=(G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24))==1953459758&(G[f+8|0]|G[f+9|0]<<8|(G[f+10|0]<<16|G[f+11|0]<<24))==6710628}Ga=f+16|0;if(!e){break o}F[b+8>>2]=F[b+8>>2]&-2}if(!(!(F[b+8>>2]&256)|c>>>0<65536)){g=Lj(b,c>>>16|0);if(g){break a}Kj(b);g=0}F[b+528>>2]=75;F[b+536>>2]=76;F[b+532>>2]=77;F[b+520>>2]=78;F[b+524>>2]=79}return g|0}function cn(a,b,c){var d=0,e=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a;f:{g:{h:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break h}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break f}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=733;break a}c=a;i:{j:{k:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break k}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break i}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=734;break a;case 1:l:{m:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break b}}c=a;n:{o:{p:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break o}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break p}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break n}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=735;break a}c=a;q:{r:{s:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break r}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break s}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break q}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=736;break a;case 2:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;t:{u:{v:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break u}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break v}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break t}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=737;break a;case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;w:{x:{y:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break x}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break y}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break w}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=738;break a;case 4:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;z:{A:{B:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break A}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break B}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break z}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=739;break a;case 5:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;C:{D:{E:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break D}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break E}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break C}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=740;break a;case 6:F:{G:{H:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break F;case 1:break G;case 0:break H;default:break b}}tn(b,a);return}sn(b,a);return}rn(b,a);return;case 7:I:{J:{K:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break I;case 1:break J;case 0:break K;default:break b}}qn(b,a);return}pn(b,a);return}on(b,a);return;case 8:break c;default:break b}}if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;cn(c,b,(a<<8|a>>>8)&65535)}}return}F[a>>2]=c;F[a+16>>2]=0;a=a+8|0;b=G[c+2|0]|G[c+3|0]<<8;L:{if(!b){_b(163632,a);break L}_b(((b<<8|b>>>8)&65535)+c|0,a)}}function Xy(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;l=Ga-560|0;Ga=l;F[l+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;w=237946;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;w=237949;break a}s=e&1;w=s?237952:237947;z=!s}b:{if((g&2146435072)==2146435072){d=s+3|0;bc(a,32,c,d,e&-65537);Yb(a,w,s);f=f&32;Yb(a,b!=b?f?238310:238787:f?238488:238791,3);bc(a,32,c,d,e^8192);i=(c|0)<(d|0)?d:c;break b}u=l+16|0;c:{d:{e:{b=gm(b,l+44|0);b=b+b;if(b!=0){g=F[l+44>>2];F[l+44>>2]=g-1;r=f|32;if((r|0)!=97){break e}break c}r=f|32;if((r|0)==97){break c}k=F[l+44>>2];m=(d|0)<0?6:d;break d}k=g-29|0;F[l+44>>2]=k;b=b*268435456;m=(d|0)<0?6:d}p=(k|0)<0?l+48|0:l+336|0;h=p;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}F[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;j=p;break f}j=p;d=k;while(1){d=(d|0)<29?d:29;g=h-4|0;g:{if(j>>>0>g>>>0){break g}i=0;while(1){o=F[g>>2];n=d&31;x=i;if((d&63)>>>0>=32){i=o<>>32-n;o=o<>>0>>0?i+1|0:i;i=GC(n,i,1e9,0);o=EC(i,Ha,1e9,0);F[g>>2]=n-o;g=g-4|0;if(j>>>0<=g>>>0){continue}break}if(!i){break g}j=j-4|0;F[j>>2]=i}while(1){g=h;if(j>>>0>>0){h=g-4|0;if(!F[h>>2]){continue}}break}d=F[l+44>>2]-d|0;F[l+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((m+25>>>0)/9|0)+1|0;n=(r|0)==102;while(1){d=0-d|0;i=(d|0)<9?d:9;h:{if(g>>>0<=j>>>0){h=F[j>>2];break h}o=1e9>>>i|0;y=-1<>2];F[h>>2]=x+(d>>>i|0);d=L(o,d&y);h=h+4|0;if(h>>>0>>0){continue}break}h=F[j>>2];if(!d){break h}F[g>>2]=d;g=g+4|0}d=i+F[l+44>>2]|0;F[l+44>>2]=d;j=(!h<<2)+j|0;h=n?p:j;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=j>>>0){break i}d=L(p-j>>2,9);h=10;i=F[j>>2];if(i>>>0<10){break i}while(1){d=d+1|0;h=L(h,10);if(i>>>0>=h>>>0){continue}break}}h=(m-((r|0)==102?0:d)|0)-((r|0)==103&(m|0)!=0)|0;if((h|0)<(L(g-p>>2,9)-9|0)){i=h+9216|0;n=(i|0)/9|0;k=((((k|0)<0?4:292)+l|0)+(n<<2)|0)-4048|0;h=10;i=i-L(n,9)|0;if((i|0)<=7){while(1){h=L(h,10);i=i+1|0;if((i|0)!=8){continue}break}}n=F[k>>2];t=(n>>>0)/(h>>>0)|0;i=n-L(h,t)|0;o=k+4|0;j:{if(!i&(o|0)==(g|0)){break j}k:{if(!(t&1)){b=9007199254740992;if(!(D[k-4|0]&1)|((h|0)!=1e9|j>>>0>=k>>>0)){break k}}b=9007199254740994}q=(g|0)==(o|0)?1:1.5;o=h>>>1|0;q=i>>>0>>0?.5:(o|0)==(i|0)?q:1.5;if(!(G[w|0]!=45|z)){q=-q;b=-b}i=n-i|0;F[k>>2]=i;if(b+q==b){break j}d=h+i|0;F[k>>2]=d;if(d>>>0>=1e9){while(1){F[k>>2]=0;k=k-4|0;if(k>>>0>>0){j=j-4|0;F[j>>2]=0}d=F[k>>2]+1|0;F[k>>2]=d;if(d>>>0>999999999){continue}break}}d=L(p-j>>2,9);h=10;i=F[j>>2];if(i>>>0<10){break j}while(1){d=d+1|0;h=L(h,10);if(i>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){h=g;i=g>>>0<=j>>>0;if(!i){g=h-4|0;if(!F[g>>2]){continue}}break}l:{if((r|0)!=103){k=e&8;break l}g=m?m:1;k=(g|0)>(d|0)&(d|0)>-5;m=(k?d^-1:-1)+g|0;f=(k?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(i){break m}n=F[h-4>>2];if(!n){break m}i=10;g=0;if((n>>>0)%10|0){break m}while(1){k=g;g=g+1|0;i=L(i,10);if(!((n>>>0)%(i>>>0)|0)){continue}break}g=k^-1}i=L(h-p>>2,9);if((f&-33)==70){k=0;g=(g+i|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break l}k=0;g=((d+i|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}i=-1;r=k|m;if(((r?2147483645:2147483646)|0)<(m|0)){break b}n=(((r|0)!=0)+m|0)+1|0;o=f&-33;n:{if((o|0)==70){if((2147483647-n|0)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=Td((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;D[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;D[t|0]=f;D[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(2147483647-n|0)){break b}}d=g+n|0;if((d|0)>(s^2147483647)){break b}f=d+s|0;bc(a,32,c,f,e);Yb(a,w,s);bc(a,48,c,f,e^65536);o:{p:{q:{if((o|0)==70){g=l+16|0;d=g|8;k=g|9;i=j>>>0>p>>>0?p:j;j=i;while(1){g=Td(F[j>>2],0,k);r:{if((i|0)!=(j|0)){if(l+16>>>0>=g>>>0){break r}while(1){g=g-1|0;D[g|0]=48;if(l+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}D[l+24|0]=48;g=d}Yb(a,g,k-g|0);j=j+4|0;if(p>>>0>=j>>>0){continue}break}if(r){Yb(a,238795,1)}if((m|0)<=0|h>>>0<=j>>>0){break q}while(1){g=Td(F[j>>2],0,k);if(g>>>0>l+16>>>0){while(1){g=g-1|0;D[g|0]=48;if(l+16>>>0>>0){continue}break}}Yb(a,g,(m|0)<9?m:9);g=m-9|0;j=j+4|0;if(h>>>0<=j>>>0){break p}d=(m|0)>9;m=g;if(d){continue}break}break p}s:{if((m|0)<0){break s}i=h>>>0>j>>>0?h:j+4|0;g=l+16|0;d=g|8;p=g|9;h=j;while(1){g=Td(F[h>>2],0,p);if((p|0)==(g|0)){D[l+24|0]=48;g=d}t:{if((h|0)!=(j|0)){if(l+16>>>0>=g>>>0){break t}while(1){g=g-1|0;D[g|0]=48;if(l+16>>>0>>0){continue}break}break t}Yb(a,g,1);g=g+1|0;if(!(k|m)){break t}Yb(a,238795,1)}x=g;g=p-g|0;Yb(a,x,(g|0)>(m|0)?m:g);m=m-g|0;h=h+4|0;if(i>>>0<=h>>>0){break s}if((m|0)>=0){continue}break}}bc(a,48,m+18|0,18,0);Yb(a,t,u-t|0);break o}g=m}bc(a,48,g+9|0,9,0)}bc(a,32,c,f,e^8192);i=(c|0)<(f|0)?f:c;break b}m=(f<<26>>31&9)+w|0;u:{if(d>>>0>11){break u}g=12-d|0;q=16;while(1){q=q*16;g=g-1|0;if(g){continue}break}if(G[m|0]==45){b=-(q+(-b-q));break u}b=b+q-q}h=F[l+44>>2];g=h>>31;g=Td((g^h)-g|0,0,u);if((u|0)==(g|0)){D[l+15|0]=48;g=l+15|0}k=s|2;j=f&32;h=F[l+44>>2];p=g-2|0;D[p|0]=f+15;D[g-1|0]=(h|0)<0?45:43;i=e&8;h=l+16|0;while(1){f=h;if(N(b)<2147483648){g=~~b}else{g=-2147483648}D[h|0]=j|G[g+241808|0];b=(b-+(g|0))*16;h=f+1|0;if(!(!((d|0)>0|i)&b==0|(h-(l+16|0)|0)!=1)){D[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}i=-1;n=u-p|0;f=n+k|0;if((2147483645-f|0)<(d|0)){break b}v:{w:{if(!d){break w}j=h-(l+16|0)|0;if((j-2|0)>=(d|0)){break w}g=d+2|0;break v}j=h-(l+16|0)|0;g=j}d=g+f|0;bc(a,32,c,d,e);Yb(a,m,k);bc(a,48,c,d,e^65536);Yb(a,l+16|0,j);bc(a,48,g-j|0,0,0);Yb(a,p,n);bc(a,32,c,d,e^8192);i=(c|0)<(d|0)?d:c}Ga=l+560|0;return i|0}function Cq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=Ga-160|0;Ga=f;l=F[b+100>>2];g=F[b+104>>2];d=0;F[b+132>>2]=0;e=Za(g,0);F[f+156>>2]=e;h=c>>31;i=(h^c)-h&65535;a:{if(e){break a}e=sb(g,103376,f+152|0);F[f+156>>2]=e;if(e){break a}F[f+156>>2]=2;b:{c:{if(H[f+152>>1]!=23117){break c}e=Za(g,H[f+154>>1]);F[f+156>>2]=e;if(e){break a}e=sb(g,103408,f+144|0);F[f+156>>2]=e;if(e){break a}h=2;F[f+156>>2]=2;d:{e:{f:{g:{switch(H[f+144>>1]-17742|0){case 0:e=Za(g,H[f+146>>1]+H[f+154>>1]|0);F[f+156>>2]=e;if(e){break a}e=tb(g,H[f+148>>1]-H[f+146>>1]|0);F[f+156>>2]=e;if(e){break a}k=wd(g);if(k>>>0>16){break b}j=wd(g);h:{if(j){while(1){h=wd(g);e=((F[g+8>>2]+F[g+32>>2]|0)-F[g+36>>2]|0)+4|0;if((j&65535)==32776){break h}F[g+32>>2]=(F[g+32>>2]+L(h,12)|0)+4;j=wd(g);if(j){continue}break}}h=0;e=0}lb(g);if(!(e?h:0)){F[f+156>>2]=3;break a}if(I[g+4>>2]>>0){F[f+156>>2]=3;break a}F[b>>2]=h;if((c|0)<0){break a}if(h>>>0<=i>>>0){F[f+156>>2]=6;break a}r=b,s=gb(l,172,f+156|0),F[r+132>>2]=s;if(F[f+156>>2]){break a}e=Za(g,e+L(i,12)|0);F[f+156>>2]=e;if(e){break c}e=tb(g,12);F[f+156>>2]=e;if(e){break c}e=wd(g);F[F[b+132>>2]>>2]=e<>2]+164>>2]=e<>2]=F[g+32>>2]+8;lb(g);h=Zf(F[b+132>>2],g);F[f+156>>2]=h;break f;case 2:break g;default:break f}}e=Za(g,H[f+154>>1]);F[f+156>>2]=e;if(e){break a}e=sb(g,103440,f+120|0);F[f+156>>2]=e;if(e){break a}i:{if(!(F[f+120>>2]!=17744|H[f+124>>1]!=332|H[f+128>>1]!=224)){if(H[f+130>>1]==267){break i}}F[f+156>>2]=3;break a}h=0;F[b>>2]=0;if(!H[f+126>>1]){break e}while(1){e=sb(g,103504,f+96|0);F[f+156>>2]=e;if(e){break a}if(F[f+132>>2]!=F[f+104>>2]){h=h+1|0;if(H[f+126>>1]<=(h&65535)>>>0){break e}continue}break}e=Za(g,F[f+112>>2]);F[f+156>>2]=e;if(e){break a}e=sb(g,103536,f+80|0);F[f+156>>2]=e;if(e){break a}if(H[f+94>>1]!=(0-H[f+92>>1]|0)){m=F[f+112>>2];o=m+16|0;h=0;while(1){e=Za(g,(h<<3)+o|0);F[f+156>>2]=e;if(e){break a}e=sb(g,103568,f+40|0);F[f+156>>2]=e;if(e){break a}e=F[f+44>>2];if((e|0)>=0){F[f+156>>2]=3;break a}e=e&2147483647;F[f+44>>2]=e;e=e+F[f+112>>2]|0;h=Za(g,e);F[f+156>>2]=h;if(h){break a}h=sb(g,103536,f- -64|0);F[f+156>>2]=h;if(h){break a}if(H[f+78>>1]!=(0-H[f+76>>1]|0)){p=e+16|0;h=0;k=0;while(1){e=Za(g,(h<<3)+p|0);F[f+156>>2]=e;if(e){break a}e=sb(g,103568,f+32|0);F[f+156>>2]=e;if(e){break a}e=F[f+36>>2];if((e|0)>=0){F[f+156>>2]=3;break a}e=e&2147483647;F[f+36>>2]=e;e=e+F[f+112>>2]|0;h=Za(g,e);F[f+156>>2]=h;if(h){break a}h=sb(g,103536,f+48|0);F[f+156>>2]=h;if(h){break a}if(H[f+62>>1]!=(0-H[f+60>>1]|0)){q=e+16|0;h=0;j=0;while(1){e=Za(g,(h<<3)+q|0);F[f+156>>2]=e;if(e){break a}e=sb(g,103568,f+24|0);F[f+156>>2]=e;if(e){break a}if(F[f+36>>2]<0){F[f+156>>2]=3;break a}if(F[f+40>>2]==8){e=Za(g,F[f+28>>2]+m|0);F[f+156>>2]=e;if(e){break a}e=sb(g,103584,f+8|0);F[f+156>>2]=e;if(e){break a}e=F[b>>2];if((e|0)==(i|0)){e=gb(l,172,f+156|0);F[b+132>>2]=e;if(F[f+156>>2]){break a}F[e>>2]=(F[f+8>>2]+F[f+112>>2]|0)-F[f+104>>2];F[e+164>>2]=F[f+12>>2];e=Zf(e,g);F[f+156>>2]=e;if(e){break c}e=F[b>>2]}F[b>>2]=e+1}j=j+1|0;h=j&65535;if(h>>>0>1]+H[f+60>>1]>>>0){continue}break}}k=k+1|0;h=k&65535;if(h>>>0>1]+H[f+76>>1]>>>0){continue}break}}n=n+1|0;h=n&65535;if(h>>>0>1]+H[f+92>>1]>>>0){continue}break}}h=0}e=F[b>>2];if(!e){F[f+156>>2]=3;break a}if((e|0)>(i|0)){break d}F[f+156>>2]=6;break a}F[f+156>>2]=3;break a}if(!h){break a}}e=F[b+132>>2];if(!e){break a}g=F[b+100>>2];if(F[e+160>>2]){Eb(F[b+104>>2],e+160|0)}h=F[e+168>>2];if(h){Ia[F[g+8>>2]](g,h)}F[e+168>>2]=0;if(e){Ia[F[g+8>>2]](g,e)}F[b+132>>2]=0;break a}F[f+156>>2]=3;lb(g)}e=F[f+156>>2];F[f+96>>2]=e;j:{if(e?0:(c|0)<0){break j}k:{l:{m:{if((e&255)==2){e=gb(l,172,f+96|0);F[b+132>>2]=e;d=F[f+96>>2];if(d){break j}F[b>>2]=1;d=0;F[e>>2]=0;F[e+164>>2]=F[a+4>>2];a=Zf(e,a);F[f+96>>2]=a;if(!(a|(c|0)<0)){if(!i){break m}F[f+96>>2]=6;break k}if(a){break k}break j}if(e){break l}}a=F[b+132>>2];if(!H[a+96>>1]){F[f+96>>2]=3;break k}F[b+4>>2]=i;c=F[b+8>>2];F[b+8>>2]=c|18;if(H[a+100>>1]==H[a+102>>1]){F[b+8>>2]=c|22}if(G[a+86|0]){F[b+12>>2]=F[b+12>>2]|1}if(H[a+90>>1]>=800){F[b+12>>2]=F[b+12>>2]|2}c=Va(l,16,0,1,0,f+96|0);F[b+32>>2]=c;if(F[f+96>>2]){break k}F[b+28>>2]=1;E[c+2>>1]=H[a+100>>1];E[c>>1]=H[a+84>>1]+H[a+96>>1];e=H[a+74>>1]<<6;F[c+4>>2]=e;d=H[a+78>>1];g=e;e=H[a+76>>1];e=e?e:72;g=bb(g,e,72)+32&-64;F[c+12>>2]=g;i=d?d:72;d=H[a+96>>1]<<6;n:{if((d|0)>=(g|0)){h=F[c+4>>2];break n}F[c+12>>2]=d;h=bb(d,72,e);F[c+4>>2]=h}r=c,s=bb(h,i,72)+32&-64,F[r+8>>2]=s;F[f+120>>2]=b;F[f+124>>2]=0;F[f+128>>2]=0;if(G[a+92|0]==77){E[f+128>>1]=1;F[f+124>>2]=1634889070}c=qc(103324,0,f+120|0,0);F[f+96>>2]=c;if(c){break k}c=G[a+105|0];d=G[a+104|0];if(c>>>0>>0){F[f+96>>2]=3;break k}F[b+16>>2]=(c-d|0)+2;c=F[a+8>>2];d=F[a+116>>2];if(c>>>0<=d>>>0){F[f+96>>2]=3;break k}c=c-d|0;d=gb(l,c+1|0,f+96|0);F[a+168>>2]=d;if(F[f+96>>2]){break k}Ya(d,F[a+160>>2]+F[a+116>>2]|0,c);D[c+F[a+168>>2]|0]=0;d=a;a=F[a+168>>2];a=Va(l,1,c,hb(a)+1|0,a,f+96|0);F[d+168>>2]=a;if(F[f+96>>2]){break k}F[b+24>>2]=9328;F[b+20>>2]=a;c=F[b+12>>2];a=c&1;if(c&2){if(a){F[b+24>>2]=9527;d=0;break j}F[b+24>>2]=9643;d=0;break j}d=0;if(!a){break j}F[b+24>>2]=9796;break j}d=e;if(!b){break j}}a=F[b+100>>2];c=F[b+132>>2];if(c){if(F[c+160>>2]){Eb(F[b+104>>2],c+160|0)}d=F[c+168>>2];if(d){Ia[F[a+8>>2]](a,d)}F[c+168>>2]=0;if(c){Ia[F[a+8>>2]](a,c)}F[b+132>>2]=0}c=F[b+32>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+28>>2]=0;F[b+32>>2]=0;d=F[f+96>>2]}Ga=f+160|0;return d|0}function jC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=M(0),m=0,n=0,o=0,p=0,q=0;f=Ga+-64|0;Ga=f;g=d;d=F[a+80>>2];p=g,q=(Ia[F[d+176>>2]](a,F[a+84>>2],c,F[d+32>>2])|0)/2|0,F[p>>2]=q;g=Ga-48|0;Ga=g;i=b+52|0;d=F[i>>2];a:{if(d){break a}m=i-52|0;while(1){d=F[m>>2];if(!d){d=163632;break a}F[g+8>>2]=0;F[g+12>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;D[g+24|0]=0;F[g+28>>2]=0;F[g+32>>2]=0;F[g>>2]=0;F[g+4>>2]=0;h=Db(d);D[g+40|0]=1;F[g+36>>2]=h;d=Ab(d,1448038983);if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}D[g+24|0]=0;F[g+32>>2]=d;k=F[d+12>>2];F[g+4>>2]=k;j=F[d+16>>2];F[g+8>>2]=j+k;F[g+28>>2]=0;if(j>>>0>67108862){h=1073741823}else{h=j<<6;h=h>>>0>16384?h:16384;h=h>>>0<1073741823?h:1073741823}F[g+12>>2]=h;F[g+20>>2]=0;F[g>>2]=0;b:{if(!k){Xa(d);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;break b}c:{d:{if((j|0)<8){break d}F[g+12>>2]=h-8;if((j&-2)==6|(G[k|0]|G[k+1|0]<<8)!=256){break d}n=h-10|0;F[g+12>>2]=n;h=G[k+6|0]|G[k+7|0]<<8;if(!h){break c}h=((h<<8|h>>>8)&65535)<<2;if(h>>>0>j-8>>>0){break d}h=n-h|0;F[g+12>>2]=h;if((h|0)>0){break c}}Xa(d);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;Xa(d);d=163632;break b}Xa(d);F[g+32>>2]=0;F[g+4>>2]=0;F[g+8>>2]=0;if(F[d+4>>2]){F[d+4>>2]=0}}h=F[i>>2];d=d?d:163632;F[i>>2]=h?h:d;if(!h){break a}if(!(!d|(d|0)==163632)){Xa(d)}d=F[i>>2];if(!d){continue}break}}Ga=g+48|0;e:{g=I[d+16>>2]<8?163632:F[d+12>>2];f:{if(G[g|0]|G[g+1|0]<<8|(G[g+2|0]|G[g+3|0]<<8)){n=F[a+48>>2];h=F[a+52>>2];g:{h:{a=G[g+6|0]|G[g+7|0]<<8;if(a){j=(a<<8|a>>>8)&65535;b=j-1|0;d=0;while(1){a=b+d>>>1|0;i=g+(a<<2)|0;i=G[i+8|0]|G[i+9|0]<<8;i=(i<<8|i>>>8)&65535;i:{if(i>>>0>c>>>0){b=a-1|0;break i}if((c|0)==(i|0)){break h}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=g+4|0;break g}a=(a>>>0>>0?(g+(a<<2)|0)+8|0:163632)+2|0}a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)<<16;b=a>>31;a=EC(n,h,a>>16,b)+32768|0;b=Ha;b=a>>>0<32768?b+1|0:b;F[e>>2]=(b&65535)<<16|a>>>16;break f}F[f+56>>2]=0;F[f+60>>2]=0;F[f+48>>2]=0;F[f+52>>2]=0;d=F[b+60>>2];j:{if(d){break j}while(1){g=F[b>>2];if(!g){d=163632;break j}k:{d=ib(1,28);if(d){Ce(d,g);g=F[b+60>>2];F[b+60>>2]=g?g:d;if(!g){break j}g=F[d+24>>2];F[61902]=0;_(579,g|0);g=F[61902];F[61902]=0;if((g|0)==1){break e}Ta(d);break k}d=163632;g=F[b+60>>2];F[b+60>>2]=g?g:163632;if(g){break k}break j}d=F[b+60>>2];if(!d){continue}break}}if(Co(d,a,c,f+48|0)){b=vh(b+48|0);h=F[b>>2];l:{m:{if(h>>>0>c>>>0){g=F[b+4>>2];d=F[b+20>>2];d=((c|0)<0?163632:F[(d?d:163632)+12>>2]+(c<<2)|0)+2|0;break m}g=F[b+4>>2];d=0;if(g>>>0<=c>>>0){break l}d=F[b+20>>2];d=(c-h<<1)+((h|0)<0?163632:F[(d?d:163632)+12>>2]+(h<<2)|0)|0}d=G[d|0]|G[d+1|0]<<8;d=(d<<8|d>>>8)<<16>>16}n:{if(c>>>0>=g>>>0){break n}k=F[a+68>>2];if(!k){break n}b=F[b+24>>2];b=b?b:163632;g=F[b+16>>2];if(g){j=F[a+72>>2];b=g>>>0<20?163632:F[b+12>>2];g=G[b+12|0]|G[b+13|0]<<8|(G[b+14|0]<<16|G[b+15|0]<<24);h=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);o:{if(!h){break o}g=G[b+16|0]|G[b+17|0]<<8|(G[b+18|0]<<16|G[b+19|0]<<24);if(!(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))){break o}g=b+h|0;p:{if(G[g|0]){break p}h=G[g+2|0]|G[g+3|0]<<8;if(!h){break p}h=(h<<8|h>>>8)&65535;c=c>>>0>>0?c:h-1|0;i=G[g+1|0];m=i>>>4&3;h=m+1|0;g=g+L(c,h)|0;c=G[g+4|0];q:{if(!m){break q}c=G[g+5|0]|c<<8;if((h|0)==2){break q}c=G[g+6|0]|c<<8;if((h|0)==3){break q}c=G[g+7|0]|c<<8}g=(i&15)+1|0;c=c>>>g<<16|(-1<>>8&65280|b>>>24);b=b?g+b|0:163632;g=G[b+6|0]|G[b+7|0]<<8;h=(g<<8|g>>>8)&65535;g=c>>>16|0;if(h>>>0<=g>>>0){break o}g=b+(g<<2)|0;g=G[g+8|0]|G[g+9|0]<<8|(G[g+10|0]<<16|G[g+11|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=g?g+b|0:163632;g=b;b=G[b+2|0]|G[b+3|0]<<8|(G[b+4|0]<<16|G[b+5|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);l=Be(h,c&65535,j,k,b?g+b|0:163632)}l=M(l+M(d|0));if(M(N(l))>2];g=F[d+108>>2];r:{if(g){break r}while(1){h=F[d+48>>2];if(!h){g=163632;break r}s:{g=ib(1,28);if(g){Ce(g,h);h=F[d+108>>2];F[d+108>>2]=h?h:g;if(!h){break r}h=F[g+24>>2];F[61902]=0;_(579,h|0);h=F[61902];F[61902]=0;if((h|0)==1){break e}Ta(g);break s}g=163632;h=F[d+108>>2];F[d+108>>2]=h?h:163632;if(h){break s}break r}g=F[d+108>>2];if(!g){continue}break}}d=0;t:{if(I[g+16>>2]<=c>>>0){break t}F[b+48>>2]=2139095039;F[b+52>>2]=-8388609;F[b+56>>2]=-8388609;F[b+16>>2]=2139095039;F[b+20>>2]=-8388609;F[b+24>>2]=-8388609;F[b+44>>2]=2139095039;F[b+40>>2]=b- -64;d=F[b+44>>2];F[b+8>>2]=F[b+40>>2];F[b+12>>2]=d;F[b+32>>2]=a;F[b+36>>2]=b+128;d=F[b+36>>2];F[b>>2]=F[b+32>>2];F[b+4>>2]=d;if(!wh(g,a,c,b)){g=F[g+8>>2];h=F[g>>2];u:{if(h>>>0>c>>>0){d=F[g+20>>2];c=((c|0)<0?163632:F[(d?d:163632)+12>>2]+(c<<2)|0)+2|0;break u}d=0;if(I[g+4>>2]<=c>>>0){break t}d=c-h<<1;c=F[g+20>>2];c=d+((h|0)<0?163632:F[(c?c:163632)+12>>2]+(h<<2)|0)|0}c=G[c|0]|G[c+1|0]<<8;d=(c<<8|c>>>8)<<16>>16;break t}l=M(M(S(J[b+104>>2]))-M(F[b+132>>2]));if(M(N(l))>2];g=F[a+48>>2];c=F[a+52>>2];a=d<<16;b=a>>31;b=EC(g,c,a>>16,b)+32768|0;a=Ha;a=b>>>0<32768?a+1|0:a;F[e>>2]=h+((a&65535)<<16|b>>>16);break f}F[f+40>>2]=0;F[f+44>>2]=0;F[f+32>>2]=0;F[f+36>>2]=0;F[f+24>>2]=0;F[f+28>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;F[f>>2]=0;F[f+4>>2]=0;b=F[a+80>>2];v:{if(Ia[F[b+156>>2]](a,F[a+84>>2],f,F[b+12>>2])|0){a=F[f>>2];break v}o=+F[a+24>>2]*.8;if(N(o)<2147483648){a=~~o;break v}a=-2147483648}F[e>>2]=a}Ga=f- -64|0;return 1}ca(0)|0;Y()|0;Hb();V()}function Jg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;k=Ga-32|0;Ga=k;n=F[a>>2];f=Ga-48|0;Ga=f;g=F[b+20>>2];a:{b:{if(g){h=85;if(Ia[g|0](b,c,0,0)|0){break a}g=F[b+4>>2];break b}h=85;g=F[b+4>>2];if(g>>>0>>0){break a}}F[b+8>>2]=c;F[f+44>>2]=0;if(c>>>0>=g>>>0){break a}i=F[b+20>>2];c:{if(i){g=Ia[i|0](b,c,f+16|0,16)|0;break c}g=g-c|0;g=g>>>0<16?g:16;Ya(f+16|0,F[b>>2]+c|0,g)}F[b+8>>2]=c+g;if(g>>>0<16){break a}g=D[f+16|0];if((g|0)<0){h=2;break a}i=D[f+20|0];if((i|0)<0){h=2;break a}j=D[f+24|0];if((j|0)<0){h=2;break a}l=D[f+28|0];if((l|0)<0){h=2;break a}g=G[f+19|0]|(G[f+17|0]<<16|(g&255)<<24|G[f+18|0]<<8);F[k+16>>2]=g;i=G[f+23|0]|(G[f+21|0]<<16|(i&255)<<24|G[f+22|0]<<8);if(!i){h=2;break a}m=G[f+31|0];l=m|(G[f+29|0]<<16|(l&255)<<24|G[f+30|0]<<8);j=G[f+27|0]|(G[f+25|0]<<16|(j&255)<<24|G[f+26|0]<<8);d:{if(g>>>0>>0){if((g|0)<=(i-j|0)){break d}h=2;break a}if((i|0)<=(g-l|0)){break d}h=2;break a}if(g>>>0>(j^2147483647)>>>0){h=2;break a}if(i>>>0>(l^2147483647)>>>0){h=2;break a}if((g+j^2147483647)<(c|0)){h=2;break a}if((i+l^2147483647)<(c|0)){h=2;break a}g=c+g|0;o=g+j|0;j=F[b+4>>2];if(o>>>0>j>>>0){h=2;break a}c=c+i|0;if(j>>>0>>0){h=2;break a}F[k+16>>2]=g;g=F[b+20>>2];e:{if(g){if(Ia[g|0](b,c,0,0)|0){break a}m=G[f+31|0];break e}if(c>>>0>I[b+4>>2]){break a}}F[b+8>>2]=c;D[f+15|0]=m+1;h=Gb(b,f,16);if(h){break a}t=G[f|0];u=G[f+1|0];v=G[f+2|0];w=G[f+3|0];x=G[f+4|0];y=G[f+5|0];s=G[f+6|0];r=G[f+7|0];o=G[f+8|0];p=G[f+9|0];h=G[f+10|0];g=G[f+11|0];i=G[f+12|0];l=G[f+13|0];j=G[f+15|0];m=G[f+14|0];if(!(!(t|(u|(v|(w|(x|(y|(s|(r|(o|(p|(h|(g|(i|(l|(j|m)))))))))))))))|G[f+31|0]==(j|0)&G[f+30|0]==(m|0)&G[f+29|0]==(l|0)&G[f+28|0]==(i|0)&G[f+27|0]==(g|0)&G[f+26|0]==(h|0)&(p|0)==G[f+25|0]&(o|0)==G[f+24|0]&(r|0)==G[f+23|0]&(s|0)==G[f+22|0]&(y|0)==G[f+21|0]&(x|0)==G[f+20|0]&(w|0)==G[f+19|0]&(v|0)==G[f+18|0]&(u|0)==G[f+17|0]&(t|0)==G[f+16|0])){h=2;break a}h=F[b+8>>2]+8|0;i=F[b+20>>2];f:{g:{if(i){g=85;if(!(Ia[i|0](b,h,0,0)|0)){break g}break f}g=85;if(h>>>0>I[b+4>>2]){break f}}F[b+8>>2]=h;g=0}F[f+44>>2]=g;g=fb(b,f+44|0);h=F[f+44>>2];if(h){break a}h=2;g=g<<16>>16;if((g|0)<0){break a}c=c+g|0;g=F[b+20>>2];h:{if(g){h=85;if(!(Ia[g|0](b,c,0,0)|0)){break h}break a}h=85;if(c>>>0>I[b+4>>2]){break a}}F[b+8>>2]=c;F[k+20>>2]=c;h=0}Ga=f+48|0;c=h;i:{if(c){break i}c=1;j:{k:{h=F[k+20>>2];f=F[k+16>>2];l:{if(!ll(a,b,h,f,1347375956,1,k+12|0,k+8|0)){p=F[k+12>>2];m:{n:{o:{if(d+1>>>0<=1){s=F[k+8>>2];if((s|0)>0){break o}c=10}d=c;if(p){break n}break i}r=F[a>>2];f=0;p:{while(1){c=F[p+(f<<2)>>2];d=F[b+20>>2];q:{if(d){if(Ia[d|0](b,c,0,0)|0){break p}d=F[b+4>>2];break q}d=F[b+4>>2];if(d>>>0>>0){break p}}F[b+8>>2]=c;if(c+3>>>0>=d>>>0){break p}r:{s:{d=F[b+20>>2];t:{if(d){if((Ia[d|0](b,c,k+28|0,4)|0)!=4){break p}c=F[b+8>>2];d=k+28|0;break t}d=F[b>>2];if(!d){break s}d=c+d|0}d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);F[b+8>>2]=c+4;c=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(c>>>0<=16777215){break r}d=9;break n}F[b+8>>2]=c+4;c=0}h=q+6|0;d=9;if(h>>>0>16777215-c>>>0){break n}q=c+h|0;f=f+1|0;if((s|0)!=(f|0)){continue}break}m=q+2|0;d=10;if(m>>>0<=5){break n}d=6;if((m|0)<=0){break n}c=Ia[F[r+4>>2]](r,m)|0;d=64;if(!c){break n}j=Wa(c,0,m);D[j+2|0]=0;D[j+3|0]=0;D[j+4|0]=0;D[j+5|0]=0;D[j|0]=128;D[j+1|0]=1;o=2;f=6;c=0;l=1;d=0;u:{while(1){h=F[p+(d<<2)>>2];g=F[b+20>>2];v:{if(g){if(!(Ia[g|0](b,h,0,0)|0)){break v}break u}if(h>>>0>I[b+4>>2]){break u}}F[b+8>>2]=h;F[k+24>>2]=0;h=Bb(b,k+24|0);if(F[k+24>>2]|(h|0)<0){break u}i=fb(b,k+24|0);if(F[k+24>>2]){break u}F[k+24>>2]=10;w:{if(i>>>0>=256){g=h-2|0;g=h>>>0>>0?0:g;i=i>>>8|0;x:{if((i|0)==(l|0)){h=f;c=c+g|0;break x}l=o+3|0;if(l>>>0>m>>>0){break u}h=j+o|0;D[h|0]=c;D[h+2|0]=c>>>16;D[h+1|0]=c>>>8;D[j+l|0]=c>>>24;if((i|0)==5){break w}h=f+6|0;if(m>>>0>>0){break u}l=f+j|0;D[l|0]=128;o=f+2|0;c=j+o|0;D[c|0]=0;D[c+1|0]=0;D[c+2|0]=0;D[c+3|0]=0;D[l+1|0]=i;l=i;c=g}if(h>>>0>q>>>0){break u}f=h+g|0;if(q>>>0>>0){break u}h=Gb(b,h+j|0,g);F[k+24>>2]=h;if(h){break u}}d=d+1|0;if((s|0)!=(d|0)){continue}}break}d=f+2|0;if(d>>>0>m>>>0){break u}b=f+j|0;D[b|0]=128;D[b+1|0]=3;h=o+3|0;if(h>>>0<=m>>>0){break m}}Ia[F[r+8>>2]](r,j);Ia[F[n+8>>2]](n,p);c=1;break i}d=85}c=d;Ia[F[n+8>>2]](n,p);break i}b=j+o|0;D[b|0]=c;D[b+2|0]=c>>>16;q=1;D[b+1|0]=c>>>8;D[h+j|0]=c>>>24;c=Bg(a,j,d,0,11064,e);Ia[F[n+8>>2]](n,p);if(!c){break l}break i}c=ll(a,b,h,f,1936092788,0,k+12|0,k+8|0);if(c){break i}h=F[k+12>>2];q=F[k+8>>2];c=(d|0)%(q|0)|0;i=c>>31^c;if((i|0)>=(q|0)){break k}f=F[a>>2];g=F[h+(i<<2)>>2];d=F[b+20>>2];y:{if(d){c=85;if(!(Ia[d|0](b,g,0,0)|0)){break y}break j}c=85;if(g>>>0>I[b+4>>2]){break j}}F[b+8>>2]=g;F[k+28>>2]=0;d=Bb(b,k+28|0);c=F[k+28>>2];if(c){break j}c=1;if((d|0)<=0){break j}c=9;if(d>>>0>16777215){break j}if(!Al(a,b,i,e)){Ia[F[n+8>>2]](n,h);break l}g=g+4|0;i=F[b+20>>2];z:{if(i){c=85;if(Ia[i|0](b,g,0,0)|0){break j}break z}c=85;if(g>>>0>I[b+4>>2]){break j}}F[b+8>>2]=g;c=Ia[F[f+4>>2]](f,d)|0;if(!c){c=64;break j}g=b;b=Wa(c,0,d);c=Gb(g,b,d);if(c){Ia[F[f+8>>2]](f,b);break j}c=Bg(a,b,d,0,d>>>0>=5?(G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24))==1330926671?11258:10087:10087,e);Ia[F[n+8>>2]](n,h);if(c){break i}}F[F[e>>2]>>2]=q;c=0;break i}c=1;if(!h){break i}Ia[F[n+8>>2]](n,h);break i}Ia[F[n+8>>2]](n,h)}Ga=k+32|0;return c}function tt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ga-48|0;Ga=i;h=2;a:{b:{c:{switch(F[a+796>>2]-1|0){case 0:case 1:if(!F[a+864>>2]){h=142;break a}j=F[F[a+804>>2]+(b<<2)>>2];b=F[a+104>>2];h=Za(b,F[a+860>>2]);if(h){break a}F[i+4>>2]=b;F[i>>2]=a;b=F[a+84>>2];E[i+16>>1]=0;F[i+12>>2]=g;F[i+8>>2]=b+76;F[i+20>>2]=F[a+860>>2];F[i+24>>2]=F[a+864>>2];b=F[a+788>>2];F[i+36>>2]=b;e=F[a+792>>2];F[i+40>>2]=e+b;h=3;g=L(j,48);if(e>>>0>>0){break a}b=b+g|0;g=G[b+8|0]|G[b+9|0]<<8|(G[b+10|0]<<16|G[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);F[i+28>>2]=j;g=G[b+16|0]|G[b+17|0]<<8|(G[b+18|0]<<16|G[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);F[i+32>>2]=g;D[i+18|0]=G[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=Sj(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break b}h=0;break a;case 2:break c;default:break a}}b=F[F[a+804>>2]+(b<<2)>>2];d=0;E[g>>1]=0;E[g+2>>1]=0;if(I[a+16>>2]>>0){h=6;break a}b=F[a+788>>2]+(b<<2)|0;b=G[b+8|0]|G[b+9|0]<<8|(G[b+10|0]<<16|G[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=b+4|0;while(1){f=F[a+864>>2];if(f>>>0<=b>>>0){h=3;break a}c=c<<2;if(c+12>>>0>f-b>>>0){h=3;break a}h=Za(e,F[a+860>>2]+(c+g|0)|0);if(h){break a}h=tb(e,8);if(h){break a}c=Tb(e);f=Tb(e);lb(e);if((c|0)==(f|0)){h=157;break a}if(c>>>0>f>>>0){h=3;break a}j=f-c|0;if(j>>>0<8){h=3;break a}h=3;if(f>>>0>F[a+864>>2]-b>>>0){break a}h=Za(e,F[a+860>>2]+(b+c|0)|0);if(h){break a}h=tb(e,j);if(h){break a}xb(e);xb(e);c=Tb(e);if((c|0)!=1685418085){d:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break d}}h=2}lb(e);break a}if((d|0)==4){h=3;lb(e);break a}c=xb(e);lb(e);d=d+1|0;if(I[a+16>>2]>=c>>>0){continue}break}h=6;break a}h=0;if(G[f+18|0]!=7){break a}n=F[F[a+84>>2]>>2];if(i){F[i>>2]=0;F[i+4>>2]=0;F[i+16>>2]=0;F[i+20>>2]=0;F[i+8>>2]=0;F[i+12>>2]=0}g=f;l=Ga-16|0;Ga=l;F[l+12>>2]=0;e:{if(!n){d=33;break e}d=6;if(!g|!i){break e}f:{if((G[g+18|0]-1&255)>>>0<=6){f=F[n>>2];D[i+18|0]=2;h=F[i>>2];c=F[g>>2];F[i>>2]=c;F[i+4>>2]=F[g+4>>2];e=F[i+8>>2];b=F[g+4>>2];EC(b,0,c,0);if(Ha?(b|0)>0:0){break e}d=e>>31;c=il(f,L(h,(d^e)-d|0),L(b,c),F[i+12>>2],l+12|0);F[i+12>>2]=c;d=F[l+12>>2];if(d){break e}F[i+8>>2]=F[i+8>>2]<0?0-b|0:b;break f}F[l+12>>2]=6;c=F[i+12>>2]}b=F[g+12>>2];f=F[g+8>>2];if((f|0)<0){b=L(1-F[g>>2]|0,f)+b|0}j=F[i+8>>2];if((j|0)<0){c=L(1-F[i>>2]|0,j)+c|0}g:{h:{switch(G[g+18|0]-1|0){case 0:E[i+16>>1]=2;j=F[g>>2];if(!j){break g}while(1){e=F[g+4>>2];i:{if(e>>>0<8){f=b;d=c;break i}h=e>>>3|0;d=c;f=b;while(1){e=G[f|0];D[d+7|0]=e&1;D[d|0]=e>>>7;D[d+6|0]=e>>>1&1;D[d+5|0]=e>>>2&1;D[d+4|0]=e>>>3&1;D[d+3|0]=e>>>4&1;D[d+2|0]=e>>>5&1;D[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;h=h-1|0;if(h){continue}break}e=F[g+4>>2]}e=e&7;j:{if(!e){break j}f=G[f|0];D[d|0]=f>>>7;if((e|0)==1){break j}D[d+1|0]=f>>>6&1;if((e|0)==2){break j}D[d+2|0]=f>>>5&1;if((e|0)==3){break j}D[d+3|0]=f>>>4&1;if((e|0)==4){break j}D[d+4|0]=f>>>3&1;if((e|0)==5){break j}D[d+5|0]=f>>>2&1;if((e|0)==6){break j}D[d+6|0]=f>>>1&1}c=F[i+8>>2]+c|0;b=F[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 1:case 4:case 5:f=F[g+4>>2];E[i+16>>1]=256;d=F[g>>2];if(!d){break g}if(d&1){c=Ya(c,b,f)+F[i+8>>2]|0;b=F[g+8>>2]+b|0;e=d-1|0}else{e=d}if((d|0)==1){break g}while(1){c=Ya(c,b,f);b=F[g+8>>2]+b|0;c=Ya(c+F[i+8>>2]|0,b,f)+F[i+8>>2]|0;b=b+F[g+8>>2]|0;e=e-2|0;if(e){continue}break};break g;case 2:E[i+16>>1]=4;j=F[g>>2];if(!j){break g}while(1){f=F[g+4>>2];k:{if(f>>>0<4){e=b;d=c;break k}k=f>>>2|0;h=k;d=c;e=b;if(f&4){d=G[b|0];D[c+3|0]=d&3;D[c|0]=d>>>6;D[c+2|0]=d>>>2&3;D[c+1|0]=d>>>4&3;h=k-1|0;e=b+1|0;d=c+4|0}if((k|0)!=1){while(1){f=G[e|0];D[d+3|0]=f&3;D[d|0]=f>>>6;D[d+2|0]=f>>>2&3;D[d+1|0]=f>>>4&3;f=G[e+1|0];D[d+7|0]=f&3;D[d+4|0]=f>>>6;D[d+6|0]=f>>>2&3;D[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=F[g+4>>2]}f=f&3;l:{if(!f){break l}e=G[e|0];D[d|0]=e>>>6;if((f|0)==1){break l}D[d+1|0]=e>>>4&3;if((f|0)==2){break l}D[d+2|0]=e>>>2&3}c=F[i+8>>2]+c|0;b=F[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 3:E[i+16>>1]=16;j=F[g>>2];if(!j){break g}while(1){f=F[g+4>>2];m:{if(f>>>0<2){e=b;d=c;break m}f=f>>>1|0;k=f-1|0;h=0;d=c;e=b;m=f&3;if(m){while(1){o=G[e|0];D[d+1|0]=o&15;D[d|0]=o>>>4;f=f-1|0;d=d+2|0;e=e+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}if(k>>>0>=3){while(1){h=G[e|0];D[d+1|0]=h&15;D[d|0]=h>>>4;h=G[e+1|0];D[d+3|0]=h&15;D[d+2|0]=h>>>4;h=G[e+2|0];D[d+5|0]=h&15;D[d+4|0]=h>>>4;h=G[e+3|0];D[d+7|0]=h&15;D[d+6|0]=h>>>4;d=d+8|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=F[g+4>>2]}if(f&1){D[d|0]=G[e|0]>>>4}c=F[i+8>>2]+c|0;b=F[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 6:break h;default:break g}}E[i+16>>1]=256;k=F[g>>2];if(!k){break g}h=F[g+4>>2];if(!h){break g}while(1){e=c;d=b;if(h){while(1){f=G[d+3|0];if(f){j=G[d+1|0];m=L(L(j,j),46871);j=G[d|0];m=m+L(L(j,j),4732)|0;j=G[d+2|0];f=f-((m+L(L(j,j),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}D[e|0]=f;e=e+1|0;d=d+4|0;h=h-1|0;if(h){continue}break}j=F[i+8>>2];f=F[g+8>>2]}k=k-1|0;if(!k){break g}b=b+f|0;c=c+j|0;h=F[g+4>>2];continue}}d=F[l+12>>2]}Ga=l+16|0;h=d;if(d){if(i?n:0){Ll(n,i)}break a}D[g+18|0]=G[i+18|0];F[g+8>>2]=F[i+8>>2];E[g+16>>1]=H[i+16>>1];Mg(F[a+84>>2],F[i+12>>2]);a=F[F[a+84>>2]+156>>2];F[a+4>>2]=F[a+4>>2]|1}Ga=i+48|0;return h|0}function em(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Ga-80|0;Ga=h;F[h+76>>2]=b;x=h+55|0;s=h+56|0;b=0;a:{b:{c:{d:{e:while(1){if((2147483647-o|0)<(b|0)){break d}o=b+o|0;f:{g:{h:{k=F[h+76>>2];b=k;i=G[b|0];if(i){while(1){i:{i=i&255;j:{if(!i){i=b;break j}if((i|0)!=37){break i}i=b;while(1){if(G[b+1|0]!=37){break j}j=b+2|0;F[h+76>>2]=j;i=i+1|0;m=G[b+2|0];b=j;if((m|0)==37){continue}break}}b=i-k|0;w=2147483647-o|0;if((b|0)>(w|0)){break d}if(a){Yb(a,k,b)}if((i|0)!=(k|0)){continue e}r=-1;i=1;b=F[h+76>>2];if(!(D[b+1|0]-48>>>0>=10|G[b+2|0]!=36)){r=D[b+1|0]-48|0;u=1;i=3}b=i+b|0;F[h+76>>2]=b;p=0;l=D[b|0];j=l-32|0;k:{if(j>>>0>31){i=b;break k}i=b;j=1<>2]=i;p=j|p;l=D[b+1|0];j=l-32|0;if(j>>>0>=32){break k}b=i;j=1<>>0>=10){break n}b=F[h+76>>2];if(G[b+2|0]!=36){break n}F[((D[b+1|0]<<2)+e|0)-192>>2]=10;q=F[((D[b+1|0]<<3)+d|0)-384>>2];u=1;b=b+3|0;break m}if(u){break h}u=0;q=0;if(a){b=F[c>>2];F[c>>2]=b+4;q=F[b>>2]}b=F[h+76>>2]+1|0}F[h+76>>2]=b;if((q|0)>=0){break l}q=0-q|0;p=p|8192;break l}q=dm(h+76|0);if((q|0)<0){break d}b=F[h+76>>2]}i=0;j=-1;m=0;o:{if(G[b|0]!=46){break o}if(G[b+1|0]==42){p:{q:{if(D[b+2|0]-48>>>0>=10){break q}b=F[h+76>>2];if(G[b+3|0]!=36){break q}F[((D[b+2|0]<<2)+e|0)-192>>2]=10;j=F[((D[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;break p}if(u){break h}if(a){b=F[c>>2];F[c>>2]=b+4;j=F[b>>2]}else{j=0}b=F[h+76>>2]+2|0}F[h+76>>2]=b;m=(j^-1)>>>31|0;break o}F[h+76>>2]=b+1;j=dm(h+76|0);b=F[h+76>>2];m=1}v=m;while(1){t=i;n=28;if(D[b|0]-123>>>0<4294967238){break c}l=b+1|0;F[h+76>>2]=l;i=D[b|0];b=l;i=G[(i+L(t,58)|0)+241279|0];if(i-1>>>0<8){continue}break}r:{s:{if((i|0)!=27){if(!i){break c}if((r|0)>=0){F[(r<<2)+e>>2]=i;b=(r<<3)+d|0;i=F[b+4>>2];F[h+64>>2]=F[b>>2];F[h+68>>2]=i;break s}if(!a){break f}cm(h- -64|0,i,c,g);l=F[h+76>>2];break r}if((r|0)>=0){break c}}b=0;if(!a){continue e}}m=p&-65537;i=p&8192?m:p;p=0;r=237936;n=s;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{b=D[l-1|0];b=t?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break t;case 9:case 13:case 14:case 15:break u;case 27:break z;case 12:case 17:break C;case 23:break D;case 0:case 32:break E;case 24:break F;case 22:break G;case 29:break H;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break I}}J:{switch(b-65|0){case 0:case 4:case 5:case 6:break u;case 2:break x;case 1:case 3:break g;default:break J}}if((b|0)==83){break y}break g}l=F[h+64>>2];k=F[h+68>>2];r=237936;break B}b=0;K:{switch(t&255){case 0:F[F[h+64>>2]>>2]=o;continue e;case 1:F[F[h+64>>2]>>2]=o;continue e;case 2:i=F[h+64>>2];F[i>>2]=o;F[i+4>>2]=o>>31;continue e;case 3:E[F[h+64>>2]>>1]=o;continue e;case 4:D[F[h+64>>2]]=o;continue e;case 6:F[F[h+64>>2]>>2]=o;continue e;case 7:break K;default:continue e}}i=F[h+64>>2];F[i>>2]=o;F[i+4>>2]=o>>31;continue e}j=j>>>0>8?j:8;i=i|8;b=120}m=s;y=b&32;l=F[h+64>>2];k=F[h+68>>2];if(l|k){while(1){m=m-1|0;D[m|0]=y|G[(l&15)+241808|0];z=!k&l>>>0>15|(k|0)!=0;t=k;k=k>>>4|0;l=(t&15)<<28|l>>>4;if(z){continue}break}}k=m;if(!(F[h+64>>2]|F[h+68>>2])|!(i&8)){break A}r=(b>>>4|0)+237936|0;p=2;break A}b=s;l=F[h+64>>2];k=F[h+68>>2];if(l|k){while(1){b=b-1|0;D[b|0]=l&7|48;t=!k&l>>>0>7|(k|0)!=0;m=k;k=k>>>3|0;l=(m&7)<<29|l>>>3;if(t){continue}break}}k=b;if(!(i&8)){break A}b=s-k|0;j=(b|0)<(j|0)?j:b+1|0;break A}b=F[h+68>>2];k=b;l=F[h+64>>2];if((b|0)<0){k=0-(k+((l|0)!=0)|0)|0;l=0-l|0;F[h+64>>2]=l;F[h+68>>2]=k;p=1;r=237936;break B}if(i&2048){p=1;r=237937;break B}p=i&1;r=p?237938:237936}k=Td(l,k,s)}if((j|0)<0?v:0){break d}i=v?i&-65537:i;m=F[h+64>>2];b=F[h+68>>2];if(!(j|(m|b)!=0)){k=s;n=k;j=0;break g}b=!(b|m)+(s-k|0)|0;j=(b|0)<(j|0)?j:b;break g}b=F[h+64>>2];k=b?b:238797;b=j>>>0<2147483647?j:2147483647;i=te(k,0,b);b=i?i-k|0:b;n=b+k|0;if((j|0)>=0){i=m;j=b;break g}i=m;j=b;if(G[n|0]){break d}break g}if(j){n=F[h+64>>2];break w}b=0;bc(a,32,q,0,i);break v}F[h+12>>2]=0;F[h+8>>2]=F[h+64>>2];n=h+8|0;F[h+64>>2]=n;j=-1}b=0;L:{while(1){k=F[n>>2];if(!k){break L}k=$l(h+4|0,k);m=(k|0)<0;if(!(m|k>>>0>j-b>>>0)){n=n+4|0;b=b+k|0;if(j>>>0>b>>>0){continue}break L}break}if(m){break b}}n=61;if((b|0)<0){break c}bc(a,32,q,b,i);if(!b){b=0;break v}j=0;n=F[h+64>>2];while(1){k=F[n>>2];if(!k){break v}k=$l(h+4|0,k);j=k+j|0;if(j>>>0>b>>>0){break v}Yb(a,h+4|0,k);n=n+4|0;if(b>>>0>j>>>0){continue}break}}bc(a,32,q,b,i^8192);b=(b|0)<(q|0)?q:b;continue e}if((j|0)<0?v:0){break d}n=61;b=Ia[f|0](a,K[h+64>>3],q,j,i,b)|0;if((b|0)>=0){continue e}break c}D[h+55|0]=F[h+64>>2];j=1;k=x;i=m;break g}j=b+1|0;F[h+76>>2]=j;i=G[b+1|0];b=j;continue}}if(a){break a}if(!u){break f}b=1;while(1){a=F[(b<<2)+e>>2];if(a){cm((b<<3)+d|0,a,c,g);o=1;b=b+1|0;if((b|0)!=10){continue}break a}break}o=1;if(b>>>0>=10){break a}while(1){if(F[(b<<2)+e>>2]){break h}b=b+1|0;if((b|0)!=10){continue}break}break a}n=28;break c}m=n-k|0;l=(j|0)>(m|0)?j:m;if((l|0)>(2147483647-p|0)){break d}n=61;j=l+p|0;b=(j|0)<(q|0)?q:j;if((w|0)<(b|0)){break c}bc(a,32,b,j,i);Yb(a,r,p);bc(a,48,b,j,i^65536);bc(a,48,l,m,0);Yb(a,k,m);bc(a,32,b,j,i^8192);continue}break}o=0;break a}n=61}F[61729]=n}o=-1}Ga=h+80|0;return o}function tA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=F[c+80>>2];k=20;h=1;a=0;m=F[c+68>>2];d=!m;while(1){a:{b:{c:{if(!d){a=G[k+136960|0]==7?g:a;d=k<<1;j=E[d+136688>>1]+135840|0;b=D[k+136768|0];e=G[(i+L(g,20)|0)+18|0];k=G[d+135744|0];if(e>>>0>=k>>>0){b=e>>>0>G[d+135745|0]?b:e-k|0}b=D[b+j|0];break c}if((k|0)==20){break b}g=m;b=G[k+136912|0]-1|0}k=D[b+136816|0];d=b&31;d:{if(((b&63)>>>0>=32?12095>>>d|0:((1<>>d)&1){break d}e:{switch(D[b+136864|0]-1|0){case 1:f=g+1|0;break d;case 7:f=g+1|0;f:{if(f>>>0<=a>>>0){break f}d=h<<4|2;b=0;e=a;j=g-e|0;o=j+1&7;if(o){while(1){D[(i+L(e,20)|0)+15|0]=d;e=e+1|0;b=b+1|0;if((o|0)!=(b|0)){continue}break}}if(j>>>0<=6){break f}while(1){b=i+L(e,20)|0;D[b+35|0]=d;D[b+15|0]=d;D[b+55|0]=d;D[b+75|0]=d;D[b+95|0]=d;D[b+115|0]=d;D[b+135|0]=d;D[b+155|0]=d;b=e+7|0;e=e+8|0;if((b|0)!=(g|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 9:g:{if(a>>>0>=g>>>0){break g}f=h<<4;e=0;b=a;d=g-b&7;if(d){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break g}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=g;g=f-1|0;break d;case 11:h:{if(a>>>0>=g>>>0){break h}f=h<<4|1;e=0;b=a;d=g-b&7;if(d){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break h}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=g;g=f-1|0;break d;case 10:i:{if(a>>>0>=g>>>0){break i}f=h<<4|2;e=0;b=a;d=g-b&7;if(d){while(1){D[(i+L(b,20)|0)+15|0]=f;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break i}while(1){d=i+L(b,20)|0;D[d+35|0]=f;D[d+15|0]=f;D[d+55|0]=f;D[d+75|0]=f;D[d+95|0]=f;D[d+115|0]=f;D[d+135|0]=f;D[d+155|0]=f;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=g;g=f-1|0;break d;case 0:g=f-1|0;j:{if(a>>>0>=f>>>0){break j}d=h<<4;e=0;b=a;j=f-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){e=i+L(b,20)|0;D[e+35|0]=d;D[e+15|0]=d;D[e+55|0]=d;D[e+75|0]=d;D[e+95|0]=d;D[e+115|0]=d;D[e+135|0]=d;D[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 4:g=f-1|0;k:{if(a>>>0>=f>>>0){break k}d=h<<4|1;e=0;b=a;j=f-b&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){e=i+L(b,20)|0;D[e+35|0]=d;D[e+15|0]=d;D[e+55|0]=d;D[e+75|0]=d;D[e+95|0]=d;D[e+115|0]=d;D[e+135|0]=d;D[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:l:{switch(l-2|0){case 0:g=f-1|0;m:{if(a>>>0>=f>>>0){break m}d=h<<4|1;e=0;b=a;l=f-b&7;if(l){while(1){D[(i+L(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){e=i+L(b,20)|0;D[e+35|0]=d;D[e+15|0]=d;D[e+55|0]=d;D[e+75|0]=d;D[e+95|0]=d;D[e+115|0]=d;D[e+135|0]=d;D[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}l=2;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 1:break l;default:break d}}g=f-1|0;n:{if(a>>>0>=f>>>0){break n}d=h<<4|2;e=0;b=a;l=f-b&7;if(l){while(1){D[(i+L(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break n}while(1){e=i+L(b,20)|0;D[e+35|0]=d;D[e+15|0]=d;D[e+55|0]=d;D[e+75|0]=d;D[e+95|0]=d;D[e+115|0]=d;D[e+135|0]=d;D[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}l=3;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 3:f=g+1|0;l=2;break d;case 8:break e;default:break d}}f=g+1|0;l=3}a=G[k+137008|0]==6?0:a;g=g+1|0;if((m|0)!=(g|0)){break a}d=1;continue}o:{m=F[c+68>>2];if(!m){break o}a=m-1|0;g=0;b=F[c+80>>2];f=G[b+15|0];while(1){p:{if((a|0)==(g|0)){g=m;break p}g=g+1|0;if((f|0)==G[(b+L(g,20)|0)+15|0]){continue}}break}if(!m){break o}i=F[c+80>>2];d=0;h=m;while(1){f=g;k=f>>>0>h>>>0?h:f;l=k-d|0;q:{if(l>>>0<2){break q}b=F[c+144>>2]|32;F[c+144>>2]=b;if(d>>>0>=k>>>0){break q}g=-1;a=d;o=(d^-1)+k|0;if(o>>>0>=3){p=l&-4;j=0;while(1){e=L(a,20)+i|0;n=F[e+8>>2];g=g>>>0>>0?g:n;n=F[e+28>>2];g=g>>>0>>0?g:n;n=F[e+48>>2];g=g>>>0>>0?g:n;e=F[e+68>>2];g=e>>>0>g>>>0?g:e;a=a+4|0;j=j+4|0;if((p|0)!=(j|0)){continue}break}}e=0;j=l&3;if(j){while(1){p=F[(L(a,20)+i|0)+8>>2];g=g>>>0

>>0?g:p;a=a+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(l&1){a=L(d,20)+i|0;if(F[a+8>>2]!=(g|0)){F[c+144>>2]=b;F[a+4>>2]=F[a+4>>2]|3}d=d+1|0}if(!o){break q}while(1){a=L(d,20)+i|0;if(F[a+8>>2]!=(g|0)){b=b|32;F[c+144>>2]=b;F[a+4>>2]=F[a+4>>2]|3}a=L(d+1|0,20)+i|0;if(F[a+8>>2]!=(g|0)){b=b|32;F[c+144>>2]=b;F[a+4>>2]=F[a+4>>2]|3}d=d+2|0;if((k|0)!=(d|0)){continue}break}}a=f+1|0;a=a>>>0>>0?h:a;b=G[(L(f,20)+i|0)+15|0];g=f;while(1){r:{g=g+1|0;if(h>>>0<=g>>>0){g=a;break r}if((b|0)==G[(L(g,20)+i|0)+15|0]){continue}}break}if(f>>>0>=m>>>0){break o}h=F[c+68>>2];d=f;continue}}return}d=0;continue}}function He(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Ga-1488|0;Ga=e;h=F[a+4>>2];l=F[h+556>>2];q=F[l+40>>2];a:{b:{c:{i=F[h+712>>2];if(F[i+1504>>2]==65535){break c}f=F[i+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(I[i+1196>>2]>>0){break a}c=H[f+(c<<1)>>1];if(c){break b}break a}g=6;if(I[i+20>>2]<=c>>>0){break a}}F[a+164>>2]=65536;F[a+168>>2]=65536;m=d&1024?d|3:d;d:{e:{if(!b){break e}F[a+164>>2]=F[b+16>>2];F[a+168>>2]=F[b+20>>2];j=F[b+44>>2];if(m&8|(j|0)==-1){break e}f=F[b>>2];d=F[f+540>>2];if(!F[d+96>>2]){break e}if(Ia[F[d+72>>2]](h,j,c,m,F[f+104>>2],a+76|0,e+704|0)|0){break e}F[a+108>>2]=0;F[a+24>>2]=H[e+706>>1]<<6;F[a+28>>2]=H[e+704>>1]<<6;k=E[e+708>>1];F[a+32>>2]=k<<6;j=E[e+710>>1];F[a+36>>2]=j<<6;F[a+40>>2]=H[e+712>>1]<<6;f=E[e+714>>1];F[a+44>>2]=f<<6;b=E[e+716>>1];F[a+48>>2]=b<<6;d=H[e+718>>1];g=b;b=m&16;F[a+104>>2]=b?g:j;F[a+100>>2]=b?f:k;F[a+72>>2]=1651078259;F[a+52>>2]=d<<6;Ia[F[F[h+540>>2]+140>>2]](h,0,c,e+32|0,e+48|0);F[a+56>>2]=H[e+48>>1];if(!(!G[h+292|0]|!H[h+330>>1])){Ia[F[F[h+540>>2]+140>>2]](h,1,c,e+32|0,e+48|0);F[a+60>>2]=H[e+48>>1];break d}if(H[h+372>>1]!=65535){F[a+60>>2]=E[h+442>>1]-E[h+444>>1];break d}F[a+60>>2]=E[h+220>>1]-E[h+222>>1];break d}g=6;if(m&16384){break a}k=F[i+2024>>2];f:{if(k){g=0;f=F[i+3060>>2];g:{if(!f){break g}h:{switch(G[i+3052|0]){case 0:g=G[c+f|0];break g;case 3:break h;default:break g}}if(I[i+3072>>2]>c-F[i+3068>>2]>>>0){g=G[i+3076|0];break g}g=f+2|0;d=G[f+1|0]|G[f|0]<<8;j=f+F[i+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=G[g+2|0]|G[g+1|0]<<8;if(f>>>0>c>>>0){g=G[g|0];D[i+3076|0]=g;F[i+3072>>2]=f-d;F[i+3068>>2]=d;break g}d=f;g=g+3|0;if(j>>>0>g>>>0){continue}}break}g=0}f=(i+(((k>>>0>(g&255)>>>0?g:k-1|0)&255)<<2)|0)+2028|0;n=F[f>>2];k=F[n+68>>2];j=F[i+1440>>2];d=F[n+60>>2];F[e+40>>2]=F[n+56>>2];F[e+44>>2]=d;d=F[n+52>>2];F[e+32>>2]=F[n+48>>2];F[e+36>>2]=d;d=F[f>>2];o=F[d+72>>2];p=F[d+76>>2];if((j|0)==(k|0)){break f}s=a,t=bb(F[a+164>>2],j,k),F[s+164>>2]=t;s=a,t=bb(F[a+168>>2],j,k),F[s+168>>2]=t;r=1;break f}f=i+1428|0;d=F[f+4>>2];F[e+40>>2]=F[f>>2];F[e+44>>2]=d;f=i+1420|0;d=F[f+4>>2];F[e+32>>2]=F[f>>2];F[e+36>>2]=d;p=F[i+1448>>2];o=F[i+1444>>2]}F[a+108>>2]=0;F[a+72>>2]=1869968492;k=m&1;D[a+161|0]=!k;n=(m>>>1^-1)&1;D[a+160|0]=n;Ia[F[q>>2]](e+704|0,h,b,a,n,m>>>16&15,8,9);if(m&256){D[e+1297|0]=1}j=m&1024;D[e+770|0]=j>>>10;d=F[F[h+128>>2]+52>>2];i:{if(d){g=Ia[F[F[d>>2]>>2]](F[d+4>>2],c,e+48|0)|0;F[e+28>>2]=F[e+48>>2];F[e+24>>2]=F[e+52>>2];break i}g=nf(F[h+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Ia[F[q+4>>2]](e+704|0,b,c)|0;if(g){break a}d=e+48|0;Ia[F[l+24>>2]](d,e+704|0,0);f=d;d=F[e+24>>2];g=Ia[F[q+8>>2]](f,F[e+28>>2],d)|0;if((g&255)==164){D[a+160|0]=0;n=0;g=Ia[F[q+8>>2]](e+48|0,F[e+28>>2],d)|0;r=1}f=F[F[h+128>>2]+52>>2];j:{if(f){F[e+12>>2]=d;F[e+8>>2]=F[e+28>>2];Ia[F[F[f>>2]+4>>2]](F[f+4>>2],e+8|0);break j}f=F[h+712>>2];if(F[f+1236>>2]){break j}Eb(F[f+1204>>2],e+28|0)}if(g){break a}g=0;k:{if(F[F[h+128>>2]+52>>2]){d=0}else{f=F[i+1232>>2];if(!f){break k}g=(F[i+1236>>2]+F[f+(c<<2)>>2]|0)-1|0}F[a+140>>2]=d;F[a+136>>2]=g}Ia[F[e+784>>2]](e+704|0);l=F[F[h+128>>2]+52>>2];l:{if(!l){break l}f=F[F[l>>2]+8>>2];if(!f){break l}F[e+12>>2]=0;F[e+8>>2]=F[e+736>>2];d=F[e+748>>2];F[e+16>>2]=F[e+744>>2];F[e+20>>2]=d;g=Ia[f|0](F[l+4>>2],c,0,e+8|0)|0;F[e+736>>2]=F[e+8>>2];d=F[e+20>>2];F[e+744>>2]=F[e+16>>2];F[e+748>>2]=d;if(g){break a}}if(j){F[a+32>>2]=F[e+736>>2];F[a+40>>2]=F[e+1288>>2];f=F[e+40>>2];d=F[e+44>>2];c=F[e+32>>2];b=F[e+36>>2];a=F[a+156>>2];F[a+28>>2]=o;F[a+32>>2]=p;D[a+8|0]=1;F[a+20>>2]=f;F[a+24>>2]=d;F[a+12>>2]=c;F[a+16>>2]=b;break d}m:{if(H[h+250>>1]){E[e+8>>1]=0;E[e+28>>1]=0;Ia[F[F[h+540>>2]+140>>2]](h,0,c,e+8|0,e+28|0);d=H[e+28>>1];F[a+32>>2]=E[e+8>>1];break m}d=F[e+1288>>2]}F[a+56>>2]=d;F[a+40>>2]=d;D[F[a+156>>2]+8|0]=0;n:{if(!(!G[h+292|0]|!H[h+330>>1])){E[e+8>>1]=0;E[e+28>>1]=0;Ia[F[F[h+540>>2]+140>>2]](h,1,c,e+8|0,e+28|0);F[a+48>>2]=E[e+8>>1];d=H[e+28>>1];F[a+52>>2]=d;f=1;break n}o:{if(H[h+372>>1]!=65535){d=E[h+442>>1]-E[h+444>>1]|0;F[a+52>>2]=d;break o}d=E[h+220>>1]-E[h+222>>1]|0;F[a+52>>2]=d}f=0}F[a+72>>2]=1869968492;F[a+60>>2]=d;l=a+108|0;F[a+124>>2]=b?H[b+14>>1]<24?260:4:4;p:{if(!(F[e+36>>2]|(F[e+32>>2]!=65536|F[e+44>>2]!=65536))){if(!F[e+40>>2]){break p}}Pc(l,e+32|0);s=a,t=Ua(F[a+40>>2],F[e+32>>2]),F[s+40>>2]=t;s=a,t=Ua(F[a+52>>2],F[e+44>>2]),F[s+52>>2]=t}if(o|p){Vb(l,o,p);F[a+40>>2]=F[a+40>>2]+o;F[a+52>>2]=F[a+52>>2]+p}if(!(r?0:k)){k=F[a+168>>2];j=F[a+164>>2];q:{if(F[e+772>>2]?n:0){break q}b=E[a+110>>1];if((b|0)<=0){break q}c=b&65535;d=F[a+112>>2];while(1){s=d,t=Ua(F[d>>2],j),F[s>>2]=t;s=d,t=Ua(F[d+4>>2],k),F[s+4>>2]=t;d=d+8|0;b=c>>>0>1;c=c-1|0;if(b){continue}break}}s=a,t=Ua(F[a+40>>2],j),F[s+40>>2]=t;s=a,t=Ua(F[a+52>>2],k),F[s+52>>2]=t}ed(l,e+8|0);d=F[e+8>>2];F[a+24>>2]=F[e+16>>2]-d;c=F[e+12>>2];b=F[e+20>>2];F[a+36>>2]=b;F[a+32>>2]=d;F[a+28>>2]=b-c;if(f){F[a+44>>2]=d+(F[a+40>>2]/-2|0);s=a,t=Ua(F[a+48>>2],F[a+168>>2]),F[s+48>>2]=t;break d}if(!(m&16)){break d}Pd(a+24|0,F[a+52>>2])}g=0}Ga=e+1488|0;return g}function mA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=F[c+80>>2];h=1;a=0;l=F[c+68>>2];g=!l;while(1){a:{b:{c:{if(!g){a=G[k+139280|0]==2?f:a;e=k<<1;g=E[e+138864>>1]+137312|0;b=D[k+138976|0];d=G[(i+L(f,20)|0)+18|0];k=G[e+137184|0];if(d>>>0>=k>>>0){b=d>>>0>G[e+137185|0]?b:d-k|0}b=D[b+g|0];break c}if(!k){break b}f=l;b=E[(k<<1)+139168>>1]-1|0}k=D[b+139040|0];e=b&31;d:{if(((b&63)>>>0>=32?536674303>>>e|0:((1<>>e)&1){break d}e:{switch(D[b+139104|0]-3|0){case 3:f:{if(f+1>>>0<=a>>>0){break f}e=h<<4;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break f}while(1){d=i+L(b,20)|0;D[d+35|0]=e;D[d+15|0]=e;D[d+55|0]=e;D[d+75|0]=e;D[d+95|0]=e;D[d+115|0]=e;D[d+135|0]=e;D[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 1:g:{if(f+1>>>0<=a>>>0){break g}e=h<<4|3;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break g}while(1){d=i+L(b,20)|0;D[d+35|0]=e;D[d+15|0]=e;D[d+55|0]=e;D[d+75|0]=e;D[d+95|0]=e;D[d+115|0]=e;D[d+135|0]=e;D[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 7:h:{if(f+1>>>0<=a>>>0){break h}e=h<<4|1;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break h}while(1){d=i+L(b,20)|0;D[d+35|0]=e;D[d+15|0]=e;D[d+55|0]=e;D[d+75|0]=e;D[d+95|0]=e;D[d+115|0]=e;D[d+135|0]=e;D[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 5:i:{if(f+1>>>0<=a>>>0){break i}e=h<<4|2;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break i}while(1){d=i+L(b,20)|0;D[d+35|0]=e;D[d+15|0]=e;D[d+55|0]=e;D[d+75|0]=e;D[d+95|0]=e;D[d+115|0]=e;D[d+135|0]=e;D[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 0:j:{if(f+1>>>0<=a>>>0){break j}e=h<<4|3;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){D[(i+L(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break j}while(1){d=i+L(b,20)|0;D[d+35|0]=e;D[d+15|0]=e;D[d+55|0]=e;D[d+75|0]=e;D[d+95|0]=e;D[d+115|0]=e;D[d+135|0]=e;D[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:e=f-1|0;k:{if(a>>>0>=f>>>0){break k}g=h<<4;b=0;d=a;j=f-d&7;if(j){while(1){D[(i+L(d,20)|0)+15|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){b=i+L(d,20)|0;D[b+35|0]=g;D[b+15|0]=g;D[b+55|0]=g;D[b+75|0]=g;D[b+95|0]=g;D[b+115|0]=g;D[b+135|0]=g;D[b+155|0]=g;d=d+8|0;if((f|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)!=16){f=e;break d}h=1;f=e;break d;case 4:e=f-1|0;l:{if(a>>>0>=f>>>0){break l}g=h<<4|2;b=0;d=a;j=f-d&7;if(j){while(1){D[(i+L(d,20)|0)+15|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break l}while(1){b=i+L(d,20)|0;D[b+35|0]=g;D[b+15|0]=g;D[b+55|0]=g;D[b+75|0]=g;D[b+95|0]=g;D[b+115|0]=g;D[b+135|0]=g;D[b+155|0]=g;d=d+8|0;if((f|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)!=16){f=e;break d}h=1;f=e;break d;case 6:break e;default:break d}}m:{if(a>>>0>=f>>>0){break m}e=h<<4|3;b=0;d=a;g=f-d&7;if(g){while(1){D[(i+L(d,20)|0)+15|0]=e;d=d+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){b=i+L(d,20)|0;D[b+35|0]=e;D[b+15|0]=e;D[b+55|0]=e;D[b+75|0]=e;D[b+95|0]=e;D[b+115|0]=e;D[b+135|0]=e;D[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=f-1|0}a=G[k+139344|0]==1?0:a;f=f+1|0;if((l|0)!=(f|0)){break a}g=1;continue}n:{l=F[c+68>>2];if(!l){break n}a=l-1|0;f=0;b=F[c+80>>2];e=G[b+15|0];while(1){o:{if((a|0)==(f|0)){f=l;break o}f=f+1|0;if((e|0)==G[(b+L(f,20)|0)+15|0]){continue}}break}if(!l){break n}i=F[c+80>>2];g=0;k=l;while(1){e=f;j=e>>>0>k>>>0?k:e;n=j-g|0;p:{if(n>>>0<2){break p}b=F[c+144>>2]|32;F[c+144>>2]=b;if(g>>>0>=j>>>0){break p}f=-1;a=g;p=j+(g^-1)|0;if(p>>>0>=3){o=n&-4;d=0;while(1){h=i+L(a,20)|0;m=F[h+8>>2];f=f>>>0>>0?f:m;m=F[h+28>>2];f=f>>>0>>0?f:m;m=F[h+48>>2];f=f>>>0>>0?f:m;h=F[h+68>>2];f=f>>>0>>0?f:h;a=a+4|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}h=0;d=n&3;if(d){while(1){o=F[(i+L(a,20)|0)+8>>2];f=f>>>0>>0?f:o;a=a+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(n&1){a=i+L(g,20)|0;if(F[a+8>>2]!=(f|0)){F[c+144>>2]=b;F[a+4>>2]=F[a+4>>2]|3}g=g+1|0}if(!p){break p}while(1){a=i+L(g,20)|0;if(F[a+8>>2]!=(f|0)){b=b|32;F[c+144>>2]=b;F[a+4>>2]=F[a+4>>2]|3}a=i+L(g+1|0,20)|0;if(F[a+8>>2]!=(f|0)){b=b|32;F[c+144>>2]=b;F[a+4>>2]=F[a+4>>2]|3}g=g+2|0;if((j|0)!=(g|0)){continue}break}}a=e+1|0;a=a>>>0>>0?k:a;b=G[(i+L(e,20)|0)+15|0];f=e;while(1){q:{f=f+1|0;if(k>>>0<=f>>>0){f=a;break q}if((b|0)==G[(i+L(f,20)|0)+15|0]){continue}}break}if(e>>>0>=l>>>0){break n}k=F[c+68>>2];g=e;continue}}return}g=0;continue}}function xd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;g=Ga-48|0;Ga=g;M=F[a>>2];y=F[a+40>>2];h=F[a+36>>2];c=F[F[a+2748>>2]+40>>2];D[g+39|0]=0;D[g+40|0]=0;D[g+41|0]=0;D[g+42|0]=0;F[g+32>>2]=0;F[g+36>>2]=0;F[g+24>>2]=0;F[g+28>>2]=0;F[g+8>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;F[g>>2]=0;F[g+4>>2]=0;d=L(b,1348)+a|0;w=d;F[d+44>>2]=0;f=F[d+68>>2];I=(c>>>0)/14|0;e=F[a+28>>2];d=F[a+24>>2];c=e+L(d,40)|0;a:{if(!b){if((d|0)<=0){break a}while(1){F[e+24>>2]=E[e+12>>1];F[e+28>>2]=E[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}while(1){F[e+24>>2]=E[e+14>>1];F[e+28>>2]=E[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{if((h|0)>0){R=(h<<2)+y|0;u=L(b,1348)+a|0;J=u+72|0;c=f>>31;x=(c^f)-c|0;N=x;c=0;while(1){v=F[y>>2];e=F[v+36>>2];d=D[e+3|0];f=d>>7;f=(d^f)-f&255;c:{if((f|0)!=(x|0)){break c}d=D[v+3|0];h=d>>7;if(((d^h)-h&255)!=(x|0)){break c}if((f|0)==(x|0)){while(1){if((e|0)==(v|0)){break c}e=F[e+36>>2];d=D[e+3|0];f=d>>7;if(((d^f)-f&255)==(x|0)){continue}break}}v=F[e+32>>2]}n=0;k=-32e3;l=32e3;e=v;d=32e3;o=-32e3;h=0;f=0;m=32e3;p=-32e3;O=0;i=0;r=32e3;s=-32e3;z=32e3;A=-32e3;K=0;q=0;B=32e3;C=-32e3;while(1){P=1;d:{if(!n){break d}t=F[e+24>>2];n=(t|0)>(k|0);j=F[e+28>>2];if((j|0)<(d|0)){h=H[e>>1];d=j}k=n?t:k;l=(l|0)>(t|0)?t:l;t=H[e>>1];n=t&3;p=n?p:(j|0)>(p|0)?j:p;m=n?m:(j|0)<(m|0)?j:m;n=(j|0)>(o|0);f=n?t:f;o=n?j:o;if(!((e|0)==(v|0)|D[e+3|0]!=(N|0))){P=0;break d}e:{if(i){j=F[c+36>>2];if((j|0)==F[i+40>>2]){break e}}F[c+40>>2]=e;E[c+4>>1]=k-l>>>1;E[c+2>>1]=k+l>>>1;if(!(!((f|h)&3)|(p-m|0)>=(I|0))){D[c|0]=G[c|0]|1}E[c+8>>1]=o;E[c+6>>1]=d;E[c+10>>1]=o-d;i=c;r=l;s=k;z=d;A=o;K=h;q=f;B=m;C=p;c=0;break d}f:{if(G[j+2|0]==G[e+2|0]){F[i+40>>2]=e;j=(o|0)<(A|0);o=j?A:o;E[i+8>>1]=o;c=(d|0)>(z|0);d=c?z:d;E[i+6>>1]=d;E[i+10>>1]=o-d;k=(k|0)<(s|0)?s:k;l=(l|0)>(r|0)?r:l;E[i+4>>1]=k-l>>>1;E[i+2>>1]=k+l>>>1;h=c?K:h;f=j?q:f;p=(p|0)<(C|0)?C:p;m=(m|0)>(B|0)?B:m;D[i|0]=G[i|0]&254|((h|f)&3)!=0&(p-m|0)<(I|0);break f}j=A-z|0;Q=j>>31;t=o-d|0;n=t>>31;if((j^Q)-Q>>>0>(n^t)-n>>>0){F[i+40>>2]=e;s=(k|0)>(s|0)?k:s;r=(l|0)<(r|0)?l:r;E[i+4>>1]=s-r>>>1;E[i+2>>1]=r+s>>>1;break f}F[c+40>>2]=e;k=(k|0)<(s|0)?s:k;l=(l|0)>(r|0)?r:l;E[c+4>>1]=k-l>>>1;E[c+2>>1]=k+l>>>1;if(!(!((f|h)&3)|(p-m|0)>=(I|0))){D[c|0]=G[c|0]|1}E[c+10>>1]=t;E[c+6>>1]=d;E[c+8>>1]=o;F[i+40>>2]=F[c+40>>2];q=F[c+36>>2];F[i+32>>2]=F[c+32>>2];F[i+36>>2]=q;q=F[c+28>>2];F[i+24>>2]=F[c+24>>2];F[i+28>>2]=q;q=F[c+20>>2];F[i+16>>2]=F[c+16>>2];F[i+20>>2]=q;q=F[c+4>>2];F[i>>2]=F[c>>2];F[i+4>>2]=q;q=F[c+12>>2];F[i+8>>2]=F[c+8>>2];F[i+12>>2]=q;r=l;s=k;z=d;A=o;K=h;q=f;B=m;C=p}F[w+44>>2]=F[w+44>>2]-1;c=0}g:{if((e|0)==(v|0)){j=O;O=1;if(j){break g}}n=1;if(!P){e=F[e+32>>2];continue}j=D[e+3|0];n=j>>31;h:{if(((j^n)-n|0)==(x|0)){break h}n=0;if(F[e+36>>2]==(e|0)){break h}e=F[e+32>>2];continue}F[g+44>>2]=0;c=F[w+44>>2];i:{if((c|0)<=17){if(F[u+52>>2]){break i}F[u+52>>2]=J;F[u+48>>2]=18;break i}f=F[u+48>>2];if((f|0)>(c|0)){break i}if((f|0)>48806445){m=64;break b}j:{if((f|0)>=-16){c=(f+(f>>2)|0)+4|0;if((c|0)<48806447){break j}}c=48806446}d=F[u+52>>2];k:{if((d|0)==(J|0)){d=Va(M,44,0,c,0,g+44|0);F[u+52>>2]=d;m=F[g+44>>2];if(m){break b}Ya(d,J,792);break k}S=u,T=Va(M,44,f,c,d,g+44|0),F[S+52>>2]=T;m=F[g+44>>2];if(m){break b}}F[u+48>>2]=c;c=F[w+44>>2]}n=1;k=F[u+52>>2];F[w+44>>2]=c+1;f=L(c,44);c=f+k|0;D[c|0]=0;h=F[g+20>>2];d=F[g+16>>2];D[c+1|0]=d;D[c+2|0]=d>>>8;D[c+3|0]=d>>>16;D[c+4|0]=d>>>24;D[c+5|0]=h;D[c+6|0]=h>>>8;D[c+7|0]=h>>>16;D[c+8|0]=h>>>24;h=F[g+28>>2];d=F[g+24>>2];D[c+9|0]=d;D[c+10|0]=d>>>8;D[c+11|0]=d>>>16;D[c+12|0]=d>>>24;D[c+13|0]=h;D[c+14|0]=h>>>8;D[c+15|0]=h>>>16;D[c+16|0]=h>>>24;h=F[g+36>>2];d=F[g+32>>2];D[c+17|0]=d;D[c+18|0]=d>>>8;D[c+19|0]=d>>>16;D[c+20|0]=d>>>24;D[c+21|0]=h;D[c+22|0]=h>>>8;D[c+23|0]=h>>>16;D[c+24|0]=h>>>24;d=G[g+39|0]|G[g+40|0]<<8|(G[g+41|0]<<16|G[g+42|0]<<24);D[c+24|0]=d;D[c+25|0]=d>>>8;D[c+26|0]=d>>>16;D[c+27|0]=d>>>24;F[c+28>>2]=32e3;F[c+40>>2]=F[g+8>>2];d=F[g+4>>2];F[c+32>>2]=F[g>>2];F[c+36>>2]=d;D[c+1|0]=j;F[c+40>>2]=e;F[c+36>>2]=e;i=i?c-44|0:0;d=F[e+28>>2];h=H[e>>1];o=h&3;p=o?-32e3:d;m=o?32e3:d;l=F[e+24>>2];if(F[e+36>>2]==(e|0)){f=f+k|0;E[f+2>>1]=l;if(o){D[c|0]=1}E[f+10>>1]=0;E[f+8>>1]=d;E[f+6>>1]=d;n=0;c=0}k=l;o=d;f=h;N=j;e=F[e+32>>2];continue}break}y=y+4|0;if(R>>>0>y>>>0){continue}break}}m=0;e=F[(L(b,1348)+a|0)+52>>2];if(!e){break b}a=F[w+44>>2];if((a|0)<=0){break b}b=L(a,44)+e|0;while(1){a=F[e+36>>2];f=F[F[a+36>>2]+28>>2];d=F[a+28>>2];a=F[e+40>>2];c=F[a+28>>2];l:{m:{if((d|0)<(c|0)){if((d|0)>(f|0)){E[e+10>>1]=H[e+10>>1]+(d-f>>>1|0)}a=F[F[a+32>>2]+28>>2];if((a|0)<=(c|0)){break l}a=a-c|0;break m}if((d|0)<(f|0)){E[e+10>>1]=H[e+10>>1]+(f-d>>>1|0)}a=F[F[a+32>>2]+28>>2];if((a|0)>=(c|0)){break l}a=c-a|0}E[e+10>>1]=H[e+10>>1]+(a>>>1|0)}e=e+44|0;if(b>>>0>e>>>0){continue}break}}Ga=g+48|0;return m}function qh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=b<<1;q=d+a|0;if(b>>>0>=10){while(1){l=a+2|0;h=(b&-2)+a|0;i=(ph(l,h,c)|0)>0;b=i?l:h;d=d-2|0;g=d+a|0;e=g-2|0;if((ph(b,e,c)|0)>0){b=i?h:l;b=(ph(b,e,c)|0)>0?b:e}if((b|0)!=(g|0)){l=G[b|0];D[b|0]=G[g|0];D[g|0]=l;l=G[b+1|0];D[b+1|0]=G[g+1|0];D[g+1|0]=l}a:{if((d|0)<=0){e=0;break a}l=g;h=g;i=a;b=i;while(1){b:{if(b>>>0>=h>>>0){break b}c:{while(1){d:{n=H[b>>1];k=H[g>>1];e:{f:{g:{h:{i:{f=F[c+4>>2];if((f|0)!=131072){if((f|0)!=65536){break f}j=0;m=0;e=0;if(k>>>0<=257){e=k<<2;d=F[e+122816>>2];m=d+119104|0;e=F[e+122820>>2]+(d^-1)|0}if(n>>>0<=257){break i}d=0;break g}j=0;m=0;e=0;d=F[c+8>>2];o=G[d|0]|G[d+1|0]<<8;p=(o<<8|o>>>8)&65535;j:{if(p>>>0<=k>>>0){break j}e=d+(k<<1)|0;e=G[e+2|0]|G[e+3|0]<<8;o=(e<<8|e>>>8)&65535;if(o>>>0<=257){e=o<<2;m=F[e+122816>>2];e=F[e+122820>>2]+(m^-1)|0;m=m+119104|0;break j}e=0;o=o-258|0;if(o>>>0>=I[c+16>>2]){break j}e=F[c+24>>2]+F[F[c+20>>2]+(o<<2)>>2]|0;m=e+1|0;e=G[e|0]}if(n>>>0

>>0){break h}d=0;break g}d=n<<2;j=F[d+122816>>2];d=F[d+122820>>2]+(j^-1)|0;j=j+119104|0;break g}d=d+(n<<1)|0;d=G[d+2|0]|G[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){d=d<<2;j=F[d+122816>>2];d=F[d+122820>>2]+(j^-1)|0;j=j+119104|0;break g}d=d-258|0;if(d>>>0>=I[c+16>>2]){d=0;break g}d=F[c+24>>2]+F[F[c+20>>2]+(d<<2)>>2]|0;j=d+1|0;d=G[d|0]}if((d|0)!=(e|0)){d=d-e|0}else{if(!e){break f}d=hc(j,m,e)}if((d|0)>0){if(b>>>0>>0){break d}break c}if(d){break e}}if(b>>>0>i>>>0){d=G[i|0];D[i|0]=n;D[b|0]=d;d=G[i+1|0];D[i+1|0]=n>>>8;D[b+1|0]=d}i=i+2|0}b=b+2|0;if(h>>>0>b>>>0){continue}break b}break}k:{while(1){n=k&65535;e=h-2|0;k=H[e>>1];o=k>>>8|0;l:{m:{n:{o:{p:{q:{if((f|0)!=131072){if((f|0)!=65536){break n}j=0;m=0;d=0;if(n>>>0<=257){d=n<<2;f=F[d+122816>>2];m=f+119104|0;d=F[d+122820>>2]+(f^-1)|0}if(k>>>0<=257){break q}f=0;break o}j=0;m=0;d=0;f=F[c+8>>2];p=G[f|0]|G[f+1|0]<<8;p=(p<<8|p>>>8)&65535;r:{if(p>>>0<=n>>>0){break r}d=f+(n<<1)|0;d=G[d+2|0]|G[d+3|0]<<8;n=(d<<8|d>>>8)&65535;if(n>>>0<=257){d=n<<2;m=F[d+122816>>2];d=F[d+122820>>2]+(m^-1)|0;m=m+119104|0;break r}d=0;n=n-258|0;if(n>>>0>=I[c+16>>2]){break r}d=F[c+24>>2]+F[F[c+20>>2]+(n<<2)>>2]|0;m=d+1|0;d=G[d|0]}if(k>>>0

>>0){break p}f=0;break o}f=k<<2;j=F[f+122816>>2];f=F[f+122820>>2]+(j^-1)|0;j=j+119104|0;break o}j=f+(k<<1)|0;j=G[j+2|0]|G[j+3|0]<<8;f=(j<<8|j>>>8)&65535;if(f>>>0<=257){f=f<<2;j=F[f+122816>>2];f=F[f+122820>>2]+(j^-1)|0;j=j+119104|0;break o}j=0;f=f-258|0;if(f>>>0>=I[c+16>>2]){f=0;break o}f=F[c+24>>2]+F[F[c+20>>2]+(f<<2)>>2]|0;j=f+1|0;f=G[f|0]}if((d|0)!=(f|0)){d=f-d|0}else{if(!d){break n}d=hc(j,m,d)}if(d){break m}}d=l-2|0;if(h>>>0>=l>>>0){break l}D[e|0]=G[d|0];D[d|0]=k;l=l-1|0;D[h-1|0]=G[l|0];D[l|0]=o;break l}if((d|0)>=0){d=l;break l}if(b>>>0>>0){d=G[b|0];D[b|0]=k;D[e|0]=d;d=G[b+1|0];D[b+1|0]=o;D[h-1|0]=d}b=b+2|0;break k}if(b>>>0>>0){f=F[c+4>>2];k=H[g>>1];l=d;h=e;continue}break}l=d}h=e}if(b>>>0>>0){continue}}break}d=h-i|0;s:{if((a|0)==(i|0)|(h|0)==(i|0)){break s}b=i-a|0;if(b>>>0>d>>>0){if((d|0)<=0){break s}e=a+d|0;b=a+b|0;i=a;while(1){g=G[i|0];D[i|0]=G[b|0];D[b|0]=g;b=b+1|0;i=i+1|0;if(e>>>0>i>>>0){continue}break}break s}if((b|0)<=0){break s}e=a+b|0;b=a+d|0;i=a;while(1){g=G[i|0];D[i|0]=G[b|0];D[b|0]=g;b=b+1|0;i=i+1|0;if(e>>>0>i>>>0){continue}break}}e=l-h|0;if((h|0)==(l|0)|(l|0)==(q|0)){break a}b=q-l|0;if(b>>>0>>0){if((b|0)<=0){break a}l=b+h|0;b=e+h|0;while(1){i=G[h|0];D[h|0]=G[b|0];D[b|0]=i;b=b+1|0;h=h+1|0;if(l>>>0>h>>>0){continue}break}break a}if((e|0)<=0){break a}l=e+h|0;b=b+h|0;while(1){i=G[h|0];D[h|0]=G[b|0];D[b|0]=i;b=b+1|0;h=h+1|0;if(l>>>0>h>>>0){continue}break}}qh(a,d>>>1|0,c);a=q-e|0;d=e&-2;q=a+d|0;b=e>>>1|0;if(e>>>0>=20){continue}break}}j=a+2|0;if(q>>>0>j>>>0){while(1){b=j;t:{if(b>>>0<=a>>>0){break t}while(1){h=H[b>>1];l=b-2|0;i=H[l>>1];u:{v:{w:{d=F[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break t}f=0;d=0;e=0;if(h>>>0<=257){e=h<<2;d=F[e+122816>>2];e=F[e+122820>>2]+(d^-1)|0;d=d+119104|0}if(i>>>0<=257){break w}k=0;break u}f=0;d=0;e=0;g=F[c+8>>2];k=G[g|0]|G[g+1|0]<<8;m=(k<<8|k>>>8)&65535;x:{if(m>>>0<=h>>>0){break x}d=g+(h<<1)|0;d=G[d+2|0]|G[d+3|0]<<8;k=(d<<8|d>>>8)&65535;if(k>>>0<=257){e=k<<2;d=F[e+122816>>2];e=F[e+122820>>2]+(d^-1)|0;d=d+119104|0;break x}d=0;k=k-258|0;if(k>>>0>=I[c+16>>2]){break x}e=F[c+24>>2]+F[F[c+20>>2]+(k<<2)>>2]|0;d=e+1|0;e=G[e|0]}if(i>>>0>>0){break v}k=0;break u}f=i<<2;g=F[f+122816>>2];k=F[f+122820>>2]+(g^-1)|0;f=g+119104|0;break u}g=g+(i<<1)|0;g=G[g+2|0]|G[g+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0<=257){f=g<<2;g=F[f+122816>>2];k=F[f+122820>>2]+(g^-1)|0;f=g+119104|0;break u}g=g-258|0;if(g>>>0>=I[c+16>>2]){k=0;break u}g=F[c+24>>2]+F[F[c+20>>2]+(g<<2)>>2]|0;f=g+1|0;k=G[g|0]}if((e|0)!=(k|0)){d=k-e|0}else{if(!e){break t}d=hc(f,d,e)}if((d|0)<=0){break t}D[l|0]=h;D[b+1|0]=i>>>8;D[b-1|0]=h>>>8;D[b|0]=i;b=l;if(b>>>0>a>>>0){continue}break}}j=j+2|0;if(q>>>0>j>>>0){continue}break}}}function wi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=L(b,c)+a|0;if(b>>>0>=10){n=0-c|0;o=c-1&3;p=c-2>>>0<3;while(1){i=L(b-1|0,c);j=i+a|0;l=j+n|0;k=a+c|0;d=F[k>>2];h=L(b>>>1|0,c)+a|0;b=F[h>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(G[k+8|0]){break b}d=F[h+4>>2];b=F[k+4>>2];if((d^b)>>>0<2){break b}b=(b|0)<(d|0)?-1:1;break a}d=F[k+12>>2];b=F[h+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}e=(b|0)>0;b=e?k:h;d=F[b>>2];g=F[l>>2];c:{d:{if((d|0)!=(g|0)){if((d|0)>=(g|0)){break d}break c}e:{if(G[b+8|0]){break e}f=F[l+4>>2];d=F[b+4>>2];if((f^d)>>>0<2){break e}if((d|0)>=(f|0)){break d}break c}if(I[b+12>>2]<=I[l+12>>2]){break c}}f=e?h:k;b=F[f>>2];f:{if((b|0)!=(g|0)){b=(b|0)<(g|0)?-1:1;break f}g:{if(G[f+8|0]){break g}d=F[l+4>>2];b=F[f+4>>2];if((d^b)>>>0<2){break g}b=(b|0)<(d|0)?-1:1;break f}d=F[f+12>>2];b=F[l+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}b=(b|0)>0?f:l}if(!((b|0)==(j|0)|(c|0)<=0)){e=b+c|0;d=j;while(1){f=G[b|0];D[b|0]=G[d|0];D[d|0]=f;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}h:{if((i|0)<=0){e=0;break h}f=j;d=f;k=a;b=a;while(1){i:{i=d;if(b>>>0>=d>>>0){break i}j:{while(1){e=F[j>>2];h=F[b>>2];k:{if((e|0)!=(h|0)){if((e|0)>(h|0)){break k}break j}l:{if(G[b+8|0]){break l}g=F[j+4>>2];d=F[b+4>>2];if((g^d)>>>0<2){break l}if((d|0)>=(g|0)){break j}break k}g=F[b+12>>2];d=F[j+12>>2];if(g>>>0>>0){break k}if(d>>>0>>0){break j}m:{if((c|0)<=0|b>>>0<=k>>>0){break m}d=G[k|0];D[k|0]=h;D[b|0]=d;if((c|0)==1){break m}h=c+k|0;d=k+1|0;e=b;while(1){g=G[d|0];D[d|0]=G[e+1|0];D[e+1|0]=g;e=e+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}}k=c+k|0}b=b+c|0;if(i>>>0>b>>>0){continue}break}d=i;break i}n:{if(b>>>0>=i>>>0){d=i;break n}while(1){o:{d=i+n|0;h=F[d>>2];p:{if((h|0)!=(e|0)){if((e|0)<=(h|0)){break p}break o}q:{if(G[d+8|0]){break q}g=F[j+4>>2];e=F[d+4>>2];if((g^e)>>>0<2){break q}if((e|0)<(g|0)){break o}break p}g=F[d+12>>2];e=F[j+12>>2];if(g>>>0>>0){break o}if(e>>>0>>0){break p}g=f+n|0;r:{if((c|0)<=0|f>>>0<=i>>>0){break r}D[d|0]=G[g|0];D[g|0]=h;e=d+1|0;if(i>>>0<=e>>>0){break r}f=0;h=g;if(o){while(1){l=G[e|0];D[e|0]=G[h+1|0];D[h+1|0]=l;e=e+1|0;h=h+1|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}if(p){break r}while(1){f=G[e|0];D[e|0]=G[h+1|0];D[h+1|0]=f;f=G[e+1|0];D[e+1|0]=G[h+2|0];D[h+2|0]=f;f=G[e+2|0];D[e+2|0]=G[h+3|0];D[h+3|0]=f;f=G[e+3|0];D[e+3|0]=G[h+4|0];D[h+4|0]=f;h=h+4|0;e=e+4|0;if(i>>>0>e>>>0){continue}break}}f=g}if(b>>>0>=d>>>0){break n}e=F[j>>2];i=d;continue}break}s:{if((c|0)<=0|b>>>0>=d>>>0){break s}i=G[b|0];D[b|0]=h;D[d|0]=i;if((c|0)==1){break s}g=b+c|0;e=b+1|0;h=d;while(1){i=G[e|0];D[e|0]=G[h+1|0];D[h+1|0]=i;h=h+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}}b=b+c|0}if(b>>>0>>0){continue}}break}i=d-k|0;t:{if((a|0)==(k|0)|(d|0)==(k|0)){break t}b=k-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break t}j=a+i|0;b=a+b|0;e=a;while(1){g=G[e|0];D[e|0]=G[b|0];D[b|0]=g;b=b+1|0;e=e+1|0;if(j>>>0>e>>>0){continue}break}break t}if((b|0)<=0){break t}j=a+b|0;b=a+i|0;e=a;while(1){g=G[e|0];D[e|0]=G[b|0];D[b|0]=g;b=b+1|0;e=e+1|0;if(j>>>0>e>>>0){continue}break}}e=f-d|0;if((d|0)==(f|0)|(f|0)==(m|0)){break h}b=m-f|0;if(b>>>0>>0){if((b|0)<=0){break h}g=b+d|0;b=d+e|0;while(1){f=G[d|0];D[d|0]=G[b|0];D[b|0]=f;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break h}if((e|0)<=0){break h}g=d+e|0;b=b+d|0;while(1){f=G[d|0];D[d|0]=G[b|0];D[b|0]=f;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}wi(a,(i>>>0)/(c>>>0)|0,c);a=m-e|0;b=(e>>>0)/(c>>>0)|0;m=a+L(c,b)|0;if(b>>>0>=10){continue}break}}i=a+c|0;u:{if(m>>>0<=i>>>0){break u}l=0-c|0;if((c|0)<=0){while(1){v:{if(a>>>0>=i>>>0){break v}d=F[i>>2];b=i;while(1){e=d;f=b;b=b+l|0;d=F[b>>2];w:{if((e|0)!=(d|0)){if((d|0)>=(e|0)){break w}break v}x:{if(G[b+8|0]){break x}g=F[f+4>>2];e=F[b+4>>2];if((g^e)>>>0<2){break x}if((e|0)>=(g|0)){break w}break v}if(I[b+12>>2]<=I[f+12>>2]){break v}}if(a>>>0>>0){continue}break}}i=c+i|0;if(m>>>0>i>>>0){continue}break u}}k=c+2&3;h=c-3>>>0<3;while(1){f=i;y:{if(f>>>0<=a>>>0){break y}while(1){g=f;f=g+l|0;j=F[f>>2];e=F[g>>2];z:{if((j|0)!=(e|0)){if((e|0)>(j|0)){break y}break z}A:{if(G[f+8|0]){break A}d=F[g+4>>2];b=F[f+4>>2];if((d^b)>>>0<2){break A}if((b|0)<(d|0)){break y}break z}if(I[f+12>>2]<=I[g+12>>2]){break y}}D[f|0]=e;D[g|0]=j;b=f+1|0;B:{if(b>>>0>=g>>>0){break B}D[b|0]=G[g+1|0];D[g+1|0]=j>>>8;b=b+1|0;if((g|0)==(b|0)){break B}d=g+1|0;e=0;if(k){while(1){j=G[b|0];D[b|0]=G[d+1|0];D[d+1|0]=j;b=b+1|0;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(h){break B}while(1){e=G[b|0];D[b|0]=G[d+1|0];D[d+1|0]=e;e=G[b+1|0];D[b+1|0]=G[d+2|0];D[d+2|0]=e;e=G[b+2|0];D[b+2|0]=G[d+3|0];D[d+3|0]=e;e=G[b+3|0];D[b+3|0]=G[d+4|0];D[d+4|0]=e;d=d+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}}if(a>>>0>>0){continue}break}}i=c+i|0;if(m>>>0>i>>>0){continue}break}}}function Qe(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Ga-48|0;Ga=h;F[h+12>>2]=0;D[a+733|0]=0;q=F[a+100>>2];k=F[a+736>>2];a:{if(!k){e=Kd(a,0);F[h+12>>2]=e;if(e){break a}k=F[a+736>>2]}b:{m=F[k+12>>2];f=F[m>>2];b=b>>>0>f>>>0?f:b;if(!b){break b}while(1){if(F[(g<<2)+c>>2]-65537>>>0>=4294836223){g=g+1|0;if((g|0)!=(b|0)){continue}break b}break}e=6;break a}if(!(G[a+732|0]|F[k+72>>2])){i=F[a+104>>2];g=F[i+28>>2];e=Ia[F[a+516>>2]](a,1735811442,i,h+40|0)|0;F[h+44>>2]=e;if(e){break a}l=F[i+8>>2];e=sb(i,96800,h+16|0);F[h+44>>2]=e;if(e){break a}e=8;if(F[h+16>>2]!=65536){break a}f=H[h+20>>1];if((f|0)!=H[F[k+12>>2]>>1]){break a}o=L(f,H[h+22>>1]);f=F[h+40>>2];if(o>>>0>f>>>1>>>0){break a}j=L(H[h+28>>1]+1|0,D[h+30|0]&1?4:2);if(j>>>0>f>>>0){break a}F[k+76>>2]=f;f=F[h+32>>2];e=tb(i,j);F[h+44>>2]=e;if(e){break a}e=0;t=k,u=Va(g,4,0,H[h+28>>1]+1|0,0,h+44|0),F[t+72>>2]=u;c:{d:{e:{if(F[h+44>>2]){break e}n=f+l|0;f=l+F[h+40>>2]|0;f:{if(!(D[h+30|0]&1)){j=0;while(1){o=n+(xb(i)<<1)|0;e=e>>>0>o>>>0?e:o;F[F[k+72>>2]+(j<<2)>>2]=e>>>0>f>>>0?f:e;o=H[h+28>>1];p=o>>>0>j>>>0;j=j+1|0;if(p){continue}break}break f}j=0;while(1){o=Tb(i)+n|0;j=j>>>0>o>>>0?j:o;F[F[k+72>>2]+(e<<2)>>2]=f>>>0>>0?f:j;o=H[h+28>>1];p=o>>>0>e>>>0;e=e+1|0;if(p){continue}break}}F[k+68>>2]=o;lb(i);if(!H[h+22>>1]){break c}f=Za(i,l+F[h+24>>2]|0);F[h+44>>2]=f;if(f){break d}f=tb(i,L(H[h+22>>1],H[h+20>>1])<<1);F[h+44>>2]=f;if(f){break d}f=0;t=k,u=Va(g,4,0,L(H[h+22>>1],H[h+20>>1]),0,h+44|0),F[t+64>>2]=u;if(F[h+44>>2]){break e}g=H[h+22>>1];if(g){n=0;l=H[h+20>>1];f=g;while(1){e=0;g:{if(!(l&65535)){l=0;break g}while(1){g=xb(i);l=H[h+20>>1];F[F[k+64>>2]+(L(n,l)+e<<2)>>2]=g<<16>>16<<2;e=e+1|0;if(l>>>0>e>>>0){continue}break}f=H[h+22>>1]}n=n+1|0;if(n>>>0<(f&65535)>>>0){continue}break}}F[k+60>>2]=f&65535;lb(i);break c}lb(i)}f=F[k+72>>2];if(f){Ia[F[g+8>>2]](g,f)}F[k+68>>2]=0;F[k+72>>2]=0}e=F[h+44>>2];F[h+12>>2]=e;if(e){break a}}p=F[k+4>>2];if(!p){t=k,u=Va(q,4,0,F[m>>2],0,h+12|0),F[t+4>>2]=u;e=F[h+12>>2];if(e){break a}}h:{i:{j:{k:{n=F[k+8>>2];if(n){g=0;if(b){break k}break j}n=Va(q,4,0,F[m>>2],0,h+12|0);F[k+8>>2]=n;e=F[h+12>>2];if(e){break a}j=F[m>>2];o=1;break h}l=1;while(1){f=g<<2;o=2;if(F[f+n>>2]!=F[c+f>>2]){break i}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}l=0;o=0}j=F[m>>2];f=F[a+4>>2];l:{if(f&2147418112){if(g>>>0>=j>>>0){break l}i=F[k+20>>2]+(L((f>>>16|0)-1|0,j)<<2)|0;f=g<<2;e=i+f|0;r=(g^-1)+j|0;i=f+n|0;s=j-g&3;m:{if(!s){f=g;break m}m=0;f=g;while(1){l=F[i>>2]==F[e>>2]?l:1;i=i+4|0;e=e+4|0;f=f+1|0;m=m+1|0;if((s|0)!=(m|0)){continue}break}}if(r>>>0<3){break l}while(1){l=F[i+12>>2]==F[e+12>>2]?F[i+8>>2]==F[e+8>>2]?F[i+4>>2]==F[e+4>>2]?F[i>>2]==F[e>>2]?l:1:1:1:1;i=i+16|0;e=e+16|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}break l}if(g>>>0>=j>>>0){break l}m=(g^-1)+j|0;e=(g<<2)+n|0;r=j-g&3;n:{if(!r){i=g;break n}f=0;i=g;while(1){l=F[e>>2]?1:l;e=e+4|0;i=i+1|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(m>>>0<3){break l}while(1){l=F[e+12>>2]|F[e+8>>2]|(F[e+4>>2]|F[e>>2])?1:l;e=e+16|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}o:{if(l&255){if(g>>>0>=j>>>0){break h}break o}D[a+733|0]=1;e=-1;break a}while(1){if(!F[(g<<2)+n>>2]){g=g+1|0;if((j|0)!=(g|0)){continue}break h}break}o=2}F[k>>2]=j;Ya(n,c,b<<2);p:{if(!d){break p}e=F[k+4>>2];n=F[a+736>>2];j=F[n>>2];b=p?b:F[k>>2];f=b>>>0>j>>>0?j:b;q:{if(!f){break q}c=F[k+8>>2];i=0;g=0;if(f-1>>>0>=3){k=f&-4;l=0;while(1){d=g<<2;F[d+e>>2]=F[c+d>>2];m=d|4;F[m+e>>2]=F[c+m>>2];m=d|8;F[m+e>>2]=F[c+m>>2];d=d|12;F[d+e>>2]=F[c+d>>2];g=g+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}d=f&3;if(!d){break q}while(1){k=g<<2;F[k+e>>2]=F[c+k>>2];g=g+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(b>>>0>j>>>0){Wa(e+(f<<2)|0,0,b-f<<2)}j=F[n+28>>2];if(!(!j|!f)){k=0;while(1){d=H[j>>1];r:{if(d>>>0<2){break r}i=e+(k<<2)|0;b=F[i>>2];c=F[j+4>>2];g=1;while(1){l=g<<3;m=l+c|0;p=F[m+4>>2];if((p|0)>(b|0)){g=b;b=l-8|0;c=b+c|0;d=F[c+4>>2];t=i,u=bb(g-d|0,F[m>>2]-F[c>>2]|0,p-d|0)+F[b+F[j+4>>2]>>2]|0,F[t>>2]=u;break r}g=g+1|0;if((d|0)!=(g|0)){continue}break}}j=j+8|0;k=k+1|0;if((f|0)!=(k|0)){continue}break}}if(!f){break p}b=F[F[n+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;i=F[j>>2];s:{t:{if((i|0)<0){g=F[b+4>>2];l=F[b+8>>2];d=l;break t}g=F[b+8>>2];d=g;if(!i){break s}l=F[b+12>>2];d=g}d=Ua(i,l-g|0)+d|0}F[j>>2]=d;b=b+24|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}D[a+733|0]=1;b=F[a+704>>2];u:{if(!b){break u}v:{switch(o-1|0){case 1:if(b){Ia[F[q+8>>2]](q,b)}F[a+704>>2]=0;t=h,u=Mj(a,F[a+104>>2]),F[t+12>>2]=u;break u;case 0:break v;default:break u}}t=h,u=Aj(a,F[a+104>>2]),F[t+12>>2]=u}b=F[a+720>>2];if(b){Ia[F[q+8>>2]](q,b)}F[a+720>>2]=0;e=F[h+12>>2]}Ga=h+48|0;return e}function xx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;c=Ga-320|0;Ga=c;a:{if(!a){a=6;break a}a=19;i=F[b+8>>2];if(!(i&1)){break a}a=20;e=F[b+4>>2];if(!e){break a}d=E[e+2>>1];if(!d){a=0;break a}k=E[e>>1];if((k|0)<=0){a=0;break a}f=F[e+12>>2];if(!f|!F[e+4>>2]|(d|0)!=(E[(f+(k<<1)|0)-2>>1]+1|0)){break a}d=F[b>>2];F[c+232>>2]=F[e+16>>2];a=F[e+12>>2];F[c+224>>2]=F[e+8>>2];F[c+228>>2]=a;a=F[e+4>>2];F[c+216>>2]=F[e>>2];F[c+220>>2]=a;b:{if(i&2){a=F[b+12>>2];if(!a){a=0;break a}F[c+244>>2]=a;a=F[b+28>>2];F[c+312>>2]=0;F[c+248>>2]=a;a=F[b+32>>2];F[c+164>>2]=a;d=F[b+36>>2];F[c+172>>2]=d;e=F[b+40>>2];F[c+168>>2]=e;b=F[b+44>>2];break b}if(!d){a=6;break a}e=F[d+4>>2];if(!e){a=0;break a}b=F[d>>2];if(!b){a=0;break a}a=6;i=F[d+12>>2];if(!i){break a}a=F[d+8>>2];F[c+240>>2]=a;F[c+244>>2]=0;F[c+248>>2]=0;d=0;F[c+172>>2]=0;F[c+164>>2]=0;F[c+168>>2]=e;F[c+312>>2]=-1;F[c+236>>2]=i+((a|0)<0?0:L(a,b-1|0));a=0}F[c+176>>2]=b;if((a|0)>=(e|0)){a=0;break a}a=0;if((b|0)<=(d|0)){break a}e=0;i=Ga-16512|0;Ga=i;m=F[c+176>>2];k=F[c+172>>2];l=m-k|0;if(l>>>0>=129){a=l+127>>>7|0;l=((a+l|0)-1>>>0)/(a>>>0)|0}p=l<<2;a=p+15>>>4|0;F[c+200>>2]=1024-a;b=a<<4;a=i+128|0;F[c+196>>2]=b+a;F[c+192>>2]=a;b=0;c:{if((k|0)>=(m|0)){break c}o=c+252|0;q=c+216|0;while(1){a=k;F[c+172>>2]=a;k=a+l|0;f=(k|0)<(m|0)?k:m;F[c+176>>2]=f;F[i>>2]=f;F[i+4>>2]=a;a=i;while(1){n=F[a+4>>2];Wa(F[c+192>>2],0,p);F[c+188>>2]=1;F[c+204>>2]=0;F[c+172>>2]=F[a+4>>2];F[c+176>>2]=F[a>>2];d:{e:{f:{g:{h:{if(e){F[61902]=0;b=F[61902];F[61902]=0;if((b|0)==1){break h}}F[61902]=0;j=ha(28,q|0,29384,c|0)|0;b=F[61902];F[61902]=0;if((b|0)==1){break h}if(e){F[61902]=0;b=F[61902];F[61902]=0;if((b|0)==1){break h}}i:{if(F[c+188>>2]){break i}d=F[c+156>>2];j:{g=F[c+192>>2]+(F[c+160>>2]-F[c+172>>2]<<2)|0;e=F[g>>2];k:{if(!e){e=0;break k}h=F[e>>2];if((d|0)<(h|0)){break k}l:{while(1){b=e;if((d|0)==(h|0)){break j}e=F[b+12>>2];if(e){h=F[e>>2];if((d|0)<(h|0)){break l}continue}break}e=0}g=b+12|0}b=F[c+204>>2];if((b|0)>=F[c+200>>2]){F[61902]=0;ea(30,c|0,1);b=F[61902];F[61902]=0;if((b|0)==1){break h}e=F[g>>2];b=F[c+204>>2]}F[c+204>>2]=b+1;b=F[c+196>>2]+(b<<4)|0;F[b>>2]=d;F[b+8>>2]=F[c+180>>2];d=F[c+184>>2];F[b+12>>2]=e;F[b+4>>2]=d;F[g>>2]=b;break i}F[b+8>>2]=F[b+8>>2]+F[c+180>>2];F[b+4>>2]=F[b+4>>2]+F[c+184>>2]}if((j|0)==64){break g}if(j){break e}b=F[c+172>>2];h=b;m:{if(F[c+176>>2]<=(b|0)){break m}while(1){b=F[F[c+192>>2]+(h-b<<2)>>2];n:{o:{p:{if(!b){break p}f=F[c+164>>2];e=0;while(1){q:{if(!e){break q}g=F[b>>2];if((g|0)<=(f|0)){break q}d=e>>9;r:{if(G[c+232|0]&2){d=d&511;d=d>>>0>255?d^511:d;break r}d=d^e>>31;d=(d|0)<255?d:255}g=g-f|0;j=F[c+312>>2];if((j|0)>=0){n=j+1|0;F[c+312>>2]=n;j=L(j,6)+c|0;D[j+256|0]=d;E[j+254>>1]=g;E[j+252>>1]=f;if((n|0)!=10){break q}Ia[F[c+244>>2]](h,10,o,F[c+248>>2]);F[c+312>>2]=0;break q}f=(F[c+236>>2]-L(F[c+240>>2],h)|0)+f|0;s:{switch(g|0){case 7:D[f|0]=d;f=f+1|0;case 6:D[f|0]=d;f=f+1|0;case 5:D[f|0]=d;f=f+1|0;case 4:D[f|0]=d;f=f+1|0;case 3:D[f|0]=d;f=f+1|0;case 2:D[f|0]=d;f=f+1|0;case 1:D[f|0]=d;break q;case 0:break q;default:break s}}Wa(f,d,g)}e=(F[b+4>>2]<<9)+e|0;d=F[b+8>>2];t:{if((e|0)==(d|0)){break t}f=F[b>>2];if((f|0)>2]){break t}g=e-d|0;d=g>>9;u:{if(G[c+232|0]&2){d=d&511;d=d>>>0>255?d^511:d;break u}d=d^g>>31;d=(d|0)<255?d:255}g=F[c+312>>2];if((g|0)>=0){j=g+1|0;F[c+312>>2]=j;g=L(g,6)+c|0;D[g+256|0]=d;E[g+254>>1]=1;E[g+252>>1]=f;if((j|0)!=10){break t}Ia[F[c+244>>2]](h,10,o,F[c+248>>2]);F[c+312>>2]=0;break t}D[f+(F[c+236>>2]-L(F[c+240>>2],h)|0)|0]=d}f=F[b>>2]+1|0;b=F[b+12>>2];if(b){continue}break}if(!e){break p}b=e>>9;d=F[c+168>>2];v:{if(G[c+232|0]&2){b=b&511;e=b>>>0>255?b^511:b;break v}b=b^e>>31;e=(b|0)<255?b:255}d=d-f|0;b=F[c+312>>2];if((b|0)>=0){g=b+1|0;F[c+312>>2]=g;b=L(b,6)+c|0;D[b+256|0]=e;E[b+254>>1]=d;E[b+252>>1]=f;b=10;if((g|0)!=10){break p}break o}b=(F[c+236>>2]-L(F[c+240>>2],h)|0)+f|0;w:{switch(d|0){case 7:D[b|0]=e;b=b+1|0;case 6:D[b|0]=e;b=b+1|0;case 5:D[b|0]=e;b=b+1|0;case 4:D[b|0]=e;b=b+1|0;case 3:D[b|0]=e;b=b+1|0;case 2:D[b|0]=e;b=b+1|0;case 1:D[b|0]=e;break p;case 0:break p;default:break w}}Wa(b,e,d)}b=F[c+312>>2];if((b|0)<=0){break n}}Ia[F[c+244>>2]](h,b,o,F[c+248>>2]);F[c+312>>2]=0}h=h+1|0;if((h|0)>=F[c+176>>2]){break m}b=F[c+172>>2];continue}}b=a-4|0;break d}b=ca(244664)|0;if((Y()|0)!=(pa(244664)|0)){break f}ka(b|0)|0;oa()}e=f-n|0;if(e>>>0<2){break e}b=a+4|0;d=F[a+4>>2];F[a+8>>2]=d;F[a+4>>2]=d+(e>>1);break d}$(b|0);V()}b=1;break c}if(b>>>0>=i>>>0){f=F[b>>2];e=1;a=b;continue}break}b=0;e=1;if((k|0)<(m|0)){continue}break}}Ga=i+16512|0;a=b}Ga=c+320|0;return a|0}function gi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;m=Ga-80|0;Ga=m;e=Ge(b,c);a:{if(e){break a}a=F[b+2740>>2];if(!(a&1)){e=lo(b,0);if(e){break a}fn(b,d,0);a=F[b+2740>>2]}if(!(a&2)){e=lo(b,1);if(e){break a}fn(b,d,1)}s=b+2748|0;p=b+2744|0;a=1;while(1){b:{e=F[b+2740>>2];o=a;c:{d:{if(a){if(e&1){break c}if(F[d+24>>2]|e&8){break d}Am(m+16|0,b,m+12|0,m+8|0);e=F[b+24>>2];if((e|0)<=0){break c}a=F[b+28>>2];e=a+L(e,40)|0;j=F[m+8>>2];f=F[m+12>>2];while(1){x=a,y=Ua(E[a+12>>1],f)+j|0,F[x+16>>2]=y;a=a+40|0;if(e>>>0>a>>>0){continue}break}break c}if(e&2){break b}}t=L(l,1348)+b|0;w=t- -64|0;j=F[w>>2];q=F[t+56>>2];k=j+L(q,44)|0;i=0;a=j;u=(q|0)<=0;if(!u){while(1){e=G[a+12|0];e:{if(e&4){break e}f=F[a+24>>2];g=F[a+20>>2];f:{g:{if(!g){if(!f){break e}e=F[f+20>>2];if(!e){break e}g=F[e+8>>2];F[f+8>>2]=g;D[f+12|0]=G[f+12|0]|4;e=f;f=a;break g}g=F[g+8>>2];D[a+12|0]=e|4;F[a+8>>2]=g;if(!f){break f}e=a;if(F[f+20>>2]){break f}}x=f,y=sf(F[p>>2],F[s>>2],l,F[f+4>>2]-F[e+4>>2]|0)+g|0,F[x+8>>2]=y;D[f+12|0]=G[f+12|0]|4}i=i?i:a}g=0;a=a+44|0;if(k>>>0>a>>>0){continue}break}a=j;f=i;n=0;e=0;i=0;while(1){v=G[a+12|0];h:{if(v&4){break h}h=F[a+24>>2];if(!h){i=i+1|0;break h}i:{if(!(e&255)){break i}r=n- -64|0;if((r|0)<=F[a+8>>2]&(r|0)<=F[h+8>>2]){break i}i=i+1|0;break h}if(F[h+20>>2]){r=sf(F[p>>2],F[s>>2],l,F[a+4>>2]-F[h+4>>2]|0);h=F[h+8>>2];D[a+12|0]=v|4;F[a+8>>2]=h+r;break h}if(a>>>0>h>>>0){e=sf(F[p>>2],F[s>>2],l,F[a+4>>2]-F[h+4>>2]|0);h=F[h+8>>2];D[a+12|0]=v|4;n=e+h|0;F[a+8>>2]=n;e=1;break h}j:{if(!((f|0)!=0|l)){g=Jl(b,a,h,0,0);break j}Jl(b,a,h,g,l)}D[a+12|0]=G[a+12|0]|4;D[h+12|0]=G[h+12|0]|4;n=F[h+8>>2];e=1;f=a}a=a+44|0;if(k>>>0>a>>>0){continue}break}}k:{if(!o){break k}e=4;f=2;a=j;l:{switch(q-6|0){case 6:a=j+44|0;e=9;f=5;break;case 0:break l;default:break k}}if(F[a+24>>2]!=(a+44|0)){break k}g=j+L(f,44)|0;if(F[g+24>>2]!=(g+44|0)){break k}h=L(e,44);f=h+j|0;e=F[f+24>>2];if((e|0)!=(h+(j+44|0)|0)){break k}n=(F[g+4>>2]<<1)-(F[a+4>>2]+F[f+4>>2]|0)|0;h=n>>31;if((h^n)-h>>>0>7){break k}h=F[f+8>>2];a=(F[g+8>>2]<<1)-F[a+8>>2]|0;F[f+8>>2]=a;a=h-a|0;if(e){F[e+8>>2]=F[e+8>>2]-a}if((q|0)==12){F[j+360>>2]=F[j+360>>2]-a;F[j+492>>2]=F[j+492>>2]-a}D[f+12|0]=G[f+12|0]|4;if(!e){break k}D[e+12|0]=G[e+12|0]|4}m:{if(!i){break m}a=j;if(u){break m}while(1){f=G[a+12|0];n:{if(f&4){break n}e=F[a+28>>2];if(!e){break n}g=F[e+8>>2];e=F[e+4>>2];D[a+12|0]=f|4;F[a+8>>2]=F[a+4>>2]+(g-e|0);i=i-1|0}a=a+44|0;if(k>>>0>a>>>0){continue}break}if(!i){break m}e=j;if(u){break m}while(1){a=e;o:{if(G[a+12|0]&4){break o}while(1){f=a;a=a-44|0;h=j>>>0>a>>>0;if(!(G[f-32|0]&4?1:h)){continue}break}i=e;p:{q:{r:{while(1){g=i;i=g+44|0;if(k>>>0<=i>>>0){break r}if(!(G[g+56|0]&4)){continue}break}if(a>>>0>=j>>>0){break q}h=F[e+4>>2]+(F[g+52>>2]-F[g+48>>2]|0)|0;break p}if(h){break o}h=F[e+4>>2]+(F[f-36>>2]-F[f-40>>2]|0)|0;break p}i=H[i>>1];a=H[a>>1];h=F[f-36>>2];if((i|0)==(a|0)){break p}a=a<<16>>16;f=F[f-36>>2];h=bb(E[e>>1]-a|0,F[g+52>>2]-f|0,(i<<16>>16)-a|0)+f|0}F[e+8>>2]=h}e=e+44|0;if(k>>>0>e>>>0){continue}break}}g=F[w>>2];a=F[t+56>>2];j=g+L(a,44)|0;s:{t:{if(l|o){if((a|0)<=0){break s}if(F[p>>2]&(o?1:2)){if(o){while(1){f=F[g+8>>2];h=F[g+36>>2];e=h;while(1){i=e+36|0;k=F[e+40>>2];while(1){a=F[i>>2];F[a+16>>2]=f;E[a>>1]=H[a>>1]|4;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=F[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break s}}while(1){f=F[g+8>>2];h=F[g+36>>2];e=h;while(1){i=e+36|0;k=F[e+40>>2];while(1){a=F[i>>2];F[a+20>>2]=f;E[a>>1]=H[a>>1]|8;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=F[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}break s}if(!o){break t}while(1){f=F[g+8>>2]-F[g+4>>2]|0;h=F[g+36>>2];e=h;while(1){i=e+36|0;k=F[e+40>>2];while(1){a=F[i>>2];F[a+16>>2]=f+F[a+16>>2];E[a>>1]=H[a>>1]|4;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=F[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}break s}if((a|0)<=0){break s}}while(1){f=F[g+8>>2]-F[g+4>>2]|0;h=F[g+36>>2];e=h;while(1){i=e+36|0;k=F[e+40>>2];while(1){a=F[i>>2];F[a+20>>2]=f+F[a+20>>2];E[a>>1]=H[a>>1]|8;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=F[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}}Og(b,l);Ng(b,l)}l=1;a=0;if(o){continue}}break}d=F[b+24>>2];if((d|0)<=0){e=0;break a}a=F[b+28>>2];b=a+L(d,40)|0;i=F[c+4>>2];f=F[c+8>>2];while(1){F[i>>2]=F[a+16>>2];F[i+4>>2]=F[a+20>>2];e=0;c=H[a>>1];D[f|0]=c&1?0:c&2?2:1;f=f+1|0;i=i+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}Ga=m+80|0;return e|0}function Kf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ga-240|0;Ga=e;F[c+16>>2]=0;F[c+20>>2]=-1042284544;F[c+8>>2]=-4194304;F[c+12>>2]=1105199103;F[c>>2]=-4194304;F[c+4>>2]=1105199103;F[c+24>>2]=0;F[c+28>>2]=-1042284544;a:{if(!(!F[a>>2]|I[a+216>>2]<=b>>>0)){h=F[a+80>>2];b:{if((h|0)==163632){break b}c:{d:{switch(G[h|0]){case 0:f=(b+h|0)+1|0;break c;case 3:break d;default:break b}}f=1;g=G[h+1|0]|G[h+2|0]<<8;g=(g<<8|g>>>8)&65535;e:{if(g>>>0<2){break e}while(1){i=f>>>0>>0?(h+L(f,3)|0)+3|0:163632;i=G[i|0]|G[i+1|0]<<8;if(((i<<8|i>>>8)&65535)>>>0>b>>>0){break e}f=f+1|0;if((g|0)!=(f|0)){continue}break}f=g}f=f-1|0;f=(f>>>0>>0?(h+L(f,3)|0)+3|0:163632)+2|0}f=G[f|0]}D[e+88|0]=0;F[e+80>>2]=0;F[e+84>>2]=0;F[e+108>>2]=0;F[e+100>>2]=0;F[e+104>>2]=0;F[e+124>>2]=0;F[e+128>>2]=0;D[e+132|0]=0;F[e+176>>2]=0;F[e+168>>2]=0;F[e+172>>2]=0;F[e+208>>2]=0;F[e+212>>2]=0;F[e+72>>2]=0;F[e+76>>2]=0;F[e+116>>2]=0;F[e+120>>2]=0;F[e+200>>2]=0;F[e+204>>2]=0;F[e+224>>2]=0;F[e+228>>2]=0;g=F[a+72>>2];F[61902]=0;Jd(e+56|0,g,b);b=F[61902];F[61902]=0;if((b|0)==1){break a}g=F[(I[a+208>>2]>f>>>0?F[a+212>>2]+L(f,24)|0:163632)+20>>2];h=F[a+68>>2];F[e+80>>2]=F[e- -64>>2];b=F[e+60>>2];F[e+72>>2]=F[e+56>>2];F[e+76>>2]=b;D[e+92|0]=0;D[e+88|0]=0;F[e+84>>2]=0;b=nb(4744);F[e+104>>2]=0;F[e+108>>2]=0;F[e+96>>2]=0;F[e+100>>2]=0;f:{if(!b){F[e+100>>2]=-1;break f}F[e+100>>2]=593;F[e+108>>2]=b;Wa(b,0,4104);F[e+104>>2]=513}D[e+112|0]=0;b=F[e+60>>2];F[e+116>>2]=F[e+56>>2];F[e+120>>2]=b;F[e+124>>2]=F[e- -64>>2];F[e+136>>2]=0;F[e+140>>2]=0;D[e+132|0]=0;F[e+128>>2]=0;D[e+145|0]=1;D[e+146|0]=0;b=nb(560);F[e+172>>2]=0;F[e+176>>2]=0;F[e+164>>2]=0;F[e+168>>2]=0;D[e+153|0]=0;D[e+154|0]=0;D[e+155|0]=0;D[e+156|0]=0;D[e+157|0]=0;D[e+158|0]=0;D[e+159|0]=0;D[e+160|0]=0;F[e+208>>2]=0;F[e+212>>2]=0;F[e+148>>2]=0;F[e+152>>2]=0;F[e+200>>2]=0;F[e+204>>2]=0;g:{if(!b){F[e+168>>2]=-1;break g}F[e+168>>2]=20;F[e+176>>2]=b;F[b+48>>2]=0;F[b+52>>2]=0;F[b+40>>2]=0;F[b+44>>2]=0;F[b+32>>2]=0;F[b+36>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;F[b+56>>2]=0;F[b+60>>2]=0;f=b- -64|0;F[f>>2]=0;F[f+4>>2]=0;F[b+72>>2]=0;F[b+76>>2]=0;F[b+80>>2]=0;f=4;F[e+172>>2]=4;F[b+108>>2]=0;F[b+100>>2]=0;F[b+104>>2]=0;F[b+92>>2]=0;F[b+96>>2]=0;F[b+84>>2]=0;F[b+88>>2]=0;while(1){F[e+172>>2]=f+1;b=F[e+176>>2]+L(f,28)|0;F[b>>2]=0;F[b+4>>2]=0;F[b+24>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;f=F[e+172>>2];if(f>>>0<10){continue}break}F[e+172>>2]=10}F[e+184>>2]=h;h:{i:{if(h){b=G[h|0]|G[h+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0>1239){break i}}F[e+180>>2]=107;break h}if(b>>>0<=33899){F[e+180>>2]=1131;break h}F[e+180>>2]=32768}F[e+192>>2]=g;j:{k:{if(g){b=G[g|0]|G[g+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0>1239){break k}}F[e+188>>2]=107;break j}if(b>>>0<=33899){F[e+188>>2]=1131;break j}F[e+188>>2]=32768}D[e+232|0]=d;F[e+220>>2]=0;E[e+216>>1]=0;F[e+40>>2]=0;F[e+44>>2]=-1042284544;F[e+32>>2]=0;F[e+36>>2]=-1042284544;F[e+24>>2]=-4194304;F[e+28>>2]=1105199103;D[e+144|0]=0;F[e+48>>2]=a;D[e+8|0]=0;F[e+16>>2]=-4194304;F[e+20>>2]=1105199103;i=G[163632];k=i|256;f=!G[e+88|0];a=F[40908];g=F[40909];l:{while(1){d=65535;m:{n:{o:{if(!(f&1)){break o}f=F[e+84>>2];h=f+1|0;j=F[e+76>>2];if(h>>>0>j>>>0){break o}p:{q:{if(f>>>0>>0){d=F[e+72>>2];b=G[d+f|0];if((b|0)==12){b=k;if(h>>>0>=j>>>0){break q}f=h;b=G[d+f|0]|256}if(f>>>0>=j>>>0){break q}F[e+84>>2]=f+1;break p}D[e+88|0]=1;b=i;if((b|0)==12){break o}}D[e+88|0]=1;F[e+84>>2]=j}if((b|0)!=14){d=b;if((b|0)!=256){break o}break n}f=F[e+96>>2];if(!G[e+216|0]){if(f&1){r:{if(!F[e+104>>2]){F[61608]=a;F[61609]=g;b=a;d=g;break r}d=F[e+108>>2];b=F[d>>2];d=F[d+4>>2]}F[e+220>>2]=1;D[e+217|0]=1;F[e+224>>2]=b;F[e+228>>2]=d}D[e+216|0]=1}if(f>>>0>=4){F[61902]=0;ea(647,e+72|0,e+8|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}}D[e+144|0]=1;break n}F[61902]=0;Eh(d,e+72|0,e+8|0);b=F[61902];F[61902]=0;if((b|0)!=1){break m}break a}F[e+96>>2]=0;F[e+220>>2]=0}f=0;if(G[e+160|0]){break l}f=0;if(F[e+168>>2]<0){break l}f=0;if(G[e+112|0]|G[e+88|0]){break l}f=0;if(G[e+92|0]){break l}f=0;if(F[e+100>>2]<0){break l}f=1;if(!G[e+144|0]){continue}break}a=F[e+20>>2];F[c>>2]=F[e+16>>2];F[c+4>>2]=a;a=F[e+44>>2];F[c+24>>2]=F[e+40>>2];F[c+28>>2]=a;a=F[e+36>>2];F[c+16>>2]=F[e+32>>2];F[c+20>>2]=a;a=F[e+28>>2];F[c+8>>2]=F[e+24>>2];F[c+12>>2]=a;f=1}F[e+104>>2]=0;Ta(F[e+108>>2]);F[e+172>>2]=0;F[e+108>>2]=0;F[e+100>>2]=0;F[e+104>>2]=0;Ta(F[e+176>>2]);F[e+104>>2]=0;F[e+176>>2]=0;F[e+168>>2]=0;F[e+172>>2]=0;Ta(F[e+108>>2])}Ga=e+240|0;return f}a=Z()|0;Y()|0;Dh(e+72|0);$(a|0);V()}function Jn(a,b,c){var d=0,e=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a;f:{g:{h:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break h}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break f}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=719;break a}c=a;i:{j:{k:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break k}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break i}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=720;break a;case 1:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;l:{m:{n:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break m}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break n}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break l}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=721;break a;case 2:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;o:{p:{q:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break q}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break o}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=722;break a;case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;r:{s:{t:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break t}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break r}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=723;break a;case 4:u:{v:{w:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break u;case 1:break v;case 0:break w;default:break b}}tn(b,a);return}sn(b,a);return}rn(b,a);return;case 5:x:{y:{z:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break x;case 1:break y;case 0:break z;default:break b}}qn(b,a);return}pn(b,a);return}on(b,a);return;case 6:if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;Jn(c,b,(a<<8|a>>>8)&65535)}return;case 7:break c;default:break b}}if((G[a|0]|G[a+1|0]<<8)!=256){break b}c=a;A:{B:{C:{d=F[b+4>>2];b=F[d>>2];if((b|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break B}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=ob(F[d+8>>2],L(a,20));if(b){break C}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break A}F[d>>2]=a;F[d+8>>2]=b;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=730;F[a>>2]=c;F[a+16>>2]=0;a=a+8|0;b=G[c+2|0]|G[c+3|0]<<8;D:{if(!b){_b(163632,a);break D}_b(c+((b<<8|b>>>8)&65535)|0,a)}}return}F[a>>2]=c;F[a+16>>2]=0;a=a+8|0;b=G[c+2|0]|G[c+3|0]<<8;E:{if(!b){_b(163632,a);break E}_b(((b<<8|b>>>8)&65535)+c|0,a)}}function hy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;j=Ga-416|0;Ga=j;u=F[b+92>>2];F[a+40>>2]=H[b+68>>1];if(!dd(b,1970170211)){Uk(a,b);c=(F[F[a>>2]+12>>2]<<3)+6560|0;d=F[c>>2];if((d|0)!=5531){v=a+7720|0;w=a+44|0;while(1){r=c;g=d+1024|0;d=G[g|0];a:{if(!d){break a}s=G[r+4|0]&2?w:v;q=0;n=0;m=1;while(1){e=d&255;if((e|0)!=32){b:{c:{if((e|0)==124){g=g+1|0;break c}c=g+1|0;if(d<<24>>24<0){f=e>>>0<240;d=e>>>0<224;i=d?1:f?2:3;k=i-1|0;e=(d?31:f?15:7)&e;f=0;d=i;while(1){e=G[c|0]&63|e<<6;d=d-1|0;c=c+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(k>>>0>=3){while(1){e=G[c+3|0]&63|((G[c+1|0]&63|(e<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+i|0)+1|0}g=c;d=0;while(1){c=G[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;f=d>>>0<224;i=f?1:c?2:3;l=i-1|0;d=(f?31:c?15:7)&d;k=0;f=i;c=g;while(1){d=G[c|0]&63|d<<6;f=f-1|0;c=c+1|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}if(l>>>0>=3){while(1){d=G[c+3|0]&63|((G[c+1|0]&63|(d<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;f=f-4|0;if(f){continue}break}}g=g+i|0;continue}break}if(d){break b}c=Ob(F[F[a+36>>2]>>2],e);if(!c){break b}if(Kc(b,c,1)){break b}c=F[b+84>>2];if(E[c+110>>1]<3){break b}e=0;t=E[c+108>>1];d:{if((t|0)<=0){c=0;break d}x=F[c+120>>2];k=F[c+112>>2];d=-1;l=0;c=0;while(1){i=E[x+(l<<1)>>1];e:{if((i|0)<=(e|0)){break e}h=H[r+4>>1];f=h&1;if(h&2){if(f){if((i-e|0)+1&1){f=F[(e<<3)+k>>2];h=(d|0)<0|(f|0)>(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=F[(f<<3)+k>>2];h=h|(d|0)>(c|0);o=h?f:e;e=f+1|0;p=F[(e<<3)+k>>2];h=h?d:c;c=(o|0)<0|(p|0)>(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}break e}if((i-e|0)+1&1){f=F[(e<<3)+k>>2];h=(d|0)<0|(f|0)<(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=F[(f<<3)+k>>2];h=h|(d|0)<(c|0);o=h?f:e;e=f+1|0;p=F[(e<<3)+k>>2];h=h?d:c;c=(o|0)<0|(p|0)<(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}break e}if(f){if((i-e|0)+1&1){f=F[((e<<3)+k|0)+4>>2];h=(d|0)<0|(f|0)>(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=F[((f<<3)+k|0)+4>>2];h=h|(d|0)>(c|0);o=h?f:e;e=f+1|0;p=F[((e<<3)+k|0)+4>>2];h=h?d:c;c=(o|0)<0|(p|0)>(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}break e}if((i-e|0)+1&1){f=F[((e<<3)+k|0)+4>>2];h=(d|0)<0|(f|0)<(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=F[((f<<3)+k|0)+4>>2];h=h|(d|0)<(c|0);o=h?f:e;e=f+1|0;p=F[((e<<3)+k|0)+4>>2];h=h?d:c;c=(o|0)<0|(p|0)<(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}}e=i+1|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}}if(m){F[(j+208|0)+(q<<2)>>2]=c;q=q+1|0;break b}F[(n<<2)+j>>2]=c;n=n+1|0}m=0}d=G[g|0];if(d){continue}if(!(n|q)){break a}f:{if(q>>>0<2){break f}g=1;c=q-1|0;i=c&1;if((q|0)!=2){k=c&-2;e=0;while(1){d=F[(j+208|0)+(g<<2)>>2];c=g;while(1){f=c-1|0;l=(j+208|0)+(f<<2)|0;m=F[l>>2];if((m|0)>(d|0)){F[(j+208|0)+(c<<2)>>2]=m;F[l>>2]=d;c=f;if(c){continue}}break}c=g+1|0;d=F[(j+208|0)+(c<<2)>>2];while(1){f=c-1|0;l=(j+208|0)+(f<<2)|0;m=F[l>>2];if((m|0)>(d|0)){F[(j+208|0)+(c<<2)>>2]=m;F[l>>2]=d;c=f;if(c){continue}}break}g=g+2|0;e=e+2|0;if((k|0)!=(e|0)){continue}break}}if(!i){break f}e=F[(j+208|0)+(g<<2)>>2];while(1){c=g-1|0;f=(j+208|0)+(c<<2)|0;d=F[f>>2];if((d|0)<=(e|0)){break f}F[(j+208|0)+(g<<2)>>2]=d;F[f>>2]=e;g=c;if(c){continue}break}}g:{if(n>>>0<2){break g}g=1;c=n-1|0;i=c&1;if((n|0)!=2){k=c&-2;e=0;while(1){d=F[(g<<2)+j>>2];c=g;while(1){f=c-1|0;l=(f<<2)+j|0;m=F[l>>2];if((m|0)>(d|0)){F[(c<<2)+j>>2]=m;F[l>>2]=d;c=f;if(c){continue}}break}c=g+1|0;d=F[(c<<2)+j>>2];while(1){f=c-1|0;l=(f<<2)+j|0;m=F[l>>2];if((m|0)>(d|0)){F[(c<<2)+j>>2]=m;F[l>>2]=d;c=f;if(c){continue}}break}g=g+2|0;e=e+2|0;if((k|0)!=(e|0)){continue}break}}if(!i){break g}e=F[(g<<2)+j>>2];while(1){c=g-1|0;f=(c<<2)+j|0;d=F[f>>2];if((d|0)<=(e|0)){break g}F[(g<<2)+j>>2]=d;F[f>>2]=e;g=c;if(c){continue}break}}c=F[s+216>>2];F[s+216>>2]=c+1;c=L(c,28)+s|0;h:{i:{if(!(!n|!q)){g=F[(j+208|0)+(q<<1&-4)>>2];F[c+220>>2]=g;e=F[(n<<1&-4)+j>>2];F[c+232>>2]=e;if((e|0)==(g|0)){break i}k=H[r+4>>1];if((k^(e|0)>=(g|0))&1){break h}g=(e+g|0)/2|0;F[c+232>>2]=g;F[c+220>>2]=g;break h}g=F[((n?n:q)<<1&-4)+(n?j:j+208|0)>>2];F[c+232>>2]=g;F[c+220>>2]=g}k=H[r+4>>1]}F[c+244>>2]=k<<1&2}else{d=G[g+1|0];g=g+1|0;continue}break}}c=r+8|0;d=F[r+8>>2];if((d|0)!=5531){continue}break}}Dk(a)}cd(b,u);Ga=j+416|0;return 0}function Ch(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=M(0),m=M(0);g=Ga-208|0;Ga=g;a:{if(!(!F[a>>2]|I[a+216>>2]<=c>>>0)){i=F[a+80>>2];b:{if((i|0)==163632){break b}c:{d:{switch(G[i|0]){case 0:h=(c+i|0)+1|0;break c;case 3:break d;default:break b}}h=1;j=G[i+1|0]|G[i+2|0]<<8;j=(j<<8|j>>>8)&65535;e:{if(j>>>0<2){break e}while(1){k=h>>>0>>0?(i+L(h,3)|0)+3|0:163632;k=G[k|0]|G[k+1|0]<<8;if(((k<<8|k>>>8)&65535)>>>0>c>>>0){break e}h=h+1|0;if((j|0)!=(h|0)){continue}break}h=j}h=h-1|0;h=(h>>>0>>0?(i+L(h,3)|0)+3|0:163632)+2|0}h=G[h|0]}D[g+56|0]=0;F[g+48>>2]=0;F[g+52>>2]=0;F[g+76>>2]=0;F[g+68>>2]=0;F[g+72>>2]=0;F[g+92>>2]=0;F[g+96>>2]=0;D[g+100|0]=0;F[g+144>>2]=0;F[g+136>>2]=0;F[g+140>>2]=0;F[g+176>>2]=0;F[g+180>>2]=0;F[g+40>>2]=0;F[g+44>>2]=0;F[g+84>>2]=0;F[g+88>>2]=0;F[g+168>>2]=0;F[g+172>>2]=0;F[g+192>>2]=0;F[g+196>>2]=0;j=F[a+72>>2];F[61902]=0;Jd(g+24|0,j,c);c=F[61902];F[61902]=0;if((c|0)==1){break a}j=F[(I[a+208>>2]>h>>>0?F[a+212>>2]+L(h,24)|0:163632)+20>>2];i=F[a+68>>2];F[g+48>>2]=F[g+32>>2];c=F[g+28>>2];F[g+40>>2]=F[g+24>>2];F[g+44>>2]=c;D[g+60|0]=0;D[g+56|0]=0;F[g+52>>2]=0;c=nb(4744);F[g+72>>2]=0;F[g+76>>2]=0;h=g- -64|0;F[h>>2]=0;F[h+4>>2]=0;f:{if(!c){F[g+68>>2]=-1;break f}F[g+68>>2]=593;F[g+76>>2]=c;Wa(c,0,4104);F[g+72>>2]=513}D[g+80|0]=0;c=F[g+28>>2];F[g+84>>2]=F[g+24>>2];F[g+88>>2]=c;F[g+92>>2]=F[g+32>>2];F[g+104>>2]=0;F[g+108>>2]=0;D[g+100|0]=0;F[g+96>>2]=0;D[g+113|0]=1;D[g+114|0]=0;c=nb(560);F[g+140>>2]=0;F[g+144>>2]=0;F[g+132>>2]=0;F[g+136>>2]=0;D[g+121|0]=0;D[g+122|0]=0;D[g+123|0]=0;D[g+124|0]=0;D[g+125|0]=0;D[g+126|0]=0;D[g+127|0]=0;D[g+128|0]=0;F[g+176>>2]=0;F[g+180>>2]=0;F[g+116>>2]=0;F[g+120>>2]=0;F[g+168>>2]=0;F[g+172>>2]=0;g:{if(!c){F[g+136>>2]=-1;break g}F[g+136>>2]=20;F[g+144>>2]=c;F[c+48>>2]=0;F[c+52>>2]=0;F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;F[c+56>>2]=0;F[c+60>>2]=0;h=c- -64|0;F[h>>2]=0;F[h+4>>2]=0;F[c+72>>2]=0;F[c+76>>2]=0;F[c+80>>2]=0;h=4;F[g+140>>2]=4;F[c+108>>2]=0;F[c+100>>2]=0;F[c+104>>2]=0;F[c+92>>2]=0;F[c+96>>2]=0;F[c+84>>2]=0;F[c+88>>2]=0;while(1){F[g+140>>2]=h+1;c=F[g+144>>2]+L(h,28)|0;F[c>>2]=0;F[c+4>>2]=0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;h=F[g+140>>2];if(h>>>0<10){continue}break}F[g+140>>2]=10}F[g+152>>2]=i;h:{i:{if(i){c=G[i|0]|G[i+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>1239){break i}}F[g+148>>2]=107;break h}if(c>>>0<=33899){F[g+148>>2]=1131;break h}F[g+148>>2]=32768}F[g+160>>2]=j;j:{k:{if(j){c=G[j|0]|G[j+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>1239){break k}}F[g+156>>2]=107;break j}if(c>>>0<=33899){F[g+156>>2]=1131;break j}F[g+156>>2]=32768}D[g+200|0]=e;F[g+188>>2]=0;E[g+184>>1]=0;D[g+112|0]=0;F[g+20>>2]=a;F[g+12>>2]=d;F[g+16>>2]=f;F[g+8>>2]=b;f=G[163632];j=f|256;h=!G[g+56|0];a=F[40908];d=F[40909];l:{while(1){b=65535;m:{n:{o:{if(!(h&1)){break o}h=F[g+52>>2];e=h+1|0;i=F[g+44>>2];if(e>>>0>i>>>0){break o}p:{q:{if(h>>>0>>0){b=F[g+40>>2];c=G[b+h|0];if((c|0)==12){c=j;if(e>>>0>=i>>>0){break q}h=e;c=G[b+h|0]|256}if(h>>>0>=i>>>0){break q}F[g+52>>2]=h+1;break p}D[g+56|0]=1;c=f;if((c|0)==12){break o}}D[g+56|0]=1;F[g+52>>2]=i}if((c|0)!=14){b=c;if((c|0)!=256){break o}break n}e=F[g+64>>2];if(!G[g+184|0]){if(e&1){r:{if(!F[g+72>>2]){F[61608]=a;F[61609]=d;b=a;c=d;break r}c=F[g+76>>2];b=F[c>>2];c=F[c+4>>2]}F[g+188>>2]=1;D[g+185|0]=1;F[g+192>>2]=b;F[g+196>>2]=c}D[g+184|0]=1}if(e>>>0>=4){F[61902]=0;ea(649,g+40|0,g+8|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}}D[g+112|0]=1;break n}F[61902]=0;ga(650,b|0,g+40|0,g+8|0);b=F[61902];F[61902]=0;if((b|0)!=1){break m}break a}F[g+64>>2]=0;F[g+188>>2]=0}h=0;if(G[g+128|0]){break l}h=0;if(F[g+136>>2]<0){break l}h=0;if(G[g+80|0]|G[g+56|0]){break l}h=0;if(G[g+60|0]){break l}h=0;if(F[g+68>>2]<0){break l}h=1;if(!G[g+112|0]){continue}break}b=F[g+12>>2];a=b+16|0;if(F[b+16>>2]){d=F[b+12>>2];c=F[b+8>>2];l=J[b+20>>2];m=J[b+24>>2];if(!(l==J[b+28>>2]&m==J[b+32>>2])){b=F[c+36>>2];e=F[c+16>>2];F[61902]=0;ja(e|0,c|0,d|0,a|0,M(l),M(m),b|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}}b=F[c+48>>2];e=F[c+28>>2];F[61902]=0;ba(e|0,c|0,d|0,a|0,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}}F[a>>2]=0;F[a+4>>2]=0;F[a+16>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;h=1}F[g+72>>2]=0;Ta(F[g+76>>2]);F[g+140>>2]=0;F[g+76>>2]=0;F[g+68>>2]=0;F[g+72>>2]=0;Ta(F[g+144>>2]);F[g+72>>2]=0;F[g+144>>2]=0;F[g+136>>2]=0;F[g+140>>2]=0;Ta(F[g+76>>2])}Ga=g+208|0;return h}a=Z()|0;Y()|0;Dh(g+40|0);$(a|0);V()}function iA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;k=Ga-32|0;Ga=k;F[b+72>>2]=0;F[b+64>>2]=0;D[b+61|0]=1;D[b+62|0]=0;F[b+84>>2]=F[b+80>>2];F[b+64>>2]=0;j=F[b+68>>2];a:{if(!j){break a}while(1){d=F[b+80>>2];i=F[d+L(e,20)>>2];b:{if((i&-129)!=3635){if(G[b+61|0]){c:{if((d|0)==F[b+84>>2]){d=e;if(F[b+72>>2]==(d|0)){break c}}if(!$a(b,1,1)){break a}f=F[b+80>>2]+L(F[b+64>>2],20)|0;e=F[f+4>>2];d=F[b+84>>2]+L(F[b+72>>2],20)|0;F[d>>2]=F[f>>2];F[d+4>>2]=e;F[d+16>>2]=F[f+16>>2];e=F[f+12>>2];F[d+8>>2]=F[f+8>>2];F[d+12>>2]=e;e=F[b+64>>2];d=F[b+72>>2]}F[b+72>>2]=d+1}F[b+64>>2]=e+1;break b}g=i+26|0;if($a(b,0,1)){f=F[b+64>>2];d:{if(f>>>0>2]){d=F[b+72>>2];e=F[b+84>>2];f=F[b+80>>2]+L(f,20)|0;break d}e=F[b+84>>2];d=F[b+72>>2];f=e+L(d?d-1|0:0,20)|0}e=L(d,20)+e|0;d=f;f=F[d+4>>2];F[e>>2]=F[d>>2];F[e+4>>2]=f;F[e+16>>2]=F[d+16>>2];f=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=f;F[e>>2]=g;F[b+72>>2]=F[b+72>>2]+1}d=F[b+72>>2];d=F[b+84>>2]+L(d?d-1|0:0,20)|0;E[d+16>>1]=H[d+16>>1]|128;g=i-1|0;h=$a(b,1,1);if(h){f=F[b+64>>2];e:{if(f>>>0>2]){d=F[b+72>>2];i=F[b+84>>2];f=F[b+80>>2]+L(f,20)|0;break e}i=F[b+84>>2];d=F[b+72>>2];f=i+L(d?d-1|0:0,20)|0}e=L(d,20)+i|0;d=f;f=F[d+4>>2];F[e>>2]=F[d>>2];F[e+4>>2]=f;F[e+16>>2]=F[d+16>>2];f=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=f;F[e>>2]=g;F[b+64>>2]=F[b+64>>2]+1;F[b+72>>2]=F[b+72>>2]+1}if(!h){break a}e=F[b+72>>2];d=e-2|0;i=L(d,20);f=i+F[b+84>>2]|0;E[f+16>>1]=H[f+16>>1]&224|12;f:{g:{while(1){f=d;if(!d){break g}d=f-1|0;g=F[F[b+84>>2]+L(d,20)>>2];h=g&-129;if((h|0)==3633|(g&-132)==3636|h-3655>>>0<8){continue}break}if(e>>>0>f+2>>>0){break f}if(F[b+20>>2]){break b}Xc(b,d,e);break b}if(e>>>0<=2){break b}}Xc(b,f,e);d=i;i=F[b+84>>2];d=d+i|0;F[k+24>>2]=F[d+16>>2];g=F[d+12>>2];F[k+16>>2]=F[d+8>>2];F[k+20>>2]=g;g=F[d+4>>2];F[k+8>>2]=F[d>>2];F[k+12>>2]=g;d=L(f,20);i=d+i|0;Cb(i+20|0,i,L(e-f|0,20)-40|0);f=F[k+12>>2];d=d+F[b+84>>2]|0;F[d>>2]=F[k+8>>2];F[d+4>>2]=f;F[d+16>>2]=F[k+24>>2];f=F[k+20>>2];F[d+8>>2]=F[k+16>>2];F[d+12>>2]=f}e=F[b+64>>2];if(j>>>0>e>>>0){continue}break}}mc(b);h:{if(G[a+32|0]|F[a+4>>2]!=1416126825){break h}s=F[b+68>>2];if(!s){break h}t=F[b+80>>2];a=3;g=2;f=0;i=0;while(1){e=0;i:{j:{u=L(i,20)+t|0;j=F[u>>2];if((j|0)==3633|(j&-4)==3636){break j}d=j-3655|0;if(1<>>0<=7:0){break j}e=1;if(j-3640>>>0<3){break j}e=2;if(j-3656>>>0<5){break j}k:{l:{d=j-3597|0;if(d>>>0<=18){d=1<>>0>45)<<2;break k}a=2}a=a<<2;g=F[a+139568>>2];a=F[a+139536>>2];f=i;break i}e=e<<3;d=e+L(g,24)|0;a=e+L(a,24)|0;r=F[a+139600>>2];if(!r){r=F[d+139696>>2]}w=d+139700|0;m=a+139604|0;a=F[b+68>>2];l=a>>>0>>0?a:i;p=l-f|0;m:{if(p>>>0<2){break m}a=F[b+144>>2]|32;F[b+144>>2]=a;if(f>>>0>=l>>>0){break m}h=F[b+80>>2];e=-1;d=f;v=l+(d^-1)|0;if(v>>>0>=3){q=p&-4;o=0;while(1){g=h+L(d,20)|0;n=F[g+8>>2];e=e>>>0>>0?e:n;n=F[g+28>>2];e=e>>>0>>0?e:n;n=F[g+48>>2];e=e>>>0>>0?e:n;g=F[g+68>>2];e=e>>>0>>0?e:g;d=d+4|0;o=o+4|0;if((q|0)!=(o|0)){continue}break}}g=0;o=p&3;if(o){while(1){q=F[(h+L(d,20)|0)+8>>2];e=e>>>0>>0?e:q;d=d+1|0;g=g+1|0;if((o|0)!=(g|0)){continue}break}}d=f;if(p&1){d=h+L(f,20)|0;if(F[d+8>>2]!=(e|0)){F[b+144>>2]=a;F[d+4>>2]=F[d+4>>2]|3}d=f+1|0}if(!v){break m}while(1){g=h+L(d,20)|0;if(F[g+8>>2]!=(e|0)){a=a|32;F[b+144>>2]=a;F[g+4>>2]=F[g+4>>2]|3}g=h+L(d+1|0,20)|0;if(F[g+8>>2]!=(e|0)){a=a|32;F[b+144>>2]=a;F[g+4>>2]=F[g+4>>2]|3}d=d+2|0;if((l|0)!=(d|0)){continue}break}}g=F[w>>2];a=F[m>>2];e=0;n:{o:{p:{switch(r|0){case 4:e=140128;q:{r:{s:{j=L(f,20)+t|0;d=F[j>>2];switch(d-3597|0){case 0:break r;case 3:break s;default:break q}}e=140140}h=F[e+4>>2];l=k+8|0;F[l>>2]=0;m=h;h=F[c+80>>2];if(Ia[F[h+164>>2]](c,F[c+84>>2],m,l,F[h+20>>2])|0){d=e+4|0}else{h=F[e+8>>2];l=k+8|0;F[l>>2]=0;m=h;h=F[c+80>>2];if(!(Ia[F[h+164>>2]](c,F[c+84>>2],m,l,F[h+20>>2])|0)){break q}d=e+8|0}d=F[d>>2]}F[j>>2]=d;break i;case 1:e=139776;break o;case 3:e=139888;break o;case 0:break n;case 2:break p;default:break o}}e=139968}d=F[e>>2];if(!d){break n}while(1){if((d|0)==(j|0)){d=F[e+4>>2];h=k+8|0;F[h>>2]=0;m=d;d=F[c+80>>2];if(Ia[F[d+164>>2]](c,F[c+84>>2],m,h,F[d+20>>2])|0){j=F[e+4>>2];break n}d=F[e+8>>2];h=k+8|0;F[h>>2]=0;m=d;d=F[c+80>>2];if(!(Ia[F[d+164>>2]](c,F[c+84>>2],m,h,F[d+20>>2])|0)){break n}j=F[e+8>>2];break n}d=F[e+12>>2];e=e+12|0;if(d){continue}break}}F[u>>2]=j}i=i+1|0;if((s|0)!=(i|0)){continue}break}}Ga=k+32|0}function yB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=Ga-16|0;Ga=h;a:{b:{switch(G[a+4|0]){case 0:f=F[b+4>>2];w=E[f+152>>1]&1;if(w){j=G[a+5|0];F[h+8>>2]=a;F[h+12>>2]=b;D[h+4|0]=j>>>2&1;F[h>>2]=h+8;r=F[f+144>>2];f=0;o=Ga-160|0;Ga=o;d=F[b+16>>2];l=F[b+8>>2];if(mb(d,l,106300,0)){if(G[d+16|0]&64){wb(d,2,0,-1,1,0)}b=rc(o+8|0,1,l,d);F[b+120>>2]=r;F[b+132>>2]=8;F[b+36>>2]=0;F[b+8>>2]=b;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+52>>2]=b;F[b+20>>2]=r;D[b+17|0]=G[b+142|0];F[b+12>>2]=8;F[b+72>>2]=0;F[b+76>>2]=0;F[b- -64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=8;a=F[b+124>>2]==1;D[b+16|0]=a;D[b+60|0]=a|G[b+141|0]!=0;k=F[d+68>>2];if(k){s=b+4|0;m=F[d+88>>2];n=F[d+80>>2];x=(F[d+40>>2]&-2)!=4;while(1){c:{d:{p=L(f,20);q=p+n|0;if(!(r&F[q+4>>2])){break d}F[b+40>>2]=1;F[b+4>>2]=f;j=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[j+68>>2];a=0;D[b+24|0]=F[j+64>>2]==(f|0)?G[(p+F[j+80>>2]|0)+15|0]:0;if(!cc(s,o+4|0)){break d}j=F[s>>2];g=L(j,20);u=F[F[h>>2]>>2];c=G[u+6|0]|G[u+7|0]<<8;e:{if(c){e=F[q>>2];y=F[g+n>>2];q=((c<<8|c>>>8)&65535)-1|0;while(1){f:{g:{v=a+q>>>1|0;i=u+L(v,6)|0;c=i+14|0;t=G[c|0]|G[c+1|0]<<8;t=(t<<8|t>>>8)&65535;h:{if((t|0)==(e|0)){i=G[i+16|0]|G[i+17|0]<<8;i=(i<<8|i>>>8)&65535;if(i>>>0>y>>>0){break h}if((i|0)==(y|0)){break e}break g}if(e>>>0>=t>>>0){break g}}q=v-1|0;break f}a=v+1|0}if((a|0)<=(q|0)){continue}break}}c=163632}c=G[c+4|0]|G[c+5|0]<<8;if(!c){break c}a=c<<8|c>>>8;i:{if(!x){a=a<<16;c=a>>31;a=EC(F[l+40>>2],F[l+44>>2],a>>16,c)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(G[h+4|0]){F[(g+m|0)+12>>2]=a;F[d+144>>2]=F[d+144>>2]|8;break i}c=m+p|0;e=c;i=F[c>>2];c=a>>1;F[e>>2]=i+c;g=g+m|0;a=a-c|0;F[g>>2]=a+F[g>>2];F[g+8>>2]=a+F[g+8>>2];break i}a=a<<16;c=a>>31;a=EC(F[l+48>>2],F[l+52>>2],a>>16,c)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(G[h+4|0]){F[(g+m|0)+8>>2]=a;F[d+144>>2]=F[d+144>>2]|8;break i}c=m+p|0;e=c;i=F[c+4>>2];c=a>>1;F[e+4>>2]=i+c;g=g+m|0;a=a-c|0;F[g+4>>2]=a+F[g+4>>2];F[g+12>>2]=a+F[g+12>>2]}Fc(d,f,j+1|0);j=F[s>>2];break c}j=f+1|0}f=j;if(k>>>0>f>>>0){continue}break}}mb(d,l,106331,0)}Ga=o+160|0}break a;case 2:break b;default:break a}}f=F[b+4>>2];w=E[f+152>>1]&1;if(w){j=G[a+5|0];F[h+8>>2]=a;F[h+12>>2]=b;D[h+4|0]=j>>>2&1;F[h>>2]=h+8;r=F[f+144>>2];f=0;o=Ga-160|0;Ga=o;k=F[b+16>>2];l=F[b+8>>2];if(mb(k,l,106300,0)){if(G[k+16|0]&64){wb(k,2,0,-1,1,0)}b=rc(o+8|0,1,l,k);F[b+120>>2]=r;F[b+132>>2]=8;F[b+36>>2]=0;F[b+8>>2]=b;F[b+28>>2]=0;F[b+32>>2]=0;F[b+80>>2]=0;F[b+52>>2]=b;F[b+20>>2]=r;D[b+17|0]=G[b+142|0];F[b+12>>2]=8;F[b+72>>2]=0;F[b+76>>2]=0;F[b- -64>>2]=-1;D[b+61|0]=1;F[b+56>>2]=8;a=F[b+124>>2]==1;D[b+16|0]=a;D[b+60|0]=a|G[b+141|0]!=0;j=F[k+68>>2];if(j){s=b+4|0;m=F[k+88>>2];q=F[k+80>>2];y=(F[k+40>>2]&-2)!=4;while(1){j:{k:{p=L(f,20);e=p+q|0;if(!(r&F[e+4>>2])){break k}F[b+40>>2]=1;F[b+4>>2]=f;a=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[a+68>>2];D[b+24|0]=F[a+64>>2]==(f|0)?G[(p+F[a+80>>2]|0)+15|0]:0;if(!cc(s,o+4|0)){break k}a=F[h>>2];d=F[a>>2];v=F[s>>2];g=L(v,20);i=F[g+q>>2];c=F[a+4>>2];n=0;u=0;t=F[e>>2];a=G[d+8|0]|G[d+9|0]<<8;a=d+((a<<8|a>>>8)&65535)|0;e=G[a|0]|G[a+1|0]<<8;e=t-((e<<8|e>>>8)&65535)|0;x=G[a+2|0]|G[a+3|0]<<8;if(e>>>0<((x<<8|x>>>8)&65535)>>>0){a=a+(e<<1)|0;a=G[a+4|0]|G[a+5|0]<<8;u=(a<<8|a>>>8)&65535}a=G[d+10|0]|G[d+11|0]<<8;a=d+((a<<8|a>>>8)&65535)|0;e=G[a|0]|G[a+1|0]<<8;e=i-((e<<8|e>>>8)&65535)|0;i=G[a+2|0]|G[a+3|0]<<8;if(e>>>0<((i<<8|i>>>8)&65535)>>>0){a=a+(e<<1)|0;a=G[a+4|0]|G[a+5|0]<<8;n=(a<<8|a>>>8)&65535}a=0;e=(d+u|0)+n|0;n=G[d+12|0]|G[d+13|0]<<8;d=d+((n<<8|n>>>8)&65535)|0;d=(e-d&-2)+d|0;l:{if(d>>>0>2]){break l}n=F[c+28>>2];if(n>>>0>>0|n-d>>>0<2){break l}e=c;c=F[c+32>>2]-2|0;F[e+32>>2]=c;if((c|0)<=0){break l}a=G[d|0]|G[d+1|0]<<8;a=(a<<8|a>>>8)<<16>>16}if(a){m:{if(!y){a=a<<16;c=a>>31;a=EC(F[l+40>>2],F[l+44>>2],a>>16,c)+32768|0;d=Ha;d=a>>>0<32768?d+1|0:d;a=(d&65535)<<16|a>>>16;if(G[h+4|0]){F[(g+m|0)+12>>2]=a;F[k+144>>2]=F[k+144>>2]|8;break m}d=m+p|0;c=a>>1;F[d>>2]=c+F[d>>2];d=g+m|0;a=a-c|0;F[d>>2]=a+F[d>>2];F[d+8>>2]=a+F[d+8>>2];break m}a=a<<16;d=a>>31;a=EC(F[l+48>>2],F[l+52>>2],a>>16,d)+32768|0;c=Ha;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(G[h+4|0]){F[(g+m|0)+8>>2]=a;F[k+144>>2]=F[k+144>>2]|8;break m}d=m+p|0;c=a>>1;F[d+4>>2]=c+F[d+4>>2];d=g+m|0;a=a-c|0;F[d+4>>2]=a+F[d+4>>2];F[d+12>>2]=a+F[d+12>>2]}Fc(k,f,v+1|0)}f=F[s>>2];break j}f=f+1|0}if(j>>>0>f>>>0){continue}break}}mb(k,l,106331,0)}Ga=o+160|0}}Ga=h+16|0;return w|0}function Hr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=F[a>>2]}F[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=F[a>>2]}F[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+436|0];break b;case 4:a=F[a+364>>2];if(!a){break e}b=hb(a)+1|0;if(!d|f>>>0>>0){break f}Ya(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+420>>2];break c;case 7:if(I[a+420>>2]<=c>>>0){break e}a=F[F[a+424>>2]+(c<<2)>>2];c=hb(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Ya(d,a,b)+c|0,h=0,D[g|0]=h;break f;case 8:if(I[a+420>>2]<=c>>>0){break e}e=F[F[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Ya(d,F[F[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,D[g|0]=h;break f;case 9:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+368>>2];break c;case 10:if(F[a+368>>2]!=1|I[a+372>>2]<=c>>>0){break e}c=F[F[a+388>>2]+(c<<2)>>2];a=hb(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Ya(d,c,a)+a|0,h=0,D[g|0]=h;break f;case 11:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+404>>2];break c;case 12:b=F[a+416>>2];n:{if(b){b=ac(c,b);if(!b){break e}c=F[b>>2];break n}if(I[a+404>>2]<=c>>>0){break e}}e=F[a+408>>2];if(!e){break e}a=F[F[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}g=Ya(d,F[e+(c<<2)>>2],a)+a|0,h=0,D[g|0]=h;break f;case 13:b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+176|0];break b;case 16:if(G[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+177|0];break b;case 19:if(G[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+178|0];break b;case 21:if(G[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+179|0];break b;case 23:if(G[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+292|0];break b;case 27:if(G[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+293|0];break b;case 29:if(G[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}D[d|0]=G[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}E[d>>1]=H[a+164>>1];break a;case 36:a=F[a+132>>2];if(!a){break e}b=hb(a)+1|0;if(!d|f>>>0>>0){break f}Ya(d,a,b);break f;case 37:a=F[a+136>>2];if(!a){break e}b=hb(a)+1|0;if(!d|f>>>0>>0){break f}Ya(d,a,b);break f;case 38:a=F[a+140>>2];if(!a){break e}b=hb(a)+1|0;if(!d|f>>>0>>0){break f}Ya(d,a,b);break f;case 39:a=F[a+144>>2];if(!a){break e}b=hb(a)+1|0;if(!d|f>>>0>>0){break f}Ya(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=F[a+148>>2];if(!a){break e}b=hb(a)+1|0;if(!d|f>>>0>>0){break f}Ya(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}F[d>>2]=F[a+152>>2]}return b|0}return 1}return 2}function kd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=Ga-16|0;Ga=n;e=F[a+40>>2];a:{if(F[a+20>>2]|!e){break a}F[a+40>>2]=F[e+32>>2];o=F[a+4>>2];F[e+32>>2]=0;F[e+4>>2]=o;h=F[e>>2];F[a+4>>2]=h;if((h|0)==(o|0)){break a}f=h;b:{if(b){f=0;m=a+56|0;d=0;c:{if(!F[m+32>>2]){break c}j=F[e+4>>2];l=F[e>>2];d:{if((j|0)==(l|0)){break d}d=j-l|0;i=d&3;if(j+(l^-1)>>>0>=3){d=d&-4;j=0;while(1){k=L(D[l+(c|3)|0],-1640531535)+L(L(D[l+(c|2)|0],-1640531535)+L(L(D[l+(c|1)|0],-1640531535)+L(L(D[c+l|0],-1640531535)+L(k,31)|0,31)|0,31)|0,31)|0;c=c+4|0;j=j+4|0;if((d|0)!=(j|0)){continue}break}}if(!i){break d}while(1){k=L(D[c+l|0],-1640531535)+L(k,31)|0;c=c+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}d=F[e+12>>2]<<4;e:{if(!d){c=0;break e}g=F[e+16>>2];c=0;while(1){c=L(D[g+(f|3)|0],-1640531535)+L(L(D[g+(f|2)|0],-1640531535)+L(L(D[g+(f|1)|0],-1640531535)+L(L(D[f+g|0],-1640531535)+L(c,31)|0,31)|0,31)|0,31)|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=di(m,e,c^k);c=0;d=F[m+32>>2]+L(d,12)|0;k=F[d>>2];f:{if(!k){break f}d=F[d+4>>2];if(!d){break f}j=F[k+4>>2];m=F[k>>2];g=j-m|0;i=F[e>>2];if((g|0)!=(F[e+4>>2]-i|0)){break f}f=F[k+12>>2];if((f|0)!=F[e+12>>2]){break f}if((j|0)!=(m|0)){if(hc(m,i,g)){break f}}i=f<<4;g:{if(!i){break g}j=F[k+16>>2];g=F[e+16>>2];if(G[j|0]!=G[g|0]){break f}f=0;while(1){f=f+1|0;if((i|0)==(f|0)){break g}if(G[f+j|0]==G[f+g|0]){continue}break}if(f>>>0>>0){break f}}c=d}d=c}if(d){break b}f=F[e>>2]}d=o-h|0;c=F[a+8>>2]-d|0;F[a+8>>2]=c;Cb(c,f,d);c=F[a+8>>2];F[e>>2]=c;F[e+4>>2]=c+d;h:{i:{j:{d=F[a+44>>2];if((d|0)>=0){c=F[a+48>>2];h=c+1|0;h=(h|0)>0?h:0;if(h>>>0<=d>>>0){break i}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(h>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=ob(F[a+52>>2],c<<2);if(d){break j}}F[a+44>>2]=-1}F[61608]=F[40908];break h}F[a+44>>2]=c;F[a+52>>2]=d;c=F[a+48>>2]}if(c>>>0>>0){Wa(F[a+52>>2]+(c<<2)|0,0,h-c<<2)}F[a+48>>2]=h;c=F[a+52>>2];F[61608]=F[40908];c=(c+(h<<2)|0)-4|0;if((c|0)==246432){break h}F[c>>2]=e}k:{c=F[a+20>>2];l:{if(!(c|F[a+44>>2]>=0)){F[a+20>>2]=1;break l}if(!c){break k}}F[e+12>>2]=0;Ta(F[e+16>>2]);F[e+24>>2]=0;F[e+16>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;Ta(F[e+28>>2]);F[e+28>>2]=0;F[e+20>>2]=0;F[e+24>>2]=0;d=0;break a}F[n+12>>2]=F[a+48>>2]-1;d=0;if(b){b=0;j=F[e+4>>2];i=F[e>>2];m:{if((j|0)==(i|0)){break m}h=j-i|0;g=h&3;f=0;c=0;if(j+(i^-1)>>>0>=3){h=h&-4;k=0;while(1){b=L(D[i+(c|3)|0],-1640531535)+L(L(D[i+(c|2)|0],-1640531535)+L(L(D[i+(c|1)|0],-1640531535)+L(L(D[c+i|0],-1640531535)+L(b,31)|0,31)|0,31)|0,31)|0;c=c+4|0;k=k+4|0;if((h|0)!=(k|0)){continue}break}}if(!g){break m}while(1){b=L(D[c+i|0],-1640531535)+L(b,31)|0;c=c+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}f=a+56|0;h=F[e+12>>2]<<4;n:{if(!h){c=0;break n}g=F[e+16>>2];c=0;while(1){c=L(D[g+(d|3)|0],-1640531535)+L(L(D[g+(d|2)|0],-1640531535)+L(L(D[g+(d|1)|0],-1640531535)+L(L(D[d+g|0],-1640531535)+L(c,31)|0,31)|0,31)|0,31)|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}Nf(f,e,b^c,n+12|0);d=F[a+20>>2]!=0}if(!(d|G[a+68|0])){F[a+20>>2]=1}d=F[n+12>>2];break a}o:{if(I[a+48>>2]<=d>>>0){F[61608]=F[40908];a=246432;break o}a=F[a+52>>2]+(d<<2)|0}p:{f=F[e+24>>2];if(!f){break p}i=F[e+28>>2];j=i+(f<<4)|0;g=F[a>>2];b=F[g+20>>2];if((b|0)<0){g=F[40910];h=F[40911];c=F[40908];b=F[40909];while(1){F[61610]=g;F[61611]=h;F[61608]=c;F[61609]=b;a=!!f;f=f-a|0;i=(a<<4)+i|0;if((j|0)!=(i|0)){continue}break}break p}while(1){q:{r:{s:{if((b|0)>=0){a=b;h=F[g+24>>2];c=h+1|0;c=(c|0)>0?c:0;if(a>>>0>=c>>>0){break r}while(1){a=((a>>>1|0)+a|0)+8|0;if(c>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>268435454)){b=ob(F[g+28>>2],a<<4);if(b){break s}}F[g+20>>2]=-1}a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;break q}F[g+20>>2]=a;F[g+28>>2]=b;h=F[g+24>>2]}if(c>>>0>h>>>0){Wa(F[g+28>>2]+(h<<4)|0,0,c-h<<4)}F[g+24>>2]=c;b=F[g+28>>2];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;c=(b+(c<<4)|0)-16|0;if((c|0)==246432){break q}b=f?i:163632;a=F[b+4>>2];F[c>>2]=F[b>>2];F[c+4>>2]=a;a=F[b+12>>2];F[c+8>>2]=F[b+8>>2];F[c+12>>2]=a}a=!!f;i=(a<<4)+i|0;if((j|0)==(i|0)){break p}f=f-a|0;b=F[g+20>>2];continue}}F[e+12>>2]=0;Ta(F[e+16>>2]);F[e+24>>2]=0;F[e+16>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;Ta(F[e+28>>2]);F[e+28>>2]=0;F[e+20>>2]=0;F[e+24>>2]=0}Ga=n+16|0;return d|0}function Pf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ga-48|0;Ga=c;F[a+44>>2]=0;F[a>>2]=0;F[a+4>>2]=0;D[c+24|0]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;D[c+40|0]=0;F[c+36>>2]=65536;F[c>>2]=0;F[c+4>>2]=0;F[c+28>>2]=0;F[c+32>>2]=0;e=F[b+32>>2];if((e|0)==-1){e=Zb(b)}D[c+40|0]=1;F[c+36>>2]=e;d=F[b+12>>2];a:{if(d){b=Ia[d|0](b,1668112752,F[b+16>>2])|0;if(b){break a}}b=163632}if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}e=b;F[c+32>>2]=b;b:{c:{d:{e:{f:{while(1){D[c+24|0]=f;g=F[e+12>>2];F[c+4>>2]=g;h=F[e+16>>2];F[c+8>>2]=h+g;F[c+28>>2]=0;if(h>>>0<=67108862){h=h<<6;h=h>>>0>16384?h:16384;d=h>>>0<1073741823?h:1073741823}else{d=1073741823}F[c+12>>2]=d;F[c+20>>2]=0;F[c>>2]=0;if(!g){Xa(e);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;break b}d=bi(g,c);h=F[c+28>>2];g:{if(d){if(!h){break g}F[c+28>>2]=0;h=bi(g,c);d=F[c+28>>2];Xa(F[c+32>>2]);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;if(!h){break c}if(!d){break f}break c}if(G[c+24|0]|!h){break e}d=Xb(b);F[c+4>>2]=d;F[c+8>>2]=d+F[b+16>>2];e=F[c+32>>2];f=1;if(d){continue}break d}break}Xa(F[c+32>>2]);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}break b}e=F[c+32>>2]}Xa(e);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0}Xa(b);b=163632}F[a+44>>2]=b;h=163632;b=b?b:163632;i=I[b+16>>2]<4?163632:F[b+12>>2];if(c){D[c|0]=0}j=163632;k=G[i+2|0]|G[i+3|0]<<8;h:{if(!k){break h}b=((k<<8|k>>>8)&65535)-1|0;while(1){i:{j:{f=b+l>>>1|0;g=i+(f<<3)|0;e=G[g+4|0]|G[g+5|0]<<8;d=(e<<8|e>>>8)&65535;k:{if(!(d>>>0>3|(e|0)!=768)){if(G[g+6|0]|G[g+7|0]<<8){break k}j=(i+(f<<3)|0)+4|0;break h}if(d>>>0<4){break j}}b=f-1|0;break i}l=f+1|0}if((b|0)>=(l|0)){continue}break}}b=G[j+4|0]|G[j+5|0]<<8|(G[j+6|0]<<16|G[j+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);l:{if(b){b=b+i|0;if(!c){break l}D[c|0]=1;break l}f=163632;m:{if(!k){break m}j=((k<<8|k>>>8)&65535)-1|0;l=0;while(1){n:{o:{p:{g=j+l>>>1|0;e=i+(g<<3)|0;d=G[e+4|0]|G[e+5|0]<<8;b=(d<<8|d>>>8)&65535;q:{if(!(b>>>0>3|(d|0)!=768)){b=G[e+6|0]|G[e+7|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>10){break q}if((b|0)==2560){break p}break o}if(b>>>0<4){break o}}j=g-1|0;break n}f=(i+(g<<3)|0)+4|0;break m}l=g+1|0}if((j|0)>=(l|0)){continue}break}}r:{b=G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(f){break r}f=163632;s:{if(!k){break s}b=((k<<8|k>>>8)&65535)-1|0;j=0;while(1){t:{u:{v:{e=b+j>>>1|0;d=i+(e<<3)|0;if(!(G[d+4|0]|G[d+5|0]<<8)){d=G[d+6|0]|G[d+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<7){break v}}b=e-1|0;break u}if((d|0)==1536){break t}j=e+1|0}if((b|0)>=(j|0)){continue}break s}break}f=(i+(e<<3)|0)+4|0}b=G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(f){break r}f=163632;w:{if(!k){break w}b=((k<<8|k>>>8)&65535)-1|0;j=0;while(1){x:{y:{z:{e=b+j>>>1|0;d=i+(e<<3)|0;if(!(G[d+4|0]|G[d+5|0]<<8)){d=G[d+6|0]|G[d+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<5){break z}}b=e-1|0;break y}if((d|0)==1024){break x}j=e+1|0}if((b|0)>=(j|0)){continue}break w}break}f=(i+(e<<3)|0)+4|0}b=G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(f){break r}b=ae(i,3,1);if(b){break l}b=ae(i,0,3);if(b){break l}b=ae(i,0,2);if(b){break l}b=ae(i,0,1);if(b){break l}b=ae(i,0,0);b=b?b:163632;break l}b=f+i|0}F[a+4>>2]=163632;d=b;F[a>>2]=b;b=F[a+44>>2];b=b?b:163632;l=I[b+16>>2]<4?163632:F[b+12>>2];b=G[l+2|0]|G[l+3|0]<<8;A:{if(!b){break A}b=((b<<8|b>>>8)&65535)-1|0;e=0;while(1){B:{C:{D:{f=b+e>>>1|0;g=l+(f<<3)|0;if(!(G[g+4|0]|G[g+5|0]<<8)){g=G[g+6|0]|G[g+7|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<6){break D}}b=f-1|0;break C}if((g|0)==1280){break B}e=f+1|0}if((b|0)>=(e|0)){continue}break A}break}h=(l+(f<<3)|0)+4|0}b=G[h+4|0]|G[h+5|0]<<8|(G[h+6|0]<<16|G[h+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);E:{if(!b){break E}b=b+l|0;if((G[b|0]|G[b+1|0]<<8)!=3584){break E}F[a+4>>2]=b}g=d?d:163632;F[a+12>>2]=g;F:{if(G[c|0]){e=600;break F}e=601;G:{H:{b=G[g|0]|G[g+1|0]<<8;switch(((b<<8|b>>>8)&65535)-4|0){case 0:break G;case 8:break H;default:break F}}e=602;break F}b=G[g+6|0]|G[g+7|0]<<8;F[a+16>>2]=g+14;d=((b<<8|b>>>8)&65534)>>>1|0;F[a+36>>2]=d;h=d<<1;b=(h+g|0)+16|0;F[a+20>>2]=b;b=b+h|0;F[a+24>>2]=b;b=b+h|0;F[a+28>>2]=b;F[a+32>>2]=b+h;b=G[g+2|0]|G[g+3|0]<<8;F[a+12>>2]=a+16;F[a+40>>2]=(((b<<8|b>>>8)&65535)-(d<<3)|0)-16>>>1;e=603}F[a+8>>2]=e;Ga=c+48|0}function _t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Ga-16|0;Ga=k;j=F[a+16>>2];d=G[j+6|0]|G[j+7|0]<<8|(G[j+8|0]<<16|G[j+9|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!d){c=0;break a}i=j+13|0;b:{while(1){e=d+g>>>1|0;f=i+L(e,11)|0;h=f-3|0;h=G[h+1|0]<<8|G[h|0]<<16|G[h+2|0];c:{if(h>>>0>c>>>0){d=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(d>>>0>g>>>0){continue}break}c=0;break a}c=0;d=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!(d|e)){break a}d:{if(!d){c=F[a+28>>2];d=e+j|0;e=G[d+3|0];f=G[d+2|0];g=G[d+1|0];h=G[d|0];F[k+4>>2]=0;f=e|(g<<16|h<<24|f<<8);g=f+1|0;e:{if(g>>>0<=c>>>0){c=F[a+32>>2];break e}F[a+36>>2]=b;c=Va(b,4,c,g,F[a+32>>2],k+4|0);F[a+32>>2]=c;if(F[k+4>>2]){break d}F[a+28>>2]=g}f:{if(!f){break f}a=e&1;e=d+4|0;d=0;if((f|0)!=1){b=f-a|0;g=0;while(1){h=d<<2;F[h+c>>2]=G[e+2|0]|(G[e+1|0]<<8|G[e|0]<<16);F[(h|4)+c>>2]=G[e+7|0]|(G[e+6|0]<<8|G[e+5|0]<<16);d=d+2|0;e=e+10|0;g=g+2|0;if((b|0)!=(g|0)){continue}break}}if(!a){break f}F[(d<<2)+c>>2]=G[e+2|0]|(G[e+1|0]<<8|G[e|0]<<16)}F[(f<<2)+c>>2]=0;break a}if(!e){c=Xj(a,d+j|0,b);break a}c=e+j|0;q=G[c+3|0];h=q|(G[c+1|0]<<16|G[c|0]<<24|G[c+2|0]<<8);f=c+4|0;i=d+j|0;c=G[i+3|0];g:{h:{n=c|(G[i+1|0]<<16|G[i|0]<<24|G[i+2|0]<<8);i:{if(n){l=c&3;e=i+7|0;c=0;j:{if(n-1>>>0<3){g=0;d=e;break j}m=n-l|0;g=0;j=0;while(1){g=(G[e+12|0]+(G[e+8|0]+(G[e+4|0]+(G[e|0]+g|0)|0)|0)|0)+4|0;d=e+16|0;e=d;j=j+4|0;if((m|0)!=(j|0)){continue}break}}if(l){while(1){g=(G[d|0]+g|0)+1|0;d=d+4|0;c=c+1|0;if((l|0)!=(c|0)){continue}break}}if(!h){break i}if(g){break h}break g}if(h){break g}}c=Xj(a,i,b);break a}c=F[a+28>>2];F[k+12>>2]=0;d=(g+h|0)+1|0;k:{if(d>>>0<=c>>>0){c=F[a+32>>2];break k}F[a+36>>2]=b;c=Va(b,4,c,d,F[a+32>>2],k+12|0);F[a+32>>2]=c;if(F[k+12>>2]){break d}F[a+28>>2]=d}o=G[f+2|0]|(G[f+1|0]<<8|G[f|0]<<16);a=i+4|0;g=G[a+1|0]<<8|G[a|0]<<16|G[a+2|0];f=f+5|0;b=a+4|0;l=G[a+3|0];d=0;m=1;i=1;while(1){l:{if(g+l>>>0>>0){a=l+1|0;r=a&3;j=0;m:{if(l>>>0<3){e=0;break m}s=a&-4;e=0;a=0;while(1){p=(d<<2)+c|0;F[p>>2]=e+g;F[p+12>>2]=(e|3)+g;F[p+8>>2]=(e|2)+g;F[p+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;a=a+4|0;if((s|0)!=(a|0)){continue}break}}if(r){while(1){F[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}}m=m+1|0;if(n>>>0>>0){break l}g=G[b+2|0]|(G[b+1|0]<<8|G[b|0]<<16);l=G[b+3|0];b=b+4|0;continue}if(g>>>0>o>>>0){F[(d<<2)+c>>2]=o;d=d+1|0}i=i+1|0;if(h>>>0>>0){break l}o=G[f+2|0]|(G[f+1|0]<<8|G[f|0]<<16);f=f+5|0;continue}break}n:{if(h>>>0>=i>>>0){F[(d<<2)+c>>2]=o;a=d+1|0;if(h>>>0<=i>>>0){d=a;break n}b=i+1|0;if(q-i&1){F[(a<<2)+c>>2]=G[f+2|0]|(G[f+1|0]<<8|G[f|0]<<16);i=i+1|0;f=f+5|0;a=d+2|0}d=a;if((b|0)==(h|0)){break n}while(1){a=(d<<2)+c|0;F[a>>2]=G[f+2|0]|(G[f+1|0]<<8|G[f|0]<<16);F[a+4>>2]=G[f+7|0]|(G[f+6|0]<<8|G[f+5|0]<<16);d=d+2|0;f=f+10|0;i=i+2|0;if((h|0)!=(i|0)){continue}break}break n}if(m>>>0>n>>>0){break n}a=l+1|0;h=a&3;j=0;o:{if(l>>>0<3){e=0;break o}i=a&-4;e=0;a=0;while(1){f=(d<<2)+c|0;F[f>>2]=e+g;F[f+12>>2]=(e|3)+g;F[f+8>>2]=(e|2)+g;F[f+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(h){while(1){F[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(m>>>0>=n>>>0){break n}while(1){f=G[b+2|0]|(G[b+1|0]<<8|G[b|0]<<16);a=G[b+3|0];e=a+1|0;h=e&3;j=0;p:{if(a>>>0<3){e=0;break p}i=e&508;e=0;a=0;while(1){g=(d<<2)+c|0;F[g>>2]=e+f;F[g+12>>2]=f+(e|3);F[g+8>>2]=f+(e|2);F[g+4>>2]=f+(e|1);e=e+4|0;d=d+4|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(h){while(1){F[(d<<2)+c>>2]=e+f;e=e+1|0;d=d+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}b=b+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}F[(d<<2)+c>>2]=0;break a}c=F[a+28>>2];F[k+8>>2]=0;d=h+1|0;q:{if(d>>>0<=c>>>0){c=F[a+32>>2];break q}F[a+36>>2]=b;c=Va(b,4,c,d,F[a+32>>2],k+8|0);F[a+32>>2]=c;if(F[k+8>>2]){break d}F[a+28>>2]=d}a=q&1;e=0;if((h|0)!=1){b=h-a|0;d=0;while(1){g=e<<2;F[g+c>>2]=G[f+2|0]|(G[f+1|0]<<8|G[f|0]<<16);F[(g|4)+c>>2]=G[f+7|0]|(G[f+6|0]<<8|G[f+5|0]<<16);e=e+2|0;f=f+10|0;d=d+2|0;if((b|0)!=(d|0)){continue}break}}if(a){F[(e<<2)+c>>2]=G[f+2|0]|(G[f+1|0]<<8|G[f|0]<<16)}F[(h<<2)+c>>2]=0;break a}c=0}Ga=k+16|0;return c|0}function zm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,I=0;k=Ga-32|0;Ga=k;if(!(e-d>>>0<2|d>>>0>=e>>>0)){E=F[c+80>>2];while(1){p=L(d,20);a:{if(1<>1]&7168){t=d;break a}i=d+1|0;g=e>>>0>i>>>0?e:i;h=g-1|0;m=d;while(1){b:{t=m;m=m+1|0;if(m>>>0>=e>>>0){t=h;m=g;break b}if(1<>1]&7168){continue}}break}h=F[c+68>>2];u=h>>>0>>0?h:m;r=u-d|0;c:{if(r>>>0<=1){q=F[c+80>>2];break c}o=F[c+144>>2]|32;F[c+144>>2]=o;q=F[c+80>>2];if(d>>>0>=u>>>0){break c}l=-1;h=d;y=u+(d^-1)|0;if(y>>>0>=3){C=r&-4;x=0;while(1){v=L(h,20)+q|0;g=F[v+8>>2];j=g>>>0>l>>>0?l:g;g=F[v+28>>2];j=g>>>0>j>>>0?j:g;g=F[v+48>>2];j=g>>>0>j>>>0?j:g;g=F[v+68>>2];l=g>>>0>j>>>0?j:g;h=h+4|0;x=x+4|0;if((C|0)!=(x|0)){continue}break}}s=0;j=r&3;if(j){while(1){g=F[(L(h,20)+q|0)+8>>2];l=g>>>0>l>>>0?l:g;h=h+1|0;s=s+1|0;if((j|0)!=(s|0)){continue}break}}h=d;if(r&1){h=q+p|0;if(F[h+8>>2]!=(l|0)){F[c+144>>2]=o;F[h+4>>2]=F[h+4>>2]|3}h=d+1|0}if(!y){break c}while(1){g=L(h,20)+q|0;if(F[g+8>>2]!=(l|0)){o=o|32;F[c+144>>2]=o;F[g+4>>2]=F[g+4>>2]|3}g=L(h+1|0,20)+q|0;if(F[g+8>>2]!=(l|0)){o=o|32;F[c+144>>2]=o;F[g+4>>2]=F[g+4>>2]|3}h=h+2|0;if((u|0)!=(h|0)){continue}break}}h=F[q+p>>2];F[k+8>>2]=0;F[k+12>>2]=0;F[k>>2]=0;F[k+4>>2]=0;g=h;h=F[b+80>>2];if(!(Ia[F[h+208>>2]](b,F[b+84>>2],g,k,F[h- -64>>2])|0)){if(i>>>0>=m>>>0){break a}m=F[c+80>>2];if(!f){if(t-d&1){h=L(i,20);if((H[(h+m|0)+16>>1]&31)==12){h=h+F[c+88>>2]|0;F[h>>2]=0;F[h+4>>2]=0}i=d+2|0}if((d+1|0)==(t|0)){break a}while(1){d=L(i,20);if((H[(d+m|0)+16>>1]&31)==12){d=d+F[c+88>>2]|0;F[d>>2]=0;F[d+4>>2]=0}h=i+1|0;d=L(h,20);if((H[(d+m|0)+16>>1]&31)==12){d=d+F[c+88>>2]|0;F[d>>2]=0;F[d+4>>2]=0}i=i+2|0;if((h|0)!=(t|0)){continue}break}break a}while(1){d=L(i,20);if((H[(d+m|0)+16>>1]&31)==12){g=d+F[c+88>>2]|0;h=F[g+4>>2];F[g+4>>2]=0;d=F[g>>2];F[g>>2]=0;F[g+8>>2]=F[g+8>>2]-d;F[g+12>>2]=F[g+12>>2]-h}d=(i|0)==(t|0);i=i+1|0;if(!d){continue}break}break a}d=F[(p+F[c+88>>2]|0)+12>>2];q=0;F[k>>2]=0;F[k+4>>2]=d+F[k+4>>2];d=F[b+80>>2];g=Ia[F[d+176>>2]](b,F[b+84>>2],F[p+F[c+80>>2]>>2],F[d+32>>2])|0;F[k+8>>2]=g;s=0;if((F[c+40>>2]&-3)==4){d=p+F[c+88>>2]|0;q=0-F[d+4>>2]|0;s=0-F[d>>2]|0}if(i>>>0>=m>>>0){break a}I=F[c+80>>2];d=p+I|0;D=G[d+14|0];w=G[d+12|0]&4?D&16?D&15:1:1;r=-1;u=255;z=0;x=F[k>>2];p=x;v=F[k+4>>2];m=v;h=g;y=F[k+12>>2];d=y;while(1){C=i;A=L(i,20);i=I+A|0;l=H[i+16>>1];o=1<>>0<256)){e:{if(w>>>0<2){break e}n=G[i+14|0];j=n&16?0:n&15;n=D>>>0<32?w:(n^D)>>>0>31?w:j>>>0>w>>>0?w:j;j=n-1|0;if((j|0)==(r|0)){break e}y=F[k+12>>2];r=F[k+8>>2];v=F[k+4>>2];g=F[k>>2];f:{if(z){break f}z=F[a>>2];if((z&-2)==4){break f}z=Qf(F[a+4>>2]);l=H[i+16>>1];o=1<>>8|0:0;if((j|0)!=(u|0)){h=g;m=v;p=x;u=j;d=y}i=F[F[c+80>>2]+A>>2];F[k+24>>2]=0;F[k+28>>2]=0;F[k+16>>2]=0;F[k+20>>2]=0;l=i;i=F[b+80>>2];g:{if(!(Ia[F[i+208>>2]](b,F[b+84>>2],l,k+16|0,F[i- -64>>2])|0)){o=F[c+88>>2];break g}l=F[b+24>>2];o=F[c+88>>2];i=A+o|0;F[i+12>>2]=0;n=(l|0)/16|0;h:{i:{j:{k:{l:{j=j-200|0;switch(j|0){case 16:case 22:case 32:break i;case 0:case 18:case 28:break j;case 33:case 34:break l;default:break k}}m:{switch(F[c+40>>2]-4|0){case 0:B=((h+p|0)+(F[k+24>>2]/-2|0)|0)-F[k+16>>2]|0;break h;case 1:break m;default:break k}}B=((F[k+24>>2]/-2|0)+p|0)-F[k+16>>2]|0;break h}B=(p-F[k+16>>2]|0)+((h-F[k+24>>2]|0)/2|0)|0;break h}B=p-F[k+16>>2]|0;break h}B=h+p-(F[k+24>>2]+F[k+16>>2])|0}F[i+8>>2]=B;n:{switch(j|0){case 18:case 20:case 22:case 33:d=d-n|0;case 0:case 2:n=(d+m|0)-F[k+20>>2]|0;j=(l|0)<16^(n|0)>0;F[i+12>>2]=j?0:n;d=(F[k+28>>2]+d|0)-(j?n:0)|0;break g;case 28:case 30:case 32:case 34:d=d-n|0;m=m+n|0;break;case 14:case 16:break n;default:break g}}j=(l|0)<16;n=F[k+28>>2];l=m-(n+F[k+20>>2]|0)|0;if(!(j^(l|0)>0)){j=(l|0)/-2|0;l=j+l|0;m=j+m|0;d=d-j|0}F[i+12>>2]=l;d=d+n|0;m=m-n|0}i=o+A|0;F[i>>2]=0;F[i+4>>2]=0;F[i+8>>2]=F[i+8>>2]+s;F[i+12>>2]=F[i+12>>2]+q;break d}j=F[c+88>>2]+A|0;i=F[j>>2];if((F[c+40>>2]&-3)==4){s=s-i|0;q=q-F[j+4>>2]|0;break d}s=i+s|0;q=F[j+4>>2]+q|0}i=C+1|0;if((t|0)!=(C|0)){continue}break}}d=t+1|0;if(e>>>0>d>>>0){continue}break}}Ga=k+32|0}function lo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=Ga-16|0;Ga=s;e=L(b,1348)+a|0;l=e;h=F[e+52>>2];a:{b:{if(h){e=F[e+44>>2];d=xd(a,b);if(d){break a}if((e|0)<=0){break b}e=L(e,44)+h|0;while(1){d=F[h+36>>2];c=H[d>>1];f=G[h|0];D[h|0]=f&254;i=F[h+40>>2];c:{if((i|0)==(d|0)){break c}c=c&3;while(1){g=c;d=F[d+32>>2];c=H[d>>1]&3;if(!((g|c)&65535)){break c}if((d|0)!=(i|0)){continue}break}D[h|0]=f|1}h=h+44|0;if(e>>>0>h>>>0){continue}break}break b}d=xd(a,b);if(d){break a}}n=F[F[a+2748>>2]+40>>2]/256|0;p=L(b,1348)+a|0;q=p+44|0;c=F[q>>2];e=F[l+52>>2];j=F[p+68>>2];t=(b?12:4)+a|0;h=_a(192,F[t>>2]);if((c|0)>0){k=L(c,44)+e|0;c=e;while(1){d=e;if((j|0)==D[c+1|0]){while(1){d:{if((c|0)==(d|0)|(j|0)!=(0-D[d+1|0]|0)){break d}i=E[d+2>>1]-E[c+2>>1]|0;if((i|0)<0){break d}f=E[c+8>>1];g=E[d+8>>1];r=(f|0)<(g|0)?f:g;f=E[c+6>>1];g=E[d+6>>1];f=r-((f|0)>(g|0)?f:g)|0;if((f|0)<(n|0)){break d}g=i<<3;m=F[c+28>>2];if(!((g|0)>=(L(m,9)|0)|(f|0)<=F[c+32>>2]&(g|0)>=(L(m,7)|0))){F[c+32>>2]=f;F[c+28>>2]=i;F[c+20>>2]=d}m=F[d+28>>2];if((g|0)>=(L(m,9)|0)|(f|0)<=F[d+32>>2]&(g|0)>=(L(m,7)|0)){break d}F[d+32>>2]=f;F[d+28>>2]=i;F[d+20>>2]=c}d=d+44|0;if(k>>>0>d>>>0){continue}break}}c=c+44|0;if(k>>>0>c>>>0){continue}break}c=e;while(1){f=F[c+20>>2];e:{if(!f|F[f+20>>2]!=(c|0)){break e}n=E[f+2>>1];m=E[c+2>>1];if((n|0)<=(m|0)){break e}o=F[c+28>>2];if((o|0)>=(h|0)){break e}v=o<<2;d=e;while(1){f:{i=E[d+2>>1];g:{if((c|0)==(d|0)|(i|0)>(m|0)){break g}j=F[d+20>>2];if(!j|F[j+20>>2]!=(d|0)){break g}g=E[j+2>>1];if((g|0)<(n|0)|(i|0)==(m|0)&(g|0)==(n|0)){break g}i=F[d+28>>2];if((i|0)<=(o|0)|(i|0)>=(v|0)){break g}g=e;if(F[c+32>>2]<(L(F[d+32>>2],3)|0)){break f}while(1){i=f;u=F[g+20>>2];h:{if((u|0)!=(d|0)){i=c;if((j|0)!=(u|0)){break h}}F[g+24>>2]=i;F[g+20>>2]=0}g=g+44|0;if(k>>>0>g>>>0){continue}break}}d=d+44|0;if(k>>>0>d>>>0){continue}break e}break}F[f+20>>2]=0;F[c+20>>2]=0}c=c+44|0;if(k>>>0>c>>>0){continue}break}while(1){c=F[e+20>>2];i:{if(!c|F[c+20>>2]==(e|0)){break i}F[e+20>>2]=0;d=F[c+28>>2];if((d|0)>=(h|0)&F[e+28>>2]>=d<<2){break i}F[e+24>>2]=F[c+20>>2]}e=e+44|0;if(k>>>0>e>>>0){continue}break}}v=F[a>>2];f=F[l+52>>2];c=F[a+2748>>2];F[p+56>>2]=0;e=F[q>>2];c=c+L(b,7676)|0;n=F[t>>2];j:{if((Ua(F[c+248>>2],n)|0)>=17){g=_a(16,n);break j}g=F[c+248>>2]}if((e|0)>0){t=L(e,44)+f|0;u=(L(b,1348)+a|0)- -64|0;while(1){k:{l:{w=F[p+56>>2];m:{if((w|0)<=0){l=G[f+1|0];break m}l=G[f+1|0];m=F[u>>2];e=0;i=65535;h=0;while(1){d=L(h,44);k=d+m|0;n:{if(G[k+13|0]!=(l|0)){break n}j=E[f+2>>1]-E[k>>1]|0;c=j>>31;j=(c^j)-c|0;if((j|0)>=(g|0)|(i|0)<=(j|0)){break n}x=F[f+20>>2];if(x){c=0;r=F[(d+m|0)+36>>2];d=r;while(1){o:{o=F[d+20>>2];if(o){c=E[x+2>>1];o=E[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((g|0)<=(c|0)){break o}}d=F[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break n}}i=j;e=k}h=h+1|0;if((w|0)!=(h|0)){continue}break}if(e){break l}}d=Ck(q,E[f+2>>1],l<<24>>24,0,v,s+12|0);if(d){break a}e=F[s+12>>2];F[e+40>>2]=f;F[e+36>>2]=f;F[e>>2]=0;F[e+4>>2]=0;F[e+32>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;D[e+13|0]=G[f+1|0];c=E[f+2>>1];E[e>>1]=c;c=Ua(c,n);F[e+8>>2]=c;F[e+4>>2]=c;F[f+16>>2]=f;break k}F[f+16>>2]=F[e+36>>2];F[F[e+40>>2]+16>>2]=f;F[e+40>>2]=f}f=f+44|0;if(t>>>0>f>>>0){continue}break}}c=F[p+56>>2];if((c|0)>0){e=F[(L(b,1348)+a|0)- -64>>2];p=e+L(c,44)|0;c=e;while(1){a=F[c+36>>2];d=a;if(d){while(1){F[d+12>>2]=c;d=F[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(p>>>0>c>>>0){continue}break}while(1){h=0;g=0;k=F[e+36>>2];if(k){j=e+28|0;a=e+24|0;d=k;while(1){q=D[d|0]&1;n=!q;c=F[d+24>>2];p:{q:{if(c){b=F[d+20>>2];f=F[c+12>>2];if(!b&(f|0)==(e|0)){break p}if((e|0)==(f|0)){i=0;f=a;break q}i=1;f=j;b=c;break q}i=0;f=a;b=F[d+20>>2];if(!b){break p}}c=F[f>>2];r:{if(c){l=E[e>>1]-E[c>>1]|0;f=l>>31;r=(f^l)-f|0;f=E[d+2>>1];l=E[b+2>>1];if((r|0)<=(((f|0)>(l|0)?f-l|0:l-f|0)|0)){break r}}c=F[b+12>>2]}if(i){F[j>>2]=c;D[c+12|0]=G[c+12|0]|2;break p}F[a>>2]=c}h=h+q|0;g=g+n|0;d=F[d+16>>2];if((k|0)!=(d|0)){continue}break}}D[e+12|0]=(g|0)<=(h|0)&(h|0)>0;if(!(!F[e+28>>2]|!F[e+24>>2])){F[e+28>>2]=0}e=e+44|0;if(p>>>0>e>>>0){continue}break}}d=0}Ga=s+16|0;return d}function Fn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=Ga-16|0;Ga=n;g=F[b+4>>2];a:{if(g>>>0>a>>>0){break a}k=F[b+8>>2];if(k>>>0>>0|k-a>>>0<4){break a}j=F[b+12>>2];d=j-4|0;F[b+12>>2]=d;if((d|0)<=0){break a}f=D[a|0];d=G[a+3|0]|(G[a+1|0]<<16|f<<24|G[a+2|0]<<8);f=(d|0)!=0&(f|0)<0;o=!f;if(!d|f){break a}d=c+d|0;b:{if(d>>>0>>0|d>>>0>k>>>0|k-d>>>0<=3){break b}c=j-8|0;F[b+12>>2]=c;if((G[d|0]|G[d+1|0]<<8)!=256|(c|0)<=0){break b}F[n+12>>2]=d;o=1;c=0;j=d+4|0;i=F[b+4>>2];c:{d:{if(j>>>0>>0){break d}k=F[b+8>>2];if(k>>>0>>0|k-j>>>0<4){break d}g=F[b+12>>2]-4|0;F[b+12>>2]=g;if((g|0)<=0){break d}d=G[j|0]|G[j+1|0]<<8|(G[j+2|0]<<16|G[j+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>536870910){break d}e=1;if(!f){break c}d=j+4|0;if(d>>>0>>0|d>>>0>k>>>0){break d}e=k-d|0;d=f<<3;if(e>>>0>>0){break d}d=g-d|0;F[b+12>>2]=d;if((d|0)<=0){break d}c=1;d=G[j|0]|G[j+1|0]<<8|(G[j+2|0]<<16|G[j+3|0]<<24);s=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!s){break d}while(1){p=F[n+12>>2];c=0;k=0;g=(j+(r<<3)|0)+4|0;i=F[b+4>>2];e:{if(g>>>0>>0){break e}d=F[b+8>>2];if(d>>>0>>0|d-g>>>0<4){break e}e=F[b+12>>2];f=e-4|0;F[b+12>>2]=f;if((f|0)<=0){break e}c=D[g|0];f=G[g+3|0]|(G[g+1|0]<<16|c<<24|G[g+2|0]<<8);h=(f|0)!=0&(c|0)<0;c=!h;if(!f|h){break e}f:{f=f+p|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break f}e=e-6|0;F[b+12>>2]=e;c=1;if((e|0)<=0){break f}h=G[f|0]|G[f+1|0]<<8;if(!h){break e}c=f+2|0;if(c>>>0>>0|c>>>0>d>>>0){break f}l=d-c|0;c=(h<<8|h>>>8)&65535;d=c<<2;if(l>>>0>>0){break f}d=e-d|0;F[b+12>>2]=d;if((d|0)<=0){break f}q=c>>>0>1?c:1;d=0;while(1){i=0;c=(f+(d<<2)|0)+2|0;l=F[b+4>>2];g:{if(c>>>0>>0){break g}h=F[b+8>>2];if(h>>>0>>0|h-c>>>0<4){break g}m=F[b+12>>2];e=m-4|0;F[b+12>>2]=e;if((e|0)<=0){break g}i=D[c|0];e=G[c+3|0]|(G[c+1|0]<<16|i<<24|G[c+2|0]<<8);t=(e|0)!=0&(i|0)<0;i=!t;if(!e|t){break g}e=f+e|0;h:{if(e>>>0>>0|e>>>0>h>>>0){break h}h=h-e|0;if(h>>>0<2){break h}l=m-6|0;F[b+12>>2]=l;i=1;if((l|0)<=0){break h}if((G[e|0]|G[e+1|0]<<8)!=256){break g}if(h>>>0<8){break h}e=m-14|0;F[b+12>>2]=e;if((e|0)>0){break g}}i=0;e=F[b+28>>2];if(e>>>0>31){break g}F[b+28>>2]=e+1;if(!G[b+24|0]){break g}D[c|0]=0;D[c+1|0]=0;D[c+2|0]=0;D[c+3|0]=0;i=1}if(!i){break f}c=1;d=d+1|0;if((q|0)!=(d|0)){continue}break}break e}c=0;d=F[b+28>>2];if(d>>>0>31){break e}F[b+28>>2]=d+1;if(!G[b+24|0]){break e}D[g|0]=0;D[g+1|0]=0;D[g+2|0]=0;D[g+3|0]=0;c=1}i:{if(!c){break i}i=g+4|0;if(i>>>0>2]){break i}c=F[b+8>>2];if(c>>>0>>0|c-i>>>0<4){break i}c=F[b+12>>2]-4|0;F[b+12>>2]=c;if((c|0)<=0){break i}d=D[g+4|0];c=G[g+7|0]|(G[g+5|0]<<16|d<<24|G[g+6|0]<<8);d=(c|0)!=0&(d|0)<0;k=!d;if(d|!c){break i}k=1;j:{k:{f=F[b+4>>2];g=c+p|0;if(f>>>0>g>>>0){break k}c=F[b+8>>2];if(c>>>0>>0|c-g>>>0<4){break k}e=F[b+12>>2];d=e-4|0;F[b+12>>2]=d;if((G[g|0]|G[g+1|0]<<8)!=256|(d|0)<=0){break k}d=g+4|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<2){break k}e=e-6|0;F[b+12>>2]=e;d=1;if((e|0)<=0){break k}h=G[g+4|0]|G[g+5|0]<<8;l:{if(!h){break l}d=g+6|0;if(d>>>0>>0|c>>>0>>0){break k}l=c-d|0;c=(h<<8|h>>>8)&65535;d=L(c,6);if(l>>>0>>0){break k}f=e-d|0;F[b+12>>2]=f;d=0;if((f|0)<=0){break l}p=c>>>0>1?c:1;c=0;while(1){d=0;f=(g+L(c,6)|0)+6|0;e=F[b+4>>2];m:{if(f>>>0>>0){break m}h=F[b+8>>2];if(h>>>0>>0|h-f>>>0<6){break m}m=F[b+12>>2];q=m-6|0;F[b+12>>2]=q;if((q|0)<=0){break m}l=e;e=f+2|0;if(l>>>0>e>>>0|e>>>0>h>>>0|h-e>>>0<4){break m}h=m-10|0;F[b+12>>2]=h;if((h|0)<=0){break m}d=D[f+2|0];f=G[f+5|0]|(G[f+3|0]<<16|d<<24|G[f+4|0]<<8);h=(f|0)!=0&(d|0)<0;d=!h;if(h|!f){break m}d=1;if(En(f+g|0,b,0)){break m}d=0;f=F[b+28>>2];if(f>>>0>31){break m}F[b+28>>2]=f+1;if(!G[b+24|0]){break m}D[e|0]=0;D[e+1|0]=0;D[e+2|0]=0;D[e+3|0]=0;d=1}if(!d){break l}c=c+1|0;if((p|0)!=(c|0)){continue}break}}break j}d=0}if(d){break i}k=0;c=F[b+28>>2];if(c>>>0>31){break i}F[b+28>>2]=c+1;if(!G[b+24|0]){break i}D[i|0]=0;D[i+1|0]=0;D[i+2|0]=0;D[i+3|0]=0;k=1}c=k;if(!c){break d}r=r+1|0;if((s|0)!=(r|0)){continue}break}}e=c}if(e){break a}}o=0;c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;o=1}Ga=n+16|0;return o}function Pi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=1;a:{b:{switch(G[a+7|0]){case 0:a=a+12|0;d=F[b+4>>2];c:{d:{if(a>>>0>>0){break d}g=b;b=F[b+8>>2];if(b>>>0>>0|b-a>>>0<16){break d}e=F[g+12>>2];c=e-16|0;F[g+12>>2]=c;if((c|0)<=0){break d}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break d}c=a+4|0;if(c>>>0>>0|b>>>0>>0|b-c>>>0<4){break d}b=e-20|0;F[g+12>>2]=b;if((b|0)<=0){break d}b=D[c|0];if((b|0)<0){break d}i=0;if(!yc(a+(G[a+7|0]|(G[a+5|0]<<16|(b&255)<<24|G[a+6|0]<<8))|0,g)){break c}b=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(h>>>0>2147483646){break d}b=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);l=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);k=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;m=h<<1;c=0;a=0;while(1){b=a;e:{f:{g:{h:{if((c|0)<=(j|0)){d=j+1|0;i=0;if(!(!h|d>>>0<4294967295/(m>>>0)>>>0)){break c}a=L(d,m);i:{if(!a){e=F[g+12>>2];break i}if(k>>>0>2]){break d}e=F[g+8>>2];if(e>>>0>>0|a>>>0>e-k>>>0){break d}e=F[g+12>>2]-a|0;F[g+12>>2]=e;if((e|0)<=0){break d}}a=((j^-1)+c|0)+e|0;F[g+12>>2]=a;if((a|0)<=0|(d>>>0>=4294967295/(h>>>0)>>>0?h:0)){break d}a=L(d,h);if((a|0)<0){break d}c=L(c,h);if((c|0)<(a|0)){break h}c=d}if(!b){break f}a=b;break g}f=k+(a<<1)|0;e=k+(c<<1)|0;a=b;while(1){c=G[e|0]|G[e+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;a=a>>>0>c>>>0?a:c;e=e+2|0;if(f>>>0>e>>>0){continue}break}c=d}f=0;if(l>>>0>2]){break d}d=F[g+8>>2];if(d>>>0>>0){break d}e=d-l|0;d=a<<2;if(e>>>0>>0){break d}e=F[g+12>>2]-d|0;F[g+12>>2]=e;if((e|0)<=0){break d}break e}e=F[g+12>>2];a=b}e=(b-a|0)+e|0;F[g+12>>2]=e;i=0;if((e|0)<=0){break c}if((a|0)>(b|0)){d=l+(a<<2)|0;e=l+(b<<2)|0;while(1){b=G[e|0]|G[e+1|0]<<8;b=(b<<8|b>>>8)&65535;j=(b|0)<(j|0)?j:b;e=e+4|0;if(d>>>0>e>>>0){continue}break}}if((c|0)<=(j|0)){continue}break}f=1}i=f}return i|0;case 1:c=0;g=Ga-16|0;Ga=g;F[g+8>>2]=0;a=a+12|0;j:{if(!Oi(a,b,g+8|0)){break j}j=F[g+8>>2];if(j){c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);l=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=0;while(1){f=l+(d<<3)|0;h=G[f+4|0]|G[f+5|0]<<8;k=((h<<8|h>>>8)&65535)+1|0;c=(h|0)==65535?c:c>>>0>k>>>0?c:k;f=G[f+6|0]|G[f+7|0]<<8;h=((f<<8|f>>>8)&65535)+1|0;c=(f|0)==65535?c:c>>>0>h>>>0?c:h;d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=a+16|0;if(d>>>0>2]){break j}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break j}f=F[b+12>>2]-4|0;F[b+12>>2]=f;if((f|0)<=0){break j}d=D[d|0];if((d|0)<0){break j}f=a+(G[a+19|0]|(G[a+17|0]<<16|(d&255)<<24|G[a+18|0]<<8))|0;F[g+12>>2]=f;d=0;k:{l:{if(c>>>0>1073741822){break l}a=1;if(!c){break k}if(f>>>0>2]){break l}a=F[b+8>>2];if(a>>>0>>0){break l}i=a-f|0;a=c<<2;if(i>>>0>>0){break l}a=F[b+12>>2]-a|0;F[b+12>>2]=a;if((a|0)<=0){break l}while(1){m:{a=f+(e<<2)|0;if(a>>>0>2]){break m}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break m}d=F[g+12>>2];h=F[b+12>>2]-4|0;F[b+12>>2]=h;if((h|0)<=0){break m}h=D[a|0];if((h|0)<0){break m}if(!yc(d+(G[a+3|0]|(G[a+1|0]<<16|(h&255)<<24|G[a+2|0]<<8))|0,b)){break m}d=1;e=e+1|0;if((e|0)!=(c|0)){continue}break l}break}d=0}a=d}e=a}Ga=g+16|0;return e|0;case 2:c=0;a=a+12|0;n:{if(a>>>0>2]){break n}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<28){break n}d=F[b+12>>2]-28|0;F[b+12>>2]=d;if((d|0)<=0){break n}if(!Ni(a,b)){break n}b=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break n}b=G[a+20|0]|G[a+21|0]<<8|(G[a+22|0]<<16|G[a+23|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break n}a=G[a+24|0]|G[a+25|0]<<8|(G[a+26|0]<<16|G[a+27|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return c|0;case 4:return yc(a+12|0,b)|0;case 5:break b;default:break a}}c=0;d=a+12|0;if(d>>>0>2]){break a}e=F[b+8>>2];if(e>>>0>>0|e-d>>>0<20){break a}e=F[b+12>>2]-20|0;F[b+12>>2]=e;if((e|0)<=0){break a}if(!Oi(d,b,0)){break a}a=G[a+28|0]|G[a+29|0]<<8|(G[a+30|0]<<16|G[a+31|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return c|0}function ym(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Ga-16|0;Ga=f;c=F[a+4>>2];d=F[F[c+80>>2]+L(F[c+64>>2],20)>>2];a:{b:{c:{d:{if(b){b=F[a+8>>2];F[f+12>>2]=F[a+16>>2];e=b;g=F[b+84>>2];b=F[b+80>>2];if(!(Ia[F[b+164>>2]](e,g,d,f+12|0,F[b+20>>2])|0)){break d}F[(F[c+80>>2]+L(F[c+64>>2],20)|0)+12>>2]=F[f+12>>2];if(G[c+61|0]){e:{if(F[c+84>>2]==F[c+80>>2]){a=F[c+72>>2];if((a|0)==F[c+64>>2]){break e}}if(!$a(c,1,1)){break a}b=F[c+80>>2]+L(F[c+64>>2],20)|0;d=F[b+4>>2];a=F[c+84>>2]+L(F[c+72>>2],20)|0;F[a>>2]=F[b>>2];F[a+4>>2]=d;F[a+16>>2]=F[b+16>>2];d=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=d;a=F[c+72>>2]}F[c+72>>2]=a+1}F[c+64>>2]=F[c+64>>2]+1;break a}if(ah(a,0,d)){break b}b=F[a+8>>2];F[f+12>>2]=F[a+16>>2];e=b;g=F[b+84>>2];b=F[b+80>>2];if(!(Ia[F[b+164>>2]](e,g,d,f+12|0,F[b+20>>2])|0)){break c}F[(F[c+80>>2]+L(F[c+64>>2],20)|0)+12>>2]=F[f+12>>2];if(G[c+61|0]){f:{if(F[c+84>>2]==F[c+80>>2]){a=F[c+72>>2];if((a|0)==F[c+64>>2]){break f}}if(!$a(c,1,1)){break a}b=F[c+80>>2]+L(F[c+64>>2],20)|0;d=F[b+4>>2];a=F[c+84>>2]+L(F[c+72>>2],20)|0;F[a>>2]=F[b>>2];F[a+4>>2]=d;F[a+16>>2]=F[b+16>>2];d=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=d;a=F[c+72>>2]}F[c+72>>2]=a+1}F[c+64>>2]=F[c+64>>2]+1;break a}if(ah(a,1,d)){break b}}g:{if((H[(F[c+80>>2]+L(F[c+64>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{switch(d+-8192|0){case 0:case 2:b=512;break h;case 4:b=768;break h;case 5:b=1024;break h;case 6:b=1536;break h;case 7:b=4864;break h;case 8:b=5120;break h;case 9:b=1280;break h;case 10:b=4096;break h;case 47:b=5376;break h;case 95:b=4352;break h;default:if((d|0)!=12288){break g}break;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break g;case 1:case 3:break i}}b=256}e=F[a+8>>2];F[f+8>>2]=0;g=e;h=F[e+84>>2];e=F[e+80>>2];if(!(Ia[F[e+164>>2]](g,h,32,f+8|0,F[e+20>>2])|0)){e=F[c+28>>2];F[f+8>>2]=e;if(!e){break g}}a=F[c+80>>2];d=F[c+64>>2];e=H[(a+L(d,20)|0)+16>>1];if((e&31)==29){E[(L(d,20)+a|0)+16>>1]=e&255|b;d=F[c+64>>2];a=F[c+80>>2]}F[(a+L(d,20)|0)+12>>2]=F[f+8>>2];j:{if(G[c+61|0]){k:{if(F[c+84>>2]==F[c+80>>2]){a=F[c+72>>2];if((a|0)==F[c+64>>2]){break k}}if(!$a(c,1,1)){break j}b=F[c+80>>2]+L(F[c+64>>2],20)|0;d=F[b+4>>2];a=F[c+84>>2]+L(F[c+72>>2],20)|0;F[a>>2]=F[b>>2];F[a+4>>2]=d;F[a+16>>2]=F[b+16>>2];d=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=d;a=F[c+72>>2]}F[c+72>>2]=a+1}F[c+64>>2]=F[c+64>>2]+1}F[c+144>>2]=F[c+144>>2]|4;break a}l:{if((d|0)!=8209){break l}a=F[a+8>>2];F[f+4>>2]=0;b=a;e=F[a+84>>2];a=F[a+80>>2];if(!(Ia[F[a+164>>2]](b,e,8208,f+4|0,F[a+20>>2])|0)){break l}F[(F[c+80>>2]+L(F[c+64>>2],20)|0)+12>>2]=F[f+4>>2];if(G[c+61|0]){m:{if(F[c+84>>2]==F[c+80>>2]){a=F[c+72>>2];if((a|0)==F[c+64>>2]){break m}}if(!$a(c,1,1)){break a}b=F[c+80>>2]+L(F[c+64>>2],20)|0;d=F[b+4>>2];a=F[c+84>>2]+L(F[c+72>>2],20)|0;F[a>>2]=F[b>>2];F[a+4>>2]=d;F[a+16>>2]=F[b+16>>2];d=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=d;a=F[c+72>>2]}F[c+72>>2]=a+1}F[c+64>>2]=F[c+64>>2]+1;break a}F[(F[c+80>>2]+L(F[c+64>>2],20)|0)+12>>2]=F[f+12>>2];if(G[c+61|0]){n:{if(F[c+84>>2]==F[c+80>>2]){a=F[c+72>>2];if((a|0)==F[c+64>>2]){break n}}if(!$a(c,1,1)){break a}b=F[c+80>>2]+L(F[c+64>>2],20)|0;d=F[b+4>>2];a=F[c+84>>2]+L(F[c+72>>2],20)|0;F[a>>2]=F[b>>2];F[a+4>>2]=d;F[a+16>>2]=F[b+16>>2];d=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=d;a=F[c+72>>2]}F[c+72>>2]=a+1}F[c+64>>2]=F[c+64>>2]+1;break a}F[c+64>>2]=F[c+64>>2]+1}Ga=f+16|0}function Sj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Ga-16|0;Ga=k;h=8;a:{if(e>>>0>100){break a}b:{i=F[a+32>>2];if(!i){break b}j=F[a+40>>2];m=F[a+36>>2]+F[a+28>>2]|0;g=m;while(1){c:{F[k+12>>2]=g+2;h=G[g+1|0];l=G[g|0];F[k+12>>2]=g+4;l=h|l<<8;if(l>>>0<=b>>>0&(G[g+3|0]|G[g+2|0]<<8)>>>0>=b>>>0){break c}g=g+8|0;F[k+12>>2]=g;i=i-1|0;if(i){continue}break b}break}g=G[g+4|0]|G[g+5|0]<<8|(G[g+6|0]<<16|G[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=8;if(g>>>0>j-m>>>0){break a}h=g+m|0;g=h+8|0;if(g>>>0>j>>>0){break b}F[k+12>>2]=h+2;i=G[h|0]|G[h+1|0]<<8;F[k+12>>2]=h+4;n=G[h+3|0];o=G[h+2|0];F[k+12>>2]=g;m=G[h+4|0]|G[h+5|0]<<8|(G[h+6|0]<<16|G[h+7|0]<<24);d:{e:{switch(((i<<8|i>>>8)&65535)-1|0){case 0:b=g+(b-l<<2)|0;g=b+8|0;if(g>>>0>j>>>0){break b}F[k+12>>2]=b+4;h=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);F[k+12>>2]=g;b=G[b+4|0]|G[b+5|0]<<8|(G[b+6|0]<<16|G[b+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if((g|0)!=(i|0)){break d}break b;case 1:if(g+12>>>0>j>>>0){break b}F[k+12>>2]=g+4;h=G[g+3|0];i=G[g+2|0];p=G[g+1|0];g=G[g|0];if(jg(a,k+12|0,j)){break b}l=b-l|0;b=h|(p<<16|g<<24|i<<8);i=L(l,b);g=i+b|0;break d;case 2:b=g+(b-l<<1)|0;if(b+4>>>0>j>>>0){break b}F[k+12>>2]=b+2;h=G[b+1|0];i=G[b|0];F[k+12>>2]=b+4;g=G[b+3|0]|G[b+2|0]<<8;i=h|i<<8;if((g|0)!=(i|0)){break d}break b;case 3:g=g+4|0;if(j>>>0>>0){break b}F[k+12>>2]=g;if(g+4>>>0>j>>>0){break b}h=g-4|0;h=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(h>>>0>(j-g>>2)-1>>>0|!h){break b}i=0;while(1){F[k+12>>2]=g+2;if((G[g+1|0]|G[g|0]<<8)==(b|0)){F[k+12>>2]=g+4;b=G[g+3|0];h=G[g+2|0];F[k+12>>2]=g+6;i=b|h<<8;g=G[g+7|0]|G[g+6|0]<<8;break d}g=g+4|0;F[k+12>>2]=g;i=i+1|0;if((h|0)!=(i|0)){continue}break};break b;case 4:case 18:break e;default:break b}}if(g+16>>>0>j>>>0){break b}F[k+12>>2]=g+4;h=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);if(jg(a,k+12|0,j)){break b}i=F[k+12>>2];g=i+4|0;F[k+12>>2]=g;l=j-g>>1;i=G[i|0]|G[i+1|0]<<8|(G[i+2|0]<<16|G[i+3|0]<<24);j=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(l>>>0>>0|!j){break b}l=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);i=0;while(1){f:{h=g+2|0;F[k+12>>2]=h;if((G[g+1|0]|G[g|0]<<8)==(b|0)){break f}g=h;i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}i=L(i,l);g=l+i|0}if(g>>>0>>0){break b}l=n|o<<8;j=Ga-16|0;Ga=j;b=6;h=g-i|0;m=(m<<8&16711680|m<<24|(m>>>8&65280|m>>>24))+i|0;g:{if(!h|I[a+24>>2]>>0){break g}n=F[a+4>>2];b=Za(n,m+F[a+20>>2]|0);if(b){break g}b=$b(n,h,j+8|0);if(b){break g}g=F[j+8>>2];F[j+12>>2]=g;i=g+h|0;b=7;h:{i:{j:{k:{l:{m:{n:{o:{switch(l-1|0){case 0:case 1:case 7:case 16:b=6;if((h|0)<5){break h}b=F[a+12>>2];E[b>>1]=G[g|0];E[b+2>>1]=G[g+1|0];E[b+4>>1]=D[g+2|0];E[b+6>>1]=D[g+3|0];h=G[g+4|0];E[b+14>>1]=0;E[b+10>>1]=0;E[b+12>>1]=0;E[b+8>>1]=h;D[a+16|0]=1;F[j+12>>2]=g+5;break n;case 18:break h;case 4:break m;case 5:case 6:case 8:case 17:break o;default:break i}}b=jg(a,j+12|0,i);if(b){break h}}m=72;b=7;p:{switch(l-1|0){case 16:case 17:break h;case 0:case 5:break j;case 8:break k;case 7:break l;case 4:break m;case 1:case 6:break p;default:break i}}g=F[a+12>>2];b=H[g>>1];h=H[g+2>>1];g=L(b,h+7>>>3|0);if(g>>>0<=L(b,h)+7>>>3>>>0){break m}if((g|0)==(i-F[j+12>>2]|0)){break j}}m=73;break j}b=0;g=F[j+12>>2]+1|0;if(g>>>0>i>>>0){break h}F[j+12>>2]=g}m=74}if(!G[a+17|0]){if(G[a+16|0]){h=F[a+12>>2];b=H[h+2>>1];g=F[a+8>>2];l=H[h>>1];F[g>>2]=l;F[g+4>>2]=b;h=3;q:{r:{s:{t:{switch(G[a+18|0]-1|0){case 0:D[g+18|0]=1;b=b+7>>>3|0;h=2;break r;case 1:D[g+18|0]=3;b=b+3>>>2|0;h=4;break r;case 3:D[g+18|0]=4;b=b+1>>>1|0;h=16;break r;case 7:D[g+18|0]=2;break s;case 31:break t;default:break q}}D[g+18|0]=7;b=b<<2}h=256}E[g+16>>1]=h;F[g+8>>2]=b;h=0;if(f){break q}b=L(b,l);if(!b){break q}h=df(F[F[a>>2]+84>>2],b);if(h){break q}D[a+17|0]=1;h=0}b=h}else{b=6}if(b){break h}}b=0;if(f){break h}b=Ia[m|0](a,F[j+12>>2],i,c,d,e)|0;break h}b=8}Eb(n,j+8|0)}Ga=j+16|0;h=b;break a}h=e?21:157}Ga=k+16|0;return h}function Qk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=L(b,1348)+a|0;j=F[c- -64>>2];n=F[c+56>>2];r=j+L(n,44)|0;a:{if((b|0)==1){q=F[a+2748>>2];u=G[F[(F[F[q>>2]+8>>2]<<2)+16352>>2]+12|0];if((n|0)<=0){break a}s=a+2744|0;c=j;while(1){h=G[c+12|0];b:{if(h&4){break b}c:{d:{e:{f=F[c+20>>2];d=F[c+24>>2];f:{if(!f|!d){break f}e=1;if(!F[d+20>>2]){break e}g=G[d+12|0];if(g&8){F[d+20>>2]=0;D[d+12|0]=g&247;f=F[c+20>>2];break f}if(!(h&8)){break e}f=0;F[c+20>>2]=0;D[c+12|0]=h&247}e=(f|0)!=0;if(!d|f){break e}e=F[d+20>>2];if(!e){break b}f=F[e+8>>2];F[d+8>>2]=f;h=G[d+12|0]|4;D[d+12|0]=h;e=d;d=c;break d}if(!e){break b}f=F[f+8>>2];F[c+8>>2]=f;h=G[c+12|0]|4;D[c+12|0]=h;if(!d){break c}e=c;if(F[d+20>>2]){break c}}e=F[e+4>>2];g=F[d+4>>2]-e|0;i=f-e|0;e=G[d+12|0];h=me(F[s>>2],q,1,g,i,h&255,e);D[d+12|0]=e|4;F[d+8>>2]=f+h}l=l?l:c}c=c+44|0;if(r>>>0>c>>>0){continue}break}}g:{if((n|0)<=0){h=0;break g}w=(n|0)>0;q=a+2748|0;s=a+2744|0;c=j;h=0;while(1){f=G[c+12|0];h:{if(f&4){break h}d=F[c+24>>2];if(!d){h=h+1|0;break h}if(F[d+20>>2]){a=F[d+4>>2];e=F[d+8>>2];a=me(F[s>>2],F[q>>2],b,F[c+4>>2]-a|0,e-a|0,G[d+12|0],f);D[c+12|0]=f|4;F[c+8>>2]=a+e;break h}if(!l){m=F[s>>2];o=F[q>>2];e=F[c+4>>2];l=F[d+4>>2]-e|0;a=me(m,o,b,l,0,f,G[d+12|0]);i:{if((a|0)<=95){g=e+(l>>1)|0;t=g+32&-64;p=(a|0)<65;k=t+(p?-32:-38)|0;v=g-k|0;i=v>>31;p=t|(p?32:26);t=g-p|0;g=t>>31;g=((a|0)/-2|0)+((i^v)-i>>>0<(g^t)-g>>>0?k:p)|0;F[c+8>>2]=g;F[d+8>>2]=a+g;a=F[c+8>>2];break i}a=e+32&-64;F[c+8>>2]=a}f=f|4;D[c+12|0]=f;x=d,y=me(m,o,b,l,a-e|0,f,G[d+12|0])+a|0,F[x+8>>2]=y;l=c;break h}e=F[l+4>>2];k=F[l+8>>2];i=F[c+4>>2];g=F[d+4>>2]-i|0;m=G[d+12|0];a=me(F[s>>2],F[q>>2],b,g,0,f,m);j:{if(m&4){e=F[d+8>>2]-a|0;a=c;break j}k=k+(i-e|0)|0;e=k+(g>>1)|0;k:{if((a|0)<=95){i=e+32&-64;k=(a|0)<65;m=i+(k?-32:-38)|0;o=e-m|0;g=o>>31;k=i|(k?32:26);i=e-k|0;e=i>>31;e=(g^o)-g>>>0<(e^i)-e>>>0?m:k;a=(a|0)/2|0;F[c+8>>2]=e-a;e=a+e|0;break k}o=a>>>1|0;i=k+32|0;m=i&-64;p=o+(m-e|0)|0;k=p>>31;g=(g+i&-64)-a|0;i=g+(o-e|0)|0;e=i>>31;e=(k^p)-k>>>0<(e^i)-e>>>0?m:g;F[c+8>>2]=e;e=a+e|0}a=d}F[a+8>>2]=e;D[c+12|0]=f|4;D[d+12|0]=G[d+12|0]|4;if(c>>>0<=j>>>0){break h}a=F[c-36>>2];e=F[c+8>>2];l:{if(u){if((a|0)<(e|0)){break l}break h}if((a|0)<=(e|0)){break h}}e=F[d+8>>2]-a|0;d=e>>31;if((d^e)-d>>>0<17){break h}F[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}if(b){break a}c=4;f=2;d=j;m:{switch(n-6|0){case 6:d=j+44|0;c=9;f=5;break;case 0:break m;default:break a}}e=L(f,44)+j|0;a=L(c,44)+j|0;f=(F[e+4>>2]<<1)-(F[d+4>>2]+F[a+4>>2]|0)|0;b=f>>31;if((b^f)-b>>>0>7){break a}b=F[a+8>>2];d=(F[e+8>>2]<<1)-F[d+8>>2]|0;F[a+8>>2]=d;b=b-d|0;a=F[a+24>>2];if(a){F[a+8>>2]=F[a+8>>2]-b}if((n|0)==12){F[j+360>>2]=F[j+360>>2]-b;F[j+492>>2]=F[j+492>>2]-b}b=L(c,44)+j|0;D[b+12|0]=G[b+12|0]|4;if(!a){break a}D[a+12|0]=G[a+12|0]|4}if(!(!(!l|(h|0)!=0)|!w)){c=j;while(1){e=G[c+12|0];n:{if(e&4){break n}o:{p:{q:{a=F[c+28>>2];if(!a){break q}d=F[a+4>>2];f=F[c+4>>2];h=d-f|0;b=h>>31;if((b^h)-b>>>0>79){break q}d=f+(F[a+8>>2]-d|0)|0;break p}d=c;if(!l){d=F[c+4>>2]+32&-64;F[c+8>>2]=d;l=c;break o}while(1){a=d;d=d-44|0;h=j>>>0>d>>>0;if(!(G[a-32|0]&4?1:h)){continue}break}f=c;r:{while(1){b=f;f=b+44|0;n=r>>>0<=f>>>0;if(n){break r}if(!(G[b+56|0]&4)){continue}break}if(c>>>0<=d>>>0|h|(c>>>0>=f>>>0|n)){break r}d=F[a-36>>2];f=F[b+48>>2];a=F[a-40>>2];if((f|0)==(a|0)){break p}d=bb(F[c+4>>2]-a|0,F[b+52>>2]-d|0,f-a|0)+d|0;F[c+8>>2]=d;e=G[c+12|0];break o}d=F[l+8>>2]+((F[c+4>>2]-F[l+4>>2]|0)+16&-32)|0}F[c+8>>2]=d}D[c+12|0]=e|4;s:{if(c>>>0<=j>>>0){break s}a=F[c-36>>2];t:{if(u){if((a|0)<(d|0)){break t}break s}if((a|0)<=(d|0)){break s}}b=F[c+24>>2];if(!b){break s}e=F[b+8>>2]-a|0;b=e>>31;if((b^e)-b>>>0<17){break s}F[c+8>>2]=a;d=a}if(!(G[c+56|0]&4)|c+44>>>0>=r>>>0){break n}a=F[c+52>>2];u:{if(u){if((a|0)>(d|0)){break u}break n}if((a|0)>=(d|0)){break n}}b=F[c+24>>2];if(!b){break n}d=F[b+8>>2]-F[c-36>>2]|0;b=d>>31;if((b^d)-b>>>0<17){break n}F[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}}function yC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=F[b+4>>2];F[a>>2]=F[b>>2];F[a+4>>2]=f;F[a+8>>2]=F[b+8>>2];F[a+24>>2]=0;F[a+28>>2]=0;D[a+20|0]=0;D[a+16|0]=0;F[a+12>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;k=a+28|0;i=F[k>>2];if((i|0)>=0){a:{if(i>>>0<513){f=i;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=513){continue}break}b:{if(!(f>>>0>>0|f>>>0>134217726)){i=nb(f<<5);if(i){l=F[k+4>>2];c:{if(!l){break c}if(l-1>>>0>=7){n=l&-8;while(1){g=h<<5;e=g+i|0;F[e>>2]=0;F[e+4>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;e=(g|32)+i|0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;e=(g|64)+i|0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;e=(g|96)+i|0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;e=(g|128)+i|0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;e=(g|160)+i|0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;e=(g|192)+i|0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;g=(g|224)+i|0;F[g+24>>2]=0;F[g+28>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;F[g>>2]=0;F[g+4>>2]=0;h=h+8|0;m=m+8|0;if((n|0)!=(m|0)){continue}break}}e=l&7;if(e){while(1){g=(h<<5)+i|0;F[g>>2]=0;F[g+4>>2]=0;F[g+24>>2]=0;F[g+28>>2]=0;F[g+16>>2]=0;F[g+20>>2]=0;F[g+8>>2]=0;F[g+12>>2]=0;h=h+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(!l){j=0;break c}g=0;while(1){j=g<<5;h=j+i|0;j=j+F[k+8>>2]|0;e=F[j+4>>2];F[h>>2]=F[j>>2];F[h+4>>2]=e;e=F[j+12>>2];F[h+8>>2]=F[j+8>>2];F[h+12>>2]=e;e=F[h+16>>2];F[h+16>>2]=F[j+16>>2];F[j+16>>2]=e;e=F[h+20>>2];F[h+20>>2]=F[j+20>>2];F[j+20>>2]=e;e=F[h+24>>2];F[h+24>>2]=F[j+24>>2];F[j+24>>2]=e;g=g+1|0;j=F[k+4>>2];if(g>>>0>>0){continue}break}if(!j){j=0;break c}h=j;while(1){h=F[k+8>>2]+(h<<5)|0;F[h-12>>2]=0;g=h-8|0;Ta(F[g>>2]);F[g>>2]=0;h=h-16|0;F[h>>2]=0;F[h+4>>2]=0;h=F[k+4>>2]-1|0;F[k+4>>2]=h;if(h){continue}break}}F[k+4>>2]=j;Ta(F[k+8>>2])}if(i){break b}}F[k>>2]=-1;break a}F[k>>2]=f;F[k+8>>2]=i}f=F[k+4>>2];d:{if(f>>>0<513){while(1){F[k+4>>2]=f+1;f=F[k+8>>2]+(f<<5)|0;F[f>>2]=0;F[f+4>>2]=0;F[f+24>>2]=0;F[f+28>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;f=F[k+4>>2];if(f>>>0<513){continue}break d}}if(f>>>0<=513){break d}while(1){f=F[k+8>>2]+(f<<5)|0;F[f-12>>2]=0;i=f-8|0;Ta(F[i>>2]);F[i>>2]=0;f=f-16|0;F[f>>2]=0;F[f+4>>2]=0;f=F[k+4>>2]-1|0;F[k+4>>2]=f;if(f>>>0>513){continue}break}}F[k+4>>2]=513}}D[a+40|0]=0;f=F[b+4>>2];i=F[b>>2];F[a+52>>2]=F[b+8>>2];F[a+44>>2]=i;F[a+48>>2]=f;D[a+73|0]=1;D[a+74|0]=0;b=a- -64|0;F[b>>2]=0;F[b+4>>2]=0;D[a+60|0]=0;F[a+56>>2]=0;f=nb(560);F[a+100>>2]=0;F[a+104>>2]=0;F[a+92>>2]=0;F[a+96>>2]=0;F[a+76>>2]=0;F[a+80>>2]=0;D[a+81|0]=0;D[a+82|0]=0;D[a+83|0]=0;D[a+84|0]=0;D[a+85|0]=0;D[a+86|0]=0;D[a+87|0]=0;D[a+88|0]=0;F[a+128>>2]=0;F[a+132>>2]=0;F[a+136>>2]=0;F[a+140>>2]=0;e:{if(!f){F[a+96>>2]=-1;break e}F[a+96>>2]=20;F[a+104>>2]=f;F[f+24>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;F[f>>2]=0;F[f+4>>2]=0;b=2;F[a+100>>2]=2;F[f+52>>2]=0;F[f+44>>2]=0;F[f+48>>2]=0;F[f+36>>2]=0;F[f+40>>2]=0;F[f+28>>2]=0;F[f+32>>2]=0;while(1){F[a+100>>2]=b+1;b=F[a+104>>2]+L(b,28)|0;F[b>>2]=0;F[b+4>>2]=0;F[b+24>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;b=F[a+100>>2];if(b>>>0<10){continue}break}F[a+100>>2]=10}F[a+112>>2]=c;f:{g:{if(c){b=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break g}}F[a+108>>2]=107;break f}if(b>>>0<=33899){F[a+108>>2]=1131;break f}F[a+108>>2]=32768}F[a+120>>2]=d;h:{if(d){b=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break h}}F[a+116>>2]=107;return}if(b>>>0<=33899){F[a+116>>2]=1131;return}F[a+116>>2]=32768}function _g(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;i=Ga+-64|0;F[i+48>>2]=0;F[i+52>>2]=0;F[i+56>>2]=0;F[i+60>>2]=0;F[i+32>>2]=0;F[i+36>>2]=0;F[i+40>>2]=0;F[i+44>>2]=0;a:{b:{c:{d:{e:{if(c){if(c-1>>>0>=3){n=c&-4;while(1){m=i+32|0;l=k<<1;h=m+(H[l+b>>1]<<1)|0;E[h>>1]=H[h>>1]+1;h=m+(H[(l|2)+b>>1]<<1)|0;E[h>>1]=H[h>>1]+1;h=m+(H[(l|4)+b>>1]<<1)|0;E[h>>1]=H[h>>1]+1;h=m+(H[(l|6)+b>>1]<<1)|0;E[h>>1]=H[h>>1]+1;k=k+4|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}h=c&3;if(h){while(1){g=(i+32|0)+(H[(k<<1)+b>>1]<<1)|0;E[g>>1]=H[g>>1]+1;k=k+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}k=F[e>>2];l=15;g=H[i+62>>1];if(g){break d}break e}k=F[e>>2]}l=14;g=0;if(H[i+60>>1]){break d}l=13;if(H[i+58>>1]){break d}l=12;if(H[i+56>>1]){break d}l=11;if(H[i+54>>1]){break d}l=10;if(H[i+52>>1]){break d}l=9;if(H[i+50>>1]){break d}l=8;if(H[i+48>>1]){break d}l=7;if(H[i+46>>1]){break d}l=6;if(H[i+44>>1]){break d}l=5;if(H[i+42>>1]){break d}l=4;if(H[i+40>>1]){break d}l=3;if(H[i+38>>1]){break d}l=2;if(H[i+36>>1]){break d}if(!H[i+34>>1]){a=F[d>>2];F[d>>2]=a+4;E[a>>1]=320;E[a+2>>1]=0;a=F[d>>2];F[d>>2]=a+4;E[a>>1]=320;E[a+2>>1]=0;m=1;break b}r=(k|0)!=0;l=1;k=1;break c}r=k>>>0>>0?k:l;p=1;k=1;while(1){if(H[(i+32|0)+(k<<1)>>1]){break c}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l}j=-1;o=H[i+34>>1];if(o>>>0>2){break a}s=H[i+36>>1];h=4-(s+(o<<1)|0)|0;if((h|0)<0){break a}q=H[i+38>>1];h=(h<<1)-q|0;if((h|0)<0){break a}t=H[i+40>>1];h=(h<<1)-t|0;if((h|0)<0){break a}u=H[i+42>>1];h=(h<<1)-u|0;if((h|0)<0){break a}w=H[i+44>>1];h=(h<<1)-w|0;if((h|0)<0){break a}x=H[i+46>>1];h=(h<<1)-x|0;if((h|0)<0){break a}z=H[i+48>>1];h=(h<<1)-z|0;if((h|0)<0){break a}A=H[i+50>>1];h=(h<<1)-A|0;if((h|0)<0){break a}y=H[i+52>>1];h=(h<<1)-y|0;if((h|0)<0){break a}B=H[i+54>>1];h=(h<<1)-B|0;if((h|0)<0){break a}v=H[i+56>>1];h=(h<<1)-v|0;if((h|0)<0){break a}m=H[i+58>>1];h=(h<<1)-m|0;if((h|0)<0){break a}n=H[i+60>>1];h=(h<<1)-n|0;if((h|0)<0){break a}h=h<<1;if(h>>>0>>0|(!a|p?(g|0)!=(h|0):0)){break a}C=k>>>0>>0;j=0;E[i+2>>1]=0;E[i+4>>1]=o;g=o+s|0;E[i+6>>1]=g;g=g+q|0;E[i+8>>1]=g;g=g+t|0;E[i+10>>1]=g;g=g+u|0;E[i+12>>1]=g;g=g+w|0;E[i+14>>1]=g;g=g+x|0;E[i+16>>1]=g;g=g+z|0;E[i+18>>1]=g;g=g+A|0;E[i+20>>1]=g;g=g+y|0;E[i+22>>1]=g;g=g+B|0;E[i+24>>1]=g;g=g+v|0;E[i+26>>1]=g;g=g+m|0;E[i+28>>1]=g;E[i+30>>1]=g+n;f:{if(!c){break f}if((c|0)!=1){m=c&-2;g=0;while(1){h=H[(j<<1)+b>>1];if(h){h=(h<<1)+i|0;n=H[h>>1];E[h>>1]=n+1;E[(n<<1)+f>>1]=j}n=j|1;h=H[(n<<1)+b>>1];if(h){h=(h<<1)+i|0;v=H[h>>1];E[h>>1]=v+1;E[(v<<1)+f>>1]=n}j=j+2|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}if(!(c&1)){break f}c=H[(j<<1)+b>>1];if(!c){break f}c=(c<<1)+i|0;g=H[c>>1];E[c>>1]=g+1;E[(g<<1)+f>>1]=j}m=C?r:k;s=20;z=0;n=f;w=n;A=0;g:{h:{switch(a|0){case 1:j=1;if(m>>>0>9){break a}s=257;w=241104;n=241040;A=1;break g;case 0:break g;default:break h}}z=(a|0)==2;s=0;w=241232;n=241168;if((a|0)!=2){break g}j=1;if(m>>>0>9){break a}}q=1<>2];u=0;g=m;o=0;p=0;a=-1;while(1){h=1<>1];c=0;j:{if(g+1>>>0>>0){break j}if(g>>>0>>0){g=0;c=96;break j}c=g-s<<1;g=H[c+n>>1];c=G[c+w|0]}v=p>>>o|0;C=-1<>1]=g;D[y+1|0]=x;D[y|0]=c;if(j){continue}break}g=1<>>1|0;if(c&p){continue}break}g=(i+32|0)+(k<<1)|0;j=H[g>>1]-1|0;E[g>>1]=j;p=c?c+(c-1&p)|0:0;u=u+1|0;if(!(j&65535)){if((k|0)==(l|0)){break i}k=H[(H[(u<<1)+f>>1]<<1)+b>>1]}if(k>>>0<=m>>>0){continue}c=p&B;if((c|0)==(a|0)){continue}break}o=o?o:m;g=k-o|0;r=1<>>0>>0){a=l-o|0;j=k;k:{while(1){j=r-H[(i+32|0)+(j<<1)>>1]|0;if((j|0)<=0){break k}r=j<<1;g=g+1|0;j=o+g|0;if(l>>>0>j>>>0){continue}break}g=a}r=1<>>0>852&A|q>>>0>592&z){break a}a=F[d>>2];j=a+(c<<2)|0;D[j+1|0]=m;D[j|0]=g;t=(h<<2)+t|0;E[j+2>>1]=t-a>>>2;a=c;continue}break}if(p){a=(p<<2)+t|0;E[a+2>>1]=0;D[a+1|0]=x;D[a|0]=64}F[d>>2]=F[d>>2]+(q<<2)}F[e>>2]=m;j=0}return j}function Gm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;D[a|0]=0;D[a+1|0]=0;h=Fd(b);a:{b:{if(F[b+20>>2]){break b}i=4;c:{g=h+2|0;f=F[b+4>>2];d=g-f|0;if((d|0)<0|(d|0)>(F[b+8>>2]-f|0)){break c}m=F[c+16>>2];j=F[c+12>>2];k=F[c+4>>2];l=F[c>>2];d:{if((f|0)==(g|0)){F[b+4>>2]=d+g;break d}Wa(f,0,d);c=F[b+4>>2];F[b+4>>2]=c+d;if(!c){break b}}e:{f:{g:{h:{if(!(!k|!m)){q=(m<<1)+j|0;r=(k<<1)+l|0;f=-2;g=m;e=j;c=k;d=l;while(1){i=c?d:163632;i=G[i|0]|G[i+1|0]<<8;i=(i<<8|i>>>8)&65535;o=((i|0)!=(f+1|0))+o|0;n=n+1|0;f=!!c;d=(f<<1)+d|0;if(!((r|0)!=(d|0)|(c|0)!=(f|0))){break h}c=c-f|0;p=!!g;g=g-p|0;f=i;e=(p<<1)+e|0;if((q|0)!=(e|0)){continue}break}break h}D[h|0]=0;D[h+1|0]=1;break g}c=L(o,3)>>>0>>0;d=c?512:256;D[h|0]=d;D[h+1|0]=d>>>8;if(c-1|0){break g}break f}if(F[b+20>>2]){break b}i=4;f=h+4|0;d=F[b+4>>2];c=f-d|0;if((c|0)<0|(c|0)>(F[b+8>>2]-d|0)){break c}i:{if((d|0)==(f|0)){F[b+4>>2]=(c+h|0)+4;break i}Wa(d,0,c);e=c;c=F[b+4>>2];F[b+4>>2]=e+c;if(!c){break b}}c=k>>>0>>0?k:m;d=c<<8|(c&65280)>>>8;D[h+2|0]=d;D[h+3|0]=d>>>8;d=F[b+20>>2];if(c>>>0>=65536){F[b+20>>2]=d|16;break b}if(d){break b}g=((c<<1&131070)+h|0)+4|0;f=F[b+4>>2];d=g-f|0;if((d|0)<0|(d|0)>(F[b+8>>2]-f|0)){break c}j:{if((f|0)==(g|0)){F[b+4>>2]=d+g;break j}Wa(f,0,d);e=d;d=F[b+4>>2];F[b+4>>2]=e+d;if(!d){break b}}if(!c){break e}d=0;if((c|0)!=1){m=c&-2;g=0;while(1){f=(d<<1)+h|0;j=k?l:163632;j=G[j|0]|G[j+1|0]<<8;D[f+4|0]=j;D[f+5|0]=j>>>8;j=((d|1)<<1)+h|0;f=!!k;l=(f<<1)+l|0;e=(f|0)==(k|0);i=e?163632:l;i=G[i|0]|G[i+1|0]<<8;D[j+4|0]=i;D[j+5|0]=i>>>8;d=d+2|0;j=!e;l=l+(j<<1)|0;k=k-(f+j|0)|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}if(!(c&1)){break e}c=(d<<1)+h|0;d=k?l:163632;d=G[d|0]|G[d+1|0]<<8;D[c+4|0]=d;D[c+5|0]=d>>>8;break e}if(F[b+20>>2]){break b}i=4;f=h+4|0;d=F[b+4>>2];c=f-d|0;if((c|0)<0|(c|0)>(F[b+8>>2]-d|0)){break c}k:{if((d|0)==(f|0)){e=c+f|0;F[b+4>>2]=e;break k}Wa(d,0,c);e=c;c=F[b+4>>2];e=e+c|0;F[b+4>>2]=e;if(!c){break b}}o=0;f=-2;g=m;i=j;c=k;d=l;while(1){p=!!g;n=c?d:163632;n=G[n|0]|G[n+1|0]<<8;n=(n<<8|n>>>8)&65535;o=((n|0)!=(f+1|0))+o|0;f=!!c;d=(f<<1)+d|0;if((r|0)!=(d|0)|(c|0)!=(f|0)){c=c-f|0;g=g-p|0;f=n;i=(p<<1)+i|0;if((q|0)!=(i|0)){continue}}break}if(F[b+20>>2]){break b}i=4;d=h+4|0;c=d-e|0;if((c|0)<0|(c|0)>(F[b+8>>2]-e|0)){break c}l:{if((d|0)==(e|0)){F[b+4>>2]=c+e;break l}Wa(e,0,c);e=c;c=F[b+4>>2];F[b+4>>2]=e+c;if(!c){break b}}c=o<<8|(o&65280)>>>8;D[h+2|0]=c;D[h+3|0]=c>>>8;c=F[b+20>>2];if(o>>>0>=65536){i=c|16;break c}if(c){break b}f=(L(o,6)+h|0)+4|0;d=F[b+4>>2];c=f-d|0;if((c|0)<0|(c|0)>(F[b+8>>2]-d|0)){break c}m:{if((d|0)==(f|0)){F[b+4>>2]=c+f;break m}Wa(d,0,c);e=c;c=F[b+4>>2];F[b+4>>2]=e+c;if(!c){break b}}d=-2;c=-1;f=0;while(1){e=d+1|0;d=k?l:163632;g=G[d|0]|G[d+1|0]<<8;d=(g<<8|g>>>8)&65535;if((e|0)!=(d|0)){c=c+1|0;e=G[h+2|0]|G[h+3|0]<<8;n:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){E[123218]=G[164028]|G[164029]<<8;F[61608]=G[164024]|G[164025]<<8|(G[164026]<<16|G[164027]<<24);e=246432;break n}e=(L(c,6)+h|0)+4|0}D[e|0]=g;D[e+1|0]=g>>>8;e=G[h+2|0]|G[h+3|0]<<8;o:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){E[123218]=G[164028]|G[164029]<<8;F[61608]=G[164024]|G[164025]<<8|(G[164026]<<16|G[164027]<<24);e=246432;break o}e=(L(c,6)+h|0)+4|0}i=f<<8|(f&65280)>>>8;D[e+4|0]=i;D[e+5|0]=i>>>8}e=G[h+2|0]|G[h+3|0]<<8;p:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){E[123218]=G[164028]|G[164029]<<8;F[61608]=G[164024]|G[164025]<<8|(G[164026]<<16|G[164027]<<24);e=246432;break p}e=(L(c,6)+h|0)+4|0}D[e+2|0]=g;D[e+3|0]=g>>>8;g=!!k;l=(g<<1)+l|0;if(!((r|0)!=(l|0)|(g|0)!=(k|0))){break e}f=f+1|0;k=k-g|0;g=!!m;m=m-g|0;j=(g<<1)+j|0;if((q|0)!=(j|0)){continue}break}}s=1;Xd(b,a,kd(b,1));break a}F[b+20>>2]=i}a=F[b+40>>2];if(F[b+20>>2]|!a){break a}F[b+40>>2]=F[a+32>>2];c=F[a+4>>2];F[b+4>>2]=F[a>>2];F[b+8>>2]=c;Wd(b);F[a+12>>2]=0;Ta(F[a+16>>2]);F[a+24>>2]=0;F[a+16>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;Ta(F[a+28>>2]);F[a+28>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a>>2]=F[b+24>>2];F[b+24>>2]=a;return 0}return s}function yA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=ib(1,140);a:{if(!f){break a}d=135328;F[f>>2]=135328;b:{c:{d:{e:{f:{g:{h:{i:{c=F[a+4>>2];if((c|0)<=1298954604){if((c|0)<=1198877297){if((c|0)==1113943655){break i}b=135356;if((c|0)==1147500129){break c}break b}if((c|0)==1198877298){break g}if((c|0)==1198879349){break h}if((c|0)!=1265525857){break b}b=135552;break c}if((c|0)<=1399418471){if((c|0)==1298954605){break e}if((c|0)!=1332902241){break b}b=135468;break c}if((c|0)==1399418472){break d}if((c|0)==1415671148){break f}if((c|0)!=1415933045){break b}b=135524;break c}b=135384;break c}b=135412;break c}b=135440;break c}b=135496;break c}b=135580;break c}b=135608}F[f>>2]=b;d=b}c=0;c=G[d+4|0]?G[a+24|0]!=50:c;D[f+4|0]=c;d=F[61600];if(!d){ji();d=F[61600]}b=-1;F[f+8>>2]=-1;D[f+5|0]=d>>>2&1;g=c?g:F[a+4>>2]!=1298954605;D[f+20|0]=g;j=F[a+60>>2];h=F[a+56>>2];j:{if((h|0)<=0){break j}b=h-1|0;c=0;k:{while(1){d=c+b>>>1|0;e=F[L(d,36)+j>>2];l:{if(e>>>0>=1919969383){b=d-1|0;break l}if((e|0)==1919969382){break k}c=d+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break j}b=F[(L(d,36)+j|0)+12>>2]}d=F[a+92>>2];m:{if(d>>>0>>0){F[f+12>>2]=0;b=0;break m}if(b){c=b-1|0;c=F[(c>>>0>>0?F[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=F[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=F[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?F[a+72>>2]+(c<<3)|0:163632}else{b=0}F[f+12>>2]=b;b=e-c|0}D[f+32|0]=g;F[f+16>>2]=b;b=-1;n:{if((h|0)<=0){break n}b=h-1|0;c=0;o:{while(1){e=c+b>>>1|0;i=F[L(e,36)+j>>2];p:{if(i>>>0>=1886545255){b=e-1|0;break p}if((i|0)==1886545254){break o}c=e+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break n}b=F[(L(e,36)+j|0)+12>>2]}q:{if(b>>>0>d>>>0){F[f+24>>2]=0;b=0;break q}if(b){c=b-1|0;c=F[(c>>>0>>0?F[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=F[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=F[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?F[a+72>>2]+(c<<3)|0:163632}else{b=0}F[f+24>>2]=b;b=e-c|0}D[f+44|0]=g;F[f+28>>2]=b;b=-1;r:{if((h|0)<=0){break r}b=h-1|0;c=0;s:{while(1){e=c+b>>>1|0;i=F[L(e,36)+j>>2];t:{if(i>>>0>=1651275623){b=e-1|0;break t}if((i|0)==1651275622){break s}c=e+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break r}b=F[(L(e,36)+j|0)+12>>2]}u:{if(b>>>0>d>>>0){F[f+36>>2]=0;b=0;break u}if(b){c=b-1|0;c=F[(c>>>0>>0?F[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=F[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=F[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?F[a+72>>2]+(c<<3)|0:163632}else{b=0}F[f+36>>2]=b;b=e-c|0}D[f+56|0]=g;F[f+40>>2]=b;b=-1;v:{if((h|0)<=0){break v}b=h-1|0;c=0;w:{while(1){e=c+b>>>1|0;i=F[L(e,36)+j>>2];x:{if(i>>>0>=1886614631){b=e-1|0;break x}if((i|0)==1886614630){break w}c=e+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break v}b=F[(L(e,36)+j|0)+12>>2]}y:{if(b>>>0>d>>>0){F[f+48>>2]=0;b=0;break y}if(b){c=b-1|0;c=F[(c>>>0>>0?F[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=F[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=F[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?F[a+72>>2]+(c<<3)|0:163632}else{b=0}F[f+48>>2]=b;b=e-c|0}D[f+68|0]=g;F[f+52>>2]=b;e=f- -64|0;b=-1;z:{if((h|0)<=0){break z}b=h-1|0;c=0;A:{while(1){g=c+b>>>1|0;i=F[L(g,36)+j>>2];B:{if(i>>>0>=1986098294){b=g-1|0;break B}if((i|0)==1986098293){break A}c=g+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break z}b=F[(L(g,36)+j|0)+12>>2]}C:{if(b>>>0>d>>>0){F[f+60>>2]=0;a=0;break C}if(b){c=b-1|0;c=F[(c>>>0>>0?F[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=F[a+96>>2]+(b<<3)|0}else{b=a+68|0}d=F[b>>2];if((c|0)!=(d|0)){a=c>>>0>2]?F[a+72>>2]+(c<<3)|0:163632}else{a=0}F[f+60>>2]=a;a=d-c|0}F[e>>2]=a;if((h|0)<=0){break a}a=h-1|0;d=0;while(1){k=(d<<2)+f|0;b=0;D:{if(!(2548>>>d&1)){break D}h=F[(d<<3)+132208>>2];c=0;b=a;E:{while(1){g=c+b>>>1|0;i=L(g,36)+j|0;e=F[i>>2];F:{if(e>>>0>h>>>0){b=g-1|0;break F}if(e>>>0>=h>>>0){break E}c=g+1|0}if((c|0)<=(b|0)){continue}break}b=0;break D}b=F[i+28>>2]}F[k+72>>2]=b;d=d+1|0;if((d|0)!=17){continue}break}}return f|0}function nv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Ga-176|0;Ga=f;F[f+172>>2]=0;i=F[e+32>>2];if(i){h=F[i+100>>2]}a:{b:{if(cb(a,11158,7)){break b}c:{g=G[a+7|0];switch(g|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!F[F[e+36>>2]+8>>2]|!i){break a}c=F[i+100>>2];F[f+32>>2]=0;h=c;c=F[i+88>>2];e=(g?-8:-7)+b|0;d=e+1|0;b=Va(h,1,c,d+c|0,F[i+84>>2],f+32|0);F[i+84>>2]=b;c=F[f+32>>2];if(c){break a}j=Ya(b+F[i+88>>2]|0,g?a+8|0:a+7|0,e)+e|0,k=10,D[j|0]=k;F[i+88>>2]=d+F[i+88>>2];c=F[f+32>>2];break a}g=F[e>>2];if(!(g&1)){g=F[e+56>>2];c=176;if(cb(a,11270,9)){break a}d:{switch(G[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;F[e+32>>2]=0;F[e>>2]=1;b=gb(g,136,f+172|0);c=F[f+172>>2];if(c){break a}F[e+32>>2]=b;F[b+100>>2]=F[e+56>>2];F[e+56>>2]=0;b=b+112|0;c=El(b,g);F[f+172>>2]=c;if(c){break a}d=21680;while(1){c=ef(F[d>>2],a,b,g);F[f+172>>2]=c;if(c){break a}d=d+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=gb(g,24,f+172|0);F[F[e+32>>2]+92>>2]=a;c=F[f+172>>2];if(c){break a}c=El(a,g);if(c){break a}b=F[F[e+36>>2]+12>>2];a=F[e+32>>2];F[a+36>>2]=-1;F[a+28>>2]=b;c=0;break a}e:{f:{if(cb(a,11394,15)){break f}g:{switch(G[a+15|0]){case 0:case 9:case 10:case 13:case 32:break g;default:break f}}c=179;if(!(g&8)){break e}c=sc(e+40|0,11510,a,b);F[f+172>>2]=c;if(c){break a}a=F[e+32>>2];b=Ld(F[F[e+40>>2]+4>>2]);F[a+72>>2]=b;F[e+4>>2]=b;if(b>>>0>F[e+60>>2]>>>2>>>0){F[a+72>>2]=0;c=6;break e}b=Va(h,16,0,b,0,f+172|0);a=F[e+32>>2];F[a+80>>2]=b;c=F[f+172>>2];if(c){F[a+72>>2]=0;break a}F[e>>2]=F[e>>2]|16;F[d>>2]=3;c=0;break a}h:{if(cb(a,11606,15)){break h}i:{switch(G[a+15|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break h}}c=178;if(!(g&4)){break e}c=sc(e+40|0,11510,a,b);F[f+172>>2]=c;if(c){break a}d=F[e+32>>2];b=F[e+40>>2];j=d,k=Se(F[b+4>>2]),E[j+4>>1]=k;a=Se(F[b+8>>2]);E[d+6>>1]=a;j=d,k=he(F[b+12>>2]),E[j+8>>1]=k;b=he(F[b+16>>2]);E[d+10>>1]=b;c=0;E[d+14>>1]=0-b;E[d+12>>1]=a+b;F[e>>2]=F[e>>2]|8;break a}j:{k:{if(cb(a,11730,4)){break k}l:{switch(G[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+40|0;c=sc(d,11510,a,b);F[f+172>>2]=c;if(c){break a}Pj(d);b=Nj(d,f+32|0);if(!b){break j}a=F[F[e+32>>2]>>2];if(a){Ia[F[h+8>>2]](h,a)}F[F[e+32>>2]>>2]=0;a=F[f+32>>2]+1|0;d=Va(h,1,0,a,0,f+172|0);F[F[e+32>>2]>>2]=d;c=F[f+172>>2];if(c){break a}Ya(d,b,a);b=F[e+36>>2];h=Ga-272|0;Ga=h;d=6;g=F[e+32>>2];m:{if(!g){break m}c=F[g>>2];if(!c|!G[c|0]){break m}a=F[g+100>>2];F[h+8>>2]=0;F[h>>2]=0;F[h+4>>2]=0;F[h+12>>2]=a;F[g+28>>2]=F[b+12>>2];b=hb(c)+1|0;if(b>>>0>255){break m}a=h+16|0;Ya(a,c,b);d=sc(h,24292,a,b);n:{if(d|F[h+8>>2]!=15){break n}c=32;o:{p:{switch(D[F[F[h>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}F[g+28>>2]=c}b=F[h+12>>2];if(!b){break m}a=F[h>>2];if(a){Ia[F[b+8>>2]](b,a)}}Ga=h+272|0;c=d;F[f+172>>2]=c;if(c){break a}F[e>>2]=F[e>>2]|2;c=0;break a}q:{if(cb(a,11809,4)){break q}r:{switch(G[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(g&2)){break e}c=sc(e+40|0,11510,a,b);F[f+172>>2]=c;if(c){break a}b=F[e+32>>2];a=F[e+40>>2];j=b,k=Ld(F[a+4>>2]),F[j+16>>2]=k;j=b,k=Ld(F[a+8>>2]),F[j+20>>2]=k;j=b,k=Ld(F[a+12>>2]),F[j+24>>2]=k;s:{if(F[e+48>>2]==5){a=he(F[a+16>>2]);if(a>>>0>=5){E[b+96>>1]=8;break s}if(a>>>0>=3){E[b+96>>1]=4;break s}if((a|0)==2){E[b+96>>1]=2;break s}E[b+96>>1]=1;break s}E[b+96>>1]=1}F[e>>2]=F[e>>2]|4;c=0;break a}if(cb(a,11901,5)){break j}t:{switch(G[a+5|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break j}}c=179;if(!(g&8)){break e}a=E[i+12>>1];F[i+40>>2]=a;F[f+16>>2]=a;a=f+32|0;of(a,f+16|0);c=sd(F[e+32>>2],12084,a);F[f+172>>2]=c;if(c){break a}a=F[e+32>>2];b=E[a+14>>1];F[a+44>>2]=b;F[f>>2]=b;a=f+32|0;of(a,f);c=sd(F[e+32>>2],12180,a);if(c){break a}F[d>>2]=4;c=-1;break e}c=3}F[f+172>>2]=c}Ga=f+176|0;return c|0}function Ge(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;l=Ga-16|0;Ga=l;F[l+12>>2]=0;F[a+1404>>2]=0;F[a+1392>>2]=0;F[a+56>>2]=0;F[a+44>>2]=0;F[a+36>>2]=0;F[a+24>>2]=0;e=F[a>>2];i=F[a+16>>2];m=F[a+8>>2];k=F[a+12>>2];t=F[a+4>>2];d=E[b>>1];a:{b:{c:{if(d>>>0<=8){if(F[a+40>>2]){break b}F[a+40>>2]=a+2760;c=8;break c}c=F[a+32>>2];if(c>>>0>=d>>>0){break b}h=c;c=d+3&-4;d=F[a+40>>2];if((d|0)==(a+2760|0)){F[a+40>>2]=0;d=0}w=a,x=Va(e,4,h,c,d,l+12|0),F[w+40>>2]=x;if(F[l+12>>2]){break a}}F[a+32>>2]=c}c=E[b+2>>1];d=c+2|0;d:{if(d>>>0<=96){if(F[a+28>>2]){break d}F[a+20>>2]=96;F[a+28>>2]=a+2792;break d}f=d;d=F[a+20>>2];if(f>>>0<=d>>>0){break d}h=c+11&-8;c=F[a+28>>2];if((c|0)==(a+2792|0)){F[a+28>>2]=0;c=0}w=a,x=Va(e,40,d,h,c,l+12|0),F[w+28>>2]=x;if(F[l+12>>2]){break a}F[a+20>>2]=h;c=E[b+2>>1]}F[a+24>>2]=c;c=E[b>>1];F[a+1416>>2]=-1;F[a+68>>2]=2;F[a+36>>2]=c;if((ml(b)|0)==1){F[a+1416>>2]=1;F[a+68>>2]=-2}F[a+12>>2]=k;F[a+4>>2]=t;F[a+2752>>2]=0;F[a+2756>>2]=0;F[a+16>>2]=i;F[a+8>>2]=m;p=F[a+24>>2];if(!p){break a}h=F[a+28>>2];r=h+L(p,40)|0;s=L(H[F[F[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;e=F[b+12>>2];if((p|0)>0){d=F[b+4>>2];n=F[b+8>>2];c=h;g=E[e>>1];f=c+L(g,40)|0;e=f;while(1){E[c+2>>1]=1028;j=F[d>>2];E[c+12>>1]=j;E[c+14>>1]=F[d+4>>2];j=Ua(j,t)+m|0;F[c+4>>2]=j;F[c+16>>2]=j;j=Ua(F[d+4>>2],k)+i|0;F[c+8>>2]=j;F[c+20>>2]=j;j=F[b+4>>2]+(g<<16>>16<<3)|0;E[f+12>>1]=F[j>>2];E[f+14>>1]=F[j+4>>2];j=G[n|0]&3;E[c>>1]=j?((j|0)==2)<<1:1;u=E[c+14>>1]-E[e+14>>1]|0;j=u>>31;v=E[c+12>>1]-E[e+12>>1]|0;q=v>>31;if((j^u)-j+((q^v)-q)>>>0>>0){E[e>>1]=H[e>>1]|32}F[c+36>>2]=e;F[e+32>>2]=c;e:{if((c|0)!=(f|0)){e=c;break e}o=o+1|0;if((o|0)>=E[b>>1]){e=c;f=c;break e}g=E[F[b+12>>2]+(o<<1)>>1];e=L(g,40)+h|0;f=e}n=n+1|0;d=d+8|0;c=c+40|0;if(r>>>0>c>>>0){continue}break}e=F[b+12>>2]}b=F[a+36>>2];f:{if((b|0)<=0){break f}c=F[a+40>>2];f=c+(b<<2)|0;d=0;while(1){F[c>>2]=L(d<<16>>16,40)+h;d=H[e>>1]+1|0;e=e+2|0;c=c+4|0;if(f>>>0>c>>>0){continue}break}if((b|0)<=0){break f}m=F[a+40>>2];j=m+(b<<2)|0;q=(s<<1)-1|0;while(1){d=F[m>>2];c=d;while(1){g:{f=c;n=E[c+12>>1];c=F[c+36>>2];if((d|0)==(c|0)){b=H[f+14>>1];break g}b=E[f+14>>1];g=b-E[c+14>>1]|0;a=g>>31;i=n-E[c+12>>1]|0;e=i>>31;if((q|0)>((a^g)-a+((e^i)-e)|0)){continue}}break}F[f+24>>2]=0;F[f+28>>2]=0;c=0;d=f;a=d;e=0;while(1){i=n<<16;g=b<<16;d=F[d+32>>2];b=E[d+14>>1];e=(b-(g>>16)|0)+e|0;g=e>>31;n=E[d+12>>1];c=(n-(i>>16)|0)+c|0;i=c>>31;g=(e^g)-g|0;i=(c^i)-i|0;h:{if(g+i>>>0>>0){E[d>>1]=H[d>>1]|16;break h}k=(d-a|0)/40|0;F[a+24>>2]=k;F[d+28>>2]=0-k;k=0-c|0;i:{if((c|0)<=(e|0)){i=(e|0)<(k|0);g=i?e:c;c=g>>31;g=(c^g)-c|0;c=i?k:e;o=i?-1:2;break i}o=1;if((e|0)>=(k|0)){break i}c=0-e|0;g=i;o=254}e=(L(g,14)|0)<(c|0)?o:4;D[a+3|0]=e;c=F[a+32>>2];if((d|0)!=(c|0)){while(1){D[c+3|0]=e;D[c+2|0]=e;c=F[c+32>>2];if((d|0)!=(c|0)){continue}break}}D[d+2|0]=e;a=(f-d|0)/40|0;F[d+24>>2]=a;c=0;F[f+28>>2]=0-a;a=d;e=0}if((d|0)!=(f|0)){continue}break}m=m+4|0;if(j>>>0>m>>>0){continue}break}}if((p|0)<=0){break a}c=h;while(1){e=H[c>>1];j:{if(e&16|G[c+2|0]!=4|G[c+3|0]!=4){break j}d=F[c+24>>2];a=L(d,40)+c|0;b=E[c+12>>1];i=E[a+12>>1]-b|0;g=b;f=F[c+28>>2];b=L(f,40)+c|0;if((i^g-E[b+12>>1])<0){break j}g=E[c+14>>1];if((g-E[b+14>>1]^E[a+14>>1]-g)<0){break j}E[c>>1]=e|16;e=b;b=(L(d-f|0,40)|0)/40|0;F[e+24>>2]=b;F[a+28>>2]=0-b}c=c+40|0;if(r>>>0>c>>>0){continue}break}if((p|0)<=0){break a}while(1){c=H[h>>1];k:{if(c&16){break k}l:{if(c&3){break l}a=G[h+3|0];b=G[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break l}c=E[h+12>>1];e=F[h+28>>2];a=L(e,40)+h|0;d=E[h+14>>1];f=F[h+24>>2];b=L(f,40)+h|0;if(!Gl(c-E[a+12>>1]|0,d-E[a+14>>1]|0,E[b+12>>1]-c|0,E[b+14>>1]-d|0)){break k}c=a;a=(L(f-e|0,40)|0)/40|0;F[c+24>>2]=a;F[b+28>>2]=0-a;c=H[h>>1];break l}if((0-(a<<24>>24)|0)!=b<<24>>24){break k}}E[h>>1]=c|16}h=h+40|0;if(r>>>0>h>>>0){continue}break}}Ga=l+16|0;return F[l+12>>2]}function Kc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=35;a:{if(!a|!F[a+88>>2]){break a}d=F[a+84>>2];if(!d){break a}b:{c:{e=F[d+156>>2];if(!e){break c}f=F[e+4>>2];if(!(f&1)){break c}g=F[d+88>>2];if(g){e=F[F[d+4>>2]+100>>2];Ia[F[e+8>>2]](e,g);e=F[d+156>>2];f=F[e+4>>2]}F[d+88>>2]=0;F[e+4>>2]=f&-2;break b}F[d+88>>2]=0}F[d+24>>2]=0;F[d+28>>2]=0;F[d+72>>2]=0;F[d+76>>2]=0;F[d+100>>2]=0;F[d+104>>2]=0;D[d+94|0]=0;F[d+32>>2]=0;F[d+36>>2]=0;F[d+40>>2]=0;F[d+44>>2]=0;F[d+48>>2]=0;F[d+52>>2]=0;F[d+56>>2]=0;F[d+60>>2]=0;F[d+80>>2]=0;F[d+84>>2]=0;F[d+108>>2]=0;F[d+112>>2]=0;F[d+116>>2]=0;F[d+120>>2]=0;F[d+124>>2]=0;F[d+128>>2]=0;F[d+132>>2]=0;F[d+136>>2]=0;F[d+140>>2]=0;F[d+144>>2]=0;F[d+148>>2]=0;F[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;h=c&4194304?c&-5:c;i=h&2;f=F[a+96>>2];g=F[F[f+4>>2]+160>>2];if(i|!g|h&32768){break e}e=F[a+8>>2];if((e&8193)!=1){break e}f:{if(h&2048){break f}j=F[a+128>>2];c=F[j>>2];if(!F[j+8>>2]){if(c){break f}break e}if(c){break e}}g:{if(h&32){break g}c=F[f>>2];if(!(G[c+1|0]&4)){break g}if(zb(Ia[F[c+32>>2]](f,8765)|0,9155)){c=F[f+28>>2]==1}else{c=0}if(!(c|(G[F[f>>2]+1|0]&8)>>>3|(h&983040)!=65536)){e=F[a+8>>2];break g}e=F[a+8>>2];if(!(e&8)|!F[a+760>>2]|(H[a+286>>1]|F[a+684>>2])){break e}if(F[a+692>>2]){break e}}h:{if(!(e&2)|h&8){break h}if(Ia[F[F[f+12>>2]+72>>2]](d,F[a+88>>2],b,h|16384)|0){break h}c=0;if(F[d+72>>2]==1651078259){break d}}e=F[a+128>>2];f=F[e+24>>2];F[e+24>>2]=0;c=Ia[F[F[F[g>>2]+20>>2]+12>>2]](g,d,F[a+88>>2],b,h)|0;F[e+24>>2]=f;break d}e=Ia[F[F[f+12>>2]+72>>2]](d,F[a+88>>2],b,h)|0;if(e){break a}c=0;if(F[d+72>>2]!=1869968492){break d}g=E[d+110>>1];j=E[d+108>>1];if((g|j)&65535){e=6;if((g|0)<=0|(j|0)<=0){break a}l=F[d+120>>2];f=-1;while(1){m=f;f=E[(k<<1)+l>>1];if((m|0)>=(f|0)|(f|0)>=(g|0)){break a}k=k+1|0;if((j|0)!=(k|0)){continue}break}if((g-1|0)!=(f|0)){break a}}if(i){break d}i:{if(h>>>4&1){F[d+32>>2]=F[d+32>>2]&-64;e=F[d+44>>2];f=e&-64;F[d+44>>2]=f;g=F[d+48>>2];i=g&-64;F[d+48>>2]=i;F[d+36>>2]=F[d+36>>2]+63&-64;F[d+24>>2]=((e+F[d+24>>2]|0)+63&-64)-f;F[d+28>>2]=((g+F[d+28>>2]|0)+63&-64)-i;break i}F[d+44>>2]=F[d+44>>2]&-64;F[d+48>>2]=F[d+48>>2]&-64;e=F[d+32>>2];f=e&-64;F[d+32>>2]=f;g=F[d+36>>2];i=g+63&-64;F[d+36>>2]=i;F[d+28>>2]=i-(g-F[d+28>>2]&-64);F[d+24>>2]=((e+F[d+24>>2]|0)+63&-64)-f}F[d+40>>2]=F[d+40>>2]+32&-64;F[d+52>>2]=F[d+52>>2]+32&-64}j:{if(h&16){f=0;e=F[d+52>>2];break j}f=F[d+40>>2];e=0}F[d+64>>2]=f;F[d+68>>2]=e;if(!(!(D[a+8|0]&1)|h&8192)){e=F[a+88>>2];n=d,o=bb(F[d+56>>2],F[e+16>>2],64),F[n+56>>2]=o;n=d,o=bb(F[d+60>>2],F[e+20>>2],64),F[n+60>>2]=o}k:{if(h&2048){break k}i=F[a+128>>2];g=F[i+24>>2];if(!g){break k}l:{m:{a=F[F[F[d+4>>2]+96>>2]+4>>2];e=F[a+156>>2];n:{if(!e){f=F[d+72>>2];break n}f=F[d+72>>2];if((f|0)==F[e+16>>2]){break m}}a=F[a+148>>2];if(a){while(1){e=F[a+8>>2];if(F[e+16>>2]==(f|0)){break m}a=F[a+4>>2];if(a){continue}break}}o:{if((f|0)!=1869968492){break o}if(g&1){Pc(d+108|0,i);g=F[i+24>>2]}if(!(g&2)){break o}j=E[d+110>>1];if((j|0)<=0){break o}f=F[i+20>>2];g=F[i+16>>2];a=F[d+112>>2];if(j-1>>>0>=3){k=j&-4;e=0;while(1){F[a>>2]=g+F[a>>2];F[a+4>>2]=f+F[a+4>>2];F[a+8>>2]=g+F[a+8>>2];F[a+16>>2]=g+F[a+16>>2];F[a+24>>2]=g+F[a+24>>2];F[a+12>>2]=f+F[a+12>>2];F[a+20>>2]=f+F[a+20>>2];F[a+28>>2]=f+F[a+28>>2];a=a+32|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}j=j&3;if(!j){break o}e=0;while(1){F[a>>2]=g+F[a>>2];F[a+4>>2]=f+F[a+4>>2];a=a+8|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}break l}c=Ia[F[F[e+12>>2]+44>>2]](e,d,i,i+16|0)|0}jf(d- -64|0,i)}e=c;F[d+12>>2]=b;F[F[d+156>>2]+40>>2]=h;if(e){break a}e=0;if(h&1){break a}a=F[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=h>>>16&15;a=a?a:h>>>11&2;if(h&4){b=F[d+4>>2];if(!b){return 6}return Il(F[F[b+96>>2]+4>>2],d,a)|0}Rg(d,a,0)}return e|0}function ro(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=L(b,c)+a|0;if(b>>>0>=10){p=0-c|0;q=c-1&3;o=c-2>>>0<3;while(1){j=a+c|0;g=F[j+4>>2];h=L(b>>>1|0,c)+a|0;f=F[h+4>>2];e=cb(F[j>>2],F[h>>2],f>>>0>g>>>0?g:f);f=((e?e:g-f|0)|0)>0;d=f?j:h;g=L(b-1|0,c);l=g+a|0;k=l+p|0;e=F[k>>2];i=F[d+4>>2];m=F[k+4>>2];b=cb(F[d>>2],e,i>>>0>>0?i:m);if(((b?b:i-m|0)|0)>0){b=f?h:j;f=F[b+4>>2];i=b;b=cb(F[b>>2],e,f>>>0>>0?f:m);d=((b?b:f-m|0)|0)>0?i:k}if(!((d|0)==(l|0)|(c|0)<=0)){f=c+d|0;b=l;while(1){e=G[d|0];D[d|0]=G[b|0];D[b|0]=e;b=b+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}a:{if((g|0)<=0){h=0;break a}f=l;e=f;j=a;h=a;b:while(1){c:{if(e>>>0<=h>>>0){break c}while(1){g=F[h>>2];k=F[l>>2];i=F[h+4>>2];d=F[l+4>>2];b=cb(g,k,d>>>0>i>>>0?i:d);b=b?b:i-d|0;if((b|0)>0){g=e;d:{if(e>>>0<=h>>>0){break d}while(1){e:{f:{e=g+p|0;m=F[e>>2];i=F[e+4>>2];b=cb(m,k,d>>>0>i>>>0?i:d);b=b?b:i-d|0;if(!b){i=f+p|0;if((c|0)<=0|f>>>0<=g>>>0){break f}D[e|0]=G[i|0];D[i|0]=m;d=e+1|0;if(g>>>0<=d>>>0){break f}k=0;b=i;if(q){while(1){f=G[d|0];D[d|0]=G[b+1|0];D[b+1|0]=f;d=d+1|0;b=b+1|0;k=k+1|0;if((q|0)!=(k|0)){continue}break}}if(o){break f}while(1){f=G[d|0];D[d|0]=G[b+1|0];D[b+1|0]=f;f=G[d+1|0];D[d+1|0]=G[b+2|0];D[b+2|0]=f;f=G[d+2|0];D[d+2|0]=G[b+3|0];D[b+3|0]=f;f=G[d+3|0];D[d+3|0]=G[b+4|0];D[b+4|0]=f;b=b+4|0;d=d+4|0;if(g>>>0>d>>>0){continue}break}break f}if((b|0)>=0){break e}g:{if((c|0)<=0|e>>>0<=h>>>0){break g}b=G[h|0];D[h|0]=m;D[e|0]=b;if((c|0)==1){break g}i=c+h|0;d=h+1|0;b=e;while(1){g=G[d|0];D[d|0]=G[b+1|0];D[b+1|0]=g;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}h=c+h|0;break d}f=i}if(e>>>0<=h>>>0){break d}k=F[l>>2];d=F[l+4>>2];g=e;continue}}if(e>>>0>h>>>0){continue b}break c}if(!b){h:{if((c|0)<=0|h>>>0<=j>>>0){break h}b=G[j|0];D[j|0]=g;D[h|0]=b;if((c|0)==1){break h}i=c+j|0;d=j+1|0;b=h;while(1){g=G[d|0];D[d|0]=G[b+1|0];D[b+1|0]=g;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}j=c+j|0}h=c+h|0;if(h>>>0>>0){continue}break}}break}g=e-j|0;i:{if((a|0)==(j|0)|(e|0)==(j|0)){break i}b=j-a|0;if(b>>>0>g>>>0){if((g|0)<=0){break i}l=a+g|0;d=a+b|0;b=a;while(1){i=G[b|0];D[b|0]=G[d|0];D[d|0]=i;d=d+1|0;b=b+1|0;if(l>>>0>b>>>0){continue}break}break i}if((b|0)<=0){break i}l=a+b|0;d=a+g|0;b=a;while(1){i=G[b|0];D[b|0]=G[d|0];D[d|0]=i;d=d+1|0;b=b+1|0;if(l>>>0>b>>>0){continue}break}}h=f-e|0;if((e|0)==(f|0)|(f|0)==(n|0)){break a}b=n-f|0;if(b>>>0>>0){if((b|0)<=0){break a}f=b+e|0;d=e+h|0;while(1){b=G[e|0];D[e|0]=G[d|0];D[d|0]=b;d=d+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}break a}if((h|0)<=0){break a}f=e+h|0;d=b+e|0;while(1){b=G[e|0];D[e|0]=G[d|0];D[d|0]=b;d=d+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}ro(a,(g>>>0)/(c>>>0)|0,c);a=n-h|0;b=(h>>>0)/(c>>>0)|0;n=a+L(c,b)|0;if(b>>>0>=10){continue}break}}f=a+c|0;j:{if(n>>>0<=f>>>0){break j}m=0-c|0;if((c|0)>0){o=c+2&3;i=c-3>>>0<3;while(1){k=f;k:{if(a>>>0>=f>>>0){break k}while(1){e=k;k=e+m|0;j=F[k>>2];g=F[e>>2];h=F[k+4>>2];l=F[e+4>>2];b=cb(j,g,h>>>0>>0?h:l);if(((b?b:h-l|0)|0)<=0){break k}D[k|0]=g;D[e|0]=j;b=k+1|0;l:{if(b>>>0>=e>>>0){break l}D[b|0]=G[e+1|0];D[e+1|0]=j>>>8;d=b+1|0;if((e|0)==(d|0)){break l}b=e+1|0;h=0;if(o){while(1){g=G[d|0];D[d|0]=G[b+1|0];D[b+1|0]=g;d=d+1|0;b=b+1|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}if(i){break l}while(1){g=G[d|0];D[d|0]=G[b+1|0];D[b+1|0]=g;g=G[d+1|0];D[d+1|0]=G[b+2|0];D[b+2|0]=g;g=G[d+2|0];D[d+2|0]=G[b+3|0];D[b+3|0]=g;g=G[d+3|0];D[d+3|0]=G[b+4|0];D[b+4|0]=g;b=b+4|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}}if(a>>>0>>0){continue}break}}f=c+f|0;if(n>>>0>f>>>0){continue}break}break j}while(1){m:{if(a>>>0>=f>>>0){break m}e=F[f>>2];d=F[f+4>>2];b=f;while(1){b=b+m|0;g=F[b>>2];i=F[b+4>>2];e=cb(g,e,d>>>0>i>>>0?i:d);if(((e?e:i-d|0)|0)<=0){break m}e=g;d=i;if(a>>>0>>0){continue}break}}f=c+f|0;if(n>>>0>f>>>0){continue}break}}}function GB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Ga-48|0;Ga=e;F[b+72>>2]=0;a:{c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(n){q=n-1|0;a=a+8|0;while(1){c=G[a+4|0];b:{if(c&32){break b}f=F[b+16>>2];d=F[f+40>>2];if(((d&-2)!=4|0)==(c<<24>>24>=0|0)){break b}c=F[b+8>>2];F[e+16>>2]=h;if(!mb(f,c,106245,e+16|0)){break b}h=d&-3;g=1;c:{if(j){break c}g=0;if(!(G[a+4|0]&64)){break c}j=F[b+16>>2];f=F[j+68>>2];g=1;if(!f){break c}d=F[j+88>>2];j=0;if((f|0)!=1){g=f&-2;c=0;while(1){i=d+L(j,20)|0;D[i+18|0]=2;E[i+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;i=d+L(j|1,20)|0;D[i+18|0]=2;E[i+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;j=j+2|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}g=1;if(!(f&1)){break c}c=d+L(j,20)|0;D[c+18|0]=2;E[c+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;g=1}j=g;k=(h|0)!=5;d:{if(k){break d}h=F[b+16>>2];i=F[h+68>>2];if(i>>>0>=2){m=F[h+80>>2];c=i-1|0;f=0;while(1){g=m+L(c,20)|0;d=g;F[e+40>>2]=F[d+16>>2];l=F[d+12>>2];F[e+32>>2]=F[d+8>>2];F[e+36>>2]=l;l=F[d+4>>2];F[e+24>>2]=F[d>>2];F[e+28>>2]=l;d=m+L(f,20)|0;F[g+16>>2]=F[d+16>>2];l=F[d+12>>2];F[g+8>>2]=F[d+8>>2];F[g+12>>2]=l;l=F[d+4>>2];F[g>>2]=F[d>>2];F[g+4>>2]=l;F[d+16>>2]=F[e+40>>2];g=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=g;g=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=g;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}if(!G[h+62|0]){break d}c=F[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break d}g=F[h+88>>2];c=c-1|0;f=0;while(1){h=g+L(c,20)|0;d=h;F[e+40>>2]=F[d+16>>2];i=F[d+12>>2];F[e+32>>2]=F[d+8>>2];F[e+36>>2]=i;i=F[d+4>>2];F[e+24>>2]=F[d>>2];F[e+28>>2]=i;d=g+L(f,20)|0;F[h+16>>2]=F[d+16>>2];i=F[d+12>>2];F[h+8>>2]=F[d+8>>2];F[h+12>>2]=i;i=F[d+4>>2];F[h>>2]=F[d>>2];F[h+4>>2]=i;F[d+16>>2]=F[e+40>>2];h=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=h;h=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=h;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}f=F[b+52>>2];c=F[f+12>>2];F[b+24>>2]=c;f=c+F[f+16>>2]|0;F[b+28>>2]=f;e:{if(!a|o>>>0>=q>>>0){break e}if(!(a>>>0>>0&a>>>0>=c>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break e}F[b+24>>2]=a;f=f-a|0;c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);F[b+28>>2]=(c>>>0>f>>>0?f:c)+a}F[61902]=0;l=aa(713,a|0,b|0)|0;c=F[61902];F[61902]=0;if((c|0)==1){break a}c=F[b+52>>2];f=F[c+12>>2];F[b+24>>2]=f;F[b+28>>2]=f+F[c+16>>2];f:{if(k){break f}h=F[b+16>>2];i=F[h+68>>2];if(i>>>0>=2){m=F[h+80>>2];c=i-1|0;f=0;while(1){g=m+L(c,20)|0;d=g;F[e+40>>2]=F[d+16>>2];k=F[d+12>>2];F[e+32>>2]=F[d+8>>2];F[e+36>>2]=k;k=F[d+4>>2];F[e+24>>2]=F[d>>2];F[e+28>>2]=k;d=m+L(f,20)|0;F[g+16>>2]=F[d+16>>2];k=F[d+12>>2];F[g+8>>2]=F[d+8>>2];F[g+12>>2]=k;k=F[d+4>>2];F[g>>2]=F[d>>2];F[g+4>>2]=k;F[d+16>>2]=F[e+40>>2];g=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=g;g=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=g;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}if(!G[h+62|0]){break f}c=F[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break f}g=F[h+88>>2];c=c-1|0;f=0;while(1){h=g+L(c,20)|0;d=h;F[e+40>>2]=F[d+16>>2];i=F[d+12>>2];F[e+32>>2]=F[d+8>>2];F[e+36>>2]=i;i=F[d+4>>2];F[e+24>>2]=F[d>>2];F[e+28>>2]=i;d=g+L(f,20)|0;F[h+16>>2]=F[d+16>>2];i=F[d+12>>2];F[h+8>>2]=F[d+8>>2];F[h+12>>2]=i;i=F[d+4>>2];F[h>>2]=F[d>>2];F[h+4>>2]=i;F[d+16>>2]=F[e+40>>2];h=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=h;h=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=h;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}p=l|p;c=F[b+8>>2];f=F[b+16>>2];F[e>>2]=F[b+72>>2];mb(f,c,106272,e)}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);h=F[b+72>>2]+1|0;F[b+72>>2]=h;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;o=o+1|0;if((n|0)!=(o|0)){continue}break}}Ga=e+48|0;return p&1}a=Z()|0;Y()|0;c=F[b+52>>2];j=F[c+12>>2];F[b+24>>2]=j;F[b+28>>2]=j+F[c+16>>2];$(a|0);V()}function Di(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=1;a:{b:{c:{switch(G[a+7|0]){case 0:d=0;f=F[b+4>>2];e=a+12|0;if(f>>>0>e>>>0){break b}c=F[b+8>>2];if(c>>>0>>0|c-e>>>0<8){break b}g=F[b+12>>2]-8|0;F[b+12>>2]=g;if((g|0)<=0){break b}e=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>715827881){break b}if(e){a=a+28|0;if(a>>>0>>0|a>>>0>c>>>0){break b}c=c-a|0;a=L(e,6);if(c>>>0>>0){break b}a=g-a|0;F[b+12>>2]=a;if((a|0)<=0){break b}}return 1;case 1:d=0;if(I[b+4>>2]>a>>>0){break b}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=F[b+12>>2]-32|0;F[b+12>>2]=c;if((c|0)<=0){break b}break a;case 2:d=0;e=F[b+4>>2];d:{if(e>>>0>a>>>0){break d}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break d}g=F[b+12>>2];f=g-28|0;F[b+12>>2]=f;if((f|0)<=0){break d}f=e;e=a+16|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<4){break d}c=g-32|0;F[b+12>>2]=c;if((c|0)<=0){break d}c=D[e|0];if((c|0)<0){break d}e:{if(!yc((G[a+19|0]|(G[a+17|0]<<16|(c&255)<<24|G[a+18|0]<<8))+a|0,b)){break e}c=a+20|0;if(c>>>0>2]){break e}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}d=F[b+12>>2]-4|0;F[b+12>>2]=d;if((d|0)<=0){break e}d=0;c=D[c|0];if((c|0)<0){break d}if(!yc((G[a+23|0]|(G[a+21|0]<<16|(c&255)<<24|G[a+22|0]<<8))+a|0,b)){break e}d=1;c=G[a+24|0]|G[a+25|0]<<8|(G[a+26|0]<<16|G[a+27|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break d}if(I[b+4>>2]>a>>>0){break e}e=F[b+8>>2];if(e>>>0>>0){break e}d=0;if(c>>>0>e-a>>>0){break d}a=F[b+12>>2]-c|0;F[b+12>>2]=a;d=(a|0)>0;break d}d=0}return d|0;case 4:d=0;if(I[b+4>>2]>a>>>0){break b}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=F[b+12>>2]-32|0;F[b+12>>2]=c;if((c|0)<=0){break b}break a;case 6:break c;default:break b}}f:{g:{c=F[b+4>>2];if(c>>>0>a>>>0){break g}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<36){break g}e=F[b+12>>2];g=e-36|0;F[b+12>>2]=g;if((g|0)<=0){break g}h:{i:{if(D[a+15|0]&1){f=c;c=a+20|0;if(f>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<4){break g}d=e-40|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=0;c=D[c|0];if((c|0)<0){break g}if(!Ci((G[a+23|0]|(G[a+21|0]<<16|(c&255)<<24|G[a+22|0]<<8))+a|0,b)){break h}c=a+24|0;if(c>>>0>2]){break h}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break h}e=F[b+12>>2]-4|0;F[b+12>>2]=e;if((e|0)<=0){break h}c=D[c|0];if((c|0)<0){break h}if(!Ci((G[a+27|0]|(G[a+25|0]<<16|(c&255)<<24|G[a+26|0]<<8))+a|0,b)){break g}d=G[a+28|0]|G[a+29|0]<<8|(G[a+30|0]<<16|G[a+31|0]<<24);c=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!c){break i}if(I[b+4>>2]>a>>>0){break g}e=F[b+8>>2];if(e>>>0>>0){break g}d=0;if(c>>>0>e-a>>>0){break h}c=F[b+12>>2]-c|0;F[b+12>>2]=c;if((c|0)>0){break i}break h}f=c;c=a+20|0;if(f>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<4){break g}d=e-40|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=0;c=D[c|0];if((c|0)<0){break g}if(!yc((G[a+23|0]|(G[a+21|0]<<16|(c&255)<<24|G[a+22|0]<<8))+a|0,b)){break h}c=a+24|0;if(c>>>0>2]){break h}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break h}e=F[b+12>>2]-4|0;F[b+12>>2]=e;if((e|0)<=0){break h}c=D[c|0];if((c|0)<0){break h}if(!yc((G[a+27|0]|(G[a+25|0]<<16|(c&255)<<24|G[a+26|0]<<8))+a|0,b)){break g}d=G[a+28|0]|G[a+29|0]<<8|(G[a+30|0]<<16|G[a+31|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break i}if(I[b+4>>2]>a>>>0){break g}c=F[b+8>>2];if(c>>>0>>0|d>>>0>c-a>>>0){break g}c=F[b+12>>2]-d|0;F[b+12>>2]=c;d=0;if((c|0)<=0){break h}}d=1;c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);if(!(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break h}c=G[a+32|0]|G[a+33|0]<<8|(G[a+34|0]<<16|G[a+35|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break h}if(I[b+4>>2]>a>>>0){break g}e=F[b+8>>2];if(e>>>0>>0){break g}d=0;if(c>>>0>e-a>>>0){break h}a=F[b+12>>2]-c|0;F[b+12>>2]=a;d=(a|0)>0}break f}d=0}}return d|0}return Ni(a+12|0,b)|0}function mq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Ga-48|0;Ga=e;F[b+72>>2]=0;a:{c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(m){q=m-1|0;h=a+8|0;a=0;while(1){c=F[b+16>>2];d=F[c+40>>2];f=D[h+4|0];b:{if(((d&-2)!=4|0)==((f|0)>=0|0)){break b}g=F[b+8>>2];F[e+16>>2]=a;if(!mb(c,g,106160,e+16|0)){break b}k=(f&16)>>>4^(d&-3)!=5;a=1;c:{if(n){break c}a=0;if(!(G[h+4|0]&64)){break c}d=F[b+16>>2];c=F[d+68>>2];a=1;if(!c){break c}d=F[d+88>>2];f=0;if((c|0)!=1){n=c&-2;a=0;while(1){g=d+L(f,20)|0;D[g+18|0]=2;E[g+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;g=d+L(f|1,20)|0;D[g+18|0]=2;E[g+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;f=f+2|0;a=a+2|0;if((n|0)!=(a|0)){continue}break}}a=1;if(!(c&1)){break c}a=d+L(f,20)|0;D[a+18|0]=2;E[a+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;a=1}n=a;d:{if(k){break d}g=F[b+16>>2];i=F[g+68>>2];if(i>>>0>=2){l=F[g+80>>2];a=i-1|0;f=0;while(1){c=l+L(a,20)|0;F[e+40>>2]=F[c+16>>2];d=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=d;d=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=d;d=l+L(f,20)|0;F[c+16>>2]=F[d+16>>2];j=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=j;j=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=j;F[d+16>>2]=F[e+40>>2];c=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=c;c=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}if(!G[g+62|0]){break d}a=F[g+68>>2];a=a>>>0>>0?a:i;if(a>>>0<2){break d}g=F[g+88>>2];a=a-1|0;f=0;while(1){c=g+L(a,20)|0;F[e+40>>2]=F[c+16>>2];d=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=d;d=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=d;d=g+L(f,20)|0;F[c+16>>2]=F[d+16>>2];i=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=i;i=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=i;F[d+16>>2]=F[e+40>>2];c=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=c;c=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}c=F[b+52>>2];a=F[c+12>>2];F[b+24>>2]=a;c=a+F[c+16>>2]|0;F[b+28>>2]=c;e:{if(!h|o>>>0>=q>>>0){break e}if(!(a>>>0<=h>>>0&c>>>0>h>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break e}F[b+24>>2]=h;c=c-h|0;a=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);F[b+28>>2]=(a>>>0>c>>>0?c:a)+h}F[61902]=0;l=aa(589,h|0,b|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break a}a=F[b+52>>2];c=F[a+12>>2];F[b+24>>2]=c;F[b+28>>2]=c+F[a+16>>2];f:{if(k){break f}g=F[b+16>>2];i=F[g+68>>2];if(i>>>0>=2){k=F[g+80>>2];a=i-1|0;f=0;while(1){c=k+L(a,20)|0;F[e+40>>2]=F[c+16>>2];d=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=d;d=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=d;d=k+L(f,20)|0;F[c+16>>2]=F[d+16>>2];j=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=j;j=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=j;F[d+16>>2]=F[e+40>>2];c=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=c;c=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}if(!G[g+62|0]){break f}a=F[g+68>>2];a=a>>>0>>0?a:i;if(a>>>0<2){break f}g=F[g+88>>2];a=a-1|0;f=0;while(1){c=g+L(a,20)|0;F[e+40>>2]=F[c+16>>2];d=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=d;d=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=d;d=g+L(f,20)|0;F[c+16>>2]=F[d+16>>2];i=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=i;i=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=i;F[d+16>>2]=F[e+40>>2];c=F[e+36>>2];F[d+8>>2]=F[e+32>>2];F[d+12>>2]=c;c=F[e+28>>2];F[d>>2]=F[e+24>>2];F[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}p=l|p;a=F[b+8>>2];c=F[b+16>>2];F[e>>2]=F[b+72>>2];mb(c,a,106186,e)}c=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);a=F[b+72>>2]+1|0;F[b+72>>2]=a;h=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+h|0;o=o+1|0;if((m|0)!=(o|0)){continue}break}}Ga=e+48|0;return p&1}a=Z()|0;Y()|0;c=F[b+52>>2];d=F[c+12>>2];F[b+24>>2]=d;F[b+28>>2]=d+F[c+16>>2];$(a|0);V()}function Wm(a,b){var c=0,d=0,e=0,f=0,g=M(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ga-32|0;Ga=j;h=F[b+100>>2];d=G[a+2|0]|G[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}c=qb(c,F[F[h+80>>2]+L(F[h+64>>2],20)>>2]);i=G[a+4|0]|G[a+5|0]<<8;n=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:163632;d=0;a:{if(!(G[n|0]|G[n+1|0]<<8)){break a}d=F[h+64>>2];F[b+40>>2]=1;F[b+4>>2]=d;c=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[c+68>>2];D[b+24|0]=(d|0)==F[c+64>>2]?G[(F[c+80>>2]+L(d,20)|0)+15|0]:0;c=b+4|0;if(!Tc(c,j+28|0)){d=0;if(!(G[h+16|0]&64)){break a}wb(h,2,F[j+28>>2],F[h+64>>2]+1|0,0,1);d=0;break a}d=G[a+2|0]|G[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}d=qb(d,F[F[h+80>>2]+L(F[c>>2],20)>>2]);i=G[a+4|0]|G[a+5|0]<<8;d=d>>>0<((i<<8|i>>>8)&65535)>>>0?((d<<2)+a|0)+6|0:163632;r=G[d+2|0]|G[d+3|0]<<8;if(!r){d=0;if(!(G[h+16|0]&64)){break a}wb(h,2,F[c>>2],F[h+64>>2]+1|0,0,1);d=0;break a}d=F[h+68>>2];i=F[h+64>>2];o=d>>>0>>0?d:i;d=F[c>>2];p=o-d|0;b:{if(p>>>0<2){break b}k=F[h+144>>2]|32;F[h+144>>2]=k;if(d>>>0>=o>>>0){break b}m=F[h+80>>2];f=-1;c=d;s=(c^-1)+o|0;if(s>>>0>=3){q=p&-4;while(1){e=L(c,20)+m|0;l=F[e+8>>2];f=f>>>0>>0?f:l;l=F[e+28>>2];f=f>>>0>>0?f:l;l=F[e+48>>2];f=f>>>0>>0?f:l;e=F[e+68>>2];f=f>>>0>>0?f:e;c=c+4|0;t=t+4|0;if((q|0)!=(t|0)){continue}break}}q=p&3;if(q){e=0;while(1){l=F[(L(c,20)+m|0)+8>>2];f=f>>>0>>0?f:l;c=c+1|0;e=e+1|0;if((q|0)!=(e|0)){continue}break}}c=d;if(p&1){c=L(d,20)+m|0;if(F[c+8>>2]!=(f|0)){F[h+144>>2]=k;F[c+4>>2]=F[c+4>>2]|3}c=d+1|0}if(!s){break b}while(1){e=L(c,20)+m|0;if(F[e+8>>2]!=(f|0)){k=k|32;F[h+144>>2]=k;F[e+4>>2]=F[e+4>>2]|3}e=L(c+1|0,20)+m|0;if(F[e+8>>2]!=(f|0)){k=k|32;F[h+144>>2]=k;F[e+4>>2]=F[e+4>>2]|3}c=c+2|0;if((o|0)!=(c|0)){continue}break}}Af(((r<<8|r>>>8)&65535)+a|0,b,F[F[h+80>>2]+L(d,20)>>2],j+16|0,j+12|0);c=G[n|0]|G[n+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}Af(a,b,F[F[h+80>>2]+L(i,20)>>2],j+24|0,j+20|0);f=F[h+88>>2];c:{d:{e:{f:{g:{k=F[b+116>>2];switch(k-4|0){case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break c}}c=f+L(d,20)|0;g=M(M(R(M(J[j+16>>2]+M(.5))))+M(F[c+8>>2]));h:{if(M(N(g))>2]=a;a=f+L(i,20)|0;e=F[a+8>>2];g=M(M(R(M(J[j+24>>2]+M(.5))))+M(e|0));i:{if(M(N(g))>2]=e-c;F[a>>2]=F[a>>2]-c;break c}a=f+L(d,20)|0;e=F[a+8>>2];g=M(M(R(M(J[j+16>>2]+M(.5))))+M(e|0));j:{if(M(N(g))>2]=e-c;F[a>>2]=F[a>>2]-c;a=f+L(i,20)|0;g=M(M(R(M(J[j+24>>2]+M(.5))))+M(F[a+8>>2]));if(M(N(g))>2]=~~g;break c}F[a>>2]=-2147483648;break c}c=f+L(d,20)|0;g=M(M(R(M(J[j+12>>2]+M(.5))))+M(F[c+12>>2]));k:{if(M(N(g))>2]=a;a=f+L(i,20)|0;e=F[a+12>>2];g=M(M(R(M(J[j+20>>2]+M(.5))))+M(e|0));l:{if(M(N(g))>2]=e-c;F[a+4>>2]=F[a+4>>2]-c;break c}a=f+L(d,20)|0;e=F[a+12>>2];g=M(M(R(M(J[j+12>>2]+M(.5))))+M(e|0));m:{if(M(N(g))>2]=e-c;F[a+4>>2]=F[a+4>>2]-c;c=f+L(i,20)|0;g=M(R(M(J[j+20>>2]+M(.5))));n:{if(M(N(g))>2]=a}a=G[b+132|0];g=M(J[j+20>>2]-J[j+12>>2]);o:{if(M(N(g))>2]-J[j+16>>2]);p:{if(M(N(g))>1]=d-a;D[i+18|0]=2;F[h+144>>2]=F[h+144>>2]|8;r:{if((F[b+116>>2]&-2)==4){F[i+12>>2]=c;break r}F[i+8>>2]=e}a=f+L(d,20)|0;if(E[a+16>>1]==(0-E[i+16>>1]|0)){E[a+16>>1]=0}F[h+64>>2]=F[h+64>>2]+1;d=1}Ga=j+32|0;return d}function bn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=Ga-16|0;Ga=r;a:{if(I[b+4>>2]>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=F[b+12>>2]-4|0;F[b+12>>2]=d;if((G[a|0]|G[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Hn(a+4|0,b,a)){break a}if(!Gn(a+6|0,b,a)){break a}n=a+8|0;if(n>>>0>2]){break a}d=F[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break a}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[n|0]|G[n+1|0]<<8;b:{if(!d){break b}k=((d<<8|d>>>8)&65535)+a|0;F[r+12>>2]=k;e=F[b+4>>2];c:{d:{if(e>>>0>k>>>0){break d}f=F[b+8>>2];if(f>>>0>>0|f-k>>>0<2){break d}g=F[b+12>>2]-2|0;F[b+12>>2]=g;if((g|0)<=0){break d}h=G[k|0]|G[k+1|0]<<8;d=1;if(!h){break c}d=k+2|0;if(d>>>0>>0|d>>>0>f>>>0){break d}j=f-d|0;d=(h<<8|h>>>8)&65535;f=d<<1;if(j>>>0>>0){break d}f=g-f|0;F[b+12>>2]=f;if((f|0)<=0){break d}l=k+2|0;if(e>>>0>l>>>0){break d}v=d>>>0>1?d:1;while(1){e:{c=F[b+8>>2];if(c>>>0>>0|c-l>>>0<2){break e}d=F[r+12>>2];c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break e}c=G[l|0]|G[l+1|0]<<8;f:{if(!c){break f}g=0;p=Ga-16|0;Ga=p;f=d+((c<<8|c>>>8)&65535)|0;d=F[b+4>>2];g:{if(f>>>0>>0){break g}c=F[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break g}e=F[b+12>>2];h=e-6|0;F[b+12>>2]=h;if((h|0)<=0){break g}h=f+4|0;if(h>>>0>>0|c>>>0>>0|c-h>>>0<2){break g}e=e-8|0;F[b+12>>2]=e;if((e|0)<=0){break g}q=G[f+4|0]|G[f+5|0]<<8;u=q<<8|q>>>8;s=u&65535;m=s<<1;if(q){i=f+6|0;if(i>>>0>>0|c>>>0>>0|m>>>0>c-i>>>0){break g}e=e-m|0;F[b+12>>2]=e;if((e|0)<=0){break g}}i=F[b+16>>2]+s|0;F[b+16>>2]=i;if((i|0)>16383){break g}if(G[f+3|0]&16){j=d;d=(f+m|0)+6|0;if(j>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break g}F[b+12>>2]=e-2;if((e|0)<3){break g}}F[p+12>>2]=f;c=G[f|0]|G[f+1|0]<<8;F[p+8>>2]=(c<<8|c>>>8)&65535;d=0;m=F[b+4>>2];h:{i:{if(m>>>0>h>>>0){break i}e=F[b+8>>2];if(e>>>0>>0|e-h>>>0<2){break i}i=F[b+12>>2]-2|0;F[b+12>>2]=i;if((i|0)<=0){break i}o=G[h|0]|G[h+1|0]<<8;j=1;if(!o){break h}c=h+2|0;if(m>>>0>c>>>0|c>>>0>e>>>0){break i}o=(o<<8|o>>>8)&65535;j=o<<1;if(j>>>0>e-c>>>0){break i}c=i-j|0;F[b+12>>2]=c;if((c|0)<=0){break i}e=h+2|0;if(m>>>0>e>>>0){break i}m=o>>>0>1?o:1;c=0;while(1){j:{d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break j}i=F[p+12>>2];d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break j}d=G[e|0]|G[e+1|0]<<8;k:{if(!d){break k}if(an(i+((d<<8|d>>>8)&65535)|0,b,F[p+8>>2])){break k}d=F[b+28>>2];if(d>>>0>31){break j}F[b+28>>2]=d+1;if(!G[b+24|0]){break j}D[e|0]=0;D[e+1|0]=0}d=1;c=c+1|0;if((m|0)==(c|0)){break i}e=(h+(c<<1)|0)+2|0;if(e>>>0>=I[b+4>>2]){continue}}break}d=0}j=d}if(!j){break g}g=1;if(F[b+28>>2]|(!q|(G[f|0]|G[f+1|0]<<8)!=2304)){break g}d=0;c=H[81816];e=G[f+4|0]|G[f+5|0]<<8;g=e?G[f+6|0]|G[f+7|0]<<8:c;l:{if(!(g&65535)){g=163632;break l}g=f+((g<<8|(g&65280)>>>8)&65535)|0;c=G[g|0]|G[g+1|0]<<8}if((c&65535)==256){c=G[g+2|0]|G[g+3|0]<<8;d=(c<<8|c>>>8)&65535}c=1;if((u&65535)>>>0<2){g=1;break g}q=(e<<8|e>>>8)&65535;while(1){g=163632;e=c>>>0>>0?(h+(c<<1)|0)+2|0:163632;e=G[e|0]|G[e+1|0]<<8;if(e){g=f+((e<<8|e>>>8)&65535)|0}e=0;if((G[g|0]|G[g+1|0]<<8)==256){e=G[g+2|0]|G[g+3|0]<<8;e=(e<<8|e>>>8)&65535}g=(d|0)==(e|0);if((d|0)!=(e|0)){break g}c=c+1|0;if((s|0)!=(c|0)){continue}break}}Ga=p+16|0;if(g){break f}c=F[b+28>>2];if(c>>>0>31){break e}F[b+28>>2]=c+1;if(!G[b+24|0]){break e}D[l|0]=0;D[l+1|0]=0}c=1;t=t+1|0;if((v|0)==(t|0)){break d}l=((t<<1)+k|0)+2|0;if(l>>>0>=I[b+4>>2]){continue}}break}c=0}d=c}if(d){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[n|0]=0;D[n+1|0]=0}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!Fn(a+10|0,b,a)){break a}}w=1}Ga=r+16|0;return w}function In(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=Ga-16|0;Ga=r;a:{if(I[b+4>>2]>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=F[b+12>>2]-4|0;F[b+12>>2]=d;if((G[a|0]|G[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Hn(a+4|0,b,a)){break a}if(!Gn(a+6|0,b,a)){break a}n=a+8|0;if(n>>>0>2]){break a}d=F[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break a}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[n|0]|G[n+1|0]<<8;b:{if(!d){break b}k=((d<<8|d>>>8)&65535)+a|0;F[r+12>>2]=k;e=F[b+4>>2];c:{d:{if(e>>>0>k>>>0){break d}f=F[b+8>>2];if(f>>>0>>0|f-k>>>0<2){break d}g=F[b+12>>2]-2|0;F[b+12>>2]=g;if((g|0)<=0){break d}h=G[k|0]|G[k+1|0]<<8;d=1;if(!h){break c}d=k+2|0;if(d>>>0>>0|d>>>0>f>>>0){break d}j=f-d|0;d=(h<<8|h>>>8)&65535;f=d<<1;if(j>>>0>>0){break d}f=g-f|0;F[b+12>>2]=f;if((f|0)<=0){break d}l=k+2|0;if(e>>>0>l>>>0){break d}v=d>>>0>1?d:1;while(1){e:{c=F[b+8>>2];if(c>>>0>>0|c-l>>>0<2){break e}d=F[r+12>>2];c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break e}c=G[l|0]|G[l+1|0]<<8;f:{if(!c){break f}g=0;p=Ga-16|0;Ga=p;f=d+((c<<8|c>>>8)&65535)|0;d=F[b+4>>2];g:{if(f>>>0>>0){break g}c=F[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break g}e=F[b+12>>2];h=e-6|0;F[b+12>>2]=h;if((h|0)<=0){break g}h=f+4|0;if(h>>>0>>0|c>>>0>>0|c-h>>>0<2){break g}e=e-8|0;F[b+12>>2]=e;if((e|0)<=0){break g}q=G[f+4|0]|G[f+5|0]<<8;u=q<<8|q>>>8;s=u&65535;m=s<<1;if(q){i=f+6|0;if(i>>>0>>0|c>>>0>>0|m>>>0>c-i>>>0){break g}e=e-m|0;F[b+12>>2]=e;if((e|0)<=0){break g}}i=F[b+16>>2]+s|0;F[b+16>>2]=i;if((i|0)>16383){break g}if(G[f+3|0]&16){j=d;d=(f+m|0)+6|0;if(j>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break g}F[b+12>>2]=e-2;if((e|0)<3){break g}}F[p+12>>2]=f;c=G[f|0]|G[f+1|0]<<8;F[p+8>>2]=(c<<8|c>>>8)&65535;d=0;m=F[b+4>>2];h:{i:{if(m>>>0>h>>>0){break i}e=F[b+8>>2];if(e>>>0>>0|e-h>>>0<2){break i}i=F[b+12>>2]-2|0;F[b+12>>2]=i;if((i|0)<=0){break i}o=G[h|0]|G[h+1|0]<<8;j=1;if(!o){break h}c=h+2|0;if(m>>>0>c>>>0|c>>>0>e>>>0){break i}o=(o<<8|o>>>8)&65535;j=o<<1;if(j>>>0>e-c>>>0){break i}c=i-j|0;F[b+12>>2]=c;if((c|0)<=0){break i}e=h+2|0;if(m>>>0>e>>>0){break i}m=o>>>0>1?o:1;c=0;while(1){j:{d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break j}i=F[p+12>>2];d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break j}d=G[e|0]|G[e+1|0]<<8;k:{if(!d){break k}if(Cn(i+((d<<8|d>>>8)&65535)|0,b,F[p+8>>2])){break k}d=F[b+28>>2];if(d>>>0>31){break j}F[b+28>>2]=d+1;if(!G[b+24|0]){break j}D[e|0]=0;D[e+1|0]=0}d=1;c=c+1|0;if((m|0)==(c|0)){break i}e=(h+(c<<1)|0)+2|0;if(e>>>0>=I[b+4>>2]){continue}}break}d=0}j=d}if(!j){break g}g=1;if(F[b+28>>2]|(!q|(G[f|0]|G[f+1|0]<<8)!=1792)){break g}d=0;c=H[81816];e=G[f+4|0]|G[f+5|0]<<8;g=e?G[f+6|0]|G[f+7|0]<<8:c;l:{if(!(g&65535)){g=163632;break l}g=f+((g<<8|(g&65280)>>>8)&65535)|0;c=G[g|0]|G[g+1|0]<<8}if((c&65535)==256){c=G[g+2|0]|G[g+3|0]<<8;d=(c<<8|c>>>8)&65535}c=1;if((u&65535)>>>0<2){g=1;break g}q=(e<<8|e>>>8)&65535;while(1){g=163632;e=c>>>0>>0?(h+(c<<1)|0)+2|0:163632;e=G[e|0]|G[e+1|0]<<8;if(e){g=f+((e<<8|e>>>8)&65535)|0}e=0;if((G[g|0]|G[g+1|0]<<8)==256){e=G[g+2|0]|G[g+3|0]<<8;e=(e<<8|e>>>8)&65535}g=(d|0)==(e|0);if((d|0)!=(e|0)){break g}c=c+1|0;if((s|0)!=(c|0)){continue}break}}Ga=p+16|0;if(g){break f}c=F[b+28>>2];if(c>>>0>31){break e}F[b+28>>2]=c+1;if(!G[b+24|0]){break e}D[l|0]=0;D[l+1|0]=0}c=1;t=t+1|0;if((v|0)==(t|0)){break d}l=((t<<1)+k|0)+2|0;if(l>>>0>=I[b+4>>2]){continue}}break}c=0}d=c}if(d){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[n|0]=0;D[n+1|0]=0}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!Fn(a+10|0,b,a)){break a}}w=1}Ga=r+16|0;return w}function Gi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=Ga-32|0;Ga=h;e=G[c+2|0]|G[c+3|0]<<8;n=(e<<8|e>>>8)&65535;d=F[b+4>>2];o=F[d+72>>2];b=G[c+6|0]|G[c+7|0]<<8;a:{if((b|0)!=65535){g=n&31;e=F[d+152>>2]-g|0;F[d+152>>2]=e;if((e|0)<=0){break a}m=F[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;b:{c:{if(!g){break c}b=F[a+4>>2];if(m>>>0>2]){break c}e=F[b+28>>2];if(e>>>0>>0){break c}f=e-m|0;e=g<<1;if(f>>>0>>0){break c}f=b;b=F[b+32>>2]-e|0;F[f+32>>2]=b;if((b|0)>0){break b}}g=0}if(!lc(d,F[a+8>>2])){break a}f=n&1024;d:{if(f){break d}b=F[d+64>>2];if(b>>>0>=I[d+68>>2]){break d}b=F[d+80>>2]+L(b,20)|0;F[h+24>>2]=F[b+16>>2];e=F[b+12>>2];F[h+16>>2]=F[b+8>>2];F[h+20>>2]=e;e=F[b+4>>2];F[h+8>>2]=F[b>>2];F[h+12>>2]=e;if(!$a(d,0,1)){break a}e=F[h+12>>2];b=F[d+84>>2]+L(F[d+72>>2],20)|0;F[b>>2]=F[h+8>>2];F[b+4>>2]=e;F[b+16>>2]=F[h+24>>2];e=F[h+20>>2];F[b+8>>2]=F[h+16>>2];F[b+12>>2]=e;F[d+72>>2]=F[d+72>>2]+1}if(!$a(d,0,g)){break a}b=F[d+64>>2];i=F[d+68>>2];e:{if(b>>>0>>0){e=F[d+80>>2]+L(b,20)|0;break e}e=F[d+72>>2];e=F[d+84>>2]+L(e?e-1|0:0,20)|0}p=f;if(g){b=F[d+84>>2]+L(F[d+72>>2],20)|0;i=0;if((g|0)!=1){k=g&30;while(1){f=F[e+4>>2];F[b>>2]=F[e>>2];F[b+4>>2]=f;F[b+16>>2]=F[e+16>>2];f=e+8|0;l=F[f+4>>2];F[b+8>>2]=F[f>>2];F[b+12>>2]=l;f=i<<1;l=f+m|0;l=G[l|0]|G[l+1|0]<<8;F[b>>2]=(l<<8|l>>>8)&65535;F[b+36>>2]=F[e+16>>2];l=F[e+12>>2];F[b+28>>2]=F[e+8>>2];F[b+32>>2]=l;l=F[e+4>>2];F[b+20>>2]=F[e>>2];F[b+24>>2]=l;f=m+(f|2)|0;f=G[f|0]|G[f+1|0]<<8;F[b+20>>2]=(f<<8|f>>>8)&65535;i=i+2|0;b=b+40|0;j=j+2|0;if((k|0)!=(j|0)){continue}break}}if(g&1){j=F[e+4>>2];F[b>>2]=F[e>>2];F[b+4>>2]=j;F[b+16>>2]=F[e+16>>2];j=F[e+12>>2];F[b+8>>2]=F[e+8>>2];F[b+12>>2]=j;e=b;b=m+(i<<1)|0;b=G[b|0]|G[b+1|0]<<8;F[e>>2]=(b<<8|b>>>8)&65535}F[d+72>>2]=F[d+72>>2]+g;i=F[d+68>>2];b=F[d+64>>2]}if(!(p|b>>>0>=i>>>0)){F[d+64>>2]=b+1}if(!lc(d,g+o|0)){break a}b=F[d+64>>2]+1|0;e=F[d+68>>2];wb(d,3,F[a+8>>2],b>>>0>>0?b:e,1,1)}if(n&32768){F[a+8>>2]=o}b=G[c+4|0]|G[c+5|0]<<8;if((b|0)==65535){break a}g=n>>>5&31;c=F[d+152>>2]-g|0;F[d+152>>2]=c;if((c|0)<=0){break a}c=F[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;f:{g:{if(!g){break g}a=F[a+4>>2];if(c>>>0>2]){break g}b=F[a+28>>2];if(b>>>0>>0){break g}e=b-c|0;b=g<<1;if(e>>>0>>0){break g}e=a;a=F[a+32>>2]-b|0;F[e+32>>2]=a;if((a|0)>0){break f}}g=0}e=F[d+72>>2];m=n&2048;h:{if(m){break h}a=F[d+64>>2];if(a>>>0>=I[d+68>>2]){break h}a=F[d+80>>2]+L(a,20)|0;F[h+24>>2]=F[a+16>>2];b=F[a+12>>2];F[h+16>>2]=F[a+8>>2];F[h+20>>2]=b;b=F[a+4>>2];F[h+8>>2]=F[a>>2];F[h+12>>2]=b;if(!$a(d,0,1)){break a}b=F[h+12>>2];a=F[d+84>>2]+L(F[d+72>>2],20)|0;F[a>>2]=F[h+8>>2];F[a+4>>2]=b;F[a+16>>2]=F[h+24>>2];b=F[h+20>>2];F[a+8>>2]=F[h+16>>2];F[a+12>>2]=b;F[d+72>>2]=F[d+72>>2]+1}if(!$a(d,0,g)){break a}b=F[d+64>>2];i=F[d+68>>2];i:{if(b>>>0>>0){a=F[d+80>>2]+L(b,20)|0;break i}a=F[d+72>>2];a=F[d+84>>2]+L(a?a-1|0:0,20)|0}if(g){b=F[d+84>>2]+L(F[d+72>>2],20)|0;i=0;if((g|0)!=1){o=g&30;j=0;while(1){f=F[a+4>>2];F[b>>2]=F[a>>2];F[b+4>>2]=f;F[b+16>>2]=F[a+16>>2];f=a+8|0;k=F[f+4>>2];F[b+8>>2]=F[f>>2];F[b+12>>2]=k;f=i<<1;k=f+c|0;k=G[k|0]|G[k+1|0]<<8;F[b>>2]=(k<<8|k>>>8)&65535;F[b+36>>2]=F[a+16>>2];k=F[a+12>>2];F[b+28>>2]=F[a+8>>2];F[b+32>>2]=k;k=F[a+4>>2];F[b+20>>2]=F[a>>2];F[b+24>>2]=k;f=c+(f|2)|0;f=G[f|0]|G[f+1|0]<<8;F[b+20>>2]=(f<<8|f>>>8)&65535;i=i+2|0;b=b+40|0;j=j+2|0;if((o|0)!=(j|0)){continue}break}}if(g&1){j=F[a+4>>2];F[b>>2]=F[a>>2];F[b+4>>2]=j;F[b+16>>2]=F[a+16>>2];j=F[a+12>>2];F[b+8>>2]=F[a+8>>2];F[b+12>>2]=j;a=c+(i<<1)|0;a=G[a|0]|G[a+1|0]<<8;F[b>>2]=(a<<8|a>>>8)&65535}F[d+72>>2]=F[d+72>>2]+g;i=F[d+68>>2];b=F[d+64>>2]}if(!(b>>>0>=i>>>0|m)){F[d+64>>2]=b+1}lc(d,e+(n&16384?0:g)|0)}Ga=h+32|0}function sd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ga-16|0;Ga=f;g=F[a+100>>2];F[f+8>>2]=0;d=ac(b,F[a+92>>2]);a:{if(d){b:{c:{d:{e=F[a+80>>2];d=F[d>>2];a=e+(d<<4)|0;switch(F[a+4>>2]-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}b=F[a+12>>2];if(b){Ia[F[g+8>>2]](g,b)}F[a+12>>2]=0;if(!c|!G[c|0]){break a}l=a,m=nc(g,c,f+8|0),F[l+12>>2]=m;break a}a=0;e:{if(!c){break e}g=G[c|0];if(!g){break e}b=0;g=(g|0)==45;c=g+c|0;a=D[c|0];f:{if(!(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1)){break f}while(1){if((b|0)>214748362){b=2147483647;break f}b=G[a+24128|0]+L(b,10)|0;a=D[c+1|0];c=c+1|0;if(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}a=g?0-b|0:b}F[(e+(d<<4)|0)+12>>2]=a;break a}b=0;g:{if(!c){break g}a=D[c|0];g=a&255;if(!g|!(G[(g>>>3|0)+24096|0]>>>(a&7)&1)){break g}while(1){if(b>>>0>429496727){b=-1;break g}b=G[a+24128|0]+L(b,10)|0;a=D[c+1|0];c=c+1|0;if(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}F[(e+(d<<4)|0)+12>>2]=b;break a}h:{i=a+112|0;e=ac(b,i);if(!e){e=F[a+100>>2];F[f+12>>2]=0;if(!ac(b,i)){d=F[a+108>>2];d=Va(e,16,d,d+1|0,F[a+104>>2],f+12|0);F[a+104>>2]=d;h=F[f+12>>2];if(h){break h}d=d+(F[a+108>>2]<<4)|0;F[d>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;j=hb(b)+1|0;k=Va(e,1,0,j,0,f+12|0);F[d>>2]=k;h=F[f+12>>2];if(h){break h}Ya(k,b,j);F[d+4>>2]=1;F[d+8>>2]=0;h=ef(F[d>>2],F[a+108>>2]+83|0,i,e);if(h){break h}F[a+108>>2]=F[a+108>>2]+1}F[f+8>>2]=0;e=ac(b,i)}d=F[a+76>>2];if((d|0)==F[a+72>>2]){i:{if(!d){d=Va(g,16,0,1,0,f+8|0);F[a+80>>2]=d;if(!F[f+8>>2]){break i}break a}d=Va(g,16,d,d+1|0,F[a+80>>2],f+8|0);F[a+80>>2]=d;if(F[f+8>>2]){break a}}d=(F[a+72>>2]<<4)+d|0;F[d>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;F[a+72>>2]=F[a+72>>2]+1}h=F[a+80>>2];i=F[a+76>>2];j=h+(i<<4)|0;d=F[e>>2];j:{if(d>>>0>=83){d=(F[a+104>>2]+(d<<4)|0)-1328|0;break j}d=(d<<4)+21680|0}F[j>>2]=F[d>>2];F[j+4>>2]=F[d+4>>2];F[j+8>>2]=F[d+8>>2];k:{l:{m:{switch(F[d+4>>2]-1|0){case 0:F[j+12>>2]=0;if(!c|!G[c|0]){break k}l=j,m=nc(g,c,f+8|0),F[l+12>>2]=m;if(!F[f+8>>2]){break k}break a;case 1:d=0;if(!c){break l}e=G[c|0];if(!e){break l}k=(e|0)==45;e=k+c|0;c=D[e|0];n:{if(!(G[((c&248)>>>3|0)+24096|0]>>>(c&7)&1)){break n}while(1){if((d|0)>214748362){d=2147483647;break n}d=G[c+24128|0]+L(d,10)|0;c=D[e+1|0];e=e+1|0;if(G[((c&248)>>>3|0)+24096|0]>>>(c&7)&1){continue}break}}d=k?0-d|0:d;break l;case 2:break m;default:break k}}d=0;if(!c){break l}e=D[c|0];k=e&255;if(!k|!(G[(k>>>3|0)+24096|0]>>>(e&7)&1)){break l}while(1){if(d>>>0>429496727){d=-1;break l}d=G[e+24128|0]+L(d,10)|0;e=D[c+1|0];c=c+1|0;if(G[((e&248)>>>3|0)+24096|0]>>>(e&7)&1){continue}break}}F[(h+(i<<4)|0)+12>>2]=d}o:{p:{if(cb(b,11158,7)){break p}switch(G[b+7|0]){case 0:case 9:case 10:case 13:case 32:break o;default:break p}}c=ef(F[j>>2],F[a+76>>2],F[a+92>>2],g);F[f+8>>2]=c;if(c){break a}}F[a+76>>2]=F[a+76>>2]+1;q:{if(cb(b,12772,12)){break q}r:{switch(G[b+12|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}F[a+36>>2]=F[(h+(i<<4)|0)+12>>2];break a}s:{if(cb(b,12084,11)){break s}t:{switch(G[b+11|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}F[a+40>>2]=F[(h+(i<<4)|0)+12>>2];break a}u:{if(cb(b,12180,12)){break u}v:{switch(G[b+12|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}F[a+44>>2]=F[(h+(i<<4)|0)+12>>2];break a}if(cb(b,9396,7)){break a}w:{switch(G[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break a}}b=F[(h+(i<<4)|0)+12>>2];if(!b){F[f+8>>2]=3;break a}x:{switch(G[b|0]-67|0){case 13:case 45:F[a+28>>2]=8;break a;case 10:case 42:F[a+28>>2]=16;break a;case 0:case 32:break x;default:break a}}F[a+28>>2]=32;break a}F[f+8>>2]=h}Ga=f+16|0;return F[f+8>>2]}function Hn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=F[b+4>>2];if(e>>>0>a>>>0){return 0}g=F[b+8>>2];if(g>>>0>>0){return 0}if(g-a>>>0<2){return 0}f=F[b+12>>2];j=f-2|0;F[b+12>>2]=j;d=1;if((j|0)<=0){return 0}j=G[a|0]|G[a+1|0]<<8;a:{if(!j){break a}b:{j=((j<<8|j>>>8)&65535)+c|0;if(j>>>0>>0|g>>>0>>0|g-j>>>0<2){break b}c=f-4|0;F[b+12>>2]=c;if((c|0)<=0){break b}f=G[j|0]|G[j+1|0]<<8;if(!f){break a}d=j+2|0;if(d>>>0>>0|d>>>0>g>>>0){break b}h=g-d|0;d=(f<<8|f>>>8)&65535;g=L(d,6);if(h>>>0>>0){break b}c=c-g|0;F[b+12>>2]=c;if((c|0)<=0){break b}s=d>>>0>1?d:1;while(1){p=Ga-16|0;Ga=p;g=F[b+4>>2];c=(j+L(r,6)|0)+2|0;c:{if(g>>>0>c>>>0){g=0;break c}d=F[b+8>>2];if(d>>>0>>0){g=0;break c}if(d-c>>>0<6){g=0;break c}e=F[b+12>>2];f=e-6|0;F[b+12>>2]=f;if((f|0)<=0){g=0;break c}m=c+4|0;if(g>>>0>m>>>0){g=0;break c}if(d>>>0>>0){g=0;break c}if(d-m>>>0<2){g=0;break c}c=e-8|0;F[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break c}d=G[m|0]|G[m+1|0]<<8;if(!d){break c}i=F[b+4>>2];e=j+((d<<8|d>>>8)&65535)|0;c=0;d:{if(i>>>0>e>>>0){break d}f=F[b+8>>2];c=0;if(f>>>0>>0){break d}c=0;if(f-e>>>0<2){break d}l=F[b+12>>2];k=l-2|0;F[b+12>>2]=k;d=1;c=0;if((k|0)<=0){break d}c=G[e|0]|G[e+1|0]<<8;e:{if(!c){break e}c=e+((c<<8|c>>>8)&65535)|0;f:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<6){break f}d=l-8|0;F[b+12>>2]=d;if((d|0)<=0){break f}d=c+4|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break f}l=l-10|0;F[b+12>>2]=l;d=1;if((l|0)<=0){break f}k=G[c+4|0]|G[c+5|0]<<8;if(!k){break e}c=c+6|0;if(c>>>0>>0|c>>>0>f>>>0){break f}h=f-c|0;c=((k<<8|k>>>8)&65535)<<1;if(h>>>0>>0){break f}c=l-c|0;F[b+12>>2]=c;if((c|0)>0){break e}}d=F[b+28>>2];c=0;if(d>>>0>31){break d}F[b+28>>2]=d+1;d=0;if(!G[b+24|0]){break e}D[e|0]=0;D[e+1|0]=0;d=1}c=d}if(c){F[p+12>>2]=e;d=0;l=Ga-16|0;Ga=l;g:{i=F[b+4>>2];f=e+2|0;if(i>>>0>f>>>0){break g}c=F[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break g}e=F[b+12>>2]-2|0;F[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break g}k=G[f|0]|G[f+1|0]<<8;if(!k){break g}d=f+2|0;if(d>>>0>>0){d=0;break g}if(c>>>0>>0){d=0;break g}h=c-d|0;c=(k<<8|k>>>8)&65535;d=L(c,6);if(h>>>0>>0){d=0;break g}e=e-d|0;F[b+12>>2]=e;d=0;if((e|0)<=0){break g}t=c>>>0>1?c:1;k=0;while(1){e=f+L(k,6)|0;c=e+2|0;d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);o=F[p+12>>2];F[l+12>>2]=o;F[l+8>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);h:{i:{if(c>>>0>>0){break i}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<=5){break i}c=F[b+12>>2]-6|0;F[b+12>>2]=c;if((c|0)>0){break h}}d=0;break g}F[l+4>>2]=l+8;q=F[b+4>>2];i=e+6|0;h=0;j:{if(q>>>0>i>>>0){break j}e=F[b+8>>2];h=0;if(e>>>0>>0){break j}h=0;if(e-i>>>0<2){break j}n=F[b+12>>2];c=n-2|0;F[b+12>>2]=c;d=1;h=0;if((c|0)<=0){break j}c=G[i|0]|G[i+1|0]<<8;k:{if(!c){break k}c=o+((c<<8|c>>>8)&65535)|0;l:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<6){break l}d=n-8|0;F[b+12>>2]=d;if((d|0)<=0){break l}d=c+4|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break l}n=n-10|0;F[b+12>>2]=n;d=1;if((n|0)<=0){break l}o=G[c+4|0]|G[c+5|0]<<8;if(!o){break k}c=c+6|0;if(c>>>0>>0|c>>>0>e>>>0){break l}h=e-c|0;c=((o<<8|o>>>8)&65535)<<1;if(h>>>0>>0){break l}c=n-c|0;F[b+12>>2]=c;if((c|0)>0){break k}}d=F[b+28>>2];h=0;if(d>>>0>31){break j}F[b+28>>2]=d+1;d=0;if(!G[b+24|0]){break k}D[i|0]=0;D[i+1|0]=0;d=1}h=d}d=h;if(!d){break g}k=k+1|0;if((t|0)==(k|0)){break g}i=F[b+4>>2];continue}}Ga=l+16|0;if(d){break c}}c=F[b+28>>2];if(c>>>0>31){g=0;break c}F[b+28>>2]=c+1;g=0;if(!G[b+24|0]){break c}D[m|0]=0;D[m+1|0]=0;g=1}Ga=p+16|0;if(!g){break b}d=1;r=r+1|0;if((s|0)!=(r|0)){continue}break}break a}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;d=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;d=1}return d}function ce(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ga-32|0;Ga=e;a:{b:{c:{switch(F[a+68>>2]){case 1:d=1;j=c^1;c=0;f=1;break b;case 0:break a;default:break c}}j=c^1;c=0;f=1;while(1){i=c;d=F[a+80>>2]+L(f,20)|0;d:{if(Ia[b|0](d-20|0,d)|0){break d}if(!(f-i>>>0<2|j)){Kb(a,i,f)}c=F[a+68>>2];d=c>>>0>>0?c:f;h=c>>>0>>0?c:i;e:{if(d>>>0>>0){break e}g=d-1|0;if(h>>>0>=g>>>0){break e}k=F[a+80>>2];while(1){c=L(g,20)+k|0;F[e+24>>2]=F[c+16>>2];d=F[c+12>>2];F[e+16>>2]=F[c+8>>2];F[e+20>>2]=d;d=F[c+4>>2];F[e+8>>2]=F[c>>2];F[e+12>>2]=d;d=L(h,20)+k|0;F[c+16>>2]=F[d+16>>2];l=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=l;l=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=l;F[d+16>>2]=F[e+24>>2];c=F[e+20>>2];F[d+8>>2]=F[e+16>>2];F[d+12>>2]=c;c=F[e+12>>2];F[d>>2]=F[e+8>>2];F[d+4>>2]=c;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}c=f;if(!G[a+62|0]){break d}d=F[a+68>>2];g=d>>>0>>0?d:f;h=d>>>0>>0?d:i;c=f;if(g>>>0>>0){break d}g=g-1|0;c=f;if(h>>>0>=g>>>0){break d}i=F[a+88>>2];while(1){c=i+L(g,20)|0;F[e+24>>2]=F[c+16>>2];d=F[c+12>>2];F[e+16>>2]=F[c+8>>2];F[e+20>>2]=d;d=F[c+4>>2];F[e+8>>2]=F[c>>2];F[e+12>>2]=d;d=i+L(h,20)|0;F[c+16>>2]=F[d+16>>2];k=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=k;k=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=k;F[d+16>>2]=F[e+24>>2];c=F[e+20>>2];F[d+8>>2]=F[e+16>>2];F[d+12>>2]=c;c=F[e+12>>2];F[d>>2]=F[e+8>>2];F[d+4>>2]=c;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}c=f}d=F[a+68>>2];f=f+1|0;if(d>>>0>f>>>0){continue}break}}if(!(f-c>>>0<2|j)){Kb(a,c,f);d=F[a+68>>2]}b=d>>>0>>0?d:f;g=c>>>0>d>>>0?d:c;f:{if(b>>>0>>0){break f}h=b-1|0;if(h>>>0<=g>>>0){break f}i=F[a+80>>2];while(1){b=i+L(h,20)|0;F[e+24>>2]=F[b+16>>2];d=F[b+12>>2];F[e+16>>2]=F[b+8>>2];F[e+20>>2]=d;d=F[b+4>>2];F[e+8>>2]=F[b>>2];F[e+12>>2]=d;d=i+L(g,20)|0;F[b+16>>2]=F[d+16>>2];j=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=j;j=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=j;F[d+16>>2]=F[e+24>>2];b=F[e+20>>2];F[d+8>>2]=F[e+16>>2];F[d+12>>2]=b;b=F[e+12>>2];F[d>>2]=F[e+8>>2];F[d+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}g:{h:{if(!G[a+62|0]){break h}b=F[a+68>>2];f=b>>>0>>0?b:f;h=b>>>0>>0?b:c;if(f>>>0>>0){break g}g=f-1|0;if(h>>>0>=g>>>0){break h}f=F[a+88>>2];while(1){b=f+L(g,20)|0;F[e+24>>2]=F[b+16>>2];c=F[b+12>>2];F[e+16>>2]=F[b+8>>2];F[e+20>>2]=c;c=F[b+4>>2];F[e+8>>2]=F[b>>2];F[e+12>>2]=c;c=f+L(h,20)|0;F[b+16>>2]=F[c+16>>2];d=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=d;d=F[c+4>>2];F[b>>2]=F[c>>2];F[b+4>>2]=d;F[c+16>>2]=F[e+24>>2];b=F[e+20>>2];F[c+8>>2]=F[e+16>>2];F[c+12>>2]=b;b=F[e+12>>2];F[c>>2]=F[e+8>>2];F[c+4>>2]=b;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}b=F[a+68>>2]}if(b>>>0>=2){d=F[a+80>>2];h=b-1|0;g=0;while(1){c=d+L(h,20)|0;F[e+24>>2]=F[c+16>>2];f=F[c+12>>2];F[e+16>>2]=F[c+8>>2];F[e+20>>2]=f;f=F[c+4>>2];F[e+8>>2]=F[c>>2];F[e+12>>2]=f;f=d+L(g,20)|0;F[c+16>>2]=F[f+16>>2];i=F[f+12>>2];F[c+8>>2]=F[f+8>>2];F[c+12>>2]=i;i=F[f+4>>2];F[c>>2]=F[f>>2];F[c+4>>2]=i;F[f+16>>2]=F[e+24>>2];c=F[e+20>>2];F[f+8>>2]=F[e+16>>2];F[f+12>>2]=c;c=F[e+12>>2];F[f>>2]=F[e+8>>2];F[f+4>>2]=c;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}if(!G[a+62|0]){break a}c=F[a+68>>2];b=b>>>0>c>>>0?c:b;if(b>>>0<2){break a}c=F[a+88>>2];h=b-1|0;g=0;while(1){a=c+L(h,20)|0;F[e+24>>2]=F[a+16>>2];b=F[a+12>>2];F[e+16>>2]=F[a+8>>2];F[e+20>>2]=b;b=F[a+4>>2];F[e+8>>2]=F[a>>2];F[e+12>>2]=b;b=c+L(g,20)|0;F[a+16>>2]=F[b+16>>2];f=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=f;f=F[b+4>>2];F[a>>2]=F[b>>2];F[a+4>>2]=f;F[b+16>>2]=F[e+24>>2];a=F[e+20>>2];F[b+8>>2]=F[e+16>>2];F[b+12>>2]=a;a=F[e+12>>2];F[b>>2]=F[e+8>>2];F[b+4>>2]=a;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}Ga=e+32|0}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Ga-48|0;Ga=e;F[b+72>>2]=0;a:{d=G[a+2|0]|G[a+3|0]<<8;if(d){d=(d<<8|d>>>8)&65535;p=d>>>0>1?d:1;q=d-1|0;i=a+4|0;while(1){a=F[b+16>>2];d=F[a+40>>2];b:{if((D[i+5|0]&1)==((d&-2)!=4|0)){break b}c=F[b+8>>2];F[e+16>>2]=g;if(!mb(a,c,106245,e+16|0)){break b}g=d&-3;f=1;c:{if(k){break c}f=0;if(!(G[i+5|0]&4)){break c}a=F[b+16>>2];k=F[a+68>>2];f=1;if(!k){break c}c=F[a+88>>2];a=0;if((k|0)!=1){f=k&-2;d=0;while(1){h=c+L(a,20)|0;D[h+18|0]=2;E[h+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;h=c+L(a|1,20)|0;D[h+18|0]=2;E[h+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;a=a+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}f=1;if(!(k&1)){break c}a=c+L(a,20)|0;D[a+18|0]=2;E[a+16>>1]=(F[F[b+16>>2]+40>>2]&-3)==4?-1:1;f=1}k=f;j=(g|0)!=5;d:{if(j){break d}g=F[b+16>>2];h=F[g+68>>2];if(h>>>0>=2){m=F[g+80>>2];d=h-1|0;a=0;while(1){f=m+L(d,20)|0;c=f;F[e+40>>2]=F[c+16>>2];l=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=l;l=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=l;c=m+L(a,20)|0;F[f+16>>2]=F[c+16>>2];l=F[c+12>>2];F[f+8>>2]=F[c+8>>2];F[f+12>>2]=l;l=F[c+4>>2];F[f>>2]=F[c>>2];F[f+4>>2]=l;F[c+16>>2]=F[e+40>>2];f=F[e+36>>2];F[c+8>>2]=F[e+32>>2];F[c+12>>2]=f;f=F[e+28>>2];F[c>>2]=F[e+24>>2];F[c+4>>2]=f;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}if(!G[g+62|0]){break d}a=F[g+68>>2];a=a>>>0>>0?a:h;if(a>>>0<2){break d}f=F[g+88>>2];d=a-1|0;a=0;while(1){g=f+L(d,20)|0;c=g;F[e+40>>2]=F[c+16>>2];h=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=h;h=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=h;c=f+L(a,20)|0;F[g+16>>2]=F[c+16>>2];h=F[c+12>>2];F[g+8>>2]=F[c+8>>2];F[g+12>>2]=h;h=F[c+4>>2];F[g>>2]=F[c>>2];F[g+4>>2]=h;F[c+16>>2]=F[e+40>>2];g=F[e+36>>2];F[c+8>>2]=F[e+32>>2];F[c+12>>2]=g;g=F[e+28>>2];F[c>>2]=F[e+24>>2];F[c+4>>2]=g;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}d=F[b+52>>2];a=F[d+12>>2];F[b+24>>2]=a;d=a+F[d+16>>2]|0;F[b+28>>2]=d;e:{if(!i|n>>>0>=q>>>0){break e}if(!(a>>>0<=i>>>0&d>>>0>i>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break e}F[b+24>>2]=i;a=d-i|0;d=G[i+2|0]|G[i+3|0]<<8;d=(d<<8|d>>>8)&65535;F[b+28>>2]=(a>>>0>>0?a:d)+i}F[61902]=0;l=aa(712,i|0,b|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break a}a=F[b+52>>2];d=F[a+12>>2];F[b+24>>2]=d;F[b+28>>2]=d+F[a+16>>2];f:{if(j){break f}g=F[b+16>>2];h=F[g+68>>2];if(h>>>0>=2){m=F[g+80>>2];d=h-1|0;a=0;while(1){f=m+L(d,20)|0;c=f;F[e+40>>2]=F[c+16>>2];j=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=j;j=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=j;c=m+L(a,20)|0;F[f+16>>2]=F[c+16>>2];j=F[c+12>>2];F[f+8>>2]=F[c+8>>2];F[f+12>>2]=j;j=F[c+4>>2];F[f>>2]=F[c>>2];F[f+4>>2]=j;F[c+16>>2]=F[e+40>>2];f=F[e+36>>2];F[c+8>>2]=F[e+32>>2];F[c+12>>2]=f;f=F[e+28>>2];F[c>>2]=F[e+24>>2];F[c+4>>2]=f;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}if(!G[g+62|0]){break f}a=F[g+68>>2];a=a>>>0>>0?a:h;if(a>>>0<2){break f}f=F[g+88>>2];d=a-1|0;a=0;while(1){g=f+L(d,20)|0;c=g;F[e+40>>2]=F[c+16>>2];h=F[c+12>>2];F[e+32>>2]=F[c+8>>2];F[e+36>>2]=h;h=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=h;c=f+L(a,20)|0;F[g+16>>2]=F[c+16>>2];h=F[c+12>>2];F[g+8>>2]=F[c+8>>2];F[g+12>>2]=h;h=F[c+4>>2];F[g>>2]=F[c>>2];F[g+4>>2]=h;F[c+16>>2]=F[e+40>>2];g=F[e+36>>2];F[c+8>>2]=F[e+32>>2];F[c+12>>2]=g;g=F[e+28>>2];F[c>>2]=F[e+24>>2];F[c+4>>2]=g;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}o=l|o;a=F[b+8>>2];d=F[b+16>>2];F[e>>2]=F[b+72>>2];mb(d,a,106272,e)}a=G[i+2|0]|G[i+3|0]<<8;g=F[b+72>>2]+1|0;F[b+72>>2]=g;i=((a<<8|a>>>8)&65535)+i|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}}Ga=e+48|0;return o&1}a=Z()|0;Y()|0;d=F[b+52>>2];k=F[d+12>>2];F[b+24>>2]=k;F[b+28>>2]=k+F[d+16>>2];$(a|0);V()}function MA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Ga-48|0;Ga=f;a:{if(!Hm(a,b,1,c)){break a}j=Fd(b);F[f+32>>2]=F[d+8>>2];c=F[d+4>>2];d=F[d>>2];F[f+24>>2]=d;F[f+28>>2]=c;F[f+44>>2]=F[e+8>>2];h=F[e+4>>2];F[f+36>>2]=F[e>>2];F[f+40>>2]=h;e=F[f+36>>2];F[f+8>>2]=F[f+32>>2];F[f+12>>2]=e;e=F[f+44>>2];F[f+16>>2]=F[f+40>>2];F[f+20>>2]=e;F[f>>2]=d;F[f+4>>2]=c;e=0;k=Ga+-64|0;Ga=k;b:{if(F[b+20>>2]){break b}h=j+2|0;d=F[b+4>>2];c=h-d|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-d|0))){F[b+20>>2]=4;break b}c:{if((d|0)==(h|0)){F[b+4>>2]=c+h;break c}Wa(d,0,c);d=c;c=F[b+4>>2];F[b+4>>2]=d+c;if(!c){break b}}d:{c=F[f+4>>2];if(!c){break d}d=F[f+16>>2];if(!d){break d}e=F[f+12>>2];h=G[e|0]|G[e+1|0]<<8;g=(h<<8|h>>>8)&65535;i=F[f>>2];h=G[i|0]|G[i+1|0]<<8;h=g-((h<<8|h>>>8)&65535)|0;e:{if((c|0)==1|(d|0)==1){break e}m=d-1|0;e=e+2|0;c=c-1|0;d=i+2|0;while(1){i=G[e|0]|G[e+1|0]<<8;g=i<<8|i>>>8;i=G[d|0]|G[d+1|0]<<8;if((h^g-(i<<8|i>>>8))&65535){break d}c=c-1|0;if(!c){break e}e=e+2|0;d=d+2|0;m=m-1|0;if(m){continue}break}}D[j|0]=0;D[j+1|0]=1;c=F[f+20>>2];F[k+48>>2]=F[f+16>>2];F[k+52>>2]=c;c=F[f+12>>2];F[k+40>>2]=F[f+8>>2];F[k+44>>2]=c;c=F[f+4>>2];F[k+32>>2]=F[f>>2];F[k+36>>2]=c;F[k+56>>2]=124897;if(F[b+20>>2]){e=0;break b}e=0;i=j+6|0;d=F[b+4>>2];c=i-d|0;if(!((c|0)<0|(c|0)>(F[b+8>>2]-d|0))){f:{if((d|0)==(i|0)){F[b+4>>2]=(c+j|0)+6;break f}Wa(d,0,c);d=c;c=F[b+4>>2];F[b+4>>2]=d+c;if(!c){break b}}if(!Gm(j+2|0,b,k+32|0)){break b}c=h<<8|(h&65280)>>>8;D[j+4|0]=c;D[j+5|0]=c>>>8;e=1;break b}F[b+20>>2]=4;break b}D[j|0]=0;D[j+1|0]=2;c=F[f+20>>2];F[k+24>>2]=F[f+16>>2];F[k+28>>2]=c;c=F[f+12>>2];F[k+16>>2]=F[f+8>>2];F[k+20>>2]=c;c=F[f+4>>2];F[k+8>>2]=F[f>>2];F[k+12>>2]=c;i=Ga-32|0;Ga=i;c=k+8|0;e=F[c+16>>2];m=F[c+12>>2];h=F[c+4>>2];d=F[c+20>>2];F[i+16>>2]=F[c+16>>2];F[i+20>>2]=d;d=F[c+12>>2];F[i+8>>2]=F[c+8>>2];F[i+12>>2]=d;d=F[c+4>>2];F[i>>2]=F[c>>2];F[i+4>>2]=d;F[i+24>>2]=124897;g:{if(F[b+20>>2]){c=0;break g}c=0;l=j+6|0;g=F[b+4>>2];d=l-g|0;if(!((d|0)>=0&(d|0)<=(F[b+8>>2]-g|0))){F[b+20>>2]=4;break g}h:{if((g|0)==(l|0)){d=d+l|0;F[b+4>>2]=d;h=e>>>0>h>>>0?h:e;break h}Wa(g,0,d);g=F[b+4>>2];d=g+d|0;F[b+4>>2]=d;if(F[b+20>>2]|!g){break g}h=e>>>0>h>>>0?h:e}l=j+6|0;g=l-d|0;if(!((g|0)>=0&(g|0)<=(F[b+8>>2]-d|0))){F[b+20>>2]=4;break g}i:{if((d|0)==(l|0)){F[b+4>>2]=d+g;break i}Wa(d,0,g);d=F[b+4>>2];F[b+4>>2]=d+g;if(!d){break g}}d=h<<8|(h&65280)>>>8;D[j+4|0]=d;D[j+5|0]=d>>>8;d=F[b+20>>2];if(h>>>0>=65536){F[b+20>>2]=d|16;break g}if(d){break g}l=(j+(h<<1&131070)|0)+6|0;g=F[b+4>>2];d=l-g|0;if(!((d|0)>=0&(d|0)<=(F[b+8>>2]-g|0))){F[b+20>>2]=4;break g}j:{if((g|0)==(l|0)){F[b+4>>2]=d+l;break j}Wa(g,0,d);g=d;d=F[b+4>>2];F[b+4>>2]=g+d;if(!d){break g}}k:{if(!h){break k}d=0;if((h|0)!=1){l=h&-2;while(1){g=j+(d<<1)|0;n=e?m:163632;n=G[n|0]|G[n+1|0]<<8;D[g+6|0]=n;D[g+7|0]=n>>>8;n=j+((d|1)<<1)|0;g=!!e;m=(g<<1)+m|0;p=(e|0)==(g|0);o=p?163632:m;o=G[o|0]|G[o+1|0]<<8;D[n+6|0]=o;D[n+7|0]=o>>>8;d=d+2|0;n=!p;m=m+(n<<1)|0;e=e-(g+n|0)|0;c=c+2|0;if((l|0)!=(c|0)){continue}break}}if(!(h&1)){break k}c=j+(d<<1)|0;d=e?m:163632;d=G[d|0]|G[d+1|0]<<8;D[c+6|0]=d;D[c+7|0]=d>>>8}c=Gm(j+2|0,b,i)}Ga=i+32|0;e=c}Ga=k- -64|0;if(e){q=1;l:{if(!(G[a+4|0]|G[a+5|0]<<8)){E[123216]=H[81816];a=246432;break l}a=a+6|0}Xd(b,a,kd(b,1));break a}a=F[b+40>>2];if(F[b+20>>2]|!a){break a}F[b+40>>2]=F[a+32>>2];c=F[a+4>>2];F[b+4>>2]=F[a>>2];F[b+8>>2]=c;Wd(b);F[a+12>>2]=0;Ta(F[a+16>>2]);F[a+24>>2]=0;F[a+16>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;Ta(F[a+28>>2]);F[a+28>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a>>2]=F[b+24>>2];F[b+24>>2]=a}Ga=f+48|0;return q|0}function Qm(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c:{d:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=F[b+100>>2];c=F[F[c+80>>2]+L(F[c+64>>2],20)>>2];d=G[a+2|0]|G[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}f=qb(d,c);e:{if((f|0)==-1){break e}a=G[a+4|0]|G[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;a=F[b+100>>2];c=F[a+80>>2]+L(F[a+64>>2],20)|0;a=H[c+12>>1]|16;if(G[b+140|0]){a=jc(F[b+108>>2],e)|a&112}E[c+12>>1]=a;c=F[b+100>>2];if(!$a(c,1,1)){break e}a=F[c+64>>2];f:{if(a>>>0>2]){b=F[c+72>>2];d=F[c+84>>2];a=F[c+80>>2]+L(a,20)|0;break f}d=F[c+84>>2];b=F[c+72>>2];a=d+L(b?b-1|0:0,20)|0}b=L(b,20)+d|0;d=F[a+4>>2];F[b>>2]=F[a>>2];F[b+4>>2]=d;F[b+16>>2]=F[a+16>>2];d=F[a+12>>2];F[b+8>>2]=F[a+8>>2];F[b+12>>2]=d;F[b>>2]=e;F[c+64>>2]=F[c+64>>2]+1;F[c+72>>2]=F[c+72>>2]+1}return(f|0)!=-1}c=0;d=G[a+2|0]|G[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=163632}d=F[b+100>>2];d=qb(e,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);g:{if((d|0)==-1){break g}e=G[a+4|0]|G[a+5|0]<<8;if(d>>>0>=((e<<8|e>>>8)&65535)>>>0){break g}c=1;a=(d<<1)+a|0;a=G[a+6|0]|G[a+7|0]<<8;e=(a<<8|a>>>8)&65535;a=F[b+100>>2];d=F[a+80>>2]+L(F[a+64>>2],20)|0;a=H[d+12>>1]|16;if(G[b+140|0]){a=jc(F[b+108>>2],e)|a&112}E[d+12>>1]=a;a=F[b+100>>2];if(!$a(a,1,1)){break g}b=F[a+64>>2];h:{if(b>>>0>2]){c=F[a+80>>2]+L(b,20)|0;b=F[a+72>>2];d=F[a+84>>2];break h}d=F[a+84>>2];b=F[a+72>>2];c=d+L(b?b-1|0:0,20)|0}b=L(b,20)+d|0;d=F[c+4>>2];F[b>>2]=F[c>>2];F[b+4>>2]=d;F[b+16>>2]=F[c+16>>2];d=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=d;F[b>>2]=e;c=1;F[a+64>>2]=F[a+64>>2]+1;F[a+72>>2]=F[a+72>>2]+1}return c;case 1:if((G[a|0]|G[a+1|0]<<8)!=256){break a}c=G[a+2|0]|G[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];c=qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((c|0)==-1){break a}d=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}return mn(a,b);case 2:if((G[a|0]|G[a+1|0]<<8)!=256){break a}c=G[a+2|0]|G[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];c=qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((c|0)==-1){break a}d=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}return ln(a,b);case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break a}i:{c=G[a+2|0]|G[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=F[b+100>>2];e=qb(e,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((e|0)==-1){break i}c=163632;f=G[a+4|0]|G[a+5|0]<<8;e=e>>>0<((f<<8|f>>>8)&65535)>>>0?((e<<1)+a|0)+6|0:163632;e=G[e|0]|G[e+1|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}a=G[c|0]|G[c+1|0]<<8;if(!a){break i}f=(a<<8|a>>>8)&65535;g=f>>>0>1?f:1;e=0;d=1;while(1){a=((a<<8|(a&65280)>>>8)&65535)>>>0>e>>>0?((e<<1)+c|0)+2|0:163632;a=G[a|0]|G[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=163632}if(kn(a,b)){break i}e=e+1|0;d=f>>>0>e>>>0;if((e|0)==(g|0)){break i}a=G[c|0]|G[c+1|0]<<8;continue}}return d;case 4:return Pm(a,b);case 5:j:{k:{l:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break a}}return Om(b,a)}return hh(a,b)}return gh(a,b);case 6:if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;a=Qm(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break b;default:break a}}if((G[a|0]|G[a+1|0]<<8)!=256){break a}e=en(a,b)}return e}function wb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=F[a+68>>2];j=d>>>0>g>>>0?g:d;l=j-c|0;a:{if(!(!e|f)&l>>>0<2){break a}h=F[a+144>>2]|32;F[a+144>>2]=h;if((!G[a+61|0]|f^1)==1){if(!e){if(c>>>0>=j>>>0){break a}f=(c^-1)+j|0;e=F[a+80>>2];a=l&3;if(a){d=0;while(1){g=e+L(c,20)|0;F[g+4>>2]=F[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break a}while(1){a=e+L(c,20)|0;F[a+4>>2]=F[a+4>>2]|b;F[a+24>>2]=F[a+24>>2]|b;F[a+44>>2]=F[a+44>>2]|b;a=a- -64|0;F[a>>2]=F[a>>2]|b;c=c+4|0;if((j|0)!=(c|0)){continue}break}break a}if(c>>>0>=j>>>0){break a}e=F[a+80>>2];d=-1;f=c;i=(c^-1)+j|0;if(i>>>0>=3){m=l&-4;while(1){g=e+L(f,20)|0;k=F[g+8>>2];d=d>>>0>>0?d:k;k=F[g+28>>2];d=d>>>0>>0?d:k;k=F[g+48>>2];d=d>>>0>>0?d:k;g=F[g+68>>2];d=d>>>0>>0?d:g;f=f+4|0;p=p+4|0;if((m|0)!=(p|0)){continue}break}}m=l&3;if(m){g=0;while(1){k=F[(e+L(f,20)|0)+8>>2];d=d>>>0>>0?d:k;f=f+1|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}if(l&1){f=e+L(c,20)|0;if(F[f+8>>2]!=(d|0)){F[a+144>>2]=h;F[f+4>>2]=F[f+4>>2]|b}c=c+1|0}if(!i){break a}while(1){f=e+L(c,20)|0;if(F[f+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[f+4>>2]=F[f+4>>2]|b}f=e+L(c+1|0,20)|0;if(F[f+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[f+4>>2]=F[f+4>>2]|b}c=c+2|0;if((j|0)!=(c|0)){continue}break}break a}if(!e){e=F[a+72>>2];b:{if(e>>>0<=c>>>0){break b}g=e+(c^-1)|0;f=F[a+84>>2];h=e-c&3;if(h){d=0;while(1){l=f+L(c,20)|0;F[l+4>>2]=F[l+4>>2]|b;c=c+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(g>>>0<=2){break b}while(1){d=f+L(c,20)|0;F[d+4>>2]=F[d+4>>2]|b;F[d+24>>2]=F[d+24>>2]|b;F[d+44>>2]=F[d+44>>2]|b;d=d- -64|0;F[d>>2]=F[d>>2]|b;c=c+4|0;if((e|0)!=(c|0)){continue}break}}c=F[a+64>>2];if(j>>>0<=c>>>0){break a}f=(c^-1)+j|0;e=F[a+80>>2];a=j-c&3;if(a){d=0;while(1){g=e+L(c,20)|0;F[g+4>>2]=F[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break a}while(1){a=e+L(c,20)|0;F[a+4>>2]=F[a+4>>2]|b;F[a+24>>2]=F[a+24>>2]|b;F[a+44>>2]=F[a+44>>2]|b;a=a- -64|0;F[a>>2]=F[a>>2]|b;c=c+4|0;if((j|0)!=(c|0)){continue}break}break a}l=F[a+80>>2];d=-1;g=F[a+64>>2];p=j>>>0<=g>>>0;c:{if(p){break c}e=j-g|0;m=e&3;f=g;if((f^-1)+j>>>0>=3){k=e&-4;e=0;while(1){i=l+L(f,20)|0;n=F[i+8>>2];d=d>>>0>>0?d:n;n=F[i+28>>2];d=d>>>0>>0?d:n;n=F[i+48>>2];d=d>>>0>>0?d:n;i=F[i+68>>2];d=d>>>0>>0?d:i;f=f+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}if(!m){break c}e=0;while(1){i=F[(l+L(f,20)|0)+8>>2];d=d>>>0>>0?d:i;f=f+1|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}m=F[a+72>>2];d:{if(m>>>0<=c>>>0){break d}i=F[a+84>>2];k=m+(c^-1)|0;n=m-c|0;o=n&3;e:{if(!o){f=c;break e}e=0;f=c;while(1){q=F[(i+L(f,20)|0)+8>>2];d=d>>>0>>0?d:q;f=f+1|0;e=e+1|0;if((o|0)!=(e|0)){continue}break}}if(k>>>0>=3){while(1){e=i+L(f,20)|0;o=F[e+8>>2];d=d>>>0>>0?d:o;o=F[e+28>>2];d=d>>>0>>0?d:o;o=F[e+48>>2];d=d>>>0>>0?d:o;e=F[e+68>>2];d=d>>>0>>0?d:e;f=f+4|0;if((m|0)!=(f|0)){continue}break}}if(n&1){e=i+L(c,20)|0;if(F[e+8>>2]!=(d|0)){F[a+144>>2]=h;F[e+4>>2]=F[e+4>>2]|b}c=c+1|0}if(!k){break d}while(1){e=i+L(c,20)|0;if(F[e+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[e+4>>2]=F[e+4>>2]|b}e=i+L(c+1|0,20)|0;if(F[e+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[e+4>>2]=F[e+4>>2]|b}c=c+2|0;if((m|0)!=(c|0)){continue}break}}if(p){break a}e=g+1|0;if(j-g&1){c=l+L(g,20)|0;if(F[c+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[c+4>>2]=F[c+4>>2]|b}g=g+1|0}if((e|0)==(j|0)){break a}while(1){c=l+L(g,20)|0;if(F[c+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[c+4>>2]=F[c+4>>2]|b}c=l+L(g+1|0,20)|0;if(F[c+8>>2]!=(d|0)){h=h|32;F[a+144>>2]=h;F[c+4>>2]=F[c+4>>2]|b}g=g+2|0;if((j|0)!=(g|0)){continue}break}}}function yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=Ga-16|0;Ga=l;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=F[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=F[b+12>>2];j=d-2|0;F[b+12>>2]=j;c=1;if((j|0)<=0){c=0;break a}b:{c:{d:{e:{f:{g:{h:{i=G[a|0]|G[a+1|0]<<8;switch((i<<8|i>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=F[b+36>>2];if(c>>>0>2147483646){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=c<<1;if(e>>>0>>0){c=0;break a}a=j-a|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;F[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=G[c|0]|G[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){c=0;break a}f=G[a+4|0]|G[a+5|0]<<8;c=L(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}F[l+12>>2]=a;e=0;d=a+2|0;h=F[b+4>>2];i:{j:{if(d>>>0>>0){break j}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break j}a=F[b+12>>2]-10|0;F[b+12>>2]=a;if((a|0)<=0){break j}c=G[d|0]|G[d+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){break j}m=G[d+2|0]|G[d+3|0]<<8;j=(m<<8|m>>>8)&65535;i=L(j,c);if(i){g=d+10|0;if(g>>>0>>0|f>>>0>>0|i>>>0>f-g>>>0){break j}a=a-i|0;F[b+12>>2]=a;if((a|0)<=0){break j}}k:{if(!m){break k}c=d+L(c,j-1|0)|0;if((G[c+10|0]|G[c+11|0]<<8)!=65535){break k}e=(G[c+12|0]|G[c+13|0]<<8)==65535?-1:0}n=e+j|0;c=1;if(!n){break i}o=d+10|0;c=G[d|0]|G[d+1|0]<<8;p=(c<<8|c>>>8)&65535;d=o+L(p,j-1|0)|0;q=F[l+12>>2];i=0;while(1){e=0;g=L(i,p)+o|0;c=0;l:{if(!m){break l}c=0;if((G[d|0]|G[d+1|0]<<8)!=65535){break l}c=(G[d+2|0]|G[d+3|0]<<8)==65535?-1:0}c=c+j>>>0>i>>>0?g:163632;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<6){break j}g=a-6|0;F[b+12>>2]=g;if((g|0)<=0){break j}g=G[c|0]|G[c+1|0]<<8;g=(g<<8|g>>>8)&65535;k=G[c+2|0]|G[c+3|0]<<8;k=(k<<8|k>>>8)&65535;if(g>>>0>>0){break j}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break j}a=a-8|0;F[b+12>>2]=a;if((a|0)<=0){break j}g=(g-k|0)+1|0;if(g>>>0>2147483646){break j}if(g){c=G[c|0]|G[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+q|0;if(c>>>0>>0|c>>>0>f>>>0){break j}k=f-c|0;c=g<<1;if(k>>>0>>0){break j}a=a-c|0;F[b+12>>2]=a;if((a|0)<=0){break j}}e=1;i=i+1|0;if((n|0)!=(i|0)){continue}break}}c=e}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;F[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=G[c|0]|G[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<4){c=0;break a}f=G[a+4|0]|G[a+5|0]<<8;c=L(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;F[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=G[a+4|0]|G[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=((d<<8|d>>>8)&65535)<<1;if(e>>>0>>0){c=0;break a}a=c-a|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;F[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=G[a+2|0]|G[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=G[a+6|0]|G[a+7|0]<<8;d=L(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(d>>>0>e-a>>>0){c=0;break a}a=c-d|0;F[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Ga=l+16|0;return c}function Ci(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=Ga-16|0;Ga=l;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=F[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=F[b+12>>2];j=d-2|0;F[b+12>>2]=j;if((j|0)<=0){break a}c=1;b:{c:{d:{e:{f:{g:{h:{i=G[a|0]|G[a+1|0]<<8;switch((i<<8|i>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=F[b+36>>2];if(c>>>0>1073741822){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=c<<2;if(e>>>0>>0){c=0;break a}a=j-a|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;F[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=G[c|0]|G[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<8){c=0;break a}f=G[a+4|0]|G[a+5|0]<<8;c=L(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}F[l+12>>2]=a;e=0;d=a+2|0;h=F[b+4>>2];i:{j:{if(d>>>0>>0){break j}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break j}a=F[b+12>>2]-10|0;F[b+12>>2]=a;if((a|0)<=0){break j}c=G[d|0]|G[d+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){break j}m=G[d+2|0]|G[d+3|0]<<8;j=(m<<8|m>>>8)&65535;i=L(j,c);if(i){g=d+10|0;if(g>>>0>>0|f>>>0>>0|i>>>0>f-g>>>0){break j}a=a-i|0;F[b+12>>2]=a;if((a|0)<=0){break j}}k:{if(!m){break k}c=d+L(c,j-1|0)|0;if((G[c+10|0]|G[c+11|0]<<8)!=65535){break k}e=(G[c+12|0]|G[c+13|0]<<8)==65535?-1:0}n=e+j|0;c=1;if(!n){break i}o=d+10|0;c=G[d|0]|G[d+1|0]<<8;p=(c<<8|c>>>8)&65535;d=o+L(p,j-1|0)|0;q=F[l+12>>2];i=0;while(1){e=0;g=L(i,p)+o|0;c=0;l:{if(!m){break l}c=0;if((G[d|0]|G[d+1|0]<<8)!=65535){break l}c=(G[d+2|0]|G[d+3|0]<<8)==65535?-1:0}c=c+j>>>0>i>>>0?g:163632;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<6){break j}g=a-6|0;F[b+12>>2]=g;if((g|0)<=0){break j}g=G[c|0]|G[c+1|0]<<8;g=(g<<8|g>>>8)&65535;k=G[c+2|0]|G[c+3|0]<<8;k=(k<<8|k>>>8)&65535;if(g>>>0>>0){break j}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break j}a=a-8|0;F[b+12>>2]=a;if((a|0)<=0){break j}g=(g-k|0)+1|0;if(g>>>0>1073741822){break j}if(g){c=G[c|0]|G[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+q|0;if(c>>>0>>0|c>>>0>f>>>0){break j}k=f-c|0;c=g<<2;if(k>>>0>>0){break j}a=a-c|0;F[b+12>>2]=a;if((a|0)<=0){break j}}e=1;i=i+1|0;if((n|0)!=(i|0)){continue}break}}c=e}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;F[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=G[c|0]|G[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){c=0;break a}f=G[a+4|0]|G[a+5|0]<<8;c=L(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;F[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=G[a+4|0]|G[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=((d<<8|d>>>8)&65535)<<2;if(e>>>0>>0){c=0;break a}a=c-a|0;F[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;F[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=G[a+2|0]|G[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=G[a+6|0]|G[a+7|0]<<8;d=L(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(d>>>0>e-a>>>0){c=0;break a}a=c-d|0;F[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Ga=l+16|0;return c}function tr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=Ga-16|0;Ga=d;k=F[b+16>>2];l=F[b+8>>2];e=F[b>>2];n=F[a+492>>2];a:{b:{c=Ia[F[b+36>>2]](b)|0;if((c|0)<0){break b}e=l-e>>3;e=(c|0)<(e|0)?c:e;if(F[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;c:{if(!F[b+152>>2]){f=e+6|0;c=Ia[F[F[n>>2]>>2]](j,f,k)|0;if(c){break c}c=Ia[F[F[n>>2]>>2]](m,f,k)|0;if(c){break c}c=Ia[F[F[n>>2]>>2]](i,4,k)|0;F[d+12>>2]=c;if(c){break c}}Ia[F[b+28>>2]](b);c=F[b>>2];if(l>>>0<=c>>>0){break b}t=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}h:{switch(G[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break g}}i:{switch(G[c|0]-100|0){case 0:if(!g|(G[c+1|0]!=101|G[c+2|0]!=102)){break g}break e;case 1:break i;default:break g}}if(G[c+1|0]!=110){break g}if(G[c+2|0]==100){break f}}Ia[F[b+32>>2]](b);h=F[b>>2];if(h>>>0>=l>>>0){break b}if(F[b+12>>2]){break a}j:{if(G[c|0]!=47){break j}if(c+2>>>0>=l>>>0){F[d+12>>2]=3;break d}o=F[F[a+128>>2]+52>>2];f=F[b+8>>2];Ia[F[b+28>>2]](b);k:{e=F[b>>2];l:{if(e>>>0>=f>>>0|G[e|0]-48>>>0>9){break l}e=Ia[F[b+36>>2]](b)|0;Ia[F[b+32>>2]](b);if((e|0)<0){break l}q=f;r=F[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break k}}if(o){break a}F[b+12>>2]=3;break a}F[b>>2]=(e+r|0)+1;if(F[b+12>>2]){break a}if(F[b+152>>2]){break j}c=c+1|0;h=h-c|0;o=Ia[F[b+200>>2]](m,g,c,h+1|0)|0;F[d+12>>2]=o;if(o){break d}q=h;h=g<<2;D[q+F[h+F[b+180>>2]>>2]|0]=0;if(G[c|0]==46){c=ab(11262,F[h+F[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=F[a+172>>2];m:{if(!((c|0)<0|(g|0)>=(t|0))){if(c>>>0>=e>>>0){F[d+12>>2]=3;break d}c=gb(k,e,d+12|0);if(F[d+12>>2]){break d}c=Ya(c,f,e);Ia[F[n+16>>2]](c,e,4330);f=F[a+172>>2];u=d,v=Ia[F[b+252>>2]](j,g,f+c|0,e-f|0)|0,F[u+12>>2]=v;if(c){Ia[F[k+8>>2]](k,c)}c=F[d+12>>2];break m}c=Ia[F[b+252>>2]](j,g,f,e)|0;F[d+12>>2]=c}if(c){break d}g=g+1|0}Ia[F[b+28>>2]](b);c=F[b>>2];if(l>>>0>c>>>0){continue}}break}if(!g){break b}}F[b+152>>2]=g;if(s&255){a=F[F[b+180>>2]>>2];if(!ab(11262,a)){break a}c=Ia[F[b+304>>2]](i,0,a,F[F[b+184>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+304>>2]](i,1,F[F[b+232>>2]>>2],F[F[b+236>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}a=p<<2;c=Ia[F[b+304>>2]](i,2,F[a+F[b+180>>2]>>2],F[a+F[b+184>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+304>>2]](i,3,F[a+F[b+232>>2]>>2],F[a+F[b+236>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+200>>2]](m,p,F[F[b+284>>2]>>2],F[F[b+288>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+252>>2]](j,p,F[F[b+284>>2]+4>>2],F[F[b+288>>2]+4>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+200>>2]](m,0,F[F[b+284>>2]+8>>2],F[F[b+288>>2]+8>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+252>>2]](j,0,F[F[b+284>>2]+12>>2],F[F[b+288>>2]+12>>2])|0;F[d+12>>2]=c;if(c){break c}break a}D[d+8|0]=G[100176];F[d+4>>2]=G[100172]|G[100173]<<8|(G[100174]<<16|G[100175]<<24);c=Ia[F[b+304>>2]](i,0,F[F[b+180>>2]>>2],F[F[b+184>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+304>>2]](i,1,F[F[b+232>>2]>>2],F[F[b+236>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+200>>2]](m,0,11262,8)|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+252>>2]](j,0,d+4|0,5)|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+200>>2]](m,g,F[F[b+284>>2]>>2],F[F[b+288>>2]>>2])|0;F[d+12>>2]=c;if(c){break c}c=Ia[F[b+252>>2]](j,g,F[F[b+284>>2]+4>>2],F[F[b+288>>2]+4>>2])|0;F[d+12>>2]=c;if(c){break c}F[b+152>>2]=F[b+152>>2]+1;break a}c=F[d+12>>2]}F[b+12>>2]=c;break a}F[d+12>>2]=3;F[b+12>>2]=3}Ga=d+16|0}function Mo(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=M(0);if(!G[a+178|0]){d=F[a+152>>2];b=G[d+8|0]|G[d+9|0]<<8;c=F[a+160>>2];c=c>>>0<((b<<8|b>>>8)&65535)>>>0?(d+(c<<2)|0)+10|0:163632;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?(c+d|0)+2|0:163632;e=G[c+4|0]|G[c+5|0]<<8;d=(e<<8|e>>>8)&65535;F[a+156>>2]=d;a:{if(!G[a+176|0]){break a}b:{c:{c=F[a+164>>2];if((c|0)>=0){if(c>>>0>=d>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){c=ob(F[a+172>>2],b<<2);if(c){break c}}F[a+164>>2]=-1}D[a+40|0]=1;break a}F[a+164>>2]=b;F[a+172>>2]=c}c=F[a+168>>2];if(c>>>0>>0){Wa(F[a+172>>2]+(c<<2)|0,0,d-c<<2)}F[a+168>>2]=d;g=F[a+152>>2]+2|0;d=F[a+160>>2];p=F[a+144>>2];q=F[a+148>>2];d:{if(!e){F[61608]=F[40908];c=246432;break d}c=F[a+172>>2]}b=G[g+6|0]|G[g+7|0]<<8;b=d>>>0<((b<<8|b>>>8)&65535)>>>0?(g+(d<<2)|0)+8|0:163632;b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);h=b?b+g|0:163632;b=G[h+4|0]|G[h+5|0]<<8;k=(b<<8|b>>>8)&65535;j=F[a+156>>2];f=j>>>0>k>>>0?k:j;if(f){b=G[g+2|0]|G[g+3|0]<<8|(G[g+4|0]<<16|G[g+5|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b?b+g|0:163632;b=0;while(1){d=h+(b<<1)|0;d=G[d+6|0]|G[d+7|0]<<8;v=c+(b<<2)|0,w=Ah(e,(d<<8|d>>>8)&65535,p,q),J[v>>2]=w;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(j>>>0>k>>>0){Wa(c+(f<<2)|0,0,j-f<<2)}}D[a+178|0]=1}c=F[a+24>>2];e:{f:{if(c){c=c-1|0;F[a+24>>2]=c;if(c>>>0>=I[a+32>>2]){break f}c=F[a+36>>2]+(c<<5)|0;break e}D[a+20|0]=1}c=F[40915];F[61614]=F[40914];F[61615]=c;c=F[40913];F[61612]=F[40912];F[61613]=c;c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432}i=F[a+156>>2];b=0;g:{h:{i:{u=K[c>>3];j:{if(N(u)<2147483648){c=~~u;break j}c=-2147483648}if((c|0)>=0){e=F[a+24>>2];r=e+L(c,i^-1)|0;if(e>>>0>>0){break h}if(c){break i}break g}D[a+20|0]=1;e=F[a+24>>2];break g}l=(i|0)>0?i:0;k=i&-2;p=i&1;q=c+r|0;n=F[40908];o=F[40909];while(1){f=F[a+32>>2];b=m+r|0;if(b>>>0>=e>>>0){D[a+20|0]=1}h=F[a+36>>2];k:{if(b>>>0>=f>>>0){b=F[40915];F[61614]=F[40914];F[61615]=b;b=F[40913];F[61612]=F[40912];F[61613]=b;b=F[40911];F[61610]=F[40910];F[61611]=b;F[61608]=n;F[61609]=o;d=246432;break k}d=h+(b<<5)|0}F[d+12>>2]=m;F[d+8>>2]=c;b=F[d+16>>2];l:{if((b|0)<0){break l}e=b;if(b>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(l>>>0>=e>>>0){continue}break}m:{if(!(b>>>0>e>>>0|e>>>0>536870910)){b=ob(F[d+24>>2],e<<3);if(b){break m}}F[d+16>>2]=-1;break l}F[d+16>>2]=e;F[d+24>>2]=b}b=F[d+20>>2];if(b>>>0>>0){Wa(F[d+24>>2]+(b<<3)|0,0,l-b<<3)}F[d+20>>2]=l}n:{if(!i){break n}e=L(i,m)+q|0;b=f-e|0;s=e?b>>>0>f>>>0?0:b:f;t=h+(e<<5)|0;g=F[d+24>>2];j=F[d+20>>2];b=0;h=0;if((i|0)!=1){while(1){d=t+(b<<5)|0;o:{if(b>>>0>=j>>>0){F[61608]=n;F[61609]=o;f=246432;break o}f=g+(b<<3)|0}e=b>>>0>>0?d:163632;d=F[e+4>>2];F[f>>2]=F[e>>2];F[f+4>>2]=d;e=b|1;d=t+(e<<5)|0;p:{if(e>>>0>=j>>>0){F[61608]=n;F[61609]=o;f=246432;break p}f=g+(e<<3)|0}e=e>>>0>>0?d:163632;d=F[e+4>>2];F[f>>2]=F[e>>2];F[f+4>>2]=d;b=b+2|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!p){break n}d=t+(b<<5)|0;q:{if(b>>>0>=j>>>0){F[61608]=n;F[61609]=o;e=246432;break q}e=g+(b<<3)|0}d=b>>>0>>0?d:163632;b=F[d+4>>2];F[e>>2]=F[d>>2];F[e+4>>2]=b}e=F[a+24>>2];m=m+1|0;if((c|0)!=(m|0)){continue}break}b=c;break g}D[a+40|0]=1;return}c=L(b,i);if(c>>>0<=e>>>0){F[a+24>>2]=e-c;return}D[a+20|0]=1}function pj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ga-16|0;Ga=g;F[b+12>>2]=0;F[b>>2]=c;h=c+d|0;F[b+8>>2]=h;Ia[F[b+28>>2]](b);c=F[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=G[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(G[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(G[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(cb(c,11709,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Ia[F[b+32>>2]](b);e=1;l=c;if(!F[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|G[c+1|0]!=68){break d}F[b>>2]=l;e=F[F[a+128>>2]+52>>2];d=F[b+8>>2];Ia[F[b+28>>2]](b);n:{c=F[b>>2];o:{if(c>>>0>=d>>>0|G[c|0]-48>>>0>9){break o}c=Ia[F[b+36>>2]](b)|0;Ia[F[b+32>>2]](b);if((c|0)<0){break o}f=d;d=F[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}F[b>>2]=(c+d|0)+1;e=0;if(!F[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|G[c+1|0]!=124){break d}F[b>>2]=l;e=F[F[a+128>>2]+52>>2];d=F[b+8>>2];Ia[F[b+28>>2]](b);p:{c=F[b>>2];q:{if(c>>>0>=d>>>0|G[c|0]-48>>>0>9){break q}c=Ia[F[b+36>>2]](b)|0;Ia[F[b+32>>2]](b);if((c|0)<0){break q}f=d;d=F[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}F[b>>2]=(c+d|0)+1;e=0;if(!F[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;F[b>>2]=i;Ia[F[b+32>>2]](b);if(F[b+12>>2]){break b}e=0;c=F[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=G[i|0];c=98480;f=12002;while(1){d=c;r:{if(G[f|0]!=(p|0)){break r}if((hb(f)|0)!=(j|0)){break r}if(hc(i,f,j)){break r}c=F[b+376>>2];if(!(F[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(ab(f,11880)){break c}}f=F[a+532>>2];if(f){c=F[f>>2]?f:0}else{c=0}i=F[d+8>>2];s:{if((i|0)==11){Ia[F[d+12>>2]](a,b);c=F[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(F[d+4>>2]-2|0){case 1:F[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:F[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:F[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:F[g+12>>2]=b;e=g+12|0;break u;case 5:F[g+12>>2]=a;e=g+12|0;break u;case 6:F[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}F[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=F[e>>2];c=F[c>>2]}if(f){break t}break g}F[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Ia[F[b+68>>2]](b,d,e,c,0)|0;break s}c=Ia[F[b+64>>2]](b,d,e,c,0)|0}F[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=F[d+36>>2];if(f){continue}break}break c}if(!cb(c,11600,5)){break b}break d}e=0;F[b+12>>2]=0;break c}F[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(G[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(cb(c,11768,13)){break d}d=F[b+376>>2];if(d&1){F[b+376>>2]=d|2}F[b>>2]=c+13;break c}Ia[F[b+32>>2]](b);e=0;if(F[b+12>>2]){break b}}Ia[F[b+28>>2]](b);c=F[b>>2];if(h>>>0>c>>>0){continue}break}}c=F[b+12>>2]}Ga=g+16|0;return c}function fj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=Ga-1328|0;Ga=g;j=F[a+4>>2];l=F[j+328>>2];F[g+1324>>2]=0;o=F[j+136>>2];q=F[j+100>>2];m=F[F[j+128>>2]+52>>2];a:{b:{if(m){c=Ia[F[F[m>>2]>>2]](F[m+4>>2],b,g+664|0)|0;F[g+1324>>2]=c;if(c){break a}c=0;l=F[j+288>>2];c:{if(!(l&255)){break c}k=l&3;f=F[g+664>>2];if((l-1&255)>>>0<3){d=0}else{n=l&252;while(1){e=f;f=e+4|0;d=d+4|0;if((n|0)!=(d&255)){continue}break}d=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!k){break c}while(1){d=G[f|0]|d<<8;f=f+1|0;i=i+1|0;if((k|0)!=(i&255)){continue}break}}f=F[g+668>>2];d:{if(!f){f=0;break d}c=f-l|0;f=gb(q,c,g+1324|0);if(F[g+1324>>2]){break d}Ya(f,F[g+664>>2]+F[j+288>>2]|0,c)}Ia[F[F[m>>2]+4>>2]](F[m+4>>2],g+664|0);if(!F[g+1324>>2]){break b}break a}c=F[j+292>>2]+F[j+288>>2]|0;k=Za(l,(F[j+284>>2]+F[j+308>>2]|0)+L(c,b)|0);F[g+1324>>2]=k;if(k){break a}c=tb(l,c<<1);F[g+1324>>2]=c;if(c){break a}c=F[l+32>>2];n=F[j+288>>2];if(n&255){f=c;k=n-1&255;if(k>>>0>=3){p=n&252;while(1){h=f;f=f+4|0;d=d+4|0;if((p|0)!=(d&255)){continue}break}d=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}h=n&3;if(h){while(1){d=G[f|0]|d<<8;f=f+1|0;e=e+1|0;if((h|0)!=(e&255)){continue}break}}c=(c+k|0)+1|0}e=0;k=F[j+292>>2];e:{if(!(k&255)){break e}f=c;r=k-1|0;s=r&255;if(s>>>0>=3){p=k&252;h=0;while(1){i=f;f=f+4|0;h=h+4|0;if((p|0)!=(h&255)){continue}break}h=G[i|0]|G[i+1|0]<<8|(G[i+2|0]<<16|G[i+3|0]<<24);i=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}h=k&3;if(h){while(1){i=G[f|0]|i<<8;f=f+1|0;e=e+1|0;if((h|0)!=(e&255)){continue}break}}p=k&3;f=((c+s|0)+n|0)+1|0;h=0;if((r&255)>>>0<3){e=0}else{k=k&252;e=0;while(1){c=f;f=c+4|0;e=e+4|0;if((k|0)!=(e&255)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!p){break e}while(1){e=G[f|0]|e<<8;f=f+1|0;h=h+1|0;if((p|0)!=(h&255)){continue}break}}lb(l);if(!(!(I[l+4>>2]>>0|I[j+300>>2]<=d>>>0)&e>>>0>=i>>>0)){F[g+1324>>2]=9;h=0;f=0;break a}h=0;f=0;if((e|0)==(i|0)){break a}c=e-i|0;f=gb(q,c,g+1324|0);if(F[g+1324>>2]){break a}e=af(l,F[j+308>>2]+i|0,f,c);F[g+1324>>2]=e;if(e){break a}}e=F[j+316>>2]+(d<<3)|0;F[a+1364>>2]=F[e>>2];e=F[e+4>>2];F[a+1372>>2]=0;F[a+1376>>2]=0;F[a+1368>>2]=e;d=F[j+304>>2]+L(d,252)|0;e=F[d+220>>2];F[a+1380>>2]=F[d+216>>2];F[a+1384>>2]=e;i=F[d+228>>2];e=a+1388|0;F[e>>2]=F[d+224>>2];F[e+4>>2]=i;e=F[d+236>>2];F[a+1396>>2]=F[d+232>>2];F[a+1400>>2]=e;i=F[d+4>>2];F[a+1360>>2]=i;e=(i|0)>=0?i:0;if(e>>>0<=c>>>0){if((i|0)>=0){Ia[F[o+16>>2]](f,c,4330)}f:{if(G[a+70|0]){d=Ia[F[F[o+12>>2]+8>>2]](a,f+e|0,c-e|0)|0;F[g+1324>>2]=d;h=0;break f}h=g+664|0;Ia[F[o+24>>2]](h,a,1);i=d;d=g+8|0;Ia[F[o+28>>2]](j,i,d);F[g+1200>>2]=d;i=f+e|0;c=c-e|0;d=Ia[F[F[o+12>>2]+12>>2]](h,i,c)|0;F[g+1324>>2]=d;h=0;if((d&255)!=164){break f}D[F[a+8>>2]+160|0]=0;d=Ia[F[F[o+12>>2]+12>>2]](g+664|0,i,c)|0;F[g+1324>>2]=d;h=1}if(!F[F[m>>2]+8>>2]|(!m|d)){break a}c=F[a+32>>2];F[g+668>>2]=0;F[g+664>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=F[a+40>>2];F[g+672>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=F[a+44>>2];F[g+676>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t=g,u=Ia[F[F[m>>2]+8>>2]](F[m+4>>2],b,0,g+664|0)|0,F[t+1324>>2]=u;F[a+32>>2]=F[g+664>>2]<<16;F[a+40>>2]=F[g+672>>2]<<16;F[a+44>>2]=F[g+676>>2]<<16;break a}F[g+1324>>2]=9}if(f){Ia[F[q+8>>2]](q,f)}D[F[a+8>>2]+161|0]=h;Ga=g+1328|0;return F[g+1324>>2]}function _B(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=M(0),j=0,k=M(0),l=0,m=0;d=F[a>>2];h=d+10|0;e=F[a+4>>2];d=G[d|0]|G[d+1|0]<<8;g=(d<<8|d>>>8)<<16>>16;m=g+1|0;d=h+(m<<1)|0;a:{if(e>>>0>d>>>0){break a}e=e+F[a+8>>2]|0;if(e>>>0>>0|e-d>>>0<2){break a}d=(h+(g<<1)|0)-2|0;d=G[d|0]|G[d+1|0]<<8;j=(d<<8|d>>>8)&65535;d=0;e=F[b>>2];b:{if((e|0)<0){break b}l=j+1|0;if(e>>>0<=j>>>0){f=e;while(1){f=((f>>>1|0)+f|0)+8|0;if(l>>>0>=f>>>0){continue}break}c:{if(!(e>>>0>f>>>0|f>>>0>268435454)){e=ob(F[b+8>>2],f<<4);if(e){break c}}F[b>>2]=-1;break b}F[b>>2]=f;F[b+8>>2]=e}f=F[b+4>>2];if(f>>>0<=j>>>0){Wa(F[b+8>>2]+(f<<4)|0,0,l-f<<4)}F[b+4>>2]=l}f=F[b+4>>2];if(f){d=f;e=0;while(1){d:{if(d>>>0<=e>>>0){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=F[b+4>>2];f=246432;break d}f=F[b+8>>2]+(e<<4)|0}F[f+4>>2]=0;F[f+8>>2]=0;D[f|0]=0;D[f+12|0]=0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}f=1;if(c){break a}e:{if((g|0)<=0){break e}e=0;while(1){c=h+(e<<1)|0;c=G[c|0]|G[c+1|0]<<8;c=(c<<8|c>>>8)&65535;f:{if(c>>>0>=d>>>0){c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break f}c=F[b+8>>2]+(c<<4)|0}D[c+12|0]=1;e=e+1|0;if((g|0)==(e|0)){break e}d=F[b+4>>2];continue}}c=h+(g<<1)|0;c=G[c|0]|G[c+1|0]<<8;c=(h+(m<<1)|0)+((c<<8|c>>>8)&65535)|0;f=0;e=0;while(1){d=F[a+4>>2];if(d>>>0>c>>>0|d+F[a+8>>2]>>>0<=c>>>0){break a}h=G[c|0];d=c+1|0;g:{if(I[b+4>>2]<=e>>>0){g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break g}g=F[b+8>>2]+(e<<4)|0}D[g|0]=h;if(h&8){g=F[a+4>>2];if(g>>>0>d>>>0|d>>>0>=g+F[a+8>>2]>>>0){break a}d=c+2|0;c=G[c+1|0];h:{if(!c){break h}while(1){e=e+1|0;if(j>>>0>>0){break h}c=c-1|0;i:{if(I[b+4>>2]<=e>>>0){g=F[40911];F[61610]=F[40910];F[61611]=g;g=F[40909];F[61608]=F[40908];F[61609]=g;g=246432;break i}g=F[b+8>>2]+(e<<4)|0}D[g|0]=h;if(c){continue}break}}}c=d;e=e+1|0;if(j>>>0>=e>>>0){continue}break}d=F[b+4>>2];if(!d){return 1}e=0;while(1){j:{if(d>>>0<=e>>>0){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break j}d=F[b+8>>2]+(e<<4)|0}h=G[d|0];k:{if(h&2){d=F[a+4>>2];if(d>>>0>c>>>0|d+F[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=M(G[c|0]);if(h&16){i=M(i+k);c=d;break k}i=M(i-k);c=d;break k}if(h&16){break k}d=F[a+4>>2];if(d>>>0>c>>>0){break a}d=d+F[a+8>>2]|0;if(d>>>0>>0|d-c>>>0<2){break a}d=G[c|0]|G[c+1|0]<<8;i=M(i+M((d<<8|d>>>8)<<16>>16));c=c+2|0}d=F[b+4>>2];l:{if(d>>>0<=e>>>0){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=F[b+4>>2];h=246432;break l}h=F[b+8>>2]+(e<<4)|0}J[h+4>>2]=i;e=e+1|0;if(d>>>0>e>>>0){continue}break}if(!d){return 1}i=M(0);e=0;while(1){m:{if(d>>>0<=e>>>0){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break m}d=F[b+8>>2]+(e<<4)|0}h=G[d|0];n:{if(h&4){f=0;d=F[a+4>>2];if(d>>>0>c>>>0|d+F[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=M(G[c|0]);if(h&32){i=M(i+k);c=d;break n}i=M(i-k);c=d;break n}if(h&32){break n}f=0;d=F[a+4>>2];if(d>>>0>c>>>0){break a}d=d+F[a+8>>2]|0;if(d>>>0>>0|d-c>>>0<2){break a}d=G[c|0]|G[c+1|0]<<8;i=M(i+M((d<<8|d>>>8)<<16>>16));c=c+2|0}d=F[b+4>>2];o:{if(d>>>0<=e>>>0){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=F[b+4>>2];f=246432;break o}f=F[b+8>>2]+(e<<4)|0}J[f+8>>2]=i;f=1;e=e+1|0;if(d>>>0>e>>>0){continue}break}}return f|0}function tm(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{if(!(!f|!b)){l=ib(f,16);if(l){break e}l=0;break c}j=F[d+4>>2];F[a>>2]=F[d>>2];F[a+4>>2]=j;F[a+16>>2]=F[d+16>>2];j=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=j;F[a+24>>2]=f;F[a+20>>2]=b?0:e;break d}b=F[d+4>>2];F[a>>2]=F[d>>2];F[a+4>>2]=b;F[a+16>>2]=F[d+16>>2];b=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=b;F[a+24>>2]=f;F[a+20>>2]=l;j=f&1;e=Ya(l,e,f<<4);d=F[e+8>>2];b=F[e+12>>2];f:{if((f|0)==1){f=b;break f}k=f&-2;while(1){if(d){F[e+8>>2]=1}if((b|0)!=-1){F[e+12>>2]=2}if(d){F[e+8>>2]=1;d=1}else{d=0}f=-1;if((b|0)!=-1){F[e+12>>2]=2;f=2}b=f;m=m+2|0;if((k|0)!=(m|0)){continue}break}}if(!j){break d}if(d){F[e+8>>2]=1}if((f|0)==-1){break d}F[e+12>>2]=2}F[a+36>>2]=0;F[a+40>>2]=0;Yn(c,1196643650,g,h,a+28|0);Yn(c,1196445523,g,h,a+32|0);if(i){b=F[i>>2];if(!b){break c}d=c+40|0;e=c+44|0;while(1){c=i;g:{if(!ab(b,105020)){g=F[d>>2];h:{if(g){break h}f=d-4|0;while(1){if(!F[f>>2]){g=0;break h}g=1;b=F[d>>2];F[d>>2]=b?b:1;if(!b){break h}g=F[d>>2];if(!g){continue}break}}if(!g){break g}break b}if(ab(b,105334)){break g}g=F[e>>2];i:{if(g){break i}f=e-8|0;while(1){if(!F[f>>2]){g=0;break i}g=1;b=F[e>>2];F[e>>2]=b?b:1;if(!b){break i}g=F[e>>2];if(!g){continue}break}}if(!g){break g}break a}i=c+4|0;b=F[c+4>>2];if(b){continue}break}break c}d=F[61606];j:{if(d){break j}while(1){d=0;e=0;g=Ga-32|0;Ga=g;h=Wg(105159);k:{if(!h|!G[h|0]){break k}f=ib(1,40);if(!f){break k}b=F[40905];F[f+32>>2]=F[40904];F[f+36>>2]=b;b=F[40903];F[f+24>>2]=F[40902];F[f+28>>2]=b;b=F[40901];F[f+16>>2]=F[40900];F[f+20>>2]=b;b=F[40899];F[f+8>>2]=F[40898];F[f+12>>2]=b;b=F[40897];F[f>>2]=F[40896];F[f+4>>2]=b;j=f+20|0;while(1){e=oc(h,44);if(!e){e=hb(h)+h|0}l:{if(d>>>0>1){break l}i=f+L(d,20)|0;k=e-h|0;b=d;m:{if((hb(i)|0)!=(k|0)){break m}b=d;if(cb(i,h,k)){break m}n=F[i+16>>2];F[g+24>>2]=n;b=F[i+12>>2];o=F[i+8>>2];F[g+16>>2]=o;F[g+20>>2]=b;m=F[i+4>>2];p=F[i>>2];F[g+8>>2]=p;F[g+12>>2]=m;F[i+16>>2]=n;F[i+8>>2]=o;F[i+12>>2]=b;F[i>>2]=p;F[i+4>>2]=m;b=d+1|0}n:{if(d){break n}if((hb(j)|0)!=(k|0)){break n}if(cb(j,h,k)){break n}F[g+24>>2]=F[j+16>>2];d=F[j+12>>2];F[g+16>>2]=F[j+8>>2];F[g+20>>2]=d;d=F[j+4>>2];F[g+8>>2]=F[j>>2];F[g+12>>2]=d;d=f+L(b,20)|0;Cb(d+20|0,d,L(1-b|0,20));F[d+16>>2]=F[g+24>>2];h=F[g+20>>2];F[d+8>>2]=F[g+16>>2];F[d+12>>2]=h;h=F[g+12>>2];F[d>>2]=F[g+8>>2];F[d+4>>2]=h;d=b+1|0;break l}d=b}h=e+1|0;if(G[e|0]){continue}break}e=f}Ga=g+32|0;d=e;if(!d){d=163584}b=F[61606];F[61606]=b?b:d;if(!b){break j}if(!(!d|(d|0)==163584)){Ta(d)}d=F[61606];if(!d){continue}break}}o:{p:{b=F[d+16>>2];if((b|0)==785){if(F[c+40>>2]){break o}while(1){if(!F[c+36>>2]){break p}b=F[c+40>>2];F[c+40>>2]=b?b:1;if(!b){break o}if(!F[c+40>>2]){continue}break}break o}if((b|0)!=786){break p}if(F[c+44>>2]){break a}while(1){if(!F[c+36>>2]){break p}b=F[c+44>>2];F[c+44>>2]=b?b:1;if(!b){break a}if(!F[c+44>>2]){continue}break}break a}b=F[d+36>>2];if((b|0)!=785){if((b|0)!=786){break c}if(F[c+44>>2]){break a}while(1){if(!F[c+36>>2]){break c}b=F[c+44>>2];F[c+44>>2]=b?b:1;if(!b){break a}if(!F[c+44>>2]){continue}break}break a}if(F[c+40>>2]){break o}while(1){if(!F[c+36>>2]){break c}b=F[c+40>>2];F[c+40>>2]=b?b:1;if(!b){break o}if(!F[c+40>>2]){continue}break}}break b}Ta(l);return 0}F[a+40>>2]=105020;F[a+36>>2]=785;return 1}F[a+40>>2]=105334;F[a+36>>2]=786;return 1}function hi(a){var b=0,c=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+208>>2];if(b){while(1){c=F[b+4>>2];$g(F[b>>2]);Ta(b);b=c;if(b){continue}break}}b=F[a+52>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+56>>2];if(!(!b|(b|0)==163632)){Xa(b)}b:{c:{b=F[a+60>>2];if(!(!b|(b|0)==163632)){c=F[b+44>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+64>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+68>>2];if(!(!b|(b|0)==163632)){c=F[b+20>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}F[b+20>>2]=0;c=F[b+24>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+72>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+76>>2];if(!(!b|(b|0)==163632)){Ta(F[b+28>>2]);c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}F[b>>2]=0;F[b+16>>2]=0;Ta(F[b+20>>2]);Ta(b)}b=F[a+80>>2];if(!(!b|(b|0)==163632)){c=F[b+8>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}F[b+8>>2]=0;F[b+16>>2]=0;Ta(F[b+20>>2]);Ta(b)}b=F[a+84>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+88>>2];if(!(!b|(b|0)==163632)){c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+92>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+96>>2];if(!(!b|(b|0)==163632)){c=F[b+20>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}F[b+20>>2]=0;c=F[b+24>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+100>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+104>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+108>>2];if(!(!b|(b|0)==163632)){c=F[b+24>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+112>>2];if(!(!b|(b|0)==163632)){De(b);Ta(b)}b=F[a+116>>2];if(!(!b|(b|0)==163632)){xh(b);Ta(b)}b=F[a+120>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+124>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+128>>2];if(!(!b|(b|0)==163632)){c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+132>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+136>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+140>>2];if(!(!b|(b|0)==163632)){c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}kc(F[a+144>>2]);kc(F[a+148>>2]);b=F[a+152>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+156>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+160>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+164>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+168>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+172>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+176>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+180>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+184>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+188>>2];if(!(!b|(b|0)==163632)){Xa(b)}b=F[a+192>>2];if(!(!b|(b|0)==163632)){c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}F[b>>2]=0;c=F[b+4>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+196>>2];if(!(!b|(b|0)==163632)){c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+200>>2];if(!(!b|(b|0)==163632)){c=F[b>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(b)}b=F[a+204>>2];if(!(!b|(b|0)==163632)){Xa(b)}break b}ca(0)|0;Y()|0;Hb();V()}b=F[a+20>>2];if(b){Ia[b|0](F[a+16>>2])}Ta(a)}}function bl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=nb(16);if(d){F[d+12>>2]=24;F[d+4>>2]=25;F[d>>2]=0;F[d+8>>2]=26}if(!d){return 7}b=6;a:{if(!(!d|!a)){c=Ia[F[d+4>>2]](d,208)|0;b=64;if(!c){break a}Wa(c+16|0,0,188);F[c+204>>2]=1;F[c+12>>2]=4;F[c+4>>2]=2;F[c+8>>2]=10;F[c>>2]=d;F[a>>2]=c;b=0}}j=b;b:{if(b){Ta(d);break b}b=F[a>>2];if(b){gc(b,17032)}if(b){gc(b,95956)}if(b){gc(b,98216)}if(b){gc(b,24508)}if(b){gc(b,100180)}if(b){gc(b,30036)}if(b){gc(b,102292)}if(b){gc(b,103200)}if(b){gc(b,29408)}if(b){gc(b,30724)}if(b){gc(b,93472)}if(b){gc(b,31368)}if(b){gc(b,93656)}if(b){gc(b,93928)}if(b){gc(b,29324)}if(b){gc(b,21496)}}i=F[a>>2];h=Ga-432|0;Ga=h;c:{c=Wg(8924);if(!c){break c}while(1){b=0;d:{e:{f:{f=c;e=G[c|0];switch(e|0){case 0:break c;case 9:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;default:break f}}if((e|0)==32){break d}}g:{h:{i:{while(1){a=e&255;if(!a){e=b;break g}if((a|0)==58){e=b;break g}D[(h+288|0)+b|0]=e;e=b|1;a=G[f+1|0];if(!a|(a|0)==58){break h}D[(h+288|0)+e|0]=a;e=b|2;a=G[f+2|0];if(!a|(a|0)==58){break i}D[(h+288|0)+e|0]=a;e=b|3;a=G[f+3|0];if(!(!a|(a|0)==58)){D[(h+288|0)+e|0]=a;f=f+4|0;e=128;b=b+4|0;if((b|0)==128){break g}e=G[f|0];continue}break}f=f+3|0;break g}f=f+2|0;break g}f=f+1|0}D[(h+288|0)+e|0]=0;if((c|0)==(f|0)|G[f|0]!=58){break c}a=1;e=f+1|0;b=0;j:{while(1){c=G[e|0];if(!c){c=b;break j}if((c|0)==61){c=b;break j}D[(h+144|0)+b|0]=c;c=b|1;d=a+1|0;e=d+f|0;g=G[e|0];if(!g){a=d;break j}if((g|0)==61){a=d;break j}D[(h+144|0)+c|0]=g;c=b|2;d=a+2|0;e=d+f|0;g=G[e|0];if(!g){a=d;break j}if((g|0)==61){a=d;break j}D[(h+144|0)+c|0]=g;c=b|3;d=a+3|0;e=d+f|0;g=G[e|0];if(!g){a=d;break j}if((g|0)==61){a=d;break j}D[(h+144|0)+c|0]=g;a=a+4|0;e=f+a|0;c=128;b=b+4|0;if((b|0)!=128){continue}break}a=129}D[(h+144|0)+c|0]=0;if((a|0)==1|G[e|0]!=61){break c}a=1;c=e+1|0;b=0;k:{while(1){d=a;f=b;l:{m:{g=G[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((g|0)!=32){break l}break k}D[b+h|0]=g;f=b|1;n:{o:{d=a+1|0;c=e+d|0;g=G[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((g|0)==32){break k}}D[f+h|0]=g;f=b|2;p:{q:{d=a+2|0;c=e+d|0;g=G[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((g|0)==32){break k}}D[f+h|0]=g;f=b|3;r:{s:{d=a+3|0;c=e+d|0;g=G[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break r;default:break s}}if((g|0)==32){break k}}D[f+h|0]=g;a=a+4|0;c=e+a|0;f=128;b=b+4|0;if((b|0)!=128){continue}break}d=129}D[f+h|0]=0;t:{u:{a=G[c|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break t;default:break u}}if((a|0)!=32){break c}}if((d|0)==1){break c}f=h+288|0;e=h+144|0;v:{if(!i){break v}w:{if(!h|(!f|!e)){break w}a=i+20|0;b=F[i+16>>2];d=a+(b<<2)|0;x:{if((b|0)<=0){break x}while(1){if(!ab(F[F[F[a>>2]>>2]+8>>2],f)){break x}a=a+4|0;if(d>>>0>a>>>0){continue}break}}if((a|0)==(d|0)){break v}d=F[a>>2];b=F[F[d>>2]+32>>2];if(!b){break w}b=Ia[b|0](d,11331)|0;if(!b){break w}b=F[b>>2];if(!b){break w}Ia[b|0](F[a>>2],e,h,1)|0}}if(!G[c|0]){break c}}c=c+1|0;continue}}Ga=h+432|0;return j}function Ub(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ga-16|0;Ga=i;g=F[a>>2];a:{b:{f=F[a+4>>2];c:{if(!f){f=0;break c}if(F[a+40>>2]){break c}e=f<<1;if((e|0)<0){d=6;break b}if(e){d=10;if(e>>>0>268435455){break b}f=f<<4;d=Ia[F[g+4>>2]](g,f)|0;if(!d){d=64;break b}Wa(d,0,f);f=F[a+4>>2]}D[a+16|0]=1;F[a+40>>2]=d;j=(f<<3)+d|0;F[a+44>>2]=j;e=F[a+24>>2];if(e){h=e+(E[a+22>>1]<<3)|0}else{h=0}F[a+60>>2]=h;k=a- -64|0;e=F[a+28>>2];if(e){h=e+E[a+22>>1]|0}else{h=0}F[k>>2]=h;e=F[a+32>>2];if(e){h=e+(E[a+20>>1]<<1)|0}else{h=0}F[a+68>>2]=h;e=E[a+22>>1]<<3;F[a+80>>2]=e+j;F[a+76>>2]=d+e}d:{e:{f:{b=E[a+58>>1]+(E[a+22>>1]+b|0)|0;k=b>>>0<=f>>>0;g:{if(k){b=f;break g}d=10;j=b+7|0;b=j&-8;if(b>>>0>32767){break a}e=F[a+24>>2];if((f|j)<0){break f}h:{i:{j:{if(!b){if(e){Ia[F[g+8>>2]](g,e)}e=0;F[a+24>>2]=0;j=a+28|0;d=F[j>>2];if(!d){break j}Ia[F[g+8>>2]](g,d);break j}h=(b|0)<=(f|0);k:{if(!f){e=Ia[F[g+4>>2]](g,b<<3)|0;d=!e<<6;break k}d=Ia[F[g+12>>2]](g,f<<3,b<<3,e)|0;e=d?d:e;d=!d<<6}l:{if(e?h|d:1){F[a+24>>2]=e;if(!d){break l}break e}Wa((f<<3)+e|0,0,b-f<<3);F[a+24>>2]=e}j=a+28|0;m:{if(!f){e=Ia[F[g+4>>2]](g,b)|0;d=!e<<6;break m}e=F[a+28>>2];d=Ia[F[g+12>>2]](g,f,b,e)|0;e=d?d:e;d=!d<<6}if(d|h|!e){break i}Wa(e+f|0,0,b-f|0)}F[i+12>>2]=0;F[j>>2]=e;break h}F[i+12>>2]=d;F[a+28>>2]=e;if(d){break e}}if(G[a+16|0]){e=Va(g,8,f<<1,b<<1,F[a+40>>2],i+12|0);F[a+40>>2]=e;d=F[i+12>>2];if(d){break e}d=b<<3;f=f<<3;Cb(d+e|0,f+e|0,f);F[a+44>>2]=d+F[a+40>>2]}F[a+4>>2]=b}if(!(F[a+40>>2]|!b)){f=b<<1;if((f|0)<0){d=6;break d}n:{if(!f){f=0;break n}d=10;if(f>>>0>268435455){break d}d=F[a>>2];b=b<<4;f=Ia[F[d+4>>2]](d,b)|0;if(!f){d=64;F[a+40>>2]=0;break a}Wa(f,0,b);b=F[a+4>>2]}D[a+16|0]=1;F[a+40>>2]=f;d=(b<<3)+f|0;F[a+44>>2]=d;b=F[a+24>>2];if(b){b=b+(E[a+22>>1]<<3)|0}else{b=0}F[a+60>>2]=b;h=a- -64|0;b=F[a+28>>2];if(b){b=b+E[a+22>>1]|0}else{b=0}F[h>>2]=b;b=F[a+32>>2];if(b){b=b+(E[a+20>>1]<<1)|0}else{b=0}F[a+68>>2]=b;b=E[a+22>>1]<<3;F[a+80>>2]=b+d;F[a+76>>2]=b+f}d=0;F[i+12>>2]=0;b=E[a+56>>1]+(E[a+20>>1]+c|0)|0;c=F[a+8>>2];o:{if(b>>>0>c>>>0){d=10;b=b+3&-4;if(b>>>0>32767){break a}l=a,m=Va(g,2,c,b,F[a+32>>2],i+12|0),F[l+32>>2]=m;d=F[i+12>>2];if(d){break e}F[a+8>>2]=b;break o}if(k){break a}}d=0;b=F[a+24>>2];if(b){b=b+(E[a+22>>1]<<3)|0}else{b=0}F[a+60>>2]=b;c=a- -64|0;b=F[a+28>>2];if(b){b=b+E[a+22>>1]|0}else{b=0}F[c>>2]=b;b=F[a+32>>2];if(b){b=b+(E[a+20>>1]<<1)|0}else{b=0}F[a+68>>2]=b;if(!G[a+16|0]){break a}b=E[a+22>>1]<<3;F[a+76>>2]=b+F[a+40>>2];F[a+80>>2]=b+F[a+44>>2];break a}d=6;F[i+12>>2]=6;F[a+24>>2]=e}b=F[a>>2];c=F[a+24>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+24>>2]=0;c=F[a+28>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+28>>2]=0;c=F[a+32>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+32>>2]=0;c=F[a+40>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+40>>2]=0;c=F[a+52>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+20>>2]=0;F[a+36>>2]=0;F[a+44>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+12>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;F[a+88>>2]=0;b=F[a+24>>2];F[a+56>>2]=F[a+20>>2];F[a+60>>2]=b;c=F[a+32>>2];b=a- -64|0;F[b>>2]=F[a+28>>2];F[b+4>>2]=c;b=F[a+40>>2];F[a+72>>2]=F[a+36>>2];F[a+76>>2]=b;b=F[a+48>>2];F[a+80>>2]=F[a+44>>2];F[a+84>>2]=b;break a}F[a+40>>2]=0;break a}F[a+40>>2]=0;F[i+12>>2]=d}Ga=i+16|0;return d}function Jv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Ga-16|0;Ga=l;F[l+8>>2]=c;F[l+12>>2]=a;c=Wa(c,0,652);f=G[b+8|0];D[c+188|0]=f;a:{if(!f){break a}if(f-1>>>0>=3){i=f&252;g=c+192|0;h=b+12|0;while(1){F[g+(d<<2)>>2]=E[h+(d<<1)>>1];k=d|1;F[g+(k<<2)>>2]=E[h+(k<<1)>>1];k=d|2;F[g+(k<<2)>>2]=E[h+(k<<1)>>1];k=d|3;F[g+(k<<2)>>2]=E[h+(k<<1)>>1];d=d+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}f=f&3;if(!f){break a}j=0;while(1){F[(c+(d<<2)|0)+192>>2]=E[((d<<1)+b|0)+12>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=G[b+9|0];D[c+189|0]=g;b:{if(!g){break b}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+248|0;i=b+40|0;f=0;while(1){F[h+(d<<2)>>2]=E[i+(d<<1)>>1];e=d|1;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|2;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|3;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break b}while(1){F[(c+(d<<2)|0)+248>>2]=E[((d<<1)+b|0)+40>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=G[b+10|0];D[c+190|0]=g;c:{if(!g){break c}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+288|0;i=b+60|0;f=0;while(1){F[h+(d<<2)>>2]=E[i+(d<<1)>>1];e=d|1;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|2;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|3;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break c}while(1){F[(c+(d<<2)|0)+288>>2]=E[((d<<1)+b|0)+60>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=G[b+11|0];D[c+191|0]=g;d:{if(!g){break d}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+344|0;i=b+88|0;f=0;while(1){F[h+(d<<2)>>2]=E[i+(d<<1)>>1];e=d|1;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|2;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|3;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break d}while(1){F[(c+(d<<2)|0)+344>>2]=E[((d<<1)+b|0)+88>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}F[c+384>>2]=F[b+108>>2];F[c+388>>2]=F[b+112>>2];F[c+392>>2]=F[b+116>>2];F[c+396>>2]=H[b+120>>1];F[c+400>>2]=H[b+122>>1];g=G[b+124|0];D[c+404|0]=g;e:{if(!g){break e}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+408|0;i=b+128|0;f=0;while(1){F[h+(d<<2)>>2]=E[i+(d<<1)>>1];e=d|1;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|2;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|3;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break e}while(1){F[(c+(d<<2)|0)+408>>2]=E[((d<<1)+b|0)+128>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=G[b+125|0];D[c+405|0]=g;f:{if(!g){break f}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+460|0;i=b+154|0;f=0;while(1){F[h+(d<<2)>>2]=E[i+(d<<1)>>1];e=d|1;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|2;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];e=d|3;F[h+(e<<2)>>2]=E[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break f}while(1){F[(c+(d<<2)|0)+460>>2]=E[((d<<1)+b|0)+154>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}D[c+512|0]=G[b+126|0];F[c+520>>2]=F[b+4>>2];F[c+524>>2]=F[b+184>>2];b=F[b+180>>2];F[c+552>>2]=c;F[c+528>>2]=b;g:{h:{a=F[a+128>>2];d=F[a+60>>2];if((d|0)==-1){break h}F[c+648>>2]=d;if(!d){break h}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}F[a+60>>2]=d;break g}a=l+4^(l+8^l+12);a=a>>>10^a^a>>>20;F[c+648>>2]=a?a:29572}Ga=l+16|0}function ke(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Ga-48|0;Ga=h;g=F[a+11748>>2]==2;i=(g?11760:11776)+a|0;k=F[i+4>>2];s=1;o=F[i>>2];n=F[c>>2];j=F[c+4>>2];a:{if(!((o|0)!=(n|0)|(j|0)!=(k|0))){j=0;break a}g=(g?11752:11768)+a|0;m=F[g+4>>2];q=o;o=F[g>>2];p=(e-j|0)+16>>5;q=Ua((q-o|0)+16>>5,p);r=(k-m|0)+16>>5;k=(d-n|0)+16>>5;r=Ua(r,k);if((q|0)==(r|0)){j=0;break a}l=_a(Ua((n-o|0)+16>>5,p)-Ua((j-m|0)+16>>5,k)|0,q-r|0);j=F[g>>2];j=Ua(l,F[i>>2]-j|0)+j|0;n=F[g+4>>2];m=Ua(l,F[i+4>>2]-n|0);l=F[g>>2];o=F[i>>2];if((l|0)==(o|0)){p=j-l|0;k=p>>31;j=F[a+11700>>2]>((k^p)-k|0)?l:j}l=m+n|0;g=F[g+4>>2];n=F[i+4>>2];if((g|0)==(n|0)){m=l-g|0;k=m>>31;l=F[a+11700>>2]>((k^m)-k|0)?g:l}k=F[c>>2];if((k|0)==(d|0)){m=j-d|0;g=m>>31;j=F[a+11700>>2]>((g^m)-g|0)?d:j}g=F[c+4>>2];if((g|0)==(e|0)){m=l-e|0;d=m>>31;l=F[a+11700>>2]>((d^m)-d|0)?e:l}e=((k+o|0)/-2|0)+j|0;d=e>>31;d=(d^e)-d|0;e=F[a+11696>>2];if((d|0)>(e|0)){break a}g=((g+n|0)/-2|0)+l|0;d=g>>31;if((e|0)<((d^g)-d|0)){break a}F[i>>2]=j;F[i+4>>2]=l;s=0}d=F[a+11732>>2];i=d;e=F[a+11728>>2];F[h+8>>2]=e;F[h+12>>2]=d;b:{c:{d:{switch(F[a+11748>>2]-2|0){case 0:F[h+40>>2]=2;e:{if(f){g=F[a+11764>>2];d=Ua(F[a+11644>>2],F[a+11760>>2])+Ua(F[a+11648>>2],g)|0;g=Ac(a+3876|0,g);break e}g=F[a+11764>>2];d=Ua(F[a+11644>>2],F[a+11760>>2])+Ua(F[a+11648>>2],g)|0;g=Ac(b,g)}k=(Ua(F[F[a>>2]+64>>2],d)+Ua(F[F[a>>2]+72>>2],g)|0)+F[a+11656>>2]|0;F[h+16>>2]=k;d=(Ua(F[F[a>>2]+68>>2],d)+Ua(F[F[a>>2]+76>>2],g)|0)+F[a+11660>>2]|0;F[h+20>>2]=d;if((e|0)==(k|0)&(d|0)==(i|0)){break b}d=F[a+4>>2];i=d+4|0;e=h+16|0;break c;case 2:break d;default:break b}}F[h+40>>2]=4;d=F[a+11764>>2];e=Ua(F[a+11644>>2],F[a+11760>>2]);i=Ua(F[a+11648>>2],d);d=Ac(b,d);e=e+i|0;t=h,u=(Ua(F[F[a>>2]+64>>2],e)+Ua(F[F[a>>2]+72>>2],d)|0)+F[a+11656>>2]|0,F[t+16>>2]=u;e=Ua(F[F[a>>2]+68>>2],e)+Ua(F[F[a>>2]+76>>2],d)|0;d=a+11660|0;F[h+20>>2]=e+F[d>>2];e=F[a+11772>>2];i=Ua(F[a+11644>>2],F[a+11768>>2]);g=Ua(F[a+11648>>2],e);e=Ac(b,e);i=g+i|0;t=h,u=(Ua(F[F[a>>2]+64>>2],i)+Ua(F[F[a>>2]+72>>2],e)|0)+F[a+11656>>2]|0,F[t+24>>2]=u;t=h,u=(Ua(F[F[a>>2]+68>>2],i)+Ua(F[F[a>>2]+76>>2],e)|0)+F[d>>2]|0,F[t+28>>2]=u;e=F[a+11780>>2];i=Ua(F[a+11644>>2],F[a+11776>>2]);g=Ua(F[a+11648>>2],e);e=Ac(b,e);i=g+i|0;t=h,u=(Ua(F[F[a>>2]+64>>2],i)+Ua(F[F[a>>2]+72>>2],e)|0)+F[a+11656>>2]|0,F[t+32>>2]=u;t=h,u=(Ua(F[F[a>>2]+68>>2],i)+Ua(F[F[a>>2]+76>>2],e)|0)+F[d>>2]|0,F[t+36>>2]=u;d=F[a+4>>2];i=d+12|0;e=h+32|0}Ia[F[i>>2]](d,h+8|0);d=F[e+4>>2];F[a+11728>>2]=F[e>>2];F[a+11732>>2]=d}f:{if(!(f|s)){break f}g:{if(f){b=F[c+4>>2];d=Ua(F[a+11644>>2],F[c>>2])+Ua(F[a+11648>>2],b)|0;b=Ac(a+3876|0,b);break g}e=F[c+4>>2];d=Ua(F[a+11644>>2],F[c>>2])+Ua(F[a+11648>>2],e)|0;b=Ac(b,e)}t=h,u=(Ua(F[F[a>>2]+64>>2],d)+Ua(F[F[a>>2]+72>>2],b)|0)+F[a+11656>>2]|0,F[t+16>>2]=u;b=(Ua(F[F[a>>2]+68>>2],d)+Ua(F[F[a>>2]+76>>2],b)|0)+F[a+11660>>2]|0;F[h+20>>2]=b;if(F[h+16>>2]==F[a+11728>>2]&(b|0)==F[a+11732>>2]){break f}F[h+40>>2]=2;b=F[a+11732>>2];F[h+8>>2]=F[a+11728>>2];F[h+12>>2]=b;b=F[a+4>>2];Ia[F[b+4>>2]](b,h+8|0);b=F[h+20>>2];F[a+11728>>2]=F[h+16>>2];F[a+11732>>2]=b}if(!s){F[c>>2]=j;F[c+4>>2]=l}Ga=h+48|0}function gf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;b=0;a:{if(!a){break a}n=F[a+12>>2];b=n>>31;m=F[a+8>>2];c=m>>31;i=F[a+4>>2];h=i>>31;f=F[a>>2];a=f>>31;d=(b^n)-b|0;j=(c^m)-c|0;k=(h^i)-h|0;e=(a^f)-a|0;a=(e|0)<(k|0)?k:e;a=(a|0)<(j|0)?j:a;b=(a|0)<(d|0)?d:a;if(b>>>0>=23171){b:{c:{if(b>>>0<=65535){a=((b<<16|11584)>>>0)/23170|0;h=a;break c}a=2147483647;h=2147483647;if(b>>>0>1518469119){break c}g=b<<16|11585;c=b>>>16|0;a=O(c);b=32-a|0;c=g>>>b|c<>>0)/23170|0;c=L(h,-23170)+c|0;a=g<>>31;c=(g>>>0<23170?0:-23170)+g|0;h=h<<1|g>>>0>23169;a=a<<1;b=b-1|0;if(b){continue}break}a=h>>31;a=(a^h)-a|0;if(h){break c}c=2147483647;h=0;j=1;break b}b=f?(e|0)!=2147483647?e:2147483647:2147483647;b=i?b>>>0>k>>>0?k:b:b;b=m?b>>>0>j>>>0?j:b:b;b=n?b>>>0>d>>>0?d:b:b;if(b>>>0<=(a>>>17^65535)>>>0){c=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;j=0;break b}c=a>>>1|0;j=c+(b<<16)|0;b=(b>>>16|0)+(c>>>0>j>>>0)|0;if(b>>>0>=a>>>0){c=2147483647;j=0;break b}e=O(b);d=32-e|0;b=j>>>d|b<>>0)/(a>>>0)|0;k=b-L(a,c)|0;b=j<>>31;k=e-(a>>>0>e>>>0?0:a)|0;c=c<<1|a>>>0<=e>>>0;b=b<<1;d=d-1|0;if(d){continue}break}}b=0;if(!((h|0)<0?0-c|0:c)){break a}k=2147483647;c=2147483647;d:{if(j){break d}b=f>>31;b=(b^f)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){c=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}d=a>>>1|0;g=d+(b<<16)|0;b=(b>>>16|0)+(d>>>0>g>>>0)|0;if(b>>>0>=a>>>0){break d}l=O(b);d=32-l|0;b=g>>>d|b<>>0)/(a>>>0)|0;e=b-L(a,c)|0;b=g<>>31;e=g-(a>>>0>g>>>0?0:a)|0;c=c<<1|a>>>0<=g>>>0;b=b<<1;d=d-1|0;if(d){continue}break}}g=(h|0)<0;o=f>>31|1;p=0-o|0;e:{if(j){break e}b=i>>31;b=(b^i)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){k=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}d=a>>>1|0;e=d+(b<<16)|0;b=(b>>>16|0)+(e>>>0>>0)|0;if(b>>>0>=a>>>0){break e}l=O(b);d=32-l|0;b=e>>>d|b<>>0)/(a>>>0)|0;f=b-L(a,k)|0;b=e<>>31;f=e-(a>>>0>e>>>0?0:a)|0;k=k<<1|a>>>0<=e>>>0;b=b<<1;d=d-1|0;if(d){continue}break}}o=g?p:o;b=i>>31|1;p=g?0-b|0:b;e=2147483647;d=2147483647;f:{if(j){break f}b=m>>31;b=(b^m)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){d=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}f=a>>>1|0;g=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>g>>>0)|0;if(b>>>0>=a>>>0){break f}l=O(b);i=32-l|0;b=g>>>i|b<>>0)/(a>>>0)|0;f=b-L(a,d)|0;b=g<>>31;f=g-(a>>>0>g>>>0?0:a)|0;d=d<<1|a>>>0<=g>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}g=(o|0)<0;l=0-c|0;o=(p|0)<0;p=0-k|0;b=m>>31|1;q=(h|0)<0;m=((q?0-b|0:b)|0)<0;r=0-d|0;g:{if(j){break g}b=n>>31;b=(b^n)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}h=a>>>1|0;f=h+(b<<16)|0;b=(b>>>16|0)+(f>>>0>>0)|0;if(b>>>0>=a>>>0){break g}i=O(b);h=32-i|0;b=f>>>h|b<>>0)/(a>>>0)|0;j=b-L(a,e)|0;b=f<>>31;j=f-(a>>>0>f>>>0?0:a)|0;e=e<<1|a>>>0<=f>>>0;b=b<<1;h=h-1|0;if(h){continue}break}}i=o?p:k;m=m?r:d;a=n>>31|1;n=((q?0-a|0:a)|0)<0?0-e|0:e;f=g?l:c}a=L(f,n);c=L(i,m);b=0;if((a|0)==(c|0)){break a}b=a-c|0;a=b>>31;b=(((L(f,f)+L(i,i)|0)+L(m,m)|0)+L(n,n)>>>0)/((a^b)-a>>>0)>>>0<51}return b}function eC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a=d;i=Ao(b+28|0);f=F[i+4>>2];a:{b:{if((f|0)==65536){g=258}else{if((f|0)!=131072){break b}f=F[i+8>>2];f=G[f|0]|G[f+1|0]<<8;if(!f){break b}g=(f<<8|f>>>8)&65535}if((a|0)<0){a=hb(c)}if(!a){break b}f=F[i+28>>2];c:{if(f){break c}l=g<<1;if(!g){while(1){f=nb(l);h=0;if(!f){break a}qh(f,0,i);h=F[i+28>>2];F[i+28>>2]=h?h:f;if(!h){break c}Ta(f);f=F[i+28>>2];if(!f){continue}break c}}p=g&65528;m=g&7;q=g-1>>>0<7;while(1){f=nb(l);if(!f){break b}n=0;h=0;o=0;if(!q){while(1){E[(h<<1)+f>>1]=h;j=h|1;E[(j<<1)+f>>1]=j;j=h|2;E[(j<<1)+f>>1]=j;j=h|3;E[(j<<1)+f>>1]=j;j=h|4;E[(j<<1)+f>>1]=j;j=h|5;E[(j<<1)+f>>1]=j;j=h|6;E[(j<<1)+f>>1]=j;j=h|7;E[(j<<1)+f>>1]=j;h=h+8|0;o=o+8|0;if((p|0)!=(o|0)){continue}break}}if(m){while(1){E[(h<<1)+f>>1]=h;h=h+1|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}qh(f,g,i);h=F[i+28>>2];F[i+28>>2]=h?h:f;if(!h){break c}Ta(f);f=F[i+28>>2];if(!f){continue}break}}if(!g){break b}l=g-1|0;n=F[i+20>>2];o=F[i+16>>2];p=F[i+24>>2];m=F[i+8>>2];g=F[i+4>>2];q=(g|0)==131072;j=(g|0)!=65536;d:{while(1){r=k+l|0;i=H[(r&-2)+f>>1];e:{if(!q){h=0;g=0;if(i>>>0>257|j){break e}g=i<<2;h=F[g+122816>>2];g=F[g+122820>>2]+(h^-1)|0;h=h+119104|0;break e}h=0;g=0;s=G[m|0]|G[m+1|0]<<8;if(i>>>0>=((s<<8|s>>>8)&65535)>>>0){break e}g=m+(i<<1)|0;g=G[g+2|0]|G[g+3|0]<<8;i=(g<<8|g>>>8)&65535;if(i>>>0<=257){g=i<<2;h=F[g+122816>>2];g=F[g+122820>>2]+(h^-1)|0;h=h+119104|0;break e}g=0;i=i-258|0;if(i>>>0>=o>>>0){break e}g=p+F[n+(i<<2)>>2]|0;h=g+1|0;g=G[g|0]}i=r>>>1|0;if((a|0)!=(g|0)){g=a-g|0}else{g=hc(c,h,a)}f:{if((g|0)<0){l=i-1|0;break f}if(!g){break d}k=i+1|0}if((k|0)<=(l|0)){continue}break}h=0;break a}k=1;a=(i<<1)+f|0;h=0;if(!a){break a}F[e>>2]=H[a>>1]}h=k}if(h){b=1}else{a=F[b+64>>2];g:{if(a){break g}while(1){f=F[b>>2];if(!f){a=163632;break g}a=ib(1,244);h:{if(a){g=Gf(a,f);f=F[b+64>>2];F[b+64>>2]=f?f:a;if(!f){break g}De(g);Ta(a);break h}a=163632;f=F[b+64>>2];F[b+64>>2]=f?f:163632;if(!f){break g}}a=F[b+64>>2];if(!a){continue}break}}b=0;if((d|0)<0){d=hb(c)}i:{if(!d){break i}f=F[a+236>>2];if((f|0)<=0){break i}k=F[a+240>>2];b=f-1|0;f=0;j:{while(1){g=b+f>>>1|0;i=k+(g<<4)|0;h=F[i+4>>2];i=cb(c,F[i>>2],d>>>0>>0?d:h);h=i?i:d-h|0;k:{if((h|0)<0){b=g-1|0;break k}if(!h){break j}f=g+1|0}if((b|0)>=(f|0)){continue}break}b=0;break i}f=k+(g<<4)|0;d=H[f+12>>1];l:{b=F[a+52>>2];m:{n:{if((b|0)!=163632){d=Fe(b,d,F[a+216>>2]);break n}o:{switch(F[a+172>>2]){case 0:b=0;if(d>>>0<229){break n}break i;case 1:a=0;b=164;d=d&65535;p:{q:{while(1){c=a+b>>>1|0;g=H[(c<<2)+107792>>1];r:{if(g>>>0>d>>>0){b=c-1|0;break r}if((d|0)==(g|0)){break q}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break p}d=G[(c<<2)+107794|0]}break n;case 2:break o;default:break m}}a=0;b=85;d=d&65535;s:{t:{while(1){c=a+b>>>1|0;g=H[(c<<2)+108464>>1];u:{if(g>>>0>d>>>0){b=c-1|0;break u}if((d|0)==(g|0)){break t}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break s}d=G[(c<<2)+108466|0]}}if(d){break l}d=H[f+12>>1]}a=d&65535;d=0;if(!a){break l}b=0;break i}F[e>>2]=d;b=1}}return b|0}function vx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ga+-64|0;Ga=i;F[i+60>>2]=0;h=b+108|0;n=F[a+8>>2];a:{b:{if(F[b+72>>2]!=F[a+16>>2]){F[i+60>>2]=6;break b}if(!((c|0)!=2&c>>>0<=4)){F[i+60>>2]=19;break b}if(D[F[b+156>>2]+4|0]&1){e=F[b+88>>2];if(e){Ia[F[n+8>>2]](n,e)}F[b+88>>2]=0;e=F[b+156>>2];F[e+4>>2]=F[e+4>>2]&-2}if(Rg(b,c,d)){F[i+60>>2]=98;break b}f=b+76|0;e=F[f>>2];c:{if(!e){break c}g=F[b+84>>2];if(!g){break c}p=b,q=Va(n,g,0,e,0,i+60|0),F[p+88>>2]=q;if(F[i+60>>2]){break b}e=F[b+156>>2];F[e+4>>2]=F[e+4>>2]|1;e=F[b+76>>2]<<6;l=(G[b+94|0]==6?(e|0)/3|0:e)-(F[b+104>>2]<<6)|0;m=0-(F[b+100>>2]<<6)|0;if(d){m=F[d>>2]+m|0;l=F[d+4>>2]+l|0}if(l|m){Vb(h,m,l)}d:{e:{if(c>>>0<=1){if(G[b+124|0]&64){d=a;g=Ga+-64|0;Ga=g;a=F[h+4>>2];if(a){e=(E[h+2>>1]<<3)+a|0}else{e=0}c=98;j=F[f+4>>2];f:{if(j&1073733632){break f}F[g+56>>2]=j<<2;F[g+48>>2]=0;F[g+52>>2]=0;F[g+28>>2]=31;F[g+24>>2]=3;F[g+20>>2]=h;F[g+44>>2]=g+8;j=F[f>>2];F[g+60>>2]=j<<2;k=F[f+12>>2];c=F[f+8>>2];F[g+12>>2]=c;F[g+8>>2]=k+((c|0)<0?0:L(c,j-1|0));if(a>>>0>>0){c=a;while(1){F[c>>2]=F[c>>2]<<2;F[c+4>>2]=F[c+4>>2]<<2;c=c+8|0;if(e>>>0>c>>>0){continue}break}c=Ia[F[d+56>>2]](F[d+52>>2],g+16|0)|0;if(a>>>0>=e>>>0){break f}while(1){F[a>>2]=F[a>>2]/4;F[a+4>>2]=F[a+4>>2]/4;a=a+8|0;if(e>>>0>a>>>0){continue}break}break f}c=Ia[F[d+56>>2]](F[d+52>>2],g+16|0)|0}Ga=g- -64|0;break e}F[i+16>>2]=1;F[i+12>>2]=h;F[i+8>>2]=f;c=Ia[F[a+56>>2]](F[a+52>>2],i+8|0)|0;break e}g:{switch(c-3|0){default:a=F[i+60>>2];break d;case 0:d=Ga+-64|0;Ga=d;e=F[a+4>>2];F[d+48>>2]=0;F[d+52>>2]=0;F[d+28>>2]=32;F[d+24>>2]=3;F[d+20>>2]=h;F[d+44>>2]=d+8;F[d+56>>2]=F[f+4>>2];g=F[f>>2];F[d+60>>2]=g;j=F[f+12>>2];c=F[f+8>>2];F[d+12>>2]=c;F[d+8>>2]=j+((c|0)<0?0:L(c,g-1|0));f=e+184|0;Vb(h,0-F[e+180>>2]|0,0-F[f>>2]|0);c=Ia[F[a+56>>2]](F[a+52>>2],d+16|0)|0;h:{if(c){g=e+180|0;break h}F[d+8>>2]=F[d+8>>2]+1;g=e+188|0;f=e+192|0;Vb(h,F[e+180>>2]-F[g>>2]|0,F[e+184>>2]-F[f>>2]|0);c=Ia[F[a+56>>2]](F[a+52>>2],d+16|0)|0;if(c){break h}F[d+8>>2]=F[d+8>>2]+1;g=e+196|0;f=e+200|0;Vb(h,F[e+188>>2]-F[g>>2]|0,F[e+192>>2]-F[f>>2]|0);c=Ia[F[a+56>>2]](F[a+52>>2],d+16|0)|0}Vb(h,F[g>>2],F[f>>2]);Ga=d- -64|0;break e;case 1:break g}}e=Ga-48|0;Ga=e;d=F[a+4>>2];k=F[f+8>>2];F[e+8>>2]=1;F[e+4>>2]=h;F[e>>2]=f;F[f+8>>2]=L(k,3);F[f>>2]=I[f>>2]/3;Vb(h,0-F[d+184>>2]|0,F[d+180>>2]);c=Ia[F[a+56>>2]](F[a+52>>2],e)|0;g=F[d+184>>2];j=F[d+180>>2];i:{if(c){break i}F[f+12>>2]=k+F[f+12>>2];Vb(h,g-F[d+192>>2]|0,F[d+188>>2]-j|0);c=Ia[F[a+56>>2]](F[a+52>>2],e)|0;j=F[d+188>>2];g=F[d+192>>2];o=F[f+12>>2]-k|0;F[f+12>>2]=o;if(c){break i}k=k<<1;F[f+12>>2]=k+o;Vb(h,g-F[d+200>>2]|0,F[d+196>>2]-j|0);c=Ia[F[a+56>>2]](F[a+52>>2],e)|0;j=F[d+196>>2];g=F[d+200>>2];F[f+12>>2]=F[f+12>>2]-k}Vb(h,g,0-j|0);F[f+8>>2]=F[f+8>>2]/3;F[f>>2]=L(F[f>>2],3);Ga=e+48|0}a=c;F[i+60>>2]=a}if(a){break b}}F[b+72>>2]=1651078259;break a}if(!(D[F[b+156>>2]+4|0]&1)){break a}a=F[b+88>>2];if(a){Ia[F[n+8>>2]](n,a)}F[b+88>>2]=0;a=F[b+156>>2];F[a+4>>2]=F[a+4>>2]&-2}if(l|m){Vb(h,0-m|0,0-l|0)}Ga=i- -64|0;return F[i+60>>2]}function Ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{g=F[b+4>>2];b:{if(g>>>0>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break b}j=F[b+12>>2]-4|0;F[b+12>>2]=j;if((j|0)<=0){break b}e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>89478484){break b}if(!e){return 1}i=a+4|0;if(i>>>0>>0|d>>>0>>0){break b}e=L(e,48);if(e>>>0>d-i>>>0){break b}e=j-e|0;F[b+12>>2]=e;if((e|0)<=0){break b}f=1;j=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);r=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);if(!r){break b}while(1){j=L(p,48)+a|0;f=j+4|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<48){break a}n=F[c>>2];F[b+12>>2]=e-48;if((e|0)<49){break a}d=0;h=F[b+4>>2];c:{d:{if(h>>>0>f>>>0){break d}g=F[b+8>>2];if(g>>>0>>0|g-f>>>0<4){break d}m=F[b+12>>2]-4|0;F[b+12>>2]=m;if((m|0)<=0){break d}k=D[f|0];if((k|0)<0){break d}i=G[j+12|0]|G[j+13|0]<<8|(G[j+14|0]<<16|G[j+15|0]<<24);o=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);e=0;if(o>>>0>536870910){break c}e=1;if(!o){break c}n=n+(G[f+3|0]|(G[f+1|0]<<16|(k&255)<<24|G[f+2|0]<<8))|0;e=0;if(n>>>0>>0){break c}e=0;if(g>>>0>>0){break c}e=o<<3;if(e>>>0>g-n>>>0){break d}d=m-e|0;F[b+12>>2]=d;m=0;e=0;if((d|0)<=0){break c}while(1){e=0;d=n+(m<<3)|0;g=F[b+4>>2];e:{if(d>>>0>>0){break e}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<8){break e}i=F[b+12>>2];h=i-8|0;F[b+12>>2]=h;if((h|0)<=0){break e}h=G[d+2|0]|G[d+3|0]<<8;h=(h<<8|h>>>8)&65535;k=G[d|0]|G[d+1|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0>>0){break e}l=g;g=d+4|0;if(l>>>0>g>>>0|f>>>0>>0|f-g>>>0<4){break e}f=i-12|0;F[b+12>>2]=f;if((f|0)<=0){break e}e=D[d+4|0];d=G[d+7|0]|(G[d+5|0]<<16|e<<24|G[d+6|0]<<8);f=(d|0)!=0&(e|0)<0;e=!f;if(f|!d){break e}e=1;h=(h-k|0)+1|0;f:{g:{k=F[b+4>>2];d=d+n|0;if(k>>>0>d>>>0){break g}i=F[b+8>>2];if(i>>>0>>0|i-d>>>0<8){break g}q=F[b+12>>2];l=q-8|0;F[b+12>>2]=l;f=1;if((l|0)<=0){break g}h:{i:{j:{k:{l=G[d|0]|G[d+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 2:break j;case 0:break k;default:break h}}f=q-16|0;F[b+12>>2]=f;if((f|0)<=0){break g}h=h+1|0;if(h>>>0>1073741822){break g}if(!h){break i}d=d+8|0;if(d>>>0>>0|d>>>0>i>>>0){break g}l=i-d|0;d=h<<2;if(l>>>0>>0){break g}d=f-d|0;F[b+12>>2]=d;f=0;if((d|0)>0){break i}break h}f=q-16|0;F[b+12>>2]=f;if((f|0)<=0){break g}h=h+1|0;if(h>>>0>2147483646){break g}if(!h){break i}d=d+8|0;if(d>>>0>>0|d>>>0>i>>>0){break g}l=i-d|0;d=h<<1;if(l>>>0>>0){break g}d=f-d|0;F[b+12>>2]=d;f=0;if((d|0)<=0){break h}}f=1}break f}f=0}if(f){break e}e=0;d=F[b+28>>2];if(d>>>0>31){break e}F[b+28>>2]=d+1;if(!G[b+24|0]){break e}D[g|0]=0;D[g+1|0]=0;D[g+2|0]=0;D[g+3|0]=0;e=1}d=e;if(!d){break d}m=m+1|0;if((o|0)!=(m|0)){continue}break}}e=d}if(!e){break a}g=F[b+4>>2];e=j+20|0;if(g>>>0>e>>>0){break a}d=F[b+8>>2];if(e>>>0>d>>>0|d-e>>>0<12){break a}f=F[b+12>>2];e=f-12|0;F[b+12>>2]=e;if((e|0)<=0){break a}e=j+32|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<12){break a}e=f-24|0;F[b+12>>2]=e;f=0;if((e|0)<=0){break b}f=1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}return f}return 0}function co(a,b,c){var d=0,e=0;d=F[b+16>>2]<<10;b=F[c+144>>2];a:{if(b){break a}while(1){a=F[c+48>>2];if(!a){b=163632;break a}b=ib(1,12);b:{if(!b){b=163632;break b}jd(b,a)}a=F[c+144>>2];F[c+144>>2]=a?a:b;if(!a){break a}kc(b);b=F[c+144>>2];if(!b){continue}break}}a=F[b>>2];b=F[(a?a:163632)+16>>2];a=b>>>11|0;e=e|b<<21;d=a|d;b=F[c+148>>2];c:{if(b){break c}while(1){a=F[c+48>>2];if(!a){b=163632;break c}b=ib(1,12);d:{if(!b){b=163632;break d}we(b,a)}a=F[c+148>>2];F[c+148>>2]=a?a:b;if(!a){break c}kc(b);b=F[c+148>>2];if(!b){continue}break}}c=1;e:{f:{a=F[b>>2];a=F[(a?a:163632)+16>>2]|e;if((d|0)<=987147&a>>>0<=2743134887|(d|0)<987147){if((d|0)<=452609&a>>>0<=1732289589|(d|0)<452609){if((d|0)<=196614&a>>>0<=843062357|(d|0)<196614){if((d|0)<=192512&a>>>0<=553651553|(d|0)<192512){if((a|0)==1606425686&(d|0)==184326){break e}if((a|0)!=520097548|(d|0)!=192512){break f}break e}if((a|0)==553651554&(d|0)==192512){break e}if((a|0)!=734010454|(d|0)!=196614){break f}break e}if((d|0)<=440321&a>>>0<=1732288213|(d|0)<440321){if((a|0)==843062358&(d|0)==196614){break e}if((a|0)!=1732286926|(d|0)!=440321){break f}break e}if((a|0)==1732288214&(d|0)==440321){break e}if((a|0)!=1732286668|(d|0)!=452609){break f}break e}if((d|0)<=864259&a>>>0<=2428547489|(d|0)<864259){if((d|0)<=501761&a>>>0<=2092999333|(d|0)<501761){if((a|0)==1732289590&(d|0)==452609){break e}if((a|0)!=2092999598|(d|0)!=489473){break f}break e}if((a|0)==2092999334&(d|0)==501761){break e}if((a|0)!=-1820280774|(d|0)!=851971){break f}break e}if((d|0)<=931846&a>>>0<=583055987|(d|0)<931846){if((a|0)==-1866419806&(d|0)==864259){break e}if((a|0)!=557888902|(d|0)!=919558){break f}break e}if((a|0)==583055988&(d|0)==931846|(a|0)==1614866372&(d|0)==950283){break e}if((a|0)!=1640033596|(d|0)!=962571){break f}break e}g:{if((d|0)<=1071126&a>>>0<=4139790647|(d|0)<1071126){if((d|0)<=1030155&a>>>0<=4072730923|(d|0)<1030155){if((d|0)<=1017867&a>>>0<=4081118127|(d|0)<1017867){if((a|0)==-1551832408&(d|0)==987147){break e}if((a|0)!=-1560219632|(d|0)!=999435){break f}break e}if((a|0)==-213849168&(d|0)==1017867){break e}if((a|0)!=-629130764|(d|0)!=1028124){break f}break e}b=a-61346|0;if(((a>>>0<61346)+1030156|0)==(d|0)&b>>>0<=6){break g}b=d-((a>>>0<4286641516)+1042443|0)|0;e=a+8325780|0;if(!b&e>>>0>6|b){if((a|0)!=-222236372|(d|0)!=1030155){break f}break e}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break f;default:break e}}if((d|0)<=1083427&a>>>0<=239092841|(d|0)<1083427){if((d|0)<=1071139&a>>>0<=230704581|(d|0)<1071139){if((a|0)==-155176648&(d|0)==1071126){break e}if((a|0)!=226509528|(d|0)!=1071139){break f}break e}if((a|0)==230704582&(d|0)==1071139){break e}if((a|0)!=-150983126|(d|0)!=1083414){break f}break e}if((d|0)<=1361973&a>>>0<=2852184657|(d|0)<1361973){if((a|0)==239092842&(d|0)==1083427){break e}if((a|0)!=243286402|(d|0)!=1083427){break f}break e}b=(d|0)==1361973;if(b&(a|0)==-1442782638|b&(a|0)==-1442781604){break e}break f}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break f;default:break e}}c=0}return c}function Ta(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=F[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=F[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=F[d+8>>2];b=b>>>3|0;c=F[d+12>>2];if((c|0)==(e|0)){i=247112,j=F[61778]&IC(-2,b),F[i>>2]=j;break b}F[e+12>>2]=c;F[c+8>>2]=e;break b}h=F[d+24>>2];b=F[d+12>>2];c:{if((d|0)!=(b|0)){c=F[d+8>>2];F[c+12>>2]=b;F[b+8>>2]=c;break c}d:{e=d+20|0;c=F[e>>2];if(c){break d}e=d+16|0;c=F[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=F[e>>2];if(c){continue}e=b+16|0;c=F[b+16>>2];if(c){continue}break}F[g>>2]=0}if(!h){break b}e=F[d+28>>2];c=(e<<2)+247416|0;e:{if(F[c>>2]==(d|0)){F[c>>2]=b;if(b){break e}i=247116,j=F[61779]&IC(-2,e),F[i>>2]=j;break b}F[h+(F[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}F[b+24>>2]=h;c=F[d+16>>2];if(c){F[b+16>>2]=c;F[c+24>>2]=b}c=F[d+20>>2];if(!c){break b}F[b+20>>2]=c;F[c+24>>2]=b;break b}b=F[f+4>>2];if((b&3)!=3){break b}F[61780]=a;F[f+4>>2]=b&-2;F[d+4>>2]=a|1;F[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=F[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(F[61784]==(f|0)){F[61784]=d;a=F[61781]+a|0;F[61781]=a;F[d+4>>2]=a|1;if(F[61783]!=(d|0)){break a}F[61780]=0;F[61783]=0;return}if(F[61783]==(f|0)){F[61783]=d;a=F[61780]+a|0;F[61780]=a;F[d+4>>2]=a|1;F[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){e=F[f+8>>2];b=b>>>3|0;c=F[f+12>>2];if((c|0)==(e|0)){i=247112,j=F[61778]&IC(-2,b),F[i>>2]=j;break g}F[e+12>>2]=c;F[c+8>>2]=e;break g}h=F[f+24>>2];b=F[f+12>>2];h:{if((f|0)!=(b|0)){c=F[f+8>>2];F[c+12>>2]=b;F[b+8>>2]=c;break h}i:{e=f+20|0;c=F[e>>2];if(c){break i}e=f+16|0;c=F[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=F[e>>2];if(c){continue}e=b+16|0;c=F[b+16>>2];if(c){continue}break}F[g>>2]=0}if(!h){break g}e=F[f+28>>2];c=(e<<2)+247416|0;j:{if(F[c>>2]==(f|0)){F[c>>2]=b;if(b){break j}i=247116,j=F[61779]&IC(-2,e),F[i>>2]=j;break g}F[h+(F[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}F[b+24>>2]=h;c=F[f+16>>2];if(c){F[b+16>>2]=c;F[c+24>>2]=b}c=F[f+20>>2];if(!c){break g}F[b+20>>2]=c;F[c+24>>2]=b}F[d+4>>2]=a|1;F[a+d>>2]=a;if(F[61783]!=(d|0)){break f}F[61780]=a;return}F[f+4>>2]=b&-2;F[d+4>>2]=a|1;F[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+247152|0;c=F[61778];a=1<>2]}F[b+8>>2]=d;F[a+12>>2]=d;F[d+12>>2]=b;F[d+8>>2]=a;return}e=31;F[d+16>>2]=0;F[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}F[d+28>>2]=e;g=(e<<2)+247416|0;l:{m:{c=F[61779];b=1<>2]=d;F[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=F[g>>2];while(1){c=b;if((F[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=F[g+16>>2];if(b){continue}break}F[g+16>>2]=d;F[d+24>>2]=c}F[d+12>>2]=d;F[d+8>>2]=d;break l}a=F[c+8>>2];F[a+12>>2]=d;F[c+8>>2]=d;F[d+24>>2]=0;F[d+12>>2]=c;F[d+8>>2]=a}a=F[61786]-1|0;F[61786]=a?a:-1}}function xv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Ga-16|0;Ga=l;i=gb(a,2496,l+12|0);g=F[l+12>>2];if(!g){F[i>>2]=a;F[i+212>>2]=H[b+120>>1];f=G[b+124|0];a:{if(!f){break a}h=f-1|0;a=i+224|0;g=b+128|0;k=f&7;b:{if(!k){e=f;break b}e=f;while(1){F[a>>2]=E[g>>1];e=e-1|0;g=g+2|0;a=a+12|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(h>>>0<7){break a}while(1){F[a>>2]=E[g>>1];F[a+12>>2]=E[g+2>>1];F[a+24>>2]=E[g+4>>1];F[a+36>>2]=E[g+6>>1];F[a+48>>2]=E[g+8>>1];F[a+60>>2]=E[g+10>>1];F[a+72>>2]=E[g+12>>1];F[a+84>>2]=E[g+14>>1];g=g+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}e=1;F[i+208>>2]=f+1;F[i+8>>2]=H[b+122>>1];f=G[b+125|0];c:{if(!f){break c}k=f-1|0;a=i+20|0;g=b+154|0;j=f&7;d:{if(!j){d=f;break d}h=0;d=f;while(1){F[a>>2]=E[g>>1];d=d-1|0;g=g+2|0;a=a+12|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if(k>>>0<7){break c}while(1){F[a>>2]=E[g>>1];F[a+12>>2]=E[g+2>>1];F[a+24>>2]=E[g+4>>1];F[a+36>>2]=E[g+6>>1];F[a+48>>2]=E[g+8>>1];F[a+60>>2]=E[g+10>>1];F[a+72>>2]=E[g+12>>1];F[a+84>>2]=E[g+14>>1];g=g+16|0;a=a+96|0;d=d-8|0;if(d){continue}break}}F[i+4>>2]=f+1;d=0;a=i+412|0;ok(a,G[b+8|0],b+12|0,G[b+9|0],b+40|0,F[b+116>>2],0);ok(a,G[b+10|0],b+60|0,G[b+11|0],b+88|0,F[b+116>>2],1);a=G[b+8|0];e:{if(!a){break e}a=a-1|0;f=(a>>>1|0)+1|0;g=f&1;if(a>>>0>=2){k=f&-2;a=b+12|0;h=0;while(1){f=d<<1;j=H[a+(f|6)>>1]-H[a+(f|4)>>1]<<16>>16;f=H[a+(f|2)>>1]-H[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break e}a=d<<1;d=b+12|0;a=H[(a|2)+d>>1]-H[a+d>>1]<<16>>16;e=(a|0)>(e|0)?a:e}a=G[b+9|0];f:{if(!a){break f}a=a-1|0;d=(a>>>1|0)+1|0;g=d&1;g:{if(a>>>0<2){d=0;break g}k=d&-2;d=0;a=b+40|0;h=0;while(1){f=d<<1;j=H[a+(f|6)>>1]-H[a+(f|4)>>1]<<16>>16;f=H[a+(f|2)>>1]-H[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break f}a=d<<1;d=b+40|0;a=H[(a|2)+d>>1]-H[a+d>>1]<<16>>16;d=e<<16>>16;e=(a|0)>(d|0)?a:d}a=G[b+10|0];h:{if(!a){break h}a=a-1|0;d=(a>>>1|0)+1|0;g=d&1;i:{if(a>>>0<2){d=0;break i}k=d&-2;d=0;a=b+60|0;h=0;while(1){f=d<<1;j=H[a+(f|6)>>1]-H[a+(f|4)>>1]<<16>>16;f=H[a+(f|2)>>1]-H[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break h}a=d<<1;d=b+60|0;a=H[(a|2)+d>>1]-H[a+d>>1]<<16>>16;d=e<<16>>16;e=(a|0)>(d|0)?a:d}a=G[b+11|0];j:{if(!a){break j}a=a-1|0;d=(a>>>1|0)+1|0;g=d&1;k:{if(a>>>0<2){d=0;break k}k=d&-2;d=0;a=b+88|0;h=0;while(1){f=d<<1;j=H[a+(f|6)>>1]-H[a+(f|4)>>1]<<16>>16;f=H[a+(f|2)>>1]-H[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break j}a=d<<1;d=b+88|0;a=H[(a|2)+d>>1]-H[a+d>>1]<<16>>16;d=e<<16>>16;e=(a|0)>(d|0)?a:d}a=_a(1e3,e&65535);d=F[b+108>>2];F[i+2476>>2]=(a|0)>(d|0)?d:a;F[i+2480>>2]=F[b+112>>2];a=F[b+116>>2];F[i+404>>2]=0;F[i+408>>2]=0;F[i+200>>2]=0;F[i+204>>2]=0;F[i+2488>>2]=a;g=F[l+12>>2]}F[c>>2]=i;Ga=l+16|0;return g|0}function NA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Ga-640|0;Ga=j;h=F[b+80>>2];a:{b:{a=c;if(d>>>0<=a>>>0){break b}while(1){f=H[(L(a,20)+h|0)+16>>1];if(f>>>0>56319?1<>1];c:{if(!(!(1<>>0<56576)){f=a;break c}if(a>>>0>=d>>>0){f=a;break c}f=a;d:{if(!(1<>2];switch(e-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break d;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break e;default:break f}}i=e-1756|0;if(1<>>0<=12:0){break e}e=e-1620|0;if(e>>>0>4|!(1<>1];if(!(1<>>0>=2){Kb(b,c,f)}e=g;g=f-a|0;i=L(g,20);l=Ya(j,e,i);e=(c-a|0)+f|0;k=L(c,20)+h|0;Cb(L(e,20)+h|0,k,L(a-c|0,20));Ya(k,l,i);if(c>>>0>=e>>>0){break c}if(g&1){g=L(c,20)+h|0;i=H[g+16>>1];if(1<>1]=i&255|6400}c=c+1|0}if((a+1|0)!=(f|0)){while(1){a=L(c,20)+h|0;g=H[a+16>>1];if(1<>1]=g&255|6400}a=L(c+1|0,20)+h|0;g=H[a+16>>1];if(1<>1]=g&255|6400}c=c+2|0;if((e|0)!=(c|0)){continue}break}}c=e}g:{if(d>>>0<=f>>>0){break g}while(1){a=H[(L(f,20)+h|0)+16>>1];if(a>>>0>58879?1<>1];if(!(!(1<>>0<59136)|d>>>0<=f>>>0){break a}a=f;h:{if(!(1<>2];switch(e-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break h;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break i;default:break j}}i=e-1756|0;if(1<>>0<=12:0){break i}e=e-1620|0;if(e>>>0>4|!(1<>1];if(!(1<>>0>=2){Kb(b,c,a)}d=a-f|0;e=L(d,20);g=Ya(j,g,e);b=(c-f|0)+a|0;i=L(c,20)+h|0;Cb(L(b,20)+h|0,i,L(f-c|0,20));Ya(i,g,e);if(b>>>0<=c>>>0){break a}if(d&1){d=L(c,20)+h|0;e=H[d+16>>1];if(1<>1]=e&255|6656}c=c+1|0}if((f+1|0)==(a|0)){break a}while(1){a=L(c,20)+h|0;d=H[a+16>>1];if(1<>1]=d&255|6656}a=L(c+1|0,20)+h|0;d=H[a+16>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}Ga=j+640|0}function kn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ga-272|0;Ga=i;a:{b:{c:{c=G[a+2|0]|G[a+3|0]<<8;k=(c<<8|c>>>8)&65535;switch(k|0){case 0:break a;case 1:break c;default:break b}}a=G[a|0]|G[a+1|0]<<8;nn(b,(a<<8|a>>>8)&65535);l=1;break a}F[i+268>>2]=0;F[i+264>>2]=0;l=ih(b,k,a+4|0,731,0,i+264|0,i,i+268|0);if(!l){a=F[b+100>>2];if(!(G[a+16|0]&64)){break a}wb(a,2,F[a+64>>2],F[i+264>>2],1,0);break a}a=G[a|0]|G[a+1|0]<<8;f=(a<<8|a>>>8)&65535;j=F[i+268>>2];a=F[i+264>>2];d=F[b+100>>2];c=F[d+64>>2];if(a-c>>>0>=2){Kb(d,c,a)}c=1;a=F[d+80>>2];e=H[(a+L(F[i>>2],20)|0)+12>>1];m=!(e&8);e=!(e&2);d:{if(k>>>0<=1){break d}while(1){if(G[(a+L(F[(c<<2)+i>>2],20)|0)+12|0]&8){c=c+1|0;if((k|0)!=(c|0)){continue}break d}break}m=1;e=1}c=e&m;if(c){e=G[d+140|0]+1|0;e=(e|0)!=(e&255)?1:e;D[d+140|0]=e;n=e<<5&224}g=c?4:0;h=a+L(F[d+64>>2],20)|0;e=G[h+14|0];a=G[h+12|0]&4?e&16?e&15:1:1;e:{f:{g:{h:{if(c){D[h+14|0]=j&15|n|16;j=F[d+80>>2];h=F[d+64>>2];o=H[(j+L(h,20)|0)+16>>1];if((o&31)==12){E[(j+L(h,20)|0)+16>>1]=o&224|7}jn(b,f,g);g=0-a|0;if(k>>>0>1){break h}b=a;break e}jn(b,f,g);if(k>>>0<2){g=0-a|0;b=a;break e}f=d+72|0;h=d+60|0;break g}f=d+72|0;h=d+60|0;if(c){break f}}c=F[d+64>>2];g=1;while(1){i:{j=(g<<2)+i|0;if(!G[h|0]|I[j>>2]<=c>>>0){break i}e=1;if(!G[d+61|0]){while(1){c=c+1|0;F[d+64>>2]=c;if(I[j>>2]>c>>>0){continue}break i}}while(1){j:{if(e){k:{if(F[d+84>>2]==F[d+80>>2]){b=c;if(F[f>>2]==(c|0)){break k}}if(!$a(d,1,1)){c=F[d+64>>2];break j}c=F[d+80>>2]+L(F[d+64>>2],20)|0;e=F[c+4>>2];b=F[d+84>>2]+L(F[d+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=e;F[b+16>>2]=F[c+16>>2];e=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=e;c=F[d+64>>2];b=F[d+72>>2]}F[f>>2]=b+1}c=c+1|0;F[d+64>>2]=c}if(!G[h|0]|I[j>>2]<=c>>>0){break i}e=G[d+61|0];continue}}b=F[d+80>>2]+L(c,20)|0;j=H[b+12>>1];e=G[b+14|0];c=c+1|0;F[d+64>>2]=c;b=j&4?e&16?e&15:1:1;a=b+a|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}g=0-b|0;break e}c=F[d+64>>2];h=1;b=a;while(1){e=(h<<2)+i|0;l:{if(I[e>>2]<=c>>>0){break l}g=a+g|0;while(1){if(!G[d+60|0]){break l}f=F[d+80>>2]+L(c,20)|0;c=G[f+14|0];c=c&16?0:c&15;c=c?c:b;D[f+14|0]=g+(b>>>0>c>>>0?c:b)&15|n;m:{if(G[d+61|0]){n:{if(F[d+84>>2]==F[d+80>>2]){c=F[d+72>>2];if((c|0)==F[d+64>>2]){break n}}if(!$a(d,1,1)){c=F[d+64>>2];break m}f=F[d+80>>2]+L(F[d+64>>2],20)|0;j=F[f+4>>2];c=F[d+84>>2]+L(F[d+72>>2],20)|0;F[c>>2]=F[f>>2];F[c+4>>2]=j;F[c+16>>2]=F[f+16>>2];j=F[f+12>>2];F[c+8>>2]=F[f+8>>2];F[c+12>>2]=j;c=F[d+72>>2]}F[d+72>>2]=c+1}c=F[d+64>>2]+1|0;F[d+64>>2]=c}if(I[e>>2]>c>>>0){continue}break}}b=F[d+80>>2]+L(c,20)|0;f=H[b+12>>1];e=G[b+14|0];c=c+1|0;F[d+64>>2]=c;b=f&4?e&16?e&15:1:1;g=0-b|0;a=a+b|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}o:{if(!(e>>>0>31&m)){break o}c=F[d+64>>2];if(c>>>0>=I[d+68>>2]){break o}f=a+g|0;while(1){g=F[d+80>>2]+L(c,20)|0;a=G[g+14|0];if((a^e)>>>0>31|a&16){break o}a=a&15;if(!a){break o}D[g+14|0]=f+(a>>>0>b>>>0?b:a)&15|n;c=c+1|0;if(c>>>0>2]){continue}break}}}Ga=i+272|0;return l}function $k(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ga-16|0;Ga=j;f=F[a+72>>2];m=F[a+64>>2];h=F[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(F[a>>2]){case 0:if(Za(F[a+164>>2],2)){break f}if((Eg(F[a+164>>2],j+12|0,1)|0)!=1){break f}e=G[j+12|0];F[a+44>>2]=e&128;k=e&31;F[a+40>>2]=k;g=1<>2]=g-256;if(k>>>0>16){break f}F[a+52>>2]=9;F[a+56>>2]=e>>>7;F[a+60>>2]=k>>>0>9?256:g-255|0;f=0;g=yg(a);if(g>>>0>255){break f}if(b){D[b|0]=g}if(c>>>0<2){break e}k=1;F[a>>2]=1;h=g;m=g;break;case 2:break d;case 1:break g;default:break a}}e=0;break c}k=0;break b}e=1;h=g;m=g;break a}e=1}while(1){h:{if(!e){e=yg(a);if((e|0)<0){break b}i:{j:{k:{while(1){if((e|0)!=256){break k}if(!F[a+44>>2]){break j}D[a+32|0]=1;m=0;F[a+56>>2]=0;h=0;e=yg(a);if((e|0)>=0){continue}break}break b}g=e;if(e>>>0<256){break i}}g=e;d=e-256|0;f=F[a+56>>2];if(d>>>0>=f>>>0){if(d>>>0>f>>>0){break h}d=F[a+92>>2];f=F[a+96>>2];l:{if(d>>>0>>0){f=F[a+88>>2];break l}g=((f>>>1|0)+f|0)+4|0;l=F[a+168>>2];m:{n:{i=F[a+88>>2];if((i|0)!=(a+100|0)){d=65536;if(g>>>0>65536){break n}d=g;break m}i=0;F[a+88>>2]=0;d=g>>>0<65536?g:65536;f=0;break m}if((f|0)==65536){break h}}f=Va(l,1,f,d,i,j+12|0);F[a+88>>2]=f;if(F[j+12>>2]){break h}F[a+96>>2]=d;d=F[a+92>>2]}F[a+92>>2]=d+1;D[d+f|0]=h;g=m;if(g>>>0<256){break i}}l=a+100|0;d=F[a+76>>2];while(1){if(!d){break h}d=F[a+92>>2];f=F[a+96>>2];o:{if(d>>>0>>0){f=F[a+88>>2];break o}d=((f>>>1|0)+f|0)+4|0;n=F[a+168>>2];i=F[a+88>>2];p:{if((l|0)!=(i|0)){if(d>>>0<=65536){break p}d=65536;if((f|0)==65536){break h}break p}i=0;F[a+88>>2]=0;d=d>>>0<65536?d:65536;f=0}f=Va(n,1,f,d,i,j+12|0);F[a+88>>2]=f;if(F[j+12>>2]){break h}F[a+96>>2]=d;d=F[a+92>>2]}g=g-256|0;i=G[g+F[a+80>>2]|0];F[a+92>>2]=d+1;D[d+f|0]=i;d=F[a+76>>2];g=H[d+(g<<1)>>1];if(g>>>0>255){continue}break}}d=F[a+92>>2];h=F[a+96>>2];q:{if(d>>>0>>0){h=F[a+88>>2];break q}f=((h>>>1|0)+h|0)+4|0;l=F[a+168>>2];r:{s:{t:{u:{i=F[a+88>>2];if((i|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break u}d=f;break t}i=0;F[a+88>>2]=0;d=f>>>0<65536?f:65536;h=0;break t}if((h|0)==65536){break s}}h=Va(l,1,h,d,i,j+12|0);F[a+88>>2]=h;if(!F[j+12>>2]){break r}}h=g;break h}F[a+96>>2]=d;d=F[a+92>>2]}F[a+92>>2]=d+1;D[d+h|0]=g;F[a>>2]=2;h=g;f=e;d=k;e=1;continue}v:{if(b){while(1){e=F[a+92>>2];if(!e){break v}e=e-1|0;F[a+92>>2]=e;D[b+d|0]=G[e+F[a+88>>2]|0];d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}e=F[a+92>>2];while(1){if(!e){break v}e=e-1|0;F[a+92>>2]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}k=d;e=F[a+56>>2];if(e>>>0>2]){g=F[a+84>>2];if(g>>>0<=e>>>0){e=g?g+(g>>>2|0)|0:512;i=Va(F[a+168>>2],3,g,e,F[a+76>>2],j+12|0);F[a+76>>2]=i;if(F[j+12>>2]){break b}l=i+(e<<1)|0;F[a+80>>2]=l;Cb(l,i+(g<<1)|0,g);F[a+84>>2]=e;e=F[a+56>>2]}E[F[a+76>>2]+(e<<1)>>1]=m;D[F[a+80>>2]+e|0]=h;F[a+56>>2]=F[a+56>>2]+1}F[a>>2]=1;m=f;e=0;continue}break}f=e}e=k;F[a>>2]=3}F[a+72>>2]=f;F[a+68>>2]=h;F[a+64>>2]=m;Ga=j+16|0;return e}function Ym(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;p=Ga-16|0;Ga=p;d=F[b+100>>2];c=G[a+2|0]|G[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=0;g=qb(e,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);a:{if((g|0)==-1){break a}c=F[d+64>>2];F[b+40>>2]=1;F[b+4>>2]=c;e=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[e+68>>2];D[b+24|0]=(c|0)==F[e+64>>2]?G[(F[e+80>>2]+L(c,20)|0)+15|0]:0;if(!cc(b+4|0,p+12|0)){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[d+64>>2],F[p+12>>2],1,0);break a}h=a+4|0;m=F[b+4>>2];d=0;e=F[b+100>>2];k=F[e+80>>2];b:{c:{c=G[a+8|0]|G[a+9|0]<<8;c=g>>>0<((c<<8|c>>>8)&65535)>>>0?((g<<1)+a|0)+10|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}c=G[a|0]|G[a+1|0]<<8;if(c){n=h+2|0;g=HC(G[h|0]|G[h+1|0]<<8);q=G[h+2|0]|G[h+3|0]<<8;r=(HC(q)+g<<1)+2|0;j=F[L(m,20)+k>>2];c=((c<<8|c>>>8)&65535)-1|0;while(1){l=c+d>>>1|0;i=(a+L(l,r)|0)+2|0;o=G[i|0]|G[i+1|0]<<8;o=(o<<8|o>>>8)&65535;d:{if(o>>>0>j>>>0){c=l-1|0;break d}if((j|0)==(o|0)){break c}d=l+1|0}if((c|0)>=(d|0)){continue}break}}c=0;if(!(G[e+16|0]&64)){break b}a=F[e+68>>2];b=m+1|0;h=a>>>0>>0?a:b;a=F[e+64>>2];m=h-a|0;if(m>>>0<2){break b}b=F[e+144>>2]|32;F[e+144>>2]=b;if(a>>>0>=h>>>0){break b}d=-1;c=a;j=h+(c^-1)|0;if(j>>>0>=3){l=m&-4;while(1){g=L(c,20)+k|0;i=F[g+8>>2];d=d>>>0>>0?d:i;i=F[g+28>>2];d=d>>>0>>0?d:i;i=F[g+48>>2];d=d>>>0>>0?d:i;g=F[g+68>>2];d=d>>>0>>0?d:g;c=c+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}}g=m&3;if(g){f=0;while(1){l=F[(L(c,20)+k|0)+8>>2];d=d>>>0>>0?d:l;c=c+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(m&1){c=L(a,20)+k|0;if(F[c+8>>2]!=(d|0)){F[e+144>>2]=b;F[c+4>>2]=F[c+4>>2]|2}a=a+1|0}c=0;if(!j){break b}while(1){f=L(a,20)+k|0;if(F[f+8>>2]!=(d|0)){b=b|32;F[e+144>>2]=b;F[f+4>>2]=F[f+4>>2]|2}f=L(a+1|0,20)+k|0;if(F[f+8>>2]!=(d|0)){b=b|32;F[e+144>>2]=b;F[f+4>>2]=F[f+4>>2]|2}a=a+2|0;if((h|0)!=(a|0)){continue}break}break b}c=i+2|0;e:{if(!(s=1,t=hd(h,b,a,c,F[e+88>>2]+L(F[e+64>>2],20)|0),u=hd(n,b,a,c+(g<<1)|0,F[e+88>>2]+L(m,20)|0),u?s:t)){break e}a=F[e+68>>2];b=m+1|0;k=a>>>0>>0?a:b;a=F[e+64>>2];g=k-a|0;if(g>>>0<2){break e}f=F[e+144>>2]|32;F[e+144>>2]=f;if(a>>>0>=k>>>0){break e}h=F[e+80>>2];c=-1;d=a;l=k+(a^-1)|0;if(l>>>0>=3){i=g&-4;j=0;while(1){b=h+L(d,20)|0;n=F[b+8>>2];c=c>>>0>>0?c:n;n=F[b+28>>2];c=c>>>0>>0?c:n;n=F[b+48>>2];c=c>>>0>>0?c:n;b=F[b+68>>2];c=b>>>0>c>>>0?c:b;d=d+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}j=g&3;if(j){b=0;while(1){i=F[(h+L(d,20)|0)+8>>2];c=c>>>0>>0?c:i;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(g&1){b=h+L(a,20)|0;if(F[b+8>>2]!=(c|0)){F[e+144>>2]=f;F[b+4>>2]=F[b+4>>2]|3}a=a+1|0}if(!l){break e}while(1){b=h+L(a,20)|0;if(F[b+8>>2]!=(c|0)){f=f|32;F[e+144>>2]=f;F[b+4>>2]=F[b+4>>2]|3}b=h+L(a+1|0,20)|0;if(F[b+8>>2]!=(c|0)){f=f|32;F[e+144>>2]=f;F[b+4>>2]=F[b+4>>2]|3}a=a+2|0;if((k|0)!=(a|0)){continue}break}}F[e+64>>2]=((q|0)!=0)+m;c=1}}Ga=p+16|0;return c}function Ye(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ga-16|0;Ga=i;e=gb(F[a+100>>2],(F[a+16>>2]<<1)+392|0,i+4|0);d=F[i+4>>2];if(!d){F[e>>2]=a;d=F[a+16>>2];F[e+388>>2]=c;f=e+392|0;F[e+8>>2]=f;F[e+4>>2]=d;F[e+368>>2]=0;F[e+372>>2]=0;c=0;E[e+364>>1]=0;F[e+376>>2]=0;F[e+380>>2]=0;F[e+384>>2]=0;n=F[a+92>>2];a:{if(!d){break a}if(d-1>>>0>=7){j=d&-8;while(1){g=c<<1;E[g+f>>1]=16383;E[(g|2)+f>>1]=16383;E[(g|4)+f>>1]=16383;E[(g|6)+f>>1]=16383;E[(g|8)+f>>1]=16383;E[(g|10)+f>>1]=16383;E[(g|12)+f>>1]=16383;E[(g|14)+f>>1]=16383;c=c+8|0;h=h+8|0;if((j|0)!=(h|0)){continue}break}}g=d&7;if(!g){break a}d=0;while(1){E[(c<<1)+f>>1]=16383;c=c+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}b:{if(dd(a,1970170211)){break b}h=0;d=14512;while(1){j=F[(F[d+8>>2]<<2)+16352>>2];c=F[j+4>>2];c:{if(!c|F[d+16>>2]!=10){break c}d=F[c>>2];if(d){while(1){g=c;c=Ob(a,d);F[i+12>>2]=c;d:{if(!c|c>>>0>=I[e+4>>2]){break d}c=(c<<1)+f|0;if((H[c>>1]&16383)!=16383){break d}E[c>>1]=h}d=bf(a,d,i+12|0);while(1){c=F[i+12>>2];if(!(!c|I[g+4>>2]>>0)){e:{if(c>>>0>=I[e+4>>2]){break e}c=(c<<1)+f|0;if((H[c>>1]&16383)!=16383){break e}E[c>>1]=h}d=bf(a,d,i+12|0);continue}break}c=g+8|0;d=F[g+8>>2];if(d){continue}break}}c=F[j+8>>2];d=F[c>>2];if(!d){break c}while(1){g=c;c=Ob(a,d);F[i+8>>2]=c;f:{if(!c|c>>>0>=I[e+4>>2]){break f}c=(c<<1)+f|0;j=H[c>>1];if((j&16383)!=(h&65535)){break f}E[c>>1]=j|16384}d=bf(a,d,i+8|0);while(1){c=F[i+8>>2];if(!(!c|I[g+4>>2]>>0)){g:{if(c>>>0>=I[e+4>>2]){break g}c=(c<<1)+f|0;j=H[c>>1];if((j&16383)!=(h&65535)){break g}E[c>>1]=j|16384}d=bf(a,d,i+8|0);continue}break}c=g+8|0;d=F[g+8>>2];if(d){continue}break}}h=h+1|0;d=F[(h<<2)+16608>>2];if((h|0)!=87){continue}break}c=Ob(a,48);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,49);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,50);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,51);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,52);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,53);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,54);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,55);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,56);if(!(!c|c>>>0>=I[e+4>>2])){c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}c=Ob(a,57);if(!c|c>>>0>=I[e+4>>2]){break b}c=(c<<1)+f|0;E[c>>1]=H[c>>1]|32768}g=F[F[e+388>>2]+12>>2];h:{if((g|0)==16383){break h}h=F[e+4>>2];if((h|0)<=0){break h}d=0;if((h|0)!=1){j=h&-2;c=0;while(1){k=d<<1;l=k+f|0;m=H[l>>1];if((m&16383)==16383){E[l>>1]=g|m&49152}k=(k|2)+f|0;l=H[k>>1];if((l&16383)==16383){E[k>>1]=g|l&49152}d=d+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!(h&1)){break h}c=(d<<1)+f|0;d=H[c>>1];if((d&16383)!=16383){break h}E[c>>1]=g|d&49152}cd(a,n);F[e+12>>2]=0;d=0}F[b>>2]=e;Ga=i+16|0;return d}function _l(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=F[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=F[a>>2];b=c+b|0;c:{a=a-c|0;if((a|0)!=F[61783]){if(c>>>0<=255){e=F[a+8>>2];c=c>>>3|0;d=F[a+12>>2];if((d|0)!=(e|0)){break c}i=247112,j=F[61778]&IC(-2,c),F[i>>2]=j;break b}h=F[a+24>>2];c=F[a+12>>2];d:{if((c|0)!=(a|0)){d=F[a+8>>2];F[d+12>>2]=c;F[c+8>>2]=d;break d}e:{e=a+20|0;d=F[e>>2];if(d){break e}e=a+16|0;d=F[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=F[e>>2];if(d){continue}e=c+16|0;d=F[c+16>>2];if(d){continue}break}F[g>>2]=0}if(!h){break b}e=F[a+28>>2];d=(e<<2)+247416|0;f:{if(F[d>>2]==(a|0)){F[d>>2]=c;if(c){break f}i=247116,j=F[61779]&IC(-2,e),F[i>>2]=j;break b}F[h+(F[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}F[c+24>>2]=h;d=F[a+16>>2];if(d){F[c+16>>2]=d;F[d+24>>2]=c}d=F[a+20>>2];if(!d){break b}F[c+20>>2]=d;F[d+24>>2]=c;break b}c=F[f+4>>2];if((c&3)!=3){break b}F[61780]=b;F[f+4>>2]=c&-2;F[a+4>>2]=b|1;F[f>>2]=b;return}F[e+12>>2]=d;F[d+8>>2]=e}c=F[f+4>>2];g:{if(!(c&2)){if(F[61784]==(f|0)){F[61784]=a;b=F[61781]+b|0;F[61781]=b;F[a+4>>2]=b|1;if(F[61783]!=(a|0)){break a}F[61780]=0;F[61783]=0;return}if(F[61783]==(f|0)){F[61783]=a;b=F[61780]+b|0;F[61780]=b;F[a+4>>2]=b|1;F[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){e=F[f+8>>2];c=c>>>3|0;d=F[f+12>>2];if((d|0)==(e|0)){i=247112,j=F[61778]&IC(-2,c),F[i>>2]=j;break h}F[e+12>>2]=d;F[d+8>>2]=e;break h}h=F[f+24>>2];c=F[f+12>>2];i:{if((f|0)!=(c|0)){d=F[f+8>>2];F[d+12>>2]=c;F[c+8>>2]=d;break i}j:{d=f+20|0;e=F[d>>2];if(e){break j}d=f+16|0;e=F[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=F[d>>2];if(e){continue}d=c+16|0;e=F[c+16>>2];if(e){continue}break}F[g>>2]=0}if(!h){break h}e=F[f+28>>2];d=(e<<2)+247416|0;k:{if(F[d>>2]==(f|0)){F[d>>2]=c;if(c){break k}i=247116,j=F[61779]&IC(-2,e),F[i>>2]=j;break h}F[h+(F[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}F[c+24>>2]=h;d=F[f+16>>2];if(d){F[c+16>>2]=d;F[d+24>>2]=c}d=F[f+20>>2];if(!d){break h}F[c+20>>2]=d;F[d+24>>2]=c}F[a+4>>2]=b|1;F[a+b>>2]=b;if(F[61783]!=(a|0)){break g}F[61780]=b;return}F[f+4>>2]=c&-2;F[a+4>>2]=b|1;F[a+b>>2]=b}if(b>>>0<=255){b=b>>>3|0;c=(b<<3)+247152|0;d=F[61778];b=1<>2]}F[c+8>>2]=a;F[b+12>>2]=a;F[a+12>>2]=c;F[a+8>>2]=b;return}e=31;F[a+16>>2]=0;F[a+20>>2]=0;if(b>>>0<=16777215){c=b>>>8|0;g=c+1048320>>>16&8;c=c<>>16&4;c=c<>>16&2;c=(c<>>15|0)-(d|(e|g))|0;e=(c<<1|b>>>c+21&1)+28|0}F[a+28>>2]=e;g=(e<<2)+247416|0;m:{d=F[61779];c=1<>2]=a;F[a+24>>2]=g;break n}e=b<<((e|0)==31?0:25-(e>>>1|0)|0);c=F[g>>2];while(1){d=c;if((F[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=F[g+16>>2];if(c){continue}break}F[g+16>>2]=a;F[a+24>>2]=d}F[a+12>>2]=a;F[a+8>>2]=a;return}b=F[d+8>>2];F[b+12>>2]=a;F[d+8>>2]=a;F[a+24>>2]=0;F[a+12>>2]=d;F[a+8>>2]=b}}function Ai(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if((G[a|0]|G[a+1|0]<<8)==2560){a:{c=G[a+4|0]|G[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=b>>>0){d=G[a+6|0]|G[a+7|0]<<8;f=(d<<8|d>>>8)&65535;d=b-c|0;if(f>>>0>d>>>0){break a}}a=F[40908];return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}b=G[a+2|0]|G[a+3|0]<<8;if(!b){return 0}c=0;f=a;b=(b<<8|b>>>8)&65535;a=L(b,d);a=(a|0)<0?163632:(f+a|0)+8|0;b=b>>>0>1?b:1;e=b&3;if(b-1>>>0<3){b=0}else{g=b&65532;b=0;while(1){d=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(e){while(1){b=G[a|0]|b<<8;a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return b}b:{c:{d:{e:{f:{g:{e=G[a|0]|G[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 4:break c;case 6:break d;case 8:break e;case 2:break f;case 0:break g;default:break b}}d=b>>>0>>0?(b|0)<0?163632:((b<<2)+a|0)+2|0:0;break b}e=0;c=G[a+4|0]|G[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=d;h:{if(!c){c=G[a+2|0]|G[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break h}g=G[a+2|0]|G[a+3|0]<<8;g=(g<<8|g>>>8)&65535;d=L(g,d-1|0)+a|0;c=0;if((G[d+12|0]|G[d+13|0]<<8)!=65535){break h}c=(G[d+14|0]|G[d+15|0]<<8)==65535?-1:0}c=f+c|0;i:{if((c|0)<=0){break i}f=a+12|0;c=c-1|0;d=0;while(1){a=c+d>>>1|0;e=f+L(a,g)|0;h=G[e+2|0]|G[e+3|0]<<8;j:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){d=G[e|0]|G[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){break i}d=a+1|0;break j}c=a-1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+4|0:0;break b}c=G[a+2|0]|G[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break b}b=b-c|0;e=G[a+4|0]|G[a+5|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){break b}d=(b|0)<0?163632:((b<<2)+a|0)+6|0;break b}c=G[a+4|0]|G[a+5|0]<<8;d=(c<<8|c>>>8)&65535;e=0;k:{if(!c){c=G[a+2|0]|G[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break k}c=G[a+2|0]|G[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=L(g,d-1|0)+a|0;c=(G[c+12|0]|G[c+13|0]<<8)==65535?-1:0}c=c+d|0;l:{if((c|0)<=0){break l}f=a+12|0;c=c-1|0;d=0;while(1){a=c+d>>>1|0;e=f+L(a,g)|0;h=G[e|0]|G[e+1|0]<<8;h=(h<<8|h>>>8)&65535;m:{if(h>>>0>b>>>0){c=a-1|0;break m}if((b|0)==(h|0)){break l}d=a+1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+2|0:0;break b}c=G[a+4|0]|G[a+5|0]<<8;f=(c<<8|c>>>8)&65535;n:{if(!c){c=G[a+2|0]|G[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break n}e=G[a+2|0]|G[a+3|0]<<8;g=(e<<8|e>>>8)&65535;e=L(g,f-1|0)+a|0;c=0;if((G[e+12|0]|G[e+13|0]<<8)!=65535){break n}c=(G[e+14|0]|G[e+15|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break b}h=a+12|0;c=c-1|0;while(1){f=c+d>>>1|0;e=h+L(f,g)|0;i=G[e+2|0]|G[e+3|0]<<8;i=(i<<8|i>>>8)&65535;o:{if(i>>>0<=b>>>0){d=G[e|0]|G[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=f+1|0;break o}c=a;a=G[e+4|0]|G[e+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;d=(a|0)<0?163632:c+(a<<2)|0;break b}c=f-1|0}if((c|0)>=(d|0)){continue}break}d=0}a=d?d:163632;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function wn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=Ga-16|0;Ga=n;e=F[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}k=F[b+12>>2]-2|0;F[b+12>>2]=k;if((k|0)<=0){break a}l=G[a|0]|G[a+1|0]<<8;if(!l){h=1;break a}i=a+2|0;if(i>>>0>>0|d>>>0>>0){break a}i=d-i|0;d=(l<<8|l>>>8)&65535;l=d<<1;if(i>>>0>>0){break a}k=k-l|0;F[b+12>>2]=k;if((k|0)<=0){break a}l=a+2|0;if(e>>>0>l>>>0){break a}s=d>>>0>1?d:1;while(1){b:{d=F[b+8>>2];if(d>>>0>>0|d-l>>>0<2){break b}e=F[c>>2];d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break b}d=G[l|0]|G[l+1|0]<<8;c:{if(!d){break c}k=e+((d<<8|d>>>8)&65535)|0;F[n+12>>2]=k;d=0;i=F[b+4>>2];d:{e:{if(i>>>0>k>>>0){break e}h=F[b+8>>2];if(h>>>0>>0|h-k>>>0<2){break e}f=F[b+12>>2]-2|0;F[b+12>>2]=f;if((f|0)<=0){break e}j=G[k|0]|G[k+1|0]<<8;g=1;if(!j){break d}e=k+2|0;if(e>>>0>>0|e>>>0>h>>>0){break e}g=h-e|0;e=(j<<8|j>>>8)&65535;h=e<<1;if(g>>>0>>0){break e}h=f-h|0;F[b+12>>2]=h;if((h|0)<=0){break e}h=k+2|0;if(i>>>0>h>>>0){break e}t=e>>>0>1?e:1;o=0;while(1){f:{d=F[b+8>>2];if(d>>>0>>0|d-h>>>0<2){break f}e=F[n+12>>2];d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break f}d=G[h|0]|G[h+1|0]<<8;g:{if(!d){break g}q=0;f=e+((d<<8|d>>>8)&65535)|0;i=F[b+4>>2];h:{if(f>>>0>>0){break h}d=F[b+8>>2];if(d>>>0>>0|d-f>>>0<2){break h}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break h}g=G[f|0]|G[f+1|0]<<8;j=((g<<8|g>>>8)&65535)<<1;if(g){g=f+2|0;if(g>>>0>>0|d>>>0>>0|j>>>0>d-g>>>0){break h}e=e-j|0;F[b+12>>2]=e;if((e|0)<=0){break h}}f=(f+j|0)+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break h}j=e-2|0;F[b+12>>2]=j;if((e|0)<3){break h}e=G[f|0]|G[f+1|0]<<8;g=(e<<8|e>>>8)&65535;i:{if(!e){break i}r=g-1|0;if(!r){g=1;break i}m=f+2|0;if(i>>>0>m>>>0|d>>>0>>0){break h}u=d-m|0;m=r<<1;if(u>>>0>>0){break h}j=j-m|0;F[b+12>>2]=j;if((j|0)<=0){break h}}f=f+(e?g<<1:2)|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break h}e=j-2|0;F[b+12>>2]=e;if((j|0)<3){break h}g=G[f|0]|G[f+1|0]<<8;j=((g<<8|g>>>8)&65535)<<1;if(g){g=f+2|0;if(g>>>0>>0|d>>>0>>0|j>>>0>d-g>>>0){break h}e=e-j|0;F[b+12>>2]=e;if((e|0)<=0){break h}}f=(f+j|0)+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break h}j=e-2|0;F[b+12>>2]=j;if((e|0)<3){break h}e=G[f|0]|G[f+1|0]<<8;if(e){g=i;i=f+2|0;if(g>>>0>i>>>0|d>>>0>>0){break h}i=d-i|0;d=((e<<8|e>>>8)&65535)<<2;if(i>>>0>>0){break h}d=j-d|0;F[b+12>>2]=d;if((d|0)<=0){break h}}q=1}if(q){break g}d=F[b+28>>2];if(d>>>0>31){break f}F[b+28>>2]=d+1;if(!G[b+24|0]){break f}D[h|0]=0;D[h+1|0]=0}d=1;o=o+1|0;if((t|0)==(o|0)){break e}h=(k+(o<<1)|0)+2|0;if(h>>>0>=I[b+4>>2]){continue}}break}d=0}g=d}if(g){break c}d=F[b+28>>2];if(d>>>0>31){break b}F[b+28>>2]=d+1;if(!G[b+24|0]){break b}D[l|0]=0;D[l+1|0]=0}h=1;p=p+1|0;if((s|0)==(p|0)){break a}l=((p<<1)+a|0)+2|0;if(l>>>0>=I[b+4>>2]){continue}}break}h=0}Ga=n+16|0;return h}function Al(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ga-16|0;Ga=i;a:{b:{c:{d:{e:{k=F[b+8>>2];if(I[b+4>>2]<=k+3>>>0){break e}o=F[a>>2];e=F[b+20>>2];if(e){if((Ia[e|0](b,k,i+12|0,4)|0)!=4){break e}h=F[b+8>>2];e=i+12|0;break d}e=F[b>>2];if(e){e=e+k|0;h=k;break d}F[b+8>>2]=k+4;e=2;break c}e=85;break a}f=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);j=h+4|0;F[b+8>>2]=j;e=2;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))!=1954115633){break c}f=F[b+4>>2];if(f>>>0<=h+5>>>0){break b}f:{g:{h:{e=F[b+20>>2];i:{if(e){if((Ia[e|0](b,j,i+12|0,2)|0)!=2){break b}h=F[b+20>>2];j=F[b+8>>2];e=i+12|0;break i}e=F[b>>2];if(!e){break h}h=0;e=e+j|0}f=G[e+1|0];e=G[e|0];F[b+8>>2]=j+2;g=j+8|0;p=f|e<<8;if(!h){f=F[b+4>>2];break g}e=85;if(!(Ia[h|0](b,g,0,0)|0)){break f}break a}F[b+8>>2]=h+6;g=h+12|0}e=85;if(f>>>0>>0){break a}}F[b+8>>2]=g;e=142;if(!p){break a}l=(c|0)>0?c&65535:c;n=-1;j:{k:{l:{while(1){h=F[b+4>>2];if(h>>>0<=g+3>>>0){break l}m:{n:{o:{p:{c=F[b+20>>2];q:{if(c){if((Ia[c|0](b,g,i+12|0,4)|0)!=4){break l}h=F[b+20>>2];g=F[b+8>>2];c=i+12|0;break q}c=F[b>>2];if(!c){break p}h=0;c=c+g|0}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);F[b+8>>2]=g+4;j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=g+8|0;if(!h){h=F[b+4>>2];break o}if(!(Ia[h|0](b,c,0,0)|0)){break n}e=85;break a}F[b+8>>2]=g+4;c=g+8|0;j=0}if(c>>>0<=h>>>0){break m}e=85;break a}h=F[b+4>>2]}F[b+8>>2]=c;r:{s:{t:{if(g+11>>>0>=h>>>0){break t}f=F[b+20>>2];u:{if(f){if((Ia[f|0](b,c,i+12|0,4)|0)!=4){break t}h=F[b+4>>2];c=F[b+8>>2];f=i+12|0;break u}f=F[b>>2];if(!f){break s}f=c+f|0}f=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break r}e=85;break a}f=0}g=c+4|0;F[b+8>>2]=g;v:{w:{x:{if(c+7>>>0>=h>>>0){break x}c=F[b+20>>2];y:{if(c){if((Ia[c|0](b,g,i+12|0,4)|0)!=4){break x}g=F[b+8>>2];c=i+12|0;break y}c=F[b>>2];if(!c){break w}c=c+g|0}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break v}e=85;break a}c=0}g=g+4|0;F[b+8>>2]=g;z:{A:{if((j|0)!=1415139377){if((j|0)!=1128875040){break A}c=c-22|0;f=f+22|0;q=1;if((l|0)<0){break z}n=n+1|0;break A}c=c-24|0;f=f+24|0;q=0;if((l|0)<0){break z}n=n+1|0}if((l|0)==(n|0)&(l|0)>=0){break z}m=m+1|0;if((m|0)==(p|0)){break a}continue}break}e=8;h=F[b+4>>2];if(h>>>0>>0|h-f>>>0>>0){break a}m=f+k|0;f=F[b+20>>2];B:{if(f){e=85;if(!(Ia[f|0](b,m,0,0)|0)){break B}break a}e=85;if(h>>>0>>0){break a}}F[b+8>>2]=m;if((c|0)<=0){e=6;if(c){break a}g=0;e=Gb(b,0,0);if(e){break j}break k}g=Ia[F[o+4>>2]](o,c)|0;if(!g){e=64;break a}f=Wa(g,0,c);e=Gb(b,f,c);if(!e){break k}Ia[F[o+8>>2]](o,f);break j}e=85;break a}e=Bg(a,g,c,l>>31&l,q?10933:11064,d)}if((e&255)!=2){break a}}a=e;c=F[b+20>>2];C:{if(c){e=85;if(!(Ia[c|0](b,k,0,0)|0)){break C}break a}e=85;if(I[b+4>>2]>>0){break a}}F[b+8>>2]=k;e=a;break a}e=85}Ga=i+16|0;return e}function Ng(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;c=F[a+36>>2];n=F[a+40>>2];k=F[a+28>>2];o=F[a+24>>2];q=k+L(o,40)|0;a:{if(b){r=8;if((o|0)<=0){break a}a=k;while(1){F[a+24>>2]=F[a+20>>2];F[a+28>>2]=F[a+8>>2];a=a+40|0;if(q>>>0>a>>>0){continue}break}break a}r=4;if((o|0)<=0){break a}a=k;while(1){F[a+24>>2]=F[a+16>>2];F[a+28>>2]=F[a+4>>2];a=a+40|0;if(q>>>0>a>>>0){continue}break}}if((c|0)>0){t=(c<<2)+n|0;while(1){i=F[n>>2];a=i;j=F[a+36>>2];b:{if(a>>>0>j>>>0){break b}c:{while(1){d:{if(H[a>>1]&r){c=a;e:while(1){d=c;h=d>>>0>=j>>>0;if(!h){c=d+40|0;if(H[d+40>>1]&r){continue}}g=1;f:{g:{e=d+40|0;c=e;f=j>>>0>>0;if(!f){while(1){if(H[c>>1]&r){break g}g=g+1|0;c=d+L(g,40)|0;if(j>>>0>=c>>>0){continue}break}}if((a|0)!=(d|0)){break f}c=F[a+24>>2];e=F[a+28>>2];if((c|0)==(e|0)){break b}e=c-e|0;if(a>>>0>i>>>0){break d}break c}if(g>>>0<2){continue}g=d+L(g,40)|0;l=g-40|0;h=F[d+28>>2]>F[g+28>>2];g=h?d:c;f=F[g+24>>2];g=F[g+28>>2];p=f-g|0;d=h?c:d;h=F[d+24>>2];d=F[d+28>>2];s=h-d|0;if(!((f|0)!=(h|0)&(d|0)!=(g|0))){while(1){f=F[e+28>>2];F[e+24>>2]=(d|0)<(f|0)?(f|0)<(g|0)?h:f+p|0:f+s|0;e=e+40|0;if(l>>>0>=e>>>0){continue}continue e}}u=_a(f-h|0,g-d|0);while(1){f=F[e+28>>2];h:{if((f|0)<=(d|0)){m=f+s|0;break h}m=f+p|0;if((f|0)>=(g|0)){break h}m=Ua(f-d|0,u)+h|0}F[e+24>>2]=m;e=e+40|0;if(l>>>0>=e>>>0){continue}break}continue}break}i:{if(f|h){break i}c=F[d+28>>2]>F[a+28>>2];g=c?d:a;f=F[g+24>>2];g=F[g+28>>2];l=f-g|0;c=c?a:d;h=F[c+24>>2];c=F[c+28>>2];p=h-c|0;if(!((f|0)!=(h|0)&(c|0)!=(g|0))){while(1){f=F[e+28>>2];F[e+24>>2]=(c|0)<(f|0)?(f|0)<(g|0)?h:f+l|0:f+p|0;e=e+40|0;if(j>>>0>=e>>>0){continue}break i}}s=_a(f-h|0,g-c|0);while(1){f=F[e+28>>2];j:{if((f|0)<=(c|0)){m=f+p|0;break j}m=f+l|0;if((f|0)>=(g|0)){break j}m=Ua(f-c|0,s)+h|0}F[e+24>>2]=m;e=e+40|0;if(j>>>0>=e>>>0){continue}break}}if(a>>>0<=k>>>0){break b}g=a-40|0;if(g>>>0>>0){break b}e=F[d+28>>2]>F[a+28>>2];c=e?d:a;j=F[c+24>>2];c=F[c+28>>2];h=j-c|0;a=e?a:d;e=F[a+24>>2];a=F[a+28>>2];f=e-a|0;if(!((e|0)!=(j|0)&(a|0)!=(c|0))){while(1){d=F[i+28>>2];F[i+24>>2]=(a|0)<(d|0)?(c|0)>(d|0)?e:d+h|0:d+f|0;i=i+40|0;if(g>>>0>=i>>>0){continue}break b}}j=_a(j-e|0,c-a|0);while(1){d=F[i+28>>2];k:{if((d|0)<=(a|0)){l=d+f|0;break k}l=d+h|0;if((c|0)<=(d|0)){break k}l=Ua(d-a|0,j)+e|0}F[i+24>>2]=l;i=i+40|0;if(g>>>0>=i>>>0){continue}break}break b}a=a+40|0;if(j>>>0>=a>>>0){continue}break b}break}while(1){F[i+24>>2]=e+F[i+28>>2];i=i+40|0;if(i>>>0>>0){continue}break}}c=a+40|0;if(j>>>0>>0){break b}while(1){F[a- -64>>2]=e+F[a+68>>2];a=c;c=a+40|0;if(j>>>0>=c>>>0){continue}break}}n=n+4|0;if(t>>>0>n>>>0){continue}break}}l:{if(b){if((o|0)<=0){break l}while(1){F[k+20>>2]=F[k+24>>2];k=k+40|0;if(q>>>0>k>>>0){continue}break}break l}if((o|0)<=0){break l}while(1){F[k+16>>2]=F[k+24>>2];k=k+40|0;if(q>>>0>k>>>0){continue}break}}}function PA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;a:{if(!(D[b+147|0]&1)){break a}x=F[c+20>>2]>>31|1;v=1;while(1){t=F[b+68>>2];y=t+w|0;if(t){s=F[b+88>>2];q=F[b+80>>2];r=y;a=t;while(1){j=0;f=0;i=0;g=a;h=L(g-1|0,20);d=h+q|0;b:{if((G[d+19|0]&254)!=8){if(!B){break b}l=F[d+4>>2];r=r-1|0;f=L(r,20);g=f+q|0;F[g>>2]=F[d>>2];F[g+4>>2]=l;F[g+16>>2]=F[d+16>>2];l=F[d+12>>2];F[g+8>>2]=F[d+8>>2];F[g+12>>2]=l;g=f+s|0;d=h+s|0;F[g+16>>2]=F[d+16>>2];h=F[d+12>>2];F[g+8>>2]=F[d+8>>2];F[g+12>>2]=h;h=F[d+4>>2];F[g>>2]=F[d>>2];F[g+4>>2]=h;break b}c:{while(1){h=g-1|0;d=L(h,20)+q|0;if((G[d+19|0]&254)==8){l=0;g=F[c+80>>2];g=Ia[F[g+176>>2]](c,F[c+84>>2],F[d>>2],F[g+32>>2])|0;d=G[d+19|0];e=(d|0)==8;j=(e?g:0)+j|0;i=(e?0:g)+i|0;f=((d|0)!=8)+f|0;k=0;d=0;g=h;if(g){continue}break c}break}d=g;k=0;d:{while(1){h=d-1|0;e=L(h,20);l=e+q|0;if((G[l+19|0]&254)==8){break d}m=H[l+16>>1];if(!(1<>2]+k|0;d=h;if(d){continue}break}d=0}l=g}e=L(k-j|0,x);z=0;i=L(i,x);g=0;e:{if((i|0)<=0){break e}g=0;if((e|0)<=(i|0)){break e}g=((e|0)/(i|0)|0)-1|0}h=g+1|0;f:{if((e|0)<=(L(h,i)|0)){h=g;break f}if((f|0)<=0){h=g;break f}g=L(i,g+2|0)-e|0;if((g|0)<=0){break f}z=(g|0)/(L(f,h)|0)|0}g=l+1|0;if(v){w=L(f,h)+w|0;a=g;break b}f=F[b+68>>2];n=a>>>0>f>>>0?f:a;o=n-d|0;g:{if(o>>>0<2){break g}i=F[b+144>>2]|32;F[b+144>>2]=i;if(d>>>0>=n>>>0){break g}m=F[b+80>>2];e=-1;f=d;A=(d^-1)+n|0;if(A>>>0>=3){u=o&-4;k=0;while(1){j=L(f,20)+m|0;p=F[j+8>>2];e=e>>>0

>>0?e:p;p=F[j+28>>2];e=e>>>0

>>0?e:p;p=F[j+48>>2];e=e>>>0

>>0?e:p;j=F[j+68>>2];e=e>>>0>>0?e:j;f=f+4|0;k=k+4|0;if((u|0)!=(k|0)){continue}break}}j=0;k=o&3;if(k){while(1){u=F[(L(f,20)+m|0)+8>>2];e=e>>>0>>0?e:u;f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(o&1){f=L(d,20)+m|0;if(F[f+8>>2]!=(e|0)){F[b+144>>2]=i;F[f+4>>2]=F[f+4>>2]|3}d=d+1|0}if(!A){break g}while(1){f=L(d,20)+m|0;if(F[f+8>>2]!=(e|0)){i=i|32;F[b+144>>2]=i;F[f+4>>2]=F[f+4>>2]|3}f=L(d+1|0,20)+m|0;if(F[f+8>>2]!=(e|0)){i=i|32;F[b+144>>2]=i;F[f+4>>2]=F[f+4>>2]|3}d=d+2|0;if((n|0)!=(d|0)){continue}break}}if(a>>>0<=l>>>0){a=g;break b}k=h+1|0;i=0;while(1){a=a-1|0;d=L(a,20);h=d+q|0;f=F[c+80>>2];j=Ia[F[f+176>>2]](c,F[c+84>>2],F[h>>2],F[f+32>>2])|0;m=G[h+19|0]==9?k:1;if(m){f=d+s|0;d=0;while(1){i=(i-j|0)+(d?z:0)|0;F[f+8>>2]=i;r=r-1|0;n=L(r,20);e=n+q|0;F[e+16>>2]=F[h+16>>2];o=F[h+12>>2];F[e+8>>2]=F[h+8>>2];F[e+12>>2]=o;o=F[h+4>>2];F[e>>2]=F[h>>2];F[e+4>>2]=o;e=n+s|0;F[e+16>>2]=F[f+16>>2];n=F[f+12>>2];F[e+8>>2]=F[f+8>>2];F[e+12>>2]=n;n=F[f+4>>2];F[e>>2]=F[f>>2];F[e+4>>2]=n;d=d+1|0;if((m|0)!=(d|0)){continue}break}}if(a>>>0>l>>>0){continue}break}a=g}a=a-1|0;if(a){continue}break}}if(v){v=0;B=1;a=w+t|0;if(!a|a>>>0>2]){continue}if(Yc(b,a)){continue}break a}break}F[b+68>>2]=y}}function Aj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Ga-16|0;Ga=g;h=F[b+28>>2];i=F[a+736>>2];F[g>>2]=0;a:{b:{if(i){c:{if(!F[a+704>>2]){break c}if(Ia[F[a+516>>2]](a,1668702578,b,g+8|0)|0){break c}f=tb(b,F[g+8>>2]);F[g+12>>2]=f;if(f){break c}f=F[b>>2];d=F[b+32>>2];d:{if((Tb(b)|0)!=65536){F[g+12>>2]=0;break d}o=Va(h,4,0,F[i>>2],0,g+12|0);if(F[g+12>>2]){break d}p=Va(h,4,0,F[i>>2],0,g+12|0);if(F[g+12>>2]){break d}q=Va(h,4,0,F[i>>2],0,g+12|0);if(F[g+12>>2]){break d}e=xb(b);s=e&4095;k=xb(b);c=F[g+8>>2];if((s<<2)+k>>>0>c>>>0){F[g+12>>2]=8;break d}j=k+(d-f|0)|0;if(e&32768){e=F[b+32>>2];f=F[b>>2];d=F[b+36>>2];F[b+32>>2]=d-f>>>0>j>>>0?f+j|0:d;r=Pe(b,c,g);k=F[b+32>>2];d=F[b>>2];f=e-f|0;e=F[b+36>>2];F[b+32>>2]=f>>>0>>0?d+f|0:e;j=k-d|0}l=Va(h,4,0,F[a+700>>2],0,g+12|0);e:{if(F[g+12>>2]){break e}if(s){k=F[g>>2];f=0;while(1){x=xb(b);d=xb(b);f:{if(d&32768){c=0;if(!F[i>>2]){break f}while(1){y=(c<<2)+o|0,z=xb(b)<<16>>16<<2,F[y>>2]=z;c=c+1|0;if(c>>>0>2]){continue}break}break f}e=d&4095;if(e>>>0>=I[i+60>>2]){F[g+12>>2]=8;break e}c=F[i+64>>2];if(!c){F[g+12>>2]=8;break e}t=e;e=F[i>>2];Ya(o,c+(L(t,e)<<2)|0,e<<2)}g:{if(!(d&16384)){break g}c=0;if(!F[i>>2]){break g}while(1){y=(c<<2)+p|0,z=xb(b)<<16>>16<<2,F[y>>2]=z;c=c+1|0;e=F[i>>2];if(c>>>0>>0){continue}break}c=0;if(!e){break g}while(1){y=(c<<2)+q|0,z=xb(b)<<16>>16<<2,F[y>>2]=z;c=c+1|0;if(c>>>0>2]){continue}break}}u=zj(i,d,o,p,q);if(u){m=F[b+32>>2];c=F[b>>2];e=F[b+36>>2];F[b+32>>2]=e-c>>>0>j>>>0?c+j|0:e;v=m-c|0;h:{if(d&8192){e=Pe(b,F[g+8>>2],g+4|0);d=F[g+4>>2];f=e;break h}F[g+4>>2]=k;d=k;e=f;f=r}m=cg(b,F[g+8>>2],d?d:F[a+700>>2]);i:{j:{k:{if(!f|!m){break k}if((e|0)!=-1){c=0;if(!d){break j}while(1){n=H[f+(c<<1)>>1];if(n>>>0>2]){n=(n<<2)+l|0;t=F[n>>2];y=n,z=Ua(F[m+(c<<2)>>2],u)+t|0,F[y>>2]=z}c=c+1|0;if((d|0)!=(c|0)){continue}break}break k}f=-1;if((d|0)!=F[a+700>>2]){break i}c=0;if(!d){break i}while(1){f=c<<2;d=f+l|0;n=F[d>>2];y=d,z=Ua(F[f+m>>2],u)+n|0,F[y>>2]=z;c=c+1|0;if(c>>>0>2]){continue}break}}f=-1;if((e|0)==-1){break i}}if(e){Ia[F[h+8>>2]](h,e)}f=0}if(m){Ia[F[h+8>>2]](h,m)}d=F[b>>2];e=F[b+36>>2];F[b+32>>2]=v>>>0>>0?d+v|0:e}j=j+x|0;w=w+1|0;if((w|0)!=(s|0)){continue}break}}f=F[a+700>>2];if(!f){break e}e=F[a+704>>2];d=0;if((f|0)!=1){i=f&-2;k=0;while(1){c=d<<2;j=c+e|0;F[j>>2]=F[j>>2]+(F[c+l>>2]+512>>10);c=c|4;j=c+e|0;F[j>>2]=F[j>>2]+(F[c+l>>2]+512>>10);d=d+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}if(!(f&1)){break e}f=d<<2;d=f+e|0;F[d>>2]=F[d>>2]+(F[f+l>>2]+512>>10)}lb(b);if((r|0)==-1){break a}break b}lb(b);break b}}F[g+12>>2]=0}if(r){Ia[F[h+8>>2]](h,r)}}if(o){Ia[F[h+8>>2]](h,o)}if(p){Ia[F[h+8>>2]](h,p)}if(q){Ia[F[h+8>>2]](h,q)}if(l){Ia[F[h+8>>2]](h,l)}hl(a+108|0,108);Ga=g+16|0;return F[g+12>>2]}function $z(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=F[F[a+124>>2]+4>>2];if(c){Im(c,b,F[a+4>>2])}d=F[b+68>>2];if(d){g=F[b+80>>2];a=0;while(1){e=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=L(a,20)+g|0;b=F[f>>2];c=b>>>12|0;switch(c|0){case 19:break g;case 17:break h;case 16:break i;case 15:break j;case 10:break k;case 2:break l;case 1:break m;case 0:break n;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 18:case 20:case 21:case 23:case 25:case 26:case 28:case 29:break a;case 30:break c;case 27:break d;case 24:break e;case 22:break f;default:break o}}if((c|0)!=224|b-917760>>>0>239){break a}c=b-908608|0;break b}c=b-40|0;if(c>>>0<24){break b}if(b-160>>>0<=55){c=b-136|0;break b}p:{c=b&-8;if((c|0)!=1600){if((c|0)!=840){break p}c=b-760|0;break b}c=b-1512|0;break b}if(b-1992>>>0<=55){c=b-1896|0;break b}if((b&-32)==2112){c=b-1960|0;break b}if(b-2304>>>0<=1271){c=b-2120|0;break b}if(b-3840>>>0>199){break a}c=b-2384|0;break b}if(b-4096>>>0<=159){c=b-2440|0;break b}if(b-5888>>>0<=431){c=b-4072|0;break b}if(b-6400>>>0<=415){c=b-4152|0;break b}if(b-6912>>>0<=335){c=b-4248|0;break b}if(b-7376>>>0<=47){c=b-4376|0;break b}if((b&-8)!=7672){break a}c=b-4624|0;break b}if(b-8200>>>0<=15){c=b-5144|0;break b}if(b-8304>>>0<=23){c=b-5232|0;break b}q:{c=b&-8;if((c|0)!=9672){if((c|0)!=8432){break q}c=b-5336|0;break b}c=b-6568|0;break b}if(b-11568>>>0>79){break a}c=b-8456|0;break b}if(b-43008>>>0<=759){c=b-39816|0;break b}if((b&-64)!=43968){break a}c=b-40016|0;break b}if((b&-16)!=65024){break a}c=b-61008|0;break b}if(b-66928>>>0<=79){c=b-62896|0;break b}if(b-68096>>>0<=79){c=b-63984|0;break b}if(b-68288>>>0<=47){c=b-64096|0;break b}if(b-68480>>>0<=47){c=b-64240|0;break b}if((b&-64)==68864){c=b-64576|0;break b}if(b-69248>>>0<=55){c=b-64896|0;break b}if(b-69424>>>0>407){break a}c=b-65016|0;break b}if(b-69424>>>0<=407){c=b-65016|0;break b}if(b-69888>>>0<=319){c=b-65072|0;break b}if(b-70272>>>0<=247){c=b-65136|0;break b}if(b-70656>>>0<=223){c=b-65272|0;break b}if(b-71040>>>0<=455){c=b-65432|0;break b}if((b&-64)==71680){c=b-65616|0;break b}if(b-71936>>>0<=95){c=b-65808|0;break b}if(b-72096>>>0<=255){c=b-65872|0;break b}if(b-72704>>>0<=183){c=b-66224|0;break b}if(b-72960>>>0<=175){c=b-66296|0;break b}if(b-73440>>>0>23){break a}c=b-66600|0;break b}if(b-77824>>>0>1087){break a}c=b-70960|0;break b}if(b-92864>>>0<=119){c=b-84912|0;break b}if(b-93952>>>0<=151){c=b-85880|0;break b}if((b&-8)!=94176){break a}c=b-85952|0;break b}if(b-101120>>>0>471){break a}c=b-92888|0;break b}if(b-113664>>>0>159){break a}c=b-104960|0;break b}if(b-123136>>>0<=79){c=b-114272|0;break b}if(b-123536>>>0<=111){c=b-114592|0;break b}if(b-125184>>>0>95){break a}c=b-116128|0}e=G[c+142288|0]}D[f+18|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Gt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ga-160|0;Ga=h;a:{b:{if(cb(a,24256,13)){break b}c:{switch(G[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}a=F[e+32>>2];d:{e:{if(!a|!F[a+72>>2]){break e}if(!ac(12084,F[a+92>>2])){break e}if(F[a+80>>2]){break d}}b=F[e+32>>2];a=E[b+12>>1];F[b+40>>2]=a;F[h+16>>2]=a;a=h+32|0;of(a,h+16|0);c=sd(F[e+32>>2],12084,a);if(c){break a}}a=F[e+32>>2];f:{g:{if(!a|!F[a+72>>2]){break g}if(!ac(12180,F[a+92>>2])){break g}if(F[a+80>>2]){break f}}b=F[e+32>>2];a=E[b+14>>1];F[b+44>>2]=a;F[h>>2]=a;a=h+32|0;of(a,h);c=sd(F[e+32>>2],12180,a);if(c){break a}}F[e>>2]=F[e>>2]&-17;F[d>>2]=4;c=0;break a}h:{if(cb(a,24270,21)){break h}c=0;switch(G[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break h}}i:{if(cb(a,11158,7)){break i}c=a+7|0;j:{switch(G[a+7|0]){case 9:case 10:case 13:case 32:D[a+7|0]=0;c=a+8|0;break;case 0:break j;default:break i}}c=sd(F[e+32>>2],a,c);break a}j=F[e+32>>2];c=a;k:{while(1){l:{f=-1;m:{n:{d=G[c|0];switch(d|0){case 0:break k;case 9:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((d|0)==32){break l}}c=c+1|0;continue}break}D[c|0]=0;f=d}d=0;o:{if(!a|!G[a|0]){break o}g=ac(a,j+112|0);if(!g){break o}d=F[g>>2];if(d>>>0>=83){d=(F[j+104>>2]+(d<<4)|0)-1328|0;break o}d=(d<<4)+21680|0}if((f|0)!=-1){D[c|0]=f}if(!(F[d+4>>2]!=1?d:0)){if(G[c|0]){D[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=G[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=((b|0)==34)+c|0;p:{if(b>>>0>=f>>>0){break p}while(1){q:{r:{f=f-1|0;switch(G[f|0]-9|0){case 25:break q;case 0:case 23:break r;default:break p}}D[f|0]=0;if(b>>>0>>0){continue}break p}break}D[f|0]=0}c=sd(F[e+32>>2],a,b);break a}c=sc(e+40|0,11510,a,b);if(c){break a}b=F[e+40>>2];l=F[b>>2];j=0;s:{t:{u:{a=F[e+48>>2];switch(a|0){case 0:break s;case 1:break u;default:break t}}F[e+48>>2]=0;break s}F[b>>2]=F[b+4>>2];c=1;g=a-1|0;v:{if((g|0)==1){break v}b=a-2|0;k=b&3;d=1;if(a-3>>>0>=3){m=b&-4;b=0;while(1){f=F[e+40>>2];a=c<<2;n=f+a|0;i=f;f=d<<2;F[n>>2]=F[(i+f|0)+4>>2];i=F[e+40>>2];F[(i+a|0)+4>>2]=F[(f+i|0)+8>>2];i=F[e+40>>2];F[(i+a|0)+8>>2]=F[(f+i|0)+12>>2];f=a;a=F[e+40>>2];d=d+4|0;F[(f+a|0)+12>>2]=F[a+(d<<2)>>2];c=c+4|0;b=b+4|0;if((m|0)!=(b|0)){continue}break}}if(!k){break v}f=0;while(1){a=F[e+40>>2];d=d+1|0;F[a+(c<<2)>>2]=F[a+(d<<2)>>2];c=c+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}F[e+48>>2]=g;if(!g){break s}d=0;a=F[F[e+40>>2]>>2];c=a;b=0;while(1){f=G[c|0];if(f){while(1){D[a+d|0]=f;d=d+1|0;f=G[c+1|0];c=c+1|0;if(f){continue}break}g=F[e+48>>2]}b=b+1|0;if(g>>>0>b>>>0){D[a+d|0]=32;g=F[e+48>>2];d=d+1|0}if(b>>>0>>0){c=F[F[e+40>>2]+(b<<2)>>2];continue}break}j=24081;if((a|0)==24081){break s}D[a+d|0]=0;j=a}c=sd(F[e+32>>2],l,j)}Ga=h+160|0;return c|0}function lx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;d=Ga-16|0;Ga=d;a:{b:{if(Tk(a,b,c)){Ze(b);g=Ga-16|0;Ga=g;e=b+132|0;c:{if(!(a?e:0)){F[g+8>>2]=40;break c}h=F[a+28>>2];f=dl(a);F[g+8>>2]=f;if(f){break c}F[e+24>>2]=0;F[e+28>>2]=0;F[e>>2]=0;F[e+4>>2]=0;F[e+32>>2]=0;F[e+36>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e+28>>2]=h;f=Dg(h,8276,g+8|0);if(!F[g+8>>2]){F[f>>2]=a;F[f+4>>2]=e;i=F[e+28>>2];j=f+8264|0;F[f+8272>>2]=j;F[f+8>>2]=i;F[f+8268>>2]=j;F[f+8264>>2]=0;d:{i=dl(a);e:{if(i){break e}i=F[a+8>>2];F[f+48>>2]=16;F[f+44>>2]=17;F[f+68>>2]=i;i=F[a+28>>2];F[f+16>>2]=0;F[f+52>>2]=i;F[f+12>>2]=f+4168;i=3;if(qm(f+12|0,-15)){break e}if(F[f+12>>2]){break d}}F[g+8>>2]=i;if(f){Ia[F[h+8>>2]](h,f)}break c}F[g+8>>2]=0;F[e+12>>2]=f}j=F[a+8>>2];f:{g:{if(!Za(a,F[a+4>>2]-4|0)){i=dc(a,g+12|0);k=F[g+12>>2];Za(a,j);j=k?0:i;if(j-1>>>0<=40958){k=gb(h,j,g+8|0);if(!F[g+8>>2]){if((zg(f,0,k,j)|0)==(j|0)){break f}zg(f,0,0,0);if(k){Ia[F[h+8>>2]](h,k)}}F[g+8>>2]=0;break g}if(j){break g}}i=2147483647}F[e+8>>2]=0;F[e+4>>2]=i;F[e+24>>2]=18;F[e+20>>2]=19;F[e>>2]=0;break c}uf(f+12|0);F[f+52>>2]=0;F[f+44>>2]=0;F[f+48>>2]=0;F[f+24>>2]=0;F[f+28>>2]=0;F[f>>2]=0;F[f+4>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;F[f+16>>2]=0;if(f){Ia[F[h+8>>2]](h,f)}F[e+4>>2]=j;F[e+8>>2]=0;F[e+12>>2]=0;F[e+24>>2]=18;F[e+20>>2]=0;F[e>>2]=k}Ga=g+16|0;f=F[g+8>>2];if((f&255)==7){break b}if(f){h=Ga-16|0;Ga=h;f=40;h:{if(!e|!a){break h}i=F[a+28>>2];f=Za(a,0);if(f){break h}f=Gb(a,h+12|0,2);if(f){break h}f=3;if(G[h+12|0]!=31|G[h+13|0]!=157){break h}F[h+8>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+32>>2]=0;F[e+36>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;F[e+28>>2]=i;g=gb(i,4292,h+8|0);f=F[h+8>>2];if(!f){F[g>>2]=a;F[g+4>>2]=e;j=F[e+28>>2];k=g+4280|0;F[g+4288>>2]=k;F[g+8>>2]=j;F[g+4284>>2]=k;F[g+4280>>2]=0;i:{j=Za(a,0);j:{if(j){break j}j=Gb(a,h+14|0,2);if(j){break j}j=3;if(G[h+14|0]!=31){break j}if(G[h+15|0]==157){break i}}F[h+8>>2]=j;if(g){Ia[F[i+8>>2]](i,g)}f=F[h+8>>2];break h}Wa(g+12|0,0,172);F[g+176>>2]=a;i=F[a+28>>2];F[g+108>>2]=64;F[g+100>>2]=g+112;F[g+180>>2]=i;F[g+36>>2]=0;F[g+40>>2]=0;D[g+44|0]=0;F[g+64>>2]=9;F[e+12>>2]=g}F[e+8>>2]=0;F[e>>2]=0;F[e+4>>2]=2147483647;F[e+24>>2]=20;F[e+20>>2]=21}Ga=h+16|0;if((f&255)==7|f){break b}}F[b+104>>2]=e;F[b+172>>2]=a;if(Tk(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Ze(b);a=6;break a}k:{l:{a=F[b+180>>2];m:{if(!a){break m}c=F[b+176>>2];if(!c|(G[a|0]|32)!=105|((G[a+1|0]|32)!=115|(G[a+2|0]|32)!=111)){break m}a=a+3|0;if(!ab(a,9668)){break l}if(!ab(a,9831)){if(!ab(c,9964)){break l}}if(ab(a,10109)){break m}if(!ab(c,10212)){break l}}F[d+4>>2]=0;F[d+8>>2]=0;break k}F[d+4>>2]=1970170211;F[d+8>>2]=65539}F[d>>2]=b;a=qc(29552,0,d,0);break a}Ze(b);a=2}Ga=d+16|0;return a|0}function fi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Wa(b,0,196);e=G[a+188|0];D[b+8|0]=e;a:{if(!e){break a}if(e-1>>>0>=3){h=e&252;f=b+12|0;g=a+192|0;while(1){E[f+(c<<1)>>1]=F[g+(c<<2)>>2];j=c|1;E[f+(j<<1)>>1]=F[g+(j<<2)>>2];j=c|2;E[f+(j<<1)>>1]=F[g+(j<<2)>>2];j=c|3;E[f+(j<<1)>>1]=F[g+(j<<2)>>2];c=c+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}e=e&3;if(!e){break a}i=0;while(1){E[(b+(c<<1)|0)+12>>1]=F[((c<<2)+a|0)+192>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=G[a+189|0];D[b+9|0]=f;b:{if(!f){break b}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+40|0;h=a+248|0;e=0;while(1){E[g+(c<<1)>>1]=F[h+(c<<2)>>2];d=c|1;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|2;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|3;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break b}while(1){E[(b+(c<<1)|0)+40>>1]=F[((c<<2)+a|0)+248>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=G[a+190|0];D[b+10|0]=f;c:{if(!f){break c}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+60|0;h=a+288|0;e=0;while(1){E[g+(c<<1)>>1]=F[h+(c<<2)>>2];d=c|1;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|2;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|3;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break c}while(1){E[(b+(c<<1)|0)+60>>1]=F[((c<<2)+a|0)+288>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=G[a+191|0];D[b+11|0]=f;d:{if(!f){break d}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+88|0;h=a+344|0;e=0;while(1){E[g+(c<<1)>>1]=F[h+(c<<2)>>2];d=c|1;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|2;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|3;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break d}while(1){E[(b+(c<<1)|0)+88>>1]=F[((c<<2)+a|0)+344>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}F[b+108>>2]=F[a+384>>2];F[b+112>>2]=F[a+388>>2];F[b+116>>2]=F[a+392>>2];E[b+120>>1]=F[a+396>>2];E[b+122>>1]=F[a+400>>2];f=G[a+404|0];D[b+124|0]=f;e:{if(!f){break e}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+128|0;h=a+408|0;e=0;while(1){E[g+(c<<1)>>1]=F[h+(c<<2)>>2];d=c|1;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|2;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|3;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break e}while(1){E[(b+(c<<1)|0)+128>>1]=F[((c<<2)+a|0)+408>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=G[a+405|0];D[b+125|0]=f;f:{if(!f){break f}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+154|0;h=a+460|0;e=0;while(1){E[g+(c<<1)>>1]=F[h+(c<<2)>>2];d=c|1;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|2;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];d=c|3;E[g+(d<<1)>>1]=F[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break f}while(1){E[(b+(c<<1)|0)+154>>1]=F[((c<<2)+a|0)+460>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}D[b+126|0]=G[a+512|0];F[b+184>>2]=F[a+524>>2];F[b+4>>2]=F[a+520>>2]}function RB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=F[a+4>>2]+1|0;f=a;g=F[a>>2];a:{if((g|0)>=0){h=(d|0)>0?d:0;if(g>>>0>>0){a=g;while(1){a=((a>>>1|0)+a|0)+8|0;if(h>>>0>=a>>>0){continue}break}b:{if(!(a>>>0>>0|a>>>0>134217726)){d=0;g=nb(a<<5);if(g){i=F[f+4>>2];c:{if(!i){break c}if(i-1>>>0>=7){k=i&-8;while(1){c=d<<5;b=c+g|0;F[b>>2]=0;F[b+4>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;b=(c|32)+g|0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;b=(c|64)+g|0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;b=(c|96)+g|0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;b=(c|128)+g|0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;b=(c|160)+g|0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;b=(c|192)+g|0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=(c|224)+g|0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=d+8|0;j=j+8|0;if((k|0)!=(j|0)){continue}break}}b=i&7;if(b){while(1){c=(d<<5)+g|0;F[c>>2]=0;F[c+4>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;d=d+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(!i){e=0;break c}c=0;while(1){e=c<<5;d=e+g|0;e=e+F[f+8>>2]|0;F[d>>2]=F[e>>2];b=F[d+4>>2];F[d+4>>2]=F[e+4>>2];F[e+4>>2]=b;b=F[d+8>>2];F[d+8>>2]=F[e+8>>2];F[e+8>>2]=b;b=F[d+12>>2];F[d+12>>2]=F[e+12>>2];F[e+12>>2]=b;b=F[e+28>>2];F[d+24>>2]=F[e+24>>2];F[d+28>>2]=b;b=F[e+20>>2];F[d+16>>2]=F[e+16>>2];F[d+20>>2]=b;e=F[f+4>>2];c=c+1|0;if(e>>>0>c>>>0){continue}break}if(!e){e=0;break c}d=e;while(1){d=F[f+8>>2]+(d<<5)|0;F[d-24>>2]=0;c=d-20|0;Ta(F[c>>2]);F[c>>2]=0;d=d-28|0;F[d>>2]=0;F[d+4>>2]=0;d=F[f+4>>2]-1|0;F[f+4>>2]=d;if(d){continue}break}}F[f+4>>2]=e;Ta(F[f+8>>2])}if(g){break b}}F[f>>2]=-1;a=0;break a}F[f>>2]=a;F[f+8>>2]=g}a=F[f+4>>2];d:{if(h>>>0>a>>>0){while(1){F[f+4>>2]=a+1;a=F[f+8>>2]+(a<<5)|0;F[a>>2]=0;F[a+4>>2]=0;F[a+24>>2]=0;F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;a=F[f+4>>2];if(h>>>0>a>>>0){continue}break d}}if(a>>>0<=h>>>0){break d}while(1){a=F[f+8>>2]+(a<<5)|0;F[a-24>>2]=0;g=a-20|0;Ta(F[g>>2]);F[g>>2]=0;a=a-28|0;F[a>>2]=0;F[a+4>>2]=0;a=F[f+4>>2]-1|0;F[f+4>>2]=a;if(a>>>0>h>>>0){continue}break}}F[f+4>>2]=h;a=1}else{a=0}}if(!a){a=F[40915];F[61614]=F[40914];F[61615]=a;a=F[40913];F[61612]=F[40912];F[61613]=a;a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;return 246432}return(F[f+8>>2]+(F[f+4>>2]<<5)|0)-32|0}function Jk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Ga-48|0;Ga=g;$c(a,g+32|0);k=F[g+40>>2];a:{if(!k){h=3;break a}f=F[g+32>>2];F[g+28>>2]=f;i=F[g+36>>2];b:{c:{d:{e=F[b+8>>2];if((e|0)==7){e=F[a+8>>2];F[a+8>>2]=i-1;l=1;h=F[a>>2];F[a>>2]=f+1;$c(a,g);F[a+8>>2]=e;F[a>>2]=h;h=3;if(F[g+8>>2]==3){break d}e=7;break b}h=3;if((k|0)==3){break c}l=1;break b}if(!d){break a}F[g+28>>2]=f+1;i=i-1|0;e=8;m=1;break b}if(!d){break a}m=1;F[g+28>>2]=f+1;i=i-1|0;l=d}n=d<<1;o=L(d,3);p=d<<2;q=e-1|0;r=k-2|0;e:{while(1){e=F[(m<<2)+c>>2];f=F[b+16>>2];Sb(g+28|0,i);k=e+f|0;h=3;f:{g:{h:{i:{j:{k:{switch(q|0){case 0:h=F[g+28>>2];f=h;l:{if(G[f|0]!=116|f+3>>>0>=i>>>0|(G[f+1|0]!=114|G[f+2|0]!=117)){break l}if(G[f+3|0]!=101){break l}e=1;F[g+28>>2]=h+5;break j}e=0;m:{if(G[h|0]!=102|h+4>>>0>=i>>>0|(G[h+1|0]!=97|G[h+2|0]!=108)){break m}if(G[f+3|0]!=115){break m}h=(G[h+4|0]==101?6:0)+h|0}F[g+28>>2]=h;break j;case 2:e=Hc(g+28|0,i,0);break j;case 3:e=Hc(g+28|0,i,3);break j;case 7:break g;case 6:break h;case 4:case 5:break i;case 1:break k;default:break a}}j=F[g+28>>2];F[g>>2]=j;f=Ic(g,i,10);e=0;h=F[g>>2];if((j|0)==(h|0)){break j}if(!(G[h|0]!=35|h>>>0>=i>>>0)){j=h+1|0;F[g>>2]=j;f=Ic(g,i,f);h=F[g>>2];if((j|0)==(h|0)){break j}}F[g+28>>2]=h;e=f}n:{switch(G[b+20|0]-1|0){case 0:D[k|0]=e;break f;case 1:E[k>>1]=e;break f;default:break n}}F[k>>2]=e;break f}e=F[g+28>>2];if(e>>>0>=i>>>0){break f}j=i-e|0;f=F[a+16>>2];o:{p:{switch(r|0){case 2:F[g+28>>2]=e+1;e=j-1|0;break o;case 0:break p;default:break a}}F[g+28>>2]=e+1;e=j-2|0}h=F[k>>2];if(h){if(h){Ia[F[f+8>>2]](f,h)}F[k>>2]=0}f=gb(f,e+1|0,g+24|0);h=F[g+24>>2];if(h){break a}h=e;e=Ya(f,F[g+28>>2],e);D[h+e|0]=0;F[k>>2]=e;break f}if((Od(g+28|0,i,4,g,0)|0)<=3){break a}e=F[g>>2];F[k>>2]=((e>>31)+e|0)+32768&-65536;e=F[g+4>>2];F[k+4>>2]=((e>>31)+e|0)+32768&-65536;e=F[g+8>>2];F[k+8>>2]=((e>>31)+e|0)+32768&-65536;e=F[g+12>>2];F[k+12>>2]=((e>>31)+e|0)+32768&-65536;break f}k=F[a+16>>2];e=Va(k,4,0,p,0,g+24|0);h=F[g+24>>2];if(h){break a}f=Od(g+28|0,i,d,e,0);if((f|0)<0|d>>>0>f>>>0){break e}f=g+28|0;Sb(f,i);f=Od(f,i,d,e+p|0,0);if((f|0)<0|d>>>0>f>>>0){break e}f=g+28|0;Sb(f,i);f=Od(f,i,d,e+(n<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break e}f=g+28|0;Sb(f,i);f=Od(f,i,d,e+(o<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break e}Sb(g+28|0,i);f=0;if(d){while(1){j=f<<2;h=F[j+c>>2];j=F[e+j>>2];F[h>>2]=((j>>31)+j|0)+32768&-65536;j=F[e+(d+f<<2)>>2];F[h+4>>2]=((j>>31)+j|0)+32768&-65536;j=F[e+(f+n<<2)>>2];F[h+8>>2]=((j>>31)+j|0)+32768&-65536;j=h;h=F[e+(f+o<<2)>>2];F[j+12>>2]=((h>>31)+h|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break}}if(e){Ia[F[k+8>>2]](k,e)}}m=m+1|0;l=l-1|0;if(l){continue}break}h=0;break a}F[g+24>>2]=3;if(e){Ia[F[k+8>>2]](k,e)}h=F[g+24>>2]}Ga=g+48|0;return h|0}function og(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(F[a+200>>2]==(b|0)&F[a+204>>2]==(d|0)){break a}F[a+200>>2]=b;F[a+204>>2]=d;d=F[a+4>>2];if(!d){break a}f=Ua(F[a+8>>2],b);F[a+12>>2]=f;F[a+16>>2]=f+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){h=Ua(F[d>>2],b);i=F[a+12>>2];j=h-i|0;g=j>>31;g=(g^j)-g>>>0<128?i:h;F[d+4>>2]=g;F[d+8>>2]=g+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(F[a+404>>2]==(c|0)&F[a+408>>2]==(e|0)){break b}F[a+404>>2]=c;F[a+408>>2]=e;b=F[a+208>>2];c:{if(!b){break c}d=Ua(F[a+212>>2],c);F[a+216>>2]=d;F[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){g=Ua(F[d>>2],c);h=F[a+216>>2];i=g-h|0;b=i>>31;b=(b^i)-b>>>0<128?h:g;F[d+4>>2]=b;F[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}D[a+2492|0]=(L(c,125)|0)>2]<<3&(c|0)<=34359737;d=F[a+2480>>2];d:{if((d|0)<=0){break d}while(1){if((Ua(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}F[a+2484>>2]=d;b=F[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=Ua(F[d+8>>2],c)+e|0,F[k+28>>2]=l;k=d,l=Ua(F[d+12>>2],c)+e|0,F[k+24>>2]=l;k=d,l=Ua(F[d>>2],c)+e|0,F[k+16>>2]=l;k=d,l=Ua(F[d+4>>2],c),F[k+20>>2]=l;F[d+16>>2]=F[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=F[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=Ua(F[d+8>>2],c)+e|0,F[k+28>>2]=l;k=d,l=Ua(F[d+12>>2],c)+e|0,F[k+24>>2]=l;k=d,l=Ua(F[d>>2],c)+e|0,F[k+16>>2]=l;k=d,l=Ua(F[d+4>>2],c),F[k+20>>2]=l;F[d+16>>2]=F[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=F[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=Ua(F[d+8>>2],c)+e|0,F[k+28>>2]=l;k=d,l=Ua(F[d+12>>2],c)+e|0,F[k+24>>2]=l;k=d,l=Ua(F[d>>2],c)+e|0,F[k+16>>2]=l;k=d,l=Ua(F[d+4>>2],c),F[k+20>>2]=l;F[d+16>>2]=F[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=F[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=Ua(F[d+8>>2],c)+e|0,F[k+28>>2]=l;k=d,l=Ua(F[d+12>>2],c)+e|0,F[k+24>>2]=l;k=d,l=Ua(F[d>>2],c)+e|0,F[k+16>>2]=l;k=d,l=Ua(F[d+4>>2],c),F[k+20>>2]=l;F[d+16>>2]=F[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}e:{g=F[a+412>>2];if(!g){break e}d=F[a+1444>>2];if(!d){break e}b=a+1448|0;f=a+416|0;while(1){f:{if(!d){break f}e=b;while(1){i=F[f>>2]-F[e>>2]|0;h=i>>31;if((Ua((h^i)-h|0,c)|0)<=63){F[f+28>>2]=F[e+28>>2];F[f+24>>2]=F[e+24>>2];F[f+16>>2]=F[e+16>>2];F[f+20>>2]=F[e+20>>2];break f}e=e+32|0;d=d-1|0;if(d){continue}break}}g=g-1|0;if(!g){break e}f=f+32|0;d=F[a+1444>>2];continue}}g=F[a+928>>2];if(!g){break b}d=F[a+1960>>2];if(!d){break b}b=a+1964|0;f=a+932|0;while(1){g:{if(!d){break g}e=b;while(1){i=F[f>>2]-F[e>>2]|0;h=i>>31;if((Ua((h^i)-h|0,c)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break g}break}F[f+28>>2]=F[e+28>>2];F[f+24>>2]=F[e+24>>2];F[f+16>>2]=F[e+16>>2];F[f+20>>2]=F[e+20>>2]}g=g-1|0;if(!g){break b}f=f+32|0;d=F[a+1960>>2];continue}}}function Ae(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ga-16|0;Ga=h;a:{if(I[b+16>>2]<=c>>>0){F[a+16>>2]=163632;F[a+8>>2]=0;F[a+12>>2]=-1;F[a>>2]=0;F[a+4>>2]=0;b=H[81816];if(!b){F[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){F[a+20>>2]=1;break a}F[a+20>>2]=2;break a}e=F[b+20>>2];e=e?e:163632;b:{if(G[b+12|0]){e=F[e+12>>2]+(c<<1)|0;f=G[e|0]|G[e+1|0]<<8;f=((f<<8|f>>>8)&65535)<<1;e=G[e+2|0]|G[e+3|0]<<8;e=((e<<8|e>>>8)&65535)<<1;break b}e=F[e+12>>2]+(c<<2)|0;f=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}c:{if(e>>>0>=f>>>0){b=F[b+24>>2];b=b?b:163632;if(e>>>0<=I[b+16>>2]){break c}}F[a+16>>2]=163632;F[a+8>>2]=0;F[a+12>>2]=-1;F[a>>2]=0;F[a+4>>2]=0;b=H[81816];if(!b){F[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){F[a+20>>2]=1;break a}F[a+20>>2]=2;break a}g=F[b+12>>2]+f|0;f=e-f|0;e=f>>>0<10?163632:g;b=G[e|0]|G[e+1|0]<<8;if(b){b=(b<<8|b>>>8)<<16>>16>0?1:2}else{b=0}if(d){d:{switch(b-1|0){case 1:F[a+16>>2]=e;F[a+8>>2]=0;F[a+12>>2]=-1;F[a+4>>2]=f;F[a>>2]=g;b=G[e|0]|G[e+1|0]<<8;if(!b){F[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){F[a+20>>2]=1;break a}F[a+20>>2]=2;break a;case 0:F[h+12>>2]=0;F[h+8>>2]=f;F[h+4>>2]=g;F[h>>2]=e;f=0;e=0;g=F[h+4>>2];b=F[h>>2];b=G[b|0]|G[b+1|0]<<8;b=g+((b<<8|b>>>8)<<16>>16<<1)|0;e:{f:{g:{h:{i=F[h+8>>2];j=g+i|0;if(j>>>0<=b+12>>>0){F[a+16>>2]=163632;F[a+8>>2]=0;F[a+12>>2]=-1;F[a>>2]=0;F[a+4>>2]=0;b=H[81816];if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}break f}c=b+10|0;b=G[c|0]|G[c+1|0]<<8;b=(((b<<8|b>>>8)&65535)+c|0)+2|0;c=c-2|0;c=G[c|0]|G[c+1|0]<<8;l=(c<<8|c>>>8)&65535;m=l+1|0;while(1){if(b>>>0>>0){k=1;c=b+1|0;d=G[b|0];if(d&8){if(c>>>0>=j>>>0){F[a+16>>2]=163632;F[a+8>>2]=0;F[a+12>>2]=-1;F[a>>2]=0;F[a+4>>2]=0;b=H[81816];if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}break f}k=G[b+1|0]+1|0;b=b+2|0}else{b=c}f=L((d&2?1:(d>>>3^-1)&2)+(d&4?1:(d>>>4^-1)&2)|0,k)+f|0;e=e+k|0;if(l>>>0>=e>>>0){continue}}break}if((e|0)!=(m|0)){F[a+16>>2]=163632;F[a+8>>2]=0;F[a+12>>2]=-1;F[a>>2]=0;F[a+4>>2]=0;b=H[81816];if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}break f}F[a+8>>2]=0;F[a+12>>2]=-1;F[a>>2]=g;b=((i-j|0)+f|0)+b|0;b=b>>>0>i>>>0?i:b;F[a+4>>2]=b;b=b>>>0<10?163632:g;F[a+16>>2]=b;b=G[b|0]|G[b+1|0]<<8;if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}F[a+20>>2]=2;break e}F[a+20>>2]=0;break e}F[a+20>>2]=1;break e}F[a+20>>2]=2}break a;default:break d}}F[a+16>>2]=e;F[a+8>>2]=0;F[a+12>>2]=-1;F[a+4>>2]=f;F[a>>2]=g;b=G[e|0]|G[e+1|0]<<8;if(!b){F[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){F[a+20>>2]=1;break a}F[a+20>>2]=2;break a}F[a+20>>2]=b;F[a+16>>2]=e;F[a+12>>2]=c;F[a+8>>2]=0;F[a+4>>2]=f;F[a>>2]=g}Ga=h+16|0}function Yd(a,b,c){var d=0,e=0,f=0,g=M(0),h=M(0);e=F[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)<=1986098018){if((b|0)==1751216995){break h}if((b|0)==1751413603){break g}if((b|0)!=1751934832){break a}d=e+72|0;b=Sc(d);if((G[b+62|0]|G[b+63|0]<<8)<<16>>16>=0){break f}b=Sc(d);if(!(G[b+4|0]|G[b+5|0]<<8|(G[b+6|0]|G[b+7|0]<<8)|(G[b+64|0]|G[b+65|0]<<8))){if(!(G[b+66|0]|G[b+67|0]<<8)){break f}}if(!c){break b}b=Sc(d);b=G[b+72|0]|G[b+73|0]<<8;g=M(Qc(Rc(e+132|0),1751934832,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16));h=M(F[a+24>>2]);break c}if((b|0)==1986098019){break e}if((b|0)==1986294627){break d}if((b|0)!=1986815856){break a}b=e+92|0;f=Gd(b);d=G[f|0]|G[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=Gd(b);b=G[b+8|0]|G[b+9|0]<<8;g=M(Qc(Rc(e+132|0),1986815856,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16));h=M(F[a+20>>2]);break c}i:{d=e+72|0;b=Sc(d);if((G[b+62|0]|G[b+63|0]<<8)<<16>>16>=0){break i}b=Sc(d);if(!(G[b+4|0]|G[b+5|0]<<8|(G[b+6|0]|G[b+7|0]<<8)|(G[b+64|0]|G[b+65|0]<<8))){if(!(G[b+66|0]|G[b+67|0]<<8)){break i}}if(!c){break b}b=Sc(d);b=G[b+68|0]|G[b+69|0]<<8;g=M(N(M(Qc(Rc(e+132|0),1751216995,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16))));h=M(F[a+24>>2]);break c}b=e- -64|0;d=Hd(b);if(!(G[d|0]|G[d+1|0]<<8)){break a}if(!c){break b}b=Hd(b);b=G[b+4|0]|G[b+5|0]<<8;g=M(N(M(Qc(Rc(e+132|0),1751216995,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16))));h=M(F[a+24>>2]);break c}j:{d=e+72|0;b=Sc(d);if((G[b+62|0]|G[b+63|0]<<8)<<16>>16>=0){break j}b=Sc(d);if(!(G[b+4|0]|G[b+5|0]<<8|(G[b+6|0]|G[b+7|0]<<8)|(G[b+64|0]|G[b+65|0]<<8))){if(!(G[b+66|0]|G[b+67|0]<<8)){break j}}if(!c){break b}b=Sc(d);b=G[b+70|0]|G[b+71|0]<<8;h=M(-M(N(M(Qc(Rc(e+132|0),1751413603,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16)))));g=M(F[a+24>>2]);break c}b=e- -64|0;d=Hd(b);if(!(G[d|0]|G[d+1|0]<<8)){break a}if(!c){break b}b=Hd(b);b=G[b+6|0]|G[b+7|0]<<8;h=M(-M(N(M(Qc(Rc(e+132|0),1751413603,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16)))));g=M(F[a+24>>2]);break c}b=e- -64|0;d=Hd(b);if(!(G[d|0]|G[d+1|0]<<8)){break a}if(!c){break b}b=Hd(b);b=G[b+8|0]|G[b+9|0]<<8;g=M(Qc(Rc(e+132|0),1751934832,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16));h=M(F[a+24>>2]);break c}b=e+92|0;f=Gd(b);d=G[f|0]|G[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=Gd(b);b=G[b+4|0]|G[b+5|0]<<8;g=M(N(M(Qc(Rc(e+132|0),1986098019,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16))));h=M(F[a+20>>2]);break c}b=e+92|0;f=Gd(b);d=G[f|0]|G[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=Gd(b);b=G[b+6|0]|G[b+7|0]<<8;h=M(-M(N(M(Qc(Rc(e+132|0),1986294627,F[a+72>>2],F[a+68>>2])+M((b<<8|b>>>8)<<16>>16)))));g=M(F[a+20>>2])}b=F[a+16>>2];a=F[b+28>>2];if(!a){a=db(b)}g=M(R(M(M(M(g*h)/M(a>>>0))+M(.5))));k:{if(M(N(g))>2]=a}f=1}return f}function xn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Ga-16|0;Ga=h;e=F[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=F[b+12>>2];g=d-2|0;F[b+12>>2]=g;f=1;if((g|0)<=0){f=0;break a}b:{c:{d:{e:{g=G[a|0]|G[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}f=a+2|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break b}c=d-4|0;F[b+12>>2]=c;if((c|0)<=0){break b}c=G[f|0]|G[f+1|0]<<8;f:{if(!c){break f}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break f}c=F[b+28>>2];if(c>>>0>31){break b}F[b+28>>2]=c+1;if(!G[b+24|0]){break b}D[f|0]=0;D[f+1|0]=0}F[h+12>>2]=a;f=wn(a+4|0,b,h+12|0);break a}e=Ga-16|0;Ga=e;g:{h:{f=a+2|0;if(f>>>0>2]){break h}c=F[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break h}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break h}c=G[f|0]|G[f+1|0]<<8;i:{if(!c){break i}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break i}c=F[b+28>>2];if(c>>>0>31){break h}F[b+28>>2]=c+1;if(!G[b+24|0]){break h}D[f|0]=0;D[f+1|0]=0}f=0;c=a+4|0;if(c>>>0>2]){break g}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=G[c|0]|G[c+1|0]<<8;j:{if(!d){break j}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=F[b+28>>2];if(d>>>0>31){break g}F[b+28>>2]=d+1;if(!G[b+24|0]){break g}D[c|0]=0;D[c+1|0]=0}c=a+6|0;if(c>>>0>2]){break g}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=G[c|0]|G[c+1|0]<<8;k:{if(!d){break k}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break k}d=F[b+28>>2];if(d>>>0>31){break g}F[b+28>>2]=d+1;if(!G[b+24|0]){break g}D[c|0]=0;D[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break g}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=G[c|0]|G[c+1|0]<<8;l:{if(!d){break l}if(Zc(((d<<8|d>>>8)&65535)+a|0,b)){break l}d=F[b+28>>2];if(d>>>0>31){break g}F[b+28>>2]=d+1;if(!G[b+24|0]){break g}D[c|0]=0;D[c+1|0]=0}F[e+12>>2]=a;f=wn(a+10|0,b,e+12|0);break g}f=0}Ga=e+16|0;break a}f=0;c=Ga-16|0;Ga=c;F[c+12>>2]=a;d=a+2|0;m:{if(!ve(d,b,c+12|0)){break m}e=G[a+2|0]|G[a+3|0]<<8;F[c+8>>2]=a;e=(d+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(!ve(e,b,c+8|0)){break m}d=G[e|0]|G[e+1|0]<<8;if(!d){break m}F[c+4>>2]=a;a=(e+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!ve(a,b,c+4|0)){break m}i=F[b+4>>2];e=G[a|0]|G[a+1|0]<<8;a=(a+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(i>>>0>a>>>0){break m}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break m}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break m}g=G[a|0]|G[a+1|0]<<8;if(g){a=a+2|0;if(a>>>0>>0|a>>>0>e>>>0){break m}e=e-a|0;a=((g<<8|g>>>8)&65535)<<2;if(e>>>0>>0){break m}a=d-a|0;F[b+12>>2]=a;if((a|0)<=0){break m}}f=1}Ga=c+16|0;break a}f=0}Ga=h+16|0;return f}function ll(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Ga-16|0;Ga=i;o=F[a>>2];k=F[b+20>>2];a:{b:{if(k){a=85;if(Ia[k|0](b,c,0,0)|0){break a}j=F[b+4>>2];break b}a=85;j=F[b+4>>2];if(j>>>0>>0){break a}}F[b+8>>2]=c;F[i>>2]=0;c:{d:{if(c+1>>>0>=j>>>0){break d}e:{f:{a=F[b+20>>2];g:{if(a){if((Ia[a|0](b,c,i+6|0,2)|0)!=2){break d}j=F[b+8>>2];l=i+6|0;a=F[i>>2];break g}a=F[b>>2];if(!a){break f}l=a+c|0;j=c;a=0}k=G[l|0]|G[l+1|0]<<8;j=j+2|0;F[b+8>>2]=j;if(a){break a}a=8;p=(k<<8|k>>>8)<<16>>16;if((p|0)>4078){break a}if((p|0)>=0){break e}a=1;break a}j=c+2|0;F[b+8>>2]=j}while(1){F[i>>2]=0;if(I[b+4>>2]<=j+3>>>0){break d}h:{i:{a=F[b+20>>2];if(a){if((Ia[a|0](b,j,i+8|0,4)|0)!=4){break d}j=F[b+8>>2];a=F[i>>2];l=i+8|0;break i}a=F[b>>2];if(a){l=a+j|0;a=0;break i}l=j+4|0;F[b+8>>2]=l;n=0;break h}k=G[l|0]|G[l+1|0]<<8|(G[l+2|0]<<16|G[l+3|0]<<24);l=j+4|0;F[b+8>>2]=l;if(a){break a}n=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24)}F[i>>2]=0;if(I[b+4>>2]<=j+5>>>0){break d}j:{k:{a=F[b+20>>2];if(a){if((Ia[a|0](b,l,i+12|0,2)|0)!=2){break d}l=F[b+8>>2];a=F[i>>2];j=i+12|0;break k}a=F[b>>2];if(a){j=a+l|0;a=0;break k}j=l+2|0;F[b+8>>2]=j;m=0;break j}k=G[j|0]|G[j+1|0]<<8;j=l+2|0;F[b+8>>2]=j;if(a){break a}m=k<<8|k>>>8}F[i>>2]=0;if(I[b+4>>2]<=l+3>>>0){break c}l:{m:{a=F[b+20>>2];if(a){if((Ia[a|0](b,j,i+14|0,2)|0)!=2){break c}j=F[b+8>>2];a=F[i>>2];l=i+14|0;break m}a=F[b>>2];if(a){l=a+j|0;a=0;break m}j=j+2|0;F[b+8>>2]=j;k=0;break l}k=G[l|0]|G[l+1|0]<<8;j=j+2|0;F[b+8>>2]=j;if(a){break a}k=(k<<8|k>>>8)<<16>>16}if((e|0)!=(n|0)){a=1;k=(p|0)==(q|0);q=q+1|0;if(k){break a}continue}break}F[h>>2]=(m<<16>>16)+1;a=8;if((m&65535)>>>0>2726){break a}e=c+k|0;c=F[b+20>>2];n:{if(c){a=85;if(!(Ia[c|0](b,e,0,0)|0)){break n}break a}a=85;if(e>>>0>I[b+4>>2]){break a}}F[b+8>>2]=e;c=0;F[i>>2]=0;m=Va(o,8,0,F[h>>2],0,i);a=F[i>>2];if(a){break a}a=F[h>>2];o:{if((a|0)>0){while(1){e=m+(c<<3)|0;r=e,s=fb(b,i),E[r>>1]=s;if(F[i>>2]){break o}k=F[b+8>>2]+2|0;p:{a=F[b+20>>2];q:{if(a){if(Ia[a|0](b,k,0,0)|0){break q}break p}if(k>>>0<=I[b+4>>2]){break p}}F[i>>2]=85;break o}F[b+8>>2]=k;F[i>>2]=0;k=Bb(b,i);if(F[i>>2]){break o}n=F[b+8>>2]+4|0;r:{a=F[b+20>>2];s:{if(a){if(Ia[a|0](b,n,0,0)|0){break s}break r}if(n>>>0<=I[b+4>>2]){break r}}F[i>>2]=85;break o}F[b+8>>2]=n;F[i>>2]=0;if((k|0)<0){F[i>>2]=8;break o}F[e+4>>2]=k&16777215;a=F[h>>2];c=c+1|0;if((a|0)>(c|0)){continue}break}}b=0;c=o;if(f){Dd(m,a,8,14);a=F[h>>2]}c=Va(c,4,0,a,0,i);a=F[i>>2];if(!a){if(F[h>>2]>0){while(1){F[c+(b<<2)>>2]=F[(m+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}F[g>>2]=c;F[i>>2]=0;a=0}if(!m){break a}}Ia[F[o+8>>2]](o,m);a=F[i>>2];break a}a=85;F[i>>2]=85;break a}a=85}Ga=i+16|0;return a}function zb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;c=D[b|0];if(!c){return a}a=oc(a,c);a:{if(!a){break a}if(!G[b+1|0]){return a}if(!G[a+1|0]){break a}if(!G[b+2|0]){c=G[a+1|0];e=(c|0)!=0;b:{if(!c){break b}c=c|G[a|0]<<8;h=G[b+1|0]|G[b|0]<<8;if((c|0)==(h|0)){break b}b=a+1|0;while(1){a=b;d=G[a+1|0];e=(d|0)!=0;if(!d){break b}b=a+1|0;c=d|c<<8&65280;if((h|0)!=(c|0)){continue}break}}return e?a:0}if(!G[a+2|0]){break a}if(!G[b+3|0]){d=b;b=a+2|0;c=G[a+2|0];e=(c|0)!=0;c:{d:{if(!c){break d}c=G[a+1|0]<<16|G[a|0]<<24|c<<8;h=G[d+1|0]<<16|G[d|0]<<24|G[d+2|0]<<8;if((c|0)==(h|0)){break d}while(1){a=b+1|0;d=G[b+1|0];e=(d|0)!=0;if(!d){break c}b=a;c=(c|d)<<8;if((h|0)!=(c|0)){continue}break}break c}a=b}return e?a-2|0:0}if(!G[a+3|0]){break a}if(!G[b+4|0]){d=b;b=a+3|0;c=G[a+3|0];e=(c|0)!=0;e:{f:{if(!c){break f}c=c|(G[a+1|0]<<16|G[a|0]<<24|G[a+2|0]<<8);a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((c|0)==(h|0)){break f}while(1){a=b+1|0;d=G[b+1|0];e=(d|0)!=0;if(!d){break e}b=a;c=d|c<<8;if((h|0)!=(c|0)){continue}break}break e}a=b}return e?a-3|0:0}h=a;i=Ga-1056|0;Ga=i;a=i+1048|0;F[a>>2]=0;F[a+4>>2]=0;a=i+1040|0;F[a>>2]=0;F[a+4>>2]=0;F[i+1032>>2]=0;F[i+1036>>2]=0;F[i+1024>>2]=0;F[i+1028>>2]=0;k=b;g:{h:{i:{j:{c=G[b|0];k:{if(!c){j=-1;a=1;break k}while(1){if(!G[f+h|0]){break h}a=c&255;f=f+1|0;F[(a<<2)+i>>2]=f;a=(i+1024|0)+(a>>>3&28)|0;F[a>>2]=F[a>>2]|1<>>0>1){break j}}g=-1;d=1;break i}b=1;c=1;while(1){g=G[(c+j|0)+k|0];e=G[a+k|0];l:{if((g|0)==(e|0)){if((b|0)==(c|0)){d=b+d|0;c=1;break l}c=c+1|0;break l}if(e>>>0>>0){b=a-j|0;d=a;c=1;break l}j=d;d=d+1|0;b=1;c=1}a=c+d|0;if(f>>>0>a>>>0){continue}break}d=1;g=-1;if(f>>>0<=1){a=b;break i}a=0;e=1;c=1;while(1){m=G[(c+g|0)+k|0];l=G[d+k|0];m:{if((m|0)==(l|0)){if((c|0)==(e|0)){a=a+e|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){e=d-g|0;a=d;c=1;break m}g=a;a=a+1|0;e=1;c=1}d=a+c|0;if(f>>>0>d>>>0){continue}break}a=b;d=e}b=a;a=g+1>>>0>j+1>>>0;e=a?d:b;l=a?g:j;m=l+1|0;n:{if(hc(k,e+k|0,m)){a=(l^-1)+f|0;e=(a>>>0>>0?l:a)+1|0;b=0;break n}b=f-e|0}o=f-1|0;n=f|63;g=0;a=h;while(1){o:{if(h-a>>>0>=f>>>0){break o}c=te(h,0,n);if(c){h=c;if(c-a>>>0>>0){break h}break o}h=h+n|0}d=G[a+o|0];c=f;p:{q:{if(!(F[(i+1024|0)+(d>>>3&28)>>2]>>>d&1)){break q}c=F[(d<<2)+i>>2];if((c|0)!=(f|0)){c=f-c|0;c=c>>>0>g>>>0?c:g;break q}r:{c=m;d=c>>>0>g>>>0?c:g;j=G[k+d|0];if(j){while(1){if(G[a+d|0]!=(j&255)){break r}d=d+1|0;j=G[k+d|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break g}c=c-1|0;if(G[k+c|0]==G[a+c|0]){continue}break}c=e;g=b;break p}c=d-l|0}g=0}a=a+c|0;continue}}a=0}Ga=i+1056|0;d=a}return d}function $p(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Ga-16|0;Ga=j;d=F[c>>2];a:{if(!b){if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}break a}k=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);a=65535;f=I[d+16>>2]<4?163632:F[d+12>>2];h=H[c+4>>1];i=j+12|0;if(i){F[i>>2]=0}d=163632;b:{c:{d:{e=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e:{if((e|0)<=1953658212){if((e|0)==256){break c}if((e|0)==65536|(e|0)==1330926671){break e}break b}if((e|0)==1954115633){break e}if((e|0)==1953784678){break d}if((e|0)!=1953658213){break b}}d=f;break b}e=G[f+4|0]|G[f+5|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break b}d=G[f+8|0]|G[f+9|0]<<8|(G[f+10|0]<<16|G[f+11|0]<<24);d=h>>>0<(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0?(f+(h<<2)|0)+12|0:163632;d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+f|0:163632;break b}d=G[f+4|0]|G[f+5|0]<<8|(G[f+6|0]<<16|G[f+7|0]<<24);d=f+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;e=G[d+24|0]|G[d+25|0]<<8;e=((e<<8|e>>>8)&65535)+d|0;d=G[e|0]|G[e+1|0]<<8;n=(d<<8|d>>>8)&65535;d=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);o=f+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;d=0;f:{while(1){g:{l=e+(d<<3)|0;g=l;g=G[g+2|0]|G[g+3|0]<<8|(G[g+4|0]<<16|G[g+5|0]<<24);if((g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))!=1936092788){break g}g=G[l+6|0]|G[l+7|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){break g}d=e+(d<<3)|0;d=G[d+8|0]|G[d+9|0]<<8;d=(e+((d<<8|d>>>8)&65535)|0)+L(h,12)|0;d=((G[d+6|0]<<8|G[d+5|0]<<16|G[d+7|0])+o|0)+4|0;break f}g=(d|0)!=(n|0);d=d+1|0;if(g){continue}break}d=163632}if(i){F[i>>2]=d-f}}f=d;d=G[d+4|0]|G[d+5|0]<<8;e=d<<8|d>>>8;i=e&65535;h:{if(i>>>0<=15){i=e&65535;if(!d){break h}d=0;e=G[f+12|0]|G[f+13|0]<<8|(G[f+14|0]<<16|G[f+15|0]<<24);if(!((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>>0|(e|0)!=(k|0))){a=0;break h}while(1){d=d+1|0;if((i|0)==(d|0)){break h}e=f+(d<<4)|0;e=G[e+12|0]|G[e+13|0]<<8|(G[e+14|0]<<16|G[e+15|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>>0|(e|0)!=(k|0)){continue}break}a=d;break h}if(!d){break h}d=i-1|0;while(1){e=d+m>>>1|0;h=f+(e<<4)|0;h=G[h+12|0]|G[h+13|0]<<8|(G[h+14|0]<<16|G[h+15|0]<<24);g=(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0>>0;i:{if(!(g|(h|0)==(k|0))){d=e-1|0;break i}if(!((h|0)!=(k|0)|g)){a=e;break h}m=e+1|0}if((d|0)>=(m|0)){continue}break}}a=a>>>0>>0?(f+(a<<4)|0)+12|0:163632;b=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);a=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);d=ui(F[c>>2],F[j+12>>2]+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Ga=j+16|0;return d|0}function Nr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Ga-32|0;Ga=g;i=F[b+28>>2];F[g+4>>2]=2;c=F[a+496>>2];if(c){d=F[c+36>>2];if(d){Ia[F[i+8>>2]](i,d)}F[c+36>>2]=0;F[c+40>>2]=0;d=F[c+28>>2];if(d){Ia[F[i+8>>2]](i,d)}F[c+28>>2]=0;F[c+32>>2]=0;if(c){Ia[F[i+8>>2]](i,c)}F[a+496>>2]=0}d=gb(i,44,g+4|0);a:{if(F[g+4>>2]){break a}c=tb(b,F[b+4>>2]);F[g+4>>2]=c;if(c){break a}c=F[a+476>>2];F[d+12>>2]=F[a+472>>2];F[d+16>>2]=c;c=F[a+468>>2];F[d+4>>2]=F[a+464>>2];F[d+8>>2]=c;F[d+20>>2]=F[a+476>>2];F[d+24>>2]=F[a+468>>2];e=F[a+492>>2];c=F[e+36>>2];b:{if(c){c=Ia[F[c>>2]](g+8|0,F[b+28>>2],F[b+32>>2],F[b+36>>2])|0;F[g+4>>2]=c;if(!c){F[g+24>>2]=a+132;F[g+20>>2]=110;F[g+16>>2]=d;c=g+8|0;q=g,r=Ia[F[F[e+36>>2]+8>>2]](c)|0,F[q+4>>2]=r;Ia[F[F[e+36>>2]+4>>2]](c);c=F[g+4>>2]}if((c&255)==2){e=F[b+4>>2];if(e>>>0<7){break b}c=F[b+32>>2];if(G[c+1|0]>3|(e|0)!=(G[c+2|0]|G[c+3|0]<<8|(G[c+4|0]<<16|G[c+5|0]<<24))){break b}c=Ga-16|0;Ga=c;F[c+12>>2]=0;l=F[b+28>>2];c:{d:{j=F[b+36>>2];h=F[b+32>>2];if(j>>>0>>0){F[c+12>>2]=2;break d}e=(h+99|0)+(G[h+99|0]|G[h+100|0]<<8)|0;if(j>>>0>>0|(G[e+18|0]|G[e+19|0]<<8)>>>0<18){break c}e=G[e+32|0]|G[e+33|0]<<8|(G[e+34|0]<<16|G[e+35|0]<<24);if(!e){break c}k=e+h|0;h=k+2|0;if(j>>>0>>0){F[c+12>>2]=2;break d}e=G[k|0]|G[k+1|0]<<8;F[d+40>>2]=e;if(j>>>0<(e<<2)+h>>>0){F[c+12>>2]=2;break d}if(!e){break c}e=Va(l,16,0,e,0,c+12|0);F[d+36>>2]=e;if(F[c+12>>2]){break d}o=F[d+40>>2];j=F[a+92>>2];m=F[a+36>>2];e:{if((m|0)<=0){break e}p=F[a+40>>2];while(1){n=F[(f<<2)+p>>2];if(H[n+8>>1]!=7){f=f+1|0;if((m|0)!=(f|0)){continue}break e}break}f=cd(a,n);F[c+12>>2]=f;if(f){break d}}f=o<<2;if((f|0)>0){f=(f+k|0)+2|0;while(1){q=e,r=Ob(a,G[h|0]),F[q>>2]=r;q=e,r=Ob(a,G[h+1|0]),F[q+4>>2]=r;k=(G[h+2|0]|G[h+3|0]<<8)<<16>>16;F[e+12>>2]=0;F[e+8>>2]=k;e=e+16|0;h=h+4|0;if(f>>>0>h>>>0){continue}break}}f:{if(j){e=cd(a,j);F[c+12>>2]=e;break f}e=F[c+12>>2]}if(e){break d}Dd(F[d+36>>2],F[d+40>>2],16,111);if(F[c+12>>2]){break d}f=0;break c}f=F[d+36>>2];if(f){Ia[F[l+8>>2]](l,f)}F[d+36>>2]=0;F[d+40>>2]=0;f=F[c+12>>2]}Ga=c+16|0;c=f;F[g+4>>2]=c}if(c){break b}}c=F[d+8>>2];F[a+464>>2]=F[d+4>>2];F[a+468>>2]=c;c=F[d+16>>2];F[a+472>>2]=F[d+12>>2];F[a+476>>2]=c;F[a+52>>2]=E[d+6>>1];F[a+56>>2]=E[d+10>>1];F[a+60>>2]=F[d+12>>2]+65535>>16;F[a- -64>>2]=F[d+16>>2]+65535>>16;E[a+70>>1]=F[d+20>>2]+32768>>>16;E[a+72>>1]=F[d+24>>2]+32768>>>16;if(!F[d+40>>2]){break b}F[a+496>>2]=d;F[a+8>>2]=F[a+8>>2]|64;d=0}lb(b)}if(d){a=F[d+36>>2];if(a){Ia[F[i+8>>2]](i,a)}F[d+36>>2]=0;F[d+40>>2]=0;a=F[d+28>>2];if(a){Ia[F[i+8>>2]](i,a)}F[d+28>>2]=0;F[d+32>>2]=0;if(d){Ia[F[i+8>>2]](i,d)}}Ga=g+32|0;return F[g+4>>2]}function we(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ga-48|0;Ga=d;F[a>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;F[d+16>>2]=0;F[d+20>>2]=0;D[d+24|0]=0;F[d+28>>2]=0;F[d+32>>2]=0;F[d>>2]=0;F[d+4>>2]=0;c=Db(b);D[d+40|0]=1;F[d+36>>2]=c;b=Ab(b,1196445523);if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}c=b;F[d+32>>2]=c;a:{b:{c:{d:{e:{while(1){D[d+24|0]=f;f=F[c+12>>2];F[d+4>>2]=f;e=F[c+16>>2];F[d+8>>2]=e+f;F[d+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;j=e>>>0<1073741823?e:1073741823}else{j=1073741823}F[d+12>>2]=j;F[d+20>>2]=0;F[d>>2]=0;if(!f){Xa(c);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;break a}e=bn(f,d);c=F[d+28>>2];f:{if(e){if(!c){break f}F[d+28>>2]=0;c=bn(f,d);f=F[d+28>>2];Xa(F[d+32>>2]);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;if(!c){break b}if(!f){break e}break b}if(G[d+24|0]|!c){break d}e=Xb(b);F[d+4>>2]=e;F[d+8>>2]=e+F[b+16>>2];c=F[d+32>>2];f=1;if(e){continue}break c}break}Xa(F[d+32>>2]);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}break a}c=F[d+32>>2]}Xa(c);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0}Xa(b);b=163632}c=b;F[a>>2]=c;b=c?c:163632;b=I[b+16>>2]<10?163632:F[b+12>>2];f=G[b+8|0]|G[b+9|0]<<8;if(f){b=b+((f<<8|f>>>8)&65535)|0}else{b=163632}b=G[b|0]|G[b+1|0]<<8;b=(b<<8|b>>>8)&65535;F[a+4>>2]=b;f=ib(b,24);F[a+8>>2]=f;if(!f){F[a+4>>2]=0;Xa(c);F[a>>2]=0;c=163632;F[a>>2]=163632;b=F[a+4>>2]}g:{if(!b){break g}b=0;while(1){f=163632;g=163632;e=F[a+8>>2]+L(b,24)|0;c=c?c:163632;c=I[c+16>>2]<10?163632:F[c+12>>2];h=G[c+8|0]|G[c+9|0]<<8;if(h){g=c+((h<<8|h>>>8)&65535)|0}c=G[g|0]|G[g+1|0]<<8;h:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break h}c=(b<<1)+g|0;c=G[c+2|0]|G[c+3|0]<<8;if(!c){break h}f=((c<<8|c>>>8)&65535)+g|0}h=0;g=Ga-16|0;Ga=g;F[e>>2]=0;F[e+4>>2]=0;F[e+8>>2]=0;F[g+12>>2]=e;F[g+8>>2]=0;i:{c=G[f+4|0]|G[f+5|0]<<8;if(!c){F[e+12>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[g+12>>2]=e+12;F[g+8>>2]=0;break i}i=G[f|0]|G[f+1|0]<<8;k=(i<<8|i>>>8)&65535;i=(c<<8|c>>>8)&65535;j=i>>>0>1?i:1;i=f+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>h>>>0?(i+(h<<1)|0)+2|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+f|0}else{c=163632}_b(dn(c,g+8|0,k),F[g+12>>2]);h=h+1|0;if((j|0)!=(h|0)){c=G[i|0]|G[i+1|0]<<8;continue}break}c=G[f+4|0]|G[f+5|0]<<8;i=G[f|0]|G[f+1|0]<<8;h=0;F[e+20>>2]=0;F[e+12>>2]=0;F[e+16>>2]=0;F[g+12>>2]=e+12;F[g+8>>2]=0;if(!c){break i}i=(i<<8|i>>>8)&65535;e=(c<<8|c>>>8)&65535;k=e>>>0>1?e:1;e=f+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>h>>>0?(e+(h<<1)|0)+2|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+f|0}else{c=163632}cn(c,g+8|0,i);h=h+1|0;if((k|0)==(h|0)){break i}c=G[e|0]|G[e+1|0]<<8;continue}}Ga=g+16|0;b=b+1|0;if(b>>>0>=I[a+4>>2]){break g}c=F[a>>2];continue}}Ga=d+48|0}function vm(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ga-16|0;Ga=i;a:{if(!a|!b|(!c|!F[b>>2])){break a}a=zb(a,d);if(!a){break a}b:{c:{a=hb(d)+a|0;d=G[a|0];if((d|0)!=45){f=d-48|0;k=(d&223)-65|0;d:{if((f&255)>>>0>=10&(k&255)>>>0>=26){break d}d=Ia[e|0](d)|0;D[i+12|0]=d;g=G[a+1|0];if((g-48&255)>>>0>=10){j=1;if(((g&-33)-65&255)>>>0>25){break d}}g=Ia[e|0](g)|0;D[i+13|0]=g;h=G[a+2|0];if((h-48&255)>>>0>=10){j=2;if(((h&-33)-65&255)>>>0>25){break d}}h=Ia[e|0](h)|0;D[i+14|0]=h;a=G[a+3|0];if((a-48&255)>>>0<10){break c}j=3;if(((a&-33)-65&255)>>>0<26){break c}}if((f&255)>>>0>=10){f=0;if((k&255)>>>0>=26){break a}}Wa((i+12|0)+j|0,32,4-j|0);a=G[i+15|0];h=G[i+14|0];g=G[i+13|0];d=G[i+12|0];break b}d=G[a+1|0];e=d-48|0;if((e&255)>>>0>=10){e:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break a}}e=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=G[a+2|0];g=d-48|0;if((g&255)>>>0>=10){f:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break f;default:break a}}g=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=G[a+3|0];h=d-48|0;if((h&255)>>>0>=10){g:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break g;default:break a}}h=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=G[a+4|0];k=d-48|0;if((k&255)>>>0>=10){h:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break h;default:break a}}k=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=G[a+5|0];j=d-48|0;if((j&255)>>>0>=10){i:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break a}}j=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=G[a+6|0];l=d-48|0;if((l&255)>>>0>=10){j:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break a}}l=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=G[a+7|0];m=d-48|0;if((m&255)>>>0>=10){k:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break k;default:break a}}m=((d-65&255)>>>0<26?d+32|0:d)-87|0}a=G[a+8|0];f=a-48|0;if((f&255)>>>0>=10){f=0;l:{switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break l;default:break a}}f=((a-65&255)>>>0<26?a+32|0:a)-87|0}d=(e<<4)+g|0;g=(h<<4)+k|0;h=(j<<4)+l|0;a=(m<<4)+f|0;break b}a=Ia[e|0](a)|0;if((f&255)>>>0<10){break b}f=0;if((k&255)>>>0>=26){break a}}a=a&255|((g&255)<<16|d<<24|(h&255)<<8);F[c>>2]=(a&-538976289)==1145457748?a^538976288:a;f=1;F[b>>2]=1}Ga=i+16|0;return f} -function Am(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;u=Ga-272|0;Ga=u;r=F[b+4>>2];m=F[b+8>>2];F[a+52>>2]=-2147483648;F[a+56>>2]=0;F[a+48>>2]=m;F[a+44>>2]=r;y=F[b+52>>2];s=F[b+28>>2];f=F[b+24>>2];v=F[b+44>>2];F[c>>2]=r;F[d>>2]=m;a:{if((f|0)<2|(v|0)<=0){break a}e=f-1|0;j=e&3;l=E[s+12>>1];b:{if(f-2>>>0<3){e=1;n=l;break b}h=e&-4;e=1;n=l;while(1){k=s+L(e,40)|0;o=E[k+12>>1];f=(n|0)>(o|0)?n:o;p=E[k+52>>1];f=(f|0)>(p|0)?f:p;i=E[k+92>>1];f=(f|0)>(i|0)?f:i;k=E[k+132>>1];n=(f|0)>(k|0)?f:k;f=(l|0)<(o|0)?l:o;f=(f|0)<(p|0)?f:p;f=(f|0)<(i|0)?f:i;l=(f|0)<(k|0)?f:k;e=e+4|0;g=g+4|0;if((h|0)!=(g|0)){continue}break}}if(j){h=0;while(1){f=E[(s+L(e,40)|0)+12>>1];n=(f|0)<(n|0)?n:f;l=(f|0)>(l|0)?l:f;e=e+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((l|0)>=(n|0)){break a}z=a,A=Ua(l,r)+m|0,F[z>>2]=A;h=Ua(n,r)+m|0;F[a+4>>2]=h;e=h&-32;F[a+24>>2]=e;k=F[a>>2];i=k&-32;F[a+16>>2]=i;F[a+8>>2]=k&-64;g=e+32|0;F[a+28>>2]=g;f=i+32|0;F[a+20>>2]=f;F[a+12>>2]=h+63&-64;if((f|0)>(h|0)){F[a+20>>2]=h;f=h}if((e|0)<(k|0)){F[a+24>>2]=k;e=k}j=h-k|0;F[a+32>>2]=j;if((j|0)>=65){f=e-f|0}else{F[a+24>>2]=h;F[a+20>>2]=k;f=j}F[a+36>>2]=f;e=g-i|0;F[a+40>>2]=e;i=(j|0)<129?(j|0)<97?4:8:16;g=j-i|0;if((g|0)>(f|0)){F[a+36>>2]=g;f=g}g=j+i|0;if((g|0)<(e|0)){F[a+40>>2]=g;e=g}g=(L(j,3)|0)/4|0;if((g|0)>(f|0)){F[a+36>>2]=g;f=g}g=(L(j,5)|0)/4|0;if((g|0)<(e|0)){F[a+40>>2]=g;e=g}c:{if((e|0)<(f|0)){break c}s=n-l|0;while(1){g=(j-f|0)+k|0;d:{e:{if((f|0)>=(j|0)){e=F[a+16>>2];if((g|0)>=(e|0)){break e}g=(h-g|0)+e|0;break d}e=F[a+20>>2];if((g|0)<=(e|0)){break e}g=(h-g|0)+e|0;break d}e=g;g=h}w=_a(f-j|0,s)+r|0;o=Ua(l,w);x=Wa(u,0,260);i=F[a+24>>2];j=g;m=g-e|0;g=F[a+16>>2];i=(i|0)>(g+m|0)?i-m|0:g;q=F[a+8>>2];g=i-q|0;f:{if((g|0)<0){break f}t=i;p=F[a+28>>2];i=F[a+20>>2];i=(p|0)<(i+m|0)?p-m|0:i;if((t|0)>(i|0)){break f}t=i-q|0;if((t|0)>64){break f}p=((h|0)>(j|0)?h-j|0:j-h|0)+((e|0)<(k|0)?k-e|0:e-k|0)|0;m=e-o|0;o=e-q|0;if((v|0)>0){i=(m-o|0)+g|0;q=0;while(1){e=L(q,44)+y|0;k=E[e+8>>1]-E[e+6>>1]|0;j=Ua(E[e+2>>1],w)+i|0;e=g;while(1){h=(e<<2)+x|0;F[h>>2]=F[h>>2]+L(k,F[((j&63)<<2)+21040>>2]);j=j+1|0;h=(e|0)<(t|0);e=e+1|0;if(h){continue}break}q=q+1|0;if((v|0)!=(q|0)){continue}break}}k=L(p,10);h=F[a+52>>2];while(1){e=g;j=e-o|0;i=j+k|0;g=F[(e<<2)+x>>2];if(!((g|0)<=(h|0)&((g|0)!=(h|0)|(i|0)>=F[a+56>>2]))){F[a+56>>2]=i;F[a+52>>2]=g;F[a+44>>2]=w;F[a+48>>2]=j+m;h=g}g=e+1|0;if((e|0)<(t|0)){continue}break}}if(F[a+40>>2]<=(f|0)){break c}f=f+1|0;j=F[a+32>>2];h=F[a+4>>2];k=F[a>>2];continue}}f=F[a+48>>2];e=F[a+44>>2];a=e-r|0;z=b,A=Ua(l,a)+f|0,F[z+2752>>2]=A;z=b,A=Ua(n,a)+f|0,F[z+2756>>2]=A;F[c>>2]=e;F[d>>2]=f}Ga=u+272|0}function sA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=Ga-48|0;Ga=f;if(mb(c,b,105023,0)){yf(b,c,1,12,15,-1);q=F[c+68>>2];a:{if(!q){break a}e=q-1|0;d=F[c+80>>2];i=G[d+15|0];while(1){b:{if((e|0)==(g|0)){g=q;break b}g=g+1|0;if((i|0)==G[(d+L(g,20)|0)+15|0]){continue}}break}if(!q){break a}l=F[c+80>>2];h=G[l+15|0];d=q;while(1){i=g;c:{if(h&14){break c}g=o+1|0;if(i>>>0<=g>>>0){break c}n=F[a+124>>2];p=F[n+8>>2]|F[n+4>>2]|F[n+12>>2];h=0;d=g;j=i+(o^-1)&3;if(j){while(1){e=L(d,20)+l|0;F[e+4>>2]=p|F[e+4>>2];d=d+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((i-o|0)-2>>>0>2){while(1){e=L(d,20)+l|0;F[e+4>>2]=p|F[e+4>>2];F[e+24>>2]=p|F[e+24>>2];F[e+44>>2]=p|F[e+44>>2];e=e- -64|0;F[e>>2]=p|F[e>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}s=i-4|0;t=i+1|0;r=L(g,20)+l|0;m=L(o,20)+l|0;p=m+40|0;h=0;while(1){e=g;k=L(e,20)+l|0;d=G[k+18|0];d:{if(!((d|0)!=14|h>>>0>2)){g=e+1|0;if(i>>>0<=g>>>0){break d}j=L(g,20)+l|0;if(G[j+18|0]!=16){h=h+1|0;break d}F[k+4>>2]=F[k+4>>2]|F[n>>2];F[j+4>>2]=F[j+4>>2]|F[n>>2];h=e+2|0;if(h-o>>>0>=2){Kb(c,o,h)}F[f+40>>2]=F[k+16>>2];d=F[k+12>>2];F[f+32>>2]=F[k+8>>2];F[f+36>>2]=d;d=F[k+4>>2];F[f+24>>2]=F[k>>2];F[f+28>>2]=d;F[f+16>>2]=F[j+16>>2];d=F[j+12>>2];F[f+8>>2]=F[j+8>>2];F[f+12>>2]=d;d=F[j+4>>2];F[f>>2]=F[j>>2];F[f+4>>2]=d;Cb(p,m,L(e-o|0,20));F[m+16>>2]=F[f+40>>2];d=F[f+36>>2];F[m+8>>2]=F[f+32>>2];F[m+12>>2]=d;d=F[f+28>>2];F[m>>2]=F[f+24>>2];F[m+4>>2]=d;F[r+16>>2]=F[f+16>>2];d=F[f+12>>2];F[r+8>>2]=F[f+8>>2];F[r+12>>2]=d;d=F[f+4>>2];F[r>>2]=F[f>>2];F[r+4>>2]=d;j=F[n+16>>2];e:{if(!j|i>>>0<=h>>>0){break e}d=L(h,20)+l|0;F[d+4>>2]=j|F[d+4>>2];d=e+3|0;if(i>>>0<=d>>>0){break e}k=0;h=t-e&3;if(h){while(1){j=L(d,20)+l|0;F[j+4>>2]=F[j+4>>2]|F[n+16>>2];d=d+1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}}if(s-e>>>0<3){break e}while(1){e=L(d,20)+l|0;F[e+4>>2]=F[e+4>>2]|F[n+16>>2];F[e+24>>2]=F[e+24>>2]|F[n+16>>2];F[e+44>>2]=F[e+44>>2]|F[n+16>>2];e=e- -64|0;F[e>>2]=F[e>>2]|F[n+16>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}h=2;break d}g=e+1|0;if((d|0)!=28){break d}if(g-o>>>0>=2){Kb(c,o,g)}F[f+40>>2]=F[k+16>>2];d=F[k+12>>2];F[f+32>>2]=F[k+8>>2];F[f+36>>2]=d;d=F[k+4>>2];F[f+24>>2]=F[k>>2];F[f+28>>2]=d;Cb(r,m,L(e-o|0,20));F[m+16>>2]=F[f+40>>2];d=F[f+36>>2];F[m+8>>2]=F[f+32>>2];F[m+12>>2]=d;d=F[f+28>>2];F[m>>2]=F[f+24>>2];F[m+4>>2]=d}if((g|0)!=(i|0)){continue}break}l=F[c+80>>2];d=F[c+68>>2]}g=i+1|0;e=d>>>0>g>>>0?d:g;h=G[(L(i,20)+l|0)+15|0];g=i;while(1){f:{g=g+1|0;if(g>>>0>=d>>>0){g=e;break f}if(G[(L(g,20)+l|0)+15|0]==(h|0)){continue}}break}o=i;if(i>>>0>>0){continue}break}}mb(c,b,105617,0)}Ga=f+48|0}function Fq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=F[a+492>>2];i=F[b+16>>2];e=F[b+8>>2];Ia[F[b+28>>2]](b);c=3;a=F[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=G[a|0];c:{if(a-48>>>0<=9){a=Ia[F[b+36>>2]](b)|0;F[b+144>>2]=a;if(F[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=F[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}F[b+144>>2]=d;break c}if((a|0)!=60){break b}Ia[F[b+32>>2]](b);if(F[b+12>>2]){break a}Ia[F[b+28>>2]](b);d=F[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=G[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}F[b>>2]=d;F[b+144>>2]=h;a=d;break c}h=h+1|0}Ia[F[b+32>>2]](b);if(F[b+12>>2]){break a}Ia[F[b+28>>2]](b);a=F[b>>2];if(e>>>0>a>>>0){continue}break}}if(F[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Ia[F[F[g>>2]>>2]](k,F[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Ia[F[F[g>>2]>>2]](l,F[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Ia[F[F[g>>2]>>2]](h,4,i)|0;if(c){break b}Ia[F[b+28>>2]](b);a=F[b>>2];if(e>>>0<=a>>>0){F[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){e:{f:{c=G[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(G[a+1|0]!=110|a+3>>>0>=e>>>0|G[a+2|0]!=100){break f}switch(G[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Ia[F[b+32>>2]](b);f=F[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(F[b+12>>2]){break a}g:{h:{j=G[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Ia[F[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;D[c+F[f+F[b+172>>2]>>2]|0]=0;if(G[a|0]==46){a=ab(10293,F[f+F[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Ia[F[b+28>>2]](b);if((j|0)==40){Ia[F[b+32>>2]](b)}a=F[b>>2];Ia[F[b+36>>2]](b)|0;c=3;j=F[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Ia[F[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}D[a+F[f+F[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=F[b+144>>2]){break e}}Ia[F[b+28>>2]](b);a=F[b>>2];if(e>>>0>a>>>0){continue}}break}F[b+144>>2]=d;if(!(i&255)){c=3;break b}a=F[F[b+172>>2]>>2];if(!ab(10293,a)){break a}c=Ia[F[b+296>>2]](h,0,a,F[F[b+176>>2]>>2])|0;if(c){break b}c=Ia[F[b+296>>2]](h,1,F[F[b+224>>2]>>2],F[F[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Ia[F[b+296>>2]](h,2,F[a+F[b+172>>2]>>2],F[a+F[b+176>>2]>>2])|0;if(c){break b}c=Ia[F[b+296>>2]](h,3,F[a+F[b+224>>2]>>2],F[a+F[b+228>>2]>>2])|0;if(c){break b}c=Ia[F[b+192>>2]](l,g,F[F[b+276>>2]>>2],F[F[b+280>>2]>>2])|0;if(c){break b}c=Ia[F[b+244>>2]](k,g,F[F[b+276>>2]+4>>2],F[F[b+280>>2]+4>>2])|0;if(c){break b}c=Ia[F[b+192>>2]](l,0,F[F[b+276>>2]+8>>2],F[F[b+280>>2]+8>>2])|0;if(c){break b}c=Ia[F[b+244>>2]](k,0,F[F[b+276>>2]+12>>2],F[F[b+280>>2]+12>>2])|0;if(!c){break a}}F[b+12>>2]=c}}function _z(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Ga+-64|0;Ga=d;h=F[a+16>>2];b=161;a:{if(I[a+20>>2]>>0){break a}e=F[a+32>>2];m=e+48|0;D[e+64|0]=1;j=-2147483648;i=2147483647;while(1){b=l<<2;k=b+d|0;n=b+(d+32|0)|0;c=F[h>>2];f=G[c|0];b:{if((f|0)==30){b=xf(a,c,0,k);break b}g=c+1|0;c:{d:{e:{switch(f-28|0){case 0:b=0;if(I[a+8>>2]<=c+2>>>0){break c}b=G[c+2|0]|G[g|0]<<8;break c;case 1:b=0;if(I[a+8>>2]<=c+4>>>0){break c}b=G[c+1|0]|G[c+2|0]<<8|(G[c+3|0]<<16|G[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(f>>>0<=246){b=f-139|0;break c}c=F[a+8>>2];if(f>>>0<=250){b=0;if(c>>>0<=g>>>0){break c}b=(G[g|0]|f<<8)-63124|0;break c}b=0;if(c>>>0<=g>>>0){break c}b=64148-(G[g|0]|f<<8)|0}if((b|0)<32768){break c}c=5;f:{if(b>>>0<1e5){break f}c=6;if(b>>>0<1e6){break f}c=7;if(b>>>0<1e7){break f}c=8;if(b>>>0<1e8){break f}c=b>>>0<1e9?9:10}f=c-5|0;g=F[(f<<2)+27536>>2];if(((b|0)/(g|0)|0)>=32768){c=c-4|0;F[k>>2]=c;b=_a(b,F[(c<<2)+27536>>2]);break b}F[k>>2]=f;b=_a(b,g);break b}F[k>>2]=0;b=b<<16}F[n>>2]=b;if(b){b=F[k>>2];i=(b|0)<(i|0)?b:i;j=(b|0)>(j|0)?b:j}h=h+4|0;l=l+1|0;if((l|0)!=6){continue}break}if(!(j-1>>>0<4294967286|j-i>>>0>9)){f=0;h=0;a=F[d+32>>2];if(a){b=F[(j-F[d>>2]<<2)+27536>>2];h=b>>1;g:{if((a|0)<0){c=(a-h|0)/(b|0)|0;if(a>>>0>(h|-2147483648)>>>0){break g}c=-2147483648/(b|0)|0;break g}c=(a+h|0)/(b|0)|0;if(a>>>0<2147483647-h>>>0){break g}c=2147483647/(b|0)|0}h=c;F[d+32>>2]=h}a=F[d+36>>2];if(a){c=F[(j-F[d+4>>2]<<2)+27536>>2];b=c>>1;f=(((a|0)>=0?a>>>0<2147483647-b>>>0?a+b|0:2147483647:a>>>0>(b|-2147483648)>>>0?a-b|0:-2147483648)|0)/(c|0)|0;F[d+36>>2]=f}b=0;k=0;a=F[d+40>>2];if(a){i=F[(j-F[d+8>>2]<<2)+27536>>2];c=i>>1;k=(((a|0)>=0?a>>>0<2147483647-c>>>0?a+c|0:2147483647:a>>>0>(c|-2147483648)>>>0?a-c|0:-2147483648)|0)/(i|0)|0;F[d+40>>2]=k}a=F[d+44>>2];if(a){c=F[(j-F[d+12>>2]<<2)+27536>>2];b=c>>1;b=(((a|0)>=0?a>>>0<2147483647-b>>>0?a+b|0:2147483647:a>>>0>(b|-2147483648)>>>0?a-b|0:-2147483648)|0)/(c|0)|0}i=0;g=0;a=F[d+48>>2];if(a){g=F[(j-F[d+16>>2]<<2)+27536>>2];c=g>>1;g=(((a|0)>=0?a>>>0<2147483647-c>>>0?a+c|0:2147483647:a>>>0>(c|-2147483648)>>>0?a-c|0:-2147483648)|0)/(g|0)|0}a=F[d+52>>2];if(a){i=F[(j-F[d+20>>2]<<2)+27536>>2];c=i>>1;i=(((a|0)>=0?a>>>0<2147483647-c>>>0?a+c|0:2147483647:a>>>0>(c|-2147483648)>>>0?a-c|0:-2147483648)|0)/(i|0)|0}F[e+48>>2]=h;F[e+72>>2]=g;F[e+56>>2]=f;F[e+76>>2]=i;F[e+60>>2]=b;F[e+52>>2]=k;F[e+68>>2]=F[27536-(j<<2)>>2];b=0;if(gf(m)){break a}}F[e+48>>2]=65536;F[e+52>>2]=0;F[e+68>>2]=1;F[e+72>>2]=0;F[e+76>>2]=0;F[e+56>>2]=0;F[e+60>>2]=65536;b=0}Ga=d- -64|0;return b|0}function eq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=Me(F[a>>2]+180|0);if(!(G[d|0]|G[d+1|0]<<8|(G[d+2|0]|G[d+3|0]<<8))){break a}if((b|0)==1633774708){e=163632;f=Me(F[a>>2]+180|0);b=G[f+4|0]|G[f+5|0]<<8;b:{if(!b){break b}d=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){c:{g=b+d>>>1|0;h=f+L(g,12)|0;h=G[h+12|0]|G[h+13|0]<<8;d:{if(((h<<8|h>>>8)&65535)>>>0>=18){d=g-1|0;break d}if((h|0)==4352){break c}b=g+1|0}if((b|0)<=(d|0)){continue}break b}break}e=(f+L(g,12)|0)+12|0}if(!(G[e+2|0]|G[e+3|0]<<8)){break a}d=F[a+20>>2];e:{f:{g:{f=F[a+16>>2];if((f|0)>=0){b=d+1|0;e=(b|0)>0?b:0;if(e>>>0<=f>>>0){break f}b=f;while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>268435454)){d=ob(F[a+24>>2],b<<4);if(d){break g}d=F[a+20>>2]}F[a+16>>2]=-1}a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break e}F[a+16>>2]=b;F[a+24>>2]=d;d=F[a+20>>2]}if(d>>>0>>0){Wa(F[a+24>>2]+(d<<4)|0,0,e-d<<4)}F[a+20>>2]=e;d=e;a=(F[a+24>>2]+(d<<4)|0)-16|0}F[a+12>>2]=d;F[a+4>>2]=c;F[a>>2]=17;D[a+8|0]=1;return}d=0;e=75;h:{i:{while(1){f=d+e>>>1|0;g=F[(f<<4)+103776>>2];j:{if(g>>>0>b>>>0){e=f-1|0;break j}if(b>>>0<=g>>>0){break i}d=f+1|0}if((d|0)<=(e|0)){continue}break}f=0;break h}f=(f<<4)+103776|0}if(!f){break a}e=Me(F[a>>2]+180|0);g=F[f+4>>2];h=163632;b=G[e+4|0]|G[e+5|0]<<8;k:{if(!b){break k}d=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){l:{i=b+d>>>1|0;j=e+L(i,12)|0;j=G[j+12|0]|G[j+13|0]<<8;j=(j<<8|j>>>8)&65535;m:{if((j|0)>(g|0)){d=i-1|0;break m}if((g|0)==(j|0)){break l}b=i+1|0}if((b|0)<=(d|0)){continue}break k}break}h=(e+L(i,12)|0)+12|0}if(!(G[h+2|0]|G[h+3|0]<<8)){if((g|0)!=37|F[f+8>>2]!=1){break a}h=163632;e=Me(F[a>>2]+180|0);b=G[e+4|0]|G[e+5|0]<<8;n:{if(!b){break n}d=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){o:{g=b+d>>>1|0;i=e+L(g,12)|0;i=G[i+12|0]|G[i+13|0]<<8;p:{if(((i<<8|i>>>8)&65535)>>>0>=4){d=g-1|0;break p}if((i|0)==768){break o}b=g+1|0}if((b|0)<=(d|0)){continue}break n}break}h=(e+L(g,12)|0)+12|0}if(!(G[h+2|0]|G[h+3|0]<<8)){break a}}d=F[a+20>>2];q:{r:{s:{g=F[a+16>>2];if((g|0)>=0){b=d+1|0;e=(b|0)>0?b:0;if(e>>>0<=g>>>0){break r}b=g;while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>268435454)){d=ob(F[a+24>>2],b<<4);if(d){break s}d=F[a+20>>2]}F[a+16>>2]=-1}a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break q}F[a+16>>2]=b;F[a+24>>2]=d;d=F[a+20>>2]}if(d>>>0>>0){Wa(F[a+24>>2]+(d<<4)|0,0,e-d<<4)}F[a+20>>2]=e;d=e;a=(F[a+24>>2]+(d<<4)|0)-16|0}F[a>>2]=F[f+4>>2];b=F[f+(c?8:12)>>2];F[a+12>>2]=d;F[a+4>>2]=b;D[a+8|0]=G[h+8|0]>>>7}}function jo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=F[b+4>>2];a:{if(g>>>0>a>>>0){break a}h=F[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break a}d=F[b+12>>2];f=d-2|0;F[b+12>>2]=f;if((f|0)<=0){break a}b:{switch(G[a|0]){case 0:e=F[b+36>>2];if(!e){return 1}j=1;k=a+1|0;if(!(g>>>0>k>>>0|h>>>0<=k>>>0)){i=d-3|0;d=i&i>>31;c:{if((i|0)<=0){c=d;break c}c=f-e|0;a=0;d:{while(1){a=a+1|0;if((e|0)==(a|0)){break d}f=a+k|0;if(f>>>0>>0){c=i;break d}if(f>>>0>=h>>>0){c=i;break d}i=i-1|0;if((i|0)>0){continue}break}c=d}j=a>>>0>>0}F[b+12>>2]=c}return!j|0;case 3:return oo(a+1|0,b,c)|0;case 4:break b;default:break a}}h=Ga-16|0;Ga=h;F[h+12>>2]=c;d=a+1|0;e:{if(d>>>0>2]){break e}a=F[b+8>>2];if(a>>>0>>0|a-d>>>0<=3){break e}a=F[b+12>>2]-4|0;F[b+12>>2]=a;if((a|0)<=0){break e}F[h+8>>2]=0;c=0;j=F[b+4>>2];f:{g:{if(j>>>0>d>>>0){break g}e=F[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break g}g=F[b+12>>2]-4|0;F[b+12>>2]=g;if((g|0)<=0){break g}a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(f>>>0>715827881){break g}a=1;if(!f){break f}a=d+4|0;if(a>>>0>>0|a>>>0>e>>>0){break g}e=e-a|0;a=L(f,6);if(e>>>0>>0){break g}a=g-a|0;F[b+12>>2]=a;if((a|0)<=0){break g}c=1;a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!g){break g}f=F[h+12>>2];j=F[b+36>>2];e=0;while(1){h:{a=d+L(e,6)|0;c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);if(j>>>0<=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break h}a=G[a+8|0]|G[a+9|0]<<8;if(f>>>0<=((a<<8|a>>>8)&65535)>>>0){break h}c=1;e=e+1|0;if((g|0)!=(e|0)){continue}break g}break}c=0}a=c}if(!a){break e}a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);if(!a){break e}c=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break e}c=1;a=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);if(a>>>0>1){while(1){g=d+L(c,6)|0;e=a>>>0>c-1>>>0?g-2|0:163632;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=a>>>0>c>>>0?g+4|0:163632;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);if(f>>>0>=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0){break e}c=c+1|0;if((a|0)!=(c|0)){continue}break}}a=(d+L(a,6)|0)+4|0;if(a>>>0>2]){break e}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break e}a=F[b+12>>2]-4|0;F[b+12>>2]=a;if((a|0)<=0){break e}a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);a=a?(d+L(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),6)|0)-2|0:163632;a=G[a+6|0]|G[a+7|0]<<8|(G[a+8|0]<<16|G[a+9|0]<<24);i=F[b+36>>2]==(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Ga=h+16|0}return i|0}function zd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=F[a+88>>2];k=h+12|0;a:{b:{c:{d:{if(D[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=F[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}e=H[a+68>>1];f=e;break e}e=F[a+60>>2]-F[a+52>>2]|0;d=F[a- -64>>2]-F[a+56>>2]|0;break f}e=E[a+76>>1];d=E[a+70>>1]-E[a+72>>1]|0;break f}c=F[b+4>>2];F[h+16>>2]=c;b=F[b+8>>2];F[h+20>>2]=b;if(!c){break c}if(b){break b}break d}e=E[a+70>>1]-E[a+72>>1]|0;d=e}c=d;c=c>>31;f=(d^c)-c|0;c=e>>31;e=(c^e)-c|0}d=F[b+4>>2];l=d;c=F[b+12>>2];if(c){l=(L(c,d)+36|0)/72|0}g=F[b+8>>2];j=g;b=F[b+16>>2];if(b){j=(L(b,g)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!e){break m}b=l>>31;d=(b^l)-b|0;if(d>>>0<=(e>>>17^65535)>>>0){c=((d<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break m}b=d<<16;n=b+(e>>>1|0)|0;b=(d>>>16|0)+(b>>>0>n>>>0)|0;if(b>>>0>=e>>>0){break m}d=O(b);i=32-d|0;b=n>>>i|b<>>0)/(e>>>0)|0;m=b-L(c,e)|0;b=n<>>31;m=d-(d>>>0>>0?0:e)|0;c=c<<1|d>>>0>=e>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}c=(l|0)<0?0-c|0:c;F[h+16>>2]=c;if(g){b=2147483647;n:{if(!f){break n}d=j>>31;g=(d^j)-d|0;if(g>>>0<=(f>>>17^65535)>>>0){b=((g<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break n}d=g<<16;n=d+(f>>>1|0)|0;d=(g>>>16|0)+(d>>>0>n>>>0)|0;if(d>>>0>=f>>>0){break n}g=O(d);i=32-g|0;d=n>>>i|d<>>0)/(f>>>0)|0;m=d-L(b,f)|0;e=n<>>31;m=d-(d>>>0>>0?0:f)|0;b=b<<1|d>>>0>=f>>>0;e=e<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-b|0:b;F[h+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}F[h+20>>2]=c;j=bb(l,f,e);b=c;break l}c=2147483647;o:{if(!f){break o}b=j>>31;d=(b^j)-b|0;if(d>>>0<=(f>>>17^65535)>>>0){c=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break o}b=d<<16;g=b+(f>>>1|0)|0;b=(d>>>16|0)+(b>>>0>g>>>0)|0;if(b>>>0>=f>>>0){break o}d=O(b);i=32-d|0;b=g>>>i|b<>>0)/(f>>>0)|0;m=b-L(c,f)|0;b=g<>>31;m=d-(d>>>0>>0?0:f)|0;c=c<<1|d>>>0>=f>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-c|0:c;F[h+16>>2]=b;F[h+20>>2]=b;l=bb(j,e,f);c=b}if(!o){break a}break b}F[k>>2]=0;F[k+4>>2]=0;F[k+24>>2]=0;F[k+16>>2]=0;F[k+20>>2]=0;F[k+8>>2]=0;F[k+12>>2]=0;F[h+16>>2]=65536;F[h+20>>2]=65536;return}F[h+20>>2]=c;b=c;break b}F[h+16>>2]=b;c=b}d=(c|0)<0;g=H[a+68>>1];e=c;c=c>>31;c=(e^c)-c|0;p:{if(g+(c>>>8|0)>>>0<=8190){c=L(c,g)+32768>>>16|0;break p}c=L(g,c>>>16|0)+(L(g,c&65535)+32768>>>16|0)|0}l=d?0-c|0:c;c=b>>31;c=(c^b)-c|0;q:{if(g+(c>>>8|0)>>>0<=8190){c=L(c,g)+32768>>>16|0;break q}c=L(g,c>>>16|0)+(L(g,c&65535)+32768>>>16|0)|0}j=(b|0)<0?0-c|0:c}E[h+14>>1]=j+32>>>6;E[h+12>>1]=l+32>>>6;vl(a,k)}function wj(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(H[a+562>>1]<2){break a}return F[a+564>>2]}if(H[a+562>>1]<3){break a}return F[a+564>>2]+4|0}if(H[a+562>>1]<4){break a}return F[a+564>>2]+8|0}if(H[a+562>>1]<5){break a}return F[a+564>>2]+12|0}if(H[a+562>>1]<6){break a}return F[a+564>>2]+16|0}if(H[a+562>>1]<7){break a}return F[a+564>>2]+20|0}if(H[a+562>>1]<8){break a}return F[a+564>>2]+24|0}if(H[a+562>>1]<9){break a}return F[a+564>>2]+28|0}if(H[a+562>>1]<10){break a}return F[a+564>>2]+32|0}if(H[a+562>>1]<11){break a}return F[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function dh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=L(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){j=a+c|0;f=L(b>>>1|0,c)+a|0;h=(Ia[d|0](j,f)|0)>0;e=h?j:f;k=L(b-1|0,c);l=k+a|0;g=n+l|0;if((Ia[d|0](e,g)|0)>0){b=h?f:j;e=(Ia[d|0](b,g)|0)>0?b:g}if(!((e|0)==(l|0)|(c|0)<=0)){h=c+e|0;b=l;while(1){g=G[e|0];D[e|0]=G[b|0];D[b|0]=g;b=b+1|0;e=e+1|0;if(h>>>0>e>>>0){continue}break}}h=l;f=h;i=a;g=a;a:{if((k|0)<=0){i=0;break a}while(1){b:{if(g>>>0>=f>>>0){break b}c:{o=(c|0)<=0;if(!o){while(1){b=Ia[d|0](g,l)|0;if((b|0)>0){break c}if(!b){if(g>>>0>i>>>0){k=c+i|0;e=i;b=g;while(1){j=G[e|0];D[e|0]=G[b|0];D[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}i=c+i|0}g=c+g|0;if(f>>>0>g>>>0){continue}break b}}while(1){b=Ia[d|0](g,l)|0;if((b|0)>0){break c}i=b?i:c+i|0;g=c+g|0;if(f>>>0>g>>>0){continue}break}break b}d:{if(g>>>0>=f>>>0){break d}while(1){k=f;e:{f:{f=f+n|0;b=Ia[d|0](f,l)|0;if(!b){j=h+n|0;if(h>>>0<=k>>>0){break f}e=f;b=j;if(o){break f}while(1){h=G[e|0];D[e|0]=G[b|0];D[b|0]=h;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}break f}if((b|0)>=0){break e}if(!(o|g>>>0>=f>>>0)){k=c+g|0;e=g;b=f;while(1){j=G[e|0];D[e|0]=G[b|0];D[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}g=c+g|0;break d}h=j}if(g>>>0>>0){continue}break}}if(g>>>0>>0){continue}}break}k=f-i|0;g:{if((a|0)==(i|0)|(f|0)==(i|0)){break g}b=i-a|0;if(b>>>0>k>>>0){if((k|0)<=0){break g}j=a+k|0;e=a+b|0;b=a;while(1){g=G[b|0];D[b|0]=G[e|0];D[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break g}if((b|0)<=0){break g}j=a+b|0;e=a+k|0;b=a;while(1){g=G[b|0];D[b|0]=G[e|0];D[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}i=h-f|0;if((f|0)==(h|0)|(h|0)==(m|0)){break a}b=m-h|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+f|0;e=f+i|0;while(1){b=G[f|0];D[f|0]=G[e|0];D[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break a}if((i|0)<=0){break a}g=f+i|0;e=b+f|0;while(1){b=G[f|0];D[f|0]=G[e|0];D[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}dh(a,(k>>>0)/(c>>>0)|0,c,d);a=m-i|0;b=(i>>>0)/(c>>>0)|0;m=a+L(c,b)|0;if(b>>>0>=10){continue}break}}h=a+c|0;h:{if(m>>>0<=h>>>0){break h}l=0-c|0;if((c|0)>0){while(1){g=h;i:{if(g>>>0<=a>>>0){break i}while(1){f=g+l|0;if((Ia[d|0](f,g)|0)<=0){break i}e=f;b=g;while(1){j=G[e|0];D[e|0]=G[b|0];D[b|0]=j;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}g=f;if(f>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break h}}while(1){e=h;j:{if(e>>>0<=a>>>0){break j}while(1){b=e+l|0;if((Ia[d|0](b,e)|0)<=0){break j}e=b;if(b>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break}}}function So(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;c=Ga+-64|0;Ga=c;e=F[a+24>>2];d=e-4|0;if(e>>>0<=3){D[a+20|0]=1}g=F[a+32>>2];a:{if(g>>>0<=d>>>0){d=F[40909];h=F[40908];F[61608]=h;F[61609]=d;x(0,h|0);x(1,d|0);l=+z();break a}l=K[F[a+36>>2]+(d<<3)>>3]}if(e>>>0<=2){D[a+20|0]=1}d=e-3|0;b:{if(d>>>0>=g>>>0){d=F[40909];h=F[40908];F[61608]=h;F[61609]=d;x(0,h|0);x(1,d|0);m=+z();break b}m=K[F[a+36>>2]+(d<<3)>>3]}h=F[b+40>>2];if(e>>>0<=1){D[a+20|0]=1}d=e-2|0;c:{if(d>>>0>=g>>>0){d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);f=+z();break c}f=K[F[a+36>>2]+(d<<3)>>3]}d:{if(N(f)<2147483648){d=~~f;break d}d=-2147483648}g=0;e:{if(d>>>0<=255){g=G[d+108816|0];n=F[h+52>>2];if((n|0)!=163632){g=Fe(n,g,F[h+216>>2]);h=F[b+40>>2];d=F[a+24>>2];break e}g=d>>>0<229?F[h+172>>2]?0:g:0}d=e}e=e-1|0;if(d>>>0<=e>>>0){D[a+20|0]=1}f:{if(e>>>0>=I[a+32>>2]){e=F[40909];d=F[40908];F[61608]=d;F[61609]=e;x(0,d|0);x(1,e|0);f=+z();break f}f=K[F[a+36>>2]+(e<<3)>>3]}g:{if(N(f)<2147483648){d=~~f;break g}d=-2147483648}e=0;h:{if(d>>>0>255){break h}e=G[d+108816|0];n=F[h+52>>2];if((n|0)!=163632){e=Fe(n,e,F[h+216>>2]);break h}e=d>>>0<229?F[h+172>>2]?0:e:0}F[c+56>>2]=0;F[c+60>>2]=0;F[c+48>>2]=0;F[c+52>>2]=0;F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;i:{j:{if(G[a+160|0]|(!e|!g)){break j}if(!Kf(F[b+40>>2],g,c+32|0,1)){break j}if(!Kf(F[b+40>>2],e,c,1)){break j}a=b+8|0;k:{l:{o=K[b+24>>3];p=K[b+8>>3];if(o>p){q=K[b+32>>3];r=K[b+16>>3];if(q>r){break l}}e=F[c+36>>2];F[a>>2]=F[c+32>>2];F[a+4>>2]=e;e=F[c+60>>2];F[a+24>>2]=F[c+56>>2];F[a+28>>2]=e;e=F[c+52>>2];F[a+16>>2]=F[c+48>>2];F[a+20>>2]=e;e=F[c+44>>2];F[a+8>>2]=F[c+40>>2];F[a+12>>2]=e;break k}f=K[c+48>>3];i=K[c+32>>3];if(!(f>i)){break k}j=K[c+56>>3];k=K[c+40>>3];if(!(j>k)){break k}if(i>3]=i}if(f>o){K[b+24>>3]=f}if(k>3]=k}if(!(j>q)){break k}K[b+32>>3]=j}j=K[c+16>>3];k=K[c>>3];f=K[c+24>>3];i=K[c+8>>3];if(!(!(j>k)|!(f>i))){f=m+f;K[c+24>>3]=f;j=l+j;K[c+16>>3]=j;i=m+i;K[c+8>>3]=i;k=l+k;K[c>>3]=k}m:{l=K[b+24>>3];m=K[b+8>>3];if(l>m){o=K[b+32>>3];p=K[b+16>>3];if(o>p){break m}}b=F[c+4>>2];F[a>>2]=F[c>>2];F[a+4>>2]=b;b=F[c+28>>2];F[a+24>>2]=F[c+24>>2];F[a+28>>2]=b;b=F[c+20>>2];F[a+16>>2]=F[c+16>>2];F[a+20>>2]=b;b=F[c+12>>2];F[a+8>>2]=F[c+8>>2];F[a+12>>2]=b;break i}if(!(j>k)|!(f>i)){break i}if(k>3]=k}if(j>l){K[b+24>>3]=j}if(i>3]=i}if(!(f>o)){break i}K[b+32>>3]=f;break i}D[a+40|0]=1}Ga=c- -64|0}function Pr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ga-1568|0;Ga=e;g=F[a+4>>2];D[e+47|0]=0;h=F[F[g+492>>2]+12>>2];a:{if(!(F[F[g+128>>2]+52>>2]|I[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){F[a+164>>2]=F[b+16>>2];f=F[b+20>>2];break b}F[a+164>>2]=65536;f=65536}F[a+108>>2]=0;F[a+72>>2]=1869968492;F[a+168>>2]=f;j=d&1;D[a+161|0]=!j;f=!(d&3);D[a+160|0]=f;f=Ia[F[h>>2]](e+48|0,g,b,a,F[g+424>>2],F[g+532>>2],f,d>>>16&15,109)|0;if(f){break a}i=d&1024;D[e+117|0]=i>>>10;F[e+1412>>2]=F[g+404>>2];F[e+1416>>2]=F[g+408>>2];F[e+1420>>2]=F[g+412>>2];F[e+1424>>2]=F[g+416>>2];F[e+1544>>2]=F[g+548>>2];F[e+1548>>2]=F[g+544>>2];f=ee(e+48|0,c,e+16|0,e+47|0);if(!f){k=G[a+160|0];c=e+1436|0;f=F[c+4>>2];F[e+32>>2]=F[c>>2];F[e+36>>2]=f;c=F[e+1432>>2];F[e+24>>2]=F[e+1428>>2];F[e+28>>2]=c;c=F[e+1448>>2];f=F[e+1444>>2];Ia[F[h+4>>2]](e+48|0);F[a+124>>2]=F[a+124>>2]&1|4;c:{if(i){b=F[a+156>>2];d=F[e+80>>2];F[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=F[e+88>>2];F[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=F[e+36>>2];F[b+20>>2]=F[e+32>>2];F[b+24>>2]=d;d=F[e+28>>2];F[b+12>>2]=F[e+24>>2];F[b+16>>2]=d;F[b+32>>2]=c;F[b+28>>2]=f;D[b+8|0]=1;break c}h=F[e+88>>2];F[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=F[e+88>>2];F[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;D[F[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=F[g+476>>2]-F[g+468>>2]>>16;F[a+52>>2]=d;break d}d=F[e+92>>2];F[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=F[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}F[a+72>>2]=1869968492;F[a+60>>2]=d;if(!(!b|H[b+14>>1]>23)){F[a+124>>2]=F[a+124>>2]|256}h=a+108|0;e:{if(!(F[e+28>>2]|(F[e+24>>2]!=65536|F[e+36>>2]!=65536))){if(!F[e+32>>2]){break e}}Pc(h,e+24|0);l=a,m=Ua(F[a+40>>2],F[e+24>>2]),F[l+40>>2]=m;l=a,m=Ua(F[a+52>>2],F[e+36>>2]),F[l+52>>2]=m}if(c|f){Vb(h,f,c);F[a+40>>2]=f+F[a+40>>2];F[a+52>>2]=c+F[a+52>>2]}if(!(G[e+47|0]?0:j)){c=F[a+168>>2];f=F[a+164>>2];f:{if(F[e+120>>2]?k:0){break f}b=F[e+64>>2];d=E[b+2>>1];if((d|0)<=0){break f}d=d&65535;b=F[b+4>>2];while(1){l=b,m=Ua(F[b>>2],f),F[l>>2]=m;l=b,m=Ua(F[b+4>>2],c),F[l+4>>2]=m;b=b+8|0;j=d>>>0>1;d=d-1|0;if(j){continue}break}}l=a,m=Ua(F[a+40>>2],f),F[l+40>>2]=m;l=a,m=Ua(F[a+52>>2],c),F[l+52>>2]=m}ed(h,e);b=F[e>>2];F[a+24>>2]=F[e+8>>2]-b;c=F[e+4>>2];d=F[e+12>>2];F[a+36>>2]=d;F[a+32>>2]=b;F[a+28>>2]=d-c;if(!i){break c}Pd(a+24|0,F[a+52>>2])}F[a+136>>2]=F[e+16>>2];F[a+140>>2]=F[e+20>>2];f=0;b=F[F[g+128>>2]+52>>2];if(!b){break a}Ia[F[F[b>>2]+4>>2]](F[b+4>>2],e+16|0);F[a+136>>2]=0;F[a+140>>2]=0;break a}Ia[F[h+4>>2]](e+48|0)}Ga=e+1568|0;return f|0}function ik(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(F[a+92>>2]){case 0:f=F[a+64>>2];if((f|0)<(c|0)){j:{if(F[a+84>>2]){e=F[a+36>>2];break j}e=F[a+36>>2];F[a+84>>2]=e;F[a+80>>2]=e;e=e+32|0;F[a+36>>2]=e}if(I[a+32>>2]>e>>>0){g=F[a+4>>2];i=F[a+8>>2];d=F[a+80>>2];F[d+16>>2]=0;F[d+20>>2]=0;F[d+8>>2]=e;F[d+28>>2]=0;F[d+4>>2]=0;E[d+12>>1]=G[a+164|0]|((i|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!F[a+88>>2]){F[a+88>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(F[a+84>>2]){e=F[a+36>>2];break k}e=F[a+36>>2];F[a+84>>2]=e;F[a+80>>2]=e;e=e+32|0;F[a+36>>2]=e}if(I[a+32>>2]>e>>>0){g=F[a+4>>2];i=F[a+8>>2];d=F[a+80>>2];F[d+16>>2]=0;F[d+20>>2]=0;F[d+8>>2]=e;F[d+28>>2]=0;F[d+4>>2]=0;e=G[a+164|0];E[d+12>>1]=(i|0)>(f&g-1)?e:e|16;if(!F[a+88>>2]){F[a+88>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=F[a+64>>2];if((d|0)<=(c|0)){break e}f=F[a+36>>2];e=F[a+80>>2];h=F[e+8>>2];j=f-h|0;if((j|0)<0){F[a+40>>2]=99;return 1}g=F[a+4>>2]-1&d;i=F[a+8>>2];l:{if((f|0)==(h|0)){d=f;break l}F[e+16>>2]=j>>2;if((g|0)>=(i|0)){d=H[e+12>>1];E[e+12>>1]=(d&8?16:32)|d}F[a+80>>2]=f;d=f+32|0;F[a+36>>2]=d;F[f+8>>2]=d;F[f+16>>2]=0;F[e+28>>2]=f;E[a+76>>1]=H[a+76>>1]+1;e=f}h=F[a+32>>2];if(h>>>0<=d>>>0){break a}D[a+79|0]=0;if(!F[a+84>>2]){F[a+84>>2]=d;F[a+80>>2]=d;f=d+32|0;F[a+36>>2]=f;e=d;d=f}if(d>>>0>=h>>>0){break a}F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=d;F[e+28>>2]=0;F[e+4>>2]=0;d=G[a+164|0];E[e+12>>1]=(g|0)<(i|0)?d:d|16;if(!F[a+88>>2]){F[a+88>>2]=e}}D[a+78|0]=1;F[a+92>>2]=2;D[a+79|0]=0;d=F[a+64>>2];break d}d=F[a+64>>2];if((d|0)>=(c|0)){break d}f=F[a+36>>2];e=F[a+80>>2];h=F[e+8>>2];j=f-h|0;if((j|0)<0){F[a+40>>2]=99;return 1}g=F[a+4>>2];g=((g+d|0)-1&0-g)-d|0;i=F[a+8>>2];m:{if((f|0)==(h|0)){d=f;break m}F[e+16>>2]=j>>2;if((g|0)>=(i|0)){d=H[e+12>>1];E[e+12>>1]=(d&8?16:32)|d}F[a+80>>2]=f;d=f+32|0;F[a+36>>2]=d;F[f+8>>2]=d;F[f+16>>2]=0;F[e+28>>2]=f;E[a+76>>1]=H[a+76>>1]+1;e=f}h=F[a+32>>2];if(h>>>0<=d>>>0){break a}D[a+79|0]=0;if(!F[a+84>>2]){F[a+84>>2]=d;F[a+80>>2]=d;f=d+32|0;F[a+36>>2]=f;e=d;d=f}if(d>>>0>=h>>>0){break a}F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=d;F[e+28>>2]=0;F[e+4>>2]=0;E[e+12>>1]=G[a+164|0]|((g|0)<(i|0)?8:40);if(!F[a+88>>2]){F[a+88>>2]=e}}D[a+78|0]=1;F[a+92>>2]=1;D[a+79|0]=0;d=F[a+64>>2]}f=1;if(gk(a,F[a+60>>2],d,b,c,F[a+68>>2],F[a+72>>2])){break b}break c}e=G[a+78|0];d=gk(a,F[a+60>>2],0-d|0,b,0-c|0,0-F[a+72>>2]|0,0-F[a+68>>2]|0);if(!(G[a+78|0]|!e)){e=F[a+80>>2];F[e+20>>2]=0-F[e+20>>2]}f=1;if(d){break b}}F[a+64>>2]=c;F[a+60>>2]=b;f=0}return f}F[a+40>>2]=98;return 1}function Sk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;p=Ga-16|0;Ga=p;e=xd(a,d);a:{if(e){break a}qe(a,b,c,d);q=F[a>>2];h=F[a+2748>>2];c=F[F[h>>2]+8>>2];b=L(d,1348)+a|0;i=b;F[b+56>>2]=0;e=0;e=(d|0)==1?G[F[(c<<2)+16352>>2]+12|0]:e;m=b+44|0;f=F[m>>2];c=F[b+52>>2];g=F[(d?12:4)+a>>2];if(!d){k=_a(64,F[a+12>>2])}u=_a(32,g);b=Ua(F[((h+44|0)+L(d,9804)|0)+204>>2],g);l=_a((b|0)<16?b:16,g);if((f|0)>0){n=L(f,44)+c|0;v=L(k,3);o=(L(d,1348)+a|0)- -64|0;w=e&255;b=c;while(1){e=E[b+10>>1];b:{if((e|0)<(k|0)|E[b+4>>1]>(u|0)){break b}j=G[b+1|0];if((j|0)==4|(e<<1<(v|0)?F[b+24>>2]:0)){break b}c:{s=F[i+56>>2];d:{if((s|0)<=0){h=E[b+2>>1];break d}h=E[b+2>>1];x=F[o>>2];e=0;while(1){f=L(e,44)+x|0;t=h-E[f>>1]|0;r=t>>31;if((j|0)==G[f+13|0]&(l|0)>((r^t)-r|0)){break c}e=e+1|0;if((s|0)!=(e|0)){continue}break}}e=Ck(m,h,j<<24>>24,w,q,p+12|0);if(e){break a}e=F[p+12>>2];F[e+40>>2]=b;F[e+36>>2]=b;F[e>>2]=0;F[e+4>>2]=0;F[e+32>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;D[e+13|0]=G[b+1|0];f=E[b+2>>1];E[e>>1]=f;f=Ua(f,g);F[e+8>>2]=f;F[e+4>>2]=f;F[b+16>>2]=b;break b}F[b+16>>2]=F[f+36>>2];F[F[f+40>>2]+16>>2]=b;F[f+40>>2]=b}b=b+44|0;if(n>>>0>b>>>0){continue}break}while(1){e:{if(G[c+1|0]!=4){break e}f=F[i+56>>2];if((f|0)<=0){break e}h=E[c+2>>1];k=F[o>>2];b=0;while(1){e=k+L(b,44)|0;j=h-E[e>>1]|0;g=j>>31;if((l|0)<=((g^j)-g|0)){b=b+1|0;if((f|0)!=(b|0)){continue}break e}break}F[c+16>>2]=F[e+36>>2];F[F[e+40>>2]+16>>2]=c;F[e+40>>2]=c}c=c+44|0;if(n>>>0>c>>>0){continue}break}}e=0;g=F[(L(d,1348)+a|0)- -64>>2];if(!g){break a}a=F[i+56>>2];if((a|0)<=0){break a}n=L(a,44)+g|0;e=g;while(1){a=F[e+36>>2];b=a;if(b){while(1){F[b+12>>2]=e;b=F[b+16>>2];if((a|0)!=(b|0)){continue}break}}e=e+44|0;if(n>>>0>e>>>0){continue}break}while(1){f=g+28|0;d=g+24|0;o=F[g+36>>2];b=o;c=0;k=0;while(1){j=D[b|0]&1;r=!j;f:{g:{h:{i:{h=F[b+24>>2];if(h){a=F[h+12>>2];i=(a|0)!=0&(a|0)!=(g|0);e=F[b+20>>2];if(!e){break i}if(!(i|F[e+12>>2]!=0)){break f}l=0;a=d;if(i){break h}break g}e=F[b+20>>2];if(!e){break f}l=0;a=d;if(F[e+12>>2]){break g}break f}if(!i){break f}}l=1;e=h;a=f}h=F[a>>2];j:{if(h){q=E[b+2>>1]-E[e+2>>1]|0;a=q>>31;m=E[g>>1]-E[h>>1]|0;i=m>>31;if((a^q)-a>>>0>=(i^m)-i>>>0){break j}}h=F[e+12>>2]}if(l){F[f>>2]=h;D[h+12|0]=G[h+12|0]|2;break f}F[d>>2]=h}c=c+j|0;k=k+r|0;b=F[b+16>>2];if((o|0)!=(b|0)){continue}break}D[g+12|0]=(c|0)!=0&c>>>0>=k>>>0;if(!(!F[g+28>>2]|!F[d>>2])){F[f>>2]=0}g=g+44|0;if(n>>>0>g>>>0){continue}break}e=0}Ga=p+16|0;return e}function lv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ga-96|0;Ga=h;F[h+80>>2]=0;F[h+84>>2]=0;F[h+72>>2]=0;F[h+76>>2]=0;j=h- -64|0;F[j>>2]=0;F[j+4>>2]=0;F[h+56>>2]=0;F[h+60>>2]=0;F[h+48>>2]=0;F[h+52>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;m=c+10|0;g=Va(a,8,0,m,0,h+92|0);F[b+20>>2]=g;j=F[h+92>>2];if(!j){a:{if(!c){break a}while(1){j=Ia[d|0](f,l)|0;b:{if(!j){break b}i=0;c:{d:{if(!ab(93520,j)){break d}i=1;if(!ab(93526,j)){break d}i=2;if(!ab(93532,j)){break d}i=3;if(!ab(93541,j)){break d}i=4;if(!ab(93548,j)){break d}i=5;if(!ab(93555,j)){break d}i=6;if(!ab(93558,j)){break d}i=7;if(!ab(93573,j)){break d}i=8;if(!ab(93579,j)){break d}if(ab(93592,j)){break c}i=9}k=i<<2;i=k+(h+48|0)|0;if(F[i>>2]){break c}F[i>>2]=1;F[h+k>>2]=l}i=mk(j);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}k=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}k=1;break f}k=2;break f}k=3;break f}if((i|0)!=713){break e}k=4;break f}k=5;break f}k=6;break f}k=7;break f}k=8;break f}k=9}F[n+(k<<2)>>2]=2}F[g+4>>2]=l;F[g>>2]=i;g=g+8|0}if(!e){break b}Ia[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(F[h+48>>2]!=1){break a}F[g>>2]=916;F[g+4>>2]=F[h>>2];g=g+8|0}if(F[h+52>>2]==1){F[g>>2]=937;F[g+4>>2]=F[h+4>>2];g=g+8|0}if(F[h+56>>2]==1){F[g>>2]=8725;F[g+4>>2]=F[h+8>>2];g=g+8|0}if(F[h+60>>2]==1){F[g>>2]=173;F[g+4>>2]=F[h+12>>2];g=g+8|0}if(F[h+64>>2]==1){F[g>>2]=713;F[g+4>>2]=F[h+16>>2];g=g+8|0}if(F[h+68>>2]==1){F[g>>2]=956;F[g+4>>2]=F[h+20>>2];g=g+8|0}if(F[h+72>>2]==1){F[g>>2]=8729;F[g+4>>2]=F[h+24>>2];g=g+8|0}if(F[h+76>>2]==1){F[g>>2]=160;F[g+4>>2]=F[h+28>>2];g=g+8|0}if(F[h+80>>2]==1){F[g>>2]=538;F[g+4>>2]=F[h+32>>2];g=g+8|0}if(F[h+84>>2]==1){F[g>>2]=539;F[g+4>>2]=F[h+36>>2];g=g+8|0}j=F[b+20>>2];d=g-j>>3;r:{if((g|0)==(j|0)){if(g){Ia[F[a+8>>2]](a,g)}F[b+20>>2]=0;a=F[h+92>>2];j=a?a:163;break r}if(d>>>0>>1>>>0){j=Va(a,8,m,d,j,h+92|0);F[b+20>>2]=j;F[h+92>>2]=0}Dd(j,d,8,52);j=F[h+92>>2]}F[b+16>>2]=d}Ga=h+96|0;return j|0}function Uk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ga-22064|0;Ga=e;g=F[b+100>>2];Wa(e+15424|4,0,2756);F[e+15424>>2]=g;F[a+7728>>2]=0;F[a+52>>2]=0;g=F[F[(F[F[a>>2]+8>>2]<<2)+16352>>2]+16>>2];c=G[g|0];a:{if(!c){break a}while(1){if((c&255)==32){while(1){c=G[g+1|0];g=g+1|0;if((c|0)==32){continue}break}}d=g+1|0;if((c&255)==32){while(1){g=d;d=d+1|0;c=G[g|0];if((c|0)==32){continue}break}}j=F[a+36>>2];h=c&255;if(c<<24>>24>=0){g=d}else{f=h>>>0<240;c=h>>>0<224;i=c?1:f?2:3;k=i-1|0;h=(c?31:f?15:7)&h;f=0;c=i;while(1){h=G[d|0]&63|h<<6;c=c-1|0;d=d+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(k>>>0>=3){while(1){h=G[d+3|0]&63|((G[d+1|0]&63|(h<<12|(G[d|0]&63)<<6))<<12|(G[d+2|0]&63)<<6);d=d+4|0;c=c-4|0;if(c){continue}break}}g=(g+i|0)+1|0}j=F[j>>2];d=0;while(1){c=G[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}f=d>>>0<240;c=d>>>0<224;i=c?1:f?2:3;k=i-1|0;d=(c?31:f?15:7)&d;l=0;f=i;c=g;while(1){d=G[c|0]&63|d<<6;f=f-1|0;c=c+1|0;l=l+1|0;if((i|0)!=(l|0)){continue}break}if(k>>>0>=3){while(1){d=G[c+3|0]&63|((G[c+1|0]&63|(d<<12|(G[c|0]&63)<<6))<<12|(G[c+2|0]&63)<<6);c=c+4|0;f=f-4|0;if(f){continue}break}}g=g+i|0;continue}break}b:{if(!d){d=Ob(j,h);if(d){break b}c=G[g|0]}if(c&255){continue}break a}break}if(Kc(b,d,1)){break a}c=F[b+84>>2];if(E[c+110>>1]<=0){break a}d=e+16|0;Wa(d,0,15396);g=F[a+40>>2];F[e+36>>2]=0;F[e+44>>2]=0;F[e+24>>2]=65536;F[e+28>>2]=65536;F[e+56>>2]=g;F[e+20>>2]=b;F[e+18164>>2]=0;F[e+18172>>2]=d;if(Ge(e+15424|0,c+108|0)){break a}if(xd(e+15424|0,0)){break a}f=0;qe(e+15424|0,0,0,0);b=F[e+15468>>2];if((b|0)>0){c=F[e+15476>>2];g=c+L(b,44)|0;while(1){b=F[c+20>>2];if(!(!b|F[b+20>>2]!=(c|0)|(b>>>0<=c>>>0|f>>>0>15))){b=E[c+2>>1]-E[b+2>>1]|0;d=b>>31;F[(L(f,12)+a|0)+56>>2]=(b^d)-d;f=f+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}F[e+12>>2]=f;$e(e+12|0,a+56|0,I[e+56>>2]/100|0);F[a+52>>2]=F[e+12>>2];if(xd(e+15424|0,1)){break a}f=0;qe(e+15424|0,0,0,1);b=F[e+16816>>2];if((b|0)>0){c=F[e+16824>>2];g=c+L(b,44)|0;while(1){b=F[c+20>>2];if(!(!b|F[b+20>>2]!=(c|0)|(b>>>0<=c>>>0|f>>>0>15))){b=E[c+2>>1]-E[b+2>>1]|0;d=b>>31;F[(L(f,12)+a|0)+7732>>2]=(b^d)-d;f=f+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}F[e+12>>2]=f;$e(e+12|0,a+7732|0,I[e+56>>2]/100|0);F[a+7728>>2]=F[e+12>>2]}if(F[a+52>>2]){b=F[a+56>>2]}else{b=(L(F[a+40>>2],50)|0)/2048|0}D[a+256|0]=0;F[a+252>>2]=b;F[a+248>>2]=(b|0)/5;if(F[a+7728>>2]){b=F[a+7732>>2]}else{b=(L(F[a+40>>2],50)|0)/2048|0}D[a+7932|0]=0;F[a+7928>>2]=b;F[a+7924>>2]=(b|0)/5;Ag(e+15424|0);Ga=e+22064|0}function yj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Ga-16|0;Ga=e;j=F[a+28>>2];f=Za(a,c);F[e+12>>2]=f;a:{if(f){break a}f=fb(a,e+12|0);if(F[e+12>>2]){break a}if((f|0)!=1){F[e+12>>2]=8;break a}g=Bb(a,e+12|0);if(F[e+12>>2]){break a}i=fb(a,e+12|0);F[d>>2]=i;if(F[e+12>>2]){break a}if(!i){F[e+12>>2]=8;break a}f=0;l=Va(j,4,0,i,0,e+12|0);if(F[e+12>>2]){break a}if(F[d>>2]){while(1){n=(f<<2)+l|0,o=Bb(a,e+12|0),F[n>>2]=o;if(F[e+12>>2]){break a}f=f+1|0;if(f>>>0>2]){continue}break}}f=Za(a,c+g|0);F[e+12>>2]=f;if(f){break a}n=d,o=fb(a,e+12|0),E[n+8>>1]=o;if(F[e+12>>2]){break a}f=fb(a,e+12|0);F[d+12>>2]=f;if(F[e+12>>2]){break a}if(F[F[b+12>>2]>>2]!=H[d+8>>1]){F[e+12>>2]=8;break a}n=d,o=Va(j,4,0,f,0,e+12|0),F[n+16>>2]=o;if(F[e+12>>2]){break a}if(F[d+12>>2]){b=H[d+8>>1];while(1){i=Va(j,12,0,b&65535,0,e+12|0);F[F[d+16>>2]+(h<<2)>>2]=i;if(F[e+12>>2]){break a}b=0;if(H[d+8>>1]){f=0;while(1){g=fb(a,e+12|0);if(F[e+12>>2]){break a}k=fb(a,e+12|0);if(F[e+12>>2]){break a}m=fb(a,e+12|0);if(F[e+12>>2]){break a}b=i+L(f,12)|0;F[b+8>>2]=m<<16>>16<<2;F[b+4>>2]=k<<16>>16<<2;F[b>>2]=g<<16>>16<<2;b=H[d+8>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}}h=h+1|0;if(h>>>0>2]){continue}break}}f=Va(j,16,0,F[d>>2],0,e+12|0);F[d+4>>2]=f;if(F[e+12>>2]|!F[d>>2]){break a}b=Za(a,F[l>>2]+c|0);F[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;n=g,o=fb(a,e+12|0),F[n>>2]=o;if(F[e+12>>2]){break a}i=fb(a,e+12|0);if(F[e+12>>2]){break a}b=fb(a,e+12|0);F[g+4>>2]=b;if(F[e+12>>2]){break a}if(b>>>0>>0){F[e+12>>2]=8;break a}if(b>>>0>I[d+12>>2]){F[e+12>>2]=8;break a}n=g,o=Va(j,4,0,b,0,e+12|0),F[n+8>>2]=o;if(F[e+12>>2]){break a}f=0;b:{if(!F[g+4>>2]){b=0;break b}while(1){b=fb(a,e+12|0);F[F[g+8>>2]+(f<<2)>>2]=b;if(F[e+12>>2]){break a}if(b>>>0>2]){b=F[g+4>>2];f=f+1|0;if(b>>>0<=f>>>0){break b}continue}break}F[e+12>>2]=8;break a}n=g,o=Va(j,2,0,L(F[g>>2],b),0,e+12|0),F[n+12>>2]=o;if(F[e+12>>2]){break a}h=F[g+4>>2];if(L(h,F[g>>2])){f=0;while(1){if(i){b=f+i|0;while(1){h=fb(a,e+12|0);if(F[e+12>>2]){break a}E[F[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;if((b|0)!=(f|0)){continue}break}h=F[g+4>>2];f=b}b=i;if(h>>>0>b>>>0){while(1){h=Jb(a,e+12|0);if(F[e+12>>2]){break a}E[F[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=F[g+4>>2];if(b>>>0>>0){continue}break}}if(L(F[g>>2],h)>>>0>f>>>0){continue}break}}k=k+1|0;if(k>>>0>=I[d>>2]){break a}f=F[d+4>>2];b=Za(a,F[(k<<2)+l>>2]+c|0);F[e+12>>2]=b;if(!b){continue}break}}if(l){Ia[F[j+8>>2]](j,l)}Ga=e+16|0;return F[e+12>>2]}function vr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Ga-16|0;Ga=k;f=F[a+492>>2];h=F[b+8>>2];Ia[F[b+28>>2]](b);d=F[b>>2];a:{if(h>>>0<=d>>>0){F[b+12>>2]=3;break a}b:{l=G[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){g=F[b+16>>2];c:{if((l|0)==91){F[b>>2]=d+1;c=256;break c}c=Ia[F[b+36>>2]](b)|0}Ia[F[b+28>>2]](b);if(I[b>>2]>=h>>>0){break a}i=b+100|0;n=c;j=(c|0)<256?c:256;c=F[a+384>>2];d:{if(!c){break d}if(c){Ia[F[g+8>>2]](g,c)}F[a+384>>2]=0;c=F[a+388>>2];if(c){Ia[F[g+8>>2]](g,c)}F[a+388>>2]=0;c=F[b+148>>2];if(!c){break d}Ia[c|0](i)}F[a+372>>2]=j;F[b+96>>2]=j;o=a,p=Va(g,2,0,j,0,k+12|0),F[o+384>>2]=p;e=F[k+12>>2];if(e){break b}o=a,p=Va(g,4,0,j,0,k+12|0),F[o+388>>2]=p;e=F[k+12>>2];if(e){break b}e=Ia[F[F[f>>2]>>2]](i,j,g)|0;F[k+12>>2]=e;if(e){break b}e:{if((n|0)<=0){break e}e=(j|0)>1?j:1;m=e&3;f=0;c=0;if(e-1>>>0>=3){g=e&2147483644;e=0;while(1){Ia[F[b+144>>2]](i,c,11262,8)|0;Ia[F[b+144>>2]](i,c|1,11262,8)|0;Ia[F[b+144>>2]](i,c|2,11262,8)|0;Ia[F[b+144>>2]](i,c|3,11262,8)|0;c=c+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}if(!m){break e}while(1){Ia[F[b+144>>2]](i,c,11262,8)|0;c=c+1|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}Ia[F[b+28>>2]](b);c=F[b>>2];f:{if(h>>>0<=c>>>0){break f}m=(l|0)==91;e=0;while(1){g:{h:{i:{f=G[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(G[c+1|0]!=101|h>>>0<=d>>>0|G[c+2|0]!=102){break g}switch(G[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((l|0)!=91&f-48>>>0>=10)){m:{if(m){d=c;f=e;break m}f=Ia[F[b+36>>2]](b)|0;Ia[F[b+28>>2]](b);d=F[b>>2];if((d|0)==(c|0)){break k}}if(G[d|0]!=47|d+2>>>0>=h>>>0|(e|0)>=(n|0)){break l}d=d+1|0;F[b>>2]=d;Ia[F[b+32>>2]](b);c=F[b>>2];if(F[b+12>>2]|c>>>0>=h>>>0){break a}if((e|0)<(j|0)){g=c-d|0;c=Ia[F[b+144>>2]](i,f,d,g+1|0)|0;F[b+12>>2]=c;if(c){break a}D[g+F[F[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break j}Ia[F[b+32>>2]](b);d=c;if(F[b+12>>2]){break a}break j}if(!m){break j}}F[b+12>>2]=2;break a}Ia[F[b+28>>2]](b);c=F[b>>2];if(h>>>0>c>>>0){continue}break}}F[a+368>>2]=1;F[b>>2]=d;break a}n:{if(d+17>>>0>=h>>>0){break n}if(cb(d,23503,16)){break n}F[a+368>>2]=2;break a}o:{if(d+15>>>0>=h>>>0){break o}if(cb(d,23540,14)){break o}F[a+368>>2]=4;break a}p:{if(d+18>>>0>=h>>>0){break p}if(cb(d,23574,17)){break p}F[a+368>>2]=3;break a}F[b+12>>2]=162;break a}F[b+12>>2]=e}Ga=k+16|0}function Lo(a,b){var c=0,d=0;a:{b:{c:{d:{e:{switch(a-247|0){default:if((a|0)!=28){break d}a=F[b+12>>2];d=F[b+4>>2];f:{if(a>>>0>=d>>>0){D[b+16|0]=1;c=163632;break f}c=a+F[b>>2]|0}c=G[c|0];a=a+1|0;g:{if(a>>>0>=d>>>0){D[b+16|0]=1;a=163632;break g}a=a+F[b>>2]|0}d=G[a|0];a=F[b+24>>2];h:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<5)|0;break h}D[b+20|0]=1;a=F[40915];F[61614]=F[40914];F[61615]=a;a=F[40913];F[61612]=F[40912];F[61613]=a;a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}F[a+8>>2]=0;F[a+12>>2]=0;if(F[a+16>>2]>=0){F[a+20>>2]=0}K[a>>3]=(d|c<<8)<<16>>16;if(G[b+16|0]){a=F[b+4>>2];break c}a=F[b+4>>2];c=F[b+12>>2];if(a>>>0>>0){break c}c=c+2|0;if(c>>>0>a>>>0){break c}break b;case 0:case 1:case 2:case 3:c=(a<<8)+2304|0;a=F[b+12>>2];i:{if(a>>>0>=I[b+4>>2]){D[b+16|0]=1;a=163632;break i}a=a+F[b>>2]|0}c=((c|G[a|0])<<16)+7077888|0;a=F[b+24>>2];j:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<5)|0;break j}D[b+20|0]=1;a=F[40915];F[61614]=F[40914];F[61615]=a;a=F[40913];F[61612]=F[40912];F[61613]=a;a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}F[a+8>>2]=0;F[a+12>>2]=0;if(F[a+16>>2]>=0){F[a+20>>2]=0}K[a>>3]=c>>16;if(G[b+16|0]){a=F[b+4>>2];break a}a=F[b+4>>2];c=F[b+12>>2];if(a>>>0>>0){break a}c=c+1|0;if(c>>>0>a>>>0){break a}break b;case 4:case 5:case 6:case 7:break e}}c=(a<<16)-16449536>>>8|0;a=F[b+12>>2];k:{if(a>>>0>=I[b+4>>2]){D[b+16|0]=1;a=163632;break k}a=a+F[b>>2]|0}c=c|G[a|0];a=F[b+24>>2];l:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<5)|0;break l}D[b+20|0]=1;a=F[40915];F[61614]=F[40914];F[61615]=a;a=F[40913];F[61612]=F[40912];F[61613]=a;a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}F[a+8>>2]=0;F[a+12>>2]=0;if(F[a+16>>2]>=0){F[a+20>>2]=0}K[a>>3]=-108-c|0;if(G[b+16|0]){a=F[b+4>>2];break a}a=F[b+4>>2];c=F[b+12>>2];if(a>>>0>>0){break a}c=c+1|0;if(c>>>0>a>>>0){break a}break b}if(a-32>>>0<=214){c=F[b+24>>2];m:{if(c>>>0>2]){F[b+24>>2]=c+1;b=F[b+36>>2]+(c<<5)|0;break m}D[b+20|0]=1;b=F[40915];F[61614]=F[40914];F[61615]=b;b=F[40913];F[61612]=F[40912];F[61613]=b;b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=246432}F[b+8>>2]=0;F[b+12>>2]=0;if(F[b+16>>2]>=0){F[b+20>>2]=0}K[b>>3]=a-139|0;return}D[b+40|0]=1;F[b+24>>2]=0;return}D[b+16|0]=1;F[b+12>>2]=a;return}F[b+12>>2]=c;return}D[b+16|0]=1;F[b+12>>2]=a}function ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;d=F[a+16>>2];l=G[d+6|0]<<8|G[d+7|0]&254;if(!l){return 0}w=F[a>>2];A=F[w+508>>2]+F[w+512>>2]|0;e=F[b>>2];r=e+1|0;o=c?r:e;u=l+2|0;s=d+14|0;v=l>>>1|0;g=v;a:{b:{c:{d:{while(1){j=g+h|0;f=(j&-2)+s|0;k=G[f|0]<<8|G[f+1|0];e=j>>>1|0;f=f+u|0;t=G[f|0]<<8|G[f+1|0];if(t>>>0<=o>>>0){if(k>>>0>=o>>>0){break d}h=e+1|0}else{g=e}if(g>>>0>h>>>0){continue}break}h=0;break c}h=0;g=f+l|0;i=g+l|0;x=G[i|0]<<8|G[i+1|0];f=(t|0)==65535&v-1>>>0<=e>>>0&(k|0)==65535&(x|0)!=0&(i+x|0)+2>>>0>A>>>0;p=f?0:x;g=G[g|0]|G[g+1|0]<<8;B=(g<<8|g>>>8)<<16>>16;m=f?1:B;e:{f:{g:{h:{if(G[a+20|0]&2){n=e+1|0;g=(p|0)==65535?n:e;if(j>>>0<2){break h}h=e-1|0;q=h<<1;j=q+s|0;f=G[j|0]<<8|G[j+1|0];if(o>>>0>f>>>0){break h}m=(d+L(l,3)|0)+16|0;C=s+u|0;i:{while(1){j:{j=f;d=h;y=q+C|0;z=y+l|0;i=z+l|0;p=G[i|0]<<8|G[i+1|0];g=(p|0)==65535?g:d;if(!d){break j}h=d-1|0;q=h<<1;f=q+s|0;f=G[f|0]<<8|G[f+1|0];if(o>>>0<=f>>>0){continue}break i}break}d=0;i=m}f=G[z|0]|G[z+1|0]<<8;m=(f<<8|f>>>8)<<16>>16;f=G[y+1|0]|G[y|0]<<8;break g}d=e;if((p|0)==65535){break e}break f}d=e;j=k;f=t}k:{if((g|0)!=(n|0)){k=j;break k}if((d|0)!=(e|0)){m=B;p=x;f=t;j=k}h=0;if(n>>>0>=v>>>0){d=e;k=j;break e}d=(n<<1)+s|0;i=u+d|0;q=G[i|0]<<8|G[i+1|0];l:{if(q>>>0>o>>>0){g=e;break l}g=e;m:{while(1){n:{f=q;j=d;k=(d+u|0)+l|0;i=k+l|0;p=G[i|0]<<8|G[i+1|0];g=(p|0)==65535?g:n;n=n+1|0;if((v|0)==(n|0)){break n}d=(n<<1)+s|0;i=u+d|0;q=G[i|0]<<8|G[i+1|0];if(q>>>0<=o>>>0){continue}break m}break}n=v}d=G[k|0]|G[k+1|0]<<8;m=(d<<8|d>>>8)<<16>>16;j=G[j+1|0]|G[j|0]<<8}k=j;d=n-1|0;if((e|0)==(g|0)){break e}}if((d|0)==(g|0)){e=g;t=f;break f}e=(g<<1)+s|0;k=G[e|0]<<8|G[e+1|0];e=e+u|0;t=G[e|0]<<8|G[e+1|0];e=e+l|0;i=e+l|0;p=G[i|0]<<8|G[i+1|0];e=G[e|0]|G[e+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=g}if(p){h=0;d=((o-t<<1)+p|0)+i|0;if(d>>>0>A>>>0?c:0){break c}d=G[d+1|0]|G[d|0]<<8;if(!d){break c}d=d+m&65535;h=d>>>0>2]?d:0;d=e;if(c){break b}break a}d=m+o|0;h=d&65535;if(!c){break a}o:{if(I[w+16>>2]>h>>>0){break o}c=k+m|0;p:{if((d|0)>=0){break p}h=0;if((c|0)<0){break p}r=0-m|0;break o}r=(d|0)<65536?(c|0)>65535?65536-m|0:o:o;h=0}d=e;break b}if(c){break b}break a}d=e;if(!c){break a}}c=h;if(k>>>0>>0){h=0;d=d+1|0;if((v|0)==(d|0)){break a}}q:{if(bk(a,d)){h=c;if(c){break q}return 0}F[a+24>>2]=r;if(c){F[a+28>>2]=c;h=c;break q}ak(a);h=F[a+28>>2];if(!h){return 0}r=F[a+24>>2]}F[b>>2]=r}return h}function Ji(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;k=F[b+4>>2];a:{if(k>>>0>a>>>0){break a}h=F[b+8>>2];if(h>>>0>>0|h-a>>>0<8){break a}g=F[b+12>>2];d=g-8|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[a|0]|G[a+1|0]<<8;o=(d<<8|d>>>8)&65535;if(o>>>0<4){break a}d=a+2|0;if(d>>>0>>0|d>>>0>h>>>0|h-d>>>0<2){break a}d=g-10|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[a+2|0]|G[a+3|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|d>>>0>h>>>0|h-d>>>0<4){break a}e=g-14|0;F[b+12>>2]=e;if((e|0)<=0){break a}e=d+2|0;if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<2){break a}f=g-16|0;F[b+12>>2]=f;if((f|0)<=0){break a}g=G[d+2|0]|G[d+3|0]<<8;if(g){d=d+4|0;if(d>>>0>>0|d>>>0>h>>>0){break a}e=h-d|0;d=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}f=f-d|0;F[b+12>>2]=f;if((f|0)<=0){break a}}d=G[a|0]|G[a+1|0]<<8;u=(d<<8|d>>>8)&65535;d=G[a+6|0]|G[a+7|0]<<8;p=((d<<8|d>>>8)&65535)+a|0;v=h-p|0;g=a;a=G[a+4|0]|G[a+5|0]<<8;s=(a<<8|a>>>8)&65535;l=g+s|0;w=h-l|0;a=0;g=0;while(1){b:{if(!(a&1)){d=g;break b}i=0;if(4294967295/(o>>>0)>>>0<=m>>>0){break a}e=L(m,o);q=e+l|0;if(e){if(h>>>0>>0|k>>>0>q>>>0|h-q>>>0<0-e>>>0){break a}f=e+f|0;F[b+12>>2]=f;if((f|0)<=0){break a}}f=(m-r|0)+f|0;F[b+12>>2]=f;if((f|0)<=0|(e|0)>0){break a}c:{if(l>>>0<=q>>>0){d=g;break c}a=l;d=g;r=0-e&3;if(r){while(1){a=a-1|0;t=G[a|0]+1|0;d=d>>>0>t>>>0?d:t;i=i+1|0;if((r|0)!=(i|0)){continue}break}}if(e>>>0>4294967292){break c}while(1){e=G[a-1|0]+1|0;d=d>>>0>e>>>0?d:e;e=G[a-2|0]+1|0;d=d>>>0>e>>>0?d:e;e=G[a-3|0]+1|0;d=d>>>0>e>>>0?d:e;a=a-4|0;e=G[a|0]+1|0;d=d>>>0>e>>>0?d:e;if(a>>>0>q>>>0){continue}break}}r=m}d:{e:{f:{if((j|0)<=(n|0)){e=n+1|0;a=L(e,o);if(a){i=0;if(h>>>0>>0|k>>>0>l>>>0|a>>>0>w>>>0){break a}f=f-a|0;F[b+12>>2]=f;if((f|0)<=0){break a}}f=((n^-1)+j|0)+f|0;F[b+12>>2]=f;i=0;if((a|0)<0|(f|0)<=0){break a}j=L(j,o);if((j|0)<(a|0)){break f}j=e}a=j;if(d){break e}d=0;break d}i=a+l|0;a=j+l|0;while(1){j=G[a|0]+1|0;d=d>>>0>j>>>0?d:j;a=a+1|0;if(i>>>0>a>>>0){continue}break}a=e}j=a;i=0;if(h>>>0

>>0|k>>>0>p>>>0){break a}a=d<<3;if(a>>>0>v>>>0){break a}f=f-a|0;F[b+12>>2]=f;if((f|0)<=0){break a}}f=(g-d|0)+f|0;F[b+12>>2]=f;if((f|0)<=0){return 0}if((d|0)>(g|0)){e=(d<<3)+p|0;i=(g<<3)+p|0;while(1){a=G[i|0]|G[i+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(u|0)|0;n=(a|0)<(n|0)?n:a;m=(a|0)>(m|0)?m:a;i=i+8|0;if(e>>>0>i>>>0){continue}break}}g=d;a=(m|0)<(r|0);if(a|(j|0)<=(n|0)){continue}break}i=1;if(!c){break a}F[c>>2]=g}return i}function BA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ga-16|0;Ga=h;if(mb(c,b,105102,0)){e=F[a+124>>2];d=F[e>>2];a:{if(F[d+12>>2]!=1){break a}f=F[e+8>>2];if((f|0)==-1){f=F[d+8>>2];if(f){F[h+4>>2]=0;d=f;f=F[b+80>>2];f=Ia[F[f+164>>2]](b,F[b+84>>2],d,h+4|0,F[f+20>>2])|0;f=f?F[h+4>>2]:0}else{f=0}F[e+8>>2]=f}if(!f){break a}n=F[c+68>>2];if(!n){break a}o=F[c+80>>2];g=F[b+16>>2];j=h+8|0;while(1){m=L(l,20)+o|0;if(G[m+19|0]==4){d=F[m>>2];F[h+12>>2]=f;F[h+8>>2]=d;F[h+4>>2]=f;d=0;b:{c:{if(!F[e+40>>2]){break c}while(1){i=8;if(wc(g,H[F[e+36>>2]+(d<<3)>>1],h+4|0,2,G[e+44|0])){break b}d=d+1|0;k=F[e+40>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break c}while(1){if(wc(g,H[F[e+36>>2]+(d<<3)>>1],j,2,G[e+44|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;d:{if(!F[e+64>>2]){break d}while(1){i=8;if(wc(g,H[F[e+60>>2]+(d<<3)>>1],h+4|0,2,G[e+68|0])){break b}d=d+1|0;k=F[e+64>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break d}while(1){if(wc(g,H[F[e+60>>2]+(d<<3)>>1],j,2,G[e+68|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;e:{if(!F[e+52>>2]){break e}while(1){i=11;if(wc(g,H[F[e+48>>2]+(d<<3)>>1],h+4|0,2,G[e+56|0])){break b}d=d+1|0;k=F[e+52>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break e}while(1){if(wc(g,H[F[e+48>>2]+(d<<3)>>1],j,2,G[e+56|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;i=4;if(!F[e+28>>2]){break b}f:{while(1){if(wc(g,H[F[e+24>>2]+(d<<3)>>1],h+4|0,2,G[e+32|0])){break f}d=d+1|0;k=F[e+28>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break b}while(1){if(wc(g,H[F[e+24>>2]+(d<<3)>>1],j,2,G[e+32|0])){break f}d=d+1|0;if(d>>>0>2]){continue}break}break b}i=11}D[m+19|0]=i}l=l+1|0;if((n|0)!=(l|0)){continue}break}}yf(b,c,4,12,15,15);g=F[c+68>>2];g:{if(!g){break g}f=g-1|0;e=0;d=F[c+80>>2];i=G[d+15|0];while(1){h:{if((e|0)==(f|0)){e=g;break h}e=e+1|0;if((i|0)==G[(d+L(e,20)|0)+15|0]){continue}}break}if(!g){break g}i=F[c+80>>2];j=G[i+15|0];d=0;while(1){f=e;e=F[b+16>>2];i:{j:{switch(j&15){case 0:case 1:Dm(F[a+124>>2],e,c,d,f);break i;case 2:case 4:break j;default:break i}}j=F[a+124>>2];if(G[(L(f,20)+i|0)-2|0]==12?G[j+5|0]:0){break i}Dm(j,e,c,d,f)}l=F[c+68>>2];e=f+1|0;d=e>>>0>>0?l:e;i=F[c+80>>2];j=G[(i+L(f,20)|0)+15|0];e=f;while(1){k:{e=e+1|0;if(l>>>0<=e>>>0){e=d;break k}if(G[(L(e,20)+i|0)+15|0]==(j|0)){continue}}break}d=f;if(g>>>0>d>>>0){continue}break}}mb(c,b,105679,0)}Ga=h+16|0}function cq(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ga-1120|0;Ga=i;j=F[a+68>>2];l=f?f:i+92|0;F[l>>2]=0;c=b>>>0>>0?c:b;j=c>>>0>j>>>0?j:c;if(e){D[d|0]=0}a:{if(b>>>0>=j>>>0){break a}c=b>>>0>j>>>0?j:b;b:{if((g|0)!=1246973774){if((g|0)!=1413830740){break a}g=F[a+80>>2];F[l>>2]=0;if(b>>>0>=j>>>0){k=j-c|0;break a}n=j-1|0;a=1;k=i+96|1;c:{if(!(h&1)){h=i+1120|0;b=c;while(1){D[i+96|0]=b?124:60;m=g+L(b,20)|0;F[i+16>>2]=F[m>>2];f=Cd(k,1023,106538,i+16|0);F[i>>2]=F[m+8>>2];f=((f|0)>0?f:0)+k|0;m=Cd(f,h-f|0,105573,i);f=((m|0)>0?m:0)+f|0;if((b|0)==(n|0)){D[f|0]=62;f=f+1|0}f=f-(i+96|0)|0;if(f>>>0>=e>>>0){break b}a=Ya(d,i+96|0,f);F[l>>2]=f+F[l>>2];d=a+f|0;D[d|0]=0;e=e-f|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}break c}b=c;while(1){D[i+96|0]=b?124:60;F[i+32>>2]=F[g+L(b,20)>>2];f=Cd(k,1023,106538,i+32|0);f=((f|0)>0?f:0)+k|0;if((b|0)==(n|0)){D[f|0]=62;f=f+1|0}f=f-(i+96|0)|0;if(f>>>0>=e>>>0){break b}a=Ya(d,i+96|0,f);F[l>>2]=f+F[l>>2];d=a+f|0;D[d|0]=0;e=e-f|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}}if(a){break a}k=j-c|0;break a}n=F[a+80>>2];F[l>>2]=0;if(b>>>0>=j>>>0){k=j-c|0;break a}m=j-1|0;a=1;b=i+96|0;k=b|6;g=b|2;d:{e:{if(!(h&1)){p=i+1120|0;q=G[106583];f=G[106579]|G[106580]<<8|(G[106581]<<16|G[106582]<<24);b=c;while(1){D[i+97|0]=123;D[i+96|0]=b?44:91;D[g+4|0]=q;D[g|0]=f;D[g+1|0]=f>>>8;D[g+2|0]=f>>>16;D[g+3|0]=f>>>24;o=n+L(b,20)|0;F[i+64>>2]=F[o>>2];h=Cd(k,1018,105428,i- -64|0);F[i+48>>2]=F[o+8>>2];h=((h|0)>0?h:0)+k|0;o=Cd(h,p-h|0,106351,i+48|0);h=((o|0)>0?o:0)+h|0;D[h|0]=125;if((b|0)!=(m|0)){h=h+1|0}else{D[h+1|0]=93;h=h+2|0}h=h-(i+96|0)|0;if(h>>>0>=e>>>0){break d}a=Ya(d,i+96|0,h);F[l>>2]=h+F[l>>2];d=a+h|0;D[d|0]=0;e=e-h|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}break e}p=G[106583];f=G[106579]|G[106580]<<8|(G[106581]<<16|G[106582]<<24);b=c;while(1){D[i+97|0]=123;D[i+96|0]=b?44:91;D[g+4|0]=p;D[g|0]=f;D[g+1|0]=f>>>8;D[g+2|0]=f>>>16;D[g+3|0]=f>>>24;F[i+80>>2]=F[n+L(b,20)>>2];h=Cd(k,1018,105428,i+80|0);h=((h|0)>0?h:0)+k|0;D[h|0]=125;if((b|0)!=(m|0)){h=h+1|0}else{D[h+1|0]=93;h=h+2|0}h=h-(i+96|0)|0;if(h>>>0>=e>>>0){break d}a=Ya(d,i+96|0,h);F[l>>2]=h+F[l>>2];d=a+h|0;D[d|0]=0;e=e-h|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}}if(a){break a}k=j-c|0;break a}if(!a){k=j-c|0;break a}k=b-c|0;break a}if(!(a&1)){k=j-c|0;break a}k=b-c|0}Ga=i+1120|0;return k|0}function Vf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=F[b+4>>2];a:{if(j>>>0>a>>>0){break a}g=F[b+8>>2];if(g>>>0>>0|g-a>>>0<8){break a}f=F[b+12>>2];c=f-8|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[a|0]|G[a+1|0]<<8;n=(c<<8|c>>>8)&65535;if(n>>>0<4){break a}c=a+2|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<2){break a}c=f-10|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[a+2|0]|G[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<4){break a}d=f-14|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=c+2|0;if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<2){break a}e=f-16|0;F[b+12>>2]=e;if((e|0)<=0){break a}f=G[c+2|0]|G[c+3|0]<<8;if(f){c=c+4|0;if(c>>>0>>0|c>>>0>g>>>0){break a}d=g-c|0;c=(f<<8|f>>>8)&65535;if(d>>>0>>0){break a}e=e-c|0;F[b+12>>2]=e;if((e|0)<=0){break a}}c=G[a|0]|G[a+1|0]<<8;t=(c<<8|c>>>8)&65535;c=G[a+6|0]|G[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;u=g-o|0;f=a;a=G[a+4|0]|G[a+5|0]<<8;r=(a<<8|a>>>8)&65535;k=f+r|0;v=g-k|0;a=0;f=0;while(1){b:{if(!(a&1)){c=f;break b}h=0;if(4294967295/(n>>>0)>>>0<=l>>>0){break a}d=L(l,n);p=d+k|0;if(d){if(g>>>0

>>0|j>>>0>p>>>0|g-p>>>0<0-d>>>0){break a}e=d+e|0;F[b+12>>2]=e;if((e|0)<=0){break a}}e=(l-q|0)+e|0;F[b+12>>2]=e;if((e|0)<=0|(d|0)>0){break a}c:{if(k>>>0<=p>>>0){c=f;break c}a=k;c=f;q=0-d&3;if(q){while(1){a=a-1|0;s=G[a|0]+1|0;c=c>>>0>s>>>0?c:s;h=h+1|0;if((q|0)!=(h|0)){continue}break}}if(d>>>0>4294967292){break c}while(1){d=G[a-1|0]+1|0;c=c>>>0>d>>>0?c:d;d=G[a-2|0]+1|0;c=c>>>0>d>>>0?c:d;d=G[a-3|0]+1|0;c=c>>>0>d>>>0?c:d;a=a-4|0;d=G[a|0]+1|0;c=c>>>0>d>>>0?c:d;if(a>>>0>p>>>0){continue}break}}q=l}d:{e:{f:{if((i|0)<=(m|0)){d=m+1|0;a=L(d,n);if(a){h=0;if(g>>>0>>0|j>>>0>k>>>0|a>>>0>v>>>0){break a}e=e-a|0;F[b+12>>2]=e;if((e|0)<=0){break a}}e=((m^-1)+i|0)+e|0;F[b+12>>2]=e;h=0;if((a|0)<0|(e|0)<=0){break a}i=L(i,n);if((i|0)<(a|0)){break f}i=d}a=i;if(c){break e}c=0;break d}h=a+k|0;a=i+k|0;while(1){i=G[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}a=d}i=a;h=0;if(g>>>0>>0|j>>>0>o>>>0){break a}a=c<<2;if(a>>>0>u>>>0){break a}e=e-a|0;F[b+12>>2]=e;if((e|0)<=0){break a}}e=(f-c|0)+e|0;F[b+12>>2]=e;if((e|0)<=0){return 0}if((c|0)>(f|0)){d=(c<<2)+o|0;h=(f<<2)+o|0;while(1){a=G[h|0]|G[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-r|0)/(t|0)|0;m=(a|0)<(m|0)?m:a;l=(a|0)>(l|0)?l:a;h=h+4|0;if(d>>>0>h>>>0){continue}break}}f=c;a=(l|0)<(q|0);if(a|(i|0)<=(m|0)){continue}break}h=1}return h}function io(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=F[a>>2];if((d|0)>=0){g=(b|0)>0?b:0;if(d>>>0>>0){b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(g>>>0>=b>>>0){continue}break}a:{if(!(b>>>0>>0|b>>>0>153391688)){f=nb(L(b,28));if(f){i=F[a+4>>2];b:{if(!i){break b}d=0;if(i-1>>>0>=7){j=i&-8;while(1){c=L(d,28)+f|0;F[c>>2]=0;F[c+4>>2]=0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;c=L(d|1,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=L(d|2,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=L(d|3,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=L(d|4,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=L(d|5,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=L(d|6,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=L(d|7,28)+f|0;F[c+24>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=d+8|0;e=e+8|0;if((j|0)!=(e|0)){continue}break}}c=i&7;if(c){while(1){e=L(d,28)+f|0;F[e>>2]=0;F[e+4>>2]=0;F[e+24>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;d=d+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if(!i){e=0;break b}h=0;while(1){e=L(h,28);d=e+f|0;e=e+F[a+8>>2]|0;F[d>>2]=F[e>>2];c=F[d+4>>2];F[d+4>>2]=F[e+4>>2];F[e+4>>2]=c;c=F[d+8>>2];F[d+8>>2]=F[e+8>>2];F[e+8>>2]=c;c=F[d+12>>2];F[d+12>>2]=F[e+12>>2];F[e+12>>2]=c;F[d+24>>2]=F[e+24>>2];c=F[e+20>>2];F[d+16>>2]=F[e+16>>2];F[d+20>>2]=c;e=F[a+4>>2];h=h+1|0;if(e>>>0>h>>>0){continue}break}if(!e){e=0;break b}d=e;while(1){d=F[a+8>>2]+L(d,28)|0;F[d-20>>2]=0;c=d-16|0;Ta(F[c>>2]);F[c>>2]=0;d=d-24|0;F[d>>2]=0;F[d+4>>2]=0;d=F[a+4>>2]-1|0;F[a+4>>2]=d;if(d){continue}break}}F[a+4>>2]=e;Ta(F[a+8>>2])}if(f){break a}}F[a>>2]=-1;return 0}F[a>>2]=b;F[a+8>>2]=f}b=F[a+4>>2];c:{if(g>>>0>b>>>0){while(1){F[a+4>>2]=b+1;b=F[a+8>>2]+L(b,28)|0;F[b>>2]=0;F[b+4>>2]=0;F[b+24>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;b=F[a+4>>2];if(g>>>0>b>>>0){continue}break c}}if(b>>>0<=g>>>0){break c}while(1){b=F[a+8>>2]+L(b,28)|0;F[b-20>>2]=0;d=b-16|0;Ta(F[d>>2]);F[d>>2]=0;b=b-24|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+4>>2]-1|0;F[a+4>>2]=b;if(b>>>0>g>>>0){continue}break}}F[a+4>>2]=g;a=1}else{a=0}return a|0}function vo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=M(0),j=M(0),k=M(0),l=M(0),m=0;d=Ga-32|0;Ga=d;F[d+24>>2]=0;F[d+28>>2]=1065353216;F[d+16>>2]=1065353216;F[d+20>>2]=0;h=G[a|0]|G[a+1|0]<<8;c=h<<8|h>>>8;f=c&65535;a:{if(c&1){c=G[a+4|0]|G[a+5|0]<<8;m=(c<<8|c>>>8)<<16>>16;c=a+6|0;g=G[c|0]|G[c+1|0]<<8;g=(g<<8|g>>>8)<<16>>16;break a}c=a+4|0;m=D[a+4|0];g=D[a+5|0]}D[d+12|0]=0;D[d|0]=0;h=h<<22>>31;g=h&g;J[d+8>>2]=g|0;h=h&m;J[d+4>>2]=h|0;b:{if(f&8){c=G[c+2|0]|G[c+3|0]<<8;i=M(M((c<<8|c>>>8)<<16>>16)*M(6103515625e-14));J[d+16>>2]=i;J[d+28>>2]=i;g=1;break b}if(f&64){f=G[c+2|0]|G[c+3|0]<<8;J[d+16>>2]=M((f<<8|f>>>8)<<16>>16)*M(6103515625e-14);c=G[c+4|0]|G[c+5|0]<<8;J[d+28>>2]=M((c<<8|c>>>8)<<16>>16)*M(6103515625e-14);g=1;break b}if(f&128){f=G[c+2|0]|G[c+3|0]<<8;J[d+16>>2]=M((f<<8|f>>>8)<<16>>16)*M(6103515625e-14);f=G[c+4|0]|G[c+5|0]<<8;J[d+20>>2]=M((f<<8|f>>>8)<<16>>16)*M(6103515625e-14);f=G[c+6|0]|G[c+7|0]<<8;J[d+24>>2]=M((f<<8|f>>>8)<<16>>16)*M(6103515625e-14);c=G[c+8|0]|G[c+9|0]<<8;J[d+28>>2]=M((c<<8|c>>>8)<<16>>16)*M(6103515625e-14);g=1;break b}g=(h|g)!=0}c:{if(!g){break c}c=F[b+4>>2];if(((G[a|0]|G[a+1|0]<<8)&24)==8){if(!c){break c}while(1){d:{if(c>>>0<=e>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;c=F[b+4>>2];a=246432;break d}a=F[b+8>>2]+(e<<4)|0}J[a+4>>2]=J[d+4>>2]+J[a+4>>2];J[a+8>>2]=J[d+8>>2]+J[a+8>>2];e=e+1|0;if(e>>>0>>0){continue}break}if(!c){break c}k=J[d+16>>2];e=0;while(1){e:{if(c>>>0<=e>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;c=F[b+4>>2];a=246432;break e}a=F[b+8>>2]+(e<<4)|0}l=J[d+24>>2];i=J[a+4>>2];j=J[a+8>>2];J[a+8>>2]=M(i*J[d+20>>2])+M(j*J[d+28>>2]);J[a+4>>2]=M(i*k)+M(j*l);e=e+1|0;if(e>>>0>>0){continue}break}break c}if(!c){break c}k=J[d+16>>2];while(1){f:{if(c>>>0<=e>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;c=F[b+4>>2];a=246432;break f}a=F[b+8>>2]+(e<<4)|0}l=J[d+24>>2];i=J[a+4>>2];j=J[a+8>>2];J[a+8>>2]=M(i*J[d+20>>2])+M(j*J[d+28>>2]);J[a+4>>2]=M(i*k)+M(j*l);e=e+1|0;if(e>>>0>>0){continue}break}if(!c){break c}e=0;while(1){g:{if(c>>>0<=e>>>0){a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;c=F[b+4>>2];a=246432;break g}a=F[b+8>>2]+(e<<4)|0}J[a+4>>2]=J[d+4>>2]+J[a+4>>2];J[a+8>>2]=J[d+8>>2]+J[a+8>>2];e=e+1|0;if(e>>>0>>0){continue}break}}Ga=d+32|0}function Tg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Ga-16|0;Ga=i;F[i+8>>2]=0;p=F[F[a>>2]+28>>2];F[b>>2]=0;a:{b:{if(F[a+28>>2]){break b}F[i+12>>2]=0;c:{f=F[a+12>>2];if(f){m=G[a+16|0];k=F[a>>2];h=F[k+28>>2];f=f+1|0;r=a,s=Va(h,4,0,f,0,i+12|0),F[r+28>>2]=s;if(F[i+12>>2]){break c}e=Za(k,F[a+8>>2]+F[a+4>>2]|0);F[i+12>>2]=e;if(e){break c}g=L(f,m);f=tb(k,g);F[i+12>>2]=f;if(f){break c}e=F[k+32>>2];j=g+e|0;f=F[a+28>>2];d:{e:{switch(m-1|0){case 2:if((g|0)<=0){break d}while(1){F[f>>2]=G[e+2|0]|(G[e+1|0]<<8|G[e|0]<<16);f=f+4|0;e=e+3|0;if(j>>>0>e>>>0){continue}break};break d;case 1:if((g|0)<=0){break d}while(1){F[f>>2]=G[e+1|0]|G[e|0]<<8;f=f+4|0;e=e+2|0;if(j>>>0>e>>>0){continue}break};break d;case 0:if((g|0)<=0){break d}while(1){F[f>>2]=G[e|0];f=f+4|0;e=e+1|0;if(j>>>0>e>>>0){continue}break};break d;default:break e}}if((g|0)<=0){break d}while(1){g=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);F[f>>2]=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);f=f+4|0;e=e+4|0;if(j>>>0>e>>>0){continue}break}}lb(k);if(F[i+12>>2]){break c}}F[i+8>>2]=0;break b}f=h;h=F[a+28>>2];if(h){Ia[F[f+8>>2]](f,h)}F[a+28>>2]=0;e=F[i+12>>2];F[i+8>>2]=e;if(e){break a}}e=0;f=F[a+12>>2];if(!f){break a}h=F[a+24>>2];g=Va(p,4,0,f+1|0,0,i+8|0);e=F[i+8>>2];f:{if(e){break f}q=f+h|0;g:{h:{i:{j:{if(c){k=gb(p,q,i+8|0);if(F[i+8>>2]){break g}o=F[a+32>>2];F[g>>2]=k;l=F[a+12>>2];if(l){e=1;j=0;f=0;while(1){h=e<<2;n=F[h+F[a+28>>2]>>2]-1|0;k:{if(n>>>0>>0){F[g+h>>2]=(f+k|0)+j;break k}m=g+h|0;h=F[a+24>>2];h=h>>>0>n>>>0?n:h;n=(h+k|0)+j|0;F[m>>2]=n;if((f|0)!=(h|0)){l=F[m-4>>2];Ya(l,f+o|0,n-l|0);D[F[m>>2]]=0;F[m>>2]=F[m>>2]+1;l=F[a+12>>2];j=j+1|0}f=h}e=e+1|0;if(l>>>0>=e>>>0){continue}break}break j}F[b>>2]=g;break i}h=F[a+32>>2];F[g>>2]=h;j=F[a+12>>2];if(!j){k=0;break j}f=1;k=0;e=0;if((j|0)!=1){n=j&-2;m=0;while(1){o=f<<2;l=F[o+F[a+28>>2]>>2]-1|0;if(l>>>0>=e>>>0){e=F[a+24>>2];e=e>>>0>l>>>0?l:e}F[g+o>>2]=e+h;o=f+1<<2;l=F[o+F[a+28>>2]>>2]-1|0;if(l>>>0>=e>>>0){e=F[a+24>>2];e=e>>>0>l>>>0?l:e}F[g+o>>2]=e+h;f=f+2|0;m=m+2|0;if((n|0)!=(m|0)){continue}break}}if(!(j&1)){break j}j=f<<2;f=F[j+F[a+28>>2]>>2]-1|0;if(f>>>0>=e>>>0){a=F[a+24>>2];e=a>>>0>f>>>0?f:a}F[g+j>>2]=e+h}F[b>>2]=g;if(!c){break h}}F[c>>2]=k}if(!d){break g}F[d>>2]=q}e=F[i+8>>2];if(!e|!k){break f}if(k){Ia[F[p+8>>2]](p,k)}e=F[i+8>>2]}if(!e|!g){break a}if(g){Ia[F[p+8>>2]](p,g)}e=F[i+8>>2]}Ga=i+16|0;return e}function Jd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=G[b|0]|G[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0<=c>>>0){F[a+8>>2]=F[40910];b=F[40909];F[a>>2]=F[40908];F[a+4>>2]=b;return}h=G[b+2|0];n=(L(h,l+1|0)+b|0)+3|0;d=0;a:{if(!h){break a}d=0;j=(L(c,h)+b|0)+3|0;f=j;k=h-1|0;if(k>>>0>=3){i=h&252;f=j;while(1){e=f;f=e+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}e=h&3;if(e){while(1){g=G[f|0]|g<<8;f=f+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;f=(L(c+1|0,h)+b|0)+3|0;d=f;if(k>>>0>=3){m=h&252;d=f;while(1){c=d;d=c+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){e=G[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}m=0;i=0;d=j;if(k>>>0>=3){o=h&252;while(1){c=d;d=c+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){i=G[d|0]|i<<8;d=d+1|0;m=m+1|0;if((c|0)!=(m|0)){continue}break}}n=g+n|0;d=0;if(e>>>0>>0){break a}e=0;g=0;d=f;if(k>>>0>=3){i=h&252;while(1){c=d;d=c+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){g=G[d|0]|g<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=h&3;d=(L(h,l)+b|0)+3|0;i=0;if(k>>>0<3){e=0}else{l=h&252;e=0;while(1){b=d;d=b+4|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){e=G[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}c=h&3;g=0;if(k>>>0<3){d=0}else{e=h&252;d=0;while(1){b=f;f=b+4|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){d=G[f|0]|d<<8;f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}c=h&3;g=0;if(k>>>0<3){f=0}else{e=h&252;f=0;while(1){b=j;j=b+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){f=G[j|0]|f<<8;j=j+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d-f|0}F[a+8>>2]=0;F[a+4>>2]=d;F[a>>2]=n-1}function kx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=F[b>>2];if(!f){return 35}b=6;a:{if(I[f+16>>2]<=c>>>0){break a}h=F[f+104>>2];g=F[f+292>>2];b=g+(c<<4)|0;j=E[b+6>>1];k=j+E[b+8>>1]|0;F[a+76>>2]=k;i=E[b>>1];b=E[b+2>>1];D[a+94|0]=1;E[a+92>>1]=1;e=b-i|0;F[a+80>>2]=e;b=3;b:{c:{switch((1<<(F[f+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}F[a+104>>2]=j;F[a+100>>2]=i;F[a+72>>2]=1651078259;F[a+84>>2]=b;b=E[(g+(c<<4)|0)+4>>1];F[a+36>>2]=j<<6;F[a+32>>2]=i<<6;F[a+28>>2]=k<<6;F[a+24>>2]=e<<6;F[a+40>>2]=b<<6;Pd(a+24|0,F[f+208>>2]+F[f+204>>2]<<6);d:{if(d&4194304){break d}d=L(F[a+76>>2],F[a+84>>2]);b=df(a,d);if(b){break a}b=Za(h,F[(g+(c<<4)|0)+12>>2]);if(b){break a}b=Gb(h,F[a+88>>2],d);if(b){break a}c=F[f+312>>2];if(!(!d|c&8)){i=d-1|0;c=F[a+88>>2];h=d&3;e:{if(!h){b=d;break e}e=0;b=d;while(1){g=G[c|0];g=g>>>4|(g&15)<<4;g=g>>>2&51|(g&51)<<2;D[c|0]=g>>>1&85|(g&85)<<1;c=c+1|0;b=b-1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(i>>>0>=3){while(1){e=G[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;D[c|0]=e>>>1&85|(e&85)<<1;e=G[c+1|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;D[c+1|0]=e>>>1&85|(e&85)<<1;e=G[c+2|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;D[c+2|0]=e>>>1&85|(e&85)<<1;e=G[c+3|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;D[c+3|0]=e>>>1&85|(e&85)<<1;c=c+4|0;b=b-4|0;if(b){continue}break}}c=F[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}b=0;f:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break a}a=F[a+88>>2];c=d-2|0;f=(c>>>1|0)+1&3;if(f){while(1){e=G[a+1|0];D[a+1|0]=G[a|0];D[a|0]=e;a=a+2|0;d=d-2|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=0;if(c>>>0<6){break a}while(1){c=G[a+1|0];D[a+1|0]=G[a|0];D[a|0]=c;c=G[a+2|0];D[a+2|0]=G[a+3|0];D[a+3|0]=c;c=G[a+4|0];D[a+4|0]=G[a+5|0];D[a+5|0]=c;c=G[a+6|0];D[a+6|0]=G[a+7|0];D[a+7|0]=c;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break a;case 2:break f;default:break a}}if(d>>>0<4){break d}a=F[a+88>>2];b=d-4|0;if(!(b&4)){c=G[a+3|0];D[a+3|0]=G[a|0];D[a|0]=c;c=G[a+1|0];D[a+1|0]=G[a+2|0];D[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break d}while(1){b=G[a+3|0];D[a+3|0]=G[a|0];D[a|0]=b;b=G[a+1|0];D[a+1|0]=G[a+2|0];D[a+2|0]=b;b=G[a+4|0];D[a+4|0]=G[a+7|0];D[a+7|0]=b;b=G[a+5|0];D[a+5|0]=G[a+6|0];D[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}b=0}return b|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=1;a:{b:{c:{switch(G[a+5|0]){case 0:e=0;f=F[b+4>>2];g=a+8|0;if(f>>>0>g>>>0){break b}d=F[b+8>>2];if(d>>>0>>0|d-g>>>0<8){break b}g=F[b+12>>2]-8|0;F[b+12>>2]=g;if((g|0)<=0){break b}c=G[a+8|0]|G[a+9|0]<<8;if(c){a=a+16|0;if(a>>>0>>0|a>>>0>d>>>0){break b}h=d-a|0;a=L((c<<8|c>>>8)&65535,6);if(h>>>0>>0){break b}a=g-a|0;F[b+12>>2]=a;if((a|0)<=0){break b}}return 1;case 1:e=0;if(I[b+4>>2]>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<18){break b}d=F[b+12>>2]-18|0;F[b+12>>2]=d;if((d|0)<=0){break b}return Vf(a+8|0,b)|0;case 2:d:{e:{g=F[b+4>>2];if(g>>>0>a>>>0){break e}d=F[b+8>>2];if(d>>>0>>0){break e}j=d-a|0;if(j>>>0<16){break e}e=F[b+12>>2];c=e-16|0;F[b+12>>2]=c;if((c|0)<=0){break e}c=a+10|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break e}c=e-18|0;F[b+12>>2]=c;if((c|0)<=0){break e}c=G[a+10|0]|G[a+11|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}f=e-22|0;F[b+12>>2]=f;if((f|0)<=0){break e}f=c+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break e}e=e-24|0;F[b+12>>2]=e;if((e|0)<=0){break e}f:{f=G[c+2|0]|G[c+3|0]<<8;if(!f){break f}c=c+4|0;if(c>>>0>>0|c>>>0>d>>>0){break e}h=d-c|0;c=((f<<8|f>>>8)&65535)<<1;if(h>>>0>>0){break e}e=e-c|0;F[b+12>>2]=e;if((e|0)>0){break f}break e}c=a+12|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break e}F[b+12>>2]=e-2;if((e|0)<3){break e}c=G[a+12|0]|G[a+13|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}F[b+12>>2]=e-6;if((e|0)<7){break e}f=c+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break e}f=e-8|0;F[b+12>>2]=f;if((e|0)<9){break e}e=1;g:{i=G[c+2|0]|G[c+3|0]<<8;if(!i){break g}h=g;g=c+4|0;if(h>>>0>g>>>0|d>>>0>>0){break e}g=d-g|0;d=((i<<8|i>>>8)&65535)<<1;if(g>>>0>>0){break e}f=f-d|0;F[b+12>>2]=f;if((f|0)>0){break g}break e}a=G[a+14|0]|G[a+15|0]<<8;h:{if(!a){break h}e=0;a=(a<<8|a>>>8)&65535;if(a>>>0>j>>>0){break h}a=f-a|0;F[b+12>>2]=a;e=(a|0)>0}break d}e=0}return e|0;case 3:break c;default:break b}}f=F[b+4>>2];if(f>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break a}g=F[b+12>>2]-14|0;F[b+12>>2]=g;if((g|0)<=0){break a}c=G[a+8|0]|G[a+9|0]<<8;c=L(G[a+12|0],G[a+11|0])+(G[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!c){break b}a=a+14|0;if(a>>>0>>0|a>>>0>d>>>0){break a}e=0;if(c>>>0>d-a>>>0){break b}a=g-c|0;F[b+12>>2]=a;e=(a|0)>0}return e|0}return 0}function qo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=G[b|0]|G[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0>c>>>0){h=G[b+2|0];n=(L(h,l+1|0)+b|0)+3|0;d=0;a:{if(!h){break a}d=0;j=(L(c,h)+b|0)+3|0;f=j;k=h-1|0;if(k>>>0>=3){i=h&252;f=j;while(1){e=f;f=e+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}e=h&3;if(e){while(1){g=G[f|0]|g<<8;f=f+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;f=(L(c+1|0,h)+b|0)+3|0;d=f;if(k>>>0>=3){m=h&252;d=f;while(1){c=d;d=c+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){e=G[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}m=0;i=0;d=j;if(k>>>0>=3){o=h&252;while(1){c=d;d=c+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){i=G[d|0]|i<<8;d=d+1|0;m=m+1|0;if((c|0)!=(m|0)){continue}break}}n=g+n|0;d=0;if(e>>>0>>0){break a}e=0;g=0;d=f;if(k>>>0>=3){i=h&252;while(1){c=d;d=c+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){g=G[d|0]|g<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=h&3;d=(L(h,l)+b|0)+3|0;i=0;if(k>>>0<3){e=0}else{l=h&252;e=0;while(1){b=d;d=b+4|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){e=G[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}c=h&3;g=0;if(k>>>0<3){d=0}else{e=h&252;d=0;while(1){b=f;f=b+4|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){d=G[f|0]|d<<8;f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}c=h&3;g=0;if(k>>>0<3){f=0}else{e=h&252;f=0;while(1){b=j;j=b+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){f=G[j|0]|f<<8;j=j+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d-f|0}F[a+8>>2]=0;F[a+4>>2]=d;F[a>>2]=n-1;return}F[a+8>>2]=F[40910];b=F[40909];F[a>>2]=F[40908];F[a+4>>2]=b}function kt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Ga-16|0;Ga=e;l=F[a+100>>2];F[e+8>>2]=0;c=Ia[F[a+516>>2]](a,1129333068,b,e+4|0)|0;F[e+12>>2]=c;a:{b:{if(c){break b}c=F[e+4>>2];c:{if(c>>>0<12){break c}c=$b(b,c,e+8|0);F[e+12>>2]=c;if(c){break b}c=F[e+8>>2];j=gb(l,20,e+12|0);if(F[e+12>>2]){break b}d=G[c|0]|G[c+1|0]<<8;h=d<<8|d>>>8;E[j>>1]=h;if((h&65535)>>>0>1){break c}d=G[c+2|0]|G[c+3|0]<<8;k=d<<8|d>>>8;E[a+660>>1]=k;d=G[c+4|0]|G[c+5|0]<<8;d=d<<8|d>>>8;E[a+648>>1]=d;f=G[c+6|0]|G[c+7|0]<<8;n=f<<8|f>>>8;E[j+2>>1]=n;m=d&65535;f=m<<1;d=F[e+4>>2];if(f+12>>>0>d>>>0){break c}g=G[c+8|0]|G[c+9|0]<<8|(G[c+10|0]<<16|G[c+11|0]<<24);i=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(i>>>0>=d>>>0){break c}g=n&65535;if(d-i>>>0>>0|g>>>0<(k&65535)>>>0){break c}c=c+12|0;F[j+8>>2]=c;g=F[e+8>>2];F[j+4>>2]=i+g;d:{if((h&65535)!=1){break d}if(d>>>0>>0){break c}c=c+f|0;h=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);i=G[c+8|0]|G[c+9|0]<<8|(G[c+10|0]<<16|G[c+11|0]<<24);c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(f>>>0>d-c>>>0|c>>>0>=d>>>0){break c}d=Va(l,2,0,m,0,e+12|0);if(F[e+12>>2]){break b}g=F[e+8>>2];k=d+(H[a+648>>1]<<1)|0;if(k>>>0>d>>>0){f=c+g|0;c=d;while(1){n=G[f|0]|G[f+1|0]<<8;E[c>>1]=n<<8|n>>>8;f=f+2|0;c=c+2|0;if(k>>>0>c>>>0){continue}break}}F[a+656>>2]=d}c=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(c){d=F[e+4>>2];if(d>>>0<=c>>>0){break c}m=d-c|0;d=H[a+648>>1];if(m>>>0>>0){break c}d=Va(l,2,0,d,0,e+12|0);if(F[e+12>>2]){break b}g=F[e+8>>2];h=d+(H[a+648>>1]<<1)|0;if(h>>>0>d>>>0){f=c+g|0;c=d;while(1){k=G[f|0]|G[f+1|0]<<8;E[c>>1]=k<<8|k>>>8;f=f+2|0;c=c+2|0;if(h>>>0>c>>>0){continue}break}}F[a+652>>2]=d}c=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);if(!c){break d}d=F[e+4>>2];if(d>>>0<=c>>>0){break c}m=d-c|0;d=H[a+660>>1];if(m>>>0>>0){break c}d=Va(l,2,0,d,0,e+12|0);if(F[e+12>>2]){break b}g=F[e+8>>2];h=d+(H[a+660>>1]<<1)|0;if(h>>>0>d>>>0){f=c+g|0;c=d;while(1){i=G[f|0]|G[f+1|0]<<8;E[c>>1]=i<<8|i>>>8;f=f+2|0;c=c+2|0;if(h>>>0>c>>>0){continue}break}}F[a+664>>2]=d}F[j+12>>2]=g;F[j+16>>2]=F[e+4>>2];F[a+868>>2]=j;g=0;o=a,p=Va(l,4,0,H[a+660>>1],0,e+12|0),F[o+672>>2]=p;if(F[e+12>>2]){break b}if(!Qj(a,0)){break a}}F[e+12>>2]=8}Eb(b,e+8|0);if(j){Ia[F[l+8>>2]](l,j)}F[a+868>>2]=0;g=F[e+12>>2]}Ga=e+16|0;return g|0}function Gq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=Ga-16|0;Ga=k;f=F[a+492>>2];i=F[b+8>>2];Ia[F[b+28>>2]](b);d=F[b>>2];a:{if(i>>>0<=d>>>0){F[b+12>>2]=3;break a}b:{l=G[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){g=F[b+16>>2];c:{if((l|0)==91){F[b>>2]=d+1;h=256;break c}e=3;h=Ia[F[b+36>>2]](b)|0;if((h|0)>256){break b}}Ia[F[b+28>>2]](b);if(I[b>>2]>=i>>>0){break a}j=b+92|0;c=F[a+384>>2];d:{if(!c){break d}if(c){Ia[F[g+8>>2]](g,c)}F[a+384>>2]=0;c=F[a+388>>2];if(c){Ia[F[g+8>>2]](g,c)}F[a+388>>2]=0;c=F[b+140>>2];if(!c){break d}Ia[c|0](j)}F[a+372>>2]=h;F[b+88>>2]=h;n=a,o=Va(g,2,0,h,0,k+12|0),F[n+384>>2]=o;e=F[k+12>>2];if(e){break b}n=a,o=Va(g,4,0,h,0,k+12|0),F[n+388>>2]=o;e=F[k+12>>2];if(e){break b}e=Ia[F[F[f>>2]>>2]](j,h,g)|0;F[k+12>>2]=e;if(e){break b}e:{if((h|0)<=0){break e}f=0;c=0;if(h-1>>>0>=3){g=h&-4;e=0;while(1){Ia[F[b+136>>2]](j,c,10293,8)|0;Ia[F[b+136>>2]](j,c|1,10293,8)|0;Ia[F[b+136>>2]](j,c|2,10293,8)|0;Ia[F[b+136>>2]](j,c|3,10293,8)|0;c=c+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}e=h&3;if(!e){break e}while(1){Ia[F[b+136>>2]](j,c,10293,8)|0;c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}Ia[F[b+28>>2]](b);c=F[b>>2];f:{if(i>>>0<=c>>>0){break f}m=(l|0)==91;e=0;while(1){g:{h:{i:{f=G[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(G[c+1|0]!=101|i>>>0<=d>>>0|G[c+2|0]!=102){break g}switch(G[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((l|0)!=91&f-48>>>0>=10)){m:{if(m){d=c;f=e;break m}f=Ia[F[b+36>>2]](b)|0;Ia[F[b+28>>2]](b);d=F[b>>2];if((d|0)==(c|0)){break k}}if(G[d|0]!=47|d+2>>>0>=i>>>0|(e|0)>=(h|0)){break l}d=d+1|0;F[b>>2]=d;Ia[F[b+32>>2]](b);c=F[b>>2];if(F[b+12>>2]|c>>>0>=i>>>0){break a}g=c-d|0;c=Ia[F[b+136>>2]](j,f,d,g+1|0)|0;F[b+12>>2]=c;if(c){break a}D[g+F[F[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break j}Ia[F[b+32>>2]](b);d=c;if(F[b+12>>2]){break a}break j}if(!m){break j}}F[b+12>>2]=2;break a}Ia[F[b+28>>2]](b);c=F[b>>2];if(i>>>0>c>>>0){continue}break}}F[a+368>>2]=1;F[b>>2]=d;break a}n:{if(d+17>>>0>=i>>>0){break n}if(cb(d,12672,16)){break n}F[a+368>>2]=2;break a}o:{if(d+15>>>0>=i>>>0){break o}if(cb(d,12736,14)){break o}F[a+368>>2]=4;break a}p:{if(d+18>>>0>=i>>>0){break p}if(cb(d,12844,17)){break p}F[a+368>>2]=3;break a}F[b+12>>2]=162;break a}F[b+12>>2]=e}Ga=k+16|0}function Mf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{d=G[a|0]|G[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 13:break b;case 12:break c;case 10:break d;case 6:break e;case 4:break f;case 0:break g;default:break a}}if(b>>>0>255){break a}a=G[(a+b|0)+6|0];if(!a){break a}F[c>>2]=a;return 1}d=0;e=G[a+6|0]|G[a+7|0]<<8;e=(e<<8|e>>>8)&65535;h:{if(e>>>0<2){break h}d=G[a+2|0]|G[a+3|0]<<8;e=e>>>1|0;n=(((d<<8|d>>>8)&65535)-(e<<3)|0)-16>>>1|0;d=e<<1;j=(d+a|0)+16|0;k=j+d|0;l=k+d|0;o=l+d|0;d=e-1|0;p=e+1<<1;i:{while(1){g=d+f|0;h=g>>>1|0;g=g&-2;i=(g+a|0)+14|0;m=G[i|0]|G[i+1|0]<<8;j:{if(((m<<8|m>>>8)&65535)>>>0>=b>>>0){d=i+p|0;d=G[d|0]|G[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break i}d=h-1|0;break j}f=h+1|0}if((d|0)>=(f|0)){continue}break}d=0;break h}a=g>>1;d=g+l|0;f=G[d|0]|G[d+1|0]<<8;if(f){d=0;e=a+(b-e|0)+(((f<<8|f>>>8)&65534)>>>1)|0;b=(a<<1)+j|0;b=G[b|0]|G[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=n>>>0){break h}b=(b<<1)+o|0;b=G[b|0]|G[b+1|0]<<8;if(!b){break h}b=(b<<8|b>>>8)&65535}d=0;a=(a<<1)+k|0;a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break h}F[c>>2]=a;d=1}return d}e=b;b=G[a+6|0]|G[a+7|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;e=((b<<1)+a|0)+10|0;a=G[a+8|0]|G[a+9|0]<<8;a=b>>>0<((a<<8|a>>>8)&65535)>>>0?e:163632;a=G[a|0]|G[a+1|0]<<8;if(a){F[c>>2]=(a<<8|a>>>8)&65535}return(a|0)!=0}e=b;b=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);b=e-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;e=((b<<1)+a|0)+20|0;a=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);a=b>>>0<(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0?e:163632;a=G[a|0]|G[a+1|0]<<8;if(a){F[c>>2]=(a<<8|a>>>8)&65535}return(a|0)!=0}return ci(a,b,c)}d=0;f=164030;e=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);k:{if((e|0)<=0){break k}h=e-1|0;while(1){g=d+h>>>1|0;e=L(g,12)+a|0;i=G[e+16|0]|G[e+17|0]<<8|(G[e+18|0]<<16|G[e+19|0]<<24);l:{if((i<<24|i<<8&16711680|(i>>>8&65280|i>>>24))>>>0<=b>>>0){d=e;d=G[d+20|0]|G[d+21|0]<<8|(G[d+22|0]<<16|G[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>>0){d=g+1|0;break l}f=(L(g,12)+a|0)+16|0;break k}h=g-1|0}if((d|0)<=(h|0)){continue}break}}a=G[f+8|0]|G[f+9|0]<<8|(G[f+10|0]<<16|G[f+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){F[c>>2]=a}h=(a|0)!=0}return h}function bt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=3;a:{if((d|e)<0){break a}j=F[a+8>>2];f=F[a+12>>2];i=H[f+2>>1];if(I[j+4>>2]>>0){break a}f=H[f>>1];if(I[j>>2]>>0){break a}i=L(i,G[a+18|0]);if(L(i+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=F[j+8>>2];j=F[j+12>>2];c=(a+L(h,e)|0)+j|0;g=d&7;if(g){k=0;if(!f){break a}if(i>>>0>=8){while(1){d=0;e=i;a=c;while(1){j=a;k=b;d=G[b|0]|d;D[a|0]=G[a|0]|d>>>g;l=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((l|0)>15){continue}break}if((l|0)>8){d=G[k+1|0]&65280>>>e|d;b=k+2|0}D[a|0]=G[a|0]|d>>>g;if((e+g|0)>=9){D[j+2|0]=G[j+2|0]|d<<8>>>g}c=c+h|0;a=f;f=a-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>i|0;if(g+i>>>0>=9){if(!i){break a}if((h|0)!=1){if(f&1){a=d&G[b|0];D[c|0]=G[c|0]|a>>>g;D[c+1|0]=G[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&G[b|0];D[c|0]=G[c|0]|e>>>g;D[c+1|0]=G[c+1|0]|e<<8>>>g;c=c+h|0;e=d&G[b+1|0];D[c|0]=G[c|0]|e>>>g;D[c+1|0]=G[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}e=G[j+(a+e|0)|0];if(f&1){a=d&G[b|0];D[c|0]=a>>>g|e;e=G[c+1|0]|a<<8>>>g;D[c+1|0]=e;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&G[b|0];D[c|0]=f|e>>>g;e=G[c+1|0]|e<<8>>>g;D[c+1|0]=e;c=c+h|0;f=d&G[b+1|0];D[c|0]=e|f>>>g;e=G[c+1|0]|f<<8>>>g;D[c+1|0]=e;b=b+2|0;c=c+h|0;f=a-3|0;a=a-2|0;if(f>>>0<4294967294){continue}break}break a}if(!i){break a}if(f&1){D[c|0]=G[c|0]|(d&G[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){D[c|0]=G[c|0]|(d&G[b|0])>>>g;c=c+h|0;D[c|0]=G[c|0]|(d&G[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}k=0;if(!f){break a}if(i>>>0>=8){while(1){a=f;d=i;f=c;while(1){e=b;D[f|0]=G[b|0]|G[f|0];j=d;d=d-8|0;f=f+1|0;b=b+1|0;if((j|0)>15){continue}break}if((j|0)>8){D[f|0]=G[f|0]|G[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!i){break a}d=65280>>>i|0;e=f-1|0;i=f&3;if(i){a=0;while(1){D[c|0]=G[c|0]|d&G[b|0];c=c+h|0;f=f-1|0;b=b+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(e>>>0<3){break a}while(1){D[c|0]=G[c|0]|d&G[b|0];a=c+h|0;D[a|0]=G[a|0]|d&G[b+1|0];a=a+h|0;D[a|0]=G[a|0]|d&G[b+2|0];a=a+h|0;D[a|0]=G[a|0]|d&G[b+3|0];b=b+4|0;c=a+h|0;a=f-5|0;f=f-4|0;if(a>>>0<4294967294){continue}break}}return k|0}function ih(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=Ga-16|0;Ga=q;a:{if(b>>>0>64){a=0;break a}o=F[a+100>>2];k=F[o+64>>2];F[a+40>>2]=b-1;F[a+4>>2]=k;i=F[F[a+8>>2]+100>>2];F[a+44>>2]=F[i+68>>2];l=(k|0)==F[i+64>>2]?G[(F[i+80>>2]+L(k,20)|0)+15|0]:l;F[a+36>>2]=c;F[a+32>>2]=e;F[a+28>>2]=d;D[a+24|0]=l;c=F[o+80>>2]+L(k,20)|0;i=G[c+14|0];e=i&16;b:{c:{d:{if(G[c+12|0]&4){if(!e){d=i>>>5|0;break d}d=i>>>5|0;c=i&15;break b}d=i>>>5|0;if(!e){break d}n=0;break c}n=i&15}c=1}j=a+4|0;F[g>>2]=k;e:{f:{g:{if(b>>>0<2){break g}p=1;h:{if(!(!n|i>>>0<32)){k=1;while(1){if(!cc(j,q+12|0)){break f}F[(k<<2)+g>>2]=F[j>>2];l=F[o+80>>2];e=F[j>>2];a=G[(l+L(e,20)|0)+14|0];if((a>>>5|0)==(d|0)){a=((a&16?0:a&15)|0)==(n|0)}else{a=0}i:{if(a){break i}j:{switch(m|0){case 0:break j;case 1:break e;default:break i}}a=F[o+72>>2];e=F[o+84>>2];while(1){if(!a){break h}a=a-1|0;m=e+L(a,20)|0;i=G[m+14|0];if((i>>>5|0)!=(d|0)){break h}if(!(i&15?i&16:1)){continue}break}l=1;e=H[m+12>>1];i=F[j+8>>2];k:{if(e&i&14){break k}l:{if(!(e&8)){break l}if(i&16){e=F[F[j+4>>2]+108>>2];a=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65538){break k}a=G[e+12|0]|G[e+13|0]<<8;if(a){a=e+((a<<8|a>>>8)&65535)|0}else{a=163632}if((G[a|0]|G[a+1|0]<<8)!=256){break k}r=a;e=i>>>16|0;i=(a+(e<<2)|0)+4|0;a=G[a+2|0]|G[a+3|0]<<8;a=e>>>0<((a<<8|a>>>8)&65535)>>>0?i:163632;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((qb(a?r+a|0:163632,F[m>>2])|0)==-1){break k}e=H[m+12>>1];break l}a=i&65280;if(!a){break l}if((a|0)!=(e&65280)){break k}}l=0;a=H[m+16>>1];if(e&16|(a&96)!=32|!G[j+12|0]&(a&543)==513){break k}l=G[j+13|0]?2:((a&287)!=257)<<1}if((l|0)!=1){break h}e=F[j>>2];l=F[o+80>>2];m=2}a=1;e=L(e,20)+l|0;m:{if(!(G[e+12|0]&4)){break m}e=G[e+14|0];if(!(e&16)){break m}a=e&15}c=a+c|0;k=k+1|0;p=k>>>0>>0;if((b|0)!=(k|0)){continue}break}break g}while(1){if(!cc(j,q+12|0)){break f}F[(p<<2)+g>>2]=F[j>>2];a=F[o+80>>2]+L(F[j>>2],20)|0;n=G[a+14|0];m=n&15;e=n&16;if(!(e|((n>>>5|0)==(d|0)|n>>>0<32))){if(m){break e}}c=(H[a+12>>1]&4?e?m:1:1)+c|0;p=p+1|0;if((p|0)!=(b|0)){continue}break}break g}a=0;if(p&1){break a}}a=1;F[f>>2]=F[j>>2]+1;if(!h){break a}F[h>>2]=c;break a}F[f>>2]=F[q+12>>2]}a=0}Ga=q+16|0;return a}function Gf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;F[a>>2]=0;F[a+4>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+192>>2]=0;F[a+196>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;D[a+21|0]=0;D[a+22|0]=0;D[a+23|0]=0;D[a+24|0]=0;D[a+25|0]=0;D[a+26|0]=0;D[a+27|0]=0;D[a+28|0]=0;F[a+100>>2]=0;F[a+92>>2]=0;F[a+96>>2]=0;D[a+44|0]=0;F[a+40>>2]=65536;F[a+56>>2]=0;F[a+60>>2]=0;c=a- -64|0;F[c>>2]=0;F[c+4>>2]=0;F[a+72>>2]=0;F[a+76>>2]=0;F[a+80>>2]=0;F[a+84>>2]=0;F[a+200>>2]=0;F[a+204>>2]=0;F[a+208>>2]=0;F[a+212>>2]=0;F[a+216>>2]=0;F[a+220>>2]=0;F[a+224>>2]=0;F[a+228>>2]=0;F[a+232>>2]=0;F[a+236>>2]=0;F[a+240>>2]=0;F[61902]=0;ea(681,a|0,b|0);b=F[61902];F[61902]=0;if((b|0)!=1){a:{b:{if(!F[a>>2]|F[a+148>>2]!=-1){break b}if(F[a+216>>2]){while(1){F[61902]=0;g=uh(a,h);b=F[61902];F[61902]=0;c:{d:{if((b|0)!=1){if(g>>>0>390){break d}b=g<<2;c=F[b+115968>>2];j=F[b+115972>>2]+(c^-1)|0;i=c+109072|0;break c}break a}b=F[a+64>>2];F[61902]=0;Jd(f,b,g-391|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}i=F[f>>2];if(i){j=F[f+4>>2];break c}F[61902]=0;_(657,a|0);b=F[61902];F[61902]=0;if((b|0)!=1){break b}break a}c=F[a+232>>2];e:{if((c|0)<0){b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;break e}f:{e=c;b=F[a+236>>2];d=b+1|0;d=(d|0)>0?d:0;if(c>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(d>>>0>=e>>>0){continue}break}if(c>>>0>e>>>0|e>>>0>268435454){break f}b=ob(F[a+240>>2],e<<4);if(!b){break f}F[a+232>>2]=e;F[a+240>>2]=b;b=F[a+236>>2]}if(b>>>0>>0){while(1){F[a+236>>2]=b+1;b=F[a+240>>2]+(b<<4)|0;F[b>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;b=F[a+236>>2];if(d>>>0>b>>>0){continue}break}}F[a+236>>2]=d;c=F[a+240>>2];b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=c+(d-1<<4)|0;if((b|0)==246432){break e}F[b>>2]=i;E[b+12>>1]=g;F[b+8>>2]=0;F[b+4>>2]=j;break e}F[a+232>>2]=-1;b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b}h=h+1|0;if(h>>>0>2]){continue}break}}b=F[a+236>>2];if(!b){break b}ro(F[a+240>>2],b,16)}Ga=f+16|0;return a|0}}b=Z()|0;Y()|0;F[a+236>>2]=0;Ta(F[a+240>>2]);F[a+240>>2]=0;F[a+232>>2]=0;F[a+236>>2]=0;F[a+224>>2]=0;Ta(F[a+228>>2]);F[a+228>>2]=0;F[a+220>>2]=0;F[a+224>>2]=0;Io(a);$(b|0);V()}function Iv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ga-48|0;Ga=e;a:{b:{c:{if(!ab(b,21380)){f=6;if(d){break a}d=F[c>>2];b=0;c=14512;while(1){if(!((d|0)!=F[c+8>>2]|F[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=F[(c<<2)+16608>>2];if((d|0)==F[g+8>>2]&F[g+16>>2]==10){break c}c=b+2|0;g=F[(c<<2)+16608>>2];if((d|0)==F[g+8>>2]&F[g+16>>2]==10){break c}b=b+3|0;c=F[(b<<2)+16608>>2];if((b|0)!=87){continue}break}break a}if(!ab(b,21396)){f=6;if(d){break a}F[a+16>>2]=F[c>>2];break b}if(!ab(b,21411)){f=6;if(d){break a}b=F[c>>2];if(!b){f=35;break a}d=F[b+116>>2];F[e+16>>2]=d;if(!d){f=Ye(b,e+16|0,a);if(f){break a}d=F[e+16>>2];F[b+116>>2]=d;F[b+120>>2]=1}F[d+12>>2]=F[c+4>>2];break b}if(!ab(b,21429)){if(d){f=6;d:{switch(Lb(c,0)|0){case 0:f=0;D[a+20|0]=0;break a;case 1:break d;default:break a}}D[a+20|0]=1;break b}D[a+20|0]=G[c|0];break b}if(!ab(b,21437)){e:{if(d){b=Lb(c,e+12|0);f:{d=F[e+12>>2];g:{if(G[d|0]!=44|(c|0)==(d|0)){break g}d=d+1|0;l=e,m=Lb(d,e+12|0),F[l+20>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+24>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+28>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+32>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+36>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+40>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+44>>2]=m;f=F[e+12>>2];if((G[f|0]|32)==32){break f}}f=6;break a}c=e+16|0;if((d|0)!=(f|0)){break e}f=6;break a}b=F[c>>2]}f=6;if((b|0)<0){break a}d=F[c+8>>2];if((d|0)<0){break a}g=F[c+16>>2];if((g|0)<0){break a}h=F[c+24>>2];if((h|0)<0){break a}i=F[c+4>>2];if((i|0)<0){break a}j=F[c+12>>2];if((j|0)<0){break a}k=F[c+20>>2];if((k|0)<0){break a}c=F[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}F[a+48>>2]=h;F[a+36>>2]=j;F[a+24>>2]=b;F[a+52>>2]=c;F[a+44>>2]=k;F[a+40>>2]=g;F[a+32>>2]=d;F[a+28>>2]=i;break b}f=12;if(ab(b,21458)){break a}if(d){f=0;if(!Lb(c,0)){D[a+21|0]=0;break a}D[a+21|0]=1;break a}D[a+21|0]=G[c|0];break b}F[a+12>>2]=c}f=0}Ga=e+48|0;return f|0}function Vs(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=Ga-16|0;Ga=m;h=F[a+12>>2];k=F[a+200>>2];b=F[a+196>>2];l=E[a+32>>1];a:{if(l){if(I[h+8>>2]>1]+(E[h+20>>1]+l|0)>>>0){c=Ub(h,0,l);if(c){break a}}c=20;if((l|0)>4094){break a}}c=20;e=l<<1;if((e+b|0)+2>>>0>k>>>0){break a}d=F[h+68>>2];i=G[b|0];j=G[b+1|0]|i<<8;if((l|0)>0){E[d>>1]=j}if(i<<24>>16<0){break a}i=d+e|0;while(1){e=d+2|0;if(e>>>0>>0){d=G[b+2|0]|G[b+3|0]<<8;f=d<<8|d>>>8;E[e>>1]=f;g=j<<16;d=e;e=f<<16>>16;j=e;b=b+2|0;if((e|0)>g>>16){continue}break a}break}e=F[h+4>>2];f=E[h+58>>1];if((l|0)<=0){i=0}else{d=E[d>>1];if((d|0)<-1){break a}i=d+1|0}d=i+4|0;if(e>>>0>1]|0)>>>0){c=Ub(h,d,0);if(c){break a}}d=F[a+8>>2];F[d+136>>2]=0;F[d+140>>2]=0;e=b+4|0;if(e>>>0>k>>>0){c=20;break a}b=G[b+2|0]|G[b+3|0]<<8;b=b<<8|b>>>8;b:{c:{d:{e:{if(G[a+16|0]&2){d=b&65535;break e}d=b&65535;if((d|0)>(k-e|0)){break d}c=F[a+156>>2];F[m+12>>2]=F[c+392>>2];c=tj(F[c+8>>2],m+12|0,c+396|0,d);f=F[a+156>>2];F[f+392>>2]=H[m+12>>1];if(c){break a}c=F[a+8>>2];F[c+140>>2]=d;g=c;c=F[f+396>>2];F[g+136>>2]=c;if(!(b&65535)){break e}Ya(c,e,d)}b=d+e|0;if((i|0)>0){e=F[h- -64>>2];c=i+e|0;while(1){f=b+1|0;if(f>>>0>k>>>0){c=20;break a}g=G[b|0];D[e|0]=g;d=e+1|0;f:{if(!(g&8)){b=f;break f}b=b+2|0;if(k>>>0>>0){c=20;break a}f=G[f|0];if(c>>>0>>0){c=20;break a}if(!f){break f}Wa(d,g,f);d=((f-1&255)+e|0)+2|0}e=d;if(c>>>0>d>>>0){continue}break}}c=F[h+64>>2];if(!(!i|!(G[c|0]&64))){F[h+36>>2]=F[h+36>>2]|64}if(b>>>0>k>>>0){c=20;break a}if((i|0)<=0){break b}f=F[h+60>>2];o=f+(i<<3)|0;d=f;e=c;while(1){n=G[e|0];g:{if(n&2){g=b+1|0;if(g>>>0>k>>>0){c=20;break a}b=G[b|0];j=n&16?b:0-b|0;b=g;break g}j=0;if(n&16){break g}g=b+2|0;if(g>>>0>k>>>0){c=20;break a}b=G[b|0]|G[b+1|0]<<8;j=(b<<8|b>>>8)<<16>>16;b=g}p=j+p|0;F[d>>2]=p;e=e+1|0;d=d+8|0;if(o>>>0>d>>>0){continue}break}break c}c=22;break a}j=0;if((i|0)<=0){break b}while(1){g=G[c|0];h:{if(g&4){e=b+1|0;if(e>>>0>k>>>0){c=20;break a}b=G[b|0];d=g&32?b:0-b|0;b=e;break h}d=0;if(g&32){break h}e=b+2|0;if(e>>>0>k>>>0){c=20;break a}b=G[b|0]|G[b+1|0]<<8;d=(b<<8|b>>>8)<<16>>16;b=e}j=d+j|0;F[f+4>>2]=j;D[c|0]=g&1;c=c+1|0;f=f+8|0;if(o>>>0>f>>>0){continue}break}}E[h+56>>1]=l;E[h+58>>1]=i;F[a+196>>2]=b;c=0}Ga=m+16|0;return c|0}function sj(a,b){var c=0,d=0,e=0,f=0;f=F[F[a>>2]+96>>2];e=F[F[a+8>>2]+140>>2];if((e|0)>0){Ya(F[a+132>>2],F[a+136>>2],H[a+128>>1]<<3)}Ya(F[a+156>>2]+288|0,F[a+4>>2]+180|0,68);a:{if(b){c=F[a+156>>2];F[c+224>>2]=65536;F[c+228>>2]=65536;Ya(F[a+140>>2],F[a+136>>2],H[a+128>>1]<<3);break a}c=F[a+156>>2];d=F[F[a+4>>2]+44>>2];F[c+224>>2]=F[d+4>>2];F[c+228>>2]=F[d+8>>2]}c=F[a+136>>2]+(H[a+128>>1]<<3)|0;d=c-32|0;F[d>>2]=F[d>>2]+32&-64;d=c-24|0;F[d>>2]=F[d>>2]+32&-64;d=c-12|0;F[d>>2]=F[d>>2]+32&-64;c=c-4|0;F[c>>2]=F[c>>2]+32&-64;b:{if((e|0)>0){d=F[F[a+12>>2]- -64>>2];c=F[a+156>>2];D[c+564|0]=b;F[c+468>>2]=e;F[c+464>>2]=F[c+396>>2];b=F[a+124>>2];F[c+144>>2]=F[a+120>>2];F[c+148>>2]=b;b=F[a+132>>2];F[c+152>>2]=F[a+128>>2];F[c+156>>2]=b;b=F[a+140>>2];F[c+160>>2]=F[a+136>>2];F[c+164>>2]=b;b=F[a+148>>2];F[c+168>>2]=F[a+144>>2];F[c+172>>2]=b;F[c+176>>2]=F[a+152>>2];b=F[a+156>>2];F[b+364>>2]=0;F[b+356>>2]=3;c=F[b+148>>2];F[b+36>>2]=F[b+144>>2];F[b+40>>2]=c;F[b+368>>2]=F[b+468>>2];c=F[b+156>>2];F[b+44>>2]=F[b+152>>2];F[b+48>>2]=c;c=F[b+164>>2];F[b+52>>2]=F[b+160>>2];F[b+56>>2]=c;c=F[b+172>>2];F[b+60>>2]=F[b+168>>2];F[b+64>>2]=c;F[b+68>>2]=F[b+176>>2];F[b+360>>2]=F[b+464>>2];c=F[b+148>>2];F[b+72>>2]=F[b+144>>2];F[b+76>>2]=c;c=F[b+156>>2];F[b+80>>2]=F[b+152>>2];F[b+84>>2]=c;c=F[b+164>>2];F[b+88>>2]=F[b+160>>2];F[b+92>>2]=c;c=F[b+172>>2];F[b+96>>2]=F[b+168>>2];F[b+100>>2]=c;F[b+104>>2]=F[b+176>>2];F[b+140>>2]=F[b+176>>2];c=F[b+172>>2];F[b+132>>2]=F[b+168>>2];F[b+136>>2]=c;c=F[b+164>>2];F[b+124>>2]=F[b+160>>2];F[b+128>>2]=c;c=F[b+156>>2];F[b+116>>2]=F[b+152>>2];F[b+120>>2]=c;c=F[b+148>>2];F[b+108>>2]=F[b+144>>2];F[b+112>>2]=c;E[b+352>>1]=1;F[b+348>>2]=65537;E[b+298>>1]=16384;E[b+300>>1]=0;E[b+302>>1]=16384;E[b+304>>1]=0;F[b+316>>2]=1;E[b+294>>1]=16384;E[b+296>>1]=0;F[b+308>>2]=1;F[b+432>>2]=0;F[b+16>>2]=0;b=Ia[F[F[b>>2]+708>>2]](b)|0;c=F[a+156>>2];if(G[c+565|0]?b:0){break b}D[d|0]=G[d|0]|G[c+344|0]<<5|4}if(F[f+64>>2]==40){b=0;if(G[F[a+156>>2]+615|0]){break b}}b=F[a+136>>2]+(H[a+128>>1]<<3)|0;c=b-32|0;e=F[c+4>>2];F[a+68>>2]=F[c>>2];F[a+72>>2]=e;c=b-24|0;e=F[c+4>>2];F[a+76>>2]=F[c>>2];F[a+80>>2]=e;c=b-16|0;e=F[c+4>>2];F[a+180>>2]=F[c>>2];F[a+184>>2]=e;b=b-8|0;c=F[b+4>>2];F[a+188>>2]=F[b>>2];F[a+192>>2]=c;b=0}return b}function yd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ga-16|0;Ga=f;F[f+8>>2]=0;a:{b:{c:{d:{e:{e=F[a+8>>2];f:{if(I[a+4>>2]<=e+3>>>0){break f}g:{h:{d=F[a+20>>2];if(d){if((Ia[d|0](a,e,f+12|0,4)|0)!=4){break f}e=F[a+8>>2];d=F[f+8>>2];g=f+12|0;break h}d=F[a>>2];if(d){g=d+e|0;d=0;break h}h=e+4|0;F[a+8>>2]=h;d=0;break g}g=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);h=e+4|0;F[a+8>>2]=h;if(d){break a}d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24)}g=d;d=2;if((b|0)!=(g|0)){break a}F[f+8>>2]=0;if(I[a+4>>2]<=e+7>>>0){break f}b=F[a+20>>2];i:{if(!b){F[a+8>>2]=h+4;break i}if((Ia[b|0](a,h,f+12|0,4)|0)!=4){break f}d=F[f+8>>2];h=F[a+8>>2];F[a+8>>2]=h+4;if(d){break a}}e=h+20|0;b=F[a+20>>2];j:{if(b){d=85;if(Ia[b|0](a,e,0,0)|0){break a}b=F[a+4>>2];break j}d=85;b=F[a+4>>2];if(e>>>0>b>>>0){break a}}F[a+8>>2]=e;F[f+8>>2]=0;if(h+21>>>0>=b>>>0){break f}b=F[a+20>>2];if(!b){break e}if((Ia[b|0](a,e,f+12|0,2)|0)==2){break d}}d=85;F[f+8>>2]=85;break a}b=F[a>>2];if(!b){break c}d=b+e|0;b=G[d+1|0];g=G[d|0];e=h+22|0;F[a+8>>2]=e;break b}b=G[f+13|0];g=G[f+12|0];d=F[f+8>>2];e=F[a+8>>2]+2|0;F[a+8>>2]=e;if(!d){break b}break a}F[a+8>>2]=h+22;d=2;break a}d=2;h=(b&255|g<<8)&65535;if(!h){break a}g=0;F[f+8>>2]=0;k:{if(I[a+4>>2]<=e+3>>>0){break k}while(1){l:{m:{n:{o:{p:{q:{b=F[a+20>>2];r:{if(b){if((Ia[b|0](a,e,f+12|0,4)|0)!=4){break k}e=F[a+8>>2];d=F[f+8>>2];b=f+12|0;break r}b=F[a>>2];if(!b){break q}d=0;b=b+e|0}i=G[b+3|0];j=G[b+2|0];k=G[b+1|0];l=G[b|0];b=e+4|0;F[a+8>>2]=b;if(d){break a}if((k<<16|l<<24|j<<8|i)==2){F[f+8>>2]=0;s:{if(I[a+4>>2]<=e+7>>>0){break s}d=F[a+20>>2];if(d){if((Ia[d|0](a,b,f+12|0,4)|0)!=4){break s}b=F[a+8>>2];e=F[f+8>>2];d=f+12|0;break n}d=F[a>>2];if(d){d=b+d|0;e=0;break n}F[a+8>>2]=e+8;b=0;break m}F[f+8>>2]=85;break l}d=e+12|0;b=F[a+20>>2];if(!b){break p}if(!(Ia[b|0](a,d,0,0)|0)){break o}d=85;break a}F[a+8>>2]=e+4;d=e+12|0}if(d>>>0<=I[a+4>>2]){break o}d=85;break a}F[a+8>>2]=d;F[f+8>>2]=0;break l}d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);F[a+8>>2]=b+4;if(e){break l}b=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24)}Bb(a,f+8|0);if(F[f+8>>2]){break l}F[c>>2]=b;d=0;break a}g=g+1|0;if((h|0)==(g|0)){d=2;break a}e=F[a+8>>2];F[f+8>>2]=0;if(I[a+4>>2]>e+3>>>0){continue}break}}d=85}Ga=f+16|0;return d}function QB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;F[b>>2]=0;F[b+4>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b+24>>2]=0;F[b+28>>2]=-1;i=G[163632];k=i|256;f=!G[a+16|0];while(1){a:{c=F[a+12>>2];d=c+1|0;g=F[a+4>>2];j=d>>>0<=g>>>0&f;if(!j){break a}b:{c:{if(c>>>0>>0){h=F[a>>2];f=G[h+c|0];if((f|0)==12){c=k;if(d>>>0>=g>>>0){break c}f=G[d+h|0]|256;c=d}if(c>>>0>=g>>>0){c=f;break c}F[a+12>>2]=c+1;break b}D[a+16|0]=1;f=65535;c=i;if((c|0)==12){break b}}D[a+16|0]=1;F[a+12>>2]=g;f=c}d:{e:{f:{g:{h:{i:{j:{switch(f-18|0){default:k:{switch(f-261|0){case 0:case 2:break g;case 1:break i;default:break k}}if((f|0)!=294){break i}g=a+24|0;c=F[g>>2];l:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break l}e=K[F[a+36>>2]+(c<<3)>>3];break l}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}m:{if(N(e)<2147483648){c=~~e;break m}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+28>>2]=c;break f;case 0:g=a+24|0;c=F[g>>2];n:{if(c){c=c-1|0;F[a+24>>2]=c;if(I[a+32>>2]<=c>>>0){d=F[40909];h=F[40908];F[61608]=h;F[61609]=d;x(0,h|0);x(1,d|0);e=+z();break n}e=K[F[a+36>>2]+(c<<3)>>3];break n}D[a+20|0]=1;c=0;d=F[40909];h=F[40908];F[61608]=h;F[61609]=d;x(0,h|0);x(1,d|0);e=+z()}o:{if(N(e)<2147483648){d=~~e;break o}d=-2147483648}if((d|0)<0){D[a+20|0]=1;d=0}F[b+16>>2]=d;p:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z();break p}e=K[F[a+36>>2]+(c<<3)>>3];break p}D[a+20|0]=1;c=F[40909];d=F[40908];F[61608]=d;F[61609]=c;x(0,d|0);x(1,c|0);e=+z()}q:{if(N(e)<2147483648){c=~~e;break q}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+20>>2]=c;break f;case 11:ze(a+20|0,a);break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 12:break j}}e=ye(a);c=F[a+24>>2];if(c>>>0>2]){F[a+24>>2]=c+1;K[F[a+36>>2]+(c<<3)>>3]=e;break h}D[a+20|0]=1;c=F[40909];F[61608]=F[40908];F[61609]=c;K[30804]=e;break h}Id(f,a)}if(!F[a+24>>2]){break e}break d}g=a+24|0}F[g>>2]=0}if(G[a+20|0]|(G[a+40|0]|G[a+16|0])|F[a+28>>2]<0){break d}Ef(b,f,a)}if(G[a+20|0]|(G[a+40|0]|G[a+16|0])){break a}f=1;if(F[a+28>>2]>=0){continue}}break}return!j|0}function hg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;F[a+4>>2]=c;F[a>>2]=b;if(c){F[a+400>>2]=F[c+124>>2];F[a+404>>2]=F[c+128>>2];F[a+412>>2]=F[c+136>>2];F[a+416>>2]=F[c+140>>2];F[a+408>>2]=F[c+132>>2];F[a+420>>2]=F[c+144>>2];F[a+216>>2]=F[c+120>>2];d=F[c+80>>2];F[a+248>>2]=F[c+76>>2];F[a+252>>2]=d;d=F[c+88>>2];F[a+256>>2]=F[c+84>>2];F[a+260>>2]=d;d=F[c+96>>2];F[a+264>>2]=F[c+92>>2];F[a+268>>2]=d;d=F[c+104>>2];F[a+272>>2]=F[c+100>>2];F[a+276>>2]=d;d=F[c+112>>2];F[a+280>>2]=F[c+108>>2];F[a+284>>2]=d;d=F[c+44>>2];e=F[d+4>>2];F[a+220>>2]=F[d>>2];F[a+224>>2]=e;e=F[d+12>>2];F[a+228>>2]=F[d+8>>2];F[a+232>>2]=e;e=F[d+20>>2];F[a+236>>2]=F[d+16>>2];F[a+240>>2]=e;F[a+244>>2]=F[d+24>>2];F[a+424>>2]=F[c+148>>2];F[a+428>>2]=F[c+152>>2];d=F[c+160>>2];F[a+448>>2]=F[c+156>>2];F[a+452>>2]=d;d=F[c+168>>2];F[a+456>>2]=F[c+164>>2];F[a+460>>2]=d;d=F[c+176>>2];F[a+464>>2]=F[c+172>>2];F[a+468>>2]=d;Ya(a+288|0,c+180|0,68);F[a+384>>2]=F[c+248>>2];F[a+388>>2]=F[c+252>>2];E[a+472>>1]=H[c+256>>1];F[a+476>>2]=F[c+260>>2];d=F[c+268>>2];F[a+180>>2]=F[c+264>>2];F[a+184>>2]=d;d=F[c+276>>2];F[a+188>>2]=F[c+272>>2];F[a+192>>2]=d;d=F[c+284>>2];F[a+196>>2]=F[c+280>>2];F[a+200>>2]=d;d=F[c+292>>2];F[a+204>>2]=F[c+288>>2];F[a+208>>2]=d;F[a+212>>2]=F[c+296>>2];Wa(a+36|0,0,108)}e=F[a+8>>2];a:{b:{c:{c=H[b+284>>1]+32|0;d=F[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}i=a,j=Va(e,1,d<<2,c<<2,F[a+24>>2],f+8|0),F[i+24>>2]=j;e=F[f+8>>2];if(e){break c}e=F[a+8>>2]}F[a+20>>2]=c;c=H[b+286>>1];b=F[a+392>>2];if(c>>>0<=b>>>0){c=b;break b}i=a,j=Va(e,1,b,c,F[a+396>>2],f+12|0),F[i+396>>2]=j;e=F[f+12>>2];if(!e){break b}F[a+392>>2]=b&65535;break a}F[a+20>>2]=d;break a}e=0;F[a+152>>2]=0;F[a+392>>2]=c&65535;b=F[a+148>>2];c=F[a+144>>2];F[a+72>>2]=c;F[a+76>>2]=b;F[a+108>>2]=c;F[a+112>>2]=b;F[a+36>>2]=c;F[a+40>>2]=b;b=F[a+164>>2];c=F[a+160>>2];F[a+88>>2]=c;F[a+92>>2]=b;d=F[a+172>>2];g=F[a+168>>2];F[a+96>>2]=g;F[a+100>>2]=d;h=F[a+176>>2];F[a+104>>2]=h;F[a+124>>2]=c;F[a+128>>2]=b;F[a+132>>2]=g;F[a+136>>2]=d;F[a+140>>2]=h;F[a+52>>2]=c;F[a+56>>2]=b;F[a+60>>2]=g;F[a+64>>2]=d;F[a+68>>2]=h;b=F[a+156>>2];c=F[a+152>>2];F[a+80>>2]=c;F[a+84>>2]=b;F[a+116>>2]=c;F[a+120>>2]=b;F[a+44>>2]=c;F[a+48>>2]=b;D[a+492|0]=0}Ga=f+16|0;return e}function Wj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=Ga-16|0;Ga=d;c=F[a+104>>2];b=Ia[F[a+516>>2]](a,1886352244,c,d+4|0)|0;a:{if(b){break a}i=F[c+8>>2];l=F[d+4>>2];e=F[a+476>>2];b=Fb(c,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=151552){b=3;if((e|0)!=131072){break b}e=F[c+28>>2];h=fb(c,d+8|0);b=F[d+8>>2];if(b){break b}b=3;if(h>>>0>H[a+264>>1]){break b}k=Va(e,2,0,h,0,d+8|0);if(F[d+8>>2]){break c}b=tb(c,h<<1);F[d+8>>2]=b;if(b){break c}if(!h){break f}b=0;while(1){r=k+(b<<1)|0,s=xb(c),E[r>>1]=s;b=b+1|0;if((h|0)!=(b|0)){continue}break}lb(c);m=h&1;g:{if((h|0)==1){b=0;break g}n=h&65534;b=0;while(1){j=f<<1;o=H[k+(j|2)>>1];p=o-257|0;j=H[k+j>>1];q=j-257|0;b=j>>>0>257?(b&65535)<(q|0)?q:b:b;b=o>>>0>257?(b&65535)<(p|0)?p:b:b;f=f+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}if(!m){break d}f=H[k+(f<<1)>>1];g=f-257|0;b=f>>>0>257?(g|0)>(b&65535)?g:b:b;break d}h=F[c+28>>2];e=fb(c,d+12|0);b=F[d+12>>2];if(b){break b}b=3;if(H[a+264>>1]<=(e-1&65535)>>>0|e>>>0>258){break b}b=0;f=Va(h,1,0,e,0,d+12|0);h:{if(F[d+12>>2]){break h}c=Gb(c,f,e);F[d+12>>2]=c;if(c){break h}while(1){c=D[b+f|0]+b|0;if(!((c|0)<0|(c|0)>(e|0))){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}F[d+12>>2]=3}if(f){Ia[F[h+8>>2]](h,f)}b=F[d+12>>2];break b}lb(c);b=0;break d}F[a+640>>2]=f;E[a+636>>1]=e;b=0;break b}g=0;m=b&65535;f=Va(e,4,0,m,0,d+8|0);if(F[d+8>>2]){break c}i:{j:{if(!m){break j}l=i+l|0;while(1){if(l>>>0<=I[c+8>>2]){if((b&65535)>>>0<=(g&65535)>>>0){break j}while(1){c=Va(e,1,0,1,0,d+8|0);F[(g<<2)+f>>2]=c;if(F[d+8>>2]){break i}D[c|0]=0;g=g+1|0;if((m|0)!=(g|0)){continue}break}break j}i=Jb(c,d+8|0);if(F[d+8>>2]){break i}i=i&255;if(!(l>>>0>=i>>>0&I[c+8>>2]<=l-i>>>0)){i=l-F[c+8>>2]|0;i=(i|0)>0?i:0}n=(g<<2)+f|0;j=Va(e,1,0,i+1|0,0,d+8|0);F[n>>2]=j;if(F[d+8>>2]){break i}j=Gb(c,j,i);F[d+8>>2]=j;if(j){break i}D[F[n>>2]+i|0]=0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}F[a+644>>2]=f;F[a+640>>2]=k;E[a+638>>1]=b;E[a+636>>1]=h;b=0;break b}b=b&65535;c=b>>>0>1?b:1;b=0;while(1){h=(b<<2)+f|0;g=F[h>>2];if(g){Ia[F[e+8>>2]](e,g)}F[h>>2]=0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(f){Ia[F[e+8>>2]](e,f)}if(k){Ia[F[e+8>>2]](e,k)}b=F[d+8>>2]}D[a+632|0]=1}Ga=d+16|0;return b}function cz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=Ga-16|0;Ga=m;b=3;e=F[a+32>>2];a:{if(!e){break a}c=F[e+364>>2];if(!c){break a}h=F[c+588>>2];b=F[c+584>>2];e=F[e+360>>2];b:{if(!(!G[c+556|0]|(e|0)!=F[c+564>>2]|(b|0)!=F[c+568>>2])){if(!b){break b}if(!hc(h,F[c+572>>2],b<<2)){break b}}b=Fm(c+556|0,e,b,h);if(b){break a}}b=3;n=vc(a,F[F[a+20>>2]-4>>2]);if(n>>>0>I[a+24>>2]){break a}e=F[F[c+560>>2]+8>>2];F[m+12>>2]=0;b=161;f=(F[a+20>>2]-F[a+16>>2]|0)-4>>2;g=L(F[c+576>>2],n);c:{if(f>>>0>>0){break c}b=F[c+604>>2];i=F[c+600>>2];h=L(n,5);d:{if(b>>>0>=i+h>>>0){break d}j=F[c+596>>2];d=e;e=F[c+592>>2];d=Va(d,1,b,b+h|0,e,m+12|0);F[c+592>>2]=d;b=F[m+12>>2];if(b){break c}i=F[c+600>>2];F[c+596>>2]=d+i;F[c+604>>2]=h+F[c+604>>2];if(!e|(d|0)==(e|0)){break d}b=F[a+16>>2];k=F[a+20>>2];if(b>>>0>=k>>>0){break d}l=d-e|0;while(1){d=F[b>>2];if(!(d>>>0>>0|d>>>0>=j>>>0)){F[b>>2]=d+l;k=F[a+20>>2]}b=b+4|0;if(k>>>0>b>>>0){continue}break}}F[c+600>>2]=h+i;p=f-g|0;h=p+n|0;if(n){e=h;while(1){b=F[c+580>>2];q=o+p<<2;j=vc(a,F[q+F[a+16>>2]>>2])<<16;k=1;i=F[c+576>>2];if(i>>>0>=2){while(1){b=b+4|0;e:{f:{d=F[F[a+16>>2]+(e<<2)>>2];g=G[d|0];if((g|0)!=255){if((g|0)!=30){break f}f=xf(a,d,0,0)>>16;i=F[c+576>>2];break e}f=((G[d+3|0]|(G[d+2|0]<<8|G[d+1|0]<<16))<<8)+32768>>16;break e}l=d+1|0;g:{switch(g-28|0){case 0:f=0;if(I[a+8>>2]<=d+2>>>0){break e}f=(G[d+2|0]|G[l|0]<<8)<<16>>16;break e;case 1:f=0;if(I[a+8>>2]<=d+4>>>0){break e}d=G[d+1|0]|G[d+2|0]<<8|(G[d+3|0]<<16|G[d+4|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break e;default:break g}}if(g>>>0<=246){f=g-139|0;break e}d=F[a+8>>2];if(g>>>0<=250){f=0;if(d>>>0<=l>>>0){break e}f=(G[l|0]|g<<8)-63124|0;break e}f=0;if(d>>>0<=l>>>0){break e}f=64148-(G[l|0]|g<<8)|0}e=e+1|0;j=L(F[b>>2],f)+j|0;k=k+1|0;if(k>>>0>>0){continue}break}}F[F[a+16>>2]+q>>2]=F[c+596>>2];b=F[c+596>>2];F[c+596>>2]=b+1;D[b|0]=255;b=F[c+596>>2];F[c+596>>2]=b+1;D[b|0]=j>>>24;b=F[c+596>>2];F[c+596>>2]=b+1;D[b|0]=j>>>16;b=F[c+596>>2];F[c+596>>2]=b+1;D[b|0]=j>>>8;b=F[c+596>>2];F[c+596>>2]=b+1;D[b|0]=j;o=o+1|0;if((o|0)!=(n|0)){continue}break}b=F[m+12>>2]}else{b=0}F[a+20>>2]=F[a+16>>2]+(h<<2)}D[c+557|0]=1}Ga=m+16|0;return b|0}function Kb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(F[a+20>>2]==2){e=F[a+68>>2];m=c>>>0>e>>>0?e:c;h=m-b|0;if(h>>>0<2){break a}j=F[a+144>>2]|32;F[a+144>>2]=j;if(b>>>0>=m>>>0){break a}l=F[a+80>>2];d=-1;e=b;g=(e^-1)+m|0;if(g>>>0>=3){f=h&-4;while(1){k=L(e,20)+l|0;c=F[k+8>>2];d=c>>>0>d>>>0?d:c;c=F[k+28>>2];d=c>>>0>d>>>0?d:c;c=F[k+48>>2];d=c>>>0>d>>>0?d:c;c=F[k+68>>2];d=c>>>0>d>>>0?d:c;e=e+4|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=h&3;if(f){c=0;while(1){i=F[(L(e,20)+l|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(h&1){c=L(b,20)+l|0;if(F[c+8>>2]!=(d|0)){F[a+144>>2]=j;F[c+4>>2]=F[c+4>>2]|3}b=b+1|0}if(!g){break a}while(1){c=L(b,20)+l|0;if(F[c+8>>2]!=(d|0)){j=j|32;F[a+144>>2]=j;F[c+4>>2]=F[c+4>>2]|3}c=L(b+1|0,20)+l|0;if(F[c+8>>2]!=(d|0)){j=j|32;F[a+144>>2]=j;F[c+4>>2]=F[c+4>>2]|3}b=b+2|0;if((m|0)!=(b|0)){continue}break}break a}h=F[a+80>>2];i=F[(h+L(b,20)|0)+8>>2];d=i;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}k=(c-b|0)-2|0;g=(b^-1)+c&3;c:{if(!g){d=i;break c}d=i;while(1){f=F[(h+L(e,20)|0)+8>>2];d=d>>>0>>0?d:f;e=e+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(k>>>0<=2){break b}while(1){g=h+L(e,20)|0;f=F[g+8>>2];f=d>>>0>>0?d:f;d=F[g+28>>2];f=d>>>0>f>>>0?f:d;d=F[g+48>>2];f=d>>>0>f>>>0?f:d;d=F[g+68>>2];d=d>>>0>f>>>0?f:d;e=e+4|0;if((e|0)!=(c|0)){continue}break}}e=F[a+68>>2];d:{if(e>>>0<=c>>>0){break d}while(1){f=h+L(c,20)|0;if(F[f-12>>2]!=F[f+8>>2]){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}g=F[a+64>>2];f=b>>>0>g>>>0?g:b;while(1){e:{e=b;if(g>>>0>=e>>>0){e=f;break e}b=e-1|0;if((i|0)==F[(h+L(b,20)|0)+8>>2]){continue}}break}f:{if((e|0)!=(g|0)){break f}b=F[a+72>>2];if(!b){break f}f=h+L(g,20)|0;i=F[a+84>>2];while(1){b=b-1|0;g=i+L(b,20)|0;a=F[g+8>>2];if((a|0)!=F[f+8>>2]){break f}if((a|0)!=(d|0)){F[g+4>>2]=F[g+4>>2]&-4}F[g+8>>2]=d;if(b){continue}break}}if(c>>>0<=e>>>0){break a}a=e+1|0;if(c-e&1){b=h+L(e,20)|0;if(F[b+8>>2]!=(d|0)){F[b+4>>2]=F[b+4>>2]&-4}F[b+8>>2]=d;e=e+1|0}if((a|0)==(c|0)){break a}while(1){a=h+L(e,20)|0;if(F[a+8>>2]!=(d|0)){F[a+4>>2]=F[a+4>>2]&-4}F[a+8>>2]=d;a=h+L(e+1|0,20)|0;if(F[a+8>>2]!=(d|0)){F[a+4>>2]=F[a+4>>2]&-4}F[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function nx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Ga-80|0;Ga=j;e=Ge(b,c);a:{if(e){break a}e=F[b+2740>>2];if(!(e&1)){e=Sk(b,F[d+52>>2],d+56|0,0);if(e){break a}e=F[b+2740>>2]}b:{if(e&2){break b}e=Sk(b,F[d+9856>>2],d+9860|0,1);if(e){break a}if(G[(F[F[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=F[b+1404>>2];if((a|0)<=0){break b}i=F[b+1412>>2];q=i+L(a,44)|0;o=F[d+9848>>2];while(1){a=Ua(I[d+40>>2]/40|0,o);c:{if(!F[d+10064>>2]){break c}e=(a|0)<32?a:32;a=0;g=0;m=0;while(1){h=L(a,36)+d|0;f=F[h+10100>>2];d:{if(!(f&1)){break d}k=f>>>3&1;n=(f&6)!=0;if(!(k|n^F[b+1416>>2]==D[i+13|0])){break d}p=h+10068|0;l=E[i>>1]-F[p>>2]|0;f=l>>31;l=Ua((f^l)-f|0,o);f=(l|0)<(e|0);e=f?l:e;g=f?p:g;m=f?k:m;if(k|(!(D[i+12|0]&1)|!l)){break d}f=E[i>>1];if(((f|0)>2]|0)==(n|0)){break d}n=f;f=h+10080|0;k=n-F[f>>2]|0;h=k>>31;h=Ua((h^k)-h|0,o);if((h|0)>=(e|0)){break d}m=0;e=h;g=f}a=a+1|0;if(a>>>0>2]){continue}break}if(!g){break c}F[i+20>>2]=g;if(!(m&255)){break c}D[i+12|0]=G[i+12|0]|8}i=i+44|0;if(q>>>0>i>>>0){continue}break}}a=F[b+2740>>2];e:{if(!(F[d+24>>2]|a&8)){Am(j+16|0,b,j+12|0,j+8|0);d=F[b+24>>2];if((d|0)<=0){break e}a=F[b+28>>2];d=a+L(d,40)|0;e=F[j+8>>2];g=F[j+12>>2];while(1){r=a,s=Ua(E[a+12>>1],g)+e|0,F[r+16>>2]=s;a=a+40|0;if(d>>>0>a>>>0){continue}break}break e}if(a&1){break e}Qk(b,0);a=F[b+44>>2];if((a|0)>0){e=F[b+52>>2];g=e+L(a,44)|0;while(1){a=F[e+12>>2];if(a){d=e+36|0;f=F[a+8>>2];h=F[e+40>>2];while(1){a=F[d>>2];F[a+16>>2]=f;E[a>>1]=H[a>>1]|4;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}Og(b,0);Ng(b,0)}if(!(G[b+2740|0]&2)){Qk(b,1);a=F[b+1392>>2];if((a|0)>0){e=F[b+1400>>2];g=e+L(a,44)|0;while(1){a=F[e+12>>2];if(a){d=e+36|0;f=F[a+8>>2];h=F[e+40>>2];while(1){a=F[d>>2];F[a+20>>2]=f;E[a>>1]=H[a>>1]|8;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}Og(b,1);Ng(b,1)}d=F[b+24>>2];if((d|0)<=0){e=0;break a}a=F[b+28>>2];b=a+L(d,40)|0;d=F[c+4>>2];g=F[c+8>>2];while(1){F[d>>2]=F[a+16>>2];F[d+4>>2]=F[a+20>>2];e=0;c=H[a>>1];D[g|0]=c&1?0:c&2?2:1;g=g+1|0;d=d+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}Ga=j+80|0;return e|0}function ow(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;F[a+64>>2]=0;F[a+1140>>2]=b;j=a+1140|0;F[a+1344>>2]=j;k=a+112|0;F[a+1136>>2]=k;d=b+c|0;F[a+1148>>2]=d;F[a+1144>>2]=b;l=160;a:{if((c|0)<=0){break a}c=k;g=j;while(1){e=b+1|0;f=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{h=G[b|0];switch(h-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}f=2;break f}if(d>>>0<=e>>>0){break a}e=b+2|0;h=20;f=4;switch(G[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((h|0)==255){break d}}if(h>>>0<32){break a}l:{if(h>>>0<=246){b=h-139|0;break l}f=b+2|0;if(f>>>0>d>>>0){break a}if(h>>>0<=250){b=(G[e|0]|h<<8)-63124|0}else{b=64148-(G[e|0]|h<<8)|0}e=f}b=i?b:b<<16;f=(i|0)!=0;break c}f=24}h=f;if(i){break a}}b=F[(h<<2)+31200>>2];if((b|0)>c-k>>2){return 161}c=c-(b<<2)|0;m:{n:{o:{p:{switch(h-2>>>1|0){case 1:F[a+64>>2]=1;F[a+32>>2]=F[c>>2]+F[a+32>>2];F[a+36>>2]=F[c+4>>2]+F[a+36>>2];F[a+40>>2]=F[c+8>>2];b=F[c+12>>2];break m;case 9:m=c,n=_a(F[c>>2],F[c+4>>2]),F[m>>2]=n;c=c+4|0;i=0;b=e;break b;case 10:b=E[c+2>>1];d=F[a+1376>>2];if(d){b=ac(b,d);if(!b){break a}b=F[b>>2]}if((b|0)<0|F[a+1364>>2]<=(b|0)|(g-j|0)>180){break a}F[g>>2]=e;e=b<<2;d=e+F[a+1368>>2]|0;b=F[d>>2];F[g+16>>2]=b;f=F[a+1372>>2];q:{if(f){d=F[e+f>>2]+b|0;break q}e=b;b=F[a+1360>>2];b=e+((b|0)>0?b:0)|0;F[g+16>>2]=b;d=F[d+4>>2]}F[g+12>>2]=b;F[g+20>>2]=d;if(!b){break a}g=g+12|0;break o;case 0:break n;case 11:break p;default:break a}}if(g>>>0<=j>>>0){break a}g=g-12|0;d=F[g+8>>2];b=F[g>>2]}F[a+1344>>2]=g;break b}F[a+64>>2]=1;F[a+32>>2]=F[c>>2]+F[a+32>>2];F[a+40>>2]=F[c+4>>2];b=0}F[a+44>>2]=b;l=0;break a}e=b+5|0;if(d>>>0>>0){break a}b=G[b+1|0]|G[b+2|0]<<8|(G[b+3|0]<<16|G[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b-32001>>>0<=4294903294){f=1;if(!i){break c}break a}b=i?b:b<<16;f=(i|0)!=0}i=f;if((c-k|0)>1020){break a}F[c>>2]=b;c=c+4|0;b=e}F[a+1136>>2]=c;if(b>>>0>>0){continue}break}}return l|0}function iC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=M(0),h=0,i=M(0);b=Ga+-64|0;Ga=b;g=J[a+32>>2];F[b+24>>2]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b+36>>2]=0;F[b+40>>2]=0;F[b+44>>2]=0;F[b+48>>2]=0;F[b+52>>2]=0;F[b+56>>2]=0;F[b+60>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+12>>2]=e;F[b+8>>2]=d;J[b>>2]=g;D[b+4|0]=g==M(0);a:{e=F[a+16>>2];d=F[e+108>>2];b:{c:{if(d){break c}while(1){f=F[e+48>>2];if(!f){d=163632;break c}d:{d=ib(1,28);if(d){F[61902]=0;aa(674,d|0,f|0)|0;f=F[61902];F[61902]=0;if((f|0)!=1){f=F[e+108>>2];F[e+108>>2]=f?f:d;if(!f){break c}f=F[d+24>>2];F[61902]=0;_(579,f|0);f=F[61902];F[61902]=0;if((f|0)==1){break a}Ta(d);break d}break b}d=163632;f=F[e+108>>2];F[e+108>>2]=f?f:163632;if(f){break d}break c}d=F[e+108>>2];if(!d){continue}break}}F[61902]=0;d=da(675,d|0,a|0,c|0,b|0)|0;e=F[61902];F[61902]=0;e:{if((e|0)==1){break e}f:{if(d){break f}e=F[a+16>>2];d=F[e+112>>2];g:{if(d){break g}while(1){f=F[e+48>>2];if(!f){d=163632;break g}d=ib(1,244);h:{if(d){F[61902]=0;h=aa(676,d|0,f|0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break e}f=F[e+112>>2];F[e+112>>2]=f?f:d;if(!f){break g}De(h);Ta(d);break h}d=163632;f=F[e+112>>2];F[e+112>>2]=f?f:163632;if(!f){break g}}d=F[e+112>>2];if(!d){continue}break}}F[61902]=0;d=da(677,d|0,a|0,c|0,b|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break e}if(d){break f}e=F[a+16>>2];d=F[e+116>>2];i:{if(d){break i}while(1){f=F[e+48>>2];if(!f){d=163632;break i}d=ib(1,132);j:{if(d){F[61902]=0;h=aa(678,d|0,f|0)|0;f=F[61902];F[61902]=0;if((f|0)==1){break e}f=F[e+116>>2];F[e+116>>2]=f?f:d;if(!f){break i}xh(h);Ta(d);break j}d=163632;f=F[e+116>>2];F[e+116>>2]=f?f:163632;if(!f){break i}}d=F[e+116>>2];if(!d){continue}break}}F[61902]=0;da(679,d|0,a|0,c|0,b|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break e}}k:{if(F[b+16>>2]){c=b+16|0;d=F[b+12>>2];a=F[b+8>>2];i=J[b+20>>2];g=J[b+24>>2];if(!(i==J[b+28>>2]&g==J[b+32>>2])){e=F[a+36>>2];f=F[a+16>>2];F[61902]=0;ja(f|0,a|0,d|0,c|0,M(i),M(g),e|0);e=F[61902];F[61902]=0;if((e|0)==1){break k}}e=F[a+48>>2];f=F[a+28>>2];F[61902]=0;ba(f|0,a|0,d|0,c|0,e|0);a=F[61902];F[61902]=0;if((a|0)==1){break k}}Ga=b- -64|0;return}break a}}a=Z()|0;Y()|0;Gh(b);$(a|0);V()}ca(0)|0;Y()|0;Hb();V()}function eg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Ga-16|0;Ga=j;F[j+12>>2]=0;o=F[a+100>>2];k=F[a+736>>2];a:{b:{if(!k){e=Kd(a,0);F[j+12>>2]=e;if(e){break b}k=F[a+736>>2]}l=F[k+12>>2];e=F[l>>2];d=F[k+4>>2];if(!d){d=Va(o,4,0,e,0,j+12|0);F[k+4>>2]=d;if(F[j+12>>2]){break b}}e=b>>>0>e>>>0?e:b;c:{if(!e){break c}if(e-1>>>0>=3){i=e&-4;b=0;while(1){h=F[c>>2];if((h|0)!=F[d>>2]){F[d>>2]=h;f=1}h=F[c+4>>2];if((h|0)!=F[d+4>>2]){F[d+4>>2]=h;f=1}h=F[c+8>>2];if((h|0)!=F[d+8>>2]){F[d+8>>2]=h;f=1}h=F[c+12>>2];if((h|0)!=F[d+12>>2]){F[d+12>>2]=h;f=1}d=d+16|0;c=c+16|0;b=b+4|0;if((i|0)!=(b|0)){continue}break}}b=e&3;if(!b){break c}while(1){i=F[c>>2];if((i|0)!=F[d>>2]){F[d>>2]=i;f=1}d=d+4|0;c=c+4|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}i=F[l>>2];b=F[a+4>>2];d:{if(b&2147418112){if(e>>>0>=i>>>0){break d}c=F[(F[l+16>>2]+L(b>>>16|0,12)|0)-12>>2]+(e<<2)|0;h=i+(e^-1)|0;m=i-e&3;e:{if(!m){g=e;break e}b=0;g=e;while(1){n=F[c>>2];if((n|0)!=F[d>>2]){F[d>>2]=n;f=1}d=d+4|0;c=c+4|0;g=g+1|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}}if(h>>>0<3){break d}while(1){b=F[c>>2];if((b|0)!=F[d>>2]){F[d>>2]=b;f=1}b=F[c+4>>2];if((b|0)!=F[d+4>>2]){F[d+4>>2]=b;f=1}b=F[c+8>>2];if((b|0)!=F[d+8>>2]){F[d+8>>2]=b;f=1}b=F[c+12>>2];if((b|0)!=F[d+12>>2]){F[d+12>>2]=b;f=1}d=d+16|0;c=c+16|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}break d}if(e>>>0>=i>>>0){break d}h=i+(e^-1)|0;c=F[l+12>>2]+L(e,24)|0;m=i-e&3;f:{if(!m){g=e;break f}b=0;g=e;while(1){n=F[c+8>>2];if((n|0)!=F[d>>2]){F[d>>2]=n;f=1}d=d+4|0;c=c+24|0;g=g+1|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}}if(h>>>0<3){break d}while(1){b=F[c+8>>2];if((b|0)!=F[d>>2]){F[d>>2]=b;f=1}b=F[c+32>>2];if((b|0)!=F[d+4>>2]){F[d+4>>2]=b;f=1}b=F[c+56>>2];if((b|0)!=F[d+8>>2]){F[d+8>>2]=b;f=1}b=F[c+80>>2];if((b|0)!=F[d+12>>2]){F[d+12>>2]=b;f=1}d=d+16|0;c=c+96|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}}if(F[k+8>>2]){b=-1;if(!(f&255)){break a}}f=Va(o,4,0,i,0,j+12|0);if(F[j+12>>2]){break b}b=F[a+736>>2];if(!G[b+24|0]){Cj(a);b=F[a+736>>2]}Bj(b,e,F[k+4>>2],f);b=Qe(a,F[l>>2],f,0);F[j+12>>2]=b;if(b){break b}F[a+8>>2]=F[a+8>>2]&-32769|((e|0)!=0)<<15}if(f){Ia[F[o+8>>2]](o,f)}b=F[j+12>>2]}Ga=j+16|0;return b|0}function Hc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ga-16|0;Ga=h;e=F[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=G[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=G[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}F[h+8>>2]=e;f=Ic(h+8|0,b,10);e:{d=F[h+8>>2];if((e|0)!=(d|0)){if(G[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;F[h+8>>2]=i;f=Ic(h+8|0,b,f);d=F[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(G[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=G[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=D[f+31072|0]+L(e,10)|0;if((c|0)>0){c=c-1|0;break i}g=L(g,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=G[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}k=D[f+31072|0]+L(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?L(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((G[d|0]|32)!=101|k>>>0>=b>>>0)){F[h+12>>2]=k;j=Ic(h+12|0,b,10);o:{d=F[h+12>>2];if((k|0)!=(d|0)){if(G[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;F[h+12>>2]=f;j=Ic(h+12|0,b,j);d=F[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}F[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=L(e,10)}i=L(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}F[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=L(g,10);break q}e=(e|0)/10|0}if(!(e?0:a-10>>>0>=4294967277)){a=c;c=c+1|0;if(a>>>0>c>>>0){break l}continue}break}break a}if(!e){b=i;break k}b=_a(e,g)+i|0}f=m?0-b|0:b}Ga=h+16|0;return f}function lg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=F[a+88>>2];F[c>>2]=0;a:{if(!G[a+848|0]){F[a+828>>2]=0;F[a+832>>2]=0;F[a+836>>2]=0;F[a+840>>2]=0;F[a+844>>2]=0;F[a+848>>2]=0;k=8;e=H[a+152>>1];if(!e){break a}d=F[a+156>>2];e=d+(e<<4)|0;n=F[a+104>>2];while(1){b:{if(F[d>>2]==1111770656){i=F[d+12>>2];if(i){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}if(Za(n,F[d+8>>2])|i>>>0<8){break a}e=a+828|0;if($b(n,i,e)){break a}g=F[a+828>>2];F[a+832>>2]=g+i;c:{d:{if((G[g+1|0]|G[g|0]<<8)!=1){break d}h=G[g+4|0]|G[g+5|0]<<8|(G[g+6|0]<<16|G[g+7|0]<<24);d=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(d>>>0<8){break d}h=G[g+3|0];f=h|G[g+2|0]<<8;if(i>>>0>>0|f>>>0>d-8>>>2>>>0){break d}F[a+840>>2]=i-d;l=d+g|0;F[a+836>>2]=l;F[a+844>>2]=f;d=g+8|0;k=d+(f<<2)|0;e:{if(!f){break e}g=f-1|0;i=h&3;if(i){h=d;while(1){f=f-1|0;k=L(G[h+3|0]|G[h+2|0]<<8,10)+k|0;d=h+4|0;h=d;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(g>>>0<3){break e}while(1){k=(((L(G[d+3|0]|G[d+2|0]<<8,10)+k|0)+L(G[d+7|0]|G[d+6|0]<<8,10)|0)+L(G[d+11|0]|G[d+10|0]<<8,10)|0)+L(G[d+15|0]|G[d+14|0]<<8,10)|0;d=d+16|0;f=f-4|0;if(f){continue}break}}if(k>>>0<=l>>>0){break c}}Eb(n,e);F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;return 8}D[a+848|0]=1}k=6;if(!b|!m){break a}j=F[a+844>>2];i=hb(b);if(!i|!j){break a}d=F[a+828>>2]+8|0;f=d+(j<<2)|0;e=H[m+14>>1];while(1){h=G[d+3|0]|G[d+2|0]<<8;if((e|0)==(G[d+1|0]|G[d|0]<<8)){if(!h){break a}while(1){f:{j=G[f+5|0];if(!(j&16)){break f}g=F[a+840>>2];e=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0<=e>>>0){break f}d=g-e|0;if(d>>>0<=i>>>0){break f}l=G[f+6|0]|G[f+7|0]<<8|(G[f+8|0]<<16|G[f+9|0]<<24);m=e;e=F[a+836>>2];if(cb(b,m+e|0,d)){break f}d=l<<8&16711680|l<<24|(l>>>8&65280|l>>>24);g:{switch(j&15){case 0:case 1:if(d>>>0>=g>>>0){break f}e=d+e|0;if(!te(e,0,g)){break f}F[c+4>>2]=e;F[c>>2]=1;return 0;case 2:F[c+4>>2]=d;F[c>>2]=2;return 0;case 3:break g;default:break f}}F[c+4>>2]=d;F[c>>2]=3;return 0}f=f+10|0;h=h-1|0;if(h){continue}break}break a}d=d+4|0;f=L(h,10)+f|0;j=j-1|0;if(j){continue}break}}return k|0}function al(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=F[(c?16:12)+b>>2];g=F[(c?8:4)+b>>2];b=L(c,9804)+a|0;d=b+9840|0;a:{if((g|0)==F[d>>2]&(j|0)==F[b+9844>>2]){break a}F[d>>2]=g;F[b+9844>>2]=j;d=F[a+10064>>2];b:{if(!d){break b}b=0;while(1){if(!(G[(L(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}b=Ua(F[(L(b,36)+a|0)+10080>>2],g);d=F[F[a+36>>2]+12>>2];if(d){i=d;d=H[F[F[a+4>>2]+88>>2]+12>>1];d=d>>>0>5?i>>>0>=d>>>0?52:40:40}else{d=40}if((c|0)!=1){break b}d=b+d&-64;if((d|0)==(b|0)){break b}e=bb(g,d,b);d=F[a+40>>2];b=F[a+10064>>2];c:{if(!b){break c}m=b&1;d:{if((b|0)==1){b=0;break d}i=b&-2;k=a+10068|0;b=0;while(1){h=k+L(b,36)|0;l=F[h+24>>2];d=(d|0)>(l|0)?d:l;h=0-F[h+28>>2]|0;d=(d|0)>(h|0)?d:h;h=k+L(b|1,36)|0;l=F[h+24>>2];d=(d|0)>(l|0)?d:l;h=0-F[h+28>>2]|0;d=(d|0)>(h|0)?d:h;b=b+2|0;f=f+2|0;if((i|0)!=(f|0)){continue}break}}if(!m){break c}b=L(b,36)+a|0;f=F[b+10092>>2];d=(d|0)>(f|0)?d:f;b=0-F[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}b=e-g|0;f=Ua(d,b);b=Ua(d,b);g=((f|0)<0?0-b|0:b)>>>0<128?e:g}b=L(c,9804)+a|0;F[b+48>>2]=j;F[b+44>>2]=g;e:{if(!c){F[a+8>>2]=g;b=a+16|0;break e}F[a+12>>2]=g;b=a+20|0}F[b>>2]=j;d=L(c,9804)+a|0;if(F[d+52>>2]){b=0;while(1){f=d+L(b,12)|0;e=Ua(F[f+56>>2],g);F[f- -64>>2]=e;F[f+60>>2]=e;b=b+1|0;if(b>>>0>2]){continue}break}}n=d,o=(Ua(F[d+252>>2],g)|0)<40,D[n+256|0]=o;if(!F[a+10064>>2]|(c|0)!=1){break a}d=0;while(1){b=L(d,36)+a|0;f=b+10076|0;c=b+10068|0;e=Ua(F[c>>2],g)+j|0;F[f>>2]=e;k=b+10072|0;F[k>>2]=e;e=b+10088|0;m=b+10080|0;i=Ua(F[m>>2],g)+j|0;F[e>>2]=i;F[b+10084>>2]=i;b=b+10100|0;F[b>>2]=F[b>>2]&-2;c=Ua(F[c>>2]-F[m>>2]|0,g);if(c+48>>>0<=96){i=f;f=F[k>>2]+32&-64;F[i>>2]=f;i=e;e=c>>31;e=(e^c)-e|0;e=e>>>0<32?0:e>>>0<48?32:64;F[i>>2]=f+((c|0)<0?e:0-e|0);F[b>>2]=F[b>>2]|1}d=d+1|0;c=F[a+10064>>2];if(d>>>0>>0){continue}break}if(!c){break a}f=0;while(1){b=L(f,36)+a|0;d=b+10100|0;j=F[d>>2];f:{if((j&5)!=5){break f}e=b+10076|0;k=b+10088|0;b=0;while(1){g=L(b,36)+a|0;if(!((F[g+10100>>2]&5)!=1|F[g+10076>>2]>F[k>>2]|F[g+10088>>2]>2])){F[d>>2]=j&-2;break f}b=b+1|0;if((c|0)!=(b|0)){continue}break}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function Pw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ga-16|0;Ga=j;h=F[c>>2];F[j+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=G[a+3|0];g=G[a+4|0];a=F[c+92>>2];d=g+a|0;if(d>>>0>I[c+96>>2]){i=a;a=d+3&-4;o=c,p=Va(h,36,i,a,F[c+100>>2],j+12|0),F[o+100>>2]=p;d=F[j+12>>2];if(d){break a}F[c+96>>2]=a}d=8;a=b;b=f&4;h=f&1;i=f&2;l=f&8;k=f&16;if(a>>>0>>2|0)+(i?h+9|0:h|8)+(l>>>3)+(k>>>4)|0,g)+e>>>0){break a}m=F[c+92>>2];b:{if(!g){break b}a=F[c+100>>2]+L(m,36)|0;if(!b){b=0;while(1){c:{if(h){d=e+2|0;e=G[e+1|0]|G[e|0]<<8;break c}d=e+1|0;e=G[e|0]}F[a>>2]=e;d:{if(i){e=d+2|0;d=G[d+1|0]|G[d|0]<<8;break d}e=d+1|0;d=G[d|0]}F[a+4>>2]=d;F[a+8>>2]=G[e|0];F[a+20>>2]=G[e+2|0]|G[e+1|0]<<8;e:{if(l){f=G[e+4|0]<<8|G[e+3|0]<<16;n=5;d=e+6|0;break e}f=G[e+3|0]<<8;n=4;d=e+5|0}F[a+24>>2]=G[e+n|0]|f;f:{if(k){e=d+2|0;d=G[d+1|0]|G[d|0]<<8;break f}e=d+1|0;d=G[d|0]}F[a+28>>2]=d;a=a+36|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}break b}if(!l){f=0;while(1){g:{if(h){d=G[e+1|0]|G[e|0]<<8;b=e+2|0;break g}d=G[e|0];b=e+1|0}F[a>>2]=d;h:{if(i){e=G[b+1|0]|G[b|0]<<8;b=b+2|0;break h}e=G[b|0];b=b+1|0}F[a+4>>2]=e;F[a+8>>2]=G[b|0];F[a+20>>2]=G[b+3|0]|(G[b+2|0]<<8|G[b+1|0]<<16);F[a+24>>2]=G[b+5|0]|G[b+4|0]<<8;i:{if(k){e=b+8|0;b=G[b+7|0]|G[b+6|0]<<8;break i}e=b+7|0;b=G[b+6|0]}F[a+28>>2]=b;a=a+36|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break b}b=0;if(!h){while(1){F[a>>2]=G[e|0];j:{if(i){d=e+3|0;e=G[e+2|0]|G[e+1|0]<<8;break j}d=e+2|0;e=G[e+1|0]}F[a+4>>2]=e;F[a+8>>2]=G[d|0];F[a+20>>2]=G[d+3|0]|(G[d+2|0]<<8|G[d+1|0]<<16);F[a+24>>2]=G[d+6|0]|(G[d+5|0]<<8|G[d+4|0]<<16);k:{if(k){e=d+9|0;d=G[d+8|0]|G[d+7|0]<<8;break k}e=d+8|0;d=G[d+7|0]}F[a+28>>2]=d;a=a+36|0;b=b+1|0;if((g|0)!=(b|0)){continue}break b}}while(1){F[a>>2]=G[e+1|0]|G[e|0]<<8;l:{if(i){d=e+4|0;e=G[e+3|0]|G[e+2|0]<<8;break l}d=e+3|0;e=G[e+2|0]}F[a+4>>2]=e;F[a+8>>2]=G[d|0];F[a+20>>2]=G[d+3|0]|(G[d+2|0]<<8|G[d+1|0]<<16);F[a+24>>2]=G[d+6|0]|(G[d+5|0]<<8|G[d+4|0]<<16);m:{if(k){e=d+9|0;d=G[d+8|0]|G[d+7|0]<<8;break m}e=d+8|0;d=G[d+7|0]}F[a+28>>2]=d;a=a+36|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}F[c+92>>2]=g+m;d=F[j+12>>2]}Ga=j+16|0;return d|0}function ye(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Ga-48|0;Ga=i;Ga=i+48|0;a:{if(!G[a+16|0]){j=F[a>>2];n=G[163632];g=F[a+4>>2];while(1){b:{c:{d:{e:{if(!(h&1)){if(c){break b}e=F[a+12>>2];l=e+1|0;if(l>>>0>g>>>0){break b}k=n;f:{g:{if(e>>>0>=g>>>0){break g}k=G[e+j|0];if(c){break g}F[a+12>>2]=l;c=0;break f}D[a+16|0]=1;F[a+12>>2]=g;c=1}e=(k&240)>>>4|0;break e}e=k&15}switch(e-13|0){case 0:break b;case 2:break d;default:break c}}e=i+16|0;F[i+12>>2]=e;g=0;l=0;k=F[i+12>>2];e=f+e|0;h:{if(k>>>0>=e>>>0){f=k;break h}f=k;while(1){c=G[f|0];if(c-9>>>0>=5&(c|0)!=32){break h}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}i:{if((f|0)==(e|0)){f=e;break i}n=(e-f|0)+f|0;h=1;j:{while(1){c=D[h+107240|0];o=h<<1;p=G[o+107008|0];j=D[f|0];if((p|0)<=(j|0)){c=(j|0)>G[o+107009|0]?c:j-p|0}c=D[(G[h+107231|0]+107040|0)+c|0];k:{if(587>>>c&1){break k}l:{switch(D[c+107259|0]-1|0){case 0:q=1;break k;case 3:r=1;break k;case 1:b=b*10+ +(j-48|0);break k;case 2:if(!(d<=450359962737049)){break k}d=d*10+ +(j-48|0);m=m+1;break k;case 4:break l;default:break k}}h=(j+L(g,10)|0)-48|0;g=h>>>0<2048?h:g;l=h>>>0>2047|l}if((c|0)==1){break j}h=D[c+107249|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}f=n}m:{n:{o:{p:{if(m!=0){s=b;if(m<4294967296&m>=0){c=~~m>>>0}else{c=0}b=c&256?1e256:1;b=c&128?b*1e128:b;b=c&64?b*1e64:b;b=c&32?b*1e32:b;b=c&16?b*1e16:b;b=c&8?b*1e8:b;b=c&4?b*1e4:b;b=c&2?b*100:b;b=s+d/(c&1?b*10:b);if(q){break p}break o}if(!q){break o}}b=-b;h=1;if(!(l&1)){break m}break n}if(!(l&1)){break m}h=0}if(b==0){break i}if(r){b=h?-2.2250738585072014e-308:2.2250738585072014e-308;break i}b=h?-1.7976931348623157e308:1.7976931348623157e308;break i}if(!g){break i}d=g&256?1e256:1;d=g&128?d*1e128:d;d=g&64?d*1e64:d;d=g&32?d*1e32:d;d=g&16?d*1e16:d;d=g&8?d*1e8:d;d=g&4?d*1e4:d;d=g&2?d*100:d;d=g&1?d*10:d;if(r){b=b/d;break i}b=d*b}K[i>>3]=b;c=0;q:{if((f|0)==(k|0)){break q}F[i+12>>2]=f;c=(f|0)==(e|0)}if(!c){break b}b=K[i>>3];break a}D[(i+16|0)+f|0]=G[e+106545|0];r:{if((e|0)!=12){e=f;break r}e=f+1|0;if((e|0)==32){break b}D[(i+16|0)+e|0]=45}f=e+1|0;h=h+1|0;if(e>>>0<31){continue}}break}D[a+16|0]=1}b=0}return b}function ok(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=g?a+1032|0:a;F[l>>2]=0;j=g?a+1548|0:a+516|0;F[j>>2]=0;if(b>>>0>=2){while(1){a=c+2|0;m=h&1;o=E[(m?c:a)>>1];k=E[(m?a:c)>>1]-o|0;a=m?l:j;h=a+4|0;g=m?n:i;a:{b:{if(!g){break b}a=(a+(g<<5)|0)+4|0;c:{while(1){p=F[h>>2];if((p|0)>(o|0)){break c}if((o|0)==(p|0)){a=F[h+4>>2];if((k|0)<0){if((a|0)<=(k|0)){break a}F[h+4>>2]=k;break a}if((a|0)>=(k|0)){break a}F[h+4>>2]=k;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}Cb(h+32|0,h,g<<5)}F[h+4>>2]=k;F[h>>2]=o;if(m){n=n+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}F[l>>2]=n;F[j>>2]=i;if(d>>>0>=2){a=j+4|0;while(1){k=E[e+2>>1];c=E[e>>1]-k|0;h=a;d:{e:{if(!i){break e}b=((i<<5)+j|0)+4|0;g=i;f:{while(1){m=F[h>>2];if((m|0)>(k|0)){break f}if((k|0)==(m|0)){b=F[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}F[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}F[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}Cb(h+32|0,h,g<<5)}F[h+4>>2]=c;F[h>>2]=k;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}F[l>>2]=n;F[j>>2]=i;g:{if(!n){break g}h=l+4|0;a=n;while(1){h:{i:{switch(a|0){case 1:b=F[h+4>>2];g=F[h>>2];break h;case 0:break g;default:break i}}g=F[h>>2];b=F[h+32>>2]-g|0;c=F[h+4>>2];if((b|0)>=(c|0)){b=c;break h}F[h+4>>2]=b}F[h+12>>2]=g;F[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=j+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=F[h+4>>2];g=F[h>>2];break k;case 0:break j;default:break l}}g=F[h>>2];b=g-F[h+32>>2]|0;c=F[h+4>>2];if((b|0)<=(c|0)){b=c;break k}F[h+4>>2]=b}F[h+8>>2]=g;F[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(n){F[l+16>>2]=F[l+16>>2]-f;h=l+4|0;a=F[l+12>>2];g=n-1|0;m:{if(!g){b=h;break m}while(1){b=F[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);F[h+8>>2]=a?d:e;F[h+44>>2]=a?d:b-f|0;a=F[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}F[b+8>>2]=a+f}if(i){F[j+16>>2]=F[j+16>>2]-f;h=j+4|0;a=F[j+12>>2];g=i-1|0;n:{if(!g){b=h;break n}while(1){b=F[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);F[h+8>>2]=a?d:e;F[h+44>>2]=a?d:b-f|0;a=F[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}F[b+8>>2]=a+f}}function ec(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=G[a|0]|G[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}return b>>>0>>0?(b|0)<0?163632:((b<<1)+a|0)+2|0:0}c=G[a+4|0]|G[a+5|0]<<8;e=(c<<8|c>>>8)&65535;g:{if(!c){c=G[a+2|0]|G[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break g}d=G[a+2|0]|G[a+3|0]<<8;f=(d<<8|d>>>8)&65535;d=L(f,e-1|0)+a|0;g=d+12|0;c=0;if((G[g|0]|G[g+1|0]<<8)!=65535){break g}c=(G[d+14|0]|G[d+15|0]<<8)==65535?-1:0}d=0;c=c+e|0;h:{if((c|0)<=0){break h}g=a+12|0;c=c-1|0;e=0;while(1){a=c+e>>>1|0;d=g+L(a,f)|0;h=G[d+2|0]|G[d+3|0]<<8;i:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){e=G[d|0]|G[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=a+1|0;break i}c=a-1|0}if((c|0)>=(e|0)){continue}break}d=0}return d?d+4|0:0}c=G[a+2|0]|G[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=G[a+4|0]|G[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=(b|0)<0?163632:((b<<1)+a|0)+6|0;break a}c=G[a+4|0]|G[a+5|0]<<8;e=(c<<8|c>>>8)&65535;d=0;j:{if(!c){c=G[a+2|0]|G[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break j}c=G[a+2|0]|G[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=L(f,e-1|0)+a|0;c=(G[c+12|0]|G[c+13|0]<<8)==65535?-1:0}c=c+e|0;k:{if((c|0)<=0){break k}g=a+12|0;c=c-1|0;e=0;while(1){a=c+e>>>1|0;d=g+L(a,f)|0;h=G[d|0]|G[d+1|0]<<8;h=(h<<8|h>>>8)&65535;l:{if(h>>>0>b>>>0){c=a-1|0;break l}if((b|0)==(h|0)){break k}e=a+1|0}if((c|0)>=(e|0)){continue}break}d=0}return d?d+2|0:0}c=G[a+4|0]|G[a+5|0]<<8;d=(c<<8|c>>>8)&65535;m:{if(!c){c=G[a+2|0]|G[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break m}f=G[a+2|0]|G[a+3|0]<<8;f=(f<<8|f>>>8)&65535;g=L(f,d-1|0)+a|0;h=g+12|0;c=0;if((G[h|0]|G[h+1|0]<<8)!=65535){break m}c=(G[g+14|0]|G[g+15|0]<<8)==65535?-1:0}c=c+d|0;if((c|0)<=0){break a}h=a+12|0;c=c-1|0;while(1){g=c+e>>>1|0;d=h+L(g,f)|0;i=G[d+2|0]|G[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=G[d|0]|G[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=g+1|0;break n}c=a;a=G[d+4|0]|G[d+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;return(a|0)<0?163632:c+(a<<1)|0}c=g-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function Ce(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;F[a>>2]=0;F[a+4>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;D[a+5|0]=0;D[a+6|0]=0;D[a+7|0]=0;D[a+8|0]=0;D[a+9|0]=0;D[a+10|0]=0;D[a+11|0]=0;D[a+12|0]=0;F[a+24>>2]=0;c=oh(b+52|0);d=G[c+50|0]|G[c+51|0]<<8;if(!(((d<<8|d>>>8)&65535)>>>0>1|(G[c+52|0]|G[c+53|0]<<8))){D[a+12|0]=!d;k=a,l=go(b+104|0),F[k+20>>2]=l;Db(b);c=Ab(b,1735162214);if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}d=F[c+12>>2];Xa(c);if(F[c+4>>2]?d:0){F[c+4>>2]=0}F[a+24>>2]=c;d=Ga-48|0;Ga=d;i=b+128|0;f=F[i>>2];a:{if(f){break a}j=i-80|0;while(1){c=F[j>>2];if(!c){f=163632;break a}b:{c:{f=ib(1,4);if(f){F[d+8>>2]=0;F[d+12>>2]=0;F[d+16>>2]=0;F[d+20>>2]=0;D[d+24|0]=0;F[d+28>>2]=0;F[d+32>>2]=0;F[d>>2]=0;F[d+4>>2]=0;g=Db(c);D[d+40|0]=1;F[d+36>>2]=g;h=0;c=Ab(c,1735811442);if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}g=c;F[d+32>>2]=c;d:{e:{f:{g:{h:{while(1){D[d+24|0]=h;h=F[g+12>>2];F[d+4>>2]=h;e=F[g+16>>2];F[d+8>>2]=e+h;F[d+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}F[d+12>>2]=e;F[d+20>>2]=0;F[d>>2]=0;if(!h){Xa(g);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;break d}e=fo(h,d);g=F[d+28>>2];i:{if(e){if(!g){break i}F[d+28>>2]=0;g=fo(h,d);h=F[d+28>>2];Xa(F[d+32>>2]);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;if(!g){break e}if(!h){break h}break e}if(G[d+24|0]|!g){break g}e=Xb(c);F[d+4>>2]=e;F[d+8>>2]=e+F[c+16>>2];g=F[d+32>>2];h=1;if(e){continue}break f}break}Xa(F[d+32>>2]);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0}if(F[c+4>>2]){F[c+4>>2]=0}break d}g=F[d+32>>2]}Xa(g);F[d+32>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0}Xa(c);c=163632}F[f>>2]=c;c=F[i>>2];F[i>>2]=c?c:f;if(!c){break a}c=F[f>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(f);break b}f=163632;c=F[i>>2];F[i>>2]=c?c:163632;if(c){break b}break a}ca(0)|0;Y()|0;Hb();V()}f=F[i>>2];if(!f){continue}break}}Ga=d+48|0;F[a>>2]=f;k=a,l=Do(b+68|0),F[k+4>>2]=l;k=a,l=vh(b+96|0),F[k+8>>2]=l;c=F[a+20>>2];c=F[(c?c:163632)+16>>2]>>>(G[a+12|0]?1:2)|0;c=(c>>>0>1?c:1)-1|0;F[a+16>>2]=c;f=F[b+32>>2];if((f|0)==-1){f=Zb(b);c=F[a+16>>2]}F[a+16>>2]=c>>>0>>0?c:f}return a|0}function vk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!(G[a+16|0]&8)){f=L(c,204)+b|0;n=F[f+200>>2];g=F[f+204>>2]+Ua(F[a>>2],n)|0;e=Ua(F[a+4>>2],n);a:{b:{c:{d:{e:{switch(c|0){case 1:if(G[d+121|0]){break d}break b;case 0:if(!G[d+120|0]){break b}k=G[d+122|0]!=0;break;default:break e}}F[a+12>>2]=e;i=a+12|0;break c}o=G[d+123|0];F[a+12>>2]=e;p=F[a>>2];r=G[b+2492|0];k=2;f=F[b+412>>2];f:{g:{if(!f){break g}i=F[a+4>>2]+p|0;h=b+416|0;j=F[b+2488>>2];l=0-j|0;while(1){m=i-F[h+12>>2]|0;if((m|0)<(l|0)){break g}if((i|0)<=(j+F[h+8>>2]|0)){if(!r){f=0;if((m|0)>F[b+2484>>2]){break f}}q=F[h+16>>2];k=3;f=1;break f}h=h+32|0;f=f-1|0;if(f){continue}break}}f=0}i=F[b+928>>2];h:{if(!i){j=0;break h}j=0;l=F[b+2488>>2];m=0-l|0;h=((i<<5)+b|0)+932|0;while(1){s=F[h-24>>2]-p|0;if((m|0)>(s|0)){break h}if((F[h-20>>2]-l|0)>(p|0)){h=h-32|0;i=i-1|0;if(i){continue}break h}break}if(!r&F[b+2484>>2]<=(s|0)){break h}j=F[h-16>>2];f=k}i=a+12|0;k=(o|0)!=0;i:{switch(f-1|0){case 1:F[a+8>>2]=j;if(!o){break a}F[a+12>>2]=(e|0)<64?64:e+32&-64;break a;case 2:F[a+8>>2]=j;F[a+12>>2]=q-j;break a;case 0:break i;default:break c}}F[a+8>>2]=q-e;if(!o){break a}b=(e|0)<64?64:e+32&-64;F[a+12>>2]=b;F[a+8>>2]=q-b;break a}f=F[a+20>>2];if(f){if(!(G[f+16|0]&8)){vk(f,b,c,d)}g=((F[f+8>>2]-(e>>1)|0)+(F[f+12>>2]>>1)|0)+Ua((F[a>>2]-(F[f>>2]+(F[f+4>>2]>>1)|0)|0)+(F[a+4>>2]>>1)|0,n)|0}F[a+12>>2]=e;j:{if(!G[d+124|0]){break j}if((e|0)<=64){if((e|0)>=32){g=(e>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((e|0)<=0){g=b;break j}f=b-g|0;c=f>>31;d=e+g|0;g=d+32&-64;h=g-d|0;d=h>>31;g=(c^f)-c>>>0>(d^h)-d>>>0?g:b;break j}b=F[(L(c,204)+b|0)+12>>2];d=e-b|0;c=d>>31;e=(c^d)-c>>>0<40?(b|0)>48?b:48:e;if(e>>>0<=191){b=e&63;if(b>>>0<10){break j}c=e&-64;if(b>>>0<=31){e=c|10;break j}e=b>>>0<54?c|54:e;break j}e=e+32&-64}F[a+12>>2]=e;b=(g+32&-64)-g|0;c=b>>31;d=e+g|0;d=(d+32&-64)-d|0;f=d>>31;d=((b^c)-c>>>0>(d^f)-f>>>0?d:b)+g|0;F[a+8>>2]=d;if(!k){break a}b=(e|0)<64?64:e+32&-64;F[i>>2]=b;c=b>>1;F[a+12>>2]=b;F[a+8>>2]=(b&64?c+d&-64|32:(c+d|0)+32&-64)-c;break a}F[a+12>>2]=e;F[a+8>>2]=g}F[a+16>>2]=F[a+16>>2]|8}}function Wy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=b;b=F[b>>2]+7&-8;F[d>>2]=b+16;o=a;a=b;k=F[a>>2];b=F[a+4>>2];e=F[a+12>>2];m=e;g=Ga-32|0;Ga=g;e=e&2147483647;c=e-1006698496|0;f=e-1140785152|0;d=F[a+8>>2];a:{if((c|0)==(f|0)&d>>>0>>0|c>>>0>>0){a=d;d=m<<4|a>>>28;c=a<<4|b>>>28;e=d;a=b&268435455;b=a;if((a|0)==134217728&(k|0)!=0|a>>>0>134217728){a=e+1073741824|0;b=c+1|0;a=b?a:a+1|0;c=b;break a}a=e+1073741824|0;if(b^134217728|k){break a}b=c&1;e=b+c|0;c=e;a=b>>>0>c>>>0?a+1|0:a;break a}if(!(!d&(e|0)==2147418112?!(b|k):e>>>0<2147418112)){a=d;d=m<<4|a>>>28;c=a<<4|b>>>28;a=d&524287|2146959360;break a}c=0;a=2146435072;if(e>>>0>1140785151){break a}a=0;n=e>>>16|0;if(n>>>0<15249){break a}c=k;a=b;f=m&65535|65536;e=f;l=d;h=d;j=n-15233|0;b:{if(j&64){f=c;d=j+-64|0;c=d&31;if((d&63)>>>0>=32){a=f<>>32-c|a<>>0>=32){d=h<>>32-i|f<>>0>=32){d=0;h=a>>>i|0}else{d=a>>>i|0;h=((1<>>i}h=p|h;f=d|f;i=j&31;if((j&63)>>>0>=32){d=c<>>32-i|a<>2]=c;F[g+20>>2]=a;F[g+24>>2]=h;F[g+28>>2]=f;d=15361-n|0;c:{if(d&64){b=l;a=d+-64|0;f=a&31;if((a&63)>>>0>=32){d=0;k=e>>>f|0}else{d=e>>>f|0;k=((1<>>f}b=d;l=0;e=0;break c}if(!d){break c}f=l;a=64-d|0;c=a&31;if((a&63)>>>0>=32){a=f<>>32-c|e<>>0>=32){d=0;b=b>>>j|0}else{d=b>>>j|0;b=((1<>>j}k=h|b;b=d|f;d=l;f=a&31;if((a&63)>>>0>=32){a=0;l=e>>>f|0}else{a=e>>>f|0;l=((1<>>f}e=a}F[g>>2]=k;F[g+4>>2]=b;F[g+8>>2]=l;F[g+12>>2]=e;b=F[g+8>>2];e=F[g+4>>2];c=b<<4|e>>>28;a=F[g+12>>2]<<4|b>>>28;e=e&268435455;b=F[g>>2]|(F[g+16>>2]|F[g+24>>2]|(F[g+20>>2]|F[g+28>>2]))!=0;if((e|0)==134217728&(b|0)!=0|e>>>0>134217728){b=c+1|0;a=b?a:a+1|0;c=b;break a}if(e^134217728|b){break a}b=c+(c&1)|0;a=b>>>0>>0?a+1|0:a;c=b}Ga=g+32|0;x(0,c|0);x(1,m&-2147483648|a);q=o,r=+z(),K[q>>3]=r}function pl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=Ga-48|0;Ga=d;a:{b:{if(!a){break b}if(!b){f=6;break a}if(E[a>>1]<=0){break a}h=F[b+20>>2];i=F[b+16>>2];while(1){m=E[F[a+12>>2]+(n<<1)>>1];if((m|0)<0){break b}k=F[a+4>>2];e=k+(g<<3)|0;f=F[e+4>>2];o=(F[e>>2]<>2]=o;f=(f<>2]=f;l=k+(m<<3)|0;k=F[l>>2];q=F[l+4>>2];j=F[d+36>>2];F[d+40>>2]=F[d+32>>2];F[d+44>>2]=j;p=F[a+8>>2];j=p+g|0;g=G[j|0]&3;c:{if((g|0)==3){break c}d:{switch(g-1|0){case 1:break b;case 0:break c;default:break d}}g=(q<>2]=g;F[d+32>>2]=k;l=l-8|0;break e}F[d+36>>2]=(g+f|0)/2;F[d+32>>2]=(k+o|0)/2}j=j-1|0;e=e-8|0}f=Ia[F[b>>2]](d+32|0,c)|0;if(f){break a}f:{if(e>>>0>>0){while(1){k=j+1|0;g=e+8|0;g:{h:{i:{switch(G[j+1|0]&3){case 1:F[d+24>>2]=(F[e+8>>2]<>2]=(F[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break g;case 0:F[d+40>>2]=(F[e+8>>2]<>2]=(F[e+12>>2]<>>0>>0){while(1){e=G[k+1|0];j=(F[g+8>>2]<>2]=j;f=(F[g+12>>2]<>2]=f;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;f=0;break h}f=Ia[F[b+8>>2]](d+40|0,d+24|0,c)|0;if(f){break k}e=g;j=k;break g}F[d+16>>2]=(j+F[d+40>>2]|0)/2;F[d+20>>2]=(f+F[d+44>>2]|0)/2;f=Ia[F[b+8>>2]](d+40|0,d+16|0,c)|0;if(!f){break j}}g=10;break h}e=F[d+28>>2];F[d+40>>2]=F[d+24>>2];F[d+44>>2]=e;if(g>>>0>>0){continue}break}}f=Ia[F[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;f=0;if((G[j+2|0]&3)!=2|e+16>>>0>l>>>0){break h}F[d+24>>2]=(F[e+8>>2]<>2]=(F[e+12>>2]<>2]=(F[e+16>>2]<>2]=(F[e+20>>2]<>>0<=l>>>0){F[d+8>>2]=(F[e+24>>2]<>2]=(F[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(f){g=10;break h}j=j+3|0;e=g;break g}f=Ia[F[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(e>>>0>>0){continue}break}}f=Ia[F[b+4>>2]](d+32|0,c)|0}if(f){break a}g=m+1|0;f=0;n=n+1|0;if((n|0)>1]){continue}break}break a}f=20}Ga=d+48|0;return f|0}function fq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){g=F[a+100>>2];d=F[a+540>>2];if(d){Ia[F[d+12>>2]](a)}c=F[a+712>>2];if(c){d=F[c+8>>2];b=F[c+108>>2];if(b){e=F[b+28>>2];f=c+140|0;if(F[f>>2]){Eb(b,f)}b=F[c+136>>2];if(b){Ia[F[e+8>>2]](e,b)}F[c+140>>2]=0;F[c+132>>2]=0;F[c+136>>2]=0;F[c+124>>2]=0;F[c+128>>2]=0;F[c+116>>2]=0;F[c+120>>2]=0;F[c+108>>2]=0;F[c+112>>2]=0}b=F[c+1240>>2];if(b){e=F[b+28>>2];f=c+1272|0;if(F[f>>2]){Eb(b,f)}b=F[c+1268>>2];if(b){Ia[F[e+8>>2]](e,b)}b=c+1240|0;F[b+32>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0}b=F[c+36>>2];if(b){e=F[b+28>>2];f=c+68|0;if(F[f>>2]){Eb(b,f)}b=F[c- -64>>2];if(b){Ia[F[e+8>>2]](e,b)}F[c+68>>2]=0;F[c+60>>2]=0;F[c+64>>2]=0;F[c+52>>2]=0;F[c+56>>2]=0;F[c+44>>2]=0;F[c+48>>2]=0;F[c+36>>2]=0;F[c+40>>2]=0}b=F[c+1204>>2];if(b){e=F[b+28>>2];f=c+1236|0;if(F[f>>2]){Eb(b,f)}b=F[c+1232>>2];if(b){Ia[F[e+8>>2]](e,b)}b=c+1204|0;F[b+32>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0}if(F[c+2024>>2]){b=0;while(1){ti(d,F[((b<<2)+c|0)+2028>>2]);b=b+1|0;if(b>>>0>2]){continue}break}b=F[c+2028>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+2028>>2]=0}F[c+144>>2]=0;F[c+148>>2]=0;F[c+152>>2]=0;b=F[F[c+4>>2]+28>>2];e=c+1192|0;f=F[e>>2];if(f){Ia[F[b+8>>2]](b,f)}F[e>>2]=0;F[e+4>>2]=0;e=c+1188|0;f=F[e>>2];if(f){Ia[F[b+8>>2]](b,f)}F[c+1180>>2]=0;F[c+1184>>2]=0;F[e>>2]=0;ri(c+3112|0,d);ti(d,c+1372|0);b=c+3060|0;if(F[b>>2]){Eb(F[c+4>>2],b)}D[c+3052|0]=0;F[c+3056>>2]=0;F[c+3064>>2]=0;b=F[c+3092>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+3092>>2]=0;b=F[c+1348>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+1348>>2]=0;b=F[c+1352>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+1352>>2]=0;b=F[c+1360>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+1360>>2]=0;b=F[c+1364>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+1364>>2]=0;b=F[c+3108>>2];if(b){Ia[b|0](F[c+3104>>2]);b=F[c+3104>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+3104>>2]=0}b=F[c+3132>>2];if(b){Ia[F[d+8>>2]](d,b)}F[c+3132>>2]=0;d=F[a+712>>2];if(d){Ia[F[g+8>>2]](g,d)}F[a+712>>2]=0}d=F[a+548>>2];if(d){Ia[F[d+44>>2]](a)}F[a+736>>2]=0}}function Cv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Ga-16|0;Ga=e;a:{if(F[a+4>>2]){break a}d=6;b:{if(F[a+12>>2]!=1){break b}l=(b|0)!=0;b=(L(l,36)+a|0)+16|0;d=F[c>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=F[c+4>>2];j=F[a>>2];d=ie(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e);if(d){break b}d=F[c+8>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=F[c+12>>2];d=ie(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e+4|0);if(d){break b}d=b;b=F[c+16>>2];f=(((b>>31)+b|0)+32768&-65536)>>16;b=F[c+20>>2];d=ie(d,f,(((b>>31)+b|0)+32768&-65536)>>16,j,e+8|0);if(d){break b}g=F[e+8>>2];h=F[e+4>>2];i=F[e>>2];k=L(l,36)+a|0;f=F[k+40>>2];c:{if(f){m=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=F[k+48>>2];d=f;while(1){b=F[c>>2];if((G[F[c+8>>2]+o|0]&r?i>>>0>>0:0)|(G[F[c+8>>2]+n|0]&q?b>>>0>h>>>0:0)|(G[m+F[c+8>>2]|0]&p?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}m=f+1|0;b=F[k+44>>2];d:{if(m>>>0<=b>>>0){c=F[(L(l,36)+a|0)+48>>2];break d}F[e+12>>2]=0;c=b;b=f+8&-8;d=L(l,36)+a|0;c=Va(j,16,c,b,F[d+48>>2],e+12|0);F[d+48>>2]=c;d=F[e+12>>2];if(d){break b}F[k+44>>2]=b}b=0;c=(f<<4)+c|0;F[c+12>>2]=0;F[c>>2]=0;F[k+40>>2]=m}if((i|0)>=0){if(b>>>0<=i>>>0){b=F[c+4>>2];F[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Va(j,1,f,b,F[c+8>>2],e+12|0),F[s+8>>2]=t;d=F[e+12>>2];if(d){break b}F[c+4>>2]=b<<3}F[c>>2]=i+1}b=F[c+8>>2]+(i>>>3|0)|0;D[b|0]=G[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(I[c>>2]<=h>>>0){b=F[c+4>>2];F[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Va(j,1,f,b,F[c+8>>2],e+12|0),F[s+8>>2]=t;d=F[e+12>>2];if(d){break b}F[c+4>>2]=b<<3}F[c>>2]=h+1}b=F[c+8>>2]+(h>>>3|0)|0;D[b|0]=G[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(I[c>>2]<=g>>>0){b=F[c+4>>2];F[e+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=Va(j,1,f,b,F[c+8>>2],e+12|0),F[s+8>>2]=t;d=F[e+12>>2];if(d){break b}F[c+4>>2]=b<<3}F[c>>2]=g+1}a=F[c+8>>2]+(g>>>3|0)|0;D[a|0]=G[a|0]|128>>>(g&7);break a}F[a+4>>2]=d}Ga=e+16|0}function hn(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=F[a+100>>2];g=F[k+64>>2];i=G[k+61|0]?F[k+72>>2]:g;o=f-g|0;a:{if(!b){break a}f=i-g|0;if(b-1>>>0>=3){n=b&-4;while(1){g=j<<2;m=g+c|0;F[m>>2]=f+F[m>>2];m=(g|4)+c|0;F[m>>2]=f+F[m>>2];m=(g|8)+c|0;F[m>>2]=f+F[m>>2];g=(g|12)+c|0;F[g>>2]=f+F[g>>2];j=j+4|0;l=l+4|0;if((n|0)!=(l|0)){continue}break}}g=b&3;if(!g){break a}while(1){n=(j<<2)+c|0;F[n>>2]=f+F[n>>2];j=j+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}f=i+o|0;b:{if(!d){break b}m=0;while(1){if(!G[k+60|0]){break b}g=(m<<2)+e|0;i=G[g|0]|G[g+1|0]<<8;l=(i<<8|i>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}if(!i){i=G[g+2|0]|G[g+3|0]<<8;if(F[a+128>>2]==((i<<8|i>>>8)&65535)){break c}}p=(l<<2)+c|0;if(!lc(k,F[p>>2])|F[k+152>>2]<=0){break b}n=F[a+136>>2];if(!n){break c}h=F[a+104>>2];if(!h){break c}j=G[k+61|0];i=F[k+64>>2];q=F[k+72>>2];g=G[g+2|0]|G[g+3|0]<<8;s=F[k+68>>2];r=F[a+100>>2];o=F[r+152>>2];F[r+152>>2]=o-1;if((o|0)<=0){break c}F[a+136>>2]=n-1;g=Ia[h|0](a,(g<<8|g>>>8)&65535)|0;F[a+136>>2]=F[a+136>>2]+1;if(!g){break c}g=F[k+64>>2];g=(F[k+68>>2]-g|0)+(G[k+61|0]?F[k+72>>2]:g)|0;i=(s-i|0)+(j?q:i)|0;if((g|0)==(i|0)){break c}h=g-i|0;n=h+f|0;f=F[p>>2];if((n|0)<=(f|0)){break b}g=l+1|0;d:{if((h|0)>0){i=b+h|0;f=g;if(i>>>0<=64){break d}lc(k,n);return}f=g-b|0;h=(f|0)<(h|0)?h:f;i=h+b|0;f=g-h|0}o=f;f=(f<<2)+c|0;Cb(f+(h<<2)|0,f,b-o<<2);j=h+o|0;e:{if(j>>>0<=g>>>0){break e}b=(h+o|0)-l|0;q=b-2|0;f=F[p>>2];l=0;b=b-1&3;if(b){while(1){f=f+1|0;F[(g<<2)+c>>2]=f;g=g+1|0;l=l+1|0;if((b|0)!=(l|0)){continue}break}}if(q>>>0<=2){break e}while(1){l=(g<<2)+c|0;F[l>>2]=f+1;b=f+4|0;F[l+12>>2]=b;F[l+8>>2]=f+3;F[l+4>>2]=f+2;f=b;g=g+4|0;if((j|0)!=(g|0)){continue}break}}f:{if(i>>>0<=j>>>0){break f}f=0;b=i-(h+o|0)&3;if(b){while(1){g=(j<<2)+c|0;F[g>>2]=F[g>>2]+h;j=j+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(((h^-1)+i|0)-o>>>0<3){break f}while(1){b=(j<<2)+c|0;F[b>>2]=F[b>>2]+h;F[b+4>>2]=F[b+4>>2]+h;F[b+8>>2]=F[b+8>>2]+h;F[b+12>>2]=F[b+12>>2]+h;j=j+4|0;if((i|0)!=(j|0)){continue}break}}f=n;b=i}m=m+1|0;if((m|0)!=(d|0)){continue}break}}lc(k,f)}function Ee(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=G[a+4|0];a:{b:{if(!g){break b}k=L(b+1|0,g)+a|0;f=k+5|0;c=f;i=g-1|0;if(i>>>0>=3){j=g&252;c=f;while(1){h=c;c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}e=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}h=g&3;if(h){while(1){e=G[c|0]|e<<8;c=c+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}h=g&3;l=L(b,g)+a|0;c=l+5|0;j=0;if(i>>>0<3){d=0}else{m=g&252;d=0;while(1){b=c;c=b+4|0;d=d+4|0;if((m|0)!=(d|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(h){while(1){d=G[c|0]|d<<8;c=c+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(e>>>0>>0){return 0}d=g&3;c=0;if(i>>>0<3){e=0}else{h=g&252;e=0;while(1){b=f;f=b+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(d){while(1){e=G[f|0]|e<<8;f=f+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}c:{if(g){b=a;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=(b+L(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),g)|0)+5|0;b=g&3;d=0;if(i>>>0<3){f=0}else{h=g&252;f=0;while(1){a=c;c=a+4|0;f=f+4|0;if((h|0)!=(f|0)){continue}break}a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(b){while(1){f=G[c|0]|f<<8;c=c+1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}if(e>>>0<=f>>>0){break c}return 0}f=0;d=0;if(!e){break b}break a}b=g&3;c=k+5|0;e=0;if(i>>>0<3){f=0}else{d=g&252;f=0;while(1){a=c;c=a+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(b){while(1){f=G[c|0]|f<<8;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}b=g&3;c=l+5|0;e=0;if(i>>>0<3){d=0}else{h=g&252;d=0;while(1){a=c;c=a+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(!b){break b}while(1){d=G[c|0]|d<<8;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}f=f-d|0}return f|0}function Nn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=F[b+4>>2];if(c>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0>>0){break a}g=f-a|0;if(g>>>0<6){break a}d=F[b+12>>2]-6|0;F[b+12>>2]=d;if((d|0)<=0){break a}e=G[a+2|0]|G[a+3|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<6|e>>>0>g>>>0){break a}e=d-e|0;F[b+12>>2]=e;if((e|0)<=0){break a}d=1;b:{c:{switch(G[a+4|0]){case 0:d=a+6|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<8){break a}g=e-8|0;F[b+12>>2]=g;if((e|0)<9){break a}d=G[a+6|0]|G[a+7|0]<<8;if(d){a=a+14|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=f-a|0;a=L((d<<8|d>>>8)&65535,6);if(e>>>0>>0){break a}a=g-a|0;F[b+12>>2]=a;d=0;if((a|0)<=0){break b}}return 1;case 2:break c;default:break b}}d:{e:{e=F[b+4>>2];if(e>>>0>a>>>0){break e}f=F[b+8>>2];if(f>>>0>>0){break e}j=f-a|0;if(j>>>0<14){break e}d=F[b+12>>2];c=d-14|0;F[b+12>>2]=c;if((c|0)<=0){break e}c=a+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break e}c=d-16|0;F[b+12>>2]=c;if((c|0)<=0){break e}c=G[a+8|0]|G[a+9|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break e}g=d-20|0;F[b+12>>2]=g;if((g|0)<=0){break e}g=c+2|0;if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break e}d=d-22|0;F[b+12>>2]=d;if((d|0)<=0){break e}f:{g=G[c+2|0]|G[c+3|0]<<8;if(!g){break f}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0){break e}h=f-c|0;c=((g<<8|g>>>8)&65535)<<1;if(h>>>0>>0){break e}d=d-c|0;F[b+12>>2]=d;if((d|0)>0){break f}break e}c=a+10|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break e}F[b+12>>2]=d-2;if((d|0)<3){break e}c=G[a+10|0]|G[a+11|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break e}F[b+12>>2]=d-6;if((d|0)<7){break e}g=c+2|0;if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break e}g=d-8|0;F[b+12>>2]=g;if((d|0)<9){break e}d=1;g:{i=G[c+2|0]|G[c+3|0]<<8;if(!i){break g}h=e;e=c+4|0;if(h>>>0>e>>>0|f>>>0>>0){break e}e=f-e|0;f=((i<<8|i>>>8)&65535)<<1;if(e>>>0>>0){break e}g=g-f|0;F[b+12>>2]=g;if((g|0)>0){break g}break e}a=G[a+12|0]|G[a+13|0]<<8;h:{if(!a){break h}d=0;a=(a<<8|a>>>8)&65535;if(a>>>0>j>>>0){break h}a=g-a|0;F[b+12>>2]=a;d=(a|0)>0}break d}d=0}}return d|0}return 0}function wk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=Ga-16|0;Ga=j;g=F[b>>2];e=g<<1;u=a,v=Va(d,4,0,e,0,j+12|0),F[u+12>>2]=v;a:{if(F[j+12>>2]){break a}u=a,v=Va(d,28,0,g,0,j+12|0),F[u+8>>2]=v;if(F[j+12>>2]){break a}u=a,v=Va(d,16,0,e|1,0,j+12|0),F[u+24>>2]=v;if(F[j+12>>2]){break a}F[a>>2]=g;F[a+28>>2]=0;F[a+20>>2]=0;F[a+4>>2]=0;F[a+16>>2]=F[a+12>>2]+(g<<2);b:{if(!g){break b}h=g-1|0;d=F[a+8>>2];b=F[b+8>>2];i=g&3;c:{if(!i){f=g;break c}e=0;f=g;while(1){F[d>>2]=F[b>>2];F[d+4>>2]=F[b+4>>2];F[d+16>>2]=F[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(h>>>0<3){break b}while(1){F[d>>2]=F[b>>2];F[d+4>>2]=F[b+4>>2];F[d+16>>2]=F[b+8>>2];F[d+28>>2]=F[b+12>>2];F[d+32>>2]=F[b+16>>2];F[d+44>>2]=F[b+20>>2];F[d+56>>2]=F[b+24>>2];F[d+60>>2]=F[b+28>>2];F[d+72>>2]=F[b+32>>2];F[d+84>>2]=F[b+36>>2];F[d+88>>2]=F[b+40>>2];F[d+100>>2]=F[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}k=F[c>>2];i=F[c+8>>2];F[a+32>>2]=c;if(!k){break d}while(1){p=F[i>>2];if(p){m=F[i+8>>2];b=0;l=0;q=0;while(1){if(!b){q=G[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=F[a+8>>2]+L(l,28)|0;c=F[h+16>>2];if(c&4){break e}F[h+16>>2]=c|4;c=F[a+16>>2];F[h+20>>2]=0;f:{if(!e){break f}r=F[h>>2];t=r+F[h+4>>2]|0;f=e;d=c;while(1){n=F[d>>2];s=F[n>>2];if(!((s|0)>(t|0)|(F[n+4>>2]+s|0)<(r|0))){F[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;F[a+4>>2]=d;F[c+(e<<2)>>2]=h;e=d}b=b>>1;l=l+1|0;if((p|0)!=(l|0)){continue}break}}i=i+16|0;k=k-1|0;if(k){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=F[a+8>>2]+L(o,28)|0;b=F[f+16>>2];g:{if(b&4){break g}F[f+16>>2]=b|4;c=F[a+16>>2];F[f+20>>2]=0;h:{if(!e){break h}i=F[f>>2];l=i+F[f+4>>2]|0;b=e;d=c;while(1){h=F[d>>2];k=F[h>>2];if(!((k|0)>(l|0)|(i|0)>(k+F[h+4>>2]|0))){F[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;F[a+4>>2]=b;F[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Ga=j+16|0;return F[j+12>>2]}function ai(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a=Ga-16|0;Ga=a;d=0;F[a+4>>2]=0;e=F[b+80>>2];g=Ia[F[e+164>>2]](b,F[b+84>>2],32,a+4|0,F[e+20>>2])|0;si(c);m=F[c+40>>2];k=F[c+68>>2];a:{if(!k){break a}j=F[c+88>>2];i=F[c+80>>2];if((m&-2)==4){while(1){b:{c:{if(!g){break c}e=L(d,20);f=e+i|0;if(!Lf(F[f>>2])){break c}F[f>>2]=F[a+4>>2];e=e+j|0;F[e>>2]=0;F[e+4>>2]=0;break b}e=L(d,20);f=e+i|0;h=F[f>>2];F[f>>2]=0;l=h;h=F[b+80>>2];Ia[F[h+164>>2]](b,F[b+84>>2],l,f,F[h+20>>2])|0;h=F[f>>2];e=e+j|0;F[e>>2]=0;F[e+4>>2]=0;l=h;h=F[b+80>>2];n=e,o=Ia[F[h+176>>2]](b,F[b+84>>2],l,F[h+32>>2])|0,F[n>>2]=o;pd(b,F[f>>2],a+12|0,a+8|0);F[e+8>>2]=F[e+8>>2]-F[a+12>>2];F[e+12>>2]=F[e+12>>2]-F[a+8>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break a}}if(!g){while(1){e=L(d,20);f=e+i|0;g=F[f>>2];F[f>>2]=0;h=g;g=F[b+80>>2];Ia[F[g+164>>2]](b,F[b+84>>2],h,f,F[g+20>>2])|0;g=F[f>>2];e=e+j|0;F[e>>2]=0;F[e+4>>2]=0;h=g;g=F[b+80>>2];n=e,o=Ia[F[g+180>>2]](b,F[b+84>>2],h,F[g+36>>2])|0,F[n+4>>2]=o;Tf(b,F[f>>2],a+12|0,a+8|0);F[e+8>>2]=F[e+8>>2]-F[a+12>>2];F[e+12>>2]=F[e+12>>2]-F[a+8>>2];d=d+1|0;if((k|0)!=(d|0)){continue}break a}}while(1){f=L(d,20);e=f+i|0;d:{if(Lf(F[e>>2])){F[e>>2]=F[a+4>>2];e=f+j|0;F[e>>2]=0;F[e+4>>2]=0;break d}g=F[e>>2];F[e>>2]=0;h=g;g=F[b+80>>2];Ia[F[g+164>>2]](b,F[b+84>>2],h,e,F[g+20>>2])|0;g=F[e>>2];f=f+j|0;F[f>>2]=0;F[f+4>>2]=0;h=g;g=F[b+80>>2];n=f,o=Ia[F[g+180>>2]](b,F[b+84>>2],h,F[g+36>>2])|0,F[n+4>>2]=o;Tf(b,F[e>>2],a+12|0,a+8|0);F[f+8>>2]=F[f+8>>2]-F[a+12>>2];F[f+12>>2]=F[f+12>>2]-F[a+8>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((m&-3)==5){md(c)}e=F[c+68>>2];e:{if(!e){break e}c=F[c+80>>2];d=0;b=0;if(e-1>>>0>=3){j=e&-4;f=0;while(1){i=c+L(b,20)|0;F[i+4>>2]=F[i+4>>2]&-4;i=c+L(b|1,20)|0;F[i+4>>2]=F[i+4>>2]&-4;i=c+L(b|2,20)|0;F[i+4>>2]=F[i+4>>2]&-4;i=c+L(b|3,20)|0;F[i+4>>2]=F[i+4>>2]&-4;b=b+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}e=e&3;if(!e){break e}while(1){f=c+L(b,20)|0;F[f+4>>2]=F[f+4>>2]&-4;b=b+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}Ga=a+16|0;return 1}function PB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;F[b>>2]=0;F[b+4>>2]=0;F[b+20>>2]=163632;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;i=G[163632];k=i|256;f=!G[a+16|0];while(1){a:{c=F[a+12>>2];d=c+1|0;g=F[a+4>>2];j=d>>>0<=g>>>0&f;if(!j){break a}b:{c:{if(c>>>0>>0){e=F[a>>2];f=G[e+c|0];if((f|0)==12){c=k;if(d>>>0>=g>>>0){break c}f=G[d+e|0]|256;c=d}if(c>>>0>=g>>>0){c=f;break c}F[a+12>>2]=c+1;break b}D[a+16|0]=1;f=65535;c=i;if((c|0)==12){break b}}D[a+16|0]=1;F[a+12>>2]=g;f=c}d=Ga-32|0;Ga=d;F[d+28>>2]=0;F[d+20>>2]=0;F[d+24>>2]=0;F[d+12>>2]=0;F[d+16>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{switch(f-6|0){default:c=f-265|0;if(c>>>0>10){break i}c=1<>2];if(c){c=c-1|0;if(c>>>0>2]){break g}c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;F[d+24>>2]=e;F[d+28>>2]=c;break f}D[a+20|0]=1;c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;F[d+24>>2]=e;F[d+28>>2]=c;break f}g=a+24|0;c=F[g>>2];o:{if(c){c=c-1|0;if(c>>>0>=I[a+32>>2]){c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;x(0,e|0);x(1,c|0);h=+z();break o}h=K[F[a+36>>2]+(c<<3)>>3];break o}D[a+20|0]=1;c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;x(0,e|0);x(1,c|0);h=+z()}p:{if(N(h)<2147483648){c=~~h;break p}c=-2147483648}if((c|0)<0){D[a+20|0]=1;c=0}F[b+16>>2]=c;break f}ze(a+20|0,a);break h}h=ye(a);c=F[a+24>>2];if(c>>>0>2]){F[a+24>>2]=c+1;K[F[a+36>>2]+(c<<3)>>3]=h;break h}D[a+20|0]=1;c=F[40909];F[61608]=F[40908];F[61609]=c;K[30804]=h;break h}Id(f,a)}if(!F[a+24>>2]){break e}break d}c=F[a+36>>2]+(c<<3)|0;e=F[c+4>>2];F[d+24>>2]=F[c>>2];F[d+28>>2]=e}F[g>>2]=0}if(G[a+20|0]|(G[a+40|0]|G[a+16|0])|F[a+28>>2]<0){break d}mo(b,f,a,d+8|0)}Ga=d+32|0;if(G[a+20|0]|(G[a+40|0]|G[a+16|0])){break a}f=1;if(F[a+28>>2]>=0){continue}}break}return!j|0}function fr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Ga-1552|0;Ga=e;f=6;g=F[a+4>>2];a:{if(I[g+16>>2]<=c>>>0){break a}h=F[g+136>>2];F[a+164>>2]=F[b+16>>2];F[a+168>>2]=F[b+20>>2];d=d&1024?d|3:d;i=d&1;D[a+161|0]=!i;f=!(d&3);D[a+160|0]=f;F[a+108>>2]=0;F[a+72>>2]=1869968492;f=Ia[F[F[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,112)|0;if(f){break a}j=d&1024;D[e+101|0]=j>>>10;f=fj(e+32|0,c);if(!f){k=G[a+161|0];l=G[a+160|0];c=e+1420|0;f=F[c+4>>2];F[e+24>>2]=F[c>>2];F[e+28>>2]=f;c=F[e+1416>>2];F[e+16>>2]=F[e+1412>>2];F[e+20>>2]=c;c=F[e+1432>>2];f=F[e+1428>>2];Ia[F[F[h+12>>2]+4>>2]](e+32|0);F[a+124>>2]=F[a+124>>2]&1|4;if(j){b=F[a+156>>2];d=F[e+64>>2];F[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=F[e+72>>2];F[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=F[e+28>>2];F[b+20>>2]=F[e+24>>2];F[b+24>>2]=a;a=F[e+20>>2];F[b+12>>2]=F[e+16>>2];F[b+16>>2]=a;F[b+32>>2]=c;F[b+28>>2]=f;D[b+8|0]=1;f=0;break a}h=F[e+72>>2];F[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=F[e+72>>2];F[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;D[F[a+156>>2]+8|0]=0;h=F[g+200>>2];g=F[g+208>>2];F[a+72>>2]=1869968492;g=g-h>>16;F[a+60>>2]=g;F[a+52>>2]=g;if(H[b+14>>1]<=23){F[a+124>>2]=F[a+124>>2]|256}g=a+108|0;b:{if(!(F[e+20>>2]|(F[e+16>>2]!=65536|F[e+28>>2]!=65536))){if(!F[e+24>>2]){break b}}Pc(g,e+16|0);m=a,n=Ua(F[a+40>>2],F[e+16>>2]),F[m+40>>2]=n;m=a,n=Ua(F[a+52>>2],F[e+28>>2]),F[m+52>>2]=n}if(c|f){Vb(g,f,c);F[a+40>>2]=f+F[a+40>>2];F[a+52>>2]=c+F[a+52>>2]}if(!(k?0:i)){c=F[a+168>>2];h=F[a+164>>2];c:{if(F[e+104>>2]?l:0){break c}f=F[e+48>>2];b=E[f+2>>1];if((b|0)<=0){break c}b=b&65535;f=F[f+4>>2];while(1){m=f,n=Ua(F[f>>2],h),F[m>>2]=n;m=f,n=Ua(F[f+4>>2],c),F[m+4>>2]=n;f=f+8|0;i=b>>>0>1;b=b-1|0;if(i){continue}break}}m=a,n=Ua(F[a+40>>2],h),F[m+40>>2]=n;m=a,n=Ua(F[a+52>>2],c),F[m+52>>2]=n}ed(g,e);b=F[e>>2];F[a+24>>2]=F[e+8>>2]-b;c=F[e+4>>2];f=F[e+12>>2];F[a+36>>2]=f;F[a+32>>2]=b;F[a+28>>2]=f-c;if(d&16){Pd(a+24|0,F[a+52>>2])}f=0;break a}Ia[F[F[h+12>>2]+4>>2]](e+32|0)}Ga=e+1552|0;return f|0}function hk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;F[a+168>>2]=f;n=a+168|0;F[a+48>>2]=n;i=F[a+64>>2];F[a+192>>2]=F[a+60>>2];F[a+196>>2]=i;F[a+188>>2]=c;F[a+184>>2]=b;F[a+180>>2]=e;F[a+176>>2]=d;F[a+172>>2]=g;g=n;while(1){a:{b:{c:{j=F[g+20>>2];l=F[g+12>>2];e=F[g+28>>2];i=F[g+4>>2];if((((j|0)<(l|0)?j:l)|0)>=(((e|0)<(i|0)?e:i)|0)){k=(e|0)>(i|0);if((((j|0)>(l|0)?j:l)|0)<=((k?e:i)|0)){break c}}b=F[g+24>>2];F[g+48>>2]=b;F[g+52>>2]=e;c=e+j|0;F[g+44>>2]=c>>1;d=i+l|0;F[g+12>>2]=d>>1;e=F[g+8>>2];k=e+f|0;F[g+8>>2]=k>>1;m=b;b=F[g+16>>2];h=m+b|0;F[g+40>>2]=h>>1;m=c;c=j+l|0;j=m+c|0;F[g+36>>2]=j>>2;c=c+d|0;F[g+20>>2]=c>>2;b=b+e|0;d=b+k|0;F[g+16>>2]=d>>2;e=b+h|0;F[g+32>>2]=e>>2;b=3;F[g+28>>2]=c+j>>3;F[g+24>>2]=d+e>>3;break b}b=-3;if((e|0)==(i|0)){break b}o=k?2:1;c=F[a+92>>2];if((o|0)!=(c|0)){b=F[a+4>>2];d=k?e&b-1:((b+e|0)-1&0-b)-e|0;m=F[a+8>>2];if(c){b=F[a+36>>2];h=F[a+80>>2];c=F[h+8>>2];p=b-c|0;if((p|0)<0){F[a+40>>2]=99;return 1}d:{if((b|0)==(c|0)){c=b;break d}F[h+16>>2]=p>>2;if((d|0)>=(m|0)){c=H[h+12>>1];E[h+12>>1]=(c&8?16:32)|c}F[a+80>>2]=b;c=b+32|0;F[a+36>>2]=c;F[b+8>>2]=c;F[b+16>>2]=0;F[h+28>>2]=b;E[a+76>>1]=H[a+76>>1]+1}if(I[a+32>>2]<=c>>>0){F[a+40>>2]=98;return 1}D[a+79|0]=0}e:{if(F[a+84>>2]){c=F[a+36>>2];break e}b=F[a+36>>2];F[a+84>>2]=b;F[a+80>>2]=b;c=b+32|0;F[a+36>>2]=c}if(I[a+32>>2]<=c>>>0){F[a+40>>2]=98;return 1}b=F[a+80>>2];F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=c;F[b+28>>2]=0;F[b+4>>2]=0;h=G[a+164|0];E[b+12>>1]=h;f:{g:{if(!k){E[b+12>>1]=h|8;c=40;if((d|0)>=(m|0)){break g}break f}c=16;if((d|0)<(m|0)){break f}}E[b+12>>1]=c|h}if(!F[a+88>>2]){F[a+88>>2]=b}E[a+78>>1]=1;F[a+92>>2]=o}b=F[a+72>>2];c=F[a+68>>2];if(!k){if(!Ue(a,3,62,c,b)){break a}return 1}F[g+28>>2]=0-e;F[g+20>>2]=0-j;F[g+12>>2]=0-l;F[g+4>>2]=0-i;d=G[a+78|0];b=Ue(a,3,62,0-b|0,0-c|0);if(!(G[a+78|0]|!d)){c=F[a+80>>2];F[c+20>>2]=0-F[c+20>>2]}F[g+4>>2]=0-F[g+4>>2];if(!b){break a}return 1}F[a+48>>2]=(b<<3)+g}g=F[a+48>>2];if(n>>>0<=g>>>0){f=F[g>>2];continue}break}F[a+64>>2]=i;F[a+60>>2]=f;return 0}function Ao(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=F[a>>2];a:{if(c){break a}l=a-28|0;while(1){b=F[l>>2];if(!b){return 163632}b:{c:{c=ib(1,32);if(c){e=Ga-48|0;Ga=e;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;D[e+24|0]=0;F[61902]=0;F[e+28>>2]=0;F[e+32>>2]=0;F[e>>2]=0;F[e+4>>2]=0;d=fa(683,b|0)|0;f=F[61902];F[61902]=0;d:{e:{if((f|0)==1){break e}F[e+36>>2]=d;F[61902]=0;D[e+40|0]=1;b=aa(684,b|0,1886352244)|0;d=F[61902];F[61902]=0;if((d|0)==1){break e}F[61902]=0;b=aa(709,e|0,b|0)|0;d=F[61902];F[61902]=0;if((d|0)==1){break e}F[c>>2]=b;b=b?b:163632;h=F[b+16>>2];b=h>>>0<32?163632:F[b+12>>2];d=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);F[c+4>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f:{if((d|0)!=512){break f}d=b+32|0;F[c+8>>2]=d;f=G[b+32|0]|G[b+33|0]<<8;g=(d+(((f<<8|f>>>8)&65535)<<1)|0)+2|0;F[c+24>>2]=g;f=F[c+16>>2];if(f>>>0>65534){break f}i=b+h|0;if(i>>>0<=g>>>0){break f}k=F[40908];while(1){if(G[g|0]+g>>>0>=i>>>0){break f}g:{h:{i:{h=F[c+12>>2];if((h|0)>=0){j=f+1|0;m=F[c+24>>2];b=f;d=h;if(b>>>0>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(j>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>1073741822)){b=ob(F[c+20>>2],d<<2);if(b){break i}}F[c+12>>2]=-1}F[61608]=k;break g}F[c+12>>2]=d;F[c+20>>2]=b;b=F[c+16>>2]}if(b>>>0<=f>>>0){Wa(F[c+20>>2]+(b<<2)|0,0,j-b<<2)}F[c+16>>2]=j;b=F[c+20>>2];F[61608]=k;b=b+(f<<2)|0;if((b|0)==246432){break g}F[b>>2]=g-m}f=F[c+16>>2];if(f>>>0>65534){break f}g=(G[g|0]+g|0)+1|0;if(i>>>0>g>>>0){continue}break}}Ga=e+48|0;break d}a=Z()|0;Y()|0;F[c+16>>2]=0;Ta(F[c+20>>2]);F[c+20>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;$(a|0);V()}b=F[a>>2];F[a>>2]=b?b:c;if(!b){break a}Ta(F[c+28>>2]);b=F[c>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break c}F[c>>2]=0;F[c+16>>2]=0;Ta(F[c+20>>2]);Ta(c);break b}c=163632;b=F[a>>2];F[a>>2]=b?b:163632;if(b){break b}break a}ca(0)|0;Y()|0;Hb();V()}c=F[a>>2];if(!c){continue}break}}return c}function ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=Ga-16|0;Ga=o;a:{b:{if(!F[c+88>>2]){F[c+100>>2]=F[d+100>>2];F[c+104>>2]=F[d+104>>2];e=F[d+80>>2];F[c+80>>2]=e;f=F[d+76>>2];D[c+94|0]=7;F[c+76>>2]=f;E[c+92>>1]=256;e=e<<2;F[c+84>>2]=e;e=L(e,f);f=df(c,e);F[o+12>>2]=f;if(f){break a}Wa(F[c+88>>2],0,e);break b}i=F[d+104>>2];j=i-F[d+76>>2]|0;k=F[c+104>>2];m=k-F[c+76>>2]|0;l=F[d+100>>2];g=l+F[d+80>>2]|0;f=F[c+100>>2];e=f+F[c+80>>2]|0;if(!((e|0)<(g|0)|(f|0)>(l|0)|(i|0)>(k|0))){if((j|0)>=(m|0)){break b}}i=(i|0)<(k|0)?k:i;m=i-((j|0)>(m|0)?m:j)|0;k=(f|0)<(l|0)?f:l;g=((e|0)>(g|0)?e:g)-k|0;j=g<<2;l=gb(F[a+100>>2],L(m,j),o+12|0);f=F[o+12>>2];if(f){break a}if(F[c+76>>2]){e=(l+L(j,i-F[c+104>>2]|0)|0)+(F[c+100>>2]-k<<2)|0;f=F[c+88>>2];while(1){e=Ya(e,f,F[c+80>>2]<<2)+j|0;f=F[c+84>>2]+f|0;h=h+1|0;if(h>>>0>2]){continue}break}}Mg(c,l);F[c+100>>2]=k;F[c+104>>2]=i;F[c+80>>2]=g;F[c+84>>2]=j;F[c+76>>2]=m;e=F[c+156>>2];F[e+4>>2]=F[e+4>>2]|1;F[c+72>>2]=1651078259}c:{if((b|0)==65535){if(G[a+676|0]){e=G[a+680|0];h=G[a+679|0];n=G[a+678|0];g=G[a+677|0];break c}b=F[a+656>>2];if(b){e=255;h=255;n=255;g=255;if(G[b+(H[a+668>>1]<<1)|0]&2){break c}}h=0;e=255;n=0;g=0;break c}a=F[a+672>>2]+(b<<2)|0;e=G[a+3|0];h=G[a+2|0];n=G[a+1|0];g=G[a|0]}f=0;i=F[d+76>>2];if(!i|!F[d+80>>2]){break a}l=h&255;m=n&255;g=g&255;b=e&255;a=F[c+84>>2];n=(F[c+88>>2]+L(a,F[c+104>>2]-F[d+104>>2]|0)|0)+(F[d+100>>2]-F[c+100>>2]<<2)|0;j=F[d+88>>2];k=0;e=1;while(1){h=0;f=0;if(e){while(1){f=(h<<2)+n|0;e=(L(b,G[j+h|0])>>>0)/255|0;a=255-e|0;D[f+1|0]=(((L(a,G[f+1|0])&65535)>>>0)/255|0)+(((L(e,m)&65535)>>>0)/255|0);D[f|0]=(((L(a,G[f|0])&65535)>>>0)/255|0)+(((L(e,g)&65535)>>>0)/255|0);D[f+2|0]=(((L(a,G[f+2|0])&65535)>>>0)/255|0)+(((L(e,l)&65535)>>>0)/255|0);D[f+3|0]=e+(((L(a,G[f+3|0])&65535)>>>0)/255|0);f=F[d+80>>2];h=h+1|0;if(f>>>0>h>>>0){continue}break}i=F[d+76>>2];a=F[c+84>>2]}n=a+n|0;j=F[d+84>>2]+j|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}Ga=o+16|0;return f|0}function EB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=id(a,b);h=G[j+4|0]|G[j+5|0]<<8;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(c){l=h?((h<<8|h>>>8)&65535)+j|0:163632;m=G[l|0]|G[l+1|0]<<8;a=((m<<8|m>>>8)&65535)-1|0;while(1){if(m){o=(n<<2)+d|0;p=F[o>>2];g=0;b=a;while(1){k=b+g>>>1|0;i=L(k,6)+l|0;i=G[i+2|0]|G[i+3|0]<<8|(G[i+4|0]<<16|G[i+5|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);n:{if(i>>>0>p>>>0){b=k-1|0;break n}if((i|0)==(p|0)){break m}g=k+1|0}if((b|0)>=(g|0)){continue}break}}if(e){F[e>>2]=65535}n=n+1|0;if((n|0)!=(c|0)){continue}break}}if(h){break l}a=163632;break k}if(e){F[e>>2]=k}if(!f){return 1}b=F[o>>2];a=1;break b}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=G[a|0]|G[a+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){c=b+g>>>1|0;d=a+L(c,6)|0;d=G[d+2|0]|G[d+3|0]<<8|(G[d+4|0]<<16|G[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);o:{if(d>>>0>=1145457749){b=c-1|0;break o}if((d|0)==1145457748){break j}g=c+1|0}if((b|0)>=(g|0)){continue}break}}if(e){F[e>>2]=65535}if(h){break i}a=163632;break h}if(e){F[e>>2]=c}b=1145457748;break c}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=G[a|0]|G[a+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){c=b+g>>>1|0;d=a+L(c,6)|0;d=G[d+2|0]|G[d+3|0]<<8|(G[d+4|0]<<16|G[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);p:{if(d>>>0>=1684434037){b=c-1|0;break p}if((d|0)==1684434036){break g}g=c+1|0}if((b|0)>=(g|0)){continue}break}}if(e){F[e>>2]=65535}if(h){break f}a=163632;break e}if(e){F[e>>2]=c}b=1684434036;break c}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=G[a|0]|G[a+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){c=b+g>>>1|0;d=a+L(c,6)|0;d=G[d+2|0]|G[d+3|0]<<8|(G[d+4|0]<<16|G[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);q:{if(d>>>0>=1818326127){b=c-1|0;break q}if((d|0)==1818326126){break d}g=c+1|0}if((b|0)>=(g|0)){continue}break}}if(e){F[e>>2]=65535}b=65535;break c}if(e){F[e>>2]=c}b=1818326126}a=0;if(!f){break a}}F[f>>2]=b}return a|0}function qq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=Ga-32|0;Ga=f;d=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!g){break a}d=a;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);d=(d+L(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),12)|0)+16|0;while(1){a=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);b:{if(!((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))&c)){break b}a=G[d+4|0];if(!(a&32)&(a>>>7|0)==((F[F[b+16>>2]+40>>2]&-2)!=6|0)){break b}c:{if(a&16){e=(a&64)>>>6|0;a=F[b+16>>2];break c}e=(a&64)>>>6|0;a=F[b+16>>2];e=e^(F[a+40>>2]&-3)==5}i=F[b+8>>2];F[f+16>>2]=F[b+72>>2];if(!mb(a,i,106086,f+16|0)){break b}d:{e:{f:{if(e){a=F[b+16>>2];ce(a,583,F[a+20>>2]==1);e=F[b+52>>2];a=F[e+12>>2];F[b+24>>2]=a;e=a+F[e+16>>2]|0;F[b+28>>2]=e;g:{if(!(d>>>0>>0&a>>>0<=d>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break g}F[b+24>>2]=d;e=e-d|0;a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);F[b+28>>2]=(a>>>0>e>>>0?e:a)+d}F[61902]=0;aa(584,d|0,b|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break f}a=F[b+52>>2];e=F[a+12>>2];F[b+24>>2]=e;F[b+28>>2]=e+F[a+16>>2];a=F[b+16>>2];ce(a,583,F[a+20>>2]==1);break d}e=F[b+52>>2];a=F[e+12>>2];F[b+24>>2]=a;e=a+F[e+16>>2]|0;F[b+28>>2]=e;h:{if(!(d>>>0>>0&a>>>0<=d>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break h}F[b+24>>2]=d;e=e-d|0;a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);F[b+28>>2]=(a>>>0>e>>>0?e:a)+d}F[61902]=0;aa(584,d|0,b|0)|0;a=F[61902];F[61902]=0;if((a|0)!=1){break e}}a=Z()|0;Y()|0;c=F[b+52>>2];d=F[c+12>>2];F[b+24>>2]=d;F[b+28>>2]=d+F[c+16>>2];$(a|0);V()}a=F[b+52>>2];e=F[a+12>>2];F[b+24>>2]=e;F[b+28>>2]=e+F[a+16>>2]}a=F[b+8>>2];e=F[b+16>>2];F[f>>2]=F[b+72>>2];mb(e,a,106120,f);if(!G[F[b+16>>2]+60|0]){break a}}a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);F[b+72>>2]=F[b+72>>2]+1;d=(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))+d|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}Ga=f+32|0}function kq(a,b){a=a|0;b=b|0;var c=0,d=0,e=M(0),f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=J[F[b+8>>2]+64>>2];j=e<=M(0);a:{if(j){break a}k=F[F[b+4>>2]+148>>2];g=F[b+16>>2];if((F[g+40>>2]&-2)==4){d=G[a+6|0]|G[a+7|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}f=Xi(d,a,e);e=M((f|0)/2|0);a=F[b+8>>2];d=F[a+20>>2];c=F[a+16>>2];a=F[c+28>>2];if(a){b=d}else{a=db(c);b=F[b+8>>2];c=F[b+16>>2];b=F[b+20>>2]}e=M(R(M(M(M(e*M(d|0))/M(a>>>0))+M(.5))));b:{if(M(N(e))>2];if(!a){a=db(c)}e=M(R(M(M(e/M(a>>>0))+M(.5))));c:{if(M(N(e))>2];if(!c){break a}b=c-1|0;a=0;while(1){d:{if((a|0)==(b|0)){a=c;break d}a=a+1|0;if(G[(F[g+80>>2]+L(a,20)|0)+16|0]&128){continue}}break}if(!c){break a}l=F[g+80>>2];d=0;while(1){b=L(d,20);if(F[(b+l|0)+4>>2]&k){b=b+F[g+88>>2]|0;F[b>>2]=f+F[b>>2];F[b+8>>2]=h+F[b+8>>2]}b=a+1|0;d=b>>>0>>0?c:b;b=a;while(1){e:{b=b+1|0;if(c>>>0<=b>>>0){b=d;break e}if(G[(l+L(b,20)|0)+16|0]&128){continue}}break}i=a>>>0>>0;d=a;a=b;if(i){continue}break}break a}d=G[a+8|0]|G[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}f=Xi(d,a,e);e=M((f|0)/2|0);a=F[b+8>>2];d=F[a+24>>2];c=F[a+16>>2];a=F[c+28>>2];if(a){b=d}else{a=db(c);b=F[b+8>>2];c=F[b+16>>2];b=F[b+24>>2]}e=M(R(M(M(M(e*M(d|0))/M(a>>>0))+M(.5))));f:{if(M(N(e))>2];if(!a){a=db(c)}e=M(R(M(M(e/M(a>>>0))+M(.5))));g:{if(M(N(e))>2];if(!c){break a}a=c-1|0;b=0;while(1){h:{if((a|0)==(b|0)){b=c;break h}b=b+1|0;if(G[(F[g+80>>2]+L(b,20)|0)+16|0]&128){continue}}break}if(!c){break a}i=F[g+80>>2];d=0;while(1){a=L(d,20);if(F[(a+i|0)+4>>2]&k){a=a+F[g+88>>2]|0;F[a+4>>2]=f+F[a+4>>2];F[a+12>>2]=h+F[a+12>>2]}d=b;a=b+1|0;a=a>>>0>>0?c:a;while(1){i:{b=b+1|0;if(c>>>0<=b>>>0){b=a;break i}if(G[(i+L(b,20)|0)+16|0]&128){continue}}break}if(c>>>0>d>>>0){continue}break}}return!j|0}function ur(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ga-16|0;Ga=f;h=F[b+16>>2];n=F[a+492>>2];Ia[F[b+28>>2]](b);e=F[b>>2];a:{if(!(e>>>0>=I[b+8>>2]|G[e|0]!=91)){Ia[F[b+32>>2]](b);Ia[F[b+28>>2]](b);a=F[b>>2];if(a>>>0>2]&G[a|0]==93){break a}F[b+12>>2]=3;break a}e=Ia[F[b+36>>2]](b)|0;if((e|0)<0){F[b+12>>2]=3;break a}b:{d=F[b+8>>2];c=F[b>>2];c:{if(d>>>0>>0){break c}d=d-c>>3;if((d|0)>=(e|0)){break c}if(F[b+368>>2]){e=d;break c}e=gb(h,24,f+12|0);F[b+368>>2]=e;c=F[f+12>>2];if(c){break b}i=f;F[e+16>>2]=12;F[e+12>>2]=13;F[e+8>>2]=0;F[e>>2]=80;F[e+4>>2]=241;c=Ia[F[h+4>>2]](h,964)|0;d:{if(!c){F[e+20>>2]=c;c=64;break d}o=e,p=Wa(c,0,964),F[o+20>>2]=p;c=0}F[i+12>>2]=c;e=d;if(c){break b}}Ia[F[b+32>>2]](b);if(F[b+12>>2]){break a}j=b+316|0;Ia[F[b+28>>2]](b);if(!F[b+312>>2]){c=Ia[F[F[n>>2]>>2]](j,e,h)|0;F[f+12>>2]=c;if(c){break b}}d=F[b>>2];e:{if(I[b+8>>2]<=d+4>>>0){break e}while(1){if(cb(d,23623,3)){break e}Ia[F[b+32>>2]](b);d=Ia[F[b+36>>2]](b)|0;k=F[F[a+128>>2]+52>>2];c=F[b+8>>2];Ia[F[b+28>>2]](b);f:{g=F[b>>2];g:{if(g>>>0>=c>>>0|G[g|0]-48>>>0>9){break g}g=Ia[F[b+36>>2]](b)|0;Ia[F[b+32>>2]](b);if((g|0)<0){break g}i=c;c=F[b>>2];l=c+1|0;if((g|0)<(i-l|0)){break f}}if(k){break a}F[b+12>>2]=3;break a}F[b>>2]=(c+g|0)+1;if(F[b+12>>2]){break a}Ia[F[b+32>>2]](b);if(F[b+12>>2]){break a}Ia[F[b+28>>2]](b);c=F[b>>2];h:{if(I[b+8>>2]<=c+4>>>0){break h}if(cb(c,23645,3)){break h}Ia[F[b+32>>2]](b);Ia[F[b+28>>2]](b)}c=F[b+368>>2];if(c){ef(d,m,c,h);d=m}if(!F[b+312>>2]){c=F[a+172>>2];i:{if((c|0)>=0){if(c>>>0>g>>>0){c=3;F[f+12>>2]=3;break b}k=gb(h,g,f+12|0);c=F[f+12>>2];if(c){break b}c=Ya(k,l,g);Ia[F[n+16>>2]](c,g,4330);i=d;d=F[a+172>>2];o=f,p=Ia[F[b+360>>2]](j,i,d+c|0,g-d|0)|0,F[o+12>>2]=p;if(c){Ia[F[h+8>>2]](h,c)}c=F[f+12>>2];break i}c=Ia[F[b+360>>2]](j,d,l,g)|0;F[f+12>>2]=c}if(c){break b}}m=m+1|0;d=F[b>>2];if(I[b+8>>2]>d+4>>>0){continue}break}}if(F[b+312>>2]){break a}F[b+312>>2]=e;break a}F[b+12>>2]=c}Ga=f+16|0}function lA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(mb(c,b,105060,0)){yf(b,c,2,11,-1,-1);k=F[c+68>>2];a:{if(!k){break a}f=k-1|0;a=0;d=F[c+80>>2];g=G[d+15|0];while(1){b:{if((a|0)==(f|0)){a=k;break b}a=a+1|0;if((g|0)==G[(d+L(a,20)|0)+15|0]){continue}}break}if(!k){break a}h=F[c+80>>2];d=G[h+15|0];g=0;e=k;while(1){f=a;c:{switch(d&15){case 0:case 2:d:{e:{a=g+3|0;if(f>>>0>>0){break e}d=L(g,20)+h|0;if(G[d+18|0]!=16|G[d+38|0]!=18|G[d+58|0]!=4){break e}i=3;j=0;break d}i=0;a=g;j=1}d=g;f:{if(a>>>0>=f>>>0){break f}while(1){g:{d=L(a,20)+h|0;if(G[d+12|0]&32){break g}d=G[d+18|0];if(d>>>0>31|!(1<>>0>>0){a=0;e=g;if(!j){while(1){D[(L(e,20)+h|0)+19|0]=5;e=e+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(i-1>>>0>6){while(1){a=L(e,20)+h|0;D[a+39|0]=5;D[a+19|0]=5;D[a+59|0]=5;D[a+79|0]=5;D[a+99|0]=5;D[a+119|0]=5;D[a+139|0]=5;D[a+159|0]=5;e=e+8|0;if((l|0)!=(e|0)){continue}break}}a=l}if(a>>>0>>0){l=d+(a^-1)|0;e=0;j=d-a&7;if(j){while(1){D[(L(a,20)+h|0)+19|0]=3;a=a+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(l>>>0>=7){while(1){e=L(a,20)+h|0;D[e+39|0]=3;D[e+19|0]=3;D[e+59|0]=3;D[e+79|0]=3;D[e+99|0]=3;D[e+119|0]=3;D[e+139|0]=3;D[e+159|0]=3;a=a+8|0;if((d|0)!=(a|0)){continue}break}}a=d}if(a>>>0>>0){D[(L(a,20)+h|0)+19|0]=4;a=a+1|0}d=5;if(a>>>0>>0){while(1){i=3;e=L(a,20)+h|0;j=G[e+18|0];h:{i:{if((j|0)==22){break i}if(G[e+19|0]<4){break h}if((j|0)==30){i=G[e-1|0];break i}i=8;if(!((d|0)!=5|(j|0)!=27)){d=8;break i}if((d|0)==8){i=7;d=8;if((j|0)==10){break i}i=(j|0)==27?8:9;d=i;break i}i=d}D[e+19|0]=i}a=a+1|0;if((f|0)!=(a|0)){continue}break}}mi(c,g,f,764);h=F[c+80>>2];e=F[c+68>>2];break;default:break c}}a=f+1|0;g=a>>>0>>0?e:a;d=G[(L(f,20)+h|0)+15|0];a=f;while(1){j:{a=a+1|0;if(e>>>0<=a>>>0){a=g;break j}if((d|0)==G[(L(a,20)+h|0)+15|0]){continue}}break}g=f;if(f>>>0>>0){continue}break}}mb(c,b,105638,0)}}function cA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ga-32|0;Ga=f;if(mb(c,b,105185,0)){yf(b,c,7,1,18,-1);m=F[c+68>>2];a:{if(!m){break a}d=m-1|0;a=0;g=F[c+80>>2];h=G[g+15|0];while(1){b:{if((a|0)==(d|0)){a=m;break b}a=a+1|0;if((h|0)==G[(g+L(a,20)|0)+15|0]){continue}}break}if(!m){break a}i=F[c+80>>2];e=G[i+15|0];g=0;while(1){h=a;c:{if(!(1<<(e&15)&135)){break c}d:{if(h-g>>>0<2){break d}j=L(g,20)+i|0;if(G[j+18|0]!=18){break d}e=g+1|0;if(e>>>0>=h>>>0){break d}n=h-1|0;a=e;while(1){e:{f:{g:{o=L(a,20)+i|0;d=G[o+18|0];if(d>>>0<=63){k=d&31;if((d&63)>>>0>=32){k=1<>>32-k}l=(l&2143289344|k&238)!=0}else{l=0}if(!l){if((d|32)!=44){break g}d=H[o+12>>1]&32;if((a|0)!=(n|0)?d:0){break e}if(d){break f}}a=a-1|0;break f}if((a|0)!=(n|0)){break e}a=n}d=a+1|0;if(d-g>>>0>=2){Kb(c,g,d)}F[f+24>>2]=F[j+16>>2];d=F[j+12>>2];F[f+16>>2]=F[j+8>>2];F[f+20>>2]=d;d=F[j+4>>2];F[f+8>>2]=F[j>>2];F[f+12>>2]=d;Cb(j,L(e,20)+i|0,L(a-g|0,20));d=L(a,20)+i|0;F[d+16>>2]=F[f+24>>2];a=F[f+20>>2];F[d+8>>2]=F[f+16>>2];F[d+12>>2]=a;a=F[f+12>>2];F[d>>2]=F[f+8>>2];F[d+4>>2]=a;break d}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=g;if(h>>>0<=a>>>0){break c}while(1){e=L(g,20)+i|0;d=G[e+18|0];h:{if(!((d|32)!=44|G[e+12|0]&32)){a=g+1|0;break h}if(!(1<>>0>31){break h}d=G[e+14|0];if(!(d&16)&(d&15)!=0|a>>>0>=g>>>0){break h}d=g+1|0;if(d-a>>>0>=2){Kb(c,a,d)}F[f+24>>2]=F[e+16>>2];d=F[e+12>>2];F[f+16>>2]=F[e+8>>2];F[f+20>>2]=d;d=F[e+4>>2];F[f+8>>2]=F[e>>2];F[f+12>>2]=d;e=L(a,20)+i|0;Cb(e+20|0,e,L(g-a|0,20));F[e+16>>2]=F[f+24>>2];d=F[f+20>>2];F[e+8>>2]=F[f+16>>2];F[e+12>>2]=d;d=F[f+12>>2];F[e>>2]=F[f+8>>2];F[e+4>>2]=d}g=g+1|0;if((h|0)!=(g|0)){continue}break}}d=F[c+68>>2];a=h+1|0;g=a>>>0>>0?d:a;i=F[c+80>>2];e=G[(i+L(h,20)|0)+15|0];a=h;while(1){i:{a=a+1|0;if(d>>>0<=a>>>0){a=g;break i}if(G[(L(a,20)+i|0)+15|0]==(e|0)){continue}}break}g=h;if(m>>>0>g>>>0){continue}break}}mb(c,b,105721,0)}Ga=f+32|0}function KB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ga-32|0;Ga=f;F[f+28>>2]=0;F[f+20>>2]=0;F[f+24>>2]=0;F[f+12>>2]=0;F[f+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(a-6|0){default:d=a-265|0;if(d>>>0>9){break f}d=1<>2];if(d){d=d-1|0;if(d>>>0>2]){break d}d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;F[f+24>>2]=g;F[f+28>>2]=d;break c}D[b+20|0]=1;d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;F[f+24>>2]=g;F[f+28>>2]=d;break c}e=b+24|0;d=F[e>>2];m:{if(d){d=d-1|0;if(d>>>0>=I[b+32>>2]){d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);h=+z();break m}h=K[F[b+36>>2]+(d<<3)>>3];break m}D[b+20|0]=1;d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);h=+z()}n:{if(N(h)<2147483648){d=~~h;break n}d=-2147483648}if((d|0)<0){D[b+20|0]=1;d=0}F[c+16>>2]=d;break c}o:{if(G[b+48|0]){e=F[b+44>>2];break o}d=F[b+24>>2];p:{if(d){d=d-1|0;if(d>>>0>=I[b+32>>2]){d=F[40909];e=F[40908];F[61608]=e;F[61609]=d;x(0,e|0);x(1,d|0);h=+z();break p}h=K[F[b+36>>2]+(d<<3)>>3];break p}D[b+20|0]=1;d=F[40909];e=F[40908];F[61608]=e;F[61609]=d;x(0,e|0);x(1,d|0);h=+z()}q:{if(N(h)<2147483648){e=~~h;break q}e=-2147483648}if((e|0)<0){D[b+20|0]=1;e=0}F[b+44>>2]=e}D[b+48|0]=1;F[c+24>>2]=e;e=b+24|0;break c}ze(b+20|0,b);break e}h=ye(b);d=F[b+24>>2];if(d>>>0>2]){F[b+24>>2]=d+1;K[F[b+36>>2]+(d<<3)>>3]=h;break e}D[b+20|0]=1;d=F[40909];F[61608]=F[40908];F[61609]=d;K[30804]=h;break e}Id(a,b)}if(!F[b+24>>2]){break b}break a}d=F[b+36>>2]+(d<<3)|0;g=F[d+4>>2];F[f+24>>2]=F[d>>2];F[f+28>>2]=g}F[e>>2]=0}if(G[b+20|0]|(G[b+40|0]|G[b+16|0])|F[b+28>>2]<0){break a}mo(c,a,b,f+8|0)}Ga=f+32|0}function nk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ga-16|0;Ga=i;d=F[a+12>>2];if(d){F[(F[a+20>>2]+(d<<4)|0)-4>>2]=b}k=F[a+24>>2];a:{if((k|0)<2){break a}o=k;while(1){p=o;g=F[a+32>>2];o=o-1|0;b=g+(o<<4)|0;l=F[b>>2];d=F[b+8>>2];j=p-2|0;while(1){b:{h=g+(j<<4)|0;b=F[h+8>>2];c:{h=F[h>>2];f=h>>>0>l>>>0?l:h;d:{e:{if(f>>>0<8){m=d;break e}m=(f-8>>>3|0)+1|0;h=m+b|0;m=d+m|0;e=d;while(1){if(G[b|0]&G[e|0]){break d}b=b+1|0;e=e+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=h}if(!f|!(G[b|0]&G[m|0]&-256>>f)){break c}}b=j>>>0>>0?j:o;m=j>>>0>o>>>0?j:o;if(b>>>0>=m>>>0|m>>>0>=k>>>0){break b}n=g+(m<<4)|0;l=F[n>>2];f:{if(!l){break f}g=g+(b<<4)|0;b=F[g>>2];g:{if(l>>>0<=b>>>0){k=l+7|0;f=k>>>3|0;break g}d=F[g+4>>2];F[i>>2]=0;k=l+7|0;f=k>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;q=g,r=Va(c,1,e,d,F[g+8>>2],i),F[q+8>>2]=r;e=F[i>>2];if(e){break a}F[g+4>>2]=d<<3}d=b+1|0;if(l-b&1){if(I[g>>2]>b>>>0){h=F[g+8>>2]+(b>>>3|0)|0;D[h|0]=G[h|0]&-129>>(b&7)}b=d}if((d|0)==(l|0)){break g}while(1){if(I[g>>2]>b>>>0){d=F[g+8>>2]+(b>>>3|0)|0;D[d|0]=G[d|0]&-129>>(b&7)}h=b+1|0;if(h>>>0>2]){d=F[g+8>>2]+(h>>>3|0)|0;D[d|0]=G[d|0]&-129>>(h&7)}b=b+2|0;if((l|0)!=(b|0)){continue}break}}if(k>>>0<8){break f}h=f-1|0;e=F[n+8>>2];b=F[g+8>>2];j=0;d=f&3;if(d){while(1){D[b|0]=G[e|0]|G[b|0];f=f-1|0;e=e+1|0;b=b+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}if(h>>>0<3){break f}while(1){D[b|0]=G[e|0]|G[b|0];D[b+1|0]=G[e+1|0]|G[b+1|0];D[b+2|0]=G[e+2|0]|G[b+2|0];D[b+3|0]=G[e+3|0]|G[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}F[n>>2]=0;F[n+12>>2]=0;b=F[a+24>>2];d=b+(m^-1)|0;if((d|0)>0){b=F[n+12>>2];F[i+8>>2]=F[n+8>>2];F[i+12>>2]=b;b=F[n+4>>2];F[i>>2]=F[n>>2];F[i+4>>2]=b;b=d<<4;d=Cb(n,n+16|0,b)+b|0;b=F[i+12>>2];F[d+8>>2]=F[i+8>>2];F[d+12>>2]=b;b=F[i+4>>2];F[d>>2]=F[i>>2];F[d+4>>2]=b;b=F[a+24>>2]}k=b-1|0;F[a+24>>2]=k;break b}b=(j|0)>0;j=j-1|0;if(b){continue}}break}if((p|0)>2){continue}break}e=0}Ga=i+16|0;return e}function Oi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}g=F[b+12>>2];e=g-16|0;F[b+12>>2]=e;if((e|0)<=0){break a}e=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<4){break a}e=a+4|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break a}d=g-20|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=D[e|0];if((d|0)<0){break a}if(!yc((G[a+7|0]|(G[a+5|0]<<16|(d&255)<<24|G[a+6|0]<<8))+a|0,b)){return 0}d=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0>2147483646){break a}d=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;e=a;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);k=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;m=i<<1;h=0;a=0;d=0;while(1){e=d;b:{c:{d:{e:{if((a|0)>=(h|0)){g=a+1|0;if(!(!i|g>>>0<4294967295/(m>>>0)>>>0)){return 0}d=L(g,m);f:{if(!d){f=F[b+12>>2];break f}if(I[b+4>>2]>k>>>0){break a}f=F[b+8>>2];if(f>>>0>>0|d>>>0>f-k>>>0){break a}f=F[b+12>>2]-d|0;F[b+12>>2]=f;if((f|0)<=0){break a}}d=((a^-1)+h|0)+f|0;F[b+12>>2]=d;if((d|0)<=0|(g>>>0>=4294967295/(i>>>0)>>>0?i:0)){break a}d=L(g,i);if((d|0)<0){break a}h=L(h,i);if((h|0)<(d|0)){break e}h=g}if(!e){break c}d=e;break d}l=(d<<1)+k|0;f=(h<<1)+k|0;d=e;while(1){h=G[f|0]|G[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+1|0;d=d>>>0>h>>>0?d:h;f=f+2|0;if(l>>>0>f>>>0){continue}break}h=g}l=0;if(I[b+4>>2]>j>>>0){break a}g=F[b+8>>2];if(g>>>0>>0){break a}f=g-j|0;g=d<<3;if(f>>>0>>0){break a}f=F[b+12>>2]-g|0;F[b+12>>2]=f;if((f|0)<=0){break a}break b}f=F[b+12>>2];d=e}g=(e-d|0)+f|0;F[b+12>>2]=g;if((g|0)<=0){return 0}if((d|0)>(e|0)){g=(d<<3)+j|0;f=(e<<3)+j|0;while(1){e=G[f|0]|G[f+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;f=f+8|0;if(g>>>0>f>>>0){continue}break}}if((a|0)>=(h|0)){continue}break}l=1;if(!c){break a}F[c>>2]=d}return l}function Mm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;F[a+12>>2]=b;F[a+8>>2]=c;F[a+4>>2]=b;F[a+20>>2]=F[a+16>>2];l=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}h=F[a+20>>2];m=F[a+16>>2];i=h-m>>2;g=F[a+24>>2];e=G[b|0];c:{d:{if(!((e|0)==31|(e-27&255)>>>0>227)){d=4;if(g>>>0<=i>>>0){break c}F[a+20>>2]=h+4;F[h>>2]=b;e:{switch(e-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break c}d=G[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break};break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=(e>>>0>246)+b|0;break d}d=4;if(g>>>0<=i>>>0){break c}F[h>>2]=b;if((e|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break c}e=G[b|0]|256}g=25376;f=4;d=25376;j=F[a+28>>2]|e;f:{g:{if((j|0)==4096){break g}h:{i:{while(1){if((j|0)==F[d+32>>2]){break h}if((j|0)==F[d+60>>2]){break i}if((j|0)!=F[d+88>>2]){f=F[d+112>>2];if(!f){break f}e=d;g=d+112|0;d=g;if((j|0)!=F[e+116>>2]){continue}break g}break}g=d+84|0;f=F[d+84>>2];break g}g=d+56|0;f=F[d+56>>2];break g}g=d+28|0;f=F[d+28>>2]}e=F[g+8>>2];j=F[a+32>>2];if((f|0)!=6){d=12;if((h|0)==(m|0)){break c}}d=e+j|0;j:{k:{l:{m:{n:{o:{switch(f-1|0){case 0:case 3:case 4:e=vc(a,F[F[a+16>>2]>>2]);break n;case 1:e=Vd(a,F[F[a+16>>2]>>2],0);break n;case 5:break m;case 2:break o;default:break l}}e=Vd(a,F[F[a+16>>2]>>2],3)}p:{switch(G[g+12|0]-1|0){case 1:E[d>>1]=e;break j;case 0:break k;default:break p}}F[d>>2]=e;break j}e=F[a+16>>2];f=F[g+20>>2];i=f>>>0>i>>>0?i:f;D[j+F[g+24>>2]|0]=i;if(!i){break j}f=0;while(1){f=vc(a,F[e>>2])+f|0;q:{r:{s:{t:{u:{h=G[g+12|0];switch(h-1|0){case 3:break s;case 1:break t;case 0:break u;default:break r}}D[d|0]=f;h=G[g+12|0];break q}E[d>>1]=f;h=2;break q}F[d>>2]=f;h=4;break q}F[d>>2]=f}e=e+4|0;d=d+h|0;i=i-1|0;if(i){continue}break}break j}k=Ia[F[g+16>>2]](a)|0;d=7;if(k){break c}k=0;break j}D[d|0]=e}if(F[g>>2]==8){break d}}F[a+20>>2]=F[a+16>>2]}b=b+1|0;d=0}if(!d){continue}break}if(IC(d,30)-1>>>0<3){break a}}l=k}return l}function wh(a,b,c,d){var e=0,f=0,g=M(0),h=M(0),i=0,j=0,k=0;f=Ga-48|0;Ga=f;if(I[a+16>>2]>c>>>0){F[f+40>>2]=0;F[f+32>>2]=0;F[f+36>>2]=0;e=F[d+4>>2];F[61902]=0;Ae(f+8|0,a,c,0);c=F[61902];F[61902]=0;a:{b:{c:{d:{if((c|0)==1){break d}F[61902]=0;k=ia(672,f+8|0,b|0,a|0,f+32|0,!e|0,0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break d}if(!k){break a}e:{if(!e){break e}c=F[f+36>>2];if(c>>>0>=5){i=c-5|0;j=F[f+40>>2];a=0;while(1){f:{if(a>>>0>=c>>>0){b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=246432;break f}b=(a<<4)+j|0}g=J[d+12>>2];h=J[b+4>>2];J[d+12>>2]=g<=h?g:h;g=J[d+16>>2];h=J[b+8>>2];J[d+16>>2]=g<=h?g:h;g=J[d+20>>2];h=J[b+4>>2];J[d+20>>2]=g>=h?g:h;g=J[d+24>>2];h=J[b+8>>2];J[d+24>>2]=g>=h?g:h;b=(a|0)==(i|0);a=a+1|0;if(!b){continue}break}}a=F[d>>2];F[61902]=0;ga(673,d+12|0,a|0,e|0);a=F[61902];F[61902]=0;if((a|0)!=1){break e}break d}b=F[d+8>>2];if(!b){break a}c=F[f+40>>2];g:{h:{i:{a=F[f+36>>2];j:{if(a>>>0>=4){d=(c+(a<<4)|0)+-64|0;e=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=e;e=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=e;break j}d=F[40911];e=F[40910];F[61610]=e;F[61611]=d;i=F[40909];j=F[40908];F[61608]=j;F[61609]=i;F[b+8>>2]=e;F[b+12>>2]=d;F[b>>2]=j;F[b+4>>2]=i;if((a|0)!=3){break i}}d=(c+(a<<4)|0)-48|0;e=F[d+4>>2];F[b+16>>2]=F[d>>2];F[b+20>>2]=e;e=F[d+12>>2];F[b+24>>2]=F[d+8>>2];F[b+28>>2]=e;break h}F[61610]=e;F[61611]=d;F[61608]=j;F[61609]=i;F[b+24>>2]=e;F[b+28>>2]=d;F[b+16>>2]=j;F[b+20>>2]=i;if(a>>>0<2){break g}}d=(c+(a<<4)|0)-32|0;e=F[d+4>>2];F[b+32>>2]=F[d>>2];F[b+36>>2]=e;e=F[d+12>>2];F[b+40>>2]=F[d+8>>2];F[b+44>>2]=e;break c}d=F[40911];F[b+40>>2]=F[40910];F[b+44>>2]=d;d=F[40909];F[b+32>>2]=F[40908];F[b+36>>2]=d;if(a){break c}a=246432;break b}a=Z()|0;Y()|0;F[f+36>>2]=0;Ta(F[f+40>>2]);$(a|0);V()}a=(c+(a<<4)|0)-16|0}c=F[a+4>>2];F[b+48>>2]=F[a>>2];F[b+52>>2]=c;c=F[a+12>>2];F[b+56>>2]=F[a+8>>2];F[b+60>>2]=c}F[f+36>>2]=0;Ta(F[f+40>>2])}Ga=f+48|0;return k}function Eq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=Ga-16|0;Ga=f;j=F[b+16>>2];k=F[b+8>>2];Ia[F[b+28>>2]](b);a:{b:{c:{d:{c=F[b>>2];if(c>>>0>>0){F[b>>2]=c+1;if(G[c|0]==91){break d}}c=3;F[f+12>>2]=3;break c}Ia[F[b+28>>2]](b);e:{f:{d=F[b>>2];g:{if(k>>>0<=d>>>0){break g}while(1){h:{i:{j:{c=G[d|0];if((c|0)!=60){if((c|0)!=93){break j}F[b>>2]=d+1;break b}if(l?0:g){break e}Ia[F[b+32>>2]](b);if(F[b+12>>2]){break b}c=F[b>>2];i=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break g}g=Va(j,1,p,i,g,f+12|0);c=F[f+12>>2];if(c){break c}F[b>>2]=d;l=1;Ia[F[b+44>>2]](b,g,i,f+8|0,1)|0;h=F[f+8>>2];break i}if(c-48>>>0>9){i=p;break i}if(l){break g}h=Ia[F[b+36>>2]](b)|0;if((h|0)<0){break e}Ia[F[b+32>>2]](b);if(F[b+12>>2]){break a}c=F[b>>2];g=c+1|0;if(k-c>>>0<=h>>>0){break e}F[b>>2]=(c+h|0)+1;l=0;break h}if(!g){break f}p=i}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(G[g+c|0]){break k}}h=c;if(!c){break g}}i=k-F[b>>2]|0;n=0;while(1){m:{n:{o:{switch(e|0){case 0:e=0;if((m|0)<12){break n}c=F[a+496>>2];o=(G[c+4|0]<<4)+G[c+5|0]|0;d=o<<4|12;F[a+500>>2]=d;if((d|0)>(i|0)){break g}s=a,t=Va(j,1,12,d,c,f+12|0),F[s+496>>2]=t;c=F[f+12>>2];if(c){break c}case 1:e=1;c=F[a+500>>2];if((m|0)<(c|0)){break n}q=F[a+496>>2];if(o){r=q+24|0;d=0;while(1){e=(d<<4)+r|0;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0|(i-e|0)<(c|0)){break g}c=(e+3&-4)+c|0;F[a+500>>2]=c;d=d+1|0;if((o|0)!=(d|0)){continue}break}}s=a,t=Va(j,1,o<<4|12,c+1|0,q,f+12|0),F[s+496>>2]=t;c=F[f+12>>2];if(c){break c}break;case 2:break o;default:break m}}e=2;if(F[a+500>>2]<=(m|0)){break g}}D[F[a+496>>2]+m|0]=G[g+n|0];m=m+1|0}n=n+1|0;if((n|0)!=(h|0)){continue}break}Ia[F[b+28>>2]](b);d=F[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;F[f+12>>2]=3;break c}c=3;F[f+12>>2]=3;g=0;break c}c=3;F[f+12>>2]=3;l=0}F[b+12>>2]=c}if(!l){break a}if(g){Ia[F[j+8>>2]](j,g)}}Ga=f+16|0}function ob(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(!a){return nb(b)}if(b>>>0>=4294967232){F[61729]=48;return 0}g=b>>>0<11?16:b+11&-8;f=a-8|0;j=F[f+4>>2];e=j&-8;a:{if(!(j&3)){if(g>>>0<256){break a}if(e>>>0>=g+4>>>0){c=f;if(e-g>>>0<=F[61898]<<1>>>0){break a}}c=0;break a}h=e+f|0;b:{if(e>>>0>=g>>>0){d=e-g|0;if(d>>>0<16){break b}F[f+4>>2]=j&1|g|2;c=f+g|0;F[c+4>>2]=d|3;F[h+4>>2]=F[h+4>>2]|1;_l(c,d);break b}if(F[61784]==(h|0)){e=e+F[61781]|0;if(e>>>0<=g>>>0){break a}F[f+4>>2]=j&1|g|2;d=f+g|0;c=e-g|0;F[d+4>>2]=c|1;F[61781]=c;F[61784]=d;break b}if(F[61783]==(h|0)){d=e+F[61780]|0;if(d>>>0>>0){break a}c=d-g|0;c:{if(c>>>0>=16){F[f+4>>2]=j&1|g|2;e=f+g|0;F[e+4>>2]=c|1;d=d+f|0;F[d>>2]=c;F[d+4>>2]=F[d+4>>2]&-2;break c}F[f+4>>2]=d|j&1|2;c=d+f|0;F[c+4>>2]=F[c+4>>2]|1;c=0;e=0}F[61783]=e;F[61780]=c;break b}d=F[h+4>>2];if(d&2){break a}k=e+(d&-8)|0;if(k>>>0>>0){break a}m=k-g|0;d:{if(d>>>0<=255){e=F[h+8>>2];c=d>>>3|0;d=F[h+12>>2];if((d|0)==(e|0)){n=247112,o=F[61778]&IC(-2,c),F[n>>2]=o;break d}F[e+12>>2]=d;F[d+8>>2]=e;break d}l=F[h+24>>2];i=F[h+12>>2];e:{if((i|0)!=(h|0)){c=F[h+8>>2];F[c+12>>2]=i;F[i+8>>2]=c;break e}f:{e=h+20|0;c=F[e>>2];if(c){break f}e=h+16|0;c=F[e>>2];if(c){break f}i=0;break e}while(1){d=e;i=c;e=c+20|0;c=F[e>>2];if(c){continue}e=i+16|0;c=F[i+16>>2];if(c){continue}break}F[d>>2]=0}if(!l){break d}d=F[h+28>>2];c=(d<<2)+247416|0;g:{if(F[c>>2]==(h|0)){F[c>>2]=i;if(i){break g}n=247116,o=F[61779]&IC(-2,d),F[n>>2]=o;break d}F[(F[l+16>>2]==(h|0)?16:20)+l>>2]=i;if(!i){break d}}F[i+24>>2]=l;c=F[h+16>>2];if(c){F[i+16>>2]=c;F[c+24>>2]=i}c=F[h+20>>2];if(!c){break d}F[i+20>>2]=c;F[c+24>>2]=i}if(m>>>0<=15){F[f+4>>2]=j&1|k|2;c=f+k|0;F[c+4>>2]=F[c+4>>2]|1;break b}F[f+4>>2]=j&1|g|2;d=f+g|0;F[d+4>>2]=m|3;c=f+k|0;F[c+4>>2]=F[c+4>>2]|1;_l(d,m)}c=f}if(c){return c+8|0}f=nb(b);if(!f){return 0}c=F[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;Ya(f,a,b>>>0>c>>>0?c:b);Ta(a);return f}function Rg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(F[a+72>>2]==1869968492){if(c){l=F[c>>2];i=F[c+4>>2]}c=0;g=E[a+110>>1];a:{if(!g){break a}e=F[a+112>>2];c=F[e+4>>2];d=F[e>>2];if((g|0)<2){f=c;h=d;break a}j=(g<<3)+e|0;g=e+8|0;h=d;f=c;while(1){e=F[e+12>>2];f=(e|0)>(f|0)?e:f;c=(c|0)>(e|0)?e:c;e=F[g>>2];h=(e|0)>(h|0)?e:h;d=(d|0)>(e|0)?e:d;e=g;g=e+8|0;if(j>>>0>g>>>0){continue}break}}g=i&63;e=g+(f&63)|0;m=l&63;j=m+(h&63)|0;n=g+(c&63)|0;m=m+(d&63)|0;g=6;k=i>>6;i=k+(f>>6)|0;l=l>>6;f=l+(h>>6)|0;h=(c>>6)+k|0;c=l+(d>>6)|0;b:{c:{d:{switch(b-2|0){default:f=f+(j+63>>>6|0)|0;c=c+(m>>>6|0)|0;d=f-c|0;g=2;e=i+(e+63>>>6|0)|0;h=h+(n>>>6|0)|0;i=e-h|0;break c;case 0:d=j+32|0;f=f+(d>>>6|0)|0;b=c;c=m+31|0;b=b+(c>>>6|0)|0;e:{if((f|0)==(b|0)){if((((d&63)+(c&63)|0)-31|0)<=31){f=b;b=b-1|0;break e}f=b+1|0}}c=b;d=e+32|0;e=i+(d>>>6|0)|0;b=h;h=n+31|0;b=b+(h>>>6|0)|0;f:{if((e|0)==(b|0)){if((((d&63)+(h&63)|0)-31|0)<=31){e=b;b=b-1|0;break f}e=b+1|0}}h=b;i=e-b|0;d=f-c|0;b=d+15>>3&-2;g=1;break b;case 1:o=i;k=e;b=F[a>>2];d=F[b+184>>2];g=F[b+192>>2];e=(d|0)<(g|0)?d:g;i=F[b+200>>2];e=o+((k-((e|0)<(i|0)?e:i)|0)+63>>6)|0;d=(d|0)>(g|0)?d:g;h=(n-((d|0)>(i|0)?d:i)>>6)+h|0;i=e-h|0;k=f;d=F[b+180>>2];g=F[b+188>>2];f=(d|0)<(g|0)?d:g;b=F[b+196>>2];f=k+((j-((b|0)>(f|0)?f:b)|0)+63>>6)|0;k=c;c=(d|0)>(g|0)?d:g;c=k+(m-((b|0)<(c|0)?c:b)>>6)|0;d=L(f-c|0,3);b=d+3&-4;g=5;break b;case 2:break d}}o=f;k=j;b=F[a>>2];d=F[b+184>>2];j=F[b+192>>2];f=(d|0)<(j|0)?d:j;l=F[b+200>>2];f=o+((k-((f|0)<(l|0)?f:l)|0)+63>>6)|0;k=c;c=(d|0)>(j|0)?d:j;c=k+(m-((c|0)>(l|0)?c:l)>>6)|0;d=f-c|0;k=i;i=F[b+180>>2];j=F[b+188>>2];m=(i|0)>(j|0)?i:j;b=F[b+196>>2];e=k+((e+((b|0)<(m|0)?m:b)|0)+63>>6)|0;k=h;h=(i|0)<(j|0)?i:j;h=k+(((b|0)>(h|0)?h:b)+n>>6)|0;i=L(e-h|0,3)}b=d}F[a+104>>2]=e;F[a+100>>2]=c;F[a+76>>2]=i;D[a+94|0]=g;E[a+92>>1]=256;F[a+80>>2]=d;F[a+84>>2]=b;a=(c|0)<-32768|(f|0)>32767|(h|0)<-32768|(e|0)>32767}else{a=1}return a}function Ni(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=F[b+4>>2];a:{if(g>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}f=F[b+12>>2];d=f-16|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<4){break a}d=a+4|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<4){break a}c=f-20|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=D[d|0];if((c|0)<0){break a}if(!yc((G[a+7|0]|(G[a+5|0]<<16|(c&255)<<24|G[a+6|0]<<8))+a|0,b)){return 0}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(h>>>0>2147483646){break a}c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);i=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;d=a;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);j=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;l=h<<1;g=0;a=0;c=0;while(1){d=c;b:{c:{d:{e:{if((a|0)>=(g|0)){f=a+1|0;if(!(!h|f>>>0<4294967295/(l>>>0)>>>0)){return 0}c=L(f,l);f:{if(!c){e=F[b+12>>2];break f}if(I[b+4>>2]>j>>>0){break a}e=F[b+8>>2];if(e>>>0>>0|c>>>0>e-j>>>0){break a}e=F[b+12>>2]-c|0;F[b+12>>2]=e;if((e|0)<=0){break a}}c=((a^-1)+g|0)+e|0;F[b+12>>2]=c;if((c|0)<=0|(f>>>0>=4294967295/(h>>>0)>>>0?h:0)){break a}c=L(f,h);if((c|0)<0){break a}g=L(g,h);if((g|0)<(c|0)){break e}g=f}if(!d){break c}c=d;break d}k=(c<<1)+j|0;e=(g<<1)+j|0;c=d;while(1){g=G[e|0]|G[e+1|0]<<8;g=((g<<8|g>>>8)&65535)+1|0;c=c>>>0>g>>>0?c:g;e=e+2|0;if(k>>>0>e>>>0){continue}break}g=f}k=0;if(I[b+4>>2]>i>>>0){break a}f=F[b+8>>2];if(f>>>0>>0){break a}e=f-i|0;f=L(c,6);if(e>>>0>>0){break a}e=F[b+12>>2]-f|0;F[b+12>>2]=e;if((e|0)<=0){break a}break b}e=F[b+12>>2];c=d}f=(d-c|0)+e|0;F[b+12>>2]=f;if((f|0)<=0){return 0}if((c|0)>(d|0)){f=L(c,6)+i|0;e=L(d,6)+i|0;while(1){d=G[e|0]|G[e+1|0]<<8;d=(d<<8|d>>>8)&65535;a=(a|0)>(d|0)?a:d;e=e+6|0;if(f>>>0>e>>>0){continue}break}}if((a|0)>=(g|0)){continue}break}k=1}return k}function uc(a,b,c){var d=0,e=0;if(b){d=a^-1;a:{if(!c|!(b&3)){break a}d=F[((G[b|0]^d&255)<<2)+229744>>2]^d>>>8;e=c-1|0;a=b+1|0;if(!(!e|!(a&3))){d=F[((G[b+1|0]^d&255)<<2)+229744>>2]^d>>>8;e=c-2|0;a=b+2|0;if(!(!e|!(a&3))){d=F[((G[b+2|0]^d&255)<<2)+229744>>2]^d>>>8;e=c-3|0;a=b+3|0;if(!(!e|!(a&3))){d=F[((G[b+3|0]^d&255)<<2)+229744>>2]^d>>>8;c=c-4|0;b=b+4|0;break a}b=a;c=e;break a}b=a;c=e;break a}b=a;c=e}if(c>>>0>31){while(1){a=F[b>>2]^d;a=F[b+4>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);a=F[b+8>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);a=F[b+12>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);a=F[b+16>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);a=F[b+20>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);a=F[b+24>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);a=F[b+28>>2]^(F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2]);d=F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=F[b>>2]^d;d=F[(a>>>6&1020)+231792>>2]^F[((a&255)<<2)+232816>>2]^F[(a>>>14&1020)+230768>>2]^F[(a>>>22&1020)+229744>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}b:{if(!c){break b}if(c&1){d=F[((G[b|0]^d&255)<<2)+229744>>2]^d>>>8;b=b+1|0;a=c-1|0}else{a=c}if((c|0)==1){break b}while(1){c=F[((G[b|0]^d&255)<<2)+229744>>2]^d>>>8;d=F[((G[b+1|0]^c&255)<<2)+229744>>2]^c>>>8;b=b+2|0;a=a-2|0;if(a){continue}break}}a=d^-1}else{a=0}return a}function vf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=a&65535;e=a>>>16|0;a:{if((c|0)==1){a=G[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;a=(b>>>0>65520?c+983040|0:c)|a;break a}if(b){if(c>>>0>=16){b:{c:{d:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=G[a|0]+d|0;h=g+G[a+1|0]|0;i=h+G[a+2|0]|0;j=i+G[a+3|0]|0;k=j+G[a+4|0]|0;l=k+G[a+5|0]|0;m=l+G[a+6|0]|0;n=m+G[a+7|0]|0;o=n+G[a+8|0]|0;p=o+G[a+9|0]|0;q=p+G[a+10|0]|0;r=q+G[a+11|0]|0;s=r+G[a+12|0]|0;t=s+G[a+13|0]|0;u=t+G[a+14|0]|0;d=u+G[a+15|0]|0;e=d+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(e+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;f=f-1|0;if(f){continue}break}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break b}if(c>>>0<16){break d}}while(1){a=G[b|0]+d|0;f=a+G[b+1|0]|0;g=f+G[b+2|0]|0;h=g+G[b+3|0]|0;i=h+G[b+4|0]|0;j=i+G[b+5|0]|0;k=j+G[b+6|0]|0;l=k+G[b+7|0]|0;m=l+G[b+8|0]|0;n=m+G[b+9|0]|0;o=n+G[b+10|0]|0;p=o+G[b+11|0]|0;q=p+G[b+12|0]|0;r=q+G[b+13|0]|0;s=r+G[b+14|0]|0;d=s+G[b+15|0]|0;e=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(f+(a+e|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break c}}g=c-1|0;h=c&3;if(h){f=0;a=b;while(1){c=c-1|0;d=G[a|0]+d|0;e=e+d|0;b=a+1|0;a=b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(g>>>0<3){break c}while(1){a=G[b|0]+d|0;f=a+G[b+1|0]|0;g=f+G[b+2|0]|0;d=g+G[b+3|0]|0;e=d+(g+(f+(a+e|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}a=e<<16|d;break a}e:{if(!c){break e}g=c-1|0;h=c&3;if(h){a=b;while(1){c=c-1|0;d=G[a|0]+d|0;e=e+d|0;b=a+1|0;a=b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(g>>>0<3){break e}while(1){a=G[b|0]+d|0;f=a+G[b+1|0]|0;g=f+G[b+2|0]|0;d=g+G[b+3|0]|0;e=d+(g+(f+(a+e|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}}return a}function en(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ga-16|0;Ga=f;a:{if(F[b+136>>2]!=6){break a}c=G[a+2|0]|G[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];k=qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((k|0)==-1){break a}c=G[a+4|0]|G[a+5|0]<<8;g=(c<<8|c>>>8)&65535;d=((g<<1)+a|0)+6|0;c=G[d|0]|G[d+1|0]<<8;j=((((c<<8|c>>>8)&65535)<<1)+d|0)+2|0;c=G[j|0]|G[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=k>>>0){break a}F[f+12>>2]=0;F[f+8>>2]=0;l=a+6|0;h=Ga-16|0;Ga=h;c=F[b+100>>2];c=F[(G[c+61|0]?72:64)+c>>2];F[b+84>>2]=g;F[b+48>>2]=c;i=F[F[b+52>>2]+100>>2];F[b+88>>2]=F[i+68>>2];m=(c|0)==F[i+64>>2]?G[(F[i+80>>2]+L(c,20)|0)+15|0]:m;F[b+80>>2]=l;F[b+76>>2]=a;F[b+72>>2]=732;D[b+68|0]=m;b:{if(g){e=1;c:{c=b+48|0;if(Tc(c,h+12|0)){e=0;while(1){e=e+1|0;if((g|0)==(e|0)){break c}if(Tc(c,h+12|0)){continue}break}e=e>>>0>>0}F[f+12>>2]=F[h+12>>2];break b}e=e>>>0>>0;c=F[c>>2]}F[f+12>>2]=c}Ga=h+16|0;d:{if(e){break d}l=d+2|0;c=F[F[b+100>>2]+64>>2]+1|0;e=0;h=0;g=Ga-16|0;Ga=g;d=G[d|0]|G[d+1|0]<<8;d=(d<<8|d>>>8)&65535;F[b+84>>2]=d;c=c-1|0;F[b+48>>2]=c;i=F[F[b+52>>2]+100>>2];F[b+88>>2]=F[i+68>>2];h=(c|0)==F[i+64>>2]?G[(F[i+80>>2]+L(c,20)|0)+15|0]:h;F[b+80>>2]=l;F[b+76>>2]=a;F[b+72>>2]=732;D[b+68|0]=h;e:{if(d){e=1;f:{c=b+48|0;if(cc(c,g+12|0)){a=0;while(1){a=a+1|0;if((d|0)==(a|0)){break f}if(cc(c,g+12|0)){continue}break}e=a>>>0>>0}F[f+8>>2]=F[g+12>>2];break e}e=a>>>0>>0;c=F[c>>2]}F[f+8>>2]=c+1}Ga=g+16|0;if(e){break d}wb(F[b+100>>2],3,F[f+12>>2],F[f+8>>2],1,1);a=G[j|0]|G[j+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>k>>>0?((k<<1)+j|0)+2|0:163632;a=G[a|0]|G[a+1|0]<<8;e=(a<<8|a>>>8)&65535;a=F[b+100>>2];c=F[a+80>>2]+L(F[a+64>>2],20)|0;a=H[c+12>>1]|16;if(G[b+140|0]){a=jc(F[b+108>>2],e)|a&112}E[c+12>>1]=a;a=F[b+100>>2];F[F[a+80>>2]+L(F[a+64>>2],20)>>2]=e;n=1;break a}a=F[b+100>>2];if(!(G[a+16|0]&64)){break a}wb(a,2,F[f+12>>2],F[f+8>>2],0,1)}Ga=f+16|0;return n}function We(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ga+-64|0;Ga=g;k=F[b>>2];F[g>>2]=k;F[g+4>>2]=F[c>>2];m=G[e+9|0];o=m?10:9;while(1){n=(i<<2)+g|0;F[n+8>>2]=k;if(G[e+i|0]){j=F[a+8>>2];a:{if(F[a+12>>2]-j>>3>>>0<=h>>>0){j=0;l=F[a+4>>2];if(!l|F[l>>2]){break a}F[l>>2]=130;break a}b:{c:{d:{j=j+(h<<3)|0;switch(F[j+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}j=F[j>>2]<<16;break a}j=F[j>>2];j=((j>>31)+j|0)- -8192>>14;break a}j=F[j>>2]}F[n+8>>2]=j+k;h=h+1|0}i=i+1|0;if((o|0)!=(i|0)){k=F[(i<<2)+g>>2];continue}break}if(!m){F[g+44>>2]=F[c>>2]}e:{f:{if(f){f=F[g+44>>2]-F[c>>2]|0;e=f>>31;f=(e^f)-e|0;i=F[g+40>>2]-F[b>>2]|0;e=i>>31;i=(e^i)-e|0;e=F[a+8>>2];g:{if(F[a+12>>2]-e>>3>>>0<=h>>>0){h=0;e=F[a+4>>2];if(!e|F[e>>2]){break g}F[e>>2]=130;break g}h:{i:{j:{e=e+(h<<3)|0;switch(F[e+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}h=F[e>>2]<<16;break g}e=F[e>>2];h=((e>>31)+e|0)- -8192>>14;break g}h=F[e>>2]}if((f|0)<(i|0)){i=F[g+40>>2]+h|0;break f}i=F[b>>2];e=F[g+44>>2]+h|0;break e}k:{if(G[e+10|0]){i=F[g+40>>2];f=F[a+8>>2];l:{if(F[a+12>>2]-f>>3>>>0<=h>>>0){k=0;f=F[a+4>>2];if(!f|F[f>>2]){break l}F[f>>2]=130;break l}m:{n:{o:{f=f+(h<<3)|0;switch(F[f+4>>2]-1|0){case 0:break n;case 1:break o;default:break m}}k=F[f>>2]<<16;break l}f=F[f>>2];k=((f>>31)+f|0)- -8192>>14;break l}k=F[f>>2]}h=h+1|0;i=i+k|0;break k}i=F[b>>2]}F[g+48>>2]=i;if(!G[e+11|0]){break f}f=F[g+44>>2];e=F[a+8>>2];p:{if(F[a+12>>2]-e>>3>>>0<=h>>>0){h=0;e=F[a+4>>2];if(!e|F[e>>2]){break p}F[e>>2]=130;i=F[g+48>>2];break p}q:{r:{s:{e=e+(h<<3)|0;switch(F[e+4>>2]-1|0){case 0:break r;case 1:break s;default:break q}}h=F[e>>2]<<16;break p}e=F[e>>2];h=((e>>31)+e|0)- -8192>>14;break p}h=F[e>>2]}e=f+h|0;break e}e=F[c>>2]}_c(d,F[g+8>>2],F[g+12>>2],F[g+16>>2],F[g+20>>2],F[g+24>>2],F[g+28>>2]);_c(d,F[g+32>>2],F[g+36>>2],F[g+40>>2],F[g+44>>2],i,e);F[a+12>>2]=F[a+8>>2];F[b>>2]=i;F[c>>2]=e;Ga=g- -64|0}function Qi(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=F[b+4>>2];e=a+4|0;a:{if(f>>>0>e>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-e>>>0<4){break a}g=F[b+12>>2]-4|0;F[b+12>>2]=g;if((g|0)<=0){break a}e=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<16|a>>>0>>0|(a>>>0>c>>>0|e>>>0>c-a>>>0)){break a}g=g-e|0;F[b+12>>2]=g;if((g|0)<=0){break a}e=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>357913940){break a}if(e){h=f;f=a+16|0;if(h>>>0>f>>>0|c>>>0>>0){break a}f=c-f|0;c=L(e,12);if(f>>>0>>0){break a}c=g-c|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);c=L(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24),12)}else{c=0}d=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!g){return 1}a=(a+c|0)+16|0;e=0;while(1){c=0;b:{if(I[b+4>>2]>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0){break b}h=d-a|0;if(h>>>0<4){break b}f=F[b+12>>2]-4|0;F[b+12>>2]=f;if((f|0)<=0){break b}d=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>h>>>0){break b}d=f-d|0;F[b+12>>2]=d;if((d|0)<=0){break b}d=F[b+32>>2];c=F[d+12>>2];F[b+4>>2]=c;d=c+F[d+16>>2]|0;F[b+8>>2]=d;c:{if(!(a>>>0>>0&a>>>0>=c>>>0)){F[b+4>>2]=0;F[b+8>>2]=0;break c}F[b+4>>2]=a;d=d-a|0;c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);F[b+8>>2]=(c>>>0>d>>>0?d:c)+a}F[61902]=0;c=Pi(a,b);d=F[61902];F[61902]=0;d:{if((d|0)==1){break d}d=F[b+32>>2];f=F[d+12>>2];F[b+4>>2]=f;F[b+8>>2]=f+F[d+16>>2];break b}a=Z()|0;Y()|0;c=F[b+32>>2];d=F[c+12>>2];F[b+4>>2]=d;F[b+8>>2]=d+F[c+16>>2];$(a|0);V()}d=c;if(!d){break a}c=a;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);a=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}return d}function ue(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=Ga-272|0;Ga=n;F[n+268>>2]=0;s=ih(a,b,c,f,g,n+268|0,n,0);i=F[a+100>>2];g=F[i+64>>2];a:{if(s){c=F[i+68>>2];r=F[n+268>>2];m=c>>>0>>0?c:r;j=m-g|0;b:{if(j>>>0<2){break b}h=F[i+144>>2]|32;F[i+144>>2]=h;if(g>>>0>=m>>>0){break b}o=F[i+80>>2];c=-1;f=g;t=m+(g^-1)|0;if(t>>>0>=3){q=j&-4;while(1){l=o+L(f,20)|0;p=F[l+8>>2];c=c>>>0

>>0?c:p;p=F[l+28>>2];c=c>>>0

>>0?c:p;p=F[l+48>>2];c=c>>>0

>>0?c:p;l=F[l+68>>2];c=c>>>0>>0?c:l;f=f+4|0;k=k+4|0;if((q|0)!=(k|0)){continue}break}}l=j&3;if(l){k=0;while(1){q=F[(o+L(f,20)|0)+8>>2];c=c>>>0>>0?c:q;f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j&1){f=o+L(g,20)|0;if(F[f+8>>2]!=(c|0)){F[i+144>>2]=h;F[f+4>>2]=F[f+4>>2]|3}g=g+1|0}if(!t){break b}while(1){f=o+L(g,20)|0;if(F[f+8>>2]!=(c|0)){h=h|32;F[i+144>>2]=h;F[f+4>>2]=F[f+4>>2]|3}f=o+L(g+1|0,20)|0;if(F[f+8>>2]!=(c|0)){h=h|32;F[i+144>>2]=h;F[f+4>>2]=F[f+4>>2]|3}g=g+2|0;if((m|0)!=(g|0)){continue}break}}hn(a,b,n,d,e,r);break a}if(!(G[i+16|0]&64)){break a}a=F[i+68>>2];b=F[n+268>>2];b=a>>>0>>0?a:b;d=b-g|0;if(d>>>0<2){break a}h=F[i+144>>2]|32;F[i+144>>2]=h;if(b>>>0<=g>>>0){break a}a=F[i+80>>2];c=-1;f=g;o=b+(g^-1)|0;if(o>>>0>=3){m=d&-4;while(1){e=a+L(f,20)|0;j=F[e+8>>2];c=c>>>0>>0?c:j;j=F[e+28>>2];c=c>>>0>>0?c:j;j=F[e+48>>2];c=c>>>0>>0?c:j;e=F[e+68>>2];c=c>>>0>>0?c:e;f=f+4|0;k=k+4|0;if((m|0)!=(k|0)){continue}break}}e=d&3;if(e){k=0;while(1){m=F[(a+L(f,20)|0)+8>>2];c=c>>>0>>0?c:m;f=f+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(d&1){d=a+L(g,20)|0;if(F[d+8>>2]!=(c|0)){F[i+144>>2]=h;F[d+4>>2]=F[d+4>>2]|2}g=g+1|0}if(!o){break a}while(1){d=a+L(g,20)|0;if(F[d+8>>2]!=(c|0)){h=h|32;F[i+144>>2]=h;F[d+4>>2]=F[d+4>>2]|2}d=a+L(g+1|0,20)|0;if(F[d+8>>2]!=(c|0)){h=h|32;F[i+144>>2]=h;F[d+4>>2]=F[d+4>>2]|2}g=g+2|0;if((b|0)!=(g|0)){continue}break}}Ga=n+272|0;return s}function Co(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ga-96|0;Ga=f;e=0;a:{if(I[a+16>>2]<=c>>>0){break a}b:{e=F[b+68>>2];if(!e){break b}g=F[F[a>>2]>>2];g=g?g:163632;g=I[g+16>>2]<20?163632:F[g+12>>2];g=G[g+4|0]|G[g+5|0]<<8;if((e|0)!=((g<<8|g>>>8)&65535)){break b}F[f+88>>2]=-8388609;F[f+80>>2]=2139095039;F[f+84>>2]=-8388609;F[f+72>>2]=0;F[f+76>>2]=2139095039;F[f+68>>2]=d;F[f+64>>2]=b;if(d){F[f+88>>2]=-8388609}F[f+32>>2]=F[f+88>>2];d=F[f+84>>2];F[f+24>>2]=F[f+80>>2];F[f+28>>2]=d;d=F[f+76>>2];F[f+16>>2]=F[f+72>>2];F[f+20>>2]=d;d=F[f+68>>2];F[f+8>>2]=F[f+64>>2];F[f+12>>2]=d;e=wh(a,b,c,f+8|0);break a}Ae(f+40|0,a,c,0);e=1;if(!F[f+60>>2]){break a}c=F[f+56>>2];g=F[a+4>>2];h=F[g>>2];e=F[f+52>>2];c:{d:{if(h>>>0>e>>>0){a=F[g+20>>2];a=((e|0)<0?163632:F[(a?a:163632)+12>>2]+(e<<2)|0)+2|0;break d}a=0;i=0;if(e>>>0>=I[g+4>>2]){break c}a=F[g+20>>2];a=(e-h<<1)+((h|0)<0?163632:F[(a?a:163632)+12>>2]+(h<<2)|0)|0}a=G[a|0]|G[a+1|0]<<8;e=(a<<8|a>>>8)<<16;a=e>>31;i=e>>16}g=F[b+40>>2];h=F[b+44>>2];e=EC(i,a,g,h)+32768|0;a=Ha;a=e>>>0<32768?a+1|0:a;F[d>>2]=(a&65535)<<16|e>>>16;a=F[b+52>>2];i=a;j=F[b+48>>2];k=c+8|0;l=c+4|0;a=G[c+4|0]|G[c+5|0]<<8;m=(a<<8|a>>>8)<<16>>16;a=G[c+8|0]|G[c+9|0]<<8;n=(a<<8|a>>>8)<<16>>16;a=(m|0)<(n|0)?k:l;a=G[a|0]|G[a+1|0]<<8;o=a<<8|a>>>8;e=o<<16;a=e>>31;a=EC(j,i,e>>16,a)+32768|0;b=Ha;b=a>>>0<32768?b+1|0:b;F[d+4>>2]=(b&65535)<<16|a>>>16;p=g;a=c+6|0;b=c+2|0;e=G[c+2|0]|G[c+3|0]<<8;e=(e<<8|e>>>8)<<16>>16;c=G[c+6|0]|G[c+7|0]<<8;c=(c<<8|c>>>8)<<16>>16;g=(e|0)<(c|0)?a:b;g=G[g|0]|G[g+1|0]<<8;a=(c|0)<(e|0)?a:b;a=G[a|0]|G[a+1|0]<<8;a=(g<<8|g>>>8)-(a<<8|a>>>8)<<16;b=a>>31;b=EC(p,h,a>>16,b)+32768|0;a=Ha;a=b>>>0<32768?a+1|0:a;F[d+8>>2]=(a&65535)<<16|b>>>16;a=(m|0)>(n|0)?k:l;a=G[a|0]|G[a+1|0]<<8;b=(a<<8|a>>>8)-o<<16;a=b>>31;b=EC(j,i,b>>16,a)+32768|0;a=Ha;a=b>>>0<32768?a+1|0:a;F[d+12>>2]=(a&65535)<<16|b>>>16;e=1}Ga=f+96|0;return e}function sc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ga-48|0;Ga=f;F[a+8>>2]=0;i=F[a+4>>2];if(i){F[F[a>>2]>>2]=24081;F[F[a>>2]+4>>2]=24081;F[F[a>>2]+8>>2]=24081;F[F[a>>2]+12>>2]=24081;F[F[a>>2]+16>>2]=24081}a:{if(!d){break a}e=G[c|0];if(!e){break a}j=6;if(!b){break a}h=G[b|0];if(!h){break a}F[f+24>>2]=0;F[f+28>>2]=0;F[f+16>>2]=0;F[f+20>>2]=0;F[f+8>>2]=0;F[f+12>>2]=0;F[f>>2]=0;F[f+4>>2]=0;while(1){b:{c:{d:{g=h&255;if((g|0)!=43){if(!g){break d}g=G[b+1|0];break c}g=G[b+1|0];if(g){break c}k=1;g=0;break b}e:{if((d|0)<=0){d=0;b=0;break e}i=c+d|0;while(1){h=c;while(1){f:{if(G[((e&248)>>>3|0)+f|0]>>>(e&7)&1){g=h;break f}e=G[h+1|0];g=h+1|0;h=g;if(e){continue}}break}e=F[a+8>>2];g:{if((e|0)!=F[a+4>>2]){break g}F[f+44>>2]=0;if((e|0)==-1){break g}if((e|0)==536870911){j=64;break a}b=((e>>>1|0)+e|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Va(F[a+12>>2],4,e,b,F[a>>2],f+44|0),F[l>>2]=m;j=F[f+44>>2];if(j){break a}F[a+4>>2]=b;e=F[a+8>>2]}F[a+8>>2]=e+1;F[F[a>>2]+(e<<2)>>2]=c>>>0>>0?c:24081;h=G[g|0];h:{i:{if(k){d=0;b=g;if(!(h&255)){e=0;c=g;break h}while(1){j:{if(!(G[((h&248)>>>3|0)+f|0]>>>(h&7)&1)){e=h;c=b;break j}e=0;D[b|0]=0;h=G[b+1|0];c=b+1|0;b=c;if(h){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(h&255)){e=0;c=g;d=0;break h}D[g|0]=0;c=g+1|0;e=G[g+1|0]}d=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}i=F[a+4>>2];b=F[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}F[f+44>>2]=0;if(b+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Va(F[a+12>>2],4,i,b,F[a>>2],f+44|0),F[l>>2]=m;j=F[f+44>>2];if(j){break a}F[a+4>>2]=b}l:{if(!d){e=F[a+8>>2];break l}b=F[a+8>>2];e=b+1|0;F[a+8>>2]=e;F[F[a>>2]+(b<<2)>>2]=24081}j=0;F[F[a>>2]+(e<<2)>>2]=0;break a}j=((h&248)>>>3|0)+f|0;D[j|0]=G[j|0]|1<<(h&7)}b=b+1|0;h=g;continue}}Ga=f+48|0;return j}function ld(a,b,c,d){var e=0,f=0,g=0,h=0;a:{e=F[b+68>>2];d=d>>>0>e>>>0?e:d;if(d>>>0<=c>>>0){break a}e=F[a+68>>2];g=c>>>0>d>>>0?d:c;h=d-g|0;f=e+h|0;if(e>>>0>f>>>0){D[a+60|0]=0;return}b:{if(!F[a+4>>2]){break b}c=e;c:{if(!f){break c}c=e;if(f>>>0>2]){break c}if(!Yc(a,f)){break b}c=F[a+68>>2]}d:{if(c>>>0>=f>>>0){break d}Wa(F[a+80>>2]+L(c,20)|0,0,L(f-c|0,20));if(!G[a+62|0]){break d}c=F[a+68>>2];Wa(F[a+88>>2]+L(c,20)|0,0,L(f-c|0,20))}F[a+68>>2]=f;if(!f){F[a+132>>2]=0;F[a+36>>2]=0}F[a+136>>2]=0}if(!G[a+60|0]){break a}if(!e){F[a+36>>2]=F[b+36>>2]}e:{if(G[a+62|0]|!G[b+62|0]){break e}F[a+72>>2]=0;D[a+61|0]=0;D[a+62|0]=1;F[a+84>>2]=F[a+80>>2];c=L(F[a+68>>2],20);if(!c){break e}Wa(F[a+88>>2],0,c)}c=F[a+40>>2];if(!c){c=F[b+40>>2];F[a+40>>2]=c}f:{if(F[b+40>>2]!=(c|0)){break f}c=F[a+44>>2];if(!c){c=F[b+44>>2];F[a+44>>2]=c}if(F[a+48>>2]|F[b+44>>2]!=(c|0)){break f}F[a+48>>2]=F[b+48>>2]}c=L(e,20);f=L(g,20);h=L(h,20);Ya(c+F[a+80>>2]|0,f+F[b+80>>2]|0,h);if(G[a+62|0]){Ya(c+F[a+88>>2]|0,f+F[b+88>>2]|0,h)}if(F[b+36>>2]!=1){break a}g:{if((0-F[b+132>>2]|0)==(g|0)|e){break g}F[a+132>>2]=0;h:{if(!g){break h}e=F[b+80>>2];c=0;while(1){g=g-1|0;f=F[e+L(g,20)>>2];F[a+132>>2]=c+1;F[((c<<2)+a|0)+92>>2]=f;if(!g){break h}c=F[a+132>>2];if(c>>>0<5){continue}break}}if(!F[b+132>>2]){break g}c=0;while(1){e=F[a+132>>2];if(e>>>0>4){break g}f=F[((c<<2)+b|0)+92>>2];F[a+132>>2]=e+1;F[((e<<2)+a|0)+92>>2]=f;c=c+1|0;if(c>>>0>2]){continue}break}}c=0;F[a+136>>2]=0;i:{if(I[b+68>>2]<=d>>>0){break i}f=F[b+80>>2];e=0;while(1){g=F[f+L(d,20)>>2];F[a+136>>2]=e+1;F[((e<<2)+a|0)+112>>2]=g;d=d+1|0;if(d>>>0>=I[b+68>>2]){break i}e=F[a+136>>2];if(e>>>0<5){continue}break}}if(!F[b+136>>2]){break a}while(1){d=F[a+136>>2];if(d>>>0>4){break a}e=F[((c<<2)+b|0)+112>>2];F[a+136>>2]=d+1;F[((d<<2)+a|0)+112>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}}function ah(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ga-16|0;Ga=f;F[f+12>>2]=0;F[f+8>>2]=0;F[f+4>>2]=0;F[f>>2]=0;e=F[a+8>>2];d=F[a+4>>2];a:{if(!(Ia[F[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break a}c=F[f+8>>2];if(c){F[f>>2]=0;h=c;c=F[e+80>>2];if(!(Ia[F[c+164>>2]](e,F[e+84>>2],h,f,F[c+20>>2])|0)){break a}}F[f+4>>2]=0;c=F[e+80>>2];c=Ia[F[c+164>>2]](e,F[e+84>>2],F[f+12>>2],f+4|0,F[c+20>>2])|0;g=F[f+12>>2];if(!c|!b){g=ah(a,b,g);if(g){c=F[f+8>>2];if(!c){break a}F[(F[d+80>>2]+L(F[d+64>>2],20)|0)+12>>2]=F[f>>2];b:{if(!$a(d,0,1)){a=F[d+72>>2];break b}a=F[d+64>>2];c:{if(a>>>0>2]){e=F[d+72>>2];b=F[d+84>>2];a=F[d+80>>2]+L(a,20)|0;break c}b=F[d+84>>2];e=F[d+72>>2];a=b+L(e?e-1|0:0,20)|0}b=L(e,20)+b|0;e=F[a+4>>2];F[b>>2]=F[a>>2];F[b+4>>2]=e;F[b+16>>2]=F[a+16>>2];e=F[a+12>>2];F[b+8>>2]=F[a+8>>2];F[b+12>>2]=e;F[b>>2]=c;a=F[d+72>>2]+1|0;F[d+72>>2]=a}Ed(F[d+84>>2]+L(a?a-1|0:0,20)|0,d);g=g+1|0;break a}if(!c){g=0;break a}g=F[f+12>>2]}F[(F[d+80>>2]+L(F[d+64>>2],20)|0)+12>>2]=F[f+4>>2];d:{if(!$a(d,0,1)){a=F[d+72>>2];break d}a=F[d+64>>2];e:{if(a>>>0>2]){e=F[d+72>>2];c=F[d+84>>2];a=F[d+80>>2]+L(a,20)|0;break e}c=F[d+84>>2];e=F[d+72>>2];a=c+L(e?e-1|0:0,20)|0}b=L(e,20)+c|0;c=F[a+4>>2];F[b>>2]=F[a>>2];F[b+4>>2]=c;F[b+16>>2]=F[a+16>>2];c=F[a+12>>2];F[b+8>>2]=F[a+8>>2];F[b+12>>2]=c;F[b>>2]=g;a=F[d+72>>2]+1|0;F[d+72>>2]=a}Ed(F[d+84>>2]+L(a?a-1|0:0,20)|0,d);g=F[f+8>>2];if(!g){g=1;break a}F[(F[d+80>>2]+L(F[d+64>>2],20)|0)+12>>2]=F[f>>2];f:{if(!$a(d,0,1)){a=F[d+72>>2];break f}a=F[d+64>>2];g:{if(a>>>0>2]){e=F[d+72>>2];c=F[d+84>>2];a=F[d+80>>2]+L(a,20)|0;break g}c=F[d+84>>2];e=F[d+72>>2];a=c+L(e?e-1|0:0,20)|0}b=L(e,20)+c|0;c=F[a+4>>2];F[b>>2]=F[a>>2];F[b+4>>2]=c;F[b+16>>2]=F[a+16>>2];c=F[a+12>>2];F[b+8>>2]=F[a+8>>2];F[b+12>>2]=c;F[b>>2]=g;a=F[d+72>>2]+1|0;F[d+72>>2]=a}Ed(F[d+84>>2]+L(a?a-1|0:0,20)|0,d);g=2}Ga=f+16|0;return g}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Ga-16|0;Ga=g;i=F[a+100>>2];F[g+12>>2]=0;e=F[a+532>>2];a:{if(!e){e=gb(i,420,g+12|0);if(F[g+12>>2]){break a}F[e+416>>2]=0;F[a+532>>2]=e}b:{c:{if(!b){break c}d=F[e>>2];if(!d){r=e,s=Va(i,32,0,b,0,g+12|0),F[r+148>>2]=s;if(F[g+12>>2]){break a}r=e,s=Va(i,196,0,b,0,g+12|0),F[r+216>>2]=s;if(F[g+12>>2]){break a}r=e,s=Va(i,16,0,b,0,g+12|0),F[r+288>>2]=s;if(F[g+12>>2]){break a}d=Va(i,4,0,b<<1,0,g+12|0);F[e+136>>2]=d;if(F[g+12>>2]){break a}F[e+284>>2]=a+464;F[e+212>>2]=a+168;F[e+144>>2]=a+132;j=2;F[e+140>>2]=d+(b<<2);d:{if(b>>>0<2){break d}f=b-1|0;o=f&3;a=F[e+288>>2];d=F[e+216>>2];h=F[e+148>>2];if(b-2>>>0>=3){q=f&-4;k=e+144|0;m=e+212|0;n=e+284|0;while(1){f=j<<2;F[f+k>>2]=h+32;F[f+m>>2]=d+196;F[f+n>>2]=a+16;l=f|4;F[l+k>>2]=h- -64;F[l+m>>2]=d+392;F[l+n>>2]=a+32;l=f+8|0;F[l+k>>2]=h+96;F[l+m>>2]=d+588;F[l+n>>2]=a+48;f=f+12|0;h=h+128|0;F[f+k>>2]=h;d=d+784|0;F[f+m>>2]=d;a=a- -64|0;F[f+n>>2]=a;j=j+4|0;p=p+4|0;if((q|0)!=(p|0)){continue}break}}if(!o){break d}f=0;while(1){k=(j<<2)+e|0;a=a+16|0;F[k+284>>2]=a;d=d+196|0;F[k+212>>2]=d;h=h+32|0;F[k+144>>2]=h;j=j+1|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}F[e>>2]=b;break c}if((b|0)!=(d|0)){break b}}a=F[e+4>>2];e:{if(!c){c=a;break e}if((a|0)!=(c|0)?a:0){break b}F[e+4>>2]=c}d=F[e>>2];if(F[e+24>>2]|(!d|!c)){break a}b=Va(i,4,0,L(c,d),0,g+12|0);F[e+24>>2]=b;if(F[g+12>>2]|d>>>0<2){break a}h=d-1|0;i=h&3;a=1;if(d-2>>>0>=3){j=h&-4;d=0;h=e+24|0;while(1){F[h+(a<<2)>>2]=b+(L(a,c)<<2);f=a+1|0;F[h+(f<<2)>>2]=b+(L(c,f)<<2);f=a+2|0;F[h+(f<<2)>>2]=b+(L(c,f)<<2);f=a+3|0;F[h+(f<<2)>>2]=b+(L(c,f)<<2);a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}d=0;while(1){F[((a<<2)+e|0)+24>>2]=b+(L(a,c)<<2);a=a+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break a}F[g+12>>2]=3}Ga=g+16|0;return F[g+12>>2]}function qt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=Ga-48|0;Ga=d;i=F[b+28>>2];F[d+20>>2]=F[b+8>>2];o=d,p=Bb(b,d+4|0),F[o+8>>2]=p;c=F[d+4>>2];a:{if(c){break a}c=sb(b,95856,d+8|0);F[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(F[d+8>>2]!=1330926671){e=F[d+20>>2];c=Za(b,e+12|0);F[d+44>>2]=c;if(c){break a}c=2;if(!H[d+12>>1]){break a}j=e+28|0;e=0;while(1){c:{c=sb(b,95888,d+24|0);F[d+44>>2]=c;if(c){E[d+12>>1]=e-1;break c}g=F[b+4>>2];h=F[d+32>>2];d:{if(g>>>0>>0){break d}c=F[d+24>>2];m=g-h|0;g=F[d+36>>2];if(!((c|0)==1986884728|m>>>0>=g>>>0)&(c|0)!=1752003704){break d}f=f+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1751474532&(c|0)!=1651008868){break d}if(g>>>0<54){c=142;break a}c=Za(b,h+12|0);F[d+44>>2]=c;if(c){break a}Bb(b,d+44|0);c=F[d+44>>2];if(c){break a}c=Za(b,j+(e<<4)|0);F[d+44>>2]=c;k=1;if(!c){break d}break a}n=1}e=e+1|0;if(e>>>0>1]){continue}}break}c=2;if(!(f&65535)){break a}if(!k){c=142;if(!l|!n){break a}}F[d+4>>2]=0;c=F[d+8>>2];break b}f=H[d+12>>1];if(f){break b}c=2;break a}F[a+148>>2]=c;E[a+152>>1]=f;o=a,p=Va(i,16,0,f&65535,0,d+4|0),F[o+156>>2]=p;c=F[d+4>>2];if(c){break a}c=Za(b,F[d+20>>2]+12|0);F[d+4>>2]=c;if(c){break a}c=tb(b,H[d+12>>1]<<4);F[d+4>>2]=c;if(c){break a}f:{if(!H[d+12>>1]){f=0;break f}j=0;f=0;while(1){h=Tb(b);l=Tb(b);i=Tb(b);k=Tb(b);c=F[b+4>>2];g:{if(c>>>0>>0){break g}c=c-i|0;if(c>>>0>>0){if((h|0)!=1986884728&(h|0)!=1752003704){break g}k=c&-4}g=F[a+156>>2];e=f&65535;h:{if(!e){e=0;break h}c=0;while(1){if((h|0)==F[g+(c<<4)>>2]){break g}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=g+(e<<4)|0;F[c+12>>2]=k;F[c+8>>2]=i;F[c+4>>2]=l;F[c>>2]=h;f=f+1|0}j=j+1|0;if(H[d+12>>1]>(j&65535)>>>0){continue}break}}E[a+152>>1]=f;lb(b);c=F[d+4>>2]}Ga=d+48|0;return c|0}function Qf(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function fh(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=M(0),l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=M(0);j=Ga-16|0;Ga=j;o=163632;i=((c<<2)+a|0)+2|0;h=c;c=G[a|0]|G[a+1|0]<<8;c=h>>>0<((c<<8|c>>>8)&65535)>>>0?i:163632;h=G[c|0]|G[c+1|0]<<8;h=(h<<8|h>>>8)&65535;c=G[c+2|0]|G[c+3|0]<<8;if(c){o=((c<<8|c>>>8)&65535)+a|0}c=0;a:{if(f>>>0<=h>>>0){break a}a=G[e|0]|G[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=h+L(d,f)|0;a=(a|0)<0?163632:((a<<1)+e|0)+2|0;a=G[a|0]|G[a+1|0]<<8;if(!a){break a}s=((a<<8|a>>>8)&65535)+e|0;d=F[b+100>>2];a=F[d+68>>2];p=F[d+64>>2];c=p+1|0;l=a>>>0>>0?a:c;m=l-g|0;b:{if(m>>>0<=1){c=F[d+80>>2];break b}h=F[d+144>>2]|32;F[d+144>>2]=h;c=F[d+80>>2];if(g>>>0>=l>>>0){break b}a=-1;e=g;q=(e^-1)+l|0;if(q>>>0>=3){n=m&-4;while(1){f=L(e,20)+c|0;i=F[f+8>>2];a=a>>>0>>0?a:i;i=F[f+28>>2];a=a>>>0>>0?a:i;i=F[f+48>>2];a=a>>>0>>0?a:i;f=F[f+68>>2];a=a>>>0>>0?a:f;e=e+4|0;r=r+4|0;if((n|0)!=(r|0)){continue}break}}n=m&3;if(n){f=0;while(1){i=F[(L(e,20)+c|0)+8>>2];a=a>>>0>>0?a:i;e=e+1|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}}e=g;if(m&1){e=L(g,20)+c|0;if(F[e+8>>2]!=(a|0)){F[d+144>>2]=h;F[e+4>>2]=F[e+4>>2]|3}e=g+1|0}if(!q){break b}while(1){f=L(e,20)+c|0;if(F[f+8>>2]!=(a|0)){h=h|32;F[d+144>>2]=h;F[f+4>>2]=F[f+4>>2]|3}f=L(e+1|0,20)+c|0;if(F[f+8>>2]!=(a|0)){h=h|32;F[d+144>>2]=h;F[f+4>>2]=F[f+4>>2]|3}e=e+2|0;if((l|0)!=(e|0)){continue}break}}Af(o,b,F[L(p,20)+c>>2],j+12|0,j+8|0);Af(s,b,F[F[d+80>>2]+L(g,20)>>2],j+4|0,j);a=F[d+88>>2]+L(F[d+64>>2],20)|0;k=M(R(M(M(J[j+4>>2]-J[j+12>>2])+M(.5))));c:{if(M(N(k))>2]=b;k=J[j+8>>2];t=J[j>>2];c=1;D[a+18|0]=1;k=M(R(M(M(t-k)+M(.5))));d:{if(M(N(k))>2]=b;E[a+16>>1]=g-F[d+64>>2];F[d+144>>2]=F[d+144>>2]|8;F[d+64>>2]=F[d+64>>2]+1}Ga=j+16|0;return c}function Ms(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ga-16|0;Ga=g;f=F[a+4>>2]&2147418112;a:{if(d&16){if(G[a+9|0]&128?1:f){i=7;if(!(G[a+740|0]&16)){break a}}if(!c){i=0;break a}b:{if(G[a+292|0]){d=0;f=1;break b}if(H[a+372>>1]==65535){b=E[a+220>>1]-E[a+222>>1]|0;a=b>>31;a=(a^b)-a&65535;i=0;b=0;if(c-1>>>0>=7){h=c&-8;f=0;while(1){d=b<<2;F[d+e>>2]=a;F[(d|4)+e>>2]=a;F[(d|8)+e>>2]=a;F[(d|12)+e>>2]=a;F[(d|16)+e>>2]=a;F[(d|20)+e>>2]=a;F[(d|24)+e>>2]=a;F[(d|28)+e>>2]=a;b=b+8|0;f=f+8|0;if((h|0)!=(f|0)){continue}break}}c=c&7;if(!c){break a}d=0;while(1){F[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break a}b=E[a+442>>1]-E[a+444>>1]|0;a=b>>31;a=(a^b)-a&65535;i=0;b=0;if(c-1>>>0>=7){h=c&-8;f=0;while(1){d=b<<2;F[d+e>>2]=a;F[(d|4)+e>>2]=a;F[(d|8)+e>>2]=a;F[(d|12)+e>>2]=a;F[(d|16)+e>>2]=a;F[(d|20)+e>>2]=a;F[(d|24)+e>>2]=a;F[(d|28)+e>>2]=a;b=b+8|0;f=f+8|0;if((h|0)!=(f|0)){continue}break}}c=c&7;if(!c){break a}d=0;while(1){F[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break a}while(1){i=(d<<2)+e|0;c:{if(f&255){Ia[F[F[a+540>>2]+140>>2]](a,1,b+d|0,g+14|0,g+12|0);f=H[g+12>>1];break c}if(H[a+372>>1]!=65535){h=E[a+442>>1]-E[a+444>>1]|0;f=h>>31;f=(f^h)-f|0;break c}h=E[a+220>>1]-E[a+222>>1]|0;f=h>>31;f=(f^h)-f|0}F[i>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){f=G[a+292|0];continue}break}i=0;break a}if(G[a+9|0]&128?1:f){i=7;if(!(G[a+740|0]&2)){break a}}if(!c){i=0;break a}i=0;d=0;if((c|0)!=1){h=c&-2;f=0;while(1){j=g+10|0;k=g+8|0;Ia[F[F[a+540>>2]+140>>2]](a,0,b+d|0,j,k);F[(d<<2)+e>>2]=H[g+8>>1];l=d|1;Ia[F[F[a+540>>2]+140>>2]](a,0,l+b|0,j,k);F[(l<<2)+e>>2]=H[g+8>>1];d=d+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(!(c&1)){break a}Ia[F[F[a+540>>2]+140>>2]](a,0,b+d|0,g+10|0,g+8|0);F[(d<<2)+e>>2]=H[g+8>>1]}Ga=g+16|0;return i|0} -function mg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;F[a+168>>2]=d;k=a+168|0;F[a+48>>2]=k;g=F[a+64>>2];F[a+184>>2]=F[a+60>>2];F[a+188>>2]=g;F[a+180>>2]=c;F[a+176>>2]=b;F[a+172>>2]=e;e=k;while(1){h=F[e+4>>2];f=F[e+20>>2];c=(h|0)>(f|0);a:{b:{i=F[e+12>>2];if(!((i|0)>=((c?f:h)|0)&(i|0)<=(((f|0)>(h|0)?f:h)|0))){b=F[e+16>>2];F[e+32>>2]=b;F[e+36>>2]=f;c=f+i|0;F[e+28>>2]=c>>1;g=h+i|0;F[e+12>>2]=g>>1;f=F[e+8>>2];i=f+d|0;F[e+8>>2]=i>>1;f=b+f|0;F[e+24>>2]=f>>1;b=2;F[e+20>>2]=c+g>>2;F[e+16>>2]=f+i>>2;break b}b=-2;if((f|0)==(h|0)){break b}m=c?1:2;c=F[a+92>>2];if((m|0)!=(c|0)){b=F[a+4>>2];n=(f|0)>=(h|0);g=n?f&b-1:((b+f|0)-1&0-b)-f|0;l=F[a+8>>2];if(c){b=F[a+36>>2];j=F[a+80>>2];c=F[j+8>>2];o=b-c|0;if((o|0)<0){F[a+40>>2]=99;return 1}c:{if((b|0)==(c|0)){c=b;break c}F[j+16>>2]=o>>2;if((g|0)>=(l|0)){c=H[j+12>>1];E[j+12>>1]=(c&8?16:32)|c}F[a+80>>2]=b;c=b+32|0;F[a+36>>2]=c;F[b+8>>2]=c;F[b+16>>2]=0;F[j+28>>2]=b;E[a+76>>1]=H[a+76>>1]+1}if(I[a+32>>2]<=c>>>0){F[a+40>>2]=98;return 1}D[a+79|0]=0}d:{if(F[a+84>>2]){c=F[a+36>>2];break d}b=F[a+36>>2];F[a+84>>2]=b;F[a+80>>2]=b;c=b+32|0;F[a+36>>2]=c}if(I[a+32>>2]<=c>>>0){F[a+40>>2]=98;return 1}b=F[a+80>>2];F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=c;F[b+28>>2]=0;F[b+4>>2]=0;c=G[a+164|0];E[b+12>>1]=c;e:{f:{if(!n){E[b+12>>1]=c|8;j=40;if((g|0)>=(l|0)){break f}break e}j=16;if((g|0)<(l|0)){break e}}E[b+12>>1]=c|j}if(!F[a+88>>2]){F[a+88>>2]=b}E[a+78>>1]=1;F[a+92>>2]=m}b=F[a+72>>2];c=F[a+68>>2];if((f|0)<(h|0)){if(!Ue(a,2,61,c,b)){break a}return 1}F[e+20>>2]=0-f;F[e+12>>2]=0-i;F[e+4>>2]=0-h;g=G[a+78|0];b=Ue(a,2,61,0-b|0,0-c|0);if(!(G[a+78|0]|!g)){c=F[a+80>>2];F[c+20>>2]=0-F[c+20>>2]}F[e+4>>2]=0-F[e+4>>2];if(!b){break a}return 1}F[a+48>>2]=(b<<3)+e}e=F[a+48>>2];if(k>>>0<=e>>>0){d=F[e>>2];continue}break}F[a+64>>2]=h;F[a+60>>2]=d;return 0}function iz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ga-32|0;Ga=e;d=F[a+84>>2];a:{if(!(!F[d+88>>2]|b|F[d+72>>2]!=1651078259)){a=nb(60);F[a+8>>2]=0;F[a>>2]=15;F[a+4>>2]=0;b=F[d+24>>2];F[a+12>>2]=b;c=F[d+28>>2];F[a+24>>2]=c;F[a+20>>2]=b;F[a+16>>2]=c;F[a+28>>2]=F[d+40>>2];F[a+32>>2]=F[d+32>>2];F[a+36>>2]=F[d+36>>2];F[a+40>>2]=F[d+52>>2];F[a+44>>2]=F[d+44>>2];F[a+48>>2]=F[d+48>>2];F[a+52>>2]=F[d+56>>2];F[a+56>>2]=F[d+60>>2];break a}h=Ga-16|0;Ga=h;i=e+28|0;b:{if(!d|!i){break b}f=F[d>>2];if(!f){break b}j=F[f>>2];g=F[d+72>>2];c=29224;c:{d:{if((g|0)==1651078259){break d}c=29256;if((g|0)==1869968492){break d}e:{f:{if(!f){break f}c=F[f+148>>2];if(!c){break f}while(1){a=F[c+8>>2];if((g|0)==F[a+16>>2]){break e}c=F[c+4>>2];if(c){continue}break}}a=0}if(!a){break c}c=a+20|0}a=gb(j,F[c>>2],h+12|0);if(F[h+12>>2]){break b}F[a+4>>2]=c;F[a>>2]=f;F[a+8>>2]=F[c+4>>2];g:{f=F[d+64>>2];h:{if(f-2097152>>>0<4290772993){break h}g=F[d+68>>2];if(g-2097152>>>0<4290772993){break h}F[a+16>>2]=g<<10;F[a+12>>2]=f<<10;if(!(Ia[F[c+8>>2]](a,d)|0)){break g}c=F[a+4>>2]}f=F[F[a>>2]>>2];c=F[c+12>>2];if(c){Ia[c|0](a)}if(a){Ia[F[f+8>>2]](f,a)}break b}F[i>>2]=a}}Ga=h+16|0;a=F[e+28>>2];if(!a){a=0;break a}c=nb(800);F[e+20>>2]=200;F[e+16>>2]=c;F[c>>2]=0;el(a,1,e);F[c+4>>2]=F[e>>2];F[c+8>>2]=F[e+4>>2];F[c+12>>2]=F[e+8>>2];F[c+16>>2]=F[e+12>>2];F[c+20>>2]=F[d+24>>2];F[c+24>>2]=F[d+28>>2];F[c+28>>2]=F[d+40>>2];F[c+32>>2]=F[d+32>>2];F[c+36>>2]=F[d+36>>2];F[c+40>>2]=F[d+52>>2];F[c+44>>2]=F[d+44>>2];F[c+48>>2]=F[d+48>>2];F[c+52>>2]=F[d+56>>2];F[c+56>>2]=F[d+60>>2];a=15;F[e+24>>2]=15;if(b){pl(F[e+28>>2]+20|0,246204,e+16|0);a=F[e+24>>2];c=F[e+16>>2]}F[c>>2]=a;a=F[e+28>>2];if(a){b=F[F[a>>2]>>2];c=F[F[a+4>>2]+12>>2];if(c){Ia[c|0](a)}if(a){Ia[F[b+8>>2]](b,a)}}a=F[e+16>>2]}Ga=e+32|0;return a|0}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=F[a+24>>2];a:{b:{if(d){d=d-1|0;F[a+24>>2]=d;if(d>>>0>=I[a+32>>2]){break b}d=F[a+36>>2]+(d<<5)|0;break a}D[a+20|0]=1}d=F[40915];F[61614]=F[40914];F[61615]=d;d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432}e=F[b>>2];c:{i=K[d>>3];d:{if(N(i)<2147483648){d=~~i;break d}d=-2147483648}h=d+e|0;e:{if((h|0)<0){break e}d=F[b+4>>2];if(!d){break e}d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<=h>>>0){break e}e=F[a+92>>2];if(e>>>0<10){break c}}D[a+40|0]=1;return}d=F[a+4>>2];F[a+44>>2]=F[a>>2];F[a+48>>2]=d;D[a+60|0]=G[a+16|0];d=F[a+12>>2];F[a+52>>2]=F[a+8>>2];F[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){F[a+92>>2]=e+1;f=F[d+4>>2];e=F[a+104>>2]+L(e,28)|0;F[e>>2]=F[d>>2];F[e+4>>2]=f;F[e+24>>2]=F[d+24>>2];f=F[d+20>>2];F[e+16>>2]=F[d+16>>2];F[e+20>>2]=f;f=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=f;break f}D[a+88|0]=1}g:{h:{g=F[b+4>>2];if(g){b=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}l=F[40910];e=F[40908];b=F[40909];break g}f=G[g+4|0];m=(L(f,b+1|0)+g|0)+5|0;e=0;i:{if(!f){break i}j=f&3;b=(L(f,h)+g|0)+5|0;if(f-1>>>0<3){e=0}else{n=f&252;while(1){f=b;b=b+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!j){break i}while(1){e=G[b|0]|e<<8;b=b+1|0;k=k+1|0;if((k|0)!=(j|0)){continue}break}}e=(e+m|0)-1|0;b=Ee(g,h)}F[a+44>>2]=e;F[a+68>>2]=h;F[a- -64>>2]=c;D[a+60|0]=0;F[a+56>>2]=0;F[a+52>>2]=l;F[a+48>>2]=b;b=F[d+4>>2];F[a>>2]=F[d>>2];F[a+4>>2]=b;b=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=b;D[a+16|0]=G[d+16|0]}function hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Ga+-64|0;Ga=k;m=6;i=F[a+532>>2];a:{if(!i){break a}d=F[i+4>>2];o=b>>>0>d>>>0?d:b;b:{if(!d){d=0;break b}while(1){b=L(h,12)+i|0;g=F[b+96>>2];l=F[b+92>>2];c:{if(h>>>0>>0){e=G[b+88|0];f=F[(h<<2)+c>>2];break c}e=G[b+88|0];f=(F[((e<<2)+l|0)-4>>2]-F[l>>2]|0)/2|0}d:{e:{if(!e){break e}b=0;j=-1;f:{g:{while(1){n=b<<2;p=n+l|0;q=F[p>>2];if((f|0)==(q|0)){break f}if((f|0)<(q|0)){break g}j=b;b=b+1|0;if((e|0)!=(b|0)){continue}break}if(!e){break e}b=F[(g+(e<<2)|0)-4>>2];break d}if((j|0)<0){break e}b=j<<2;e=F[b+l>>2];b=bb(f-e|0,F[g+n>>2]-F[b+g>>2]|0,F[p>>2]-e|0);d=F[i+4>>2];break d}b=F[g+n>>2];break d}b=F[g>>2]}F[(h<<2)+k>>2]=b;h=h+1|0;if(h>>>0>>0){continue}break}i=F[a+532>>2];if(!i){break a}}m=-1;b=F[i>>2];if(!b){break a}f=F[i+4>>2];h:{if(f){g=d>>>0>f>>>0?f:d;j=0;e=f;h=0;while(1){b=0;d=65536;c=0;i:{if(!e){break i}while(1){j:{if(b>>>0>=g>>>0){d=d>>1;break j}c=F[(b<<2)+k>>2];c=h>>>b&1?c:65536-c|0;if((c|0)<=0){d=0;c=e;break i}if(c>>>0>65535){break j}d=Ua(d,c);f=F[i+4>>2]}e=f;c=f;b=b+1|0;if(f>>>0>b>>>0){continue}break}}b=F[i+136>>2]+(h<<2)|0;if(F[b>>2]!=(d|0)){F[b>>2]=d;j=1}e=c;h=h+1|0;if(h>>>0>2]){continue}break}break h}h=b&3;f=F[i+136>>2];c=0;k:{if(b-1>>>0<3){j=0;b=0;break k}i=b&-4;j=0;b=0;e=0;while(1){d=b<<2;g=d+f|0;if(F[g>>2]!=65536){F[g>>2]=65536;j=1}g=f+(d|4)|0;if(F[g>>2]!=65536){F[g>>2]=65536;j=1}g=f+(d|8)|0;if(F[g>>2]!=65536){F[g>>2]=65536;j=1}d=f+(d|12)|0;if(F[d>>2]!=65536){F[d>>2]=65536;j=1}b=b+4|0;e=e+4|0;if((i|0)!=(e|0)){continue}break}}if(!h){break h}while(1){e=f+(b<<2)|0;if(F[e>>2]!=65536){F[e>>2]=65536;j=1}b=b+1|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}if(!j){break a}m=0;F[a+8>>2]=F[a+8>>2]&-32769|((o|0)!=0)<<15}Ga=k- -64|0;return m|0}function dn(a,b,c){var d=0;d=163632;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 1:f:{g:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 2:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 4:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 5:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 6:h:{i:{j:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+6|0]|G[a+7|0]<<8;if(!b){break b}break a;case 7:k:{l:{m:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=G[b+2|0]|G[b+3|0]<<8?b+4|0:163632;b=G[b|0]|G[b+1|0]<<8;if(!b){break b}break a;case 8:break c;default:break b}}if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;d=dn(c,b,(a<<8|a>>>8)&65535)}else{d=163632}}return d}return((b<<8|b>>>8)&65535)+a|0}function Xi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=M(0),j=0,k=M(0),l=0;d=G[a|0]|G[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;e=d>>>0>1?d:1;a:{while(1){g=((f<<3)+a|0)+8|0;d=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);if(M(M(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*M(152587890625e-16))==M(0)){break a}f=f+1|0;if((e|0)!=(f|0)){continue}break}return 0}d=0;b:{c:{d:{e=G[a+2|0]|G[a+3|0]<<8;h=(e<<8|e>>>8)&65535;switch(h|0){case 0:break b;case 1:break d;default:break c}}a=(f<<3)+a|0;a=G[a+14|0]|G[a+15|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=G[a|0]|G[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;e:{f:{f=h-1|0;if(!f){break f}d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);l=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;d=0;g:{while(1){e=d>>>0>>0?l+(d<<2)|0:163632;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);if(M(M(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))*M(152587890625e-16))>=c){break g}d=d+1|0;if((f|0)!=(d|0)){continue}break}d=f}if(!d){break f}d=d-1|0;break e}d=0}a=G[a+2|0]|G[a+3|0]<<8;a=(a<<8|a>>>8)&65535;f=d>>>0>>0;e=d+1|0;h=e>>>0>>0;a=f?(d<<2)+j|0:163632;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=M(M(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*M(152587890625e-16));a=h?(e<<2)+j|0:163632;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);k=M(M(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*M(152587890625e-16));if(i==k){c=M(0)}else{c=M(M(c-i)/M(k-i))}a=G[g+6|0]|G[g+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;b=h?a+(e<<1)|0:163632;b=G[b|0]|G[b+1|0]<<8;a=f?a+(d<<1)|0:163632;a=G[a|0]|G[a+1|0]<<8;c=M(R(M(M(M(c*M((b<<8|b>>>8)<<16>>16))+M(M(M(1)-c)*M((a<<8|a>>>8)<<16>>16)))+M(.5))));if(M(N(c))>>8)&65535;h=d>>>0>1?d:1;d=a;a=G[a+8|0]|G[a+9|0]<<8;a=(d+L((a<<8|a>>>8)&65535,12)|0)+12|0;while(1){d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);b:{if(!((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))&c)){break b}e=G[a+2|0]|G[a+3|0]<<8;d=e&255;if(!(e&32)&(d>>>7|0)==((F[F[b+16>>2]+40>>2]&-2)!=6|0)){break b}c:{if(d&16){e=F[b+16>>2];d=(d&64)>>>6|0;break c}e=F[b+16>>2];d=(d&64)>>>6^(F[e+40>>2]&-3)==5}i=F[b+8>>2];F[f+16>>2]=F[b+72>>2];if(!mb(e,i,106086,f+16|0)){break b}d:{e:{f:{if(d){d=F[b+16>>2];ce(d,583,F[d+20>>2]==1);e=F[b+52>>2];d=F[e+12>>2];F[b+24>>2]=d;e=d+F[e+16>>2]|0;F[b+28>>2]=e;g:{if(!(a>>>0>>0&a>>>0>=d>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break g}F[b+24>>2]=a;d=e-a|0;e=G[a|0]|G[a+1|0]<<8;e=(e<<8|e>>>8)&65535;F[b+28>>2]=(d>>>0>>0?d:e)+a}F[61902]=0;aa(585,a|0,b|0)|0;d=F[61902];F[61902]=0;if((d|0)==1){break f}d=F[b+52>>2];e=F[d+12>>2];F[b+24>>2]=e;F[b+28>>2]=e+F[d+16>>2];d=F[b+16>>2];ce(d,583,F[d+20>>2]==1);break d}e=F[b+52>>2];d=F[e+12>>2];F[b+24>>2]=d;e=d+F[e+16>>2]|0;F[b+28>>2]=e;h:{if(!(a>>>0>>0&a>>>0>=d>>>0)){F[b+24>>2]=0;F[b+28>>2]=0;break h}F[b+24>>2]=a;d=e-a|0;e=G[a|0]|G[a+1|0]<<8;e=(e<<8|e>>>8)&65535;F[b+28>>2]=(d>>>0>>0?d:e)+a}F[61902]=0;aa(585,a|0,b|0)|0;d=F[61902];F[61902]=0;if((d|0)!=1){break e}}a=Z()|0;Y()|0;c=F[b+52>>2];f=F[c+12>>2];F[b+24>>2]=f;F[b+28>>2]=f+F[c+16>>2];$(a|0);V()}d=F[b+52>>2];e=F[d+12>>2];F[b+24>>2]=e;F[b+28>>2]=e+F[d+16>>2]}d=F[b+8>>2];e=F[b+16>>2];F[f>>2]=F[b+72>>2];mb(e,d,106120,f);if(!G[F[b+16>>2]+60|0]){break a}}d=G[a|0]|G[a+1|0]<<8;F[b+72>>2]=F[b+72>>2]+1;a=((d<<8|d>>>8)&65535)+a|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}Ga=f+32|0}function Af(a,b,c,d,e){var f=0,g=0,h=M(0),i=0,j=0,k=0,l=0;F[e>>2]=0;F[d>>2]=0;a:{b:{c:{d:{f=G[a|0]|G[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=G[a+2|0]|G[a+3|0]<<8;g=c<<8|c>>>8;f=F[b+92>>2];j=F[f+20>>2];b=F[f+16>>2];c=F[b+28>>2];if(!c){c=db(b);b=F[f+16>>2]}J[d>>2]=M(M(g<<16>>16)*M(j|0))/M(c>>>0);a=G[a+4|0]|G[a+5|0]<<8;h=M(M((a<<8|(a&65280)>>>8)<<16>>16)*M(F[f+24>>2]));a=F[b+28>>2];if(!a){a=db(b)}J[e>>2]=h/M(a>>>0);return}f=Ga-16|0;Ga=f;g=F[b+92>>2];j=F[g+60>>2];i=F[g+56>>2];F[f+4>>2]=0;F[f>>2]=0;e:{f:{k=0;g:{if(!(j|i)){break g}b=G[a+6|0]|G[a+7|0]<<8;F[f+4>>2]=0;l=(b<<8|b>>>8)&65535;b=F[g+80>>2];k=0;if(!(Ia[F[b+212>>2]](g,F[g+84>>2],c,l,f+4|0,f,F[b+68>>2])|0)){break g}pd(g,c,f+12|0,f+8|0);b=F[f+4>>2]-F[f+12>>2]|0;F[f+4>>2]=b;F[f>>2]=F[f>>2]-F[f+8>>2];if(i){break f}k=1}c=k;b=G[a+2|0]|G[a+3|0]<<8;h=M(M((b<<8|b>>>8)<<16>>16)*M(F[g+20>>2]));i=F[g+16>>2];b=F[i+28>>2];if(!b){b=db(i)}h=M(h/M(b>>>0));break e}c=1;h=M(b|0)}J[d>>2]=h;if(!c|!j){a=G[a+4|0]|G[a+5|0]<<8;h=M(M((a<<8|a>>>8)<<16>>16)*M(F[g+24>>2]));b=F[g+16>>2];a=F[b+28>>2];if(!a){a=db(b)}h=M(h/M(a>>>0))}else{h=M(F[f>>2])}J[e>>2]=h;Ga=f+16|0;return}c=G[a+2|0]|G[a+3|0]<<8;j=c<<8|c>>>8;f=F[b+92>>2];i=F[f+20>>2];g=F[f+16>>2];c=F[g+28>>2];if(!c){c=db(g);g=F[f+16>>2]}J[d>>2]=M(M(j<<16>>16)*M(i|0))/M(c>>>0);c=G[a+4|0]|G[a+5|0]<<8;h=M(M((c<<8|c>>>8)<<16>>16)*M(F[f+24>>2]));c=F[g+28>>2];if(!c){c=db(g)}J[e>>2]=h/M(c>>>0);if(F[f+68>>2]?1:F[f+56>>2]){c=G[a+6|0]|G[a+7|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=jh(c,f,F[b+112>>2]);J[d>>2]=J[d>>2]+M(c|0)}if(F[f+68>>2]?1:F[f+60>>2]){c=G[a+8|0]|G[a+9|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}a=kh(a,f,F[b+112>>2]);J[e>>2]=J[e>>2]+M(a|0)}}}function je(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=1;a:{b:{if(!F[b>>2]){b=c;break b}if(!F[c>>2]){break b}l=0;if(F[c+8>>2]>2]){break a}}d=F[a+20>>2];c:{if(!d){break c}g=F[b+8>>2];d:{while(1){h=F[(L(f,20)+a|0)+36>>2];if((h|0)>=(g|0)){break d}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d;break c}if(G[(L(f,20)+a|0)+28|0]&8|(!l&(h|0)<=F[c+8>>2]|(g|0)==(h|0))){break a}}d=F[a+4>>2];if(!(!G[d+12|0]|G[b|0]&16)){e:{if(!l){d=Ac(d,(F[b+8>>2]+F[c+8>>2]|0)/2|0);g=Ua((F[c+8>>2]-F[b+8>>2]|0)/2|0,F[a+16>>2]);F[b+12>>2]=d-g;g=d+g|0;d=c;break e}g=Ac(d,F[b+8>>2]);d=b}F[d+12>>2]=g}if(F[b+12>>2]>2]?f:0){break a}d=F[a+20>>2];f:{if(d>>>0<=f>>>0){break f}if(!l){if(F[c+12>>2]<=F[(L(f,20)+a|0)+40>>2]){break f}break a}if(F[b+12>>2]>F[(L(f,20)+a|0)+40>>2]){break a}}h=d+!l|0;if(h>>>0>191){break a}g:{if((d|0)==(f|0)){break g}i=f+1|0;m=d-f|0;h:{if(!(m&1)){g=d;break h}e=a+28|0;j=e+L(h,20)|0;g=d-1|0;e=e+L(g,20)|0;k=F[e+4>>2];F[j>>2]=F[e>>2];F[j+4>>2]=k;F[j+16>>2]=F[e+16>>2];k=F[e+12>>2];F[j+8>>2]=F[e+8>>2];F[j+12>>2]=k;h=h-1|0;m=m-1|0}if((d|0)==(i|0)){break g}j=a+28|0;while(1){i=j+L(g,20)|0;e=i-20|0;k=F[e+4>>2];d=j+L(h,20)|0;F[d>>2]=F[e>>2];F[d+4>>2]=k;F[d+16>>2]=F[e+16>>2];k=F[e+12>>2];F[d+8>>2]=F[e+8>>2];F[d+12>>2]=k;e=i-40|0;i=F[e+4>>2];d=d-20|0;F[d>>2]=F[e>>2];F[d+4>>2]=i;i=F[e+12>>2];F[d+8>>2]=F[e+8>>2];F[d+12>>2]=i;F[d+16>>2]=F[e+16>>2];h=h-2|0;g=g-2|0;m=m-2|0;if(m){continue}break}}d=L(f,20)+a|0;F[d+44>>2]=F[b+16>>2];f=F[b+12>>2];F[d+36>>2]=F[b+8>>2];F[d+40>>2]=f;f=F[b+4>>2];F[d+28>>2]=F[b>>2];F[d+32>>2]=f;F[a+20>>2]=F[a+20>>2]+1;if(l){break a}F[d- -64>>2]=F[c+16>>2];b=F[c+12>>2];F[d+56>>2]=F[c+8>>2];F[d+60>>2]=b;b=F[c+4>>2];F[d+48>>2]=F[c>>2];F[d+52>>2]=b;F[a+20>>2]=F[a+20>>2]+1}}function Fi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=F[b+4>>2];b:{if(f>>>0>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}g=F[b+12>>2];e=g-2|0;F[b+12>>2]=e;if((e|0)<=0){break b}e=G[a|0]|G[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<2){break b}e=a+4|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break b}e=g-6|0;F[b+12>>2]=e;if((e|0)<=0){break b}c=1;e=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!g){break b}j=g-1|0;a=a+8|0;e=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<12){return 0}k=F[b+12>>2];c=k-12|0;F[b+12>>2]=c;if((c|0)<=0){return 0}c=F[b+32>>2];f=F[c+12>>2];F[b+4>>2]=f;i=F[c+16>>2];d=i+f|0;F[b+8>>2]=d;c:{d:{e:{f:{if(e>>>0>=j>>>0){c=f;break f}c=e>>>0>>0?a:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){F[b+4>>2]=0;F[b+8>>2]=0;d=0;break e}F[b+4>>2]=c;h=d-c|0;d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=(d>>>0>h>>>0?h:d)+c|0;F[b+8>>2]=d}if(a>>>0>>0){break d}}if(a>>>0>d>>>0){break d}h=d-a|0;if(h>>>0<12){break d}d=k-24|0;F[b+12>>2]=d;if((d|0)<=0){break d}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<13|c>>>0>h>>>0){break d}c=d-c|0;F[b+12>>2]=c;if((c|0)<=0){break d}F[61902]=0;c=Di(a,b);f=F[61902];F[61902]=0;if((f|0)==1){break a}if(c){break c}a=F[b+32>>2];i=F[a+16>>2];f=F[a+12>>2]}F[b+4>>2]=f;F[b+8>>2]=f+i;return 0}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);d=F[b+32>>2];f=F[d+12>>2];F[b+4>>2]=f;d=F[d+16>>2]+f|0;F[b+8>>2]=d;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;c=1;e=e+1|0;if((g|0)!=(e|0)){continue}break}}return c}a=Z()|0;Y()|0;c=F[b+32>>2];f=F[c+12>>2];F[b+4>>2]=f;F[b+8>>2]=f+F[c+16>>2];$(a|0);V()}function ln(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=G[a|0]|G[a+1|0]<<8;a:{if(!c){break a}m=(c<<8|c>>>8)&65535;c=F[b+120>>2];g=F[b+100>>2];h=F[g+80>>2];n=F[g+64>>2];c=(c&F[(h+L(n,20)|0)+4>>2])>>>DC(c)|0;b:{if((c|0)!=255){break b}c=255;if(!G[b+143|0]){break b}e=F[g+68>>2];c:{if(e>>>0<2){break c}i=F[g+144>>2]|32;F[g+144>>2]=i;d=-1;c=0;l=e-1|0;if(l>>>0>=3){j=e&-4;while(1){f=F[(L(c,20)+h|0)+8>>2];d=d>>>0>>0?d:f;f=F[(L(c|1,20)+h|0)+8>>2];d=d>>>0>>0?d:f;f=F[(L(c|2,20)+h|0)+8>>2];d=d>>>0>>0?d:f;f=F[(L(c|3,20)+h|0)+8>>2];d=d>>>0>>0?d:f;c=c+4|0;o=o+4|0;if((j|0)!=(o|0)){continue}break}}j=e&3;if(j){while(1){f=F[(L(c,20)+h|0)+8>>2];d=d>>>0>>0?d:f;c=c+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}j=e&1;d:{if(!l){c=0;break d}l=e&-2;c=0;k=0;while(1){e=L(c,20)+h|0;if(F[e+8>>2]!=(d|0)){i=i|32;F[g+144>>2]=i;F[e+4>>2]=F[e+4>>2]|3}e=L(c|1,20)+h|0;if(F[e+8>>2]!=(d|0)){i=i|32;F[g+144>>2]=i;F[e+4>>2]=F[e+4>>2]|3}c=c+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}if(!j){break c}c=L(c,20)+h|0;if(F[c+8>>2]==(d|0)){break c}F[g+144>>2]=i|32;F[c+4>>2]=F[c+4>>2]|3}c=(L(F[b+144>>2],48271)>>>0)%2147483647|0;F[b+144>>2]=c;c=((c>>>0)%(m>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=m>>>0){break a}p=1;a=(c<<1)+a|0;a=G[a+2|0]|G[a+3|0]<<8;g=(a<<8|a>>>8)&65535;c=L(n,20)+h|0;a=H[c+12>>1]|16;if(G[b+140|0]){a=jc(F[b+108>>2],g)|a&112}E[c+12>>1]=a;a=F[b+100>>2];if(!$a(a,1,1)){break a}b=F[a+64>>2];e:{if(b>>>0>2]){d=F[a+80>>2]+L(b,20)|0;c=F[a+72>>2];b=F[a+84>>2];break e}b=F[a+84>>2];c=F[a+72>>2];d=b+L(c?c-1|0:0,20)|0}b=L(c,20)+b|0;c=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=c;F[b+16>>2]=F[d+16>>2];c=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=c;F[b>>2]=g;F[a+64>>2]=F[a+64>>2]+1;F[a+72>>2]=F[a+72>>2]+1}return p}function wC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Ga-208|0;Ga=e;if(!(!F[a>>2]|I[a+128>>2]<=c>>>0)){k=Oo(F[a+96>>2],c);D[e+40|0]=0;F[e+32>>2]=0;F[e+36>>2]=0;F[e+60>>2]=0;F[e+52>>2]=0;F[e+56>>2]=0;F[e+76>>2]=0;F[e+80>>2]=0;D[e+84|0]=0;F[e+128>>2]=0;F[e+120>>2]=0;F[e+124>>2]=0;F[e+160>>2]=0;F[e+164>>2]=0;F[e+196>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+68>>2]=0;F[e+72>>2]=0;F[e+152>>2]=0;F[e+156>>2]=0;F[e+188>>2]=0;F[e+192>>2]=0;a:{h=F[a+88>>2];g=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);m=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);b:{c:{if(m>>>0<=c>>>0){F[e+16>>2]=F[40910];c=F[40909];F[e+8>>2]=F[40908];F[e+12>>2]=c;break c}i=G[h+4|0];d:{if(!i){break d}n=i&3;g=(L(c,i)+h|0)+5|0;if(i-1>>>0<3){f=0}else{o=i&252;while(1){j=g;g=g+4|0;f=f+4|0;if((o|0)!=(f|0)){continue}break}f=G[j|0]|G[j+1|0]<<8|(G[j+2|0]<<16|G[j+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(!n){break d}while(1){f=G[g|0]|f<<8;g=g+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}F[61902]=0;c=Ee(h,c);g=F[61902];F[61902]=0;if((g|0)==1){break b}F[e+16>>2]=0;F[e+12>>2]=c;F[e+8>>2]=((L(m+1|0,i)+h|0)+f|0)+4}f=F[(I[a+120>>2]>k>>>0?F[a+124>>2]+L(k,28)|0:163632)+20>>2];c=F[b+68>>2];g=F[b+72>>2];j=F[a+80>>2];l=0;F[61902]=0;ba(652,e+24|0,e+8|0,j|0,f|0);f=F[61902];F[61902]=0;if((f|0)==1){break b}F[e+172>>2]=c;F[e+168>>2]=g;f=F[a+84>>2];F[e+176>>2]=f;D[e+201|0]=0;D[e+202|0]=0;F[e+196>>2]=0;F[e+188>>2]=0;F[e+192>>2]=0;D[e+200|0]=!g|!c?l:(G[f|0]|G[f+1|0]<<8)!=0;F[e+184>>2]=F[(I[a+120>>2]>k>>>0?F[a+124>>2]+L(k,28)|0:163632)+24>>2];F[61902]=0;F[e+4>>2]=b;F[e>>2]=d;g=aa(656,e+24|0,e|0)|0;a=F[61902];F[61902]=0;if((a|0)!=1){break a}}a=Z()|0;Y()|0;If(e+24|0);$(a|0);V()}If(e+24|0)}Ga=e+208|0;return g|0} -function xf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){F[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;i=G[b|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=L(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=I[a+8>>2]){e=0;break a}i=G[b|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=L(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(b>>>0>=I[a+8>>2]){e=0;break a}i=G[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+L(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=_a(f,10);F[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=L(F[(e<<2)+27536>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}F[d>>2]=a;e=f<<16;break a}b=b<<2;c=F[b+27516>>2];if(((f|0)/(c|0)|0)>=32768){e=_a(f,F[b+27520>>2]);F[d>>2]=a-4;break a}e=_a(f,c);F[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=m-a|0}else{f=(f|0)/F[27536-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=F[(a<<2)+27536>>2];if(((b|0)/(a|0)|0)>32767){break a}e=_a(b,a);break a}a=L(b,F[27536-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function Zl(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Ga+-64|0;Ga=i;F[i+12>>2]=0;m=F[h+556>>2];k=F[g>>2];j=F[k>>2];F[i+28>>2]=0;F[i+32>>2]=0;F[i+36>>2]=0;F[i+40>>2]=0;F[i+20>>2]=0;F[i+24>>2]=0;F[i+48>>2]=a;F[i+44>>2]=f;F[i+52>>2]=0;F[i+16>>2]=k;l=(f|0)==12288|(f|0)==16384;n=l?513:96;k=Va(j,4,0,n,0,i+60|0);F[i+32>>2]=k;a:{b:{if(!F[i+60>>2]){F[i+36>>2]=k;F[i+40>>2]=n;break b}if(k){Ia[F[j+8>>2]](j,k)}F[i+32>>2]=0;j=F[i+60>>2];if(j){break a}}Wa(a+24|0,0,160);F[a+156>>2]=8720;F[a+60>>2]=65536;F[a+44>>2]=2;F[a+48>>2]=65536;F[a+32>>2]=-6553600;F[a+36>>2]=3276800;F[a+184>>2]=l?513:48;F[a+172>>2]=65535;F[a+136>>2]=65535;F[a+128>>2]=65535;F[a+132>>2]=65535;F[a+16>>2]=65535;F[a+20>>2]=65535;F[a+8>>2]=65535;F[a+12>>2]=65535;F[a>>2]=65535;F[a+4>>2]=65535;c:{d:{if(!F[b+12>>2]){j=Za(d,F[b+20>>2]);if(j){break a}j=$b(d,F[b+24>>2],i+12|0);if(j){break a}c=F[b+24>>2];F[i+60>>2]=c;break d}j=nf(b,c,i+12|0,i+60|0);if(j){break c}c=F[i+60>>2]}j=F[i+12>>2];j=Mm(i+16|0,j,j?c+j|0:0)}e:{if(F[b+12>>2]){if(F[b+32>>2]){break e}b=F[b>>2]}else{b=d}Eb(b,i+12|0)}if(j){break a}j=0;if(F[a+132>>2]!=65535){break a}j=Sm(g,a,0,0);if(j){break a}f:{if((f|0)==12288|(f|0)==16384){break f}f=F[F[h+128>>2]+60>>2];g:{if((f|0)==-1){b=F[h+96>>2];f=F[b+68>>2];F[a+648>>2]=f;if(!f){break g}while(1){f=Ia[F[m+20>>2]](f)|0;F[b+68>>2]=f;if((f|0)<0){continue}break}break g}F[a+648>>2]=f;if(!f){break g}while(1){f=Ia[F[m+20>>2]](f)|0;F[F[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(F[a+648>>2]){break f}F[a+648>>2]=F[a+532>>2]}b=F[a+536>>2];if(!b){j=0;break a}j=Za(d,F[a+116>>2]+(b+e|0)|0);if(j){break a}b=a+608|0;j=gd(b,d,1,l);if(j){break a}j=Tg(b,a+644|0,0,0)}a=F[F[i+16>>2]>>2];b=F[i+32>>2];if(b){Ia[F[a+8>>2]](a,b)}Ga=i- -64|0;return j}function jd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ga-48|0;Ga=c;F[a>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;b=Ab(b,1196643650);if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=b;F[c+32>>2]=b;a:{b:{c:{d:{e:{while(1){D[c+24|0]=e;e=F[d+12>>2];F[c+4>>2]=e;f=F[d+16>>2];F[c+8>>2]=f+e;F[c+28>>2]=0;if(f>>>0<=67108862){f=f<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}else{f=1073741823}F[c+12>>2]=f;F[c+20>>2]=0;F[c>>2]=0;if(!e){Xa(d);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;break a}f=In(e,c);d=F[c+28>>2];f:{if(f){if(!d){break f}F[c+28>>2]=0;d=In(e,c);e=F[c+28>>2];Xa(F[c+32>>2]);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;if(!d){break b}if(!e){break e}break b}if(G[c+24|0]|!d){break d}f=Xb(b);F[c+4>>2]=f;F[c+8>>2]=f+F[b+16>>2];d=F[c+32>>2];e=1;if(f){continue}break c}break}Xa(F[c+32>>2]);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}break a}d=F[c+32>>2]}Xa(d);F[c+32>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0}Xa(b);b=163632}d=b;F[a>>2]=b;b=b?b:163632;b=I[b+16>>2]<10?163632:F[b+12>>2];e=G[b+8|0]|G[b+9|0]<<8;if(e){b=b+((e<<8|e>>>8)&65535)|0}else{b=163632}b=G[b|0]|G[b+1|0]<<8;b=(b<<8|b>>>8)&65535;F[a+4>>2]=b;e=ib(b,24);F[a+8>>2]=e;if(!e){F[a+4>>2]=0;Xa(d);F[a>>2]=0;d=163632;F[a>>2]=163632;b=F[a+4>>2]}g:{if(!b){break g}b=0;while(1){f=163632;e=163632;h=F[a+8>>2]+L(b,24)|0;d=d?d:163632;d=I[d+16>>2]<10?163632:F[d+12>>2];g=G[d+8|0]|G[d+9|0]<<8;if(g){e=((g<<8|g>>>8)&65535)+d|0}d=G[e|0]|G[e+1|0]<<8;h:{if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break h}d=(b<<1)+e|0;d=G[d+2|0]|G[d+3|0]<<8;if(!d){break h}f=((d<<8|d>>>8)&65535)+e|0}Ln(h,f);b=b+1|0;if(b>>>0>=I[a+4>>2]){break g}d=F[a>>2];continue}}Ga=c+48|0}function fo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=F[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=F[b+8>>2];if(f>>>0>>0|f-a>>>0<20){break b}e=F[b+12>>2];c=e-20|0;F[b+12>>2]=c;if((G[a|0]|G[a+1|0]<<8)!=256|(c|0)<=0){break b}c=G[a+12|0]|G[a+13|0]<<8;h=(c<<8|c>>>8)&65535;if((h|0)!=F[b+36>>2]){break b}c=a+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break b}g=G[a+4|0]|G[a+5|0]<<8;j=G[a+6|0]|G[a+7|0]<<8;e=e-24|0;F[b+12>>2]=e;if((e|0)<=0){break b}k=D[c|0];if((k|0)<0){break b}c=L((j<<8|j>>>8)&65535,(g<<8|g>>>8)&65535);if(c>>>0>2147483646){break a}c:{if(!c){break c}d=(G[a+11|0]|(G[a+9|0]<<16|(k&255)<<24|G[a+10|0]<<8))+a|0;if(d>>>0>>0|d>>>0>f>>>0){break a}c=c<<1;if(c>>>0>f-d>>>0){break a}e=e-c|0;F[b+12>>2]=e;if((e|0)>0){break c}break a}c=a+20|0;d:{e:{g=(G[a+14|0]|G[a+15|0]<<8)&256;if(g){if(c>>>0>>0|c>>>0>f>>>0){break a}d=f-c|0;c=(h<<2)+4|0;if(d>>>0>=c>>>0){break e}break a}if(c>>>0>>0|c>>>0>f>>>0){break a}d=f-c|0;c=(h<<1)+2|0;if(d>>>0>>0){break a}e=e-c|0;F[b+12>>2]=e;if((e|0)>0){break d}break a}e=e-c|0;F[b+12>>2]=e;d=0;if((e|0)<=0){break b}}c=a+20|0;f:{if(g){d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+(h<<2)|0;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break f}d=G[c|0]|G[c+1|0]<<8;g=((d<<8|d>>>8)&65535)<<1;c=c+(h<<1)|0;c=G[c|0]|G[c+1|0]<<8;c=((c<<8|c>>>8)&65535)<<1}h=c-g|0;if((h|0)==-1){break a}d=1;if((c|0)==(g|0)){break b}c=a;a=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=(a?c+a|0:163632)+g|0;if(a>>>0>>0|a>>>0>f>>>0){break a}d=0;if(h>>>0>f-a>>>0){break b}a=e-h|0;F[b+12>>2]=a;d=(a|0)>0}return d}return 0}function cy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ga-48|0;Ga=e;a:{if(!ab(b,10266)){b:{if(d){b=Lb(c,e+12|0);c:{d=F[e+12>>2];d:{if(G[d|0]!=44|(c|0)==(d|0)){break d}d=d+1|0;l=e,m=Lb(d,e+12|0),F[l+20>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+24>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+28>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+32>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+36>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+40>>2]=m;c=F[e+12>>2];if(G[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Lb(d,e+12|0),F[l+44>>2]=m;f=F[e+12>>2];if((G[f|0]|32)==32){break c}}f=6;break a}c=e+16|0;if((d|0)!=(f|0)){break b}f=6;break a}b=F[c>>2]}f=6;if((b|0)<0){break a}d=F[c+8>>2];if((d|0)<0){break a}g=F[c+16>>2];if((g|0)<0){break a}h=F[c+24>>2];if((h|0)<0){break a}i=F[c+4>>2];if((i|0)<0){break a}j=F[c+12>>2];if((j|0)<0){break a}k=F[c+20>>2];if((k|0)<0){break a}c=F[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}F[a+60>>2]=h;F[a+48>>2]=j;F[a+36>>2]=b;F[a- -64>>2]=c;F[a+56>>2]=k;F[a+52>>2]=g;F[a+44>>2]=d;F[a+40>>2]=i;f=0;break a}if(!ab(b,10438)){if(d){f=6;if(ab(c,10589)){break a}F[a+28>>2]=1;f=0;break a}f=7;if(F[c>>2]!=1){break a}F[a+28>>2]=1;f=0;break a}if(!ab(b,10703)){if(d){if(!Lb(c,0)){D[a+32|0]=0;break a}D[a+32|0]=1;break a}D[a+32|0]=G[c|0];break a}f=12;if(ab(b,10830)){break a}f=0;e:{if(d){b=Lb(c,0);break e}b=F[c>>2]}F[a+68>>2]=(b|0)>0?b:0}Ga=e+48|0;return f|0}function ot(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ga-16|0;Ga=d;F[a+788>>2]=0;F[a+792>>2]=0;g=a+796|0;F[g>>2]=0;F[g+4>>2]=0;h=a+788|0;a:{b:{c:{d:{if(!(Ia[F[a+516>>2]](a,1128418371,b,d+12|0)|0)){c=2;break d}c=1;if(!(Ia[F[a+516>>2]](a,1161972803,b,d+12|0)|0)){break d}if(!(Ia[F[a+516>>2]](a,1651273571,b,d+12|0)|0)){break d}c=Ia[F[a+516>>2]](a,1935829368,b,d+12|0)|0;if(c){break c}c=3}F[g>>2]=c;if(I[d+12>>2]<8){c=3;break c}i=a+800|0;k=F[b+8>>2];e:{f:{g:{h:{i:{c=F[g>>2];switch(c-1|0){case 2:break h;case 0:case 1:break i;default:break f}}c=$b(b,F[d+12>>2],h);if(c){break c}f=F[d+12>>2];F[a+792>>2]=f;c=F[a+788>>2];e=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);j=G[c+1|0]<<16|G[c|0]<<24;if(!((j|0)==131072|(j|0)==196608)){c=G[c+2|0]|G[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)!=768){break e}}c=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(e>>>0>65535){break c}if(f>>>0>=(L(e,48)|8)>>>0){break g}e=(f-8>>>0)/48|0;break g}c=tb(b,8);if(c){break c}c=xb(b);f=xb(b);e=Tb(b);lb(b);if(!c){break e}if((f&65533)!=1){c=3;break c}c=3;if(e>>>0>65535){break c}f=F[d+12>>2];c=Za(b,F[b+8>>2]-8|0);if(c){break c}e=f>>>0<(e<<2)+8>>>0?f-8>>>2|0:e;c=(e<<2)+8|0;F[a+792>>2]=c;c=$b(b,c,h);if(c){break c}}F[a+800>>2]=e;c=F[g>>2]}F[a+860>>2]=0;F[a+864>>2]=0;j:{k:{l:{switch(c|0){case 3:F[a+860>>2]=k;b=F[d+12>>2];break k;case 0:break b;default:break l}}m:{if(!(Ia[F[a+516>>2]](a,1128416340,b,d+8|0)|0)){break m}if(!(Ia[F[a+516>>2]](a,1161970772,b,d+8|0)|0)){break m}if(!(Ia[F[a+516>>2]](a,1650745716,b,d+8|0)|0)){break m}b=F[a+864>>2];break j}F[a+860>>2]=F[b+8>>2];b=F[d+8>>2]}F[a+864>>2]=b}c=0;if(b){break a}break b}c=2}if(F[h>>2]){Eb(b,h)}F[a+792>>2]=0;i=g}F[i>>2]=0}Ga=d+16|0;return c|0}function On(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{f=F[b+4>>2];b:{if(f>>>0>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break b}g=F[b+12>>2];c=g-4|0;F[b+12>>2]=c;if(!(G[a+1|0]<<16|G[a|0]<<24)|(c|0)<=0){break b}c=a+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break b}c=g-8|0;F[b+12>>2]=c;if((c|0)<=0){break b}e=1;c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!i){break b}k=i-1|0;a=a+8|0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<8){return 0}l=F[b+12>>2];e=l-8|0;F[b+12>>2]=e;if((e|0)<=0){return 0}d=F[b+32>>2];e=F[d+12>>2];F[b+4>>2]=e;j=F[d+16>>2];f=j+e|0;F[b+8>>2]=f;c:{d:{e:{f:{if(h>>>0>=k>>>0){d=e;break f}d=h>>>0>>0?a:0;if(!(e>>>0<=d>>>0&d>>>0>>0)){F[b+4>>2]=0;F[b+8>>2]=0;f=0;break e}F[b+4>>2]=d;g=f-d|0;c=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);f=(c>>>0>g>>>0?g:c)+d|0;F[b+8>>2]=f}if(a>>>0>>0){break d}}if(a>>>0>f>>>0){break d}d=f-a|0;if(d>>>0<8){break d}g=l-16|0;F[b+12>>2]=g;if((g|0)<=0){break d}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<8|c>>>0>d>>>0){break d}d=g-c|0;F[b+12>>2]=d;if((d|0)<=0){break d}F[61902]=0;d=Mn(a,b);e=F[61902];F[61902]=0;if((e|0)==1){break a}if(d){break c}a=F[b+32>>2];j=F[a+16>>2];e=F[a+12>>2]}F[b+4>>2]=e;F[b+8>>2]=e+j;return 0}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);e=F[b+32>>2];f=F[e+12>>2];F[b+4>>2]=f;d=F[e+16>>2]+f|0;F[b+8>>2]=d;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;e=1;h=h+1|0;if((i|0)!=(h|0)){continue}break}}return e}d=Z()|0;Y()|0;e=F[b+32>>2];a=F[e+12>>2];F[b+4>>2]=a;F[b+8>>2]=a+F[e+16>>2];$(d|0);V()}function yi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Ga-16|0;Ga=k;F[k+12>>2]=c;g=F[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}d=F[b+12>>2];e=d-8|0;F[b+12>>2]=e;if((e|0)<=0){break a}e=a+4|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<4){break a}d=d-12|0;F[b+12>>2]=d;if((d|0)<=0){break a}i=D[e|0];if((i|0)<0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(e){c=(G[a+7|0]|(G[a+5|0]<<16|(i&255)<<24|G[a+6|0]<<8))+c|0;if(c>>>0>>0|c>>>0>f>>>0){break a}f=f-c|0;c=((e<<8|e>>>8)&65535)<<2;if(f>>>0>>0){break a}c=d-c|0;F[b+12>>2]=c;if((c|0)<=0){break a}}f=a+8|0;c=G[a|0]|G[a+1|0]<<8;g=(c<<8|c>>>8)&65535;b:{c:{if(g>>>0>536870910){break c}c=1;if(!g){break b}if(f>>>0>2]){break c}c=F[b+8>>2];if(c>>>0>>0){break c}d=c-f|0;c=g<<3;if(d>>>0>>0){break c}c=F[b+12>>2]-c|0;F[b+12>>2]=c;if((c|0)<=0){break c}e=F[b+4>>2];c=0;a=G[a+2|0]|G[a+3|0]<<8;if(!a){while(1){j=0;a=f+(c<<3)|0;if(a>>>0>>0){break c}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break c}i=F[b+12>>2];h=i-8|0;F[b+12>>2]=h;if((h|0)<=0){break c}a=a+6|0;if(a>>>0>>0|a>>>0>d>>>0|d-a>>>0<2){break c}a=i-10|0;F[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((g|0)!=(c|0)){continue}break c}}i=((a<<8|a>>>8)&65535)<<1;m=F[k+12>>2];while(1){j=0;d=f+(c<<3)|0;if(d>>>0>>0){break c}a=F[b+8>>2];if(a>>>0>>0|a-d>>>0<8){break c}h=F[b+12>>2];l=h-8|0;F[b+12>>2]=l;if((l|0)<=0){break c}d=d+6|0;if(d>>>0>>0|a>>>0>>0|a-d>>>0<2){break c}h=h-10|0;F[b+12>>2]=h;if((h|0)<=0){break c}d=G[d|0]|G[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+m|0;if(d>>>0>>0|a>>>0>>0|i>>>0>a-d>>>0){break c}a=h-i|0;F[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=j}j=c}Ga=k+16|0;return j}function Lu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(I[b+160>>2]>>0){kb(b,8)}d=G[a+3|0]|G[a+2|0]<<8;if(I[b+160>>2]>>0){if(F[b+164>>2]>0){kb(b,8)}d=F[b+160>>2]-a|0}if(d>>>0<=15){kb(b,8)}c=G[a+7|0];k=c|G[a+6|0]<<8;if(!(!(c&1)|F[b+164>>2]<2)){kb(b,8)}h=k&65534;if((h<<2)+16>>>0>d>>>0){kb(b,8)}g=k>>>1|0;a:{if(F[b+164>>2]<2){break a}l=G[a+12|0];i=G[a+10|0];e=G[a+11|0];c=G[a+9|0];q=c|G[a+8|0]<<8;f=c;c=G[a+13|0];if((f|c)&1){kb(b,8)}f=q>>>1|0;if(!(f>>>0>g>>>0|g>>>0>(q&65534)>>>0|(g|0)!=(f+((c|l<<8)>>>1|0)|0))){if((f|0)==1<<(e|i<<8)){break a}}kb(b,8)}m=a+14|0;b:{if(F[b+164>>2]<2){break b}c=(h+m|0)-2|0;if((G[c|0]<<8|G[c+1|0])==65535){break b}kb(b,8)}if(k>>>0>=2){n=(a+h|0)+16|0;o=h+n|0;j=h+o|0;s=h+j|0;h=g>>>0>1?g:1;k=a+d|0;g=g-1|0;e=0;c=0;while(1){a=c;d=e;q=G[j|0]<<8;f=G[j+1|0];l=G[o|0];i=G[o+1|0];c=G[n+1|0]|G[n|0]<<8;e=G[m+1|0]|G[m|0]<<8;if(c>>>0>e>>>0){kb(b,8)}f=f|q;c:{if(!p|c>>>0>d>>>0){break c}if(F[b+164>>2]>0){kb(b,8);break c}if(!(a>>>0<=c>>>0&e>>>0>=d>>>0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+j|0;e:{f:{if(F[b+164>>2]>0){if(a>>>0>>0|k>>>0<((e-c<<1)+a|0)+2>>>0){break f}break e}if(!((g|0)!=(p|0)|(c|0)!=65535)&(e|0)==65535){break e}if(a>>>0>>0){break f}if(I[b+160>>2]>=((e-c<<1)+a|0)+2>>>0){break e}}kb(b,8)}if(F[b+164>>2]<=0|c>>>0>=e>>>0){break d}l=i|l<<8;d=c;while(1){i=G[a+1|0]|G[a|0]<<8;if(!(!i|I[b+172>>2]>(l+i&65535)>>>0)){kb(b,16)}a=a+2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break d}if(!((g|0)!=(p|0)|F[b+164>>2]>1|(c|0)!=65535)){if((e|0)==65535){break d}}kb(b,8)}j=j+2|0;o=o+2|0;m=m+2|0;n=n+2|0;p=p+1|0;if((h|0)!=(p|0)){continue}break}}return r|0}function Me(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}i=a-132|0;while(1){d=F[i>>2];if(!d){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=Db(d);D[b+40|0]=1;F[b+36>>2]=c;d=Ab(d,1717920116);c=0;h=Ga-16|0;Ga=h;if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}e=d;F[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){D[b+24|0]=c;c=F[e+12>>2];F[b+4>>2]=c;f=F[e+16>>2];F[b+8>>2]=f+c;g=1073741823;F[b+28>>2]=0;if(f>>>0<=67108862){g=f<<6;g=g>>>0>16384?g:16384;g=g>>>0<1073741823?g:1073741823}F[b+12>>2]=g;F[b+20>>2]=0;F[b>>2]=0;if(!c){Xa(e);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}if((f|0)<=11){break e}F[b+12>>2]=g-12;if((G[c|0]|G[c+1|0]<<8)!=256){break e}e=G[c+4|0]|G[c+5|0]<<8;F[h+8>>2]=c;g:{f=c+12|0;if(xi(f,b,(e<<8|e>>>8)&65535,h+8|0)){if(!F[b+28>>2]){break g}F[b+28>>2]=0;if(c>>>0>2]){break e}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<=11){break e}e=F[b+12>>2]-12|0;F[b+12>>2]=e;if((G[c|0]|G[c+1|0]<<8)!=256|(e|0)<=0){break e}e=G[c+4|0]|G[c+5|0]<<8;F[h+12>>2]=c;c=xi(f,b,(e<<8|e>>>8)&65535,h+12|0);e=F[b+32>>2];if(F[b+28>>2]){break d}Xa(e);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(c){break f}break c}if(G[b+24|0]|!F[b+28>>2]){break e}f=Xb(d);F[b+4>>2]=f;F[b+8>>2]=f+F[d+16>>2];e=F[b+32>>2];c=1;if(f){continue}break d}break}Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}if(F[d+4>>2]){F[d+4>>2]=0}break b}e=F[b+32>>2]}Xa(e);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(d);d=163632}Ga=h+16|0;c=d;if(!c){c=163632}d=F[a>>2];F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<12?163632:F[c+12>>2]}function hd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=G[a|0]|G[a+1|0]<<8;if(!h){return 0}j=F[b+116>>2];i=F[b+92>>2];a=0;l=(h<<8|h>>>8)&65535;if(l&1){k=F[e+8>>2];a=G[d|0]|G[d+1|0]<<8;f=(a<<8|a>>>8)<<16;g=f>>31;f=EC(F[i+40>>2],F[i+44>>2],f>>16,g)+32768|0;g=Ha;g=f>>>0<32768?g+1|0:g;F[e+8>>2]=k+((g&65535)<<16|f>>>16);d=d+2|0;a=(a|0)!=0}if(l&2){m=F[e+12>>2];k=G[d|0]|G[d+1|0]<<8;f=(k<<8|k>>>8)<<16;g=f>>31;f=EC(F[i+48>>2],F[i+52>>2],f>>16,g)+32768|0;g=Ha;g=f>>>0<32768?g+1|0:g;F[e+12>>2]=m+((g&65535)<<16|f>>>16);d=d+2|0;a=(k|0)!=0|a}k=j&-2;if(l&4){if((k|0)==4){m=F[e>>2];j=G[d|0]|G[d+1|0]<<8;f=(j<<8|j>>>8)<<16;g=f>>31;f=EC(F[i+40>>2],F[i+44>>2],f>>16,g)+32768|0;g=Ha;g=f>>>0<32768?g+1|0:g;F[e>>2]=m+((g&65535)<<16|f>>>16);a=(j|0)!=0|a}d=d+2|0}if(l&8){if((k|0)!=4){m=F[e+4>>2];j=G[d|0]|G[d+1|0]<<8;f=(j<<8|j>>>8)<<16;g=f>>31;f=EC(F[i+48>>2],F[i+52>>2],f>>16,g)+32768|0;g=Ha;g=f>>>0<32768?g+1|0:g;F[e+4>>2]=m-((g&65535)<<16|f>>>16);a=(j|0)!=0|a}d=d+2|0}a:{if(h>>>0<4096){break a}g=1;f=1;f=F[i+56>>2]?f:F[i+68>>2]!=0;if(!F[i+60>>2]){g=F[i+68>>2]!=0;if((g|f)!=1){break a}}b=F[b+112>>2];if(l&16){if(f){h=G[d|0]|G[d+1|0]<<8;j=(h|0)!=0;n=e,o=jh(h?((h<<8|h>>>8)&65535)+c|0:163632,i,b)+F[e+8>>2]|0,F[n+8>>2]=o;a=a|j}d=d+2|0}if(l&32){if(g){h=G[d|0]|G[d+1|0]<<8;j=(h|0)!=0;n=e,o=kh(h?((h<<8|h>>>8)&65535)+c|0:163632,i,b)+F[e+12>>2]|0,F[n+12>>2]=o;a=a|j}d=d+2|0}if(l&64){if((k|0)==4&f){f=G[d|0]|G[d+1|0]<<8;h=(f|0)!=0;n=e,o=jh(f?((f<<8|f>>>8)&65535)+c|0:163632,i,b)+F[e>>2]|0,F[n>>2]=o;a=a|h}d=d+2|0}if(!g|(!(l&128)|(k|0)==4)){break a}d=G[d|0]|G[d+1|0]<<8;a=(d|0)!=0|a;b=kh(d?((d<<8|d>>>8)&65535)+c|0:163632,i,b);F[e+4>>2]=F[e+4>>2]-b}return a}function wc(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=Ga-32|0;Ga=h;f=a;g=F[a+144>>2];a:{if(g){break a}while(1){a=F[f+48>>2];if(!a){g=163632;break a}g=ib(1,12);b:{if(!g){g=163632;break b}jd(g,a)}a=F[f+144>>2];F[f+144>>2]=a?a:g;if(!a){break a}kc(g);g=F[f+144>>2];if(!g){continue}break}}if(I[g+4>>2]<=b>>>0){c=0}else{F[h+20>>2]=d;F[h+16>>2]=c;F[h+8>>2]=0;D[h+24|0]=(e|0)!=0;F[h+12>>2]=f;c=F[f+144>>2];c:{if(c){break c}while(1){a=F[f+48>>2];if(!a){c=163632;break c}c=ib(1,12);d:{if(!c){c=163632;break d}jd(c,a)}a=F[f+144>>2];F[f+144>>2]=a?a:c;if(!a){break c}kc(c);c=F[f+144>>2];if(!c){continue}break}}g=163632;a=163632;c=F[c>>2];c=c?c:163632;c=I[c+16>>2]<10?163632:F[c+12>>2];d=G[c+8|0]|G[c+9|0]<<8;if(d){a=c+((d<<8|d>>>8)&65535)|0}c=G[a|0]|G[a+1|0]<<8;e:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break e}c=(b<<1)+a|0;c=G[c+2|0]|G[c+3|0]<<8;if(!c){break e}g=((c<<8|c>>>8)&65535)+a|0}a=F[f+144>>2];f:{if(a){break f}while(1){c=F[f+48>>2];if(!c){a=163632;break f}a=ib(1,12);g:{if(!a){a=163632;break g}jd(a,c)}c=F[f+144>>2];F[f+144>>2]=c?c:a;if(!c){break f}kc(a);a=F[f+144>>2];if(!a){continue}break}}a=F[a+8>>2]+L(b,24)|0;c=0;h:{e=h+8|0;if(!F[e+12>>2]){break h}b=F[F[e+8>>2]>>2];if(!(F[a>>2]>>>(b>>>4)&1)|!(F[a+4>>2]>>>b&1)|!(F[a+8>>2]>>>(b>>>9)&1)){break h}a=G[g+4|0]|G[g+5|0]<<8;if(!a){break h}b=G[g|0]|G[g+1|0]<<8;i=(b<<8|b>>>8)&65535;f=(a<<8|a>>>8)&65535;j=f>>>0>1?f:1;d=g+4|0;b=0;c=1;while(1){a=((a<<8|(a&65280)>>>8)&65535)>>>0>b>>>0?(d+(b<<1)|0)+2|0:163632;a=G[a|0]|G[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+g|0}else{a=163632}if(Wn(a,e,i)){break h}b=b+1|0;c=f>>>0>b>>>0;if((b|0)==(j|0)){break h}a=G[d|0]|G[d+1|0]<<8;continue}}}Ga=h+32|0;return c}function hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=a+10|0;if(d>>>0>I[b+160>>2]){kb(b,8)}c=G[a+6|0]|G[a+7|0]<<8|(G[a+8|0]<<16|G[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=G[a+2|0]|G[a+3|0]<<8|(G[a+4|0]<<16|G[a+5|0]<<24);g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(g>>>0<10|F[b+160>>2]-a>>>0>>0)&(g-10>>>0)/11>>>0>=k>>>0)){kb(b,8)}if(k){l=a+4|0;c=1;while(1){m=G[d+2|0]|(G[d+1|0]<<8|G[d|0]<<16);a=G[d+7|0]|G[d+8|0]<<8|(G[d+9|0]<<16|G[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=G[d+3|0]|G[d+4|0]<<8|(G[d+5|0]<<16|G[d+6|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(e>>>0>>0&a>>>0>>0)){kb(b,8)}if(c>>>0>m>>>0){kb(b,8)}a:{if(!a){break a}a=a+l|0;if(a>>>0>I[b+160>>2]){kb(b,8)}c=a-4|0;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(f>>>0>F[b+160>>2]-a>>>2>>>0){kb(b,8);break b}if(!f){break a}}c=0;h=0;while(1){i=G[a+2|0]|(G[a+1|0]<<8|G[a|0]<<16);j=i+G[a+3|0]|0;if(j>>>0>=1114112){kb(b,8)}if(h>>>0>i>>>0){kb(b,8)}a=a+4|0;h=j+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c:{if(!e){break c}a=e+l|0;if(a>>>0>I[b+160>>2]){kb(b,8)}c=a-4|0;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(F[b+160>>2]-a>>>0)/5>>>0){kb(b,8);break d}if(!c){break c}}h=0;e=0;while(1){i=G[a+3|0];j=G[a+4|0];f=G[a+2|0]|(G[a+1|0]<<8|G[a|0]<<16);if(f>>>0>=1114112){kb(b,8)}if(f>>>0>>0){kb(b,8)}if(!(F[b+164>>2]<=0|I[b+172>>2]>(j|i<<8)>>>0)){kb(b,16)}a=a+5|0;h=f+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function _n(a,b,c,d,e,f,g){var h=0,i=0;b=id(a,b);a:{b:{if((d|0)==-1){break b}a=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65537){break b}a=G[b+10|0]|G[b+11|0]<<8|(G[b+12|0]<<16|G[b+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+b|0:163632;h=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);i=a;a=(h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))>>>0>d>>>0?(a+(d<<3)|0)+8|0:163632;a=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=a?i+a|0:163632;a=G[d+4|0]|G[d+5|0]<<8;if(!a){break b}a=(a<<8|a>>>8)&65535;h=a>>>0>1?a:1;a=0;while(1){i=d+L(a,6)|0;i=G[i+6|0]|G[i+7|0]<<8;if(((i<<8|i>>>8)&65535)!=(c|0)){a=a+1|0;if((h|0)!=(a|0)){continue}break b}break}a=d+L(a,6)|0;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=a?a+d|0:163632;if(d){break a}}d=163632;a=163632;h=G[b+6|0]|G[b+7|0]<<8;if(h){a=b+((h<<8|h>>>8)&65535)|0}b=G[a|0]|G[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0>c>>>0?(L(c,6)+a|0)+2|0:163632;b=G[b+4|0]|G[b+5|0]<<8;if(!b){break a}d=((b<<8|b>>>8)&65535)+a|0}a=G[d+2|0]|G[d+3|0]<<8;a=(a<<8|a>>>8)&65535;c:{if(!f){break c}b=a-e|0;a=a>>>0>>0?0:b;b=F[f>>2];a=a>>>0>>0?a:b;F[f>>2]=a;if(!a){break c}e=(d+(e<<1)|0)+4|0;if(a&1){b=G[e|0]|G[e+1|0]<<8;F[g>>2]=(b<<8|b>>>8)&65535;e=e+2|0;g=g+4|0;f=a-1|0}else{f=a}if((a|0)==1){break c}b=f;while(1){a=G[e|0]|G[e+1|0]<<8;F[(f?g:246432)>>2]=(a<<8|a>>>8)&65535;a=(f|0)!=0;c=(a<<2)+g|0;d=G[e+2|0]|G[e+3|0]<<8;F[((a|0)==(f|0)?246432:c)>>2]=(d<<8|d>>>8)&65535;d=(a|0)!=(f|0);g=c+(d<<2)|0;f=f-(a+d|0)|0;e=e+4|0;b=b-2|0;if(b){continue}break}}}function Wf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=F[b+4>>2];a:{b:{if(f>>>0>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}g=F[b+12>>2]-2|0;F[b+12>>2]=g;e=1;if((g|0)<=0){break b}h=G[a|0]|G[a+1|0]<<8;if(!h){break a}e=a+2|0;if(e>>>0>>0|d>>>0>>0){break b}i=d-e|0;d=(h<<8|h>>>8)&65535;e=d<<2;if(i>>>0>>0){break b}g=g-e|0;F[b+12>>2]=g;e=0;if((g|0)<=0){break a}g=a+2|0;if(f>>>0>g>>>0){break a}n=d>>>0>1?d:1;while(1){e=F[b+8>>2];if(e>>>0>>0|e-g>>>0<4){break b}f=F[c>>2];e=F[b+12>>2]-4|0;F[b+12>>2]=e;if((e|0)<=0){break b}e=(k<<2)+a|0;h=D[g|0];d=G[e+3|0]<<16|h<<24|G[e+4|0]<<8|G[e+5|0];e=(d|0)!=0&(h|0)<0;c:{if(!(e|!d)){e=0;f=d+f|0;l=F[b+4>>2];d:{e:{if(f>>>0>>0){break e}h=F[b+8>>2];if(h>>>0>>0|h-f>>>0<6){break e}j=F[b+12>>2];d=j-6|0;F[b+12>>2]=d;if((d|0)<=0){break e}d=f+4|0;if(d>>>0>>0|d>>>0>h>>>0|h-d>>>0<2){break e}j=j-8|0;F[b+12>>2]=j;if((j|0)<=0){break e}d=G[f+4|0]|G[f+5|0]<<8;i=(d<<8|d>>>8)&65535;m=i<<1;if(d){d=f+6|0;if(d>>>0>>0|d>>>0>h>>>0|m>>>0>h-d>>>0){break e}j=j-m|0;F[b+12>>2]=j;if((j|0)<=0){break e}}d=G[f+2|0]|G[f+3|0]<<8;d=d<<8|d>>>8;if(i>>>0<(d&65535)>>>0){break e}i=i+(d&65535)|0;d=G[f|0]|G[f+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>=4294967295/(i>>>0)>>>0?i:0){break e}i=L(d,i);d=1;if(!i){break d}d=(f+m|0)+6|0;if(d>>>0>>0|d>>>0>h>>>0|i>>>0>h-d>>>0){break e}e=j-i|0;F[b+12>>2]=e;e=(e|0)>0}d=e}if(d){break c}e=F[b+28>>2];if(e>>>0>31){break b}F[b+28>>2]=e+1;if(!G[b+24|0]){break b}D[g|0]=0;D[g+1|0]=0;D[g+2|0]=0;D[g+3|0]=0;break c}if(e){break b}}e=1;k=k+1|0;if((n|0)==(k|0)){break a}g=((k<<2)+a|0)+2|0;if(g>>>0>=I[b+4>>2]){continue}break}}e=0}return e}function Of(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(F[a+20>>2]){break b}b=F[a+48>>2];if(!b|(b|0)==1){break b}h=F[a+52>>2];m=h+(b<<2)|0;j=b-1|0;k=h+4|0;h=F[40908];while(1){f=F[(j?k:163632)>>2];g=F[f+12>>2];if(g){i=F[f+16>>2];n=i+(g<<4)|0;while(1){c=g?i:163632;b=F[c+12>>2];c:{if(b>>>0>=I[a+48>>2]){F[61608]=h;d=h;break c}d=F[F[a+52>>2]+(b<<2)>>2]}b=d;if(!b){break a}d=0;d:{e:{f:{g:{e=G[c|0];switch(e>>>4&3){case 1:break f;case 0:break g;case 2:break e;default:break d}}d=F[b>>2]-F[f>>2]|0;break d}d=F[b>>2]-F[f+4>>2]|0;break d}d=F[a+4>>2]+F[b>>2]-(F[a>>2]+F[a+8>>2])|0}b=d-F[c+8>>2]|0;h:{i:{if(e&8){d=F[f>>2]+(F[c+4>>2]&268435455)|0;if((e&7)==4){c=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);D[d|0]=c;e=c>>>8|0;D[d+1|0]=e;D[d+2|0]=c>>>16;l=d;d=c>>>24|0;D[l+3|0]=d;c=d|(e&65280|(c<<8&16711680|c<<24));if((b|0)!=(c|0)|c>>31){break i}break h}c=b<<8|(b&65280)>>>8;D[d|0]=c;D[d+1|0]=c>>>8;c=b<<16;d=c>>31;if((b|0)!=c>>16|d){break i}break h}j:{switch((e&7)-3|0){case 1:d=F[f>>2]+(F[c+4>>2]&268435455)|0;c=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);D[d|0]=c;e=c>>>8|0;D[d+1|0]=e;D[d+2|0]=c>>>16;l=d;d=c>>>24|0;D[l+3|0]=d;if((b|0)!=(d|(e&65280|(c<<8&16711680|c<<24)))){break i}break h;case 0:c=F[f>>2]+(F[c+4>>2]&268435455)|0;D[c+2|0]=b;D[c+1|0]=b>>>8;D[c|0]=b>>>16;if(b>>>0>=16777216){break i}break h;default:break j}}c=F[f>>2]+(F[c+4>>2]&268435455)|0;d=b<<8|(b&65280)>>>8;D[c|0]=d;D[c+1|0]=d>>>8;if(b>>>0<65536){break h}}F[a+20>>2]=F[a+20>>2]|2}b=!!g;g=g-b|0;i=(b<<4)+i|0;if((n|0)!=(i|0)){continue}break}}b=!!j;j=j-b|0;k=(b<<2)+k|0;if((m|0)!=(k|0)){continue}break}}return}F[a+20>>2]=F[a+20>>2]|1}function Id(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{switch(a-247|0){default:if((a|0)!=28){break c}d=F[b+12>>2];a=F[b+4>>2];e:{if(d>>>0>=a>>>0){D[b+16|0]=1;c=163632;break e}c=d+F[b>>2]|0}e=G[c|0]<<8;c=a;a=d+1|0;f:{if(c>>>0<=a>>>0){D[b+16|0]=1;a=163632;break f}a=a+F[b>>2]|0}c=e|G[a|0];a=F[b+24>>2];g:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<3)|0;break g}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}K[a>>3]=c<<16>>16;h:{a=F[b+4>>2];if(G[b+16|0]|d>>>0>a>>>0){break h}c=d+2|0;if(c>>>0>a>>>0){break h}break b}break a;case 0:case 1:case 2:case 3:d=F[b+12>>2];i:{if(d>>>0>=I[b+4>>2]){D[b+16|0]=1;c=163632;break i}c=d+F[b>>2]|0}c=((G[c|0]|(a<<8)+2304)<<16)+7077888>>16;a=F[b+24>>2];j:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<3)|0;break j}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}K[a>>3]=c|0;k:{a=F[b+4>>2];if(G[b+16|0]|d>>>0>a>>>0){break k}c=d+1|0;if(c>>>0>a>>>0){break k}break b}break a;case 4:case 5:case 6:case 7:break d}}d=F[b+12>>2];l:{if(d>>>0>=I[b+4>>2]){D[b+16|0]=1;c=163632;break l}c=d+F[b>>2]|0}c=-108-(G[c|0]|(a<<16)-16449536>>>8)|0;a=F[b+24>>2];m:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<3)|0;break m}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}K[a>>3]=c|0;n:{a=F[b+4>>2];if(G[b+16|0]|d>>>0>a>>>0){break n}c=d+1|0;if(c>>>0>a>>>0){break n}break b}break a}if(a-32>>>0<=214){c=a-139|0;a=F[b+24>>2];o:{if(a>>>0>2]){F[b+24>>2]=a+1;a=F[b+36>>2]+(a<<3)|0;break o}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}K[a>>3]=c|0;return}D[b+40|0]=1;F[b+24>>2]=0;return}F[b+12>>2]=c;return}D[b+16|0]=1;F[b+12>>2]=a}function Hi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Ga-80|0;Ga=j;c=G[c+2|0]|G[c+3|0]<<8;d=c<<8|c>>>8;c=d&65535;e=F[b+4>>2];if(d&32768){F[a+4>>2]=F[e+64>>2]}if(c&8192){b=F[e+64>>2]+1|0;d=F[e+68>>2];F[a+8>>2]=b>>>0>>0?b:d}b=c&15;a:{if(!b){break a}c=F[a+4>>2];d=F[a+8>>2];if(c>>>0>=d>>>0){break a}b=G[b+106144|0];k=b>>>4|0;f=k>>>0<2?k:2;l=b&15;i=l>>>0<2?l:2;n=f+i|0;b=d-c|0;if(n>>>0>b>>>0){break a}g=F[e+64>>2]+1|0;h=F[e+68>>2];g=g>>>0>>0?g:h;if(g-c>>>0>=2){Kb(e,c,g);d=F[a+8>>2];c=F[a+4>>2];b=d-c|0}if(b>>>0>=2){Kb(e,c,d);d=F[a+8>>2];c=F[a+4>>2]}b=F[e+80>>2];g=b+L(c,20)|0;h=L(f,20);e=Ya(j,g,h);m=L(i,20);o=Ya(e+40|0,(b+L(d,20)|0)+L(i,-20)|0,m);if((f|0)!=(i|0)){Cb(g+m|0,g+h|0,L(d-(c+n|0)|0,20));c=F[a+4>>2]}Ya(L(c,20)+b|0,o,m);Ya((b+L(F[a+8>>2],20)|0)+L(f,-20)|0,e,h);if((k|0)==3){d=b+L(F[a+8>>2],20)|0;c=d-20|0;F[e+16>>2]=F[c+16>>2];f=F[c+4>>2];F[e>>2]=F[c>>2];F[e+4>>2]=f;f=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=f;d=d-40|0;f=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=f;f=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=f;F[c+16>>2]=F[d+16>>2];d=F[e+4>>2];c=(b+L(F[a+8>>2],20)|0)-40|0;F[c>>2]=F[e>>2];F[c+4>>2]=d;F[c+16>>2]=F[e+16>>2];d=F[e+12>>2];F[c+8>>2]=F[e+8>>2];F[c+12>>2]=d}if((l|0)!=3){break a}c=b+L(F[a+4>>2],20)|0;F[e+16>>2]=F[c+16>>2];d=F[c+4>>2];F[e>>2]=F[c>>2];F[e+4>>2]=d;d=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=d;d=F[c+24>>2];F[c>>2]=F[c+20>>2];F[c+4>>2]=d;d=F[c+32>>2];F[c+8>>2]=F[c+28>>2];F[c+12>>2]=d;F[c+16>>2]=F[c+36>>2];a=b+L(F[a+4>>2],20)|0;F[a+36>>2]=F[e+16>>2];b=F[e+12>>2];F[a+28>>2]=F[e+8>>2];F[a+32>>2]=b;b=F[e+4>>2];F[a+20>>2]=F[e>>2];F[a+24>>2]=b}Ga=j+80|0}function Nm(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}c=F[b+100>>2];d=G[a+2|0]|G[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}d=qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((d|0)!=-1){hd(a+4|0,b,a,a+6|0,F[c+88>>2]+L(F[c+64>>2],20)|0);F[c+64>>2]=F[c+64>>2]+1}d=(d|0)!=-1;break c}c=F[b+100>>2];f=G[a+2|0]|G[a+3|0]<<8;if(f){e=((f<<8|f>>>8)&65535)+a|0}else{e=163632}f=qb(e,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((f|0)==-1){break c}e=G[a+6|0]|G[a+7|0]<<8;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break c}d=1;g=a+4|0;e=a;a=L(HC(G[a+4|0]|G[a+5|0]<<8),f);hd(g,b,e,(a|0)<0?163632:(e+(a<<1)|0)+8|0,F[c+88>>2]+L(F[c+64>>2],20)|0);F[c+64>>2]=F[c+64>>2]+1}return d;case 1:f:{g:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}return Ym(a,b)}return Xm(a,b);case 2:if((G[a|0]|G[a+1|0]<<8)!=256){break a}return Wm(a,b);case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break a}return Um(a,b);case 4:if((G[a|0]|G[a+1|0]<<8)!=256){break a}return Tm(a,b);case 5:if((G[a|0]|G[a+1|0]<<8)!=256){break a}return Rm(a,b);case 6:return Pm(a,b);case 7:h:{i:{j:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break a}}return Om(b,a)}return hh(a,b)}return gh(a,b);case 8:break b;default:break a}}if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;d=Nm(c,b,(a<<8|a>>>8)&65535)}else{d=0}}return d}function BC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=M(0),k=M(0);g=Ga-16|0;Ga=g;c=F[b+4>>2];d=c+16|0;if(F[c+16>>2]){f=F[c+12>>2];e=F[c+8>>2];j=J[c+20>>2];k=J[c+24>>2];if(!(j==J[c+28>>2]&k==J[c+32>>2])){Ia[F[e+16>>2]](e,f,d,j,k,F[e+36>>2])}Ia[F[e+28>>2]](e,f,d,F[e+48>>2])}F[d>>2]=0;F[d+4>>2]=0;F[d+16>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;d=F[a+24>>2];c=d-4|0;if(d>>>0<=3){D[a+20|0]=1}f=F[a+32>>2];a:{if(f>>>0<=c>>>0){c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;break a}c=F[a+36>>2]+(c<<3)|0;e=F[c>>2];c=F[c+4>>2]}F[g>>2]=e;F[g+4>>2]=c;if(d>>>0<=2){D[a+20|0]=1}c=d-3|0;b:{if(c>>>0>=f>>>0){c=F[40909];e=F[40908];F[61608]=e;F[61609]=c;break b}c=F[a+36>>2]+(c<<3)|0;e=F[c>>2];c=F[c+4>>2]}F[g+8>>2]=e;F[g+12>>2]=c;e=F[b+12>>2];if(d>>>0<=1){D[a+20|0]=1}c=d-2|0;c:{if(c>>>0>=f>>>0){c=F[40909];f=F[40908];F[61608]=f;F[61609]=c;x(0,f|0);x(1,c|0);h=+z();break c}h=K[F[a+36>>2]+(c<<3)>>3]}d:{if(N(h)<2147483648){c=~~h;break d}c=-2147483648}f=0;e:{if(c>>>0<=255){f=G[c+108816|0];i=F[e+52>>2];if((i|0)!=163632){f=Fe(i,f,F[e+216>>2]);e=F[b+12>>2];c=F[a+24>>2];break e}f=c>>>0<229?F[e+172>>2]?0:f:0}c=d}d=d-1|0;if(c>>>0<=d>>>0){D[a+20|0]=1}f:{if(d>>>0>=I[a+32>>2]){d=F[40909];c=F[40908];F[61608]=c;F[61609]=d;x(0,c|0);x(1,d|0);h=+z();break f}h=K[F[a+36>>2]+(d<<3)>>3]}g:{if(N(h)<2147483648){d=~~h;break g}d=-2147483648}h:{i:{if(d>>>0>255){break i}c=G[d+108816|0];i=F[e+52>>2];j:{if((i|0)!=163632){d=Fe(i,c,F[e+216>>2]);break j}d=d>>>0<229?F[e+172>>2]?0:c:0}if(!d|!f|G[a+160|0]){break i}if(!Ch(F[b+12>>2],F[b>>2],f,F[b+4>>2],1,0)){break i}if(Ch(F[b+12>>2],F[b>>2],d,F[b+4>>2],1,g)){break h}}D[a+40|0]=1}Ga=g+16|0}function vA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=F[b+68>>2];if(g){i=F[b+80>>2];while(1){d=8;f=L(e,20)+i|0;c=F[f>>2];h=bh(c);b=h>>>8|0;a:{b:{c:{if(c-2387>>>0<2){break c}d=1;d:{e:{f:{a=c-7394|0;if(a>>>0>20){break f}a=1<>>0<6){break e}if(c-2674>>>0<2){break c}if(c-7406>>>0<4){d=18;break c}if((c|0)==2641){a=12;d=7;break a}d=8;if((c&-3)==70401){break c}d=3;if(c-70459>>>0<2){break c}g:{if((c|0)<=2810){if((c|0)==2432|(c|0)==2556){break g}break d}if((c|0)==2811|(c|0)==2901){break c}if((c|0)!=3200){break d}}d=11;break c}d=18;break c}if((c&-2)==8208){d=11;break c}if((c|0)==9676){d=12;break c}a=0;d=h&255;if(d>>>0>=32){break b}}a=1<>>7|0){case 5:a=c>>>0<3139?7:9;break a;case 6:a=c-3287>>>0<4294967276?7:9;break a;case 0:case 1:case 2:case 3:case 4:case 7:break j;default:break a}}a=12;break a;case 3:a=9;b=c-2560|0;if(b>>>0>=768){break a}a=F[(b>>>5&134217724)+135636>>2];break a;case 5:a=9;b=c-2560|0;if(b>>>0>=896){break a}a=F[(b>>>5&134217724)+135660>>2];break a;case 0:break a;default:break i}}a=b;break a}a=a&263424?14:b}D[f+19|0]=(c|0)==2817?7:a;D[f+18|0]=d;e=e+1|0;if((g|0)!=(e|0)){continue}break}}}function lh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=F[a+100>>2];c=F[d+64>>2];if(c>>>0>=I[d+68>>2]){break a}while(1){if(!G[d+60|0]){break a}c=F[d+80>>2]+L(c,20)|0;e=F[c>>2];b:{c:{if(!(F[b>>2]>>>(e>>>4)&1)|!(F[b+4>>2]>>>e&1)|(!(F[b+8>>2]>>>(e>>>9)&1)|!(F[a+120>>2]&F[c+4>>2]))){break c}g=F[a+132>>2];c=H[c+12>>1];if(g&c&14){break c}d:{if(!(c&8)){break d}if(g&16){c=F[a+108>>2];f=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<65538){break c}f=G[c+12|0]|G[c+13|0]<<8;if(f){c=c+((f<<8|f>>>8)&65535)|0}else{c=163632}if((G[c|0]|G[c+1|0]<<8)!=256){break c}f=c;g=g>>>16|0;h=(c+(g<<2)|0)+4|0;c=G[c+2|0]|G[c+3|0]<<8;c=g>>>0<((c<<8|c>>>8)&65535)>>>0?h:163632;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((qb(c?f+c|0:163632,e)|0)!=-1){break d}break c}e=g&65280;if(!e){break d}if((e|0)!=(c&65280)){break c}}c=0;g=F[b+16>>2];if(!g){break c}while(1){e=c>>>0>>0?F[b+20>>2]+L(c,20)|0:163632;f=F[a+100>>2];f=F[F[f+80>>2]+L(F[f+64>>2],20)>>2];if(!(!(F[e+8>>2]>>>(f>>>4)&1)|!(F[e+12>>2]>>>f&1)|!(F[e+16>>2]>>>(f>>>9)&1))){if(Ia[F[e+4>>2]](F[e>>2],a)|0){break b}g=F[b+16>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}if(G[d+61|0]){e:{if(F[d+84>>2]==F[d+80>>2]){c=F[d+72>>2];if((c|0)==F[d+64>>2]){break e}}if(!$a(d,1,1)){break b}e=F[d+80>>2]+L(F[d+64>>2],20)|0;g=F[e+4>>2];c=F[d+84>>2]+L(F[d+72>>2],20)|0;F[c>>2]=F[e>>2];F[c+4>>2]=g;F[c+16>>2]=F[e+16>>2];g=F[e+12>>2];F[c+8>>2]=F[e+8>>2];F[c+12>>2]=g;c=F[d+72>>2]}F[d+72>>2]=c+1}F[d+64>>2]=F[d+64>>2]+1}c=F[d+64>>2];if(c>>>0>2]){continue}break}}}function kA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=F[b+68>>2];if(g){h=F[b+80>>2];while(1){e=L(d,20)+h|0;c=F[e>>2];a=bh(c);b=(c&-16)!=65024?a&255:30;f=a>>>8|0;a=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if((c|0)<=8209){if((c|0)<=4099){if((c|0)==45|(c|0)==160){break c}if((c|0)!=215){break d}break c}switch(c-4100|0){case 70:case 71:break f;case 52:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 139:case 150:case 151:case 152:break g;case 95:case 96:case 101:case 102:case 103:case 104:case 105:break h;case 55:case 90:case 91:break i;case 57:case 126:break j;case 56:break k;case 92:break l;case 58:break m;case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:break n;case 54:break o;case 53:break p;case 46:case 50:break q;case 0:case 23:case 86:break r;case 74:break a;default:break d}}if((c|0)<=9722){a=c-8210|0;if(a>>>0>16|!(1<>>0>=4){break d}break c}a=16;break a}a=10;break a}a=4;break a}a=18;break a}a=32;break a}a=21;break a}a=33;break a}a=22;break a}a=23;break a}a=24;break a}a=25;break a}a=8;break a}a=31;break a}if((c|0)==9676){break c}}if((b|0)==7){break b}a=b;break a}a=11;break a}a=7;b=f-3|0;c=b&255;if(c>>>0>8|!(297>>>c&1)){break a}a=b<<24>>24<<2;f=F[a+139436>>2];a=F[a+139400>>2]}D[e+19|0]=f;D[e+18|0]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function Kn(a,b,c){var d=0;d=163632;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 1:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 2:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 3:if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a;case 4:f:{g:{h:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+6|0]|G[a+7|0]<<8;if(!b){break b}break a;case 5:i:{j:{k:{b=G[a|0]|G[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break b}}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}break a}b=G[a+2|0]|G[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=G[b+2|0]|G[b+3|0]<<8?b+4|0:163632;b=G[b|0]|G[b+1|0]<<8;if(!b){break b}break a;case 6:if((G[a|0]|G[a+1|0]<<8)==256){c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=G[a+2|0]|G[a+3|0]<<8;a=Kn(c,b,(a<<8|a>>>8)&65535)}else{a=163632}return a;case 7:break c;default:break b}}if((G[a|0]|G[a+1|0]<<8)!=256){break b}b=G[a+2|0]|G[a+3|0]<<8;if(!b){break b}d=((b<<8|b>>>8)&65535)+a|0}return d}return((b<<8|b>>>8)&65535)+a|0}function jc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{g:{c=G[a+4|0]|G[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}d=G[c|0]|G[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}d=G[c+2|0]|G[c+3|0]<<8;d=b-((d<<8|d>>>8)&65535)|0;e=(c+(d<<1)|0)+6|0;c=G[c+4|0]|G[c+5|0]<<8;c=d>>>0<((c<<8|c>>>8)&65535)>>>0?e:163632;break e}h=164024;d=G[c+2|0]|G[c+3|0]<<8;h:{if(!d){break h}d=((d<<8|d>>>8)&65535)-1|0;while(1){f=d+e>>>1|0;g=c+L(f,6)|0;i=g+4|0;i=G[i|0]|G[i+1|0]<<8;i:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){e=G[g+6|0]|G[g+7|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break i}h=(c+L(f,6)|0)+4|0;break h}d=f-1|0}if((d|0)>=(e|0)){continue}break}}c=h+4|0}c=G[c|0]|G[c+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}return 2}return 4}j=8;j:{k:{l:{c=G[a+10|0]|G[a+11|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}a=G[c|0]|G[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break k;case 0:break l;default:break a}}a=G[c+2|0]|G[c+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=G[c+4|0]|G[c+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(c+(a<<1)|0)+6|0:163632;break j}a=164024;d=G[c+2|0]|G[c+3|0]<<8;m:{if(!d){break m}d=((d<<8|d>>>8)&65535)-1|0;e=0;while(1){f=d+e>>>1|0;h=c+L(f,6)|0;g=h+4|0;g=G[g|0]|G[g+1|0]<<8;n:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=G[h+6|0]|G[h+7|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}a=(c+L(f,6)|0)+4|0;break m}d=f-1|0}if((d|0)>=(e|0)){continue}break}}a=a+4|0}a=G[a|0]|G[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function dk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{m=G[b+7|0]&254|G[b+6|0]<<8;b:{if(!m){break b}q=(d|0)!=0;f=q+F[c>>2]|0;if(f>>>0>65535){break b}p=F[a+508>>2]+F[a+512>>2]|0;h=m>>>1|0;r=h>>>0>1?h:1;s=h-1|0;l=b+14|0;h=(b+m|0)+16|0;c:{if(!d){while(1){b=G[h+1|0]|G[h|0]<<8;if(b>>>0>f>>>0){break c}d:{f=b>>>0>>0?f:b;g=G[l+1|0]|G[l|0]<<8;if(f>>>0>g>>>0){break d}j=(b|0)==65535&n>>>0>=s>>>0&(g|0)==65535;g=h+m|0;k=g+m|0;i=G[k|0]<<8|G[k+1|0];j=j&(i|0)!=0&(i+k|0)+2>>>0>p>>>0;i=j?0:i;if((i|0)==65535){break d}if(!i){break a}b=k+(i+(f-b<<1)|0)|0;b=G[b|0]<<8|G[b+1|0];if(!b){break c}b=b+(j?1:G[g+1|0]|G[g|0]<<8)&65535;e=b>>>0>2]?b:0;break c}h=h+2|0;l=l+2|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}break c}while(1){b=h;g=G[b|0]<<8|G[b+1|0];f=f>>>0>g>>>0?f:g;j=G[l+1|0]|G[l|0]<<8;t=(g|0)==65535&n>>>0>=s>>>0&(j|0)==65535;h=b+2|0;l=l+2|0;i=b+m|0;k=i+m|0;u=k+2|0;e:{while(1){if(f>>>0>j>>>0){break e}b=G[i|0]|G[i+1|0]<<8;e=G[k+1|0]|G[k|0]<<8;o=(e|0)!=0&t&e+u>>>0>p>>>0;b=o?1:(b<<8|b>>>8)<<16>>16;f:{g:{e=o?0:e;if(e){if((e|0)==65535){break e}e=k+(e+(f-g<<1)|0)|0;if(e>>>0>p>>>0&q){break e}e=G[e+1|0]|G[e|0]<<8;if(!e){b=f;break f}e=b+e&65535;if(e>>>0>2]){break g}b=f;break f}o=b+f|0;e=o&65535;if(e>>>0>2]){break g}e=b+j|0;if(!((e|0)<0|(o|0)>=0)){b=0-b|0;break f}if((e|0)<65536|(o|0)>65535){break e}b=65536-b|0;break f}b=f;if(e){break c}}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;f=b;break c}n=n+1|0;if((r|0)!=(n|0)){continue}break}e=0}if(!d){break b}F[c>>2]=f}return e}return(j?1:G[g+1|0]|G[g|0]<<8)+f&65535}function FB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=Ga-16|0;Ga=h;d=F[a+712>>2];F[h+12>>2]=0;a:{if(!d){break a}f=F[d+3092>>2];if(f){c=0}else{f=gb(F[a+100>>2],32,h+12|0);c=F[h+12>>2];if(c){break a}a=0;e=F[d+1372>>2];g=0;b:{if((e|0)==65535){break b}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=I[d+1356>>2]){break b}g=F[F[d+1360>>2]+(e<<2)>>2];break b}c=F[d+3084>>2];g=0;if(!c){break b}g=Ia[F[c+20>>2]](e)|0}F[f>>2]=g;c=F[d+1376>>2];c:{if((c|0)==65535){break c}if(c>>>0>=391){c=c-391|0;if(c>>>0>=I[d+1356>>2]){break c}a=F[F[d+1360>>2]+(c<<2)>>2];break c}e=F[d+3084>>2];if(!e){break c}a=Ia[F[e+20>>2]](c)|0}F[f+4>>2]=a;a=0;e=F[d+1384>>2];g=0;d:{if((e|0)==65535){break d}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=I[d+1356>>2]){break d}g=F[F[d+1360>>2]+(e<<2)>>2];break d}c=F[d+3084>>2];g=0;if(!c){break d}g=Ia[F[c+20>>2]](e)|0}F[f+8>>2]=g;c=F[d+1388>>2];e:{if((c|0)==65535){break e}if(c>>>0>=391){c=c-391|0;if(c>>>0>=I[d+1356>>2]){break e}a=F[F[d+1360>>2]+(c<<2)>>2];break e}e=F[d+3084>>2];if(!e){break e}a=Ia[F[e+20>>2]](c)|0}F[f+12>>2]=a;c=0;a=F[d+1392>>2];f:{if((a|0)==65535){break f}if(a>>>0>=391){a=a-391|0;if(a>>>0>=I[d+1356>>2]){break f}c=F[F[d+1360>>2]+(a<<2)>>2];break f}e=F[d+3084>>2];if(!e){break f}c=Ia[F[e+20>>2]](a)|0}F[f+16>>2]=c;F[f+20>>2]=F[d+1400>>2];D[f+24|0]=G[d+1396|0];E[f+26>>1]=F[d+1404>>2];E[f+28>>1]=F[d+1408>>2];F[d+3092>>2]=f;c=F[h+12>>2]}a=F[f+4>>2];F[b>>2]=F[f>>2];F[b+4>>2]=a;a=F[f+28>>2];F[b+24>>2]=F[f+24>>2];F[b+28>>2]=a;a=F[f+20>>2];F[b+16>>2]=F[f+16>>2];F[b+20>>2]=a;a=F[f+12>>2];F[b+8>>2]=F[f+8>>2];F[b+12>>2]=a}Ga=h+16|0;return c|0}function zt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ga-16|0;Ga=e;j=F[b+28>>2];F[a+368>>2]=b;c=Ia[F[a+516>>2]](a,1851878757,b,e+8|0)|0;a:{if(c){break a}k=F[b+8>>2];c=sb(b,95696,a+344|0);F[e+12>>2]=c;if(c){break a}c=145;g=k+6|0;d=F[a+348>>2];h=g+L(d,12)|0;i=F[e+8>>2]+k|0;if(h>>>0>i>>>0){break a}if(H[a+344>>1]==1){c=Za(b,h);F[e+12>>2]=c;if(c){break a}d=fb(b,e+12|0);F[a+360>>2]=d;c=F[e+12>>2];if(c){break a}l=a,m=Va(j,12,0,d,0,e+12|0),F[l+364>>2]=m;c=F[e+12>>2];if(c){break a}c=tb(b,F[a+360>>2]<<2);F[e+12>>2]=c;if(c){break a}h=((d<<2)+h|0)+2|0;c=F[a+364>>2];b:{if(!c){break b}d=F[a+360>>2];if((d|0)<=0){break b}d=L(d,12)+c|0;while(1){l=e,m=sb(b,95756,c),F[l+12>>2]=m;f=F[c+4>>2]+(F[a+352>>2]+k|0)|0;F[c+4>>2]=f;if(!(h>>>0<=f>>>0&f+H[c>>1]>>>0<=i>>>0)){E[c>>1]=0}c=c+12|0;if(d>>>0>c>>>0){continue}break}}lb(b);l=e,m=Za(b,g),F[l+12>>2]=m;d=F[a+348>>2]}l=a,m=Va(j,20,0,d,0,e+12|0),F[l+356>>2]=m;c=F[e+12>>2];if(c){break a}c=tb(b,L(F[a+348>>2],12));F[e+12>>2]=c;if(c){break a}d=F[a+356>>2];f=F[a+348>>2];c:{if(!f){c=d;i=0;break c}c=d;while(1){d=sb(b,95728,c);F[e+12>>2]=d;d:{if(d){break d}d=H[c+8>>1];if(!d){break d}g=F[c+12>>2]+(F[a+352>>2]+k|0)|0;F[c+12>>2]=g;if(h>>>0>g>>>0|d+g>>>0>i>>>0){break d}e:{if(H[a+344>>1]!=1){break e}d=E[c+4>>1];if((d|0)>=0){break e}d=(d&65535)-32768|0;if(d>>>0>=I[a+360>>2]|!H[F[a+364>>2]+L(d,12)>>1]){break d}}c=c+20|0}f=f-1|0;if(f){continue}break}d=F[a+356>>2];i=F[a+348>>2]}c=(c-d|0)/20|0;j=Va(j,20,i,c,d,e+12|0);F[a+348>>2]=c;F[a+356>>2]=j;lb(b);E[a+340>>1]=F[a+348>>2];c=F[e+12>>2]}Ga=e+16|0;return c|0}function Il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ga-32|0;Ga=h;g=F[b+72>>2];a:{if((g|0)==1651078259){break a}b:{c:{if(!(G[F[b+156>>2]+42|0]&16)){break c}d=F[b+4>>2];f=F[b+12>>2];F[h+24>>2]=0;if(!(G[d+8|0]&8)|(!d|f>>>0>=I[d+16>>2])){break c}e=F[F[d+540>>2]+132>>2];if(!e){break c}if(!(Ia[e|0](d,f,h+12|0,h+8|0,h+16|0)|0)){g=F[b+72>>2];break c}if(!Lg(d,0)){e=F[d+540>>2];d:{while(1){g=Kc(d,F[h+12>>2],F[F[b+156>>2]+40>>2]&-1048581|4);if(g){break d}g=Ia[F[e+136>>2]](d,F[h+8>>2],b,F[d+84>>2])|0;if(g){break d}e:{if(!(G[d+8|0]&8)|f>>>0>=I[d+16>>2]){break e}g=F[F[d+540>>2]+132>>2];if(!g){break e}if(Ia[g|0](d,f,h+12|0,h+8|0,h+16|0)|0){continue}}break}F[b+72>>2]=1651078259;g=0}i=F[d+84>>2];f:{if(!i){break f}j=F[i+4>>2];e=F[j+84>>2];if(!e){break f}k=F[F[j+96>>2]+8>>2];g:{if((e|0)==(i|0)){d=0;break g}while(1){f=F[e+8>>2];if(!f){break f}d=e;e=f;if((i|0)!=(e|0)){continue}break}}F[(d?d+8|0:j+84|0)>>2]=F[i+8>>2];d=F[i+20>>2];if(d){Ia[d|0](i)}cf(i);Ia[F[k+8>>2]](k,i)}if(!g){break b}}g=1869968492;F[b+72>>2]=1869968492}h:{if((g|0)!=1869968492){d=7;if(!a){break a}e=F[a+148>>2];if(!e){break a}while(1){f=F[e+8>>2];if(F[f+16>>2]==(g|0)){break h}e=F[e+4>>2];if(e){continue}break}break a}f=F[a+156>>2];if(!f){d=7;break a}e=F[a+148>>2]}d=0;f=Ia[F[f+60>>2]](f,b,c,0)|0;if(!f){break a}g=a+148|0;while(1){if((f&255)!=19){d=f;break a}e=F[(e?e+4|0:g)>>2];if(!e){d=f;break a}d=F[b+72>>2];i:{while(1){a=F[e+8>>2];if((d|0)==F[a+16>>2]){break i}e=F[e+4>>2];if(e){continue}break}d=f;break a}d=0;f=Ia[F[a+60>>2]](a,b,c,0)|0;if(f){continue}break}break a}d=0}Ga=h+32|0;return d}function rc(a,b,c,d){var e=0,f=0;F[a+24>>2]=0;F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+72>>2]=0;F[a+76>>2]=0;e=a- -64|0;F[e>>2]=0;F[e+4>>2]=0;F[a>>2]=0;F[a+4>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+92>>2]=c;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;F[a+56>>2]=0;F[a+60>>2]=0;F[a+80>>2]=0;F[a+84>>2]=0;F[a+88>>2]=0;F[a+28>>2]=0;F[a+20>>2]=-1;F[a+72>>2]=0;F[e>>2]=-1;e=F[c+16>>2];F[a+104>>2]=0;F[a+100>>2]=d;F[a+96>>2]=e;c=F[e+140>>2];a:{if(c){break a}while(1){f=F[e+48>>2];if(!f){c=163632;break a}b:{c:{c=ib(1,4);if(c){ej(c,f);f=F[e+140>>2];F[e+140>>2]=f?f:c;if(!f){break a}f=F[c>>2];F[61902]=0;_(579,f|0);f=F[61902];F[61902]=0;if((f|0)==1){break c}Ta(c);break b}c=163632;f=F[e+140>>2];F[e+140>>2]=f?f:163632;if(f){break b}break a}ca(0)|0;Y()|0;Hb();V()}c=F[e+140>>2];if(!c){continue}break}}c=F[c>>2];c=c?c:163632;c=I[c+16>>2]<12?163632:F[c+12>>2];F[a+108>>2]=c;e=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>=65539){e=G[c+14|0]|G[c+15|0]<<8|(G[c+16|0]<<16|G[c+17|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=e?e+c|0:163632}else{e=163632}F[a+112>>2]=e;d=F[d+40>>2];F[a+136>>2]=6;F[a+128>>2]=-1;F[a+132>>2]=0;F[a+124>>2]=b;F[a+120>>2]=1;F[a+116>>2]=d;c=G[c+4|0]|G[c+5|0]<<8;F[a+56>>2]=0;F[a+64>>2]=-1;E[a+60>>1]=257;F[a+72>>2]=0;F[a+76>>2]=0;F[a+12>>2]=0;D[a+16|0]=(b|0)==1;D[a+17|0]=1;F[a+20>>2]=1;F[a+52>>2]=a;F[a+80>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;F[a+8>>2]=a;F[a+36>>2]=0;D[a+143|0]=0;F[a+144>>2]=1;D[a+141|0]=1;D[a+142|0]=1;D[a+140|0]=(c|0)!=0;return a}function vn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=F[b+4>>2];if(h>>>0>a>>>0){return 0}d=F[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}i=F[b+12>>2];f=i-2|0;F[b+12>>2]=f;e=1;if((f|0)<=0){return 0}f=G[a|0]|G[a+1|0]<<8;a:{if(!f){break a}b:{f=((f<<8|f>>>8)&65535)+c|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break b}c=i-4|0;F[b+12>>2]=c;if((c|0)<=0){break b}i=G[f|0]|G[f+1|0]<<8;if(!i){break a}e=f+2|0;if(e>>>0>>0|d>>>0>>0){break b}g=d-e|0;d=(i<<8|i>>>8)&65535;e=d<<1;if(g>>>0>>0){break b}c=c-e|0;F[b+12>>2]=c;if((c|0)<=0){break b}l=d>>>0>1?d:1;i=0;while(1){k=F[b+4>>2];h=(f+(i<<1)|0)+2|0;c=0;c:{if(k>>>0>h>>>0){break c}e=F[b+8>>2];c=0;if(e>>>0>>0){break c}c=0;if(e-h>>>0<2){break c}j=F[b+12>>2];g=j-2|0;F[b+12>>2]=g;d=1;c=0;if((g|0)<=0){break c}c=G[h|0]|G[h+1|0]<<8;d:{if(!c){break d}c=f+((c<<8|c>>>8)&65535)|0;e:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break e}d=j-4|0;F[b+12>>2]=d;if((d|0)<=0){break e}d=c+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break e}j=j-6|0;F[b+12>>2]=j;d=1;if((j|0)<=0){break e}g=G[c+2|0]|G[c+3|0]<<8;m=((g<<8|g>>>8)&65535)<<2;g=G[c|0]|G[c+1|0]<<8;g=m+(g?(((g<<8|g>>>8)&65535)<<1)-2|0:0)|0;if(!g){break d}c=c+4|0;if(c>>>0>>0|c>>>0>e>>>0|g>>>0>e-c>>>0){break e}c=j-g|0;F[b+12>>2]=c;if((c|0)>0){break d}}d=F[b+28>>2];c=0;if(d>>>0>31){break c}F[b+28>>2]=d+1;d=0;if(!G[b+24|0]){break d}D[h|0]=0;D[h+1|0]=0;d=1}c=d}if(!c){break b}e=1;i=i+1|0;if((l|0)!=(i|0)){continue}break}break a}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;e=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;e=1}return e}function rk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ga+-64|0;Ga=i;g=F[a>>2];a:{if((g|0)<=0){break a}e=F[a+24>>2];d=L(b,204);k=F[a+16>>2];c=F[a+8>>2];l=c+L(g,40)|0;b=0;a=c;while(1){b=(F[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(l>>>0>a>>>0){continue}break}if(!b){break a}n=F[(e+d|0)+200>>2];b:{if(b>>>0<=16){e=i;break b}e=Va(k,4,0,b,0,i);if(F[i>>2]){break a}}c:{if((g|0)<=0){break c}d=c;while(1){if(G[d+16|0]&16){a=(f<<2)+e|0;d:{if((f|0)<=0){b=a;break d}m=F[d+28>>2];while(1){b=a-4|0;j=F[b>>2];if((m|0)>=F[j+28>>2]){b=a;break d}F[a>>2]=j;a=b;if(e>>>0>>0){continue}break}}F[b>>2]=d;f=f+1|0}d=d+40|0;if(l>>>0>d>>>0){continue}break}if((g|0)<=0){break c}m=((f<<2)+e|0)-4|0;while(1){b=F[c+16>>2];e:{if(b&16){break e}a=F[c+12>>2];if(a&2){d=G[c+20|0];if(!(b&64|a&4)|((d|0)==4|(d|0)!=G[c+21|0])){break e}F[c+12>>2]=a&-3}f:{g:{if(f){b=F[c+28>>2];a=0;h:{while(1){if((b|0)>2]+28>>2]){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break g}}a=F[e>>2];h=F[a+36>>2]+Ua(F[c+28>>2]-F[a+28>>2]|0,n)|0;break f}d=F[((a<<2)+e|0)-4>>2];b=f;while(1){a=b;if(a){b=a-1|0;if(F[F[(b<<2)+e>>2]+28>>2]>=F[c+28>>2]){continue}}break}if((a|0)==(f|0)){a=F[m>>2];h=F[a+36>>2]+Ua(F[c+28>>2]-F[a+28>>2]|0,n)|0;break f}b=F[c+28>>2];g=F[d+28>>2];h=F[d+36>>2];if((b|0)==(g|0)){break f}a=F[(a<<2)+e>>2];j=F[a+28>>2];if((j|0)==(b|0)){h=F[a+36>>2];break f}h=F[a+36>>2];a=F[d+36>>2];h=bb(b-g|0,h-a|0,j-g|0)+a|0}F[c+36>>2]=h;F[c+16>>2]=F[c+16>>2]|32}c=c+40|0;if(l>>>0>c>>>0){continue}break}}if((e|0)==(i|0)){break a}if(e){Ia[F[k+8>>2]](k,e)}}Ga=i- -64|0}function BB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=163632;c=163632;d=F[F[F[a+96>>2]+144>>2]>>2];d=d?d:163632;d=I[d+16>>2]<10?163632:F[d+12>>2];f=G[d+8|0]|G[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=G[c|0]|G[c+1|0]<<8;a:{if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=(b<<1)+c|0;d=G[d+2|0]|G[d+3|0]<<8;if(!d){break a}e=((d<<8|d>>>8)&65535)+c|0}j=F[a+128>>2];F[a+128>>2]=b;b=G[e+2|0]|G[e+3|0]<<8;b=b<<8|b>>>8;c=b&65535;d=F[a+132>>2];if(b&16){b=G[e+4|0]|G[e+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+e|0;b=G[b+6|0]|G[b+7|0]<<8;c=(b<<8|b>>>8)<<16|c}F[a+132>>2]=c;F[a+36>>2]=0;F[a+8>>2]=a;F[a+28>>2]=0;F[a+32>>2]=0;F[a+12>>2]=c;F[a+80>>2]=0;F[a+52>>2]=a;f=F[a+120>>2];F[a+20>>2]=f;g=G[a+142|0];D[a+17|0]=g;F[a+72>>2]=0;F[a+76>>2]=0;F[a+56>>2]=c;F[a- -64>>2]=-1;D[a+61|0]=1;c=F[a+124>>2];b=(c|0)==1;D[a+16|0]=b;h=G[a+141|0];D[a+60|0]=b|(h|0)!=0;b=G[e+4|0]|G[e+5|0]<<8;if(b){c=G[e|0]|G[e+1|0]<<8;h=(c<<8|c>>>8)&65535;g=(b<<8|b>>>8)&65535;k=g>>>0>1?g:1;f=e+4|0;c=0;i=1;while(1){b:{b=((b<<8|(b&65280)>>>8)&65535)>>>0>c>>>0?(f+(c<<1)|0)+2|0:163632;b=G[b|0]|G[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=163632}if(Qm(b,a,h)){break b}c=c+1|0;i=g>>>0>c>>>0;if((c|0)==(k|0)){break b}b=G[f|0]|G[f+1|0]<<8;continue}break}h=G[a+141|0];f=F[a+120>>2];g=G[a+142|0];c=F[a+124>>2]}F[a+132>>2]=d;F[a+128>>2]=j;F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;F[a+80>>2]=0;F[a+20>>2]=f;D[a+17|0]=g;F[a+12>>2]=d;F[a+72>>2]=0;F[a+76>>2]=0;F[a+64>>2]=-1;D[a+61|0]=1;F[a+56>>2]=d;b=(c|0)==1;D[a+16|0]=b;D[a+60|0]=b|(h|0)!=0;F[a+8>>2]=a;F[a+52>>2]=a;return i|0}function AB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=163632;c=163632;d=F[F[F[a+96>>2]+148>>2]>>2];d=d?d:163632;d=I[d+16>>2]<10?163632:F[d+12>>2];f=G[d+8|0]|G[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=G[c|0]|G[c+1|0]<<8;a:{if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=(b<<1)+c|0;d=G[d+2|0]|G[d+3|0]<<8;if(!d){break a}e=((d<<8|d>>>8)&65535)+c|0}j=F[a+128>>2];F[a+128>>2]=b;b=G[e+2|0]|G[e+3|0]<<8;b=b<<8|b>>>8;c=b&65535;d=F[a+132>>2];if(b&16){b=G[e+4|0]|G[e+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+e|0;b=G[b+6|0]|G[b+7|0]<<8;c=(b<<8|b>>>8)<<16|c}F[a+132>>2]=c;F[a+36>>2]=0;F[a+8>>2]=a;F[a+28>>2]=0;F[a+32>>2]=0;F[a+12>>2]=c;F[a+80>>2]=0;F[a+52>>2]=a;f=F[a+120>>2];F[a+20>>2]=f;g=G[a+142|0];D[a+17|0]=g;F[a+72>>2]=0;F[a+76>>2]=0;F[a+56>>2]=c;F[a- -64>>2]=-1;D[a+61|0]=1;c=F[a+124>>2];b=(c|0)==1;D[a+16|0]=b;h=G[a+141|0];D[a+60|0]=b|(h|0)!=0;b=G[e+4|0]|G[e+5|0]<<8;if(b){c=G[e|0]|G[e+1|0]<<8;h=(c<<8|c>>>8)&65535;g=(b<<8|b>>>8)&65535;k=g>>>0>1?g:1;f=e+4|0;c=0;i=1;while(1){b:{b=((b<<8|(b&65280)>>>8)&65535)>>>0>c>>>0?(f+(c<<1)|0)+2|0:163632;b=G[b|0]|G[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=163632}if(Nm(b,a,h)){break b}c=c+1|0;i=g>>>0>c>>>0;if((c|0)==(k|0)){break b}b=G[f|0]|G[f+1|0]<<8;continue}break}h=G[a+141|0];f=F[a+120>>2];g=G[a+142|0];c=F[a+124>>2]}F[a+132>>2]=d;F[a+128>>2]=j;F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;F[a+80>>2]=0;F[a+20>>2]=f;D[a+17|0]=g;F[a+12>>2]=d;F[a+72>>2]=0;F[a+76>>2]=0;F[a+64>>2]=-1;D[a+61|0]=1;F[a+56>>2]=d;b=(c|0)==1;D[a+16|0]=b;D[a+60|0]=b|(h|0)!=0;F[a+8>>2]=a;F[a+52>>2]=a;return i|0}function vj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Ga-16|0;Ga=e;d=F[a+104>>2];f=F[d+28>>2];k=F[a+736>>2];D[k+(b?44:32)|0]=1;c=Ia[F[a+516>>2]](a,b?1448493394:1213612370,d,e+8|0)|0;F[e+12>>2]=c;a:{if(c){break a}g=F[d+8>>2];i=fb(d,e+12|0);c=F[e+12>>2];if(c){break a}c=Fb(d,2);F[e+12>>2]=c;if(c){break a}if((i|0)!=1){c=8;F[e+12>>2]=8;break a}i=Bb(d,e+12|0);c=F[e+12>>2];if(c){break a}h=Bb(d,e+12|0);c=F[e+12>>2];if(c){break a}f=gb(f,32,e+12|0);b:{if(b){F[k+52>>2]=f;break b}F[k+40>>2]=f}c=F[e+12>>2];if(c){break a}c=yj(F[a+104>>2],F[a+736>>2],g+i|0,f);F[e+12>>2]=c;if(c){break a}if(h){d=Ga-16|0;Ga=d;i=F[a+104>>2];j=F[i+28>>2];c=Za(i,g+h|0);F[d+12>>2]=c;c:{if(c){break c}g=fb(i,d+12|0);c=F[d+12>>2];if(c){break c}h=fb(i,d+12|0);F[f+20>>2]=h;c=F[d+12>>2];if(c){break c}d:{if(g&65472){break d}p=f,q=Va(j,4,0,h,0,d+12|0),F[p+28>>2]=q;c=F[d+12>>2];if(c){break c}p=f,q=Va(j,4,0,F[f+20>>2],0,d+12|0),F[p+24>>2]=q;c=F[d+12>>2];if(c){break c}if(!F[f+20>>2]){c=0;break c}c=g&15;m=c+1|0;n=g>>>4&3;o=(2<>2];if(c){break c}g=l&255|g<<8;c=(j|0)!=(n|0);j=j+1|0;if(c){continue}break}c=g>>>m|0;if(c>>>0>=I[f>>2]){break d}j=h<<2;F[j+F[f+24>>2]>>2]=c;l=F[F[f+4>>2]+(c<<4)>>2];c=g&o;if(l>>>0<=c>>>0){break d}F[j+F[f+28>>2]>>2]=c;h=h+1|0;if(h>>>0>2]){continue}break}c=F[d+12>>2];break c}c=8;F[d+12>>2]=8}Ga=d+16|0;if(c){break a}}c=0;F[e+12>>2]=0;if(b){D[k+45|0]=1;F[a+740>>2]=F[a+740>>2]|16;break a}D[k+33|0]=1;F[a+740>>2]=F[a+740>>2]|2}Ga=e+16|0;return c}function me(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!(G[(L(c,9804)+b|0)+256|0]|!(a&4))){h=d>>31;h=(h^d)-h|0;a:{b:{c:{if((c|0)==1){if(a&2){break c}if(!(g&2)|h>>>0>=192){break b}f=h;break a}if(!(a&1)){break b}}d:{e:{f:{g:{h:{e=F[(L(c,9804)+b|0)+52>>2];if(e){q=e&1;if((e|0)!=1){break h}g=98;f=0;e=h;break g}f=h+32&2147483584;e=h;break f}r=e&-2;g=98;f=0;i=(L(c,9804)+b|0)+56|0;e=h;while(1){n=F[(L(f|1,12)+i|0)+4>>2];j=h-n|0;k=j>>31;o=F[(L(f,12)+i|0)+4>>2];l=h-o|0;m=l>>31;l=(m^l)-m|0;m=(l|0)<(g|0);j=(k^j)-k|0;g=m?l:g;k=(j|0)<(g|0);g=k?j:g;e=k?n:m?o:e;f=f+2|0;p=p+2|0;if((r|0)!=(p|0)){continue}break}}if(q){f=F[((L(c,9804)+b|0)+L(f,12)|0)+60>>2];i=h-f|0;b=i>>31;e=((b^i)-b|0)<(g|0)?f:e}f=e+32&-64;if((e|0)>(h|0)){break e}}b=(h|0)<(f|48)?e:h;break d}b=(h|0)>(f-48|0)?e:h}if((c|0)==1){f=64;if((b|0)<64){break a}f=b+16&-64;break a}if(a&8){f=64;if((b|0)<64){break a}f=b+32&-64;break a}if((b|0)<=47){f=b- -64>>1;break a}if(b>>>0<=127){f=b+22&-64;b=f-h|0;a=b>>31;if((a^b)-a>>>0<16){break a}if(h>>>0>47){f=h;break a}f=h- -64>>>1|0;break a}f=b+32&-64;break a}f=f&1?h>>>0<80?64:h:h>>>0>56?h:56;a=L(c,9804)+b|0;if(!F[a+52>>2]){break a}a=F[a+60>>2];g=f-a|0;c=g>>31;if((c^g)-c>>>0<=39){f=(a|0)>48?a:48;break a}if(f>>>0<=191){a=f&63;if(a>>>0<10){break a}b=f&2147483584;if(a>>>0<=31){f=b|10;break a}f=a>>>0<54?b|54:f;break a}g=0;i:{if(!((d|0)>0&(e|0)>0)&(d&e)>=0){break i}a=H[F[F[b+4>>2]+88>>2]+12>>1];if(a>>>0>=10){if(a>>>0>29){break i}e=(L(30-a|0,e)|0)/20|0}a=e>>31;g=a-(a^e)|0}f=(f+g|0)+32&-64}d=(d|0)<0?0-f|0:f}return d}function to(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=F[c>>2];e=F[a>>2];a:{if(d>>>0>e>>>0){break a}f=F[c+4>>2];if(e>>>0>=f+d>>>0){break a}d=e+1|0;F[a>>2]=d;h=G[e|0];if(h&128){g=F[c>>2];if(g>>>0>d>>>0|d>>>0>=f+g>>>0){break a}F[a>>2]=e+2;h=G[e+1|0]|h<<8&32512}e=F[b>>2];b:{if((e|0)<0){break b}if(e>>>0>>0){f=e;while(1){f=((f>>>1|0)+f|0)+8|0;if(h>>>0>=f>>>0){continue}break}c:{if(!(e>>>0>f>>>0|f>>>0>1073741822)){e=ob(F[b+8>>2],f<<2);if(e){break c}}F[b>>2]=-1;break b}F[b>>2]=f;F[b+8>>2]=e}e=F[b+4>>2];if(e>>>0>>0){Wa(F[b+8>>2]+(e<<2)|0,0,h-e<<2)}F[b+4>>2]=h}m=F[40908];f=0;while(1){i=f&65535;k=i>>>0>=h>>>0;if(k){break a}d=F[c>>2];e=F[a>>2];if(d>>>0>e>>>0|e>>>0>=d+F[c+4>>2]>>>0){break a}g=e+1|0;F[a>>2]=g;e=D[e|0];l=e&127;d:{e:{if((e|0)<0){e=0;while(1){d=F[c>>2];if(d>>>0>g>>>0){break e}d=d+F[c+4>>2]|0;if(d>>>0>>0|d-g>>>0<2){break e}d=G[g|0]|G[g+1|0]<<8;j=((d<<8|d>>>8)&65535)+j|0;f:{if(I[b+4>>2]<=i>>>0){F[61608]=m;g=F[a>>2];d=246432;break f}d=F[b+8>>2]+(i<<2)|0}F[d>>2]=j;g=g+2|0;F[a>>2]=g;d=e+1|0;f=f+1|0;if((e&65535)>>>0>=l>>>0){break d}e=d;i=f&65535;if(i>>>0>>0){continue}break}break d}e=0;d=F[c>>2];if(g>>>0>>0){break e}while(1){if(F[c+4>>2]+d>>>0<=g>>>0){break e}F[a>>2]=g+1;j=G[g|0]+j|0;g:{if(I[b+4>>2]<=i>>>0){F[61608]=m;d=246432;break g}d=F[b+8>>2]+(i<<2)|0}F[d>>2]=j;d=e+1|0;f=f+1|0;if((e&65535)>>>0>=l>>>0){break d}i=f&65535;if(i>>>0>=h>>>0){break d}e=d;d=F[c>>2];g=F[a>>2];if(d>>>0<=g>>>0){continue}break}}k=0;break a}if((d&65535)>>>0>l>>>0){continue}break}}return k|0}function mn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{d=G[a|0]|G[a+1|0]<<8;f=d<<8|d>>>8;switch(f&65535){case 1:break c;case 0:break e;default:break d}}a=F[b+100>>2];d=F[a+80>>2];c=F[a+64>>2];e=F[(d+L(c,20)|0)+8>>2];f=c+1|0;f:{g:{h:{if(f>>>0>2]){if((e|0)==F[(d+L(f,20)|0)+8>>2]){break g}b=F[a+72>>2];if(b){break h}Kb(a,c,c+2|0);F[a+64>>2]=F[a+64>>2]+1;break f}b=F[a+72>>2];if(!b){break g}}h=F[a+84>>2];i=F[(h+L(b,20)|0)-12>>2];if(i>>>0<=e>>>0){break g}d=F[(d+L(c,20)|0)+4>>2]&3;while(1){b=b-1|0;c=h+L(b,20)|0;if((i|0)!=F[c+8>>2]){break g}F[c+4>>2]=d|F[c+4>>2]&-4;F[c+8>>2]=e;if(b){continue}break}}F[a+64>>2]=f}return 1}c=F[b+100>>2];e=F[c+64>>2];if(!d){break a}c=F[c+80>>2]+L(e,20)|0;h=H[c+12>>1]>>>1&2;j=f&65535;k=G[c+14|0]>31;f=0;while(1){if(!k){c=F[b+100>>2];D[(F[c+80>>2]+L(F[c+64>>2],20)|0)+14|0]=f&15}c=(f<<1)+a|0;c=G[c+2|0]|G[c+3|0]<<8;i=(c<<8|c>>>8)&65535;c=F[b+100>>2];d=F[c+80>>2]+L(F[c+64>>2],20)|0;c=H[d+12>>1]|80;i:{if(G[b+140|0]){c=jc(F[b+108>>2],i)|c&112;break i}if(!h){break i}c=h|c&112}E[d+12>>1]=c;d=F[b+100>>2];if($a(d,0,1)){c=F[d+64>>2];j:{if(c>>>0>2]){e=F[d+72>>2];g=F[d+84>>2];c=F[d+80>>2]+L(c,20)|0;break j}g=F[d+84>>2];e=F[d+72>>2];c=g+L(e?e-1|0:0,20)|0}e=L(e,20)+g|0;g=F[c+4>>2];F[e>>2]=F[c>>2];F[e+4>>2]=g;F[e+16>>2]=F[c+16>>2];g=F[c+12>>2];F[e+8>>2]=F[c+8>>2];F[e+12>>2]=g;F[e>>2]=i;F[d+72>>2]=F[d+72>>2]+1}f=f+1|0;if((j|0)!=(f|0)){continue}break}break b}a=G[a+2|0]|G[a+3|0]<<8;nn(b,(a<<8|a>>>8)&65535);return 1}c=F[b+100>>2];e=F[c+64>>2]}F[c+64>>2]=e+1;return 1}function gc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b|F[b+16>>2]>131082){break a}e=F[a+16>>2];if(e){c=F[b+8>>2];b:{while(1){f=F[((d<<2)+a|0)+20>>2];g=F[f>>2];if(ab(F[g+8>>2],c)){d=d+1|0;if((d|0)!=(e|0)){continue}break b}break}if(F[b+12>>2]<=F[g+12>>2]){break a}if(a){Ml(a,f)}e=F[a+16>>2]}if(e>>>0>31){break a}}e=0;g=F[a>>2];c=F[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}e=Ia[F[g+4>>2]](g,c)|0;if(!e){return}Wa(e,0,c)}F[e+8>>2]=g;F[e+4>>2]=a;F[e>>2]=b;d:{c=b;d=F[c>>2];if(d&2){c=64;f=F[e+4>>2];h=F[f>>2];d=Ia[F[h+4>>2]](h,12)|0;e:{if(!d){break e}D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0;D[d+4|0]=0;D[d+5|0]=0;D[d+6|0]=0;D[d+7|0]=0;D[d+8|0]=0;D[d+9|0]=0;D[d+10|0]=0;D[d+11|0]=0;i=F[e>>2];F[e+12>>2]=i;c=F[i+36>>2];F[e+16>>2]=c;f:{g:{h:{if((c|0)!=1869968492){break h}c=F[F[i+56>>2]+4>>2];if(!c){break h}c=Ia[c|0](h,e+52|0)|0;if(c){break g}F[e+56>>2]=F[F[i+56>>2]+16>>2];F[e+60>>2]=F[i+40>>2]}F[d+8>>2]=e;c=F[f+152>>2];F[d>>2]=c;F[d+4>>2]=0;F[(c?c+4|0:f+148|0)>>2]=d;F[f+152>>2]=d;c=F[f+148>>2];if(!c){break f}i:{while(1){d=F[c+8>>2];if(F[d+16>>2]==1869968492){break i}c=F[c+4>>2];if(c){continue}break}d=0}F[f+156>>2]=d;c=0;break e}Ia[F[h+8>>2]](h,d);break e}F[f+156>>2]=0;c=0}if(c){break d}c=F[e>>2];d=F[c>>2]}if(d&4){F[a+160>>2]=e}if(d&1){F[e+12>>2]=c}b=F[b+24>>2];if(b){if(Ia[b|0](e)|0){break d}}b=F[a+16>>2];F[a+16>>2]=b+1;F[((b<<2)+a|0)+20>>2]=e;return}j:{if(!(G[F[e>>2]]&2)){break j}a=F[e+12>>2];if(!a|F[a+36>>2]!=1869968492){break j}b=F[e+52>>2];if(!b){break j}Ia[F[F[a+56>>2]+20>>2]](b)}Ia[F[g+8>>2]](g,e)}}function Bf(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=F[b+4>>2];if(g>>>0>a>>>0){return 0}d=F[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=F[b+12>>2];e=f-2|0;F[b+12>>2]=e;h=1;if((e|0)<=0){return 0}e=G[a|0]|G[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;F[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=G[e|0]|G[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;F[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{c=F[b+4>>2];if(c>>>0>e>>>0){break g}d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=F[b+12>>2];g=f-10|0;F[b+12>>2]=g;if((g|0)<=0){break g}g=c;c=e+6|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;F[b+12>>2]=d;if((d|0)<=0){break g}d=G[c|0]|G[c+1|0]<<8;h:{if(!d){break h}if(qd(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=F[b+28>>2];if(d>>>0>31){break g}F[b+28>>2]=d+1;if(!G[b+24|0]){break g}D[c|0]=0;D[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=F[b+12>>2]-2|0;F[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=G[d|0]|G[d+1|0]<<8;i:{if(!f){break i}if(qd(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=F[b+28>>2];if(c>>>0>31){break g}F[b+28>>2]=c+1;c=0;if(!G[b+24|0]){break i}D[d|0]=0;D[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;F[b+12>>2]=c;if((c|0)>0){break a}}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;h=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;h=1}return h}function Eo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=163632;e=F[a+4>>2];i=e?e:163632;e=G[i+6|0]|G[i+7|0]<<8|(G[i+8|0]<<16|G[i+9|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if((e|0)<=0){break a}e=e-1|0;while(1){b:{f=e+j>>>1|0;h=i+L(f,11)|0;h=G[h+11|0]<<8|G[h+10|0]<<16|G[h+12|0];c:{if(h>>>0>c>>>0){e=f-1|0;break c}if((c|0)==(h|0)){break b}j=f+1|0}if((e|0)>=(j|0)){continue}break a}break}g=(i+L(f,11)|0)+10|0}c=0;d:{e:{f:{e=0;j=163632;f=G[g+3|0]|G[g+4|0]<<8|(G[g+5|0]<<16|G[g+6|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);l=f?f+i|0:163632;f=l;f=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g:{if((f|0)>0){f=f-1|0;while(1){k=e+f>>>1|0;h=(k<<2)+l|0;m=G[h+5|0]<<8|G[h+4|0]<<16|G[h+6|0];h:{if(m>>>0>b>>>0){f=k-1|0;break h}e=2;if(G[h+7|0]+m>>>0>=b>>>0){break g}e=k+1|0}if((e|0)<=(f|0)){continue}break}}e=G[g+7|0]|G[g+8|0]<<8|(G[g+9|0]<<16|G[g+10|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);g=e?e+i|0:163632;e=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i:{if((e|0)<=0){break i}f=e-1|0;e=0;while(1){j:{i=e+f>>>1|0;h=g+L(i,5)|0;h=G[h+5|0]<<8|G[h+4|0]<<16|G[h+6|0];k:{if(h>>>0>b>>>0){f=i-1|0;break k}if((b|0)==(h|0)){break j}e=i+1|0}if((e|0)<=(f|0)){continue}break i}break}j=(g+L(i,5)|0)+4|0}g=G[j+3|0]|G[j+4|0]<<8;e=0;if(!g){break g}F[d>>2]=(g<<8|g>>>8)&65535;e=1}switch(e|0){case 0:break d;case 1:break f;default:break e}}return 1}e=F[a+8>>2];if(!e){break d}c=Ia[e|0](F[a+12>>2],b,d)|0}return c}function Dn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(I[b+4>>2]>a>>>0){return 0}e=F[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}e=F[b+12>>2]-2|0;F[b+12>>2]=e;i=1;if((e|0)<=0){return 0}e=G[a|0]|G[a+1|0]<<8;a:{if(!e){break a}c=((e<<8|e>>>8)&65535)+c|0;b:{c:{d=F[d>>2];if((d|0)==1936292453){if(c>>>0>2]){break c}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<10){break c}d=F[b+12>>2]-10|0;F[b+12>>2]=d;if((d|0)<=0){break c}g=G[c|0]|G[c+1|0]<<8;if(!g){break c}e=G[c+8|0]|G[c+9|0]<<8;h=G[c+6|0]|G[c+7|0]<<8;f=G[c+4|0]|G[c+5|0]<<8;if(!(h|(f|(G[c+2|0]|G[c+3|0]<<8)))){d=1;if(!e){break b}}c=(g<<8|g>>>8)&65535;if(c>>>0<((h<<8|(h&65280)>>>8)&65535)>>>0){break c}d=0;if(c>>>0>((e<<8|(e&65280)>>>8)&65535)>>>0){break b}d=(f<<8|(f&65280)>>>8)<<16>>16>255;break b}e=d&-65536;if((e|0)!=1668677632){d=1;if((e|0)!=1936916480){break b}d=0;if(c>>>0>2]){break b}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break b}c=F[b+12>>2]-4|0;F[b+12>>2]=c;d=(c|0)>0;break b}d=0;h=F[b+4>>2];if(h>>>0>c>>>0){break b}e=F[b+8>>2];if(e>>>0>>0|e-c>>>0<14){break b}g=F[b+12>>2];f=g-14|0;F[b+12>>2]=f;if((f|0)<=0){break b}f=c+12|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break b}f=g-16|0;F[b+12>>2]=f;if((f|0)<=0){break b}g=G[c+12|0]|G[c+13|0]<<8;if(g){c=c+14|0;if(c>>>0>>0|c>>>0>e>>>0){break b}e=e-c|0;c=L((g<<8|g>>>8)&65535,3);if(e>>>0>>0){break b}c=f-c|0;F[b+12>>2]=c;if((c|0)<=0){break b}}d=1;break b}d=0}if(d){break a}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;i=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;i=1}return i}function Dr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Ga-80|0;Ga=g;i=F[a+532>>2];a:{if(!i){a=6;break a}h=F[a+100>>2];j=F[i+4>>2];F[g+24>>2]=j;if(j){a=0;while(1){c=L(a,12);d=c+(g+24|0)|0;F[d+8>>2]=F[((a<<2)+i|0)+8>>2];c=c+i|0;e=F[c+92>>2];F[d+12>>2]=F[e>>2];F[d+16>>2]=F[(e+(G[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((j|0)!=(a|0)){continue}break}}c=F[i>>2];F[g+20>>2]=0;e=j<<1;d=e+3&-4;h=gb(h,(d+L(j,24)|0)+20|0,g+20|0);a=F[g+20>>2];if(a){break a}F[h+8>>2]=0;F[h+4>>2]=c;F[h>>2]=j;c=h+20|0;b:{if(!j){F[h+16>>2]=0;F[h+12>>2]=c+d;Oe(F[i+140>>2],g,F[i+4>>2]);break b}a=0;c=Wa(c,0,e);F[h+16>>2]=0;e=c+d|0;F[h+12>>2]=e;while(1){d=L(a,24)+e|0;f=(g+24|0)+L(a,12)|0;c=F[f+8>>2];F[d>>2]=c;F[d+4>>2]=F[f+12>>2]<<16;f=F[f+16>>2];F[d+16>>2]=-1;F[d+20>>2]=-1;F[d+12>>2]=f<<16;c:{if(!c){break c}f=2003265652;d:{if(!ab(c,10150)){break d}f=2003072104;if(!ab(c,10287)){break d}if(ab(c,10426)){break c}f=1869640570}F[d+16>>2]=f}a=a+1|0;if((j|0)!=(a|0)){continue}break}Oe(F[i+140>>2],g,F[i+4>>2]);if(!j){break b}d=0;while(1){k=F[(d<<2)+g>>2];c=L(d,12)+i|0;f=F[c+96>>2];e:{if((k|0)>F[f>>2]){a=1;l=G[c+88|0];if(l>>>0>1){while(1){m=a<<2;n=F[m+f>>2];if((k|0)<=(n|0)){c=F[c+92>>2];e=m-4|0;a=F[c+e>>2];c=F[c+m>>2];e=F[e+f>>2];a=L(_a(k-e|0,n-e|0),c-a|0)+(a<<16)|0;e=F[h+12>>2];break e}a=a+1|0;if((l|0)!=(a|0)){continue}break}}a=F[(F[c+92>>2]+(l<<2)|0)-4>>2]<<16;break e}a=F[F[c+92>>2]>>2]<<16}F[(L(d,24)+e|0)+8>>2]=a;d=d+1|0;if((j|0)!=(d|0)){continue}break}}F[b>>2]=h;a=F[g+20>>2]}Ga=g+80|0;return a|0}function Ck(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ga-16|0;Ga=i;F[i+12>>2]=0;g=F[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(F[a+20>>2]){break d}F[a+16>>2]=12;F[a+20>>2]=a+820;break d}j=F[a+16>>2];if((j|0)>(g|0)){e=F[a+20>>2];h=e+L(g,44)|0;break c}g=64;if((j|0)>48806445){break a}e:{if((j|0)>=-16){k=((j>>2)+j|0)+4|0;if((k|0)<48806447){break e}}k=48806446}l=F[a+20>>2];f:{if((l|0)==(a+820|0)){e=Va(e,44,0,k,0,i+12|0);F[a+20>>2]=e;g=F[i+12>>2];if(g){break a}Ya(e,l,528);break f}m=a,n=Va(e,44,j,k,l,i+12|0),F[m+20>>2]=n;g=F[i+12>>2];if(g){break a}}F[a+16>>2]=k;g=F[a+12>>2]}e=F[a+20>>2];h=e+L(g,44)|0;if((g|0)<=0){break b}}if(!d){g=h;while(1){h=g-44|0;d=E[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|F[a+24>>2]!=(c|0))){h=g;break b}d=F[h+4>>2];F[g>>2]=F[h>>2];F[g+4>>2]=d;F[g+40>>2]=F[h+40>>2];d=F[h+36>>2];F[g+32>>2]=F[h+32>>2];F[g+36>>2]=d;d=F[h+28>>2];F[g+24>>2]=F[h+24>>2];F[g+28>>2]=d;d=F[h+20>>2];F[g+16>>2]=F[h+16>>2];F[g+20>>2]=d;d=F[h+12>>2];F[g+8>>2]=F[h+8>>2];F[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g-44|0;d=E[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|F[a+24>>2]!=(c|0))){h=g;break b}d=F[h+4>>2];F[g>>2]=F[h>>2];F[g+4>>2]=d;F[g+40>>2]=F[h+40>>2];d=F[h+36>>2];F[g+32>>2]=F[h+32>>2];F[g+36>>2]=d;d=F[h+28>>2];F[g+24>>2]=F[h+24>>2];F[g+28>>2]=d;d=F[h+20>>2];F[g+16>>2]=F[h+16>>2];F[g+20>>2]=d;d=F[h+12>>2];F[g+8>>2]=F[h+8>>2];F[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}F[a+12>>2]=F[a+12>>2]+1;g=0}F[f>>2]=h;Ga=i+16|0;return g}function Zd(a,b,c,d){var e=0,f=0,g=0;a=G[a|0]|G[a+1|0]<<8;a=a<<8|a>>>8;f=a&65535;d=(((((a&1)<<1)+d|0)+(a&2)|0)+(f>>>1&2)|0)+(f>>>2&2)|0;a:{b:{if(!(a&16)){a=d;break b}if(d>>>0>2]){break a}a=F[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=F[b+12>>2]-2|0;F[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=G[d|0]|G[d+1|0]<<8;if(!e){break b}if(qd(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=F[b+28>>2];if(e>>>0>31){break a}F[b+28>>2]=e+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}c:{if(!(f&32)){d=a;break c}if(I[b+4>>2]>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=G[a|0]|G[a+1|0]<<8;if(!e){break c}if(qd(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=F[b+28>>2];if(e>>>0>31){break a}F[b+28>>2]=e+1;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0}d:{if(!(f&64)){a=d;break d}if(I[b+4>>2]>d>>>0){break a}a=F[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=F[b+12>>2]-2|0;F[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=G[d|0]|G[d+1|0]<<8;if(!e){break d}if(qd(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=F[b+28>>2];if(e>>>0>31){break a}F[b+28>>2]=e+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}g=1;if(!(f&128)){break a}if(I[b+4>>2]>a>>>0){return 0}d=F[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){return 0}d=G[a|0]|G[a+1|0]<<8;if(!d){break a}if(qd(((d<<8|d>>>8)&65535)+c|0,b)){break a}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;g=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;g=1}return g}function Fd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=Ga-16|0;Ga=f;a:{if(F[a+20>>2]){break a}b:{b=F[a+24>>2];if(b){break b}c=F[a+32>>2]+1|0;e=a+28|0;d=F[e>>2];c:{if((d|0)<0){break c}g=1;if(c>>>0<=d>>>0){break c}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}c=-1;g=0;d:{if(b>>>0>>0|b>>>0>1073741822){break d}d=ob(F[e+8>>2],b<<2);if(!d){break d}F[e+8>>2]=d;g=1;c=b}F[e>>2]=c}e:{if(!g){break e}b=ib(1,576);F[f+12>>2]=b;if(!b){break e}f:{g:{h:{d=F[e>>2];if((d|0)>=0){b=F[e+4>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break g}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){d=ob(F[e+8>>2],b<<2);if(d){break h}}F[e>>2]=-1}F[61608]=F[40908];break f}F[e>>2]=b;F[e+8>>2]=d;b=F[e+4>>2]}if(b>>>0>>0){Wa(F[e+8>>2]+(b<<2)|0,0,c-b<<2)}F[e+4>>2]=c;b=F[e+8>>2];F[61608]=F[40908];b=(b+(c<<2)|0)-4|0;if((b|0)!=246432){F[b>>2]=F[f+12>>2]}}b=F[f+12>>2];F[b+540>>2]=0;F[b+504>>2]=b+540;F[b+468>>2]=b+504;F[b+432>>2]=b+468;F[b+396>>2]=b+432;F[b+360>>2]=b+396;F[b+324>>2]=b+360;F[b+288>>2]=b+324;F[b+252>>2]=b+288;F[b+216>>2]=b+252;F[b+180>>2]=b+216;F[b+144>>2]=b+180;F[b+108>>2]=b+144;F[b+72>>2]=b+108;F[b+36>>2]=b+72;F[b>>2]=b+36;F[a+24>>2]=b;break b}if(F[a+20>>2]){break a}F[a+20>>2]=1;break a}F[a+24>>2]=F[b>>2];F[b+32>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0;F[b>>2]=F[a+4>>2];F[b+4>>2]=F[a+8>>2];F[b+32>>2]=F[a+40>>2];F[a+40>>2]=b}Ga=f+16|0;return F[a+4>>2]}function fv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ga-17408|0;Ga=e;d=96;a:{if(!a){break a}a=F[b+4>>2];d=20;if(!a){break a}f=E[a+2>>1];d=0;if(!f){break a}c=E[a>>1];d=0;if((c|0)<=0){break a}g=F[a+12>>2];d=20;if(!g){break a}d=20;if(!F[a+4>>2]){break a}d=20;if((f|0)!=(E[((c<<1)+g|0)-2>>1]+1|0)){break a}d=19;if(G[b+8|0]&3){break a}b=F[b>>2];d=20;if(!b){break a}d=0;if(!F[b+4>>2]){break a}d=0;if(!F[b>>2]){break a}d=20;if(!F[b+12>>2]){break a}F[e+16520>>2]=F[a+16>>2];f=F[a+12>>2];c=e+16512|0;F[c>>2]=F[a+8>>2];F[c+4>>2]=f;c=F[a+4>>2];F[e+16504>>2]=F[a>>2];F[e+16508>>2]=c;c=F[b+12>>2];a=e+16488|0;F[a>>2]=F[b+8>>2];F[a+4>>2]=c;c=F[b+20>>2];a=e+16496|0;F[a>>2]=F[b+16>>2];F[a+4>>2]=c;a=F[b+4>>2];F[e+16480>>2]=F[b>>2];F[e+16484>>2]=a;a=e+16384|0;F[e+16412>>2]=a;F[e+16408>>2]=e;b=F[a+136>>2];c=b&256;F[a+20>>2]=c?30:2;F[a+16>>2]=c?256:32;c=c?12:6;F[a>>2]=c;c=1<>2]=c;F[a+12>>2]=c>>>6;F[a+8>>2]=c>>>1;b:{if(b&8){D[a+164|0]=2;break b}c=b>>>2&4;D[a+164|0]=c;if(b&32){break b}D[a+164|0]=c|1}F[a+1008>>2]=0;F[a+160>>2]=53;F[a+156>>2]=54;F[a+152>>2]=55;F[a+148>>2]=56;E[a+944>>1]=0;c=F[a+96>>2]-1|0;E[a+946>>1]=c;E[a+52>>1]=F[a+100>>2];f=F[a+108>>2];F[a+56>>2]=f;D[a+165|0]=(b>>>9^-1)&1;b=F[a+104>>2];if((b|0)>0){F[a+56>>2]=f+L(b,c)}b=jk(a,0);c:{if(b){break c}if(!(!G[a+165|0]|G[a+164|0]==2)){F[a+1008>>2]=0;F[a+160>>2]=57;F[a+156>>2]=58;F[a+152>>2]=59;F[a+148>>2]=60;E[a+944>>1]=0;E[a+946>>1]=H[a+100>>1]-1;b=jk(a,1);if(b){break c}}b=0}d=b}c=d;Ga=e+17408|0;return c|0}function qe(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=L(d,1348)+a|0;k=F[f+44>>2];g=b?F[(L(b,12)+c|0)-12>>2]:0;e=F[F[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(L(e,6e3)|0)/2048|0;a:{if((k|0)<=0){break a}c=F[f+52>>2];h=c+L(k,44)|0;m=e+255>>>0<511?1:b;i=F[(L(d,1348)+a|0)+68>>2];b:{if(!g){b=c;while(1){if((i|0)==D[b+1|0]){e=E[b+2>>1];a=c;while(1){c:{if((i|0)!=(0-D[a+1|0]|0)){break c}f=E[a+2>>1];if((f|0)<=(e|0)){break c}g=E[b+8>>1];d=E[a+8>>1];j=(d|0)>(g|0)?g:d;g=E[b+6>>1];d=E[a+6>>1];d=j-((d|0)<(g|0)?g:d)|0;if((d|0)<(m|0)){break c}d=(f-e|0)+((l|0)/(d|0)|0)|0;if((d|0)>2]){F[b+20>>2]=a;F[b+28>>2]=d}if((d|0)>=F[a+28>>2]){break c}F[a+20>>2]=b;F[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}break b}b=c;while(1){if((i|0)==D[b+1|0]){j=E[b+2>>1];a=c;while(1){d:{if((i|0)!=(0-D[a+1|0]|0)){break d}e=E[a+2>>1];if((e|0)<=(j|0)){break d}f=E[b+8>>1];d=E[a+8>>1];n=(d|0)>(f|0)?f:d;f=E[b+6>>1];d=E[a+6>>1];f=n-((d|0)<(f|0)?f:d)|0;if((f|0)<(m|0)){break d}d=(e-j<<10)/(g|0)|0;e=32e3;e:{if((d|0)>11024){break e}e=0;if((d|0)<1025){break e}d=d-1024|0;e=(L(d,d)>>>0)/3e3|0}d=e+((l|0)/(f|0)|0)|0;if((d|0)>2]){F[b+20>>2]=a;F[b+28>>2]=d}if((d|0)>=F[a+28>>2]){break d}F[a+20>>2]=b;F[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}}if((k|0)<=0){break a}while(1){a=F[c+20>>2];if(!(!a|F[a+20>>2]==(c|0))){F[c+20>>2]=0;F[c+24>>2]=F[a+20>>2]}c=c+44|0;if(h>>>0>c>>>0){continue}break}}}function zq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=Ga-16|0;Ga=h;b=F[b>>2];F[h+12>>2]=0;a:{if(!b){e=35;break a}e=6;g=F[b+132>>2];if(!g|I[b+16>>2]<=c>>>0){break a}e=H[g+4>>1];b=(e|0)==768;c=L(c?c-1|0:G[g+106|0],b?6:4)+(b?148:118)|0;b:{f=b?-4:-2;b=F[g+8>>2];if(c>>>0>=(f+b|0)-2>>>0){break b}c=c+F[g+160>>2]|0;i=G[c|0]|G[c+1|0]<<8;F[a+80>>2]=i;f=b;c=c+2|0;j=G[c|0];if((e|0)==768){b=G[c+2|0]<<16|G[c+3|0]<<24|G[c+1|0]<<8}else{b=G[c+1|0]<<8}b=j|b;if(f>>>0<=b>>>0){break b}c=H[g+96>>1];e=0;F[a+100>>2]=0;D[a+94|0]=1;F[a+76>>2]=c;f=H[g+80>>1];F[a+72>>2]=1651078259;F[a+104>>2]=f;i=i<<6;F[a+40>>2]=i;c=c<<6;F[a+28>>2]=c;F[a+24>>2]=i;F[a+32>>2]=0;F[a+36>>2]=f<<6;Pd(a+24|0,c);if(d&4194304){break a}e=3;c=F[F[a+4>>2]+100>>2];i=F[g+160>>2];d=F[a+80>>2]+7|0;f=d>>>3|0;F[a+84>>2]=f;if(d>>>0<8){break a}j=F[g+8>>2];g=F[a+76>>2];if(j>>>0>>0){break a}c=Va(c,f,0,g,0,h+12|0);F[a+88>>2]=c;e=F[h+12>>2];if(e){break a}b=b+i|0;if(d&8){d=F[a+76>>2];if((d|0)>0){d=b+d|0;e=c;while(1){D[e|0]=G[b|0];e=F[a+84>>2]+e|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}c=c+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){e=F[a+76>>2];if((e|0)>0){f=b+e|0;e=c;while(1){D[e|0]=G[b|0];e=F[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=F[a+76>>2];if((e|0)>0){f=b+e|0;e=c+1|0;while(1){D[e|0]=G[b|0];e=F[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+2|0;d=d-2|0;if(d){continue}break}}e=F[h+12>>2];F[F[a+156>>2]+4>>2]=1;break a}e=3;F[h+12>>2]=3}Ga=h+16|0;return e|0}function nf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Ga-16|0;Ga=k;f=6;a:{if(!a){break a}g=F[a+12>>2];if(g>>>0<=b>>>0){break a}l=F[a>>2];b:{c:{d:{e:{f:{h=F[a+28>>2];if(!h){f=Za(l,(F[a+8>>2]+F[a+4>>2]|0)+L(G[a+16|0],b)|0);if(f){break a}f=Gb(F[a>>2],k+8|0,G[a+16|0]);if(f){break a}g:{f=G[a+16|0];if(f){h=0;if(f-1>>>0>=3){i=f&252;while(1){g=e;e=e+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}i=k+8|0;i=G[i+(g|3)|0]|(G[i+(g|2)|0]|(G[i+g|0]<<16|G[i+(g|1)|0]<<8))<<8}g=f&3;if(g){while(1){i=G[(k+8|0)+e|0]|i<<8;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(i){break g}}i=0;f=0;break e}while(1){f=Gb(F[a>>2],k+12|0,f&255);h:{if(f){break h}m=G[a+16|0];if(!m){break h}j=0;h=0;e=0;if(m-1>>>0>=3){n=m&252;while(1){g=h;h=g+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=k+12|0;e=G[e+(g|3)|0]|(G[e+(g|2)|0]|(G[e+g|0]<<16|G[e+(g|1)|0]<<8))<<8}g=m&3;if(g){while(1){e=G[(k+12|0)+h|0]|e<<8;h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>=I[a+12>>2]){break e}f=G[a+16|0];continue}}f=0;i=F[h+(b<<2)>>2];if(!i){break e}while(1){b=b+1|0;e=F[h+(b<<2)>>2];if(e){break f}if((b|0)!=(g|0)){continue}break}break e}f=0;b=F[l+4>>2];h=b+1|0;if(h>>>0>=e>>>0){break d}j=F[a+20>>2];break c}b=F[l+4>>2];e=0}j=F[a+20>>2];h=b+1|0;if(j>>>0<=h-e>>>0){break b}}e=h-j|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;F[d>>2]=b;d=F[a+32>>2];if(d){F[c>>2]=(d+i|0)-1;break a}f=Za(l,(F[a+20>>2]+i|0)-1|0);if(f){break a}f=$b(l,b,c);break a}F[c>>2]=0;F[d>>2]=0}Ga=k+16|0;return f}function uo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=M(0),j=0,k=M(0),l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=G[a+2|0]|G[a+3|0]<<8;e=f&128;a:{if(e){q=a+4|0;d=L(f>>>5&2|f>>>7&1,c);g=c>>>0>d>>>0?d:c;break a}g=f&65295;h=L((g<<8|g>>>8)&4095,c);g=F[d+4>>2];if(h>>>0>=g>>>0){return M(M(0))}q=F[d>>2]+(h<<1)|0;d=g-h|0;d=d>>>0>g>>>0?0:d;g=c>>>0>d>>>0?d:c}b:{if(!(f&64)){k=M(1);if(!c){break b}d=0;while(1){i=k;a=d>>>0>>0?(d<<1)+q|0:163632;a=G[a|0]|G[a+1|0]<<8;c:{if(!a){break c}e=F[(d<<2)+b>>2];a=(a<<8|a>>>8)<<16>>16;if((e|0)==(a|0)){break c}k=M(0);if(!e|(e|0)<(a&a>>31)|(e|0)>(((a|0)>0?a:0)|0)){break b}i=M(i*M(M(e|0)/M(a|0)))}k=i;d=d+1|0;if((d|0)!=(c|0)){continue}break}break b}k=M(1);if(!c){break b}d=0;f=L(f>>>5&2|f>>>7&1,c);h=e?c:0;l=h+c|0;e=f-l|0;e=e>>>0>f>>>0?0:e;r=c>>>0>e>>>0?e:c;e=f-h|0;e=e>>>0>f>>>0?0:e;f=c>>>0>e>>>0?e:c;a=a+4|0;h=a+(h<<1)|0;e=a+(l<<1)|0;while(1){i=k;j=d<<1;a=d>>>0>>0?j+q|0:163632;o=G[a|0]|G[a+1|0]<<8;d:{if(!o){break d}m=F[(d<<2)+b>>2];n=(o<<8|o>>>8)<<16>>16;if((m|0)==(n|0)){break d}a=d>>>0>>0?h+j|0:163632;l=G[a|0]|G[a+1|0]<<8;p=(l<<8|l>>>8)<<16>>16;if((p|0)>(n|0)){break d}a=d>>>0>>0?e+j|0:163632;a=G[a|0]|G[a+1|0]<<8;j=(a<<8|a>>>8)<<16>>16;if((j|0)<(n|0)|!((j|0)<=0|(p|0)>=0)){break d}k=M(0);if((m|0)<(p|0)|(j|0)<(m|0)){break b}if((m|0)<(n|0)){if((l|0)==(o|0)){break d}i=M(i*M(M(m-p|0)/M(n-p|0)));break d}if((a|0)==(o|0)){break d}i=M(i*M(M(j-m|0)/M(j-n|0)))}k=i;d=d+1|0;if((d|0)!=(c|0)){continue}break}}return M(k)}function Ki(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;c=1;a:{b:{switch(G[a+3|0]){case 0:c=Vf(a+8|0,b);break a;case 1:c=0;F[f+12>>2]=0;j=a+8|0;if(!Ji(j,b,f+12|0)){break a}F[f+8>>2]=0;c=a+16|0;a=F[b+4>>2];c:{d:{if(c>>>0>>0){break d}d=F[b+8>>2];if(c>>>0>d>>>0|d-c>>>0<2){break d}i=F[b+12>>2]-2|0;F[b+12>>2]=i;if((i|0)<=0){break d}h=F[f+8>>2];if(h>>>0>2147483646){break d}g=1;if(!h){break c}g=a;a=G[c|0]|G[c+1|0]<<8;a=j+((a<<8|a>>>8)&65535)|0;if(g>>>0>a>>>0|a>>>0>d>>>0){break d}d=d-a|0;c=h<<1;if(d>>>0>>0){break d}c=i-c|0;F[b+12>>2]=c;if(d>>>0<2|(c|0)<=0){break d}F[b+12>>2]=c-2;e:{if((c|0)<=2){break e}e=a;c=0;while(1){e=G[e|0]|G[e+1|0]<<8;if(!yc(a+((e<<8|e>>>8)&65535)|0,b)){break e}e=1;c=c+1|0;if((h|0)==(c|0)){break d}e=a+(c<<1)|0;if(e>>>0>2]){break e}d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break e}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)>0){continue}break}}e=0}g=e}c=g;break a;case 2:c=0;e=a+8|0;if(e>>>0>2]){break a}d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<28){break a}d=F[b+12>>2]-28|0;F[b+12>>2]=d;if((d|0)<=0){break a}if(!Vf(e,b)|!(G[a+16|0]|G[a+17|0]<<8)|!(G[a+18|0]|G[a+19|0]<<8)){break a}c=(G[a+20|0]|G[a+21|0]<<8)!=0;break a;case 4:c=yc(a+8|0,b);break a;case 5:break b;default:break a}}c=0;e=a+8|0;if(e>>>0>2]){break a}d=F[b+8>>2];if(d>>>0>>0|d-e>>>0<20){break a}d=F[b+12>>2]-20|0;F[b+12>>2]=d;if((d|0)<=0){break a}if(!Ji(e,b,0)){break a}c=(G[a+16|0]|G[a+17|0]<<8)!=0}Ga=f+16|0;return c|0}function yf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ga-32|0;Ga=g;a:{if(G[b+16|0]&16){break a}i=F[b+68>>2];if(!i){break a}j=F[b+80>>2];while(1){if((G[(j+L(h,20)|0)+15|0]&15)!=(c|0)){h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}F[g+28>>2]=0;i=a;h=F[a+84>>2];a=F[a+80>>2];if(!(Ia[F[a+164>>2]](i,h,9676,g+28|0,F[a+20>>2])|0)){break a}l=F[g+28>>2];F[b+72>>2]=0;F[b+64>>2]=0;D[b+61|0]=1;D[b+62|0]=0;F[b+84>>2]=F[b+80>>2];F[b+64>>2]=0;k=F[b+68>>2];b:{if(!k){break b}m=(f|0)==-1?0:f;f=g+8|4;h=0;if((e|0)==-1){a=0;while(1){if(!G[b+60|0]){break b}i=F[b+80>>2]+L(h,20)|0;e=G[i+15|0];c:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Lc(b);break c}F[g+8>>2]=l;E[f+6>>1]=0;E[f+8>>1]=0;E[f+10>>1]=0;E[f+12>>1]=0;F[f>>2]=0;F[f+4>>2]=0;D[g+27|0]=m;D[g+26|0]=d;F[g+16>>2]=F[i+8>>2];F[g+12>>2]=F[i+4>>2];D[g+23|0]=G[i+15|0];Bm(b,g+8|0);a=e}h=F[b+64>>2];if(h>>>0>2]){continue}break}break b}a=0;while(1){if(!G[b+60|0]){break b}j=F[b+80>>2]+L(h,20)|0;i=G[j+15|0];d:{if(!((i|0)==(a|0)|(i&15)!=(c|0))){F[g+8>>2]=l;E[f+6>>1]=0;E[f+8>>1]=0;E[f+10>>1]=0;E[f+12>>1]=0;F[f>>2]=0;F[f+4>>2]=0;D[g+27|0]=m;D[g+26|0]=d;F[g+16>>2]=F[j+8>>2];F[g+12>>2]=F[j+4>>2];D[g+23|0]=G[j+15|0];e:{if(h>>>0>=k>>>0){break e}while(1){a=F[b+80>>2]+L(h,20)|0;if((i|0)!=G[a+15|0]|G[a+18|0]!=(e|0)){break e}Lc(b);h=F[b+64>>2];if(h>>>0>=I[b+68>>2]){break e}if(G[b+60|0]){continue}break}}Bm(b,g+8|0);a=i;break d}Lc(b)}h=F[b+64>>2];k=F[b+68>>2];if(h>>>0>>0){continue}break}}mc(b)}Ga=g+32|0}function DB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=163632;h=163632;a=id(a,b);b=G[a+4|0]|G[a+5|0]<<8;if(b){h=a+((b<<8|b>>>8)&65535)|0}a=G[h|0]|G[h+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>c>>>0?(L(c,6)+h|0)+2|0:163632;a=G[a+4|0]|G[a+5|0]<<8;if(a){j=((a<<8|a>>>8)&65535)+h|0}k=G[j+2|0]|G[j+3|0]<<8;a:{b:{c:{d:{e:{f:{if(!d){break f}c=65535;if(!k){break e}h=((k<<8|k>>>8)&65535)-1|0;if(!f){while(1){l=F[(i<<2)+e>>2];b=0;a=h;while(1){c=a+b>>>1|0;g=L(c,6)+j|0;g=G[g+4|0]|G[g+5|0]<<8|(G[g+6|0]<<16|G[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break d}b=c+1|0;break g}a=c-1|0}if((a|0)>=(b|0)){continue}break}i=i+1|0;if((i|0)!=(d|0)){continue}break f}}while(1){l=F[(i<<2)+e>>2];b=0;a=h;while(1){c=a+b>>>1|0;g=L(c,6)+j|0;g=G[g+4|0]|G[g+5|0]<<8|(G[g+6|0]<<16|G[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h:{if(g>>>0>l>>>0){a=c-1|0;break h}if((g|0)==(l|0)){break d}b=c+1|0}if((a|0)>=(b|0)){continue}break}F[f>>2]=65535;i=i+1|0;if((i|0)!=(d|0)){continue}break}}c=65535;if(!k){break e}a=((k<<8|(k&65280)>>>8)&65535)-1|0;b=0;while(1){d=a+b>>>1|0;e=L(d,6)+j|0;e=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i:{if(e>>>0>=1684434037){a=d-1|0;break i}if((e|0)==1684434036){break c}b=d+1|0}if((a|0)>=(b|0)){continue}break}}h=0;if(!f){break a}break b}h=1;if(f){break b}break a}h=0;c=d;if(!f){break a}}F[f>>2]=c}return h|0}function Li(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=F[b+4>>2];d=a+4|0;a:{if(e>>>0>d>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}g=F[b+12>>2]-4|0;F[b+12>>2]=g;if((g|0)<=0){break a}d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<12|a>>>0>>0|(a>>>0>c>>>0|d>>>0>c-a>>>0)){break a}g=g-d|0;F[b+12>>2]=g;if((g|0)<=0){break a}h=G[a+8|0]|G[a+9|0]<<8;d=L((h<<8|h>>>8)&65535,12);if(h){h=e;e=a+12|0;if(h>>>0>e>>>0|c>>>0>>0|d>>>0>c-e>>>0){break a}c=g-d|0;F[b+12>>2]=c;if((c|0)<=0){break a}}c=G[a+10|0]|G[a+11|0]<<8;if(!c){return 1}c=(c<<8|c>>>8)&65535;g=c>>>0>1?c:1;a=(a+d|0)+12|0;c=0;while(1){f=0;b:{if(I[b+4>>2]>a>>>0){break b}d=F[b+8>>2];if(d>>>0>>0){break b}h=d-a|0;if(h>>>0<2){break b}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break b}d=G[a|0]|G[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<9|d>>>0>h>>>0){break b}e=e-d|0;F[b+12>>2]=e;if((e|0)<=0){break b}e=F[b+32>>2];f=F[e+12>>2];F[b+4>>2]=f;e=f+F[e+16>>2]|0;F[b+8>>2]=e;c:{if(!(a>>>0>>0&a>>>0>=f>>>0)){F[b+4>>2]=0;F[b+8>>2]=0;break c}F[b+4>>2]=a;f=e-a|0;F[b+8>>2]=(d>>>0>f>>>0?f:d)+a}F[61902]=0;f=Ki(a,b);d=F[61902];F[61902]=0;d:{if((d|0)==1){break d}d=F[b+32>>2];e=F[d+12>>2];F[b+4>>2]=e;F[b+8>>2]=e+F[d+16>>2];break b}a=Z()|0;Y()|0;c=F[b+32>>2];f=F[c+12>>2];F[b+4>>2]=f;F[b+8>>2]=f+F[c+16>>2];$(a|0);V()}if(!f){break a}e=a;a=G[a|0]|G[a+1|0]<<8;a=e+((a<<8|a>>>8)&65535)|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}return f}function Og(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=L(b,1348)+a|0;e=F[c+56>>2];if((e|0)<=0){break a}f=F[a+24>>2];if((f|0)<=0){break a}a=F[a+28>>2];m=a+L(f,40)|0;j=b?8:4;n=j|16;g=F[c- -64>>2];i=(g+L(e,44)|0)-44|0;k=(b|0)==1;o=k?14:12;p=(e|0)==2;q=(e|0)==3;r=(e|0)==5;s=(e|0)==6;t=(e|0)==7;u=b?20:16;while(1){if(!(H[a>>1]&n)){b=F[(k?8:4)+a>>2];v=a+u|0;d=E[a+o>>1];f=E[g>>1];h=(d|0)>(f|0);c=(b+F[g+8>>2]|0)-F[g+4>>2]|0;b:{if(!h){break b}c=(b+F[i+8>>2]|0)-F[i+4>>2]|0;if(E[i>>1]<=(d|0)){break b}b=0;c:{c=e;d:{if(c>>>0<=8){b=h?e:0;e:{if((e|0)==1|(d|0)<=(f|0)){break e}c=E[g+44>>1];b=(c|0)<(d|0)?e:1;if(p|(c|0)>=(d|0)){break e}c=E[g+88>>1];b=(c|0)<(d|0)?e:2;if(q|(c|0)>=(d|0)){break e}c=E[g+132>>1];b=(c|0)<(d|0)?e:3;if((e|0)==4|(c|0)>=(d|0)){break e}c=E[g+176>>1];b=(c|0)<(d|0)?e:4;if(r|(c|0)>=(d|0)){break e}c=E[g+220>>1];b=(c|0)<(d|0)?e:5;if(s|(c|0)>=(d|0)){break e}c=E[g+264>>1];b=(c|0)<(d|0)?e:6;if(t|(c|0)>=(d|0)){break e}b=E[g+308>>1]<(d|0)?(e|0)==8?e:8:7}c=L(b,44)+g|0;if(H[c>>1]!=(d&65535)){break d}c=F[c+8>>2];break b}while(1){f=b+c>>1;h=L(f,44)+g|0;l=E[h>>1];f:{if((l|0)>(d|0)){c=f;break f}if((d|0)<=(l|0)){break c}b=f+1|0}if((b|0)<(c|0)){continue}break}}c=L(b,44)+g|0;b=c-44|0;f=F[c-28>>2];if(!f){f=_a(F[c+8>>2]-F[b+8>>2]|0,E[c>>1]-E[b>>1]|0);F[b+16>>2]=f}c=F[b+8>>2]+Ua(d-E[b>>1]|0,f)|0;break b}c=F[h+8>>2]}F[v>>2]=c;E[a>>1]=H[a>>1]|j}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function Bl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=F[a+8>>2];m=F[a+12>>2];i=F[m+36>>2];a:{b:{if((i|0)<=0){k=6;if(!i){break b}break a}h=Ia[F[j+4>>2]](j,i)|0;if(!h){k=64;h=0;break a}Wa(h,0,i)}F[h+100>>2]=j;F[h+96>>2]=a;F[h+104>>2]=F[b>>2];if(c){F[h+8>>2]=F[h+8>>2]|1024}c:{l=Ia[F[j+4>>2]](j,68)|0;if(!l){k=64;break c}i=0;c=Wa(l,0,68);F[h+128>>2]=c;d:{if((e|0)<=0){break d}a=0;while(1){if(i){break d}i=0;k=(a<<3)+f|0;if(F[k>>2]==1768842098){i=F[k+4>>2];F[c+52>>2]=i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}F[c+60>>2]=-1;a=F[m+48>>2];e:{if(!a){F[b>>2]=F[h+104>>2];break e}k=Ia[a|0](F[b>>2],h,d,e,f)|0;F[b>>2]=F[h+104>>2];if(k){break c}}b=F[h+40>>2];f:{if(!b){break f}a=b+(F[h+36>>2]<<2)|0;c=a-4|0;g:{if(b>>>0<=c>>>0){while(1){i=F[c>>2];h:{if(F[i+4>>2]!=1970170211){break h}i:{switch(H[i+8>>1]){case 3:if(H[i+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(H[i+10>>1]==4){break g}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break f}i=F[a>>2];if(F[i+4>>2]!=1970170211){continue}break}}F[h+92>>2]=i}F[g>>2]=h;return 0}if(F[h+36>>2]>0){i=0;while(1){c=i<<2;a=F[c+F[h+40>>2]>>2];b=F[F[a>>2]+100>>2];d=F[F[a+12>>2]+8>>2];if(d){Ia[d|0](a)}Ia[F[b+8>>2]](b,a);F[c+F[h+40>>2]>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}a=F[h+40>>2];if(a){Ia[F[j+8>>2]](j,a)}F[h+36>>2]=0;F[h+40>>2]=0}a=F[m+52>>2];if(a){Ia[a|0](h)}if(l){Ia[F[j+8>>2]](j,l)}if(h){Ia[F[j+8>>2]](j,h)}F[g>>2]=0;return k}function Gn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=F[b+4>>2];if(h>>>0>a>>>0){return 0}d=F[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}e=F[b+12>>2];g=e-2|0;F[b+12>>2]=g;f=1;if((g|0)<=0){return 0}g=G[a|0]|G[a+1|0]<<8;a:{if(!g){break a}b:{g=((g<<8|g>>>8)&65535)+c|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break b}c=e-4|0;F[b+12>>2]=c;if((c|0)<=0){break b}e=G[g|0]|G[g+1|0]<<8;if(!e){break a}f=g+2|0;if(f>>>0>>0|d>>>0>>0){break b}i=d-f|0;d=(e<<8|e>>>8)&65535;f=L(d,6);if(i>>>0>>0){break b}c=c-f|0;F[b+12>>2]=c;if((c|0)<=0){break b}k=d>>>0>1?d:1;h=0;while(1){f=Ga-16|0;Ga=f;c=(g+L(h,6)|0)+2|0;d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);F[f+12>>2]=g;F[f+8>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);d=F[b+4>>2];c:{if(c>>>0>>0){c=0;break c}e=F[b+8>>2];if(e>>>0>>0){c=0;break c}if(e-c>>>0<6){c=0;break c}j=F[b+12>>2];i=j-6|0;F[b+12>>2]=i;if((i|0)<=0){c=0;break c}i=d;d=c+4|0;if(i>>>0>d>>>0){c=0;break c}if(d>>>0>e>>>0){c=0;break c}if(e-d>>>0<2){c=0;break c}e=j-8|0;F[b+12>>2]=e;c=1;if((e|0)<=0){c=0;break c}e=G[d|0]|G[d+1|0]<<8;if(!e){break c}if(En(g+((e<<8|e>>>8)&65535)|0,b,f+8|0)){break c}c=F[b+28>>2];if(c>>>0>31){c=0;break c}F[b+28>>2]=c+1;c=0;if(!G[b+24|0]){break c}D[d|0]=0;D[d+1|0]=0;c=1}Ga=f+16|0;if(!c){break b}f=1;h=h+1|0;if((k|0)!=(h|0)){continue}break}break a}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;f=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;f=1}return f}function $n(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=163632;i=163632;g=id(a,b);a=G[g+4|0]|G[g+5|0]<<8;if(a){i=g+((a<<8|a>>>8)&65535)|0}a=G[i|0]|G[i+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>c>>>0?(L(c,6)+i|0)+2|0:163632;a=G[a+4|0]|G[a+5|0]<<8;if(a){h=((a<<8|a>>>8)&65535)+i|0}a:{if((d|0)==65535){b=G[h|0]|G[h+1|0]<<8;a=164018;if(!b){break a}a=((b<<8|b>>>8)&65535)+h|0;break a}b=G[h+2|0]|G[h+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0>d>>>0?(L(d,6)+h|0)+4|0:163632;b=G[b+4|0]|G[b+5|0]<<8;a=164018;if(!b){break a}a=((b<<8|b>>>8)&65535)+h|0}d=65535;b:{c:{b=G[a+4|0]|G[a+5|0]<<8;if(!b){break c}b=(b<<8|b>>>8)&65535;d:{c=G[g+6|0]|G[g+7|0]<<8;if(!c){i=0;g=b>>>0>1?b:1;c=H[81816];j=(c<<8|c>>>8)&65535;while(1){c=b>>>0>i>>>0?(a+(i<<1)|0)+6|0:164016;h=G[c|0]|G[c+1|0]<<8;c=(h<<8|h>>>8)&65535;if((h|0)!=65535){h=c>>>0>>0?L(c,6)+163634|0:163632;h=H[h>>1]|H[h+2>>1]<<16;h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}else{h=0}if((h|0)==(e|0)){break d}i=i+1|0;if((g|0)!=(i|0)){continue}break}break c}h=g+((c<<8|c>>>8)&65535)|0;j=b>>>0>1?b:1;i=0;while(1){c=b>>>0>i>>>0?(a+(i<<1)|0)+6|0:164016;g=G[c|0]|G[c+1|0]<<8;c=(g<<8|g>>>8)&65535;if((g|0)!=65535){g=G[h|0]|G[h+1|0]<<8;g=((g<<8|g>>>8)&65535)>>>0>c>>>0?(h+L(c,6)|0)+2|0:163632;g=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}else{g=0}if((g|0)==(e|0)){break d}i=i+1|0;if((j|0)!=(i|0)){continue}break}break c}d=c;i=1;break b}i=0}if(f){F[f>>2]=d}return i}function Kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=Wa(a,0,656);F[a+56>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;F[a+24>>2]=0;F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;F[a>>2]=0;F[a+4>>2]=0;F[a>>2]=F[b>>2];F[a+4>>2]=F[b+4>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=F[b+12>>2];F[a+16>>2]=F[b+16>>2];d=F[b+20>>2];F[a+40>>2]=b+48;F[a+36>>2]=b+40;F[a+32>>2]=b+32;F[a+28>>2]=b+28;F[a+24>>2]=b+24;F[a+20>>2]=d;if(c){d=G[b+68|0]|G[b+69|0]<<8;e=G[b+70|0];F[a+540>>2]=b+1508;f=F[7599];F[a+52>>2]=F[7598];F[a+56>>2]=f;D[a+48|0]=c;D[a+47|0]=e;D[a+45|0]=d;D[a+46|0]=d>>>8;F[a+604>>2]=F[b+1348>>2];F[a+584>>2]=F[b+1352>>2];F[a+580>>2]=F[b+1356>>2];F[a+588>>2]=F[b+1472>>2];F[a+644>>2]=F[b+1468>>2];F[a+556>>2]=F[b+1364>>2];F[a+572>>2]=F[b+1368>>2];F[a+612>>2]=F[b+1372>>2];F[a+616>>2]=F[b+1376>>2];F[a+648>>2]=F[b+1496>>2];F[a+652>>2]=F[b+1500>>2];F[a+608>>2]=F[b+1360>>2];return}D[a+44|0]=G[b+64|0];c=G[b+65|0]|G[b+66|0]<<8;d=G[b+67|0];e=F[7599];F[a+52>>2]=F[7598];F[a+56>>2]=e;D[a+48|0]=0;D[a+47|0]=d;D[a+45|0]=c;D[a+46|0]=c>>>8;c=F[b+108>>2];F[a+532>>2]=c;F[a+540>>2]=c+3104;F[a+536>>2]=F[b+768>>2];F[a+560>>2]=F[b+732>>2];F[a+576>>2]=F[b+748>>2];F[a+568>>2]=F[b+740>>2];F[a+556>>2]=F[b+728>>2];F[a+572>>2]=F[b+744>>2];c=F[b+736>>2];F[a+544>>2]=b+584;F[a+564>>2]=c;D[a+548|0]=G[b+593|0];F[a+588>>2]=F[b+760>>2];F[a+596>>2]=F[b+772>>2];F[a+600>>2]=F[b+776>>2]}function Ws(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=F[a+12>>2];j=F[a+200>>2];c=F[a+196>>2];n=F[F[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Fl(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=F[i+88>>2]+(b<<5)|0;F[d+8>>2]=0;F[d+12>>2]=0;l=G[c+1|0];e=l|G[c|0]<<8;E[d+4>>1]=e;b=G[c+3|0]|G[c+2|0]<<8;F[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=G[c+4|0]|G[c+5|0]<<8;F[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=G[c+6|0]|G[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}F[d+8>>2]=D[c+4|0];f=D[c+5|0];b=c+6|0;break c}if(b){F[d+8>>2]=G[c+5|0]|G[c+4|0]<<8;f=G[c+7|0]|G[c+6|0]<<8;b=c+8|0;break c}F[d+8>>2]=G[c+4|0];f=G[c+5|0];b=c+6|0}F[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=G[b|0]|G[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=G[b+2|0]|G[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=G[b|0]|G[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=G[b+6|0]|G[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=G[b+4|0]|G[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=G[b+2|0]|G[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=G[b|0]|G[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}F[d+16>>2]=g;F[d+28>>2]=f;F[d+24>>2]=h;F[d+20>>2]=e;if(l&32){continue}break}F[i+84>>2]=k;b=F[F[a+24>>2]+8>>2];F[a+196>>2]=c;F[a+164>>2]=(c+b|0)-j;g=0}return g|0}function qA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=ib(1,36);if(g){a:{b:{c:{d:{e:{c=F[a+56>>2];if((c|0)<=0){break e}e=F[a+60>>2];c=c-1|0;f:{g:{while(1){d=b+c>>>1|0;f=F[e+L(d,36)>>2];h:{if(f>>>0>=1886545255){c=d-1|0;break h}if((f|0)==1886545254){break g}b=d+1|0}if((b|0)<=(c|0)){continue}break}c=0;break f}c=F[(e+L(d,36)|0)+28>>2]}b=F[a+56>>2];F[g>>2]=c;if((b|0)<=0){break e}e=F[a+60>>2];c=b-1|0;b=0;i:{while(1){d=b+c>>>1|0;f=F[e+L(d,36)>>2];j:{if(f>>>0<=1651275622){b=F[(e+L(d,36)|0)+28>>2];if((f|0)==1651275622){break i}b=d+1|0;break j}c=d-1|0}if((b|0)<=(c|0)){continue}break}b=0}c=b;b=F[a+56>>2];F[g+4>>2]=c;if((b|0)<=0){break c}e=F[a+60>>2];c=b-1|0;b=0;while(1){d=b+c>>>1|0;f=F[e+L(d,36)>>2];k:{if(f>>>0<=1633842790){b=F[(e+L(d,36)|0)+28>>2];if((f|0)==1633842790){break d}b=d+1|0;break k}c=d-1|0}if((b|0)<=(c|0)){continue}break}b=0;break d}F[g+4>>2]=0;b=0}c=b;b=F[a+56>>2];F[g+8>>2]=c;c=0;if((b|0)<=0){F[g+12>>2]=0;b=0;break a}e=F[a+60>>2];b=b-1|0;while(1){d=b+c>>>1|0;f=F[e+L(d,36)>>2];l:{if(f>>>0<=1886614630){c=F[(e+L(d,36)|0)+28>>2];if((f|0)==1886614630){break b}c=d+1|0;break l}b=d-1|0}if((b|0)>=(c|0)){continue}break}}c=0}b=F[a+56>>2];F[g+12>>2]=c;if((b|0)>0){d=F[a+60>>2];c=b-1|0;b=0;while(1){a=b+c>>>1|0;e=F[d+L(a,36)>>2];m:{if(e>>>0<=1667654002){b=F[(d+L(a,36)|0)+28>>2];if((e|0)==1667654002){break a}b=a+1|0;break m}c=a-1|0}if((b|0)<=(c|0)){continue}break}}b=0}F[g+16>>2]=b}return g|0}function Do(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=F[a>>2];a:{if(c){break a}j=a-20|0;while(1){g=F[j>>2];if(!g){return 163632}b:{c:{c=ib(1,28);if(c){e=Ga-48|0;Ga=e;F[c+20>>2]=0;F[c+24>>2]=0;Db(g);b=Ab(g,1752003704);if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=F[b+12>>2];Xa(b);if(F[b+4>>2]?d:0){F[b+4>>2]=0}F[c+20>>2]=b;F[e+8>>2]=0;F[e+12>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;D[e+24|0]=0;F[e+28>>2]=0;F[e+32>>2]=0;F[e>>2]=0;F[e+4>>2]=0;b=Db(g);D[e+40|0]=1;F[e+36>>2]=b;k=c,l=yo(e,Ab(g,1213612370)),F[k+24>>2]=l;k=c,l=Ke(g),F[k+16>>2]=l;b=F[c+20>>2];b=F[(b?b:163632)+16>>2];i=b&-2;d=Hd(g- -64|0);d=G[d+34|0]|G[d+35|0]<<8;f=(d<<8|d>>>8)&65535;if(i>>>0>>0){f=b>>>2|0}F[c>>2]=f;b=th(g+56|0);b=G[b+4|0]|G[b+5|0]<<8;h=(b<<8|b>>>8)&65535;F[c+4>>2]=h;b=h;d=F[c>>2];if(b>>>0>>0){b=d}f=i-(f<<2)|0;i=f>>>0>=b-d<<1>>>0;if(!i){b=d+(f>>>1|0)|0}if(!(i&d>>>0<=h>>>0)){F[c+4>>2]=b}if(d){h=b}else{F[c>>2]=0;F[c+4>>2]=0;h=0}f=h+((d+(f>>>1|0)|0)-b&2147483647)|0;F[c+8>>2]=f;b=F[g+32>>2];if((b|0)==-1){b=Zb(g);f=F[c+8>>2]}F[c+12>>2]=b>>>0>f>>>0?b:f;Ga=e+48|0;b=F[a>>2];F[a>>2]=b?b:c;if(!b){break a}b=F[c+20>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break c}F[c+20>>2]=0;b=F[c+24>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break c}Ta(c);break b}c=163632;b=F[a>>2];F[a>>2]=b?b:163632;if(b){break b}break a}ca(0)|0;Y()|0;Hb();V()}c=F[a>>2];if(!c){continue}break}}return c}function vh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=F[a>>2];a:{if(c){break a}j=a-48|0;while(1){g=F[j>>2];if(!g){return 163632}b:{c:{c=ib(1,28);if(c){e=Ga-48|0;Ga=e;F[c+20>>2]=0;F[c+24>>2]=0;Db(g);b=Ab(g,1986884728);if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=F[b+12>>2];Xa(b);if(F[b+4>>2]?d:0){F[b+4>>2]=0}F[c+20>>2]=b;F[e+8>>2]=0;F[e+12>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;D[e+24|0]=0;F[e+28>>2]=0;F[e+32>>2]=0;F[e>>2]=0;F[e+4>>2]=0;b=Db(g);D[e+40|0]=1;F[e+36>>2]=b;k=c,l=yo(e,Ab(g,1448493394)),F[k+24>>2]=l;k=c,l=Ke(g),F[k+16>>2]=l;b=F[c+20>>2];b=F[(b?b:163632)+16>>2];i=b&-2;d=Gd(g+92|0);d=G[d+34|0]|G[d+35|0]<<8;f=(d<<8|d>>>8)&65535;if(i>>>0>>0){f=b>>>2|0}F[c>>2]=f;b=th(g+56|0);b=G[b+4|0]|G[b+5|0]<<8;h=(b<<8|b>>>8)&65535;F[c+4>>2]=h;b=h;d=F[c>>2];if(b>>>0>>0){b=d}f=i-(f<<2)|0;i=f>>>0>=b-d<<1>>>0;if(!i){b=d+(f>>>1|0)|0}if(!(i&d>>>0<=h>>>0)){F[c+4>>2]=b}if(d){h=b}else{F[c>>2]=0;F[c+4>>2]=0;h=0}f=h+((d+(f>>>1|0)|0)-b&2147483647)|0;F[c+8>>2]=f;b=F[g+32>>2];if((b|0)==-1){b=Zb(g);f=F[c+8>>2]}F[c+12>>2]=b>>>0>f>>>0?b:f;Ga=e+48|0;b=F[a>>2];F[a>>2]=b?b:c;if(!b){break a}b=F[c+20>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break c}F[c+20>>2]=0;b=F[c+24>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break c}Ta(c);break b}c=163632;b=F[a>>2];F[a>>2]=b?b:163632;if(b){break b}break a}ca(0)|0;Y()|0;Hb();V()}c=F[a>>2];if(!c){continue}break}}return c}function $e(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ga-16|0;e=1;a:{b:{c:{switch(F[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=L(i,12)+b|0;d=f-12|0;if(F[f>>2]>2]){F[h+8>>2]=F[f+8>>2];g=F[f+4>>2];F[h>>2]=F[f>>2];F[h+4>>2]=g;F[f+8>>2]=F[d+8>>2];g=F[d+4>>2];F[f>>2]=F[d>>2];F[f+4>>2]=g;F[d+8>>2]=F[h+8>>2];f=F[h+4>>2];F[d>>2]=F[h>>2];F[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=F[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}k=j-1|0;m=F[b>>2];h=0;d=1;while(1){f=F[L(d,12)+b>>2]-m|0;d:{if(!((d|0)==(k|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(k|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;n=e&3;l=0;d=h;if(e-1>>>0>=3){o=e&-4;e=0;while(1){g=L(d,12)+b|0;p=F[g>>2];F[g>>2]=0;q=F[g+12>>2];F[g+12>>2]=0;r=F[g+24>>2];F[g+24>>2]=0;s=F[g+36>>2];F[g+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=f;if(!n){break e}while(1){e=L(d,12)+b|0;g=F[e>>2];F[e>>2]=0;d=d+1|0;i=g+i|0;l=l+1|0;if((l|0)!=(n|0)){continue}break}e=f}F[L(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=k>>>0){break d}h=f+1|0;m=F[L(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=L(d,12)+b|0;if(F[c>>2]){h=F[c+4>>2];f=L(e,12)+b|0;F[f>>2]=F[c>>2];F[f+4>>2]=h;F[f+8>>2]=F[c+8>>2];j=F[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}F[a>>2]=e}}function xo(a,b){var c=0,d=0,e=0,f=0;a:{if(I[b+4>>2]>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=F[b+12>>2]-4|0;F[b+12>>2]=d;if((G[a|0]|G[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Ti(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=F[b+12>>2]-4|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=D[a+8|0];c=G[a+11|0]|(G[a+9|0]<<16|e<<24|G[a+10|0]<<8);e=(c|0)!=0&(e|0)<0;b:{if(!(e|!c)){if(yh(a+c|0,b)){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0;break b}if(e){break a}}d=a+12|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=F[b+12>>2]-4|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=D[a+12|0];c=G[a+15|0]|(G[a+13|0]<<16|e<<24|G[a+14|0]<<8);e=(c|0)!=0&(e|0)<0;c:{if(!(e|!c)){if(yh(a+c|0,b)){break c}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0;break c}if(e){break a}}d=a+16|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=F[b+12>>2]-4|0;F[b+12>>2]=c;if((c|0)<=0){break a}f=D[a+16|0];c=G[a+19|0]|(G[a+17|0]<<16|f<<24|G[a+18|0]<<8);e=(c|0)!=0&(f|0)<0;f=!e;if(e|!c){break a}f=1;if(yh(a+c|0,b)){break a}f=0;a=F[b+28>>2];if(a>>>0>31){break a}F[b+28>>2]=a+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0;f=1}return f}function _b(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d=G[a|0]|G[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=G[a+2|0]|G[a+3|0]<<8;if(!c){return}d=a+4|0;f=(c<<8|c>>>8)&65535;g=f&1;c=F[b>>2];h=f-1|0;d:{if(!h){a=d;break d}i=f&65534;a=d;while(1){j=c;c=G[a|0]|G[a+1|0]<<8;j=j|1<<((c<<8|c>>>8)>>>4);c=G[a+2|0]|G[a+3|0]<<8;c=j|1<<((c<<8|c>>>8)>>>4);a=a+4|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}}if(g){a=G[a|0]|G[a+1|0]<<8;c=1<<((a<<8|a>>>8)>>>4)|c}F[b>>2]=c;g=f&3;c=F[b+4>>2];e:{if(h>>>0<3){a=d;break e}i=f&65532;e=0;a=d;while(1){c=1<>2]=c;a=F[b+8>>2];if(h>>>0>=3){e=f&65532;c=0;while(1){a=1<<((G[d|0]|G[d+1|0]<<8)>>>1)|a|1<<((G[d+2|0]|G[d+3|0]<<8)>>>1)|1<<((G[d+4|0]|G[d+5|0]<<8)>>>1)|1<<((G[d+6|0]|G[d+7|0]<<8)>>>1);d=d+8|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}e=f&3;if(e){c=0;while(1){a=1<<((G[d|0]|G[d+1|0]<<8)>>>1)|a;d=d+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}F[b+8>>2]=a;return}c=G[a+2|0]|G[a+3|0]<<8;if(!c){return}d=0;if(!un(a+4|0,b)){return}c=(c<<8|c>>>8)&65535;c=c>>>0>1?c:1;while(1){d=d+1|0;if((c|0)==(d|0)){break a}e=G[a+2|0]|G[a+3|0]<<8;if(un(((e<<8|e>>>8)&65535)>>>0>d>>>0?(L(d,6)+a|0)+4|0:164024,b)){continue}break}}}function Xc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=c-b|0;if(F[a+20>>2]==2|f>>>0<2){break a}i=F[a+84>>2];g=F[(i+L(b,20)|0)+8>>2];d=g;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}h=f-2|0;j=(b^-1)+c&3;c:{if(!j){d=g;break c}f=0;d=g;while(1){k=F[(L(e,20)+i|0)+8>>2];d=d>>>0>>0?d:k;e=e+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(h>>>0<=2){break b}while(1){f=L(e,20)+i|0;h=F[f+8>>2];d=d>>>0>>0?d:h;h=F[f+28>>2];d=d>>>0>>0?d:h;h=F[f+48>>2];d=d>>>0>>0?d:h;f=F[f+68>>2];d=d>>>0>>0?d:f;e=e+4|0;if((e|0)!=(c|0)){continue}break}}while(1){e=b;if(e){b=e-1|0;if((g|0)==F[(L(b,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{g=F[a+72>>2];if(g>>>0<=c>>>0){break f}while(1){b=L(c,20)+i|0;if(F[b-12>>2]!=F[b+8>>2]){break f}c=c+1|0;if((g|0)!=(c|0)){continue}break}c=g;break e}if((c|0)!=(g|0)){break d}}b=F[a+64>>2];f=F[a+68>>2];if(b>>>0>=f>>>0){break d}g=(L(g,20)+i|0)-12|0;h=F[a+80>>2];while(1){a=h+L(b,20)|0;j=F[a+8>>2];if((j|0)!=F[g>>2]){break d}if((d|0)!=(j|0)){F[a+4>>2]=F[a+4>>2]&-4}F[a+8>>2]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(c>>>0<=e>>>0){break a}b=e+1|0;if(c-e&1){a=L(e,20)+i|0;if(F[a+8>>2]!=(d|0)){F[a+4>>2]=F[a+4>>2]&-4}F[a+8>>2]=d;e=e+1|0}if((b|0)==(c|0)){break a}while(1){a=L(e,20)+i|0;if(F[a+8>>2]!=(d|0)){F[a+4>>2]=F[a+4>>2]&-4}F[a+8>>2]=d;a=L(e+1|0,20)+i|0;if(F[a+8>>2]!=(d|0)){F[a+4>>2]=F[a+4>>2]&-4}F[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function qx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ga-400|0;Ga=i;e=F[c+4>>2];f=F[b+4>>2];c=F[c>>2];b=F[b>>2];j=F[a>>2];a=F[a+4>>2];F[i+20>>2]=a<<2;F[i+16>>2]=j<<2;F[i+12>>2]=f<<2;F[i+8>>2]=b<<2;k=e<<2;F[i+4>>2]=k;g=c<<2;F[i>>2]=g;F[i+24>>2]=F[d+208>>2];b=F[d+212>>2];F[i+28>>2]=b;j=a>>6;a:{b:{c=e>>6;a=F[d+176>>2];e=f>>6;c:{d:{if(!((c|0)>=(a|0)&(e|0)>=(a|0))){b=b>>8;break d}b=b>>8;if((a|0)>(j|0)){break d}if((a|0)<=(b|0)){break c}}a=i;f=c;c=F[d+172>>2];if((f|0)>=(c|0)|(c|0)<=(e|0)|((c|0)<=(j|0)|(b|0)>=(c|0))){break b}}F[d+212>>2]=k;F[d+208>>2]=g;break a}while(1){f=F[a+24>>2];k=F[a+8>>2];e=F[a>>2];c=f+(L(k,-3)+(e<<1)|0)|0;b=c>>31;e:{if((b^c)-b>>>0>=129){j=F[a+12>>2];c=F[a+28>>2];b=F[a+4>>2];break e}c=F[a+28>>2];j=F[a+12>>2];b=F[a+4>>2];h=c+(L(j,-3)+(b<<1)|0)|0;g=h>>31;if((g^h)-g>>>0>128){break e}h=(e+(f<<1)|0)+L(F[a+16>>2],-3)|0;g=h>>31;if((g^h)-g>>>0>128){break e}h=((c<<1)+b|0)+L(F[a+20>>2],-3)|0;g=h>>31;if((g^h)-g>>>0>128){break e}vg(d,e,b);if((a|0)==(i|0)){break a}a=a-24|0;continue}F[a+48>>2]=f;F[a+52>>2]=c;e=e+k|0;F[a+8>>2]=e>>1;b=b+j|0;F[a+12>>2]=b>>1;h=f;f=F[a+16>>2];g=h+f|0;F[a+40>>2]=g>>1;h=e;e=f+k|0;f=h+e|0;F[a+16>>2]=f>>2;e=e+g|0;F[a+32>>2]=e>>2;h=c;c=F[a+20>>2];k=h+c|0;F[a+44>>2]=k>>1;F[a+24>>2]=e+f>>3;e=b;b=c+j|0;c=e+b|0;F[a+20>>2]=c>>2;b=b+k|0;F[a+36>>2]=b>>2;F[a+28>>2]=b+c>>3;a=a+24|0;continue}}Ga=i+400|0;return 0}function au(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ga-16|0;Ga=j;d=F[a+28>>2];e=F[a+16>>2];k=F[a+24>>2];F[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=F[a+32>>2];break c}F[a+36>>2]=b;l=Va(b,4,d,g,F[a+32>>2],j+12|0);F[a+32>>2]=l;if(F[j+12>>2]){break b}F[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=G[e+7|0]|G[e+8|0]<<8|(G[e+9|0]<<16|G[e+10|0]<<24);o=G[e|0];p=G[e+1|0];q=G[e+2|0];d:{e:{f:{b=G[e+3|0]|G[e+4|0]<<8|(G[e+5|0]<<16|G[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+F[a+16>>2]|0;b=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=G[f+1|0]<<8|G[f|0]<<16|G[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+G[n|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+F[a+16>>2]|0;b=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+L(d,5)|0;f=h-3|0;f=G[f+1|0]<<8|G[f|0]<<16|G[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(G[h+1|0]|G[h|0]<<8)){break d}}F[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}F[g>>2]=0;break a}l=0}Ga=j+16|0;return l|0}function Kl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=F[a>>2];if(a){b=F[a+204>>2];F[a+204>>2]=b-1;if((b|0)<=1){k=F[a>>2];b=F[a+16>>2];a:{if(!b){break a}while(1){i=F[((h<<2)+a|0)+20>>2];c=F[i>>2];b:{if(ab(F[c+8>>2],9957)|!(D[c|0]&1)){break b}c=F[i+16>>2];if(!c){break b}while(1){f=F[c+8>>2];c:{if(!f){break c}d=F[f+96>>2];if(!d){break c}e=F[f+128>>2];b=F[e+64>>2];F[e+64>>2]=b-1;if((b|0)>1){break c}b=F[d+16>>2];if(!b){break c}g=d+16|0;e=F[d+8>>2];while(1){if((f|0)!=F[b+8>>2]){b=F[b+4>>2];if(b){continue}break c}break}c=F[b>>2];j=c?c+4|0:g;g=F[b+4>>2];F[j>>2]=g;F[(g?g:d+20|0)>>2]=c;Ia[F[e+8>>2]](e,b);Qd(e,f,d);c=F[i+16>>2]}if(c){continue}break}b=F[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=F[((h<<2)+a|0)+20>>2];d:{if(!(D[F[i>>2]]&1)){break d}c=F[i+16>>2];if(!c){break d}while(1){f=F[c+8>>2];e:{if(!f){break e}d=F[f+96>>2];if(!d){break e}e=F[f+128>>2];b=F[e+64>>2];F[e+64>>2]=b-1;if((b|0)>1){break e}b=F[d+16>>2];if(!b){break e}g=d+16|0;e=F[d+8>>2];while(1){if((f|0)!=F[b+8>>2]){b=F[b+4>>2];if(b){continue}break e}break}c=F[b>>2];j=c?c+4|0:g;g=F[b+4>>2];F[j>>2]=g;F[(g?g:d+20|0)>>2]=c;Ia[F[e+8>>2]](e,b);Qd(e,f,d);c=F[i+16>>2]}if(c){continue}break}b=F[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){b=F[((b<<2)+a|0)+16>>2];if(a){Ml(a,b)}b=F[a+16>>2];if(b){continue}break}}Ia[F[k+8>>2]](k,a)}}Ta(l)}function Fm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=Ga-16|0;Ga=j;F[j+12>>2]=0;k=F[a+4>>2];p=F[k+8>>2];e=3;a:{if(d?0:c){break a}D[a|0]=0;if(I[k+3112>>2]<=b>>>0|(H[k+3120>>1]!=(c|0)?c:0)){break a}g=F[k+3116>>2];o=F[g+(b<<3)>>2];h=o+1|0;f=Va(p,1,F[a+20>>2]<<2,h<<2,F[a+24>>2],j+12|0);F[a+24>>2]=f;e=F[j+12>>2];if(e){break a}F[a+20>>2]=h;b:{if(!h){break b}q=g+(b<<3)|0;h=0;if(!c){while(1){c:{if(h){e=h<<2;if(I[(e+F[q+4>>2]|0)-4>>2]>=I[k+3124>>2]){e=3;break a}F[e+f>>2]=0;break c}F[f>>2]=65536}e=(h|0)==(o|0);h=h+1|0;if(!e){continue}break b}}while(1){d:{if(!h){F[f>>2]=65536;break d}n=h<<2;e=F[(n+F[q+4>>2]|0)-4>>2];if(e>>>0>=I[k+3124>>2]){e=3;break a}g=F[k+3128>>2];F[f+n>>2]=65536;r=g+(e<<2)|0;e=0;while(1){f=65536;i=F[r>>2]+L(e,12)|0;g=F[i+4>>2];l=F[i>>2];e:{if((g|0)<(l|0)){break e}m=F[i+8>>2];if(!g|((g|0)>(m|0)|!(!g|((m|0)<=0|(l|0)>=0)))){break e}f=0;i=F[(e<<2)+d>>2];if((i|0)<(l|0)|(i|0)>(m|0)){break e}f=65536;if((g|0)==(i|0)){break e}if((g|0)>(i|0)){f=_a(i-l|0,g-l|0);break e}f=_a(m-i|0,m-g|0)}g=Ua(F[F[a+24>>2]+n>>2],f);f=F[a+24>>2];F[n+f>>2]=g;e=e+1|0;if((e|0)!=(c|0)){continue}break}}e=(h|0)!=(o|0);h=h+1|0;if(e){continue}break}}F[a+8>>2]=b;if(c){b=c<<2;f=Va(p,1,F[a+12>>2]<<2,b,F[a+16>>2],j+12|0);F[a+16>>2]=f;e=F[j+12>>2];if(e){break a}Ya(f,d,b)}D[a|0]=1;F[a+12>>2]=c;e=F[j+12>>2]}Ga=j+16|0;return e|0}function Ht(a){a=a|0;var b=0,c=0,d=0;if(a){c=F[a+100>>2];b=F[a+540>>2];a:{if(!b){break a}d=F[b+80>>2];if(d){Ia[d|0](a)}d=F[b+100>>2];if(d){Ia[d|0](a)}d=F[b+120>>2];if(!d){break a}Ia[d|0](a);Ia[F[b+124>>2]](a)}if(G[a+848|0]){if(F[a+828>>2]){Eb(F[a+104>>2],a+828|0)}F[a+840>>2]=0;F[a+832>>2]=0;F[a+836>>2]=0}Eb(F[a+104>>2],a+808|0);F[a+820>>2]=0;F[a+824>>2]=0;F[a+812>>2]=0;F[a+816>>2]=0;d=F[a+144>>2];if(d){Ia[F[c+8>>2]](c,d)}F[a+140>>2]=0;F[a+144>>2]=0;d=F[a+156>>2];if(d){Ia[F[c+8>>2]](c,d)}E[a+152>>1]=0;F[a+156>>2]=0;Eb(F[a+104>>2],a+508|0);F[a+752>>2]=0;F[a+756>>2]=0;F[a+512>>2]=0;if(G[a+292|0]){d=F[a+332>>2];if(d){Ia[F[c+8>>2]](c,d)}F[a+332>>2]=0;d=F[a+336>>2];if(d){Ia[F[c+8>>2]](c,d)}D[a+292|0]=0;F[a+336>>2]=0}d=F[a+564>>2];if(d){Ia[F[c+8>>2]](c,d)}E[a+562>>1]=0;F[a+564>>2]=0;if(b){Ia[F[b+52>>2]](a)}b=F[a+20>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+20>>2]=0;b=F[a+24>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+24>>2]=0;b=F[a+32>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+32>>2]=0;b=F[a+804>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+28>>2]=0;F[a+804>>2]=0;b=F[a+720>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+720>>2]=0;b=F[a+744>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+744>>2]=0;b=F[a+652>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+652>>2]=0;b=F[a+656>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+656>>2]=0;b=F[a+664>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+664>>2]=0;b=F[a+672>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+540>>2]=0;F[a+672>>2]=0}}function mk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{g=G[a|0];if((g|0)!=117){break b}c:{d=G[a+1|0];if((d|0)!=110|G[a+2|0]!=105){break c}b=G[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=G[a+4|0];c=b-48|0;f=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(f>>>0>15){break c}b=G[a+5|0];c=b-48|0;h=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(h>>>0>15){break c}b=G[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+((f+(e<<4)<<4)+h<<4)|0;c=G[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-48|0;c=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(c>>>0>15){break b}b=G[a+2|0];d=b-48|0;e=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(e>>>0>15){break b}b=G[a+3|0];d=b-48|0;f=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(f>>>0>15){break b}b=G[a+4|0];d=b-48|0;b=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(b>>>0>15){break b}b=b+(f+(e+(c<<4)<<4)<<4)|0;c=G[a+5|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+5|0;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;c=G[a+6|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+6|0;if(c>>>0>15){break d}b=c+(b<<4)|0;d=a+7|0}d=G[d|0];if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}b=a;while(1){e:{f:{if((g|0)!=46){if(g){break f}return lk(a,b)|0}if(a>>>0>>0){break e}}g=G[b+1|0];b=b+1|0;continue}break}b=lk(a,b)|-2147483648}return b|0}function xe(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=F[b+4>>2];a:{if(k>>>0>a>>>0){break a}h=F[b+8>>2];if(h>>>0>>0|h-a>>>0<5){break a}c=F[b+12>>2]-5|0;F[b+12>>2]=c;b:{if((c|0)<=0){break b}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break b}return 1}g=F[b+12>>2]-5|0;F[b+12>>2]=g;if((g|0)<=0){break a}e=G[a+4|0];if((e-1&255)>>>0>3){break a}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+1|0;if(4294967295/(c>>>0)>>>0<=e>>>0&c>>>0>=i>>>0){break a}j=L(c,e);if((j|0)==-1){break a}if(j){c=a+5|0;if(c>>>0>>0|c>>>0>h>>>0|j>>>0>h-c>>>0){break a}g=g-j|0;F[b+12>>2]=g;if((g|0)<=0){break a}c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=L(i+1|0,e)}if((i|0)==-1){break a}l=(a+d|0)+5|0;p=e&252;o=e&3;j=e-1>>>0<3;while(1){f=(L(e,m)+a|0)+5|0;d=0;c=0;if(!j){while(1){c=f;f=c+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}d=0;if(o){while(1){c=G[f|0]|c<<8;f=f+1|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}}n=c>>>0>n>>>0?c:n;c=(i|0)!=(m|0);m=m+1|0;if(c){continue}break}a=n-1|0;if(!a){return 1}f=0;if((a|0)<0|l>>>0>>0|(h>>>0>>0|a>>>0>h-l>>>0)){break a}a=g-a|0;F[b+12>>2]=a;f=(a|0)>0}return f|0}function Nk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;F[d>>2]=0;F[d+4>>2]=0;h=b?b-1|0:0;b=F[a+408>>2];a:{if(h>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=F[a+424>>2];if(!b){break a}f=c<<4;c=F[a+416>>2];c=H[f+c>>1]|F[c+(h<<4)>>2]<<16;i=F[a+104>>2];while(1){if(!(c>>>0<=I[b+20>>2]&c>>>0>=I[b+16>>2])){b=F[b>>2];if(b){continue}break a}break}e=Za(i,F[b+12>>2]);if(e){break a}e=tb(i,L(F[b+8>>2],G[b+4|0]));if(e){break a}a=G[b+5|0];j=a&1;k=a>>>1&1;h=F[b+8>>2];e=F[i+32>>2];a=G[b+4|0];f=-2147483648>>>O(a)|0;b:{c:{d:{if((a|0)==(f|0)){break d}a=L(h,a-f|0)+e|0;e:{if(j){g=G[a+1|0]<<16|G[a|0]<<24|G[a+2|0]<<8;l=a+3|0;a=a+4|0;break e}l=a+1|0;g=G[a|0]<<16;a=a+2|0}g=G[l|0]|g;if((g|0)==(c|0)){break c}if(c>>>0<=g>>>0){break d}e=(k?2:1)+a|0}a=L(f,h);f:{if(h>>>0>=a>>>0){break f}if(!j){while(1){a=a>>>1|0;f=e+a|0;g=G[f|0]<<16|G[f+1|0];if((g|0)==(c|0)){a=f+2|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;f=e+a|0;g=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if((g|0)==(c|0)){a=f+4|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break}}g:{if(j){h=3;f=G[e+1|0]<<16|G[e|0]<<24|G[e+2|0]<<8;a=e+4|0;break g}h=1;f=G[e|0]<<16;a=e+2|0}if((c|0)!=(f|G[e+h|0])){break b}}c=G[a|0];if(k){c=(G[a+1|0]|c<<8)<<16>>16}F[d>>2]=E[b+6>>1]+c}lb(i);e=0}return e|0}function Tm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ga-16|0;Ga=i;d=F[b+100>>2];c=G[a+2|0]|G[a+3|0]<<8;if(c){g=((c<<8|c>>>8)&65535)+a|0}else{g=163632}k=qb(g,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);c=0;a:{if((k|0)==-1){break a}c=F[d+64>>2];F[b+40>>2]=1;F[b+4>>2]=c;e=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[e+68>>2];g=0;g=(c|0)==F[e+64>>2]?G[(F[e+80>>2]+L(c,20)|0)+15|0]:g;F[b+12>>2]=8;D[b+24|0]=g;e=b+4|0;if(!Tc(e,i+12|0)){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[i+12>>2],F[d+64>>2]+1|0,0,1);c=0;break a}j=F[e>>2];c=G[a+4|0]|G[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}f=qb(c,F[F[d+80>>2]+L(j,20)>>2]);if((f|0)==-1){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[e>>2],F[d+64>>2]+1|0,0,1);c=0;break a}g=163632;c=163632;h=G[a+10|0]|G[a+11|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}h=G[c|0]|G[c+1|0]<<8;b:{if(f>>>0>=((h<<8|h>>>8)&65535)>>>0){break b}f=(f<<1)+c|0;f=G[f+2|0]|G[f+3|0]<<8;if(!f){break b}g=((f<<8|f>>>8)&65535)+c|0}c=G[g|0]|G[g+1|0]<<8;if(!c){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[e>>2],F[d+64>>2]+1|0,0,1);c=0;break a}c=(c<<8|c>>>8)&65535;e=F[d+80>>2];f=G[(e+L(j,20)|0)+14|0];if(f>>>0>=32){d=G[(e+L(F[d+64>>2],20)|0)+14|0];e=d&16?0:d&15;c=(d^f)>>>0<32?e?c>>>0>>0?c:e:c:c}d=c-1|0;c=G[a+8|0]|G[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}a=G[a+6|0]|G[a+7|0]<<8;c=fh(c,b,k,d,g,(a<<8|a>>>8)&65535,j)}Ga=i+16|0;return c}function mp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ga-16|0;Ga=h;i=F[a+84>>2];a:{b:{c:{f=F[a+8>>2];if(!(f&8)){break c}f=!(F[a+4>>2]&2147418112|f&32768);if(d&16){if(!f){f=7;if(!(G[a+740|0]&16)){break a}}if(!G[a+292|0]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;d=0;while(1){j=h+14|0;k=h+12|0;Ia[F[F[a+540>>2]+140>>2]](a,1,b+g|0,j,k);F[(g<<2)+e>>2]=H[h+12>>1];l=g|1;Ia[F[F[a+540>>2]+140>>2]](a,1,l+b|0,j,k);F[(l<<2)+e>>2]=H[h+12>>1];g=g+2|0;d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break a}Ia[F[F[a+540>>2]+140>>2]](a,1,b+g|0,h+14|0,h+12|0);F[(g<<2)+e>>2]=H[h+12>>1];break a}if(!f){f=7;if(!(G[a+740|0]&2)){break a}}if(!H[a+250>>1]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;d=0;while(1){j=h+14|0;k=h+10|0;Ia[F[F[a+540>>2]+140>>2]](a,0,b+g|0,j,k);F[(g<<2)+e>>2]=H[h+10>>1];l=g|1;Ia[F[F[a+540>>2]+140>>2]](a,0,l+b|0,j,k);F[(l<<2)+e>>2]=H[h+10>>1];g=g+2|0;d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break a}Ia[F[F[a+540>>2]+140>>2]](a,0,b+g|0,h+14|0,h+10|0);F[(g<<2)+e>>2]=H[h+10>>1];break a}if(!c){break b}if(!i){f=37;break a}l=i+(d&16?60:56)|0;while(1){f=F[a+88>>2];j=(f?256:259)|d;k=b+g|0;d:{if(!(j&1?0:f)){f=He(i,0,k,j);break d}if(F[f>>2]!=F[i+4>>2]){f=35;break a}f=He(i,f,k,j)}if(f){break a}F[(g<<2)+e>>2]=F[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}Ga=h+16|0;return f|0}function cc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c=F[a+40>>2];e=F[a>>2];if(c>>>0>e+F[a+36>>2]>>>0){while(1){c=e+1|0;F[a>>2]=c;d=F[a+4>>2];e=F[F[d+100>>2]+80>>2]+L(c,20)|0;c=H[e+12>>1];f=F[a+8>>2];c:{if(c&f&14){break c}d:{if(!(c&8)){break d}if(f&16){c=F[d+108>>2];d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65538){break c}d=G[c+12|0]|G[c+13|0]<<8;if(d){c=c+((d<<8|d>>>8)&65535)|0}else{c=163632}if((G[c|0]|G[c+1|0]<<8)!=256){break c}d=c;f=f>>>16|0;g=(c+(f<<2)|0)+4|0;c=G[c+2|0]|G[c+3|0]<<8;c=f>>>0<((c<<8|c>>>8)&65535)>>>0?g:163632;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((qb(c?d+c|0:163632,F[e>>2])|0)==-1){break c}c=H[e+12>>1];break d}f=f&65280;if(!f){break d}if((f|0)!=(c&65280)){break c}}f=0;d=H[e+16>>1];if(!(c&16|(d&96)!=32|!G[a+12|0]&(d&543)==513)){f=G[a+13|0]?2:((d&287)!=257)<<1}e:{if(!(F[a+16>>2]&F[e+4>>2])){break e}c=F[a+32>>2];d=G[a+20|0];if((d|0)!=G[e+15|0]?d:0){break e}d=F[a+24>>2];f:{if(d){if(!(Ia[d|0](F[e>>2],c,F[a+28>>2])|0)){break e}c=F[a+32>>2];break f}if(f){break c}}F[a+36>>2]=F[a+36>>2]-1;e=1;if(!c){break a}F[a+32>>2]=c+2;return 1}if(!f){break b}}c=F[a+40>>2];e=F[a>>2];if(c>>>0>e+F[a+36>>2]>>>0){continue}break}}e=0;if(!b){break a}F[b>>2]=c;break a}e=0;if(!b){break a}F[b>>2]=F[a>>2]+1;return 0}return e}function Rb(a,b,c,d){var e=0,f=M(0),g=M(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=M(0),u=M(0),v=M(0),w=M(0),x=M(0),y=0,z=0,A=0,B=0,C=0;h=K[d+8>>3];i=K[d>>3];j=K[c+8>>3];k=K[c>>3];l=K[b+8>>3];m=K[b>>3];b=F[a+8>>2];if(b){n=K[b+8>>3];h=h+n;o=K[b>>3];i=i+o;k=k+o;l=l+n;m=m+o;j=j+n}b=F[a+4>>2];c=F[a>>2];y=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(!e){e=db(d);c=F[a>>2];d=F[c+16>>2]}z=F[c+24>>2];p=F[d+28>>2];if(!p){p=db(d);c=F[a>>2];d=F[c+16>>2]}A=F[c+20>>2];q=F[d+28>>2];if(!q){q=db(d);c=F[a>>2];d=F[c+16>>2]}B=F[c+24>>2];r=F[d+28>>2];if(!r){r=db(d);c=F[a>>2];d=F[c+16>>2]}C=F[c+20>>2];s=F[d+28>>2];if(!s){s=db(d);c=F[a>>2];d=F[c+16>>2]}a=F[c+24>>2];c=F[d+28>>2];if(!c){c=db(d)}w=M(M(M(m)*M(y|0))/M(e>>>0));t=M(M(M(l)*M(z|0))/M(p>>>0));x=M(M(M(k)*M(A|0))/M(q>>>0));u=M(M(M(j)*M(B|0))/M(r>>>0));f=M(M(M(i)*M(C|0))/M(s>>>0));d=b+16|0;g=M(M(M(h)*M(a|0))/M(c>>>0));c=F[b+12>>2];a=F[b+8>>2];a:{if(G[b+4|0]){if(!F[d>>2]){Ia[F[a+12>>2]](a,c,d,J[b+28>>2],J[b+32>>2],F[a+32>>2]);F[b+16>>2]=1;e=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=e}Ia[F[a+24>>2]](a,c,d,w,t,x,u,f,g,F[a+44>>2]);break a}v=J[b>>2];f=M(M(g*v)+f);if(!F[b+16>>2]){Ia[F[a+12>>2]](a,c,d,J[b+28>>2],J[b+32>>2],F[a+32>>2]);F[b+16>>2]=1;e=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=e}Ia[F[a+24>>2]](a,c,d,M(M(t*v)+w),t,M(M(u*v)+x),u,f,g,F[a+44>>2])}J[b+32>>2]=g;J[b+28>>2]=f}function Rm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ga-16|0;Ga=h;d=F[b+100>>2];g=G[a+2|0]|G[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=163632}g=qb(c,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);c=0;a:{if((g|0)==-1){break a}c=F[d+64>>2];F[b+40>>2]=1;F[b+4>>2]=c;f=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[f+68>>2];D[b+24|0]=(c|0)==F[f+64>>2]?G[(F[f+80>>2]+L(c,20)|0)+15|0]:0;F[b+12>>2]=F[b+132>>2]&-15;i=b+4|0;if(!Tc(i,h+12|0)){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[h+12>>2],F[d+64>>2]+1|0,0,1);c=0;break a}j=F[d+80>>2];f=F[i>>2];c=j+L(f,20)|0;if(!(G[c+12|0]&8)){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,f,F[d+64>>2]+1|0,0,1);c=0;break a}e=G[c+14|0];k=e&16?0:e&15;l=F[d+64>>2];c=G[(j+L(l,20)|0)+14|0];m=c&16?0:c&15;b:{c:{if((c^e)>>>0<=31){if(c>>>0<32){break b}if((k|0)!=(m|0)){break c}break b}if(m?0:c>>>0>=32){break b}if(e>>>0<32){break c}if(!k){break b}}c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,f,l+1|0,0,1);c=0;break a}c=G[a+4|0]|G[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=qb(c,F[j+L(f,20)>>2]);if((c|0)==-1){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[i>>2],F[d+64>>2]+1|0,0,1);c=0;break a}d=G[a+8|0]|G[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}e=G[a+10|0]|G[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=163632}a=G[a+6|0]|G[a+7|0]<<8;c=fh(d,b,g,c,e,(a<<8|a>>>8)&65535,f)}Ga=h+16|0;return c}function Jo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=F[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}h=F[b+12>>2]-4|0;F[b+12>>2]=h;if((h|0)<=0){break a}f=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}if(!f){return 1}i=e;e=a+4|0;if(i>>>0>e>>>0|d>>>0>>0){break a}e=d-e|0;d=f<<2;if(e>>>0>>0){break a}d=h-d|0;F[b+12>>2]=d;if((d|0)<=0){break a}g=1;d=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!l){break a}h=0;while(1){j=F[c>>2];g=0;d=((h<<2)+a|0)+4|0;k=F[b+4>>2];b:{if(d>>>0>>0){break b}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break b}i=F[b+12>>2];e=i-4|0;F[b+12>>2]=e;if((e|0)<=0){break b}g=D[d|0];e=G[d+3|0]|(G[d+1|0]<<16|g<<24|G[d+2|0]<<8);m=(e|0)!=0&(g|0)<0;g=!m;if(!e|m){break b}e=e+j|0;c:{if(e>>>0>>0|f>>>0>>0|f-e>>>0<4){break c}j=i-8|0;F[b+12>>2]=j;if((j|0)<=0){break c}i=F[b+36>>2]+1|0;if(i>>>0>1073741822){break c}g=1;if(!i){break b}e=e+4|0;if(e>>>0>>0|f>>>0>>0){break c}e=f-e|0;f=i<<2;if(e>>>0>>0){break c}f=j-f|0;F[b+12>>2]=f;if((f|0)>0){break b}}g=0;f=F[b+28>>2];if(f>>>0>31){break b}F[b+28>>2]=f+1;if(!G[b+24|0]){break b}D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0;g=1}if(!g){break a}h=h+1|0;if((l|0)!=(h|0)){continue}break}}return g}function tk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=F[c+16>>2];a:{if(i&16){break a}k=F[c+28>>2];b:{g=D[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=D[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=F[(g<<2)+b>>2];j=k-F[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}F[c+24>>2]=h;F[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=F[(g<<2)+b>>2];j=k-(F[h>>2]+F[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}F[c+24>>2]=h;F[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=F[(g<<2)+b>>2];j=k-F[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=F[(g<<2)+b>>2];j=k-(F[h>>2]+F[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}F[c+24>>2]=h;F[c+16>>2]=g|i}if(F[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=F[(g<<2)+b>>2];h=F[i>>2];if(!((h|0)>(k|0)|(h+F[i+4>>2]|0)<(k|0))){F[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Tc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c=F[a>>2];if(c>>>0>F[a+36>>2]-1>>>0){while(1){c=c-1|0;F[a>>2]=c;e=F[a+4>>2];f=F[F[e+100>>2]+84>>2]+L(c,20)|0;c=H[f+12>>1];d=F[a+8>>2];c:{if(c&d&14){break c}d:{if(!(c&8)){break d}if(d&16){c=F[e+108>>2];e=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<65538){break c}e=G[c+12|0]|G[c+13|0]<<8;if(e){c=c+((e<<8|e>>>8)&65535)|0}else{c=163632}if((G[c|0]|G[c+1|0]<<8)!=256){break c}e=c;d=d>>>16|0;g=(c+(d<<2)|0)+4|0;c=G[c+2|0]|G[c+3|0]<<8;c=d>>>0<((c<<8|c>>>8)&65535)>>>0?g:163632;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((qb(c?e+c|0:163632,F[f>>2])|0)==-1){break c}c=H[f+12>>1];break d}d=d&65280;if(!d){break d}if((d|0)!=(c&65280)){break c}}e=0;d=H[f+16>>1];if(!(c&16|(d&96)!=32|!G[a+12|0]&(d&543)==513)){e=G[a+13|0]?2:((d&287)!=257)<<1}e:{if(!(F[a+16>>2]&F[f+4>>2])){break e}d=F[a+32>>2];c=G[a+20|0];if((c|0)!=G[f+15|0]?c:0){break e}c=F[a+24>>2];f:{if(c){if(!(Ia[c|0](F[f>>2],d,F[a+28>>2])|0)){break e}d=F[a+32>>2];break f}if(e){break c}}F[a+36>>2]=F[a+36>>2]-1;c=1;if(!d){break a}F[a+32>>2]=d+2;return 1}if(!e){break b}}c=F[a>>2];if(c>>>0>F[a+36>>2]-1>>>0){continue}break}}c=0;if(!b){break a}F[b>>2]=0;break a}c=0;if(!b){break a}a=F[a>>2];F[b>>2]=(a>>>0>1?a:1)-1;return 0}return c}function pe(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 40}F[a+16>>2]=b;F[a+8>>2]=0;F[a+12>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a>>2]=0;f=Ga-16|0;Ga=f;a:{b:{if(!oc(238783,D[8921])){F[61729]=28;break b}c=2;if(!oc(8921,43)){c=G[8921]!=114}c=oc(8921,120)?c|128:c;c=oc(8921,101)?c|524288:c;e=c;g=c|64;c=G[8921];e=(c|0)==114?e:g;e=(c|0)==119?e|512:e;F[f>>2]=438;b=Ba(-100,b|0,((c|0)==97?e|1024:e)|32768,f|0)|0;if(b>>>0>=4294963201){F[61729]=0-b;b=-1}if((b|0)<0){break a}e=Ga-32|0;Ga=e;c:{d:{e:{if(!oc(238783,D[8921])){F[61729]=28;break e}c=nb(1176);if(c){break d}}c=0;break c}Wa(c,0,144);if(!oc(8921,43)){F[c>>2]=G[8921]==114?8:4}f:{if(G[8921]!=97){d=F[c>>2];break f}d=sa(b|0,3,0)|0;if(!(d&1024)){F[e+16>>2]=d|1024;sa(b|0,4,e+16|0)|0}d=F[c>>2]|128;F[c>>2]=d}F[c+80>>2]=-1;F[c+48>>2]=1024;F[c+60>>2]=b;F[c+44>>2]=c+152;g:{if(d&8){break g}F[e>>2]=e+24;if(Aa(b|0,21523,e|0)|0){break g}F[c+80>>2]=10}F[c+40>>2]=872;F[c+36>>2]=873;F[c+32>>2]=874;F[c+12>>2]=875;if(!G[246929]){F[c+76>>2]=-1}F[c+56>>2]=F[61747];d=F[61747];if(d){F[d+52>>2]=c}F[61747]=c}Ga=e+32|0;d=c;if(c){break a}qa(b|0)|0}d=0}Ga=f+16|0;if(!d){return 1}Xg(d,0,2);h:{if(F[d+76>>2]<0){b=mm(d);c=Ha;break h}b=mm(d);c=Ha}if((c|0)>=0&b>>>0>=2147483648|(c|0)>0){F[61729]=61;b=-1}F[a+4>>2]=b;if(!b){om(d);return 81}Xg(d,0,0);F[a+24>>2]=22;F[a+20>>2]=23;F[a+12>>2]=d;return 0}function lt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=F[a+804>>2];a:{b:{if(e){d=6;if(I[a+28>>2]<=b>>>0){break a}b=F[e+(b<<2)>>2];break b}d=6;if(I[a+800>>2]<=b>>>0){break a}}d=2;c:{d:{switch(F[a+796>>2]-1|0){case 0:case 1:b=F[a+788>>2]+L(b,48)|0;f=G[b+52|0];E[c>>1]=f;g=G[b+53|0];E[c+2>>1]=g;j=D[b+24|0];e=j<<6;F[c+12>>2]=e;h=D[b+25|0];d=h<<6;F[c+16>>2]=d;i=D[b+33|0];e:{f:{if((h|0)>0){if((i|0)>=0){break e}d=0-d|0;break f}if(h|j){break e}d=D[b+32|0];if(d|i){e=d<<6;F[c+12>>2]=e;d=i<<6;break f}e=g<<6;F[c+12>>2]=e;d=0}F[c+16>>2]=d}F[c+20>>2]=e-d;if((d|0)==(e|0)){e=g<<6;F[c+20>>2]=e;F[c+16>>2]=d-e}F[c+24>>2]=D[b+31|0]+(G[b+26|0]+D[b+30|0]|0)<<6;b=a+178|0;break c;case 2:break d;default:break a}}d=3;b=F[a+788>>2]+(b<<2)|0;b=G[b+8|0]|G[b+9|0]<<8|(G[b+10|0]<<16|G[b+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(I[a+864>>2]>>0){break a}b=F[a+104>>2];d=Za(b,e+F[a+860>>2]|0);if(d){break a}d=tb(b,4);if(d){break a}e=xb(b);xb(b);lb(b);b=a+178|0;d=H[b>>1];E[c+2>>1]=e;E[c>>1]=e;e=e<<6;k=c,l=bb(E[a+220>>1],e,d),F[k+12>>2]=l;k=c,l=bb(E[a+222>>1],e,d),F[k+16>>2]=l;k=c,l=bb(E[a+224>>1]+(E[a+220>>1]-E[a+222>>1]|0)|0,e,d),F[k+20>>2]=l;k=c,l=bb(H[a+226>>1],e,d),F[k+24>>2]=l;f=H[c>>1]}k=c,l=bb(f,4194304,H[b>>1]),F[k+4>>2]=l;k=c,l=bb(H[c+2>>1],4194304,H[b>>1]),F[k+8>>2]=l;d=0}return d|0}function Jf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ga-16|0;Ga=g;a:{b:{d=F[a+24>>2];c:{if(d){d=d-1|0;F[a+24>>2]=d;if(d>>>0>=I[a+32>>2]){d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);i=+z();break c}i=K[F[a+36>>2]+(d<<3)>>3];break c}D[a+20|0]=1;d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);i=+z()}d:{if(N(i)<2147483648){d=~~i;break d}d=-2147483648}f=d+F[b>>2]|0;e:{if((f|0)<0){break e}d=F[b+4>>2];if(!d){break e}d=G[d|0]|G[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=f>>>0){break e}e=F[a+92>>2];if(e>>>0<10){break b}}D[a+40|0]=1;break a}d=F[a+4>>2];F[a+44>>2]=F[a>>2];F[a+48>>2]=d;D[a+60|0]=G[a+16|0];d=F[a+12>>2];F[a+52>>2]=F[a+8>>2];F[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){F[a+92>>2]=e+1;h=F[d+4>>2];e=F[a+104>>2]+L(e,28)|0;F[e>>2]=F[d>>2];F[e+4>>2]=h;F[e+24>>2]=F[d+24>>2];h=F[d+20>>2];F[e+16>>2]=F[d+16>>2];F[e+20>>2]=h;h=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=h;break f}D[a+88|0]=1}g:{h:{b=F[b+4>>2];if(b){e=G[b|0]|G[b+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>f>>>0){break h}}F[g+8>>2]=F[40910];b=F[40909];F[g>>2]=F[40908];F[g+4>>2]=b;break g}Jd(g,b,f)}b=F[g+4>>2];F[d>>2]=F[g>>2];F[d+4>>2]=b;F[d+8>>2]=F[g+8>>2];F[a+68>>2]=f;F[a- -64>>2]=c;D[a+60|0]=0;F[a+56>>2]=0;D[a+16|0]=G[d+16|0];b=F[d+12>>2];F[a+8>>2]=F[d+8>>2];F[a+12>>2]=b;b=F[d+4>>2];F[a>>2]=F[d>>2];F[a+4>>2]=b}Ga=g+16|0}function sg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ga-16|0;Ga=c;F[c+12>>2]=F[a>>2];d=F[a+8>>2];Sb(c+12|0,d);b=F[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=G[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}F[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=Mk(c+12|0,d);break a}e=rg(c+12|0,d);break a}if(!(G[b+1|0]!=60|b+1>>>0>=d>>>0)){F[c+12>>2]=b+2;break b}e=Lk(c+12|0,d);break a}f=b+1|0;F[c+12>>2]=f;e=3;if(G[f|0]!=62|d>>>0<=f>>>0){break a}F[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(G[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}F[c+12>>2]=b}e=0}b=F[c+12>>2];if(b>>>0>>0){e=(b|0)==F[a>>2]?3:e}F[a+12>>2]=e;F[a>>2]=b>>>0>d>>>0?d:b;Ga=c+16|0}function Xm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ga-16|0;Ga=i;d=F[b+100>>2];c=G[a+2|0]|G[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=0;a:{if((qb(e,F[F[d+80>>2]+L(F[d+64>>2],20)>>2])|0)==-1){break a}c=F[d+64>>2];F[b+40>>2]=1;F[b+4>>2]=c;e=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[e+68>>2];D[b+24|0]=(c|0)==F[e+64>>2]?G[(F[e+80>>2]+L(c,20)|0)+15|0]:0;e=b+4|0;if(!cc(e,i+12|0)){c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[d+64>>2],F[i+12>>2],1,0);c=0;break a}c=163632;g=G[a+8|0]|G[a+9|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}j=G[a+4|0]|G[a+5|0]<<8;g=G[a+6|0]|G[a+7|0]<<8;c=Df(c,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);h=G[a+10|0]|G[a+11|0]<<8;if(h){f=((h<<8|h>>>8)&65535)+a|0}else{f=163632}h=Df(f,F[F[d+80>>2]+L(F[e>>2],20)>>2]);b:{f=G[a+12|0]|G[a+13|0]<<8;if(c>>>0<((f<<8|f>>>8)&65535)>>>0){f=G[a+14|0]|G[a+15|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>h>>>0){break b}}c=0;if(!(G[d+16|0]&64)){break a}wb(d,2,F[d+64>>2],F[e>>2]+1|0,1,0);c=0;break a}j=HC(j);c=L(h+L(c,f)|0,HC(g)+j|0);c=(c|0)<0?163632:((c<<1)+a|0)+16|0;c:{if(k=1,l=hd(a+4|0,b,a,c,F[d+88>>2]+L(F[d+64>>2],20)|0),m=hd(a+6|0,b,a,c+(j<<1)|0,F[d+88>>2]+L(F[b+4>>2],20)|0),m?k:l){Fc(d,F[d+64>>2],F[e>>2]+1|0);break c}if(!(G[d+16|0]&64)){break c}wb(d,2,F[d+64>>2],F[e>>2]+1|0,1,0)}F[d+64>>2]=F[e>>2]+((g|0)!=0);c=1}Ga=i+16|0;return c}function rm(){var a=0,b=0,c=0;a=F[61704];a:{if(a){break a}while(1){a=ib(1,112);if(a){F[a+8>>2]=0;F[a>>2]=1;F[a+4>>2]=1;if(F[61524]){F[61524]=0}if(F[61523]){F[61523]=F[61523]+1}F[a+12>>2]=246092;b=F[61528];F[a+16>>2]=F[61527];F[a+20>>2]=b;b=F[61530];F[a+24>>2]=F[61529];F[a+28>>2]=b;b=F[61532];F[a+32>>2]=F[61531];F[a+36>>2]=b;b=F[61534];F[a+40>>2]=F[61533];F[a+44>>2]=b;b=F[61536];F[a+48>>2]=F[61535];F[a+52>>2]=b;b=F[61538];F[a+56>>2]=F[61537];F[a+60>>2]=b;c=F[61540];b=a- -64|0;F[b>>2]=F[61539];F[b+4>>2]=c;b=F[61542];F[a+72>>2]=F[61541];F[a+76>>2]=b}else{a=246092}if(F[a+4>>2]){b=F[a+80>>2];if(b){Ia[b|0](F[a+48>>2])}F[a+16>>2]=787;F[a+80>>2]=0;F[a+48>>2]=0}if(F[a+4>>2]){b=F[a+88>>2];if(b){Ia[b|0](F[a+56>>2])}F[a+24>>2]=788;F[a+88>>2]=0;F[a+56>>2]=0}if(F[a+4>>2]){b=F[a+92>>2];if(b){Ia[b|0](F[a+60>>2])}F[a+28>>2]=789;F[a+92>>2]=0;F[a+60>>2]=0}if(F[a+4>>2]){b=F[a+96>>2];if(b){Ia[b|0](F[a- -64>>2])}F[a+32>>2]=790;F[a+96>>2]=0;F[a- -64>>2]=0}if(F[a+4>>2]){b=F[a+100>>2];if(b){Ia[b|0](F[a+68>>2])}F[a+36>>2]=791;F[a+100>>2]=0;F[a+68>>2]=0}if(F[a+4>>2]){b=F[a+104>>2];if(b){Ia[b|0](F[a+72>>2])}F[a+40>>2]=792;F[a+104>>2]=0;F[a+72>>2]=0}if(F[a+4>>2]){F[a+4>>2]=0}b=F[61704];a=a?a:246092;F[61704]=b?b:a;if(!b){break a}if(!(!a|(a|0)==246092)){Ud(a)}a=F[61704];if(!a){continue}break}}return a}function Cf(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Ga-272|0;Ga=k;l=F[F[a+100>>2]+64>>2];F[k+264>>2]=0;a:{b:{c:{if(!ih(a,d,e,F[j>>2],F[j+8>>2],k+264|0,k,0)){break c}n=F[k+264>>2];if(!n){l=0;break c}p=F[j+12>>2];q=F[j>>2];F[a+84>>2]=f;e=n-1|0;F[a+48>>2]=e;m=F[F[a+52>>2]+100>>2];F[a+88>>2]=F[m+68>>2];l=0;l=(e|0)==F[m+64>>2]?G[(F[m+80>>2]+L(e,20)|0)+15|0]:l;m=a+48|0;F[a+80>>2]=g;F[a+76>>2]=p;F[a+72>>2]=q;D[a+68|0]=l;l=n;if(!f){break b}d:{if(cc(m,k+268|0)){e=0;break d}l=F[k+268>>2];break c}e:{while(1){e=e+1|0;if((f|0)!=(e|0)){if(cc(m,k+268|0)){continue}break e}break}l=F[m>>2]+1|0;break b}l=F[k+268>>2];if(e>>>0>=f>>>0){break b}}a=F[a+100>>2];if(!(G[a+16|0]&64)){break a}wb(a,2,F[a+64>>2],l,1,0);break a}f=F[a+100>>2];e=F[f+(G[f+61|0]?72:64)>>2];o=F[j+4>>2];p=F[j>>2];F[a+84>>2]=b;F[a+48>>2]=e;g=F[F[a+52>>2]+100>>2];F[a+88>>2]=F[g+68>>2];j=0;j=F[g+64>>2]==(e|0)?G[(F[g+80>>2]+L(e,20)|0)+15|0]:j;F[a+80>>2]=c;F[a+76>>2]=o;F[a+72>>2]=p;D[a+68|0]=j;f:{g:{if(b){if(!Tc(m,k+268|0)){break g}j=0;h:{while(1){j=j+1|0;if((j|0)==(b|0)){e=F[m>>2];break h}if(Tc(m,k+268|0)){continue}break}e=F[k+268>>2];c=e;if(b>>>0>j>>>0){break f}}f=F[a+100>>2]}o=1;wb(f,3,e,l,1,1);hn(a,d,k,h,i,n);break a}c=F[k+268>>2]}o=0;a=F[a+100>>2];if(!(G[a+16|0]&64)){break a}wb(a,2,c,l,0,1)}Ga=k+272|0;return o}function _c(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ga+-64|0;Ga=h;i=a+11724|0;pg(a,F[a+11720>>2],F[i>>2],b,c,h+20|0,h+16|0);pg(a,d,e,f,g,h+12|0,h+8|0);j=F[a+4>>2];F[j+16>>2]=F[j+16>>2]+(L(e-c>>16,b>>16)-L(d-b>>16,c>>16)|0);j=F[h+20>>2];l=j+F[a+11720>>2]|0;F[h>>2]=l;k=F[h+16>>2];i=k+F[i>>2]|0;F[h+4>>2]=i;n=F[h+8>>2];o=F[h+12>>2];c=c+k|0;j=b+j|0;if(G[a+11667|0]){F[h+56>>2]=1;b=F[a+11732>>2];F[h+24>>2]=F[a+11728>>2];F[h+28>>2]=b;if(!G[a+20|0]){Nd(a,F[a+11736>>2],F[a+11740>>2])}k=Ua(F[a+11644>>2],l);m=Ua(F[a+11648>>2],i);b=Ac(a+8|0,i);k=k+m|0;p=h,q=(Ua(F[F[a>>2]+64>>2],k)+Ua(F[F[a>>2]+72>>2],b)|0)+F[a+11656>>2]|0,F[p+32>>2]=q;p=h,q=(Ua(F[F[a>>2]+68>>2],k)+Ua(F[F[a>>2]+76>>2],b)|0)+F[a+11660>>2]|0,F[p+36>>2]=q;b=F[a+4>>2];Ia[F[b>>2]](b,h+24|0);k=F[h+32>>2];m=F[h+36>>2];b=0;F[a+11704>>2]=b|l;F[a+11708>>2]=i;F[a+11728>>2]=k;F[a+11732>>2]=m;F[a+11712>>2]=b|j;F[a+11716>>2]=c;D[a+11664|0]=1;D[a+11667|0]=0}if(G[a+11744|0]){ke(a,a+8|0,h,j,c,0)}F[a+11748>>2]=4;D[a+11744|0]=1;b=F[h+4>>2];i=F[h>>2];F[a+11780>>2]=g+n;F[a+11776>>2]=f+o;F[a+11772>>2]=e+n;F[a+11768>>2]=d+o;F[a+11752>>2]=i;F[a+11756>>2]=b;F[a+11760>>2]=j;F[a+11764>>2]=c;b=F[a+11676>>2];if(G[b+5|0]){le(a+8|0,F[a+11668>>2],F[a+11672>>2],b,F[a+11680>>2],0)}F[a+11724>>2]=g;F[a+11720>>2]=f;Ga=h- -64|0}function cu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;g=F[a+16>>2];a=G[g+6|0]|G[g+7|0]<<8|(G[g+8|0]<<16|G[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+L(e,11)|0;h=d-3|0;h=G[h+1|0]<<8|G[h|0]<<16|G[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);d:{a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;j=h+(a<<2)|0;d=j-3|0;d=G[d+1|0]<<8|G[d|0]<<16|G[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+G[j|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+L(c,5)|0;d=e-3|0;d=G[d+1|0]<<8|G[d|0]<<16|G[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(G[e+1|0]|G[e|0]<<8){break a}}i=-1}return i|0}function nq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}g=a-120|0;while(1){d=F[g>>2];if(!d){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=Db(d);D[b+40|0]=1;F[b+36>>2]=c;c=0;d=Ab(d,1634626418);if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}f=d;F[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){D[b+24|0]=c;c=F[f+12>>2];F[b+4>>2]=c;e=F[f+16>>2];F[b+8>>2]=e+c;F[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}F[b+12>>2]=e;F[b+20>>2]=0;F[b>>2]=0;if(!c){Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}e=Bi(c,b);f=F[b+28>>2];g:{if(e){if(!f){break g}F[b+28>>2]=0;c=Bi(c,b);f=F[b+28>>2];Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(G[b+24|0]|!f){break e}e=Xb(d);F[b+4>>2]=e;F[b+8>>2]=e+F[d+16>>2];f=F[b+32>>2];c=1;if(e){continue}break d}break}Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}if(F[d+4>>2]){F[d+4>>2]=0}break b}f=F[b+32>>2]}Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(d);d=163632}c=d;if(!d){c=163632}d=F[a>>2];F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return(I[c+16>>2]<12?163632:F[c+12>>2])|0}function du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{i=F[a+16>>2];a=G[i+6|0]|G[i+7|0]<<8|(G[i+8|0]<<16|G[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+L(f,11)|0;h=e-3|0;h=G[h+1|0]<<8|G[h|0]<<16|G[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);e:{a=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;j=h+(a<<2)|0;e=j-3|0;e=G[e+1|0]<<8|G[e|0]<<16|G[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+G[j|0]>>>0>>0){continue}break}return Ia[F[F[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+L(b,5)|0;f=d-3|0;f=G[f+1|0]<<8|G[f|0]<<16|G[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return G[d+1|0]|G[d|0]<<8}function Dk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ga-32|0;Ga=f;F[f+28>>2]=0;F[f+16>>2]=F[5328];d=F[5327];F[f+8>>2]=F[5326];F[f+12>>2]=d;d=F[5325];F[f>>2]=F[5324];F[f+4>>2]=d;c=48;d=f;a:{while(1){b=d+1|0;if((c&255)==32){while(1){d=b;b=b+1|0;c=G[d|0];if((c|0)==32){continue}break}}i=F[a+36>>2];g=c&255;if(!(c<<24>>24>=0)){e=g>>>0<240;c=g>>>0<224;h=c?1:e?2:3;j=h-1|0;g=(c?31:e?15:7)&g;e=0;c=h;while(1){g=G[b|0]&63|g<<6;c=c-1|0;b=b+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}if(j>>>0>=3){while(1){g=G[b+3|0]&63|((G[b+1|0]&63|(g<<12|(G[b|0]&63)<<6))<<12|(G[b+2|0]&63)<<6);b=b+4|0;c=c-4|0;if(c){continue}break}}b=(d+h|0)+1|0}d=b;k=F[i>>2];c=0;while(1){b=G[d|0];if((b|32)!=32){d=d+1|0;c=b;if(b<<24>>24>=0){continue}e=c>>>0<240;b=c>>>0<224;h=b?1:e?2:3;j=h-1|0;c=(b?31:e?15:7)&c;i=0;e=h;b=d;while(1){c=G[b|0]&63|c<<6;e=e-1|0;b=b+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}if(j>>>0>=3){while(1){c=G[b+3|0]&63|((G[b+1|0]&63|(c<<12|(G[b|0]&63)<<6))<<12|(G[b+2|0]&63)<<6);b=b+4|0;e=e-4|0;if(e){continue}break}}d=d+h|0;continue}break}b:{if(c){se(k,0,2051,f+28|0);break b}b=Ob(k,g);se(F[F[a+36>>2]>>2],b,2051,f+28|0);if(!b){break b}b=l;l=1;c=F[f+28>>2];if(!b){m=c;break b}if((c|0)==(m|0)){break b}b=0;break a}c=G[d|0];if(c){continue}break}b=1}D[a+32|0]=b;Ga=f+32|0}function Ur(a){a=a|0;var b=0,c=0,d=0;if(a){c=F[a+100>>2];b=F[a+548>>2];if(b){if(b){Ia[F[c+8>>2]](c,b)}F[a+544>>2]=0;F[a+548>>2]=0}fe(a);F[a+532>>2]=0;b=F[a+132>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+132>>2]=0;b=F[a+136>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+136>>2]=0;b=F[a+140>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+140>>2]=0;b=F[a+144>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+144>>2]=0;b=F[a+148>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+148>>2]=0;b=F[a+432>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+432>>2]=0;b=F[a+428>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+428>>2]=0;b=F[a+424>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+424>>2]=0;b=F[a+408>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+408>>2]=0;b=F[a+412>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+412>>2]=0;ff(F[a+416>>2],c);b=F[a+416>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+416>>2]=0;b=F[a+392>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+392>>2]=0;b=F[a+396>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+396>>2]=0;b=F[a+400>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+400>>2]=0;b=F[a+384>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+384>>2]=0;b=F[a+388>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+388>>2]=0;b=F[a+364>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+364>>2]=0;b=F[a+496>>2];if(b){d=F[b+36>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+36>>2]=0;F[b+40>>2]=0;d=F[b+28>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+28>>2]=0;F[b+32>>2]=0;if(b){Ia[F[c+8>>2]](c,b)}}F[a+20>>2]=0;F[a+24>>2]=0}}function Yi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}g=a-124|0;while(1){d=F[g>>2];if(!d){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=Db(d);D[b+40|0]=1;F[b+36>>2]=c;c=0;d=Ab(d,1953653099);if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}f=d;F[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){D[b+24|0]=c;c=F[f+12>>2];F[b+4>>2]=c;e=F[f+16>>2];F[b+8>>2]=e+c;F[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}F[b+12>>2]=e;F[b+20>>2]=0;F[b>>2]=0;if(!c){Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}e=zi(c,b);f=F[b+28>>2];g:{if(e){if(!f){break g}F[b+28>>2]=0;c=zi(c,b);f=F[b+28>>2];Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(G[b+24|0]|!f){break e}e=Xb(d);F[b+4>>2]=e;F[b+8>>2]=e+F[d+16>>2];f=F[b+32>>2];c=1;if(e){continue}break d}break}Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}if(F[d+4>>2]){F[d+4>>2]=0}break b}f=F[b+32>>2]}Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(d);d=163632}c=d;if(!d){c=163632}d=F[a>>2];F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<12?163632:F[c+12>>2]}function Lq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=F[F[F[a+4>>2]+96>>2]+28>>2];i=Lb(F[F[F[b>>2]+428>>2]+(c<<2)>>2],0);a:{b:{c=F[a+160>>2];e=F[c+156>>2];if(!e){break b}f=F[e+4>>2];if(!(f&1)){break b}g=F[c+88>>2];if(g){e=F[F[c+4>>2]+100>>2];Ia[F[e+8>>2]](e,g);e=F[c+156>>2];f=F[e+4>>2]}F[c+88>>2]=0;F[e+4>>2]=f&-2;break a}F[c+88>>2]=0}F[c+24>>2]=0;F[c+28>>2]=0;F[c+152>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;F[c+40>>2]=0;F[c+44>>2]=0;F[c+48>>2]=0;F[c+52>>2]=0;F[c+56>>2]=0;F[c+60>>2]=0;Wa(c+72|0,0,72);c=Ia[F[h+72>>2]](F[a+160>>2],F[b+44>>2],i,d|8)|0;if(!c){b=F[a+160>>2];d=F[b+28>>2];F[a+24>>2]=F[b+24>>2];F[a+28>>2]=d;d=F[b+36>>2];F[a+32>>2]=F[b+32>>2];F[a+36>>2]=d;d=F[b+44>>2];F[a+40>>2]=F[b+40>>2];F[a+44>>2]=d;d=F[b+52>>2];F[a+48>>2]=F[b+48>>2];F[a+52>>2]=d;F[a+56>>2]=F[b+56>>2];F[a+60>>2]=F[b+60>>2];F[a+72>>2]=F[b+72>>2];F[a+124>>2]=F[b+124>>2];d=F[b+120>>2];F[a+116>>2]=F[b+116>>2];F[a+120>>2]=d;d=F[b+112>>2];F[a+108>>2]=F[b+108>>2];F[a+112>>2]=d;d=F[b+96>>2];F[a+92>>2]=F[b+92>>2];F[a+96>>2]=d;d=F[b+88>>2];F[a+84>>2]=F[b+84>>2];F[a+88>>2]=d;d=F[b+80>>2];F[a+76>>2]=F[b+76>>2];F[a+80>>2]=d;F[a+100>>2]=F[b+100>>2];F[a+104>>2]=F[b+104>>2];F[a+128>>2]=F[b+128>>2];F[a+132>>2]=F[b+132>>2];F[a+136>>2]=F[b+136>>2];F[a+140>>2]=F[b+140>>2]}return c|0}function Rc(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}g=a-84|0;while(1){d=F[g>>2];if(!d){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=Db(d);D[b+40|0]=1;F[b+36>>2]=c;c=0;d=Ab(d,1297498450);if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}f=d;F[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){D[b+24|0]=c;c=F[f+12>>2];F[b+4>>2]=c;e=F[f+16>>2];F[b+8>>2]=e+c;F[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}F[b+12>>2]=e;F[b+20>>2]=0;F[b>>2]=0;if(!c){Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}e=Lm(c,b);f=F[b+28>>2];g:{if(e){if(!f){break g}F[b+28>>2]=0;c=Lm(c,b);f=F[b+28>>2];Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(G[b+24|0]|!f){break e}e=Xb(d);F[b+4>>2]=e;F[b+8>>2]=e+F[d+16>>2];f=F[b+32>>2];c=1;if(e){continue}break d}break}Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}if(F[d+4>>2]){F[d+4>>2]=0}break b}f=F[b+32>>2]}Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(d);d=163632}c=d;if(!d){c=163632}d=F[a>>2];F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<12?163632:F[c+12>>2]}function Kh(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}g=a-72|0;while(1){d=F[g>>2];if(!d){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=Db(d);D[b+40|0]=1;F[b+36>>2]=c;c=0;d=Ab(d,1719034226);if(!(!d|!F[d>>2])){F[d>>2]=F[d>>2]+1}f=d;F[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){D[b+24|0]=c;c=F[f+12>>2];F[b+4>>2]=c;e=F[f+16>>2];F[b+8>>2]=e+c;F[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}F[b+12>>2]=e;F[b+20>>2]=0;F[b>>2]=0;if(!c){Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}e=Jh(c,b);f=F[b+28>>2];g:{if(e){if(!f){break g}F[b+28>>2]=0;c=Jh(c,b);f=F[b+28>>2];Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(G[b+24|0]|!f){break e}e=Xb(d);F[b+4>>2]=e;F[b+8>>2]=e+F[d+16>>2];f=F[b+32>>2];c=1;if(e){continue}break d}break}Xa(F[b+32>>2]);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}if(F[d+4>>2]){F[d+4>>2]=0}break b}f=F[b+32>>2]}Xa(f);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(d);d=163632}c=d;if(!d){c=163632}d=F[a>>2];F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<16?163632:F[c+12>>2]}function sb(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=F[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=G[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=tb(a,H[b+2>>1]);if(d){break a}d=F[a+32>>2];h=1;b=b+4|0;continue}f=G[b+1|0];e=f+d|0;if(e>>>0>I[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Ya(H[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=G[d+1|0]|G[d|0]<<8;f=16;d=d+2|0;break c}e=G[d|0]|G[d+1|0]<<8;f=16;d=d+2|0;break c}e=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=G[d+2|0]|(G[d+1|0]<<8|G[d|0]<<16);d=d+3|0;break c}f=8;e=G[d|0]|(G[d+1|0]<<8|G[d+2|0]<<16);d=d+3|0;break c}e=G[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=H[b+2>>1]+c|0;m:{n:{switch(G[b+1|0]-1|0){case 0:D[f|0]=e;break m;case 1:E[f>>1]=e;break m;default:break n}}F[f>>2]=e}b=b+4|0;continue}break}F[a+32>>2]=d;d=0}if(h){if(F[a+20>>2]){b=F[a>>2];if(b){c=F[a+28>>2];Ia[F[c+8>>2]](c,b)}F[a>>2]=0}F[a+32>>2]=0;F[a+36>>2]=0}return d}function Wd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ga-16|0;Ga=i;a:{if(F[a+20>>2]){break a}b=F[a+48>>2];if(b>>>0<2){break a}m=a+56|0;k=F[40908];while(1){b=b<<2;if(I[F[(b+F[a+52>>2]|0)-4>>2]>>2]>=I[a+8>>2]){break a}g=F[(b+F[a+52>>2]|0)-4>>2];b=0;F[i+12>>2]=0;h=0;d=F[g>>2];f=F[g+4>>2];b:{if((d|0)==(f|0)){break b}j=f-d|0;l=j&3;e=0;c=0;if(f+(d^-1)>>>0>=3){j=j&-4;f=0;while(1){h=L(D[(c|3)+d|0],-1640531535)+L(L(D[(c|2)+d|0],-1640531535)+L(L(D[(c|1)+d|0],-1640531535)+L(L(D[c+d|0],-1640531535)+L(h,31)|0,31)|0,31)|0,31)|0;c=c+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(!l){break b}while(1){h=L(D[c+d|0],-1640531535)+L(h,31)|0;c=c+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}d=F[g+12>>2]<<4;c:{if(!d){e=0;break c}c=F[g+16>>2];e=0;while(1){e=L(D[c+(b|3)|0],-1640531535)+L(L(D[c+(b|2)|0],-1640531535)+L(L(D[c+(b|1)|0],-1640531535)+L(L(D[b+c|0],-1640531535)+L(e,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}Nf(m,g,e^h,i+12|0);b=F[a+48>>2];d:{if(!b){F[61608]=k;b=k;break d}b=F[(F[a+52>>2]+(b<<2)|0)-4>>2]}F[b+12>>2]=0;Ta(F[b+16>>2]);F[b+24>>2]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;Ta(F[b+28>>2]);F[b+28>>2]=0;F[b+20>>2]=0;F[b+24>>2]=0;b=F[a+48>>2];if(!b){break a}b=b-1|0;F[a+48>>2]=b;if(b>>>0>1){continue}break}}Ga=i+16|0}function gC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;f=Ga-16|0;Ga=f;j=1;h=1;a=Ao(b+28|0);g=F[a+4>>2];a:{b:{if((g|0)!=131072){if((g|0)!=65536|c>>>0>257){break a}a=c<<2;h=F[a+122816>>2];g=h+119104|0;a=F[a+122820>>2]+(h^-1)|0;break b}g=F[a+8>>2];i=G[g|0]|G[g+1|0]<<8;if(((i<<8|i>>>8)&65535)>>>0<=c>>>0){break a}g=g+(c<<1)|0;g=G[g+2|0]|G[g+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0<=257){a=g<<2;h=F[a+122816>>2];g=h+119104|0;a=F[a+122820>>2]+(h^-1)|0;break b}g=g-258|0;if(g>>>0>=I[a+16>>2]){break a}a=F[a+24>>2]+F[F[a+20>>2]+(g<<2)>>2]|0;g=a+1|0;a=G[a|0]}h=!a;if(!e|!a){break a}h=0;i=g;g=e-1|0;a=a>>>0>g>>>0?g:a;k=mf(d,i,a)+a|0,l=0,D[k|0]=l}c:{if(!h){break c}a=F[b+64>>2];d:{if(a){break d}while(1){h=F[b>>2];if(!h){a=163632;break d}a=ib(1,244);e:{if(a){g=Gf(a,h);h=F[b+64>>2];F[b+64>>2]=h?h:a;if(!h){break d}De(g);Ta(a);break e}a=163632;h=F[b+64>>2];F[b+64>>2]=h?h:163632;if(!h){break d}}a=F[b+64>>2];if(!a){continue}break}}if(!d){break c}j=0;if(!F[a>>2]|F[a+148>>2]!=-1){break c}b=uh(a,c);f:{if(b>>>0<=390){b=b<<2;a=F[b+115968>>2];b=F[b+115972>>2]+(a^-1)|0;a=a+109072|0;break f}Jd(f,F[a+64>>2],b-391|0);b=F[f+4>>2];a=F[f>>2]}if(!b){break c}c=a;a=e-1|0;a=a>>>0>>0?a:b;k=mf(d,c,a)+a|0,l=0,D[k|0]=l;j=1}Ga=f+16|0;return j|0} -function Qb(a,b,c,d){var e=0,f=0,g=0,h=M(0),i=M(0),j=0,k=0,l=0,m=M(0),n=M(0),o=M(0),p=M(0),q=M(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=F[a>>2];f=F[a+4>>2];r=F[f+20>>2];s=K[b>>3];g=F[f+16>>2];j=F[g+28>>2];if(!j){j=db(g);f=F[a+4>>2];g=F[f+16>>2]}t=F[f+24>>2];u=K[b+8>>3];b=F[g+28>>2];if(!b){b=db(g);f=F[a+4>>2];g=F[f+16>>2]}v=F[f+20>>2];w=K[c>>3];k=F[g+28>>2];if(!k){k=db(g);f=F[a+4>>2];g=F[f+16>>2]}x=F[f+24>>2];y=K[c+8>>3];c=F[g+28>>2];if(!c){c=db(g);f=F[a+4>>2];g=F[f+16>>2]}z=F[f+20>>2];h=M(K[d>>3]);l=F[g+28>>2];if(!l){l=db(g);f=F[a+4>>2];g=F[f+16>>2]}p=M(M(M(s)*M(r|0))/M(j>>>0));m=M(M(M(u)*M(t|0))/M(b>>>0));q=M(M(M(w)*M(v|0))/M(k>>>0));n=M(M(M(y)*M(x|0))/M(c>>>0));h=M(M(h*M(z|0))/M(l>>>0));b=e+16|0;i=M(M(K[d+8>>3])*M(F[f+24>>2]));a=F[g+28>>2];if(!a){a=db(g)}i=M(i/M(a>>>0));c=F[e+12>>2];a=F[e+8>>2];a:{if(G[e+4|0]){if(!F[b>>2]){Ia[F[a+12>>2]](a,c,b,J[e+28>>2],J[e+32>>2],F[a+32>>2]);F[e+16>>2]=1;d=F[e+32>>2];F[e+20>>2]=F[e+28>>2];F[e+24>>2]=d}Ia[F[a+24>>2]](a,c,b,p,m,q,n,h,i,F[a+44>>2]);break a}o=J[e>>2];h=M(M(i*o)+h);if(!F[e+16>>2]){Ia[F[a+12>>2]](a,c,b,J[e+28>>2],J[e+32>>2],F[a+32>>2]);F[e+16>>2]=1;d=F[e+32>>2];F[e+20>>2]=F[e+28>>2];F[e+24>>2]=d}Ia[F[a+24>>2]](a,c,b,M(M(m*o)+p),m,M(M(n*o)+q),n,h,i,F[a+44>>2])}J[e+32>>2]=i;J[e+28>>2]=h}function eo(a,b){var c=0,d=0,e=0,f=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}c=b;F[a+32>>2]=c;a:{b:{c:{while(1){D[a+24|0]=e;d=F[c+12>>2];F[a+4>>2]=d;e=F[c+16>>2];F[a+8>>2]=e+d;f=1073741823;F[a+28>>2]=0;if(e>>>0<=67108862){f=e<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}F[a+12>>2]=f;F[a+20>>2]=0;F[a>>2]=0;if(!d){Xa(c);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}d:{e:{if((e|0)<4){break e}F[a+12>>2]=f-4;f:{g:{c=G[d|0]|G[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break f;case 0:break g;default:break d}}if(!Pn(d,a)){break e}break d}if(On(d,a)){break d}}if(G[a+24|0]|!F[a+28>>2]){break c}d=Xb(b);F[a+4>>2]=d;F[a+8>>2]=d+F[b+16>>2];c=F[a+32>>2];e=1;if(d){continue}break b}break}h:{if(F[a+28>>2]){e=0;F[a+28>>2]=0;if(d>>>0>2]){break c}c=F[a+8>>2];i:{if(c>>>0>>0|c-d>>>0<4){break i}c=F[a+12>>2]-4|0;F[a+12>>2]=c;if((c|0)<=0){break i}e=1;j:{k:{c=G[d|0]|G[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break j;case 0:break k;default:break i}}e=Pn(d,a);break i}e=On(d,a)}c=F[a+28>>2];Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!e){break a}if(!c){break h}break a}Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b}c=F[a+32>>2]}Xa(c);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function Qd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=F[c+12>>2];d=F[b+120>>2];if(d){Ia[d|0](F[b+116>>2])}e=F[b+84>>2];if(e){while(1){h=F[e+4>>2];d=F[h+84>>2];a:{if(!d){break a}i=F[F[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){g=0;break b}while(1){f=F[d+8>>2];if(!f){break a}g=d;d=f;if((e|0)!=(d|0)){continue}break}}F[(g?g+8|0:h+84|0)>>2]=F[e+8>>2];d=F[e+20>>2];if(d){Ia[d|0](e)}cf(e);Ia[F[i+8>>2]](i,e);e=F[b+84>>2]}if(e){continue}break}}if(a){d=F[b+108>>2];if(d){while(1){g=F[d+4>>2];f=F[d+8>>2];e=F[f+8>>2];if(e){Ia[e|0](f)}e=F[F[c+12>>2]+60>>2];if(e){Ia[e|0](f)}e=F[f+40>>2];if(e){Ia[F[a+8>>2]](a,e)}F[f+40>>2]=0;Ia[F[a+8>>2]](a,f);Ia[F[a+8>>2]](a,d);d=g;if(d){continue}break}}F[b+108>>2]=0;F[b+112>>2]=0}F[b+88>>2]=0;c=F[b+48>>2];if(c){Ia[c|0](b)}if(F[b+36>>2]>0){d=0;while(1){f=d<<2;c=F[f+F[b+40>>2]>>2];g=F[F[c>>2]+100>>2];e=F[F[c+12>>2]+8>>2];if(e){Ia[e|0](c)}Ia[F[g+8>>2]](g,c);F[f+F[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=F[b+40>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+36>>2]=0;F[b+40>>2]=0;c=F[j+52>>2];if(c){Ia[c|0](b)}c=F[b+104>>2];c:{if(!c){break c}g=F[b+8>>2];d=F[c+28>>2];f=F[c+24>>2];if(f){Ia[f|0](c)}if(g&1024){break c}Ia[F[d+8>>2]](d,c)}F[b+104>>2]=0;c=F[b+128>>2];if(c){Ia[F[a+8>>2]](a,c);F[b+128>>2]=0}Ia[F[a+8>>2]](a,b)}function sf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(a&4){f=d>>31;e=(f^d)-f|0;a:{b:{c:{if((c|0)==1){if(!(a&2)){break c}break b}if(a&1){break b}}d:{a=L(c,7676)+b|0;if(!F[a+52>>2]){break d}c=F[a+60>>2];a=e-c|0;b=a>>31;if((a^b)-b>>>0>39){break d}e=(c|0)>48?c:48;break a}if(e>>>0<=53){e=(54-e>>>1&127)+e|0;break a}if(e>>>0>191){break a}b=e&63;if(b>>>0<10){break a}a=e&2147483584;if(b>>>0<=21){e=a|10;break a}e=b-42>>>0<12?a|54:e;break a}e:{f:{g:{h:{i:{f=F[(L(c,7676)+b|0)+52>>2];if(f){r=f&1;if((f|0)!=1){break i}i=98;f=e;break h}h=e+32&2147483584;f=e;break g}s=f&-2;i=98;m=(L(c,7676)+b|0)+56|0;f=e;while(1){n=F[(L(h|1,12)+m|0)+4>>2];j=e-n|0;o=j>>31;p=F[(L(h,12)+m|0)+4>>2];g=e-p|0;k=g>>31;g=(g^k)-k|0;q=(g|0)<(i|0);j=(j^o)-o|0;g=q?g:i;k=(j|0)<(g|0);i=k?j:g;f=k?n:q?p:f;h=h+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}if(r){l=F[((L(c,7676)+b|0)+L(h,12)|0)+60>>2];b=e-l|0;g=b>>31;f=((b^g)-g|0)<(i|0)?l:f}h=f+32&-64;if((e|0)<(f|0)){break f}}b=(h|48)>(e|0)?f:e;break e}b=(h-48|0)<(e|0)?f:e}if((c|0)==1){e=64;if((b|0)<64){break a}e=b+16&-64;break a}if(a&8){e=64;if((b|0)<64){break a}e=b+32&-64;break a}if((b|0)<=47){e=b- -64>>1;break a}if(b>>>0<=127){e=b+22&-64;break a}e=b+32&-64}d=(d|0)<0?0-e|0:e}return d}function kk(a){var b=0,c=0,d=0,e=0,f=0;if(a){c=F[a+100>>2];d=F[a>>2];if(d){Ia[F[c+8>>2]](c,d)}F[a>>2]=0;d=F[a+92>>2];if(d){ff(d,c);d=F[a+92>>2];if(d){Ia[F[c+8>>2]](c,d)}F[a+92>>2]=0}d=F[a+84>>2];if(d){Ia[F[c+8>>2]](c,d)}F[a+84>>2]=0;d=F[a+72>>2];if(d){while(1){e=b<<4;f=e+F[a+80>>2]|0;if(F[f+4>>2]==1){d=F[f+12>>2];if(d){Ia[F[c+8>>2]](c,d)}F[(e+F[a+80>>2]|0)+12>>2]=0;d=F[a+72>>2]}b=b+1|0;if(d>>>0>b>>>0){continue}break}}b=F[a+80>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+80>>2]=0;if(F[a+52>>2]){b=F[a+56>>2];d=0;while(1){e=F[b>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b>>2]=0;e=F[b+24>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b+24>>2]=0;b=b+36|0;d=d+1|0;if(d>>>0>2]){continue}break}}if(F[a+64>>2]){b=F[a+68>>2];d=0;while(1){e=F[b>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b>>2]=0;e=F[b+24>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b+24>>2]=0;b=b+36|0;d=d+1|0;if(d>>>0>2]){continue}break}}b=F[a+56>>2];if(b){Ia[F[c+8>>2]](c,b)}d=0;F[a+56>>2]=0;b=F[a+68>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+68>>2]=0;ff(a+112|0,c);b=F[a+104>>2];if(F[a+108>>2]){while(1){e=F[b>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b>>2]=0;if(F[b+4>>2]==1){e=F[b+12>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b+12>>2]=0}b=b+16|0;d=d+1|0;if(d>>>0>2]){continue}break}b=F[a+104>>2]}if(b){Ia[F[c+8>>2]](c,b)}F[a+104>>2]=0}}function Hm(a,b,c,d){var e=0,f=0,g=0;if(F[b+20>>2]){return 0}a:{f=a+6|0;g=F[b+4>>2];e=f-g|0;if(!((e|0)>=0&(e|0)<=(F[b+8>>2]-g|0))){break a}b:{c:{if((f|0)==(g|0)){F[b+4>>2]=e+f;break c}f=0;Wa(g,0,e);g=e;e=F[b+4>>2];F[b+4>>2]=g+e;if(!e){break b}}f=d<<8|(d&65280)>>>8;D[a+2|0]=f;D[a+3|0]=f>>>8;c=c<<8|(c&65280)>>>8;D[a|0]=c;D[a+1|0]=c>>>8;if(F[b+20>>2]){return 0}f=a+6|0;e=F[b+4>>2];c=f-e|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-e|0))){break a}d:{if((e|0)==(f|0)){F[b+4>>2]=c+f;break d}f=0;Wa(e,0,c);e=c;c=F[b+4>>2];F[b+4>>2]=e+c;if(!c){break b}}D[a+4|0]=0;D[a+5|0]=1;if(F[b+20>>2]){return 0}f=a+8|0;e=F[b+4>>2];c=f-e|0;if(!((c|0)>=0&(c|0)<=(F[b+8>>2]-e|0))){break a}e:{if((e|0)==(f|0)){c=c+f|0;F[b+4>>2]=c;break e}f=0;Wa(e,0,c);e=F[b+4>>2];c=e+c|0;F[b+4>>2]=c;if(!e){break b}}f=1;if(!(G[a+3|0]&16)){break b}f=0;if(F[b+20>>2]){break b}e=G[a+4|0]|G[a+5|0]<<8;g=(((e<<8|e>>>8)&65535)<<1)+2|0;e=((g+a|0)-a|0)+6|0;if((e|0)<0){break b}f=a+e|0;e=f-c|0;if(!((e|0)>=0&(e|0)<=(F[b+8>>2]-c|0))){break a}f:{if((c|0)==(f|0)){F[b+4>>2]=c+e;break f}f=0;Wa(c,0,e);c=b;b=F[b+4>>2];F[c+4>>2]=b+e;if(!b){break b}b=G[a+4|0]|G[a+5|0]<<8;g=(((b<<8|b>>>8)&65535)<<1)+2|0}a=a+g|0;b=d>>>8&16776960|d>>>24;D[a+4|0]=b;D[a+5|0]=b>>>8;f=1}return f}F[b+20>>2]=4;return 0}function Um(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ga-16|0;Ga=i;e=F[b+100>>2];g=G[a+2|0]|G[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=163632}g=qb(c,F[F[e+80>>2]+L(F[e+64>>2],20)>>2]);c=0;a:{if((g|0)==-1){break a}c=F[e+64>>2];F[b+40>>2]=1;F[b+4>>2]=c;f=F[F[b+8>>2]+100>>2];F[b+44>>2]=F[f+68>>2];h=(c|0)==F[f+64>>2]?G[(F[f+80>>2]+L(c,20)|0)+15|0]:h;F[b+12>>2]=8;D[b+24|0]=h;b:{f=b+4|0;if(Tc(f,i+12|0)){while(1){h=F[e+80>>2];c=F[f>>2];d=h+L(c,20)|0;if(!(G[d+12|0]&64)){break b}d=G[d+14|0];k=d&16?0:d&15;if(!k|!c){break b}l=h+L(c-1|0,20)|0;if(G[l+12|0]&8){break b}j=d;d=G[l+14|0];if((j^d)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(k|0)){break b}F[b+40>>2]=F[b+40>>2]+1;c=F[b+36>>2];if(c){F[b+36>>2]=c-2}if(Tc(f,i+12|0)){continue}break}}if(G[e+16|0]&64){wb(e,2,F[i+12>>2],F[e+64>>2]+1|0,0,1)}c=0;break a}d=G[a+4|0]|G[a+5|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}c=qb(d,F[h+L(c,20)>>2]);if((c|0)==-1){c=0;if(!(G[e+16|0]&64)){break a}wb(e,2,F[f>>2],F[e+64>>2]+1|0,0,1);c=0;break a}e=G[a+8|0]|G[a+9|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=163632}f=G[a+10|0]|G[a+11|0]<<8;if(f){j=((f<<8|f>>>8)&65535)+a|0}else{j=163632}a=G[a+6|0]|G[a+7|0]<<8;c=fh(d,b,g,c,j,(a<<8|a>>>8)&65535,F[b+4>>2])}Ga=i+16|0;return c}function $m(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ga-16|0;Ga=e;d=F[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0){break a}if(c-a>>>0<=11){break a}g=F[b+12>>2];f=g-12|0;F[b+12>>2]=f;if((f|0)<=0){break a}f=d;d=a+2|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break a}c=g-14|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;b:{if(!c){break b}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;c:{if(!c){break c}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;d:{if(!c){break d}c=((c<<8|c>>>8)&65535)+a|0;F[e+12>>2]=c;if(_m(c,b,e+12|0)){break d}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}d=G[a+6|0]|G[a+7|0]<<8;F[e+8>>2]=(d<<8|d>>>8)&65535;h=Zm(a+10|0,b,a,e+8|0)}Ga=e+16|0;return h}function th(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}h=a-8|0;while(1){c=F[h>>2];if(!c){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;D[b+40|0]=1;F[b+36>>2]=0;c=Ab(c,1835104368);if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}D[b+24|0]=0;F[b+32>>2]=c;e=F[c+12>>2];F[b+4>>2]=e;f=F[c+16>>2];F[b+8>>2]=e+f;F[b+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}F[b+12>>2]=d;F[b+20>>2]=0;F[b>>2]=0;b:{if(!e){Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}c:{d:{if((f|0)<6){break d}F[b+12>>2]=d-6;e:{f:{g=G[e|0]|G[e+1|0]<<8;switch((g<<8|g>>>8)&65535){case 0:break e;case 1:break f;default:break d}}if(f-6>>>0<26){break d}F[b+12>>2]=d-32;Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(F[c+4>>2]){F[c+4>>2]=0}break b}d=G[e+2|0]|G[e+3|0]<<8;Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if((d|0)!=80){break c}if(F[c+4>>2]){F[c+4>>2]=0}break b}Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(c);c=163632}d=F[a>>2];c=c?c:163632;F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<6?163632:F[c+12>>2]}function Un(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=L(c,20)+a|0;j=H[e+16>>1];if(!j){break a}f=G[e+18|0];E[e+16>>1]=0;g=j<<16>>16;e=g+c|0;if(e>>>0>=b>>>0){break a}Un(a,b,e,d);if(f&2){if((d&-2)==4){b=L(c,20)+a|0;F[b+12>>2]=F[b+12>>2]+F[(L(e,20)+a|0)+12>>2];return}b=L(c,20)+a|0;F[b+8>>2]=F[b+8>>2]+F[(L(e,20)+a|0)+8>>2];return}h=L(c,20)+a|0;b=L(e,20)+a|0;f=F[h+8>>2]+F[b+8>>2]|0;F[h+8>>2]=f;b=F[h+12>>2]+F[b+12>>2]|0;F[h+12>>2]=b;b:{if((d&-3)!=4){e=e+1|0;if(e>>>0>=c+1>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=L(d,20)+a|0;b=F[e+4>>2]+b|0;f=F[e>>2]+f|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=L(e,20)+a|0;b=(((F[d+4>>2]+b|0)+F[d+24>>2]|0)+F[d+44>>2]|0)+F[d- -64>>2]|0;f=F[d+60>>2]+(F[d+40>>2]+(F[d+20>>2]+(F[d>>2]+f|0)|0)|0)|0;d=e+3|0;e=e+4|0;if((c|0)!=(d|0)){continue}break}break b}if(c>>>0<=e>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=L(d,20)+a|0;b=b-F[e+4>>2]|0;f=f-F[e>>2]|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=L(e,20)+a|0;b=b-(((F[d+4>>2]+F[d+24>>2]|0)+F[d+44>>2]|0)+F[d- -64>>2]|0)|0;f=f-(F[d+60>>2]+(F[d+40>>2]+(F[d>>2]+F[d+20>>2]|0)|0)|0)|0;e=e+4|0;if((e|0)!=(c|0)){continue}break}}F[h+8>>2]=f;F[h+12>>2]=b}}function fe(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=F[a+532>>2];if(c){h=F[c+4>>2];e=F[c>>2];f=F[a+100>>2];b=F[c+24>>2];if(b){Ia[F[f+8>>2]](f,b)}F[c+24>>2]=0;if(e>>>0>=2){Wa(c+28|0,0,(e<<2)-4|0)}b=F[c+216>>2];if(b){Ia[F[f+8>>2]](f,b)}F[c+216>>2]=0;b=F[c+148>>2];if(b){Ia[F[f+8>>2]](f,b)}F[c+148>>2]=0;b=F[c+288>>2];if(b){Ia[F[f+8>>2]](f,b)}F[c+288>>2]=0;a:{if(!e){break a}if(e-1>>>0>=3){n=e&-4;i=c+212|0;j=c+144|0;k=c+284|0;while(1){b=d<<2;F[b+i>>2]=0;F[b+j>>2]=0;F[b+k>>2]=0;g=b|4;F[g+i>>2]=0;F[g+j>>2]=0;F[g+k>>2]=0;g=b|8;F[g+i>>2]=0;F[g+j>>2]=0;F[g+k>>2]=0;b=b|12;F[b+i>>2]=0;F[b+j>>2]=0;F[b+k>>2]=0;d=d+4|0;l=l+4|0;if((l|0)!=(n|0)){continue}break}}b=e&3;if(!b){break a}while(1){e=(d<<2)+c|0;F[e+284>>2]=0;F[e+144>>2]=0;F[e+212>>2]=0;d=d+1|0;m=m+1|0;if((b|0)!=(m|0)){continue}break}}d=F[c+136>>2];if(d){Ia[F[f+8>>2]](f,d)}F[c+136>>2]=0;F[c+140>>2]=0;b:{if(!h){break b}d=0;while(1){e=(d<<2)+c|0;b=F[e+8>>2];if(b){Ia[F[f+8>>2]](f,b)}F[e+8>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}if(!h){break b}d=0;while(1){e=L(d,12)+c|0;b=F[e+92>>2];if(b){Ia[F[f+8>>2]](f,b)}D[e+88|0]=0;F[e+92>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}c=F[a+532>>2];if(c){Ia[F[f+8>>2]](f,c)}F[a+532>>2]=0}}function zl(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{b:{c:{if(!b){break c}if(!F[a+96>>2]){return 34}F[b>>2]=0;e=F[a+100>>2];g=F[F[a+96>>2]+12>>2];d=F[g+40>>2];d:{if((d|0)<=0){if(!d){break d}break c}f=Ia[F[e+4>>2]](e,d)|0;if(!f){return 64}Wa(f,0,d)}e:{d=Ia[F[e+4>>2]](e,12)|0;if(d){D[d|0]=0;D[d+1|0]=0;D[d+2|0]=0;D[d+3|0]=0;D[d+4|0]=0;D[d+5|0]=0;D[d+6|0]=0;D[d+7|0]=0;D[d+8|0]=0;D[d+9|0]=0;D[d+10|0]=0;D[d+11|0]=0;F[f>>2]=a;c=Ia[F[e+4>>2]](e,36)|0;if(c){break e}c=64;break b}c=64;if(f){break a}break c}D[c|0]=0;D[c+1|0]=0;D[c+2|0]=0;D[c+3|0]=0;D[c+4|0]=0;D[c+5|0]=0;D[c+6|0]=0;D[c+7|0]=0;D[c+32|0]=0;D[c+33|0]=0;D[c+34|0]=0;D[c+35|0]=0;D[c+24|0]=0;D[c+25|0]=0;D[c+26|0]=0;D[c+27|0]=0;D[c+28|0]=0;D[c+29|0]=0;D[c+30|0]=0;D[c+31|0]=0;D[c+16|0]=0;D[c+17|0]=0;D[c+18|0]=0;D[c+19|0]=0;D[c+20|0]=0;D[c+21|0]=0;D[c+22|0]=0;D[c+23|0]=0;D[c+8|0]=0;D[c+9|0]=0;D[c+10|0]=0;D[c+11|0]=0;D[c+12|0]=0;D[c+13|0]=0;D[c+14|0]=0;D[c+15|0]=0;F[f+40>>2]=c;c=F[g+56>>2];if(c){c=Ia[c|0](f)|0;if(c){break b}}F[b>>2]=f;F[d+8>>2]=f;b=F[a+112>>2];F[d>>2]=b;c=0;F[d+4>>2]=0;F[(b?b+4|0:a+108|0)>>2]=d;F[a+112>>2]=d}return c}Ia[F[e+8>>2]](e,d)}a=F[f+40>>2];if(a){Ia[F[e+8>>2]](e,a)}F[f+40>>2]=0;Ia[F[e+8>>2]](e,f);return c}function Jj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=F[a+736>>2];if(d){f=F[F[d+12>>2]>>2];c=F[a+100>>2];b=F[d+4>>2];if(b){Ia[F[c+8>>2]](c,b)}F[d+4>>2]=0;b=F[d+8>>2];if(b){Ia[F[c+8>>2]](c,b)}F[d+8>>2]=0;b=F[d+20>>2];if(b){Ia[F[c+8>>2]](c,b)}F[d+20>>2]=0;b=F[d+12>>2];if(b){Ia[F[c+8>>2]](c,b)}F[d+12>>2]=0;b=F[d+28>>2];if(b){if(f){while(1){g=e<<3;b=F[(g+b|0)+4>>2];if(b){Ia[F[c+8>>2]](c,b)}b=F[d+28>>2];F[(g+b|0)+4>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(b){Ia[F[c+8>>2]](c,b)}F[d+28>>2]=0}b=F[d+40>>2];if(b){dg(F[a+100>>2],b);b=F[F[d+40>>2]+28>>2];if(b){Ia[F[c+8>>2]](c,b)}b=F[d+40>>2];F[b+28>>2]=0;b=F[b+24>>2];if(b){Ia[F[c+8>>2]](c,b)}b=F[d+40>>2];F[b+24>>2]=0;if(b){Ia[F[c+8>>2]](c,b)}F[d+40>>2]=0}b=F[d+52>>2];if(b){dg(F[a+100>>2],b);b=F[F[d+52>>2]+28>>2];if(b){Ia[F[c+8>>2]](c,b)}b=F[d+52>>2];F[b+28>>2]=0;b=F[b+24>>2];if(b){Ia[F[c+8>>2]](c,b)}b=F[d+52>>2];F[b+24>>2]=0;if(b){Ia[F[c+8>>2]](c,b)}F[d+52>>2]=0}b=F[d+56>>2];if(b){dg(F[a+100>>2],b+4|0);a=F[F[d+56>>2]+24>>2];if(a){Ia[F[c+8>>2]](c,a)}a=F[d+56>>2];F[a+24>>2]=0;if(a){Ia[F[c+8>>2]](c,a)}F[d+56>>2]=0}a=F[d+64>>2];if(a){Ia[F[c+8>>2]](c,a)}F[d+64>>2]=0;a=F[d+72>>2];if(a){Ia[F[c+8>>2]](c,a)}F[d+72>>2]=0;if(d){Ia[F[c+8>>2]](c,d)}}}function Tn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=F[a+100>>2];c=F[g+64>>2];while(1){c=F[g+80>>2]+L(c,20)|0;e=F[c>>2];a:{if(!(F[b>>2]>>>(e>>>4)&1)|!(F[b+4>>2]>>>e&1)|(!(F[b+8>>2]>>>(e>>>9)&1)|!(F[a+120>>2]&F[c+4>>2]))){break a}f=F[a+132>>2];c=H[c+12>>1];if(f&c&14){break a}b:{if(!(c&8)){break b}if(f&16){c=F[a+108>>2];d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65538){break a}d=G[c+12|0]|G[c+13|0]<<8;if(d){c=c+((d<<8|d>>>8)&65535)|0}else{c=163632}if((G[c|0]|G[c+1|0]<<8)!=256){break a}d=c;f=f>>>16|0;h=(c+(f<<2)|0)+4|0;c=G[c+2|0]|G[c+3|0]<<8;c=f>>>0<((c<<8|c>>>8)&65535)>>>0?h:163632;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((qb(c?d+c|0:163632,e)|0)!=-1){break b}break a}e=f&65280;if(!e){break b}if((e|0)!=(c&65280)){break a}}c=0;f=F[b+16>>2];if(!f){break a}while(1){e=c>>>0>>0?F[b+20>>2]+L(c,20)|0:163632;d=F[a+100>>2];d=F[F[d+80>>2]+L(F[d+64>>2],20)>>2];if(!(!(F[e+8>>2]>>>(d>>>4)&1)|!(F[e+12>>2]>>>d&1)|!(F[e+16>>2]>>>(d>>>9)&1))){if(Ia[F[e+4>>2]](F[e>>2],a)|0){break a}f=F[b+16>>2]}c=c+1|0;if(f>>>0>c>>>0){continue}break}}c=F[g+64>>2]-1|0;F[g+64>>2]=c;if((c|0)>=0){continue}break}}function bo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=id(a,b);f=G[g+6|0]|G[g+7|0]<<8;if(f){a=g+((f<<8|f>>>8)&65535)|0}else{a=163632}b=65535;a=G[a|0]|G[a+1|0]<<8;e=0;a:{b:{c:{if(!a){break c}i=(a<<8|a>>>8)&65535;d:{e:{if(!f){a=0;e=1;g=G[163635];f=H[81816];h=G[163634];if((((f?g:G[163633])&255)<<16|(f?h:G[163632])<<24|((f?G[163636]:h)&255)<<8|(f?G[163637]:g)&255)==(c|0)){b=0;if(d){break b}break a}f=(f<<8|f>>>8)&65535;g=i>>>0>1?i:1;while(1){a=a+1|0;if((g|0)!=(a|0)){e=a>>>0>>0?L(a,6)+163634|0:163632;e=H[e>>1]|H[e+2>>1]<<16;if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))!=(c|0)){continue}break e}break}e=a>>>0>>0;break c}e=1;a=0;f=g+((f<<8|f>>>8)&65535)|0;g=G[f|0]|G[f+1|0]<<8;h=g?f+2|0:163632;h=G[h|0]|G[h+1|0]<<8|(G[h+2|0]<<16|G[h+3|0]<<24);if((h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))!=(c|0)){break d}b=0;if(d){break b}break a}e=a>>>0>>0;b=a;if(d){break b}break a}g=(g<<8|g>>>8)&65535;h=i>>>0>1?i:1;f:{while(1){a=a+1|0;if((h|0)==(a|0)){break f}e=a>>>0>>0?(f+L(a,6)|0)+2|0:163632;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))!=(c|0)){continue}break}e=a>>>0>>0;b=a;if(d){break b}break a}e=a>>>0>>0}if(!d){break a}}F[d>>2]=b}return e}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}d=F[a+96>>2];if(!d){return 6}h=F[d+8>>2];a:{b:{i=F[d+12>>2];c=F[i+44>>2];c:{if((c|0)<=0){g=6;f=h;if(!c){break c}break b}e=Ia[F[h+4>>2]](h,c)|0;if(!e){g=64;break b}Wa(e,0,c);d=F[a+96>>2];f=F[d+8>>2];i=F[d+12>>2]}F[e+4>>2]=a;F[e>>2]=F[d+4>>2];g=64;d:{c=Ia[F[f+4>>2]](f,44)|0;e:{if(!c){break e}D[c|0]=0;D[c+1|0]=0;D[c+2|0]=0;D[c+3|0]=0;D[c+4|0]=0;D[c+5|0]=0;D[c+6|0]=0;D[c+7|0]=0;D[c+40|0]=0;D[c+41|0]=0;D[c+42|0]=0;D[c+43|0]=0;D[c+32|0]=0;D[c+33|0]=0;D[c+34|0]=0;D[c+35|0]=0;D[c+36|0]=0;D[c+37|0]=0;D[c+38|0]=0;D[c+39|0]=0;D[c+24|0]=0;D[c+25|0]=0;D[c+26|0]=0;D[c+27|0]=0;D[c+28|0]=0;D[c+29|0]=0;D[c+30|0]=0;D[c+31|0]=0;D[c+16|0]=0;D[c+17|0]=0;D[c+18|0]=0;D[c+19|0]=0;D[c+20|0]=0;D[c+21|0]=0;D[c+22|0]=0;D[c+23|0]=0;D[c+8|0]=0;D[c+9|0]=0;D[c+10|0]=0;D[c+11|0]=0;D[c+12|0]=0;D[c+13|0]=0;D[c+14|0]=0;D[c+15|0]=0;F[e+156>>2]=c;if(!(G[F[d>>2]+1|0]&2)){d=Ia[F[f+4>>2]](f,96)|0;if(!d){break e}Wa(d+4|0,0,92);F[d>>2]=f;F[c>>2]=d}f=F[i+64>>2];if(!f){break d}g=Ia[f|0](e)|0;if(!g){break d}}cf(e);Ia[F[h+8>>2]](h,e);return g}F[e+8>>2]=F[a+84>>2];F[a+84>>2]=e;g=0;if(!b){break a}F[b>>2]=e;break a}if(!b){break a}F[b>>2]=0;return g}return g}function zg(a,b,c,d){var e=0,f=0,g=0,h=0;g=F[a+8264>>2];a:{if(g>>>0>b>>>0){g=0;if(Za(F[a>>2],F[a+68>>2])){break a}f=a+12|0;b:{if(!f|!F[f+32>>2]|!F[f+36>>2]){break b}e=F[f+28>>2];if(!e|(f|0)!=F[e>>2]|F[e+4>>2]-16180>>>0>31){break b}F[e+52>>2]=0;F[e+44>>2]=0;F[e+48>>2]=0;F[e+32>>2]=0;F[f+8>>2]=0;F[f+20>>2]=0;F[f+24>>2]=0;h=F[e+12>>2];if(h){F[f+48>>2]=h&1}F[e+60>>2]=0;F[e+64>>2]=0;F[e+36>>2]=0;F[e+24>>2]=32768;F[e+16>>2]=0;F[e+4>>2]=16180;F[e+8>>2]=0;F[e+7108>>2]=1;F[e+7112>>2]=-1;f=e+1332|0;F[e+112>>2]=f;F[e+84>>2]=f;F[e+80>>2]=f}F[a+28>>2]=0;F[a+12>>2]=a+72;F[a+16>>2]=0;e=a+8264|0;F[a+8272>>2]=e;F[a+24>>2]=a+4168;F[a+8268>>2]=e;F[e>>2]=0}c:{if(b>>>0>g>>>0){b=b-g|0;h=F[a+8268>>2];e=F[a+8272>>2]-h|0;f=b>>>0>e>>>0;e=f?e:b;F[a+8268>>2]=h+e;F[a+8264>>2]=e+g;if(f){while(1){if(cl(a)){return 0}b=b-e|0;f=F[a+8268>>2];e=F[a+8272>>2]-f|0;g=b>>>0>e>>>0;e=g?e:b;F[a+8268>>2]=f+e;F[a+8264>>2]=F[a+8264>>2]+e;if(g){continue}break}}if(d){break c}return 0}if(d){break c}return 0}g=0;while(1){f=F[a+8268>>2];e=F[a+8272>>2]-f|0;b=d>>>0>e>>>0?e:d;c=Ya(c,f,b);F[a+8268>>2]=b+F[a+8268>>2];F[a+8264>>2]=b+F[a+8264>>2];g=b+g|0;if(d>>>0<=e>>>0){break a}c=b+c|0;d=d-b|0;if(!cl(a)){continue}break}}return g}function Sc(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}g=a-24|0;while(1){c=F[g>>2];if(!c){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;d=Db(c);D[b+40|0]=1;F[b+36>>2]=d;c=Ab(c,1330851634);if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}D[b+24|0]=0;F[b+32>>2]=c;e=F[c+12>>2];F[b+4>>2]=e;f=F[c+16>>2];F[b+8>>2]=e+f;F[b+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}F[b+12>>2]=d;F[b+20>>2]=0;F[b>>2]=0;b:{if(!e){Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}c:{if((f|0)<78){break c}F[b+12>>2]=d-78;e=G[e|0]|G[e+1|0]<<8;d:{if(!e){break d}if(f-78>>>0<8){break c}F[b+12>>2]=d-86;e=e<<8|e>>>8;if((e&65535)>>>0<2){break d}if(f-86>>>0<10){break c}F[b+12>>2]=d-96;if((e&65535)>>>0<5){break d}if((f&-4)==96){break c}F[b+12>>2]=d-100}Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if(F[c+4>>2]){F[c+4>>2]=0}break b}Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;Xa(c);c=163632}d=F[a>>2];c=c?c:163632;F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<78?163632:F[c+12>>2]}function Pn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{e=F[b+4>>2];b:{if(e>>>0>a>>>0){break b}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}g=F[b+12>>2];d=g-2|0;F[b+12>>2]=d;if((d|0)<=0){break b}d=a+2|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<2){break b}g=g-4|0;F[b+12>>2]=g;if((g|0)<=0){break b}f=1;d=G[d|0]|G[d+1|0]<<8;if(!d){break b}d=(d<<8|d>>>8)&65535;h=d>>>0>1?d:1;g=d-1|0;a=a+4|0;d=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>c>>>0){return 0}if(c-a>>>0<6){return 0}c=F[b+12>>2]-6|0;F[b+12>>2]=c;if((c|0)<=0){return 0}e=F[b+32>>2];c=F[e+12>>2];F[b+4>>2]=c;e=c+F[e+16>>2]|0;F[b+8>>2]=e;c:{if(d>>>0>=g>>>0){break c}f=c;c=d>>>0>>0?a:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){F[b+4>>2]=0;F[b+8>>2]=0;break c}F[b+4>>2]=c;e=e-c|0;f=G[c+2|0]|G[c+3|0]<<8;f=(f<<8|f>>>8)&65535;F[b+8>>2]=c+(e>>>0>>0?e:f)}F[61902]=0;c=Nn(a,b);e=F[61902];F[61902]=0;if((e|0)==1){break a}if(!c){a=F[b+32>>2];c=F[a+12>>2];F[b+4>>2]=c;F[b+8>>2]=c+F[a+16>>2];return 0}f=G[a+2|0]|G[a+3|0]<<8;c=F[b+32>>2];e=F[c+12>>2];F[b+4>>2]=e;c=F[c+16>>2]+e|0;F[b+8>>2]=c;a=((f<<8|f>>>8)&65535)+a|0;f=1;d=d+1|0;if((h|0)!=(d|0)){continue}break}}return f}a=Z()|0;Y()|0;c=F[b+32>>2];e=F[c+12>>2];F[b+4>>2]=e;F[b+8>>2]=e+F[c+16>>2];$(a|0);V()}function Lb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=b;l=-2147483648;h=Ga-16|0;Ga=h;b=G[a|0];a:{if(!b){d=a;break a}d=a;b:{while(1){b=b<<24>>24;if(!((b|0)==32|b-9>>>0<5)){break b}b=G[d+1|0];d=d+1|0;if(b){continue}break}break a}c:{b=G[d|0];switch(b-43|0){case 0:case 2:break c;default:break a}}o=(b|0)==45?-1:0;d=d+1|0}while(1){d:{b=-48;c=D[d|0];e:{if((c-48&255)>>>0<10){break e}b=-87;if((c-97&255)>>>0<26){break e}b=-55;if((c-65&255)>>>0>25){break d}}m=b+c|0;if((m|0)>=10){break d}b=0;c=b;b=EC(e,b,0,0);f=Ha;k=EC(j,0,10,0);i=Ha;g=b;b=0;c=b;g=g+b|0;b=b+f|0;f=g;g=g>>>0>>0?b+1|0:b;b=EC(e,c,10,0)+i|0;c=Ha;c=b>>>0>>0?c+1|0:c;i=b;b=g;f=c+f|0;F[h+8>>2]=f;F[h+12>>2]=f>>>0>>0?b+1|0:b;F[h>>2]=k;F[h+4>>2]=i;b=1;f:{if(F[h+8>>2]|F[h+12>>2]){break f}k=EC(j,e,10,0);i=Ha;g=m>>31;f=g^-1;c=m;if((i|0)==(f|0)&k>>>0>(c^-1)>>>0|i>>>0>f>>>0){break f}b=i+g|0;e=c+k|0;b=e>>>0>>0?b+1|0:b;j=e;e=b;q=1;b=p}d=d+1|0;p=b;continue}break}if(n){F[n>>2]=q?d:a}g:{h:{i:{if(p){F[61729]=68;j=-2147483648;e=0;break i}if(!e&j>>>0<2147483648){break h}}if(!o){F[61729]=68;l=2147483647;break g}if(!e&j>>>0<=2147483648){break h}F[61729]=68;break g}a=o;l=(a^j)-a|0}Ga=h+16|0;return l}function yw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;e=Ga-464|0;Ga=e;f=b+8|0;g=F[f+4>>2];F[e+16>>2]=F[f>>2];F[e+20>>2]=g;F[e+40>>2]=F[b+32>>2];f=F[b+28>>2];F[e+32>>2]=F[b+24>>2];F[e+36>>2]=f;f=F[b+20>>2];F[e+24>>2]=F[b+16>>2];F[e+28>>2]=f;f=F[b+4>>2];g=F[b>>2];F[e+16>>2]=2;F[e+8>>2]=g;F[e+12>>2]=f;a:{switch(F[b+8>>2]-7|0){case 0:case 3:F[e+16>>2]=3;break;default:break a}}$c(a,e+448|0);b:{if(F[e+456>>2]!=3){b=162;break b}i=F[a>>2];g=F[e+448>>2]+1|0;F[a>>2]=g;j=F[a+8>>2];h=F[e+452>>2]-1|0;F[a+8>>2]=h;f=e+48|0;c:{if(g>>>0>=h>>>0){break c}g=e+432|0;f=e+48|0;while(1){$c(a,e+432|0);if(!F[e+440>>2]){break c}if(f>>>0>>0){h=F[e+436>>2];F[f>>2]=F[e+432>>2];F[f+4>>2]=h;F[f+8>>2]=F[e+440>>2]}f=f+12|0;if(I[a>>2]>2]){continue}break}}F[a+8>>2]=j;F[a>>2]=i;f=f-(e+48|0)|0;if((f|0)<0){b=162;break b}f=(f>>>0)/12|0;g=F[b+24>>2];g=f>>>0>>0?f:g;d:{if(F[b+8>>2]==7){break d}b=F[b+28>>2];if(!b){break d}D[b+F[c>>2]|0]=g}e:{if(g){h=G[e+28|0];f=e+48|0;while(1){F[a>>2]=F[f>>2];F[a+8>>2]=F[f+4>>2];b=Jk(a,e+8|0,c,d,0);if(b){break e}F[e+24>>2]=h+F[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}F[a+8>>2]=j;F[a>>2]=i}Ga=e+464|0;return b|0}function oo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=F[b+4>>2];a:{if(i>>>0>a>>>0){break a}h=F[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break a}e=F[b+12>>2];d=e-2|0;F[b+12>>2]=d;if((d|0)<=0){break a}e=e-4|0;F[b+12>>2]=e;if((e|0)<=0){break a}d=G[a|0]|G[a+1|0]<<8;if(!d){break a}f=a+2|0;if(f>>>0>>0|f>>>0>h>>>0){break a}g=h-f|0;d=(d<<8|d>>>8)&65535;f=L(d,3);if(g>>>0>>0){break a}f=e-f|0;F[b+12>>2]=f;if((f|0)<=0){break a}g=d>>>0>1?d:1;k=F[b+36>>2];e=0;while(1){d=L(e,3)+a|0;j=G[d+2|0]|G[d+3|0]<<8;if(k>>>0<=((j<<8|j>>>8)&65535)>>>0|G[d+4|0]>=c>>>0){break a}e=e+1|0;if((g|0)!=(e|0)){continue}break}c=G[a|0]|G[a+1|0]<<8;if(!c|(G[a+2|0]|G[a+3|0]<<8)){break a}d=c<<8|c>>>8;c=d&65535;e=1;if((d&65535)>>>0>1){while(1){d=L(e,3)+a|0;g=c>>>0>e-1>>>0?d-1|0:163632;g=G[g|0]|G[g+1|0]<<8;d=c>>>0>e>>>0?d+2|0:163632;d=G[d|0]|G[d+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=(L(c,3)+a|0)+2|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<2){break a}c=f-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=a;a=G[a|0]|G[a+1|0]<<8;a=a?(c+L((a<<8|a>>>8)&65535,3)|0)-1|0:163632;a=G[a+3|0]|G[a+4|0]<<8;l=F[b+36>>2]==((a<<8|a>>>8)&65535)}return l}function Bu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>I[b+160>>2]){kb(b,8)}c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0<=F[b+160>>2]-a>>>0&c>>>0>8207)){kb(b,8)}c=G[a+8204|0]|G[a+8205|0]<<8|(G[a+8206|0]<<16|G[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(F[b+160>>2]-d>>>0)/12>>>0){kb(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);j=G[d+1|0]<<16|G[d|0]<<24;a=G[d+3|0]|(j|G[d+2|0]<<8);k=G[d+5|0]<<16|G[d+4|0]<<24;c=G[d+7|0]|(k|G[d+6|0]<<8);if(a>>>0>c>>>0){kb(b,8)}if(!(!i|a>>>0>e>>>0)){kb(b,8)}c:{if(F[b+164>>2]<=0){break c}l=F[b+172>>2];e=c-a|0;if(!(l>>>0>=e>>>0&l-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){kb(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(G[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){kb(b,8)}if(!(G[(a>>>3&8191)+h|0]<<(a&7)&128)){kb(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){kb(b,8)}if(!e){break c}while(1){if(G[(a>>>3&8191)+h|0]<<(a&7)&128){kb(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function Xo(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=M(0),i=M(0);f=Ga-96|0;Ga=f;g=F[b+24>>2];b=F[b+28>>2];F[61902]=0;c=ha(643,g|0,c|0,b|8)|0;b=F[61902];F[61902]=0;a:{b:{if((b|0)!=1){c:{d:{if(c){break d}c=F[g+84>>2];if(F[c+72>>2]!=1869968492){break d}g=F[26749];F[f+88>>2]=F[26748];F[f+92>>2]=g;g=F[26747];F[f+80>>2]=F[26746];F[f+84>>2]=g;g=F[26745];F[f+72>>2]=F[26744];F[f+76>>2]=g;h=J[a+32>>2];F[f+32>>2]=0;F[f+36>>2]=0;F[f+40>>2]=0;F[f+44>>2]=0;F[f+48>>2]=0;F[f+52>>2]=0;F[f+56>>2]=0;F[f+60>>2]=0;a=f- -64|0;F[a>>2]=0;F[a+4>>2]=0;F[f+24>>2]=0;F[f+28>>2]=0;F[f+20>>2]=e;F[f+16>>2]=d;J[f+8>>2]=h;F[61902]=0;D[f+12|0]=h==M(0);ha(28,c+108|0,f+72|0,f+8|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break c}if(!F[f+24>>2]){break d}c=f+24|0;d=F[f+20>>2];a=F[f+16>>2];i=J[f+28>>2];h=J[f+32>>2];if(!(i==J[f+36>>2]&h==J[f+40>>2])){e=F[a+36>>2];g=F[a+16>>2];F[61902]=0;ja(g|0,a|0,d|0,c|0,M(i),M(h),e|0);e=F[61902];F[61902]=0;if((e|0)==1){break b}}e=F[a+48>>2];g=F[a+28>>2];F[61902]=0;ba(g|0,a|0,d|0,c|0,e|0);a=F[61902];F[61902]=0;if((a|0)==1){break b}}yb();Ga=f+96|0;return}a=Z()|0;Y()|0;Gh(f+8|0);break a}a=Z()|0;Y()|0;break a}ca(0)|0;Y()|0;Hb();V()}yb();$(a|0);V()}function vd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Ga+-64|0;Ga=d;e=F[a+11720>>2];l=!(G[F[a+11676>>2]+5|0]?G[a+11665|0]:1);f=F[a+11724>>2];if(!(l|(f|0)!=(c|0)?0:(e|0)==(b|0))){pg(a,e,f,b,c,d+20|0,d+16|0);h=F[d+20>>2];i=h+F[a+11720>>2]|0;F[d+8>>2]=i;f=F[d+16>>2];e=f+F[a+11724>>2]|0;F[d+12>>2]=e;f=c+f|0;h=b+h|0;if(G[a+11667|0]){F[d+56>>2]=1;g=F[a+11732>>2];F[d+24>>2]=F[a+11728>>2];F[d+28>>2]=g;if(!G[a+20|0]){Nd(a,F[a+11736>>2],F[a+11740>>2])}j=Ua(F[a+11644>>2],i);k=Ua(F[a+11648>>2],e);g=Ac(a+8|0,e);j=j+k|0;m=d,n=(Ua(F[F[a>>2]+64>>2],j)+Ua(F[F[a>>2]+72>>2],g)|0)+F[a+11656>>2]|0,F[m+32>>2]=n;m=d,n=(Ua(F[F[a>>2]+68>>2],j)+Ua(F[F[a>>2]+76>>2],g)|0)+F[a+11660>>2]|0,F[m+36>>2]=n;g=F[a+4>>2];Ia[F[g>>2]](g,d+24|0);g=F[d+32>>2];j=F[d+36>>2];k=i;i=0;F[a+11704>>2]=k|i;F[a+11708>>2]=e;F[a+11728>>2]=g;F[a+11732>>2]=j;F[a+11712>>2]=h|i;F[a+11716>>2]=f;D[a+11664|0]=1;D[a+11667|0]=0}if(G[a+11744|0]){ke(a,a+8|0,d+8|0,h,f,0)}F[a+11748>>2]=2;D[a+11744|0]=1;e=F[d+12>>2];F[a+11752>>2]=F[d+8>>2];F[a+11756>>2]=e;F[a+11760>>2]=h;F[a+11764>>2]=f;if(l){le(a+8|0,F[a+11668>>2],F[a+11672>>2],F[a+11676>>2],F[a+11680>>2],0)}F[a+11724>>2]=c;F[a+11720>>2]=b}Ga=d- -64|0}function gd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ga-16|0;Ga=f;k=F[b+28>>2];F[a+28>>2]=0;F[a+32>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a+12>>2]=0;F[a+16>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;F[a>>2]=b;F[a+4>>2]=F[b+8>>2];a:{b:{c:{if(d){e=Bb(b,f+12|0);if(F[f+12>>2]){break b}d=5;break c}e=fb(b,f+12|0);if(F[f+12>>2]){break b}d=3}F[a+8>>2]=d;d=0;if(!e){break a}g=Jb(b,f+12|0);if(F[f+12>>2]){break b}if((g-5&255)>>>0<=251){F[f+12>>2]=8;break b}D[a+16|0]=g;F[a+12>>2]=e;g=g&255;F[a+20>>2]=F[a+8>>2]+(F[a+4>>2]+L(g,e+1|0)|0);e=Fb(b,L(e,g));F[f+12>>2]=e;if(e){break b}i=Ga-16|0;Ga=i;l=Gb(F[a>>2],i+12|0,G[a+16|0]);d:{if(l){break d}j=G[a+16|0];if(!j){break d}e=0;if(j-1>>>0>=3){n=j&252;while(1){g=e;e=e+4|0;h=h+4|0;if((n|0)!=(h|0)){continue}break}h=i+12|0;h=G[h+(g|3)|0]|(G[h+(g|2)|0]|(G[g+h|0]<<16|G[h+(g|1)|0]<<8))<<8}g=j&3;if(!g){break d}while(1){h=G[(i+12|0)+e|0]|h<<8;e=e+1|0;m=m+1|0;if((g|0)!=(m|0)){continue}break}}F[f+12>>2]=l;Ga=i+16|0;if(F[f+12>>2]){break b}if(!h){F[f+12>>2]=8;break b}e=h-1|0;F[a+24>>2]=e;e:{if(c){b=$b(b,e,a+32|0);break e}b=Fb(b,e)}F[f+12>>2]=b;if(!b){break a}}b=F[a+28>>2];if(b){Ia[F[k+8>>2]](k,b)}F[a+28>>2]=0;d=F[f+12>>2]}Ga=f+16|0;return d}function Pp(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{b=F[a+80>>2];h=F[b+176>>2];if((h|0)!=F[61492]){if(!c){break a}k=f,l=Ia[h|0](a,F[a+84>>2],F[d>>2],F[b+32>>2])|0,F[k>>2]=l;if((c|0)==1){break a}b=c-1|0;h=b&1;if((c|0)!=2){b=b&-2;c=0;while(1){f=f+g|0;d=d+e|0;i=F[a+80>>2];k=f,l=Ia[F[i+176>>2]](a,F[a+84>>2],F[d>>2],F[i+32>>2])|0,F[k>>2]=l;f=f+g|0;d=d+e|0;i=F[a+80>>2];k=f,l=Ia[F[i+176>>2]](a,F[a+84>>2],F[d>>2],F[i+32>>2])|0,F[k>>2]=l;c=c+2|0;if((b|0)!=(c|0)){continue}break}}if(!h){break a}b=a;c=F[a+84>>2];a=F[a+80>>2];k=f+g|0,l=Ia[F[a+176>>2]](b,c,F[d+e>>2],F[a+32>>2])|0,F[k>>2]=l;return}b=F[a+12>>2];h=F[b+80>>2];Ia[F[h+184>>2]](b,F[b+84>>2],c,d,e,f,g,F[h+40>>2]);if(!c){break a}d=F[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=F[f>>2];c=F[d+20>>2];h=F[a+20>>2];if((c|0)!=(h|0)){b=FC(EC(h,h>>31,b,b>>31),Ha,c,c>>31)}F[f>>2]=b;c=f+g|0;b=F[c>>2];f=F[d+20>>2];h=F[a+20>>2];if((f|0)!=(h|0)){b=FC(EC(h,h>>31,b,b>>31),Ha,f,f>>31)}F[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=F[f>>2];c=F[d+20>>2];a=F[a+20>>2];if((c|0)!=(a|0)){b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31)}F[f>>2]=b}}function Op(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{b=F[a+80>>2];h=F[b+180>>2];if((h|0)!=F[61493]){if(!c){break a}k=f,l=Ia[h|0](a,F[a+84>>2],F[d>>2],F[b+36>>2])|0,F[k>>2]=l;if((c|0)==1){break a}b=c-1|0;h=b&1;if((c|0)!=2){b=b&-2;c=0;while(1){f=f+g|0;d=d+e|0;i=F[a+80>>2];k=f,l=Ia[F[i+180>>2]](a,F[a+84>>2],F[d>>2],F[i+36>>2])|0,F[k>>2]=l;f=f+g|0;d=d+e|0;i=F[a+80>>2];k=f,l=Ia[F[i+180>>2]](a,F[a+84>>2],F[d>>2],F[i+36>>2])|0,F[k>>2]=l;c=c+2|0;if((b|0)!=(c|0)){continue}break}}if(!h){break a}b=a;c=F[a+84>>2];a=F[a+80>>2];k=f+g|0,l=Ia[F[a+180>>2]](b,c,F[d+e>>2],F[a+36>>2])|0,F[k>>2]=l;return}b=F[a+12>>2];h=F[b+80>>2];Ia[F[h+188>>2]](b,F[b+84>>2],c,d,e,f,g,F[h+44>>2]);if(!c){break a}d=F[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=F[f>>2];c=F[d+24>>2];h=F[a+24>>2];if((c|0)!=(h|0)){b=FC(EC(h,h>>31,b,b>>31),Ha,c,c>>31)}F[f>>2]=b;c=f+g|0;b=F[c>>2];f=F[d+24>>2];h=F[a+24>>2];if((f|0)!=(h|0)){b=FC(EC(h,h>>31,b,b>>31),Ha,f,f>>31)}F[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=F[f>>2];c=F[d+24>>2];a=F[a+24>>2];if((c|0)!=(a|0)){b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31)}F[f>>2]=b}}function Xe(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ga-32|0;Ga=h;i=F[b+12>>2];g=F[b+8>>2];m=i-g|0;n=m>>3;j=n&1;if(!(G[e|0]|(G[a+8|0]|!j))){a:{if((g|0)==(i|0)){l=F[b+4>>2];if(!l|F[l>>2]){break a}F[l>>2]=130;break a}b:{switch(F[g+4>>2]-1|0){case 1:k=F[g>>2]<<16;break a;case 0:k=F[g>>2];k=((k>>31)+k|0)- -8192>>14;break a;default:break b}}k=F[g>>2]}F[d>>2]=(F[F[F[a+176>>2]+536>>2]+544>>2]<<16)+k}if(!G[F[a+176>>2]+548|0]){c:{if(m>>>0<9){break c}while(1){i=i-g>>3;d:{if(i>>>0<=j>>>0){a=0;d=F[b+4>>2];if(!d|F[d>>2]){break d}F[d>>2]=130;break d}e:{f:{g:{a=(j<<3)+g|0;switch(F[a+4>>2]-1|0){case 0:break f;case 1:break g;default:break e}}a=F[a>>2]<<16;break d}a=F[a>>2];a=((a>>31)+a|0)- -8192>>14;break d}a=F[a>>2]}d=a+f|0;F[h+12>>2]=d;a=j+1|0;h:{if(a>>>0>=i>>>0){g=0;a=F[b+4>>2];if(!a|F[a>>2]){break h}F[a>>2]=130;break h}i:{j:{k:{a=(a<<3)+g|0;switch(F[a+4>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=F[a>>2]<<16;break h}a=F[a>>2];g=((a>>31)+a|0)- -8192>>14;break h}g=F[a>>2]}F[h+20>>2]=0;F[h+24>>2]=0;D[h+8|0]=0;f=d+g|0;F[h+16>>2]=f;xk(c,h+8|0);g=F[b+8>>2];j=j+2|0;if(n>>>0<=j>>>0){break c}i=F[b+12>>2];continue}}F[b+12>>2]=g}D[e|0]=1;Ga=h+32|0}function zc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Ga-16|0;Ga=f;h=F[a+100>>2];F[f+12>>2]=0;m=H[a+340>>1];a:{if(!m){break a}g=-1;i=-1;k=-1;l=-1;j=F[a+356>>2];e=j;while(1){b:{if(!H[e+8>>1]|H[e+6>>1]!=(b|0)){break b}c:{switch(H[e>>1]){case 0:case 2:g=d;break b;case 1:if(!H[e+4>>1]){k=d;break b}l=H[e+2>>1]?l:d;break b;case 3:break c;default:break b}}if((i|0)!=-1&(H[e+4>>1]&1023)!=9){break b}n=H[e+2>>1];if(n>>>0>10|!(1<>1]&1023)==9;i=d}e=e+20|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=(k|0)>=0?k:l;d:{e:{f:{if((i|0)>=0){if((d|0)>=0){b=70;if(!o){break f}}e=0;d=L(i,20)+j|0;g=H[d+2>>1];if(g>>>0>10){break a}b=71;if(1<=0){break f}e=0;b=71;d=g;if((d|0)<0){break a}}if(!j){break d}d=L(d,20)+j|0}g:{if(F[d+16>>2]){break g}a=F[a+368>>2];e=0;p=d,q=Va(h,1,0,H[d+8>>1],0,f+12|0),F[p+16>>2]=q;h:{if(F[f+12>>2]){break h}g=Za(a,F[d+12>>2]);F[f+12>>2]=g;if(g){break h}a=Gb(a,F[d+16>>2],H[d+8>>1]);F[f+12>>2]=a;if(!a){break g}}a=F[d+16>>2];if(a){Ia[F[h+8>>2]](h,a)}E[d+8>>1]=0;F[d+16>>2]=0;break a}e=Ia[b|0](d,h)|0;break a}e=0}F[c>>2]=e;Ga=f+16|0;return F[f+12>>2]}function Yn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=c;c=-1;b=id(a,b);a=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>=65537){a=G[b+10|0]|G[b+11|0]<<8|(G[b+12|0]<<16|G[b+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=a?a+b|0:163632}else{h=163632}a=h;a=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!l){break a}a=0;while(1){b=(a<<3)+h|0;b=G[b+8|0]|G[b+9|0]<<8|(G[b+10|0]<<16|G[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=b?b+h|0:163632;b=G[i|0]|G[i+1|0]<<8;if(!b){c=a;break a}m=1;j=(b<<8|b>>>8)&65535;o=j>>>0>1?j:1;b=0;while(1){b:{f=(b<<2)+i|0;f=G[f+2|0]|G[f+3|0]<<8|(G[f+4|0]<<16|G[f+5|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=f?f+i|0:163632;if((G[g|0]|G[g+1|0]<<8)!=256){break b}k=0;f=G[g+2|0]|G[g+3|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>>0){k=F[(f<<2)+n>>2]}f=G[g+4|0]|G[g+5|0]<<8;if((f<<8|f>>>8)<<16>>16>(k|0)){break b}f=G[g+6|0]|G[g+7|0]<<8;if((f<<8|f>>>8)<<16>>16<(k|0)){break b}b=b+1|0;m=j>>>0>b>>>0;if((b|0)!=(o|0)){continue}}break}if(!m){c=a;break a}a=a+1|0;if((l|0)!=(a|0)){continue}break}}F[e>>2]=c}function Dc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=F[a+88>>2];b=F[a+32>>2]+(b<<4)|0;e=F[b+8>>2];E[f+12>>1]=e+32>>>6;j=F[b+12>>2];E[f+14>>1]=j+32>>>6;a:{b:{c:{d:{if(D[a+8|0]&1){k=f+12|0;c=H[a+68>>1];if(!c){d=2147483647;F[f+16>>2]=(e|0)<0?-2147483647:2147483647;break a}b=e>>31;d=(b^e)-b|0;if(d>>>0<=65535){b=((d<<16|c>>>1)>>>0)/(c>>>0)|0;break c}b=2147483647;g=d>>>16|0;if(g>>>0>=c>>>0){break c}h=d<<16|c>>>1;b=O(g);i=32-b|0;g=h>>>i|g<>>0)/(c>>>0)|0;g=g-L(c,d)|0;b=h<>>31;g=h-(c>>>0>h>>>0?0:c)|0;d=d<<1|c>>>0<=h>>>0;b=b<<1;i=i-1|0;if(i){continue}break}F[f+16>>2]=(e|0)<0?0-d|0:d;if(!c){break d}b=j>>31;b=(b^j)-b|0;break b}F[f+28>>2]=0;F[f+24>>2]=j;F[f+16>>2]=65536;F[f+20>>2]=65536;a=E[b>>1];F[f+36>>2]=e;F[f+32>>2]=a<<6;return}d=2147483647;break a}F[f+16>>2]=(e|0)<0?0-b|0:b;b=j>>31;b=(b^j)-b|0}if(b>>>0<=65535){d=((b<<16|c>>>1)>>>0)/(c>>>0)|0;break a}d=2147483647;e=b>>>16|0;if(e>>>0>=c>>>0){break a}h=b<<16|c>>>1;b=O(e);i=32-b|0;e=h>>>i|e<>>0)/(c>>>0)|0;g=e-L(c,d)|0;b=h<>>31;g=e-(c>>>0>e>>>0?0:c)|0;d=d<<1|c>>>0<=e>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}F[f+20>>2]=(j|0)<0?0-d|0:d;vl(a,k)}function ml(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!a){break a}b=H[a+2>>1];c=b<<16>>16;if((c|0)<=0){break a}h=2;if((c|0)==1){break a}i=F[a+4>>2];j=i+(b<<3)|0;f=i+8|0;d=F[i>>2];e=d;b=i;c=F[b+4>>2];g=c;while(1){b=F[b+12>>2];g=(b|0)>(g|0)?b:g;c=(b|0)<(c|0)?b:c;b=F[f>>2];e=(b|0)>(e|0)?b:e;d=(b|0)<(d|0)?b:d;b=f;f=b+8|0;if(j>>>0>f>>>0){continue}break}if((d|0)==(e|0)|(c|0)==(g|0)|((d|0)<-16777216|(c|0)<-16777216)){break a}if((e|0)>16777216|(g|0)>16777216){break a}m=E[a>>1];if((m|0)>0){f=0;b=e>>31;e=(b^e)-b|0;b=d>>31;b=17-O(e|(b^d)-b)|0;h=(b|0)>0?b:0;b=17-O(g-c|0)|0;j=(b|0)>0?b:0;p=F[a+12>>2];a=0;while(1){e=E[(l<<1)+p>>1];b:{if((e|0)<(a|0)){break b}b=(e<<3)+i|0;c=F[b>>2]>>h;b=F[b+4>>2]>>j;c:{if(!((e-a|0)+1&1)){g=b;b=a;break c}d=c;c=(a<<3)+i|0;g=F[c+4>>2]>>j;c=F[c>>2]>>h;f=L(g-b|0,d+c|0)+f|0;b=a+1|0}if((a|0)==(e|0)){break b}while(1){n=b+1|0;d=(n<<3)+i|0;a=F[d+4>>2]>>j;k=(b<<3)+i|0;o=F[k+4>>2]>>j;d=F[d>>2]>>h;k=F[k>>2]>>h;f=L(a-o|0,d+k|0)+(L(c+k|0,o-g|0)+f|0)|0;b=b+2|0;c=d;g=a;if((e|0)!=(n|0)){continue}break}}a=e+1|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}h=1;if((f|0)>0){break a}h=0;if(f){break a}}h=2}return h}function vg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=F[a+212>>2];g=f>>8;d=F[a+176>>2];j=c>>8;a:{if((g|0)>=(d|0)&(d|0)<=(j|0)){break a}d=F[a+172>>2];if((d|0)>(g|0)&(d|0)>(j|0)){break a}p=c&255;d=f&255;e=F[a+208>>2];if((g|0)==(j|0)){_e(a,g,e,d,b,p);break a}h=c-f|0;if((b|0)==(e|0)){e=(h|0)>0;h=e<<8;d=h-d|0;F[a+184>>2]=d+F[a+184>>2];f=b<<1&510;F[a+180>>2]=F[a+180>>2]+L(f,d);k=b>>8;d=g;g=e?1:-1;d=d+g|0;bd(a,k,d);if((d|0)!=(j|0)){e=(e<<9)-256|0;m=L(e,f);while(1){F[a+180>>2]=m+F[a+180>>2];F[a+184>>2]=e+F[a+184>>2];d=d+g|0;bd(a,k,d);if((d|0)!=(j|0)){continue}break}}d=h+(c|-256)|0;F[a+184>>2]=d+F[a+184>>2];F[a+180>>2]=F[a+180>>2]+L(d,f);break a}i=b-e|0;m=1;f=d;b:{if((h|0)>0){k=256;d=256-d|0;break b}h=0-h|0;m=-1}n=L(d,i);d=(n|0)/(h|0)|0;o=e;l=f;f=n-L(d,h)|0;n=f>>31;e=n+(d+e|0)|0;_e(a,g,o,l,e,k);d=g+m|0;bd(a,e>>8,d);c:{if((d|0)==(j|0)){g=256-k|0;break c}i=i<<8;g=(i|0)/(h|0)|0;i=i-L(g,h)|0;l=i>>31;i=(l&h)+i|0;l=g+l|0;g=256-k|0;f=f+(h&n)|0;while(1){o=e;f=f+i|0;e=(e+l|0)+((f|0)>=(h|0))|0;_e(a,d,o,g,e,k);d=d+m|0;bd(a,e>>8,d);f=f-((f|0)<(h|0)?0:h)|0;if((d|0)!=(j|0)){continue}break}}_e(a,j,e,g,b,p)}F[a+212>>2]=c;F[a+208>>2]=b}function Lm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(I[b+4>>2]>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=F[b+12>>2];e=d-4|0;F[b+12>>2]=e;if((G[a|0]|G[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[a+6|0]|G[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=Ga-16|0;Ga=f;h=F[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=F[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=F[b+12>>2];c=i-2|0;F[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=G[e|0]|G[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;F[b+12>>2]=d;if((G[c|0]|G[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!Xf(c+2|0,b,c)){break c}F[f+12>>2]=c;d=1;if(Wf(c+6|0,b,f+12|0)){break b}}c=F[b+28>>2];if(c>>>0>31){d=0;break b}F[b+28>>2]=c+1;d=0;if(!G[b+24|0]){break b}D[e|0]=0;D[e+1|0]=0;d=1}Ga=f+16|0;if(!d){break a}c=G[a+6|0]|G[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=G[a+8|0]|G[a+9|0]<<8;c=L(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=F[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=F[b+12>>2]-c|0;F[b+12>>2]=a;j=(a|0)>0}return j}function qm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=-6;a:{if(G[8969]!=49){break a}if(!a){return-2}F[a+24>>2]=0;c=F[a+32>>2];if(!c){F[a+40>>2]=0;F[a+32>>2]=866;c=866}if(!F[a+36>>2]){F[a+36>>2]=867}e=Ia[c|0](F[a+40>>2],1,7120)|0;if(!e){return-4}F[a+28>>2]=e;F[e+56>>2]=0;F[e>>2]=a;F[e+4>>2]=16180;d=-2;b:{if(!a|!F[a+32>>2]){break b}f=F[a+36>>2];if(!f){break b}c=F[a+28>>2];if(!c|F[c>>2]!=(a|0)|F[c+4>>2]-16180>>>0>31){break b}if((b|0)<0){b=0-b|0}else{g=(b>>>4|0)+5|0;b=b>>>0<48?b&15:b}if(b?b-8>>>0>=8:0){break b}h=F[c+56>>2];c:{if(!((b|0)!=F[c+40>>2]?h:0)){F[c+40>>2]=b;F[c+12>>2]=g;break c}Ia[f|0](F[a+40>>2],h);F[c+56>>2]=0;f=F[a+32>>2];F[c+40>>2]=b;F[c+12>>2]=g;if(!f){break b}}if(!F[a+36>>2]){break b}b=F[a+28>>2];if(!b|F[b>>2]!=(a|0)|F[b+4>>2]-16180>>>0>31){break b}d=0;F[b+52>>2]=0;F[b+44>>2]=0;F[b+48>>2]=0;F[b+32>>2]=0;F[a+8>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;c=F[b+12>>2];if(c){F[a+48>>2]=c&1}F[b+60>>2]=0;F[b+64>>2]=0;F[b+36>>2]=0;F[b+24>>2]=32768;F[b+16>>2]=0;F[b+4>>2]=16180;F[b+8>>2]=0;F[b+7108>>2]=1;F[b+7112>>2]=-1;c=b+1332|0;F[b+112>>2]=c;F[b+84>>2]=c;F[b+80>>2]=c}b=d;d=0;if(!b){break a}Ia[F[a+36>>2]](F[a+40>>2],e);F[a+28>>2]=0;d=b}return d}function Ml(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=F[a+16>>2];if((e|0)<=0){break a}d=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(F[c>>2]==(b|0)){F[a+16>>2]=e-1;g=d-4|0;if(g>>>0>c>>>0){d=c+4|0;a=((e<<2)+a|0)+16|0;Cb(c,d,((c^-1)+(a>>>0>d>>>0?a:d)|0)+4&-4)}F[g>>2]=0;g=F[b+8>>2];e=F[b>>2];d=F[b+4>>2];a=e;b:{if(!d){break b}if(F[d+160>>2]==(b|0)){F[d+160>>2]=0}a=e;if(!(G[a|0]&2)){break b}c=F[d+148>>2];a=e;if(!c){break b}h=d+148|0;a=F[d>>2];c:{while(1){if(F[c+8>>2]==(b|0)){break c}c=F[c+4>>2];if(c){continue}break}a=e;break b}f=F[b+12>>2];d:{if(F[f+36>>2]!=1869968492){break d}i=F[b+52>>2];if(!i){break d}Ia[F[F[f+56>>2]+20>>2]](i)}f=F[c>>2];i=f?f+4|0:h;h=F[c+4>>2];F[i>>2]=h;F[(h?h:d+152|0)>>2]=f;Ia[F[a+8>>2]](a,c);c=F[d+148>>2];e:{if(c){while(1){a=F[c+8>>2];if(F[a+16>>2]==1869968492){break e}c=F[c+4>>2];if(c){continue}break}}a=0}F[d+156>>2]=a;a=F[b>>2]}f:{if(!(D[a|0]&1)){break f}d=F[b+8>>2];if(!d){break f}c=F[b+16>>2];if(c){while(1){a=F[c+4>>2];Qd(d,F[c+8>>2],b);Ia[F[d+8>>2]](d,c);c=a;if(c){continue}break}}F[b+16>>2]=0;F[b+20>>2]=0}a=F[e+28>>2];if(a){Ia[a|0](b)}Ia[F[g+8>>2]](g,b);return}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function fl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ga-16|0;Ga=i;F[i+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}d=0;if((b|0)==(c|0)){break a}f=F[c+8>>2];h=f>>31|1;e=F[b+8>>2];j=e>>31|1;if(!F[b+12>>2]){a=F[b+4>>2];F[c>>2]=F[b>>2];F[c+4>>2]=a;a=F[b+20>>2];F[c+16>>2]=F[b+16>>2];F[c+20>>2]=a;a=F[b+12>>2];F[c+8>>2]=F[b+8>>2];F[c+12>>2]=a;if((h|0)==(j|0)){break a}F[c+8>>2]=0-F[c+8>>2];break a}d=e>>31;e=(d^e)-d|0;g=L(e,F[b>>2]);a=F[a>>2];d=F[c+12>>2];b:{c:{if(d){k=f>>31;f=L(F[c>>2],(f^k)-k|0);if((f|0)==(g|0)){break b}d=il(a,f,g,d,i+12|0);break c}d=Dg(a,g,i+12|0)}F[c+12>>2]=d}d:{if(F[i+12>>2]){break d}a=F[b+12>>2];F[c+8>>2]=F[b+8>>2];F[c+12>>2]=a;a=F[b+4>>2];F[c>>2]=F[b>>2];F[c+4>>2]=a;a=F[b+20>>2];F[c+16>>2]=F[b+16>>2];F[c+20>>2]=a;F[c+12>>2]=d;if((h|0)==(j|0)){Ya(d,F[b+12>>2],g);break d}a=F[c>>2];if(!a){break d}g=0;c=0-e|0;f=a-1|0;d=L(f,e)+d|0;b=F[b+12>>2];h=a&3;if(h){while(1){a=a-1|0;d=Ya(d,b,e)+c|0;b=b+e|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}if(f>>>0<3){break d}while(1){f=b+e|0;h=f+e|0;g=h+e|0;d=Ya(Ya(Ya(Ya(d,b,e)+c|0,f,e)+c|0,h,e)+c|0,g,e)+c|0;b=e+g|0;a=a-4|0;if(a){continue}break}}d=F[i+12>>2]}Ga=i+16|0;return d}function mo(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{f=F[a+4>>2];if((f|0)>=0){e=F[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(g>>>0<=f>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(!(e>>>0>>0|e>>>0>178956969)){f=ob(F[a+12>>2],L(e,24));if(f){break c}}F[a+4>>2]=-1}d=F[40913];F[61612]=F[40912];F[61613]=d;d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;h=246432;break a}F[a+4>>2]=e;F[a+12>>2]=f;e=F[a+8>>2]}if(e>>>0>>0){while(1){F[a+8>>2]=e+1;e=F[a+12>>2]+L(e,24)|0;F[e>>2]=0;F[e+4>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;e=F[a+8>>2];if(g>>>0>e>>>0){continue}break}}F[a+8>>2]=g;e=F[a+12>>2];f=F[40913];F[61612]=F[40912];F[61613]=f;f=F[40911];F[61610]=F[40910];F[61611]=f;f=F[40909];F[61608]=F[40908];F[61609]=f;e=(e+L(g,24)|0)-24|0;h=246432;if((e|0)==246432){break a}f=F[d+4>>2];F[e>>2]=F[d>>2];F[e+4>>2]=f;f=F[d+20>>2];F[e+16>>2]=F[d+16>>2];F[e+20>>2]=f;f=F[d+12>>2];F[e+8>>2]=F[d+8>>2];F[e+12>>2]=f;h=e}f=h;F[f>>2]=b;e=F[c+12>>2];d=F[c+4>>2];g=F[c>>2];b=F[a>>2];F[f+12>>2]=0;F[f+4>>2]=b+g;f=d-b|0;d=d>>>0>>0?0:f;b=e-b|0;F[h+8>>2]=b>>>0>d>>>0?d:b;F[a>>2]=F[c+12>>2]}function sh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=F[40908];h=F[b+4>>2];while(1){a:{k=f>>>0>=h>>>0;if(k){break a}g=F[c>>2];d=F[a>>2];if(g>>>0>d>>>0|d>>>0>=g+F[c+4>>2]>>>0){break a}e=d+1|0;F[a>>2]=e;d=G[d|0];i=d&63;b:{if(d&128){g=F[b+8>>2];e=0;while(1){c:{if(I[b+4>>2]<=f>>>0){F[61608]=j;d=246432;break c}d=g+(f<<2)|0}F[d>>2]=0;f=f+1|0;d=e+1|0;if(e>>>0>=i>>>0){break b}e=d;if(f>>>0>>0){continue}break}break b}d:{if(d&64){g=0;while(1){d=F[c>>2];if(d>>>0>e>>>0){break d}d=d+F[c+4>>2]|0;if(d>>>0>>0|d-e>>>0<2){break d}d=G[e|0]|G[e+1|0]<<8;d=(d<<8|d>>>8)<<16>>16;e:{if(I[b+4>>2]<=f>>>0){F[61608]=j;e=F[a>>2];l=246432;break e}l=F[b+8>>2]+(f<<2)|0}F[l>>2]=d;e=e+2|0;F[a>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0>>0){continue}break}break b}g=0;d=F[c>>2];if(e>>>0>>0){break d}while(1){if(F[c+4>>2]+d>>>0<=e>>>0){break d}F[a>>2]=e+1;e=D[e|0];f:{if(I[b+4>>2]<=f>>>0){F[61608]=j;d=246432;break f}d=F[b+8>>2]+(f<<2)|0}F[d>>2]=e;d=g+1|0;f=f+1|0;if(h>>>0<=f>>>0|g>>>0>=i>>>0){break b}g=d;d=F[c>>2];e=F[a>>2];if(d>>>0<=e>>>0){continue}break}}k=0;break a}if(d>>>0>i>>>0){continue}}break}return k|0}function no(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{switch(a-17|0){default:if((a|0)==263){break a}if((a|0)==292){break d}case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:Id(a,b);return;case 13:break b;case 12:break c;case 0:break e}}a=F[b+24>>2];f:{if(a){a=a-1|0;if(a>>>0>=I[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);d=+z();break f}d=K[F[b+36>>2]+(a<<3)>>3];break f}D[b+20|0]=1;a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);d=+z()}g:{if(N(d)<2147483648){a=~~d;break g}a=-2147483648}if((a|0)<0){D[b+20|0]=1;a=0}F[c+16>>2]=a;break a}a=F[b+24>>2];h:{if(a){a=a-1|0;if(a>>>0>=I[b+32>>2]){a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);d=+z();break h}d=K[F[b+36>>2]+(a<<3)>>3];break h}D[b+20|0]=1;a=F[40909];e=F[40908];F[61608]=e;F[61609]=a;x(0,e|0);x(1,a|0);d=+z()}i:{if(N(d)<2147483648){a=~~d;break i}a=-2147483648}if((a|0)<0){D[b+20|0]=1;a=0}F[c+20>>2]=a;break a}ze(b+20|0,b);return}d=ye(b);a=F[b+24>>2];if(a>>>0>2]){F[b+24>>2]=a+1;K[F[b+36>>2]+(a<<3)>>3]=d;return}D[b+20|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;K[30804]=d;return}F[b+24>>2]=0}function kC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=M(0);h=vh(b+48|0);if(c){b=0;while(1){i=0;j=F[d>>2];k=j;a:{b:{l=F[h+4>>2];if(l>>>0>j>>>0){break b}c:{k=F[h+8>>2];if(k){m=F[h+12>>2];if((k|0)==(l|0)){k=l-1|0;if(!l){if(j>>>0>=m>>>0|k>>>0>=m>>>0){break a}while(1)continue}if(j>>>0>>0){break b}break a}if(j>>>0>>0){break c}break a}i=F[h+16>>2];break a}i=F[h+20>>2];m=F[(i?i:163632)+12>>2];i=F[h>>2];m=((i|0)<0?163632:m+(i<<2)|0)+(l-i<<1)|0;i=j-l|0;j=k+(l^-1)|0;i=m+((i>>>0>>0?i:j)<<1)|0;i=G[i|0]|G[i+1|0]<<8;i=(i<<8|i>>>8)&65535;break a}i=F[h+20>>2];m=F[(i?i:163632)+12>>2];i=F[h>>2]-1|0;i=i>>>0>k>>>0?k:i;i=(i|0)<0?163632:m+(i<<2)|0;i=G[i|0]|G[i+1|0]<<8;k=i<<8|i>>>8;i=k&65535;if(!F[a+68>>2]|j>>>0>=l>>>0){break a}i=F[h+24>>2];i=i?i:163632;l=F[i+16>>2];if(l){n=M(M(R(M(zo(l>>>0<20?163632:F[i+12>>2],j,a)+M(.5))))+M((k&65535)>>>0));if(n=M(0)){i=~~n>>>0;break a}i=0;break a}i=Ho(a,j,1)}i=0-(i<<16)|0;j=EC(i>>16,i>>31,F[a+48>>2],F[a+52>>2])+32768|0;i=Ha;i=j>>>0<32768?i+1|0:i;F[f>>2]=(i&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function mC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=M(0);h=Do(b+20|0);if(c){b=0;while(1){i=0;j=F[d>>2];k=j;a:{b:{l=F[h+4>>2];if(l>>>0>j>>>0){break b}c:{k=F[h+8>>2];if(k){m=F[h+12>>2];if((k|0)==(l|0)){k=l-1|0;if(!l){if(j>>>0>=m>>>0|k>>>0>=m>>>0){break a}while(1)continue}if(j>>>0>>0){break b}break a}if(j>>>0>>0){break c}break a}i=F[h+16>>2];break a}i=F[h+20>>2];m=F[(i?i:163632)+12>>2];i=F[h>>2];m=((i|0)<0?163632:m+(i<<2)|0)+(l-i<<1)|0;i=j-l|0;j=k+(l^-1)|0;i=m+((i>>>0>>0?i:j)<<1)|0;i=G[i|0]|G[i+1|0]<<8;i=(i<<8|i>>>8)&65535;break a}i=F[h+20>>2];m=F[(i?i:163632)+12>>2];i=F[h>>2]-1|0;i=i>>>0>k>>>0?k:i;i=(i|0)<0?163632:m+(i<<2)|0;i=G[i|0]|G[i+1|0]<<8;k=i<<8|i>>>8;i=k&65535;if(!F[a+68>>2]|j>>>0>=l>>>0){break a}i=F[h+24>>2];i=i?i:163632;l=F[i+16>>2];if(l){n=M(M(R(M(zo(l>>>0<20?163632:F[i+12>>2],j,a)+M(.5))))+M((k&65535)>>>0));if(n=M(0)){i=~~n>>>0;break a}i=0;break a}i=Ho(a,j,0)}i=i<<16;j=i>>31;j=EC(i>>16,j,F[a+40>>2],F[a+44>>2])+32768|0;i=Ha;i=j>>>0<32768?i+1|0:i;F[f>>2]=(i&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function Gc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ga-16|0;Ga=g;a:{if((c|0)<=0){break a}i=F[a+4>>2];while(1){h=(k<<3)+b|0;b:{if(!F[h>>2]){Nc(i);if(F[i+12>>2]>1){break a}d=F[i>>2];f=d-1|0;l=F[i+8>>2];c:{while(1){j=3;if(d>>>0>=l>>>0){e=d;break c}e=d+1|0;F[i>>2]=e;m=G[d|0];d=e;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j=2}F[i+12>>2]=j;F[g+8>>2]=f;break b}f=ne(i);F[g+8>>2]=f;if(!f){break a}e=F[i>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(F[h>>2]){case 0:case 1:d=Dg(F[a>>2],d,g+4|0);F[h+4>>2]=d;if(F[g+4>>2]){break e}Ya(d,f,e);D[e+F[h+4>>2]|0]=0;break e;case 2:n=h,o=Hc(g+8|0,e+f|0,0),F[n+4>>2]=o;break e;case 3:F[g+12>>2]=f;l=e+f|0;j=Ic(g+12|0,l,10);e=0;d=F[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(G[d|0]!=35|d>>>0>=l>>>0)){f=d+1|0;F[g+12>>2]=f;j=Ic(g+12|0,l,j);d=F[g+12>>2];if((f|0)==(d|0)){break g}}F[g+8>>2]=d;e=j}F[h+4>>2]=e;break e;case 4:if((e|0)==4){e=cb(f,23711,4)}else{e=1}D[h+4|0]=!e;break e;case 5:break f;default:break e}}d=F[a+12>>2];if(d){n=h,o=Ia[d|0](f,e,F[a+16>>2])|0,F[n+4>>2]=o;break e}F[h+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}Ga=g+16|0;return k}function hh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ga-16|0;Ga=h;d=G[a+2|0]|G[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=F[b+100>>2];if((qb(c,F[F[d+80>>2]+L(F[d+64>>2],20)>>2])|0)!=-1){g=163632;d=163632;f=G[a+4|0]|G[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}f=G[a+6|0]|G[a+7|0]<<8;if(f){g=((f<<8|f>>>8)&65535)+a|0}f=163632;e=163632;c=G[a+8|0]|G[a+9|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}c=F[b+100>>2];c=Df(g,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);i=G[a+10|0]|G[a+11|0]<<8;c=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<1)+a|0)+12|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}F[h+12>>2]=e;F[h+8>>2]=g;F[h+4>>2]=d;F[h>>2]=716;a=G[f|0]|G[f+1|0]<<8;if(a){g=(a<<8|a>>>8)&65535;a=f+2|0;while(1){d=G[a|0]|G[a+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+f|0}else{d=163632}e=G[d|0]|G[d+1|0]<<8;j=(e<<8|e>>>8)&65535;k=(j<<1)+d|0;e=k+2|0;c=G[e|0]|G[e+1|0]<<8;l=(c<<8|c>>>8)&65535;e=(c?l<<1:2)+e|0;c=G[e|0]|G[e+1|0]<<8;m=(c<<8|c>>>8)&65535;c=(m<<1)+e|0;i=G[c+2|0]|G[c+3|0]<<8;d=Cf(b,j,d+2|0,l,k+4|0,m,e+2|0,(i<<8|i>>>8)&65535,c+4|0,h);if(!d){a=a+2|0;g=g-1|0;if(g){continue}}break}}else{d=0}g=d}Ga=h+16|0;return g}function Sm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ga-48|0;Ga=e;g=F[a+4>>2];D[b+557|0]=0;F[b+560>>2]=a;if(!(!F[b+116>>2]|!F[b+120>>2])){i=Wa(b+188|0,0,364);F[b+528>>2]=3932;F[b+520>>2]=-1;F[b+392>>2]=1;F[b+588>>2]=d;F[b+584>>2]=c;F[b+552>>2]=b;F[b+384>>2]=2596864;F[b+388>>2]=7;a:{if(!G[a+32|0]){d=8192;c=97;break a}d=20480;c=F[a+1556>>2]+1|0}h=F[a>>2];f=F[h>>2];j=F[b+176>>2];F[e+12>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+24>>2]=0;F[e+4>>2]=0;F[e+8>>2]=0;F[e+32>>2]=i;F[e+28>>2]=d;F[e>>2]=h;F[e+36>>2]=j;d=Va(f,4,0,c,0,e+44|0);F[e+16>>2]=d;b:{c:{if(!F[e+44>>2]){F[e+20>>2]=d;F[e+24>>2]=c;break c}if(d){Ia[F[f+8>>2]](f,d)}f=0;F[e+16>>2]=0;if(F[e+44>>2]){break b}}f=Za(g,F[b+116>>2]+F[a+12>>2]|0);if(f){break b}f=tb(g,F[b+120>>2]);if(f){break b}f=Mm(e,F[g+32>>2],F[g+36>>2]);lb(g);if(f){break b}D[b+188|0]=G[b+188|0]&254;a=F[b+532>>2];d:{e:{if((a|0)<0){a=0-a|0;break e}if(a){break d}a=987654321}F[b+532>>2]=a}if(I[b+388>>2]>=1001){F[b+388>>2]=7}f=0;if(I[b+392>>2]<1001){break b}F[b+392>>2]=1}F[b+600>>2]=0;F[b+596>>2]=F[b+592>>2];a=F[F[e>>2]>>2];b=F[e+16>>2];if(b){Ia[F[a+8>>2]](a,b)}}Ga=e+48|0;return f|0}function oh(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-48|0;Ga=b;c=F[a>>2];a:{if(c){break a}g=a-4|0;while(1){c=F[g>>2];if(!c){c=163632;break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;D[b+40|0]=1;F[b+36>>2]=0;c=Ab(c,1751474532);if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}D[b+24|0]=0;F[b+32>>2]=c;e=F[c+12>>2];F[b+4>>2]=e;f=F[c+16>>2];F[b+8>>2]=e+f;F[b+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}F[b+12>>2]=d;F[b+20>>2]=0;F[b>>2]=0;b:{if(!e){Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;break b}c:{d:{if((f|0)<54){break d}F[b+12>>2]=d-54;if((G[e|0]|G[e+1|0]<<8)!=256){break d}d=G[e+12|0]|G[e+13|0]<<8|(G[e+14|0]<<16|G[e+15|0]<<24);Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;if((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))!=1594834165){break c}if(F[c+4>>2]){F[c+4>>2]=0}break b}Xa(c);F[b+32>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0}Xa(c);c=163632}d=F[a>>2];c=c?c:163632;F[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){Xa(c)}c=F[a>>2];if(!c){continue}break}}Ga=b+48|0;return I[c+16>>2]<54?163632:F[c+12>>2]}function zn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;b:{if(!c){break b}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;c:{if(!c){break c}if(Zc(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}g=F[b+4>>2];c=a+6|0;if(g>>>0>c>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+6|0]|G[a+7|0]<<8;if(!e){return 1}f=a+8|0;if(g>>>0>f>>>0|d>>>0>>0){break a}f=d-f|0;d=(e<<8|e>>>8)&65535;e=d<<1;if(f>>>0>>0){break a}c=c-e|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0>1?d:1;d=0;while(1){h=vn(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function Nf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!G[a+12|0]){break a}if(!b){return}e=F[a+20>>2];if(I[a+24>>2]<=(e>>>1|0)+e>>>0){if(G[a+12|0]){e=(F[a+16>>2]<<1)+8|0;i=e?32-O(e)|0:0;h=nb(12<>2]=0;F[f>>2]=0;F[f+4>>2]=0;j=1;break c}F[61608]=0;F[61609]=0;F[61610]=0;j=0}e=e-j|0;f=L(j,12)+f|0;if((k|0)!=(f|0)){continue}break}}F[a+16>>2]=0;F[a+20>>2]=0;j=F[a+24>>2];F[a+24>>2]=g-1;F[a+28>>2]=F[(i>>>0>31?106972:(i<<2)+106848|0)>>2];g=F[a+32>>2];F[a+32>>2]=h;if(!(!g|(j|0)==-1)){e=0;while(1){f=e;e=g+L(e,12)|0;i=F[e>>2];if(!(!i|!F[e+4>>2])){Nf(a,i,F[e+8>>2],e+4|0)}e=f+1|0;if((f|0)!=(j|0)){continue}break}}Ta(g)}e=(h|0)!=0}else{e=0}if(!e){break a}}f=di(a,b,c);h=F[a+32>>2];g=L(f,12)+h|0;e=F[g>>2];d:{e:{if(!F[d>>2]){if((b|0)!=(e|0)){break a}g=h+L(f,12)|0;break e}if(e){break e}e=F[a+20>>2];break d}e=F[a+20>>2]-1|0;F[a+20>>2]=e;if(!F[(h+L(f,12)|0)+4>>2]){break d}F[a+16>>2]=F[a+16>>2]-1}F[g>>2]=b;d=F[d>>2];b=h+L(f,12)|0;F[b+8>>2]=c;F[b+4>>2]=d;F[a+20>>2]=e+1;if(!F[b+4>>2]){break a}F[a+16>>2]=F[a+16>>2]+1}}function Ya(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ca(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){D[c|0]=G[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){F[c>>2]=F[b>>2];F[c+4>>2]=F[b+4>>2];F[c+8>>2]=F[b+8>>2];F[c+12>>2]=F[b+12>>2];F[c+16>>2]=F[b+16>>2];F[c+20>>2]=F[b+20>>2];F[c+24>>2]=F[b+24>>2];F[c+28>>2]=F[b+28>>2];F[c+32>>2]=F[b+32>>2];F[c+36>>2]=F[b+36>>2];F[c+40>>2]=F[b+40>>2];F[c+44>>2]=F[b+44>>2];F[c+48>>2]=F[b+48>>2];F[c+52>>2]=F[b+52>>2];F[c+56>>2]=F[b+56>>2];F[c+60>>2]=F[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){F[c>>2]=F[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){D[c|0]=G[b|0];D[c+1|0]=G[b+1|0];D[c+2|0]=G[b+2|0];D[c+3|0]=G[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){D[c|0]=G[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Pe(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ga-16|0;Ga=h;f=F[a+28>>2];F[h+12>>2]=0;F[c>>2]=0;e=F[a+32>>2];if(e>>>0>2]){F[a+32>>2]=e+1;d=D[e|0]}else{d=0}e=d<<24>>24;d=-1;a:{if(!e){break a}g=e&255;if(g&128){g=g<<8&32512;e=F[a+32>>2];if(e>>>0>2]){F[a+32>>2]=e+1;d=D[e|0]}else{d=0}g=g|d<<24>>24&255}d=0;if(b>>>0>>0){break a}e=Va(f,2,0,g+1|0,0,h+12|0);d=0;if(F[h+12>>2]){break a}F[c>>2]=g;if(g){c=0;b=0;while(1){d=F[a+32>>2];if(d>>>0>2]){F[a+32>>2]=d+1;d=D[d|0]}else{d=0}f=d<<24>>24;j=f&255;b:{if(f&128){c=xb(a)+c|0;E[e+(b<<1)>>1]=c;b=b+1|0;d=0;f=j&127;if(!f){break b}while(1){c=xb(a)+c|0;E[e+(b<<1)>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(f>>>0>d>>>0){continue}break}break b}i=e+(b<<1)|0;d=F[a+32>>2];if(d>>>0>2]){F[a+32>>2]=d+1;d=D[d|0]}else{d=0}c=(d<<24>>24&255)+c|0;E[i>>1]=c;b=b+1|0;d=0;if(!f){break b}while(1){i=e+(b<<1)|0;f=F[a+32>>2];if(f>>>0>2]){F[a+32>>2]=f+1;f=D[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;E[i>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(j>>>0>d>>>0){continue}break}}if(b>>>0>>0){continue}break}}d=e}Ga=h+16|0;return d}function se(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(I[a+16>>2]<=b>>>0){break a}e=F[F[F[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Ia[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=F[a+88>>2];if(!a){return 36}i=d,j=bb(F[d>>2],F[a+(c&16?20:16)>>2],64),F[i>>2]=j;return 0}if((e&255)!=7){break a}}e=35;b:{if(!a){break b}e=6;if(!d){break b}e=16;f=b+1|0;g=F[a+16>>2];c:{if(f>>>0>g>>>0|!f|b>>>0>=g>>>0){break c}e=F[F[F[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Ia[e|0](a,b,1,c,d)|0;if(!e){d:{if(!(c&1)){a=F[a+88>>2];e=36;if(!a){break d}b=F[a+(c&16?20:16)>>2];a=0;while(1){c=(a<<2)+d|0;i=c,j=bb(F[c>>2],b,64),F[i>>2]=j;a=a+1|0;if((a|0)!=1){continue}break}}e=0}break b}if((e&255)!=7){break c}}e=7;if(c&536870912){break c}g=c&1?1:1024;h=c|256;f=0;if(!(c&16)){while(1){e=Kc(a,b+f|0,h);if(e){break c}F[(f<<2)+d>>2]=L(g,F[F[a+84>>2]+64>>2]);e=0;f=f+1|0;if((f|0)!=1){continue}break c}}while(1){e=Kc(a,b+f|0,h);if(e){break c}F[(f<<2)+d>>2]=L(g,F[F[a+84>>2]+68>>2]);e=0;f=f+1|0;if((f|0)!=1){continue}break}}}}return e|0}function ef(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ga-16|0;Ga=h;F[h>>2]=a;g=F[c+20>>2];f=g+((Ia[F[c+12>>2]](h)>>>0)%I[c+4>>2]<<2)|0;e=F[f>>2];a:{if(!e){break a}while(1){if(Ia[F[c+16>>2]](e,h)|0){break a}f=f-4|0;if(g>>>0>f>>>0){f=(g+(F[c+4>>2]<<2)|0)-4|0}e=F[f>>2];if(e){continue}break}}b:{c:{d:{e=F[f>>2];e:{if(!e){e=64;g=Ia[F[d+4>>2]](d,8)|0;if(!g){break b}F[f>>2]=g;F[g+4>>2]=b;F[g>>2]=a;f:{if(I[c+8>>2]>2]){break f}g=F[c+4>>2];a=g<<1;F[c+4>>2]=a;F[c>>2]=(a>>>0)/3;e=0;if((a|0)<0){e=6;break c}b=F[c+20>>2];if(a){e=10;if(a>>>0>536870911){break c}a=g<<3;e=Ia[F[d+4>>2]](d,a)|0;if(!e){break d}Wa(e,0,a)}F[c+20>>2]=e;if(g){e=0;a=b;while(1){f=F[a>>2];if(f){F[h+8>>2]=F[f>>2];i=F[c+20>>2];f=i+((Ia[F[c+12>>2]](h+8|0)>>>0)%I[c+4>>2]<<2)|0;while(1){g:{j=F[f>>2];if(!j){break g}if(Ia[F[c+16>>2]](j,h+8|0)|0){break g}f=f-4|0;if(i>>>0<=f>>>0){continue}f=((F[c+4>>2]<<2)+i|0)-4|0;continue}break}F[f>>2]=F[a>>2]}a=a+4|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(!b){break f}Ia[F[d+8>>2]](d,b)}F[c+8>>2]=F[c+8>>2]+1;break e}F[e+4>>2]=b}e=0;break b}F[c+20>>2]=0;e=64;break b}F[c+20>>2]=0}Ga=h+16|0;return e}function LB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d:{switch(a-18|0){case 0:d=F[b+24>>2];e:{if(d){f=d-1|0;F[b+24>>2]=f;if(I[b+32>>2]<=f>>>0){d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);e=+z();break e}e=K[F[b+36>>2]+(f<<3)>>3];break e}D[b+20|0]=1;d=F[40909];g=F[40908];F[61608]=g;F[61609]=d;x(0,g|0);x(1,d|0);e=+z()}f:{if(N(e)<2147483648){d=~~e;break f}d=-2147483648}if((d|0)<0){D[b+20|0]=1;d=0}F[c+16>>2]=d;g:{if(f){d=f-1|0;if(d>>>0>=I[b+32>>2]){d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);e=+z();break g}e=K[F[b+36>>2]+(d<<3)>>3];break g}D[b+20|0]=1;d=F[40909];f=F[40908];F[61608]=f;F[61609]=d;x(0,f|0);x(1,d|0);e=+z()}h:{if(N(e)<2147483648){d=~~e;break h}d=-2147483648}if((d|0)<0){D[b+20|0]=1;d=0}F[c+20>>2]=d;F[b+24>>2]=0;break b;case 11:ze(b+20|0,b);break c;case 12:e=ye(b);d=F[b+24>>2];if(d>>>0>2]){F[b+24>>2]=d+1;K[F[b+36>>2]+(d<<3)>>3]=e;break c}D[b+20|0]=1;d=F[40909];F[61608]=F[40908];F[61609]=d;K[30804]=e;break c;default:break d}}Id(a,b)}if(F[b+24>>2]){break a}}if(G[b+20|0]|(G[b+40|0]|G[b+16|0])|F[b+28>>2]<0){break a}Ef(c,a,b)}}function kh(a,b,c){var d=0,e=0,f=0,g=M(0),h=0;d=G[a+4|0]|G[a+5|0]<<8;d=d<<8|d>>>8;f=d&65535;a:{if(f-1>>>0>=3){if((f|0)!=32768){break a}d=G[c+6|0]|G[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=G[a+1|0]|G[a|0]<<8;if(e>>>0<=d>>>0){g=M(0)}else{d=(d<<2)+c|0;d=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=G[a+3|0]|G[a+2|0]<<8;a=G[c+2|0]|G[c+3|0]<<8|(G[c+4|0]<<16|G[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=Be(d?d+c|0:163632,e,F[b+72>>2],F[b+68>>2],a?a+c|0:163632)}g=M(g*M(F[b+24>>2]));b=F[b+16>>2];a=F[b+28>>2];if(!a){a=db(b)}g=M(R(M(M(g/M(a>>>0))+M(.5))));b:{if(M(N(g))>2];if(!c){break a}f=G[a|0]|G[a+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(c>>>0>((e<<8|e>>>8)&65535)>>>0){break a}e=a;f=c-f|0;a=d&65535;d=4-a|0;e=e+(f>>>d<<1)|0;e=G[e+6|0]|G[e+7|0]<<8;e=((e<<8|e>>>8)&65535)>>>((f^-1|-1<>>(-1<>>0>>1>>>0?0:d;if((a|0)==(d|0)){break a}b=F[b+24>>2];a=a-d|0;h=FC(EC(b,b>>31,a,a>>31),Ha,c,0)}return h}function jh(a,b,c){var d=0,e=0,f=0,g=M(0),h=0;d=G[a+4|0]|G[a+5|0]<<8;d=d<<8|d>>>8;f=d&65535;a:{if(f-1>>>0>=3){if((f|0)!=32768){break a}d=G[c+6|0]|G[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=G[a+1|0]|G[a|0]<<8;if(e>>>0<=d>>>0){g=M(0)}else{d=(d<<2)+c|0;d=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=G[a+3|0]|G[a+2|0]<<8;a=G[c+2|0]|G[c+3|0]<<8|(G[c+4|0]<<16|G[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=Be(d?d+c|0:163632,e,F[b+72>>2],F[b+68>>2],a?a+c|0:163632)}g=M(g*M(F[b+20>>2]));b=F[b+16>>2];a=F[b+28>>2];if(!a){a=db(b)}g=M(R(M(M(g/M(a>>>0))+M(.5))));b:{if(M(N(g))>2];if(!c){break a}f=G[a|0]|G[a+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(c>>>0>((e<<8|e>>>8)&65535)>>>0){break a}e=a;f=c-f|0;a=d&65535;d=4-a|0;e=e+(f>>>d<<1)|0;e=G[e+6|0]|G[e+7|0]<<8;e=((e<<8|e>>>8)&65535)>>>((f^-1|-1<>>(-1<>>0>>1>>>0?0:d;if((a|0)==(d|0)){break a}b=F[b+20>>2];a=a-d|0;h=FC(EC(b,b>>31,a,a>>31),Ha,c,0)}return h}function Si(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=F[b+4>>2];a:{if(e>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=F[b+12>>2]-2|0;F[b+12>>2]=g;if((g|0)<=0){break a}d=G[a|0]|G[a+1|0]<<8;if(!d){return 1}h=a+2|0;if(h>>>0>>0|f>>>0>>0){break a}k=f-h|0;d=(d<<8|d>>>8)&65535;f=d<<1;if(k>>>0>>0){break a}f=g-f|0;F[b+12>>2]=f;if((f|0)<=0){break a}f=a+2|0;if(f>>>0>>0){break a}l=d>>>0>1?d:1;h=0;while(1){b:{g=F[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break b}i=F[c>>2];j=F[b+12>>2];d=j-2|0;F[b+12>>2]=d;if((d|0)<=0){break b}d=G[f|0]|G[f+1|0]<<8;c:{if(!d){break c}d=i+((d<<8|d>>>8)&65535)|0;d:{if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<2){break d}i=j-4|0;F[b+12>>2]=i;if((i|0)<=0){break d}j=G[d|0]|G[d+1|0]<<8;if(!j){break c}k=e;e=d+2|0;if(k>>>0>e>>>0|e>>>0>g>>>0){break d}k=g-e|0;e=((j<<8|j>>>8)&65535)<<1;if(k>>>0>>0){break d}e=i-e|0;F[b+12>>2]=e;if((e|0)>0){break c}}e=F[b+28>>2];if(e>>>0>31){break b}F[b+28>>2]=e+1;if(!G[b+24|0]){break b}D[f|0]=0;D[f+1|0]=0}i=1;h=h+1|0;if((l|0)==(h|0)){break a}e=F[b+4>>2];f=((h<<1)+a|0)+2|0;if(e>>>0<=f>>>0){continue}}break}i=0}return i}function Pm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=G[a+2|0]|G[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=F[b+100>>2];e=qb(e,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);e:{if((e|0)==-1){break e}c=163632;f=G[a+4|0]|G[a+5|0]<<8;e=e>>>0<((f<<8|f>>>8)&65535)>>>0?((e<<1)+a|0)+6|0:163632;e=G[e|0]|G[e+1|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}a=G[c|0]|G[c+1|0]<<8;if(!a){break e}e=(a<<8|a>>>8)&65535;a=c+2|0;while(1){d=G[a|0]|G[a+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=163632}f=G[d|0]|G[d+1|0]<<8;g=(f<<8|f>>>8)&65535;h=d+4|0;d=G[d+2|0]|G[d+3|0]<<8;d=ue(b,g,h,(d<<8|d>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,731,0);if(d){break e}a=a+2|0;e=e-1|0;if(e){continue}break}}return d}return gn(a,b)}c=G[a+6|0]|G[a+7|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=F[b+100>>2];if((qb(e,F[F[c+80>>2]+L(F[c+64>>2],20)>>2])|0)==-1){break a}c=b;b=G[a+2|0]|G[a+3|0]<<8;b=(b<<8|b>>>8)&65535;d=G[a+4|0]|G[a+5|0]<<8;d=ue(c,b,a+8|0,(d<<8|d>>>8)&65535,((b<<1)+a|0)+6|0,732,a)}return d}function qk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=F[a+4>>2];if(i){b=F[a+24>>2]+L(b,204)|0;j=F[b+200>>2];l=F[b+204>>2];k=F[a+12>>2];while(1){a=F[k+4>>2];g=(a|0)<=0;a:{if(g){break a}d=F[k>>2];c=d+L(a,40)|0;b=0;a=d;f=0;while(1){e=F[a+16>>2]&32;f=e?f?f:a:f;b=(e>>>5|0)+b|0;a=a+40|0;if(c>>>0>a>>>0){continue}break}a=f;if(b>>>0<=1){if((b|0)==1){l=F[f+36>>2]-Ua(F[f+28>>2],j)|0}if(g){break a}while(1){if((d|0)!=(f|0)){n=d,o=Ua(F[d+28>>2],j)+l|0,F[n+36>>2]=o}d=d+40|0;if(c>>>0>d>>>0){continue}break}break a}while(1){c=a;a=F[a+4>>2];if((f|0)==(a|0)){break a}if(G[a+16|0]&32){continue}b=a;while(1){b=F[b+4>>2];if(!(G[b+16|0]&32)){continue}break}d=F[c+28>>2];e=F[b+28>>2];b:{if((d|0)<=(e|0)){h=e-d|0;e=c;g=b;break b}h=d-e|0;d=e;e=b;g=c}m=F[g+36>>2];g=F[e+36>>2];c:{if((h|0)<=0){e=65536;break c}e=_a(m-g|0,h);a=F[c+4>>2]}while(1){c=F[a+28>>2]-d|0;d:{if((c|0)<=0){c=Ua(c,j)+g|0;break d}if((c|0)>=(h|0)){c=Ua(c-h|0,j)+m|0;break d}c=Ua(c,e)+g|0}F[a+36>>2]=c;a=F[a+4>>2];if((b|0)!=(a|0)){continue}break}a=b;if((f|0)!=(a|0)){continue}break}}k=k+8|0;i=i-1|0;if(i){continue}break}}}function ee(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ga-1312|0;Ga=f;g=F[a+4>>2];i=F[g+492>>2];j=F[i+12>>2];h=F[F[g+128>>2]+52>>2];k=F[g+452>>2];e=a+1388|0;F[e>>2]=F[g+448>>2];F[e+4>>2]=k;e=F[g+444>>2];F[a+1380>>2]=F[g+440>>2];F[a+1384>>2]=e;e=F[g+460>>2];F[a+1396>>2]=F[g+456>>2];F[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;F[c>>2]=F[e+F[g+428>>2]>>2];F[c+4>>2]=F[e+F[g+432>>2]>>2];break b}e=Ia[F[F[h>>2]>>2]](F[h+4>>2],b,c)|0;if(e){break a}}c:{if(G[a+70|0]){e=Ia[F[j+8>>2]](a,F[c>>2],F[c+4>>2])|0;break c}e=f+656|0;Ia[F[i+24>>2]](e,a,1);Ia[F[i+28>>2]](g,g+168|0,f);F[f+1192>>2]=f;e=Ia[F[j+12>>2]](e,F[c>>2],F[c+4>>2])|0;if((e&255)!=164){break c}D[F[a+8>>2]+160|0]=0;D[d|0]=1;e=Ia[F[j+12>>2]](f+656|0,F[c>>2],F[c+4>>2])|0}if(!h|e){break a}if(!F[F[h>>2]+8>>2]){e=0;break a}c=F[a+32>>2];F[f+4>>2]=0;F[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=F[a+40>>2];F[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=F[a+44>>2];F[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=Ia[F[F[h>>2]+8>>2]](F[h+4>>2],b,0,f)|0;F[a+32>>2]=F[f>>2]<<16;F[a+40>>2]=F[f+8>>2]<<16;F[a+44>>2]=F[f+12>>2]<<16}Ga=f+1312|0;return e}function at(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=3;a:{if((d|e)<0){break a}g=F[a+8>>2];h=F[a+12>>2];i=H[h+2>>1];if(I[g+4>>2]>>0){break a}k=H[h>>1];if(I[g>>2]>>0){break a}i=L(i,G[a+18|0]);if((L(i,k)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!i|!k){break a}l=d&7;a=8-l|0;j=a>>>0>i>>>0?i:a;p=(255<>2];h=F[g+12>>2]+(L(n,e)+(d>>>3|0)|0)|0;q=i-j|0;o=8-j|0;e=0;g=0;d=k;while(1){m=d;b:{if(!l){f=i;d=h;break b}c:{if((k|0)==(m|0)){e=G[b|0];b=b+1|0;a=l;break c}if((g|0)<(j|0)){a=g+o|0;if(b>>>0>=c>>>0){break c}e=G[b|0]|e;b=b+1|0;a=g+o|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;D[h|0]=G[h|0]|(e&65535)>>>g&p;e=e<<8;f=q;d=h+1|0}a=b;if((f|0)>=8){while(1){b=G[a|0]|e;D[d|0]=G[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=G[a|0]|e;a=a+1|0}D[d|0]=G[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}D[d|0]=G[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+n|0;d=m-1|0;if((m|0)>1){continue}break}f=0}return f|0}function ie(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ga-16|0;Ga=h;if(e){F[e>>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)>0?c:0;i=F[a+8>>2];g=F[a>>2];a:{b:{if(g){b=i;while(1){if(!(F[b>>2]!=(l|0)|F[b+4>>2]!=(m|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}j=g+1|0;b=F[a+4>>2];c:{if(j>>>0>>0){break c}F[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=Va(d,12,f,b,i,h+4|0);F[a+8>>2]=i;f=F[h+4>>2];if(f){break a}F[a+4>>2]=b}F[a>>2]=j;b=L(g,12)+i|0;F[b+8>>2]=c>>31&(k?3:1);F[b+4>>2]=m;F[b>>2]=l}b=F[a+12>>2];d:{e:{if(!b){f:{if(F[a+16>>2]){b=F[a+20>>2];break f}F[h+8>>2]=0;b=Va(d,16,0,8,F[a+20>>2],h+8|0);F[a+20>>2]=b;f=F[h+8>>2];if(f){break a}F[a+16>>2]=8}F[b+12>>2]=0;F[b>>2]=0;F[a+12>>2]=1;break e}b=(F[a+20>>2]+(b<<4)|0)-16|0;if(I[b>>2]>g>>>0){break d}}a=F[b+4>>2];F[h+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=Va(d,1,f,a,F[b+8>>2],h+12|0),F[n+8>>2]=o;f=F[h+12>>2];if(f){break a}F[b+4>>2]=a<<3}F[b>>2]=g+1}a=F[b+8>>2]+(g>>>3|0)|0;D[a|0]=G[a|0]|128>>>(g&7);f=0;if(!e){break a}F[e>>2]=g}Ga=h+16|0;return f}function rx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ga-272|0;Ga=g;e=F[b+4>>2];f=F[b>>2];b=F[a>>2];d=F[a+4>>2];F[g+12>>2]=d<<2;F[g+8>>2]=b<<2;i=e<<2;F[g+4>>2]=i;f=f<<2;F[g>>2]=f;k=F[c+208>>2];F[g+16>>2]=k;a=F[c+212>>2];F[g+20>>2]=a;j=d>>6;a:{b:{l=e>>6;h=F[c+176>>2];c:{d:{if((l|0)<(h|0)){e=a>>8;break d}e=a>>8;if((h|0)>(j|0)){break d}if((e|0)>=(h|0)){break c}}h=F[c+172>>2];if((h|0)<=(l|0)|(h|0)<=(j|0)|(e|0)>=(h|0)){break b}}F[c+212>>2]=i;F[c+208>>2]=f;break a}e=1;f=(f-(b<<3)|0)+k|0;b=f>>31;d=a+(i-(d<<3)|0)|0;a=d>>31;b=(b^f)-b|0;a=(a^d)-a|0;a=a>>>0>>0?b:a;if(a>>>0>=65){while(1){e=e<<1;b=a>>>0>259;a=a>>>2|0;if(b){continue}break}}a=g;while(1){b=0-e&e;if(b>>>0>=2){while(1){d=F[a+16>>2];F[a+32>>2]=d;i=F[a+20>>2];F[a+36>>2]=i;f=F[a+8>>2];j=f+F[a>>2]|0;F[a+8>>2]=j>>1;d=d+f|0;F[a+24>>2]=d>>1;F[a+16>>2]=d+j>>2;d=F[a+12>>2];f=d+F[a+4>>2]|0;F[a+12>>2]=f>>1;d=d+i|0;F[a+28>>2]=d>>1;F[a+20>>2]=d+f>>2;a=a+16|0;d=b>>>0>3;b=b>>1;if(d){continue}break}}vg(c,F[a>>2],F[a+4>>2]);a=a-16|0;e=e-1|0;if(e){continue}break}}Ga=g+272|0;return 0}function yn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=F[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}e=F[b+12>>2]-6|0;F[b+12>>2]=e;if((e|0)<=0){break a}f=G[a+2|0]|G[a+3|0]<<8;if(!f){break a}g=a+6|0;if(d>>>0>g>>>0|c>>>0>>0){break a}f=(f<<8|f>>>8)&65535;h=f<<1;if(h>>>0>c-g>>>0){break a}c=e-h|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=0;c=a+6|0;if(d>>>0>c>>>0){return 0}f=f>>>0>1?f:1;while(1){d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=F[b+12>>2]-2|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=G[c|0]|G[c+1|0]<<8;b:{if(!d){break b}if(Mb(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=F[b+28>>2];if(d>>>0>31){break a}F[b+28>>2]=d+1;if(!G[b+24|0]){break a}D[c|0]=0;D[c+1|0]=0}e=e+1|0;if((f|0)!=(e|0)){c=((e<<1)+a|0)+6|0;if(c>>>0>=I[b+4>>2]){continue}break a}break}c=G[a+4|0]|G[a+5|0]<<8;if(!c){return 1}d=a;a=G[a+2|0]|G[a+3|0]<<8;a=(d+(((a<<8|a>>>8)&65535)<<1)|0)+6|0;if(a>>>0>2]){break a}e=F[b+8>>2];if(e>>>0>>0){break a}d=e-a|0;a=((c<<8|c>>>8)&65535)<<2;if(d>>>0>>0){break a}a=F[b+12>>2]-a|0;F[b+12>>2]=a;i=(a|0)>0}return i}function Ij(a){var b=0,c=0,d=0,e=0;d=F[F[a>>2]+100>>2];b=F[a+300>>2];if(b){F[b+444>>2]=0;c=F[b+8>>2];e=F[b+24>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b+20>>2]=0;F[b+24>>2]=0;e=F[b+440>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b+440>>2]=0;F[b+432>>2]=0;F[b+436>>2]=0;e=F[b+396>>2];if(e){Ia[F[c+8>>2]](c,e)}F[b+392>>2]=0;F[b+396>>2]=0;F[b>>2]=0;F[b+4>>2]=0;if(b){Ia[F[c+8>>2]](c,b)}F[a+300>>2]=0}b=F[a+252>>2];if(b){Ia[F[d+8>>2]](d,b)}F[a+248>>2]=0;F[a+252>>2]=0;b=F[a+260>>2];if(b){Ia[F[d+8>>2]](d,b)}E[a+256>>1]=0;F[a+260>>2]=0;b=F[a+264>>2];if(b){c=F[a+292>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+292>>2]=0;c=F[a+288>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+288>>2]=0;c=F[a+280>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+280>>2]=0;c=F[a+276>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+276>>2]=0;c=F[a+284>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+284>>2]=0;F[a+272>>2]=0;F[a+264>>2]=0;F[a+268>>2]=0}b=F[a+132>>2];if(b){Ia[F[d+8>>2]](d,b)}F[a+132>>2]=0;b=F[a+144>>2];if(b){Ia[F[d+8>>2]](d,b)}F[a+136>>2]=0;F[a+140>>2]=0;F[a+124>>2]=0;F[a+128>>2]=0;F[a+144>>2]=0;F[a+148>>2]=0;F[a+152>>2]=0;F[a+304>>2]=-1;F[a+308>>2]=-1}function GC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(b){if(!g){break k}if(!d){break j}c=O(d)-O(b)|0;if(c>>>0<=31){break i}break c}if((d|0)==1|d>>>0>1){break c}a=(a>>>0)/(g>>>0)|0;Ha=0;break a}if(!a){break h}if(!d){break g}if(d-1&d){break g}a=b>>>DC(d)|0;Ha=0;break a}if(!(g-1&g)){break f}h=(O(g)+33|0)-O(b)|0;e=0-h|0;break d}h=c+1|0;e=63-c|0;break d}a=(b>>>0)/(d>>>0)|0;Ha=0;break a}c=O(d)-O(b)|0;if(c>>>0<31){break e}break c}if((g|0)==1){break b}c=DC(g);d=c&31;if((c&63)>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}Ha=c;break a}h=c+1|0;e=63-c|0}c=h&63;f=c&31;if(c>>>0>=32){c=0;i=b>>>f|0}else{c=b>>>f|0;i=((1<>>f}f=c;c=e&63;e=c&31;if(c>>>0>=32){c=a<>>32-e|b<>>31;f=f<<1|i>>>31;j=m-(f+(c>>>0>e>>>0)|0)>>31;k=g&j;i=c-k|0;f=f-((d&j)+(c>>>0>>0)|0)|0;b=b<<1|a>>>31;a=l|a<<1;l=j&1;h=h-1|0;if(h){continue}break}}Ha=b<<1|a>>>31;a=l|a<<1;break a}a=0;b=0}Ha=b}return a}function md(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ga-32|0;f=F[a+68>>2];if(f>>>0>=2){i=F[a+80>>2];e=f-1|0;while(1){b=L(e,20)+i|0;F[c+24>>2]=F[b+16>>2];d=F[b+12>>2];F[c+16>>2]=F[b+8>>2];F[c+20>>2]=d;d=F[b+4>>2];F[c+8>>2]=F[b>>2];F[c+12>>2]=d;d=L(g,20)+i|0;F[b+16>>2]=F[d+16>>2];h=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=h;h=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=h;F[d+16>>2]=F[c+24>>2];b=F[c+20>>2];F[d+8>>2]=F[c+16>>2];F[d+12>>2]=b;b=F[c+12>>2];F[d>>2]=F[c+8>>2];F[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!G[a+62|0]){break a}b=F[a+68>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=F[a+88>>2];e=b-1|0;g=0;while(1){a=d+L(e,20)|0;F[c+24>>2]=F[a+16>>2];b=F[a+12>>2];F[c+16>>2]=F[a+8>>2];F[c+20>>2]=b;b=F[a+4>>2];F[c+8>>2]=F[a>>2];F[c+12>>2]=b;b=d+L(g,20)|0;F[a+16>>2]=F[b+16>>2];f=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=f;f=F[b+4>>2];F[a>>2]=F[b>>2];F[a+4>>2]=f;F[b+16>>2]=F[c+24>>2];a=F[c+20>>2];F[b+8>>2]=F[c+16>>2];F[b+12>>2]=a;a=F[c+12>>2];F[b>>2]=F[c+8>>2];F[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=F[a+532>>2];if(!j){return 6}l=-1;d=F[j>>2];a:{if(!d){break a}e=F[j+4>>2];b:{if(e){m=b>>>0>e>>>0?e:b;d=e;while(1){h=0;i=65536;f=0;c:{if(!d){break c}while(1){d:{if(h>>>0>=m>>>0){i=i>>1;break d}f=F[(h<<2)+c>>2];f=g>>>h&1?f:65536-f|0;if((f|0)<=0){i=0;f=d;break c}if(f>>>0>65535){break d}i=Ua(i,f);e=F[j+4>>2]}d=e;f=d;h=h+1|0;if(h>>>0>>0){continue}break}}d=F[j+136>>2]+(g<<2)|0;if(F[d>>2]!=(i|0)){F[d>>2]=i;k=1}d=f;g=g+1|0;if(g>>>0>2]){continue}break}break b}i=d&3;c=F[j+136>>2];if(d-1>>>0>=3){j=d&-4;d=0;while(1){e=h<<2;g=e+c|0;if(F[g>>2]!=65536){F[g>>2]=65536;k=1}g=c+(e|4)|0;if(F[g>>2]!=65536){F[g>>2]=65536;k=1}g=c+(e|8)|0;if(F[g>>2]!=65536){F[g>>2]=65536;k=1}e=c+(e|12)|0;if(F[e>>2]!=65536){F[e>>2]=65536;k=1}h=h+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break b}while(1){d=c+(h<<2)|0;if(F[d>>2]!=65536){F[d>>2]=65536;k=1}h=h+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(!k){break a}l=0;F[a+8>>2]=F[a+8>>2]&-32769|((b|0)!=0)<<15}return l|0}function Dx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{a=F[a+12>>2];f=F[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=F[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){F[a+4280>>2]=b;F[a+4284>>2]=e-f;break c}f=0;if(Za(F[a>>2],0)){break a}F[a+12>>2]=0;F[a+16>>2]=0;F[a+104>>2]=0;F[a+48>>2]=0;F[a+36>>2]=0;F[a+40>>2]=0;D[a+44|0]=0;F[a- -64>>2]=9;e=a+4280|0;F[a+4288>>2]=e;F[a+4284>>2]=e;F[e>>2]=0}if(b>>>0<=f>>>0){break c}g=F[a+4284>>2];h=F[a+4288>>2]-g|0;b=b-f|0;e=h>>>0>>0;i=g;g=e?h:b;F[a+4284>>2]=i+g;F[a+4280>>2]=f+g;if(e){h=a+12|0;b=b-g|0;while(1){f=0;e=b>>>0<4096?b:4096;if($k(h,0,e)>>>0>>0){break a}F[a+4280>>2]=e+F[a+4280>>2];f=b>>>0>4096;b=b-e|0;if(f){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;j=a+12|0;e=F[a+4284>>2];h=F[a+4288>>2];f=0;while(1){i=e;e=h-e|0;b=d>>>0>e>>>0?e:d;Ya(c+f|0,i,b);F[a+4284>>2]=b+F[a+4284>>2];F[a+4280>>2]=b+F[a+4280>>2];f=b+f|0;if(d>>>0<=e>>>0){break a}F[a+4284>>2]=g;i=$k(j,g,4096);e=F[a+4284>>2];h=i+e|0;F[a+4288>>2]=h;d=d-b|0;if(i){continue}break}}return f|0}function mu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{if(!G[a+24|0]){h=F[b>>2];break c}h=F[b>>2];d=a+28|0;if((h|0)!=F[d>>2]){break c}Yj(a);if(!G[a+24|0]){return 0}c=F[a+32>>2];break b}c=F[a+16>>2];d=G[c+12|0]|G[c+13|0]<<8|(G[c+14|0]<<16|G[c+15|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i|(h|0)==-1){break a}j=c+20|0;k=h+1|0;d=i;d:{e:{while(1){g=d+l>>>1|0;e=L(g,12)+j|0;c=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g;f=e-4|0;f=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=k>>>0){if(h>>>0>>0){break e}l=g+1|0}else{d=c}if(d>>>0>l>>>0){continue}break}c=0;break d}d=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);c=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}j=F[a>>2];if(h>>>0>=m>>>0){e=0;g=g+1|0;if((i|0)==(g|0)){break a}}D[a+24|0]=1;F[a+36>>2]=g;d=a+28|0;F[d>>2]=k;if(!(c>>>0>2]?c:0)){Yj(a);c=0;if(!G[a+24|0]){break b}c=F[a+32>>2];break b}F[a+32>>2]=c}e=c;F[b>>2]=F[d>>2]}return e|0}function ak(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=F[a+24>>2];if(b>>>0>65534){break b}i=F[a>>2];l=F[i+508>>2]+F[i+512>>2]|0;c=b+1|0;b=F[a+40>>2];c=b>>>0>>0?c:b;while(1){g=F[a+44>>2];c:{if(g>>>0>>0){break c}f=F[a+48>>2];d:{e=F[a+52>>2];if(!e){j=F[i+16>>2];b=f+g|0;if((b|0)<0){while(1){d=c+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}c=c+1|0;if(g>>>0>=c>>>0){continue}break c}}e=0-f|0;if(b>>>0<=65535){break d}h=65536-f|0;while(1){k=c+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){b=e;if((k|0)<0){break e}b=h;if(k>>>0<65536){break e}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}break c}b=e+(c-b<<1)|0;if(l>>>0>>0){break c}while(1){e=G[b+1|0]|G[b|0]<<8;if(e){d=f+e&65535;if(d){break a}}b=b+2|0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}break c}while(1){h=c+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){b=e;if((h|0)<0){break f}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}}d=0;if((bk(a,F[a+36>>2]+1|0)|0)<0){break b}b=F[a+40>>2];c=b>>>0>>0?c:b;continue}}c=-1}F[a+28>>2]=d;F[a+24>>2]=c}function Rk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ga-16|0;Ga=g;d=3;h=F[b+188>>2];a:{if(!h){break a}f=F[b+192>>2];while(1){if(F[f+(e<<4)>>2]==(c|0)){d=83;c=F[(f+(e<<4)|0)+12>>2];e=F[a+8>>2];if(c>>>0>>0){break a}if(Fb(a,c-e|0)){break a}F[g+12>>2]=0;c=dc(a,g+12|0);d=F[g+12>>2];if(d){break a}i=c&-256;if((i|256)==256){d=b+196|0;f=c&4;b:{if(f){d=sb(a,29712,d);break b}d=sb(a,29776,d)}F[g+12>>2]=d;if(d){break a}d=F[b+204>>2];e=d>>31;if((d^e)-e>>>0>=32768){F[b+204>>2]=(d|0)<0?-32767:32767}d=F[b+208>>2];e=d>>31;if((d^e)-e>>>0>=32768){F[b+208>>2]=(d|0)<0?-32767:32767}e=b+216|0;d=sb(a,f?29840:29872,e);F[g+12>>2]=d;if(d){break a}h=c&255;f=b+232|0;d=tg(a,h,f);F[g+12>>2]=d;if(d){break a}c=b+248|0;if((i|0)==256){d=tg(a,h,c);F[g+12>>2]=d;if(d){break a}d=tg(a,h,b+264|0);break a}a=F[e+4>>2];F[c>>2]=F[e>>2];F[c+4>>2]=a;a=F[e+12>>2];F[c+8>>2]=F[e+8>>2];F[c+12>>2]=a;a=F[f+12>>2];F[b+272>>2]=F[f+8>>2];F[b+276>>2]=a;a=F[f+4>>2];F[b+264>>2]=F[f>>2];F[b+268>>2]=a}d=0;break a}e=e+1|0;if((h|0)!=(e|0)){continue}break}}Ga=g+16|0;return d}function Dd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ga-208|0;Ga=e;F[e+8>>2]=1;F[e+12>>2]=0;i=L(b,c);a:{if(!i){break a}F[e+16>>2]=c;F[e+20>>2]=c;j=0-c|0;b=c;f=b;h=2;while(1){g=b;b=(c+f|0)+b|0;F[(e+16|0)+(h<<2)>>2]=b;h=h+1|0;f=g;if(b>>>0>>0){continue}break}g=(a+i|0)+j|0;b:{if(g>>>0<=a>>>0){h=0;b=1;g=0;break b}h=1;b=1;while(1){c:{if((h&3)==3){Vg(a,c,d,b,e+16|0);rf(e+8|0,2);b=b+2|0;break c}f=b-1|0;d:{if(I[(e+16|0)+(f<<2)>>2]>=g-a>>>0){qf(a,c,d,e+8|0,b,0,e+16|0);break d}Vg(a,c,d,b,e+16|0)}if((b|0)==1){pf(e+8|0,1);b=0;break c}pf(e+8|0,f);b=1}f=F[e+8>>2];h=f|1;F[e+8>>2]=h;a=a+c|0;if(g>>>0>a>>>0){continue}break}h=f>>>0>1;g=F[e+12>>2]!=0}qf(a,c,d,e+8|0,b,0,e+16|0);if(!(g?1:h|(b|0)!=1)){break a}while(1){e:{if((b|0)<=1){f=e+8|0;g=km(f);rf(f,g);h=F[e+8>>2];b=b+g|0;break e}f=e+8|0;pf(f,2);F[e+8>>2]=F[e+8>>2]^7;rf(f,1);k=a+j|0;i=e+16|0;g=b-2|0;qf(k-F[i+(g<<2)>>2]|0,c,d,f,b-1|0,1,i);pf(f,1);h=F[e+8>>2]|1;F[e+8>>2]=h;qf(k,c,d,f,g,1,i);b=g}a=a+j|0;if(F[e+12>>2]|((b|0)!=1|(h|0)!=1)){continue}break}}Ga=e+208|0}function Xj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Ga-16|0;Ga=j;d=G[b+3|0];g=d|(G[b+1|0]<<16|G[b|0]<<24|G[b+2|0]<<8);if(g){h=d&3;e=b+7|0;a:{if(g-1>>>0<3){d=e;break a}l=g-h|0;while(1){f=(G[e+12|0]+(G[e+8|0]+(G[e+4|0]+(G[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;k=k+4|0;if((l|0)!=(k|0)){continue}break}}if(h){while(1){f=(G[d|0]+f|0)+1|0;d=d+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}d=f+1|0}else{d=1}e=F[a+28>>2];F[j+12>>2]=0;b:{c:{d:{if(d>>>0<=e>>>0){c=F[a+32>>2];break d}F[a+36>>2]=c;c=Va(c,4,e,d,F[a+32>>2],j+12|0);F[a+32>>2]=c;if(F[j+12>>2]){break c}F[a+28>>2]=d}d=c;if(g){while(1){e=G[b+6|0]|(G[b+5|0]<<8|G[b+4|0]<<16);i=0;a=G[b+7|0];f=a+1|0;h=f&7;if(h){while(1){F[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(a>>>0>=7){while(1){F[d>>2]=e;F[d+28>>2]=e+7;F[d+24>>2]=e+6;F[d+20>>2]=e+5;F[d+16>>2]=e+4;F[d+12>>2]=e+3;F[d+8>>2]=e+2;F[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;g=g-1|0;if(g){continue}break}}F[d>>2]=0;break b}c=0}Ga=j+16|0;return c}function ph(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=H[b>>1];f=H[a>>1];a:{b:{c:{d:{a=F[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}b=0;a=0;if(d>>>0<=257){a=d<<2;c=F[a+122816>>2];h=c+119104|0;a=F[a+122820>>2]+(c^-1)|0}if(f>>>0<=257){break d}c=0;break b}b=0;g=F[c+8>>2];e=G[g|0]|G[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=0;e:{if(e>>>0<=d>>>0){break e}a=(d<<1)+g|0;a=G[a+2|0]|G[a+3|0]<<8;d=(a<<8|a>>>8)&65535;if(d>>>0<=257){a=d<<2;d=F[a+122816>>2];h=d+119104|0;a=F[a+122820>>2]+(d^-1)|0;break e}d=d-258|0;a=0;if(d>>>0>=I[c+16>>2]){break e}a=F[c+24>>2]+F[F[c+20>>2]+(d<<2)>>2]|0;h=a+1|0;a=G[a|0]}if(f>>>0>>0){break c}c=0;break b}c=f<<2;b=F[c+122816>>2];c=F[c+122820>>2]+(b^-1)|0;b=b+119104|0;break b}b=(f<<1)+g|0;b=G[b+2|0]|G[b+3|0]<<8;d=(b<<8|b>>>8)&65535;if(d>>>0<=257){c=d<<2;b=F[c+122816>>2];c=F[c+122820>>2]+(b^-1)|0;b=b+119104|0;break b}b=0;d=d-258|0;if(d>>>0>=I[c+16>>2]){c=0;break b}c=F[c+24>>2]+F[F[c+20>>2]+(d<<2)>>2]|0;b=c+1|0;c=G[c|0]}if((a|0)!=(c|0)){return c-a|0}if(!a){break a}i=hc(b,h,a)}return i}function EA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=F[a+12>>2];F[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Ia[F[e+36>>2]](e,b,c,d,F[e+68>>2])|0){break a}}if(G[F[a>>2]+152|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}F[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}F[d>>2]=64287;break b}F[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}F[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}F[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){F[d>>2]=F[(a<<2)+128448>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:F[d>>2]=64300;break b;case 1:break d;default:break a}}F[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:F[d>>2]=64332;break b;case 10:F[d>>2]=64333;break b;case 19:break e;default:break a}}F[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}F[d>>2]=64298;break b}F[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}F[d>>2]=64299;break b}F[d>>2]=64301}f=1}return f|0}function Bw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ga-16|0;Ga=f;Sb(a,F[a+8>>2]);g=F[a+8>>2];d=F[a>>2];F[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e=G[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break d}i=125}d=d+1|0;F[f+12>>2]=d;if(d>>>0>=g>>>0){break a}e:{if(!c){while(1){Sb(f+12|0,g);e=F[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(G[e|0]==(i|0)){break c}Hc(f+12|0,g,0);d=F[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}b=(b|0)>0?b:0;while(1){Sb(f+12|0,g);e=F[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(G[e|0]==(i|0)){break c}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Hc(f+12|0,g,0)>>>16|0,E[j>>1]=k;d=F[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}Sb(f+12|0,g);e=F[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(!G[e|0]){break c}if(!c|(b|0)>0){break b}d=e;break a}d=e+1|0;break a}j=c?c:f+10|0,k=Hc(f+12|0,g,0)>>>16|0,E[j>>1]=k;d=F[f+12>>2];h=(e|0)==(d|0)?-1:1}F[a>>2]=d;Ga=f+16|0;return h|0}function xt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ga-16|0;Ga=f;e=Ia[F[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=F[f+12>>2];if(c>>>0<4){break a}e=$b(b,c,a+808|0);if(e){break a}c=F[f+12>>2];F[a+812>>2]=c;e=0;d=F[a+808>>2];b=G[d+2|0]<<8|G[d+3|0];j=b>>>0<32?b:32;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=G[b+3|0]|G[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(G[b+4|0]|(G[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}F[a+824>>2]=n;F[a+820>>2]=m;F[a+816>>2]=g}Ga=f+16|0;return e|0}function rt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=F[a+816>>2];a:{if(!g){break a}e=F[a+812>>2];if((e|0)<10){break a}d=e;e=F[a+808>>2];k=d+e|0;d=e+4|0;f=e+10|0;l=b<<16|c;n=F[a+820>>2];h=1;while(1){b=(G[d+3|0]|G[d+2|0]<<8)+d|0;e=b>>>0>k>>>0?k:b;b:{if(G[d+4|0]|!(h&n)){break b}o=G[d+5|0];c=d+14|0;i=e-c|0;b=G[d+7|0]|G[f|0]<<8;b=(i|0)<(L(b,6)|0)?(i|0)/6|0:b;c:{if(F[a+824>>2]&h){if(!b){break b}i=d+18|0;c=0;while(1){f=b+c>>>1|0;j=i+L(f,6)|0;d=j-4|0;d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;c=d?f+1|0:c;b=d?b:f;if(c>>>0>>0){continue}break b}break}b=j+1|0;break c}if(!b){break b}while(1){d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){c=c+6|0;b=b-1|0;if(b){continue}break b}break}j=c+4|0;b=c+5|0}m=((G[b|0]|G[j|0]<<8)<<16>>16)+(o&8?0:m)|0}g=g-1|0;if(!g){break a}h=h<<1;d=e;f=d+6|0;if(k>>>0>=f>>>0){continue}break}}return m|0}function pg(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=G[F[a>>2]+236|0];F[g>>2]=0;F[f>>2]=0;if(G[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=F[a+4>>2];h=L(h>>16,b>>16);b=d-b|0;F[j+16>>2]=F[j+16>>2]+(h-L(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=F[a+11688>>2];if((e|0)>b<<1){F[f>>2]=c;a=F[a+11692>>2];break a}k=f,l=Ua(45875,c),F[k>>2]=l;a=Ua(19661,F[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=F[a+11688>>2];if((0-e|0)>b<<1){F[f>>2]=0-c;a=F[a+11692>>2];break a}k=f,l=Ua(-45874,c),F[k>>2]=l;a=Ua(19661,F[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){F[f>>2]=0;a=F[a+11692>>2]<<1;break a}c=F[a+11688>>2];if((e|0)>(0-(b<<1)|0)){F[f>>2]=c;a=F[a+11692>>2];break a}k=f,l=Ua(45875,c),F[k>>2]=l;a=Ua(111411,F[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){F[f>>2]=0;a=F[a+11692>>2]<<1;break a}c=F[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){F[f>>2]=0-c;a=F[a+11692>>2];break a}k=f,l=Ua(-45874,c),F[k>>2]=l;a=Ua(111411,F[a+11692>>2]);break a}F[f>>2]=0;a=0}F[g>>2]=a}}function jr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=F[a+100>>2];b=F[a+316>>2];if(b){d=F[a+300>>2];if((d|0)>0){while(1){b=(e<<3)+b|0;f=F[b+4>>2];if(f){d=F[f>>2];if(d){Ia[F[c+8>>2]](c,d)}F[F[b+4>>2]>>2]=0;d=F[b+4>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+4>>2]=0;d=F[a+300>>2]}e=e+1|0;if((e|0)<(d|0)){b=F[a+316>>2];continue}break}b=F[a+316>>2]}if(b){Ia[F[c+8>>2]](c,b)}F[a+316>>2]=0}b=F[a+164>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+164>>2]=0;b=F[a+168>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+168>>2]=0;b=F[a+172>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+172>>2]=0;b=F[a+176>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+176>>2]=0;b=F[a+180>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+180>>2]=0;b=F[a+304>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+300>>2]=0;F[a+304>>2]=0;b=F[a+140>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+140>>2]=0;b=F[a+152>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+152>>2]=0;b=F[a+156>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+20>>2]=0;F[a+24>>2]=0;F[a+156>>2]=0;b=F[a+324>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+324>>2]=0;b=F[a+328>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+328>>2]=0}}function et(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ga-16|0;Ga=f;j=F[a+552>>2];a:{b:{g=H[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=F[(b?856:852)+a>>2];k=h+F[(b?756:752)+a>>2]|0;i=F[a+104>>2];if(c>>>0>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=Za(i,g);F[f+12>>2]=g;if(g){break b}m=e,n=fb(i,f+12|0),E[m>>1]=n;if(F[f+12>>2]){break b}m=d,n=fb(i,f+12|0),E[m>>1]=n;if(!F[f+12>>2]){break a}break b}h=h+(g<<2)|0;if(h-2>>>0>k>>>0){break b}h=h-4|0;l=Za(i,h);F[f+12>>2]=l;if(l){break b}m=e,n=fb(i,f+12|0),E[m>>1]=n;if(F[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){E[d>>1]=0;break a}g=Za(i,g+4|0);F[f+12>>2]=g;if(g){E[d>>1]=0;break a}m=d,n=fb(i,f+12|0),E[m>>1]=n;break a}E[d>>1]=0;E[e>>1]=0}if(j){F[f+8>>2]=H[e>>1];F[f+4>>2]=E[d>>1];c:{d:{if(b){b=F[j+12>>2];if(b){Ia[b|0](a,c,f+8|0)|0}b=F[j+16>>2];if(b){break d}break c}b=F[j>>2];if(b){Ia[b|0](a,c,f+8|0)|0}b=F[j+4>>2];if(!b){break c}}Ia[b|0](a,c,f+4|0)|0}E[e>>1]=F[f+8>>2];E[d>>1]=F[f+4>>2]}Ga=f+16|0}function de(a,b,c,d,e){F[a+8>>2]=c;F[a+4>>2]=b;F[a>>2]=0;b=F[c+16>>2];F[a+64>>2]=163632;D[a+60|0]=0;F[a+56>>2]=65536;D[a+44|0]=0;F[a+36>>2]=0;F[a+40>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+16>>2]=d;F[a+12>>2]=b;d=F[b+140>>2];a:{if(d){break a}while(1){c=F[b+48>>2];if(!c){d=163632;break a}b:{c:{d=ib(1,4);if(d){ej(d,c);c=F[b+140>>2];F[b+140>>2]=c?c:d;if(!c){break a}c=F[d>>2];F[61902]=0;_(579,c|0);c=F[61902];F[61902]=0;if((c|0)==1){break c}Ta(d);break b}d=163632;c=F[b+140>>2];F[b+140>>2]=c?c:163632;if(c){break b}break a}ca(0)|0;Y()|0;Hb();V()}d=F[b+140>>2];if(!d){continue}break}}b=F[d>>2];b=b?b:163632;c=F[b+12>>2];b=F[b+16>>2];F[a+72>>2]=0;F[a+68>>2]=b>>>0<12?163632:c;if(!(!e|!F[e>>2])){F[e>>2]=F[e>>2]+1}D[a+44|0]=0;c=e;F[a+52>>2]=c;b=F[a+12>>2];d=F[b+32>>2];if((d|0)==-1){d=Zb(b);c=F[a+52>>2]}D[a+60|0]=1;F[a+56>>2]=d;b=F[c+12>>2];F[a+24>>2]=b;c=F[c+16>>2];F[a+48>>2]=0;F[a+40>>2]=0;F[a+20>>2]=0;F[a+32>>2]=1073741823;F[a+28>>2]=b+c;return a}function cf(a){var b=0,c=0,d=0,e=0,f=0;b=F[F[a+4>>2]+96>>2];f=F[b+8>>2];c=F[F[b+12>>2]+68>>2];if(c){Ia[c|0](a)}c=F[a+156>>2];if(!c){F[a+88>>2]=0;return}d=F[c+4>>2];a:{if(d&1){e=F[a+88>>2];if(e){c=F[F[a+4>>2]+100>>2];Ia[F[c+8>>2]](c,e);c=F[a+156>>2];d=F[c+4>>2]}F[a+88>>2]=0;F[c+4>>2]=d&-2;break a}F[a+88>>2]=0}if(!(G[F[b>>2]+1|0]&2)){b=F[c>>2];if(b){c=F[b>>2];d=F[b+24>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+24>>2]=0;d=F[b+28>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+28>>2]=0;d=F[b+32>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+32>>2]=0;d=F[b+40>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+40>>2]=0;d=F[b+52>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+20>>2]=0;F[b+36>>2]=0;F[b+44>>2]=0;F[b+48>>2]=0;F[b+52>>2]=0;F[b+12>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;F[b+88>>2]=0;d=F[b+24>>2];F[b+56>>2]=F[b+20>>2];F[b+60>>2]=d;e=F[b+32>>2];d=b- -64|0;F[d>>2]=F[b+28>>2];F[d+4>>2]=e;d=F[b+40>>2];F[b+72>>2]=F[b+36>>2];F[b+76>>2]=d;d=F[b+48>>2];F[b+80>>2]=F[b+44>>2];F[b+84>>2]=d;Ia[F[c+8>>2]](c,b);c=F[a+156>>2]}F[c>>2]=0}Ia[F[f+8>>2]](f,c);F[a+156>>2]=0}function Km(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=ib(1,40);if(e){f=F[a+56>>2];k=f-1|0;j=F[a+60>>2];b=F[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=F[L(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(F[(L(d,36)+j|0)+28>>2]){break b}}a=0}D[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=F[b+124992>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=L(b,36)+j|0;i=F[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=F[h+28>>2]}F[g>>2]=a;g=G[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=L(b,36)+j|0;i=F[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=D[h+32|0]&1}D[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}D[e+36|0]=a;return e|0}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=F[a>>2];a:{if(!i){break a}g=i-1|0;d=F[a+8>>2];h=i&3;b:{if(!h){e=i;break b}e=i;while(1){F[d+24>>2]=-1;F[d+16>>2]=F[d+16>>2]&-5;d=d+28|0;e=e-1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(g>>>0<3){break a}while(1){F[d+24>>2]=-1;F[d+52>>2]=-1;F[d+80>>2]=-1;F[d+108>>2]=-1;F[d+16>>2]=F[d+16>>2]&-5;F[d+44>>2]=F[d+44>>2]&-5;F[d+72>>2]=F[d+72>>2]&-5;F[d+100>>2]=F[d+100>>2]&-5;d=d+112|0;e=e-4|0;if(e){continue}break}}if(!b){F[a+4>>2]=0;return}d=0;f=0;e=0;g=0;while(1){if(!d){f=G[c|0];d=128;c=c+1|0}c:{if(!(d&f)){break c}h=F[a+8>>2]+L(e,28)|0;j=F[h+16>>2];if(j&4){break c}F[h+16>>2]=j|4;if(g>>>0>=i>>>0){break c}F[F[a+12>>2]+(g<<2)>>2]=h;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}F[a+4>>2]=g;if((g|0)>=2){c=F[a+12>>2];a=1;while(1){e=F[c+(a<<2)>>2];i=F[e>>2];d=a;while(1){b=d-1|0;f=c+(b<<2)|0;h=F[f>>2];if((i|0)<=F[h>>2]){F[c+(d<<2)>>2]=h;F[f>>2]=e;f=(d|0)>1;d=b;if(f){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function jt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ga-16|0;Ga=e;h=F[a+100>>2];F[e+8>>2]=0;c=3;a:{if(!F[a+868>>2]){break a}c=Ia[F[a+516>>2]](a,1129270354,b,e+4|0)|0;F[e+12>>2]=c;b:{if(c){break b}c:{c=F[e+4>>2];if(c>>>0<14){break c}c=$b(b,c,e+8|0);F[e+12>>2]=c;if(c){break b}c=F[e+8>>2];f=gb(h,24,e+12|0);if(F[e+12>>2]){break b}d=G[c|0]|G[c+1|0]<<8;d=d<<8|d>>>8;E[f>>1]=d;if(d&65535){break c}d=G[c+2|0]|G[c+3|0]<<8;g=d<<8|d>>>8;E[f+2>>1]=g;d=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=F[e+4>>2];if(i>>>0>=d>>>0|d-i>>>0>>0){break c}g=G[c+8|0]|G[c+9|0]<<8|(G[c+10|0]<<16|G[c+11|0]<<24);c=G[c+12|0]|G[c+13|0]<<8;j=c<<8|c>>>8;E[f+4>>1]=j;c=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(c>>>0>=d>>>0|d-c>>>0<(j&65535)<<2>>>0){break c}b=F[e+8>>2];F[f+20>>2]=d;F[f+16>>2]=b;F[f+12>>2]=b+c;F[f+8>>2]=b+i;F[a+872>>2]=f;c=0;break a}F[e+12>>2]=8}Eb(b,e+8|0);if(f){Ia[F[h+8>>2]](h,f)}c=F[e+12>>2]}Ga=e+16|0;return c|0}function Zc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=F[b+4>>2];if(f>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0){break a}h=d-a|0;if(h>>>0<2){break a}e=F[b+12>>2];g=e-2|0;F[b+12>>2]=g;c=1;if((g|0)<=0){break a}b:{c:{d:{e:{g=G[a|0]|G[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(h>>>0<6){break a}c=e-8|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-10|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+4|0]|G[a+5|0]<<8;if(!e){break c}a=a+6|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=((e<<8|e>>>8)&65535)<<1;if(d>>>0>>0){break a}a=c-a|0;F[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=L((e<<8|e>>>8)&65535,6);if(d>>>0>>0){break a}a=c-a|0;F[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function ei(a){a=a|0;var b=0,c=0,d=0,e=0;b=F[a+52>>2];c=F[a+48>>2];if(!(!c|(c|0)==1)){e=(c<<2)+b|0;c=c-1|0;d=b+4|0;while(1){b=F[(c?d:163632)>>2];F[b+12>>2]=0;Ta(F[b+16>>2]);F[b+24>>2]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;Ta(F[b+28>>2]);F[b+28>>2]=0;F[b+20>>2]=0;F[b+24>>2]=0;b=!!c;c=c-b|0;d=(b<<2)+d|0;if((e|0)!=(d|0)){continue}break}b=F[a+52>>2]}F[a+48>>2]=0;Ta(b);F[a+52>>2]=0;F[a+56>>2]=-57005;F[a+44>>2]=0;F[a+48>>2]=0;b=F[a- -64>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+88>>2];if(b){Ta(b);F[a+88>>2]=0}F[a+72>>2]=0;F[a+76>>2]=0;b=F[a+40>>2];if(b){while(1){F[a+40>>2]=F[b+32>>2];F[b+12>>2]=0;Ta(F[b+16>>2]);F[b+24>>2]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;Ta(F[b+28>>2]);F[b+28>>2]=0;F[b+20>>2]=0;F[b+24>>2]=0;b=F[a+40>>2];if(b){continue}break}}F[a+24>>2]=0;c=F[a+36>>2];b=F[a+32>>2];if(b){d=(b<<2)+c|0;while(1){Ta(F[(b?c:163632)>>2]);e=!!b;b=b-e|0;c=(e<<2)+c|0;if((d|0)!=(c|0)){continue}break}c=F[a+36>>2]}F[a+32>>2]=0;Ta(c);F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0}function MB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{if((a|0)!=24){if((a|0)==293){break e}if((a|0)!=263){break c}Ef(c,263,b);g=b+24|0;break d}g=b+24|0;d=F[g>>2];f:{if(d){d=d-1|0;if(d>>>0>=I[b+32>>2]){d=F[40909];e=F[40908];F[61608]=e;F[61609]=d;x(0,e|0);x(1,d|0);f=+z();break f}f=K[F[b+36>>2]+(d<<3)>>3];break f}D[b+20|0]=1;d=F[40909];e=F[40908];F[61608]=e;F[61609]=d;x(0,e|0);x(1,d|0);f=+z()}g:{if(N(f)<2147483648){d=~~f;break g}d=-2147483648}if((d|0)<0){D[b+20|0]=1;d=0}F[c+24>>2]=d;break d}g=b+24|0;d=F[g>>2];h:{if(d){d=d-1|0;if(d>>>0>=I[b+32>>2]){d=F[40909];e=F[40908];F[61608]=e;F[61609]=d;x(0,e|0);x(1,d|0);f=+z();break h}f=K[F[b+36>>2]+(d<<3)>>3];break h}D[b+20|0]=1;d=F[40909];e=F[40908];F[61608]=e;F[61609]=d;x(0,e|0);x(1,d|0);f=+z()}i:{if(N(f)<2147483648){d=~~f;break i}d=-2147483648}if((d|0)<0){D[b+20|0]=1;d=0}F[c+28>>2]=d}F[g>>2]=0;break b}no(a,b,c);if(F[b+24>>2]){break a}}if(G[b+20|0]|(G[b+40|0]|G[b+16|0])|F[b+28>>2]<0){break a}Ef(c,a,b)}}function Ve(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;i=Ga-16|0;Ga=i;h=F[a+12>>2];if(h){F[(F[a+20>>2]+(h<<4)|0)-4>>2]=e}a:{b:{c:{k=h+1|0;g=F[a+16>>2];if(k>>>0>g>>>0){F[i+4>>2]=0;j=h+8&-8;e=Va(f,16,g,j,F[a+20>>2],i+4|0);F[a+20>>2]=e;g=F[i+4>>2];if(g){break a}F[a+16>>2]=j;g=(h<<4)+e|0;F[g+12>>2]=0;F[g>>2]=0;F[a+12>>2]=k;break c}e=F[a+20>>2];j=e+(h<<4)|0;F[j+12>>2]=0;F[j>>2]=0;F[a+12>>2]=k;if(k){break c}if(!g){F[i+8>>2]=0;e=Va(f,16,0,8,e,i+8|0);F[a+20>>2]=e;g=F[i+8>>2];if(g){break a}F[a+16>>2]=8}F[e+12>>2]=0;F[e>>2]=0;F[a+12>>2]=1;break b}e=(h<<4)+e|0}a=F[e+4>>2];F[i+12>>2]=0;h=d+7>>>3|0;a=a+7>>>3|0;d:{if(h>>>0<=a>>>0){f=F[e+8>>2];break d}g=a;a=h+7&1073741816;f=Va(f,1,g,a,F[e+8>>2],i+12|0);F[e+8>>2]=f;g=F[i+12>>2];if(g){break a}F[e+4>>2]=a<<3}F[e>>2]=d;g=0;if(!d){break a}b=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){c=G[f|0];D[f|0]=G[b|0]&e?c|a:c&(a^-1);c=a>>>0<2;a=c?128:a>>1;h=e>>>0<2;e=h?128:e>>1;f=c+f|0;b=b+h|0;d=d-1|0;if(d){continue}break}}Ga=i+16|0;return g}function Ue(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=b<<3;f=F[a+36>>2];a:{i=F[a+48>>2];g=F[i+4>>2];b:{if((g|0)<(d|0)){break b}j=F[(i+m|0)+4>>2];if((j|0)>(e|0)){break b}h=g;k=F[a+4>>2];g=0-k|0;l=h&g;h=(l|0)<(e|0);c:{if((d|0)>(j|0)){g=d;break c}g=g&(j+k|0)-1;if(j&k-1&65535){d=g;break c}if(G[a+79|0]){D[a+79|0]=0;f=f-4|0}F[f>>2]=F[(b<<3)+i>>2];d=g+k|0;f=f+4|0}if(G[a+78|0]){F[F[a+80>>2]+20>>2]=g>>F[a>>2];D[a+78|0]=0}g=h?l:e;if((g|0)<(d|0)){break b}if(I[a+32>>2]<=((g-d>>F[a>>2]<<2)+f|0)+4>>>0){break a}j=0-b|0;k=b<<3;e=i;while(1){D[a+79|0]=0;b=F[e+4>>2];d:{if((b|0)>(d|0)){h=b;b=e+k|0;l=F[b+4>>2];h=h-l|0;if((h|0)>=F[a+16>>2]){Ia[c|0](e);break d}b=F[b>>2];F[f>>2]=((L(F[e>>2]-b|0,d-l|0)|0)/(h|0)|0)+b;f=f+4|0;d=F[a+4>>2]+d|0;b=(j<<3)+e|0;break d}if((b|0)==(d|0)){D[a+79|0]=1;F[f>>2]=F[e>>2];f=f+4|0;d=F[a+4>>2]+d|0}b=(j<<3)+e|0}e=b;if(i>>>0<=e>>>0&(d|0)<=(g|0)){continue}break}i=F[a+48>>2]}F[a+36>>2]=f;F[a+48>>2]=i-m;return 0}F[a+40>>2]=98;F[a+36>>2]=f;return 1}function Od(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ga-16|0;Ga=h;f=F[a>>2];F[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{g=G[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break d}j=125}f=f+1|0;F[h+12>>2]=f;if(b>>>0<=f>>>0){break a}e:{if(d){c=(c|0)>0?c:0;while(1){Sb(h+12|0,b);g=F[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(G[g|0]==(j|0)){break c}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Hc(h+12|0,b,e),F[k>>2]=l;f=F[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}while(1){Sb(h+12|0,b);g=F[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(G[g|0]==(j|0)){break c}Hc(h+12|0,b,e);f=F[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=f>>>0){break a}Sb(h+12|0,b);g=F[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(!G[g|0]){break c}if(!d|(c|0)>0){break b}f=g;break a}f=g+1|0;break a}k=d?d:h+8|0,l=Hc(h+12|0,b,e),F[k>>2]=l;f=F[h+12>>2];i=(g|0)==(f|0)?-1:1}F[a>>2]=f;Ga=h+16|0;return i}function Ln(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ga-16|0;Ga=e;F[a>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;F[e+12>>2]=a;F[e+8>>2]=0;a:{c=G[b+4|0]|G[b+5|0]<<8;if(!c){F[a+12>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[e+12>>2]=a+12;F[e+8>>2]=0;break a}d=G[b|0]|G[b+1|0]<<8;g=(d<<8|d>>>8)&65535;d=(c<<8|c>>>8)&65535;h=d>>>0>1?d:1;d=b+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>f>>>0?(d+(f<<1)|0)+2|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=163632}_b(Kn(c,e+8|0,g),F[e+12>>2]);f=f+1|0;if((h|0)!=(f|0)){c=G[d|0]|G[d+1|0]<<8;continue}break}c=G[b+4|0]|G[b+5|0]<<8;d=G[b|0]|G[b+1|0]<<8;f=0;F[a+20>>2]=0;F[a+12>>2]=0;F[a+16>>2]=0;F[e+12>>2]=a+12;F[e+8>>2]=0;if(!c){break a}d=(d<<8|d>>>8)&65535;a=(c<<8|c>>>8)&65535;g=a>>>0>1?a:1;a=b+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>f>>>0?(a+(f<<1)|0)+2|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=163632}Jn(c,e+8|0,d);f=f+1|0;if((g|0)==(f|0)){break a}c=G[a|0]|G[a+1|0]<<8;continue}}Ga=e+16|0}function JB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}D[a+24|0]=0;F[a+32>>2]=b;d=F[b+12>>2];F[a+4>>2]=d;e=F[b+16>>2];F[a+8>>2]=e+d;F[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!d){Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b|0}a:{if((e|0)>=32){F[a+12>>2]=c-32;b:{c:{f=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);g=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if((g|0)==65536){break c}d:{if((e&-2)==32|(g|0)!=131072){break d}g=c-34|0;F[a+12>>2]=g;c=G[d+32|0]|G[d+33|0]<<8;if(!c){break c}if(e>>>0<34){break d}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>e-34>>>0){break d}c=g-c|0;F[a+12>>2]=c;if((c|0)>0){break c}}Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if((f|0)==768){break b}break a}Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b|0}Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=6;f=F[a+532>>2];a:{if(!f){break a}if(!(b|c)){e=F[f>>2];if(!e){return 0}a=F[f+136>>2];b=F[f+140>>2];h=0;if(e-1>>>0>=3){f=e&-4;while(1){c=g<<2;F[c+a>>2]=F[b+c>>2];d=c|4;F[d+a>>2]=F[b+d>>2];d=c|8;F[d+a>>2]=F[b+d>>2];c=c|12;F[c+a>>2]=F[b+c>>2];g=g+4|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=e&3;if(!f){break a}c=0;while(1){e=g<<2;F[e+a>>2]=F[b+e>>2];g=g+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break a}if(!c){break a}k=F[f>>2];h=b>>>0>k>>>0?k:b;b:{if(!h){break b}e=F[f+136>>2];if(h-1>>>0>=3){l=h&-4;while(1){d=g<<2;F[d+e>>2]=F[c+d>>2];j=d|4;F[j+e>>2]=F[c+j>>2];j=d|8;F[j+e>>2]=F[c+j>>2];d=d|12;F[d+e>>2]=F[c+d>>2];g=g+4|0;m=m+4|0;if((l|0)!=(m|0)){continue}break}}d=h&3;if(!d){break b}while(1){l=g<<2;F[l+e>>2]=F[c+l>>2];g=g+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(b>>>0>>0){Wa(F[f+136>>2]+(h<<2)|0,0,k-h<<2)}h=0;F[a+8>>2]=F[a+8>>2]&-32769|((b|0)!=0)<<15}return h|0}function qr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ga-336|0;Ga=c;h=F[a+100>>2];Ia[F[b+60>>2]](b,c+272|0,4,c+268|0);e=F[c+268>>2];a:{if((e|0)<0){d=162;break a}d=3;if(e-5>>>0<4294967292){break a}i=F[b+8>>2];j=F[b>>2];d=Ne(a,0,e);F[c+332>>2]=d;if(d){break a}if(F[c+268>>2]>0){k=F[a+532>>2];a=0;while(1){d=L(a,12);f=d+(c+272|0)|0;F[b>>2]=F[f>>2];F[b+8>>2]=F[f+4>>2];Ia[F[b+60>>2]](b,c+16|0,20,c+12|0);e=F[c+12>>2];if(e-21>>>0<4294967276){d=3;break a}f=d+k|0;if(F[f+92>>2]){d=3;F[c+332>>2]=3;break a}g=Va(h,4,0,e<<1,0,c+332|0);F[f+92>>2]=g;d=F[c+332>>2];if(d){break a}e=F[c+12>>2];D[f+88|0]=e;F[f+96>>2]=g+(e<<2);d=0;if((e|0)>0){while(1){e=(c+16|0)+L(d,12)|0;F[b>>2]=F[e>>2]+1;F[b+8>>2]=F[e+4>>2]-1;e=Ia[F[b+36>>2]](b)|0;g=d<<2;F[g+F[f+92>>2]>>2]=e;e=Ia[F[b+40>>2]](b,0)|0;F[g+F[f+96>>2]>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}f=F[c+332>>2]}F[b+8>>2]=i;F[b>>2]=j;d=f}F[b+12>>2]=d;Ga=c+336|0}function _j(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=F[a+16>>2];f=G[d+12|0]|G[d+13|0]<<8|(G[d+14|0]<<16|G[d+15|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=F[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}l=d+20|0;d=i;b:{c:{while(1){f=d+j>>>1|0;g=L(f,12)+l|0;e=G[g|0]|G[g+1|0]<<8|(G[g+2|0]<<16|G[g+3|0]<<24);k=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=g-4|0;e=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=h>>>0){if(h>>>0<=k>>>0){break c}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break b}d=g;d=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=h-e|0;d=d>>>0>(g^-1)>>>0?0:d+g|0}if(!c){return d}c=F[a>>2];if(h>>>0>k>>>0){g=0;f=f+1|0;if((i|0)==(f|0)){break a}}D[a+24|0]=1;F[a+36>>2]=f;F[a+28>>2]=h;d:{if(!(d>>>0>2]?d:0)){Zj(a);d=0;if(!G[a+24|0]){break d}d=F[a+32>>2];break d}F[a+32>>2]=d}g=d;F[b>>2]=F[a+28>>2]}return g}function jf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){c=F[a>>2];e=c>>31;f=F[b>>2];d=f>>31;e=(c^e)-e|0;d=(d^f)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){d=L(d,e)+32768>>>16|0;break a}g=e&65535;d=L(g,d>>>16|0)+L(d,e>>>16|0)+(L(g,d&65535)+32768>>>16)|0}g=c>>31|1;k=0-g|0;i=(((f|0)<0?k:g)|0)<0?0-d|0:d;f=F[a+4>>2];d=f>>31;h=F[b+4>>2];c=h>>31;d=(d^f)-d|0;c=(c^h)-c|0;b:{if(d+(c>>>8|0)>>>0<=8190){c=L(c,d)+32768>>>16|0;break b}j=d&65535;c=L(j,c>>>16|0)+L(c,d>>>16|0)+(L(j,c&65535)+32768>>>16)|0}f=f>>31|1;l=0-f|0;j=i+((((h|0)<0?l:f)|0)<0?0-c|0:c)|0;h=F[b+8>>2];c=h>>31;c=(c^h)-c|0;c:{if(e+(c>>>8|0)>>>0<=8190){e=L(c,e)+32768>>>16|0;break c}i=e&65535;e=L(i,c>>>16|0)+L(c,e>>>16|0)+(L(i,c&65535)+32768>>>16)|0}c=(((h|0)<0?k:g)|0)<0?0-e|0:e;e=F[b+12>>2];b=e>>31;b=(b^e)-b|0;d:{if(d+(b>>>8|0)>>>0<=8190){b=L(b,d)+32768>>>16|0;break d}g=d&65535;b=L(g,b>>>16|0)+L(b,d>>>16|0)+(L(g,b&65535)+32768>>>16)|0}F[a>>2]=j;F[a+4>>2]=c+((((e|0)<0?l:f)|0)<0?0-b|0:b)}}function lc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(!G[a+61|0]){F[a+64>>2]=b;break b}if(!G[a+60|0]){break a}d=F[a+72>>2];if(d>>>0>>0){if(I[a+76>>2]<=b>>>0){if(!Yc(a,b)){break a}}e=b-d|0;c=F[a+84>>2];d=F[a+80>>2];c:{if((c|0)!=(d|0)){b=d;break c}f=F[a+72>>2];b=c;if(f+e>>>0<=e+F[a+64>>2]>>>0){break c}b=F[a+88>>2];F[a+84>>2]=b;Ya(b,d,L(f,20));c=F[a+84>>2];b=F[a+80>>2]}Cb(L(F[a+72>>2],20)+c|0,b+L(F[a+64>>2],20)|0,L(e,20));F[a+64>>2]=e+F[a+64>>2];F[a+72>>2]=e+F[a+72>>2];break b}if(b>>>0>=d>>>0){break b}e=d-b|0;b=F[a+64>>2];if(e>>>0>b>>>0){f=F[a+68>>2];d=e-b|0;g=f+d|0;if(!(!g|I[a+76>>2]>g>>>0)){if(!Yc(a,g)){break a}f=F[a+68>>2];b=F[a+64>>2]}c=F[a+80>>2]+L(b,20)|0;Cb(c+L(d,20)|0,c,L(f-b|0,20));b=d+F[a+64>>2]|0;c=F[a+68>>2];if(b>>>0>c>>>0){Wa(F[a+80>>2]+L(c,20)|0,0,L(b-c|0,20));c=F[a+68>>2];b=d+F[a+64>>2]|0}F[a+68>>2]=c+d;d=F[a+72>>2]}c=d-e|0;F[a+72>>2]=c;b=b-e|0;F[a+64>>2]=b;Cb(F[a+80>>2]+L(b,20)|0,F[a+84>>2]+L(c,20)|0,L(e,20))}c=1}return c}function iB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ga-16|0;Ga=g;e=G[a+2|0]|G[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=163632}e=F[b+100>>2];c=qb(c,F[F[e+80>>2]+L(F[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=163632;d=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}d=0;a=F[31228];F[g+8>>2]=F[31227];F[g+12>>2]=a;a=F[31226];F[g>>2]=F[31225];F[g+4>>2]=a;a=G[e|0]|G[e+1|0]<<8;if(!a){break a}h=(a<<8|a>>>8)&65535;c=e+2|0;while(1){a=G[c|0]|G[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=163632}d=G[a|0]|G[a+1|0]<<8;i=(d<<8|d>>>8)&65535;j=(i<<1)+a|0;d=j+2|0;f=G[d|0]|G[d+1|0]<<8;k=(f<<8|f>>>8)&65535;d=(f?k<<1:2)+d|0;f=G[d|0]|G[d+1|0]<<8;l=(f<<8|f>>>8)&65535;f=(l<<1)+d|0;m=G[f+2|0]|G[f+3|0]<<8;d=Cf(b,i,a+2|0,k,j+4|0,l,d+2|0,(m<<8|m>>>8)&65535,f+4|0,g);if(d){break a}c=c+2|0;h=h-1|0;if(h){continue}break}}Ga=g+16|0;return d|0}function vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=F[b+8>>2];d=g>>31;f=E[a+70>>1];c=f>>15;d=(d^g)-d|0;h=d>>>8|0;c=(c^f)-c&65535;a:{if(h+c>>>0<=8190){e=L(c,d)+32768>>>16|0;break a}e=L(c,d>>>16|0)+(L(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;F[b+12>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)+63&-64;f=E[a+72>>1];c=f>>15;c=(c^f)-c&65535;b:{if(c+h>>>0<=8190){e=L(c,d)+32768>>>16|0;break b}e=L(c,d>>>16|0)+(L(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;F[b+16>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)&-64;f=E[a+74>>1];c=f>>15;c=(c^f)-c&65535;c:{if(c+h>>>0<=8190){c=L(c,d)+32768>>>16|0;break c}c=L(c,d>>>16|0)+(L(c,d&65535)+32768>>>16|0)|0}d=c;e=0-d|0;d=f>>31|1;F[b+20>>2]=((((g|0)<0?0-d|0:d)|0)<0?e:c)+32&-64;g=E[a+76>>1];d=g>>15;c=F[b+4>>2];a=c>>31;d=(d^g)-d&65535;a=(a^c)-a|0;d:{if(d+(a>>>8|0)>>>0<=8190){e=L(a,d)+32768>>>16|0;break d}e=L(d,a>>>16|0)+(L(d,a&65535)+32768>>>16|0)|0}a=e;d=0-a|0;a=g>>31|1;F[b+24>>2]=((((c|0)<0?0-a|0:a)|0)<0?d:e)+32&-64}function fg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ga-16|0;Ga=g;a:{if(D[a+372|0]&1){i=F[a+52>>2];j=F[a+48>>2];k=H[a+46>>1];h=H[a+44>>1];l=F[a+36>>2];m=F[a+40>>2];f=a- -64|0;n=F[f+4>>2];F[g+8>>2]=F[f>>2];F[g+12>>2]=n;f=F[a+60>>2];F[g>>2]=F[a+56>>2];F[g+4>>2]=f;f=a+290|0;break a}i=F[a+88>>2];j=F[a+84>>2];k=H[a+82>>1];h=H[a+80>>1];l=F[a+72>>2];m=F[a+76>>2];f=F[a+104>>2];F[g+8>>2]=F[a+100>>2];F[g+12>>2]=f;f=F[a+96>>2];F[g>>2]=F[a+92>>2];F[g+4>>2]=f;f=a+292|0}f=H[f>>1];b:{if(f>>>0>=h>>>0){if(G[a+565|0]){F[a+12>>2]=134}E[e>>1]=0;a=1;break b}F[d+16>>2]=i;F[d+12>>2]=j;E[d+10>>1]=k;E[d+8>>1]=h;F[d>>2]=l;F[d+4>>2]=m;h=F[g+4>>2];F[d+20>>2]=F[g>>2];F[d+24>>2]=h;h=F[g+12>>2];F[d+28>>2]=F[g+8>>2];F[d+32>>2]=h;E[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Ia[F[a+576>>2]](a,F[d>>2]-F[b>>2]|0,F[d+4>>2]-F[b+4>>2]|0)|0;o=e,p=bb(b,E[a+302>>1],F[a+568>>2]),F[o>>2]=p;o=c,p=bb(b,E[a+304>>1],F[a+568>>2]),F[o>>2]=p;a=0}Ga=g+16|0;return a}function Hh(a,b,c){var d=0,e=0;d=F[b+92>>2];if(d){d=F[d+4>>2]==1937337698}else{d=0}e=ib(1,1064);if(e){D[e+33|0]=c;D[e+32|0]=d;F[e+24>>2]=b;F[e+28>>2]=2;d=0;b=e+40|0;while(1){c=d<<2;F[c+b>>2]=-1;F[b+(c|4)>>2]=-1;F[b+(c|8)>>2]=-1;F[b+(c|12)>>2]=-1;F[b+(c|16)>>2]=-1;F[b+(c|20)>>2]=-1;F[b+(c|24)>>2]=-1;F[b+(c|28)>>2]=-1;d=d+8|0;if((d|0)!=256){continue}break}while(1){a:{b=F[61603];if(b){break a}b=Yh();Wh(b,623);Vh(b,624);Uh(b,625);Xh(b,626);Th(b,627);if(F[b+4>>2]){c=F[b+108>>2];if(c){Ia[c|0](F[b+36>>2])}F[b+108>>2]=0;F[b+180>>2]=628;F[b+36>>2]=0}Sh(b,629);if(F[b+4>>2]){c=F[b+128>>2];if(c){Ia[c|0](F[b+56>>2])}F[b+128>>2]=0;F[b+200>>2]=630;F[b+56>>2]=0}Rh(b,631);if(F[b+4>>2]){c=F[b+140>>2];if(c){Ia[c|0](F[b+68>>2])}F[b+140>>2]=0;F[b+212>>2]=632;F[b+68>>2]=0}Qh(b,633);Ph(b,634);Oh(b,635);if(F[b+4>>2]){F[b+4>>2]=0}c=F[61603];b=b?b:245792;F[61603]=c?c:b;if(!c){break a}if(!b|(b|0)==245792){continue}Ie(b);continue}break}Lh(a,b,e,622)}}function Cj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ga-16|0;Ga=c;d=F[a+104>>2];g=F[d+28>>2];e=F[a+736>>2];D[e+24|0]=1;a:{if(Ia[F[a+516>>2]](a,1635148146,d,c+8|0)|0){break a}a=tb(d,F[c+8>>2]);F[c+12>>2]=a;if(a){break a}a=Tb(d);f=Tb(d);b:{if((a|0)!=65536|(f|0)!=F[F[e+12>>2]>>2]){break b}a=Va(g,8,0,f,0,c+12|0);F[e+28>>2]=a;if(F[c+12>>2]|(f|0)<=0){break b}while(1){c:{b=xb(d);E[a>>1]=b;if(I[c+8>>2]>>0){break c}k=a,l=Va(g,8,0,b,0,c+12|0),F[k+4>>2]=l;if(F[c+12>>2]){break c}b=0;if(H[a>>1]){while(1){i=xb(d);j=b<<3;F[j+F[a+4>>2]>>2]=i<<16>>16<<2;i=xb(d);F[(F[a+4>>2]+j|0)+4>>2]=i<<16>>16<<2;b=b+1|0;if(b>>>0>1]){continue}break}}a=a+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break b}break}d:{if(!h){a=F[e+28>>2];break d}a=F[e+28>>2];while(1){f=h-1|0;b=f<<3;a=F[(b+a|0)+4>>2];if(a){Ia[F[g+8>>2]](g,a)}a=F[e+28>>2];F[(b+a|0)+4>>2]=0;b=(h|0)>1;h=f;if(b){continue}break}}if(a){Ia[F[g+8>>2]](g,a)}F[e+28>>2]=0}lb(d)}Ga=c+16|0}function zo(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:163632;a:{if(G[d|0]){break a}e=G[d+2|0]|G[d+3|0]<<8;if(!e){break a}g=G[d+1|0];h=g>>>4&3;f=h+1|0;e=(e<<8|e>>>8)&65535;d=d+L(f,b>>>0>>0?b:e-1|0)|0;b=G[d+4|0];b:{if(!h){break b}b=G[d+5|0]|b<<8;if((f|0)==2){break b}b=G[d+6|0]|b<<8;if((f|0)==3){break b}b=G[d+7|0]|b<<8}d=(g&15)+1|0;b=b>>>d<<16|(-1<>>8&65280|a>>>24);a=a?d+a|0:163632;d=G[a+6|0]|G[a+7|0]<<8;e=(d<<8|d>>>8)&65535;d=b>>>16|0;if(e>>>0<=d>>>0){return M(0)}d=a+(d<<2)|0;d=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=d?d+a|0:163632;d=a;a=G[a+2|0]|G[a+3|0]<<8|(G[a+4|0]<<16|G[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return Be(e,b&65535,F[c+72>>2],F[c+68>>2],a?d+a|0:163632)}function Om(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ga-16|0;Ga=g;e=G[b+2|0]|G[b+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+b|0}else{c=163632}e=F[a+100>>2];c=qb(c,F[F[e+80>>2]+L(F[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=163632;d=G[b+4|0]|G[b+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+b|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+b|0}d=0;b=F[31228];F[g+8>>2]=F[31227];F[g+12>>2]=b;b=F[31226];F[g>>2]=F[31225];F[g+4>>2]=b;b=G[e|0]|G[e+1|0]<<8;if(!b){break a}h=(b<<8|b>>>8)&65535;c=e+2|0;while(1){b=G[c|0]|G[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=163632}d=G[b|0]|G[b+1|0]<<8;i=(d<<8|d>>>8)&65535;j=(i<<1)+b|0;d=j+2|0;f=G[d|0]|G[d+1|0]<<8;k=(f<<8|f>>>8)&65535;d=(f?k<<1:2)+d|0;f=G[d|0]|G[d+1|0]<<8;l=(f<<8|f>>>8)&65535;f=(l<<1)+d|0;m=G[f+2|0]|G[f+3|0]<<8;d=Cf(a,i,b+2|0,k,j+4|0,l,d+2|0,(m<<8|m>>>8)&65535,f+4|0,g);if(d){break a}c=c+2|0;h=h-1|0;if(h){continue}break}}Ga=g+16|0;return d}function Qu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(I[b+160>>2]>>0){kb(b,8)}c=G[a+3|0]|G[a+2|0]<<8;i=c+a|0;if(!(c>>>0>=518&I[b+160>>2]>=i>>>0)){kb(b,8)}c=a+6|0;while(1){d=G[c+1|0];f=d|G[c|0]<<8;if(!(!(d&7)|F[b+164>>2]<2)){kb(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>I[b+160>>2]){kb(b,8)}a=0;while(1){d=c+8|0;f=G[c+3|0]|G[c+2|0]<<8;a:{if(!f){c=d;break a}e=G[c+7|0]|G[c+6|0]<<8;k=G[c+4|0];l=G[c+5|0];h=G[c|0];m=G[c+1|0];b:{if(F[b+164>>2]<2){break b}h=h<<8|m;if(h>>>0<=255&f>>>0<=256-h>>>0){break b}kb(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e>>>0>=j>>>0&e+(f<<1)>>>0<=i>>>0)){kb(b,9)}if(F[b+164>>2]<=0){c=d;break a}e=k<<8|l;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=G[d+1|0]|G[d|0]<<8;if(!(!d|I[b+172>>2]>(d+e&65535)>>>0)){kb(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function Ze(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=F[a+100>>2];b=F[a+292>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+292>>2]=0;b=F[a+308>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+308>>2]=0;b=F[a+284>>2];if(b){if(F[a+280>>2]>0){while(1){b:{if(!b){break b}b=L(e,12)+b|0;d=F[b>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b>>2]=0;if(!G[b+4|0]){break b}d=F[b+8>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+8>>2]=0}e=e+1|0;if((e|0)>2]){b=F[a+284>>2];continue}break}b=F[a+284>>2]}if(b){Ia[F[c+8>>2]](c,b)}F[a+284>>2]=0}b=F[a+192>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+192>>2]=0;b=F[a+20>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+20>>2]=0;b=F[a+24>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+24>>2]=0;b=F[a+32>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+32>>2]=0;b=F[a+176>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+176>>2]=0;b=F[a+180>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+180>>2]=0;c=F[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=F[c+24>>2];if(!b){break c}Ia[b|0](c)}F[a+104>>2]=F[a+172>>2]}}function qb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=G[a+2|0]|G[a+3|0]<<8;if(!c){break a}c=((c<<8|c>>>8)&65535)-1|0;while(1){d=c+e|0;f=d>>>1|0;d=(d&-2)+a|0;d=G[d+4|0]|G[d+5|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){c=f-1|0;break d}if((b|0)==(d|0)){break a}e=f+1|0}if((c|0)>=(e|0)){continue}break}return-1}d=164024;c=G[a+2|0]|G[a+3|0]<<8;e:{if(!c){break e}c=((c<<8|c>>>8)&65535)-1|0;while(1){h=c+e>>>1|0;i=L(h,6)+a|0;g=i+4|0;g=G[g|0]|G[g+1|0]<<8;f:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=G[i+6|0]|G[i+7|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=h+1|0;break f}d=(L(h,6)+a|0)+4|0;break e}c=h-1|0}if((c|0)>=(e|0)){continue}break}}a=G[d+2|0]|G[d+3|0]<<8;c=(a<<8|a>>>8)&65535;a=G[d|0]|G[d+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=G[d+4|0]|G[d+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function dv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ga+-64|0;Ga=e;F[e+60>>2]=0;h=b+108|0;g=F[a+8>>2];a:{b:{c:{d:{if(F[b+72>>2]!=F[a+16>>2]){F[e+60>>2]=6;break d}i=19;if((c|0)!=2){break a}if(D[F[b+156>>2]+4|0]&1){c=F[b+88>>2];if(c){Ia[F[g+8>>2]](g,c)}F[b+88>>2]=0;c=F[b+156>>2];F[c+4>>2]=F[c+4>>2]&-2}if(Rg(b,2,d)){F[e+60>>2]=98;break d}j=b,k=Va(g,F[b+84>>2],0,F[b+76>>2],0,e+60|0),F[j+88>>2]=k;c=0;if(F[e+60>>2]){break c}c=F[b+156>>2];F[c+4>>2]=F[c+4>>2]|1;f=F[b+76>>2]-F[b+104>>2]<<6;c=0-(F[b+100>>2]<<6)|0;if(d){f=F[d+4>>2]+f|0;c=F[d>>2]+c|0}if(c|f){Vb(h,c,f)}F[e+16>>2]=0;F[e+12>>2]=h;F[e+8>>2]=b+76;a=Ia[F[a+56>>2]](F[a+52>>2],e+8|0)|0;F[e+60>>2]=a;if(a){break c}F[b+72>>2]=1651078259;break b}c=0}if(!(D[F[b+156>>2]+4|0]&1)){break b}a=F[b+88>>2];if(a){Ia[F[g+8>>2]](g,a)}F[b+88>>2]=0;a=F[b+156>>2];F[a+4>>2]=F[a+4>>2]&-2}if(c|f){Vb(h,0-c|0,0-f|0)}i=F[e+60>>2]}a=i;Ga=e- -64|0;return a|0}function uh(a,b){a=a|0;b=b|0;var c=0,d=0;d=F[a+52>>2];a:{if((d|0)!=163632){if(I[a+216>>2]<=b>>>0){break a}b:{switch(G[d|0]){case 0:if(!b){break a}a=(d+(b<<1)|0)-1|0;a=G[a|0]|G[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b){break a}c=d+1|0;a=0;b=b-1|0;d=G[d+3|0];if(b>>>0>d>>>0){while(1){b=(d^-1)+b|0;a=a+1|0;d=G[(c+L(a,3)|0)+2|0];if(b>>>0>d>>>0){continue}break}}a=c+L(a,3)|0;a=G[a|0]|G[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b){break a}a=0;b=b-1|0;c=G[d+3|0]|G[d+4|0]<<8;c=(c<<8|c>>>8)&65535;if(b>>>0>c>>>0){while(1){b=(c^-1)+b|0;a=a+1|0;c=d+(a<<2)|0;c=G[c+3|0]|G[c+4|0]<<8;c=(c<<8|c>>>8)&65535;if(b>>>0>c>>>0){continue}break}}a=d+(a<<2)|0;a=G[a+1|0]|G[a+2|0]<<8;return((a<<8|a>>>8)&65535)+b|0}c:{switch(F[a+172>>2]){case 0:return(b>>>0<229?b:0)|0;case 1:return(b>>>0<=165?H[(b<<1)+107280>>1]:0)|0;case 2:break c;default:break a}}c=b>>>0<=86?H[(b<<1)+107616>>1]:0}return c|0}function ip(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a=F[b+24>>2];F[61902]=0;a=aa(637,a|0,c|0)|0;e=F[61902];F[61902]=0;a:{if((e|0)==1){break a}b:{c:{d:{if(a){break d}if(!(!G[b+32|0]|c>>>0>255)){a=F[b+24>>2];F[61902]=0;a=aa(637,a|0,c+61440|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break a}if(a){break d}}e=F[b+24>>2];e:{if(!e){break e}a=F[e+92>>2];if(!a){break e}h=F[a+4>>2]}if(F[e+36>>2]>0){while(1){b=0;a=F[F[e+40>>2]+(f<<2)>>2];if(!H[a+10>>1]){b=H[a+8>>1]==3}F[61902]=0;a=aa(638,e|0,a|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break b}if(!a){F[61902]=0;a=aa(637,e|0,c|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break b}if(!(!b|a)){F[61902]=0;a=aa(637,e|0,61440)|0;b=F[61902];F[61902]=0;if((b|0)==1){break b}}if(a){break d}}f=f+1|0;if((f|0)>2]){continue}break}}a=0;F[61902]=0;dd(e,h);c=F[61902];F[61902]=0;if((c|0)==1){break a}break c}F[d>>2]=a;a=1}yb();return a|0}}a=Z()|0;Y()|0;yb();$(a|0);V()}function gg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=F[a>>2];a:{if(G[b+732|0]){break a}D[a+112|0]=0;c=F[a+16>>2];d=F[a+12>>2];F[a+48>>2]=d;F[a+52>>2]=c;c=F[a+24>>2];F[a+56>>2]=F[a+20>>2];F[a+60>>2]=c;e=F[a+32>>2];c=a- -64|0;F[c>>2]=F[a+28>>2];F[c+4>>2]=e;F[a+72>>2]=F[a+36>>2];e=151;if(!(d&65535)|!H[a+50>>1]){break a}if(G[b+176|0]&8){f=a,g=Ua(E[b+70>>1],F[a+56>>2])+32&-64,F[f+60>>2]=g;f=a- -64|0,g=Ua(E[b+72>>1],F[a+56>>2])+32&-64,F[f>>2]=g;f=a,g=Ua(E[b+74>>1],F[a+56>>2])+32&-64,F[f+68>>2]=g}D[a+112|0]=1;e=0;if(G[b+176|0]&8){f=a,g=_a(H[a+48>>1]<<6,H[b+68>>1]),F[f+52>>2]=g;f=a,g=_a(H[a+50>>1]<<6,H[b+68>>1]),F[f+56>>2]=g;f=a,g=Ua(E[b+76>>1],F[a+52>>2])+32&-64,F[f+72>>2]=g}d=a+48|0;b=H[a+50>>1];c=H[a+48>>1];b:{if(b>>>0<=c>>>0){F[a+76>>2]=65536;E[a+84>>1]=c;F[a+92>>2]=F[a+52>>2];b=_a(b,c);break b}E[a+84>>1]=b;F[a+92>>2]=F[a+56>>2];f=a,g=_a(c,b),F[f+76>>2]=g;b=65536}F[a+308>>2]=-1;F[a+44>>2]=d;F[a+80>>2]=b}return e} -function Qq(a){a=a|0;var b=0,c=0;if(a){c=F[a+100>>2];b=F[a+504>>2];if(b){hf(b)}b=F[a+132>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+132>>2]=0;b=F[a+136>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+136>>2]=0;b=F[a+140>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+140>>2]=0;b=F[a+144>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+144>>2]=0;b=F[a+148>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+148>>2]=0;b=F[a+432>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+432>>2]=0;b=F[a+428>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+428>>2]=0;b=F[a+424>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+424>>2]=0;b=F[a+396>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+396>>2]=0;b=F[a+400>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+400>>2]=0;b=F[a+384>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+384>>2]=0;b=F[a+388>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+388>>2]=0;b=F[a+364>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+364>>2]=0;b=F[a+496>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+496>>2]=0;b=F[a+560>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+556>>2]=0;F[a+560>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0}}function $B(a,b,c){a=a|0;b=b|0;c=c|0;var d=M(0),e=0,f=0,g=0,h=0,i=M(0);i=J[a+8>>2];d=J[a>>2];if(J[a+4>>2]>=J[a+12>>2]?1:i<=d){F[c>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;return}g=F[b+20>>2];e=F[b+16>>2];f=F[e+28>>2];if(f){h=g}else{f=db(e);e=F[b+16>>2];i=J[a+8>>2];h=F[b+20>>2]}d=M(R(M(M(M(d*M(g|0))/M(f>>>0))+M(.5))));a:{if(M(N(d))>2]=g;f=F[e+28>>2];if(!f){f=db(e);e=F[b+16>>2];g=F[c>>2]}d=M(R(M(M(M(i*M(h|0))/M(f>>>0))+M(.5))));b:{if(M(N(d))>2]=h-g;g=F[b+24>>2];d=J[a+12>>2];f=F[e+28>>2];if(f){h=g}else{f=db(e);e=F[b+16>>2];h=F[b+24>>2]}d=M(R(M(M(M(d*M(g|0))/M(f>>>0))+M(.5))));c:{if(M(N(d))>2]=b;d=J[a+4>>2];a=F[e+28>>2];if(!a){a=db(e);b=F[c+4>>2]}d=M(R(M(M(M(d*M(h|0))/M(a>>>0))+M(.5))));d:{if(M(N(d))>2]=a-b}function Hj(a,b){var c=0,d=0,e=0,f=0,g=0;e=F[a>>2];if(F[a+248>>2]){d=F[a+92>>2]>>6;while(1){f=c<<2;g=Ua(F[f+F[e+704>>2]>>2],d);F[f+F[a+252>>2]>>2]=g;c=c+1|0;if(c>>>0>2]){continue}break}}c=F[a+300>>2];d=hg(c,e,a);if(!d){D[c+565|0]=b;D[c+492|0]=0;F[c+16>>2]=0;F[c+432>>2]=0;f=F[e+696>>2];b=F[e+692>>2];F[c+464>>2]=0;F[c+468>>2]=0;F[c+460>>2]=b;F[c+456>>2]=f;d=0;if(b){F[c+368>>2]=b;F[c+360>>2]=f;F[c+364>>2]=0;F[c+356>>2]=2;d=Ia[F[e+708>>2]](c)|0}F[a+308>>2]=d;E[c+304>>1]=0;E[c+296>>1]=0;E[c+298>>1]=16384;E[c+300>>1]=0;E[c+302>>1]=16384;F[c+288>>2]=0;F[c+292>>2]=1073741824;E[c+352>>1]=1;F[c+348>>2]=65537;F[c+308>>2]=1;Ya(a+180|0,c+288|0,68);F[a+124>>2]=F[c+400>>2];F[a+136>>2]=F[c+412>>2];F[a+148>>2]=F[c+424>>2];F[a+152>>2]=F[c+428>>2];b=F[c+452>>2];F[a+156>>2]=F[c+448>>2];F[a+160>>2]=b;b=F[c+460>>2];F[a+164>>2]=F[c+456>>2];F[a+168>>2]=b;b=F[c+468>>2];F[a+172>>2]=F[c+464>>2];F[a+176>>2]=b}return d}function Lf(a){var b=0,c=0,d=0;a:{b:{c:{if(a>>>0<=65535){d:{e:{f:{g:{h:{i:{j:{k:{l:{b=a>>>8|0;switch(b|0){case 6:break i;case 3:break j;case 0:break k;case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break b;case 32:break f;case 24:break g;case 23:break h;default:break l}}switch(b-254|0){case 1:break d;case 0:break e;default:break b}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}b=a-8203|0;if(b>>>0<36){break c}break a}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}m:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break m}else{break b}}return a-119155>>>0<8}return(a&-4096)==917504}d=1;c=b&31;if(!(((b&63)>>>0>=32?15>>>c|0:((1<>>c)&1)){break a}}return d}return(a&-16)==8288}function En(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ga-16|0;Ga=g;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=F[b+12>>2];d=e-4|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break a}i=e-6|0;F[b+12>>2]=i;if((i|0)<=0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(e){d=a+4|0;if(h>>>0>d>>>0|d>>>0>f>>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=i-d|0;F[b+12>>2]=d;if((d|0)<=0){break a}}e=G[a|0]|G[a+1|0]<<8;b:{if(!e){break b}F[g+12>>2]=c?F[c>>2]:0;if(!Dn(a,b,a,g+12|0)){break a}if(!c|(G[a|0]|G[a+1|0]<<8)|F[c>>2]!=1936292453){break b}d=F[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=F[b+28>>2];if(d>>>0>31){break b}F[b+28>>2]=d+1;if(!G[b+24|0]){break b}d=e<<8|(e&65280)>>>8;D[a|0]=d;D[a+1|0]=d>>>8;F[g+8>>2]=F[c>>2];if(!Dn(a,b,a,g+8|0)){break a}}j=1}Ga=g+16|0;return j} -function $c(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[b>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;Sb(a,F[a+8>>2]);c=F[a>>2];F[d+12>>2]=c;f=F[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=G[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}F[b>>2]=c;F[b+8>>2]=2;if(rg(d+12|0,f)){break e}break d}F[b>>2]=c;F[b+8>>2]=3;if(!Mk(d+12|0,f)){break d}break e}F[b>>2]=c;F[b+8>>2]=3;F[a>>2]=c+1;Sb(a,f);c=F[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(F[a+12>>2]){break h}i:{j:{switch(G[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;F[d+12>>2]=c;F[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}sg(a);Sb(a,F[a+8>>2]);c=F[a>>2];if(f>>>0>c>>>0){continue}break}}F[d+12>>2]=c;break e}F[b>>2]=c;F[b+8>>2]=G[c|0]==47?4:1;sg(a);c=F[a>>2];F[d+12>>2]=c;if(!F[a+12>>2]){break c}}c=F[b+4>>2];break b}c=F[d+12>>2]}F[b+4>>2]=c}if(c){break a}F[b+8>>2]=0;F[b>>2]=0}F[a>>2]=F[d+12>>2]}Ga=d+16|0}function qc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=6;a:{if(!a|!c){break a}g=F[c>>2];if(!g){break a}i=F[g+100>>2];h=F[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=Ia[F[i+4>>2]](i,h)|0;if(!e){e=64;break b}f=Wa(e,0,h)}e=F[c+4>>2];F[f>>2]=F[c>>2];F[f+4>>2]=e;F[f+8>>2]=F[c+8>>2];F[f+12>>2]=a;d:{a=F[a+4>>2];if(a){e=Ia[a|0](f,b)|0;if(e){break d}}a=F[g+36>>2];b=a+1|0;if((a|b)<0){e=6;break d}h=F[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}Ia[F[i+8>>2]](i,h);F[g+40>>2]=0;break e}e=10;if((a|0)>536870910){break d}h:{if(!a){c=Ia[F[i+4>>2]](i,b<<2)|0;e=!c<<6;break h}b=Ia[F[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;e=!b<<6}if(e|!c){break f}a=(a<<2)+c|0;D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0}F[g+40>>2]=c;break e}F[g+40>>2]=c;if(e){break d}}a=F[g+36>>2];F[g+36>>2]=a+1;F[(a<<2)+c>>2]=f;e=0;break b}a=F[F[f>>2]+100>>2];b=F[F[f+12>>2]+8>>2];if(b){Ia[b|0](f)}Ia[F[a+8>>2]](a,f);f=0}if(!d){break a}F[d>>2]=f}return e}function jw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=F[a+28>>2];if(G[d+44|0]){break b}c=Bk(d,F[b>>2],F[b+4>>2]);if(!c){break b}a=F[a+24>>2];if(F[a>>2]){break a}F[a>>2]=c;return}c:{c=F[d+12>>2];if((E[c+22>>1]+E[c+58>>1]|0)+3>>>0<=I[c+4>>2]){break c}c=Ub(c,3,0);if(!c){break c}a=F[a+24>>2];if(F[a>>2]){break a}F[a>>2]=c;return}a=F[d+20>>2];d:{e:{f:{if(!G[d+45|0]){E[a+2>>1]=H[a+2>>1]+1;break f}c=F[a+8>>2];e=F[b+8>>2];f=E[a+2>>1];g=F[a+4>>2]+(f<<3)|0;F[g+4>>2]=F[b+12>>2]>>10;F[g>>2]=e>>10;D[c+f|0]=2;e=G[d+45|0];c=F[d+20>>2];E[a+2>>1]=H[a+2>>1]+1;if(e){break e}a=c}E[a+2>>1]=H[a+2>>1]+1;break d}a=F[c+8>>2];e=F[b+16>>2];f=E[c+2>>1];g=F[c+4>>2]+(f<<3)|0;F[g+4>>2]=F[b+20>>2]>>10;F[g>>2]=e>>10;D[a+f|0]=2;e=G[d+45|0];a=F[d+20>>2];E[c+2>>1]=H[c+2>>1]+1;if(!e){break d}c=F[a+8>>2];d=F[b+24>>2];e=E[a+2>>1];f=F[a+4>>2]+(e<<3)|0;F[f+4>>2]=F[b+28>>2]>>10;F[f>>2]=d>>10;D[c+e|0]=1}E[a+2>>1]=H[a+2>>1]+1}}function Mw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ga-16|0;Ga=g;F[g+12>>2]=0;i=F[c>>2];d=gb(i,24,g+12|0);e=F[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=G[a|0];D[d+4|0]=h;f=G[a+1|0]|G[a+2|0]<<8;E[d+6>>1]=f<<8|f>>>8;f=G[a+3|0];D[d+5|0]=f;k=F[c+148>>2];l=F[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;F[d+8>>2]=f;F[d+12>>2]=(e+l|0)-k;if(e+L(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);F[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+L(f,h-1|0)|0;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}F[d+16>>2]=G[a+5|0]|G[a+4|0]<<16;a=e+L(f,h-1|0)|0;a=G[a|0]<<16|G[a+1|0]}e=0;F[d>>2]=0;F[d+20>>2]=a;F[F[c+140>>2]>>2]=d;F[c+140>>2]=d;F[c+132>>2]=F[c+132>>2]+h;break a}if(d){Ia[F[i+8>>2]](i,d)}e=F[g+12>>2];break a}if(d){Ia[F[i+8>>2]](i,d)}e=8}Ga=g+16|0;return e|0}function ci(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=164030;d=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}g=d-1|0;while(1){h=g+i>>>1|0;d=L(h,12)+a|0;f=d+16|0;f=G[f|0]|G[f+1|0]<<8|(G[f+2|0]<<16|G[f+3|0]<<24);b:{if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=b>>>0){d=G[d+20|0]|G[d+21|0]<<8|(G[d+22|0]<<16|G[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>>0){i=h+1|0;break b}e=(L(h,12)+a|0)+16|0;break a}g=h-1|0}if((g|0)>=(i|0)){continue}break}}g=0;a=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);c:{if(d>>>0>(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break c}a=G[e+8|0]|G[e+9|0]<<8|(G[e+10|0]<<16|G[e+11|0]<<24);a=(b-d|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;if(!a){break c}F[c>>2]=a;g=1}return g}function Bg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=Ga-32|0;Ga=h;a:{if(!b){b=6;break a}i=F[a>>2];g=Ia[F[i+4>>2]](i,40)|0;if(!g){Ia[F[i+8>>2]](i,b);b=64;break a}D[g+20|0]=0;D[g+21|0]=0;D[g+22|0]=0;D[g+23|0]=0;D[g+24|0]=0;D[g+25|0]=0;D[g+26|0]=0;D[g+27|0]=0;F[g+8>>2]=0;F[g+4>>2]=c;F[g>>2]=b;D[g+12|0]=0;D[g+13|0]=0;D[g+14|0]=0;D[g+15|0]=0;D[g+16|0]=0;D[g+17|0]=0;D[g+18|0]=0;D[g+19|0]=0;D[g+36|0]=0;D[g+37|0]=0;D[g+38|0]=0;D[g+39|0]=0;D[g+28|0]=0;D[g+29|0]=0;D[g+30|0]=0;D[g+31|0]=0;D[g+32|0]=0;D[g+33|0]=0;D[g+34|0]=0;D[g+35|0]=0;F[g+24>>2]=15;F[h+16>>2]=g;F[h>>2]=2;if(e){F[h>>2]=10;b=F[a+16>>2];b:{if((b|0)<=0){c=0;break b}j=((b<<2)+a|0)+20|0;b=a+20|0;while(1){c=F[b>>2];if(!ab(F[F[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}F[h+20>>2]=c}b=Kg(a,h,d,f,0);if(!b){a=F[f>>2];F[a+8>>2]=F[a+8>>2]&-1025;b=0;break a}a=F[g+24>>2];if(a){Ia[a|0](g)}Ia[F[i+8>>2]](i,g)}Ga=h+32|0;return b}function ol(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;a:{if(!a){e=33;break a}e=6;if(!d){break a}g=F[a>>2];if(!g){break a}F[d>>2]=0;F[d+4>>2]=0;F[d+16>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}e=10;if(b>>>0>32767){break a}b:{c:{d:{e:{if(!b){h=d+4|0;e=0;break e}e=b<<3;h=Ia[F[g+4>>2]](g,e)|0;if(!h){F[f+12>>2]=64;e=d+4|0;h=e;break c}i=d,j=Wa(h,0,e),F[i+4>>2]=j;h=d+4|0;e=Ia[F[g+4>>2]](g,b)|0;if(!e){break d}Wa(e,0,b)}F[f+12>>2]=0;F[d+8>>2]=e;i=d,j=Va(g,2,0,c,0,f+12|0),F[i+12>>2]=j;e=F[f+12>>2];if(e){break b}E[d>>1]=c;E[d+2>>1]=b;F[d+16>>2]=F[d+16>>2]|1;e=0;break a}F[f+12>>2]=64;e=d+8|0}F[e>>2]=0;e=64}F[d+16>>2]=F[d+16>>2]|1;a=F[a>>2];if(!a){break a}b=F[h>>2];if(b){Ia[F[a+8>>2]](a,b)}F[d+4>>2]=0;b=F[d+8>>2];if(b){Ia[F[a+8>>2]](a,b)}F[d+8>>2]=0;b=F[d+12>>2];if(b){Ia[F[a+8>>2]](a,b)}F[d>>2]=0;F[d+4>>2]=0;F[d+16>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0}Ga=f+16|0;return e}function Uf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>2147483646){break b}if(!c){return 1}if(I[b+4>>2]>a>>>0){break b}e=F[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=c<<1;if(g>>>0>>0){break b}e=F[b+12>>2]-e|0;F[b+12>>2]=e;if((e|0)<=0){break b}h=F[b+4>>2];j=F[d>>2];while(1){d=(i<<1)+a|0;if(d>>>0>>0){break a}e=F[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=F[b+12>>2];g=f-2|0;F[b+12>>2]=g;if((g|0)<=0){break a}d=G[d|0]|G[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+j|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<4){break a}g=f-6|0;F[b+12>>2]=g;if((g|0)<=0){break a}f=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}c:{if(!f){break c}d=d+4|0;if(d>>>0>>0|d>>>0>e>>>0){break a}e=e-d|0;d=f<<2;if(e>>>0>>0){break a}d=g-d|0;F[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function Mb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{f=F[b+4>>2];if(f>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=F[b+12>>2];g=e-2|0;F[b+12>>2]=g;c=1;if((g|0)<=0){break a}b:{c:{d:{e:{g=G[a|0]|G[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=((e<<8|e>>>8)&65535)<<1;if(d>>>0>>0){break a}a=c-a|0;F[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+2|0]|G[a+3|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=L((e<<8|e>>>8)&65535,6);if(d>>>0>>0){break a}a=c-a|0;F[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function HA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=ib(1,16);a:{if(!f){break a}d=F[a+56>>2];if((d|0)<=0){break a}e=F[a+60>>2];d=d-1|0;a=d;b:{c:{while(1){b=a>>>1|0;if(!F[L(b,36)+e>>2]){break c}c=a>>>0<2;a=b-1|0;if(!c){continue}break}a=0;break b}a=F[(L(b,36)+e|0)+28>>2]}F[f>>2]=a;b=0;a=d;d:{while(1){c=a+b>>>1|0;g=F[L(c,36)+e>>2];e:{if(g>>>0<=1818914159){b=F[(L(c,36)+e|0)+28>>2];if((g|0)==1818914159){break d}b=c+1|0;break e}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}F[f+4>>2]=b;b=0;a=d;f:{while(1){c=a+b>>>1|0;g=F[L(c,36)+e>>2];g:{if(g>>>0<=1986686319){b=F[(L(c,36)+e|0)+28>>2];if((g|0)==1986686319){break f}b=c+1|0;break g}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}F[f+8>>2]=b;a=0;h:{while(1){b=a+d>>>1|0;c=F[L(b,36)+e>>2];i:{if(c>>>0<=1953131887){a=F[(L(b,36)+e|0)+28>>2];if((c|0)==1953131887){break h}a=b+1|0;break i}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}F[f+12>>2]=a}return f|0}function Uc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{i=F[b+4>>2];if(i>>>0>a>>>0){break a}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<3){break a}c=F[b+12>>2]-3|0;F[b+12>>2]=c;d=1;b:{if(G[a|0]|G[a+1|0]<<8?0:(c|0)>0){break b}c=F[b+12>>2]-3|0;F[b+12>>2]=c;if((c|0)<=0){break a}f=G[a+2|0];if((f-1&255)>>>0>3){break a}g=a+3|0;if(g>>>0>>0|e>>>0>>0){break a}d=G[a|0]|G[a+1|0]<<8;l=(d<<8|d>>>8)&65535;j=L(l+1|0,f);if(j>>>0>e-g>>>0){break a}k=c-j|0;F[b+12>>2]=k;d=0;if((k|0)<=0){break b}m=(f|0)==1;n=(f|0)==2;c=0;while(1){g=c;h=L(f,c)+a|0;c=G[h+3|0];c:{if(m){break c}c=G[h+4|0]|c<<8;if(n){break c}c=G[h+5|0]|c<<8;if((f|0)==3){break c}c=G[h+6|0]|c<<8}d=c>>>0>d>>>0?c:d;c=g+1|0;if((g|0)!=(l|0)){continue}break}c=d-1|0;if(!c){return 1}d=0;if((c|0)<0){break b}a=(a+j|0)+3|0;if(a>>>0>>0|a>>>0>e>>>0|c>>>0>e-a>>>0){break b}a=k-c|0;F[b+12>>2]=a;d=(a|0)>0}return d|0}return 0}function tu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>I[b+160>>2]){kb(b,8)}c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(c>>>0<16|c>>>0>F[b+160>>2]-a>>>0)&(c-16>>>0)/12>>>0>=h>>>0)){kb(b,8)}if(h){c=0;a=0;while(1){f=c;g=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);c=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){kb(b,8)}if(!(!a|e>>>0>f>>>0)){kb(b,8)}a:{if(F[b+164>>2]<=0){break a}f=F[b+172>>2];e=c-e|0;if(f>>>0>=e>>>0&f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0){break a}kb(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function Ie(a){var b=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+84>>2];if(b){Ia[b|0](F[a+12>>2])}b=F[a+88>>2];if(b){Ia[b|0](F[a+16>>2])}b=F[a+92>>2];if(b){Ia[b|0](F[a+20>>2])}b=F[a+96>>2];if(b){Ia[b|0](F[a+24>>2])}b=F[a+100>>2];if(b){Ia[b|0](F[a+28>>2])}b=F[a+104>>2];if(b){Ia[b|0](F[a+32>>2])}b=F[a+108>>2];if(b){Ia[b|0](F[a+36>>2])}b=F[a+112>>2];if(b){Ia[b|0](F[a+40>>2])}b=F[a+116>>2];if(b){Ia[b|0](F[a+44>>2])}b=F[a+120>>2];if(b){Ia[b|0](F[a+48>>2])}b=F[a+124>>2];if(b){Ia[b|0](F[a+52>>2])}b=F[a+128>>2];if(b){Ia[b|0](F[a+56>>2])}b=F[a+132>>2];if(b){Ia[b|0](F[a+60>>2])}b=F[a+136>>2];if(b){Ia[b|0](F[a- -64>>2])}b=F[a+140>>2];if(b){Ia[b|0](F[a+68>>2])}b=F[a+144>>2];if(b){Ia[b|0](F[a+72>>2])}b=F[a+148>>2];if(b){Ia[b|0](F[a+76>>2])}b=F[a+152>>2];if(b){Ia[b|0](F[a+80>>2])}Ta(a)}}function Hv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;d=G[a+20|0];f=F[a+16>>2];g=F[a+12>>2];a:{b:{if(!ab(b,21476)){b=F[c>>2];if(!b){d=35;break a}d=F[b+116>>2];F[e+8>>2]=d;if(!d){d=Ye(b,e+8|0,a);if(d){break a}d=F[e+8>>2];F[b+116>>2]=d;F[b+120>>2]=1}F[c+4>>2]=F[d+8>>2];break b}if(!ab(b,21380)){F[c>>2]=F[F[(g<<2)+16608>>2]+8>>2];break b}if(!ab(b,21396)){F[c>>2]=f;break b}if(!ab(b,21411)){b=F[c>>2];if(!b){d=35;break a}d=F[b+116>>2];F[e+12>>2]=d;if(!d){d=Ye(b,e+12|0,a);if(d){break a}d=F[e+12>>2];F[b+116>>2]=d;F[b+120>>2]=1}F[c+4>>2]=F[d+12>>2];break b}if(!ab(b,21429)){D[c|0]=d;break b}if(!ab(b,21437)){F[c>>2]=F[a+24>>2];F[c+4>>2]=F[a+28>>2];F[c+8>>2]=F[a+32>>2];F[c+12>>2]=F[a+36>>2];F[c+16>>2]=F[a+40>>2];F[c+20>>2]=F[a+44>>2];F[c+24>>2]=F[a+48>>2];F[c+28>>2]=F[a+52>>2];break b}d=12;if(ab(b,21458)){break a}D[c|0]=G[a+21|0]}d=0}Ga=e+16|0;return d|0}function yh(a,b){var c=0,d=0,e=0,f=0,g=0;a:{g=F[b+4>>2];if(g>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0<=a>>>0){break a}e=F[b+12>>2];c=e-1|0;F[b+12>>2]=c;d=1;if((c|0)<=0){break a}b:{c:{d:{switch(G[a|0]){case 0:if(f-a>>>0<4|a>>>0>f>>>0){break a}e=e-5|0;F[b+12>>2]=e;if((e|0)<=0){break a}c=G[a+2|0]|G[a+3|0]<<8;c=L((G[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(!c){break b}a=a+4|0;if(a>>>0>>0|a>>>0>f>>>0){break a}d=0;if(c>>>0>f-a>>>0){break b}a=e-c|0;break c;case 1:break d;default:break b}}if(f-a>>>0<6|a>>>0>f>>>0){break a}e=e-7|0;F[b+12>>2]=e;if((e|0)<=0){break a}d=G[a+2|0]|G[a+3|0]<<8|(G[a+4|0]<<16|G[a+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=(G[a+1|0]>>>4&3)+1|0;if(d>>>0>=4294967295/(c>>>0)>>>0){break a}c=L(c,d);if(!c){return 1}a=a+6|0;if(a>>>0>>0|a>>>0>f>>>0){break a}d=0;if(c>>>0>f-a>>>0){break b}a=e-c|0}F[b+12>>2]=a;d=(a|0)>0}return d}return 0}function sl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!e){return 6}f=F[a+96>>2];F[e>>2]=0;F[e+4>>2]=0;f=F[F[f+12>>2]+76>>2];if(!f){return 0}b=Ia[f|0](a,b,c,e)|0;a:{if(b|(d|0)==2){break a}c=F[e>>2];b=c>>31;f=F[a+88>>2];h=F[f+16>>2];a=h>>31;b=(b^c)-b|0;a=(a^h)-a|0;b:{if(b+(a>>>8|0)>>>0<=8190){b=L(a,b)+32768>>>16|0;break b}i=b&65535;b=L(i,a>>>16|0)+L(a,b>>>16|0)+(L(i,a&65535)+32768>>>16)|0}a=b;g=0-a|0;a=c>>31|1;c=(((h|0)<0?0-a|0:a)|0)<0?g:b;F[e>>2]=c;h=F[e+4>>2];b=h>>31;i=F[f+20>>2];a=i>>31;b=(b^h)-b|0;a=(a^i)-a|0;c:{if(b+(a>>>8|0)>>>0<=8190){g=L(a,b)+32768>>>16|0;break c}g=b&65535;g=L(g,a>>>16|0)+L(a,b>>>16|0)+(L(a&65535,g)+32768>>>16)|0}a=g;b=0;j=0-a|0;a=h>>31|1;a=(((i|0)<0?0-a|0:a)|0)<0?j:g;F[e+4>>2]=a;if((d|0)==1){break a}d=H[f+12>>1];if(d>>>0<=24){c=bb(c,d,25)}d=H[f+14>>1];if(d>>>0<=24){a=bb(a,d,25)}F[e+4>>2]=a+32&-64;F[e>>2]=c+32&-64}return b}function Oo(a,b){var c=0,d=0,e=0;a:{if((a|0)==163632){break a}b:{switch(G[a|0]){case 0:return G[(a+b|0)+1|0];case 3:c=1;e=a+1|0;a=G[a+1|0]|G[a+2|0]<<8;a=(a<<8|a>>>8)&65535;c:{if(a>>>0<2){break c}while(1){d=a>>>0>c>>>0?(e+L(c,3)|0)+2|0:163632;d=G[d|0]|G[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>b>>>0){break c}c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}b=c-1|0;return G[(a>>>0>b>>>0?(e+L(b,3)|0)+2|0:163632)+2|0];case 4:break b;default:break a}}c=1;e=G[a+1|0]|G[a+2|0]<<8|(G[a+3|0]<<16|G[a+4|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d:{if(e>>>0<2){break d}while(1){d=c>>>0>>0?(L(c,6)+a|0)+5|0:163632;d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>b>>>0){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}b=a;a=c-1|0;a=a>>>0>>0?(b+L(a,6)|0)+5|0:163632;a=G[a+4|0]|G[a+5|0]<<8;c=(a<<8|a>>>8)&65535}return c}function re(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){d=E[a+56>>1];E[a+20>>1]=d+H[a+20>>1];b=H[a+22>>1];E[a+22>>1]=b+H[a+58>>1];h=F[a+48>>2]+F[a+84>>2]|0;F[a+48>>2]=h;a:{if((d|0)<=0){break a}f=F[a+68>>2];if(d-1>>>0>=3){k=d&-4;while(1){c=g<<1;e=c+f|0;E[e>>1]=b+H[e>>1];e=f+(c|2)|0;E[e>>1]=b+H[e>>1];e=f+(c|4)|0;E[e>>1]=b+H[e>>1];c=f+(c|6)|0;E[c>>1]=b+H[c>>1];g=g+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}d=d&3;if(!d){break a}while(1){c=f+(g<<1)|0;E[c>>1]=b+H[c>>1];g=g+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}F[a+84>>2]=0;F[a+56>>2]=0;b=F[a+24>>2];if(b){b=b+(E[a+22>>1]<<3)|0}else{b=0}F[a+60>>2]=b;c=a- -64|0;b=F[a+28>>2];if(b){b=b+E[a+22>>1]|0}else{b=0}F[c>>2]=b;b=F[a+32>>2];if(b){b=b+(E[a+20>>1]<<1)|0}else{b=0}F[a+68>>2]=b;if(G[a+16|0]){b=E[a+22>>1]<<3;F[a+76>>2]=b+F[a+40>>2];F[a+80>>2]=b+F[a+44>>2]}b=a;a=F[a+52>>2];F[b+88>>2]=a?a+(h<<5)|0:0}}function bq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ga-208|0;Ga=e;F[e+204>>2]=0;c=F[a>>2];b=F[F[c+712>>2]+3080>>2];c=Nb(F[F[c+96>>2]+4>>2],11010);a:{if(!c|!b){break a}b=F[b>>2];if(!b){break a}h=Ia[b|0](c)|0;if(!h){break a}b=F[a>>2];f=F[b+712>>2];c=F[b+100>>2];b=gb(c,1028,e+204|0);b:{c:{if(F[e+204>>2]){break c}d=e+8|0;fi(f+1372|0,d);d=Ia[F[h>>2]](F[F[a>>2]+100>>2],d,b)|0;F[e+204>>2]=d;if(d){break c}j=b+4|0;d=F[f+2024>>2];while(1){if(!d){break b}d=d-1|0;g=d<<2;i=e+8|0;fi(F[(g+f|0)+2028>>2],i);g=Ia[F[h>>2]](F[F[a>>2]+100>>2],i,g+j|0)|0;F[e+204>>2]=g;if(!g){continue}break}}if(b){a=F[f+2024>>2];if(a){while(1){a=a-1|0;f=b+(a<<2)|0;d=F[f+4>>2];if(d){Ia[F[c+8>>2]](c,d)}F[f+4>>2]=0;if(a){continue}break}}a=F[b>>2];if(a){Ia[F[c+8>>2]](c,a)}F[b>>2]=0}if(b){Ia[F[c+8>>2]](c,b)}k=F[e+204>>2];break a}F[F[a+40>>2]>>2]=b;F[a+44>>2]=-1}Ga=e+208|0;return k|0}function Zm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;i=F[b+4>>2];if(i>>>0>a>>>0){return 0}e=F[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}h=F[b+12>>2];f=h-2|0;F[b+12>>2]=f;g=1;if((f|0)<=0){return 0}f=G[a|0]|G[a+1|0]<<8;a:{if(!f){break a}b:{c=((f<<8|f>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break b}d=F[d>>2];h=h-4|0;F[b+12>>2]=h;if((h|0)<=0){break b}g=G[c|0]|G[c+1|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>=4294967295/(d>>>0)>>>0?d:0){break b}f=L(d,g);if(f>>>0>2147483646){break b}g=1;if(!f){break a}d=c+2|0;if(d>>>0>>0|d>>>0>e>>>0){break b}e=e-d|0;d=f<<1;if(e>>>0>>0){break b}e=h-d|0;F[b+12>>2]=e;d=0;if((e|0)<=0){break b}while(1){if(!Bf((d|0)<0?163632:(c+(d<<1)|0)+2|0,b,c)){break b}d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}c=F[b+28>>2];if(c>>>0>31){return 0}F[b+28>>2]=c+1;g=0;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;g=1}return g}function Qc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=M(0);e=G[a+8|0]|G[a+9|0]<<8;a:{if(!e){break a}g=G[a+6|0]|G[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=L(j,h)+k|0;f=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=G[a+10|0]|G[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=163632}b=G[a+6|0]|G[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=G[e+5|0]|G[e+4|0]<<8;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=G[b+8|0]|G[b+9|0]<<8|(G[b+10|0]<<16|G[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=b?b+a|0:163632;b=a;a=G[a+2|0]|G[a+3|0]<<8|(G[a+4|0]<<16|G[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);l=Be(f,G[e+7|0]|G[e+6|0]<<8,c,d,a?b+a|0:163632)}return l}function ub(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(G[b|0]){g=K[b+8>>3];break a}D[b|0]=1;g=K[b+8>>3];f=K[a+128>>3];if(g>f){K[b+8>>3]=f;g=f;f=K[a+128>>3]}if(f>K[b+24>>3]){K[b+24>>3]=f}f=K[a+136>>3];if(f>3]){K[b+16>>3]=f;f=K[a+136>>3]}if(!(K[b+32>>3]>3]=f}f=K[c>>3];if(g>f){K[b+8>>3]=f;g=f;f=K[c>>3]}h=K[b+24>>3];if(f>h){K[b+24>>3]=f;h=f}i=K[b+16>>3];f=K[c+8>>3];if(i>f){K[b+16>>3]=f;i=f;f=K[c+8>>3]}j=K[b+32>>3];if(f>j){K[b+32>>3]=f;j=f}f=K[d>>3];if(f>3]=f;f=K[d>>3]}if(f>h){K[b+24>>3]=f}g=K[d+8>>3];if(i>g){K[b+16>>3]=g;g=K[d+8>>3]}if(g>j){K[b+32>>3]=g}c=F[e+4>>2];F[a+128>>2]=F[e>>2];F[a+132>>2]=c;c=F[e+12>>2];F[a+136>>2]=F[e+8>>2];F[a+140>>2]=c;g=K[a+128>>3];if(g>3]){K[b+8>>3]=g;g=K[a+128>>3]}if(K[b+24>>3]>3]=g}g=K[a+136>>3];if(g>3]){K[b+16>>3]=g;g=K[a+136>>3]}if(K[b+32>>3]>3]=g}}function Wl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=Ga-16|0;Ga=j;h=G[a+11|0]>>>7|0?(F[a+8>>2]&2147483647)-1|0:10;if(G[a+11|0]>>>7|0){e=F[a+4>>2]}else{e=G[a+11|0]}a:{if(h-e>>>0>=c>>>0){if(!c){break a}if(G[a+11|0]>>>7|0){i=F[a>>2]}else{i=a}lf(i+e|0,b,c);b=c+e|0;b:{if(G[a+11|0]>>>7|0){F[a+4>>2]=b;break b}D[a+11|0]=b}D[j+15|0]=0;D[b+i|0]=G[j+15|0];break a}f=Ga-16|0;Ga=f;c:{d=(c+e|0)-h|0;if(d>>>0<=(h^-1)-17>>>0){if(G[a+11|0]>>>7|0){i=F[a>>2]}else{i=a}d:{if(h>>>0<2147483623){F[f+8>>2]=h<<1;F[f+12>>2]=d+h;d=Ga-16|0;Ga=d;Ga=d+16|0;d=f+8|0;g=f+12|0;d=F[(I[g>>2]>2]?d:g)>>2];if(d>>>0>=11){g=d+16&-16;d=g-1|0;d=(d|0)==11?g:d}else{d=10}break d}d=-18}g=d+1|0;d=Ad(g);if(e){lf(d,i,e)}if(c){lf(d+e|0,b,c)}b=h+1|0;if((b|0)!=11){Yl(i)}F[a>>2]=d;F[a+8>>2]=g|-2147483648;b=c+e|0;F[a+4>>2]=b;D[f+7|0]=0;D[b+d|0]=G[f+7|0];Ga=f+16|0;break c}Xl();V()}}Ga=j+16|0;return a}function Kz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(L(b,588)+L(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;g=F[(e<<2)+221392>>2];f=g&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=f>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=g&16383;break c}a=c>>>11|0;g=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{f=b+c>>>1|0;h=(f<<3)+223952|0;a=F[h+4>>2];h=F[h>>2];a=a&2147483647;i=h&-2097152;h:{if((a|0)==(e|0)&i>>>0>g>>>0|a>>>0>e>>>0){b=f-1|0;break h}if((a|0)==(e|0)&g>>>0<=i>>>0|a>>>0>e>>>0){break g}c=f+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&2097151}if(b){break a}}return 0}F[d>>2]=b;return 1}function Fc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=F[a+68>>2];i=c>>>0>d>>>0?d:c;j=i-b|0;if(j>>>0<2){break a}g=F[a+144>>2]|32;F[a+144>>2]=g;if(b>>>0>=i>>>0){break a}h=F[a+80>>2];c=-1;d=b;l=(d^-1)+i|0;if(l>>>0>=3){k=j&-4;while(1){e=L(d,20)+h|0;f=F[e+8>>2];c=c>>>0>>0?c:f;f=F[e+28>>2];c=c>>>0>>0?c:f;f=F[e+48>>2];c=c>>>0>>0?c:f;e=F[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){e=0;while(1){f=F[(L(d,20)+h|0)+8>>2];c=c>>>0>>0?c:f;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(j&1){d=L(b,20)+h|0;if(F[d+8>>2]!=(c|0)){F[a+144>>2]=g;F[d+4>>2]=F[d+4>>2]|3}b=b+1|0}if(!l){break a}while(1){d=L(b,20)+h|0;if(F[d+8>>2]!=(c|0)){g=g|32;F[a+144>>2]=g;F[d+4>>2]=F[d+4>>2]|3}d=L(b+1|0,20)+h|0;if(F[d+8>>2]!=(c|0)){g=g|32;F[a+144>>2]=g;F[d+4>>2]=F[d+4>>2]|3}b=b+2|0;if((i|0)!=(b|0)){continue}break}}}function zu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=F[b>>2];if((e|0)==-1){return 0}c=F[a+16>>2];d=G[c+8204|0]|G[c+8205|0]<<8|(G[c+8206|0]<<16|G[c+8207|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{b:{if(!f){break b}j=F[a>>2];a=e+1|0;d=c+8208|0;while(1){c=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a>>>0>g>>>0?a:g;c=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){break c}c=G[d+8|0]|G[d+9|0]<<8|(G[d+10|0]<<16|G[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h+1|0;d:{while(1){e=a-g|0;if((e^-1)>>>0>>0){break c}e=e+i|0;if(e){break d}if((a|0)==-1){break b}e=(a|0)==(h|0);a=a+1|0;if(!e){continue}break}a=c;break c}if(I[j+16>>2]>e>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}e=0;a=0}F[b>>2]=a;return e|0}function Qg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ga-16|0;Ga=c;F[c+12>>2]=b;F[c+8>>2]=a;Ga=c+16|0;b=c+8|0;a=0;a:{if(!b){break a}a=F[b+4>>2];b=F[b>>2];if(!b){b=a;a=a>>31;a=(b^a)-a|0;break a}if(!a){a=b>>31;a=(a^b)-a|0;break a}c=a>>31;d=(c^a)-c|0;c=b>>31;g=d|(c^b)-c;f=O(g);h=f-2|0;b:{if(g>>>0<=1073741823){a=a<>c;c=b>>c}b=0-c|0;c:{if((a|0)>(c|0)){d=(a|0)>(b|0);c=d?b:0-a|0;b=d?a:b;break c}d=(a|0)<(b|0);b=d?0-a|0:c;c=d?c:a}a=1;d=1;while(1){e=a+c>>d;d:{if((c|0)>0){c=c-(a+b>>d)|0;b=b+e|0;break d}c=(a+b>>d)+c|0;b=b-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=b>>31;c=(a^b)-a|0;d=c&65535;a=L(d,56281);e=c>>>16|0;c=a+L(e,23318)|0;i=c<<16;d=i+L(d,23318)|0;a=(((L(e,56281)+(c>>>16|0)|0)+((a>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;b=(b|0)<0?0-a|0:a;a=b+(1<>h;if(g>>>0<=536870911){break a}a=b<<2-f}return a}function YB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=F[a+4>>2];e=F[a>>2];a:{if((e|0)<0){break a}c=g;d=c+F[b+4>>2]|0;d=(d|0)>0?d:0;if(d>>>0>e>>>0){c=e;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}b:{if(!(c>>>0>>0|c>>>0>268435454)){e=ob(F[a+8>>2],c<<4);if(e){break b}}F[a>>2]=-1;break a}F[a>>2]=c;F[a+8>>2]=e;c=F[a+4>>2]}if(c>>>0>>0){Wa(F[a+8>>2]+(c<<4)|0,0,d-c<<4)}F[a+4>>2]=d}c=F[b+4>>2];if(c){e=0;while(1){c:{if(c>>>0<=e>>>0){c=F[40911];F[61610]=F[40910];F[61611]=c;c=F[40909];F[61608]=F[40908];F[61609]=c;c=246432;break c}c=F[b>>2]+(e<<4)|0}d=e+g|0;d:{if(d>>>0>=I[a+4>>2]){d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break d}d=F[a+8>>2]+(d<<4)|0}f=F[c+4>>2];F[d>>2]=F[c>>2];F[d+4>>2]=f;f=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=f;c=F[b+4>>2];e=e+1|0;if(c>>>0>e>>>0){continue}break}}}function ao(a,b,c,d,e,f){var g=0,h=0;g=163632;h=163632;a=id(a,b);b=G[a+4|0]|G[a+5|0]<<8;if(b){h=a+((b<<8|b>>>8)&65535)|0}b=G[h|0]|G[h+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0>c>>>0?(L(c,6)+h|0)+2|0:163632;b=G[b+4|0]|G[b+5|0]<<8;if(b){g=((b<<8|b>>>8)&65535)+h|0}a:{if((d|0)==65535){c=G[g|0]|G[g+1|0]<<8;b=164018;if(!c){break a}b=((c<<8|c>>>8)&65535)+g|0;break a}c=G[g+2|0]|G[g+3|0]<<8;c=((c<<8|c>>>8)&65535)>>>0>d>>>0?(L(d,6)+g|0)+4|0:163632;c=G[c+4|0]|G[c+5|0]<<8;b=164018;if(!c){break a}b=((c<<8|c>>>8)&65535)+g|0}b=G[b+2|0]|G[b+3|0]<<8;g=b<<8|b>>>8;d=g&65535;if(e){F[e>>2]=d}if(f){if((b|0)==65535){a=0}else{c=163632;b=G[a+6|0]|G[a+7|0]<<8;if(b){c=a+((b<<8|b>>>8)&65535)|0}a=G[c|0]|G[c+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>(g&65535)>>>0?(L(d,6)+c|0)+2|0:163632;a=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}F[f>>2]=a}}function Jl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=F[a+2744>>2];l=i&4;f=64;a:{if(l){break a}f=(e|0)==1?55:49;if(!(!(D[b+12|0]&1)|!(D[c+12|0]&1))){break a}f=(e|0)==1?61:59}m=F[c+4>>2];n=F[b+4>>2];j=sf(i,F[a+2748>>2],e,m-n|0);b:{c:{d:{e:{i=(((m+n|0)/2|0)+d|0)+((j|0)/-2|0)|0;a=i&63;f:{if(!a){break f}g=j+i&63;if(!g){break f}d=64-a|0;if((f|0)>=(j|0)){if((g|0)>=(j|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!l){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}k=j&63;if(k>>>0>31){break e}if(d>>>0<=k>>>0){break f}if(g>>>0>k>>>0){break d}}a=(h|0)>-14?h:-14;break b}k=64-f|0}e=d-k|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-k|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)>-14?d:-14;a=(a|0)<14?a:14}d=l?h:a;f=d+i|0;e=f+j|0;a=(m|0)>(n|0);F[b+8>>2]=a?f:e;F[c+8>>2]=a?e:f;return d}function Hg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=F[a>>2];f=Oc(g,c,11507);if(!f){return 64}a:{b=F[a>>2];a=Ia[F[b+4>>2]](b,40)|0;if(!a){c=64;break a}D[a+24|0]=0;D[a+25|0]=0;D[a+26|0]=0;D[a+27|0]=0;D[a+28|0]=0;D[a+29|0]=0;D[a+30|0]=0;D[a+31|0]=0;D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;D[a+4|0]=0;D[a+5|0]=0;D[a+6|0]=0;D[a+7|0]=0;D[a+32|0]=0;D[a+33|0]=0;D[a+34|0]=0;D[a+35|0]=0;D[a+36|0]=0;D[a+37|0]=0;D[a+38|0]=0;D[a+39|0]=0;D[a+16|0]=0;D[a+17|0]=0;D[a+18|0]=0;D[a+19|0]=0;D[a+20|0]=0;D[a+21|0]=0;D[a+22|0]=0;D[a+23|0]=0;D[a+8|0]=0;D[a+9|0]=0;D[a+10|0]=0;D[a+11|0]=0;D[a+12|0]=0;D[a+13|0]=0;D[a+14|0]=0;D[a+15|0]=0;F[a+28>>2]=b;c=pe(a,f);F[a+16>>2]=f;if(c){Ia[F[b+8>>2]](b,a);break a}F[a+28>>2]=b;c=yd(a,333319,e);b=F[a+28>>2];e=F[a+24>>2];if(e){Ia[e|0](a)}Ia[F[b+8>>2]](b,a);if(c){break a}F[d>>2]=f;return 0}Ia[F[g+8>>2]](g,f);return c|0}function Gg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=F[a>>2];f=Oc(g,c,12024);if(!f){return 64}a:{b=F[a>>2];a=Ia[F[b+4>>2]](b,40)|0;if(!a){c=64;break a}D[a+24|0]=0;D[a+25|0]=0;D[a+26|0]=0;D[a+27|0]=0;D[a+28|0]=0;D[a+29|0]=0;D[a+30|0]=0;D[a+31|0]=0;D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;D[a+4|0]=0;D[a+5|0]=0;D[a+6|0]=0;D[a+7|0]=0;D[a+32|0]=0;D[a+33|0]=0;D[a+34|0]=0;D[a+35|0]=0;D[a+36|0]=0;D[a+37|0]=0;D[a+38|0]=0;D[a+39|0]=0;D[a+16|0]=0;D[a+17|0]=0;D[a+18|0]=0;D[a+19|0]=0;D[a+20|0]=0;D[a+21|0]=0;D[a+22|0]=0;D[a+23|0]=0;D[a+8|0]=0;D[a+9|0]=0;D[a+10|0]=0;D[a+11|0]=0;D[a+12|0]=0;D[a+13|0]=0;D[a+14|0]=0;D[a+15|0]=0;F[a+28>>2]=b;c=pe(a,f);F[a+16>>2]=f;if(c){Ia[F[b+8>>2]](b,a);break a}F[a+28>>2]=b;c=yd(a,333319,e);b=F[a+28>>2];e=F[a+24>>2];if(e){Ia[e|0](a)}Ia[F[b+8>>2]](b,a);if(c){break a}F[d>>2]=f;return 0}Ia[F[g+8>>2]](g,f);return c|0}function Fg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=F[a>>2];f=Oc(g,c,12096);if(!f){return 64}a:{b=F[a>>2];a=Ia[F[b+4>>2]](b,40)|0;if(!a){c=64;break a}D[a+24|0]=0;D[a+25|0]=0;D[a+26|0]=0;D[a+27|0]=0;D[a+28|0]=0;D[a+29|0]=0;D[a+30|0]=0;D[a+31|0]=0;D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;D[a+4|0]=0;D[a+5|0]=0;D[a+6|0]=0;D[a+7|0]=0;D[a+32|0]=0;D[a+33|0]=0;D[a+34|0]=0;D[a+35|0]=0;D[a+36|0]=0;D[a+37|0]=0;D[a+38|0]=0;D[a+39|0]=0;D[a+16|0]=0;D[a+17|0]=0;D[a+18|0]=0;D[a+19|0]=0;D[a+20|0]=0;D[a+21|0]=0;D[a+22|0]=0;D[a+23|0]=0;D[a+8|0]=0;D[a+9|0]=0;D[a+10|0]=0;D[a+11|0]=0;D[a+12|0]=0;D[a+13|0]=0;D[a+14|0]=0;D[a+15|0]=0;F[a+28>>2]=b;c=pe(a,f);F[a+16>>2]=f;if(c){Ia[F[b+8>>2]](b,a);break a}F[a+28>>2]=b;c=yd(a,333319,e);b=F[a+28>>2];e=F[a+24>>2];if(e){Ia[e|0](a)}Ia[F[b+8>>2]](b,a);if(c){break a}F[d>>2]=f;return 0}Ia[F[g+8>>2]](g,f);return c|0}function bv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=F[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){c=F[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=H[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((L(h,63)|0)/64|0)>>1&k;break c}if(!(F[e+28>>2]!=(f|0)|F[e+16>>2]>0)&(!(l&16)|F[a+8>>2]>(d-c|0))|!(F[f+28>>2]!=(e|0)|F[e+20>>2]!=(b|0))&(!(l&32)|F[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((L(h,63)|0)/64|0)>>1&k}c=F[a>>2];d=g;d=(j|0)>=0?H[a+52>>1]>j>>>c>>>0?j:i:d;b=((g|0)==(d|0)?i:g)>>c;if((b|0)<0|b>>>0>=H[a+52>>1]){break b}if(G[F[a+56>>2]+(F[a+140>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|b>>>0>=H[a+52>>1]){break a}a=F[a+56>>2]+(F[a+140>>2]+(b>>>3&65535)|0)|0;D[a|0]=G[a|0]|128>>>(b&7)}}function rj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=F[(c<<3)+e>>2]>F[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=F[h+f>>2];l=g?d:c;c=l<<3;j=F[c+f>>2];h=F[e+h>>2];g=F[c+e>>2];if(!((h|0)==(g|0)&(i|0)!=(j|0))){if((g|0)!=(h|0)){m=_a(i-j|0,h-g|0)}o=i-h|0;p=j-g|0;d=a;while(1){c=d;n=d<<3;d=F[n+e>>2];b:{if((d|0)<=(g|0)){i=d+p|0;break b}i=d+o|0;if((d|0)>=(h|0)){break b}i=Ua(d-g|0,m)+j|0}F[f+n>>2]=i;d=c+1|0;if((b|0)!=(c|0)){continue}break}}h=f+4|0;e=e+4|0;d=F[e+(l<<3)>>2]>F[e+(k<<3)>>2];g=(d?l:k)<<3;c=F[h+g>>2];d=(d?k:l)<<3;f=F[d+h>>2];g=F[e+g>>2];d=F[d+e>>2];if((g|0)==(d|0)&(c|0)!=(f|0)){break a}k=0;if((d|0)!=(g|0)){k=_a(c-f|0,g-d|0)}i=c-g|0;l=f-d|0;while(1){c=a;m=c<<3;a=F[m+e>>2];c:{if((a|0)<=(d|0)){j=a+l|0;break c}j=a+i|0;if((a|0)>=(g|0)){break c}j=Ua(a-d|0,k)+f|0}F[h+m>>2]=j;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function dp(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;k=Ga-16|0;Ga=k;m=F[b+28>>2];n=F[b+24>>2];l=F[a+20>>2];if((l|0)!=F[b+36>>2]){h=b+40|0;while(1){i=j<<2;F[i+h>>2]=-1;F[h+(i|4)>>2]=-1;F[h+(i|8)>>2]=-1;F[h+(i|12)>>2]=-1;F[h+(i|16)>>2]=-1;F[h+(i|20)>>2]=-1;F[h+(i|24)>>2]=-1;F[h+(i|28)>>2]=-1;j=j+8|0;if((j|0)!=256){continue}break}F[b+36>>2]=F[a+20>>2]}a:{if(c){i=b+40|0;j=0;while(1){F[k+12>>2]=0;h=F[d>>2];b=i+((h&255)<<2)|0;a=F[b>>2];b:{if(!((a|0)==-1|(a>>>24|0)!=(h>>>8|0))){a=a&16777215;break b}F[61902]=0;da(642,n|0,h|0,m|0,k+12|0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break a}a=F[k+12>>2];if(h>>>0>65535|a>>>0>16777215){break b}F[b>>2]=h<<16&-16777216|a}F[f>>2]=((l|0)>=0?a:0-a|0)+512>>10;f=f+g|0;d=d+e|0;j=j+1|0;if((j|0)!=(c|0)){continue}break}}yb();Ga=k+16|0;return}a=Z()|0;Y()|0;yb();$(a|0);V()}function _u(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=F[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=F[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=H[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((L(h,63)|0)/64|0)>>1&k;break c}if(!(F[e+28>>2]!=(f|0)|F[e+16>>2]>0)&(!(l&16)|F[a+8>>2]>(d-c|0))|!(F[f+28>>2]!=(e|0)|F[e+20>>2]!=(b|0))&(!(l&32)|F[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((L(h,63)|0)/64|0)>>1&k}e=F[a>>2];d=g;d=(j|0)>=0?I[a+96>>2]>j>>>e>>>0?j:i:d;c=((g|0)==(d|0)?i:g)>>e;if((c|0)<0|c>>>0>=I[a+96>>2]){break b}if(G[(F[a+56>>2]+(b>>3)|0)-L(c,F[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=I[a+96>>2]){break a}a=(F[a+56>>2]+(b>>3)|0)-L(c,F[a+104>>2])|0;D[a|0]=G[a|0]|128>>>(b&7)}}function rw(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;a=Wa(a,0,1516);j=pc(F[b+96>>2],23740,1);if(!j){return 7}D[a+68|0]=1;F[a+64>>2]=0;F[a+1348>>2]=j;F[a+8>>2]=d;F[a+4>>2]=b;F[a>>2]=F[b+100>>2];a:{if(!d){break a}j=F[F[d+156>>2]>>2];F[a+12>>2]=j;F[a+20>>2]=j+56;F[a+16>>2]=j+20;fd(j);c=F[F[c+40>>2]>>2];F[a+72>>2]=0;F[a+76>>2]=c;if(!g){break a}F[a+72>>2]=F[F[d+156>>2]+36>>2]}F[a+24>>2]=0;F[a+28>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;c=F[7601];F[a+80>>2]=F[7600];F[a+84>>2]=c;c=F[7603];F[a+88>>2]=F[7602];F[a+92>>2]=c;c=F[7605];F[a+96>>2]=F[7604];F[a+100>>2]=c;c=F[7607];F[a+104>>2]=F[7606];F[a+108>>2]=c;F[a+1352>>2]=F[b+16>>2];F[a+1468>>2]=f;F[a+1476>>2]=i;F[a+1356>>2]=e;F[a+1472>>2]=h;c=F[7611];b=a+1488|0;F[b>>2]=F[7610];F[b+4>>2]=c;b=F[7609];F[a+1480>>2]=F[7608];F[a+1484>>2]=b;return 0}function bA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ib(1,8);a:{if(d){c=F[a+56>>2];b=0;b:{if((c|0)<=0){break b}e=F[a+60>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=F[L(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=F[(L(c,36)+e|0)+28>>2]}F[d>>2]=b;b=F[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Km(a);F[d+4>>2]=a;if(a){break a}Ta(d)}d=0}return d|0}function Vn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=F[a+68>>2];if(k){l=F[a+88>>2];h=F[a+80>>2];while(1){a:{b:{f=L(e,20);c=f+h|0;if(Ia[b|0](c)|0){f=F[c+8>>2];c:{d:{e:{d=e+1|0;if(d>>>0>>0){if(F[(L(d,20)+h|0)+8>>2]!=(f|0)){break e}break a}if(g){break d}break b}if(!g){break c}}i=F[(L(g,20)+h|0)-12>>2];if(i>>>0<=f>>>0){break a}j=F[c+4>>2]&3;e=g;while(1){e=e-1|0;c=L(e,20)+h|0;if((i|0)!=F[c+8>>2]){break a}F[c+4>>2]=j|F[c+4>>2]&-4;F[c+8>>2]=f;if(e){continue}break}break a}Kb(a,e,e+2|0);break b}if((e|0)!=(g|0)){j=F[c+4>>2];i=L(g,20);d=i+h|0;F[d>>2]=F[c>>2];F[d+4>>2]=j;F[d+16>>2]=F[c+16>>2];j=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=j;d=i+l|0;c=f+l|0;F[d+16>>2]=F[c+16>>2];f=F[c+12>>2];F[d+8>>2]=F[c+8>>2];F[d+12>>2]=f;f=F[c+4>>2];F[d>>2]=F[c>>2];F[d+4>>2]=f}g=g+1|0;d=e+1|0;break a}g=0}e=d;if((k|0)!=(d|0)){continue}break}}F[a+68>>2]=g}function gn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ga-16|0;Ga=f;c=G[a+2|0]|G[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];if((qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2])|0)!=-1){g=163632;e=163632;c=G[a+4|0]|G[a+5|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}c=F[b+100>>2];c=Df(e,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);d=G[a+6|0]|G[a+7|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+8|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){g=((c<<8|c>>>8)&65535)+a|0}F[f+12>>2]=e;F[f+8>>2]=716;a=G[g|0]|G[g+1|0]<<8;if(a){e=(a<<8|a>>>8)&65535;a=g+2|0;while(1){c=G[a|0]|G[a+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+g|0}else{c=163632}d=G[c|0]|G[c+1|0]<<8;h=(d<<8|d>>>8)&65535;i=c+4|0;c=G[c+2|0]|G[c+3|0]<<8;c=ue(b,h,i,(c<<8|c>>>8)&65535,(d?(h<<1)-2|0:0)+i|0,F[f+8>>2],F[f+12>>2]);if(!c){a=a+2|0;e=e-1|0;if(e){continue}}break}}else{c=0}e=c}Ga=f+16|0;return e}function $v(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;i=F[b+712>>2];a=Wa(a,0,780);F[a+8>>2]=d;F[a+4>>2]=b;D[a+65|0]=1;F[a>>2]=F[b+100>>2];a:{if(!d){break a}b=F[F[d+156>>2]>>2];F[a+12>>2]=b;F[a+20>>2]=b+56;F[a+16>>2]=b+20;fd(b);F[a+68>>2]=0;F[a+72>>2]=0;if(!c|!e){break a}b=F[F[c+40>>2]>>2];if(!b){break a}F[a+72>>2]=F[b>>2];F[a+68>>2]=F[F[d+156>>2]+36>>2]}F[a+24>>2]=0;F[a+28>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;b=F[7660];F[a+76>>2]=F[7659];F[a+80>>2]=b;b=F[7662];F[a+84>>2]=F[7661];F[a+88>>2]=b;b=F[7664];F[a+92>>2]=F[7663];F[a+96>>2]=b;b=F[7666];F[a+100>>2]=F[7665];F[a+104>>2]=b;F[a+108>>2]=i;b=F[i+120>>2];F[a+732>>2]=b;F[a+748>>2]=F[i+1352>>2];b:{if(F[i+1416>>2]==1){break b}j=107;if(b>>>0<1240){break b}j=b>>>0<33900?1131:32768}F[a+776>>2]=h;F[a+772>>2]=g;F[a+760>>2]=f;F[a+740>>2]=j}function Ou(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=F[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=F[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(G[c|0]<<8|G[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=G[a|0]<<8|G[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=G[c+1|0]|G[c|0]<<8;g=G[c+3|0]|G[c+2|0]<<8;f=d&255;h=G[c+6|0];k=G[c+7|0];l=G[c+4|0];m=G[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>>0?f:a)|0;a=f-a|0;a=a>>>0>f>>>0?0:a;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=G[d+1|0]|G[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:d+256&-256}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}F[b>>2]=e;return c|0}function Oe(a,b,c){a:{switch(c-1|0){case 0:F[b>>2]=F[a+4>>2];return;case 1:F[b>>2]=F[a+4>>2]+F[a+12>>2];F[b+4>>2]=F[a+8>>2]+F[a+12>>2];return;case 2:F[b>>2]=F[a+4>>2]+(F[a+12>>2]+(F[a+20>>2]+F[a+28>>2]|0)|0);F[b+4>>2]=F[a+8>>2]+(F[a+12>>2]+(F[a+24>>2]+F[a+28>>2]|0)|0);F[b+8>>2]=F[a+16>>2]+(F[a+20>>2]+(F[a+24>>2]+F[a+28>>2]|0)|0);return;default:break a}}F[b>>2]=F[a+4>>2]+(F[a+12>>2]+(F[a+20>>2]+(F[a+28>>2]+(F[a+36>>2]+(F[a+44>>2]+(F[a+52>>2]+F[a+60>>2]|0)|0)|0)|0)|0)|0);F[b+4>>2]=F[a+8>>2]+(F[a+12>>2]+(F[a+24>>2]+(F[a+28>>2]+(F[a+40>>2]+(F[a+44>>2]+(F[a+56>>2]+F[a+60>>2]|0)|0)|0)|0)|0)|0);F[b+8>>2]=F[a+16>>2]+(F[a+20>>2]+(F[a+24>>2]+(F[a+28>>2]+(F[a+48>>2]+(F[a+52>>2]+(F[a+56>>2]+F[a+60>>2]|0)|0)|0)|0)|0)|0);F[b+12>>2]=F[a+32>>2]+(F[a+36>>2]+(F[a+40>>2]+(F[a+44>>2]+(F[a+48>>2]+(F[a+52>>2]+(F[a+56>>2]+F[a+60>>2]|0)|0)|0)|0)|0)|0)}function Jh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=F[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=F[b+12>>2];e=d-4|0;F[b+12>>2]=e;if((G[a|0]|G[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<16){break a}d=d-20|0;F[b+12>>2]=d;if((G[a+10|0]|G[a+11|0]<<8)!=5120|(d|0)<=0){break a}c=G[a+14|0]|G[a+15|0]<<8;j=(c<<8|c>>>8)&65535;h=G[a+8|0]|G[a+9|0]<<8;g=(h<<8|h>>>8)&65535;if(j>>>0<(g<<2)+4>>>0){break a}e=G[a+4|0]|G[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=163632}g=L(g,20);if(h){if(c>>>0>>0|c>>>0>f>>>0|g>>>0>f-c>>>0){break a}d=d-g|0;F[b+12>>2]=d;if((d|0)<=0){break a}}c=G[a+12|0]|G[a+13|0]<<8;h=(c<<8|c>>>8)&65535;a=c?g+(e?((e<<8|e>>>8)&65535)+a|0:163632)|0:0;c=L(h,j);if(!c){return 1}if(a>>>0>>0|a>>>0>f>>>0|c>>>0>f-a>>>0){break a}a=d-c|0;F[b+12>>2]=a;k=(a|0)>0}return k}function gt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=F[a+872>>2];if(!i){return 0}f=F[e+8>>2];a:{b:{if(f){g=F[e>>2];b=F[e+4>>2];break b}f=0;F[e+4>>2]=0;g=H[i+2>>1];if(!g){break a}g=g-1|0;l=F[i+8>>2]+2|0;c:{while(1){k=((g-f|0)/2|0)+f|0;h=L(k,6)+l|0;j=h-2|0;j=G[j|0]<<8|G[j+1|0];d:{if(j>>>0>>0){f=k+1|0;break d}if(b>>>0>=j>>>0){break c}g=k-1|0}if((f|0)<=(g|0)){continue}break}return 0}f=0;b=G[h+2|0]|G[h+3|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=G[h+1|0];h=G[h|0];F[e>>2]=g;b=b|h<<8;if(I[i+20>>2]>>0){break a}f=F[i+12>>2]+(b<<2)|0;F[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}F[e+8>>2]=f+2;F[c>>2]=G[f+1|0]|G[f|0]<<8;F[e+8>>2]=f+4;b=G[f+3|0]|G[f+2|0]<<8;F[d>>2]=b;if(I[c>>2]>=I[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=H[a+660>>1]){break a}}f=1;F[e+4>>2]=F[e+4>>2]+1}return f|0}function Mk(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ga-16|0;Ga=d;c=F[a>>2];F[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=G[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=rg(d+12|0,b);break c}e=Lk(d+12|0,b);break c}e=37;while(1){j:{k:{switch((e&255)-10|0){default:c=c+1|0;if((c|0)!=(b|0)){break j}c=b;break;case 0:case 3:break k}}F[d+12>>2]=c;break d}e=G[c|0];continue}}e=0}c=F[d+12>>2]+1|0;F[d+12>>2]=c;if(e?0:b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}F[a>>2]=c;Ga=d+16|0;return b}function yo(a,b){var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=b;F[a+32>>2]=b;a:{b:{c:{d:{while(1){D[a+24|0]=c;e=F[d+12>>2];F[a+4>>2]=e;c=F[d+16>>2];F[a+8>>2]=c+e;F[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!e){Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}c=xo(e,a);d=F[a+28>>2];e:{if(c){if(!d){break e}F[a+28>>2]=0;d=xo(e,a);e=F[a+28>>2];Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(G[a+24|0]|!d){break c}e=Xb(b);F[a+4>>2]=e;F[a+8>>2]=e+F[b+16>>2];d=F[a+32>>2];c=1;if(e){continue}break b}break}Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b}d=F[a+32>>2]}Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function ou(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>I[b+160>>2]){kb(b,8)}d=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<16|d>>>0>F[b+160>>2]-a>>>0)&(d-16>>>0)/12>>>0>=g>>>0)){kb(b,8)}if(g){a=0;while(1){d=a;f=G[c+8|0]|G[c+9|0]<<8|(G[c+10|0]<<16|G[c+11|0]<<24);a=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){kb(b,8)}if(!(!h|d>>>0>>0)){kb(b,8)}if(!(F[b+164>>2]<=0|I[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){kb(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function _i(a,b){var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=b;F[a+32>>2]=b;a:{b:{c:{d:{while(1){D[a+24|0]=c;e=F[d+12>>2];F[a+4>>2]=e;c=F[d+16>>2];F[a+8>>2]=c+e;F[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!e){Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}c=Mi(e,a);d=F[a+28>>2];e:{if(c){if(!d){break e}F[a+28>>2]=0;d=Mi(e,a);e=F[a+28>>2];Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(G[a+24|0]|!d){break c}e=Xb(b);F[a+4>>2]=e;F[a+8>>2]=e+F[b+16>>2];d=F[a+32>>2];c=1;if(e){continue}break b}break}Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b}d=F[a+32>>2]}Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function Zi(a,b){var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=b;F[a+32>>2]=b;a:{b:{c:{d:{while(1){D[a+24|0]=c;e=F[d+12>>2];F[a+4>>2]=e;c=F[d+16>>2];F[a+8>>2]=c+e;F[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!e){Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}c=Fi(e,a);d=F[a+28>>2];e:{if(c){if(!d){break e}F[a+28>>2]=0;d=Fi(e,a);e=F[a+28>>2];Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(G[a+24|0]|!d){break c}e=Xb(b);F[a+4>>2]=e;F[a+8>>2]=e+F[b+16>>2];d=F[a+32>>2];c=1;if(e){continue}break b}break}Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b}d=F[a+32>>2]}Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function Vi(a,b){var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=b;F[a+32>>2]=b;a:{b:{c:{d:{while(1){D[a+24|0]=c;e=F[d+12>>2];F[a+4>>2]=e;c=F[d+16>>2];F[a+8>>2]=c+e;F[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!e){Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}c=Ui(e,a);d=F[a+28>>2];e:{if(c){if(!d){break e}F[a+28>>2]=0;d=Ui(e,a);e=F[a+28>>2];Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(G[a+24|0]|!d){break c}e=Xb(b);F[a+4>>2]=e;F[a+8>>2]=e+F[b+16>>2];d=F[a+32>>2];c=1;if(e){continue}break b}break}Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b}d=F[a+32>>2]}Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function $i(a,b){var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}d=b;F[a+32>>2]=b;a:{b:{c:{d:{while(1){D[a+24|0]=c;e=F[d+12>>2];F[a+4>>2]=e;c=F[d+16>>2];F[a+8>>2]=c+e;F[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!e){Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}c=Ri(e,a);d=F[a+28>>2];e:{if(c){if(!d){break e}F[a+28>>2]=0;d=Ri(e,a);e=F[a+28>>2];Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(G[a+24|0]|!d){break c}e=Xb(b);F[a+4>>2]=e;F[a+8>>2]=e+F[b+16>>2];d=F[a+32>>2];c=1;if(e){continue}break b}break}Xa(F[a+32>>2]);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}if(F[b+4>>2]){F[b+4>>2]=0}return b}d=F[a+32>>2]}Xa(d);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function be(a){var b=0,c=0;b=ib(1,172);a:{if(!b){c=F[61271];b=245072;break a}F[b+8>>2]=0;F[b>>2]=1;F[b+4>>2]=1;F[b+148>>2]=1073741823;F[b+152>>2]=536870911;Ud(0);c=rm();if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}F[b+28>>2]=0;F[b+32>>2]=0;F[b+24>>2]=65533;F[b+16>>2]=0;F[b+20>>2]=0;F[b+12>>2]=c;F[b+36>>2]=0;F[b+40>>2]=0;F[b+44>>2]=0;F[b+48>>2]=0;F[b+52>>2]=0;F[b+56>>2]=0;F[b+72>>2]=0;F[b+64>>2]=0;F[b+68>>2]=0;D[b+62|0]=0;E[b+60>>1]=1;F[b+144>>2]=0;F[b+92>>2]=0;F[b+96>>2]=0;F[b+100>>2]=0;F[b+104>>2]=0;F[b+108>>2]=0;F[b+112>>2]=0;F[b+116>>2]=0;F[b+120>>2]=0;F[b+124>>2]=0;F[b+128>>2]=0;F[b+132>>2]=0;F[b+136>>2]=0;D[b+140|0]=0;F[b+84>>2]=F[b+80>>2]}Ud(c);c=F[a+12>>2];if(!(!c|!F[c>>2])){F[c>>2]=F[c>>2]+1}F[b+12>>2]=c;F[b+16>>2]=F[a+16>>2];F[b+20>>2]=F[a+20>>2];c=F[a+28>>2];F[b+28>>2]=c;F[b+24>>2]=c;F[b+32>>2]=F[a+32>>2];return b}function Bj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=F[a+12>>2];e=F[l>>2];h=b>>>0>e>>>0?e:b;if(h){b=F[l+12>>2];while(1){j=F[b+12>>2];e=j;k=i<<2;f=F[k+c>>2];if((e|0)>=(f|0)){e=F[b+4>>2];e=(e|0)<(f|0)?f:e}f=F[b+8>>2];a:{if((f|0)>(e|0)){g=0-_a(e-f|0,F[b+4>>2]-f|0)|0;break a}g=0;if((e|0)<=(f|0)){break a}g=_a(e-f|0,j-f|0)}F[d+k>>2]=g;b=b+24|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}e=F[l>>2]}if(e>>>0>h>>>0){Wa((h<<2)+d|0,0,e-h<<2)}a=F[a+28>>2];if(!(!a|!e)){c=0;while(1){g=H[a>>1];b:{if(g>>>0<2){break b}i=(c<<2)+d|0;f=F[i>>2];h=F[a+4>>2];b=1;while(1){j=b<<3;k=j+h|0;m=F[k>>2];if((f|0)<(m|0)){g=f;b=j-8|0;e=b+h|0;f=F[e>>2];n=i,o=bb(g-f|0,F[k+4>>2]-F[e+4>>2]|0,m-f|0)+F[(b+F[a+4>>2]|0)+4>>2]|0,F[n>>2]=o;e=F[l>>2];break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}a=a+8|0;c=c+1|0;if(e>>>0>c>>>0){continue}break}}}function Zj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=F[a+28>>2];a:{if((b|0)==-1){break a}e=F[a+36>>2];h=F[a+40>>2];if(e>>>0>=h>>>0){break a}j=F[a>>2];d=b+1|0;k=F[a+16>>2]+20|0;while(1){b:{c=L(e,12)+k|0;b=c-4|0;b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0>f>>>0?d:f;b=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0>g>>>0){break b}b=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=g+1|0;c:{while(1){c=d-f|0;if((c^-1)>>>0>>0){break b}c=c+i|0;if(c){break c}if((d|0)==-1){break a}c=(d|0)==(g|0);d=d+1|0;if(!c){continue}break}d=b;break b}if(c>>>0>=I[j+16>>2]){break b}F[a+36>>2]=e;F[a+32>>2]=c;F[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}D[a+24|0]=0}function zi(a,b){var c=0,d=0,e=0,f=0;a:{d=F[b+4>>2];if(d>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=F[b+12>>2];f=e-12|0;F[b+12>>2]=f;if((G[a|0]|G[a+1|0]<<8)!=256|(f|0)<=0){break a}f=d;d=a+6|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break a}c=e-14|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;b:{if(!c){break b}if(yi(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=F[b+12>>2]-2|0;F[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=G[d|0]|G[d+1|0]<<8;c:{if(!e){break c}if(yi(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=F[b+28>>2];if(a>>>0>31){break a}F[b+28>>2]=a+1;c=0;if(!G[b+24|0]){break c}D[d|0]=0;D[d+1|0]=0;c=1}return c}return 0}function qB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=G[a+2|0]|G[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=F[b+100>>2];c=qb(e,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=G[a+4|0]|G[a+5|0]<<8;if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){break a}d=1;a=(c<<1)+a|0;a=G[a+6|0]|G[a+7|0]<<8;e=(a<<8|a>>>8)&65535;a=F[b+100>>2];c=F[a+80>>2]+L(F[a+64>>2],20)|0;a=H[c+12>>1]|16;if(G[b+140|0]){a=jc(F[b+108>>2],e)|a&112}E[c+12>>1]=a;a=F[b+100>>2];if(!$a(a,1,1)){break a}b=F[a+64>>2];b:{if(b>>>0>2]){d=F[a+80>>2]+L(b,20)|0;b=F[a+72>>2];c=F[a+84>>2];break b}c=F[a+84>>2];b=F[a+72>>2];d=c+L(b?b-1|0:0,20)|0}b=L(b,20)+c|0;c=F[d+4>>2];F[b>>2]=F[d>>2];F[b+4>>2]=c;F[b+16>>2]=F[d+16>>2];c=F[d+12>>2];F[b+8>>2]=F[d+8>>2];F[b+12>>2]=c;F[b>>2]=e;d=1;F[a+64>>2]=F[a+64>>2]+1;F[a+72>>2]=F[a+72>>2]+1}return d|0}function ve(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=F[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break a}f=G[a|0]|G[a+1|0]<<8;if(!f){return 1}h=a+2|0;if(g>>>0>h>>>0|d>>>0>>0){break a}f=(f<<8|f>>>8)&65535;i=f<<1;if(i>>>0>d-h>>>0){break a}d=e-i|0;F[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(g>>>0>d>>>0){break a}f=f>>>0>1?f:1;g=0;while(1){b:{e=F[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break b}h=F[c>>2];e=F[b+12>>2]-2|0;F[b+12>>2]=e;if((e|0)<=0){break b}e=G[d|0]|G[d+1|0]<<8;c:{if(!e){break c}if(Mb(h+((e<<8|e>>>8)&65535)|0,b)){break c}e=F[b+28>>2];if(e>>>0>31){break b}F[b+28>>2]=e+1;if(!G[b+24|0]){break b}D[d|0]=0;D[d+1|0]=0}j=1;g=g+1|0;if((f|0)==(g|0)){break a}d=((g<<1)+a|0)+2|0;if(d>>>0>=I[b+4>>2]){continue}}break}j=0}return j}function gk(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=bb(h,f-c|0,j)+b|0;i=F[a>>2];f=f>>i;c=0;break b}i=F[a>>2];f=c>>i;c=F[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=F[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=bb(h,F[a+4>>2]-c|0,j)+b|0;break c}if(!G[a+79|0]){break c}F[a+36>>2]=F[a+36>>2]-4}D[a+79|0]=!d;if(G[a+78|0]){F[F[a+80>>2]+20>>2]=f;D[a+78|0]=0}g=e-f|0;c=g+1|0;if(I[a+32>>2]<=F[a+36>>2]+(c<<2)>>>0){F[a+40>>2]=98;return 1}d=1;e=F[a+4>>2];d:{if((h|0)>0){f=Pg(e,h,j);break d}d=-1;h=0-h|0;f=0-Pg(e,h,j)|0}h=(L(F[a+4>>2],h)|0)%(j|0)|0;e=F[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){F[e>>2]=b;g=g+h|0;i=(g|0)>=0;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=c>>>0>1;c=c-1|0;if(i){continue}break}}F[a+36>>2]=e}return 0}function li(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=F[a+68>>2];a:{b:{c:{h=F[a+36>>2];if((h|0)!=F[b+36>>2]){c=F[b+68>>2];if(!f){break c}d=1;if(c){break a}}if((f|0)==F[b+68>>2]){break b}d=2;break a}if(!c){return 0}return 2}if(!f){return 0}c=F[a+80>>2];e=F[b+80>>2];d=0;while(1){d=F[c>>2]==F[e>>2]?d:d|16;d=F[c+8>>2]==F[e+8>>2]?d:d|32;d=F[c+4>>2]&(F[e+4>>2]^-1)&3?d|64:d;e=e+20|0;c=c+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((h|0)!=2){break a}f=f>>>0>1?f:1;c=F[a+88>>2];e=F[b+88>>2];g=0;while(1){b=F[c>>2]-F[e>>2]|0;a=b>>31;d:{e:{if((a|0)!=(a^b)){break e}b=F[c+4>>2]-F[e+4>>2]|0;a=b>>31;if((a|0)!=(a^b)){break e}b=F[c+8>>2]-F[e+8>>2]|0;a=b>>31;if((a|0)!=(a^b)){break e}b=F[c+12>>2]-F[e+12>>2]|0;a=b>>31;if((a|0)==(a^b)){break d}}return d|128}e=e+20|0;c=c+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}return d}function Ic(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c-37>>>0<4294967261){break a}d=F[a>>2];if(d>>>0>=b>>>0){break a}b:{c:{e=G[d|0];switch(e-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=G[d|0];switch(e-43|0){case 0:case 2:break a;default:break b}}h=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){F[a>>2]=d;break e}l=2147483647-L(c,h)|0;while(1){f:{g:{h:{switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=D[e+31072|0];if((e|0)<0|(c|0)<=(e|0)){break g}i=1;g=f;i:{if((f|0)>(h|0)){break i}if((f|0)==(h|0)){g=h;if((e|0)>(l|0)){break i}}i=j;g=e+L(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){break f}j=i;d=b}F[a>>2]=d;a=2147483647;if(j&255){break d}break e}e=G[d|0];j=i;continue}}a=f}f=k?0-a|0:a}return f}function Go(a,b,c,d){var e=0,f=0,g=M(0);e=Ga-128|0;Ga=e;a:{b:{if(I[a+16>>2]<=c>>>0){break b}c:{f=F[F[a>>2]>>2];f=f?f:163632;f=I[f+16>>2]<20?163632:F[f+12>>2];f=G[f+4|0]|G[f+5|0]<<8;if(F[b+68>>2]==((f<<8|f>>>8)&65535)){F[e+48>>2]=2139095039;F[e+52>>2]=-8388609;F[e+56>>2]=-8388609;F[e+16>>2]=2139095039;F[e+20>>2]=-8388609;F[e+24>>2]=-8388609;F[e+44>>2]=2139095039;F[e+40>>2]=e- -64;f=F[e+44>>2];F[e+8>>2]=F[e+40>>2];F[e+12>>2]=f;F[e+36>>2]=0;F[e+32>>2]=b;f=F[e+36>>2];F[e>>2]=F[e+32>>2];F[e+4>>2]=f;if(wh(a,b,c,e)){break c}}if(d){a=Fo(F[a+8>>2],c);break a}a=Fo(F[a+4>>2],c);break a}if(d){g=M(J[e+104>>2]-J[e+120>>2])}else{g=M(J[e+84>>2]-J[e+68>>2])}g=M(R(M(g+M(.5))));g=g>=M(0)?g:M(0);g=g<=M(2147483648)?g:M(2147483648);if(!(g=M(0))){break b}a=~~g>>>0;break a}a=0}Ga=e+128|0;return a}function cg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ga-16|0;Ga=h;i=F[a+28>>2];F[h+12>>2]=0;a:{if(b>>>0>>0){break a}b=0;f=Va(i,4,0,c,0,h+12|0);if(!F[h+12>>2]){while(1){if(b>>>0>=c>>>0){break a}e=F[a+32>>2];if(e>>>0>2]){F[a+32>>2]=e+1;d=D[e|0]}else{d=0}d=d<<24>>24;g=d&63;b:{if(d&128){e=(b^-1)+c|0;e=g?e>>>0>>0?e:g:0;Wa((b<<2)+f|0,0,(e<<2)+4|0);d=e+1|0;b=(b+e|0)+1|0;break b}e=0;if(d&64){while(1){k=(b<<2)+f|0,l=xb(a)<<16,F[k>>2]=l;d=e+1|0;b=b+1|0;if(e>>>0>=g>>>0){break b}e=d;if(b>>>0>>0){continue}break b}}while(1){j=(b<<2)+f|0;d=F[a+32>>2];if(d>>>0>2]){F[a+32>>2]=d+1;d=D[d|0]}else{d=0}F[j>>2]=d<<24>>24<<16;d=e+1|0;b=b+1|0;if(e>>>0>=g>>>0){break b}e=d;if(b>>>0>>0){continue}break}}if(d>>>0>g>>>0){continue}break}if(f){Ia[F[i+8>>2]](i,f)}}f=0}Ga=h+16|0;return f}function An(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=F[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=G[d|0]|G[d+1|0]<<8;b:{if(!c){break b}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[d|0]=0;D[d+1|0]=0}g=F[b+4>>2];c=a+4|0;if(g>>>0>c>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=F[b+12>>2]-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+4|0]|G[a+5|0]<<8;if(!e){return 1}f=a+6|0;if(g>>>0>f>>>0|d>>>0>>0){break a}f=d-f|0;d=(e<<8|e>>>8)&65535;e=d<<1;if(f>>>0>>0){break a}c=c-e|0;F[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0>1?d:1;d=0;while(1){h=vn(((d<<1)+a|0)+6|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function tl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Ga-32|0;Ga=f;F[f+8>>2]=0;g=d?d:e;i=g?g:72;F[f+20>>2]=i;d=g?d?e?e:d:e:72;F[f+24>>2]=d;e=b?b:c;g=(e|0)>64?e:64;F[f+12>>2]=g;b=b?c?c:b:c;c=(b|0)>64?b:64;F[f+16>>2]=c;b=35;a:{if(!a){break a}e=F[a+88>>2];F[F[e+40>>2]+12>>2]=0;j=F[F[a+96>>2]+12>>2];h=F[j+88>>2];if(h){b=Ia[h|0](e,f+8|0)|0;break a}h=F[a+8>>2];b:{if((h&3)==2){if(!(h&2)){break a}b=23;g=((L(g,i)+36|0)/72|0)+32&-64;if(!g){break a}i=(d?(L(c,d)+36|0)/72|0:c)+32&-64;if(!i){break a}d=F[a+28>>2];if((d|0)<=0){break a}h=F[a+32>>2];c=0;while(1){k=h+(c<<4)|0;if(!((i|0)==(F[k+12>>2]+32&-64)&(g|0)==(F[k+8>>2]+32&-64))){c=c+1|0;if((d|0)!=(c|0)){continue}break a}break}b=6;if((c|0)>=(d|0)){break a}b=F[j+92>>2];if(b){b=Ia[b|0](e,c)|0;break a}Dc(a,c);break b}zd(a,f+8|0)}b=0}Ga=f+32|0;return b}function rr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ga-272|0;Ga=d;Ia[F[b+60>>2]](b,d+80|0,16,d+76|0);f=F[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=F[a+532>>2];j=F[b+8>>2];k=F[b>>2];f=0;while(1){c=(d+80|0)+L(g,12)|0;F[b>>2]=F[c>>2];F[b+8>>2]=F[c+4>>2];Ia[F[b+60>>2]](b,d+16|0,4,d+12|0);e=F[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=Ne(a,F[d+76>>2],e);if(c){break a}i=F[a+532>>2];c=F[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+L(c,12)|0;F[b>>2]=F[h>>2];F[b+8>>2]=F[h+4>>2];h=Ia[F[b+40>>2]](b,0)|0;F[F[e+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}F[b+8>>2]=j;F[b>>2]=k;c=0}F[b+12>>2]=c;Ga=d+272|0}function Ah(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=M(0),k=M(0),l=M(0),m=0,n=0;e=G[a+2|0]|G[a+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){return M(0)}e=G[a|0]|G[a+1|0]<<8;if(!e){return M(1)}f=a;a=(e<<8|e>>>8)&65535;m=(f+L(L(a,b),6)|0)+4|0;n=a>>>0>1?a:1;b=0;j=M(1);while(1){a=0;a=b>>>0>>0?F[(b<<2)+c>>2]:a;k=j;f=L(b,6)+m|0;g=G[f+2|0]|G[f+3|0]<<8;h=(g<<8|g>>>8)<<16>>16;e=G[f|0]|G[f+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;a:{b:{if((h|0)<(i|0)){break b}e=G[f+4|0]|G[f+5|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)<(h|0)){break b}if(!(!g|((e|0)<=0|(i|0)>=0))){break b}if(!g|(a|0)==(h|0)){break b}if((a|0)<=(i|0)){return M(0)}if((a|0)>=(e|0)){return M(0)}j=M(0);f=a-i|0;g=e-a|0;a=(a|0)<(h|0);l=M(M((a?f:g)|0)/M((a?h-i|0:e-h|0)|0));if(l==M(0)){break a}k=M(k*l)}j=k;b=b+1|0;if((n|0)!=(b|0)){continue}}break}return j}function Nw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ga-16|0;Ga=f;F[f+12>>2]=0;a:{if(F[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=G[a|0];g=a&15;h=b;b=g+(a>>>4|0)|0;if(h>>>0<(b<<1)+d>>>0){break a}a=Va(F[c>>2],4,0,b,0,f+12|0);e=F[f+12>>2];if(e){break a}F[c+76>>2]=a;F[c- -64>>2]=(g<<2)+a;e=0;if(!b){break a}c=b-1|0;g=b&3;if(g){while(1){h=G[d|0]|G[d+1|0]<<8;F[a>>2]=(h<<8|h>>>8)<<16>>16;a=a+4|0;b=b-1|0;d=d+2|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(c>>>0>=3){while(1){c=G[d|0]|G[d+1|0]<<8;F[a>>2]=(c<<8|c>>>8)<<16>>16;c=G[d+2|0]|G[d+3|0]<<8;F[a+4>>2]=(c<<8|c>>>8)<<16>>16;c=G[d+4|0]|G[d+5|0]<<8;F[a+8>>2]=(c<<8|c>>>8)<<16>>16;c=G[d+6|0]|G[d+7|0]<<8;F[a+12>>2]=(c<<8|c>>>8)<<16>>16;a=a+16|0;d=d+8|0;b=b-4|0;if(b){continue}break}}e=F[f+12>>2]}Ga=f+16|0;return e|0}function bd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(F[a+188>>2]){break a}g=F[a+180>>2];if(!(F[a+184>>2]?1:g)){break a}h=F[a+156>>2];b:{i=F[a+192>>2]+(F[a+160>>2]-F[a+172>>2]<<2)|0;e=F[i>>2];c:{if(!e){e=0;break c}f=F[e>>2];if((h|0)<(f|0)){break c}d:{while(1){d=e;if((f|0)==(h|0)){break b}e=F[d+12>>2];if(e){f=F[e>>2];if((h|0)<(f|0)){break d}continue}break}e=0}i=d+12|0}d=F[a+204>>2];if((d|0)>=F[a+200>>2]){Zg(a,1);g=F[a+180>>2];e=F[i>>2];d=F[a+204>>2]}F[a+204>>2]=d+1;f=F[a+196>>2]+(d<<4)|0;F[f+8>>2]=g;F[f>>2]=h;d=F[a+184>>2];F[f+12>>2]=e;F[f+4>>2]=d;F[i>>2]=f;break a}F[d+8>>2]=F[d+8>>2]+g;F[d+4>>2]=F[d+4>>2]+F[a+184>>2]}F[a+180>>2]=0;F[a+184>>2]=0;F[a+160>>2]=c;d=F[a+164>>2];F[a+156>>2]=(b|0)<(d|0)?d-1|0:b;e=1;F[a+188>>2]=F[a+176>>2]<=(c|0)|F[a+172>>2]>(c|0)?e:F[a+168>>2]<=(b|0)}function XB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Ga-16|0;Ga=f;e=F[a>>2];g=F[a+4>>2];F[d+24>>2]=F[a+8>>2];F[d+20>>2]=g;F[d+16>>2]=e;F[d+8>>2]=b;b=0;F[d+4>>2]=0;F[d+12>>2]=0;h=163632;a=g>>>0<4?163632:e;F[d>>2]=a;F[d+28>>2]=a+4;g=0;e=G[a|0]|G[a+1|0]<<8;a:{if(e&128){e=G[a+2|0]|G[a+3|0]<<8;if(e){h=a+((e<<8|e>>>8)&65535)|0}F[f+12>>2]=h;if(!to(f+12|0,c,d+16|0)){break a}F[d+12>>2]=F[f+12>>2]-h;g=F[d+4>>2];a=F[d>>2];e=G[a|0]|G[a+1|0]<<8}if(((e<<8|(e&65280)>>>8)&4095)>>>0<=g>>>0){break a}c=F[d+16>>2];a=F[d+28>>2];if(c>>>0>a>>>0){break a}c=c+F[d+20>>2]|0;if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}b=G[a+2|0]|G[a+3|0]<<8;b=(L(F[d+8>>2],b>>>5&2|b>>>7&1)<<1)+4|0;a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535;b=c>>>0>=(a>>>0>>0?b:a)>>>0&(b|0)!=0}Ga=f+16|0;return b|0}function Jw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ga-16|0;Ga=i;e=6;a:{if((b|0)<0|F[a+16>>2]<=(b|0)){break a}f=F[a+8>>2];e=F[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=F[a>>2];j=c-g|0;m=(j|0)>=0&f>>>0>j>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}k=F[a+32>>2];h=gb(k,f,i+12|0);F[a>>2]=h;e=F[i+12>>2];if(e){F[a>>2]=g;break a}if(g){Ya(h,g,F[a+8>>2]);h=F[a+16>>2];if((h|0)>0){n=F[a>>2]-g|0;e=F[a+24>>2];h=e+(h<<2)|0;while(1){l=F[e>>2];if(l){F[e>>2]=n+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){Ia[F[k+8>>2]](k,g)}}F[a+8>>2]=f;e=m?j:-1;if((e|0)<0){break b}c=e+F[a>>2]|0}e=0;b=b<<2;f=F[a>>2];g=F[a+4>>2];F[b+F[a+24>>2]>>2]=f?f+g|0:0;F[b+F[a+28>>2]>>2]=d;Ya(g+F[a>>2]|0,c,d);F[a+4>>2]=F[a+4>>2]+d}Ga=i+16|0;return e|0}function CB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Ga-16|0;Ga=g;f=F[a+712>>2];F[g+12>>2]=0;a:{if(!f){break a}e=F[f+3132>>2];if(!e){e=gb(F[a+100>>2],2,g+12|0);c=F[g+12>>2];if(c){break a}E[e>>1]=0;a=F[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=I[f+1356>>2]){break b}a=F[F[f+1360>>2]+(a<<2)>>2];break c}c=F[f+3084>>2];if(!c){break b}a=Ia[F[c+20>>2]](a)|0}if(!a){break b}a=zb(a,10721);if(!a){break b}c=a+7|0;a=zb(c,10826);if(!a|(a|0)==(c|0)){break b}while(1){d:{d=G[c|0];e:{if((d-48&255)>>>0<=9){d=H[e>>1];if(d>>>0>6551){break d}d=L(d,10);E[e>>1]=d;E[e>>1]=(d+D[c|0]|0)-48;break e}d=d-10|0;if(d>>>0>22|!(1<>1]=0}F[f+3132>>2]=e;c=F[g+12>>2]}E[b>>1]=H[e>>1]}Ga=g+16|0;return c|0}function Ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Ia[F[a+596>>2]](a)|0;f=F[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=F[a+28>>2];if((b|0)<=1){if(G[a+565|0]){F[a+12>>2]=129}F[a+28>>2]=0;break a}d=b-2|0;F[a+28>>2]=d;c=b<<2;b=F[a+24>>2];c=H[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=F[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(G[a+372|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((H[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-H[a+338>>1];if(!(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40)){if(!(G[c+F[a+60>>2]|0]&16?1:H[a+304>>1]?G[a+564|0]:0)|(G[a+617|0]?G[a+616|0]:0)){break b}Ia[F[a+588>>2]](a,g,c,b);break b}Ia[F[a+588>>2]](a,g,c,b);break b}if(!G[a+565|0]){break b}F[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}F[a+32>>2]=F[a+28>>2]}function xA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=Ga-16|0;Ga=g;a:{b:{c:{d:{if((b|0)<=2963){if(b-2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b-3548>>>0<3){break c}a=F[a+12>>2];F[c>>2]=b;F[d>>2]=0;a=Ia[F[a+40>>2]](a,b,c,d,F[a+72>>2])|0;break b}e:{f:{f=F[F[a>>2]+124>>2];if(G[f+5|0]){break f}e=F[a+8>>2];F[g+12>>2]=0;h=e;i=F[e+84>>2];e=F[e+80>>2];if(!(Ia[F[e+164>>2]](h,i,b,g+12|0,F[e+20>>2])|0)|!F[f+52>>2]){break e}h=F[F[a+8>>2]+16>>2];e=0;while(1){if(wc(h,H[F[f+48>>2]+(e<<3)>>1],g+12|0,1,G[f+56|0])){break f}e=e+1|0;if(e>>>0>2]){continue}break}break e}F[c>>2]=3545;F[d>>2]=b;f=1;break a}a=F[a+12>>2];F[c>>2]=b;F[d>>2]=0;a=Ia[F[a+40>>2]](a,b,c,d,F[a+72>>2])|0}f=(a|0)!=0}Ga=g+16|0;return f|0}function Ef(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=F[a+4>>2];if((f|0)>=0){d=F[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break b}d=f;while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>268435454)){f=ob(F[a+12>>2],d<<4);if(f){break c}}F[a+4>>2]=-1}d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;g=246432;break a}F[a+4>>2]=d;F[a+12>>2]=f;d=F[a+8>>2]}if(d>>>0>>0){while(1){F[a+8>>2]=d+1;d=F[a+12>>2]+(d<<4)|0;F[d>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;d=F[a+8>>2];if(e>>>0>d>>>0){continue}break}}F[a+8>>2]=e;g=(F[a+12>>2]+(e<<4)|0)-16|0}d=g;F[d>>2]=b;e=F[c+12>>2];f=F[c+4>>2];h=F[c>>2];b=F[a>>2];F[d+12>>2]=0;F[d+4>>2]=b+h;d=f-b|0;d=d>>>0>f>>>0?0:d;b=e-b|0;F[g+8>>2]=b>>>0>d>>>0?d:b;F[a>>2]=F[c+12>>2]}function Xf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=F[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=F[b+12>>2];e=g-4|0;F[b+12>>2]=e;if((e|0)<=0){break a}d=D[a|0];e=G[a+3|0]|(G[a+1|0]<<16|d<<24|G[a+2|0]<<8);i=(e|0)!=0&(d|0)<0;d=!i;if(!e|i){break a}c=c+e|0;b:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break b}e=g-8|0;F[b+12>>2]=e;if((e|0)<=0){break b}d=G[c+2|0]|G[c+3|0]<<8;g=(d<<8|d>>>8)&65535;d=G[c|0]|G[c+1|0]<<8;g=L(g,(d<<8|d>>>8)&65535);if(g>>>0>715827881){break b}d=1;if(!g){break a}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0){break b}f=f-c|0;c=L(g,6);if(f>>>0>>0){break b}c=e-c|0;F[b+12>>2]=c;if((c|0)>0){break a}}d=0;c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;d=1}return d}function xi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>357913940){break b}if(!c){return 1}if(I[b+4>>2]>a>>>0){break b}e=F[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=L(c,12);if(g>>>0>>0){break b}e=F[b+12>>2]-e|0;F[b+12>>2]=e;if((e|0)<=0){break b}i=F[b+4>>2];j=F[d>>2];e=0;while(1){d=L(e,12)+a|0;if(d>>>0>>0){break a}f=F[b+8>>2];if(f>>>0>>0|f-d>>>0<12){break a}g=F[b+12>>2]-12|0;F[b+12>>2]=g;if((g|0)<=0){break a}c:{h=G[d+2|0]|G[d+3|0]<<8;if(!h){break c}d=G[d+4|0]|G[d+5|0]<<8|(G[d+6|0]<<16|G[d+7|0]<<24);d=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+j|0;if(d>>>0>>0|d>>>0>f>>>0){break a}f=f-d|0;d=((h<<8|h>>>8)&65535)<<2;if(f>>>0>>0){break a}d=g-d|0;F[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return f}return 0}function az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ga-32|0;Ga=e;f=F[a+28>>2];F[e+16>>2]=f;d=F[a+20>>2];F[e+28>>2]=c;F[e+24>>2]=b;b=d-f|0;F[e+20>>2]=b;f=b+c|0;j=2;a:{b:{b=e+16|0;d=ra(F[a+60>>2],b|0,2,e+12|0)|0;if(d){F[61729]=d;d=-1}else{d=0}c:{if(!d){while(1){d=F[e+12>>2];if((d|0)==(f|0)){break c}if((d|0)<0){break b}g=F[b+4>>2];h=g>>>0>>0;i=(h<<3)+b|0;g=d-(h?g:0)|0;F[i>>2]=g+F[i>>2];i=(h?12:4)+b|0;F[i>>2]=F[i>>2]-g;f=f-d|0;b=h?b+8|0:b;j=j-h|0;d=ra(F[a+60>>2],b|0,j|0,e+12|0)|0;if(d){F[61729]=d;d=-1}else{d=0}if(!d){continue}break}}if((f|0)!=-1){break b}}b=F[a+44>>2];F[a+28>>2]=b;F[a+20>>2]=b;F[a+16>>2]=b+F[a+48>>2];a=c;break a}F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a>>2]=F[a>>2]|32;a=0;if((j|0)==2){break a}a=c-F[b+4>>2]|0}Ga=e+32|0;return a|0}function Xw(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=F[F[a+96>>2]+8>>2];F[a+20>>2]=0;F[a+24>>2]=0;c=F[a+100>>2];b=F[a+368>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+368>>2]=0;b=F[a+372>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+372>>2]=0;b=F[a+376>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+376>>2]=0;b=F[a+364>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+360>>2]=0;F[a+364>>2]=0;F[a+348>>2]=0;F[a+352>>2]=0;b=F[a+388>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+380>>2]=0;F[a+384>>2]=0;F[a+388>>2]=0;b=F[a+416>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+408>>2]=0;F[a+412>>2]=0;F[a+416>>2]=0;b=F[a+396>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+392>>2]=0;F[a+396>>2]=0;b=F[a+424>>2];if(b){while(1){e=F[b>>2];if(b){Ia[F[c+8>>2]](c,b)}b=e;if(b){continue}break}}F[a+428>>2]=0;F[a+420>>2]=0;F[a+424>>2]=0;c=F[a+32>>2];if(c){Ia[F[d+8>>2]](d,c)}F[a+32>>2]=0}}function Wb(a){var b=0,c=0,d=0;a:{if(!$a(a,0,1)){b=F[a+72>>2];break a}b=F[a+64>>2];b:{if(b>>>0>2]){c=F[a+72>>2];d=F[a+84>>2];b=F[a+80>>2]+L(b,20)|0;break b}d=F[a+84>>2];c=F[a+72>>2];b=d+L(c?c-1|0:0,20)|0}c=L(c,20)+d|0;d=F[b+4>>2];F[c>>2]=F[b>>2];F[c+4>>2]=d;F[c+16>>2]=F[b+16>>2];d=F[b+12>>2];F[c+8>>2]=F[b+8>>2];F[c+12>>2]=d;F[c>>2]=9676;b=F[a+72>>2]+1|0;F[a+72>>2]=b}b=F[a+84>>2]+L(b?b-1|0:0,20)|0;E[b+16>>1]=H[b+16>>1]&65407;c:{if(G[a+61|0]){d:{if(F[a+84>>2]==F[a+80>>2]){b=F[a+72>>2];if((b|0)==F[a+64>>2]){break d}}if(!$a(a,1,1)){break c}c=F[a+80>>2]+L(F[a+64>>2],20)|0;d=F[c+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=d;F[b+16>>2]=F[c+16>>2];d=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=d;b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=F[a+64>>2]+1}}function Ik(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=_a(65536e3,b<<16);if((i|0)>=655){n=F[a+52>>2];h=F[a+48>>2];j=F[a+44>>2];f=F[a+40>>2];k=F[a+36>>2];g=F[a+32>>2];l=F[a+28>>2];m=F[a+24>>2];a=c<<16;e=(a|0)>262144?a:262144;b=O(e);c=m<<16;if((d|0)<=0){a=4915200}else{a=Ua(d<<16,i)}if(O(a)+b>>>0<=16){b=h<<16}else{b=Ua(a,e)}a:{if((c|0)>(b|0)){a=_a(l<<16,e);break a}b:{c:{d:{d=g<<16;e:{if((b|0)<(d|0)){b=_a(c,e);if((g|0)==(m|0)){break e}a=bb(a-b|0,k-l|0,g-m|0)+_a(l<<16,e)|0;break a}c=f<<16;if((b|0)>=(c|0)){break d}}b=_a(d,e);if((f|0)==(g|0)){c=f<<16;break c}a=bb(a-b|0,j-k|0,f-g|0)+_a(k<<16,e)|0;break a}if((b|0)>=h<<16){break b}}b=_a(c,e);if((f|0)==(h|0)){break b}a=bb(a-b|0,n-j|0,h-f|0)+_a(j<<16,e)|0;break a}a=_a(n<<16,e)}a=_a(a,i)+32768>>16}else{a=0}return a}function Vp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=F[a+20>>2];a:{if((g|0)<=0){break a}f=F[a>>2];h=g-1|0;e=g+1<<1;b:{while(1){d=h+k|0;l=d>>>1|0;i=d&-2;j=i+f|0;d=G[j|0]|G[j+1|0]<<8;c:{if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){d=e+j|0;d=G[d|0]|G[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break b}h=l-1|0;break c}k=l+1|0}if((h|0)>=(k|0)){continue}break}d=0;break a}f=i>>1;d=i+F[a+12>>2]|0;e=G[d|0]|G[d+1|0]<<8;d:{if(e){d=0;e=f+(b-g|0)+(((e<<8|e>>>8)&65534)>>>1)|0;b=F[a+4>>2]+(f<<1)|0;b=G[b|0]|G[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=I[a+24>>2]){break d}b=F[a+16>>2]+(b<<1)|0;b=G[b|0]|G[b+1|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535}d=0;a=F[a+8>>2]+(f<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break a}F[c>>2]=a;d=1}}return d|0}function dC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ga-96|0;Ga=e;D[e+40|0]=0;D[e+28|0]=0;D[e+16|0]=0;F[e+12>>2]=d;F[e+8>>2]=b;a:{if(I[a+16>>2]>c>>>0){F[e+88>>2]=0;F[e+80>>2]=0;F[e+84>>2]=0;F[61902]=0;Ae(e+56|0,a,c,0);c=F[61902];F[61902]=0;if((c|0)==1){break a}F[61902]=0;f=ia(672,e+56|0,b|0,a|0,e+80|0,0,0)|0;a=F[61902];F[61902]=0;if((a|0)==1){break a}c=F[e+84>>2];if(c>>>0>4&f){a=0;while(1){b:{if(a>>>0>=c>>>0){b=F[40911];F[61610]=F[40910];F[61611]=b;b=F[40909];F[61608]=F[40908];F[61609]=b;b=246432;break b}b=F[e+88>>2]+(a<<4)|0}F[61902]=0;ea(680,e+8|0,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}b=a+5|0;a=a+1|0;c=F[e+84>>2];if(b>>>0>>0){continue}break}}F[e+84>>2]=0;Ta(F[e+88>>2])}Ga=e+96|0;return f|0}a=Z()|0;Y()|0;F[e+84>>2]=0;Ta(F[e+88>>2]);$(a|0);V()}function on(a,b){var c=0,d=0,e=0;a:{b:{c:{d=F[a+4>>2];c=F[d>>2];if((c|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=ob(F[d+8>>2],L(a,20));if(c){break c}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break a}F[d>>2]=a;F[d+8>>2]=c;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=729;F[a>>2]=b;F[a+16>>2]=0;c=G[b+2|0]|G[b+3|0]<<8;c=(b+2|0)+(((c<<8|c>>>8)&65535)<<1)|0;c=G[c+2|0]|G[c+3|0]<<8?c+4|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){b=((c<<8|c>>>8)&65535)+b|0}else{b=163632}_b(b,a+8|0)}function Bh(a,b){var c=0,d=0,e=M(0),f=M(0),g=0,h=0,i=0,j=M(0),k=M(0),l=0;g=K[b+8>>3];h=K[b>>3];b=F[a+8>>2];if(b){h=h+K[b>>3];g=g+K[b+8>>3]}b=F[a+4>>2];c=F[a>>2];l=F[c+20>>2];d=F[c+16>>2];i=F[d+28>>2];if(!i){i=db(d);c=F[a>>2];d=F[c+16>>2]}a=F[c+24>>2];c=F[d+28>>2];if(!c){c=db(d)}j=M(M(M(h)*M(l|0))/M(i>>>0));d=b+16|0;k=M(M(M(g)*M(a|0))/M(c>>>0));c=F[b+12>>2];a=F[b+8>>2];a:{b:{if(G[b+4|0]){if(!F[d>>2]){break a}e=J[b+20>>2];f=J[b+24>>2];if(e==J[b+28>>2]&f==J[b+32>>2]){break b}Ia[F[a+16>>2]](a,c,d,e,f,F[a+36>>2]);break b}j=M(M(k*J[b>>2])+j);if(!F[b+16>>2]){break a}e=J[b+20>>2];f=J[b+24>>2];if(e==J[b+28>>2]&f==J[b+32>>2]){break b}Ia[F[a+16>>2]](a,c,d,e,f,F[a+36>>2])}Ia[F[a+28>>2]](a,c,d,F[a+48>>2]);F[d+8>>2]=0;F[d>>2]=0;F[d+4>>2]=0}J[b+32>>2]=k;J[b+28>>2]=j}function Qn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{d=G[c|0]|G[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=a;a=G[c+2|0]|G[c+3|0]<<8;a=d-((a<<8|a>>>8)&65535)|0;d=((a<<1)+c|0)+6|0;c=G[c+4|0]|G[c+5|0]<<8;a=a>>>0<((c<<8|c>>>8)&65535)>>>0?d:163632;break b}i=164024;e=G[c+2|0]|G[c+3|0]<<8;e:{if(!e){break e}e=((e<<8|e>>>8)&65535)-1|0;d=0;while(1){g=e+d>>>1|0;h=L(g,6)+c|0;f=h+4|0;f=G[f|0]|G[f+1|0]<<8;f:{if(((f<<8|f>>>8)&65535)>>>0<=a>>>0){d=G[h+6|0]|G[h+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=g+1|0;break f}i=(L(g,6)+c|0)+4|0;break e}e=g-1|0}if((e|0)>=(d|0)){continue}break}}a=i+4|0}a=G[a|0]|G[a+1|0]<<8;e=(a<<8|a>>>8)&65535}a=G[b|0]|G[b+1|0]<<8;return((a<<8|a>>>8)&65535)==(e|0)|0}function Fe(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(G[a|0]){case 0:if(!b|c>>>0<2){break a}f=1;a=a+1|0;while(1){d=(a+(f<<1)|0)-2|0;d=G[d|0]|G[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return f}f=f+1|0;if((f|0)!=(c|0)){continue}break};break a;case 1:if(!b|c>>>0<2){break a}d=1;g=a+1|0;while(1){a=g+L(f,3)|0;e=G[a+2|0];a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+e>>>0>>0)){return(b+d|0)-a|0}f=f+1|0;d=(d+e|0)+1|0;if(d>>>0>>0){continue}break};break a;case 2:break b;default:break a}}if(!b|c>>>0<2){break a}d=1;while(1){e=(f<<2)+a|0;g=G[e+3|0]|G[e+4|0]<<8;g=(g<<8|g>>>8)&65535;e=G[e+1|0]|G[e+2|0]<<8;e=(e<<8|e>>>8)&65535;if(!(e>>>0>b>>>0|e+g>>>0>>0)){return(b+d|0)-e|0}f=f+1|0;d=(d+g|0)+1|0;if(d>>>0>>0){continue}break}}return 0}function yg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=F[a+52>>2];c=G[a+32|0];a:{b:{c:{if(c){break c}d=F[a+24>>2];if(d>>>0>=I[a+28>>2]){break c}if(I[a+56>>2]>2]){break b}}if(I[a+56>>2]>=I[a+60>>2]){b=b+1|0;F[a+52>>2]=b;e=-1;if(b>>>0>16){break a}F[a+60>>2]=I[a+40>>2]>b>>>0?(1<>2]+1|0}if(c){F[a+60>>2]=256;F[a+52>>2]=9;D[a+32|0]=0;b=9}e=-1;if(F[a+4>>2]){break a}d=0;c=Eg(F[a+164>>2],a+8|0,b);F[a+24>>2]=0;f=c<<3;F[a+28>>2]=f;F[a+36>>2]=c+F[a+36>>2];g=F[a+52>>2];F[a+4>>2]=g>>>0>c>>>0;if(f>>>0<=g>>>0){break a}F[a+28>>2]=(f|1)-g;if(!c){break a}}F[a+24>>2]=b+d;g=(d>>>3|0)+a|0;c=g+8|0;f=d&7;e=G[c|0]>>>f|0;d=8-f|0;a=b-d|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;e=G[c+1|0]<>>0>c>>>0){break a}f=F[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=F[a+8>>2];f=F[g+(d<<3)>>2];g=F[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}j=F[a+4>>2];f=f<<3;h=F[j+f>>2];d=F[a>>2];l=F[f+d>>2];n=h-l|0;e=e<<3;k=F[e+j>>2];m=F[d+e>>2];o=k-m|0;if(!((h|0)==(k|0)|(g|0)==(i|0))){p=i-g|0;e=h-k|0;f=0;i=0;while(1){h=b<<3;d=F[h+d>>2];c:{if((d|0)<=(m|0)){d=d+o|0;break c}if((d|0)>=(l|0)){d=d+n|0;break c}if(!f){i=_a(e,p)}d=Ua(F[F[a+8>>2]+h>>2]-g|0,i)+k|0;j=F[a+4>>2];f=1}F[h+j>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=F[a>>2];continue}}while(1){a=b<<3;e=F[a+d>>2];F[a+j>>2]=(e|0)>(m|0)?(e|0)<(l|0)?k:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function eb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){f=F[a- -64>>2];a:{b:{c:{h=F[a+60>>2];if((h|0)>=0){e=f+1|0;g=(e|0)>0?e:0;if(g>>>0<=h>>>0){break b}e=h;while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(!(e>>>0>>0|e>>>0>153391688)){f=ob(F[a+68>>2],L(e,28));if(f){break c}f=F[a+64>>2]}F[a+60>>2]=-1}F[61614]=F[40914];e=F[40913];F[61612]=F[40912];F[61613]=e;e=F[40911];F[61610]=F[40910];F[61611]=e;e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break a}F[a+60>>2]=e;F[a+68>>2]=f;f=F[a+64>>2]}if(f>>>0>>0){Wa(F[a+68>>2]+L(f,28)|0,0,L(g-f|0,28))}F[a+64>>2]=g;f=g;e=(F[a+68>>2]+L(f,28)|0)-28|0}F[e+12>>2]=c;F[e+8>>2]=d;F[e+4>>2]=f;F[e>>2]=b;F[e+16>>2]=0-(c&1)&d;F[e+20>>2]=F[a+52>>2];F[e+24>>2]=F[a+56>>2]}}function Fk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;F[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=F[g+28>>2];j=F[g+24>>2];k=F[g+20>>2];h=F[g+16>>2];l=F[g+12>>2];i=F[g+8>>2];f=F[g+4>>2];g=F[g>>2];q=d;e=Ua(c+e|0,a);if(O(b)+O(e)>>>0<=16){c=j<<16}else{c=Ua(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=_a(f<<16,b);break a}b:{c:{d:{n=i<<16;e:{if((n|0)>(c|0)){c=_a(d,b);if((g|0)==(i|0)){break e}b=bb(e-c|0,l-f|0,i-g|0)+_a(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=_a(n,b);if((h|0)==(i|0)){f=h<<16;break c}b=bb(e-c|0,k-l|0,h-i|0)+_a(l<<16,b)|0;break a}if((c|0)>=j<<16){break b}}c=_a(f,b);if((h|0)==(j|0)){break b}b=bb(e-c|0,m-k|0,j-h|0)+_a(k<<16,b)|0;break a}b=_a(m<<16,b)}F[q>>2]=b;a=_a(b,a<<1)}else{a=0}F[o>>2]=p+a}} -function sB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=F[b+100>>2];c=F[F[c+80>>2]+L(F[c+64>>2],20)>>2];e=G[a+2|0]|G[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=163632}f=qb(d,c);a:{if((f|0)==-1){break a}a=G[a+4|0]|G[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;a=F[b+100>>2];c=F[a+80>>2]+L(F[a+64>>2],20)|0;a=H[c+12>>1]|16;if(G[b+140|0]){a=jc(F[b+108>>2],e)|a&112}E[c+12>>1]=a;b=F[b+100>>2];if(!$a(b,1,1)){break a}a=F[b+64>>2];b:{if(a>>>0>2]){c=F[b+72>>2];d=F[b+84>>2];a=F[b+80>>2]+L(a,20)|0;break b}d=F[b+84>>2];c=F[b+72>>2];a=d+L(c?c-1|0:0,20)|0}c=L(c,20)+d|0;d=F[a+4>>2];F[c>>2]=F[a>>2];F[c+4>>2]=d;F[c+16>>2]=F[a+16>>2];d=F[a+12>>2];F[c+8>>2]=F[a+8>>2];F[c+12>>2]=d;F[c>>2]=e;F[b+64>>2]=F[b+64>>2]+1;F[b+72>>2]=F[b+72>>2]+1}return(f|0)!=-1|0}function Cb(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){return Ya(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}D[d|0]=G[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;D[d|0]=G[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;F[c+a>>2]=F[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;D[c+a|0]=G[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){F[d>>2]=F[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){D[d|0]=G[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function qd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=F[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}g=F[b+12>>2];h=g-2|0;F[b+12>>2]=h;e=1;if((h|0)<=0){break a}b:{c:{d:{c=G[c|0]|G[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=f>>>0){break d}break a}if(a>>>0>>0|a>>>0>d>>>0){break a}f=d-a|0;if(f>>>0<6){break a}c=g-8|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a+2|0]|G[a+3|0]<<8;g=(e<<8|e>>>8)&65535;a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535;d=c-6|0;if(g>>>0>>0){break c}e=1;a=(g-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}e=0;if(a>>>0>f>>>0){break b}d=c-a|0;break c}if(a>>>0>d>>>0){break a}e=0;if(d-a>>>0<6){break b}d=g-8|0}F[b+12>>2]=d;e=(d|0)>0}return e}return 0}function cm(a,b,c,d){a:{switch(b-9|0){case 0:b=F[c>>2];F[c>>2]=b+4;F[a>>2]=F[b>>2];return;case 6:b=F[c>>2];F[c>>2]=b+4;b=E[b>>1];F[a>>2]=b;F[a+4>>2]=b>>31;return;case 7:b=F[c>>2];F[c>>2]=b+4;F[a>>2]=H[b>>1];F[a+4>>2]=0;return;case 8:b=F[c>>2];F[c>>2]=b+4;b=D[b|0];F[a>>2]=b;F[a+4>>2]=b>>31;return;case 9:b=F[c>>2];F[c>>2]=b+4;F[a>>2]=G[b|0];F[a+4>>2]=0;return;case 16:b=F[c>>2]+7&-8;F[c>>2]=b+8;K[a>>3]=K[b>>3];return;case 17:Ia[d|0](a,c);default:return;case 1:case 4:case 14:b=F[c>>2];F[c>>2]=b+4;b=F[b>>2];F[a>>2]=b;F[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=F[c>>2];F[c>>2]=b+4;F[a>>2]=F[b>>2];F[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=F[c>>2]+7&-8;F[c>>2]=b+8;c=F[b+4>>2];F[a>>2]=F[b>>2];F[a+4>>2]=c}function Xx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=hb(c);f=b+18|0;a:{b:{if((b|0)<=-18){a=6;if(f){break a}a=0;break b}a=F[a>>2];a=Ia[F[a+4>>2]](a,f)|0;if(!a){return 64}Wa(a,0,f)}f=Ya(a,c,b);b=f+b|0;a=G[11598]|G[11599]<<8;D[b+16|0]=a;D[b+17|0]=a>>>8;a=G[11594]|G[11595]<<8|(G[11596]<<16|G[11597]<<24);c=G[11590]|G[11591]<<8|(G[11592]<<16|G[11593]<<24);D[b+8|0]=c;D[b+9|0]=c>>>8;D[b+10|0]=c>>>16;D[b+11|0]=c>>>24;D[b+12|0]=a;D[b+13|0]=a>>>8;D[b+14|0]=a>>>16;D[b+15|0]=a>>>24;a=G[11586]|G[11587]<<8|(G[11588]<<16|G[11589]<<24);c=G[11582]|G[11583]<<8|(G[11584]<<16|G[11585]<<24);D[b|0]=c;D[b+1|0]=c>>>8;D[b+2|0]=c>>>16;D[b+3|0]=c>>>24;D[b+4|0]=a;D[b+5|0]=a>>>8;D[b+6|0]=a>>>16;D[b+7|0]=a>>>24;F[d>>2]=f;F[e>>2]=0;a=0}return a|0}function dd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!a){return 35}a:{b:{c:{if((b|0)!=1970170211){if(F[a+36>>2]|b){break c}return 6}f=38;e=F[a+40>>2];if(!e){break a}c=e+(F[a+36>>2]<<2)|0;b=c-4|0;if(e>>>0<=b>>>0){while(1){d=F[b>>2];d:{if(F[d+4>>2]!=1970170211){break d}e:{switch(H[d+8>>1]){case 3:if(H[d+10>>1]!=10){break d}break b;case 0:break e;default:break d}}if(H[d+10>>1]==4){break b}}b=b-4|0;if(e>>>0<=b>>>0){continue}break}}while(1){c=c-4|0;if(e>>>0>c>>>0){break a}d=F[c>>2];if(F[d+4>>2]!=1970170211){continue}break}break b}c=F[a+40>>2];if(!c){return 38}f=6;d=F[a+36>>2];if((d|0)<=0){break a}e=(d<<2)+c|0;while(1){d=F[c>>2];if(F[d+4>>2]==(b|0)){break b}c=c+4|0;if(e>>>0>c>>>0){continue}break}break a}F[a+92>>2]=d;f=0}return f|0}function lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=D[a|0];a=0;e=52;b:{while(1){h=a+e|0;c=(h&-2)+37440|0;c=(G[c+2|0]<<8|G[c+3|0])+37440|0;d=G[c|0];i=d&127;if((g|0)==(i|0)){break b}c=h>>1;d=(g|0)>(i|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){d=G[c|0];while(1){a=d<<24;d=G[c+1|0];g=D[f|0];c:{d:{if(a>>24<0){if((g|0)!=(d&127)){break d}c=c+1|0;break c}e=d&127;if(!e){break a}a=((d&128?3:1)+c|0)+1|0;while(1){c=(G[a+1|0]|G[a|0]<<8)+37440|0;d=G[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}return 0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|D[c+1|0]>=0){break a}return G[c+3|0]|G[c+2|0]<<8}return 0}function Ih(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{h=F[b+4>>2];b:{if(h>>>0>a>>>0){break b}g=F[b+8>>2];if(g>>>0>>0){break b}c=g-a|0;if(c>>>0<4){break b}d=F[b+12>>2];e=d-4|0;F[b+12>>2]=e;if((G[a|0]|G[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<8){break b}c=d-12|0;F[b+12>>2]=c;if((c|0)<=0){break b}f=1;d=G[a+6|0]|G[a+7|0]<<8;if(!d){break b}f=(d<<8|d>>>8)&65535;i=f>>>0>1?f:1;a=a+8|0;d=0;while(1){if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<2){break a}c=c-2|0;F[b+12>>2]=c;if((c|0)<=0){break a}e=G[a|0]|G[a+1|0]<<8;f=((e<<8|e>>>8)&65535)<<2;c:{if(!e){break c}e=a+2|0;if(e>>>0>>0|e>>>0>g>>>0|f>>>0>g-e>>>0){break a}c=c-f|0;F[b+12>>2]=c;if((c|0)>0){break c}break a}a=(f|2)+a|0;f=1;d=d+1|0;if((i|0)!=(d|0)){continue}break}}return f}return 0}function Dv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ga-16|0;Ga=e;a:{if(F[a+4>>2]){break a}d=6;b:{if(F[a+12>>2]!=1){break b}g=F[a>>2];c=F[a+28>>2];if(c){F[(F[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=F[a+32>>2];c:{if(h>>>0<=d>>>0){f=F[a+36>>2];break c}F[e+8>>2]=0;i=c+8&-8;f=Va(g,16,d,i,F[a+36>>2],e+8|0);F[a+36>>2]=f;d=F[e+8>>2];if(d){break b}F[a+32>>2]=i}c=(c<<4)+f|0;F[c+12>>2]=0;F[c>>2]=0;F[a+28>>2]=h;c=F[a- -64>>2];if(c){F[(F[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=F[a+68>>2];d:{if(f>>>0<=b>>>0){b=F[a+72>>2];break d}F[e+12>>2]=0;d=g;g=c+8&-8;b=Va(d,16,b,g,F[a+72>>2],e+12|0);F[a+72>>2]=b;d=F[e+12>>2];if(d){break b}F[a+68>>2]=g}b=(c<<4)+b|0;F[b+12>>2]=0;F[b>>2]=0;F[a+64>>2]=f;break a}F[a+4>>2]=d}Ga=e+16|0}function _e(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=e>>8;if((d|0)==(f|0)){bd(a,j,b);return}p=e&255;g=c&255;k=c>>8;if((k|0)!=(j|0)){h=f-d|0;l=1;e=e-c|0;a:{if((e|0)>0){m=256;c=256-g|0;break a}e=0-e|0;l=-1;c=g}i=L(c,h);c=(i|0)/(e|0)|0;n=i-L(c,e)|0;o=n>>31;i=c+o|0;F[a+184>>2]=i+F[a+184>>2];F[a+180>>2]=F[a+180>>2]+L(i,g|m);c=k+l|0;bd(a,c,b);d=d+i|0;if((c|0)!=(j|0)){h=h<<8;g=(h|0)/(e|0)|0;h=h-L(e,g)|0;i=h>>31;k=(i&e)+h|0;i=g+i|0;g=(e&o)+n|0;while(1){g=g+k|0;h=i+((g|0)>=(e|0))|0;F[a+184>>2]=h+F[a+184>>2];F[a+180>>2]=F[a+180>>2]+(h<<8);c=c+l|0;bd(a,c,b);g=g-((e|0)>(g|0)?0:e)|0;d=d+h|0;if((c|0)!=(j|0)){continue}break}}g=256-m|0}b=f-d|0;F[a+184>>2]=b+F[a+184>>2];F[a+180>>2]=F[a+180>>2]+L(b,g+p|0)}function Ri(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=F[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}f=F[b+12>>2];e=f-2|0;F[b+12>>2]=e;if((e|0)<=0){break a}e=G[a|0]|G[a+1|0]<<8;if(!e){break a}g=d;d=a+4|0;if(g>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}c=f-6|0;F[b+12>>2]=c;if((c|0)<=0){break a}h=1;c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!f){break a}d=0;c=a+8|0;if(!Qi(c,b,(e<<8|e>>>8)&65535)){return 0}while(1){d=d+1|0;h=(f|0)==(d|0);if(h){break a}g=c;c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;e=G[a|0]|G[a+1|0]<<8;if(Qi(c,b,(e<<8|e>>>8)&65535)){continue}break}}return h}function Mi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=F[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}f=F[b+12>>2];e=f-2|0;F[b+12>>2]=e;if((e|0)<=0){break a}e=G[a|0]|G[a+1|0]<<8;if(!e){break a}g=d;d=a+4|0;if(g>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}c=f-6|0;F[b+12>>2]=c;if((c|0)<=0){break a}h=1;c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!f){break a}d=0;c=a+8|0;if(!Li(c,b,(e<<8|e>>>8)&65535)){return 0}while(1){d=d+1|0;h=(f|0)==(d|0);if(h){break a}g=c;c=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;e=G[a|0]|G[a+1|0]<<8;if(Li(c,b,(e<<8|e>>>8)&65535)){continue}break}}return h}function zh(a,b){var c=0,d=0,e=0,f=M(0),g=0,h=M(0),i=M(0),j=M(0),k=0;c=F[a>>2];e=F[a+4>>2];k=F[e+20>>2];f=M(K[b>>3]);g=F[e+16>>2];d=F[g+28>>2];if(!d){d=db(g);e=F[a+4>>2];g=F[e+16>>2]}f=M(M(f*M(k|0))/M(d>>>0));d=c+16|0;j=M(M(K[b+8>>3])*M(F[e+24>>2]));a=F[g+28>>2];if(!a){a=db(g)}j=M(j/M(a>>>0));b=F[c+12>>2];a=F[c+8>>2];a:{b:{if(G[c+4|0]){if(!F[d>>2]){break a}h=J[c+20>>2];i=J[c+24>>2];if(h==J[c+28>>2]&i==J[c+32>>2]){break b}Ia[F[a+16>>2]](a,b,d,h,i,F[a+36>>2]);break b}f=M(M(j*J[c>>2])+f);if(!F[c+16>>2]){break a}h=J[c+20>>2];i=J[c+24>>2];if(h==J[c+28>>2]&i==J[c+32>>2]){break b}Ia[F[a+16>>2]](a,b,d,h,i,F[a+36>>2])}Ia[F[a+28>>2]](a,b,d,F[a+48>>2]);F[d+8>>2]=0;F[d>>2]=0;F[d+4>>2]=0}J[c+32>>2]=j;J[c+28>>2]=f}function Wa(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}D[a|0]=b;e=a+c|0;D[e-1|0]=b;if(c>>>0<3){break a}D[a+2|0]=b;D[a+1|0]=b;D[e-3|0]=b;D[e-2|0]=b;if(c>>>0<7){break a}D[a+3|0]=b;D[e-4|0]=b;if(c>>>0<9){break a}e=0-a&3;f=e+a|0;d=L(b&255,16843009);F[f>>2]=d;b=c-e&-4;c=b+f|0;F[c-4>>2]=d;if(b>>>0<9){break a}F[f+8>>2]=d;F[f+4>>2]=d;F[c-8>>2]=d;F[c-12>>2]=d;if(b>>>0<25){break a}F[f+24>>2]=d;F[f+20>>2]=d;F[f+16>>2]=d;F[f+12>>2]=d;F[c-16>>2]=d;F[c-20>>2]=d;F[c-24>>2]=d;F[c-28>>2]=d;c=b;b=f&4|24;c=c-b|0;if(c>>>0<32){break a}d=EC(d,0,1,1);e=Ha;b=b+f|0;while(1){F[b+24>>2]=d;F[b+28>>2]=e;F[b+16>>2]=d;F[b+20>>2]=e;F[b+8>>2]=d;F[b+12>>2]=e;F[b>>2]=d;F[b+4>>2]=e;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function Lr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=Ga-1536|0;Ga=f;a:{b:{if(d&16){if(!c){break b}d=0;Wa(e,0,c<<2);break a}d=Ia[F[F[F[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,F[a+424>>2],F[a+532>>2],0,0,109)|0;if(d){break a}D[f+76|0]=0;D[f+78|0]=1;F[f+1372>>2]=F[a+404>>2];F[f+1376>>2]=F[a+408>>2];F[f+1380>>2]=F[a+412>>2];F[f+1384>>2]=F[a+416>>2];F[f+1504>>2]=F[a+548>>2];F[f+1508>>2]=F[a+544>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!ee(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=F[F[F[f+12>>2]+128>>2]+52>>2];if(d){Ia[F[F[d>>2]+4>>2]](F[d+4>>2],f+1528|0)}d=F[f+48>>2];d=(((d>>31)+d|0)+32768&-65536)>>16;break c}d=0}F[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}Ga=f+1536|0;return d|0}function ep(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;c=F[a>>2];a:{if(G[c+8|0]&2){if(!(Ia[F[F[c+540>>2]+104>>2]](c,b,f+12|0)|0)){Fh(a,F[f+12>>2]);break a}F[a+44>>2]=-1;c=F[a>>2]}zd(c,b);c=F[a>>2];b=F[F[c+712>>2]+3080>>2];c=Nb(F[F[c+96>>2]+4>>2],11010);if(!c|!b){break a}b=F[b>>2];if(!b){break a}g=Ia[b|0](c)|0;if(!g){break a}h=F[F[a>>2]+712>>2];c=F[h+1440>>2];i=F[F[a+40>>2]>>2];Ia[F[g+4>>2]](F[i>>2],F[a+16>>2],F[a+20>>2],0,0);e=F[h+2024>>2];if(!e){break a}while(1){b=F[a+16>>2];e=e-1|0;j=e<<2;d=F[F[(j+h|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){b=bb(b,c,d);d=bb(F[a+20>>2],c,d);break b}d=F[a+20>>2]}Ia[F[g+4>>2]](F[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Ga=f+16|0;return 0}function Xd(a,b,c){var d=0,e=0,f=0,g=0;if(!(F[a+20>>2]|!c)){a:{b:{c:{e=F[a+40>>2];g=F[e+8>>2];if((g|0)>=0){d=F[e+12>>2];f=d+1|0;f=(f|0)>0?f:0;if(f>>>0<=g>>>0){break b}d=g;while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>268435454)){g=ob(F[e+16>>2],d<<4);if(g){break c}}F[e+8>>2]=-1}d=F[40911];F[61610]=F[40910];F[61611]=d;d=F[40909];F[61608]=F[40908];F[61609]=d;d=246432;break a}F[e+8>>2]=d;F[e+16>>2]=g;d=F[e+12>>2]}if(d>>>0>>0){Wa(F[e+16>>2]+(d<<4)|0,0,f-d<<4)}F[e+12>>2]=f;d=(F[e+16>>2]+(f<<4)|0)-16|0}if(F[F[a+40>>2]+8>>2]<0){F[a+20>>2]=F[a+20>>2]|1}F[d+12>>2]=c;D[d|0]=G[d|0]&192|2;a=F[F[a+40>>2]>>2];F[d+8>>2]=0;F[d+4>>2]=b-a&268435455|F[d+4>>2]&-268435456}}function bg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=F[b+4>>2]+(c<<4)|0;c=F[j+4>>2];if(!c){return 0}n=F[j+12>>2]+(L(c,d)<<1)|0;while(1){a:{if(!H[b+8>>1]){d=65536;break a}c=F[F[b+16>>2]+(F[F[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){g=d;e=F[c+4>>2];h=F[c>>2];b:{if((e|0)<(h|0)){break b}i=F[c+8>>2];if((i|0)<(e|0)|!(!e|((i|0)<=0|(h|0)>=0))){break b}if(!e){break b}f=F[F[F[a+736>>2]+8>>2]+(l<<2)>>2];if((f|0)==(e|0)){break b}d=0;if((f|0)<=(h|0)|(f|0)>=(i|0)){break a}if((e|0)>(f|0)){g=bb(g,f-h|0,e-h|0);break b}g=bb(g,i-f|0,i-e|0)}d=g;c=c+12|0;l=l+1|0;if(l>>>0>1]){continue}break}}m=Ua(d,H[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0>2]){continue}break}return m+32768>>16}function Vd(a,b,c){var d=0,e=0,f=0;d=G[b|0];if((d|0)==30){return xf(a,b,c,0)}f=b+1|0;a:{b:{switch(d-28|0){case 0:e=0;if(I[a+8>>2]<=b+2>>>0){break a}e=(G[b+2|0]|G[f|0]<<8)<<16>>16;break a;case 1:e=0;if(I[a+8>>2]<=b+4>>>0){break a}a=G[b+1|0]|G[b+2|0]<<8|(G[b+3|0]<<16|G[b+4|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break a;default:break b}}e=d-139|0;if(d>>>0<=246){break a}a=F[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break a}e=(G[f|0]|d<<8)-63124|0;break a}e=0;if(a>>>0<=f>>>0){break a}e=64148-(G[f|0]|d<<8)|0}d=e;if(c){a=c<<2;b=d>>31;if(F[a+27584>>2]<((b^d)-b|0)){return(d|0)>0?2147483647:-2147483647}d=L(F[a+27536>>2],d)}return(d|0)<=32767?(d|0)<-32767?-2147483647:d<<16:2147483647}function Ag(a){var b=0,c=0;a:{if(!a){break a}c=F[a>>2];if(!c){break a}F[a+44>>2]=0;F[a+48>>2]=0;b=F[a+52>>2];if((b|0)!=(a+72|0)){if(b){Ia[F[c+8>>2]](c,b)}F[a+52>>2]=0}F[a+56>>2]=0;F[a+60>>2]=0;b=F[a- -64>>2];if((b|0)!=(a+864|0)){if(b){Ia[F[c+8>>2]](c,b)}F[a+64>>2]=0}b=a+1392|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){Ia[F[c+8>>2]](c,b)}F[a+1400>>2]=0}b=a+1404|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){Ia[F[c+8>>2]](c,b)}F[a+1412>>2]=0}b=F[a+40>>2];if((b|0)!=(a+2760|0)){if(b){Ia[F[c+8>>2]](c,b)}F[a+40>>2]=0}F[a+32>>2]=0;F[a+36>>2]=0;b=F[a+28>>2];if((b|0)!=(a+2792|0)){if(b){Ia[F[c+8>>2]](c,b)}F[a+28>>2]=0}F[a+20>>2]=0;F[a+24>>2]=0;F[a>>2]=0}}function wp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=F[a+12>>2];F[d+8>>2]=0;F[d+12>>2]=0;F[d>>2]=0;F[d+4>>2]=0;e=b;f=F[b+84>>2];b=F[b+80>>2];g=Ia[F[b+208>>2]](e,f,c,d,F[b- -64>>2])|0;if(g){c=F[a+12>>2];a:{if(c){b=F[d>>2];e=F[c+20>>2];f=F[a+20>>2];if((e|0)!=(f|0)){b=FC(EC(f,f>>31,b,b>>31),Ha,e,e>>31)}F[d>>2]=b;b=F[d+4>>2];e=F[c+24>>2];f=F[a+24>>2];if((e|0)!=(f|0)){b=FC(EC(f,f>>31,b,b>>31),Ha,e,e>>31)}F[d+4>>2]=b;e=F[d+8>>2];b=F[c+20>>2];f=F[a+20>>2];if((b|0)!=(f|0)){e=FC(EC(f,f>>31,e,e>>31),Ha,b,b>>31)}b=d+12|0;F[d+8>>2]=e;d=F[d+12>>2];c=F[c+24>>2];a=F[a+24>>2];if((c|0)==(a|0)){break a}d=FC(EC(a,a>>31,d,d>>31),Ha,c,c>>31);break a}b=d+12|0;d=F[d+12>>2]}F[b>>2]=d}return g|0}function eA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=F[F[a+124>>2]>>2];if(!i){break a}e=F[c+68>>2];if(!e){break a}d=e-1|0;a=0;f=F[c+80>>2];b=G[f+15|0];while(1){b:{if((a|0)==(d|0)){a=e;break b}a=a+1|0;if((b|0)==G[(L(a,20)+f|0)+15|0]){continue}}break}if(!e){break a}d=0;g=f;h=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=L(d,20)+f|0;if(!(F[a+4>>2]&i)){break c}if(G[a+12|0]&16){D[a+18|0]=18;g=F[c+80>>2];h=F[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?h:a;j=d-1|0;k=G[(L(b,20)+g|0)+15|0];a=b;while(1){d:{if((a|0)==(j|0)){a=d;break d}a=a+1|0;if(G[(L(a,20)+g|0)+15|0]==(k|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}}function Sn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=G[a|0]|G[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){k=F[c+8>>2];l=F[c>>2];d=G[i|0]|G[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}e=G[d|0]|G[d+1|0]<<8;g=(((e<<8|e>>>8)&65535)<<1)+d|0;d=g;f=G[d+2|0]|G[d+3|0]<<8;h=(f<<8|f>>>8)&65535;d=(d+2|0)+(f?h<<1:2)|0;b:{if(F[b+12>>2]!=(h|0)|(G[b+16|0]?e|(G[d|0]|G[d+1|0]<<8):0)){break b}if(h>>>0<2){return 1}f=1;d=1;g=g+4|0;if(!(Ia[l|0](F[F[b+8>>2]+4>>2],g,k)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}m=d<<1;d=e;if(Ia[l|0](F[F[b+8>>2]+(d<<2)>>2],g+m|0,k)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}return f}function Ju(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;d=F[b>>2];if(I[d+16>>2]>c>>>0){b=F[d+140>>2];f=H[b+96>>1];e=F[b+56>>2];if(c){b=c-1|0}else{b=F[d+148>>2]}b=e+L(b,36)|0;g=H[b+10>>1];c=E[b+20>>1];e=E[b+16>>1];h=F[b+24>>2];i=H[b+14>>1];j=H[b+12>>1];F[a+84>>2]=F[b+28>>2];F[a+80>>2]=j;F[a+76>>2]=i;Mg(a,h);a:{b:{switch(f-1|0){case 0:D[a+94|0]=1;break a;case 1:D[a+94|0]=3;break a;case 3:D[a+94|0]=4;break a;case 7:break b;default:break a}}E[a+92>>1]=256;D[a+94|0]=2}F[a+104>>2]=c;F[a+100>>2]=e;F[a+72>>2]=1651078259;F[a+40>>2]=g<<6;F[a+36>>2]=c<<6;F[a+32>>2]=e<<6;F[a+24>>2]=F[a+80>>2]<<6;F[a+28>>2]=F[a+76>>2]<<6;Pd(a+24|0,H[F[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function _m(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{h=F[b+4>>2];if(h>>>0>a>>>0){break a}d=F[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=F[b+12>>2]-2|0;F[b+12>>2]=f;g=1;if((f|0)<=0){break a}e=G[a|0]|G[a+1|0]<<8;b:{if(!e){break b}g=a+2|0;if(g>>>0>>0|d>>>0>>0){break a}e=(e<<8|e>>>8)&65535;i=e<<2;if(i>>>0>d-g>>>0){break a}d=f-i|0;F[b+12>>2]=d;g=0;if((d|0)<=0){break b}f=a+2|0;if(h>>>0>f>>>0){break b}h=e>>>0>1?e:1;d=0;while(1){e=F[b+8>>2];if(e>>>0>>0|e-f>>>0<4){break b}f=F[c>>2];e=F[b+12>>2]-4|0;F[b+12>>2]=e;if((e|0)<=0){break b}if(!Bf(((d<<2)+a|0)+4|0,b,f)){break b}g=1;d=d+1|0;if((h|0)==(d|0)){break b}g=0;f=((d<<2)+a|0)+2|0;if(f>>>0>=I[b+4>>2]){continue}break}}return g}return 0}function _p(a){a=a|0;var b=0,c=0,d=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+4>>2]=F[a>>2];F[a+8>>2]=F[a+12>>2];ei(a);a:{b:{c:{c=F[a+44>>2];if((c|0)>=0){b=F[a+48>>2];d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){c=ob(F[a+52>>2],b<<2);if(c){break c}}F[a+44>>2]=-1}F[61608]=F[40908];break a}F[a+44>>2]=b;F[a+52>>2]=c;b=F[a+48>>2]}if(b>>>0>>0){Wa(F[a+52>>2]+(b<<2)|0,0,d-b<<2)}F[a+48>>2]=d;c=F[a+52>>2];F[61608]=F[40908];c=(c+(d<<2)|0)-4|0;if((c|0)==246432){break a}F[c>>2]=0}F[a+56>>2]=1;F[a+60>>2]=1;F[a+72>>2]=0;F[a+76>>2]=0;D[a+68|0]=1;F[a- -64>>2]=0;F[a+80>>2]=0;F[a+84>>2]=0;F[a+88>>2]=0}function Df(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=G[a|0]|G[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=G[a+2|0]|G[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;c=((b<<1)+a|0)+6|0;a=G[a+4|0]|G[a+5|0]<<8;a=b>>>0<((a<<8|a>>>8)&65535)>>>0?c:163632;break b}h=164024;d=G[a+2|0]|G[a+3|0]<<8;e:{if(!d){break e}d=((d<<8|d>>>8)&65535)-1|0;c=0;while(1){f=d+c>>>1|0;g=L(f,6)+a|0;e=g+4|0;e=G[e|0]|G[e+1|0]<<8;f:{if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){c=G[g+6|0]|G[g+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=f+1|0;break f}h=(L(f,6)+a|0)+4|0;break e}d=f-1|0}if((d|0)>=(c|0)){continue}break}}a=h+4|0}a=G[a|0]|G[a+1|0]<<8;d=(a<<8|a>>>8)&65535}return d}function lB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=G[a+2|0]|G[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=F[b+100>>2];c=qb(c,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);a:{if((c|0)==-1){break a}d=163632;e=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((e<<8|e>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=G[d|0]|G[d+1|0]<<8;if(!a){break a}e=(a<<8|a>>>8)&65535;c=d+2|0;while(1){a=G[c|0]|G[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=163632}f=G[a|0]|G[a+1|0]<<8;g=(f<<8|f>>>8)&65535;h=a+4|0;a=G[a+2|0]|G[a+3|0]<<8;f=ue(b,g,h,(a<<8|a>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,731,0);if(f){break a}c=c+2|0;e=e-1|0;if(e){continue}break}}return f|0}function Yq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;c=F[b+72>>2];d=F[a+100>>2];F[e+12>>2]=0;b=Ia[F[b+36>>2]](b)|0;a:{if((b|0)<0|F[a+304>>2]){break a}c=I[c+4>>2]/100|0;c=b>>>0>>0?b:c;d=Va(d,252,0,c,0,e+12|0);F[a+304>>2]=d;if(F[e+12>>2]){break a}F[a+300>>2]=c;if(!c){break a}b=0;if((c|0)!=1){g=c&67108862;while(1){a=d+L(b,252)|0;F[a+116>>2]=1;F[a+108>>2]=2596864;F[a+112>>2]=7;F[a+180>>2]=3932;F[a+4>>2]=4;a=d+L(b|1,252)|0;F[a+116>>2]=1;F[a+108>>2]=2596864;F[a+112>>2]=7;F[a+180>>2]=3932;F[a+4>>2]=4;b=b+2|0;f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(c&1)){break a}a=d+L(b,252)|0;F[a+116>>2]=1;F[a+108>>2]=2596864;F[a+112>>2]=7;F[a+180>>2]=3932;F[a+4>>2]=4}Ga=e+16|0}function fn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=L(c,1348)+a|0;g=F[i- -64>>2];e=F[i+56>>2];j=L(c,7676)+b|0;k=F[j+44>>2];h=Ua(I[b+40>>2]/40|0,k);a=1;a:{if((e|0)<=0){break a}d=F[j+260>>2];if(!d){break a}h=(h|0)<32?h:32;o=L(e,44)+g|0;p=L(c,7676)+b|0;while(1){if(a){a=0;b=h;c=0;while(1){e=L(a,28)+p|0;f=F[e+288>>2];if(!(!(f&1)|(f&2)>>>1^F[i+68>>2]!=D[g+13|0])){d=E[g>>1];l=d-F[e+264>>2]|0;f=l>>31;m=d-F[e+276>>2]|0;n=m>>31;e=(f^l)-f>>>0>(n^m)-n>>>0?e+276|0:e+264|0;f=d-F[e>>2]|0;d=f>>31;f=Ua((d^f)-d|0,k);d=(f|0)<(b|0);b=d?f:b;c=d?e:c;d=F[j+260>>2]}a=a+1|0;if(d>>>0>a>>>0){continue}break}if(c){F[g+20>>2]=c}a=d}else{a=0}g=g+44|0;if(o>>>0>g>>>0){continue}break}}}function Br(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ga-16|0;Ga=g;h=F[a+532>>2];d=6;a:{if(!h){break a}i=F[h+4>>2];Oe(F[h+136>>2],g,i);j=b>>>0>i>>>0?i:b;if(j){while(1){n=k<<2;l=F[n+g>>2];d=L(k,12)+h|0;e=F[d+96>>2];b:{if((l|0)>F[e>>2]){a=1;f=G[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=F[m+e>>2];if((l|0)<=(o|0)){d=F[d+92>>2];f=m-4|0;a=F[d+f>>2];d=F[d+m>>2];e=F[e+f>>2];a=L(_a(l-e|0,o-e|0),d-a|0)+(a<<16)|0;break b}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=F[(F[d+92>>2]+(f<<2)|0)-4>>2]<<16;break b}a=F[F[d+92>>2]>>2]<<16}F[c+n>>2]=a;k=k+1|0;if((j|0)!=(k|0)){continue}break}}d=0;if(b>>>0<=i>>>0){break a}Wa((j<<2)+c|0,0,b-j<<2);d=0}Ga=g+16|0;return d|0}function Bx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(!d){f=1;if(I[a+4>>2]>>0){break a}}e=F[a+12>>2];if(F[a+8>>2]!=(b|0)){Xg(e,b,0)}a=F[e+72>>2];F[e+72>>2]=a-1|a;a=F[e+4>>2];b=F[e+8>>2];if((a|0)==(b|0)){a=d}else{f=a;a=b-a|0;a=a>>>0>>0?a:d;Ya(c,f,a);F[e+4>>2]=a+F[e+4>>2];c=a+c|0;a=d-a|0}if(a){while(1){b:{c:{b=F[e+72>>2];F[e+72>>2]=b-1|b;if(F[e+20>>2]!=F[e+28>>2]){Ia[F[e+36>>2]](e,0,0)|0}F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;b=F[e>>2];d:{if(b&4){F[e>>2]=b|32;b=-1;break d}f=F[e+44>>2]+F[e+48>>2]|0;F[e+8>>2]=f;F[e+4>>2]=f;b=b<<27>>31}if(!b){b=Ia[F[e+32>>2]](e,c,a)|0;if(b){break c}}d=d-a|0;break b}c=b+c|0;f=(a|0)!=(b|0);a=a-b|0;if(f){continue}}break}}f=d}return f|0}function Xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ga-32|0;Ga=c;e=F[b+96>>2];a:{if((e|0)<0|F[a+300>>2]<=(e|0)){break a}g=F[a+304>>2];if((Ia[F[b+52>>2]](b,6,c,3)|0)<6){break a}d=F[c+12>>2];if(!d){break a}f=d>>31;d=(d^f)-f|0;if((d|0)!=65536){h=a,i=_a(1e3,d),E[h+68>>1]=i;h=c,i=_a(F[c>>2],d),F[h>>2]=i;h=c,i=_a(F[c+4>>2],d),F[h+4>>2]=i;h=c,i=_a(F[c+8>>2],d),F[h+8>>2]=i;h=c,i=_a(F[c+16>>2],d),F[h+16>>2]=i;h=c,i=_a(F[c+20>>2],d),F[h+20>>2]=i;F[c+12>>2]=F[c+12>>2]<0?-65536:65536}a=L(e,252)+g|0;d=a+216|0;F[d>>2]=F[c>>2];F[a+224>>2]=F[c+4>>2];F[a+220>>2]=F[c+8>>2];F[a+228>>2]=F[c+12>>2];if(!gf(d)){F[b+12>>2]=3;break a}F[a+232>>2]=E[c+18>>1];F[a+236>>2]=E[c+22>>1]}Ga=c+32|0}function tn(a,b){var c=0,d=0,e=0;a:{b:{c:{d=F[a+4>>2];c=F[d>>2];if((c|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=ob(F[d+8>>2],L(a,20));if(c){break c}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break a}F[d>>2]=a;F[d+8>>2]=c;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=724;F[a>>2]=b;F[a+16>>2]=0;a=a+8|0;c=G[b+2|0]|G[b+3|0]<<8;if(!c){_b(163632,a);return}_b(((c<<8|c>>>8)&65535)+b|0,a)}function sn(a,b){var c=0,d=0,e=0;a:{b:{c:{d=F[a+4>>2];c=F[d>>2];if((c|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=ob(F[d+8>>2],L(a,20));if(c){break c}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break a}F[d>>2]=a;F[d+8>>2]=c;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=725;F[a>>2]=b;F[a+16>>2]=0;a=a+8|0;c=G[b+2|0]|G[b+3|0]<<8;if(!c){_b(163632,a);return}_b(((c<<8|c>>>8)&65535)+b|0,a)}function rn(a,b){var c=0,d=0,e=0;a:{b:{c:{d=F[a+4>>2];c=F[d>>2];if((c|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=ob(F[d+8>>2],L(a,20));if(c){break c}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break a}F[d>>2]=a;F[d+8>>2]=c;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=726;F[a>>2]=b;F[a+16>>2]=0;a=a+8|0;c=G[b+6|0]|G[b+7|0]<<8;if(!c){_b(163632,a);return}_b(((c<<8|c>>>8)&65535)+b|0,a)}function qn(a,b){var c=0,d=0,e=0;a:{b:{c:{d=F[a+4>>2];c=F[d>>2];if((c|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=ob(F[d+8>>2],L(a,20));if(c){break c}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break a}F[d>>2]=a;F[d+8>>2]=c;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=727;F[a>>2]=b;F[a+16>>2]=0;a=a+8|0;c=G[b+2|0]|G[b+3|0]<<8;if(!c){_b(163632,a);return}_b(((c<<8|c>>>8)&65535)+b|0,a)}function pn(a,b){var c=0,d=0,e=0;a:{b:{c:{d=F[a+4>>2];c=F[d>>2];if((c|0)>=0){a=F[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=ob(F[d+8>>2],L(a,20));if(c){break c}}F[d>>2]=-1}F[61612]=F[40912];a=F[40911];F[61610]=F[40910];F[61611]=a;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432;break a}F[d>>2]=a;F[d+8>>2]=c;a=F[d+4>>2]}if(a>>>0>>0){Wa(F[d+8>>2]+L(a,20)|0,0,L(e-a|0,20))}F[d+4>>2]=e;a=(F[d+8>>2]+L(e,20)|0)-20|0}F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=728;F[a>>2]=b;F[a+16>>2]=0;a=a+8|0;c=G[b+2|0]|G[b+3|0]<<8;if(!c){_b(163632,a);return}_b(((c<<8|c>>>8)&65535)+b|0,a)}function di(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=F[a+32>>2];e=(c>>>0)%I[a+28>>2]|0;f=F[k+L(e,12)>>2];a:{b:{if(!f){break b}n=F[a+24>>2];a=0;g=-1;while(1){m=L(e,12)+k|0;c:{if(F[m+8>>2]!=(c|0)){break c}h=F[f+4>>2];l=F[f>>2];i=h-l|0;d=F[b>>2];if((i|0)!=(F[b+4>>2]-d|0)){break c}j=F[f+12>>2];if((j|0)!=F[b+12>>2]){break c}if((h|0)!=(l|0)){if(hc(l,d,i)){break c}}h=j<<4;if(!h){break b}d=0;i=F[f+16>>2];j=F[b+16>>2];if(G[i|0]!=G[j|0]){break c}while(1){d=d+1|0;if((h|0)==(d|0)){break b}if(G[d+i|0]==G[d+j|0]){continue}break}if(d>>>0>=h>>>0){break b}}g=(g|0)==-1?F[m+4>>2]?-1:e:g;a=a+1|0;e=e+a&n;f=F[L(e,12)+k>>2];if(f){continue}break}if((g|0)!=-1){break a}}g=e}return g}function To(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=M(0),h=0,i=M(0),j=M(0),k=M(0),l=M(0),m=M(0),n=M(0);f=d+16|0;h=F[d+12>>2];e=F[d+8>>2];i=M(F[c+4>>2]);g=M(F[c>>2]);j=M(F[b+4>>2]);m=M(F[b>>2]);k=M(F[a+4>>2]);n=M(F[a>>2]);a:{if(G[d+4|0]){if(!F[f>>2]){Ia[F[e+12>>2]](e,h,f,J[d+28>>2],J[d+32>>2],F[e+32>>2]);F[d+16>>2]=1;a=F[d+32>>2];F[d+20>>2]=F[d+28>>2];F[d+24>>2]=a}Ia[F[e+24>>2]](e,h,f,n,k,m,j,g,i,F[e+44>>2]);break a}l=J[d>>2];g=M(M(i*l)+g);if(!F[d+16>>2]){Ia[F[e+12>>2]](e,h,f,J[d+28>>2],J[d+32>>2],F[e+32>>2]);F[d+16>>2]=1;a=F[d+32>>2];F[d+20>>2]=F[d+28>>2];F[d+24>>2]=a}Ia[F[e+24>>2]](e,h,f,M(M(k*l)+n),k,M(M(j*l)+m),j,g,i,F[e+44>>2])}J[d+32>>2]=i;J[d+28>>2]=g;return 0}function nB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=G[a+2|0]|G[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=F[b+100>>2];c=qb(c,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);if((c|0)==-1){break a}d=163632;e=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((e<<8|e>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=G[d|0]|G[d+1|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;g=e>>>0>1?e:1;a=0;f=1;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>a>>>0?((a<<1)+d|0)+2|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+d|0}else{c=163632}if(kn(c,b)){break a}a=a+1|0;f=e>>>0>a>>>0;if((a|0)==(g|0)){break a}c=G[d|0]|G[d+1|0]<<8;continue}}return f|0}function Rj(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=F[(c?16:12)+b>>2];b=F[(c?8:4)+b>>2];e=L(c,7676)+a|0;f=e+7712|0;a:{if((b|0)==F[f>>2]&F[e+7716>>2]==(g|0)){break a}F[f>>2]=b;F[e+48>>2]=g;F[e+44>>2]=b;F[e+7716>>2]=g;if(!F[e+260>>2]){break a}f=0;h=L(c,7676)+a|0;while(1){a=L(f,28)+h|0;c=Ua(F[a+264>>2],b)+g|0;F[a+272>>2]=c;F[a+268>>2]=c;c=Ua(F[a+276>>2],b)+g|0;F[a+284>>2]=c;F[a+280>>2]=c;F[a+288>>2]=F[a+288>>2]&-2;if(Ua(F[a+264>>2]-F[a+276>>2]|0,b)+48>>>0<=96){c=F[a+268>>2]+32&-64;F[a+272>>2]=c;c=_a(c,b)-F[a+276>>2]|0;d=c>>31;d=Ua((c^d)-d|0,b);d=(d|0)<32?0:d+32&-64;F[a+284>>2]=((c|0)<0?d:0-d|0)+F[a+272>>2];F[a+288>>2]=F[a+288>>2]|1}f=f+1|0;if(f>>>0>2]){continue}break}}}function bb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=2147483647;a:{if(!c){break a}b:{d=b>>31;f=(d^b)-d|0;d=a>>31;e=(d^a)-d|0;d=c>>31;d=(d^c)-d|0;if(f+e>>>0<=129894-(d>>>17|0)>>>0){f=L(f,e)+(d>>>1|0)|0;break b}i=f>>>16|0;g=e&65535;f=f&65535;j=e>>>16|0;k=L(i,g)+L(f,j)|0;e=k<<16;g=e+L(f,g)|0;f=g+(d>>>1|0)|0;e=((L(i,j)+(k>>>16|0)|0)+(e>>>0>g>>>0)|0)+(f>>>0>>0)|0;if(!e){break b}if(d>>>0<=e>>>0){break a}g=O(e);i=32-g|0;e=f>>>i|e<>>0)/(d>>>0)|0;e=e-L(d,h)|0;f=f<>>31;e=g-(d>>>0>g>>>0?0:d)|0;h=h<<1|d>>>0<=g>>>0;f=f<<1;i=i-1|0;if(i){continue}break}break a}h=(f>>>0)/(d>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-h|0:h}function ze(a,b){var c=0,d=0,e=0,f=0;f=F[b+12>>2];d=F[b+4>>2];a:{if(f>>>0>=d>>>0){D[b+16|0]=1;e=163632;break a}e=f+F[b>>2]|0}e=G[e|0]<<24;c=f+1|0;b:{if(c>>>0>=d>>>0){D[b+16|0]=1;c=163632;break b}c=c+F[b>>2]|0}e=e|G[c|0]<<16;c=f+2|0;c:{if(c>>>0>=d>>>0){D[b+16|0]=1;c=163632;break c}c=c+F[b>>2]|0}c=e|G[c|0]<<8;e=d;d=f+3|0;d:{if(e>>>0<=d>>>0){D[b+16|0]=1;e=163632;break d}e=d+F[b>>2]|0}c=c|G[e|0];d=F[a+4>>2];e:{if(d>>>0>2]){F[a+4>>2]=d+1;a=F[a+16>>2]+(d<<3)|0;break e}D[a|0]=1;a=F[40909];F[61608]=F[40908];F[61609]=a;a=246432}K[a>>3]=c|0;f:{a=F[b+4>>2];if(G[b+16|0]|a>>>0>>0){break f}f=f+4|0;if(f>>>0>a>>>0){break f}F[b+12>>2]=f;return}D[b+16|0]=1;F[b+12>>2]=a}function Hl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{e=d>>31;f=(e^d)-e|0;e=a>>31;if((f+((e^a)-e|0)|0)>131071){break a}e=c>>31;f=(e^c)-e|0;e=b>>31;if((f+((e^b)-e|0)|0)>131071){break a}a=L(a,d);b=L(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d&65535;g=a>>>16|0;h=d>>>16|0;a=a&65535;i=L(h,a);d=L(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=L(j,k);m=c&65535;n=b>>>16|0;b=l+L(m,n)|0;c=b<<16;g=(L(g,h)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=e+L(a,f)|0;e=g+(d>>>0>>0)|0;a=(L(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+L(m,k)|0;c=a+(b>>>0>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(c>>>0>e>>>0){break b}a=1;if(b>>>0>>0){break b}a=b>>>0>d>>>0?-1:0}return a}function pd(a,b,c,d){var e=0,f=0,g=0;e=Ga-48|0;Ga=e;F[d>>2]=0;F[c>>2]=0;f=F[a+80>>2];a:{if(Ia[F[f+192>>2]](a,F[a+84>>2],b,c,d,F[f+48>>2])|0){break a}F[d>>2]=0;F[c>>2]=0;f=F[a+80>>2];if(!(Ia[F[f+196>>2]](a,F[a+84>>2],b,c,d,F[f+52>>2])|0)){break a}f=b;b=F[a+80>>2];b=Ia[F[b+176>>2]](a,F[a+84>>2],f,F[b+32>>2])|0;F[e+40>>2]=0;F[e+44>>2]=0;F[e+32>>2]=0;F[e+36>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;f=(b|0)/-2|0;b=F[a+80>>2];b:{if(Ia[F[b+156>>2]](a,F[a+84>>2],e,F[b+12>>2])|0){a=F[e>>2];break b}g=+F[a+24>>2]*.8;if(N(g)<2147483648){a=~~g;break b}a=-2147483648}F[c>>2]=f+F[c>>2];F[d>>2]=F[d>>2]-a}Ga=e+48|0}function ae(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=163632;d=G[a+2|0]|G[a+3|0]<<8;a:{if(!d){break a}g=((d<<8|d>>>8)&65535)-1|0;l=(b<<8|(b&65280)>>>8)&65535;m=(c<<8|(c&65280)>>>8)&65535;while(1){b:{c:{d:{f=g+j>>>1|0;h=(f<<3)+a|0;d=h+4|0;i=G[d|0]|G[d+1|0]<<8;k=(i<<8|i>>>8)&65535;d=b&65535;e:{if(!(k>>>0>d>>>0|(i|0)!=(l|0))){d=G[h+6|0]|G[h+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>(c&65535)>>>0){break e}if((d|0)==(m|0)){break d}break c}if(d>>>0>=k>>>0){break c}}g=f-1|0;break b}e=((f<<3)+a|0)+4|0;break a}j=f+1|0}if((g|0)>=(j|0)){continue}break}}b=a;a=G[e+4|0]|G[e+5|0]<<8|(G[e+6|0]<<16|G[e+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return a?b+a|0:0}function Tf(a,b,c,d){var e=0,f=0,g=0;e=Ga-48|0;Ga=e;F[d>>2]=0;F[c>>2]=0;f=F[a+80>>2];a:{if(Ia[F[f+196>>2]](a,F[a+84>>2],b,c,d,F[f+52>>2])|0){break a}F[d>>2]=0;F[c>>2]=0;f=F[a+80>>2];if(!(Ia[F[f+192>>2]](a,F[a+84>>2],b,c,d,F[f+48>>2])|0)){break a}f=b;b=F[a+80>>2];b=Ia[F[b+176>>2]](a,F[a+84>>2],f,F[b+32>>2])|0;F[e+40>>2]=0;F[e+44>>2]=0;F[e+32>>2]=0;F[e+36>>2]=0;F[e+24>>2]=0;F[e+28>>2]=0;F[e+16>>2]=0;F[e+20>>2]=0;F[e+8>>2]=0;F[e+12>>2]=0;F[e>>2]=0;F[e+4>>2]=0;f=(b|0)/2|0;b=F[a+80>>2];b:{if(Ia[F[b+156>>2]](a,F[a+84>>2],e,F[b+12>>2])|0){a=F[e>>2];break b}g=+F[a+24>>2]*.8;if(N(g)<2147483648){a=~~g;break b}a=-2147483648}F[c>>2]=f+F[c>>2];F[d>>2]=a+F[d>>2]}Ga=e+48|0}function vi(a,b,c,d,e){var f=0;a:{if(!b){b=163632;if(!e){break a}Ia[e|0](d);return 163632}b:{c:{d:{e:{f:{if((b|0)<0){break f}f=ib(1,32);if(!f){break f}F[f+8>>2]=0;F[f>>2]=1;F[f+4>>2]=1;F[f+28>>2]=e;F[f+24>>2]=d;F[f+20>>2]=c;F[f+16>>2]=b;F[f+12>>2]=a;if(c){break c}F[f+20>>2]=1;if(b){break e}F[f+20>>2]=2;b=f;break b}if(!e){break d}Ia[e|0](d);break d}c=nb(b);if(c){a=Ya(c,a,b);if(e){Ia[e|0](d)}F[f+28>>2]=594;F[f+24>>2]=a;F[f+12>>2]=a;F[f+20>>2]=2;b=f;break b}if(!F[f>>2]){break d}a=F[f>>2];F[f>>2]=a-1;if((a|0)!=1){break d}F[f>>2]=-57005;a=F[f+8>>2];if(a){xc(a+24|0,a);yb();Ta(a)}a=F[f+28>>2];if(a){Ia[a|0](F[f+24>>2])}Ta(f)}f=0}b=f}if(b){break a}b=163632}return b}function ag(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=F[a+760>>2];a:{if(h>>>0>b>>>0){g=F[a+764>>2];b:{if(H[a+210>>1]){e=g+(b<<2)|0;d=G[e|0]|G[e+1|0]<<8|(G[e+2|0]<<16|G[e+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=e+8|0;e=f;if(d>>>0>g+(h<<2)>>>0){break b}d=d-4|0;d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break b}f=g+(b<<1)|0;e=G[f|0]<<8|G[f+1|0];d=e;f=f+4|0;if(f>>>0<=g+(h<<1)>>>0){d=f-2|0;d=G[d|0]<<8|G[d+1|0]}f=e<<1;e=d<<1}d=e;g=0;e=F[a+724>>2];if(e>>>0>>0){F[c>>2]=0;return 0}if(d>>>0>e>>>0){d=e;a=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?e:d}else{a=0}g=a-f|0;a=f}F[c>>2]=g;return a|0}function xh(a){var b=0,c=0;F[61902]=0;_(658,a|0);b=F[61902];F[61902]=0;if((b|0)!=1){b=F[a+120>>2];if(b){while(1){b=F[a+124>>2]+L(b,28)|0;F[b-20>>2]=0;c=b-16|0;Ta(F[c>>2]);F[c>>2]=0;b=b-24|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+120>>2]-1|0;F[a+120>>2]=b;if(b){continue}break}}Ta(F[a+124>>2]);F[a+124>>2]=0;F[a+116>>2]=0;F[a+120>>2]=0;b=F[a+108>>2];if(b){while(1){b=F[a+112>>2]+L(b,28)|0;F[b-20>>2]=0;c=b-16|0;Ta(F[c>>2]);F[c>>2]=0;b=b-24|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+108>>2]-1|0;F[a+108>>2]=b;if(b){continue}break}}Ta(F[a+112>>2]);F[a+112>>2]=0;F[a+104>>2]=0;F[a+108>>2]=0;F[a+56>>2]=0;Ta(F[a+60>>2]);F[a+60>>2]=0;F[a+52>>2]=0;F[a+56>>2]=0;return}ca(0)|0;Y()|0;Hb();V()}function rd(a){var b=0,c=0,d=0,e=0;c=F[a+420>>2];a:{if(!c){break a}b=F[a+412>>2];if((b|0)<=0){break a}b=L(b,24)+c|0;d=G[a+372|0];while(1){if(!(!G[c+16|0]|(d|0)!=G[c+12|0])){b=F[a+432>>2];if((b|0)>=F[a+436>>2]){F[a+12>>2]=130;return}F[a+432>>2]=b+1;b=F[a+440>>2]+(b<<4)|0;F[b>>2]=F[a+356>>2];d=F[a+364>>2];F[b+12>>2]=c;F[b+8>>2]=1;F[b+4>>2]=d+1;b=F[c>>2];b:{if(b-4>>>0<=4294967292){F[a+12>>2]=132;break b}d=(b-1<<3)+a|0;e=F[d+448>>2];if(!e){F[a+12>>2]=138;break b}d=F[d+452>>2];c=F[c+4>>2];if((d|0)<(c|0)){F[a+12>>2]=131;break b}F[a+368>>2]=d;F[a+360>>2]=e;F[a+364>>2]=c;F[a+356>>2]=b}D[a+380|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}F[a+12>>2]=128}function ic(a){a=a|0;var b=0,c=0;Xa(F[a+36>>2]);F[a+36>>2]=0;F[a+96>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;Ta(F[a+100>>2]);F[a+100>>2]=0;F[a+92>>2]=0;F[a+96>>2]=0;b=F[a+196>>2];if(b){while(1){b=F[a+200>>2]+(b<<5)|0;F[b-24>>2]=0;c=b-20|0;Ta(F[c>>2]);F[c>>2]=0;b=b-28|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+196>>2]-1|0;F[a+196>>2]=b;if(b){continue}break}}Ta(F[a+200>>2]);F[a+200>>2]=0;F[a+192>>2]=0;F[a+196>>2]=0;b=F[a+208>>2];if(b){while(1){b=F[a+212>>2]+L(b,24)|0;F[b-16>>2]=0;c=b-12|0;Ta(F[c>>2]);F[c>>2]=0;b=b-20|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+208>>2]-1|0;F[a+208>>2]=b;if(b){continue}break}}Ta(F[a+212>>2]);F[a+212>>2]=0;F[a+204>>2]=0;F[a+208>>2]=0;Xa(F[a>>2]);F[a>>2]=0}function Yj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=F[a+28>>2];a:{if((b|0)==-1){break a}d=F[a+36>>2];f=F[a+40>>2];if(d>>>0>=f>>>0){break a}g=F[a>>2];e=b+1|0;h=F[a+16>>2]+20|0;while(1){b:{b=L(d,12)+h|0;c=b-4|0;c=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);if(e>>>0>(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break b}b=G[b+4|0]|G[b+5|0]<<8|(G[b+6|0]<<16|G[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b|b>>>0>=I[g+16>>2]){break b}F[a+36>>2]=d;F[a+32>>2]=b;F[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}D[a+24|0]=0}function Jz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=d;a=b-44032|0;a:{b:{if(a>>>0<=11171){d=a&65535;e=(d>>>0)%28|0;if(e){F[c>>2]=b-e;a=e+4519|0;break b}b=(d>>>0)/588|0;F[c>>2]=b|4352;a=(((a-L(b,588)&65535)>>>0)/28|0)+4449|0;break b}e=0;if(b>>>0>195101){break a}a=H[(G[(b>>>6|0)+194118|0]<<7|(b&63)<<1)+209968>>1];if(!a){break a}b=a-1|0;if(b>>>0<=934){if(b>>>0<=824){a=H[(b<<1)+227056>>1]}else{a=H[(a<<1)+227068>>1]|131072}F[c>>2]=a;a=0;break b}b=a-936|0;if(b>>>0<=637){a=F[(b<<2)+221392>>2];F[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(a<<3)+211360|0;a=F[b+4>>2];b=F[b>>2];F[c>>2]=a>>>10;a=((a&2097151)<<11|b>>>21)&2097151}F[f>>2]=a;e=1}return e|0}function sC(a){a=a|0;var b=0,c=0;Xa(F[a+36>>2]);F[a+36>>2]=0;F[a+56>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;Ta(F[a+60>>2]);F[a+60>>2]=0;F[a+52>>2]=0;F[a+56>>2]=0;b=F[a+108>>2];if(b){while(1){b=F[a+112>>2]+L(b,28)|0;F[b-20>>2]=0;c=b-16|0;Ta(F[c>>2]);F[c>>2]=0;b=b-24|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+108>>2]-1|0;F[a+108>>2]=b;if(b){continue}break}}Ta(F[a+112>>2]);F[a+112>>2]=0;F[a+104>>2]=0;F[a+108>>2]=0;b=F[a+120>>2];if(b){while(1){b=F[a+124>>2]+L(b,28)|0;F[b-20>>2]=0;c=b-16|0;Ta(F[c>>2]);F[c>>2]=0;b=b-24|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+120>>2]-1|0;F[a+120>>2]=b;if(b){continue}break}}Ta(F[a+124>>2]);F[a+124>>2]=0;F[a+116>>2]=0;F[a+120>>2]=0;Xa(F[a>>2]);F[a>>2]=0}function ni(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=D[a|0];g=f&255;if((f|0)>=0){F[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=G[a+1|0]-128|0;if(b>>>0>=64){break a}F[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=G[e|0]-128|0;if(b>>>0>63){break a}f=G[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}F[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=G[e|0]-128|0;if(b>>>0>63){break a}f=G[a+2|0]-128|0;if(f>>>0>63){break a}h=G[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}F[c>>2]=d;return e}function $g(a){var b=0,c=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=a+60|0;c=F[F[b+20>>2]+12>>2];if(c){Ia[c|0](F[b+124>>2])}F[b+56>>2]=0;Ta(F[b+60>>2]);F[b+68>>2]=0;F[b+60>>2]=0;F[b+52>>2]=0;F[b+56>>2]=0;Ta(F[b+72>>2]);F[b+92>>2]=0;F[b+72>>2]=0;c=b- -64|0;F[c>>2]=0;F[c+4>>2]=0;Ta(F[b+96>>2]);F[b+96>>2]=0;F[b+88>>2]=0;F[b+92>>2]=0;F[b+80>>2]=0;Ta(F[b+84>>2]);F[b+104>>2]=0;F[b+84>>2]=0;F[b+76>>2]=0;F[b+80>>2]=0;Ta(F[b+108>>2]);F[b+116>>2]=0;F[b+108>>2]=0;F[b+100>>2]=0;F[b+104>>2]=0;Ta(F[b+120>>2]);F[b+120>>2]=0;F[b+112>>2]=0;F[b+116>>2]=0;Ta(F[a+36>>2]);Ta(a)}}function Sf(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{while(1){f=F[61602];e=f;if(e){while(1){b=a;d=F[e+4>>2];c=G[d|0];c:{if(c){d:{while(1){g=D[G[b|0]+106592|0];if((g|0)!=(c&255)){break d}b=b+1|0;c=G[d+1|0];d=d+1|0;if(c){continue}break}g=D[G[b|0]+106592|0];c=0}if((c&255)!=(g|0)){break c}break b}if(!G[G[a|0]+106592|0]){break b}}e=F[e>>2];if(e){continue}break}}e=0;d=ib(1,8);if(!d){break b}F[d>>2]=f;b=hb(a)+1|0;c=nb(b);F[d+4>>2]=c;if(!c){break a}b=G[Ya(c,a,b)|0];if(b){while(1){D[c|0]=G[(b&255)+106592|0];b=G[c+1|0];c=c+1|0;if(b){continue}break}}e=F[61602];b=(e|0)==(f|0);F[61602]=b?d:e;if(!b){Ta(F[d+4>>2]);Ta(d);continue}break}e=d}return e}Ta(d);return 0}function hs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=F[a+736>>2];a:{if(!f){d=Kd(a,0);if(d){break a}f=F[a+736>>2]}if(!F[f+4>>2]){d=Qe(a,0,0,1);if(d){break a}}e=F[f>>2];e=b>>>0>e>>>0?e:b;b:{if(G[a+733|0]){if(!e){e=0;break b}f=F[f+8>>2];a=0;if(e-1>>>0>=3){h=e&-4;while(1){d=a<<2;F[d+c>>2]=F[d+f>>2];g=d|4;F[g+c>>2]=F[f+g>>2];g=d|8;F[g+c>>2]=F[f+g>>2];d=d|12;F[d+c>>2]=F[d+f>>2];a=a+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;F[h+c>>2]=F[f+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}break b}if(!e){e=0;break b}Wa(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}Wa((e<<2)+c|0,0,b-e<<2)}return d|0}function fs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=F[a+736>>2];a:{if(!f){d=Kd(a,0);if(d){break a}f=F[a+736>>2]}if(!F[f+4>>2]){d=Qe(a,0,0,1);if(d){break a}}e=F[f>>2];e=b>>>0>e>>>0?e:b;b:{if(G[a+733|0]){if(!e){e=0;break b}f=F[f+4>>2];a=0;if(e-1>>>0>=3){h=e&-4;while(1){d=a<<2;F[d+c>>2]=F[d+f>>2];g=d|4;F[g+c>>2]=F[f+g>>2];g=d|8;F[g+c>>2]=F[f+g>>2];d=d|12;F[d+c>>2]=F[d+f>>2];a=a+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;F[h+c>>2]=F[f+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}break b}if(!e){e=0;break b}Wa(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}Wa((e<<2)+c|0,0,b-e<<2)}return d|0}function Ed(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=F[b+12>>2];c=F[a>>2];d=Ia[F[f+24>>2]](f,c,F[f+56>>2])|0;if(c>>>0>=128){F[b+144>>2]=F[b+144>>2]|1;e=d;a:{if(!Lf(c)){break a}h=F[b+144>>2];F[b+144>>2]=h|2;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}F[b+144>>2]=h|18;e=d|96}g=e;if(d>>>0>31){E[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=G[(Ia[F[f+16>>2]](f,c,F[f+48>>2])|0)+228944|0]<<8}d=b|g|128}E[a+16>>1]=d}function mB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=F[a+712>>2];a:{b:{if(!e){break b}f=F[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=F[e+3096>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=I[e+1356>>2]){break c}g=F[F[e+1360>>2]+(f<<2)>>2];break c}a=F[e+3084>>2];g=0;if(!a){break c}g=Ia[F[a+20>>2]](f)|0}a=g;F[e+3096>>2]=a}F[b>>2]=a}if(c){a=F[e+3100>>2];if(!a){a=0;b=F[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=I[e+1356>>2]){break d}a=F[F[e+1360>>2]+(b<<2)>>2];break d}f=F[e+3084>>2];if(!f){break d}a=Ia[F[f+20>>2]](b)|0}F[e+3100>>2]=a}F[c>>2]=a}if(!d){break b}F[d>>2]=F[e+1512>>2]}a=0}return a|0}function Yc(a,b){var c=0,d=0,e=0,f=0;a:{if(!G[a+60|0]){break a}if(I[a+148>>2]>>0){D[a+60|0]=0;return 0}d=F[a+80>>2];e=F[a+84>>2];b:{c:{d:{if(b>>>0>214748363){break d}c=F[a+76>>2];if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break d}e:{b=L(c,20);f=ob(F[a+88>>2],b);b=ob(F[a+80>>2],b);if(!(b?f:0)){D[a+60|0]=0;if(!f){break e}}F[a+88>>2]=f;if(!b){break b}break c}if(b){break c}F[a+84>>2]=F[((d|0)==(e|0)?80:88)+a>>2];break a}D[a+60|0]=0;F[a+84>>2]=(d|0)==(e|0)?d:F[a+88>>2];return 0}F[a+80>>2]=b}F[a+84>>2]=F[((d|0)==(e|0)?80:88)+a>>2];if(!G[a+60|0]){break a}F[a+76>>2]=c;return 1}return 0}function pr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ga+-64|0;Ga=d;Ia[F[b+60>>2]](b,d+16|0,4,d+12|0);c=F[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=Ne(a,0,c);F[d+8>>2]=c;if(c){break a}if(F[d+12>>2]<=0){c=0;break a}i=F[a+100>>2];j=F[a+532>>2];while(1){a=(d+16|0)+L(g,12)|0;c=F[a>>2];if(G[c|0]==47){c=c+1|0;F[a>>2]=c}e=F[a+4>>2];if((e|0)==(c|0)){c=3;break a}f=(g<<2)+j|0;h=F[f+8>>2];if(h){Ia[F[i+8>>2]](i,h)}h=f;e=e-c|0;f=gb(i,e+1|0,d+8|0);F[h+8>>2]=f;c=F[d+8>>2];if(c){break a}k=Ya(f,F[a>>2],e)+e|0,l=0,D[k|0]=l;g=g+1|0;if((g|0)>2]){continue}break}c=F[d+8>>2]}F[b+12>>2]=c;Ga=d- -64|0}function zj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=F[a>>2];if(!f){return 65536}h=65536;a:{if(!(b&16384)){while(1){b=h;e=i<<2;d=F[e+c>>2];b:{if(!d){break b}e=F[e+F[a+8>>2]>>2];if(!e){return 0}if((d|0)==(e|0)){break b}h=0;if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}h=bb(b,e,d);f=F[a>>2]}i=i+1|0;if(i>>>0>>0){continue}break a}}while(1){b=h;g=i<<2;j=F[g+c>>2];c:{if(!j){break c}h=0;f=F[g+F[a+8>>2]>>2];if(!f){break a}if((f|0)==(j|0)){break c}k=F[d+g>>2];if((f|0)<=(k|0)){break a}g=F[e+g>>2];if((g|0)<=(f|0)){break a}if((f|0)<(j|0)){b=bb(b,f-k|0,j-k|0);break c}b=bb(b,g-f|0,g-j|0)}h=b;i=i+1|0;if(i>>>0>2]){continue}break}}return h}function bh(a){var b=0,c=0;c=3840;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=3851;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1271){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2760|0;break b}if(a-6016>>>0<=111){b=a-4520|0;break b}if(a-7376>>>0>47){break a}b=a-5768|0;break b;case 2:if((a|0)==9676){c=3851;break a}if(a-8200>>>0<=15){b=a-6544|0;break b}if(a-8304>>>0>23){break a}b=a-6632|0;break b;case 10:break c;default:break a}}b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41536|0;break b}b=a-41760|0;break b}b=a-41856|0}c=H[(b<<1)+128560>>1]}return c}function Ti(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=F[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}i=F[b+12>>2];e=i-4|0;F[b+12>>2]=e;if((e|0)<=0){break a}d=D[a|0];e=G[a+3|0]|(G[a+1|0]<<16|d<<24|G[a+2|0]<<8);j=(e|0)!=0&(d|0)<0;d=!j;if(!e|j){break a}c=c+e|0;b:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;F[b+12>>2]=d;if((G[c|0]|G[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!Xf(c+2|0,b,c)){break b}F[f+12>>2]=c;d=1;if(Wf(c+6|0,b,f+12|0)){break a}}d=0;c=F[b+28>>2];if(c>>>0>31){break a}F[b+28>>2]=c+1;if(!G[b+24|0]){break a}D[a|0]=0;D[a+1|0]=0;D[a+2|0]=0;D[a+3|0]=0;d=1}Ga=f+16|0;return d}function id(a,b){var c=0;a:{if((b|0)!=1196445523){c=163632;if((b|0)!=1196643650){break a}b=F[a+144>>2];b:{if(b){break b}while(1){c=F[a+48>>2];if(!c){b=163632;break b}b=ib(1,12);c:{if(!b){b=163632;break c}jd(b,c)}c=F[a+144>>2];F[a+144>>2]=c?c:b;if(!c){break b}kc(b);b=F[a+144>>2];if(!b){continue}break}}a=F[b>>2];a=a?a:163632;return I[a+16>>2]<10?163632:F[a+12>>2]}b=F[a+148>>2];d:{if(b){break d}while(1){c=F[a+48>>2];if(!c){b=163632;break d}b=ib(1,12);e:{if(!b){b=163632;break e}we(b,c)}c=F[a+148>>2];F[a+148>>2]=c?c:b;if(!c){break d}kc(b);b=F[a+148>>2];if(!b){continue}break}}a=F[b>>2];a=a?a:163632;c=I[a+16>>2]<10?163632:F[a+12>>2]}return c}function Kq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=F[a>>2];d=F[a+44>>2];if(d){c=F[d>>2];if(!(!c|!F[c+96>>2])){F[c+88>>2]=d}}e=Ga-16|0;Ga=e;c=F[f+504>>2];a:{if(!c){d=35;break a}d=6;if(!b|F[b+4>>2]<0|(F[b+8>>2]<0|I[b>>2]>4)){break a}d=F[c+88>>2];F[F[d+40>>2]+12>>2]=0;g=F[F[F[c+96>>2]+12>>2]+88>>2];if(g){d=Ia[g|0](d,b)|0;break a}if((F[c+8>>2]&3)==2){d=wl(c,b,e+12|0);if(d){break a}d=ul(c,F[e+12>>2]);break a}zd(c,b);d=0}Ga=e+16|0;if(!d){b=F[F[f+504>>2]+88>>2];c=F[b+16>>2];F[a+12>>2]=F[b+12>>2];F[a+16>>2]=c;F[a+36>>2]=F[b+36>>2];c=F[b+32>>2];F[a+28>>2]=F[b+28>>2];F[a+32>>2]=c;c=F[b+24>>2];F[a+20>>2]=F[b+20>>2];F[a+24>>2]=c}return d|0}function xw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;F[a>>2]=0;F[a+4>>2]=0;F[a+56>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;F[a+24>>2]=0;F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0;F[a>>2]=F[b>>2];F[a+4>>2]=F[b+4>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=F[b+12>>2];F[a+16>>2]=F[b+16>>2];d=F[b+20>>2];F[a+40>>2]=b+48;F[a+36>>2]=b+40;F[a+32>>2]=b+32;F[a+28>>2]=b+28;F[a+24>>2]=b+24;F[a+20>>2]=d;a:{if(c){e=68;f=70;d=69;break a}D[a+44|0]=G[b+64|0];e=65;f=67;d=66}e=G[b+e|0];d=G[b+d|0];b=G[b+f|0];f=F[7599];F[a+52>>2]=F[7598];F[a+56>>2]=f;D[a+48|0]=c;D[a+47|0]=b;D[a+46|0]=d;D[a+45|0]=e}function Be(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=M(0),k=M(0);f=G[a|0]|G[a+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return M(0)}f=G[a+4|0]|G[a+5|0]<<8;i=(f<<8|f>>>8)&65535;f=G[a+2|0]|G[a+3|0]<<8;g=(f<<8|f>>>8)&65535;b=(((i<<1)+a|0)+L(g+i|0,b)|0)+6|0;a:{if(!f){f=0;break a}f=g>>>0>1?g:1;g=0;while(1){h=(g<<1)+a|0;h=G[h+6|0]|G[h+7|0]<<8;k=Ah(e,(h<<8|h>>>8)&65535,c,d);h=G[b|0]|G[b+1|0]<<8;j=M(M(k*M((h<<8|h>>>8)<<16>>16))+j);b=b+2|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}if(f>>>0>>0){while(1){g=(f<<1)+a|0;g=G[g+6|0]|G[g+7|0]<<8;j=M(M(Ah(e,(g<<8|g>>>8)&65535,c,d)*M(D[b|0]))+j);b=b+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}return j}function qi(){var a=0,b=0;a=ib(1,172);if(!a){return 245072}F[a+8>>2]=0;F[a>>2]=1;F[a+4>>2]=1;F[a+148>>2]=1073741823;F[a+152>>2]=536870911;Ud(0);b=rm();if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}F[a+28>>2]=0;F[a+32>>2]=0;F[a+24>>2]=65533;F[a+16>>2]=0;F[a+20>>2]=0;F[a+12>>2]=b;F[a+36>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+48>>2]=0;F[a+52>>2]=0;F[a+56>>2]=0;F[a+72>>2]=0;F[a+64>>2]=0;F[a+68>>2]=0;D[a+62|0]=0;E[a+60>>1]=1;F[a+144>>2]=0;F[a+92>>2]=0;F[a+96>>2]=0;F[a+100>>2]=0;F[a+104>>2]=0;F[a+108>>2]=0;F[a+112>>2]=0;F[a+116>>2]=0;F[a+120>>2]=0;F[a+124>>2]=0;F[a+128>>2]=0;F[a+132>>2]=0;F[a+136>>2]=0;D[a+140|0]=0;F[a+84>>2]=F[a+80>>2];return a}function Kj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(D[a+741|0]&1){a:{g=F[a+736>>2];c=F[g+56>>2];e=H[c>>1];if(!e){break a}b=F[c+24>>2];i=b+L(e,12)|0;e=0;while(1){h=wj(a,F[b>>2]);d=bg(a,c+4|0,H[b+4>>1],H[b+6>>1]);b:{c:{if(!h){break c}E[h>>1]=H[b+8>>1]+d;c=F[b>>2];if((c|0)==1751216995){break b}if((c|0)!=1751934832){if((c|0)!=1751413603){break c}f=d;break c}j=d}d=e}b=b+12|0;if(i>>>0<=b>>>0){break a}c=F[g+56>>2];e=d;continue}}e=H[a+72>>1];f=e+f|0;E[a+72>>1]=f;b=d;d=H[a+70>>1];b=b+d|0;E[a+70>>1]=b;c=E[a+486>>1];E[a+82>>1]=c;E[a+80>>1]=H[a+484>>1]+((c|0)/-2|0);E[a+74>>1]=(b+(e+((H[a+74>>1]+j|0)-d|0)|0)|0)-f;hl(a+108|0,80)}}function Hp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=F[a+12>>2];F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=b;e=F[b+84>>2];b=F[b+80>>2];g=Ia[F[b+156>>2]](d,e,c,F[b+12>>2])|0;if(g){a:{b:{b=F[a+12>>2];if(b){b=F[b+24>>2];d=F[a+24>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=F[c+8>>2];break a}a=c+8|0;b=F[c+8>>2];break a}e=d>>31;a=F[c>>2];f=b>>31;h=c,i=FC(EC(d,e,a,a>>31),Ha,b,f),F[h>>2]=i;a=F[c+4>>2];h=c,i=FC(EC(d,e,a,a>>31),Ha,b,f),F[h+4>>2]=i;a=c+8|0;c=F[c+8>>2];b=FC(EC(d,e,c,c>>31),Ha,b,f)}F[a>>2]=b}return g|0}function Gp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=F[a+12>>2];F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=b;e=F[b+84>>2];b=F[b+80>>2];g=Ia[F[b+160>>2]](d,e,c,F[b+16>>2])|0;if(g){a:{b:{b=F[a+12>>2];if(b){b=F[b+20>>2];d=F[a+20>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=F[c+8>>2];break a}a=c+8|0;b=F[c+8>>2];break a}e=d>>31;a=F[c>>2];f=b>>31;h=c,i=FC(EC(d,e,a,a>>31),Ha,b,f),F[h>>2]=i;a=F[c+4>>2];h=c,i=FC(EC(d,e,a,a>>31),Ha,b,f),F[h+4>>2]=i;a=c+8|0;c=F[c+8>>2];b=FC(EC(d,e,c,c>>31),Ha,b,f)}F[a>>2]=b}return g|0}function mi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ga-32|0;Ga=g;e=b+1|0;if(e>>>0>>0){i=b;while(1){f=i;i=e;while(1){j=e;if(e>>>0>b>>>0){h=F[a+80>>2];e=j-1|0;if((Ia[d|0](h+L(e,20)|0,L(i,20)+h|0)|0)>0){continue}}break}if((i|0)!=(j|0)){e=f+2|0;if(e-j>>>0>=2){Kb(a,j,e)}f=F[a+80>>2];h=f+L(i,20)|0;F[g+24>>2]=F[h+16>>2];e=F[h+12>>2];F[g+16>>2]=F[h+8>>2];F[g+20>>2]=e;e=F[h+4>>2];F[g+8>>2]=F[h>>2];F[g+12>>2]=e;e=f;f=L(j,20);e=e+f|0;Cb(e+20|0,e,L(i-j|0,20));e=F[g+12>>2];f=f+F[a+80>>2]|0;F[f>>2]=F[g+8>>2];F[f+4>>2]=e;F[f+16>>2]=F[g+24>>2];e=F[g+20>>2];F[f+8>>2]=F[g+16>>2];F[f+12>>2]=e}e=i+1|0;if((e|0)!=(c|0)){continue}break}}Ga=g+32|0}function ch(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=G[a+125264|0];if((a|0)!=8){break a}}a=b>>>0>31?0:1<>2];b=f>>31;c=(b^f)-b|0;h=F[a>>2];if(!h){if(!f){return}F[a+4>>2]=(f|0)<0?-65536:65536;return}b=h>>31;d=(b^h)-b|0;if(!f){F[a>>2]=(h|0)<0?-65536:65536;return}e=c>>>0>>0?d+(c>>>1|0)|0:c+(d>>>1|0)|0;b=O(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;a:{if((b|0)>0){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break a}g=e;e=0-b|0;b=g>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(L(b,d)>>16)+d|0;g=(L(b,c)>>16)+c|0;i=L((L(e,e)+L(g,g)|0)/-512|0,b+65536>>8);b=((i|0)/65536|0)+b|0;if((i|0)>65535){continue}break}F[a+4>>2]=(f|0)<0?0-g|0:g;F[a>>2]=(h|0)<0?0-e|0:e}function Fo(a,b){var c=0,d=0,e=0;a:{e=F[a+4>>2];if(e>>>0>b>>>0){d=b;break a}b:{c:{d=F[a+8>>2];if(d){c=F[a+12>>2];if((d|0)==(e|0)){d=e-1|0;if(!e){a=0;if(b>>>0>=c>>>0){break b}while(1){if(d>>>0>>0){continue}break}break b}if(b>>>0>>0){break a}return 0}if(b>>>0>>0){break c}return 0}return F[a+16>>2]}c=F[a+20>>2];a=F[a>>2];c=((a|0)<0?163632:F[(c?c:163632)+12>>2]+(a<<2)|0)+(e-a<<1)|0;a=b-e|0;b=d+(e^-1)|0;a=c+((a>>>0>>0?a:b)<<1)|0;a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535}return a}b=F[a+20>>2];a=F[a>>2]-1|0;a=a>>>0>d>>>0?d:a;a=(a|0)<0?163632:F[(b?b:163632)+12>>2]+(a<<2)|0;a=G[a|0]|G[a+1|0]<<8;return(a<<8|a>>>8)&65535}function dA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=F[c+68>>2];if(!e){break a}d=e-1|0;a=0;f=F[c+80>>2];b=G[f+15|0];while(1){b:{if((a|0)==(d|0)){a=e;break b}a=a+1|0;if((b|0)==G[(L(a,20)+f|0)+15|0]){continue}}break}if(!e){break a}d=0;g=f;h=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=L(d,20)+f|0;if(G[a+12|0]&16){D[a+18|0]=22;g=F[c+80>>2];h=F[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?h:a;i=d-1|0;j=G[(L(b,20)+g|0)+15|0];a=b;while(1){d:{if((a|0)==(i|0)){a=d;break d}a=a+1|0;if(G[(L(a,20)+g|0)+15|0]==(j|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}}function Wc(a,b){var c=0,d=0,e=0,f=M(0),g=0,h=0,i=M(0),j=0;g=K[b+8>>3];h=K[b>>3];b=F[a+8>>2];if(b){h=h+K[b>>3];g=g+K[b+8>>3]}b=F[a+4>>2];c=F[a>>2];j=F[c+20>>2];d=F[c+16>>2];e=F[d+28>>2];if(!e){e=db(d);c=F[a>>2];d=F[c+16>>2]}c=F[c+24>>2];a=F[d+28>>2];if(!a){a=db(d)}f=M(M(M(h)*M(j|0))/M(e>>>0));d=b+16|0;i=M(M(M(g)*M(c|0))/M(a>>>0));c=F[b+12>>2];a=F[b+8>>2];a:{b:{if(G[b+4|0]){if(!F[d>>2]){break b}break a}f=M(M(i*J[b>>2])+f);if(F[b+16>>2]){break a}}Ia[F[a+12>>2]](a,c,d,J[b+28>>2],J[b+32>>2],F[a+32>>2]);F[b+16>>2]=1;e=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=e}Ia[F[a+16>>2]](a,c,d,f,i,F[a+36>>2]);J[b+32>>2]=i;J[b+28>>2]=f}function ui(a,b,c){var d=0,e=0,f=0;e=163632;a:{b:{if(!a|!c){break b}d=F[a+16>>2];if(d>>>0<=b>>>0){break b}if(F[a+4>>2]){F[a+4>>2]=0}d=d-b|0;d=c>>>0>>0?c:d;if(F[a>>2]){F[a>>2]=F[a>>2]+1}if(!d){if(!F[a>>2]){break b}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break b}break a}c:{if((d|0)>=0){f=F[a+12>>2];c=ib(1,32);if(c){break c}}if(!F[a>>2]){break b}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break b}break a}F[c+8>>2]=0;F[c>>2]=1;F[c+4>>2]=1;F[c+28>>2]=595;F[c+24>>2]=a;F[c+20>>2]=1;F[c+16>>2]=d;F[c+12>>2]=b+f;e=c}return e}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+28>>2];if(b){Ia[b|0](F[a+24>>2])}Ta(a);return 163632}function mc(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!G[a+60|0]){break a}if(G[a+61|0]){b=F[a+64>>2];e=F[a+68>>2]-b|0;c=F[a+84>>2];d=F[a+80>>2];f=F[a+72>>2];if(!((c|0)==(d|0)&(f|0)==(b|0))){b=e+f|0;if(!(!b|b>>>0>2])){if(!Yc(a,b)){break a}d=F[a+80>>2];c=F[a+84>>2]}b:{if((c|0)!=(d|0)){break b}c=F[a+72>>2];if(c+e>>>0<=F[a+64>>2]+e>>>0){c=d;break b}b=F[a+88>>2];F[a+84>>2]=b;Ya(b,d,L(c,20));d=F[a+80>>2];c=F[a+84>>2]}Cb(L(F[a+72>>2],20)+c|0,L(F[a+64>>2],20)+d|0,L(e,20));b=F[a+72>>2]}F[a+72>>2]=b+e}c=F[a+84>>2];b=F[a+80>>2];if((c|0)!=(b|0)){F[a+80>>2]=c;F[a+88>>2]=b}F[a+68>>2]=F[a+72>>2]}F[a+72>>2]=0;D[a+61|0]=0;F[a+64>>2]=0}function pC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=F[b+12>>2];a:{if(a){break a}while(1){h=F[b>>2];if(!h){a=163632;break a}b:{c:{a=ib(1,48);if(a){Pf(a,h);h=F[b+12>>2];F[b+12>>2]=h?h:a;if(!h){break a}h=F[a+44>>2];F[61902]=0;_(579,h|0);h=F[61902];F[61902]=0;if((h|0)==1){break c}Ta(a);break b}a=163632;h=F[b+12>>2];F[b+12>>2]=h?h:163632;if(h){break b}break a}ca(0)|0;Y()|0;Hb();V()}a=F[b+12>>2];if(!a){continue}break}}h=F[a+8>>2];if(!h){return 0}b=0;d:{if(!c){break d}a=F[a+12>>2];while(1){if(!(Ia[h|0](a,F[d>>2],f)|0)){break d}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function nr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ga-208|0;Ga=d;f=F[a+532>>2];Ia[F[b+60>>2]](b,d+16|0,16,d+12|0);e=F[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=F[f>>2];if(g){break d}}c=Ne(a,e,0);if(c){break a}e=F[b+8>>2];g=F[b>>2];if(F[d+12>>2]<=0){break b}f=F[a+532>>2];break c}if((e|0)!=(g|0)){break a}e=F[b+8>>2];g=F[b>>2]}c=0;while(1){a=(d+16|0)+L(c,12)|0;F[b>>2]=F[a>>2];F[b+8>>2]=F[a+4>>2];a=Ia[F[b+40>>2]](b,0)|0;h=c<<2;F[h+F[f+136>>2]>>2]=a;F[F[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}F[b+8>>2]=e;F[b>>2]=g;c=0}F[b+12>>2]=c;Ga=d+208|0}function fm(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ga-208|0;Ga=f;F[f+204>>2]=c;c=f+160|0;Wa(c,0,40);F[f+200>>2]=F[f+204>>2];a:{if((em(0,b,f+200|0,f+80|0,c,d,e)|0)<0){b=-1;break a}i=F[a+76>>2]>=0;g=F[a>>2];if(F[a+72>>2]<=0){F[a>>2]=g&-33}b:{c:{d:{if(!F[a+48>>2]){F[a+48>>2]=80;F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;h=F[a+44>>2];F[a+44>>2]=f;break d}if(F[a+16>>2]){break c}}c=-1;if(Yg(a)){break b}}c=em(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Ia[F[a+36>>2]](a,0,0)|0;F[a+48>>2]=0;F[a+44>>2]=h;F[a+28>>2]=0;b=F[a+20>>2];F[a+16>>2]=0;F[a+20>>2]=0;c=b?c:-1}b=a;a=F[a>>2];F[b>>2]=a|g&32;b=a&32?-1:c;if(!i){break a}}Ga=f+208|0;return b}function wr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ga-32|0;Ga=c;a:{if((Ia[F[b+52>>2]](b,6,c,3)|0)<=5){F[b+12>>2]=3;break a}e=F[c+12>>2];if(!e){F[b+12>>2]=3;break a}d=e>>31;d=(d^e)-d|0;if((d|0)!=65536){f=a,g=_a(1e3,d),E[f+68>>1]=g;f=c,g=_a(F[c>>2],d),F[f>>2]=g;f=c,g=_a(F[c+4>>2],d),F[f+4>>2]=g;f=c,g=_a(F[c+8>>2],d),F[f+8>>2]=g;f=c,g=_a(F[c+16>>2],d),F[f+16>>2]=g;f=c,g=_a(F[c+20>>2],d),F[f+20>>2]=g;e=F[c+12>>2]<0?-65536:65536;F[c+12>>2]=e}F[a+440>>2]=F[c>>2];F[a+448>>2]=F[c+4>>2];d=F[c+8>>2];F[a+452>>2]=e;F[a+444>>2]=d;if(!gf(a+440|0)){F[b+12>>2]=3;break a}F[a+456>>2]=E[c+18>>1];F[a+460>>2]=E[c+22>>1]}Ga=c+32|0}function um(a,b,c,d){var e=0,f=0,g=0;e=Kh(a+120|0);a=G[e+12|0]|G[e+13|0]<<8;a:{if(((a<<8|a>>>8)&65535)>>>0>b>>>0){a=G[e+4|0]|G[e+5|0]<<8;if(a){g=e+((a<<8|a>>>8)&65535)|0}else{g=163632}a=G[e+8|0]|G[e+9|0]<<8;a=(a<<8|a>>>8)&65535;if(!c){break a}f=F[c>>2];if(!f){break a}e=G[e+14|0]|G[e+15|0]<<8;f=a>>>0>>0?a:f;F[c>>2]=f;if(!f){break a}e=((L(a,20)+g|0)+L((e<<8|e>>>8)&65535,b)|0)+4|0;c=0;while(1){g=c<<2;b=g+e|0;b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);J[d+g>>2]=M(b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))*M(152587890625e-16);c=c+1|0;if((f|0)!=(c|0)){continue}break}break a}a=0;if(!c){break a}F[c>>2]=0}return a}function Te(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(H[a+264>>1]<=b>>>0){break a}d=F[a+544>>2];if(!d){return 7}e=0;g=c,h=Ia[F[d+16>>2]](0)|0,F[g>>2]=h;f=c;c=F[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Ia[F[d+16>>2]](b)|0;break b}if(!G[a+632|0]){if(Wj(a)){break a}}if(H[a+636>>1]<=b>>>0){break a}b=H[F[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Ia[F[d+16>>2]](b)|0;break b}a=F[(F[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!G[a+632|0]){if(Wj(a)){break a}}if(H[a+636>>1]<=b>>>0){break a}a=Ia[F[d+16>>2]](D[F[a+640>>2]+b|0]+b|0)|0}F[f>>2]=a}return e|0}function gh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ga-16|0;Ga=f;d=163632;e=G[a+2|0]|G[a+3|0]<<8;c=(a+2|0)+(((e<<8|e>>>8)&65535)<<1)|0;e=c+2|0;c=G[e|0]|G[e+1|0]<<8?c+4|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=F[b+100>>2];if((qb(g,F[F[d+80>>2]+L(F[d+64>>2],20)>>2])|0)!=-1){d=G[e|0]|G[e+1|0]<<8;h=(d<<8|d>>>8)&65535;i=e+(h<<1)|0;d=i+2|0;c=G[d|0]|G[d+1|0]<<8;F[f+12>>2]=a;F[f+8>>2]=a;F[f+4>>2]=a;F[f>>2]=732;j=(c<<8|c>>>8)&65535;d=(j<<1)+d|0;c=G[d+2|0]|G[d+3|0]<<8;g=b;b=G[a+2|0]|G[a+3|0]<<8;c=Cf(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(c<<8|c>>>8)&65535,d+4|0,f)}Ga=f+16|0;return c}function vb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=L(b,12)+a|0;e=F[f+72>>2];if((e|0)>=0){d=F[f+76>>2];h=d+1|0;g=(h|0)>0?h:0;if(e>>>0>=g>>>0){break b}d=e;while(1){d=((d>>>1|0)+d|0)+8|0;if(g>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>536870910)){h=L(b,12)+a|0;e=ob(F[h+80>>2],d<<3);if(e){break c}}F[f+72>>2]=-1}e=F[40909];F[61608]=F[40908];F[61609]=e;e=246432;break a}F[h+80>>2]=e;F[f+72>>2]=d;d=F[f+76>>2]}if(d>>>0>>0){Wa(F[(L(b,12)+a|0)+80>>2]+(d<<3)|0,0,g-d<<3)}F[f+76>>2]=g;e=(F[(L(b,12)+a|0)+80>>2]+(g<<3)|0)-8|0}b=(b<<2)+a|0;a=F[b+52>>2];F[e+4>>2]=c;F[e>>2]=a;F[b+52>>2]=F[b+52>>2]+1}function sw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(F[a+64>>2]!=3){F[a+64>>2]=3;e=F[a+20>>2];if(!e){break a}b:{if(G[a+68|0]){d=F[a+12>>2];if((E[d+20>>1]+E[d+56>>1]|0)+1>>>0>I[d+8>>2]){d=Ub(d,0,1);if(d){break a}}f=H[e>>1];d=f<<16>>16;if((d|0)<=0){break b}E[(F[e+12>>2]+(f<<1)|0)-2>>1]=H[e+2>>1]-1}d=H[e>>1]}E[e>>1]=d+1;d=F[a+12>>2];if((E[d+22>>1]+E[d+58>>1]|0)+1>>>0>I[d+4>>2]){d=Ub(d,1,0);if(d){break a}}d=F[a+20>>2];if(G[a+68|0]){a=F[d+8>>2];e=E[d+2>>1];f=F[d+4>>2]+(e<<3)|0;F[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;F[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;D[a+e|0]=1}E[d+2>>1]=H[d+2>>1]+1}d=0}return d|0}function Au(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=F[a+16>>2];c=G[a+8204|0]|G[a+8205|0]<<8|(G[a+8206|0]<<16|G[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=G[a|0]|G[a+1|0]<<8|(G[a+2|0]<<16|G[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0>(b^-1)>>>0?0:a+b|0}return f|0}function bu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Ga-16|0;Ga=f;c=F[a+28>>2];g=F[a+16>>2];e=F[a+24>>2];F[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=F[a+32>>2];break c}F[a+36>>2]=b;b=Va(b,4,c,d,F[a+32>>2],f+12|0);F[a+32>>2]=b;if(F[f+12>>2]){break b}F[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){g=e&-2;d=0;while(1){h=c<<2;F[h+b>>2]=G[a+2|0]|(G[a+1|0]<<8|G[a|0]<<16);F[(h|4)+b>>2]=G[a+13|0]|(G[a+12|0]<<8|G[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(e&1)){break d}F[(c<<2)+b>>2]=G[a+2|0]|(G[a+1|0]<<8|G[a|0]<<16)}F[(e<<2)+b>>2]=0;break a}b=0}Ga=f+16|0;return b|0}function rg(a,b){var c=0,d=0,e=0,f=0;d=F[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{e=G[d|0];switch(e-40|0){case 1:break c;case 0:break d;default:break e}}if((e|0)!=92){break a}if((b|0)==(c|0)){F[a>>2]=b;return 3}f:{e=G[c|0];switch(e-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((e&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(G[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(G[d+3|0]&248)==48?d+4|0:c;break a}f=f+1|0;break a}f=f-1|0;if(f){break a}F[a>>2]=c;return 0}c=d+2|0}d=c;if(d>>>0>>0){continue}break}}F[a>>2]=d;return 3}function Uo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=M(0),g=0,h=M(0),i=M(0),j=M(0),k=M(0);e=c+16|0;g=F[c+12>>2];d=F[c+8>>2];h=M(F[b+4>>2]);f=M(F[b>>2]);i=M(F[a+4>>2]);j=M(F[a>>2]);a:{if(G[c+4|0]){if(!F[e>>2]){Ia[F[d+12>>2]](d,g,e,J[c+28>>2],J[c+32>>2],F[d+32>>2]);F[c+16>>2]=1;a=F[c+32>>2];F[c+20>>2]=F[c+28>>2];F[c+24>>2]=a}Ia[F[d+20>>2]](d,g,e,j,i,f,h,F[d+40>>2]);break a}k=J[c>>2];f=M(M(h*k)+f);if(!F[c+16>>2]){Ia[F[d+12>>2]](d,g,e,J[c+28>>2],J[c+32>>2],F[d+32>>2]);F[c+16>>2]=1;a=F[c+32>>2];F[c+20>>2]=F[c+28>>2];F[c+24>>2]=a}Ia[F[d+20>>2]](d,g,e,M(M(i*k)+j),i,f,h,F[d+40>>2])}J[c+32>>2]=h;J[c+28>>2]=f;return 0}function Pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=2147483647;a:{if(!c){break a}d=c>>31;h=(d^c)-d|0;b:{d=b>>31;d=(d^b)-d|0;e=a>>31;e=(e^a)-e|0;if(d+e>>>0<=131071){d=L(d,e);break b}f=d>>>16|0;i=e&65535;d=d&65535;j=e>>>16|0;k=L(f,i)+L(d,j)|0;e=k<<16;d=e+L(d,i)|0;e=(L(f,j)+(k>>>16|0)|0)+(e>>>0>d>>>0)|0;if(!e){break b}if(e>>>0>=h>>>0){break a}f=O(e);i=32-f|0;e=d>>>i|e<>>0)/(h>>>0)|0;e=e-L(g,h)|0;d=d<>>31;e=f-(h>>>0>f>>>0?0:h)|0;g=g<<1|h>>>0<=f>>>0;d=d<<1;i=i-1|0;if(i){continue}break}break a}g=(d>>>0)/(h>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-g|0:g}function bk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=F[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=F[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=G[c|0]<<8|G[c+1|0];F[a+44>>2]=e;c=c+j|0;h=G[c|0]<<8|G[c+1|0];F[a+40>>2]=h;c=c+g|0;d=G[c|0]|G[c+1|0]<<8;F[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=G[d|0]<<8|G[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=F[a>>2];if((c+d|0)+2>>>0<=F[e+508>>2]+F[e+512>>2]>>>0){break c}F[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}F[a+36>>2]=b;F[a+52>>2]=c;return 0}function Zp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=F[F[a+40>>2]>>2];if(e){b=F[a>>2];h=F[b+100>>2];f=F[b+712>>2];a=F[f+3080>>2];b=Nb(F[F[b+96>>2]+4>>2],11010);a:{if(!b|!a){break a}a=F[a>>2];if(!a){break a}c=Ia[a|0](b)|0;if(!c){break a}Ia[F[c+8>>2]](F[e>>2]);a=F[f+2024>>2];if(!a){break a}f=a-1|0;g=e+4|0;b=a&3;if(b){while(1){a=a-1|0;Ia[F[c+8>>2]](F[g+(a<<2)>>2]);d=d+1|0;if((d|0)!=(b|0)){continue}break}}if(f>>>0<3){break a}while(1){d=g+(a<<2)|0;Ia[F[c+8>>2]](F[d-4>>2]);Ia[F[c+8>>2]](F[d-8>>2]);Ia[F[c+8>>2]](F[d-12>>2]);a=a-4|0;Ia[F[c+8>>2]](F[g+(a<<2)>>2]);if(a){continue}break}}if(e){Ia[F[h+8>>2]](h,e)}}}function $s(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=c;c=G[b+1|0]|G[b|0]<<8;if(i>>>0<(c<<2)+g>>>0){break a}b=F[a+12>>2];i=G[b+14|0];j=H[b+12>>1];k=H[b+10>>1];l=G[b+8|0];m=H[b+6>>1];n=H[b+4>>1];b:{if(!c){h=0;break b}f=f+1|0;b=0;while(1){h=Sj(a,G[g+1|0]|G[g|0]<<8,D[g+2|0]+d|0,D[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((c|0)!=(b|0)){continue}}break}b=F[a+12>>2]}E[b+14>>1]=i;E[b+8>>1]=l;E[b+12>>1]=j<<24>>24;E[b+10>>1]=k<<24>>24;E[b+6>>1]=m<<24>>24;E[b+4>>1]=n<<24>>24;a=F[a+8>>2];E[b+2>>1]=G[a+4|0];E[b>>1]=G[a|0]}return h|0}function Pb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=F[a+16>>2];e=F[a>>2];g=F[a+4>>2];h=F[a+32>>2];i=F[a+28>>2];while(1){e=e-g|0;F[a>>2]=e;b=!!d;d=d-b|0;F[a+16>>2]=d;c=b+F[a+12>>2]|0;F[a+12>>2]=c;b=F[a+8>>2]+L(b,-20)|0;F[a+8>>2]=b;a:{if(!c){break a}b:{switch(G[b+18|0]-6|0){case 0:if(!(G[b+16|0]&32)){break a}if(!(H[b+12>>1]&16)){continue}break a;case 8:break b;default:break a}}j=F[F[i>>2]+68>>2];b=e;while(1){b=b+1|0;if(j>>>0<=b>>>0){break a}c=F[h>>2]+L(b,20)|0;c:{if(G[c+18|0]!=6){f=H[c+16>>1];break c}f=H[c+16>>1];if(!(f&32)){break c}if(!(H[c+12>>1]&16)){continue}}break}if(1<>2];a=G[c+12|0]|G[c+13|0]<<8|(G[c+14|0]<<16|G[c+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){g=c+20|0;while(1){e=a+f>>>1|0;c=L(e,12)+g|0;d=c-4|0;d=G[d|0]|G[d+1|0]<<8|(G[d+2|0]<<16|G[d+3|0]<<24);b:{if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>b>>>0){a=e;break b}d=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=G[c+4|0]|G[c+5|0]<<8|(G[c+6|0]<<16|G[c+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function DA(a){a=a|0;a=a+24|0;vb(a,0,754);eb(a,1819239276,1,1);eb(a,1667460464,1,1);vb(a,0,755);eb(a,1853188980,13,1);vb(a,0,0);eb(a,1634429038,13,1);vb(a,0,0);eb(a,1919969382,12,1);vb(a,0,0);eb(a,1919644262,13,1);vb(a,0,0);eb(a,1886545254,12,1);vb(a,0,0);eb(a,1651275622,12,1);vb(a,0,0);eb(a,1633842790,12,1);vb(a,0,0);eb(a,1751215206,12,1);vb(a,0,0);eb(a,1886614630,12,1);vb(a,0,0);eb(a,1986098293,13,1);vb(a,0,0);eb(a,1667916660,13,1);vb(a,0,0);vb(a,0,756);eb(a,1768843636,12,1);eb(a,1886545267,13,1);eb(a,1633842803,13,1);eb(a,1651275635,13,1);eb(a,1886614643,13,1);eb(a,1751215214,13,1);vb(a,0,757)} -function vc(a,b){var c=0,d=0,e=0;a:{d=G[b|0];if((d|0)!=255){if((d|0)!=30){break a}return xf(a,b,0,0)>>16}return((G[b+3|0]|(G[b+2|0]<<8|G[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(I[a+8>>2]<=b+2>>>0){break b}return(G[b+2|0]|G[e|0]<<8)<<16>>16;case 1:c=0;if(I[a+8>>2]<=b+4>>>0){break b}a=G[b+1|0]|G[b+2|0]<<8|(G[b+3|0]<<16|G[b+4|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=F[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(G[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(G[e|0]|d<<8)|0}return c}function Je(a){var b=0,c=0,d=0,e=0;F[61902]=0;_(604,a|0);b=F[61902];F[61902]=0;if((b|0)!=1){a:{F[a+56>>2]=-57005;b=F[a- -64>>2];if(b){F[61902]=0;ea(605,b+24|0,b|0);c=F[61902];F[61902]=0;if((c|0)==1){break a}yb();Ta(b)}b=F[a+88>>2];if(b){Ta(b);F[a+88>>2]=0}F[a+72>>2]=0;F[a+76>>2]=0;F[a+48>>2]=0;Ta(F[a+52>>2]);F[a+52>>2]=0;F[a+44>>2]=0;F[a+48>>2]=0;F[a+24>>2]=0;b=F[a+36>>2];c=F[a+32>>2];if(c){e=(c<<2)+b|0;while(1){Ta(F[(c?b:163632)>>2]);d=!!c;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=F[a+36>>2]}F[a+32>>2]=0;Ta(b);F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;return}}ca(0)|0;Y()|0;Hb();V()}function fy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ga-16|0;Ga=g;a:{if(!a){break a}d=F[a+92>>2];if(!d|F[d+4>>2]!=1970170211){break a}d=F[a+40>>2];if(!d){break a}f=F[a+36>>2];if((f|0)<=0){break a}i=(f<<2)+d|0;while(1){b:{f=F[d>>2];c:{if(H[f+8>>1]|H[f+10>>1]!=5){break c}e=F[f>>2];if(!e){break c}e=F[e+96>>2];h=F[F[e>>2]+32>>2];if(!h){break c}e=Ia[h|0](e,9712)|0;if(!e){break c}if(Ia[F[e>>2]](f,g+8|0)|0){break c}if(F[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=F[d>>2];if(!d){break a}j=Ia[F[F[d+12>>2]+20>>2]](d,F[a+92>>2],b,c)|0}Ga=g+16|0;return j|0}function Ps(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{a=F[F[a+156>>2]>>2];b=F[a+4>>2];if(!(!b|F[a+40>>2])){d=b<<1;if((d|0)<0){c=6;break b}if(d){c=10;if(d>>>0>268435455){break b}c=F[a>>2];b=b<<4;c=Ia[F[c+4>>2]](c,b)|0;if(!c){break c}Wa(c,0,b)}D[a+16|0]=1;F[a+40>>2]=c;d=(F[a+4>>2]<<3)+c|0;F[a+44>>2]=d;b=F[a+24>>2];if(b){b=b+(E[a+22>>1]<<3)|0}else{b=0}F[a+60>>2]=b;e=a- -64|0;b=F[a+28>>2];if(b){b=b+E[a+22>>1]|0}else{b=0}F[e>>2]=b;b=F[a+32>>2];if(b){b=b+(E[a+20>>1]<<1)|0}else{b=0}F[a+68>>2]=b;b=E[a+22>>1]<<3;F[a+80>>2]=b+d;F[a+76>>2]=b+c}c=0;break a}F[a+40>>2]=c;c=64;break a}F[a+40>>2]=0}return c|0}function kw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=F[a+28>>2];a=F[f+20>>2];a:{if(!a){break a}b:{c:{b=H[a>>1];d=b<<16>>16;if((d|0)>=2){e=E[(F[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=H[a+2>>1];break b}b=E[a+2>>1];if((e|0)!=(b|0)){break b}E[a>>1]=d-1;break a}d:{if(b<<16>>16<2){break d}c=F[a+4>>2];g=c+(e<<3)|0;h=b&65535;c=(c+(h<<3)|0)-8|0;if(F[g>>2]!=F[c>>2]|F[g+4>>2]!=F[c+4>>2]|G[(F[a+8>>2]+h|0)-1|0]!=1){break d}b=b-1|0;E[a+2>>1]=b}if((d|0)<=0){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){E[a+2>>1]=b-1;E[a>>1]=d-1;break a}E[(F[a+12>>2]+(d<<1)|0)-2>>1]=e}D[f+44|0]=0}function Hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ga-32|0;Ga=c;a:{if((Ia[F[b+52>>2]](b,6,c,0)|0)<=5){F[b+12>>2]=3;break a}e=F[c+12>>2];if(!e){F[b+12>>2]=3;break a}d=e>>31;d=(d^e)-d|0;if((d|0)!=65536){f=c,g=_a(F[c>>2],d),F[f>>2]=g;f=c,g=_a(F[c+4>>2],d),F[f+4>>2]=g;f=c,g=_a(F[c+8>>2],d),F[f+8>>2]=g;f=c,g=_a(F[c+16>>2],d),F[f+16>>2]=g;f=c,g=_a(F[c+20>>2],d),F[f+20>>2]=g;e=F[c+12>>2]<0?-65536:65536;F[c+12>>2]=e}F[a+440>>2]=F[c>>2];F[a+448>>2]=F[c+4>>2];d=F[c+8>>2];F[a+452>>2]=e;F[a+444>>2]=d;if(!gf(a+440|0)){F[b+12>>2]=3;break a}F[a+456>>2]=E[c+18>>1];F[a+460>>2]=E[c+22>>1]}Ga=c+32|0}function hA(a){a=a|0;a=a+24|0;vb(a,0,765);eb(a,1819239276,1,1);eb(a,1667460464,1,1);eb(a,1853188980,1,1);eb(a,1634429038,9,1);vb(a,0,766);eb(a,1919969382,8,1);vb(a,0,767);vb(a,0,766);eb(a,1886545254,9,1);vb(a,0,768);eb(a,1919644262,9,1);eb(a,1633842790,9,1);eb(a,1651275622,9,1);eb(a,1751215206,9,1);eb(a,1886614630,9,1);eb(a,1986098293,9,1);eb(a,1667916660,9,1);vb(a,0,769);vb(a,0,770);eb(a,1769172844,0,1);eb(a,1768843636,0,1);eb(a,1835361385,0,1);eb(a,1718185569,0,1);vb(a,0,0);eb(a,1633842803,9,1);eb(a,1651275635,9,1);eb(a,1751215214,9,1);eb(a,1886545267,9,1);eb(a,1886614643,9,1)}function dl(a){var b=0,c=0,d=0;b=Ga-16|0;Ga=b;d=Za(a,0);a:{if(d){break a}d=Gb(a,b+8|0,4);if(d){break a}d=3;if(G[b+8|0]!=31|G[b+9|0]!=139|(G[b+10|0]!=8|G[b+11|0]>31)){break a}d=Fb(a,6);F[b+12>>2]=d;c=G[b+11|0];if(c&4){c=jl(a,b+12|0);d=F[b+12>>2];if(d){break a}d=Fb(a,c);F[b+12>>2]=d;if(d){break a}d=0;c=G[b+11|0]}if(c&8){while(1){c=Jb(a,b+12|0)?0:3;d=F[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=3){break a}c=G[b+11|0]}if(c&16){while(1){c=Jb(a,b+12|0)?0:5;d=F[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=5){break a}c=G[b+11|0]}if(!(c&2)){break a}d=Fb(a,2)}Ga=b+16|0;return d}function pk(a,b){var c=0,d=0,e=0;c=F[a+32>>2];d=F[a+28>>2];if(d){while(1){e=F[c+8>>2];if(e){Ia[F[b+8>>2]](b,e)}F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=F[a+32>>2]}if(c){Ia[F[b+8>>2]](b,c)}F[a+24>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;c=F[a+20>>2];d=F[a+16>>2];if(d){while(1){e=F[c+8>>2];if(e){Ia[F[b+8>>2]](b,e)}F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=F[a+20>>2]}if(c){Ia[F[b+8>>2]](b,c)}F[a+12>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;c=F[a+8>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}function av(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=F[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((H[e+12>>1]&7)!=2){b=F[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=F[a>>2];b=b>>c;a:{if((b|0)<0){break a}c=f>>c;d=H[a+52>>1];if((c|0)>=(d|0)){break a}d=b>>>0>>0?b:d-1|0;b=-128>>(d&7);g=(c|0)>0?c:0;c=g<<13>>16;e=F[a+56>>2];f=F[a+140>>2];a=c+(e+f|0)|0;g=255>>>(g&7)|0;h=d<<13>>16;d=h-c|0;b:{if((d|0)>0){D[a|0]=g|G[a|0];if((d|0)!=1){a=(d|0)<2?d:2;Wa((e+(c+f|0)|0)+1|0,255,(h-(a+c|0)|0)+1|0);a=(e+((f+h|0)-a|0)|0)+1|0}a=a+1|0;break b}b=b&g}D[a|0]=G[a|0]|b}}function ws(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=E[a+302>>1];if(f){a:{b:{c:{switch(F[F[F[a>>2]+96>>2]+64>>2]-35|0){case 5:if(G[a+615|0]){break a}g=b+16|0;e=F[b+16>>2]+(c<<3)|0;break b;case 0:break c;default:break a}}g=b+16|0;e=F[b+16>>2]+(c<<3)|0}e=F[e>>2];f=bb(d,f,F[a+568>>2]);F[F[g>>2]+(c<<3)>>2]=f+e}e=F[b+24>>2]+c|0;D[e|0]=G[e|0]|8}e=E[a+304>>1];if(e){d:{if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break d}}g=c<<3;f=F[(g+F[b+16>>2]|0)+4>>2];a=bb(d,e,F[a+568>>2]);F[(g+F[b+16>>2]|0)+4>>2]=a+f}a=F[b+24>>2]+c|0;D[a|0]=G[a|0]|16}}function uv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ga-128|0;Ga=f;if((c|0)>0){k=(L((b|0)!=0,36)+a|0)+16|0;while(1){h=(c|0)<16?c:16;g=h<<1;b=0;while(1){e=b<<2;i=F[e+d>>2]+i|0;F[e+f>>2]=((i+(i>>31)|0)+32768&-65536)>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;j=(e|4)+f|0;F[j>>2]=F[j>>2]-F[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(F[a+4>>2]){break a}b=f;g=h;while(1){e=ie(k,F[b>>2],F[b+4>>2],F[a>>2],0);if(e){F[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-h|0;if((c|0)>0){continue}break}}Ga=f+128|0}function Yo(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=Ga-128|0;Ga=a;b=F[b+24>>2];a:{b:{c:{d:{if((d|0)<0){F[61902]=0;f=aa(645,b|0,c|0)|0;g=F[61902];F[61902]=0;if((g|0)!=1){break d}break c}d=(d|0)<127?d:127;f=mf(a,c,d);D[a+d|0]=0;F[61902]=0;f=aa(645,b|0,f|0)|0;g=F[61902];F[61902]=0;if((g|0)==1){break c}}F[e>>2]=f;if(!f){F[61902]=0;f=da(644,b|0,0,a|0,128)|0;b=F[61902];F[61902]=0;if((b|0)==1){break c}e:{if(!(f|(d|0)>=0)){if(ab(a,c)){break e}break b}if(!cb(a,c,d)){break b}}f=F[e>>2]}c=(f|0)!=0;break a}a=Z()|0;Y()|0;yb();$(a|0);V()}c=1}yb();Ga=a+128|0;return c|0}function Bn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ga-16|0;Ga=e;f=F[b+4>>2];a:{if(f>>>0>a>>>0){break a}c=F[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}g=F[b+12>>2];h=g-2|0;F[b+12>>2]=h;if((h|0)<=0){break a}d=1;if((G[a|0]|G[a+1|0]<<8)!=256){break a}b:{d=a+2|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<2){break b}c=g-4|0;F[b+12>>2]=c;if((c|0)<=0){break b}c=G[d|0]|G[d+1|0]<<8;c:{if(!c){break c}if(Mb(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=F[b+28>>2];if(c>>>0>31){break b}F[b+28>>2]=c+1;if(!G[b+24|0]){break b}D[d|0]=0;D[d+1|0]=0}F[e+12>>2]=a;d=Si(a+4|0,b,e+12|0);break a}d=0}Ga=e+16|0;return d}function wt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ga-16|0;Ga=d;e=F[b+28>>2];c=Ia[F[a+516>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=tb(b,4);F[d+12>>2]=c;if(c){break a}g=a,h=xb(b),E[g+560>>1]=h;g=a,h=xb(b),E[g+562>>1]=h;lb(b);if(H[a+560>>1]>=2){E[a+562>>1]=0;c=8;break a}c=e;e=H[a+562>>1];g=a,h=Va(c,4,0,e,0,d+12|0),F[g+564>>2]=h;c=F[d+12>>2];if(c){break a}c=tb(b,e<<2);F[d+12>>2]=c;if(c){break a}if(e){c=F[a+564>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=xb(b),E[g>>1]=h;g=f,h=xb(b),E[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}lb(b);c=F[d+12>>2]}Ga=d+16|0;return c|0}function fw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;E[a+64>>1]=256;F[a+8>>2]=d;F[a+4>>2]=b;F[a>>2]=F[b+100>>2];a:{if(!d){break a}b=F[F[d+156>>2]>>2];F[a+12>>2]=b;F[a+20>>2]=b+56;F[a+16>>2]=b+20;fd(b);F[a+68>>2]=0;F[a+72>>2]=0;if(!c|!e){break a}b=F[F[c+40>>2]>>2];if(!b){break a}F[a+72>>2]=F[b>>2];F[a+68>>2]=F[F[d+156>>2]+36>>2]}F[a+24>>2]=0;F[a+28>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;b=F[7660];F[a+76>>2]=F[7659];F[a+80>>2]=b;b=F[7662];F[a+84>>2]=F[7661];F[a+88>>2]=b;b=F[7664];F[a+92>>2]=F[7663];F[a+96>>2]=b;b=F[7666];F[a+100>>2]=F[7665];F[a+104>>2]=b}function ko(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ga-16|0;Ga=g;h=F[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=F[b+8>>2];if(e>>>0>>0|e-a>>>0<10){break a}d=F[b+12>>2]-10|0;F[b+12>>2]=d;if((d|0)<=0){break a}c=a+2|0;f=G[a|0]|G[a+1|0]<<8;if(f){if(c>>>0>>0|c>>>0>e>>>0){break a}f=(f<<8|f>>>8)&65535;if(f>>>0>e-c>>>0){break a}d=d-f|0;F[b+12>>2]=d;if((d|0)<=0){break a}}if(c>>>0>>0|c>>>0>e>>>0){break a}if(e-c>>>0<=7){break a}F[b+12>>2]=d-8;if((G[c|0]|G[c+1|0]<<8)!=256|(d|0)<9){break a}if(!Xf(a+4|0,b,c)){break a}F[g+12>>2]=c;i=Wf(a+8|0,b,g+12|0)}Ga=g+16|0;return i|0}function Vc(a,b){var c=0,d=0,e=0,f=M(0),g=0,h=M(0),i=0;c=F[a>>2];g=F[a+4>>2];i=F[g+20>>2];f=M(K[b>>3]);d=F[g+16>>2];e=F[d+28>>2];if(!e){e=db(d);g=F[a+4>>2];d=F[g+16>>2]}f=M(M(f*M(i|0))/M(e>>>0));e=c+16|0;h=M(M(K[b+8>>3])*M(F[g+24>>2]));a=F[d+28>>2];if(!a){a=db(d)}h=M(h/M(a>>>0));b=F[c+12>>2];a=F[c+8>>2];a:{b:{if(G[c+4|0]){if(!F[e>>2]){break b}break a}f=M(M(h*J[c>>2])+f);if(F[c+16>>2]){break a}}Ia[F[a+12>>2]](a,b,e,J[c+28>>2],J[c+32>>2],F[a+32>>2]);F[c+16>>2]=1;d=F[c+32>>2];F[c+20>>2]=F[c+28>>2];F[c+24>>2]=d}Ia[F[a+16>>2]](a,b,e,f,h,F[a+36>>2]);J[c+32>>2]=h;J[c+28>>2]=f}function Io(a){var b=0,c=0;b=F[a+208>>2];if(b){while(1){b=F[a+212>>2]+L(b,24)|0;F[b-16>>2]=0;c=b-12|0;Ta(F[c>>2]);F[c>>2]=0;b=b-20|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+208>>2]-1|0;F[a+208>>2]=b;if(b){continue}break}}Ta(F[a+212>>2]);F[a+212>>2]=0;F[a+204>>2]=0;F[a+208>>2]=0;b=F[a+196>>2];if(b){while(1){b=F[a+200>>2]+(b<<5)|0;F[b-24>>2]=0;c=b-20|0;Ta(F[c>>2]);F[c>>2]=0;b=b-28|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+196>>2]-1|0;F[a+196>>2]=b;if(b){continue}break}}Ta(F[a+200>>2]);F[a+200>>2]=0;F[a+192>>2]=0;F[a+196>>2]=0;F[a+96>>2]=0;Ta(F[a+100>>2]);F[a+100>>2]=0;F[a+92>>2]=0;F[a+96>>2]=0}function Fh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;F[a+44>>2]=b;Dc(F[a>>2],b);c=F[a>>2];b=F[F[c+712>>2]+3080>>2];c=Nb(F[F[c+96>>2]+4>>2],11010);a:{if(!c|!b){break a}b=F[b>>2];if(!b){break a}e=Ia[b|0](c)|0;if(!e){break a}f=F[F[a>>2]+712>>2];c=F[f+1440>>2];h=F[F[a+40>>2]>>2];Ia[F[e+4>>2]](F[h>>2],F[a+16>>2],F[a+20>>2],0,0);b=F[f+2024>>2];if(!b){break a}while(1){g=F[a+16>>2];b=b-1|0;i=b<<2;d=F[F[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=bb(g,c,d);d=bb(F[a+20>>2],c,d);break b}d=F[a+20>>2]}Ia[F[e+4>>2]](F[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function zw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ga-32|0;Ga=e;F[d>>2]=-1;$c(a,e+16|0);if(F[e+24>>2]==3){i=F[a>>2];g=F[e+16>>2]+1|0;F[a>>2]=g;j=F[a+8>>2];h=F[e+20>>2]-1|0;F[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){$c(a,e);if(!F[e+8>>2]){break a}f=f+12|0;if(I[a>>2]>2]){continue}break}break a}c=L(c,12)+b|0;while(1){$c(a,e);if(!F[e+8>>2]){break a}if(c>>>0>f>>>0){g=F[e+4>>2];F[f>>2]=F[e>>2];F[f+4>>2]=g;F[f+8>>2]=F[e+8>>2]}f=f+12|0;if(I[a>>2]>2]){continue}break}}F[d>>2]=(f-b|0)/12;F[a+8>>2]=j;F[a>>2]=i}Ga=e+32|0}function SA(a){a=a|0;var b=0;b=a+24|0;eb(b,1937007464,1,1);vb(b,0,746);eb(b,1667460464,1,1);eb(b,1819239276,1,1);vb(b,0,0);eb(b,1769172844,(F[a+8>>2]==1098015074)<<1,1);vb(b,0,0);eb(b,1718185569,(F[a+8>>2]==1098015074)<<1,1);vb(b,0,0);eb(b,1718185522,0,1);vb(b,0,0);eb(b,1718185523,0,1);vb(b,0,0);eb(b,1835361385,(F[a+8>>2]==1098015074)<<1,1);vb(b,0,0);eb(b,1835361330,0,1);vb(b,0,0);eb(b,1768843636,(F[a+8>>2]==1098015074)<<1,1);vb(b,0,0);eb(b,1919707495,11,1);if(F[a+8>>2]==1098015074){vb(b,0,747)}eb(b,1919118452,9,1);eb(b,1667329140,9,1);vb(b,0,0);eb(b,1836279156,1,1)}function wo(a,b){var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}D[a+24|0]=0;F[a+32>>2]=b;d=F[b+12>>2];F[a+4>>2]=d;e=F[b+16>>2];F[a+8>>2]=d+e;F[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!d){Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b}a:{if((e|0)>=36){F[a+12>>2]=c-36;c=G[d|0]|G[d+1|0]<<8;Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if((c|0)!=256){break a}if(F[b+4>>2]){F[b+4>>2]=0}return b}Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function Vj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Ga-16|0;Ga=g;F[g+12>>2]=0;h=gb(a,(H[c+8>>1]>>>1|0)+1|0,g+12|0);e=0;a:{if(F[g+12>>2]){break a}e=Za(b,F[c+12>>2]);F[g+12>>2]=e;b:{if(e){break b}e=tb(b,H[c+8>>1]);F[g+12>>2]=e;if(e){break b}e=h;c:{f=H[c+8>>1];if(f>>>0>=2){i=f>>>1|0;f=F[b+32>>2];while(1){if(G[f|0]){break c}if(!(Ia[d|0](D[f+1|0])|0)){break c}D[e|0]=G[f+1|0];f=f+2|0;e=e+1|0;i=i-1|0;if(i){continue}break}}D[e|0]=0;lb(b);e=h;break a}lb(b)}if(h){Ia[F[a+8>>2]](a,h)}F[c+12>>2]=0;E[c+8>>1]=0;b=F[c+16>>2];if(b){Ia[F[a+8>>2]](a,b)}F[c+16>>2]=0;e=0}Ga=g+16|0;return e}function OB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}D[a+24|0]=0;F[a+32>>2]=b;d=F[b+12>>2];F[a+4>>2]=d;e=F[b+16>>2];F[a+8>>2]=d+e;F[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}F[a+12>>2]=c;F[a+20>>2]=0;F[a>>2]=0;if(!d){Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;return b|0}a:{if((e|0)>=5){F[a+12>>2]=c-5;c=G[d|0];Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if((c|0)!=2){break a}if(F[b+4>>2]){F[b+4>>2]=0}return b|0}Xa(b);F[a+32>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0}Xa(b);return 163632}function Pj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}b:{c:{b=F[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){k=g&-4;while(1){c=F[a>>2];b=e<<2;f=d<<2;F[c+b>>2]=F[c+f>>2];c=F[a>>2];F[c+(b|4)>>2]=F[(c+f|0)+4>>2];c=F[a>>2];F[c+(b|8)>>2]=F[(c+f|0)+8>>2];c=b|12;b=F[a>>2];F[c+b>>2]=F[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}if(!h){break b}while(1){b=F[a>>2];F[b+(e<<2)>>2]=F[b+(d<<2)>>2];d=d+1|0;e=e+1|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}F[a+8>>2]=g}}function xr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=F[a+532>>2];if(!e){return 6}f=F[e>>2];i=F[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}e=F[e+136>>2];a=0;if(f-1>>>0>=3){h=f&-4;while(1){d=a<<2;F[d+c>>2]=F[e+d>>2];g=d|4;F[g+c>>2]=F[e+g>>2];g=d|8;F[g+c>>2]=F[e+g>>2];d=d|12;F[d+c>>2]=F[e+d>>2];a=a+4|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}}d=f&3;if(!d){break b}while(1){h=a<<2;F[h+c>>2]=F[e+h>>2];a=a+1|0;k=k+1|0;if((d|0)!=(k|0)){continue}break}}a=0;if(f>>>0>=i>>>0){break a}Wa((f<<2)+c|0,0,i-f<<2);a=0}F[b>>2]=f;return a|0}function xl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=F[a>>2];if(!b){return}f=F[b+96>>2];if(!f){return}c=F[b+108>>2];if(!c){break a}e=b+108|0;d=F[f+8>>2];while(1){if(F[c+8>>2]!=(a|0)){c=F[c+4>>2];if(c){continue}break a}break}g=F[c>>2];h=g?g+4|0:e;e=F[c+4>>2];F[h>>2]=e;F[(e?e:b+112|0)>>2]=g;Ia[F[d+8>>2]](d,c);b:{if(F[b+88>>2]!=(a|0)){break b}F[b+88>>2]=0;c=F[b+108>>2];if(!c){break b}F[b+88>>2]=F[c+8>>2]}b=F[a+8>>2];if(b){Ia[b|0](a)}b=F[F[f+12>>2]+60>>2];if(b){Ia[b|0](a)}b=F[a+40>>2];if(b){Ia[F[d+8>>2]](d,b)}F[a+40>>2]=0;Ia[F[d+8>>2]](d,a)}}function Gk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=F[a+20>>2];b:{if(!a){break b}c:{d:{b=H[a>>1];e=b<<16>>16;if((e|0)>=2){d=E[(F[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=H[a+2>>1];break c}b=E[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if(b<<16>>16<2){break e}c=F[a+4>>2];f=c+(d<<3)|0;g=b&65535;c=(c+(g<<3)|0)-8|0;if(F[f>>2]!=F[c>>2]|F[f+4>>2]!=F[c+4>>2]|G[(F[a+8>>2]+g|0)-1|0]!=1){break e}b=b-1|0;E[a+2>>1]=b}if((e|0)<=0){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){E[a+2>>1]=b-1;break a}E[(F[a+12>>2]+(e<<1)|0)-2>>1]=d}return}E[a>>1]=e-1}function tb(a,b){var c=0,d=0,e=0;a:{e=F[a+20>>2];b:{if(e){c=85;if(I[a+4>>2]>>0){break b}d=F[a+28>>2];c:{d:{if((b|0)>0){c=Ia[F[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=F[a+20>>2]}F[a>>2]=c;e=Ia[e|0](a,F[a+8>>2],c,b)|0;c=F[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Ia[F[d+8>>2]](d,c)}c=0;F[a>>2]=0;d=85}F[a+32>>2]=c;F[a+36>>2]=c?b+c|0:0;F[a+8>>2]=e+F[a+8>>2];return d}e=F[a+4>>2];d=F[a+8>>2];c=85;if(e>>>0<=d>>>0|e-d>>>0>>0){break b}F[a+8>>2]=b+d;c=d+F[a>>2]|0;F[a+32>>2]=c;F[a+36>>2]=b+c;c=0}return c}F[a>>2]=0;return c}function yy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Ec(a,F[b+8>>2],e)){if(!(F[b+28>>2]==1|F[b+4>>2]!=(c|0))){F[b+28>>2]=d}return}a:{if(Ec(a,F[b>>2],e)){if(!(F[b+16>>2]!=(c|0)&F[b+20>>2]!=(c|0))){if((d|0)!=1){break a}F[b+32>>2]=1;return}F[b+32>>2]=d;b:{if(F[b+44>>2]==4){break b}E[b+52>>1]=0;a=F[a+8>>2];Ia[F[F[a>>2]+20>>2]](a,b,c,c,1,e);if(G[b+53|0]){F[b+44>>2]=3;if(!G[b+52|0]){break b}break a}F[b+44>>2]=4}F[b+20>>2]=c;F[b+40>>2]=F[b+40>>2]+1;if(F[b+36>>2]!=1|F[b+24>>2]!=2){break a}D[b+54|0]=1;return}a=F[a+8>>2];Ia[F[F[a>>2]+24>>2]](a,b,c,d,e)}}function ww(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;D[a+68|0]=1;F[a+64>>2]=0;F[a+8>>2]=d;F[a+4>>2]=b;F[a>>2]=F[b+100>>2];a:{if(!d){break a}b=F[F[d+156>>2]>>2];F[a+12>>2]=b;F[a+20>>2]=b+56;F[a+16>>2]=b+20;fd(b);b=F[F[c+40>>2]>>2];F[a+72>>2]=0;F[a+76>>2]=b;if(!e){break a}F[a+72>>2]=F[F[d+156>>2]+36>>2]}F[a+24>>2]=0;F[a+28>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;F[a+32>>2]=0;F[a+36>>2]=0;b=F[7601];F[a+80>>2]=F[7600];F[a+84>>2]=b;b=F[7603];F[a+88>>2]=F[7602];F[a+92>>2]=b;b=F[7605];F[a+96>>2]=F[7604];F[a+100>>2]=b;b=F[7607];F[a+104>>2]=F[7606];F[a+108>>2]=b}function Ak(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ga-16|0;Ga=e;F[c+8>>2]=0;F[c+12>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=F[a+4>>2];a:{if(!F[F[d+128>>2]+52>>2]){d=18;if(b>>>0>255){break a}f=F[a+532>>2];if(!F[f+1188>>2]){break a}h=Ia[F[F[f+3088>>2]>>2]](b)|0;g=F[f+20>>2];if(!g){break a}f=F[f+1188>>2];b=0;while(1){if(H[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=F[a+4>>2]}d=Ia[F[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=F[e+12>>2];F[c+4>>2]=a;b=F[e+8>>2];F[c+12>>2]=a;d=0;F[c+8>>2]=a?a+b|0:0}Ga=e+16|0;return d}function aw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(G[a+64|0]){break a}D[a+64|0]=1;e=F[a+20>>2];b:{if(G[a+65|0]){d=F[a+12>>2];if((E[d+20>>1]+E[d+56>>1]|0)+1>>>0>I[d+8>>2]){d=Ub(d,0,1);if(d){break a}}f=H[e>>1];d=f<<16>>16;if((d|0)<=0){break b}E[(F[e+12>>2]+(f<<1)|0)-2>>1]=H[e+2>>1]-1}d=H[e>>1]}E[e>>1]=d+1;d=F[a+12>>2];if((E[d+22>>1]+E[d+58>>1]|0)+1>>>0>I[d+4>>2]){d=Ub(d,1,0);if(d){break a}}d=F[a+20>>2];if(G[a+65|0]){a=F[d+8>>2];e=E[d+2>>1];f=F[d+4>>2]+(e<<3)|0;F[f+4>>2]=c>>10;F[f>>2]=b>>10;D[a+e|0]=1}E[d+2>>1]=H[d+2>>1]+1;d=0}return d|0}function vu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=F[b>>2];if((c|0)==-1){return 0}d=c+1|0;a=F[a+16>>2];c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d>>>0>f>>>0?d:f;d=c-f|0;e=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){F[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=G[a+1|0]|G[a|0]<<8;if(g){F[b>>2]=c;return g|0}if((c|0)==-1){return 0}a=a+2|0;c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}F[b>>2]=f;return 0}function Er(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ga-16|0;Ga=f;a=F[a+532>>2];a:{if(!a){e=6;break a}d=F[a+4>>2];Oe(F[a+136>>2],f,d);a=b>>>0>d>>>0?d:b;if(a){Ya(c,f,a<<2)}if(b>>>0<=d>>>0){break a}d=(a^-1)+b|0;g=b-a&7;if(g){while(1){F[(a<<2)+c>>2]=32768;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=0;if(d>>>0<7){break a}while(1){d=(a<<2)+c|0;F[d>>2]=32768;F[d+4>>2]=32768;F[d+24>>2]=32768;F[d+28>>2]=32768;F[d+16>>2]=32768;F[d+20>>2]=32768;F[d+8>>2]=32768;F[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}Ga=f+16|0;return e|0}function qf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=Ga-240|0;Ga=i;h=F[d>>2];F[i+232>>2]=h;d=F[d+4>>2];F[i>>2]=a;F[i+236>>2]=d;k=1;a:{b:{c:{if(!(d|(h|0)!=1)){d=a;break c}l=0-b|0;h=a;while(1){j=(e<<2)+g|0;d=h-F[j>>2]|0;if((Ia[c|0](d,a)|0)<=0){d=h;break c}d:{if(!((e|0)<2|f)){f=F[j-8>>2];j=h+l|0;if((Ia[c|0](j,d)|0)>=0){break d}if((Ia[c|0](j-f|0,d)|0)>=0){break d}}F[(k<<2)+i>>2]=d;h=i+232|0;f=km(h);rf(h,f);k=k+1|0;e=e+f|0;f=0;h=d;if(F[i+236>>2]|F[i+232>>2]!=1){continue}break b}break}d=h;break b}if(f){break a}}jm(b,i,k);Vg(d,b,c,e,g)}Ga=i+240|0}function Fl(a,b){var c=0,d=0,e=0,f=0,g=0;b=F[a+84>>2]+(F[a+48>>2]+b|0)|0;d=F[a+12>>2];a:{if(b>>>0<=d>>>0){break a}b=b+1|0;if((b|d)<0){return 6}f=F[a>>2];g=F[a+52>>2];b:{c:{e=b&-2;d:{if(!e){b=0;if(!g){break d}Ia[F[f+8>>2]](f,g);F[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!d){b=Ia[F[f+4>>2]](f,e<<5)|0;c=!b<<6;break e}c=Ia[F[f+12>>2]](f,d<<5,e<<5,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break c}Wa((d<<5)+b|0,0,e-d<<5)}F[a+52>>2]=b;break b}F[a+52>>2]=b;if(c){break a}}F[a+12>>2]=e;c=0;F[a+88>>2]=b?(F[a+48>>2]<<5)+b|0:0}return c}function Bk(a,b,c){var d=0,e=0,f=0;a:{if(G[a+44|0]){break a}D[a+44|0]=1;e=F[a+20>>2];if(!e){return 3}b:{if(G[a+45|0]){d=F[a+12>>2];if((E[d+20>>1]+E[d+56>>1]|0)+1>>>0>I[d+8>>2]){d=Ub(d,0,1);if(d){break a}}f=H[e>>1];d=f<<16>>16;if((d|0)<=0){break b}E[(F[e+12>>2]+(f<<1)|0)-2>>1]=H[e+2>>1]-1}d=H[e>>1]}E[e>>1]=d+1;d=F[a+12>>2];if((E[d+22>>1]+E[d+58>>1]|0)+1>>>0>I[d+4>>2]){d=Ub(d,1,0);if(d){break a}}d=F[a+20>>2];if(G[a+45|0]){a=F[d+8>>2];e=E[d+2>>1];f=F[d+4>>2]+(e<<3)|0;F[f+4>>2]=c>>10;F[f>>2]=b>>10;D[a+e|0]=1}E[d+2>>1]=H[d+2>>1]+1;d=0}return d}function Uj(a,b){var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[d+12>>2]=0;e=Jb(a,d+12|0);c=F[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}f=b;b=e&127;b:{if(!(e&128)){break b}e=Jb(a,d+12|0);c=F[d+12>>2];if(c){break a}b=e&127|b<<7;if(!(e&128)){break b}e=Jb(a,d+12|0);c=F[d+12>>2];if(c){break a}b=e&127|b<<7;if(!(e&128)){break b}e=Jb(a,d+12|0);c=F[d+12>>2];if(c){break a}b=e&127|b<<7;if(!(e&128)){break b}a=Jb(a,d+12|0);c=F[d+12>>2];if(c){break a}if(b>>>0>33554431){c=8;break a}c=8;if(a&128){break a}b=a&127|b<<7}F[f>>2]=b;c=0}Ga=d+16|0;return c}function yt(a){a=a|0;var b=0,c=0,d=0,e=0;d=F[F[a+96>>2]+8>>2];b=F[a+356>>2];if(b){c=F[a+348>>2];if((c|0)>0){c=L(c,20)+b|0;while(1){e=F[b+16>>2];if(e){Ia[F[d+8>>2]](d,e)}F[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=F[a+356>>2]}if(b){Ia[F[d+8>>2]](d,b)}F[a+356>>2]=0}b=F[a+364>>2];if(b){c=F[a+360>>2];if((c|0)>0){c=L(c,12)+b|0;while(1){e=F[b+8>>2];if(e){Ia[F[d+8>>2]](d,e)}F[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=F[a+364>>2]}if(b){Ia[F[d+8>>2]](d,b)}F[a+364>>2]=0}E[a+344>>1]=0;F[a+360>>2]=0;F[a+348>>2]=0;F[a+352>>2]=0}function xk(a,b){var c=0,d=0,e=0,f=0;f=Ga-16|0;Ga=f;a:{b:{d=F[a+20>>2];if((d|0)!=F[a+12>>2]){e=F[a+28>>2];break b}c=F[a+16>>2];F[f+12>>2]=0;c:{c=c+d|0;e=F[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=L(c,e);e=Va(F[a>>2],1,F[a+24>>2],d,F[a+28>>2],f+12|0);F[a+28>>2]=e;if(F[f+12>>2]){break c}F[a+24>>2]=d;F[a+12>>2]=c;d=F[a+20>>2];if(c>>>0>=d>>>0){break b}b=F[a+4>>2];if(!(!b|F[b>>2])){F[b>>2]=130}F[a+20>>2]=c;break a}a=F[a+4>>2];if(!a|F[a>>2]){break a}F[a>>2]=64;break a}c=F[a+8>>2];Ya(L(c,d)+e|0,b,c);F[a+20>>2]=F[a+20>>2]+1}Ga=f+16|0}function jn(a,b,c){var d=0,e=0,f=0;d=F[a+100>>2];e=F[d+64>>2];d=F[d+80>>2];f=L(e,20)+d|0;a:{if(G[a+140|0]){c=jc(F[a+108>>2],b)|48;break a}c=(c?c:H[(d+L(e,20)|0)+12>>1]&65423)|48}E[f+12>>1]=c;a=F[a+100>>2];if($a(a,1,1)){c=F[a+64>>2];b:{if(c>>>0>2]){d=F[a+80>>2]+L(c,20)|0;e=F[a+72>>2];c=F[a+84>>2];break b}c=F[a+84>>2];e=F[a+72>>2];d=c+L(e?e-1|0:0,20)|0}c=L(e,20)+c|0;e=F[d+4>>2];F[c>>2]=F[d>>2];F[c+4>>2]=e;F[c+16>>2]=F[d+16>>2];e=F[d+12>>2];F[c+8>>2]=F[d+8>>2];F[c+12>>2]=e;F[c>>2]=b;F[a+64>>2]=F[a+64>>2]+1;F[a+72>>2]=F[a+72>>2]+1}}function Ii(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=F[b+68>>2];d=G[e+4|0]|G[e+5|0]<<8;c=F[b+12>>2];f=F[c+32>>2];if((f|0)==-1){f=Zb(c)}c=0;b=F[b+16>>2];g=F[b+68>>2];a:{if(!g){break a}i=F[b+80>>2];b=0;if(!d){while(1){d=L(b,20)+i|0;e=ec(a,F[d>>2],f);if(e){c=G[e|0]|G[e+1|0]<<8;F[d>>2]=(c<<8|c>>>8)&65535;c=1}b=b+1|0;if((g|0)!=(b|0)){continue}break}break a}while(1){d=L(b,20)+i|0;h=ec(a,F[d>>2],f);if(h){c=G[h|0]|G[h+1|0]<<8;c=(c<<8|c>>>8)&65535;F[d>>2]=c;j=d,k=jc(e,c),E[j+12>>1]=k;c=1}b=b+1|0;if((g|0)!=(b|0)){continue}break}}return c}function fp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=F[b+24>>2];b=F[F[d+88>>2]+20>>2];e=E[d+70>>1];F[61902]=0;b=Ua(e,b);e=F[61902];F[61902]=0;a:{if((e|0)==1){break a}F[c>>2]=b;b=F[F[d+88>>2]+20>>2];e=E[d+72>>1];F[61902]=0;b=Ua(e,b);e=F[61902];F[61902]=0;if((e|0)==1){break a}F[c+4>>2]=b;b=F[F[d+88>>2]+20>>2];d=E[d+74>>1];F[61902]=0;d=Ua(d,b);b=F[61902];F[61902]=0;if((b|0)==1){break a}b=F[c+4>>2];e=F[c>>2];d=d+(b-e|0)|0;F[c+8>>2]=d;if(F[a+24>>2]<0){F[c+8>>2]=0-d;F[c+4>>2]=0-b;F[c>>2]=0-e}yb();return 1}a=Z()|0;Y()|0;yb();$(a|0);V()}function _v(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=F[F[a+4>>2]+712>>2];a:{b:{if(!F[d+2024>>2]){d=d+1372|0;break b}e=Ia[F[F[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=I[d+2024>>2]){break a}d=F[(d+(e<<2)|0)+2028>>2];if(!b|!F[a+68>>2]){break b}F[a+72>>2]=F[(F[F[b+40>>2]>>2]+(e<<2)|0)+4>>2]}e=F[d+620>>2];F[a+728>>2]=e;F[a+744>>2]=F[d+644>>2];c=0;b=0;c:{if(F[F[a+108>>2]+1416>>2]==1){break c}b=107;if(e>>>0<1240){break c}b=e>>>0<33900?1131:32768}F[a+736>>2]=b;F[a+584>>2]=F[d+540>>2];b=F[d+544>>2];F[a+768>>2]=d;F[a+588>>2]=b}return c|0}function Tl(a,b){var c=0,d=0,e=0,f=0;c=Ga+-64|0;Ga=c;d=F[a>>2];e=F[d-4>>2];f=F[d-8>>2];F[c+20>>2]=0;F[c+16>>2]=244424;F[c+12>>2]=a;F[c+8>>2]=b;d=0;Wa(c+24|0,0,39);a=a+f|0;a:{if(Ec(e,b,0)){F[c+56>>2]=1;Ia[F[F[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=F[c+32>>2]==1?a:0;break a}Ia[F[F[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(F[c+44>>2]){case 0:d=F[c+48>>2]==1?F[c+36>>2]==1?F[c+40>>2]==1?F[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(F[c+32>>2]!=1){if(F[c+48>>2]|F[c+36>>2]!=1|F[c+40>>2]!=1){break a}}d=F[c+24>>2]}Ga=c- -64|0;return d}function Ks(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;c=F[a>>2];a:{b:{if(G[c+8|0]&2){d=Ia[F[F[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=F[e+12>>2];F[a+116>>2]=c;b=F[a>>2];if(D[b+8|0]&1){Dc(b,c);d=0;gg(a);break a}d=Ia[F[F[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}F[a+116>>2]=-1;break a}F[a+116>>2]=-1;c=F[a>>2]}zd(c,b);if(!(D[F[a>>2]+8|0]&1)){break a}d=gg(a);if(d){break a}c=a;d=H[a+84>>1];a=F[a+44>>2];a=F[(H[a>>1]>H[a+2>>1]?12:16)+b>>2];f=c,g=bb(d,4608,F[b>>2]!=4?a?a:72:72),F[f+120>>2]=g}d=0}Ga=e+16|0;return d|0}function od(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ga-16|0;Ga=e;F[e+12>>2]=d;a:{if(F[a+156>>2]){ki(a,b,c,F[e+12>>2]);break a}a=F[60332];lm(106065,9,a);bm(a,c,F[e+12>>2]);b=F[a+76>>2];b:{if(!((b|0)>=0&(!b|F[61752]!=(b&-1073741825)))){c:{if(F[a+80>>2]==10){break c}b=F[a+20>>2];if((b|0)==F[a+16>>2]){break c}F[a+20>>2]=b+1;D[b|0]=10;break b}nm(a);break b}b=a+76|0;c=F[b>>2];F[b>>2]=c?c:1073741823;d:{e:{if(F[a+80>>2]==10){break e}c=F[a+20>>2];if((c|0)==F[a+16>>2]){break e}F[a+20>>2]=c+1;D[c|0]=10;break d}nm(a)}F[b>>2]=0}}Ga=e+16|0}function Wo(a,b){a=a|0;b=b|0;var c=0,d=0,e=M(0),f=M(0),g=0,h=M(0),i=M(0);d=b+16|0;g=F[b+12>>2];c=F[b+8>>2];i=M(F[a+4>>2]);h=M(F[a>>2]);a:{b:{if(G[b+4|0]){if(!F[d>>2]){break a}e=J[b+20>>2];f=J[b+24>>2];if(e==J[b+28>>2]&f==J[b+32>>2]){break b}Ia[F[c+16>>2]](c,g,d,e,f,F[c+36>>2]);break b}h=M(M(i*J[b>>2])+h);if(!F[b+16>>2]){break a}e=J[b+20>>2];f=J[b+24>>2];if(e==J[b+28>>2]&f==J[b+32>>2]){break b}Ia[F[c+16>>2]](c,g,d,e,f,F[c+36>>2])}Ia[F[c+28>>2]](c,g,d,F[c+48>>2]);F[d+8>>2]=0;F[d>>2]=0;F[d+4>>2]=0}J[b+32>>2]=i;J[b+28>>2]=h;return 0}function ox(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){g=F[d>>2]-L(F[d+4>>2],a)|0;while(1){b=b-1|0;a=H[c+2>>1];a:{if(!a){break a}h=a-1|0;d=L(E[c>>1],3)+g|0;e=0;f=a&7;if(f){while(1){D[d|0]=G[c+4|0];d=d+3|0;a=a-1|0;e=e+1|0;if((e&65535)!=(f|0)){continue}break}}if((h&65535)>>>0<7){break a}while(1){D[d|0]=G[c+4|0];D[d+3|0]=G[c+4|0];D[d+6|0]=G[c+4|0];D[d+9|0]=G[c+4|0];D[d+12|0]=G[c+4|0];D[d+15|0]=G[c+4|0];D[d+18|0]=G[c+4|0];D[d+21|0]=G[c+4|0];d=d+24|0;a=a-8|0;if(a&65535){continue}break}}c=c+6|0;if(b){continue}break}}}function Re(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=F[a+260>>2];if(!b){n=a;d=E[a+300>>1];b=F[a+248>>2];a:{if(!d){break a}c=E[a+298>>1];b=F[a+252>>2];if(!c){break a}e=F[a+248>>2];b=e>>31;f=(b^e)-b|0;b=c>>31;g=(b^c)-b|0;h=L(f>>>16|0,g);i=h<<16|8192;a=F[a+252>>2];b=a>>31;j=(a^b)-b|0;b=d>>31;k=(b^d)-b|0;l=L(j>>>16|0,k);m=l<<16|8192;b=i+L(g,f&65535)|0;b=(h>>>16|0)+(b>>>0>>0)<<18|b>>>14;c=(c^e)>=0?b:0-b|0;b=m+L(k,j&65535)|0;b=(l>>>16|0)+(b>>>0>>0)<<18|b>>>14;b=Qg(c,(a^d)>=0?b:0-b|0)}F[n+260>>2]=b}return b}function Mj(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;c=F[b+28>>2];d=Ia[F[a+516>>2]](a,1668707360,b,e+8|0)|0;F[e+12>>2]=d;a:{if(d){F[a+700>>2]=0;F[a+704>>2]=0;c=0;break a}d=F[e+8>>2]>>>1|0;F[a+700>>2]=d;f=a,g=Va(c,4,0,d,0,e+12|0),F[f+704>>2]=g;c=F[e+12>>2];if(c){break a}c=tb(b,F[a+700>>2]<<1);F[e+12>>2]=c;if(c){break a}d=F[a+700>>2];if((d|0)>0){c=F[a+704>>2];d=c+(d<<2)|0;while(1){f=c,g=xb(b)<<16>>16<<6,F[f>>2]=g;c=c+4|0;if(d>>>0>c>>>0){continue}break}}lb(b);if(!G[a+733|0]){c=F[e+12>>2];break a}c=Aj(a,b)}Ga=e+16|0;return c}function cl(a){var b=0,c=0,d=0,e=0,f=0;F[a+28>>2]=4096;b=a+4168|0;F[a+24>>2]=b;F[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!F[a+16>>2]){b=F[a>>2];c=F[b+20>>2];b:{if(c){c=Ia[c|0](b,F[b+8>>2],d,4096)|0;if(c){break b}break a}e=F[b+8>>2];c=F[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}Ya(d,F[b>>2]+e|0,c)}F[b+8>>2]=F[b+8>>2]+c;F[a+16>>2]=c;F[a+12>>2]=d}b=pm(f,0);if(b){if((b|0)==1){b=F[a+24>>2];F[a+8272>>2]=b;return(b|0)==F[a+8268>>2]?85:0}break a}if(F[a+28>>2]){continue}break}return 0}F[a+8272>>2]=F[a+8268>>2];return 85}function as(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=F[a+8>>2];b=F[a>>2];a:{if(G[b+732|0]){break a}D[a+112|0]=0;c=F[a+16>>2];d=F[a+12>>2];F[a+48>>2]=d;F[a+52>>2]=c;c=F[a+24>>2];F[a+56>>2]=F[a+20>>2];F[a+60>>2]=c;e=F[a+32>>2];c=a- -64|0;F[c>>2]=F[a+28>>2];F[c+4>>2]=e;F[a+72>>2]=F[a+36>>2];if(!(d&65535)|!H[a+50>>1]){break a}if(G[b+176|0]&8){f=a,g=Ua(E[b+70>>1],F[a+56>>2])+32&-64,F[f+60>>2]=g;f=a- -64|0,g=Ua(E[b+72>>1],F[a+56>>2])+32&-64,F[f>>2]=g;f=a,g=Ua(E[b+74>>1],F[a+56>>2])+32&-64,F[f+68>>2]=g}D[a+112|0]=1}return 0}function mf(a,b,c){var d=0,e=0;e=a;a:{b:{c:{if((e^b)&3){break c}d=(c|0)!=0;d:{if(!(b&3)|!c){break d}while(1){d=G[b|0];D[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break d}if(c){continue}break}}if(!d){break b}if(!G[b|0]){break a}if(c>>>0<4){break c}while(1){d=F[b>>2];if((d^-1)&d-16843009&-2139062144){break c}F[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=G[b|0];D[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Wa(e,0,c);return a}function FA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{a=F[a+124>>2];if(!a){break a}d=F[b+68>>2];if(!d){break a}b=F[b+80>>2];if(d-1>>>0>=3){f=d&-4;c=0;while(1){F[b+4>>2]=F[b+4>>2]|F[a+(G[b+19|0]<<2)>>2];F[b+24>>2]=F[b+24>>2]|F[a+(G[b+39|0]<<2)>>2];F[b+44>>2]=F[b+44>>2]|F[a+(G[b+59|0]<<2)>>2];e=b- -64|0;F[e>>2]=F[e>>2]|F[a+(G[b+79|0]<<2)>>2];b=b+80|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break a}c=0;while(1){F[b+4>>2]=F[b+4>>2]|F[a+(G[b+19|0]<<2)>>2];b=b+20|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function wl(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=35;a:{if(!(G[a+8|0]&2)){break a}d=7;if(F[b>>2]){break a}e=F[b+4>>2];f=e;d=F[b+12>>2];if(d){f=(L(d,e)+36|0)/72|0}g=F[b+8>>2];h=g;d=23;b=F[b+16>>2];if(b){h=(L(b,g)+36|0)/72|0}b=g?h:f;f=(e?f:b)+32&-64;if(!f){break a}e=(e?b:h)+32&-64;if(!e){break a}h=F[a+28>>2];if((h|0)<=0){break a}a=F[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)==(F[g+12>>2]+32&-64)&(f|0)==(F[g+8>>2]+32&-64))){b=b+1|0;if((h|0)!=(b|0)){continue}break a}break}d=0;if(!c){break a}F[c>>2]=b;return 0}return d}function st(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!G[a+632|0]){break a}c=F[a+100>>2];b=F[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=F[a+640>>2];if(b){Ia[F[c+8>>2]](c,b)}E[a+636>>1]=0;F[a+640>>2]=0;if(H[a+638>>1]){b=0;while(1){d=b<<2;e=F[d+F[a+644>>2]>>2];if(e){Ia[F[c+8>>2]](c,e)}F[F[a+644>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=F[a+644>>2];if(b){Ia[F[c+8>>2]](c,b)}E[a+638>>1]=0;F[a+644>>2]=0;break a}b=F[a+640>>2];if(b){Ia[F[c+8>>2]](c,b)}E[a+636>>1]=0;F[a+640>>2]=0}D[a+632|0]=0}function Sp(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;b=0;h=F[a+80>>2];if(F[h+164>>2]!=F[61489]){a:{if(!c){break a}i=F[d>>2];F[f>>2]=0;if(!(Ia[F[h+164>>2]](a,F[a+84>>2],i,f,F[h+20>>2])|0)){break a}while(1){b=b+1|0;if((c|0)==(b|0)){b=c;break a}d=d+e|0;i=F[d>>2];h=F[a+80>>2];f=f+g|0;F[f>>2]=0;if(Ia[F[h+164>>2]](a,F[a+84>>2],i,f,F[h+20>>2])|0){continue}break}}return(b>>>0>>0?b:c)|0}a=F[a+12>>2];b=F[a+80>>2];return Ia[F[b+168>>2]](a,F[a+84>>2],c,d,e,f,g,F[b+24>>2])|0}function nn(a,b){var c=0,d=0,e=0;c=F[a+100>>2];d=F[c+80>>2]+L(F[c+64>>2],20)|0;c=H[d+12>>1]|16;if(G[a+140|0]){c=jc(F[a+108>>2],b)|c&112}E[d+12>>1]=c;c=F[a+100>>2];if($a(c,1,1)){a=F[c+64>>2];a:{if(a>>>0>2]){d=F[c+72>>2];e=F[c+84>>2];a=F[c+80>>2]+L(a,20)|0;break a}e=F[c+84>>2];d=F[c+72>>2];a=e+L(d?d-1|0:0,20)|0}d=L(d,20)+e|0;e=F[a+4>>2];F[d>>2]=F[a>>2];F[d+4>>2]=e;F[d+16>>2]=F[a+16>>2];e=F[a+12>>2];F[d+8>>2]=F[a+8>>2];F[d+12>>2]=e;F[d>>2]=b;F[c+64>>2]=F[c+64>>2]+1;F[c+72>>2]=F[c+72>>2]+1}}function oA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=F[b+68>>2];if(d){g=F[b+80>>2];b=0;while(1){e=L(b,20)+g|0;f=F[e>>2];c=bh(f);a=16;a:{b:{switch(f-6042|0){case 47:case 48:case 50:a=20;break a;case 44:case 49:case 51:case 52:case 53:case 54:case 55:a=21;break a;case 45:case 46:case 57:case 67:a=22;break a;case 0:break a;default:break b}}a=c;if((c&255)!=7){break a}a=7;c=(c>>>8|0)-3|0;if((c&255)>>>0>8){break a}a=G[(c<<24>>24)+137048|0]}D[e+18|0]=a;b=b+1|0;if((d|0)!=(b|0)){continue}break}}}function dg(a,b){var c=0,d=0,e=0;c=F[b+4>>2];if(c){if(F[b>>2]){while(1){e=d<<4;c=F[(e+c|0)+8>>2];if(c){Ia[F[a+8>>2]](a,c)}c=e+F[b+4>>2]|0;F[c+8>>2]=0;c=F[c+12>>2];if(c){Ia[F[a+8>>2]](a,c)}c=F[b+4>>2];F[(e+c|0)+12>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){Ia[F[a+8>>2]](a,c)}F[b+4>>2]=0}c=F[b+16>>2];if(c){if(F[b+12>>2]){d=0;while(1){e=d<<2;c=F[e+c>>2];if(c){Ia[F[a+8>>2]](a,c)}c=F[b+16>>2];F[e+c>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){Ia[F[a+8>>2]](a,c)}F[b+16>>2]=0}}function cd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ga-16|0;Ga=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=F[a+40>>2];if(!d){break a}f=6;g=F[a+36>>2];if((g|0)<=0){break a}g=(g<<2)+d|0;while(1){b:{if(F[d>>2]!=(b|0)){break b}c=F[b>>2];c:{if(!c){break c}c=F[c+96>>2];h=F[F[c>>2]+32>>2];if(!h){break c}c=Ia[h|0](c,9712)|0;if(!c){break c}if(Ia[F[c>>2]](b,e+8|0)|0){break c}if(F[e+12>>2]==14){break b}}F[a+92>>2]=F[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}Ga=e+16|0;return f|0}function Ac(a,b){var c=0,d=0,e=0;c=F[a+20>>2];if(!(G[a+13|0]?c:0)){return Ua(b,F[a+16>>2])}d=F[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(F[(L(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=F[(L(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;F[a+24>>2]=0;d=F[a+36>>2];if((d|0)<=(b|0)){break b}return Ua(b-d|0,F[a+16>>2])+F[a+40>>2]|0}F[a+24>>2]=c}a=L(c,20)+a|0;return Ua(b-d|0,F[a+44>>2])+F[a+40>>2]|0}function _a(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=2147483647;a:{if(!b){break a}c=a>>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){e=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}g=d>>>1|0;f=g+(c<<16)|0;c=(c>>>16|0)+(f>>>0>>0)|0;if(c>>>0>=d>>>0){break a}g=O(c);h=32-g|0;c=f>>>h|c<>>0)/(d>>>0)|0;i=c-L(d,e)|0;c=f<>>31;i=f-(d>>>0>f>>>0?0:d)|0;e=e<<1|d>>>0<=f>>>0;c=c<<1;h=h-1|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-e|0:e}function ri(a,b){var c=0,d=0,e=0,f=0;f=F[a+16>>2];a:{if(!f){break a}if(!F[a+12>>2]){c=f;break a}c=f;while(1){f=e<<2;c=F[f+c>>2];if(c){Ia[F[b+8>>2]](b,c)}c=F[a+16>>2];F[f+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Ia[F[b+8>>2]](b,c)}F[a+16>>2]=0;c=F[a+4>>2];b:{if(!c){break b}if(!F[a>>2]){d=c;break b}e=0;d=c;while(1){c=e<<3;d=F[(c+d|0)+4>>2];if(d){Ia[F[b+8>>2]](b,d)}d=F[a+4>>2];F[(c+d|0)+4>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(d){Ia[F[b+8>>2]](b,d)}F[a+4>>2]=0}function po(a){var b=0,c=0,d=0,e=0,f=0,g=0;if((a|0)==163632){return 0}b=G[a|0]|G[a+1|0]<<8;if(!b){return 2}c=(b<<8|b>>>8)&65535;b=G[a+2|0];f=L(c+1|0,b);a:{if(!b){b=0;break a}d=b&3;a=(L(b,c)+a|0)+3|0;if(b-1>>>0<3){b=0}else{g=b&252;b=0;while(1){c=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=G[c|0]|G[c+1|0]<<8|(G[c+2|0]<<16|G[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!d){break a}while(1){b=G[a|0]|b<<8;a=a+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}}return(b+f|0)+2|0}function zf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b=F[c+68>>2];if(!b){break a}a=F[c+80>>2];c=0;if(b-1>>>0>=7){f=b&-8;while(1){D[(L(c,20)+a|0)+15|0]=0;D[(L(c|1,20)+a|0)+15|0]=0;D[(L(c|2,20)+a|0)+15|0]=0;D[(L(c|3,20)+a|0)+15|0]=0;D[(L(c|4,20)+a|0)+15|0]=0;D[(L(c|5,20)+a|0)+15|0]=0;D[(L(c|6,20)+a|0)+15|0]=0;D[(L(c|7,20)+a|0)+15|0]=0;c=c+8|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}b=b&7;if(!b){break a}while(1){D[(L(c,20)+a|0)+15|0]=0;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}}function tf(a){var b=0,c=0,d=0;if(!a){if(F[61730]){b=tf(F[61730])}if(F[61594]){b=tf(F[61594])|b}a=F[61747];if(a){while(1){if(F[a+20>>2]!=F[a+28>>2]){b=tf(a)|b}a=F[a+56>>2];if(a){continue}break}}return b}d=F[a+76>>2]>=0;a:{b:{if(F[a+20>>2]==F[a+28>>2]){break b}Ia[F[a+36>>2]](a,0,0)|0;if(F[a+20>>2]){break b}b=-1;break a}b=F[a+8>>2];c=F[a+4>>2];if((b|0)!=(c|0)){b=c-b|0;Ia[F[a+40>>2]](a,b,b>>31,1)|0}b=0;F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+4>>2]=0;F[a+8>>2]=0;if(!d){break a}}return b}function tB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=F[a+712>>2];a:{if(G[c+24|0]==2){c=pc(Nb(F[F[a+96>>2]+4>>2],9005),9996,0);if(!c){break a}c=F[c+4>>2];if(!c){break a}return Ia[c|0](a,b)|0}e=pc(F[a+96>>2],10901,1);if(!e|!F[c+20>>2]){break a}while(1){a=H[F[c+1188>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=I[c+1356>>2]){break b}a=F[F[c+1360>>2]+(a<<2)>>2];break c}a=Ia[F[e+20>>2]](a)|0}if(!a){break b}if(!ab(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function Pt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;F[c>>2]=-1;F[d>>2]=-1;f=H[a+340>>1];if(f){h=F[a+356>>2];a=0;while(1){e=L(a,20)+h|0;a:{if(H[e+6>>1]!=(b|0)|!H[e+8>>1]){break a}b:{c:{switch(H[e>>1]-1|0){case 2:if(H[e+2>>1]>1){break a}g=c;if(H[e+4>>1]==1033|F[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(H[e+2>>1]){break a}g=d;if(!H[e+4>>1]){break b}if(F[d>>2]!=-1){break a}}F[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(F[c>>2]<0?F[d>>2]>=0:1)|0}function Ud(a){var b=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+80>>2];if(b){Ia[b|0](F[a+48>>2])}b=F[a+84>>2];if(b){Ia[b|0](F[a+52>>2])}b=F[a+88>>2];if(b){Ia[b|0](F[a+56>>2])}b=F[a+92>>2];if(b){Ia[b|0](F[a+60>>2])}b=F[a+96>>2];if(b){Ia[b|0](F[a- -64>>2])}b=F[a+100>>2];if(b){Ia[b|0](F[a+68>>2])}b=F[a+104>>2];if(b){Ia[b|0](F[a+72>>2])}b=F[a+108>>2];if(b){Ia[b|0](F[a+76>>2])}Ud(F[a+12>>2]);Ta(a)}}function Lj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;d=F[a+736>>2];a:{if(!d){c=Kd(a,0);if(c){break a}d=F[a+736>>2]}c=6;if(H[a+14>>1]>>0){break a}b:{if(b){f=F[a+100>>2];g=F[d+12>>2];d=F[g+16>>2]+L(b,12)|0;c=Ia[F[F[a+540>>2]+144>>2]](a,H[d-8>>1],e+12|0)|0;if(c){break a}c=F[a+24>>2];if(c){Ia[F[f+8>>2]](f,c)}F[a+24>>2]=F[e+12>>2];c=eg(a,F[g>>2],F[d-12>>2]);if(c){c=(c|0)==-1?0:c;break a}c=0;break b}c=eg(a,0,0)}E[a+6>>1]=b;F[a+8>>2]=F[a+8>>2]&-32769}Ga=e+16|0;return c|0}function Vb(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=E[a+2>>1];if((d|0)<=0){break a}a=F[a+4>>2];if(d-1>>>0>=3){f=d&-4;while(1){F[a>>2]=F[a>>2]+b;F[a+4>>2]=F[a+4>>2]+c;F[a+8>>2]=F[a+8>>2]+b;F[a+16>>2]=F[a+16>>2]+b;F[a+24>>2]=F[a+24>>2]+b;F[a+12>>2]=F[a+12>>2]+c;F[a+20>>2]=F[a+20>>2]+c;F[a+28>>2]=F[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){F[a>>2]=F[a>>2]+b;F[a+4>>2]=F[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function If(a){var b=0,c=0;F[61902]=0;No(a);b=F[61902];F[61902]=0;if((b|0)!=1){F[a+168>>2]=0;Ta(F[a+172>>2]);F[a+172>>2]=0;F[a+164>>2]=0;F[a+168>>2]=0;F[a+100>>2]=0;Ta(F[a+104>>2]);F[a+104>>2]=0;F[a+96>>2]=0;F[a+100>>2]=0;b=F[a+32>>2];if(b){while(1){b=F[a+36>>2]+(b<<5)|0;F[b-12>>2]=0;c=b-8|0;Ta(F[c>>2]);F[c>>2]=0;b=b-16|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+32>>2]-1|0;F[a+32>>2]=b;if(b){continue}break}}Ta(F[a+36>>2]);F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;return}ca(0)|0;Y()|0;Hb();V()}function lw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=F[a+28>>2];if(G[c+44|0]){break b}d=Bk(c,F[b>>2],F[b+4>>2]);if(!d){break b}a=F[a+24>>2];if(F[a>>2]){break a}F[a>>2]=d;return}d=F[b+12>>2];f=F[b+8>>2];c:{b=F[c+12>>2];if((E[b+22>>1]+E[b+58>>1]|0)+1>>>0>I[b+4>>2]){b=Ub(b,1,0);if(b){break c}}a=F[c+20>>2];if(G[c+45|0]){b=F[a+8>>2];c=E[a+2>>1];e=F[a+4>>2]+(c<<3)|0;F[e+4>>2]=d>>10;F[e>>2]=f>>10;D[b+c|0]=1}E[a+2>>1]=H[a+2>>1]+1;return}a=F[a+24>>2];if(F[a>>2]){break a}F[a>>2]=b}}function fA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b=F[c+68>>2];if(!b){break a}a=F[c+80>>2];c=0;if(b-1>>>0>=3){e=b&-4;while(1){d=L(c,20)+a|0;E[d+12>>1]=H[d+12>>1]&65519;d=L(c|1,20)+a|0;E[d+12>>1]=H[d+12>>1]&65519;d=L(c|2,20)+a|0;E[d+12>>1]=H[d+12>>1]&65519;d=L(c|3,20)+a|0;E[d+12>>1]=H[d+12>>1]&65519;c=c+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=L(c,20)+a|0;E[e+12>>1]=H[e+12>>1]&65519;c=c+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}}function $y(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ga-32|0;Ga=e;F[e+16>>2]=b;d=F[a+48>>2];F[e+20>>2]=c-((d|0)!=0);g=F[a+44>>2];F[e+28>>2]=d;F[e+24>>2]=g;a:{b:{d=za(F[a+60>>2],e+16|0,2,e+12|0)|0;if(d){F[61729]=d;d=-1}else{d=0}if(d){b=32}else{d=F[e+12>>2];if((d|0)>0){break b}b=d?32:16}F[a>>2]=b|F[a>>2];break a}g=F[e+20>>2];if(g>>>0>=d>>>0){f=d;break a}f=F[a+44>>2];F[a+4>>2]=f;F[a+8>>2]=f+(d-g|0);if(F[a+48>>2]){F[a+4>>2]=f+1;D[(b+c|0)-1|0]=G[f|0]}f=c}Ga=e+32|0;return f|0}function ti(a,b){var c=0,d=0,e=0;if(b){c=F[b+608>>2];if(c){d=F[c+28>>2];e=b+640|0;if(F[e>>2]){Eb(c,e)}c=F[b+636>>2];if(c){Ia[F[d+8>>2]](d,c)}F[b+640>>2]=0;F[b+632>>2]=0;F[b+636>>2]=0;F[b+624>>2]=0;F[b+628>>2]=0;F[b+616>>2]=0;F[b+620>>2]=0;F[b+608>>2]=0;F[b+612>>2]=0}c=F[b+644>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+644>>2]=0;c=F[b+572>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+572>>2]=0;c=F[b+580>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+580>>2]=0;c=F[b+592>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+592>>2]=0}}function rC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=F[b+12>>2];a:{if(a){break a}while(1){e=F[b>>2];if(!e){a=163632;break a}b:{c:{a=ib(1,48);if(a){Pf(a,e);e=F[b+12>>2];F[b+12>>2]=e?e:a;if(!e){break a}e=F[a+44>>2];F[61902]=0;_(579,e|0);e=F[61902];F[61902]=0;if((e|0)==1){break c}Ta(a);break b}a=163632;e=F[b+12>>2];F[b+12>>2]=e?e:163632;if(e){break b}break a}ca(0)|0;Y()|0;Hb();V()}a=F[b+12>>2];if(!a){continue}break}}b=F[a+8>>2];if(!b){return 0}return Ia[b|0](F[a+12>>2],c,d)|0}function xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>I[b+160>>2]){kb(b,8)}c=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=G[a+4|0]|G[a+5|0]<<8|(G[a+6|0]<<16|G[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<20|d>>>0>F[b+160>>2]-a>>>0)&d-20>>>1>>>0>=c>>>0)){kb(b,8)}if(!(!c|F[b+164>>2]<=0)){while(1){if(I[b+172>>2]<=(G[e+1|0]|G[e|0]<<8)>>>0){kb(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ia[F[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=sb(b,95328,d);if(c){break a}E[a+290>>1]=0;E[a+282>>1]=0;E[a+284>>1]=0;E[a+286>>1]=0;E[a+288>>1]=0;E[a+274>>1]=0;E[a+276>>1]=0;E[a+278>>1]=0;E[a+280>>1]=0;E[a+266>>1]=0;E[a+268>>1]=0;E[a+270>>1]=0;E[a+272>>1]=0;b:{if(F[a+260>>2]<65536){break b}c=sb(b,95344,d);if(c){break a}if(H[a+280>>1]<=63){E[a+280>>1]=64}if(H[a+276>>1]<65532){break b}E[a+276>>1]=65531}c=0}return c|0}function zz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[d+12>>2]=b;c=33;a:{if(!a){break a}c=6;e=d+12|0;b:{if(!e){break b}b=a+20|0;c=F[a+16>>2];a=b+(c<<2)|0;c:{if((c|0)<=0){break c}while(1){if(!ab(F[F[F[b>>2]>>2]+8>>2],238580)){break c}b=b+4|0;if(a>>>0>b>>>0){continue}break}}c=11;if((a|0)==(b|0)){break a}c=7;a=F[b>>2];f=F[F[a>>2]+32>>2];if(!f){break b}a=Ia[f|0](a,11331)|0;if(!a){break b}a=F[a>>2];if(!a){break b}c=Ia[a|0](F[b>>2],238290,e,0)|0}}Ga=d+16|0;return c|0}function Lw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[a+32>>2]=c;e=a,f=Va(c,4,0,b,0,d+12|0),F[e+24>>2]=f;a:{b:{if(F[d+12>>2]){break b}e=a,f=Va(c,4,0,b,0,d+12|0),F[e+28>>2]=f;if(F[d+12>>2]){break b}F[a+20>>2]=0;F[a+16>>2]=b;F[a+8>>2]=0;F[a+12>>2]=-559038737;F[a>>2]=0;F[a+4>>2]=0;b=F[7582];F[a+36>>2]=F[7581];F[a+40>>2]=b;b=F[7584];F[a+44>>2]=F[7583];F[a+48>>2]=b;a=0;break a}b=F[a+24>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+24>>2]=0;a=F[d+12>>2]}Ga=d+16|0;return a|0}function Lk(a,b){var c=0,d=0,e=0;d=Ga-16|0;Ga=d;c=F[a>>2]+1|0;F[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Sb(d+12|0,b);c=F[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=G[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;F[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(G[c|0]!=62){break c}}c=c+1|0;b=0}F[a>>2]=c;Ga=d+16|0;return b}function te(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==G[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}}d:{if(G[a|0]==(b&255)|c>>>0<4){break d}d=L(b&255,16843009);while(1){e=d^F[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==G[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function Gh(a){var b=0,c=0,d=0,e=0,f=M(0),g=M(0);b=a+16|0;a:{if(F[a+16>>2]){e=F[a+12>>2];c=F[a+8>>2];f=J[a+20>>2];g=J[a+24>>2];if(!(f==J[a+28>>2]&g==J[a+32>>2])){a=F[c+36>>2];d=F[c+16>>2];F[61902]=0;ja(d|0,c|0,e|0,b|0,M(f),M(g),a|0);a=F[61902];F[61902]=0;if((a|0)==1){break a}}a=F[c+48>>2];d=F[c+28>>2];F[61902]=0;ba(d|0,c|0,e|0,b|0,a|0);a=F[61902];F[61902]=0;if((a|0)==1){break a}}F[b>>2]=0;F[b+4>>2]=0;F[b+16>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;return}ca(0)|0;Y()|0;Hb();V()}function $l(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!F[F[61770]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){D[a+1|0]=b&63|128;D[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){D[a+2|0]=b&63|128;D[a|0]=b>>>12|224;D[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){D[a+3|0]=b&63|128;D[a|0]=b>>>18|240;D[a+2|0]=b>>>6&63|128;D[a+1|0]=b>>>12&63|128;a=4;break a}}F[61729]=25;a=-1}else{a=1}break a}D[a|0]=b;a=1}return a}function un(a,b){var c=0,d=0,e=0;c=G[a+2|0]|G[a+3|0]<<8;c=(c<<8|c>>>8)&65535;d=c>>>4|0;a=G[a|0]|G[a+1|0]<<8;a=(a<<8|a>>>8)&65535;e=a>>>4|0;a:{if(d-e>>>0>=31){F[b>>2]=-1;break a}d=1<>2]=F[b>>2]|((d<<1)-e|0)-(d>>>0>>0)}b:{if(c-a>>>0>=31){F[b+4>>2]=-1;break b}d=1<>2]=F[b+4>>2]|((d<<1)-e|0)-(d>>>0>>0)}c=c>>>9|0;a=a>>>9|0;if(c-a>>>0>=31){F[b+8>>2]=-1;return 1}d=b;e=F[b+8>>2];b=1<>2]=e|((b<<1)-a|0)-(a>>>0>b>>>0);return 1}function sk(a,b){var c=0,d=0,e=0,f=0,g=0;e=F[a>>2];if(e){f=F[(F[a+24>>2]+L(b,204)|0)+200>>2];a=F[a+8>>2];while(1){b=F[a+24>>2];if(b){d=F[a+16>>2];c=F[b+8>>2];a:{if(d&512){break a}c=F[b+12>>2]+F[b+8>>2]|0;if(d&1024){break a}d=F[a+28>>2]-F[b>>2]|0;if((d|0)<=0){c=F[b+8>>2]+Ua(d,f)|0;break a}c=F[b+12>>2];g=F[b+8>>2];b=F[b+4>>2];if((b|0)<=(d|0)){c=Ua(d-b|0,f)+(c+g|0)|0;break a}c=bb(d,c,b)+g|0}F[a+36>>2]=c;F[a+16>>2]=F[a+16>>2]|32}a=a+40|0;e=e-1|0;if(e){continue}break}}}function Kk(a,b,c,d){var e=0,f=0,g=0,h=0;h=F[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=G[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=G[e+31072|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}D[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}D[c+g|0]=f<<4;g=g+1|0}F[a>>2]=b+h}return g}function rl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}D[c|0]=0;f=16;a:{if(F[a+16>>2]<=(b|0)){break a}if(!(G[a+9|0]&2)){return 6}f=6;b:{c:{g=F[a+128>>2];e=F[g+40>>2];switch(e+2|0){case 0:break a;case 2:break c;default:break b}}e=F[a+96>>2];f=F[F[e>>2]+32>>2];d:{if(!f){e=0;break d}e=Ia[f|0](e,9305)|0;g=F[a+128>>2]}F[g+40>>2]=e?e:-2}if(!e){return 6}f=6;e=F[e>>2];if(!e){break a}f=Ia[e|0](a,b,c,d)|0}return f|0}function bj(a){var b=0,c=0,d=0,e=0;c=Ga-48|0;Ga=c;b=F[a>>2];a:{if(b){break a}e=a-108|0;while(1){b=F[e>>2];if(!b){b=163632;break a}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;b=$i(c,Ab(b,1836020344));if(!b){b=163632}d=F[a>>2];F[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){Xa(b)}b=F[a>>2];if(!b){continue}break}}Ga=c+48|0;return I[b+16>>2]<8?163632:F[b+12>>2]}function aj(a){var b=0,c=0,d=0,e=0;c=Ga-48|0;Ga=c;b=F[a>>2];a:{if(b){break a}e=a-112|0;while(1){b=F[e>>2];if(!b){b=163632;break a}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;b=_i(c,Ab(b,1836020340));if(!b){b=163632}d=F[a>>2];F[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){Xa(b)}b=F[a>>2];if(!b){continue}break}}Ga=c+48|0;return I[b+16>>2]<8?163632:F[b+12>>2]}function Hd(a){var b=0,c=0,d=0,e=0;c=Ga-48|0;Ga=c;b=F[a>>2];a:{if(b){break a}e=a-16|0;while(1){b=F[e>>2];if(!b){b=163632;break a}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;b=wo(c,Ab(b,1751672161));if(!b){b=163632}d=F[a>>2];F[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){Xa(b)}b=F[a>>2];if(!b){continue}break}}Ga=c+48|0;return I[b+16>>2]<36?163632:F[b+12>>2]}function Gd(a){var b=0,c=0,d=0,e=0;c=Ga-48|0;Ga=c;b=F[a>>2];a:{if(b){break a}e=a-44|0;while(1){b=F[e>>2];if(!b){b=163632;break a}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;b=wo(c,Ab(b,1986553185));if(!b){b=163632}d=F[a>>2];F[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){Xa(b)}b=F[a>>2];if(!b){continue}break}}Ga=c+48|0;return I[b+16>>2]<36?163632:F[b+12>>2]}function nh(a){var b=0,c=0,d=0,e=0;c=Ga-48|0;Ga=c;b=F[a>>2];a:{if(b){break a}e=a-88|0;while(1){b=F[e>>2];if(!b){b=163632;break a}F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;b=eo(c,Ab(b,1801810542));if(!b){b=163632}d=F[a>>2];F[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){Xa(b)}b=F[a>>2];if(!b){continue}break}}Ga=c+48|0;return I[b+16>>2]<4?163632:F[b+12>>2]}function iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=F[a+16>>2];a:{if(j){c=F[b>>2]+1|0;k=F[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=F[e>>2];if((f|0)==(c|0)){a=F[((i<<3)+k|0)+4>>2];F[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?F[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=F[a+20>>2]+(d<<3)|0;c=F[a>>2]&2147483647;g=F[a+4>>2]}F[b>>2]=c;return g|0}function Pu(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=F[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(G[c|0]<<8|G[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=G[c|0]<<8|G[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(G[a+1|0]|G[a|0]<<8)|0;if(b>>>0>=(G[a+3|0]|G[a+2|0]<<8)>>>0){break a}c=G[a+7|0]|G[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=G[b|0]<<8|G[b+1|0];if(!b){break a}d=b+(G[a+5|0]|G[a+4|0]<<8)&65535}return d|0}function bx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=F[b>>2];d=F[a+16>>2];f=H[d+2>>1];g=f+(H[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=H[d>>1];j=(f-a|0)+1|0;h=H[d+4>>1];i=a+(h<<8)|0;k=F[d+12>>2];while(1){c=c+1|0;e=c>>>0>i>>>0?c:i;c=e&255;d=c>>>0>f>>>0;e=(d&a>>>0<=c>>>0)+(e>>>8|0)&65535;d=a>>>0>c>>>0?a:d?a:c;c=(e<<8)+d|0;e=H[k+((d-a|0)+L(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0>>0){continue}break}e=65535}F[b>>2]=c;return e|0}function oC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=F[b+12>>2];a:{if(a){break a}while(1){f=F[b>>2];if(!f){return Eo(163632,c,d,e)|0}b:{c:{a=ib(1,48);if(a){Pf(a,f);f=F[b+12>>2];F[b+12>>2]=f?f:a;if(!f){break a}f=F[a+44>>2];F[61902]=0;_(579,f|0);f=F[61902];F[61902]=0;if((f|0)==1){break c}Ta(a);break b}a=163632;f=F[b+12>>2];F[b+12>>2]=f?f:163632;if(f){break b}break a}ca(0)|0;Y()|0;Hb();V()}a=F[b+12>>2];if(!a){continue}break}}return Eo(a,c,d,e)|0}function Tx(a,b){a=a|0;b=b|0;var c=0;if(F[b+72>>2]==1651078259){c=F[a>>2];F[a+20>>2]=F[b+100>>2];F[a+24>>2]=F[b+104>>2];a=a+28|0;if(D[F[b+156>>2]+4|0]&1){c=F[b+80>>2];F[a>>2]=F[b+76>>2];F[a+4>>2]=c;c=F[b+96>>2];F[a+16>>2]=F[b+92>>2];F[a+20>>2]=c;c=F[b+88>>2];F[a+8>>2]=F[b+84>>2];F[a+12>>2]=c;a=F[b+156>>2];F[a+4>>2]=F[a+4>>2]&-2;return 0}if(a){F[a>>2]=0;F[a+4>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0}a=fl(c,b+76|0,a)}else{a=18}return a|0}function Hy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ga-16|0;Ga=d;a:{if(F[b>>2]){if(G[c+11|0]>>>7|0){e=F[c+4>>2]}else{e=G[c+11|0]}if(e){Wl(c,238804,hb(238804))}e=F[b+4>>2];Ia[F[F[e>>2]+24>>2]](d,e,F[b>>2]);F[61902]=0;aa(886,c|0,d|0)|0;b=F[61902];F[61902]=0;if((b|0)==1){break a}Sd(d)}b=F[c+4>>2];F[a>>2]=F[c>>2];F[a+4>>2]=b;F[a+8>>2]=F[c+8>>2];a=0;while(1){if((a|0)!=3){F[(a<<2)+c>>2]=0;a=a+1|0;continue}break}Ga=d+16|0;return}a=Z()|0;Y()|0;Sd(d);$(a|0);V()}function vp(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;b=F[a+12>>2];F[f>>2]=0;F[e>>2]=0;g=b;h=F[b+84>>2];b=F[b+80>>2];h=Ia[F[b+212>>2]](g,h,c,d,e,f,F[b+68>>2])|0;if(h){c=F[a+12>>2];a:{if(c){b=F[e>>2];g=F[c+20>>2];d=F[a+20>>2];if((g|0)!=(d|0)){b=FC(EC(d,d>>31,b,b>>31),Ha,g,g>>31)}F[e>>2]=b;b=F[f>>2];c=F[c+24>>2];a=F[a+24>>2];if((c|0)==(a|0)){break a}b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31);break a}b=F[f>>2]}F[f>>2]=b}return h|0}function Ho(a,b,c){var d=0,e=0,f=0;f=F[a+16>>2];e=F[f+108>>2];a:{if(e){break a}while(1){d=F[f+48>>2];if(!d){return Go(163632,a,b,c)}b:{c:{e=ib(1,28);if(e){Ce(e,d);d=F[f+108>>2];F[f+108>>2]=d?d:e;if(!d){break a}d=F[e+24>>2];F[61902]=0;_(579,d|0);d=F[61902];F[61902]=0;if((d|0)==1){break c}Ta(e);break b}e=163632;d=F[f+108>>2];F[f+108>>2]=d?d:163632;if(d){break b}break a}ca(0)|0;Y()|0;Hb();V()}e=F[f+108>>2];if(!e){continue}break}}return Go(e,a,b,c)}function zp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=F[a+12>>2];F[e>>2]=0;F[d>>2]=0;f=b;g=F[b+84>>2];b=F[b+80>>2];f=Ia[F[b+196>>2]](f,g,c,d,e,F[b+52>>2])|0;if(f){c=F[a+12>>2];a:{if(c){b=F[d>>2];g=F[a+20>>2];h=F[c+20>>2];if((g|0)!=(h|0)){b=FC(EC(g,g>>31,b,b>>31),Ha,h,h>>31)}F[d>>2]=b;b=F[e>>2];c=F[c+24>>2];a=F[a+24>>2];if((c|0)==(a|0)){break a}b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31);break a}b=F[e>>2]}F[e>>2]=b}return f|0}function Ap(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=F[a+12>>2];F[e>>2]=0;F[d>>2]=0;f=b;g=F[b+84>>2];b=F[b+80>>2];f=Ia[F[b+192>>2]](f,g,c,d,e,F[b+48>>2])|0;if(f){c=F[a+12>>2];a:{if(c){b=F[d>>2];g=F[a+20>>2];h=F[c+20>>2];if((g|0)!=(h|0)){b=FC(EC(g,g>>31,b,b>>31),Ha,h,h>>31)}F[d>>2]=b;b=F[e>>2];c=F[c+24>>2];a=F[a+24>>2];if((c|0)==(a|0)){break a}b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31);break a}b=F[e>>2]}F[e>>2]=b}return f|0}function uB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=F[a+712>>2];a:{if(G[e+24|0]==2){f=11;e=pc(Nb(F[F[a+96>>2]+4>>2],9005),9996,0);if(!e){break a}e=F[e>>2];if(!e){break a}return Ia[e|0](a,b,c,d)|0}a=F[e+3084>>2];if(!a){return 11}b=H[F[e+1188>>2]+(b<<1)>>1];if((b|0)==65535){break a}b:{if(b>>>0>=391){a=b-391|0;if(a>>>0>=I[e+1356>>2]){break a}a=F[F[e+1360>>2]+(a<<2)>>2];break b}a=Ia[F[a+20>>2]](b)|0}if(!a){break a}Cg(c,a,d)}return f|0}function hm(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=G[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=F[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=L(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=F[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=G[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return hb(a)+a|0}return a}function TA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=F[a+8>>2];a:{if(!c){break a}b:{switch(G[a|0]){case 0:e=G[b+c|0];break a;case 3:break b;default:break a}}if(I[a+20>>2]>b-F[a+16>>2]>>>0){e=G[a+24|0];break a}d=c+2|0;g=c+F[a+12>>2]|0;c=G[c+1|0]|G[c|0]<<8;while(1){if(b>>>0>>0){break a}f=G[d+2|0]|G[d+1|0]<<8;if(f>>>0>b>>>0){e=G[d|0];D[a+24|0]=e;F[a+20>>2]=f-c;F[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function kg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=b&-4;if(c){while(1){e=(G[(d|3)+a|0]|(G[(d|1)+a|0]<<16|G[a+d|0]<<24|G[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){h=(b&3)-f|0;b=0;while(1){g=c<<3&16;d=G[(c|1)+a|0]<<(g^16)|(G[a+c|0]<<(g^24)|d);c=c+2|0;b=b+2|0;if((h|0)!=(b|0)){continue}break}}if(!f){break a}d=G[a+c|0]<<((c<<3^-1)&24)|d}e=d+e|0}return e}function $o(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=F[b+28>>2];e=F[b+24>>2];F[61902]=0;c=ha(643,e|0,c|0,f|0)|0;f=F[61902];F[61902]=0;if((f|0)!=1){a:{if(c){break a}c=F[e+84>>2];e=F[c+32>>2];F[d>>2]=e;f=F[c+36>>2];F[d+4>>2]=f;g=F[c+24>>2];F[d+8>>2]=g;c=F[c+28>>2];F[d+12>>2]=0-c;if(F[a+20>>2]<0){F[d+8>>2]=0-g;F[d>>2]=0-e}g=1;if(F[a+24>>2]>=0){break a}F[d+12>>2]=c;F[d+4>>2]=0-f}yb();return g|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function ng(a){a=a|0;var b=0,c=0;if(a){c=F[a+100>>2];kk(F[a+140>>2]);b=F[a+144>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+144>>2]=0;b=F[a+132>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+132>>2]=0;b=F[a+136>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+136>>2]=0;b=F[a+20>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+20>>2]=0;b=F[a+24>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+24>>2]=0;b=F[a+32>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+32>>2]=0;b=F[a+140>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+140>>2]=0}}function Ss(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=F[a+540>>2];d=F[a+104>>2];e=F[a+100>>2];c=F[a+716>>2];if(c){Ia[c|0](F[a+712>>2])}if(b){Ia[F[b+12>>2]](a)}Eb(F[a+104>>2],a+764|0);F[a+760>>2]=0;c=F[a+104>>2];b=F[c+28>>2];f=F[a+784>>2];if(f){Ia[F[b+8>>2]](b,f)}F[a+784>>2]=0;Eb(c,a+768|0);b=F[a+704>>2];if(b){Ia[F[e+8>>2]](e,b)}F[a+700>>2]=0;F[a+704>>2]=0;Eb(d,a+688|0);Eb(d,a+696|0);F[a+692>>2]=0;F[a+684>>2]=0;Jj(a);F[a+736>>2]=0}}function vz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(!a){break a}d=F[a+36>>2];if(!d){return b|0}if((d|0)<=0){break a}d=0;while(1){c=F[F[a+40>>2]+(e<<2)>>2];b:{if(cd(a,c)){break b}c:{c=F[c+4>>2];if((c|0)<=1937337697){if(!c){break c}if((c|0)!=1634889070){break b}break c}if((c|0)==1937337698){break c}if((c|0)!=1970170211){break b}d=0;c=Ob(a,b);if(c){break a}break b}d=Ob(a,b)}c=d;e=e+1|0;if((e|0)>2]){continue}break}}return c|0}function Gr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=F[a+496>>2];if(!f){return 6}g=F[f+32>>2];if(g){a=0;while(1){e=F[f+28>>2]+L(a,20)|0;a:{if(F[e>>2]!=(c|0)){break a}h=F[e+4>>2];if((h|0)>(b|0)){F[d>>2]=F[e+8>>2];break a}i=F[e+12>>2];if((i|0)<(b|0)){F[d>>2]=F[e+16>>2];break a}j=d,k=bb(b-h|0,F[e+16>>2]-F[e+8>>2]|0,i-h|0)+F[e+8>>2]|0,F[j>>2]=k;g=F[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function _w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=F[a+16>>2];if(!e){F[b>>2]=0;return 0}i=F[a+20>>2];f=F[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=F[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}F[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){F[b>>2]=0;return 0}e=0;if(c){e=F[F[a+20>>2]+(c<<4)>>2];d=c+1|0}F[b>>2]=e;return d|0}function bB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=F[b+100>>2];d=G[a+2|0]|G[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=qb(c,F[F[e+80>>2]+L(F[e+64>>2],20)>>2]);a:{if((d|0)==-1){break a}c=G[a+6|0]|G[a+7|0]<<8;if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}f=1;g=a+4|0;c=a;a=L(HC(G[a+4|0]|G[a+5|0]<<8),d);hd(g,b,c,(a|0)<0?163632:(c+(a<<1)|0)+8|0,F[e+88>>2]+L(F[e+64>>2],20)|0);F[e+64>>2]=F[e+64>>2]+1}return f|0}function jz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=F[d>>2];h=F[d+4>>2];f=F[d+8>>2];a:{if((h|0)>(f+7|0)){g=e;break a}if(!e){g=nb(800);F[d+4>>2]=200;F[d>>2]=g;f=0;break a}g=nb(h<<3);f=Ya(g,e,f<<2);Ta(e);F[d+4>>2]=h<<1;F[d>>2]=f;f=F[d+8>>2]}e=(f<<2)+g|0;F[e>>2]=3;F[e+4>>2]=F[a>>2];F[e+8>>2]=F[a+4>>2];F[e+12>>2]=F[b>>2];F[e+16>>2]=F[b+4>>2];F[e+20>>2]=F[c>>2];a=F[c+4>>2];F[d+8>>2]=f+7;F[e+24>>2]=a;return 0}function Cu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=F[a>>2];d=F[f+140>>2];c=F[b+8>>2];g=F[f+32>>2];e=F[b+16>>2];if(e){c=(L(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(F[b>>2]){case 0:c=23;if((e|0)==F[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(F[d+44>>2]+F[d+40>>2]|0)){break a}}c=0;Dc(f,0);F[a+24>>2]=F[d+40>>2]<<6;F[a+28>>2]=0-(F[d+44>>2]<<6);F[a+36>>2]=H[d+4>>1]<<6}return c|0}function Pk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ga-16|0;Ga=f;F[f+12>>2]=0;e=F[d>>2];if(e){if(e){Ia[F[c+8>>2]](c,e)}F[d>>2]=0}a:{if(!b){e=0;break a}b:{e=b-1|0;if(G[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){if(D[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break c}break}e=0;break a}e=gb(c,b+1|0,f+12|0);g=F[f+12>>2];if(g){break a}h=Ya(e,a,b)+b|0,i=0,D[h|0]=i;g=F[f+12>>2]}F[d>>2]=e;Ga=f+16|0;return g}function Cw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Ga-16|0;Ga=f;Sb(a,F[a+8>>2]);g=F[a>>2];F[f+12>>2]=g;h=F[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(G[g|0]!=60){break a}F[f+12>>2]=g+1;j=d,k=Kk(f+12|0,h,b,c),F[j>>2]=k;b=F[f+12>>2];F[a>>2]=b;if(G[b|0]!=62&b>>>0>2]){break a}b=b+1|0;break b}j=d,k=Kk(f+12|0,h,b,c),F[j>>2]=k;b=F[f+12>>2]}F[a>>2]=b;i=0}Ga=f+16|0;return i|0}function Xu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=F[a+24>>2];F[a+48>>2]=b;d=F[a+28>>2];F[a+52>>2]=d;e=F[a+8>>2];f=e+F[a>>2]|0;F[a+8>>2]=f>>1;c=b;b=F[a+16>>2];c=c+b|0;F[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;F[a+16>>2]=e>>2;b=b+c|0;F[a+32>>2]=b>>2;c=d;d=F[a+20>>2];f=c+d|0;F[a+44>>2]=f>>1;c=F[a+12>>2];g=c+F[a+4>>2]|0;F[a+12>>2]=g>>1;F[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;F[a+36>>2]=d>>2;b=b+g|0;F[a+20>>2]=b>>2;F[a+28>>2]=b+d>>3}function cs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!G[a+733|0]){break a}d=F[a+736>>2];if(!d){break a}if(!G[d+32|0]){e=vj(a,0);d=F[a+736>>2];F[d+36>>2]=e}if(!G[d+33|0]){return F[d+36>>2]}d=F[d+40>>2];e=F[d+28>>2];b:{if(e){f=e;e=F[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=F[f+e>>2];f=F[e+F[d+24>>2]>>2];break b}e=6;if(I[F[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=bg(a,d,f,b)+F[c>>2]|0,F[g>>2]=h;e=0}return e|0}function bs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!G[a+733|0]){break a}d=F[a+736>>2];if(!d){break a}if(!G[d+44|0]){e=vj(a,1);d=F[a+736>>2];F[d+48>>2]=e}if(!G[d+45|0]){return F[d+48>>2]}d=F[d+52>>2];e=F[d+28>>2];b:{if(e){f=e;e=F[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=F[f+e>>2];f=F[e+F[d+24>>2]>>2];break b}e=6;if(I[F[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=bg(a,d,f,b)+F[c>>2]|0,F[g>>2]=h;e=0}return e|0}function Vl(a,b){var c=0,d=0,e=0,f=0,g=0;f=a;d=Ga-1040|0;Ga=d;g=F[61729];a:{b:{c:{a=d+16|0;c=H[((b>>>0>149?0:b)<<1)+243792>>1]+241968|0;e=hb(c);d:{if(e>>>0>=1024){Ya(a,c,1023);D[a+1023|0]=0;c=68;break d}Ya(a,c,e+1|0);c=0}switch(c+1|0){case 1:break a;case 0:break c;default:break b}}c=F[61729]}a=238806;if((c|0)==28){break a}la();V()}if(!G[a|0]){F[d>>2]=b;a=d+16|0;Cd(a,1024,238743,d)}F[61729]=g;kf(f,a);Ga=d+1040|0}function Cp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ga-16|0;Ga=b;F[b+12>>2]=c;d=F[a+80>>2];e=F[d+184>>2];a:{if((e|0)!=F[61494]){Ia[e|0](a,F[a+84>>2],1,b+12|0,0,b+8|0,0,F[d+40>>2]);c=F[b+8>>2];break a}d=F[a+12>>2];e=F[d+80>>2];c=Ia[F[e+176>>2]](d,F[d+84>>2],c,F[e+32>>2])|0;d=F[a+12>>2];if(!d){break a}d=F[d+20>>2];a=F[a+20>>2];if((d|0)==(a|0)){break a}c=FC(EC(a,a>>31,c,c>>31),Ha,d,d>>31)}Ga=b+16|0;return c|0}function Bp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ga-16|0;Ga=b;F[b+12>>2]=c;d=F[a+80>>2];e=F[d+188>>2];a:{if((e|0)!=F[61495]){Ia[e|0](a,F[a+84>>2],1,b+12|0,0,b+8|0,0,F[d+44>>2]);c=F[b+8>>2];break a}d=F[a+12>>2];e=F[d+80>>2];c=Ia[F[e+180>>2]](d,F[d+84>>2],c,F[e+36>>2])|0;d=F[a+12>>2];if(!d){break a}d=F[d+24>>2];a=F[a+24>>2];if((d|0)==(a|0)){break a}c=FC(EC(a,a>>31,c,c>>31),Ha,d,d>>31)}Ga=b+16|0;return c|0}function td(a,b){var c=0,d=0,e=0;c=Ga-16|0;Ga=c;F[c+12>>2]=0;e=Jb(a,c+12|0);d=F[c+12>>2];a:{if(d){break a}b:{c:{d:{e:{e=e&255;switch(e-253|0){case 1:break c;case 2:break d;case 0:break e;default:break b}}e=fb(a,c+12|0);d=F[c+12>>2];if(!d){break b}break a}a=Jb(a,c+12|0);d=F[c+12>>2];if(d){break a}e=(a&255)+253|0;break b}a=Jb(a,c+12|0);d=F[c+12>>2];if(d){break a}e=(a&255)+506|0}E[b>>1]=e;d=0}Ga=c+16|0;return d}function Ug(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){break b}if(b&3){while(1){c=G[b|0];D[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=F[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){F[d>>2]=c;c=F[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=G[b|0];D[d|0]=c;if(!c){break a}while(1){c=G[b+1|0];D[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function yq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=F[b+8>>2];f=F[a>>2];g=F[f+32>>2];e=F[f+132>>2];d=F[b+16>>2];if(d){c=(L(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(F[b>>2]){case 0:c=23;if((d|0)==F[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=H[e+96>>1]){break a}}c=0;Dc(f,0);b=H[e+80>>1];F[a+24>>2]=b<<6;F[a+28>>2]=b-H[e+96>>1]<<6;F[a+36>>2]=H[e+102>>1]<<6}return c|0}function Or(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;F[d>>2]=0;F[d+4>>2]=0;e=F[a+496>>2];if(e){a=F[e+36>>2];e=(a+(F[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=F[b>>2]<<16|F[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;F[d>>2]=F[a+8>>2];h=F[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}F[d+4>>2]=h}return 0}function jx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=F[b+8>>2];d=F[a>>2];f=F[d+32>>2];e=F[b+16>>2];if(e){c=(L(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(F[b>>2]){case 0:c=23;if((e|0)==F[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(F[d+208>>2]+F[d+204>>2]|0)){break a}}c=0;Dc(d,0);F[a+24>>2]=F[d+204>>2]<<6;F[a+28>>2]=0-(F[d+208>>2]<<6);F[a+36>>2]=E[d+236>>1]<<6}return c|0}function Vr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=F[a+20>>2];h=F[a+16>>2];a:{b:{if(h){e=F[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=F[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=F[(c<<3)+i>>2]}j=H[((c<<3)+i|0)+4>>1]+1&65535}F[b>>2]=e;return j|0}function No(a){a=a|0;var b=0,c=0;F[a+168>>2]=0;Ta(F[a+172>>2]);F[a+172>>2]=0;F[a+164>>2]=0;F[a+168>>2]=0;b=F[a+32>>2];if(b){while(1){b=F[a+36>>2]+(b<<5)|0;F[b-12>>2]=0;c=b-8|0;Ta(F[c>>2]);F[c>>2]=0;b=b-16|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+32>>2]-1|0;F[a+32>>2]=b;if(b){continue}break}}Ta(F[a+36>>2]);F[a+100>>2]=0;F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;Ta(F[a+104>>2]);F[a+104>>2]=0;F[a+96>>2]=0;F[a+100>>2]=0}function el(a,b,c){var d=0;a:{if(!c){break a}F[c>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;if(!a){break a}d=F[a+4>>2];if(!d){break a}d=F[d+24>>2];if(!d){break a}Ia[d|0](a,c);if((b&-3)==1){F[c>>2]=F[c>>2]&-64;F[c+4>>2]=F[c+4>>2]&-64;F[c+8>>2]=F[c+8>>2]+63&-64;F[c+12>>2]=F[c+12>>2]+63&-64}if((b&-2)!=2){break a}F[c>>2]=F[c>>2]>>6;F[c+4>>2]=F[c+4>>2]>>6;F[c+8>>2]=F[c+8>>2]>>6;F[c+12>>2]=F[c+12>>2]>>6}}function Zu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=F[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>F[a>>2];if((c|0)<0|c>>>0>=I[a+96>>2]){break a}c=(F[a+56>>2]+(b>>3)|0)-L(c,F[a+104>>2])|0;D[c|0]=G[c|0]|128>>>(b&7);e=0-F[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>F[a>>2];if((c|0)<0|c>>>0>=I[a+96>>2]){break b}a=(F[a+56>>2]+(b>>3)|0)-L(c,F[a+104>>2])|0;D[a|0]=G[a|0]|128>>>(b&7)}}function Wx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=6;b=hb(c);f=b+6|0;a:{b:{if((b|0)<=-6){if(f){break a}a=0;break b}a=F[a>>2];a=Ia[F[a+4>>2]](a,f)|0;if(!a){return 64}Wa(a,0,f)}g=0;c=Ya(a,c,b);a=c+b|0;b=G[11728]|G[11729]<<8;D[a+4|0]=b;D[a+5|0]=b>>>8;b=G[11724]|G[11725]<<8|(G[11726]<<16|G[11727]<<24);D[a|0]=b;D[a+1|0]=b>>>8;D[a+2|0]=b>>>16;D[a+3|0]=b>>>24;F[d>>2]=c;F[e>>2]=0}return g|0}function Vt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{if(b){h=142;g=H[a+152>>1];if(!g){break b}f=F[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(F[f>>2]==(b|0)){g=F[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=F[f+8>>2]+c|0;break c}g=F[F[a+104>>2]+4>>2]}if(!e){f=g;break a}f=F[e>>2];if(f){break a}F[e>>2]=g;h=0}return h|0}return af(F[a+104>>2],c,d,f)|0}function Vo(a,b){a=a|0;b=b|0;var c=0,d=M(0),e=0,f=M(0),g=0;e=b+16|0;g=F[b+12>>2];c=F[b+8>>2];f=M(F[a+4>>2]);d=M(F[a>>2]);a:{b:{if(G[b+4|0]){if(!F[e>>2]){break b}break a}d=M(M(f*J[b>>2])+d);if(F[b+16>>2]){break a}}Ia[F[c+12>>2]](c,g,e,J[b+28>>2],J[b+32>>2],F[c+32>>2]);F[b+16>>2]=1;a=F[b+32>>2];F[b+20>>2]=F[b+28>>2];F[b+24>>2]=a}Ia[F[c+16>>2]](c,g,e,d,f,F[c+36>>2]);J[b+32>>2]=f;J[b+28>>2]=d;return 0}function Cl(a,b){var c=0;a:{if(!a){break a}a=F[a+128>>2];F[a+24>>2]=0;b:{if(!b){F[a+8>>2]=0;F[a+12>>2]=65536;F[a>>2]=65536;F[a+4>>2]=0;b=a;break b}c=F[b+4>>2];F[a>>2]=F[b>>2];F[a+4>>2]=c;c=F[b+12>>2];F[a+8>>2]=F[b+8>>2];F[a+12>>2]=c}c:{if(!(F[b+8>>2]|F[b+4>>2]|F[b>>2]!=65536)){c=2;if(F[b+12>>2]==65536){break c}}F[a+24>>2]=1;c=3}F[a+16>>2]=0;F[a+20>>2]=0;if(!F[(a+16|0)+4>>2]){break a}F[a+24>>2]=c}}function Mv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){i=d&-2;while(1){e=a+b|0;f=G[e|0];D[e|0]=f^c>>>8;g=(b|1)+a|0;e=G[g|0];c=L(c+f|0,52845)+22719|0;D[g|0]=e^c>>>8;c=L(c+e|0,52845)+22719&65535;b=b+2|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(!(d&1)){break a}a=a+b|0;D[a|0]=G[a|0]^c>>>8}}function Bb(a,b){var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[b>>2]=0;a:{b:{c:{d:{c=F[a+8>>2];if(I[a+4>>2]<=c+3>>>0){break d}e=F[a+20>>2];e:{if(e){if((Ia[e|0](a,c,d+12|0,4)|0)!=4){break d}c=F[a+8>>2];b=d+12|0;break e}b=F[a>>2];if(!b){break c}b=b+c|0}b=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}F[b>>2]=85;break a}f=0}F[a+8>>2]=c+4}Ga=d+16|0;return f}function Qj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=F[a+868>>2];a:{if(!d|H[a+648>>1]<=b>>>0){break a}e=8;b=F[d+8>>2]+(b<<1)|0;b=G[b|0]<<8|G[b+1|0];c=H[a+660>>1];if(H[d+2>>1]>>0){break a}e=0;if(!c){break a}a=F[a+672>>2];c=a+(c<<2)|0;b=F[d+4>>2]+(b<<2)|0;while(1){D[a|0]=G[b|0];D[a+1|0]=G[b+1|0];D[a+2|0]=G[b+2|0];D[a+3|0]=G[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function bp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=F[b+28>>2];f=F[b+24>>2];F[61902]=0;c=ha(643,f|0,c|0,g|0)|0;g=F[61902];F[61902]=0;if((g|0)!=1){a:{if(c){break a}c=F[f+84>>2];F[d>>2]=F[c+32>>2]-F[c+44>>2];F[e>>2]=F[c+48>>2]+F[c+36>>2];if(F[a+20>>2]<0){F[d>>2]=0-F[d>>2]}h=1;if(F[a+24>>2]>=0){break a}F[e>>2]=0-F[e>>2]}yb();return h|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function Nd(a,b,c){if(G[a+11664|0]){D[a+11665|0]=1;vd(a,F[a+11736>>2],F[a+11740>>2]);if(G[a+11744|0]){ke(a,a+8|0,a+11704|0,F[a+11712>>2],F[a+11716>>2],1)}D[a+11744|0]=0;E[a+11664>>1]=0}F[a+11720>>2]=b;F[a+11736>>2]=b;D[a+11667|0]=1;F[a+11740>>2]=c;F[a+11724>>2]=c;b=a+8|0;c=F[a+11676>>2];if(!(G[c+5|0]?0:G[a+20|0])){le(b,F[a+11668>>2],F[a+11672>>2],c,F[a+11680>>2],0)}Ya(a+3876|0,b,3868)}function Eu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=F[b>>2]+1|0;if(c>>>0<=65535){h=b;d=F[a+16>>2];a=G[d+6|0]<<8|G[d+7|0];c=a>>>0>>0?c:a;b=c-a|0;g=G[d+9|0]|G[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=G[a+1|0]|G[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}f=0;e=0}F[h>>2]=e}return f|0}function Bt(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ia[F[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=sb(b,95408,d);if(c){break a}F[a+468>>2]=0;F[a+460>>2]=0;F[a+464>>2]=0;F[a+452>>2]=0;F[a+456>>2]=0;E[a+472>>1]=65535;if(!H[a+372>>1]){return 0}c=sb(b,95584,d);if(c){break a}if(H[d>>1]<2){return 0}c=sb(b,95600,d);if(c){break a}c=0;if(H[d>>1]<5){break a}c=sb(b,95632,d)}return c|0}function Xs(a){a=a|0;var b=0,c=0,d=0;b=F[a+196>>2];d=b+10|0;if(d>>>0<=I[a+200>>2]){c=G[b|0]|G[b+1|0]<<8;E[a+32>>1]=c<<8|c>>>8;c=G[b+2|0]|G[b+3|0]<<8;F[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=G[b+4|0]|G[b+5|0]<<8;F[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=G[b+6|0]|G[b+7|0]<<8;F[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=G[b+8|0]|G[b+9|0]<<8;F[a+196>>2]=d;F[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function Fy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ga-32|0;Ga=d;c=kf(d,c);F[61902]=0;ga(887,d+16|0,b|0,c|0);e=F[61902];F[61902]=0;a:{b:{if((e|0)!=1){F[61902]=0;aa(888,a|0,d+16|0)|0;e=F[61902];F[61902]=0;if((e|0)==1){break b}Sd(d+16|0);Sd(c);F[a>>2]=244172;c=F[b+4>>2];F[a+8>>2]=F[b>>2];F[a+12>>2]=c;Ga=d+32|0;return a|0}a=Z()|0;Y()|0;break a}a=Z()|0;Y()|0;Sd(d+16|0)}Sd(c);$(a|0);V()}function ux(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=F[b+4>>2];F[a+2748>>2]=b;c=F[b+28>>2];F[a+4>>2]=F[b+44>>2];F[a+8>>2]=F[b+48>>2];F[a+12>>2]=F[b+9848>>2];F[a+16>>2]=F[b+9852>>2];d=F[b+24>>2];f=d&-3;c=(D[e+12|0]&1?0:(f|0)!=1)?c:c|1;F[a+2740>>2]=G[F[F[b+36>>2]+388>>2]+20|0]?c:c|8;c=a;a=(d&-2)==2;b=a|2;e=(d|0)==4?b:a;a=(d|0)==2;b=a?b:e;b=(f|0)==1?b:b|4;F[c+2744>>2]=a?b|8:b;return 0}function Kw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ga-16|0;Ga=e;d=F[a>>2];a:{if(!d){break a}f=F[a+32>>2];b=gb(f,F[a+4>>2],e+12|0);F[a>>2]=b;if(F[e+12>>2]){break a}Ya(b,d,F[a+4>>2]);b=F[a+16>>2];if((b|0)>0){g=F[a>>2]-d|0;c=F[a+24>>2];h=c+(b<<2)|0;while(1){b=F[c>>2];if(b){F[c>>2]=b+g}c=c+4|0;if(h>>>0>c>>>0){continue}break}}F[a+8>>2]=F[a+4>>2];if(d){Ia[F[f+8>>2]](f,d)}}Ga=e+16|0}function Nj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;F[b>>2]=0;a:{if(!a){break a}e=F[a+8>>2];if(!e){break a}d=F[F[a>>2]>>2];f=d;while(1){g=G[f|0];if(g){while(1){D[c+d|0]=g;c=c+1|0;g=G[f+1|0];f=f+1|0;if(g){continue}break}e=F[a+8>>2]}h=h+1|0;if(h>>>0>>0){D[c+d|0]=32;e=F[a+8>>2];c=c+1|0}if(e>>>0>h>>>0){f=F[F[a>>2]+(h<<2)>>2];continue}break}if((d|0)!=24081){D[c+d|0]=0}F[b>>2]=c}return d}function ed(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=E[a+2>>1];a:{if(!c){c=0;break a}a=F[a+4>>2];d=F[a+4>>2];e=F[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=F[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=F[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}F[b+8>>2]=f;F[b>>2]=e;F[b+12>>2]=c;F[b+4>>2]=d}}function Va(a,b,c,d,e,f){var g=0;if((b|c|d)<0){F[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}Ia[F[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b|0)|0)<(d|0)){break b}c:{if(!c){e=Ia[F[a+4>>2]](a,L(b,d))|0;g=!e<<6;break c}a=Ia[F[a+12>>2]](a,L(b,c),L(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(c|0)>=(d|0)|!e){break b}g=0;Wa(L(b,c)+e|0,0,L(d-c|0,b))}F[f>>2]=g;return e}F[f>>2]=0;return 0}function ff(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){d=F[a+4>>2];a:{if(!d){break a}c=F[a+20>>2];if((d|0)!=1){g=d&-2;while(1){e=F[c>>2];if(e){Ia[F[b+8>>2]](b,e)}F[c>>2]=0;e=F[c+4>>2];if(e){Ia[F[b+8>>2]](b,e)}F[c+4>>2]=0;c=c+8|0;f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(d&1)){break a}d=F[c>>2];if(d){Ia[F[b+8>>2]](b,d)}F[c>>2]=0}c=F[a+20>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+20>>2]=0}}function Hw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;F[a+8>>2]=c;F[a+4>>2]=b;F[a+12>>2]=0;F[a+16>>2]=d;F[a>>2]=b;b=F[7586];F[a+20>>2]=F[7585];F[a+24>>2]=b;b=F[7588];F[a+28>>2]=F[7587];F[a+32>>2]=b;b=F[7590];F[a+36>>2]=F[7589];F[a+40>>2]=b;b=F[7592];F[a+44>>2]=F[7591];F[a+48>>2]=b;b=F[7594];F[a+52>>2]=F[7593];F[a+56>>2]=b;b=F[7596];F[a+60>>2]=F[7595];F[a+64>>2]=b;F[a+68>>2]=F[7597]}function pA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:F[c>>2]=6081;F[d>>2]=6078;return 1;case 1:F[c>>2]=6081;F[d>>2]=6079;return 1;case 2:F[c>>2]=6081;F[d>>2]=6080;return 1;case 6:F[c>>2]=6081;F[d>>2]=6084;return 1;case 7:F[c>>2]=6081;F[d>>2]=6085;return 1;default:break a}}a=F[a+12>>2];F[c>>2]=b;F[d>>2]=0;return(Ia[F[a+40>>2]](a,b,c,d,F[a+72>>2])|0)!=0|0}function kz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=F[c>>2];g=F[c+4>>2];e=F[c+8>>2];a:{if((g|0)>(e+5|0)){f=d;break a}if(!d){f=nb(800);F[c+4>>2]=200;F[c>>2]=f;e=0;break a}f=nb(g<<3);e=Ya(f,d,e<<2);Ta(d);F[c+4>>2]=g<<1;F[c>>2]=e;e=F[c+8>>2]}d=(e<<2)+f|0;F[d>>2]=2;F[d+4>>2]=F[a>>2];F[d+8>>2]=F[a+4>>2];F[d+12>>2]=F[b>>2];a=F[b+4>>2];F[c+8>>2]=e+5;F[d+16>>2]=a;return 0}function zs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=E[a+298>>1];e=L(d,b>>16);b=L(d,b&65535);d=e<<16;f=b+d|0;a=E[a+300>>1];g=L(a,c&65535);c=L(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function ys(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=E[a+294>>1];e=L(d,b>>16);b=L(d,b&65535);d=e<<16;f=b+d|0;a=E[a+296>>1];g=L(a,c&65535);c=L(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function _o(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=F[b+28>>2];a=F[b+24>>2];g=0;F[61902]=0;c=ha(643,a|0,c|0,h|0)|0;h=F[61902];F[61902]=0;if((h|0)!=1){a:{if(c){break a}a=F[a+84>>2];if(F[a+72>>2]!=1869968492|E[a+110>>1]>>>0<=d>>>0){break a}a=F[a+112>>2]+(d<<3)|0;F[e>>2]=F[a>>2];F[f>>2]=F[a+4>>2];g=1}yb();return g|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function Gl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=a+c|0;g=f>>31;h=b+d|0;i=h>>31;e=c;c=c>>31;c=(e^c)-c|0;e=d;d=d>>31;d=(e^d)-d|0;e=a;a=a>>31;a=(e^a)-a|0;e=b;b=b>>31;b=(e^b)-b|0;c=(L(c>>>0>>0?c:d,3)>>>3|0)+(c>>>0>d>>>0?c:d)+((L(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b))|0;a=(g^f)-g|0;b=(i^h)-i|0;a=(L(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;return(c-a|0)<(a>>>4|0)}function pc(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}d=F[F[a>>2]+32>>2];if(d){d=Ia[d|0](a,b)|0}else{d=0}if(d|!c){break a}d=F[a+4>>2];c=F[d+16>>2];if((c|0)<=0){break b}f=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){e=F[c>>2];c:{if((e|0)==(a|0)){break c}d=F[F[e>>2]+32>>2];if(!d){break c}d=Ia[d|0](e,b)|0;if(d){break a}}c=c+4|0;if(f>>>0>c>>>0){continue}break}}d=0}return d}function Lc(a){var b=0,c=0,d=0;if(G[a+61|0]){a:{if(F[a+84>>2]==F[a+80>>2]){b=F[a+72>>2];if((b|0)==F[a+64>>2]){break a}}if(!$a(a,1,1)){return}c=F[a+80>>2]+L(F[a+64>>2],20)|0;d=F[c+4>>2];b=F[a+84>>2]+L(F[a+72>>2],20)|0;F[b>>2]=F[c>>2];F[b+4>>2]=d;F[b+16>>2]=F[c+16>>2];d=F[c+12>>2];F[b+8>>2]=F[c+8>>2];F[b+12>>2]=d;b=F[a+72>>2]}F[a+72>>2]=b+1}F[a+64>>2]=F[a+64>>2]+1}function $t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=6;a=F[a+140>>2];a:{if(!a|!b|(!F[a+72>>2]|!G[b|0])){break a}b=ac(b,F[a+92>>2]);if(!b){break a}a=F[a+80>>2];if(!a){break a}b:{c:{d:{e:{a=a+(F[b>>2]<<4)|0;switch(F[a+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}F[c>>2]=1;break b}F[c>>2]=2;break b}F[c>>2]=3}F[c+4>>2]=F[a+12>>2];d=0}return d|0}function Xg(a,b,c){var d=0,e=0,f=0;e=b>>31;a:{if((c|0)!=1){break a}d=F[a+8>>2];if(!d){break a}f=b;d=d-F[a+4>>2]|0;b=b-d|0;e=e-((d>>31)+(d>>>0>f>>>0)|0)|0}b:{if(F[a+20>>2]!=F[a+28>>2]){Ia[F[a+36>>2]](a,0,0)|0;if(!F[a+20>>2]){break b}}F[a+28>>2]=0;F[a+16>>2]=0;F[a+20>>2]=0;Ia[F[a+40>>2]](a,b,e,c)|0;if((Ha|0)<0){break b}F[a+4>>2]=0;F[a+8>>2]=0;F[a>>2]=F[a>>2]&-17}}function eh(a){var b=0;b=a- -64|0;F[b>>2]=0;Ta(F[a+68>>2]);F[a+76>>2]=0;F[a+68>>2]=0;F[a+60>>2]=0;F[a+64>>2]=0;Ta(F[a+80>>2]);F[a+88>>2]=0;F[a+80>>2]=0;F[a+72>>2]=0;F[a+76>>2]=0;Ta(F[a+92>>2]);F[a+84>>2]=0;F[a+88>>2]=0;F[a+76>>2]=0;F[a+92>>2]=0;Ta(F[a+80>>2]);F[a+80>>2]=0;F[a+72>>2]=0;F[a+76>>2]=0;F[b>>2]=0;Ta(F[a+68>>2]);F[a+68>>2]=0;F[a+60>>2]=0;F[a+64>>2]=0}function ct(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;f=F[a+16>>2];d=H[a+8>>1];c=d>>>1|0;b=Va(b,1,0,c+1|0,0,e+12|0);Ga=e+16|0;if(F[e+12>>2]){b=g}else{a=0;a:{if(d>>>0<2){break a}g=c>>>0>1?c:1;while(1){c=G[f+1|0];d=c|G[f|0]<<8;if(!d){break a}D[a+b|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}a=g}D[a+b|0]=0}return b|0}function Oc(a,b,c){var d=0,e=0,f=0,g=0;d=hb(b)+hb(c)|0;e=d+1|0;a:{b:{if(d>>>0>=2147483647){a=0;if(!e){break b}break a}a=Ia[F[a+4>>2]](a,e)|0;if(!a){return 0}Wa(a,0,e)}d=hb(b)+1|0;while(1){c:{e=0;if(!d){break c}d=d-1|0;e=d+b|0;if(G[e|0]!=47){continue}}break}d:{if(e){d=b;b=(e-b|0)+1|0;f=mf(a,d,b)+b|0,g=0,D[f|0]=g;b=e+1|0;break d}D[a|0]=0}a=im(im(a,c),b)}return a}function Wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=F[b>>2];while(1){d=d+1|0;if(d>>>0>255){F[b>>2]=0;return 0}f=Ia[F[a+20>>2]](H[F[a+16>>2]+(d<<1)>>1])|0;g=F[a+24>>2];a:{if(g){h=F[a+28>>2];c=0;while(1){e=F[(c<<2)+h>>2];if(!(!e|G[e|0]!=G[f|0])){if(!ab(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}F[b>>2]=d;return c|0}function xy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Ec(a,F[b+8>>2],e)){if(!(F[b+28>>2]==1|F[b+4>>2]!=(c|0))){F[b+28>>2]=d}return}a:{if(!Ec(a,F[b>>2],e)){break a}if(!(F[b+16>>2]!=(c|0)&F[b+20>>2]!=(c|0))){if((d|0)!=1){break a}F[b+32>>2]=1;return}F[b+20>>2]=c;F[b+32>>2]=d;F[b+40>>2]=F[b+40>>2]+1;if(!(F[b+36>>2]!=1|F[b+24>>2]!=2)){D[b+54|0]=1}F[b+44>>2]=4}}function wu(a,b){a=a|0;b=b|0;var c=0,d=0;a=F[a+16>>2];c=G[a+12|0]|G[a+13|0]<<8|(G[a+14|0]<<16|G[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(c>>>0>b>>>0){break a}b=b-c|0;c=G[a+16|0]|G[a+17|0]<<8|(G[a+18|0]<<16|G[a+19|0]<<24);if(b>>>0>=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break a}a=(a+20|0)+(b<<1)|0;d=G[a|0]<<8|G[a+1|0]}return d|0}function pB(a,b){a=a|0;b=b|0;var c=0,d=0;c=G[a+2|0]|G[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];c=qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((c|0)!=-1){d=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}a=mn(a,b)}else{a=0}return a|0}function oB(a,b){a=a|0;b=b|0;var c=0,d=0;c=G[a+2|0]|G[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];c=qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2]);if((c|0)!=-1){d=G[a+4|0]|G[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=G[c|0]|G[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}a=ln(a,b)}else{a=0}return a|0}function lm(a,b,c){var d=0,e=0,f=0;a:{d=F[c+16>>2];if(!d){if(Yg(c)){break a}d=F[c+16>>2]}f=F[c+20>>2];if(d-f>>>0>>0){Ia[F[c+36>>2]](c,a,b)|0;return}b:{if(F[c+80>>2]<0){break b}d=b;while(1){e=d;if(!e){break b}d=e-1|0;if(G[d+a|0]!=10){continue}break}if(Ia[F[c+36>>2]](c,a,e)>>>0>>0){break a}a=a+e|0;b=b-e|0;f=F[c+20>>2]}Ya(f,a,b);F[c+20>>2]=F[c+20>>2]+b}}function ey(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(!(F[a+8>>2]&512)|(!a|!b)){break a}b:{c:{d=F[a+128>>2];c=F[d+40>>2];switch(c+2|0){case 0:break a;case 2:break c;default:break b}}c=F[a+96>>2];e=F[F[c>>2]+32>>2];d:{if(!e){c=0;break d}c=Ia[e|0](c,9305)|0;d=F[a+128>>2]}F[d+40>>2]=c?c:-2}if(!c){break a}c=F[c+4>>2];if(!c){break a}f=Ia[c|0](a,b)|0}return f|0}function Xn(a){a=a|0;var b=0,c=0;b=F[a+144>>2];a:{if(b){break a}while(1){c=F[a+48>>2];if(!c){b=163632;break a}b=ib(1,12);b:{if(!b){b=163632;break b}jd(b,c)}c=F[a+144>>2];F[a+144>>2]=c?c:b;if(!c){break a}kc(b);b=F[a+144>>2];if(!b){continue}break}}a=F[b>>2];a=a?a:163632;a=I[a+16>>2]<10?163632:F[a+12>>2];return(G[a|0]|G[a+1|0]<<8|(G[a+2|0]|G[a+3|0]<<8))!=0|0}function Sb(a,b){var c=0,d=0;c=F[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(G[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((b|0)!=(c|0)){d=G[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}F[a>>2]=c}function xm(a){a=a|0;F[a+32>>2]=0;Ta(F[a+36>>2]);F[a+44>>2]=0;F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;Ta(F[a+48>>2]);F[a+68>>2]=0;F[a+48>>2]=0;F[a+40>>2]=0;F[a+44>>2]=0;Ta(F[a+72>>2]);F[a+72>>2]=0;F[a+64>>2]=0;F[a+68>>2]=0;F[a+56>>2]=0;Ta(F[a+60>>2]);F[a+80>>2]=0;F[a+60>>2]=0;F[a+52>>2]=0;F[a+56>>2]=0;Ta(F[a+84>>2]);F[a+84>>2]=0;F[a+76>>2]=0;F[a+80>>2]=0}function Ex(a){a=a|0;var b=0,c=0,d=0,e=0;b=F[a+12>>2];if(b){e=F[a+28>>2];F[b+104>>2]=0;F[b+48>>2]=0;F[b+36>>2]=0;F[b+40>>2]=0;D[b+44|0]=0;F[b+64>>2]=9;F[b+12>>2]=0;F[b+16>>2]=0;d=F[b+180>>2];c=F[b+100>>2];if((c|0)!=(b+112|0)){if(c){Ia[F[d+8>>2]](d,c)}F[b+100>>2]=0}c=F[b+88>>2];if(c){Ia[F[d+8>>2]](d,c)}b=Wa(b,0,184);if(b){Ia[F[e+8>>2]](e,b)}F[a+12>>2]=0}}function dc(a,b){var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[b>>2]=0;a:{b:{c:{d:{c=F[a+8>>2];if(I[a+4>>2]<=c+3>>>0){break d}e=F[a+20>>2];e:{if(e){if((Ia[e|0](a,c,d+12|0,4)|0)!=4){break d}c=F[a+8>>2];b=d+12|0;break e}b=F[a>>2];if(!b){break c}b=b+c|0}f=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);break b}F[b>>2]=85;break a}f=0}F[a+8>>2]=c+4}Ga=d+16|0;return f}function by(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!ab(b,10266)){F[c>>2]=F[a+36>>2];F[c+4>>2]=F[a+40>>2];F[c+8>>2]=F[a+44>>2];F[c+12>>2]=F[a+48>>2];F[c+16>>2]=F[a+52>>2];F[c+20>>2]=F[a+56>>2];F[c+24>>2]=F[a+60>>2];F[c+28>>2]=F[a- -64>>2];break b}if(!ab(b,10438)){F[c>>2]=F[a+28>>2];break b}d=12;if(ab(b,10703)){break a}D[c|0]=G[a+32|0]}d=0}return d|0}function kf(a,b){var c=0,d=0,e=0,f=0,g=0;g=Ga-16|0;Ga=g;d=hb(b);f=Ga-16|0;Ga=f;a:{if(d>>>0<=4294967279){b:{if(d>>>0<=10){D[a+11|0]=d;c=a;break b}if(d>>>0>=11){e=d+16&-16;c=e-1|0;c=(c|0)==11?e:c}else{c=10}e=c+1|0;c=Ad(e);F[a>>2]=c;F[a+8>>2]=e|-2147483648;F[a+4>>2]=d}lf(c,b,d);D[f+15|0]=0;D[d+c|0]=G[f+15|0];Ga=f+16|0;break a}Xl();V()}Ga=g+16|0;return a}function hp(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;if(!c){yb();return 0}a=0;a:{b:{while(1){h=F[d>>2];i=F[b+24>>2];F[61902]=0;h=aa(637,i|0,h|0)|0;i=F[61902];F[61902]=0;if((i|0)==1){break a}F[f>>2]=h;if(!h){break b}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}yb();return a|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function hf(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=F[a+96>>2];if(!c){return}d=F[a+128>>2];b=F[d+64>>2];F[d+64>>2]=b-1;if((b|0)<=1){b=F[c+16>>2];if(!b){return}e=c+16|0;d=F[c+8>>2];a:{while(1){if(F[b+8>>2]==(a|0)){break a}b=F[b+4>>2];if(b){continue}break}return}f=F[b>>2];g=f?f+4|0:e;e=F[b+4>>2];F[g>>2]=e;F[(e?e:c+20|0)>>2]=f;Ia[F[d+8>>2]](d,b);Qd(d,a,c)}}function Vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=F[a+84>>2];f=F[e+4>>2];g=F[a+28>>2];d=F[a+20>>2]-g|0;d=d>>>0>f>>>0?f:d;if(d){Ya(F[e>>2],g,d);F[e>>2]=d+F[e>>2];f=F[e+4>>2]-d|0;F[e+4>>2]=f}d=F[e>>2];f=c>>>0>f>>>0?f:c;if(f){Ya(d,b,f);d=f+F[e>>2]|0;F[e>>2]=d;F[e+4>>2]=F[e+4>>2]-f}D[d|0]=0;b=F[a+44>>2];F[a+28>>2]=b;F[a+20>>2]=b;return c|0}function Jq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=F[a>>2];d=F[a+44>>2];if(d){e=F[d>>2];if(!(!e|!F[e+96>>2])){F[e+88>>2]=d}}d=ul(F[c+504>>2],b);if(!d){b=F[F[c+504>>2]+88>>2];c=F[b+16>>2];F[a+12>>2]=F[b+12>>2];F[a+16>>2]=c;F[a+36>>2]=F[b+36>>2];c=F[b+32>>2];F[a+28>>2]=F[b+28>>2];F[a+32>>2]=c;c=F[b+24>>2];F[a+20>>2]=F[b+20>>2];F[a+24>>2]=c}return d|0}function uw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=F[a+12>>2];a:{if((E[d+22>>1]+E[d+58>>1]|0)+1>>>0>I[d+4>>2]){d=Ub(d,1,0);if(d){break a}}d=F[a+20>>2];if(G[a+68|0]){a=F[d+8>>2];e=E[d+2>>1];f=F[d+4>>2]+(e<<3)|0;F[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;F[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;D[a+e|0]=1}E[d+2>>1]=H[d+2>>1]+1;d=0}return d|0}function fb(a,b){var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[b>>2]=0;a:{b:{c:{d:{c=F[a+8>>2];if(I[a+4>>2]<=c+1>>>0){break d}e=F[a+20>>2];e:{if(e){if((Ia[e|0](a,c,d+14|0,2)|0)!=2){break d}c=F[a+8>>2];b=d+14|0;break e}b=F[a>>2];if(!b){break c}b=b+c|0}b=G[b|0]|G[b+1|0]<<8;f=b<<8|b>>>8;break b}F[b>>2]=85;break a}f=0}F[a+8>>2]=c+2}Ga=d+16|0;return f&65535}function Rl(a,b,c,d){D[a+53|0]=1;a:{if(F[a+4>>2]!=(c|0)){break a}D[a+52|0]=1;c=F[a+16>>2];b:{if(!c){F[a+36>>2]=1;F[a+24>>2]=d;F[a+16>>2]=b;if((d|0)!=1){break a}if(F[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=F[a+24>>2];if((c|0)==2){F[a+24>>2]=d;c=d}if(F[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}F[a+36>>2]=F[a+36>>2]+1}D[a+54|0]=1}}function Ox(a){a=a|0;var b=0,c=0;a:{b=F[a>>2];if(!b){break a}a=a+20|0;if(!a){break a}b=F[b>>2];if(!b){break a}b:{if(!(D[a+16|0]&1)){break b}c=F[a+4>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+4>>2]=0;c=F[a+8>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+8>>2]=0;c=F[a+12>>2];if(!c){break b}Ia[F[b+8>>2]](b,c)}F[a>>2]=0;F[a+4>>2]=0;F[a+16>>2]=0;F[a+8>>2]=0;F[a+12>>2]=0}}function Xb(a){var b=0,c=0;a:{if(!F[a+4>>2]){break a}b=F[a+16>>2];b:{if(!b){F[a+20>>2]=2;break b}c:{switch(F[a+20>>2]-2|0){case 1:F[a+20>>2]=1;break;case 0:break b;default:break c}}c=nb(b);if(!c){break a}b=Ya(c,F[a+12>>2],b);c=F[a+28>>2];if(c){Ia[c|0](F[a+24>>2])}F[a+28>>2]=594;F[a+24>>2]=b;F[a+12>>2]=b;F[a+20>>2]=2}return F[a+12>>2]}return 0}function Vz(a){a=a|0;var b=0,c=0,d=0;c=F[a+16>>2];if(I[a+20>>2]>=c+16>>>0){d=F[a+32>>2];b=Vd(a,F[c>>2],0);F[d+84>>2]=((b>>31)+b|0)+32768&-65536;b=Vd(a,F[c+4>>2],0);F[d+88>>2]=((b>>31)+b|0)+32768&-65536;b=Vd(a,F[c+8>>2],0);F[d+92>>2]=((b>>31)+b|0)+32768&-65536;a=Vd(a,F[c+12>>2],0);F[d+96>>2]=((a>>31)+a|0)+32768&-65536;a=0}else{a=161}return a|0}function yz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ga-48|0;Ga=e;F[e+24>>2]=c;F[e+20>>2]=b;F[e+16>>2]=17;b=nb(32);F[b+24>>2]=1768386675;F[b+28>>2]=0;F[b+16>>2]=1768386662;F[b+20>>2]=0;F[b+8>>2]=1768386675;F[b+12>>2]=0;F[b>>2]=1768386662;F[b+4>>2]=0;F[e+40>>2]=4;F[e+44>>2]=b;a=yl(a,e+16|0,d,e+12|0);Ta(b);Ga=e+48|0;return(a?0:F[e+12>>2])|0}function Vg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ga-240|0;Ga=h;F[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-F[(j<<2)+e>>2]|0;if((Ia[c|0](a,g)|0)>=0){if((Ia[c|0](a,f)|0)>=0){break a}}l=g;g=(Ia[c|0](g,f)|0)>=0;f=g?l:f;F[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}jm(b,h,i);Ga=h+240|0}function Vm(a,b,c,d){var e=0,f=0,g=0;a:{e=L(b,20)+a|0;f=H[e+16>>1];if(!f){break a}g=G[e+18|0];if(!(g&2)){break a}E[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Vm(a,e,c,d);b:{if((c&-2)==4){F[(L(e,20)+a|0)+12>>2]=0-F[(L(b,20)+a|0)+12>>2];break b}F[(L(e,20)+a|0)+8>>2]=0-F[(L(b,20)+a|0)+8>>2]}a=L(e,20)+a|0;E[a+16>>1]=0-f;D[a+18|0]=g}}function jm(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ga-256|0;Ga=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;F[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Ya(d,F[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Ya(F[g>>2],F[(d<<2)+b>>2],f);F[g>>2]=F[g>>2]+f;if((c|0)!=(d|0)){continue}break}if(a>>>0<257){break a}a=a-f|0;d=F[h>>2];continue}}Ga=e+256|0}function Fv(a){a=a|0;var b=0;b=F[a+8>>2];Wa(a+16|0,0,84);F[a+136>>2]=39;F[a+132>>2]=40;F[a+128>>2]=41;F[a+124>>2]=42;F[a+120>>2]=43;F[a+116>>2]=44;F[a+108>>2]=45;F[a+104>>2]=46;F[a+100>>2]=47;F[a+12>>2]=b;F[a+164>>2]=39;F[a+160>>2]=48;F[a+156>>2]=49;F[a+152>>2]=50;F[a+148>>2]=43;F[a+144>>2]=51;b=a+12|0;F[a+112>>2]=b;F[a+140>>2]=b;return 0}function jv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=F[a+20>>2];a=(c+(F[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=F[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return F[f+4>>2]}function Nc(a){var b=0,c=0,d=0,e=0;a:{if(F[a+12>>2]>0){break a}c=3;b=F[a>>2];d=F[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;F[a>>2]=e;e:{switch(G[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if(d>>>0>b>>>0){continue}break b}break}c=2;break b}c=1}F[a+12>>2]=c}}function wA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=F[a+12>>2];a:{if(Ia[F[e+24>>2]](e,b,F[e+56>>2])>>>0<=31){e=F[a+12>>2];f=0;if(1<>2]](e,b,F[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){F[d>>2]=2527;return 1}a=F[a+12>>2];F[d>>2]=0;f=0;if(!b|!c){break a}f=(Ia[F[a+36>>2]](a,b,c,d,F[a+68>>2])|0)!=0}return f|0}function xc(a,b){a=a|0;b=b|0;var c=0,d=0;if(!F[a+4>>2]){F[a+4>>2]=0;Ta(F[a+8>>2]);F[a+8>>2]=0;F[a>>2]=0;F[a+4>>2]=0;return}b=F[a+4>>2];if(b){while(1){d=b-1|0;c=F[a+8>>2]+L(d,12)|0;b=F[c+8>>2];c=F[c+4>>2];F[a+4>>2]=d;yb();if(b){Ia[b|0](c)}b=F[a+4>>2];if(b){continue}break}}F[a+4>>2]=0;Ta(F[a+8>>2]);F[a+8>>2]=0;F[a>>2]=0;F[a+4>>2]=0;yb()}function go(a){var b=0,c=0,d=0;b=F[a>>2];a:{if(b){break a}d=a-56|0;while(1){b=F[d>>2];if(!b){return 163632}b=Ab(b,1819239265);if(!(!b|!F[b>>2])){F[b>>2]=F[b>>2]+1}c=F[b+12>>2];Xa(b);if(F[b+4>>2]?c:0){F[b+4>>2]=0}c=F[a>>2];b=b?b:163632;F[a>>2]=c?c:b;if(!c){break a}if(!(!b|(b|0)==163632)){Xa(b)}b=F[a>>2];if(!b){continue}break}}return b}function kc(a){var b=0,c=0;a:{if(!(!a|(a|0)==163632)){if(F[a+4>>2]){while(1){b=F[a+8>>2]+L(c,24)|0;F[b+16>>2]=0;Ta(F[b+20>>2]);F[b+20>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}Ta(F[a+8>>2]);b=F[a>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)==1){break a}Ta(a)}return}ca(0)|0;Y()|0;Hb();V()}function By(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Ga+-64|0;Ga=e;d=1;a:{if(Ec(a,b,0)){break a}d=0;if(!b){break a}b=Tl(b,244472);d=0;if(!b){break a}d=e+8|0;Wa(d|4,0,52);F[e+56>>2]=1;F[e+20>>2]=-1;F[e+16>>2]=a;F[e+8>>2]=b;Ia[F[F[b>>2]+28>>2]](b,d,F[c>>2],1);a=F[e+32>>2];if((a|0)==1){F[c>>2]=F[e+24>>2]}d=(a|0)==1}Ga=e- -64|0;return d|0}function De(a){var b=0;F[a+236>>2]=0;Ta(F[a+240>>2]);F[a+240>>2]=0;F[a+232>>2]=0;F[a+236>>2]=0;F[61902]=0;_(657,a|0);b=F[61902];F[61902]=0;if((b|0)!=1){F[a+236>>2]=0;Ta(F[a+240>>2]);F[a+240>>2]=0;F[a+232>>2]=0;F[a+236>>2]=0;F[a+224>>2]=0;Ta(F[a+228>>2]);F[a+228>>2]=0;F[a+220>>2]=0;F[a+224>>2]=0;Io(a);return}ca(0)|0;Y()|0;Hb();V()}function ne(a){var b=0,c=0,d=0,e=0,f=0;Nc(a);a:{if(F[a+12>>2]>0){break a}b=F[a>>2];d=b-1|0;e=F[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;F[a>>2]=b;d:{switch(G[f|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}c=2;break b}c=1}F[a+12>>2]=c}return d} -function he(a){var b=0,c=0,d=0;a:{if(!a){break a}b=G[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=D[b|0];b:{if(!(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=G[a+24128|0]+L(c,10)|0;a=D[b+1|0];b=b+1|0;if(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function ej(a,b){var c=0,d=0,e=0;c=Ga-48|0;Ga=c;F[a>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;D[c+24|0]=0;F[c+28>>2]=0;F[c+32>>2]=0;F[c>>2]=0;F[c+4>>2]=0;d=Db(b);D[c+40|0]=1;F[c+36>>2]=d;d=Vi(c,Ab(b,1195656518));F[a>>2]=d;e=d?d:163632;if(co(I[e+16>>2]<12?163632:F[e+12>>2],d,b)){Xa(F[a>>2]);F[a>>2]=163632}Ga=c+48|0}function dj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;F[a+2748>>2]=b;d=F[b+28>>2];F[a+4>>2]=F[b+44>>2];F[a+8>>2]=F[b+48>>2];F[a+12>>2]=F[b+7720>>2];F[a+16>>2]=F[b+7724>>2];c=F[b+24>>2];F[a+2740>>2]=(G[F[F[b+36>>2]+388>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c&-3)==1?b:b|4;F[d+2744>>2]=a?b|8:b;return 0}function Gj(a){var b=0,c=0,d=0;a:{if(!a){break a}b=G[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=D[b|0];b:{if(!(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=G[a+24128|0]+L(c,10)|0;a=D[b+1|0];b=b+1|0;if(G[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function jl(a,b){var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[b>>2]=0;a:{b:{c:{d:{c=F[a+8>>2];if(I[a+4>>2]<=c+1>>>0){break d}e=F[a+20>>2];e:{if(e){if((Ia[e|0](a,c,d+14|0,2)|0)!=2){break d}c=F[a+8>>2];b=d+14|0;break e}b=F[a>>2];if(!b){break c}b=b+c|0}f=G[b|0]|G[b+1|0]<<8;break b}F[b>>2]=85;break a}f=0}F[a+8>>2]=c+2}Ga=d+16|0;return f}function ir(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ga-16|0;Ga=d;c=F[a>>2];b=F[c+320>>2];c=Nb(F[F[c+96>>2]+4>>2],10070);a:{if(!c|!b){break a}b=F[b>>2];if(!b){break a}c=Ia[b|0](c)|0;if(!c){break a}b=F[a>>2];e=Ia[F[c>>2]](F[b+100>>2],F[b+304>>2]+L(F[b+4>>2],252)|0,d+12|0)|0;if(e){break a}F[F[a+40>>2]>>2]=F[d+12>>2]}Ga=d+16|0;return e|0}function Yf(a){a=a|0;var b=0;b=Ga-16|0;F[b+12>>2]=a;F[a+60>>2]=2333;F[a+64>>2]=0;F[a+52>>2]=1667;F[a+56>>2]=275;F[a+44>>2]=1e3;F[a+48>>2]=275;F[a+36>>2]=500;F[a+40>>2]=400;D[a+32|0]=1;F[a+28>>2]=1;b=F[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;F[a+68>>2]=b;a:{if((b|0)<0){b=0-b|0}else{if(b){break a}b=123456789}F[a+68>>2]=b}return 0}function nz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=F[b>>2];f=F[b+4>>2];d=F[b+8>>2];a:{if((f|0)>(d+3|0)){e=c;break a}if(!c){e=nb(800);F[b+4>>2]=200;F[b>>2]=e;d=0;break a}e=nb(f<<3);d=Ya(e,c,d<<2);Ta(c);F[b+4>>2]=f<<1;F[b>>2]=d;d=F[b+8>>2]}c=(d<<2)+e|0;F[c>>2]=0;F[c+4>>2]=F[a>>2];a=F[a+4>>2];F[b+8>>2]=d+3;F[c+8>>2]=a;return 0}function mz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=F[b>>2];f=F[b+4>>2];d=F[b+8>>2];a:{if((f|0)>(d+3|0)){e=c;break a}if(!c){e=nb(800);F[b+4>>2]=200;F[b>>2]=e;d=0;break a}e=nb(f<<3);d=Ya(e,c,d<<2);Ta(c);F[b+4>>2]=f<<1;F[b>>2]=d;d=F[b+8>>2]}c=(d<<2)+e|0;F[c>>2]=1;F[c+4>>2]=F[a>>2];a=F[a+4>>2];F[b+8>>2]=d+3;F[c+8>>2]=a;return 0}function jB(a,b){a=a|0;b=b|0;var c=0,d=0;c=G[a+6|0]|G[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=F[b+100>>2];if((qb(d,F[F[c+80>>2]+L(F[c+64>>2],20)>>2])|0)!=-1){d=b;b=G[a+2|0]|G[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=G[a+4|0]|G[a+5|0]<<8;a=ue(d,b,a+8|0,(c<<8|c>>>8)&65535,((b<<1)+a|0)+6|0,732,a)}else{a=0}return a|0}function qj(a,b,c){var d=0,e=0,f=0;e=Ga-16|0;Ga=e;d=Za(a,0);a:{if(d){break a}f=fb(a,e+12|0);d=F[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){dc(a,e+12|0);d=F[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Za(a,0);if(d){break a}}d=tb(a,c);if(d){break a}b=hc(F[a+32>>2],b,c);lb(a);d=((b|0)!=0)<<1}Ga=e+16|0;return d}function gx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=F[a+280>>2];a:{if((e|0)<=0){break a}f=F[a+284>>2];a=0;while(1){b:{h=a;g=ab(F[L(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=L(h,12)+f|0;c:{if(G[a+4|0]){F[c>>2]=1;break c}F[c>>2]=2}F[c+4>>2]=F[a+8>>2];d=0}return d|0}function Gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>I[b+160>>2]){kb(b,8)}d=G[a+3|0]|G[a+2|0]<<8;e=I[b+160>>2]>=d+a>>>0;a=G[a+9|0]|G[a+8|0]<<8;if(!(e&(a<<1)+10>>>0<=d>>>0)){kb(b,8)}if(!(!a|F[b+164>>2]<=0)){while(1){if(I[b+172>>2]<=(G[c+1|0]|G[c|0]<<8)>>>0){kb(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function Mq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b=F[a+160>>2];if(!b){break a}c=F[b+4>>2];a=F[c+84>>2];if(!a){break a}d=F[F[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=F[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}F[(f?f+8|0:c+84|0)>>2]=F[b+8>>2];a=F[b+20>>2];if(a){Ia[a|0](b)}cf(b);Ia[F[d+8>>2]](d,b)}}function Fr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=F[a+532>>2];if(!c){return 6}e=F[c+4>>2];F[b>>2]=e;F[b+4>>2]=F[c>>2];if(e){a=0;while(1){d=L(a,12);f=d+b|0;F[f+8>>2]=F[((a<<2)+c|0)+8>>2];d=c+d|0;g=F[d+92>>2];F[f+12>>2]=F[g>>2];F[f+16>>2]=F[((G[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Zf(a,b){var c=0,d=0;c=Za(b,F[a>>2]);a:{if(c){break a}c=sb(b,103616,a+4|0);if(c){break a}c=2;d=H[a+4>>1];if((d|256)!=768|I[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){F[a+140>>2]=0;F[a+132>>2]=0;F[a+136>>2]=0}if(D[a+72|0]&1){break a}c=Za(b,F[a>>2]);if(c){break a}c=$b(b,F[a+8>>2],a+160|0)}return c}function Oj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Ga-16|0;Ga=h;F[h+12>>2]=0;g=10;j=F[c>>2];k=j+e|0;a:{if(k>>>0>31457280){break a}i=F[a>>2];g=F[b>>2];if(g>>>0>>0){i=Va(f,1,g,k,i,h+12|0);g=F[h+12>>2];if(g){break a}F[b>>2]=F[c>>2]+e;j=F[c>>2]}Ya(i+j|0,d,e);F[c>>2]=F[c>>2]+e;F[a>>2]=i;g=F[h+12>>2]}Ga=h+16|0;return g}function jg(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=F[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=F[a+12>>2];E[e>>1]=G[d|0];E[e+2>>1]=G[d+1|0];E[e+4>>1]=D[d+2|0];E[e+6>>1]=D[d+3|0];E[e+8>>1]=G[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}E[e+10>>1]=D[d+5|0];E[e+12>>1]=D[d+6|0];E[e+14>>1]=G[d+7|0];D[a+16|0]=1;F[b>>2]=c;f=0}return f}function iy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Ge(b,c);a:{if(d){break a}a=F[b+24>>2];if((a|0)<=0){break a}b=F[b+28>>2];f=b+L(a,40)|0;a=F[c+4>>2];c=F[c+8>>2];while(1){F[a>>2]=F[b+16>>2];F[a+4>>2]=F[b+20>>2];e=H[b>>1];D[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function ac(a,b){var c=0,d=0,e=0;c=Ga-16|0;Ga=c;F[c+8>>2]=a;e=F[b+20>>2];a=e+((Ia[F[b+12>>2]](c+8|0)>>>0)%I[b+4>>2]<<2)|0;d=F[a>>2];a:{if(!d){break a}while(1){if(Ia[F[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((F[b+4>>2]<<2)+e|0)-4|0}d=F[a>>2];if(d){continue}break}}Ga=c+16|0;a=F[a>>2];return a?a+4|0:0}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Ga-16|0;Ga=b;Sb(a,F[a+8>>2]);e=F[a+8>>2];d=F[a>>2];F[b+12>>2]=d;f=Ic(b+12|0,e,10);c=F[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(G[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;F[b+12>>2]=d;f=Ic(b+12|0,e,f);c=F[b+12>>2];if((d|0)==(c|0)){break a}}F[a>>2]=c;g=f}Ga=b+16|0;return g|0}function nA(a){a=a|0;a=a+24|0;vb(a,0,761);eb(a,1819239276,1,1);eb(a,1667460464,1,1);vb(a,0,762);eb(a,1919969382,9,1);vb(a,0,0);eb(a,1886545254,9,1);vb(a,0,0);eb(a,1651275622,9,1);vb(a,0,0);eb(a,1886614630,9,1);vb(a,0,0);vb(a,0,763);eb(a,1886545267,9,1);eb(a,1633842803,9,1);eb(a,1651275635,9,1);eb(a,1886614643,9,1)}function mh(a){var b=0,c=0,d=0;b=Ga-48|0;Ga=b;d=ib(1,4);a:{if(!d){break a}F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;F[b+20>>2]=0;D[b+24|0]=0;F[b+28>>2]=0;F[b+32>>2]=0;F[b>>2]=0;F[b+4>>2]=0;c=Db(a);D[b+40|0]=1;F[b+36>>2]=c;c=Vi(b,Ab(a,1195656518));F[d>>2]=c;if(!co(b,c,a)){break a}Xa(c);F[d>>2]=163632}Ga=b+48|0;return d}function Ep(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ga-16|0;Ga=b;F[b+12>>2]=c;e=F[a+80>>2];f=F[e+168>>2];a:{if((f|0)!=F[61490]){a=Ia[f|0](a,F[a+84>>2],1,b+12|0,0,d,0,F[e+24>>2])|0;break a}a=F[a+12>>2];F[d>>2]=0;e=a;f=F[a+84>>2];a=F[a+80>>2];a=Ia[F[a+164>>2]](e,f,c,d,F[a+20>>2])|0}Ga=b+16|0;return a|0}function nl(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=H[a+2>>1];if((d|0)!=H[b+2>>1]){break a}c=H[a>>1];if((a|0)==(b|0)|(c|0)!=H[b>>1]){break a}if(d){Ya(F[b+4>>2],F[a+4>>2],d<<16>>16<<3);Ya(F[b+8>>2],F[a+8>>2],E[a+2>>1]);c=H[a>>1]}if(c){Ya(F[b+12>>2],F[a+12>>2],c<<16>>16<<1)}F[b+16>>2]=F[a+16>>2]&-2|F[b+16>>2]&1}}function dt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ga-16|0;Ga=d;f=F[a+16>>2];c=b;b=H[a+8>>1];c=Va(c,1,0,b+1|0,0,d+12|0);Ga=d+16|0;if(F[d+12>>2]){a=e}else{a=0;a:{if(!b){break a}while(1){e=D[f|0];if(!e){break a}D[a+c|0]=(e|0)<32?63:e;f=f+1|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}D[a+c|0]=0;a=c}return a|0}function Zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=F[a+16>>2];if(d){g=F[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=F[(c<<3)+g>>2];if((e|0)==(b|0)){return H[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function of(a,b){var c=0,d=0,e=0,f=0;e=Ga-16|0;Ga=e;F[e+12>>2]=b;c=Ga-160|0;Ga=c;f=c+8|0;Ya(f,241824,144);F[c+52>>2]=a;F[c+28>>2]=a;d=-2-a|0;d=d>>>0>2147483647?2147483647:d;F[c+56>>2]=d;a=a+d|0;F[c+36>>2]=a;F[c+24>>2]=a;fm(f,12020,b,0,0);if(d){a=F[c+28>>2];D[a-((a|0)==F[c+24>>2])|0]=0}Ga=c+160|0;Ga=e+16|0}function uA(a){a=a|0;a=a+24|0;vb(a,0,758);vb(a,0,759);eb(a,1819239276,1,1);eb(a,1667460464,1,1);eb(a,1886545254,12,1);eb(a,1651275622,12,1);eb(a,1633842790,12,1);eb(a,1886614630,12,1);eb(a,1667654002,12,1);vb(a,0,760);eb(a,1886545267,13,1);eb(a,1633842803,13,1);eb(a,1651275635,13,1);eb(a,1886614643,13,1)}function Tr(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ga-16|0;Ga=d;b=F[a>>2];c=F[b+552>>2];b=Nb(F[F[b+96>>2]+4>>2],10580);a:{if(!b|!c){break a}c=F[c>>2];if(!c){break a}c=Ia[c|0](b)|0;if(!c){break a}b=F[a>>2];e=Ia[F[c>>2]](F[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}F[F[a+40>>2]>>2]=F[d+12>>2]}Ga=d+16|0;return e|0}function px(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=(a|0)/-4|0;if(b){f=F[d>>2]+L(a,F[d+4>>2])|0;while(1){b=b-1|0;if(H[c+2>>1]){g=G[c+4|0]+8>>>4|0;d=0;while(1){e=f+((E[c>>1]+d|0)/4|0)|0;a=G[e|0]+g|0;D[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;if(b){continue}break}}}function zk(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=F[a+604>>2];c=Ia[F[c+20>>2]](H[F[c+24>>2]+(b<<1)>>1])|0;d=F[a+584>>2];if(!d){break a}e=F[a+580>>2];b=0;while(1){b:{a=F[(b<<2)+e>>2];if(!a|G[a|0]!=G[c|0]){break b}if(ab(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function Mc(a,b){var c=0;c=F[a+8>>2];a:{if(F[a+12>>2]-c>>3>>>0<=b>>>0){a=F[a+4>>2];b=0;if(!a|F[a>>2]){break a}F[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(F[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return F[a>>2]<<16}a=F[a>>2];return((a>>31)+a|0)- -8192>>14}b=F[a>>2]}return b}function Gx(a){a=a|0;var b=0,c=0;c=F[a+28>>2];b=F[a+12>>2];if(b){uf(b+12|0);F[b+52>>2]=0;F[b+44>>2]=0;F[b+48>>2]=0;F[b+24>>2]=0;F[b+28>>2]=0;F[b>>2]=0;F[b+4>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b+16>>2]=0;if(b){Ia[F[c+8>>2]](c,b)}F[a+12>>2]=0}if(!F[a+20>>2]){b=F[a>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a>>2]=0}}function pw(a){a=a|0;var b=0,c=0,d=0,e=0;e=F[a>>2];b=F[a+8>>2];if(b){c=F[a+16>>2];d=F[c+4>>2];F[b+108>>2]=F[c>>2];F[b+112>>2]=d;F[b+124>>2]=F[c+16>>2];d=F[c+12>>2];F[b+116>>2]=F[c+8>>2];F[b+120>>2]=d}b=F[a+1512>>2];if(b){Ia[b|0](F[a+1508>>2]);b=F[a+1508>>2];if(b){Ia[F[e+8>>2]](e,b)}F[a+1508>>2]=0}}function Mr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=F[c+288>>2];if((e|0)<=0){break a}f=F[c+292>>2];while(1){c=F[(d<<2)+f>>2];b:{if(!c|G[c|0]!=G[a|0]){break b}if((hb(c)|0)!=(b|0)){break b}if(!cb(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function Jb(a,b){var c=0,d=0,e=0;c=Ga-16|0;Ga=c;D[c+15|0]=0;F[b>>2]=0;d=F[a+8>>2];a:{b:{e=F[a+20>>2];c:{if(e){if((Ia[e|0](a,d,c+15|0,1)|0)!=1){break b}d=F[a+8>>2];b=c+15|0;break c}if(I[a+4>>2]<=d>>>0){break b}b=F[a>>2]+d|0}b=G[b|0];F[a+8>>2]=d+1;break a}F[b>>2]=85;b=0}Ga=c+16|0;return b<<24>>24}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=F[F[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=F[f+16>>2];if(c){b=F[F[(F[F[b+16608>>2]+4>>2]<<2)+16320>>2]+16>>2];if(b){Ia[b|0](c);c=F[f+16>>2]}if(c){Ia[F[d+8>>2]](d,c)}F[f+16>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}if(a){Ia[F[d+8>>2]](d,a)}}}function hc(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(F[a>>2]!=F[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=G[a|0];e=G[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}return d-e|0}return 0}function Jm(a){a=a|0;var b=0,c=0,d=0,e=0;b=F[a+32>>2];if(!(!b|!F[b>>2])){while(1){e=(d<<2)+b|0;a:{if(!F[e+28>>2]){break a}c=L(d,24)+b|0;F[c- -64>>2]=0;Ta(F[c+68>>2]);F[c+68>>2]=0;F[c+60>>2]=0;F[c+64>>2]=0;if(!G[b+4|0]){break a}Ta(F[e+28>>2])}d=d+1|0;if(d>>>0>2]){continue}break}Ta(b)}Ta(a)}function yk(a,b,c){var d=0,e=0;e=Ga-16|0;Ga=e;d=F[F[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+F[a+432>>2]|0;a=F[d+F[a+428>>2]>>2];break b}b=Ia[F[F[d>>2]>>2]](F[d+4>>2],b,e+8|0)|0;if(b){break a}b=e+8|4;a=F[e+8>>2]}d=F[b>>2];F[c+12>>2]=a;b=0;F[c>>2]=0;F[c+4>>2]=a;F[c+8>>2]=a+d}Ga=e+16|0;return b}function cx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=F[a+16>>2];d=H[a+2>>1];a:{if(d+(H[a+6>>1]<<8)>>>0>>0){break a}c=H[a>>1];f=H[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>>0|d>>>0>>0){break a}g=H[F[a+12>>2]+((e-c|0)+L((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function Se(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=D[a|0];e=b&255;if(!e|!(G[(e>>>3|0)+24096|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+24128|0;b=D[a+1|0];a=a+1|0;d=G[c|0]+L(d,10)|0;c=d;if(G[((b&248)>>>3|0)+24096|0]>>>(b&7)&1){continue}break}}return c&65535}function Ei(a,b){var c=0,d=0,e=0;c=Ga-16|0;Ga=c;d=F[a+36>>2];a:{if(!d){break a}d=F[d+28>>2];b=nf(a+36|0,b,c+12|0,c+8|0);F[c+4>>2]=b;if(b){break a}b=F[c+8>>2];e=gb(d,b+1|0,c+4|0);if(!F[c+4>>2]){if(b){Ya(e,F[c+12>>2],b)}D[b+e|0]=0}if(F[a+68>>2]){break a}Eb(F[a+36>>2],c+12|0)}Ga=c+16|0;return e}function dw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=F[a+12>>2];a:{if((E[d+22>>1]+E[d+58>>1]|0)+1>>>0>I[d+4>>2]){d=Ub(d,1,0);if(d){break a}}d=F[a+20>>2];if(G[a+65|0]){a=F[d+8>>2];e=E[d+2>>1];f=F[d+4>>2]+(e<<3)|0;F[f+4>>2]=c>>10;F[f>>2]=b>>10;D[a+e|0]=1}E[d+2>>1]=H[d+2>>1]+1;d=0}return d|0}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(G[F[a+124>>2]+36|0]&2)){break a}d=F[c+68>>2];if(!d){break a}e=F[c+80>>2];a=0;while(1){b=L(a,20)+e|0;if(G[b+12|0]&64){f=b;b=G[b+14|0];D[f+19|0]=b&16?8:b&1|8;F[c+144>>2]=F[c+144>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function hz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=6;a=F[a+84>>2];a:{if(!a){break a}e=F[a+4>>2];if(!e){break a}d=Il(F[F[e+96>>2]+4>>2],a,b)}if(!d){c=nb(24);F[c>>2]=F[a+100>>2];F[c+4>>2]=F[a+104>>2];F[c+8>>2]=F[a+80>>2];F[c+12>>2]=F[a+76>>2];F[c+16>>2]=F[a+84>>2];F[c+20>>2]=G[a+94|0]}return c|0}function tw(a){a=a|0;var b=0,c=0;b=F[a+20>>2];if(!b){return 3}a:{b:{if(G[a+68|0]){a=F[a+12>>2];if((E[a+20>>1]+E[a+56>>1]|0)+1>>>0>I[a+8>>2]){a=Ub(a,0,1);if(a){break a}}c=H[b>>1];a=c<<16>>16;if((a|0)<=0){break b}E[(F[b+12>>2]+(c<<1)|0)-2>>1]=H[b+2>>1]-1}a=H[b>>1]}E[b>>1]=a+1;a=0}return a|0}function bf(a,b,c){var d=0,e=0,f=0,g=0;e=Ga-16|0;Ga=e;d=0;a:{if(!a){break a}f=F[a+92>>2];d=0;if(!f){break a}d=0;if(!F[a+16>>2]){break a}F[e+12>>2]=b;while(1){g=Ia[F[F[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=I[a+16>>2]){continue}break}d=g?F[e+12>>2]:0}a=d;if(c){F[c>>2]=g}Ga=e+16|0;return a}function Ut(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(G[a+292|0]?a+296|0:0)|0;case 2:return(H[a+372>>1]==65535?0:a+372|0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=F[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function fd(a){var b=0,c=0;F[a+20>>2]=0;F[a+36>>2]=0;F[a+48>>2]=0;b=F[a+24>>2];F[a+56>>2]=F[a+20>>2];F[a+60>>2]=b;c=F[a+32>>2];b=a- -64|0;F[b>>2]=F[a+28>>2];F[b+4>>2]=c;F[a+88>>2]=F[a+52>>2];b=F[a+40>>2];F[a+72>>2]=F[a+36>>2];F[a+76>>2]=b;b=F[a+48>>2];F[a+80>>2]=F[a+44>>2];F[a+84>>2]=b}function Wg(a){var b=0,c=0,d=0,e=0;b=hm(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(G[d+a|0]){break a}b=F[61731];if(!b){break a}c=F[b>>2];if(!c){break a}while(1){b:{if(!cb(a,c,d)){c=F[b>>2]+d|0;if(G[c|0]==61){break b}}c=F[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function cp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Ga-16|0;Ga=d;e=F[b+24>>2];b=F[b+28>>2];F[61902]=0;c=da(642,e|0,c|0,b|16,d+12|0)|0;e=F[61902];F[61902]=0;if((e|0)!=1){if(!c){c=F[d+12>>2];f=(F[a+24>>2]<0?c:0-c|0)+512>>10}yb();Ga=d+16|0;return f|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function Cm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=F[a+12>>2];a:{if(Ia[F[e+24>>2]](e,b,F[e+56>>2])>>>0<=31){e=F[a+12>>2];f=0;if(1<>2]](e,b,F[e+56>>2])&7168){break a}}a=F[a+12>>2];F[d>>2]=0;f=0;if(!b|!c){break a}f=(Ia[F[a+36>>2]](a,b,c,d,F[a+68>>2])|0)!=0}return f|0}function pb(a){var b=0,c=0;c=F[a+12>>2];a:{if((c|0)==F[a+8>>2]){a=F[a+4>>2];b=0;if(!a|F[a>>2]){break a}F[a>>2]=161;return 0}b=a;a=c-8|0;F[b+12>>2]=a;b:{switch(F[a+4>>2]-1|0){case 1:return F[a>>2]<<16;case 0:a=F[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=F[a>>2]}return b}function es(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=F[a+736>>2];a:{b:{if(f){if(b){F[b>>2]=F[f>>2]}if(c){F[c>>2]=F[f+4>>2]}if(d){F[d>>2]=F[F[a+736>>2]+8>>2]}if(!e){break a}a=F[F[a+736>>2]+12>>2];break b}if(b){F[b>>2]=0}if(c){F[c>>2]=0}a=0;if(!e){break a}}F[e>>2]=a}return 0}function op(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=M(d);e=M(e);f=M(f);g=M(g);h=M(h);i=M(i);j=j|0;var k=M(0),l=M(0);k=J[b+12>>2];l=J[b+8>>2];J[c+12>>2]=l*J[c+12>>2];J[c+16>>2]=k*J[c+16>>2];a=F[b>>2];Ia[F[a+24>>2]](a,F[b+4>>2],c,M(l*d),M(k*e),M(l*f),M(k*g),M(l*h),M(k*i),F[a+44>>2])}function mm(a){var b=0,c=0,d=0,e=0;b=F[a+40>>2];b=Ia[b|0](a,0,0,G[a|0]&128?F[a+20>>2]==F[a+28>>2]?1:2:1)|0;c=Ha;a:{if((c|0)<0){break a}e=b;d=F[a+8>>2];if(d){a=a+4|0}else{d=F[a+28>>2];if(!d){break a}a=a+20|0}b=F[a>>2]-d|0;a=e+b|0;c=(b>>31)+c|0;c=a>>>0>>0?c+1|0:c;b=a}Ha=c;return b}function hb(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!G[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=F[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=G[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Xv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Ia[F[a+20>>2]](H[F[a+16>>2]+(b<<1)>>1])|0;d=F[a+24>>2];if(!d){break a}e=F[a+28>>2];while(1){a=F[(c<<2)+e>>2];if(!(!a|G[a|0]!=G[b|0])){if(!ab(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function df(a,b){var c=0,d=0,e=0;d=F[F[a+4>>2]+100>>2];c=F[a+156>>2];e=F[c+4>>2];a:{if(e&1){c=F[a+88>>2];if(c){Ia[F[d+8>>2]](d,c)}F[a+88>>2]=0;break a}F[c+4>>2]=e|1}e=0;c=b?6:0;b:{if((b|0)<=0){break b}d=Ia[F[d+4>>2]](d,b)|0;c=64;if(!d){break b}e=Wa(d,0,b);c=0}F[a+88>>2]=e;return c}function Hb(){var a=0;a=F[61598];F[61902]=0;Fa(a|0);a=F[61902];F[61902]=0;a:{if((a|0)!=1){F[61902]=0;ea(905,238685,0);a=F[61902];F[61902]=0;if((a|0)!=1){break a}}a=ca(0)|0;Y()|0;ka(a|0)|0;F[61902]=0;ea(905,238240,0);a=F[61902];F[61902]=0;if((a|0)!=1){break a}ca(0)|0;Y()|0;Hb()}V()}function tg(a,b,c){var d=0;d=Ga-16|0;Ga=d;a:{if(b>>>0<=255){b=sb(a,b&4?29840:29872,c);break a}b=sb(a,29904,d+8|0);if(b){break a}E[c>>1]=G[d+8|0]-128;E[c+2>>1]=G[d+9|0]-128;E[c+4>>1]=G[d+10|0]-128;E[c+6>>1]=G[d+11|0]-128;a=G[d+12|0];E[c+10>>1]=0;E[c+8>>1]=a-128}Ga=d+16|0;return b}function Lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=H[a+152>>1];a:{if(!e){break a}a=F[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(F[a>>2]==(b|0)){g=F[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){F[d>>2]=g}f=Za(c,F[a+8>>2])}return f|0}function Ff(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{c=F[a+4>>2];switch(c+1|0){case 0:break a;case 1:break b;default:break c}}a=F[a>>2];if(a>>>0>2]){break a}d=F[b+8>>2];if(a>>>0>d>>>0|d-a>>>0>>0){break a}a=F[b+12>>2]-c|0;F[b+12>>2]=a;return(a|0)>0|0}e=1}return e|0}function uf(a){var b=0,c=0,d=0;c=-2;a:{if(!a|!F[a+32>>2]){break a}d=F[a+36>>2];if(!d){break a}b=F[a+28>>2];if(!b|F[b>>2]!=(a|0)|F[b+4>>2]-16180>>>0>31){break a}c=F[b+56>>2];if(c){Ia[d|0](F[a+40>>2],c);d=F[a+36>>2];b=F[a+28>>2]}Ia[d|0](F[a+40>>2],b);c=0;F[a+28>>2]=0}return c}function cw(a){a=a|0;var b=0,c=0;b=F[a+20>>2];a:{b:{if(G[a+65|0]){a=F[a+12>>2];if((E[a+20>>1]+E[a+56>>1]|0)+1>>>0>I[a+8>>2]){a=Ub(a,0,1);if(a){break a}}c=H[b>>1];a=c<<16>>16;if((a|0)<=0){break b}E[(F[b+12>>2]+(c<<1)|0)-2>>1]=H[b+2>>1]-1}a=H[b>>1]}E[b>>1]=a+1;a=0}return a|0}function Aq(a){a=a|0;var b=0,c=0,d=0;if(a){c=F[a+100>>2];b=F[a+132>>2];if(b){if(F[b+160>>2]){Eb(F[a+104>>2],b+160|0)}d=F[b+168>>2];if(d){Ia[F[c+8>>2]](c,d)}F[b+168>>2]=0;if(b){Ia[F[c+8>>2]](c,b)}F[a+132>>2]=0}b=F[a+32>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+28>>2]=0;F[a+32>>2]=0}}function cB(a,b){a=a|0;b=b|0;var c=0,d=0;d=F[b+100>>2];c=G[a+2|0]|G[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=qb(c,F[F[d+80>>2]+L(F[d+64>>2],20)>>2]);if((c|0)!=-1){hd(a+4|0,b,a,a+6|0,F[d+88>>2]+L(F[d+64>>2],20)|0);F[d+64>>2]=F[d+64>>2]+1}return(c|0)!=-1|0}function am(a,b,c,d){var e=0,f=0;e=Ga-160|0;Ga=e;f=-1;F[e+148>>2]=b?b-1|0:0;a=b?a:e+158|0;F[e+144>>2]=a;e=Wa(e,0,144);F[e+76>>2]=-1;F[e+36>>2]=878;F[e+80>>2]=-1;F[e+44>>2]=e+159;F[e+84>>2]=e+144;a:{if((b|0)<0){F[61729]=61;break a}D[a|0]=0;f=bm(e,c,d)}Ga=e+160|0;return f}function Mh(a){var b=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+88>>2];if(b){Ia[b|0](F[a+84>>2])}Mh(F[a+12>>2]);hi(F[a+16>>2]);Ie(F[a+80>>2]);Ta(F[a+72>>2]);Ta(F[a+76>>2]);Ta(a)}}function $a(a,b,c){var d=0,e=0;a:{d=F[a+72>>2]+c|0;if(!d|d>>>0>2]){break a}if(Yc(a,d)){break a}return 0}d=F[a+80>>2];b:{if((d|0)!=F[a+84>>2]){break b}e=c;c=F[a+72>>2];if(e+c>>>0<=F[a+64>>2]+b>>>0){break b}b=a;a=F[a+88>>2];F[b+84>>2]=a;Ya(a,d,L(c,20))}return 1}function Uu(a,b){a=a|0;b=b|0;var c=0;if(I[b+160>>2]>>0){kb(b,8)}c=G[a+3|0]|G[a+2|0]<<8;if(!(c>>>0>=262&I[b+160>>2]>=a+c>>>0)){kb(b,8)}if(F[b+164>>2]>0){a=a+6|0;c=0;while(1){if(I[b+172>>2]<=G[a|0]){kb(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function Iq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=F[a+420>>2];if((d|0)>0){f=F[a+424>>2];g=G[b|0];while(1){a:{e=F[(c<<2)+f>>2];if(G[e|0]!=(g|0)){break a}if(ab(b,e)){break a}return Lb(F[F[a+428>>2]+(c<<2)>>2],0)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function Td(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=GC(a,b,10,0);f=Ha;e=EC(d,f,10,0);c=c-1|0;D[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;D[c|0]=d-L(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Qo(){var a=0,b=0;a=Ga-16|0;Ga=a;a:{if(ya(a+12|0,a+8|0)|0){break a}b=nb((F[a+12>>2]<<2)+4|0);F[61731]=b;if(!b){break a}b=nb(F[a+8>>2]);if(b){F[F[61731]+(F[a+12>>2]<<2)>>2]=0;if(!(xa(F[61731],b|0)|0)){break a}}F[61731]=0}Ga=a+16|0;F[61770]=246960;F[61752]=42}function Rw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=F[a+88>>2];if(b){F[b>>2]=F[a+300>>2]}if(c){F[c>>2]=F[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=_a(H[f+12>>1]<<6,F[a+304>>2]);a=_a(H[f+14>>1]<<6,F[a+304>>2])}if(d){F[d>>2]=b}if(e){F[e>>2]=a}return 0}function Lz(a){a=a|0;var b=0,c=0,d=0;c=F[a+16>>2];b=161;a:{if(I[a+20>>2]>>0){break a}d=F[a+32>>2];c=vc(a,F[c>>2]);b=3;if(c-17>>>0<4294967281){break a}E[d+176>>1]=c;b=d;d=(F[a+20>>2]-F[a+16>>2]>>>2|0)-4|0;E[b+178>>1]=d;E[a+38>>1]=d;E[a+36>>1]=c;b=0}return b|0}function Ua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=L(c,d)+32768>>>16|0;break a}e=d&65535;c=L(e,c>>>16|0)+L(c,d>>>16|0)+(L(c&65535,e)+32768>>>16)|0}a=a>>31|1;return((((b|0)<0?0-a|0:a)|0)<0?0-c|0:c)|0}function sp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;b=Ga-16|0;Ga=b;F[b+4>>2]=e;F[b>>2]=d;d=F[a+12>>2];J[b+8>>2]=M(F[a+20>>2])/M(F[d+20>>2]);J[b+12>>2]=M(F[a+24>>2])/M(F[d+24>>2]);a=F[d+80>>2];Ia[F[a+224>>2]](d,F[d+84>>2],c,246020,b,F[a+80>>2]);Ga=b+16|0}function Yu(a){a=a|0;var b=0,c=0,d=0,e=0;b=F[a+16>>2];F[a+32>>2]=b;d=F[a+20>>2];F[a+36>>2]=d;c=F[a+8>>2];e=c+F[a>>2]|0;F[a+8>>2]=e>>1;b=b+c|0;F[a+24>>2]=b>>1;F[a+16>>2]=b+e>>2;b=F[a+12>>2];c=b+F[a+4>>2]|0;F[a+12>>2]=c>>1;b=b+d|0;F[a+28>>2]=b>>1;F[a+20>>2]=b+c>>2}function Ld(a){var b=0,c=0,d=0;a:{if(!a){break a}b=D[a|0];d=b&255;if(!d|!(G[(d>>>3|0)+24096|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=G[b+24128|0]+L(c,10)|0;b=D[a+1|0];a=a+1|0;if(G[((b&248)>>>3|0)+24096|0]>>>(b&7)&1){continue}break}}return c}function Jr(a,b){a=a|0;b=b|0;var c=0,d=0;d=F[a>>2];c=F[d+552>>2];a:{d=Nb(F[F[d+96>>2]+4>>2],10580);if(!(!d|!c)){c=F[c>>2];if(c){break a}}zd(F[a>>2],b);return 0}c=Ia[c|0](d)|0;zd(F[a>>2],b);if(c){Ia[F[c+4>>2]](F[F[a+40>>2]>>2],F[a+16>>2],F[a+20>>2],0,0)}return 0}function xs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=E[a+302>>1];if(e){f=c<<3;g=F[f+F[b+12>>2]>>2];e=bb(d,e,F[a+568>>2]);F[f+F[b+12>>2]>>2]=e+g}e=E[a+304>>1];if(e){c=c<<3;f=F[(c+F[b+12>>2]|0)+4>>2];a=bb(d,e,F[a+568>>2]);F[(c+F[b+12>>2]|0)+4>>2]=a+f}}function Vq(a,b){a=a|0;b=b|0;var c=0;a=F[a+712>>2];b=H[F[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=I[a+1356>>2]){break a}return F[F[a+1360>>2]+(b<<2)>>2]}a=F[a+3084>>2];if(!a){break a}c=Ia[F[a+20>>2]](b)|0}return c|0}function ls(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=F[((c<<2)+a|0)+268>>2];c=F[a+484>>2];e=F[a+488>>2];if((b|0)>=0){b=((b+d|0)+e|0)-c|0;a=c+(b-((b|0)%F[a+480>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d+e-(b+c)|0;a=(b|0)%F[a+480>>2]-(b+c)|0;return((a|0)>0?0-c|0:a)|0}function ax(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=F[a>>2];c=F[b+408>>2];F[a+16>>2]=c;d=F[b+416>>2];F[a+20>>2]=d;a:{if(c>>>0<2){break a}b=F[d>>2];a=1;while(1){e=b;b=F[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function yp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=F[a+12>>2];e=F[b+80>>2];b=Ia[F[e+200>>2]](b,F[b+84>>2],c,d,F[e+56>>2])|0;c=F[a+12>>2];a:{if(!c){break a}c=F[c+20>>2];a=F[a+20>>2];if((c|0)==(a|0)){break a}b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31)}return b|0}function xp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=F[a+12>>2];e=F[b+80>>2];b=Ia[F[e+204>>2]](b,F[b+84>>2],c,d,F[e+60>>2])|0;c=F[a+12>>2];a:{if(!c){break a}c=F[c+24>>2];a=F[a+24>>2];if((c|0)==(a|0)){break a}b=FC(EC(a,a>>31,b,b>>31),Ha,c,c>>31)}return b|0}function Et(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=F[a+516>>2];a:{b:{if(c){c=Ia[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Ia[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=sb(b,95248,a);if(c){break a}F[a+36>>2]=0;F[a+40>>2]=0;c=0}return c|0}function nm(a){var b=0,c=0,d=0;c=Ga-16|0;Ga=c;D[c+15|0]=10;b=F[a+16>>2];a:{if(!b){if(Yg(a)){break a}b=F[a+16>>2]}d=b;b=F[a+20>>2];if(!((d|0)==(b|0)|F[a+80>>2]==10)){F[a+20>>2]=b+1;D[b|0]=10;break a}if((Ia[F[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}Ga=c+16|0}function Tw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;Nk(a,b,c,d);b=F[a+300>>2];c=F[a+304>>2];a:{if((b|0)==(c|0)){break a}e=F[d>>2];if(e){f=d,g=bb(e,b,c),F[f>>2]=g}b=F[d+4>>2];if(!b){break a}f=d,g=bb(b,F[a+300>>2],F[a+304>>2]),F[f+4>>2]=g}return 0}function vw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=F[a+20>>2];if(G[a+68|0]){a=F[e+8>>2];f=E[e+2>>1];g=F[e+4>>2]+(f<<3)|0;F[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;F[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;D[a+f|0]=d?1:2}E[e+2>>1]=H[e+2>>1]+1}function Zb(a){var b=0,c=0;b=oh(a+52|0);b=G[b+50|0]|G[b+51|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=1){b=F[go(a+104|0)+16>>2]>>>(b?2:1)|0;c=(b>>>0>1?b:1)-1|0}b=a;a=th(a+56|0);a=G[a+4|0]|G[a+5|0]<<8;a=(a<<8|a>>>8)&65535;a=a>>>0>>0?c:a;F[b+32>>2]=a;return a}function pp(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=M(d);e=M(e);f=M(f);g=M(g);h=h|0;var i=M(0),j=M(0);i=J[b+12>>2];j=J[b+8>>2];J[c+12>>2]=j*J[c+12>>2];J[c+16>>2]=i*J[c+16>>2];a=F[b>>2];Ia[F[a+20>>2]](a,F[b+4>>2],c,M(j*d),M(i*e),M(j*f),M(i*g),F[a+40>>2])}function ji(){var a=0,b=0,c=0,d=0,e=0;b=Wg(105174);a=2;a:{if(!b){break a}a=2;if(!G[b|0]){break a}while(1){c=oc(b,58);if(!c){c=hb(b)+b|0}e=a|4;d=a;a=c-b|0;a=cb(b,105343,a)?d:(a|0)==24?e:d;b=(G[c|0]!=0)+c|0;if(G[b|0]){continue}break}a=a&255}F[61600]=a}function ho(a){var b=0,c=0;b=F[a+4>>2];if(b){while(1){b=F[a+8>>2]+L(b,28)|0;F[b-20>>2]=0;c=b-16|0;Ta(F[c>>2]);F[c>>2]=0;b=b-24|0;F[b>>2]=0;F[b+4>>2]=0;b=F[a+4>>2]-1|0;F[a+4>>2]=b;if(b){continue}break}}Ta(F[a+8>>2]);F[a+8>>2]=0;F[a>>2]=0;F[a+4>>2]=0}function dr(a,b){a=a|0;b=b|0;var c=0;zd(F[a>>2],b);c=F[a>>2];b=F[c+320>>2];c=Nb(F[F[c+96>>2]+4>>2],10070);a:{if(!c|!b){break a}b=F[b>>2];if(!b){break a}b=Ia[b|0](c)|0;if(!b){break a}Ia[F[b+4>>2]](F[F[a+40>>2]>>2],F[a+16>>2],F[a+20>>2],0,0)}return 0}function Rv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=F[b>>2]+1|0;d=F[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+F[a+20>>2]|0;a:{if(c>>>0>>0){e=F[a+24>>2];while(1){a=H[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}F[b>>2]=c;return a|0}function gm(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=gm(a*0x10000000000000000,b);c=F[b>>2]+-64|0}F[b>>2]=c;return a}F[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ga-16|0;Ga=d;F[d+12>>2]=0;a:{if(F[c+80>>2]){break a}b=b-a|0;f=gb(F[c>>2],b+1|0,d+12|0);F[c+80>>2]=f;e=F[d+12>>2];if(e){break a}Ya(f,a,b);D[b+F[c+80>>2]|0]=0;e=F[d+12>>2]}Ga=d+16|0;return e|0}function fc(a){var b=0,c=0;c=F[a+12>>2];a:{if((c|0)==F[a+8>>2]){a=F[a+4>>2];b=0;if(!a|F[a>>2]){break a}F[a>>2]=161;return 0}if(F[c-4>>2]!=2){a=F[a+4>>2];b=0;if(!a|F[a>>2]){break a}F[a>>2]=160;return 0}b=a;a=c-8|0;F[b+12>>2]=a;b=F[a>>2]}return b}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ga-16|0;Ga=d;e=F[F[a+128>>2]+52>>2];a:{if(e){a=F[b>>2];F[d+12>>2]=c;F[d+8>>2]=a;Ia[F[F[e>>2]+4>>2]](F[e+4>>2],d+8|0);break a}a=F[a+712>>2];if(F[a+1236>>2]){break a}Eb(F[a+1204>>2],b)}Ga=d+16|0}function nd(a){var b=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}Ud(F[a+12>>2]);Ta(F[a+80>>2]);Ta(F[a+88>>2]);b=F[a+164>>2];if(b){Ia[b|0](F[a+160>>2])}Ta(a)}}function rh(a,b,c,d,e){var f=M(0),g=M(0);if(F[c>>2]){f=J[c+4>>2];g=J[c+8>>2];if(!(f==J[c+12>>2]&g==J[c+16>>2])){Ia[F[a+16>>2]](a,b,c,f,g,F[a+36>>2])}Ia[F[a+28>>2]](a,b,c,F[a+48>>2]);F[c+8>>2]=0;F[c>>2]=0;F[c+4>>2]=0}J[c+16>>2]=e;J[c+12>>2]=d}function Zy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ga-16|0;Ga=e;f=F[F[a+128>>2]+52>>2];a:{if(f){a=Ia[F[F[f>>2]>>2]](F[f+4>>2],b,e+8|0)|0;F[c>>2]=F[e+8>>2];F[d>>2]=F[e+12>>2];break a}a=nf(F[a+712>>2]+1204|0,b,c,d)}Ga=e+16|0;return a|0}function Vw(a){a=a|0;var b=0,c=0;c=F[F[a+188>>2]>>2];b=F[a+168>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+172>>2]=0;F[a+164>>2]=0;F[a+168>>2]=0;b=F[a+184>>2];if(b){Ia[F[c+8>>2]](c,b)}D[a+192|0]=0;F[a+184>>2]=0;F[a+188>>2]=0;F[a+176>>2]=0;F[a+180>>2]=0}function mj(a,b){a=a|0;b=b|0;var c=0;c=F[a+136>>2];F[b>>2]=F[a+132>>2];F[b+4>>2]=c;c=F[a+160>>2];F[b+24>>2]=F[a+156>>2];F[b+28>>2]=c;c=F[a+152>>2];F[b+16>>2]=F[a+148>>2];F[b+20>>2]=c;c=F[a+144>>2];F[b+8>>2]=F[a+140>>2];F[b+12>>2]=c;return 0}function br(a,b){a=a|0;b=b|0;var c=0;c=F[a+192>>2];F[b+24>>2]=F[a+188>>2];F[b+28>>2]=c;c=F[a+184>>2];F[b+16>>2]=F[a+180>>2];F[b+20>>2]=c;c=F[a+176>>2];F[b+8>>2]=F[a+172>>2];F[b+12>>2]=c;c=F[a+168>>2];F[b>>2]=F[a+164>>2];F[b+4>>2]=c;return 0}function Cr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ga-16|0;Ga=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=F[f+c>>2];F[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=hj(a,e,d);Ga=d+16|0;return a|0}function ks(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=F[((c<<2)+a|0)+268>>2];c=F[a+484>>2];e=F[a+488>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-F[a+480>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-F[a+480>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function Nb(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=F[a+16>>2];if((c|0)<=0){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=F[a>>2];if(!ab(F[F[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0;c=F[b>>2];a:{if(c>>>0>65534){break a}if(D[a+20|0]&1){return dk(F[a>>2],F[a+16>>2],b,1)|0}if((c|0)==F[a+24>>2]){ak(a);c=F[a+28>>2];if(!c){break a}F[b>>2]=F[a+24>>2];return c|0}d=ck(a,b,1)}return d|0}function hr(a){a=a|0;var b=0,c=0;if(F[F[a+40>>2]>>2]){c=F[a>>2];b=F[c+320>>2];c=Nb(F[F[c+96>>2]+4>>2],10070);a:{if(!c|!b){break a}b=F[b>>2];if(!b){break a}b=Ia[b|0](c)|0;if(!b){break a}Ia[F[b+8>>2]](F[F[a+40>>2]>>2])}F[F[a+40>>2]>>2]=0}}function Sr(a){a=a|0;var b=0,c=0;if(F[F[a+40>>2]>>2]){c=F[a>>2];b=F[c+552>>2];c=Nb(F[F[c+96>>2]+4>>2],10580);a:{if(!c|!b){break a}b=F[b>>2];if(!b){break a}b=Ia[b|0](c)|0;if(!b){break a}Ia[F[b+8>>2]](F[F[a+40>>2]>>2])}F[F[a+40>>2]>>2]=0}}function vv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(F[a+4>>2]){break a}e=c;g=a+52|0;f=F[g>>2];c=F[a+16>>2];if((e|0)!=(f+c|0)){break a}e=F[a>>2];c=Ve(a+16|0,d,f,c,b,e);if(!c){c=Ve(g,d,0,f,b,e);if(!c){break a}}F[a+4>>2]=c}}function Tt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=H[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=F[a+156>>2]+(b<<4)|0;F[c>>2]=F[a>>2];F[d>>2]=F[a+8>>2];g=F[a+12>>2]}F[e>>2]=g;f=0}return f|0}function il(a,b,c,d,e){if((b|1|c)<0){F[e>>2]=6;return d}a:{if(!c){if(!d){break a}Ia[F[a+8>>2]](a,d);break a}if(!b){a=Ia[F[a+4>>2]](a,c)|0;F[e>>2]=!a<<6;return a}a=Ia[F[a+12>>2]](a,b,c,d)|0;F[e>>2]=!a<<6;return a?a:d}F[e>>2]=0;return 0}function Iw(a){a=a|0;var b=0,c=0;if(F[a+12>>2]==-559038737){c=F[a+32>>2];b=F[a>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a>>2]=0;b=F[a+24>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+24>>2]=0;b=F[a+28>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+12>>2]=0;F[a+28>>2]=0}}function $w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=F[a+16>>2];if(c){f=F[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=F[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function cb(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=G[a|0];a:{if(!d){break a}while(1){b:{e=G[b|0];if(!e){break b}c=c-1|0;if(!c|(d|0)!=(e|0)){break b}b=b+1|0;d=G[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-G[b|0]|0}function dm(a){var b=0,c=0,d=0;if(D[F[a>>2]]-48>>>0>=10){return 0}while(1){d=F[a>>2];c=-1;if(b>>>0<=214748364){c=D[d|0]-48|0;b=L(b,10);c=(c|0)>(2147483647-b|0)?-1:c+b|0}F[a>>2]=d+1;b=c;if(D[d+1|0]-48>>>0<10){continue}break}return b}function Bv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=F[c>>2];d=((d>>31)+d|0)+32768&-65536;c=F[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(F[a+4>>2]){break a}b=ie((L((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,F[a>>2],0);if(!b){break a}F[a+4>>2]=b}}function us(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(F[F[F[a>>2]+96>>2]+64>>2]-35|0){case 5:if(G[a+615|0]){break a}break;case 0:break b;default:break a}}a=F[b+16>>2]+(c<<3)|0;F[a>>2]=F[a>>2]+d}a=F[b+24>>2]+c|0;D[a|0]=G[a|0]|8}function Mt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ga-16|0;Ga=d;e=lg(a,9803,d);a:{if(e){break a}e=lg(a,9929,d+8|0);if(e){break a}e=6;if(F[d>>2]!=1|F[d+8>>2]!=1){break a}F[b>>2]=F[d+12>>2];F[c>>2]=F[d+4>>2];e=0}Ga=d+16|0;return e|0}function Jc(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=F[a+16>>2];if((c|0)<=0){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=F[F[a>>2]>>2];if(ab(F[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=F[d+20>>2]}return e}function ad(a,b){var c=0,d=0,e=0,f=0;a:{c=F[a+280>>2];if((c|0)<=0){break a}d=F[a+284>>2];a=0;while(1){b:{f=a;e=ab(F[L(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return L(f,12)+d|0}return 0}function iw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ga-16|0;Ga=f;e=gb(b,16,f+12|0);g=F[f+12>>2];if(!g){F[e+12>>2]=2;F[e+8>>2]=d;F[e>>2]=c;F[e+4>>2]=c;F[a+8>>2]=0;F[a+12>>2]=0;F[a+4>>2]=e;F[a>>2]=b}Ga=f+16|0;return g|0}function wv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(F[a+4>>2]){break a}d=F[a+16>>2];e=a+52|0;f=F[e>>2];if((d+f|0)!=(b|0)){break a}g=F[a>>2];b=Ve(a+16|0,c,0,d,0,g);if(!b){b=Ve(e,c,d,f,0,g);if(!b){break a}}F[a+4>>2]=b}}function kv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=F[a>>2];d=a&2147483647;b=F[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function Qz(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=F[a+16>>2];a:{if(I[a+20>>2]>>0){break a}d=F[a+32>>2];b=3;e=vc(a,F[c>>2]);if((e|0)<0){break a}F[d+120>>2]=e;a=vc(a,F[c+4>>2]);if((a|0)<0){break a}F[d+116>>2]=a;b=0}return b|0}function Gb(a,b,c){var d=0,e=0,f=0;d=F[a+8>>2];f=F[a+4>>2];if(d>>>0>>0){e=F[a+20>>2];a:{if(e){b=Ia[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;Ya(e,F[a>>2]+d|0,b)}F[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function _d(a,b,c,d,e,f,g){var h=0;if(!F[c>>2]){Ia[F[a+12>>2]](a,b,c,J[c+12>>2],J[c+16>>2],F[a+32>>2]);F[c>>2]=1;h=F[c+16>>2];F[c+4>>2]=F[c+12>>2];F[c+8>>2]=h}Ia[F[a+20>>2]](a,b,c,d,e,f,g,F[a+40>>2]);J[c+16>>2]=g;J[c+12>>2]=f}function kp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ga-16|0;Ga=a;F[a+12>>2]=0;a:{if(ql(c,b,0,a+12|0)){break a}d=nb(F[a+12>>2]);if(!d){break a}if(ql(c,b,d,a+12|0)){Ta(d);break a}e=vi(d,F[a+12>>2],2,d,594)}Ga=a+16|0;return e|0}function FC(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=GC(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Ha=(g^Ha)-((a>>>0>>0)+g|0)|0;return b}function Ez(a){a=a|0;var b=0,c=0,d=0,e=0;b=F[a+16>>2];if(I[a+20>>2]>=b+12>>>0){c=F[a+32>>2];d=c,e=vc(a,F[b>>2]),F[d+132>>2]=e;d=c,e=vc(a,F[b+4>>2]),F[d+136>>2]=e;d=c,e=vc(a,F[b+8>>2]),F[d+140>>2]=e;a=0}else{a=161}return a|0}function oi(a,b){if(b){F[b>>2]=F[a+68>>2]}a:{if(G[a+62|0]){break a}if(F[a+168>>2]){return 0}F[a+72>>2]=0;D[a+61|0]=0;D[a+62|0]=1;F[a+84>>2]=F[a+80>>2];b=L(F[a+68>>2],20);if(!b){break a}Wa(F[a+88>>2],0,b)}return F[a+88>>2]}function rB(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=F[a+12>>2];a:{if((c|0)==24428|(c|0)==24468){break a}d=0;c=pc(Nb(F[F[F[a>>2]+96>>2]+4>>2],9005),10157,0);if(!c){break a}c=F[c>>2];if(!c){break a}d=Ia[c|0](a,b)|0}return d|0}function fz(a){a=a|0;var b=0,c=0,d=0;b=hb(a);c=Ga+-64|0;Ga=c;a:{if(!G[a|0]|(!a|!b)){break a}b:{if((b|0)>=0){b=(b|0)<63?b:63;a=Ya(c,a,b);D[a+b|0]=0;a=Sf(a);break b}a=Sf(a)}if(!a){break a}d=F[a+4>>2]}Ga=c- -64|0;return d|0}function Dh(a){F[a+32>>2]=0;Ta(F[a+36>>2]);F[a+100>>2]=0;F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0;Ta(F[a+104>>2]);F[a+96>>2]=0;F[a+100>>2]=0;F[a+32>>2]=0;F[a+104>>2]=0;Ta(F[a+36>>2]);F[a+36>>2]=0;F[a+28>>2]=0;F[a+32>>2]=0}function qp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=M(d);e=M(e);f=f|0;var g=M(0),h=M(0);g=J[b+12>>2];h=J[b+8>>2];J[c+12>>2]=h*J[c+12>>2];J[c+16>>2]=g*J[c+16>>2];a=F[b>>2];Ia[F[a+16>>2]](a,F[b+4>>2],c,M(h*d),M(g*e),F[a+36>>2])}function so(a,b,c,d,e){var f=0;if(!F[c>>2]){Ia[F[a+12>>2]](a,b,c,J[c+12>>2],J[c+16>>2],F[a+32>>2]);F[c>>2]=1;f=F[c+16>>2];F[c+4>>2]=F[c+12>>2];F[c+8>>2]=f}Ia[F[a+16>>2]](a,b,c,d,e,F[a+36>>2]);J[c+16>>2]=e;J[c+12>>2]=d}function Zo(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=F[b+24>>2];F[61902]=0;a=da(644,a|0,c|0,d|0,e|0)|0;c=F[61902];F[61902]=0;if((c|0)!=1){c=!a;c=a|!e?c:G[d|0]!=0;yb();return c|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function Lh(a,b,c,d){var e=0;a:{if(!F[a+4>>2]){if(!d){break a}Ia[d|0](c);return}e=F[a+88>>2];if(e){Ia[e|0](F[a+84>>2])}b=b?b:245792;if(F[b>>2]){F[b>>2]=F[b>>2]+1}Ie(F[a+80>>2]);F[a+88>>2]=d;F[a+84>>2]=c;F[a+80>>2]=b}}function ek(a,b){a=a|0;b=b|0;var c=0;c=F[b+4>>2];F[a+4>>2]=F[b>>2];F[a+8>>2]=c;F[a+28>>2]=F[b+24>>2];c=F[b+20>>2];F[a+20>>2]=F[b+16>>2];F[a+24>>2]=c;c=F[b+12>>2];F[a+12>>2]=F[b+8>>2];F[a+16>>2]=c;Rj(a,b,0);Rj(a,b,1)}function Kx(a,b){a=a|0;b=b|0;var c=0,d=0;F[b+72>>2]=1869968492;d=F[a+36>>2];F[b+124>>2]=d;c=F[a+24>>2];F[b+108>>2]=F[a+20>>2];F[b+112>>2]=c;c=F[a+32>>2];F[b+116>>2]=F[a+28>>2];F[b+120>>2]=c;F[b+124>>2]=d&-2;return 0}function EC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=L(e,f);g=c&65535;h=a&65535;i=L(g,h);f=(i>>>16|0)+L(f,g)|0;e=(f&65535)+L(e,h)|0;Ha=(L(b,c)+j|0)+L(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Zs(a,b){a=a|0;b=b|0;var c=0,d=0;d=tc(96640,b);a:{if(d){break a}d=0;if(!a){break a}c=F[a+4>>2];if(!c){break a}c=Nb(c,9005);if(!c){break a}c=F[F[c>>2]+20>>2];if(!c){break a}d=Ia[F[c+16>>2]](a,b)|0}return d|0}function gp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=F[b+24>>2];a=0;F[61902]=0;c=ha(640,f|0,c|0,d|0)|0;d=F[61902];F[61902]=0;if((d|0)!=1){if(c){F[e>>2]=c;a=1}yb();return a|0}a=Z()|0;Y()|0;yb();$(a|0);V()}function af(a,b,c,d){var e=0,f=0;f=F[a+4>>2];if(f>>>0>b>>>0){e=F[a+20>>2];a:{if(e){c=Ia[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;Ya(e,F[a>>2]+b|0,c)}F[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Nt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ga-16|0;Ga=d;e=F[a+16>>2];a:{if((e|0)>0){while(1){if(!Te(a,c,d+12|0)){if(!ab(b,F[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Ga=d+16|0;return c|0}function rs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!G[a+616|0]|(!G[a+615|0]|F[F[F[a>>2]+96>>2]+64>>2]!=40))){if(G[a+617|0]){break a}}a=F[b+16>>2]+(c<<3)|0;F[a+4>>2]=F[a+4>>2]+d}a=F[b+24>>2]+c|0;D[a|0]=G[a|0]|16}function $r(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(ab(b,10673)){break a}e=7;b:{c:{if(d){b=Lb(c,0);break c}b=F[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}F[a- -64>>2]=b;e=0}return e|0}function Eg(a,b,c){var d=0,e=0,f=0,g=0;e=F[a+8>>2];f=F[a+4>>2];if(e>>>0>>0){d=F[a+20>>2];a:{if(d){d=Ia[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>>0?b:c;Ya(g,F[a>>2]+e|0,d)}F[a+8>>2]=F[a+8>>2]+d}return d}function vB(a){a=a|0;var b=0,c=0;c=F[a+712>>2];a:{if(!(G[a+8|0]&8)|!F[a+540>>2]){break a}b=pc(Nb(F[F[a+96>>2]+4>>2],9005),9908,0);if(!b){break a}b=F[b>>2];if(!b){break a}return Ia[b|0](a)|0}return F[c+1348>>2]}function Mg(a,b){var c=0,d=0,e=0;c=F[a+156>>2];a:{if(!c){break a}d=F[c+4>>2];if(!(d&1)){break a}e=F[a+88>>2];if(e){c=F[F[a+4>>2]+100>>2];Ia[F[c+8>>2]](c,e);c=F[a+156>>2];d=F[c+4>>2]}F[c+4>>2]=d&-2}F[a+88>>2]=b}function pt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ga-16|0;Ga=d;e=Ia[F[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){F[(c?756:752)+a>>2]=F[d+12>>2];F[(c?856:852)+a>>2]=F[b+8>>2]}Ga=d+16|0;return e|0}function Sl(a,b,c){var d=0;d=F[a+16>>2];if(!d){F[a+36>>2]=1;F[a+24>>2]=c;F[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(F[a+24>>2]!=2){break a}F[a+24>>2]=c;return}D[a+54|0]=1;F[a+24>>2]=2;F[a+36>>2]=F[a+36>>2]+1}}function Bm(a,b){var c=0,d=0;if($a(a,0,1)){d=F[b+4>>2];c=F[a+84>>2]+L(F[a+72>>2],20)|0;F[c>>2]=F[b>>2];F[c+4>>2]=d;F[c+16>>2]=F[b+16>>2];d=F[b+12>>2];F[c+8>>2]=F[b+8>>2];F[c+12>>2]=d;F[a+72>>2]=F[a+72>>2]+1}}function nc(a,b,c){var d=0,e=0,f=0;if(!b){F[c>>2]=0;return 0}e=c;c=hb(b);d=c+1|0;f=!d;a:{if(c>>>0<=2147483646){c=Ia[F[a+4>>2]](a,d)|0;a=!c<<6;break a}c=0;a=d?6:0}if(!(f|a)){Ya(c,b,d);a=0}F[e>>2]=a;return c}function $h(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;F[c>>2]=0;F[c+4>>2]=0;F[c+40>>2]=0;F[c+44>>2]=0;F[c+32>>2]=0;F[c+36>>2]=0;F[c+24>>2]=0;F[c+28>>2]=0;F[c+16>>2]=0;F[c+20>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;return 0}function bc(a,b,c,d,e){var f=0;f=Ga-256|0;Ga=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Wa(f,b&255,d?c:256);if(!d){while(1){Yb(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Yb(a,f,c)}Ga=f+256|0}function Ww(a){a=a|0;var b=0;b=F[F[a+156>>2]>>2];F[a+184>>2]=0;F[a+188>>2]=0;F[a+160>>2]=0;F[a+164>>2]=0;F[a+168>>2]=0;F[a+172>>2]=0;F[a+176>>2]=0;F[a+180>>2]=0;F[a+192>>2]=0;F[a+188>>2]=b;fd(b);return 0}function Le(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=I[a+1356>>2]){break a}return F[F[a+1360>>2]+(b<<2)>>2]}a=F[a+3084>>2];if(!a){break a}c=Ia[F[a+20>>2]](b)|0}return c}function Xa(a){a=a|0;var b=0;a:{if(!a|!F[a>>2]){break a}b=F[a>>2];F[a>>2]=b-1;if((b|0)!=1){break a}F[a>>2]=-57005;b=F[a+8>>2];if(b){xc(b+24|0,b);yb();Ta(b)}b=F[a+28>>2];if(b){Ia[b|0](F[a+24>>2])}Ta(a)}}function tj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ga-16|0;Ga=e;g=F[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=Va(a,1,g,d,F[c>>2],e+12|0),F[h>>2]=i;f=F[e+12>>2];if(f){break a}F[b>>2]=d;f=0}Ga=e+16|0;return f}function mb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ga-16|0;Ga=e;a:{if(!F[a+156>>2]){d=1;break a}F[a+168>>2]=F[a+168>>2]+1;F[e+12>>2]=d;d=ki(a,b,c,d);F[a+168>>2]=F[a+168>>2]-1}Ga=e+16|0;return d|0}function ew(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=F[a+20>>2];if(G[a+65|0]){a=F[e+8>>2];f=E[e+2>>1];g=F[e+4>>2]+(f<<3)|0;F[g+4>>2]=c>>10;F[g>>2]=b>>10;D[a+f|0]=d?1:2}E[e+2>>1]=H[e+2>>1]+1}function Ku(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ga-16|0;Ga=c;F[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(D[a+20|0]&1){d=dk(F[a>>2],F[a+16>>2],c+12|0,0);break a}d=ck(a,c+12|0,0)}a=d;Ga=c+16|0;return a|0}function dB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=F[a+712>>2];a:{b:{if(!a){break b}d=6;if(F[a+1504>>2]==65535|I[a+20>>2]<=b>>>0){break a}if(!c){break b}F[c>>2]=H[F[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function ql(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(G[a+8|0]&8)){break a}f=7;e=F[a+96>>2];g=F[F[e>>2]+32>>2];if(!g){break a}e=Ia[g|0](e,9632)|0;if(!e){break a}f=Ia[F[e>>2]](a,b,0,c,d)|0}return f}function lz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=F[a+32>>2];a:{if(!c){break a}d=F[c+364>>2];if(!d){break a}b=160;if(G[d+557|0]){break a}e=c,f=vc(a,F[F[a+16>>2]>>2]),F[e+360>>2]=f;b=0}return b|0}function om(a){var b=0,c=0;tf(a);Ia[F[a+12>>2]](a)|0;if(!(D[a|0]&1)){b=F[a+52>>2];if(b){F[b+56>>2]=F[a+56>>2]}c=F[a+56>>2];if(c){F[c+52>>2]=b}if(F[61747]==(a|0)){F[61747]=c}Ta(F[a+96>>2]);Ta(a)}}function Wr(a,b){a=a|0;b=b|0;var c=0;c=Ga-16|0;Ga=c;b=ee(a,b,c+8|0,c+7|0);a:{if(b){break a}a=F[F[F[a+4>>2]+128>>2]+52>>2];if(!a){break a}Ia[F[F[a>>2]+4>>2]](F[a+4>>2],c+8|0)}Ga=c+16|0;return b|0}function or(a,b){a=a|0;b=b|0;var c=0,d=0;c=F[b>>2];F[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=H[F[a+16>>2]+(c<<1)>>1];if(!d){continue}break}F[b>>2]=c;return d|0}function ul(a,b){var c=0;c=35;a:{if(!a|!(G[a+8|0]&2)){break a}c=6;if((b|0)<0|F[a+28>>2]<=(b|0)){break a}c=F[F[F[a+96>>2]+12>>2]+92>>2];if(c){return Ia[c|0](F[a+88>>2],b)|0}Dc(a,b);c=0}return c}function qw(a){a=a|0;F[a+48>>2]=2333;F[a+52>>2]=0;F[a+24>>2]=500;F[a+28>>2]=400;F[a+12>>2]=86;F[a+16>>2]=30;F[a+40>>2]=1667;F[a+44>>2]=275;F[a+32>>2]=1e3;F[a+36>>2]=275;E[a+20>>1]=256;return 0}function bz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ga-16|0;Ga=e;a=ua(F[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){F[61729]=a;a=-1}else{a=0}Ga=e+16|0;Ha=a?-1:F[e+12>>2];return(a?-1:F[e+8>>2])|0}function Sy(a,b){a=a|0;b=b|0;F[a>>2]=244832;F[a>>2]=244924;if(G[b+11|0]>>>7|0){b=F[b>>2]}F[61902]=0;aa(882,a+4|0,b|0)|0;b=F[61902];F[61902]=0;if((b|0)!=1){return a|0}a=Z()|0;Y()|0;$(a|0);V()}function Fb(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=F[a+8>>2]+b|0;d=F[a+20>>2];b:{if(d){if(!(Ia[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>I[a+4>>2]){break a}}F[a+8>>2]=b;c=0}return c}function Yg(a){var b=0;b=F[a+72>>2];F[a+72>>2]=b-1|b;b=F[a>>2];if(b&8){F[a>>2]=b|32;return-1}F[a+4>>2]=0;F[a+8>>2]=0;b=F[a+44>>2];F[a+28>>2]=b;F[a+20>>2]=b;F[a+16>>2]=b+F[a+48>>2];return 0}function El(a,b){var c=0,d=0;F[a+16>>2]=10;F[a+12>>2]=11;F[a+8>>2]=0;F[a>>2]=80;F[a+4>>2]=241;b=Ia[F[b+4>>2]](b,964)|0;if(!b){F[a+20>>2]=b;return 64}c=a,d=Wa(b,0,964),F[c+20>>2]=d;return 0}function Up(a){a=a|0;var b=0,c=0;b=F[a+4>>2];c=F[F[b+712>>2]+3080>>2];a:{if(!c){break a}b=Nb(F[F[b+96>>2]+4>>2],11010);if(!b){break a}b=Ia[F[c+8>>2]](b)|0;F[F[a+156>>2]+36>>2]=b}return 0}function Md(a,b){var c=0;a:{c=F[a+12>>2];if((c|0)==(F[a+8>>2]+(F[a+16>>2]<<3)|0)){a=F[a+4>>2];if(!a|F[a>>2]){break a}F[a>>2]=130;return}F[c>>2]=b;b=F[a+12>>2];F[b+4>>2]=2;F[a+12>>2]=b+8}}function Ir(a,b){a=a|0;b=b|0;var c=0,d=0;c=F[a+420>>2];a:{if((c|0)>0){d=F[a+424>>2];a=0;while(1){if(!ab(b,F[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Ib(a,b){var c=0;a:{c=F[a+12>>2];if((c|0)==(F[a+8>>2]+(F[a+16>>2]<<3)|0)){a=F[a+4>>2];if(!a|F[a>>2]){break a}F[a>>2]=130;return}F[c>>2]=b;b=F[a+12>>2];F[b+4>>2]=0;F[a+12>>2]=b+8}}function ab(a,b){var c=0,d=0;c=G[a|0];d=G[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=G[b+1|0];c=G[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function Pq(a){a=a|0;var b=0,c=0,d=0;c=Ga-16|0;Ga=c;d=zl(F[F[a>>2]+504>>2],c+12|0);b=a;a=F[c+12>>2];F[b+44>>2]=a;if(a){b=F[a>>2];if(!(!b|!F[b+96>>2])){F[b+88>>2]=a}}Ga=c+16|0;return d|0}function $d(a,b){var c=0,d=0;b=b<<2;d=F[b+245948>>2];while(1){a:{c=F[(b+F[a+80>>2]|0)+156>>2]!=(d|0);if(c){break a}a=F[a+12>>2];if(!a){break a}if((a|0)!=245688){continue}}break}return c}function wx(a){a=a|0;var b=0;b=F[a+4>>2];F[b+180>>2]=-21;F[b+184>>2]=0;F[b+196>>2]=21;F[b+200>>2]=0;F[b+188>>2]=0;F[b+192>>2]=0;Ia[F[F[F[a+12>>2]+56>>2]+8>>2]](F[a+52>>2],0,0);return 0}function Tb(a){var b=0,c=0;b=F[a+32>>2];if(I[a+36>>2]>b+3>>>0){c=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b=b+4|0}F[a+32>>2]=b;return c}function tp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=F[a+12>>2];F[e>>2]=0;if((d|0)==-1){d=hb(c)}b=a;f=F[a+84>>2];a=F[a+80>>2];return Ia[F[a+220>>2]](b,f,c,d,e,F[a+76>>2])|0}function qg(a){a=a|0;var b=0,c=0;b=F[a+8>>2];if(b){a=F[a+16>>2];c=F[a+4>>2];F[b+108>>2]=F[a>>2];F[b+112>>2]=c;F[b+124>>2]=F[a+16>>2];c=F[a+12>>2];F[b+116>>2]=F[a+8>>2];F[b+120>>2]=c}}function jq(a,b){a=a|0;b=b|0;var c=0;c=tc(24608,b);a:{if(c){break a}c=0;if(!a){break a}a=F[a+4>>2];if(!a){break a}a=Nb(a,9005);if(!a){break a}c=Ia[F[F[a>>2]+32>>2]](a,b)|0}return c|0}function Rh(a,b){var c=0;if(F[a+4>>2]){c=F[a+136>>2];if(c){Ia[c|0](F[a- -64>>2])}if(b){F[a+136>>2]=0;F[a+208>>2]=b;F[a- -64>>2]=0;return}F[a+136>>2]=0;F[a+208>>2]=616;F[a- -64>>2]=0}}function Js(a,b){a=a|0;b=b|0;var c=0;F[a+116>>2]=b;c=F[a>>2];if(D[c+8|0]&1){Dc(c,b);gg(a);return 0}b=Ia[F[F[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}F[a+116>>2]=-1;return b|0}function er(a,b){a=a|0;b=b|0;var c=0,d=0;b=F[a>>2];c=F[b+712>>2];if(!F[c+1188>>2]){return 163}d=F[F[c+3084>>2]+4>>2];if(!d){return 7}return Ia[d|0](F[b+100>>2],a,F[c+20>>2],7,0,b)|0}function Pd(a,b){var c=0,d=0;d=F[a+4>>2];c=F[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(L(c,12)|0)/10|0;F[a+28>>2]=b;F[a+24>>2]=(b-c|0)/2;F[a+20>>2]=F[a+8>>2]+(F[a+16>>2]/-2|0)}function Nq(a){a=a|0;var b=0,c=0,d=0;d=Ga-16|0;Ga=d;b=F[a+4>>2];c=F[b+504>>2];a:{if(!F[b+84>>2]){c=c+84|0;b=0;break a}b=c;c=d+12|0;b=Lg(b,c)}F[a+160>>2]=F[c>>2];Ga=d+16|0;return b|0}function VA(a,b){a=a|0;b=b|0;var c=0,d=0;c=F[b>>2];d=F[a>>2];if((c|0)!=(d|0)){return(c>>>0>d>>>0?-1:1)|0}a=F[a+4>>2];b=F[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function iu(a,b){a=a|0;b=b|0;F[a+16>>2]=b;b=G[b+6|0]|G[b+7|0]<<8|(G[b+8|0]<<16|G[b+9|0]<<24);F[a+28>>2]=0;F[a+32>>2]=0;F[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Ad(a){var b=0;a=a?a:1;a:{while(1){b=nb(a);if(b){break a}b=F[61905];if(b){Ia[b|0]();continue}break}a=na(4)|0;F[a>>2]=244832;F[a>>2]=244812;ma(a|0,244884,881);V()}return b}function Uh(a,b){var c=0;if(F[a+4>>2]){c=F[a+100>>2];if(c){Ia[c|0](F[a+28>>2])}if(b){F[a+100>>2]=0;F[a+172>>2]=b;F[a+28>>2]=0;return}F[a+100>>2]=0;F[a+172>>2]=610;F[a+28>>2]=0}}function Th(a,b){var c=0;if(F[a+4>>2]){c=F[a+112>>2];if(c){Ia[c|0](F[a+40>>2])}if(b){F[a+112>>2]=0;F[a+184>>2]=b;F[a+40>>2]=0;return}F[a+112>>2]=0;F[a+184>>2]=612;F[a+40>>2]=0}}function Sh(a,b){var c=0;if(F[a+4>>2]){c=F[a+124>>2];if(c){Ia[c|0](F[a+52>>2])}if(b){F[a+124>>2]=0;F[a+196>>2]=b;F[a+52>>2]=0;return}F[a+124>>2]=0;F[a+196>>2]=614;F[a+52>>2]=0}}function Qh(a,b){var c=0;if(F[a+4>>2]){c=F[a+144>>2];if(c){Ia[c|0](F[a+72>>2])}if(b){F[a+144>>2]=0;F[a+216>>2]=b;F[a+72>>2]=0;return}F[a+144>>2]=0;F[a+216>>2]=618;F[a+72>>2]=0}}function Ph(a,b){var c=0;if(F[a+4>>2]){c=F[a+148>>2];if(c){Ia[c|0](F[a+76>>2])}if(b){F[a+148>>2]=0;F[a+220>>2]=b;F[a+76>>2]=0;return}F[a+148>>2]=0;F[a+220>>2]=619;F[a+76>>2]=0}}function Pc(a,b){var c=0;a:{if(!a|!b){break a}c=F[a+4>>2];if(!c){break a}a=E[a+2>>1];if((a|0)<=0){break a}a=(a<<3)+c|0;while(1){jf(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Oh(a,b){var c=0;if(F[a+4>>2]){c=F[a+152>>2];if(c){Ia[c|0](F[a+80>>2])}if(b){F[a+152>>2]=0;F[a+224>>2]=b;F[a+80>>2]=0;return}F[a+152>>2]=0;F[a+224>>2]=620;F[a+80>>2]=0}}function Bd(a){var b=0,c=0;b=F[61595];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ja()<<16>>>0){if(!(wa(a|0)|0)){break a}}F[61595]=a;return b}F[61729]=48;return-1}function gr(a){a=a|0;var b=0,c=0;b=F[a+4>>2];c=F[b+320>>2];a:{if(!c){break a}b=Nb(F[F[b+96>>2]+4>>2],10070);if(!b){break a}b=Ia[F[c+4>>2]](b)|0;F[F[a+156>>2]+36>>2]=b}return 0}function Ry(a,b){a=a|0;b=b|0;F[a>>2]=244832;F[a>>2]=244904;F[61902]=0;aa(882,a+4|0,b|0)|0;b=F[61902];F[61902]=0;if((b|0)==1){a=Z()|0;Y()|0;$(a|0);V()}F[a>>2]=244972;return a|0}function Rr(a){a=a|0;var b=0,c=0;b=F[a+4>>2];c=F[b+552>>2];a:{if(!c){break a}b=Nb(F[F[b+96>>2]+4>>2],10580);if(!b){break a}b=Ia[F[c+4>>2]](b)|0;F[F[a+156>>2]+36>>2]=b}return 0}function Px(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(F[b+72>>2]!=1869968492){break a}c=F[a>>2];a=a+20|0;c=ol(c,E[b+110>>1],E[b+108>>1],a);if(c){break a}nl(b+108|0,a);c=0}return c|0}function Xk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(F[b+72>>2]!=F[a+16>>2]){break a}if(c){Pc(b+108|0,c)}e=0;if(!d){break a}Vb(b+108|0,F[d>>2],F[d+4>>2])}return e|0}function Xh(a,b){var c=0;if(F[a+4>>2]){c=F[a+84>>2];if(c){Ia[c|0](F[a+12>>2])}if(b){F[a+84>>2]=0;F[a+12>>2]=0;F[a+156>>2]=b;return}F[a+84>>2]=0;F[a+12>>2]=0;F[a+156>>2]=606}}function Wh(a,b){var c=0;if(F[a+4>>2]){c=F[a+92>>2];if(c){Ia[c|0](F[a+20>>2])}if(b){F[a+92>>2]=0;F[a+164>>2]=b;F[a+20>>2]=0;return}F[a+92>>2]=0;F[a+164>>2]=608;F[a+20>>2]=0}}function Vh(a,b){var c=0;if(F[a+4>>2]){c=F[a+96>>2];if(c){Ia[c|0](F[a+24>>2])}if(b){F[a+96>>2]=0;F[a+168>>2]=b;F[a+24>>2]=0;return}F[a+96>>2]=0;F[a+168>>2]=609;F[a+24>>2]=0}}function Qw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;F[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=I[a+408>>2]){break a}F[c>>2]=F[(F[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Su(a,b){a=a|0;b=b|0;var c=0,d=0;d=F[a+16>>2]+6|0;a=F[b>>2];while(1){a=a+1|0;if(a>>>0>255){F[b>>2]=0;return 0}c=G[a+d|0];if(!c){continue}break}F[b>>2]=a;return c|0}function rb(a,b,c){var d=0,e=0;while(1){a=zb(a,c);d=(a|0)!=0&a>>>0>>0;if(d){a=hb(c)+a|0;e=G[a|0];if((e-48&255)>>>0<10|((e&-33)-65&255)>>>0<26){continue}}break}return d}function KA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!G[a|0]|F[a+8>>2]!=(b|0)|F[a+12>>2]!=(c|0)){break a}if(c){if(hc(d,F[a+16>>2],c<<2)){break a}}e=0}return e|0}function oz(a,b){a=a|0;b=b|0;var c=0;c=Ga-16|0;Ga=c;el(a,b,c);a=nb(16);F[a>>2]=F[c>>2];F[a+4>>2]=F[c+4>>2];F[a+8>>2]=F[c+8>>2];F[a+12>>2]=F[c+12>>2];Ga=c+16|0;return a|0}function Us(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=F[a+24>>2];c=Za(b,c);a:{if(c){break a}c=tb(b,d);if(c){break a}F[a+196>>2]=F[b+32>>2];F[a+200>>2]=F[b+36>>2];c=0}return c|0}function $j(a,b){a=a|0;b=b|0;F[a+16>>2]=b;b=G[b+12|0]|G[b+13|0]<<8|(G[b+14|0]<<16|G[b+15|0]<<24);D[a+24|0]=0;F[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function qu(a,b){a=a|0;b=b|0;var c=0;if(!(!G[a+24|0]|F[a+28>>2]!=F[b>>2])){Zj(a);if(!G[a+24|0]){return 0}c=F[a+32>>2];F[b>>2]=F[a+28>>2];return c|0}return _j(a,b,1)|0}function uu(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=10;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);F[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function up(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=F[a+12>>2];if(e){D[d|0]=0}b=a;f=F[a+84>>2];a=F[a+80>>2];return Ia[F[a+216>>2]](b,f,c,d,e,F[a+72>>2])|0}function pu(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=12;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);F[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function lu(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=13;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);F[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Fu(a,b){a=a|0;b=b|0;a=F[a+16>>2];b=b-(G[a+6|0]<<8|G[a+7|0])|0;if(b>>>0<(G[a+9|0]|G[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=G[a+10|0]<<8|G[a+11|0]}else{a=0}return a|0}function Fp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(!(d&1?0:b)){return He(a,0,c,d)|0}if(F[b>>2]==F[a+4>>2]){a=He(a,b,c,d)}else{a=35}return a|0}function yu(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=8;a=G[a+8|0]|G[a+9|0]<<8|(G[a+10|0]<<16|G[a+11|0]<<24);F[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function tq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=F[b>>2]+1|0;b=F[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}F[e>>2]=b;return d|0}function uy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ga-16|0;Ga=d;F[d+12>>2]=F[c>>2];a=Ia[F[F[a>>2]+16>>2]](a,b,d+12|0)|0;if(a){F[c>>2]=F[d+12>>2]}Ga=d+16|0;return a|0}function km(a){var b=0;b=F[a>>2]-1|0;b=D[(L(0-b&b,124511785)>>>27|0)+241296|0];if(!b){a=F[a+4>>2];a=D[(L(0-a&a,124511785)>>>27|0)+241296|0];b=a?a+32|0:0}return b}function jy(a,b){a=a|0;b=b|0;F[a+2748>>2]=b;F[a+2740>>2]=F[b+28>>2];F[a+4>>2]=F[b+8>>2];F[a+12>>2]=F[b+12>>2];F[a+8>>2]=F[b+16>>2];F[a+16>>2]=F[b+20>>2];return 0}function cj(a){var b=0;b=F[a+52>>2];F[61902]=0;_(579,b|0);b=F[61902];F[61902]=0;if((b|0)!=1){F[a+52>>2]=0;F[a+24>>2]=0;F[a+28>>2]=0;return}ca(0)|0;Y()|0;Hb();V()}function Wq(a,b){a=a|0;b=b|0;var c=0;c=F[b+96>>2];if(!((c|0)<0|F[a+300>>2]<=(c|0))){a=F[a+304>>2]+L(c,252)|0;b=Ia[F[b+40>>2]](b,0)|0;F[a+180>>2]=b;F[a+208>>2]=b}}function tc(a,b){var c=0;a:{if(!a|!b){break a}c=F[a>>2];if(!c){break a}while(1){if(!ab(c,b)){return F[a+4>>2]}c=F[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function Dp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=F[a+12>>2];F[e>>2]=0;b=a;f=F[a+84>>2];a=F[a+80>>2];return Ia[F[a+172>>2]](b,f,c,d,e,F[a+28>>2])|0}function xq(a,b){a=a|0;b=b|0;var c=0;c=F[a>>2];b=F[c+132>>2];Dc(c,0);c=H[b+80>>1];F[a+24>>2]=c<<6;F[a+28>>2]=c-H[b+96>>1]<<6;F[a+36>>2]=H[b+102>>1]<<6;return 0}function su(a,b){a=a|0;b=b|0;var c=0,d=0;d=F[a>>2];c=F[d+140>>2];Dc(d,b);F[a+24>>2]=F[c+40>>2]<<6;F[a+28>>2]=0-(F[c+44>>2]<<6);F[a+36>>2]=H[c+4>>1]<<6;return 0}function Zv(a,b){a=a|0;b=b|0;var c=0;b=F[a>>2];c=F[b+488>>2];F[a+24>>2]=F[b+420>>2];F[a+28>>2]=F[b+424>>2];F[a+20>>2]=F[c+20>>2];F[a+16>>2]=F[c+24>>2];return 0}function Za(a,b){var c=0,d=0;d=F[a+20>>2];a:{b:{if(d){c=85;if(!(Ia[d|0](a,b,0,0)|0)){break b}break a}c=85;if(I[a+4>>2]>>0){break a}}F[a+8>>2]=b;c=0}return c}function Vv(a,b){a=a|0;b=b|0;var c=0;b=F[a>>2];c=F[b+488>>2];F[a+24>>2]=F[b+420>>2];F[a+28>>2]=F[b+424>>2];F[a+20>>2]=F[c+20>>2];F[a+16>>2]=F[c+28>>2];return 0}function kl(a){var b=0,c=0;b=F[a+32>>2];if(I[a+36>>2]<=b+3>>>0){F[a+32>>2]=b;return 0}c=G[b|0]|G[b+1|0]<<8|(G[b+2|0]<<16|G[b+3|0]<<24);F[a+32>>2]=b+4;return c}function Xl(){var a=0,b=0;a=na(8)|0;F[61902]=0;aa(883,a|0,238475)|0;b=F[61902];F[61902]=0;if((b|0)!=1){ma(a|0,245004,884);V()}b=Z()|0;Y()|0;va(a|0);$(b|0);V()}function Iy(a,b,c){a=a|0;b=b|0;c=c|0;a:{if((c|0)>=257){if(!G[247617]){D[247617]=1}b=246388;break a}if(!G[247616]){D[247616]=1}b=246384}F[a+4>>2]=b;F[a>>2]=c}function Dt(a,b){a=a|0;b=b|0;var c=0;c=Ia[F[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=$b(b,F[a+512>>2],a+508|0);if(!c){return 0}F[a+512>>2]=0}return c|0}function yv(a){a=a|0;var b=0;if(a){F[a+412>>2]=0;F[a+4>>2]=0;F[a+1960>>2]=0;F[a+1444>>2]=0;F[a+928>>2]=0;F[a+208>>2]=0;b=F[a>>2];if(a){Ia[F[b+8>>2]](b,a)}}}function nC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Yd(a,1751216995,c)){break a}if(!Yd(a,1751413603,c+4|0)){break a}b=Yd(a,1751934832,c+8|0)}return b|0}function mw(a){a=a|0;var b=0,c=0;if(a){c=F[a>>2];b=F[a+108>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+108>>2]=0;b=F[a+116>>2];if(b){Ia[F[c+8>>2]](c,b)}F[a+116>>2]=0}}function lC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Yd(a,1986098019,c)){break a}if(!Yd(a,1986294627,c+4|0)){break a}b=Yd(a,1986815856,c+8|0)}return b|0}function Oy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ga-16|0;Ga=d;e=d+8|0;Ia[F[F[a>>2]+12>>2]](e,a,b);Ga=d+16|0;return F[e>>2]==F[c>>2]&F[e+4>>2]==F[c+4>>2]}function Nz(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?E[(G[(b>>>2&63|G[(b>>>9|0)+180612|0]>>>(b>>>6&4)<<6&960)+180740|0]<<3|(b&3)<<1)+220336>>1]:0)+b|0}function ib(a,b){var c=0,d=0;a:{if(!a){break a}c=EC(a,0,b,0);d=Ha;if((a|b)>>>0<65536){break a}c=d?-1:c}a=nb(c);if(!(!a|!(G[a-4|0]&3))){Wa(a,0,c)}return a}function Ob(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(!a){break a}c=F[a+92>>2];if(!c){break a}b=Ia[F[F[c+12>>2]+12>>2]](c,b)|0;d=b>>>0>2]?b:0}return d|0}function ps(a,b,c){a=a|0;b=b|0;c=c|0;a=F[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64|32;return((a|0)<0?32:a)|0}a=a-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function Cg(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=G[b|0];if(!d){break a}D[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}D[a|0]=0}function qs(a,b,c){a=a|0;b=b|0;c=c|0;a=F[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function ns(a,b,c){a=a|0;b=b|0;c=c|0;a=F[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function js(a,b,c){a=a|0;b=b|0;c=c|0;a=F[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function Nh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=F[a+540>>2];F[d>>2]=0;F[d+4>>2]=0;if(e){f=d,g=Ia[F[e+84>>2]](a,b,c)|0,F[f>>2]=g}return 0}function Mz(a,b,c){a=a|0;b=b|0;c=c|0;return F[((b>>>0<=917999?G[(b&15|H[(b>>>3&62|G[(b>>>9|0)+181700|0]<<6)+203504>>1]<<4)+183494|0]:2)<<2)+220736>>2]}function Ty(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=hb(b);d=Ad(c+13|0);F[d+8>>2]=0;F[d+4>>2]=c;F[d>>2]=c;e=a,f=Ya(d+12|0,b,c+1|0),F[e>>2]=f;return a|0}function gy(a,b){a=a|0;b=b|0;var c=0;c=F[b+92>>2];F[a+40>>2]=H[b+68>>1];a:{if(dd(b,1970170211)){F[b+92>>2]=0;break a}Uk(a,b);Dk(a)}cd(b,c);return 0} -function Ab(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!b){break b}c=F[a+12>>2];if(!c){break b}a=Ia[c|0](a,b,F[a+16>>2])|0;if(a){break a}}a=163632}return a|0}function wy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Ec(a,F[b+8>>2],f)){Rl(b,c,d,e);return}a=F[a+8>>2];Ia[F[F[a>>2]+20>>2]](a,b,c,d,e,f)}function Zk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ga-16|0;Ga=c;F[b>>2]=0;d=gb(a,4,c+12|0);e=F[c+12>>2];if(!e){F[d>>2]=a;F[b>>2]=d}Ga=c+16|0;return e|0}function Gy(a,b){a=a|0;b=b|0;var c=0;c=a;if(G[b+11|0]>>>7|0){a=F[b>>2]}else{a=b}if(G[b+11|0]>>>7|0){b=F[b+4>>2]}else{b=G[b+11|0]}return Wl(c,a,b)|0}function gl(a,b){var c=0,d=0;if(!(!a|!b)){c=F[a>>2];if(c){while(1){d=F[c+4>>2];Ia[F[b+8>>2]](b,c);c=d;if(c){continue}break}}F[a>>2]=0;F[a+4>>2]=0}}function ix(a,b){a=a|0;b=b|0;var c=0;c=F[a>>2];Dc(c,b);F[a+24>>2]=F[c+204>>2]<<6;F[a+28>>2]=0-(F[c+208>>2]<<6);F[a+36>>2]=E[c+236>>1]<<6;return 0}function Ll(a,b){var c=0;a=F[a>>2];c=F[b+12>>2];if(c){Ia[F[a+8>>2]](a,c)}F[b+16>>2]=0;F[b+20>>2]=0;F[b+8>>2]=0;F[b+12>>2]=0;F[b>>2]=0;F[b+4>>2]=0}function Hk(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=F[a+12>>2];if((E[a+22>>1]+b|0)+E[a+58>>1]>>>0<=I[a+4>>2]){break a}c=Ub(a,b,0)}return c|0}function rp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=M(d);e=M(e);f=f|0;a=F[b>>2];Ia[F[a+12>>2]](a,F[b+4>>2],c,M(J[b+8>>2]*d),M(J[b+12>>2]*e),F[a+32>>2])}function ju(a){a=a|0;var b=0,c=0;F[a+28>>2]=0;b=F[a+36>>2];a:{if(!b){break a}c=F[a+32>>2];if(!c){break a}if(c){Ia[F[b+8>>2]](b,c)}F[a+32>>2]=0}}function Yz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=F[a+12>>2];F[d>>2]=0;if(!(!b|!c)){e=(Ia[F[a+36>>2]](a,b,c,d,F[a+68>>2])|0)!=0}return e|0}function Qx(a,b){a=a|0;b=b|0;var c=0;c=F[a+20>>2];F[b>>2]=c<<6;F[b+8>>2]=c+F[a+32>>2]<<6;c=F[a+24>>2];F[b+12>>2]=c<<6;F[b+4>>2]=c-F[a+28>>2]<<6}function rA(a){a=a|0;var b=0;b=a+24|0;eb(b,1668049255,1,1);a=F[61600];if(!a){ji();a=F[61600]}if(a&4){eb(b,1801810542,1,0)}eb(b,1818847073,1,0)}function my(a){a=a|0;var b=0,c=0;a=F[a>>2];b=G[a|0];if(b){while(1){c=L(c,31)+(b<<24>>24)|0;b=G[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function Zn(a,b){a=id(a,b);b=G[a+8|0]|G[a+9|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=163632}a=G[a|0]|G[a+1|0]<<8;return(a<<8|a>>>8)&65535}function Ig(a,b){a:{if(!a){break a}a=F[a>>2];if(!a){break a}while(1){if(F[a+8>>2]==(b|0)){return a}a=F[a+4>>2];if(a){continue}break}}return 0}function rz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Ga-16|0;Ga=f;F[f+8>>2]=c;F[f>>2]=b;F[f+12>>2]=e;F[f+4>>2]=d;Cl(a,f);Ga=f+16|0}function ap(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=Ga-16|0;Ga=e;a=sl(F[b+24>>2],c,d,!F[a+56>>2],e+8|0);Ga=e+16|0;return(a?0:F[e+8>>2])|0}function ud(a,b){var c=0;a:{if(!a|!b|(!F[a+72>>2]|!G[b|0])){break a}b=ac(b,F[a+92>>2]);if(!b){break a}c=F[a+80>>2]+(F[b>>2]<<4)|0}return c}function gb(a,b,c){if((b|0)<=0){F[c>>2]=b?6:0;return 0}a=Ia[F[a+4>>2]](a,b)|0;if(!a){F[c>>2]=!a<<6;return 0}a=Wa(a,0,b);F[c>>2]=0;return a}function db(a){a=a|0;var b=0;b=a;a=oh(a+52|0);a=G[a+18|0]|G[a+19|0]<<8;a=(a<<8|a>>>8)&65535;a=a-16>>>0<16369?a:1e3;F[b+28>>2]=a;return a|0}function Av(a,b){a=a|0;b=b|0;var c=0,d=0;c=F[a+4>>2];a:{if(c){break a}d=F[a>>2];c=nk(a+16|0,b,d);if(c){break a}c=nk(a+52|0,b,d)}return c|0}function os(a,b,c){a=a|0;b=b|0;c=c|0;a=F[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function Xz(a,b){a=a|0;b=b|0;a=H[a+16>>1];a=1<>>8|0:0;b=H[b+16>>1];b=1<>>8|0:0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function Qv(a,b){a=a|0;b=b|0;var c=0;b=F[a>>2];c=F[F[b+488>>2]+4>>2];if(!c){return 7}return Ia[c|0](F[b+100>>2],a,F[b+420>>2],38,0,b)|0}function rf(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=F[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=F[c>>2];F[a+4>>2]=d>>>b;F[a>>2]=d<<32-b|c>>>b}function Yt(a,b){a=a|0;b=b|0;var c=0;b=F[a>>2];c=F[F[b+544>>2]+4>>2];if(!c){return 7}return Ia[c|0](F[b+100>>2],a,F[b+16>>2],63,0,b)|0}function Oz(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=1114109?G[(b&15|H[(b>>>3&62|G[(b>>>9|0)+164048|0]<<6)+197168>>1]<<4)+166224|0]:2)|0}function xb(a){var b=0,c=0;b=F[a+32>>2];if(I[a+36>>2]>b+1>>>0){c=G[b|0]|G[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}F[a+32>>2]=b;return c&65535}function pf(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=F[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=F[c>>2];F[a>>2]=d<>2]=c<>>32-b}function hl(a,b){var c=0,d=0;if(!(!a|!b)){a=F[a>>2];while(1){if(!a){return}c=F[a+4>>2];d=Ia[b|0](a,0)|0;a=c;if(!d){continue}break}}}function Pz(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?G[(b&7|G[(b>>>3&15|G[(b>>>7|0)+176960|0]<<4)+177940|0]<<3)+179380|0]:0)|0}function Ot(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ga-16|0;Ga=e;a=Te(a,b,e+12|0);if(!a){Cg(c,F[e+12>>2],d)}Ga=e+16|0;return a|0}function Mu(a,b){a=a|0;b=b|0;var c=0;F[a+16>>2]=b;c=G[b+7|0];b=G[b+6|0];F[a+24>>2]=-1;F[a+28>>2]=0;F[a+32>>2]=(b<<8|c)>>>1;return 0}function $q(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){F[b>>2]=F[a+152>>2]}if(c){F[c>>2]=F[a+156>>2]}if(d){F[d>>2]=F[a+160>>2]}return 0}function Yp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(Mf(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=Mf(a,b+61440|0,c)}return d|0}function Uv(a,b){a=a|0;b=b|0;var c=0;b=F[a>>2];c=F[b+376>>2];F[a+16>>2]=c;F[a+20>>2]=F[b+380>>2]-c;F[a+24>>2]=F[b+384>>2];return 0}function sz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ga-16|0;Ga=d;F[d+8>>2]=0;F[d+12>>2]=0;sl(a,b,c,0,d+8|0);Ga=d+16|0;return F[d+8>>2]}function wB(a,b,c){a=a|0;b=b|0;c=c|0;b=G[b|0]|G[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+c|0}else{b=163632}return(qb(b,a)|0)!=-1|0}function ms(a,b,c){a=a|0;b=b|0;c=c|0;a=F[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function Zz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=F[a+12>>2];F[c>>2]=b;F[d>>2]=0;return(Ia[F[a+40>>2]](a,b,c,d,F[a+72>>2])|0)!=0|0}function si(a){var b=0;F[a+72>>2]=0;D[a+61|0]=0;D[a+62|0]=1;F[a+84>>2]=F[a+80>>2];b=L(F[a+68>>2],20);if(b){Wa(F[a+88>>2],0,b)}}function zy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Ec(a,F[b+8>>2],0)){Sl(b,c,d);return}a=F[a+8>>2];Ia[F[F[a>>2]+28>>2]](a,b,c,d)}function zv(a){a=a|0;F[a+12>>2]=1;F[a+16>>2]=0;F[a+4>>2]=0;F[a+76>>2]=0;F[a- -64>>2]=0;F[a+52>>2]=0;F[a+40>>2]=0;F[a+28>>2]=0}function sv(a){a=a|0;F[a+12>>2]=2;F[a+16>>2]=0;F[a+4>>2]=0;F[a+76>>2]=0;F[a- -64>>2]=0;F[a+52>>2]=0;F[a+40>>2]=0;F[a+28>>2]=0}function rq(a){a=a|0;var b=0;b=bj(a+156|0);if(G[b|0]|G[b+1|0]<<8){a=1}else{a=aj(a+160|0);a=(G[a|0]|G[a+1|0]<<8)!=0}return a|0}function lb(a){var b=0,c=0;if(F[a+20>>2]){b=F[a>>2];if(b){c=F[a+28>>2];Ia[F[c+8>>2]](c,b)}F[a>>2]=0}F[a+32>>2]=0;F[a+36>>2]=0}function Wk(a,b,c){a=a|0;b=b|0;c=c|0;F[c>>2]=0;F[c+4>>2]=0;F[c+8>>2]=0;F[c+12>>2]=0;if(F[b+72>>2]==F[a+16>>2]){ed(b+108|0,c)}}function Sv(a,b){a=a|0;b=b|0;var c=0,d=0;c=F[a+16>>2];return(c>>>0>b>>>0|F[a+20>>2]+c>>>0<=b>>>0?d:H[F[a+24>>2]+(b<<1)>>1])|0}function rv(a){a=a|0;var b=0;F[a+140>>2]=0;F[a+112>>2]=0;b=F[a+12>>2];pk(a+28|0,b);pk(a- -64|0,b);F[a+12>>2]=0;F[a+16>>2]=0}function ki(a,b,c,d){var e=0;e=Ga-112|0;Ga=e;am(e,100,c,d);a=Ia[F[a+156>>2]](a,b,e,F[a+160>>2])|0;Ga=e+112|0;return(a|0)!=0}function Dl(a,b){var c=0,d=0;a:{if(!a){break a}c=F[a+28>>2];d=F[a+24>>2];if(d){Ia[d|0](a)}if(b){break a}Ia[F[c+8>>2]](c,a)}}function vq(a,b){a=a|0;b=b|0;var c=0;b=F[F[a>>2]+132>>2];c=G[b+104|0];F[a+16>>2]=c;F[a+20>>2]=(G[b+105|0]-c|0)+1;return 0}function Eb(a,b){var c=0;a:{if(!a|!F[a+20>>2]){break a}c=F[b>>2];if(!c){break a}a=F[a+28>>2];Ia[F[a+8>>2]](a,c)}F[b>>2]=0}function Vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Oc(F[a>>2],c,11828);if(!a){return 64}F[d>>2]=a;F[e>>2]=0;return 0}function Ux(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Oc(F[a>>2],c,11927);if(!a){return 64}F[d>>2]=a;F[e>>2]=0;return 0}function Yh(){var a=0;a=ib(1,228);if(!a){return 245792}F[a+8>>2]=0;F[a>>2]=1;F[a+4>>2]=1;Ya(a+156|0,245948,72);return a}function Rx(a,b){a=a|0;b=b|0;var c=0;c=F[a>>2];F[b+20>>2]=F[a+20>>2];F[b+24>>2]=F[a+24>>2];return fl(c,a+28|0,b+28|0)|0}function tx(a,b){a=a|0;b=b|0;var c=0;c=F[a>>2];a=F[a+4>>2];bd(b,c>>6,a>>6);F[b+212>>2]=a<<2;F[b+208>>2]=c<<2;return 0}function Ek(a,b){a=a|0;b=b|0;a=F[a+4>>2]|F[a>>2]<<16;b=F[b+4>>2]|F[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function ny(a,b){a=a|0;b=b|0;a:{a=F[a>>2];b=F[b>>2];if(G[a|0]!=G[b|0]){break a}if(ab(a,b)){break a}return 1}return 0}function it(a){a=a|0;var b=0,c=0;b=F[a+868>>2];if(b){c=F[a+100>>2];Eb(F[a+104>>2],b+12|0);if(b){Ia[F[c+8>>2]](c,b)}}}function ht(a){a=a|0;var b=0,c=0;b=F[a+872>>2];if(b){c=F[a+100>>2];Eb(F[a+104>>2],b+16|0);if(b){Ia[F[c+8>>2]](c,b)}}}function _f(a){a=a|0;var b=0,c=0;b=F[F[a>>2]+100>>2];c=F[a+20>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+16>>2]=0;F[a+20>>2]=0}function _x(a){a=a|0;var b=0,c=0;b=F[a>>2];if(b){c=F[a+28>>2];Ia[F[c+8>>2]](c,b)}F[a>>2]=0;F[a+4>>2]=0;F[a+24>>2]=0}function Tj(a){a=a|0;var b=0,c=0;b=F[a+28>>2];c=F[a>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a>>2]=0;F[a+4>>2]=0;F[a+24>>2]=0}function vt(a,b){a=a|0;b=b|0;var c=0;c=Ia[F[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=sb(b,95776,a+568|0)}return c|0}function ut(a,b){a=a|0;b=b|0;var c=0;c=Ia[F[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=sb(b,95152,a+160|0)}return c|0}function Nx(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=ol(F[a>>2],E[a+22>>1],E[a+20>>1],b);if(!c){nl(a+20|0,b)}return c|0}function Ft(a,b){a=a|0;b=b|0;var c=0;c=Ia[F[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=sb(b,95152,a+160|0)}return c|0}function At(a,b){a=a|0;b=b|0;var c=0;c=Ia[F[a+516>>2]](a,1886352244,b,0)|0;if(!c){c=sb(b,95648,a+476|0)}return c|0}function wd(a){var b=0,c=0;b=F[a+32>>2];if(I[a+36>>2]>b+1>>>0){c=G[b|0]|G[b+1|0]<<8;b=b+2|0}F[a+32>>2]=b;return c}function Is(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=b<<2;d=F[b+F[a+388>>2]>>2];c=_a(c,Re(a));F[b+F[a+388>>2]>>2]=c+d}function is(a,b,c){a=a|0;b=b|0;c=c|0;c=Qe(a,b,c,1);if(!c){F[a+8>>2]=F[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function Jx(a,b){a=a|0;b=b|0;F[a+24>>2]=F[b+20>>2];F[a+4>>2]=F[b>>2];F[a+28>>2]=F[b+24>>2];al(a,b,0);al(a,b,1)}function Ec(a,b,c){if(!c){return F[a+4>>2]==F[b+4>>2]}if((a|0)==(b|0)){return 1}return!ab(F[a+4>>2],F[b+4>>2])}function Zt(a,b){a=a|0;b=b|0;var c=0;c=Ga-16|0;Ga=c;F[c+12>>2]=0;Te(a,b,c+12|0);Ga=c+16|0;return F[c+12>>2]} -function Lp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;F[d>>2]=0;F[d+4>>2]=0;F[d+8>>2]=0;F[d+12>>2]=0;return 0}function jb(a,b){var c=0;c=b;b=hb(b);if(cb(a,c,b)){a=0}else{a=G[a+b|0];if(!a){return 1}a=(a|0)==45}return a}function wz(a){a=a|0;var b=0;b=F[a+32>>2];if(!b){return 3}vc(a,F[F[a+16>>2]>>2]);F[b+184>>2]=513;return 0}function fk(a,b){a=a|0;b=b|0;a=F[F[a>>2]+4>>2];b=F[F[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function ky(a){a=a|0;a=F[a>>2];return L(L(L(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function Zx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;F[d>>2]=0;if(!b){return 81}return yd(b,333319,e)|0}function Yx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;F[d>>2]=0;if(!b){return 81}return yd(b,333312,e)|0}function ru(a,b){a=a|0;b=b|0;var c=0;c=Ga-16|0;Ga=c;F[c+12>>2]=b;a=_j(a,c+12|0,0);Ga=c+16|0;return a|0}function gs(a,b){a=a|0;b=b|0;b=F[a>>2];F[a+16>>2]=F[F[b+140>>2]+52>>2];F[a+20>>2]=F[b+144>>2];return 0}function Hx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ga-16|0;Ga=d;a=gb(a,L(b,c),d+12|0);Ga=d+16|0;return a|0}function Yl(a){a:{F[61902]=0;Ta(a);a=F[61902];F[61902]=0;if((a|0)!=1){break a}ca(0)|0;Y()|0;Hb();V()}}function fB(a,b){a=a|0;b=b|0;a=F[a+712>>2];D[b|0]=0;if(!(!a|F[a+1504>>2]==65535)){D[b|0]=1}return 0}function Dg(a,b,c){if((b|0)>0){a=Ia[F[a+4>>2]](a,b)|0;F[c>>2]=!a<<6;return a}F[c>>2]=b?6:0;return 0}function tz(a){a=a|0;var b=0;a:{if(!a){break a}a=F[a+88>>2];if(!a){break a}b=F[a+36>>2]}return b|0}function _r(a,b,c){a=a|0;b=b|0;c=c|0;if(ab(b,10673)){a=12}else{F[c>>2]=F[a- -64>>2];a=0}return a|0}function Kt(a,b){a=a|0;b=b|0;var c=0;c=F[F[a+12>>2]+48>>2];if(!c){return 150}return Ia[c|0](a,b)|0}function yb(){var a=0;F[61902]=0;a=F[61902];F[61902]=0;if((a|0)!=1){return}ca(0)|0;Y()|0;Hb();V()}function VB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ia[F[F[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;c=a;a=G[b|0]|G[b+1|0]<<8;return(c|0)==((a<<8|a>>>8)&65535)|0}function Kp(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;F[f>>2]=0;F[e>>2]=0;return 0}function Pl(a){var b=0;a:{a=F[a>>2]-12|0;b=F[a+8>>2]-1|0;F[a+8>>2]=b;if((b|0)>=0){break a}Ta(a)}}function vy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Ec(a,F[b+8>>2],f)){Rl(b,c,d,e)}}function np(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=F[b>>2];Ia[F[a+28>>2]](a,F[b+4>>2],c,F[a+48>>2])}function Tq(a){a=a|0;var b=0;b=Nb(F[a+4>>2],10174);if(!b){return 11}F[a+28>>2]=F[b>>2];return 0}function Vk(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[F[a+12>>2]+56>>2]+12>>2]](F[a+52>>2],b,c)|0}function $u(a,b,c){a=a|0;b=b|0;c=c|0;c=F[a+104>>2];E[a+144>>1]=0-c;F[a+140>>2]=0-L(E[b>>1],c)}function Oq(a){a=a|0;if(Ig(F[F[a>>2]+504>>2]+108|0,F[a+44>>2])){xl(F[a+44>>2]);F[a+44>>2]=0}}function JA(a){a=a|0;a=a+24|0;eb(a,1818914159,0,1);eb(a,1986686319,0,1);eb(a,1953131887,0,1)}function yx(a,b,c){a=a|0;b=b|0;c=c|0;if(b){F[b>>2]=F[a+10056>>2]}if(c){F[c>>2]=F[a+252>>2]}}function hw(a){a=a|0;var b=0,c=0;b=F[a>>2];c=F[a+4>>2];if(c){Ia[F[b+8>>2]](b,c)}F[a+4>>2]=0}function Ru(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=0;F[b>>2]=G[a+5|0]|G[a+4|0]<<8;return 0}function Nu(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=2;F[b>>2]=G[a+5|0]|G[a+4|0]<<8;return 0}function Mx(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Pc(a+20|0,b)}if(c){Vb(a+20|0,F[c>>2],F[c+4>>2])}}function Hu(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=4;F[b>>2]=G[a+5|0]|G[a+4|0]<<8;return 0}function Du(a,b){a=a|0;b=b|0;a=F[a+16>>2];F[b+4>>2]=6;F[b>>2]=G[a+5|0]|G[a+4|0]<<8;return 0}function Aw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sb(a,F[a+8>>2]);return Od(a,F[a+8>>2],b,c,d)|0}function uj(a,b,c){a=a|0;b=b|0;c=c|0;if(b){F[b>>2]=F[a+7928>>2]}if(c){F[c>>2]=F[a+252>>2]}}function pi(a){if(!F[a+4>>2]){return}F[a+68>>2]=0;F[a+132>>2]=0;F[a+36>>2]=0;F[a+136>>2]=0}function jA(a,b){a=a|0;b=b|0;a=G[a+19|0];b=G[b+19|0];return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function ss(a,b){a=a|0;b=b|0;a=F[a+4>>2];b=F[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Np(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;F[e>>2]=0;F[d>>2]=0;return 1}function Mp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;F[e>>2]=0;F[d>>2]=0;return 0}function Cd(a,b,c,d){var e=0;e=Ga-16|0;Ga=e;F[e+12>>2]=d;a=am(a,b,c,d);Ga=e+16|0;return a}function $b(a,b,c){b=tb(a,b);if(!b){F[c>>2]=F[a+32>>2];F[a+32>>2]=0;F[a+36>>2]=0}return b}function ts(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=F[b+12>>2]+(c<<3)|0;F[a+4>>2]=F[a+4>>2]+d}function Bz(){var a=0;a=Ga-16|0;Ga=a;F[a+12>>2]=0;bl(a+12|0);Ga=a+16|0;return F[a+12>>2]}function Rs(a){a=a|0;F[a+304>>2]=-1;F[a+308>>2]=-1;F[a+116>>2]=-1;D[a+112|0]=0;return 0}function IC(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function nt(a){a=a|0;Eb(F[a+104>>2],a+788|0);F[a+800>>2]=0;F[a+792>>2]=0;F[a+796>>2]=0}function nj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Cg(c,F[F[a+424>>2]+(b<<2)>>2],d);return 0}function mr(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Ia[F[b+52>>2]](b,0,0,0)|0,F[c+544>>2]=d}function ku(a,b,c){a=a|0;b=b|0;c=c|0;F[b>>2]=F[a+132>>2];F[c>>2]=F[a+136>>2];return 0}function hx(a,b,c){a=a|0;b=b|0;c=c|0;F[b>>2]=F[a+176>>2];F[c>>2]=F[a+180>>2];return 0}function UA(a,b){a=a|0;b=b|0;a=H[a>>1];b=H[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function $x(a,b){a=a|0;b=b|0;a=E[a>>1];b=E[b>>1];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function vs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=F[b+12>>2]+(c<<3)|0;F[a>>2]=F[a>>2]+d}function sq(a,b){a=a|0;b=b|0;return Ia[F[F[F[F[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function Jp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){D[d|0]=0}return 0}function Bq(a,b){a=a|0;b=b|0;return Ia[F[F[F[F[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function uq(a,b){a=a|0;b=b|0;b=b-F[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function lp(a){a=a|0;var b=0;if(G[a+33|0]){b=F[a+24>>2];if(b){hf(b)}}yb();Ta(a)}function _h(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;F[e>>2]=0;return 0}function Ly(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>=257){kf(a,238190);return}Vl(a,c)}function Jy(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>=257){kf(a,238156);return}Vl(a,c)}function zC(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+548>>2]+12>>2]](a,b,c)|0} -function tC(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+548>>2]+20>>2]](a,b,c)|0}function qC(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+548>>2]+24>>2]](a,b,c)|0}function ev(a){a=a|0;Ia[F[F[F[a+12>>2]+56>>2]+8>>2]](F[a+52>>2],0,0);return 0}function cC(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+548>>2]+32>>2]](a,b,c)|0}function aC(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+548>>2]+36>>2]](a,b,c)|0}function Hs(a,b,c){a=a|0;b=b|0;c=c|0;c=_a(c,Re(a));F[F[a+388>>2]+(b<<2)>>2]=c}function HC(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Es(a,b,c){a=a|0;b=b|0;c=c|0;a=F[a+388>>2]+(b<<2)|0;F[a>>2]=F[a>>2]+c}function Ay(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Ec(a,F[b+8>>2],0)){Sl(b,c,d)}}function CC(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+548>>2]+8>>2]](a,b,c)|0}function yr(a,b){a=a|0;b=b|0;return(b>>>0<=255?H[F[a+16>>2]+(b<<1)>>1]:0)|0}function qz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return tl(a,b,c,d,e)|0}function Tu(a,b){a=a|0;b=b|0;return(b>>>0<=255?G[(F[a+16>>2]+b|0)+6|0]:0)|0}function Ny(a,b,c){a=a|0;b=b|0;c=c|0;return F[b>>2]==(c|0)&F[b+4>>2]==(a|0)}function cr(a){a=a|0;a=F[a+140>>2];if(!a){return 0}return a+(G[a|0]==47)|0}function NB(a,b,c){a=a|0;b=b|0;c=c|0;return Ia[F[F[a+552>>2]>>2]](a,b,c)|0}function Fx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return zg(F[a+12>>2],b,c,d)|0}function Db(a){a=a|0;var b=0;b=F[a+32>>2];if((b|0)==-1){b=Zb(a)}return b|0}function Wt(a,b){a=a|0;b=b|0;return Ia[F[F[F[a>>2]+544>>2]+12>>2]](a,b)|0}function Qt(a){a=a|0;return(a>>>0<=127?G[(a>>>3|0)+94544|0]&1<<(a&7):0)|0}function Nv(a,b){a=a|0;b=b|0;return Ia[F[F[F[a>>2]+488>>2]+12>>2]](a,b)|0}function Yv(a){a=a|0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0;F[a+28>>2]=0}function Xt(a,b){a=a|0;b=b|0;return Ia[F[F[F[a>>2]+544>>2]+8>>2]](a,b)|0}function Ov(a,b){a=a|0;b=b|0;return Ia[F[F[F[a>>2]+488>>2]+8>>2]](a,b)|0}function Gs(a,b){a=a|0;b=b|0;return Ua(F[F[a+388>>2]+(b<<2)>>2],Re(a))|0}function Tp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;F[d>>2]=0;return 0}function Ew(a,b){a=a|0;b=b|0;Sb(a,F[a+8>>2]);return Hc(a,F[a+8>>2],b)|0}function gv(a){a=a|0;return(a>>>0<=390?E[(a<<1)+35632>>1]+31408|0:0)|0}function Kr(a,b){a=a|0;b=b|0;F[a+16>>2]=F[F[a>>2]+712>>2]+668;return 0}function Cx(a){a=a|0;om(F[a+12>>2]);F[a+12>>2]=0;F[a>>2]=0;F[a+4>>2]=0}function Zg(a,b){a=a|0;b=b|0;a=na(4)|0;F[a>>2]=b;ma(a|0,244664,0);V()}function Ro(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ch(a,b,c,d,0,0)|0}function hv(a){a=a|0;return E[((a>>>0>257?0:a)<<1)+35104>>1]+31408|0}function dq(a){a=a|0;if(!(!a|!F[a>>2])){F[a>>2]=F[a>>2]+1}return a|0}function uC(a,b){a=a|0;b=b|0;return Ia[F[F[a+548>>2]+16>>2]](a,b)|0}function sx(a,b){a=a|0;b=b|0;vg(b,F[a>>2]<<2,F[a+4>>2]<<2);return 0}function fC(a,b){a=a|0;b=b|0;return Ia[F[F[a+548>>2]+28>>2]](a,b)|0}function SB(a){a=a|0;var b=0;b=F[a+548>>2];if(b){Ia[F[b+44>>2]](a)}}function Sx(a){a=a|0;var b=0;b=F[a>>2];a=a+28|0;if(a?b:0){Ll(b,a)}}function dy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return gi(a,b,c,d)|0}function Uy(a,b){a=a|0;b=b|0;if(!F[61902]){F[61903]=b;F[61902]=a}}function ty(a){a=a|0;if(!a){return 0}return(Tl(a,244568)|0)!=0|0}function Yk(a){a=a|0;var b=0;b=F[a>>2];if(a){Ia[F[b+8>>2]](b,a)}}function OA(a,b,c){a=a|0;b=b|0;c=c|0;Im(F[a+124>>2],b,F[a+4>>2])}function wq(a,b){a=a|0;b=b|0;Ya(b,F[a+132>>2]+4|0,156);return 0}function Ds(a,b,c){a=a|0;b=b|0;c=c|0;F[F[a+388>>2]+(b<<2)>>2]=c}function _A(a){a=a|0;return(a>>>0<=255?H[(a<<1)+24864>>1]:0)|0}function Rp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return F[a+20>>2]}function Qp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return F[a+24>>2]}function ge(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function eu(a,b){a=a|0;b=b|0;F[b>>2]=-1;F[b+4>>2]=14;return 0}function Zq(a,b,c){a=a|0;b=b|0;c=c|0;if(c){F[c>>2]=b}return 0}function Ax(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ob(d,c)|0}function dx(a,b){a=a|0;b=b|0;F[a+16>>2]=F[a>>2]+296;return 0}function ds(a,b){a=a|0;b=b|0;F[F[a+8>>2]+308>>2]=-1;return 0}function Pv(a,b){a=a|0;b=b|0;return F[F[a+424>>2]+(b<<2)>>2]}function Ip(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function Cs(a,b){a=a|0;b=b|0;return F[F[a+388>>2]+(b<<2)>>2]}function Uz(a){a=a|0;return!(G[a+16|0]&32?G[a+12|0]&16:1)|0}function Tv(a){a=a|0;F[a+16>>2]=0;F[a+20>>2]=0;F[a+24>>2]=0}function Sz(a){a=a|0;return((a-65&255)>>>0<26?a+32|0:a)&255}function Rz(a){a=a|0;return((a-97&255)>>>0<26?a-32|0:a)&255}function Ke(a){var b=0;b=F[a+28>>2];if(!b){b=db(a)}return b}function aA(a){a=a|0;var b=0;b=F[a+4>>2];if(b){Jm(b)}Ta(a)}function Py(a,b,c){a=a|0;b=b|0;c=c|0;F[a+4>>2]=b;F[a>>2]=c}function lj(a,b){a=a|0;b=b|0;E[b>>1]=H[a+164>>1];return 0}function ar(a,b){a=a|0;b=b|0;E[b>>1]=H[a+312>>1];return 0}function Rt(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function cv(a){a=a|0;F[a+140>>2]=F[a+140>>2]+E[a+144>>1]}function Sg(a){a=a|0;F[a>>2]=244924;Pl(a+4|0);return a|0}function Ql(a){a=a|0;F[a>>2]=244904;Pl(a+4|0);return a|0}function Dz(a,b,c){a=a|0;b=b|0;c=c|0;return nb(L(b,c))|0}function pz(a,b,c){a=a|0;b=b|0;c=c|0;return Kc(a,b,c)|0}function mt(a,b,c){a=a|0;b=b|0;c=c|0;return wl(a,b,c)|0}function jj(a,b){a=a|0;b=b|0;Ya(b,a+168|0,196);return 0}function Xp(a,b,c){a=a|0;b=b|0;c=c|0;return Mf(a,b,c)|0}function Wp(a,b,c){a=a|0;b=b|0;c=c|0;return ci(a,b,c)|0}function Lv(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function Cy(a,b,c){a=a|0;b=b|0;c=c|0;return Ec(a,b,0)|0}function sr(a,b){a=a|0;b=b|0;F[b+376>>2]=F[b+376>>2]|1}function ly(a,b){a=a|0;b=b|0;return F[a>>2]==F[b>>2]|0}function fx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function Zh(a){a=a|0;a=F[a+156>>2];if(a){F[a+36>>2]=0}}function Ix(a,b){a=a|0;b=b|0;if(b){Ia[F[a+8>>2]](a,b)}}function Gz(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function oc(a,b){a=hm(a,b);return G[a|0]==(b&255)?a:0}function Fz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function _q(a,b){a=a|0;b=b|0;if(b){D[b|0]=1}return 0}function Wi(a,b){a=a|0;b=b|0;return G[b+16|0]>>>7|0}function Fs(a){a=a|0;return Ua(H[a+256>>1],Re(a))|0}function DC(a){if(a){return 31-O(a-1^a)|0}return 32}function lr(a,b){a=a|0;b=b|0;return tc(100288,b)|0}function Vu(a,b){a=a|0;b=b|0;F[a+16>>2]=b;return 0}function Sq(a,b){a=a|0;b=b|0;return tc(102400,b)|0}function Dq(a,b){a=a|0;b=b|0;return tc(103296,b)|0}function mx(a,b){a=a|0;b=b|0;return tc(29504,b)|0}function mv(a,b){a=a|0;b=b|0;return tc(93616,b)|0}function bw(a,b){a=a|0;b=b|0;return tc(21344,b)|0}function Zw(a,b){a=a|0;b=b|0;return tc(30144,b)|0}function Yr(a,b){a=a|0;b=b|0;return tc(98320,b)|0}function Wu(a,b){a=a|0;b=b|0;return tc(93728,b)|0}function Ev(a,b){a=a|0;b=b|0;return tc(21600,b)|0}function IB(a){a=a|0;Ia[F[F[a+552>>2]+28>>2]](a)}function gz(a){a=a|0;return F[F[a+84>>2]+88>>2]}function fu(a,b){a=a|0;b=b|0;F[b>>2]=0;return 0}function Sd(a){if(G[a+11|0]>>>7|0){Yl(F[a>>2])}}function Fj(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function As(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function Ar(a,b){a=a|0;b=b|0;return gj(a,0,0)|0}function zA(a){a=a|0;eb(a+24|0,1818847073,1,0)}function xj(a){a=a|0;F[a+16>>2]=0;F[a+20>>2]=0}function ex(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function Yb(a,b,c){if(!(G[a|0]&32)){lm(b,c,a)}}function IA(a){a=a|0;eb(a+24|0,1667329140,1,0)}function wg(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function kB(a,b){a=a|0;b=b|0;return gn(a,b)|0}function hB(a,b){a=a|0;b=b|0;return hh(a,b)|0}function gB(a,b){a=a|0;b=b|0;return gh(a,b)|0}function eB(a,b){a=a|0;b=b|0;return en(a,b)|0}function aB(a,b){a=a|0;b=b|0;return Ym(a,b)|0}function _s(a){a=a|0;F[a- -64>>2]=40;return 0}function ZA(a,b){a=a|0;b=b|0;return Wm(a,b)|0}function YA(a,b){a=a|0;b=b|0;return Um(a,b)|0}function XA(a,b){a=a|0;b=b|0;return Tm(a,b)|0}function WA(a,b){a=a|0;b=b|0;return Rm(a,b)|0}function Iz(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function Hz(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function $A(a,b){a=a|0;b=b|0;return Xm(a,b)|0}function oq(a){a=a|0;return F[a>>2]==65535|0}function _y(a){a=a|0;return qa(F[a+60>>2])|0}function zx(a,b){a=a|0;b=b|0;return nb(b)|0}function zB(a){a=a|0;return F[a+8>>2]>>>9&1}function bm(a,b,c){return fm(a,b,c,876,877)}function Qr(a){a=a|0;F[F[a+156>>2]+36>>2]=0}function Qy(a,b,c){a=a|0;b=b|0;c=c|0;Ta(a)}function yl(a,b,c,d){return Kg(a,b,c,d,1)}function im(a,b){Ug(hb(a)+a|0,b);return a}function Lx(a,b){a=a|0;b=b|0;ed(a+20|0,b)}function oj(a){a=a|0;return F[a+364>>2]}function Qs(a){a=a|0;Ij(a);D[a+112|0]=0}function Bs(a){a=a|0;return H[a+256>>1]}function kb(a,b){F[a+168>>2]=b;Zg(a,1)}function aq(a){a=a|0;Xa(F[a>>2]);Ta(a)}function gu(a,b){a=a|0;b=b|0;return 0}function Ul(a){a=a|0;Sg(a);return a|0}function Nl(a){a=a|0;return F[a+4>>2]}function Dy(a,b){a=a|0;b=b|0;la();V()}function xg(a,b,c){a=a|0;b=b|0;c=c|0}function Gw(a){a=a|0;Sb(a,F[a+8>>2])}function qv(a){a=a|0;return a+100|0}function pv(a){a=a|0;return a+112|0}function ov(a){a=a|0;return a+140|0}function lf(a,b,c){if(c){Ya(a,b,c)}}function jp(a){a=a|0;Xa(F[a+44>>2])}function Ts(a){a=a|0;lb(F[a+24>>2])}function Cz(a){a=a|0;return nb(a)|0}function sy(a){a=a|0;return 238225}function ry(a){a=a|0;return 238760}function _k(a,b){a=a|0;b=b|0;Ta(b)}function My(a){a=a|0;return 238775}function Ky(a){a=a|0;return 238314}function xz(a){a=a|0;if(a){hf(a)}}function ij(a){a=a|0;F[a+16>>2]=0}function Az(a){a=a|0;if(a){Kl(a)}}function qy(a){a=a|0;Sg(a);Ta(a)}function Ol(a){a=a|0;Ql(a);Ta(a)}function Ey(a){a=a|0;Ul(a);Ta(a)}function Rf(a){a=a|0;return a|0}function JC(a,b){Ha=a;return b} -function ug(a){a=a|0;return 0}function kj(a){a=a|0;return 1}function Uq(a,b){a=a|0;b=b|0}function dz(a){a=a|0;Mh(a)}function Cc(a){a=a|0;Ta(a)}function py(){return Ga|0}function oy(a){a=a|0;Ga=a}function Bc(a){a=a|0}function Po(){} +function xM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;F[a+72|0]=0;v=I[163632];w=v|256;e=!I[a+16|0];while(1){a:{b:{if(!(e&1)){break b}e=H[a+12>>2];d=e+1|0;h=H[a+4>>2];if(d>>>0>h>>>0){break b}c:{if(e>>>0>>0){i=H[a>>2];c=I[i+e|0];if((c|0)==12){e=w;if(d>>>0>=h>>>0){break c}c=I[d+i|0]|256;e=d}if(e>>>0>=h>>>0){e=c;break c}H[a+12>>2]=e+1;break a}F[a+16|0]=1;c=65535;e=v;if((e|0)==12){break a}}F[a+16|0]=1;H[a+12>>2]=h;c=e;break a}c=H[a+92>>2]?11:14}d:{e:{f:{switch(c-10|0){case 0:case 19:e=H[a+24>>2]-1|0;g:{if(e>>>0>=K[a+32>>2]){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break g}e=H[a+36>>2]+(e<<5)|0}if(!H[e+20>>2]){break e}F[a+40|0]=1;break d;case 6:mt(a);break d;case 5:break f;default:break e}}c=H[a+32>>2];e=H[a+24>>2]-1|0;h:{if(c>>>0<=e>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break h}e=H[a+36>>2]+(e<<5)|0}if(H[e+20>>2]){F[a+40|0]=1;break d}e=H[a+24>>2];i:{j:{if(e){e=e-1|0;H[a+24>>2]=e;if(c>>>0<=e>>>0){break j}e=H[a+36>>2]+(e<<5)|0;break i}F[a+20|0]=1}e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040}f=M[e>>3];k:{if(P(f)<2147483648){e=~~f;break k}e=-2147483648}if((e|0)<0){F[a+20|0]=1;e=0}l:{if(I[a+177|0]|I[a+178|0]){F[a+40|0]=1;break l}H[a+160>>2]=e}H[a+24>>2]=0;F[a+177|0]=1;break d}f=0;k=0;l=0;g=0;u=0;s=Wa-16|0;Wa=s;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{switch(c-1|0){default:switch(c-255|0){case 38:break t;case 37:break u;case 36:break v;case 35:break w;case 0:break P;default:break s};case 10:if(I[a+16|0]){F[a+40|0]=1}e=H[a+92>>2];R:{S:{if(e){e=e-1|0;H[a+92>>2]=e;if(e>>>0>=K[a+100>>2]){break S}e=H[a+104>>2]+N(e,28)|0;break R}F[a+88|0]=1}H[64766]=H[40914];e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040}c=H[e+4>>2];H[a+44>>2]=H[e>>2];H[a+48>>2]=c;H[a+68>>2]=H[e+24>>2];c=H[e+20>>2];H[a+60>>2]=H[e+16>>2];H[a+64>>2]=c;c=H[e+12>>2];H[a+52>>2]=H[e+8>>2];H[a+56>>2]=c;c=H[e+8>>2];d=H[e+12>>2];h=H[e>>2];i=H[e+4>>2];F[a+16|0]=I[e+16|0];H[a+8>>2]=c;H[a+12>>2]=d;H[a>>2]=h;H[a+4>>2]=i;break m;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break s;case 30:break x;case 29:break y;case 26:break z;case 25:break A;case 24:break B;case 23:break C;case 7:break D;case 6:break E;case 5:break F;case 4:break G;case 3:break H;case 21:break I;case 20:break J;case 18:case 19:break K;case 2:case 22:break L;case 0:case 17:break M;case 28:break N;case 9:break O;case 13:break Q}}F[a+72|0]=1;H[a+24>>2]=0;break m}if(I[a+16|0]){break m}c=H[a+4>>2];e=H[a+12>>2];if(c>>>0>>0){break m}T:{if(c>>>0<=e>>>0){F[a+16|0]=1;e=163632;break T}e=e+H[a>>2]|0}c=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);d=c>>>8&65280|c>>>24;e=H[a+24>>2];U:{if(e>>>0>2]){H[a+24>>2]=e+1;e=H[a+36>>2]+(e<<5)|0;break U}F[a+20|0]=1;e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040}H[e+8>>2]=0;H[e+12>>2]=0;if(H[e+16>>2]>=0){H[e+20>>2]=0}M[e>>3]=+(d|(c<<8&16711680|c<<24))*152587890625e-16;if(I[a+16|0]){e=H[a+4>>2];break n}e=H[a+4>>2];c=H[a+12>>2];if(e>>>0>>0){break n}c=c+4|0;if(c>>>0>e>>>0){break n}H[a+12>>2]=c;break m}Ih(a,a+116|0,2);break m}Ih(a,a+108|0,1);break m}e=H[a+24>>2];H[a+24>>2]=0;H[a+76>>2]=H[a+76>>2]+(e>>>1|0);break m}e=H[a+24>>2];H[a+24>>2]=0;H[a+80>>2]=H[a+80>>2]+(e>>>1|0);break m}V:{if(I[a+74|0]){e=H[a+84>>2];break V}F[a+74|0]=1;e=H[a+80>>2]+(H[a+24>>2]>>>1|0)|0;H[a+80>>2]=e;e=(e+H[a+76>>2]|0)+7>>>3|0;H[a+84>>2]=e}if(I[a+16|0]){break m}c=H[a+12>>2];d=c+e|0;e=H[a+4>>2];if(d>>>0>e>>>0){break m}H[a+24>>2]=0;if(c>>>0<=e>>>0){H[a+12>>2]=d;break m}F[a+16|0]=1;H[a+12>>2]=e;break m}h=Wa-16|0;Wa=h;e=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=e;e=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=e;e=H[a+24>>2];W:{X:{if(e){e=e-1|0;H[a+24>>2]=e;if(e>>>0>=K[a+32>>2]){break X}e=H[a+36>>2]+(e<<5)|0;break W}F[a+20|0]=1}e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040}l=I[a+176|0];Y:{if(!l){break Y}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Y}d=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];if((c|0)!=1){j=c&-2;while(1){m=g|1;f=+L[i+(m<<2)>>2]*M[d+(m<<3)>>3]+(+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}f=c&1?+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Y}H[e+20>>2]=0}c=H[a+24>>2];Z:{_:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){break _}c=H[a+36>>2]+(c<<5)|0;break Z}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040}$:{if(!l){break $}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break $}l=d&1;i=H[c+24>>2];k=H[a+172>>2];f=M[c>>3];aa:{if((d|0)==1){g=0;break aa}j=d&-2;g=0;d=0;while(1){m=g|1;f=+L[k+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[k+(g<<2)>>2]*M[i+(g<<3)>>3]+f);g=g+2|0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}f=l?+L[k+(g<<2)>>2]*M[i+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break $}H[c+20>>2]=0}M[h>>3]=M[h>>3]+M[c>>3];M[h+8>>3]=M[h+8>>3]+M[e>>3];lk(b,h);e=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=e;e=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=e;Wa=h+16|0;if(!I[a+73|0]){if(!I[a+74|0]){F[a+74|0]=1;e=H[a+80>>2]+(H[a+24>>2]>>>1|0)|0;H[a+80>>2]=e;H[a+84>>2]=(e+H[a+76>>2]|0)+7>>>3}F[a+73|0]=1}H[a+24>>2]=0;break m}e=H[a+140>>2];H[s+8>>2]=H[a+136>>2];H[s+12>>2]=e;e=H[a+132>>2];H[s>>2]=H[a+128>>2];H[s+4>>2]=e;e=H[a+24>>2];ba:{ca:{if(e){e=e-1|0;H[a+24>>2]=e;if(e>>>0>=K[a+32>>2]){break ca}c=H[a+36>>2]+(e<<5)|0;break ba}F[a+20|0]=1}e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;c=259040}if(!I[a+176|0]){break o}e=H[c+20>>2];if(!e|(e|0)!=H[a+168>>2]){break o}i=e&1;d=H[c+24>>2];h=H[a+172>>2];f=M[c>>3];if((e|0)==1){e=0;break p}g=e&-2;e=0;while(1){l=e|1;f=+L[h+(l<<2)>>2]*M[d+(l<<3)>>3]+(+L[h+(e<<2)>>2]*M[d+(e<<3)>>3]+f);e=e+2|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}break p}e=H[a+140>>2];H[s+8>>2]=H[a+136>>2];H[s+12>>2]=e;e=H[a+132>>2];H[s>>2]=H[a+128>>2];H[s+4>>2]=e;e=H[a+24>>2];da:{ea:{if(e){e=e-1|0;H[a+24>>2]=e;if(e>>>0>=K[a+32>>2]){break ea}c=H[a+36>>2]+(e<<5)|0;break da}F[a+20|0]=1}e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;c=259040}if(!I[a+176|0]){break q}e=H[c+20>>2];if(!e|(e|0)!=H[a+168>>2]){break q}i=e&1;d=H[c+24>>2];h=H[a+172>>2];f=M[c>>3];if((e|0)==1){e=0;break r}g=e&-2;e=0;while(1){l=e|1;f=+L[h+(l<<2)>>2]*M[d+(l<<3)>>3]+(+L[h+(e<<2)>>2]*M[d+(e<<3)>>3]+f);e=e+2|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}break r}e=0;h=Wa-16|0;Wa=h;k=H[a+24>>2];if(k>>>0>=2){c=2;while(1){d=e;e=c;c=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=c;c=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=c;if(d>>>0>=k>>>0){F[a+20|0]=1}m=H[a+32>>2];fa:{if(m>>>0<=d>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break fa}c=H[a+36>>2]+(d<<5)|0}n=I[a+176|0];ga:{if(!n){break ga}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break ga}l=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];k=0;if((i|0)!=1){o=i&-2;g=0;while(1){p=k|1;f=+L[j+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}f=i&1?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ga}H[c+20>>2]=0}d=d|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}ha:{if(d>>>0>=m>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break ha}d=H[a+36>>2]+(d<<5)|0}ia:{if(!n){break ia}i=H[d+20>>2];if(!i|(i|0)!=H[a+168>>2]){break ia}l=H[d+24>>2];j=H[a+172>>2];f=M[d>>3];k=0;if((i|0)!=1){m=i&-2;g=0;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}f=i&1?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break ia}H[d+20>>2]=0}M[h>>3]=M[h>>3]+M[c>>3];M[h+8>>3]=M[h+8>>3]+M[d>>3];_d(b,h);c=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=c;c=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=c;c=e+2|0;k=H[a+24>>2];if(c>>>0<=k>>>0){continue}break}}Wa=h+16|0;H[a+24>>2]=0;break m}e=0;h=Wa-16|0;Wa=h;g=H[a+24>>2];if(g>>>0>=2){c=2;while(1){d=e;e=c;c=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=c;c=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=c;if(d>>>0>=g>>>0){F[a+20|0]=1}ja:{if(d>>>0>=K[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ja}c=H[a+36>>2]+(d<<5)|0}ka:{if(!I[a+176|0]){break ka}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break ka}k=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];g=0;if((i|0)!=1){m=i&-2;l=0;while(1){n=g|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}f=i&1?+L[j+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ka}H[c+20>>2]=0}M[h>>3]=M[h>>3]+M[c>>3];_d(b,h);c=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=c;c=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=c;c=d|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}la:{if(c>>>0>=K[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break la}c=H[a+36>>2]+(c<<5)|0}ma:{if(!I[a+176|0]){break ma}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break ma}i=H[c+24>>2];k=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+L[k+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[k+(g<<2)>>2]*M[i+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+L[k+(g<<2)>>2]*M[i+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ma}H[c+20>>2]=0}M[h+8>>3]=M[h+8>>3]+M[c>>3];_d(b,h);c=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=c;c=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=c;g=H[a+24>>2];c=e+2|0;if(g>>>0>=c>>>0){continue}break}}if(e>>>0>>0){c=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=c;c=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=c;na:{if(K[a+32>>2]<=e>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break na}e=H[a+36>>2]+(e<<5)|0}oa:{if(!I[a+176|0]){break oa}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break oa}k=c&1;d=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];pa:{if((c|0)==1){g=0;break pa}c=c&-2;g=0;l=0;while(1){j=g|1;f=+L[i+(j<<2)>>2]*M[d+(j<<3)>>3]+(+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break oa}H[e+20>>2]=0}M[h>>3]=M[h>>3]+M[e>>3];_d(b,h);e=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=e;e=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=e}Wa=h+16|0;H[a+24>>2]=0;break m}e=0;h=Wa-16|0;Wa=h;g=H[a+24>>2];if(g>>>0>=2){c=2;while(1){d=e;e=c;c=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=c;c=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=c;if(d>>>0>=g>>>0){F[a+20|0]=1}qa:{if(d>>>0>=K[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break qa}c=H[a+36>>2]+(d<<5)|0}ra:{if(!I[a+176|0]){break ra}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break ra}k=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];g=0;if((i|0)!=1){m=i&-2;l=0;while(1){n=g|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}f=i&1?+L[j+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ra}H[c+20>>2]=0}M[h+8>>3]=M[h+8>>3]+M[c>>3];_d(b,h);c=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=c;c=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=c;c=d|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}sa:{if(c>>>0>=K[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break sa}c=H[a+36>>2]+(c<<5)|0}ta:{if(!I[a+176|0]){break ta}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break ta}i=H[c+24>>2];k=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+L[k+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[k+(g<<2)>>2]*M[i+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+L[k+(g<<2)>>2]*M[i+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ta}H[c+20>>2]=0}M[h>>3]=M[h>>3]+M[c>>3];_d(b,h);c=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=c;c=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=c;g=H[a+24>>2];c=e+2|0;if(g>>>0>=c>>>0){continue}break}}if(e>>>0>>0){c=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=c;c=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=c;ua:{if(K[a+32>>2]<=e>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ua}e=H[a+36>>2]+(e<<5)|0}va:{if(!I[a+176|0]){break va}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break va}k=c&1;d=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];wa:{if((c|0)==1){g=0;break wa}c=c&-2;g=0;l=0;while(1){j=g|1;f=+L[i+(j<<2)>>2]*M[d+(j<<3)>>3]+(+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break va}H[e+20>>2]=0}M[h+8>>3]=M[h+8>>3]+M[e>>3];_d(b,h);e=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=e;e=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=e}Wa=h+16|0;H[a+24>>2]=0;break m}e=0;i=Wa-48|0;Wa=i;g=H[a+24>>2];if(g>>>0>=6){c=6;while(1){h=e;e=c;c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;if(g>>>0<=h>>>0){F[a+20|0]=1}k=H[a+32>>2];xa:{if(k>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break xa}c=H[a+36>>2]+(h<<5)|0}j=I[a+176|0];ya:{if(!j){break ya}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break ya}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ya}H[c+20>>2]=0}d=h|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}za:{if(d>>>0>=k>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break za}d=H[a+36>>2]+(d<<5)|0}Aa:{if(!j){break Aa}m=H[d+20>>2];if(!m|(m|0)!=H[a+168>>2]){break Aa}n=H[d+24>>2];o=H[a+172>>2];f=M[d>>3];g=0;if((m|0)!=1){p=m&-2;l=0;while(1){r=g|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=m&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Aa}H[d+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[c>>3];M[i+40>>3]=M[i+40>>3]+M[d>>3];c=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=c;c=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=c;c=h+2|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Ba:{if(c>>>0>=k>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ba}c=H[a+36>>2]+(c<<5)|0}Ca:{if(!j){break Ca}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Ca}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Ca}H[c+20>>2]=0}d=h+3|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Da:{if(d>>>0>=k>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Da}d=H[a+36>>2]+(d<<5)|0}Ea:{if(!j){break Ea}m=H[d+20>>2];if(!m|(m|0)!=H[a+168>>2]){break Ea}n=H[d+24>>2];o=H[a+172>>2];f=M[d>>3];g=0;if((m|0)!=1){p=m&-2;l=0;while(1){r=g|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=m&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Ea}H[d+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[c>>3];M[i+24>>3]=M[i+24>>3]+M[d>>3];c=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=c;c=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=c;c=h+4|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Fa:{if(c>>>0>=k>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Fa}c=H[a+36>>2]+(c<<5)|0}Ga:{if(!j){break Ga}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Ga}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Ga}H[c+20>>2]=0}d=h+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ha:{if(d>>>0>=k>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Ha}d=H[a+36>>2]+(d<<5)|0}Ia:{if(!j){break Ia}h=H[d+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Ia}k=H[d+24>>2];j=H[a+172>>2];f=M[d>>3];g=0;if((h|0)!=1){m=h&-2;l=0;while(1){n=g|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((m|0)!=(l|0)){continue}break}}f=h&1?+L[j+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Ia}H[d+20>>2]=0}M[i>>3]=M[i>>3]+M[c>>3];M[i+8>>3]=M[i+8>>3]+M[d>>3];rc(b,i+32|0,i+16|0,i);c=H[i+12>>2];H[a+136>>2]=H[i+8>>2];H[a+140>>2]=c;c=H[i+4>>2];H[a+128>>2]=H[i>>2];H[a+132>>2]=c;g=H[a+24>>2];c=e+6|0;if(g>>>0>=c>>>0){continue}break}}Wa=i+48|0;H[a+24>>2]=0;break m}e=0;i=Wa-48|0;Wa=i;g=H[a+24>>2];if(g>>>0>=8){p=g-2|0;c=6;while(1){h=e;e=c;c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;if(g>>>0<=h>>>0){F[a+20|0]=1}l=H[a+32>>2];Ja:{if(l>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ja}c=H[a+36>>2]+(h<<5)|0}j=I[a+176|0];Ka:{if(!j){break Ka}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Ka}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;k=0;while(1){r=g|1;f=+L[n+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Ka}H[c+20>>2]=0}d=h|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}La:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break La}d=H[a+36>>2]+(d<<5)|0}Ma:{if(!j){break Ma}m=H[d+20>>2];if(!m|(m|0)!=H[a+168>>2]){break Ma}n=H[d+24>>2];o=H[a+172>>2];f=M[d>>3];g=0;if((m|0)!=1){r=m&-2;k=0;while(1){t=g|1;f=+L[o+(t<<2)>>2]*M[n+(t<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}f=m&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Ma}H[d+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[c>>3];M[i+40>>3]=M[i+40>>3]+M[d>>3];c=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=c;c=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=c;c=h+2|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Na:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Na}c=H[a+36>>2]+(c<<5)|0}Oa:{if(!j){break Oa}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Oa}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;k=0;while(1){r=g|1;f=+L[n+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Oa}H[c+20>>2]=0}d=h+3|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Pa:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Pa}d=H[a+36>>2]+(d<<5)|0}Qa:{if(!j){break Qa}m=H[d+20>>2];if(!m|(m|0)!=H[a+168>>2]){break Qa}n=H[d+24>>2];o=H[a+172>>2];f=M[d>>3];g=0;if((m|0)!=1){r=m&-2;k=0;while(1){t=g|1;f=+L[o+(t<<2)>>2]*M[n+(t<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}f=m&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Qa}H[d+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[c>>3];M[i+24>>3]=M[i+24>>3]+M[d>>3];c=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=c;c=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=c;c=h+4|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Ra:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ra}c=H[a+36>>2]+(c<<5)|0}Sa:{if(!j){break Sa}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Sa}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;k=0;while(1){r=g|1;f=+L[n+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Sa}H[c+20>>2]=0}d=h+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ta:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Ta}d=H[a+36>>2]+(d<<5)|0}Ua:{if(!j){break Ua}h=H[d+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Ua}l=H[d+24>>2];j=H[a+172>>2];f=M[d>>3];g=0;if((h|0)!=1){m=h&-2;k=0;while(1){n=g|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(g<<2)>>2]*M[l+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=h&1?+L[j+(g<<2)>>2]*M[l+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Ua}H[d+20>>2]=0}M[i>>3]=M[i>>3]+M[c>>3];M[i+8>>3]=M[i+8>>3]+M[d>>3];rc(b,i+32|0,i+16|0,i);c=H[i+12>>2];H[a+136>>2]=H[i+8>>2];H[a+140>>2]=c;c=H[i+4>>2];H[a+128>>2]=H[i>>2];H[a+132>>2]=c;g=H[a+24>>2];c=e+6|0;if(p>>>0>=c>>>0){continue}break}c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;if(e>>>0>=g>>>0){F[a+20|0]=1}j=H[a+32>>2];Va:{if(j>>>0<=e>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break Va}d=H[a+36>>2]+(e<<5)|0}m=I[a+176|0];Wa:{if(!m){break Wa}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Wa}n=c&1;h=H[d+24>>2];l=H[a+172>>2];f=M[d>>3];Xa:{if((c|0)==1){g=0;break Xa}c=c&-2;g=0;k=0;while(1){o=g|1;f=+L[l+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[l+(g<<2)>>2]*M[h+(g<<3)>>3]+f);g=g+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=n?+L[l+(g<<2)>>2]*M[h+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Wa}H[d+20>>2]=0}e=e|1;if(e>>>0>=K[a+24>>2]){F[a+20|0]=1}Ya:{if(e>>>0>=j>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ya}e=H[a+36>>2]+(e<<5)|0}Za:{if(!m){break Za}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Za}l=c&1;h=H[e+24>>2];k=H[a+172>>2];f=M[e>>3];_a:{if((c|0)==1){g=0;break _a}j=c&-2;g=0;c=0;while(1){m=g|1;f=+L[k+(m<<2)>>2]*M[h+(m<<3)>>3]+(+L[k+(g<<2)>>2]*M[h+(g<<3)>>3]+f);g=g+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}f=l?+L[k+(g<<2)>>2]*M[h+(g<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Za}H[e+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[d>>3];M[i+40>>3]=M[i+40>>3]+M[e>>3];_d(b,i+32|0);e=H[i+44>>2];H[a+136>>2]=H[i+40>>2];H[a+140>>2]=e;e=H[i+36>>2];H[a+128>>2]=H[i+32>>2];H[a+132>>2]=e}Wa=i+48|0;H[a+24>>2]=0;break m}e=0;i=Wa-48|0;Wa=i;k=H[a+24>>2];if(k>>>0>=8){m=k-6|0;c=2;while(1){h=e;e=c;c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;if(h>>>0>=k>>>0){F[a+20|0]=1}n=H[a+32>>2];$a:{if(n>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break $a}d=H[a+36>>2]+(h<<5)|0}o=I[a+176|0];ab:{if(!o){break ab}g=H[d+20>>2];if(!g|(g|0)!=H[a+168>>2]){break ab}l=H[d+24>>2];j=H[a+172>>2];f=M[d>>3];c=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=c|1;f=+L[j+(r<<2)>>2]*M[l+(r<<3)>>3]+(+L[j+(c<<2)>>2]*M[l+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+L[j+(c<<2)>>2]*M[l+(c<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break ab}H[d+20>>2]=0}c=h|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}bb:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;h=259040;break bb}h=H[a+36>>2]+(c<<5)|0}cb:{if(!o){break cb}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break cb}l=H[h+24>>2];j=H[a+172>>2];f=M[h>>3];c=0;if((g|0)!=1){n=g&-2;k=0;while(1){o=c|1;f=+L[j+(o<<2)>>2]*M[l+(o<<3)>>3]+(+L[j+(c<<2)>>2]*M[l+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=g&1?+L[j+(c<<2)>>2]*M[l+(c<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break cb}H[h+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[d>>3];M[i+40>>3]=M[i+40>>3]+M[h>>3];_d(b,i+32|0);c=H[i+44>>2];H[a+136>>2]=H[i+40>>2];H[a+140>>2]=c;c=H[i+36>>2];H[a+128>>2]=H[i+32>>2];H[a+132>>2]=c;k=H[a+24>>2];c=e+2|0;if(m>>>0>=c>>>0){continue}break}d=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=d;d=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=d;if(e>>>0>=k>>>0){F[a+20|0]=1}g=H[a+32>>2];db:{if(g>>>0<=e>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break db}d=H[a+36>>2]+(e<<5)|0}j=I[a+176|0];eb:{if(!j){break eb}h=H[d+20>>2];if(!h|(h|0)!=H[a+168>>2]){break eb}o=h&1;m=H[d+24>>2];n=H[a+172>>2];f=M[d>>3];fb:{if((h|0)==1){k=0;break fb}h=h&-2;k=0;l=0;while(1){p=k|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(k<<2)>>2]*M[m+(k<<3)>>3]+f);k=k+2|0;l=l+2|0;if((h|0)!=(l|0)){continue}break}}f=o?+L[n+(k<<2)>>2]*M[m+(k<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break eb}H[d+20>>2]=0}h=e|1;if(h>>>0>=K[a+24>>2]){F[a+20|0]=1}gb:{if(g>>>0<=h>>>0){h=H[40915];H[64766]=H[40914];H[64767]=h;h=H[40913];H[64764]=H[40912];H[64765]=h;h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040;break gb}h=H[a+36>>2]+(h<<5)|0}hb:{if(!j){break hb}k=H[h+20>>2];if(!k|(k|0)!=H[a+168>>2]){break hb}o=k&1;m=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];ib:{if((k|0)==1){k=0;break ib}p=k&-2;k=0;l=0;while(1){r=k|1;f=+L[n+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[n+(k<<2)>>2]*M[m+(k<<3)>>3]+f);k=k+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=o?+L[n+(k<<2)>>2]*M[m+(k<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break hb}H[h+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[d>>3];M[i+40>>3]=M[i+40>>3]+M[h>>3];d=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=d;d=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=d;if(K[a+24>>2]<=c>>>0){F[a+20|0]=1}jb:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break jb}d=H[a+36>>2]+(c<<5)|0}kb:{if(!j){break kb}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break kb}m=c&1;h=H[d+24>>2];l=H[a+172>>2];f=M[d>>3];lb:{if((c|0)==1){c=0;break lb}n=c&-2;c=0;k=0;while(1){o=c|1;f=+L[l+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[l+(c<<2)>>2]*M[h+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+L[l+(c<<2)>>2]*M[h+(c<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break kb}H[d+20>>2]=0}c=e+3|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}mb:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;h=259040;break mb}h=H[a+36>>2]+(c<<5)|0}nb:{if(!j){break nb}c=H[h+20>>2];if(!c|(c|0)!=H[a+168>>2]){break nb}n=c&1;l=H[h+24>>2];m=H[a+172>>2];f=M[h>>3];ob:{if((c|0)==1){c=0;break ob}o=c&-2;c=0;k=0;while(1){p=c|1;f=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(c<<2)>>2]*M[l+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=n?+L[m+(c<<2)>>2]*M[l+(c<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break nb}H[h+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[d>>3];M[i+24>>3]=M[i+24>>3]+M[h>>3];c=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=c;c=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=c;c=e+4|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}pb:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break pb}d=H[a+36>>2]+(c<<5)|0}qb:{if(!j){break qb}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break qb}m=c&1;h=H[d+24>>2];l=H[a+172>>2];f=M[d>>3];rb:{if((c|0)==1){c=0;break rb}n=c&-2;c=0;k=0;while(1){o=c|1;f=+L[l+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[l+(c<<2)>>2]*M[h+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+L[l+(c<<2)>>2]*M[h+(c<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break qb}H[d+20>>2]=0}e=e+5|0;if(e>>>0>=K[a+24>>2]){F[a+20|0]=1}sb:{if(e>>>0>=g>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break sb}e=H[a+36>>2]+(e<<5)|0}tb:{if(!j){break tb}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break tb}l=c&1;h=H[e+24>>2];g=H[a+172>>2];f=M[e>>3];ub:{if((c|0)==1){c=0;break ub}j=c&-2;c=0;k=0;while(1){m=c|1;f=+L[g+(m<<2)>>2]*M[h+(m<<3)>>3]+(+L[g+(c<<2)>>2]*M[h+(c<<3)>>3]+f);c=c+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}f=l?+L[g+(c<<2)>>2]*M[h+(c<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break tb}H[e+20>>2]=0}M[i>>3]=M[i>>3]+M[d>>3];M[i+8>>3]=M[i+8>>3]+M[e>>3];rc(b,i+32|0,i+16|0,i);e=H[i+12>>2];H[a+136>>2]=H[i+8>>2];H[a+140>>2]=e;e=H[i+4>>2];H[a+128>>2]=H[i>>2];H[a+132>>2]=e}Wa=i+48|0;H[a+24>>2]=0;break m}e=0;i=Wa-48|0;Wa=i;c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;g=H[a+24>>2];if(g&1){vb:{if(!H[a+32>>2]){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break vb}e=H[a+36>>2]}wb:{if(!I[a+176|0]){break wb}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break wb}k=c&1;d=H[e+24>>2];h=H[a+172>>2];f=M[e>>3];xb:{if((c|0)==1){g=0;break xb}c=c&-2;g=0;while(1){j=g|1;f=+L[h+(j<<2)>>2]*M[d+(j<<3)>>3]+(+L[h+(g<<2)>>2]*M[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+L[h+(g<<2)>>2]*M[d+(g<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break wb}H[e+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[e>>3];g=H[a+24>>2];e=1}c=e|4;if(c>>>0<=g>>>0){while(1){h=e;e=c;if(g>>>0<=h>>>0){F[a+20|0]=1}j=H[a+32>>2];yb:{if(j>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break yb}c=H[a+36>>2]+(h<<5)|0}m=I[a+176|0];zb:{if(!m){break zb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break zb}k=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break zb}H[c+20>>2]=0}M[i+40>>3]=M[i+40>>3]+M[c>>3];c=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=c;c=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=c;c=h+1|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Ab:{if(c>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ab}c=H[a+36>>2]+(c<<5)|0}Bb:{if(!m){break Bb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Bb}k=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Bb}H[c+20>>2]=0}d=h+2|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Cb:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Cb}d=H[a+36>>2]+(d<<5)|0}Db:{if(!m){break Db}k=H[d+20>>2];if(!k|(k|0)!=H[a+168>>2]){break Db}n=H[d+24>>2];o=H[a+172>>2];f=M[d>>3];g=0;if((k|0)!=1){p=k&-2;l=0;while(1){r=g|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=k&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Db}H[d+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[c>>3];M[i+24>>3]=M[i+24>>3]+M[d>>3];c=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=c;c=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=c;c=h+3|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Eb:{if(c>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Eb}c=H[a+36>>2]+(c<<5)|0}Fb:{if(!m){break Fb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Fb}h=H[c+24>>2];k=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+L[k+(m<<2)>>2]*M[h+(m<<3)>>3]+(+L[k+(g<<2)>>2]*M[h+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+L[k+(g<<2)>>2]*M[h+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Fb}H[c+20>>2]=0}M[i+8>>3]=M[i+8>>3]+M[c>>3];rc(b,i+32|0,i+16|0,i);c=H[i+12>>2];H[a+136>>2]=H[i+8>>2];H[a+140>>2]=c;c=H[i+4>>2];H[a+128>>2]=H[i>>2];H[a+132>>2]=c;c=H[i+12>>2];H[i+40>>2]=H[i+8>>2];H[i+44>>2]=c;c=H[i+4>>2];H[i+32>>2]=H[i>>2];H[i+36>>2]=c;g=H[a+24>>2];c=e+4|0;if(g>>>0>=c>>>0){continue}break}}Wa=i+48|0;H[a+24>>2]=0;break m}e=0;i=Wa-48|0;Wa=i;c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;g=H[a+24>>2];if(g&1){Gb:{if(!H[a+32>>2]){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Gb}e=H[a+36>>2]}Hb:{if(!I[a+176|0]){break Hb}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Hb}k=c&1;d=H[e+24>>2];h=H[a+172>>2];f=M[e>>3];Ib:{if((c|0)==1){g=0;break Ib}c=c&-2;g=0;while(1){j=g|1;f=+L[h+(j<<2)>>2]*M[d+(j<<3)>>3]+(+L[h+(g<<2)>>2]*M[d+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}f=k?+L[h+(g<<2)>>2]*M[d+(g<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Hb}H[e+20>>2]=0}M[i+40>>3]=M[i+40>>3]+M[e>>3];g=H[a+24>>2];e=1}c=e|4;if(c>>>0<=g>>>0){while(1){h=e;e=c;if(g>>>0<=h>>>0){F[a+20|0]=1}j=H[a+32>>2];Jb:{if(j>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Jb}c=H[a+36>>2]+(h<<5)|0}m=I[a+176|0];Kb:{if(!m){break Kb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Kb}k=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Kb}H[c+20>>2]=0}M[i+32>>3]=M[i+32>>3]+M[c>>3];c=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=c;c=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=c;c=h+1|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Lb:{if(c>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Lb}c=H[a+36>>2]+(c<<5)|0}Mb:{if(!m){break Mb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Mb}k=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;f=+L[n+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}f=d&1?+L[n+(g<<2)>>2]*M[k+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Mb}H[c+20>>2]=0}d=h+2|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Nb:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Nb}d=H[a+36>>2]+(d<<5)|0}Ob:{if(!m){break Ob}k=H[d+20>>2];if(!k|(k|0)!=H[a+168>>2]){break Ob}n=H[d+24>>2];o=H[a+172>>2];f=M[d>>3];g=0;if((k|0)!=1){p=k&-2;l=0;while(1){r=g|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}f=k&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Ob}H[d+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[c>>3];M[i+24>>3]=M[i+24>>3]+M[d>>3];c=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=c;c=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=c;c=h+3|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Pb:{if(c>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Pb}c=H[a+36>>2]+(c<<5)|0}Qb:{if(!m){break Qb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Qb}h=H[c+24>>2];k=H[a+172>>2];f=M[c>>3];g=0;if((d|0)!=1){j=d&-2;l=0;while(1){m=g|1;f=+L[k+(m<<2)>>2]*M[h+(m<<3)>>3]+(+L[k+(g<<2)>>2]*M[h+(g<<3)>>3]+f);g=g+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}}f=d&1?+L[k+(g<<2)>>2]*M[h+(g<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Qb}H[c+20>>2]=0}M[i>>3]=M[i>>3]+M[c>>3];rc(b,i+32|0,i+16|0,i);c=H[i+12>>2];H[a+136>>2]=H[i+8>>2];H[a+140>>2]=c;c=H[i+4>>2];H[a+128>>2]=H[i>>2];H[a+132>>2]=c;c=H[i+12>>2];H[i+40>>2]=H[i+8>>2];H[i+44>>2]=c;c=H[i+4>>2];H[i+32>>2]=H[i>>2];H[i+36>>2]=c;g=H[a+24>>2];c=e+4|0;if(g>>>0>=c>>>0){continue}break}}Wa=i+48|0;H[a+24>>2]=0;break m}j=Wa-96|0;Wa=j;H[j+88>>2]=0;H[j+92>>2]=0;H[j+80>>2]=0;H[j+84>>2]=0;H[j+72>>2]=0;H[j+76>>2]=0;H[j+64>>2]=0;H[j+68>>2]=0;H[j+56>>2]=0;H[j+60>>2]=0;H[j+48>>2]=0;H[j+52>>2]=0;d=H[a+24>>2];Rb:{if(!(d&4)){if(d>>>0<8){break Rb}c=8;e=0;while(1){h=e;e=c;c=H[a+140>>2];H[j+88>>2]=H[a+136>>2];H[j+92>>2]=c;c=H[a+132>>2];H[j+80>>2]=H[a+128>>2];H[j+84>>2]=c;if(d>>>0<=h>>>0){F[a+20|0]=1}l=H[a+32>>2];Sb:{if(l>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Sb}c=H[a+36>>2]+(h<<5)|0}m=I[a+176|0];Tb:{if(!m){break Tb}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Tb}g=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Tb}H[c+20>>2]=0}M[j+88>>3]=M[j+88>>3]+M[c>>3];c=H[j+92>>2];H[j+72>>2]=H[j+88>>2];H[j+76>>2]=c;c=H[j+84>>2];H[j+64>>2]=H[j+80>>2];H[j+68>>2]=c;c=h|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Ub:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ub}c=H[a+36>>2]+(c<<5)|0}Vb:{if(!m){break Vb}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Vb}g=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Vb}H[c+20>>2]=0}d=h|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Wb:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break Wb}i=H[a+36>>2]+(d<<5)|0}Xb:{if(!m){break Xb}g=H[i+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Xb}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break Xb}H[i+20>>2]=0}M[j+64>>3]=M[j+64>>3]+M[c>>3];M[j+72>>3]=M[j+72>>3]+M[i>>3];c=H[j+76>>2];H[j+56>>2]=H[j+72>>2];H[j+60>>2]=c;c=H[j+68>>2];H[j+48>>2]=H[j+64>>2];H[j+52>>2]=c;c=h|3;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Yb:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Yb}c=H[a+36>>2]+(c<<5)|0}Zb:{if(!m){break Zb}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Zb}g=H[c+24>>2];l=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+L[l+(n<<2)>>2]*M[g+(n<<3)>>3]+(+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Zb}H[c+20>>2]=0}M[j+48>>3]=M[j+48>>3]+M[c>>3];rc(b,j+80|0,j- -64|0,j+48|0);c=H[j+60>>2];H[a+136>>2]=H[j+56>>2];H[a+140>>2]=c;c=H[j+52>>2];H[a+128>>2]=H[j+48>>2];H[a+132>>2]=c;c=H[j+60>>2];H[j+88>>2]=H[j+56>>2];H[j+92>>2]=c;c=H[j+52>>2];H[j+80>>2]=H[j+48>>2];H[j+84>>2]=c;c=h|4;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}g=H[a+32>>2];_b:{if(g>>>0<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break _b}c=H[a+36>>2]+(c<<5)|0}l=I[a+176|0];$b:{if(!l){break $b}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break $b}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break $b}H[c+20>>2]=0}f=M[c>>3];c=H[j+92>>2];H[j+72>>2]=H[j+88>>2];H[j+76>>2]=c;M[j+80>>3]=f+M[j+80>>3];c=H[j+84>>2];H[j+64>>2]=H[j+80>>2];H[j+68>>2]=c;c=h|5;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}ac:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ac}c=H[a+36>>2]+(c<<5)|0}bc:{if(!l){break bc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break bc}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break bc}H[c+20>>2]=0}d=h|6;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}cc:{if(d>>>0>=g>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break cc}i=H[a+36>>2]+(d<<5)|0}dc:{if(!l){break dc}m=H[i+20>>2];if(!m|(m|0)!=H[a+168>>2]){break dc}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break dc}H[i+20>>2]=0}M[j+64>>3]=M[j+64>>3]+M[c>>3];M[j+72>>3]=M[j+72>>3]+M[i>>3];c=H[j+76>>2];H[j+56>>2]=H[j+72>>2];H[j+60>>2]=c;c=H[j+68>>2];H[j+48>>2]=H[j+64>>2];H[j+52>>2]=c;c=h|7;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}ec:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ec}c=H[a+36>>2]+(c<<5)|0}fc:{if(!l){break fc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break fc}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break fc}H[c+20>>2]=0}M[j+56>>3]=M[j+56>>3]+M[c>>3];c=H[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=e>>>0){F[a+20|0]=1}gc:{if(e>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break gc}c=H[a+36>>2]+(e<<5)|0}hc:{if(!l){break hc}h=H[c+20>>2];if(!h|(h|0)!=H[a+168>>2]){break hc}i=H[c+24>>2];g=H[a+172>>2];f=M[c>>3];d=0;if((h|0)!=1){l=h&-2;k=0;while(1){m=d|1;f=+L[g+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[g+(d<<2)>>2]*M[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}f=h&1?+L[g+(d<<2)>>2]*M[i+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break hc}H[c+20>>2]=0}M[j+48>>3]=M[j+48>>3]+M[c>>3]}rc(b,j+80|0,j- -64|0,j+48|0);c=H[j+60>>2];H[a+136>>2]=H[j+56>>2];H[a+140>>2]=c;c=H[j+52>>2];H[a+128>>2]=H[j+48>>2];H[a+132>>2]=c;d=H[a+24>>2];c=e+8|0;if(d>>>0>=c>>>0){continue}break}break Rb}e=H[a+140>>2];H[j+40>>2]=H[a+136>>2];H[j+44>>2]=e;e=H[a+132>>2];H[j+32>>2]=H[a+128>>2];H[j+36>>2]=e;l=H[a+32>>2];ic:{if(!l){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ic}e=H[a+36>>2]}g=I[a+176|0];jc:{if(!g){break jc}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break jc}m=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];kc:{if((c|0)==1){d=0;break kc}c=c&-2;d=0;while(1){n=d|1;f=+L[i+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break jc}H[e+20>>2]=0}M[j+40>>3]=M[j+40>>3]+M[e>>3];e=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=e;e=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=e;if(K[a+24>>2]<=1){F[a+20|0]=1}lc:{if(l>>>0<=1){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break lc}e=H[a+36>>2]+32|0}mc:{if(!g){break mc}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break mc}m=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];nc:{if((c|0)==1){d=0;break nc}c=c&-2;d=0;k=0;while(1){n=d|1;f=+L[i+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break mc}H[e+20>>2]=0}if(K[a+24>>2]<=2){F[a+20|0]=1}oc:{if(l>>>0<=2){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break oc}c=H[a+36>>2]- -64|0}pc:{if(!g){break pc}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break pc}m=d&1;h=H[c+24>>2];i=H[a+172>>2];f=M[c>>3];qc:{if((d|0)==1){d=0;break qc}n=d&-2;d=0;k=0;while(1){o=d|1;f=+L[i+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break pc}H[c+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[e>>3];M[j+24>>3]=M[j+24>>3]+M[c>>3];e=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=e;e=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=e;if(K[a+24>>2]<=3){F[a+20|0]=1}rc:{if(l>>>0<=3){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break rc}e=H[a+36>>2]+96|0}sc:{if(!g){break sc}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break sc}m=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];tc:{if((c|0)==1){d=0;break tc}c=c&-2;d=0;k=0;while(1){n=d|1;f=+L[i+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break sc}H[e+20>>2]=0}M[j>>3]=M[j>>3]+M[e>>3];d=12;e=4;c=H[a+24>>2];if(c>>>0>=12){while(1){c=e;e=d;rc(b,j+32|0,j+16|0,j);d=H[j+12>>2];H[a+136>>2]=H[j+8>>2];H[a+140>>2]=d;d=H[j+4>>2];H[a+128>>2]=H[j>>2];H[a+132>>2]=d;d=H[j+12>>2];H[j+40>>2]=H[j+8>>2];H[j+44>>2]=d;d=H[j+4>>2];H[j+32>>2]=H[j>>2];H[j+36>>2]=d;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}l=H[a+32>>2];uc:{if(l>>>0<=c>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break uc}h=H[a+36>>2]+(c<<5)|0}m=I[a+176|0];vc:{if(!m){break vc}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break vc}g=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break vc}H[h+20>>2]=0}f=M[h>>3];d=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=d;M[j+32>>3]=f+M[j+32>>3];d=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=d;d=c|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}wc:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break wc}h=H[a+36>>2]+(d<<5)|0}xc:{if(!m){break xc}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break xc}g=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break xc}H[h+20>>2]=0}d=c|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}yc:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break yc}i=H[a+36>>2]+(d<<5)|0}zc:{if(!m){break zc}g=H[i+20>>2];if(!g|(g|0)!=H[a+168>>2]){break zc}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break zc}H[i+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[h>>3];M[j+24>>3]=M[j+24>>3]+M[i>>3];d=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=d;d=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=d;d=c|3;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ac:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Ac}h=H[a+36>>2]+(d<<5)|0}Bc:{if(!m){break Bc}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Bc}g=H[h+24>>2];l=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+L[l+(n<<2)>>2]*M[g+(n<<3)>>3]+(+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break Bc}H[h+20>>2]=0}M[j+8>>3]=M[j+8>>3]+M[h>>3];rc(b,j+32|0,j+16|0,j);d=H[j+12>>2];H[a+136>>2]=H[j+8>>2];H[a+140>>2]=d;d=H[j+4>>2];H[a+128>>2]=H[j>>2];H[a+132>>2]=d;d=H[j+12>>2];H[j+40>>2]=H[j+8>>2];H[j+44>>2]=d;d=H[j+4>>2];H[j+32>>2]=H[j>>2];H[j+36>>2]=d;d=c+4|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}l=H[a+32>>2];Cc:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Cc}h=H[a+36>>2]+(d<<5)|0}g=I[a+176|0];Dc:{if(!g){break Dc}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Dc}m=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break Dc}H[h+20>>2]=0}M[j+40>>3]=M[j+40>>3]+M[h>>3];d=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=d;d=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=d;d=c+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ec:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Ec}h=H[a+36>>2]+(d<<5)|0}Fc:{if(!g){break Fc}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Fc}m=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break Fc}H[h+20>>2]=0}d=c+6|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Gc:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break Gc}i=H[a+36>>2]+(d<<5)|0}Hc:{if(!g){break Hc}m=H[i+20>>2];if(!m|(m|0)!=H[a+168>>2]){break Hc}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break Hc}H[i+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[h>>3];M[j+24>>3]=M[j+24>>3]+M[i>>3];d=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=d;d=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=d;c=c+7|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Ic:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ic}c=H[a+36>>2]+(c<<5)|0}Jc:{if(!g){break Jc}h=H[c+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Jc}i=H[c+24>>2];m=H[a+172>>2];f=M[c>>3];d=0;if((h|0)!=1){n=h&-2;k=0;while(1){o=d|1;f=+L[m+(o<<2)>>2]*M[i+(o<<3)>>3]+(+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=h&1?+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Jc}H[c+20>>2]=0}M[j>>3]=M[j>>3]+M[c>>3];d=e+8|0;c=H[a+24>>2];if(d>>>0<=c>>>0){continue}break}}if(c>>>0>e>>>0){Kc:{if(e>>>0>=l>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;d=259040;break Kc}d=H[a+36>>2]+(e<<5)|0}Lc:{if(!g){break Lc}e=H[d+20>>2];if(!e|(e|0)!=H[a+168>>2]){break Lc}g=e&1;h=H[d+24>>2];i=H[a+172>>2];f=M[d>>3];Mc:{if((e|0)==1){e=0;break Mc}k=e&-2;e=0;c=0;while(1){l=e|1;f=+L[i+(l<<2)>>2]*M[h+(l<<3)>>3]+(+L[i+(e<<2)>>2]*M[h+(e<<3)>>3]+f);e=e+2|0;c=c+2|0;if((k|0)!=(c|0)){continue}break}}f=g?+L[i+(e<<2)>>2]*M[h+(e<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Lc}H[d+20>>2]=0}M[j+8>>3]=M[j+8>>3]+M[d>>3]}rc(b,j+32|0,j+16|0,j);e=H[j+12>>2];H[a+136>>2]=H[j+8>>2];H[a+140>>2]=e;e=H[j+4>>2];H[a+128>>2]=H[j>>2];H[a+132>>2]=e}Wa=j+96|0;H[a+24>>2]=0;break m}j=Wa-96|0;Wa=j;H[j+88>>2]=0;H[j+92>>2]=0;H[j+80>>2]=0;H[j+84>>2]=0;H[j+72>>2]=0;H[j+76>>2]=0;H[j+64>>2]=0;H[j+68>>2]=0;H[j+56>>2]=0;H[j+60>>2]=0;H[j+48>>2]=0;H[j+52>>2]=0;d=H[a+24>>2];Nc:{if(!(d&4)){if(d>>>0<8){break Nc}c=8;e=0;while(1){h=e;e=c;c=H[a+140>>2];H[j+88>>2]=H[a+136>>2];H[j+92>>2]=c;c=H[a+132>>2];H[j+80>>2]=H[a+128>>2];H[j+84>>2]=c;if(d>>>0<=h>>>0){F[a+20|0]=1}l=H[a+32>>2];Oc:{if(l>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Oc}c=H[a+36>>2]+(h<<5)|0}m=I[a+176|0];Pc:{if(!m){break Pc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Pc}g=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Pc}H[c+20>>2]=0}f=M[c>>3];c=H[j+92>>2];H[j+72>>2]=H[j+88>>2];H[j+76>>2]=c;M[j+80>>3]=f+M[j+80>>3];c=H[j+84>>2];H[j+64>>2]=H[j+80>>2];H[j+68>>2]=c;c=h|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Qc:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Qc}c=H[a+36>>2]+(c<<5)|0}Rc:{if(!m){break Rc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Rc}g=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Rc}H[c+20>>2]=0}d=h|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Sc:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break Sc}i=H[a+36>>2]+(d<<5)|0}Tc:{if(!m){break Tc}g=H[i+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Tc}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break Tc}H[i+20>>2]=0}M[j+64>>3]=M[j+64>>3]+M[c>>3];M[j+72>>3]=M[j+72>>3]+M[i>>3];c=H[j+76>>2];H[j+56>>2]=H[j+72>>2];H[j+60>>2]=c;c=H[j+68>>2];H[j+48>>2]=H[j+64>>2];H[j+52>>2]=c;c=h|3;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Uc:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Uc}c=H[a+36>>2]+(c<<5)|0}Vc:{if(!m){break Vc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Vc}g=H[c+24>>2];l=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+L[l+(n<<2)>>2]*M[g+(n<<3)>>3]+(+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Vc}H[c+20>>2]=0}M[j+56>>3]=M[j+56>>3]+M[c>>3];rc(b,j+80|0,j- -64|0,j+48|0);c=H[j+60>>2];H[a+136>>2]=H[j+56>>2];H[a+140>>2]=c;c=H[j+52>>2];H[a+128>>2]=H[j+48>>2];H[a+132>>2]=c;c=H[j+60>>2];H[j+88>>2]=H[j+56>>2];H[j+92>>2]=c;c=H[j+52>>2];H[j+80>>2]=H[j+48>>2];H[j+84>>2]=c;c=h|4;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}g=H[a+32>>2];Wc:{if(g>>>0<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Wc}c=H[a+36>>2]+(c<<5)|0}l=I[a+176|0];Xc:{if(!l){break Xc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Xc}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Xc}H[c+20>>2]=0}M[j+88>>3]=M[j+88>>3]+M[c>>3];c=H[j+92>>2];H[j+72>>2]=H[j+88>>2];H[j+76>>2]=c;c=H[j+84>>2];H[j+64>>2]=H[j+80>>2];H[j+68>>2]=c;c=h|5;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Yc:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Yc}c=H[a+36>>2]+(c<<5)|0}Zc:{if(!l){break Zc}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Zc}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Zc}H[c+20>>2]=0}d=h|6;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}_c:{if(d>>>0>=g>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break _c}i=H[a+36>>2]+(d<<5)|0}$c:{if(!l){break $c}m=H[i+20>>2];if(!m|(m|0)!=H[a+168>>2]){break $c}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break $c}H[i+20>>2]=0}M[j+64>>3]=M[j+64>>3]+M[c>>3];M[j+72>>3]=M[j+72>>3]+M[i>>3];c=H[j+76>>2];H[j+56>>2]=H[j+72>>2];H[j+60>>2]=c;c=H[j+68>>2];H[j+48>>2]=H[j+64>>2];H[j+52>>2]=c;c=h|7;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}ad:{if(c>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ad}c=H[a+36>>2]+(c<<5)|0}bd:{if(!l){break bd}i=H[c+20>>2];if(!i|(i|0)!=H[a+168>>2]){break bd}m=H[c+24>>2];n=H[a+172>>2];f=M[c>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break bd}H[c+20>>2]=0}M[j+48>>3]=M[j+48>>3]+M[c>>3];c=H[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=e>>>0){F[a+20|0]=1}cd:{if(e>>>0>=g>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break cd}c=H[a+36>>2]+(e<<5)|0}dd:{if(!l){break dd}h=H[c+20>>2];if(!h|(h|0)!=H[a+168>>2]){break dd}i=H[c+24>>2];g=H[a+172>>2];f=M[c>>3];d=0;if((h|0)!=1){l=h&-2;k=0;while(1){m=d|1;f=+L[g+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[g+(d<<2)>>2]*M[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}f=h&1?+L[g+(d<<2)>>2]*M[i+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break dd}H[c+20>>2]=0}M[j+56>>3]=M[j+56>>3]+M[c>>3]}rc(b,j+80|0,j- -64|0,j+48|0);c=H[j+60>>2];H[a+136>>2]=H[j+56>>2];H[a+140>>2]=c;c=H[j+52>>2];H[a+128>>2]=H[j+48>>2];H[a+132>>2]=c;d=H[a+24>>2];c=e+8|0;if(d>>>0>=c>>>0){continue}break}break Nc}e=H[a+140>>2];H[j+40>>2]=H[a+136>>2];H[j+44>>2]=e;e=H[a+132>>2];H[j+32>>2]=H[a+128>>2];H[j+36>>2]=e;l=H[a+32>>2];ed:{if(!l){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ed}e=H[a+36>>2]}g=I[a+176|0];fd:{if(!g){break fd}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break fd}m=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];gd:{if((c|0)==1){d=0;break gd}c=c&-2;d=0;while(1){n=d|1;f=+L[i+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break fd}H[e+20>>2]=0}M[j+32>>3]=M[j+32>>3]+M[e>>3];e=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=e;e=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=e;if(K[a+24>>2]<=1){F[a+20|0]=1}hd:{if(l>>>0<=1){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break hd}e=H[a+36>>2]+32|0}id:{if(!g){break id}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break id}m=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];jd:{if((c|0)==1){d=0;break jd}c=c&-2;d=0;k=0;while(1){n=d|1;f=+L[i+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break id}H[e+20>>2]=0}if(K[a+24>>2]<=2){F[a+20|0]=1}kd:{if(l>>>0<=2){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break kd}c=H[a+36>>2]- -64|0}ld:{if(!g){break ld}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break ld}m=d&1;h=H[c+24>>2];i=H[a+172>>2];f=M[c>>3];md:{if((d|0)==1){d=0;break md}n=d&-2;d=0;k=0;while(1){o=d|1;f=+L[i+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ld}H[c+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[e>>3];M[j+24>>3]=M[j+24>>3]+M[c>>3];e=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=e;e=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=e;if(K[a+24>>2]<=3){F[a+20|0]=1}nd:{if(l>>>0<=3){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break nd}e=H[a+36>>2]+96|0}od:{if(!g){break od}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break od}m=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];pd:{if((c|0)==1){d=0;break pd}c=c&-2;d=0;k=0;while(1){n=d|1;f=+L[i+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((c|0)!=(k|0)){continue}break}}f=m?+L[i+(d<<2)>>2]*M[h+(d<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break od}H[e+20>>2]=0}M[j+8>>3]=M[j+8>>3]+M[e>>3];d=12;e=4;c=H[a+24>>2];if(c>>>0>=12){while(1){c=e;e=d;rc(b,j+32|0,j+16|0,j);d=H[j+12>>2];H[a+136>>2]=H[j+8>>2];H[a+140>>2]=d;d=H[j+4>>2];H[a+128>>2]=H[j>>2];H[a+132>>2]=d;d=H[j+12>>2];H[j+40>>2]=H[j+8>>2];H[j+44>>2]=d;d=H[j+4>>2];H[j+32>>2]=H[j>>2];H[j+36>>2]=d;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}l=H[a+32>>2];qd:{if(l>>>0<=c>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break qd}h=H[a+36>>2]+(c<<5)|0}m=I[a+176|0];rd:{if(!m){break rd}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break rd}g=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break rd}H[h+20>>2]=0}M[j+40>>3]=M[j+40>>3]+M[h>>3];d=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=d;d=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=d;d=c|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}sd:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break sd}h=H[a+36>>2]+(d<<5)|0}td:{if(!m){break td}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break td}g=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break td}H[h+20>>2]=0}d=c|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}ud:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break ud}i=H[a+36>>2]+(d<<5)|0}vd:{if(!m){break vd}g=H[i+20>>2];if(!g|(g|0)!=H[a+168>>2]){break vd}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((g|0)!=1){p=g&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=g&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break vd}H[i+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[h>>3];M[j+24>>3]=M[j+24>>3]+M[i>>3];d=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=d;d=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=d;d=c|3;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}wd:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break wd}h=H[a+36>>2]+(d<<5)|0}xd:{if(!m){break xd}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break xd}g=H[h+24>>2];l=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){m=i&-2;k=0;while(1){n=d|1;f=+L[l+(n<<2)>>2]*M[g+(n<<3)>>3]+(+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}f=i&1?+L[l+(d<<2)>>2]*M[g+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break xd}H[h+20>>2]=0}M[j>>3]=M[j>>3]+M[h>>3];rc(b,j+32|0,j+16|0,j);d=H[j+12>>2];H[a+136>>2]=H[j+8>>2];H[a+140>>2]=d;d=H[j+4>>2];H[a+128>>2]=H[j>>2];H[a+132>>2]=d;d=H[j+12>>2];H[j+40>>2]=H[j+8>>2];H[j+44>>2]=d;d=H[j+4>>2];H[j+32>>2]=H[j>>2];H[j+36>>2]=d;d=c+4|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}l=H[a+32>>2];yd:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break yd}h=H[a+36>>2]+(d<<5)|0}g=I[a+176|0];zd:{if(!g){break zd}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break zd}m=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break zd}H[h+20>>2]=0}f=M[h>>3];d=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=d;M[j+32>>3]=f+M[j+32>>3];d=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=d;d=c+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ad:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Ad}h=H[a+36>>2]+(d<<5)|0}Bd:{if(!g){break Bd}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Bd}m=H[h+24>>2];n=H[a+172>>2];f=M[h>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;f=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}f=i&1?+L[n+(d<<2)>>2]*M[m+(d<<3)>>3]+f:f;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=f;if(H[h+16>>2]<0){break Bd}H[h+20>>2]=0}d=c+6|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Cd:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break Cd}i=H[a+36>>2]+(d<<5)|0}Dd:{if(!g){break Dd}m=H[i+20>>2];if(!m|(m|0)!=H[a+168>>2]){break Dd}n=H[i+24>>2];o=H[a+172>>2];f=M[i>>3];d=0;if((m|0)!=1){p=m&-2;k=0;while(1){r=d|1;f=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}f=m&1?+L[o+(d<<2)>>2]*M[n+(d<<3)>>3]+f:f;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=f;if(H[i+16>>2]<0){break Dd}H[i+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[h>>3];M[j+24>>3]=M[j+24>>3]+M[i>>3];d=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=d;d=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=d;c=c+7|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Ed:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ed}c=H[a+36>>2]+(c<<5)|0}Fd:{if(!g){break Fd}h=H[c+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Fd}i=H[c+24>>2];m=H[a+172>>2];f=M[c>>3];d=0;if((h|0)!=1){n=h&-2;k=0;while(1){o=d|1;f=+L[m+(o<<2)>>2]*M[i+(o<<3)>>3]+(+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+f);d=d+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}f=h&1?+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Fd}H[c+20>>2]=0}M[j+8>>3]=M[j+8>>3]+M[c>>3];d=e+8|0;c=H[a+24>>2];if(d>>>0<=c>>>0){continue}break}}if(c>>>0>e>>>0){Gd:{if(e>>>0>=l>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;d=259040;break Gd}d=H[a+36>>2]+(e<<5)|0}Hd:{if(!g){break Hd}e=H[d+20>>2];if(!e|(e|0)!=H[a+168>>2]){break Hd}g=e&1;h=H[d+24>>2];i=H[a+172>>2];f=M[d>>3];Id:{if((e|0)==1){e=0;break Id}k=e&-2;e=0;c=0;while(1){l=e|1;f=+L[i+(l<<2)>>2]*M[h+(l<<3)>>3]+(+L[i+(e<<2)>>2]*M[h+(e<<3)>>3]+f);e=e+2|0;c=c+2|0;if((k|0)!=(c|0)){continue}break}}f=g?+L[i+(e<<2)>>2]*M[h+(e<<3)>>3]+f:f;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=f;if(H[d+16>>2]<0){break Hd}H[d+20>>2]=0}M[j>>3]=M[j>>3]+M[d>>3]}rc(b,j+32|0,j+16|0,j);e=H[j+12>>2];H[a+136>>2]=H[j+8>>2];H[a+140>>2]=e;e=H[j+4>>2];H[a+128>>2]=H[j>>2];H[a+132>>2]=e}Wa=j+96|0;H[a+24>>2]=0;break m}h=Wa-96|0;Wa=h;Jd:{Kd:{Ld:{if(H[a+24>>2]==7){e=H[a+140>>2];H[h+88>>2]=H[a+136>>2];H[h+92>>2]=e;e=H[a+132>>2];H[h+80>>2]=H[a+128>>2];H[h+84>>2]=e;d=H[a+32>>2];Md:{if(!d){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Md}e=H[a+36>>2]}i=I[a+176|0];if(!i){break Kd}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Kd}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];if((c|0)==1){break Ld}c=c&-2;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}break Ld}F[a+40|0]=1;break Jd}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Kd}H[e+20>>2]=0}M[h+80>>3]=M[h+80>>3]+M[e>>3];e=H[h+92>>2];H[h+72>>2]=H[h+88>>2];H[h+76>>2]=e;e=H[h+84>>2];H[h+64>>2]=H[h+80>>2];H[h+68>>2]=e;if(K[a+24>>2]<=1){F[a+20|0]=1}Nd:{if(d>>>0<=1){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Nd}e=H[a+36>>2]+32|0}Od:{if(!i){break Od}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Od}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];Pd:{if((c|0)==1){l=0;break Pd}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Od}H[e+20>>2]=0}if(K[a+24>>2]<=2){F[a+20|0]=1}Qd:{if(d>>>0<=2){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Qd}c=H[a+36>>2]- -64|0}Rd:{if(!i){break Rd}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Rd}m=g&1;k=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];Sd:{if((g|0)==1){l=0;break Sd}n=g&-2;l=0;g=0;while(1){o=l|1;f=+L[j+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Rd}H[c+20>>2]=0}M[h+64>>3]=M[h+64>>3]+M[e>>3];M[h+72>>3]=M[h+72>>3]+M[c>>3];e=H[h+76>>2];H[h+56>>2]=H[h+72>>2];H[h+60>>2]=e;e=H[h+68>>2];H[h+48>>2]=H[h+64>>2];H[h+52>>2]=e;if(K[a+24>>2]<=3){F[a+20|0]=1}Td:{if(d>>>0<=3){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Td}e=H[a+36>>2]+96|0}Ud:{if(!i){break Ud}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Ud}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];Vd:{if((c|0)==1){l=0;break Vd}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Ud}H[e+20>>2]=0}M[h+48>>3]=M[h+48>>3]+M[e>>3];e=H[h+60>>2];H[h+40>>2]=H[h+56>>2];H[h+44>>2]=e;e=H[h+52>>2];H[h+32>>2]=H[h+48>>2];H[h+36>>2]=e;if(K[a+24>>2]<=4){F[a+20|0]=1}Wd:{if(d>>>0<=4){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Wd}e=H[a+36>>2]+128|0}Xd:{if(!i){break Xd}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Xd}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];Yd:{if((c|0)==1){l=0;break Yd}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Xd}H[e+20>>2]=0}M[h+32>>3]=M[h+32>>3]+M[e>>3];e=H[h+44>>2];H[h+24>>2]=H[h+40>>2];H[h+28>>2]=e;e=H[h+36>>2];H[h+16>>2]=H[h+32>>2];H[h+20>>2]=e;if(K[a+24>>2]<=5){F[a+20|0]=1}Zd:{if(d>>>0<=5){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Zd}e=H[a+36>>2]+160|0}_d:{if(!i){break _d}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break _d}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];$d:{if((c|0)==1){l=0;break $d}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break _d}H[e+20>>2]=0}f=M[e>>3];e=H[h+92>>2];c=H[h+88>>2];H[h+24>>2]=c;H[h+28>>2]=e;M[h+16>>3]=f+M[h+16>>3];H[h+8>>2]=c;H[h+12>>2]=e;e=H[h+20>>2];H[h>>2]=H[h+16>>2];H[h+4>>2]=e;if(K[a+24>>2]<=6){F[a+20|0]=1}ae:{if(d>>>0<=6){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ae}e=H[a+36>>2]+192|0}be:{if(!i){break be}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break be}k=c&1;i=H[e+24>>2];g=H[a+172>>2];f=M[e>>3];ce:{if((c|0)==1){l=0;break ce}c=c&-2;l=0;d=0;while(1){j=l|1;f=+L[g+(j<<2)>>2]*M[i+(j<<3)>>3]+(+L[g+(l<<2)>>2]*M[i+(l<<3)>>3]+f);l=l+2|0;d=d+2|0;if((c|0)!=(d|0)){continue}break}}f=k?+L[g+(l<<2)>>2]*M[i+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break be}H[e+20>>2]=0}M[h>>3]=M[h>>3]+M[e>>3];rc(b,h+80|0,h- -64|0,h+48|0);e=H[h+60>>2];H[a+136>>2]=H[h+56>>2];H[a+140>>2]=e;e=H[h+52>>2];H[a+128>>2]=H[h+48>>2];H[a+132>>2]=e;rc(b,h+32|0,h+16|0,h);e=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=e;e=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=e}Wa=h+96|0;H[a+24>>2]=0;break m}h=Wa-96|0;Wa=h;de:{ee:{fe:{if(H[a+24>>2]==13){e=H[a+140>>2];H[h+88>>2]=H[a+136>>2];H[h+92>>2]=e;e=H[a+132>>2];H[h+80>>2]=H[a+128>>2];H[h+84>>2]=e;d=H[a+32>>2];ge:{if(!d){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ge}e=H[a+36>>2]}i=I[a+176|0];if(!i){break ee}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break ee}m=c&1;l=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];if((c|0)==1){break fe}c=c&-2;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}break fe}F[a+40|0]=1;break de}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break ee}H[e+20>>2]=0}if(K[a+24>>2]<=1){F[a+20|0]=1}he:{if(d>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break he}c=H[a+36>>2]+32|0}ie:{if(!i){break ie}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break ie}m=g&1;l=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];je:{if((g|0)==1){k=0;break je}n=g&-2;k=0;g=0;while(1){o=k|1;f=+L[j+(o<<2)>>2]*M[l+(o<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ie}H[c+20>>2]=0}M[h+80>>3]=M[h+80>>3]+M[e>>3];M[h+88>>3]=M[h+88>>3]+M[c>>3];e=H[h+92>>2];H[h+72>>2]=H[h+88>>2];H[h+76>>2]=e;e=H[h+84>>2];H[h+64>>2]=H[h+80>>2];H[h+68>>2]=e;if(K[a+24>>2]<=2){F[a+20|0]=1}ke:{if(d>>>0<=2){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ke}e=H[a+36>>2]- -64|0}le:{if(!i){break le}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break le}m=c&1;l=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];me:{if((c|0)==1){k=0;break me}c=c&-2;k=0;g=0;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break le}H[e+20>>2]=0}if(K[a+24>>2]<=3){F[a+20|0]=1}ne:{if(d>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ne}c=H[a+36>>2]+96|0}oe:{if(!i){break oe}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break oe}m=g&1;l=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];pe:{if((g|0)==1){k=0;break pe}n=g&-2;k=0;g=0;while(1){o=k|1;f=+L[j+(o<<2)>>2]*M[l+(o<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break oe}H[c+20>>2]=0}M[h+64>>3]=M[h+64>>3]+M[e>>3];M[h+72>>3]=M[h+72>>3]+M[c>>3];e=H[h+76>>2];H[h+56>>2]=H[h+72>>2];H[h+60>>2]=e;e=H[h+68>>2];H[h+48>>2]=H[h+64>>2];H[h+52>>2]=e;if(K[a+24>>2]<=4){F[a+20|0]=1}qe:{if(d>>>0<=4){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break qe}e=H[a+36>>2]+128|0}re:{if(!i){break re}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break re}m=c&1;l=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];se:{if((c|0)==1){k=0;break se}c=c&-2;k=0;g=0;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break re}H[e+20>>2]=0}if(K[a+24>>2]<=5){F[a+20|0]=1}te:{if(d>>>0<=5){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break te}c=H[a+36>>2]+160|0}ue:{if(!i){break ue}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break ue}m=g&1;l=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];ve:{if((g|0)==1){k=0;break ve}n=g&-2;k=0;g=0;while(1){o=k|1;f=+L[j+(o<<2)>>2]*M[l+(o<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break ue}H[c+20>>2]=0}M[h+48>>3]=M[h+48>>3]+M[e>>3];M[h+56>>3]=M[h+56>>3]+M[c>>3];e=H[h+60>>2];H[h+40>>2]=H[h+56>>2];H[h+44>>2]=e;e=H[h+52>>2];H[h+32>>2]=H[h+48>>2];H[h+36>>2]=e;if(K[a+24>>2]<=6){F[a+20|0]=1}we:{if(d>>>0<=6){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break we}e=H[a+36>>2]+192|0}xe:{if(!i){break xe}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break xe}m=c&1;l=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];ye:{if((c|0)==1){k=0;break ye}c=c&-2;k=0;g=0;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break xe}H[e+20>>2]=0}if(K[a+24>>2]<=7){F[a+20|0]=1}ze:{if(d>>>0<=7){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ze}c=H[a+36>>2]+224|0}Ae:{if(!i){break Ae}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Ae}m=g&1;l=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];Be:{if((g|0)==1){k=0;break Be}n=g&-2;k=0;g=0;while(1){o=k|1;f=+L[j+(o<<2)>>2]*M[l+(o<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Ae}H[c+20>>2]=0}M[h+32>>3]=M[h+32>>3]+M[e>>3];M[h+40>>3]=M[h+40>>3]+M[c>>3];e=H[h+44>>2];H[h+24>>2]=H[h+40>>2];H[h+28>>2]=e;e=H[h+36>>2];H[h+16>>2]=H[h+32>>2];H[h+20>>2]=e;if(K[a+24>>2]<=8){F[a+20|0]=1}Ce:{if(d>>>0<=8){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ce}e=H[a+36>>2]+256|0}De:{if(!i){break De}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break De}m=c&1;l=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];Ee:{if((c|0)==1){k=0;break Ee}c=c&-2;k=0;g=0;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break De}H[e+20>>2]=0}if(K[a+24>>2]<=9){F[a+20|0]=1}Fe:{if(d>>>0<=9){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Fe}c=H[a+36>>2]+288|0}Ge:{if(!i){break Ge}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Ge}m=g&1;l=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];He:{if((g|0)==1){k=0;break He}n=g&-2;k=0;g=0;while(1){o=k|1;f=+L[j+(o<<2)>>2]*M[l+(o<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Ge}H[c+20>>2]=0}M[h+16>>3]=M[h+16>>3]+M[e>>3];M[h+24>>3]=M[h+24>>3]+M[c>>3];e=H[h+28>>2];H[h+8>>2]=H[h+24>>2];H[h+12>>2]=e;e=H[h+20>>2];H[h>>2]=H[h+16>>2];H[h+4>>2]=e;if(K[a+24>>2]<=10){F[a+20|0]=1}Ie:{if(d>>>0<=10){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ie}e=H[a+36>>2]+320|0}Je:{if(!i){break Je}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Je}m=c&1;l=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];Ke:{if((c|0)==1){k=0;break Ke}c=c&-2;k=0;g=0;while(1){n=k|1;f=+L[j+(n<<2)>>2]*M[l+(n<<3)>>3]+(+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f);k=k+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(k<<2)>>2]*M[l+(k<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Je}H[e+20>>2]=0}if(K[a+24>>2]<=11){F[a+20|0]=1}Le:{if(d>>>0<=11){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Le}c=H[a+36>>2]+352|0}Me:{if(!i){break Me}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Me}l=d&1;i=H[c+24>>2];g=H[a+172>>2];f=M[c>>3];Ne:{if((d|0)==1){k=0;break Ne}j=d&-2;k=0;d=0;while(1){m=k|1;f=+L[g+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[g+(k<<2)>>2]*M[i+(k<<3)>>3]+f);k=k+2|0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}f=l?+L[g+(k<<2)>>2]*M[i+(k<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Me}H[c+20>>2]=0}M[h>>3]=M[h>>3]+M[e>>3];M[h+8>>3]=M[h+8>>3]+M[c>>3];rc(b,h+80|0,h- -64|0,h+48|0);e=H[h+60>>2];H[a+136>>2]=H[h+56>>2];H[a+140>>2]=e;e=H[h+52>>2];H[a+128>>2]=H[h+48>>2];H[a+132>>2]=e;rc(b,h+32|0,h+16|0,h);e=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=e;e=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=e}Wa=h+96|0;H[a+24>>2]=0;break m}d=Wa-96|0;Wa=d;Oe:{Pe:{Qe:{if(H[a+24>>2]==9){e=H[a+140>>2];H[d+88>>2]=H[a+136>>2];H[d+92>>2]=e;e=H[a+132>>2];H[d+80>>2]=H[a+128>>2];H[d+84>>2]=e;h=H[a+32>>2];Re:{if(!h){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Re}e=H[a+36>>2]}i=I[a+176|0];if(!i){break Pe}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Pe}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];if((c|0)==1){break Qe}c=c&-2;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}break Qe}F[a+40|0]=1;break Oe}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break Pe}H[e+20>>2]=0}if(K[a+24>>2]<=1){F[a+20|0]=1}Se:{if(h>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Se}c=H[a+36>>2]+32|0}Te:{if(!i){break Te}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Te}m=g&1;k=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];Ue:{if((g|0)==1){l=0;break Ue}n=g&-2;l=0;g=0;while(1){o=l|1;f=+L[j+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Te}H[c+20>>2]=0}M[d+80>>3]=M[d+80>>3]+M[e>>3];M[d+88>>3]=M[d+88>>3]+M[c>>3];e=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=e;e=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=e;if(K[a+24>>2]<=2){F[a+20|0]=1}Ve:{if(h>>>0<=2){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ve}e=H[a+36>>2]- -64|0}We:{if(!i){break We}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break We}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];Xe:{if((c|0)==1){l=0;break Xe}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break We}H[e+20>>2]=0}if(K[a+24>>2]<=3){F[a+20|0]=1}Ye:{if(h>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ye}c=H[a+36>>2]+96|0}Ze:{if(!i){break Ze}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Ze}m=g&1;k=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];_e:{if((g|0)==1){l=0;break _e}n=g&-2;l=0;g=0;while(1){o=l|1;f=+L[j+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break Ze}H[c+20>>2]=0}M[d+64>>3]=M[d+64>>3]+M[e>>3];M[d+72>>3]=M[d+72>>3]+M[c>>3];e=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=e;e=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=e;if(K[a+24>>2]<=4){F[a+20|0]=1}$e:{if(h>>>0<=4){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break $e}e=H[a+36>>2]+128|0}af:{if(!i){break af}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break af}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];bf:{if((c|0)==1){l=0;break bf}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break af}H[e+20>>2]=0}M[d+48>>3]=M[d+48>>3]+M[e>>3];e=H[d+60>>2];H[d+40>>2]=H[d+56>>2];H[d+44>>2]=e;e=H[d+52>>2];H[d+32>>2]=H[d+48>>2];H[d+36>>2]=e;if(K[a+24>>2]<=5){F[a+20|0]=1}cf:{if(h>>>0<=5){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break cf}e=H[a+36>>2]+160|0}df:{if(!i){break df}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break df}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];ef:{if((c|0)==1){l=0;break ef}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break df}H[e+20>>2]=0}M[d+32>>3]=M[d+32>>3]+M[e>>3];e=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=e;e=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=e;if(K[a+24>>2]<=6){F[a+20|0]=1}ff:{if(h>>>0<=6){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ff}e=H[a+36>>2]+192|0}gf:{if(!i){break gf}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break gf}m=c&1;k=H[e+24>>2];j=H[a+172>>2];f=M[e>>3];hf:{if((c|0)==1){l=0;break hf}c=c&-2;l=0;g=0;while(1){n=l|1;f=+L[j+(n<<2)>>2]*M[k+(n<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break gf}H[e+20>>2]=0}if(K[a+24>>2]<=7){F[a+20|0]=1}jf:{if(h>>>0<=7){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break jf}c=H[a+36>>2]+224|0}kf:{if(!i){break kf}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break kf}m=g&1;k=H[c+24>>2];j=H[a+172>>2];f=M[c>>3];lf:{if((g|0)==1){l=0;break lf}n=g&-2;l=0;g=0;while(1){o=l|1;f=+L[j+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}f=m?+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break kf}H[c+20>>2]=0}M[d+16>>3]=M[d+16>>3]+M[e>>3];M[d+24>>3]=M[d+24>>3]+M[c>>3];e=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=e;e=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=e;if(K[a+24>>2]<=8){F[a+20|0]=1}mf:{if(h>>>0<=8){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break mf}e=H[a+36>>2]+256|0}nf:{if(!i){break nf}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break nf}k=c&1;h=H[e+24>>2];i=H[a+172>>2];f=M[e>>3];of:{if((c|0)==1){l=0;break of}c=c&-2;l=0;g=0;while(1){j=l|1;f=+L[i+(j<<2)>>2]*M[h+(j<<3)>>3]+(+L[i+(l<<2)>>2]*M[h+(l<<3)>>3]+f);l=l+2|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}f=k?+L[i+(l<<2)>>2]*M[h+(l<<3)>>3]+f:f;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=f;if(H[e+16>>2]<0){break nf}H[e+20>>2]=0}M[d>>3]=M[d>>3]+M[e>>3];e=H[a+140>>2];H[d+8>>2]=H[a+136>>2];H[d+12>>2]=e;rc(b,d+80|0,d- -64|0,d+48|0);e=H[d+60>>2];H[a+136>>2]=H[d+56>>2];H[a+140>>2]=e;e=H[d+52>>2];H[a+128>>2]=H[d+48>>2];H[a+132>>2]=e;rc(b,d+32|0,d+16|0,d);e=H[d+12>>2];H[a+136>>2]=H[d+8>>2];H[a+140>>2]=e;e=H[d+4>>2];H[a+128>>2]=H[d>>2];H[a+132>>2]=e}Wa=d+96|0;H[a+24>>2]=0;break m}h=Wa-96|0;Wa=h;g=11;pf:{qf:{if(H[a+24>>2]==11){c=H[a+36>>2];i=H[a+32>>2];j=I[a+176|0];while(1){if(g>>>0<=k>>>0){F[a+20|0]=1}rf:{if(i>>>0<=k>>>0){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break rf}e=c+(k<<5)|0}sf:{if(!j){break sf}d=H[e+20>>2];if(!d|(d|0)!=H[a+168>>2]){break sf}m=H[e+24>>2];n=H[a+172>>2];q=M[e>>3];g=0;if((d|0)!=1){o=d&-2;l=0;while(1){p=g|1;q=+L[n+(p<<2)>>2]*M[m+(p<<3)>>3]+(+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=d&1?+L[n+(g<<2)>>2]*M[m+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break sf}H[e+20>>2]=0}d=k|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}tf:{if(d>>>0>=i>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break tf}d=c+(d<<5)|0}uf:{if(!j){break uf}m=H[d+20>>2];if(!m|(m|0)!=H[a+168>>2]){break uf}n=H[d+24>>2];o=H[a+172>>2];q=M[d>>3];g=0;if((m|0)!=1){p=m&-2;l=0;while(1){r=g|1;q=+L[o+(r<<2)>>2]*M[n+(r<<3)>>3]+(+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((p|0)!=(l|0)){continue}break}}q=m&1?+L[o+(g<<2)>>2]*M[n+(g<<3)>>3]+q:q;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=q;if(H[d+16>>2]<0){break uf}H[d+20>>2]=0}u=u+M[d>>3];f=f+M[e>>3];if(k>>>0>7){break qf}k=k+2|0;g=H[a+24>>2];continue}}F[a+40|0]=1;break pf}e=H[a+140>>2];H[h+88>>2]=H[a+136>>2];H[h+92>>2]=e;e=H[a+132>>2];H[h+80>>2]=H[a+128>>2];H[h+84>>2]=e;if(!H[a+24>>2]){F[a+20|0]=1}e=c;if(!i){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040}vf:{if(!j){break vf}d=H[e+20>>2];if(!d|(d|0)!=H[a+168>>2]){break vf}n=d&1;k=H[e+24>>2];m=H[a+172>>2];q=M[e>>3];wf:{if((d|0)==1){g=0;break wf}d=d&-2;g=0;l=0;while(1){o=g|1;q=+L[m+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break vf}H[e+20>>2]=0}if(K[a+24>>2]<=1){F[a+20|0]=1}xf:{if(i>>>0<=1){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break xf}d=c+32|0}yf:{if(!j){break yf}g=H[d+20>>2];if(!g|(g|0)!=H[a+168>>2]){break yf}n=g&1;k=H[d+24>>2];m=H[a+172>>2];q=M[d>>3];zf:{if((g|0)==1){g=0;break zf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+L[m+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=q;if(H[d+16>>2]<0){break yf}H[d+20>>2]=0}M[h+80>>3]=M[h+80>>3]+M[e>>3];M[h+88>>3]=M[h+88>>3]+M[d>>3];e=H[h+92>>2];H[h+72>>2]=H[h+88>>2];H[h+76>>2]=e;e=H[h+84>>2];H[h+64>>2]=H[h+80>>2];H[h+68>>2]=e;if(K[a+24>>2]<=2){F[a+20|0]=1}Af:{if(i>>>0<=2){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Af}e=c- -64|0}Bf:{if(!j){break Bf}d=H[e+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Bf}n=d&1;k=H[e+24>>2];m=H[a+172>>2];q=M[e>>3];Cf:{if((d|0)==1){g=0;break Cf}d=d&-2;g=0;l=0;while(1){o=g|1;q=+L[m+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break Bf}H[e+20>>2]=0}if(K[a+24>>2]<=3){F[a+20|0]=1}Df:{if(i>>>0<=3){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Df}d=c+96|0}Ef:{if(!j){break Ef}g=H[d+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Ef}n=g&1;k=H[d+24>>2];m=H[a+172>>2];q=M[d>>3];Ff:{if((g|0)==1){g=0;break Ff}o=g&-2;g=0;l=0;while(1){p=g|1;q=+L[m+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=q;if(H[d+16>>2]<0){break Ef}H[d+20>>2]=0}M[h+64>>3]=M[h+64>>3]+M[e>>3];M[h+72>>3]=M[h+72>>3]+M[d>>3];e=H[h+76>>2];H[h+56>>2]=H[h+72>>2];H[h+60>>2]=e;e=H[h+68>>2];H[h+48>>2]=H[h+64>>2];H[h+52>>2]=e;if(K[a+24>>2]<=4){F[a+20|0]=1}Gf:{if(i>>>0<=4){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Gf}e=c+128|0}Hf:{if(!j){break Hf}d=H[e+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Hf}n=d&1;k=H[e+24>>2];m=H[a+172>>2];q=M[e>>3];If:{if((d|0)==1){g=0;break If}d=d&-2;g=0;l=0;while(1){o=g|1;q=+L[m+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break Hf}H[e+20>>2]=0}if(K[a+24>>2]<=5){F[a+20|0]=1}Jf:{if(i>>>0<=5){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Jf}d=c+160|0}Kf:{if(!j){break Kf}g=H[d+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Kf}n=g&1;k=H[d+24>>2];m=H[a+172>>2];q=M[d>>3];Lf:{if((g|0)==1){g=0;break Lf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+L[m+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=q;if(H[d+16>>2]<0){break Kf}H[d+20>>2]=0}M[h+48>>3]=M[h+48>>3]+M[e>>3];M[h+56>>3]=M[h+56>>3]+M[d>>3];e=H[h+60>>2];H[h+40>>2]=H[h+56>>2];H[h+44>>2]=e;e=H[h+52>>2];H[h+32>>2]=H[h+48>>2];H[h+36>>2]=e;if(K[a+24>>2]<=6){F[a+20|0]=1}Mf:{if(i>>>0<=6){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Mf}e=c+192|0}Nf:{if(!j){break Nf}d=H[e+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Nf}n=d&1;k=H[e+24>>2];m=H[a+172>>2];q=M[e>>3];Of:{if((d|0)==1){g=0;break Of}d=d&-2;g=0;l=0;while(1){o=g|1;q=+L[m+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break Nf}H[e+20>>2]=0}if(K[a+24>>2]<=7){F[a+20|0]=1}Pf:{if(i>>>0<=7){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Pf}d=c+224|0}Qf:{if(!j){break Qf}g=H[d+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Qf}n=g&1;k=H[d+24>>2];m=H[a+172>>2];q=M[d>>3];Rf:{if((g|0)==1){g=0;break Rf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+L[m+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=q;if(H[d+16>>2]<0){break Qf}H[d+20>>2]=0}M[h+32>>3]=M[h+32>>3]+M[e>>3];M[h+40>>3]=M[h+40>>3]+M[d>>3];e=H[h+44>>2];H[h+24>>2]=H[h+40>>2];H[h+28>>2]=e;e=H[h+36>>2];H[h+16>>2]=H[h+32>>2];H[h+20>>2]=e;if(K[a+24>>2]<=8){F[a+20|0]=1}Sf:{if(i>>>0<=8){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Sf}e=c+256|0}Tf:{if(!j){break Tf}d=H[e+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Tf}n=d&1;k=H[e+24>>2];m=H[a+172>>2];q=M[e>>3];Uf:{if((d|0)==1){g=0;break Uf}d=d&-2;g=0;l=0;while(1){o=g|1;q=+L[m+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((d|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break Tf}H[e+20>>2]=0}if(K[a+24>>2]<=9){F[a+20|0]=1}Vf:{if(i>>>0<=9){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Vf}d=c+288|0}Wf:{if(!j){break Wf}g=H[d+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Wf}n=g&1;k=H[d+24>>2];m=H[a+172>>2];q=M[d>>3];Xf:{if((g|0)==1){g=0;break Xf}o=g&-2;g=0;l=0;while(1){p=g|1;q=+L[m+(p<<2)>>2]*M[k+(p<<3)>>3]+(+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((o|0)!=(l|0)){continue}break}}q=n?+L[m+(g<<2)>>2]*M[k+(g<<3)>>3]+q:q;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=q;if(H[d+16>>2]<0){break Wf}H[d+20>>2]=0}M[h+16>>3]=M[h+16>>3]+M[e>>3];M[h+24>>3]=M[h+24>>3]+M[d>>3];e=H[h+28>>2];H[h+8>>2]=H[h+24>>2];H[h+12>>2]=e;e=H[h+20>>2];H[h>>2]=H[h+16>>2];H[h+4>>2]=e;Yf:{Zf:{_f:{if(P(f)>P(u)){if(K[a+24>>2]<=10){F[a+20|0]=1}$f:{if(i>>>0<=10){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break $f}e=c+320|0}if(!j){break Zf}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Zf}k=c&1;d=H[e+24>>2];i=H[a+172>>2];q=M[e>>3];if((c|0)==1){g=0;break _f}c=c&-2;g=0;l=0;while(1){j=g|1;q=+L[i+(j<<2)>>2]*M[d+(j<<3)>>3]+(+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}break _f}e=H[a+132>>2];H[h>>2]=H[a+128>>2];H[h+4>>2]=e;if(K[a+24>>2]<=10){F[a+20|0]=1}ag:{if(i>>>0<=10){e=H[40915];H[64766]=H[40914];H[64767]=e;e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break ag}e=c+320|0}bg:{if(!j){break bg}c=H[e+20>>2];if(!c|(c|0)!=H[a+168>>2]){break bg}k=c&1;d=H[e+24>>2];i=H[a+172>>2];q=M[e>>3];cg:{if((c|0)==1){g=0;break cg}c=c&-2;g=0;l=0;while(1){j=g|1;q=+L[i+(j<<2)>>2]*M[d+(j<<3)>>3]+(+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+q);g=g+2|0;l=l+2|0;if((c|0)!=(l|0)){continue}break}}q=k?+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break bg}H[e+20>>2]=0}M[h+8>>3]=M[h+8>>3]+M[e>>3];break Yf}q=k?+L[i+(g<<2)>>2]*M[d+(g<<3)>>3]+q:q;H[e+8>>2]=0;H[e+12>>2]=0;M[e>>3]=q;if(H[e+16>>2]<0){break Zf}H[e+20>>2]=0}M[h>>3]=M[h>>3]+M[e>>3];e=H[a+140>>2];H[h+8>>2]=H[a+136>>2];H[h+12>>2]=e}rc(b,h+80|0,h- -64|0,h+48|0);e=H[h+60>>2];H[a+136>>2]=H[h+56>>2];H[a+140>>2]=e;e=H[h+52>>2];H[a+128>>2]=H[h+48>>2];H[a+132>>2]=e;rc(b,h+32|0,h+16|0,h);e=H[h+12>>2];H[a+136>>2]=H[h+8>>2];H[a+140>>2]=e;e=H[h+4>>2];H[a+128>>2]=H[h>>2];H[a+132>>2]=e}Wa=h+96|0;H[a+24>>2]=0;break m}lt(c,a);break m}f=i?+L[h+(e<<2)>>2]*M[d+(e<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break q}H[c+20>>2]=0}M[s+8>>3]=M[s+8>>3]+M[c>>3];lk(b,s);e=H[s+12>>2];H[a+136>>2]=H[s+8>>2];H[a+140>>2]=e;e=H[s+4>>2];H[a+128>>2]=H[s>>2];H[a+132>>2]=e;if(!I[a+73|0]){if(!I[a+74|0]){F[a+74|0]=1;e=H[a+80>>2]+(H[a+24>>2]>>>1|0)|0;H[a+80>>2]=e;H[a+84>>2]=(e+H[a+76>>2]|0)+7>>>3}F[a+73|0]=1}H[a+24>>2]=0;break m}f=i?+L[h+(e<<2)>>2]*M[d+(e<<3)>>3]+f:f;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=f;if(H[c+16>>2]<0){break o}H[c+20>>2]=0}M[s>>3]=M[s>>3]+M[c>>3];lk(b,s);e=H[s+12>>2];H[a+136>>2]=H[s+8>>2];H[a+140>>2]=e;e=H[s+4>>2];H[a+128>>2]=H[s>>2];H[a+132>>2]=e;if(!I[a+73|0]){if(!I[a+74|0]){F[a+74|0]=1;e=H[a+80>>2]+(H[a+24>>2]>>>1|0)|0;H[a+80>>2]=e;H[a+84>>2]=(e+H[a+76>>2]|0)+7>>>3}F[a+73|0]=1}H[a+24>>2]=0;break m}F[a+16|0]=1;H[a+12>>2]=e}Wa=s+16|0}e=0;dg:{if(I[a+88|0]|H[a+96>>2]<0|(I[a+20|0]|(I[a+40|0]|I[a+16|0]))){break dg}if(H[a+28>>2]<0){break dg}e=1;if(!I[a+72|0]){continue}}break}return e|0}function zM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;F[a+72|0]=0;v=I[163632];w=v|256;c=!I[a+16|0];while(1){a:{b:{if(!(c&1)){break b}c=H[a+12>>2];d=c+1|0;h=H[a+4>>2];if(d>>>0>h>>>0){break b}c:{if(c>>>0>>0){g=H[a>>2];f=I[g+c|0];if((f|0)==12){c=w;if(d>>>0>=h>>>0){break c}f=I[d+g|0]|256;c=d}if(c>>>0>=h>>>0){c=f;break c}H[a+12>>2]=c+1;break a}F[a+16|0]=1;f=65535;c=v;if((c|0)==12){break a}}F[a+16|0]=1;H[a+12>>2]=h;f=c;break a}f=H[a+92>>2]?11:14}d:{e:{f:{switch(f-10|0){case 0:case 19:c=H[a+24>>2]-1|0;g:{if(c>>>0>=K[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break g}c=H[a+36>>2]+(c<<5)|0}if(!H[c+20>>2]){break e}F[a+40|0]=1;break d;case 6:mt(a);break d;case 5:break f;default:break e}}d=H[a+32>>2];c=H[a+24>>2]-1|0;h:{if(d>>>0<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break h}c=H[a+36>>2]+(c<<5)|0}if(H[c+20>>2]){F[a+40|0]=1;break d}c=H[a+24>>2];i:{j:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=d>>>0){break j}c=H[a+36>>2]+(c<<5)|0;break i}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040}e=M[c>>3];k:{if(P(e)<2147483648){c=~~e;break k}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}l:{if(I[a+177|0]|I[a+178|0]){F[a+40|0]=1;break l}H[a+160>>2]=c}H[a+24>>2]=0;F[a+177|0]=1;break d}d=0;k=0;h=0;i=0;j=0;q=0;s=0;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{switch(f-1|0){default:switch(f-255|0){case 38:break v;case 37:break w;case 36:break x;case 35:break y;case 0:break R;default:break u};case 10:if(I[a+16|0]){F[a+40|0]=1}c=H[a+92>>2];T:{U:{if(c){c=c-1|0;H[a+92>>2]=c;if(c>>>0>=K[a+100>>2]){break U}c=H[a+104>>2]+N(c,28)|0;break T}F[a+88|0]=1}H[64766]=H[40914];c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040}d=H[c+4>>2];H[a+44>>2]=H[c>>2];H[a+48>>2]=d;H[a+68>>2]=H[c+24>>2];d=H[c+20>>2];H[a+60>>2]=H[c+16>>2];H[a+64>>2]=d;d=H[c+12>>2];H[a+52>>2]=H[c+8>>2];H[a+56>>2]=d;d=H[c+8>>2];f=H[c+12>>2];h=H[c>>2];g=H[c+4>>2];F[a+16|0]=I[c+16|0];H[a+8>>2]=d;H[a+12>>2]=f;H[a>>2]=h;H[a+4>>2]=g;break m;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break u;case 30:break z;case 29:break A;case 26:break B;case 25:break C;case 24:break D;case 23:break E;case 7:break F;case 6:break G;case 5:break H;case 4:break I;case 3:break J;case 21:break K;case 20:break L;case 18:case 19:break M;case 2:case 22:break N;case 0:case 17:break O;case 28:break P;case 9:break Q;case 13:break S}}F[a+72|0]=1;break o}if(I[a+16|0]){break m}d=H[a+4>>2];c=H[a+12>>2];if(d>>>0>>0){break m}V:{if(c>>>0>=d>>>0){F[a+16|0]=1;c=163632;break V}c=c+H[a>>2]|0}d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);f=d>>>8&65280|d>>>24;c=H[a+24>>2];W:{if(c>>>0>2]){H[a+24>>2]=c+1;c=H[a+36>>2]+(c<<5)|0;break W}F[a+20|0]=1;c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040}H[c+8>>2]=0;H[c+12>>2]=0;if(H[c+16>>2]>=0){H[c+20>>2]=0}M[c>>3]=+(f|(d<<8&16711680|d<<24))*152587890625e-16;if(I[a+16|0]){c=H[a+4>>2];break n}c=H[a+4>>2];d=H[a+12>>2];if(c>>>0>>0){break n}d=d+4|0;if(d>>>0>c>>>0){break n}H[a+12>>2]=d;break m}Ih(a,a+116|0,2);break m}Ih(a,a+108|0,1);break m}c=H[a+24>>2];H[a+24>>2]=0;H[a+76>>2]=H[a+76>>2]+(c>>>1|0);break m}c=H[a+24>>2];H[a+24>>2]=0;H[a+80>>2]=H[a+80>>2]+(c>>>1|0);break m}X:{if(I[a+74|0]){c=H[a+84>>2];break X}F[a+74|0]=1;c=H[a+80>>2]+(H[a+24>>2]>>>1|0)|0;H[a+80>>2]=c;c=(c+H[a+76>>2]|0)+7>>>3|0;H[a+84>>2]=c}if(I[a+16|0]){break m}f=H[a+12>>2];d=f+c|0;c=H[a+4>>2];if(d>>>0>c>>>0){break m}H[a+24>>2]=0;if(c>>>0>=f>>>0){H[a+12>>2]=d;break m}break n}c=H[a+24>>2];Y:{Z:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){break Z}d=H[a+36>>2]+(c<<5)|0;break Y}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040}q=M[a+136>>3];s=M[a+128>>3];g=I[a+176|0];_:{if(!g){break _}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break _}k=c&1;f=H[d+24>>2];h=H[a+172>>2];e=M[d>>3];$:{if((c|0)==1){c=0;break $}j=c&-2;c=0;while(1){n=c|1;e=+L[h+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[h+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}e=k?+L[h+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break _}H[d+20>>2]=0}c=H[a+24>>2];aa:{ba:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){break ba}f=H[a+36>>2]+(c<<5)|0;break aa}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040}ca:{if(!g){break ca}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break ca}k=c&1;h=H[f+24>>2];g=H[a+172>>2];e=M[f>>3];da:{if((c|0)==1){c=0;break da}j=c&-2;c=0;i=0;while(1){n=c|1;e=+L[g+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[g+(c<<2)>>2]*M[h+(c<<3)>>3]+e);c=c+2|0;i=i+2|0;if((j|0)!=(i|0)){continue}break}}e=k?+L[g+(c<<2)>>2]*M[h+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break ca}H[f+20>>2]=0}e=M[f>>3];u=M[d>>3];F[b|0]=0;M[a+136>>3]=q+u;M[a+128>>3]=s+e;break p}c=H[a+24>>2];ea:{fa:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){break fa}d=H[a+36>>2]+(c<<5)|0;break ea}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040}q=M[a+136>>3];s=M[a+128>>3];if(!I[a+176|0]){break q}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break q}g=c&1;f=H[d+24>>2];h=H[a+172>>2];e=M[d>>3];if((c|0)==1){c=0;break r}i=c&-2;c=0;while(1){j=c|1;e=+L[h+(j<<2)>>2]*M[f+(j<<3)>>3]+(+L[h+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}break r}c=H[a+24>>2];ga:{ha:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){break ha}d=H[a+36>>2]+(c<<5)|0;break ga}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040}q=M[a+136>>3];s=M[a+128>>3];if(!I[a+176|0]){break s}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break s}g=c&1;f=H[d+24>>2];h=H[a+172>>2];e=M[d>>3];if((c|0)==1){c=0;break t}i=c&-2;c=0;while(1){j=c|1;e=+L[h+(j<<2)>>2]*M[f+(j<<3)>>3]+(+L[h+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}break t}c=0;h=H[a+24>>2];if(h>>>0>=2){n=H[a+36>>2];l=H[a+32>>2];m=I[a+176|0];d=2;while(1){if(c>>>0>=h>>>0){F[a+20|0]=1}ia:{if(c>>>0>=l>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break ia}f=n+(c<<5)|0}q=M[a+136>>3];s=M[a+128>>3];ja:{if(!m){break ja}g=H[f+20>>2];if(!g|(g|0)!=H[a+168>>2]){break ja}i=H[f+24>>2];j=H[a+172>>2];e=M[f>>3];h=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=h|1;e=+L[j+(p<<2)>>2]*M[i+(p<<3)>>3]+(+L[j+(h<<2)>>2]*M[i+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[j+(h<<2)>>2]*M[i+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break ja}H[f+20>>2]=0}c=c|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}ka:{if(c>>>0>=l>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ka}c=n+(c<<5)|0}la:{if(!m){break la}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break la}i=H[c+24>>2];j=H[a+172>>2];e=M[c>>3];h=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=h|1;e=+L[j+(p<<2)>>2]*M[i+(p<<3)>>3]+(+L[j+(h<<2)>>2]*M[i+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[j+(h<<2)>>2]*M[i+(h<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break la}H[c+20>>2]=0}u=q+M[c>>3];e=s+M[f>>3];ma:{if(I[b|0]){break ma}F[b|0]=1;q=M[a+128>>3];if(q>3]){M[b+8>>3]=q;q=M[a+128>>3]}if(M[b+24>>3]>3]=q}q=M[a+136>>3];if(q>3]){M[b+16>>3]=q;q=M[a+136>>3]}if(!(M[b+32>>3]>3]=q}M[a+136>>3]=u;M[a+128>>3]=e;if(M[b+8>>3]>e){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(M[b+32>>3]>3]=e}c=d;d=c+2|0;h=H[a+24>>2];if(d>>>0<=h>>>0){continue}break}}break o}c=0;i=H[a+24>>2];if(i>>>0>=2){n=H[a+36>>2];l=H[a+32>>2];m=I[a+176|0];h=2;while(1){c=h;if(d>>>0>=i>>>0){F[a+20|0]=1}na:{if(d>>>0>=l>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break na}f=n+(d<<5)|0}s=M[a+136>>3];q=M[a+128>>3];oa:{if(!m){break oa}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break oa}g=H[f+24>>2];j=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;k=0;while(1){p=i|1;e=+L[j+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=h&1?+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break oa}H[f+20>>2]=0}q=q+M[f>>3];pa:{if(I[b|0]){break pa}F[b|0]=1;e=M[a+128>>3];if(e>3]){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(!(M[b+32>>3]>3]=e}M[a+136>>3]=s;M[a+128>>3]=q;e=q;if(e>3]){M[b+8>>3]=q;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(M[b+32>>3]>3]=e}d=d|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}qa:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break qa}d=n+(d<<5)|0}ra:{if(!m){break ra}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break ra}h=H[d+24>>2];g=H[a+172>>2];e=M[d>>3];i=0;if((f|0)!=1){j=f&-2;k=0;while(1){o=i|1;e=+L[g+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}e=f&1?+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break ra}H[d+20>>2]=0}e=s+M[d>>3];sa:{if(I[b|0]){break sa}F[b|0]=1;s=M[a+128>>3];if(s>3]){M[b+8>>3]=s;s=M[a+128>>3]}if(M[b+24>>3]>3]=s}s=M[a+136>>3];if(s>3]){M[b+16>>3]=s;s=M[a+136>>3]}if(!(M[b+32>>3]>3]=s}M[a+136>>3]=e;M[a+128>>3]=q;if(M[b+8>>3]>q){M[b+8>>3]=q;q=M[a+128>>3]}if(M[b+24>>3]>3]=q}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(M[b+32>>3]>3]=e}i=H[a+24>>2];d=c;h=c+2|0;if(i>>>0>=h>>>0){continue}break}}ta:{if(c>>>0>=i>>>0){break ta}ua:{if(K[a+32>>2]<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ua}c=H[a+36>>2]+(c<<5)|0}q=M[a+136>>3];s=M[a+128>>3];va:{if(!I[a+176|0]){break va}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break va}g=d&1;f=H[c+24>>2];h=H[a+172>>2];e=M[c>>3];wa:{if((d|0)==1){i=0;break wa}d=d&-2;i=0;k=0;while(1){j=i|1;e=+L[h+(j<<2)>>2]*M[f+(j<<3)>>3]+(+L[h+(i<<2)>>2]*M[f+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=g?+L[h+(i<<2)>>2]*M[f+(i<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break va}H[c+20>>2]=0}e=s+M[c>>3];xa:{if(I[b|0]){break xa}F[b|0]=1;s=M[a+128>>3];if(s>3]){M[b+8>>3]=s;s=M[a+128>>3]}if(M[b+24>>3]>3]=s}s=M[a+136>>3];if(s>3]){M[b+16>>3]=s;s=M[a+136>>3]}if(!(M[b+32>>3]>3]=s}M[a+136>>3]=q;M[a+128>>3]=e;if(M[b+8>>3]>e){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(!(M[b+32>>3]>3]=e}break o}c=0;i=H[a+24>>2];if(i>>>0>=2){n=H[a+36>>2];l=H[a+32>>2];m=I[a+176|0];h=2;while(1){c=h;if(d>>>0>=i>>>0){F[a+20|0]=1}ya:{if(d>>>0>=l>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break ya}f=n+(d<<5)|0}s=M[a+136>>3];q=M[a+128>>3];za:{if(!m){break za}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break za}g=H[f+24>>2];j=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;k=0;while(1){p=i|1;e=+L[j+(p<<2)>>2]*M[g+(p<<3)>>3]+(+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=h&1?+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break za}H[f+20>>2]=0}s=s+M[f>>3];Aa:{if(I[b|0]){break Aa}F[b|0]=1;e=M[a+128>>3];if(e>3]){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(!(M[b+32>>3]>3]=e}M[a+136>>3]=s;M[a+128>>3]=q;e=q;if(e>3]){M[b+8>>3]=q;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(M[b+32>>3]>3]=e}d=d|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ba:{if(d>>>0>=l>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Ba}d=n+(d<<5)|0}Ca:{if(!m){break Ca}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Ca}h=H[d+24>>2];g=H[a+172>>2];e=M[d>>3];i=0;if((f|0)!=1){j=f&-2;k=0;while(1){o=i|1;e=+L[g+(o<<2)>>2]*M[h+(o<<3)>>3]+(+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((j|0)!=(k|0)){continue}break}}e=f&1?+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Ca}H[d+20>>2]=0}e=q+M[d>>3];Da:{if(I[b|0]){break Da}F[b|0]=1;q=M[a+128>>3];if(q>3]){M[b+8>>3]=q;q=M[a+128>>3]}if(M[b+24>>3]>3]=q}q=M[a+136>>3];if(q>3]){M[b+16>>3]=q;q=M[a+136>>3]}if(!(M[b+32>>3]>3]=q}M[a+136>>3]=s;M[a+128>>3]=e;if(M[b+8>>3]>e){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(M[b+32>>3]>3]=e}i=H[a+24>>2];d=c;h=c+2|0;if(i>>>0>=h>>>0){continue}break}}Ea:{if(c>>>0>=i>>>0){break Ea}Fa:{if(K[a+32>>2]<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Fa}c=H[a+36>>2]+(c<<5)|0}s=M[a+136>>3];q=M[a+128>>3];Ga:{if(!I[a+176|0]){break Ga}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Ga}g=d&1;f=H[c+24>>2];h=H[a+172>>2];e=M[c>>3];Ha:{if((d|0)==1){i=0;break Ha}d=d&-2;i=0;k=0;while(1){j=i|1;e=+L[h+(j<<2)>>2]*M[f+(j<<3)>>3]+(+L[h+(i<<2)>>2]*M[f+(i<<3)>>3]+e);i=i+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=g?+L[h+(i<<2)>>2]*M[f+(i<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Ga}H[c+20>>2]=0}s=s+M[c>>3];Ia:{if(I[b|0]){break Ia}F[b|0]=1;e=M[a+128>>3];if(e>3]){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(!(M[b+32>>3]>3]=e}M[a+136>>3]=s;M[a+128>>3]=q;if(M[b+8>>3]>q){M[b+8>>3]=q;q=M[a+128>>3]}if(M[b+24>>3]>3]=q}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(!(M[b+32>>3]>3]=e}break o}c=0;k=Wa-48|0;Wa=k;i=H[a+24>>2];if(i>>>0>=6){d=6;while(1){g=c;c=d;d=H[a+140>>2];H[k+40>>2]=H[a+136>>2];H[k+44>>2]=d;d=H[a+132>>2];H[k+32>>2]=H[a+128>>2];H[k+36>>2]=d;if(g>>>0>=i>>>0){F[a+20|0]=1}j=H[a+32>>2];Ja:{if(j>>>0<=g>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Ja}f=H[a+36>>2]+(g<<5)|0}n=I[a+176|0];Ka:{if(!n){break Ka}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Ka}l=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Ka}H[f+20>>2]=0}d=g|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}La:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break La}h=H[a+36>>2]+(d<<5)|0}Ma:{if(!n){break Ma}l=H[h+20>>2];if(!l|(l|0)!=H[a+168>>2]){break Ma}m=H[h+24>>2];o=H[a+172>>2];e=M[h>>3];i=0;if((l|0)!=1){p=l&-2;d=0;while(1){r=i|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=l&1?+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Ma}H[h+20>>2]=0}M[k+32>>3]=M[k+32>>3]+M[f>>3];M[k+40>>3]=M[k+40>>3]+M[h>>3];d=H[k+44>>2];H[k+24>>2]=H[k+40>>2];H[k+28>>2]=d;d=H[k+36>>2];H[k+16>>2]=H[k+32>>2];H[k+20>>2]=d;d=g+2|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Na:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Na}f=H[a+36>>2]+(d<<5)|0}Oa:{if(!n){break Oa}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Oa}l=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Oa}H[f+20>>2]=0}d=g+3|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Pa:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Pa}h=H[a+36>>2]+(d<<5)|0}Qa:{if(!n){break Qa}l=H[h+20>>2];if(!l|(l|0)!=H[a+168>>2]){break Qa}m=H[h+24>>2];o=H[a+172>>2];e=M[h>>3];i=0;if((l|0)!=1){p=l&-2;d=0;while(1){r=i|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=l&1?+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Qa}H[h+20>>2]=0}M[k+16>>3]=M[k+16>>3]+M[f>>3];M[k+24>>3]=M[k+24>>3]+M[h>>3];d=H[k+28>>2];H[k+8>>2]=H[k+24>>2];H[k+12>>2]=d;d=H[k+20>>2];H[k>>2]=H[k+16>>2];H[k+4>>2]=d;d=g+4|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ra:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Ra}f=H[a+36>>2]+(d<<5)|0}Sa:{if(!n){break Sa}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Sa}l=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Sa}H[f+20>>2]=0}d=g+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ta:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Ta}h=H[a+36>>2]+(d<<5)|0}Ua:{if(!n){break Ua}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Ua}j=H[h+24>>2];n=H[a+172>>2];e=M[h>>3];i=0;if((g|0)!=1){l=g&-2;d=0;while(1){m=i|1;e=+L[n+(m<<2)>>2]*M[j+(m<<3)>>3]+(+L[n+(i<<2)>>2]*M[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((l|0)!=(d|0)){continue}break}}e=g&1?+L[n+(i<<2)>>2]*M[j+(i<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Ua}H[h+20>>2]=0}M[k>>3]=M[k>>3]+M[f>>3];M[k+8>>3]=M[k+8>>3]+M[h>>3];Ob(a,b,k+32|0,k+16|0,k);d=c+6|0;i=H[a+24>>2];if(d>>>0<=i>>>0){continue}break}}Wa=k+48|0;break o}c=0;k=Wa-48|0;Wa=k;i=H[a+24>>2];Va:{if(i>>>0<8){break Va}p=i-2|0;h=6;while(1){g=c;c=h;d=H[a+140>>2];H[k+40>>2]=H[a+136>>2];H[k+44>>2]=d;d=H[a+132>>2];H[k+32>>2]=H[a+128>>2];H[k+36>>2]=d;if(g>>>0>=i>>>0){F[a+20|0]=1}j=H[a+32>>2];Wa:{if(j>>>0<=g>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Wa}d=H[a+36>>2]+(g<<5)|0}n=I[a+176|0];Xa:{if(!n){break Xa}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Xa}l=H[d+24>>2];m=H[a+172>>2];e=M[d>>3];i=0;if((f|0)!=1){o=f&-2;h=0;while(1){r=i|1;e=+L[m+(r<<2)>>2]*M[l+(r<<3)>>3]+(+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}e=f&1?+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Xa}H[d+20>>2]=0}f=g|1;if(f>>>0>=K[a+24>>2]){F[a+20|0]=1}Ya:{if(f>>>0>=j>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break Ya}f=H[a+36>>2]+(f<<5)|0}Za:{if(!n){break Za}l=H[f+20>>2];if(!l|(l|0)!=H[a+168>>2]){break Za}m=H[f+24>>2];o=H[a+172>>2];e=M[f>>3];i=0;if((l|0)!=1){r=l&-2;h=0;while(1){t=i|1;e=+L[o+(t<<2)>>2]*M[m+(t<<3)>>3]+(+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}e=l&1?+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Za}H[f+20>>2]=0}M[k+32>>3]=M[k+32>>3]+M[d>>3];M[k+40>>3]=M[k+40>>3]+M[f>>3];d=H[k+44>>2];H[k+24>>2]=H[k+40>>2];H[k+28>>2]=d;d=H[k+36>>2];H[k+16>>2]=H[k+32>>2];H[k+20>>2]=d;d=g+2|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}_a:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break _a}d=H[a+36>>2]+(d<<5)|0}$a:{if(!n){break $a}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break $a}l=H[d+24>>2];m=H[a+172>>2];e=M[d>>3];i=0;if((f|0)!=1){o=f&-2;h=0;while(1){r=i|1;e=+L[m+(r<<2)>>2]*M[l+(r<<3)>>3]+(+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}e=f&1?+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break $a}H[d+20>>2]=0}f=g+3|0;if(f>>>0>=K[a+24>>2]){F[a+20|0]=1}ab:{if(f>>>0>=j>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break ab}f=H[a+36>>2]+(f<<5)|0}bb:{if(!n){break bb}l=H[f+20>>2];if(!l|(l|0)!=H[a+168>>2]){break bb}m=H[f+24>>2];o=H[a+172>>2];e=M[f>>3];i=0;if((l|0)!=1){r=l&-2;h=0;while(1){t=i|1;e=+L[o+(t<<2)>>2]*M[m+(t<<3)>>3]+(+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((r|0)!=(h|0)){continue}break}}e=l&1?+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break bb}H[f+20>>2]=0}M[k+16>>3]=M[k+16>>3]+M[d>>3];M[k+24>>3]=M[k+24>>3]+M[f>>3];d=H[k+28>>2];H[k+8>>2]=H[k+24>>2];H[k+12>>2]=d;d=H[k+20>>2];H[k>>2]=H[k+16>>2];H[k+4>>2]=d;d=g+4|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}cb:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break cb}d=H[a+36>>2]+(d<<5)|0}db:{if(!n){break db}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break db}l=H[d+24>>2];m=H[a+172>>2];e=M[d>>3];i=0;if((f|0)!=1){o=f&-2;h=0;while(1){r=i|1;e=+L[m+(r<<2)>>2]*M[l+(r<<3)>>3]+(+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}e=f&1?+L[m+(i<<2)>>2]*M[l+(i<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break db}H[d+20>>2]=0}f=g+5|0;if(f>>>0>=K[a+24>>2]){F[a+20|0]=1}eb:{if(f>>>0>=j>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break eb}f=H[a+36>>2]+(f<<5)|0}fb:{if(!n){break fb}g=H[f+20>>2];if(!g|(g|0)!=H[a+168>>2]){break fb}j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];i=0;if((g|0)!=1){l=g&-2;h=0;while(1){m=i|1;e=+L[n+(m<<2)>>2]*M[j+(m<<3)>>3]+(+L[n+(i<<2)>>2]*M[j+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=g&1?+L[n+(i<<2)>>2]*M[j+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break fb}H[f+20>>2]=0}M[k>>3]=M[k>>3]+M[d>>3];M[k+8>>3]=M[k+8>>3]+M[f>>3];Ob(a,b,k+32|0,k+16|0,k);i=H[a+24>>2];h=c+6|0;if(p>>>0>=h>>>0){continue}break}if(c>>>0>=i>>>0){F[a+20|0]=1}n=H[a+32>>2];gb:{if(n>>>0<=c>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break gb}d=H[a+36>>2]+(c<<5)|0}q=M[a+136>>3];s=M[a+128>>3];l=I[a+176|0];hb:{if(!l){break hb}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break hb}m=f&1;g=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];ib:{if((f|0)==1){i=0;break ib}f=f&-2;i=0;h=0;while(1){o=i|1;e=+L[j+(o<<2)>>2]*M[g+(o<<3)>>3]+(+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((f|0)!=(h|0)){continue}break}}e=m?+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break hb}H[d+20>>2]=0}c=c|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}jb:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break jb}c=H[a+36>>2]+(c<<5)|0}kb:{if(!l){break kb}f=H[c+20>>2];if(!f|(f|0)!=H[a+168>>2]){break kb}n=f&1;g=H[c+24>>2];j=H[a+172>>2];e=M[c>>3];lb:{if((f|0)==1){i=0;break lb}f=f&-2;i=0;h=0;while(1){l=i|1;e=+L[j+(l<<2)>>2]*M[g+(l<<3)>>3]+(+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e);i=i+2|0;h=h+2|0;if((f|0)!=(h|0)){continue}break}}e=n?+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break kb}H[c+20>>2]=0}u=q+M[c>>3];e=s+M[d>>3];mb:{if(I[b|0]){break mb}F[b|0]=1;q=M[a+128>>3];if(q>3]){M[b+8>>3]=q;q=M[a+128>>3]}if(M[b+24>>3]>3]=q}q=M[a+136>>3];if(q>3]){M[b+16>>3]=q;q=M[a+136>>3]}if(!(M[b+32>>3]>3]=q}M[a+136>>3]=u;M[a+128>>3]=e;if(M[b+8>>3]>e){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(!(M[b+32>>3]>3]=e}Wa=k+48|0;break o}g=Wa-48|0;Wa=g;k=H[a+24>>2];if(k>>>0>=8){p=k-6|0;l=H[a+36>>2];m=H[a+32>>2];o=I[a+176|0];f=2;while(1){if(h>>>0>=k>>>0){F[a+20|0]=1}c=f;nb:{if(h>>>0>=m>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break nb}d=l+(h<<5)|0}q=M[a+136>>3];s=M[a+128>>3];ob:{if(!o){break ob}i=H[d+20>>2];if(!i|(i|0)!=H[a+168>>2]){break ob}j=H[d+24>>2];n=H[a+172>>2];e=M[d>>3];f=0;if((i|0)!=1){r=i&-2;k=0;while(1){t=f|1;e=+L[n+(t<<2)>>2]*M[j+(t<<3)>>3]+(+L[n+(f<<2)>>2]*M[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}e=i&1?+L[n+(f<<2)>>2]*M[j+(f<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break ob}H[d+20>>2]=0}f=h|1;if(f>>>0>=K[a+24>>2]){F[a+20|0]=1}pb:{if(f>>>0>=m>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;h=259040;break pb}h=l+(f<<5)|0}qb:{if(!o){break qb}i=H[h+20>>2];if(!i|(i|0)!=H[a+168>>2]){break qb}j=H[h+24>>2];n=H[a+172>>2];e=M[h>>3];f=0;if((i|0)!=1){r=i&-2;k=0;while(1){t=f|1;e=+L[n+(t<<2)>>2]*M[j+(t<<3)>>3]+(+L[n+(f<<2)>>2]*M[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}e=i&1?+L[n+(f<<2)>>2]*M[j+(f<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break qb}H[h+20>>2]=0}u=q+M[h>>3];e=s+M[d>>3];rb:{if(I[b|0]){break rb}F[b|0]=1;q=M[a+128>>3];if(q>3]){M[b+8>>3]=q;q=M[a+128>>3]}if(M[b+24>>3]>3]=q}q=M[a+136>>3];if(q>3]){M[b+16>>3]=q;q=M[a+136>>3]}if(!(M[b+32>>3]>3]=q}M[a+136>>3]=u;M[a+128>>3]=e;if(M[b+8>>3]>e){M[b+8>>3]=e;e=M[a+128>>3]}if(M[b+24>>3]>3]=e}e=M[a+136>>3];if(e>3]){M[b+16>>3]=e;e=M[a+136>>3]}if(M[b+32>>3]>3]=e}k=H[a+24>>2];h=c;f=c+2|0;if(p>>>0>=f>>>0){continue}break}c=H[a+140>>2];H[g+40>>2]=H[a+136>>2];H[g+44>>2]=c;c=H[a+132>>2];H[g+32>>2]=H[a+128>>2];H[g+36>>2]=c;if(h>>>0>=k>>>0){F[a+20|0]=1}i=H[a+32>>2];sb:{if(i>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break sb}c=H[a+36>>2]+(h<<5)|0}n=I[a+176|0];tb:{if(!n){break tb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break tb}o=d&1;l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];ub:{if((d|0)==1){k=0;break ub}d=d&-2;k=0;j=0;while(1){p=k|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(k<<2)>>2]*M[l+(k<<3)>>3]+e);k=k+2|0;j=j+2|0;if((d|0)!=(j|0)){continue}break}}e=o?+L[m+(k<<2)>>2]*M[l+(k<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break tb}H[c+20>>2]=0}d=h|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}vb:{if(d>>>0>=i>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break vb}d=H[a+36>>2]+(d<<5)|0}wb:{if(!n){break wb}k=H[d+20>>2];if(!k|(k|0)!=H[a+168>>2]){break wb}o=k&1;l=H[d+24>>2];m=H[a+172>>2];e=M[d>>3];xb:{if((k|0)==1){k=0;break xb}p=k&-2;k=0;j=0;while(1){r=k|1;e=+L[m+(r<<2)>>2]*M[l+(r<<3)>>3]+(+L[m+(k<<2)>>2]*M[l+(k<<3)>>3]+e);k=k+2|0;j=j+2|0;if((p|0)!=(j|0)){continue}break}}e=o?+L[m+(k<<2)>>2]*M[l+(k<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break wb}H[d+20>>2]=0}M[g+32>>3]=M[g+32>>3]+M[c>>3];M[g+40>>3]=M[g+40>>3]+M[d>>3];c=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=c;c=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=c;if(K[a+24>>2]<=f>>>0){F[a+20|0]=1}yb:{if(f>>>0>=i>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break yb}c=H[a+36>>2]+(f<<5)|0}zb:{if(!n){break zb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break zb}m=d&1;j=H[c+24>>2];l=H[a+172>>2];e=M[c>>3];Ab:{if((d|0)==1){f=0;break Ab}d=d&-2;f=0;k=0;while(1){o=f|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(f<<2)>>2]*M[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=m?+L[l+(f<<2)>>2]*M[j+(f<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break zb}H[c+20>>2]=0}d=h+3|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Bb:{if(d>>>0>=i>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Bb}d=H[a+36>>2]+(d<<5)|0}Cb:{if(!n){break Cb}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Cb}m=f&1;j=H[d+24>>2];l=H[a+172>>2];e=M[d>>3];Db:{if((f|0)==1){f=0;break Db}o=f&-2;f=0;k=0;while(1){p=f|1;e=+L[l+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[l+(f<<2)>>2]*M[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+L[l+(f<<2)>>2]*M[j+(f<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Cb}H[d+20>>2]=0}M[g+16>>3]=M[g+16>>3]+M[c>>3];M[g+24>>3]=M[g+24>>3]+M[d>>3];c=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=c;c=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=c;c=h+4|0;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}Eb:{if(c>>>0>=i>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Eb}c=H[a+36>>2]+(c<<5)|0}Fb:{if(!n){break Fb}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Fb}m=d&1;j=H[c+24>>2];l=H[a+172>>2];e=M[c>>3];Gb:{if((d|0)==1){f=0;break Gb}d=d&-2;f=0;k=0;while(1){o=f|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(f<<2)>>2]*M[j+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=m?+L[l+(f<<2)>>2]*M[j+(f<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Fb}H[c+20>>2]=0}d=h+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Hb:{if(d>>>0>=i>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Hb}d=H[a+36>>2]+(d<<5)|0}Ib:{if(!n){break Ib}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Ib}j=f&1;h=H[d+24>>2];i=H[a+172>>2];e=M[d>>3];Jb:{if((f|0)==1){f=0;break Jb}n=f&-2;f=0;k=0;while(1){l=f|1;e=+L[i+(l<<2)>>2]*M[h+(l<<3)>>3]+(+L[i+(f<<2)>>2]*M[h+(f<<3)>>3]+e);f=f+2|0;k=k+2|0;if((n|0)!=(k|0)){continue}break}}e=j?+L[i+(f<<2)>>2]*M[h+(f<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Ib}H[d+20>>2]=0}M[g>>3]=M[g>>3]+M[c>>3];M[g+8>>3]=M[g+8>>3]+M[d>>3];Ob(a,b,g+32|0,g+16|0,g)}Wa=g+48|0;break o}c=0;k=Wa-48|0;Wa=k;f=H[a+140>>2];H[k+40>>2]=H[a+136>>2];H[k+44>>2]=f;f=H[a+132>>2];H[k+32>>2]=H[a+128>>2];H[k+36>>2]=f;i=H[a+24>>2];if(i&1){Kb:{if(!H[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Kb}c=H[a+36>>2]}Lb:{if(!I[a+176|0]){break Lb}f=H[c+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Lb}j=f&1;h=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];Mb:{if((f|0)==1){i=0;break Mb}f=f&-2;i=0;while(1){n=i|1;e=+L[g+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}e=j?+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Lb}H[c+20>>2]=0}M[k+32>>3]=M[k+32>>3]+M[c>>3];i=H[a+24>>2];c=1}d=c|4;if(i>>>0>=d>>>0){while(1){g=c;c=d;if(g>>>0>=i>>>0){F[a+20|0]=1}n=H[a+32>>2];Nb:{if(n>>>0<=g>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Nb}f=H[a+36>>2]+(g<<5)|0}l=I[a+176|0];Ob:{if(!l){break Ob}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Ob}j=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Ob}H[f+20>>2]=0}M[k+40>>3]=M[k+40>>3]+M[f>>3];d=H[k+44>>2];H[k+24>>2]=H[k+40>>2];H[k+28>>2]=d;d=H[k+36>>2];H[k+16>>2]=H[k+32>>2];H[k+20>>2]=d;d=g+1|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Pb:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Pb}f=H[a+36>>2]+(d<<5)|0}Qb:{if(!l){break Qb}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Qb}j=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Qb}H[f+20>>2]=0}d=g+2|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Rb:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Rb}h=H[a+36>>2]+(d<<5)|0}Sb:{if(!l){break Sb}j=H[h+20>>2];if(!j|(j|0)!=H[a+168>>2]){break Sb}m=H[h+24>>2];o=H[a+172>>2];e=M[h>>3];i=0;if((j|0)!=1){p=j&-2;d=0;while(1){r=i|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=j&1?+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Sb}H[h+20>>2]=0}M[k+16>>3]=M[k+16>>3]+M[f>>3];M[k+24>>3]=M[k+24>>3]+M[h>>3];d=H[k+28>>2];H[k+8>>2]=H[k+24>>2];H[k+12>>2]=d;d=H[k+20>>2];H[k>>2]=H[k+16>>2];H[k+4>>2]=d;d=g+3|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Tb:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Tb}f=H[a+36>>2]+(d<<5)|0}Ub:{if(!l){break Ub}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Ub}g=H[f+24>>2];j=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){n=h&-2;d=0;while(1){l=i|1;e=+L[j+(l<<2)>>2]*M[g+(l<<3)>>3]+(+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((n|0)!=(d|0)){continue}break}}e=h&1?+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Ub}H[f+20>>2]=0}M[k+8>>3]=M[k+8>>3]+M[f>>3];Ob(a,b,k+32|0,k+16|0,k);d=H[a+140>>2];H[k+40>>2]=H[a+136>>2];H[k+44>>2]=d;d=H[a+132>>2];H[k+32>>2]=H[a+128>>2];H[k+36>>2]=d;d=c+4|0;i=H[a+24>>2];if(d>>>0<=i>>>0){continue}break}}Wa=k+48|0;break o}c=0;k=Wa-48|0;Wa=k;f=H[a+140>>2];H[k+40>>2]=H[a+136>>2];H[k+44>>2]=f;f=H[a+132>>2];H[k+32>>2]=H[a+128>>2];H[k+36>>2]=f;i=H[a+24>>2];if(i&1){Vb:{if(!H[a+32>>2]){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Vb}c=H[a+36>>2]}Wb:{if(!I[a+176|0]){break Wb}f=H[c+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Wb}j=f&1;h=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];Xb:{if((f|0)==1){i=0;break Xb}f=f&-2;i=0;while(1){n=i|1;e=+L[g+(n<<2)>>2]*M[h+(n<<3)>>3]+(+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}e=j?+L[g+(i<<2)>>2]*M[h+(i<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Wb}H[c+20>>2]=0}M[k+40>>3]=M[k+40>>3]+M[c>>3];i=H[a+24>>2];c=1}d=c|4;if(i>>>0>=d>>>0){while(1){g=c;c=d;if(g>>>0>=i>>>0){F[a+20|0]=1}n=H[a+32>>2];Yb:{if(n>>>0<=g>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Yb}f=H[a+36>>2]+(g<<5)|0}l=I[a+176|0];Zb:{if(!l){break Zb}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Zb}j=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Zb}H[f+20>>2]=0}M[k+32>>3]=M[k+32>>3]+M[f>>3];d=H[k+44>>2];H[k+24>>2]=H[k+40>>2];H[k+28>>2]=d;d=H[k+36>>2];H[k+16>>2]=H[k+32>>2];H[k+20>>2]=d;d=g+1|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}_b:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break _b}f=H[a+36>>2]+(d<<5)|0}$b:{if(!l){break $b}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break $b}j=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){o=h&-2;d=0;while(1){p=i|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((o|0)!=(d|0)){continue}break}}e=h&1?+L[m+(i<<2)>>2]*M[j+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break $b}H[f+20>>2]=0}d=g+2|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}ac:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break ac}h=H[a+36>>2]+(d<<5)|0}bc:{if(!l){break bc}j=H[h+20>>2];if(!j|(j|0)!=H[a+168>>2]){break bc}m=H[h+24>>2];o=H[a+172>>2];e=M[h>>3];i=0;if((j|0)!=1){p=j&-2;d=0;while(1){r=i|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((p|0)!=(d|0)){continue}break}}e=j&1?+L[o+(i<<2)>>2]*M[m+(i<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break bc}H[h+20>>2]=0}M[k+16>>3]=M[k+16>>3]+M[f>>3];M[k+24>>3]=M[k+24>>3]+M[h>>3];d=H[k+28>>2];H[k+8>>2]=H[k+24>>2];H[k+12>>2]=d;d=H[k+20>>2];H[k>>2]=H[k+16>>2];H[k+4>>2]=d;d=g+3|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}cc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break cc}f=H[a+36>>2]+(d<<5)|0}dc:{if(!l){break dc}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break dc}g=H[f+24>>2];j=H[a+172>>2];e=M[f>>3];i=0;if((h|0)!=1){n=h&-2;d=0;while(1){l=i|1;e=+L[j+(l<<2)>>2]*M[g+(l<<3)>>3]+(+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e);i=i+2|0;d=d+2|0;if((n|0)!=(d|0)){continue}break}}e=h&1?+L[j+(i<<2)>>2]*M[g+(i<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break dc}H[f+20>>2]=0}M[k>>3]=M[k>>3]+M[f>>3];Ob(a,b,k+32|0,k+16|0,k);d=H[a+140>>2];H[k+40>>2]=H[a+136>>2];H[k+44>>2]=d;d=H[a+132>>2];H[k+32>>2]=H[a+128>>2];H[k+36>>2]=d;d=c+4|0;i=H[a+24>>2];if(d>>>0<=i>>>0){continue}break}}Wa=k+48|0;break o}f=0;i=Wa-96|0;Wa=i;H[i+88>>2]=0;H[i+92>>2]=0;H[i+80>>2]=0;H[i+84>>2]=0;H[i+72>>2]=0;H[i+76>>2]=0;H[i+64>>2]=0;H[i+68>>2]=0;H[i+56>>2]=0;H[i+60>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;d=H[a+24>>2];ec:{if(!(d&4)){if(d>>>0<8){break ec}c=8;while(1){h=f;f=c;c=H[a+140>>2];H[i+88>>2]=H[a+136>>2];H[i+92>>2]=c;c=H[a+132>>2];H[i+80>>2]=H[a+128>>2];H[i+84>>2]=c;if(d>>>0<=h>>>0){F[a+20|0]=1}n=H[a+32>>2];fc:{if(n>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break fc}c=H[a+36>>2]+(h<<5)|0}l=I[a+176|0];gc:{if(!l){break gc}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break gc}j=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break gc}H[c+20>>2]=0}M[i+88>>3]=M[i+88>>3]+M[c>>3];c=H[i+92>>2];H[i+72>>2]=H[i+88>>2];H[i+76>>2]=c;c=H[i+84>>2];H[i+64>>2]=H[i+80>>2];H[i+68>>2]=c;c=h|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}hc:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break hc}c=H[a+36>>2]+(c<<5)|0}ic:{if(!l){break ic}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break ic}j=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break ic}H[c+20>>2]=0}d=h|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}jc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break jc}g=H[a+36>>2]+(d<<5)|0}kc:{if(!l){break kc}j=H[g+20>>2];if(!j|(j|0)!=H[a+168>>2]){break kc}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=j&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break kc}H[g+20>>2]=0}M[i+64>>3]=M[i+64>>3]+M[c>>3];M[i+72>>3]=M[i+72>>3]+M[g>>3];c=H[i+76>>2];H[i+56>>2]=H[i+72>>2];H[i+60>>2]=c;c=H[i+68>>2];H[i+48>>2]=H[i+64>>2];H[i+52>>2]=c;c=h|3;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}lc:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break lc}c=H[a+36>>2]+(c<<5)|0}mc:{if(!l){break mc}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break mc}j=H[c+24>>2];n=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+L[n+(m<<2)>>2]*M[j+(m<<3)>>3]+(+L[n+(d<<2)>>2]*M[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+L[n+(d<<2)>>2]*M[j+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break mc}H[c+20>>2]=0}M[i+48>>3]=M[i+48>>3]+M[c>>3];Ob(a,b,i+80|0,i- -64|0,i+48|0);c=H[i+60>>2];H[i+88>>2]=H[i+56>>2];H[i+92>>2]=c;c=H[i+52>>2];H[i+80>>2]=H[i+48>>2];H[i+84>>2]=c;c=h|4;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}j=H[a+32>>2];nc:{if(j>>>0<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break nc}c=H[a+36>>2]+(c<<5)|0}n=I[a+176|0];oc:{if(!n){break oc}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break oc}l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break oc}H[c+20>>2]=0}e=M[c>>3];c=H[i+92>>2];H[i+72>>2]=H[i+88>>2];H[i+76>>2]=c;M[i+80>>3]=e+M[i+80>>3];c=H[i+84>>2];H[i+64>>2]=H[i+80>>2];H[i+68>>2]=c;c=h|5;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}pc:{if(c>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break pc}c=H[a+36>>2]+(c<<5)|0}qc:{if(!n){break qc}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break qc}l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break qc}H[c+20>>2]=0}d=h|6;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}rc:{if(d>>>0>=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break rc}g=H[a+36>>2]+(d<<5)|0}sc:{if(!n){break sc}l=H[g+20>>2];if(!l|(l|0)!=H[a+168>>2]){break sc}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break sc}H[g+20>>2]=0}M[i+64>>3]=M[i+64>>3]+M[c>>3];M[i+72>>3]=M[i+72>>3]+M[g>>3];c=H[i+76>>2];H[i+56>>2]=H[i+72>>2];H[i+60>>2]=c;c=H[i+68>>2];H[i+48>>2]=H[i+64>>2];H[i+52>>2]=c;c=h|7;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}tc:{if(c>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break tc}c=H[a+36>>2]+(c<<5)|0}uc:{if(!n){break uc}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break uc}l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break uc}H[c+20>>2]=0}M[i+56>>3]=M[i+56>>3]+M[c>>3];c=H[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){F[a+20|0]=1}vc:{if(f>>>0>=j>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break vc}c=H[a+36>>2]+(f<<5)|0}wc:{if(!n){break wc}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break wc}k=H[c+24>>2];j=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){n=g&-2;h=0;while(1){l=d|1;e=+L[j+(l<<2)>>2]*M[k+(l<<3)>>3]+(+L[j+(d<<2)>>2]*M[k+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}}e=g&1?+L[j+(d<<2)>>2]*M[k+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break wc}H[c+20>>2]=0}M[i+48>>3]=M[i+48>>3]+M[c>>3]}Ob(a,b,i+80|0,i- -64|0,i+48|0);c=f+8|0;d=H[a+24>>2];if(c>>>0<=d>>>0){continue}break}break ec}c=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=c;c=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=c;n=H[a+32>>2];xc:{if(!n){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break xc}c=H[a+36>>2]}j=I[a+176|0];yc:{if(!j){break yc}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break yc}k=d&1;f=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];zc:{if((d|0)==1){d=0;break zc}l=d&-2;d=0;while(1){m=d|1;e=+L[g+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break yc}H[c+20>>2]=0}M[i+40>>3]=M[i+40>>3]+M[c>>3];c=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=c;c=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=c;if(K[a+24>>2]<=1){F[a+20|0]=1}Ac:{if(n>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Ac}c=H[a+36>>2]+32|0}Bc:{if(!j){break Bc}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Bc}k=d&1;f=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];Cc:{if((d|0)==1){d=0;break Cc}l=d&-2;d=0;h=0;while(1){m=d|1;e=+L[g+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Bc}H[c+20>>2]=0}if(K[a+24>>2]<=2){F[a+20|0]=1}Dc:{if(n>>>0<=2){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Dc}f=H[a+36>>2]- -64|0}Ec:{if(!j){break Ec}d=H[f+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Ec}l=d&1;g=H[f+24>>2];k=H[a+172>>2];e=M[f>>3];Fc:{if((d|0)==1){d=0;break Fc}m=d&-2;d=0;h=0;while(1){o=d|1;e=+L[k+(o<<2)>>2]*M[g+(o<<3)>>3]+(+L[k+(d<<2)>>2]*M[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[k+(d<<2)>>2]*M[g+(d<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Ec}H[f+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[c>>3];M[i+24>>3]=M[i+24>>3]+M[f>>3];c=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=c;c=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=c;if(K[a+24>>2]<=3){F[a+20|0]=1}Gc:{if(n>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Gc}c=H[a+36>>2]+96|0}Hc:{if(!j){break Hc}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Hc}k=d&1;f=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];Ic:{if((d|0)==1){d=0;break Ic}l=d&-2;d=0;h=0;while(1){m=d|1;e=+L[g+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Hc}H[c+20>>2]=0}M[i>>3]=M[i>>3]+M[c>>3];d=12;c=4;f=H[a+24>>2];if(f>>>0>=12){while(1){f=c;c=d;Ob(a,b,i+32|0,i+16|0,i);d=H[a+140>>2];H[i+40>>2]=H[a+136>>2];H[i+44>>2]=d;d=H[a+132>>2];H[i+32>>2]=H[a+128>>2];H[i+36>>2]=d;if(f>>>0>=K[a+24>>2]){F[a+20|0]=1}n=H[a+32>>2];Jc:{if(n>>>0<=f>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Jc}h=H[a+36>>2]+(f<<5)|0}l=I[a+176|0];Kc:{if(!l){break Kc}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Kc}j=H[h+24>>2];m=H[a+172>>2];e=M[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Kc}H[h+20>>2]=0}e=M[h>>3];d=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=d;M[i+32>>3]=e+M[i+32>>3];d=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=d;d=f|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Lc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Lc}h=H[a+36>>2]+(d<<5)|0}Mc:{if(!l){break Mc}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Mc}j=H[h+24>>2];m=H[a+172>>2];e=M[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[j+(d<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Mc}H[h+20>>2]=0}d=f|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Nc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break Nc}g=H[a+36>>2]+(d<<5)|0}Oc:{if(!l){break Oc}j=H[g+20>>2];if(!j|(j|0)!=H[a+168>>2]){break Oc}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((j|0)!=1){p=j&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=j&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Oc}H[g+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[h>>3];M[i+24>>3]=M[i+24>>3]+M[g>>3];d=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=d;d=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=d;d=f|3;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Pc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Pc}h=H[a+36>>2]+(d<<5)|0}Qc:{if(!l){break Qc}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Qc}j=H[h+24>>2];n=H[a+172>>2];e=M[h>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+L[n+(m<<2)>>2]*M[j+(m<<3)>>3]+(+L[n+(d<<2)>>2]*M[j+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+L[n+(d<<2)>>2]*M[j+(d<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Qc}H[h+20>>2]=0}M[i+8>>3]=M[i+8>>3]+M[h>>3];Ob(a,b,i+32|0,i+16|0,i);d=H[i+12>>2];H[i+40>>2]=H[i+8>>2];H[i+44>>2]=d;d=H[i+4>>2];H[i+32>>2]=H[i>>2];H[i+36>>2]=d;d=f+4|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}n=H[a+32>>2];Rc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Rc}h=H[a+36>>2]+(d<<5)|0}j=I[a+176|0];Sc:{if(!j){break Sc}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Sc}l=H[h+24>>2];m=H[a+172>>2];e=M[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Sc}H[h+20>>2]=0}M[i+40>>3]=M[i+40>>3]+M[h>>3];d=H[i+44>>2];H[i+24>>2]=H[i+40>>2];H[i+28>>2]=d;d=H[i+36>>2];H[i+16>>2]=H[i+32>>2];H[i+20>>2]=d;d=f+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Tc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break Tc}h=H[a+36>>2]+(d<<5)|0}Uc:{if(!j){break Uc}g=H[h+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Uc}l=H[h+24>>2];m=H[a+172>>2];e=M[h>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[h+8>>2]=0;H[h+12>>2]=0;M[h>>3]=e;if(H[h+16>>2]<0){break Uc}H[h+20>>2]=0}d=f+6|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Vc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break Vc}g=H[a+36>>2]+(d<<5)|0}Wc:{if(!j){break Wc}l=H[g+20>>2];if(!l|(l|0)!=H[a+168>>2]){break Wc}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Wc}H[g+20>>2]=0}M[i+16>>3]=M[i+16>>3]+M[h>>3];M[i+24>>3]=M[i+24>>3]+M[g>>3];d=H[i+28>>2];H[i+8>>2]=H[i+24>>2];H[i+12>>2]=d;d=H[i+20>>2];H[i>>2]=H[i+16>>2];H[i+4>>2]=d;d=f+7|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Xc:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Xc}f=H[a+36>>2]+(d<<5)|0}Yc:{if(!j){break Yc}g=H[f+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Yc}k=H[f+24>>2];l=H[a+172>>2];e=M[f>>3];d=0;if((g|0)!=1){m=g&-2;h=0;while(1){o=d|1;e=+L[l+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[l+(d<<2)>>2]*M[k+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=g&1?+L[l+(d<<2)>>2]*M[k+(d<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Yc}H[f+20>>2]=0}M[i>>3]=M[i>>3]+M[f>>3];d=c+8|0;f=H[a+24>>2];if(d>>>0<=f>>>0){continue}break}}if(c>>>0>>0){Zc:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Zc}c=H[a+36>>2]+(c<<5)|0}_c:{if(!j){break _c}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break _c}k=d&1;f=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];$c:{if((d|0)==1){d=0;break $c}j=d&-2;d=0;h=0;while(1){n=d|1;e=+L[g+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}e=k?+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break _c}H[c+20>>2]=0}M[i+8>>3]=M[i+8>>3]+M[c>>3]}Ob(a,b,i+32|0,i+16|0,i)}Wa=i+96|0;break o}f=0;j=Wa-96|0;Wa=j;H[j+88>>2]=0;H[j+92>>2]=0;H[j+80>>2]=0;H[j+84>>2]=0;H[j+72>>2]=0;H[j+76>>2]=0;H[j+64>>2]=0;H[j+68>>2]=0;H[j+56>>2]=0;H[j+60>>2]=0;H[j+48>>2]=0;H[j+52>>2]=0;d=H[a+24>>2];ad:{if(!(d&4)){if(d>>>0<8){break ad}c=8;while(1){h=f;f=c;c=H[a+140>>2];H[j+88>>2]=H[a+136>>2];H[j+92>>2]=c;c=H[a+132>>2];H[j+80>>2]=H[a+128>>2];H[j+84>>2]=c;if(d>>>0<=h>>>0){F[a+20|0]=1}n=H[a+32>>2];bd:{if(n>>>0<=h>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break bd}c=H[a+36>>2]+(h<<5)|0}l=I[a+176|0];cd:{if(!l){break cd}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break cd}i=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[i+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break cd}H[c+20>>2]=0}e=M[c>>3];c=H[j+92>>2];H[j+72>>2]=H[j+88>>2];H[j+76>>2]=c;M[j+80>>3]=e+M[j+80>>3];c=H[j+84>>2];H[j+64>>2]=H[j+80>>2];H[j+68>>2]=c;c=h|1;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}dd:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break dd}c=H[a+36>>2]+(c<<5)|0}ed:{if(!l){break ed}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break ed}i=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[i+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break ed}H[c+20>>2]=0}d=h|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}fd:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break fd}g=H[a+36>>2]+(d<<5)|0}gd:{if(!l){break gd}i=H[g+20>>2];if(!i|(i|0)!=H[a+168>>2]){break gd}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((i|0)!=1){p=i&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=i&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break gd}H[g+20>>2]=0}M[j+64>>3]=M[j+64>>3]+M[c>>3];M[j+72>>3]=M[j+72>>3]+M[g>>3];c=H[j+76>>2];H[j+56>>2]=H[j+72>>2];H[j+60>>2]=c;c=H[j+68>>2];H[j+48>>2]=H[j+64>>2];H[j+52>>2]=c;c=h|3;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}hd:{if(c>>>0>=n>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break hd}c=H[a+36>>2]+(c<<5)|0}id:{if(!l){break id}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break id}i=H[c+24>>2];n=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+L[n+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[n+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+L[n+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break id}H[c+20>>2]=0}M[j+56>>3]=M[j+56>>3]+M[c>>3];Ob(a,b,j+80|0,j- -64|0,j+48|0);c=H[j+60>>2];H[j+88>>2]=H[j+56>>2];H[j+92>>2]=c;c=H[j+52>>2];H[j+80>>2]=H[j+48>>2];H[j+84>>2]=c;c=h|4;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}i=H[a+32>>2];jd:{if(i>>>0<=c>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break jd}c=H[a+36>>2]+(c<<5)|0}n=I[a+176|0];kd:{if(!n){break kd}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break kd}l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break kd}H[c+20>>2]=0}M[j+88>>3]=M[j+88>>3]+M[c>>3];c=H[j+92>>2];H[j+72>>2]=H[j+88>>2];H[j+76>>2]=c;c=H[j+84>>2];H[j+64>>2]=H[j+80>>2];H[j+68>>2]=c;c=h|5;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}ld:{if(c>>>0>=i>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break ld}c=H[a+36>>2]+(c<<5)|0}md:{if(!n){break md}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break md}l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break md}H[c+20>>2]=0}d=h|6;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}nd:{if(d>>>0>=i>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break nd}g=H[a+36>>2]+(d<<5)|0}od:{if(!n){break od}l=H[g+20>>2];if(!l|(l|0)!=H[a+168>>2]){break od}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break od}H[g+20>>2]=0}M[j+64>>3]=M[j+64>>3]+M[c>>3];M[j+72>>3]=M[j+72>>3]+M[g>>3];c=H[j+76>>2];H[j+56>>2]=H[j+72>>2];H[j+60>>2]=c;c=H[j+68>>2];H[j+48>>2]=H[j+64>>2];H[j+52>>2]=c;c=h|7;if(c>>>0>=K[a+24>>2]){F[a+20|0]=1}pd:{if(c>>>0>=i>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break pd}c=H[a+36>>2]+(c<<5)|0}qd:{if(!n){break qd}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break qd}l=H[c+24>>2];m=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break qd}H[c+20>>2]=0}M[j+48>>3]=M[j+48>>3]+M[c>>3];c=H[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){F[a+20|0]=1}rd:{if(f>>>0>=i>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break rd}c=H[a+36>>2]+(f<<5)|0}sd:{if(!n){break sd}g=H[c+20>>2];if(!g|(g|0)!=H[a+168>>2]){break sd}i=H[c+24>>2];k=H[a+172>>2];e=M[c>>3];d=0;if((g|0)!=1){n=g&-2;h=0;while(1){l=d|1;e=+L[k+(l<<2)>>2]*M[i+(l<<3)>>3]+(+L[k+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}}e=g&1?+L[k+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break sd}H[c+20>>2]=0}M[j+56>>3]=M[j+56>>3]+M[c>>3]}Ob(a,b,j+80|0,j- -64|0,j+48|0);c=f+8|0;d=H[a+24>>2];if(c>>>0<=d>>>0){continue}break}break ad}c=H[a+140>>2];H[j+40>>2]=H[a+136>>2];H[j+44>>2]=c;c=H[a+132>>2];H[j+32>>2]=H[a+128>>2];H[j+36>>2]=c;f=H[a+32>>2];td:{if(!f){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break td}c=H[a+36>>2]}n=I[a+176|0];ud:{if(!n){break ud}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break ud}k=d&1;g=H[c+24>>2];i=H[a+172>>2];e=M[c>>3];vd:{if((d|0)==1){d=0;break vd}l=d&-2;d=0;while(1){m=d|1;e=+L[i+(m<<2)>>2]*M[g+(m<<3)>>3]+(+L[i+(d<<2)>>2]*M[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+L[i+(d<<2)>>2]*M[g+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break ud}H[c+20>>2]=0}M[j+32>>3]=M[j+32>>3]+M[c>>3];c=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=c;c=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=c;if(K[a+24>>2]<=1){F[a+20|0]=1}wd:{if(f>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break wd}c=H[a+36>>2]+32|0}xd:{if(!n){break xd}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break xd}k=d&1;g=H[c+24>>2];i=H[a+172>>2];e=M[c>>3];yd:{if((d|0)==1){d=0;break yd}l=d&-2;d=0;h=0;while(1){m=d|1;e=+L[i+(m<<2)>>2]*M[g+(m<<3)>>3]+(+L[i+(d<<2)>>2]*M[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+L[i+(d<<2)>>2]*M[g+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break xd}H[c+20>>2]=0}if(K[a+24>>2]<=2){F[a+20|0]=1}zd:{if(f>>>0<=2){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break zd}g=H[a+36>>2]- -64|0}Ad:{if(!n){break Ad}d=H[g+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Ad}l=d&1;i=H[g+24>>2];k=H[a+172>>2];e=M[g>>3];Bd:{if((d|0)==1){d=0;break Bd}m=d&-2;d=0;h=0;while(1){o=d|1;e=+L[k+(o<<2)>>2]*M[i+(o<<3)>>3]+(+L[k+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[k+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Ad}H[g+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[c>>3];M[j+24>>3]=M[j+24>>3]+M[g>>3];c=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=c;c=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=c;if(K[a+24>>2]<=3){F[a+20|0]=1}Cd:{if(f>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Cd}c=H[a+36>>2]+96|0}Dd:{if(!n){break Dd}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Dd}k=d&1;g=H[c+24>>2];i=H[a+172>>2];e=M[c>>3];Ed:{if((d|0)==1){d=0;break Ed}l=d&-2;d=0;h=0;while(1){m=d|1;e=+L[i+(m<<2)>>2]*M[g+(m<<3)>>3]+(+L[i+(d<<2)>>2]*M[g+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=k?+L[i+(d<<2)>>2]*M[g+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Dd}H[c+20>>2]=0}M[j+8>>3]=M[j+8>>3]+M[c>>3];d=12;c=4;h=H[a+24>>2];if(h>>>0>=12){while(1){h=c;c=d;Ob(a,b,j+32|0,j+16|0,j);d=H[a+140>>2];H[j+40>>2]=H[a+136>>2];H[j+44>>2]=d;d=H[a+132>>2];H[j+32>>2]=H[a+128>>2];H[j+36>>2]=d;if(h>>>0>=K[a+24>>2]){F[a+20|0]=1}n=H[a+32>>2];Fd:{if(n>>>0<=h>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Fd}f=H[a+36>>2]+(h<<5)|0}l=I[a+176|0];Gd:{if(!l){break Gd}g=H[f+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Gd}i=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[i+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Gd}H[f+20>>2]=0}M[j+40>>3]=M[j+40>>3]+M[f>>3];d=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=d;d=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=d;d=h|1;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Hd:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Hd}f=H[a+36>>2]+(d<<5)|0}Id:{if(!l){break Id}g=H[f+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Id}i=H[f+24>>2];m=H[a+172>>2];e=M[f>>3];d=0;if((g|0)!=1){o=g&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[i+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=g&1?+L[m+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Id}H[f+20>>2]=0}d=h|2;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Jd:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break Jd}g=H[a+36>>2]+(d<<5)|0}Kd:{if(!l){break Kd}i=H[g+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Kd}m=H[g+24>>2];o=H[a+172>>2];e=M[g>>3];d=0;if((i|0)!=1){p=i&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=i&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Kd}H[g+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[f>>3];M[j+24>>3]=M[j+24>>3]+M[g>>3];d=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=d;d=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=d;d=h|3;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Ld:{if(d>>>0>=n>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040;break Ld}f=H[a+36>>2]+(d<<5)|0}Md:{if(!l){break Md}g=H[f+20>>2];if(!g|(g|0)!=H[a+168>>2]){break Md}i=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];d=0;if((g|0)!=1){l=g&-2;k=0;while(1){m=d|1;e=+L[n+(m<<2)>>2]*M[i+(m<<3)>>3]+(+L[n+(d<<2)>>2]*M[i+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}e=g&1?+L[n+(d<<2)>>2]*M[i+(d<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Md}H[f+20>>2]=0}M[j>>3]=M[j>>3]+M[f>>3];Ob(a,b,j+32|0,j+16|0,j);d=H[j+12>>2];H[j+40>>2]=H[j+8>>2];H[j+44>>2]=d;d=H[j+4>>2];H[j+32>>2]=H[j>>2];H[j+36>>2]=d;d=h+4|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}f=H[a+32>>2];Nd:{if(d>>>0>=f>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break Nd}g=H[a+36>>2]+(d<<5)|0}n=I[a+176|0];Od:{if(!n){break Od}i=H[g+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Od}l=H[g+24>>2];m=H[a+172>>2];e=M[g>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=i&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Od}H[g+20>>2]=0}e=M[g>>3];d=H[j+44>>2];H[j+24>>2]=H[j+40>>2];H[j+28>>2]=d;M[j+32>>3]=e+M[j+32>>3];d=H[j+36>>2];H[j+16>>2]=H[j+32>>2];H[j+20>>2]=d;d=h+5|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Pd:{if(d>>>0>=f>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break Pd}g=H[a+36>>2]+(d<<5)|0}Qd:{if(!n){break Qd}i=H[g+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Qd}l=H[g+24>>2];m=H[a+172>>2];e=M[g>>3];d=0;if((i|0)!=1){o=i&-2;k=0;while(1){p=d|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=i&1?+L[m+(d<<2)>>2]*M[l+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Qd}H[g+20>>2]=0}d=h+6|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Rd:{if(d>>>0>=f>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;i=259040;break Rd}i=H[a+36>>2]+(d<<5)|0}Sd:{if(!n){break Sd}l=H[i+20>>2];if(!l|(l|0)!=H[a+168>>2]){break Sd}m=H[i+24>>2];o=H[a+172>>2];e=M[i>>3];d=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=d|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e);d=d+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+L[o+(d<<2)>>2]*M[m+(d<<3)>>3]+e:e;H[i+8>>2]=0;H[i+12>>2]=0;M[i>>3]=e;if(H[i+16>>2]<0){break Sd}H[i+20>>2]=0}M[j+16>>3]=M[j+16>>3]+M[g>>3];M[j+24>>3]=M[j+24>>3]+M[i>>3];d=H[j+28>>2];H[j+8>>2]=H[j+24>>2];H[j+12>>2]=d;d=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=d;d=h+7|0;if(d>>>0>=K[a+24>>2]){F[a+20|0]=1}Td:{if(d>>>0>=f>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break Td}g=H[a+36>>2]+(d<<5)|0}Ud:{if(!n){break Ud}i=H[g+20>>2];if(!i|(i|0)!=H[a+168>>2]){break Ud}k=H[g+24>>2];l=H[a+172>>2];e=M[g>>3];d=0;if((i|0)!=1){m=i&-2;h=0;while(1){o=d|1;e=+L[l+(o<<2)>>2]*M[k+(o<<3)>>3]+(+L[l+(d<<2)>>2]*M[k+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=i&1?+L[l+(d<<2)>>2]*M[k+(d<<3)>>3]+e:e;H[g+8>>2]=0;H[g+12>>2]=0;M[g>>3]=e;if(H[g+16>>2]<0){break Ud}H[g+20>>2]=0}M[j+8>>3]=M[j+8>>3]+M[g>>3];d=c+8|0;h=H[a+24>>2];if(d>>>0<=h>>>0){continue}break}}if(c>>>0>>0){Vd:{if(c>>>0>=f>>>0){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Vd}c=H[a+36>>2]+(c<<5)|0}Wd:{if(!n){break Wd}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Wd}i=d&1;f=H[c+24>>2];g=H[a+172>>2];e=M[c>>3];Xd:{if((d|0)==1){d=0;break Xd}k=d&-2;d=0;h=0;while(1){n=d|1;e=+L[g+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e);d=d+2|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}e=i?+L[g+(d<<2)>>2]*M[f+(d<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break Wd}H[c+20>>2]=0}M[j>>3]=M[j>>3]+M[c>>3]}Ob(a,b,j+32|0,j+16|0,j)}Wa=j+96|0;break o}g=Wa-96|0;Wa=g;Yd:{Zd:{_d:{if(H[a+24>>2]==7){c=H[a+140>>2];H[g+88>>2]=H[a+136>>2];H[g+92>>2]=c;c=H[a+132>>2];H[g+80>>2]=H[a+128>>2];H[g+84>>2]=c;i=H[a+32>>2];$d:{if(!i){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break $d}d=H[a+36>>2]}k=I[a+176|0];if(!k){break Zd}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Zd}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];if((c|0)==1){c=0;break _d}l=c&-2;c=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}break _d}F[a+40|0]=1;break Yd}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Zd}H[d+20>>2]=0}M[g+80>>3]=M[g+80>>3]+M[d>>3];c=H[g+92>>2];H[g+72>>2]=H[g+88>>2];H[g+76>>2]=c;c=H[g+84>>2];H[g+64>>2]=H[g+80>>2];H[g+68>>2]=c;if(K[a+24>>2]<=1){F[a+20|0]=1}ae:{if(i>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break ae}d=H[a+36>>2]+32|0}be:{if(!k){break be}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break be}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];ce:{if((c|0)==1){c=0;break ce}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break be}H[d+20>>2]=0}if(K[a+24>>2]<=2){F[a+20|0]=1}de:{if(i>>>0<=2){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break de}f=H[a+36>>2]- -64|0}ee:{if(!k){break ee}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break ee}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];fe:{if((c|0)==1){c=0;break fe}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break ee}H[f+20>>2]=0}M[g+64>>3]=M[g+64>>3]+M[d>>3];M[g+72>>3]=M[g+72>>3]+M[f>>3];c=H[g+76>>2];H[g+56>>2]=H[g+72>>2];H[g+60>>2]=c;c=H[g+68>>2];H[g+48>>2]=H[g+64>>2];H[g+52>>2]=c;if(K[a+24>>2]<=3){F[a+20|0]=1}ge:{if(i>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break ge}d=H[a+36>>2]+96|0}he:{if(!k){break he}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break he}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];ie:{if((c|0)==1){c=0;break ie}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break he}H[d+20>>2]=0}M[g+48>>3]=M[g+48>>3]+M[d>>3];c=H[g+60>>2];H[g+40>>2]=H[g+56>>2];H[g+44>>2]=c;c=H[g+52>>2];H[g+32>>2]=H[g+48>>2];H[g+36>>2]=c;if(K[a+24>>2]<=4){F[a+20|0]=1}je:{if(i>>>0<=4){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break je}d=H[a+36>>2]+128|0}ke:{if(!k){break ke}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break ke}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];le:{if((c|0)==1){c=0;break le}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break ke}H[d+20>>2]=0}M[g+32>>3]=M[g+32>>3]+M[d>>3];c=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=c;c=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=c;if(K[a+24>>2]<=5){F[a+20|0]=1}me:{if(i>>>0<=5){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break me}d=H[a+36>>2]+160|0}ne:{if(!k){break ne}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break ne}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];oe:{if((c|0)==1){c=0;break oe}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break ne}H[d+20>>2]=0}e=M[d>>3];c=H[g+92>>2];d=H[g+88>>2];H[g+24>>2]=d;H[g+28>>2]=c;M[g+16>>3]=e+M[g+16>>3];H[g+8>>2]=d;H[g+12>>2]=c;c=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=c;if(K[a+24>>2]<=6){F[a+20|0]=1}pe:{if(i>>>0<=6){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break pe}d=H[a+36>>2]+192|0}qe:{if(!k){break qe}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break qe}k=c&1;f=H[d+24>>2];i=H[a+172>>2];e=M[d>>3];re:{if((c|0)==1){c=0;break re}j=c&-2;c=0;h=0;while(1){n=c|1;e=+L[i+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[i+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}e=k?+L[i+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break qe}H[d+20>>2]=0}M[g>>3]=M[g>>3]+M[d>>3];Ob(a,b,g+80|0,g- -64|0,g+48|0);Ob(a,b,g+32|0,g+16|0,g)}Wa=g+96|0;break o}g=Wa-96|0;Wa=g;se:{te:{ue:{if(H[a+24>>2]==13){c=H[a+140>>2];H[g+88>>2]=H[a+136>>2];H[g+92>>2]=c;c=H[a+132>>2];H[g+80>>2]=H[a+128>>2];H[g+84>>2]=c;i=H[a+32>>2];ve:{if(!i){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break ve}d=H[a+36>>2]}k=I[a+176|0];if(!k){break te}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break te}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];if((c|0)==1){c=0;break ue}l=c&-2;c=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}break ue}F[a+40|0]=1;break se}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break te}H[d+20>>2]=0}if(K[a+24>>2]<=1){F[a+20|0]=1}we:{if(i>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break we}f=H[a+36>>2]+32|0}xe:{if(!k){break xe}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break xe}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];ye:{if((c|0)==1){c=0;break ye}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break xe}H[f+20>>2]=0}M[g+80>>3]=M[g+80>>3]+M[d>>3];M[g+88>>3]=M[g+88>>3]+M[f>>3];c=H[g+92>>2];H[g+72>>2]=H[g+88>>2];H[g+76>>2]=c;c=H[g+84>>2];H[g+64>>2]=H[g+80>>2];H[g+68>>2]=c;if(K[a+24>>2]<=2){F[a+20|0]=1}ze:{if(i>>>0<=2){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break ze}d=H[a+36>>2]- -64|0}Ae:{if(!k){break Ae}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Ae}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];Be:{if((c|0)==1){c=0;break Be}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Ae}H[d+20>>2]=0}if(K[a+24>>2]<=3){F[a+20|0]=1}Ce:{if(i>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break Ce}f=H[a+36>>2]+96|0}De:{if(!k){break De}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break De}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];Ee:{if((c|0)==1){c=0;break Ee}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break De}H[f+20>>2]=0}M[g+64>>3]=M[g+64>>3]+M[d>>3];M[g+72>>3]=M[g+72>>3]+M[f>>3];c=H[g+76>>2];H[g+56>>2]=H[g+72>>2];H[g+60>>2]=c;c=H[g+68>>2];H[g+48>>2]=H[g+64>>2];H[g+52>>2]=c;if(K[a+24>>2]<=4){F[a+20|0]=1}Fe:{if(i>>>0<=4){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break Fe}d=H[a+36>>2]+128|0}Ge:{if(!k){break Ge}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Ge}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];He:{if((c|0)==1){c=0;break He}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Ge}H[d+20>>2]=0}if(K[a+24>>2]<=5){F[a+20|0]=1}Ie:{if(i>>>0<=5){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break Ie}f=H[a+36>>2]+160|0}Je:{if(!k){break Je}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Je}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];Ke:{if((c|0)==1){c=0;break Ke}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Je}H[f+20>>2]=0}M[g+48>>3]=M[g+48>>3]+M[d>>3];M[g+56>>3]=M[g+56>>3]+M[f>>3];c=H[g+60>>2];H[g+40>>2]=H[g+56>>2];H[g+44>>2]=c;c=H[g+52>>2];H[g+32>>2]=H[g+48>>2];H[g+36>>2]=c;if(K[a+24>>2]<=6){F[a+20|0]=1}Le:{if(i>>>0<=6){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break Le}d=H[a+36>>2]+192|0}Me:{if(!k){break Me}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Me}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];Ne:{if((c|0)==1){c=0;break Ne}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Me}H[d+20>>2]=0}if(K[a+24>>2]<=7){F[a+20|0]=1}Oe:{if(i>>>0<=7){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break Oe}f=H[a+36>>2]+224|0}Pe:{if(!k){break Pe}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Pe}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];Qe:{if((c|0)==1){c=0;break Qe}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Pe}H[f+20>>2]=0}M[g+32>>3]=M[g+32>>3]+M[d>>3];M[g+40>>3]=M[g+40>>3]+M[f>>3];c=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=c;c=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=c;if(K[a+24>>2]<=8){F[a+20|0]=1}Re:{if(i>>>0<=8){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break Re}d=H[a+36>>2]+256|0}Se:{if(!k){break Se}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Se}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];Te:{if((c|0)==1){c=0;break Te}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Se}H[d+20>>2]=0}if(K[a+24>>2]<=9){F[a+20|0]=1}Ue:{if(i>>>0<=9){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break Ue}f=H[a+36>>2]+288|0}Ve:{if(!k){break Ve}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Ve}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];We:{if((c|0)==1){c=0;break We}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Ve}H[f+20>>2]=0}M[g+16>>3]=M[g+16>>3]+M[d>>3];M[g+24>>3]=M[g+24>>3]+M[f>>3];c=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=c;c=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=c;if(K[a+24>>2]<=10){F[a+20|0]=1}Xe:{if(i>>>0<=10){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break Xe}d=H[a+36>>2]+320|0}Ye:{if(!k){break Ye}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Ye}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];Ze:{if((c|0)==1){c=0;break Ze}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Ye}H[d+20>>2]=0}if(K[a+24>>2]<=11){F[a+20|0]=1}_e:{if(i>>>0<=11){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break _e}f=H[a+36>>2]+352|0}$e:{if(!k){break $e}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break $e}k=c&1;h=H[f+24>>2];i=H[a+172>>2];e=M[f>>3];af:{if((c|0)==1){c=0;break af}j=c&-2;c=0;n=0;while(1){l=c|1;e=+L[i+(l<<2)>>2]*M[h+(l<<3)>>3]+(+L[i+(c<<2)>>2]*M[h+(c<<3)>>3]+e);c=c+2|0;n=n+2|0;if((j|0)!=(n|0)){continue}break}}e=k?+L[i+(c<<2)>>2]*M[h+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break $e}H[f+20>>2]=0}M[g>>3]=M[g>>3]+M[d>>3];M[g+8>>3]=M[g+8>>3]+M[f>>3];Ob(a,b,g+80|0,g- -64|0,g+48|0);Ob(a,b,g+32|0,g+16|0,g)}Wa=g+96|0;break o}g=Wa-96|0;Wa=g;bf:{cf:{df:{if(H[a+24>>2]==9){c=H[a+140>>2];H[g+88>>2]=H[a+136>>2];H[g+92>>2]=c;c=H[a+132>>2];H[g+80>>2]=H[a+128>>2];H[g+84>>2]=c;i=H[a+32>>2];ef:{if(!i){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break ef}d=H[a+36>>2]}k=I[a+176|0];if(!k){break cf}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break cf}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];if((c|0)==1){c=0;break df}l=c&-2;c=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}break df}F[a+40|0]=1;break bf}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break cf}H[d+20>>2]=0}if(K[a+24>>2]<=1){F[a+20|0]=1}ff:{if(i>>>0<=1){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break ff}f=H[a+36>>2]+32|0}gf:{if(!k){break gf}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break gf}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];hf:{if((c|0)==1){c=0;break hf}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break gf}H[f+20>>2]=0}M[g+80>>3]=M[g+80>>3]+M[d>>3];M[g+88>>3]=M[g+88>>3]+M[f>>3];c=H[g+92>>2];H[g+72>>2]=H[g+88>>2];H[g+76>>2]=c;c=H[g+84>>2];H[g+64>>2]=H[g+80>>2];H[g+68>>2]=c;if(K[a+24>>2]<=2){F[a+20|0]=1}jf:{if(i>>>0<=2){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break jf}d=H[a+36>>2]- -64|0}kf:{if(!k){break kf}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break kf}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];lf:{if((c|0)==1){c=0;break lf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break kf}H[d+20>>2]=0}if(K[a+24>>2]<=3){F[a+20|0]=1}mf:{if(i>>>0<=3){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break mf}f=H[a+36>>2]+96|0}nf:{if(!k){break nf}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break nf}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];of:{if((c|0)==1){c=0;break of}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break nf}H[f+20>>2]=0}M[g+64>>3]=M[g+64>>3]+M[d>>3];M[g+72>>3]=M[g+72>>3]+M[f>>3];c=H[g+76>>2];H[g+56>>2]=H[g+72>>2];H[g+60>>2]=c;c=H[g+68>>2];H[g+48>>2]=H[g+64>>2];H[g+52>>2]=c;if(K[a+24>>2]<=4){F[a+20|0]=1}pf:{if(i>>>0<=4){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break pf}d=H[a+36>>2]+128|0}qf:{if(!k){break qf}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break qf}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];rf:{if((c|0)==1){c=0;break rf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break qf}H[d+20>>2]=0}M[g+48>>3]=M[g+48>>3]+M[d>>3];c=H[g+60>>2];H[g+40>>2]=H[g+56>>2];H[g+44>>2]=c;c=H[g+52>>2];H[g+32>>2]=H[g+48>>2];H[g+36>>2]=c;if(K[a+24>>2]<=5){F[a+20|0]=1}sf:{if(i>>>0<=5){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break sf}d=H[a+36>>2]+160|0}tf:{if(!k){break tf}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break tf}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];uf:{if((c|0)==1){c=0;break uf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break tf}H[d+20>>2]=0}M[g+32>>3]=M[g+32>>3]+M[d>>3];c=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=c;c=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=c;if(K[a+24>>2]<=6){F[a+20|0]=1}vf:{if(i>>>0<=6){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break vf}d=H[a+36>>2]+192|0}wf:{if(!k){break wf}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break wf}n=c&1;f=H[d+24>>2];j=H[a+172>>2];e=M[d>>3];xf:{if((c|0)==1){c=0;break xf}l=c&-2;c=0;h=0;while(1){m=c|1;e=+L[j+(m<<2)>>2]*M[f+(m<<3)>>3]+(+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((l|0)!=(h|0)){continue}break}}e=n?+L[j+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break wf}H[d+20>>2]=0}if(K[a+24>>2]<=7){F[a+20|0]=1}yf:{if(i>>>0<=7){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;f=259040;break yf}f=H[a+36>>2]+224|0}zf:{if(!k){break zf}c=H[f+20>>2];if(!c|(c|0)!=H[a+168>>2]){break zf}l=c&1;j=H[f+24>>2];n=H[a+172>>2];e=M[f>>3];Af:{if((c|0)==1){c=0;break Af}m=c&-2;c=0;h=0;while(1){o=c|1;e=+L[n+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}}e=l?+L[n+(c<<2)>>2]*M[j+(c<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break zf}H[f+20>>2]=0}M[g+16>>3]=M[g+16>>3]+M[d>>3];M[g+24>>3]=M[g+24>>3]+M[f>>3];c=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=c;c=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=c;if(K[a+24>>2]<=8){F[a+20|0]=1}Bf:{if(i>>>0<=8){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break Bf}d=H[a+36>>2]+256|0}Cf:{if(!k){break Cf}c=H[d+20>>2];if(!c|(c|0)!=H[a+168>>2]){break Cf}k=c&1;f=H[d+24>>2];i=H[a+172>>2];e=M[d>>3];Df:{if((c|0)==1){c=0;break Df}j=c&-2;c=0;h=0;while(1){n=c|1;e=+L[i+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[i+(c<<2)>>2]*M[f+(c<<3)>>3]+e);c=c+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}e=k?+L[i+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Cf}H[d+20>>2]=0}M[g>>3]=M[g>>3]+M[d>>3];c=H[a+140>>2];H[g+8>>2]=H[a+136>>2];H[g+12>>2]=c;Ob(a,b,g+80|0,g- -64|0,g+48|0);Ob(a,b,g+32|0,g+16|0,g)}Wa=g+96|0;break o}g=Wa-96|0;Wa=g;h=11;Ef:{Ff:{if(H[a+24>>2]==11){c=H[a+36>>2];i=H[a+32>>2];n=I[a+176|0];while(1){if(h>>>0<=j>>>0){F[a+20|0]=1}Gf:{if(i>>>0<=j>>>0){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Gf}d=c+(j<<5)|0}Hf:{if(!n){break Hf}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Hf}l=H[d+24>>2];m=H[a+172>>2];e=M[d>>3];h=0;if((f|0)!=1){o=f&-2;k=0;while(1){p=h|1;e=+L[m+(p<<2)>>2]*M[l+(p<<3)>>3]+(+L[m+(h<<2)>>2]*M[l+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=f&1?+L[m+(h<<2)>>2]*M[l+(h<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Hf}H[d+20>>2]=0}f=j|1;if(f>>>0>=K[a+24>>2]){F[a+20|0]=1}If:{if(f>>>0>=i>>>0){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break If}f=c+(f<<5)|0}Jf:{if(!n){break Jf}l=H[f+20>>2];if(!l|(l|0)!=H[a+168>>2]){break Jf}m=H[f+24>>2];o=H[a+172>>2];e=M[f>>3];h=0;if((l|0)!=1){p=l&-2;k=0;while(1){r=h|1;e=+L[o+(r<<2)>>2]*M[m+(r<<3)>>3]+(+L[o+(h<<2)>>2]*M[m+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}}e=l&1?+L[o+(h<<2)>>2]*M[m+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Jf}H[f+20>>2]=0}q=q+M[f>>3];s=s+M[d>>3];if(j>>>0>7){break Ff}j=j+2|0;h=H[a+24>>2];continue}}F[a+40|0]=1;break Ef}d=H[a+140>>2];H[g+88>>2]=H[a+136>>2];H[g+92>>2]=d;d=H[a+132>>2];H[g+80>>2]=H[a+128>>2];H[g+84>>2]=d;if(!H[a+24>>2]){F[a+20|0]=1}f=c;if(!i){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;f=259040}Kf:{if(!n){break Kf}d=H[f+20>>2];if(!d|(d|0)!=H[a+168>>2]){break Kf}m=d&1;j=H[f+24>>2];l=H[a+172>>2];e=M[f>>3];Lf:{if((d|0)==1){h=0;break Lf}d=d&-2;h=0;k=0;while(1){o=h|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Kf}H[f+20>>2]=0}if(K[a+24>>2]<=1){F[a+20|0]=1}Mf:{if(i>>>0<=1){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Mf}d=c+32|0}Nf:{if(!n){break Nf}h=H[d+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Nf}m=h&1;j=H[d+24>>2];l=H[a+172>>2];e=M[d>>3];Of:{if((h|0)==1){h=0;break Of}o=h&-2;h=0;k=0;while(1){p=h|1;e=+L[l+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Nf}H[d+20>>2]=0}M[g+80>>3]=M[g+80>>3]+M[f>>3];M[g+88>>3]=M[g+88>>3]+M[d>>3];d=H[g+92>>2];H[g+72>>2]=H[g+88>>2];H[g+76>>2]=d;d=H[g+84>>2];H[g+64>>2]=H[g+80>>2];H[g+68>>2]=d;if(K[a+24>>2]<=2){F[a+20|0]=1}Pf:{if(i>>>0<=2){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Pf}d=c- -64|0}Qf:{if(!n){break Qf}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Qf}m=f&1;j=H[d+24>>2];l=H[a+172>>2];e=M[d>>3];Rf:{if((f|0)==1){h=0;break Rf}f=f&-2;h=0;k=0;while(1){o=h|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Qf}H[d+20>>2]=0}if(K[a+24>>2]<=3){F[a+20|0]=1}Sf:{if(i>>>0<=3){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break Sf}f=c+96|0}Tf:{if(!n){break Tf}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Tf}m=h&1;j=H[f+24>>2];l=H[a+172>>2];e=M[f>>3];Uf:{if((h|0)==1){h=0;break Uf}o=h&-2;h=0;k=0;while(1){p=h|1;e=+L[l+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Tf}H[f+20>>2]=0}M[g+64>>3]=M[g+64>>3]+M[d>>3];M[g+72>>3]=M[g+72>>3]+M[f>>3];d=H[g+76>>2];H[g+56>>2]=H[g+72>>2];H[g+60>>2]=d;d=H[g+68>>2];H[g+48>>2]=H[g+64>>2];H[g+52>>2]=d;if(K[a+24>>2]<=4){F[a+20|0]=1}Vf:{if(i>>>0<=4){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break Vf}d=c+128|0}Wf:{if(!n){break Wf}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break Wf}m=f&1;j=H[d+24>>2];l=H[a+172>>2];e=M[d>>3];Xf:{if((f|0)==1){h=0;break Xf}f=f&-2;h=0;k=0;while(1){o=h|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break Wf}H[d+20>>2]=0}if(K[a+24>>2]<=5){F[a+20|0]=1}Yf:{if(i>>>0<=5){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break Yf}f=c+160|0}Zf:{if(!n){break Zf}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break Zf}m=h&1;j=H[f+24>>2];l=H[a+172>>2];e=M[f>>3];_f:{if((h|0)==1){h=0;break _f}o=h&-2;h=0;k=0;while(1){p=h|1;e=+L[l+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break Zf}H[f+20>>2]=0}M[g+48>>3]=M[g+48>>3]+M[d>>3];M[g+56>>3]=M[g+56>>3]+M[f>>3];d=H[g+60>>2];H[g+40>>2]=H[g+56>>2];H[g+44>>2]=d;d=H[g+52>>2];H[g+32>>2]=H[g+48>>2];H[g+36>>2]=d;if(K[a+24>>2]<=6){F[a+20|0]=1}$f:{if(i>>>0<=6){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break $f}d=c+192|0}ag:{if(!n){break ag}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break ag}m=f&1;j=H[d+24>>2];l=H[a+172>>2];e=M[d>>3];bg:{if((f|0)==1){h=0;break bg}f=f&-2;h=0;k=0;while(1){o=h|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break ag}H[d+20>>2]=0}if(K[a+24>>2]<=7){F[a+20|0]=1}cg:{if(i>>>0<=7){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break cg}f=c+224|0}dg:{if(!n){break dg}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break dg}m=h&1;j=H[f+24>>2];l=H[a+172>>2];e=M[f>>3];eg:{if((h|0)==1){h=0;break eg}o=h&-2;h=0;k=0;while(1){p=h|1;e=+L[l+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break dg}H[f+20>>2]=0}M[g+32>>3]=M[g+32>>3]+M[d>>3];M[g+40>>3]=M[g+40>>3]+M[f>>3];d=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=d;d=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=d;if(K[a+24>>2]<=8){F[a+20|0]=1}fg:{if(i>>>0<=8){d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break fg}d=c+256|0}gg:{if(!n){break gg}f=H[d+20>>2];if(!f|(f|0)!=H[a+168>>2]){break gg}m=f&1;j=H[d+24>>2];l=H[a+172>>2];e=M[d>>3];hg:{if((f|0)==1){h=0;break hg}f=f&-2;h=0;k=0;while(1){o=h|1;e=+L[l+(o<<2)>>2]*M[j+(o<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((f|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break gg}H[d+20>>2]=0}if(K[a+24>>2]<=9){F[a+20|0]=1}ig:{if(i>>>0<=9){f=H[40915];H[64766]=H[40914];H[64767]=f;f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break ig}f=c+288|0}jg:{if(!n){break jg}h=H[f+20>>2];if(!h|(h|0)!=H[a+168>>2]){break jg}m=h&1;j=H[f+24>>2];l=H[a+172>>2];e=M[f>>3];kg:{if((h|0)==1){h=0;break kg}o=h&-2;h=0;k=0;while(1){p=h|1;e=+L[l+(p<<2)>>2]*M[j+(p<<3)>>3]+(+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((o|0)!=(k|0)){continue}break}}e=m?+L[l+(h<<2)>>2]*M[j+(h<<3)>>3]+e:e;H[f+8>>2]=0;H[f+12>>2]=0;M[f>>3]=e;if(H[f+16>>2]<0){break jg}H[f+20>>2]=0}M[g+16>>3]=M[g+16>>3]+M[d>>3];M[g+24>>3]=M[g+24>>3]+M[f>>3];d=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=d;d=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=d;lg:{mg:{ng:{if(P(s)>P(q)){if(K[a+24>>2]<=10){F[a+20|0]=1}og:{if(i>>>0<=10){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break og}c=c+320|0}if(!n){break mg}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break mg}j=d&1;f=H[c+24>>2];i=H[a+172>>2];e=M[c>>3];if((d|0)==1){h=0;break ng}d=d&-2;h=0;k=0;while(1){n=h|1;e=+L[i+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[i+(h<<2)>>2]*M[f+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}break ng}d=H[a+132>>2];H[g>>2]=H[a+128>>2];H[g+4>>2]=d;if(K[a+24>>2]<=10){F[a+20|0]=1}pg:{if(i>>>0<=10){c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break pg}c=c+320|0}qg:{if(!n){break qg}d=H[c+20>>2];if(!d|(d|0)!=H[a+168>>2]){break qg}j=d&1;f=H[c+24>>2];i=H[a+172>>2];e=M[c>>3];rg:{if((d|0)==1){h=0;break rg}d=d&-2;h=0;k=0;while(1){n=h|1;e=+L[i+(n<<2)>>2]*M[f+(n<<3)>>3]+(+L[i+(h<<2)>>2]*M[f+(h<<3)>>3]+e);h=h+2|0;k=k+2|0;if((d|0)!=(k|0)){continue}break}}e=j?+L[i+(h<<2)>>2]*M[f+(h<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break qg}H[c+20>>2]=0}M[g+8>>3]=M[g+8>>3]+M[c>>3];break lg}e=j?+L[i+(h<<2)>>2]*M[f+(h<<3)>>3]+e:e;H[c+8>>2]=0;H[c+12>>2]=0;M[c>>3]=e;if(H[c+16>>2]<0){break mg}H[c+20>>2]=0}M[g>>3]=M[g>>3]+M[c>>3];c=H[a+140>>2];H[g+8>>2]=H[a+136>>2];H[g+12>>2]=c}Ob(a,b,g+80|0,g- -64|0,g+48|0);Ob(a,b,g+32|0,g+16|0,g)}Wa=g+96|0;break o}lt(f,a);break m}e=g?+L[h+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break s}H[d+20>>2]=0}e=M[d>>3];F[b|0]=0;M[a+136>>3]=q+e;M[a+128>>3]=s;break p}e=g?+L[h+(c<<2)>>2]*M[f+(c<<3)>>3]+e:e;H[d+8>>2]=0;H[d+12>>2]=0;M[d>>3]=e;if(H[d+16>>2]<0){break q}H[d+20>>2]=0}e=M[d>>3];F[b|0]=0;M[a+136>>3]=q;M[a+128>>3]=s+e}if(!I[a+73|0]){if(!I[a+74|0]){F[a+74|0]=1;c=H[a+80>>2]+(H[a+24>>2]>>>1|0)|0;H[a+80>>2]=c;H[a+84>>2]=(c+H[a+76>>2]|0)+7>>>3}F[a+73|0]=1}}H[a+24>>2]=0;break m}F[a+16|0]=1;H[a+12>>2]=c}}c=0;sg:{if(I[a+88|0]|H[a+96>>2]<0|(I[a+20|0]|(I[a+40|0]|I[a+16|0]))){break sg}if(H[a+28>>2]<0){break sg}c=1;if(!I[a+72|0]){continue}}break}return c|0}function lx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;k=Wa+-64|0;Wa=k;c=H[a>>2];b=0;a:{if(H[H[c+96>>2]+64>>2]!=40){break a}b=0;if(!I[a+613|0]){break a}b=0;if(I[c+9|0]&32){break a}b=(I[a+340|0]>>>2^-1)&1}G[a+616>>1]=0;F[a+615|0]=b;b=H[a+384>>2];e=J[a+152>>1];f=b+e<<1;f=f>>>0>30?f:30;if(f>>>0>1]){G[a+188>>1]=f}H[a+628>>2]=0;H[a+620>>2]=0;b:{if(e){e=N(e,10);b=(e>>>0>50?e:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=N(b,22)+300|0}H[a+624>>2]=b;c=H[c+16>>2];H[a+260>>2]=0;c=N(c,100);b=b>>>0>>0?b:c;H[a+632>>2]=b;H[a+624>>2]=b;c:{if(J[a+220>>1]!=J[a+222>>1]){c=83;f=84;h=85;b=82;break c}c=87;f=88;h=89;b=86}H[a+608>>2]=b;H[a+604>>2]=c;H[a+600>>2]=f;H[a+596>>2]=h;e=G[a+302>>1];d:{if((e&65535)==16384){b=G[a+298>>1];H[a+568>>2]=b;c=b;break d}b=G[a+304>>1];if((b|0)==16384){b=G[a+300>>1];H[a+568>>2]=b;c=J[a+298>>1];break d}c=G[a+298>>1];b=N(b,G[a+300>>1])+N(e,c)>>14;H[a+568>>2]=b}e:{if((c&65535)==16384){H[a+576>>2]=90;break e}if(J[a+300>>1]==16384){H[a+576>>2]=91;break e}H[a+576>>2]=92}f:{if(J[a+294>>1]==16384){H[a+580>>2]=90;break f}if(J[a+296>>1]==16384){H[a+580>>2]=91;break f}H[a+580>>2]=93}H[a+592>>2]=94;H[a+588>>2]=95;g:{if((b|0)!=16384){break g}h:{if((e|0)==16384){f=97;c=96;break h}if(J[a+304>>1]!=16384){break g}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;b=H[a+316>>2];if(!(b&248)){H[a+572>>2]=H[(b<<24>>22)+98152>>2]}x=a+180|0;y=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=H[a+364>>2];i:{j:{while(1){j=H[a+360>>2];i=I[j+c|0];F[a+372|0]=i;f=F[i+96128|0];H[a+376>>2]=f;k:{if((i&254)!=64){h=H[a+368>>2];break k}h=H[a+368>>2];b=c+1|0;if((h|0)<=(b|0)){h=131;break j}f=2-N(I[b+j|0],f)|0;H[a+376>>2]=f}if((c+f|0)>(h|0)){h=131;break j}b=I[i+96384|0];e=b>>>4|0;c=H[a+16>>2]-e|0;H[a+28>>2]=c;if((c|0)<0){if(I[a+565|0]){h=129;break j}if(b>>>0>=16){kb(H[a+24>>2],0,(e>>>0>1?e:1)<<2)}H[a+28>>2]=0;c=0}l:{m:{if((i|0)==145){b=H[H[a>>2]+736>>2];if(!b){e=H[a+32>>2];break l}e=H[b>>2]+c|0;break m}e=(b&15)+c|0}H[a+32>>2]=e}h=130;b=H[a+20>>2];if((b|0)<(e|0)){break j}H[a+12>>2]=0;F[a+380|0]=1;g=H[a+24>>2];d=g+(c<<2)|0;h=135;n:{o:{p:{q:{r:{s:{t:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){G[a+296>>1]=b;G[a+294>>1]=c;G[a+300>>1]=b;G[a+298>>1]=c}u:{if(i&2){c=J[a+302>>1];break u}G[a+302>>1]=c;G[a+304>>1]=b}v:{if((c&65535)==16384){b=G[a+298>>1];H[a+568>>2]=b;e=b;break v}b=G[a+304>>1];if((b|0)==16384){b=G[a+300>>1];H[a+568>>2]=b;e=J[a+298>>1];break v}e=G[a+298>>1];b=N(b,G[a+300>>1])+N(e,c<<16>>16)>>14;H[a+568>>2]=b}f=90;H[a+576>>2]=(e&65535)!=16384?J[a+300>>1]==16384?91:92:90;f=J[a+294>>1]!=16384?J[a+296>>1]==16384?91:93:f;H[a+592>>2]=94;H[a+588>>2]=95;H[a+580>>2]=f;w:{if((b|0)!=16384){break w}x:{if((c&65535)==16384){f=97;c=96;break x}if(J[a+304>>1]!=16384){break w}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 6:case 7:y:{b=J[d+4>>1];if(b>>>0>1]){c=J[d>>1];if(c>>>0>1]){break y}}if(!I[a+565|0]){break s}h=134;break j}c=H[a+88>>2]+(c<<3)|0;e=H[c+4>>2];f=H[a+124>>2]+(b<<3)|0;d=H[f+4>>2];b=e-d|0;g=H[c>>2];f=H[f>>2];c=(g|0)==(f|0)&(d|0)==(e|0);e=c?16384:g-f|0;c=c|!(i&1);f=c?b:e;b=c?e:0-b|0;if(f|b){H[k+28>>2]=f;H[k+24>>2]=b;pf(k+24|0);G[a+298>>1]=H[k+24>>2]/4;G[a+300>>1]=H[k+28>>2]/4}c=J[a+298>>1]|J[a+300>>1]<<16;G[a+294>>1]=c;G[a+296>>1]=c>>>16;e=G[a+302>>1];b=c<<16>>16;z:{if((e&65535)==16384){break z}f=G[a+304>>1];b=c>>16;if((f|0)==16384){break z}b=N(f,c>>16)+N(e,c<<16>>16)>>14}H[a+592>>2]=94;H[a+588>>2]=95;H[a+568>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;H[a+580>>2]=c?90:f?91:93;H[a+576>>2]=c?90:f?91:92;A:{if((b|0)!=16384){break A}B:{if((e|0)==16384){f=97;c=96;break B}if(J[a+304>>1]!=16384){break A}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 8:case 9:C:{b=J[d+4>>1];if(b>>>0>1]){c=J[d>>1];if(c>>>0>1]){break C}}if(!I[a+565|0]){break s}h=134;break j}c=H[a+88>>2]+(c<<3)|0;e=H[c+4>>2];f=H[a+124>>2]+(b<<3)|0;d=H[f+4>>2];b=e-d|0;g=H[c>>2];f=H[f>>2];c=(g|0)==(f|0)&(d|0)==(e|0);e=c?16384:g-f|0;c=c|!(i&1);f=c?b:e;b=c?e:0-b|0;D:{if(!(f|b)){c=J[a+302>>1];break D}H[k+28>>2]=f;H[k+24>>2]=b;pf(k+24|0);c=H[k+24>>2]/4|0;G[a+302>>1]=c;G[a+304>>1]=H[k+28>>2]/4}E:{if((c&65535)==16384){b=G[a+298>>1];H[a+568>>2]=b;e=b;break E}b=G[a+304>>1];if((b|0)==16384){b=G[a+300>>1];H[a+568>>2]=b;e=J[a+298>>1];break E}e=G[a+298>>1];b=N(b,G[a+300>>1])+N(e,c<<16>>16)>>14;H[a+568>>2]=b}f=90;H[a+576>>2]=(e&65535)!=16384?J[a+300>>1]==16384?91:92:90;f=J[a+294>>1]!=16384?J[a+296>>1]==16384?91:93:f;H[a+592>>2]=94;H[a+588>>2]=95;H[a+580>>2]=f;F:{if((b|0)!=16384){break F}G:{if((c&65535)==16384){f=97;c=96;break G}if(J[a+304>>1]!=16384){break F}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 10:b=G[d+4>>1];c=G[d>>1];if(b|c){H[k+28>>2]=b;H[k+24>>2]=c;pf(k+24|0);G[a+298>>1]=H[k+24>>2]/4;G[a+300>>1]=H[k+28>>2]/4}c=J[a+298>>1]|J[a+300>>1]<<16;G[a+294>>1]=c;G[a+296>>1]=c>>>16;e=G[a+302>>1];b=c<<16>>16;H:{if((e&65535)==16384){break H}f=G[a+304>>1];b=c>>16;if((f|0)==16384){break H}b=N(f,c>>16)+N(e,c<<16>>16)>>14}H[a+592>>2]=94;H[a+588>>2]=95;H[a+568>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;H[a+580>>2]=c?90:f?91:93;H[a+576>>2]=c?90:f?91:92;I:{if((b|0)!=16384){break I}J:{if((e|0)==16384){f=97;c=96;break J}if(J[a+304>>1]!=16384){break I}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 11:b=G[d+4>>1];c=G[d>>1];K:{if(!(b|c)){c=J[a+302>>1];break K}H[k+28>>2]=b;H[k+24>>2]=c;pf(k+24|0);c=H[k+24>>2]/4|0;G[a+302>>1]=c;G[a+304>>1]=H[k+28>>2]/4}L:{if((c&65535)==16384){b=G[a+298>>1];H[a+568>>2]=b;e=b;break L}b=G[a+304>>1];if((b|0)==16384){b=G[a+300>>1];H[a+568>>2]=b;e=J[a+298>>1];break L}e=G[a+298>>1];b=N(b,G[a+300>>1])+N(e,c<<16>>16)>>14;H[a+568>>2]=b}f=90;H[a+576>>2]=(e&65535)!=16384?J[a+300>>1]==16384?91:92:90;f=J[a+294>>1]!=16384?J[a+296>>1]==16384?91:93:f;H[a+592>>2]=94;H[a+588>>2]=95;H[a+580>>2]=f;M:{if((b|0)!=16384){break M}N:{if((c&65535)==16384){f=97;c=96;break N}if(J[a+304>>1]!=16384){break M}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 12:b=G[a+298>>1];H[d+4>>2]=G[a+300>>1];H[d>>2]=b;break s;case 13:b=G[a+302>>1];H[d+4>>2]=G[a+304>>1];H[d>>2]=b;break s;case 14:e=J[a+298>>1]|J[a+300>>1]<<16;G[a+302>>1]=e;d=e>>>16|0;G[a+304>>1]=d;c=e<<16>>16;f=90;O:{if((e&65535)==16384){h=90;b=c;break O}h=91;b=16384;if((d|0)==16384){break O}h=92;b=e>>16;b=N(c,c)+N(b,b)>>>14|0}H[a+576>>2]=h;H[a+568>>2]=b;f=J[a+294>>1]!=16384?J[a+296>>1]==16384?91:93:f;H[a+592>>2]=94;H[a+588>>2]=95;H[a+580>>2]=f;P:{if((b|0)!=16384){break P}Q:{if((e&65535)==16384){f=97;c=96;break Q}if((d|0)!=16384){break P}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 15:R:{c=J[d+12>>1];b=J[a+44>>1];S:{if(c>>>0>=b>>>0){break S}f=J[d+16>>1];if(f>>>0>=b>>>0){break S}g=J[d+4>>1];b=J[a+80>>1];if(g>>>0>=b>>>0){break S}i=J[d+8>>1];if(i>>>0>=b>>>0){break S}b=J[d>>1];if(b>>>0>1]){break R}}if(!I[a+565|0]){break s}h=134;break j}d=H[a+52>>2];q=c<<3;c=d+q|0;e=H[c>>2];s=f<<3;h=s+d|0;j=H[h>>2];m=H[a+88>>2];f=g<<3;g=m+f|0;d=H[g+4>>2];l=i<<3;i=l+m|0;m=H[i+4>>2];t=H[g>>2];g=H[i>>2]-t|0;u=H[c+4>>2];r=H[h+4>>2]-u|0;v=0-r|0;i=m-d|0;h=j-e|0;c=sb(g,v,64)+sb(i,h,64)|0;j=c>>31;r=sb(g,h,64)+sb(i,r,64)|0;m=r>>31;T:{if(((m^r)-m|0)<(N((c^j)-j|0,19)|0)){e=sb(e-t|0,v,64)+sb(u-d|0,h,64)|0;d=sb(e,g,c);e=sb(e,i,c);c=H[a+124>>2];f=f+H[a+88>>2]|0;H[c+(b<<3)>>2]=d+H[f>>2];e=e+H[f+4>>2]|0;break T}c=H[a+124>>2];e=H[a+52>>2];d=e+q|0;g=H[a+88>>2];i=g+l|0;f=f+g|0;e=e+s|0;H[c+(b<<3)>>2]=((H[d>>2]+(H[i>>2]+H[f>>2]|0)|0)+H[e>>2]|0)/4;e=(H[e+4>>2]+(H[d+4>>2]+(H[i+4>>2]+H[f+4>>2]|0)|0)|0)/4|0}H[((b<<3)+c|0)+4>>2]=e;b=b+H[a+132>>2]|0;F[b|0]=I[b|0]|24;break s;case 16:G[a+288>>1]=H[d>>2];break s;case 17:G[a+290>>1]=H[d>>2];break s;case 18:G[a+292>>1]=H[d>>2];break s;case 19:b=x;U:{switch(H[d>>2]){default:if(!I[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break U}}c=H[b+4>>2];H[o>>2]=H[b>>2];H[o+4>>2]=c;H[o+32>>2]=H[b+32>>2];c=H[b+28>>2];H[o+24>>2]=H[b+24>>2];H[o+28>>2]=c;c=H[b+20>>2];H[o+16>>2]=H[b+16>>2];H[o+20>>2]=c;c=H[b+12>>2];H[o+8>>2]=H[b+8>>2];H[o+12>>2]=c;G[a+348>>1]=H[d>>2];break s;case 20:b=x;V:{switch(H[d>>2]){default:if(!I[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break V}}c=H[b+4>>2];H[n>>2]=H[b>>2];H[n+4>>2]=c;H[n+32>>2]=H[b+32>>2];c=H[b+28>>2];H[n+24>>2]=H[b+24>>2];H[n+28>>2]=c;c=H[b+20>>2];H[n+16>>2]=H[b+16>>2];H[n+20>>2]=c;c=H[b+12>>2];H[n+8>>2]=H[b+8>>2];H[n+12>>2]=c;G[a+350>>1]=H[d>>2];break s;case 21:b=x;W:{switch(H[d>>2]){default:if(!I[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break W}}c=H[b+4>>2];H[p>>2]=H[b>>2];H[p+4>>2]=c;H[p+32>>2]=H[b+32>>2];c=H[b+28>>2];H[p+24>>2]=H[b+24>>2];H[p+28>>2]=c;c=H[b+20>>2];H[p+16>>2]=H[b+16>>2];H[p+20>>2]=c;c=H[b+12>>2];H[p+8>>2]=H[b+8>>2];H[p+12>>2]=c;G[a+352>>1]=H[d>>2];break s;case 22:b=x;X:{switch(H[d>>2]){default:if(!I[a+565|0]){break s}h=134;break j;case 1:b=y;break;case 0:break X}}c=H[b+4>>2];H[o>>2]=H[b>>2];H[o+4>>2]=c;H[o+32>>2]=H[b+32>>2];c=H[b+28>>2];H[o+24>>2]=H[b+24>>2];H[o+28>>2]=c;c=H[b+20>>2];H[o+16>>2]=H[b+16>>2];H[o+20>>2]=c;c=H[b+12>>2];H[o+8>>2]=H[b+8>>2];H[o+12>>2]=c;H[n+32>>2]=H[b+32>>2];c=H[b+28>>2];H[n+24>>2]=H[b+24>>2];H[n+28>>2]=c;c=H[b+20>>2];H[n+16>>2]=H[b+16>>2];H[n+20>>2]=c;c=H[b+12>>2];H[n+8>>2]=H[b+8>>2];H[n+12>>2]=c;c=H[b+4>>2];H[n>>2]=H[b>>2];H[n+4>>2]=c;H[p+32>>2]=H[b+32>>2];c=H[b+28>>2];H[p+24>>2]=H[b+24>>2];H[p+28>>2]=c;c=H[b+20>>2];H[p+16>>2]=H[b+16>>2];H[p+20>>2]=c;c=H[b+12>>2];H[p+8>>2]=H[b+8>>2];H[p+12>>2]=c;c=H[b+4>>2];H[p>>2]=H[b>>2];H[p+4>>2]=c;b=J[d>>1];G[a+352>>1]=b;G[a+350>>1]=b;G[a+348>>1]=b;break s;case 23:b=H[d>>2];if((b|0)<0){h=132;break j}H[a+308>>2]=b>>>0<65535?b:65535;break s;case 24:H[a+572>>2]=100;H[a+316>>2]=1;break s;case 25:H[a+572>>2]=101;H[a+316>>2]=0;break s;case 26:H[a+312>>2]=H[d>>2];break s;case 27:b=H[a+364>>2];c=H[a+368>>2];e=1;while(1){b=b+f|0;H[a+364>>2]=b;if((b|0)>=(c|0)){h=131;break j}d=I[b+j|0];F[a+372|0]=d;f=F[d+96128|0];H[a+376>>2]=f;if((d&254)==64){g=b+1|0;if((g|0)>=(c|0)){h=131;break j}f=2-N(I[g+j|0],f)|0;H[a+376>>2]=f}if((c|0)<(b+f|0)){h=131;break j}Y:{switch(d-88|0){case 0:e=e+1|0;if(e){continue}break s;case 1:e=e-1|0;break;default:break Y}}if(e){continue}break};break s;case 28:b=132;e=c;c=H[d>>2];Z:{if(!(e|c)){break Z}c=c+H[a+364>>2]|0;H[a+364>>2]=c;if((c|0)<0){break Z}e=H[a+432>>2];if((e|0)>0&(c|0)>H[H[(H[a+440>>2]+(e<<4)|0)-4>>2]+8>>2]){break Z}F[a+380|0]=0;if(H[d>>2]>=0){break s}c=H[a+628>>2]+1|0;H[a+628>>2]=c;b=139;if(c>>>0<=K[a+632>>2]){break s}}H[a+12>>2]=b;break r;case 29:H[a+324>>2]=H[d>>2];break s;case 30:H[a+328>>2]=H[d>>2];break s;case 31:Q=a,R=ib(H[d>>2],H[a+264>>2]),H[Q+332>>2]=R;break s;case 32:H[d+4>>2]=H[d>>2];break s;case 34:H[a+32>>2]=0;break s;case 35:Q=d,R=MM(H[d>>2],H[d+4>>2]),H[Q>>2]=R;H[d+4>>2]=Xa;break s;case 36:H[d>>2]=H[a+16>>2];break s;case 37:b=H[d>>2];_:{if(!((b|0)>0&(b|0)<=(c|0))){b=0;if(!I[a+565|0]){break _}H[a+12>>2]=134;H[d>>2]=0;break s}b=H[(c-b<<2)+g>>2]}H[d>>2]=b;break s;case 38:b=H[d>>2];if(!((b|0)>0&(b|0)<=(c|0))){if(!I[a+565|0]){break s}h=134;break j}c=(c-b<<2)+g|0;e=H[c>>2];Yb(c,c+4|0,(b<<2)-4|0);H[(H[a+24>>2]+(H[a+28>>2]<<2)|0)-4>>2]=e;break s;case 39:$:{b=J[d>>1];if(b>>>0>1]){c=J[d+4>>1];if(c>>>0>1]){break $}}if(!I[a+565|0]){break s}h=134;break j}d=b;e=H[a+52>>2]+(c<<3)|0;b=H[a+88>>2]+(b<<3)|0;b=(Ya[H[a+576>>2]](a,H[e>>2]-H[b>>2]|0,H[e+4>>2]-H[b+4>>2]|0)|0)/2|0;Ya[H[a+588>>2]](a,n,d,b);Ya[H[a+588>>2]](a,o,c,0-b|0);break s;case 40:Ge(a);break s;case 41:b=J[d>>1];if(b>>>0>=J[a+44>>1]){if(!I[a+565|0]){break s}h=134;break j}b=b+H[a+60>>2]|0;c=b;d=I[b|0];b=J[a+302>>1]?-9:-1;F[c|0]=d&(J[a+304>>1]?b&239:b);break s;case 42:b=134;f=H[d+4>>2];c=H[a+424>>2]+1|0;aa:{if(f>>>0>=c>>>0){break aa}e=H[a+408>>2];g=H[a+400>>2];ba:{if((g|0)==(c|0)){c=e+N(f,24)|0;if((f|0)==H[(e?c:0)+12>>2]){break ba}}c=e;e=c?c+N(g,24)|0:0;ca:{if(c>>>0>=e>>>0){break ca}while(1){if((f|0)==H[c+12>>2]){break ca}c=c+24|0;if(e>>>0>c>>>0){continue}break}}if((c|0)==(e|0)){break aa}}if(!I[c+16|0]){break aa}b=130;e=H[a+432>>2];if((e|0)>=H[a+436>>2]){break aa}if(H[d>>2]<=0){break s}b=H[a+440>>2]+(e<<4)|0;H[b>>2]=H[a+356>>2];H[b+4>>2]=H[a+364>>2]+1;f=H[d>>2];H[b+12>>2]=c;H[b+8>>2]=f;H[a+432>>2]=e+1;b=H[c>>2];da:{if(b-4>>>0<=4294967292){H[a+12>>2]=132;break da}e=(b-1<<3)+a|0;f=H[e+448>>2];if(!f){H[a+12>>2]=138;break da}e=H[e+452>>2];c=H[c+4>>2];if((e|0)<(c|0)){H[a+12>>2]=131;break da}H[a+368>>2]=e;H[a+360>>2]=f;H[a+364>>2]=c;H[a+356>>2]=b}F[a+380|0]=0;c=H[a+620>>2]+H[d>>2]|0;H[a+620>>2]=c;b=139;if(c>>>0<=K[a+624>>2]){break s}}H[a+12>>2]=b;break r;case 43:h=134;b=H[a+424>>2]+1|0;e=H[d>>2];if(b>>>0<=e>>>0){break j}c=H[a+408>>2];if(!c){break j}f=H[a+400>>2];ea:{if((f|0)==(b|0)){b=c+N(e,24)|0;if((e|0)==H[b+12>>2]){break ea}}d=c+N(f,24)|0;b=c;fa:{if((f|0)<=0){break fa}while(1){if((e|0)==H[b+12>>2]){break fa}b=b+24|0;if(d>>>0>b>>>0){continue}break}}if((b|0)==(d|0)){break j}}if(!I[b+16|0]){break j}h=130;e=H[a+432>>2];if((e|0)>=H[a+436>>2]){break j}c=H[a+440>>2]+(e<<4)|0;H[c>>2]=H[a+356>>2];f=H[a+364>>2];H[c+12>>2]=b;H[c+8>>2]=1;H[c+4>>2]=f+1;H[a+432>>2]=e+1;c=H[b>>2];ga:{if(c-4>>>0<=4294967292){H[a+12>>2]=132;break ga}e=(c-1<<3)+a|0;f=H[e+448>>2];if(!f){H[a+12>>2]=138;break ga}e=H[e+452>>2];b=H[b+4>>2];if((e|0)<(b|0)){H[a+12>>2]=131;break ga}H[a+368>>2]=e;H[a+360>>2]=f;H[a+364>>2]=b;H[a+356>>2]=c}F[a+380|0]=0;break s;case 44:g=H[a+356>>2];if((g|0)==3){h=156;break j}b=H[a+408>>2];ha:{ia:{if(!b){e=H[a+400>>2];h=H[d>>2];c=0;break ia}e=H[a+400>>2];c=N(e,24)+b|0;h=H[d>>2];ja:{if((e|0)<=0){break ja}while(1){if(H[b+12>>2]==(h|0)){break ja}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ha}}if(K[a+404>>2]<=e>>>0){h=140;break j}H[a+400>>2]=e+1;b=c}if(h>>>0>65535){h=140;break j}H[b+12>>2]=h;H[b>>2]=g;c=H[a+364>>2];H[b+20>>2]=0;G[b+16>>1]=1;H[b+4>>2]=c+1;if(K[a+424>>2]>>0){H[a+424>>2]=h}d=H[a+368>>2];while(1){c=c+f|0;H[a+364>>2]=c;if((c|0)>=(d|0)){h=131;break j}e=I[c+j|0];F[a+372|0]=e;f=F[e+96128|0];H[a+376>>2]=f;if((e&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-N(I[g+j|0],f)|0;H[a+376>>2]=f}if((d|0)<(c+f|0)){h=131;break j}h=137;ka:{switch(e-44|0){case 1:H[b+8>>2]=c;break s;case 0:break j;default:break ka}}if((e|0)!=137){continue}break};break j;case 33:case 89:case 126:case 127:H[a+16>>2]=e;break q;default:if(i>>>0>=224){c=H[d+4>>2];b=0;la:{ma:{f=H[d>>2];e=f&65535;na:{if(e>>>0>=J[a+80>>1]){break na}d=c+1|0;if(d>>>0>=H[a+384>>2]+1>>>0){break na}if(J[a+288>>1]>1]){break ma}}if(!I[a+565|0]){break la}H[a+12>>2]=134;break la}if(d){b=Ya[H[a+600>>2]](a,c)|0}c=H[a+332>>2];g=b-c|0;d=g>>31;b=H[a+328>>2]>((d^g)-d|0)?(b|0)>=0?c:0-c|0:b;if(!J[a+350>>1]){d=G[a+302>>1];c=d>>31;i=(c^d)-c|0;c=b>>31;h=(c^b)-c|0;j=h>>>16|0;m=N(i,j);g=m<<16|8192;q=e<<3;c=q+H[a+84>>2]|0;s=H[a+48>>2]+(J[a+288>>1]<<3)|0;l=g;r=i;i=h&65535;g=g+N(r,i)|0;g=(m>>>16|0)+(l>>>0>g>>>0)<<18|g>>>14;H[c>>2]=H[s>>2]+((b^d)>=0?g:0-g|0);d=G[a+304>>1];g=d>>31;h=(d^g)-g|0;j=N(h,j);g=j<<16|8192;m=g;g=g+N(h,i)|0;g=(j>>>16|0)+(m>>>0>g>>>0)<<18|g>>>14;H[c+4>>2]=H[s+4>>2]+((b^d)>=0?g:0-g|0);g=H[c+4>>2];d=q+H[a+88>>2]|0;H[d>>2]=H[c>>2];H[d+4>>2]=g}e=e<<3;c=e+H[a+84>>2]|0;d=H[a+48>>2]+(J[a+288>>1]<<3)|0;c=Ya[H[a+580>>2]](a,H[c>>2]-H[d>>2]|0,H[c+4>>2]-H[d+4>>2]|0)|0;e=e+H[a+88>>2]|0;d=H[a+52>>2]+(J[a+288>>1]<<3)|0;g=Ya[H[a+576>>2]](a,H[e>>2]-H[d>>2]|0,H[e+4>>2]-H[d+4>>2]|0)|0;b=I[a+320|0]?(b^c)<0?0-b|0:b:b;e=I[a+372|0];oa:{if(e&4){if(J[a+348>>1]==J[a+350>>1]){i=b-c|0;d=i>>31;b=H[a+324>>2]<((d^i)-d|0)?c:b}b=Ya[H[a+572>>2]](a,b,e&3)|0;e=I[a+372|0];break oa}d=H[(((e&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+d|0;b=(b|0)>0?b:0;break oa}b=b-d|0;b=b>>31&b}d=a+72|0;pa:{if(!(e&8)){break pa}e=H[a+312>>2];if((c|0)>=0){b=(b|0)>(e|0)?b:e;break pa}c=0-e|0;b=(b|0)<(c|0)?b:c}Ya[H[a+588>>2]](a,d,f&65535,b-g|0)}G[a+290>>1]=J[a+288>>1];if(I[a+372|0]&16){G[a+288>>1]=f}G[a+292>>1]=f;break s}if(i>>>0>=192){qa:{ra:{f=H[d>>2];d=f&65535;if(d>>>0>1]){b=J[a+288>>1];if(b>>>0>1]){break ra}}if(!I[a+565|0]){break qa}H[a+12>>2]=134;break qa}sa:{if(!(J[a+350>>1]?J[a+348>>1]:0)){c=H[a+84>>2]+(d<<3)|0;b=H[a+48>>2]+(b<<3)|0;b=Ya[H[a+580>>2]](a,H[c>>2]-H[b>>2]|0,H[c+4>>2]-H[b+4>>2]|0)|0;break sa}b=H[a+56>>2]+(b<<3)|0;c=H[a+92>>2]+(d<<3)|0;e=H[a+224>>2];if((e|0)==H[a+228>>2]){b=ib(Ya[H[a+580>>2]](a,H[c>>2]-H[b>>2]|0,H[c+4>>2]-H[b+4>>2]|0)|0,H[a+224>>2]);break sa}b=(R=a,S=ib(H[c>>2]-H[b>>2]|0,e),T=ib(H[c+4>>2]-H[b+4>>2]|0,H[a+228>>2]),Q=H[a+580>>2],Ya[Q](R|0,S|0,T|0)|0)}e=H[a+328>>2];ta:{if((e|0)<=0){break ta}c=H[a+332>>2];if((c+e|0)<=(b|0)|(c-e|0)>=(b|0)){break ta}b=(b|0)>=0?c:0-c|0}e=I[a+372|0];ua:{if(e&4){c=Ya[H[a+572>>2]](a,b,e&3)|0;e=I[a+372|0];break ua}c=H[(((e&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break ua}c=b-c|0;c=c>>31&c}g=a+72|0;va:{if(!(e&8)){break va}e=H[a+312>>2];if((b|0)>=0){c=(c|0)>(e|0)?c:e;break va}b=0-e|0;c=(b|0)>(c|0)?c:b}e=c;b=H[a+88>>2]+(d<<3)|0;c=H[a+52>>2]+(J[a+288>>1]<<3)|0;T=a,S=g,R=f&65535,U=e-(Ya[H[a+576>>2]](a,H[b>>2]-H[c>>2]|0,H[b+4>>2]-H[c+4>>2]|0)|0)|0,Q=H[a+588>>2],Ya[Q](T|0,S|0,R|0,U|0)}G[a+292>>1]=f;G[a+290>>1]=J[a+288>>1];if(I[a+372|0]&16){G[a+288>>1]=f}break s}if(i>>>0>=184){b=I[a+372|0]+65353&65535;if(b>>>0>=(H[a+20>>2]-H[a+16>>2]|0)+1>>>0){H[a+12>>2]=130;break s}e=H[a+364>>2];c=e+1|0;H[a+364>>2]=c;wa:{if(!b){break wa}H[a+364>>2]=e+3;g=c;c=H[a+360>>2];H[d>>2]=(I[g+c|0]<<8|I[(c+e|0)+2|0])<<16>>16;e=1;if((b|0)==1){break wa}f=b-1|0;g=f&1;if((b|0)!=2){f=f&-2;b=0;while(1){i=H[a+364>>2];H[a+364>>2]=i+2;h=d+(e<<2)|0;i=c+i|0;i=I[i|0]|I[i+1|0]<<8;H[h>>2]=(i<<8|i>>>8)<<16>>16;i=H[a+364>>2];H[a+364>>2]=i+2;i=c+i|0;i=I[i|0]|I[i+1|0]<<8;H[h+4>>2]=(i<<8|i>>>8)<<16>>16;e=e+2|0;b=b+2|0;if((f|0)!=(b|0)){continue}break}}if(!g){break wa}b=H[a+364>>2];H[a+364>>2]=b+2;b=b+c|0;b=I[b|0]|I[b+1|0]<<8;H[d+(e<<2)>>2]=(b<<8|b>>>8)<<16>>16}F[a+380|0]=0;break s}if(i>>>0>=176){e=I[a+372|0]+65361|0;b=e&65535;if(b>>>0<(H[a+20>>2]-H[a+16>>2]|0)+1>>>0){if(b){f=H[a+360>>2];b=1;c=1;while(1){H[(d+(b<<2)|0)-4>>2]=I[f+(H[a+364>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(e&65535)>>>0){continue}break}}break s}H[a+12>>2]=130;break s}Ge(a);break s;case 146:if(H[H[a>>2]+736>>2]){H[d>>2]=17;break s}Ge(a);break s;case 145:if(H[H[a>>2]+736>>2]){i=0;h=0;c=H[H[a>>2]+736>>2];b=H[c>>2];if(b>>>0>=(H[a+20>>2]-H[a+16>>2]|0)+1>>>0){H[a+12>>2]=130;break s}e=H[c+8>>2];xa:{if(e){if(!b){break xa}c=0;if(b-1>>>0>=3){g=b&-4;while(1){f=c<<2;H[f+d>>2]=H[e+f>>2]>>2;j=f|4;H[j+d>>2]=H[e+j>>2]>>2;j=f|8;H[j+d>>2]=H[e+j>>2]>>2;f=f|12;H[f+d>>2]=H[e+f>>2]>>2;c=c+4|0;h=h+4|0;if((g|0)!=(h|0)){continue}break}}b=b&3;if(!b){break xa}while(1){f=c<<2;H[f+d>>2]=H[e+f>>2]>>2;c=c+1|0;i=i+1|0;if((b|0)!=(i|0)){continue}break}break xa}if(!b){break xa}kb(d,0,b<<2)}break s}Ge(a);break s;case 143:case 144:Ge(a);break s;case 142:c=H[d+4>>2];if(c-4>>>0<=4294967292){if(!I[a+565|0]){break s}h=134;break j}b=H[d>>2];e=1<>2]+96>>2]+64>>2]!=40){break s}F[a+615|0]=(b|0)!=4;break s;case 141:b=H[d>>2];if((b|0)<0){break s}H[a+344>>2]=b&65535;break s;case 140:b=H[d+4>>2];if((b|0)>=H[d>>2]){break s}H[d>>2]=b;break s;case 139:b=H[d+4>>2];if((b|0)<=H[d>>2]){break s}H[d>>2]=b;break s;case 138:b=H[d+8>>2];c=H[d+4>>2];H[d+8>>2]=H[d>>2];H[d>>2]=c;H[d+4>>2]=b;break s;case 137:g=H[a+356>>2];if((g|0)==3){h=156;break j}e=H[a+412>>2];b=H[a+420>>2];ya:{za:{if(!b){c=0;break za}c=N(e,24)+b|0;Aa:{if((e|0)<=0){break Aa}i=H[d>>2];while(1){if((i|0)==H[b+12>>2]){break Aa}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ya}}if(e>>>0>=K[a+416>>2]){h=141;break j}H[a+412>>2]=e+1;b=c}c=H[d>>2];if(c>>>0>255){h=141;break j}H[b+12>>2]=c;c=H[a+364>>2];F[b+16|0]=1;H[b>>2]=g;H[b+4>>2]=c+1;e=H[d>>2];if(e>>>0>K[a+428>>2]){H[a+428>>2]=e&255}d=H[a+368>>2];while(1){c=c+f|0;H[a+364>>2]=c;if((c|0)>=(d|0)){h=131;break j}e=I[c+j|0];F[a+372|0]=e;f=F[e+96128|0];H[a+376>>2]=f;if((e&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-N(I[g+j|0],f)|0;H[a+376>>2]=f}if((d|0)<(c+f|0)){h=131;break j}h=137;Ba:{switch(e-44|0){default:if((e|0)!=137){continue}break j;case 0:break j;case 1:break Ba}}break};H[b+8>>2]=c;break s;case 136:b=0;c=H[d>>2];b=c&1?H[H[H[a>>2]+96>>2]+64>>2]:b;b=c&2?I[a+285|0]?b|256:b:b;b=c&4?I[a+286|0]?b|512:b:b;b=c&8?H[H[a>>2]+736>>2]?b|1024:b:b;b=c&32?I[a+612|0]?b|4096:b:b;Ca:{if(!I[a+613|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40){break Ca}e=c<<7;b=e&8192|b;if(c&256){b=I[a+614|0]?b|32768:b}b=e&393216|b;if(!(c&4096)){break Ca}b=I[a+618|0]?b|524288:b}H[d>>2]=b;break s;case 134:case 135:Da:{b=J[d>>1];if(b>>>0>1]){c=J[d+4>>1];if(c>>>0>1]){break Da}}if(!I[a+565|0]){break s}h=134;break j}e=b<<3;f=e+H[a+84>>2]|0;d=H[f+4>>2];g=c<<3;c=g+H[a+120>>2]|0;h=H[c+4>>2];b=d-h|0;f=H[f>>2];j=H[c>>2];c=(f|0)==(j|0)&(d|0)==(h|0);f=c?16384:f-j|0;c=c|!(i&1);d=c?b:f;b=c?f:0-b|0;if(d|b){H[k+28>>2]=d;H[k+24>>2]=b;pf(k+24|0);G[a+294>>1]=H[k+24>>2]/4;G[a+296>>1]=H[k+28>>2]/4}e=e+H[a+88>>2]|0;f=H[e+4>>2];d=g+H[a+124>>2]|0;g=H[d+4>>2];b=f-g|0;i=H[e>>2];d=H[d>>2];e=(i|0)==(d|0)&(f|0)==(g|0);f=e?16384:i-d|0;c=c|e;e=c?b:f;b=c?f:0-b|0;if(e|b){H[k+28>>2]=e;H[k+24>>2]=b;pf(k+24|0);G[a+298>>1]=H[k+24>>2]/4;G[a+300>>1]=H[k+28>>2]/4}e=J[a+302>>1];Ea:{if((e|0)==16384){b=G[a+298>>1];H[a+568>>2]=b;h=b;break Ea}b=G[a+304>>1];if((b|0)==16384){b=G[a+300>>1];H[a+568>>2]=b;h=J[a+298>>1];break Ea}h=G[a+298>>1];b=N(b,G[a+300>>1])+N(h,e<<16>>16)>>14;H[a+568>>2]=b}c=90;H[a+576>>2]=(h&65535)!=16384?J[a+300>>1]==16384?91:92:90;c=J[a+294>>1]!=16384?J[a+296>>1]==16384?91:93:c;H[a+592>>2]=94;H[a+588>>2]=95;H[a+580>>2]=c;Fa:{if((b|0)!=16384){break Fa}Ga:{if((e|0)==16384){f=97;c=96;break Ga}if(J[a+304>>1]!=16384){break Fa}f=99;c=98}H[a+592>>2]=c;H[a+588>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){H[a+568>>2]=16384}H[a+260>>2]=0;break s;case 133:b=H[d>>2];c=b&255;if((c|0)==255){F[a+341|0]=1;break s}if(!c){F[a+341|0]=0;break s}if(!(!(b&256)|c>>>0>1])){F[a+341|0]=1}if(!(!(b&512)|!I[a+285|0])){F[a+341|0]=1}if(!(!(b&1024)|!I[a+286|0])){F[a+341|0]=1}if(!(!(b&2048)|c>>>0>=J[a+256>>1])){F[a+341|0]=0}if(!(!(b&4096)|!I[a+285|0])){F[a+341|0]=0}if(!(b&8192)|!I[a+286|0]){break s}F[a+341|0]=0;break s;case 131:case 132:Ge(a);break s;case 130:if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break s}}Ha:{e=J[d+4>>1];b=J[a+152>>1];if(e>>>0>=b>>>0){break Ha}c=J[d>>1];if(b>>>0<=c>>>0){break Ha}if(c>>>0>e>>>0){break s}f=0;b=c;d=e-b|0;g=d+1&3;if(g){while(1){c=H[a+168>>2]+c|0;F[c|0]=I[c|0]&254;b=b+1|0;c=b&65535;f=f+1|0;if((g|0)!=(f&65535)){continue}break}}if((d&65535)>>>0<3){break s}while(1){c=H[a+168>>2]+c|0;F[c|0]=I[c|0]&254;c=H[a+168>>2]+(b+1&65535)|0;F[c|0]=I[c|0]&254;c=H[a+168>>2]+(b+2&65535)|0;F[c|0]=I[c|0]&254;c=H[a+168>>2]+(b+3&65535)|0;F[c|0]=I[c|0]&254;b=b+4|0;c=b&65535;if(e>>>0>=c>>>0){continue}break}break s}if(!I[a+565|0]){break s}h=134;break j;case 129:if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break s}}Ia:{e=J[d+4>>1];b=J[a+152>>1];if(e>>>0>=b>>>0){break Ia}c=J[d>>1];if(b>>>0<=c>>>0){break Ia}if(c>>>0>e>>>0){break s}f=0;b=c;d=e-b|0;g=d+1&3;if(g){while(1){c=H[a+168>>2]+c|0;F[c|0]=I[c|0]|1;b=b+1|0;c=b&65535;f=f+1|0;if((g|0)!=(f&65535)){continue}break}}if((d&65535)>>>0<3){break s}while(1){c=H[a+168>>2]+c|0;F[c|0]=I[c|0]|1;c=H[a+168>>2]+(b+1&65535)|0;F[c|0]=I[c|0]|1;c=H[a+168>>2]+(b+2&65535)|0;F[c|0]=I[c|0]|1;c=H[a+168>>2]+(b+3&65535)|0;F[c|0]=I[c|0]|1;b=b+4|0;c=b&65535;if(e>>>0>=c>>>0){continue}break}break s}if(!I[a+565|0]){break s}h=134;break j;case 128:Ja:{if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break Ja}}Ka:{b=H[a+308>>2];if((b|0)<=H[a+16>>2]){if((b|0)>0){break Ka}break Ja}if(!I[a+565|0]){break Ja}H[a+12>>2]=129;break Ja}while(1){c=c-1|0;H[a+28>>2]=c;c=J[(c<<2)+g>>1];La:{if(c>>>0>=J[a+152>>1]){if(!I[a+565|0]){break La}h=134;break j}b=c+H[a+168>>2]|0;F[b|0]=I[b|0]^1;b=H[a+308>>2]}e=b-1|0;H[a+308>>2]=e;c=H[a+28>>2];if((b|0)<2){break Ja}g=H[a+24>>2];b=e;continue}}H[a+32>>2]=c;H[a+308>>2]=1;break s;case 125:H[a+572>>2]=102;H[a+316>>2]=3;break s;case 124:H[a+572>>2]=103;H[a+316>>2]=4;break s;case 123:Ge(a);break s;case 122:H[a+572>>2]=104;H[a+316>>2]=5;break s;case 121:if(H[d+4>>2]){break s}b=132;e=c;c=H[d>>2];Ma:{if(!(e|c)){break Ma}c=c+H[a+364>>2]|0;H[a+364>>2]=c;if((c|0)<0){break Ma}e=H[a+432>>2];if((e|0)>0&(c|0)>H[H[(H[a+440>>2]+(e<<4)|0)-4>>2]+8>>2]){break Ma}F[a+380|0]=0;if(H[d>>2]>=0){break s}c=H[a+628>>2]+1|0;H[a+628>>2]=c;b=139;if(c>>>0<=K[a+632>>2]){break s}}H[a+12>>2]=b;break r;case 120:if(!H[d+4>>2]){break s}b=132;e=c;c=H[d>>2];Na:{if(!(e|c)){break Na}c=c+H[a+364>>2]|0;H[a+364>>2]=c;if((c|0)<0){break Na}e=H[a+432>>2];if((e|0)>0&(c|0)>H[H[(H[a+440>>2]+(e<<4)|0)-4>>2]+8>>2]){break Na}F[a+380|0]=0;if(H[d>>2]>=0){break s}c=H[a+628>>2]+1|0;H[a+628>>2]=c;b=139;if(c>>>0<=K[a+632>>2]){break s}}H[a+12>>2]=b;break r;case 119:e=H[d>>2];c=e>>>4|0;b=H[(c&12)+98200>>2];Oa:{Pa:{Qa:{Ra:{c=c&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=b>>>10|0;break Oa}c=b>>>9|0;break Oa}c=N(b,3)>>>10|0}H[a+484>>2]=c;H[a+572>>2]=105;H[a+316>>2]=7;c=e&15;if(c){c=(N(b,c-4|0)|0)/8|0}else{c=b-1|0}H[a+488>>2]=c>>8;H[a+480>>2]=b>>>8;break s;case 118:e=H[d>>2];c=e>>>4|0;b=H[(c&12)+98184>>2];Sa:{Ta:{Ua:{Va:{c=c&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=b>>>10|0;break Sa}c=b>>>9|0;break Sa}c=N(b,3)>>>10|0}H[a+484>>2]=c;H[a+572>>2]=106;H[a+316>>2]=6;c=e&15;if(c){c=(N(b,c-4|0)|0)/8|0}else{c=b-1|0}H[a+488>>2]=c>>8;H[a+480>>2]=b>>>8;break s;case 115:case 116:case 117:e=Ya[H[a+596>>2]](a)|0;c=1;f=H[d>>2];Wa:{if(!f){break Wa}while(1){b=H[a+28>>2];if((b|0)<=1){if(I[a+565|0]){H[a+12>>2]=129}H[a+28>>2]=0;break Wa}d=b-2|0;H[a+28>>2]=d;g=b<<2;b=H[a+24>>2];g=H[(g+b|0)-4>>2];Xa:{if(g>>>0>=K[a+384>>2]){if(!I[a+565|0]){break Xa}h=134;break j}d=H[b+(d<<2)>>2];b=d>>>4&15;Ya:{Za:{switch(I[a+372|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((e|0)!=(J[a+336>>1]+b|0)){break Xa}b=d&15;Ya[H[a+608>>2]](a,g,(b>>>0>7?-7:-8)+b<<6-J[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}H[a+32>>2]=H[a+28>>2];break s;case 113:case 114:pm(a,d);break s;case 112:b=H[d>>2];if(b>>>0>=K[a+384>>2]){if(!I[a+565|0]){break s}h=134;break j}c=ib(H[d+4>>2],H[a+264>>2]);H[H[a+388>>2]+(b<<2)>>2]=c;break s;case 108:case 109:case 110:case 111:b=H[(((i&3)<<2)+a|0)+268>>2];c=H[d>>2];if((c|0)>=0){b=b+c|0;H[d>>2]=(b|0)>0?b:0;break s}b=c-b|0;H[d>>2]=b>>31&b;break s;case 104:case 105:case 106:case 107:Q=d,U=Ya[H[a+572>>2]](a,H[d>>2],i&3)|0,H[Q>>2]=U;break s;case 103:H[d>>2]=H[d>>2]+63&-64;break s;case 102:H[d>>2]=H[d>>2]&-64;break s;case 101:H[d>>2]=0-H[d>>2];break s;case 100:b=H[d>>2];if((b|0)>=0){break s}H[d>>2]=0-b;break s;case 99:Q=d,U=sb(H[d>>2],H[d+4>>2],64),H[Q>>2]=U;break s;case 98:b=H[d+4>>2];if(!b){h=133;break j}Q=d,U=pj(H[d>>2],64,b),H[Q>>2]=U;break s;case 97:H[d>>2]=H[d>>2]-H[d+4>>2];break s;case 96:H[d>>2]=H[d+4>>2]+H[d>>2];break s;case 95:b=H[d>>2];if(b>>>0>6){h=132;break j}G[a+338>>1]=b;break s;case 94:G[a+336>>1]=H[d>>2];break s;case 93:pm(a,d);break s;case 92:H[d>>2]=!H[d>>2];break s;case 91:H[d>>2]=H[d>>2]?1:H[d+4>>2]!=0;break s;case 90:if(!H[d>>2]){H[d>>2]=0;break s}H[d>>2]=H[d+4>>2]!=0;break s;case 88:if(H[d>>2]){break s}c=H[a+364>>2];e=H[a+368>>2];l=1;_a:while(1){c=c+f|0;H[a+364>>2]=c;$a:{if((l|0)==1){if((c|0)>=(e|0)){h=131;break j}b=I[c+j|0];F[a+372|0]=b;f=F[b+96128|0];H[a+376>>2]=f;if((b&254)==64){d=c+1|0;if((d|0)>=(e|0)){h=131;break j}f=2-N(I[d+j|0],f)|0;H[a+376>>2]=f}if((e|0)<(c+f|0)){h=131;break j}ab:{switch(b-88|0){case 1:break s;case 0:break $a;default:break ab}}l=1;if((b|0)!=27){continue}break s}if((c|0)>=(e|0)){h=131;break j}bb:{while(1){d=I[c+j|0];F[a+372|0]=d;f=F[d+96128|0];H[a+376>>2]=f;if((d&254)==64){b=c+1|0;if((b|0)>=(e|0)){h=131;break j}f=2-N(I[b+j|0],f)|0;H[a+376>>2]=f}b=c+f|0;if((b|0)>(e|0)){h=131;break j}if((d|0)!=27){switch(d-88|0){case 0:break $a;case 1:break bb;default:continue _a}}H[a+364>>2]=b;c=b;if((b|0)<(e|0)){continue}break}h=131;break j}l=l-1|0;if(l){continue}break s}l=l+1|0;continue};case 87:Q=d,U=!(Ya[H[a+572>>2]](a,H[d>>2],3)&127),H[Q>>2]=U;break s;case 86:Q=d,U=(Ya[H[a+572>>2]](a,H[d>>2],3)&127)==64,H[Q>>2]=U;break s;case 85:H[d>>2]=H[d>>2]!=H[d+4>>2];break s;case 84:H[d>>2]=H[d>>2]==H[d+4>>2];break s;case 83:H[d>>2]=H[d>>2]>=H[d+4>>2];break s;case 82:H[d>>2]=H[d>>2]>H[d+4>>2];break s;case 81:H[d>>2]=H[d>>2]<=H[d+4>>2];break s;case 80:H[d>>2]=H[d>>2]>2];break s;case 78:F[a+320|0]=0;break s;case 77:F[a+320|0]=1;break s;case 76:if(H[H[H[a>>2]+96>>2]+64>>2]==35){Q=d,U=Ya[H[a+596>>2]](a)|0,H[Q>>2]=U;break s}H[d>>2]=H[a+216>>2];break s;case 75:Q=d,U=Ya[H[a+596>>2]](a)|0,H[Q>>2]=U;break s;case 73:case 74:cb:{db:{c=J[d>>1];if(c>>>0>1]){b=J[d+4>>1];if(b>>>0>1]){break db}}b=0;if(!I[a+565|0]){break cb}H[a+12>>2]=134;H[d>>2]=0;break s}if(i&1){c=H[a+52>>2]+(c<<3)|0;b=H[a+88>>2]+(b<<3)|0;Q=d,U=Ya[H[a+576>>2]](a,H[c>>2]-H[b>>2]|0,H[c+4>>2]-H[b+4>>2]|0)|0,H[Q>>2]=U;break s}if(!(J[a+350>>1]?J[a+348>>1]:0)){c=H[a+48>>2]+(c<<3)|0;b=H[a+84>>2]+(b<<3)|0;Q=d,U=Ya[H[a+580>>2]](a,H[c>>2]-H[b>>2]|0,H[c+4>>2]-H[b+4>>2]|0)|0,H[Q>>2]=U;break s}b=H[a+92>>2]+(b<<3)|0;c=H[a+56>>2]+(c<<3)|0;e=H[a+224>>2];if((e|0)==H[a+228>>2]){Q=d,U=ib(Ya[H[a+580>>2]](a,H[c>>2]-H[b>>2]|0,H[c+4>>2]-H[b+4>>2]|0)|0,H[a+224>>2]),H[Q>>2]=U;break s}b=(U=a,R=ib(H[c>>2]-H[b>>2]|0,e),S=ib(H[c+4>>2]-H[b+4>>2]|0,H[a+228>>2]),Q=H[a+580>>2],Ya[Q](U|0,R|0,S|0)|0)}H[d>>2]=b;break s;case 72:b=J[d>>1];if(b>>>0>=J[a+116>>1]){if(!I[a+565|0]){break s}h=134;break j}c=b<<3;e=c+H[a+124>>2]|0;e=Ya[H[a+576>>2]](a,H[e>>2],H[e+4>>2])|0;Ya[H[a+588>>2]](a,p,b,H[d+4>>2]-e|0);if(J[a+352>>1]){break s}b=c+H[a+120>>2]|0;c=c+H[a+124>>2]|0;e=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=e;break s;case 70:case 71:b=H[d>>2];eb:{if(b>>>0>=J[a+116>>1]){b=0;if(!I[a+565|0]){break eb}H[a+12>>2]=134;H[d>>2]=0;break s}if(i&1){b=H[a+120>>2]+(b<<3)|0;Q=d,S=Ya[H[a+580>>2]](a,H[b>>2],H[b+4>>2])|0,H[Q>>2]=S;break s}b=H[a+124>>2]+(b<<3)|0;b=Ya[H[a+576>>2]](a,H[b>>2],H[b+4>>2])|0}H[d>>2]=b;break s;case 69:b=H[d>>2];fb:{if(b>>>0>=K[a+384>>2]){b=0;if(!I[a+565|0]){break fb}h=134;break j}b=Ya[H[a+600>>2]](a,b)|0}H[d>>2]=b;break s;case 68:b=H[d>>2];if(b>>>0>=K[a+384>>2]){if(!I[a+565|0]){break s}h=134;break j}Ya[H[a+604>>2]](a,b,H[d+4>>2]);break s;case 67:b=H[d>>2];gb:{if(b>>>0>=J[a+472>>1]){b=0;if(!I[a+565|0]){break gb}h=134;break j}b=H[H[a+476>>2]+(b<<2)>>2]}H[d>>2]=b;break s;case 66:b=H[d>>2];if(b>>>0>=J[a+472>>1]){if(!I[a+565|0]){break s}h=134;break j}H[H[a+476>>2]+(b<<2)>>2]=H[d+4>>2];break s;case 65:h=130;g=(b-H[a+16>>2]|0)+1|0;b=H[a+364>>2];c=b+j|0;e=I[c+1|0];if(g>>>0<=e>>>0){break j}f=b+2|0;H[a+364>>2]=f;hb:{if(!e){break hb}H[a+364>>2]=b+4;H[d>>2]=(I[c+3|0]|I[f+j|0]<<8)<<16>>16;b=1;if((e|0)==1){break hb}c=e-1|0;f=c&1;if((e|0)!=2){g=c&-2;c=0;while(1){i=H[a+364>>2];H[a+364>>2]=i+2;h=d+(b<<2)|0;i=i+j|0;i=I[i|0]|I[i+1|0]<<8;H[h>>2]=(i<<8|i>>>8)<<16>>16;i=H[a+364>>2];H[a+364>>2]=i+2;i=i+j|0;i=I[i|0]|I[i+1|0]<<8;H[h+4>>2]=(i<<8|i>>>8)<<16>>16;b=b+2|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!f){break hb}c=H[a+364>>2];H[a+364>>2]=c+2;d=d+(b<<2)|0;b=c+j|0;b=I[b|0]|I[b+1|0]<<8;H[d>>2]=(b<<8|b>>>8)<<16>>16}F[a+380|0]=0;H[a+32>>2]=e+H[a+32>>2];break s;case 64:h=130;c=j+H[a+364>>2]|0;e=I[c+1|0];if(e>>>0>=(b-H[a+16>>2]|0)+1>>>0){break j}ib:{if(!e){break ib}b=2;H[d>>2]=I[c+2|0];if((e|0)==1){break ib}c=e-1|0;f=c&1;if((e|0)!=2){g=c&-2;c=0;while(1){i=d+(b<<2)|0;H[i-4>>2]=I[j+(H[a+364>>2]+(b|1)|0)|0];b=b+2|0;H[i>>2]=I[j+(b+H[a+364>>2]|0)|0];c=c+2|0;if((g|0)!=(c|0)){continue}break}}if(!f){break ib}H[(d+(b<<2)|0)-4>>2]=I[(j+(H[a+364>>2]+b|0)|0)+1|0]}H[a+32>>2]=e+H[a+32>>2];break s;case 62:case 63:jb:{kb:{c=J[d>>1];if(c>>>0>1]){b=H[d+4>>2];if(b>>>0>2]){break kb}}if(!I[a+565|0]){break jb}H[a+12>>2]=134;break jb}b=Ya[H[a+600>>2]](a,b)|0;if(!J[a+348>>1]){f=G[a+302>>1];e=f>>31;g=(e^f)-e|0;e=b>>31;i=(e^b)-e|0;h=i>>>16|0;j=N(g,h);d=j<<16|8192;m=c<<3;e=m+H[a+48>>2]|0;q=d;s=g;g=i&65535;d=d+N(s,g)|0;d=(j>>>16|0)+(q>>>0>d>>>0)<<18|d>>>14;H[e>>2]=(b^f)>=0?d:0-d|0;f=G[a+304>>1];d=f>>31;i=(d^f)-d|0;h=N(i,h);d=h<<16|8192;j=d;d=d+N(g,i)|0;d=(h>>>16|0)+(j>>>0>d>>>0)<<18|d>>>14;H[e+4>>2]=(b^f)>=0?d:0-d|0;d=H[e+4>>2];f=m+H[a+52>>2]|0;H[f>>2]=H[e>>2];H[f+4>>2]=d}e=H[a+52>>2]+(c<<3)|0;e=Ya[H[a+576>>2]](a,H[e>>2],H[e+4>>2])|0;if(F[a+372|0]&1){d=b-e|0;f=d>>31;b=Ya[H[a+572>>2]](a,H[a+324>>2]<((d^f)-f|0)?e:b,3)|0}Ya[H[a+588>>2]](a,o,c,b-e|0)}G[a+290>>1]=c;G[a+288>>1]=c;break s;case 61:H[a+572>>2]=107;H[a+316>>2]=2;break s;case 60:lb:{b=H[a+308>>2];if(!(J[a+288>>1]>1]&(b|0)<=H[a+16>>2])){if(!I[a+565|0]){break lb}H[a+12>>2]=134;break lb}if((b|0)<=0){break lb}while(1){c=c-1|0;H[a+28>>2]=c;c=J[(c<<2)+g>>1];mb:{if(c>>>0>=J[a+80>>1]){if(!I[a+565|0]){break mb}h=134;break j}d=c;b=H[a+88>>2]+(c<<3)|0;c=H[a+52>>2]+(J[a+288>>1]<<3)|0;S=a,R=n,U=d,T=0-(Ya[H[a+576>>2]](a,H[b>>2]-H[c>>2]|0,H[b+4>>2]-H[c+4>>2]|0)|0)|0,Q=H[a+588>>2],Ya[Q](S|0,R|0,U|0,T|0);b=H[a+308>>2]}e=b-1|0;H[a+308>>2]=e;c=H[a+28>>2];if((b|0)<2){break lb}g=H[a+24>>2];b=e;continue}}H[a+32>>2]=c;H[a+308>>2]=1;break s;case 58:case 59:nb:{b=J[d>>1];if(b>>>0>1]){c=J[a+288>>1];if(c>>>0>1]){break nb}}if(!I[a+565|0]){break s}h=134;break j}if(!J[a+350>>1]){c=H[a+48>>2]+(c<<3)|0;g=H[c+4>>2];e=b<<3;f=e+H[a+84>>2]|0;H[f>>2]=H[c>>2];H[f+4>>2]=g;Ya[H[a+592>>2]](a,n,b,H[d+4>>2]);c=e+H[a+88>>2]|0;e=e+H[a+84>>2]|0;f=H[e+4>>2];H[c>>2]=H[e>>2];H[c+4>>2]=f;c=J[a+288>>1]}e=H[a+88>>2]+(b<<3)|0;c=H[a+52>>2]+(c<<3)|0;c=Ya[H[a+576>>2]](a,H[e>>2]-H[c>>2]|0,H[e+4>>2]-H[c+4>>2]|0)|0;Ya[H[a+588>>2]](a,n,b,H[d+4>>2]-c|0);G[a+292>>1]=b;G[a+290>>1]=J[a+288>>1];if(!(F[a+372|0]&1)){break s}G[a+288>>1]=b;break s;case 57:ob:{pb:{b=H[a+308>>2];qb:{if((b|0)>H[a+16>>2]){if(I[a+565|0]){break qb}break ob}c=1;c=!J[a+348>>1]|!J[a+350>>1]?c:!J[a+352>>1];e=J[a+290>>1];if(e>>>0>1]){break pb}if(!I[a+565|0]){break ob}}H[a+12>>2]=134;break ob}g=H[(c?48:56)+a>>2];f=e<<3;d=g+f|0;m=H[a+52>>2];i=m+f|0;h=0;f=0;j=J[a+292>>1];if(j>>>0>1]){rb:{if(c){b=H[a+84>>2]+(j<<3)|0;f=Ya[H[a+580>>2]](a,H[b>>2]-H[d>>2]|0,H[b+4>>2]-H[(g+(e<<3)|0)+4>>2]|0)|0;break rb}b=H[a+224>>2];if((b|0)==H[a+228>>2]){b=H[a+92>>2]+(j<<3)|0;f=Ya[H[a+580>>2]](a,H[b>>2]-H[d>>2]|0,H[b+4>>2]-H[(g+(e<<3)|0)+4>>2]|0)|0;break rb}f=(T=a,U=ib(H[H[a+92>>2]+(j<<3)>>2]-H[d>>2]|0,b),R=ib(H[(H[a+92>>2]+(J[a+292>>1]<<3)|0)+4>>2]-H[(g+(e<<3)|0)+4>>2]|0,H[a+228>>2]),Q=H[a+580>>2],Ya[Q](T|0,U|0,R|0)|0)}b=H[a+88>>2]+(J[a+292>>1]<<3)|0;h=Ya[H[a+576>>2]](a,H[b>>2]-H[i>>2]|0,H[b+4>>2]-H[(m+(e<<3)|0)+4>>2]|0)|0;b=H[a+308>>2]}if((b|0)<=0){break ob}e=e<<3;j=e+m|0;e=e+g|0;if(c){while(1){c=H[a+28>>2]-1|0;H[a+28>>2]=c;c=H[H[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=J[a+116>>1]){if(!I[a+565|0]){break sb}h=134;break j}g=c<<3;b=g+H[a+120>>2]|0;b=Ya[H[a+580>>2]](a,H[b>>2]-H[d>>2]|0,H[b+4>>2]-H[e+4>>2]|0)|0;g=g+H[a+124>>2]|0;g=Ya[H[a+576>>2]](a,H[g>>2]-H[i>>2]|0,H[g+4>>2]-H[j+4>>2]|0)|0;m=a;c=c&65535;if(!(!b|!f)){b=sb(b,h,f)}Ya[H[a+588>>2]](m,p,c,b-g|0);b=H[a+308>>2]}c=b;b=c-1|0;H[a+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=H[a+28>>2]-1|0;H[a+28>>2]=c;c=H[H[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=J[a+116>>1]){if(!I[a+565|0]){break tb}h=134;break j}b=H[a+224>>2];ub:{if((b|0)==H[a+228>>2]){b=H[a+128>>2]+(c<<3)|0;b=Ya[H[a+580>>2]](a,H[b>>2]-H[d>>2]|0,H[b+4>>2]-H[e+4>>2]|0)|0;break ub}g=c<<3;b=(R=a,U=ib(H[g+H[a+128>>2]>>2]-H[d>>2]|0,b),T=ib(H[(g+H[a+128>>2]|0)+4>>2]-H[e+4>>2]|0,H[a+228>>2]),Q=H[a+580>>2],Ya[Q](R|0,U|0,T|0)|0)}g=H[a+124>>2]+(c<<3)|0;g=Ya[H[a+576>>2]](a,H[g>>2]-H[i>>2]|0,H[g+4>>2]-H[j+4>>2]|0)|0;m=a;c=c&65535;if(!(!b|!f)){b=sb(b,h,f)}Ya[H[a+588>>2]](m,p,c,b-g|0);b=H[a+308>>2]}c=b;b=c-1|0;H[a+308>>2]=b;if((c|0)>1){continue}break}}H[a+308>>2]=1;H[a+32>>2]=H[a+28>>2];break s;case 56:f=1;f=!J[a+348>>1]|!J[a+350>>1]?f:!J[a+352>>1];vb:{b=H[a+308>>2];if((b|0)>=H[a+16>>2]){if(!I[a+565|0]){break vb}H[a+12>>2]=134;break vb}if((b|0)<=0){break vb}e=G[a+304>>1];i=e>>31;b=H[d>>2];d=b>>31;i=(e^i)-i|0;h=(b^d)-d|0;j=h>>>16|0;m=N(i,j);d=m<<16|8192;q=d;s=i;i=h&65535;d=d+N(s,i)|0;d=(m>>>16|0)+(q>>>0>d>>>0)<<18|d>>>14;h=(b^e)>=0?d:0-d|0;e=G[a+302>>1];d=e>>31;m=j;j=(d^e)-d|0;m=N(m,j);d=m<<16|8192;q=d;d=d+N(i,j)|0;d=(m>>>16|0)+(q>>>0>d>>>0)<<18|d>>>14;e=(b^e)>=0?d:0-d|0;while(1){b=c-1|0;H[a+28>>2]=b;b=J[(b<<2)+g>>1];wb:{if(b>>>0>=J[a+116>>1]){if(!I[a+565|0]){break wb}h=134;break j}xb:{yb:{zb:{Ab:{if(H[H[H[a>>2]+96>>2]+64>>2]==40){if(I[a+615|0]){Bb:{if(f){break Bb}if(I[a+617|0]?I[a+616|0]:0){break wb}if(J[a+304>>1]?I[a+564|0]:0){break Bb}if(!(I[b+H[a+132>>2]|0]&16)){break wb}}if(J[a+302>>1]){c=b+H[a+132>>2]|0;F[c|0]=I[c|0]|8}if(!J[a+304>>1]){break wb}if(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40|(!I[a+616|0]|!I[a+617|0])){break yb}break xb}if(J[a+302>>1]){break Ab}break zb}if(!J[a+302>>1]){break zb}}c=H[a+124>>2]+(b<<3)|0;H[c>>2]=e+H[c>>2];c=b+H[a+132>>2]|0;F[c|0]=I[c|0]|8}if(!J[a+304>>1]){break wb}if(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40)){break yb}if(I[a+617|0]){break xb}}c=H[a+124>>2]+(b<<3)|0;H[c+4>>2]=h+H[c+4>>2]}b=b+H[a+132>>2]|0;F[b|0]=I[b|0]|16}b=H[a+308>>2];H[a+308>>2]=b-1;c=H[a+28>>2];if((b|0)<2){break vb}g=H[a+24>>2];continue}}H[a+32>>2]=c;H[a+308>>2]=1;break s;case 54:case 55:if(K[d>>2]>=2){if(!I[a+565|0]){break s}H[a+12>>2]=134;break s}if(fi(a,k+16|0,k+12|0,k+24|0,k+22|0)){break s}Cb:{Db:{switch(J[a+352>>1]){case 0:b=J[a+116>>1];break Cb;case 1:break Db;default:break s}}b=G[a+118>>1];if((b|0)<=0){break s}b=J[(H[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(b&65535)){break s}c=H[k+12>>2];e=H[k+16>>2];f=H[k+40>>2];d=H[a+124>>2];if((f|0)==(d|0)){d=b&65535;b=0;g=J[k+22>>1];while(1){Eb:{if((b|0)==(g|0)){break Eb}if(!(!J[a+302>>1]|(I[a+615|0]?H[H[H[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;H[i>>2]=e+H[i>>2]}if(!J[a+304>>1]){break Eb}if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break Eb}}i=f+(b<<3)|0;H[i+4>>2]=c+H[i+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break s}f=J[a+302>>1];if(!J[a+304>>1]){if(!f){break s}f=H[H[H[a>>2]+96>>2]+64>>2];c=0;g=b&65535;if((g|0)!=1){g=g&65534;h=0;while(1){if(!(I[a+615|0]?(f|0)==40:0)){i=d+(c<<3)|0;H[i>>2]=e+H[i>>2]}if(!(I[a+615|0]?(f|0)==40:0)){i=d+((c|1)<<3)|0;H[i>>2]=e+H[i>>2]}c=c+2|0;h=h+2|0;if((g|0)!=(h|0)){continue}break}}if(!(b&1)|(I[a+615|0]?(f|0)==40:0)){break s}b=d+(c<<3)|0;H[b>>2]=e+H[b>>2];break s}g=H[H[H[a>>2]+96>>2]+64>>2];if(!f){if((g|0)!=40){e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|8)|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|16)|0;H[h+4>>2]=c+H[h+4>>2];g=d+(g|24)|0;H[g+4>>2]=c+H[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;H[g+4>>2]=c+H[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if(!I[a+615|0]){e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|8)|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|16)|0;H[h+4>>2]=c+H[h+4>>2];g=d+(g|24)|0;H[g+4>>2]=c+H[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;H[g+4>>2]=c+H[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if(!I[a+616|0]){e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|8)|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|16)|0;H[h+4>>2]=c+H[h+4>>2];g=d+(g|24)|0;H[g+4>>2]=c+H[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;H[g+4>>2]=c+H[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if(I[a+617|0]){break s}e=0;f=0;g=b&65535;if(g-1>>>0>=3){i=g&65532;l=0;while(1){g=f<<3;h=g+d|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|8)|0;H[h+4>>2]=c+H[h+4>>2];h=d+(g|16)|0;H[h+4>>2]=c+H[h+4>>2];g=d+(g|24)|0;H[g+4>>2]=c+H[g+4>>2];f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}b=b&3;if(!b){break s}while(1){g=d+(f<<3)|0;H[g+4>>2]=c+H[g+4>>2];f=f+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}break s}if((g|0)==40){b=b&65535;g=I[a+615|0];f=0;while(1){Fb:{Gb:{if(!g){i=d+(f<<3)|0;H[i>>2]=e+H[i>>2];break Gb}if(!I[a+616|0]){break Gb}if(I[a+617|0]){break Fb}}i=d+(f<<3)|0;H[i+4>>2]=c+H[i+4>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break s}h=0;f=b&65535;if((f|0)!=1){g=f&65534;l=0;while(1){i=h<<3;f=i+d|0;H[f>>2]=e+H[f>>2];H[f+4>>2]=c+H[f+4>>2];f=d+(i|8)|0;H[f>>2]=e+H[f>>2];H[f+4>>2]=c+H[f+4>>2];h=h+2|0;l=l+2|0;if((g|0)!=(l|0)){continue}break}}if(!(b&1)){break s}b=d+(h<<3)|0;H[b>>2]=e+H[b>>2];H[b+4>>2]=c+H[b+4>>2];break s;case 52:case 53:b=H[d>>2]<<16;c=b>>16;if(c>>>0>=(J[a+352>>1]?G[a+118>>1]:1)>>>0){if(!I[a+565|0]){break s}H[a+12>>2]=134;break s}if(fi(a,k+16|0,k+12|0,k+24|0,k+22|0)){break s}b=(b?(J[(H[a+136>>2]+(c<<1)|0)-2>>1]-J[a+140>>1]|0)+1|0:0)&65535;if(J[a+352>>1]){c=(J[H[a+136>>2]+(c<<1)>>1]-J[a+140>>1]|0)+1|0}else{c=J[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break s}e=J[k+22>>1];f=H[k+12>>2];d=H[k+16>>2];g=H[k+40>>2];while(1){i=H[a+124>>2];Hb:{if((i|0)==(g|0)&(b|0)==(e|0)){break Hb}if(J[a+302>>1]){if(!(I[a+615|0]?H[H[H[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;H[i>>2]=d+H[i>>2]}i=H[a+132>>2]+b|0;F[i|0]=I[i|0]|8}if(!J[a+304>>1]){break Hb}Ib:{if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break Ib}}i=H[a+124>>2]+(b<<3)|0;H[i+4>>2]=f+H[i+4>>2]}i=H[a+132>>2]+b|0;F[i|0]=I[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break s;case 50:case 51:Jb:{if(H[a+16>>2]>2]){if(!I[a+565|0]){break Jb}H[a+12>>2]=134;break Jb}if(fi(a,k+16|0,k+12|0,k+24|0,k+22|0)){break s}if(H[a+308>>2]<=0){break Jb}c=H[k+12>>2];e=H[k+16>>2];while(1){b=H[a+28>>2]-1|0;H[a+28>>2]=b;b=J[H[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=J[a+116>>1]){if(!I[a+565|0]){break Kb}H[a+12>>2]=134;break s}if(J[a+302>>1]){if(!(I[a+615|0]?H[H[H[a>>2]+96>>2]+64>>2]==40:0)){f=H[a+124>>2]+(b<<3)|0;H[f>>2]=e+H[f>>2]}f=b+H[a+132>>2]|0;F[f|0]=I[f|0]|8}if(!J[a+304>>1]){break Kb}Lb:{if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break Lb}}f=H[a+124>>2]+(b<<3)|0;H[f+4>>2]=c+H[f+4>>2]}b=b+H[a+132>>2]|0;F[b|0]=I[b|0]|16}b=H[a+308>>2];H[a+308>>2]=b-1;if((b|0)>1){continue}break}}H[a+308>>2]=1;H[a+32>>2]=H[a+28>>2];break s;case 48:case 49:Mb:{if(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40){break Mb}if(I[a+617|0]?I[a+616|0]:0){break s}if(i&1){F[a+616|0]=1;break Mb}F[a+617|0]=1}if(!J[a+154>>1]){break s}Nb:{if(i&1){t=H[a+156>>2];H[k+24>>2]=t;l=H[a+160>>2];H[k+28>>2]=l;r=H[a+164>>2];H[k+32>>2]=r;s=8;break Nb}t=H[a+156>>2]+4|0;H[k+24>>2]=t;l=H[a+160>>2]+4|0;H[k+28>>2]=l;r=H[a+164>>2]+4|0;H[k+32>>2]=r;s=16}q=J[a+152>>1];H[k+36>>2]=q;v=0;b=q;j=0;while(1){c=J[H[a+172>>2]+(v<<1)>>1]-J[a+176>>1]|0;b=b&65535;u=b>>>0>c>>>0?c:b-1|0;Ob:{if(u>>>0>>0){f=j;break Ob}b=H[a+168>>2];e=j;Pb:{while(1){Qb:{f=e+1|0;if(I[b+e|0]&s){i=f;h=e;g=e;Rb:{Sb:{C=f>>>0>u>>>0;if(!C){while(1){d=i;Tb:{if(!(I[d+b|0]&s)){c=g;break Tb}b=g+1|0;c=d;if(h>>>0>>0|c>>>0>=q>>>0|g>>>0>=q>>>0){break Tb}i=H[(d<<3)+r>>2];c=H[(g<<3)+r>>2];Ub:{if((i|0)>=(c|0)){m=i;i=c;c=d;break Ub}m=c;c=g;g=d}c=c<<3;w=H[c+l>>2];A=H[c+t>>2];D=w-A|0;g=g<<3;c=H[g+l>>2];B=H[g+t>>2];E=c-B|0;Vb:{if(!((c|0)==(w|0)|(i|0)==(m|0))){M=m-i|0;O=w-c|0;m=0;w=0;while(1){g=b<<3;P=g+l|0;g=H[g+t>>2];Wb:{if((g|0)<=(B|0)){z=g+E|0;break Wb}z=g+D|0;if((g|0)>=(A|0)){break Wb}if(!(m&255)){w=pb(O,M)}m=1;z=ib(H[(b<<3)+r>>2]-i|0,w)+c|0}H[P>>2]=z;b=b+1|0;if(h>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;g=H[i+t>>2];H[i+l>>2]=(g|0)>(B|0)?(g|0)<(A|0)?c:g+D|0:g+E|0;b=b+1|0;if(h>>>0>=b>>>0){continue}break}}c=d}i=d+1|0;if(u>>>0>=i>>>0){b=H[a+168>>2];h=d;g=c;continue}break}if((c|0)!=(e|0)){break Sb}}b=e<<3;c=H[b+l>>2];b=H[b+t>>2];if((c|0)==(b|0)){break Pb}d=c-b|0;if(e>>>0<=j>>>0){break Qb}b=(j^-1)+e|0;c=0;g=e-j&3;if(g){while(1){h=(j<<3)+l|0;H[h>>2]=d+H[h>>2];j=j+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(b>>>0>2){break Rb}break Qb}om(k+24|0,c+1&65535,u,c,e);if(!e){break Pb}om(k+24|0,j,e-1|0,c,e);break Pb}while(1){b=(j<<3)+l|0;H[b>>2]=d+H[b>>2];H[b+8>>2]=d+H[b+8>>2];H[b+16>>2]=d+H[b+16>>2];H[b+24>>2]=d+H[b+24>>2];j=j+4|0;if((j|0)!=(e|0)){continue}break}break Qb}e=f;if(u>>>0>=e>>>0){continue}break Ob}break}if(C){break Pb}while(1){b=(f<<3)+l|0;H[b>>2]=d+H[b>>2];f=f+1|0;if(u>>>0>=f>>>0){continue}break}}f=i}v=v+1|0;if((v|0)>=G[a+154>>1]){break s}b=J[a+152>>1];j=f;continue};case 46:case 47:b=J[d>>1];if(b>>>0>=J[a+44>>1]){if(!I[a+565|0]){break s}h=134;break j}if(i&1){c=H[a+52>>2]+(b<<3)|0;c=Ya[H[a+576>>2]](a,H[c>>2],H[c+4>>2])|0;c=(Ya[H[a+572>>2]](a,c,3)|0)-c|0}else{c=0}Ya[H[a+588>>2]](a,o,b,c);G[a+290>>1]=b;G[a+288>>1]=b;break s;case 79:break j;case 45:break t}}c=H[a+432>>2];if((c|0)<=0){h=136;break j}b=c-1|0;H[a+432>>2]=b;b=H[a+440>>2]+(b<<4)|0;e=H[b+8>>2];H[b+8>>2]=e-1;F[a+380|0]=0;if((e|0)>=2){H[a+432>>2]=c;H[a+364>>2]=H[H[b+12>>2]+4>>2];break s}c=H[b>>2];if(c-4>>>0<4294967293){h=132;break j}e=(c-1<<3)+a|0;f=H[e+448>>2];if(!f){h=138;break j}e=H[e+452>>2];b=H[b+4>>2];if((e|0)<(b|0)){h=131;break j}H[a+368>>2]=e;H[a+360>>2]=f;H[a+364>>2]=b;H[a+356>>2]=c}b=H[a+12>>2]}if(b){h=128;if((b|0)!=128){break i}b=H[a+420>>2];if(!b){break j}c=H[a+412>>2];if((c|0)<=0){break j}c=N(c,24)+b|0;while(1){if(!(!I[b+16|0]|I[a+372|0]!=I[b+12|0])){c=H[a+432>>2];if((c|0)>=H[a+436>>2]){h=134;break j}c=H[a+440>>2]+(c<<4)|0;H[c>>2]=H[a+356>>2];e=H[a+364>>2];H[c+12>>2]=b;H[c+8>>2]=1;H[c+4>>2]=e+1;c=H[b>>2];if(c-4>>>0<4294967293){h=132;break j}e=(c-1<<3)+a|0;f=H[e+448>>2];if(!f){h=138;break j}e=H[e+452>>2];b=H[b+4>>2];if((e|0)>=(b|0)){break o}h=131;break j}b=b+24|0;if(c>>>0>b>>>0){continue}break}break j}H[a+16>>2]=H[a+32>>2];if(!I[a+380|0]){break p}}H[a+364>>2]=H[a+364>>2]+H[a+376>>2]}L=L+1|0;if(L>>>0<=1e6){break n}b=139;break i}H[a+368>>2]=e;H[a+360>>2]=f;H[a+364>>2]=b;H[a+356>>2]=c}c=H[a+364>>2];if((c|0)>=H[a+368>>2]){b=0;h=131;if(H[a+432>>2]>0){break j}break i}if(!I[a+492|0]){continue}break}b=0;break i}H[a+12>>2]=h;b=h}Wa=k- -64|0;return b|0}function _q(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=O(0),E=0,M=0;q=Wa-32|0;Wa=q;H[c+144>>2]=0;F[c+140|0]=0;g=H[c+68>>2];a:{if(g>>>0>67108862){break a}l=g<<6;H[c+148>>2]=l>>>0>16384?l:16384;if(g>>>0>4194302){break a}g=g<<10;H[c+152>>2]=g>>>0>16384?g:16384}C=H[c+40>>2];i=H[c+68>>2];if(i){g=H[a+96>>2];l=H[c+80>>2];if(i-1>>>0>=7){k=i&-8;while(1){H[(l+N(f,20)|0)+4>>2]=g;H[(l+N(f|1,20)|0)+4>>2]=g;H[(l+N(f|2,20)|0)+4>>2]=g;H[(l+N(f|3,20)|0)+4>>2]=g;H[(l+N(f|4,20)|0)+4>>2]=g;H[(l+N(f|5,20)|0)+4>>2]=g;H[(l+N(f|6,20)|0)+4>>2]=g;H[(l+N(f|7,20)|0)+4>>2]=g;f=f+8|0;j=j+8|0;if((k|0)!=(j|0)){continue}break}}k=i&7;if(k){while(1){H[(l+N(f,20)|0)+4>>2]=g;f=f+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}g=0;while(1){f=l+N(g,20)|0;We(f,c);j=f+16|0;h=J[j>>1];b:{c:{if((h&31)==24&H[f>>2]-127995>>>0<=4){break c}if(!(!g|H[f>>2]-127462>>>0>25)){f=l+N(g-1|0,20)|0;if(H[f>>2]-127462>>>0>25){break b}if(!(I[f+16|0]&128)){break c}break b}if((h&287)==257){G[f+16>>1]=h|128;f=g+1|0;if(f>>>0>=i>>>0){break b}k=l+N(f,20)|0;h=H[k>>2];if(h>>>0<=131069){h=I[((h&56|I[(I[(h>>>11|0)+229200|0]>>>(h>>>8&4)<<4&240|h>>>6&15)+229264|0]<<6)>>>3|0)+229424|0]>>>(h&7)&1}else{h=0}if(!h){break b}We(k,c);j=k+16|0;h=J[k+16>>1];g=f;break c}if(H[f>>2]-917536>>>0>95){break b}}G[j>>1]=h|128}g=g+1|0;if(i>>>0>g>>>0){continue}break}}d:{if(!(1<>2]+16>>1]&7168)|(H[c+132>>2]|(H[c+16>>2]&17)!=1)){break d}H[q+8>>2]=0;f=H[b+80>>2];if(!(Ya[H[f+164>>2]](b,H[b+84>>2],9676,q+8|0,H[f+20>>2])|0)){break d}H[q+20>>2]=0;H[q+24>>2]=0;H[q+12>>2]=0;H[q+16>>2]=0;H[q+8>>2]=9676;We(q+8|0,c);H[c+72>>2]=0;H[c+64>>2]=0;F[c+61|0]=1;F[c+62|0]=0;H[c+84>>2]=H[c+80>>2];H[c+64>>2]=0;f=H[c+80>>2];g=H[f+4>>2];h=H[f+8>>2];l=H[q+20>>2];i=H[q+24>>2];k=H[q+8>>2];if(qb(c,0,1)){f=H[c+84>>2]+N(H[c+72>>2],20)|0;H[f+12>>2]=l;H[f+16>>2]=i;H[f+8>>2]=h;H[f+4>>2]=g;H[f>>2]=k;H[c+72>>2]=H[c+72>>2]+1}ad(c)}e:{n=H[c+144>>2];if(!(n&1)){break e}l=H[c+68>>2];if(!H[c+20>>2]){if(!l){break e}f=l-1|0;g=0;while(1){f:{if((f|0)==(g|0)){g=l;break f}g=g+1|0;if(I[(H[c+80>>2]+N(g,20)|0)+16|0]&128){continue}}break}h=0;k=l;while(1){if(g-h>>>0>=2){kc(c,h,g);k=H[c+68>>2]}f=g+1|0;h=f>>>0>>0?k:f;f=g;while(1){g:{f=f+1|0;if(k>>>0<=f>>>0){f=h;break g}if(I[(H[c+80>>2]+N(f,20)|0)+16|0]&128){continue}}break}i=g>>>0>>0;h=g;g=f;if(i){continue}break}break e}if(!l){break e}g=l-1|0;f=0;while(1){h:{if((f|0)==(g|0)){f=l;break h}f=f+1|0;if(I[(H[c+80>>2]+N(f,20)|0)+16|0]&128){continue}}break}g=0;h=l;while(1){i=f;s=f>>>0>h>>>0?h:f;p=s-g|0;i:{if(p>>>0<2){break i}n=n|32;H[c+144>>2]=n;if(g>>>0>=s>>>0){break i}m=H[c+80>>2];f=-1;k=g;r=s+(g^-1)|0;if(r>>>0>=3){t=p&-4;o=0;while(1){j=m+N(k,20)|0;u=H[j+8>>2];f=f>>>0>>0?f:u;u=H[j+28>>2];f=f>>>0>>0?f:u;u=H[j+48>>2];f=f>>>0>>0?f:u;j=H[j+68>>2];f=f>>>0>>0?f:j;k=k+4|0;o=o+4|0;if((t|0)!=(o|0)){continue}break}}j=0;o=p&3;if(o){while(1){t=H[(m+N(k,20)|0)+8>>2];f=f>>>0>>0?f:t;k=k+1|0;j=j+1|0;if((o|0)!=(j|0)){continue}break}}if(p&1){k=m+N(g,20)|0;if(H[k+8>>2]!=(f|0)){H[c+144>>2]=n;H[k+4>>2]=H[k+4>>2]|3}g=g+1|0}if(!r){break i}while(1){k=m+N(g,20)|0;if(H[k+8>>2]!=(f|0)){n=n|32;H[c+144>>2]=n;H[k+4>>2]=H[k+4>>2]|3}k=m+N(g+1|0,20)|0;if(H[k+8>>2]!=(f|0)){n=n|32;H[c+144>>2]=n;H[k+4>>2]=H[k+4>>2]|3}g=g+2|0;if((s|0)!=(g|0)){continue}break}}f=i+1|0;g=f>>>0>>0?h:f;f=i;while(1){j:{f=f+1|0;if(h>>>0<=f>>>0){f=g;break j}if(I[(H[c+80>>2]+N(f,20)|0)+16|0]&128){continue}}break}if(i>>>0>=l>>>0){break e}h=H[c+68>>2];g=i;continue}}h=H[c+40>>2];k:{l:{m:{k=Rh(H[c+44>>2]);n:{if(!((k|0)!=5|(h|0)!=4)){l=H[c+68>>2];if(!l){k=5;break n}i=H[c+80>>2];k=0;n=1;f=0;while(1){o:{g=1;j=J[(i+N(k,20)|0)+16>>1]&31;if((j|0)!=13){g=f;if(1<>>0>k>>>0;f=g;if((k|0)!=(l|0)){continue}}break}k=g&1?n&1?5:4:5}f=h&-2;if((f|0)!=4){break m}}if((h|0)==(k|0)){break k}if(k){break l}break k}if((h|0)==6|(f|0)!=6){break k}}Hf(c,781,H[c+20>>2]==1);H[c+40>>2]=H[c+40>>2]^1}s=a+60|0;p:{if(!H[H[a+80>>2]+16>>2]){break p}if(!Fb(c,b,105256,0)){break p}Ya[H[H[a+80>>2]+16>>2]](s,c,b);Fb(c,b,105431,0)}k=H[c+80>>2];l=H[c+68>>2];if(!(!l|(C&-3)!=5)){j=H[a+200>>2];h=H[c+12>>2];g=0;while(1){f=k+N(g,20)|0;i=Ya[H[h+28>>2]](h,H[f>>2],H[h+60>>2])|0;q:{r:{if((i|0)==H[f>>2]){break r}H[q+8>>2]=0;o=H[b+80>>2];if(!(Ya[H[o+164>>2]](b,H[b+84>>2],i,q+8|0,H[o+20>>2])|0)){break r}H[f>>2]=i;break q}H[f+4>>2]=j|H[f+4>>2]}g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(!(!l|(I[a+212|0]&8|(C&-2)!=6))){f=0;while(1){s:{t:{u:{v:{w:{x:{y:{i=k+N(f,20)|0;h=H[i>>2];g=h>>>8|0;switch(g-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break s;case 16:break u;case 0:break x;default:break y}}switch(g-254|0){case 1:break v;case 0:break w;default:break s}}g=65074;z:{switch(h-8211|0){case 1:g=65073;break t;case 18:g=65072;break t;case 0:break t;case 19:break z;default:break s}}g=65049;break t}g=65076;if((h|0)==65103){break t}break s}g=65045;A:{switch(h-65281|0){case 7:g=65077;break t;case 8:g=65078;break t;case 11:g=65040;break t;case 25:g=65043;break t;case 26:g=65044;break t;case 30:g=65046;break t;case 58:g=65095;break t;case 60:g=65096;break t;case 62:g=65075;break t;case 90:g=65079;break t;case 0:break t;case 92:break A;default:break s}}g=65080;break t}g=h-12289|0;if(g>>>0>=23|!(7995267>>>g&1)){break s}g=H[(g<<2)+151680>>2]}if((g|0)==(h|0)){break s}H[q+8>>2]=0;h=H[b+80>>2];if(!(Ya[H[h+164>>2]](b,H[b+84>>2],g,q+8|0,H[h+20>>2])|0)){break s}H[i>>2]=g}f=f+1|0;if((l|0)!=(f|0)){continue}break}}m=b;o=Wa-48|0;Wa=o;i=c;B:{if(!H[c+68>>2]){break B}b=H[s+20>>2];c=H[b+24>>2];H[o+24>>2]=m;H[o+20>>2]=i;H[o+16>>2]=s;H[o+28>>2]=H[i+12>>2];H[o+32>>2]=H[i+32>>2];f=H[b+28>>2];H[o+36>>2]=f?f:771;b=H[b+32>>2];H[o+40>>2]=b?b:772;H[i+72>>2]=0;H[i+64>>2]=0;F[i+61|0]=1;F[i+62|0]=0;H[i+84>>2]=H[i+80>>2];H[i+64>>2]=0;r=(c|0)==4?2:c;t=r&-3;p=H[i+68>>2];f=0;h=1;C:{D:{E:{while(1){b=f+1|0;g=b>>>0

>>0?p:b;b=f;while(1){F:{c=b;b=b+1|0;if(p>>>0<=b>>>0){c=g;break F}if(!(1<>2]+N(b,20)|0)+16>>1]&7168)){continue}}break}if((t|0)!=1){b=H[i+80>>2]+N(f,20)|0;g=b;l=b+12|0;b=H[m+80>>2];b=Ya[H[b+168>>2]](m,H[m+84>>2],c-f|0,g,20,l,20,H[b+24>>2])|0;if(I[i+61|0]){G:{if(H[i+84>>2]==H[i+80>>2]){f=H[i+72>>2];if((f|0)==H[i+64>>2]){break G}}if(!qb(i,b,b)){break E}Yb(H[i+84>>2]+N(H[i+72>>2],20)|0,H[i+80>>2]+N(H[i+64>>2],20)|0,N(b,20));f=H[i+72>>2]}H[i+72>>2]=b+f}f=b+H[i+64>>2]|0;H[i+64>>2]=f}H:{if(!I[i+60|0]|c>>>0<=f>>>0){break H}while(1){ar(o+16|0,(t|0)!=1);f=H[i+64>>2];if(f>>>0>=c>>>0){break H}if(I[i+60|0]){continue}break}}if(!I[i+60|0]|(f|0)==(p|0)){break E}b=f+1|0;b=b>>>0

>>0?p:b;g=b-1|0;while(1){I:{c=f;f=c+1|0;if(p>>>0<=f>>>0){c=g;f=b;break I}if(1<>2]+N(f,20)|0)+16>>1]&7168){continue}}break}j=H[o+20>>2];h=H[j+64>>2];J:{if(h>>>0>=f>>>0|!I[j+60|0]){break J}l=j- -64|0;g=H[j+80>>2];b=h;K:{while(1){k=H[g+N(b,20)>>2];if(!((k&-16)==65024|k-918e3>>>0>=4294967056)){k=(b|0)==(c|0);b=b+1|0;if(!k){continue}break K}break}n=H[o+24>>2];L:{if(c>>>0<=h>>>0){break L}k=j+72|0;while(1){g=H[j+80>>2]+N(h,20)|0;H[g+12>>2]=0;h=g+12|0;u=H[g>>2];b=H[n+80>>2];g=H[g+20>>2];M:{if(!((g&-16)!=65024&g-918e3>>>0<4294967056)){g=Ya[H[b+172>>2]](n,H[n+84>>2],u,g,h,H[b+28>>2])|0;b=H[j+80>>2]+N(H[j+64>>2],20)|0;u=H[b>>2];N:{O:{if(g){if(!qb(j,2,1)){break N}b=H[j+64>>2];kc(j,b,b+2|0);b=H[j+64>>2];P:{if(b>>>0>2]){h=H[j+72>>2];g=H[j+84>>2];b=H[j+80>>2]+N(b,20)|0;break P}g=H[j+84>>2];h=H[j+72>>2];b=g+N(h?h-1|0:0,20)|0}g=N(h,20)+g|0;h=H[b+4>>2];H[g>>2]=H[b>>2];H[g+4>>2]=h;H[g+16>>2]=H[b+16>>2];h=H[b+12>>2];H[g+8>>2]=H[b+8>>2];H[g+12>>2]=h;H[g>>2]=u;H[l>>2]=H[l>>2]+2;b=k;break O}H[b+12>>2]=0;g=b+12|0;b=H[n+80>>2];Ya[H[b+164>>2]](n,H[n+84>>2],u,g,H[b+20>>2])|0;Q:{if(I[j+61|0]){R:{if(H[j+84>>2]==H[j+80>>2]){b=H[k>>2];if((b|0)==H[l>>2]){break R}}if(!qb(j,1,1)){b=H[l>>2];break Q}g=H[j+80>>2]+N(H[j+64>>2],20)|0;h=H[g+4>>2];b=H[j+84>>2]+N(H[j+72>>2],20)|0;H[b>>2]=H[g>>2];H[b+4>>2]=h;H[b+16>>2]=H[g+16>>2];h=H[g+12>>2];H[b+8>>2]=H[g+8>>2];H[b+12>>2]=h;b=H[j+72>>2]}H[k>>2]=b+1}b=H[l>>2]+1|0;H[l>>2]=b}b=H[j+80>>2]+N(b,20)|0;H[b+12>>2]=0;h=H[b>>2];g=b+12|0;b=H[n+80>>2];Ya[H[b+164>>2]](n,H[n+84>>2],h,g,H[b+20>>2])|0;b=l;if(!I[j+61|0]){break O}S:{if(H[j+84>>2]==H[j+80>>2]){b=H[k>>2];if((b|0)==H[l>>2]){break S}}if(!qb(j,1,1)){break N}g=H[j+80>>2]+N(H[j+64>>2],20)|0;h=H[g+4>>2];b=H[j+84>>2]+N(H[j+72>>2],20)|0;H[b>>2]=H[g>>2];H[b+4>>2]=h;H[b+16>>2]=H[g+16>>2];h=H[g+12>>2];H[b+8>>2]=H[g+8>>2];H[b+12>>2]=h;b=H[j+72>>2]}H[k>>2]=b+1;b=l}H[b>>2]=H[b>>2]+1}h=H[l>>2];if(h>>>0>=f>>>0){break M}while(1){if(!I[j+60|0]){break M}b=H[j+80>>2]+N(h,20)|0;g=H[b>>2];if((g&-16)!=65024&g-918e3>>>0<4294967056){break M}H[b+12>>2]=0;h=b+12|0;b=H[n+80>>2];Ya[H[b+164>>2]](n,H[n+84>>2],g,h,H[b+20>>2])|0;T:{if(I[j+61|0]){U:{if(H[j+84>>2]==H[j+80>>2]){b=H[k>>2];if((b|0)==H[l>>2]){break U}}if(!qb(j,1,1)){h=H[l>>2];break T}g=H[j+80>>2]+N(H[j+64>>2],20)|0;h=H[g+4>>2];b=H[j+84>>2]+N(H[j+72>>2],20)|0;H[b>>2]=H[g>>2];H[b+4>>2]=h;H[b+16>>2]=H[g+16>>2];h=H[g+12>>2];H[b+8>>2]=H[g+8>>2];H[b+12>>2]=h;b=H[j+72>>2]}H[k>>2]=b+1}h=H[l>>2]+1|0;H[l>>2]=h}if(f>>>0>h>>>0){continue}break}break M}Ya[H[b+164>>2]](n,H[n+84>>2],u,h,H[b+20>>2])|0;if(I[j+61|0]){V:{if(H[j+84>>2]==H[j+80>>2]){b=H[k>>2];if((b|0)==H[l>>2]){break V}}if(!qb(j,1,1)){h=H[l>>2];break M}g=H[j+80>>2]+N(H[j+64>>2],20)|0;h=H[g+4>>2];b=H[j+84>>2]+N(H[j+72>>2],20)|0;H[b>>2]=H[g>>2];H[b+4>>2]=h;H[b+16>>2]=H[g+16>>2];h=H[g+12>>2];H[b+8>>2]=H[g+8>>2];H[b+12>>2]=h;b=H[j+72>>2]}H[k>>2]=b+1}h=H[l>>2]+1|0;H[l>>2]=h}if(c>>>0<=h>>>0){break L}if(I[j+60|0]){continue}break}}if(f>>>0<=h>>>0){break J}b=H[j+80>>2]+N(h,20)|0;H[b+12>>2]=0;f=H[b>>2];c=b+12|0;b=H[n+80>>2];Ya[H[b+164>>2]](n,H[n+84>>2],f,c,H[b+20>>2])|0;if(I[j+61|0]){W:{if(H[j+84>>2]==H[j+80>>2]){b=H[j+72>>2];if((b|0)==H[j+64>>2]){break W}}if(!qb(j,1,1)){break J}c=H[j+80>>2]+N(H[j+64>>2],20)|0;f=H[c+4>>2];b=H[j+84>>2]+N(H[j+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=f;H[b+16>>2]=H[c+16>>2];f=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=f;b=H[j+72>>2]}H[j+72>>2]=b+1}H[l>>2]=H[l>>2]+1;break J}while(1){ar(o+16|0,!r);if(K[l>>2]>=f>>>0){break J}if(I[j+60|0]){continue}break}}f=H[i+64>>2];if(p>>>0>f>>>0){h=0;if(I[i+60|0]){continue}}break}ad(i);break D}ad(i);g=1;if(h&1){break C}}g=0;if(!Fb(i,m,105046,0)){break C}g=H[i+68>>2];if(g){c=0;while(1){h=H[i+80>>2];b=J[(h+N(c,20)|0)+16>>1];X:{if(!(1<>>0<256){b=c;break X}b=c+1|0;f=b>>>0>>0?g:b;b=c;while(1){Y:{b=b+1|0;if(g>>>0<=b>>>0){b=f;break Y}l=J[(h+N(b,20)|0)+16>>1];if(!(1<>>0>255){continue}}break}if(b-c>>>0>32){break X}_k(i,c,b,773);f=H[H[s+20>>2]+44>>2];if(!f){break X}Ya[f|0](s,i,c,b)}c=b+1|0;if(g>>>0>c>>>0){continue}break}}Fb(i,m,105284,0);g=0}Z:{if(!(I[i+144|0]&16)){break Z}c=H[i+68>>2];if(c>>>0<3){break Z}b=1;f=2;while(1){h=b;b=f;f=N(h,20);h=H[i+80>>2];f=f+h|0;_:{if(H[f>>2]!=847){break _}h=J[(h+N(b,20)|0)+16>>1];if(!(!(1<>>0<256)){l=h>>>8|0;h=J[f-4>>1];if(l>>>0<(1<>>8|0:0)>>>0){break _}}G[f+16>>1]=J[f+16>>1]&65471;c=H[i+68>>2]}f=b+1|0;if(f>>>0>>0){continue}break}}if(!I[i+60|0]|g|(r&-2)!=2){break B}H[i+72>>2]=0;H[i+64>>2]=0;F[i+61|0]=1;F[i+62|0]=0;H[i+84>>2]=H[i+80>>2];g=H[i+68>>2];$:{if(I[i+61|0]){aa:{if(H[i+84>>2]==H[i+80>>2]){b=H[i+72>>2];if((b|0)==H[i+64>>2]){break aa}}if(!qb(i,1,1)){b=H[i+64>>2];break $}c=H[i+80>>2]+N(H[i+64>>2],20)|0;f=H[c+4>>2];b=H[i+84>>2]+N(H[i+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=f;H[b+16>>2]=H[c+16>>2];f=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=f;b=H[i+72>>2]}H[i+72>>2]=b+1}b=H[i+64>>2]+1|0;H[i+64>>2]=b}ba:{if(b>>>0>=g>>>0){break ba}f=0;while(1){ca:{da:{c=H[i+80>>2]+N(b,20)|0;h=J[c+16>>1];if(!(1<>2];l=H[i+72>>2];k=l-1|0;if((k|0)!=(f|0)){n=h>>>8|0;h=J[(b+N(l?k:0,20)|0)+16>>1];if(n>>>0<=(1<>>8|0:0)>>>0){break da}}h=N(f,20);if(!(Ya[H[o+40>>2]](o+16|0,H[h+b>>2],H[c>>2],o+12|0)|0)){break da}H[o+8>>2]=0;b=H[m+80>>2];if(!(Ya[H[b+164>>2]](m,H[m+84>>2],H[o+12>>2],o+8|0,H[b+20>>2])|0)){break da}ea:{if(!I[i+61|0]){b=H[i+72>>2];break ea}fa:{if(H[i+84>>2]==H[i+80>>2]){b=H[i+72>>2];if((b|0)==H[i+64>>2]){break fa}}if(!qb(i,1,1)){break ba}c=H[i+80>>2]+N(H[i+64>>2],20)|0;l=H[c+4>>2];b=H[i+84>>2]+N(H[i+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=l;H[b+16>>2]=H[c+16>>2];l=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=l;b=H[i+72>>2]}b=b+1|0;H[i+72>>2]=b}H[i+64>>2]=H[i+64>>2]+1;ae(i,f,b);H[i+72>>2]=H[i+72>>2]-1;b=h+H[i+84>>2]|0;H[b>>2]=H[o+12>>2];H[b+12>>2]=H[o+8>>2];We(h+H[i+84>>2]|0,i);b=H[i+64>>2];break ca}ga:{if(!I[i+61|0]){c=H[i+72>>2];break ga}ha:{if(H[i+84>>2]==H[i+80>>2]){b=H[i+72>>2];if((b|0)==H[i+64>>2]){break ha}}if(!qb(i,1,1)){break ba}c=H[i+80>>2]+N(H[i+64>>2],20)|0;h=H[c+4>>2];b=H[i+84>>2]+N(H[i+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=h;H[b+16>>2]=H[c+16>>2];h=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=h;b=H[i+72>>2]}c=b+1|0;H[i+72>>2]=c}b=H[i+64>>2]+1|0;H[i+64>>2]=b;h=c-1|0;c=J[(H[i+84>>2]+N(c?h:0,20)|0)+16>>1];f=1<>>0<256?h:f:h}if(b>>>0>>0){continue}break}}ad(i)}Wa=o+48|0;k=H[i+144>>2];ia:{if(!(k&1)|!(I[a+212|0]&4)){break ia}ja:{if((H[i+40>>2]&-3)==4){t=H[a+188>>2];h=t|H[a+192>>2];c=a+196|0;break ja}t=H[a+188>>2];h=t|H[a+196>>2];c=a+192|0}b=H[i+68>>2];if(!b){break ia}r=H[c>>2]|t;l=H[i+80>>2];c=0;while(1){x=l+N(c,20)|0;if(H[x>>2]==8260){g=c+1|0;j=c;while(1){f=j;if(f){j=f-1|0;if((J[(l+N(j,20)|0)+16>>1]&31)==13){continue}}break}n=g;ka:{if(b>>>0<=g>>>0){break ka}while(1){if((J[(l+N(n,20)|0)+16>>1]&31)!=13){break ka}n=n+1|0;if((b|0)!=(n|0)){continue}break}n=b}j=H[i+68>>2];u=j>>>0>>0?j:n;w=u-f|0;la:{if(w>>>0<2){break la}k=k|32;H[i+144>>2]=k;if(f>>>0>=u>>>0){break la}j=-1;o=f;A=u+(f^-1)|0;if(A>>>0>=3){B=w&-4;p=0;while(1){v=l+N(o,20)|0;y=H[v+8>>2];j=j>>>0>>0?j:y;y=H[v+28>>2];j=j>>>0>>0?j:y;y=H[v+48>>2];j=j>>>0>>0?j:y;v=H[v+68>>2];j=j>>>0>>0?j:v;o=o+4|0;p=p+4|0;if((B|0)!=(p|0)){continue}break}}p=0;v=w&3;if(v){while(1){B=H[(l+N(o,20)|0)+8>>2];j=j>>>0>>0?j:B;o=o+1|0;p=p+1|0;if((v|0)!=(p|0)){continue}break}}o=f;if(w&1){o=l+N(f,20)|0;if(H[o+8>>2]!=(j|0)){H[i+144>>2]=k;H[o+4>>2]=H[o+4>>2]|3}o=f+1|0}if(!A){break la}while(1){p=l+N(o,20)|0;if(H[p+8>>2]!=(j|0)){k=k|32;H[i+144>>2]=k;H[p+4>>2]=H[p+4>>2]|3}p=l+N(o+1|0,20)|0;if(H[p+8>>2]!=(j|0)){k=k|32;H[i+144>>2]=k;H[p+4>>2]=H[p+4>>2]|3}o=o+2|0;if((u|0)!=(o|0)){continue}break}}ma:{if(c>>>0<=f>>>0){break ma}o=(f^-1)+c|0;j=0;p=c-f&3;if(p){while(1){u=l+N(f,20)|0;H[u+4>>2]=H[u+4>>2]|h;f=f+1|0;j=j+1|0;if((p|0)!=(j|0)){continue}break}}if(o>>>0<=2){break ma}while(1){j=l+N(f,20)|0;H[j+4>>2]=H[j+4>>2]|h;H[j+24>>2]=H[j+24>>2]|h;H[j+44>>2]=H[j+44>>2]|h;j=j- -64|0;H[j>>2]=H[j>>2]|h;f=f+4|0;if((f|0)!=(c|0)){continue}break}}H[x+4>>2]=H[x+4>>2]|t;na:{if(g>>>0>=n>>>0){break na}f=0;j=(c^-1)+n&3;if(j){while(1){o=l+N(g,20)|0;H[o+4>>2]=r|H[o+4>>2];g=g+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if((n-c|0)-2>>>0<3){break na}while(1){c=l+N(g,20)|0;H[c+4>>2]=r|H[c+4>>2];H[c+24>>2]=r|H[c+24>>2];H[c+44>>2]=r|H[c+44>>2];c=c- -64|0;H[c>>2]=r|H[c>>2];g=g+4|0;if((n|0)!=(g|0)){continue}break}}c=n-1|0}c=c+1|0;if(b>>>0>c>>>0){continue}break}}b=H[H[a+80>>2]+36>>2];if(b){Ya[b|0](s,i,m)}if(e){c=0;while(1){b=(c<<4)+d|0;h=H[b+8>>2];if(!(!h&H[b+12>>2]==-1)){o=H[b+4>>2];oa:{pa:{f=H[a+116>>2];if((f|0)<=0){break pa}g=H[b>>2];n=H[a+120>>2];f=f-1|0;k=0;while(1){qa:{l=f+k>>>1|0;j=n+N(l,36)|0;p=H[j>>2];ra:{if(p>>>0>g>>>0){f=l-1|0;break ra}if(g>>>0<=p>>>0){break qa}k=l+1|0}if((f|0)>=(k|0)){continue}break pa}break}k=H[j+24>>2];f=H[j+20>>2];break oa}k=0;f=0}g=o<>2];o=0;sa:{if(!k){break sa}l=H[i+68>>2];if(!l){break sa}j=g&k;k=k^-1;b=H[i+80>>2];g=0;if((l|0)!=1){p=l&-2;while(1){n=b+N(g,20)|0;r=H[n+8>>2];if(!(r>>>0>>0|f>>>0<=r>>>0)){H[n+4>>2]=j|k&H[n+4>>2]}n=b+N(g|1,20)|0;r=H[n+8>>2];if(!(r>>>0>>0|f>>>0<=r>>>0)){H[n+4>>2]=j|k&H[n+4>>2]}g=g+2|0;o=o+2|0;if((p|0)!=(o|0)){continue}break}}if(!(l&1)){break sa}l=h;h=H[(b+N(g,20)|0)+8>>2];if(l>>>0>h>>>0|f>>>0<=h>>>0){break sa}b=b+N(g,20)|0;H[b+4>>2]=j|k&H[b+4>>2]}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(I[a+212|0]&128){g=H[i+68>>2];if(g){h=H[i+80>>2];k=0;while(1){f=h+N(k,20)|0;c=J[f+16>>1];if((c&31)==12){b=c>>>8|0;ta:{if(c>>>0>51199){d=b;break ta}ua:{va:{d=H[f>>2];if((d&-256)==3584){if(c>>>0<=255){e=0;wa:{switch(d-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:e=230;break ua;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break va;case 139:break wa;default:break ua}}e=220;break ua}e=222;if((d|0)==3642){break ua}}d=220;xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{e=b;switch(b-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break ta;case 119:case 129:break xa;case 104:break ya;case 0:break za;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Aa;case 8:case 11:break Ba;case 7:break Ca;case 10:break Da;default:break ua}}d=214;break ta}d=232;break ta}d=228;break ta}d=230;break ta}d=222;break ta}d=232;break ta}d=230;break ta}e=232}d=e}G[f+16>>1]=c&255|d<<8}k=k+1|0;if((g|0)!=(k|0)){continue}break}}}c=H[i+68>>2];Ea:{if(!c){break Ea}b=H[i+80>>2];g=0;f=0;if(c-1>>>0>=3){d=c&-4;h=0;while(1){e=b+N(f,20)|0;H[e>>2]=H[e+12>>2];e=b+N(f|1,20)|0;H[e>>2]=H[e+12>>2];e=b+N(f|2,20)|0;H[e>>2]=H[e+12>>2];e=b+N(f|3,20)|0;H[e>>2]=H[e+12>>2];f=f+4|0;h=h+4|0;if((d|0)!=(h|0)){continue}break}}c=c&3;if(!c){break Ea}while(1){d=b+N(f,20)|0;H[d>>2]=H[d+12>>2];f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}H[i+36>>2]=2;Fa:{b=H[m+16>>2];d=H[b+140>>2];Ga:{if(d){break Ga}while(1){c=H[b+48>>2];if(!c){d=163632;break Ga}d=_j(c);if(!d){d=163632}c=H[b+140>>2];H[b+140>>2]=c?c:d;if(!c){break Ga}if(!(!d|(d|0)==163632)){c=H[d>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break Fa}hb(d)}d=H[b+140>>2];if(!d){continue}break}}c=H[i+68>>2];if(c){b=H[d>>2];b=b?b:163632;e=K[b+16>>2]<12?163632:H[b+12>>2];d=0;while(1){b=N(d,20);f=b+H[i+80>>2]|0;E=f,M=Xc(e,H[f>>2]),G[E+12>>1]=M;F[(b+H[i+80>>2]|0)+14|0]=0;F[(b+H[i+80>>2]|0)+15|0]=0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}f=J[a+212>>1];Ha:{if(!(f&64)){break Ha}c=H[i+68>>2];if(!c){break Ha}d=H[i+80>>2];f=0;while(1){b=d+N(f,20)|0;e=J[b+16>>1];Ia:{if((e&31)==12){g=8;if(!(e&32)|I[b+12|0]&16){break Ia}}g=2}G[b+12>>1]=g;f=f+1|0;if((c|0)!=(f|0)){continue}break}f=J[a+212>>1]}Ja:{if(f&8192){e=Wa-80|0;Wa=e;c=Wa-48|0;Wa=c;d=H[m+16>>2]+156|0;b=H[d>>2];Ka:{if(b){break Ka}g=d-108|0;while(1){b=H[g>>2];if(!b){b=163632;break Ka}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;f=ac(b);F[c+40|0]=1;H[c+36>>2]=f;b=Nl(c,_b(b,1836020344));if(!b){b=163632}f=H[d>>2];H[d>>2]=f?f:b;if(!f){break Ka}if(!(!b|(b|0)==163632)){lb(b)}b=H[d>>2];if(!b){continue}break}}Wa=c+48|0;La:{Ma:{Na:{Oa:{c=K[b+16>>2]<8?163632:H[b+12>>2];Pa:{if(I[c|0]|I[c+1|0]<<8){d=If(e,s,m,i,b);H[65057]=0;b=ga(580,i|0,m|0,104992,0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break Na}if(b){Qa:{if(!I[H[d+16>>2]+60|0]){break Qa}H[d+72>>2]=0;b=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!f){break Qa}c=c+8|0;b=0;while(1){g=H[d+4>>2];g=H[(K[g+116>>2]>b>>>0?H[g+120>>2]+(b<<2)|0:163632)>>2];H[65057]=0;ja(581,c|0,d|0,g|0);g=H[65057];H[65057]=0;if((g|0)==1){break Na}if(!I[H[d+16>>2]+60|0]){break Qa}g=c;c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}H[65057]=0;ga(580,i|0,m|0,105241,0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break Na}}b=H[d+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){break Pa}break La}c=Wa-48|0;Wa=c;d=H[m+16>>2]+160|0;b=H[d>>2];Ra:{if(b){break Ra}g=d-112|0;while(1){b=H[g>>2];if(!b){b=163632;break Ra}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;f=ac(b);F[c+40|0]=1;H[c+36>>2]=f;b=Ml(c,_b(b,1836020340));if(!b){b=163632}f=H[d>>2];H[d>>2]=f?f:b;if(!f){break Ra}if(!(!b|(b|0)==163632)){lb(b)}b=H[d>>2];if(!b){continue}break}}Wa=c+48|0;c=K[b+16>>2]<8?163632:H[b+12>>2];if(!(I[c|0]|I[c+1|0]<<8)){break Pa}d=If(e,s,m,i,b);H[65057]=0;b=ga(580,i|0,m|0,105451,0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break Oa}if(b){Sa:{if(!I[H[d+16>>2]+60|0]){break Sa}H[d+72>>2]=0;b=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!f){break Sa}c=c+8|0;b=0;while(1){g=H[d+4>>2];g=H[(K[g+116>>2]>b>>>0?H[g+120>>2]+(b<<2)|0:163632)>>2];H[65057]=0;ja(582,c|0,d|0,g|0);g=H[65057];H[65057]=0;if((g|0)==1){break Oa}if(!I[H[d+16>>2]+60|0]){break Sa}g=c;c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}H[65057]=0;ga(580,i|0,m|0,105577,0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break Oa}}b=H[d+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break La}}Wa=e+80|0;break Ja}b=$()|0;_()|0;a=H[d+52>>2];H[65057]=0;fa(579,a|0);a=H[65057];H[65057]=0;if((a|0)!=1){break Ma}break La}b=$()|0;_()|0;a=H[d+52>>2];H[65057]=0;fa(579,a|0);a=H[65057];H[65057]=0;if((a|0)==1){break La}}ba(b|0);X()}break Fa}f=0;o=0;j=Wa-16|0;Wa=j;c=H[m+16>>2];b=H[c+144>>2];Ta:{if(b){break Ta}while(1){d=H[c+48>>2];if(!d){b=163632;break Ta}b=Ab(1,12);Ua:{if(!b){b=163632;break Ua}ye(b,d)}d=H[c+144>>2];H[c+144>>2]=d?d:b;if(!d){break Ta}_c(b);b=H[c+144>>2];if(!b){continue}break}}b=H[b>>2];b=b?b:163632;H[j+8>>2]=K[b+16>>2]<10?163632:H[b+12>>2];b=H[c+144>>2];Va:{if(b){break Va}while(1){d=H[c+48>>2];if(!d){b=163632;break Va}b=Ab(1,12);Wa:{if(!b){b=163632;break Wa}ye(b,d)}d=H[c+144>>2];H[c+144>>2]=d?d:b;if(!d){break Va}_c(b);b=H[c+144>>2];if(!b){continue}break}}H[j+12>>2]=H[b+8>>2];if(Fb(i,m,105496,0)){h=Wa-176|0;Wa=h;b=id(h+24|0,0,m,i);H[b+104>>2]=714;c=H[a+152>>2];if(c){e=J[81816];while(1){r=c>>>0>o>>>0?H[a+156>>2]+(o<<3)|0:163632;if(K[r>>2]>f>>>0){while(1){c=f<<3;n=J[(K[a+128>>2]>f>>>0?c+H[a+132>>2]|0:163632)>>1];H[h+16>>2]=n;if(Fb(i,m,124932,h+16|0)){H[b+128>>2]=n;d=163632;g=K[a+128>>2]>f>>>0?c+H[a+132>>2]|0:163632;l=H[g+4>>2];H[b+36>>2]=0;H[b+120>>2]=l;H[b+28>>2]=0;H[b+32>>2]=0;c=H[b+132>>2];H[b+12>>2]=c;k=H[b+124>>2]==1;F[b+16|0]=k;H[b+80>>2]=0;H[b+20>>2]=l;F[b+17|0]=I[b+142|0];H[b+72>>2]=0;H[b+76>>2]=0;H[b+56>>2]=c;H[b+64>>2]=-1;F[b+61|0]=1;H[b+8>>2]=b;H[b+52>>2]=b;p=k|I[b+141|0]!=0;F[b+60|0]=p;t=I[g+2|0];H[b+12>>2]=c;H[b+20>>2]=l;H[b+56>>2]=c;H[b+72>>2]=0;H[b+76>>2]=0;H[b+80>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;F[b+16|0]=k;H[b+36>>2]=0;H[b+64>>2]=-1;F[b+61|0]=1;F[b+60|0]=p;p=t>>>1&1;F[b+142|0]=p;F[b+17|0]=p;H[b+8>>2]=b;H[b+52>>2]=b;t=I[g+2|0];H[b+36>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+20>>2]=l;F[b+17|0]=p;F[b+16|0]=k;H[b+12>>2]=c;H[b+72>>2]=0;H[b+76>>2]=0;H[b+64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=c;u=t&1;F[b+141|0]=u;F[b+60|0]=(k|t)&1;H[b+8>>2]=b;H[b+52>>2]=b;F[b+143|0]=I[g+2|0]>>>2&1;c=163632;g=H[j+8>>2];t=I[g+8|0]|I[g+9|0]<<8;if(t){c=g+((t<<8|t>>>8)&65535)|0}g=I[c|0]|I[c+1|0]<<8;Xa:{if(n>>>0>=((g<<8|g>>>8)&65535)>>>0){break Xa}g=(n<<1)+c|0;g=I[g+2|0]|I[g+3|0]<<8;if(!g){break Xa}d=((g<<8|g>>>8)&65535)+c|0}g=H[b+100>>2];w=H[g+68>>2];Ya:{if(!w|!l){break Ya}t=H[j+12>>2];c=I[d+2|0]|I[d+3|0]<<8;v=c<<8|c>>>8;c=v&65535;if(v&16){z=c;c=I[d+4|0]|I[d+5|0]<<8;c=(((c<<8|c>>>8)&65535)<<1)+d|0;c=I[c+6|0]|I[c+7|0]<<8;c=z|(c<<8|c>>>8)<<16}t=t+N(n,24)|0;H[b+36>>2]=0;H[b+132>>2]=c;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+20>>2]=l;F[b+17|0]=p;F[b+16|0]=k;H[b+12>>2]=c;H[b+72>>2]=0;H[b+76>>2]=0;H[b+64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=c;F[b+60|0]=k|u;H[b+8>>2]=b;H[b+52>>2]=b;Za:{c=I[d|0]|I[d+1|0]<<8;_a:{if((c|0)!=1792){if((c|0)!=2048){break _a}break Za}c=I[d+4|0]|I[d+5|0]<<8?I[d+6|0]|I[d+7|0]<<8:e;$a:{if(!(c&65535)){d=163632;c=e;break $a}d=((c<<8|(c&65280)>>>8)&65535)+d|0;c=I[d|0]|I[d+1|0]<<8}if((c&65535)!=256){break _a}if((I[d+2|0]|I[d+3|0]<<8)==2048){break Za}}H[g+72>>2]=0;H[g+64>>2]=0;F[g+61|0]=1;F[g+62|0]=0;H[g+84>>2]=H[g+80>>2];H[g+64>>2]=0;Zj(b,t);ad(g);break Ya}H[g+64>>2]=w-1;us(b,t)}H[h>>2]=n;Fb(i,m,124959,h)}f=f+1|0;if(f>>>0>2]){continue}break}}c=H[r+4>>2];if(c){Ya[c|0](s,m,i)}c=H[a+152>>2];o=o+1|0;if(c>>>0>o>>>0){continue}break}}Wa=h+176|0;Fb(i,m,105742,0)}Wa=j+16|0}el(i);c=H[i+88>>2];d=H[i+80>>2];b=H[i+68>>2];ab:{if((H[i+40>>2]&-2)==4){e=H[m+80>>2];Ya[H[e+184>>2]](m,H[m+84>>2],b,d,20,c,20,H[e+40>>2]);if(!Ef(m,9)|!b){break ab}k=0;while(1){e=N(k,20);Ee(m,H[e+d>>2],q+8|0,q+28|0);e=c+e|0;H[e+8>>2]=H[e+8>>2]-H[q+8>>2];H[e+12>>2]=H[e+12>>2]-H[q+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}break ab}e=H[m+80>>2];Ya[H[e+188>>2]](m,H[m+84>>2],b,d,20,c+4|0,20,H[e+44>>2]);if(!b){break ab}k=0;while(1){e=N(k,20);Th(m,H[e+d>>2],q+8|0,q+28|0);e=c+e|0;H[e+8>>2]=H[e+8>>2]-H[q+8>>2];H[e+12>>2]=H[e+12>>2]-H[q+28>>2];k=k+1|0;if((b|0)!=(k|0)){continue}break}}if(I[i+144|0]&4){h=0;b=Wa-16|0;Wa=b;l=H[i+68>>2];if(l){c=H[i+88>>2];k=H[i+80>>2];e=(H[i+40>>2]&-2)!=4;while(1){d=N(h,20);f=d+k|0;bb:{if((J[f+16>>1]&31)!=29|I[f+12|0]&32){break bb}g=H[i+28>>2];cb:{if(!g|(g|0)!=H[f>>2]){break cb}if(!e){H[c+d>>2]=H[m+20>>2]/4;break cb}H[(c+d|0)+4>>2]=H[m+24>>2]/-4}db:{eb:{fb:{gb:{hb:{f=J[f+16>>1];f=(f&31)==29?f>>>8|0:0;switch(f-1|0){case 20:break db;case 19:break eb;case 18:break fb;case 16:break gb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break hb;default:break bb}}if(!e){H[c+d>>2]=(H[m+20>>2]+(f>>>1|0)|0)/(f|0);break bb}H[(c+d|0)+4>>2]=0-((H[m+24>>2]+(f>>>1|0)|0)/(f|0)|0);break bb}if(!e){g=c+d|0;d=H[m+20>>2];f=d>>31;E=g,M=IM(d<<2,f<<2|d>>>30,18,0),H[E>>2]=M;break bb}g=c+d|0;d=0-H[m+24>>2]|0;f=d>>31;E=g,M=IM(d<<2,f<<2|d>>>30,18,0),H[E+4>>2]=M;break bb}H[b+12>>2]=0;f=H[m+80>>2];ib:{if(Ya[H[f+164>>2]](m,H[m+84>>2],48,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],49,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],50,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],51,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],52,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],53,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],54,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],55,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(Ya[H[f+164>>2]](m,H[m+84>>2],56,b+12|0,H[f+20>>2])|0){break ib}H[b+12>>2]=0;f=H[m+80>>2];if(!(Ya[H[f+164>>2]](m,H[m+84>>2],57,b+12|0,H[f+20>>2])|0)){break bb}}f=H[m+80>>2];g=H[b+12>>2];if(!e){E=c+d|0,M=Ya[H[f+176>>2]](m,H[m+84>>2],g,H[f+32>>2])|0,H[E>>2]=M;break bb}E=c+d|0,M=Ya[H[f+180>>2]](m,H[m+84>>2],g,H[f+36>>2])|0,H[E+4>>2]=M;break bb}H[b+12>>2]=0;f=H[m+80>>2];if(!(Ya[H[f+164>>2]](m,H[m+84>>2],46,b+12|0,H[f+20>>2])|0)){H[b+12>>2]=0;f=H[m+80>>2];if(!(Ya[H[f+164>>2]](m,H[m+84>>2],44,b+12|0,H[f+20>>2])|0)){break bb}}f=H[m+80>>2];g=H[b+12>>2];if(!e){E=c+d|0,M=Ya[H[f+176>>2]](m,H[m+84>>2],g,H[f+32>>2])|0,H[E>>2]=M;break bb}E=c+d|0,M=Ya[H[f+180>>2]](m,H[m+84>>2],g,H[f+36>>2])|0,H[E+4>>2]=M;break bb}if(!e){d=c+d|0;H[d>>2]=H[d>>2]/2;break bb}d=c+d|0;H[d+4>>2]=H[d+4>>2]/2}h=h+1|0;if((l|0)!=(h|0)){continue}break}}Wa=b+16|0}p=0;p=F[a+213|0]&1?(H[i+40>>2]&-3)==4:p;t=H[i+88>>2];u=H[i+80>>2];o=H[i+68>>2];if(!(!Ef(m,9)|!o)){k=0;while(1){b=N(k,20);Ee(m,H[b+u>>2],q+8|0,q+28|0);b=b+t|0;H[b+8>>2]=H[b+8>>2]+H[q+8>>2];H[b+12>>2]=H[b+12>>2]+H[q+28>>2];k=k+1|0;if((o|0)!=(k|0)){continue}break}}d=0;f=0;k=0;b=H[i+68>>2];jb:{if(!b){break jb}if(b-1>>>0>=3){c=b&-4;while(1){e=N(d,20);F[(e+H[i+88>>2]|0)+18|0]=0;G[(e+H[i+88>>2]|0)+16>>1]=0;e=N(d|1,20);F[(e+H[i+88>>2]|0)+18|0]=0;G[(e+H[i+88>>2]|0)+16>>1]=0;e=N(d|2,20);F[(e+H[i+88>>2]|0)+18|0]=0;G[(e+H[i+88>>2]|0)+16>>1]=0;e=N(d|3,20);F[(e+H[i+88>>2]|0)+18|0]=0;G[(e+H[i+88>>2]|0)+16>>1]=0;d=d+4|0;f=f+4|0;if((c|0)!=(f|0)){continue}break}}b=b&3;if(!b){break jb}while(1){c=N(d,20);F[(c+H[i+88>>2]|0)+18|0]=0;G[(c+H[i+88>>2]|0)+16>>1]=0;d=d+1|0;k=k+1|0;if((b|0)!=(k|0)){continue}break}}kb:{if(!(I[a+212|0]&32)|H[H[a+80>>2]+48>>2]!=1){break kb}c=H[i+68>>2];if(!c){break kb}d=H[i+80>>2];if(p){k=0;while(1){b=N(k,20);if(I[(b+d|0)+12|0]&8){b=b+H[i+88>>2]|0;e=H[b+4>>2];H[b+4>>2]=0;f=H[b>>2];H[b>>2]=0;H[b+8>>2]=H[b+8>>2]-f;H[b+12>>2]=H[b+12>>2]-e}k=k+1|0;if((c|0)!=(k|0)){continue}break}break kb}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){e=N(f,20);if(I[(e+d|0)+12|0]&8){e=e+H[i+88>>2]|0;H[e>>2]=0;H[e+4>>2]=0}e=N(f|1,20);if(I[(e+d|0)+12|0]&8){e=e+H[i+88>>2]|0;H[e>>2]=0;H[e+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break kb}b=N(f,20);if(!(I[(b+d|0)+12|0]&8)){break kb}b=b+H[i+88>>2]|0;H[b>>2]=0;H[b+4>>2]=0}k=0;b=J[s+152>>1];lb:{if(b&512){l=Wa-16|0;Wa=l;b=H[m+16>>2];h=H[b+148>>2];mb:{if(h){break mb}while(1){c=H[b+48>>2];if(!c){h=163632;break mb}h=Ab(1,12);nb:{if(!h){h=163632;break nb}hg(h,c)}c=H[b+148>>2];H[b+148>>2]=c?c:h;if(!c){break mb}_c(h);h=H[b+148>>2];if(!h){continue}break}}c=H[h>>2];c=c?c:163632;H[l+8>>2]=K[c+16>>2]<10?163632:H[c+12>>2];h=H[b+148>>2];ob:{if(h){break ob}while(1){c=H[b+48>>2];if(!c){h=163632;break ob}h=Ab(1,12);pb:{if(!h){h=163632;break pb}hg(h,c)}c=H[b+148>>2];H[b+148>>2]=c?c:h;if(!c){break ob}_c(h);h=H[b+148>>2];if(!h){continue}break}}H[l+12>>2]=H[h+8>>2];if(Fb(i,m,105907,0)){d=0;e=Wa-176|0;Wa=e;b=id(e+24|0,1,m,i);H[b+104>>2]=715;c=H[s+104>>2];if(c){while(1){w=c>>>0>k>>>0?H[s+108>>2]+(k<<3)|0:163632;if(K[w>>2]>d>>>0){while(1){c=d<<3;j=J[(K[s+80>>2]>d>>>0?c+H[s+84>>2]|0:163632)>>1];H[e+16>>2]=j;if(Fb(i,m,124932,e+16|0)){H[b+128>>2]=j;h=163632;n=K[s+80>>2]>d>>>0?c+H[s+84>>2]|0:163632;f=H[n+4>>2];H[b+36>>2]=0;H[b+120>>2]=f;H[b+28>>2]=0;H[b+32>>2]=0;c=H[b+132>>2];H[b+12>>2]=c;g=H[b+124>>2]==1;F[b+16|0]=g;H[b+80>>2]=0;H[b+20>>2]=f;F[b+17|0]=I[b+142|0];H[b+72>>2]=0;H[b+76>>2]=0;H[b+56>>2]=c;H[b+64>>2]=-1;F[b+61|0]=1;H[b+8>>2]=b;H[b+52>>2]=b;r=g|I[b+141|0]!=0;F[b+60|0]=r;v=I[n+2|0];H[b+12>>2]=c;H[b+20>>2]=f;H[b+56>>2]=c;H[b+72>>2]=0;H[b+76>>2]=0;H[b+80>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;F[b+16|0]=g;H[b+36>>2]=0;H[b+64>>2]=-1;F[b+61|0]=1;F[b+60|0]=r;r=v>>>1&1;F[b+142|0]=r;F[b+17|0]=r;H[b+8>>2]=b;H[b+52>>2]=b;v=I[n+2|0];H[b+36>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+20>>2]=f;F[b+17|0]=r;F[b+16|0]=g;H[b+12>>2]=c;H[b+72>>2]=0;H[b+76>>2]=0;H[b+64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=c;x=v&1;F[b+141|0]=x;F[b+60|0]=(g|v)&1;H[b+8>>2]=b;H[b+52>>2]=b;F[b+143|0]=I[n+2|0]>>>2&1;c=163632;n=H[l+8>>2];v=I[n+8|0]|I[n+9|0]<<8;if(v){c=n+((v<<8|v>>>8)&65535)|0}n=I[c|0]|I[c+1|0]<<8;qb:{if(j>>>0>=((n<<8|n>>>8)&65535)>>>0){break qb}n=(j<<1)+c|0;n=I[n+2|0]|I[n+3|0]<<8;if(!n){break qb}h=((n<<8|n>>>8)&65535)+c|0}n=H[b+100>>2];if(!(!H[n+68>>2]|!f)){v=H[l+12>>2]+N(j,24)|0;c=I[h+2|0]|I[h+3|0]<<8;A=c<<8|c>>>8;c=A&65535;if(A&16){z=c;c=I[h+4|0]|I[h+5|0]<<8;c=(((c<<8|c>>>8)&65535)<<1)+h|0;c=I[c+6|0]|I[c+7|0]<<8;c=z|(c<<8|c>>>8)<<16}H[b+36>>2]=0;H[b+132>>2]=c;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+20>>2]=f;F[b+17|0]=r;F[b+16|0]=g;H[b+12>>2]=c;H[b+72>>2]=0;H[b+76>>2]=0;H[b+64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=c;F[b+60|0]=g|x;H[b+8>>2]=b;H[b+52>>2]=b;H[n+64>>2]=0;Zj(b,v)}H[e>>2]=j;Fb(i,m,124959,e)}d=d+1|0;if(d>>>0>2]){continue}break}}c=H[w+4>>2];if(c){Ya[c|0](s,m,i)}k=k+1|0;c=H[s+104>>2];if(k>>>0>>0){continue}break}}Wa=e+176|0;Fb(i,m,106050,0)}Wa=l+16|0;break lb}if(!(b&4096)){break lb}d=Wa-80|0;Wa=d;b=Wa-48|0;Wa=b;c=H[m+16>>2]+164|0;h=H[c>>2];rb:{if(h){break rb}f=c-116|0;while(1){e=H[f>>2];if(!e){h=163632;break rb}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;g=ac(e);F[b+40|0]=1;H[b+36>>2]=g;h=Ll(b,_b(e,1801810552));if(!h){h=163632}e=H[c>>2];H[c>>2]=e?e:h;if(!e){break rb}if(!(!h|(h|0)==163632)){lb(h)}h=H[c>>2];if(!h){continue}break}}Wa=b+48|0;c=H[h+16>>2];e=H[h+12>>2];b=If(d,s,m,i,h);H[65057]=0;f=ga(580,i|0,m|0,105807,0)|0;g=H[65057];H[65057]=0;sb:{tb:{if((g|0)==1){break tb}if(f){f=H[m+16>>2];H[65057]=0;f=aa(587,f+168|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break tb}H[b+64>>2]=f;H[65057]=0;ca(588,(c>>>0<8?163632:e)|0,b|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break tb}H[65057]=0;ga(580,i|0,m|0,105981,0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break tb}}b=H[b+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){Wa=d+80|0;break sb}break Fa}a=$()|0;_()|0;b=H[b+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){ba(a|0);X()}break Fa}}b=J[s+152>>1];ub:{if(b&1024){d=Wa-80|0;Wa=d;b=Wa-48|0;Wa=b;c=H[m+16>>2]+136|0;h=H[c>>2];vb:{if(h){break vb}f=c-88|0;while(1){e=H[f>>2];if(!e){h=163632;break vb}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;g=ac(e);F[b+40|0]=1;H[b+36>>2]=g;h=Gs(b,_b(e,1801810542));if(!h){h=163632}e=H[c>>2];H[c>>2]=e?e:h;if(!e){break vb}if(!(!h|(h|0)==163632)){lb(h)}h=H[c>>2];if(!h){continue}break}}Wa=b+48|0;c=H[h+12>>2];e=H[h+16>>2];b=If(d,s,m,i,h);H[65057]=0;f=ga(580,i|0,m|0,105085,0)|0;g=H[65057];H[65057]=0;wb:{if((g|0)==1){break wb}if(f){xb:{yb:{zb:{c=e>>>0<4?163632:c;e=I[c|0]|I[c+1|0]<<8;switch((e<<8|e>>>8)&65535){case 1:break yb;case 0:break zb;default:break xb}}H[65057]=0;ca(710,c|0,b|0)|0;c=H[65057];H[65057]=0;if((c|0)!=1){break xb}break wb}H[65057]=0;ca(711,c|0,b|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break wb}}H[65057]=0;ga(580,i|0,m|0,105296,0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break wb}}Ql(b);Wa=d+80|0;break ub}a=$()|0;_()|0;Ql(b);ba(a|0);X()}if(!(b&2048)){break ub}h=0;f=Wa-48|0;Wa=f;Ab:{Bb:{if((H[i+40>>2]&-2)==4){if(Ef(m,11)){break Bb}break Ab}if(!Ef(m,12)){break Ab}}if(!Fb(i,m,105468,0)){break Ab}A=(H[i+40>>2]&-3)!=5;Cb:{if(A){break Cb}e=H[i+68>>2];if(e>>>0>=2){g=H[i+80>>2];c=e-1|0;while(1){b=g+N(c,20)|0;H[f+40>>2]=H[b+16>>2];d=H[b+12>>2];H[f+32>>2]=H[b+8>>2];H[f+36>>2]=d;d=H[b+4>>2];H[f+24>>2]=H[b>>2];H[f+28>>2]=d;d=g+N(h,20)|0;H[b+16>>2]=H[d+16>>2];l=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=l;l=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=l;H[d+16>>2]=H[f+40>>2];b=H[f+36>>2];H[d+8>>2]=H[f+32>>2];H[d+12>>2]=b;b=H[f+28>>2];H[d>>2]=H[f+24>>2];H[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}if(!I[i+62|0]){break Cb}b=H[i+68>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break Cb}e=H[i+88>>2];c=b-1|0;h=0;while(1){b=e+N(c,20)|0;H[f+40>>2]=H[b+16>>2];d=H[b+12>>2];H[f+32>>2]=H[b+8>>2];H[f+36>>2]=d;d=H[b+4>>2];H[f+24>>2]=H[b>>2];H[f+28>>2]=d;d=e+N(h,20)|0;H[b+16>>2]=H[d+16>>2];g=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=g;g=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=g;H[d+16>>2]=H[f+40>>2];b=H[f+36>>2];H[d+8>>2]=H[f+32>>2];H[d+12>>2]=b;b=H[f+28>>2];H[d>>2]=H[f+24>>2];H[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}H[f+16>>2]=m;H[f+20>>2]=H[i+40>>2];F[f+12|0]=0;H[f+8>>2]=f+16;k=H[s+144>>2];c=0;j=Wa-160|0;Wa=j;if(Fb(i,m,105847,0)){if(I[i+16|0]&64){Qb(i,2,0,-1,1,0)}b=id(j+8|0,1,m,i);H[b+120>>2]=k;H[b+132>>2]=8;H[b+36>>2]=0;H[b+8>>2]=b;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+52>>2]=b;H[b+20>>2]=k;F[b+17|0]=I[b+142|0];H[b+12>>2]=8;H[b+72>>2]=0;H[b+76>>2]=0;H[b- -64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=8;d=H[b+124>>2]==1;F[b+16|0]=d;F[b+60|0]=d|I[b+141|0]!=0;e=H[i+68>>2];if(e){n=b+4|0;g=H[i+88>>2];w=H[i+80>>2];B=(H[i+40>>2]&-2)!=4;while(1){Db:{Eb:{r=N(c,20);h=r+w|0;if(!(k&H[h+4>>2])){break Eb}H[b+40>>2]=1;H[b+4>>2]=c;d=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[d+68>>2];F[b+24|0]=H[d+64>>2]==(c|0)?I[(r+H[d+80>>2]|0)+15|0]:0;if(!Pc(n,j+4|0)){break Eb}v=H[h>>2];y=H[n>>2];h=N(y,20);x=H[h+w>>2];z=H[f+8>>2];d=H[z>>2];l=H[d+80>>2];Fb:{if((H[z+4>>2]&-2)==4){d=Ya[H[l+200>>2]](d,H[d+84>>2],v,x,H[l+56>>2])|0;break Fb}d=Ya[H[l+204>>2]](d,H[d+84>>2],v,x,H[l+60>>2])|0}if(d){Gb:{if(!B){if(I[f+12|0]){H[(g+h|0)+12>>2]=d;H[i+144>>2]=H[i+144>>2]|8;break Gb}l=g+r|0;z=l;x=H[l>>2];l=d>>1;H[z>>2]=x+l;h=g+h|0;d=d-l|0;H[h>>2]=d+H[h>>2];H[h+8>>2]=d+H[h+8>>2];break Gb}if(I[f+12|0]){H[(g+h|0)+8>>2]=d;H[i+144>>2]=H[i+144>>2]|8;break Gb}l=g+r|0;z=l;x=H[l+4>>2];l=d>>1;H[z+4>>2]=x+l;h=g+h|0;d=d-l|0;H[h+4>>2]=d+H[h+4>>2];H[h+12>>2]=d+H[h+12>>2]}Ad(i,c,y+1|0)}c=H[n>>2];break Db}c=c+1|0}if(e>>>0>c>>>0){continue}break}}Fb(i,m,105999,0)}Wa=j+160|0;Hb:{if(A){break Hb}e=H[i+68>>2];if(e>>>0>=2){g=H[i+80>>2];c=e-1|0;h=0;while(1){b=g+N(c,20)|0;H[f+40>>2]=H[b+16>>2];d=H[b+12>>2];H[f+32>>2]=H[b+8>>2];H[f+36>>2]=d;d=H[b+4>>2];H[f+24>>2]=H[b>>2];H[f+28>>2]=d;d=g+N(h,20)|0;H[b+16>>2]=H[d+16>>2];l=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=l;l=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=l;H[d+16>>2]=H[f+40>>2];b=H[f+36>>2];H[d+8>>2]=H[f+32>>2];H[d+12>>2]=b;b=H[f+28>>2];H[d>>2]=H[f+24>>2];H[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}if(!I[i+62|0]){break Hb}b=H[i+68>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break Hb}e=H[i+88>>2];c=b-1|0;h=0;while(1){b=e+N(c,20)|0;H[f+40>>2]=H[b+16>>2];d=H[b+12>>2];H[f+32>>2]=H[b+8>>2];H[f+36>>2]=d;d=H[b+4>>2];H[f+24>>2]=H[b>>2];H[f+28>>2]=d;d=e+N(h,20)|0;H[b+16>>2]=H[d+16>>2];g=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=g;g=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=g;H[d+16>>2]=H[f+40>>2];b=H[f+36>>2];H[d+8>>2]=H[f+32>>2];H[d+12>>2]=b;b=H[f+28>>2];H[d>>2]=H[f+24>>2];H[d+4>>2]=b;h=h+1|0;c=c-1|0;if(h>>>0>>0){continue}break}}Fb(i,m,105661,0)}Wa=f+48|0}if(I[s+153|0]&64){Ib:{c=Wa-80|0;Wa=c;d=Kl(H[m+16>>2]+172|0);b=If(c,s,m,i,163632);H[65057]=0;ca(590,d|0,b|0)|0;d=H[65057];H[65057]=0;Jb:{if((d|0)!=1){b=H[b+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break Jb}Wa=c+80|0;break Ib}a=$()|0;_()|0;b=H[b+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break Jb}ba(a|0);X()}break Fa}}Kb:{if(!(I[a+212|0]&32)|H[H[a+80>>2]+48>>2]!=2){break Kb}c=H[i+68>>2];if(!c){break Kb}d=H[i+80>>2];if(p){k=0;while(1){b=N(k,20);if(I[(b+d|0)+12|0]&8){b=b+H[i+88>>2]|0;e=H[b+4>>2];H[b+4>>2]=0;f=H[b>>2];H[b>>2]=0;H[b+8>>2]=H[b+8>>2]-f;H[b+12>>2]=H[b+12>>2]-e}k=k+1|0;if((c|0)!=(k|0)){continue}break}break Kb}f=0;if((c|0)!=1){b=c&-2;k=0;while(1){e=N(f,20);if(I[(e+d|0)+12|0]&8){e=e+H[i+88>>2]|0;H[e>>2]=0;H[e+4>>2]=0}e=N(f|1,20);if(I[(e+d|0)+12|0]&8){e=e+H[i+88>>2]|0;H[e>>2]=0;H[e+4>>2]=0}f=f+2|0;k=k+2|0;if((b|0)!=(k|0)){continue}break}}if(!(c&1)){break Kb}b=N(f,20);if(!(I[(b+d|0)+12|0]&8)){break Kb}b=b+H[i+88>>2]|0;H[b>>2]=0;H[b+4>>2]=0}Lb:{if(!(I[i+144|0]&2)|I[i+16|0]&12){break Lb}b=H[i+68>>2];if(!b){break Lb}c=H[i+88>>2];d=H[i+80>>2];f=0;if((b|0)!=1){g=b&-2;j=0;while(1){e=N(f,20);h=e+d|0;if(!(!(I[h+16|0]&32)|I[h+12|0]&16)){e=c+e|0;H[e>>2]=0;H[e+4>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0}e=N(f|1,20);h=e+d|0;if(!(!(I[h+16|0]&32)|I[h+12|0]&16)){e=c+e|0;H[e>>2]=0;H[e+4>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0}f=f+2|0;j=j+2|0;if((g|0)!=(j|0)){continue}break}}if(!(b&1)){break Lb}b=d+N(f,20)|0;if(!(I[b+16|0]&32)|I[b+12|0]&16){break Lb}b=c+N(f,20)|0;H[b>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0}if(I[a+213|0]&32){h=0;b=H[i+68>>2];Mb:{if(!b){break Mb}c=H[i+88>>2];e=H[i+80>>2];d=0;if((b|0)!=1){g=b&-2;while(1){f=N(d,20);if(H[f+e>>2]==65535){f=c+f|0;H[f>>2]=0;H[f+4>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0}f=N(d|1,20);if(H[f+e>>2]==65535){f=c+f|0;H[f>>2]=0;H[f+4>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0}d=d+2|0;h=h+2|0;if((g|0)!=(h|0)){continue}break}}if(!(b&1)){break Mb}b=N(d,20);if(H[b+e>>2]!=65535){break Mb}b=b+c|0;H[b>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0}}c=Wa-16|0;Wa=c;f=al(i,c+12|0);e=H[c+12>>2];if(!(!(I[i+144|0]&8)|!e)){b=H[i+40>>2];d=0;while(1){vs(f,e,d,b);d=d+1|0;e=H[c+12>>2];if(d>>>0>>0){continue}break}}if(!(!e|L[m+28>>2]==O(0))){d=0;while(1){b=f+N(d,20)|0;g=H[b+12>>2];if(g){D=O(O(T(O(O(L[m+32>>2]*O(g|0))+O(.5))))+O(H[b+8>>2]));Nb:{if(O(P(D))>2]=e;e=H[c+12>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}Wa=c+16|0;if(!(!Ef(m,9)|!o)){k=0;while(1){b=N(k,20);Ee(m,H[b+u>>2],q+8|0,q+28|0);b=b+t|0;H[b+8>>2]=H[b+8>>2]-H[q+8>>2];H[b+12>>2]=H[b+12>>2]-H[q+28>>2];k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(I[a+212|0]&128){e=0;if(Fb(i,m,105133,0)){d=1;b=H[i+68>>2];if(b>>>0>1){c=H[i+80>>2];while(1){if(!(1<>1]&7168)){br(s,m,i,e,d,p);e=d}d=d+1|0;if((b|0)!=(d|0)){continue}break}}br(s,m,i,e,b,p);Fb(i,m,105316,0)}}if((H[i+40>>2]&-3)==5){Be(i)}Ob:{if(!(I[i+144|0]&2)){break Ob}c=H[i+16>>2];if(c&4){break Ob}d=H[i+80>>2];b=H[i+68>>2];e=H[i+28>>2];H[q+8>>2]=e;Pb:{if(c&8){break Pb}if(!e){H[q+8>>2]=0;c=H[m+80>>2];if(!(Ya[H[c+164>>2]](m,H[m+84>>2],32,q+8|0,H[c+20>>2])|0)){break Pb}}if(!b){break Ob}f=0;while(1){c=d+N(f,20)|0;if(!(!(I[c+16|0]&32)|I[c+12|0]&16)){H[c>>2]=H[q+8>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break Ob}ws(i,782)}if(I[a+213|0]&32){ws(i,586)}Qb:{if(!H[H[a+80>>2]+20>>2]){break Qb}if(!Fb(i,m,105592,0)){break Qb}Ya[H[H[a+80>>2]+20>>2]](s,i,m);Fb(i,m,105824,0)}Rb:{if(!(I[i+144|0]&32)){break Rb}c=H[i+68>>2];if(!c){break Rb}d=H[i+80>>2];a=c-1|0;f=0;while(1){Sb:{if((a|0)==(f|0)){f=c;break Sb}b=N(f,20);f=f+1|0;b=b+d|0;if(H[b+8>>2]==H[b+28>>2]){continue}}break}h=0;while(1){a=f;Tb:{if(f>>>0<=h>>>0){break Tb}b=a-h|0;e=b&3;j=0;f=0;k=h;l=a+(h^-1)>>>0<3;if(!l){o=b&-4;b=0;while(1){g=d+N(k,20)|0;f=H[g- -64>>2]&3|(H[g+44>>2]&3|(H[g+24>>2]&3|(H[g+4>>2]&3|f)));k=k+4|0;b=b+4|0;if((o|0)!=(b|0)){continue}break}}if(e){while(1){f=H[(d+N(k,20)|0)+4>>2]&3|f;k=k+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(!f){break Tb}k=0;if(e){while(1){b=d+N(h,20)|0;H[b+4>>2]=H[b+4>>2]|f;h=h+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(l){break Tb}while(1){b=d+N(h,20)|0;H[b+4>>2]=H[b+4>>2]|f;H[b+24>>2]=H[b+24>>2]|f;H[b+44>>2]=H[b+44>>2]|f;b=b- -64|0;H[b>>2]=H[b>>2]|f;h=h+4|0;if((a|0)!=(h|0)){continue}break}}b=a+1|0;b=b>>>0>>0?c:b;e=b-1|0;f=a;while(1){Ub:{if((e|0)==(f|0)){f=b;break Ub}g=N(f,20);f=f+1|0;g=d+g|0;if(H[g+8>>2]==H[g+28>>2]){continue}}break}h=a;if(c>>>0>h>>>0){continue}break}}H[i+40>>2]=C;H[i+148>>2]=1073741823;H[i+152>>2]=536870911;F[i+140|0]=0;Wa=q+32|0;return 1}ea(0)|0;_()|0;Gb();X()}function CM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,A=0;n=Wa-16|0;Wa=n;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{switch(a-1|0){default:switch(a-255|0){case 36:break j;case 35:break k;case 0:break D;case 38:break h;case 37:break i;default:break g};case 10:if(I[b+16|0]){F[b+40|0]=1}a=H[b+92>>2];F:{G:{if(a){a=a-1|0;H[b+92>>2]=a;if(a>>>0>=K[b+100>>2]){break G}a=H[b+104>>2]+N(a,28)|0;break F}F[b+88|0]=1}H[64766]=H[40914];a=H[40913];H[64764]=H[40912];H[64765]=a;a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}c=H[a+4>>2];H[b+44>>2]=H[a>>2];H[b+48>>2]=c;H[b+68>>2]=H[a+24>>2];c=H[a+20>>2];H[b+60>>2]=H[a+16>>2];H[b+64>>2]=c;c=H[a+12>>2];H[b+52>>2]=H[a+8>>2];H[b+56>>2]=c;c=H[a+8>>2];e=H[a+12>>2];f=H[a>>2];g=H[a+4>>2];F[b+16|0]=I[a+16|0];H[b+8>>2]=c;H[b+12>>2]=e;H[b>>2]=f;H[b+4>>2]=g;break a;case 30:break l;case 29:break m;case 26:break n;case 25:break o;case 24:break p;case 23:break q;case 7:break r;case 6:break s;case 5:break t;case 4:break u;case 3:break v;case 21:break w;case 20:break x;case 18:case 19:break y;case 2:case 22:break z;case 0:case 17:break A;case 28:break B;case 9:break C;case 13:break E;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break g}}if(!I[b+144|0]){if(F[b+24|0]&1){H:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break H}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}H[b+148>>2]=0;F[b+72|0]=1;H[b+24>>2]=0;break a}if(I[b+16|0]){break a}f=H[b+12>>2];g=f+4|0;e=H[b+4>>2];if(g>>>0>e>>>0){break a}I:{if(e>>>0<=f>>>0){F[b+16|0]=1;a=163632;break I}a=f+H[b>>2]|0}a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=H[b+24>>2];J:{if(a>>>0>2]){H[b+24>>2]=a+1;c=H[b+36>>2]+(a<<3)|0;a=e;break J}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;c=259040;a=H[b+4>>2]}M[c>>3]=+(d|0)*152587890625e-16;if(!(a>>>0>>0|e>>>0<=f>>>0|a>>>0>>0)){H[b+12>>2]=g;break a}F[b+16|0]=1;H[b+12>>2]=a;break a}Kh(b,b+116|0,2);break a}Kh(b,b+108|0,1);break a}if(I[b+144|0]|a>>>0>18){break b}if(1<>2];a=e>>>0>1;break c}K:{if(I[b+144|0]|a>>>0>23){break K}L:{M:{c=1<>2];a=e>>>0>2;break L}e=H[b+24>>2];a=e&1;break L}e=H[b+24>>2];a=e>>>0>1}if(!(!a|!e)){N:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break N}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}H[b+148>>2]=0;a=H[b+24>>2];H[b+24>>2]=0;H[b+80>>2]=H[b+80>>2]+(a>>>1|0);break a}if(!I[b+144|0]){if(F[b+24|0]&1){O:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break O}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}P:{if(I[b+74|0]){a=H[b+84>>2];break P}F[b+74|0]=1;a=H[b+80>>2]+(H[b+24>>2]>>>1|0)|0;H[b+80>>2]=a;a=(a+H[b+76>>2]|0)+7>>>3|0;H[b+84>>2]=a}if(I[b+16|0]){break a}c=H[b+12>>2];e=c+a|0;a=H[b+4>>2];if(e>>>0>a>>>0){break a}H[b+148>>2]=0;H[b+24>>2]=0;if(a>>>0>=c>>>0){H[b+12>>2]=e;break a}F[b+16|0]=1;H[b+12>>2]=a;break a}f=H[b+24>>2];if(!I[b+144|0]){if(f>>>0>=3){Q:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break Q}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}a=H[b+140>>2];H[n+8>>2]=H[b+136>>2];H[n+12>>2]=a;a=H[b+132>>2];H[n>>2]=H[b+128>>2];H[n+4>>2]=a;if(!f){e=259040;break e}a=f-1|0;H[b+24>>2]=a;g=H[b+32>>2];R:{if(g>>>0<=a>>>0){e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break R}e=H[b+36>>2]+(a<<3)|0}if(!a){break e}a=f-2|0;H[b+24>>2]=a;if(a>>>0>=g>>>0){a=H[40909];f=H[40908];H[64760]=f;H[64761]=a;x(0,f|0);x(1,a|0);h=+z();break d}h=M[H[b+36>>2]+(a<<3)>>3];break d}f=H[b+24>>2];if(!I[b+144|0]){if(f>>>0>=2){S:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break S}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}a=H[b+140>>2];H[n+8>>2]=H[b+136>>2];H[n+12>>2]=a;a=H[b+132>>2];H[n>>2]=H[b+128>>2];H[n+4>>2]=a;T:{if(f){a=f-1|0;H[b+24>>2]=a;if(a>>>0>=K[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z();break T}h=M[H[b+36>>2]+(a<<3)>>3];break T}F[b+20|0]=1;a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z()}M[n>>3]=h+M[n>>3];nk(c,n);a=H[n+12>>2];H[b+136>>2]=H[n+8>>2];H[b+140>>2]=a;a=H[n+4>>2];H[b+128>>2]=H[n>>2];H[b+132>>2]=a;if(!I[b+73|0]){if(!I[b+74|0]){F[b+74|0]=1;a=H[b+80>>2]+(H[b+24>>2]>>>1|0)|0;H[b+80>>2]=a;H[b+84>>2]=(a+H[b+76>>2]|0)+7>>>3}F[b+73|0]=1}H[b+24>>2]=0;H[b+148>>2]=0;break a}f=H[b+24>>2];if(!I[b+144|0]){if(f>>>0>=2){U:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break U}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}a=H[b+140>>2];H[n+8>>2]=H[b+136>>2];H[n+12>>2]=a;a=H[b+132>>2];H[n>>2]=H[b+128>>2];H[n+4>>2]=a;V:{if(f){a=f-1|0;H[b+24>>2]=a;if(a>>>0>=K[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z();break V}h=M[H[b+36>>2]+(a<<3)>>3];break V}F[b+20|0]=1;a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z()}M[n+8>>3]=h+M[n+8>>3];nk(c,n);a=H[n+12>>2];H[b+136>>2]=H[n+8>>2];H[b+140>>2]=a;a=H[n+4>>2];H[b+128>>2]=H[n>>2];H[b+132>>2]=a;if(!I[b+73|0]){if(!I[b+74|0]){F[b+74|0]=1;a=H[b+80>>2]+(H[b+24>>2]>>>1|0)|0;H[b+80>>2]=a;H[b+84>>2]=(a+H[b+76>>2]|0)+7>>>3}F[b+73|0]=1}H[b+24>>2]=0;H[b+148>>2]=0;break a}r=H[b+24>>2];if(r>>>0>=2){g=H[40908];d=H[40909];e=2;a=0;while(1){f=H[b+140>>2];H[n+8>>2]=H[b+136>>2];H[n+12>>2]=f;f=H[b+132>>2];H[n>>2]=H[b+128>>2];H[n+4>>2]=f;if(a>>>0>=r>>>0){F[b+20|0]=1}j=H[b+32>>2];W:{if(j>>>0<=a>>>0){H[64760]=g;H[64761]=d;f=259040;break W}f=H[b+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=r>>>0){F[b+20|0]=1}X:{if(a>>>0>=j>>>0){H[64760]=g;H[64761]=d;a=259040;break X}a=H[b+36>>2]+(a<<3)|0}M[n>>3]=M[n>>3]+M[f>>3];M[n+8>>3]=M[n+8>>3]+M[a>>3];$d(c,n);a=H[n+12>>2];H[b+136>>2]=H[n+8>>2];H[b+140>>2]=a;a=H[n+4>>2];H[b+128>>2]=H[n>>2];H[b+132>>2]=a;a=e;e=e+2|0;r=H[b+24>>2];if(e>>>0<=r>>>0){continue}break}}H[b+24>>2]=0;H[b+148>>2]=0;break a}a=0;g=Wa-16|0;Wa=g;f=b;p=H[b+24>>2];if(p>>>0>=2){a=H[40909];d=a;j=H[40908];x(0,j|0);x(1,d|0);h=+z();b=2;while(1){a=b;b=H[f+140>>2];H[g+8>>2]=H[f+136>>2];H[g+12>>2]=b;b=H[f+132>>2];H[g>>2]=H[f+128>>2];H[g+4>>2]=b;if(e>>>0>=p>>>0){F[f+20|0]=1}Y:{if(K[f+32>>2]<=e>>>0){H[64760]=j;H[64761]=d;i=h;break Y}i=M[H[f+36>>2]+(e<<3)>>3]}M[g>>3]=M[g>>3]+i;$d(c,g);b=H[g+12>>2];H[f+136>>2]=H[g+8>>2];H[f+140>>2]=b;b=H[g+4>>2];H[f+128>>2]=H[g>>2];H[f+132>>2]=b;b=e|1;if(b>>>0>=K[f+24>>2]){F[f+20|0]=1}Z:{if(b>>>0>=K[f+32>>2]){H[64760]=j;H[64761]=d;i=h;break Z}i=M[H[f+36>>2]+(b<<3)>>3]}M[g+8>>3]=M[g+8>>3]+i;$d(c,g);b=H[g+12>>2];H[f+136>>2]=H[g+8>>2];H[f+140>>2]=b;b=H[g+4>>2];H[f+128>>2]=H[g>>2];H[f+132>>2]=b;e=a;b=e+2|0;p=H[f+24>>2];if(b>>>0<=p>>>0){continue}break}}if(a>>>0

>>0){b=H[f+140>>2];H[g+8>>2]=H[f+136>>2];H[g+12>>2]=b;b=H[f+132>>2];H[g>>2]=H[f+128>>2];H[g+4>>2]=b;_:{if(K[f+32>>2]<=a>>>0){a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break _}h=M[H[f+36>>2]+(a<<3)>>3]}M[g>>3]=M[g>>3]+h;$d(c,g);a=H[g+12>>2];H[f+136>>2]=H[g+8>>2];H[f+140>>2]=a;a=H[g+4>>2];H[f+128>>2]=H[g>>2];H[f+132>>2]=a}Wa=g+16|0;H[f+24>>2]=0;H[f+148>>2]=0;break a}a=0;g=Wa-16|0;Wa=g;f=b;p=H[b+24>>2];if(p>>>0>=2){a=H[40909];d=a;j=H[40908];x(0,j|0);x(1,d|0);h=+z();b=2;while(1){a=b;b=H[f+140>>2];H[g+8>>2]=H[f+136>>2];H[g+12>>2]=b;b=H[f+132>>2];H[g>>2]=H[f+128>>2];H[g+4>>2]=b;if(e>>>0>=p>>>0){F[f+20|0]=1}$:{if(K[f+32>>2]<=e>>>0){H[64760]=j;H[64761]=d;i=h;break $}i=M[H[f+36>>2]+(e<<3)>>3]}M[g+8>>3]=M[g+8>>3]+i;$d(c,g);b=H[g+12>>2];H[f+136>>2]=H[g+8>>2];H[f+140>>2]=b;b=H[g+4>>2];H[f+128>>2]=H[g>>2];H[f+132>>2]=b;b=e|1;if(b>>>0>=K[f+24>>2]){F[f+20|0]=1}aa:{if(b>>>0>=K[f+32>>2]){H[64760]=j;H[64761]=d;i=h;break aa}i=M[H[f+36>>2]+(b<<3)>>3]}M[g>>3]=M[g>>3]+i;$d(c,g);b=H[g+12>>2];H[f+136>>2]=H[g+8>>2];H[f+140>>2]=b;b=H[g+4>>2];H[f+128>>2]=H[g>>2];H[f+132>>2]=b;e=a;b=e+2|0;p=H[f+24>>2];if(b>>>0<=p>>>0){continue}break}}if(a>>>0

>>0){b=H[f+140>>2];H[g+8>>2]=H[f+136>>2];H[g+12>>2]=b;b=H[f+132>>2];H[g>>2]=H[f+128>>2];H[g+4>>2]=b;ba:{if(K[f+32>>2]<=a>>>0){a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break ba}h=M[H[f+36>>2]+(a<<3)>>3]}M[g+8>>3]=M[g+8>>3]+h;$d(c,g);a=H[g+12>>2];H[f+136>>2]=H[g+8>>2];H[f+140>>2]=a;a=H[g+4>>2];H[f+128>>2]=H[g>>2];H[f+132>>2]=a}Wa=g+16|0;H[f+24>>2]=0;H[f+148>>2]=0;break a}g=Wa-48|0;Wa=g;j=H[b+24>>2];if(j>>>0>=6){d=H[40908];m=H[40909];a=6;while(1){f=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=f;f=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=f;if(e>>>0>=j>>>0){F[b+20|0]=1}l=H[b+32>>2];ca:{if(l>>>0<=e>>>0){H[64760]=d;H[64761]=m;f=259040;break ca}f=H[b+36>>2]+(e<<3)|0}k=e|1;if(k>>>0>=j>>>0){F[b+20|0]=1}da:{if(l>>>0<=k>>>0){H[64760]=d;H[64761]=m;k=259040;break da}k=H[b+36>>2]+(k<<3)|0}M[g+32>>3]=M[g+32>>3]+M[f>>3];M[g+40>>3]=M[g+40>>3]+M[k>>3];f=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=f;f=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=f;f=e+2|0;if(f>>>0>=j>>>0){F[b+20|0]=1}ea:{if(f>>>0>=l>>>0){H[64760]=d;H[64761]=m;f=259040;break ea}f=H[b+36>>2]+(f<<3)|0}k=e+3|0;if(k>>>0>=j>>>0){F[b+20|0]=1}fa:{if(l>>>0<=k>>>0){H[64760]=d;H[64761]=m;k=259040;break fa}k=H[b+36>>2]+(k<<3)|0}M[g+16>>3]=M[g+16>>3]+M[f>>3];M[g+24>>3]=M[g+24>>3]+M[k>>3];f=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=f;f=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=f;f=e+4|0;if(f>>>0>=j>>>0){F[b+20|0]=1}ga:{if(f>>>0>=l>>>0){H[64760]=d;H[64761]=m;f=259040;break ga}f=H[b+36>>2]+(f<<3)|0}e=e+5|0;if(e>>>0>=j>>>0){F[b+20|0]=1}ha:{if(e>>>0>=l>>>0){H[64760]=d;H[64761]=m;e=259040;break ha}e=H[b+36>>2]+(e<<3)|0}M[g>>3]=M[g>>3]+M[f>>3];M[g+8>>3]=M[g+8>>3]+M[e>>3];sc(c,g+32|0,g+16|0,g);e=H[g+12>>2];H[b+136>>2]=H[g+8>>2];H[b+140>>2]=e;e=H[g+4>>2];H[b+128>>2]=H[g>>2];H[b+132>>2]=e;e=a;a=e+6|0;j=H[b+24>>2];if(a>>>0<=j>>>0){continue}break}}Wa=g+48|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}g=Wa-48|0;Wa=g;k=H[b+24>>2];if(k>>>0>=8){o=k-2|0;d=H[40908];j=H[40909];a=6;while(1){f=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=f;f=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=f;if(e>>>0>=k>>>0){F[b+20|0]=1}m=H[b+32>>2];ia:{if(m>>>0<=e>>>0){H[64760]=d;H[64761]=j;f=259040;break ia}f=H[b+36>>2]+(e<<3)|0}l=e|1;if(l>>>0>=k>>>0){F[b+20|0]=1}ja:{if(m>>>0<=l>>>0){H[64760]=d;H[64761]=j;l=259040;break ja}l=H[b+36>>2]+(l<<3)|0}M[g+32>>3]=M[g+32>>3]+M[f>>3];M[g+40>>3]=M[g+40>>3]+M[l>>3];f=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=f;f=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=f;f=e+2|0;if(f>>>0>=k>>>0){F[b+20|0]=1}ka:{if(f>>>0>=m>>>0){H[64760]=d;H[64761]=j;f=259040;break ka}f=H[b+36>>2]+(f<<3)|0}l=e+3|0;if(l>>>0>=k>>>0){F[b+20|0]=1}la:{if(m>>>0<=l>>>0){H[64760]=d;H[64761]=j;l=259040;break la}l=H[b+36>>2]+(l<<3)|0}M[g+16>>3]=M[g+16>>3]+M[f>>3];M[g+24>>3]=M[g+24>>3]+M[l>>3];f=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=f;f=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=f;f=e+4|0;if(f>>>0>=k>>>0){F[b+20|0]=1}ma:{if(f>>>0>=m>>>0){H[64760]=d;H[64761]=j;f=259040;break ma}f=H[b+36>>2]+(f<<3)|0}e=e+5|0;if(e>>>0>=k>>>0){F[b+20|0]=1}na:{if(e>>>0>=m>>>0){H[64760]=d;H[64761]=j;e=259040;break na}e=H[b+36>>2]+(e<<3)|0}M[g>>3]=M[g>>3]+M[f>>3];M[g+8>>3]=M[g+8>>3]+M[e>>3];sc(c,g+32|0,g+16|0,g);e=H[g+12>>2];H[b+136>>2]=H[g+8>>2];H[b+140>>2]=e;e=H[g+4>>2];H[b+128>>2]=H[g>>2];H[b+132>>2]=e;k=H[b+24>>2];e=a;a=e+6|0;if(o>>>0>=a>>>0){continue}break}a=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=a;a=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=a;if(e>>>0>=k>>>0){F[b+20|0]=1}f=H[b+32>>2];oa:{if(f>>>0<=e>>>0){a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break oa}a=H[b+36>>2]+(e<<3)|0}e=e|1;if(e>>>0>=k>>>0){F[b+20|0]=1}pa:{if(e>>>0>=f>>>0){e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break pa}e=H[b+36>>2]+(e<<3)|0}M[g+32>>3]=M[g+32>>3]+M[a>>3];M[g+40>>3]=M[g+40>>3]+M[e>>3];$d(c,g+32|0);a=H[g+44>>2];H[b+136>>2]=H[g+40>>2];H[b+140>>2]=a;a=H[g+36>>2];H[b+128>>2]=H[g+32>>2];H[b+132>>2]=a}Wa=g+48|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}g=Wa-48|0;Wa=g;k=H[b+24>>2];if(k>>>0>=8){m=k-6|0;d=H[40908];j=H[40909];a=2;while(1){f=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=f;f=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=f;if(e>>>0>=k>>>0){F[b+20|0]=1}l=H[b+32>>2];qa:{if(l>>>0<=e>>>0){H[64760]=d;H[64761]=j;f=259040;break qa}f=H[b+36>>2]+(e<<3)|0}e=e|1;if(e>>>0>=k>>>0){F[b+20|0]=1}ra:{if(e>>>0>=l>>>0){H[64760]=d;H[64761]=j;e=259040;break ra}e=H[b+36>>2]+(e<<3)|0}M[g+32>>3]=M[g+32>>3]+M[f>>3];M[g+40>>3]=M[g+40>>3]+M[e>>3];$d(c,g+32|0);e=H[g+44>>2];H[b+136>>2]=H[g+40>>2];H[b+140>>2]=e;e=H[g+36>>2];H[b+128>>2]=H[g+32>>2];H[b+132>>2]=e;k=H[b+24>>2];e=a;a=e+2|0;if(m>>>0>=a>>>0){continue}break}f=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=f;f=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=f;if(e>>>0>=k>>>0){F[b+20|0]=1}d=H[b+32>>2];sa:{if(d>>>0<=e>>>0){f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break sa}f=H[b+36>>2]+(e<<3)|0}j=e|1;if(j>>>0>=k>>>0){F[b+20|0]=1}ta:{if(d>>>0<=j>>>0){j=H[40909];H[64760]=H[40908];H[64761]=j;j=259040;break ta}j=H[b+36>>2]+(j<<3)|0}M[g+32>>3]=M[g+32>>3]+M[f>>3];M[g+40>>3]=M[g+40>>3]+M[j>>3];f=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=f;f=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=f;if(a>>>0>=k>>>0){F[b+20|0]=1}ua:{if(a>>>0>=d>>>0){a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break ua}a=H[b+36>>2]+(a<<3)|0}f=e+3|0;if(f>>>0>=k>>>0){F[b+20|0]=1}va:{if(d>>>0<=f>>>0){f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break va}f=H[b+36>>2]+(f<<3)|0}M[g+16>>3]=M[g+16>>3]+M[a>>3];M[g+24>>3]=M[g+24>>3]+M[f>>3];a=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=a;a=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=a;a=e+4|0;if(a>>>0>=k>>>0){F[b+20|0]=1}wa:{if(a>>>0>=d>>>0){a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break wa}a=H[b+36>>2]+(a<<3)|0}e=e+5|0;if(e>>>0>=k>>>0){F[b+20|0]=1}xa:{if(d>>>0<=e>>>0){e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break xa}e=H[b+36>>2]+(e<<3)|0}M[g>>3]=M[g>>3]+M[a>>3];M[g+8>>3]=M[g+8>>3]+M[e>>3];sc(c,g+32|0,g+16|0,g);a=H[g+12>>2];H[b+136>>2]=H[g+8>>2];H[b+140>>2]=a;a=H[g+4>>2];H[b+128>>2]=H[g>>2];H[b+132>>2]=a}Wa=g+48|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}g=Wa-48|0;Wa=g;a=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=a;a=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=a;j=H[b+24>>2];if(j&1){ya:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z();break ya}h=M[H[b+36>>2]>>3]}M[g+32>>3]=M[g+32>>3]+h;e=1}a=e|4;if(j>>>0>=a>>>0){f=H[40909];d=f;m=H[40908];x(0,m|0);x(1,d|0);h=+z();while(1){if(e>>>0>=j>>>0){F[b+20|0]=1}l=H[b+32>>2];za:{if(l>>>0<=e>>>0){H[64760]=m;H[64761]=d;i=h;break za}i=M[H[b+36>>2]+(e<<3)>>3]}M[g+40>>3]=M[g+40>>3]+i;f=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=f;f=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=f;f=e+1|0;if(f>>>0>=j>>>0){F[b+20|0]=1}Aa:{if(f>>>0>=l>>>0){H[64760]=m;H[64761]=d;f=259040;break Aa}f=H[b+36>>2]+(f<<3)|0}k=e+2|0;if(k>>>0>=j>>>0){F[b+20|0]=1}Ba:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=d;k=259040;break Ba}k=H[b+36>>2]+(k<<3)|0}M[g+16>>3]=M[g+16>>3]+M[f>>3];M[g+24>>3]=M[g+24>>3]+M[k>>3];f=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=f;f=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=f;e=e+3|0;if(e>>>0>=j>>>0){F[b+20|0]=1}Ca:{if(e>>>0>=l>>>0){H[64760]=m;H[64761]=d;i=h;break Ca}i=M[H[b+36>>2]+(e<<3)>>3]}M[g+8>>3]=M[g+8>>3]+i;sc(c,g+32|0,g+16|0,g);e=H[g+12>>2];H[b+136>>2]=H[g+8>>2];H[b+140>>2]=e;e=H[g+4>>2];H[b+128>>2]=H[g>>2];H[b+132>>2]=e;e=H[g+12>>2];H[g+40>>2]=H[g+8>>2];H[g+44>>2]=e;e=H[g+4>>2];H[g+32>>2]=H[g>>2];H[g+36>>2]=e;e=a;a=e+4|0;j=H[b+24>>2];if(a>>>0<=j>>>0){continue}break}}Wa=g+48|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}g=Wa-48|0;Wa=g;a=H[b+140>>2];H[g+40>>2]=H[b+136>>2];H[g+44>>2]=a;a=H[b+132>>2];H[g+32>>2]=H[b+128>>2];H[g+36>>2]=a;j=H[b+24>>2];if(j&1){Da:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z();break Da}h=M[H[b+36>>2]>>3]}M[g+40>>3]=M[g+40>>3]+h;e=1}a=e|4;if(j>>>0>=a>>>0){f=H[40909];d=f;m=H[40908];x(0,m|0);x(1,d|0);h=+z();while(1){if(e>>>0>=j>>>0){F[b+20|0]=1}l=H[b+32>>2];Ea:{if(l>>>0<=e>>>0){H[64760]=m;H[64761]=d;i=h;break Ea}i=M[H[b+36>>2]+(e<<3)>>3]}M[g+32>>3]=M[g+32>>3]+i;f=H[g+44>>2];H[g+24>>2]=H[g+40>>2];H[g+28>>2]=f;f=H[g+36>>2];H[g+16>>2]=H[g+32>>2];H[g+20>>2]=f;f=e+1|0;if(f>>>0>=j>>>0){F[b+20|0]=1}Fa:{if(f>>>0>=l>>>0){H[64760]=m;H[64761]=d;f=259040;break Fa}f=H[b+36>>2]+(f<<3)|0}k=e+2|0;if(k>>>0>=j>>>0){F[b+20|0]=1}Ga:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=d;k=259040;break Ga}k=H[b+36>>2]+(k<<3)|0}M[g+16>>3]=M[g+16>>3]+M[f>>3];M[g+24>>3]=M[g+24>>3]+M[k>>3];f=H[g+28>>2];H[g+8>>2]=H[g+24>>2];H[g+12>>2]=f;f=H[g+20>>2];H[g>>2]=H[g+16>>2];H[g+4>>2]=f;f=e+3|0;if(f>>>0>=j>>>0){F[b+20|0]=1}e=a;Ha:{if(f>>>0>=l>>>0){H[64760]=m;H[64761]=d;i=h;break Ha}i=M[H[b+36>>2]+(f<<3)>>3]}M[g>>3]=M[g>>3]+i;sc(c,g+32|0,g+16|0,g);a=H[g+12>>2];H[b+136>>2]=H[g+8>>2];H[b+140>>2]=a;a=H[g+4>>2];H[b+128>>2]=H[g>>2];H[b+132>>2]=a;a=H[g+12>>2];H[g+40>>2]=H[g+8>>2];H[g+44>>2]=a;a=H[g+4>>2];H[g+32>>2]=H[g>>2];H[g+36>>2]=a;a=e+4|0;j=H[b+24>>2];if(a>>>0<=j>>>0){continue}break}}Wa=g+48|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}g=c;c=0;d=Wa-96|0;Wa=d;H[d+88>>2]=0;H[d+92>>2]=0;H[d+80>>2]=0;H[d+84>>2]=0;H[d+72>>2]=0;H[d+76>>2]=0;H[d+64>>2]=0;H[d+68>>2]=0;H[d+56>>2]=0;H[d+60>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;f=b;j=H[b+24>>2];Ia:{if(!(j&4)){if(j>>>0<8){break Ia}a=H[40909];e=a;m=H[40908];x(0,m|0);x(1,e|0);h=+z();b=8;while(1){a=c;c=b;b=H[f+140>>2];H[d+88>>2]=H[f+136>>2];H[d+92>>2]=b;b=H[f+132>>2];H[d+80>>2]=H[f+128>>2];H[d+84>>2]=b;if(a>>>0>=j>>>0){F[f+20|0]=1}l=H[f+32>>2];Ja:{if(l>>>0<=a>>>0){H[64760]=m;H[64761]=e;i=h;break Ja}i=M[H[f+36>>2]+(a<<3)>>3]}M[d+88>>3]=M[d+88>>3]+i;b=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=b;b=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=b;b=a|1;if(b>>>0>=j>>>0){F[f+20|0]=1}Ka:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;b=259040;break Ka}b=H[f+36>>2]+(b<<3)|0}k=a|2;if(k>>>0>=j>>>0){F[f+20|0]=1}La:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=e;k=259040;break La}k=H[f+36>>2]+(k<<3)|0}M[d+64>>3]=M[d+64>>3]+M[b>>3];M[d+72>>3]=M[d+72>>3]+M[k>>3];b=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=b;b=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=b;b=a|3;if(b>>>0>=j>>>0){F[f+20|0]=1}Ma:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;i=h;break Ma}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+48>>3]=M[d+48>>3]+i;sc(g,d+80|0,d- -64|0,d+48|0);b=H[d+60>>2];H[f+136>>2]=H[d+56>>2];H[f+140>>2]=b;b=H[d+52>>2];H[f+128>>2]=H[d+48>>2];H[f+132>>2]=b;b=H[d+60>>2];H[d+88>>2]=H[d+56>>2];H[d+92>>2]=b;b=H[d+52>>2];H[d+80>>2]=H[d+48>>2];H[d+84>>2]=b;j=H[f+24>>2];b=a|4;if(j>>>0<=b>>>0){F[f+20|0]=1}l=H[f+32>>2];Na:{if(l>>>0<=b>>>0){H[64760]=m;H[64761]=e;i=h;break Na}i=M[H[f+36>>2]+(b<<3)>>3]}b=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=b;M[d+80>>3]=M[d+80>>3]+i;b=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=b;b=a|5;if(b>>>0>=j>>>0){F[f+20|0]=1}Oa:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;b=259040;break Oa}b=H[f+36>>2]+(b<<3)|0}k=a|6;if(k>>>0>=j>>>0){F[f+20|0]=1}Pa:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=e;k=259040;break Pa}k=H[f+36>>2]+(k<<3)|0}M[d+64>>3]=M[d+64>>3]+M[b>>3];M[d+72>>3]=M[d+72>>3]+M[k>>3];b=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=b;b=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=b;b=a|7;if(b>>>0>=j>>>0){F[f+20|0]=1}Qa:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;i=h;break Qa}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+56>>3]=M[d+56>>3]+i;if(!(!(j&1)|j-a>>>0>15)){if(c>>>0>=j>>>0){F[f+20|0]=1}Ra:{if(c>>>0>=l>>>0){H[64760]=m;H[64761]=e;i=h;break Ra}i=M[H[f+36>>2]+(c<<3)>>3]}M[d+48>>3]=M[d+48>>3]+i}sc(g,d+80|0,d- -64|0,d+48|0);a=H[d+60>>2];H[f+136>>2]=H[d+56>>2];H[f+140>>2]=a;a=H[d+52>>2];H[f+128>>2]=H[d+48>>2];H[f+132>>2]=a;b=c+8|0;j=H[f+24>>2];if(b>>>0<=j>>>0){continue}break}break Ia}a=H[f+140>>2];H[d+40>>2]=H[f+136>>2];H[d+44>>2]=a;a=H[f+132>>2];H[d+32>>2]=H[f+128>>2];H[d+36>>2]=a;Sa:{Ta:{c=H[f+32>>2];Ua:{if(!c){M[d+40>>3]=M[d+40>>3]+M[20454];a=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=a;a=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=a;e=259040;break Ua}M[d+40>>3]=M[d+40>>3]+M[H[f+36>>2]>>3];a=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=a;a=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=a;if((c|0)==1){e=259040;break Ua}e=H[f+36>>2]+8|0;if(c>>>0>2){break Ta}}a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break Sa}h=M[H[f+36>>2]+16>>3]}i=M[e>>3];M[d+24>>3]=M[d+24>>3]+h;M[d+16>>3]=i+M[d+16>>3];a=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=a;a=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=a;Va:{if(c>>>0<=3){a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break Va}h=M[H[f+36>>2]+24>>3]}M[d>>3]=M[d>>3]+h;b=12;a=4;if(j>>>0>=12){a=H[40909];m=a;l=H[40908];x(0,l|0);x(1,a|0);h=+z();e=4;while(1){a=b;sc(g,d+32|0,d+16|0,d);b=H[d+12>>2];H[f+136>>2]=H[d+8>>2];H[f+140>>2]=b;b=H[d+4>>2];H[f+128>>2]=H[d>>2];H[f+132>>2]=b;b=H[d+12>>2];H[d+40>>2]=H[d+8>>2];H[d+44>>2]=b;b=H[d+4>>2];H[d+32>>2]=H[d>>2];H[d+36>>2]=b;c=H[f+24>>2];if(c>>>0<=e>>>0){F[f+20|0]=1}j=H[f+32>>2];Wa:{if(j>>>0<=e>>>0){H[64760]=l;H[64761]=m;i=h;break Wa}i=M[H[f+36>>2]+(e<<3)>>3]}b=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=b;M[d+32>>3]=M[d+32>>3]+i;b=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=b;b=e|1;if(b>>>0>=c>>>0){F[f+20|0]=1}Xa:{if(b>>>0>=j>>>0){H[64760]=l;H[64761]=m;b=259040;break Xa}b=H[f+36>>2]+(b<<3)|0}k=e|2;if(k>>>0>=c>>>0){F[f+20|0]=1}Ya:{if(j>>>0<=k>>>0){H[64760]=l;H[64761]=m;k=259040;break Ya}k=H[f+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[b>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];b=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=b;b=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=b;b=e|3;if(b>>>0>=c>>>0){F[f+20|0]=1}Za:{if(b>>>0>=j>>>0){H[64760]=l;H[64761]=m;i=h;break Za}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+8>>3]=M[d+8>>3]+i;sc(g,d+32|0,d+16|0,d);b=H[d+12>>2];H[f+136>>2]=H[d+8>>2];H[f+140>>2]=b;b=H[d+4>>2];H[f+128>>2]=H[d>>2];H[f+132>>2]=b;b=H[d+12>>2];H[d+40>>2]=H[d+8>>2];H[d+44>>2]=b;b=H[d+4>>2];H[d+32>>2]=H[d>>2];H[d+36>>2]=b;j=H[f+24>>2];b=e+4|0;if(j>>>0<=b>>>0){F[f+20|0]=1}c=H[f+32>>2];_a:{if(b>>>0>=c>>>0){H[64760]=l;H[64761]=m;i=h;break _a}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+40>>3]=M[d+40>>3]+i;b=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=b;b=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=b;b=e+5|0;if(b>>>0>=j>>>0){F[f+20|0]=1}$a:{if(b>>>0>=c>>>0){H[64760]=l;H[64761]=m;b=259040;break $a}b=H[f+36>>2]+(b<<3)|0}k=e+6|0;if(k>>>0>=j>>>0){F[f+20|0]=1}ab:{if(c>>>0<=k>>>0){H[64760]=l;H[64761]=m;k=259040;break ab}k=H[f+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[b>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];b=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=b;b=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=b;b=e+7|0;if(b>>>0>=j>>>0){F[f+20|0]=1}bb:{if(b>>>0>=c>>>0){H[64760]=l;H[64761]=m;i=h;break bb}i=M[H[f+36>>2]+(b<<3)>>3]}M[d>>3]=M[d>>3]+i;e=a;b=e+8|0;if(j>>>0>=b>>>0){continue}break}}if(a>>>0>>0){cb:{if(a>>>0>=c>>>0){a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break cb}h=M[H[f+36>>2]+(a<<3)>>3]}M[d+8>>3]=M[d+8>>3]+h}sc(g,d+32|0,d+16|0,d);a=H[d+12>>2];H[f+136>>2]=H[d+8>>2];H[f+140>>2]=a;a=H[d+4>>2];H[f+128>>2]=H[d>>2];H[f+132>>2]=a}Wa=d+96|0;H[f+24>>2]=0;H[f+148>>2]=0;break a}g=c;c=0;d=Wa-96|0;Wa=d;H[d+88>>2]=0;H[d+92>>2]=0;H[d+80>>2]=0;H[d+84>>2]=0;H[d+72>>2]=0;H[d+76>>2]=0;H[d+64>>2]=0;H[d+68>>2]=0;H[d+56>>2]=0;H[d+60>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;f=b;j=H[b+24>>2];db:{if(!(j&4)){if(j>>>0<8){break db}a=H[40909];e=a;m=H[40908];x(0,m|0);x(1,e|0);h=+z();b=8;while(1){a=c;c=b;b=H[f+140>>2];H[d+88>>2]=H[f+136>>2];H[d+92>>2]=b;b=H[f+132>>2];H[d+80>>2]=H[f+128>>2];H[d+84>>2]=b;if(a>>>0>=j>>>0){F[f+20|0]=1}l=H[f+32>>2];eb:{if(l>>>0<=a>>>0){H[64760]=m;H[64761]=e;i=h;break eb}i=M[H[f+36>>2]+(a<<3)>>3]}b=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=b;M[d+80>>3]=M[d+80>>3]+i;b=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=b;b=a|1;if(b>>>0>=j>>>0){F[f+20|0]=1}fb:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;b=259040;break fb}b=H[f+36>>2]+(b<<3)|0}k=a|2;if(k>>>0>=j>>>0){F[f+20|0]=1}gb:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=e;k=259040;break gb}k=H[f+36>>2]+(k<<3)|0}M[d+64>>3]=M[d+64>>3]+M[b>>3];M[d+72>>3]=M[d+72>>3]+M[k>>3];b=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=b;b=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=b;b=a|3;if(b>>>0>=j>>>0){F[f+20|0]=1}hb:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;i=h;break hb}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+56>>3]=M[d+56>>3]+i;sc(g,d+80|0,d- -64|0,d+48|0);b=H[d+60>>2];H[f+136>>2]=H[d+56>>2];H[f+140>>2]=b;b=H[d+52>>2];H[f+128>>2]=H[d+48>>2];H[f+132>>2]=b;b=H[d+60>>2];H[d+88>>2]=H[d+56>>2];H[d+92>>2]=b;b=H[d+52>>2];H[d+80>>2]=H[d+48>>2];H[d+84>>2]=b;j=H[f+24>>2];b=a|4;if(j>>>0<=b>>>0){F[f+20|0]=1}l=H[f+32>>2];ib:{if(l>>>0<=b>>>0){H[64760]=m;H[64761]=e;i=h;break ib}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+88>>3]=M[d+88>>3]+i;b=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=b;b=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=b;b=a|5;if(b>>>0>=j>>>0){F[f+20|0]=1}jb:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;b=259040;break jb}b=H[f+36>>2]+(b<<3)|0}k=a|6;if(k>>>0>=j>>>0){F[f+20|0]=1}kb:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=e;k=259040;break kb}k=H[f+36>>2]+(k<<3)|0}M[d+64>>3]=M[d+64>>3]+M[b>>3];M[d+72>>3]=M[d+72>>3]+M[k>>3];b=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=b;b=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=b;b=a|7;if(b>>>0>=j>>>0){F[f+20|0]=1}lb:{if(b>>>0>=l>>>0){H[64760]=m;H[64761]=e;i=h;break lb}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+48>>3]=M[d+48>>3]+i;if(!(!(j&1)|j-a>>>0>15)){if(c>>>0>=j>>>0){F[f+20|0]=1}mb:{if(c>>>0>=l>>>0){H[64760]=m;H[64761]=e;i=h;break mb}i=M[H[f+36>>2]+(c<<3)>>3]}M[d+56>>3]=M[d+56>>3]+i}sc(g,d+80|0,d- -64|0,d+48|0);a=H[d+60>>2];H[f+136>>2]=H[d+56>>2];H[f+140>>2]=a;a=H[d+52>>2];H[f+128>>2]=H[d+48>>2];H[f+132>>2]=a;b=c+8|0;j=H[f+24>>2];if(b>>>0<=j>>>0){continue}break}break db}a=H[f+140>>2];H[d+40>>2]=H[f+136>>2];H[d+44>>2]=a;a=H[f+132>>2];H[d+32>>2]=H[f+128>>2];H[d+36>>2]=a;nb:{ob:{c=H[f+32>>2];pb:{if(!c){M[d+32>>3]=M[d+32>>3]+M[20454];a=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=a;a=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=a;e=259040;break pb}M[d+32>>3]=M[d+32>>3]+M[H[f+36>>2]>>3];a=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=a;a=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=a;if((c|0)==1){e=259040;break pb}e=H[f+36>>2]+8|0;if(c>>>0>2){break ob}}a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break nb}h=M[H[f+36>>2]+16>>3]}i=M[e>>3];M[d+24>>3]=M[d+24>>3]+h;M[d+16>>3]=i+M[d+16>>3];a=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=a;a=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=a;qb:{if(c>>>0<=3){a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break qb}h=M[H[f+36>>2]+24>>3]}M[d+8>>3]=M[d+8>>3]+h;b=12;a=4;if(j>>>0>=12){a=H[40909];m=a;l=H[40908];x(0,l|0);x(1,a|0);h=+z();e=4;while(1){a=b;sc(g,d+32|0,d+16|0,d);b=H[d+12>>2];H[f+136>>2]=H[d+8>>2];H[f+140>>2]=b;b=H[d+4>>2];H[f+128>>2]=H[d>>2];H[f+132>>2]=b;b=H[d+12>>2];H[d+40>>2]=H[d+8>>2];H[d+44>>2]=b;b=H[d+4>>2];H[d+32>>2]=H[d>>2];H[d+36>>2]=b;c=H[f+24>>2];if(c>>>0<=e>>>0){F[f+20|0]=1}j=H[f+32>>2];rb:{if(j>>>0<=e>>>0){H[64760]=l;H[64761]=m;i=h;break rb}i=M[H[f+36>>2]+(e<<3)>>3]}M[d+40>>3]=M[d+40>>3]+i;b=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=b;b=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=b;b=e|1;if(b>>>0>=c>>>0){F[f+20|0]=1}sb:{if(b>>>0>=j>>>0){H[64760]=l;H[64761]=m;b=259040;break sb}b=H[f+36>>2]+(b<<3)|0}k=e|2;if(k>>>0>=c>>>0){F[f+20|0]=1}tb:{if(j>>>0<=k>>>0){H[64760]=l;H[64761]=m;k=259040;break tb}k=H[f+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[b>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];b=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=b;b=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=b;b=e|3;if(b>>>0>=c>>>0){F[f+20|0]=1}ub:{if(b>>>0>=j>>>0){H[64760]=l;H[64761]=m;i=h;break ub}i=M[H[f+36>>2]+(b<<3)>>3]}M[d>>3]=M[d>>3]+i;sc(g,d+32|0,d+16|0,d);b=H[d+12>>2];H[f+136>>2]=H[d+8>>2];H[f+140>>2]=b;b=H[d+4>>2];H[f+128>>2]=H[d>>2];H[f+132>>2]=b;b=H[d+12>>2];H[d+40>>2]=H[d+8>>2];H[d+44>>2]=b;b=H[d+4>>2];H[d+32>>2]=H[d>>2];H[d+36>>2]=b;j=H[f+24>>2];b=e+4|0;if(j>>>0<=b>>>0){F[f+20|0]=1}c=H[f+32>>2];vb:{if(b>>>0>=c>>>0){H[64760]=l;H[64761]=m;i=h;break vb}i=M[H[f+36>>2]+(b<<3)>>3]}b=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=b;M[d+32>>3]=M[d+32>>3]+i;b=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=b;b=e+5|0;if(b>>>0>=j>>>0){F[f+20|0]=1}wb:{if(b>>>0>=c>>>0){H[64760]=l;H[64761]=m;b=259040;break wb}b=H[f+36>>2]+(b<<3)|0}k=e+6|0;if(k>>>0>=j>>>0){F[f+20|0]=1}xb:{if(c>>>0<=k>>>0){H[64760]=l;H[64761]=m;k=259040;break xb}k=H[f+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[b>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];b=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=b;b=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=b;b=e+7|0;if(b>>>0>=j>>>0){F[f+20|0]=1}yb:{if(b>>>0>=c>>>0){H[64760]=l;H[64761]=m;i=h;break yb}i=M[H[f+36>>2]+(b<<3)>>3]}M[d+8>>3]=M[d+8>>3]+i;e=a;b=e+8|0;if(j>>>0>=b>>>0){continue}break}}if(a>>>0>>0){zb:{if(a>>>0>=c>>>0){a=H[40909];b=H[40908];H[64760]=b;H[64761]=a;x(0,b|0);x(1,a|0);h=+z();break zb}h=M[H[f+36>>2]+(a<<3)>>3]}M[d>>3]=M[d>>3]+h}sc(g,d+32|0,d+16|0,d);a=H[d+12>>2];H[f+136>>2]=H[d+8>>2];H[f+140>>2]=a;a=H[d+4>>2];H[f+128>>2]=H[d>>2];H[f+132>>2]=a}Wa=d+96|0;H[f+24>>2]=0;H[f+148>>2]=0;break a}e=Wa-96|0;Wa=e;Ab:{if(H[b+24>>2]==7){a=H[b+140>>2];H[e+88>>2]=H[b+136>>2];H[e+92>>2]=a;a=H[b+132>>2];H[e+80>>2]=H[b+128>>2];H[e+84>>2]=a;Bb:{Cb:{f=H[b+32>>2];Db:{if(!f){M[e+80>>3]=M[e+80>>3]+M[20454];a=H[e+92>>2];H[e+72>>2]=H[e+88>>2];H[e+76>>2]=a;a=H[e+84>>2];H[e+64>>2]=H[e+80>>2];H[e+68>>2]=a;a=259040;break Db}M[e+80>>3]=M[e+80>>3]+M[H[b+36>>2]>>3];a=H[e+92>>2];H[e+72>>2]=H[e+88>>2];H[e+76>>2]=a;a=H[e+84>>2];H[e+64>>2]=H[e+80>>2];H[e+68>>2]=a;if((f|0)==1){a=259040;break Db}a=H[b+36>>2]+8|0;if(f>>>0>2){break Cb}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break Bb}h=M[H[b+36>>2]+16>>3]}i=M[a>>3];M[e+72>>3]=M[e+72>>3]+h;M[e+64>>3]=i+M[e+64>>3];a=H[e+76>>2];H[e+56>>2]=H[e+72>>2];H[e+60>>2]=a;a=H[e+68>>2];H[e+48>>2]=H[e+64>>2];H[e+52>>2]=a;Eb:{Fb:{Gb:{Hb:{Ib:{if(f>>>0<=3){a=H[40909];g=H[40908];H[64760]=g;H[64761]=a;h=M[e+48>>3];x(0,g|0);x(1,a|0);y=e,A=h+ +z(),M[y+48>>3]=A;a=H[e+60>>2];H[e+40>>2]=H[e+56>>2];H[e+44>>2]=a;a=H[e+52>>2];H[e+32>>2]=H[e+48>>2];H[e+36>>2]=a;break Ib}M[e+48>>3]=M[e+48>>3]+M[H[b+36>>2]+24>>3];a=H[e+60>>2];H[e+40>>2]=H[e+56>>2];H[e+44>>2]=a;a=H[e+52>>2];H[e+32>>2]=H[e+48>>2];H[e+36>>2]=a;if((f|0)!=4){break Hb}}M[e+32>>3]=M[e+32>>3]+M[20454];a=H[e+44>>2];H[e+24>>2]=H[e+40>>2];H[e+28>>2]=a;a=H[e+36>>2];H[e+16>>2]=H[e+32>>2];H[e+20>>2]=a;break Gb}M[e+32>>3]=M[e+32>>3]+M[H[b+36>>2]+32>>3];a=H[e+44>>2];H[e+24>>2]=H[e+40>>2];H[e+28>>2]=a;a=H[e+36>>2];H[e+16>>2]=H[e+32>>2];H[e+20>>2]=a;if(f>>>0>5){break Fb}}a=H[40909];g=H[40908];H[64760]=g;H[64761]=a;x(0,g|0);x(1,a|0);h=+z();break Eb}h=M[H[b+36>>2]+40>>3]}a=H[e+92>>2];g=H[e+88>>2];H[e+24>>2]=g;H[e+28>>2]=a;M[e+16>>3]=M[e+16>>3]+h;H[e+8>>2]=g;H[e+12>>2]=a;a=H[e+20>>2];H[e>>2]=H[e+16>>2];H[e+4>>2]=a;Jb:{if(f>>>0<=6){a=H[40909];f=H[40908];H[64760]=f;H[64761]=a;x(0,f|0);x(1,a|0);h=+z();break Jb}h=M[H[b+36>>2]+48>>3]}M[e>>3]=M[e>>3]+h;sc(c,e+80|0,e- -64|0,e+48|0);a=H[e+60>>2];H[b+136>>2]=H[e+56>>2];H[b+140>>2]=a;a=H[e+52>>2];H[b+128>>2]=H[e+48>>2];H[b+132>>2]=a;sc(c,e+32|0,e+16|0,e);a=H[e+12>>2];H[b+136>>2]=H[e+8>>2];H[b+140>>2]=a;a=H[e+4>>2];H[b+128>>2]=H[e>>2];H[b+132>>2]=a;break Ab}F[b+40|0]=1}Wa=e+96|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}e=Wa-96|0;Wa=e;Kb:{if(H[b+24>>2]==13){a=H[b+140>>2];H[e+88>>2]=H[b+136>>2];H[e+92>>2]=a;a=H[b+132>>2];H[e+80>>2]=H[b+128>>2];H[e+84>>2]=a;Lb:{Mb:{f=H[b+32>>2];Nb:{if(!f){a=259040;break Nb}a=H[b+36>>2];if((f|0)!=1){break Mb}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break Lb}h=M[H[b+36>>2]+8>>3]}i=M[a>>3];M[e+88>>3]=M[e+88>>3]+h;M[e+80>>3]=i+M[e+80>>3];a=H[e+92>>2];H[e+72>>2]=H[e+88>>2];H[e+76>>2]=a;a=H[e+84>>2];H[e+64>>2]=H[e+80>>2];H[e+68>>2]=a;Ob:{Pb:{Qb:{if(f>>>0<3){a=259040;break Qb}a=H[b+36>>2]+16|0;if((f|0)!=3){break Pb}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break Ob}h=M[H[b+36>>2]+24>>3]}i=M[a>>3];M[e+72>>3]=M[e+72>>3]+h;M[e+64>>3]=i+M[e+64>>3];a=H[e+76>>2];H[e+56>>2]=H[e+72>>2];H[e+60>>2]=a;a=H[e+68>>2];H[e+48>>2]=H[e+64>>2];H[e+52>>2]=a;Rb:{Sb:{Tb:{if(f>>>0<5){a=259040;break Tb}a=H[b+36>>2]+32|0;if((f|0)!=5){break Sb}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break Rb}h=M[H[b+36>>2]+40>>3]}i=M[a>>3];M[e+56>>3]=M[e+56>>3]+h;M[e+48>>3]=i+M[e+48>>3];a=H[e+60>>2];H[e+40>>2]=H[e+56>>2];H[e+44>>2]=a;a=H[e+52>>2];H[e+32>>2]=H[e+48>>2];H[e+36>>2]=a;Ub:{Vb:{Wb:{if(f>>>0<7){a=259040;break Wb}a=H[b+36>>2]+48|0;if((f|0)!=7){break Vb}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break Ub}h=M[H[b+36>>2]+56>>3]}i=M[a>>3];M[e+40>>3]=M[e+40>>3]+h;M[e+32>>3]=i+M[e+32>>3];a=H[e+44>>2];H[e+24>>2]=H[e+40>>2];H[e+28>>2]=a;a=H[e+36>>2];H[e+16>>2]=H[e+32>>2];H[e+20>>2]=a;Xb:{Yb:{Zb:{if(f>>>0<9){a=259040;break Zb}a=H[b+36>>2]- -64|0;if((f|0)!=9){break Yb}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break Xb}h=M[H[b+36>>2]+72>>3]}i=M[a>>3];M[e+24>>3]=M[e+24>>3]+h;M[e+16>>3]=i+M[e+16>>3];a=H[e+28>>2];H[e+8>>2]=H[e+24>>2];H[e+12>>2]=a;a=H[e+20>>2];H[e>>2]=H[e+16>>2];H[e+4>>2]=a;_b:{$b:{ac:{if(f>>>0<11){a=259040;break ac}a=H[b+36>>2]+80|0;if((f|0)!=11){break $b}}f=H[40909];g=H[40908];H[64760]=g;H[64761]=f;x(0,g|0);x(1,f|0);h=+z();break _b}h=M[H[b+36>>2]+88>>3]}i=M[a>>3];M[e+8>>3]=M[e+8>>3]+h;M[e>>3]=i+M[e>>3];sc(c,e+80|0,e- -64|0,e+48|0);a=H[e+60>>2];H[b+136>>2]=H[e+56>>2];H[b+140>>2]=a;a=H[e+52>>2];H[b+128>>2]=H[e+48>>2];H[b+132>>2]=a;sc(c,e+32|0,e+16|0,e);a=H[e+12>>2];H[b+136>>2]=H[e+8>>2];H[b+140>>2]=a;a=H[e+4>>2];H[b+128>>2]=H[e>>2];H[b+132>>2]=a;break Kb}F[b+40|0]=1}Wa=e+96|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}e=Wa-96|0;Wa=e;bc:{if(H[b+24>>2]==9){a=H[b+140>>2];H[e+88>>2]=H[b+136>>2];H[e+92>>2]=a;a=H[b+132>>2];H[e+80>>2]=H[b+128>>2];H[e+84>>2]=a;cc:{dc:{f=H[b+32>>2];ec:{if(!f){a=259040;break ec}a=H[b+36>>2];if((f|0)!=1){break dc}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break cc}h=M[H[b+36>>2]+8>>3]}i=M[a>>3];M[e+88>>3]=M[e+88>>3]+h;M[e+80>>3]=i+M[e+80>>3];a=H[e+92>>2];H[e+72>>2]=H[e+88>>2];H[e+76>>2]=a;a=H[e+84>>2];H[e+64>>2]=H[e+80>>2];H[e+68>>2]=a;fc:{gc:{hc:{if(f>>>0<3){a=259040;break hc}a=H[b+36>>2]+16|0;if((f|0)!=3){break gc}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break fc}h=M[H[b+36>>2]+24>>3]}i=M[a>>3];M[e+72>>3]=M[e+72>>3]+h;M[e+64>>3]=i+M[e+64>>3];a=H[e+76>>2];H[e+56>>2]=H[e+72>>2];H[e+60>>2]=a;a=H[e+68>>2];H[e+48>>2]=H[e+64>>2];H[e+52>>2]=a;ic:{jc:{kc:{lc:{mc:{if(f>>>0<=4){M[e+48>>3]=M[e+48>>3]+M[20454];a=H[e+60>>2];H[e+40>>2]=H[e+56>>2];H[e+44>>2]=a;a=H[e+52>>2];H[e+32>>2]=H[e+48>>2];H[e+36>>2]=a;break mc}M[e+48>>3]=M[e+48>>3]+M[H[b+36>>2]+32>>3];a=H[e+60>>2];H[e+40>>2]=H[e+56>>2];H[e+44>>2]=a;a=H[e+52>>2];H[e+32>>2]=H[e+48>>2];H[e+36>>2]=a;if((f|0)!=5){break lc}}a=H[40909];g=H[40908];H[64760]=g;H[64761]=a;h=M[e+32>>3];x(0,g|0);x(1,a|0);y=e,A=h+ +z(),M[y+32>>3]=A;a=H[e+44>>2];H[e+24>>2]=H[e+40>>2];H[e+28>>2]=a;a=H[e+36>>2];H[e+16>>2]=H[e+32>>2];H[e+20>>2]=a;a=259040;break kc}M[e+32>>3]=M[e+32>>3]+M[H[b+36>>2]+40>>3];a=H[e+44>>2];H[e+24>>2]=H[e+40>>2];H[e+28>>2]=a;a=H[e+36>>2];H[e+16>>2]=H[e+32>>2];H[e+20>>2]=a;if(f>>>0<7){a=259040;break kc}a=H[b+36>>2]+48|0;if((f|0)!=7){break jc}}g=H[40909];d=H[40908];H[64760]=d;H[64761]=g;x(0,d|0);x(1,g|0);h=+z();break ic}h=M[H[b+36>>2]+56>>3]}i=M[a>>3];M[e+24>>3]=M[e+24>>3]+h;M[e+16>>3]=i+M[e+16>>3];a=H[e+28>>2];H[e+8>>2]=H[e+24>>2];H[e+12>>2]=a;a=H[e+20>>2];H[e>>2]=H[e+16>>2];H[e+4>>2]=a;nc:{if(f>>>0<=8){a=H[40909];f=H[40908];H[64760]=f;H[64761]=a;x(0,f|0);x(1,a|0);h=+z();break nc}h=M[H[b+36>>2]+64>>3]}M[e>>3]=M[e>>3]+h;a=H[b+140>>2];H[e+8>>2]=H[b+136>>2];H[e+12>>2]=a;sc(c,e+80|0,e- -64|0,e+48|0);a=H[e+60>>2];H[b+136>>2]=H[e+56>>2];H[b+140>>2]=a;a=H[e+52>>2];H[b+128>>2]=H[e+48>>2];H[b+132>>2]=a;sc(c,e+32|0,e+16|0,e);a=H[e+12>>2];H[b+136>>2]=H[e+8>>2];H[b+140>>2]=a;a=H[e+4>>2];H[b+128>>2]=H[e>>2];H[b+132>>2]=a;break bc}F[b+40|0]=1}Wa=e+96|0;H[b+24>>2]=0;H[b+148>>2]=0;break a}d=Wa-96|0;Wa=d;oc:{pc:{qc:{f=b;rc:{sc:{if(H[b+24>>2]==11){a=H[f+36>>2];m=H[40908];l=H[40909];b=259040;e=259040;tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{o=H[f+32>>2];switch(o|0){case 0:break Ac;case 1:break Bc;default:break zc}}e=a}H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=+z()+0;h=M[e>>3]+0;g=0;break yc}i=M[a+8>>3]+0;h=M[a>>3]+0;g=1;if(o>>>0<3){break yc}if((o|0)!=3){break xc}b=a+16|0;s=1;g=1}H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=i+ +z();h=h+M[b>>3];b=259040;break wc}i=i+M[a+24>>3];h=h+M[a+16>>3];if(o>>>0<5){t=1;g=1;s=1;b=259040;break wc}if((o|0)!=5){break vc}t=1;g=1;s=1;u=1;b=a+32|0}H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=i+ +z();h=h+M[b>>3];b=259040;break uc}i=i+M[a+40>>3];h=h+M[a+32>>3];if(o>>>0<7){w=1;t=1;g=1;s=1;u=1;b=259040;break uc}if((o|0)!=7){break tc}w=1;t=1;g=1;s=1;u=1;k=1;b=a+48|0}H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);v=i+ +z();h=h+M[b>>3];e=259040;break sc}v=i+M[a+56>>3];h=h+M[a+48>>3];if(o>>>0<9){j=1;w=1;t=1;g=1;s=1;u=1;k=1;break sc}if((o|0)==9){e=a- -64|0;j=1;w=1;t=1;g=1;s=1;u=1;k=1;r=1;break sc}i=M[a+64>>3];q=M[a+72>>3];b=H[f+140>>2];H[d+88>>2]=H[f+136>>2];H[d+92>>2]=b;b=H[f+132>>2];H[d+80>>2]=H[f+128>>2];H[d+84>>2]=b;e=f+128|0;v=v+q;h=h+i;p=1;j=1;w=1;t=1;s=1;u=1;k=1;r=1;b=a;break rc}F[f+40|0]=1;break oc}H[64760]=m;H[64761]=l;q=M[e>>3];b=H[f+140>>2];H[d+88>>2]=H[f+136>>2];H[d+92>>2]=b;b=H[f+132>>2];H[d+80>>2]=H[f+128>>2];H[d+84>>2]=b;e=f+128|0;x(0,m|0);x(1,l|0);i=+z();v=v+i;h=h+q;if(!o){H[64760]=m;H[64761]=l;b=259040;if(g){break rc}break qc}b=a;if(!g){break qc}b=a}i=M[a+8>>3];break pc}H[64760]=m;H[64761]=l}q=M[b>>3];M[d+88>>3]=M[d+88>>3]+i;M[d+80>>3]=q+M[d+80>>3];b=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=b;b=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=b;Cc:{if(!s){H[64760]=m;H[64761]=l;b=259040;break Cc}b=a+16|0}Dc:{if(!t){H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=+z();break Dc}i=M[a+24>>3]}q=M[b>>3];M[d+72>>3]=M[d+72>>3]+i;M[d+64>>3]=q+M[d+64>>3];b=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=b;b=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=b;Ec:{if(!u){H[64760]=m;H[64761]=l;b=259040;break Ec}b=a+32|0}Fc:{if(!w){H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=+z();break Fc}i=M[a+40>>3]}q=M[b>>3];M[d+56>>3]=M[d+56>>3]+i;M[d+48>>3]=q+M[d+48>>3];b=H[d+60>>2];H[d+40>>2]=H[d+56>>2];H[d+44>>2]=b;b=H[d+52>>2];H[d+32>>2]=H[d+48>>2];H[d+36>>2]=b;Gc:{if(!k){H[64760]=m;H[64761]=l;b=259040;break Gc}b=a+48|0}Hc:{if(!j){H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=+z();break Hc}i=M[a+56>>3]}q=M[b>>3];M[d+40>>3]=M[d+40>>3]+i;M[d+32>>3]=q+M[d+32>>3];b=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=b;b=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=b;Ic:{if(!r){H[64760]=m;H[64761]=l;b=259040;break Ic}b=a- -64|0}Jc:{if(!p){H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);i=+z();break Jc}i=M[a+72>>3]}q=M[b>>3];M[d+24>>3]=M[d+24>>3]+i;M[d+16>>3]=q+M[d+16>>3];b=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=b;b=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=b;Kc:{if(P(h)>P(v)){Lc:{if(o>>>0<=10){H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);h=+z();break Lc}h=M[a+80>>3]}M[d>>3]=M[d>>3]+h;a=H[f+140>>2];H[d+8>>2]=H[f+136>>2];H[d+12>>2]=a;break Kc}b=H[e+4>>2];H[d>>2]=H[e>>2];H[d+4>>2]=b;Mc:{if(o>>>0<=10){H[64760]=m;H[64761]=l;x(0,m|0);x(1,l|0);h=+z();break Mc}h=M[a+80>>3]}M[d+8>>3]=M[d+8>>3]+h}sc(c,d+80|0,d- -64|0,d+48|0);a=H[d+60>>2];H[e+8>>2]=H[d+56>>2];H[e+12>>2]=a;a=H[d+52>>2];H[e>>2]=H[d+48>>2];H[e+4>>2]=a;sc(c,d+32|0,d+16|0,d);a=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=a;a=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=a}Wa=d+96|0;H[f+24>>2]=0;H[f+148>>2]=0;break a}_e(a,b);break a}e=H[b+24>>2];a=e&1;break c}F[b+20|0]=1;a=H[40909];f=H[40908];H[64760]=f;H[64761]=a;x(0,f|0);x(1,a|0);h=+z()}M[n>>3]=h+M[n>>3];M[n+8>>3]=M[n+8>>3]+M[e>>3];nk(c,n);a=H[n+12>>2];H[b+136>>2]=H[n+8>>2];H[b+140>>2]=a;a=H[n+4>>2];H[b+128>>2]=H[n>>2];H[b+132>>2]=a;if(!I[b+73|0]){if(!I[b+74|0]){F[b+74|0]=1;a=H[b+80>>2]+(H[b+24>>2]>>>1|0)|0;H[b+80>>2]=a;H[b+84>>2]=(a+H[b+76>>2]|0)+7>>>3}F[b+73|0]=1}H[b+24>>2]=0;H[b+148>>2]=0;break a}if(!(!a|!e)){Nc:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break Nc}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}H[b+148>>2]=0;a=H[b+24>>2];H[b+24>>2]=0;H[b+76>>2]=H[b+76>>2]+(a>>>1|0)}Wa=n+16|0}function qk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,A=0,B=0,C=0,D=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{switch(a-1|0){default:switch(a-255|0){case 38:break l;case 37:break m;case 36:break n;case 35:break o;case 0:break H;default:break k};case 10:if(I[b+16|0]){F[b+40|0]=1}a=H[b+92>>2];J:{K:{if(a){a=a-1|0;H[b+92>>2]=a;if(a>>>0>=K[b+100>>2]){break K}a=H[b+104>>2]+N(a,28)|0;break J}F[b+88|0]=1}H[64766]=H[40914];a=H[40913];H[64764]=H[40912];H[64765]=a;a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}c=H[a+4>>2];H[b+44>>2]=H[a>>2];H[b+48>>2]=c;H[b+68>>2]=H[a+24>>2];c=H[a+20>>2];H[b+60>>2]=H[a+16>>2];H[b+64>>2]=c;c=H[a+12>>2];H[b+52>>2]=H[a+8>>2];H[b+56>>2]=c;c=H[a+8>>2];e=H[a+12>>2];i=H[a>>2];d=H[a+4>>2];F[b+16|0]=I[a+16|0];H[b+8>>2]=c;H[b+12>>2]=e;H[b>>2]=i;H[b+4>>2]=d;return;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break k;case 30:break p;case 29:break q;case 26:break r;case 25:break s;case 24:break t;case 23:break u;case 7:break v;case 6:break w;case 5:break x;case 4:break y;case 3:break z;case 21:break A;case 20:break B;case 18:case 19:break C;case 2:case 22:break D;case 0:case 17:break E;case 28:break F;case 9:break G;case 13:break I}}if(!I[b+144|0]){if(F[b+24|0]&1){L:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break L}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}H[b+148>>2]=0;F[b+72|0]=1;H[b+24>>2]=0;return}if(I[b+16|0]){break j}e=H[b+12>>2];i=e+4|0;c=H[b+4>>2];if(i>>>0>c>>>0){break j}M:{if(c>>>0<=e>>>0){F[b+16|0]=1;a=163632;break M}a=e+H[b>>2]|0}a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=H[b+24>>2];N:{if(a>>>0>2]){H[b+24>>2]=a+1;f=H[b+36>>2]+(a<<3)|0;a=c;break N}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;f=259040;a=H[b+4>>2]}M[f>>3]=+(d|0)*152587890625e-16;if(!(a>>>0>>0|c>>>0<=e>>>0|a>>>0>>0)){H[b+12>>2]=i;return}break a}Kh(b,b+116|0,2);return}Kh(b,b+108|0,1);return}if(I[b+144|0]|a>>>0>18){break e}if(1<>2];a=c>>>0>1;break f}O:{if(I[b+144|0]|a>>>0>23){break O}P:{Q:{c=1<>2];a=c>>>0>2;break P}c=H[b+24>>2];a=c&1;break P}c=H[b+24>>2];a=c>>>0>1}if(!(!a|!c)){R:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break R}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}H[b+148>>2]=0;a=H[b+24>>2];H[b+24>>2]=0;H[b+80>>2]=H[b+80>>2]+(a>>>1|0);return}if(!I[b+144|0]){if(F[b+24|0]&1){S:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break S}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}T:{if(I[b+74|0]){a=H[b+84>>2];break T}F[b+74|0]=1;a=H[b+80>>2]+(H[b+24>>2]>>>1|0)|0;H[b+80>>2]=a;a=(a+H[b+76>>2]|0)+7>>>3|0;H[b+84>>2]=a}if(I[b+16|0]){break j}c=H[b+12>>2];e=c+a|0;a=H[b+4>>2];if(e>>>0>a>>>0){break j}H[b+148>>2]=0;H[b+24>>2]=0;if(a>>>0>=c>>>0){H[b+12>>2]=e;return}break a}d=H[b+24>>2];if(!I[b+144|0]){if(d>>>0>=3){U:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break U}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}n=M[b+136>>3];g=M[b+128>>3];if(!d){i=259040;break h}a=d-1|0;H[b+24>>2]=a;e=H[b+32>>2];V:{if(e>>>0<=a>>>0){i=H[40909];H[64760]=H[40908];H[64761]=i;i=259040;break V}i=H[b+36>>2]+(a<<3)|0}if(!a){break h}a=d-2|0;if(e>>>0<=a>>>0){e=H[40909];d=H[40908];H[64760]=d;H[64761]=e;x(0,d|0);x(1,e|0);h=+z();break g}h=M[H[b+36>>2]+(a<<3)>>3];break g}i=H[b+24>>2];if(!I[b+144|0]){if(i>>>0>=2){W:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break W}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}n=M[b+136>>3];g=M[b+128>>3];X:{if(i){a=i-1|0;if(a>>>0>=K[b+32>>2]){e=H[40909];i=H[40908];H[64760]=i;H[64761]=e;x(0,i|0);x(1,e|0);h=+z();break X}h=M[H[b+36>>2]+(a<<3)>>3];break X}F[b+20|0]=1;a=0;e=H[40909];i=H[40908];H[64760]=i;H[64761]=e;x(0,i|0);x(1,e|0);h=+z()}F[c|0]=0;M[b+136>>3]=n;break d}i=H[b+24>>2];if(!I[b+144|0]){if(i>>>0>=2){Y:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break Y}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}H[b+148>>2]=1;F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}h=M[b+136>>3];n=M[b+128>>3];Z:{if(i){a=i-1|0;if(a>>>0>=K[b+32>>2]){e=H[40909];i=H[40908];H[64760]=i;H[64761]=e;x(0,i|0);x(1,e|0);g=+z();break Z}g=M[H[b+36>>2]+(a<<3)>>3];break Z}F[b+20|0]=1;a=0;e=H[40909];i=H[40908];H[64760]=i;H[64761]=e;x(0,i|0);x(1,e|0);g=+z()}F[c|0]=0;M[b+136>>3]=h+g;M[b+128>>3]=n;break c}a=0;d=H[b+24>>2];if(d>>>0>=2){f=H[b+36>>2];l=H[b+32>>2];e=H[40909];j=e;m=H[40908];x(0,m|0);x(1,e|0);n=+z();e=2;while(1){if(a>>>0>=d>>>0){F[b+20|0]=1}_:{if(a>>>0>=l>>>0){H[64760]=m;H[64761]=j;i=259040;break _}i=f+(a<<3)|0}a=a|1;if(a>>>0>=d>>>0){F[b+20|0]=1}g=M[b+128>>3];r=M[b+136>>3];$:{if(a>>>0>=l>>>0){H[64760]=m;H[64761]=j;h=n;break $}h=M[f+(a<<3)>>3]}o=r+h;h=g+M[i>>3];aa:{if(I[c|0]){break aa}F[c|0]=1;if(M[c+8>>3]>g){M[c+8>>3]=g;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=o;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(M[c+32>>3]>3]=h}a=e;e=a+2|0;if(d>>>0>=e>>>0){continue}break}}break b}a=0;d=H[b+24>>2];if(d>>>0>=2){f=H[b+36>>2];l=H[b+32>>2];a=H[40909];j=a;m=H[40908];x(0,m|0);x(1,a|0);r=+z();i=2;while(1){a=i;if(d>>>0<=e>>>0){F[b+20|0]=1}g=M[b+128>>3];ba:{if(e>>>0>=l>>>0){H[64760]=m;H[64761]=j;h=r;break ba}h=M[f+(e<<3)>>3]}p=M[b+136>>3];h=g+h;ca:{if(I[c|0]){break ca}F[c|0]=1;if(M[c+8>>3]>g){M[c+8>>3]=g;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=p;M[b+128>>3]=h;g=h;n=M[c+8>>3];if(g>3]=h;n=h;g=M[b+128>>3]}o=M[c+24>>3];if(o>3]=g;o=g}s=M[c+16>>3];g=M[b+136>>3];if(s>g){M[c+16>>3]=g;s=g;g=M[b+136>>3]}t=M[c+32>>3];if(g>t){M[c+32>>3]=g;t=g}e=e|1;if(e>>>0>=d>>>0){F[b+20|0]=1}g=p;da:{if(e>>>0>=l>>>0){H[64760]=m;H[64761]=j;p=r;break da}p=M[f+(e<<3)>>3]}p=g+p;ea:{if(I[c|0]){break ea}F[c|0]=1;g=n;n=M[b+128>>3];if(g>n){M[c+8>>3]=n;n=M[b+128>>3]}if(n>o){M[c+24>>3]=n}n=M[b+136>>3];if(s>n){M[c+16>>3]=n;n=M[b+136>>3]}if(!(n>t)){break ea}M[c+32>>3]=n}M[b+136>>3]=p;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(M[c+32>>3]>3]=h}e=a;i=a+2|0;if(d>>>0>=i>>>0){continue}break}}fa:{if(a>>>0>=d>>>0){break fa}g=M[b+128>>3];ga:{if(K[b+32>>2]<=a>>>0){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);h=+z();break ga}h=M[H[b+36>>2]+(a<<3)>>3]}n=M[b+136>>3];h=g+h;ha:{if(I[c|0]){break ha}F[c|0]=1;if(M[c+8>>3]>g){M[c+8>>3]=g;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=n;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(!(M[c+32>>3]>3]=h}break b}a=0;d=H[b+24>>2];if(d>>>0>=2){f=H[b+36>>2];l=H[b+32>>2];a=H[40909];j=a;m=H[40908];x(0,m|0);x(1,a|0);r=+z();i=2;while(1){a=i;if(d>>>0<=e>>>0){F[b+20|0]=1}n=M[b+136>>3];ia:{if(e>>>0>=l>>>0){H[64760]=m;H[64761]=j;g=r;break ia}g=M[f+(e<<3)>>3]}h=M[b+128>>3];p=n+g;ja:{if(I[c|0]){break ja}F[c|0]=1;g=h;if(g>3]){M[c+8>>3]=h;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=p;M[b+128>>3]=h;g=h;n=M[c+8>>3];if(g>3]=h;n=h;g=M[b+128>>3]}o=M[c+24>>3];if(o>3]=g;o=g}s=M[c+16>>3];g=M[b+136>>3];if(s>g){M[c+16>>3]=g;s=g;g=M[b+136>>3]}t=M[c+32>>3];if(g>t){M[c+32>>3]=g;t=g}e=e|1;if(e>>>0>=d>>>0){F[b+20|0]=1}ka:{if(e>>>0>=l>>>0){H[64760]=m;H[64761]=j;g=r;break ka}g=M[f+(e<<3)>>3]}h=h+g;la:{if(I[c|0]){break la}F[c|0]=1;g=M[b+128>>3];if(n>g){M[c+8>>3]=g;g=M[b+128>>3]}if(g>o){M[c+24>>3]=g}g=M[b+136>>3];if(s>g){M[c+16>>3]=g;g=M[b+136>>3]}if(!(g>t)){break la}M[c+32>>3]=g}M[b+136>>3]=p;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(M[c+32>>3]>3]=h}e=a;i=a+2|0;if(d>>>0>=i>>>0){continue}break}}ma:{if(a>>>0>=d>>>0){break ma}n=M[b+136>>3];na:{if(K[b+32>>2]<=a>>>0){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);g=+z();break na}g=M[H[b+36>>2]+(a<<3)>>3]}h=M[b+128>>3];n=n+g;oa:{if(I[c|0]){break oa}F[c|0]=1;g=h;if(g>3]){M[c+8>>3]=h;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=n;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(!(M[c+32>>3]>3]=h}break b}i=c;a=0;d=Wa-48|0;Wa=d;f=H[b+24>>2];if(f>>>0>=6){l=H[40908];j=H[40909];c=6;while(1){e=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=e;e=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=e;if(a>>>0>=f>>>0){F[b+20|0]=1}m=H[b+32>>2];pa:{if(m>>>0<=a>>>0){H[64760]=l;H[64761]=j;e=259040;break pa}e=H[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=f>>>0){F[b+20|0]=1}qa:{if(k>>>0>=m>>>0){H[64760]=l;H[64761]=j;k=259040;break qa}k=H[b+36>>2]+(k<<3)|0}M[d+32>>3]=M[d+32>>3]+M[e>>3];M[d+40>>3]=M[d+40>>3]+M[k>>3];e=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=e;e=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=e;e=a+2|0;if(e>>>0>=f>>>0){F[b+20|0]=1}ra:{if(e>>>0>=m>>>0){H[64760]=l;H[64761]=j;e=259040;break ra}e=H[b+36>>2]+(e<<3)|0}k=a+3|0;if(k>>>0>=f>>>0){F[b+20|0]=1}sa:{if(k>>>0>=m>>>0){H[64760]=l;H[64761]=j;k=259040;break sa}k=H[b+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[e>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];e=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=e;e=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=e;e=a+4|0;if(e>>>0>=f>>>0){F[b+20|0]=1}ta:{if(e>>>0>=m>>>0){H[64760]=l;H[64761]=j;e=259040;break ta}e=H[b+36>>2]+(e<<3)|0}a=a+5|0;if(a>>>0>=f>>>0){F[b+20|0]=1}ua:{if(a>>>0>=m>>>0){H[64760]=l;H[64761]=j;a=259040;break ua}a=H[b+36>>2]+(a<<3)|0}M[d>>3]=M[d>>3]+M[e>>3];M[d+8>>3]=M[d+8>>3]+M[a>>3];Ob(b,i,d+32|0,d+16|0,d);a=c;c=a+6|0;f=H[b+24>>2];if(c>>>0<=f>>>0){continue}break}}Wa=d+48|0;break b}a=0;d=Wa-48|0;Wa=d;f=H[b+24>>2];va:{if(f>>>0<8){break va}q=f-2|0;l=H[40908];j=H[40909];e=6;while(1){i=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=i;i=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=i;if(a>>>0>=f>>>0){F[b+20|0]=1}m=H[b+32>>2];wa:{if(m>>>0<=a>>>0){H[64760]=l;H[64761]=j;i=259040;break wa}i=H[b+36>>2]+(a<<3)|0}k=a|1;if(k>>>0>=f>>>0){F[b+20|0]=1}xa:{if(k>>>0>=m>>>0){H[64760]=l;H[64761]=j;k=259040;break xa}k=H[b+36>>2]+(k<<3)|0}M[d+32>>3]=M[d+32>>3]+M[i>>3];M[d+40>>3]=M[d+40>>3]+M[k>>3];i=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=i;i=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=i;i=a+2|0;if(i>>>0>=f>>>0){F[b+20|0]=1}ya:{if(i>>>0>=m>>>0){H[64760]=l;H[64761]=j;i=259040;break ya}i=H[b+36>>2]+(i<<3)|0}k=a+3|0;if(k>>>0>=f>>>0){F[b+20|0]=1}za:{if(k>>>0>=m>>>0){H[64760]=l;H[64761]=j;k=259040;break za}k=H[b+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[i>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];i=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=i;i=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=i;i=a+4|0;if(i>>>0>=f>>>0){F[b+20|0]=1}Aa:{if(i>>>0>=m>>>0){H[64760]=l;H[64761]=j;i=259040;break Aa}i=H[b+36>>2]+(i<<3)|0}a=a+5|0;if(a>>>0>=f>>>0){F[b+20|0]=1}Ba:{if(a>>>0>=m>>>0){H[64760]=l;H[64761]=j;a=259040;break Ba}a=H[b+36>>2]+(a<<3)|0}M[d>>3]=M[d>>3]+M[i>>3];M[d+8>>3]=M[d+8>>3]+M[a>>3];Ob(b,c,d+32|0,d+16|0,d);f=H[b+24>>2];a=e;e=a+6|0;if(q>>>0>=e>>>0){continue}break}if(a>>>0>=f>>>0){F[b+20|0]=1}i=H[b+32>>2];Ca:{if(i>>>0<=a>>>0){e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ca}e=H[b+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=f>>>0){F[b+20|0]=1}g=M[b+128>>3];h=M[b+136>>3];Da:{if(a>>>0>=i>>>0){a=H[40909];i=H[40908];H[64760]=i;H[64761]=a;x(0,i|0);x(1,a|0);n=+z();break Da}n=M[H[b+36>>2]+(a<<3)>>3]}n=h+n;h=g+M[e>>3];Ea:{if(I[c|0]){break Ea}F[c|0]=1;if(M[c+8>>3]>g){M[c+8>>3]=g;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=n;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(!(M[c+32>>3]>3]=h}Wa=d+48|0;break b}a=0;d=Wa-48|0;Wa=d;f=H[b+24>>2];if(f>>>0>=8){q=f-6|0;l=H[b+36>>2];j=H[b+32>>2];e=H[40909];m=e;k=H[40908];x(0,k|0);x(1,e|0);n=+z();e=2;while(1){if(a>>>0>=f>>>0){F[b+20|0]=1}Fa:{if(a>>>0>=j>>>0){H[64760]=k;H[64761]=m;i=259040;break Fa}i=l+(a<<3)|0}a=a|1;if(a>>>0>=f>>>0){F[b+20|0]=1}g=M[b+128>>3];r=M[b+136>>3];Ga:{if(a>>>0>=j>>>0){H[64760]=k;H[64761]=m;h=n;break Ga}h=M[l+(a<<3)>>3]}o=r+h;h=g+M[i>>3];Ha:{if(I[c|0]){break Ha}F[c|0]=1;if(M[c+8>>3]>g){M[c+8>>3]=g;g=M[b+128>>3]}if(M[c+24>>3]>3]=g}g=M[b+136>>3];if(g>3]){M[c+16>>3]=g;g=M[b+136>>3]}if(!(M[c+32>>3]>3]=g}M[b+136>>3]=o;M[b+128>>3]=h;if(M[c+8>>3]>h){M[c+8>>3]=h;h=M[b+128>>3]}if(M[c+24>>3]>3]=h}h=M[b+136>>3];if(h>3]){M[c+16>>3]=h;h=M[b+136>>3]}if(M[c+32>>3]>3]=h}a=e;e=a+2|0;if(q>>>0>=e>>>0){continue}break}i=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=i;i=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=i;if(a>>>0>=f>>>0){F[b+20|0]=1}l=H[b+32>>2];Ia:{if(l>>>0<=a>>>0){i=H[40909];H[64760]=H[40908];H[64761]=i;i=259040;break Ia}i=H[b+36>>2]+(a<<3)|0}j=a|1;if(j>>>0>=f>>>0){F[b+20|0]=1}Ja:{if(j>>>0>=l>>>0){j=H[40909];H[64760]=H[40908];H[64761]=j;j=259040;break Ja}j=H[b+36>>2]+(j<<3)|0}M[d+32>>3]=M[d+32>>3]+M[i>>3];M[d+40>>3]=M[d+40>>3]+M[j>>3];i=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=i;i=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=i;if(e>>>0>=f>>>0){F[b+20|0]=1}Ka:{if(e>>>0>=l>>>0){e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ka}e=H[b+36>>2]+(e<<3)|0}i=a+3|0;if(i>>>0>=f>>>0){F[b+20|0]=1}La:{if(i>>>0>=l>>>0){i=H[40909];H[64760]=H[40908];H[64761]=i;i=259040;break La}i=H[b+36>>2]+(i<<3)|0}M[d+16>>3]=M[d+16>>3]+M[e>>3];M[d+24>>3]=M[d+24>>3]+M[i>>3];e=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=e;e=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=e;e=a+4|0;if(e>>>0>=f>>>0){F[b+20|0]=1}Ma:{if(e>>>0>=l>>>0){e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break Ma}e=H[b+36>>2]+(e<<3)|0}a=a+5|0;if(a>>>0>=f>>>0){F[b+20|0]=1}Na:{if(a>>>0>=l>>>0){a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break Na}a=H[b+36>>2]+(a<<3)|0}M[d>>3]=M[d>>3]+M[e>>3];M[d+8>>3]=M[d+8>>3]+M[a>>3];Ob(b,c,d+32|0,d+16|0,d)}Wa=d+48|0;break b}i=c;a=0;d=Wa-48|0;Wa=d;c=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=c;c=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=c;f=H[b+24>>2];if(f&1){Oa:{if(!H[b+32>>2]){a=H[40909];c=H[40908];H[64760]=c;H[64761]=a;x(0,c|0);x(1,a|0);g=+z();break Oa}g=M[H[b+36>>2]>>3]}M[d+32>>3]=M[d+32>>3]+g;a=1}c=a|4;if(f>>>0>=c>>>0){e=H[40909];l=e;j=H[40908];x(0,j|0);x(1,e|0);g=+z();while(1){if(a>>>0>=f>>>0){F[b+20|0]=1}m=H[b+32>>2];Pa:{if(m>>>0<=a>>>0){H[64760]=j;H[64761]=l;h=g;break Pa}h=M[H[b+36>>2]+(a<<3)>>3]}M[d+40>>3]=M[d+40>>3]+h;e=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=e;e=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=e;e=a+1|0;if(e>>>0>=f>>>0){F[b+20|0]=1}Qa:{if(e>>>0>=m>>>0){H[64760]=j;H[64761]=l;e=259040;break Qa}e=H[b+36>>2]+(e<<3)|0}k=a+2|0;if(k>>>0>=f>>>0){F[b+20|0]=1}Ra:{if(k>>>0>=m>>>0){H[64760]=j;H[64761]=l;k=259040;break Ra}k=H[b+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[e>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];e=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=e;e=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=e;e=a+3|0;if(e>>>0>=f>>>0){F[b+20|0]=1}a=c;Sa:{if(e>>>0>=m>>>0){H[64760]=j;H[64761]=l;h=g;break Sa}h=M[H[b+36>>2]+(e<<3)>>3]}M[d+8>>3]=M[d+8>>3]+h;Ob(b,i,d+32|0,d+16|0,d);c=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=c;c=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=c;c=a+4|0;f=H[b+24>>2];if(c>>>0<=f>>>0){continue}break}}Wa=d+48|0;break b}i=c;a=0;d=Wa-48|0;Wa=d;c=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=c;c=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=c;f=H[b+24>>2];if(f&1){Ta:{if(!H[b+32>>2]){a=H[40909];c=H[40908];H[64760]=c;H[64761]=a;x(0,c|0);x(1,a|0);g=+z();break Ta}g=M[H[b+36>>2]>>3]}M[d+40>>3]=M[d+40>>3]+g;a=1}c=a|4;if(f>>>0>=c>>>0){e=H[40909];l=e;j=H[40908];x(0,j|0);x(1,e|0);g=+z();while(1){if(a>>>0>=f>>>0){F[b+20|0]=1}m=H[b+32>>2];Ua:{if(m>>>0<=a>>>0){H[64760]=j;H[64761]=l;h=g;break Ua}h=M[H[b+36>>2]+(a<<3)>>3]}M[d+32>>3]=M[d+32>>3]+h;e=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=e;e=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=e;e=a+1|0;if(e>>>0>=f>>>0){F[b+20|0]=1}Va:{if(e>>>0>=m>>>0){H[64760]=j;H[64761]=l;e=259040;break Va}e=H[b+36>>2]+(e<<3)|0}k=a+2|0;if(k>>>0>=f>>>0){F[b+20|0]=1}Wa:{if(k>>>0>=m>>>0){H[64760]=j;H[64761]=l;k=259040;break Wa}k=H[b+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[e>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];e=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=e;e=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=e;e=a+3|0;if(e>>>0>=f>>>0){F[b+20|0]=1}a=c;Xa:{if(e>>>0>=m>>>0){H[64760]=j;H[64761]=l;h=g;break Xa}h=M[H[b+36>>2]+(e<<3)>>3]}M[d>>3]=M[d>>3]+h;Ob(b,i,d+32|0,d+16|0,d);c=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=c;c=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=c;c=a+4|0;f=H[b+24>>2];if(c>>>0<=f>>>0){continue}break}}Wa=d+48|0;break b}d=c;a=0;f=Wa-96|0;Wa=f;H[f+88>>2]=0;H[f+92>>2]=0;H[f+80>>2]=0;H[f+84>>2]=0;H[f+72>>2]=0;H[f+76>>2]=0;H[f+64>>2]=0;H[f+68>>2]=0;H[f+56>>2]=0;H[f+60>>2]=0;H[f+48>>2]=0;H[f+52>>2]=0;l=H[b+24>>2];Ya:{if(!(l&4)){if(l>>>0<8){break Ya}c=H[40909];i=c;j=H[40908];x(0,j|0);x(1,c|0);g=+z();c=8;while(1){e=a;a=c;c=H[b+140>>2];H[f+88>>2]=H[b+136>>2];H[f+92>>2]=c;c=H[b+132>>2];H[f+80>>2]=H[b+128>>2];H[f+84>>2]=c;if(e>>>0>=l>>>0){F[b+20|0]=1}m=H[b+32>>2];Za:{if(m>>>0<=e>>>0){H[64760]=j;H[64761]=i;h=g;break Za}h=M[H[b+36>>2]+(e<<3)>>3]}M[f+88>>3]=M[f+88>>3]+h;c=H[f+92>>2];H[f+72>>2]=H[f+88>>2];H[f+76>>2]=c;c=H[f+84>>2];H[f+64>>2]=H[f+80>>2];H[f+68>>2]=c;c=e|1;if(c>>>0>=l>>>0){F[b+20|0]=1}_a:{if(c>>>0>=m>>>0){H[64760]=j;H[64761]=i;c=259040;break _a}c=H[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=l>>>0){F[b+20|0]=1}$a:{if(k>>>0>=m>>>0){H[64760]=j;H[64761]=i;k=259040;break $a}k=H[b+36>>2]+(k<<3)|0}M[f+64>>3]=M[f+64>>3]+M[c>>3];M[f+72>>3]=M[f+72>>3]+M[k>>3];c=H[f+76>>2];H[f+56>>2]=H[f+72>>2];H[f+60>>2]=c;c=H[f+68>>2];H[f+48>>2]=H[f+64>>2];H[f+52>>2]=c;c=e|3;if(c>>>0>=l>>>0){F[b+20|0]=1}ab:{if(c>>>0>=m>>>0){H[64760]=j;H[64761]=i;h=g;break ab}h=M[H[b+36>>2]+(c<<3)>>3]}M[f+48>>3]=M[f+48>>3]+h;Ob(b,d,f+80|0,f- -64|0,f+48|0);c=H[f+60>>2];H[f+88>>2]=H[f+56>>2];H[f+92>>2]=c;c=H[f+52>>2];H[f+80>>2]=H[f+48>>2];H[f+84>>2]=c;l=H[b+24>>2];c=e|4;if(l>>>0<=c>>>0){F[b+20|0]=1}m=H[b+32>>2];bb:{if(m>>>0<=c>>>0){H[64760]=j;H[64761]=i;h=g;break bb}h=M[H[b+36>>2]+(c<<3)>>3]}c=H[f+92>>2];H[f+72>>2]=H[f+88>>2];H[f+76>>2]=c;M[f+80>>3]=M[f+80>>3]+h;c=H[f+84>>2];H[f+64>>2]=H[f+80>>2];H[f+68>>2]=c;c=e|5;if(c>>>0>=l>>>0){F[b+20|0]=1}cb:{if(c>>>0>=m>>>0){H[64760]=j;H[64761]=i;c=259040;break cb}c=H[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=l>>>0){F[b+20|0]=1}db:{if(k>>>0>=m>>>0){H[64760]=j;H[64761]=i;k=259040;break db}k=H[b+36>>2]+(k<<3)|0}M[f+64>>3]=M[f+64>>3]+M[c>>3];M[f+72>>3]=M[f+72>>3]+M[k>>3];c=H[f+76>>2];H[f+56>>2]=H[f+72>>2];H[f+60>>2]=c;c=H[f+68>>2];H[f+48>>2]=H[f+64>>2];H[f+52>>2]=c;c=e|7;if(c>>>0>=l>>>0){F[b+20|0]=1}eb:{if(c>>>0>=m>>>0){H[64760]=j;H[64761]=i;h=g;break eb}h=M[H[b+36>>2]+(c<<3)>>3]}M[f+56>>3]=M[f+56>>3]+h;if(!(!(l&1)|l-e>>>0>15)){if(a>>>0>=l>>>0){F[b+20|0]=1}fb:{if(a>>>0>=m>>>0){H[64760]=j;H[64761]=i;h=g;break fb}h=M[H[b+36>>2]+(a<<3)>>3]}M[f+48>>3]=M[f+48>>3]+h}Ob(b,d,f+80|0,f- -64|0,f+48|0);c=a+8|0;l=H[b+24>>2];if(c>>>0<=l>>>0){continue}break}break Ya}a=H[b+140>>2];H[f+40>>2]=H[b+136>>2];H[f+44>>2]=a;a=H[b+132>>2];H[f+32>>2]=H[b+128>>2];H[f+36>>2]=a;gb:{hb:{a=H[b+32>>2];ib:{if(!a){M[f+40>>3]=M[f+40>>3]+M[20454];c=H[f+44>>2];H[f+24>>2]=H[f+40>>2];H[f+28>>2]=c;c=H[f+36>>2];H[f+16>>2]=H[f+32>>2];H[f+20>>2]=c;i=259040;break ib}M[f+40>>3]=M[f+40>>3]+M[H[b+36>>2]>>3];c=H[f+44>>2];H[f+24>>2]=H[f+40>>2];H[f+28>>2]=c;c=H[f+36>>2];H[f+16>>2]=H[f+32>>2];H[f+20>>2]=c;if((a|0)==1){i=259040;break ib}i=H[b+36>>2]+8|0;if(a>>>0>2){break hb}}c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;x(0,e|0);x(1,c|0);g=+z();break gb}g=M[H[b+36>>2]+16>>3]}h=M[i>>3];M[f+24>>3]=M[f+24>>3]+g;M[f+16>>3]=h+M[f+16>>3];c=H[f+28>>2];H[f+8>>2]=H[f+24>>2];H[f+12>>2]=c;c=H[f+20>>2];H[f>>2]=H[f+16>>2];H[f+4>>2]=c;jb:{if(a>>>0<=3){c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;x(0,e|0);x(1,c|0);g=+z();break jb}g=M[H[b+36>>2]+24>>3]}M[f>>3]=M[f>>3]+g;c=12;e=4;if(l>>>0>=12){a=H[40909];j=a;m=H[40908];x(0,m|0);x(1,a|0);g=+z();i=4;while(1){e=c;Ob(b,d,f+32|0,f+16|0,f);a=H[b+140>>2];H[f+40>>2]=H[b+136>>2];H[f+44>>2]=a;a=H[b+132>>2];H[f+32>>2]=H[b+128>>2];H[f+36>>2]=a;c=H[b+24>>2];if(c>>>0<=i>>>0){F[b+20|0]=1}l=H[b+32>>2];kb:{if(l>>>0<=i>>>0){H[64760]=m;H[64761]=j;h=g;break kb}h=M[H[b+36>>2]+(i<<3)>>3]}a=H[f+44>>2];H[f+24>>2]=H[f+40>>2];H[f+28>>2]=a;M[f+32>>3]=M[f+32>>3]+h;a=H[f+36>>2];H[f+16>>2]=H[f+32>>2];H[f+20>>2]=a;a=i|1;if(a>>>0>=c>>>0){F[b+20|0]=1}lb:{if(a>>>0>=l>>>0){H[64760]=m;H[64761]=j;a=259040;break lb}a=H[b+36>>2]+(a<<3)|0}k=i|2;if(k>>>0>=c>>>0){F[b+20|0]=1}mb:{if(l>>>0<=k>>>0){H[64760]=m;H[64761]=j;k=259040;break mb}k=H[b+36>>2]+(k<<3)|0}M[f+16>>3]=M[f+16>>3]+M[a>>3];M[f+24>>3]=M[f+24>>3]+M[k>>3];a=H[f+28>>2];H[f+8>>2]=H[f+24>>2];H[f+12>>2]=a;a=H[f+20>>2];H[f>>2]=H[f+16>>2];H[f+4>>2]=a;a=i|3;if(a>>>0>=c>>>0){F[b+20|0]=1}nb:{if(a>>>0>=l>>>0){H[64760]=m;H[64761]=j;h=g;break nb}h=M[H[b+36>>2]+(a<<3)>>3]}M[f+8>>3]=M[f+8>>3]+h;Ob(b,d,f+32|0,f+16|0,f);a=H[f+12>>2];H[f+40>>2]=H[f+8>>2];H[f+44>>2]=a;a=H[f+4>>2];H[f+32>>2]=H[f>>2];H[f+36>>2]=a;l=H[b+24>>2];c=i+4|0;if(l>>>0<=c>>>0){F[b+20|0]=1}a=H[b+32>>2];ob:{if(c>>>0>=a>>>0){H[64760]=m;H[64761]=j;h=g;break ob}h=M[H[b+36>>2]+(c<<3)>>3]}M[f+40>>3]=M[f+40>>3]+h;c=H[f+44>>2];H[f+24>>2]=H[f+40>>2];H[f+28>>2]=c;c=H[f+36>>2];H[f+16>>2]=H[f+32>>2];H[f+20>>2]=c;c=i+5|0;if(c>>>0>=l>>>0){F[b+20|0]=1}pb:{if(a>>>0<=c>>>0){H[64760]=m;H[64761]=j;c=259040;break pb}c=H[b+36>>2]+(c<<3)|0}k=i+6|0;if(k>>>0>=l>>>0){F[b+20|0]=1}qb:{if(a>>>0<=k>>>0){H[64760]=m;H[64761]=j;k=259040;break qb}k=H[b+36>>2]+(k<<3)|0}M[f+16>>3]=M[f+16>>3]+M[c>>3];M[f+24>>3]=M[f+24>>3]+M[k>>3];c=H[f+28>>2];H[f+8>>2]=H[f+24>>2];H[f+12>>2]=c;c=H[f+20>>2];H[f>>2]=H[f+16>>2];H[f+4>>2]=c;c=i+7|0;if(c>>>0>=l>>>0){F[b+20|0]=1}rb:{if(a>>>0<=c>>>0){H[64760]=m;H[64761]=j;h=g;break rb}h=M[H[b+36>>2]+(c<<3)>>3]}M[f>>3]=M[f>>3]+h;i=e;c=e+8|0;if(l>>>0>=c>>>0){continue}break}}if(e>>>0>>0){sb:{if(a>>>0<=e>>>0){a=H[40909];c=H[40908];H[64760]=c;H[64761]=a;x(0,c|0);x(1,a|0);g=+z();break sb}g=M[H[b+36>>2]+(e<<3)>>3]}M[f+8>>3]=M[f+8>>3]+g}Ob(b,d,f+32|0,f+16|0,f)}Wa=f+96|0;break b}i=c;a=0;d=Wa-96|0;Wa=d;H[d+88>>2]=0;H[d+92>>2]=0;H[d+80>>2]=0;H[d+84>>2]=0;H[d+72>>2]=0;H[d+76>>2]=0;H[d+64>>2]=0;H[d+68>>2]=0;H[d+56>>2]=0;H[d+60>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;m=H[b+24>>2];tb:{if(!(m&4)){if(m>>>0<8){break tb}c=H[40909];f=c;l=H[40908];x(0,l|0);x(1,c|0);g=+z();c=8;while(1){e=a;a=c;c=H[b+140>>2];H[d+88>>2]=H[b+136>>2];H[d+92>>2]=c;c=H[b+132>>2];H[d+80>>2]=H[b+128>>2];H[d+84>>2]=c;if(e>>>0>=m>>>0){F[b+20|0]=1}j=H[b+32>>2];ub:{if(j>>>0<=e>>>0){H[64760]=l;H[64761]=f;h=g;break ub}h=M[H[b+36>>2]+(e<<3)>>3]}c=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=c;M[d+80>>3]=M[d+80>>3]+h;c=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=c;c=e|1;if(c>>>0>=m>>>0){F[b+20|0]=1}vb:{if(c>>>0>=j>>>0){H[64760]=l;H[64761]=f;c=259040;break vb}c=H[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=m>>>0){F[b+20|0]=1}wb:{if(j>>>0<=k>>>0){H[64760]=l;H[64761]=f;k=259040;break wb}k=H[b+36>>2]+(k<<3)|0}M[d+64>>3]=M[d+64>>3]+M[c>>3];M[d+72>>3]=M[d+72>>3]+M[k>>3];c=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=c;c=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=c;c=e|3;if(c>>>0>=m>>>0){F[b+20|0]=1}xb:{if(c>>>0>=j>>>0){H[64760]=l;H[64761]=f;h=g;break xb}h=M[H[b+36>>2]+(c<<3)>>3]}M[d+56>>3]=M[d+56>>3]+h;Ob(b,i,d+80|0,d- -64|0,d+48|0);c=H[d+60>>2];H[d+88>>2]=H[d+56>>2];H[d+92>>2]=c;c=H[d+52>>2];H[d+80>>2]=H[d+48>>2];H[d+84>>2]=c;j=H[b+24>>2];c=e|4;if(j>>>0<=c>>>0){F[b+20|0]=1}m=H[b+32>>2];yb:{if(m>>>0<=c>>>0){H[64760]=l;H[64761]=f;h=g;break yb}h=M[H[b+36>>2]+(c<<3)>>3]}M[d+88>>3]=M[d+88>>3]+h;c=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=c;c=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=c;c=e|5;if(c>>>0>=j>>>0){F[b+20|0]=1}zb:{if(c>>>0>=m>>>0){H[64760]=l;H[64761]=f;c=259040;break zb}c=H[b+36>>2]+(c<<3)|0}k=e|6;if(k>>>0>=j>>>0){F[b+20|0]=1}Ab:{if(k>>>0>=m>>>0){H[64760]=l;H[64761]=f;k=259040;break Ab}k=H[b+36>>2]+(k<<3)|0}M[d+64>>3]=M[d+64>>3]+M[c>>3];M[d+72>>3]=M[d+72>>3]+M[k>>3];c=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=c;c=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=c;c=e|7;if(c>>>0>=j>>>0){F[b+20|0]=1}Bb:{if(c>>>0>=m>>>0){H[64760]=l;H[64761]=f;h=g;break Bb}h=M[H[b+36>>2]+(c<<3)>>3]}M[d+48>>3]=M[d+48>>3]+h;if(!(!(j&1)|j-e>>>0>15)){if(a>>>0>=j>>>0){F[b+20|0]=1}Cb:{if(a>>>0>=m>>>0){H[64760]=l;H[64761]=f;h=g;break Cb}h=M[H[b+36>>2]+(a<<3)>>3]}M[d+56>>3]=M[d+56>>3]+h}Ob(b,i,d+80|0,d- -64|0,d+48|0);c=a+8|0;m=H[b+24>>2];if(c>>>0<=m>>>0){continue}break}break tb}a=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=a;a=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=a;Db:{Eb:{l=H[b+32>>2];Fb:{if(!l){M[d+32>>3]=M[d+32>>3]+M[20454];a=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=a;a=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=a;e=259040;break Fb}M[d+32>>3]=M[d+32>>3]+M[H[b+36>>2]>>3];a=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=a;a=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=a;if((l|0)==1){e=259040;break Fb}e=H[b+36>>2]+8|0;if(l>>>0>2){break Eb}}a=H[40909];c=H[40908];H[64760]=c;H[64761]=a;x(0,c|0);x(1,a|0);g=+z();break Db}g=M[H[b+36>>2]+16>>3]}h=M[e>>3];M[d+24>>3]=M[d+24>>3]+g;M[d+16>>3]=h+M[d+16>>3];a=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=a;a=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=a;Gb:{if(l>>>0<=3){a=H[40909];c=H[40908];H[64760]=c;H[64761]=a;x(0,c|0);x(1,a|0);g=+z();break Gb}g=M[H[b+36>>2]+24>>3]}M[d+8>>3]=M[d+8>>3]+g;c=12;a=4;if(m>>>0>=12){a=H[40909];f=a;j=H[40908];x(0,j|0);x(1,a|0);g=+z();e=4;while(1){a=c;Ob(b,i,d+32|0,d+16|0,d);c=H[b+140>>2];H[d+40>>2]=H[b+136>>2];H[d+44>>2]=c;c=H[b+132>>2];H[d+32>>2]=H[b+128>>2];H[d+36>>2]=c;l=H[b+24>>2];if(l>>>0<=e>>>0){F[b+20|0]=1}m=H[b+32>>2];Hb:{if(m>>>0<=e>>>0){H[64760]=j;H[64761]=f;h=g;break Hb}h=M[H[b+36>>2]+(e<<3)>>3]}M[d+40>>3]=M[d+40>>3]+h;c=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=c;c=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=c;c=e|1;if(c>>>0>=l>>>0){F[b+20|0]=1}Ib:{if(c>>>0>=m>>>0){H[64760]=j;H[64761]=f;c=259040;break Ib}c=H[b+36>>2]+(c<<3)|0}k=e|2;if(k>>>0>=l>>>0){F[b+20|0]=1}Jb:{if(k>>>0>=m>>>0){H[64760]=j;H[64761]=f;k=259040;break Jb}k=H[b+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[c>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];c=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=c;c=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=c;c=e|3;if(c>>>0>=l>>>0){F[b+20|0]=1}Kb:{if(c>>>0>=m>>>0){H[64760]=j;H[64761]=f;h=g;break Kb}h=M[H[b+36>>2]+(c<<3)>>3]}M[d>>3]=M[d>>3]+h;Ob(b,i,d+32|0,d+16|0,d);c=H[d+12>>2];H[d+40>>2]=H[d+8>>2];H[d+44>>2]=c;c=H[d+4>>2];H[d+32>>2]=H[d>>2];H[d+36>>2]=c;m=H[b+24>>2];c=e+4|0;if(m>>>0<=c>>>0){F[b+20|0]=1}l=H[b+32>>2];Lb:{if(c>>>0>=l>>>0){H[64760]=j;H[64761]=f;h=g;break Lb}h=M[H[b+36>>2]+(c<<3)>>3]}c=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=c;M[d+32>>3]=M[d+32>>3]+h;c=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=c;c=e+5|0;if(c>>>0>=m>>>0){F[b+20|0]=1}Mb:{if(c>>>0>=l>>>0){H[64760]=j;H[64761]=f;c=259040;break Mb}c=H[b+36>>2]+(c<<3)|0}k=e+6|0;if(k>>>0>=m>>>0){F[b+20|0]=1}Nb:{if(l>>>0<=k>>>0){H[64760]=j;H[64761]=f;k=259040;break Nb}k=H[b+36>>2]+(k<<3)|0}M[d+16>>3]=M[d+16>>3]+M[c>>3];M[d+24>>3]=M[d+24>>3]+M[k>>3];c=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=c;c=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=c;c=e+7|0;if(c>>>0>=m>>>0){F[b+20|0]=1}Ob:{if(c>>>0>=l>>>0){H[64760]=j;H[64761]=f;h=g;break Ob}h=M[H[b+36>>2]+(c<<3)>>3]}M[d+8>>3]=M[d+8>>3]+h;e=a;c=a+8|0;if(m>>>0>=c>>>0){continue}break}}if(a>>>0>>0){Pb:{if(a>>>0>=l>>>0){a=H[40909];c=H[40908];H[64760]=c;H[64761]=a;x(0,c|0);x(1,a|0);g=+z();break Pb}g=M[H[b+36>>2]+(a<<3)>>3]}M[d>>3]=M[d>>3]+g}Ob(b,i,d+32|0,d+16|0,d)}Wa=d+96|0;break b}a=Wa-96|0;Wa=a;Qb:{if(H[b+24>>2]==7){e=H[b+140>>2];H[a+88>>2]=H[b+136>>2];H[a+92>>2]=e;e=H[b+132>>2];H[a+80>>2]=H[b+128>>2];H[a+84>>2]=e;Rb:{Sb:{e=H[b+32>>2];Tb:{if(!e){M[a+80>>3]=M[a+80>>3]+M[20454];i=H[a+92>>2];H[a+72>>2]=H[a+88>>2];H[a+76>>2]=i;i=H[a+84>>2];H[a+64>>2]=H[a+80>>2];H[a+68>>2]=i;i=259040;break Tb}M[a+80>>3]=M[a+80>>3]+M[H[b+36>>2]>>3];i=H[a+92>>2];H[a+72>>2]=H[a+88>>2];H[a+76>>2]=i;i=H[a+84>>2];H[a+64>>2]=H[a+80>>2];H[a+68>>2]=i;if((e|0)==1){i=259040;break Tb}i=H[b+36>>2]+8|0;if(e>>>0>2){break Sb}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break Rb}g=M[H[b+36>>2]+16>>3]}h=M[i>>3];M[a+72>>3]=M[a+72>>3]+g;M[a+64>>3]=h+M[a+64>>3];i=H[a+76>>2];H[a+56>>2]=H[a+72>>2];H[a+60>>2]=i;i=H[a+68>>2];H[a+48>>2]=H[a+64>>2];H[a+52>>2]=i;Ub:{Vb:{Wb:{Xb:{Yb:{if(e>>>0<=3){i=H[40909];d=H[40908];H[64760]=d;H[64761]=i;g=M[a+48>>3];x(0,d|0);x(1,i|0);C=a,D=g+ +z(),M[C+48>>3]=D;i=H[a+60>>2];H[a+40>>2]=H[a+56>>2];H[a+44>>2]=i;i=H[a+52>>2];H[a+32>>2]=H[a+48>>2];H[a+36>>2]=i;break Yb}M[a+48>>3]=M[a+48>>3]+M[H[b+36>>2]+24>>3];i=H[a+60>>2];H[a+40>>2]=H[a+56>>2];H[a+44>>2]=i;i=H[a+52>>2];H[a+32>>2]=H[a+48>>2];H[a+36>>2]=i;if((e|0)!=4){break Xb}}M[a+32>>3]=M[a+32>>3]+M[20454];i=H[a+44>>2];H[a+24>>2]=H[a+40>>2];H[a+28>>2]=i;i=H[a+36>>2];H[a+16>>2]=H[a+32>>2];H[a+20>>2]=i;break Wb}M[a+32>>3]=M[a+32>>3]+M[H[b+36>>2]+32>>3];i=H[a+44>>2];H[a+24>>2]=H[a+40>>2];H[a+28>>2]=i;i=H[a+36>>2];H[a+16>>2]=H[a+32>>2];H[a+20>>2]=i;if(e>>>0>5){break Vb}}i=H[40909];d=H[40908];H[64760]=d;H[64761]=i;x(0,d|0);x(1,i|0);g=+z();break Ub}g=M[H[b+36>>2]+40>>3]}i=H[a+92>>2];d=H[a+88>>2];H[a+24>>2]=d;H[a+28>>2]=i;M[a+16>>3]=M[a+16>>3]+g;H[a+8>>2]=d;H[a+12>>2]=i;i=H[a+20>>2];H[a>>2]=H[a+16>>2];H[a+4>>2]=i;Zb:{if(e>>>0<=6){e=H[40909];i=H[40908];H[64760]=i;H[64761]=e;x(0,i|0);x(1,e|0);g=+z();break Zb}g=M[H[b+36>>2]+48>>3]}M[a>>3]=M[a>>3]+g;Ob(b,c,a+80|0,a- -64|0,a+48|0);Ob(b,c,a+32|0,a+16|0,a);break Qb}F[b+40|0]=1}Wa=a+96|0;break b}a=Wa-96|0;Wa=a;_b:{if(H[b+24>>2]==13){e=H[b+140>>2];H[a+88>>2]=H[b+136>>2];H[a+92>>2]=e;e=H[b+132>>2];H[a+80>>2]=H[b+128>>2];H[a+84>>2]=e;$b:{ac:{i=H[b+32>>2];bc:{if(!i){e=259040;break bc}e=H[b+36>>2];if((i|0)!=1){break ac}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break $b}g=M[H[b+36>>2]+8>>3]}h=M[e>>3];M[a+88>>3]=M[a+88>>3]+g;M[a+80>>3]=h+M[a+80>>3];e=H[a+92>>2];H[a+72>>2]=H[a+88>>2];H[a+76>>2]=e;e=H[a+84>>2];H[a+64>>2]=H[a+80>>2];H[a+68>>2]=e;cc:{dc:{ec:{if(i>>>0<3){e=259040;break ec}e=H[b+36>>2]+16|0;if((i|0)!=3){break dc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break cc}g=M[H[b+36>>2]+24>>3]}h=M[e>>3];M[a+72>>3]=M[a+72>>3]+g;M[a+64>>3]=h+M[a+64>>3];e=H[a+76>>2];H[a+56>>2]=H[a+72>>2];H[a+60>>2]=e;e=H[a+68>>2];H[a+48>>2]=H[a+64>>2];H[a+52>>2]=e;fc:{gc:{hc:{if(i>>>0<5){e=259040;break hc}e=H[b+36>>2]+32|0;if((i|0)!=5){break gc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break fc}g=M[H[b+36>>2]+40>>3]}h=M[e>>3];M[a+56>>3]=M[a+56>>3]+g;M[a+48>>3]=h+M[a+48>>3];e=H[a+60>>2];H[a+40>>2]=H[a+56>>2];H[a+44>>2]=e;e=H[a+52>>2];H[a+32>>2]=H[a+48>>2];H[a+36>>2]=e;ic:{jc:{kc:{if(i>>>0<7){e=259040;break kc}e=H[b+36>>2]+48|0;if((i|0)!=7){break jc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break ic}g=M[H[b+36>>2]+56>>3]}h=M[e>>3];M[a+40>>3]=M[a+40>>3]+g;M[a+32>>3]=h+M[a+32>>3];e=H[a+44>>2];H[a+24>>2]=H[a+40>>2];H[a+28>>2]=e;e=H[a+36>>2];H[a+16>>2]=H[a+32>>2];H[a+20>>2]=e;lc:{mc:{nc:{if(i>>>0<9){e=259040;break nc}e=H[b+36>>2]- -64|0;if((i|0)!=9){break mc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break lc}g=M[H[b+36>>2]+72>>3]}h=M[e>>3];M[a+24>>3]=M[a+24>>3]+g;M[a+16>>3]=h+M[a+16>>3];e=H[a+28>>2];H[a+8>>2]=H[a+24>>2];H[a+12>>2]=e;e=H[a+20>>2];H[a>>2]=H[a+16>>2];H[a+4>>2]=e;oc:{pc:{qc:{if(i>>>0<11){e=259040;break qc}e=H[b+36>>2]+80|0;if((i|0)!=11){break pc}}i=H[40909];d=H[40908];H[64760]=d;H[64761]=i;x(0,d|0);x(1,i|0);g=+z();break oc}g=M[H[b+36>>2]+88>>3]}h=M[e>>3];M[a+8>>3]=M[a+8>>3]+g;M[a>>3]=h+M[a>>3];Ob(b,c,a+80|0,a- -64|0,a+48|0);Ob(b,c,a+32|0,a+16|0,a);break _b}F[b+40|0]=1}Wa=a+96|0;break b}a=Wa-96|0;Wa=a;rc:{if(H[b+24>>2]==9){e=H[b+140>>2];H[a+88>>2]=H[b+136>>2];H[a+92>>2]=e;e=H[b+132>>2];H[a+80>>2]=H[b+128>>2];H[a+84>>2]=e;sc:{tc:{i=H[b+32>>2];uc:{if(!i){e=259040;break uc}e=H[b+36>>2];if((i|0)!=1){break tc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break sc}g=M[H[b+36>>2]+8>>3]}h=M[e>>3];M[a+88>>3]=M[a+88>>3]+g;M[a+80>>3]=h+M[a+80>>3];e=H[a+92>>2];H[a+72>>2]=H[a+88>>2];H[a+76>>2]=e;e=H[a+84>>2];H[a+64>>2]=H[a+80>>2];H[a+68>>2]=e;vc:{wc:{xc:{if(i>>>0<3){e=259040;break xc}e=H[b+36>>2]+16|0;if((i|0)!=3){break wc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break vc}g=M[H[b+36>>2]+24>>3]}h=M[e>>3];M[a+72>>3]=M[a+72>>3]+g;M[a+64>>3]=h+M[a+64>>3];e=H[a+76>>2];H[a+56>>2]=H[a+72>>2];H[a+60>>2]=e;e=H[a+68>>2];H[a+48>>2]=H[a+64>>2];H[a+52>>2]=e;yc:{zc:{Ac:{Bc:{Cc:{if(i>>>0<=4){M[a+48>>3]=M[a+48>>3]+M[20454];e=H[a+60>>2];H[a+40>>2]=H[a+56>>2];H[a+44>>2]=e;e=H[a+52>>2];H[a+32>>2]=H[a+48>>2];H[a+36>>2]=e;break Cc}M[a+48>>3]=M[a+48>>3]+M[H[b+36>>2]+32>>3];e=H[a+60>>2];H[a+40>>2]=H[a+56>>2];H[a+44>>2]=e;e=H[a+52>>2];H[a+32>>2]=H[a+48>>2];H[a+36>>2]=e;if((i|0)!=5){break Bc}}e=H[40909];d=H[40908];H[64760]=d;H[64761]=e;g=M[a+32>>3];x(0,d|0);x(1,e|0);C=a,D=g+ +z(),M[C+32>>3]=D;e=H[a+44>>2];H[a+24>>2]=H[a+40>>2];H[a+28>>2]=e;e=H[a+36>>2];H[a+16>>2]=H[a+32>>2];H[a+20>>2]=e;e=259040;break Ac}M[a+32>>3]=M[a+32>>3]+M[H[b+36>>2]+40>>3];e=H[a+44>>2];H[a+24>>2]=H[a+40>>2];H[a+28>>2]=e;e=H[a+36>>2];H[a+16>>2]=H[a+32>>2];H[a+20>>2]=e;if(i>>>0<7){e=259040;break Ac}e=H[b+36>>2]+48|0;if((i|0)!=7){break zc}}d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);g=+z();break yc}g=M[H[b+36>>2]+56>>3]}h=M[e>>3];M[a+24>>3]=M[a+24>>3]+g;M[a+16>>3]=h+M[a+16>>3];e=H[a+28>>2];H[a+8>>2]=H[a+24>>2];H[a+12>>2]=e;e=H[a+20>>2];H[a>>2]=H[a+16>>2];H[a+4>>2]=e;Dc:{if(i>>>0<=8){e=H[40909];i=H[40908];H[64760]=i;H[64761]=e;x(0,i|0);x(1,e|0);g=+z();break Dc}g=M[H[b+36>>2]+64>>3]}M[a>>3]=M[a>>3]+g;e=H[b+140>>2];H[a+8>>2]=H[b+136>>2];H[a+12>>2]=e;Ob(b,c,a+80|0,a- -64|0,a+48|0);Ob(b,c,a+32|0,a+16|0,a);break rc}F[b+40|0]=1}Wa=a+96|0;break b}i=c;d=Wa-96|0;Wa=d;Ec:{Fc:{Gc:{Hc:{Ic:{if(H[b+24>>2]==11){a=H[b+36>>2];f=H[40908];j=H[40909];u=259040;c=259040;Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{k=H[b+32>>2];switch(k|0){case 0:break Qc;case 1:break Rc;default:break Pc}}c=a}H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=+z()+0;g=M[c>>3]+0;e=0;break Oc}h=M[a+8>>3]+0;g=M[a>>3]+0;e=1;if(k>>>0<3){break Oc}if((k|0)!=3){break Nc}u=a+16|0;m=1;e=1}H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=h+ +z();g=g+M[u>>3];c=259040;break Mc}h=h+M[a+24>>3];g=g+M[a+16>>3];if(k>>>0<5){l=1;e=1;m=1;c=259040;break Mc}if((k|0)!=5){break Lc}l=1;e=1;m=1;q=1;c=a+32|0}H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=h+ +z();g=g+M[c>>3];c=259040;break Kc}h=h+M[a+40>>3];g=g+M[a+32>>3];if(k>>>0<7){v=1;l=1;e=1;m=1;q=1;c=259040;break Kc}if((k|0)!=7){break Jc}v=1;l=1;e=1;m=1;q=1;w=1;c=a+48|0}H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);n=h+ +z();g=g+M[c>>3];c=259040;break Ic}n=h+M[a+56>>3];g=g+M[a+48>>3];if(k>>>0<9){y=1;v=1;l=1;e=1;m=1;q=1;w=1;break Ic}if((k|0)==9){c=a- -64|0;y=1;v=1;l=1;e=1;m=1;q=1;w=1;B=1;break Ic}h=M[a+64>>3];o=M[a+72>>3];c=H[b+140>>2];H[d+88>>2]=H[b+136>>2];H[d+92>>2]=c;c=H[b+132>>2];H[d+80>>2]=H[b+128>>2];H[d+84>>2]=c;A=b+128|0;n=n+o;g=g+h;u=1;y=1;v=1;l=1;m=1;q=1;w=1;B=1;c=a;break Hc}F[b+40|0]=1;break Ec}u=0;H[64760]=f;H[64761]=j;o=M[c>>3];c=H[b+140>>2];H[d+88>>2]=H[b+136>>2];H[d+92>>2]=c;c=H[b+132>>2];H[d+80>>2]=H[b+128>>2];H[d+84>>2]=c;A=b+128|0;x(0,f|0);x(1,j|0);h=+z();n=n+h;g=g+o;if(!k){H[64760]=f;H[64761]=j;c=259040;if(e){break Hc}break Gc}c=a;if(!e){break Gc}c=a}h=M[a+8>>3];break Fc}H[64760]=f;H[64761]=j}o=M[c>>3];M[d+88>>3]=M[d+88>>3]+h;M[d+80>>3]=o+M[d+80>>3];c=H[d+92>>2];H[d+72>>2]=H[d+88>>2];H[d+76>>2]=c;c=H[d+84>>2];H[d+64>>2]=H[d+80>>2];H[d+68>>2]=c;Sc:{if(!m){H[64760]=f;H[64761]=j;c=259040;break Sc}c=a+16|0}Tc:{if(!l){H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=+z();break Tc}h=M[a+24>>3]}o=M[c>>3];M[d+72>>3]=M[d+72>>3]+h;M[d+64>>3]=o+M[d+64>>3];c=H[d+76>>2];H[d+56>>2]=H[d+72>>2];H[d+60>>2]=c;c=H[d+68>>2];H[d+48>>2]=H[d+64>>2];H[d+52>>2]=c;Uc:{if(!q){H[64760]=f;H[64761]=j;c=259040;break Uc}c=a+32|0}Vc:{if(!v){H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=+z();break Vc}h=M[a+40>>3]}o=M[c>>3];M[d+56>>3]=M[d+56>>3]+h;M[d+48>>3]=o+M[d+48>>3];c=H[d+60>>2];H[d+40>>2]=H[d+56>>2];H[d+44>>2]=c;c=H[d+52>>2];H[d+32>>2]=H[d+48>>2];H[d+36>>2]=c;Wc:{if(!w){H[64760]=f;H[64761]=j;c=259040;break Wc}c=a+48|0}Xc:{if(!y){H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=+z();break Xc}h=M[a+56>>3]}o=M[c>>3];M[d+40>>3]=M[d+40>>3]+h;M[d+32>>3]=o+M[d+32>>3];c=H[d+44>>2];H[d+24>>2]=H[d+40>>2];H[d+28>>2]=c;c=H[d+36>>2];H[d+16>>2]=H[d+32>>2];H[d+20>>2]=c;Yc:{if(!B){H[64760]=f;H[64761]=j;c=259040;break Yc}c=a- -64|0}Zc:{if(!u){H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);h=+z();break Zc}h=M[a+72>>3]}o=M[c>>3];M[d+24>>3]=M[d+24>>3]+h;M[d+16>>3]=o+M[d+16>>3];c=H[d+28>>2];H[d+8>>2]=H[d+24>>2];H[d+12>>2]=c;c=H[d+20>>2];H[d>>2]=H[d+16>>2];H[d+4>>2]=c;_c:{if(P(g)>P(n)){$c:{if(k>>>0<=10){H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);g=+z();break $c}g=M[a+80>>3]}M[d>>3]=M[d>>3]+g;a=H[b+140>>2];H[d+8>>2]=H[b+136>>2];H[d+12>>2]=a;break _c}c=H[A+4>>2];H[d>>2]=H[A>>2];H[d+4>>2]=c;ad:{if(k>>>0<=10){H[64760]=f;H[64761]=j;x(0,f|0);x(1,j|0);g=+z();break ad}g=M[a+80>>3]}M[d+8>>3]=M[d+8>>3]+g}Ob(b,i,d+80|0,d- -64|0,d+48|0);Ob(b,i,d+32|0,d+16|0,d)}Wa=d+96|0;break b}_e(a,b)}return}c=H[b+24>>2];a=c&1;break f}F[b+20|0]=1;a=0;e=H[40909];d=H[40908];H[64760]=d;H[64761]=e;x(0,d|0);x(1,e|0);h=+z()}o=M[i>>3];F[c|0]=0;M[b+136>>3]=n+o;break d}if(!(!a|!c)){bd:{if(!H[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;break bd}a=H[b+36>>2];e=H[a>>2];a=H[a+4>>2]}F[b+145|0]=1;H[b+152>>2]=e;H[b+156>>2]=a}F[b+144|0]=1}H[b+148>>2]=0;a=H[b+24>>2];H[b+24>>2]=0;H[b+76>>2]=H[b+76>>2]+(a>>>1|0);return}M[b+128>>3]=g+h}if(!I[b+73|0]){if(!I[b+74|0]){F[b+74|0]=1;a=H[b+80>>2]+(a>>>1|0)|0;H[b+80>>2]=a;H[b+84>>2]=(a+H[b+76>>2]|0)+7>>>3}F[b+73|0]=1}}H[b+24>>2]=0;H[b+148>>2]=0;return}F[b+16|0]=1;H[b+12>>2]=a}function Uf(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,J=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;k=Wa-15984|0;Wa=k;H[k+15976>>2]=g;H[k+15980>>2]=f;o=H[a+176>>2];m=o;i=H[H[m+536>>2]+544>>2];O=H[a+52>>2];B=H[a>>2];kb(k+15824|0,0,128);H[k+15968>>2]=0;f=k+15808|0;H[f>>2]=0;H[f+4>>2]=0;f=k+15700|0;H[f>>2]=0;H[f+4>>2]=0;f=k+15708|0;H[f>>2]=0;H[f+4>>2]=0;H[k+15960>>2]=0;H[k+15964>>2]=0;H[k+15792>>2]=0;H[k+15796>>2]=0;H[k+15800>>2]=0;H[k+15804>>2]=0;H[k+15776>>2]=0;H[k+15780>>2]=0;H[k+15768>>2]=10;H[k+15772>>2]=0;H[k+15760>>2]=20;H[k+15764>>2]=0;E=a+4|0;H[k+15756>>2]=E;H[k+15752>>2]=B;H[k+15744>>2]=0;H[k+15748>>2]=0;H[k+15736>>2]=10;H[k+15740>>2]=0;H[k+15728>>2]=20;H[k+15732>>2]=0;H[k+15724>>2]=E;H[k+15720>>2]=B;H[k+15692>>2]=0;H[k+15696>>2]=0;H[k+15688>>2]=E;kb(k+15528|0,0,160);H[k+15532>>2]=10;H[k+15524>>2]=8;H[k+15520>>2]=E;H[k+15516>>2]=B;H[k+3908>>2]=c;H[k+3904>>2]=a;kb(k+11660|0,0,3856);f=I[a+184|0];H[k+11664>>2]=O;F[k+11661|0]=f;P=k+15516|0;H[k+11656>>2]=P;Q=k+11648|0;H[k+11652>>2]=Q;H[k+11648>>2]=a;kb(k+7792|0,0,3856);H[k+7796>>2]=O;F[k+7793|0]=f;H[k+7788>>2]=P;H[k+7784>>2]=Q;H[k+7780>>2]=a;kb(k+3924|0,0,3856);H[k+3928>>2]=O;F[k+3925|0]=f;H[k+3920>>2]=P;H[k+3916>>2]=Q;H[k+3912>>2]=a;H[k+15548>>2]=H[a+40>>2];J=48;f=H[a+48>>2];H[k+15556>>2]=O;H[k+15552>>2]=f;j=H[d+4>>2];f=H[d>>2];H[k+15588>>2]=a+240;H[k+15584>>2]=g;H[k+15560>>2]=f;H[k+15564>>2]=j;H[k+15580>>2]=k+15688;H[k+15576>>2]=k+15720;H[k+15572>>2]=k+15752;F[k+15570|0]=I[a+185|0];f=H[a+228>>2];H[k+15592>>2]=f;j=H[a+232>>2];H[k+15604>>2]=6554;H[k+15596>>2]=j;F[k+15569|0]=0;F[k+15571|0]=1;g=f;f=f>>31;g=(g^f)-f|0;f=j>>31;f=(f^j)-f|0;H[k+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=I[a+9|0];F[k+15791|0]=(f|0)!=0;H[h>>2]=H[H[m+536>>2]+540>>2]<<16;J=f?H[H[m+532>>2]+1556>>2]:J;H[k+32>>2]=0;j=zb(B,20,k+32|0);a:{b:{c:{d:{if(!H[k+32>>2]){H[j+4>>2]=E;H[j>>2]=B;f=jb(B,8,0,J,0,k+32|0);H[j+8>>2]=f;if(!H[k+32>>2]){break d}if(j){Ya[H[B+8>>2]](B,j)}}l=64;j=0;b=1;break c}H[j+16>>2]=J;H[j+12>>2]=f;H[k+32>>2]=0;C=jb(B,1,0,272,0,k+32|0);f=H[a+4>>2];if(H[k+32>>2]){b=0;if(f){break a}l=64;break b}if(f){b=0;break a}R=i<<16;T=k+3912|0;y=k+15688|4;f=H[b+4>>2];H[C>>2]=H[b>>2];H[C+4>>2]=f;f=H[b+12>>2];H[C+8>>2]=H[b+8>>2];H[C+12>>2]=f;L=a+92|0;U=k+44|0;V=k+15608|0;M=k|4;S=2e7;t=C;b=0;e:while(1){z=0;while(1){f=b;l=t+12|0;b=H[l>>2];q=H[t+8>>2];f:{if(b>>>0>=q>>>0){g=A?11:14;i=b;break f}i=b+1|0;H[l>>2]=i;g:{g=I[b|0];switch(g-11|0){case 0:case 3:break g;default:break f}}g=I[a+9|0]?0:g}r=I[a+8|0];if(r){h:{if(f&255){break h}i:{switch(g-1|0){case 0:case 2:case 9:case 10:case 11:case 12:case 13:break h;default:break i}}if(g>>>0>31){break h}H[j+12>>2]=H[j+8>>2];b=0;continue}m=(g|0)==12;b=g>>>0>31;D=D&255?b?D:m?D:0:D;u=(u|0)<=0?u:(g|0)==10?u:(g|0)==11?u:m?u:b?u:0}if(H[a+4>>2]){b=0;break a}S=S-1|0;if(!S){b=0;l=18;break b}b=f;j:{k:{l:{m:{n:{o:{p:{switch(g|0){case 15:if(!I[a+9|0]){break n}if(I[a+93|0]){break j}b=H[j+12>>2];if((b|0)==H[j+8>>2]){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break l}H[b>>2]=161;H[a+120>>2]=0;b=f;break k}if(H[b-4>>2]!=2){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break l}H[b>>2]=160;break l}b=b-8|0;H[j+12>>2]=b;g=H[b>>2];if((g|0)>=0){break l}break n;case 16:if(!I[a+9|0]){break n}l=18;b=0;if(!H[a+96>>2]){break c}q:{if(!(Ya[H[H[a+548>>2]+12>>2]](L,H[a+120>>2],H[a+124>>2],H[a+128>>2])|0)){break q}g=Ya[H[H[a+548>>2]+16>>2]](L,H[a+120>>2],H[a+124>>2],H[a+128>>2])|0;if(!g){break q}l=g;break c}g=H[j+12>>2];r:{if((g|0)==H[j+8>>2]){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break r}H[b>>2]=161;break r}if(H[g-4>>2]!=2){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break r}H[b>>2]=160;break r}g=g-8|0;H[j+12>>2]=g;g=H[g>>2];if(J>>>0>>0){break c}}n=0;i=H[j+12>>2];b=H[j+8>>2];m=i-b>>3;v=N(H[L+20>>2],g);if(g){r=m-v|0;l=r+g|0;while(1){s=H[L+24>>2];q=i-b>>3;w=n+r|0;s:{if(q>>>0<=w>>>0){m=0;x=H[j+4>>2];if(!x|H[x>>2]){break s}H[x>>2]=130;break s}t:{u:{v:{m=(w<<3)+b|0;switch(H[m+4>>2]-1|0){case 0:break u;case 1:break v;default:break t}}m=H[m>>2]<<16;break s}m=H[m>>2];m=((m>>31)+m|0)- -8192>>14;break s}m=H[m>>2]}x=1;if(K[L+20>>2]>=2){while(1){q=H[s+4>>2];w:{if(i-b>>3>>>0<=l>>>0){b=0;i=H[j+4>>2];if(!i|H[i>>2]){break w}H[i>>2]=130;break w}x:{y:{z:{b=(l<<3)+b|0;switch(H[b+4>>2]-1|0){case 0:break y;case 1:break z;default:break x}}b=H[b>>2]<<16;break w}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break w}b=H[b>>2]}l=l+1|0;s=s+4|0;m=ib(q,b)+m|0;i=H[j+12>>2];b=H[j+8>>2];x=x+1|0;if(x>>>0>2]){continue}break}q=i-b>>3}A:{if(q>>>0>>0){i=H[j+4>>2];if(!i|H[i>>2]){break A}H[i>>2]=130;break A}i=w<<3;H[i+b>>2]=m;b=H[j+8>>2];H[(i+b|0)+4>>2]=0}i=H[j+12>>2];n=n+1|0;if((n|0)!=(g|0)){continue}break}m=i-b>>3}b=v-g|0;B:{if(m>>>0>>0){b=H[j+4>>2];if(!b|H[b>>2]){break B}H[b>>2]=161;break B}H[j+12>>2]=i-(b<<3)}F[a+93|0]=1;b=f;continue;case 1:case 18:g=k+15752|0;i=k+15791|0;C:{if(!r){if(I[k+15692|0]){break n}f=0;break C}f=H[H[o+32>>2]+4>>2]}Jg(a,j,g,h,i,f);if(!I[o+548|0]){break k}break m;case 3:case 23:g=k+15720|0;i=k+15791|0;D:{if(!r){if(I[k+15692|0]){break n}f=0;break D}f=H[H[o+32>>2]>>2]}Jg(a,j,g,h,i,f);if(I[o+548|0]){break m}break k;case 4:g=H[j+12>>2];m=H[j+8>>2];if(!(I[k+15791|0]|g-m>>>0<16)){E:{F:{switch(H[m+4>>2]-1|0){case 1:b=H[m>>2]<<16;break E;case 0:b=H[m>>2];b=((b>>31)+b|0)- -8192>>14;break E;default:break F}}b=H[m>>2]}H[h>>2]=b+R}F[k+15791|0]=1;if(I[o+548|0]){break m}i=H[k+15976>>2];G:{if((g|0)==(m|0)){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break G}H[b>>2]=161;break G}b=g-8|0;H[j+12>>2]=b;H:{switch(H[b+4>>2]-1|0){case 1:g=H[b>>2]<<16;break G;case 0:b=H[b>>2];g=((b>>31)+b|0)- -8192>>14;break G;default:break H}}g=H[b>>2]}b=g+i|0;H[k+15976>>2]=b;if(H[o+468>>2]){break n}df(k+3904|0,H[k+15980>>2],b);break n;case 5:I:{b=H[j+8>>2];l=H[j+12>>2];if((b|0)==(l|0)){break I}q=l-b>>3;g=0;while(1){m=H[k+15980>>2];n=l-b>>3;J:{if(n>>>0<=g>>>0){l=0;i=H[j+4>>2];if(!i|H[i>>2]){break J}H[i>>2]=130;break J}K:{L:{M:{i=(g<<3)+b|0;switch(H[i+4>>2]-1|0){case 0:break L;case 1:break M;default:break K}}l=H[i>>2]<<16;break J}i=H[i>>2];l=((i>>31)+i|0)- -8192>>14;break J}l=H[i>>2]}l=l+m|0;H[k+15980>>2]=l;m=H[k+15976>>2];i=g|1;N:{if(i>>>0>=n>>>0){b=0;i=H[j+4>>2];if(!i|H[i>>2]){break N}H[i>>2]=130;l=H[k+15980>>2];break N}O:{P:{Q:{b=(i<<3)+b|0;switch(H[b+4>>2]-1|0){case 1:break Q;case 0:break P;default:break O}}b=H[b>>2]<<16;break N}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break N}b=H[b>>2]}b=b+m|0;H[k+15976>>2]=b;Ke(k+3904|0,l,b);b=H[j+8>>2];g=g+2|0;if(q>>>0<=g>>>0){break I}l=H[j+12>>2];continue}}H[j+12>>2]=b;b=f;continue;case 6:case 7:l=H[j+8>>2];p=H[j+12>>2];if((l|0)!=(p|0)){b=p-l>>3;m=b>>>0>1?b:1;b=(g|0)==6;g=0;while(1){R:{if(p-l>>3>>>0<=g>>>0){l=0;i=H[j+4>>2];if(!i|H[i>>2]){break R}H[i>>2]=130;break R}S:{T:{U:{i=(g<<3)+l|0;switch(H[i+4>>2]-1|0){case 0:break T;case 1:break U;default:break S}}l=H[i>>2]<<16;break R}i=H[i>>2];l=((i>>31)+i|0)- -8192>>14;break R}l=H[i>>2]}V:{if(b&255){l=H[k+15980>>2]+l|0;H[k+15980>>2]=l;p=H[k+15976>>2];break V}p=H[k+15976>>2]+l|0;H[k+15976>>2]=p;l=H[k+15980>>2]}Ke(k+3904|0,l,p);g=g+1|0;if((m|0)!=(g|0)){b=b^1;p=H[j+12>>2];l=H[j+8>>2];continue}break}l=H[j+8>>2]}H[j+12>>2]=l;b=f;continue;case 8:case 24:b=0;l=H[j+12>>2];p=H[j+8>>2];i=l-p|0;if(i>>>0<48){break o}r=i>>3;i=6;while(1){m=i;v=l-p>>3;W:{if(v>>>0<=b>>>0){i=0;l=H[j+4>>2];if(!l|H[l>>2]){break W}H[l>>2]=130;break W}X:{Y:{Z:{i=(b<<3)+p|0;switch(H[i+4>>2]-1|0){case 0:break Y;case 1:break Z;default:break X}}i=H[i>>2]<<16;break W}i=H[i>>2];i=((i>>31)+i|0)- -8192>>14;break W}i=H[i>>2]}s=H[k+15980>>2];l=b|1;_:{if(l>>>0>=v>>>0){n=0;l=H[j+4>>2];if(!l|H[l>>2]){break _}H[l>>2]=130;break _}$:{aa:{ba:{l=(l<<3)+p|0;switch(H[l+4>>2]-1|0){case 0:break aa;case 1:break ba;default:break $}}n=H[l>>2]<<16;break _}l=H[l>>2];n=((l>>31)+l|0)- -8192>>14;break _}n=H[l>>2]}q=H[k+15976>>2];l=b+2|0;ca:{if(l>>>0>=v>>>0){l=0;x=H[j+4>>2];if(!x|H[x>>2]){break ca}H[x>>2]=130;break ca}da:{ea:{fa:{l=(l<<3)+p|0;switch(H[l+4>>2]-1|0){case 0:break ea;case 1:break fa;default:break da}}l=H[l>>2]<<16;break ca}l=H[l>>2];l=((l>>31)+l|0)- -8192>>14;break ca}l=H[l>>2]}x=i+s|0;i=b+3|0;ga:{if(i>>>0>=v>>>0){w=0;i=H[j+4>>2];if(!i|H[i>>2]){break ga}H[i>>2]=130;break ga}ha:{ia:{ja:{i=(i<<3)+p|0;switch(H[i+4>>2]-1|0){case 0:break ia;case 1:break ja;default:break ha}}w=H[i>>2]<<16;break ga}i=H[i>>2];w=((i>>31)+i|0)- -8192>>14;break ga}w=H[i>>2]}s=n+q|0;q=l+x|0;i=b+4|0;ka:{if(i>>>0>=v>>>0){l=0;i=H[j+4>>2];if(!i|H[i>>2]){break ka}H[i>>2]=130;break ka}la:{ma:{na:{i=(i<<3)+p|0;switch(H[i+4>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}l=H[i>>2]<<16;break ka}i=H[i>>2];l=((i>>31)+i|0)- -8192>>14;break ka}l=H[i>>2]}n=s+w|0;l=l+q|0;b=b+5|0;oa:{if(b>>>0>=v>>>0){b=0;i=H[j+4>>2];if(!i|H[i>>2]){break oa}H[i>>2]=130;break oa}pa:{qa:{ra:{b=(b<<3)+p|0;switch(H[b+4>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}b=H[b>>2]<<16;break oa}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break oa}b=H[b>>2]}b=b+n|0;de(k+3904|0,x,s,q,n,l,b);H[k+15976>>2]=b;H[k+15980>>2]=l;i=m+6|0;if(r>>>0>>0){b=m;break o}else{l=H[j+12>>2];p=H[j+8>>2];b=m;continue}};default:if(g>>>0<=246){b=H[j+12>>2];if((b|0)==(H[j+8>>2]+(H[j+16>>2]<<3)|0)){b=f;f=H[j+4>>2];if(!f|H[f>>2]){continue}H[f>>2]=130;continue}H[b>>2]=g-139;b=H[j+12>>2];H[b+4>>2]=2;H[j+12>>2]=b+8;b=f;continue}if(g>>>0<=250){sa:{if(i>>>0>>0){H[l>>2]=i+1;l=I[i|0];break sa}l=0;b=H[t>>2];if(!b|H[b>>2]){break sa}H[b>>2]=85}b=H[j+12>>2];if((b|0)==(H[j+8>>2]+(H[j+16>>2]<<3)|0)){b=f;f=H[j+4>>2];if(!f|H[f>>2]){continue}H[f>>2]=130;continue}H[b>>2]=((g<<8)+l|0)-63124;b=H[j+12>>2];H[b+4>>2]=2;H[j+12>>2]=b+8;b=f;continue}if((g|0)!=255){g=0-(g<<8)|0;ta:{if(i>>>0>>0){H[l>>2]=i+1;b=I[i|0];break ta}b=0;i=H[t>>2];if(!i|H[i>>2]){break ta}H[i>>2]=85}cf(j,(g-b|0)+64148|0);b=f;continue}ua:{if(i>>>0>>0){g=i+1|0;H[l>>2]=g;s=I[i|0];break ua}s=0;b=H[t>>2];if(!(!b|H[b>>2])){H[b>>2]=85}g=i}va:{if(g>>>0>>0){b=g+1|0;H[l>>2]=b;i=I[g|0];break va}i=0;b=H[t>>2];if(!(!b|H[b>>2])){H[b>>2]=85}b=g}wa:{if(b>>>0>>0){g=b+1|0;H[l>>2]=g;n=I[b|0];break wa}n=0;g=H[t>>2];if(!(!g|H[g>>2])){H[g>>2]=85}g=b}xa:{if(g>>>0>>0){H[l>>2]=g+1;g=I[g|0];break xa}g=0;b=H[t>>2];if(!b|H[b>>2]){break xa}H[b>>2]=85}b=i<<16|s<<24|n<<8|g;if(r){cf(j,b);D=b+32e3>>>0<64001?D:D&255?D:1;b=f;continue}gc(j,b);b=f;continue;case 28:ya:{if(i>>>0>>0){g=i+1|0;H[l>>2]=g;b=I[i|0];break ya}b=0;g=H[t>>2];if(!(!g|H[g>>2])){H[g>>2]=85}g=i}za:{if(g>>>0>>0){H[l>>2]=g+1;g=I[g|0];break za}g=0;i=H[t>>2];if(!i|H[i>>2]){break za}H[i>>2]=85}i=H[j+12>>2];if((i|0)==(H[j+8>>2]+(H[j+16>>2]<<3)|0)){b=f;f=H[j+4>>2];if(!f|H[f>>2]){continue}H[f>>2]=130;continue}H[i>>2]=(g<<16|b<<24)>>16;b=H[j+12>>2];H[b+4>>2]=2;H[j+12>>2]=b+8;b=f;continue;case 30:case 31:i=H[j+8>>2];b=H[j+12>>2]-i>>3;x=b&-3;b=b&2;if(x>>>0>b>>>0){w=(g|0)==31;while(1){Aa:{if(w&255){v=H[j+8>>2];r=H[j+12>>2]-v>>3;Ba:{if(r>>>0<=b>>>0){p=0;g=H[j+4>>2];if(!g|H[g>>2]){break Ba}H[g>>2]=130;break Ba}Ca:{Da:{Ea:{g=v+(b<<3)|0;switch(H[g+4>>2]-1|0){case 0:break Da;case 1:break Ea;default:break Ca}}p=H[g>>2]<<16;break Ba}g=H[g>>2];p=((g>>31)+g|0)- -8192>>14;break Ba}p=H[g>>2]}q=H[k+15980>>2];l=H[k+15976>>2];g=b+1|0;Fa:{if(r>>>0<=g>>>0){i=0;m=H[j+4>>2];if(!m|H[m>>2]){break Fa}H[m>>2]=130;break Fa}Ga:{Ha:{Ia:{i=v+(g<<3)|0;switch(H[i+4>>2]-1|0){case 0:break Ha;case 1:break Ia;default:break Ga}}i=H[i>>2]<<16;break Fa}i=H[i>>2];i=((i>>31)+i|0)- -8192>>14;break Fa}i=H[i>>2]}m=b+2|0;Ja:{if(m>>>0>=r>>>0){n=0;m=H[j+4>>2];if(!m|H[m>>2]){break Ja}H[m>>2]=130;break Ja}Ka:{La:{Ma:{m=v+(m<<3)|0;switch(H[m+4>>2]-1|0){case 0:break La;case 1:break Ma;default:break Ka}}n=H[m>>2]<<16;break Ja}m=H[m>>2];n=((m>>31)+m|0)- -8192>>14;break Ja}n=H[m>>2]}p=p+q|0;s=l+n|0;m=b+3|0;Na:{if(m>>>0>=r>>>0){w=0;m=H[j+4>>2];if(!m|H[m>>2]){break Na}H[m>>2]=130;break Na}Oa:{Pa:{Qa:{m=v+(m<<3)|0;switch(H[m+4>>2]-1|0){case 0:break Pa;case 1:break Qa;default:break Oa}}w=H[m>>2]<<16;break Na}m=H[m>>2];w=((m>>31)+m|0)- -8192>>14;break Na}w=H[m>>2]}n=i+p|0;i=s+w|0;w=0;if((x-b|0)!=5){g=b;m=n;break Aa}b=b+4|0;Ra:{if(b>>>0>=r>>>0){m=H[j+4>>2];b=0;if(!m|H[m>>2]){break Ra}H[m>>2]=130;m=n;break Aa}Sa:{Ta:{Ua:{b=v+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break Ta;case 1:break Ua;default:break Sa}}m=(H[b>>2]<<16)+n|0;break Aa}b=H[b>>2];m=(((b>>31)+b|0)- -8192>>14)+n|0;break Aa}b=H[b>>2]}m=b+n|0;break Aa}p=H[k+15980>>2];r=H[j+8>>2];q=H[j+12>>2]-r>>3;Va:{if(q>>>0<=b>>>0){l=0;g=H[j+4>>2];if(!g|H[g>>2]){break Va}H[g>>2]=130;break Va}Wa:{Xa:{Ya:{g=r+(b<<3)|0;switch(H[g+4>>2]-1|0){case 0:break Xa;case 1:break Ya;default:break Wa}}l=H[g>>2]<<16;break Va}g=H[g>>2];l=((g>>31)+g|0)- -8192>>14;break Va}l=H[g>>2]}n=H[k+15976>>2];g=b+1|0;Za:{if(q>>>0<=g>>>0){m=0;i=H[j+4>>2];if(!i|H[i>>2]){break Za}H[i>>2]=130;break Za}_a:{$a:{ab:{i=r+(g<<3)|0;switch(H[i+4>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}m=H[i>>2]<<16;break Za}i=H[i>>2];m=((i>>31)+i|0)- -8192>>14;break Za}m=H[i>>2]}i=b+2|0;bb:{if(i>>>0>=q>>>0){w=0;i=H[j+4>>2];if(!i|H[i>>2]){break bb}H[i>>2]=130;break bb}cb:{db:{eb:{i=r+(i<<3)|0;switch(H[i+4>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}w=H[i>>2]<<16;break bb}i=H[i>>2];w=((i>>31)+i|0)- -8192>>14;break bb}w=H[i>>2]}l=l+n|0;n=m+p|0;i=b+3|0;fb:{if(i>>>0>=q>>>0){m=0;i=H[j+4>>2];if(!i|H[i>>2]){break fb}H[i>>2]=130;break fb}gb:{hb:{ib:{i=r+(i<<3)|0;switch(H[i+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}m=H[i>>2]<<16;break fb}i=H[i>>2];m=((i>>31)+i|0)- -8192>>14;break fb}m=H[i>>2]}s=l+w|0;m=m+n|0;w=1;if((x-b|0)!=5){g=b;i=s;break Aa}b=b+4|0;jb:{if(b>>>0>=q>>>0){b=0;i=H[j+4>>2];if(!i|H[i>>2]){break jb}H[i>>2]=130;break jb}kb:{lb:{mb:{b=r+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}b=H[b>>2]<<16;break jb}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break jb}b=H[b>>2]}i=b+s|0}de(k+3904|0,p,l,n,s,m,i);H[k+15976>>2]=i;H[k+15980>>2]=m;b=g+4|0;if(x>>>0>b>>>0){continue}break}i=H[j+8>>2]}H[j+12>>2]=i;b=f;continue;case 27:b=H[j+8>>2];r=H[j+12>>2]-b>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){nb:{if(r-g&1){p=H[j+8>>2];b=H[j+12>>2]-p>>3;ob:{if(g>>>0>=b>>>0){l=0;i=H[j+4>>2];if(!i|H[i>>2]){break ob}H[i>>2]=130;break ob}pb:{qb:{rb:{i=(g<<3)+p|0;switch(H[i+4>>2]-1|0){case 0:break qb;case 1:break rb;default:break pb}}l=H[i>>2]<<16;break ob}i=H[i>>2];l=((i>>31)+i|0)- -8192>>14;break ob}l=H[i>>2]}g=g+1|0;i=H[k+15976>>2]+l|0;break nb}p=H[j+8>>2];b=H[j+12>>2]-p>>3;i=H[k+15976>>2]}sb:{if(b>>>0<=g>>>0){l=0;m=H[j+4>>2];if(!m|H[m>>2]){break sb}H[m>>2]=130;break sb}tb:{ub:{vb:{m=(g<<3)+p|0;switch(H[m+4>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}l=H[m>>2]<<16;break sb}m=H[m>>2];l=((m>>31)+m|0)- -8192>>14;break sb}l=H[m>>2]}n=H[k+15980>>2];m=g+1|0;wb:{if(m>>>0>=b>>>0){m=0;q=H[j+4>>2];if(!q|H[q>>2]){break wb}H[q>>2]=130;break wb}xb:{yb:{zb:{m=(m<<3)+p|0;switch(H[m+4>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}m=H[m>>2]<<16;break wb}m=H[m>>2];m=((m>>31)+m|0)- -8192>>14;break wb}m=H[m>>2]}q=l+n|0;l=g+2|0;Ab:{if(l>>>0>=b>>>0){l=0;n=H[j+4>>2];if(!n|H[n>>2]){break Ab}H[n>>2]=130;break Ab}Bb:{Cb:{Db:{l=(l<<3)+p|0;switch(H[l+4>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}l=H[l>>2]<<16;break Ab}l=H[l>>2];l=((l>>31)+l|0)- -8192>>14;break Ab}l=H[l>>2]}n=m+q|0;l=i+l|0;m=b;b=g+3|0;Eb:{if(m>>>0<=b>>>0){b=0;m=H[j+4>>2];if(!m|H[m>>2]){break Eb}H[m>>2]=130;break Eb}Fb:{Gb:{Hb:{b=(b<<3)+p|0;switch(H[b+4>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}b=H[b>>2]<<16;break Eb}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break Eb}b=H[b>>2]}b=b+n|0;de(k+3904|0,q,i,n,l,b,l);H[k+15976>>2]=l;H[k+15980>>2]=b;g=g+4|0;if(s>>>0>g>>>0){continue}break}b=H[j+8>>2]}H[j+12>>2]=b;b=f;continue;case 26:b=H[j+8>>2];r=H[j+12>>2]-b>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){Ib:{if(r-g&1){p=H[j+8>>2];b=H[j+12>>2]-p>>3;Jb:{if(g>>>0>=b>>>0){l=0;i=H[j+4>>2];if(!i|H[i>>2]){break Jb}H[i>>2]=130;break Jb}Kb:{Lb:{Mb:{i=(g<<3)+p|0;switch(H[i+4>>2]-1|0){case 0:break Lb;case 1:break Mb;default:break Kb}}l=H[i>>2]<<16;break Jb}i=H[i>>2];l=((i>>31)+i|0)- -8192>>14;break Jb}l=H[i>>2]}g=g+1|0;i=H[k+15980>>2]+l|0;break Ib}p=H[j+8>>2];b=H[j+12>>2]-p>>3;i=H[k+15980>>2]}Nb:{if(b>>>0<=g>>>0){l=0;m=H[j+4>>2];if(!m|H[m>>2]){break Nb}H[m>>2]=130;break Nb}Ob:{Pb:{Qb:{m=(g<<3)+p|0;switch(H[m+4>>2]-1|0){case 0:break Pb;case 1:break Qb;default:break Ob}}l=H[m>>2]<<16;break Nb}m=H[m>>2];l=((m>>31)+m|0)- -8192>>14;break Nb}l=H[m>>2]}n=H[k+15976>>2];m=g+1|0;Rb:{if(m>>>0>=b>>>0){m=0;q=H[j+4>>2];if(!q|H[q>>2]){break Rb}H[q>>2]=130;break Rb}Sb:{Tb:{Ub:{m=(m<<3)+p|0;switch(H[m+4>>2]-1|0){case 0:break Tb;case 1:break Ub;default:break Sb}}m=H[m>>2]<<16;break Rb}m=H[m>>2];m=((m>>31)+m|0)- -8192>>14;break Rb}m=H[m>>2]}q=l+n|0;l=g+2|0;Vb:{if(l>>>0>=b>>>0){n=0;l=H[j+4>>2];if(!l|H[l>>2]){break Vb}H[l>>2]=130;break Vb}Wb:{Xb:{Yb:{l=(l<<3)+p|0;switch(H[l+4>>2]-1|0){case 0:break Xb;case 1:break Yb;default:break Wb}}n=H[l>>2]<<16;break Vb}l=H[l>>2];n=((l>>31)+l|0)- -8192>>14;break Vb}n=H[l>>2]}x=i+m|0;l=n+q|0;m=b;b=g+3|0;Zb:{if(m>>>0<=b>>>0){b=0;m=H[j+4>>2];if(!m|H[m>>2]){break Zb}H[m>>2]=130;break Zb}_b:{$b:{ac:{b=(b<<3)+p|0;switch(H[b+4>>2]-1|0){case 0:break $b;case 1:break ac;default:break _b}}b=H[b>>2]<<16;break Zb}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break Zb}b=H[b>>2]}b=b+l|0;de(k+3904|0,i,q,x,l,x,b);H[k+15976>>2]=b;H[k+15980>>2]=x;g=g+4|0;if(s>>>0>g>>>0){continue}break}b=H[j+8>>2]}H[j+12>>2]=b;b=f;continue;case 25:l=H[j+12>>2];b=H[j+8>>2];i=l-b|0;x=i>>3;g=0;if(i>>>0>48){while(1){m=H[k+15980>>2];n=l-b>>3;bc:{if(n>>>0<=g>>>0){l=0;i=H[j+4>>2];if(!i|H[i>>2]){break bc}H[i>>2]=130;break bc}cc:{dc:{ec:{i=(g<<3)+b|0;switch(H[i+4>>2]-1|0){case 0:break dc;case 1:break ec;default:break cc}}l=H[i>>2]<<16;break bc}i=H[i>>2];l=((i>>31)+i|0)- -8192>>14;break bc}l=H[i>>2]}l=l+m|0;H[k+15980>>2]=l;m=H[k+15976>>2];i=g|1;fc:{if(i>>>0>=n>>>0){b=0;i=H[j+4>>2];if(!i|H[i>>2]){break fc}H[i>>2]=130;l=H[k+15980>>2];break fc}gc:{hc:{ic:{b=(i<<3)+b|0;switch(H[b+4>>2]-1|0){case 0:break hc;case 1:break ic;default:break gc}}b=H[b>>2]<<16;break fc}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break fc}b=H[b>>2]}b=b+m|0;H[k+15976>>2]=b;Ke(k+3904|0,l,b);i=g+2|0;if(x>>>0>g+8>>>0){l=H[j+12>>2];b=H[j+8>>2];g=i;continue}break}g=i}if(g>>>0>>0){while(1){w=H[j+8>>2];v=H[j+12>>2]-w>>3;jc:{if(v>>>0<=g>>>0){p=0;b=H[j+4>>2];if(!b|H[b>>2]){break jc}H[b>>2]=130;break jc}kc:{lc:{mc:{b=w+(g<<3)|0;switch(H[b+4>>2]-1|0){case 0:break lc;case 1:break mc;default:break kc}}p=H[b>>2]<<16;break jc}b=H[b>>2];p=((b>>31)+b|0)- -8192>>14;break jc}p=H[b>>2]}l=H[k+15980>>2];b=g|1;nc:{if(b>>>0>=v>>>0){i=0;b=H[j+4>>2];if(!b|H[b>>2]){break nc}H[b>>2]=130;break nc}oc:{pc:{qc:{b=w+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break pc;case 1:break qc;default:break oc}}i=H[b>>2]<<16;break nc}b=H[b>>2];i=((b>>31)+b|0)- -8192>>14;break nc}i=H[b>>2]}m=H[k+15976>>2];b=g+2|0;rc:{if(b>>>0>=v>>>0){n=0;b=H[j+4>>2];if(!b|H[b>>2]){break rc}H[b>>2]=130;break rc}sc:{tc:{uc:{b=w+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break tc;case 1:break uc;default:break sc}}n=H[b>>2]<<16;break rc}b=H[b>>2];n=((b>>31)+b|0)- -8192>>14;break rc}n=H[b>>2]}r=l+p|0;b=g+3|0;vc:{if(b>>>0>=v>>>0){l=0;b=H[j+4>>2];if(!b|H[b>>2]){break vc}H[b>>2]=130;break vc}wc:{xc:{yc:{b=w+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break xc;case 1:break yc;default:break wc}}l=H[b>>2]<<16;break vc}b=H[b>>2];l=((b>>31)+b|0)- -8192>>14;break vc}l=H[b>>2]}s=i+m|0;q=n+r|0;b=g+4|0;zc:{if(b>>>0>=v>>>0){n=0;b=H[j+4>>2];if(!b|H[b>>2]){break zc}H[b>>2]=130;break zc}Ac:{Bc:{Cc:{b=w+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break Bc;case 1:break Cc;default:break Ac}}n=H[b>>2]<<16;break zc}b=H[b>>2];n=((b>>31)+b|0)- -8192>>14;break zc}n=H[b>>2]}l=l+s|0;m=n+q|0;b=g+5|0;Dc:{if(b>>>0>=v>>>0){b=0;i=H[j+4>>2];if(!i|H[i>>2]){break Dc}H[i>>2]=130;break Dc}Ec:{Fc:{Gc:{b=w+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break Fc;case 1:break Gc;default:break Ec}}b=H[b>>2]<<16;break Dc}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break Dc}b=H[b>>2]}b=b+l|0;de(k+3904|0,r,s,q,l,m,b);H[k+15976>>2]=b;H[k+15980>>2]=m;g=g+6|0;if(x>>>0>g>>>0){continue}break}}H[j+12>>2]=H[j+8>>2];b=f;continue;case 22:g=H[j+12>>2];m=H[j+8>>2];if(!(I[k+15791|0]|g-m>>>0<16)){Hc:{Ic:{switch(H[m+4>>2]-1|0){case 1:b=H[m>>2]<<16;break Hc;case 0:b=H[m>>2];b=((b>>31)+b|0)- -8192>>14;break Hc;default:break Ic}}b=H[m>>2]}H[h>>2]=b+R}F[k+15791|0]=1;if(I[o+548|0]){break m}i=H[k+15980>>2];Jc:{if((g|0)==(m|0)){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break Jc}H[b>>2]=161;break Jc}b=g-8|0;H[j+12>>2]=b;Kc:{switch(H[b+4>>2]-1|0){case 1:g=H[b>>2]<<16;break Jc;case 0:b=H[b>>2];g=((b>>31)+b|0)- -8192>>14;break Jc;default:break Kc}}g=H[b>>2]}b=g+i|0;H[k+15980>>2]=b;if(H[o+468>>2]){break n}df(k+3904|0,b,H[k+15976>>2]);b=f;break k;case 21:m=H[j+12>>2];n=H[j+8>>2];if(!(I[k+15791|0]|m-n>>>0<24)){Lc:{Mc:{switch(H[n+4>>2]-1|0){case 1:b=H[n>>2]<<16;break Lc;case 0:b=H[n>>2];b=((b>>31)+b|0)- -8192>>14;break Lc;default:break Mc}}b=H[n>>2]}H[h>>2]=b+R}F[k+15791|0]=1;if(I[o+548|0]){break m}i=H[k+15976>>2];Nc:{Oc:{Pc:{if((m|0)==(n|0)){b=H[j+4>>2];if(!(!b|H[b>>2])){H[b>>2]=161}H[k+15976>>2]=i;p=H[k+15980>>2];break Pc}l=m-8|0;H[j+12>>2]=l;Qc:{Rc:{switch(H[l+4>>2]-1|0){case 0:g=H[l>>2];b=((g>>31)+g|0)- -8192>>14;break Qc;default:b=H[l>>2];break Qc;case 1:break Rc}}b=H[l>>2]<<16}H[k+15976>>2]=b+i;p=H[k+15980>>2];if((l|0)!=(n|0)){break Oc}}g=0;b=H[j+4>>2];if(!b|H[b>>2]){break Nc}H[b>>2]=161;break Nc}b=m-16|0;H[j+12>>2]=b;Sc:{switch(H[b+4>>2]-1|0){case 1:g=H[b>>2]<<16;break Nc;case 0:b=H[b>>2];g=((b>>31)+b|0)- -8192>>14;break Nc;default:break Sc}}g=H[b>>2]}b=g+p|0;H[k+15980>>2]=b;if(H[o+468>>2]){break n}df(k+3904|0,b,H[k+15976>>2]);b=f;break k;case 19:case 20:if(I[k+15692|0]?H[j+12>>2]-H[j+8>>2]>>>0>=16:0){break n}b=0;Jg(a,j,k+15720|0,h,k+15791|0,0);if(I[o+548|0]){l=0;break c}if((g|0)==19){b=H[k+15740>>2]+H[k+15772>>2]|0;if(b>>>0>=97){b=H[k+15688>>2];if(!b|H[b>>2]){break n}H[b>>2]=18;b=f;break k}H[k+15696>>2]=b;G[k+15692>>1]=257;H[k+15700>>2]=b+7>>>3;if(!b){break n}g=0;while(1){b=H[l>>2];Tc:{if(b>>>0>2]){H[l>>2]=b+1;b=I[b|0];break Tc}b=0;i=H[t>>2];if(!i|H[i>>2]){break Tc}H[i>>2]=85}F[(g+k|0)+15704|0]=b;g=g+1|0;if(g>>>0>2]){continue}break}break n}kb(U,0,3856);b=I[a+184|0];H[k+48>>2]=O;F[k+45|0]=b;H[k+40>>2]=P;H[k+36>>2]=Q;H[k+32>>2]=a;H[M+16>>2]=0;H[M+20>>2]=0;H[M+8>>2]=0;H[M+12>>2]=0;H[M>>2]=0;H[M+4>>2]=0;H[k>>2]=E;b=H[k+15740>>2]+H[k+15772>>2]|0;Uc:{if(b>>>0>=97){if(H[a+4>>2]){break Uc}H[a+4>>2]=18;break Uc}H[k+8>>2]=b;G[k+4>>1]=257;H[k+12>>2]=b+7>>>3;if(!b){break Uc}g=0;while(1){b=H[l>>2];Vc:{if(b>>>0>2]){H[l>>2]=b+1;b=I[b|0];break Vc}b=0;i=H[t>>2];if(!i|H[i>>2]){break Vc}H[i>>2]=85}F[(g+k|0)+16|0]=b;g=g+1|0;if(g>>>0>2]){continue}break}}Rf(k+32|0,k+15752|0,k+15720|0,k,0,0);b=f;break k;case 14:if(!(!r|f&255)){df(k+3904|0,H[k+15980>>2],H[k+15976>>2]);H[k+15772>>2]=0;H[k+15740>>2]=0;H[y+16>>2]=0;H[y+20>>2]=0;H[y+8>>2]=0;H[y+12>>2]=0;H[y>>2]=0;H[y+4>>2]=0;H[k+15688>>2]=E;F[k+15693|0]=1;if((A|0)>0){g=A;Wc:{if(!(g&1)){break Wc}g=A-1|0;if(g>>>0<17){l=g;break Wc}l=0;if(H[a+4>>2]){break Wc}H[a+4>>2]=130}if((A|0)!=1){while(1){b=g-1|0;if(!(H[a+4>>2]|b>>>0<17)){H[a+4>>2]=130}g=g-2|0;l=g;Xc:{if(g>>>0<17){break Xc}l=0;if(H[a+4>>2]){break Xc}H[a+4>>2]=130}if(b>>>0>1){continue}break}}t=(l<<4)+C|0;A=0}H[t+12>>2]=H[t+4>>2];b=1;break k}b=H[j+12>>2]-H[j+8>>2]|0;Yc:{Zc:{if((b|0)!=8){if((b|0)!=40){break Yc}if(!I[k+15791|0]){break Zc}break Yc}if(I[k+15791|0]){break Yc}}W=h,X=Md(j,0)+R|0,H[W>>2]=X}F[k+15791|0]=1;if(I[o+548|0]){break m}b=k+3904|0;if(I[b+11664|0]){F[b+11665|0]=1;Ke(b,H[b+11736>>2],H[b+11740>>2]);if(I[b+11744|0]){Qf(b,b+8|0,b+11704|0,H[b+11712>>2],H[b+11716>>2],1)}F[b+11744|0]=0;G[b+11664>>1]=0;F[b+11667|0]=1}if(I[a+9|0]|I[a+8|0]|H[j+12>>2]-H[j+8>>2]>>>0<9){break m}l=18;_c:{if(e){break _c}b=Tc(j);e=Tc(j);W=k,X=Jb(j),H[W+15976>>2]=X;W=k,X=Jb(j),H[W+15980>>2]=X;l=mn(o,b,k+32|0);if(l){break _c}f=k+32|0;Uf(a,f,c,d,1,H[k+15980>>2],H[k+15976>>2],k);b=f|4;Ya[H[o+600>>2]](H[o+4>>2],b,H[k+40>>2]-H[k+36>>2]|0);l=mn(o,e,f);if(l){break _c}l=0;Uf(a,k+32|0,c,d,1,0,0,k);Ya[H[o+600>>2]](H[o+4>>2],b,H[k+40>>2]-H[k+36>>2]|0)}b=0;break c;case 13:if(!r){break n}g=H[j+12>>2];i=H[j+8>>2];$c:{if((g|0)==(i|0)){p=0;b=H[j+4>>2];if(!b|H[b>>2]){break $c}H[b>>2]=161;break $c}g=g-8|0;H[j+12>>2]=g;ad:{switch(H[g+4>>2]-1|0){case 1:p=H[g>>2]<<16;break $c;case 0:b=H[g>>2];p=((b>>31)+b|0)- -8192>>14;break $c;default:break ad}}p=H[g>>2]}b=H[o+36>>2];H[b+4>>2]=0;H[b>>2]=p;bd:{if((g|0)==(i|0)){g=0;b=H[j+4>>2];if(!b|H[b>>2]){break bd}H[b>>2]=161;break bd}b=g-8|0;H[j+12>>2]=b;cd:{switch(H[b+4>>2]-1|0){case 1:g=H[b>>2]<<16;break bd;case 0:b=H[b>>2];g=((b>>31)+b|0)- -8192>>14;break bd;default:break cd}}g=H[b>>2]}b=H[o+32>>2];H[b>>2]=H[b>>2]+g;F[k+15791|0]=1;if(I[o+47|0]){break m}if(!(f&255)){b=0;break k}H[k+15980>>2]=H[k+15980>>2]+g;b=f;break k;case 12:dd:{if(i>>>0>=q>>>0){b=H[t>>2];if(b){g=0;if(H[b>>2]){break dd}H[b>>2]=85}g=0;break dd}H[l>>2]=i+1;ed:{fd:{gd:{hd:{g=I[i|0];switch(g-8|0){case 0:case 5:case 11:case 17:case 23:case 24:break k;case 29:break ed;case 28:break fd;case 27:break gd;case 26:break hd;default:break dd}}Ig(j,k+15980|0,k+15976|0,k+3904|0,31308,0);continue}Ig(j,k+15980|0,k+15976|0,k+3904|0,31320,0);break k}Ig(j,k+15980|0,k+15976|0,k+3904|0,31332,0);continue}Ig(j,k+15980|0,k+15976|0,k+3904|0,31344,1);continue}if(I[a+9|0]|g>>>0>37){break n}if(!(!r|(u|0)<=0|(g|0)==17)){u=0;b=f;break k}b=f;id:{jd:{kd:{ld:{switch(g-1|0){case 0:case 1:if(!r){break n}l=Md(j,0);n=Md(j,2);m=Md(j,4);i=Md(j,1);b=H[j+8>>2];md:{if(H[j+12>>2]-b>>>0<=15){b=H[j+4>>2];if(!b|H[b>>2]){break md}H[b>>2]=130;break md}H[b+16>>2]=n-(i+l|0);H[H[j+8>>2]+20>>2]=0}i=Md(j,3);b=H[j+8>>2];nd:{if(H[j+12>>2]-b>>>0<=31){b=H[j+4>>2];if(!b|H[b>>2]){break nd}H[b>>2]=130;break nd}H[b+32>>2]=m-(i+n|0);H[H[j+8>>2]+36>>2]=0}Jg(a,j,(g|0)==1?k+15720|0:k+15752|0,h,k+15791|0,H[H[o+32>>2]+(((g|0)!=1)<<2)>>2]);b=f;if(I[o+548|0]){break m}break k;case 2:b=Jb(j);cf(j,(Jb(j)|0)!=0&(b|0)!=0);b=f;continue;case 3:cf(j,(Jb(j)|Jb(j))!=0);continue;case 4:cf(j,!Jb(j));continue;case 5:if(!r){break k}h=H[o+4>>2];l=18;g=Tc(j);b=Tc(j);u=Jb(j);f=Jb(j);y=Jb(j);od:{if(I[o+47|0]|e){break od}e=H[H[h+128>>2]+52>>2];pd:{if(!H[o+580>>2]){if(!e){break od}J=H[H[o+32>>2]>>2];break pd}J=H[H[o+32>>2]>>2];if(e){break pd}b=ln(o,b);g=ln(o,g)}if((b|g)<0){break od}m=f+J|0;qd:{if(I[o+46|0]){e=H[o+8>>2];d=H[H[e+156>>2]>>2];l=Gp(d,2);if(l){break od}c=H[d+88>>2];H[c+32>>2]=g;H[c+8>>2]=0;H[c+12>>2]=0;G[c+4>>1]=514;H[c>>2]=b;G[c+36>>1]=2;b=m-y|0;H[c+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;H[c+44>>2]=((u+(u>>31)|0)+32768&-65536)>>16;H[e+128>>2]=2;b=H[d+52>>2];H[e+72>>2]=1668246896;H[e+132>>2]=b;H[d+84>>2]=2;break qd}e=H[o+12>>2];H[e+56>>2]=0;H[e+84>>2]=0;f=H[e+24>>2];if(f){f=f+(G[e+22>>1]<<3)|0}else{f=0}H[e+60>>2]=f;h=e- -64|0;f=H[e+28>>2];if(f){f=f+G[e+22>>1]|0}else{f=0}H[h>>2]=f;f=H[e+32>>2];if(f){f=f+(G[e+20>>1]<<1)|0}else{f=0}H[e+68>>2]=f;if(I[e+16|0]){f=G[e+22>>1]<<3;H[e+76>>2]=f+H[e+40>>2];H[e+80>>2]=f+H[e+44>>2]}f=H[e+52>>2];if(f){f=f+(H[e+48>>2]<<5)|0}else{f=0}H[e+88>>2]=f;l=kn(H[o+4>>2],b,k+32|0);if(l){break od}b=H[o+36>>2];s=H[b>>2];q=H[b+4>>2];b=H[o+32>>2];n=H[b>>2];i=H[b+4>>2];Uf(a,k+32|0,c,d,1,0,0,k+3900|0);e=H[H[H[o+4>>2]+128>>2]+52>>2];b=H[k+36>>2];H[k+4>>2]=H[k+40>>2]-b;H[k>>2]=b;if(e){Ya[H[H[e>>2]+4>>2]](H[e+4>>2],k)}rd:{if(I[k+15791|0]){b=H[o+32>>2];break rd}b=H[o+36>>2];s=H[b>>2];q=H[b+4>>2];b=H[o+32>>2];n=H[b>>2];i=H[b+4>>2]}H[b>>2]=0;H[b+4>>2]=0;l=kn(H[o+4>>2],g,k+32|0);if(l){break od}Uf(a,k+32|0,c,d,1,m-y|0,u,k+3900|0);c=H[H[H[o+4>>2]+128>>2]+52>>2];b=H[k+36>>2];H[k+4>>2]=H[k+40>>2]-b;H[k>>2]=b;if(c){Ya[H[H[c>>2]+4>>2]](H[c+4>>2],k)}b=H[o+32>>2];H[b>>2]=n;H[b+4>>2]=i;b=H[o+36>>2];H[b>>2]=s;H[b+4>>2]=q}l=0}b=0;break c;case 6:if(!r){break n}b=Jb(j);H[H[o+36>>2]+4>>2]=b;b=Jb(j);H[H[o+36>>2]>>2]=b;g=Jb(j);b=Jb(j);i=H[o+32>>2];H[i>>2]=b+H[i>>2];H[i+4>>2]=g+H[i+4>>2];F[k+15791|0]=1;if(I[o+47|0]){break m}if(!(f&255)){b=0;break k}H[k+15980>>2]=b+H[k+15980>>2];H[k+15976>>2]=g+H[k+15976>>2];b=f;break k;case 8:b=Jb(j);if((b|0)==-2147483648){gc(j,2147483647);b=f;continue}g=b;b=b>>31;gc(j,(g^b)-b|0);b=f;continue;case 9:gc(j,Jb(j)+Jb(j)|0);continue;case 10:b=Jb(j);gc(j,Jb(j)-b|0);b=f;continue;case 11:sd:{if(!(!r|!(D&255))){D=0;g=Tc(j);f=Tc(j);break sd}g=Jb(j);f=Jb(j)}gc(j,pb(f,g));continue;case 13:b=Jb(j);if((b|0)==-2147483648){gc(j,2147483647);b=f;continue}gc(j,0-b|0);b=f;continue;case 14:cf(j,(Jb(j)|0)==(Jb(j)|0));continue;case 15:if(!r){continue}m=Tc(j);n=Tc(j);g=H[j+8>>2];td:{switch(m|0){case 0:l=18;b=0;if((n|0)!=3|(!H[o+468>>2]|H[o+472>>2]!=7?f&255:0)){break c}gc(j,H[k+15980>>2]);gc(j,H[k+15976>>2]);z=2;break jd;case 1:if(n){break j}u=0;b=0;z=0;if(!(f&255)){continue}ud:{g=H[o+12>>2];if((G[g+22>>1]+G[g+58>>1]|0)+6>>>0<=K[g+4>>2]){break ud}if(!vc(g,6,0)){break ud}l=0;break c}H[o+468>>2]=1;H[o+472>>2]=0;break id;case 2:l=18;if(n){b=0;break c}u=0;b=0;z=0;if(!(f&255)){continue}if(!H[o+468>>2]){break c}i=H[o+472>>2];H[o+472>>2]=i+1;b=f;if(i-1>>>0>5){continue}g=H[o+12>>2];if((G[g+22>>1]+G[g+58>>1]|0)+1>>>0>K[g+4>>2]){b=0;if(vc(g,1,0)){break c}}b=i<<1;b=(k+15792|0)+((i>>>0>3?b-6|0:b)<<2)|0;H[b-8>>2]=H[k+15980>>2];H[b-4>>2]=H[k+15976>>2];b=f;vd:{switch(i-3|0){case 0:case 3:break vd;default:continue}}de(k+3904|0,H[k+15792>>2],H[k+15796>>2],H[k+15800>>2],H[k+15804>>2],H[k+15808>>2],H[k+15812>>2]);continue e;case 3:z=1;if((n|0)!=1){break j}u=0;b=0;if(!(f&255)){continue}H[k+15772>>2]=0;H[k+15740>>2]=0;H[y+16>>2]=0;H[y+20>>2]=0;H[y+8>>2]=0;H[y+12>>2]=0;H[y>>2]=0;H[y+4>>2]=0;F[k+15693|0]=1;H[k+15688>>2]=E;b=f;continue;case 12:case 13:H[j+12>>2]=g;break id;case 14:case 15:case 16:case 17:case 18:b=0;l=18;i=H[o+644>>2];if(!i){break c}z=(m+((m|0)==18)|0)-13|0;if((n|0)!=(N(z,H[i>>2])|0)){break c}u=(H[j+12>>2]-g>>3)-n|0;b=z+u|0;s=0;while(1){l=Md(j,u);g=1;if(K[i>>2]>=2){while(1){l=ib(Md(j,b),H[H[i+136>>2]+(g<<2)>>2])+l|0;b=b+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=H[j+8>>2];wd:{if(H[j+12>>2]-g>>3>>>0>>0){g=H[j+4>>2];if(!g|H[g>>2]){break wd}H[g>>2]=130;break wd}m=g;g=u<<3;H[m+g>>2]=l;H[(g+H[j+8>>2]|0)+4>>2]=0}u=u+1|0;s=s+1|0;if((z|0)!=(s|0)){continue}break};b=n-z|0;g=H[j+12>>2];if(b>>>0>g-H[j+8>>2]>>3>>>0){u=0;b=f;f=H[j+4>>2];if(!f|H[f>>2]){continue}H[f>>2]=161;continue}H[j+12>>2]=g-(b<<3);break jd;case 19:l=18;b=0;if((n|0)!=1){break c}m=H[o+644>>2];if(!m){break c}i=Tc(j);if((i|0)<0){break c}g=H[m>>2];if(K[o+652>>2]>>0){break c}mb(H[o+648>>2]+(i<<2)|0,H[m+136>>2],g<<2);break id;case 20:if((n|0)!=2){break j}gc(j,Jb(j)+Jb(j)|0);break kd;case 21:if((n|0)!=2){break j}b=Jb(j);gc(j,Jb(j)-b|0);break kd;case 22:if((n|0)!=2){break j}b=Jb(j);gc(j,ib(Jb(j),b));break kd;case 23:l=18;b=0;if((n|0)!=2){break c}i=Jb(j);g=Jb(j);if(!i){break c}gc(j,pb(g,i));break kd;case 24:l=18;b=0;if(!H[o+644>>2]|(n|0)!=2){break c}g=Tc(j);if((g|0)<0|g>>>0>=K[o+652>>2]){break c}b=Jb(j);H[H[o+648>>2]+(g<<2)>>2]=b;break id;case 25:l=18;b=0;if(!H[o+644>>2]|(n|0)!=1){break c}g=Tc(j);if((g|0)<0|g>>>0>=K[o+652>>2]){break c}gc(j,H[H[o+648>>2]+(g<<2)>>2]);break kd;case 27:if((n|0)!=4){break j}g=Jb(j);b=Jb(j);gc(j,(W=Jb(j),X=Jb(j),Y=(b|0)>(g|0),Y?W:X));break kd;case 28:if(n){break j}g=H[o+536>>2];i=H[g+648>>2];b=i<<13^i;b=b>>>17^b;H[g+648>>2]=b^b<<5;z=1;gc(j,(i&65535)+1|0);break jd;default:break td}}b=0;l=18;if((n|0)<0){break c}z=0;if((m|0)<0){break c}u=0;b=f;g=1;f=n>>>0<3?n:3;if(!f){continue}while(1){W=(k+15960|0)+(f-g<<2)|0,X=Jb(j),H[W>>2]=X;i=(f|0)==(g|0);g=g+1|0;if(!i){continue}break};u=f;continue;case 16:if(!r){continue}if((z|0)>0){z=z-1|0;continue}if(!u){break j}u=u-1|0;gc(j,H[(k+15960|0)+(u<<2)>>2]);continue;case 17:Jb(j);continue;case 19:g=Tc(j);f=Jb(j);if(g>>>0>31){continue}H[(k+15824|0)+(g<<2)>>2]=f;continue;case 20:f=Tc(j);if(f>>>0>31){continue}gc(j,H[(k+15824|0)+(f<<2)>>2]);continue;case 21:g=Jb(j);b=Jb(j);gc(j,(W=Jb(j),X=Jb(j),Y=(b|0)>(g|0),Y?W:X));b=f;continue;case 22:g=H[o+536>>2];i=H[g+648>>2];b=i<<13^i;b=b>>>17^b;H[g+648>>2]=b^b<<5;gc(j,(i&65535)+1|0);b=f;continue;case 23:b=Jb(j);gc(j,ib(Jb(j),b));b=f;continue;case 25:i=Jb(j);xd:{if((i|0)<=0){g=0;break xd}b=i>>>(i>>>0>9)|0;while(1){g=b;b=(pb(i,b)+b|0)+1>>1;if((b|0)!=(g|0)){continue}break}}gc(j,g);b=f;continue;case 26:b=Jb(j);gc(j,b);gc(j,b);b=f;continue;case 27:g=Jb(j);b=Jb(j);gc(j,g);gc(j,b);b=f;continue;case 28:i=Tc(j);g=H[j+12>>2];f=H[j+8>>2];if((g|0)==(f|0)){continue}f=g-f>>3;g=f-1|0;yd:{if((i|0)<0){break yd}g=0;if(f>>>0<=i>>>0){break yd}g=f+(i^-1)|0}gc(j,Md(j,g));continue;case 29:b=Tc(j);m=0;v=Tc(j);zd:{if((v|0)<2){break zd}if(v>>>0>H[j+12>>2]-H[j+8>>2]>>3>>>0){b=H[j+4>>2];if(!b|H[b>>2]){break zd}H[b>>2]=130;break zd}x=(b|0)%(v|0)|0;if(!x){break zd}r=0-v|0;s=0;q=2;b=-1;g=-1;while(1){Ad:{if((b|0)!=(g|0)){l=H[j+8>>2];n=s;i=q;break Ad}l=H[j+8>>2];g=b+1|0;b=l+(g<<3)|0;n=H[b>>2];i=H[b+4>>2];b=g}b=b+x|0;b=((b|0)<(v|0)?v&b>>31:r)+b|0;l=(b<<3)+l|0;s=H[l>>2];q=H[l+4>>2];H[l>>2]=n;H[l+4>>2]=i;m=m+1|0;if((v|0)!=(m|0)){continue}break}}b=f;continue;case 32:break ld;default:break k}}if(!r|!(f&255)){break n}W=k,X=Jb(j),H[W+15976>>2]=X;W=k,X=Jb(j),H[W+15980>>2]=X;H[o+468>>2]=0;break k}z=1}u=0;b=f;continue}u=0;b=f;continue e;case 11:if((A|0)<=0){break j}A=A-1|0;f=A;if(f>>>0>=17){H[a+4>>2]=130;f=0}t=(f<<4)+C|0;continue;case 10:case 29:l=18;b=0;i=(A|0)>16;if(i&!r|(i?r:0)){break c}A=A+1|0;i=A;if(i>>>0>=17){H[a+4>>2]=130;i=0}m=i<<4;i=H[j+12>>2];Bd:{if((i|0)==H[j+8>>2]){s=0;i=H[j+4>>2];if(!i|H[i>>2]){break Bd}H[i>>2]=161;break Bd}if(H[i-4>>2]!=2){s=0;i=H[j+4>>2];if(!i|H[i>>2]){break Bd}H[i>>2]=160;break Bd}i=i-8|0;H[j+12>>2]=i;s=H[i>>2]}t=m+C|0;Cd:{if(!r){break Cd}i=H[o+616>>2];if(!i){break Cd}i=Kc(s,i);if(!i){s=-1;break Cd}s=H[i>>2]}H[t>>2]=0;H[t+4>>2]=0;H[t+8>>2]=0;H[t+12>>2]=0;if((g|0)==29){g=H[o+568>>2]+s|0;if(g>>>0>=K[o+560>>2]){break c}g=H[o+576>>2]+(g<<2)|0;b=H[g>>2];H[t+4>>2]=b;H[t+12>>2]=b;H[t+8>>2]=H[g+4>>2];b=f;continue}g=H[o+564>>2]+s|0;if(g>>>0>=K[o+556>>2]){break c}i=g<<2;m=i+H[o+572>>2]|0;g=H[m>>2];H[t+4>>2]=g;Dd:{if(I[o+48|0]){b=H[o+612>>2];if(b){if(!g){g=0;b=0;break Dd}b=H[b+i>>2]+g|0;break Dd}b=H[o+608>>2];g=((b|0)>0?b:0)+g|0;H[t+4>>2]=g;b=H[m+4>>2];break Dd}b=H[m+4>>2]}H[t+12>>2]=g;H[t+8>>2]=b;b=f;continue;case 0:case 2:case 17:break k;case 9:break p}}if(!r){break n}if(I[k+15568|0]){F[k+15569|0]=1;Ke(k+3904|0,H[k+15640>>2],H[k+15644>>2]);if(I[k+15648|0]){Qf(k+3904|0,T,V,H[k+15616>>2],H[k+15620>>2],1)}F[k+15648|0]=0;G[k+15568>>1]=0;F[k+15571|0]=1}F[k+15791|0]=1;b=f;break k}if((g|0)==24){i=H[k+15980>>2];l=H[j+8>>2];m=H[j+12>>2]-l>>3;Ed:{if(m>>>0<=b>>>0){s=0;g=H[j+4>>2];if(!g|H[g>>2]){break Ed}H[g>>2]=130;break Ed}Fd:{Gd:{Hd:{g=l+(b<<3)|0;switch(H[g+4>>2]-1|0){case 0:break Gd;case 1:break Hd;default:break Fd}}s=H[g>>2]<<16;break Ed}g=H[g>>2];s=((g>>31)+g|0)- -8192>>14;break Ed}s=H[g>>2]}g=i+s|0;H[k+15980>>2]=g;i=H[k+15976>>2];b=b|1;Id:{if(b>>>0>=m>>>0){b=0;m=H[j+4>>2];if(!m|H[m>>2]){break Id}H[m>>2]=130;g=H[k+15980>>2];break Id}Jd:{Kd:{Ld:{b=l+(b<<3)|0;switch(H[b+4>>2]-1|0){case 0:break Kd;case 1:break Ld;default:break Jd}}b=H[b>>2]<<16;break Id}b=H[b>>2];b=((b>>31)+b|0)- -8192>>14;break Id}b=H[b>>2]}b=b+i|0;H[k+15976>>2]=b;Ke(k+3904|0,g,b)}H[j+12>>2]=H[j+8>>2];b=f;continue}b=f;break k}b=0;l=0;break c}H[a+120>>2]=g;b=f}H[j+12>>2]=H[j+8>>2];continue}break}break}l=18;b=0}if(H[a+4>>2]){break a}}H[a+4>>2]=l}a=k+15536|0;H[a>>2]=0;H[a+4>>2]=0;H[k+15528>>2]=0;d=H[k+15516>>2];c=k+15544|0;a=H[c>>2];if(a){Ya[H[d+8>>2]](d,a)}H[c>>2]=0;H[k+15740>>2]=0;H[k+15744>>2]=0;H[k+15732>>2]=0;c=H[k+15720>>2];a=H[k+15748>>2];if(a){Ya[H[c+8>>2]](c,a)}H[k+15748>>2]=0;H[k+15772>>2]=0;H[k+15776>>2]=0;H[k+15764>>2]=0;c=H[k+15752>>2];a=H[k+15780>>2];if(a){Ya[H[c+8>>2]](c,a)}H[k+15780>>2]=0;if(C){Ya[H[B+8>>2]](B,C)}if(!b){b=H[j>>2];a=H[j+8>>2];if(a){Ya[H[b+8>>2]](b,a)}H[j+8>>2]=0;if(j){Ya[H[b+8>>2]](b,j)}}Wa=k+15984|0}function iK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=Wa-160|0;Wa=e;H[e+156>>2]=c;q=H[c+80>>2];H[e+152>>2]=q;h=q;b=0;a:{m=H[c+68>>2];if(!m){break a}f=m;while(1){b:{if(I[h+18|0]!=6){p=f;break b}g=J[h+12>>1]&16;if(!(I[h+16|0]&32)){p=f;break b}if(g){p=f;break b}j=j+1|0;d=!!f;b=d+b|0;h=N(d,20)+h|0;g=(d|0)!=(f|0);p=f-d|0;f=p;if(g){continue}}break}d=1;if(!p){p=0;break a}c:while(1){d:{if(!d){H[64764]=H[40912];g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break d}g=h}d=j;if(I[g+18|0]!=14){break a}while(1){d=d+1|0;if(m>>>0<=d>>>0){break a}g=q+N(d,20)|0;e:{if(I[g+18|0]!=6){i=J[g+16>>1];break e}i=J[g+16>>1];if(!(i&32)){break e}if(!(J[g+12>>1]&16)){continue}}break}g=h;f=p;if(!(1<>1]&16;if(!(I[g+16|0]&32)){d=p;continue c}g=h;d=p;f=d;if(!i){continue}break}continue}}H[e+140>>2]=140220;H[e+128>>2]=124893;H[e+120>>2]=b;H[e+116>>2]=p;H[e+112>>2]=h;H[e+136>>2]=e+152;H[e+132>>2]=e+156;H[e+96>>2]=0;H[e+100>>2]=1;H[e+104>>2]=j;H[e+108>>2]=1;f:{if(p){l=j;k=h;i=p;while(1){b=k;while(1){l=l+1|0;t=i;g=!!i;i=i-g|0;f=N(g,20);k=f+b|0;g:{if((g|0)==(t|0)){g=t;break g}d=l;h:{i:{f=b+f|0;switch(I[f+18|0]-6|0){case 8:break h;case 0:break i;default:break g}}if(!(I[f+16|0]&32)){break g}b=k;if(!(J[f+12>>1]&16)){continue}break g}while(1){d=d+1|0;if(m>>>0<=d>>>0){break g}b=q+N(d,20)|0;j:{if(I[b+18|0]!=6){f=J[b+16>>1];break j}f=J[b+16>>1];if(!(f&32)){break j}if(!(J[b+12>>1]&16)){continue}}break}b=k;if(1<>1]&16)){continue}break k}while(1){d=d+1|0;if(m>>>0<=d>>>0){break k}h=q+N(d,20)|0;n:{if(I[h+18|0]!=6){f=J[h+16>>1];break n}f=J[h+16>>1];if(!(f&32)){break n}if(!(J[h+12>>1]&16)){continue}}break}h=b;if(1<>2];f=H[e+136>>2];H[e+88>>2]=f;H[e+92>>2]=q;m=H[e+132>>2];h=H[e+128>>2];H[e+80>>2]=h;H[e+84>>2]=m;n=H[e+124>>2];i=H[e+120>>2];H[e+72>>2]=i;H[e+76>>2]=n;k=H[e+116>>2];b=e- -64|0;d=H[e+112>>2];H[b>>2]=d;H[b+4>>2]=k;j=H[e+108>>2];l=e+56|0;g=H[e+104>>2];H[l>>2]=g;H[l+4>>2]=j;p=H[e+100>>2];b=H[e+96>>2];H[e+48>>2]=b;H[e+52>>2]=p;H[e+40>>2]=f;H[e+44>>2]=q;H[e+32>>2]=h;H[e+36>>2]=m;H[e+24>>2]=i;H[e+28>>2]=n;H[e+16>>2]=d;H[e+20>>2]=k;H[e+8>>2]=g;H[e+12>>2]=j;H[e>>2]=b;H[e+4>>2]=p;d=H[e+48>>2];o:{if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(!d){break o}H[e+48>>2]=d-N(H[e+52>>2],d);break o}if(!d){break o}H[e+48>>2]=d-N(H[e+52>>2],d);while(1){qc(l);d=d-1|0;if(!H[e+68>>2]){break o}if(d){continue}break}}u=e+8|0;d=H[e>>2];g=H[e+20>>2];p:{if(!g){g=0;H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(!d){break p}H[e>>2]=d-N(H[e+4>>2],d);break p}if(!d){break p}H[e>>2]=d-N(H[e+4>>2],d);while(1){qc(u);d=d-1|0;g=H[e+20>>2];if(!g){break p}if(d){continue}break}}j=H[e+96>>2];l=H[e+116>>2];if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(!v){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}w=e+104|0;p=0;o=1;d=(j|0)==(t|0);while(1){q:{r:{s:{if(!d){if(I[p+142160|0]!=2){break r}if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e+48>>2];i=H[e+68>>2];if(!i){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>=j>>>0){break s}H[e+48>>2]=d+N(H[e+52>>2],j-d|0);break r}if(d>>>0>>0){n=j-d|0;H[e+48>>2]=d+N(n,H[e+52>>2]);q=H[e+60>>2];m=H[e+88>>2];k=H[e+84>>2];h=H[e+56>>2];while(1){n=n-1|0;b=i;while(1){h=h+q|0;H[e+56>>2]=h;f=!!b;i=b-f|0;H[e+68>>2]=i;H[e+72>>2]=f+H[e+72>>2];d=H[e+64>>2]+N(f,20)|0;H[e+64>>2]=d;if((b|0)==(f|0)){break r}t:{u:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break t}b=i;if(!(J[d+12>>1]&16)){continue}break t;case 8:break u;default:break t}}b=H[H[k>>2]+68>>2];d=h;while(1){d=d+1|0;if(b>>>0<=d>>>0){break t}s=H[m>>2]+N(d,20)|0;v:{if(I[s+18|0]!=6){f=J[s+16>>1];break v}f=J[s+16>>1];if(!(f&32)){break v}if(!(J[s+12>>1]&16)){continue}}break}b=i;if(1<>>0<=j>>>0){break r}b=d-j|0;H[e+48>>2]=d-N(b,H[e+52>>2]);h=H[e+72>>2];s=H[e+60>>2];q=H[e+88>>2];m=H[e+84>>2];k=H[e+56>>2];while(1){b=b-1|0;while(1){k=k-s|0;H[e+56>>2]=k;d=!!h;h=h-d|0;H[e+72>>2]=h;i=d+i|0;H[e+68>>2]=i;d=H[e+64>>2]+N(d,-20)|0;H[e+64>>2]=d;if(!i){break r}w:{x:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break w}if(!(J[d+12>>1]&16)){continue}break w;case 8:break x;default:break w}}n=H[H[m>>2]+68>>2];d=k;while(1){d=d+1|0;if(n>>>0<=d>>>0){break w}r=H[q>>2]+N(d,20)|0;y:{if(I[r+18|0]!=6){f=J[r+16>>1];break y}f=J[r+16>>1];if(!(f&32)){break y}if(!(J[r+12>>1]&16)){continue}}break}if(1<>1]-1|0;break q}z:{p=H[c+68>>2];if(!p){break z}i=p-1|0;d=0;g=H[c+80>>2];b=I[g+15|0];while(1){A:{if((d|0)==(i|0)){d=p;break A}d=d+1|0;if((b|0)==I[(g+N(d,20)|0)+15|0]){continue}}break}if(!p){break z}q=H[c+80>>2];h=0;k=p;while(1){f=d;m=d>>>0>k>>>0?k:d;v=m-h|0;B:{if(v>>>0<2){break B}i=H[c+144>>2]|32;H[c+144>>2]=i;if(h>>>0>=m>>>0){break B}d=-1;b=h;t=m+(b^-1)|0;if(t>>>0>=3){j=v&-4;l=0;while(1){n=q+N(b,20)|0;g=H[n+8>>2];d=d>>>0>>0?d:g;g=H[n+28>>2];d=d>>>0>>0?d:g;g=H[n+48>>2];d=d>>>0>>0?d:g;g=H[n+68>>2];d=d>>>0>>0?d:g;b=b+4|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}}g=0;l=v&3;if(l){while(1){j=H[(q+N(b,20)|0)+8>>2];d=d>>>0>>0?d:j;b=b+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(v&1){b=q+N(h,20)|0;if(H[b+8>>2]!=(d|0)){H[c+144>>2]=i;H[b+4>>2]=H[b+4>>2]|3}h=h+1|0}if(!t){break B}while(1){b=q+N(h,20)|0;if(H[b+8>>2]!=(d|0)){i=i|32;H[c+144>>2]=i;H[b+4>>2]=H[b+4>>2]|3}b=q+N(h+1|0,20)|0;if(H[b+8>>2]!=(d|0)){i=i|32;H[c+144>>2]=i;H[b+4>>2]=H[b+4>>2]|3}h=h+2|0;if((m|0)!=(h|0)){continue}break}}b=f+1|0;b=b>>>0>>0?k:b;g=I[(q+N(f,20)|0)+15|0];d=f;while(1){C:{d=d+1|0;if(k>>>0<=d>>>0){d=b;break C}if((g|0)==I[(q+N(d,20)|0)+15|0]){continue}}break}if(f>>>0>=p>>>0){break z}k=H[c+68>>2];h=f;continue}}h=H[a+124>>2];l=H[h>>2];if(!(!l|!p)){g=p-1|0;f=0;k=H[c+80>>2];b=I[k+15|0];while(1){D:{if((f|0)==(g|0)){f=p;break D}f=f+1|0;if((b|0)==I[(k+N(f,20)|0)+15|0]){continue}}break}d=0;while(1){b=f;g=b-d|0;j=I[(k+N(d,20)|0)+18|0]==18?1:g>>>0<3?g:3;i=j+d|0;E:{if(i>>>0<=d>>>0){break E}f=0;if(j){while(1){g=k+N(d,20)|0;H[g+4>>2]=l|H[g+4>>2];d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(j-1>>>0<=2){break E}while(1){g=k+N(d,20)|0;H[g+4>>2]=l|H[g+4>>2];H[g+24>>2]=l|H[g+24>>2];H[g+44>>2]=l|H[g+44>>2];g=g- -64|0;H[g>>2]=l|H[g>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}g=b+1|0;g=g>>>0

>>0?p:g;i=g-1|0;d=I[(k+N(b,20)|0)+15|0];f=b;while(1){F:{if((f|0)==(i|0)){f=g;break F}f=f+1|0;if((d|0)==I[(k+N(f,20)|0)+15|0]){continue}}break}d=b;if(d>>>0

>>0){continue}break}}G:{if(H[h+4>>2]){break G}g=H[a+56>>2];f=g-1|0;b=0;if((g|0)<=0){break G}i=H[a+36>>2];j=H[a+60>>2];h=f;H:{while(1){I:{g=b+h>>>1|0;a=H[j+N(g,36)>>2];J:{if(a>>>0>=1769172845){h=g-1|0;break J}if((a|0)==1769172844){break I}b=g+1|0}k=0;if((b|0)<=(h|0)){continue}break H}break}k=H[(j+N(g,36)|0)+28>>2]}h=0;g=(i|0)==(k|0)?0:k;H[e+96>>2]=g;b=f;while(1){K:{d=b+h>>>1|0;a=H[j+N(d,36)>>2];L:{if(a>>>0<=1768843636){if((a|0)==1768843636){k=H[(j+N(d,36)|0)+28>>2];break K}h=d+1|0;break L}b=d-1|0}k=0;if((b|0)>=(h|0)){continue}}break}h=0;a=(i|0)==(k|0)?0:k;H[e+100>>2]=a;g=a|g;b=f;while(1){M:{d=b+h>>>1|0;a=H[j+N(d,36)>>2];N:{if(a>>>0<=1835361385){if((a|0)==1835361385){k=H[(j+N(d,36)|0)+28>>2];break M}h=d+1|0;break N}b=d-1|0}k=0;if((b|0)>=(h|0)){continue}}break}b=0;a=(i|0)==(k|0)?0:k;H[e+104>>2]=a;g=a|g;while(1){O:{d=b+f>>>1|0;a=H[j+N(d,36)>>2];P:{if(a>>>0<=1718185569){if((a|0)==1718185569){h=H[(j+N(d,36)|0)+28>>2];break O}b=d+1|0;break P}f=d-1|0}h=0;if((b|0)<=(f|0)){continue}}break}a=(h|0)==(i|0)?0:h;H[e+108>>2]=a;a=a|g;if(!a|!p){break G}l=a^-1;b=p-1|0;d=0;f=H[c+80>>2];k=I[f+15|0];a=k;while(1){Q:{if((b|0)==(d|0)){d=p;break Q}d=d+1|0;if((a|0)==I[(f+N(d,20)|0)+15|0]){continue}}break}g=0;h=0;i=4;while(1){a=g;g=d;b=k&15;R:{if(b>>>0>8){break R}if(!(1<>>0<=h>>>0){break S}d=a+(h^-1)|0;i=H[(e+96|((i|0)==3?8:4))>>2];k=0;c=a-h&3;if(c){while(1){b=f+N(h,20)|0;H[b+4>>2]=i|l&H[b+4>>2];h=h+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(d>>>0<3){break S}while(1){b=f+N(h,20)|0;H[b+4>>2]=i|l&H[b+4>>2];H[b+24>>2]=i|l&H[b+24>>2];H[b+44>>2]=i|l&H[b+44>>2];b=b- -64|0;H[b>>2]=i|l&H[b>>2];h=h+4|0;if((a|0)!=(h|0)){continue}break}}U:{if(a>>>0>=g>>>0){break U}i=H[(e+96|j<<2)>>2];k=0;d=a;c=g-d&3;if(c){while(1){b=f+N(d,20)|0;H[b+4>>2]=i|l&H[b+4>>2];d=d+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if((a^-1)+g>>>0<3){break U}while(1){b=f+N(d,20)|0;H[b+4>>2]=i|l&H[b+4>>2];H[b+24>>2]=i|l&H[b+24>>2];H[b+44>>2]=i|l&H[b+44>>2];b=b- -64|0;H[b>>2]=i|l&H[b>>2];d=d+4|0;if((g|0)!=(d|0)){continue}break}}i=j}b=g+1|0;b=b>>>0

>>0?p:b;c=b-1|0;k=I[(f+N(g,20)|0)+15|0];d=g;while(1){V:{if((c|0)==(d|0)){d=b;break V}d=d+1|0;if(I[(f+N(d,20)|0)+15|0]==(k&255)){continue}}break}h=a;if(g>>>0

>>0){continue}break}}Wa=e+160|0;return}if(d>>>0<=j>>>0){break r}H[e+48>>2]=d+N(H[e+52>>2],j-d|0)}f=p<<1;i=G[f+141680>>1]+140352|0;b=F[p+141808|0];h=I[f+140224|0];W:{X:{if(!l){H[64764]=H[40912];d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;k=I[259058];if(h>>>0>k>>>0){break W}if(I[f+140225|0]>=k>>>0){break X}break W}k=I[H[e+112>>2]+18|0];if(h>>>0>k>>>0|I[f+140225|0]>>0){break W}}b=k-h|0}b=F[b+i|0]}p=F[b+141872|0];b=F[b+141952|0];Y:{if(!b){break Y}Z:{_:{switch(b-3|0){case 4:r=H[e+100>>2]+j|0;q=H[e+108>>2];$:{if(l){j=H[e+104>>2];d=H[e+112>>2];m=H[e+132>>2];n=H[e+136>>2];while(1){j=j+q|0;h=l;i=!!h;l=h-i|0;f=N(i,20);b=f+d|0;aa:{if((h|0)==(i|0)){i=h;break aa}ba:{ca:{f=d+f|0;switch(I[f+18|0]-6|0){case 8:break ba;case 0:break ca;default:break aa}}if(!(I[f+16|0]&32)){break aa}d=b;if(!(J[f+12>>1]&16)){continue}break aa}k=H[H[m>>2]+68>>2];d=j;while(1){d=d+1|0;if(k>>>0<=d>>>0){break aa}s=H[n>>2]+N(d,20)|0;da:{if(I[s+18|0]!=6){f=J[s+16>>1];break da}f=J[s+16>>1];if(!(f&32)){break da}if(!(J[s+12>>1]&16)){continue}}break}d=b;if(1<>2];ea:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],r-d|0);break ea}if(d>>>0<=r>>>0){break ea}H[e>>2]=d+N(H[e+4>>2],r-d|0);break ea}if(d>>>0>>0){h=r-d|0;H[e>>2]=d+N(h,H[e+4>>2]);k=H[e+12>>2];l=H[e+40>>2];j=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+k|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break ea}fa:{ga:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break fa}b=g;if(!(J[d+12>>1]&16)){continue}break fa;case 8:break ga;default:break fa}}b=H[H[j>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break fa}n=H[l>>2]+N(d,20)|0;ha:{if(I[n+18|0]!=6){f=J[n+16>>1];break ha}f=J[n+16>>1];if(!(f&32)){break ha}if(!(J[n+12>>1]&16)){continue}}break}b=g;if(1<>>0<=r>>>0){break ea}b=d;d=d-r|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){qc(u);d=d-1|0;g=H[e+20>>2];if(!g){break ea}if(d){continue}break}}d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|2;while(1){i=H[e+8>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;g=H[e+20>>2];continue}};case 10:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];ia:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break ia}if(d>>>0<=j>>>0){break ia}H[e>>2]=d+N(H[e+4>>2],j-d|0);break ia}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break ia}ja:{ka:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break ja}b=g;if(!(J[d+12>>1]&16)){continue}break ja;case 8:break ka;default:break ja}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ja}m=H[k>>2]+N(d,20)|0;la:{if(I[m+18|0]!=6){f=J[m+16>>1];break la}f=J[m+16>>1];if(!(f&32)){break la}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break ia}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){ma:{qc(u);d=d-1|0;if(!H[e+20>>2]){break ma}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|8;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)!=16){break Y}break Z}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 9:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];na:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break na}if(d>>>0<=j>>>0){break na}H[e>>2]=d+N(H[e+4>>2],j-d|0);break na}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break na}oa:{pa:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break oa}b=g;if(!(J[d+12>>1]&16)){continue}break oa;case 8:break pa;default:break oa}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break oa}m=H[k>>2]+N(d,20)|0;qa:{if(I[m+18|0]!=6){f=J[m+16>>1];break qa}f=J[m+16>>1];if(!(f&32)){break qa}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break na}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){ra:{qc(u);d=d-1|0;if(!H[e+20>>2]){break ra}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|7;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 11:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];sa:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break sa}if(d>>>0<=j>>>0){break sa}H[e>>2]=d+N(H[e+4>>2],j-d|0);break sa}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break sa}ta:{ua:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break ta}b=g;if(!(J[d+12>>1]&16)){continue}break ta;case 8:break ua;default:break ta}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ta}m=H[k>>2]+N(d,20)|0;va:{if(I[m+18|0]!=6){f=J[m+16>>1];break va}f=J[m+16>>1];if(!(f&32)){break va}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break sa}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){wa:{qc(u);d=d-1|0;if(!H[e+20>>2]){break wa}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|6;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 2:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];xa:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break xa}if(d>>>0<=j>>>0){break xa}H[e>>2]=d+N(H[e+4>>2],j-d|0);break xa}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break xa}ya:{za:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break ya}b=g;if(!(J[d+12>>1]&16)){continue}break ya;case 8:break za;default:break ya}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ya}m=H[k>>2]+N(d,20)|0;Aa:{if(I[m+18|0]!=6){f=J[m+16>>1];break Aa}f=J[m+16>>1];if(!(f&32)){break Aa}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break xa}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){Ba:{qc(u);d=d-1|0;if(!H[e+20>>2]){break Ba}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|5;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 7:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];Ca:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ca}if(d>>>0<=j>>>0){break Ca}H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ca}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break Ca}Da:{Ea:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break Da}b=g;if(!(J[d+12>>1]&16)){continue}break Da;case 8:break Ea;default:break Da}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Da}m=H[k>>2]+N(d,20)|0;Fa:{if(I[m+18|0]!=6){f=J[m+16>>1];break Fa}f=J[m+16>>1];if(!(f&32)){break Fa}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ca}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){Ga:{qc(u);d=d-1|0;if(!H[e+20>>2]){break Ga}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|4;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 8:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];Ha:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ha}if(d>>>0<=j>>>0){break Ha}H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ha}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break Ha}Ia:{Ja:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break Ia}b=g;if(!(J[d+12>>1]&16)){continue}break Ia;case 8:break Ja;default:break Ia}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Ia}m=H[k>>2]+N(d,20)|0;Ka:{if(I[m+18|0]!=6){f=J[m+16>>1];break Ka}f=J[m+16>>1];if(!(f&32)){break Ka}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ha}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){La:{qc(u);d=d-1|0;if(!H[e+20>>2]){break La}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|3;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 3:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];Ma:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ma}if(d>>>0<=j>>>0){break Ma}H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ma}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break Ma}Na:{Oa:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break Na}b=g;if(!(J[d+12>>1]&16)){continue}break Na;case 8:break Oa;default:break Na}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Na}m=H[k>>2]+N(d,20)|0;Pa:{if(I[m+18|0]!=6){f=J[m+16>>1];break Pa}f=J[m+16>>1];if(!(f&32)){break Pa}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ma}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){Qa:{qc(u);d=d-1|0;if(!H[e+20>>2]){break Qa}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|2;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 6:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];Ra:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ra}if(d>>>0<=j>>>0){break Ra}H[e>>2]=d+N(H[e+4>>2],j-d|0);break Ra}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break Ra}Sa:{Ta:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break Sa}b=g;if(!(J[d+12>>1]&16)){continue}break Sa;case 8:break Ta;default:break Sa}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Sa}m=H[k>>2]+N(d,20)|0;Ua:{if(I[m+18|0]!=6){f=J[m+16>>1];break Ua}f=J[m+16>>1];if(!(f&32)){break Ua}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Ra}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){Va:{qc(u);d=d-1|0;if(!H[e+20>>2]){break Va}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|1;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 5:if(!l){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}d=H[e>>2];Wa:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],j-d|0);break Wa}if(d>>>0<=j>>>0){break Wa}H[e>>2]=d+N(H[e+4>>2],j-d|0);break Wa}if(d>>>0>>0){h=j-d|0;H[e>>2]=d+N(h,H[e+4>>2]);n=H[e+12>>2];k=H[e+40>>2];l=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+n|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break Wa}Xa:{Ya:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break Xa}b=g;if(!(J[d+12>>1]&16)){continue}break Xa;case 8:break Ya;default:break Xa}}b=H[H[l>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break Xa}m=H[k>>2]+N(d,20)|0;Za:{if(I[m+18|0]!=6){f=J[m+16>>1];break Za}f=J[m+16>>1];if(!(f&32)){break Za}if(!(J[m+12>>1]&16)){continue}}break}b=g;if(1<>>0<=j>>>0){break Wa}b=d;d=d-j|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){_a:{qc(u);d=d-1|0;if(!H[e+20>>2]){break _a}if(d){continue}}break}j=H[e+96>>2]}H[e+96>>2]=j-H[e+100>>2];qc(w);d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4;while(1){i=H[e+8>>2];g=H[e+20>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;continue}};case 0:r=H[e+100>>2]+j|0;q=H[e+108>>2];$a:{if(l){j=H[e+104>>2];d=H[e+112>>2];m=H[e+132>>2];n=H[e+136>>2];while(1){j=j+q|0;h=l;i=!!h;l=h-i|0;f=N(i,20);b=f+d|0;ab:{if((h|0)==(i|0)){i=h;break ab}bb:{cb:{f=d+f|0;switch(I[f+18|0]-6|0){case 8:break bb;case 0:break cb;default:break ab}}if(!(I[f+16|0]&32)){break ab}d=b;if(!(J[f+12>>1]&16)){continue}break ab}k=H[H[m>>2]+68>>2];d=j;while(1){d=d+1|0;if(k>>>0<=d>>>0){break ab}s=H[n>>2]+N(d,20)|0;db:{if(I[s+18|0]!=6){f=J[s+16>>1];break db}f=J[s+16>>1];if(!(f&32)){break db}if(!(J[s+12>>1]&16)){continue}}break}d=b;if(1<>2];eb:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],r-d|0);break eb}if(d>>>0<=r>>>0){break eb}H[e>>2]=d+N(H[e+4>>2],r-d|0);break eb}if(d>>>0>>0){h=r-d|0;H[e>>2]=d+N(h,H[e+4>>2]);k=H[e+12>>2];l=H[e+40>>2];j=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+k|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break eb}fb:{gb:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break fb}b=g;if(!(J[d+12>>1]&16)){continue}break fb;case 8:break gb;default:break fb}}b=H[H[j>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break fb}n=H[l>>2]+N(d,20)|0;hb:{if(I[n+18|0]!=6){f=J[n+16>>1];break hb}f=J[n+16>>1];if(!(f&32)){break hb}if(!(J[n+12>>1]&16)){continue}}break}b=g;if(1<>>0<=r>>>0){break eb}b=d;d=d-r|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){qc(u);d=d-1|0;g=H[e+20>>2];if(!g){break eb}if(d){continue}break}}d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|8;while(1){i=H[e+8>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;g=H[e+20>>2];continue}};case 1:break _;default:break Y}}r=H[e+100>>2]+j|0;q=H[e+108>>2];ib:{if(l){j=H[e+104>>2];d=H[e+112>>2];m=H[e+132>>2];n=H[e+136>>2];while(1){j=j+q|0;h=l;i=!!h;l=h-i|0;f=N(i,20);b=f+d|0;jb:{if((h|0)==(i|0)){i=h;break jb}kb:{lb:{f=d+f|0;switch(I[f+18|0]-6|0){case 8:break kb;case 0:break lb;default:break jb}}if(!(I[f+16|0]&32)){break jb}d=b;if(!(J[f+12>>1]&16)){continue}break jb}k=H[H[m>>2]+68>>2];d=j;while(1){d=d+1|0;if(k>>>0<=d>>>0){break jb}s=H[n>>2]+N(d,20)|0;mb:{if(I[s+18|0]!=6){f=J[s+16>>1];break mb}f=J[s+16>>1];if(!(f&32)){break mb}if(!(J[s+12>>1]&16)){continue}}break}d=b;if(1<>2];nb:{if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(d>>>0>>0){H[e>>2]=d+N(H[e+4>>2],r-d|0);break nb}if(d>>>0<=r>>>0){break nb}H[e>>2]=d+N(H[e+4>>2],r-d|0);break nb}if(d>>>0>>0){h=r-d|0;H[e>>2]=d+N(h,H[e+4>>2]);k=H[e+12>>2];l=H[e+40>>2];j=H[e+36>>2];i=H[e+8>>2];while(1){h=h-1|0;b=g;while(1){i=i+k|0;H[e+8>>2]=i;f=!!b;g=b-f|0;H[e+20>>2]=g;H[e+24>>2]=f+H[e+24>>2];d=H[e+16>>2]+N(f,20)|0;H[e+16>>2]=d;if((b|0)==(f|0)){break nb}ob:{pb:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break ob}b=g;if(!(J[d+12>>1]&16)){continue}break ob;case 8:break pb;default:break ob}}b=H[H[j>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break ob}n=H[l>>2]+N(d,20)|0;qb:{if(I[n+18|0]!=6){f=J[n+16>>1];break qb}f=J[n+16>>1];if(!(f&32)){break qb}if(!(J[n+12>>1]&16)){continue}}break}b=g;if(1<>>0<=r>>>0){break nb}b=d;d=d-r|0;H[e>>2]=b-N(d,H[e+4>>2]);while(1){qc(u);d=d-1|0;g=H[e+20>>2];if(!g){break nb}if(d){continue}break}}d=H[e+56>>2];if(!H[e+68>>2]){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=o<<4|7;while(1){i=H[e+8>>2];if(!g){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}if(d>>>0>=i>>>0){o=o+1|0;if((o|0)==16){break Z}break Y}else{F[(H[e+152>>2]+N(d,20)|0)+15|0]=h;d=d+1|0;g=H[e+20>>2];continue}}}o=1}rb:{if(I[p+142224|0]!=1){break rb}k=H[e+48>>2];i=H[e+68>>2];if(!i){H[64764]=H[40912];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;if(!k){break rb}H[e+48>>2]=k-N(H[e+52>>2],k);break rb}if(!k){break rb}H[e+48>>2]=k-N(H[e+52>>2],k);l=H[e+72>>2];m=H[e+60>>2];n=H[e+88>>2];j=H[e+84>>2];h=H[e+56>>2];while(1){k=k-1|0;while(1){h=h-m|0;H[e+56>>2]=h;b=!!l;l=l-b|0;H[e+72>>2]=l;i=b+i|0;H[e+68>>2]=i;b=H[e+64>>2]+N(b,-20)|0;H[e+64>>2]=b;if(!i){break rb}sb:{tb:{switch(I[b+18|0]-6|0){case 0:if(!(I[b+16|0]&32)){break sb}if(!(J[b+12>>1]&16)){continue}break sb;case 8:break tb;default:break sb}}b=H[H[j>>2]+68>>2];d=h;while(1){d=d+1|0;if(b>>>0<=d>>>0){break sb}q=H[n>>2]+N(d,20)|0;ub:{if(I[q+18|0]!=6){f=J[q+16>>1];break ub}f=J[q+16>>1];if(!(f&32)){break ub}if(!(J[q+12>>1]&16)){continue}}break}if(1<>2]+H[e+100>>2]|0;H[e+96>>2]=j;b=H[e+116>>2];i=H[e+104>>2];n=H[e+108>>2];k=H[e+136>>2];h=H[e+132>>2];vb:{while(1){i=i+n|0;H[e+104>>2]=i;f=!!b;l=b-f|0;H[e+116>>2]=l;H[e+120>>2]=f+H[e+120>>2];d=H[e+112>>2]+N(f,20)|0;H[e+112>>2]=d;if((b|0)!=(f|0)){wb:{switch(I[d+18|0]-6|0){case 0:if(!(I[d+16|0]&32)){break vb}b=l;if(!(J[d+12>>1]&16)){continue}break vb;case 8:break wb;default:break vb}}b=H[H[h>>2]+68>>2];d=i;while(1){d=d+1|0;if(b>>>0<=d>>>0){break vb}m=H[k>>2]+N(d,20)|0;xb:{if(I[m+18|0]!=6){f=J[m+16>>1];break xb}f=J[m+16>>1];if(!(f&32)){break xb}if(!(J[m+12>>1]&16)){continue}}break}b=l;if(1<>2];e=H[d+4>>2];D=H[b+540>>2];a:{if(!D){D=Ed(e,8760);if(!D){l=11;break a}H[b+540>>2]=D;H[b+516>>2]=H[D>>2];d=H[b+96>>2]}qa=b,ra=gd(d,10021,1),H[qa+544>>2]=ra;if(!H[b+548>>2]){qa=b,ra=gd(oc(e,10174),10252,0),H[qa+548>>2]=ra}if(!H[b+552>>2]){qa=b,ra=gd(oc(e,10174),10390,0),H[qa+552>>2]=ra}ja=H[a+28>>2];H[b+140>>2]=0;H[b+132>>2]=0;H[b+136>>2]=0;w=H[a+8>>2];d=$b(a,g);l=H[g>>2];if(l){break a}ka=b+132|0;oa=g+96|0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212){break o}l=2;if((d|0)==65536){break o}break a}if((d|0)<=1953658212){if((d|0)==131072){break o}l=2;if((d|0)==1330926671){break o}break a}if((d|0)==1953658213){break o}l=2;if((d|0)==1953784678){break o}break a}if((d|0)==2001684018){break m}if((d|0)==2001684038){break n}l=2;if((d|0)!=1954115633){break a}}H[ka>>2]=1953784678;if((d|0)!=1953784678){break l}l=Mb(a,94560,ka);H[g>>2]=l;if(l){break a}d=H[b+140>>2];if(d){break k}l=8;break a}l=ob(a,w);H[g>>2]=l;if(l){break a}v=H[a+28>>2];H[g+16>>2]=0;l=Mb(a,94576,g+40|0);H[g+16>>2]=l;if(l){break a}l=8;d=H[g+44>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=H[g+48>>2];if((d|0)!=H[a+4>>2]){break a}e=J[g+52>>1];if(!e|d>>>0<=N(e,20)+44>>>0){break a}e=e<<4|12;d=H[g+56>>2];if(e>>>0>=d>>>0|d&3){break a}d=H[g+68>>2];p:{if(!H[g+64>>2]){if(!(d|H[g+72>>2])){break p}break a}if(!d){break p}if(!H[g+72>>2]){break a}}if(!(H[g+80>>2]?H[g+76>>2]:1)){break a}d=0;q=zb(v,e,g+16|0);if(H[g+16>>2]){j=0;l=0;break d}j=zb(v,40,g+16|0);if(H[g+16>>2]){l=0;break d}i=J[g+52>>1];l=i;w=0;if(i){while(1){w=w+1|0;e=l>>>0>1;l=l>>>1|0;if(e){continue}break}}F[q|0]=I[g+47|0];F[q+1|0]=J[g+46>>1];F[q+2|0]=H[g+44>>2]>>>8;F[q+3|0]=H[g+44>>2];F[q+4|0]=I[g+53|0];f=I[g+52|0];e=i<<4;m=w-1|0;i=16<>>8;F[q+9|0]=m;F[q+8|0]=m>>>8;F[q+7|0]=i;F[q+6|0]=i>>>8;F[q+5|0]=f;l=jb(v,24,0,J[g+52>>1],0,g+16|0);if(H[g+16>>2]){break d}d=jb(v,4,0,J[g+52>>1],0,g+16|0);if(H[g+16>>2]){break d}e=Nb(a,N(J[g+52>>1],20));H[g+16>>2]=e;if(e){break d}e=0;r=0;if(J[g+52>>1]){while(1){f=N(r,24)+l|0;qa=f,ra=uc(a),H[qa>>2]=ra;qa=f,ra=uc(a),H[qa+4>>2]=ra;qa=f,ra=uc(a),H[qa+8>>2]=ra;qa=f,ra=uc(a),H[qa+12>>2]=ra;qa=f,ra=uc(a),H[qa+16>>2]=ra;i=e;e=H[f>>2];if(i>>>0>=e>>>0){Db(a);H[g+16>>2]=8;break d}H[(r<<2)+d>>2]=f;r=r+1|0;if(r>>>0>1]){continue}break}}Db(a);Ve(d,J[g+52>>1],4,66);u=J[g+52>>1];f=u<<4|12;w=N(u,20)+44|0;q:{if(!u){r=f;break q}n=0;i=H[g+56>>2];e=H[g+48>>2];r=f;while(1){r:{k=H[(n<<2)+d>>2];s:{if(H[k+4>>2]!=(w|0)){break s}h=H[k+8>>2];if(h>>>0>e>>>0|e-h>>>0>>0){break s}m=H[k+12>>2];if(m>>>0>i>>>0|i-m>>>0>>0){break s}if(h>>>0<=m>>>0){break r}}H[g+16>>2]=8;break d}H[k+20>>2]=r;r=(m+3&-4)+r|0;w=(h+3&-4)+w|0;n=n+1|0;if((u|0)!=(n|0)){continue}break}}t:{e=H[g+64>>2];if(!e){break t}if((e|0)==(w|0)){w=H[g+68>>2]+w|0;if(w>>>0<=K[g+48>>2]){break t}}H[g+16>>2]=8;break d}i=H[g+76>>2];if(!i){e=H[g+48>>2];break e}if((i|0)==(w+3&-4)){e=H[g+48>>2];w=i+H[g+80>>2]|0;if(e>>>0>=w>>>0){break e}}H[g+16>>2]=8;break d}l=ob(a,w);H[g>>2]=l;if(l){break a}p=H[a+28>>2];H[g+108>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+12>>2]=0;l=Mb(a,94640,g+40|0);H[g+108>>2]=l;if(l){break a}l=8;if(H[g+44>>2]==2001684018){break a}i=H[g+48>>2];if((i|0)!=H[a+4>>2]){break a}f=J[g+52>>1];if(!f|i>>>0<=N(f,20)+48>>>0){break a}r=H[g+68>>2];e=H[g+64>>2];u:{if(!e){d=H[g+72>>2]|r;r=0;if(!d){break u}break a}if(!r){break u}if(!H[g+72>>2]){break a}}if(i-e>>>0>>0|e>>>0>=i>>>0){break a}e=H[g+76>>2];d=H[g+80>>2];if(!e&(d|0)!=0|e>>>0>=i>>>0|d>>>0>i-e>>>0){break a}w=0;H[g+104>>2]=0;ea=jb(p,32,0,f,0,g+108|0);if(H[g+108>>2]){l=0;r=0;break f}r=jb(p,4,0,J[g+52>>1],0,g+108|0);if(H[g+108>>2]){l=0;break f}j=0;n=0;v:{if(!J[g+52>>1]){l=0;break v}while(1){m=(j<<5)+ea|0;d=jc(a,g+108|0);F[m|0]=d;if(H[g+108>>2]){l=0;break f}e=d&63;w:{if((e|0)==63){e=$b(a,g+108|0);H[m+4>>2]=e;if(H[g+108>>2]){break g}d=I[m|0];break w}e=H[(e<<2)+94704>>2];H[m+4>>2]=e}x:{if(!((e|0)!=1819239265&(e|0)!=1735162214)){e=d&255;q=e>>>0>63;f=(e>>>0<64)<<8;break x}e=d&255;q=e>>>0<64;f=(e>>>0>63)<<8}e=Fm(a,m+8|0);H[g+108>>2]=e;if(e){break g}e=H[m+8>>2];H[m+12>>2]=e;y:{z:{if(!q){e=Fm(a,m+12|0);H[g+108>>2]=e;if(e){break g}i=H[m+12>>2];if(H[m+4>>2]==1819239265){break z}e=i}if((n^-1)>>>0>>0){break h}break y}e=0;if(i){break h}}H[m+24>>2]=e;H[m+20>>2]=n;H[m+16>>2]=f|(d&192)>>>6;H[(j<<2)+r>>2]=m;n=e+n|0;j=j+1|0;l=J[g+52>>1];if(j>>>0>>0){continue}break}}d=H[((l<<2)+r|0)-4>>2];e=H[d+24>>2];d=e+H[d+20>>2]|0;H[g+84>>2]=d;if(d>>>0>>0){break h}H[g+92>>2]=0;G[g+96>>1]=1;A:{if(H[g+44>>2]==1953784678){d=$b(a,g+108|0);H[g+92>>2]=d;if(H[g+108>>2]){break g}if((d|0)!=65536&(d|0)!=131072){break h}d=Ie(a,oa);H[g+108>>2]=d;if(d){break g}d=J[g+96>>1];if(!d){break h}d=jb(p,12,0,d,0,g+108|0);H[g+104>>2]=d;if(H[g+108>>2]){l=0;break f}if(!J[g+96>>1]){break A}q=d+4|0;e=Ie(a,q);H[g+108>>2]=e;if(e){l=0;break f}while(1){i=N(w,12)+d|0;qa=i,ra=$b(a,g+108|0),H[qa>>2]=ra;if(H[g+108>>2]){break g}l=0;qa=i,ra=jb(p,2,0,J[q>>1],0,g+108|0),H[qa+8>>2]=ra;if(H[g+108>>2]){w=0;break f}j=0;B:{if(!J[q>>1]){e=0;break B}e=0;d=0;while(1){f=Ie(a,g+6|0);H[g+108>>2]=f;if(f){break g}m=J[g+6>>1];if(m>>>0>=J[g+52>>1]){H[g+108>>2]=8;break g}G[H[i+8>>2]+(d<<1)>>1]=m;f=H[H[(m<<2)+r>>2]+4>>2];e=(f|0)==1735162214?m:e;j=(f|0)==1819239265?m:j;d=d+1|0;if(d>>>0>1]){continue}break}}if((j-e|0)!=1|e>>>0>j>>>0?e|j:0){break h}w=w+1|0;if(w>>>0>=J[g+96>>1]){break A}d=H[g+104>>2];q=(d+N(w,12)|0)+4|0;e=Ie(a,q);H[g+108>>2]=e;if(!e){continue}break}w=0;break f}H[g+104>>2]=0}d=H[a+8>>2];H[g+88>>2]=d;f=(d+H[g+60>>2]|0)+3|0;l=f&-4;e=H[g+48>>2];if(l>>>0>e>>>0){break h}d=H[g+64>>2];if(d){if((d|0)!=(l|0)){break h}l=H[g+68>>2]+(f|3)&-4}d=H[g+76>>2];if(d){if((d|0)!=(l|0)){break h}l=H[g+80>>2]+(l|3)&-4}if((e+3&-4)!=(l|0)){break h}C:{ba=c>>31;l=ba+((c^ba)-ba&65535)|0;fa=J[g+96>>1];if((l|0)<(fa|0)){break C}l=0;if((c|0)<0){break C}H[g+108>>2]=6;break g}D:{if(!H[g+92>>2]){l=J[g+52>>1];break D}w=0;m=H[g+104>>2]+N(l,12)|0;n=jb(p,4,0,J[m+4>>1],0,g+108|0);if(H[g+108>>2]){l=0;break f}f=J[m+4>>1];E:{if(!f){break E}l=0;if((f|0)!=1){e=f&65534;j=0;while(1){H[n+(l<<2)>>2]=H[(J[H[m+8>>2]+(l<<1)>>1]<<2)+r>>2];d=l|1;H[n+(d<<2)>>2]=H[(J[H[m+8>>2]+(d<<1)>>1]<<2)+r>>2];l=l+2|0;j=j+2|0;if((e|0)!=(j|0)){continue}break}}if(!(f&1)){break E}H[n+(l<<2)>>2]=H[(J[H[m+8>>2]+(l<<1)>>1]<<2)+r>>2]}r=jb(p,4,J[g+52>>1],f,r,g+108|0);if(H[g+108>>2]){break g}i=J[m+4>>1];F:{if(!i){break F}j=0;l=0;if(i-1>>>0>=3){f=i&65532;e=0;while(1){q=l<<2;H[q+r>>2]=H[n+q>>2];d=q|4;H[d+r>>2]=H[d+n>>2];d=q|8;H[d+r>>2]=H[d+n>>2];d=q|12;H[d+r>>2]=H[d+n>>2];l=l+4|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}e=i&3;if(!e){break F}while(1){d=l<<2;H[d+r>>2]=H[d+n>>2];l=l+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(n){Ya[H[p+8>>2]](p,n)}H[g+44>>2]=H[m>>2];l=J[m+4>>1];G[g+52>>1]=l}e=(l&65535)<<4|12;H[g+8>>2]=e;f=H[g+56>>2];if(f>>>0>e>>>0){d=H[g+48>>2];d=d>>>0>>6>>>0?d<<6:f;e=d>>>0<67108864?d:67108864;H[g+8>>2]=e}q=zb(p,e,g+108|0);H[g+12>>2]=q;l=0;if(H[g+108>>2]){w=0;break f}w=zb(p,40,g+108|0);if(H[g+108>>2]){break f}F[q|0]=I[g+47|0];F[q+1|0]=J[g+46>>1];F[q+2|0]=H[g+44>>2]>>>8;F[q+3|0]=H[g+44>>2];i=J[g+52>>1];if(i){d=0;l=i;while(1){f=d;d=d+1|0;j=l>>>0>1;l=l>>>1|0;if(j){continue}break}F[q+4|0]=i>>>8;j=I[g+52|0];d=i<<4;i=16<>>8;F[q+9|0]=f;F[q+8|0]=f>>>8;F[q+7|0]=i;F[q+6|0]=i>>>8;F[q+5|0]=j;d=J[g+52>>1]}else{d=0}qa=g,ra=ki(q,12),H[qa+16>>2]=ra;Ve(r,d,4,67);d=H[g+84>>2];if(!d|d>>>0>e>>>0){break i}l=zb(p,d,g+108|0);if(H[g+108>>2]){break f}d=Nb(a,H[g+60>>2]);H[g+108>>2]=d;if(d){break f}H[g+108>>2]=7;Db(a);if(H[g+108>>2]){break f}la=H[g+84>>2];P=g+8|0;m=0;n=0;o=0;ca=0;da=0;h=Wa-48|0;Wa=h;H[h+16>>2]=0;e=H[g+12>>2];H[h+12>>2]=e;U=J[g+52>>1];q=U<<4|12;H[h+8>>2]=q;H[h>>2]=0;B=g+16|0;ga=H[B>>2];G:{H:{if(U){I:{while(1){E=H[(m<<2)+r>>2];if(H[E+4>>2]==1735162214){break I}m=m+1|0;if((U|0)!=(m|0)){continue}break}E=0}H[B+12>>2]=E;V=B+12|0;m=0;J:{while(1){d=H[(m<<2)+r>>2];if(H[d+4>>2]!=1819239265){m=m+1|0;if((U|0)!=(m|0)){continue}break J}break}H[B+16>>2]=d;m=8;if(!E|(H[d+16>>2]^H[E+16>>2])&256){break G}d=B+16|0;break H}H[B+16>>2]=0;m=8;if(E){break G}d=B+16|0;break H}H[B+12>>2]=0;H[B+16>>2]=0;V=B+12|0;d=B+16|0}ma=d;x=jb(p,1,0,16,0,h+16|0);K:{L:{if(H[h+16>>2]){break L}o=zb(p,40,h+16|0);if(H[h+16>>2]){break L}H[o+32>>2]=0;H[o+8>>2]=0;H[o+4>>2]=la;H[o>>2]=l;H[o+20>>2]=0;H[o+24>>2]=0;M:{N:{O:{if(!U){break O}pa=l+8|0;ha=12;while(1){i=H[(da<<2)+r>>2];d=H[i+28>>2];f=H[i+16>>2];aa=H[i+8>>2];X=H[i+4>>2];v=H[i+24>>2];i=H[i+20>>2];E=ob(o,i);H[h+16>>2]=E;if(i+v>>>0>la>>>0|E){break M}P:{Q:{if((X|0)==1751672161){d=dc(o,34);H[h+44>>2]=d;if(d){break N}ca=yb(o,h+44|0);if(H[h+44>>2]){break N}G[B+6>>1]=ca;if(!(f&256)){break Q}break N}G[B+6>>1]=ca;H[h+4>>2]=0;if(f&256){R:{S:{T:{U:{V:{W:{if((X|0)!=1819239265){if((X|0)==1752003704){break W}if((X|0)!=1735162214){break N}m=0;H[h+44>>2]=0;H[h+40>>2]=e;n=H[o+8>>2];H[h+36>>2]=q;t=jb(p,12,0,7,0,h+44|0);if(H[h+44>>2]){break S}d=dc(o,4);H[h+44>>2]=d;if(d){break S}Z=yb(o,h+44|0);if(H[h+44>>2]){break S}ia=yb(o,h+44|0);E=0;z=0;j=0;if(H[h+44>>2]){break R}G[B+4>>1]=Z;v=Z+1|0;if(H[H[B+16>>2]+8>>2]!=(N(v,ia?4:2)|0)|K[H[V>>2]+12>>2]<36){break T}e=$b(o,h+44|0);if(H[h+44>>2]){break R}if(e>>>0>H[H[V>>2]+12>>2]-36>>>0){break T}H[t+8>>2]=e;d=n+36|0;H[t+4>>2]=d;H[t>>2]=d;i=$b(o,h+44|0);if(H[h+44>>2]){break R}e=e+36|0;if(i>>>0>H[H[V>>2]+12>>2]-e>>>0){break T}H[t+20>>2]=i;d=e+n|0;H[t+16>>2]=d;H[t+12>>2]=d;f=$b(o,h+44|0);if(H[h+44>>2]){break R}e=e+i|0;if(f>>>0>H[H[V>>2]+12>>2]-e>>>0){break T}H[t+32>>2]=f;d=e+n|0;H[t+28>>2]=d;H[t+24>>2]=d;i=$b(o,h+44|0);if(H[h+44>>2]){break R}e=e+f|0;if(i>>>0>H[H[V>>2]+12>>2]-e>>>0){break T}H[t+44>>2]=i;d=e+n|0;H[t+40>>2]=d;H[t+36>>2]=d;f=$b(o,h+44|0);if(H[h+44>>2]){break R}e=e+i|0;if(f>>>0>H[H[V>>2]+12>>2]-e>>>0){break T}H[t+56>>2]=f;d=e+n|0;H[t+52>>2]=d;H[t+48>>2]=d;i=$b(o,h+44|0);if(H[h+44>>2]){break R}f=e+f|0;if(i>>>0>H[H[V>>2]+12>>2]-f>>>0){break T}H[t+68>>2]=i;d=f+n|0;H[t+64>>2]=d;H[t+60>>2]=d;e=$b(o,h+44|0);if(H[h+44>>2]){break R}d=f+i|0;if(e>>>0>H[H[V>>2]+12>>2]-d>>>0){break T}H[t+80>>2]=e;d=d+n|0;H[t+76>>2]=d;H[t+72>>2]=d;m=jb(p,4,0,v,0,h+44|0);if(H[h+44>>2]){break S}na=H[t+64>>2];H[t+64>>2]=na+(Z+31>>>3&16380);z=jb(p,1,0,5120,0,h+44|0);if(H[h+44>>2]){break R}qa=B,ra=jb(p,2,0,Z,0,h+44|0),H[qa+8>>2]=ra;if(H[h+44>>2]){break R}d=5120;_=0;j=q;X:{if(Z){while(1){H[h+32>>2]=0;G[h+30>>1]=0;e=ob(o,(_>>>3|0)+na|0);H[h+44>>2]=e;if(e){break U}f=jc(o,h+44|0);if(H[h+44>>2]){break U}e=ob(o,H[t+4>>2]);H[h+44>>2]=e;if(e){break U}W=yb(o,h+44|0);if(H[h+44>>2]){break U}Y=f&128>>>(_&7);H[t+4>>2]=H[t+4>>2]+2;Y:{Z:{if(W){if((W|0)==65535){F[h+22|0]=0;G[h+28>>1]=0;if(!Y){break U}f=0;j=Wa-16|0;Wa=j;n=H[t+52>>2];s=ob(o,n);H[j+12>>2]=s;_:{if(s){break _}e=32;while(1){if(e&32){e=yb(o,j+12|0);s=H[j+12>>2];if(s){break _}f=e>>>8&1|f;k=e&1?6:4;i=k+2|0;$:{if(e&8){break $}i=k+4|0;if(e&64){break $}i=k|e>>>4&8}s=dc(o,i);H[j+12>>2]=s;if(!s){continue}break _}break}H[h+24>>2]=H[o+8>>2]-n;F[h+22|0]=f;s=H[j+12>>2]}Wa=j+16|0;if(s){break U}if(I[h+22|0]){e=ob(o,H[t+40>>2]);H[h+44>>2]=e;if(e){break U}e=Ie(o,h+28|0);H[h+44>>2]=e;if(e){break U}H[t+40>>2]=H[o+8>>2];e=J[h+28>>1]}else{e=0}j=(H[h+24>>2]+(e&65535)|0)+12|0;aa:{if(j>>>0<=d>>>0){j=d;break aa}z=jb(p,1,d,j,z,h+44|0);if(H[h+44>>2]){break U}}d=H[h+32>>2]+z|0;F[d|0]=255;F[d+1|0]=255;H[h+32>>2]=H[h+32>>2]+2;d=ob(o,H[t+64>>2]);H[h+44>>2]=d;if(d){break U}qa=h,ra=yb(o,h+44|0),G[qa+30>>1]=ra;if(H[h+44>>2]){break U}d=ob(o,H[t+64>>2]);H[h+44>>2]=d;if(d){break U}d=ec(o,H[h+32>>2]+z|0,8);H[h+44>>2]=d;if(d){break U}H[t+64>>2]=H[t+64>>2]+8;H[h+32>>2]=H[h+32>>2]+8;d=ob(o,H[t+52>>2]);H[h+44>>2]=d;if(d){break U}e=H[h+24>>2];d=ec(o,H[h+32>>2]+z|0,e);H[h+44>>2]=d;if(d){break U}H[t+52>>2]=e+H[t+52>>2];d=e+H[h+32>>2]|0;H[h+32>>2]=d;if(I[h+22|0]){d=d+z|0;F[d|0]=I[h+29|0];F[d+1|0]=I[h+28|0];H[h+32>>2]=H[h+32>>2]+2;d=ob(o,H[t+76>>2]);H[h+44>>2]=d;if(d){break U}e=J[h+28>>1];d=ec(o,H[h+32>>2]+z|0,e);H[h+44>>2]=d;if(d){break U}H[t+76>>2]=e+H[t+76>>2];H[h+32>>2]=e+H[h+32>>2]}d=j;break Y}j=jb(p,2,0,W,0,h+44|0);if(H[h+44>>2]){break X}f=ob(o,H[t+16>>2]);H[h+44>>2]=f;i=0;e=0;if(f){break X}while(1){f=Ie(o,h+28|0);H[h+44>>2]=f;if(f){break X}f=J[h+28>>1];G[(i<<1)+j>>1]=f;C=e+f|0;if(C>>>0>>0){break X}e=C;i=i+1|0;if((W|0)!=(i|0)){continue}break}H[t+16>>2]=H[o+8>>2];if(K[t+32>>2]>>0){break X}k=H[t+44>>2];i=H[t+40>>2];n=i-H[t+36>>2]|0;if(k>>>0>>0){break X}u=H[o>>2];f=H[t+28>>2];H[h+24>>2]=0;y=jb(p,12,0,e,0,h+44|0);ba:{if(H[h+44>>2]){break ba}A=f+u|0;$=i+u|0;f=0;Q=0;L=0;M=0;i=0;R=8;u=k-n|0;ca:{if(u>>>0>>0){break ca}if(C){while(1){S=I[A+M|0];T=S&127;e=1;da:{if(T>>>0<84){break da}e=2;if(T>>>0<120){break da}e=T>>>0<124?3:4}i=e+f|0;if(u>>>0>>0|e>>>0>i>>>0){break ca}ea:{if(T>>>0<=9){s=0;e=I[f+$|0]|T<<7&1792;O=S&1?e:0-e|0;break ea}if(T>>>0<=19){O=0;e=I[f+$|0]|(T<<7)+768&1792;s=S&1?e:0-e|0;break ea}if(T>>>0<=83){n=I[f+$|0];f=T-20|0;e=n&15|f<<2&48;O=S&2?e+1|0:e^-1;e=f&48|n>>>4;s=S&1?e+1|0:e^-1;break ea}if(T>>>0<=119){k=f+$|0;n=T-84|0;f=((n&255)>>>0)/12|0;e=I[k|0]|f<<8;s=S&1?e+1|0:e^-1;e=I[k+1|0]|n-N(f,12)<<6&768;O=S&2?e+1|0:e^-1;break ea}if(T>>>0<=123){n=f+$|0;f=I[n+1|0];e=I[n|0]<<4|f>>>4;s=S&1?e:0-e|0;e=I[n+2|0]|f<<8&3840;O=S&2?e:0-e|0;break ea}f=f+$|0;e=I[f|0]<<8|I[f+1|0];s=S&1?e:0-e|0;e=I[f+3|0]|I[f+2|0]<<8;O=S&2?e:0-e|0}if((2147483647-L|0)<(s|0)&(L|0)>0|(L|0)<0&(-2147483648-L|0)>(s|0)|((2147483647-Q|0)<(O|0)&(Q|0)>0|(Q|0)<0&(-2147483648-Q|0)>(O|0))){break ca}e=y+N(M,12)|0;F[e+8|0]=((S^-1)&128)>>>7;Q=O+Q|0;H[e+4>>2]=Q;L=s+L|0;H[e>>2]=L;f=i;M=M+1|0;if((C|0)!=(M|0)){continue}break}}H[h+24>>2]=i;R=0}if(R){break ba}H[t+28>>2]=C+H[t+28>>2];e=H[t+40>>2]+H[h+24>>2]|0;H[t+40>>2]=e;e=ob(o,e);H[h+44>>2]=e;if(e){break ba}e=Ie(o,h+22|0);H[h+44>>2]=e;if(e){break ba}H[t+40>>2]=H[o+8>>2];if(C>>>0>134217727){break ba}n=(J[h+22>>1]+(N(C,5)+(W<<1)|0)|0)+12|0;fa:{if(n>>>0<=d>>>0){n=d;break fa}z=jb(p,1,d,n,z,h+44|0);if(H[h+44>>2]){break ba}}e=H[h+32>>2]+z|0;d=W<<8|W>>>8;F[e|0]=d;F[e+1|0]=d>>>8;H[h+32>>2]=H[h+32>>2]+2;ga:{if(Y){d=ob(o,H[t+64>>2]);H[h+44>>2]=d;if(d){break ba}qa=h,ra=yb(o,h+44|0),G[qa+30>>1]=ra;if(H[h+44>>2]){break ba}d=ob(o,H[t+64>>2]);H[h+44>>2]=d;if(d){break ba}d=ec(o,H[h+32>>2]+z|0,8);H[h+44>>2]=d;if(d){break ba}H[t+64>>2]=H[t+64>>2]+8;break ga}f=0;d=0;e=0;M=0;ha:{if(!C){i=0;break ha}s=1;e=H[y+4>>2];d=H[y>>2];if((C|0)==1){i=e;f=d;break ha}f=C-1|0;u=f&1;ia:{if((C|0)==2){f=d;i=e;break ia}k=f&-2;f=d;i=e;while(1){A=y+N(s,12)|0;Q=H[A+16>>2];Y=H[A+4>>2];i=(i|0)<(Y|0)?Y:i;i=(i|0)<(Q|0)?Q:i;R=H[A+12>>2];A=H[A>>2];f=(f|0)<(A|0)?A:f;f=(f|0)<(R|0)?R:f;e=(e|0)>(Y|0)?Y:e;e=(e|0)>(Q|0)?Q:e;d=(d|0)>(A|0)?A:d;d=(d|0)>(R|0)?R:d;s=s+2|0;M=M+2|0;if((k|0)!=(M|0)){continue}break}}if(!u){break ha}k=y+N(s,12)|0;u=H[k+4>>2];i=(i|0)<(u|0)?u:i;k=H[k>>2];f=(f|0)<(k|0)?k:f;e=(e|0)>(u|0)?u:e;d=(d|0)>(k|0)?k:d}F[z+9|0]=i;F[z+7|0]=f;F[z+5|0]=e;F[z+3|0]=d;F[z+8|0]=i>>>8;F[z+6|0]=f>>>8;F[z+4|0]=e>>>8;F[z+2|0]=d>>>8;G[h+30>>1]=d}H[h+32>>2]=10;f=z+10|0;e=-1;i=0;while(1){d=f;e=J[(i<<1)+j>>1]+e|0;if((e|0)>65535){break ba}f=e<<8|(e&65280)>>>8;F[d|0]=f;F[d+1|0]=f>>>8;H[h+32>>2]=H[h+32>>2]+2;f=d+2|0;i=i+1|0;if((W|0)!=(i|0)){continue}break}f=J[h+22>>1];e=f<<8|f>>>8;F[d+2|0]=e;F[d+3|0]=e>>>8;H[h+32>>2]=H[h+32>>2]+2;d=ob(o,H[t+76>>2]);H[h+44>>2]=d;if(d){break ba}d=ec(o,H[h+32>>2]+z|0,f);H[h+44>>2]=d;if(d){break ba}H[t+76>>2]=f+H[t+76>>2];H[h+32>>2]=f+H[h+32>>2];e=0;s=0;i=0;L=0;M=0;R=0;f=(f+(W<<1)|0)+12|0;ja:{ka:{la:{if(C){A=255;while(1){k=y+N(R,12)|0;u=H[k+4>>2];d=I[k+8|0]!=0;k=H[k>>2];ma:{if((k|0)==(e|0)){d=d|16;break ma}e=k-e|0;if(e+255>>>0<=510){L=L+1|0;d=((e|0)>0?18:2)|d;break ma}L=L+2|0}na:{if((s|0)==(u|0)){d=d|32;break na}e=u-s|0;if(e+255>>>0<=510){M=M+1|0;d=((e|0)>0?36:4)|d;break na}M=M+2|0}oa:{if(!((i&255)==255|(A&255)!=(d|0))){e=(f+z|0)-1|0;F[e|0]=I[e|0]|8;i=i+1|0;break oa}if(i&255){e=8;if(f>>>0>=n>>>0){break ja}F[f+z|0]=i;f=f+1|0}e=8;if(f>>>0>=n>>>0){break ja}F[f+z|0]=d;f=f+1|0;i=0}A=d;e=k;s=u;R=R+1|0;if((C|0)!=(R|0)){continue}break}if(i&255){d=8;if(f>>>0>=n>>>0){break ka}F[f+z|0]=i;e=f+1|0}else{e=f}d=8;f=L+M|0;if(f>>>0>>0){break ka}f=e+f|0;if(f>>>0>>0|f>>>0>n>>>0){break ka}f=e+L|0;if(!C){break la}i=0;d=0;A=0;while(1){u=d;s=y+N(A,12)|0;d=H[s+4>>2];k=i;i=H[s>>2];pa:{if((k|0)==(i|0)){break pa}k=i-k|0;if(k+255>>>0<=510){s=k;k=k>>31;F[e+z|0]=(s^k)-k;e=e+1|0;break pa}s=e+z|0;k=k<<8|(k&65280)>>>8;F[s|0]=k;F[s+1|0]=k>>>8;e=e+2|0}qa:{if((d|0)==(u|0)){break qa}k=d-u|0;if(k+255>>>0<=510){u=k;k=k>>31;F[f+z|0]=(u^k)-k;f=f+1|0;break qa}u=f+z|0;k=k<<8|(k&65280)>>>8;F[u|0]=k;F[u+1|0]=k>>>8;f=f+2|0}A=A+1|0;if((C|0)!=(A|0)){continue}break}break la}d=8;if(f>>>0>n>>>0){break ka}}H[h+32>>2]=f;d=0}e=d}if(!e){break Z}}E=y;break T}if(!Y){break Y}break U}if(y){Ya[H[p+8>>2]](p,y)}if(j){Ya[H[p+8>>2]](p,j)}d=n}H[(_<<2)+m>>2]=H[h+36>>2]-q;if(zm(h+40|0,P,h+36|0,z,H[h+32>>2],p)){break U}k=Wa-16|0;Wa=k;f=H[h+40>>2];j=H[h+36>>2];F[k+10|0]=0;G[k+8>>1]=0;i=8;ra:{if(j>>>0>4294967292){break ra}e=j+3&-4;sa:{if((j|0)==(e|0)){e=j;break sa}H[k+12>>2]=0;if(e>>>0>31457280){break ra}n=H[P>>2];if(n>>>0>>0){f=jb(p,1,n,e,f,k+12|0);if(H[k+12>>2]){break ra}H[P>>2]=e}mb(f+j|0,k+8|0,e-j|0);if(H[k+12>>2]){break ra}}H[h+40>>2]=f;H[h+36>>2]=e;i=0}Wa=k+16|0;if(i){break U}qa=h,ra=H[h+4>>2]+ki(z,H[h+32>>2])|0,H[qa+4>>2]=ra;if(W){G[H[B+8>>2]+(_<<1)>>1]=J[h+30>>1]}_=_+1|0;if((_|0)!=(Z|0)){continue}break}j=H[h+36>>2]}d=H[V>>2];e=j-H[d+28>>2]|0;H[d+8>>2]=e;H[H[ma>>2]+28>>2]=j;H[(Z<<2)+m>>2]=e;j=0;d=0;e=0;f=0;A=0;C=Wa-16|0;Wa=C;H[C+8>>2]=0;ta:{if(v>>>0<=1073741823){k=H[h+36>>2];O=H[h+40>>2];y=N(v,ia?4:2);e=jb(p,1,0,y,0,C+8|0);if(H[C+8>>2]){break ta}ua:{if(!v){break ua}va:{if(ia){d=e;if((v|0)!=1){i=v&-2;s=0;while(1){f=A<<2;n=H[f+m>>2];n=n<<24|n<<8&16711680|(n>>>8&65280|n>>>24);F[d|0]=n;F[d+1|0]=n>>>8;F[d+2|0]=n>>>16;F[d+3|0]=n>>>24;f=H[(f|4)+m>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);F[d+4|0]=f;F[d+5|0]=f>>>8;F[d+6|0]=f>>>16;F[d+7|0]=f>>>24;A=A+2|0;d=d+8|0;s=s+2|0;if((i|0)!=(s|0)){continue}break}}if(!(v&1)){break va}f=H[(A<<2)+m>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);F[d|0]=f;F[d+1|0]=f>>>8;F[d+2|0]=f>>>16;F[d+3|0]=f>>>24;break va}d=e;if(v-1>>>0>=3){n=v&-4;s=0;while(1){u=f<<2;i=H[u+m>>2];F[d+1|0]=i>>>1;F[d|0]=i>>>9;i=H[(u|4)+m>>2];F[d+3|0]=i>>>1;F[d+2|0]=i>>>9;i=H[(u|8)+m>>2];F[d+5|0]=i>>>1;F[d+4|0]=i>>>9;i=H[(u|12)+m>>2];F[d+7|0]=i>>>1;F[d+6|0]=i>>>9;f=f+4|0;d=d+8|0;s=s+4|0;if((n|0)!=(s|0)){continue}break}}n=v&3;if(!n){break va}while(1){i=H[(f<<2)+m>>2];F[d+1|0]=i>>>1;F[d|0]=i>>>9;f=f+1|0;d=d+2|0;A=A+1|0;if((n|0)!=(A|0)){continue}break}}d=0;i=y&-4;if(!i){f=0;break ua}f=0;while(1){f=(I[(d|3)+e|0]|(I[(d|1)+e|0]<<16|I[d+e|0]<<24|I[(d|2)+e|0]<<8))+f|0;d=d+4|0;if(i>>>0>d>>>0){continue}break}d=i}if((d|0)!=(y|0)){s=0;if(d>>>0>>0){n=y-d|0;A=0;while(1){i=d<<3&16;s=I[(d|1)+e|0]<<(i^16)|(I[d+e|0]<<(i^24)|s);d=d+2|0;A=A+2|0;if((n|0)!=(A|0)){continue}break}}f=f+s|0}H[h>>2]=f;H[C+12>>2]=0;wa:{f=k+y|0;if(f>>>0>31457280){break wa}d=H[P>>2];if(d>>>0>>0){O=jb(p,1,d,f,O,C+12|0);if(H[C+12>>2]){break wa}H[P>>2]=f}mb(k+O|0,e,y);if(H[C+12>>2]){break wa}H[h+40>>2]=O;H[h+36>>2]=f;break ta}if(H[C+8>>2]){break ta}}H[C+8>>2]=8}if(e){Ya[H[p+8>>2]](p,e)}Wa=C+16|0;if(!H[C+8>>2]){break V}}break T}H[h+4>>2]=H[h>>2];q=d;break P}m=ca;if(!n){j=0;k=Wa-16|0;Wa=k;d=8;xa:{if(!U){break xa}ya:{while(1){m=H[(j<<2)+r>>2];if(H[m+4>>2]==1835104368){break ya}j=j+1|0;if((U|0)!=(j|0)){continue}break}m=0}j=0;while(1){e=H[(j<<2)+r>>2];if(H[e+4>>2]!=1751474532){j=j+1|0;if((U|0)!=(j|0)){continue}break xa}break}if(!m|!H[B+16>>2]){break xa}d=ob(o,H[m+20>>2]);if(d){break xa}d=dc(o,8);H[k+12>>2]=d;if(d){break xa}i=yb(o,k+12|0);d=H[k+12>>2];if(d){break xa}G[B+4>>1]=i;d=ob(o,H[e+20>>2]);H[k+12>>2]=d;if(d){break xa}d=dc(o,50);H[k+12>>2]=d;if(d){break xa}e=yb(o,k+12|0);d=H[k+12>>2];if(d){break xa}qa=B,ra=jb(p,2,0,i,0,k+12|0),H[qa+8>>2]=ra;d=H[k+12>>2];if(d){break xa}d=0;if(!i){break xa}f=e?4:2;j=H[H[B+16>>2]+20>>2];m=0;if(!e){while(1){d=ob(o,j);H[k+12>>2]=d;if(d){break xa}e=yb(o,k+12|0);d=H[k+12>>2];if(d){break xa}d=ob(o,H[H[B+12>>2]+20>>2]+(e<<1)|0);H[k+12>>2]=d;if(d){break xa}d=dc(o,2);H[k+12>>2]=d;if(d){break xa}d=yb(o,k+12|0);G[H[B+8>>2]+(m<<1)>>1]=d;d=H[k+12>>2];if(d){break xa}j=f+j|0;d=0;m=m+1|0;if((i|0)!=(m|0)){continue}break xa}}while(1){d=ob(o,j);H[k+12>>2]=d;if(d){break xa}e=$b(o,k+12|0);d=H[k+12>>2];if(d){break xa}d=ob(o,e+H[H[B+12>>2]+20>>2]|0);H[k+12>>2]=d;if(d){break xa}d=dc(o,2);H[k+12>>2]=d;if(d){break xa}d=yb(o,k+12|0);G[H[B+8>>2]+(m<<1)>>1]=d;d=H[k+12>>2];if(d){break xa}j=f+j|0;d=0;m=m+1|0;if((i|0)!=(m|0)){continue}break}}Wa=k+16|0;if(d){break N}m=J[B+6>>1]}v=J[B+4>>1];d=m&65535;u=H[B+8>>2];j=0;s=0;A=0;y=Wa-16|0;Wa=y;H[y+12>>2]=0;H[y+8>>2]=H[h+12>>2];H[y+4>>2]=H[h+8>>2];e=jc(o,y+12|0);za:{Aa:{Ba:{if(H[y+12>>2]|e&252|(!(e&3)|!d)){break Ba}if(v>>>0<=(d-1&65535)>>>0){break Aa}A=jb(p,2,0,d,0,y+12|0);if(H[y+12>>2]){break Ba}s=jb(p,2,0,v,0,y+12|0);if(H[y+12>>2]){break Aa}m=e&2;f=e&1;i=0;while(1){e=yb(o,y+12|0);if(H[y+12>>2]){break Aa}G[(i<<1)+A>>1]=e;i=i+1|0;if((d|0)!=(i|0)){continue}break}Ca:{if(!f){while(1){e=yb(o,y+12|0);if(H[y+12>>2]){break Ba}G[(j<<1)+s>>1]=e;j=j+1|0;if((d|0)!=(j|0)){continue}break}break Ca}i=0;if(d-1>>>0>=3){f=d&65532;E=0;while(1){k=j<<1;G[k+s>>1]=J[k+u>>1];e=k|2;G[e+s>>1]=J[e+u>>1];e=k|4;G[e+s>>1]=J[e+u>>1];e=k|6;G[e+s>>1]=J[e+u>>1];j=j+4|0;E=E+4|0;if((f|0)!=(E|0)){continue}break}}f=d&3;if(!f){break Ca}while(1){e=j<<1;G[e+s>>1]=J[e+u>>1];j=j+1|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}Da:{if(d>>>0>=v>>>0){break Da}if(!m){j=d;while(1){e=yb(o,y+12|0);if(H[y+12>>2]){break Ba}G[(j<<1)+s>>1]=e;j=j+1|0;if((v|0)!=(j|0)){continue}break}break Da}m=v+(d^-1)|0;i=v-d&3;Ea:{if(!i){e=d;break Ea}j=0;e=d;while(1){f=e<<1;G[f+s>>1]=J[f+u>>1];e=e+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(m>>>0<3){break Da}while(1){i=e<<1;G[i+s>>1]=J[i+u>>1];f=i+2|0;G[f+s>>1]=J[f+u>>1];f=i+4|0;G[f+s>>1]=J[f+u>>1];f=i+6|0;G[f+s>>1]=J[f+u>>1];e=e+4|0;if((v|0)!=(e|0)){continue}break}}i=0;m=d+v<<1;j=jb(p,1,0,m,0,y+12|0);if(H[y+12>>2]){break Aa}if(v){e=j;while(1){if(d>>>0>i>>>0){f=(i<<1)+A|0;F[e|0]=I[f+1|0];F[e+1|0]=I[f|0];e=e+2|0}f=(i<<1)+s|0;F[e|0]=I[f+1|0];F[e+1|0]=I[f|0];e=e+2|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}}qa=h,ra=ki(j,m),H[qa+4>>2]=ra;if(zm(y+8|0,P,y+4|0,j,m,p)){break Aa}H[h+12>>2]=H[y+8>>2];H[h+8>>2]=H[y+4>>2];if(A){Ya[H[p+8>>2]](p,A)}if(s){Ya[H[p+8>>2]](p,s)}if(j){Ya[H[p+8>>2]](p,j)}d=H[y+12>>2];break za}j=0}if(A){Ya[H[p+8>>2]](p,A)}if(s){Ya[H[p+8>>2]](p,s)}if(j){Ya[H[p+8>>2]](p,j)}d=H[y+12>>2];d=d?d:8}Wa=y+16|0;if(d){break N}e=H[h+12>>2];break P}e=H[ma>>2];d=H[h+36>>2];H[e+8>>2]=d-H[e+28>>2];H[h+8>>2]=d;break R}j=0}if(H[h+44>>2]){break R}H[h+44>>2]=8;break R}E=0;z=0;j=0}e=H[h+40>>2];H[h+12>>2]=e;if(t){Ya[H[p+8>>2]](p,t)}d=p;if(m){Ya[H[d+8>>2]](d,m)}if(j){Ya[H[d+8>>2]](d,j)}if(z){Ya[H[d+8>>2]](d,z)}if(E){Ya[H[p+8>>2]](p,E)}n=1;if(!H[h+44>>2]){break P}break N}if((X|0)!=1751474532){break Q}if(v>>>0<12){break N}d=i+pa|0;F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0}u=i+l|0;m=0;z=0;j=v&-4;if(j){while(1){z=(I[u+(m|3)|0]|(I[u+(m|1)|0]<<16|I[m+u|0]<<24|I[u+(m|2)|0]<<8))+z|0;m=m+4|0;if(m>>>0>>0){continue}break}}if((j|0)!=(v|0)){m=0;Fa:{if(j>>>0>=v>>>0){break Fa}k=v&1;if((v|0)!=(j|1)){i=(v&3)-k|0;f=0;while(1){d=j<<3&16;m=I[u+(j|1)|0]<<(d^16)|(I[j+u|0]<<(d^24)|m);j=j+2|0;f=f+2|0;if((i|0)!=(f|0)){continue}break}}if(!k){break Fa}m=I[j+u|0]<<((j<<3^-1)&24)|m}z=m+z|0}H[h+4>>2]=z;H[h+44>>2]=0;f=q+v|0;if(f>>>0>31457280){break N}d=H[P>>2];if(d>>>0>>0){e=jb(p,1,d,f,e,h+44|0);if(H[h+44>>2]){break N}H[P>>2]=f}mb(e+q|0,u,v);H[h+12>>2]=e;H[h+8>>2]=f;if(H[h+44>>2]){break N}}v=H[h+4>>2];F[x+15|0]=aa;F[x+11|0]=q;F[x+7|0]=v;F[x+3|0]=X;F[x+14|0]=aa>>>8;F[x+13|0]=aa>>>16;F[x+12|0]=aa>>>24;F[x+10|0]=q>>>8;F[x+9|0]=q>>>16;F[x+8|0]=q>>>24;F[x+6|0]=v>>>8;F[x+5|0]=v>>>16;F[x+4|0]=v>>>24;F[x+2|0]=X>>>8;F[x+1|0]=X>>>16;F[x|0]=X>>>24;H[h+44>>2]=0;f=ha+16|0;Ga:{if(f>>>0>31457280){d=e;break Ga}d=H[P>>2];Ha:{if(d>>>0>=f>>>0){d=e;break Ha}d=jb(p,1,d,f,e,h+44|0);if(H[h+44>>2]){d=e;break Ga}H[P>>2]=f}i=I[x+4|0]|I[x+5|0]<<8|(I[x+6|0]<<16|I[x+7|0]<<24);j=d+ha|0;e=I[x|0]|I[x+1|0]<<8|(I[x+2|0]<<16|I[x+3|0]<<24);F[j|0]=e;F[j+1|0]=e>>>8;F[j+2|0]=e>>>16;F[j+3|0]=e>>>24;F[j+4|0]=i;F[j+5|0]=i>>>8;F[j+6|0]=i>>>16;F[j+7|0]=i>>>24;i=I[x+12|0]|I[x+13|0]<<8|(I[x+14|0]<<16|I[x+15|0]<<24);e=I[x+8|0]|I[x+9|0]<<8|(I[x+10|0]<<16|I[x+11|0]<<24);F[j+8|0]=e;F[j+9|0]=e>>>8;F[j+10|0]=e>>>16;F[j+11|0]=e>>>24;F[j+12|0]=i;F[j+13|0]=i>>>8;F[j+14|0]=i>>>16;F[j+15|0]=i>>>24;H[h+12>>2]=d;ha=f}u=I[x+12|0]|I[x+13|0]<<8|(I[x+14|0]<<16|I[x+15|0]<<24);k=I[x+8|0]|I[x+9|0]<<8|(I[x+10|0]<<16|I[x+11|0]<<24);j=I[x+4|0]|I[x+5|0]<<8|(I[x+6|0]<<16|I[x+7|0]<<24);i=I[x|0]|I[x+1|0]<<8|(I[x+2|0]<<16|I[x+3|0]<<24);f=H[h+8>>2];F[h+42|0]=0;G[h+40>>1]=0;if(f>>>0>4294967292){break N}m=f+3&-4;Ia:{if((f|0)==(m|0)){e=d;m=f;break Ia}H[h+44>>2]=0;if(m>>>0>31457280){break N}e=H[P>>2];Ja:{if(e>>>0>=m>>>0){e=d;break Ja}e=jb(p,1,e,m,d,h+44|0);if(H[h+44>>2]){break N}H[P>>2]=m}mb(e+f|0,h+40|0,m-f|0);if(H[h+44>>2]){break N}}H[h+12>>2]=e;H[h+8>>2]=m;if(q+aa>>>0>m>>>0){break N}ga=v+ga+((((j<<8&16711680|j<<24|(j>>>8&65280|j>>>24))+(i<<8&16711680|i<<24|(i>>>8&65280|i>>>24))|0)+(k<<8&16711680|k<<24|(k>>>8&65280|k>>>24))|0)+(u<<8&16711680|u<<24|(u>>>8&65280|u>>>24)))|0;q=m;da=da+1|0;if((da|0)!=(U|0)){continue}break}if(!U){break O}m=0;while(1){d=H[(m<<2)+r>>2];if(H[d+4>>2]!=1751474532){m=m+1|0;if((U|0)!=(m|0)){continue}break O}break}H[B+20>>2]=d;if(K[d+8>>2]<12){break N}f=H[d+28>>2]+e|0;d=-1313820742-ga|0;d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);F[f+8|0]=d;F[f+9|0]=d>>>8;F[f+10|0]=d>>>16;F[f+11|0]=d>>>24;H[g+100>>2]=H[h+8>>2];H[g+12>>2]=e;break K}H[B+20>>2]=0}E=H[h+16>>2]}if(E){break L}H[h+16>>2]=8}H[g+12>>2]=H[h+12>>2]}if(x){Ya[H[p+8>>2]](p,x)}Ka:{if(!o){break Ka}d=H[o+24>>2];if(!d){break Ka}Ya[d|0](o)}if(o){Ya[H[p+8>>2]](p,o)}m=H[h+16>>2]}Wa=h+48|0;H[g+108>>2]=m;if(m){break f}d=H[g+12>>2];j=H[g+100>>2];e=H[g+8>>2];if(j>>>0>>0){d=jb(p,1,e,j,d,g+108|0);H[g+12>>2]=d;if(H[g+108>>2]){break f}j=H[g+100>>2]}H[w+32>>2]=0;H[w+8>>2]=0;H[w+4>>2]=j;H[w>>2]=d;H[w+20>>2]=0;H[w+24>>2]=0;a=H[a+28>>2];H[w+24>>2]=68;H[w+28>>2]=a;kp(H[b+104>>2],H[b+8>>2]>>>10&1);H[b+104>>2]=w;H[b+8>>2]=H[b+8>>2]&-1025;c=ba;break f}H[b+136>>2]=65536;H[b+140>>2]=1;a=zb(ja,4,g);H[b+144>>2]=a;l=H[g>>2];if(l){break a}H[a>>2]=w;H[g+40>>2]=0;break j}l=10;if(d>>>0>H[a+4>>2]>>>5>>>0){break a}qa=b,ra=jb(ja,4,0,d,0,g),H[qa+144>>2]=ra;l=H[g>>2];if(l){break a}l=Nb(a,H[b+140>>2]<<2);H[g>>2]=l;if(l){break a}if(H[b+140>>2]>0){l=0;while(1){d=uc(a);H[H[b+144>>2]+(l<<2)>>2]=d;l=l+1|0;if((l|0)>2]){continue}break}}Db(a);l=H[g>>2];H[g+40>>2]=l;if(l){break a}}k=H[b+104>>2];d=H[b+144>>2];a=c>>31;i=(a^c)-a|0;a=(i&65535)+a|0;if((a|0)>=H[b+140>>2]){l=6;if((c|0)>=0){break a}a=0}l=ob(k,H[d+(a<<2)>>2]);H[g+40>>2]=l;if(l){break a}l=Ya[H[D+88>>2]](b,k)|0;H[g+40>>2]=l;if(l){break a}f=H[b+100>>2];La:{Ma:{if(Ya[H[b+516>>2]](b,1719034226,k,g+16|0)|K[g+16>>2]<20){break Ma}D=$b(k,g+40|0);if(H[g+40>>2]){break Ma}j=yb(k,g+40|0);if(H[g+40>>2]){break Ma}a=dc(k,2);H[g+40>>2]=a;if(a){break Ma}l=yb(k,g+40|0);if(H[g+40>>2]){break Ma}q=yb(k,g+40|0);if(H[g+40>>2]){break Ma}d=yb(k,g+40|0);if(H[g+40>>2]){break Ma}n=yb(k,g+40|0);if(!H[g+40>>2]){break La}}D=0;j=0;l=0;q=0;d=0;n=0}r=0;a=0;Na:{if((D|0)!=65536|(q|0)!=20|(!l|l>>>0>16382)){break Na}e=l<<2;Oa:{if((e+4|0)!=(n|0)){if((e+6|0)!=(n|0)){break Na}if(d>>>0<=32511){break Oa}break Na}if(d>>>0>32511){break Na}}if(K[g+16>>2]<(N(l,20)+j|0)+N(d,n)>>>0){break Na}H[b+740>>2]=H[b+740>>2]|1;a=d}Pa:{if(!(F[b+740|0]&1)){e=0;break Pa}h=l<<2;e=zb(f,h,g+40|0);if(H[g+40>>2]){break Pa}r=zb(f,h,g+40|0);if(H[g+40>>2]){break Pa}m=(H[k+8>>2]+j|0)-16|0;if(l){D=m+8|0;j=0;d=e;while(1){qa=g,ra=Og(k,D,d,4),H[qa+40>>2]=ra;d=d+4|0;D=q+D|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}}Qa:{if(!a){D=0;break Qa}l=(m+N(l,q)|0)+4|0;D=0;while(1){qa=g,ra=Og(k,l,r,h),H[qa+40>>2]=ra;if(!Bc(e,r,h)){break Qa}l=l+n|0;D=D+1|0;if((D|0)!=(a|0)){continue}break}D=a}a=((a|0)==(D|0))+a|0}if(e){Ya[H[f+8>>2]](f,e)}if(r){Ya[H[f+8>>2]](f,r)}d=i>>>16|0;Ra:{if(!(Ya[H[b+516>>2]](b,1735162214,k,0)|0)){break Ra}if(!(Ya[H[b+516>>2]](b,1128678962,k,0)|0)){break Ra}a=Ya[H[b+516>>2]](b,1128678944,k,0)|0?a:0}Sa:{if(d>>>0>(a&65535)>>>0){if((c|0)>=0){break Sa}a=0}H[b+12>>2]=a<<16;H[b+4>>2]=c;H[b>>2]=H[b+140>>2];if(fa){H[b>>2]=fa}l=H[g+40>>2];break a}l=6;break a}H[g+108>>2]=8;l=0;break f}H[g+108>>2]=8}w=0;l=0}if(ea){Ya[H[p+8>>2]](p,ea)}if(r){Ya[H[p+8>>2]](p,r)}if(l){Ya[H[p+8>>2]](p,l)}a=H[g+24>>2];if(a){Ya[H[p+8>>2]](p,a)}a=H[g+104>>2];if(a){l=0;if(J[g+96>>1]){while(1){d=H[a+8>>2];if(d){Ya[H[p+8>>2]](p,d)}H[a+8>>2]=0;a=a+12|0;l=l+1|0;if(l>>>0>1]){continue}break}a=H[g+104>>2]}if(a){Ya[H[p+8>>2]](p,a)}H[g+104>>2]=0}if(!H[g+108>>2]){H[g>>2]=0;break b}a=H[g+12>>2];if(a){Ya[H[p+8>>2]](p,a)}if(w){Ta:{if(!w){break Ta}a=H[w+24>>2];if(!a){break Ta}Ya[a|0](w)}if(w){Ya[H[p+8>>2]](p,w)}}l=H[g+108>>2];break c}if(!(H[g+56>>2]==(r|0)&(e|0)==(w|0))){H[g+16>>2]=8;break d}q=jb(v,1,f,r,q,g+16|0);if(H[g+16>>2]){break d}if(J[g+52>>1]){r=q+12|0;e=0;while(1){k=N(e,24)+l|0;F[r|0]=I[k+3|0];F[r+1|0]=J[k+2>>1];F[r+2|0]=H[k>>2]>>>8;F[r+3|0]=H[k>>2];F[r+4|0]=I[k+19|0];F[r+5|0]=J[k+18>>1];F[r+6|0]=H[k+16>>2]>>>8;F[r+7|0]=H[k+16>>2];F[r+8|0]=I[k+23|0];F[r+9|0]=J[k+22>>1];F[r+10|0]=H[k+20>>2]>>>8;F[r+11|0]=H[k+20>>2];F[r+12|0]=I[k+15|0];F[r+13|0]=J[k+14>>1];F[r+14|0]=H[k+12>>2]>>>8;F[r+15|0]=H[k+12>>2];f=ob(a,H[k+4>>2]);H[g+16>>2]=f;if(f){break d}f=Nb(a,H[k+8>>2]);H[g+16>>2]=f;if(f){break d}Ua:{i=H[k+8>>2];f=H[k+12>>2];if((i|0)==(f|0)){mb(H[k+20>>2]+q|0,H[a+32>>2],i);break Ua}H[g+108>>2]=f;n=g+108|0;m=H[a+32>>2];i=H[k+8>>2];h=Wa+-64|0;Wa=h;w=6;f=H[k+20>>2]+q|0;Va:{if(!n|(!f|!v)){break Va}H[h+20>>2]=f;H[h+12>>2]=i;H[h+8>>2]=m;f=H[n>>2];H[h+48>>2]=v;H[h+44>>2]=16;H[h+40>>2]=17;H[h+24>>2]=f;if(Uq(h+8|0,47)){break Va}f=Tq(h+8|0,4);Wa:{if((f|0)!=1){vh(h+8|0);if(f){break Wa}w=10;break Va}H[n>>2]=H[h+28>>2];f=vh(h+8|0)}w=0;f=f+5|0;if(f>>>0>2){break Va}w=H[(f<<2)+29288>>2]}Wa=h- -64|0;H[g+16>>2]=w;if(!w){if(H[g+108>>2]==H[k+12>>2]){break Ua}H[g+16>>2]=8}Db(a);break d}Db(a);m=H[k+12>>2];i=H[k+20>>2];f=m+i|0;if(f&3){kb(f+q|0,0,((m^-1)-i&3)+1|0)}r=r+16|0;e=e+1|0;if(e>>>0>1]){continue}break}}e=H[g+56>>2];H[j+32>>2]=0;H[j+8>>2]=0;H[j+4>>2]=e;H[j>>2]=q;H[j+20>>2]=0;H[j+24>>2]=0;a=H[a+28>>2];H[j+24>>2]=69;H[j+28>>2]=a;kp(H[b+104>>2],H[b+8>>2]>>>10&1);H[b+104>>2]=j;H[b+8>>2]=H[b+8>>2]&-1025}if(l){Ya[H[v+8>>2]](v,l)}if(d){Ya[H[v+8>>2]](v,d)}if(!H[g+16>>2]){H[g>>2]=0;break b}if(q){Ya[H[v+8>>2]](v,q)}Xa:{if(!j){break Xa}a=H[j+24>>2];if(!a){break Xa}Ya[a|0](j)}if(j){Ya[H[v+8>>2]](v,j)}l=H[g+16>>2]}H[g>>2]=l;if(l){break a}}a=H[b+104>>2];w=H[a+8>>2];d=$b(a,g);l=H[g>>2];if(!l){continue}break}}Wa=g+112|0;return l|0}function YJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,R=0,S=0,T=0;d=H[a+8>>2];H[b>>2]=H[a+4>>2];H[b+4>>2]=d;H[b+16>>2]=H[a+20>>2];d=H[a+16>>2];H[b+8>>2]=H[a+12>>2];H[b+12>>2]=d;H[b+20>>2]=H[a+152>>2];u=c;c=0;q=Wa-160|0;Wa=q;r=b+24|0;H[r+12>>2]=-2147483648;H[q>>2]=0;H[q+4>>2]=0;j=a+24|0;H[r>>2]=H[j+24>>2];F[r+8|0]=I[j+32|0];Ds(H[j>>2],1196643650,H[j+36>>2],H[j+44>>2],q+20|0,q+12|0);H[r+4>>2]=H[j+28>>2];F[r+9|0]=I[j+33|0];Ds(H[j>>2],1196445523,H[j+40>>2],H[j+48>>2],q+24|0,q+16|0);d=H[j- -64>>2];a:{if(!d){break a}Rj(H[j+68>>2],d,28,744);g=H[j+64>>2];if(g>>>0>=2){p=1;while(1){i=g>>>0>p>>>0;b:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break b}d=H[j+68>>2]+N(p,28)|0}f=H[d>>2];h=c>>>0>>0;c:{if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break c}d=H[j+68>>2]+N(c,28)|0}d:{if((f|0)!=H[d>>2]){e:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break e}d=H[j+68>>2]+N(p,28)|0}c=c+1|0;f:{if(g>>>0<=c>>>0){H[64766]=H[40914];e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break f}e=H[j+68>>2]+N(c,28)|0}f=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=f;H[e+24>>2]=H[d+24>>2];f=H[d+20>>2];H[e+16>>2]=H[d+16>>2];H[e+20>>2]=f;f=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=f;break d}g:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break g}d=H[j+68>>2]+N(p,28)|0}h:{if(F[d+12|0]&1){i:{if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break i}d=H[j+68>>2]+N(c,28)|0}H[d+12>>2]=H[d+12>>2]|1;j:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break j}d=H[j+68>>2]+N(p,28)|0}e=H[d+8>>2];k:{if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break k}d=H[j+68>>2]+N(c,28)|0}H[d+8>>2]=e;l:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break l}d=H[j+68>>2]+N(p,28)|0}e=H[d+16>>2];if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;H[64764]=e;break h}H[(H[j+68>>2]+N(c,28)|0)+16>>2]=e;break h}m:{n:{o:{p:{q:{if(c>>>0>>0){d=N(c,28);if(!(F[(d+H[j+68>>2]|0)+12|0]&1)){break p}g=d+H[j+68>>2]|0;break q}d=H[40911];H[64762]=H[40910];H[64763]=d;H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;if(!(F[259052]&1)){break o}}H[g+12>>2]=H[g+12>>2]^1}if(h){break n}}H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break m}d=H[j+68>>2]+N(c,28)|0}r:{if(!i){H[64766]=H[40914];e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;f=259040;break r}f=H[j+68>>2]+N(p,28)|0}e=H[d+8>>2];d=H[f+8>>2];e=d>>>0>>0?e:d;s:{if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break s}d=H[j+68>>2]+N(c,28)|0}H[d+8>>2]=e}t:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break t}d=H[j+68>>2]+N(p,28)|0}u:{if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break u}g=H[j+68>>2]+N(c,28)|0;H[g+12>>2]=H[g+12>>2]|H[d+12>>2]&2}v:{if(!i){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break v}d=H[j+68>>2]+N(p,28)|0}e=H[g+20>>2];d=H[d+20>>2];e=d>>>0>e>>>0?e:d;w:{if(!h){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break w}d=H[j+68>>2]+N(c,28)|0}H[d+20>>2]=e;e=H[j+64>>2];f=e>>>0>c>>>0;x:{if(!f){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break x}d=H[j+68>>2]+N(c,28)|0}y:{if(e>>>0<=p>>>0){H[64766]=H[40914];e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;h=259040;break y}h=H[j+68>>2]+N(p,28)|0}e=H[d+24>>2];d=H[h+24>>2];e=d>>>0>e>>>0?e:d;z:{if(!f){H[64766]=H[40914];d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break z}d=H[j+68>>2]+N(c,28)|0}H[d+24>>2]=e}g=H[j+64>>2];p=p+1|0;if(g>>>0>p>>>0){continue}break}}c=c+1|0;c=(c|0)>0?c:0;if(c>>>0>>0){H[j+64>>2]=c;g=c}if(!g){break a}o=q+36|0;f=3;v=H[q+4>>2];k=H[q>>2];p=0;while(1){A:{if(g>>>0<=p>>>0){H[64766]=H[40914];c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;h=259040;break A}h=H[j+68>>2]+N(p,28)|0}d=H[h+8>>2];B:{C:{if(F[h+12|0]&1){c=0;if((d|0)==1){break C}}if(!d){break B}c=32-Q(d)|0;c=c>>>0<8?c:8}e=c+f|0;if(e>>>0>30){break B}c=H[h>>2];k=(c|0)==H[q+12>>2]?H[h+20>>2]:k;d=Cs(H[j>>2],1196643650,H[j+36>>2],H[j+44>>2],c,q+32|0);c=H[h>>2];v=(c|0)==H[q+16>>2]?H[h+24>>2]:v;n=0;D:{E:{if(Cs(H[j>>2],1196445523,H[j+40>>2],H[j+48>>2],c,o)|d){break E}c=H[h+12>>2];if(c&16){if(Es(H[j>>2],1196643650,H[h>>2],q+32|0)|Es(H[j>>2],1196445523,H[h>>2],o)){break E}c=H[h+12>>2]}n=1;if(!(c&2)){break D}}F:{G:{H:{d=H[r+28>>2];if((d|0)>=0){c=d;w=H[r+32>>2];i=w+1|0;i=(i|0)>0?i:0;if(c>>>0>=i>>>0){break G}while(1){c=((c>>>1|0)+c|0)+8|0;if(i>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>119304646)){d=Eb(H[r+36>>2],N(c,36));if(d){break H}}H[r+28>>2]=-1}H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break F}H[r+28>>2]=c;H[r+36>>2]=d;w=H[r+32>>2]}if(i>>>0>w>>>0){kb(H[r+36>>2]+N(w,36)|0,0,N(i-w|0,36))}H[r+32>>2]=i;c=(H[r+36>>2]+N(i,36)|0)-36|0}H[c>>2]=H[h>>2];H[c+4>>2]=H[q+32>>2];H[c+8>>2]=H[q+36>>2];H[c+12>>2]=H[h+20>>2];H[c+16>>2]=H[h+24>>2];d=(I[h+12|0]>>>1&2|I[c+32|0]&-3)^2;F[c+32|0]=d;d=(I[h+12|0]>>>1&4|d&-5)^4;F[c+32|0]=d;w=d&-9|I[h+12|0]>>>2&8;F[c+32|0]=w;I:{if(!(!(F[h+12|0]&1)|H[h+8>>2]!=1)){m=-2147483648;e=f;f=31;break I}m=(1<>2]=H[r+12>>2]|m&H[h+16>>2]<>2]=m;H[c+20>>2]=f;F[c+32|0]=w&254|n;H[c+28>>2]=1<>2]}p=p+1|0;if(p>>>0>>0){continue}break}H[q+4>>2]=v;H[q>>2]=k;if(!g){break a}H[j+64>>2]=0}J:{K:{L:{d=H[j+72>>2];if((d|0)>=0){c=H[j+76>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break K}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=Eb(H[j+80>>2],c<<3);if(d){break L}}H[j+72>>2]=-1}c=H[40909];H[64760]=H[40908];H[64761]=c;d=259040;break J}H[j+72>>2]=c;H[j+80>>2]=d;c=H[j+76>>2]}if(c>>>0>>0){kb(H[j+80>>2]+(c<<3)|0,0,e-c<<3)}H[j+76>>2]=e;d=(H[j+80>>2]+(e<<3)|0)-8|0}c=H[j+52>>2];H[d+4>>2]=0;H[d>>2]=c;H[j+52>>2]=H[j+52>>2]+1;M:{N:{O:{d=H[j+84>>2];if((d|0)>=0){c=H[j+88>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break N}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=Eb(H[j+92>>2],c<<3);if(d){break O}}H[j+84>>2]=-1}c=H[40909];o=c;h=H[40908];H[64760]=h;H[64761]=c;d=259040;break M}H[j+84>>2]=c;H[j+92>>2]=d;c=H[j+88>>2]}if(c>>>0>>0){kb(H[j+92>>2]+(c<<3)|0,0,e-c<<3)}H[j+88>>2]=e;h=H[40908];o=H[40909];d=(H[j+92>>2]+(e<<3)|0)-8|0}c=H[j+56>>2];H[d+4>>2]=0;H[d>>2]=c;H[j+56>>2]=H[j+56>>2]+1;i=o;d=(i&65535)<<16|h>>>16;while(1){D=M<<2;R=D+j|0;if(H[R+52>>2]){S=D+124976|0;T=u+D|0;c=N(M,12);l=c+r|0;P=l- -64|0;O=c+j|0;s=q+D|0;A=(q+20|0)+D|0;w=0;e=0;L=0;while(1){y=H[A>>2];P:{if((y|0)==65535|H[s>>2]!=(w|0)){break P}B=H[T>>2];v=0;C=H[S>>2];z=As(H[j>>2],C);while(1){H[q+28>>2]=32;Bs(H[j>>2],C,y,B,v,q+28|0,q+32|0);m=0;c=H[q+28>>2];if(!c){break P}while(1){n=(q+32|0)+(m<<2)|0;if(z>>>0>K[n>>2]){Q:{R:{S:{c=H[l+40>>2];if((c|0)>=0){g=c;f=H[l+44>>2];k=f+1|0;k=(k|0)>0?k:0;if(c>>>0>=k>>>0){break R}while(1){g=((g>>>1|0)+g|0)+8|0;if(k>>>0>=g>>>0){continue}break}if(!(c>>>0>g>>>0|g>>>0>536870910)){c=Eb(H[l+48>>2],g<<3);if(c){break S}}H[l+40>>2]=-1}H[64760]=h;H[64761]=o;c=259040;f=d;break Q}H[l+48>>2]=c;H[l+40>>2]=g;f=H[l+44>>2]}if(f>>>0>>0){kb(H[l+48>>2]+(f<<3)|0,0,k-f<<3)}H[l+44>>2]=k;f=H[l+48>>2]+(k<<3)|0;c=f-8|0;f=I[f-6|0]}H[c+4>>2]=-2147483648;g=H[n>>2];F[c+2|0]=f&248|3;G[c>>1]=g;c=H[q+28>>2]}m=m+1|0;if(m>>>0>>0){continue}break}v=c+v|0;if((c|0)==32){continue}break}}p=0;m=H[r+32>>2];if(m){while(1){T:{if(m>>>0<=p>>>0){H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break T}c=H[r+36>>2]+N(p,36)|0}U:{if(H[(c+D|0)+12>>2]!=(w|0)){break U}m=H[r+32>>2];V:{if(p>>>0>=m>>>0){H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;m=H[r+32>>2];c=259040;break V}c=H[r+36>>2]+N(p,36)|0}v=H[(c+D|0)+4>>2];y=H[T>>2];W:{if(m>>>0<=p>>>0){H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;m=H[r+32>>2];c=259040;break W}c=H[r+36>>2]+N(p,36)|0}B=H[c+24>>2];X:{if(m>>>0<=p>>>0){H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;m=H[r+32>>2];c=259040;break X}c=H[r+36>>2]+N(p,36)|0}g=I[c+32|0];Y:{if(m>>>0<=p>>>0){H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;m=H[r+32>>2];c=259040;break Y}c=H[r+36>>2]+N(p,36)|0}f=I[c+32|0];Z:{if(m>>>0<=p>>>0){H[64768]=H[40916];c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break Z}c=H[r+36>>2]+N(p,36)|0}C=I[c+32|0]>>>1&4|(f>>>1&2|g>>>1&1);x=0;z=H[S>>2];n=As(H[j>>2],z);while(1){H[q+28>>2]=32;Bs(H[j>>2],z,v,y,x,q+28|0,q+32|0);m=0;c=H[q+28>>2];if(!c){break U}while(1){k=(q+32|0)+(m<<2)|0;if(n>>>0>K[k>>2]){_:{$:{aa:{c=H[l+40>>2];if((c|0)>=0){f=H[l+44>>2];g=f+1|0;E=(g|0)>0?g:0;g=c;if(E>>>0<=c>>>0){break $}while(1){g=((g>>>1|0)+g|0)+8|0;if(E>>>0>=g>>>0){continue}break}if(!(c>>>0>g>>>0|g>>>0>536870910)){c=Eb(H[l+48>>2],g<<3);if(c){break aa}}H[l+40>>2]=-1}H[64760]=h;H[64761]=o;c=259040;f=d;break _}H[l+48>>2]=c;H[l+40>>2]=g;f=H[l+44>>2]}if(f>>>0>>0){kb(H[l+48>>2]+(f<<3)|0,0,E-f<<3)}H[l+44>>2]=E;f=H[l+48>>2]+(E<<3)|0;c=f-8|0;f=I[f-6|0]}H[c+4>>2]=B;g=H[k>>2];F[c+2|0]=C|f&248;G[c>>1]=g;c=H[q+28>>2]}m=m+1|0;if(m>>>0>>0){continue}break}x=c+x|0;if((c|0)==32){continue}break}}m=H[r+32>>2];p=p+1|0;if(m>>>0>p>>>0){continue}break}}c=H[l+44>>2];ba:{if(c>>>0<=e>>>0){e=c;break ba}Rj(H[l+48>>2]+(e<<3)|0,c-e|0,8,745);c=H[l+44>>2];m=e+1|0;if(c>>>0>m>>>0){while(1){ca:{if(c>>>0<=m>>>0){H[64760]=h;H[64761]=o;c=H[l+44>>2];f=h;break ca}f=J[H[l+48>>2]+(m<<3)>>1]}da:{if(c>>>0<=e>>>0){H[64760]=h;H[64761]=o;g=h;break da}g=J[H[l+48>>2]+(e<<3)>>1]}c=H[l+44>>2];ea:{if((f&65535)!=(g&65535)){fa:{if(c>>>0<=m>>>0){H[64760]=h;H[64761]=o;c=H[l+44>>2];f=259040;break fa}f=H[l+48>>2]+(m<<3)|0}e=e+1|0;ga:{if(e>>>0>=c>>>0){H[64760]=h;H[64761]=o;g=259040;break ga}g=H[l+48>>2]+(e<<3)|0}c=H[f+4>>2];H[g>>2]=H[f>>2];H[g+4>>2]=c;break ea}ha:{if(c>>>0<=m>>>0){H[64760]=h;H[64761]=o;c=H[l+44>>2];f=i;break ha}f=H[(H[l+48>>2]+(m<<3)|0)+4>>2]}ia:{if(c>>>0<=e>>>0){H[64760]=h;H[64761]=o;c=H[l+44>>2];g=259040;n=i;break ia}g=H[l+48>>2]+(e<<3)|0;n=H[g+4>>2]}k=n;H[g+4>>2]=f|k;ja:{if(c>>>0<=m>>>0){H[64760]=h;H[64761]=o;c=H[l+44>>2];f=d;break ja}f=I[(H[l+48>>2]+(m<<3)|0)+2|0]}ka:{if(c>>>0<=e>>>0){H[64760]=h;H[64761]=o;c=259040;g=d;break ka}c=H[l+48>>2]+(e<<3)|0;g=I[c+2|0]}F[c+2|0]=g&(f|254);c=H[l+44>>2];la:{if(m>>>0>=c>>>0){H[64760]=h;H[64761]=o;c=H[l+44>>2];f=d;break la}f=I[(H[l+48>>2]+(m<<3)|0)+2|0]}ma:{if(c>>>0<=e>>>0){H[64760]=h;H[64761]=o;c=259040;g=d;break ma}c=H[l+48>>2]+(e<<3)|0;g=I[c+2|0]}F[c+2|0]=g&(f|253)}c=H[l+44>>2];m=m+1|0;if(c>>>0>m>>>0){continue}break}m=e+1|0}e=c;c=(m|0)>0?m:0;if(e>>>0<=c>>>0){break ba}H[l+44>>2]=c;e=c}na:{if(K[O+76>>2]<=L>>>0){break na}n=L<<3;if(H[n+H[O+80>>2]>>2]!=(w|0)){break na}oa:{pa:{qa:{c=H[P>>2];if((c|0)>=0){f=c;g=H[l+68>>2];k=g+1|0;k=(k|0)>0?k:0;if(c>>>0>=k>>>0){break pa}while(1){f=((f>>>1|0)+f|0)+8|0;if(k>>>0>=f>>>0){continue}break}if(!(c>>>0>f>>>0|f>>>0>536870910)){c=Eb(H[l+72>>2],f<<3);if(c){break qa}}H[P>>2]=-1}H[64760]=h;H[64761]=o;c=259040;break oa}H[l+72>>2]=c;H[P>>2]=f;g=H[l+68>>2]}if(g>>>0>>0){kb(H[l+72>>2]+(g<<3)|0,0,k-g<<3)}H[l+68>>2]=k;c=(H[l+72>>2]+(k<<3)|0)-8|0}H[c>>2]=e;ra:{if(K[O+76>>2]<=L>>>0){H[64760]=h;H[64761]=o;f=i;break ra}f=H[(n+H[O+80>>2]|0)+4>>2]}H[c+4>>2]=f;L=L+1|0}w=w+1|0;if(w>>>0>2]){continue}break}}M=M+1|0;if((M|0)!=2){continue}break}Wa=q+160|0;if(F[a+148|0]&1){e=b+112|0;k=0;f=a+120|0;c=H[f+20>>2];sa:{if(!c){break sa}il(H[f+24>>2],c,16);n=H[f+20>>2];if(n>>>0>=2){c=1;while(1){g=c>>>0>>0;ta:{if(!g){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break ta}d=H[f+24>>2]+(c<<4)|0}h=H[d>>2];i=k>>>0>>0;ua:{if(!i){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break ua}d=H[f+24>>2]+(k<<4)|0}va:{if((h|0)==H[d>>2]){wa:{if(c>>>0>>0){d=c<<4;if(I[(d+H[f+24>>2]|0)+8|0]){break va}d=d+H[f+24>>2]|0;break wa}d=H[40911];h=H[40910];H[64762]=h;H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;if(h&255){break va}d=259040}h=H[d+4>>2];xa:{if(!i){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break xa}d=H[f+24>>2]+(k<<4)|0}if((h^H[d+4>>2])>>>0<2){break va}}ya:{if(!g){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break ya}d=H[f+24>>2]+(c<<4)|0}k=k+1|0;za:{if(n>>>0<=k>>>0){h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;i=259040;break za}i=H[f+24>>2]+(k<<4)|0}h=H[d+4>>2];H[i>>2]=H[d>>2];H[i+4>>2]=h;h=H[d+12>>2];H[i+8>>2]=H[d+8>>2];H[i+12>>2]=h;n=H[f+20>>2]}c=c+1|0;if(n>>>0>c>>>0){continue}break}}c=k+1|0;c=(c|0)>0?c:0;if(c>>>0>=n>>>0){break sa}H[f+20>>2]=c}i=e;B=0;c=f;d=Pl(H[c>>2]+156|0);Aa:{if(I[d|0]|I[d+1|0]<<8){c=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(n){c=d+8|0;C=H[40908];while(1){x=0;d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h=c;c=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Ba:{if(!k){break Ba}c=H[f+20>>2];if((c|0)<=0){break Ba}d=c-1|0;u=H[f+24>>2];while(1){s=(x|0)<0?163632:(h+N(x,12)|0)+16|0;c=I[s+2|0]|I[s+3|0]<<8;A=(c<<8|c>>>8)&65535;c=I[s|0]|I[s+1|0]<<8;v=(c<<8|c>>>8)&65535;while(1){y=0;c=d;Ca:{while(1){Da:{Ea:{Fa:{z=c+y>>>1|0;o=u+(z<<4)|0;g=H[o>>2];Ga:{if((g|0)!=(v|0)){if((g|0)>(v|0)){break Ga}break Ea}g=H[o+4>>2];if((g|0)==(A|0)){break Fa}if((g|0)<=(A|0)){break Ea}}c=z-1|0;break Da}c=I[s+8|0]|I[s+9|0]<<8|(I[s+10|0]<<16|I[s+11|0]<<24);e=I[s+7|0]|((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))&e|(I[s+5|0]<<16|I[s+4|0]<<24)|I[s+6|0]<<8);break Ca}y=z+1|0}if((c|0)>=(y|0)){continue}break}if((v|0)!=3){break Ca}v=37;c=(A|0)==3;A=1;if(c){continue}}break}x=x+1|0;if((k|0)!=(x|0)){continue}break}}Ha:{Ia:{Ja:{d=H[i>>2];if((d|0)>=0){c=d;k=H[i+4>>2];g=k+1|0;g=(g|0)>0?g:0;if(c>>>0>=g>>>0){break Ia}while(1){c=((c>>>1|0)+c|0)+8|0;if(g>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=Eb(H[i+8>>2],c<<2);if(d){break Ja}}H[i>>2]=-1}H[64760]=C;break Ha}H[i>>2]=c;H[i+8>>2]=d;k=H[i+4>>2]}if(g>>>0>k>>>0){kb(H[i+8>>2]+(k<<2)|0,0,g-k<<2)}H[i+4>>2]=g;c=H[i+8>>2];H[64760]=C;c=(c+(g<<2)|0)-4|0;if((c|0)==259040){break Ha}H[c>>2]=e}c=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);c=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;B=B+1|0;if((n|0)!=(B|0)){continue}break}}break Aa}d=Ol(H[c>>2]+160|0);if(I[d|0]|I[d+1|0]<<8){c=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(n){c=d+8|0;C=H[40908];while(1){v=0;d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h=c;g=I[c+8|0]|I[c+9|0]<<8;Ka:{if(!g){break Ka}c=H[f+20>>2];if((c|0)<=0){break Ka}d=c-1|0;k=H[f+24>>2];c=(g<<8|g>>>8)&65535;u=c>>>0>1?c:1;while(1){s=h+N(v,12)|0;c=I[s+14|0]|I[s+15|0]<<8;x=(c<<8|c>>>8)&65535;c=I[s+12|0]|I[s+13|0]<<8;A=(c<<8|c>>>8)&65535;while(1){y=0;c=d;La:{while(1){Ma:{Na:{Oa:{z=c+y>>>1|0;o=k+(z<<4)|0;g=H[o>>2];Pa:{if((g|0)!=(A|0)){if((g|0)>(A|0)){break Pa}break Na}g=H[o+4>>2];if((g|0)==(x|0)){break Oa}if((g|0)<=(x|0)){break Na}}c=z-1|0;break Ma}c=I[s+20|0]|I[s+21|0]<<8|(I[s+22|0]<<16|I[s+23|0]<<24);e=I[s+19|0]|((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))&e|(I[s+17|0]<<16|I[s+16|0]<<24)|I[s+18|0]<<8);break La}y=z+1|0}if((c|0)>=(y|0)){continue}break}if((A|0)!=3){break La}A=37;c=(x|0)==3;x=1;if(c){continue}}break}v=v+1|0;if((u|0)!=(v|0)){continue}break}}Qa:{Ra:{Sa:{d=H[i>>2];if((d|0)>=0){c=d;k=H[i+4>>2];g=k+1|0;g=(g|0)>0?g:0;if(c>>>0>=g>>>0){break Ra}while(1){c=((c>>>1|0)+c|0)+8|0;if(g>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=Eb(H[i+8>>2],c<<2);if(d){break Sa}}H[i>>2]=-1}H[64760]=C;break Qa}H[i>>2]=c;H[i+8>>2]=d;k=H[i+4>>2]}if(g>>>0>k>>>0){kb(H[i+8>>2]+(k<<2)|0,0,g-k<<2)}H[i+4>>2]=g;c=H[i+8>>2];H[64760]=C;c=(c+(g<<2)|0)-4|0;if((c|0)==259040){break Qa}H[c>>2]=e}c=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);c=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;B=B+1|0;if((n|0)!=(B|0)){continue}break}}}}}u=H[b+60>>2];Ta:{Ua:{Va:{c=b;Wa:{Xa:{Ya:{o=H[c+56>>2];if((o|0)>0){e=o-1|0;f=e;Za:{_a:{while(1){h=f+t>>>1|0;d=H[u+N(h,36)>>2];$a:{if(d>>>0>=1718772068){f=h-1|0;break $a}if((d|0)==1718772067){break _a}t=h+1|0}if((f|0)>=(t|0)){continue}break}d=0;break Za}d=H[(u+N(h,36)|0)+28>>2]}H[b+128>>2]=d;t=0;f=e;while(1){i=f+t>>>1|0;h=H[u+N(i,36)>>2];ab:{if(h>>>0>=1853189491){f=i-1|0;break ab}if((h|0)==1853189490){break Ya}t=i+1|0}if((f|0)>=(t|0)){continue}break}h=0;break Xa}H[b+136>>2]=0;H[b+128>>2]=0;H[b+132>>2]=0;g=J[b+152>>1]&-5;G[b+152>>1]=g;d=b+152|0;break Wa}h=H[(u+N(i,36)|0)+28>>2]}H[c+132>>2]=h;f=0;bb:{cb:{while(1){i=e+f>>>1|0;c=H[u+N(i,36)>>2];db:{if(c>>>0>=1684959086){e=i-1|0;break db}if((c|0)==1684959085){break cb}f=i+1|0}if((e|0)>=(f|0)){continue}break}c=0;break bb}c=H[(u+N(i,36)|0)+28>>2]}H[b+136>>2]=c;eb:{fb:{if(d){d=b+152|0;t=J[b+152>>1];break fb}d=b+152|0;t=J[b+152>>1];f=0;if(!h|!c){break eb}}f=4}g=t&-5|f;G[d>>1]=g;e=0;if((o|0)>0){break Va}}H[b+140>>2]=0;break Ua}f=o-1|0;t=f;gb:{hb:{while(1){h=e+t>>>1|0;c=H[u+N(h,36)>>2];ib:{if(c>>>0>=1920232558){t=h-1|0;break ib}if((c|0)==1920232557){break hb}e=h+1|0}if((e|0)<=(t|0)){continue}break}c=0;break gb}c=H[(u+N(h,36)|0)+28>>2]}H[b+140>>2]=c;e=0;while(1){jb:{h=e+f>>>1|0;c=H[u+N(h,36)>>2];kb:{if(c>>>0>=1986359925){f=h-1|0;break kb}if((c|0)==1986359924){break jb}e=h+1|0}if((e|0)<=(f|0)){continue}break Ua}break}c=8;if(H[(u+N(h,36)|0)+28>>2]){break Ta}}c=0}e=c|g&-9;G[d>>1]=e;i=(H[a+4>>2]&-2)==4?1801810542:1986753134;f=0;lb:{mb:{nb:{ob:{if((o|0)<=0){H[b+144>>2]=0;n=e&65534;G[b+152>>1]=n;break ob}t=o-1|0;n=t;pb:{qb:{while(1){h=f+n>>>1|0;c=H[u+N(h,36)>>2];rb:{if(c>>>0>i>>>0){n=h-1|0;break rb}if(c>>>0>=i>>>0){break qb}f=h+1|0}if((f|0)<=(n|0)){continue}break}c=0;break pb}c=H[(u+N(h,36)|0)+24>>2]}H[b+144>>2]=c;f=0;n=e&-2|(c|0)!=0;G[b+152>>1]=n;while(1){e=f+t>>>1|0;c=H[u+N(e,36)>>2];sb:{if(c>>>0>=1953653100){t=e-1|0;break sb}if((c|0)==1953653099){break nb}f=e+1|0}if((f|0)<=(t|0)){continue}break}}H[b+148>>2]=0;break mb}c=H[(u+N(e,36)|0)+24>>2];H[b+148>>2]=c;f=2;if(c){break lb}}f=0}G[d>>1]=f|n&65533;n=65535;tb:{if((o|0)<=0){break tb}f=o-1|0;t=0;while(1){ub:{e=f+t>>>1|0;c=H[u+N(e,36)>>2];vb:{if(c>>>0>i>>>0){f=e-1|0;break vb}if(c>>>0>=i>>>0){break ub}t=e+1|0}if((f|0)>=(t|0)){continue}break tb}break}n=H[(u+N(e,36)|0)+8>>2]}i=H[H[b+20>>2]+40>>2];h=(i|0)!=H[b+28>>2];wb:{xb:{f=H[a>>2];c=H[f+140>>2];yb:{if(c){break yb}while(1){c=H[f+48>>2];if(!c){c=163632;break yb}c=_j(c);if(!c){c=163632}e=H[f+140>>2];H[f+140>>2]=e?e:c;if(!e){break yb}if(!(!c|(c|0)==163632)){e=H[c>>2];H[65057]=0;fa(579,e|0);e=H[65057];H[65057]=0;if((e|0)==1){break xb}hb(c)}c=H[f+140>>2];if(!c){continue}break}}c=H[c>>2];c=c?c:163632;c=K[c+16>>2]<12?163632:H[c+12>>2];e=(I[c+4|0]|I[c+5|0]<<8)!=0;break wb}ea(0)|0;_()|0;Gb();X()}c=J[b+152>>1];if(!e){c=c|64;G[d>>1]=c}t=1;G[d>>1]=c&57343|(F[a+148|0]&1)<<13;c=Wa-48|0;Wa=c;o=H[a>>2]+164|0;g=H[o>>2];zb:{if(g){break zb}f=o-116|0;while(1){g=H[f>>2];if(!g){g=163632;break zb}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;e=ac(g);F[c+40|0]=1;H[c+36>>2]=e;g=Ll(c,_b(g,1801810552));if(!g){g=163632}e=H[o>>2];H[o>>2]=e?e:g;if(!e){break zb}if(!(!g|(g|0)==163632)){lb(g)}g=H[o>>2];if(!g){continue}break}}Wa=c+48|0;e=0;c=K[g+16>>2]<8?163632:H[g+12>>2];g=(I[c|0]|I[c+1|0]<<8)!=0;o=!g;if(!(F[a+148|0]&1)){t=!ys(H[a>>2])}if(!(h&(i|0)!=0)){e=H[a>>2];f=H[e+148>>2];Ab:{if(f){break Ab}while(1){c=H[e+48>>2];if(!c){f=163632;break Ab}f=Ab(1,12);Bb:{if(!f){f=163632;break Bb}hg(f,c)}c=H[e+148>>2];H[e+148>>2]=c?c:f;if(!c){break Ab}_c(f);f=H[e+148>>2];if(!f){continue}break}}c=H[f>>2];c=c?c:163632;c=K[c+16>>2]<10?163632:H[c+12>>2];e=(I[c|0]|I[c+1|0]<<8|(I[c+2|0]|I[c+3|0]<<8))!=0}Cb:{Db:{if(!(o|(t|e^1)!=1)){c=J[d>>1]|4096;break Db}c=J[d>>1];if(!e){break Cb}c=c|512}G[d>>1]=c}Eb:{if(c&4096|(c&512?(n|0)!=65535:0)){break Eb}if(g){c=c|4096}else{c=$j(H[a>>2]+136|0);e=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=J[d>>1];if(!(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))){break Eb}c=c|1024}G[d>>1]=c}n=c&-2049|(c&4608?0:(c<<1^-1)&2048);G[d>>1]=n;f=0;Fb:{if(!(I[a+148|0]&2)|c&4096){break Fb}f=32;if(!(c&1024)){break Fb}c=0;Gb:{Hb:{Ib:{i=$j(H[a>>2]+136|0);e=I[i|0]|I[i+1|0]<<8;switch((e<<8|e>>>8)&65535){case 1:break Hb;case 0:break Ib;default:break Gb}}e=I[i+2|0]|I[i+3|0]<<8;if(!e){break Gb}c=1;if(I[i+8|0]==1){break Gb}h=(e<<8|e>>>8)&65535;f=h>>>0>1?h:1;e=i+4|0;c=0;while(1){c=c+1|0;if((f|0)!=(c|0)){g=e;e=I[e+2|0]|I[e+3|0]<<8;e=g+((e<<8|e>>>8)&65535)|0;if(I[e+4|0]!=1){continue}}break}c=c>>>0>>0;break Gb}e=I[i+4|0]|I[i+5|0]<<8|(I[i+6|0]<<16|I[i+7|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!f){break Gb}c=1;if(I[i+13|0]==1){break Gb}c=i+8|0;e=0;while(1){e=e+1|0;if((f|0)!=(e|0)){h=c;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;if(I[c+5|0]!=1){continue}}break}c=e>>>0>>0}n=J[d>>1];f=c?0:32}f=f|n&-33;G[b+152>>1]=f;c=H[b+56>>2];Jb:{Kb:{if((c|0)<=0){break Kb}h=H[b+60>>2];c=c-1|0;e=0;while(1){Lb:{i=c+e>>>1|0;b=H[h+N(i,36)>>2];Mb:{if(b>>>0>=1835102828){c=i-1|0;break Mb}if((b|0)==1835102827){break Lb}e=i+1|0}if((c|0)>=(e|0)){continue}break Kb}break}b=16;if(H[(h+N(i,36)|0)+28>>2]){break Jb}}b=0}c=b|f&-17;G[d>>1]=c;f=0;e=0;Nb:{if(n&4608){break Nb}e=256;if(!(n&1024)){break Nb}b=0;Ob:{Pb:{Qb:{i=$j(H[a>>2]+136|0);c=I[i|0]|I[i+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break Pb;case 0:break Qb;default:break Ob}}c=I[i+2|0]|I[i+3|0]<<8;if(!c){break Ob}b=1;if(I[i+9|0]&4){break Ob}h=(c<<8|c>>>8)&65535;e=h>>>0>1?h:1;c=i+4|0;b=0;while(1){b=b+1|0;if((e|0)!=(b|0)){g=c;c=I[c+2|0]|I[c+3|0]<<8;c=g+((c<<8|c>>>8)&65535)|0;if(!(I[c+5|0]&4)){continue}}break}b=b>>>0>>0;break Ob}c=I[i+4|0]|I[i+5|0]<<8|(I[i+6|0]<<16|I[i+7|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!e){break Ob}b=1;if(I[i+12|0]&64){break Ob}b=i+8|0;c=0;while(1){c=c+1|0;if((e|0)!=(c|0)){h=b;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);b=h+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;if(!(I[b+4|0]&64)){continue}}break}b=c>>>0>>0}c=J[d>>1];e=b?0:256}b=e|c&-257;G[d>>1]=b;b=b&-129|(e?I[a+148|0]<<5&128:0);c=c&8192?b&-257:b;G[d>>1]=c;if(c&2){a=Kl(H[a>>2]+172|0);f=((I[a|0]|I[a+1|0]<<8|(I[a+2|0]|I[a+3|0]<<8))!=0)<<14;c=J[d>>1]}G[d>>1]=c&49151|f}function Tq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;s=Wa-16|0;Wa=s;y=-2;a:{if(!H[a+36>>2]|(!a|!H[a+32>>2])){break a}f=H[a+28>>2];if(!f|H[f>>2]!=(a|0)){break a}e=H[f+4>>2];if(e-16180>>>0>31){break a}p=H[a+12>>2];if(!p){break a}d=H[a>>2];if(!(H[a+4>>2]?d:1)){break a}if((e|0)==16191){H[f+4>>2]=16192;e=16192}S=b-5|0;T=f+92|0;A=f+756|0;D=f+116|0;E=f+88|0;B=f+112|0;z=f+1332|0;g=H[f+64>>2];C=H[a+4>>2];i=C;h=H[f+60>>2];n=H[a+16>>2];v=n;b:{c:{d:while(1){e:{c=-3;k=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{switch(e-16180|0){case 23:l=H[f+76>>2];c=d;e=i;break B;case 21:k=H[f+76>>2];break D;case 18:e=H[f+108>>2];break M;case 27:e=H[f+12>>2];break f;case 16:if(g>>>0>=14){break V}if(!i){break e}e=g+8|0;c=d+1|0;k=i-1|0;h=(I[d|0]<>>0<=5){break W}d=c;i=k;g=e;break V;case 9:if(g>>>0>=32){break ba}if(!i){break e}c=d+1|0;e=i-1|0;h=(I[d|0]<>>0<=23){break ca}d=c;i=e;break ba;case 1:if(g>>>0>=16){break ma}if(!i){break e}e=g+8|0;c=d+1|0;k=i-1|0;h=(I[d|0]<>>0<=7){break na}d=c;i=k;g=e;break ma;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break A;case 22:break C;case 20:break K;case 30:break b;case 19:break L;case 26:break R;case 25:break S;case 17:break U;case 29:break c;case 15:break X;case 14:break Y;case 13:break Z;case 12:break _;case 11:break $;case 10:break aa;case 4:break fa;case 3:break ia;case 2:break la;case 0:break oa;default:break a}}l=H[f+12>>2];if(!l){break Q}pa:{if(g>>>0>=16){e=h;break pa}if(!i){break e}k=g+8|0;c=d+1|0;j=i-1|0;e=(I[d|0]<>>0>7){d=c;i=j;g=k;break pa}if(!j){d=c;i=0;h=e;g=k;c=o;break c}g=g+16|0;i=i-2|0;e=(I[d+1|0]<>2]){H[f+40>>2]=15}h=0;c=pd(0,0,0);H[f+28>>2]=c;F[s+12|0]=e;F[s+13|0]=e>>>8;Y=f,Z=pd(c,s+12|0,2),H[Y+28>>2]=Z;H[f+4>>2]=16181;g=0;e=H[f+4>>2];continue}if(!k){d=c;i=0;g=e;c=o;break c}g=g+16|0;i=i-2|0;h=(I[d+1|0]<>2]=h;if((h&255)!=8){H[a+24>>2]=239013;H[f+4>>2]=16209;e=H[f+4>>2];continue}if(h&57344){H[a+24>>2]=238148;H[f+4>>2]=16209;e=H[f+4>>2];continue}c=H[f+36>>2];if(c){H[c>>2]=h>>>8&1}if(!(!(h&512)|!(I[f+12|0]&4))){F[s+12|0]=h;F[s+13|0]=h>>>8;Y=f,Z=pd(H[f+28>>2],s+12|0,2),H[Y+28>>2]=Z}H[f+4>>2]=16182;g=0;h=0;break ka}if(g>>>0>31){break ja}}if(!i){break e}c=d+1|0;e=i-1|0;h=(I[d|0]<>>0>23){d=c;i=e;break ja}k=g+8|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+2|0;e=i-2|0;h=(I[d+1|0]<>>0>15){d=c;i=e;break ja}k=g+16|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+3|0;e=i-3|0;h=(I[d+2|0]<>>0>7){d=c;i=e;break ja}g=g+24|0;if(!e){d=c;i=0;c=o;break c}i=i-4|0;h=(I[d+3|0]<>2];if(c){H[c+4>>2]=h}if(!(!(I[f+21|0]&2)|!(I[f+12|0]&4))){F[s+12|0]=h;F[s+13|0]=h>>>8;F[s+14|0]=h>>>16;F[s+15|0]=h>>>24;Y=f,Z=pd(H[f+28>>2],s+12|0,4),H[Y+28>>2]=Z}H[f+4>>2]=16183;g=0;h=0;break ha}if(g>>>0>15){break ga}}if(!i){break e}c=d+1|0;e=i-1|0;h=(I[d|0]<>>0>7){d=c;i=e;break ga}g=g+8|0;if(!e){d=c;i=0;c=o;break c}i=i-2|0;h=(I[d+1|0]<>2];if(c){H[c+12>>2]=h>>>8;H[c+8>>2]=h&255}if(!(!(I[f+21|0]&2)|!(I[f+12|0]&4))){F[s+12|0]=h;F[s+13|0]=h>>>8;Y=f,Z=pd(H[f+28>>2],s+12|0,2),H[Y+28>>2]=Z}H[f+4>>2]=16184;e=0;g=0;h=0;c=H[f+20>>2];if(c&1024){break ea}break p}c=H[f+20>>2];if(!(c&1024)){e=g;break p}e=h;if(g>>>0>15){break da}}if(!i){i=0;h=e;c=o;break c}k=d+1|0;j=i-1|0;h=(I[d|0]<>>0>7){d=k;i=j;break da}g=g+8|0;if(!j){d=k;i=0;c=o;break c}i=i-2|0;h=(I[d+1|0]<>2]=h;g=H[f+36>>2];if(g){H[g+20>>2]=h}g=0;if(!(!(c&512)|!(I[f+12|0]&4))){F[s+12|0]=h;F[s+13|0]=h>>>8;Y=f,Z=pd(H[f+28>>2],s+12|0,2),H[Y+28>>2]=Z}h=0;break o}k=g+8|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+2|0;e=i-2|0;h=(I[d+1|0]<>>0>15){d=c;i=e;break ba}k=g+16|0;if(!e){d=c;i=0;g=k;c=o;break c}c=d+3|0;e=i-3|0;h=(I[d+2|0]<>>0>7){d=c;i=e;break ba}g=g+24|0;if(!e){d=c;i=0;c=o;break c}i=i-4|0;h=(I[d+3|0]<>>8&65280|h>>>24);H[f+28>>2]=c;H[a+48>>2]=c;H[f+4>>2]=16190;h=0;g=0}if(!H[f+16>>2]){H[a+16>>2]=n;H[a+12>>2]=p;H[a+4>>2]=i;H[a>>2]=d;H[f+64>>2]=g;H[f+60>>2]=h;y=2;break a}c=wh(0,0,0);H[f+28>>2]=c;H[a+48>>2]=c;H[f+4>>2]=16191}if(S>>>0<2){break i}}ra:{sa:{if(!H[f+8>>2]){if(g>>>0<3){break sa}break ra}H[f+4>>2]=16206;h=h>>>(g&7)|0;g=g&-8;e=H[f+4>>2];continue}if(!i){break e}i=i-1|0;h=(I[d|0]<>2]=h&1;e=16193;ta:{ua:{va:{switch((h>>>1&3)-1|0){case 0:H[f+80>>2]=239584;H[f+88>>2]=9;H[f+92>>2]=5;H[f+84>>2]=241632;H[f+4>>2]=16199;if((b|0)!=6){break ta}g=g-3|0;h=h>>>3|0;c=o;break c;case 1:e=16196;break ua;case 2:break va;default:break ua}}H[a+24>>2]=238939;e=16209}H[f+4>>2]=e}g=g-3|0;h=h>>>3|0;e=H[f+4>>2];continue}h=h>>>(g&7)|0;g=g&-8;wa:{if(g>>>0>31){break wa}if(!i){break e}e=g+8|0;c=d+1|0;k=i-1|0;h=(I[d|0]<>>0>23){d=c;i=k;g=e;break wa}if(!k){d=c;i=0;g=e;c=o;break c}k=g+16|0;c=d+2|0;j=i-2|0;h=(I[d+1|0]<>>0>15){d=c;i=j;g=k;break wa}if(!j){d=c;i=0;g=k;c=o;break c}e=g+24|0;c=d+3|0;j=i-3|0;h=(I[d+2|0]<>>16|0)){H[a+24>>2]=238265;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+4>>2]=16194;H[f+68>>2]=c;h=0;g=0;if((b|0)!=6){break Y}break i}H[f+4>>2]=16195}c=H[f+68>>2];if(c){c=c>>>0>>0?c:i;e=c>>>0>>0?c:n;if(!e){break i}c=mb(p,d,e);H[f+68>>2]=H[f+68>>2]-e;p=c+e|0;n=n-e|0;d=d+e|0;i=i-e|0;e=H[f+4>>2];continue}H[f+4>>2]=16191;e=H[f+4>>2];continue}if(!k){d=c;i=0;g=e;c=o;break c}g=g+16|0;i=i-2|0;h=(I[d+1|0]<>2]=e+257;c=h>>>5&31;H[f+104>>2]=c+1;j=(h>>>10&15)+4|0;H[f+96>>2]=j;g=g-14|0;h=h>>>14|0;if(!(c>>>0<30&e>>>0<=29)){H[a+24>>2]=238229;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+4>>2]=16197;e=0;H[f+108>>2]=0;break T}e=H[f+108>>2];j=H[f+96>>2];if(e>>>0>=j>>>0){break N}}c=e;while(1){if(g>>>0<=2){if(!i){break e}i=i-1|0;h=(I[d|0]<>2]=e;G[((J[(c<<1)+239536>>1]<<1)+f|0)+116>>1]=h&7;g=g-3|0;h=h>>>3|0;c=e;if(j>>>0>c>>>0){continue}break}break N}if(!n){break z}F[p|0]=H[f+68>>2];H[f+4>>2]=16200;n=n-1|0;p=p+1|0;e=H[f+4>>2];continue}e=H[f+12>>2];if(!e){e=0;break O}xa:{if(g>>>0>31){k=d;break xa}if(!i){break e}c=g+8|0;k=d+1|0;j=i-1|0;h=(I[d|0]<>>0>23){i=j;g=c;break xa}if(!j){d=k;i=0;g=c;c=o;break c}j=g+16|0;k=d+2|0;l=i-2|0;h=(I[d+1|0]<>>0>15){i=l;g=j;break xa}if(!l){d=k;i=0;g=j;c=o;break c}c=g+24|0;k=d+3|0;l=i-3|0;h=(I[d+2|0]<>>0>7){i=l;g=c;break xa}if(!l){d=k;i=0;g=c;c=o;break c}g=g+32|0;k=d+4|0;i=i-4|0;h=(I[d+3|0]<>2]=j+H[a+20>>2];H[f+32>>2]=j+H[f+32>>2];c=e&4;if(!(!c|(n|0)==(v|0))){c=p-j|0;d=H[f+28>>2];ya:{if(H[f+20>>2]){d=pd(d,c,j);break ya}d=wh(d,c,j)}H[f+28>>2]=d;H[a+48>>2]=d;e=H[f+12>>2];c=e&4}if(!c|H[f+28>>2]==((H[f+20>>2]?h:h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))|0)){break P}H[a+24>>2]=238715;H[f+4>>2]=16209;d=k;v=n;e=H[f+4>>2];continue}H[f+4>>2]=16192;break r}d=k;h=0;g=0;v=n}H[f+4>>2]=16207;break f}if(e>>>0<=18){k=0;c=e;o=3-c&3;if(o){while(1){G[((J[(c<<1)+239536>>1]<<1)+f|0)+116>>1]=0;c=c+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(e-16>>>0>=3){while(1){e=f+116|0;o=c<<1;G[e+(J[o+239536>>1]<<1)>>1]=0;G[e+(J[o+239538>>1]<<1)>>1]=0;G[e+(J[o+239540>>1]<<1)>>1]=0;G[e+(J[o+239542>>1]<<1)>>1]=0;c=c+4|0;if((c|0)!=19){continue}break}}H[f+108>>2]=19}H[f+88>>2]=7;H[f+80>>2]=z;H[f+112>>2]=z;e=0;o=Mj(0,D,19,B,E,A);if(o){H[a+24>>2]=238123;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+4>>2]=16198;H[f+108>>2]=0;o=0}r=H[f+100>>2];t=r+H[f+104>>2]|0;if(t>>>0>e>>>0){q=-1<>2]^-1;w=H[f+80>>2];while(1){l=g;k=i;j=d;u=h&q;m=I[(w+(u<<2)|0)+1|0];za:{if(m>>>0<=g>>>0){c=g;break za}while(1){if(!k){break J}m=I[j|0]<>>0>c>>>0){continue}break}d=j;i=k}g=J[(w+(u<<2)|0)+2>>1];Aa:{if(g>>>0<=15){k=e+1|0;H[f+108>>2]=k;G[((e<<1)+f|0)+116>>1]=g;g=c-m|0;h=h>>>m|0;e=k;break Aa}Ba:{Ca:{Da:{switch(g-16|0){case 0:g=m+2|0;if(g>>>0>c>>>0){while(1){if(!i){break q}i=i-1|0;h=(I[d|0]<>>0>c>>>0){continue}break}}g=c-m|0;c=h>>>m|0;if(!e){H[a+24>>2]=238199;H[f+4>>2]=16209;h=c;e=H[f+4>>2];continue d}g=g-2|0;h=c>>>2|0;k=(c&3)+3|0;c=J[((e<<1)+f|0)+114>>1];break Ba;case 1:g=m+3|0;if(g>>>0>c>>>0){while(1){if(!i){break q}i=i-1|0;h=(I[d|0]<>>0>c>>>0){continue}break}}g=(c-m|0)-3|0;c=h>>>m|0;h=c>>>3|0;k=(c&7)+3|0;break Ca;default:break Da}}g=m+7|0;if(g>>>0>c>>>0){while(1){if(!i){break q}i=i-1|0;h=(I[d|0]<>>0>c>>>0){continue}break}}g=(c-m|0)-7|0;c=h>>>m|0;h=c>>>7|0;k=(c&127)+11|0}c=0}if(t>>>0>>0){break G}m=k-1|0;j=0;l=k&3;if(l){while(1){G[((e<<1)+f|0)+116>>1]=c;e=e+1|0;k=k-1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}}if(m>>>0>=3){while(1){j=(e<<1)+f|0;G[j+118>>1]=c;G[j+116>>1]=c;G[j+120>>1]=c;G[j+122>>1]=c;e=e+4|0;k=k-4|0;if(k){continue}break}}H[f+108>>2]=e}if(e>>>0>>0){continue}break}}if(!J[f+628>>1]){H[a+24>>2]=238632;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+88>>2]=9;H[f+80>>2]=z;H[f+112>>2]=z;o=Mj(1,D,r,B,E,A);if(o){H[a+24>>2]=238095;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+92>>2]=6;H[f+84>>2]=H[f+112>>2];o=Mj(2,((H[f+100>>2]<<1)+f|0)+116|0,H[f+104>>2],B,T,A);if(o){H[a+24>>2]=238173;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+4>>2]=16199;o=0;if((b|0)!=6){break L}c=0;break c}H[f+4>>2]=16200}if(!(i>>>0<6|n>>>0<258)){H[a+16>>2]=n;H[a+12>>2]=p;H[a+4>>2]=i;H[a>>2]=d;H[f+64>>2]=g;H[f+60>>2]=h;j=H[a+12>>2];d=H[a+16>>2];c=j+d|0;L=c+(v^-1)|0;l=H[a+28>>2];r=H[l+52>>2];U=(c+(r^-1)|0)-v|0;M=r&7;N=H[l+44>>2];V=r+N|0;O=c-257|0;W=(d-v|0)+j|0;i=H[a>>2];P=(i+H[a+4>>2]|0)-5|0;X=-1<>2]^-1;p=-1<>2]^-1;Q=H[l+84>>2];R=H[l+80>>2];e=H[l+64>>2];m=H[l+60>>2];k=H[l+56>>2];u=H[l+48>>2];w=r-1>>>0<7;while(1){if(e>>>0<=14){m=((I[i|0]<>>d|0;d=J[c+2>>1];Ea:{Fa:{Ga:{c=I[c|0];if(!c){break Ga}Ha:{Ia:{Ja:{while(1){if(c&16){n=d&65535;d=c&15;Ka:{if(!d){g=i;c=m;break Ka}La:{if(d>>>0<=e>>>0){g=i;break La}m=(I[i|0]<>>d|0}if(e>>>0<=14){c=((I[g|0]<>>d|0;d=J[i+2>>1];c=I[i|0];if(c&16){break Ja}while(1){if(!(c&64)){c=(((-1<>>d|0;d=J[c+2>>1];c=I[c|0];if(!(c&16)){continue}break Ja}break}n=238991;i=g;break Ia}g=c&255;if(!(g&64)){c=(((-1<>>d|0;d=J[c+2>>1];c=I[c|0];if(!c){break Ga}continue}break}n=238963;d=16191;if(c&32){break Ha}break Ia}q=d&65535;c=c&15;Ma:{if(c>>>0<=e>>>0){d=e;i=g;break Ma}m=(I[g|0]<>>0<=d>>>0){break Ma}m=(I[g+1|0]<>>c|0;Na:{x=g+q|0;d=j-W|0;if(x>>>0>d>>>0){h=x-d|0;if(!(!H[l+7108>>2]|h>>>0<=u>>>0)){n=238736;break Ia}Oa:{Pa:{if(!r){c=k+(N-h|0)|0;if(h>>>0>=n>>>0){break Oa}t=(q+(g+L|0)|0)-j|0;g=0;d=h;q=d&7;if(q){while(1){F[j|0]=I[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((q|0)!=(g|0)){continue}break}}if(t>>>0<7){break Pa}while(1){F[j|0]=I[c|0];F[j+1|0]=I[c+1|0];F[j+2|0]=I[c+2|0];F[j+3|0]=I[c+3|0];F[j+4|0]=I[c+4|0];F[j+5|0]=I[c+5|0];F[j+6|0]=I[c+6|0];F[j+7|0]=I[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}break Pa}if(h>>>0>r>>>0){c=k+(V-h|0)|0;h=h-r|0;if(h>>>0>=n>>>0){break Oa}t=(q+(g+U|0)|0)-j|0;g=0;d=h;q=d&7;if(q){while(1){F[j|0]=I[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((q|0)!=(g|0)){continue}break}}if(t>>>0>=7){while(1){F[j|0]=I[c|0];F[j+1|0]=I[c+1|0];F[j+2|0]=I[c+2|0];F[j+3|0]=I[c+3|0];F[j+4|0]=I[c+4|0];F[j+5|0]=I[c+5|0];F[j+6|0]=I[c+6|0];F[j+7|0]=I[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}}n=n-h|0;if(r>>>0>=n>>>0){c=k;break Oa}g=0;d=r;c=k;if(M){while(1){F[j|0]=I[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((M|0)!=(g|0)){continue}break}}if(!w){while(1){F[j|0]=I[c|0];F[j+1|0]=I[c+1|0];F[j+2|0]=I[c+2|0];F[j+3|0]=I[c+3|0];F[j+4|0]=I[c+4|0];F[j+5|0]=I[c+5|0];F[j+6|0]=I[c+6|0];F[j+7|0]=I[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}}c=j-x|0;n=n-r|0;break Oa}c=k+(r-h|0)|0;if(h>>>0>=n>>>0){break Oa}t=(q+(g+L|0)|0)-j|0;g=0;d=h;q=d&7;if(q){while(1){F[j|0]=I[c|0];d=d-1|0;j=j+1|0;c=c+1|0;g=g+1|0;if((q|0)!=(g|0)){continue}break}}if(t>>>0<7){break Pa}while(1){F[j|0]=I[c|0];F[j+1|0]=I[c+1|0];F[j+2|0]=I[c+2|0];F[j+3|0]=I[c+3|0];F[j+4|0]=I[c+4|0];F[j+5|0]=I[c+5|0];F[j+6|0]=I[c+6|0];F[j+7|0]=I[c+7|0];j=j+8|0;c=c+8|0;d=d-8|0;if(d){continue}break}}c=j-x|0;n=n-h|0}Qa:{if(n>>>0<3){break Qa}d=0;h=n-3|0;g=((h>>>0)/3|0)+1&3;if(g){while(1){F[j|0]=I[c|0];F[j+1|0]=I[c+1|0];F[j+2|0]=I[c+2|0];n=n-3|0;j=j+3|0;c=c+3|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(h>>>0<9){break Qa}while(1){F[j|0]=I[c|0];F[j+1|0]=I[c+1|0];F[j+2|0]=I[c+2|0];F[j+3|0]=I[c+3|0];F[j+4|0]=I[c+4|0];F[j+5|0]=I[c+5|0];F[j+6|0]=I[c+6|0];F[j+7|0]=I[c+7|0];F[j+8|0]=I[c+8|0];F[j+9|0]=I[c+9|0];F[j+10|0]=I[c+10|0];F[j+11|0]=I[c+11|0];j=j+12|0;c=c+12|0;n=n-12|0;if(n>>>0>2){continue}break}}if(!n){break Fa}F[j|0]=I[c|0];if((n|0)!=1){break Na}j=j+1|0;break Fa}g=j-x|0;while(1){c=j;d=g;F[c|0]=I[d|0];F[c+1|0]=I[d+1|0];F[c+2|0]=I[d+2|0];j=c+3|0;g=d+3|0;n=n-3|0;if(n>>>0>2){continue}break}if(!n){break Fa}F[c+3|0]=I[g|0];if((n|0)==1){j=c+4|0;break Fa}F[c+4|0]=I[d+4|0];j=c+5|0;break Fa}F[j+1|0]=I[c+1|0];j=j+2|0;break Fa}H[a+24>>2]=n;d=16209}H[l+4>>2]=d;break Ea}F[j|0]=d;j=j+1|0}if(i>>>0>=P>>>0){break Ea}if(j>>>0>>0){continue}}break}H[a+12>>2]=j;d=i-(e>>>3|0)|0;H[a>>2]=d;H[a+16>>2]=(O-j|0)+257;H[a+4>>2]=(P-d|0)+5;d=e&7;H[l+64>>2]=d;H[l+60>>2]=(-1<>2];h=H[f+60>>2];i=H[a+4>>2];d=H[a>>2];n=H[a+16>>2];p=H[a+12>>2];if(H[f+4>>2]!=16191){break r}H[f+7112>>2]=-1;e=H[f+4>>2];continue}H[f+7112>>2]=0;k=g;e=i;c=d;q=H[f+80>>2];r=-1<>2]^-1;m=r&h;l=I[(q+(m<<2)|0)+1|0];Ra:{if(l>>>0<=g>>>0){j=g;break Ra}while(1){if(!e){break H}l=I[c|0]<>>0>j>>>0){continue}break}}d=q+(m<<2)|0;u=J[d+2>>1];k=I[d|0];if(!k|k&240){break F}i=e;d=c;g=j;r=-1<>>l|0)+u|0;m=I[(q+(t<<2)|0)+1|0];Sa:{if(g>>>0>=m+l>>>0){k=j;break Sa}while(1){if(!i){break I}m=I[d|0]<>>l|0)+u|0;m=I[(q+(t<<2)|0)+1|0];if(g>>>0>>0){continue}break}}j=k-l|0;h=h>>>l|0;c=q+(t<<2)|0;k=I[c|0];u=J[c+2>>1];break E}d=d+i|0;g=(i<<3)+g|0;break e}d=c+e|0;g=(e<<3)+j|0;break e}d=d+i|0;g=(i<<3)+g|0;break e}H[a+24>>2]=238199;H[f+4>>2]=16209;e=H[f+4>>2];continue}m=l;l=0;d=c;i=e}H[f+68>>2]=u&65535;H[f+7112>>2]=l+m;g=j-m|0;h=h>>>m|0;if(!k){H[f+4>>2]=16205;e=H[f+4>>2];continue}if(k&32){H[f+4>>2]=16191;H[f+7112>>2]=-1;e=H[f+4>>2];continue}if(k&64){H[a+24>>2]=238963;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+4>>2]=16201;k=k&15;H[f+76>>2]=k}j=d;l=i;Ta:{if(!k){c=H[f+68>>2];break Ta}c=d;e=g;if(k>>>0>e>>>0){while(1){if(!i){break u}i=i-1|0;h=(I[c|0]<>>0>e>>>0){continue}break}}H[f+7112>>2]=H[f+7112>>2]+k;c=H[f+68>>2]+((-1<>2]=c;g=e-k|0;h=h>>>k|0}H[f+4>>2]=16202;H[f+7116>>2]=c}k=g;e=i;c=d;q=H[f+84>>2];r=-1<>2]^-1;m=r&h;l=I[(q+(m<<2)|0)+1|0];Ua:{if(l>>>0<=g>>>0){j=g;break Ua}while(1){if(!e){break v}l=I[c|0]<>>0>j>>>0){continue}break}}d=q+(m<<2)|0;u=J[d+2>>1];m=I[d|0];Va:{if(m&240){k=l;d=H[f+7112>>2];break Va}i=e;d=c;g=j;r=-1<>>l|0)+u|0;k=I[(q+(t<<2)|0)+1|0];Wa:{if(g>>>0>=l+k>>>0){m=j;break Wa}while(1){if(!i){break w}k=I[d|0]<>>l|0)+u|0;k=I[(q+(t<<2)|0)+1|0];if(g>>>0>>0){continue}break}c=d;e=i}j=m-l|0;h=h>>>l|0;d=q+(t<<2)|0;m=I[d|0];u=J[d+2>>1];d=H[f+7112>>2]+l|0}H[f+7112>>2]=d+k;g=j-k|0;h=h>>>k|0;if(m&64){H[a+24>>2]=238991;H[f+4>>2]=16209;d=c;i=e;e=H[f+4>>2];continue}H[f+4>>2]=16203;l=m&15;H[f+76>>2]=l;H[f+72>>2]=u&65535}Xa:{if(!l){d=c;i=e;break Xa}k=g;i=e;j=c;Ya:{if(g>>>0>=l>>>0){d=c;break Ya}while(1){if(!i){break x}i=i-1|0;h=(I[j|0]<>>0>k>>>0){continue}break}}H[f+7112>>2]=H[f+7112>>2]+l;H[f+72>>2]=H[f+72>>2]+((-1<>>l|0}H[f+4>>2]=16204}if(n){break y}}n=0;break i}e=H[f+72>>2];c=v-n|0;Za:{if(e>>>0>c>>>0){c=e-c|0;if(!(!H[f+7108>>2]|c>>>0<=K[f+48>>2])){H[a+24>>2]=238736;H[f+4>>2]=16209;e=H[f+4>>2];continue}e=H[f+52>>2];_a:{if(e>>>0>>0){c=c-e|0;e=H[f+56>>2]+(H[f+44>>2]-c|0)|0;break _a}e=H[f+56>>2]+(e-c|0)|0}k=H[f+68>>2];c=c>>>0>>0?c:k;break Za}e=p-e|0;k=H[f+68>>2];c=k}j=c>>>0>>0?c:n;H[f+68>>2]=k-j;m=j-1|0;k=0;l=j&7;if(!l){break t}c=j;while(1){F[p|0]=I[e|0];c=c-1|0;p=p+1|0;e=e+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}break s}d=c+e|0;g=(e<<3)+g|0;break e}d=c+e|0;g=(e<<3)+j|0;break e}d=d+i|0;g=(i<<3)+g|0;break e}d=j+l|0;g=(l<<3)+g|0;break e}c=j}if(m>>>0>=7){while(1){F[p|0]=I[e|0];F[p+1|0]=I[e+1|0];F[p+2|0]=I[e+2|0];F[p+3|0]=I[e+3|0];F[p+4|0]=I[e+4|0];F[p+5|0]=I[e+5|0];F[p+6|0]=I[e+6|0];F[p+7|0]=I[e+7|0];p=p+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}}n=n-j|0;if(H[f+68>>2]){break r}H[f+4>>2]=16200;e=H[f+4>>2];continue}e=H[f+4>>2];continue}i=0;g=c;c=o;break c}c=H[f+36>>2];if(c){H[c+16>>2]=0}g=e}H[f+4>>2]=16185}k=H[f+20>>2];if(k&1024){e=H[f+68>>2];l=e>>>0>>0?e:i;if(l){j=H[f+36>>2];$a:{if(!j){break $a}c=H[j+16>>2];if(!c){break $a}e=H[j+20>>2]-e|0;k=e+c|0;c=H[j+24>>2];mb(k,d,c>>>0>>0?c-e|0:l);k=H[f+20>>2]}if(!(!(k&512)|!(I[f+12|0]&4))){Y=f,Z=pd(H[f+28>>2],d,l),H[Y+28>>2]=Z}e=H[f+68>>2]-l|0;H[f+68>>2]=e;i=i-l|0;d=d+l|0}if(e){break i}}H[f+4>>2]=16186;H[f+68>>2]=0}ab:{if(I[f+21|0]&8){e=0;if(!i){break j}while(1){j=I[d+e|0];k=H[f+36>>2];bb:{if(!k){break bb}c=H[k+28>>2];if(!c){break bb}l=H[k+32>>2];k=H[f+68>>2];if(l>>>0<=k>>>0){break bb}H[f+68>>2]=k+1;F[c+k|0]=j}e=e+1|0;if(i>>>0>e>>>0?j:0){continue}break}if(!(!(I[f+21|0]&2)|!(I[f+12|0]&4))){Y=f,Z=pd(H[f+28>>2],d,e),H[Y+28>>2]=Z}d=d+e|0;i=i-e|0;if(!j){break ab}break i}c=H[f+36>>2];if(!c){break ab}H[c+28>>2]=0}H[f+4>>2]=16187;H[f+68>>2]=0}cb:{if(I[f+21|0]&16){e=0;if(!i){break j}while(1){j=I[d+e|0];k=H[f+36>>2];db:{if(!k){break db}c=H[k+36>>2];if(!c){break db}l=H[k+40>>2];k=H[f+68>>2];if(l>>>0<=k>>>0){break db}H[f+68>>2]=k+1;F[c+k|0]=j}e=e+1|0;if(i>>>0>e>>>0?j:0){continue}break}if(!(!(I[f+21|0]&2)|!(I[f+12|0]&4))){Y=f,Z=pd(H[f+28>>2],d,e),H[Y+28>>2]=Z}d=d+e|0;i=i-e|0;if(!j){break cb}break i}c=H[f+36>>2];if(!c){break cb}H[c+36>>2]=0}H[f+4>>2]=16188}j=H[f+20>>2];if(j&512){eb:{if(g>>>0>15){e=d;break eb}if(!i){break e}c=g+8|0;e=d+1|0;k=i-1|0;h=(I[d|0]<>>0>7){i=k;g=c;break eb}if(!k){d=e;i=0;g=c;c=o;break c}g=g+16|0;e=d+2|0;i=i-2|0;h=(I[d+1|0]<>1]==(h|0))){H[a+24>>2]=238770;H[f+4>>2]=16209;d=e;e=H[f+4>>2];continue}h=0;g=0;d=e}c=H[f+36>>2];if(c){H[c+48>>2]=1;H[c+44>>2]=j>>>9&1}c=pd(0,0,0);H[f+28>>2]=c;H[a+48>>2]=c;H[f+4>>2]=16191;e=H[f+4>>2];continue}i=0}k=o}c=k;break c}H[f+20>>2]=0;c=H[f+36>>2];if(c){H[c+48>>2]=-1}if(!(((e<<8&65280)+(e>>>8|0)>>>0)%31|0?0:l&1)){H[a+24>>2]=238669;H[f+4>>2]=16209;h=e;e=H[f+4>>2];continue}if((e&15)!=8){H[a+24>>2]=239013;H[f+4>>2]=16209;h=e;e=H[f+4>>2];continue}h=e>>>4|0;l=h&15;k=l+8|0;j=l>>>0<=7;c=H[f+40>>2];if(!c){H[f+40>>2]=k;c=k}if(!(c>>>0>=k>>>0&j)){g=g-4|0;H[a+24>>2]=238827;H[f+4>>2]=16209;e=H[f+4>>2];continue}H[f+24>>2]=256<>2]=c;H[a+48>>2]=c;H[f+4>>2]=e&8192?16189:16191;g=0;e=H[f+4>>2];continue}fb:{if(!(!e|!H[f+20>>2])){gb:{if(g>>>0>31){e=d;break gb}if(!i){break e}c=g+8|0;e=d+1|0;k=i-1|0;h=(I[d|0]<>>0>23){i=k;g=c;break gb}if(!k){d=e;i=0;g=c;c=o;break c}k=g+16|0;e=d+2|0;j=i-2|0;h=(I[d+1|0]<>>0>15){i=j;g=k;break gb}if(!j){d=e;i=0;g=k;c=o;break c}c=g+24|0;e=d+3|0;j=i-3|0;h=(I[d+2|0]<>>0>7){i=j;g=c;break gb}if(!j){d=e;i=0;g=c;c=o;break c}g=g+32|0;e=d+4|0;i=i-4|0;h=(I[d+3|0]<>2]!=(h|0)){break fb}d=e;g=0;h=0}H[f+4>>2]=16208;c=1;break c}H[a+24>>2]=238692;H[f+4>>2]=16209;d=e;e=H[f+4>>2];continue}break}i=0;c=o}H[a+16>>2]=n;H[a+12>>2]=p;H[a+4>>2]=i;H[a>>2]=d;H[f+64>>2]=g;H[f+60>>2]=h;hb:{ib:{jb:{if(H[f+44>>2]){break jb}if((n|0)==(v|0)){break ib}d=H[f+4>>2];if(d>>>0>16208){break ib}if((b|0)!=4|d>>>0<=16205){break jb}break ib}k=v-n|0;h=H[a+28>>2];i=H[h+56>>2];kb:{if(!i){o=1;i=Ya[H[a+32>>2]](H[a+40>>2],1<>2],1)|0;H[h+56>>2]=i;if(!i){break kb}}e=H[h+44>>2];if(!e){H[h+48>>2]=0;H[h+52>>2]=0;e=1<>2];H[h+44>>2]=e}lb:{if(e>>>0<=k>>>0){mb(i,p-e|0,e);H[h+52>>2]=0;break lb}g=H[h+52>>2];d=e-g|0;e=d>>>0>>0;i=g+i|0;g=e?d:k;mb(i,p-k|0,g);if(e){d=k-g|0;mb(H[h+56>>2],p-d|0,d);H[h+52>>2]=d;break lb}o=0;d=g+H[h+52>>2]|0;e=d;d=H[h+44>>2];H[h+52>>2]=(e|0)==(d|0)?0:e;e=d;d=H[h+48>>2];if(e>>>0<=d>>>0){break kb}H[h+48>>2]=d+g;break kb}H[h+48>>2]=H[h+44>>2];o=0}if(o){break hb}n=H[a+16>>2];i=H[a+4>>2]}H[a+8>>2]=H[a+8>>2]+(C-i|0);e=v-n|0;H[a+20>>2]=e+H[a+20>>2];H[f+32>>2]=e+H[f+32>>2];if(!(!(I[f+12|0]&4)|(n|0)==(v|0))){g=H[a+12>>2]-e|0;d=H[f+28>>2];mb:{if(H[f+20>>2]){d=pd(d,g,e);break mb}d=wh(d,g,e)}H[f+28>>2]=d;H[a+48>>2]=d}d=a;a=H[f+4>>2];H[d+44>>2]=((H[f+64>>2]+((H[f+8>>2]!=0)<<6)|0)+(((a|0)==16191)<<7)|0)+((a|0)==16199?256:((a|0)==16194)<<8);a=c?c:-5;y=(b|0)==4?a:(i|0)==(C|0)?(n|0)==(v|0)?a:c:c;break a}H[f+4>>2]=16210}y=-4}Wa=s+16|0;return y}function gr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=0;if(!(I[b+16|0]&16)){H[b+72>>2]=0;H[b+64>>2]=0;F[b+61|0]=1;F[b+62|0]=0;H[b+84>>2]=H[b+80>>2];g=H[b+68>>2];a:{b:{c:{a=H[b+44>>2];if((a|0)<=1332902240){if((a|0)>1198879348){break c}if((a|0)>1147500128){break b}if((a|0)!=1113943655){if((a|0)!=1114792296){break a}H[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!I[b+60|0]){break a}f=69688;d:{e:{f:{g:{h:{e=H[b+80>>2];switch(H[e+N(c,20)>>2]-69637|0){case 0:break f;case 10:break g;case 6:break h;default:break e}}f=69694;break f}f=69698}d=H[e+N(a,20)>>2];i:{if(I[b+61|0]){j:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break j}}if(!qb(b,1,1)){break i}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=(f|0)){break d}Cc(b);break d}if(I[b+61|0]){k:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break k}}if(!qb(b,1,1)){break d}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!I[b+60|0]){break a}f=2494;l:{m:{n:{o:{p:{e=H[b+80>>2];switch(H[e+N(c,20)>>2]-2437|0){case 0:break n;case 7:break o;case 6:break p;default:break m}}f=2499;break n}f=2530}d=H[e+N(a,20)>>2];q:{if(I[b+61|0]){r:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break r}}if(!qb(b,1,1)){break q}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=(f|0)){break l}Cc(b);break l}if(I[b+61|0]){s:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break s}}if(!qb(b,1,1)){break l}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}if((a|0)<=1415671147){t:{u:{switch(a-1399418468|0){default:if((a|0)==1332902241){break t}if((a|0)!=1415670642){break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}v:{w:{x:{y:{z:{A:{e=H[b+80>>2];switch(H[e+N(c,20)>>2]-71296|0){case 6:break z;case 0:break A;default:break x}}a=H[e+N(f,20)>>2]-71341|0;if(a>>>0>8|!(1<>2]){a=c;if(H[b+72>>2]==(c|0)){break B}}if(!qb(b,1,1)){break y}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;Cc(b);break v}d=H[e+N(f,20)>>2];C:{if(I[b+61|0]){D:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break D}}if(!qb(b,1,1)){break C}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=71346){break v}}Cc(b);break v}if(I[b+61|0]){E:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break E}}if(!qb(b,1,1)){break v}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break v}if(I[b+61|0]){F:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break F}}if(!qb(b,1,1)){break v}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break};break a;case 0:H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}G:{H:{d=H[b+80>>2];if(H[d+N(c,20)>>2]==70320){a=H[d+N(f,20)>>2];if(a-70373>>>0>=4&(a|0)!=70368){break H}I:{if(I[b+61|0]){J:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break J}}if(!qb(b,1,1)){break I}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}Cc(b);break G}if(I[b+61|0]){K:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break K}}if(!qb(b,1,1)){break G}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break G}if(I[b+61|0]){L:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break L}}if(!qb(b,1,1)){break G}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break};break a;case 1:case 2:case 3:break a;case 4:break u}}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}M:{N:{O:{P:{Q:{R:{S:{T:{U:{d=H[b+80>>2];switch(H[d+N(c,20)>>2]-3461|0){case 0:break R;case 12:break S;case 8:break T;case 6:case 10:case 15:break U;default:break O}}a=H[d+N(f,20)>>2]==3551;break Q}a=H[d+N(f,20)>>2]==3544;break Q}a=H[d+N(f,20)>>2]-3530|0;if(a>>>0>20|!(1<>2]){a=c;if(H[b+72>>2]==(c|0)){break V}}if(!qb(b,1,1)){break P}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;Cc(b);break M}a=H[d+N(f,20)>>2]-3535>>>0<3}W:{if(I[b+61|0]){X:{if((d|0)==H[b+84>>2]){d=c;if(H[b+72>>2]==(c|0)){break X}}if(!qb(b,1,1)){break W}d=H[b+80>>2]+N(H[b+64>>2],20)|0;c=H[d+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=c;H[e+16>>2]=H[d+16>>2];c=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=c;c=H[b+64>>2];d=H[b+72>>2]}H[b+72>>2]=d+1}H[b+64>>2]=c+1}if(!a){break M}}Cc(b);break M}if(I[b+61|0]){Y:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Y}}if(!qb(b,1,1)){break M}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break M}Ld(b)}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!I[b+60|0]){break a}f=2878;Z:{_:{$:{aa:{e=H[b+80>>2];switch(H[e+N(c,20)>>2]-2821|0){case 0:break $;case 10:case 14:break aa;default:break _}}f=2903}d=H[e+N(a,20)>>2];ba:{if(I[b+61|0]){ca:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break ca}}if(!qb(b,1,1)){break ba}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=(f|0)){break Z}Cc(b);break Z}if(I[b+61|0]){da:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break da}}if(!qb(b,1,1)){break Z}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}if((a|0)!=1415671148){if((a|0)!=1415933045){if((a|0)!=1416196712){break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}ea:{fa:{ga:{ha:{ia:{ja:{ka:{d=H[b+80>>2];a=H[d+N(c,20)>>2];switch(a-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break ha;case 10:case 12:break ja;case 0:break ka;default:break ia}}a=H[d+N(f,20)>>2]==70832;break fa}a=H[d+N(f,20)>>2]==70842;break fa}if((a|0)==70826){break ga}}if(I[b+61|0]){la:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break la}}if(!qb(b,1,1)){break ea}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break ea}a=H[d+N(f,20)>>2]-70837>>>0<2}ma:{if(I[b+61|0]){na:{if((d|0)==H[b+84>>2]){d=c;if(H[b+72>>2]==(c|0)){break na}}if(!qb(b,1,1)){break ma}d=H[b+80>>2]+N(H[b+64>>2],20)|0;c=H[d+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=c;H[e+16>>2]=H[d+16>>2];c=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=c;c=H[b+64>>2];d=H[b+72>>2]}H[b+72>>2]=d+1}H[b+64>>2]=c+1}if(!a){break ea}Cc(b)}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}oa:{pa:{e=H[b+80>>2];d=H[e+N(c,20)>>2];a=d-3135|0;qa:{if(!(a>>>0>11|!(1<>2]==3157;break qa}if((d|0)!=3090){break pa}a=H[e+N(f,20)>>2];a=(a|0)==3148|(a|0)==3157}ra:{if(I[b+61|0]){sa:{if((e|0)==H[b+84>>2]){d=c;if(H[b+72>>2]==(c|0)){break sa}}if(!qb(b,1,1)){break ra}d=H[b+80>>2]+N(H[b+64>>2],20)|0;c=H[d+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=c;H[e+16>>2]=H[d+16>>2];c=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=c;c=H[b+64>>2];d=H[b+72>>2]}H[b+72>>2]=d+1}H[b+64>>2]=c+1}if(!a){break oa}Cc(b);break oa}if(I[b+61|0]){ta:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break ta}}if(!qb(b,1,1)){break oa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}a=H[b+80>>2];ua:{if(H[a+N(c,20)>>2]==2949){d=H[a+N(f,20)>>2];va:{if(I[b+61|0]){wa:{if((a|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break wa}}if(!qb(b,1,1)){break va}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=3010){break ua}Cc(b);break ua}if(I[b+61|0]){xa:{if((a|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break xa}}if(!qb(b,1,1)){break ua}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}if((a|0)<=1298954604){if((a|0)!=1198879349){if((a|0)!=1265525857){break a}H[b+64>>2]=0;if(g>>>0<2){break a}a=1;while(1){if(!I[b+60|0]){break a}f=3262;ya:{za:{Aa:{Ba:{e=H[b+80>>2];switch(H[e+N(c,20)>>2]-3209|0){case 0:case 2:break Aa;case 9:break Ba;default:break za}}f=3276}d=H[e+N(a,20)>>2];Ca:{if(I[b+61|0]){Da:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Da}}if(!qb(b,1,1)){break Ca}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=(f|0)){break ya}Cc(b);break ya}if(I[b+61|0]){Ea:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Ea}}if(!qb(b,1,1)){break ya}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];a=c+1|0;if(g>>>0>a>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{d=H[b+80>>2];a=H[d+N(c,20)>>2];switch(a-2674|0){case 1:break Pa;case 0:break Qa;default:break Ra}}if((a|0)!=2565){break Ja}a=H[d+N(f,20)>>2]-2622|0;if(a>>>0>14|!(1<>2]){a=c;if(H[b+72>>2]==(c|0)){break Ma}}if(qb(b,1,1)){break Na}break Ka}a=H[d+N(f,20)>>2]-2623|0;if(a>>>0>8|!(1<>2]-2625|0;if(a>>>0>10|!(1<>2]){a=c;if(H[b+72>>2]==(c|0)){break Ma}}if(qb(b,1,1)){break Na}break Ka}if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Ma}}if(!qb(b,1,1)){break Ka}}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+72>>2];a=H[b+64>>2]}H[b+72>>2]=c+1}H[b+64>>2]=a+1}Cc(b);break Fa}if(I[b+61|0]){Sa:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Sa}}if(!qb(b,1,1)){break Fa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break Fa}if(I[b+61|0]){Ta:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Ta}}if(!qb(b,1,1)){break Fa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break Fa}if(I[b+61|0]){Ua:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Ua}}if(!qb(b,1,1)){break Fa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break Fa}if(I[b+61|0]){Va:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Va}}if(!qb(b,1,1)){break Fa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}if((a|0)!=1298954605){if((a|0)!=1299145833){break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}a=H[b+80>>2];Wa:{if((H[a+N(c,20)>>2]&-2)==71168){d=H[a+N(f,20)>>2]-71225|0;Xa:{if(I[b+61|0]){Ya:{if((a|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Ya}}if(!qb(b,1,1)){break Xa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if(d>>>0>1){break Wa}Cc(b);break Wa}if(I[b+61|0]){Za:{if((a|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Za}}if(!qb(b,1,1)){break Wa}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}_a:{$a:{ab:{bb:{cb:{db:{d=H[b+80>>2];switch(H[d+N(c,20)>>2]-3335|0){case 11:break bb;case 7:break cb;case 0:case 2:break db;default:break $a}}a=H[d+N(f,20)>>2]==3415;break ab}a=H[d+N(f,20)>>2]==3398;break ab}a=H[d+N(f,20)>>2];a=(a|0)==3390|(a|0)==3415}eb:{if(I[b+61|0]){fb:{if((d|0)==H[b+84>>2]){d=c;if(H[b+72>>2]==(c|0)){break fb}}if(!qb(b,1,1)){break eb}d=H[b+80>>2]+N(H[b+64>>2],20)|0;c=H[d+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=c;H[e+16>>2]=H[d+16>>2];c=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=c;c=H[b+64>>2];d=H[b+72>>2]}H[b+72>>2]=d+1}H[b+64>>2]=c+1}if(!a){break _a}Cc(b);break _a}if(I[b+61|0]){gb:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break gb}}if(!qb(b,1,1)){break _a}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}if((a|0)!=1147500129){if((a|0)!=1198877298){break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}hb:{ib:{jb:{e=H[b+80>>2];a=H[e+N(c,20)>>2];kb:{if((a|0)!=2757){if((a|0)!=2693){break jb}a=H[e+N(f,20)>>2]-2750|0;if(a>>>0>14|!(1<>2]){a=c;if(H[b+72>>2]==(c|0)){break lb}}if(!qb(b,1,1)){break kb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;Cc(b);break hb}d=H[e+N(f,20)>>2];mb:{if(I[b+61|0]){nb:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break nb}}if(!qb(b,1,1)){break mb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=a;H[e+16>>2]=H[c+16>>2];a=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1}if((d|0)!=2750){break hb}}Cc(b);break hb}if(I[b+61|0]){ob:{if((e|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break ob}}if(!qb(b,1,1)){break hb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break hb}Ld(b)}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}break a}H[b+64>>2]=0;if(g>>>0<2){break a}f=1;while(1){if(!I[b+60|0]){break a}pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{d=H[b+80>>2];switch(H[d+N(c,20)>>2]-2309|0){case 4:break xb;case 43:break yb;case 10:break zb;case 1:break Ab;case 0:break Bb;default:break ub}}a=H[d+N(f,20)>>2]-2362|0;if(a>>>0>29|!(1<>2]){a=c;if(H[b+72>>2]==(c|0)){break Cb}}if(!qb(b,1,1)){break vb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;Cc(b);break pb}a=H[d+N(f,20)>>2];if(a-2373>>>0>=4&(a|0)!=2362){break rb}if(I[b+61|0]){Db:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Db}}if(!qb(b,1,1)){break vb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;Cc(b);break pb}a=H[d+N(f,20)>>2]-2373>>>0<3;break wb}if(H[d+N(f,20)>>2]!=2381){break sb}a=c+2|0;if(a>>>0>=g>>>0){break tb}a=H[d+N(a,20)>>2];Ld(b);if((a|0)!=2311){break pb}Ld(b);Cc(b);break pb}a=H[d+N(f,20)>>2]==2369}Eb:{if(I[b+61|0]){Fb:{if((d|0)==H[b+84>>2]){d=c;if(H[b+72>>2]==(c|0)){break Fb}}if(!qb(b,1,1)){break Eb}d=H[b+80>>2]+N(H[b+64>>2],20)|0;c=H[d+4>>2];e=H[b+84>>2]+N(H[b+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=c;H[e+16>>2]=H[d+16>>2];c=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=c;c=H[b+64>>2];d=H[b+72>>2]}H[b+72>>2]=d+1}H[b+64>>2]=c+1}if(!a){break pb}}Cc(b);break pb}if(I[b+61|0]){Gb:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Gb}}if(!qb(b,1,1)){break pb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break pb}Ld(b);break pb}if(I[b+61|0]){Hb:{if((d|0)==H[b+84>>2]){a=c;if(H[b+72>>2]==(c|0)){break Hb}}if(!qb(b,1,1)){break pb}c=H[b+80>>2]+N(H[b+64>>2],20)|0;a=H[c+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[c>>2];H[d+4>>2]=a;H[d+16>>2]=H[c+16>>2];a=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=a;c=H[b+64>>2];a=H[b+72>>2]}H[b+72>>2]=a+1}H[b+64>>2]=c+1;break pb}Ld(b);break pb}Ld(b)}c=H[b+64>>2];f=c+1|0;if(g>>>0>f>>>0){continue}break}}ad(b)}}function Mu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;m=Wa-80|0;Wa=m;a:{b:{switch(I[a+7|0]){case 0:c=H[b+4>>2];if(!(F[c+152|0]&1)){break a}g=I[a+4|0];if(g&16){break a}H[m+8>>2]=a;h=1;H[m+12>>2]=b;F[m+68|0]=g>>>6&1;H[m+64>>2]=m+8;o=m- -64|0;q=H[c+144>>2];p=Wa-160|0;Wa=p;j=H[b+16>>2];i=H[b+8>>2];if(Fb(j,i,106210,0)){if(I[j+16|0]&64){Qb(j,2,0,-1,1,0)}b=id(p+8|0,1,i,j);H[b+120>>2]=q;H[b+132>>2]=8;H[b+36>>2]=0;H[b+8>>2]=b;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+52>>2]=b;H[b+20>>2]=q;F[b+17|0]=I[b+142|0];H[b+12>>2]=8;H[b+72>>2]=0;H[b+76>>2]=0;H[b- -64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=8;a=H[b+124>>2]==1;F[b+16|0]=a;F[b+60|0]=a|I[b+141|0]!=0;g=H[j+68>>2];if(g){k=b+4|0;l=H[j+88>>2];w=H[j+80>>2];A=(H[j+40>>2]&-2)!=4;while(1){c:{d:{t=N(e,20);c=t+w|0;if(!(q&H[c+4>>2])){break d}H[b+40>>2]=1;H[b+4>>2]=e;a=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[a+68>>2];F[b+24|0]=H[a+64>>2]==(e|0)?I[(t+H[a+80>>2]|0)+15|0]:0;if(!Pc(k,p+4|0)){break d}a=H[o>>2];d=H[a>>2];z=H[c>>2];B=H[k>>2];n=N(B,20);v=H[n+w>>2];f=H[a+4>>2];c=0;r=163632;a=I[d+12|0]|I[d+13|0]<<8|(I[d+14|0]<<16|I[d+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e:{if((a|0)<=0){break e}a=a-1|0;while(1){f:{g:{h:{s=a+c>>>1|0;u=d+N(s,6)|0;y=I[u+28|0]|I[u+29|0]<<8;y=(y<<8|y>>>8)&65535;i:{if((y|0)==(z|0)){u=I[u+30|0]|I[u+31|0]<<8;u=(u<<8|u>>>8)&65535;if(u>>>0>v>>>0){break i}if((u|0)==(v|0)){break h}break g}if(z>>>0>=y>>>0){break g}}a=s-1|0;break f}r=(d+N(s,6)|0)+28|0;break e}c=s+1|0}if((a|0)>=(c|0)){continue}break}}a=I[r+4|0]|I[r+5|0]<<8;c=(a<<8|a>>>8)<<16>>16;a=c;j:{if(!f){break j}a=c;r=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);r=r<<24|r<<8&16711680|(r>>>8&65280|r>>>24);if(!r){break j}a=0;k:{if(r>>>0>2147483646){break k}c=c+d|0;if(c>>>0>2]){break k}d=H[f+28>>2];if(d>>>0>>0){break k}x=d-c|0;d=r<<1;if(x>>>0>>0){break k}d=H[f+32>>2]-d|0;H[f+32>>2]=d;if((d|0)<=0){break k}a=I[c|0]|I[c+1|0]<<8;a=(a<<8|a>>>8)<<16>>16}}if(a){l:{if(!A){a=a<<16;d=a>>31;a=HM(H[i+40>>2],H[i+44>>2],a>>16,d)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;if(I[o+4|0]){H[(l+n|0)+12>>2]=a;H[j+144>>2]=H[j+144>>2]|8;break l}c=l+t|0;d=a>>1;H[c>>2]=d+H[c>>2];c=l+n|0;a=a-d|0;H[c>>2]=a+H[c>>2];H[c+8>>2]=a+H[c+8>>2];break l}a=a<<16;f=a>>31;a=HM(H[i+48>>2],H[i+52>>2],a>>16,f)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;if(I[o+4|0]){H[(l+n|0)+8>>2]=a;H[j+144>>2]=H[j+144>>2]|8;break l}c=l+t|0;d=a>>1;H[c+4>>2]=d+H[c+4>>2];c=l+n|0;a=a-d|0;H[c+4>>2]=a+H[c+4>>2];H[c+12>>2]=a+H[c+12>>2]}Ad(j,e,B+1|0)}e=H[k>>2];break c}e=e+1|0}if(g>>>0>e>>>0){continue}break}}Fb(j,i,106229,0)}Wa=p+160|0;break a;case 1:g=I[a+4|0];c=F[H[b+4>>2]+152|0]&1|g&64;n=!c;if(c){H[m+12>>2]=a;H[m+8>>2]=b;c=I[a+28|0]|I[a+29|0]<<8|(I[a+30|0]<<16|I[a+31|0]<<24);H[m+52>>2]=0;F[m+56|0]=g>>>6&1;a=a+12|0;H[m+16>>2]=a+(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24));c=H[H[b+8>>2]+16>>2];H[m+68>>2]=H[b+16>>2];H[m+64>>2]=a;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[m+72>>2]=a;g=m+8|0;j=m- -64|0;a=H[j+4>>2];H[a+64>>2]=0;m:{if(!I[a+60|0]){break m}while(1){b=0;n:{if(K[a+68>>2]<=e>>>0){break n}c=H[H[a+80>>2]+N(e,20)>>2];b=2;if((c|0)==65535){break n}a=H[j>>2];e=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=Sc((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))+a|0,c,H[j+8>>2]);b=1;if(!a){break n}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=H[j>>2];e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=c>>>0>b>>>0;o=N(c,h);e=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);f=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=((d?b:1)+o<<1)+f|0;e=I[e|0]|I[e+1|0]<<8;k=N((e<<8|e>>>8)&65535,6);e=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);l=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=k+l|0;i=I[e|0]|I[e+1|0]<<8;o:{p:{if((I[e+4|0]|I[e+5|0]<<8)!=65535){break p}q:{if(!h){break q}h=I[e+2|0]|I[e+3|0]<<8;if(!(h&64?i:1)){break q}a=f+((d?b:1)<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=l+N((a<<8|a>>>8)&65535,6)|0;if((I[a+4|0]|I[a+5|0]<<8)!=65535|(i|0)!=(I[a|0]|I[a+1|0]<<8)|(h^(I[a+2|0]|I[a+3|0]<<8))&64){break p}}a=f+(o+!c<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=l+N((a<<8|a>>>8)&65535,6)|0;if((I[a+4|0]|I[a+5|0]<<8)==65535){break o}}a=H[j+4>>2];b=H[a+64>>2];h=I[a+61|0]?H[a+72>>2]:b;if(!h|b>>>0>=K[a+68>>2]){break o}Qb(a,3,h-1|0,b+1|0,1,1)}a=I[e+2|0]|I[e+3|0]<<8;a=a<<8|a>>>8;h=a&65535;b=H[j+4>>2];if(a&8192){H[g+44>>2]=0}r:{if(!(h&32768)){break r}a=H[g+44>>2];if(a>>>0<=7){h=H[b+64>>2];H[g+44>>2]=a+1;H[(g+(a<<2)|0)+12>>2]=h;break r}H[g+44>>2]=0}h=I[e+4|0]|I[e+5|0]<<8;s:{if((h|0)==65535){break s}c=H[g+44>>2];if(!c){break s}t:{a=H[g+4>>2];a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=a>>>0>1?a:1;u:{if(4294967295/(d>>>0)>>>0<=c>>>0){break u}f=N(c,d);if(f>>>0>2147483646){break u}h=H[g+8>>2]+((h<<8|h>>>8)&65534)|0;a=H[g>>2];if(!f){break t}if(K[a+24>>2]>h>>>0){break u}l=H[a+28>>2];if(l>>>0>>0){break u}f=f<<1;if(f>>>0>l-h>>>0){break u}f=H[a+32>>2]-f|0;H[a+32>>2]=f;if((f|0)>0){break t}}H[g+44>>2]=0;break s}l=H[H[a+4>>2]+144>>2];o=d<<1;while(1){c=c-1|0;H[g+44>>2]=c;d=H[(g+(c<<2)|0)+12>>2];if(d>>>0>2]){a=I[h|0]|I[h+1|0]<<8;c=(a<<8|a>>>8)<<16>>16;a=c&-2;q=c&1;f=I[g+48|0];c=H[b+88>>2];v:{if((H[b+40>>2]&-2)==4){if(f){c=c+N(d,20)|0;if((a|0)==-32768){G[c+16>>1]=0;F[c+18|0]=0;H[c+12>>2]=0;break v}if(!I[c+18|0]){break v}k=c;d=H[c+12>>2];c=H[H[g>>2]+8>>2];a=HM(H[c+48>>2],H[c+52>>2],a,a>>31)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;H[k+12>>2]=d+((c&65535)<<16|a>>>16);H[b+144>>2]=H[b+144>>2]|8;break v}d=N(d,20);if(!(l&H[(d+H[b+80>>2]|0)+4>>2])){break v}c=c+d|0;d=H[H[g>>2]+8>>2];a=HM(H[d+40>>2],H[d+44>>2],a,a>>31)+32768|0;d=Xa;d=a>>>0<32768?d+1|0:d;a=(d&65535)<<16|a>>>16;H[c>>2]=a+H[c>>2];H[c+8>>2]=a+H[c+8>>2];break v}if(f){c=c+N(d,20)|0;if((a|0)==-32768){G[c+16>>1]=0;F[c+18|0]=0;H[c+8>>2]=0;break v}if(!I[c+18|0]){break v}k=c;d=H[c+8>>2];c=H[H[g>>2]+8>>2];c=HM(H[c+40>>2],H[c+44>>2],a,a>>31)+32768|0;a=Xa;a=c>>>0<32768?a+1|0:a;H[k+8>>2]=d+((a&65535)<<16|c>>>16);H[b+144>>2]=H[b+144>>2]|8;break v}d=N(d,20);if(!(l&H[(d+H[b+80>>2]|0)+4>>2])){break v}c=c+d|0;d=H[H[g>>2]+8>>2];a=HM(H[d+48>>2],H[d+52>>2],a,a>>31)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;H[c+4>>2]=a+H[c+4>>2];H[c+12>>2]=a+H[c+12>>2]}if(q){break s}c=H[g+44>>2]}h=h+o|0;if(c){continue}break}}a=H[j+4>>2];h=H[a+64>>2];if((h|0)==H[a+68>>2]|!I[a+60|0]){break m}w:{if(I[e+2|0]&64){b=H[a+152>>2];H[a+152>>2]=b-1;if((b|0)>0){break w}}if(I[a+61|0]){x:{if(H[a+84>>2]==H[a+80>>2]){b=h;if(H[a+72>>2]==(b|0)){break x}}if(!qb(a,1,1)){break w}e=H[a+80>>2]+N(H[a+64>>2],20)|0;h=H[e+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[e>>2];H[b+4>>2]=h;H[b+16>>2]=H[e+16>>2];h=H[e+12>>2];H[b+8>>2]=H[e+8>>2];H[b+12>>2]=h;h=H[a+64>>2];b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=h+1}a=H[j+4>>2];if(!I[a+60|0]){break m}h=(i<<8|i>>>8)&65535;e=H[a+64>>2];continue}}}h=!n;break a;case 2:c=H[b+4>>2];if(!(F[c+152|0]&1)){break a}g=I[a+4|0];if(g&16){break a}H[m+8>>2]=a;h=1;H[m+12>>2]=b;F[m+68|0]=g>>>6&1;H[m+64>>2]=m+8;q=m- -64|0;p=H[c+144>>2];k=Wa-160|0;Wa=k;j=H[b+16>>2];l=H[b+8>>2];if(Fb(j,l,106210,0)){if(I[j+16|0]&64){Qb(j,2,0,-1,1,0)}b=id(k+8|0,1,l,j);H[b+120>>2]=p;H[b+132>>2]=8;H[b+36>>2]=0;H[b+8>>2]=b;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+52>>2]=b;H[b+20>>2]=p;F[b+17|0]=I[b+142|0];H[b+12>>2]=8;H[b+72>>2]=0;H[b+76>>2]=0;H[b- -64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=8;a=H[b+124>>2]==1;F[b+16|0]=a;F[b+60|0]=a|I[b+141|0]!=0;g=H[j+68>>2];if(g){t=b+4|0;n=H[j+88>>2];u=H[j+80>>2];z=(H[j+40>>2]&-2)!=4;while(1){y:{z:{r=N(e,20);c=r+u|0;if(!(p&H[c+4>>2])){break z}H[b+40>>2]=1;H[b+4>>2]=e;a=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[a+68>>2];F[b+24|0]=H[a+64>>2]==(e|0)?I[(r+H[a+80>>2]|0)+15|0]:0;if(!Pc(t,k+4|0)){break z}v=H[t>>2];o=N(v,20);w=H[o+u>>2];i=0;s=0;f=H[q>>2];d=H[f>>2];a=I[d+16|0]|I[d+17|0]<<8|(I[d+18|0]<<16|I[d+19|0]<<24);x=H[c>>2];f=H[f+4>>2];c=H[f+56>>2];a=Sc((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+d|0,x,c);if(a){a=I[a|0]|I[a+1|0]<<8;s=(a<<8|a>>>8)&65535}a=I[d+20|0]|I[d+21|0]<<8|(I[d+22|0]<<16|I[d+23|0]<<24);a=Sc(d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0,w,c);if(a){a=I[a|0]|I[a+1|0]<<8;i=(a<<8|a>>>8)&65535}c=0;A=H[f+24>>2];a=I[d+24|0]|I[d+25|0]<<8|(I[d+26|0]<<16|I[d+27|0]<<24);a=(d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)+(i+s<<1)|0;A:{B:{if(A>>>0>a>>>0){break B}i=H[f+28>>2];if(i>>>0>>0|i-a>>>0<2){break B}w=H[f+32>>2]-2|0;H[f+32>>2]=w;if((w|0)<=0){break B}a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;s=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);s=s<<24|s<<8&16711680|(s>>>8&65280|s>>>24);if(!s){break A}if(s>>>0>2147483646){break B}a=a+d|0;if(a>>>0>>0|a>>>0>i>>>0){break B}d=s<<1;if(d>>>0>i-a>>>0){break B}d=w-d|0;H[f+32>>2]=d;if((d|0)<=0){break B}a=I[a|0]|I[a+1|0]<<8;c=(a<<8|a>>>8)<<16>>16}a=c}if(a){C:{if(!z){a=a<<16;f=a>>31;a=HM(H[l+40>>2],H[l+44>>2],a>>16,f)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(I[q+4|0]){H[(n+o|0)+12>>2]=a;H[j+144>>2]=H[j+144>>2]|8;break C}c=n+r|0;d=a>>1;H[c>>2]=d+H[c>>2];c=n+o|0;a=a-d|0;H[c>>2]=a+H[c>>2];H[c+8>>2]=a+H[c+8>>2];break C}a=a<<16;c=a>>31;a=HM(H[l+48>>2],H[l+52>>2],a>>16,c)+32768|0;d=Xa;d=a>>>0<32768?d+1|0:d;a=(d&65535)<<16|a>>>16;if(I[q+4|0]){H[(n+o|0)+8>>2]=a;H[j+144>>2]=H[j+144>>2]|8;break C}c=n+r|0;d=a>>1;H[c+4>>2]=d+H[c+4>>2];c=n+o|0;a=a-d|0;H[c+4>>2]=a+H[c+4>>2];H[c+12>>2]=a+H[c+12>>2]}Ad(j,e,v+1|0)}e=H[t>>2];break y}e=e+1|0}if(g>>>0>e>>>0){continue}break}}Fb(j,l,106229,0)}Wa=k+160|0;break a;case 4:H[m+8>>2]=b;H[m+12>>2]=I[a+28|0]>>>6;c=I[a+31|0];g=I[a+30|0];d=I[a+29|0];H[m+24>>2]=0;F[m+20|0]=0;a=a+12|0;H[m+16>>2]=a+(c|(g<<8|d<<16));c=H[H[b+8>>2]+16>>2];H[m+68>>2]=H[b+16>>2];H[m+64>>2]=a;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[m+72>>2]=a;g=m+8|0;l=m- -64|0;a=H[l+4>>2];H[a+64>>2]=0;D:{if(!I[a+60|0]){break D}while(1){b=0;E:{if(K[a+68>>2]<=e>>>0){break E}c=H[H[a+80>>2]+N(e,20)>>2];b=2;if((c|0)==65535){break E}a=H[l>>2];e=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=Sc((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))+a|0,c,H[l+8>>2]);b=1;if(!a){break E}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=H[l>>2];e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=c>>>0>b>>>0;i=N(c,h);e=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);f=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=((d?b:1)+i<<1)+f|0;e=I[e|0]|I[e+1|0]<<8;k=N((e<<8|e>>>8)&65535,6);e=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);e=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;j=k+e|0;n=I[j|0]|I[j+1|0]<<8;F:{G:{if((I[j+4|0]|I[j+5|0]<<8)!=65535){break G}H:{if(!h){break H}h=I[j+2|0]|I[j+3|0]<<8;if(!(h&64?n:1)){break H}a=f+((d?b:1)<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=e+N((a<<8|a>>>8)&65535,6)|0;if((I[a+4|0]|I[a+5|0]<<8)!=65535|(n|0)!=(I[a|0]|I[a+1|0]<<8)|(h^(I[a+2|0]|I[a+3|0]<<8))&64){break G}}a=f+(i+!c<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=e+N((a<<8|a>>>8)&65535,6)|0;if((I[a+4|0]|I[a+5|0]<<8)==65535){break F}}a=H[l+4>>2];b=H[a+64>>2];e=I[a+61|0]?H[a+72>>2]:b;if(!e|b>>>0>=K[a+68>>2]){break F}Qb(a,3,e-1|0,b+1|0,1,1)}b=Wa-32|0;Wa=b;h=H[l+4>>2];I:{J:{if(!I[g+12|0]){break J}a=I[j+4|0]|I[j+5|0]<<8;if((a|0)==65535){break J}o=H[h+64>>2];if(o>>>0>=K[h+68>>2]){break J}c=(a<<8|a>>>8)&65535;q=H[h+88>>2];K:{L:{switch(H[g+4>>2]){case 0:a=H[g+8>>2]+(c<<2)|0;e=H[g>>2];if(a>>>0>2]){break I}c=H[e+28>>2];if(c>>>0>>0|c-a>>>0<4){break I}c=H[e+32>>2]-4|0;H[e+32>>2]=c;if((c|0)<=0){break I}f=I[a+2|0]|I[a+3|0]<<8;c=I[a|0]|I[a+1|0]<<8;H[b+12>>2]=0;H[b+8>>2]=0;d=H[H[H[e+16>>2]+80>>2]+N(H[g+16>>2],20)>>2];a=H[e+8>>2];H[b+20>>2]=0;H[b+16>>2]=0;e=H[a+80>>2];if(!(Ya[H[e+212>>2]](a,H[a+84>>2],d,(c<<8|c>>>8)&65535,b+20|0,b+16|0,H[e+68>>2])|0)){break I}Ee(a,d,b+28|0,b+24|0);H[b+20>>2]=H[b+20>>2]-H[b+28>>2];H[b+16>>2]=H[b+16>>2]-H[b+24>>2];a=H[g>>2];e=H[a+8>>2];a=H[a+16>>2];i=H[H[a+80>>2]+N(H[a+64>>2],20)>>2];a=Wa-16|0;Wa=a;c=b+8|0;H[c>>2]=0;d=b+12|0;H[d>>2]=0;k=(f<<8|(f&65280)>>>8)&65535;f=H[e+80>>2];f=Ya[H[f+212>>2]](e,H[e+84>>2],i,k,d,c,H[f+68>>2])|0;if(f){Ee(e,i,a+12|0,a+8|0);H[d>>2]=H[d>>2]-H[a+12>>2];H[c>>2]=H[c>>2]-H[a+8>>2]}Wa=a+16|0;if(!f){break I}a=q+N(o,20)|0;H[a+8>>2]=H[b+20>>2]-H[b+12>>2];H[a+12>>2]=H[b+16>>2]-H[b+8>>2];break K;case 1:a=H[g+8>>2]+(c<<2)|0;e=H[g>>2];if(a>>>0>2]){break I}c=H[e+28>>2];if(c>>>0>>0|c-a>>>0<4){break I}c=H[e+32>>2]-4|0;H[e+32>>2]=c;if((c|0)<=0){break I}f=I[a+2|0]|I[a+3|0]<<8;p=I[a|0]|I[a+1|0]<<8;i=163632;c=163632;a=H[e+64>>2];d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=Sc(d?a+d|0:164042,H[H[H[e+16>>2]+80>>2]+N(H[g+16>>2],20)>>2],H[e+56>>2]);if(d){e=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);c=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;a=I[d|0]|I[d+1|0]<<8;a=c+((a<<8|a>>>8)&65535)|0;e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=(p<<8|(p&65280)>>>8)&65535;c=(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))>>>0>c>>>0?(a+(c<<2)|0)+4|0:163632}d=H[g>>2];a=H[d+64>>2];e=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);k=e?a+e|0:164042;e=H[d+16>>2];d=Sc(k,H[H[e+80>>2]+N(H[e+64>>2],20)>>2],H[d+56>>2]);if(d){e=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);e=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;a=I[d|0]|I[d+1|0]<<8;a=e+((a<<8|a>>>8)&65535)|0;e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=(f<<8|f>>>8)&65535;i=(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))>>>0>d>>>0?(a+(d<<2)|0)+4|0:163632}e=H[H[g>>2]+8>>2];p=H[e+40>>2];a=H[e+44>>2];k=a;a=I[c|0]|I[c+1|0]<<8;a=(a<<8|a>>>8)<<16;d=a>>31;a=HM(p,k,a>>16,d)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;t=q+N(o,20)|0;x=(f&65535)<<16|a>>>16;a=I[i|0]|I[i+1|0]<<8;d=(a<<8|a>>>8)<<16;f=d>>31;a=HM(p,k,d>>16,f)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;H[t+8>>2]=x-((f&65535)<<16|a>>>16);a=H[e+52>>2];p=a;e=H[e+48>>2];a=I[c+2|0]|I[c+3|0]<<8;d=(a<<8|a>>>8)<<16;f=d>>31;a=HM(e,p,d>>16,f)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;k=(c&65535)<<16|a>>>16;a=I[i+2|0]|I[i+3|0]<<8;f=(a<<8|a>>>8)<<16;c=f>>31;e=HM(e,p,f>>16,c)+32768|0;a=Xa;a=e>>>0<32768?a+1|0:a;H[t+12>>2]=k-((a&65535)<<16|e>>>16);break K;case 2:break L;default:break K}}e=H[g+8>>2]+(c<<3)|0;a=H[g>>2];if(e>>>0>2]){break I}c=H[a+28>>2];if(c>>>0>>0|c-e>>>0<8){break I}c=H[a+32>>2]-8|0;H[a+32>>2]=c;if((c|0)<=0){break I}i=I[e+6|0]|I[e+7|0]<<8;p=I[e+2|0]|I[e+3|0]<<8;c=H[a+8>>2];d=H[c+40>>2];a=H[c+44>>2];k=a;a=I[e|0]|I[e+1|0]<<8;f=(a<<8|a>>>8)<<16;a=f>>31;a=HM(d,k,f>>16,a)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;t=q+N(o,20)|0;x=(f&65535)<<16|a>>>16;a=I[e+4|0]|I[e+5|0]<<8;a=(a<<8|a>>>8)<<16;f=a>>31;a=HM(d,k,a>>16,f)+32768|0;d=Xa;d=a>>>0<32768?d+1|0:d;H[t+8>>2]=x-((d&65535)<<16|a>>>16);a=H[c+52>>2];e=a;f=H[c+48>>2];a=(p<<8|p>>>8)<<16;d=a>>31;a=HM(f,e,a>>16,d)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;k=(c&65535)<<16|a>>>16;d=(i<<8|i>>>8)<<16;c=d>>31;a=HM(f,e,d>>16,c)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;H[t+12>>2]=k-((f&65535)<<16|a>>>16)}a=q+N(o,20)|0;F[a+18|0]=1;G[a+16>>1]=H[g+16>>2]-H[h+64>>2];H[h+144>>2]=H[h+144>>2]|8}if(!(I[j+2|0]&128)){break I}F[g+12|0]=1;H[g+16>>2]=H[h+64>>2]}Wa=b+32|0;a=H[l+4>>2];h=H[a+64>>2];if((h|0)==H[a+68>>2]|!I[a+60|0]){break D}M:{if(I[j+2|0]&64){b=H[a+152>>2];H[a+152>>2]=b-1;if((b|0)>0){break M}}if(I[a+61|0]){N:{if(H[a+84>>2]==H[a+80>>2]){b=h;if(H[a+72>>2]==(b|0)){break N}}if(!qb(a,1,1)){break M}e=H[a+80>>2]+N(H[a+64>>2],20)|0;h=H[e+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[e>>2];H[b+4>>2]=h;H[b+16>>2]=H[e+16>>2];h=H[e+12>>2];H[b+8>>2]=H[e+8>>2];H[b+12>>2]=h;h=H[a+64>>2];b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=h+1}a=H[l+4>>2];if(!I[a+60|0]){break D}h=(n<<8|n>>>8)&65535;e=H[a+64>>2];continue}}h=1;break a;case 6:break b;default:break a}}c=H[b+4>>2];if(!(F[c+152|0]&1)){break a}g=I[a+4|0];if(g&16){break a}H[m+8>>2]=a;h=1;H[m+12>>2]=b;F[m+68|0]=g>>>6&1;H[m+64>>2]=m+8;t=m- -64|0;r=H[c+144>>2];s=Wa-160|0;Wa=s;l=H[b+16>>2];o=H[b+8>>2];if(Fb(l,o,106210,0)){if(I[l+16|0]&64){Qb(l,2,0,-1,1,0)}c=id(s+8|0,1,o,l);H[c+120>>2]=r;H[c+132>>2]=8;H[c+36>>2]=0;H[c+8>>2]=c;H[c+28>>2]=0;H[c+32>>2]=0;H[c+80>>2]=0;H[c+52>>2]=c;H[c+20>>2]=r;F[c+17|0]=I[c+142|0];H[c+12>>2]=8;H[c+72>>2]=0;H[c+76>>2]=0;H[c- -64>>2]=-1;F[c+61|0]=1;H[c+56>>2]=8;a=H[c+124>>2]==1;F[c+16|0]=a;F[c+60|0]=a|I[c+141|0]!=0;j=H[l+68>>2];if(j){u=c+4|0;q=H[l+88>>2];z=H[l+80>>2];A=(H[l+40>>2]&-2)!=4;while(1){O:{P:{w=N(e,20);b=w+z|0;if(!(r&H[b+4>>2])){break P}H[c+40>>2]=1;H[c+4>>2]=e;a=H[H[c+8>>2]+100>>2];H[c+44>>2]=H[a+68>>2];F[c+24|0]=H[a+64>>2]==(e|0)?I[(w+H[a+80>>2]|0)+15|0]:0;if(!Pc(u,s+4|0)){break P}b=H[b>>2];B=H[u>>2];p=N(B,20);i=H[p+z>>2];g=0;d=H[t>>2];f=H[d>>2];a=I[f+20|0]|I[f+21|0]<<8|(I[f+22|0]<<16|I[f+23|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+f|0;n=H[d+4>>2];k=H[n+56>>2];Q:{R:{S:{if(F[f+15|0]&1){d=ml(a,b,k);a=I[f+24|0]|I[f+25|0]<<8|(I[f+26|0]<<16|I[f+27|0]<<24);b=ml(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0,i,k);a=d+b|0;if(a>>>0>>0|a>>>0>1073741822){break R}v=H[n+24>>2];b=I[f+28|0]|I[f+29|0]<<8|(I[f+30|0]<<16|I[f+31|0]<<24);a=(f+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0)+(a<<2)|0;if(v>>>0>a>>>0){break R}b=H[n+28>>2];if(b>>>0>>0|b-a>>>0<4){break R}k=H[n+32>>2]-4|0;H[n+32>>2]=k;if((k|0)<=0){break R}a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=I[f+8|0]|I[f+9|0]<<8|(I[f+10|0]<<16|I[f+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break Q}if(d>>>0>2147483646){break R}x=a;a=I[f+32|0]|I[f+33|0]<<8|(I[f+34|0]<<16|I[f+35|0]<<24);i=x+(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(v>>>0>i>>>0|b>>>0>>0){break R}a=d<<1;if(a>>>0>b-i>>>0){break R}a=k-a|0;H[n+32>>2]=a;if((a|0)>0){break S}break R}T:{if((I[a|0]|I[a+1|0]<<8)==2560){U:{d=I[a+4|0]|I[a+5|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=b>>>0){d=b-d|0;v=I[a+6|0]|I[a+7|0]<<8;if(d>>>0<((v<<8|v>>>8)&65535)>>>0){break U}}a=J[81816];b=(a<<8|a>>>8)&65535;break T}b=I[a+2|0]|I[a+3|0]<<8;if(!b){b=0;break T}x=a;b=(b<<8|b>>>8)&65535;a=N(b,d);a=(a|0)<0?163632:(x+a|0)+8|0;b=b>>>0>1?b:1;v=b&3;if(b-1>>>0<3){b=0}else{y=b&65532;b=0;while(1){d=a;a=a+4|0;b=b+4|0;if((y|0)!=(b|0)){continue}break}b=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!v){break T}while(1){b=I[a|0]|b<<8;a=a+1|0;g=g+1|0;if((v|0)!=(g|0)){continue}break}break T}a=Sc(a,b,k);a=a?a:163632;a=I[a|0]|I[a+1|0]<<8;b=a<<8|a>>>8}v=b&65535;a=I[f+24|0]|I[f+25|0]<<8|(I[f+26|0]<<16|I[f+27|0]<<24);a=f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;V:{if((I[a|0]|I[a+1|0]<<8)==2560){W:{b=I[a+4|0]|I[a+5|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<=i>>>0){g=I[a+6|0]|I[a+7|0]<<8;k=(g<<8|g>>>8)&65535;g=i-b|0;if(k>>>0>g>>>0){break W}}a=J[81816];b=(a<<8|a>>>8)&65535;break V}b=I[a+2|0]|I[a+3|0]<<8;if(!b){b=0;break V}i=0;k=a;b=(b<<8|b>>>8)&65535;a=N(b,g);a=(a|0)<0?163632:(k+a|0)+8|0;b=b>>>0>1?b:1;d=b&3;if(b-1>>>0<3){b=0}else{k=b&65532;b=0;while(1){g=a;a=a+4|0;b=b+4|0;if((k|0)!=(b|0)){continue}break}b=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!d){break V}while(1){b=I[a|0]|b<<8;a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break V}a=Sc(a,i,k);a=a?a:163632;a=I[a|0]|I[a+1|0]<<8;b=a<<8|a>>>8}g=0;y=H[n+24>>2];a=I[f+28|0]|I[f+29|0]<<8|(I[f+30|0]<<16|I[f+31|0]<<24);a=(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)+(v+(b&65535)<<1)|0;if(y>>>0>a>>>0){break R}b=H[n+28>>2];if(b>>>0>>0|b-a>>>0<2){break R}k=H[n+32>>2]-2|0;H[n+32>>2]=k;if((k|0)<=0){break R}a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;d=I[f+8|0]|I[f+9|0]<<8|(I[f+10|0]<<16|I[f+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break Q}if(d>>>0>2147483646){break R}x=a;a=I[f+32|0]|I[f+33|0]<<8|(I[f+34|0]<<16|I[f+35|0]<<24);i=x+(f+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(y>>>0>i>>>0|b>>>0>>0){break R}a=d<<1;if(a>>>0>b-i>>>0){break R}a=k-a|0;H[n+32>>2]=a;if((a|0)<=0){break R}}a=I[i|0]|I[i+1|0]<<8;g=(a<<8|a>>>8)<<16>>16}a=g}if(a){X:{if(!A){d=a<<16;f=d>>31;a=HM(H[o+40>>2],H[o+44>>2],d>>16,f)+32768|0;f=Xa;f=a>>>0<32768?f+1|0:f;a=(f&65535)<<16|a>>>16;if(I[t+4|0]){H[(p+q|0)+12>>2]=a;H[l+144>>2]=H[l+144>>2]|8;break X}b=q+w|0;g=a>>1;H[b>>2]=g+H[b>>2];b=p+q|0;a=a-g|0;H[b>>2]=a+H[b>>2];H[b+8>>2]=a+H[b+8>>2];break X}d=a<<16;f=d>>31;b=HM(H[o+48>>2],H[o+52>>2],d>>16,f)+32768|0;a=Xa;a=b>>>0<32768?a+1|0:a;a=(a&65535)<<16|b>>>16;if(I[t+4|0]){H[(p+q|0)+8>>2]=a;H[l+144>>2]=H[l+144>>2]|8;break X}b=q+w|0;g=a>>1;H[b+4>>2]=g+H[b+4>>2];b=p+q|0;a=a-g|0;H[b+4>>2]=a+H[b+4>>2];H[b+12>>2]=a+H[b+12>>2]}Ad(l,e,B+1|0)}e=H[u>>2];break O}e=e+1|0}if(j>>>0>e>>>0){continue}break}}Fb(l,o,106229,0)}Wa=s+160|0}Wa=m+80|0;return h|0}function Ju(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0;s=Wa-16|0;Wa=s;f=11;g=H[H[b+96>>2]+4>>2];n=Ed(g,9005);a:{if(!n){break a}y=gd(H[b+96>>2],10901,1);D=Ed(g,11010);h=Ed(g,11108);if(!h){break a}H[b+556>>2]=h;E=gd(H[b+96>>2],10595,1);f=ob(a,0);if(f){break a}C=Ya[H[n+4>>2]](a,b,c,d,e)|0;b:{if(!C){f=2;if(H[b+148>>2]!=1330926671){break a}f=0;if((c|0)<0){break a}c:{if(!(Ya[H[b+516>>2]](b,1751474532,a,0)|0)){f=Ya[H[n+8>>2]](a,b,c,d,e)|0;if(!f){break c}break a}f=Ya[H[n+32>>2]](b,a)|0;if(f){break a}u=1}f=Ya[H[b+516>>2]](b,1128678962,a,0)|0;H[s+12>>2]=f;if(!f){d=1;F[b+732|0]=1;break b}if((f&255)!=142){break a}d=0;f=Ya[H[b+516>>2]](b,1128678944,a,0)|0;H[s+12>>2]=f;if(!f){break b}break a}d=0;f=ob(a,0);if(f){break a}H[s+12>>2]=0;u=1}z=H[b+100>>2];n=zb(z,3136,s+12|0);f=H[s+12>>2];if(f){break a}H[b+712>>2]=n;e=b;i=Wa-80|0;Wa=i;t=H[a+28>>2];k=kb(n,0,3136);H[i+72>>2]=0;b=i- -64|0;H[b>>2]=0;H[b+4>>2]=0;H[i+56>>2]=0;H[i+60>>2]=0;H[i+48>>2]=0;H[i+52>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;r=H[a+8>>2];F[k+32|0]=d;H[k+8>>2]=t;H[k+4>>2]=a;H[k>>2]=g;H[k+12>>2]=r;b=Mb(a,27632,k);H[i+76>>2]=b;d:{if(b){break d}e:{if(d){if(!(I[k+24|0]==2&I[k+26|0]>4)){H[i+76>>2]=2;break d}L=k,M=yb(a,i+76|0),H[L+28>>2]=M;if(H[i+76>>2]){break d}b=I[k+26|0];break e}f=jc(a,i+76|0);if(H[i+76>>2]){break d}f:{if(I[k+24|0]!=1){break f}b=I[k+26|0];if(b>>>0<4){break f}if(f>>>0<5){break e}}H[i+76>>2]=2;break d}b=ob(a,b+r|0);H[i+76>>2]=b;if(b){if(!u){break d}H[i+76>>2]=2;break d}g:{if(d){H[k+1240>>2]=0;H[k+1244>>2]=0;H[k+1272>>2]=0;b=k+1264|0;H[b>>2]=0;H[b+4>>2]=0;f=k+1256|0;H[f>>2]=0;H[f+4>>2]=0;f=k+1248|0;H[f>>2]=0;H[f+4>>2]=0;H[k+1260>>2]=H[a+8>>2];f=b;b=H[k+28>>2];H[f>>2]=b;b=dc(a,b);H[i+76>>2]=b;if(b){break d}b=ve(k+108|0,a,1,1);H[i+76>>2]=b;if(b){break d}break g}b=ve(k+36|0,a,0,0);H[i+76>>2]=b;if(b){if(!u){break d}H[i+76>>2]=2;break d}b=H[k+48>>2];if(!(b>>>0<2|b>>>0<=K[k+60>>2])){H[i+76>>2]=u?2:3;break d}b=ve(k+1240|0,a,0,0);H[i+76>>2]=b;if(b){break d}b=ve(i+40|0,a,1,0);H[i+76>>2]=b;if(b){break d}b=ve(k+108|0,a,1,0);H[i+76>>2]=b;if(b){break d}b=Ej(i+40|0,k+1360|0,k+1364|0,k+1368|0);H[i+76>>2]=b;if(b){break d}if(K[k+48>>2]<=K[k+1252>>2]){break g}H[i+76>>2]=3;break d}H[k+1356>>2]=H[i+52>>2];h:{i:{if(u){A=c&65535;b=H[k+48>>2];if(A>>>0>>0|(c|0)<=0){break i}H[i+76>>2]=6;break d}if(K[k+48>>2]<2){break h}H[i+76>>2]=3;break d}H[k+16>>2]=b}if((c|0)<0){break d}b=Gq(k+1372|0,k+1240|0,A,a,r,d?12288:4096,k,e);H[i+76>>2]=b;if(b){break d}b=ob(a,r+H[k+1484>>2]|0);H[i+76>>2]=b;if(b){break d}b=ve(k+1204|0,a,0,d);H[i+76>>2]=b;if(b){break d}j:{if(!(!d&H[k+1504>>2]==65535)){f=k+3112|0;b=Wa-16|0;Wa=b;h=H[a+28>>2];k:{l:{g=H[k+1552>>2];if(!g){break l}g=ob(a,g+r|0);H[b+12>>2]=g;if(g){break k}g=dc(a,2);H[b+12>>2]=g;if(g){break k}q=H[a+8>>2];g=yb(a,b+12|0);if(H[b+12>>2]){break k}if((g|0)!=1){H[b+12>>2]=3;break k}g=$b(a,b+12|0);if(H[b+12>>2]){break k}p=yb(a,b+12|0);H[f>>2]=p;if(H[b+12>>2]){break k}j=jb(h,4,0,p,0,b+12|0);if(H[b+12>>2]){break k}if(H[f>>2]){while(1){L=(l<<2)+j|0,M=$b(a,b+12|0),H[L>>2]=M;if(H[b+12>>2]){break k}l=l+1|0;if(l>>>0>2]){continue}break}}g=ob(a,g+q|0);H[b+12>>2]=g;if(g){break k}L=f,M=yb(a,b+12|0),G[L+8>>1]=M;if(H[b+12>>2]){break k}g=yb(a,b+12|0);H[f+12>>2]=g;if(H[b+12>>2]){break k}o=jb(h,4,0,g,0,b+12|0);H[f+16>>2]=o;if(H[b+12>>2]){break k}m:{if(!H[f+12>>2]){break m}g=jb(h,12,0,J[f+8>>1],0,b+12|0);H[o>>2]=g;if(H[b+12>>2]){break k}while(1){n:{if(!J[f+8>>1]){g=0;break n}p=yb(a,b+12|0);if(H[b+12>>2]){break k}l=0;while(1){v=yb(a,b+12|0);if(H[b+12>>2]){break k}x=yb(a,b+12|0);if(H[b+12>>2]){break k}g=N(l,12)+g|0;H[g+8>>2]=x<<16>>16<<2;H[g+4>>2]=v<<16>>16<<2;H[g>>2]=p<<16>>16<<2;l=l+1|0;g=J[f+8>>1];if(l>>>0>=g>>>0){break n}g=H[o>>2];p=yb(a,b+12|0);if(!H[b+12>>2]){continue}break}break k}m=m+1|0;if(m>>>0>=K[f+12>>2]){break m}o=H[f+16>>2]+(m<<2)|0;g=jb(h,12,0,g,0,b+12|0);H[o>>2]=g;if(!H[b+12>>2]){continue}break}break k}l=jb(h,8,0,H[f>>2],0,b+12|0);H[f+4>>2]=l;if(H[b+12>>2]){break k}if(!H[f>>2]){break l}g=ob(a,q+H[j>>2]|0);H[b+12>>2]=g;if(g){break k}g=0;while(1){m=dc(a,4);H[b+12>>2]=m;if(m){break k}m=(g<<3)+l|0;l=yb(a,b+12|0);H[m>>2]=l;if(H[b+12>>2]){break k}L=m,M=jb(h,4,0,l,0,b+12|0),H[L+4>>2]=M;if(H[b+12>>2]){break k}if(H[m>>2]){l=0;while(1){p=yb(a,b+12|0);H[H[m+4>>2]+(l<<2)>>2]=p;if(H[b+12>>2]){break k}l=l+1|0;if(l>>>0>2]){continue}break}}g=g+1|0;if(g>>>0>=K[f>>2]){break l}l=H[f+4>>2];m=ob(a,q+H[(g<<2)+j>>2]|0);H[b+12>>2]=m;if(!m){continue}break}break k}H[b+12>>2]=0}if(j){Ya[H[h+8>>2]](h,j)}if(H[b+12>>2]){dl(f,h);f=H[b+12>>2]}else{f=0}Wa=b+16|0;H[i+76>>2]=f;if(f){break d}b=ob(a,r+H[k+1536>>2]|0);H[i+76>>2]=b;if(b){break d}b=ve(i,a,0,d);H[i+76>>2]=b;if(b){break d}f=H[i+12>>2];o:{if(f>>>0>256){break o}H[k+2024>>2]=f;b=0;f=jb(t,652,0,f,0,i+76|0);if(H[i+76>>2]){break o}g=H[i+12>>2];p:{if(!g){break p}if(g-1>>>0>=3){j=g&-4;h=k+2028|0;while(1){H[h+(b<<2)>>2]=f+N(b,652);m=b|1;H[h+(m<<2)>>2]=f+N(m,652);m=b|2;H[h+(m<<2)>>2]=f+N(m,652);m=b|3;H[h+(m<<2)>>2]=f+N(m,652);b=b+4|0;w=w+4|0;if((j|0)!=(w|0)){continue}break}}h=g&3;if(h){while(1){H[(k+(b<<2)|0)+2028>>2]=f+N(b,652);b=b+1|0;B=B+1|0;if((h|0)!=(B|0)){continue}break}}if(!g){b=0;break p}f=d?16384:4096;b=0;while(1){g=Gq(H[(k+(b<<2)|0)+2028>>2],i,b,a,r,f,k,e);H[i+76>>2]=g;if(g){break o}b=b+1|0;g=H[i+12>>2];if(b>>>0>>0){continue}break}b=g>>>0>1}if(b?0:d){break o}h=k+3052|0;g=H[k+1216>>2];f=Wa-16|0;Wa=f;b=ob(a,r+H[k+1540>>2]|0);H[f+12>>2]=b;q:{if(b){break q}j=jc(a,f+12|0);b=H[f+12>>2];if(b){break q}H[h+20>>2]=0;F[h|0]=j;b=3;r:{switch(j&255){case 3:g=yb(a,f+12|0);b=H[f+12>>2];if(b){break q}b=3;if(!g){break q}g=N(g,3)+2|0;break;case 0:break r;default:break q}}H[h+12>>2]=g;b=Jc(a,g,h+8|0)}Wa=f+16|0;H[i+76>>2]=b}b=H[i>>2];if(b){f=i+32|0;g=H[b+28>>2];if(H[i+32>>2]){bc(b,f)}b=H[i+28>>2];if(b){Ya[H[g+8>>2]](g,b)}H[f>>2]=0;H[i+24>>2]=0;H[i+28>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+8>>2]=0;H[i+12>>2]=0;H[i>>2]=0;H[i+4>>2]=0}if(!H[i+76>>2]){break j}break d}H[k+2024>>2]=0}if(!H[k+1484>>2]){H[i+76>>2]=3;break d}H[k+20>>2]=H[k+1216>>2];b=Ej(k+108|0,k+1352|0,0,0);H[i+76>>2]=b;if(b){break d}s:{if(d){break s}f=H[k+20>>2];if(!f){break s}g=k+1180|0;b=H[k+1476>>2];p=H[k+1504>>2]!=65535&u;h=Wa-16|0;Wa=h;l=H[a+28>>2];H[h+8>>2]=0;t:{u:{v:{w:{if(b>>>0>=3){b=b+r|0;H[g+4>>2]=b;b=ob(a,b);H[h+8>>2]=b;if(b){break u}L=g,M=jc(a,h+8|0)&255,H[L>>2]=M;if(H[h+8>>2]){break u}b=jb(l,2,0,f,0,h+8|0);H[g+8>>2]=b;if(H[h+8>>2]){break u}G[b>>1]=0;x:{switch(H[g>>2]){case 0:b=1;j=Nb(a,(f<<1)-2|0);H[h+8>>2]=j;if(j){break u}if(f>>>0>=2){while(1){j=Rb(a);G[H[g+8>>2]+(b<<1)>>1]=j;b=b+1|0;if((f|0)!=(b|0)){continue}break}}Db(a);break w;case 1:case 2:b=1;if(f>>>0<=1){break w}while(1){m=yb(a,h+8|0);if(H[h+8>>2]){break u}y:{if(H[g>>2]==2){j=yb(a,h+8|0);if(!H[h+8>>2]){break y}break u}j=jc(a,h+8|0);if(H[h+8>>2]){break u}j=j&255}z:{if(b>>>0>=f>>>0){break z}o=(j^65535)>>>0>>0?m^65535:j;q=H[g+8>>2];j=0;while(1){G[q+(b<<1)>>1]=m;b=b+1|0;if(f>>>0<=b>>>0){break z}m=m+1|0;t=j>>>0>>0;j=j+1|0;if(t){continue}break}}if(b>>>0>>0){continue}break};break w;default:break x}}H[h+8>>2]=3;break u}H[g+4>>2]=b;A:{switch(b|0){case 0:if(f>>>0>=230){H[h+8>>2]=3;break u}b=jb(l,2,0,f,0,h+8|0);H[g+8>>2]=b;if(H[h+8>>2]){break u}mb(b,27664,f<<1);break w;case 1:if(f>>>0>=167){H[h+8>>2]=3;break u}b=jb(l,2,0,f,0,h+8|0);H[g+8>>2]=b;if(H[h+8>>2]){break u}mb(b,28128,f<<1);break w;case 2:break A;default:break v}}if(f>>>0>=88){H[h+8>>2]=3;break u}b=jb(l,2,0,f,0,h+8|0);H[g+8>>2]=b;if(H[h+8>>2]){break u}mb(b,28464,f<<1)}B:{if(!p){b=H[h+8>>2];break B}b=0;H[h+12>>2]=0;C:{if(H[g+16>>2]){break C}m=0;if(f){t=f&3;o=H[g+8>>2];p=0;D:{if(f-1>>>0<3){j=0;break D}v=f&-4;j=0;while(1){q=b<<1;x=J[o+(q|6)>>1];w=J[o+(q|4)>>1];B=J[o+(q|2)>>1];q=J[o+q>>1];j=j&65535;j=j>>>0>>0?q:j;j=j>>>0>>0?B:j;j=j>>>0>>0?w:j;j=j>>>0>>0?x:j;b=b+4|0;m=m+4|0;if((v|0)!=(m|0)){continue}break}}if(t){while(1){m=J[o+(b<<1)>>1];j=j&65535;j=j>>>0>>0?m:j;b=b+1|0;p=p+1|0;if((t|0)!=(p|0)){continue}break}}m=j&65535}j=jb(l,2,0,m+1|0,0,h+12|0);H[g+12>>2]=j;b=H[h+12>>2];if(b){break C}E:{if((f|0)<=0){break E}p=H[g+8>>2];b=f;q=b&3;if(q){o=0;while(1){b=b-1|0;G[j+(J[p+(b<<1)>>1]<<1)>>1]=b;o=o+1|0;if((q|0)!=(o|0)){continue}break}}if(f-1>>>0<3){break E}while(1){o=b-1|0;G[j+(J[p+(o<<1)>>1]<<1)>>1]=o;o=b-2|0;G[j+(J[p+(o<<1)>>1]<<1)>>1]=o;o=b-3|0;G[j+(J[p+(o<<1)>>1]<<1)>>1]=o;b=b-4|0;G[j+(J[p+(b<<1)>>1]<<1)>>1]=b;if(o>>>0>1){continue}break}}H[g+20>>2]=f;H[g+16>>2]=m;b=0}H[h+8>>2]=b}if(b){break u}b=0;break t}H[h+8>>2]=3}b=H[g+8>>2];if(b){Ya[H[l+8>>2]](l,b)}H[g+8>>2]=0;b=H[g+12>>2];if(b){Ya[H[l+8>>2]](l,b)}H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;b=H[h+8>>2]}Wa=h+16|0;H[i+76>>2]=b;if(b){break d}if(H[k+1504>>2]!=65535){break s}p=k+144|0;h=H[k+20>>2];j=a;b=H[k+1480>>2];o=0;m=Wa-16|0;Wa=m;H[m+8>>2]=0;a=3;F:{if(!H[g+8>>2]){break F}f=g;a=kb(p+12|0,0,1024);if(b>>>0>=2){a=b+r|0;H[p+4>>2]=a;a=ob(j,a);H[m+8>>2]=a;if(a){break F}L=p,M=jc(j,m+8|0)&255,H[L>>2]=M;a=H[m+8>>2];if(a){break F}g=jc(j,m+8|0);a=H[m+8>>2];if(a){break F}l=g&255;a=3;G:{H:{switch(H[p>>2]&127){case 0:H[p+8>>2]=l+1;a=Nb(j,l);H[m+8>>2]=a;if(a){break F}I:{if(!g){break I}a=1;b=H[j+32>>2];if((g|0)!=1){o=l&254;g=0;while(1){if(a>>>0>>0){r=p+(I[b|0]<<1)|0;G[r+524>>1]=a;G[r+12>>1]=J[H[f+8>>2]+(a<<1)>>1]}r=a+1|0;if(r>>>0>>0){q=p+(I[b+1|0]<<1)|0;G[q+524>>1]=r;G[q+12>>1]=J[H[f+8>>2]+(r<<1)>>1]}b=b+2|0;a=a+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}if(!(l&1)|a>>>0>=h>>>0){break I}b=p+(I[b|0]<<1)|0;G[b+524>>1]=a;G[b+12>>1]=J[H[f+8>>2]+(a<<1)>>1]}Db(j);break G;case 1:break H;default:break F}}H[p+8>>2]=0;if(!g){break G}g=1;while(1){b=g;v=jc(j,m+8|0);a=H[m+8>>2];if(a){break F}q=jc(j,m+8|0);a=H[m+8>>2];if(a){break F}t=q&255;a=t+1|0;r=H[p+8>>2];if(t>>>0>=r>>>0){H[p+8>>2]=a;r=a}g=a+b|0;J:{if(g>>>0<=b>>>0){break J}a=v&255;if(!(t&1)){if(b>>>0>>0){t=p+(a<<1)|0;G[t+524>>1]=b;G[t+12>>1]=J[H[f+8>>2]+(b<<1)>>1]}b=b+1|0;a=a+1|0}if(!q){break J}while(1){if(!(a>>>0>255|b>>>0>=h>>>0)){q=p+(a<<1)|0;G[q+524>>1]=b;G[q+12>>1]=J[H[f+8>>2]+(b<<1)>>1]}q=b+1|0;K:{if(q>>>0>=h>>>0){break K}t=a+1|0;if(t>>>0>255){break K}t=p+(t<<1)|0;G[t+524>>1]=q;G[t+12>>1]=J[H[f+8>>2]+(q<<1)>>1]}a=a+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}o=o+1|0;if((l|0)!=(o|0)){continue}break}if(r>>>0<257){break G}H[p+8>>2]=256}if(!(I[p|0]&128)){a=H[m+8>>2];break F}b=jc(j,m+8|0);a=H[m+8>>2];if(a|!b){break F}r=b&255;b=0;while(1){l=jc(j,m+8|0);a=H[m+8>>2];if(a){break F}g=yb(j,m+8|0);a=H[m+8>>2];if(a){break F}l=p+((l&255)<<1)|0;G[l+12>>1]=g;L:{if(!h){break L}o=H[f+8>>2];a=0;while(1){if((g|0)==J[o+(a<<1)>>1]){G[l+524>>1]=a;break L}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=0;b=b+1|0;if((r|0)!=(b|0)){continue}break}break F}M:{N:{O:{P:{switch(b|0){case 0:mb(a,24864,512);break O;case 1:break P;default:break N}}mb(a,28640,512)}H[p+8>>2]=0;a=H[j+28>>2];H[m+12>>2]=0;b=H[f+16>>2];if(!b){b=0;j=a;if(h){q=h&3;r=H[f+8>>2];Q:{if(h-1>>>0<3){l=0;a=0;break Q}t=h&-4;l=0;a=0;g=0;while(1){o=a<<1;v=J[r+(o|6)>>1];x=J[r+(o|4)>>1];w=J[r+(o|2)>>1];o=J[o+r>>1];l=l&65535;l=l>>>0>>0?o:l;l=l>>>0>>0?w:l;l=l>>>0>>0?x:l;l=l>>>0>>0?v:l;a=a+4|0;g=g+4|0;if((t|0)!=(g|0)){continue}break}}if(q){while(1){g=J[r+(a<<1)>>1];l=l&65535;l=g>>>0>l>>>0?g:l;a=a+1|0;b=b+1|0;if((q|0)!=(b|0)){continue}break}}b=l&65535}j=jb(j,2,0,b+1|0,0,m+12|0);H[f+12>>2]=j;a=H[m+12>>2];if(a){break M}R:{if((h|0)<=0){break R}r=H[f+8>>2];a=h;l=a&3;if(l){g=0;while(1){a=a-1|0;G[j+(J[r+(a<<1)>>1]<<1)>>1]=a;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(h-1>>>0<3){break R}while(1){g=a-1|0;G[j+(J[r+(g<<1)>>1]<<1)>>1]=g;g=a-2|0;G[j+(J[r+(g<<1)>>1]<<1)>>1]=g;g=a-3|0;G[j+(J[r+(g<<1)>>1]<<1)>>1]=g;a=a-4|0;G[j+(J[r+(a<<1)>>1]<<1)>>1]=a;if(g>>>0>1){continue}break}}H[f+20>>2]=h;H[f+16>>2]=b}H[m+8>>2]=0;a=0;while(1){S:{T:{g=p+(a<<1)|0;h=J[g+12>>1];if(!h|b>>>0>>0){break T}h=J[H[f+12>>2]+(h<<1)>>1];if(!h){break T}G[g+524>>1]=h;a=a+1|0;H[p+8>>2]=a;break S}G[g+524>>1]=0;G[g+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break F}a=3}H[m+8>>2]=a}Wa=m+16|0;H[i+76>>2]=a;if(a){break d}}L=k,M=rl(k,A),H[L+1348>>2]=M}a=H[i+40>>2];if(a){b=H[a+28>>2];if(H[i+72>>2]){bc(a,i+72|0)}a=H[i+68>>2];if(a){Ya[H[b+8>>2]](b,a)}}Wa=i+80|0;a=H[i+76>>2];f=a;H[s+12>>2]=a;if(a){break a}if((c|0)<0){H[e>>2]=H[n+16>>2];f=0;break a}H[n+3088>>2]=E;H[n+3084>>2]=y;H[n+3080>>2]=D;j=c&65535;H[e+4>>2]=j;H[e+16>>2]=H[n+20>>2];if(!(y|H[n+1504>>2]!=65535)){f=11;H[s+12>>2]=11;break a}U:{if(!(H[e+8>>2]&256)|c>>>0<65536){break U}b=H[e+548>>2];if(!b){break U}a=H[e+552>>2];f=Ya[H[b+28>>2]](e,c>>>16|0)|0;H[s+12>>2]=f;if(f){break a}if(!a){break U}Ya[H[a+28>>2]](e)}if(!I[n+1436|0]){H[n+1440>>2]=u?1e3:J[e+68>>1]}f=H[n+1432>>2];if(!f){f=H[n+1428>>2]}a=f>>31;a=(a^f)-a|0;V:{if((a|0)==65536){f=H[n+1448>>2];break V}L=n,M=pb(H[n+1440>>2],a),H[L+1440>>2]=M;L=n,M=pb(H[n+1420>>2],a),H[L+1420>>2]=M;L=n,M=pb(H[n+1428>>2],a),H[L+1428>>2]=M;L=n,M=pb(H[n+1424>>2],a),H[L+1424>>2]=M;L=n,M=pb(H[n+1432>>2],a),H[L+1432>>2]=M;L=n,M=pb(H[n+1444>>2],a),H[L+1444>>2]=M;f=pb(H[n+1448>>2],a);H[n+1448>>2]=f}H[n+1448>>2]=f>>16;H[n+1444>>2]=G[n+1446>>1];a=H[n+2024>>2];if(a){r=n+2028|0;f=n+1420|0;while(1){a=a-1|0;b=H[r+(a<<2)>>2];W:{if(I[b+64|0]){if(!I[n+1436|0]){break W}c=1;g=H[n+1440>>2];if(g>>>0>=2){c=H[b+68>>2];c=c>>>0>1?c>>>0>g>>>0?g:c:1}g=b+48|0;if(!(!f|!g)){i=H[f>>2];k=H[g>>2];h=c<<16;m=sb(i,k,h);l=H[f+4>>2];p=H[g+8>>2];o=sb(l,p,h);q=i;i=H[g+4>>2];A=sb(q,i,h);q=l;l=H[g+12>>2];q=sb(q,l,h);y=H[f+8>>2];t=sb(y,k,h);k=H[f+12>>2];L=g,M=t+sb(k,p,h)|0,H[L+8>>2]=M;H[g+4>>2]=q+A;H[g>>2]=m+o;L=g,M=sb(y,i,h)+sb(k,l,h)|0,H[L+12>>2]=M}if(!(!f|(b|0)==-72)){h=H[f+8>>2];i=H[f+12>>2];k=H[b+72>>2];g=c<<16;l=sb(k,H[f>>2],g);m=H[b+76>>2];L=b,M=l+sb(m,H[f+4>>2],g)|0,H[L+72>>2]=M;L=b,M=sb(k,h,g)+sb(m,i,g)|0,H[L+76>>2]=M}L=b,M=sb(H[b+68>>2],H[n+1440>>2],c),H[L+68>>2]=M;break W}c=H[f+4>>2];H[b+48>>2]=H[f>>2];H[b+52>>2]=c;c=H[f+12>>2];H[b+56>>2]=H[f+8>>2];H[b+60>>2]=c;c=H[n+1448>>2];H[b+72>>2]=H[n+1444>>2];H[b+76>>2]=c;H[b+68>>2]=H[n+1440>>2]}c=H[b+60>>2];if(!c){c=H[b+56>>2]}g=c;c=c>>31;c=(g^c)-c|0;if((c|0)==65536){c=H[b+76>>2]}else{L=b,M=pb(H[b+68>>2],c),H[L+68>>2]=M;L=b,M=pb(H[b+48>>2],c),H[L+48>>2]=M;L=b,M=pb(H[b+56>>2],c),H[L+56>>2]=M;L=b,M=pb(H[b+52>>2],c),H[L+52>>2]=M;L=b,M=pb(H[b+60>>2],c),H[L+60>>2]=M;L=b,M=pb(H[b+72>>2],c),H[L+72>>2]=M;c=pb(H[b+76>>2],c)}H[b+76>>2]=c>>16;H[b+72>>2]=G[b+74>>1];if(a){continue}break}}if(u){H[e>>2]=H[n+16>>2];if(H[n+1504>>2]!=65535){a=H[n+1196>>2]+1|0}else{a=H[n+1216>>2]}H[e+16>>2]=a;H[e+52>>2]=G[n+1458>>1];a=G[n+1462>>1];H[e+56>>2]=a;H[e+60>>2]=H[n+1464>>2]+65535>>16;b=H[n+1468>>2]+65535>>16;H[e- -64>>2]=b;c=H[n+1440>>2];G[e+72>>1]=a;G[e+70>>1]=b;G[e+68>>1]=c;a=b-a|0;b=(N(c&65535,12)>>>0)/10|0;G[e+74>>1]=(a|0)>b<<16>>16?a:b;G[e+80>>1]=J[n+1406>>1];G[e+82>>1]=J[n+1410>>1];a=H[n+1388>>2];X:{if(!a){break X}a=wg(n,a);if(!a){break X}L=e,M=bd(z,a,s),H[L+20>>2]=M}Y:{Z:{_:{if(!H[e+20>>2]){c=rl(n,j);H[e+20>>2]=c;if(!c){break _}a=wb(c);$:{if((a|0)<6){break $}f=c+7|0;b=a+1|0;while(1){if(I[c+6|0]!=43|(I[c+5|0]-91&255)>>>0<230|((I[c+4|0]-91&255)>>>0<230|(I[c+3|0]-91&255)>>>0<230)){break $}if((I[c+2|0]-91&255)>>>0<230|(I[c+1|0]-91&255)>>>0<230|(I[c|0]-91&255)>>>0<230){break $}a=b-7|0;if((b|0)>=8){Yb(c,f,a)}g=(b|0)>13;b=a;if(g){continue}break}}if(!H[e+20>>2]){break _}}b=wg(n,H[n+1384>>2]);if(!b){break Z}a=H[e+20>>2];if(!a){break Z}f=I[b|0];if(!f){break Z}while(1){aa:{ba:{g=f&255;c=g-32|0;if(!((c|0)!=13?c:0)){if((g|0)==I[a|0]){break ba}break aa}c=a;f=I[a|0];if((g|0)==(f|0)){break ba}while(1){ca:{da:{a=f&255;switch(a-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Z;case 0:case 13:break da;default:break ca}}f=I[c+1|0];a=c+1|0;c=a;if((f|0)!=(g|0)){continue}break ba}break}if(a){break Z}f=bd(z,b,s);if(!f){break Z}c=H[e+20>>2];g=wb(c);b=wb(f);ea:{if((g|0)<=(b|0)){break ea}a=1;if((b|0)>0){while(1){if(I[c+(g-a|0)|0]!=I[(b-a|0)+f|0]){break ea}h=(a|0)==(b|0);a=a+1|0;if(!h){continue}break}}a=g+(b^-1)|0;if((a|0)<=0){break ea}while(1){b=a+c|0;g=I[b|0];h=g-32|0;if(!((1<>>0<=13:0)|(g|0)==95)){F[b+1|0]=0;break ea}b=(a|0)>1;a=a-1|0;if(b){continue}break}}break Y}a=a+1|0}f=I[b+1|0];b=b+1|0;if(f){continue}break}break Z}a=wg(n,H[n+1544>>2]);if(!a){break Z}L=e,M=bd(z,a,s),H[L+20>>2]=M}f=bd(z,11235,s)}H[e+24>>2]=f;a=C?2065:2073;H[e+8>>2]=H[e+8>>2]|(I[n+1396|0]?a|4:a);f=H[n+1400>>2]!=0;a=wg(n,H[n+1392>>2]);fa:{if(!a){break fa}if(rb(a,11389)){if(rb(a,11470)){break fa}}f=f|2}ga:{if(f&2){break ga}a=H[e+24>>2];if(!a){break ga}if(ub(a,11389,4)){if(ub(a,11470,5)){break ga}}f=f|2}H[e+12>>2]=f}b=H[n+1504>>2];if(!((b|0)!=65535|d)){H[e+8>>2]=H[e+8>>2]|512}if(!(!u|(b|0)==65535)){H[e+8>>2]=H[e+8>>2]|4096}a=H[e+36>>2];ha:{ia:{if(a){c=H[e+40>>2];f=0;while(1){ja:{ka:{d=H[c+(f<<2)>>2];switch(J[d+8>>1]){case 0:break ia;case 3:break ka;default:break ja}}if(J[d+10>>1]==1){break ia}}f=f+1|0;if((a|0)!=(f|0)){continue}break}}if((b|0)!=65535&u){break ha}H[s>>2]=e;H[s+4>>2]=1970170211;H[s+8>>2]=65539;b=hd(24468,0,s,0);H[s+12>>2]=b;la:{if(!b){break la}b=b&255;if((b|0)==163){break la}if((b|0)!=7){break ha}}H[s+12>>2]=0;if(H[e+92>>2]|(a|0)==H[e+36>>2]){break ia}H[e+92>>2]=H[H[e+40>>2]+(a<<2)>>2]}if(!H[n+152>>2]){break ha}G[s+8>>1]=7;H[s>>2]=e;b=1094995778;f=0;ma:{na:{switch(H[n+148>>2]){case 1:b=1094992453;f=1;break ma;case 0:break ma;default:break na}}b=1094992451;f=2}H[s+4>>2]=b;G[s+10>>1]=f;L=s,M=hd(24428,0,s,0),H[L+12>>2]=M}f=H[s+12>>2]}Wa=s+16|0;return f|0}function jM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=O(0),n=0,o=0,p=0,q=O(0),r=0,s=0,t=0,u=O(0),v=0,w=0,x=0,y=0;l=1;h=Wa-48|0;Wa=h;n=b+148|0;g=H[n>>2];a:{b:{if(g){break b}v=n-148|0;while(1){p=H[v>>2];if(!p){g=163632;break b}c:{g=Ab(1,8);if(g){H[h+8>>2]=0;H[h+12>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;F[h+24|0]=0;H[h+28>>2]=0;H[h+32>>2]=0;H[h>>2]=0;H[h+4>>2]=0;e=ac(p);F[h+40|0]=1;H[h+36>>2]=e;f=_b(p,1935829368);i=0;o=Wa-16|0;Wa=o;if(!(!f|!H[f>>2])){H[f>>2]=H[f>>2]+1}e=f;H[h+32>>2]=f;d:{e:{f:{g:{h:{while(1){F[h+24|0]=i;i=H[e+12>>2];H[h+4>>2]=i;r=H[e+16>>2];H[h+8>>2]=r+i;k=1073741823;H[h+28>>2]=0;if(r>>>0<=67108862){k=r<<6;k=k>>>0>16384?k:16384;k=k>>>0<1073741823?k:1073741823}H[h+12>>2]=k;H[h+20>>2]=0;H[h>>2]=0;if(!i){lb(e);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0;break d}if((r|0)<=7){break g}H[h+12>>2]=k-8;if(!(I[i|0]|I[i+1|0]<<8)){break g}H[o+8>>2]=i;i:{e=i+4|0;if(jt(e,h,o+8|0)){if(!H[h+28>>2]){break i}H[h+28>>2]=0;if(i>>>0>2]){break g}k=H[h+8>>2];if(k>>>0>>0|k-i>>>0<=7){break g}k=H[h+12>>2]-8|0;H[h+12>>2]=k;if(!(I[i|0]|I[i+1|0]<<8)|(k|0)<=0){break g}H[o+12>>2]=i;i=jt(e,h,o+12|0);e=H[h+32>>2];if(H[h+28>>2]){break f}lb(e);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0;if(i){break h}break e}if(I[h+24|0]|!H[h+28>>2]){break g}k=Ec(f);H[h+4>>2]=k;H[h+8>>2]=k+H[f+16>>2];e=H[h+32>>2];i=1;if(k){continue}break f}break}lb(H[h+32>>2]);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0}if(H[f+4>>2]){H[f+4>>2]=0}break d}e=H[h+32>>2]}lb(e);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0}lb(f);f=163632}Wa=o+16|0;H[g>>2]=f;e=H[p+32>>2];if((e|0)==-1){e=Hc(p)}H[g+4>>2]=e;e=H[n>>2];H[n>>2]=e?e:g;if(!e){break b}e=H[g>>2];H[65057]=0;fa(579,e|0);e=H[65057];H[65057]=0;if((e|0)==1){break a}hb(g);break c}g=163632;e=H[n>>2];H[n>>2]=e?e:163632;if(e){break c}break b}g=H[n>>2];if(!g){continue}break}}Wa=h+48|0;n=Wa-16|0;Wa=n;k=g;e=H[g>>2];e=e?e:163632;e=K[e+16>>2]<8?163632:H[e+12>>2];if(I[e|0]|I[e+1|0]<<8){H[n+12>>2]=0;H[n+8>>2]=0;H[n+4>>2]=0;e=c;i=H[k>>2];f=i?i:163632;o=K[f+16>>2]<8?163632:H[f+12>>2];f=I[o+4|0]|I[o+5|0]<<8|(I[o+6|0]<<16|I[o+7|0]<<24);p=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(p){if((p|0)!=1){f=H[a+56>>2];g=H[a+60>>2];f=f>>>0>g>>>0?f:g;r=f?f:1073741824;f=I[o+8|0]|I[o+9|0]<<8|(I[o+10|0]<<16|I[o+11|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=f?f+o|0:163632;f=I[f|0]|I[f+1|0]<<8;h=(f<<8|f>>>8)&65535;f=1;while(1){g=f>>>0

>>0?(o+(f<<2)|0)+8|0:163632;g=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=g?g+o|0:163632;g=I[g|0]|I[g+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!(!(g>>>0>=r>>>0&g>>>0>>0)&(g>>>0<=h>>>0|h>>>0>=r>>>0))){j=f;h=g}f=f+1|0;if((p|0)!=(f|0)){continue}break}}f=j>>>0

>>0?(o+(j<<2)|0)+8|0:163632;f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=f?f+o|0:163632}else{g=163632}o=I[g|0]|I[g+1|0]<<8;j=163632;j:{if(!o){break j}r=H[k+4>>2];v=g-H[i+12>>2]|0;w=H[i+16>>2]-v|0;k=g+4|0;f=8;k:{while(1){j=f;l:{m:{if(e>>>0>=r>>>0){break m}f=e+1|0;f=(f|0)<0?163632:k+(f<<2)|0;f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e=(e|0)<0?163632:k+(e<<2)|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(f>>>0<=h>>>0){break m}e=f-h|0;if(e>>>0<9){break m}if(f>>>0<=w>>>0){break l}}j=163632;break j}p=e-8|0;e=h?g+h|0:163632;f=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if((f|0)!=1685418085){break k}if(p>>>0>=2){e=I[e+8|0]|I[e+9|0]<<8;e=(e<<8|e>>>8)&65535;f=j-1|0;if(j){continue}}break}j=163632;break j}j=163632;if((f|0)!=1886283552){break j}f=n+4|0;if(f){H[f>>2]=(o<<8|o>>>8)&65535}f=n+12|0;if(f){j=f;f=I[e|0]|I[e+1|0]<<8;H[j>>2]=(f<<8|f>>>8)<<16>>16}f=n+8|0;if(f){e=I[e+2|0]|I[e+3|0]<<8;H[f>>2]=(e<<8|e>>>8)<<16>>16}j=gl(i,(h+v|0)+8|0,p)}h=j;e=H[h+12>>2];g=H[h+16>>2];f=H[n+12>>2];H[d>>2]=f;g=g>>>0<29?163632:e;e=I[g+20|0]|I[g+21|0]<<8|(I[g+22|0]<<16|I[g+23|0]<<24);e=H[n+8>>2]+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;H[d+4>>2]=e;j=I[g+16|0]|I[g+17|0]<<8|(I[g+18|0]<<16|I[g+19|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);H[d+8>>2]=j;g=I[g+20|0]|I[g+21|0]<<8|(I[g+22|0]<<16|I[g+23|0]<<24);i=0-(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;H[d+12>>2]=i;w=d;g=H[n+4>>2];n:{if(g){e=H[a+16>>2];j=H[e+28>>2];if(!j){j=vb(e);f=H[d>>2];g=H[n+4>>2];e=H[a+16>>2]}m=O(O(j>>>0)/O(g>>>0));q=O(m*O(f|0));j=H[a+20>>2];f=H[e+28>>2];if(!f){f=vb(e);e=H[a+16>>2]}q=O(T(O(O(O(q*O(j|0))/O(f>>>0))+O(.5))));o:{if(O(P(q))>2]=f;q=O(m*O(H[d+4>>2]));j=H[a+24>>2];f=H[e+28>>2];if(!f){f=vb(e);e=H[a+16>>2]}q=O(T(O(O(O(q*O(j|0))/O(f>>>0))+O(.5))));p:{if(O(P(q))>2]=f;q=O(m*O(H[d+8>>2]));j=H[a+20>>2];f=H[e+28>>2];if(!f){f=vb(e);e=H[a+16>>2]}q=O(T(O(O(O(q*O(j|0))/O(f>>>0))+O(.5))));q:{if(O(P(q))>2]=f;u=O(O(m*O(H[d+12>>2]))*O(H[a+24>>2]));f=H[e+28>>2];if(!f){f=vb(e)}m=O(T(O(O(u/O(f>>>0))+O(.5))));if(O(P(m))>2];p=g;r=H[a+40>>2];g=f<<16;f=g>>31;g=HM(r,p,g>>16,f)+32768|0;f=Xa;f=g>>>0<32768?f+1|0:f;H[d>>2]=(f&65535)<<16|g>>>16;k=H[a+48>>2];o=H[a+52>>2];g=j<<16;f=g>>31;f=HM(r,p,g>>16,f)+32768|0;g=Xa;g=f>>>0<32768?g+1|0:g;H[d+8>>2]=(g&65535)<<16|f>>>16;f=e<<16;g=f>>31;f=HM(k,o,f>>16,g)+32768|0;e=Xa;e=f>>>0<32768?e+1|0:e;H[d+4>>2]=(e&65535)<<16|f>>>16;g=i<<16;e=g>>31;e=HM(k,o,g>>16,e)+32768|0;f=Xa;f=e>>>0<32768?f+1|0:f;e=(f&65535)<<16|e>>>16}H[w+12>>2]=e;lb(h);e=H[n+4>>2]!=0}else{e=0}Wa=n+16|0;r:{s:{if(e){break s}e=H[b+60>>2];t:{if(e){break t}while(1){f=H[b>>2];if(!f){e=163632;break t}u:{e=Ab(1,28);if(e){ng(e,f);f=H[b+60>>2];H[b+60>>2]=f?f:e;if(!f){break t}f=H[e+24>>2];H[65057]=0;fa(579,f|0);f=H[65057];H[65057]=0;if((f|0)==1){break r}hb(e);break u}e=163632;f=H[b+60>>2];H[b+60>>2]=f?f:163632;if(f){break u}break t}e=H[b+60>>2];if(!e){continue}break}}if(ct(e,a,c,d)){break s}e=H[b+64>>2];v:{if(e){break v}while(1){f=H[b>>2];if(!f){e=163632;break v}e=Ab(1,244);w:{if(e){g=Hh(e,f);f=H[b+64>>2];H[b+64>>2]=f?f:e;if(!f){break v}og(g);hb(e);break w}e=163632;f=H[b+64>>2];H[b+64>>2]=f?f:163632;if(!f){break v}}e=H[b+64>>2];if(!e){continue}break}}f=Wa-32|0;Wa=f;H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;k=Lh(e,c,f,0);x:{if(!k){break x}s=M[f+16>>3];t=M[f>>3];y:{if(!(s>t)){H[d>>2]=0;H[d+8>>2]=0;break y}h=H[a+20>>2];m=O(t);j=H[a+16>>2];g=H[j+28>>2];if(g){e=h}else{g=vb(j);j=H[a+16>>2];e=H[a+20>>2]}i=e;m=O(T(O(O(O(m*O(h|0))/O(g>>>0))+O(.5))));z:{if(O(P(m))>2]=e;g=H[j+28>>2];if(!g){g=vb(j);e=H[d>>2]}m=O(T(O(O(O(O(s)*O(i|0))/O(g>>>0))+O(.5))));A:{if(O(P(m))>2]=j-e}s=M[f+24>>3];t=M[f+8>>3];if(!(s>t)){H[d+4>>2]=0;H[d+12>>2]=0;break x}h=H[a+24>>2];m=O(s);j=H[a+16>>2];g=H[j+28>>2];if(g){e=h}else{g=vb(j);j=H[a+16>>2];e=H[a+24>>2]}i=e;m=O(T(O(O(O(m*O(h|0))/O(g>>>0))+O(.5))));B:{if(O(P(m))>2]=g;e=H[j+28>>2];if(!e){e=vb(j);g=H[d+4>>2]}m=O(T(O(O(O(O(t)*O(i|0))/O(e>>>0))+O(.5))));C:{if(O(P(m))>2]=e-g}Wa=f+32|0;if(k){break s}e=H[b+68>>2];D:{if(e){break D}while(1){f=H[b>>2];if(!f){e=163632;break D}e=Ab(1,132);E:{if(e){g=bt(e,f);f=H[b+68>>2];H[b+68>>2]=f?f:e;if(!f){break D}jk(g);hb(e);break E}e=163632;f=H[b+68>>2];H[b+68>>2]=f?f:163632;if(!f){break D}}e=H[b+68>>2];if(!e){continue}break}}f=0;j=0;g=0;i=Wa-240|0;Wa=i;F:{G:{if(!(!H[e>>2]|K[e+128>>2]<=c>>>0)){o=ot(H[e+96>>2],c);F[i+72|0]=0;f=i- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[i+92>>2]=0;H[i+84>>2]=0;H[i+88>>2]=0;H[i+108>>2]=0;H[i+112>>2]=0;F[i+116|0]=0;H[i+160>>2]=0;H[i+152>>2]=0;H[i+156>>2]=0;H[i+192>>2]=0;H[i+196>>2]=0;H[i+228>>2]=0;H[i+56>>2]=0;H[i+60>>2]=0;H[i+100>>2]=0;H[i+104>>2]=0;H[i+184>>2]=0;H[i+188>>2]=0;H[i+220>>2]=0;H[i+224>>2]=0;k=H[e+88>>2];f=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);r=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);H:{if(r>>>0<=c>>>0){H[i+48>>2]=H[40910];f=H[40909];H[i+40>>2]=H[40908];H[i+44>>2]=f;break H}n=I[k+4|0];I:{if(!n){break I}p=n&3;f=(k+N(c,n)|0)+5|0;if(n-1>>>0<3){j=0}else{v=n&252;while(1){h=f;f=f+4|0;j=j+4|0;if((v|0)!=(j|0)){continue}break}j=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24)}if(!p){break I}while(1){j=I[f|0]|j<<8;f=f+1|0;g=g+1|0;if((p|0)!=(g|0)){continue}break}}H[65057]=0;f=pg(k,c);g=H[65057];H[65057]=0;if((g|0)==1){break G}H[i+48>>2]=0;H[i+44>>2]=f;H[i+40>>2]=((k+N(n,r+1|0)|0)+j|0)+4}h=H[(o>>>0>2]?H[e+124>>2]+N(o,28)|0:163632)+20>>2];f=H[a+68>>2];j=H[a+72>>2];k=H[e+80>>2];g=0;H[65057]=0;ha(652,i+56|0,i+40|0,k|0,h|0);h=H[65057];H[65057]=0;if((h|0)==1){break G}H[i+204>>2]=f;H[i+200>>2]=j;h=H[e+84>>2];H[i+208>>2]=h;F[i+233|0]=0;F[i+234|0]=0;H[i+228>>2]=0;H[i+220>>2]=0;H[i+224>>2]=0;F[i+232|0]=!j|!f?g:(I[h|0]|I[h+1|0]<<8)!=0;H[i+216>>2]=H[(o>>>0>2]?H[e+124>>2]+N(o,28)|0:163632)+24>>2];H[65057]=0;H[i+32>>2]=0;H[i+36>>2]=-1042284544;H[i+24>>2]=0;H[i+28>>2]=-1042284544;H[i+16>>2]=-4194304;H[i+20>>2]=1105199103;H[i+8>>2]=-4194304;H[i+12>>2]=1105199103;F[i|0]=0;f=ca(653,i+56|0,i|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break G}J:{if(!f){break J}s=M[i+24>>3];t=M[i+8>>3];K:{if(!(s>t)){H[d>>2]=0;H[d+8>>2]=0;break K}j=H[a+20>>2];g=H[a+16>>2];h=H[g+28>>2];if(h){e=j}else{H[65057]=0;h=aa(654,g|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break G}g=H[a+16>>2];s=M[i+24>>3];e=H[a+20>>2]}m=O(T(O(O(O(O(t)*O(j|0))/O(h>>>0))+O(.5))));L:{if(O(P(m))>2]=j;h=H[g+28>>2];if(!h){H[65057]=0;h=aa(654,g|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break G}j=H[d>>2]}m=O(T(O(O(O(O(s)*O(e|0))/O(h>>>0))+O(.5))));M:{if(O(P(m))>2]=e-j}s=M[i+16>>3];t=M[i+32>>3];if(!(s>2]=0;H[d+12>>2]=0;break J}j=H[a+24>>2];g=H[a+16>>2];h=H[g+28>>2];if(h){e=j}else{H[65057]=0;h=aa(654,g|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break G}g=H[a+16>>2];s=M[i+16>>3];e=H[a+24>>2]}m=O(T(O(O(O(O(t)*O(j|0))/O(h>>>0))+O(.5))));N:{if(O(P(m))>2]=j;h=H[g+28>>2];if(!h){H[65057]=0;h=aa(654,g|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break G}j=H[d+4>>2]}m=O(T(O(O(O(O(s)*O(e|0))/O(h>>>0))+O(.5))));O:{if(O(P(m))>2]=e-j}Jh(i+56|0)}Wa=i+240|0;break F}a=$()|0;_()|0;Jh(i+56|0);ba(a|0);X()}if(f){break s}l=H[b+144>>2];P:{if(l){break P}while(1){j=H[b>>2];if(!j){l=163632;break P}h=0;g=Wa-48|0;Wa=g;f=Ab(1,12);if(f){H[g+8>>2]=0;H[g+12>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;F[g+24|0]=0;H[g+28>>2]=0;H[g+32>>2]=0;H[g>>2]=0;H[g+4>>2]=0;e=ac(j);F[g+40|0]=1;H[g+36>>2]=e;l=_b(j,1128418371);i=Wa-16|0;Wa=i;if(!(!l|!H[l>>2])){H[l>>2]=H[l>>2]+1}e=l;H[g+32>>2]=e;Q:{R:{S:{T:{U:{while(1){F[g+24|0]=h;h=H[e+12>>2];H[g+4>>2]=h;n=H[e+16>>2];H[g+8>>2]=n+h;k=1073741823;H[g+28>>2]=0;if(n>>>0<=67108862){k=n<<6;k=k>>>0>16384?k:16384;k=k>>>0<1073741823?k:1073741823}H[g+12>>2]=k;H[g+20>>2]=0;H[g>>2]=0;if(!h){lb(e);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;break Q}if((n|0)<=7){break T}H[g+12>>2]=k-8;if(((I[h|0]|I[h+1|0]<<8)&65279)!=512){break T}H[i+8>>2]=h;V:{e=h+4|0;if(kt(e,g,i+8|0)){if(!H[g+28>>2]){break V}H[g+28>>2]=0;if(h>>>0>2]){break T}k=H[g+8>>2];if(k>>>0>>0|k-h>>>0<=7){break T}k=H[g+12>>2]-8|0;H[g+12>>2]=k;if(((I[h|0]|I[h+1|0]<<8)&65279)!=512|(k|0)<=0){break T}H[i+12>>2]=h;h=kt(e,g,i+12|0);e=H[g+32>>2];if(H[g+28>>2]){break S}lb(e);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;if(h){break U}break R}if(I[g+24|0]|!H[g+28>>2]){break T}k=Ec(l);H[g+4>>2]=k;H[g+8>>2]=k+H[l+16>>2];e=H[g+32>>2];h=1;if(k){continue}break S}break}lb(H[g+32>>2]);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0}if(H[l+4>>2]){H[l+4>>2]=0}break Q}e=H[g+32>>2]}lb(e);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0}lb(l);l=163632}Wa=i+16|0;H[f>>2]=l;H[g+8>>2]=0;H[g+12>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;F[g+24|0]=0;H[g+28>>2]=0;H[g+32>>2]=0;H[g>>2]=0;H[g+4>>2]=0;e=ac(j);F[g+40|0]=1;H[g+36>>2]=e;e=_b(j,1128416340);if(!(!e|!H[e>>2])){H[e>>2]=H[e>>2]+1}F[g+24|0]=0;H[g+32>>2]=e;h=H[e+12>>2];H[g+4>>2]=h;i=H[e+16>>2];H[g+8>>2]=i+h;H[g+28>>2]=0;if(i>>>0>67108862){l=1073741823}else{l=i<<6;l=l>>>0>16384?l:16384;l=l>>>0<1073741823?l:1073741823}H[g+12>>2]=l;H[g+20>>2]=0;H[g>>2]=0;W:{if(!h){lb(e);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;break W}X:{if((i|0)>=4){H[g+12>>2]=l-4;l=I[h|0]|I[h+1|0]<<8;lb(e);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;if((l&65279)!=512){break X}if(H[e+4>>2]){H[e+4>>2]=0}break W}lb(e);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0}lb(e);e=163632}H[f+4>>2]=e;x=f,y=vg(j),H[x+8>>2]=y}Wa=g+48|0;l=f;if(!f){l=163632}e=H[b+144>>2];H[b+144>>2]=e?e:l;if(!e){break P}if(!(!l|(l|0)==163632)){e=H[l>>2];H[65057]=0;fa(579,e|0);e=H[65057];H[65057]=0;if((e|0)==1){break r}H[l>>2]=0;e=H[l+4>>2];H[65057]=0;fa(579,e|0);e=H[65057];H[65057]=0;if((e|0)==1){break r}hb(l)}l=H[b+144>>2];if(!l){continue}break}}e=a;f=c;j=Wa-16|0;Wa=j;b=163632;a=H[l>>2];a=a?a:163632;h=K[a+16>>2]<8?163632:H[a+12>>2];a=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);i=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(i){b=0;if((i|0)!=1){a=H[e+56>>2];b=H[e+60>>2];a=a>>>0>b>>>0?a:b;k=a?a:1073741824;c=I[(I[h+52|0]>>0>=k>>>0&c>>>0>g>>>0)&(c>>>0>=k>>>0|c>>>0>=g>>>0))){b=a;c=g}a=a+1|0;if((i|0)!=(a|0)){continue}break}}b=b>>>0>>0?(h+N(b,48)|0)+8|0:163632}a=0;c=I[b+8|0]|I[b+9|0]<<8|(I[b+10|0]<<16|I[b+11|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Y:{if(!g){break Y}c=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);h=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;while(1){Z:{c=(a|0)<0?163632:h+(a<<3)|0;i=I[c|0]|I[c+1|0]<<8;if(f>>>0<((i<<8|i>>>8)&65535)>>>0){break Z}i=I[c+2|0]|I[c+3|0]<<8;if(f>>>0>((i<<8|i>>>8)&65535)>>>0){break Z}a=0;if(!I[b+44|0]|!I[b+45|0]){break Y}H[j+12>>2]=0;H[j+8>>2]=0;H[j+4>>2]=0;g=0;i=I[c|0]|I[c+1|0]<<8;i=(i<<8|i>>>8)&65535;_:{if(i>>>0>f>>>0){break _}k=I[c+2|0]|I[c+3|0]<<8;if(f>>>0>((k<<8|k>>>8)&65535)>>>0){break _}c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+h|0:163632;h=I[c+2|0]|I[c+3|0]<<8;H[j+4>>2]=(h<<8|h>>>8)&65535;h=f-i|0;$:{aa:{f=I[c|0]|I[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break $;case 0:break aa;default:break _}}i=c+8|0;f=h+1|0;f=(f|0)<0?163632:i+(f<<2)|0;g=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);k=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=(h|0)<0?163632:i+(h<<2)|0;h=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(k>>>0>h>>>0){c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);H[j+12>>2]=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24));c=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);H[j+8>>2]=f-(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))}g=h>>>0>>0;break _}i=c+8|0;f=h+1|0;f=(f|0)<0?163632:i+(f<<1)|0;f=I[f|0]|I[f+1|0]<<8;f=f<<8|f>>>8;h=(h|0)<0?163632:i+(h<<1)|0;h=I[h|0]|I[h+1|0]<<8;h=h<<8|h>>>8;if((f&65535)>>>0<=(h&65535)>>>0){break _}c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h&65535;H[j+12>>2]=g+c;H[j+8>>2]=(f&65535)-c;g=1}if(!g){break Y}c=H[l+4>>2];h=c?c:163632;c=H[h+16>>2];f=H[j+12>>2];if(c>>>0>>0){break Y}g=H[j+8>>2];if(g>>>0>c-f>>>0){break Y}ba:{ca:{switch(H[j+4>>2]-17|0){case 0:if(g>>>0>=9){break ba}break Y;case 1:break ca;default:break Y}}if(g>>>0<12){break Y}}m=O(K[l+8>>2]);q=O(m/O(I[b+45|0]));g=H[e+48>>2];l=H[e+52>>2];a=f+(c>>>0<4?163632:H[h+12>>2])|0;c=HM(g,l,I[a|0],0);f=0-((c>>>0>32768)+Xa|0)|0;c=32768-c|0;u=O(T(O(O(q*O((f&65535)<<16|c>>>16))+O(.5))));da:{if(O(P(u))>31;f=F[a+3|0];k=f;n=f>>31;f=I[a+1|0];a=H[e+40>>2];e=H[e+44>>2];b=I[b+44|0];H[d+12>>2]=c;m=O(m/O(b>>>0));b=HM(f,0,a,e)+32768|0;f=Xa;f=b>>>0<32768?f+1|0:f;u=O(T(O(O(m*O((f&65535)<<16|b>>>16))+O(.5))));ea:{if(O(P(u))>2]=b;b=HM(k,n,g,l)+32768|0;g=Xa;g=b>>>0<32768?g+1|0:g;q=O(T(O(O(q*O((g&65535)<<16|b>>>16))+O(.5))));fa:{if(O(P(q))>2]=b;a=HM(a,e,h,i)+32768|0;e=Xa;e=a>>>0<32768?e+1|0:e;m=O(T(O(O(m*O((e&65535)<<16|a>>>16))+O(.5))));ga:{if(O(P(m))>2]=a;a=1;break Y}a=a+1|0;if((g|0)!=(a|0)){continue}break}a=0}Wa=j+16|0;l=a}return l|0}}ea(0)|0;_()|0;Gb();X()}function Wp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0;p=Wa-48|0;Wa=p;a:{if(c>>>0<=2){c=c<<2;x=H[c+244188>>2];A=H[c+244176>>2];while(1){c=H[b+4>>2];b:{if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;c=I[c|0];break b}c=Ub(b)}if((c|0)==32|c-9>>>0<5){continue}break}n=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}n=(c|0)==45?-1:1;c=H[b+4>>2];if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;c=I[c|0];break c}c=Ub(b)}e:{f:{while(1){if(F[g+237936|0]==(c|32)){g:{if(g>>>0>6){break g}c=H[b+4>>2];if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;c=I[c|0];break g}c=Ub(b)}g=g+1|0;if((g|0)!=8){continue}break f}break}if((g|0)!=3){if((g|0)==8){break f}if(!d|g>>>0<4){break e}if((g|0)==8){break f}}c=H[b+116>>2];if((c|0)>0|(c|0)>=0){H[b+4>>2]=H[b+4>>2]-1}if(!d|g>>>0<4){break f}c=(c|0)<0;while(1){if(!c){H[b+4>>2]=H[b+4>>2]-1}g=g-1|0;if(g>>>0>3){continue}break}}g=Wa-16|0;Wa=g;d=(C(O(O(n|0)*O(Z))),v(2));b=d&2147483647;h:{if(b-8388608>>>0<=2130706431){c=b;b=b>>>7|0;j=c<<25;c=b+1065353216|0;break h}j=d<<25;c=d>>>7|2147418112;if(b>>>0>=2139095040){break h}j=0;c=0;if(!b){break h}c=b;b=Q(b);Nc(g,c,0,0,0,b+81|0);i=H[g>>2];h=H[g+4>>2];j=H[g+8>>2];c=H[g+12>>2]^65536|16265-b<<16}H[p>>2]=i;H[p+4>>2]=h;H[p+8>>2]=j;H[p+12>>2]=d&-2147483648|c;Wa=g+16|0;i=H[p+8>>2];h=H[p+12>>2];j=H[p>>2];k=H[p+4>>2];break a}i:{j:{k:{if(g){break k}g=0;while(1){if(F[g+238595|0]!=(c|32)){break k}l:{if(g>>>0>1){break l}c=H[b+4>>2];if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;c=I[c|0];break l}c=Ub(b)}g=g+1|0;if((g|0)!=3){continue}break}break j}m:{switch(g|0){case 0:n:{if((c|0)!=48){break n}g=H[b+4>>2];o:{if((g|0)!=H[b+104>>2]){H[b+4>>2]=g+1;g=I[g|0];break o}g=Ub(b)}if((g&-33)==88){f=Wa-432|0;Wa=f;c=H[b+4>>2];p:{if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;g=I[c|0];break p}g=Ub(b)}q:{r:{while(1){if((g|0)!=48){s:{if((g|0)!=46){break q}c=H[b+4>>2];if((c|0)==H[b+104>>2]){break s}H[b+4>>2]=c+1;g=I[c|0];break r}}else{c=H[b+4>>2];if((c|0)!=H[b+104>>2]){s=1;H[b+4>>2]=c+1;g=I[c|0]}else{s=1;g=Ub(b)}continue}break}g=Ub(b)}e=1;if((g|0)!=48){break q}while(1){c=q;q=c-1|0;r=r-!c|0;c=H[b+4>>2];t:{if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;g=I[c|0];break t}g=Ub(b)}if((g|0)==48){continue}break}s=1}k=1073676288;u:{while(1){v:{c=g|32;w:{x:{E=g-48|0;if(E>>>0<10){break x}if((g|0)!=46&c-97>>>0>=6){break u}if((g|0)!=46){break x}if(e){break v}e=1;q=i;r=h;break w}c=(g|0)>57?c-87|0:E;y:{if((h|0)<=0&i>>>0<=7|(h|0)<0){t=c+(t<<4)|0;break y}if(!h&i>>>0<=28){ed(f+48|0,c);cc(f+32|0,y,z,j,k,0,0,0,1073414144);y=H[f+32>>2];z=H[f+36>>2];j=H[f+40>>2];k=H[f+44>>2];cc(f+16|0,H[f+48>>2],H[f+52>>2],H[f+56>>2],H[f+60>>2],y,z,j,k);Zc(f,H[f+16>>2],H[f+20>>2],H[f+24>>2],H[f+28>>2],l,o,u,w);u=H[f+8>>2];w=H[f+12>>2];l=H[f>>2];o=H[f+4>>2];break y}if(m|!c){break y}cc(f+80|0,y,z,j,k,0,0,0,1073610752);Zc(f- -64|0,H[f+80>>2],H[f+84>>2],H[f+88>>2],H[f+92>>2],l,o,u,w);u=H[f+72>>2];w=H[f+76>>2];m=1;l=H[f+64>>2];o=H[f+68>>2]}c=i+1|0;h=c?h:h+1|0;i=c;s=1}c=H[b+4>>2];if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;g=I[c|0]}else{g=Ub(b)}continue}break}g=46}z:{if(!s){c=H[b+116>>2];A:{B:{if((c|0)>0|(c|0)>=0){c=H[b+4>>2];H[b+4>>2]=c-1;if(!d){break B}H[b+4>>2]=c-2;if(!e){break A}H[b+4>>2]=c-3;break A}if(d){break A}}yd(b,0,0)}Id(f+96|0,+(n|0)*0);l=H[f+96>>2];o=H[f+100>>2];c=H[f+108>>2];b=H[f+104>>2];break z}if((h|0)<=0&i>>>0<=7|(h|0)<0){j=i;k=h;while(1){t=t<<4;c=j+1|0;k=c?k:k+1|0;j=c;if((c|0)!=8|k){continue}break}}C:{D:{E:{if((g&-33)==80){j=Vp(b,d);c=Xa;k=c;if(j|(c|0)!=-2147483648){break C}if(d){c=H[b+116>>2];if((c|0)>0|(c|0)>=0){break E}break D}l=0;o=0;yd(b,0,0);c=0;b=0;break z}j=0;k=0;if(H[b+116>>2]<0){break C}}H[b+4>>2]=H[b+4>>2]-1}j=0;k=0}if(!t){Id(f+112|0,+(n|0)*0);l=H[f+112>>2];o=H[f+116>>2];c=H[f+124>>2];b=H[f+120>>2];break z}b=e?q:i;h=(e?r:h)<<2|b>>>30;c=j+(b<<2)|0;b=h+k|0;b=c>>>0>>0?b+1|0:b;i=c-32|0;h=b-(c>>>0<32)|0;b=h;if(i>>>0>0-x>>>0&(b|0)>=0|(b|0)>0){H[64884]=68;ed(f+160|0,n);cc(f+144|0,H[f+160>>2],H[f+164>>2],H[f+168>>2],H[f+172>>2],-1,-1,-1,2147418111);cc(f+128|0,H[f+144>>2],H[f+148>>2],H[f+152>>2],H[f+156>>2],-1,-1,-1,2147418111);l=H[f+128>>2];o=H[f+132>>2];c=H[f+140>>2];b=H[f+136>>2];break z}b=x-226|0;c=b>>31;if((h|0)>=(c|0)&b>>>0<=i>>>0|(c|0)<(h|0)){if((t|0)>=0){while(1){Zc(f+416|0,l,o,u,w,0,0,0,-1073807360);c=lj(l,o,u,w,1073610752);b=(c|0)<0;Zc(f+400|0,l,o,u,w,b?l:H[f+416>>2],b?o:H[f+420>>2],b?u:H[f+424>>2],b?w:H[f+428>>2]);b=i;i=b-1|0;h=h-!b|0;u=H[f+408>>2];w=H[f+412>>2];l=H[f+400>>2];o=H[f+404>>2];t=t<<1|(c|0)>=0;if((t|0)>=0){continue}break}}h=h-((x>>31)+(i>>>0>>0)|0)|0;b=(i-x|0)+32|0;h=b>>>0<32?h+1|0:h;c=b>>>0>>0&(h|0)<=0|(h|0)<0?(b|0)>0?b:0:A;F:{if((c|0)>=113){ed(f+384|0,n);q=H[f+392>>2];r=H[f+396>>2];y=H[f+384>>2];z=H[f+388>>2];h=0;b=0;break F}Id(f+352|0,Bj(144-c|0));ed(f+336|0,n);y=H[f+336>>2];z=H[f+340>>2];q=H[f+344>>2];r=H[f+348>>2];_p(f+368|0,H[f+352>>2],H[f+356>>2],H[f+360>>2],H[f+364>>2],y,z,q,r);B=H[f+376>>2];D=H[f+380>>2];h=H[f+372>>2];b=H[f+368>>2]}c=!(t&1)&((Qe(l,o,u,w,0,0,0,0)|0)!=0&(c|0)<32);of(f+320|0,c+t|0);cc(f+304|0,y,z,q,r,H[f+320>>2],H[f+324>>2],H[f+328>>2],H[f+332>>2]);d=b;Zc(f+272|0,H[f+304>>2],H[f+308>>2],H[f+312>>2],H[f+316>>2],b,h,B,D);b=c;cc(f+288|0,y,z,q,r,b?0:l,b?0:o,b?0:u,b?0:w);Zc(f+256|0,H[f+288>>2],H[f+292>>2],H[f+296>>2],H[f+300>>2],H[f+272>>2],H[f+276>>2],H[f+280>>2],H[f+284>>2]);kj(f+240|0,H[f+256>>2],H[f+260>>2],H[f+264>>2],H[f+268>>2],d,h,B,D);b=H[f+240>>2];c=H[f+244>>2];d=H[f+248>>2];h=H[f+252>>2];if(!Qe(b,c,d,h,0,0,0,0)){H[64884]=68}Zp(f+224|0,b,c,d,h,i);l=H[f+224>>2];o=H[f+228>>2];c=H[f+236>>2];b=H[f+232>>2];break z}H[64884]=68;ed(f+208|0,n);cc(f+192|0,H[f+208>>2],H[f+212>>2],H[f+216>>2],H[f+220>>2],0,0,0,65536);cc(f+176|0,H[f+192>>2],H[f+196>>2],H[f+200>>2],H[f+204>>2],0,0,0,65536);l=H[f+176>>2];o=H[f+180>>2];c=H[f+188>>2];b=H[f+184>>2]}H[p+16>>2]=l;H[p+20>>2]=o;H[p+24>>2]=b;H[p+28>>2]=c;Wa=f+432|0;i=H[p+24>>2];h=H[p+28>>2];j=H[p+16>>2];k=H[p+20>>2];break a}if(H[b+116>>2]<0){break n}H[b+4>>2]=H[b+4>>2]-1}g=b;f=n;t=d;d=0;n=0;e=Wa-8976|0;Wa=e;D=x+A|0;E=0-D|0;G:{H:{while(1){if((c|0)!=48){I:{if((c|0)!=46){break G}b=H[g+4>>2];if((b|0)==H[g+104>>2]){break I}H[g+4>>2]=b+1;c=I[b|0];break H}}else{b=H[g+4>>2];if((b|0)!=H[g+104>>2]){d=1;H[g+4>>2]=b+1;c=I[b|0]}else{d=1;c=Ub(g)}continue}break}c=Ub(g)}m=1;if((c|0)!=48){break G}while(1){b=i;i=b-1|0;h=h-!b|0;b=H[g+4>>2];J:{if((b|0)!=H[g+104>>2]){H[g+4>>2]=b+1;c=I[b|0];break J}c=Ub(g)}if((c|0)==48){continue}break}d=1}H[e+784>>2]=0;K:{L:{b=(c|0)==46;l=c-48|0;M:{N:{O:{P:{if(b|l>>>0<=9){while(1){Q:{if(b&1){if(!m){i=j;h=k;m=1;break Q}b=!d;break P}b=j+1|0;k=b?k:k+1|0;j=b;if((n|0)<=2044){B=(c|0)==48?B:j;b=(e+784|0)+(n<<2)|0;if(s){l=(N(H[b>>2],10)+c|0)-48|0}H[b>>2]=l;d=1;c=s+1|0;b=(c|0)==9;s=b?0:c;n=b+n|0;break Q}if((c|0)==48){break Q}H[e+8960>>2]=H[e+8960>>2]|1;B=18396}b=H[g+4>>2];R:{if((b|0)!=H[g+104>>2]){H[g+4>>2]=b+1;c=I[b|0];break R}c=Ub(g)}b=(c|0)==46;l=c-48|0;if(b|l>>>0<10){continue}break}}i=m?i:j;h=m?h:k;if(!(!d|(c&-33)!=69)){l=Vp(g,t);b=Xa;o=b;S:{if(l|(b|0)!=-2147483648){break S}if(!t){break M}l=0;o=0;if(H[g+116>>2]<0){break S}H[g+4>>2]=H[g+4>>2]-1}if(!d){break N}h=h+o|0;b=i+l|0;h=b>>>0>>0?h+1|0:h;i=b;break L}b=!d;if((c|0)<0){break O}}if(H[g+116>>2]<0){break O}H[g+4>>2]=H[g+4>>2]-1}if(!b){break L}}H[64884]=28}j=0;k=0;yd(g,0,0);c=0;b=0;break K}b=H[e+784>>2];if(!b){Id(e,+(f|0)*0);j=H[e>>2];k=H[e+4>>2];c=H[e+12>>2];b=H[e+8>>2];break K}if(!(j>>>0>9&(k|0)>=0|(k|0)>0|((i|0)!=(j|0)|(h|0)!=(k|0))|(b>>>A|0?(A|0)<=30:0))){ed(e+48|0,f);of(e+32|0,b);cc(e+16|0,H[e+48>>2],H[e+52>>2],H[e+56>>2],H[e+60>>2],H[e+32>>2],H[e+36>>2],H[e+40>>2],H[e+44>>2]);j=H[e+16>>2];k=H[e+20>>2];c=H[e+28>>2];b=H[e+24>>2];break K}if(i>>>0>(x|0)/-2>>>0&(h|0)>=0|(h|0)>0){H[64884]=68;ed(e+96|0,f);cc(e+80|0,H[e+96>>2],H[e+100>>2],H[e+104>>2],H[e+108>>2],-1,-1,-1,2147418111);cc(e- -64|0,H[e+80>>2],H[e+84>>2],H[e+88>>2],H[e+92>>2],-1,-1,-1,2147418111);j=H[e+64>>2];k=H[e+68>>2];c=H[e+76>>2];b=H[e+72>>2];break K}b=x-226|0;c=i>>>0>>0;b=b>>31;if(c&(h|0)<=(b|0)|(b|0)>(h|0)){H[64884]=68;ed(e+144|0,f);cc(e+128|0,H[e+144>>2],H[e+148>>2],H[e+152>>2],H[e+156>>2],0,0,0,65536);cc(e+112|0,H[e+128>>2],H[e+132>>2],H[e+136>>2],H[e+140>>2],0,0,0,65536);j=H[e+112>>2];k=H[e+116>>2];c=H[e+124>>2];b=H[e+120>>2];break K}if(s){if((s|0)<=8){b=(e+784|0)+(n<<2)|0;g=H[b>>2];while(1){g=N(g,10);s=s+1|0;if((s|0)!=9){continue}break}H[b>>2]=g}n=n+1|0}T:{m=i;if((B|0)>(i|0)|(B|0)>=9|(i|0)>17){break T}if((m|0)==9){ed(e+192|0,f);of(e+176|0,H[e+784>>2]);cc(e+160|0,H[e+192>>2],H[e+196>>2],H[e+200>>2],H[e+204>>2],H[e+176>>2],H[e+180>>2],H[e+184>>2],H[e+188>>2]);j=H[e+160>>2];k=H[e+164>>2];c=H[e+172>>2];b=H[e+168>>2];break K}if((m|0)<=8){ed(e+272|0,f);of(e+256|0,H[e+784>>2]);cc(e+240|0,H[e+272>>2],H[e+276>>2],H[e+280>>2],H[e+284>>2],H[e+256>>2],H[e+260>>2],H[e+264>>2],H[e+268>>2]);ed(e+224|0,H[(0-m<<2)+244176>>2]);Yp(e+208|0,H[e+240>>2],H[e+244>>2],H[e+248>>2],H[e+252>>2],H[e+224>>2],H[e+228>>2],H[e+232>>2],H[e+236>>2]);j=H[e+208>>2];k=H[e+212>>2];c=H[e+220>>2];b=H[e+216>>2];break K}b=(N(m,-3)+A|0)+27|0;c=H[e+784>>2];if(c>>>b|0?(b|0)<=30:0){break T}ed(e+352|0,f);of(e+336|0,c);cc(e+320|0,H[e+352>>2],H[e+356>>2],H[e+360>>2],H[e+364>>2],H[e+336>>2],H[e+340>>2],H[e+344>>2],H[e+348>>2]);ed(e+304|0,H[(m<<2)+244104>>2]);cc(e+288|0,H[e+320>>2],H[e+324>>2],H[e+328>>2],H[e+332>>2],H[e+304>>2],H[e+308>>2],H[e+312>>2],H[e+316>>2]);j=H[e+288>>2];k=H[e+292>>2];c=H[e+300>>2];b=H[e+296>>2];break K}while(1){c=n;n=c-1|0;if(!H[(e+784|0)+(n<<2)>>2]){continue}break}s=0;b=(m|0)%9|0;U:{if(!b){b=0;break U}d=(m|0)>=0?b:b+9|0;V:{if(!c){b=0;c=0;break V}i=H[(0-d<<2)+244176>>2];k=1e9/(i|0)|0;l=0;g=0;b=0;while(1){h=l;j=(e+784|0)+(g<<2)|0;n=H[j>>2];l=(n>>>0)/(i>>>0)|0;h=h+l|0;H[j>>2]=h;h=!h&(b|0)==(g|0);b=h?b+1&2047:b;m=h?m-9|0:m;l=N(k,n-N(i,l)|0);g=g+1|0;if((g|0)!=(c|0)){continue}break}if(!l){break V}H[(e+784|0)+(c<<2)>>2]=l;c=c+1|0}m=(m-d|0)+9|0}while(1){j=(e+784|0)+(b<<2)|0;W:{while(1){if(((m|0)!=36|K[j>>2]>=10384593)&(m|0)>=36){break W}d=c+2047|0;l=0;while(1){g=d&2047;n=(e+784|0)+(g<<2)|0;d=H[n>>2];k=d>>>3|0;i=d<<29;d=i+l|0;k=d>>>0>>0?k+1|0:k;i=d;h=k;if(!h&i>>>0<1000000001){l=0}else{l=JM(i,h,1e9,0);i=i-HM(l,Xa,1e9,0)|0}H[n>>2]=i;c=(g|0)!=(c-1&2047)?c:(b|0)==(g|0)?c:i?c:g;d=g-1|0;if((b|0)!=(g|0)){continue}break}s=s-29|0;if(!l){continue}break}b=b-1&2047;if((c|0)==(b|0)){d=e+784|0;i=d+((c+2046&2047)<<2)|0;c=c-1&2047;H[i>>2]=H[i>>2]|H[d+(c<<2)>>2]}m=m+9|0;H[(e+784|0)+(b<<2)>>2]=l;continue}break}X:{Y:while(1){i=c+1&2047;k=(e+784|0)+((c-1&2047)<<2)|0;while(1){h=(m|0)>45?9:1;Z:{while(1){d=b;g=0;_:{while(1){$:{b=d+g&2047;if((b|0)==(c|0)){break $}b=H[(e+784|0)+(b<<2)>>2];j=H[(g<<2)+244128>>2];if(b>>>0>>0){break $}if(b>>>0>j>>>0){break _}g=g+1|0;if((g|0)!=4){continue}}break}if((m|0)!=36){break _}i=0;h=0;g=0;j=0;k=0;while(1){b=d+g&2047;if((b|0)==(c|0)){c=c+1&2047;H[(e+(c<<2)|0)+780>>2]=0}of(e+768|0,H[(e+784|0)+(b<<2)>>2]);cc(e+752|0,i,h,j,k,0,0,1342177280,1075633366);Zc(e+736|0,H[e+752>>2],H[e+756>>2],H[e+760>>2],H[e+764>>2],H[e+768>>2],H[e+772>>2],H[e+776>>2],H[e+780>>2]);j=H[e+744>>2];k=H[e+748>>2];i=H[e+736>>2];h=H[e+740>>2];g=g+1|0;if((g|0)!=4){continue}break}ed(e+720|0,f);cc(e+704|0,i,h,j,k,H[e+720>>2],H[e+724>>2],H[e+728>>2],H[e+732>>2]);j=H[e+712>>2];k=H[e+716>>2];i=0;h=0;l=H[e+704>>2];o=H[e+708>>2];t=s+113|0;g=t-x|0;n=(g|0)<(A|0);b=n?(g|0)>0?g:0:A;if((b|0)<=112){break Z}break X}s=h+s|0;b=c;if((d|0)==(b|0)){continue}break}j=1e9>>>h|0;n=-1<>2];g=(t>>>h|0)+g|0;H[l>>2]=g;g=!g&(b|0)==(d|0);b=g?b+1&2047:b;m=g?m-9|0:m;g=N(j,n&t);d=d+1&2047;if((d|0)!=(c|0)){continue}break}if(!g){continue}if((b|0)!=(i|0)){H[(e+784|0)+(c<<2)>>2]=g;c=i;continue Y}H[k>>2]=H[k>>2]|1;continue}break}break}Id(e+656|0,Bj(225-b|0));_p(e+688|0,H[e+656>>2],H[e+660>>2],H[e+664>>2],H[e+668>>2],l,o,j,k);y=H[e+696>>2];z=H[e+700>>2];u=H[e+688>>2];w=H[e+692>>2];Id(e+640|0,Bj(113-b|0));Xp(e+672|0,l,o,j,k,H[e+640>>2],H[e+644>>2],H[e+648>>2],H[e+652>>2]);i=H[e+672>>2];h=H[e+676>>2];q=H[e+680>>2];r=H[e+684>>2];kj(e+624|0,l,o,j,k,i,h,q,r);Zc(e+608|0,u,w,y,z,H[e+624>>2],H[e+628>>2],H[e+632>>2],H[e+636>>2]);j=H[e+616>>2];k=H[e+620>>2];l=H[e+608>>2];o=H[e+612>>2]}m=d+4&2047;aa:{if((m|0)==(c|0)){break aa}m=H[(e+784|0)+(m<<2)>>2];ba:{if(m>>>0<=499999999){if(!m&(d+5&2047)==(c|0)){break ba}Id(e+496|0,+(f|0)*.25);Zc(e+480|0,i,h,q,r,H[e+496>>2],H[e+500>>2],H[e+504>>2],H[e+508>>2]);q=H[e+488>>2];r=H[e+492>>2];i=H[e+480>>2];h=H[e+484>>2];break ba}if((m|0)!=5e8){Id(e+592|0,+(f|0)*.75);Zc(e+576|0,i,h,q,r,H[e+592>>2],H[e+596>>2],H[e+600>>2],H[e+604>>2]);q=H[e+584>>2];r=H[e+588>>2];i=H[e+576>>2];h=H[e+580>>2];break ba}G=+(f|0);if((d+5&2047)==(c|0)){Id(e+528|0,G*.5);Zc(e+512|0,i,h,q,r,H[e+528>>2],H[e+532>>2],H[e+536>>2],H[e+540>>2]);q=H[e+520>>2];r=H[e+524>>2];i=H[e+512>>2];h=H[e+516>>2];break ba}Id(e+560|0,G*.75);Zc(e+544|0,i,h,q,r,H[e+560>>2],H[e+564>>2],H[e+568>>2],H[e+572>>2]);q=H[e+552>>2];r=H[e+556>>2];i=H[e+544>>2];h=H[e+548>>2]}if((b|0)>111){break aa}Xp(e+464|0,i,h,q,r,0,0,0,1073676288);if(Qe(H[e+464>>2],H[e+468>>2],H[e+472>>2],H[e+476>>2],0,0,0,0)){break aa}Zc(e+448|0,i,h,q,r,0,0,0,1073676288);q=H[e+456>>2];r=H[e+460>>2];i=H[e+448>>2];h=H[e+452>>2]}Zc(e+432|0,l,o,j,k,i,h,q,r);kj(e+416|0,H[e+432>>2],H[e+436>>2],H[e+440>>2],H[e+444>>2],u,w,y,z);j=H[e+424>>2];k=H[e+428>>2];l=H[e+416>>2];o=H[e+420>>2];ca:{if((-2-D|0)>=(t&2147483647)){break ca}H[e+408>>2]=j;H[e+412>>2]=k&2147483647;H[e+400>>2]=l;H[e+404>>2]=o;cc(e+384|0,l,o,j,k,0,0,0,1073610752);m=H[e+400>>2];f=H[e+404>>2];x=H[e+408>>2];t=H[e+412>>2];c=lj(m,f,x,t,1081081856);d=(c|0)<0;j=d?j:H[e+392>>2];k=d?k:H[e+396>>2];l=d?l:H[e+384>>2];o=d?o:H[e+388>>2];s=((c|0)>=0)+s|0;if((s+110|0)<=(E|0)){if((((lj(m,f,x,t,1081081856)|0)<0?n:n&(b|0)!=(g|0))|0)!=1){break ca}if(!Qe(i,h,q,r,0,0,0,0)){break ca}}H[64884]=68}Zp(e+368|0,l,o,j,k,s);j=H[e+368>>2];k=H[e+372>>2];c=H[e+380>>2];b=H[e+376>>2]}H[p+40>>2]=b;H[p+44>>2]=c;H[p+32>>2]=j;H[p+36>>2]=k;Wa=e+8976|0;i=H[p+40>>2];h=H[p+44>>2];j=H[p+32>>2];k=H[p+36>>2];break a;case 3:break j;default:break m}}c=H[b+116>>2];if((c|0)>0|(c|0)>=0){H[b+4>>2]=H[b+4>>2]-1}break i}da:{c=H[b+4>>2];ea:{if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;c=I[c|0];break ea}c=Ub(b)}if((c|0)==40){g=1;break da}h=2147450880;if(H[b+116>>2]<0){break a}H[b+4>>2]=H[b+4>>2]-1;break a}while(1){fa:{c=H[b+4>>2];ga:{if((c|0)!=H[b+104>>2]){H[b+4>>2]=c+1;c=I[c|0];break ga}c=Ub(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break fa}}g=g+1|0;continue}break}h=2147450880;if((c|0)==41){break a}c=H[b+116>>2];if((c|0)>0|(c|0)>=0){H[b+4>>2]=H[b+4>>2]-1}ha:{if(d){if(g){break ha}break a}break i}while(1){g=g-1|0;if((c|0)>0|(c|0)>=0){H[b+4>>2]=H[b+4>>2]-1}if(g){continue}break}break a}H[64884]=28;yd(b,0,0)}h=0}H[a>>2]=j;H[a+4>>2]=k;H[a+8>>2]=i;H[a+12>>2]=h;Wa=p+48|0}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=Wa-48|0;Wa=h;a:{b:{switch(I[a+7|0]){case 0:H[h+4>>2]=0;H[h+8>>2]=0;F[h|0]=0;c=H[b+12>>2];H[h+36>>2]=H[b+16>>2];H[h+32>>2]=a+12;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[h+40>>2]=a;c=0;f=h+32|0;a=H[f+4>>2];H[a+64>>2]=0;c:{if(!I[a+60|0]){break c}while(1){b=0;d:{if(K[a+68>>2]<=c>>>0){break d}e=H[H[a+80>>2]+N(c,20)>>2];b=2;if((e|0)==65535){break d}a=H[f>>2];c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=Sc((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0,e,H[f+8>>2]);b=1;if(!a){break d}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=H[f>>2];c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=i>>>0>b>>>0;o=N(d,i);c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);l=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=((g?b:1)+o<<1)+l|0;c=I[c|0]|I[c+1|0]<<8;e=((c<<8|c>>>8)&65535)<<2;c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);m=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=e+m|0;e=I[c|0]|I[c+1|0]<<8;k=I[c+2|0]|I[c+3|0]<<8;j=H[h+4>>2];n=H[h+8>>2];e:{f:{if(j>>>0>>0?k&3840:0){break f}if(!(!d|!(k&64?e:1))){a=l+((g?b:1)<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<2)|0;b=I[a+2|0]|I[a+3|0]<<8;if((j>>>0>>0?b&3840:0)|(e|0)!=(I[a|0]|I[a+1|0]<<8)|(b^k)&64){break f}}a=l+(o+!i<<1)|0;a=I[a|0]|I[a+1|0]<<8;if(!(I[(m+(((a<<8|a>>>8)&65535)<<2)|0)+3|0]&15)|j>>>0>=n>>>0){break e}}a=H[f+4>>2];b=H[a+64>>2];d=I[a+61|0]?H[a+72>>2]:b;if(!d|b>>>0>=K[a+68>>2]){break e}Qb(a,3,d-1|0,b+1|0,1,1)}tl(h,f,c);a=H[f+4>>2];d=H[a+64>>2];if((d|0)==H[a+68>>2]|!I[a+60|0]){break c}g:{if(I[c+2|0]&64){b=H[a+152>>2];H[a+152>>2]=b-1;if((b|0)>0){break g}}if(I[a+61|0]){h:{if(H[a+84>>2]==H[a+80>>2]){b=d;if(H[a+72>>2]==(b|0)){break h}}if(!qb(a,1,1)){break g}d=H[a+80>>2]+N(H[a+64>>2],20)|0;c=H[d+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[d>>2];H[b+4>>2]=c;H[b+16>>2]=H[d+16>>2];c=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=c;d=H[a+64>>2];b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=d+1}a=H[f+4>>2];if(!I[a+60|0]){break c}d=(e<<8|e>>>8)&65535;c=H[a+64>>2];continue}}c=I[h|0]!=0;break a;case 1:F[h|0]=0;H[h+4>>2]=b;c=H[b+68>>2];F[h+12|0]=0;H[h+8>>2]=c;f=I[c+4|0]|I[c+5|0]<<8;c=a+12|0;H[h+20>>2]=c;H[h+16>>2]=0;F[h+13|0]=(f|0)!=0;a=I[a+28|0]|I[a+29|0]<<8|(I[a+30|0]<<16|I[a+31|0]<<24);H[h+24>>2]=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));f=H[b+12>>2];H[h+36>>2]=H[b+16>>2];H[h+32>>2]=c;a=H[f+32>>2];if((a|0)==-1){a=Hc(f)}H[h+40>>2]=a;c=0;f=h+32|0;a=H[f+4>>2];H[a+64>>2]=0;i:{if(!I[a+60|0]){break i}while(1){b=0;j:{if(K[a+68>>2]<=c>>>0){break j}e=H[H[a+80>>2]+N(c,20)>>2];b=2;if((e|0)==65535){break j}a=H[f>>2];c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=Sc((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0,e,H[f+8>>2]);b=1;if(!a){break j}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=H[f>>2];c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=i>>>0>b>>>0;n=N(d,i);c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);m=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=((g?b:1)+n<<1)+m|0;c=I[c|0]|I[c+1|0]<<8;e=((c<<8|c>>>8)&65535)<<3;c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);k=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;a=e+k|0;l=I[a|0]|I[a+1|0]<<8;c=H[f+4>>2];e=H[c+64>>2];o=H[c+68>>2];j=!I[h+12|0]&(e|0)==(o|0);k:{l:{if(!j&((I[a+4|0]|I[a+5|0]<<8)!=65535|(I[a+6|0]|I[a+7|0]<<8)!=65535)){break l}m:{if(!d){break m}d=I[a+2|0]|I[a+3|0]<<8;if(!(d&64?l:1)){break m}b=m+((g?b:1)<<1)|0;b=I[b|0]|I[b+1|0]<<8;b=k+(((b<<8|b>>>8)&65535)<<3)|0;if(!j&((I[b+4|0]|I[b+5|0]<<8)!=65535|(I[b+6|0]|I[b+7|0]<<8)!=65535)|((d^(I[b+2|0]|I[b+3|0]<<8))&64|(l|0)!=(I[b|0]|I[b+1|0]<<8))){break l}}if(j){break k}b=m+(n+!i<<1)|0;b=I[b|0]|I[b+1|0]<<8;b=k+(((b<<8|b>>>8)&65535)<<3)|0;if((I[b+4|0]|I[b+5|0]<<8)!=65535){break l}if((I[b+6|0]|I[b+7|0]<<8)==65535){break k}}b=I[c+61|0]?H[c+72>>2]:e;if(!b|e>>>0>=o>>>0){break k}Qb(c,3,b-1|0,e+1|0,1,1)}c=a;n=0;d=H[f+4>>2];n:{if(I[h+12|0]?0:H[d+64>>2]==H[d+68>>2]){break n}a=I[c+4|0]|I[c+5|0]<<8;o:{if((a|0)==65535){break o}b=H[h+24>>2];a=b+(((a<<8|a>>>8)&65535)<<2)|0;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);o=Sc((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+b|0,H[H[d+80>>2]+N(H[h+16>>2],20)>>2],H[f+8>>2]);if(!o){break o}a=H[d+64>>2]+1|0;b=H[d+68>>2];m=a>>>0>>0?a:b;b=H[h+16>>2];k=m-b|0;p:{if(k>>>0<=1){g=H[d+80>>2];break p}e=H[d+144>>2]|32;H[d+144>>2]=e;g=H[d+80>>2];if(b>>>0>=m>>>0){break p}i=-1;a=b;r=m+(a^-1)|0;if(r>>>0>=3){q=k&-4;while(1){j=N(a,20)+g|0;p=H[j+8>>2];i=i>>>0

>>0?i:p;p=H[j+28>>2];i=i>>>0

>>0?i:p;p=H[j+48>>2];i=i>>>0

>>0?i:p;j=H[j+68>>2];i=i>>>0>>0?i:j;a=a+4|0;n=n+4|0;if((q|0)!=(n|0)){continue}break}}n=k&3;if(n){j=0;while(1){q=H[(N(a,20)+g|0)+8>>2];i=i>>>0>>0?i:q;a=a+1|0;j=j+1|0;if((n|0)!=(j|0)){continue}break}}a=b;if(k&1){a=N(b,20)+g|0;if(H[a+8>>2]!=(i|0)){H[d+144>>2]=e;H[a+4>>2]=H[a+4>>2]|3}a=b+1|0}if(!r){break p}while(1){k=N(a,20)+g|0;if(H[k+8>>2]!=(i|0)){e=e|32;H[d+144>>2]=e;H[k+4>>2]=H[k+4>>2]|3}k=N(a+1|0,20)+g|0;if(H[k+8>>2]!=(i|0)){e=e|32;H[d+144>>2]=e;H[k+4>>2]=H[k+4>>2]|3}a=a+2|0;if((m|0)!=(a|0)){continue}break}}a=N(b,20)+g|0;b=I[o|0]|I[o+1|0]<<8;b=(b<<8|b>>>8)&65535;H[a>>2]=b;if(I[h+13|0]){s=a,t=Xc(H[h+8>>2],b),G[s+12>>1]=t}F[h|0]=1}a=I[c+6|0]|I[c+7|0]<<8;q:{if((a|0)==65535){break q}b=H[h+24>>2];a=b+(((a<<8|a>>>8)&65535)<<2)|0;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);g=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+b|0;a=H[d+64>>2];b=H[d+68>>2]-1|0;b=a>>>0>>0?a:b;e=N(b,20);a=Sc(g,H[e+H[d+80>>2]>>2],H[f+8>>2]);if(!a){break q}g=e;e=H[d+80>>2];a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535;H[g+e>>2]=a;if(I[h+13|0]){s=e+N(b,20)|0,t=Xc(H[h+8>>2],a),G[s+12>>1]=t}F[h|0]=1}if(!(I[c+2|0]&128)){break n}F[h+12|0]=1;H[h+16>>2]=H[d+64>>2]}a=H[f+4>>2];d=H[a+64>>2];if((d|0)==H[a+68>>2]|!I[a+60|0]){break i}r:{if(I[c+2|0]&64){b=H[a+152>>2];H[a+152>>2]=b-1;if((b|0)>0){break r}}if(I[a+61|0]){s:{if(H[a+84>>2]==H[a+80>>2]){b=d;if(H[a+72>>2]==(b|0)){break s}}if(!qb(a,1,1)){break r}d=H[a+80>>2]+N(H[a+64>>2],20)|0;c=H[d+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[d>>2];H[b+4>>2]=c;H[b+16>>2]=H[d+16>>2];c=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=c;d=H[a+64>>2];b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=d+1}a=H[f+4>>2];if(!I[a+60|0]){break i}d=(l<<8|l>>>8)&65535;c=H[a+64>>2];continue}}c=I[h|0]!=0;break a;case 2:c=Wa-304|0;Wa=c;a=a+12|0;H[c+24>>2]=a;F[c+16|0]=0;H[c+20>>2]=b;f=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);H[c+28>>2]=a+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24));f=I[a+20|0]|I[a+21|0]<<8|(I[a+22|0]<<16|I[a+23|0]<<24);H[c+32>>2]=a+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24));f=I[a+24|0]|I[a+25|0]<<8|(I[a+26|0]<<16|I[a+27|0]<<24);H[c+40>>2]=0;H[c+36>>2]=a+(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24));f=H[b+12>>2];H[c+4>>2]=H[b+16>>2];H[c>>2]=a;a=H[f+32>>2];if((a|0)==-1){a=Hc(f)}H[c+8>>2]=a;f=c+16|0;b=0;a=H[c+4>>2];H[a+72>>2]=0;H[a+64>>2]=0;F[a+61|0]=1;F[a+62|0]=0;H[a+84>>2]=H[a+80>>2];a=H[c+4>>2];H[a+64>>2]=0;t:{if(!I[a+60|0]){break t}while(1){e=0;u:{if(K[a+68>>2]<=b>>>0){break u}i=H[H[a+80>>2]+N(b,20)>>2];e=2;if((i|0)==65535){break u}a=H[c>>2];b=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=Sc((b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))+a|0,i,H[c+8>>2]);e=1;if(!a){break u}a=I[a|0]|I[a+1|0]<<8;e=(a<<8|a>>>8)&65535}a=H[c>>2];b=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=i>>>0>e>>>0;n=N(d,i);b=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);k=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=((g?e:1)+n<<1)+k|0;b=I[b|0]|I[b+1|0]<<8;j=N((b<<8|b>>>8)&65535,6);b=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);b=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;l=j+b|0;m=I[l|0]|I[l+1|0]<<8;j=I[l+2|0]|I[l+3|0]<<8;v:{w:{if(j&32){break w}if(!(!d|!(j&64?m:1))){a=k+((g?e:1)<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=b+N((a<<8|a>>>8)&65535,6)|0;d=I[a+2|0]|I[a+3|0]<<8;if(d&32|(m|0)!=(I[a|0]|I[a+1|0]<<8)|(d^j)&64){break w}}a=k+(n+!i<<1)|0;a=I[a|0]|I[a+1|0]<<8;if(!(I[(b+N((a<<8|a>>>8)&65535,6)|0)+2|0]&32)){break v}}a=H[c+4>>2];b=H[a+64>>2];d=I[a+61|0]?H[a+72>>2]:b;if(!d|b>>>0>=K[a+68>>2]){break v}Qb(a,3,d-1|0,b+1|0,1,1)}k=0;e=H[c+4>>2];b=I[l+2|0]|I[l+3|0]<<8;if(b&128){a=H[f+24>>2];x:{if(!a){i=H[e+72>>2];a=0;break x}i=H[e+72>>2];a=a-((i|0)==H[(f+((a-1&63)<<2)|0)+28>>2])|0}H[f+24>>2]=a+1;H[(f+((a&63)<<2)|0)+28>>2]=i}y:{if(!(b&32)){break y}i=H[f+24>>2];if(!i|K[e+64>>2]>=K[e+68>>2]){break y}r=H[e+72>>2];a=I[l+4|0]|I[l+5|0]<<8;b=H[f+12>>2]+(((a<<8|a>>>8)&65535)<<2)|0;while(1){z:{if(!i){H[f+24>>2]=0;break z}i=i-1|0;q=f+((i&63)<<2)|0;if(!$c(e,H[q+28>>2])){break y}a=H[f+4>>2];j=H[a+24>>2];if(j>>>0>b>>>0){break z}d=H[a+28>>2];if(d>>>0>>0|d-b>>>0<4){break z}n=H[a+32>>2];g=n-4|0;H[a+32>>2]=g;if((g|0)<=0){break z}g=I[b|0];o=I[b+3|0]|(I[b+1|0]<<16|g<<24|I[b+2|0]<<8);g=H[H[e+80>>2]+N(H[e+64>>2],20)>>2]+(o&1073741823|g<<26>>31&-1073741824)|0;g=(g|0)<0?163632:H[f+16>>2]+(g<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break z}p=n-6|0;H[a+32>>2]=p;if((p|0)<=0){break z}g=I[g|0]|I[g+1|0]<<8;k=((g<<8|g>>>8)&65535)+k|0;if(o>>>0>=1073741824){g=(k|0)<0?163632:H[f+20>>2]+(k<<1)|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break z}d=a;a=n-8|0;H[d+32>>2]=a;if((a|0)<=0){break z}a=I[g|0]|I[g+1|0]<<8;if(!qb(e,1,1)){break y}j=(a<<8|a>>>8)&65535;a=H[e+64>>2];A:{if(a>>>0>2]){d=H[e+72>>2];g=H[e+84>>2];a=H[e+80>>2]+N(a,20)|0;break A}g=H[e+84>>2];d=H[e+72>>2];a=g+N(d?d-1|0:0,20)|0}d=N(d,20)+g|0;g=H[a+4>>2];H[d>>2]=H[a>>2];H[d+4>>2]=g;H[d+16>>2]=H[a+16>>2];g=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=g;H[d>>2]=j;H[e+64>>2]=H[e+64>>2]+1;H[e+72>>2]=H[e+72>>2]+1;d=H[f+24>>2]-1|0;j=H[(f+((d&63)<<2)|0)+28>>2];if(d>>>0>i>>>0){while(1){H[f+24>>2]=d;if(!$c(e,H[(f+((d&63)<<2)|0)+28>>2])){break y}if(!qb(e,1,1)){break y}a=H[e+64>>2];B:{if(a>>>0>2]){d=H[e+72>>2];g=H[e+84>>2];a=H[e+80>>2]+N(a,20)|0;break B}g=H[e+84>>2];d=H[e+72>>2];a=g+N(d?d-1|0:0,20)|0}d=N(d,20)+g|0;g=H[a+4>>2];H[d>>2]=H[a>>2];H[d+4>>2]=g;H[d+16>>2]=H[a+16>>2];g=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=g;H[d>>2]=65535;H[e+64>>2]=H[e+64>>2]+1;H[e+72>>2]=H[e+72>>2]+1;d=H[f+24>>2]-1|0;if(i>>>0>>0){continue}break}}if(!$c(e,j+1|0)){break y}ae(e,H[q+28>>2],H[e+72>>2])}b=b+4|0;if((o|0)>=0){continue}}break}$c(e,r)}a=H[c+4>>2];b=H[a+64>>2];if((b|0)==H[a+68>>2]|!I[a+60|0]){break t}C:{if(I[l+2|0]&64){d=H[a+152>>2];H[a+152>>2]=d-1;if((d|0)>0){break C}}if(I[a+61|0]){D:{if(H[a+84>>2]==H[a+80>>2]){d=b;if(H[a+72>>2]==(b|0)){break D}}if(!qb(a,1,1)){break C}d=H[a+80>>2]+N(H[a+64>>2],20)|0;e=H[d+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[d>>2];H[b+4>>2]=e;H[b+16>>2]=H[d+16>>2];e=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=e;b=H[a+64>>2];d=H[a+72>>2]}H[a+72>>2]=d+1}H[a+64>>2]=b+1}a=H[c+4>>2];if(!I[a+60|0]){break t}d=(m<<8|m>>>8)&65535;b=H[a+64>>2];continue}}ad(a);Wa=c+304|0;c=I[c+16|0];break a;case 4:c=ul(a+12|0,b);break a;case 5:break b;default:break a}}H[h+8>>2]=0;F[h|0]=0;H[h+4>>2]=b;c=I[a+28|0]|I[a+29|0]<<8|(I[a+30|0]<<16|I[a+31|0]<<24);a=a+12|0;H[h+12>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;c=H[b+12>>2];H[h+36>>2]=H[b+16>>2];H[h+32>>2]=a;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[h+40>>2]=a;c=0;f=h+32|0;a=H[f+4>>2];H[a+72>>2]=0;H[a+64>>2]=0;F[a+61|0]=1;F[a+62|0]=0;H[a+84>>2]=H[a+80>>2];a=H[f+4>>2];H[a+64>>2]=0;E:{if(!I[a+60|0]){break E}while(1){b=0;F:{if(K[a+68>>2]<=c>>>0){break F}e=H[H[a+80>>2]+N(c,20)>>2];b=2;if((e|0)==65535){break F}a=H[f>>2];c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=Sc((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0,e,H[f+8>>2]);b=1;if(!a){break F}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}a=H[f>>2];c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=i>>>0>b>>>0;j=N(d,i);c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);l=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=((g?b:1)+j<<1)+l|0;c=I[c|0]|I[c+1|0]<<8;e=((c<<8|c>>>8)&65535)<<3;c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);m=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=e+m|0;e=I[c|0]|I[c+1|0]<<8;k=I[c+2|0]|I[c+3|0]<<8;G:{H:{if((I[c+4|0]|I[c+5|0]<<8)!=65535|(I[c+6|0]|I[c+7|0]<<8)!=65535?k&65283:0){break H}if(!(!d|!(k&64?e:1))){a=l+((g?b:1)<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;b=I[a+2|0]|I[a+3|0]<<8;if(((I[a+4|0]|I[a+5|0]<<8)!=65535|(I[a+6|0]|I[a+7|0]<<8)!=65535?b&65283:0)|((b^k)&64|(e|0)!=(I[a|0]|I[a+1|0]<<8))){break H}}a=l+(j+!i<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=m+(((a<<8|a>>>8)&65535)<<3)|0;if(!((I[a+2|0]|I[a+3|0]<<8)&65283)){break G}if((I[a+4|0]|I[a+5|0]<<8)!=65535){break H}if((I[a+6|0]|I[a+7|0]<<8)==65535){break G}}a=H[f+4>>2];b=H[a+64>>2];d=I[a+61|0]?H[a+72>>2]:b;if(!d|b>>>0>=K[a+68>>2]){break G}Qb(a,3,d-1|0,b+1|0,1,1)}sl(h,f,c);a=H[f+4>>2];d=H[a+64>>2];if((d|0)==H[a+68>>2]|!I[a+60|0]){break E}I:{if(I[c+2|0]&64){b=H[a+152>>2];H[a+152>>2]=b-1;if((b|0)>0){break I}}if(I[a+61|0]){J:{if(H[a+84>>2]==H[a+80>>2]){b=d;if(H[a+72>>2]==(b|0)){break J}}if(!qb(a,1,1)){break I}d=H[a+80>>2]+N(H[a+64>>2],20)|0;c=H[d+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[d>>2];H[b+4>>2]=c;H[b+16>>2]=H[d+16>>2];c=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=c;d=H[a+64>>2];b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=d+1}a=H[f+4>>2];if(!I[a+60|0]){break E}d=(e<<8|e>>>8)&65535;c=H[a+64>>2];continue}}ad(a);c=I[h|0]!=0}Wa=h+48|0;return c|0}function WL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=Wa-144|0;Wa=d;H[a+88>>2]=0;H[a+92>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;H[a+112>>2]=-1;H[a+116>>2]=-1;H[a+120>>2]=-1;H[a+124>>2]=-1;H[a+128>>2]=-1;H[a+132>>2]=-1;H[a+136>>2]=-1;H[a+140>>2]=-1;H[a+144>>2]=-1;H[a+148>>2]=-1;H[a+152>>2]=-1;H[a+168>>2]=0;H[a+172>>2]=0;H[a+160>>2]=0;H[a+164>>2]=8720;H[a+176>>2]=0;H[a+180>>2]=0;H[a+184>>2]=0;H[a+188>>2]=0;o=a+192|0;c=o;H[c>>2]=0;H[c+4>>2]=0;H[a+200>>2]=0;H[a+204>>2]=0;H[a+208>>2]=0;H[a+212>>2]=0;if(!I[a+44|0]){c=ac(b);F[a+44|0]=1;H[a+40>>2]=c}b=_b(b,1128678944);if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}i=a+4|0;F[i+24|0]=0;H[i+32>>2]=b;h=H[b+12>>2];H[i+4>>2]=h;j=H[b+16>>2];H[i+8>>2]=j+h;H[i+28>>2]=0;if(j>>>0>67108862){c=1073741823}else{c=j<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}H[i+12>>2]=c;H[i+20>>2]=0;H[i>>2]=0;a:{if(!h){lb(b);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0;break a}b:{if((j|0)>=4){H[i+12>>2]=c-4;c=I[h|0];lb(b);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0;if((c|0)!=1){break b}if(H[b+4>>2]){H[b+4>>2]=0}break a}lb(b);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0}lb(b);b=163632}H[a>>2]=b;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}F[a+28|0]=0;H[a+36>>2]=b;c=H[b+12>>2];H[a+8>>2]=c;b=H[b+16>>2];H[a+12>>2]=b+c;H[a+4>>2]=0;H[a+32>>2]=0;if(b>>>0>67108862){b=1073741823}else{b=b<<6;b=b>>>0>16384?b:16384;b=b>>>0<1073741823?b:1073741823}H[a+16>>2]=b;H[a+24>>2]=0;c:{d:{e:{f:{b=H[a>>2];if(K[b+16>>2]>=4){m=H[b+12>>2];if((m|0)!=163632){break f}}Wc(a);break e}b=m+I[m+2|0]|0;H[a+56>>2]=b;g:{if((b|0)!=163632){if(Zd(b,i)){break g}}Wc(a);break e}h=H[a+56>>2];b=0;h:{if((h|0)==163632){break h}c=I[h|0]|I[h+1|0]<<8;b=2;if(!c){break h}b=(c<<8|c>>>8)&65535;c=I[h+2|0];k=N(b+1|0,c);i:{if(!c){break i}j=c&3;b=(h+N(b,c)|0)+3|0;if(c-1>>>0<3){e=0}else{g=c&252;while(1){c=b;b=b+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!j){break i}while(1){e=I[b|0]|e<<8;b=b+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}b=(e+k|0)+2|0}b=b+h|0;H[a+60>>2]=b;j:{k:{if((b|0)==163632){break k}if(!Zd(b,i)){break k}b=H[a+60>>2];if(I[b|0]|I[b+1|0]<<8){break j}}Wc(a);break e}Ss(d+8|0,b,0);l:{m:{n:{b=H[d+12>>2];switch(b+1|0){case 1:break l;case 0:break m;default:break n}}c=H[d+8>>2];if(c>>>0>2]){break m}f=H[a+12>>2];if(f>>>0>>0|b>>>0>f-c>>>0){break m}b=H[a+16>>2]-b|0;H[a+16>>2]=b;if((b|0)>0){break l}}Wc(a);break e}b=a+88|0;H[d+104>>2]=0;H[d+108>>2]=0;H[d+96>>2]=H[d+16>>2];H[d+132>>2]=0;H[d+136>>2]=0;c=H[d+12>>2];H[d+88>>2]=H[d+8>>2];H[d+92>>2]=c;H[d+100>>2]=0;F[d+108|0]=0;c=tb(4744);H[d+120>>2]=0;H[d+124>>2]=0;H[d+112>>2]=0;H[d+116>>2]=0;o:{if(!c){H[d+116>>2]=-1;break o}H[d+124>>2]=c;H[d+116>>2]=593;kb(c,0,4104);H[d+120>>2]=513}F[d+128|0]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[a+152>>2]=-1;H[a+144>>2]=-1;H[a+148>>2]=-1;H[a+136>>2]=-1;H[a+140>>2]=-1;H[a+128>>2]=-1;H[a+132>>2]=-1;H[a+120>>2]=-1;H[a+124>>2]=-1;H[a+112>>2]=-1;H[a+116>>2]=-1;H[a+160>>2]=0;H[a+164>>2]=8720;H[a+176>>2]=0;H[a+180>>2]=0;H[a+184>>2]=0;H[a+188>>2]=0;H[a+168>>2]=0;H[a+172>>2]=0;H[65057]=0;b=ca(703,d+88|0,b|0)|0;c=H[65057];H[65057]=0;p:{q:{r:{if((c|0)!=1){if(b){break q}H[65057]=0;fa(657,a|0);c=H[65057];H[65057]=0;if((c|0)!=1){break r}}break d}H[d+120>>2]=0;hb(H[d+124>>2]);if(b){break p}break e}H[d+120>>2]=0;hb(H[d+124>>2])}s:{b=H[a+172>>2];if(b>>>0<=2){H[a+52>>2]=163632;break s}b=b+m|0;H[a+52>>2]=b;if((b|0)!=163632){f=0;g=H[i+4>>2];t:{if(g>>>0>b>>>0){break t}k=H[i+8>>2];if(k>>>0<=b>>>0){break t}c=H[i+12>>2];h=c-1|0;H[i+12>>2]=h;if((h|0)<=0){break t}u:{v:{switch(I[b|0]){case 0:b=(b+(H[i+36>>2]<<1)|0)-1|0;if(b>>>0>>0|b>>>0>k>>>0|k-b>>>0<2){break t}b=c-3|0;H[i+12>>2]=b;f=(b|0)>0;break t;case 1:f=1;e=H[i+36>>2]-1|0;if(!e){break t}j=b+1|0;c=0;while(1){b=j+N(c,3)|0;if(b>>>0>>0|b>>>0>k>>>0|k-b>>>0<3){break u}h=h-3|0;H[i+12>>2]=h;if((h|0)<=0){break u}b=I[b+2|0];if(b>>>0>=e>>>0){break u}c=c+1|0;e=(b^-1)+e|0;if(e){continue}break};break t;case 2:break v;default:break t}}f=1;j=H[i+36>>2]-1|0;if(!j){break t}e=0;while(1){c=b+(e<<2)|0;f=c+1|0;if(f>>>0>>0|f>>>0>k>>>0|k-f>>>0<4){break u}h=h-4|0;H[i+12>>2]=h;if((h|0)<=0){break u}c=I[c+3|0]|I[c+4|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>=j>>>0){break u}f=1;e=e+1|0;j=(c^-1)+j|0;if(j){continue}break}break t}f=0}if(f){break s}}Wc(a);break e}H[a+84>>2]=1;w:{x:{if(H[a+148>>2]!=-1){b=H[a+108>>2];b=b?b+m|0:163632;H[a+76>>2]=b;c=H[a+176>>2];H[a+80>>2]=c?c+m|0:163632;y:{z:{if((b|0)==163632){break z}if(!Zd(b,i)){break z}b=H[a+80>>2];if((b|0)==163632){break z}c=H[a+76>>2];c=I[c|0]|I[c+1|0]<<8;e=(c<<8|c>>>8)&65535;c=0;k=H[i+4>>2];A:{if(k>>>0>b>>>0){break A}g=H[i+8>>2];if(g>>>0<=b>>>0){break A}n=H[i+12>>2];f=n-1|0;H[i+12>>2]=f;if((f|0)<=0){break A}B:{switch(I[b|0]){case 0:c=1;h=H[i+36>>2];if(!h){break A}j=1;l=b+1|0;if(!(l>>>0>>0|g>>>0<=l>>>0)){c=n-2|0;e=c&c>>31;C:{if((c|0)<=0){b=e;break C}b=f-h|0;f=0;D:{while(1){f=f+1|0;if((h|0)==(f|0)){break D}j=f+l|0;if(j>>>0>>0){b=c;break D}if(g>>>0<=j>>>0){b=c;break D}c=c-1|0;if((c|0)>0){continue}break}b=e}j=f>>>0>>0}H[i+12>>2]=b}c=!j;break A;case 3:break B;default:break A}}c=Qs(b+1|0,i,e)}if(c){break y}}Wc(a);break e}b=H[a+76>>2];b=I[b|0]|I[b+1|0]<<8;H[a+48>>2]=163632;H[a+84>>2]=(b<<8|b>>>8)&65535;b=a+48|0;if(H[a+148>>2]==-1){break x}if(H[a+52>>2]!=163632){break w}Wc(a);break e}H[a+80>>2]=163632;H[a+76>>2]=163632;H[a+48>>2]=163632;b=a+48|0}c=H[a+168>>2];if(c>>>0<2){break w}e=b;b=c+m|0;H[e>>2]=b;if((b|0)!=163632){E:{F:{h=H[i+4>>2];if(h>>>0>b>>>0){break F}c=H[i+8>>2];if(c>>>0<=b>>>0){break F}f=H[i+12>>2];e=f-1|0;H[i+12>>2]=e;if((e|0)<=0){break F}e=0;G:{H:{I:{J:{K:{g=I[b|0];switch(g&127){case 1:break J;case 0:break K;default:break G}}j=b+1|0;if(j>>>0>>0|c>>>0<=j>>>0){break F}f=f-2|0;H[i+12>>2]=f;if(!f){break F}j=I[b+1|0];if(!j){break H}k=b+2|0;if(k>>>0>>0|c>>>0>>0){break F}if(j>>>0<=c-k>>>0){break I}break F}e=b+1|0;if(e>>>0>>0|c>>>0<=e>>>0){break F}f=f-2|0;H[i+12>>2]=f;if(!f){break F}j=I[b+1|0];if(!j){break H}e=b+2|0;if(e>>>0>>0|c>>>0>>0){break F}k=c-e|0;e=j<<1;if(k>>>0>>0){break F}f=f-e|0;H[i+12>>2]=f;if((f|0)>0){break H}break F}f=f-j|0;H[i+12>>2]=f;if((f|0)<=0){break G}}e=1;j=g<<24>>24;if((j|0)>=0){break G}e=163632;L:{M:{switch(j&127){case 0:e=b+1|0;b=I[b+1|0];e=(b?e+b|0:163632)+1|0;break L;case 1:break M;default:break L}}e=I[b+1|0];e=(e?b+(e<<1)|0:163632)+2|0}if(e>>>0>>0|c>>>0<=e>>>0){break F}b=f-1|0;H[i+12>>2]=b;if(!b){break F}j=I[e|0];if(j){f=e+1|0;if(f>>>0>>0|c>>>0>>0){break F}e=c-f|0;c=N(j,3);if(e>>>0>>0){break F}b=b-c|0;H[i+12>>2]=b;e=0;if((b|0)<=0){break G}}e=1}break E}e=0}if(e){break w}}Wc(a);break e}b=H[a+60>>2];b=Rs(b)+b|0;H[a+64>>2]=b;N:{if((b|0)!=163632){if(Zd(b,i)){break N}}Wc(a);break e}b=H[a+64>>2];b=Rs(b)+b|0;H[a+68>>2]=b;O:{if((b|0)==163632){break O}if(Zd(b,i)){break O}Wc(a);break e}b=H[a+104>>2];b=b?b+m|0:163632;H[a+72>>2]=b;P:{if((b|0)!=163632){if(Zd(b,i)){break P}}Wc(a);break e}b=H[a+72>>2];b=I[b|0]|I[b+1|0]<<8;b=(b<<8|b>>>8)&65535;H[a+216>>2]=b;if((b|0)!=H[a+40>>2]){Wc(a);break e}c=H[a+84>>2];h=a+204|0;b=H[h>>2];Q:{if((b|0)>=0){k=(c|0)>0?c:0;if(k>>>0>b>>>0){c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(k>>>0>=c>>>0){continue}break}R:{if(!(b>>>0>c>>>0|c>>>0>178956969)){f=0;j=0;e=tb(N(c,24));if(e){l=H[h+4>>2];S:{if(!l){break S}b=0;if(l-1>>>0>=7){n=l&-8;while(1){g=e+N(b,24)|0;H[g>>2]=0;H[g+4>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;g=e+N(b|1,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;g=e+N(b|2,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;g=e+N(b|3,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;g=e+N(b|4,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;g=e+N(b|5,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;g=e+N(b|6,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;g=e+N(b|7,24)|0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;b=b+8|0;f=f+8|0;if((n|0)!=(f|0)){continue}break}}g=l&7;if(g){while(1){f=e+N(b,24)|0;H[f>>2]=0;H[f+4>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;b=b+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(!l){f=0;break S}j=0;while(1){f=N(j,24);b=f+e|0;f=f+H[h+8>>2]|0;H[b>>2]=H[f>>2];g=H[b+4>>2];H[b+4>>2]=H[f+4>>2];H[f+4>>2]=g;g=H[b+8>>2];H[b+8>>2]=H[f+8>>2];H[f+8>>2]=g;g=H[b+12>>2];H[b+12>>2]=H[f+12>>2];H[f+12>>2]=g;g=H[f+20>>2];H[b+16>>2]=H[f+16>>2];H[b+20>>2]=g;f=H[h+4>>2];j=j+1|0;if(f>>>0>j>>>0){continue}break}if(!f){f=0;break S}b=f;while(1){b=H[h+8>>2]+N(b,24)|0;H[b-16>>2]=0;j=b-12|0;hb(H[j>>2]);H[j>>2]=0;b=b-20|0;H[b>>2]=0;H[b+4>>2]=0;b=H[h+4>>2]-1|0;H[h+4>>2]=b;if(b){continue}break}}H[h+4>>2]=f;hb(H[h+8>>2])}if(e){break R}}H[h>>2]=-1;b=0;break Q}H[h>>2]=c;H[h+8>>2]=e}c=H[h+4>>2];T:{if(k>>>0>c>>>0){while(1){H[h+4>>2]=c+1;b=H[h+8>>2]+N(c,24)|0;H[b>>2]=0;H[b+4>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;c=H[h+4>>2];if(k>>>0>c>>>0){continue}break T}}if(c>>>0<=k>>>0){break T}while(1){b=H[h+8>>2]+N(c,24)|0;H[b-16>>2]=0;c=b-12|0;hb(H[c>>2]);H[c>>2]=0;b=b-20|0;H[b>>2]=0;H[b+4>>2]=0;c=H[h+4>>2]-1|0;H[h+4>>2]=c;if(c>>>0>k>>>0){continue}break}}H[h+4>>2]=k;b=1}else{b=0}}if(b){U:{if(H[a+84>>2]){e=0;while(1){V:{if(K[a+208>>2]<=e>>>0){b=H[40913];H[64764]=H[40912];H[64765]=b;b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=259040;break V}b=H[a+212>>2]+N(e,24)|0}H[b>>2]=0;H[b+4>>2]=0;H[b+20>>2]=163632;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;e=e+1|0;b=H[a+84>>2];if(e>>>0>>0){continue}break}if(H[a+148>>2]==-1){break U}if(!b){break e}f=0;W:{while(1){b=d+72|0;Ss(b,H[a+76>>2],f);if(!Gh(b,i)){Wc(a);break e}H[d+96>>2]=H[d+80>>2];b=H[d+76>>2];H[d+88>>2]=H[d+72>>2];H[d+92>>2]=b;F[d+108|0]=0;F[d+104|0]=0;H[d+100>>2]=0;b=tb(4744);H[d+120>>2]=0;H[d+124>>2]=0;H[d+112>>2]=0;H[d+116>>2]=0;X:{if(!b){H[d+116>>2]=-1;break X}H[d+116>>2]=593;H[d+124>>2]=b;kb(b,0,4104);H[d+120>>2]=513}H[65057]=0;F[d+128|0]=0;c=aa(704,o|0)|0;b=H[65057];H[65057]=0;Y:{Z:{_:{$:{if((b|0)==1){break $}b=H[40915];H[64766]=H[40914];H[64767]=b;b=H[40913];e=H[40912];H[64764]=e;H[64765]=b;h=H[40911];j=H[40910];H[64762]=j;H[64763]=h;k=H[40909];g=H[40908];H[64760]=g;H[64761]=k;if((c|0)!=259040){H[c>>2]=0;H[c+4>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c+24>>2]=0;H[c+28>>2]=-1;H[65057]=0;l=ca(705,d+88|0,c|0)|0;n=H[65057];H[65057]=0;if((n|0)==1){break $}if(l){break _}}H[65057]=0;fa(657,a|0);b=H[65057];H[65057]=0;e=1;if((b|0)!=1){break Z}}a=$()|0;_()|0;break W}aa:{if(K[a+208>>2]<=f>>>0){H[64764]=e;H[64765]=b;H[64762]=j;H[64763]=h;H[64760]=g;H[64761]=k;b=259040;break aa}b=H[a+212>>2]+N(f,24)|0}e=H[c+20>>2];c=H[c+16>>2];H[d+64>>2]=0;H[d+60>>2]=e;H[d+56>>2]=c+m;H[65057]=0;c=Gh(d+56|0,i);e=H[65057];H[65057]=0;ba:{if((e|0)!=1){if(c){break ba}H[65057]=0;fa(657,a|0);b=H[65057];H[65057]=0;e=1;if((b|0)!=1){break Z}}a=$()|0;_()|0;break W}H[d+16>>2]=H[d- -64>>2];c=H[d+60>>2];H[d+8>>2]=H[d+56>>2];H[d+12>>2]=c;F[d+28|0]=0;F[d+24|0]=0;H[d+20>>2]=0;c=tb(4744);H[d+40>>2]=0;H[d+44>>2]=0;H[d+32>>2]=0;H[d+36>>2]=0;ca:{if(!c){H[d+36>>2]=-1;break ca}H[d+36>>2]=593;H[d+44>>2]=c;kb(c,0,4104);H[d+40>>2]=513}F[d+48|0]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[b+20>>2]=163632;H[65057]=0;c=ca(707,d+8|0,b|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break Y}da:{if(c){c=b;b=H[b+16>>2];b=b?b+H[d+56>>2]|0:163632;H[c+20>>2]=b;e=0;if((b|0)==163632){break da}H[65057]=0;b=Zd(b,i);c=H[65057];H[65057]=0;if((c|0)==1){break Y}if(b){break da}}H[65057]=0;fa(657,a|0);b=H[65057];H[65057]=0;e=1;if((b|0)==1){break Y}}H[d+40>>2]=0;hb(H[d+44>>2])}H[d+120>>2]=0;hb(H[d+124>>2]);if(e){break e}f=f+1|0;if(f>>>0>=K[a+84>>2]){break e}continue}break}a=$()|0;_()|0;H[d+40>>2]=0;hb(H[d+44>>2])}break c}if(H[a+148>>2]!=-1){break e}}ea:{if(!H[a+208>>2]){b=H[40913];H[64764]=H[40912];H[64765]=b;b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=259040;break ea}b=H[a+212>>2]}c=H[a+180>>2];f=H[a+184>>2];H[d+16>>2]=0;H[d+12>>2]=f;H[d+8>>2]=c+m;if(!Gh(d+8|0,i)){Wc(a);break e}H[d+96>>2]=H[d+16>>2];c=H[d+12>>2];H[d+88>>2]=H[d+8>>2];H[d+92>>2]=c;F[d+108|0]=0;F[d+104|0]=0;H[d+100>>2]=0;c=tb(4744);H[d+120>>2]=0;H[d+124>>2]=0;H[d+112>>2]=0;H[d+116>>2]=0;fa:{if(!c){H[d+116>>2]=-1;break fa}H[d+116>>2]=593;H[d+124>>2]=c;kb(c,0,4104);H[d+120>>2]=513}F[d+128|0]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[b+20>>2]=163632;H[65057]=0;c=ca(707,d+88|0,b|0)|0;f=H[65057];H[65057]=0;ga:{if((f|0)==1){break ga}ha:{if(c){c=b;b=H[b+16>>2];b=b?b+H[d+8>>2]|0:163632;H[c+20>>2]=b;if((b|0)==163632){break ha}H[65057]=0;b=Zd(b,i);c=H[65057];H[65057]=0;if((c|0)==1){break ga}if(b){break ha}}H[65057]=0;fa(657,a|0);a=H[65057];H[65057]=0;if((a|0)==1){break ga}}H[d+120>>2]=0;hb(H[d+124>>2]);break e}break d}Wc(a)}Wa=d+144|0;return}a=$()|0;_()|0}H[d+120>>2]=0;hb(H[d+124>>2]);ba(a|0);X()}function Fn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=Wa-32|0;Wa=g;p=H[b+100>>2];d=1;a:{b:{c:{d:{e:{f:{g:{if(ob(a,0)){break g}e=Mb(a,29600,b+184|0);H[g+28>>2]=e;if(e){break g}d=3;if(H[b+184>>2]!=1885562369){break g}f=H[b+188>>2];if(!f){break g}e=H[a+4>>2];if(e>>>0<16){break g}d=e>>>4|0;if(!(f>>>0<=9&d>>>0>=f>>>0)){f=e>>>0<144?d:9;H[b+188>>2]=f}e=0;f=jb(p,16,0,f,0,g+28|0);H[b+192>>2]=f;d=H[g+28>>2];if(d){break g}if(H[b+188>>2]){while(1){d=Mb(a,29616,f);H[g+28>>2]=d;if(d){break d}f=f+16|0;e=e+1|0;d=H[b+188>>2];if(e>>>0>>0){continue}break}f=H[b+192>>2];if((d|0)==1){break f}e=d}d=0;h:{i:{while(1){i=d+1|0;if((i|0)==(e|0)){j=e-1|0;e=H[a+4>>2];f=H[b+192>>2];break i}m=d^-1;h=H[f+12>>2];d=0;j=0;while(1){k=(j<<4)+f|0;j=j+1|0;l=(j<<4)+f|0;e=H[l+12>>2];if(h>>>0>e>>>0){d=H[k+12>>2];H[g+16>>2]=H[k+8>>2];H[g+20>>2]=d;d=H[k+4>>2];H[g+8>>2]=H[k>>2];H[g+12>>2]=d;d=H[l+12>>2];H[k+8>>2]=H[l+8>>2];H[k+12>>2]=d;d=H[l+4>>2];H[k>>2]=H[l>>2];H[k+4>>2]=d;d=H[g+20>>2];H[l+8>>2]=H[g+16>>2];H[l+12>>2]=d;d=H[g+12>>2];H[l>>2]=H[g+8>>2];H[l+4>>2]=d;e=H[l+12>>2];d=1}h=H[k+8>>2];if(h>>>0>e>>>0|K[k+12>>2]>e-h>>>0){break h}h=e;e=H[b+188>>2];if(m+e>>>0>j>>>0){continue}break}j=e-1|0;if(d){d=i;if(j>>>0>d>>>0){continue}}break}e=H[a+4>>2];f=H[b+192>>2];i=f;if(!j){break e}}i=(j<<4)+f|0;h=0;d=f;while(1){k=H[d+8>>2];if(!(k>>>0<=e>>>0&K[d+12>>2]<=e-k>>>0)){H[g+28>>2]=8;break d}d=d+16|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}break e}H[g+28>>2]=9;break d}H[g+4>>2]=d;break b}e=H[a+4>>2];i=f}d=H[i+12>>2];if(d>>>0>e>>>0){H[g+28>>2]=8;break d}d=e-d|0;if(d>>>0>2]){H[i+8>>2]=d}H[g+4>>2]=0;break c}d=H[b+192>>2];if(d){Ya[H[p+8>>2]](p,d)}f=0;H[b+192>>2]=0;d=H[g+28>>2];H[g+4>>2]=d;if(d){break b}}H[b>>2]=1;H[b+4>>2]=0;d=0;if((c|0)<0){break a}h=H[b+100>>2];j=3;j:{k:{c=H[b+188>>2];l:{if(!c){break l}d=0;while(1){if(H[(d<<4)+f>>2]==1){j=83;c=H[((d<<4)+f|0)+12>>2];e=H[a+8>>2];if(c>>>0>>0){break l}if(dc(a,c-e|0)){break l}k=H[((d<<4)+f|0)+8>>2];c=0;H[g+8>>2]=0;d=Qc(a,g+8|0);if(!H[g+8>>2]){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}H[g+8>>2]=j;c=0;d=0;break j}if(d>>>0>255){d=0;break j}f=d&4;m:{if(f){e=$b(a,g+8|0);break m}e=Qc(a,g+8|0)}if(H[g+8>>2]){d=0;break j}if(e>>>0>(k>>>0)/9>>>0){H[g+8>>2]=8;d=0;break j}i=e>>>0<256?e:256;H[b+280>>2]=i;d=jb(h,12,0,i,0,g+8|0);if(H[g+8>>2]){break j}n:{if(!i){break n}j=0;if(!f){while(1){l=Mb(a,29680,N(j,12)+d|0);H[g+8>>2]=l;if(l){break j}j=j+1|0;if((i|0)!=(j|0)){continue}break n}}while(1){l=Mb(a,29648,N(j,12)+d|0);H[g+8>>2]=l;if(l){break j}j=j+1|0;if((i|0)!=(j|0)){continue}break}}j=dc(a,N(e-i|0,9));H[g+8>>2]=j;if(j){H[g+8>>2]=83;break j}o:{j=e&3;if(!j){break o}j=dc(a,4-j|0);H[g+8>>2]=j;if(!j){break o}H[g+8>>2]=83;break j}p:{if(f){f=$b(a,g+8|0);break p}f=Qc(a,g+8|0)}if(H[g+8>>2]){break j}if(f>>>0>k+N(e,-9)>>>0){H[g+8>>2]=8;break j}f=f>>>0<16777472?f:16777472;c=jb(h,1,0,f+1|0,0,g+8|0);if(H[g+8>>2]){break j}e=ec(a,c,f);H[g+8>>2]=e;if(e){break j}j=0;l=jb(h,12,0,i,0,g+8|0);if(H[g+8>>2]){break j}H[b+284>>2]=l;if(i){while(1){k=N(j,12);e=k+d|0;m=H[e>>2];if(!((m|0)>=0&f>>>0>=m>>>0)){H[g+8>>2]=9;break j}k=l+k|0;u=k,v=bd(h,c+m|0,g+8|0),H[u>>2]=v;if(H[g+8>>2]){break j}m=I[e+4|0];F[k+4|0]=m;e=H[e+8>>2];q:{if(m){if(!(e>>>0<=f>>>0&(e|0)>=0)){H[g+8>>2]=9;break j}u=k,v=bd(h,c+e|0,g+8|0),H[u+8>>2]=v;if(!H[g+8>>2]){break q}break j}H[k+8>>2]=e}j=j+1|0;if((i|0)!=(j|0)){continue}break}}H[g+8>>2]=0}if(d){Ya[H[h+8>>2]](h,d)}if(c){Ya[H[h+8>>2]](h,c)}c=H[g+8>>2];H[g+4>>2]=c;if(c){break b}r:{s:{c=H[b+188>>2];if(!c){break s}f=H[b+192>>2];d=0;while(1){if(H[(d<<4)+f>>2]!=256){d=d+1|0;if((d|0)!=(c|0)){continue}break s}break}k=0;break r}c=Dn(a,b,2);H[g+4>>2]=c;if(c){break b}c=H[b+188>>2];f=H[b+192>>2];k=1}if(!c){H[g+4>>2]=3;break b}h=H[b+100>>2];d=0;t:{u:{while(1){if(H[(d<<4)+f>>2]==4){c=83;e=H[((d<<4)+f|0)+12>>2];i=H[a+8>>2];if(e>>>0>>0){break t}if(dc(a,e-i|0)){break t}f=H[((d<<4)+f|0)+8>>2];H[g+28>>2]=0;e=Qc(a,g+28|0);c=H[g+28>>2];if(c){break t}if(((e|256)&-256)==256){break u}H[g+4>>2]=3;break b}d=d+1|0;if((d|0)!=(c|0)){continue}break}H[g+4>>2]=3;break b}i=e&4;v:{if(e>>>0<=255){if(i){d=$b(a,g+28|0);break v}d=Qc(a,g+28|0);break v}if(i){d=yb(a,g+28|0);break v}d=Xn(a,g+28|0)}c=3;if(H[g+28>>2]){break t}w:{if(e>>>0<=255){c=8;if(d-1>>>0<(f>>>0)/12>>>0){break w}break t}c=8;if(d-1>>>0>=(f>>>0)/5>>>0){break t}}c=(d>>>0<65534?d:65534)+1|0;H[b+288>>2]=c;d=jb(h,16,0,c,0,g+28|0);H[b+292>>2]=d;c=H[g+28>>2];if(c){break t}x:{y:{z:{A:{if(K[b+288>>2]<2){break A}c=d+16|0;f=1;if(e>>>0<=255){d=i?29840:29872;while(1){e=Mb(a,d,c);H[g+28>>2]=e;H[c+12>>2]=0;if(e){break y}if(!(G[c+2>>1]>=G[c>>1]&G[c+6>>1]>=(0-G[c+8>>1]|0))){H[c>>2]=0;H[c+4>>2]=0;G[c+8>>1]=0}c=c+16|0;f=f+1|0;if(f>>>0>2]){continue}break}break A}while(1){d=Mb(a,29904,g+8|0);if(d){break z}G[c>>1]=I[g+8|0]-128;G[c+2>>1]=I[g+9|0]-128;G[c+4>>1]=I[g+10|0]-128;e=I[g+11|0]-128|0;G[c+6>>1]=e;d=I[g+12|0];G[c+10>>1]=0;G[c+8>>1]=d-128;H[g+28>>2]=0;H[c+12>>2]=0;if(!((e|0)>=(128-d|0)&G[c+2>>1]>=G[c>>1])){H[c>>2]=0;H[c+4>>2]=0;G[c+8>>1]=0}c=c+16|0;f=f+1|0;if(f>>>0>2]){continue}break}}H[g+4>>2]=0;break x}H[g+28>>2]=d;H[c+12>>2]=0}c=H[b+292>>2];if(c){Ya[H[h+8>>2]](h,c)}H[b+292>>2]=0;c=H[g+28>>2];H[g+4>>2]=c;if(c){break b}}e=H[b+188>>2];if(!e){H[g+4>>2]=3;break b}c=H[b+192>>2];d=0;B:{C:{D:{E:{while(1){if(H[c+(d<<4)>>2]==8){f=83;e=H[(c+(d<<4)|0)+12>>2];h=H[a+8>>2];if(e>>>0>>0){break C}if(dc(a,e-h|0)){break C}e=H[(c+(d<<4)|0)+8>>2];f=Nb(a,8);H[g+8>>2]=f;if(f){break C}h=Yn(a);i=h&4;if(!i){break E}c=uc(a);break D}d=d+1|0;if((e|0)!=(d|0)){continue}break}H[g+4>>2]=3;break b}c=Yn(a)}Db(a);if(h>>>0>255){H[g+4>>2]=3;break b}f=3;c=c>>>0<65534?c:65534;if((c|0)!=(H[b+288>>2]-1|0)){break C}F:{if(!c){break F}f=(H[a+8>>2]+(c<<2)|0)+16|0;d=1;if(!i){while(1){j=Qc(a,g+8|0);H[(H[b+292>>2]+(d<<4)|0)+12>>2]=f+(e>>>0>>0?0:j);j=(c|0)==(d|0);d=d+1|0;if(!j){continue}break F}}while(1){j=$b(a,g+8|0);H[(H[b+292>>2]+(d<<4)|0)+12>>2]=f+(e>>>0>>0?0:j);j=(c|0)!=(d|0);d=d+1|0;if(j){continue}break}}f=H[g+8>>2];if(f){break C}G:{if(i){$b(a,g+8|0);f=H[g+8>>2];if(f){break C}$b(a,g+8|0);f=H[g+8>>2];if(f){break C}$b(a,g+8|0);f=H[g+8>>2];if(f){break C}$b(a,g+8|0);break G}Qc(a,g+8|0);f=H[g+8>>2];if(f){break C}Qc(a,g+8|0);f=H[g+8>>2];if(f){break C}Qc(a,g+8|0);f=H[g+8>>2];if(f){break C}Qc(a,g+8|0)}f=H[g+8>>2];if(!f){break B}}H[g+4>>2]=f;break b}H[b+312>>2]=h;H[g+4>>2]=0;f=0;i=Wa-16|0;Wa=i;h=3;e=H[b+188>>2];H:{if(!e){break H}l=b+296|0;d=H[b+192>>2];c=H[b+100>>2];while(1){if(H[d+(f<<4)>>2]==32){h=83;d=H[(d+(f<<4)|0)+12>>2];e=H[a+8>>2];if(d>>>0>>0){break H}if(dc(a,d-e|0)){break H}H[i+12>>2]=0;d=Qc(a,i+12|0);h=H[i+12>>2];if(h){break H}h=3;if(d>>>0>255){break H}m=d&4;I:{if(m){h=Mb(a,29936,l);break I}h=Mb(a,29968,l)}H[i+12>>2]=h;if(h){break H}h=8;d=J[b+298>>1];f=J[b+296>>1];if(d>>>0>>0|d>>>0>255){break H}e=J[b+302>>1];j=J[b+300>>1];if(e>>>0>>0|e>>>0>255){break H}d=N((e-j|0)+1|0,(d-f|0)+1|0);u=b,v=jb(c,2,0,d,0,i+12|0),H[u+308>>2]=v;h=H[i+12>>2];if(h){break H}d=Nb(a,d<<1);H[i+12>>2]=d;J:{if(!d){e=J[b+304>>1];c=e>>>8|0;f=J[b+300>>1];K:{L:{if(c>>>0>>0|J[b+302>>1]>>0){break L}d=J[l>>1];e=e&255;if(d>>>0>e>>>0){break L}j=J[b+298>>1];if(j>>>0>=e>>>0){break K}}d=J[b+296>>1];G[b+304>>1]=d+(f<<8);j=J[b+298>>1];c=f;e=d}h=1;c=H[a+32>>2]+(((e&65535)-d|0)+N((j-d|0)+1|0,c-f|0)<<1)|0;c=I[c+!m|0]<<8|I[c+((m|0)!=0)|0];if((c|0)!=65535){c=c+1&65535;h=c>>>0>2]?c:1}c=H[b+292>>2];d=(h<<4)+c|0;e=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=e;e=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=e;M:{h=J[b+300>>1];if(h>>>0>J[b+302>>1]){break M}c=J[b+296>>1];d=J[b+298>>1];if(c>>>0>d>>>0){break M}f=H[b+308>>2];while(1){N:{if((c&65535)>>>0>d>>>0){break N}if(!m){while(1){d=Le(a);G[f>>1]=(d|0)==65535?-1:d+1|0;f=f+2|0;d=J[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break N}}while(1){d=Rb(a);G[f>>1]=(d|0)==65535?-1:d+1|0;f=f+2|0;d=J[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break}}h=h+1|0;if(J[b+302>>1]<(h&65535)>>>0){break M}c=J[l>>1];continue}}Db(a);break J}d=H[b+308>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+308>>2]=0}h=H[i+12>>2];break H}f=f+1|0;if((e|0)!=(f|0)){continue}break}}Wa=i+16|0;H[g+4>>2]=h;if(h){break b}if(!k){a=Dn(a,b,256);H[g+4>>2]=a;if(a){break b}}a=H[b+8>>2];H[b+8>>2]=a|18;if(I[b+199|0]){H[b+8>>2]=a|22}a=0;f=0;h=0;i=0;j=0;m=Wa-16|0;Wa=m;H[m+12>>2]=0;H[b+12>>2]=0;r=1;q=H[b+100>>2];l=H[b+280>>2];O:{P:{if((l|0)<=0){k=1;h=1;break P}o=H[b+284>>2];while(1){Q:{c=a;e=rb(H[o+N(c,12)>>2],11280);a=c+1|0;if((l|0)<=(a|0)){break Q}if(e){continue}}break}a=0;d=2;R:{if(e){break R}c=o+N(c,12)|0;if(!I[c+4|0]){break R}S:{switch(I[H[c+8>>2]]-73|0){case 0:case 6:case 32:case 38:break S;default:break R}}H[b+12>>2]=1;h=(I[H[c+8>>2]]&223)==79?11357:11500;d=3}while(1){T:{e=a;f=rb(H[o+N(a,12)>>2],11622);a=a+1|0;if((l|0)<=(a|0)){break T}if(f){continue}}break}a=0;k=1;U:{if(f){break U}e=o+N(e,12)|0;k=1;if(!I[e+4|0]){break U}k=1;if((I[H[e+8>>2]]|32)!=98){break U}H[b+12>>2]=d;j=11719;k=0}while(1){V:{d=a;e=rb(H[o+N(d,12)>>2],11814);a=d+1|0;if((l|0)<=(a|0)){break V}if(e){continue}}break}a=0;c=0;W:{if(e){break W}d=o+N(d,12)|0;c=0;if(!I[d+4|0]){break W}d=H[d+8>>2];e=I[d|0];c=0;if(!e){break W}c=0;if((e|0)==78){break W}c=0;if((e|0)==110){break W}c=d}while(1){X:{f=a;r=rb(H[o+N(a,12)>>2],11907);a=a+1|0;if((l|0)<=(a|0)){break X}if(r){continue}}break}d=0;e=0;Y:{if(r){break Y}Z:{a=o+N(f,12)|0;if(!I[a+4|0]){break Z}a=H[a+8>>2];f=I[a|0];if(!f|(f|0)==78){break Z}e=0;if((f|0)==110){break Y}d=a;i=wb(d);e=i+1|0;break Y}e=0}_:{if(k){j=0;break _}s=wb(j);e=(s+e|0)+1|0}f=0;if(h){t=wb(h);e=(t+e|0)+1|0;a=h}else{a=0}o=a;$:{if(!c){a=0;break $}a=wb(c);e=(e+a|0)+1|0;f=c}r=!h;h=!c;if(e){break O}}e=8;i=7;d=11981}c=zb(q,e,m+12|0);H[b+24>>2]=c;e=H[m+12>>2];if(!e){if(d){l=mb(c,d,i);aa:{if(!i){break aa}e=0;c=0;if(i-1>>>0>=3){q=i&-4;d=0;while(1){n=c+l|0;if(I[n|0]==32){F[n|0]=45}n=l+(c|1)|0;if(I[n|0]==32){F[n|0]=45}n=l+(c|2)|0;if(I[n|0]==32){F[n|0]=45}n=l+(c|3)|0;if(I[n|0]==32){F[n|0]=45}c=c+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}}d=i&3;if(!d){break aa}while(1){q=c+l|0;if(I[q|0]==32){F[q|0]=45}c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=i+l|0}if(!k){if(H[b+24>>2]!=(c|0)){F[c|0]=32;c=c+1|0}c=mb(c,j,s)+s|0}if(!r){if(H[b+24>>2]!=(c|0)){F[c|0]=32;c=c+1|0}c=mb(c,o,t)+t|0}if(!h){if(H[b+24>>2]!=(c|0)){F[c|0]=32;c=c+1|0}f=mb(c,f,a);ba:{if(!a){a=0;break ba}e=0;c=0;if(a-1>>>0>=3){h=a&-4;d=0;while(1){i=c+f|0;if(I[i|0]==32){F[i|0]=45}i=f+(c|1)|0;if(I[i|0]==32){F[i|0]=45}i=f+(c|2)|0;if(I[i|0]==32){F[i|0]=45}i=f+(c|3)|0;if(I[i|0]==32){F[i|0]=45}c=c+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}d=a&3;if(!d){break ba}while(1){h=c+f|0;if(I[h|0]==32){F[h|0]=45}c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=a+f|0}F[c|0]=0;e=H[m+12>>2]}Wa=m+16|0;H[g+4>>2]=e;if(e){break b}a=fe(b,10323);ca:{if(!(!a|!I[a+4|0])){u=b,v=bd(p,H[a+8>>2],g+4|0),H[u+20>>2]=v;if(!H[g+4>>2]){break ca}break b}H[b+20>>2]=0}H[b+28>>2]=1;H[b+16>>2]=H[b+288>>2];a=jb(p,16,0,1,0,g+4|0);H[b+32>>2]=a;if(H[g+4>>2]){break b}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;c=32767;d=H[b+208>>2]+H[b+204>>2]|0;e=d&32768?0-d|0:d;f=d;d=d>>31;d=(f^d)-d|0;G[a>>1]=d>>>0>32767?32767:e;f=fe(b,10453);da:{if(f){d=H[f+8>>2];e=d>>31;if((d^e)-e>>>0>327665){break da}c=(d+5|0)/10|0;c=c&32768?0-c|0:c;break da}c=sb(d>>>0>32767?32767:e<<16>>16,2,3)}G[a+2>>1]=c;c=fe(b,10604);if(c){d=H[c+8>>2];c=d>>31;c=(c^d)-c|0;if(c>>>0<=328898){c=sb(c,460800,72270)}else{c=32767}H[a+4>>2]=c}c=fe(b,10739);if(c){c=H[c+8>>2];d=c>>31;if((c^d)-d>>>0<=32767){c=c<<16;d=c>>16;c=((c|0)<0?0-d|0:d)<<6}else{c=2097088}H[a+12>>2]=c}d=fe(b,10842);c=0;ea:{if(!d){break ea}d=H[d+8>>2];e=d>>31;c=32767;if((d^e)-e>>>0>32767){break ea}c=(d&32768?0-d|0:d)<<16>>16}fa:{ga:{ha:{ia:{d=fe(b,10937);if(d){f=32767;d=H[d+8>>2];e=d>>31;if((d^e)-e>>>0>32767){break ia}f=d&32768?0-d|0:d;d=H[a+12>>2];if(d){break ga}d=H[a+4>>2];H[a+12>>2]=d;if(!(f&65535)){break fa}e=a+12|0;break ha}d=H[a+12>>2];if(d){break fa}d=H[a+4>>2];H[a+12>>2]=d;break fa}d=H[a+12>>2];if(d){break ga}d=H[a+4>>2];H[a+12>>2]=d;e=a+12|0}d=sb(d,f<<16>>16,72);H[e>>2]=d}if(!c|!(f&65535)){break fa}d=sb(d,c,f<<16>>16)}H[a+8>>2]=d;a=fe(b,11043);c=fe(b,11171);if(!(!a|!I[a+4|0]|(!c|!I[c+4|0]))){u=b,v=bd(p,H[c+8>>2],g+4|0),H[u+176>>2]=v;if(H[g+4>>2]){break b}u=b,v=bd(p,H[a+8>>2],g+4|0),H[u+180>>2]=v}if(H[g+4>>2]){break b}d=0;break a}H[g+4>>2]=c}d=3}Wa=g+32|0;return d}function VJ(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=Wa-32|0;Wa=l;a:{if(!b){n=1;if(!H[e>>2]|(!e|!f)){break a}H[e>>2]=0;break a}h=b;j=I[h+1|0];b=I[h|0];b:{if((b|0)==120){m=h;i=0;if((j|0)==45){break b}}g=h+1|0;m=0;c:{if(!j){break c}n=h;while(1){i=g;d:{if((b&255)!=45|I[n+2|0]!=45){break d}k=k?k:n;if((j|0)!=120){break d}m=i;break c}g=i+1|0;j=I[i+1|0];if(!j){break c}b=I[i|0];n=i;continue}}i=k?k:g}n=Zq(m,c,d,105153,783)^1;b=Zq(m,e,f,105278,784);if(!f|!e|(!H[e>>2]|b)){break a}H[l+24>>2]=h;b=h;e:{f:{g:{while(1){g=Xb(b,105712);if(!g|g>>>0>=i>>>0){break g}b=g+8|0;g=I[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}H[f>>2]=1095782472;break f}b=h;h:{while(1){g=Xb(b,105858);if(!g|g>>>0>=i>>>0){break h}b=g+8|0;g=I[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}H[f>>2]=1346851360;break f}b=h;i:{while(1){g=Xb(b,106041);if(!g|g>>>0>=i>>>0){break i}b=g+8|0;g=I[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}H[f>>2]=1213809952;break f}b=h;j:{while(1){g=Xb(b,106263);if(!g|g>>>0>=i>>>0){break j}b=g+8|0;g=I[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}H[f>>2]=1347571488;break f}b=h;k:{while(1){g=Xb(b,106288);if(!g|g>>>0>=i>>>0){break k}b=g+7|0;g=I[g+7|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}H[f>>2]=1230000200;break f}b=h;l:{while(1){g=Xb(b,106311);if(!g|g>>>0>=i>>>0){break l}b=g+5|0;g=I[g+5|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}H[f>>2]=1262961952;break f}if(Lb(h,i,106340)){H[f>>2]=1398362693;break f}if(Lb(h,i,106360)){H[f>>2]=1398362698;break f}if(Lb(h,i,106366)){H[f>>2]=1398362702;break f}m:{n:{switch(F[h|0]-97|0){case 0:b=1;if(rb(h+1|0,106392)){break m}H[f>>2]=1245859616;break e;case 2:b=1;g=h+1|0;if(Bb(g,106445)){H[f>>2]=1514686496;break e}if(Bb(g,106456)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,106501)){H[f>>2]=1514686496;break e}if(Bb(g,106527)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163048)){H[f>>2]=1514686496;break e}if(Bb(g,163059)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,106075)){H[f>>2]=1514686496;break e}if(Bb(g,106109)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163070)){H[f>>2]=1514686496;break e}if(Bb(g,163081)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163092)){H[f>>2]=1514686496;break e}if(Bb(g,163103)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,124948)){H[f>>2]=1514686496;break e}if(Bb(g,163114)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163125)){H[f>>2]=1514686496;break e}if(Bb(g,163136)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,106178)){H[f>>2]=1514689312;break e}if(Bb(g,106202)){H[f>>2]=1514689568;break e}if(Bb(g,106221)){H[f>>2]=1514689312;break e}if(Bb(g,163147)){H[f>>2]=1514689568;break e}if(Bb(g,163155)){H[f>>2]=1514689312;break e}if(Bb(g,163163)){H[f>>2]=1514689568;break e}if(Bb(g,163171)){H[f>>2]=1514689312;break e}if(Bb(g,163179)){H[f>>2]=1514689568;break e}if(Bb(g,163187)){H[f>>2]=1514689312;break e}if(Bb(g,163195)){H[f>>2]=1514689568;break e}if(Bb(g,163203)){H[f>>2]=1514689312;break e}if(Bb(g,163211)){H[f>>2]=1514689568;break e}if(Bb(g,163219)){H[f>>2]=1514689312;break e}if(Bb(g,163227)){H[f>>2]=1514689568;break e}if(Bb(g,163235)){H[f>>2]=1514689312;break e}if(Bb(g,163243)){H[f>>2]=1514689568;break e}o:{if(ub(g,163251,3)){break o}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break o}H[f>>2]=1514689568;break e}p:{if(ub(g,163267,3)){break p}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break p}H[f>>2]=1514689568;break e}q:{if(ub(g,163271,3)){break q}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break q}H[f>>2]=1514689568;break e}r:{if(ub(g,163275,3)){break r}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break r}H[f>>2]=1514689568;break e}s:{if(ub(g,163279,3)){break s}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break s}H[f>>2]=1514689568;break e}t:{if(ub(g,163283,3)){break t}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break t}H[f>>2]=1514689568;break e}u:{if(ub(g,163287,3)){break u}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break u}H[f>>2]=1514689568;break e}if(ub(g,163291,3)){break m}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break m}H[f>>2]=1514689568;break e;case 6:b=1;g=h+1|0;if(Bb(g,163295)){H[f>>2]=1514686496;break e}if(Bb(g,163306)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163317)){H[f>>2]=1514689312;break e}if(Bb(g,163325)){H[f>>2]=1514689568;break e}if(Bb(g,163333)){H[f>>2]=1230132256;break e}if(ub(g,163340,3)){break m}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break m}H[f>>2]=1514689568;break e;case 7:b=1;g=h+1|0;if(Bb(g,163344)){H[f>>2]=1514686496;break e}if(Bb(g,163355)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163366)){H[f>>2]=1514686496;break e}if(Bb(g,163377)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163388)){H[f>>2]=1514689312;break e}if(Bb(g,163396)){H[f>>2]=1514689568;break e}if(Bb(g,163404)){H[f>>2]=1514689312;break e}if(Bb(g,163412)){H[f>>2]=1514689568;break e}v:{if(ub(g,163420,3)){break v}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break v}H[f>>2]=1514689568;break e}if(ub(g,163424,3)){break m}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break m}H[f>>2]=1514689568;break e;case 8:b=1;g=h+1|0;if(!rb(g,163428)){H[f>>2]=1312904736;if(K[e>>2]<2){break e}H[f+4>>2]=1096042528;b=2;break e}if(!rb(g,163436)){H[f>>2]=1514689312;break e}if(rb(g,163441)){break m}H[f>>2]=1280596512;break e;case 11:b=1;if(!Bb(h+1|0,163219)){break m}H[f>>2]=1514689312;break e;case 12:b=1;g=h+1|0;if(Bb(g,106075)){H[f>>2]=1514686496;break e}if(Bb(g,106109)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163171)){H[f>>2]=1514689312;break e}if(Bb(g,163179)){H[f>>2]=1514689568;break e}w:{if(ub(g,163275,3)){break w}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break w}H[f>>2]=1514689568;break e}if(ub(g,163446,3)){break m}if(!Lb(h,i,163450)){break m}H[f>>2]=1297043028;break e;case 13:b=1;g=h+1|0;if(Bb(g,163295)){H[f>>2]=1514686496;break e}if(Bb(g,163306)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163317)){H[f>>2]=1514689312;break e}if(Bb(g,163325)){H[f>>2]=1514689568;break e}x:{if(ub(g,163340,3)){break x}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break x}H[f>>2]=1514689568;break e}if(!rb(g,163454)){H[f>>2]=1313821216;break e}if(rb(g,163460)){break m}H[f>>2]=1314475552;break e;case 17:if(ub(h+1|0,163466,2)){break m}if(!Lb(h,i,163469)){break m}H[f>>2]=1297042464;b=1;if(K[e>>2]<2){break e}H[f+4>>2]=1380928800;b=2;break e;case 22:b=1;g=h+1|0;if(Bb(g,163473)){H[f>>2]=1514686496;break e}if(Bb(g,163484)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(Bb(g,163495)){H[f>>2]=1514689312;break e}if(Bb(g,163503)){H[f>>2]=1514689568;break e}if(ub(g,163511,3)){break m}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break m}H[f>>2]=1514689568;break e;case 24:b=1;if(!Bb(h+1|0,163515)){break m}H[f>>2]=1514689312;break e;case 25:break n;default:break m}}b=1;g=h+1|0;if(Bb(g,163523)){H[f>>2]=1514686496;break e}if(Bb(g,163533)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!rb(g,163543)){H[f>>2]=1514689312;break e}if(Bb(g,163553)){H[f>>2]=1514689312;break e}if(Bb(g,163560)){H[f>>2]=1514689568;break e}if(!rb(g,163567)){H[f>>2]=1514689312;break e}if(ub(g,163573,2)){break m}if(Lb(h,i,163255)){H[f>>2]=1514686496;break e}if(Lb(h,i,163259)){H[f>>2]=1514689613;if(K[e>>2]<2){break e}H[f+4>>2]=1514686496;b=2;break e}if(!Lb(h,i,163263)){break m}H[f>>2]=1514689568;break e}g=Ac(h,45);y:{if(!g|(i-h|0)<6){break y}b=g+1|0;h=Ac(b,45);z:{if(h){h=h+(g^-1)|0;break z}h=wb(b)}if((h|0)!=3|((I[b|0]&223)-65&255)>>>0>25){break y}H[l+24>>2]=b}H[l+12>>2]=1409;H[l+16>>2]=0;H[l+8>>2]=151776;b=H[l+12>>2];A:{if((b|0)<=0){H[l+28>>2]=0;b=0;break A}h=b-1|0;p=H[l+8>>2];i=H[l+24>>2];b=Ac(i,45);if(b){o=b-i|0;b=0;while(1){m=b+h>>>1|0;j=p+(m<<3)|0;k=Ac(j,45);B:{if(k){k=k-j|0;break B}k=wb(j)}j=ub(i,j,k>>>0>>0?o:k);C:{if((j|0)<0){h=m-1|0;break C}if(!j){H[l+28>>2]=m;b=1;break A}b=m+1|0}if((b|0)<=(h|0)){continue}break}H[l+28>>2]=b;b=0;break A}o=wb(i);b=0;while(1){m=b+h>>>1|0;j=p+(m<<3)|0;k=Ac(j,45);D:{if(k){k=k-j|0;break D}k=wb(j)}j=ub(i,j,k>>>0>>0?o:k);E:{if((j|0)>=0){if(!j){H[l+28>>2]=m;b=1;break A}b=m+1|0;break E}h=m-1|0}if((b|0)<=(h|0)){continue}break}H[l+28>>2]=b;b=0}if(b){b=H[l+28>>2];while(1){h=b;if(h){b=h-1|0;if(!rb((h<<3)+151776|0,(b<<3)+151776|0)){continue}}break}if(!H[e>>2]){b=0;break e}b=0;i=1409-h|0;i=i>>>0>1409?0:i;g=(h<<3)+151776|0;while(1){if((b|0)==(i|0)){b=i;break e}m=b+h<<3;j=H[m+151780>>2];if(!j){break e}if(rb(m+151776|0,g)){break e}H[(b<<2)+f>>2]=j;b=b+1|0;if(b>>>0>2]){continue}break}break e}i=H[l+24>>2];b=0;if(!g){g=wb(i)+i|0}if((g-i|0)!=3){break e}h=Wa-16|0;Wa=h;F:{if(!i){break F}g=I[i|0];if(!g){break F}F[h+12|0]=g;g=I[i+1|0];b=1;G:{if(!g){break G}F[h+13|0]=g;i=I[i+2|0];b=2;if(!i){break G}F[h+14|0]=i;b=3}if(b>>>0<=3){kb(b+(h+12|0)|0,32,4-b|0)}b=I[h+12|0]|I[h+13|0]<<8|(I[h+14|0]<<16|I[h+15|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}Wa=h+16|0;H[f>>2]=b&-538976257}b=1}H[e>>2]=b}if(!(!d|!c|(!n|!H[c>>2]))){b=0;H:{I:{J:{K:{L:{M:{N:{O:{P:{if((a|0)<=1298954604){if((a|0)<=1198877297){g=1651402546;if((a|0)==1113943655){break K}if((a|0)!=1147500129){break I}g=1684370994;break K}if((a|0)==1198877298){break P}if((a|0)==1198879349){break O}if((a|0)!=1265525857){break I}g=1802396722;break K}if((a|0)<=1332902240){if((a|0)==1298954605){break N}g=1836674354;if((a|0)==1299803506){break J}break I}if((a|0)==1332902241){break M}if((a|0)==1415671148){break L}if((a|0)!=1415933045){break I}g=1952803890;break K}g=1735029298;break K}g=1735750194;break K}g=1835822386;break K}g=1869773106;break K}g=1953328178}H[d>>2]=g|51;b=1;if(K[c>>2]<2){break H}}H[(b<<2)+d>>2]=g;b=b+1|0;if(b>>>0>=K[c>>2]){break H}}e=(b<<2)+d|0;Q:{R:{S:{T:{U:{if((a|0)<=1315663726){if(!a){break H}if((a|0)==1214870113){break T}if((a|0)!=1281453935){break U}d=1818324768;break Q}if((a|0)<=1500080488){if((a|0)==1315663727){break R}if((a|0)!=1449224553){break U}d=1986095392;break Q}if((a|0)==1500080489){break S}d=1835103336;if((a|0)==1517122664){break Q}}d=a|536870912;break Q}d=1801547361;break Q}d=2036932640;break Q}d=1852534560}H[e>>2]=d;b=b+1|0}H[c>>2]=b}Wa=l+32|0}function ii(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;e=Wa-176|0;Wa=e;H[e+172>>2]=0;p=H[a+12>>2];m=H[a>>2];if(J[m+290>>1]>>0){G[m+290>>1]=c}H[a+20>>2]=b;t=65536;l=65536;if(!(F[a+16|0]&1)){g=H[H[a+4>>2]+44>>2];t=H[g+8>>2];l=H[g+4>>2]}v=H[H[m+128>>2]+52>>2];a:{b:{if(v){g=Ya[H[H[v>>2]>>2]](H[v+4>>2],b,e+120|0)|0;H[e+172>>2]=g;if(g){break a}g=H[e+124>>2];H[a+28>>2]=g;H[e+160>>2]=0;H[e+164>>2]=0;H[e+152>>2]=0;H[e+156>>2]=0;H[e+144>>2]=0;H[e+148>>2]=0;H[e+136>>2]=0;H[e+140>>2]=0;H[e+128>>2]=0;H[e+132>>2]=0;f=H[e+120>>2];h=e+128|0;H[h+32>>2]=0;H[e+136>>2]=0;H[e+132>>2]=g;H[e+128>>2]=f;H[e+148>>2]=0;H[e+152>>2]=0;H[a+24>>2]=h;g=0;break b}g=ai(m,b,a+28|0)}f=H[a+28>>2];c:{if((f|0)>0){h=H[m+728>>2];if(!(h|H[H[m+128>>2]+52>>2])){H[e+172>>2]=8;break c}f=Ya[H[m+520>>2]](a,b,g+h|0,f)|0;H[e+172>>2]=f;if(f){break c}C=e,D=Ya[H[m+528>>2]](a)|0,H[C+172>>2]=D;Ya[H[m+524>>2]](a);if(H[e+172>>2]){break c}f=H[a+28>>2]}if(!(J[a+32>>1]?f:0)){H[a+36>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0}f=H[a>>2];h=H[a+24>>2];G[e+80>>1]=0;G[e>>1]=0;G[e+40>>1]=0;G[e+64>>1]=0;j=H[h+8>>2];Ya[H[H[f+540>>2]+140>>2]](f,0,b,e+80|0,e+40|0);d:{if(I[f+292|0]){Ya[H[H[f+540>>2]+140>>2]](f,1,b,e,e- -64|0);break d}i=H[a+48>>2];if(J[f+372>>1]!=65535){k=G[f+442>>1];G[e>>1]=k-i;i=k-G[f+444>>1]|0;f=i>>31;G[e+64>>1]=(f^i)-f;break d}k=G[f+220>>1];G[e>>1]=k-i;i=k-G[f+222>>1]|0;f=i>>31;G[e+64>>1]=(f^i)-f}f=ob(h,j);if(f){H[e+172>>2]=f;break c}h=G[e+80>>1];H[a+52>>2]=h;f=J[e+40>>1];H[a+56>>2]=f;j=G[e>>1];H[a+172>>2]=j;k=J[e+64>>1];H[a+176>>2]=k;if(!I[a+64|0]){H[a+60>>2]=f;F[a+64|0]=1}H[e+172>>2]=0;if(d){break c}d=H[a+28>>2];if(!(J[a+32>>1]?d:0)){g=H[a>>2];c=0;e:{if(H[H[g+96>>2]+64>>2]!=40){break e}d=H[a+156>>2];c=0;if(!d){break e}c=I[d+613|0]!=0&I[d+618|0]!=0}H[a+80>>2]=0;H[a+72>>2]=0;c=c?f>>>1|0:0;H[a+188>>2]=c;d=j+H[a+48>>2]|0;H[a+184>>2]=d;H[a+180>>2]=c;c=H[a+36>>2]-h|0;H[a+68>>2]=c;H[a+192>>2]=d-k;H[a+76>>2]=c+f;c=H[H[g+128>>2]+52>>2];f:{if(!c){break f}d=H[H[c>>2]+8>>2];if(!d){break f}H[e+92>>2]=0;H[e+88>>2]=f;H[e+84>>2]=0;H[e+80>>2]=h;if(Ya[d|0](H[c+4>>2],b,0,e+80|0)|0){break f}d=G[e+80>>1];c=J[e+88>>1];H[a+172>>2]=0;H[a+176>>2]=0;H[a+56>>2]=c;H[a+52>>2]=d;if(I[a+64|0]){break f}H[a+60>>2]=c;F[a+64|0]=1}g:{if(!(I[m+9|0]&128?1:J[m+6>>1]&32767)){break g}H[e+76>>2]=16843009;H[e+64>>2]=65536;H[e+68>>2]=196610;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;H[e+80>>2]=H[a+68>>2];H[e+84>>2]=H[a+72>>2];H[e+88>>2]=H[a+76>>2];H[e+92>>2]=H[a+80>>2];H[e+96>>2]=H[a+180>>2];H[e+100>>2]=H[a+184>>2];H[e+104>>2]=H[a+188>>2];H[e+108>>2]=H[a+192>>2];H[e+40>>2]=262148;H[e+52>>2]=e- -64;H[e+48>>2]=e+76;H[e+44>>2]=e+80;b=$h(H[a>>2],b,e+40|0,e,4);H[e+172>>2]=b;if(b){break c}H[a+68>>2]=H[e+80>>2];H[a+72>>2]=H[e+84>>2];H[a+76>>2]=H[e+88>>2];H[a+80>>2]=H[e+92>>2];H[a+180>>2]=H[e+96>>2];H[a+184>>2]=H[e+100>>2];H[a+188>>2]=H[e+104>>2];H[a+192>>2]=H[e+108>>2];b=H[H[a>>2]+740>>2];if(!(b&2)){H[a+60>>2]=((H[e+8>>2]-H[e>>2]|0)+32&-64)/64}if(b&16){break g}H[a+176>>2]=((H[e+24>>2]-H[e+16>>2]|0)+32&-64)/64}if(!(F[a+16|0]&1)){C=a,D=ib(H[a+68>>2],l),H[C+68>>2]=D;C=a,D=ib(H[a+76>>2],l),H[C+76>>2]=D;C=a,D=ib(H[a+180>>2],l),H[C+180>>2]=D;C=a,D=ib(H[a+184>>2],t),H[C+184>>2]=D;C=a,D=ib(H[a+188>>2],l),H[C+188>>2]=D;C=a,D=ib(H[a+192>>2],t),H[C+192>>2]=D}H[e+172>>2]=0;break c}n=H[a>>2];i=0;h:{if(H[H[n+96>>2]+64>>2]!=40){break h}o=H[a+156>>2];i=0;if(!o){break h}i=I[o+613|0]!=0&I[o+618|0]!=0}H[a+80>>2]=0;H[a+72>>2]=0;i=i?f>>>1|0:0;H[a+188>>2]=i;j=j+H[a+48>>2]|0;H[a+184>>2]=j;H[a+180>>2]=i;i=H[a+36>>2]-h|0;H[a+68>>2]=i;H[a+192>>2]=j-k;H[a+76>>2]=f+i;i=H[H[n+128>>2]+52>>2];i:{if(!i){break i}j=H[H[i>>2]+8>>2];if(!j){break i}H[e+92>>2]=0;H[e+88>>2]=f;H[e+84>>2]=0;H[e+80>>2]=h;j:{if(Ya[j|0](H[i+4>>2],b,0,e+80|0)|0){break j}f=G[e+80>>1];d=J[e+88>>1];H[a+172>>2]=0;H[a+176>>2]=0;H[a+56>>2]=d;H[a+52>>2]=f;if(I[a+64|0]){break j}H[a+60>>2]=d;F[a+64|0]=1}d=H[a+28>>2]}d=Ya[H[m+520>>2]](a,b,(g+H[m+728>>2]|0)+10|0,d-10|0)|0;H[e+172>>2]=d;if(d){break c}k:{d=G[a+32>>1];if((d|0)>0){b=Ya[H[m+532>>2]](a)|0;H[e+172>>2]=b;if(b){break k}Ya[H[m+524>>2]](a);b=0;j=Wa-16|0;Wa=j;f=H[a+12>>2];H[j+12>>2]=0;d=H[H[a>>2]+100>>2];g=H[a+72>>2];i=G[f+58>>1];c=H[f+60>>2]+(i<<3)|0;H[c>>2]=H[a+68>>2];H[c+4>>2]=g;g=H[a+80>>2];k=i+1|0;c=H[f+60>>2]+(k<<3)|0;H[c>>2]=H[a+76>>2];H[c+4>>2]=g;g=H[a+184>>2];o=i+2|0;c=H[f+60>>2]+(o<<3)|0;H[c>>2]=H[a+180>>2];H[c+4>>2]=g;g=H[a+192>>2];n=i+3|0;c=H[f+60>>2]+(n<<3)|0;H[c>>2]=H[a+188>>2];H[c+4>>2]=g;c=f- -64|0;F[i+H[c>>2]|0]=0;F[k+H[c>>2]|0]=0;F[o+H[c>>2]|0]=0;F[n+H[c>>2]|0]=0;c=i+4|0;g=H[a>>2];l:{if(I[g+9|0]&128?1:J[g+6>>1]&32767){b=jb(d,8,0,c,0,j+12|0);if(H[j+12>>2]){break l}g=$h(H[a>>2],H[a+20>>2],f+56|0,b,c);H[j+12>>2]=g;h=H[H[a>>2]+740>>2];if(!(h&2)){H[a+60>>2]=((H[(k<<3)+b>>2]-H[(i<<3)+b>>2]|0)+32&-64)/64}if(!(h&16)){H[a+176>>2]=((H[(n<<3)+b>>2]-H[(o<<3)+b>>2]|0)+32&-64)/64}if(g){break l}}g=H[a+16>>2];if(!(g&2)){g=J[f+58>>1];G[a+128>>1]=g;G[a+130>>1]=J[f+56>>1];H[a+132>>2]=H[f+76>>2];h=H[f+60>>2];H[a+136>>2]=h;l=H[f+80>>2];H[a+140>>2]=l;H[a+144>>2]=H[f+64>>2];q=H[f+68>>2];G[a+152>>1]=0;H[a+148>>2]=q;mb(l,h,(g<<3)+32|0);g=H[a+16>>2]}l=0;h=0;m:{if(g&1){break m}g=H[f+60>>2];q=g+(c<<3)|0;c=H[H[a+4>>2]+44>>2];l=H[c+8>>2];h=H[c+4>>2];c=H[a>>2];if(!(J[c+6>>1]&32767|I[c+9|0]&128)){if((i|0)<=-4){break m}while(1){C=g,D=ib(H[g>>2],h),H[C>>2]=D;C=g,D=ib(H[g+4>>2],l),H[C+4>>2]=D;g=g+8|0;if(q>>>0>g>>>0){continue}break}break m}if((i|0)<-3){break m}c=b;while(1){C=g,D=ib(H[c>>2],h)+32>>6,H[C>>2]=D;C=g,D=ib(H[c+4>>2],l)+32>>6,H[C+4>>2]=D;c=c+8|0;g=g+8|0;if(q>>>0>g>>>0){continue}break}}g=H[a>>2];n:{if(!(!(I[g+740|0]&2)|I[a+16|0]&2)){C=a,D=ib(H[a+68>>2],h),H[C+68>>2]=D;C=a,D=ib(H[a+76>>2],h),H[C+76>>2]=D;g=H[a>>2];break n}c=H[f+60>>2]+(i<<3)|0;i=H[c+4>>2];H[a+68>>2]=H[c>>2];H[a+72>>2]=i;c=H[f+60>>2]+(k<<3)|0;i=H[c+4>>2];H[a+76>>2]=H[c>>2];H[a+80>>2]=i}o:{if(!(!(I[g+740|0]&16)|I[a+16|0]&2)){C=a,D=ib(H[a+180>>2],h),H[C+180>>2]=D;C=a,D=ib(H[a+184>>2],l),H[C+184>>2]=D;C=a,D=ib(H[a+188>>2],h),H[C+188>>2]=D;C=a,D=ib(H[a+192>>2],l),H[C+192>>2]=D;break o}c=H[f+60>>2]+(o<<3)|0;g=H[c+4>>2];H[a+180>>2]=H[c>>2];H[a+184>>2]=g;c=H[f+60>>2]+(n<<3)|0;g=H[c+4>>2];H[a+188>>2]=H[c>>2];H[a+192>>2]=g}if(I[a+16|0]&2){break l}G[a+128>>1]=J[a+128>>1]+4;C=j,D=dm(a,0),H[C+12>>2]=D}if(b){Ya[H[d+8>>2]](d,b)}Wa=j+16|0;a=H[j+12>>2];H[e+172>>2]=a;if(a){break c}Zf(p);break c}if((d|0)>=0){break k}n=H[m+100>>2];G[a+32>>1]=65535;f=a+204|0;p:{q:{d=H[a+204>>2];r:{if(d){g=c;while(1){if(!g){g=d;while(1){H[g+8>>2]=-1;g=H[g+4>>2];if(g){continue}break}if(Ri(f,b)){break r}H[d+8>>2]=b;break p}g=g-1|0;d=H[d+4>>2];if(d){continue}break}}if(!Ri(f,b)){break q}}H[e+172>>2]=21;break k}d=zb(n,12,e+172|0);if(H[e+172>>2]){break k}H[d+8>>2]=b;if(!(!f|!d)){g=H[f+4>>2];H[d>>2]=g;H[d+4>>2]=0;H[(g?g+4|0:f)>>2]=d;H[f+4>>2]=d}}j=G[p+22>>1];w=G[p+20>>1];d=Ya[H[m+536>>2]](a)|0;H[e+172>>2]=d;if(d){break k}z=H[a+164>>2];Ya[H[m+524>>2]](a);if(I[m+9|0]&128?1:J[m+6>>1]&32767){s=H[p+84>>2];d=s+4|0;G[e+80>>1]=d;G[e+82>>1]=d;f=0;q=d<<16>>16;i=jb(n,8,0,q,0,e+172|0);h=0;g=0;d=0;s:{if(H[e+172>>2]){break s}k=jb(n,1,0,q,0,e+172|0);d=0;if(H[e+172>>2]){break s}o=jb(n,2,0,q,0,e+172|0);d=0;if(H[e+172>>2]){break s}g=jb(n,8,0,q,0,e+172|0);d=0;if(H[e+172>>2]){break s}s=s<<16;u=s>>16;if((s|0)>0){d=H[p+88>>2];while(1){r=i+(f<<3)|0;H[r>>2]=H[d+8>>2];H[r+4>>2]=H[d+12>>2];F[f+k|0]=1;G[o+(f<<1)>>1]=h;d=d+32|0;h=h+1|0;f=h<<16>>16;if((u|0)>(f|0)){continue}break}}d=i+(f<<3)|0;H[d>>2]=H[a+68>>2];H[d+4>>2]=H[a+72>>2];F[f+k|0]=1;G[o+(f<<1)>>1]=h;f=h+1|0;d=f<<16>>16;r=i+(d<<3)|0;H[r>>2]=H[a+76>>2];H[r+4>>2]=H[a+80>>2];F[d+k|0]=1;G[o+(d<<1)>>1]=f;f=h+2|0;d=f<<16>>16;r=i+(d<<3)|0;H[r>>2]=H[a+180>>2];H[r+4>>2]=H[a+184>>2];F[d+k|0]=1;G[o+(d<<1)>>1]=f;f=h+3|0;d=f<<16>>16;h=i+(d<<3)|0;H[h>>2]=H[a+188>>2];H[h+4>>2]=H[a+192>>2];F[d+k|0]=1;G[o+(d<<1)>>1]=f;H[e+92>>2]=o;H[e+88>>2]=k;H[e+84>>2]=i;b=$h(m,b,e+80|0,g,q);H[e+172>>2]=b;t:{if(b){break t}u:{if((s|0)<=0){d=0;break u}b=H[p+88>>2];d=0;f=0;while(1){if(I[b+4|0]&2){d=i+(d<<3)|0;H[b+8>>2]=G[d>>1];H[b+12>>2]=G[d+4>>1]}b=b+32|0;f=f+1|0;d=f<<16>>16;if((u|0)>(d|0)){continue}break}}b=i+(d<<3)|0;H[a+68>>2]=H[b>>2];H[a+72>>2]=H[b+4>>2];H[a+76>>2]=H[b+8>>2];H[a+80>>2]=H[b+12>>2];H[a+180>>2]=H[b+16>>2];H[a+184>>2]=H[b+20>>2];H[a+188>>2]=H[b+24>>2];H[a+192>>2]=H[b+28>>2];b=H[m+740>>2];if(!(b&2)){d=(q<<3)+g|0;H[a+60>>2]=((H[d-24>>2]-H[d-32>>2]|0)+32&-64)/64}if(b&16){break t}b=(q<<3)+g|0;H[a+176>>2]=((H[b-8>>2]-H[b-16>>2]|0)+32&-64)/64}f=o;h=i;d=k}if(h){Ya[H[n+8>>2]](n,h)}if(d){Ya[H[n+8>>2]](n,d)}if(f){Ya[H[n+8>>2]](n,f)}if(g){Ya[H[n+8>>2]](n,g)}if(H[e+172>>2]){break c}}b=H[a+16>>2];if(!(b&1)){C=a,D=ib(H[a+68>>2],l),H[C+68>>2]=D;C=a,D=ib(H[a+76>>2],l),H[C+76>>2]=D;C=a,D=ib(H[a+180>>2],l),H[C+180>>2]=D;C=a,D=ib(H[a+184>>2],t),H[C+184>>2]=D;C=a,D=ib(H[a+188>>2],l),H[C+188>>2]=D;C=a,D=ib(H[a+192>>2],t),H[C+192>>2]=D;b=H[a+16>>2]}if(b&1024){Zf(p);H[H[a+8>>2]+72>>2]=1668246896;break c}n=H[p+48>>2];o=H[p+84>>2];q=H[a+28>>2];t=H[a+24>>2];Zf(p);v:{if(!o){g=0;b=j;break v}s=c+1|0;b=0;while(1){c=G[p+22>>1];d=H[a+176>>2];f=H[a+60>>2];h=H[a+188>>2];i=H[a+192>>2];k=H[a+180>>2];l=H[a+184>>2];u=H[a+76>>2];r=H[a+80>>2];A=H[a+68>>2];B=H[a+72>>2];x=b<<5;g=n<<5;y=ii(a,H[x+(g+H[p+52>>2]|0)>>2],s,0);H[e+172>>2]=y;if(y){break c}g=x+(g+H[p+52>>2]|0)|0;if(!(I[g+5|0]&2)){H[a+188>>2]=h;H[a+192>>2]=i;H[a+180>>2]=k;H[a+184>>2]=l;H[a+76>>2]=u;H[a+80>>2]=r;H[a+68>>2]=A;H[a+72>>2]=B;H[a+176>>2]=d;H[a+60>>2]=f}u=J[p+22>>1];if((u|0)!=(c&65535)){l=0;i=Wa-32|0;Wa=i;k=H[a+12>>2];H[i+12>>2]=H[k+24>>2]+(c<<3);G[i+10>>1]=J[k+22>>1]-c;h=J[g+4>>1];r=h&200;if(r){Td(i+8|0,g+16|0);h=J[g+4>>1]}f=H[g+12>>2];d=H[g+8>>2];w:{x:{if(!(h&2)){l=21;d=d+j|0;if(d>>>0>=c>>>0){break w}c=c+f|0;if(c>>>0>=G[k+22>>1]>>>0){break w}f=d<<3;d=H[k+24>>2];h=f+d|0;c=d+(c<<3)|0;f=H[h+4>>2]-H[c+4>>2]|0;d=H[h>>2]-H[c>>2]|0;break x}if(!(d|f)){break w}if(!(!r|!(h&2048))){c=rj(H[g+16>>2],H[g+20>>2]);h=rj(H[g+28>>2],H[g+24>>2]);d=ib(d,c);f=ib(f,h)}if(F[a+16|0]&1){break x}c=H[H[a+4>>2]+44>>2];h=H[c+8>>2];d=ib(d,H[c+4>>2]);f=ib(f,h);if(!(I[g+4|0]&4)|I[a+16|0]&2){break x}d=H[H[H[a>>2]+96>>2]+64>>2]==35?d+32&-64:d;f=f+32&-64}l=0;if(!(d|f)){break w}yc(i+8|0,d,f)}Wa=i+32|0;H[e+172>>2]=l;if(l){break c}}b=b+1|0;if((o|0)!=(b|0)){continue}break}b=u<<16>>16}H[a+164>>2]=z;H[a+28>>2]=q;H[a+24>>2]=t;if(!(!g|I[a+16|0]&2|(!(F[g+5|0]&1)|b>>>0<=j>>>0))){g=Wa-16|0;Wa=g;b=H[a+12>>2];d=G[b+22>>1];c=d+4|0;y:{if(!(!c|K[b+4>>2]>=G[b+58>>1]+(c+d|0)>>>0)){d=vc(b,c,0);if(d){break y}d=G[b+22>>1]}c=H[b+24>>2]+(d<<3)|0;d=H[a+72>>2];H[c>>2]=H[a+68>>2];H[c+4>>2]=d;d=H[a+80>>2];c=H[b+24>>2]+(G[b+22>>1]<<3)|0;H[c+8>>2]=H[a+76>>2];H[c+12>>2]=d;d=H[a+184>>2];c=H[b+24>>2]+(G[b+22>>1]<<3)|0;H[c+16>>2]=H[a+180>>2];H[c+20>>2]=d;d=H[a+192>>2];c=H[b+24>>2]+(G[b+22>>1]<<3)|0;H[c+24>>2]=H[a+188>>2];H[c+28>>2]=d;F[H[b+28>>2]+G[b+22>>1]|0]=0;F[(G[b+22>>1]+H[b+28>>2]|0)+1|0]=0;F[(G[b+22>>1]+H[b+28>>2]|0)+2|0]=0;F[(G[b+22>>1]+H[b+28>>2]|0)+3|0]=0;c=H[a+24>>2];d=ob(c,H[a+164>>2]);H[g+12>>2]=d;if(d){break y}b=yb(c,g+12|0);d=H[g+12>>2];if(d){break y}z:{if(b>>>0>J[H[a>>2]+286>>1]){d=22;if((b|0)>H[a+28>>2]){break y}d=H[a+156>>2];H[g+8>>2]=H[d+392>>2];d=em(H[d+8>>2],g+8|0,d+396|0,b);H[g+12>>2]=d;h=H[a+156>>2];H[h+392>>2]=J[g+8>>1];if(!d){break z}break y}if(!b){d=0;break y}h=H[a+156>>2]}d=ec(c,H[h+396>>2],b);H[g+12>>2]=d;if(d){break y}c=H[H[a+156>>2]+396>>2];d=H[a+8>>2];H[d+140>>2]=b;H[d+136>>2]=c;b=H[a+12>>2];f=J[b+22>>1];G[a+128>>1]=f-j;G[a+130>>1]=J[b+20>>1]-w;c=j<<3;H[a+132>>2]=c+H[b+40>>2];H[a+136>>2]=c+H[b+24>>2];H[a+140>>2]=c+H[b+44>>2];d=H[b+28>>2]+j|0;H[a+144>>2]=d;b=H[b+32>>2];G[a+152>>1]=j;c=1;H[a+148>>2]=b+(w<<1);if((f|0)!=(j&65535)){F[d|0]=I[d|0]&231;d=J[a+128>>1];if(d>>>0>=2){while(1){b=H[a+144>>2]+c|0;F[b|0]=I[b|0]&231;c=c+1|0;d=J[a+128>>1];if(c>>>0>>0){continue}break}}b=d+4|0}else{b=4}G[a+128>>1]=b;d=dm(a,1)}Wa=g+16|0;H[e+172>>2]=d;if(d){break c}}if(!H[p+48>>2]|!(I[H[p+52>>2]+5|0]&4)){break c}H[p+36>>2]=H[p+36>>2]|64;break c}Ya[H[m+524>>2]](a)}if(!v){break a}a=H[H[m+128>>2]+52>>2];Ya[H[H[a>>2]+4>>2]](H[a+4>>2],e+120|0)}Wa=e+176|0;return H[e+172>>2]}function Hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Wa-304|0;Wa=g;a:{b:{switch(I[a+3|0]){case 0:H[g+4>>2]=0;H[g+8>>2]=0;F[g|0]=0;c=H[b+12>>2];H[g+292>>2]=H[b+16>>2];H[g+288>>2]=a+8;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[g+296>>2]=a;a=0;h=g+288|0;c=H[h+4>>2];H[c+64>>2]=0;c:{if(!I[c+60|0]){break c}while(1){i=K[c+68>>2]<=r>>>0;d=0;d:{if(i){break d}b=H[H[c+80>>2]+N(r,20)>>2];d=2;if((b|0)==65535){break d}e=H[h>>2];d=I[e+2|0]|I[e+3|0]<<8;j=b;f=((d<<8|d>>>8)&65535)+e|0;b=I[f|0]|I[f+1|0]<<8;e=j-((b<<8|b>>>8)&65535)|0;b=I[f+2|0]|I[f+3|0]<<8;d=1;if(e>>>0>=((b<<8|b>>>8)&65535)>>>0){break d}d=I[(e+f|0)+4|0]}f=H[h>>2];m=I[f|0]|I[f+1|0]<<8;n=(m<<8|m>>>8)&65535;o=n>>>0>d>>>0;e=N(a,n);b=I[f+4|0]|I[f+5|0]<<8;p=(b<<8|b>>>8)&65535;s=p+f|0;b=I[f+6|0]|I[f+7|0]<<8;q=f+((b<<8|b>>>8)&65535)|0;l=(I[((o?d:1)+e|0)+s|0]<<2)+q|0;b=I[l|0]|I[l+1|0]<<8;b=(((b<<8|b>>>8)&65535)-p|0)/(n|0)|0;k=I[l+2|0]|I[l+3|0]<<8;j=H[g+4>>2];f=H[g+8>>2];e:{f:{if(j>>>0>>0?k&3840:0){break f}if(!(!a|!(k&64?b:1))){a=q+(I[s+(o?d:1)|0]<<2)|0;d=I[a+2|0]|I[a+3|0]<<8;if(f>>>0>j>>>0?d&3840:0){break f}a=I[a|0]|I[a+1|0]<<8;if((d^k)&64|(b|0)!=((((a<<8|a>>>8)&65535)-p|0)/(n|0)|0)){break f}}if(!(I[(q+(I[s+(e+!m|0)|0]<<2)|0)+3|0]&15)|f>>>0<=j>>>0){break e}}a=I[c+61|0]?H[c+72>>2]:r;if(i|!a){break e}Qb(c,3,a-1|0,r+1|0,1,1)}tl(g,h,l);a=H[h+4>>2];c=H[a+64>>2];if((c|0)==H[a+68>>2]|!I[a+60|0]){break c}g:{if(I[l+2|0]&64){d=H[a+152>>2];H[a+152>>2]=d-1;if((d|0)>0){break g}}if(I[a+61|0]){h:{if(H[a+84>>2]==H[a+80>>2]){d=c;if(H[a+72>>2]==(c|0)){break h}}if(!qb(a,1,1)){break g}d=H[a+80>>2]+N(H[a+64>>2],20)|0;c=H[d+4>>2];e=H[a+84>>2]+N(H[a+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=c;H[e+16>>2]=H[d+16>>2];c=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=c;c=H[a+64>>2];d=H[a+72>>2]}H[a+72>>2]=d+1}H[a+64>>2]=c+1}c=H[h+4>>2];if(!I[c+60|0]){break c}r=H[c+64>>2];a=b;continue}}c=I[g|0]!=0;break a;case 1:F[g|0]=0;H[g+4>>2]=b;d=H[b+68>>2];F[g+12|0]=0;H[g+8>>2]=d;d=I[d+4|0]|I[d+5|0]<<8;e=a+8|0;H[g+20>>2]=e;H[g+16>>2]=0;F[g+13|0]=(d|0)!=0;a=I[a+16|0]|I[a+17|0]<<8;H[g+24>>2]=e+((a<<8|a>>>8)&65535);d=H[b+12>>2];H[g+292>>2]=H[b+16>>2];H[g+288>>2]=e;a=H[d+32>>2];if((a|0)==-1){a=Hc(d)}H[g+296>>2]=a;a=0;x=g+288|0;r=H[x+4>>2];H[r+64>>2]=0;i:{if(!I[r+60|0]){break i}while(1){e=H[r+68>>2];f=e>>>0<=c>>>0;b=0;j:{if(f){break j}d=H[H[r+80>>2]+N(c,20)>>2];b=2;if((d|0)==65535){break j}i=H[x>>2];b=I[i+2|0]|I[i+3|0]<<8;j=((b<<8|b>>>8)&65535)+i|0;b=I[j|0]|I[j+1|0]<<8;i=d-((b<<8|b>>>8)&65535)|0;d=I[j+2|0]|I[j+3|0]<<8;b=1;if(i>>>0>=((d<<8|d>>>8)&65535)>>>0){break j}b=I[(i+j|0)+4|0]}j=H[x>>2];o=I[j|0]|I[j+1|0]<<8;m=(o<<8|o>>>8)&65535;p=m>>>0>b>>>0;i=N(a,m);d=I[j+4|0]|I[j+5|0]<<8;s=(d<<8|d>>>8)&65535;q=s+j|0;d=I[j+6|0]|I[j+7|0]<<8;k=j+((d<<8|d>>>8)&65535)|0;t=(I[((p?b:1)+i|0)+q|0]<<3)+k|0;d=I[t|0]|I[t+1|0]<<8;d=(((d<<8|d>>>8)&65535)-s|0)/(m|0)|0;j=!I[g+12|0]&(c|0)==(e|0);k:{l:{if(!j&((I[t+4|0]|I[t+5|0]<<8)!=65535|(I[t+6|0]|I[t+7|0]<<8)!=65535)){break l}m:{if(!a){break m}e=I[t+2|0]|I[t+3|0]<<8;if(!(e&64?d:1)){break m}b=k+(I[q+(p?b:1)|0]<<3)|0;if(!j&((I[b+4|0]|I[b+5|0]<<8)!=65535|(I[b+6|0]|I[b+7|0]<<8)!=65535)){break l}a=I[b|0]|I[b+1|0]<<8;if((e^(I[b+2|0]|I[b+3|0]<<8))&64|(d|0)!=((((a<<8|a>>>8)&65535)-s|0)/(m|0)|0)){break l}}if(j){break k}a=k+(I[q+(i+!o|0)|0]<<3)|0;if((I[a+4|0]|I[a+5|0]<<8)!=65535){break l}if((I[a+6|0]|I[a+7|0]<<8)==65535){break k}}a=I[r+61|0]?H[r+72>>2]:c;if(f|!a){break k}Qb(r,3,a-1|0,c+1|0,1,1)}o=0;u=H[x+4>>2];e=H[u+64>>2];n:{if(I[g+12|0]?0:(e|0)==H[u+68>>2]){break n}c=H[g+4>>2];p=H[c+24>>2];h=H[g+24>>2];s=H[g+20>>2];v=H[u+80>>2];a=H[g+16>>2];k=v+N(a,20)|0;b=I[t+4|0]|I[t+5|0]<<8;i=h+(s+((H[k>>2]+((b<<8|b>>>8)&65535)<<1)-h|0)&-2)|0;o:{if(p>>>0>i>>>0){break o}b=H[c+28>>2];if(b>>>0>>0|b-i>>>0<2){break o}b=H[c+32>>2]-2|0;H[c+32>>2]=b;if((b|0)<=0){break o}q=I[i|0]|I[i+1|0]<<8;if(!q){break o}e=e+1|0;b=H[u+68>>2];l=b>>>0>e>>>0?e:b;n=l-a|0;p:{if(n>>>0<2){break p}r=H[u+144>>2]|32;H[u+144>>2]=r;if(a>>>0>=l>>>0){break p}w=-1;b=a;j=l+(a^-1)|0;if(j>>>0>=3){f=n&-4;while(1){m=N(b,20)+v|0;e=H[m+8>>2];i=e>>>0>w>>>0?w:e;e=H[m+28>>2];i=e>>>0>i>>>0?i:e;e=H[m+48>>2];i=e>>>0>i>>>0?i:e;e=H[m+68>>2];w=e>>>0>i>>>0?i:e;b=b+4|0;o=o+4|0;if((f|0)!=(o|0)){continue}break}}i=n&3;if(i){f=0;while(1){e=H[(N(b,20)+v|0)+8>>2];w=e>>>0>w>>>0?w:e;b=b+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}b=a;if(n&1){b=N(a,20)+v|0;if(H[b+8>>2]!=(w|0)){H[u+144>>2]=r;H[b+4>>2]=H[b+4>>2]|3}b=a+1|0}if(!j){break p}while(1){e=N(b,20)+v|0;if(H[e+8>>2]!=(w|0)){r=r|32;H[u+144>>2]=r;H[e+4>>2]=H[e+4>>2]|3}e=N(b+1|0,20)+v|0;if(H[e+8>>2]!=(w|0)){r=r|32;H[u+144>>2]=r;H[e+4>>2]=H[e+4>>2]|3}b=b+2|0;if((l|0)!=(b|0)){continue}break}}b=(q<<8|q>>>8)&65535;H[k>>2]=b;if(I[g+13|0]){y=N(a,20)+v|0,z=Xc(H[g+8>>2],b),G[y+12>>1]=z;c=H[g+4>>2];p=H[c+24>>2];h=H[g+24>>2];v=H[u+80>>2];s=H[g+20>>2]}F[g|0]=1}b=H[u+64>>2];a=H[u+68>>2]-1|0;e=a>>>0>b>>>0?b:a;b=N(e,20)+v|0;a=I[t+6|0]|I[t+7|0]<<8;i=(((H[b>>2]+((a<<8|a>>>8)&65535)<<1)-h|0)+s&-2)+h|0;q:{if(i>>>0

>>0){break q}a=H[c+28>>2];if(a>>>0>>0|a-i>>>0<2){break q}a=H[c+32>>2]-2|0;H[c+32>>2]=a;if((a|0)<=0){break q}a=I[i|0]|I[i+1|0]<<8;if(!a){break q}a=(a<<8|a>>>8)&65535;H[b>>2]=a;if(I[g+13|0]){y=N(e,20)+v|0,z=Xc(H[g+8>>2],a),G[y+12>>1]=z}F[g|0]=1}if(!(I[t+2|0]&128)){break n}F[g+12|0]=1;H[g+16>>2]=H[u+64>>2]}a=H[x+4>>2];c=H[a+64>>2];if((c|0)==H[a+68>>2]|!I[a+60|0]){break i}r:{if(I[t+2|0]&64){b=H[a+152>>2];H[a+152>>2]=b-1;if((b|0)>0){break r}}if(I[a+61|0]){s:{if(H[a+84>>2]==H[a+80>>2]){b=c;if(H[a+72>>2]==(c|0)){break s}}if(!qb(a,1,1)){break r}c=H[a+80>>2]+N(H[a+64>>2],20)|0;b=H[c+4>>2];e=H[a+84>>2]+N(H[a+72>>2],20)|0;H[e>>2]=H[c>>2];H[e+4>>2]=b;H[e+16>>2]=H[c+16>>2];b=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=b;c=H[a+64>>2];b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=c+1}r=H[x+4>>2];if(!I[r+60|0]){break i}c=H[r+64>>2];a=d;continue}}c=I[g|0]!=0;break a;case 2:F[g|0]=0;d=a+8|0;H[g+8>>2]=d;H[g+4>>2]=b;c=I[a+16|0]|I[a+17|0]<<8;H[g+12>>2]=d+((c<<8|c>>>8)&65535);c=I[a+18|0]|I[a+19|0]<<8;H[g+16>>2]=d+((c<<8|c>>>8)&65535);a=I[a+20|0]|I[a+21|0]<<8;H[g+24>>2]=0;H[g+20>>2]=d+((a<<8|a>>>8)&65535);c=H[b+12>>2];H[g+292>>2]=H[b+16>>2];H[g+288>>2]=d;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[g+296>>2]=a;a=0;n=g+288|0;b=H[n+4>>2];H[b+72>>2]=0;H[b+64>>2]=0;F[b+61|0]=1;F[b+62|0]=0;H[b+84>>2]=H[b+80>>2];c=H[n+4>>2];H[c+64>>2]=0;t:{if(!I[c+60|0]){break t}while(1){i=K[c+68>>2]<=l>>>0;d=0;u:{if(i){break u}b=H[H[c+80>>2]+N(l,20)>>2];d=2;if((b|0)==65535){break u}e=H[n>>2];d=I[e+2|0]|I[e+3|0]<<8;j=b;f=((d<<8|d>>>8)&65535)+e|0;b=I[f|0]|I[f+1|0]<<8;e=j-((b<<8|b>>>8)&65535)|0;b=I[f+2|0]|I[f+3|0]<<8;d=1;if(e>>>0>=((b<<8|b>>>8)&65535)>>>0){break u}d=I[(e+f|0)+4|0]}f=H[n>>2];p=I[f|0]|I[f+1|0]<<8;o=(p<<8|p>>>8)&65535;s=o>>>0>d>>>0;e=N(a,o);b=I[f+4|0]|I[f+5|0]<<8;q=(b<<8|b>>>8)&65535;k=q+f|0;b=I[f+6|0]|I[f+7|0]<<8;j=f+((b<<8|b>>>8)&65535)|0;m=(I[((s?d:1)+e|0)+k|0]<<2)+j|0;b=I[m|0]|I[m+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(o|0)|0;f=I[m+2|0]|I[m+3|0]<<8;v:{w:{if(f&65343){break w}if(!(!a|!(f&64?b:1))){a=j+(I[k+(s?d:1)|0]<<2)|0;d=I[a+2|0]|I[a+3|0]<<8;if(d&65343){break w}a=I[a|0]|I[a+1|0]<<8;if((d^f)&64|(b|0)!=((((a<<8|a>>>8)&65535)-q|0)/(o|0)|0)){break w}}a=j+(I[k+(e+!p|0)|0]<<2)|0;if(!((I[a+2|0]|I[a+3|0]<<8)&65343)){break v}}a=I[c+61|0]?H[c+72>>2]:l;if(i|!a){break v}Qb(c,3,a-1|0,l+1|0,1,1)}q=0;h=H[n+4>>2];a=I[m+2|0]|I[m+3|0]<<8;if(a&128){c=H[g+24>>2];x:{if(!c){f=H[h+72>>2];c=0;break x}f=H[h+72>>2];c=c-((f|0)==H[(((c-1&63)<<2)+g|0)+28>>2])|0}H[g+24>>2]=c+1;H[(((c&63)<<2)+g|0)+28>>2]=f}a=a&65343;y:{if(!a){break y}o=H[g+24>>2];if(!o|K[h+64>>2]>=K[h+68>>2]){break y}i=H[h+72>>2];c=H[g+8>>2]+((a<<8|a>>>8)&65535)|0;a=H[g+12>>2];l=(c-a&-4)+a|0;while(1){z:{if(!o){H[g+24>>2]=0;break z}o=o-1|0;e=((o&63)<<2)+g|0;if(!$c(h,H[e+28>>2])){break y}p=H[g+4>>2];f=H[p+24>>2];if(f>>>0>l>>>0){break z}s=H[p+28>>2];if(s>>>0>>0|s-l>>>0<4){break z}d=H[p+32>>2];a=d-4|0;H[p+32>>2]=a;if((a|0)<=0){break z}a=I[l|0];j=I[l+3|0]|(I[l+1|0]<<16|a<<24|I[l+2|0]<<8);k=(H[H[h+80>>2]+N(H[h+64>>2],20)>>2]+(a<<25&1073741824)|0)+(j&1073741823)|0;c=H[g+8>>2];a=H[g+16>>2];k=(k+(c-a>>>1|0)<<1)+a|0;if(k>>>0>>0|k>>>0>s>>>0|s-k>>>0<2){break z}a=d-6|0;H[p+32>>2]=a;if((a|0)<=0){break z}a=I[k|0]|I[k+1|0]<<8;q=((a<<8|a>>>8)&65535)+q|0;if(j>>>0>=1073741824){a=H[g+20>>2];q=(c+q|0)-a>>>1|0;c=(q<<1)+a|0;if(c>>>0>>0|c>>>0>s>>>0|s-c>>>0<2){break z}a=d-8|0;H[p+32>>2]=a;if((a|0)<=0){break z}a=I[c|0]|I[c+1|0]<<8;if(!qb(h,1,1)){break y}d=(a<<8|a>>>8)&65535;a=H[h+64>>2];A:{if(a>>>0>2]){k=H[h+72>>2];f=H[h+84>>2];a=H[h+80>>2]+N(a,20)|0;break A}f=H[h+84>>2];k=H[h+72>>2];a=f+N(k?k-1|0:0,20)|0}c=H[a+4>>2];f=N(k,20)+f|0;H[f>>2]=H[a>>2];H[f+4>>2]=c;H[f+16>>2]=H[a+16>>2];c=H[a+12>>2];H[f+8>>2]=H[a+8>>2];H[f+12>>2]=c;H[f>>2]=d;H[h+64>>2]=H[h+64>>2]+1;H[h+72>>2]=H[h+72>>2]+1;a=H[g+24>>2]-1|0;c=H[(((a&63)<<2)+g|0)+28>>2];if(a>>>0>o>>>0){while(1){H[g+24>>2]=a;if(!$c(h,H[(((a&63)<<2)+g|0)+28>>2])){break y}if(!qb(h,1,1)){break y}a=H[h+64>>2];B:{if(a>>>0>2]){k=H[h+80>>2]+N(a,20)|0;a=H[h+72>>2];f=H[h+84>>2];break B}f=H[h+84>>2];a=H[h+72>>2];k=f+N(a?a-1|0:0,20)|0}d=N(a,20)+f|0;a=H[k+4>>2];H[d>>2]=H[k>>2];H[d+4>>2]=a;H[d+16>>2]=H[k+16>>2];a=H[k+12>>2];H[d+8>>2]=H[k+8>>2];H[d+12>>2]=a;H[d>>2]=65535;H[h+64>>2]=H[h+64>>2]+1;H[h+72>>2]=H[h+72>>2]+1;a=H[g+24>>2]-1|0;if(o>>>0>>0){continue}break}}if(!$c(h,c+1|0)){break y}ae(h,H[e+28>>2],H[h+72>>2])}l=l+4|0;if((j|0)>=0){continue}}break}$c(h,i)}c=H[n+4>>2];a=H[c+64>>2];if((a|0)==H[c+68>>2]|!I[c+60|0]){break t}C:{if(I[m+2|0]&64){d=H[c+152>>2];H[c+152>>2]=d-1;if((d|0)>0){break C}}if(I[c+61|0]){D:{if(H[c+84>>2]==H[c+80>>2]){d=a;if(H[c+72>>2]==(a|0)){break D}}if(!qb(c,1,1)){break C}d=H[c+80>>2]+N(H[c+64>>2],20)|0;a=H[d+4>>2];e=H[c+84>>2]+N(H[c+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=a;H[e+16>>2]=H[d+16>>2];a=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=a;a=H[c+64>>2];d=H[c+72>>2]}H[c+72>>2]=d+1}H[c+64>>2]=a+1}c=H[n+4>>2];if(!I[c+60|0]){break t}l=H[c+64>>2];a=b;continue}}ad(c);c=I[g|0]!=0;break a;case 4:c=ul(a+8|0,b);break a;case 5:break b;default:break a}}H[g+8>>2]=0;F[g|0]=0;H[g+4>>2]=b;c=I[a+16|0]|I[a+17|0]<<8;a=a+8|0;H[g+12>>2]=((c<<8|c>>>8)&65535)+a;c=H[b+12>>2];H[g+292>>2]=H[b+16>>2];H[g+288>>2]=a;a=H[c+32>>2];if((a|0)==-1){a=Hc(c)}H[g+296>>2]=a;a=0;m=g+288|0;b=H[m+4>>2];H[b+72>>2]=0;H[b+64>>2]=0;F[b+61|0]=1;F[b+62|0]=0;H[b+84>>2]=H[b+80>>2];c=H[m+4>>2];H[c+64>>2]=0;E:{if(!I[c+60|0]){break E}while(1){i=K[c+68>>2]<=l>>>0;d=0;F:{if(i){break F}b=H[H[c+80>>2]+N(l,20)>>2];d=2;if((b|0)==65535){break F}e=H[m>>2];d=I[e+2|0]|I[e+3|0]<<8;j=b;f=((d<<8|d>>>8)&65535)+e|0;b=I[f|0]|I[f+1|0]<<8;e=j-((b<<8|b>>>8)&65535)|0;b=I[f+2|0]|I[f+3|0]<<8;d=1;if(e>>>0>=((b<<8|b>>>8)&65535)>>>0){break F}d=I[(e+f|0)+4|0]}f=H[m>>2];p=I[f|0]|I[f+1|0]<<8;o=(p<<8|p>>>8)&65535;s=o>>>0>d>>>0;e=N(a,o);b=I[f+4|0]|I[f+5|0]<<8;q=(b<<8|b>>>8)&65535;k=q+f|0;b=I[f+6|0]|I[f+7|0]<<8;j=f+((b<<8|b>>>8)&65535)|0;n=(I[((s?d:1)+e|0)+k|0]<<3)+j|0;b=I[n|0]|I[n+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(o|0)|0;f=I[n+2|0]|I[n+3|0]<<8;G:{H:{if((I[n+4|0]|I[n+5|0]<<8)!=65535|(I[n+6|0]|I[n+7|0]<<8)!=65535?f&65283:0){break H}if(!(!a|!(f&64?b:1))){a=j+(I[k+(s?d:1)|0]<<3)|0;d=I[a+2|0]|I[a+3|0]<<8;if((I[a+4|0]|I[a+5|0]<<8)!=65535|(I[a+6|0]|I[a+7|0]<<8)!=65535?d&65283:0){break H}a=I[a|0]|I[a+1|0]<<8;if((d^f)&64|(b|0)!=((((a<<8|a>>>8)&65535)-q|0)/(o|0)|0)){break H}}a=j+(I[k+(e+!p|0)|0]<<3)|0;if(!((I[a+2|0]|I[a+3|0]<<8)&65283)){break G}if((I[a+4|0]|I[a+5|0]<<8)!=65535){break H}if((I[a+6|0]|I[a+7|0]<<8)==65535){break G}}a=I[c+61|0]?H[c+72>>2]:l;if(i|!a){break G}Qb(c,3,a-1|0,l+1|0,1,1)}sl(g,m,n);c=H[m+4>>2];a=H[c+64>>2];if((a|0)==H[c+68>>2]|!I[c+60|0]){break E}I:{if(I[n+2|0]&64){d=H[c+152>>2];H[c+152>>2]=d-1;if((d|0)>0){break I}}if(I[c+61|0]){J:{if(H[c+84>>2]==H[c+80>>2]){d=a;if(H[c+72>>2]==(a|0)){break J}}if(!qb(c,1,1)){break I}d=H[c+80>>2]+N(H[c+64>>2],20)|0;a=H[d+4>>2];e=H[c+84>>2]+N(H[c+72>>2],20)|0;H[e>>2]=H[d>>2];H[e+4>>2]=a;H[e+16>>2]=H[d+16>>2];a=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=a;a=H[c+64>>2];d=H[c+72>>2]}H[c+72>>2]=d+1}H[c+64>>2]=a+1}c=H[m+4>>2];if(!I[c+60|0]){break E}l=H[c+64>>2];a=b;continue}}ad(c);c=I[g|0]!=0}Wa=g+304|0;return c|0}function gJ(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=O(0),q=0,r=O(0),s=0,t=O(0),u=O(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;w=Wa-16|0;Wa=w;if(!I[259520]){H[64876]=1801810542;H[64877]=0;H[64872]=1684826471;H[64873]=0;H[64868]=1751935335;H[64869]=0;H[64864]=1668049255;H[64865]=0;H[64862]=0;H[64863]=-1;H[64860]=1818847073;H[64861]=0;F[259520]=1;H[64878]=0;H[64879]=-1;H[64874]=0;H[64875]=-1;H[64870]=0;H[64871]=-1;H[64866]=0;H[64867]=-1}if(!b){m=a;a=H[a+104>>2];a:{if(!H[a+20>>2]){o=hl(H[a>>2],H[a+4>>2],1,m,0);a=o;n=H[m+4>>2];h=Wa-48|0;Wa=h;H[h+8>>2]=0;H[h+12>>2]=0;H[h+16>>2]=0;H[h+20>>2]=0;F[h+24|0]=0;H[h+28>>2]=0;H[h+32>>2]=0;H[h>>2]=0;H[h+4>>2]=0;F[h+40|0]=0;H[h+36>>2]=65536;a=a?a:163632;if(!(!a|!H[a>>2])){H[a>>2]=H[a>>2]+1}if(!(!a|!H[a>>2])){H[a>>2]=H[a>>2]+1}b=a;H[h+32>>2]=a;b:{c:{d:{e:{f:{while(1){F[h+24|0]=j;i=H[b+12>>2];H[h+4>>2]=i;j=H[b+16>>2];H[h+8>>2]=j+i;H[h+28>>2]=0;if(j>>>0<=67108862){j=j<<6;j=j>>>0>16384?j:16384;j=j>>>0<1073741823?j:1073741823}else{j=1073741823}H[h+12>>2]=j;H[h+20>>2]=0;H[h>>2]=0;if(!i){lb(b);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0;break b}j=Wk(i,h);b=H[h+28>>2];g:{if(j){if(!b){break g}H[h+28>>2]=0;b=Wk(i,h);i=H[h+28>>2];lb(H[h+32>>2]);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0;if(!b){break c}if(!i){break f}break c}if(I[h+24|0]|!b){break e}i=Ec(a);H[h+4>>2]=i;H[h+8>>2]=i+H[a+16>>2];b=H[h+32>>2];j=1;if(i){continue}break d}break}lb(H[h+32>>2]);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0}if(H[a+4>>2]){H[a+4>>2]=0}break b}b=H[h+32>>2]}lb(b);H[h+32>>2]=0;H[h+4>>2]=0;H[h+8>>2]=0}lb(a);a=163632}b=a;i=Ab(1,8);h:{if(i){G[i+4>>1]=n;H[i>>2]=b;a=Ab(1,212);i:{if(a){H[a+8>>2]=0;H[a>>2]=1;H[a+4>>2]=1;H[a+32>>2]=-1;H[a+20>>2]=598;H[a+16>>2]=i;H[a+12>>2]=599;H[a+36>>2]=a;H[a+48>>2]=a;break i}lb(b);hb(i);a=257844}H[a+24>>2]=n;break h}lb(b);a=257844}Wa=h+48|0;lb(o);break a}a=Ab(1,212);j:{if(a){H[a+8>>2]=0;H[a>>2]=1;H[a+4>>2]=1;H[a+32>>2]=-1;H[a+20>>2]=0;H[a+16>>2]=m;H[a+12>>2]=621;H[a+36>>2]=a;H[a+48>>2]=a;break j}a=257844}}b=H[m+4>>2];if(H[a+4>>2]){H[a+24>>2]=b}b=J[m+68>>1];if(H[a+4>>2]){H[a+28>>2]=b}n=a;b=a;i=0;v=Wa-16|0;Wa=v;a=a?a:257844;j=Ab(1,104);k:{if(!j){j=258288;break k}H[j+8>>2]=0;H[j>>2]=1;H[j+4>>2]=1;if(H[a+4>>2]){H[a+4>>2]=0}H[j+12>>2]=258288;if(!(!a|!H[a>>2])){H[a>>2]=H[a>>2]+1}H[j+80>>2]=258392;H[j+16>>2]=a;H[j+92>>2]=j;a=vg(a);H[j+48>>2]=65536;H[j+52>>2]=0;H[j+20>>2]=a;H[j+24>>2]=a;H[j+40>>2]=65536;H[j+44>>2]=0}while(1){l:{a=H[64757];if(a){break l}a=Kk();Ik(a,659);Hk(a,660);Gk(a,661);Jk(a,662);Fk(a,663);if(H[a+4>>2]){h=H[a+88>>2];if(h){Ya[h|0](H[a+16>>2])}H[a+88>>2]=0;H[a+160>>2]=664;H[a+16>>2]=0}if(H[a+4>>2]){h=H[a+116>>2];if(h){Ya[h|0](H[a+44>>2])}H[a+116>>2]=0;H[a+188>>2]=665;H[a+44>>2]=0}Ek(a,666);zk(a,667);Dk(a,668);Ck(a,669);Bk(a,670);if(H[a+4>>2]){H[a+4>>2]=0}h=H[64757];a=a?a:258392;H[64757]=h?h:a;if(!h){break l}if(!a|(a|0)==258392){continue}tg(a);continue}break}xk(j,a,H[j+16>>2]+48|0,0);m:{if(!b){break m}a=H[b+24>>2];if(!H[j+4>>2]|a>>>0<65536){break m}b=(a>>>16|0)-1|0;a=Yq(H[j+16>>2],b,0,0);H[v+12>>2]=a;if(a){s=Ab(a,4);if(!s){break m}}Yq(H[j+16>>2],b,v+12|0,s);o=H[v+12>>2];if(H[j+4>>2]){n:{if(o){q=Ab(o,4);x=Ab(o,4);if(!(x?q:0)){hb(q);hb(x);break n}mb(x,s,o<<2)}k=H[j+16>>2];b=wk(k+120|0);if(o){while(1){a=i<<2;l=a+q|0;r=L[a+s>>2];t=r;a=I[b+4|0]|I[b+5|0]<<8;if(a){h=b+((a<<8|a>>>8)&65535)|0}else{h=163632}a=I[b+8|0]|I[b+9|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>i>>>0?h+N(i,20)|0:163632;h=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);p=O(O(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))*O(152587890625e-16));u=t;h=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);t=O(O(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))*O(152587890625e-16));t=p<=t?p:t;u=r>=t?u:t;a=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);r=O(O(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*O(152587890625e-16));r=p>=r?p:r;u=r>=u?u:r;if(p!=u){p=O(T(O(O(O(O(u-p)/(p>u?O(p-t):O(r-p)))*O(16384))+O(.5))));o:{if(O(P(p))>2]=a;i=i+1|0;if((o|0)!=(i|0)){continue}break}}i=Wa-48|0;Wa=i;k=k+124|0;h=H[k>>2];p:{if(h){break p}y=k-76|0;while(1){a=H[y>>2];if(!a){h=163632;break p}H[i+8>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;F[i+24|0]=0;H[i+28>>2]=0;H[i+32>>2]=0;H[i>>2]=0;H[i+4>>2]=0;b=ac(a);F[i+40|0]=1;H[i+36>>2]=b;h=0;a=_b(a,1635148146);if(!(!a|!H[a>>2])){H[a>>2]=H[a>>2]+1}b=a;H[i+32>>2]=a;q:{r:{s:{t:{u:{while(1){F[i+24|0]=h;h=H[b+12>>2];H[i+4>>2]=h;l=H[b+16>>2];H[i+8>>2]=l+h;H[i+28>>2]=0;if(l>>>0<=67108862){l=l<<6;l=l>>>0>16384?l:16384;l=l>>>0<1073741823?l:1073741823}else{l=1073741823}H[i+12>>2]=l;H[i+20>>2]=0;H[i>>2]=0;if(!h){lb(b);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0;break q}l=uk(h,i);b=H[i+28>>2];v:{if(l){if(!b){break v}H[i+28>>2]=0;b=uk(h,i);h=H[i+28>>2];lb(H[i+32>>2]);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0;if(!b){break r}if(!h){break u}break r}if(I[i+24|0]|!b){break t}l=Ec(a);H[i+4>>2]=l;H[i+8>>2]=l+H[a+16>>2];b=H[i+32>>2];h=1;if(l){continue}break s}break}lb(H[i+32>>2]);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0}if(H[a+4>>2]){H[a+4>>2]=0}break q}b=H[i+32>>2]}lb(b);H[i+32>>2]=0;H[i+4>>2]=0;H[i+8>>2]=0}lb(a);a=163632}h=a;if(!a){h=163632}a=H[k>>2];H[k>>2]=a?a:h;if(!a){break p}if(!(!h|(h|0)==163632)){lb(h)}h=H[k>>2];if(!h){continue}break}}Wa=i+48|0;a=K[h+16>>2]<8?163632:H[h+12>>2];b=I[a+6|0]|I[a+7|0]<<8;b=(b<<8|b>>>8)&65535;y=b>>>0>>0?b:o;if(y){i=a+8|0;while(1){a=(z<<2)+q|0;B=a;h=H[a>>2];a=I[i|0]|I[i+1|0]<<8;b=(a<<8|a>>>8)&65535;w:{if(b>>>0<=1){if(!a){break w}a=I[i+2|0]|I[i+3|0]<<8;b=h-((a<<8|a>>>8)<<16>>16)|0;a=I[i+4|0]|I[i+5|0]<<8;h=b+((a<<8|a>>>8)<<16>>16)|0;break w}a=I[i+2|0]|I[i+3|0]<<8;a=(a<<8|a>>>8)<<16>>16;if((a|0)>=(h|0)){b=h-a|0;a=I[i+4|0]|I[i+5|0]<<8;h=b+((a<<8|a>>>8)<<16>>16)|0;break w}a=1;b=b-1|0;x:{if(b>>>0<2){break x}while(1){k=(a<<2)+i|0;k=I[k+2|0]|I[k+3|0]<<8;if((k<<8|k>>>8)<<16>>16>=(h|0)){break x}a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}b=(a<<2)+i|0;k=I[b+2|0]|I[b+3|0]<<8;l=(k<<8|k>>>8)<<16>>16;if((l|0)<=(h|0)){a=I[b+4|0]|I[b+5|0]<<8;h=(h-l|0)+((a<<8|a>>>8)<<16>>16)|0;break w}A=k;b=a-1|0;k=(b<<2)+i|0;k=I[k+2|0]|I[k+3|0]<<8;if((A|0)==(k|0)){a=(b<<2)+i|0;a=I[a+4|0]|I[a+5|0]<<8;h=(a<<8|a>>>8)<<16>>16;break w}A=h;h=(k<<8|k>>>8)<<16>>16;k=a<<2;a=i+2|0;k=k+a|0;k=I[k+2|0]|I[k+3|0]<<8;a=a+(b<<2)|0;a=I[a+2|0]|I[a+3|0]<<8;a=(a<<8|a>>>8)<<16>>16;p=O(T(O(O(O(O(O(A-h|0)*O(((k<<8|k>>>8)<<16>>16)-a|0))/O(l-h|0))+O(a|0))+O(.5))));if(O(P(p))>2]=h;a=I[i|0]|I[i+1|0]<<8;i=((((a<<8|a>>>8)&65535)<<2)+i|0)+2|0;z=z+1|0;if((y|0)!=(z|0)){continue}break}}hb(H[j+72>>2]);hb(H[j+76>>2]);H[j+76>>2]=x;H[j+72>>2]=q;H[j+68>>2]=o}}hb(s)}Wa=v+16|0;Vk(n);b=j;tk(b,m,0);if(H[b+88>>2]==622){a=H[H[b+84>>2]+24>>2];j=J[a+68>>1];m=H[a+88>>2];a=H[m+16>>2];h=HM(j,0,a,a>>31)+32768|0;a=Xa;a=h>>>0<32768?a+1|0:a;i=(a&65535)<<16|h>>>16;a=H[m+20>>2];a=HM(a,a>>31,j,0)+32768|0;j=Xa;j=a>>>0<32768?j+1|0:j;a=(j&65535)<<16|a>>>16;if(H[b+4>>2]){H[b+24>>2]=a;H[b+20>>2]=i;j=H[b+16>>2];h=H[j+28>>2];if(!h){h=vb(j);i=H[b+20>>2];a=H[b+24>>2]}n=h>>31;C=b,D=IM(a<<16,a>>31<<16|a>>>16,h,n),H[C+48>>2]=D;H[b+52>>2]=Xa;C=b,D=IM(i<<16,i>>31<<16|i>>>16,h,n),H[C+40>>2]=D;H[b+44>>2]=Xa;L[b+32>>2]=a?O(O(L[b+28>>2]*O(i|0))/O(a|0)):O(0)}}h=Wa-32|0;Wa=h;a=H[b+16>>2];i=H[a+12>>2];y:{if(i){a=Ya[i|0](a,0,H[a+16>>2])|0;if(a){break y}}a=163632}if(h+28|0){H[h+28>>2]=H[a+16>>2]}m=H[a+12>>2];H[h+24>>2]=0;while(1){z:{i=H[64756];if(i){break z}A:{if(Pn(h+8|0)){break A}i=H[h+8>>2];if(!i){break A}j=H[64756];H[64756]=j?j:i;if(!j){break z}if(i){fo(i)}continue}i=0;j=H[64756];H[64756]=j;if(j){continue}}break}n=H[h+28>>2];o=H[H[b+16>>2]+24>>2];q=h+24|0;j=Wa-32|0;Wa=j;if(m){H[j+16>>2]=0;H[j+8>>2]=n;H[j+4>>2]=m;H[j>>2]=1;i=Vi(i,j,o,q,1)}else{i=6}Wa=j+32|0;B:{if(i){lb(a);break B}if(ie(H[h+24>>2],1937337698)){ie(H[h+24>>2],1970170211)}m=H[b+20>>2];i=m>>31;n=H[b+24>>2];j=n>>31;mo(H[h+24>>2],(i^m)-i|0,(j^n)-j|0,0,0);i=H[b+20>>2];j=H[b+24>>2];if((i|j)<0){H[h+12>>2]=0;H[h+16>>2]=0;H[h+20>>2]=j>>31|1;H[h+8>>2]=i>>31|1;_o(H[h+24>>2],h+8|0)}i=H[h+24>>2];H[i+44>>2]=a;H[i+48>>2]=636;tk(b,i,1);if(!H[b+4>>2]|H[b+88>>2]!=622){break B}H[H[b+84>>2]+28>>2]=2}Wa=h+32|0}H[64861]=d&1;H[64877]=d>>>4&1;H[64873]=d>>>3&1;H[64869]=d>>>2&1;H[64865]=d>>>1&1;a=cl();if(H[a+4>>2]){H[a+40>>2]=f}if(H[a+4>>2]){H[a+44>>2]=e}if(H[a+4>>2]){H[a+48>>2]=g}e=0;if(H[a+4>>2]){H[a+20>>2]=0}d=wb(c);g=d;i=Wa-16|0;Wa=i;f=a;C:{if(!H[a+4>>2]){break C}m=H[f+24>>2];if((g|0)==-1){g=wb(c)}d=(d|0)==-1?g:d;if(d>>>0>268435455){break C}a=H[f+68>>2]+(d>>>2|0)|0;if(!(!a|a>>>0>2])){if(!be(f,a)){break C}}a=c;D:{if((d|0)<=0){d=a;break D}n=a+d|0;while(1){d=$k(a,n,i+8|0,m);o=H[i+8>>2];h=H[f+68>>2];j=h+1|0;E:{if(!(j>>>0>2]|h>>>0>j>>>0)){if(!be(f,j)){break E}h=H[f+68>>2]}h=H[f+80>>2]+N(h,20)|0;H[h+8>>2]=0;H[h+12>>2]=0;H[h+4>>2]=0;H[h>>2]=o;H[h+16>>2]=0;H[h+8>>2]=a-c;H[f+68>>2]=H[f+68>>2]+1}a=d;if(n>>>0>a>>>0){continue}break}}H[f+136>>2]=0;a=c+g|0;F:{if(a>>>0<=d>>>0){break F}while(1){d=$k(d,a,i+4|0,m);c=H[i+4>>2];g=H[f+136>>2];H[f+136>>2]=g+1;H[(f+(g<<2)|0)+112>>2]=c;if(a>>>0<=d>>>0){break F}if(K[f+136>>2]<5){continue}break}}H[f+36>>2]=1}Wa=i+16|0;a=0;G:{if(H[f+44>>2]|!H[f+68>>2]){break G}while(1){c=H[f+12>>2];c=Ya[H[c+32>>2]](c,H[H[f+80>>2]+N(a,20)>>2],H[c- -64>>2])|0;if(!((c|0)==1516858984|(c|0)==1517910393|(c|0)==1517976186)){H[f+44>>2]=c;break G}a=a+1|0;if(a>>>0>2]){continue}break}}if(!H[f+40>>2]){a=Rh(H[f+44>>2]);H[f+40>>2]=a?a:4}if(!H[f+48>>2]){a=0;c=H[64753];if(c){a=c}else{c=Sh(105740);if(c){a=H[c+4>>2]}c=H[64753];H[64753]=c?c:a}H[f+48>>2]=a}xh(b,f,259440,5,0);a=w+12|0;if(a){H[a>>2]=H[f+68>>2]}q=H[f+80>>2];v=al(f,a);c=H[w+12>>2];a=N(c,26)+12|0;h=Ab(1,a);F[h+4|0]=b;F[h+5|0]=b>>>8;F[h+6|0]=b>>>16;F[h+7|0]=b>>>24;F[h+8|0]=0;F[h+9|0]=0;F[h+10|0]=0;F[h+11|0]=0;F[h|0]=a;F[h+1|0]=a>>>8;F[h+2|0]=a>>>16;F[h+3|0]=a>>>24;if(c){d=h+12|0;while(1){s=N(e,20);i=s+q|0;j=H[i>>2];H:{I:{c=H[b+16>>2];a=H[c+140>>2];J:{if(a){break J}while(1){a=H[c+48>>2];if(!a){a=163632;break J}a=_j(a);if(!a){a=163632}g=H[c+140>>2];H[c+140>>2]=g?g:a;if(!g){break J}if(!(!a|(a|0)==163632)){g=H[a>>2];H[65057]=0;fa(579,g|0);g=H[65057];H[65057]=0;if((g|0)==1){break I}hb(a)}a=H[c+140>>2];if(!a){continue}break}}c=163632;a=H[a>>2];a=a?a:163632;a=K[a+16>>2]<12?163632:H[a+12>>2];g=I[a+4|0]|I[a+5|0]<<8;if(g){c=a+((g<<8|g>>>8)&65535)|0}a=0;K:{L:{M:{N:{g=I[c|0]|I[c+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break M;case 0:break N;default:break K}}a=I[c+2|0]|I[c+3|0]<<8;a=j-((a<<8|a>>>8)&65535)|0;g=((a<<1)+c|0)+6|0;c=I[c+4|0]|I[c+5|0]<<8;a=a>>>0<((c<<8|c>>>8)&65535)>>>0?g:163632;break L}o=164024;a=I[c+2|0]|I[c+3|0]<<8;O:{if(!a){break O}a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){m=a+g>>>1|0;n=N(m,6)+c|0;k=I[n+4|0]|I[n+5|0]<<8;P:{if(j>>>0>=((k<<8|k>>>8)&65535)>>>0){g=I[n+6|0]|I[n+7|0]<<8;if(j>>>0>((g<<8|g>>>8)&65535)>>>0){g=m+1|0;break P}o=(N(m,6)+c|0)+4|0;break O}a=m-1|0}if((a|0)>=(g|0)){continue}break}}a=o+4|0}a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535}break H}ea(0)|0;_()|0;Gb();X()}c=H[i+4>>2];a=a&255;F[d|0]=a;F[d+1|0]=a>>>8;F[d+2|0]=a>>>16;F[d+3|0]=a>>>24;a=c&3;F[d+1|0]=a;F[d+2|0]=a>>>8;F[d+3|0]=a>>>16;F[d+4|0]=a>>>24;a=H[i>>2];F[d+2|0]=a;F[d+3|0]=a>>>8;F[d+4|0]=a>>>16;F[d+5|0]=a>>>24;a=H[i+8>>2];F[d+6|0]=a;F[d+7|0]=a>>>8;F[d+8|0]=a>>>16;F[d+9|0]=a>>>24;a=v+s|0;c=H[a>>2];F[d+10|0]=c;F[d+11|0]=c>>>8;F[d+12|0]=c>>>16;F[d+13|0]=c>>>24;c=H[a+4>>2];F[d+14|0]=c;F[d+15|0]=c>>>8;F[d+16|0]=c>>>16;F[d+17|0]=c>>>24;c=H[a+8>>2];F[d+18|0]=c;F[d+19|0]=c>>>8;F[d+20|0]=c>>>16;F[d+21|0]=c>>>24;a=H[a+12>>2];F[d+22|0]=a;F[d+23|0]=a>>>8;F[d+24|0]=a>>>16;F[d+25|0]=a>>>24;d=d+26|0;e=e+1|0;if(e>>>0>2]){continue}break}}Ce(f);Wa=w+16|0;return h|0}function BC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;k=Wa-26352|0;Wa=k;S=H[b+92>>2];H[a+40>>2]=J[b+68>>1];c=0;a:{if(ie(b,1970170211)){break a}c=H[b+100>>2];kb(k+19664|4,0,2756);H[k+19664>>2]=c;H[a+9856>>2]=0;H[a+52>>2]=0;g=H[H[(H[H[a>>2]+8>>2]<<2)+16352>>2]+16>>2];c=I[g|0];b:{if(!c){break b}while(1){if((c&255)==32){while(1){c=I[g+1|0];g=g+1|0;if((c|0)==32){continue}break}}l=c&255;d=g+1|0;j=H[a+36>>2];if(c<<24>>24<0){c=l>>>0<240;e=l>>>0<224;f=e?1:c?2:3;h=f-1|0;l=(e?31:c?15:7)&l;e=0;c=f;while(1){l=I[d|0]&63|l<<6;c=c-1|0;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}if(h>>>0>=3){while(1){l=I[d+3|0]&63|((I[d+1|0]&63|(l<<12|(I[d|0]&63)<<6))<<12|(I[d+2|0]&63)<<6);d=d+4|0;c=c-4|0;if(c){continue}break}}d=(f+g|0)+1|0}g=d;j=H[j>>2];d=0;while(1){c=I[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;e=d>>>0<224;f=e?1:c?2:3;i=f-1|0;d=(e?31:c?15:7)&d;h=0;e=f;c=g;while(1){d=I[c|0]&63|d<<6;e=e-1|0;c=c+1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}if(i>>>0>=3){while(1){d=I[c+3|0]&63|((I[c+1|0]&63|(d<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=f+g|0;continue}break}c:{if(!d){c=pc(j,l);if(c){break c}c=I[g|0]}if(c&255){continue}break b}break}if(Kd(b,c,1)){break b}c=H[b+84>>2];if(G[c+110>>1]<=0){break b}d=kb(k,0,19652);e=H[a+40>>2];H[d+8>>2]=65536;H[d+12>>2]=65536;H[d+40>>2]=e;H[d+4>>2]=b;H[d+22404>>2]=0;H[d+22412>>2]=d;if(rg(d+19664|0,c+108|0)){break b}if(Me(d+19664|0,0)){break b}h=0;Wf(d+19664|0,0,0,0);e=H[d+19708>>2];if((e|0)>0){c=H[d+19716>>2];g=c+N(e,44)|0;while(1){e=H[c+20>>2];if(!(!e|H[e+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=e>>>0))){f=G[c+2>>1]-G[e+2>>1]|0;e=f>>31;H[(N(h,12)+a|0)+56>>2]=(e^f)-e;h=h+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}H[d+26304>>2]=h;Ng(d+26304|0,a+56|0,K[d+40>>2]/100|0);H[a+52>>2]=H[d+26304>>2];if(Me(d+19664|0,1)){break b}h=0;Wf(d+19664|0,0,0,1);e=H[d+21056>>2];if((e|0)>0){c=H[d+21064>>2];g=c+N(e,44)|0;while(1){e=H[c+20>>2];if(!(!e|H[e+20>>2]!=(c|0)|(h>>>0>15|c>>>0>=e>>>0))){f=G[c+2>>1]-G[e+2>>1]|0;e=f>>31;H[(N(h,12)+a|0)+9860>>2]=(e^f)-e;h=h+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}H[d+26304>>2]=h;Ng(d+26304|0,a+9860|0,K[d+40>>2]/100|0);H[a+9856>>2]=H[d+26304>>2]}if(H[a+52>>2]){c=H[a+56>>2]}else{c=(N(H[a+40>>2],50)|0)/2048|0}F[a+256|0]=0;H[a+252>>2]=c;H[a+248>>2]=(c|0)/5;if(H[a+9856>>2]){c=H[a+9860>>2]}else{c=(N(H[a+40>>2],50)|0)/2048|0}F[a+10060|0]=0;H[a+10056>>2]=c;H[a+10052>>2]=(c|0)/5;zi(k+19664|0);T=K[a+40>>2]/14|0;P=H[a>>2];c=(H[P+12>>2]<<3)+6560|0;d=H[c>>2];if((d|0)!=5531){while(1){s=c;g=d+1024|0;d=I[g|0];d:{if(!d){break d}v=0;u=0;l=0;p=0;while(1){if((d&255)==32){while(1){d=I[g+1|0];g=g+1|0;if((d|0)==32){continue}break}}m=d&255;c=g+1|0;j=H[a+36>>2];if(d<<24>>24<0){d=m>>>0<240;e=m>>>0<224;f=e?1:d?2:3;h=f-1|0;m=(e?31:d?15:7)&m;e=0;d=f;while(1){m=I[c|0]&63|m<<6;d=d-1|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}if(h>>>0>=3){while(1){m=I[c+3|0]&63|((I[c+1|0]&63|(m<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(f+g|0)+1|0}g=c;j=H[j>>2];d=0;while(1){c=I[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;e=d>>>0<224;f=e?1:c?2:3;i=f-1|0;d=(e?31:c?15:7)&d;h=0;e=f;c=g;while(1){d=I[c|0]&63|d<<6;e=e-1|0;c=c+1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}if(i>>>0>=3){while(1){d=I[c+3|0]&63|((I[c+1|0]&63|(d<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=f+g|0;continue}break}e:{if(d){break e}c=pc(j,m);A=F[s+4|0]&1?-2147483648:2147483647;m=0;f:{if(!c){break f}if(Kd(b,c,1)){break f}c=H[b+84>>2];if(G[c+110>>1]<3){break f}M=0;m=G[c+108>>1];g:{if((m|0)<=0){i=0;C=J[s+4>>1];break g}C=H[c+120>>2];B=H[c+116>>2];q=H[c+112>>2];j=-1;w=0;x=0;f=0;i=0;d=0;while(1){n=G[C+(i<<1)>>1];h:{if((n|0)<=(f|0)){e=j;break h}i:{if(I[s+4|0]&3){j:{if(!((n-f|0)+1&1)){h=f;c=d;e=j;break j}h=f+1|0;c=H[((f<<3)+q|0)+4>>2];k:{if(!((j|0)<0|(d|0)<(c|0))){p=(c|0)>(p|0)?p:c;c=d;e=j;break k}l=(c|0)<(l|0)?l:c;d=c;e=f}}if((f|0)==(n|0)){break i}while(1){d=H[((h<<3)+q|0)+4>>2];l:{if(!((d|0)<=(c|0)&(e|0)>=0)){l=(d|0)<(l|0)?l:d;e=h;break l}p=(d|0)>(p|0)?p:d;d=c}o=h+1|0;c=H[((o<<3)+q|0)+4>>2];m:{if(!((e|0)<0|(d|0)<(c|0))){p=(c|0)>(p|0)?p:c;c=d;break m}l=(c|0)<(l|0)?l:c;e=o}h=h+2|0;d=c;if((n|0)!=(o|0)){continue}break}break i}n:{if(!((n-f|0)+1&1)){h=f;c=d;e=j;break n}h=f+1|0;c=H[((f<<3)+q|0)+4>>2];o:{if(!((j|0)<0|(d|0)>(c|0))){l=(c|0)<(l|0)?l:c;c=d;e=j;break o}p=(c|0)>(p|0)?p:c;d=c;e=f}}if((f|0)==(n|0)){break i}while(1){d=H[((h<<3)+q|0)+4>>2];p:{if(!((e|0)>=0&(d|0)>=(c|0))){p=(d|0)>(p|0)?p:d;e=h;break p}l=(d|0)<(l|0)?l:d;d=c}o=h+1|0;c=H[((o<<3)+q|0)+4>>2];q:{if(!((e|0)<0|(d|0)>(c|0))){l=(c|0)<(l|0)?l:c;c=d;break q}p=(c|0)>(p|0)?p:c;e=o}h=h+2|0;d=c;if((n|0)!=(o|0)){continue}break}}c=(e|0)==(j|0);w=c?w:f;x=c?x:n;j=e}f=n+1|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}if((e|0)<0){i=d;C=J[s+4>>1];break g}L=H[(e<<3)+q>>2];j=e;c=(I[e+B|0]&3)==1?e:-1;h=c;r:{while(1){f=(j|0)>(w|0)?j-1|0:x;o=(f<<3)+q|0;n=H[o+4>>2]-d|0;i=n>>31;n=(i^n)-i|0;if(n>>>0>=6){o=H[o>>2]-L|0;i=o>>31;if((i^o)-i>>>0<=N(n,20)>>>0){break r}}j=(I[f+B|0]&3)==1;h=j?(h|0)<0?f:h:h;c=j?f:c;j=f;if((f|0)!=(e|0)){continue}break}j=e}f=e;s:{while(1){i=(f|0)<(x|0)?f+1|0:w;O=(i<<3)+q|0;n=H[O+4>>2]-d|0;o=n>>31;n=(n^o)-o|0;if(n>>>0>=6){m=H[O>>2]-L|0;o=m>>31;if((m^o)-o>>>0<=N(n,20)>>>0){break s}}f=(I[i+B|0]&3)==1;c=f?(c|0)<0?i:c:c;h=f?i:h;f=i;if((f|0)!=(e|0)){continue}break}f=e}C=J[s+4>>1];t:{u:{if(!(C&16)){break u}o=H[(f<<3)+q>>2]-H[(j<<3)+q>>2]|0;i=o>>31;n=H[a+40>>2];Q=(n>>>0)/25|0;if(Q>>>0<=(i^o)-i>>>0){break u}i=e;if(((f-j|0)+2|0)>(x-w|0)){break u}while(1){i=(i|0)>(w|0)?i-1|0:x;R=H[(i<<3)+q>>2];if((R|0)==(L|0)&(e|0)!=(i|0)){continue}break}m=0;if((e|0)==(i|0)){break f}U=n>>>2|0;D=0;o=f;e=f;n=0;while(1){if(!D){m=(I[e+B|0]&3)==1?e:-1;n=m;o=e}e=(e|0)<(x|0)?e+1|0:w;D=0;y=(o<<3)+q|0;i=H[y+4>>2];z=d-i|0;t=z>>31;v:{if((t^z)-t>>>0>U>>>0){break v}t=(e<<3)+q|0;r=H[t+4>>2]-i|0;z=r>>31;z=(r^z)-z|0;w:{if(z>>>0<=5){t=H[t>>2];y=H[y>>2];r=t-y|0;D=r>>31;r=(r^D)-D|0;break w}t=H[t>>2];y=H[y>>2];E=t-y|0;r=E>>31;r=(r^E)-r|0;if(r>>>0<=N(z,20)>>>0){break v}}D=1;E=(I[e+B|0]&3)==1;m=E?(m|0)<0?e:m:m;n=E?e:n;if((L|0)>(R|0)^(t|0)>(y|0)|(r|0)<(Q|0)){break v}d=N(z,20);while(1){e=(e|0)<(x|0)?e+1|0:w;f=H[((e<<3)+q|0)+4>>2]-i|0;c=f>>31;x:{if((c^f)-c>>>0<6){break x}f=H[O>>2]-y|0;c=f>>31;if(d>>>0<(c^f)-c>>>0){break x}f=(e|0)>(w|0)?e-1|0:x;break t}m=(I[e+B|0]&3)==1?(m|0)<0?e:m:m;n=e;if((e|0)!=(j|0)){continue}break}f=j;n=f;break t}if((e|0)!=(j|0)){continue}break}}i=d;o=j;m=c;n=h}if((m|n)>=0){d=H[(n<<3)+q>>2]-H[(m<<3)+q>>2]|0;c=d>>31;if((c^d)-c>>>0>T>>>0){break g}}if((I[o+B|0]&3)==1&(I[f+B|0]&3)==1){break g}m=0;M=1;if(C&4){break f}}if(C&1){c=(i|0)>(A|0);A=c?i:A;m=c&M;break f}c=(i|0)<(A|0);A=c?i:A;m=c&M}if(A-2147483647>>>0<2){break e}H[(m?(k+19664|0)+(u<<2)|0:(v<<2)+k|0)>>2]=A;u=m+u|0;v=!m+v|0}d=I[g|0];if(d){continue}break}if(!(u|v)){break d}y:{if(u>>>0<2){break y}g=1;c=u-1|0;f=c&1;if((u|0)!=2){j=c&-2;m=0;while(1){e=H[(k+19664|0)+(g<<2)>>2];c=g;while(1){d=c-1|0;h=(k+19664|0)+(d<<2)|0;i=H[h>>2];if((i|0)>(e|0)){H[(k+19664|0)+(c<<2)>>2]=i;H[h>>2]=e;c=d;if(c){continue}}break}c=g+1|0;e=H[(k+19664|0)+(c<<2)>>2];while(1){d=c-1|0;h=(k+19664|0)+(d<<2)|0;i=H[h>>2];if((i|0)>(e|0)){H[(k+19664|0)+(c<<2)>>2]=i;H[h>>2]=e;c=d;if(c){continue}}break}g=g+2|0;m=m+2|0;if((j|0)!=(m|0)){continue}break}}if(!f){break y}d=H[(k+19664|0)+(g<<2)>>2];while(1){c=g-1|0;e=(k+19664|0)+(c<<2)|0;f=H[e>>2];if((f|0)<=(d|0)){break y}H[(k+19664|0)+(g<<2)>>2]=f;H[e>>2]=d;g=c;if(c){continue}break}}z:{if(v>>>0<2){break z}g=1;c=v-1|0;f=c&1;if((v|0)!=2){j=c&-2;m=0;while(1){e=H[(g<<2)+k>>2];c=g;while(1){d=c-1|0;h=(d<<2)+k|0;i=H[h>>2];if((i|0)>(e|0)){H[(c<<2)+k>>2]=i;H[h>>2]=e;c=d;if(c){continue}}break}c=g+1|0;e=H[(c<<2)+k>>2];while(1){d=c-1|0;h=(d<<2)+k|0;i=H[h>>2];if((i|0)>(e|0)){H[(c<<2)+k>>2]=i;H[h>>2]=e;c=d;if(c){continue}}break}g=g+2|0;m=m+2|0;if((j|0)!=(m|0)){continue}break}}if(!f){break z}d=H[(g<<2)+k>>2];while(1){c=g-1|0;e=(c<<2)+k|0;f=H[e>>2];if((f|0)<=(d|0)){break z}H[(g<<2)+k>>2]=f;H[e>>2]=d;g=c;if(c){continue}break}}c=H[a+10064>>2];H[a+10064>>2]=c+1;c=N(c,36)+a|0;e=c+10080|0;g=c+10068|0;A:{B:{if(!v){d=H[(k+19664|0)+(u<<1&-4)>>2];break B}d=H[(v<<1&-4)+k>>2];if(!u){break B}H[g>>2]=d;f=H[(k+19664|0)+(u<<1&-4)>>2];H[e>>2]=f;if((d|0)==(f|0)){j=J[s+4>>1];break A}j=J[s+4>>1];if(((j&3)!=0|0)==((d|0)<(f|0)|0)){break A}d=(d+f|0)/2|0;H[e>>2]=d;H[g>>2]=d;break A}H[e>>2]=d;H[g>>2]=d;j=J[s+4>>1]}d=c+10100|0;e=j<<1&2;H[d>>2]=e;H[c+10096>>2]=p;H[c+10092>>2]=l;c=J[s+4>>1];if(!(c&14)){break d}c=c<<1;H[d>>2]=e|c&4|c&8|c&16}c=s+8|0;d=H[s+8>>2];if((d|0)!=5531){continue}break}}g=H[a+10064>>2];if(g){e=0;c=0;if(g-1>>>0>=3){j=g&-4;d=a+10068|0;h=0;while(1){f=k+26304|0;H[f+(c<<2)>>2]=d+N(c,36);i=c|1;H[f+(i<<2)>>2]=d+N(i,36);i=c|2;H[f+(i<<2)>>2]=d+N(i,36);i=c|3;H[f+(i<<2)>>2]=d+N(i,36);c=c+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}d=g&3;if(d){while(1){H[(k+26304|0)+(c<<2)>>2]=(N(c,36)+a|0)+10068;c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(g>>>0>=2){l=1;while(1){e=H[(k+26304|0)+(l<<2)>>2];j=H[(I[e+32|0]&6?0:12)+e>>2];c=l;while(1){d=c-1|0;h=(k+26304|0)+(d<<2)|0;f=H[h>>2];if((j|0)>2]){H[(k+26304|0)+(c<<2)>>2]=f;H[h>>2]=e;c=d;if(c){continue}}break}l=l+1|0;if((g|0)!=(l|0)){continue}break}}g=g-1|0;if(g){d=H[k+26304>>2];e=H[d+32>>2];c=0;while(1){f=(e&6?12:0)+d|0;c=c+1|0;d=H[(k+26304|0)+(c<<2)>>2];e=H[d+32>>2];j=H[(e&6?12:0)+d>>2];if(H[f>>2]>(j|0)){H[f>>2]=j}if((c|0)!=(g|0)){continue}break}}H[k+19664>>2]=0;H[k+16>>2]=H[5328];c=H[5327];H[k+8>>2]=H[5326];H[k+12>>2]=c;c=H[5325];H[k>>2]=H[5324];H[k+4>>2]=c;d=48;g=k;j=0;f=0;C:{while(1){c=g+1|0;if((d&255)==32){while(1){g=c;c=c+1|0;d=I[g|0];if((d|0)==32){continue}break}}i=H[a+36>>2];l=d&255;if(d<<24>>24<0){d=l>>>0<240;e=l>>>0<224;h=e?1:d?2:3;o=h-1|0;l=(e?31:d?15:7)&l;e=0;d=h;while(1){l=I[c|0]&63|l<<6;d=d-1|0;c=c+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}if(o>>>0>=3){while(1){l=I[c+3|0]&63|((I[c+1|0]&63|(l<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+h|0)+1|0}g=c;o=H[i>>2];d=0;while(1){c=I[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;e=d>>>0<224;i=e?1:c?2:3;n=i-1|0;d=(e?31:c?15:7)&d;h=0;e=i;c=g;while(1){d=I[c|0]&63|d<<6;e=e-1|0;c=c+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}if(n>>>0>=3){while(1){d=I[c+3|0]&63|((I[c+1|0]&63|(d<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=g+i|0;continue}break}D:{if(d){dg(o,0,2051,k+19664|0);break D}c=pc(o,l);dg(H[H[a+36>>2]>>2],c,2051,k+19664|0);if(!c){break D}d=j&255;j=1;c=H[k+19664>>2];if(!d){f=c;break D}if((c|0)==(f|0)){break D}c=0;break C}d=I[g|0];if(d){continue}break}c=1}F[a+32|0]=c;c=0;break a}c=H[a+36>>2];a=H[c+4>>2];E:{if((a|0)<=0){break E}d=H[c+8>>2];e=H[P>>2];c=0;if((a|0)!=1){g=a&-2;h=0;while(1){f=c<<1;j=f+d|0;if((e|0)==(J[j>>1]&16383)){G[j>>1]=66}f=d+(f|2)|0;if((e|0)==(J[f>>1]&16383)){G[f>>1]=66}c=c+2|0;h=h+2|0;if((g|0)!=(h|0)){continue}break}}if(!(a&1)){break E}a=d+(c<<1)|0;if((e|0)!=(J[a>>1]&16383)){break E}G[a>>1]=66}c=-1}he(b,S);Wa=k+26352|0;return c|0}function MK(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;i=Wa-160|0;Wa=i;a:{if(!jr(a,b,4,c)){break a}m=Xe(b);H[i+152>>2]=H[h+8>>2];c=H[h+4>>2];H[i+144>>2]=H[h>>2];H[i+148>>2]=c;H[i+136>>2]=H[g+8>>2];c=H[g+4>>2];H[i+128>>2]=H[g>>2];H[i+132>>2]=c;H[i+120>>2]=H[f+8>>2];c=H[f+4>>2];H[i+112>>2]=H[f>>2];H[i+116>>2]=c;H[i+104>>2]=H[e+8>>2];c=H[e+4>>2];H[i+96>>2]=H[e>>2];H[i+100>>2]=c;H[i+88>>2]=H[d+8>>2];c=H[d+4>>2];H[i+80>>2]=H[d>>2];H[i+84>>2]=c;b:{if(H[b+20>>2]){break b}e=m+2|0;d=H[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-d|0))){H[b+20>>2]=4;break b}c:{if((d|0)==(e|0)){H[b+4>>2]=(c+m|0)+2;break c}kb(d,0,c);d=c;c=H[b+4>>2];H[b+4>>2]=d+c;if(!c){break b}}F[m|0]=0;F[m+1|0]=1;H[i+72>>2]=H[i+88>>2];H[i+56>>2]=H[i+104>>2];H[i+40>>2]=H[i+120>>2];H[i+24>>2]=H[i+136>>2];H[i+8>>2]=H[i+152>>2];c=H[i+84>>2];H[i+64>>2]=H[i+80>>2];H[i+68>>2]=c;c=H[i+100>>2];H[i+48>>2]=H[i+96>>2];H[i+52>>2]=c;c=H[i+116>>2];H[i+32>>2]=H[i+112>>2];H[i+36>>2]=c;c=H[i+132>>2];H[i+16>>2]=H[i+128>>2];H[i+20>>2]=c;c=H[i+148>>2];H[i>>2]=H[i+144>>2];H[i+4>>2]=c;y=i- -64|0;f=0;s=Wa-32|0;Wa=s;d:{e:{if(H[b+20>>2]){break e}e=m+6|0;d=H[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-d|0))){H[b+20>>2]=4;break d}f:{if((d|0)==(e|0)){d=c+e|0;H[b+4>>2]=d;break f}kb(d,0,c);d=c;c=H[b+4>>2];d=d+c|0;H[b+4>>2]=d;if(H[b+20>>2]|!c){break d}}g=m+6|0;c=g-d|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-d|0))){H[b+20>>2]=4;break d}e=H[y+4>>2];g:{if((d|0)==(g|0)){H[b+4>>2]=c+d;break g}kb(d,0,c);d=c;c=H[b+4>>2];H[b+4>>2]=d+c;if(!c){break d}}c=e<<8|(e&65280)>>>8;F[m+4|0]=c;F[m+5|0]=c>>>8;c=H[b+20>>2];if(e>>>0>=65536){H[b+20>>2]=c|16;break e}if(c){break e}e=(m+(e<<1&131070)|0)+6|0;d=H[b+4>>2];c=e-d|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-d|0))){H[b+20>>2]=4;break d}h:{if((d|0)==(e|0)){H[b+4>>2]=c+e;break h}kb(d,0,c);d=c;c=H[b+4>>2];H[b+4>>2]=d+c;if(!c){break d}}i:{L=H[y+4>>2];if(L){C=H[i+24>>2];D=H[i+40>>2];z=H[i+16>>2];f=H[i+20>>2];A=H[i+32>>2];g=H[i+36>>2];O=J[81816];P=H[i+48>>2];Q=H[i+52>>2];d=0;while(1){u=H[(d>>>0>>0?(d<<2)+P|0:163632)>>2];c=I[m+4|0]|I[m+5|0]<<8;j:{if(((c<<8|c>>>8)&65535)>>>0<=d>>>0){G[129520]=O;c=259040;break j}c=(m+(d<<1)|0)+6|0}H[s+24>>2]=0;H[s+16>>2]=A;H[s+20>>2]=g>>>0>>0?g:u;H[s+8>>2]=0;H[s+4>>2]=f>>>0>>0?f:u;H[s>>2]=z;h=0;n=Wa-32|0;Wa=n;E=c;F[c|0]=0;F[c+1|0]=0;v=Xe(b);H[n+24>>2]=H[s+24>>2];c=H[s+20>>2];H[n+16>>2]=H[s+16>>2];H[n+20>>2]=c;H[n+8>>2]=H[s+8>>2];c=H[s+4>>2];H[n>>2]=H[s>>2];H[n+4>>2]=c;r=Wa-16|0;Wa=r;k:{if(H[b+20>>2]){break k}j=4;l:{c=v+2|0;k=H[b+4>>2];e=c-k|0;if((e|0)<0|(e|0)>(H[b+8>>2]-k|0)){break l}m:{if((c|0)==(k|0)){k=c+e|0;H[b+4>>2]=k;break m}kb(k,0,e);k=e;e=H[b+4>>2];k=k+e|0;H[b+4>>2]=k;if(H[b+20>>2]|!e){break k}}e=c-k|0;if((e|0)<0|(e|0)>(H[b+8>>2]-k|0)){break l}t=H[n+20>>2];n:{if((c|0)==(k|0)){H[b+4>>2]=c+e;break n}kb(k,0,e);c=H[b+4>>2];H[b+4>>2]=c+e;if(!c){break k}}c=t<<8|(t&65280)>>>8;F[v|0]=c;F[v+1|0]=c>>>8;c=H[b+20>>2];if(t>>>0>=65536){j=c|16;break l}if(c){break k}k=((t<<1&131070)+v|0)+2|0;e=H[b+4>>2];c=k-e|0;if((c|0)<0|(c|0)>(H[b+8>>2]-e|0)){break l}o:{if((e|0)==(k|0)){H[b+4>>2]=c+k;break o}kb(e,0,c);e=c;c=H[b+4>>2];H[b+4>>2]=e+c;if(!c){break k}}if(!t){h=1;break k}R=H[n+16>>2];S=J[81816];T=H[n>>2];U=H[n+4>>2];k=0;while(1){c=H[(k>>>0>>0?(k<<2)+T|0:163632)>>2];c=((c|0)>1?c:1)-1|0;e=I[v|0]|I[v+1|0]<<8;p:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){G[129520]=S;e=259040;break p}e=((k<<1)+v|0)+2|0}h=H[i+4>>2];o=H[i>>2];H[r+8>>2]=0;H[r>>2]=o;H[r+4>>2]=c>>>0>h>>>0?h:c;K=0;j=Wa-32|0;Wa=j;o=e;F[e|0]=0;F[e+1|0]=0;h=Xe(b);e=k>>>0>>0?(k<<1)+R|0:163632;l=I[e|0]|I[e+1|0]<<8;H[j+24>>2]=H[r+8>>2];e=H[r+4>>2];H[j+16>>2]=H[r>>2];H[j+20>>2]=e;q:{r:{if(H[b+20>>2]){break r}p=h+4|0;q=H[b+4>>2];e=p-q|0;if(!((e|0)>=0&(e|0)<=(H[b+8>>2]-q|0))){H[b+20>>2]=4;break r}s:{if((p|0)==(q|0)){H[b+4>>2]=e+p;break s}kb(q,0,e);p=e;e=H[b+4>>2];H[b+4>>2]=p+e;if(!e){break r}}F[h|0]=l;F[h+1|0]=l>>>8;H[j+8>>2]=H[j+24>>2];e=H[j+20>>2];H[j>>2]=H[j+16>>2];H[j+4>>2]=e;e=0;t:{if(H[b+20>>2]){break t}q=h+2|0;p=q+2|0;l=H[b+4>>2];e=p-l|0;if(!((e|0)>=0&(e|0)<=(H[b+8>>2]-l|0))){H[b+20>>2]=4;e=0;break t}h=H[j+4>>2];u:{v:{if((l|0)==(p|0)){H[b+4>>2]=e+p;break v}kb(l,0,e);l=H[b+4>>2];H[b+4>>2]=l+e;e=0;if(!l){break u}}l=h+1|0;e=l<<8|(l&65280)>>>8;F[q|0]=e;F[q+1|0]=e>>>8;p=H[b+20>>2];if(l>>>0>=65536){H[b+20>>2]=p|16;e=0;break t}e=0;if(p){break t}p=q+(l&65535?l<<1&131070:2)|0;l=H[b+4>>2];e=p-l|0;if(!((e|0)>=0&(e|0)<=(H[b+8>>2]-l|0))){H[b+20>>2]=4;e=0;break t}w:{if((l|0)==(p|0)){H[b+4>>2]=e+p;break w}kb(l,0,e);l=H[b+4>>2];H[b+4>>2]=l+e;e=0;if(!l){break u}}if(h){V=h&1;p=H[j+8>>2];e=H[j>>2];x:{if((h|0)==1){l=0;break x}W=h&-2;l=0;while(1){x=q+(l<<1)|0;w=h?e:163632;w=I[w|0]|I[w+1|0]<<8;F[x+2|0]=w;F[x+3|0]=w>>>8;w=q+((l|1)<<1)|0;x=!!h;e=(x<<1)+e|0;M=(h|0)==(x|0);B=M?163632:e;B=I[B|0]|I[B+1|0]<<8;F[w+2|0]=B;F[w+3|0]=B>>>8;l=l+2|0;w=!M;p=w+(p+x|0)|0;e=e+(w<<1)|0;h=h-(w+x|0)|0;K=K+2|0;if((W|0)!=(K|0)){continue}break}}if(V){q=q+(l<<1)|0;l=h?e:163632;l=I[l|0]|I[l+1|0]<<8;F[q+2|0]=l;F[q+3|0]=l>>>8;q=!!h;p=q+p|0;h=h-q|0;e=(q<<1)+e|0}H[j+8>>2]=p;H[j+4>>2]=h;H[j>>2]=e}e=1}}if(!e){break r}h=1;Af(b,o,ze(b,1));break q}h=0;e=H[b+40>>2];if(H[b+20>>2]|!e){break q}H[b+40>>2]=H[e+32>>2];o=H[e+4>>2];H[b+4>>2]=H[e>>2];H[b+8>>2]=o;zf(b);H[e+12>>2]=0;hb(H[e+16>>2]);H[e+24>>2]=0;H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;hb(H[e+28>>2]);H[e+28>>2]=0;H[e+20>>2]=0;H[e+24>>2]=0;H[e>>2]=H[b+24>>2];H[b+24>>2]=e}Wa=j+32|0;if(!h){break k}e=H[i+4>>2];if(e>>>0>>0){c=e}H[i+4>>2]=e-c;H[i+8>>2]=H[i+8>>2]+c;H[i>>2]=H[i>>2]+(c<<1);k=k+1|0;if((t|0)!=(k|0)){continue}break}break k}H[b+20>>2]=j}Wa=r+16|0;y:{if(h){Af(b,E,ze(b,1));break y}c=H[b+40>>2];if(H[b+20>>2]|!c){break y}H[b+40>>2]=H[c+32>>2];e=H[c+4>>2];H[b+4>>2]=H[c>>2];H[b+8>>2]=e;zf(b);H[c+12>>2]=0;hb(H[c+16>>2]);H[c+24>>2]=0;H[c+16>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;hb(H[c+28>>2]);H[c+28>>2]=0;H[c+20>>2]=0;H[c+24>>2]=0;H[c>>2]=H[b+24>>2];H[b+24>>2]=c}Wa=n+32|0;if(!h){break i}c=g>>>0>>0?g:u;D=c+D|0;g=g-c|0;A=(c<<1)+A|0;c=f>>>0>>0?f:u;C=c+C|0;f=f-c|0;z=(c<<2)+z|0;d=d+1|0;if(L>>>0>d>>>0){continue}break}H[i+32>>2]=A;H[i+36>>2]=g;H[i+16>>2]=z;H[i+20>>2]=f;H[i+40>>2]=D;H[i+24>>2]=C}c=0;k=0;j=0;n=Wa-16|0;Wa=n;u=m+2|0;F[u|0]=0;F[u+1|0]=0;f=Xe(b);H[n+8>>2]=H[y+8>>2];d=H[y+4>>2];H[n>>2]=H[y>>2];H[n+4>>2]=d;o=Wa-32|0;Wa=o;z:{if(H[b+20>>2]){break z}g=f+2|0;e=H[b+4>>2];d=g-e|0;if(!((d|0)>=0&(d|0)<=(H[b+8>>2]-e|0))){H[b+20>>2]=4;break z}A:{if((e|0)==(g|0)){H[b+4>>2]=d+g;break A}kb(e,0,d);e=d;d=H[b+4>>2];H[b+4>>2]=e+d;if(!d){break z}}B:{e=H[n+4>>2];C:{if(e){c=H[n>>2];m=c+(e<<1)|0;g=-2;while(1){h=g+1|0;d=e?c:163632;d=I[d|0]|I[d+1|0]<<8;g=(d<<8|d>>>8)&65535;k=((h|0)!=(g|0))+k|0;j=j+1|0;d=e;h=!!e;e=e-h|0;c=(h<<1)+c|0;if((m|0)!=(c|0)|(d|0)!=(h|0)){continue}break}c=N(k,3)>>>0>>0;d=c?512:256;F[f|0]=d;F[f+1|0]=d>>>8;if(c-1|0){break C}break B}F[f|0]=0;F[f+1|0]=1}H[o+8>>2]=H[n+8>>2];c=H[n+4>>2];H[o>>2]=H[n>>2];H[o+4>>2]=c;k=0;d=0;D:{if(H[b+20>>2]){break D}e=f+2|0;g=e+2|0;f=H[b+4>>2];d=g-f|0;if(!((d|0)>=0&(d|0)<=(H[b+8>>2]-f|0))){H[b+20>>2]=4;d=0;break D}c=H[o+4>>2];E:{F:{if((f|0)==(g|0)){H[b+4>>2]=d+g;break F}kb(f,0,d);f=H[b+4>>2];H[b+4>>2]=f+d;d=0;if(!f){break E}}d=c<<8|(c&65280)>>>8;F[e|0]=d;F[e+1|0]=d>>>8;f=H[b+20>>2];if(c>>>0>=65536){H[b+20>>2]=f|16;d=0;break D}d=0;if(f){break D}g=(e+(c<<1&131070)|0)+2|0;f=H[b+4>>2];d=g-f|0;if(!((d|0)>=0&(d|0)<=(H[b+8>>2]-f|0))){H[b+20>>2]=4;d=0;break D}G:{if((f|0)==(g|0)){H[b+4>>2]=d+g;break G}kb(f,0,d);f=H[b+4>>2];H[b+4>>2]=f+d;d=0;if(!f){break E}}if(c){m=c&1;h=H[o+8>>2];d=H[o>>2];H:{if((c|0)==1){g=0;break H}v=c&-2;g=0;while(1){f=e+(g<<1)|0;j=c?d:163632;j=I[j|0]|I[j+1|0]<<8;F[f+2|0]=j;F[f+3|0]=j>>>8;j=e+((g|1)<<1)|0;f=!!c;d=(f<<1)+d|0;r=(c|0)==(f|0);t=r?163632:d;t=I[t|0]|I[t+1|0]<<8;F[j+2|0]=t;F[j+3|0]=t>>>8;g=g+2|0;j=!r;h=j+(f+h|0)|0;d=d+(j<<1)|0;c=c-(f+j|0)|0;k=k+2|0;if((v|0)!=(k|0)){continue}break}}if(m){e=e+(g<<1)|0;f=c?d:163632;f=I[f|0]|I[f+1|0]<<8;F[e+2|0]=f;F[e+3|0]=f>>>8;e=!!c;h=e+h|0;d=(e<<1)+d|0;c=c-e|0}H[o+8>>2]=h;H[o+4>>2]=c;H[o>>2]=d}d=1}}c=d;break z}H[o+24>>2]=H[n+8>>2];c=H[n+4>>2];H[o+16>>2]=H[n>>2];H[o+20>>2]=c;j=0;c=0;I:{if(H[b+20>>2]){break I}J:{e=f;c=e+4|0;f=H[b+4>>2];d=c-f|0;if(!((d|0)>=0&(d|0)<=(H[b+8>>2]-f|0))){break J}K:{L:{if((c|0)==(f|0)){m=c+d|0;H[b+4>>2]=m;break L}c=0;kb(f,0,d);f=d;d=H[b+4>>2];m=f+d|0;H[b+4>>2]=m;if(!d){break K}}d=H[o+20>>2];if(!d){F[e+2|0]=0;F[e+3|0]=0;c=1;break I}h=H[o+16>>2];v=h+(d<<1)|0;g=-2;c=d;f=h;while(1){k=g+1|0;g=c?f:163632;g=I[g|0]|I[g+1|0]<<8;g=(g<<8|g>>>8)&65535;j=((k|0)!=(g|0))+j|0;k=c;r=!!c;c=c-r|0;f=(r<<1)+f|0;if((v|0)!=(f|0)|(k|0)!=(r|0)){continue}break}c=0;if(H[b+20>>2]){break I}c=e+4|0;f=c-m|0;if(!((f|0)>=0&(f|0)<=(H[b+8>>2]-m|0))){break J}M:{if((c|0)==(m|0)){H[b+4>>2]=f+m;break M}c=0;kb(m,0,f);g=f;f=H[b+4>>2];H[b+4>>2]=g+f;if(!f){break K}}c=j<<8|(j&65280)>>>8;F[e+2|0]=c;F[e+3|0]=c>>>8;f=H[b+20>>2];if(j>>>0>=65536){H[b+20>>2]=f|16;c=0;break I}c=0;if(f){break I}c=(e+N(j,6)|0)+4|0;g=H[b+4>>2];f=c-g|0;if(!((f|0)>=0&(f|0)<=(H[b+8>>2]-g|0))){break J}N:{if((c|0)==(g|0)){H[b+4>>2]=c+f;break N}c=0;kb(g,0,f);g=f;f=H[b+4>>2];H[b+4>>2]=g+f;if(!f){break K}}k=-2;j=-1;g=0;while(1){f=d;E=k+1|0;c=d?h:163632;c=I[c|0]|I[c+1|0]<<8;k=(c<<8|c>>>8)&65535;if((E|0)!=(k|0)){j=j+1|0;d=I[e+2|0]|I[e+3|0]<<8;O:{if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){G[129522]=I[164028]|I[164029]<<8;H[64760]=I[164024]|I[164025]<<8|(I[164026]<<16|I[164027]<<24);d=259040;break O}d=(e+N(j,6)|0)+4|0}F[d|0]=c;F[d+1|0]=c>>>8;d=I[e+2|0]|I[e+3|0]<<8;P:{if(((d<<8|d>>>8)&65535)>>>0<=j>>>0){G[129522]=I[164028]|I[164029]<<8;H[64760]=I[164024]|I[164025]<<8|(I[164026]<<16|I[164027]<<24);d=259040;break P}d=(e+N(j,6)|0)+4|0}m=g<<8|(g&65280)>>>8;F[d+4|0]=m;F[d+5|0]=m>>>8}d=I[e+2|0]|I[e+3|0]<<8;Q:{if(((d<<8|d>>>8)&65535)>>>0<=j>>>0){G[129522]=I[164028]|I[164029]<<8;H[64760]=I[164024]|I[164025]<<8|(I[164026]<<16|I[164027]<<24);d=259040;break Q}d=(e+N(j,6)|0)+4|0}F[d+2|0]=c;F[d+3|0]=c>>>8;c=1;g=g+1|0;m=!!f;d=f-m|0;h=(m<<1)+h|0;if((v|0)!=(h|0)|(f|0)!=(m|0)){continue}break}}break I}H[b+20>>2]=4;c=0}}Wa=o+32|0;R:{if(c){Af(b,u,ze(b,1));break R}d=H[b+40>>2];if(H[b+20>>2]|!d){break R}H[b+40>>2]=H[d+32>>2];e=H[d+4>>2];H[b+4>>2]=H[d>>2];H[b+8>>2]=e;zf(b);H[d+12>>2]=0;hb(H[d+16>>2]);H[d+24>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;hb(H[d+28>>2]);H[d+28>>2]=0;H[d+20>>2]=0;H[d+24>>2]=0;H[d>>2]=H[b+24>>2];H[b+24>>2]=d}Wa=n+16|0;f=c;break d}H[i+32>>2]=A;H[i+36>>2]=g;H[i+16>>2]=z;H[i+20>>2]=f;H[i+40>>2]=D;H[i+24>>2]=C}f=0}Wa=s+32|0;if(!f){break b}X=1;S:{if(!(I[a+4|0]|I[a+5|0]<<8)){G[129520]=J[81816];a=259040;break S}a=a+6|0}Af(b,a,ze(b,1));break a}a=H[b+40>>2];if(H[b+20>>2]|!a){break a}H[b+40>>2]=H[a+32>>2];c=H[a+4>>2];H[b+4>>2]=H[a>>2];H[b+8>>2]=c;zf(b);H[a+12>>2]=0;hb(H[a+16>>2]);H[a+24>>2]=0;H[a+16>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;hb(H[a+28>>2]);H[a+28>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a>>2]=H[b+24>>2];H[b+24>>2]=a}Wa=i+160|0;return X|0}function cM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=O(0),y=0,z=0,A=0,B=O(0),C=0,D=0;j=Wa-112|0;Wa=j;a:{b:{c:{d:{if(f>>>0<=6){H[j+104>>2]=0;H[j+96>>2]=0;H[j+100>>2]=0;e:{f:{g:{h:{i:{j:{k:{l:{switch(H[a+20>>2]-1|0){case 1:i=H[a+16>>2]+10|0;v=H[a>>2];if(i>>>0>>0){break k}r=v+H[a+4>>2]|0;if(r>>>0>>0){break k}m=r-i|0;if(m>>>0<4){break k}o=I[i|0]|I[i+1|0]<<8;g=o<<8|o>>>8;h=g&1?8:6;l=h+2|0;m:{if(g&8){break m}l=h+4|0;g=g&65535;if(g&64){break m}l=g&128?h+8|0:h}h=0;if(l>>>0>m>>>0){break k}h=1;g=1;if(o&8192){while(1){n:{i=i+l|0;if(v>>>0>i>>>0|i>>>0>r>>>0){break n}h=r-i|0;if(h>>>0<4){break n}o=I[i|0]|I[i+1|0]<<8;m=o<<8|o>>>8;s=m&1?8:6;l=s+2|0;o:{if(m&8){break o}l=s+4|0;m=m&65535;if(m&64){break o}l=m&128?s+8|0:s}if(h>>>0>>0){break n}g=g+1|0;if(o&8192){continue}}break}h=(g|0)>0?g:0;if((g|0)<=0){break k}}while(1){k=((k>>>1|0)+k|0)+8|0;if(k>>>0<=h>>>0){continue}break};p:{if(k>>>0<=268435454){l=tb(k<<4);if(l){break p}}H[j+96>>2]=-1;i=0;break e}H[j+96>>2]=k;H[j+104>>2]=l;i=0;o=kb(l,0,h<<4);H[j+100>>2]=h;if((g|0)<=0){break j}if((h|0)!=1){l=h&2147483646;m=0;while(1){q:{if(h>>>0<=i>>>0){g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break q}g=o+(i<<4)|0}H[g+4>>2]=0;H[g+8>>2]=0;F[g|0]=0;F[g+12|0]=0;g=i|1;r:{if(g>>>0>=h>>>0){g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break r}g=o+(g<<4)|0}H[g+4>>2]=0;H[g+8>>2]=0;F[g|0]=0;F[g+12|0]=0;i=i+2|0;m=m+2|0;if((l|0)!=(m|0)){continue}break}}if(!(h&1)){break g}if(h>>>0>i>>>0){break i}g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break h;case 0:break l;default:break j}}H[j+24>>2]=H[a+16>>2];H[j+36>>2]=H[a+8>>2];g=H[a+4>>2];H[j+28>>2]=H[a>>2];H[j+32>>2]=g;H[65057]=0;h=ka(695,j+24|0,j+96|0,e|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!h){break e}k=H[j+96>>2];h=H[j+100>>2];break g}H[j+100>>2]=h}g=h+4|0;g=(g|0)>0?g:0;break f}g=o+(i<<4)|0}H[g+4>>2]=0;H[g+8>>2]=0;F[g|0]=0;F[g+12|0]=0}i=0;if((k|0)<0){break e}g=h+4|0;g=(g|0)>0?g:0}o=g;if(g>>>0>k>>>0){i=k;while(1){i=((i>>>1|0)+i|0)+8|0;if(o>>>0>=i>>>0){continue}break}s:{if(!(i>>>0>>0|i>>>0>268435454)){g=Eb(H[j+104>>2],i<<4);if(g){break s}}H[j+96>>2]=-1;i=0;break e}H[j+96>>2]=i;H[j+104>>2]=g;h=H[j+100>>2]}if(h>>>0>>0){kb(H[j+104>>2]+(h<<4)|0,0,o-h<<4)}H[j+100>>2]=o;y=H[j+104>>2];q=o-4|0;t=y+(q<<4)|0;H[j+80>>2]=t;H[j+88>>2]=0;g=o-q|0;g=g>>>0>o>>>0?0:g;z=g>>>0<4?g:4;H[j+84>>2]=z;t:{u:{v:{w:{x:{y:{z:{if(!z){g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;H[64761]=0;H[64762]=0;F[259040]=0;F[259052]=0;break z}F[t|0]=0;H[t+4>>2]=0;H[t+8>>2]=0;F[t+12|0]=0;if((z|0)!=1){break y}}g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;H[64761]=0;H[64762]=0;F[259040]=0;F[259052]=0;break x}F[t+16|0]=0;H[t+20>>2]=0;H[t+24>>2]=0;F[t+28|0]=0;if(z>>>0>2){break w}}g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;H[64761]=0;H[64762]=0;F[259040]=0;F[259052]=0;m=0;break v}F[t+32|0]=0;H[t+36>>2]=0;H[t+40>>2]=0;F[t+44|0]=0;if((z|0)!=3){break u}m=1}g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break t}m=1;g=t+48|0}H[g+4>>2]=0;H[g+8>>2]=0;l=0;F[g|0]=0;F[g+12|0]=0;h=H[a+12>>2];n=H[c+4>>2];u=H[n>>2];A:{B:{if(h>>>0>>0){g=H[n+20>>2];g=((h|0)<0?163632:H[(g?g:163632)+12>>2]+(h<<2)|0)+2|0;break B}if(K[n+4>>2]<=h>>>0){break A}g=H[n+20>>2];g=(h-u<<1)+((u|0)<0?163632:H[(g?g:163632)+12>>2]+(u<<2)|0)|0}g=I[g|0]|I[g+1|0]<<8;l=(g<<8|g>>>8)<<16>>16}k=H[a+16>>2];w=H[c+8>>2];A=H[w>>2];C:{D:{if(A>>>0>h>>>0){g=H[w+20>>2];g=((h|0)<0?163632:H[(g?g:163632)+12>>2]+(h<<2)|0)+2|0;break D}i=0;if(K[w+4>>2]<=h>>>0){break C}g=H[w+20>>2];g=(h-A<<1)+((A|0)<0?163632:H[(g?g:163632)+12>>2]+(A<<2)|0)|0}g=I[g|0]|I[g+1|0]<<8;i=(g<<8|g>>>8)<<16>>16}r=I[k+2|0]|I[k+3|0]<<8;s=I[k+8|0]|I[k+9|0]<<8;E:{F:{G:{H:{I:{g=h;p=H[n+4>>2];if(g>>>0

>>0){break I}v=H[n+8>>2];if(!v){break G}k=H[n+12>>2];if((p|0)!=(v|0)){break H}g=p-1|0;if(!p){n=0;if(h>>>0>=k>>>0|g>>>0>=k>>>0){break E}while(1)continue}if(h>>>0>>0){break I}n=0;break E}k=H[n+20>>2];n=H[(k?k:163632)+12>>2];k=u-1|0;g=g>>>0>>0?g:k;g=(g|0)<0?163632:n+(g<<2)|0;g=I[g|0]|I[g+1|0]<<8;n=(g<<8|g>>>8)&65535;break E}if(h>>>0>>0){break F}n=0;break E}n=H[n+16>>2];break E}g=H[n+20>>2];n=(p-u<<1)+((u|0)<0?163632:H[(g?g:163632)+12>>2]+(u<<2)|0)|0;k=h-p|0;g=v+(p^-1)|0;g=n+((g>>>0>k>>>0?k:g)<<1)|0;g=I[g|0]|I[g+1|0]<<8;n=(g<<8|g>>>8)&65535}J:{K:{L:{M:{N:{g=h;u=H[w+4>>2];if(g>>>0>>0){break N}v=H[w+8>>2];if(!v){break L}p=H[w+12>>2];if((u|0)!=(v|0)){break M}g=u-1|0;if(!u){k=0;if(h>>>0>=p>>>0|g>>>0>=p>>>0){break J}while(1)continue}if(h>>>0

>>0){break N}k=0;break J}k=H[w+20>>2];p=H[(k?k:163632)+12>>2];k=A-1|0;g=g>>>0>>0?g:k;g=(g|0)<0?163632:p+(g<<2)|0;g=I[g|0]|I[g+1|0]<<8;k=(g<<8|g>>>8)&65535;break J}if(h>>>0

>>0){break K}k=0;break J}k=H[w+16>>2];break J}g=H[w+20>>2];p=(u-A<<1)+((A|0)<0?163632:H[(g?g:163632)+12>>2]+(A<<2)|0)|0;k=h-u|0;g=v+(u^-1)|0;g=p+((g>>>0>k>>>0?k:g)<<1)|0;g=I[g|0]|I[g+1|0]<<8;k=(g<<8|g>>>8)&65535}l=((r<<8|r>>>8)<<16>>16)-l|0;i=i+((s<<8|s>>>8)<<16>>16)|0;O:{P:{Q:{R:{S:{T:{U:{if(!z){g=H[40909];H[64760]=H[40908];H[64761]=g;g=H[40911];H[64762]=H[40910];H[64763]=g;L[64761]=l|0;break U}L[(y+(q<<4)|0)+4>>2]=l|0;if((z|0)!=1){break T}}g=H[40909];H[64760]=H[40908];H[64761]=g;g=H[40911];H[64762]=H[40910];H[64763]=g;L[64761]=l+n>>>0;break S}L[t+20>>2]=l+n>>>0;if(m){break R}}g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;L[64762]=i|0;break Q}L[t+40>>2]=i|0;if((z|0)!=3){break P}}g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;h=H[a+12>>2];g=259040;break O}g=t+48|0}L[g+8>>2]=i-k|0;l=H[c>>2];i=0;H[j+72>>2]=0;H[j+16>>2]=0;H[j+68>>2]=o;H[j+64>>2]=y;H[65057]=0;g=H[j+68>>2];H[j+8>>2]=H[j+64>>2];H[j+12>>2]=g;h=ga(696,l|0,h|0,b|0,j+8|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break c}if(!h){break e}V:{W:{switch(H[a+20>>2]-1|0){case 0:H[j+32>>2]=0;H[65057]=0;C=j,D=MM(H[j+100>>2],H[j+104>>2]),H[C+24>>2]=D;H[j+28>>2]=Xa;da(697,d|0,j+24|0);a=H[65057];H[65057]=0;if((a|0)!=1){break V}i=$()|0;_()|0;break a;case 1:X:{i=H[a+16>>2]+10|0;y=H[a>>2];Y:{if(i>>>0>>0){break Y}p=y+H[a+4>>2]|0;if(p>>>0>>0){break Y}a=p-i|0;if(a>>>0<4){break Y}l=I[i|0]|I[i+1|0]<<8;h=l<<8|l>>>8;m=h&1?8:6;g=m+2|0;Z:{if(h&8){break Z}g=m+4|0;h=h&65535;if(h&64){break Z}g=h&128?m+8|0:m}if(a>>>0>>0){break Y}_:{if(!(l&8192)){break _}h=i;a=g;while(1){h=a+h|0;if(y>>>0>h>>>0|h>>>0>p>>>0){break _}l=p-h|0;if(l>>>0<4){break _}o=I[h|0]|I[h+1|0]<<8;m=o<<8|o>>>8;k=m&1?8:6;a=k+2|0;$:{if(m&8){break $}a=k+4|0;m=m&65535;if(m&64){break $}a=m&128?k+8|0:k}if(a>>>0>l>>>0){break _}if(o&8192){continue}break}}v=f+1|0;n=0;while(1){H[j+56>>2]=0;H[j+48>>2]=0;H[j+52>>2]=0;a=I[i+2|0]|I[i+3|0]<<8;H[65057]=0;lg(j+24|0,c,(a<<8|a>>>8)&65535,0);a=H[65057];H[65057]=0;if((a|0)==1){break b}H[65057]=0;h=ma(672,j+24|0,b|0,c|0,j+48|0,e|0,v|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break b}l=i;a=h^1;h=H[j+52>>2];o=a|h>>>0<4;if(!o){if(I[l|0]&2){r=H[j+56>>2];m=r+(h<<4)|0;k=m+-64|0;aa:{ba:{ca:{da:{ea:{fa:{s=H[j+84>>2];ga:{if(!s){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=H[k+4>>2];H[64760]=H[k>>2];H[64761]=a;a=H[k+12>>2];H[64762]=H[k+8>>2];H[64763]=a;k=h-3|0;break ga}a=H[k+4>>2];q=H[j+80>>2];i=q;H[i>>2]=H[k>>2];H[i+4>>2]=a;a=H[k+12>>2];H[i+8>>2]=H[k+8>>2];H[i+12>>2]=a;k=h-3|0;if((s|0)!=1){break fa}}a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;i=r+(k<<4)|0;a=H[i+4>>2];H[64760]=H[i>>2];H[64761]=a;a=H[i+12>>2];H[64762]=H[i+8>>2];H[64763]=a;h=h-2|0;break ea}i=r+(k<<4)|0;a=H[i+4>>2];H[q+16>>2]=H[i>>2];H[q+20>>2]=a;a=H[i+12>>2];H[q+24>>2]=H[i+8>>2];H[q+28>>2]=a;h=h-2|0;if(s>>>0>2){break da}}a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;i=r+(h<<4)|0;a=H[i+4>>2];H[64760]=H[i>>2];H[64761]=a;a=H[i+12>>2];H[64762]=H[i+8>>2];H[64763]=a;h=m-16|0;break ca}i=r+(h<<4)|0;a=H[i+4>>2];H[q+32>>2]=H[i>>2];H[q+36>>2]=a;a=H[i+12>>2];H[q+40>>2]=H[i+8>>2];H[q+44>>2]=a;h=m-16|0;if((s|0)!=3){break ba}}a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;i=259040;break aa}i=q+48|0}a=H[h+4>>2];H[i>>2]=H[h>>2];H[i+4>>2]=a;a=H[h+12>>2];H[i+8>>2]=H[h+8>>2];H[i+12>>2]=a}H[65057]=0;Xs(l,j+48|0);a=H[65057];H[65057]=0;if((a|0)==1){break b}ha:{if(K[j+100>>2]<=n>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;i=259040;break ha}i=H[j+104>>2]+(n<<4)|0}q=H[j+52>>2];ia:{if(!q){break ia}a=0;r=H[j+56>>2];if((q|0)!=1){m=q&-2;k=0;while(1){x=L[i+8>>2];h=a<<4;s=h+r|0;L[s+4>>2]=L[i+4>>2]+L[s+4>>2];L[s+8>>2]=x+L[s+8>>2];x=L[i+8>>2];h=r+(h|16)|0;L[h+4>>2]=L[i+4>>2]+L[h+4>>2];L[h+8>>2]=x+L[h+8>>2];a=a+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}}if(!(q&1)){break ia}x=L[i+8>>2];a=r+(a<<4)|0;L[a+4>>2]=L[i+4>>2]+L[a+4>>2];L[a+8>>2]=x+L[a+8>>2]}a=I[l|0]|I[l+1|0]<<8;ja:{if(a&512){break ja}ka:{if(a&256){a=I[l+4|0]|I[l+5|0]<<8;i=(a<<8|a>>>8)&65535;a=I[l+6|0]|I[l+7|0]<<8;a=(a<<8|a>>>8)&65535;break ka}i=I[l+4|0];a=I[l+5|0]}if(K[d+4>>2]<=i>>>0){break ja}m=H[j+52>>2];if(m>>>0<=a>>>0){break ja}h=H[d+8>>2]+(i<<4)|0;i=H[j+56>>2];a=i+(a<<4)|0;B=O(L[h+8>>2]-L[a+8>>2]);x=O(L[h+4>>2]-L[a+4>>2]);h=0;while(1){la:{if(h>>>0>=m>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break la}a=i+(h<<4)|0}L[a+4>>2]=x+L[a+4>>2];L[a+8>>2]=B+L[a+8>>2];h=h+1|0;if((m|0)!=(h|0)){continue}break}}H[j+32>>2]=0;H[j+24>>2]=H[j+56>>2];H[65057]=0;i=H[j+52>>2];a=q-4|0;H[j+28>>2]=a>>>0>i>>>0?i:a;da(697,d|0,j+24|0);a=H[65057];H[65057]=0;if((a|0)==1){break X}n=n+1|0}i=0;H[j+52>>2]=0;hb(H[j+56>>2]);if(o){break e}if(!(I[l+1|0]&32)){break Y}i=g+l|0;if(y>>>0>i>>>0|i>>>0>p>>>0){break Y}a=p-i|0;if(a>>>0<4){break Y}g=I[i|0]|I[i+1|0]<<8;h=g<<8|g>>>8;m=h&1?8:6;g=m+2|0;ma:{if(h&8){break ma}g=m+4|0;h=h&65535;if(h&64){break ma}g=h&128?m+8|0:m}if(a>>>0>>0){break Y}if(l){continue}break}}H[65057]=0;da(697,d|0,j+80|0);a=H[65057];H[65057]=0;if((a|0)!=1){break V}i=$()|0;_()|0;break a}break b;default:break W}}H[65057]=0;da(697,d|0,j+80|0);a=H[65057];H[65057]=0;if((a|0)==1){break c}}i=1;if(f){break e}na:{if(!H[j+84>>2]){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break na}a=H[j+80>>2]}x=L[a+4>>2];if(x==O(0)){break e}a=H[d+4>>2];if(!a){break e}h=0;while(1){oa:{if(a>>>0<=h>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=H[d+4>>2];b=259040;break oa}b=H[d+8>>2]+(h<<4)|0}L[b+4>>2]=L[b+4>>2]-x;L[b+8>>2]=L[b+8>>2]+O(0);h=h+1|0;if(a>>>0>h>>>0){continue}break}}H[j+100>>2]=0;hb(H[j+104>>2])}Wa=j+112|0;return i|0}i=$()|0;_()|0;break a}i=$()|0;_()|0;break a}i=$()|0;_()|0;H[j+52>>2]=0;hb(H[j+56>>2])}H[j+100>>2]=0;hb(H[j+104>>2]);ba(i|0);X()}function $L(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=O(0),m=0,n=0,o=0,p=O(0),q=O(0),r=O(0),s=O(0),t=0,u=0,v=0,w=O(0),x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,J=0,M=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;g=Wa-176|0;Wa=g;k=1;a:{f=H[c+68>>2];if(!f){break a}o=H[a>>2];e=o?o:163632;e=K[e+16>>2]<20?163632:H[e+12>>2];i=I[e+4|0]|I[e+5|0]<<8;if((f|0)!=((i<<8|i>>>8)&65535)){break a}f=I[e+12|0]|I[e+13|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){break a}f=e+20|0;b:{if(F[e+15|0]&1){f=f+(b<<2)|0;b=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break b}f=f+(b<<1)|0;b=I[f|0]|I[f+1|0]<<8;b=((b<<8|b>>>8)&65535)<<1;f=I[f+2|0]|I[f+3|0]<<8;f=((f<<8|f>>>8)&65535)<<1}i=H[o+16>>2];e=I[e+16|0]|I[e+17|0]<<8|(I[e+18|0]<<16|I[e+19|0]<<24);e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+b|0;j=i-e|0;i=j>>>0>i>>>0?0:j;b=f-b|0;b=b>>>0>i>>>0?i:b;c:{if(b>>>0<4){b=0;e=0;break c}e=e+H[o+12>>2]|0}H[g+168>>2]=0;H[g+164>>2]=b;H[g+160>>2]=e;b=K[g+164>>2]<4?163632:H[g+160>>2];if(!(I[b|0]|I[b+1|0]<<8)){break a}H[g+152>>2]=0;H[g+144>>2]=0;H[g+148>>2]=0;H[g+136>>2]=0;H[g+128>>2]=0;H[g+132>>2]=0;b=H[a>>2];b=b?b:163632;b=K[b+16>>2]<20?163632:H[b+12>>2];b=I[b+4|0]|I[b+5|0]<<8;H[g+24>>2]=H[g+168>>2];H[65057]=0;e=H[g+164>>2];H[g+16>>2]=H[g+160>>2];H[g+20>>2]=e;b=ga(699,g+16|0,(b<<8|b>>>8)&65535,g+144|0,g+112|0)|0;e=H[65057];H[65057]=0;d:{e:{f:{g:{if((e|0)!=1){if(!b){break e}b=0;f=H[d+4>>2];if((f|0)<=0){break f}m=(f|0)>0?f:0;while(1){b=((b>>>1|0)+b|0)+8|0;if(m>>>0>=b>>>0){continue}break}if(b>>>0>268435454){break g}u=tb(b<<4);if(!u){u=0;break g}k=kb(u,0,m<<4);if((f|0)<=0){break g}i=H[d>>2];e=0;while(1){h:{if(e>>>0>=f>>>0){b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=259040;break h}b=i+(e<<4)|0}j=H[b+4>>2];o=k+(e<<4)|0;H[o>>2]=H[b>>2];H[o+4>>2]=j;j=H[b+12>>2];H[o+8>>2]=H[b+8>>2];H[o+12>>2]=j;e=e+1|0;if((m|0)!=(e|0)){continue}break}A=m;break g}e=$()|0;_()|0;break d}i:{if((f|0)>0){while(1){n=((n>>>1|0)+n|0)+8|0;if(n>>>0<=m>>>0){continue}break}b=0;if(n>>>0>268435454){m=0;break f}b=tb(n<<4);if(b){break i}}m=0;b=0;break f}kb(b,0,m<<4)}j:{if(!f){o=H[40908];break j}o=H[40908];e=0;k=0;while(1){k:{if(e>>>0>=f>>>0){f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break k}f=H[d>>2]+(e<<4)|0}l:{if(!I[f+12|0]){break l}m:{if((k|0)<0){break m}i=k;f=x+1|0;j=(f|0)>0?f:0;n:{if(i>>>0>=j>>>0){f=z;break n}while(1){i=((i>>>1|0)+i|0)+8|0;if(j>>>0>=i>>>0){continue}break}f=k>>>0>i>>>0;k=-1;if(i>>>0>1073741822|f){break m}f=Eb(z,i<<2);if(!f){break m}}if(j>>>0>x>>>0){kb((x<<2)+f|0,0,j-x<<2)}H[64760]=o;k=((j<<2)+f|0)-4|0;if((k|0)!=259040){H[k>>2]=e}k=i;x=j;z=f;break l}H[64760]=o}e=e+1|0;f=H[d+4>>2];if(e>>>0>>0){continue}break}}a=H[a>>2];a=a?a:163632;a=K[a+16>>2]<20?163632:H[a+12>>2];e=I[a+4|0]|I[a+5|0]<<8;f=(e<<8|e>>>8)&65535;e=I[a+6|0]|I[a+7|0]<<8;Q=N(f,(e<<8|e>>>8)&65535);e=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);R=a+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;S=m&2147483644;E=m&3;T=H[c+68>>2];U=H[c+72>>2];e=H[g+140>>2];V=m-1>>>0<3;while(1){o:{H[g+104>>2]=0;H[g+8>>2]=0;H[g+100>>2]=Q;H[g+96>>2]=R;H[65057]=0;a=H[g+100>>2];H[g>>2]=H[g+96>>2];H[g+4>>2]=a;l=Ws(e,U,T,g);a=H[65057];H[65057]=0;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((a|0)!=1){if(l==O(0)){break p}a=H[g+112>>2];c=I[a+2|0]|I[a+3|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=163632}a=a+H[g+124>>2]|0;H[g+92>>2]=a;c=H[g+128>>2];if(c>>>0>a>>>0){break y}c=c+H[g+132>>2]|0;if(c>>>0>>0){break y}i=c-a|0;e=H[g+140>>2];c=I[e|0]|I[e+1|0]<<8;f=(c<<8|c>>>8)&65535;if(i>>>0>>0){break y}c=0;H[g+88>>2]=0;H[g+84>>2]=f;H[g+80>>2]=a;H[g+72>>2]=0;H[g+64>>2]=0;H[g+68>>2]=0;t=0;n=0;B:{if(I[e+2|0]&32){H[65057]=0;a=ka(701,g+92|0,g- -64|0,g+80|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break A}if(!a){break B}n=H[g+68>>2];t=H[g+72>>2]}B=H[d+4>>2];a=H[g+148>>2];h=H[g+152>>2];H[g+56>>2]=0;H[g+48>>2]=0;H[g+52>>2]=0;i=n?n:a;k=i?i:B;a=(k|0)>0?k:0;f=(k|0)<=0;C:{D:{if(f){break D}while(1){c=((c>>>1|0)+c|0)+8|0;if(a>>>0>=c>>>0){continue}break}E:{if(c>>>0<=1073741822){e=tb(c<<2);if(e){break E}}H[g+48>>2]=-1;break C}H[g+48>>2]=c;H[g+56>>2]=e;if(f){break D}kb(e,0,a<<2)}H[g+52>>2]=a}H[65057]=0;c=ek(g+92|0,g+48|0,g+80|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=1;if(!c){break q}e=0;H[g+40>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;F:{G:{if(f){break G}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}H:{if(e>>>0<=1073741822){c=tb(e<<2);if(c){break H}}H[g+32>>2]=-1;break F}H[g+32>>2]=e;H[g+40>>2]=c;if(f){break G}kb(c,0,a<<2)}H[g+36>>2]=a}H[65057]=0;a=ek(g+92|0,g+32|0,g+80|0);c=H[65057];H[65057]=0;if((c|0)==1){break z}e=1;if(!a){break r}if(!m){break s}f=0;e=0;c=0;if(!V){break x}break t}e=$()|0;_()|0;break w}k=0;H[g+68>>2]=0;hb(H[g+72>>2]);break o}e=$()|0;_()|0;break u}e=$()|0;_()|0;break v}e=$()|0;_()|0;H[g+36>>2]=0;hb(H[g+40>>2]);break w}k=0;break o}while(1){a=e<<4;j=a+b|0;H[j+4>>2]=0;H[j+8>>2]=0;F[j|0]=0;F[j+12|0]=0;j=(a|16)+b|0;H[j+4>>2]=0;H[j+8>>2]=0;F[j|0]=0;F[j+12|0]=0;j=(a|32)+b|0;H[j+4>>2]=0;H[j+8>>2]=0;F[j|0]=0;F[j+12|0]=0;a=(a|48)+b|0;H[a+4>>2]=0;H[a+8>>2]=0;F[a|0]=0;F[a+12|0]=0;e=e+4|0;c=c+4|0;if((S|0)!=(c|0)){continue}break}break t}H[g+52>>2]=0;hb(H[g+56>>2])}H[g+68>>2]=0;hb(H[g+72>>2])}hb(z);hb(b);hb(u);break d}if(!E){break s}while(1){a=(e<<4)+b|0;H[a+4>>2]=0;H[a+8>>2]=0;F[a|0]=0;F[a+12|0]=0;e=e+1|0;f=f+1|0;if((E|0)!=(f|0)){continue}break}}if(k){t=n?t:h;e=0;n=H[g+40>>2];h=H[g+36>>2];v=H[g+56>>2];y=H[g+52>>2];while(1){c=e;I:{if(!i){break I}if(e>>>0>=i>>>0){H[64760]=o;c=o;break I}c=H[t+(e<<2)>>2]}j=c>>>0>>0;J:{if(!j){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break J}a=(c<<4)+b|0}F[a|0]=1;K:{if(e>>>0>=y>>>0){H[64760]=o;a=o;break K}a=H[v+(e<<2)>>2]}L:{if(!j){f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break L}f=(c<<4)+b|0}L[f+4>>2]=O(O(a|0)*l)+L[f+4>>2];M:{if(e>>>0>=h>>>0){H[64760]=o;a=o;break M}a=H[n+(e<<2)>>2]}N:{if(!j){c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break N}c=(c<<4)+b|0}L[c+8>>2]=O(O(a|0)*l)+L[c+8>>2];e=e+1|0;if((k|0)!=(e|0)){continue}break}}y=0;a=0;if(x){while(1){n=0;e=a;v=H[(y<<2)+z>>2];O:{if(e>>>0>v>>>0){break O}while(1){P:{if(e>>>0>=m>>>0){c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break P}c=(e<<4)+b|0}n=!I[c|0]+n|0;e=e+1|0;if(v>>>0>=e>>>0){continue}break}if(!n){break O}e=a;if(v-e>>>0>>0){break O}Q:while(1){c=e;e=e>>>0>>0?e+1|0:a;C=c>>>0>>0;R:{if(!C){f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break R}f=(c<<4)+b|0}if(!I[f|0]){continue}S:{if(e>>>0>=m>>>0){f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break S}f=(e<<4)+b|0}if(I[f|0]){continue}e=c;while(1){k=e>>>0>>0;i=e+1|0;T:{if(e>>>0>=m>>>0){e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;f=259040;break T}f=(e<<4)+b|0}e=k?i:a;if(I[f|0]){continue}D=e>>>0>>0;U:{if(!D){f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;f=259040;break U}f=(e<<4)+b|0}if(!I[f|0]){continue}break}f=e<<4;k=f+b|0;t=c<<4;i=t+b|0;j=f+u|0;t=t+u|0;f=c;while(1){f=f>>>0>>0?f+1|0:a;if((f|0)==(e|0)){continue Q}G=f>>>0>>0;V:{if(!G){h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040;break V}h=(f<<4)+u|0}l=L[h+4>>2];J=c>>>0>>0;if(J){h=t}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}p=L[h+4>>2];M=e>>>0>>0;if(M){h=j}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}q=L[h+4>>2];if(C){h=i}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}s=L[h+4>>2];if(D){h=k}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}w=L[h+4>>2];r=w==s?s:O(0);W:{if(p==q){break W}r=pq?s:w;if(l>=(p>=q?p:q)){break W}l=O(O(l-p)/O(q-p));r=O(O(O(O(1)-l)*s)+O(l*w))}l=r;P=f>>>0>>0;X:{if(!P){h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040;break X}h=(f<<4)+b|0}L[h+4>>2]=l;Y:{if(!G){h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040;break Y}h=(f<<4)+u|0}l=L[h+8>>2];if(J){h=t}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}p=L[h+8>>2];if(M){h=j}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}q=L[h+8>>2];if(C){h=i}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}s=L[h+8>>2];if(D){h=k}else{h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040}w=L[h+8>>2];r=w==s?s:O(0);Z:{if(p==q){break Z}r=pq?s:w;if(l>=(p>=q?p:q)){break Z}l=O(O(l-p)/O(q-p));r=O(O(O(O(1)-l)*s)+O(l*w))}l=r;_:{if(!P){h=H[40911];H[64762]=H[40910];H[64763]=h;h=H[40909];H[64760]=H[40908];H[64761]=h;h=259040;break _}h=(f<<4)+b|0}L[h+8>>2]=l;n=n-1|0;if(n){continue}break}break}}a=v+1|0;y=y+1|0;if((x|0)!=(y|0)){continue}break}}if(B){c=H[d>>2];f=H[d+4>>2];e=0;while(1){k=e>>>0>>0;$:{if(!k){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break $}a=(e<<4)+b|0}l=L[a+4>>2];i=e>>>0>>0;aa:{if(!i){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break aa}a=c+(e<<4)|0}L[a+4>>2]=l+L[a+4>>2];ba:{if(!k){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break ba}a=(e<<4)+b|0}l=L[a+8>>2];ca:{if(!i){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break ca}a=c+(e<<4)|0}L[a+8>>2]=l+L[a+8>>2];e=e+1|0;if((B|0)!=(e|0)){continue}break}}e=0}H[g+36>>2]=0;hb(H[g+40>>2])}k=0;H[g+52>>2]=0;hb(H[g+56>>2]);H[g+68>>2]=0;hb(H[g+72>>2]);if(e){break o}}a=H[g+140>>2];c=I[a|0]|I[a+1|0]<<8;H[g+124>>2]=H[g+124>>2]+((c<<8|c>>>8)&65535);k=1;c=I[a+2|0]|I[a+3|0]<<8;e=c>>>5&2|c>>>7&1;c=H[g+120>>2]<<1;e=(a+N(e,c)|0)+4|0;H[g+140>>2]=e;a=H[g+116>>2]+1|0;H[g+116>>2]=a;f=H[g+112>>2];f=I[f|0]|I[f+1|0]<<8;if(a>>>0>=((f<<8|f>>>8)&4095)>>>0){break o}a=H[g+128>>2];if(a>>>0>e>>>0){break o}a=a+H[g+132>>2]|0;if(a>>>0>>0){break o}f=a-e|0;if(f>>>0<4){break o}a=I[e+2|0]|I[e+3|0]<<8;a=N(c,a>>>5&2|a>>>7&1)+4|0;c=I[e|0]|I[e+1|0]<<8;c=(c<<8|c>>>8)&65535;if(f>>>0<(a>>>0>c>>>0?a:c)>>>0){break o}if(a){continue}}break}hb(z);hb(b);hb(u)}H[g+148>>2]=0;hb(H[g+152>>2]);break a}H[g+148>>2]=0;hb(H[g+152>>2]);ba(e|0);X()}Wa=g+176|0;return k|0}function Wq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if(!b){break b}k=Ab(1,216);if(!k){break b}H[k+8>>2]=0;H[k>>2]=1;H[k+4>>2]=1;j=a?a:257844;if(H[j+4>>2]){H[j+4>>2]=0}H[k+12>>2]=j;i=k+16|0;if(Xq(i,1,j,b,c,d,e,f,g)){b=Wa-160|0;Wa=b;f=k+60|0;m=kb(f+24|0,0,100);H[b>>2]=j;a=H[i+4>>2];H[b+4>>2]=H[i>>2];H[b+8>>2]=a;a=H[i+12>>2];H[b+12>>2]=H[i+8>>2];H[b+16>>2]=a;H[b+20>>2]=H[i+16>>2];c=Wa-32|0;Wa=c;a=b+24|0;kb(a+4|0,0,92);H[a>>2]=j;d=H[i+4>>2];H[a+4>>2]=H[i>>2];H[a+8>>2]=d;d=H[i+12>>2];H[a+12>>2]=H[i+8>>2];H[a+16>>2]=d;H[a+20>>2]=H[i+16>>2];H[c+28>>2]=3;H[c+24>>2]=3;d=H[a+12>>2];e=H[a+8>>2];H[65057]=0;Va(741,e|0,d|0,c+28|0,c+12|0,c+24|0,c|0);d=H[65057];H[65057]=0;c:{d:{e:{if((d|0)!=1){d=H[a>>2];H[65057]=0;d=ma(742,d|0,1196643650,H[c+28>>2],c+12|0,a+36|0,a+24|0)|0;e=H[65057];H[65057]=0;f:{if((e|0)==1){break f}F[a+32|0]=(d|0)!=0;d=H[a>>2];e=H[a+36>>2];H[65057]=0;ma(743,d|0,1196643650,e|0,H[c+24>>2],c|0,a+44|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}d=H[a>>2];H[65057]=0;d=ma(742,d|0,1196445523,H[c+28>>2],c+12|0,a+40|0,a+28|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break f}F[a+33|0]=(d|0)!=0;d=H[a>>2];e=H[a+40>>2];H[65057]=0;ma(743,d|0,1196445523,e|0,H[c+24>>2],c|0,a+48|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){break e}}break d}break d}Wa=c+32|0;break c}b=$()|0;_()|0;H[a+88>>2]=0;hb(H[a+92>>2]);H[a+92>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+76>>2]=0;hb(H[a+80>>2]);H[a+80>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a- -64>>2]=0;hb(H[a+68>>2]);H[a+68>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;ba(b|0);X()}H[b+124>>2]=0;H[b+128>>2]=0;H[b+120>>2]=j;H[b+132>>2]=0;H[b+136>>2]=0;H[b+140>>2]=0;H[b+144>>2]=0;H[65057]=0;c=aa(774,j|0)|0;d=H[65057];H[65057]=0;g:{h:{if((d|0)==1){break h}i:{if(!c){break i}h=1;if((H[i>>2]&-2)==4){break i}H[65057]=0;c=aa(775,j|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break h}h=!c}c=I[b+148|0]&-2|h;F[b+148|0]=c;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{a=H[b+8>>2];if((a|0)<=1298231906){if((a|0)<=1198877297){if((a|0)<=1130918514){if((a|0)<=1114139506){if((a|0)<=1113681e3){if((a|0)==1097100397|(a|0)==1097363309){break k}if((a|0)==1098015074){break t}d=128212;break j}if((a|0)==1113681001|(a|0)==1113683051){break k}if((a|0)==1113943655){break p}d=128212;break j}if((a|0)<=1114990691){if((a|0)==1114139507|(a|0)==1114792296){break k}d=128212;if((a|0)==1114990441){break k}break j}if((a|0)==1114990692|(a|0)==1130457965){break k}d=128212;if((a|0)==1130914157){break k}break j}if((a|0)<=1164409199){if((a|0)<=1147756906){if((a|0)==1130918515|(a|0)==1131441518){break k}if((a|0)==1147500129){break p}d=128212;break j}if((a|0)==1147756907|(a|0)==1148151666){break k}d=128212;if((a|0)==1148547180){break k}break j}if((a|0)<=1198485094){if((a|0)==1164409200){break k}d=128212;if((a|0)==1164736877){break k}break j}d=128212;switch(a-1198485095|0){case 1:case 2:case 3:case 4:case 5:break j;case 0:case 6:break k;default:break l}}if((a|0)<=1265202290){if((a|0)<=1247901280){if((a|0)<=1214603889){d=128212;u:{switch(a-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break j;case 8:break k;case 0:break r;default:break u}}if((a|0)==1198877298|(a|0)==1198879349){break p}break j}d=128212;switch(a-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break j;case 0:case 9:break k;default:break q}}if((a|0)<=1265131889){if((a|0)==1247901281){break k}d=128212;if((a|0)==1264675945){break k}break j}if((a|0)==1265131890){break k}if((a|0)==1265134962){break o}d=128212;if((a|0)==1265135466){break k}break j}if((a|0)<=1281977697){if((a|0)<=1281453664){if((a|0)==1265202291){break k}if((a|0)==1265525857){break p}d=128212;if((a|0)==1265920105){break k}break j}if((a|0)==1281453665){break k}if((a|0)==1281453935){break s}d=128212;if((a|0)==1281716323){break k}break j}if((a|0)<=1298230883){if((a|0)==1281977698|(a|0)==1298229354){break k}d=128212;if((a|0)==1298230113){break k}break j}d=128212;switch(a-1298230884|0){case 0:case 5:break k;default:break j}}if((a|0)<=1399809891){if((a|0)<=1333094257){if((a|0)<=1299541107){if((a|0)<=1299145832){if((a|0)==1298231907|(a|0)==1298490470){break k}if((a|0)==1298954605){break p}d=128212;break j}if((a|0)==1299145833|(a|0)==1299148391){break k}d=128212;if((a|0)==1299473769){break k}break j}if((a|0)<=1315272544){if((a|0)==1299541108){break k}if((a|0)==1299803506){break n}d=128212;if((a|0)==1315008100){break k}break j}if((a|0)==1315272545|(a|0)==1315663727){break k}if((a|0)==1332902241){break p}d=128212;break j}if((a|0)<=1383032934){if((a|0)<=1349284451){if((a|0)==1333094258|(a|0)==1349017959){break k}d=128212;if((a|0)==1349020784){break k}break j}if((a|0)==1349284452){break k}if((a|0)==1365336423){break m}d=128212;if((a|0)==1382706791){break k}break j}if((a|0)<=1399415907){if((a|0)==1383032935|(a|0)==1398895986){break k}d=128212;if((a|0)==1399353956){break k}break j}d=128212;v:{switch(a-1399418468|0){case 1:case 2:case 3:break j;case 0:break k;case 4:break p;default:break v}}if((a|0)==1399415908){break k}break j}if((a|0)<=1415999078){if((a|0)<=1415669601){if((a|0)<=1400204899){d=128212;w:{switch(a-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;case 0:case 11:break k;default:break w}}if((a|0)==1399814511){break k}break j}if((a|0)==1400204900|(a|0)==1400466543){break k}if((a|0)==1400468067){break t}d=128212;break j}if((a|0)<=1415671147){if((a|0)==1415669602|(a|0)==1415670642){break k}d=128212;if((a|0)==1415670885){break k}break j}if((a|0)==1415671148){break p}if((a|0)==1415673460){break k}if((a|0)==1415933045){break p}d=128212;break j}if((a|0)<=1416524640){if((a|0)<=1416126824){if((a|0)==1415999079){break k}d=128212;if((a|0)==1416064103){break k}break j}if((a|0)==1416126825){break s}if((a|0)==1416192628){break k}d=128212;if((a|0)==1416196712){break k}break j}if((a|0)<=1466132590){if((a|0)==1416524641|(a|0)==1416590447){break k}d=128212;if((a|0)==1449751656){break k}break j}if((a|0)==1466132591|(a|0)==1499822697){break k}d=128212;if((a|0)==1516334690){break k}break j}if(!(H[b+48>>2]==1145457748&(a|0)!=1098015074)){d=125024;if((H[b+4>>2]&-2)==4){break j}}d=128212;break j}d=139472;break j}d=128324;break j}if((a|0)!=1214603890){break j}d=128380;break j}a=H[b+48>>2];if((a|0)==1145457748){d=128212;break j}d=128212;if((a|0)==1818326126){break j}d=(a&255)==51?140164:132144;break j}d=135688;break j}a=H[b+48>>2];if((a|0)==1145457748){d=128212;break j}if((a|0)==1818326126){d=128212;break j}d=128212;if((a|0)==1836674418){break j}d=137060;break j}d=137116;break j}if((a|0)!=1198678382){break j}}a=H[b+48>>2];d=(a|0)==1145457748?128212:(a|0)==1818326126?128212:140164}H[b+152>>2]=d;a=c&-3|(H[d+48>>2]!=0)<<1;F[b+148|0]=a;F[b+148|0]=a&251|I[d+52|0]<<2;if(!(!h|(d|0)==128212)){H[b+152>>2]=128268}a=b;break g}c=$()|0;_()|0;H[b+140>>2]=0;hb(H[b+144>>2]);H[b+144>>2]=0;H[b+136>>2]=0;H[b+140>>2]=0;H[b+128>>2]=0;hb(H[b+132>>2]);H[b+132>>2]=0;H[b+124>>2]=0;H[b+128>>2]=0;Sj(a);ba(c|0);X()}g=H[i+24>>2];j=H[i+20>>2];H[65057]=0;e=a+24|0;ha(776,e|0,1920365166,1,1);c=H[65057];H[65057]=0;x:{y:{if((c|0)==1){break y}H[65057]=0;ja(777,e|0,0,0);c=H[65057];H[65057]=0;if((c|0)==1){break y}z:{A:{B:{switch(H[a+4>>2]-4|0){case 1:H[65057]=0;ha(776,e|0,1920232545,1,1);h=H[65057];H[65057]=0;d=1920232557;c=0;break A;case 0:break B;default:break z}}H[65057]=0;ha(776,e|0,1819570785,1,1);h=H[65057];H[65057]=0;d=1819570797;c=1}if((h|0)==1){break y}H[65057]=0;ha(776,e|0,d|0,c|0,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}}H[65057]=0;ha(776,e|0,1718772067,0,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1853189490,0,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1684959085,0,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1918987876,33,255);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1953653099,3,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1214345830,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1212240454,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}c=H[H[a+152>>2]>>2];if(c){H[65057]=0;fa(c|0,a|0);c=H[65057];H[65057]=0;if((c|0)==1){break y}}H[65057]=0;ha(776,e|0,1114995322,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1112889946,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1633842797,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1651275629,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1667460464,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1819239276,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1835102827,13,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1835756907,13,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1919707495,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}C:{if((H[a+4>>2]&-2)!=4){c=17;h=1986359924;break C}H[65057]=0;ha(776,e|0,1667329140,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1668049255,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1668641395,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;ha(776,e|0,1684632436,1,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}H[65057]=0;c=1;ha(776,e|0,1801810542,3,1);d=H[65057];H[65057]=0;if((d|0)==1){break y}H[65057]=0;ha(776,e|0,1818847073,1,1);d=H[65057];H[65057]=0;h=1919118452;if((d|0)==1){break y}}d=0;H[65057]=0;ha(776,e|0,h|0,c|0,1);c=H[65057];H[65057]=0;if((c|0)==1){break y}D:{E:{if(!g){break E}while(1){c=j+(d<<4)|0;l=H[c>>2];h=0;h=H[c+8>>2]?h:H[c+12>>2]==-1;c=H[c+4>>2];H[65057]=0;ha(776,e|0,l|0,h|0,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break D}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(!(F[a+148|0]&1)){break E}d=a+120|0;c=0;while(1){h=j+(c<<4)|0;l=H[h+4>>2];h=H[h>>2];H[65057]=0;ja(778,d|0,h|0,l|0);h=H[65057];H[65057]=0;if((h|0)==1){break D}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=H[H[a+152>>2]+4>>2];if(c){H[65057]=0;fa(c|0,a|0);c=H[65057];H[65057]=0;if((c|0)==1){break y}}H[65057]=0;ja(779,a|0,f|0,i+28|0);d=H[65057];H[65057]=0;c=1;if((d|0)==1){break y}d=H[H[f+20>>2]+8>>2];F:{if(!d){break F}H[65057]=0;d=aa(d|0,f|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break y}H[f+124>>2]=d;if(d){break F}c=0;H[65057]=0;$q(m);d=H[65057];H[65057]=0;if((d|0)==1){break y}H[f+116>>2]=0;hb(H[f+120>>2]);H[f+120>>2]=0;H[f+112>>2]=0;H[f+116>>2]=0}H[a+140>>2]=0;hb(H[a+144>>2]);H[a+144>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;H[a+128>>2]=0;hb(H[a+132>>2]);H[a+132>>2]=0;H[a+124>>2]=0;H[a+128>>2]=0;Sj(e);Wa=b+160|0;break x}}b=$()|0;_()|0;H[a+140>>2]=0;hb(H[a+144>>2]);H[a+144>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;H[a+128>>2]=0;hb(H[a+132>>2]);H[a+132>>2]=0;H[a+124>>2]=0;H[a+128>>2]=0;Sj(a+24|0);ba(b|0);X()}if(c){break a}hb(H[k+36>>2])}hb(k)}k=163632}return k}function qB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;f=Wa-6768|0;Wa=f;c=H[H[a+4>>2]>>2];g=f- -64|0;kb(g|4,0,2756);H[f+16>>2]=0;H[f+20>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;H[f+40>>2]=0;H[f+44>>2]=0;H[f+48>>2]=0;H[f+52>>2]=0;H[f+56>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+64>>2]=c;H[f+8>>2]=g;h=H[b+4>>2];n=H[h+84>>2];z=H[n+156>>2];C=H[z>>2];j=H[h+88>>2];i=H[j+40>>2];g=H[i+12>>2];a:{b:{if(!g){c=e>>>16&15;break b}b=H[i+4>>2];c=e>>>16&15;if((b|0)==(c|0)){break a}}H[i+4>>2]=c;H[i+32>>2]=H[j+36>>2];b=H[j+32>>2];H[i+24>>2]=H[j+28>>2];H[i+28>>2]=b;b=H[j+24>>2];H[i+16>>2]=H[j+20>>2];H[i+20>>2]=b;b=H[j+16>>2];H[i+8>>2]=H[j+12>>2];H[i+12>>2]=b;g=H[i+12>>2];b=c}H[f+6724>>2]=0;H[f+6716>>2]=g;H[f+6712>>2]=h;c=H[i+16>>2];H[f+6736>>2]=0;H[f+6732>>2]=b;H[f+6728>>2]=0;H[f+6720>>2]=c;H[f>>2]=h;b=H[h+116>>2];H[f+4>>2]=b;c:{if(!b){g=Kg(h,f|4,a);if(g){break c}b=H[f+4>>2];H[h+116>>2]=b;H[h+120>>2]=1}H[f+6744>>2]=0;g=6;if(K[b+4>>2]<=d>>>0){break c}r=d<<1;g=J[r+H[b+8>>2]>>1]&16383;c=((g<<2)+b|0)+16|0;o=H[c>>2];d:{if(o){break d}e:{f:{while(1){i=H[H[b>>2]+100>>2];w=H[(g<<2)+16608>>2];j=H[(H[w+4>>2]<<2)+16320>>2];o=zb(i,H[j+4>>2],f+6744|0);g=H[f+6744>>2];if(g){break c}H[o+36>>2]=b;H[o>>2]=w;g=H[j+8>>2];if(!g){break f}g=Ya[g|0](o,H[b>>2])|0;H[f+6744>>2]=g;if(!g){break f}c=H[j+16>>2];if(c){Ya[c|0](o)}c=i;if(o){Ya[H[c+8>>2]](c,o)}g=H[f+6744>>2];if((g|0)!=-1){break e}g=J[r+H[b+8>>2]>>1]&16383;c=((g<<2)+b|0)+16|0;if(!H[c>>2]){continue}break}g=-1;break c}H[c>>2]=o;break d}if(g){break c}o=0}b=H[H[o>>2]+4>>2];H[f+12>>2]=o;R=H[(b<<2)+16320>>2];b=H[R+12>>2];g:{if(b){Ya[b|0](o,f+6712|0);break g}b=H[f+6716>>2];H[o+4>>2]=H[f+6712>>2];H[o+8>>2]=b;H[o+28>>2]=H[f+6736>>2];b=f+6728|0;c=H[b+4>>2];H[o+20>>2]=H[b>>2];H[o+24>>2]=c;b=f+6720|0;c=H[b+4>>2];H[o+12>>2]=H[b>>2];H[o+16>>2]=c}b=H[R+24>>2];if(b){g=Ya[b|0](f- -64|0,o)|0;if(g){break c}}g=Kd(h,d,e&-10246|10241);if(g){break c}h:{if(H[f+6732>>2]!=1){break h}b=F[H[h+128>>2]+56|0];if(I[a+21|0]|(b|0)>=0?b:0){break h}j=H[h+84>>2];b=H[H[h+88>>2]+40>>2];t=H[f+4>>2];H[f+6704>>2]=0;H[f+6764>>2]=0;c=J[t+364>>1];e=J[b+8>>1];g=J[h+68>>1]<<16;i=pb(65536e3,g);H[f+6752>>2]=H[5331];a=H[5330];H[f+6744>>2]=H[5329];H[f+6748>>2]=a;if(!J[h+68>>1]){break h}a=H[H[(H[H[o>>2]+4>>2]<<2)+16320>>2]+20>>2];if(!a){break h}Ya[a|0](o,f+6764|0,f+6704|0);a=H[f+6704>>2];i:{j:{k:{if(((a|0)==H[t+368>>2]|(a|0)<=0)&(c|0)==(e|0)){break k}a=pb(ib(un(H[H[f+4>>2]+388>>2],J[h+68>>1],J[H[h+88>>2]+12>>1],a)<<16,H[b+12>>2]),i);H[t+368>>2]=H[f+6704>>2];r=J[b+8>>1];H[t+376>>2]=a+32768>>16;G[t+364>>1]=r;if((c|0)==(e|0)){break k}a=H[f+6764>>2];break j}a=H[f+6764>>2];if((a|0)<=0|H[t+372>>2]==(a|0)){break i}}a=un(H[H[f+4>>2]+388>>2],J[h+68>>1],J[H[h+88>>2]+12>>1],a)<<16;c=pb(ib(a,H[b+16>>2]),i);H[t+372>>2]=H[f+6764>>2];b=J[b+8>>1];H[t+380>>2]=c+32768>>16;G[t+364>>1]=b;da=t,ea=pb((g-a|0)-524288|0,g),H[da+384>>2]=ea}S=H[t+376>>2];T=H[t+380>>2];W=j+108|0;a=W;l:{if(!a){break l}D=(T|0)/2|0;E=(S|0)/2|0;m:{if(T+1>>>0<3&S+1>>>0<=2){break m}L=_n(a);if((L|0)==2){break l}X=G[a>>1];if((X|0)<=0){break m}U=H[a+4>>2];b=D>>31;M=(b^D)-b|0;$=M>>>16|0;Y=M&65535;b=E>>31;O=(b^E)-b|0;aa=O>>>16|0;Z=O&65535;ba=H[a+12>>2];while(1){v=G[(V<<1)+ba>>1];n:{if((v|0)==(x|0)){break n}y=-1;g=x;r=0;j=0;w=0;A=0;i=0;h=0;b=v;if((b|0)==-1){break n}while(1){c=A;e=w;a=r;o:{if((g|0)!=(y|0)){e=(g<<3)+U|0;c=H[e+4>>2];l=(b<<3)+U|0;k=H[l+4>>2];p=c-k|0;a=p>>31;a=(a^p)-a|0;e=H[e>>2];l=H[l>>2];p:{if((e|0)==(l|0)){if((c|0)==(k|0)){break o}e=0;c=(p|0)<0?-65536:65536;break p}e=e-l|0;l=e>>31;l=(e^l)-l|0;if((c|0)==(k|0)){c=0;e=(e|0)<0?-65536:65536;a=l;break p}c=a>>>0>>0?l+(a>>>1|0)|0:(l>>>1|0)+a|0;k=Q(c);k=(-1431655766>>>k>>>0>c>>>0?-15:-16)+k|0;u=(k|0)<=0;q:{if(!u){l=l<>>0>>0?l+(a>>>1|0)|0:(l>>>1|0)+a|0;break q}m=0-k|0;c=c>>>m|0;a=a>>>m|0;l=l>>>m|0}c=65536-c|0;while(1){m=(N(c,l)>>16)+l|0;s=(N(a,c)>>16)+a|0;q=N((N(m,m)+N(s,s)|0)/-512|0,c+65536>>8);c=((q|0)/65536|0)+c|0;if((q|0)>65535){continue}break}c=(p|0)<0?0-s|0:s;e=(e|0)<0?0-m|0:m;a=((N(l,m)+N(a,s)|0)/65536|0)+65536|0;if(!u){a=a+(1<>>k|0;break p}a=a<<0-k}if(!a){break o}}r:{if(!j){break r}if((y|0)<0){w=i;y=b;A=h;r=j}l=0;k=e>>31;m=(k^e)-k|0;k=i>>31;s=(k^i)-k|0;s:{if((m>>>8|0)+s>>>0<=8190){q=N(m,s)+32768>>>16|0;break s}k=s&65535;q=N(k,m>>>16|0)+N(m,s>>>16|0)+(N(k,m&65535)+32768>>>16)|0}k=q;p=0-k|0;k=i>>31|1;B=(((e|0)<0?0-k|0:k)|0)<0?p:q;k=c>>31;p=(k^c)-k|0;k=h>>31;u=(k^h)-k|0;t:{if((p>>>8|0)+u>>>0<=8190){q=N(p,u)+32768>>>16|0;break t}k=u&65535;q=N(k,p>>>16|0)+N(p,u>>>16|0)+(N(k,p&65535)+32768>>>16)|0}k=q;P=0-k|0;k=h>>31|1;B=B+((((c|0)<0?0-k|0:k)|0)<0?P:q)|0;q=0;u:{if((B|0)<-61439){break u}q=c+h|0;k=B+65536|0;if(m+(u>>>8|0)>>>0<=8190){m=N(m,u)+32768>>>16|0}else{l=m&65535;m=N(l,u>>>16|0)+N(u,m>>>16|0)+(N(l,u&65535)+32768>>>16)|0}l=m;u=0-l|0;l=e>>31|1;m=(((h|0)<0?0-l|0:l)|0)<0?u:m;if(p+(s>>>8|0)>>>0<=8190){l=N(p,s)+32768>>>16|0}else{h=p&65535;l=N(h,s>>>16|0)+N(s,p>>>16|0)+(N(h,s&65535)+32768>>>16)|0}h=l;p=0-h|0;h=c>>31|1;h=m+((((i|0)<0?0-h|0:h)|0)<0?l:p)|0;s=L?h:0-h|0;m=(a|0)>(j|0)?j:a;p=L?q:0-q|0;l=h;h=h>>31;h=(l^h)-h|0;u=h>>>8|0;v:{if(u+O>>>0<=8190){j=N(h,O)+32768>>>16|0;break v}j=N(h>>>16|0,Z)+N(h,aa)+(N(h&65535,Z)+32768>>>16)|0}q=(s|0)<0;ca=q^(S|0)<-1?0-j|0:j;j=m>>31;j=(j^m)-j|0;P=j+(k>>>8|0)>>>0>8190;w:{if(!P){l=N(j,k)+32768>>>16|0;break w}l=j&65535;l=N(l,k>>>16|0)+N(k,j>>>16|0)+(N(l,B&65535)+32768>>>16)|0}_=(m|0)<0;x:{if((ca|0)<=((_?0-l|0:l)|0)){l=sb(p,E,k);break x}l=sb(p,m,s)}i=e+i|0;p=L?0-i|0:i;i=u+M>>>0<=8190?N(h,M)+32768>>>16|0:N(h>>>16|0,Y)+N(h,$)+(N(h&65535,Y)+32768>>>16)|0;h=q^(T|0)<-1?0-i|0:i;if(P){i=j&65535;i=N(i,k>>>16|0)+N(k,j>>>16|0)+(N(i,B&65535)+32768>>>16)|0}else{i=N(j,k)+32768>>>16|0}if((h|0)<=((_?0-i|0:i)|0)){q=sb(p,D,k);break u}q=sb(p,m,s)}if((b|0)==(g|0)){break r}h=q+D|0;j=l+E|0;while(1){i=(b<<3)+U|0;H[i>>2]=j+H[i>>2];H[i+4>>2]=h+H[i+4>>2];b=(b|0)<(v|0)?b+1|0:x;if((g|0)!=(b|0)){continue}break}}h=c;i=e;j=a;b=g}g=(g|0)<(v|0)?g+1|0:x;if((g|0)==(b|0)){break n}if((b|0)!=(y|0)){continue}break}}x=v+1|0;V=V+1|0;if((X|0)!=(V|0)){continue}break}}}H[f+6756>>2]=H[t+384>>2];Td(W,f+6744|0)}a=I[z+8|0];F[f+16|0]=a;y:{if(!a){break y}a=z;b=H[a+24>>2];e=H[a+20>>2];H[f+28>>2]=e;H[f+32>>2]=b;c=H[a+16>>2];g=H[a+12>>2];H[f+20>>2]=g;H[f+24>>2]=c;i=H[a+28>>2];a=H[a+32>>2];h=f+6752|0;H[h>>2]=e;H[h+4>>2]=b;H[f+6744>>2]=g;H[f+6748>>2]=c;H[f+36>>2]=i;H[f+40>>2]=a;e=6;i=f+6744|0;z:{if(!i){break z}b=H[i>>2];a=b>>31;A=H[i+12>>2];c=A>>31;r=(a^b)-a|0;h=(c^A)-c|0;A:{if(r+(h>>>8|0)>>>0<=8190){a=N(h,r)+32768>>>16|0;break A}a=r&65535;a=N(a,h>>>16|0)+N(h,r>>>16|0)+(N(a,h&65535)+32768>>>16)|0}y=b>>31|1;k=0-y|0;g=(((A|0)<0?k:y)|0)<0?0-a|0:a;b=H[i+4>>2];a=b>>31;l=H[i+8>>2];c=l>>31;j=(c^l)-c|0;c=(a^b)-a|0;B:{if((j>>>8|0)+c>>>0<=8190){a=N(c,j)+32768>>>16|0;break B}a=c&65535;a=N(a,j>>>16|0)+N(j,c>>>16|0)+(N(a,j&65535)+32768>>>16)|0}z=b>>31|1;m=0-z|0;a=(((l|0)<0?m:z)|0)<0?0-a|0:a;if((g|0)==(a|0)){break z}w=g-a|0;a=w>>31;a=(a^w)-a|0;x=a>>>17^65535;C:{if(x>>>0>=c>>>0){b=((c<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break C}b=2147483647;e=a>>>1|0;v=e+(c<<16)|0;c=(c>>>16|0)+(e>>>0>v>>>0)|0;if(c>>>0>=a>>>0){break C}t=Q(c);e=32-t|0;c=v>>>e|c<>>0)/(a>>>0)|0;g=c-N(a,b)|0;c=v<>>31;g=v-(a>>>0>v>>>0?0:a)|0;b=b<<1|a>>>0<=v>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}H[i+4>>2]=(((w|0)<0?m:z)|0)<0?b:0-b|0;D:{if(j>>>0<=x>>>0){b=((j<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break D}b=2147483647;e=a>>>1|0;c=e+(j<<16)|0;g=(j>>>16|0)+(c>>>0>>0)|0;if(g>>>0>=a>>>0){break D}j=Q(g);e=32-j|0;g=c>>>e|g<>>0)/(a>>>0)|0;g=g-N(a,b)|0;c=c<>>31;g=j-(a>>>0>j>>>0?0:a)|0;b=b<<1|a>>>0<=j>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}c=b;e=0-b|0;b=l>>31|1;H[i+8>>2]=(((w|0)<0?0-b|0:b)|0)<0?c:e;E:{if(h>>>0<=x>>>0){b=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break E}b=2147483647;e=a>>>1|0;c=e+(h<<16)|0;g=(h>>>16|0)+(c>>>0>>0)|0;if(g>>>0>=a>>>0){break E}h=Q(g);e=32-h|0;g=c>>>e|g<>>0)/(a>>>0)|0;g=g-N(a,b)|0;c=c<>>31;g=h-(a>>>0>h>>>0?0:a)|0;b=b<<1|a>>>0<=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}e=0-b|0;c=b;b=A>>31|1;H[i>>2]=(((w|0)<0?0-b|0:b)|0)<0?e:c;F:{if(r>>>0<=x>>>0){b=((r<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break F}b=2147483647;e=a>>>1|0;c=e+(r<<16)|0;g=(r>>>16|0)+(c>>>0>>0)|0;if(g>>>0>=a>>>0){break F}h=Q(g);e=32-h|0;g=c>>>e|g<>>0)/(a>>>0)|0;g=g-N(a,b)|0;c=c<>>31;g=h-(a>>>0>h>>>0?0:a)|0;b=b<<1|a>>>0<=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}e=0;H[i+12>>2]=(((w|0)<0?k:y)|0)<0?0-b|0:b}if(e){break y}mh(f+36|0,f+6744|0)}c=7;G:{if(H[n+72>>2]!=1869968492){break G}if(I[f+16|0]){yc(n+108|0,H[f+36>>2],H[f+40>>2])}H[f+48>>2]=H[f+80>>2];H[f+44>>2]=H[f+72>>2];a=ib(H[n+40>>2],H[f+68>>2]);H[f+56>>2]=H[f+80>>2];H[f+52>>2]=a+H[f+72>>2];c=0;if(!J[n+110>>1]){break G}a=H[R+28>>2];if(a){g=Ya[a|0](d,f- -64|0,C+20|0,o)|0;if(g){break c}}H:{if(H[f+6732>>2]!=1){a=H[f+120>>2];if(!(I[f+2804|0]&4|(a|0)<2)){b=N(a,44);a=H[f+128>>2];b=b+a|0;e=H[b-36>>2];i=H[b-40>>2];h=H[a+8>>2];g=H[a+4>>2];a=h-g|0;j=(g|0)<24?a-8|0:a;b=j+32&-64;H[f+44>>2]=b;i=H[f+52>>2]-i|0;a=i+e|0;r=(i|0)<24?a+8|0:a;a=r+32&-64;H[f+52>>2]=a;if(!((b|0)<(h|0)|(g|0)<=0)){b=b+-64|0;H[f+44>>2]=b}if(!((i|0)<=0|(a|0)>(e|0))){a=a- -64|0;H[f+52>>2]=a}H[n+144>>2]=b-j;a=a-r|0;break H}a=H[f+52>>2];b=(a+H[f+2820>>2]|0)+32&-64;H[f+52>>2]=b;e=H[f+44>>2];g=(e+H[f+2816>>2]|0)+32&-64;H[f+44>>2]=g;H[n+144>>2]=g-e;a=b-a|0;break H}a=H[f+52>>2];b=a+32&-64;H[f+52>>2]=b;e=H[f+44>>2];g=e+32&-64;H[f+44>>2]=g;H[n+144>>2]=g-e;a=b-a|0}H[n+148>>2]=a}a=H[n+36>>2];b=H[n+48>>2];da=f,ea=ib(H[n+44>>2]-H[n+32>>2]|0,H[o+8>>2]),H[da+6704>>2]=ea;da=f,ea=ib(b-a|0,H[o+12>>2]),H[da+6708>>2]=ea;if(I[f+16|0]){a=f+20|0;Td(C+20|0,a);mh(f+6704|0,a)}a=H[f+44>>2];if(a){yc(C+20|0,0-a|0,0)}je(C+20|0,f+6744|0);a=H[f+6744>>2]&-64;H[f+6744>>2]=a;b=H[f+6756>>2]+63&-64;H[f+6756>>2]=b;e=H[f+6752>>2]+63&-64;H[f+6752>>2]=e;g=H[f+6748>>2]&-64;H[f+6748>>2]=g;H[n+36>>2]=b;H[n+32>>2]=a;H[n+28>>2]=b-g;H[n+24>>2]=e-a;H[n+44>>2]=a+H[f+6704>>2]&-64;H[n+48>>2]=b+H[f+6708>>2]&-64;I:{J:{if(H[f+6732>>2]==1){break J}if(!(I[H[n+4>>2]+8|0]&4)){a=H[f+4>>2];if(!I[o+32|0]|(K[a+4>>2]<=d>>>0|G[H[a+8>>2]+(d<<1)>>1]>=0)){break J}}a=ib(H[n+40>>2],H[o+8>>2]);H[n+144>>2]=0;H[n+148>>2]=0;H[n+40>>2]=a;break I}if(!H[n+40>>2]){break I}H[n+40>>2]=H[f+52>>2]-H[f+44>>2]}a=ib(H[n+52>>2],H[o+12>>2]);H[n+72>>2]=1869968492;H[n+52>>2]=a+32&-64;H[n+40>>2]=H[n+40>>2]+32&-64;g=c}H[f+8>>2]=0;H[f>>2]=0;H[f+4>>2]=0;zi(f- -64|0);Wa=f+6768|0;return g|0}function tb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Wa-16|0;Wa=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){e=H[64933];g=a>>>0<11?16:a+11&-8;c=g>>>3|0;b=e>>>c|0;if(b&3){d=c+((b^-1)&1)|0;b=d<<3;f=H[b+259780>>2];a=f+8|0;c=H[f+8>>2];b=b+259772|0;l:{if((c|0)==(b|0)){m=259732,n=LM(-2,d)&e,H[m>>2]=n;break l}H[c+12>>2]=b;H[b+8>>2]=c}b=d<<3;H[f+4>>2]=b|3;b=b+f|0;H[b+4>>2]=H[b+4>>2]|1;break a}k=H[64935];if(k>>>0>=g>>>0){break k}if(b){a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;c=(c|a)+(b>>>a|0)|0;a=c<<3;j=H[a+259780>>2];b=H[j+8>>2];a=a+259772|0;m:{if((b|0)==(a|0)){e=LM(-2,c)&e;H[64933]=e;break m}H[b+12>>2]=a;H[a+8>>2]=b}a=j+8|0;H[j+4>>2]=g|3;d=g+j|0;b=c<<3;f=b-g|0;H[d+4>>2]=f|1;H[b+j>>2]=f;if(k){b=k>>>3|0;c=(b<<3)+259772|0;j=H[64938];b=1<>2]}H[c+8>>2]=j;H[b+12>>2]=j;H[j+12>>2]=c;H[j+8>>2]=b}H[64938]=d;H[64935]=f;break a}h=H[64934];if(!h){break k}b=(0-h&h)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;b=H[((c|a)+(b>>>a|0)<<2)+260036>>2];d=(H[b+4>>2]&-8)-g|0;c=b;while(1){o:{a=H[c+16>>2];if(!a){a=H[c+20>>2];if(!a){break o}}c=(H[a+4>>2]&-8)-g|0;f=c>>>0>>0;d=f?c:d;b=f?a:b;c=a;continue}break}i=H[b+24>>2];f=H[b+12>>2];if((f|0)!=(b|0)){a=H[b+8>>2];H[a+12>>2]=f;H[f+8>>2]=a;break b}c=b+20|0;a=H[c>>2];if(!a){a=H[b+16>>2];if(!a){break j}c=b+16|0}while(1){j=c;f=a;c=a+20|0;a=H[c>>2];if(a){continue}c=f+16|0;a=H[f+16>>2];if(a){continue}break}H[j>>2]=0;break b}g=-1;if(a>>>0>4294967231){break k}a=a+11|0;g=a&-8;i=H[64934];if(!i){break k}d=0-g|0;e=0;p:{if(g>>>0<256){break p}e=31;if(g>>>0>16777215){break p}a=a>>>8|0;j=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|j))|0;e=(a<<1|g>>>a+21&1)+28|0}c=H[(e<<2)+260036>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=g<<((e|0)==31?0:25-(e>>>1|0)|0);while(1){t:{h=H[c+4>>2]&-8;j=h-g|0;if(j>>>0>=d>>>0){break t}d=j;f=c;if((g|0)!=(h|0)){break t}d=0;a=c;break r}j=H[c+20>>2];c=H[((b>>>29&4)+c|0)+16>>2];a=j?(j|0)==(c|0)?a:j:a;b=b<<1;if(c){continue}break}}if(!(a|f)){f=0;a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;a=H[((c|a)+(b>>>a|0)<<2)+260036>>2]}if(!a){break q}}while(1){b=(H[a+4>>2]&-8)-g|0;c=b>>>0>>0;d=c?b:d;f=c?a:f;b=H[a+16>>2];if(b){a=b}else{a=H[a+20>>2]}if(a){continue}break}}if(!f|H[64935]-g>>>0<=d>>>0){break k}e=H[f+24>>2];b=H[f+12>>2];if((f|0)!=(b|0)){a=H[f+8>>2];H[a+12>>2]=b;H[b+8>>2]=a;break c}c=f+20|0;a=H[c>>2];if(!a){a=H[f+16>>2];if(!a){break i}c=f+16|0}while(1){j=c;b=a;c=a+20|0;a=H[c>>2];if(a){continue}c=b+16|0;a=H[b+16>>2];if(a){continue}break}H[j>>2]=0;break c}c=H[64935];if(c>>>0>=g>>>0){d=H[64938];b=c-g|0;u:{if(b>>>0>=16){H[64935]=b;a=d+g|0;H[64938]=a;H[a+4>>2]=b|1;H[c+d>>2]=b;H[d+4>>2]=g|3;break u}H[64938]=0;H[64935]=0;H[d+4>>2]=c|3;a=c+d|0;H[a+4>>2]=H[a+4>>2]|1}a=d+8|0;break a}i=H[64936];if(i>>>0>g>>>0){b=i-g|0;H[64936]=b;c=H[64939];a=c+g|0;H[64939]=a;H[a+4>>2]=b|1;H[c+4>>2]=g|3;a=c+8|0;break a}a=0;h=g+47|0;if(H[65051]){c=H[65053]}else{H[65054]=-1;H[65055]=-1;H[65052]=4096;H[65053]=4096;H[65051]=l+12&-16^1431655768;H[65056]=0;H[65044]=0;c=4096}j=h+c|0;f=0-c|0;c=j&f;if(c>>>0<=g>>>0){break a}d=H[65043];if(d){b=H[65041];e=b+c|0;if(e>>>0>d>>>0|b>>>0>=e>>>0){break a}}if(I[260176]&4){break f}v:{w:{d=H[64939];if(d){a=260180;while(1){b=H[a>>2];if(b>>>0<=d>>>0&d>>>0>2]>>>0){break w}a=H[a+8>>2];if(a){continue}break}}b=Te(0);if((b|0)==-1){break g}e=c;d=H[65052];a=d-1|0;if(a&b){e=(c-b|0)+(a+b&0-d)|0}if(e>>>0<=g>>>0|e>>>0>2147483646){break g}d=H[65043];if(d){a=H[65041];f=a+e|0;if(d>>>0>>0|a>>>0>=f>>>0){break g}}a=Te(e);if((b|0)!=(a|0)){break v}break e}e=f&j-i;if(e>>>0>2147483646){break g}b=Te(e);if((b|0)==(H[a>>2]+H[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|g+48>>>0<=e>>>0)){b=H[65053];b=b+(h-e|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Te(b)|0)!=-1){e=b+e|0;b=a;break e}Te(0-e|0);break g}b=a;if((a|0)!=-1){break e}break g}f=0;break b}b=0;break c}if((b|0)!=-1){break e}}H[65044]=H[65044]|4}if(c>>>0>2147483646){break d}b=Te(c);a=Te(0);if((b|0)==-1|(a|0)==-1|a>>>0<=b>>>0){break d}e=a-b|0;if(e>>>0<=g+40>>>0){break d}}a=H[65041]+e|0;H[65041]=a;if(a>>>0>K[65042]){H[65042]=a}x:{y:{z:{h=H[64939];if(h){a=260180;while(1){d=H[a>>2];c=H[a+4>>2];if((d+c|0)==(b|0)){break z}a=H[a+8>>2];if(a){continue}break}break y}a=H[64937];if(!(a>>>0<=b>>>0?a:0)){H[64937]=b}a=0;H[65046]=e;H[65045]=b;H[64941]=-1;H[64942]=H[65051];H[65048]=0;while(1){d=a<<3;c=d+259772|0;H[d+259780>>2]=c;H[d+259784>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;H[64936]=c;a=a+b|0;H[64939]=a;H[a+4>>2]=c|1;H[(b+d|0)+4>>2]=40;H[64940]=H[65055];break x}if(I[a+12|0]&8|d>>>0>h>>>0|b>>>0<=h>>>0){break y}H[a+4>>2]=c+e;a=h+8&7?-8-h&7:0;c=a+h|0;H[64939]=c;b=H[64936]+e|0;a=b-a|0;H[64936]=a;H[c+4>>2]=a|1;H[(b+h|0)+4>>2]=40;H[64940]=H[65055];break x}if(K[64937]>b>>>0){H[64937]=b}c=b+e|0;a=260180;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=H[a>>2]){a=H[a+8>>2];if(a){continue}break F}break}if(!(I[a+12|0]&8)){break E}}a=260180;while(1){c=H[a>>2];if(c>>>0<=h>>>0){f=c+H[a+4>>2]|0;if(f>>>0>h>>>0){break D}}a=H[a+8>>2];continue}}H[a>>2]=b;H[a+4>>2]=H[a+4>>2]+e;j=(b+8&7?-8-b&7:0)+b|0;H[j+4>>2]=g|3;e=c+(c+8&7?-8-c&7:0)|0;i=g+j|0;g=e-i|0;if((e|0)==(h|0)){H[64939]=i;a=H[64936]+g|0;H[64936]=a;H[i+4>>2]=a|1;break B}if(H[64938]==(e|0)){H[64938]=i;a=H[64935]+g|0;H[64935]=a;H[i+4>>2]=a|1;H[a+i>>2]=a;break B}a=H[e+4>>2];if((a&3)==1){f=a&-8;G:{if(a>>>0<=255){c=H[e+8>>2];a=a>>>3|0;b=H[e+12>>2];if((b|0)==(c|0)){m=259732,n=H[64933]&LM(-2,a),H[m>>2]=n;break G}H[c+12>>2]=b;H[b+8>>2]=c;break G}h=H[e+24>>2];b=H[e+12>>2];H:{if((e|0)!=(b|0)){a=H[e+8>>2];H[a+12>>2]=b;H[b+8>>2]=a;break H}I:{a=e+20|0;d=H[a>>2];if(d){break I}a=e+16|0;d=H[a>>2];if(d){break I}b=0;break H}while(1){c=a;b=d;a=b+20|0;d=H[a>>2];if(d){continue}a=b+16|0;d=H[b+16>>2];if(d){continue}break}H[c>>2]=0}if(!h){break G}c=H[e+28>>2];a=(c<<2)+260036|0;J:{if(H[a>>2]==(e|0)){H[a>>2]=b;if(b){break J}m=259736,n=H[64934]&LM(-2,c),H[m>>2]=n;break G}H[h+(H[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break G}}H[b+24>>2]=h;a=H[e+16>>2];if(a){H[b+16>>2]=a;H[a+24>>2]=b}a=H[e+20>>2];if(!a){break G}H[b+20>>2]=a;H[a+24>>2]=b}g=f+g|0;e=e+f|0}H[e+4>>2]=H[e+4>>2]&-2;H[i+4>>2]=g|1;H[g+i>>2]=g;if(g>>>0<=255){a=g>>>3|0;b=(a<<3)+259772|0;c=H[64933];a=1<>2]}H[b+8>>2]=i;H[a+12>>2]=i;H[i+12>>2]=b;H[i+8>>2]=a;break B}a=31;if(g>>>0<=16777215){a=g>>>8|0;d=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|d))|0;a=(a<<1|g>>>a+21&1)+28|0}H[i+28>>2]=a;H[i+16>>2]=0;H[i+20>>2]=0;d=(a<<2)+260036|0;c=H[64934];b=1<>2]=i;H[i+24>>2]=d;break L}a=g<<((a|0)==31?0:25-(a>>>1|0)|0);b=H[d>>2];while(1){c=b;if((H[b+4>>2]&-8)==(g|0)){break C}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=H[d+16>>2];if(b){continue}break}H[d+16>>2]=i;H[i+24>>2]=c}H[i+12>>2]=i;H[i+8>>2]=i;break B}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;H[64936]=c;a=a+b|0;H[64939]=a;H[a+4>>2]=c|1;H[(b+d|0)+4>>2]=40;H[64940]=H[65055];a=(f+(f-39&7?39-f&7:0)|0)-47|0;c=a>>>0>>0?h:a;H[c+4>>2]=27;a=H[65048];H[c+16>>2]=H[65047];H[c+20>>2]=a;a=H[65046];H[c+8>>2]=H[65045];H[c+12>>2]=a;H[65047]=c+8;H[65046]=e;H[65045]=b;H[65048]=0;a=c+24|0;while(1){H[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(h|0)){break x}H[c+4>>2]=H[c+4>>2]&-2;f=c-h|0;H[h+4>>2]=f|1;H[c>>2]=f;if(f>>>0<=255){a=f>>>3|0;b=(a<<3)+259772|0;c=H[64933];a=1<>2]}H[b+8>>2]=h;H[a+12>>2]=h;H[h+12>>2]=b;H[h+8>>2]=a;break x}a=31;H[h+16>>2]=0;H[h+20>>2]=0;if(f>>>0<=16777215){a=f>>>8|0;d=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|d))|0;a=(a<<1|f>>>a+21&1)+28|0}H[h+28>>2]=a;d=(a<<2)+260036|0;c=H[64934];b=1<>2]=h;H[h+24>>2]=d;break N}a=f<<((a|0)==31?0:25-(a>>>1|0)|0);b=H[d>>2];while(1){c=b;if((f|0)==(H[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=H[d+16>>2];if(b){continue}break}H[d+16>>2]=h;H[h+24>>2]=c}H[h+12>>2]=h;H[h+8>>2]=h;break x}a=H[c+8>>2];H[a+12>>2]=i;H[c+8>>2]=i;H[i+24>>2]=0;H[i+12>>2]=c;H[i+8>>2]=a}a=j+8|0;break a}a=H[c+8>>2];H[a+12>>2]=h;H[c+8>>2]=h;H[h+24>>2]=0;H[h+12>>2]=c;H[h+8>>2]=a}a=H[64936];if(a>>>0<=g>>>0){break d}b=a-g|0;H[64936]=b;c=H[64939];a=c+g|0;H[64939]=a;H[a+4>>2]=b|1;H[c+4>>2]=g|3;a=c+8|0;break a}H[64884]=48;a=0;break a}O:{if(!e){break O}c=H[f+28>>2];a=(c<<2)+260036|0;P:{if(H[a>>2]==(f|0)){H[a>>2]=b;if(b){break P}i=LM(-2,c)&i;H[64934]=i;break O}H[e+(H[e+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break O}}H[b+24>>2]=e;a=H[f+16>>2];if(a){H[b+16>>2]=a;H[a+24>>2]=b}a=H[f+20>>2];if(!a){break O}H[b+20>>2]=a;H[a+24>>2]=b}Q:{if(d>>>0<=15){a=d+g|0;H[f+4>>2]=a|3;a=a+f|0;H[a+4>>2]=H[a+4>>2]|1;break Q}H[f+4>>2]=g|3;e=f+g|0;H[e+4>>2]=d|1;H[e+d>>2]=d;if(d>>>0<=255){a=d>>>3|0;b=(a<<3)+259772|0;c=H[64933];a=1<>2]}H[b+8>>2]=e;H[a+12>>2]=e;H[e+12>>2]=b;H[e+8>>2]=a;break Q}a=31;if(d>>>0<=16777215){a=d>>>8|0;j=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|j))|0;a=(a<<1|d>>>a+21&1)+28|0}H[e+28>>2]=a;H[e+16>>2]=0;H[e+20>>2]=0;b=(a<<2)+260036|0;S:{c=1<>2]=e;break T}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);c=H[b>>2];while(1){b=c;if((H[b+4>>2]&-8)==(d|0)){break S}c=a>>>29|0;a=a<<1;j=(c&4)+b|0;c=H[j+16>>2];if(c){continue}break}H[j+16>>2]=e}H[e+24>>2]=b;H[e+12>>2]=e;H[e+8>>2]=e;break Q}a=H[b+8>>2];H[a+12>>2]=e;H[b+8>>2]=e;H[e+24>>2]=0;H[e+12>>2]=b;H[e+8>>2]=a}a=f+8|0;break a}U:{if(!i){break U}c=H[b+28>>2];a=(c<<2)+260036|0;V:{if(H[a>>2]==(b|0)){H[a>>2]=f;if(f){break V}m=259736,n=LM(-2,c)&h,H[m>>2]=n;break U}H[i+(H[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break U}}H[f+24>>2]=i;a=H[b+16>>2];if(a){H[f+16>>2]=a;H[a+24>>2]=f}a=H[b+20>>2];if(!a){break U}H[f+20>>2]=a;H[a+24>>2]=f}W:{if(d>>>0<=15){a=d+g|0;H[b+4>>2]=a|3;a=a+b|0;H[a+4>>2]=H[a+4>>2]|1;break W}H[b+4>>2]=g|3;f=b+g|0;H[f+4>>2]=d|1;H[d+f>>2]=d;if(k){a=k>>>3|0;c=(a<<3)+259772|0;j=H[64938];a=1<>2]}H[c+8>>2]=j;H[a+12>>2]=j;H[j+12>>2]=c;H[j+8>>2]=a}H[64938]=f;H[64935]=d}a=b+8|0}Wa=l+16|0;return a|0}function Er(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=1;a:{b:{switch(c-1|0){case 0:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;c:{d:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=0;c=H[b+4>>2];e:{f:{if(c>>>0>a>>>0){break f}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<6){break f}f=H[b+12>>2];h=f-6|0;H[b+12>>2]=h;if((h|0)<=0){break f}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break f}e=f-8|0;H[b+12>>2]=e;if((e|0)<=0){break f}e=I[c|0]|I[c+1|0]<<8;g:{if(!e){break g}if(nc(((e<<8|e>>>8)&65535)+a|0,b)){break g}e=H[b+28>>2];if(e>>>0>31){break f}H[b+28>>2]=e+1;if(!I[b+24|0]){break f}F[c|0]=0;F[c+1|0]=0}e=I[a+4|0]|I[a+5|0]<<8;c=1;if(!e){break e}c=a+6|0;if(c>>>0>2]){break f}f=H[b+8>>2];if(f>>>0>>0){break f}g=f-c|0;f=KM(e)<<1;if(g>>>0>>0){break f}f=H[b+12>>2]-f|0;H[b+12>>2]=f;if((f|0)<=0){break f}d=1;if(e>>>0<4096){break f}d=Cf(a+4|0,b,a,c)}c=d}return c}d=0;c=H[b+4>>2];h:{if(c>>>0>a>>>0){break h}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break h}f=H[b+12>>2];h=f-8|0;H[b+12>>2]=h;if((h|0)<=0){break h}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break h}e=f-10|0;H[b+12>>2]=e;if((e|0)<=0){break h}e=I[c|0]|I[c+1|0]<<8;i:{if(!e){break i}if(nc(((e<<8|e>>>8)&65535)+a|0,b)){break i}e=H[b+28>>2];if(e>>>0>31){break h}H[b+28>>2]=e+1;if(!I[b+24|0]){break h}F[c|0]=0;F[c+1|0]=0}c=a+8|0;h=I[a+4|0]|I[a+5|0]<<8;g=KM(h);e=I[a+6|0]|I[a+7|0]<<8;i=(e<<8|e>>>8)&65535;f=N(g,i)<<1;if(f){if(K[b+4>>2]>c>>>0){break h}j=H[b+8>>2];if(j>>>0>>0|f>>>0>j-c>>>0){break h}f=H[b+12>>2]-f|0;H[b+12>>2]=f;if((f|0)<=0){break h}}d=1;if(!e){break h}if(h>>>0<4096){break h}f=a+4|0;e=0;while(1){d=Cf(f,b,a,c);if(!d){break h}c=(g<<1)+c|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}return d;case 1:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;j:{k:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break j;case 0:break k;default:break a}}d=0;c=Wa-32|0;Wa=c;f=H[b+4>>2];l:{if(f>>>0>a>>>0){break l}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<10){break l}h=H[b+12>>2];g=h-10|0;H[b+12>>2]=g;if((g|0)<=0){break l}d=I[a+6|0]|I[a+7|0]<<8;g=I[a+4|0]|I[a+5|0]<<8;H[c+16>>2]=a+4;g=KM(g);H[c+20>>2]=g;r=c,s=(KM(d)+g|0)+1|0,H[r+24>>2]=s;m:{d=a+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break m}e=h-12|0;H[b+12>>2]=e;if((e|0)<=0){break m}e=I[d|0]|I[d+1|0]<<8;n:{if(!e){break n}if(nc(((e<<8|e>>>8)&65535)+a|0,b)){break n}e=H[b+28>>2];if(e>>>0>31){break m}H[b+28>>2]=e+1;if(!I[b+24|0]){break m}F[d|0]=0;F[d+1|0]=0}H[c+12>>2]=a;H[c+8>>2]=c+16;d=0;f=a+8|0;g=H[b+4>>2];o:{p:{if(f>>>0>>0){break p}e=H[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break p}h=H[b+12>>2]-2|0;H[b+12>>2]=h;if((h|0)<=0){break p}i=I[f|0]|I[f+1|0]<<8;a=1;if(!i){break o}a=f+2|0;if(a>>>0>>0|a>>>0>e>>>0){break p}k=e-a|0;a=(i<<8|i>>>8)&65535;e=a<<1;if(k>>>0>>0){break p}e=h-e|0;H[b+12>>2]=e;if((e|0)<=0){break p}h=f+2|0;if(g>>>0>h>>>0){break p}q=a>>>0>1?a:1;while(1){q:{a=H[b+8>>2];if(a>>>0>>0|a-h>>>0<2){break q}d=H[c+12>>2];a=H[b+12>>2]-2|0;H[b+12>>2]=a;if((a|0)<=0){break q}a=I[h|0]|I[h+1|0]<<8;r:{if(!a){break r}g=H[c+8>>2];l=0;p=H[b+4>>2];a=d+((a<<8|a>>>8)&65535)|0;s:{if(p>>>0>a>>>0){break s}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break s}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break s}i=H[g+8>>2];m=I[a|0]|I[a+1|0]<<8;n=(m<<8|m>>>8)&65535;k=n<<1;if(k>>>0>=4294967295/(i>>>0)>>>0?i:0){break s}k=N(i,k);if(k){o=a+2|0;if(p>>>0>o>>>0|d>>>0>>0|k>>>0>d-o>>>0){break s}d=e-k|0;H[b+12>>2]=d;if((d|0)<=0){break s}}d=H[g>>2];if(!(!m|(I[d|0]|I[d+1|0]<<8)>>>0<4096)){e=a+4|0;k=0;while(1){if(!Cf(d,b,a,e)){break s}e=(i<<1)+e|0;k=k+1|0;if((n|0)!=(k|0)){continue}break}i=H[g+8>>2];d=H[g>>2]}l=1;if(!m|(I[d+2|0]|I[d+3|0]<<8)>>>0<4096){break s}m=d+2|0;e=0;d=H[g+4>>2];d=(d|0)<0?163632:(a+(d<<1)|0)+4|0;g=i<<1;while(1){l=Cf(m,b,a,d);if(!l){break s}d=d+g|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}if(l){break r}a=H[b+28>>2];if(a>>>0>31){break q}H[b+28>>2]=a+1;if(!I[b+24|0]){break q}F[h|0]=0;F[h+1|0]=0}d=1;j=j+1|0;if((q|0)==(j|0)){break p}h=(f+(j<<1)|0)+2|0;if(h>>>0>=K[b+4>>2]){continue}}break}d=0}a=d}d=a;break l}d=0}Wa=c+32|0;return d}c=H[b+4>>2];t:{if(c>>>0>a>>>0){break t}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break t}f=H[b+12>>2];h=f-16|0;H[b+12>>2]=h;if((h|0)<=0){break t}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break t}d=f-18|0;H[b+12>>2]=d;if((d|0)<=0){break t}d=I[c|0]|I[c+1|0]<<8;u:{if(!d){break u}if(nc(((d<<8|d>>>8)&65535)+a|0,b)){break u}d=H[b+28>>2];if(d>>>0>31){break t}H[b+28>>2]=d+1;if(!I[b+24|0]){break t}F[c|0]=0;F[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break t}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break t}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break t}d=I[c|0]|I[c+1|0]<<8;v:{if(!d){break v}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break v}d=H[b+28>>2];if(d>>>0>31){break t}H[b+28>>2]=d+1;if(!I[b+24|0]){break t}F[c|0]=0;F[c+1|0]=0}c=a+10|0;if(c>>>0>2]){break t}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break t}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break t}d=I[c|0]|I[c+1|0]<<8;w:{if(!d){break w}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break w}d=H[b+28>>2];if(d>>>0>31){break t}H[b+28>>2]=d+1;if(!I[b+24|0]){break t}F[c|0]=0;F[c+1|0]=0}c=I[a+14|0]|I[a+15|0]<<8;d=(c<<8|c>>>8)&65535;c=I[a+12|0]|I[a+13|0]<<8;f=N(d,(c<<8|c>>>8)&65535);j=I[a+4|0]|I[a+5|0]<<8;i=KM(j);d=I[a+6|0]|I[a+7|0]<<8;h=KM(d)+i|0;g=h<<1;if(f>>>0>=4294967295/(g>>>0)>>>0?h:0){break t}c=a+16|0;g=N(f,g);if(g){if(K[b+4>>2]>c>>>0){break t}l=H[b+8>>2];if(l>>>0>>0|g>>>0>l-c>>>0){break t}g=H[b+12>>2]-g|0;H[b+12>>2]=g;if((g|0)<=0){break t}}g=a+6|0;if(!(!f|j>>>0<4096)){j=a+4|0;d=0;while(1){if(!Cf(j,b,a,c)){break t}c=(h<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}d=I[g|0]|I[g+1|0]<<8}e=1;if(!f|d>>>0<4096){break t}c=((i<<1)+a|0)+16|0;d=0;while(1){e=Cf(g,b,a,c);if(!e){break t}c=(h<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}return e;case 2:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}x:{y:{c=a+2|0;if(c>>>0>2]){break y}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break y}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break y}d=I[c|0]|I[c+1|0]<<8;z:{if(!d){break z}if(nc(((d<<8|d>>>8)&65535)+a|0,b)){break z}d=H[b+28>>2];if(d>>>0>31){break y}H[b+28>>2]=d+1;if(!I[b+24|0]){break y}F[c|0]=0;F[c+1|0]=0}h=H[b+4>>2];c=a+4|0;if(h>>>0>c>>>0){break y}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break y}e=H[b+12>>2]-2|0;H[b+12>>2]=e;c=1;if((e|0)<=0){break y}f=I[a+4|0]|I[a+5|0]<<8;if(!f){break x}c=a+6|0;if(c>>>0>>0|c>>>0>d>>>0){break y}g=d-c|0;d=(f<<8|f>>>8)&65535;c=d<<2;if(g>>>0>>0){break y}e=e-c|0;H[b+12>>2]=e;c=0;if((e|0)<=0){break x}e=d>>>0>1?d:1;d=0;while(1){c=(d<<2)+a|0;if(!Ch(c+6|0,b,a)){break y}if(!Ch(c+8|0,b,a)){break y}c=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break x}c=0}return c;case 3:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}return Dr(a,b);case 4:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}h=Wa-16|0;Wa=h;c=H[b+4>>2];A:{if(c>>>0>a>>>0){break A}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<=11){break A}f=H[b+12>>2];g=f-12|0;H[b+12>>2]=g;if((g|0)<=0){break A}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break A}d=f-14|0;H[b+12>>2]=d;if((d|0)<=0){break A}d=I[c|0]|I[c+1|0]<<8;B:{if(!d){break B}if(nc(((d<<8|d>>>8)&65535)+a|0,b)){break B}d=H[b+28>>2];if(d>>>0>31){break A}H[b+28>>2]=d+1;if(!I[b+24|0]){break A}F[c|0]=0;F[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break A}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break A}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break A}d=I[c|0]|I[c+1|0]<<8;C:{if(!d){break C}if(nc(((d<<8|d>>>8)&65535)+a|0,b)){break C}d=H[b+28>>2];if(d>>>0>31){break A}H[b+28>>2]=d+1;if(!I[b+24|0]){break A}F[c|0]=0;F[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break A}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break A}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break A}d=I[c|0]|I[c+1|0]<<8;D:{if(!d){break D}d=((d<<8|d>>>8)&65535)+a|0;H[h+12>>2]=d;if(Cr(d,b,h+12|0)){break D}d=H[b+28>>2];if(d>>>0>31){break A}H[b+28>>2]=d+1;if(!I[b+24|0]){break A}F[c|0]=0;F[c+1|0]=0}c=I[a+6|0]|I[a+7|0]<<8;H[h+8>>2]=(c<<8|c>>>8)&65535;g=H[b+4>>2];f=a+10|0;c=0;E:{if(g>>>0>f>>>0){break E}d=H[b+8>>2];c=0;if(d>>>0>>0){break E}c=0;if(d-f>>>0<2){break E}i=H[b+12>>2];j=i-2|0;H[b+12>>2]=j;e=1;c=0;if((j|0)<=0){break E}j=h+8|0;c=I[f|0]|I[f+1|0]<<8;F:{if(!c){break F}G:{a=((c<<8|c>>>8)&65535)+a|0;if(a>>>0>>0|a>>>0>d>>>0|d-a>>>0<2){break G}c=i-4|0;H[b+12>>2]=c;if((c|0)<=0){break G}i=I[a|0]|I[a+1|0]<<8;if(!i){break F}e=a+2|0;if(e>>>0>>0|d>>>0>>0){break G}g=d-e|0;d=(i<<8|i>>>8)&65535;e=d<<1;if(g>>>0>>0){break G}c=c-e|0;H[b+12>>2]=c;if((c|0)<=0){break G}c=d>>>0>1?d:1;d=0;while(1){if(!Br((a+(d<<1)|0)+2|0,b,a,j)){break G}e=1;d=d+1|0;if((c|0)!=(d|0)){continue}break}break F}a=H[b+28>>2];c=0;if(a>>>0>31){break E}H[b+28>>2]=a+1;e=0;if(!I[b+24|0]){break F}F[f|0]=0;F[f+1|0]=0;e=1}c=e}e=c}Wa=h+16|0;return e;case 5:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}return Dr(a,b);case 6:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;H:{I:{J:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break H;case 1:break I;case 0:break J;default:break a}}return bs(a,b)}return as(a,b)}return $r(a,b);case 7:return _r(a,b);case 8:break b;default:break a}}c=0;K:{if(K[b+4>>2]>a>>>0){break K}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break K}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break K}c=1;if((I[a|0]|I[a+1|0]<<8)!=256){break K}c=0;L:{if(K[b+4>>2]>a>>>0){break L}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break L}d=H[b+12>>2]-8|0;H[b+12>>2]=d;if((d|0)<=0){break L}d=I[a+2|0]|I[a+3|0]<<8;if((d|0)==2304){break L}c=a;a=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=Er(a?c+a|0:163632,b,(d<<8|(d&65280)>>>8)&65535)}}d=c}return d}function SK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;u=Wa-160|0;Wa=u;t=H[a+124>>2];a:{if(!(F[t+36|0]&1)){break a}while(1){b:{f=H[t+32>>2];if(f){break b}p=0;r=0;d=Wa-1920|0;Wa=d;c:{d:{h=Ab(1,168);e:{if(h){f=H[a+56>>2];f:{if((f|0)>0){w=d+1052|0;m=d+1496|0;k=d+1448|0;x=d+464|0;while(1){g:{h:{if((f|0)>0){s=H[(r<<2)+126704>>2];n=H[a+60>>2];f=f-1|0;g=0;while(1){l=f+g>>>1|0;i=n+N(l,36)|0;e=H[i>>2];i:{if(e>>>0>s>>>0){f=l-1|0;break i}if(e>>>0>=s>>>0){break h}g=l+1|0}if((f|0)>=(g|0)){continue}break}}H[((p<<2)+h|0)+8>>2]=0;break g}s=(p<<2)+h|0;f=H[i+28>>2];H[s+8>>2]=f;if(!f){break g}j:{k:{l:{m:{n:{o:{if(r>>>0<=3){f=1569;q=0;while(1){g=J[((f<<3)+(r<<1)|0)+114184>>1];p:{if(!g){break p}e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(!(Ya[H[e+164>>2]](b,H[b+84>>2],f,j,H[e+20>>2])|0)){break p}e=d+112|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(!(Ya[H[e+164>>2]](b,H[b+84>>2],g,j,H[e+20>>2])|0)){break p}i=H[d+208>>2];g=H[d+112>>2];if((i|0)==(g|0)|(g|i)>>>0>65535){break p}e=q<<1;G[e+(d+1056|0)>>1]=g<<8|(g&65280)>>>8;G[e+(d+1424|0)>>1]=i<<8|(i&65280)>>>8;q=q+1|0}f=f+1|0;if((f|0)!=1748){continue}break}g=1;f=0;q:{switch(q|0){default:while(1){l=g<<1;o=l+(d+1424|0)|0;f=g;while(1){r:{e=f;if(!e){break r}f=e-1|0;n=J[(d+1424|0)+(f<<1)>>1];i=J[o>>1];if(((n<<8|n>>>8)&65535)>>>0<((i<<8|i>>>8)&65535)>>>0){break r}if((i|0)!=(n|0)){continue}}break}if((e|0)!=(g|0)){n=J[o>>1];j=e<<1;v=j+2|0;f=d+1424|0;o=f+j|0;i=g-e<<1;Yb(f+v|0,o,i);G[o>>1]=n;f=d+1056|0;e=J[f+l>>1];l=f+v|0;f=f+j|0;Yb(l,f,i);G[f>>1]=e}g=g+1|0;if((q|0)!=(g|0)){continue}break};break;case 0:break j;case 1:break q}}H[d+124>>2]=w;H[d+112>>2]=d+208;H[d+160>>2]=0;H[d+164>>2]=0;H[d+152>>2]=0;H[d+156>>2]=0;H[d+144>>2]=0;H[d+148>>2]=0;H[d+136>>2]=0;H[d+140>>2]=0;H[d+176>>2]=0;H[d+168>>2]=1;H[d+172>>2]=1;F[d+180|0]=1;H[d+200>>2]=0;H[d+192>>2]=0;H[d+196>>2]=0;H[d+184>>2]=0;H[d+188>>2]=0;H[65057]=0;fa(748,d+112|0);f=H[65057];H[65057]=0;if((f|0)==1){k=$()|0;_()|0;H[d+168>>2]=-57005;b=H[d+176>>2];if(b){H[65057]=0;da(605,b+24|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break d}Tb();hb(b)}a=H[d+200>>2];if(a){hb(a);H[d+200>>2]=0}H[d+184>>2]=0;H[d+188>>2]=0;H[d+160>>2]=0;hb(H[d+164>>2]);H[d+164>>2]=0;H[d+156>>2]=0;H[d+160>>2]=0;H[d+136>>2]=0;a=H[d+148>>2];f=H[d+144>>2];if(f){c=(f<<2)+a|0;while(1){hb(H[(f?a:163632)>>2]);b=!!f;f=f-b|0;a=(b<<2)+a|0;if((c|0)!=(a|0)){continue}break}a=H[d+148>>2]}H[d+144>>2]=0;hb(a);H[d+148>>2]=0;H[d+140>>2]=0;H[d+144>>2]=0;ba(k|0);X()}H[65057]=0;e=aa(749,d+112|0)|0;f=H[65057];H[65057]=0;if((f|0)!=1){s:{H[d+1880>>2]=0;H[d+1864>>2]=0;H[d+24>>2]=0;H[d+8>>2]=0;H[d+1876>>2]=q;H[d+1860>>2]=q;H[65057]=0;H[d+1872>>2]=d+1424;f=H[d+1876>>2];H[d+16>>2]=H[d+1872>>2];H[d+20>>2]=f;H[d+1856>>2]=d+1056;f=H[d+1860>>2];H[d>>2]=H[d+1856>>2];H[d+4>>2]=f;e=Ha(750,e|0,d+112|0,8,d+16|0,d|0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break s}g=H[d+132>>2];if(!g&H[d+156>>2]<0|!(I[d+180|0]?1:g)){break o}t:{if(!H[d+152>>2]){break t}if(g){f=0;if(!(g&2)){break k}H[d+132>>2]=g|1;break k}g=0;if(K[d+160>>2]<2){break t}H[65057]=0;ca(751,d+112|0,0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break s}H[65057]=0;Ph(d+112|0);f=H[65057];H[65057]=0;if((f|0)==1){break s}g=H[d+132>>2]}f=0;if(g|!e){break k}n=H[d+120>>2];i=H[d+124>>2]-n|0;g=H[d+112>>2];l=H[d+116>>2]-g|0;e=i+l|0;if(!e){break k}e=tb(e);if(!e){break k}f=mb(e,g,l);mb(l+f|0,n,i);break k}}a=$()|0;_()|0;ug(d+112|0);ba(a|0);X()}f=d+208|0;H[f>>2]=0;e=f;f=H[b+80>>2];g=Ya[H[f+164>>2]](b,H[b+84>>2],65247,e,H[f+20>>2])|0;if(!g){break n}H[d+1896>>2]=0;H[d+1904>>2]=0;f=J[d+208>>1];G[d+1912>>1]=f<<8|f>>>8;f=1;e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(Ya[H[e+164>>2]](b,H[b+84>>2],65248,j,H[e+20>>2])|0){break m}o=1;break l}H[d+132>>2]=1;f=0;break k}f=0;e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(Ya[H[e+164>>2]](b,H[b+84>>2],65248,j,H[e+20>>2])|0){break m}break j}o=1;e=J[d+208>>1];G[(d+1912|f<<1)>>1]=e<<8|e>>>8;e=f<<2;H[e+(d+1896|0)>>2]=0;H[e+(d+1904|0)>>2]=1;if(!g){break l}o=f+1|0;e=J[d+1912>>1];f=J[d+1914>>1];if(((e<<8|e>>>8)&65535)>>>0<((f<<8|f>>>8)&65535)>>>0|(f|0)==(e|0)){break l}G[d+1912>>1]=f;G[d+1914>>1]=e;y=d,z=MM(H[d+1904>>2],H[d+1908>>2]),H[y+1904>>2]=z;H[d+1908>>2]=Xa}g=0;f=0;while(1){e=f<<2;l=e+(d+1896|0)|0;n=N(H[e+(d+1904|0)>>2],18);i=J[n+128178>>1];e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];u:{if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break u}i=J[n+128180>>1];e=d+1424|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break u}H[l>>2]=H[l>>2]+1;H[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=J[d+1424>>1];G[i+(d+112|0)>>1]=e<<8|e>>>8;e=J[d+208>>1];G[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}i=J[n+128182>>1];e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];v:{if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break v}i=J[n+128184>>1];e=d+1424|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break v}H[l>>2]=H[l>>2]+1;H[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=J[d+1424>>1];G[i+(d+112|0)>>1]=e<<8|e>>>8;e=J[d+208>>1];G[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}i=J[n+128186>>1];e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];w:{if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break w}i=J[n+128188>>1];e=d+1424|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break w}H[l>>2]=H[l>>2]+1;H[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=J[d+1424>>1];G[i+(d+112|0)>>1]=e<<8|e>>>8;e=J[d+208>>1];G[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}i=J[n+128190>>1];e=d+208|0;H[e>>2]=0;j=e;e=H[b+80>>2];x:{if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break x}i=J[n+128192>>1];e=d+1424|0;H[e>>2]=0;j=e;e=H[b+80>>2];if(!(Ya[H[e+164>>2]](b,H[b+84>>2],i,j,H[e+20>>2])|0)){break x}H[l>>2]=H[l>>2]+1;H[(d+1056|0)+(g<<2)>>2]=2;i=g<<1;e=J[d+1424>>1];G[i+(d+112|0)>>1]=e<<8|e>>>8;e=J[d+208>>1];G[i+(d+1872|0)>>1]=e<<8|e>>>8;g=g+1|0}f=f+1|0;if((o|0)!=(f|0)){continue}break}if(!g){f=0;break j}H[d+1436>>2]=x;H[d+1424>>2]=d+208;H[k+24>>2]=0;H[k+28>>2]=0;H[k+16>>2]=0;H[k+20>>2]=0;H[k+8>>2]=0;H[k+12>>2]=0;H[k>>2]=0;H[k+4>>2]=0;H[d+1488>>2]=0;H[d+1480>>2]=1;H[d+1484>>2]=1;F[d+1492|0]=1;H[m+16>>2]=0;H[m+8>>2]=0;H[m+12>>2]=0;H[m>>2]=0;H[m+4>>2]=0;H[65057]=0;fa(748,d+1424|0);f=H[65057];H[65057]=0;if((f|0)==1){k=$()|0;_()|0;H[d+1480>>2]=-57005;b=H[d+1488>>2];if(b){H[65057]=0;da(605,b+24|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break d}Tb();hb(b)}a=H[d+1512>>2];if(a){hb(a);H[d+1512>>2]=0}H[d+1496>>2]=0;H[d+1500>>2]=0;H[d+1472>>2]=0;hb(H[d+1476>>2]);H[d+1476>>2]=0;H[d+1468>>2]=0;H[d+1472>>2]=0;H[d+1448>>2]=0;a=H[d+1460>>2];f=H[d+1456>>2];if(f){c=(f<<2)+a|0;while(1){hb(H[(f?a:163632)>>2]);b=!!f;f=f-b|0;a=(b<<2)+a|0;if((c|0)!=(a|0)){continue}break}a=H[d+1460>>2]}H[d+1456>>2]=0;hb(a);H[d+1460>>2]=0;a=d+1452|0;H[a>>2]=0;H[a+4>>2]=0;ba(k|0);X()}H[65057]=0;i=aa(749,d+1424|0)|0;f=H[65057];H[65057]=0;y:{z:{if((f|0)!=1){A:{H[d+1864>>2]=0;H[d+1848>>2]=0;H[d+1832>>2]=0;H[d+1816>>2]=0;e=d+1800|0;H[e>>2]=0;H[d+104>>2]=0;H[d+1860>>2]=o;H[d+1844>>2]=o;H[d+1828>>2]=g;H[d+1812>>2]=g;H[d+1796>>2]=g;H[65057]=0;H[d+1856>>2]=d+1912;f=H[d+1860>>2];H[d+96>>2]=H[d+1856>>2];H[d+100>>2]=f;H[d+1840>>2]=d+1896;H[d+1824>>2]=d+112;H[d+1808>>2]=d+1056;H[d+1792>>2]=d+1872;H[d+88>>2]=0;H[d+72>>2]=0;H[d+56>>2]=0;f=H[d+1844>>2];H[d+80>>2]=H[d+1840>>2];H[d+84>>2]=f;f=H[d+1828>>2];H[d+64>>2]=H[d+1824>>2];H[d+68>>2]=f;f=H[d+1812>>2];H[d+48>>2]=H[d+1808>>2];H[d+52>>2]=f;H[d+40>>2]=H[e>>2];f=H[d+1796>>2];H[d+32>>2]=H[d+1792>>2];H[d+36>>2]=f;e=Ia(753,i|0,d+1424|0,8,d+96|0,d+80|0,d- -64|0,d+48|0,d+32|0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break A}g=H[d+1444>>2];if(!g&H[d+1468>>2]<0|!(I[d+1492|0]?1:g)){break z}B:{if(!H[d+1464>>2]){break B}if(g){f=0;if(!(g&2)){break y}H[d+1444>>2]=g|1;break y}g=0;if(K[d+1472>>2]<2){break B}H[65057]=0;ca(751,d+1424|0,0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break A}H[65057]=0;Ph(d+1424|0);f=H[65057];H[65057]=0;if((f|0)==1){break A}g=H[d+1444>>2]}f=0;if(g|!e){break y}n=H[d+1432>>2];i=H[d+1436>>2]-n|0;g=H[d+1424>>2];l=H[d+1428>>2]-g|0;e=i+l|0;if(!e){break y}e=tb(e);if(!e){break y}f=mb(e,g,l);mb(l+f|0,n,i);break y}}a=$()|0;_()|0;ug(d+1424|0);ba(a|0);X()}H[d+1444>>2]=1;f=0}ug(d+1424|0);break j}ug(d+112|0)}H[s+28>>2]=f;if(!f){break g}ms((N(p,24)+h|0)+48|0,f);p=p+1|0}r=r+1|0;if((r|0)!=5){f=H[a+56>>2];continue}break}F[h+4|0]=1;H[h>>2]=p;if(p){break e}break f}F[h+4|0]=1;H[h>>2]=0}hb(h)}h=163632}Wa=d+1920|0;f=h;break c}ea(0)|0;_()|0;Gb();X()}k=H[t+32>>2];H[t+32>>2]=k?k:f;if(!k){break b}g=0;if(!(!f|!H[f>>2])){while(1){k=(g<<2)+f|0;C:{if(!H[k+28>>2]){break C}m=N(g,24)+f|0;H[m- -64>>2]=0;hb(H[m+68>>2]);H[m+68>>2]=0;H[m+60>>2]=0;H[m+64>>2]=0;if(!I[f+4|0]){break C}hb(H[k+28>>2])}g=g+1|0;if(g>>>0>2]){continue}break}hb(f)}continue}break}h=id(u+8|0,0,b,c);b=H[f>>2];if(!b){break a}c=0;while(1){a=(c<<2)+f|0;e=H[a+28>>2];if(e){k=H[a+8>>2];H[h+36>>2]=0;H[h+120>>2]=k;H[h+28>>2]=0;H[h+32>>2]=0;b=H[h+132>>2];H[h+12>>2]=b;a=H[h+124>>2]==1;F[h+16|0]=a;H[h+80>>2]=0;H[h+20>>2]=k;F[h+17|0]=I[h+142|0];H[h+72>>2]=0;H[h+76>>2]=0;H[h+56>>2]=b;H[h+64>>2]=-1;F[h+61|0]=1;F[h+60|0]=a|I[h+141|0]!=0;H[h+8>>2]=h;H[h+52>>2]=h;k=(N(c,24)+f|0)+48|0;m=H[h+100>>2];D:{if(!H[m+68>>2]){break D}b=H[h+120>>2];if(!b){break D}a=I[e+2|0]|I[e+3|0]<<8;a=a<<8|a>>>8;o=a&65535;if(a&16){a=I[e+4|0]|I[e+5|0]<<8;a=e+(((a<<8|a>>>8)&65535)<<1)|0;a=I[a+6|0]|I[a+7|0]<<8;o=(a<<8|a>>>8)<<16|o}H[h+132>>2]=o;H[h- -64>>2]=-1;F[h+61|0]=1;H[h+36>>2]=0;H[h+8>>2]=h;H[h+28>>2]=0;H[h+32>>2]=0;H[h+12>>2]=o;H[h+80>>2]=0;H[h+52>>2]=h;H[h+20>>2]=b;F[h+17|0]=I[h+142|0];H[h+72>>2]=0;H[h+76>>2]=0;H[h+56>>2]=o;a=H[h+124>>2]==1;F[h+16|0]=a;F[h+60|0]=a|I[h+141|0]!=0;E:{a=I[e|0]|I[e+1|0]<<8;F:{if((a|0)!=1792){if((a|0)!=2048){break F}break E}o=J[81816];a=I[e+4|0]|I[e+5|0]<<8?I[e+6|0]|I[e+7|0]<<8:o;G:{if(!(a&65535)){a=163632;break G}a=e+((a<<8|(a&65280)>>>8)&65535)|0;o=I[a|0]|I[a+1|0]<<8}if((o&65535)!=256){break F}if((I[a+2|0]|I[a+3|0]<<8)==2048){break E}}H[m+72>>2]=0;H[m+64>>2]=0;F[m+61|0]=1;F[m+62|0]=0;H[m+84>>2]=H[m+80>>2];H[m+64>>2]=0;Zj(h,k);ad(m);break D}H[m+64>>2]=H[m+68>>2]-1;us(h,k)}b=H[f>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}Wa=u+160|0}function zL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=Wa-80|0;Wa=j;a:{b:{switch(I[a+5|0]){case 0:d=H[b+4>>2];q=G[d+152>>1]&1;if(q){h=I[a+4|0];H[j+24>>2]=a;H[j+28>>2]=b;F[j+12|0]=h>>>6&1;H[j+8>>2]=j+24;r=H[d+144>>2];o=Wa-160|0;Wa=o;g=H[b+16>>2];i=H[b+8>>2];if(Fb(g,i,106300,0)){if(I[g+16|0]&64){Qb(g,2,0,-1,1,0)}a=id(o+8|0,1,i,g);H[a+120>>2]=r;H[a+132>>2]=8;H[a+36>>2]=0;H[a+8>>2]=a;H[a+28>>2]=0;H[a+32>>2]=0;H[a+80>>2]=0;H[a+52>>2]=a;H[a+20>>2]=r;F[a+17|0]=I[a+142|0];H[a+12>>2]=8;H[a+72>>2]=0;H[a+76>>2]=0;H[a- -64>>2]=-1;F[a+61|0]=1;H[a+56>>2]=8;b=H[a+124>>2]==1;F[a+16|0]=b;F[a+60|0]=b|I[a+141|0]!=0;h=H[g+68>>2];if(h){s=a+4|0;l=H[g+88>>2];t=H[g+80>>2];v=(H[g+40>>2]&-2)!=4;while(1){c:{d:{p=N(e,20);f=p+t|0;if(!(r&H[f+4>>2])){break d}H[a+40>>2]=1;H[a+4>>2]=e;d=H[H[a+8>>2]+100>>2];H[a+44>>2]=H[d+68>>2];b=0;F[a+24|0]=H[d+64>>2]==(e|0)?I[(p+H[d+80>>2]|0)+15|0]:0;if(!Pc(s,o+4|0)){break d}d=H[s>>2];m=N(d,20);u=H[H[j+8>>2]>>2];c=I[u+8|0]|I[u+9|0]<<8;e:{if(c){n=H[f>>2];x=H[m+t>>2];f=((c<<8|c>>>8)&65535)-1|0;while(1){f:{g:{w=b+f>>>1|0;k=u+N(w,6)|0;c=k+16|0;y=I[c|0]|I[c+1|0]<<8;y=(y<<8|y>>>8)&65535;h:{if((y|0)==(n|0)){k=I[k+18|0]|I[k+19|0]<<8;k=(k<<8|k>>>8)&65535;if(k>>>0>x>>>0){break h}if((k|0)==(x|0)){break e}break g}if(n>>>0>=y>>>0){break g}}f=w-1|0;break f}b=w+1|0}if((b|0)<=(f|0)){continue}break}}c=163632}c=I[c+4|0]|I[c+5|0]<<8;if(!c){break c}b=c<<8|c>>>8;i:{if(!v){c=b<<16;f=c>>31;b=HM(H[i+40>>2],H[i+44>>2],c>>16,f)+32768|0;f=Xa;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(I[j+12|0]){H[(l+m|0)+12>>2]=b;H[g+144>>2]=H[g+144>>2]|8;break i}c=l+p|0;f=b>>1;H[c>>2]=f+H[c>>2];c=l+m|0;b=b-f|0;H[c>>2]=b+H[c>>2];H[c+8>>2]=b+H[c+8>>2];break i}c=b<<16;f=c>>31;b=HM(H[i+48>>2],H[i+52>>2],c>>16,f)+32768|0;f=Xa;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(I[j+12|0]){H[(l+m|0)+8>>2]=b;H[g+144>>2]=H[g+144>>2]|8;break i}c=l+p|0;f=b>>1;H[c+4>>2]=f+H[c+4>>2];c=l+m|0;b=b-f|0;H[c+4>>2]=b+H[c+4>>2];H[c+12>>2]=b+H[c+12>>2]}Ad(g,e,d+1|0);d=H[s>>2];break c}d=e+1|0}e=d;if(h>>>0>e>>>0){continue}break}}Fb(g,i,106331,0)}Wa=o+160|0}break a;case 1:d=I[a+4|0];e=F[H[b+4>>2]+152|0]&1|d&64;p=!e;if(e){H[j+28>>2]=a;H[j+24>>2]=b;e=I[a+16|0]|I[a+17|0]<<8;F[j+72|0]=d>>>6&1;H[j+68>>2]=0;a=a+8|0;H[j+32>>2]=a+((e<<8|e>>>8)&65535);e=H[H[b+8>>2]+16>>2];H[j+12>>2]=H[b+16>>2];H[j+8>>2]=a;a=H[e+32>>2];if((a|0)==-1){a=Hc(e)}H[j+16>>2]=a;h=j+24|0;a=0;l=j+8|0;e=H[l+4>>2];H[e+64>>2]=0;j:{if(!I[e+60|0]){break j}while(1){t=K[e+68>>2]<=q>>>0;b=0;k:{if(t){break k}c=H[H[e+80>>2]+N(q,20)>>2];b=2;if((c|0)==65535){break k}b=H[l>>2];d=I[b+2|0]|I[b+3|0]<<8;d=((d<<8|d>>>8)&65535)+b|0;b=I[d|0]|I[d+1|0]<<8;c=c-((b<<8|b>>>8)&65535)|0;g=I[d+2|0]|I[d+3|0]<<8;b=1;if(c>>>0>=((g<<8|g>>>8)&65535)>>>0){break k}b=I[(c+d|0)+4|0]}d=b;b=H[l>>2];g=I[b|0]|I[b+1|0]<<8;c=(g<<8|g>>>8)&65535;f=d>>>0>>0;i=I[b+4|0]|I[b+5|0]<<8;m=(i<<8|i>>>8)&65535;r=m+b|0;u=N(a,c);i=I[b+6|0]|I[b+7|0]<<8;o=b+((i<<8|i>>>8)&65535)|0;i=(I[r+(u+(f?d:1)|0)|0]<<2)+o|0;b=I[i|0]|I[i+1|0]<<8;b=(((b<<8|b>>>8)&65535)-m|0)/(c|0)|0;s=I[i+2|0]|I[i+3|0]<<8;l:{m:{if(s&65343){break m}if(!(!a|!(s&64?b:1))){a=o+(I[r+(f?d:1)|0]<<2)|0;d=I[a+2|0]|I[a+3|0]<<8;if(d&65343){break m}a=I[a|0]|I[a+1|0]<<8;if((d^s)&64|(b|0)!=((((a<<8|a>>>8)&65535)-m|0)/(c|0)|0)){break m}}a=o+(I[r+(u+!g|0)|0]<<2)|0;if(!((I[a+2|0]|I[a+3|0]<<8)&65343)){break l}}a=I[e+61|0]?H[e+72>>2]:q;if(t|!a){break l}Qb(e,3,a-1|0,q+1|0,1,1)}a=H[l+4>>2];d=I[i+2|0]|I[i+3|0]<<8;n:{if(!(d&128)){break n}e=H[h+44>>2];if(e>>>0<=7){c=H[a+64>>2];H[h+44>>2]=e+1;H[(h+(e<<2)|0)+12>>2]=c;break n}H[h+44>>2]=0}e=d&65343;o:{if(!e){break o}c=H[h+44>>2];if(!c){break o}p:{q:{if(c>>>0>2147483646){break q}d=H[h+4>>2]+((e<<8|e>>>8)&65535)|0;e=H[h+8>>2];g=((d-e|0)+8&-2)+e|0;e=H[h>>2];if(g>>>0>2]){break q}d=H[e+28>>2];if(d>>>0>>0){break q}k=d-g|0;d=c<<1;if(k>>>0>>0){break q}d=H[e+32>>2]-d|0;H[e+32>>2]=d;if((d|0)>0){break p}}H[h+44>>2]=0;break o}q=H[H[e+4>>2]+144>>2];while(1){c=c-1|0;H[h+44>>2]=c;d=H[(h+(c<<2)|0)+12>>2];if(d>>>0>2]){e=I[g|0]|I[g+1|0]<<8;c=(e<<8|e>>>8)<<16>>16;e=c&-2;m=c&1;f=I[h+48|0];c=H[a+88>>2];r:{if((H[a+40>>2]&-2)==4){if(f){d=c+N(d,20)|0;if((e|0)==-32768){G[d+16>>1]=0;F[d+18|0]=0;H[d+12>>2]=0;break r}if(!I[d+18|0]){break r}c=d;k=H[d+12>>2];d=H[H[h>>2]+8>>2];e=HM(H[d+48>>2],H[d+52>>2],e,e>>31)+32768|0;f=Xa;f=e>>>0<32768?f+1|0:f;H[c+12>>2]=k+((f&65535)<<16|e>>>16);H[a+144>>2]=H[a+144>>2]|8;break r}d=N(d,20);if(!(q&H[(d+H[a+80>>2]|0)+4>>2])){break r}d=c+d|0;c=H[H[h>>2]+8>>2];e=HM(H[c+40>>2],H[c+44>>2],e,e>>31)+32768|0;f=Xa;f=e>>>0<32768?f+1|0:f;e=(f&65535)<<16|e>>>16;H[d>>2]=e+H[d>>2];H[d+8>>2]=e+H[d+8>>2];break r}if(f){d=c+N(d,20)|0;if((e|0)==-32768){G[d+16>>1]=0;F[d+18|0]=0;H[d+8>>2]=0;break r}if(!I[d+18|0]){break r}k=d;f=H[d+8>>2];d=H[H[h>>2]+8>>2];e=HM(H[d+40>>2],H[d+44>>2],e,e>>31)+32768|0;c=Xa;c=e>>>0<32768?c+1|0:c;H[k+8>>2]=f+((c&65535)<<16|e>>>16);H[a+144>>2]=H[a+144>>2]|8;break r}d=N(d,20);if(!(q&H[(d+H[a+80>>2]|0)+4>>2])){break r}d=c+d|0;c=H[H[h>>2]+8>>2];e=HM(H[c+48>>2],H[c+52>>2],e,e>>31)+32768|0;f=Xa;f=e>>>0<32768?f+1|0:f;e=(f&65535)<<16|e>>>16;H[d+4>>2]=e+H[d+4>>2];H[d+12>>2]=e+H[d+12>>2]}if(m){break o}c=H[h+44>>2]}g=g+2|0;if(c){continue}break}}a=H[l+4>>2];e=H[a+64>>2];if((e|0)==H[a+68>>2]|!I[a+60|0]){break j}s:{if(I[i+2|0]&64){d=H[a+152>>2];H[a+152>>2]=d-1;if((d|0)>0){break s}}if(I[a+61|0]){t:{if(H[a+84>>2]==H[a+80>>2]){d=e;if(H[a+72>>2]==(d|0)){break t}}if(!qb(a,1,1)){break s}e=H[a+80>>2]+N(H[a+64>>2],20)|0;c=H[e+4>>2];d=H[a+84>>2]+N(H[a+72>>2],20)|0;H[d>>2]=H[e>>2];H[d+4>>2]=c;H[d+16>>2]=H[e+16>>2];c=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=c;e=H[a+64>>2];d=H[a+72>>2]}H[a+72>>2]=d+1}H[a+64>>2]=e+1}e=H[l+4>>2];if(!I[e+60|0]){break j}q=H[e+64>>2];a=b;continue}}}q=!p;break a;case 2:d=H[b+4>>2];q=G[d+152>>1]&1;if(q){h=I[a+4|0];H[j+24>>2]=a;H[j+28>>2]=b;F[j+12|0]=h>>>6&1;H[j+8>>2]=j+24;r=H[d+144>>2];o=Wa-160|0;Wa=o;h=H[b+16>>2];i=H[b+8>>2];if(Fb(h,i,106300,0)){if(I[h+16|0]&64){Qb(h,2,0,-1,1,0)}a=id(o+8|0,1,i,h);H[a+120>>2]=r;H[a+132>>2]=8;H[a+36>>2]=0;H[a+8>>2]=a;H[a+28>>2]=0;H[a+32>>2]=0;H[a+80>>2]=0;H[a+52>>2]=a;H[a+20>>2]=r;F[a+17|0]=I[a+142|0];H[a+12>>2]=8;H[a+72>>2]=0;H[a+76>>2]=0;H[a- -64>>2]=-1;F[a+61|0]=1;H[a+56>>2]=8;b=H[a+124>>2]==1;F[a+16|0]=b;F[a+60|0]=b|I[a+141|0]!=0;d=H[h+68>>2];if(d){s=a+4|0;l=H[h+88>>2];t=H[h+80>>2];x=(H[h+40>>2]&-2)!=4;while(1){u:{v:{p=N(e,20);n=p+t|0;if(!(r&H[n+4>>2])){break v}H[a+40>>2]=1;H[a+4>>2]=e;b=H[H[a+8>>2]+100>>2];H[a+44>>2]=H[b+68>>2];F[a+24|0]=H[b+64>>2]==(e|0)?I[(p+H[b+80>>2]|0)+15|0]:0;if(!Pc(s,o+4|0)){break v}b=H[j+8>>2];c=H[b>>2];w=H[s>>2];m=N(w,20);k=H[m+t>>2];f=H[b+4>>2];g=0;u=0;v=H[n>>2];b=I[c+10|0]|I[c+11|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;n=I[b|0]|I[b+1|0]<<8;n=v-((n<<8|n>>>8)&65535)|0;v=I[b+2|0]|I[b+3|0]<<8;if(n>>>0<((v<<8|v>>>8)&65535)>>>0){b=b+(n<<1)|0;b=I[b+4|0]|I[b+5|0]<<8;u=(b<<8|b>>>8)&65535}b=I[c+12|0]|I[c+13|0]<<8;b=c+((b<<8|b>>>8)&65535)|0;n=I[b|0]|I[b+1|0]<<8;n=k-((n<<8|n>>>8)&65535)|0;k=I[b+2|0]|I[b+3|0]<<8;if(n>>>0<((k<<8|k>>>8)&65535)>>>0){b=b+(n<<1)|0;b=I[b+4|0]|I[b+5|0]<<8;g=(b<<8|b>>>8)&65535}b=0;k=(c+u|0)+g|0;g=I[c+14|0]|I[c+15|0]<<8;c=c+((g<<8|g>>>8)&65535)|0;c=(k-c&-2)+c|0;w:{if(c>>>0>2]){break w}g=H[f+28>>2];if(g>>>0>>0|g-c>>>0<2){break w}g=H[f+32>>2]-2|0;H[f+32>>2]=g;if((g|0)<=0){break w}b=I[c|0]|I[c+1|0]<<8;b=(b<<8|b>>>8)<<16>>16}if(b){x:{if(!x){c=b<<16;f=c>>31;b=HM(H[i+40>>2],H[i+44>>2],c>>16,f)+32768|0;f=Xa;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(I[j+12|0]){H[(l+m|0)+12>>2]=b;H[h+144>>2]=H[h+144>>2]|8;break x}c=l+p|0;g=b>>1;H[c>>2]=g+H[c>>2];c=l+m|0;b=b-g|0;H[c>>2]=b+H[c>>2];H[c+8>>2]=b+H[c+8>>2];break x}c=b<<16;f=c>>31;b=HM(H[i+48>>2],H[i+52>>2],c>>16,f)+32768|0;f=Xa;f=b>>>0<32768?f+1|0:f;b=(f&65535)<<16|b>>>16;if(I[j+12|0]){H[(l+m|0)+8>>2]=b;H[h+144>>2]=H[h+144>>2]|8;break x}c=l+p|0;g=b>>1;H[c+4>>2]=g+H[c+4>>2];c=l+m|0;b=b-g|0;H[c+4>>2]=b+H[c+4>>2];H[c+12>>2]=b+H[c+12>>2]}Ad(h,e,w+1|0)}e=H[s>>2];break u}e=e+1|0}if(d>>>0>e>>>0){continue}break}}Fb(h,i,106331,0)}Wa=o+160|0}break a;case 3:break b;default:break a}}d=H[b+4>>2];q=G[d+152>>1]&1;if(q){h=I[a+4|0];H[j+24>>2]=a;F[j+28|0]=h>>>6&1;r=H[d+144>>2];o=Wa-160|0;Wa=o;g=H[b+16>>2];i=H[b+8>>2];if(Fb(g,i,106300,0)){if(I[g+16|0]&64){Qb(g,2,0,-1,1,0)}b=id(o+8|0,1,i,g);H[b+120>>2]=r;H[b+132>>2]=8;H[b+36>>2]=0;H[b+8>>2]=b;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+52>>2]=b;H[b+20>>2]=r;F[b+17|0]=I[b+142|0];H[b+12>>2]=8;H[b+72>>2]=0;H[b+76>>2]=0;H[b- -64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=8;a=H[b+124>>2]==1;F[b+16|0]=a;F[b+60|0]=a|I[b+141|0]!=0;h=H[g+68>>2];if(h){s=b+4|0;l=H[g+88>>2];t=H[g+80>>2];u=(H[g+40>>2]&-2)!=4;while(1){y:{z:{p=N(e,20);c=p+t|0;if(!(r&H[c+4>>2])){break z}H[b+40>>2]=1;H[b+4>>2]=e;a=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[a+68>>2];F[b+24|0]=H[a+64>>2]==(e|0)?I[(p+H[a+80>>2]|0)+15|0]:0;if(!Pc(s,o+4|0)){break z}a=H[s>>2];d=H[j+24>>2];n=I[d+10|0];f=((n<<1)+d|0)+14|0;c=H[c>>2];m=f+c|0;k=c;c=I[d+8|0]|I[d+9|0]<<8;c=(c<<8|c>>>8)&65535;x=I[(k>>>0>>0?m:163632)|0];w=I[d+11|0];if(x>>>0>=w>>>0){break y}k=c+f|0;m=N(a,20);f=H[m+t>>2];v=I[(c>>>0>f>>>0?k+f|0:163632)|0];f=I[d+12|0];if(v>>>0>=f>>>0){break y}k=c+k|0;c=v+N(f,x)|0;c=I[(c>>>0>>0?k+c|0:163632)|0];d=c>>>0>>0?(d+(c<<1)|0)+14|0:163632;d=I[d|0]|I[d+1|0]<<8;if(!d){break y}d=d<<8|d>>>8;A:{if(!u){c=d<<16;f=c>>31;d=HM(H[i+40>>2],H[i+44>>2],c>>16,f)+32768|0;f=Xa;f=d>>>0<32768?f+1|0:f;d=(f&65535)<<16|d>>>16;if(I[j+28|0]){H[(l+m|0)+12>>2]=d;H[g+144>>2]=H[g+144>>2]|8;break A}c=l+p|0;f=d>>1;H[c>>2]=f+H[c>>2];c=l+m|0;d=d-f|0;H[c>>2]=d+H[c>>2];H[c+8>>2]=d+H[c+8>>2];break A}c=d<<16;f=c>>31;d=HM(H[i+48>>2],H[i+52>>2],c>>16,f)+32768|0;f=Xa;f=d>>>0<32768?f+1|0:f;d=(f&65535)<<16|d>>>16;if(I[j+28|0]){H[(l+m|0)+8>>2]=d;H[g+144>>2]=H[g+144>>2]|8;break A}c=l+p|0;f=d>>1;H[c+4>>2]=f+H[c+4>>2];c=l+m|0;d=d-f|0;H[c+4>>2]=d+H[c+4>>2];H[c+12>>2]=d+H[c+12>>2]}Ad(g,e,a+1|0);a=H[s>>2];break y}a=e+1|0}e=a;if(h>>>0>a>>>0){continue}break}}Fb(g,i,106331,0)}Wa=o+160|0}}Wa=j+80|0;return q|0}function IK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=Wa-32|0;Wa=j;H[b+72>>2]=0;H[b+64>>2]=0;F[b+61|0]=1;F[b+62|0]=0;H[b+84>>2]=H[b+80>>2];H[b+64>>2]=0;w=H[b+68>>2];a:{if(!w){break a}h=b- -64|0;while(1){if(!I[b+60|0]){break a}k=H[b+80>>2];q=k+N(d,20)|0;f=H[q>>2];b:{if((f&-2)==12334){c:{if(!(H[b+72>>2]!=(i|0)|i>>>0<=m>>>0)){Qb(b,3,m,d,1,1);if(I[b+61|0]){d:{if(H[b+84>>2]==H[b+80>>2]){d=H[b+72>>2];if((d|0)==H[h>>2]){break d}}if(!qb(b,1,1)){break a}d=H[b+80>>2]+N(H[h>>2],20)|0;e=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=e;H[a+16>>2]=H[d+16>>2];e=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=e;d=H[b+72>>2]}H[b+72>>2]=d+1}H[h>>2]=H[h>>2]+1;a=j+8|0;H[a>>2]=0;d=a;a=H[c+80>>2];if(Ya[H[a+164>>2]](c,H[c+84>>2],f,d,H[a+20>>2])|0){a=H[c+80>>2];if(!(Ya[H[a+176>>2]](c,H[c+84>>2],H[j+8>>2],H[a+32>>2])|0)){break c}}ae(b,m,i+1|0);d=H[b+84>>2];a=d+N(i,20)|0;H[j+24>>2]=H[a+16>>2];e=H[a+12>>2];H[j+16>>2]=H[a+8>>2];H[j+20>>2]=e;e=H[a+4>>2];H[j+8>>2]=H[a>>2];H[j+12>>2]=e;a=d+N(m,20)|0;Yb(a+20|0,a,N(i-m|0,20));H[a+16>>2]=H[j+24>>2];d=H[j+20>>2];H[a+8>>2]=H[j+16>>2];H[a+12>>2]=d;d=H[j+12>>2];H[a>>2]=H[j+8>>2];H[a+4>>2]=d;break c}e:{if(I[b+16|0]&16){break e}H[j+8>>2]=0;a=H[c+80>>2];if(!(Ya[H[a+164>>2]](c,H[c+84>>2],9676,j+8|0,H[a+20>>2])|0)){break e}a=j+8|0;H[a>>2]=0;d=a;a=H[c+80>>2];f:{if(!(Ya[H[a+164>>2]](c,H[c+84>>2],f,d,H[a+20>>2])|0)){i=9676;break f}a=H[c+80>>2];a=Ya[H[a+176>>2]](c,H[c+84>>2],H[j+8>>2],H[a+32>>2])|0;i=a?9676:f;f=a?f:9676}if(!qb(b,1,2)){break c}a=H[b+64>>2];g:{if(a>>>0>2]){d=H[b+72>>2];m=H[b+84>>2];a=H[b+80>>2]+N(a,20)|0;break g}m=H[b+84>>2];d=H[b+72>>2];a=m+N(d?d-1|0:0,20)|0}e=H[a+4>>2];d=N(d,20)+m|0;H[d>>2]=H[a>>2];H[d+4>>2]=e;H[d+16>>2]=H[a+16>>2];e=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=e;H[d>>2]=f;e=H[a+4>>2];H[d+20>>2]=H[a>>2];H[d+24>>2]=e;e=H[a+12>>2];H[d+28>>2]=H[a+8>>2];H[d+32>>2]=e;H[d+36>>2]=H[a+16>>2];H[d+20>>2]=i;H[h>>2]=H[h>>2]+1;H[b+72>>2]=H[b+72>>2]+2;break c}if(I[b+61|0]){h:{if(H[b+84>>2]==H[b+80>>2]){f=H[b+72>>2];if((f|0)==H[h>>2]){break h}}if(!qb(b,1,1)){break c}d=H[b+80>>2]+N(H[h>>2],20)|0;e=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=e;H[a+16>>2]=H[d+16>>2];e=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=e;f=H[b+72>>2]}H[b+72>>2]=f+1}H[h>>2]=H[h>>2]+1}m=H[b+72>>2];i=m;break b}m=H[b+72>>2];i:{j:{k:{y=f-4352|0;l:{if(!(f-43360>>>0>28&y>>>0>=96)){o=d+1|0;if(o>>>0>=w>>>0){break l}n=H[k+N(o,20)>>2];if(n-4448>>>0>=72&n-55216>>>0>22){break l}z=0;u=0;a=d+2|0;if(a>>>0>>0){a=H[k+N(a,20)>>2];e=a-4520>>>0<88|a-55243>>>0<49;z=e?a-4519|0:0;u=e?a:0}a=H[b+68>>2];p=u?3:2;e=p+d|0;r=a>>>0>>0?a:e;t=r-d|0;m:{if(t>>>0<2){break m}e=H[b+144>>2]|32;H[b+144>>2]=e;if(d>>>0>=r>>>0){break m}i=-1;a=d;x=r+(a^-1)|0;if(x>>>0>=3){s=t&-4;g=0;while(1){l=k+N(a,20)|0;v=H[l+8>>2];i=i>>>0>>0?i:v;v=H[l+28>>2];i=i>>>0>>0?i:v;v=H[l+48>>2];i=i>>>0>>0?i:v;l=H[l+68>>2];i=i>>>0>>0?i:l;a=a+4|0;g=g+4|0;if((s|0)!=(g|0)){continue}break}}g=0;l=t&3;if(l){while(1){s=H[(k+N(a,20)|0)+8>>2];i=i>>>0>>0?i:s;a=a+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=d;if(t&1){if(H[q+8>>2]!=(i|0)){H[b+144>>2]=e;H[q+4>>2]=H[q+4>>2]|3}a=o}if(!x){break m}while(1){g=k+N(a,20)|0;if(H[g+8>>2]!=(i|0)){e=e|32;H[b+144>>2]=e;H[g+4>>2]=H[g+4>>2]|3}g=k+N(a+1|0,20)|0;if(H[g+8>>2]!=(i|0)){e=e|32;H[b+144>>2]=e;H[g+4>>2]=H[g+4>>2]|3}a=a+2|0;if((r|0)!=(a|0)){continue}break}}n:{o:{p:{q:{r:{if(!(y>>>0>18|n-4449>>>0>20|(u-4520>>>0>26?u:0))){H[j+8>>2]=0;e=((N(f,588)+N(n,28)|0)+z|0)-2639516|0;a=H[c+80>>2];if(Ya[H[a+164>>2]](c,H[c+84>>2],e,j+8|0,H[a+20>>2])|0){break r}d=H[h>>2]}F[(H[b+80>>2]+N(d,20)|0)+19|0]=1;if(!I[b+61|0]){break o}if(H[b+84>>2]==H[b+80>>2]){f=H[b+72>>2];if((f|0)==H[h>>2]){break p}}if(qb(b,1,1)){break q}f=H[h>>2];break n}if(!qb(b,p,1)){i=m+1|0;break b}a=H[b+64>>2];kc(b,a,a+p|0);a=H[b+64>>2];s:{if(a>>>0>2]){d=H[b+72>>2];i=H[b+84>>2];a=H[b+80>>2]+N(a,20)|0;break s}i=H[b+84>>2];d=H[b+72>>2];a=i+N(d?d-1|0:0,20)|0}g=H[a+4>>2];d=N(d,20)+i|0;H[d>>2]=H[a>>2];H[d+4>>2]=g;H[d+16>>2]=H[a+16>>2];g=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=g;H[d>>2]=e;H[h>>2]=p+H[h>>2];H[b+72>>2]=H[b+72>>2]+1;i=m+1|0;break b}d=H[b+80>>2]+N(H[h>>2],20)|0;e=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=e;H[a+16>>2]=H[d+16>>2];e=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=e;f=H[b+72>>2]}H[b+72>>2]=f+1}f=H[h>>2]+1|0;H[h>>2]=f}F[(H[b+80>>2]+N(f,20)|0)+19|0]=2;t:{if(I[b+61|0]){u:{if(H[b+84>>2]==H[b+80>>2]){f=H[b+72>>2];if((f|0)==H[h>>2]){break u}}if(!qb(b,1,1)){break t}d=H[b+80>>2]+N(H[h>>2],20)|0;e=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=e;H[a+16>>2]=H[d+16>>2];e=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=e;f=H[b+72>>2]}H[b+72>>2]=f+1}H[h>>2]=H[h>>2]+1}if(u){F[(H[b+80>>2]+N(H[b+64>>2],20)|0)+19|0]=3;v:{if(I[b+61|0]){w:{if(H[b+84>>2]==H[b+80>>2]){f=H[b+72>>2];if((f|0)==H[h>>2]){break w}}if(!qb(b,1,1)){break v}d=H[b+80>>2]+N(H[h>>2],20)|0;e=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=e;H[a+16>>2]=H[d+16>>2];e=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=e;f=H[b+72>>2]}H[b+72>>2]=f+1}H[h>>2]=H[h>>2]+1}a=3}else{a=2}if(!I[b+60|0]){break a}i=a+m|0;if(H[b+20>>2]){break b}ae(b,m,i);break b}a=f-44032|0;if(a>>>0>11171){break l}H[j+8>>2]=0;a=a&65535;t=(a>>>0)/588|0;d=H[c+80>>2];u=Ya[H[d+164>>2]](c,H[c+84>>2],f,j+8|0,H[d+20>>2])|0;a=(a>>>0)%588|0;p=(a>>>0)/28|0;l=a-N(p,28)|0;o=l&65535;x:{y:{if(!o){a=H[h>>2]+1|0;z:{if(a>>>0>=w>>>0){break z}a=H[H[b+80>>2]+N(a,20)>>2];if(a-4520>>>0>26){break z}H[j+8>>2]=0;e=(a+f|0)-4519|0;a=H[c+80>>2];z=Ya[H[a+164>>2]](c,H[c+84>>2],e,j+8|0,H[a+20>>2])|0;if(z){if(qb(b,2,1)){a=H[b+64>>2];kc(b,a,a+2|0);a=H[b+64>>2];A:{if(a>>>0>2]){d=H[b+72>>2];o=H[b+84>>2];a=H[b+80>>2]+N(a,20)|0;break A}o=H[b+84>>2];d=H[b+72>>2];a=o+N(d?d-1|0:0,20)|0}g=H[a+4>>2];d=N(d,20)+o|0;H[d>>2]=H[a>>2];H[d+4>>2]=g;H[d+16>>2]=H[a+16>>2];g=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=g;H[d>>2]=e;H[h>>2]=H[h>>2]+2;H[b+72>>2]=H[b+72>>2]+1}i=m+1|0;break b}a=H[b+68>>2];g=H[b+64>>2];d=g+2|0;k=a>>>0>>0?a:d;q=k-g|0;if(q>>>0<2){break z}a=H[b+144>>2]|32;H[b+144>>2]=a;if(g>>>0>=k>>>0){break z}d=H[b+80>>2];f=-1;e=g;y=k+(e^-1)|0;if(y>>>0>=3){x=q&-4;r=0;while(1){n=d+N(e,20)|0;s=H[n+8>>2];f=f>>>0>>0?f:s;s=H[n+28>>2];f=f>>>0>>0?f:s;s=H[n+48>>2];f=f>>>0>>0?f:s;n=H[n+68>>2];f=f>>>0>>0?f:n;e=e+4|0;r=r+4|0;if((x|0)!=(r|0)){continue}break}}n=0;r=q&3;if(r){while(1){x=H[(d+N(e,20)|0)+8>>2];f=f>>>0>>0?f:x;e=e+1|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}if(q&1){e=d+N(g,20)|0;if(H[e+8>>2]!=(f|0)){H[b+144>>2]=a;H[e+4>>2]=H[e+4>>2]|3}g=g+1|0}if(y){while(1){e=d+N(g,20)|0;if(H[e+8>>2]!=(f|0)){a=a|32;H[b+144>>2]=a;H[e+4>>2]=H[e+4>>2]|3}e=d+N(g+1|0,20)|0;if(H[e+8>>2]!=(f|0)){a=a|32;H[b+144>>2]=a;H[e+4>>2]=H[e+4>>2]|3}g=g+2|0;if((k|0)!=(g|0)){continue}break}}if(z){break b}}if(!u){break y}a=H[h>>2]+1|0;if(a>>>0>=w>>>0){break x}a=H[H[b+80>>2]+N(a,20)>>2];if(a-4520>>>0<88){break y}if(a-55243>>>0>48){break x}break y}if(u){break x}}a=p+4449|0;H[j+12>>2]=a;k=t|4352;H[j+8>>2]=k;d=l+4519&65535;H[j+16>>2]=d;H[j+28>>2]=0;B:{e=H[c+80>>2];if(!(Ya[H[e+164>>2]](c,H[c+84>>2],k,j+28|0,H[e+20>>2])|0)){break B}H[j+28>>2]=0;e=a;a=H[c+80>>2];if(!(Ya[H[a+164>>2]](c,H[c+84>>2],e,j+28|0,H[a+20>>2])|0)){break B}C:{if(!o){e=2;break C}H[j+28>>2]=0;e=3;a=H[c+80>>2];if(!(Ya[H[a+164>>2]](c,H[c+84>>2],d,j+28|0,H[a+20>>2])|0)){break x}}if(!qb(b,1,e)){break i}a=H[b+64>>2];D:{if(a>>>0>2]){f=H[b+72>>2];g=H[b+84>>2];a=H[b+80>>2]+N(a,20)|0;break D}g=H[b+84>>2];f=H[b+72>>2];a=g+N(f?f-1|0:0,20)|0}d=N(f,20)+g|0;g=H[a+4>>2];H[d>>2]=H[a>>2];H[d+4>>2]=g;H[d+16>>2]=H[a+16>>2];g=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=g;H[d>>2]=k;g=H[j+12>>2];f=H[a+4>>2];H[d+20>>2]=H[a>>2];H[d+24>>2]=f;H[d+36>>2]=H[a+16>>2];f=H[a+12>>2];H[d+28>>2]=H[a+8>>2];H[d+32>>2]=f;H[d+20>>2]=g;if(o){break k}break j}if(o){break x}d=H[h>>2];a=d+1|0;if(w>>>0<=a>>>0){break x}k=H[b+80>>2];e=H[k+N(a,20)>>2];if(e-4520>>>0>=88&e-55243>>>0>48){break x}e=H[b+68>>2];g=d+2|0;q=e>>>0>>0?e:g;n=q-d|0;if(n>>>0<2){break x}e=H[b+144>>2]|32;H[b+144>>2]=e;if(d>>>0>=q>>>0){break x}f=-1;o=d;r=q+(d^-1)|0;if(r>>>0>=3){t=n&-4;g=0;while(1){p=k+N(o,20)|0;l=H[p+8>>2];f=f>>>0>>0?f:l;l=H[p+28>>2];f=f>>>0>>0?f:l;l=H[p+48>>2];f=f>>>0>>0?f:l;p=H[p+68>>2];f=f>>>0

>>0?f:p;o=o+4|0;g=g+4|0;if((t|0)!=(g|0)){continue}break}}g=0;p=n&3;if(p){while(1){t=H[(k+N(o,20)|0)+8>>2];f=f>>>0>>0?f:t;o=o+1|0;g=g+1|0;if((p|0)!=(g|0)){continue}break}}E:{if(!(n&1)){a=d;break E}d=k+N(d,20)|0;if(H[d+8>>2]==(f|0)){break E}H[b+144>>2]=e;H[d+4>>2]=H[d+4>>2]|3}if(!r){break x}while(1){d=k+N(a,20)|0;if(H[d+8>>2]!=(f|0)){e=e|32;H[b+144>>2]=e;H[d+4>>2]=H[d+4>>2]|3}d=k+N(a+1|0,20)|0;if(H[d+8>>2]!=(f|0)){e=e|32;H[b+144>>2]=e;H[d+4>>2]=H[d+4>>2]|3}a=a+2|0;if((q|0)!=(a|0)){continue}break}}i=u?m+1|0:i}if(I[b+61|0]){F:{if(H[b+84>>2]==H[b+80>>2]){f=H[b+72>>2];if((f|0)==H[h>>2]){break F}}if(!qb(b,1,1)){break b}d=H[b+80>>2]+N(H[h>>2],20)|0;e=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=e;H[a+16>>2]=H[d+16>>2];e=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=e;f=H[b+72>>2]}H[b+72>>2]=f+1}H[h>>2]=H[h>>2]+1;break b}g=H[j+16>>2];f=H[a+4>>2];H[d+40>>2]=H[a>>2];H[d+44>>2]=f;H[d+56>>2]=H[a+16>>2];f=H[a+12>>2];H[d+48>>2]=H[a+8>>2];H[d+52>>2]=f;H[d+40>>2]=g}H[h>>2]=H[h>>2]+1;H[b+72>>2]=H[b+72>>2]+e}if(!(!u|o)){G:{if(I[b+61|0]){H:{if(H[b+84>>2]==H[b+80>>2]){f=H[b+72>>2];if((f|0)==H[h>>2]){break H}}if(!qb(b,1,1)){break G}d=H[b+80>>2]+N(H[h>>2],20)|0;g=H[d+4>>2];a=H[b+84>>2]+N(H[b+72>>2],20)|0;H[a>>2]=H[d>>2];H[a+4>>2]=g;H[a+16>>2]=H[d+16>>2];g=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=g;f=H[b+72>>2]}H[b+72>>2]=f+1}H[h>>2]=H[h>>2]+1}e=e+1|0}if(!I[b+60|0]){break a}a=H[b+84>>2];d=a+N(m,20)|0;F[d+39|0]=2;F[d+19|0]=1;i=e+m|0;d=m+2|0;if(i>>>0>d>>>0){F[(a+N(d,20)|0)+19|0]=3}if(H[b+20>>2]){break b}ae(b,m,i)}d=H[h>>2];if(w>>>0>d>>>0){continue}break}}ad(b);Wa=j+32|0}function Vi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Wa-240|0;Wa=h;H[h+8>>2]=0;f=6;a:{if(!b|!d&(c|0)>=0){break a}q=I[b|0]&2?H[b+16>>2]!=0:q;H[h+12>>2]=0;b:{if(!a){f=33;break b}i=H[a>>2];g=Ya[H[i+4>>2]](i,40)|0;c:{if(!g){f=64;break c}F[g+24|0]=0;F[g+25|0]=0;F[g+26|0]=0;F[g+27|0]=0;F[g+28|0]=0;F[g+29|0]=0;F[g+30|0]=0;F[g+31|0]=0;F[g|0]=0;F[g+1|0]=0;F[g+2|0]=0;F[g+3|0]=0;F[g+4|0]=0;F[g+5|0]=0;F[g+6|0]=0;F[g+7|0]=0;F[g+32|0]=0;F[g+33|0]=0;F[g+34|0]=0;F[g+35|0]=0;F[g+36|0]=0;F[g+37|0]=0;F[g+38|0]=0;F[g+39|0]=0;F[g+16|0]=0;F[g+17|0]=0;F[g+18|0]=0;F[g+19|0]=0;F[g+20|0]=0;F[g+21|0]=0;F[g+22|0]=0;F[g+23|0]=0;F[g+8|0]=0;F[g+9|0]=0;F[g+10|0]=0;F[g+11|0]=0;F[g+12|0]=0;F[g+13|0]=0;F[g+14|0]=0;F[g+15|0]=0;H[g+28>>2]=i;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{m=H[b>>2];if(m&1){m=H[b+4>>2];f=H[b+8>>2];H[g+32>>2]=0;H[g+8>>2]=0;H[g+20>>2]=0;H[g+24>>2]=0;H[g>>2]=m;H[g+4>>2]=f;break m}n:{if(!(m&4)){if(!(m&2)|!H[b+16>>2]){break n}Ya[H[i+8>>2]](i,g);g=H[b+16>>2];break m}f=Vf(g,H[b+12>>2]);H[g+16>>2]=H[b+12>>2];if(!f){break m}}Ya[H[i+8>>2]](i,g);H[h+12>>2]=0;m=0;break l}H[g+28>>2]=i;H[h+12>>2]=g;r=H[a>>2];o:{o=H[b>>2];if(!(o&8)){break o}m=H[b+20>>2];if(!m){break o}f=32;if(F[H[m>>2]]&1){g=0;e=h+12|0;if(o&16){g=H[b+28>>2];a=H[b+24>>2]}else{a=0}f=Uo(m,e,q,c,a,g,h+8|0);if(!f){break j}g=H[h+12>>2];if(!g){break b}i=H[g+28>>2]}a=H[g+24>>2];if(a){Ya[a|0](g)}if(q){break b}Ya[H[i+8>>2]](i,g);break b}m=H[a+16>>2];if((m|0)<=0){f=11;m=0;break c}o=((m<<2)+a|0)+20|0;g=a+20|0;f=11;i=0;while(1){m=H[g>>2];if(F[H[m>>2]]&1){f=0;i=0;if(I[b|0]&16){f=H[b+24>>2];i=H[b+28>>2]}f=Uo(m,h+12|0,q,c,f,i,h+8|0);if(!f){break j}p:{if(!e){break p}if(rb(H[H[H[g>>2]>>2]+8>>2],10087)|(f&255)!=142){break p}i=H[h+12>>2];f=H[i+20>>2];if(f){if(Ya[f|0](i,0,0,0)|0){break k}}H[i+8>>2]=0;f=So(a,i,c,d);if(f){break p}a=H[i+28>>2];b=H[i+24>>2];if(b){Ya[b|0](i)}f=0;if(q){break a}Ya[H[a+8>>2]](a,i);break a}if((f&255)!=2){break l}i=m}g=g+4|0;if(o>>>0>g>>>0){continue}break}m=i}q:{r:{i=f&255;switch(i-81|0){case 0:case 4:break q;case 1:case 2:case 3:break c;default:break r}}if((i|0)!=2){break c}}if(!e){break e}i=H[h+12>>2];if(i){break k}i=0;s=1;break i}e=H[i+20>>2];if(e){if(Ya[e|0](i,0,0,0)|0){break i}}H[i+8>>2]=0;e=H[i+4>>2];if(!e){break i}g=H[i+20>>2];s:{if(g){f=Ya[g|0](i,0,h+112|0,128)|0;break s}f=e>>>0<128?e:128;mb(h+112|0,H[i>>2],f)}H[i+8>>2]=f;if(f>>>0<128){break i}t:{u:{if(I[h+194|0]|(I[h+112|0]|I[h+186|0])){break u}e=I[h+113|0];if(!e|e>>>0>33|(I[h+175|0]|I[(e+h|0)+114|0])){break u}e=F[h+195|0];if((e|0)<0){break u}f=Si(a,i,(I[h+198|0]|(I[h+196|0]<<16|(e&255)<<24|I[h+197|0]<<8))+255&-128,c,d);if((f&255)!=2){break t}}f=Si(a,i,0,c,d)}e=f&255;if((e|0)==85){break h}if((e|0)!=2){break g}break h}b=Ya[H[r+4>>2]](r,12)|0;if(!b){f=64;break b}F[b|0]=0;F[b+1|0]=0;F[b+2|0]=0;F[b+3|0]=0;F[b+4|0]=0;F[b+5|0]=0;F[b+6|0]=0;F[b+7|0]=0;a=H[h+8>>2];H[b+8>>2]=a;e=H[a+96>>2];m=H[e+20>>2];H[b>>2]=m;H[(m?m+4|0:e+16|0)>>2]=b;H[e+20>>2]=b;v:{if((c|0)>=0){f=Xi(a,0);if(f){break v}f=Oo(a,h+112|0);if(f){break v}H[a+88>>2]=H[h+112>>2]}b=H[a+8>>2];w:{if(!(b&1)){break w}f=G[a+74>>1];if((f|0)<0){f=0-f|0;G[a+74>>1]=f}if(b&32){break w}G[a+78>>1]=f}x:{if(!(b&2)){break x}c=H[a+28>>2];if((c|0)<=0){break x}e=H[a+32>>2];f=0;while(1){b=e+(f<<4)|0;m=G[b>>1];if((m|0)<0){m=0-m|0;G[b>>1]=m}i=H[b+8>>2];if((i|0)<0){H[b+8>>2]=0-i}i=H[b+12>>2];if((i|0)<0){H[b+12>>2]=0-i}if(m<<16>>16<0){H[b>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0}f=f+1|0;if((c|0)!=(f|0)){continue}break}}b=H[a+128>>2];H[b+64>>2]=1;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=65536;H[b>>2]=65536;H[b+4>>2]=0;F[b+56|0]=255;if(d){H[d>>2]=a;f=0;break a}if(a){Qg(a)}f=0;break a}c=H[a+96>>2];if(!c){break a}d=H[a+128>>2];b=H[d+64>>2];H[d+64>>2]=b-1;if((b|0)>1){break a}b=H[c+16>>2];if(!b){break a}m=c+16|0;d=H[c+8>>2];while(1){if((a|0)!=H[b+8>>2]){b=H[b+4>>2];if(b){continue}break a}break}e=H[b>>2];i=e?e+4|0:m;m=H[b+4>>2];H[i>>2]=m;H[(m?m:c+20|0)>>2]=e;Ya[H[d+8>>2]](d,b);hf(d,a,c);break a}f=85}if(!(I[b|0]&4)){break g}o=H[a>>2];g=H[b+12>>2];n=h- -64|0;e=h+112|0;H[e>>2]=0;y:{z:{A:{if(i){k=H[i+20>>2];B:{if(k){f=85;if(Ya[k|0](i,0,0,0)|0){break B}}H[i+8>>2]=0;H[h+16>>2]=0;H[e>>2]=0;f=Ne(i,333319,n)}H[h+16>>2]=f;H[e+4>>2]=0;f=H[i+20>>2];if(!f){break A}if(!(Ya[f|0](i,0,0,0)|0)){break A}H[h+20>>2]=85;break z}H[h+16>>2]=81;H[e+4>>2]=0;H[h+20>>2]=81;H[e+8>>2]=0;H[h+24>>2]=0;t=h,u=Gi(a,0,g,e+8|0,n+8|0),H[t+24>>2]=u;H[e+12>>2]=0;H[h+28>>2]=0;f=wb(g);l=f+18|0;C:{D:{if((f|0)<=-18){p=6;if(l){break C}break D}j=H[a>>2];j=Ya[H[j+4>>2]](j,l)|0;p=64;if(!j){break C}kb(j,0,l)}p=mb(j,g,f);f=p+f|0;j=I[11598]|I[11599]<<8;F[f+16|0]=j;F[f+17|0]=j>>>8;j=I[11594]|I[11595]<<8|(I[11596]<<16|I[11597]<<24);l=I[11590]|I[11591]<<8|(I[11592]<<16|I[11593]<<24);F[f+8|0]=l;F[f+9|0]=l>>>8;F[f+10|0]=l>>>16;F[f+11|0]=l>>>24;F[f+12|0]=j;F[f+13|0]=j>>>8;F[f+14|0]=j>>>16;F[f+15|0]=j>>>24;j=I[11586]|I[11587]<<8|(I[11588]<<16|I[11589]<<24);l=I[11582]|I[11583]<<8|(I[11584]<<16|I[11585]<<24);F[f|0]=l;F[f+1|0]=l>>>8;F[f+2|0]=l>>>16;F[f+3|0]=l>>>24;F[f+4|0]=j;F[f+5|0]=j>>>8;F[f+6|0]=j>>>16;F[f+7|0]=j>>>24;H[e+12>>2]=p;H[n+12>>2]=0;p=0}H[h+28>>2]=p;H[e+16>>2]=0;H[h+32>>2]=0;j=6;f=wb(g);l=f+6|0;E:{F:{if((f|0)<=-6){if(!l){break F}break E}j=H[a>>2];k=Ya[H[j+4>>2]](j,l)|0;if(!k){j=64;break E}kb(k,0,l)}j=0;l=mb(k,g,f);f=l+f|0;k=I[11728]|I[11729]<<8;F[f+4|0]=k;F[f+5|0]=k>>>8;k=I[11724]|I[11725]<<8|(I[11726]<<16|I[11727]<<24);F[f|0]=k;F[f+1|0]=k>>>8;F[f+2|0]=k>>>16;F[f+3|0]=k>>>24;H[e+16>>2]=l;H[n+16>>2]=0}H[h+32>>2]=j;H[e+20>>2]=0;H[h+36>>2]=0;f=Od(H[a>>2],g,11828);if(f){H[e+20>>2]=f;H[n+20>>2]=0;f=0}else{f=64}H[h+36>>2]=f;H[e+24>>2]=0;H[h+40>>2]=0;f=Od(H[a>>2],g,11927);if(f){H[e+24>>2]=f;H[n+24>>2]=0;f=0}else{f=64}H[h+40>>2]=f;H[e+28>>2]=0;H[h+44>>2]=0;t=h,u=Fi(a,0,g,e+28|0,n+28|0),H[t+44>>2]=u;H[e+32>>2]=0;H[h+48>>2]=0;t=h,u=Ei(a,0,g,e+32|0,n+32|0),H[t+48>>2]=u;break y}H[i+8>>2]=0;H[h+20>>2]=0;H[e+4>>2]=0;t=h,u=Ne(i,333312,n+4|0),H[t+20>>2]=u}H[e+8>>2]=0;G:{H:{f=H[i+20>>2];if(!f){break H}if(!(Ya[f|0](i,0,0,0)|0)){break H}H[h+24>>2]=85;break G}H[i+8>>2]=0;H[h+24>>2]=0;t=h,u=Gi(a,i,g,e+8|0,n+8|0),H[t+24>>2]=u}H[e+12>>2]=0;I:{J:{f=H[i+20>>2];if(!f){break J}if(!(Ya[f|0](i,0,0,0)|0)){break J}H[h+28>>2]=85;break I}H[i+8>>2]=0;H[h+28>>2]=0;f=wb(g);k=f+18|0;K:{L:{if((f|0)<=-18){l=6;if(k){break K}break L}j=H[a>>2];j=Ya[H[j+4>>2]](j,k)|0;l=64;if(!j){break K}kb(j,0,k)}l=mb(j,g,f);f=l+f|0;j=I[11598]|I[11599]<<8;F[f+16|0]=j;F[f+17|0]=j>>>8;j=I[11594]|I[11595]<<8|(I[11596]<<16|I[11597]<<24);k=I[11590]|I[11591]<<8|(I[11592]<<16|I[11593]<<24);F[f+8|0]=k;F[f+9|0]=k>>>8;F[f+10|0]=k>>>16;F[f+11|0]=k>>>24;F[f+12|0]=j;F[f+13|0]=j>>>8;F[f+14|0]=j>>>16;F[f+15|0]=j>>>24;j=I[11586]|I[11587]<<8|(I[11588]<<16|I[11589]<<24);k=I[11582]|I[11583]<<8|(I[11584]<<16|I[11585]<<24);F[f|0]=k;F[f+1|0]=k>>>8;F[f+2|0]=k>>>16;F[f+3|0]=k>>>24;F[f+4|0]=j;F[f+5|0]=j>>>8;F[f+6|0]=j>>>16;F[f+7|0]=j>>>24;H[e+12>>2]=l;H[n+12>>2]=0;l=0}H[h+28>>2]=l}H[e+16>>2]=0;M:{N:{f=H[i+20>>2];if(!f){break N}if(!(Ya[f|0](i,0,0,0)|0)){break N}H[h+32>>2]=85;break M}H[i+8>>2]=0;H[h+32>>2]=0;k=6;f=wb(g);l=f+6|0;O:{P:{if((f|0)<=-6){if(l){break O}j=0;break P}j=H[a>>2];j=Ya[H[j+4>>2]](j,l)|0;if(!j){k=64;break O}kb(j,0,l)}k=0;l=mb(j,g,f);f=l+f|0;j=I[11728]|I[11729]<<8;F[f+4|0]=j;F[f+5|0]=j>>>8;j=I[11724]|I[11725]<<8|(I[11726]<<16|I[11727]<<24);F[f|0]=j;F[f+1|0]=j>>>8;F[f+2|0]=j>>>16;F[f+3|0]=j>>>24;H[e+16>>2]=l;H[n+16>>2]=0}H[h+32>>2]=k}H[e+20>>2]=0;Q:{R:{f=H[i+20>>2];if(!f){break R}if(!(Ya[f|0](i,0,0,0)|0)){break R}H[h+36>>2]=85;break Q}H[i+8>>2]=0;H[h+36>>2]=0;f=Od(H[a>>2],g,11828);if(f){H[e+20>>2]=f;H[n+20>>2]=0;f=0}else{f=64}H[h+36>>2]=f}H[e+24>>2]=0;S:{T:{f=H[i+20>>2];if(!f){break T}if(!(Ya[f|0](i,0,0,0)|0)){break T}H[h+40>>2]=85;break S}H[i+8>>2]=0;H[h+40>>2]=0;f=Od(H[a>>2],g,11927);if(f){H[e+24>>2]=f;H[n+24>>2]=0;f=0}else{f=64}H[h+40>>2]=f}H[e+28>>2]=0;U:{V:{f=H[i+20>>2];if(!f){break V}if(!(Ya[f|0](i,0,0,0)|0)){break V}H[h+44>>2]=85;break U}H[i+8>>2]=0;H[h+44>>2]=0;t=h,u=Fi(a,i,g,e+28|0,n+28|0),H[t+44>>2]=u}H[e+32>>2]=0;W:{f=H[i+20>>2];if(!f){break W}if(!(Ya[f|0](i,0,0,0)|0)){break W}H[h+48>>2]=85;break y}H[i+8>>2]=0;H[h+48>>2]=0;t=h,u=Ei(a,i,g,e+32|0,n+32|0),H[t+48>>2]=u}e=0;j=2;f=0;while(1){X:{l=H[(f<<3)+29156>>2]-3|0;Y:{if(e&255?l>>>0<=1:0){break Y}p=f<<2;if(H[p+(h+16|0)>>2]){break Y}k=H[(h+112|0)+p>>2];if(!k){k=H[b+12>>2]}Z:{n=H[a>>2];g=Ya[H[n+4>>2]](n,40)|0;_:{if(!g){j=64;break _}F[g+24|0]=0;F[g+25|0]=0;F[g+26|0]=0;F[g+27|0]=0;F[g+28|0]=0;F[g+29|0]=0;F[g+30|0]=0;F[g+31|0]=0;F[g|0]=0;F[g+1|0]=0;F[g+2|0]=0;F[g+3|0]=0;F[g+4|0]=0;F[g+5|0]=0;F[g+6|0]=0;F[g+7|0]=0;F[g+32|0]=0;F[g+33|0]=0;F[g+34|0]=0;F[g+35|0]=0;F[g+36|0]=0;F[g+37|0]=0;F[g+38|0]=0;F[g+39|0]=0;F[g+16|0]=0;F[g+17|0]=0;F[g+18|0]=0;F[g+19|0]=0;F[g+20|0]=0;F[g+21|0]=0;F[g+22|0]=0;F[g+23|0]=0;F[g+8|0]=0;F[g+9|0]=0;F[g+10|0]=0;F[g+11|0]=0;F[g+12|0]=0;F[g+13|0]=0;F[g+14|0]=0;F[g+15|0]=0;H[g+28>>2]=n;j=Vf(g,k);H[g+16>>2]=k;if(!j){break Z}Ya[H[n+8>>2]](n,g)}e=l>>>0<2?(j&255)==81?1:e:e;break Y}H[g+28>>2]=n;j=Si(a,g,H[(h- -64|0)+p>>2],c,d);n=H[g+28>>2];k=H[g+24>>2];if(k){Ya[k|0](g)}Ya[H[n+8>>2]](n,g);if(!j){j=0;break X}e=l>>>0<2?1:e}f=f+1|0;if((f|0)!=9){continue}}break}a=H[h+112>>2];if(a){Ya[H[o+8>>2]](o,a);H[h+112>>2]=0}a=H[h+116>>2];if(a){Ya[H[o+8>>2]](o,a);H[h+116>>2]=0}a=H[h+120>>2];if(a){Ya[H[o+8>>2]](o,a);H[h+120>>2]=0}a=H[h+124>>2];if(a){Ya[H[o+8>>2]](o,a)}a=H[h+128>>2];if(a){Ya[H[o+8>>2]](o,a)}a=H[h+132>>2];if(a){Ya[H[o+8>>2]](o,a)}a=H[h+136>>2];if(a){Ya[H[o+8>>2]](o,a)}a=H[h+140>>2];if(a){Ya[H[o+8>>2]](o,a)}a=H[h+144>>2];if(a){Ya[H[o+8>>2]](o,a)}if(!j){break f}break d}if(f){break e}}f=0;if(s){break a}a=H[i+28>>2];b=H[i+24>>2];if(b){Ya[b|0](i)}if(q){break a}Ya[H[a+8>>2]](a,i);break a}if((f&255)!=2){break c}}f=2}a=H[h+12>>2];if(!a){break b}b=H[a+28>>2];c=H[a+24>>2];if(c){Ya[c|0](a)}if(q){break b}Ya[H[b+8>>2]](b,a)}a=H[h+8>>2];if(!a){break a}hf(r,a,m)}Wa=h+240|0;return f}function vw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=Wa-1536|0;Wa=e;H[b>>2]=1;n=gd(H[b+96>>2],10650,1);H[b+488>>2]=n;l=Ed(H[H[b+96>>2]+4>>2],10788);H[b+492>>2]=l;a:{if(!l){a=11;break a}q=b,r=Ed(H[H[b+96>>2]+4>>2],10580),H[q+552>>2]=r;i=H[b+492>>2];a=e+8|0;kb(a,0,380);H[b+544>>2]=0;H[b+536>>2]=-1;H[b+540>>2]=-1;H[b+284>>2]=1;H[b+348>>2]=3932;H[b+172>>2]=4;H[b+276>>2]=2596864;H[b+280>>2]=7;f=H[b+104>>2];g=H[b+100>>2];Ya[H[H[i+4>>2]>>2]](a,0,0,g);H[e+92>>2]=0;H[e+96>>2]=0;F[e+99|0]=0;F[e+100|0]=0;F[e+101|0]=0;F[e+102|0]=0;H[e+84>>2]=0;H[e+88>>2]=0;H[e+80>>2]=f;a=bm(f,11316,14);H[e+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=bm(f,11489,10);H[e+4>>2]=a;if(a){break d}}a=ob(f,0);H[e+4>>2]=a;if(a){break d}h=yb(f,e+1528|0);e:{f:{g:{h:{a=H[e+1528>>2];if(!a){if((h+32767&65535)>>>0>=2){break g}d=Qc(f,e+1528|0);a=H[e+1528>>2];if(!a){break h}}H[e+4>>2]=a;break d}H[e+4>>2]=0;if((h|0)==32769){break f}}a=ob(f,0);H[e+4>>2]=a;if(a){break d}d=H[f+4>>2];break e}F[e+100|0]=1}i:{if(!H[f+20>>2]){a=H[f+8>>2];h=H[f>>2];F[e+101|0]=1;H[e+88>>2]=d;H[e+84>>2]=a+h;a=dc(f,d);H[e+4>>2]=a;if(a){break d}d=H[e+88>>2];break i}h=zb(g,d,e+4|0);H[e+84>>2]=h;a=H[e+4>>2];if(a){break d}a=ec(f,h,d);H[e+4>>2]=a;if(a){break d}H[e+88>>2]=d}f=H[e+84>>2];H[e+12>>2]=f;H[e+8>>2]=f;H[e+16>>2]=d+f;break c}if(I[e+101|0]){H[e>>2]=a;break b}a=H[e+84>>2];if(a){Ya[H[g+8>>2]](g,a)}f=0;H[e+84>>2]=0;a=H[e+4>>2];H[e>>2]=a;if(a){break b}d=H[e+88>>2]}a=am(b,e+8|0,f,d);H[e>>2]=a;if(a){break b}j=H[e+24>>2];a=H[e+80>>2];H[e+4>>2]=0;j:{k:{l:{m:{if(I[e+100|0]){h=H[a+8>>2];H[e+96>>2]=0;while(1){f=yb(a,e+1528|0);n:{d=H[e+1528>>2];if(!d){if((f+32767&65535)>>>0>=2){H[e+4>>2]=0;break m}g=Qc(a,e+1528|0);d=H[e+1528>>2];if(!d){break n}}H[e+4>>2]=d;H[e>>2]=d;break b}H[e+4>>2]=0;if((f|0)!=32770){break m}H[e+96>>2]=g+H[e+96>>2];g=dc(a,g);H[e+4>>2]=g;if(!g){continue}break}break k}d=H[e+84>>2];h=H[e+88>>2];f=d+h|0;a=d;while(1){o:{p:{if(I[a|0]!=101|a+9>>>0>=f>>>0|(I[a+1|0]!=101|I[a+2|0]!=120)){break p}if(I[a+3|0]!=101){break p}if(I[a+4|0]==99){break o}}a=a+1|0;if(f>>>0>a>>>0){continue}H[e>>2]=3;break b}a=a+10|0;H[e+16>>2]=a;H[e+8>>2]=d;q:{if(a>>>0>d>>>0){while(1){r:{if(I[d|0]!=101|d+5>>>0>=a>>>0|(I[d+1|0]!=101|I[d+2|0]!=120)){break r}if(I[d+3|0]!=101){break r}if(I[d+4|0]==99){break q}}Ya[H[e+40>>2]](e+8|0);if(!H[e+20>>2]){Ya[H[e+36>>2]](e+8|0);d=H[e+8>>2];if(d>>>0>>0){continue}}break}h=H[e+88>>2];d=H[e+84>>2]}g=3;f=d+h|0;if(f>>>0>a>>>0){continue}break k}break}H[e+16>>2]=H[e+84>>2]+H[e+88>>2];Ya[H[e+40>>2]](e+8|0);h=H[e+16>>2];a=H[e+8>>2];f=h-a|0;d=tf(a,10,f);if(d){d=tf(a,13,f)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break k}k=a+f|0;while(1){s:{f=I[a|0];if(!((f|0)==9|(f|0)==32|d&(f|0)==13)){if((f|0)!=10){break s}}a=a+1|0;if((k|0)!=(a|0)){continue}break k}break}d=H[e+84>>2];f=H[e+88>>2]+(d-a|0)|0;t:{if(I[e+101|0]){d=zb(j,f+1|0,e+4|0);H[e+92>>2]=d;g=H[e+4>>2];if(g){break k}H[e+96>>2]=f;break t}H[e+96>>2]=f;H[e+92>>2]=d;F[e+102|0]=1;H[e+84>>2]=0;H[e+88>>2]=0}u:{if(h>>>0<=a+3>>>0){break u}v:{g=I[a|0];if(g-48>>>0<10){break v}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break u}}w:{g=I[a+1|0];if(g-48>>>0<10){break w}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break u}}x:{g=I[a+2|0];if(g-48>>>0<10){break x}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break u}}y:{g=I[a+3|0];if(g-48>>>0<10){break y}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break y;default:break u}}H[e+8>>2]=a;Ya[H[H[i+4>>2]+24>>2]](e+8|0,d,f,e+1528|0,0)|0;a=H[e+1528>>2];H[e+96>>2]=a;F[a+H[e+92>>2]|0]=0;break l}Yb(d,a,f);break l}if(!H[e+96>>2]){H[e>>2]=3;break b}g=ob(a,h);H[e+4>>2]=g;if(g){break k}q=e,r=zb(j,H[e+96>>2],e+4|0),H[q+92>>2]=r;g=H[e+4>>2];if(g){break k}H[e+96>>2]=0;f=yb(a,e+1528|0);z:{if(H[e+1528>>2]){break z}while(1){if((f+32767&65535)>>>0>1){break z}d=Qc(a,e+1528|0);if(H[e+1528>>2]){break z}H[e+4>>2]=0;if((f&65535)!=32770){break z}g=ec(a,H[e+92>>2]+H[e+96>>2]|0,d);H[e+4>>2]=g;if(g){break k}H[e+96>>2]=d+H[e+96>>2];f=yb(a,e+1528|0);if(!H[e+1528>>2]){continue}break}}H[e+4>>2]=0}Ya[H[i+16>>2]](H[e+92>>2],H[e+96>>2],55665);g=3;if(K[e+96>>2]>3){break j}}H[e>>2]=g;break b}F[H[e+92>>2]]=32;F[H[e+92>>2]+1|0]=32;F[H[e+92>>2]+2|0]=32;F[H[e+92>>2]+3|0]=32;a=H[e+92>>2];H[e+12>>2]=a;H[e+8>>2]=a;d=H[e+96>>2];H[e+16>>2]=d+a;f=H[e+4>>2];H[e>>2]=f;if(f){break b}a=am(b,e+8|0,a,d);H[e>>2]=a;if(a){break b}F[b+176|0]=I[b+176|0]&254;A:{B:{f=H[b+532>>2];if(!f){break B}if(H[f>>2]!=1<>2]){Lf(b);f=H[b+532>>2];if(!f){break B}}a=H[f+416>>2];if(!(!a|(a|0)==H[f+4>>2])){H[f+416>>2]=0}C:{D:{if(H[f>>2]){d=H[f+4>>2];if(d){break D}}Lf(b);f=H[b+532>>2];if(!f){break B}d=H[f+4>>2];if(!d){break C}}a=0;while(1){if(I[(N(a,12)+f|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break C}break}Lf(b);if(!H[b+532>>2]){break B}}a=H[b+544>>2];if(!a){break A}q=b,r=jb(H[b+100>>2],4,0,a,0,e),H[q+548>>2]=r;if(!H[e>>2]){break A}H[b+544>>2]=0;break b}H[b+544>>2]=0}f=H[e+160>>2];H[b+420>>2]=f;if(H[e+336>>2]){H[b+404>>2]=H[e+320>>2];H[b+392>>2]=H[e+324>>2];H[b+408>>2]=H[e+348>>2];H[b+412>>2]=H[e+352>>2];H[b+416>>2]=H[e+376>>2];H[e+376>>2]=0;H[e+336>>2]=0}if(!(H[H[b+128>>2]+52>>2]|H[e+228>>2])){H[e>>2]=3}g=0;H[e+228>>2]=0;H[b+396>>2]=H[e+216>>2];H[b+428>>2]=H[e+240>>2];H[b+432>>2]=H[e+244>>2];H[b+400>>2]=H[e+164>>2];H[b+424>>2]=H[e+188>>2];H[e+188>>2]=0;H[e+164>>2]=0;if(H[b+368>>2]==1){h=0;i=H[e+124>>2];E:{if((i|0)<=0){break E}if((f|0)>0){d=0;while(1){j=d<<2;k=H[j+H[e+132>>2]>>2];o=d<<1;G[o+H[b+384>>2]>>1]=0;H[j+H[b+388>>2]>>2]=11262;F:{if(!k){break F}p=H[b+424>>2];a=0;while(1){m=H[(a<<2)+p>>2];if(rb(k,m)){a=a+1|0;if((f|0)!=(a|0)){continue}break F}break}G[H[b+384>>2]+o>>1]=a;H[j+H[b+388>>2]>>2]=m;if(!rb(11262,m)){break F}h=(d|0)<(h|0)?h:d+1|0;g=(d|0)<(g|0)?d:g}d=d+1|0;if((i|0)!=(d|0)){continue}break}break E}f=0;a=0;if(i-1>>>0>=3){g=i&-4;d=0;while(1){G[H[b+384>>2]+(a<<1)>>1]=0;H[H[b+388>>2]+(a<<2)>>2]=11262;h=a|1;G[H[b+384>>2]+(h<<1)>>1]=0;H[H[b+388>>2]+(h<<2)>>2]=11262;h=a|2;G[H[b+384>>2]+(h<<1)>>1]=0;H[H[b+388>>2]+(h<<2)>>2]=11262;h=a|3;G[H[b+384>>2]+(h<<1)>>1]=0;H[H[b+388>>2]+(h<<2)>>2]=11262;a=a+4|0;d=d+4|0;if((g|0)!=(d|0)){continue}break}}d=i&3;if(!d){g=0;h=0;break E}while(1){g=0;G[H[b+384>>2]+(a<<1)>>1]=0;H[H[b+388>>2]+(a<<2)>>2]=11262;a=a+1|0;h=0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}H[b+380>>2]=h;H[b+376>>2]=g;H[b+372>>2]=H[e+104>>2]}if(K[b+280>>2]>=1001){H[b+280>>2]=7}if(K[b+284>>2]<1001){break b}H[b+284>>2]=1}a=H[e+24>>2];d=H[e+156>>2];if(d){Ya[d|0](e+108|0)}d=H[e+264>>2];if(d){Ya[d|0](e+216|0)}d=H[e+212>>2];if(d){Ya[d|0](e+164|0)}d=H[e+316>>2];if(d){Ya[d|0](e+268|0)}d=H[e+372>>2];if(d){Ya[d|0](e+324|0)}$g(H[e+376>>2],a);d=H[e+376>>2];if(d){Ya[H[a+8>>2]](a,d)}H[e+376>>2]=0;a=H[e+24>>2];d=H[e+92>>2];if(d){Ya[H[a+8>>2]](a,d)}H[e+92>>2]=0;if(!I[e+101|0]){d=H[e+84>>2];if(d){Ya[H[a+8>>2]](a,d)}H[e+84>>2]=0}Ya[H[e+32>>2]](e+8|0);a=H[e>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}H[b+4>>2]=0;H[b+16>>2]=H[b+420>>2];c=H[b+8>>2];a=c|2577;H[b+8>>2]=a;if(I[b+156|0]){a=c|2581;H[b+8>>2]=a}g=H[b+532>>2];if(g){H[b+8>>2]=a|256}H[b+24>>2]=0;f=H[b+144>>2];H[b+20>>2]=f;G:{H:{if(f){a=H[b+140>>2];if(!a){break H}c=I[a|0];if(!c){a=10918;break G}while(1){I:{J:{d=c&255;c=I[f|0];if((d|0)==(c|0)){a=a+1|0;break J}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break I}K:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break H;case 0:case 13:break J;default:break K}}if(c){break H}break G}f=f+1|0}c=I[a|0];if(c){continue}break}a=10918;break G}a=H[b+364>>2];if(!a){break H}H[b+20>>2]=a}a=H[b+148>>2];a=a?a:10918}H[b+24>>2]=a;c=H[b+152>>2]!=0;H[b+12>>2]=c;a=H[b+148>>2];L:{if(!a){break L}if(rb(a,11038)){if(rb(a,11114)){break L}}H[b+12>>2]=c|2}H[b+28>>2]=0;H[b+32>>2]=0;H[b+52>>2]=G[b+466>>1];a=G[b+470>>1];H[b+56>>2]=a;f=H[b+472>>2]+65535>>16;H[b+60>>2]=f;d=H[b+476>>2]+65535>>16;H[b- -64>>2]=d;c=J[b+68>>1];if(!c){G[b+68>>1]=1e3;c=1e3}G[b+76>>1]=f;G[b+72>>1]=a;G[b+70>>1]=d;a=d-a|0;c=(N(c,12)>>>0)/10|0;G[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=H[b+492>>2];if(!(Ya[H[H[d+12>>2]>>2]](e+8|0,b,0,0,H[b+424>>2],g,0,0,109)|0)){F[e+76|0]=0;F[e+78|0]=1;H[e+1372>>2]=H[b+404>>2];H[e+1376>>2]=H[b+408>>2];H[e+1380>>2]=H[b+412>>2];H[e+1384>>2]=H[b+416>>2];H[e+1504>>2]=H[b+548>>2];H[e+1508>>2]=H[b+544>>2];M:{if(H[b+420>>2]<=0){break M}N:{if(Kf(e+8|0,0,e+1528|0,e+4|0)){break N}a=H[H[H[e+12>>2]+128>>2]+52>>2];if(!a){break N}Ya[H[H[a>>2]+4>>2]](H[a+4>>2],e+1528|0)}a=H[e+48>>2];if(H[b+420>>2]<2){break M}f=1;while(1){O:{if(Kf(e+8|0,f,e+1528|0,e+4|0)){break O}c=H[H[H[e+12>>2]+128>>2]+52>>2];if(!c){break O}Ya[H[H[c>>2]+4>>2]](H[c+4>>2],e+1528|0)}c=H[e+48>>2];a=(a|0)<(c|0)?c:a;f=f+1|0;if((f|0)>2]){continue}break}}Ya[H[H[d+12>>2]+4>>2]](e+8|0);G[b+76>>1]=(((a>>31)+a|0)+32768&-65536)>>>16}G[b+78>>1]=J[b+74>>1];H[b+80>>2]=J[b+158>>1]|J[b+160>>1]<<16;if(!n){a=0;break a}f=H[l+32>>2];H[e+8>>2]=b;H[e+12>>2]=1970170211;H[e+16>>2]=65539;a=hd(H[f+12>>2],0,e+8|0,0);P:{if(!a){break P}c=a&255;if((c|0)==163){break P}if((c|0)!=7){break a}}G[e+16>>1]=7;a=0;Q:{R:{switch(H[b+368>>2]-1|0){case 1:G[e+18>>1]=0;H[e+12>>2]=1094995778;break Q;case 3:G[e+18>>1]=1;H[e+12>>2]=1094992453;f=f+4|0;break Q;case 0:G[e+18>>1]=2;H[e+12>>2]=1094992451;f=f+8|0;break Q;case 2:break R;default:break a}}f=f+12|0;G[e+18>>1]=3;H[e+12>>2]=1818326065}b=H[f>>2];if(!b){break a}a=hd(b,0,e+8|0,0)}Wa=e+1536|0;return a|0}function mx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=Wa-256|0;Wa=g;a:{if(!b){e=36;break a}h=H[a+4>>2];if(!h){e=35;break a}if(!(H[H[h+128>>2]+52>>2]|K[h+16>>2]>c>>>0)){e=6;break a}if(d&2){d=I[h+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(I[h+9|0]&32?9:11)|d}n=d&2;H[b+44>>2]=(n?12:48)+b;b:{if(d&8){break b}e=H[b+116>>2];if(I[h+9|0]&128|(J[h+6>>1]&32767|(e|0)==-1)){break b}f=H[b+20>>2];i=H[b+16>>2];c:{e=Ya[H[H[h+540>>2]+72>>2]](h,e,c,d,H[h+104>>2],a+76|0,g+8|0)|0;if(e){h=H[a+4>>2];j=H[h+8>>2]&1;if((e&255)!=157){break c}if(j){break b}G[g+8>>1]=0;G[g+240>>1]=0;G[g+224>>1]=0;G[g+6>>1]=0;if(!H[h+752>>2]){break a}Ya[H[H[h+540>>2]+140>>2]](h,0,c,g+8|0,g+224|0);b=g+240|0;d=g+6|0;d:{if(I[h+292|0]){Ya[H[H[h+540>>2]+140>>2]](h,1,c,b,d);break d}if(J[h+372>>1]!=65535){G[b>>1]=J[h+442>>1];c=G[h+442>>1]-G[h+444>>1]|0;b=c>>31;G[d>>1]=(b^c)-b;break d}G[b>>1]=J[h+220>>1];c=G[h+220>>1]-G[h+222>>1]|0;b=c>>31;G[d>>1]=(b^c)-b}H[a+108>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;b=ib(G[g+8>>1],i);H[a+36>>2]=0;H[a+32>>2]=b;b=ib(J[g+224>>1],i);H[a+44>>2]=0;H[a+40>>2]=b;t=a,u=ib(G[g+240>>1],f),H[t+48>>2]=u;b=ib(J[g+6>>1],f);H[a+100>>2]=0;H[a+104>>2]=0;F[a+94|0]=1;H[a+72>>2]=1651078259;H[a+52>>2]=b;e=0;break a}e=0;H[a+108>>2]=0;H[a+24>>2]=J[g+10>>1]<<6;H[a+28>>2]=J[g+8>>1]<<6;h=G[g+12>>1];H[a+32>>2]=h<<6;j=G[g+14>>1];H[a+36>>2]=j<<6;H[a+40>>2]=J[g+16>>1]<<6;k=G[g+18>>1];H[a+44>>2]=k<<6;m=G[g+20>>1];H[a+48>>2]=m<<6;n=J[g+22>>1];l=j;j=d&16;H[a+104>>2]=j?m:l;H[a+100>>2]=j?k:h;H[a+72>>2]=1651078259;H[a+52>>2]=n<<6;h=H[a+4>>2];if(!(F[h+8|0]&1)){break a}j=H[h+104>>2];kb(g+20|0,0,192);H[g+212>>2]=0;H[g+216>>2]=0;H[g+32>>2]=j;H[g+16>>2]=a;H[g+12>>2]=b;H[g+8>>2]=h;H[g+24>>2]=d;ii(g+8|0,c,0,1);Un(g+212|0,H[H[g+8>>2]+100>>2]);b=H[g+68>>2];H[a+56>>2]=b;H[a+60>>2]=H[g+184>>2];if(!(H[a+40>>2]|!b)){t=a,u=ib(b,i),H[t+40>>2]=u}if(H[a+52>>2]){break a}b=H[a+60>>2];if(!b){break a}t=a,u=ib(b,f),H[t+52>>2]=u;break a}if(!j){break a}}r=d&1;if(!(r|I[b+112|0])){e=36;break a}e=6;if(d&16384){break a}q=H[h+104>>2];p=H[h+96>>2];kb(g+8|0,0,212);if(!n){m=(d&128)>>>7|0;e=H[b+304>>2];e:{f:{if((e|0)>=0){f=H[b+308>>2];if((f|0)<0){break f}if(e){break a}e=f;if(!e){break e}break a}j=H[b>>2];i=H[j+100>>2];e=H[b+132>>2];if(e){Ya[H[i+8>>2]](i,e)}H[b+132>>2]=0;e=H[b+144>>2];if(e){Ya[H[i+8>>2]](i,e)}H[b+144>>2]=0;e=H[b+252>>2];if(e){Ya[H[i+8>>2]](i,e)}H[b+252>>2]=0;e=H[b+260>>2];if(e){Ya[H[i+8>>2]](i,e)}H[b+260>>2]=0;e=H[b+300>>2];if(e){H[e+444>>2]=0;f=H[e+8>>2];k=H[e+24>>2];if(k){Ya[H[f+8>>2]](f,k)}H[e+20>>2]=0;H[e+24>>2]=0;k=H[e+440>>2];if(k){Ya[H[f+8>>2]](f,k)}H[e+440>>2]=0;H[e+432>>2]=0;H[e+436>>2]=0;k=H[e+396>>2];if(k){Ya[H[f+8>>2]](f,k)}H[e+392>>2]=0;H[e+396>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if(e){Ya[H[f+8>>2]](f,e)}}e=H[b+264>>2];if(e){f=H[b+292>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+292>>2]=0;f=H[b+288>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+288>>2]=0;f=H[b+280>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+280>>2]=0;f=H[b+276>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+276>>2]=0;f=H[b+284>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+284>>2]=0;H[b+272>>2]=0;H[b+264>>2]=0;H[b+268>>2]=0}H[b+304>>2]=-1;H[b+308>>2]=-1;k=Wa-16|0;Wa=k;e=H[j+96>>2];g:{h:{if(!e){break h}f=H[e+8>>2];e=zb(f,636,k+8|0);if(H[k+8>>2]){break h}H[e+436>>2]=32;H[e+8>>2]=f;t=e,u=jb(f,16,0,32,0,k+12|0),H[t+440>>2]=u;if(!H[k+12>>2]){H[e+444>>2]=0;H[e+392>>2]=0;H[e+396>>2]=0;H[e+20>>2]=0;H[e+24>>2]=0;H[e>>2]=0;H[e+4>>2]=0;break g}H[e+444>>2]=0;f=H[e+8>>2];l=H[e+24>>2];if(l){Ya[H[f+8>>2]](f,l)}H[e+20>>2]=0;H[e+24>>2]=0;l=H[e+440>>2];if(l){Ya[H[f+8>>2]](f,l)}H[e+440>>2]=0;H[e+432>>2]=0;H[e+436>>2]=0;l=H[e+396>>2];if(l){Ya[H[f+8>>2]](f,l)}H[e+392>>2]=0;H[e+396>>2]=0;H[e>>2]=0;H[e+4>>2]=0;if(e){Ya[H[f+8>>2]](f,e)}if(!H[k+12>>2]){break g}}e=0}Wa=k+16|0;H[b+300>>2]=e;e=J[j+280>>1];H[b+128>>2]=e;f=J[j+282>>1];H[b+148>>2]=0;H[b+152>>2]=0;H[b+136>>2]=0;H[b+124>>2]=0;H[b+140>>2]=f;H[b+248>>2]=H[j+700>>2];f=J[j+278>>1];F[b+113|0]=0;F[b+114|0]=0;G[b+256>>1]=f;H[b+96>>2]=0;H[b+100>>2]=0;H[b+104>>2]=0;H[b+108>>2]=0;t=b,u=jb(i,24,0,e,0,g+224|0),H[t+132>>2]=u;i:{if(H[g+224>>2]){break i}t=b,u=jb(i,24,0,H[b+140>>2],0,g+224|0),H[t+144>>2]=u;if(H[g+224>>2]){break i}t=b,u=jb(i,4,0,H[b+248>>2],0,g+224|0),H[t+252>>2]=u;if(H[g+224>>2]){break i}t=b,u=jb(i,4,0,J[b+256>>1],0,g+224|0),H[t+260>>2]=u;if(H[g+224>>2]){break i}e=J[j+276>>1];H[b+292>>2]=0;H[b+296>>2]=0;H[b+284>>2]=0;H[b+288>>2]=0;H[b+276>>2]=0;H[b+280>>2]=0;H[b+268>>2]=0;H[b+272>>2]=0;H[b+264>>2]=i;k=e+4|0;e=k&65535;t=b,u=jb(i,8,0,e,0,g+240|0),H[t+276>>2]=u;j:{k:{l:{f=H[g+240>>2];m:{if(f){break m}t=b,u=jb(i,8,0,e,0,g+240|0),H[t+280>>2]=u;f=H[g+240>>2];if(f){break m}t=b,u=jb(i,8,0,e,0,g+240|0),H[t+284>>2]=u;f=H[g+240>>2];if(f){break m}t=b,u=jb(i,1,0,e,0,g+240|0),H[t+288>>2]=u;f=H[g+240>>2];if(f){break m}t=b,u=jb(i,2,0,0,0,g+240|0),H[t+292>>2]=u;f=H[g+240>>2];if(!f){break l}}e=H[b+264>>2];if(e){break k}H[g+224>>2]=f;break i}G[b+268>>1]=k;G[b+270>>1]=0;H[g+224>>2]=0;break j}f=H[b+292>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+292>>2]=0;f=H[b+288>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+288>>2]=0;f=H[b+280>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+280>>2]=0;f=H[b+276>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+276>>2]=0;f=H[b+284>>2];if(f){Ya[H[e+8>>2]](e,f)}H[b+284>>2]=0;H[b+272>>2]=0;H[b+264>>2]=0;H[b+268>>2]=0;e=H[g+240>>2];H[g+224>>2]=e;if(e){break i}}G[b+272>>1]=k;mb(b+180|0,96052,68);e=H[H[H[j+96>>2]+4>>2]+164>>2];H[j+708>>2]=e?e:81;e=H[b+300>>2];i=H[b>>2];f=hi(e,i,b);n:{if(f){break n}H[e+484>>2]=0;H[e+488>>2]=0;H[e+480>>2]=64;H[e+16>>2]=0;H[e+432>>2]=0;H[e+568>>2]=16384;F[e+565|0]=m;H[e+220>>2]=0;H[e+224>>2]=0;F[e+492|0]=0;G[e+256>>1]=0;H[e+228>>2]=0;H[e+260>>2]=65536;H[e+264>>2]=0;j=H[i+688>>2];f=H[i+684>>2];H[e+456>>2]=0;H[e+460>>2]=0;H[e+452>>2]=f;H[e+448>>2]=j;H[e+464>>2]=0;H[e+468>>2]=0;o:{if(!f){H[b+304>>2]=0;break o}H[e+368>>2]=f;H[e+360>>2]=j;H[e+364>>2]=0;H[e+356>>2]=1;f=Ya[H[i+708>>2]](e)|0;H[b+304>>2]=f;if(f){break n}}H[b+124>>2]=H[e+400>>2];H[b+136>>2]=H[e+412>>2];H[b+148>>2]=H[e+424>>2];H[b+152>>2]=H[e+428>>2];f=H[e+452>>2];H[b+156>>2]=H[e+448>>2];H[b+160>>2]=f;f=H[e+460>>2];H[b+164>>2]=H[e+456>>2];H[b+168>>2]=f;f=H[e+468>>2];H[b+172>>2]=H[e+464>>2];H[b+176>>2]=f;f=0}e=f;break f}tm(b);e=H[g+224>>2]}if(e){break a}e=H[b+308>>2];if((e|0)<0){i=J[b+272>>1];p:{if(!i){break p}j=H[b+280>>2];k=H[b+276>>2];e=0;if((i|0)!=1){s=i&65534;f=0;while(1){l=e<<3;o=l+k|0;H[o>>2]=0;H[o+4>>2]=0;o=j+l|0;H[o>>2]=0;H[o+4>>2]=0;l=l|8;o=l+k|0;H[o>>2]=0;H[o+4>>2]=0;l=j+l|0;H[l>>2]=0;H[l+4>>2]=0;e=e+2|0;f=f+2|0;if((s|0)!=(f|0)){continue}break}}if(!(i&1)){break p}e=e<<3;f=e+k|0;H[f>>2]=0;H[f+4>>2]=0;e=e+j|0;H[e>>2]=0;H[e+4>>2]=0}e=J[b+256>>1];if(e){kb(H[b+260>>2],0,e<<2)}mb(b+180|0,96052,68);e=sm(b,m)}if(e){break a}}i=H[b+300>>2];if(!i){e=153;break a}e=d&983040;q:{if(H[p+64>>2]!=40){j=(e|0)!=131072;e=0;k=0;f=0;break q}k=(e|0)!=131072;e=k&(d&262144)>>>18;j=0;f=!(d&458752)&k}F[i+614|0]=e;e=hi(i,h,b);if(e){break a}r:{s:{t:{u:{if(H[p+64>>2]==40){e=I[i+613|0]==(k|0);if(!e){F[i+613|0]=k}if((f|0)!=I[i+618|0]){break u}if(I[i+612|0]==(j|0)){break t}F[i+612|0]=j;break s}if(I[i+612|0]==(j|0)){break r}F[i+612|0]=j;break s}F[i+618|0]=f;if(I[i+612|0]==(j|0)){break s}F[i+612|0]=j;break s}if(e){break r}}e=sm(b,m);if(e){break a}}e=I[i+340|0];f=e<<1&2;if(e&2){mb(i+288|0,96052,68)}F[i+565|0]=m;H[g+164>>2]=i;H[g+168>>2]=H[i+396>>2];d=d|f}e=H[H[a+156>>2]>>2];re(e);H[g+24>>2]=d;H[g+20>>2]=e;H[g+212>>2]=0;H[g+216>>2]=0;H[g+32>>2]=q;H[g+16>>2]=a;H[g+12>>2]=b;H[g+8>>2]=h;H[a+124>>2]=0;H[a+128>>2]=0;H[a+72>>2]=1869968492;e=ii(g+8|0,c,0,0);v:{if(e){break v}d=H[g+20>>2];w:{if(H[a+72>>2]==1668246896){H[a+128>>2]=H[d+48>>2];H[a+132>>2]=H[d+52>>2];break w}h=H[d+24>>2];e=a+108|0;H[e>>2]=H[d+20>>2];H[e+4>>2]=h;H[e+16>>2]=H[d+36>>2];h=H[d+32>>2];H[e+8>>2]=H[d+28>>2];H[e+12>>2]=h;H[a+124>>2]=H[a+124>>2]&-513;d=H[g+76>>2];if(!d){break w}yc(e,0-d|0,0)}x:{if(n){break x}d=8;e=H[g+164>>2];y:{if(!I[e+341|0]){break y}d=32;z:{switch(H[e+344>>2]){case 4:d=48;break y;case 5:d=16;break y;case 1:break x;case 0:break y;default:break z}}d=8}H[a+124>>2]=H[a+124>>2]|d}e=H[g+8>>2];j=65536;f=H[g+12>>2];d=H[g+16>>2];j=F[g+24|0]&1?j:H[H[f+44>>2]+8>>2];h=H[e+96>>2];A:{if(H[d+72>>2]!=1668246896){je(d+108|0,g+240|0);break A}i=H[g+56>>2];H[g+248>>2]=H[g+52>>2];H[g+252>>2]=i;i=H[g+48>>2];H[g+240>>2]=H[g+44>>2];H[g+244>>2]=i}H[d+56>>2]=H[g+68>>2];n=H[g+240>>2];H[d+32>>2]=n;i=H[g+252>>2];H[d+36>>2]=i;H[d+40>>2]=H[g+84>>2]-H[g+76>>2];B:{C:{if(H[h+64>>2]!=40){break C}h=H[g+164>>2];if(!h){break C}if(I[h+615|0]){break B}}if(H[e+488>>2]|H[g+24>>2]&2097154){break B}p=H[e+776>>2];if(!p){break B}h=0;k=H[e+768>>2];l=k?k+8|0:0;m=H[e+780>>2];q=H[e+784>>2];f=J[H[f+44>>2]>>1];while(1){if((f|0)==I[h+q|0]){f=c+2|0;if(!k|f>>>0>=m>>>0){break B}H[d+40>>2]=I[f+(l+N(h,m)|0)|0]<<6;break B}h=h+1|0;if((p|0)!=(h|0)){continue}break}}H[d+24>>2]=H[g+248>>2]-n;h=i-H[g+244>>2]|0;H[d+28>>2]=h;D:{if(!(!I[e+292|0]|!J[e+330>>1])){f=pb(H[g+192>>2]-i|0,j)<<16>>16;h=0;i=H[g+192>>2];k=H[g+200>>2];if((i|0)<=(k|0)){break D}h=pb(i-k|0,j)&65535;break D}f=pb(h,j);h=J[e+372>>1]==65535;h=G[e+(h?220:442)>>1]-G[e+(h?222:444)>>1]|0;f=(h-(f<<16>>16)|0)/2|0}e=H[H[e+128>>2]+52>>2];E:{if(!e){break E}i=H[H[e>>2]+8>>2];if(!i){break E}H[g+232>>2]=h;H[g+228>>2]=f;H[g+224>>2]=0;e=Ya[i|0](H[e+4>>2],c,1,g+224|0)|0;if(e){break v}h=H[g+232>>2];f=H[g+228>>2]}H[d+60>>2]=h;if(!(F[g+24|0]&1)){f=ib(f,j);h=ib(h,j)}H[d+52>>2]=h;H[d+48>>2]=f;H[d+44>>2]=H[d+32>>2]+(H[d+40>>2]/-2|0);e=0}if(!(J[H[b+44>>2]+2>>1]>23|r)){H[a+124>>2]=H[a+124>>2]|256}Un(g+212|0,H[H[g+8>>2]+100>>2])}Wa=g+256|0;return e|0}function Kv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=Wa-384|0;Wa=f;H[b>>2]=1;a:{if(!H[b+136>>2]){d=Ed(H[H[b+96>>2]+4>>2],9871);if(!d){a=11;break a}H[b+136>>2]=d}if(!H[b+320>>2]){x=b,y=Ed(H[H[b+96>>2]+4>>2],10070),H[x+320>>2]=y}a=ob(a,0);if(a){break a}i=H[b+100>>2];H[f+108>>2]=0;g=H[b+104>>2];a=H[b+136>>2];d=f+8|0;kb(d,0,100);Ya[H[H[a+4>>2]>>2]](d,0,0,i);H[f+80>>2]=g;j=H[g+8>>2];b:{c:{d:{d=Nb(g,31);e:{if(d){break e}a=ub(H[g+32>>2],10532,31);Db(g);if(a){H[f+4>>2]=2;break b}m=f+106|0;l=f+84|0;o=f+112|9;while(1){d=H[g+8>>2];h=d;a=0;d=H[g+4>>2]-d|0;e=d>>>0<265?d:265;d=ec(g,f+112|0,e);if(d){break e}while(1){f:{d=f+112|0;k=(d+a|0)+e|0;F[k|0]=0;e=a+e|0;if(d>>>0>>0){n=e+m|0;d=I[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(ub(a,10729,9)){break g}e=10;break f}h:{d=I[a+1|0];if((d|0)!=115){break h}if(ub(a,10807,6)){break h}e=7;break f}a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(e>>>0<9){H[f+4>>2]=3;break b}a=k-9|0;d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);F[f+120|0]=I[a+8|0];H[f+112>>2]=e;H[f+116>>2]=d;h=h+256|0;a=9;d=H[g+4>>2]-H[g+8>>2]|0;e=d>>>0<256?d:256;d=ec(g,o,e);if(!d){continue}break e}break}d=ob(g,j);if(d){break e}k=((h-(f+112|0)|0)+a|0)+e|0;a=k-j|0;d=Jc(g,a,l);if(d){break e}H[f+92>>2]=k;h=H[f+84>>2];H[f+12>>2]=h;H[f+104>>2]=-1;H[f+8>>2]=h;H[f+88>>2]=a;H[f+16>>2]=a+h;d=f+8|0;Ya[H[f+40>>2]](d);Ya[H[f+36>>2]](d);a=H[f+8>>2];Ya[H[f+40>>2]](d);Ya[H[f+36>>2]](d);d=H[f+8>>2];e=H[f+16>>2];n=e-6|0;if(d>>>0<=n>>>0){p=e-9|0;while(1){e=a;a=d;d=H[f+20>>2];if(d){break e}i:{if(I[a|0]!=83|a>>>0>p>>>0){break i}if(ub(a,10729,9)){break i}if(ub(h,10959,5)){break c}a=mc(e,0);if((a|0)>=0){break d}H[f+4>>2]=3;break b}j:{if(I[a+1|0]!=115){break j}if(ub(a,10807,6)){break j}H[f+4>>2]=2;break b}d=f+8|0;Ya[H[f+40>>2]](d);Ya[H[f+36>>2]](d);h=e;d=H[f+8>>2];if(n>>>0>=d>>>0){continue}break}}bc(g,l);d=ob(g,k);if(!d){continue}break}}H[f+4>>2]=d;break b}H[f+96>>2]=a}H[f+4>>2]=0;H[f+20>>2]=0;a=H[f+84>>2];m=a+H[f+88>>2]|0;H[f+16>>2]=m;g=b+164|0;j=b+312|0;l=b+196|0;k=b+140|0;s=m-1|0;k:{l:{m:while(1){H[f+8>>2]=a;Ya[H[f+36>>2]](f+8|0);d=H[f+8>>2];e=(d>>>0>>0?d:s)-17|0;if(e>>>0>a>>>0){while(1){n:{if(I[a|0]!=37){break n}if(ub(a,10992,17)|H[b+300>>2]<=0){break n}H[f+104>>2]=H[f+104>>2]+1}a=a+1|0;if((e|0)!=(a|0)){continue}break}}o:{if(d>>>0>=m>>>0){break o}Ya[H[f+40>>2]](f+8|0);a=H[f+8>>2];if(H[f+20>>2]|m>>>0<=a>>>0){break o}if(I[d|0]!=47|m>>>0<=d+2>>>0){continue}n=d+1|0;if((n|0)==(a|0)){continue}o=a-n|0;if(o>>>0>21){continue}p=I[n|0];e=100384;d=11146;p:{if(o>>>0>=2){while(1){h=e;q:{if((p|0)!=I[d|0]){break q}e=1;if((wb(d)|0)!=(o|0)){break q}while(1){if(I[e+n|0]!=I[d+e|0]){break q}e=e+1|0;if((o|0)!=(e|0)){continue}break}e=h;break p}e=h+36|0;d=H[h+36>>2];if(d){continue}continue m}}while(1){if((p|0)==I[d|0]){if((wb(d)|0)==(o|0)){break p}}d=H[e+36>>2];e=e+36|0;if(d){continue}break}continue}h=H[e+8>>2];r:{if((h|0)==11){Ya[H[e+12>>2]](b,f+8|0);a=H[f+20>>2];break r}d=k;s:{t:{u:{v:{switch(H[e+4>>2]){case 3:d=g;break u;case 2:d=j;break u;case 5:d=l;break u;case 0:break u;default:break v}}a=H[f+104>>2];if((a|0)<0|(a|0)>=H[b+300>>2]){break t}d=H[b+304>>2]+N(a,252)|0}H[f+112>>2]=d;if(h-9>>>0>1){break s}a=Ya[H[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break r}H[f+20>>2]=160;H[f+4>>2]=160;break b}a=Ya[H[f+72>>2]](f+8|0,e,f+112|0,0,0)|0}H[f+20>>2]=a;if(a){break l}a=H[f+8>>2];continue}break}if(H[b+300>>2]){break k}a=3}H[f+4>>2]=a;break b}a=H[f+20>>2];H[f+4>>2]=a;if(a|(c|0)<0){break b}d=zb(i,40,f+4|0);H[b+328>>2]=d;if(H[f+4>>2]){break b}a=H[f+96>>2];w:{if(a){e=b;d=H[H[b+104>>2]+4>>2]-H[f+92>>2]|0;if(d>>>0>>0){H[f+96>>2]=d;a=d}d=e;e=zb(i,a,f+4|0);H[d+324>>2]=e;if(H[f+4>>2]){break b}a=H[f+96>>2];d=Wa-256|0;Wa=d;j=H[b+104>>2];i=ob(j,H[f+92>>2]);x:{if(i){break x}if((a|0)>0){o=a+e|0;l=1;a=d;k=a;while(1){if(a>>>0>=k>>>0){a=H[j+8>>2];h=H[j+4>>2];if((a|0)==(h|0)){i=160;break x}h=h-a|0;i=ec(j,d,h>>>0<256?h:256);if(i){break x}k=(d+H[j+8>>2]|0)-a|0;a=d}h=I[a|0];g=h-48|0;y:{z:{if(g>>>0<10){break z}A:{if((h-97&255)>>>0>=6){if((h-65&255)>>>0<6){break A}g=0;i=160;m=0;B:{switch(h|0){case 62:break y;case 0:case 9:case 10:case 12:case 13:case 32:break B;default:break x}}a=a+1|0;continue}g=h-87|0;break z}g=h-55|0}m=1}C:{if(l&255){F[e|0]=g<<4;break C}F[e|0]=I[e|0]+g;e=e+1|0}a=a+1|0;l=1-l|0;if(e>>>0>>0&m){continue}break}}i=0}Wa=d+256|0;H[f+4>>2]=i;if(i){break b}d=H[b+324>>2];e=H[f+96>>2];a=H[b+328>>2];H[a+32>>2]=0;H[a+8>>2]=0;H[a+4>>2]=e;H[a>>2]=d;H[a+20>>2]=0;H[a+24>>2]=0;a=0;break w}a=H[b+104>>2];e=H[a+4>>2];H[d>>2]=H[a>>2];H[d+4>>2]=e;e=H[a+36>>2];H[d+32>>2]=H[a+32>>2];H[d+36>>2]=e;e=H[a+28>>2];H[d+24>>2]=H[a+24>>2];H[d+28>>2]=e;e=H[a+20>>2];H[d+16>>2]=H[a+16>>2];H[d+20>>2]=e;e=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=e;a=H[f+92>>2]}H[b+308>>2]=a;D:{i=H[b+288>>2];if((i|0)>=0){g=H[b+292>>2];if((g|0)>0){break D}}H[f+4>>2]=3;break b}if(!(g>>>0<5&i>>>0<=4)){H[f+4>>2]=3;break b}d=H[H[b+328>>2]+4>>2]-a|0;l=H[b+300>>2];if((l|0)>0){k=H[b+304>>2];e=0;while(1){a=k+N(e,252)|0;if(K[a+112>>2]>=1001){H[a+112>>2]=7}if(K[a+116>>2]>=1001){H[a+116>>2]=1}E:{h=H[a+248>>2];if((h|0)>=0){j=H[a+240>>2];if(h|!j){break E}}H[f+4>>2]=3;break b}if(h>>>0>=5){H[f+4>>2]=3;break b}a=H[a+244>>2];if(a>>>0>d>>>0){H[f+4>>2]=3;break b}if(!((!h|j>>>0<=(d-a>>>0)/(h>>>0)>>>0)&(j|0)>=0)){H[f+4>>2]=3;break b}e=e+1|0;if((l|0)!=(e|0)){continue}break}}a=H[b+284>>2];if(a>>>0>d>>>0){H[f+4>>2]=3;break b}if(K[b+296>>2]>(d-a>>>0)/(g+i>>>0)>>>0){H[f+4>>2]=3;break b}i=0;h=0;s=0;j=Wa-16|0;Wa=j;o=H[b+328>>2];u=H[b+136>>2];k=H[b+100>>2];l=jb(k,8,0,H[b+300>>2],0,j+12|0);H[b+316>>2]=l;F:{if(H[j+12>>2]){break F}d=H[b+300>>2];if((d|0)<=0){break F}while(1){G:{e=H[b+304>>2]+N(s,252)|0;m=H[e+240>>2];if(m){v=H[e+4>>2];n=m+1|0;if(n>>>0>h>>>0){a=m+4&-4;if(a>>>0<=h>>>0){H[j+12>>2]=160;break G}i=jb(k,4,h,a,i,j+12|0);h=a;if(H[j+12>>2]){break G}}a=ob(o,H[e+244>>2]+H[b+308>>2]|0);H[j+12>>2]=a;if(a){break G}a=Nb(o,N(n,H[e+248>>2]));H[j+12>>2]=a;if(a){break G}a=H[e+248>>2];H:{if(a&255){r=a-1&255;t=r+1|0;w=a&252;q=a&3;e=H[o+32>>2];p=0;while(1){a=e;g=0;d=0;if(r>>>0>=3){while(1){d=a;a=a+4|0;g=g+4|0;if((g&255)!=(w|0)){continue}break}d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}g=0;if(q){while(1){d=I[a|0]|d<<8;a=a+1|0;g=g+1|0;if((q|0)!=(g&255)){continue}break}}H[(p<<2)+i>>2]=d;e=e+t|0;a=(m|0)!=(p|0);p=p+1|0;if(a){continue}break}break H}kb(i,0,(m<<2)+4|0)}Db(o);d=H[i>>2];a=1;I:{while(1){e=d;d=H[(a<<2)+i>>2];if(e>>>0<=d>>>0){a=a+1|0;if(m>>>0>=a>>>0){continue}break I}break}H[j+12>>2]=3;break G}a=H[(m<<2)+i>>2];if(a>>>0>H[o+4>>2]-H[b+308>>2]>>>0){H[j+12>>2]=3;break G}d=H[i>>2];x=l,y=jb(k,4,0,n,0,j+12|0),H[x+4>>2]=y;if(H[j+12>>2]){break G}a=a-d|0;d=zb(k,a,j+12|0);H[H[l+4>>2]>>2]=d;if(H[j+12>>2]){break G}d=ob(o,H[i>>2]+H[b+308>>2]|0);H[j+12>>2]=d;if(d){break G}a=ec(o,H[H[l+4>>2]>>2],a);H[j+12>>2]=a;if(a){break G}d=1;a=(n>>>0>2?n:2)-1|0;p=a&1;g=H[i>>2];if(n>>>0>=3){n=a&-2;e=0;while(1){a=d<<2;q=a+H[l+4>>2]|0;r=q;t=H[q-4>>2];q=H[a+i>>2];H[r>>2]=t+(q-g|0);r=a+4|0;g=H[r+i>>2];t=H[l+4>>2];H[r+t>>2]=H[a+t>>2]+(g-q|0);d=d+2|0;e=e+2|0;if((n|0)!=(e|0)){continue}break}}if(p){a=d<<2;d=a+H[l+4>>2]|0;H[d>>2]=H[d-4>>2]+(H[a+i>>2]-g|0)}J:{if((v|0)<0){break J}d=m>>>0>1?m:1;n=d&1;a=0;if(m>>>0>=2){p=d&-2;g=0;while(1){d=a<<2;q=d|4;e=q+i|0;Ya[H[u+16>>2]](H[d+H[l+4>>2]>>2],H[e>>2]-H[d+i>>2]|0,4330);a=a+2|0;Ya[H[u+16>>2]](H[q+H[l+4>>2]>>2],H[(a<<2)+i>>2]-H[e>>2]|0,4330);g=g+2|0;if((p|0)!=(g|0)){continue}break}}if(!n){break J}d=a<<2;a=d+i|0;Ya[H[u+16>>2]](H[d+H[l+4>>2]>>2],H[a+4>>2]-H[a>>2]|0,4330)}H[l>>2]=m;d=H[b+300>>2]}l=l+8|0;s=s+1|0;if((s|0)<(d|0)){continue}break F}break}a=H[b+316>>2];if(!a){break F}if(H[b+300>>2]>0){g=0;while(1){d=g<<3;e=H[(d+a|0)+4>>2];if(e){a=H[e>>2];if(a){Ya[H[k+8>>2]](k,a)}H[H[(d+H[b+316>>2]|0)+4>>2]>>2]=0;a=H[b+316>>2]}a=H[(a+d|0)+4>>2];if(a){Ya[H[k+8>>2]](k,a)}a=H[b+316>>2];H[(d+a|0)+4>>2]=0;g=g+1|0;if((g|0)>2]){continue}break}}if(a){Ya[H[k+8>>2]](k,a)}H[b+316>>2]=0}if(i){Ya[H[k+8>>2]](k,i)}Wa=j+16|0;H[f+4>>2]=H[j+12>>2]}if(H[f+84>>2]){bc(H[f+80>>2],f+84|0)}Ya[H[f+32>>2]](f+8|0);a=H[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}H[b+36>>2]=0;H[b+4>>2]=0;H[b+16>>2]=H[b+296>>2];a=H[b+8>>2];H[b+8>>2]=a|2065;if(I[b+188|0]){H[b+8>>2]=a|2069}H[b+24>>2]=10166;d=H[b+176>>2];H[b+20>>2]=d;K:{if(d){a=H[b+172>>2];if(!a){break K}e=I[a|0];if(!e){break K}while(1){e=e&255;c=I[d|0];L:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break L}e=e-32|0;if(!(!e|(e|0)==13)){M:{switch(c-32|0){case 0:case 13:d=d+1|0;break L;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break K;default:break M}}if(c){break K}H[b+24>>2]=a;break K}a=a+1|0}e=I[a|0];if(e){continue}break}break K}a=H[b+140>>2];if(!a){break K}H[b+20>>2]=a}c=H[b+184>>2]!=0;H[b+12>>2]=c;a=H[b+180>>2];N:{if(!a){break N}if(rb(a,10301)){if(rb(a,10420)){break N}}H[b+12>>2]=c|2}H[b+28>>2]=0;H[b+32>>2]=0;H[b+52>>2]=G[b+198>>1];a=G[b+202>>1];H[b+56>>2]=a;H[b+60>>2]=H[b+204>>2]+65535>>16;c=H[b+208>>2]+65535>>16;H[b- -64>>2]=c;e=J[b+68>>1];if(!e){G[b+68>>1]=1e3;e=1e3}G[b+72>>1]=a;G[b+70>>1]=c;H[b+80>>2]=J[b+190>>1]|J[b+192>>1]<<16;d=b;a=c-a|0;b=(N(e,12)>>>0)/10|0;G[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}Wa=f+384|0;return a|0}function qy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Wa-48|0;Wa=e;f=H[a+720>>2];a:{if(f){break a}b:{c:{if(!(!H[a+736>>2]|!(I[a+9|0]&128?1:J[a+6>>1]&32767))){m=H[a+548>>2];g=H[a+100>>2];if(!H[a+744>>2]){H[e+16>>2]=-1;H[e+20>>2]=-1;h=J[a+340>>1];if(!h){f=0;break b}i=H[a+356>>2];while(1){c=i+N(b,20)|0;d:{if(J[c+6>>1]!=25|!J[c+8>>1]){break d}e:{f:{switch(J[c>>1]-1|0){case 2:if(J[c+2>>1]>1){break d}f=e+20|0;if(J[c+4>>1]==1033|H[e+20>>2]==-1){break e}break d;case 0:break f;default:break d}}if(J[c+2>>1]){break d}f=e+16|0;if(!J[c+4>>1]){break e}if(H[e+16>>2]!=-1){break d}}H[f>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}g:{h:{b=H[e+20>>2];if((b|0)>=0){break h}d=H[e+16>>2];i:{if((d|0)>=0){break i}H[e+16>>2]=-1;H[e+20>>2]=-1;b=0;while(1){c=i+N(b,20)|0;j:{if(J[c+6>>1]!=16|!J[c+8>>1]){break j}k:{l:{switch(J[c>>1]-1|0){case 2:if(J[c+2>>1]>1){break j}f=e+20|0;if(J[c+4>>1]==1033|H[e+20>>2]==-1){break k}break j;case 0:break l;default:break j}}if(J[c+2>>1]){break j}f=e+16|0;if(!J[c+4>>1]){break k}if(H[e+16>>2]!=-1){break j}}H[f>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}b=H[e+20>>2];if((b|0)>=0){break h}d=H[e+16>>2];if((d|0)>=0){break i}H[e+16>>2]=-1;H[e+20>>2]=-1;b=0;while(1){c=i+N(b,20)|0;m:{if(J[c+6>>1]!=1|!J[c+8>>1]){break m}n:{o:{switch(J[c>>1]-1|0){case 2:if(J[c+2>>1]>1){break m}f=e+20|0;if(J[c+4>>1]==1033|H[e+20>>2]==-1){break n}break m;case 0:break o;default:break m}}if(J[c+2>>1]){break m}f=e+16|0;if(!J[c+4>>1]){break n}if(H[e+16>>2]!=-1){break m}}H[f>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}b=H[e+20>>2];if((b|0)>=0){break h}f=0;d=H[e+16>>2];if((d|0)<0){break b}}if((b|0)!=-1){break h}b=0;break g}b=Gm(g,H[a+368>>2],i+N(b,20)|0,64);d=H[e+16>>2]}p:{if((d|0)==-1|b){break p}c=H[a+368>>2];h=H[a+100>>2];l=H[a+356>>2];b=0;H[e+40>>2]=0;j=l+N(d,20)|0;f=zb(h,J[j+8>>1]+1|0,e+40|0);if(H[e+40>>2]){break p}b=ob(c,H[j+12>>2]);H[e+40>>2]=b;q:{if(b){break q}b=Nb(c,J[j+8>>1]);H[e+40>>2]=b;if(b){break q}b=f;r:{k=J[j+8>>1];if(k){i=H[c+32>>2];while(1){n=F[i|0];if(n-58>>>0<=4294967285&(n&-33)-91>>>0<4294967270){break r}F[b|0]=n;i=i+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}F[b|0]=0;Db(c);b=f;break p}Db(c)}if(f){Ya[H[h+8>>2]](h,f)}b=0;H[j+12>>2]=0;G[j+8>>1]=0;f=l+N(d,20)|0;c=H[f+16>>2];if(c){Ya[H[h+8>>2]](h,c)}H[f+16>>2]=0}if(!b){f=0;break b}f=wb(b);if(f>>>0>=92){F[b+91|0]=0;f=91}H[a+748>>2]=f;H[a+744>>2]=b}f=0;Ya[H[m+40>>2]](a,e+32|0,e+28|0,0,e+24|0)|0;s:{t:{b=H[a+4>>2];if(!(b&2147418112)|I[a+9|0]&128){break t}i=(b>>>16&32767)-1|0;b=H[H[e+24>>2]+16>>2];c=H[(N(i,12)+b|0)+8>>2];d=H[a+540>>2];H[e+40>>2]=0;if(!((c|0)!=6&c-256>>>0>32511)){Ya[H[d+144>>2]](a,c&65535,e+40|0)|0;b=H[e+40>>2];if(b){break s}b=H[H[e+24>>2]+16>>2]}Ya[H[d+144>>2]](a,J[(N(i,12)+b|0)+4>>1],e+12|0)|0;b=H[e+12>>2];if(!b){break t}b=zb(g,(H[a+748>>2]+wb(b)|0)+2|0,e+36|0);if(H[e+36>>2]){break b}f=Dj(b,H[a+744>>2]);b=f+H[a+748>>2]|0;F[b|0]=45;i=b+1|0;d=H[e+12>>2];b=I[d|0];if(b){while(1){c=b<<24>>24;if(!(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){F[i|0]=b;i=i+1|0}b=I[d+1|0];d=d+1|0;if(b){continue}break}}F[i|0]=0;b=H[e+12>>2];if(b){Ya[H[g+8>>2]](g,b)}d=i+1|0;break c}j=H[H[e+24>>2]+12>>2];b=zb(g,(H[a+748>>2]+N(H[e+32>>2],17)|0)+1|0,e+36|0);if(H[e+36>>2]){break b}f=Dj(b,H[a+744>>2]);d=f+H[a+748>>2]|0;if(!H[e+32>>2]){break c}l=e+40^-1;b=H[e+28>>2];i=0;while(1){u:{if(H[b>>2]==H[j+8>>2]){break u}F[d|0]=95;b=H[H[e+28>>2]>>2];v:{if(!b){F[d+1|0]=48;d=d+2|0;break v}if((b|0)>=0){d=d+1|0}else{F[d+1|0]=45;b=0-b|0;d=d+2|0}h=b&65535;w:{if(b>>>0<65536){break w}c=b>>>16|0;b=e+40|0;while(1){g=(c>>>0)/10|0;F[b|0]=c-N(g,10)|48;b=b+1|0;k=c>>>0<10;c=g;if(!k){continue}break}if(e+40>>>0>=b>>>0){break w}g=b+l|0;c=0;k=b-(e+40|0)&7;if(k){while(1){b=b-1|0;F[d|0]=I[b|0];d=d+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(g>>>0<7){break w}while(1){F[d|0]=I[b-1|0];F[d+1|0]=I[b-2|0];F[d+2|0]=I[b-3|0];F[d+3|0]=I[b-4|0];F[d+4|0]=I[b-5|0];F[d+5|0]=I[b-6|0];F[d+6|0]=I[b-7|0];b=b-8|0;F[d+7|0]=I[b|0];d=d+8|0;if(e+40>>>0>>0){continue}break}}if(!h){break v}F[d|0]=46;b=N(h,10)+5|0;F[d+1|0]=(b>>>16|0)+48;b=N(b&65535,10);F[d+2|0]=b>>>16|48;b=N(b&65534,10);c=b>>>16|48;F[d+3|0]=c;x:{y:{z:{A:{B:{C:{D:{b=b&65532;if(!b){b=d+3|0;break D}b=N(b,10);c=b>>>16|48;F[d+4|0]=c;b=b&65528;if(!b){b=d+4|0;break D}h=N(b,10);g=h>>>16|0;c=g|48;F[d+5|0]=c;b=d+5|0;h=h&65520;if(!h){break D}d=N(h,10);if(d>>>0>=344800){break z}if((c|0)==49){break C}if((h|0)==17232){if(!(g&1)){break z}c=g+47|0;break A}if(d>>>0>172319){break z}break B}if((b-d|0)!=5){break z}if((c|0)!=49){break B}}F[b|0]=48;break y}if((c|0)==48){break y}c=c-1|0}F[b|0]=c}if((c|0)!=48){break x}}while(1){F[b|0]=0;b=b-1|0;if(I[b|0]==48){continue}break}}d=b+1|0}b=H[j+16>>2];c=b>>24;if(!((c|0)==32|!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){F[d|0]=b>>>24;d=d+1|0;b=H[j+16>>2]}g=b>>>16|0;c=g<<24;E:{if((c|0)==536870912){break E}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break E}F[d|0]=g;d=d+1|0;b=H[j+16>>2]}g=b>>>8|0;c=g<<24;F:{if((c|0)==536870912){break F}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break F}F[d|0]=g;d=d+1|0;b=H[j+16>>2]}c=b<<24;if((c|0)==536870912){break u}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break u}F[d|0]=b;d=d+1|0}b=H[e+28>>2]+4|0;H[e+28>>2]=b;j=j+24|0;i=i+1|0;if(i>>>0>2]){continue}break}break c}d=(wb(b)+b|0)+1|0;f=b;break c}H[e+32>>2]=-1;H[e+36>>2]=-1;c=J[a+340>>1];G:{if(c){g=H[a+356>>2];while(1){f=g+N(b,20)|0;H:{if(J[f+6>>1]!=6|!J[f+8>>1]){break H}I:{J:{switch(J[f>>1]-1|0){case 2:if(J[f+2>>1]>1){break H}d=e+36|0;if(J[f+4>>1]==1033|H[e+36>>2]==-1){break I}break H;case 0:break J;default:break H}}if(J[f+2>>1]){break H}d=e+32|0;if(!J[f+4>>1]){break I}if(H[e+32>>2]!=-1){break H}}H[d>>2]=b}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=H[e+32>>2];K:{c=H[e+36>>2];if((c|0)>=0){break K}f=0;if((b|0)<0){break a}if((c|0)!=-1){break K}break G}f=Gm(H[a+100>>2],H[a+368>>2],H[a+356>>2]+N(c,20)|0,65);break G}f=0;b=H[e+32>>2];if((b|0)<0){break a}}if((b|0)==-1|f){break b}d=H[a+368>>2];j=H[a+356>>2];g=H[a+100>>2];f=0;H[e+40>>2]=0;h=j+N(b,20)|0;c=zb(g,J[h+8>>1]+1|0,e+40|0);if(H[e+40>>2]){break b}f=ob(d,H[h+12>>2]);H[e+40>>2]=f;L:{if(f){break L}f=Nb(d,J[h+8>>1]);H[e+40>>2]=f;if(f){break L}f=c;M:{k=J[h+8>>1];if(k){i=H[d+32>>2];while(1){l=I[i|0];n=l<<24>>24;if((n|0)<0|!(I[(l>>>3|0)+94544|0]>>>(l&7)&1)){break M}F[f|0]=n;i=i+1|0;f=f+1|0;k=k-1|0;if(k){continue}break}}F[f|0]=0;Db(d);f=c;break b}Db(d)}if(c){Ya[H[g+8>>2]](g,c)}f=0;H[h+12>>2]=0;G[h+8>>1]=0;b=j+N(b,20)|0;c=H[b+16>>2];if(c){Ya[H[g+8>>2]](g,c)}H[b+16>>2]=0;break b}l=d-f|0;if((l|0)<128){break b}b=0-(l>>>4|0)|0;h=(l&-16)+f|0;j=123456789;c=123456789;i=123456789;d=123456789;while(1){m=j;g=h+(b<<4)|0;j=H[g>>2];j=LM(m^N(N(j,597399067)>>>17|N(j,-888307712),-1425107063),19)+c|0;m=c;c=H[g+4>>2];c=N(LM(m^N(N(c,-1425107063)>>>16|N(c,-1752629248),951274213),17)+i|0,5)+197830471|0;m=i;i=H[g+8>>2];k=N(LM(m^N(N(i,951274213)>>>15|N(i,-1781923840),-1578923117),15)+d|0,5)-1764942795|0;i=k;m=d;d=H[g+12>>2];j=N(j,5)+1444728091|0;d=N(LM(m^N(N(d,-1578923117)>>>14|N(d,776732672),597399067),13)+j|0,5)+850148119|0;g=b;b=b+1|0;if(g>>>0<=b>>>0){continue}break}b=0;N:{switch((l&15)-1|0){case 14:b=I[h+14|0]<<16;case 13:b=I[h+13|0]<<8|b;case 12:b=I[h+12|0]^b;d=N(N(b,-1578923117)>>>14|N(b,776732672),597399067)^d;case 11:b=I[h+11|0]<<24;case 10:b=I[h+10|0]<<16|b;case 9:b=I[h+9|0]<<8^b;case 8:b=I[h+8|0]^b;k=N(N(b,951274213)>>>15|N(b,-1781923840),-1578923117)^k;case 7:b=I[h+7|0]<<24;case 6:b=I[h+6|0]<<16|b;case 5:b=I[h+5|0]<<8^b;case 4:b=I[h+4|0]^b;c=N(N(b,-1425107063)>>>16|N(b,-1752629248),951274213)^c;case 3:b=I[h+3|0]<<24;case 2:b=I[h+2|0]<<16|b;case 1:b=I[h+1|0]<<8^b;case 0:b=I[h|0]^b;j=N(N(b,597399067)>>>17|N(b,-888307712),-1425107063)^j;break;default:break N}}b=H[a+748>>2]+f|0;F[b|0]=45;F[b+33|0]=46;F[b+34|0]=46;F[b+35|0]=46;F[b+36|0]=0;i=c^l;g=l^k;d=d^l;c=(i+(g+d|0)|0)+(j^l)|0;h=N(c>>>16^c,-2048144789);h=N(h>>>13^h,-1028477387);i=c+i|0;i=N(i>>>16^i,-2048144789);i=N(i>>>13^i,-1028477387);i=i>>>16^i;g=c+g|0;g=N(g>>>16^g,-2048144789);g=N(g>>>13^g,-1028477387);g=g>>>16^g;c=c+d|0;c=N(c>>>16^c,-2048144789);c=N(c>>>13^c,-1028477387);d=c>>>16^c;c=(((h>>>16^h)+i|0)+g|0)+d|0;d=c+d|0;F[b+32|0]=I[(d&15)+94528|0];F[b+25|0]=I[(d>>>28|0)+94528|0];g=c+g|0;F[b+24|0]=I[(g&15)+94528|0];F[b+31|0]=I[(d>>>4&15)+94528|0];F[b+30|0]=I[(d>>>8&15)+94528|0];F[b+29|0]=I[(d>>>12&15)+94528|0];F[b+28|0]=I[(d>>>16&15)+94528|0];F[b+27|0]=I[(d>>>20&15)+94528|0];F[b+26|0]=I[(d>>>24&15)+94528|0];F[b+23|0]=I[(g>>>4&15)+94528|0];F[b+22|0]=I[(g>>>8&15)+94528|0];F[b+21|0]=I[(g>>>12&15)+94528|0];F[b+20|0]=I[(g>>>16&15)+94528|0];F[b+19|0]=I[(g>>>20&15)+94528|0];F[b+18|0]=I[(g>>>24&15)+94528|0];d=c+i|0;F[b+16|0]=I[(d&15)+94528|0];F[b+17|0]=I[(g>>>28|0)+94528|0];F[b+15|0]=I[(d>>>4&15)+94528|0];F[b+14|0]=I[(d>>>8&15)+94528|0];F[b+13|0]=I[(d>>>12&15)+94528|0];F[b+12|0]=I[(d>>>16&15)+94528|0];F[b+11|0]=I[(d>>>20&15)+94528|0];F[b+10|0]=I[(d>>>24&15)+94528|0];F[b+9|0]=I[(d>>>28|0)+94528|0];F[b+8|0]=I[(c&15)+94528|0];F[b+7|0]=I[(c>>>4&15)+94528|0];F[b+6|0]=I[(c>>>8&15)+94528|0];F[b+5|0]=I[(c>>>12&15)+94528|0];F[b+4|0]=I[(c>>>16&15)+94528|0];F[b+3|0]=I[(c>>>20&15)+94528|0];F[b+2|0]=I[(c>>>24&15)+94528|0];F[b+1|0]=I[(c>>>28|0)+94528|0]}H[a+720>>2]=f}Wa=e+48|0;return f|0}function Wm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Wa-16|0;Wa=k;c=H[a+1008>>2];d=0;a:{if((c|0)<0){break a}b:{c:{while(1){d=H[a+4>>2];c=(c<<2)+a|0;H[a+72>>2]=N(d,G[c+946>>1]);c=G[c+944>>1];H[a+40>>2]=0;H[a+44>>2]=0;H[a+84>>2]=0;h=H[a+24>>2];H[a+36>>2]=h;G[a+78>>1]=0;H[a+80>>2]=h;g=H[a+28>>2]-32|0;H[a+32>>2]=g;H[a+68>>2]=N(c,d);H[h+8>>2]=h;G[a+76>>1]=0;d:{e:{f:{g:{h:{if(G[a+120>>1]<=0){break h}e=H[a+8>>2];f=H[a+132>>2];c=0;q=0;while(1){H[a+88>>2]=0;H[a+92>>2]=0;d=H[a+12>>2];j=H[a+124>>2];l=c&65535;c=j+(l<<3)|0;g=N(d,H[c+4>>2])-e|0;i=N(d,H[c>>2])-e|0;r=q<<1;h=J[r+f>>1];m=j+(h<<3)|0;f=N(d,H[m+4>>2])-e|0;d=N(d,H[m>>2])-e|0;i:{if(!b){j=i;i=g;g=d;d=f;break i}j=g;g=f}f=l;l=H[a+128>>2];e=f+l|0;f=I[e|0];if(f&4){F[a+164|0]=f>>>5;f=I[e|0]}f=f&3;j:{if((f|0)==3){break j}k:{switch(f-1|0){case 0:break j;case 1:break b;default:break k}}l:{if((I[h+l|0]&3)==1){m=m-8|0;j=g;break l}d=(d+i|0)/2|0;j=(g+j|0)/2|0}i=d;e=e-1|0;c=c-8|0}H[a+64>>2]=i;H[a+60>>2]=j;m:{if(c>>>0>>0){while(1){h=e+1|0;g=c+8|0;n:{o:{p:{switch(I[e+1|0]&3){case 1:f=H[c+8>>2];d=c;e=h;c=g;l=H[d+12>>2];d=H[a+12>>2];g=H[a+8>>2];l=N(l,d)-g|0;d=N(d,f)-g|0;if(Vm(a,b?l:d,b?d:l)){break g}break n;case 0:d=H[a+12>>2];f=H[a+8>>2];e=N(d,H[c+8>>2])-f|0;c=N(d,H[c+12>>2])-f|0;d=b?e:c;f=b?c:e;c=g;while(1){if(c>>>0>=m>>>0){break o}e=H[a+12>>2];g=H[a+8>>2];l=N(e,H[c+8>>2])-g|0;e=N(e,H[c+12>>2])-g|0;g=b?l:e;l=b?e:l;e=h+1|0;c=c+8|0;h=I[h+1|0]&3;if(h){if((h|0)!=1){break b}if(!mi(a,f,d,l,g)){break n}break g}n=mi(a,f,d,(f+l|0)/2|0,(d+g|0)/2|0);h=e;f=l;d=g;if(!n){continue}break};break g;default:break p}}if((I[e+2|0]&3)!=2|c+16>>>0>m>>>0){break b}n=c+24|0;p=H[a+12>>2];o=H[a+8>>2];d=N(p,H[c+16>>2])-o|0;g=N(p,H[c+8>>2])-o|0;h=N(p,H[c+20>>2])-o|0;f=N(p,H[c+12>>2])-o|0;q:{if(!b){l=g;g=f;f=d;d=h;break q}l=f;f=h}if(m>>>0>=n>>>0){h=d;d=N(p,H[c+28>>2])-o|0;c=N(p,H[c+24>>2])-o|0;if(Um(a,l,g,f,h,b?d:c,b?c:d)){break g}e=e+3|0;c=n;break n}if(!Um(a,l,g,f,d,j,i)){break m}break g}if(mi(a,f,d,j,i)){break g}break m}if(c>>>0>>0){continue}break}}if(Vm(a,j,i)){break g}}f=H[a+132>>2];j=J[r+f>>1];l=H[a+4>>2];h=l-1|0;i=H[a+64>>2];n=h&i;r:{if(n|(i|0)>2]|(i|0)>H[a+72>>2]){break r}c=H[a+88>>2];if(!c|(J[H[a+80>>2]+12>>1]^J[c+12>>1])&8){break r}H[a+36>>2]=H[a+36>>2]-4}s:{t:{u:{c=H[a+36>>2];d=H[a+80>>2];e=H[d+8>>2];m=(c|0)==(e|0);if(I[d+12|0]&8?m:1){g=c-e|0;if((g|0)>=0){break u}break c}g=c-e|0;if((g|0)<0){break c}e=H[a+8>>2];i=(n|0)>=(e|0);break t}e=H[a+8>>2];if(m){h=c;break s}i=((h+i&0-l)-i|0)>=(e|0)}H[d+16>>2]=g>>>2;if(i){i=J[d+12>>1];G[d+12>>1]=(i&8?16:32)|i}H[a+80>>2]=c;h=c+32|0;H[a+36>>2]=h;H[c+8>>2]=h;H[c+16>>2]=0;H[d+28>>2]=c;G[a+76>>1]=J[a+76>>1]+1}g=H[a+32>>2];if(g>>>0<=h>>>0){break f}F[a+79|0]=0;c=H[a+88>>2];if(c){H[d+28>>2]=c}c=j+1|0;q=q+1|0;if((q|0)>1]){continue}break}q=J[a+76>>1];if(q>>>0<2){break h}m=H[a+84>>2];if(!m){break h}j=H[a+44>>2];o=H[a+28>>2];c=m;while(1){v:{if((q&65535)>>>0>=2){d=H[c+16>>2];l=H[c+8>>2]+(d<<2)|0;H[c+4>>2]=l;break v}l=0;H[c+4>>2]=0;d=H[c+16>>2]}e=H[c+20>>2];w:{if(I[c+12|0]&8){f=e;e=(e+d|0)-1|0;break w}f=(e-d|0)+1|0;H[c+20>>2]=f;H[c+8>>2]=(H[c+8>>2]+(d<<2)|0)-4}p=e;n=0-j|0;r=o-(j<<2)|0;c=j;x:{y:{while(1){i=c;if((c|0)<=0){break y}c=i-1|0;e=r+(c<<2)|0;d=H[e>>2];if((f|0)<(d|0)){continue}break}if((d|0)>=(f|0)){i=j;break x}H[e>>2]=f;if(!c){f=d;break y}e=0;n=c&3;if(n){while(1){c=c-1|0;s=r+(c<<2)|0;f=H[s>>2];H[s>>2]=d;d=f;e=e+1|0;if((n|0)!=(e|0)){continue}break}}if(i-2>>>0<3){break y}while(1){f=r+(c<<2)|0;e=f-8|0;i=H[e+4>>2];e=H[e>>2];H[f-4>>2]=d;d=f-12|0;f=H[d>>2];H[d>>2]=e;H[d+4>>2]=i;c=c-4|0;e=r+(c<<2)|0;d=H[e>>2];H[e>>2]=f;f=d;if(c){continue}break}}g=g-4|0;H[a+32>>2]=g;if(h>>>0>=g>>>0){break f}i=j+1|0;H[a+44>>2]=i;n=j^-1;H[o+(n<<2)>>2]=f}f=p+1|0;n=o+(n<<2)|0;c=i;z:{A:{while(1){j=c;if((c|0)<=0){break A}c=j-1|0;e=n+(c<<2)|0;d=H[e>>2];if((f|0)<(d|0)){continue}break}if((d|0)>(p|0)){j=i;break z}H[e>>2]=f;if(!c){f=d;break A}e=0;p=c&3;if(p){while(1){c=c-1|0;r=n+(c<<2)|0;f=H[r>>2];H[r>>2]=d;d=f;e=e+1|0;if((p|0)!=(e|0)){continue}break}}if(j-2>>>0<3){break A}while(1){f=n+(c<<2)|0;e=f-8|0;j=H[e+4>>2];e=H[e>>2];H[f-4>>2]=d;d=f-12|0;f=H[d>>2];H[d>>2]=e;H[d+4>>2]=j;c=c-4|0;e=n+(c<<2)|0;d=H[e>>2];H[e>>2]=f;f=d;if(c){continue}break}}g=g-4|0;H[a+32>>2]=g;if(h>>>0>=g>>>0){break f}j=i+1|0;H[a+44>>2]=j;H[o+((i^-1)<<2)>>2]=f}c=l;q=q-1|0;if(q&65535){continue}break}if(h>>>0>=g>>>0){break g}H[k+8>>2]=0;H[k+4>>2]=0;H[k>>2]=0;c=H[a>>2];d=H[a+68>>2]>>c;G[k+12>>1]=d;f=H[a+72>>2]>>c;G[k+14>>1]=f;while(1){e=m;c=H[e+20>>2];i=(c+H[e+16>>2]<<16)-65536>>16;if(c<<16>>16>16){G[k+14>>1]=c;f=c}if((i|0)>d<<16>>16){G[k+12>>1]=i;d=i}m=H[e+4>>2];H[e>>2]=0;h=k+8|0;c=H[k+8>>2];B:{if(!c){c=0;break B}if(H[c>>2]>0){break B}C:{while(1){i=c;c=H[c+4>>2];if(c){if(H[c>>2]<=0){continue}break C}break}c=0}h=i+4|0}H[e+4>>2]=c;H[h>>2]=e;if(m){continue}break}D:{if(H[a+44>>2]){Ya[H[a+148>>2]](a,k+14|0,k+12|0);l=G[k+14>>1];e=H[k+8>>2];if(e){c=e;while(1){H[c+24>>2]=H[c+20>>2]-l;c=H[c+4>>2];if(c){continue}break}}g=H[a+44>>2];if((g|0)<=0){break D}if(H[H[a+28>>2]-(g<<2)>>2]==(l|0)){g=g-1|0;H[a+44>>2]=g;if(!g){break D}}c=0;while(1){if(e){j=c<<16>>16;while(1){c=H[e+24>>2];H[e+24>>2]=c-j;f=H[e+4>>2];if((c|0)==(j|0)){c=H[k+8>>2];E:{if(!c){break E}if((c|0)==(e|0)){H[k+8>>2]=f;break E}while(1){d=c;c=H[c+4>>2];if(!c){break E}if((c|0)!=(e|0)){continue}break}H[d+4>>2]=f}i=H[e>>2];F:{if(I[e+12|0]&8){d=k+4|0;c=H[k+4>>2];if(!c){c=0;break F}if((i|0)>2]){break F}G:{while(1){d=c;c=H[c+4>>2];if(c){if((i|0)>=H[c>>2]){continue}break G}break}c=0}d=d+4|0;break F}d=k;c=H[d>>2];if(!c){c=0;break F}if((i|0)>2]){break F}H:{while(1){d=c;c=H[c+4>>2];if(c){if((i|0)>=H[c>>2]){continue}break H}break}c=0}d=d+4|0}H[e+4>>2]=c;H[d>>2]=e}e=f;if(e){continue}break}}e=H[k+4>>2];c=e;I:{if(!c){break I}while(1){d=H[c+8>>2];H[c>>2]=H[d>>2];H[c+16>>2]=H[c+16>>2]-1;H[c+8>>2]=d+(J[c+12>>1]&8?4:-4);c=H[c+4>>2];if(c){continue}break}c=H[e+4>>2];if(!c){break I}h=e+4|0;d=k+4|0;while(1){J:{if(H[e>>2]<=H[c>>2]){e=c;d=h;break J}H[d>>2]=c;H[h>>2]=H[c+4>>2];H[c+4>>2]=e;e=H[k+4>>2];d=k+4|0}h=e+4|0;c=H[e+4>>2];if(c){continue}break}}j=H[k>>2];c=j;K:{if(!c){j=0;break K}while(1){d=H[c+8>>2];H[c>>2]=H[d>>2];H[c+16>>2]=H[c+16>>2]-1;H[c+8>>2]=d+(J[c+12>>1]&8?4:-4);c=H[c+4>>2];if(c){continue}break}e=H[j+4>>2];if(!e){break K}h=j+4|0;d=k;c=j;while(1){L:{if(H[c>>2]<=H[e>>2]){d=h;c=e;break L}H[d>>2]=e;H[h>>2]=H[e+4>>2];H[e+4>>2]=c;d=k;j=H[d>>2];c=j}h=c+4|0;e=H[c+4>>2];if(e){continue}break}}H[a+44>>2]=g-1;r=H[H[a+28>>2]-(g<<2)>>2];s=r<<16>>16;M:{if((s|0)>l<<16>>16){n=j;g=j;i=l;while(1){e=H[k+4>>2];N:{if(!e){break N}q=0;c=e;f=g;if(!f){break N}while(1){O:{P:{h=H[c>>2];m=H[f>>2];d=(h|0)>(m|0)?h:m;h=(h|0)<(m|0)?h:m;m=H[a+4>>2];if((d-h|0)>(m|0)){break P}o=0-m|0;p=o&h;if((p|0)==(h|0)){break P}o=o&(d+m|0)-1;if((o|0)==(d|0)|(o|0)!=(m+p|0)&(o|0)>=(p|0)){break P}if((J[c+12>>1]&7)==2){break O}H[c>>2]=h;H[f>>2]=d;H[c+24>>2]=1;q=q+1|0;break O}Ya[H[a+152>>2]](a,i<<16>>16,h,d,c,f)}c=H[c+4>>2];if(c){f=H[f+4>>2];if(f){continue}}break}c=e;if(q<<16>>16<=0){break N}while(1){if(H[c+24>>2]){H[c+24>>2]=0;Ya[H[a+156>>2]](a,i<<16>>16,H[c>>2],H[g>>2],c,g)}c=H[c+4>>2];if(!c){break N}g=H[g+4>>2];if(g){continue}break}}Ya[H[a+160>>2]](a);i=i+1|0;if((s|0)<=i<<16>>16){break M}c=e;Q:{if(!c){break Q}while(1){d=H[c+8>>2];H[c>>2]=H[d>>2];H[c+16>>2]=H[c+16>>2]-1;H[c+8>>2]=d+(J[c+12>>1]&8?4:-4);c=H[c+4>>2];if(c){continue}break}c=H[e+4>>2];if(!c){break Q}h=e+4|0;d=k+4|0;while(1){R:{if(H[e>>2]<=H[c>>2]){e=c;d=h;break R}H[d>>2]=c;H[h>>2]=H[c+4>>2];H[c+4>>2]=e;e=H[k+4>>2];d=k+4|0}h=e+4|0;c=H[e+4>>2];if(c){continue}break}j=H[k>>2];n=j}f=n;n=0;g=0;c=f;if(!c){continue}while(1){d=H[c+8>>2];H[c>>2]=H[d>>2];H[c+16>>2]=H[c+16>>2]-1;H[c+8>>2]=d+(J[c+12>>1]&8?4:-4);c=H[c+4>>2];if(c){continue}break}h=f+4|0;d=k;n=f;g=f;c=f;e=H[c+4>>2];if(!e){continue}while(1){S:{if(H[c>>2]<=H[e>>2]){d=h;c=e;break S}H[d>>2]=e;H[h>>2]=H[e+4>>2];H[e+4>>2]=c;d=k;j=H[d>>2];f=j;c=f}h=c+4|0;e=H[c+4>>2];if(e){continue}break}n=f;g=f;continue}}e=H[k+4>>2];i=l}T:{c=e;if(!c){break T}while(1){d=H[c+4>>2];U:{if(H[c+16>>2]|!e){break U}if((c|0)==(e|0)){H[k+4>>2]=d;break U}while(1){f=e;e=H[e+4>>2];if(!e){break U}if((c|0)!=(e|0)){continue}break}H[f+4>>2]=d}if(!d){break T}e=H[k+4>>2];c=d;continue}}V:{if(!j){break V}while(1){d=j;j=H[d+4>>2];W:{if(H[d+16>>2]){break W}c=H[k>>2];if(!c){break W}if((c|0)==(d|0)){H[k>>2]=j;if(!j){break V}continue}while(1){f=c;c=H[c+4>>2];if(!c){break W}if((c|0)!=(d|0)){continue}break}H[f+4>>2]=j;if(!j){break V}continue}if(j){continue}break}}g=H[a+44>>2];if((g|0)<=0){l=i;break D}else{c=r-l|0;e=H[k+8>>2];l=i;continue}}}H[a+40>>2]=20;d=20;break a}if(G[k+12>>1]>16){break e}while(1){Ya[H[a+160>>2]](a);l=(l<<16)+65536>>16;if((l|0)<=G[k+12>>1]){continue}break}break e}H[a+84>>2]=0;if(h>>>0>>0){break e}}if(H[a+40>>2]==98){break f}d=1;break a}H[a+40>>2]=0;c=H[a+1008>>2];d=(c<<2)+a|0;f=d;e=G[d+946>>1];i=G[d+944>>1];d=(e+i|0)/2|0;if(!((c|0)<=6&(d|0)>=(i|0))){H[a+40>>2]=20;H[a+1008>>2]=0;d=20;break a}c=c+1|0;i=(c<<2)+a|0;G[i+946>>1]=e;G[i+944>>1]=d;G[f+946>>1]=d-1;break d}c=H[a+1008>>2]-1|0}H[a+1008>>2]=c;if((c|0)>=0){continue}break}d=0;break a}H[a+40>>2]=99;d=1;break a}H[a+40>>2]=20;d=1}Wa=k+16|0;return d}function Rp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=O(0),A=0;d=Wa-144|0;Wa=d;e=kb(d,0,144);H[e+76>>2]=-1;H[e+44>>2]=a;H[e+32>>2]=967;H[e+84>>2]=a;d=b;t=c;c=0;g=Wa-304|0;Wa=g;a:{b:{c:{d:{e:{if(H[e+4>>2]){break e}Ij(e);if(H[e+4>>2]){break e}break d}a=I[d|0];if(!a){break a}f:{g:{h:{while(1){i:{a=a&255;j:{if((a|0)==32|a-9>>>0<5){while(1){a=d;d=d+1|0;b=I[a+1|0];if((b|0)==32|b-9>>>0<5){continue}break}yd(e,0,0);while(1){b=H[e+4>>2];k:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;b=I[b|0];break k}b=Ub(e)}if((b|0)==32|b-9>>>0<5){continue}break}d=H[e+4>>2];b=H[e+116>>2];if((b|0)>0|(b|0)>=0){d=d-1|0;H[e+4>>2]=d}b=d-H[e+44>>2]|0;c=b;b=b>>31;d=c;f=k+H[e+124>>2]|0;c=p+H[e+120>>2]|0;f=c>>>0

>>0?f+1|0:f;d=d+c|0;b=b+f|0;p=d;k=c>>>0>d>>>0?b+1|0:b;break j}l:{m:{n:{if(I[d|0]==37){a=I[d+1|0];if((a|0)==42){break n}if((a|0)!=37){break m}}yd(e,0,0);o:{if(I[d|0]==37){while(1){a=H[e+4>>2];p:{if((a|0)!=H[e+104>>2]){H[e+4>>2]=a+1;a=I[a|0];break p}a=Ub(e)}if((a|0)==32|a-9>>>0<5){continue}break}d=d+1|0;break o}a=H[e+4>>2];if((a|0)!=H[e+104>>2]){H[e+4>>2]=a+1;a=I[a|0];break o}a=Ub(e)}if(I[d|0]!=(a|0)){b=H[e+116>>2];if((b|0)>0|(b|0)>=0){H[e+4>>2]=H[e+4>>2]-1}if((a|0)>=0){break a}c=0;if(!u){break d}break a}a=H[e+4>>2]-H[e+44>>2]|0;b=a>>31;c=a;k=k+H[e+124>>2]|0;a=p+H[e+120>>2]|0;k=a>>>0

>>0?k+1|0:k;c=c+a|0;n=b+k|0;p=c;k=a>>>0>c>>>0?n+1|0:n;a=d;break j}l=0;a=d+2|0;break l}if(!(I[d+2|0]!=36|a-48>>>0>=10)){b=I[d+1|0]-48|0;a=Wa-16|0;H[a+12>>2]=t;c=a;a=(b>>>0>1?(b<<2)-4|0:0)+t|0;H[c+8>>2]=a+4;l=H[a>>2];a=d+3|0;break l}l=H[t>>2];t=t+4|0;a=d+1|0}s=0;d=0;if(I[a|0]-48>>>0<10){while(1){d=(I[a|0]+N(d,10)|0)-48|0;b=I[a+1|0];a=a+1|0;if(b-48>>>0<10){continue}break}}h=I[a|0];if((h|0)==109){o=0;s=(l|0)!=0;h=I[a+1|0];q=0;a=a+1|0}b=a;a=b+1|0;j=3;c=s;q:{r:{switch(h-65|0){case 39:c=b+2|0;b=I[b+1|0]==104;a=b?c:a;j=b?-2:-1;break q;case 43:c=b+2|0;b=I[b+1|0]==108;a=b?c:a;j=b?3:1;break q;case 51:case 57:j=1;break q;case 11:j=2;break q;case 41:break q;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break r;default:break f}}j=0;a=b}c=I[a|0];b=(c&47)==3;v=b?1:j;r=b?c|32:c;s:{if((r|0)==91){break s}t:{if((r|0)!=110){if((r|0)!=99){break t}d=(d|0)>1?d:1;break s}Sp(l,v,p,k);break j}yd(e,0,0);while(1){b=H[e+4>>2];u:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;b=I[b|0];break u}b=Ub(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=H[e+4>>2];c=H[e+116>>2];if((c|0)>0|(c|0)>=0){b=b-1|0;H[e+4>>2]=b}b=b-H[e+44>>2]|0;c=b>>31;i=b;f=k+H[e+124>>2]|0;b=p+H[e+120>>2]|0;f=b>>>0

>>0?f+1|0:f;p=i+b|0;k=c+f|0;k=b>>>0>p>>>0?k+1|0:k}i=d;h=d>>31;yd(e,d,h);b=H[e+4>>2];v:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;break v}if((Ub(e)|0)<0){break h}}b=H[e+116>>2];if((b|0)>0|(b|0)>=0){H[e+4>>2]=H[e+4>>2]-1}b=16;w:{x:{y:{z:{A:{switch(r-88|0){default:b=r-65|0;if(b>>>0>6|!(1<>2]-H[e+44>>2]|0;if(H[e+120>>2]!=(0-b|0)|H[e+124>>2]!=(0-((b>>31)+((b|0)!=0)|0)|0)){break y}break c;case 3:case 11:case 27:if((r&239)==99){kb(g+32|0,-1,257);F[g+32|0]=0;if((r|0)!=115){break x}F[g+65|0]=0;F[g+46|0]=0;G[g+42>>1]=0;G[g+44>>1]=0;break x}f=I[a+1|0];c=(f|0)==94;kb(g+32|0,c,257);F[g+32|0]=0;b=c?a+2|0:a+1|0;B:{C:{D:{a=I[(c?2:1)+a|0];if((a|0)!=45){if((a|0)==93){break D}j=(f|0)!=94;a=b;break B}j=(f|0)!=94;F[g+78|0]=j;break C}j=(f|0)!=94;F[g+126|0]=j}a=b+1|0}while(1){b=I[a|0];E:{if((b|0)!=45){if(!b){break h}if((b|0)!=93){break E}break x}b=45;f=I[a+1|0];if(!f|(f|0)==93){break E}c=a+1|0;a=I[a-1|0];F:{if(f>>>0<=a>>>0){b=f;break F}while(1){a=a+1|0;F[a+(g+32|0)|0]=j;b=I[c|0];if(b>>>0>a>>>0){continue}break}}a=c}F[(b+g|0)+33|0]=j;a=a+1|0;continue};case 23:b=8;break z;case 12:case 29:b=10;break z;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break w;case 0:case 24:case 32:break z;case 17:break A}}b=0}i=0;f=0;c=0;h=0;j=0;w=Wa-16|0;Wa=w;G:{if(!((b|0)!=1&b>>>0<=36)){H[64884]=28;break G}while(1){d=H[e+4>>2];H:{if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break H}d=Ub(e)}if((d|0)==32|d-9>>>0<5){continue}break}I:{J:{switch(d-43|0){case 0:case 2:break J;default:break I}}j=(d|0)==45?-1:0;d=H[e+4>>2];if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break I}d=Ub(e)}K:{L:{M:{N:{if(!(b&-17|(d|0)!=48)){d=H[e+4>>2];O:{if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break O}d=Ub(e)}if((d&-33)==88){b=16;d=H[e+4>>2];P:{if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break P}d=Ub(e)}if(I[d+244209|0]<16){break M}b=H[e+116>>2];if((b|0)>0|(b|0)>=0){H[e+4>>2]=H[e+4>>2]-1}yd(e,0,0);break G}if(b){break N}b=8;break M}b=b?b:10;if(b>>>0>I[d+244209|0]){break N}b=H[e+116>>2];if((b|0)>0|(b|0)>=0){H[e+4>>2]=H[e+4>>2]-1}yd(e,0,0);H[64884]=28;break G}if((b|0)!=10){break M}c=d-48|0;if(c>>>0<=9){b=0;while(1){b=N(b,10)+c|0;i=b>>>0<429496729;d=H[e+4>>2];Q:{if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break Q}d=Ub(e)}c=d-48|0;if(i&c>>>0<=9){continue}break}i=b}R:{if(c>>>0>9){break R}m=HM(i,0,10,0);b=Xa;while(1){d=c+m|0;b=d>>>0>>0?b+1|0:b;i=d;f=b;h=(b|0)==429496729&d>>>0>=2576980378|b>>>0>429496729;b=H[e+4>>2];S:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;d=I[b|0];break S}d=Ub(e)}c=d-48|0;if(h|c>>>0>9){break R}m=HM(i,f,10,0);b=Xa;if((b|0)==-1&(c^-1)>>>0>=m>>>0|(b|0)!=-1){continue}break}b=10;break L}b=10;if(c>>>0<=9){break L}break K}if(b-1&b){h=I[d+244209|0];if(h>>>0>>0){while(1){c=N(b,c)+h|0;i=c>>>0<119304647;d=H[e+4>>2];T:{if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break T}d=Ub(e)}h=I[d+244209|0];if(i&h>>>0>>0){continue}break}i=c}if(b>>>0<=h>>>0){break L}n=b;while(1){x=HM(i,f,n,0);m=Xa;c=h&255;if((m|0)==-1&(c^-1)>>>0>>0){break L}f=m;d=c+x|0;f=d>>>0>>0?f+1|0:f;i=d;c=H[e+4>>2];U:{if((c|0)!=H[e+104>>2]){H[e+4>>2]=c+1;d=I[c|0];break U}d=Ub(e)}h=I[d+244209|0];if(b>>>0<=h>>>0){break L}Fc(w,n,0,0,0,i,f,0,0);if(!(H[w+8>>2]|H[w+12>>2])){continue}break}break L}m=F[(N(b,23)>>>5&7)+244465|0];c=I[d+244209|0];if(c>>>0>>0){while(1){h=h<>>0<134217728;d=H[e+4>>2];V:{if((d|0)!=H[e+104>>2]){H[e+4>>2]=d+1;d=I[d|0];break V}d=Ub(e)}c=I[d+244209|0];if(i&c>>>0>>0){continue}break}i=h}if(b>>>0<=c>>>0){break L}h=m&31;if((m&63)>>>0>=32){n=0;h=-1>>>h|0}else{n=-1>>>h|0;h=n|(1<>>0>>0){break L}while(1){x=c&255;c=i;d=m&31;if((m&63)>>>0>=32){f=c<>>32-d|f<>2];W:{if((c|0)!=H[e+104>>2]){H[e+4>>2]=c+1;d=I[c|0];break W}d=Ub(e)}c=I[d+244209|0];if(b>>>0<=c>>>0){break L}if((f|0)==(n|0)&h>>>0>=i>>>0|f>>>0>>0){continue}break}}if(I[d+244209|0]>=b>>>0){break K}while(1){c=H[e+4>>2];X:{if((c|0)!=H[e+104>>2]){H[e+4>>2]=c+1;c=I[c|0];break X}c=Ub(e)}if(I[c+244209|0]>>0){continue}break}H[64884]=68;j=0;i=-1;f=-1}b=H[e+116>>2];if((b|0)>0|(b|0)>=0){H[e+4>>2]=H[e+4>>2]-1}Y:{if((f&i)!=-1){break Y}}b=j;d=b^i;i=d-b|0;c=b>>31;f=(c^f)-((b>>>0>d>>>0)+c|0)|0}Wa=w+16|0;b=H[e+4>>2]-H[e+44>>2]|0;if(H[e+120>>2]==(0-b|0)&H[e+124>>2]==(0-((b>>31)+((b|0)!=0)|0)|0)){break c}if(!(!l|(r|0)!=112)){H[l>>2]=i;break w}Sp(l,v,i,f);break w}if(!l){break w}f=H[g+16>>2];d=H[g+20>>2];c=H[g+8>>2];b=H[g+12>>2];Z:{switch(v|0){case 0:y=l,z=Up(c,b,f,d),L[y>>2]=z;break w;case 1:y=l,A=Aj(c,b,f,d),M[y>>3]=A;break w;case 2:break Z;default:break w}}H[l>>2]=c;H[l+4>>2]=b;H[l+8>>2]=f;H[l+12>>2]=d;break w}n=(r|0)==99;j=n?d+1|0:31;m=(v|0)!=1;_:{if(!m){b=l;if(s){b=tb(j<<2);if(!b){break g}}H[g+296>>2]=0;H[g+300>>2]=0;d=0;$:{while(1){q=b;while(1){b=H[e+4>>2];aa:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;b=I[b|0];break aa}b=Ub(e)}if(!I[(b+g|0)+33|0]){break $}F[g+27|0]=b;b=_f(g+28|0,g+27|0,1,g+296|0);if((b|0)==-2){continue}if((b|0)==-1){break i}if(q){H[(d<<2)+q>>2]=H[g+28>>2];d=d+1|0}if(!((d|0)==(j|0)&s)){continue}break}j=j<<1|1;b=Eb(q,j<<2);if(b){continue}break}c=1;o=0;break f}if(g+296|0?H[g+296>>2]:0){break i}o=0;break _}if(s){d=0;b=tb(j);if(!b){break g}while(1){o=b;while(1){b=H[e+4>>2];ba:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;b=I[b|0];break ba}b=Ub(e)}if(!I[(b+g|0)+33|0]){q=0;break _}F[d+o|0]=b;d=d+1|0;if((j|0)!=(d|0)){continue}break}c=1;q=0;j=j<<1|1;b=Eb(o,j);if(b){continue}break}break f}d=0;if(l){while(1){b=H[e+4>>2];ca:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;b=I[b|0];break ca}b=Ub(e)}if(I[(b+g|0)+33|0]){F[d+l|0]=b;d=d+1|0;continue}else{q=0;o=l;break _}}}while(1){b=H[e+4>>2];da:{if((b|0)!=H[e+104>>2]){H[e+4>>2]=b+1;b=I[b|0];break da}b=Ub(e)}if(I[(b+g|0)+33|0]){continue}break}o=0;q=0}b=H[e+4>>2];c=H[e+116>>2];if((c|0)>0|(c|0)>=0){b=b-1|0;H[e+4>>2]=b}b=b-H[e+44>>2]|0;c=b+H[e+120>>2]|0;f=H[e+124>>2]+(b>>31)|0;f=b>>>0>c>>>0?f+1|0:f;b=c;if(!(f|b)|((b|0)!=(i|0)|(f|0)!=(h|0))&(r|0)==99){break c}ea:{if(!s){break ea}if(!m){H[l>>2]=q;break ea}H[l>>2]=o}if(n){break w}if(q){H[(d<<2)+q>>2]=0}if(!o){o=0;break w}F[d+o|0]=0}b=H[e+4>>2]-H[e+44>>2]|0;c=b;b=b>>31;d=c;k=k+H[e+124>>2]|0;c=p+H[e+120>>2]|0;k=c>>>0

>>0?k+1|0:k;d=d+c|0;b=b+k|0;p=d;k=c>>>0>d>>>0?b+1|0:b;u=((l|0)!=0)+u|0}d=a+1|0;a=I[a+1|0];if(a){continue}break a}break}o=0}c=s;break f}c=1;o=0;q=0}if(u){break b}}u=-1;break b}c=s}if(!c){break a}hb(o);hb(q)}Wa=g+304|0;Wa=e+144|0;return u}function fr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;m=Wa-32|0;Wa=m;k=H[c+80>>2];g=d+3|0;a:{if(H[c+44>>2]!=1265525857|g>>>0>e>>>0){break a}i=N(d,20)+k|0;if(I[i+12|0]&32|I[i+18|0]!=16){break a}f=d+1|0;j=N(f,20)+k|0;if(I[j+12|0]&32|I[j+18|0]!=4){break a}i=N(d,20)+k|0;if(I[i+52|0]&32){break a}h=i+40|0;if(I[h+18|0]!=6){break a}kc(c,f,g);H[m+24>>2]=H[j+16>>2];i=H[j+12>>2];H[m+16>>2]=H[j+8>>2];H[m+20>>2]=i;i=H[j+4>>2];H[m+8>>2]=H[j>>2];H[m+12>>2]=i;H[j+16>>2]=H[h+16>>2];i=H[h+12>>2];H[j+8>>2]=H[h+8>>2];H[j+12>>2]=i;i=H[h+4>>2];H[j>>2]=H[h>>2];H[j+4>>2]=i;H[h+16>>2]=H[m+24>>2];i=H[m+20>>2];H[h+8>>2]=H[m+16>>2];H[h+12>>2]=i;i=H[m+12>>2];H[h>>2]=H[m+8>>2];H[h+4>>2]=i}l=H[a>>2];h=H[l+20>>2];b:{c:{d:{e:{f:{g:{if(!(!H[a+80>>2]|e>>>0>>0)){i=e;g=d;h:{i:{switch(h|0){case 0:i=N(d+2|0,20)+k|0;if(I[i+12|0]&32){break h}f=I[i+18|0];if(f>>>0>31){break h}i=e;if(!(1<>2]=H[i>>2];H[m+12>>2]=H[i+20>>2];j:{if((h|0)==1){H[m+16>>2]=H[i+40>>2];h=a+16|0;if(H[h>>2]){break j}break c}H[m+16>>2]=0;h=a+16|0;i=e;if(!H[h>>2]){break d}}f=0;k:{while(1){if(rd(b,J[H[a+12>>2]+(f<<3)>>1],m+8|0,2,I[a+20|0])){break k}f=f+1|0;j=H[h>>2];if(f>>>0>>0){continue}break}if(H[H[a>>2]+20>>2]!=1){break c}i=e;if(!j){break d}f=0;while(1){if(rd(b,J[H[a+12>>2]+(f<<3)>>1],m+8|0,3,I[a+20|0])){break k}f=f+1|0;if(f>>>0>2]){continue}break}break c}n=1;g=d+2|0;if(g>>>0>=e>>>0){i=d;l=H[a>>2];break b}while(1){i=N(g,20)+k|0;if(I[i+12|0]&32){i=d;l=H[a>>2];break b}i=I[i+18|0];if(i>>>0>31|!(1<>>0>i>>>0?e:i;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){i=d;break b}i=N(f,20)+k|0;if(I[i+12|0]&32){i=d;g=f;break b}i=I[i+18|0];if(1<>>0<=31:0){continue}break}i=d;g=f;break b}i=e;g=d;break b}i=d}l=H[a>>2];break b}i=e;l=H[a>>2]}j=0;f=e;l:{m:{switch(H[l+12>>2]){case 1:while(1){h=f;n:{o:{f=f-1|0;l=N(f,20)+k|0;if(I[l+12|0]&32){break o}l=I[l+18|0];if(l>>>0>31|!(1<>>0>=f>>>0){break n}if(I[(N(h,20)+k|0)-22|0]==4){break l}}if(f>>>0>g>>>0){continue}break};break l;case 0:break m;default:break l}}h=n?i:g;r:{if(e>>>0<=g>>>0){i=h;break r}f=g;while(1){i=h;j=N(f,20)+k|0;s:{if(I[j+12|0]&32){break s}h=I[j+18|0];if(h>>>0>31){h=i;break s}if(!(1<>>0<=g>>>0){break s}if(I[j-2|0]==6){break r}}i=h;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>=e>>>0){break l}while(1){j=N(f,20)+k|0;t:{if(I[j+12|0]&32){break t}h=I[j+18|0];if(h>>>0>31|!(1<>>0>2:0;u:{if(d>>>0>=i>>>0){break u}f=d;j=i-f&3;if(j){h=0;while(1){g=N(f,20)+k|0;n=I[g+19|0];F[g+19|0]=n>>>0<3?n:3;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((d^-1)+i>>>0<=2){break u}while(1){h=N(f,20)+k|0;g=I[h+19|0];F[h+19|0]=g>>>0<3?g:3;g=I[h+39|0];F[h+39|0]=g>>>0<3?g:3;g=I[h+59|0];F[h+59|0]=g>>>0<3?g:3;g=I[h+79|0];F[h+79|0]=g>>>0<3?g:3;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(e>>>0>i>>>0){F[(N(i,20)+k|0)+19|0]=4}f=i;v:{while(1){g=f;f=f+1|0;if(f>>>0>=e>>>0){break v}if(I[(N(f,20)+k|0)+18|0]!=7){continue}break}f=g+2|0;if(f>>>0>=e>>>0){break v}while(1){w:{g=N(f,20)+k|0;if(I[g+12|0]&32){break w}g=I[g+18|0];if(g>>>0>31|!(1<>>0>=e>>>0){break x}if(I[(N(f,20)+k|0)+18|0]!=4){continue}break}g=e-1|0;if(g>>>0<=f>>>0){break x}j=H[c+44>>2]!=1265525857;while(1){y:{n=N(g,20)+k|0;z:{if(I[n+12|0]&32){break z}l=I[n+18|0];if(l>>>0>31){break z}if(1<>>0>f>>>0){continue}break x}g=g-1|0;if(g>>>0>f>>>0){continue}break x}break}if((l|0)==4){break x}l=N(f,20)+k|0;H[m+24>>2]=H[l+16>>2];j=H[l+12>>2];H[m+16>>2]=H[l+8>>2];H[m+20>>2]=j;j=H[l+4>>2];H[m+8>>2]=H[l>>2];H[m+12>>2]=j;Yb(l,(N(h,20)+k|0)+40|0,N(g-f|0,20));g=N(g,20)+k|0;H[g+16>>2]=H[m+24>>2];f=H[m+20>>2];H[g+8>>2]=H[m+16>>2];H[g+12>>2]=f;f=H[m+12>>2];H[g>>2]=H[m+8>>2];H[g+4>>2]=f}r=d>>>0>>0;if(r){l=0;f=d;while(1){j=N(f,20)+k|0;g=I[j+18|0];A:{if(!(g>>>0>31|!(1<>>0>=h>>>0){break A}h=h-1|0;g=I[(N(h,20)+k|0)+19|0];if((g|0)==2){continue}break}F[j+19|0]=g;break A}g=I[j+19|0];l=(g|0)==14?l:g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>>0){n=i-1|0;l=0;j=i;while(1){g=j;B:{C:{o=N(f,20)+k|0;if(I[o+12|0]&32){h=I[o+18|0];break C}h=I[o+18|0];if(h>>>0>31|!(1<>>0>=f>>>0){break B}if((i+l|0)-g&1){h=N(h,20)+k|0;if(I[h+19|0]<=13){F[h+19|0]=I[o+19|0]}h=g+2|0}j=f;if((g|0)==(l+n|0)){break B}while(1){g=N(h,20)+k|0;if(I[g+19|0]<=13){F[g+19|0]=I[o+19|0]}if(I[g+39|0]<=13){F[g+39|0]=I[o+19|0]}h=h+2|0;if(h>>>0>>0){continue}break}j=f;break B}j=(h&255)==7?f:g}l=l+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}j=N(d,20)+k|0;p=I[j+15|0];o=d>>>0>=e>>>0;D:{if(o){break D}f=d;i=e-f&3;if(i){h=0;while(1){F[(N(f,20)+k|0)+15|0]=f-d;f=f+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if((d^-1)+e>>>0<3){break D}while(1){g=N(f,20)+k|0;i=f-d|0;F[g+35|0]=i+1;F[g+15|0]=i;F[g+55|0]=i+2;F[g+75|0]=i+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}q=e-d|0;if(q>>>0>=2){l=1;while(1){g=j+N(l,20)|0;h=l;while(1){i=h;if(h){h=i-1|0;if(I[(j+N(h,20)|0)+19|0]>I[g+19|0]){continue}}break}if((i|0)!=(l|0)){H[m+24>>2]=H[g+16>>2];f=H[g+12>>2];H[m+16>>2]=H[g+8>>2];H[m+20>>2]=f;f=H[g+4>>2];H[m+8>>2]=H[g>>2];H[m+12>>2]=f;f=j+N(i,20)|0;Yb(f+20|0,f,N(l-i|0,20));H[f+16>>2]=H[m+24>>2];i=H[m+20>>2];H[f+8>>2]=H[m+16>>2];H[f+12>>2]=i;i=H[m+12>>2];H[f>>2]=H[m+8>>2];H[f+4>>2]=i}l=l+1|0;if((q|0)!=(l|0)){continue}break}}i=e;E:{if(!r){break E}i=d;while(1){if(I[(N(i,20)+k|0)+19|0]==4){break E}i=i+1|0;if((i|0)!=(e|0)){continue}break}i=e}F:{if(!(I[a+4|0]|q>>>0>127)){if(e>>>0<=i>>>0){break F}j=i;while(1){f=I[(N(j,20)+k|0)+15|0];G:{if((f|0)==255){break G}f=d+f|0;g=j;h=g;if((f|0)!=(g|0)){while(1){n=N(f,20)+k|0;l=I[n+15|0];F[n+15|0]=255;g=f>>>0>>0?g:f;h=f>>>0>h>>>0?h:f;f=d+l|0;if((j|0)!=(f|0)){continue}break}}g=g+1|0;f=i>>>0>h>>>0?i:h;if(g-f>>>0<2){break G}kc(c,f,g)}j=j+1|0;if((j|0)!=(e|0)){continue}break}break F}if(e-i>>>0<2){break F}kc(c,i,e)}H:{if(o){break H}h=d;g=q&7;if(g){f=0;while(1){F[(N(h,20)+k|0)+15|0]=p;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if((d^-1)+e>>>0>6){while(1){f=N(h,20)+k|0;F[f+35|0]=p;F[f+15|0]=p;F[f+55|0]=p;F[f+75|0]=p;F[f+95|0]=p;F[f+115|0]=p;F[f+135|0]=p;F[f+155|0]=p;h=h+8|0;if((h|0)!=(e|0)){continue}break}}if(!r){break H}f=d;while(1){g=N(f,20)+k|0;if(I[g+19|0]!=1){break H}H[g+4>>2]=H[g+4>>2]|H[a+80>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=H[a+100>>2];n=I[a+4|0];h=n|H[H[a>>2]+24>>2]?h:H[a+92>>2]|h;I:{if(d>>>0>=i>>>0){break I}f=d;l=i-f&3;if(l){g=0;while(1){j=N(f,20)+k|0;H[j+4>>2]=H[j+4>>2]|h;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+i>>>0<=2){break I}while(1){g=N(f,20)+k|0;H[g+4>>2]=H[g+4>>2]|h;H[g+24>>2]=H[g+24>>2]|h;H[g+44>>2]=H[g+44>>2]|h;g=g- -64|0;H[g>>2]=H[g>>2]|h;f=f+4|0;if((i|0)!=(f|0)){continue}break}}f=i+1|0;J:{if(f>>>0>=e>>>0){break J}l=H[a+104>>2]|(H[a+96>>2]|H[a+92>>2]);j=(i^-1)+e&3;if(j){g=0;while(1){h=N(f,20)+k|0;H[h+4>>2]=l|H[h+4>>2];f=f+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((e-i|0)-2>>>0<3){break J}while(1){g=N(f,20)+k|0;H[g+4>>2]=l|H[g+4>>2];H[g+24>>2]=l|H[g+24>>2];H[g+44>>2]=l|H[g+44>>2];g=g- -64|0;H[g>>2]=l|H[g>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}K:{if(!n|H[c+44>>2]!=1147500129){break K}g=d+1|0;if(i>>>0<=g>>>0){break K}f=d;while(1){c=f;f=g;h=N(c,20)+k|0;L:{if(I[h+18|0]!=16){break L}g=N(f,20)+k|0;if(I[g+18|0]!=4){break L}c=c+2|0;if((c|0)!=(i|0)&I[(N(c,20)+k|0)+18|0]==6){break L}H[h+4>>2]=H[h+4>>2]|H[a+92>>2];H[g+4>>2]=H[g+4>>2]|H[a+92>>2]}g=f+1|0;if((i|0)!=(g|0)){continue}break}}M:{if(!H[a+88>>2]|i+2>>>0>=e>>>0){break M}h=H[a+28>>2];while(1){c=N(i,20)+k|0;H[m+8>>2]=H[c+20>>2];H[m+12>>2]=H[c+40>>2];c=i+1|0;N:{O:{if(h){g=i+2|0;f=0;break O}h=0;break N}while(1){if(!rd(b,J[H[a+24>>2]+(f<<3)>>1],m+8|0,2,I[a+32|0])){f=f+1|0;h=H[a+28>>2];if(f>>>0>>0){continue}break N}break}b=N(c,20)+k|0;H[b+4>>2]=H[b+4>>2]|H[a+88>>2];b=N(g,20)+k|0;H[b+4>>2]=H[b+4>>2]|H[a+88>>2];break M}f=i+3|0;i=c;if(e>>>0>f>>>0){continue}break}}h=d+1|0;if(h>>>0>>0){g=d;while(1){f=g;g=h;b=N(g,20)+k|0;P:{if(I[b+12|0]&32){break P}b=I[b+18|0];if((b|0)!=5|!(1<>2]=H[b+4>>2]&(H[a+100>>2]^-1);if(d>>>0>=f>>>0){break P}while(1){b=N(f,20)+k|0;Q:{if(I[b+12|0]&32){break Q}b=I[b+18|0];if(b>>>0>31){break Q}if(1<>2]=H[b+4>>2]&(H[a+100>>2]^-1);if(d>>>0>>0){continue}break}}h=g+1|0;if((h|0)!=(e|0)){continue}break}}Wa=m+32|0}function eA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=Wa-144|0;Wa=h;e=G[b+2>>1];if(!(!e|!J[b>>1])){kb(h+8|0,0,128);t=H[c>>2];H[h+24>>2]=t;v=h,w=jb(t,40,0,e,0,h+140|0),H[v+16>>2]=w;o=H[h+140>>2];a:{if(o){break a}f=jb(t,8,0,G[b>>1],0,h+140|0);H[h+20>>2]=f;o=H[h+140>>2];if(o){break a}o=G[b+2>>1];H[h+8>>2]=o;e=G[b>>1];H[h+12>>2]=e;n=H[h+16>>2];if(e){s=e>>>0>1?e:1;p=H[b+12>>2];while(1){u=G[p+(k<<1)>>1];m=n+N(j,40)|0;H[f>>2]=m;q=u+1|0;g=q-j|0;H[f+4>>2]=g;if((j|0)!=(q|0)){H[m>>2]=n+N(u,40);H[m+8>>2]=f;i=m;b:{if(g>>>0<2){break b}l=0;e=m;r=u-j&3;if(r){while(1){H[e+48>>2]=f;i=e+40|0;H[e+4>>2]=i;H[e+40>>2]=e;g=g-1|0;e=i;l=l+1|0;if((r|0)!=(l|0)){continue}break}}if((j^-1)+u>>>0<3){break b}while(1){H[e+48>>2]=f;i=e+40|0;H[e+4>>2]=i;H[e+88>>2]=f;H[e+80>>2]=i;i=e+80|0;H[e+44>>2]=i;H[e+128>>2]=f;H[e+120>>2]=i;i=e+120|0;H[e+84>>2]=i;H[e+168>>2]=f;H[e+160>>2]=i;i=e+160|0;H[e+124>>2]=i;H[e+40>>2]=e;e=i;g=g-4|0;if(g>>>0>1){continue}break}}H[i+4>>2]=m}f=f+8|0;j=q;k=k+1|0;if((s|0)!=(k|0)){continue}break}}p=H[b+4>>2];c:{if(!o){H[h+32>>2]=c;H[h+28>>2]=b;break c}f=0;e=n;while(1){l=(H[e+4>>2]-n|0)/40|0;g=(H[e>>2]-n|0)/40|0;if(!(F[H[b+8>>2]+f|0]&1)){H[e+12>>2]=1}i=p+(f<<3)|0;k=H[i+4>>2];g=p+(g<<3)|0;r=k-H[g+4>>2]|0;j=r>>31;m=H[i>>2];q=m-H[g>>2]|0;g=q>>31;g=(g^q)-g|0;j=(j^r)-j|0;i=(q|0)>=0?2:-2;d:{if(g>>>0>N(j,12)>>>0){break d}i=4;if(j>>>0<=N(g,12)>>>0){break d}i=(r|0)>=0?-1:1}F[e+20|0]=i;g=p+(l<<3)|0;l=H[g+4>>2]-k|0;j=l>>31;k=H[g>>2]-m|0;g=k>>31;g=(g^k)-g|0;m=(j^l)-j|0;j=(k|0)>=0?2:-2;e:{if(g>>>0>N(m,12)>>>0){break e}j=4;if(m>>>0<=N(g,12)>>>0){break e}j=(l|0)>=0?-1:1}F[e+21|0]=j;g=H[e+12>>2];f:{g:{if(g&1){break g}if((i|0)!=(j|0)){break f}if((j|0)!=4){break g}if(!Tp(q,r,k,l)){break f}g=H[e+12>>2]}H[e+12>>2]=g|2}e=e+40|0;f=f+1|0;i=H[h+8>>2];if(f>>>0>>0){continue}break}H[h+32>>2]=c;H[h+28>>2]=b;if(!i){break c}j=i-1|0;f=H[b+4>>2];g=0;e=H[h+16>>2];b=i&3;if(b){while(1){H[e+24>>2]=0;H[e+16>>2]=0;H[e+28>>2]=H[f>>2];H[e+32>>2]=H[f+4>>2];f=f+8|0;e=e+40|0;i=i-1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}if(j>>>0<3){break c}while(1){H[e+24>>2]=0;H[e+16>>2]=0;H[e+28>>2]=H[f>>2];b=H[f+4>>2];H[e- -64>>2]=0;H[e+56>>2]=0;H[e+32>>2]=b;H[e+68>>2]=H[f+8>>2];b=H[f+12>>2];H[e+104>>2]=0;H[e+96>>2]=0;H[e+72>>2]=b;H[e+108>>2]=H[f+16>>2];b=H[f+20>>2];H[e+144>>2]=0;H[e+136>>2]=0;H[e+112>>2]=b;H[e+148>>2]=H[f+24>>2];H[e+152>>2]=H[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}}p=0;if(H[h+12>>2]){while(1){b=H[h+20>>2]+(p<<3)|0;h:{if(K[b+4>>2]<4){break h}b=H[b>>2];e=b;while(1){e=H[e+4>>2];if((b|0)==(e|0)){break h}f=H[e+28>>2];j=H[b+28>>2];i=H[b+32>>2];g=H[e+32>>2];if((f|0)==(j|0)&(i|0)==(g|0)){continue}break}n=g-i|0;q=f-j|0;j=b;while(1){m=j;j=H[j>>2];if((b|0)==(j|0)){break h}k=H[m+28>>2];i=H[j+28>>2];f=H[j+32>>2];g=H[m+32>>2];if((k|0)==(i|0)&(f|0)==(g|0)){continue}i=k-i|0;l=g-f|0;f=$p(q,n,i,l);if(!f){continue}break}b=m;while(1){n=f;q=l;j=i;k=b;g=0;while(1){r=H[e+32>>2];l=H[e+28>>2];while(1){i:{b=e;e=H[e+4>>2];g=(m|0)==(e|0)?1:g;f=H[e+32>>2];i=H[e+28>>2];if((i|0)!=(l|0)){break i}if((f|0)==(r|0)){continue}}break}i=i-l|0;l=f-r|0;f=$p(j,q,i,l);if(!f){continue}break}if((f^n)<0){while(1){H[k+12>>2]=H[k+12>>2]|4;k=H[k+4>>2];if((k|0)!=(b|0)){continue}break}H[b+12>>2]=H[b+12>>2]|4}if(!g){continue}break}}p=p+1|0;if(p>>>0>2]){continue}break}}o=hn(h+36|0,a+16|0,a+28|0,t);H[h+140>>2]=o;if(o){break a}o=hn(h+76|0,a+52|0,a- -64|0,t);if(o){break a}a=H[h+32>>2];p=H[a+200>>2];m=c+416|0;r=H[a+404>>2];e=ib(H[m>>2],r);b=e+32&-64;q=!b|(b|0)==(e|0);if(!q){a=sb(r,b,e);oi(H[h+32>>2],(b|0)<(e|0)?p+((p|0)/-50|0)|0:p,a,0,0)}G[h+128>>1]=257;F[h+132|0]=(d|0)!=1;F[h+131|0]=(d|0)==2|(d|0)==4;F[h+130|0]=(d&-2)==2;o=1;l=0;while(1){d=H[h+8>>2];j:{if(!d){break j}f=H[H[h+28>>2]+4>>2];e=H[h+16>>2];if(!(o&1)){i=0;g=d;a=g&3;if(a){while(1){H[e+24>>2]=0;H[e+16>>2]=0;H[e+28>>2]=H[f+4>>2];H[e+32>>2]=H[f>>2];f=f+8|0;e=e+40|0;g=g-1|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}}if(d-1>>>0<3){break j}while(1){H[e+24>>2]=0;H[e+16>>2]=0;H[e+28>>2]=H[f+4>>2];a=H[f>>2];H[e- -64>>2]=0;H[e+56>>2]=0;H[e+32>>2]=a;H[e+68>>2]=H[f+12>>2];a=H[f+8>>2];H[e+104>>2]=0;H[e+96>>2]=0;H[e+72>>2]=a;H[e+108>>2]=H[f+20>>2];a=H[f+16>>2];H[e+144>>2]=0;H[e+136>>2]=0;H[e+112>>2]=a;H[e+148>>2]=H[f+28>>2];H[e+152>>2]=H[f+24>>2];f=f+32|0;e=e+160|0;g=g-4|0;if(g){continue}break}break j}i=0;g=d;a=g&3;if(a){while(1){H[e+24>>2]=0;H[e+16>>2]=0;H[e+28>>2]=H[f>>2];H[e+32>>2]=H[f+4>>2];f=f+8|0;e=e+40|0;g=g-1|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}}if(d-1>>>0<3){break j}while(1){H[e+24>>2]=0;H[e+16>>2]=0;H[e+28>>2]=H[f>>2];a=H[f+4>>2];H[e- -64>>2]=0;H[e+56>>2]=0;H[e+32>>2]=a;H[e+68>>2]=H[f+8>>2];a=H[f+12>>2];H[e+104>>2]=0;H[e+96>>2]=0;H[e+72>>2]=a;H[e+108>>2]=H[f+16>>2];a=H[f+20>>2];H[e+144>>2]=0;H[e+136>>2]=0;H[e+112>>2]=a;H[e+148>>2]=H[f+24>>2];H[e+152>>2]=H[f+28>>2];f=f+32|0;e=e+160|0;g=g-4|0;if(g){continue}break}}b=0;j=H[h+12>>2];k:{if(!j){break k}n=0;i=H[h+20>>2];while(1){b=i+(n<<3)|0;a=H[b>>2];l:{if(!H[b+4>>2]){break l}f=a;while(1){f=H[f>>2];if((a|0)==(f|0)){b=n+1|0;break k}if(H[f+28>>2]==H[a+28>>2]){continue}break}a=H[f+4>>2];e=a;while(1){g=e;while(1){e=H[e+4>>2];if((a|0)==(e|0)){break l}b=H[e+28>>2];k=H[g+28>>2];if((b|0)==(k|0)){continue}break}m:{n:{if((k|0)>H[f+28>>2]){if((b|0)<(k|0)){break n}break m}if((b|0)<=(k|0)){break m}}while(1){H[g+16>>2]=H[g+16>>2]|64;g=H[g+4>>2];if((g|0)!=(e|0)){continue}break}}f=H[e>>2];continue}}b=0;n=n+1|0;if((j|0)!=(n|0)){continue}break}}while(1){if(b>>>0>>0){g=H[h+16>>2];e=N(b,40);a=g+e|0;i=H[a+16>>2];o:{if(!(i&64)){break o}g=e+g|0;e=a;while(1){e=H[e>>2];if((a|0)==(e|0)){break o}j=H[e+32>>2];f=H[g+32>>2];if((j|0)==(f|0)){continue}break}e=a;while(1){e=H[e+4>>2];if((a|0)==(e|0)){break o}g=H[e+32>>2];if((g|0)==(f|0)){continue}break}e=128;if(!((f|0)<(g|0)&(f|0)>(j|0))){e=256;if((f|0)<=(g|0)|(f|0)>=(j|0)){break o}}H[a+16>>2]=e|i}b=b+1|0;continue}break}g=H[h+32>>2];s=(h+8|0)+N(l,40)|0;n=s+28|0;f=H[n>>2];if(f){e=H[s+36>>2];while(1){gn(e,g,l,h+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}g=H[h+32>>2]}a=H[s+60>>2];e=H[a+8>>2];j=H[a>>2];a=pb(32,H[(N(l,204)+g|0)+200>>2]);k=(a|0)<30?a:30;i=o&1?1:2;p:{q:{r:{s:{t:{u:{if(j>>>0>=2){f=H[h+8>>2];if(!f){break s}a=H[e+12>>2];g=a>>>0>>0?a:f;while(1){a=H[e+28>>2];a=a>>>0>>0?a:f;if(a>>>0>g>>>0){b=H[h+16>>2];fn(n,H[e+16>>2],H[e+24>>2]);en(H[s+32>>2],H[s+40>>2],b+N(g,40)|0,a-g|0,k,i)}j=j-1|0;if(j>>>0<2){break u}f=H[h+8>>2];e=e+16|0;g=a;continue}}if((j|0)!=1){break t}}d=H[h+16>>2];b=H[h+8>>2];a=H[H[s+60>>2]+8>>2];fn(n,H[a>>2],H[a+8>>2]);en(H[s+32>>2],H[s+40>>2],d,b,k,i)}k=H[h+8>>2];if(!k){break s}e=H[h+16>>2];if(k&1){v:{if(!H[e+24>>2]){break v}a=H[e+16>>2];if(a&16){break v}H[e+16>>2]=a|16}e=e+40|0;f=k-1|0}else{f=k}if((k|0)!=1){while(1){w:{if(!H[e+24>>2]){break w}a=H[e+16>>2];if(a&16){break w}H[e+16>>2]=a|16}x:{if(!H[e- -64>>2]){break x}a=H[e+56>>2];if(a&16){break x}H[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}if(!(l&1)){break q}g=H[h+16>>2];while(1){a=I[g+20|0];y:{z:{if((a|0)==2|(a|0)==254){break z}a=I[g+21|0];if((a|0)==254){break z}if((a|0)!=2){break y}}j=H[g+16>>2];if(j&16){break y}f=H[g+28>>2];i=H[c+412>>2];A:{if(!i){break A}d=H[c+2488>>2];b=0-d|0;e=m;while(1){a=f-H[e+12>>2]|0;if((a|0)<(b|0)){break A}if(!(!I[c+2492|0]&(a|0)>H[c+2484>>2]|(f|0)>(d+H[e+8>>2]|0))){a=H[e+24>>2];j=j|48;H[g+16>>2]=j;H[g+36>>2]=a}e=e+32|0;i=i-1|0;if(i){continue}break}}i=H[c+928>>2];if(!i){break y}e=H[c+2488>>2];d=0-e|0;l=((i<<5)+c|0)+932|0;while(1){a=l;l=a-32|0;b=H[a-24>>2]-f|0;if((b|0)<(d|0)){break y}if(!(!I[c+2492|0]&(b|0)>=H[c+2484>>2]|(f|0)<(H[a-20>>2]-e|0))){a=H[a-4>>2];j=j|48;H[g+16>>2]=j;H[g+36>>2]=a}i=i-1|0;if(i){continue}break}}g=g+40|0;k=k-1|0;if(k){continue}break}break r}if(!(l&1)){break q}}a=h+8|0;dn(a,1);cn(a,1);bn(a,1);g=H[h+8>>2];if(!g){break p}a=H[h+28>>2];d=H[a+8>>2];b=H[a+4>>2];f=0;e=H[h+16>>2];while(1){H[(b+(f<<3)|0)+4>>2]=H[e+36>>2];if(I[e+16|0]&16){a=d+f|0;F[a|0]=I[a|0]|64;g=H[h+8>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break p}a=h+8|0;dn(a,0);cn(a,0);bn(a,0);g=H[h+8>>2];if(!g){break p}a=H[h+28>>2];d=H[a+8>>2];b=H[a+4>>2];f=0;e=H[h+16>>2];while(1){H[b+(f<<3)>>2]=H[e+36>>2];if(I[e+16|0]&16){a=d+f|0;F[a|0]=I[a|0]|32;g=H[h+8>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!q){oi(H[h+32>>2],p,r,0,0)}l=1;a=o&1;o=0;if(a){continue}break}}b=H[h+24>>2];a=H[h+100>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h+104>>2]=0;H[h+96>>2]=0;H[h+100>>2]=0;a=H[h+88>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h+88>>2]=0;a=H[h+84>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h+84>>2]=0;H[h+92>>2]=0;H[h+76>>2]=0;H[h+80>>2]=0;a=H[h+60>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h- -64>>2]=0;H[h+56>>2]=0;H[h+60>>2]=0;a=H[h+48>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h+48>>2]=0;a=H[h+44>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h+44>>2]=0;H[h+52>>2]=0;H[h+36>>2]=0;H[h+40>>2]=0;a=H[h+16>>2];if(a){Ya[H[b+8>>2]](b,a)}H[h+16>>2]=0;a=H[h+20>>2];if(a){Ya[H[b+8>>2]](b,a)}}Wa=h+144|0;return o|0}function bt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=Wa-112|0;Wa=c;H[a>>2]=0;H[a+4>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;F[a+44|0]=0;H[a+40>>2]=65536;k=kb(a+48|0,0,84);H[65057]=0;d=aa(683,b|0)|0;e=H[65057];H[65057]=0;w=a+116|0;x=a+104|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((e|0)==1){break k}F[a+44|0]=1;H[a+40>>2]=d;H[65057]=0;b=ca(684,b|0,1128678962)|0;d=H[65057];H[65057]=0;if((d|0)==1){break k}H[65057]=0;o=a+4|0;b=ca(685,o|0,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break k}H[a>>2]=b;H[65057]=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=H[65057];H[65057]=0;if((d|0)==1){break k}H[a+36>>2]=b;F[a+28|0]=0;l=H[b+12>>2];H[a+8>>2]=l;b=H[b+16>>2];f=b+l|0;H[a+12>>2]=f;H[a+32>>2]=0;H[a+4>>2]=0;if(b>>>0>67108862){b=1073741823}else{b=b<<6;b=b>>>0>16384?b:16384;b=b>>>0<1073741823?b:1073741823}H[a+16>>2]=b;H[a+24>>2]=0;d=H[a>>2];if(K[d+16>>2]<5){break g}j=H[d+12>>2];if((j|0)==163632){break g}e=I[j+3|0]|I[j+4|0]<<8;g=(e<<8|e>>>8)&65535;d=I[j+2|0]+j|0;if(e){if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0>>0){break g}b=b-g|0;H[a+16>>2]=b;if((b|0)<=0){break g}}F[c+28|0]=0;H[c+12>>2]=g;H[c+8>>2]=d;b=tb(4744);H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;l:{if(!b){H[c+36>>2]=-1;break l}H[c+36>>2]=593;H[c+44>>2]=b;kb(b,0,4104);H[c+40>>2]=513}b=0;F[c+48|0]=0;d=k;H[d+24>>2]=0;H[d+28>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[d>>2]=0;H[d+4>>2]=0;f=I[163632];l=f|256;if((f|0)==12){break j}if(!e){break i}d=1;while(1){e=f;m:{n:{if(b>>>0>=g>>>0){break n}h=H[c+8>>2];e=I[h+b|0];if((e|0)==12){e=l;if(d>>>0>=g>>>0){break n}e=I[d+h|0]|256;b=d}if(b>>>0>=g>>>0){break n}H[c+20>>2]=b+1;break m}F[c+24|0]=1;H[c+20>>2]=g}H[65057]=0;ja(687,e|0,c+8|0,k|0);b=H[65057];H[65057]=0;if((b|0)!=1){if(I[c+28|0]|(I[c+48|0]|I[c+24|0])|H[c+36>>2]<0){break h}b=H[c+20>>2];d=b+1|0;g=H[c+12>>2];if(d>>>0<=g>>>0){continue}break i}break}break b}e=$()|0;_()|0;break a}if(!e){break i}d=1;while(1){o:{if(b>>>0>=g>>>0){F[c+24|0]=1;e=65535;break o}p:{f=H[c+8>>2];e=I[f+b|0];q:{if((e|0)==12){e=l;if(d>>>0>=g>>>0){break q}e=I[d+f|0]|256;b=d}if(b>>>0>>0){break p}}F[c+24|0]=1;H[c+20>>2]=g;break o}H[c+20>>2]=b+1}H[65057]=0;ja(687,e|0,c+8|0,k|0);b=H[65057];H[65057]=0;if((b|0)!=1){if(I[c+28|0]|(I[c+48|0]|I[c+24|0])|H[c+36>>2]<0){break h}b=H[c+20>>2];d=b+1|0;g=H[c+12>>2];if(d>>>0<=g>>>0){continue}break i}break}break b}H[c+40>>2]=0;hb(H[c+44>>2]);l=I[j+2|0];d=I[j+3|0]|I[j+4|0]<<8;b=H[a+72>>2];e=b?b+j|0:163632;H[a+84>>2]=e;b=H[a- -64>>2];b=b?b+j|0:163632;H[a+88>>2]=b;k=H[a+68>>2];H[a+92>>2]=k?k+j|0:163632;k=H[a+76>>2];H[a+96>>2]=k?k+j|0:163632;H[a+80>>2]=(l+((d<<8|d>>>8)&65535)|0)+j;if((e|0)!=163632){H[65057]=0;b=Ms(e,o);d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!b){break g}b=H[a+88>>2]}if((b|0)==163632){break g}H[65057]=0;b=ig(b,o);d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!b){break g}b=H[a+80>>2];if((b|0)==163632){break g}H[65057]=0;b=ig(b,o);d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!b){break g}b=H[a+92>>2];if((b|0)==163632){break g}H[65057]=0;b=ig(b,o);d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!b){break g}d=H[a+96>>2];if((d|0)!=163632){b=H[a+92>>2];b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[65057]=0;b=Ls(d,o,b<<8&16711680|b<<24|(b>>>8&65280|b>>>24));d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!b){break g}}b=H[a+88>>2];b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);H[a+128>>2]=b;if((b|0)!=H[a+40>>2]){break g}b=H[a+92>>2];b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);H[a+100>>2]=b;H[65057]=0;b=ca(691,w|0,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!b){break g}if(!H[a+100>>2]){break f}g=H[40908];l=g&255;k=l|256;z=H[40910];A=H[40909];while(1){d=g;b=A;h=z;r:{s:{t:{u:{v:{w:{x:{y:{i=H[a+92>>2];e=I[i|0]|I[i+1|0]<<8|(I[i+2|0]<<16|I[i+3|0]<<24);q=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(q>>>0>n>>>0){h=0;e=0;m=I[i+4|0];z:{if(!m){break z}p=m&3;b=(i+N(n,m)|0)+5|0;d=0;if(m-1>>>0<3){e=0}else{r=m&252;while(1){f=b;b=b+4|0;e=e+4|0;if((r|0)!=(e|0)){continue}break}e=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!p){break z}while(1){e=I[b|0]|e<<8;b=b+1|0;d=d+1|0;if((p|0)!=(d|0)){continue}break}}H[65057]=0;b=pg(i,n);d=H[65057];H[65057]=0;if((d|0)==1){break y}d=((i+4|0)+N(m,q+1|0)|0)+e|0}A:{switch(b+1|0){default:if(K[a+8>>2]>d>>>0){break g}e=H[a+12>>2];if(e>>>0>>0|e-d>>>0>>0){break g}e=H[a+16>>2]-b|0;H[a+16>>2]=e;if((e|0)<=0){break g}break;case 1:break A;case 0:break g}}F[c+84|0]=0;F[c+80|0]=0;H[c+76>>2]=0;H[c+72>>2]=h;H[c+68>>2]=b;H[c+64>>2]=d;b=tb(4744);H[c+96>>2]=0;H[c+100>>2]=0;H[c+88>>2]=0;H[c+92>>2]=0;B:{if(!b){H[c+92>>2]=-1;break B}H[c+92>>2]=593;H[c+100>>2]=b;kb(b,0,4104);H[c+96>>2]=513}F[c+104|0]=0;b=H[a+108>>2];H[65057]=0;b=ca(692,x|0,b+1|0)|0;d=H[65057];H[65057]=0;C:{if((d|0)!=1){if(b){break C}H[64766]=H[40914];b=H[40913];H[64764]=H[40912];H[64765]=b;b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;break w}e=$()|0;_()|0;break c}b=H[a+112>>2];d=H[a+108>>2];p=H[40914];H[64766]=p;e=H[40913];q=e;r=H[40912];H[64764]=r;H[64765]=e;e=H[40911];u=e;s=H[40910];H[64762]=s;H[64763]=e;e=H[40909];v=e;t=H[40908];H[64760]=t;H[64761]=e;e=b+N(d-1|0,28)|0;if((e|0)!=259040){break x}break w}e=$()|0;_()|0;break a}b=e;H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;b=!I[c+80|0];while(1){D:{if(!(b&1)){break D}b=H[c+76>>2];f=b+1|0;h=H[c+68>>2];if(f>>>0>h>>>0){break D}E:{F:{if(b>>>0>>0){i=H[c+64>>2];d=I[i+b|0];if((d|0)==12){b=k;if(f>>>0>=h>>>0){break F}d=I[f+i|0]|256;b=f}if(b>>>0>=h>>>0){b=d;break F}H[c+76>>2]=b+1;break E}F[c+80|0]=1;d=65535;b=l;if((g&255)==12){break E}}F[c+80|0]=1;H[c+76>>2]=h;d=b}H[65057]=0;ja(693,d|0,c- -64|0,e|0);b=H[65057];H[65057]=0;if((b|0)==1){break u}if(I[c+84|0]|(I[c+104|0]|I[c+80|0])){break w}b=1;if(H[c+92>>2]>=0){continue}break w}break}b=H[e+16>>2];h=b?b+j|0:163632;G:{H:{i=H[e+20>>2];switch(i+1|0){case 0:break w;case 1:break G;default:break H}}if(h>>>0>2]){break w}b=H[a+12>>2];if(b>>>0>>0|i>>>0>b-h>>>0){break w}b=H[a+16>>2]-i|0;H[a+16>>2]=b;if((b|0)<=0){break w}}F[c+28|0]=0;H[c+12>>2]=i;H[c+8>>2]=h;b=tb(4744);H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;I:{if(!b){H[c+36>>2]=-1;break I}H[c+36>>2]=593;H[c+44>>2]=b;kb(b,0,4104);H[c+40>>2]=513}F[c+56|0]=0;H[c+52>>2]=0;F[c+48|0]=0;J:{if(K[a+120>>2]<=n>>>0){H[64766]=p;H[64764]=r;H[64765]=q;H[64762]=s;H[64763]=u;H[64760]=t;H[64761]=v;b=259040;break J}b=H[a+124>>2]+N(n,28)|0}H[b+24>>2]=0;H[b+20>>2]=163632;H[b>>2]=0;H[b+4>>2]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;K:{if(K[a+120>>2]<=n>>>0){H[64766]=p;H[64764]=r;H[64765]=q;H[64762]=s;H[64763]=u;H[64760]=t;H[64761]=v;e=259040;break K}e=H[a+124>>2]+N(n,28)|0}H[e+24>>2]=0;H[e+20>>2]=163632;H[e>>2]=0;H[e+4>>2]=0;H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;b=!I[c+24|0];L:{while(1){if(!(b&1)){break L}b=H[c+20>>2];f=b+1|0;m=H[c+12>>2];if(f>>>0>m>>>0){break L}M:{N:{if(b>>>0>>0){y=H[c+8>>2];d=I[y+b|0];if((d|0)==12){b=k;if(f>>>0>=m>>>0){break N}d=I[f+y|0]|256;b=f}if(b>>>0>=m>>>0){b=d;break N}H[c+20>>2]=b+1;break M}F[c+24|0]=1;d=65535;b=l;if((g&255)==12){break M}}F[c+24|0]=1;H[c+20>>2]=m;d=b}H[65057]=0;ja(694,d|0,c+8|0,e|0);b=H[65057];H[65057]=0;if((b|0)!=1){if(I[c+28|0]|(I[c+48|0]|I[c+24|0])){break s}b=1;if(H[c+36>>2]>=0){continue}break s}break}break d}if(K[a+120>>2]<=n>>>0){break v}b=H[a+124>>2]+N(n,28)|0;d=H[b+16>>2];d=d?d+(i?h:163632)|0:163632;H[b+20>>2]=d;if((d|0)==163632){break r}break t}H[c+96>>2]=0;hb(H[c+100>>2]);break g}H[64764]=r;H[64765]=q;H[64766]=p;H[64762]=s;H[64763]=u;H[64760]=t;H[64761]=v;b=259040;if(H[64765]!=163632){break t}break r}e=$()|0;_()|0;break c}b=H[b+20>>2];H[65057]=0;b=ig(b,o);d=H[65057];H[65057]=0;if((d|0)==1){break d}if(b){break r}}H[c+40>>2]=0;hb(H[c+44>>2]);H[c+96>>2]=0;hb(H[c+100>>2]);break g}H[c+40>>2]=0;hb(H[c+44>>2]);H[c+96>>2]=0;hb(H[c+100>>2]);n=n+1|0;if(n>>>0>2]){continue}break}break f}H[c+40>>2]=0;hb(H[c+44>>2])}H[65057]=0;fa(658,a|0);b=H[65057];H[65057]=0;if((b|0)==1){break e}}Wa=c+112|0;return a|0}e=$()|0;_()|0;break a}e=$()|0;_()|0;H[c+40>>2]=0;hb(H[c+44>>2])}H[c+96>>2]=0;hb(H[c+100>>2]);break a}e=$()|0;_()|0;H[c+40>>2]=0;hb(H[c+44>>2])}Js(w);Js(x);H[a+56>>2]=0;hb(H[a+60>>2]);H[a+60>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;ba(e|0);X()}function Uz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=Wa-48|0;Wa=g;p=H[b+100>>2];d=ob(a,0);H[g+36>>2]=d;a:{if(d){break a}H[g+24>>2]=0;H[g+28>>2]=8;H[g+16>>2]=1;H[g+20>>2]=1;H[g+40>>2]=0;h=zb(p,64,g+40|0);b:{c:{d:{d=H[g+40>>2];if(!d){G[h+12>>1]=32767;H[h+36>>2]=g+16;d=H[a+4>>2];H[h+56>>2]=p;H[h+60>>2]=d;H[h+40>>2]=0;H[h+44>>2]=0;H[h+48>>2]=0;H[h+52>>2]=p;r=H[a+28>>2];H[g+44>>2]=0;d=1024;o=jb(r,1,0,1024,0,g+44|0);if(H[g+44>>2]){break d}H[g>>2]=2;F[o|0]=0;i=256;e=0;k=1;e:while(1){m=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){l=Di(a,e+o|0,m-e|0);j=l+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(j|0)){break j}t=d+o|0;f=F[t|0];if((i|0)==(f|0)){break g}n=d;while(1){k:{s=f&255;switch(s-10|0){case 0:case 3:break i;default:break k}}n=n+1|0;if((n|0)==(j|0)){break j}f=I[o+n|0];continue}}if(!l){break d}if(!d){if(m>>>0<65536){break h}H[g+44>>2]=6;break d}l=j-d|0;Yb(o,d+o|0,l);e=l;j=d;continue f}i=o+n|0;F[i|0]=0;l:{m:{switch(I[t|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(n|0)){break l}q=n-d|0;d=Ya[H[g>>2]](t,q,k,g,h)|0;H[g+44>>2]=d;if((d|0)==-1){d=Ya[H[g>>2]](t,q,k,g,h)|0;H[g+44>>2]=d}if(d){break d}}F[i|0]=f;i=(s|0)==10?13:(s|0)==13?10:256;f=1;d=n+1|0;k=k+1|0;continue}d=m<<1;o=jb(r,1,m,d,o,g+44|0);e=m;if(!H[g+44>>2]){continue e}break d}f=1;d=d+1|0;i=256;continue}}}}e=0;if(!h){break b}break c}if(o){Ya[H[r+8>>2]](r,o)}a=H[g+44>>2];H[g+40>>2]=a;e=H[h+32>>2];n:{if(a){break n}o:{p:{q:{if(e){if(H[e+28>>2]!=8){G[e+32>>1]=J[e+4>>1]}r:{if(!H[H[h+36>>2]>>2]|!(H[e+52>>2]|H[e+64>>2])){break r}a=G[h+12>>1];d=G[h+16>>1]-a|0;if((d|0)!=J[e+4>>1]){G[e+4>>1]=d}if(J[e+8>>1]!=(a&65535)){G[e+8>>1]=a}a=J[h+18>>1];d=a<<16;if((a|0)!=J[e+12>>1]){G[e+12>>1]=a}a=J[h+20>>1];f=a<<16>>16;if((a|0)!=J[e+14>>1]){G[e+14>>1]=a;G[e+10>>1]=0-a}a=f+(d>>16)|0;if((a|0)==J[e+6>>1]){break r}G[e+6>>1]=a}d=H[h>>2];if(d&1){break q}a=H[e+88>>2];if(!a){break c}a=jb(H[e+100>>2],1,a,a+1|0,H[e+84>>2],g+40|0);e=H[h+32>>2];H[e+84>>2]=a;if(H[g+40>>2]){break n}F[a+H[e+88>>2]|0]=0;e=H[h+32>>2];break c}d=H[h>>2];if(!(d&1)){break p}}if(d&32){break o}H[g+40>>2]=185;break n}H[g+40>>2]=3;e=0;break c}H[g+40>>2]=186}Xm(e);a=H[h+32>>2];if(a){Ya[H[p+8>>2]](p,a)}e=0;H[h+32>>2]=0}a=H[h+52>>2];if(a){d=H[h+40>>2];if(d){Ya[H[a+8>>2]](a,d)}H[h+48>>2]=0;H[h+52>>2]=0;H[h+40>>2]=0;H[h+44>>2]=0}a=H[h+24>>2];if(a){Ya[H[p+8>>2]](p,a)}H[h+24>>2]=0;if(h){Ya[H[p+8>>2]](p,h)}d=H[g+40>>2]}H[g+36>>2]=d;s:{t:{u:{v:{w:{x:{y:{z:{if((d&255)!=176){if(d){break a}H[b+140>>2]=e;if(!(!(c&65535)|(c|0)<=0)){ni(b);d=6;break a}H[b>>2]=1;H[b+4>>2]=0;H[b+8>>2]=H[b+8>>2]|18;A:{B:{if(!e|!H[e+72>>2]){break B}a=Kc(9396,H[e+92>>2]);C:{if(!a){break C}c=H[e+80>>2];if(!c){break C}a=c+(H[a>>2]<<4)|0;if(H[a+4>>2]!=1){break C}a=H[a+12>>2];if(!a){break C}D:{E:{a=I[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break C;case 0:case 10:break D;default:break E}}switch(a-99|0){case 0:case 10:break D;default:break C}}H[b+8>>2]=H[b+8>>2]|4}if(!H[e+72>>2]){break B}a=Kc(9539,H[e+92>>2]);if(!a){break B}c=H[e+80>>2];if(!c){break B}a=H[(c+(H[a>>2]<<4)|0)+12>>2];if(!a){break B}u=b,v=bd(p,a,g+36|0),H[u+20>>2]=v;d=H[g+36>>2];if(!d){break A}break a}H[b+20>>2]=0}l=0;H[g>>2]=0;H[b+12>>2]=0;s=H[b+100>>2];t=1;d=H[b+140>>2];if(!d|!H[d+72>>2]){break u}h=0;n=0;a=Kc(23829,H[d+92>>2]);F:{if(!a){break F}c=H[d+80>>2];if(!c){break F}a=c+(H[a>>2]<<4)|0;if(H[a+4>>2]!=1){break F}c=H[a+12>>2];if(!c){break F}G:{switch(I[c|0]-73|0){case 0:case 6:case 32:case 38:break G;default:break F}}H[b+12>>2]=H[b+12>>2]|1;n=(I[H[a+12>>2]]&223)==79?24400:24408}if(!H[d+72>>2]){i=0;a=0;k=0;o=0;d=0;m=1;break v}a=0;j=1;c=Kc(24015,H[d+92>>2]);k=0;H:{if(!c){break H}f=H[d+80>>2];k=0;if(!f){break H}c=f+(H[c>>2]<<4)|0;k=0;if(H[c+4>>2]!=1){break H}c=H[c+12>>2];k=0;if(!c){break H}k=0;if((I[c|0]|32)!=98){break H}H[b+12>>2]=H[b+12>>2]|2;j=0;k=24415}if(!H[d+72>>2]){break y}i=0;c=Kc(23815,H[d+92>>2]);a=0;I:{if(!c){break I}f=H[d+80>>2];a=0;if(!f){break I}c=f+(H[c>>2]<<4)|0;a=0;if(H[c+4>>2]!=1){break I}c=H[c+12>>2];a=0;if(!c){break I}f=I[c|0];a=0;if(!f){break I}a=0;if((f|0)==78){break I}a=0;if((f|0)==110){break I}a=c}if(!H[d+72>>2]){break x}c=Kc(12253,H[d+92>>2]);if(!c){break y}d=H[d+80>>2];if(!d){break y}c=d+(H[c>>2]<<4)|0;if(H[c+4>>2]!=1){break x}i=H[c+12>>2];if(!i){break y}c=I[i|0];if(!c|(c|0)==78|(c|0)==110){break z}h=wb(i);d=h+1|0;break w}ni(b);d=2;break a}i=0;d=0;break w}i=0}d=0}if(j){k=0;o=0;m=1;break v}o=wb(k);d=(o+d|0)+1|0;m=0}J:{if(!n){r=0;break J}r=wb(n);d=(r+d|0)+1|0}t=!n;c=!a;if(a){l=wb(a);d=(l+d|0)+1|0}if(d){break s}break t}a=0;o=0;k=0;m=1;n=0;r=0;c=1}d=8;h=7;i=24420}f=zb(s,d,g);H[b+24>>2]=f;d=H[g>>2];if(d){H[g+36>>2]=d;break a}if(i){f=mb(f,i,h);K:{if(!h){break K}i=0;d=0;if(h-1>>>0>=3){s=h&-4;j=0;while(1){q=d+f|0;if(I[q|0]==32){F[q|0]=45}q=f+(d|1)|0;if(I[q|0]==32){F[q|0]=45}q=f+(d|2)|0;if(I[q|0]==32){F[q|0]=45}q=f+(d|3)|0;if(I[q|0]==32){F[q|0]=45}d=d+4|0;j=j+4|0;if((s|0)!=(j|0)){continue}break}}j=h&3;if(!j){break K}while(1){s=d+f|0;if(I[s|0]==32){F[s|0]=45}d=d+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}f=f+h|0}if(!m){if(H[b+24>>2]!=(f|0)){F[f|0]=32;f=f+1|0}f=mb(f,k,o)+o|0}if(!t){if(H[b+24>>2]!=(f|0)){F[f|0]=32;f=f+1|0}f=mb(f,n,r)+r|0}if(!c){if(H[b+24>>2]!=(f|0)){F[f|0]=32;f=f+1|0}a=mb(f,a,l);L:{if(!l){break L}i=0;d=0;if(l-1>>>0>=3){c=l&-4;j=0;while(1){f=a+d|0;if(I[f|0]==32){F[f|0]=45}f=a+(d|1)|0;if(I[f|0]==32){F[f|0]=45}f=a+(d|2)|0;if(I[f|0]==32){F[f|0]=45}f=a+(d|3)|0;if(I[f|0]==32){F[f|0]=45}d=d+4|0;j=j+4|0;if((c|0)!=(j|0)){continue}break}}c=l&3;if(!c){break L}while(1){f=a+d|0;if(I[f|0]==32){F[f|0]=45}d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}f=a+l|0}F[f|0]=0;d=H[g>>2];H[g+36>>2]=d;if(d){break a}a=H[e+48>>2];H[b+28>>2]=1;H[b+16>>2]=a+1;a=jb(p,16,0,1,0,g+36|0);H[b+32>>2]=a;d=H[g+36>>2];if(d){break a}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;d=H[e+40>>2];if(d-32768>>>0<=4294901760){d=(d|0)<0?-32767:32767;H[e+40>>2]=d}i=H[e+44>>2];if(i-32768>>>0<=4294901760){i=(i|0)<0?-32767:32767;H[e+44>>2]=i}G[a>>1]=d+i;d=Je(e,9648);M:{if(d){d=H[d+12>>2];c=32767;if(d-327666>>>0<4294311965){break M}d=(d+5|0)/10|0;c=d>>31;c=(c^d)-c|0;break M}c=sb(G[a>>1],2,3)}G[a+2>>1]=c;d=Je(e,9820);N:{if(d){d=H[d+12>>2];c=32767;if(d-328899>>>0<4294309499){break N}c=d>>31;c=sb((c^d)-c|0,460800,72270);break N}c=H[e+16>>2];if(c){c=c>>>0>32767?32767:c<<6;break N}c=G[a+2>>1]<<6}H[a+4>>2]=c;c=Je(e,9946);if(c){c=H[c+12>>2];d=c>>31;H[a+12>>2]=c-32768>>>0<4294901761?2097088:(c^d)-d<<6}d=Je(e,10096);d=H[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=2147418112;if(d-32768>>>0<4294901761){break O}c=d>>31;c=(c^d)-c<<16}P:{Q:{R:{S:{d=Je(e,10199);d=H[(d?d+12|0:e+24|0)>>2];if(d){if(d-32768>>>0<4294901761){break S}m=d;d=d>>31;j=(m^d)-d|0;d=H[a+12>>2];if(d){break Q}d=H[a+4>>2];H[a+12>>2]=d;if(!(j&65535)){break P}m=a+12|0;break R}d=H[a+12>>2];if(d){break P}d=H[a+4>>2];H[a+12>>2]=d;break P}j=32767;d=H[a+12>>2];if(d){break Q}d=H[a+4>>2];H[a+12>>2]=d;m=a+12|0}d=sb(d,j&65535,72);H[m>>2]=d}if(!c){break P}f=j&65535;if(!f){break P}d=sb(d,c>>>16|0,f)}H[a+8>>2]=d;a=H[e+56>>2];c=jb(p,8,0,H[e+48>>2],0,g+36|0);H[b+144>>2]=c;d=H[g+36>>2];if(d){break a}H[b+148>>2]=0;f=H[e+48>>2];T:{if(!f){break T}m=H[e+36>>2];d=0;if((f|0)!=1){k=f&-2;n=0;while(1){j=H[(a+N(d,36)|0)+4>>2];l=c+(d<<3)|0;G[l+4>>1]=d;H[l>>2]=j;if((j|0)==(m|0)){H[b+148>>2]=d}j=d|1;l=H[(a+N(j,36)|0)+4>>2];h=c+(j<<3)|0;G[h+4>>1]=j;H[h>>2]=l;if((l|0)==(m|0)){H[b+148>>2]=j}d=d+2|0;n=n+2|0;if((k|0)!=(n|0)){continue}break}}if(!(f&1)){break T}a=H[(a+N(d,36)|0)+4>>2];c=c+(d<<3)|0;G[c+4>>1]=d;H[c>>2]=a;if((a|0)!=(m|0)){break T}H[b+148>>2]=d}U:{a=Je(e,10306);c=Je(e,10470);if(!a|!c|(H[a+4>>2]!=1|H[c+4>>2]!=1)){break U}if(!H[a+12>>2]){break U}c=H[c+12>>2];if(!c){break U}u=b,v=bd(p,c,g+36|0),H[u+132>>2]=v;d=H[g+36>>2];if(d){break a}a=bd(p,H[a+12>>2],g+36|0);H[b+136>>2]=a;d=H[g+36>>2];if(d){break a}V:{W:{X:{Y:{if(!((I[a|0]|32)!=105|(I[a+1|0]|32)!=115|(I[a+2|0]|32)!=111)){a=a+3|0;if(!rb(a,10615)){break Y}if(!rb(a,10750)){if(!rb(H[b+132>>2],10855)){break Y}}if(!rb(a,10950)){break X}}H[g+4>>2]=0;H[g+8>>2]=0;H[g>>2]=b;break V}H[g+4>>2]=0;H[g+8>>2]=0;H[g>>2]=b;break W}a=rb(H[b+132>>2],11060);H[g+4>>2]=0;H[g+8>>2]=0;H[g>>2]=b;if(a){break V}}H[g+4>>2]=1970170211;H[g+8>>2]=65539}d=hd(21632,0,g,0);H[g+36>>2]=d;break a}H[g+4>>2]=1094995778;H[g+8>>2]=7;H[g>>2]=b;d=hd(21632,0,g,0);H[g+36>>2]=d;if(!H[b+36>>2]){break a}H[b+92>>2]=H[H[b+40>>2]>>2]}Wa=g+48|0;return d|0}function GA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Wa-80|0;Wa=f;k=H[a+8>>2];a:{if(!k){b=6;break a}m=H[a>>2];g=H[a+4>>2];b:{if(H[g+12>>2]>1){break b}Nd(g);if(H[g+12>>2]>1){break b}c=H[g+8>>2];b=H[g>>2];while(1){if(b>>>0>=c>>>0){break b}e=b+1|0;H[g>>2]=e;h=I[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){c:{H[g+12>>2]=0;e=Tf(g);if(e){break c}b=2;if(H[g+12>>2]==2){continue}break a}break}b=2;if((H[g>>2]+(e^-1)|0)!=16){break a}if(ub(e,9081,16)){break a}h=160;d:while(1){d=H[a+4>>2];e:{if(H[d+12>>2]>1){break e}Nd(d);if(H[d+12>>2]>1){break e}c=H[d+8>>2];b=H[d>>2];while(1){if(b>>>0>=c>>>0){break e}e=b+1|0;H[d>>2]=e;g=I[b|0];b=e;if(!(1<>>0>26){continue}break}}f:{while(1){g:{H[d+12>>2]=0;j=Tf(d);if(j){break g}if(H[d+12>>2]==2){continue}break f}break}g=H[d>>2]+(j^-1)|0;d=I[j|0];e=0;while(1){h:{i=H[(e<<2)+30768>>2];if((d|0)==I[i|0]){c=e;break h}c=e|1;i=H[(c<<2)+30768>>2];if((d|0)==I[i|0]){break h}e=e+2|0;if((e|0)!=74){continue}continue d}break}b=(c|0)>73?c:73;while(1){if(ub(i,j,g)){if((b|0)==(c|0)){continue d}c=c+1|0;i=H[(c<<2)+30768>>2];if((d|0)==I[i|0]){continue}continue d}break}b=0;i:{j:{k:{l:{switch(c|0){case 40:H[f+32>>2]=3;if((Bd(a,f+32|0,1)|0)!=1){break f}if(!(H[f+36>>2]&-3)){continue}h=7;break f;case 30:H[f>>2]=4;if((Bd(a,f,1)|0)!=1){break f}F[k|0]=I[f+4|0];continue;case 26:H[f+24>>2]=2;H[f+16>>2]=2;H[f+8>>2]=2;H[f>>2]=2;if((Bd(a,f,4)|0)!=4){break f}H[k+4>>2]=H[f+4>>2];H[k+8>>2]=H[f+12>>2];H[k+12>>2]=H[f+20>>2];H[k+16>>2]=H[f+28>>2];continue;case 0:H[f>>2]=2;if((Bd(a,f,1)|0)!=1){break f}H[k+20>>2]=H[f+4>>2];continue;case 14:H[f>>2]=2;if((Bd(a,f,1)|0)!=1){break f}H[k+24>>2]=H[f+4>>2];continue;case 45:H[f+32>>2]=3;if((Bd(a,f+32|0,1)|0)!=1){break f}h=H[f+36>>2];if((h|0)<=0){break i}m:while(1){j=H[a+4>>2];n:{if(H[j+12>>2]>1){break n}Nd(j);if(H[j+12>>2]>1){break n}c=H[j+8>>2];e=H[j>>2];while(1){if(c>>>0<=e>>>0){break n}b=e+1|0;H[j>>2]=b;g=I[e|0];e=b;if(!(1<>>0>26){continue}break}}e=H[j>>2];d=H[j+8>>2];if(e>>>0>>0){g=h-1|0;H[j+12>>2]=0;while(1){c=1;b=e+1|0;H[j>>2]=b;o:{switch(I[e|0]-9|0){default:p:{q:{r:{while(1){c=3;if(b>>>0>=d>>>0){break q}e=b;b=b+1|0;H[j>>2]=b;s:{switch(I[e|0]-9|0){case 0:case 23:break p;case 17:break q;case 50:break r;case 1:case 4:break s;default:continue}}break}c=2;break q}c=1}H[j+12>>2]=c}b=(h|0)>1;h=g;if(b){continue m}break i;case 0:case 23:e=b;if((b|0)!=(d|0)){continue}break k;case 50:break j;case 17:break k;case 1:case 4:break o}}H[j+12>>2]=0;e=b;if(b>>>0>>0){continue}break}break k}break};H[j+12>>2]=3;b=160;break a;case 20:break a;case 49:break l;default:continue}}t:while(1){d=H[a+4>>2];u:{if(H[d+12>>2]>1){break u}Nd(d);if(H[d+12>>2]>1){break u}c=H[d+8>>2];e=H[d>>2];while(1){if(c>>>0<=e>>>0){break u}b=e+1|0;H[d>>2]=b;h=I[e|0];e=b;if(!(1<>>0>26){continue}break}}H[d+12>>2]=0;c=3;v:{w:{e=H[d>>2];g=H[d+8>>2];x:{if(e>>>0>=g>>>0){break x}while(1){b=e+1|0;H[d>>2]=b;y:{switch(I[e|0]-9|0){case 0:case 23:e=b;if((b|0)!=(g|0)){continue}break x;default:z:{A:{B:{while(1){h=3;c=b;if(b>>>0>=g>>>0){break A}b=c+1|0;H[d>>2]=b;C:{switch(I[c|0]-9|0){case 0:case 23:break z;case 17:break A;case 50:break B;case 1:case 4:break C;default:continue}}break}h=2;break A}h=1}H[d+12>>2]=h}h=(e^-1)+b|0;g=I[e|0];b=0;while(1){i=H[(b<<2)+30768>>2];if((g|0)==I[i|0]){c=b;break w}c=b|1;i=H[(c<<2)+30768>>2];if((g|0)==I[i|0]){break w}b=b+2|0;if((b|0)!=74){continue}break};continue t;case 50:c=1;break x;case 17:break x;case 1:case 4:break y}}H[d+12>>2]=0;e=b;if(b>>>0>>0){continue}break}}H[d+12>>2]=c;break v}b=(c|0)>73?c:73;while(1){if(ub(i,e,h)){if((b|0)==(c|0)){continue t}c=c+1|0;i=H[(c<<2)+30768>>2];if((g|0)==I[i|0]){continue}continue t}break}b=0;h=160;D:{switch(c-20|0){case 33:l=H[a+8>>2];H[f+32>>2]=3;if((Bd(a,f+32|0,1)|0)!=1){break v}b=H[f+36>>2];if((b|0)<0){break v}H[l+32>>2]=b;if(b){n=l,o=jb(H[a>>2],20,0,b,0,f+32|0),H[n+28>>2]=o;h=H[f+32>>2];if(h){break f}}h=-1;E:while(1){d=H[a+4>>2];F:{if(H[d+12>>2]>1){break F}Nd(d);if(H[d+12>>2]>1){break F}c=H[d+8>>2];b=H[d>>2];while(1){if(b>>>0>=c>>>0){break F}e=b+1|0;H[d>>2]=e;g=I[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){G:{H[d+12>>2]=0;j=Tf(d);if(j){break G}if(H[d+12>>2]==2){continue}break v}break}g=H[d>>2]+(j^-1)|0;d=I[j|0];e=0;while(1){H:{i=H[(e<<2)+30768>>2];if((d|0)==I[i|0]){c=e;break H}c=e|1;i=H[(c<<2)+30768>>2];if((d|0)==I[i|0]){break H}e=e+2|0;if((e|0)!=74){continue}continue E}break}b=(c|0)>73?c:73;while(1){if(ub(i,j,g)){if((b|0)==(c|0)){continue E}c=c+1|0;i=H[(c<<2)+30768>>2];if((d|0)==I[i|0]){continue}continue E}break}I:{switch(c-20|0){case 36:h=h+1|0;if((h|0)>=H[l+32>>2]){break v}b=H[l+28>>2];H[f+64>>2]=2;H[f+56>>2]=2;H[f+48>>2]=2;H[f+40>>2]=2;H[f+32>>2]=3;if((Bd(a,f+32|0,5)|0)!=5){break v}b=b+N(h,20)|0;H[b>>2]=H[f+36>>2];H[b+4>>2]=H[f+44>>2];H[b+8>>2]=H[f+52>>2];H[b+12>>2]=H[f+60>>2];H[b+16>>2]=H[f+68>>2];continue;default:if((c|0)==75){continue}break v;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break v;case 0:case 1:case 3:break I}}break};H[l+32>>2]=h+1;continue;case 0:case 1:break a;case 55:continue;case 30:case 31:break D;default:break f}}l=H[a+8>>2];H[f+32>>2]=3;if((Bd(a,f+32|0,1)|0)!=1){break v}b=H[f+36>>2];if((b|0)<0){break v}H[l+40>>2]=b;if(b){n=l,o=jb(H[a>>2],16,0,b,0,f+32|0),H[n+36>>2]=o;h=H[f+32>>2];if(h){break f}}h=-1;J:while(1){d=H[a+4>>2];K:{if(H[d+12>>2]>1){break K}Nd(d);if(H[d+12>>2]>1){break K}c=H[d+8>>2];b=H[d>>2];while(1){if(b>>>0>=c>>>0){break K}e=b+1|0;H[d>>2]=e;g=I[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){L:{H[d+12>>2]=0;j=Tf(d);if(j){break L}if(H[d+12>>2]==2){continue}break v}break}g=H[d>>2]+(j^-1)|0;d=I[j|0];e=0;while(1){M:{i=H[(e<<2)+30768>>2];if((d|0)==I[i|0]){c=e;break M}c=e|1;i=H[(c<<2)+30768>>2];if((d|0)==I[i|0]){break M}e=e+2|0;if((e|0)!=74){continue}continue J}break}b=(c|0)>73?c:73;while(1){if(ub(i,j,g)){if((b|0)==(c|0)){continue J}c=c+1|0;i=H[(c<<2)+30768>>2];if((d|0)==I[i|0]){continue}continue J}break}if((c|0)==75){continue}b=c-20|0;if(b>>>0>17){break v}b=1<=H[l+40>>2]){break v}b=H[l+36>>2];H[f+56>>2]=3;H[f+48>>2]=3;H[f+40>>2]=5;H[f+32>>2]=5;d=Bd(a,f+32|0,4);if((d|0)<3){break v}g=b+(h<<4)|0;H[g>>2]=H[f+36>>2];H[g+4>>2]=H[f+44>>2];b=0;e=H[f+52>>2];if((c|0)!=37){b=e;e=(c|0)==34?(d|0)==4?H[f+60>>2]:0:0}H[g+12>>2]=e;H[g+8>>2]=b;continue}break}b=h+1|0;H[l+40>>2]=b;Ve(H[l+36>>2],b,16,37);continue}break}h=160;break f}c=3}H[j+12>>2]=c;b=160;break a}N:while(1){d=H[a+4>>2];O:{if(H[d+12>>2]>1){break O}Nd(d);if(H[d+12>>2]>1){break O}c=H[d+8>>2];e=H[d>>2];while(1){if(c>>>0<=e>>>0){break O}b=e+1|0;H[d>>2]=b;h=I[e|0];e=b;if(!(1<>>0>26){continue}break}}P:{Q:{R:{e=H[d>>2];g=H[d+8>>2];if(e>>>0>>0){H[d+12>>2]=0;while(1){c=1;b=e+1|0;H[d>>2]=b;S:{switch(I[e|0]-9|0){default:T:{U:{V:{while(1){h=3;c=b;if(b>>>0>=g>>>0){break U}b=c+1|0;H[d>>2]=b;W:{switch(I[c|0]-9|0){case 0:case 23:break T;case 17:break U;case 50:break V;case 1:case 4:break W;default:continue}}break}h=2;break U}h=1}H[d+12>>2]=h}h=(e^-1)+b|0;g=I[e|0];b=0;while(1){i=H[(b<<2)+30768>>2];if((g|0)==I[i|0]){c=b;break P}c=b|1;i=H[(c<<2)+30768>>2];if((g|0)==I[i|0]){break P}b=b+2|0;if((b|0)!=74){continue}break};continue N;case 0:case 23:e=b;if((b|0)!=(g|0)){continue}break R;case 50:break Q;case 17:break R;case 1:case 4:break S}}H[d+12>>2]=0;e=b;if(b>>>0>>0){continue}break}break R}H[d+12>>2]=3;b=160;break a}c=3}H[d+12>>2]=c;b=160;break a}b=(c|0)>73?c:73;while(1){if(ub(i,e,h)){if((b|0)==(c|0)){continue N}c=c+1|0;i=H[(c<<2)+30768>>2];if((g|0)==I[i|0]){continue}continue N}break}h=0;if(!((c|0)==20^(c|0)==17)){continue}break}continue}break}a=H[k+28>>2];if(a){Ya[H[m+8>>2]](m,a)}H[k+28>>2]=0;H[k+32>>2]=0;a=H[k+36>>2];if(a){Ya[H[m+8>>2]](m,a)}H[k+36>>2]=0;H[k+40>>2]=0;F[k|0]=0;b=h}Wa=f+80|0;return b|0}function XL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=O(0),g=0,h=O(0),i=0,j=O(0),k=O(0),l=0,m=O(0),n=0,o=0,p=0,q=O(0),r=0,s=O(0),t=0,u=O(0);r=Wa-16|0;Wa=r;c=F[b|0]&1;j=L[b+8>>2];k=L[b+4>>2];a:{if(!I[a+8|0]){if(c){F[a+8|0]=1;L[a+16>>2]=j;L[a+12>>2]=k;g=H[a+4>>2];c=H[a>>2];i=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(!e){e=vb(d);c=H[a>>2];d=H[c+16>>2]}h=O(O(k*O(i|0))/O(e>>>0));e=g+16|0;f=O(j*O(H[c+24>>2]));c=H[d+28>>2];if(!c){c=vb(d)}f=O(f/O(c>>>0));d=H[g+12>>2];c=H[g+8>>2];if(I[g+4|0]){if(H[e>>2]){k=L[g+20>>2];j=L[g+24>>2];if(!(k==L[g+28>>2]&j==L[g+32>>2])){Ya[H[c+16>>2]](c,d,e,k,j,H[c+36>>2])}Ya[H[c+28>>2]](c,d,e,H[c+48>>2]);H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0}L[g+32>>2]=f;L[g+28>>2]=h;break a}dk(c,d,e,O(O(f*L[g>>2])+h),f);break a}if(I[a+20|0]){F[a+32|0]=1;F[a+8|0]=1;L[a+40>>2]=j;L[a+36>>2]=k;f=L[a+28>>2];f=O(O(O(j-f)*O(.5))+f);L[a+16>>2]=f;h=L[a+24>>2];h=O(O(O(k-h)*O(.5))+h);L[a+12>>2]=h;g=H[a+4>>2];c=H[a>>2];i=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(!e){e=vb(d);c=H[a>>2];d=H[c+16>>2]}h=O(O(h*O(i|0))/O(e>>>0));e=g+16|0;f=O(f*O(H[c+24>>2]));c=H[d+28>>2];if(!c){c=vb(d)}f=O(f/O(c>>>0));d=H[g+12>>2];c=H[g+8>>2];if(I[g+4|0]){if(H[e>>2]){k=L[g+20>>2];j=L[g+24>>2];if(!(k==L[g+28>>2]&j==L[g+32>>2])){Ya[H[c+16>>2]](c,d,e,k,j,H[c+36>>2])}Ya[H[c+28>>2]](c,d,e,H[c+48>>2]);H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0}L[g+32>>2]=f;L[g+28>>2]=h;break a}dk(c,d,e,O(O(f*L[g>>2])+h),f);break a}F[a+20|0]=1;L[a+28>>2]=j;L[a+24>>2]=k;break a}if(I[a+32|0]){if(c){f=L[a+36>>2];i=H[a+4>>2];c=H[a>>2];n=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(!e){e=vb(d);c=H[a>>2];d=H[c+16>>2]}h=L[a+40>>2];o=H[c+24>>2];g=H[d+28>>2];if(!g){g=vb(d);c=H[a>>2];d=H[c+16>>2]}p=H[c+20>>2];l=H[d+28>>2];if(!l){l=vb(d);c=H[a>>2];d=H[c+16>>2]}t=H[c+24>>2];c=H[d+28>>2];if(!c){c=vb(d)}m=O(O(f*O(n|0))/O(e>>>0));h=O(O(h*O(o|0))/O(g>>>0));k=O(O(k*O(p|0))/O(l>>>0));d=i+16|0;f=O(O(j*O(t|0))/O(c>>>0));e=H[i+12>>2];c=H[i+8>>2];b:{if(I[i+4|0]){if(!H[d>>2]){Ya[H[c+12>>2]](c,e,d,L[i+28>>2],L[i+32>>2],H[c+32>>2]);H[i+16>>2]=1;g=H[i+32>>2];H[i+20>>2]=H[i+28>>2];H[i+24>>2]=g}Ya[H[c+20>>2]](c,e,d,m,h,k,f,H[c+40>>2]);L[i+32>>2]=f;L[i+28>>2]=k;break b}j=L[i>>2];Df(c,e,d,O(O(h*j)+m),h,O(O(f*j)+k),f)}F[a+32|0]=0;break a}h=L[a+40>>2];q=L[a+36>>2];u=O(k-q);i=H[a+4>>2];c=H[a>>2];n=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(e){f=h}else{e=vb(d);c=H[a>>2];d=H[c+16>>2];f=L[a+40>>2]}o=H[c+24>>2];g=H[d+28>>2];if(!g){g=vb(d);c=H[a>>2];d=H[c+16>>2]}p=H[c+20>>2];l=H[d+28>>2];if(!l){l=vb(d);c=H[a>>2];d=H[c+16>>2]}t=H[c+24>>2];c=H[d+28>>2];if(!c){c=vb(d)}s=O(O(q*O(n|0))/O(e>>>0));m=O(O(f*O(o|0))/O(g>>>0));q=O(O(O(O(u*O(.5))+q)*O(p|0))/O(l>>>0));d=i+16|0;f=O(O(O(O(O(j-h)*O(.5))+h)*O(t|0))/O(c>>>0));e=H[i+12>>2];c=H[i+8>>2];c:{if(I[i+4|0]){if(!H[d>>2]){Ya[H[c+12>>2]](c,e,d,L[i+28>>2],L[i+32>>2],H[c+32>>2]);H[i+16>>2]=1;g=H[i+32>>2];H[i+20>>2]=H[i+28>>2];H[i+24>>2]=g}Ya[H[c+20>>2]](c,e,d,s,m,q,f,H[c+40>>2]);L[i+32>>2]=f;L[i+28>>2]=q;break c}h=L[i>>2];Df(c,e,d,O(O(m*h)+s),m,O(O(f*h)+q),f)}F[a+32|0]=1;c=I[r+13|0]|I[r+14|0]<<8;F[a+33|0]=c;F[a+34|0]=c>>>8;F[a+35|0]=I[r+15|0];L[a+40>>2]=j;L[a+36>>2]=k;break a}if(c){g=H[a+4>>2];c=H[a>>2];i=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(!e){e=vb(d);c=H[a>>2];d=H[c+16>>2]}h=O(O(k*O(i|0))/O(e>>>0));e=g+16|0;f=O(j*O(H[c+24>>2]));c=H[d+28>>2];if(!c){c=vb(d)}f=O(f/O(c>>>0));d=H[g+12>>2];c=H[g+8>>2];if(I[g+4|0]){if(!H[e>>2]){Ya[H[c+12>>2]](c,d,e,L[g+28>>2],L[g+32>>2],H[c+32>>2]);H[g+16>>2]=1;i=H[g+32>>2];H[g+20>>2]=H[g+28>>2];H[g+24>>2]=i}Ya[H[c+16>>2]](c,d,e,h,f,H[c+36>>2]);L[g+32>>2]=f;L[g+28>>2]=h;break a}Us(c,d,e,O(O(f*L[g>>2])+h),f);break a}F[a+32|0]=1;L[a+40>>2]=j;L[a+36>>2]=k}if(I[b+12|0]){d:{e:{f:{g:{if(I[a+20|0]){if(I[a+32|0]){h=L[a+40>>2];q=L[a+28>>2];k=L[a+36>>2];s=O(L[a+24>>2]-k);b=H[a+4>>2];d=H[a>>2];i=H[d+20>>2];e=H[d+16>>2];g=H[e+28>>2];if(g){f=h}else{g=vb(e);d=H[a>>2];e=H[d+16>>2];f=L[a+40>>2]}n=H[d+24>>2];l=H[e+28>>2];if(!l){l=vb(e);d=H[a>>2];e=H[d+16>>2]}o=H[d+20>>2];c=H[e+28>>2];if(!c){c=vb(e);d=H[a>>2];e=H[d+16>>2]}p=H[d+24>>2];d=H[e+28>>2];if(!d){d=vb(e)}m=O(O(k*O(i|0))/O(g>>>0));j=O(O(f*O(n|0))/O(l>>>0));k=O(O(O(O(s*O(.5))+k)*O(o|0))/O(c>>>0));e=b+16|0;f=O(O(O(O(O(q-h)*O(.5))+h)*O(p|0))/O(d>>>0));d=H[b+12>>2];c=H[b+8>>2];h:{if(I[b+4|0]){if(!H[e>>2]){Ya[H[c+12>>2]](c,d,e,L[b+28>>2],L[b+32>>2],H[c+32>>2]);H[b+16>>2]=1;g=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=g}Ya[H[c+20>>2]](c,d,e,m,j,k,f,H[c+40>>2]);L[b+32>>2]=f;L[b+28>>2]=k;break h}h=L[b>>2];Df(c,d,e,O(O(j*h)+m),j,O(O(f*h)+k),f)}F[a+32|0]=0;b=I[a+20|0]}else{b=1}c=I[a+8|0];if(!(c?b&255:0)){if(c){break g}if(!(b&255)){break d}f=L[a+24>>2];b=H[a>>2];c=H[b+20>>2];d=H[b+16>>2];e=H[d+28>>2];if(!e){break f}b=c;break e}f=L[a+24>>2];b=H[a+4>>2];d=H[a>>2];i=H[d+20>>2];e=H[d+16>>2];g=H[e+28>>2];if(!g){g=vb(e);d=H[a>>2];e=H[d+16>>2]}h=L[a+28>>2];n=H[d+24>>2];l=H[e+28>>2];if(!l){l=vb(e);d=H[a>>2];e=H[d+16>>2]}j=L[a+12>>2];o=H[d+20>>2];c=H[e+28>>2];if(!c){c=vb(e);d=H[a>>2];e=H[d+16>>2]}m=L[a+16>>2];p=H[d+24>>2];d=H[e+28>>2];if(!d){d=vb(e)}k=O(O(f*O(i|0))/O(g>>>0));h=O(O(h*O(n|0))/O(l>>>0));j=O(O(j*O(o|0))/O(c>>>0));e=b+16|0;f=O(O(m*O(p|0))/O(d>>>0));d=H[b+12>>2];c=H[b+8>>2];if(I[b+4|0]){if(!H[e>>2]){Ya[H[c+12>>2]](c,d,e,L[b+28>>2],L[b+32>>2],H[c+32>>2]);H[b+16>>2]=1;g=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=g}Ya[H[c+20>>2]](c,d,e,k,h,j,f,H[c+40>>2]);L[b+32>>2]=f;L[b+28>>2]=j;break d}m=L[b>>2];Df(c,d,e,O(O(h*m)+k),h,O(O(f*m)+j),f);break d}b=I[a+8|0];if(!(!I[a+32|0]|!b)){f=L[a+36>>2];b=H[a+4>>2];d=H[a>>2];i=H[d+20>>2];e=H[d+16>>2];g=H[e+28>>2];if(!g){g=vb(e);d=H[a>>2];e=H[d+16>>2]}h=L[a+40>>2];n=H[d+24>>2];l=H[e+28>>2];if(!l){l=vb(e);d=H[a>>2];e=H[d+16>>2]}j=L[a+12>>2];o=H[d+20>>2];c=H[e+28>>2];if(!c){c=vb(e);d=H[a>>2];e=H[d+16>>2]}m=L[a+16>>2];p=H[d+24>>2];d=H[e+28>>2];if(!d){d=vb(e)}k=O(O(f*O(i|0))/O(g>>>0));h=O(O(h*O(n|0))/O(l>>>0));j=O(O(j*O(o|0))/O(c>>>0));e=b+16|0;f=O(O(m*O(p|0))/O(d>>>0));d=H[b+12>>2];c=H[b+8>>2];if(I[b+4|0]){if(!H[e>>2]){Ya[H[c+12>>2]](c,d,e,L[b+28>>2],L[b+32>>2],H[c+32>>2]);H[b+16>>2]=1;g=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=g}Ya[H[c+20>>2]](c,d,e,k,h,j,f,H[c+40>>2]);L[b+32>>2]=f;L[b+28>>2]=j;break d}m=L[b>>2];Df(c,d,e,O(O(h*m)+k),h,O(O(f*m)+j),f);break d}if(!b){break d}}f=L[a+12>>2];b=H[a+4>>2];d=H[a>>2];c=H[d+20>>2];e=H[d+16>>2];g=H[e+28>>2];if(!g){g=vb(e);d=H[a>>2];e=H[d+16>>2]}j=L[a+16>>2];i=H[d+24>>2];d=H[e+28>>2];if(!d){d=vb(e)}h=O(O(f*O(c|0))/O(g>>>0));e=b+16|0;f=O(O(j*O(i|0))/O(d>>>0));d=H[b+12>>2];c=H[b+8>>2];if(I[b+4|0]){if(!H[e>>2]){Ya[H[c+12>>2]](c,d,e,L[b+28>>2],L[b+32>>2],H[c+32>>2]);H[b+16>>2]=1;g=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=g}Ya[H[c+16>>2]](c,d,e,h,f,H[c+36>>2]);L[b+32>>2]=f;L[b+28>>2]=h;break d}Us(c,d,e,O(O(f*L[b>>2])+h),f);break d}e=vb(d);b=H[a>>2];d=H[b+16>>2];b=H[b+20>>2]}h=O(e>>>0);j=L[a+28>>2];e=H[d+28>>2];if(!e){e=vb(d)}h=O(O(f*O(c|0))/h);c=H[a+4>>2];d=c+16|0;f=O(O(j*O(b|0))/O(e>>>0));e=H[c+12>>2];b=H[c+8>>2];i:{if(I[c+4|0]){if(H[d>>2]){k=L[c+20>>2];j=L[c+24>>2];if(!(k==L[c+28>>2]&j==L[c+32>>2])){Ya[H[b+16>>2]](b,e,d,k,j,H[b+36>>2])}Ya[H[b+28>>2]](b,e,d,H[b+48>>2]);H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0}L[c+32>>2]=f;L[c+28>>2]=h;break i}dk(b,e,d,O(O(f*L[c>>2])+h),f)}b=H[a+4>>2];d=b+16|0;e=H[b+12>>2];c=H[b+8>>2];if(I[b+4|0]){if(!H[d>>2]){Ya[H[c+12>>2]](c,e,d,L[b+28>>2],L[b+32>>2],H[c+32>>2]);H[b+16>>2]=1;g=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=g}Ya[H[c+20>>2]](c,e,d,h,f,h,f,H[c+40>>2]);L[b+32>>2]=f;L[b+28>>2]=h;break d}h=O(O(f*L[b>>2])+h);Df(c,e,d,h,f,h,f)}F[a+32|0]=0;H[a+28>>2]=H[a+40>>2];b=H[a+36>>2];H[a+20>>2]=H[a+32>>2];H[a+24>>2]=b;H[a+16>>2]=H[a+40>>2];b=H[a+36>>2];H[a+8>>2]=H[a+32>>2];H[a+12>>2]=b;a=H[a+4>>2];b=a+16|0;if(H[a+16>>2]){d=H[a+12>>2];c=H[a+8>>2];h=L[a+20>>2];f=L[a+24>>2];if(!(h==L[a+28>>2]&f==L[a+32>>2])){Ya[H[c+16>>2]](c,d,b,h,f,H[c+36>>2])}Ya[H[c+28>>2]](c,d,b,H[c+48>>2])}H[b>>2]=0;H[b+4>>2]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0}Wa=r+16|0}function EK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=H[c+80>>2];l=39;h=1;a=0;m=H[c+68>>2];b=!m;while(1){a:{b:{c:{if(!b){a=I[l+135040|0]==10?g:a;d=l<<1;f=G[d+134e3>>1]+132640|0;b=F[l+134288|0];l=I[(i+N(g,20)|0)+18|0];j=I[d+132352|0];if(l>>>0>=j>>>0){b=l>>>0>I[d+132353|0]?b:l-j|0}b=I[b+f|0];break c}if((l|0)==39){break b}g=m;b=G[(l<<1)+134752>>1]-1|0}l=I[b+134432|0];b=F[b+134592|0];d:{if(!b){break d}e:{switch(b-1|0){case 1:e=g+1|0;break d;case 10:e=g+1|0;f:{if(e>>>0<=a>>>0){break f}f=h<<4|5;b=0;d=a;j=g-d|0;o=j+1&7;if(o){while(1){F[(i+N(d,20)|0)+15|0]=f;d=d+1|0;b=b+1|0;if((o|0)!=(b|0)){continue}break}}if(j>>>0<=6){break f}while(1){b=i+N(d,20)|0;F[b+35|0]=f;F[b+15|0]=f;F[b+55|0]=f;F[b+75|0]=f;F[b+95|0]=f;F[b+115|0]=f;F[b+135|0]=f;F[b+155|0]=f;b=d+7|0;d=d+8|0;if((b|0)!=(g|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 12:g:{if(a>>>0>=g>>>0){break g}b=h<<4;e=0;d=a;f=g-d&7;if(f){while(1){F[(i+N(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break g}while(1){e=i+N(d,20)|0;F[e+35|0]=b;F[e+15|0]=b;F[e+55|0]=b;F[e+75|0]=b;F[e+95|0]=b;F[e+115|0]=b;F[e+135|0]=b;F[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 13:h:{if(a>>>0>=g>>>0){break h}b=h<<4|1;e=0;d=a;f=g-d&7;if(f){while(1){F[(i+N(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break h}while(1){e=i+N(d,20)|0;F[e+35|0]=b;F[e+15|0]=b;F[e+55|0]=b;F[e+75|0]=b;F[e+95|0]=b;F[e+115|0]=b;F[e+135|0]=b;F[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 16:i:{if(a>>>0>=g>>>0){break i}b=h<<4|2;e=0;d=a;f=g-d&7;if(f){while(1){F[(i+N(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break i}while(1){e=i+N(d,20)|0;F[e+35|0]=b;F[e+15|0]=b;F[e+55|0]=b;F[e+75|0]=b;F[e+95|0]=b;F[e+115|0]=b;F[e+135|0]=b;F[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 18:j:{if(a>>>0>=g>>>0){break j}b=h<<4|3;e=0;d=a;f=g-d&7;if(f){while(1){F[(i+N(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break j}while(1){e=i+N(d,20)|0;F[e+35|0]=b;F[e+15|0]=b;F[e+55|0]=b;F[e+75|0]=b;F[e+95|0]=b;F[e+115|0]=b;F[e+135|0]=b;F[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 14:k:{if(a>>>0>=g>>>0){break k}b=h<<4|4;e=0;d=a;f=g-d&7;if(f){while(1){F[(i+N(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break k}while(1){e=i+N(d,20)|0;F[e+35|0]=b;F[e+15|0]=b;F[e+55|0]=b;F[e+75|0]=b;F[e+95|0]=b;F[e+115|0]=b;F[e+135|0]=b;F[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 15:l:{if(a>>>0>=g>>>0){break l}b=h<<4|5;e=0;d=a;f=g-d&7;if(f){while(1){F[(i+N(d,20)|0)+15|0]=b;d=d+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break l}while(1){e=i+N(d,20)|0;F[e+35|0]=b;F[e+15|0]=b;F[e+55|0]=b;F[e+75|0]=b;F[e+95|0]=b;F[e+115|0]=b;F[e+135|0]=b;F[e+155|0]=b;d=d+8|0;if((g|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}e=g;g=e-1|0;break d;case 0:g=e-1|0;m:{if(a>>>0>=e>>>0){break m}f=h<<4;d=0;b=a;j=e-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:g=e-1|0;n:{if(a>>>0>=e>>>0){break n}f=h<<4|1;d=0;b=a;j=e-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break n}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 6:g=e-1|0;o:{if(a>>>0>=e>>>0){break o}f=h<<4|2;d=0;b=a;j=e-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 7:g=e-1|0;p:{if(a>>>0>=e>>>0){break p}f=h<<4|3;d=0;b=a;j=e-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 3:g=e-1|0;q:{if(a>>>0>=e>>>0){break q}f=h<<4|4;d=0;b=a;j=e-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break q}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 5:r:{switch(k-1|0){case 0:g=e-1|0;s:{if(a>>>0>=e>>>0){break s}f=h<<4;d=0;b=a;k=e-b&7;if(k){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break s}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}k=1;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 4:g=e-1|0;t:{if(a>>>0>=e>>>0){break t}f=h<<4|4;d=0;b=a;k=e-b&7;if(k){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break t}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}k=5;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 5:break r;default:break d}}g=e-1|0;u:{if(a>>>0>=e>>>0){break u}f=h<<4|5;d=0;b=a;k=e-b&7;if(k){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break u}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((e|0)!=(b|0)){continue}break}}k=6;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 17:k=1;e=g+1|0;break d;case 4:e=g+1|0;k=5;break d;case 11:break e;default:break d}}e=g+1|0;k=6}a=I[l+135184|0]==9?0:a;g=g+1|0;if((m|0)!=(g|0)){break a}b=1;continue}v:{i=H[c+68>>2];if(!i){break v}a=i-1|0;g=0;b=H[c+80>>2];d=I[b+15|0];while(1){w:{if((a|0)==(g|0)){g=i;break w}g=g+1|0;if((d|0)==I[(b+N(g,20)|0)+15|0]){continue}}break}if(!i){break v}f=H[c+80>>2];b=0;l=i;while(1){m=g;k=g>>>0>l>>>0?l:g;j=k-b|0;x:{if(j>>>0<2){break x}e=H[c+144>>2]|32;H[c+144>>2]=e;if(b>>>0>=k>>>0){break x}g=-1;a=b;o=k+(b^-1)|0;if(o>>>0>=3){p=j&-4;d=0;while(1){h=f+N(a,20)|0;n=H[h+8>>2];g=g>>>0>>0?g:n;n=H[h+28>>2];g=g>>>0>>0?g:n;n=H[h+48>>2];g=g>>>0>>0?g:n;h=H[h+68>>2];g=g>>>0>>0?g:h;a=a+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}h=0;d=j&3;if(d){while(1){p=H[(f+N(a,20)|0)+8>>2];g=g>>>0

>>0?g:p;a=a+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(j&1){a=f+N(b,20)|0;if(H[a+8>>2]!=(g|0)){H[c+144>>2]=e;H[a+4>>2]=H[a+4>>2]|3}b=b+1|0}if(!o){break x}while(1){a=f+N(b,20)|0;if(H[a+8>>2]!=(g|0)){e=e|32;H[c+144>>2]=e;H[a+4>>2]=H[a+4>>2]|3}a=f+N(b+1|0,20)|0;if(H[a+8>>2]!=(g|0)){e=e|32;H[c+144>>2]=e;H[a+4>>2]=H[a+4>>2]|3}b=b+2|0;if((k|0)!=(b|0)){continue}break}}a=m+1|0;a=a>>>0>>0?l:a;b=I[(f+N(m,20)|0)+15|0];g=m;while(1){y:{g=g+1|0;if(l>>>0<=g>>>0){g=a;break y}if((b|0)==I[(f+N(g,20)|0)+15|0]){continue}}break}if(i>>>0<=m>>>0){break v}l=H[c+68>>2];b=m;continue}}return}b=0;continue}}function xs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{f:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}if(H[b+12>>2]!=1){break b}d=I[a+2|0]|I[a+3|0]<<8;c=163632;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0;break d}if(H[b+12>>2]!=1){break b}d=I[a+2|0]|I[a+3|0]<<8;c=163632;if(!d){break d}c=((d<<8|d>>>8)&65535)+a|0}return(Kb(c,H[H[b+8>>2]>>2])|0)!=-1;case 1:if((I[a|0]|I[a+1|0]<<8)!=256|H[b+12>>2]!=1){break b}break a;case 2:if((I[a|0]|I[a+1|0]<<8)!=256|H[b+12>>2]!=1){break b}break a;case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=I[a+2|0]|I[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=Kb(c,H[H[b+8>>2]>>2]);g:{if((c|0)==-1){break g}f=163632;e=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((e<<8|e>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=I[f|0]|I[f+1|0]<<8;if(!a){break g}e=(a<<8|a>>>8)&65535;c=f+2|0;a=H[b+12>>2];if(a>>>0<2){while(1){b=I[c|0]|I[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=163632}b=I[b+2|0]|I[b+3|0]<<8;d=((b<<8|b>>>8)&65535)==(a|0);if(d){break g}c=c+2|0;e=e-1|0;if(e){continue}break g}}i=H[b+8>>2];while(1){h=163632;b=I[c|0]|I[c+1|0]<<8;if(b){h=((b<<8|b>>>8)&65535)+f|0}h:{b=I[h+2|0]|I[h+3|0]<<8;if((a|0)!=((b<<8|b>>>8)&65535)){break h}b=I[h+4|0]|I[h+5|0]<<8;if(H[i+4>>2]!=((b<<8|b>>>8)&65535)){break h}b=1;while(1){g=b+1|0;if((g|0)!=(a|0)){j=b<<1;b=g;j=a>>>0>b>>>0?(h+j|0)+4|0:163632;j=I[j|0]|I[j+1|0]<<8;if(H[i+(b<<2)>>2]==((j<<8|j>>>8)&65535)){continue}}break}if(a>>>0>g>>>0){break h}d=1;break g}c=c+2|0;e=e-1|0;if(e){continue}break}}return d;case 4:f=b;b=0;c=a;i:{j:{k:{l:{a=I[a|0]|I[a+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break i}}i=163632;a=I[c+2|0]|I[c+3|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=163632}a=Kb(a,H[H[f+8>>2]>>2]);b=I[c+4|0]|I[c+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(c+(a<<1)|0)+6|0:163632;a=I[a|0]|I[a+1|0]<<8;if(a){i=c+((a<<8|a>>>8)&65535)|0}a=I[i|0]|I[i+1|0]<<8;m:{n:{if(a){h=(a<<8|a>>>8)&65535;c=i+2|0;g=H[f+12>>2];while(1){a=I[c|0]|I[c+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+i|0}else{e=163632}a=I[e|0]|I[e+1|0]<<8;a=(a<<8|a>>>8)&65535;o:{if((a|0)!=(g|0)){break o}b=1;if(a>>>0<2){break m}d=1;a=1;j=H[f+8>>2];b=I[e+4|0]|I[e+5|0]<<8;if(H[j+4>>2]!=((b<<8|b>>>8)&65535)){break o}while(1){b=a+1|0;if((b|0)==(g|0)){break n}k=a<<1;a=b;b=e+k|0;b=I[b+4|0]|I[b+5|0]<<8;if(H[j+(a<<2)>>2]==((b<<8|b>>>8)&65535)){continue}break}if(a>>>0>=g>>>0){break n}}c=c+2|0;h=h-1|0;if(h){continue}break}}d=0}b=d}break i}k=H[f+8>>2];a=H[k>>2];p:{q:{r:{s:{d=I[c+4|0]|I[c+5|0]<<8;if(d){g=c+((d<<8|d>>>8)&65535)|0}else{g=163632}d=I[g|0]|I[g+1|0]<<8;m=d<<8|d>>>8;switch((m&65535)-1|0){case 1:break r;case 0:break s;default:break p}}b=a;a=I[g+2|0]|I[g+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=I[g+4|0]|I[g+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(g+(a<<1)|0)+6|0:163632;break q}h=164024;b=I[g+2|0]|I[g+3|0]<<8;t:{if(!b){break t}b=((b<<8|b>>>8)&65535)-1|0;while(1){d=b+e>>>1|0;i=g+N(d,6)|0;j=I[i+4|0]|I[i+5|0]<<8;u:{if(a>>>0>=((j<<8|j>>>8)&65535)>>>0){e=I[i+6|0]|I[i+7|0]<<8;if(a>>>0>((e<<8|e>>>8)&65535)>>>0){e=d+1|0;break u}h=(g+N(d,6)|0)+4|0;break t}b=d-1|0}if((b|0)>=(e|0)){continue}break}}a=h+4|0}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}i=163632;a=I[c+6|0]|I[c+7|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>b>>>0?(c+(b<<1)|0)+8|0:163632;a=I[a|0]|I[a+1|0]<<8;if(a){i=c+((a<<8|a>>>8)&65535)|0}a=I[i|0]|I[i+1|0]<<8;v:{w:{if(a){j=(a<<8|a>>>8)&65535;h=i+2|0;f=H[f+12>>2];while(1){c=163632;a=I[h|0]|I[h+1|0]<<8;if(a){c=((a<<8|a>>>8)&65535)+i|0}a=I[c|0]|I[c+1|0]<<8;a=(a<<8|a>>>8)&65535;x:{if((a|0)!=(f|0)){break x}b=1;if(a>>>0<2){break v}a=H[k+4>>2];b=0;y:{z:{A:{switch((m&65535)-1|0){case 0:b=a;a=I[g+2|0]|I[g+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=I[g+4|0]|I[g+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(g+(a<<1)|0)+6|0:163632;break z;case 1:break A;default:break y}}b=I[g+2|0]|I[g+3|0]<<8;B:{if(b){b=((b<<8|b>>>8)&65535)-1|0;e=0;while(1){l=b+e>>>1|0;d=(g+N(l,6)|0)+4|0;n=I[d|0]|I[d+1|0]<<8;C:{if(a>>>0>=((n<<8|n>>>8)&65535)>>>0){e=I[d+2|0]|I[d+3|0]<<8;if(a>>>0<=((e<<8|e>>>8)&65535)>>>0){break B}e=l+1|0;break C}b=l-1|0}if((b|0)>=(e|0)){continue}break}}d=164024}a=d+4|0}a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)&65535}e=1;a=1;d=b;b=I[c+4|0]|I[c+5|0]<<8;if((d|0)!=((b<<8|b>>>8)&65535)){break x}while(1){b=a+1|0;if((b|0)==(f|0)){break w}d=a<<1;a=b;if(rs(H[k+(a<<2)>>2],(c+d|0)+4|0,g)){continue}break}if(a>>>0>=f>>>0){break w}}h=h+2|0;j=j-1|0;if(j){continue}break}}e=0}b=e}break i}a=I[c+2|0]|I[c+3|0]<<8;a=a<<8|a>>>8;d=a&65535;if((d|0)!=H[f+12>>2]){break i}b=1;if((a&65535)>>>0<2){break i}g=H[H[f+8>>2]+4>>2];b=0;e=c+8|0;a=I[e|0]|I[e+1|0]<<8;if(a){a=c+((a<<8|a>>>8)&65535)|0}else{a=163632}if((Kb(a,g)|0)==-1){break i}b=1;while(1){D:{a=b+1|0;if((d|0)==(a|0)){a=d;break D}h=H[H[f+8>>2]+(a<<2)>>2];b=e+(b<<1)|0;b=I[b|0]|I[b+1|0]<<8;if(b){g=c+((b<<8|b>>>8)&65535)|0}else{g=163632}b=a;if((Kb(g,h)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}return b;case 5:c=0;g=Wa-16|0;Wa=g;E:{F:{G:{H:{d=I[a|0]|I[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break F;case 1:break G;case 0:break H;default:break E}}c=163632;d=I[a+2|0]|I[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}d=Kb(d,H[H[b+8>>2]>>2]);e=I[a+4|0]|I[a+5|0]<<8;d=d>>>0<((e<<8|e>>>8)&65535)>>>0?((d<<1)+a|0)+6|0:163632;d=I[d|0]|I[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=H[31228];H[g+8>>2]=H[31227];H[g+12>>2]=a;a=H[31226];H[g>>2]=H[31225];H[g+4>>2]=a;c=ts(c,b,g);break E}h=Wa-16|0;Wa=h;c=163632;m=163632;d=I[a+4|0]|I[a+5|0]<<8;if(d){m=((d<<8|d>>>8)&65535)+a|0}d=I[a+6|0]|I[a+7|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}d=I[a+8|0]|I[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}i=H[H[b+8>>2]>>2];I:{J:{K:{L:{e=I[c|0]|I[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break I}}e=I[c+2|0]|I[c+3|0]<<8;e=i-((e<<8|e>>>8)&65535)|0;f=I[c+4|0]|I[c+5|0]<<8;e=e>>>0<((f<<8|f>>>8)&65535)>>>0?((e<<1)+c|0)+6|0:163632;break J}j=164024;e=I[c+2|0]|I[c+3|0]<<8;M:{if(!e){break M}f=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){k=e+f>>>1|0;l=N(k,6)+c|0;n=I[l+4|0]|I[l+5|0]<<8;N:{if(i>>>0>=((n<<8|n>>>8)&65535)>>>0){e=I[l+6|0]|I[l+7|0]<<8;if(i>>>0>((e<<8|e>>>8)&65535)>>>0){e=k+1|0;break N}j=(N(k,6)+c|0)+4|0;break M}f=k-1|0}if((e|0)<=(f|0)){continue}break}}e=j+4|0}e=I[e|0]|I[e+1|0]<<8;f=(e<<8|e>>>8)&65535}e=163632;j=((f<<1)+a|0)+12|0;i=f;f=I[a+10|0]|I[a+11|0]<<8;f=i>>>0<((f<<8|f>>>8)&65535)>>>0?j:163632;f=I[f|0]|I[f+1|0]<<8;if(f){e=((f<<8|f>>>8)&65535)+a|0}H[h+12>>2]=d;H[h+8>>2]=c;H[h+4>>2]=m;H[h>>2]=716;c=ts(e,b,h);Wa=h+16|0;break E}c=b;b=0;e=a;d=a+2|0;a=I[a+2|0]|I[a+3|0]<<8;h=d+(((a<<8|a>>>8)&65535)<<1)|0;f=h+2|0;d=I[f|0]|I[f+1|0]<<8;i=d<<8|d>>>8;d=i&65535;f=(d<<1)+f|0;O:{if((I[c+16|0]?I[f+2|0]|I[f+3|0]<<8|a:0)|(d|0)!=H[c+12>>2]){break O}b=1;if((i&65535)>>>0<2){break O}i=H[H[c+8>>2]+4>>2];b=0;f=h+6|0;a=I[f|0]|I[f+1|0]<<8;if(a){a=e+((a<<8|a>>>8)&65535)|0}else{a=163632}if((Kb(a,i)|0)==-1){break O}b=1;while(1){P:{a=b+1|0;if((d|0)==(a|0)){a=d;break P}i=H[H[c+8>>2]+(a<<2)>>2];b=f+(b<<1)|0;b=I[b|0]|I[b+1|0]<<8;if(b){h=e+((b<<8|b>>>8)&65535)|0}else{h=163632}b=a;if((Kb(h,i)|0)!=-1){continue}}break}b=a>>>0>=d>>>0}c=b}Wa=g+16|0;return c;case 6:if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;a=xs(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break c;default:break b}}if((I[a|0]|I[a+1|0]<<8)!=256|H[b+12>>2]!=1){break b}c=I[a+2|0]|I[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}f=(Kb(a,H[H[b+8>>2]>>2])|0)!=-1}return f}c=I[a+2|0]|I[a+3|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}return(Kb(a,H[H[b+8>>2]>>2])|0)!=-1}function wB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Wa-16|0;Wa=h;a:{b:{d=ob(a,0);if(!d){d=Mb(a,30192,b+132|0);if(!d){break b}}H[h+12>>2]=d;break a}H[b+168>>2]=H[b+168>>2]+(H[b+204>>2]<<16);c:{if(!(H[b+132>>2]!=1346785840|K[b+136>>2]>4|K[b+144>>2]<58)){if(H[b+140>>2]==3338){break c}}d=2;H[h+12>>2]=2;break a}g=H[b+152>>2];d=ob(a,g);H[h>>2]=d;d:{e:{if(d){break e}e=yb(a,h);d=H[h>>2];if(d){break e}d=8;if(e>>>0>13106){break e}f=H[a+4>>2];if(N(e,5)+2>>>0>=f-g>>>0){break e}if(f>>>0>N(e,23)+95>>>0){break d}}H[h+12>>2]=d;break a}d=0;H[h+12>>2]=0;H[b>>2]=e;if((c|0)<0){break a}q=c&65535;if(e>>>0<=q>>>0){d=6;H[h+12>>2]=6;break a}i=H[b+204>>2];d=ob(a,H[b+152>>2]);H[h>>2]=d;f:{g:{h:{if(d){break h}c=yb(a,h);d=H[h>>2];if(d){break h}d=6;if(c>>>0<=q>>>0){break h}d=dc(a,N(q,5));H[h>>2]=d;if(d){break h}e=yb(a,h);d=H[h>>2];if(d){break h}g=0;f=Wa-16|0;Wa=f;H[h>>2]=0;i:{j:{k:{l:{d=H[a+8>>2];if(K[a+4>>2]<=d+2>>>0){break l}c=H[a+20>>2];m:{if(c){if((Ya[c|0](a,d,f+13|0,3)|0)!=3){break l}d=H[a+8>>2];c=f+13|0;break m}c=H[a>>2];if(!c){break k}c=c+d|0}g=I[c+2|0]|(I[c+1|0]<<8|I[c|0]<<16);break j}H[h>>2]=85;break i}g=0}H[a+8>>2]=d+3}Wa=f+16|0;d=H[h>>2];if(d){break h}H[b+240>>2]=e;H[b+244>>2]=g;d=ob(a,g);H[h>>2]=d;if(d){break h}d=Nb(a,e);H[h>>2]=d;if(d){break h}n:{if(e>>>0<13){break n}d=H[a+32>>2];f=d+e|0;H[b+248>>2]=I[d+2|0]|(I[d+1|0]<<8|I[d|0]<<16);H[b+252>>2]=I[d+5|0]|(I[d+4|0]<<8|I[d+3|0]<<16);H[b+256>>2]=I[d+8|0]|(I[d+7|0]<<8|I[d+6|0]<<16);H[b+260>>2]=I[d+11|0]|(I[d+10|0]<<8|I[d+9|0]<<16);c=0;e=d+13|0;g=I[d+12|0];j=g&4;if(j){c=g&8?2:1;k=g&3?c:c+3|0}else{k=c}c=g&32;if(f>>>0>31&(c?2:1))|0)>>>0){break n}k=g&16;o:{if(!j){break o}p:{if(g&8){e=I[d+13|0]|I[d+14|0]<<8;j=(e<<8|e>>>8)<<16>>16;e=d+15|0;break p}j=I[d+13|0];e=d+14|0}H[b+268>>2]=j;if(g&3){break o}H[b+276>>2]=I[e+2|0]|(I[e+1|0]<<8|I[e|0]<<16);e=e+3|0}q:{if(!k){c=e;break q}r:{if(c){c=I[e|0]|I[e+1|0]<<8;d=(c<<8|c>>>8)<<16>>16;c=e+2|0;break r}d=I[e|0];c=e+1|0}H[b+272>>2]=d}s:{if(!(g&64)){d=c;break s}d=c+1|0;if(f>>>0>>0){break g}c=I[c|0];if(c){while(1){e=d+2|0;if(e>>>0>f>>>0){break g}d=e+I[d|0]|0;if(f>>>0>>0){break g}c=c-1|0;if(c){continue}break}}H[h>>2]=0}if(f>>>0>>0){break n}c=I[d+1|0]|I[d|0]<<8;H[b+280>>2]=c;H[b+284>>2]=I[d+4|0]|(I[d+3|0]<<8|I[d+2|0]<<16);if(!i){break f}if(f>>>0>>0){break n}H[b+280>>2]=c|I[d+5|0]<<16;break f}H[h>>2]=8;break f}H[h+12>>2]=d;break a}H[h>>2]=8}Db(a);d=H[h>>2];H[h+12>>2]=d;if(d){break a}e=H[b+280>>2];p=H[b+284>>2];l=H[a+28>>2];H[b+428>>2]=b+424;H[b+424>>2]=0;H[b+292>>2]=p;f=b+288|0;H[f>>2]=l;t:{u:{v:{w:{x:{d=ob(a,p);if(d){break x}d=Nb(a,e);H[h>>2]=d;if(d){break x}d=H[a+32>>2];H[f+148>>2]=d;if((e|0)<15){break w}H[f+8>>2]=I[d+1|0]|I[d|0]<<8;H[f+12>>2]=I[d+3|0]|I[d+2|0]<<8;H[f+16>>2]=I[d+5|0]|I[d+4|0]<<8;c=I[d+6|0]|I[d+7|0]<<8;H[f+20>>2]=(c<<8|c>>>8)<<16>>16;c=I[d+8|0]|I[d+9|0]<<8;H[f+24>>2]=(c<<8|c>>>8)<<16>>16;c=I[d+10|0]|I[d+11|0]<<8;H[f+28>>2]=(c<<8|c>>>8)<<16>>16;c=I[d+12|0]|I[d+13|0]<<8;H[f+32>>2]=(c<<8|c>>>8)<<16>>16;k=I[d+14|0];H[f+36>>2]=k;r=k&4;if(r){c=d+15|0}else{if(e>>>0<17){break w}c=I[d+15|0]|I[d+16|0]<<8;H[f+40>>2]=(c<<8|c>>>8)<<16>>16;c=d+17|0}j=d+e|0;if(k&128){d=c+1|0;if(j>>>0>>0){break v}g=I[c|0];y:{if(!g){c=d;break y}while(1){e=d+2|0;if(e>>>0>j>>>0){break v}c=e+I[d|0]|0;if(j>>>0>>0){break v}d=I[d+1|0]-1|0;if((d&255)>>>0<=3){d=Ya[H[(d<<24>>24<<2)+30308>>2]](e,c,f)|0;if(d){break u}}d=c;g=g-1|0;if(g){continue}break}}H[h>>2]=0}e=c+3|0;if(j>>>0>>0){break w}d=I[c+2|0]|(I[c+1|0]<<8|I[c|0]<<16);if(d){c=d+e|0;if(c>>>0>j>>>0){break w}m=f+84|0;n=f+88|0;while(1){z:{o=e+4|0;if(o>>>0>c>>>0){break z}i=I[e+1|0]|I[e|0]<<8;if(i>>>0<4|d>>>0>>0){break z}g=d;A:{B:{C:{D:{E:{d=I[e+2|0]|I[e+3|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break C;case 1:break D;case 0:break E;default:break A}}d=Bn(o,i-4|0,l,m);break B}if(i>>>0<36){break A}d=I[e+14|0]|I[e+15|0]<<8;H[f+44>>2]=(d<<8|d>>>8)<<16>>16;d=I[e+16|0]|I[e+17|0]<<8;H[f+48>>2]=(d<<8|d>>>8)<<16>>16;d=I[e+18|0]|I[e+19|0]<<8;H[f+52>>2]=(d<<8|d>>>8)<<16>>16;break A}d=Bn(o,i-4|0,l,n)}H[h>>2]=d;if(d){break x}}e=e+i|0;d=g-i|0;if((g|0)!=(i|0)){continue}}break}e=c}d=e+1|0;if(j>>>0>>0){break w}c=I[e|0];H[f+104>>2]=c;if(j>>>0<(c<<1)+d>>>0){break w}i=jb(l,4,0,c,0,h);H[f+108>>2]=i;if(H[h>>2]){break t}F:{if(!c){break F}o=c&1;G:{if((c|0)==1){e=0;break G}c=c&254;e=0;g=0;while(1){m=e<<2;n=I[d|0]|I[d+1|0]<<8;H[m+i>>2]=(n<<8|n>>>8)<<16>>16;n=i+(m|4)|0;m=I[d+2|0]|I[d+3|0]<<8;H[n>>2]=(m<<8|m>>>8)<<16>>16;e=e+2|0;d=d+4|0;g=g+2|0;if((c|0)!=(g|0)){continue}break}}if(!o){break F}c=I[d|0]|I[d+1|0]<<8;H[i+(e<<2)>>2]=(c<<8|c>>>8)<<16>>16;d=d+2|0}e=d+8|0;if(j>>>0>>0){break w}H[f+112>>2]=I[d|0];H[f+116>>2]=I[d+1|0];H[f+68>>2]=I[d+3|0]|I[d+2|0]<<8;H[f+56>>2]=I[d+5|0]|I[d+4|0]<<8;i=I[d+7|0]|I[d+6|0]<<8;H[f+120>>2]=i;H[f+124>>2]=(e+p|0)-H[a+32>>2];p=k>>>3&1;o=k&2;m=k&16;n=k&32;if(j>>>0>>1)+(o?5:4)+(m>>>4)+(n>>>5)|0)+e>>>0){break w}l=jb(l,16,0,i,0,h);H[f+128>>2]=l;if(H[h>>2]|!i){break t}c=0;while(1){H:{if(o){g=I[e+1|0]|I[e|0]<<8;d=e+2|0;break H}g=I[e|0];d=e+1|0}k=l+(c<<4)|0;H[k>>2]=g;I:{if(r){e=I[d|0]|I[d+1|0]<<8;g=(e<<8|e>>>8)<<16>>16;d=d+2|0;break I}g=H[f+40>>2]}H[k+4>>2]=g;d=d+p|0;J:{if(m){g=I[d+1|0]|I[d|0]<<8;d=d+2|0;break J}g=I[d|0];d=d+1|0}H[k+8>>2]=g;K:{if(n){g=I[d+1|0]<<8|I[d|0]<<16;j=2;e=d+3|0;break K}g=I[d|0]<<8;j=1;e=d+2|0}H[k+12>>2]=I[d+j|0]|g;c=c+1|0;if((i|0)!=(c|0)){continue}break}break t}H[h+12>>2]=d;break a}H[h>>2]=8;break t}d=8}H[h>>2]=d}Db(a);e=0;a=H[a+8>>2];H[f+148>>2]=0;H[f+144>>2]=a;d=H[h>>2];H[h+12>>2]=d;if(d){break a}H[b+4>>2]=q;a=H[b+408>>2];H[b+16>>2]=a+1;c=H[b+8>>2]|1;H[b+8>>2]=c;L:{M:{N:{if(!a){break N}d=H[f+128>>2];while(1){if(H[(d+(e<<4)|0)+12>>2]){break N}e=e+1|0;if((a|0)!=(e|0)){continue}break}break M}if((a|0)!=(e|0)){break L}}c=0;if(H[f+92>>2]){break L}d=3;H[h+12>>2]=3;break a}a=H[b+324>>2];d=(a^-1)&4|c|(a&1?32:16);H[b+8>>2]=d;c=H[b+380>>2];if(c){d=d|2;H[b+8>>2]=d}if(H[f+132>>2]){H[b+8>>2]=d|64}d=H[b+372>>2];H[b+20>>2]=d;if(!d){H[b+20>>2]=H[b+368>>2]}H[b+28>>2]=0;H[b+32>>2]=0;H[b+24>>2]=H[b+376>>2];d=H[f+28>>2];e=H[f+32>>2];g=H[f+24>>2];j=H[f+20>>2];i=H[b+300>>2];G[b+68>>1]=i;k=H[b+320>>2];G[b+70>>1]=k;l=H[b+312>>2];G[b+72>>1]=l;H[b+52>>2]=j;H[b+56>>2]=g;H[b+60>>2]=d;H[b+64>>2]=e;d=(k<<16>>16)-(l<<16>>16)|0;e=(N(i&65535,12)>>>0)/10|0;G[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){a=jb(H[H[b+104>>2]+28>>2],16,0,c,0,h+12|0);H[b+32>>2]=a;d=H[h+12>>2];if(d){break a}d=H[f+100>>2];if((c|0)!=1){j=c&-2;e=0;while(1){i=H[d+4>>2];G[a>>1]=i;g=H[d>>2];i=i<<6;H[a+12>>2]=i;H[a+4>>2]=i;G[a+2>>1]=g;H[a+8>>2]=g<<6;i=H[d+40>>2];G[a+16>>1]=i;g=H[d+36>>2];i=i<<6;H[a+28>>2]=i;H[a+20>>2]=i;G[a+18>>1]=g;H[a+24>>2]=g<<6;d=d+72|0;a=a+32|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(c&1){e=H[d+4>>2];G[a>>1]=e;d=H[d>>2];e=e<<6;H[a+12>>2]=e;H[a+4>>2]=e;G[a+2>>1]=d;H[a+8>>2]=d<<6}H[b+28>>2]=c;a=H[b+324>>2]}O:{if(!(a&4)){a=H[f+40>>2];break O}a=H[f+120>>2];if(!a){a=0;break O}g=a&3;d=H[f+128>>2];c=0;P:{if(a-1>>>0<3){a=0;break P}f=a&-4;a=0;e=0;while(1){j=H[d+4>>2];a=(a|0)>(j|0)?a:j;j=H[d+20>>2];a=(a|0)>(j|0)?a:j;j=H[d+36>>2];a=(a|0)>(j|0)?a:j;j=H[d+52>>2];a=(a|0)>(j|0)?a:j;d=d- -64|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}if(!g){break O}while(1){e=H[d+4>>2];a=(a|0)>(e|0)?a:e;d=d+16|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}G[b+76>>1]=a;G[b+78>>1]=J[b+74>>1];a=J[b+68>>1];G[b+82>>1]=(a>>>0)/30;G[b+80>>1]=0-((a>>>0)/10|0);H[h>>2]=b;H[h+4>>2]=1970170211;H[h+8>>2]=65539;d=hd(29996,0,h,0);H[h+12>>2]=d;if(!H[b+420>>2]){break a}H[b+8>>2]=H[b+8>>2]|64}Wa=h+16|0;return d|0}function gy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Wa-240|0;Wa=f;n=1;j=H[b+540>>2];a:{if((d|0)<=0){c=0;break a}m=d&3;b:{if(d-1>>>0<3){c=0;d=0;break b}o=d&-4;c=0;d=0;while(1){i=1;l=d<<3;g=H[l+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}}else{c=1}g=c;c=H[(l|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}i=g}c=1;g=H[(l|16)+e>>2]-1768386662|0;if(g){if((g|0)==13){k=1}g=i}else{g=1}i=H[(l|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=g}d=d+4|0;p=p+4|0;if((o|0)!=(p|0)){continue}break}}if(!m){break a}g=c;while(1){i=H[(d<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=g}else{c=1}d=d+1|0;g=c;h=h+1|0;if((m|0)!=(h|0)){continue}break}}c:{if(H[H[b+128>>2]+52>>2]){break c}g=0;d=J[b+152>>1];d:{if(!d){break d}g=H[b+156>>2];e=g+(d<<4)|0;d=g;while(1){if(H[d+12>>2]?H[d>>2]==1735162214:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}d=g;while(1){if(H[d+12>>2]?H[d>>2]==1128678944:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}while(1){if(H[g+12>>2]?H[g>>2]==1128678962:0){break d}g=g+16|0;if(e>>>0>g>>>0){continue}break}g=0}n=(g|0)!=0}d=1;e=Ya[H[b+516>>2]](b,1935829368,a,0)|0;i=(e|0)!=0&n;e:{f:{g:{if(i){break g}h=H[j+68>>2];if(!h){break g}g=0;h=Ya[h|0](b,a)|0;d=(h|0)!=0;if(!e){break g}if(!h){break f}}e=Ya[H[j+24>>2]](b,a)|0;H[f+12>>2]=e;g=d;if(e){break e}}d=Ya[H[b+516>>2]](b,1128418371,a,0)|0;e=Ya[H[b+516>>2]](b,1128416340,a,0)|0;if((J[b+178>>1]-16385&65535)>>>0<=49166){H[f+12>>2]=8;break e}d=i&((d|0)!=0&(e|0)!=0);Ya[H[j+36>>2]](b,a)|0;Ya[H[j+32>>2]](b,a)|0;Ya[H[j+48>>2]](b,a)|0;h=Ya[H[j+44>>2]](b,a)|0;h:{if(!g){e=d;break h}e=Ya[H[j+28>>2]](b,a,0)|0;H[f+12>>2]=e;i:{j:{k:{if(!e){g=Ya[H[j+92>>2]](b,a,0)|0;H[f+12>>2]=g;if((g&255)!=142){break j}H[f+12>>2]=147;e=H[H[b+128>>2]+52>>2];if(!e){break e}if(H[H[e>>2]+8>>2]){break k}break e}if((e&255)!=142){break e}e=0;if(H[b+148>>2]==1953658213){break i}H[f+12>>2]=143;e=H[H[b+128>>2]+52>>2];if(!e|!H[H[e>>2]+8>>2]){break e}}G[b+250>>1]=0;e=d;break i}e=d;if(g){break e}}d=Ya[H[j+28>>2]](b,a,1)|0;H[f+12>>2]=d;l:{m:{if(d){break m}d=Ya[H[j+92>>2]](b,a,1)|0;H[f+12>>2]=d;if(d){break m}F[b+292|0]=1;break l}if((d&255)!=142){break e}}if(!(Ya[H[j+40>>2]](b,a)|0)){break h}G[b+372>>1]=65535}d=H[j+96>>2];if(d){Ya[d|0](b,a)|0}d=H[j+112>>2];if(d){Ya[d|0](b,a)|0;Ya[H[j+116>>2]](b,a)|0}Ya[H[j+64>>2]](b,a)|0;Ya[H[j+60>>2]](b,a)|0;Ya[H[j+56>>2]](b,a)|0;H[b+20>>2]=0;H[b+24>>2]=0;H[b+16>>2]=J[b+264>>1];a=b+24|0;d=b+20|0;n:{if(!(!(F[b+437|0]&1)|J[b+372>>1]==65535)){o:{if(!(c&255)){c=ud(b,16,d);H[f+12>>2]=c;if(c){break e}if(H[d>>2]){break o}}c=ud(b,1,d);H[f+12>>2]=c;if(c){break e}}if(!(k&255)){c=ud(b,17,a);H[f+12>>2]=c;if(c){break e}}if(H[a>>2]){break n}a=ud(b,2,a);H[f+12>>2]=a;if(!a){break n}break e}g=ud(b,21,d);H[f+12>>2]=g;if(g){break e}i=H[d>>2];if(!(i|c&255)){c=ud(b,16,d);H[f+12>>2]=c;if(c){break e}i=H[d>>2]}if(!i){c=ud(b,1,d);H[f+12>>2]=c;if(c){break e}}c=ud(b,22,a);H[f+12>>2]=c;if(c){break e}d=H[a>>2];if(!(d|k&255)){c=ud(b,17,a);H[f+12>>2]=c;if(c){break e}d=H[a>>2]}if(d){break n}a=ud(b,2,a);H[f+12>>2]=a;if(a){break e}}d=H[b+8>>2];a=e|((H[b+872>>2]?0:(H[b+796>>2]&-2)!=2)?d:d|16384);d=a|24;d=h?d:H[b+476>>2]==196608?d:a|536;a=H[b+488>>2]?d|4:d;a=I[b+292|0]?a|32:a;h=H[b+820>>2]?a|64:a;if(F[b+740|0]&1){k=0;a=J[b+152>>1];p:{if(!a){break p}d=H[b+156>>2];a=d+(a<<4)|0;c=d;while(1){q:{if(!(!H[c+12>>2]|H[c>>2]!=1735162214)){c=d;r:{while(1){if(H[c+12>>2]?H[c>>2]==1735811442:0){break r}c=c+16|0;if(a>>>0>c>>>0){continue}break}c=0}h=c?h|256:h;break q}c=c+16|0;if(a>>>0>c>>>0){continue}}break}while(1){if(!(!H[d+12>>2]|H[d>>2]!=1128678962)){k=d;break p}d=d+16|0;if(a>>>0>d>>>0){continue}break}}h=k?h|256:h}H[b+8>>2]=h;s:{if(!(!e|J[b+372>>1]==65535)){a=J[b+436>>1];a=a>>>4&2|(a&513)!=0;break s}a=J[b+204>>1];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a>>>4&252645135|(a&252645135)<<4;a=a>>>2&858993459|(a&858993459)<<2;a=(a>>>1|(a&1073741824)<<1)>>>30|0}H[b+12>>2]=a|H[b+12>>2];c=H[b+508>>2];H[f+232>>2]=c;t:{if(!H[f+232>>2]){break t}a=H[b+512>>2];if(a>>>0<4){break t}H[f+232>>2]=H[f+232>>2]+2;H[f+232>>2]=H[f+232>>2]+2;H[f+236>>2]=I[H[f+232>>2]-1|0]|I[H[f+232>>2]-2|0]<<8;if(!H[f+236>>2]){break t}d=a+c|0;while(1){if(d>>>0>2]+8>>>0){break t}H[f+232>>2]=H[f+232>>2]+2;a=I[H[f+232>>2]-2|0];e=I[H[f+232>>2]-1|0];H[f+232>>2]=H[f+232>>2]+2;G[f+224>>1]=e|a<<8;a=I[H[f+232>>2]-2|0];e=I[H[f+232>>2]-1|0];H[f+232>>2]=H[f+232>>2]+4;H[f+216>>2]=b;H[f+220>>2]=0;G[f+226>>1]=e|a<<8;a=I[H[f+232>>2]-1|0]|(I[H[f+232>>2]-3|0]<<16|I[H[f+232>>2]-4|0]<<24|I[H[f+232>>2]-2|0]<<8);if(!(!a|a>>>0>H[b+512>>2]-2>>>0)){H[f+212>>2]=a+c;a=H[f+212>>2];H[f+208>>2]=I[a+1|0]|I[a|0]<<8;H[f+204>>2]=94960;u:{if(!H[H[f+204>>2]>>2]){break u}while(1){H[f+200>>2]=H[H[f+204>>2]>>2];if(H[H[f+200>>2]+40>>2]==H[f+208>>2]){H[f+20>>2]=0;a=f+24|0;H[a+156>>2]=H[f+212>>2];H[a+160>>2]=d;H[a+164>>2]=0;H[a+168>>2]=0;H[f+196>>2]=J[b+264>>1];e=H[H[f+200>>2]+44>>2];H[65057]=0;a=ca(e|0,H[f+212>>2],a|0)|0;e=H[65057];H[65057]=0;v:{w:{if((e|0)!=1){H[f+20>>2]=a;break w}a=ea(257128)|0;if((_()|0)!=(za(257128)|0)){break v}oa(a|0)|0;pa()}if(H[f+192>>2]){break u}if(hd(H[f+200>>2],H[f+212>>2],f+216|0,f+16|0)){break u}H[H[f+16>>2]+20>>2]=H[f+20>>2];break u}ba(a|0);X()}H[f+204>>2]=H[f+204>>2]+4;if(H[H[f+204>>2]>>2]){continue}break}}}H[f+236>>2]=H[f+236>>2]-1;if(H[f+236>>2]){continue}break}}g=H[b+36>>2];x:{if((g|0)>0){h=H[b+40>>2];i=0;d=0;while(1){c=H[h+(d<<2)>>2];a=G[c+10>>1];e=95008;y:{z:{A:{B:{switch(J[c+8>>1]){case 0:e=95020;break A;case 1:if(a){break z}e=95032;break A;case 2:break A;case 3:break B;default:break z}}if(!(1151>>>a&1)|a>>>0>=11){break z}e=H[(a<<2)+95912>>2]}a=H[e+8>>2];H[c+4>>2]=a;if((a|0)!=1970170211&(a|0)!=1937337698){break y}i=1;break y}H[c+4>>2]=0}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(i&255){break x}}H[f+24>>2]=b;H[f+28>>2]=1970170211;H[f+32>>2]=65539;a=hd(94432,0,f+24|0,0);H[f+12>>2]=a;C:{if(!a){break C}a=a&255;if((a|0)==163){break C}if((a|0)!=7){break e}}H[f+12>>2]=0}a=H[b+800>>2];D:{if(!a){break D}e=H[H[b+104>>2]+28>>2];k=J[b+178>>1];if(!k|J[b+372>>1]==65535){k=1;c=1}else{c=J[b+374>>1]}q=b,r=jb(e,16,0,a,0,f+12|0),H[q+32>>2]=r;if(H[f+12>>2]){break e}g=jb(e,4,0,a,0,f+12|0);if(H[f+12>>2]){break e}l=k>>>1|0;n=c<<16>>16;h=0;d=0;while(1){c=H[b+32>>2];i=Ya[H[j+108>>2]](b,d,f+24|0)|0;H[f+12>>2]=i;E:{if(i){break E}c=c+(h<<4)|0;G[c>>1]=H[f+44>>2]>>>6;i=J[f+24>>1];H[c+8>>2]=i<<6;G[c+2>>1]=(l+N(i,n)|0)/(k|0);m=J[f+26>>1];o=m<<6;H[c+4>>2]=o;H[c+12>>2]=o;if(!i|!m){break E}H[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}a=jb(e,4,a,h,g,f+12|0);if(!h){break D}H[b+804>>2]=a;H[b+28>>2]=h;H[b+8>>2]=H[b+8>>2]|2}d=H[b+8>>2];if(!(d&3)){d=d|1;H[b+8>>2]=d}if(!(d&1)){break e}G[b+68>>1]=J[b+178>>1];H[b+52>>2]=G[b+196>>1];H[b+56>>2]=G[b+198>>1];H[b+60>>2]=G[b+200>>1];H[b- -64>>2]=G[b+202>>1];d=J[b+372>>1];F:{if(!(!(I[b+436|0]&128)|(d|0)==65535)){a=J[b+442>>1];G[b+70>>1]=a;c=J[b+444>>1];G[b+72>>1]=c;G[b+74>>1]=J[b+446>>1]+(a-c|0);break F}a=J[b+220>>1];G[b+70>>1]=a;c=J[b+222>>1];G[b+72>>1]=c;G[b+74>>1]=J[b+224>>1]+(a-c|0);if(a|c|(d|0)==65535){break F}a=J[b+442>>1];c=J[b+444>>1];if(a|c){G[b+72>>1]=c;G[b+70>>1]=a;G[b+74>>1]=J[b+446>>1]+(a-c|0);break F}a=J[b+448>>1];G[b+70>>1]=a;c=a;a=J[b+450>>1];G[b+74>>1]=c+a;G[b+72>>1]=0-a}G[b+76>>1]=J[b+226>>1];G[b+78>>1]=J[(I[b+292|0]?306:74)+b>>1];a=G[b+486>>1];G[b+82>>1]=a;G[b+80>>1]=J[b+484>>1]+((a|0)/-2|0)}Wa=f+240|0;return H[f+12>>2]}function $h(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0;o=Wa-16|0;Wa=o;q=H[a+736>>2];m=H[a+104>>2];n=H[m+28>>2];H[o+4>>2]=0;s=6;a:{if(!I[a+733|0]|!q){break a}b:{if(!e){break b}f=H[c+4>>2];s=0;if((e|0)!=1){g=e&-2;while(1){j=s<<3;i=j+d|0;t=f+j|0;H[i>>2]=H[t>>2]<<6;H[i+4>>2]=H[t+4>>2]<<6;j=j|8;i=j+d|0;j=f+j|0;H[i>>2]=H[j>>2]<<6;H[i+4>>2]=H[j+4>>2]<<6;s=s+2|0;y=y+2|0;if((g|0)!=(y|0)){continue}break}}if(!(e&1)){break b}j=s<<3;g=j+d|0;f=f+j|0;H[g>>2]=H[f>>2]<<6;H[g+4>>2]=H[f+4>>2]<<6}s=0;if(K[q+68>>2]<=b>>>0){break a}f=H[q+72>>2];j=b+1|0;if(H[f+(b<<2)>>2]==H[f+(j<<2)>>2]){break a}r=jb(n,8,0,e,0,o+12|0);c:{if(H[o+12>>2]){break c}p=jb(n,8,0,e,0,o+12|0);if(H[o+12>>2]){break c}s=jb(n,1,0,e,0,o+12|0);if(H[o+12>>2]){break c}f=H[q+72>>2];j=H[f+(j<<2)>>2];b=H[f+(b<<2)>>2];f=ob(m,b);H[o+12>>2]=f;if(f){break c}b=j-b|0;f=Nb(m,b);H[o+12>>2]=f;if(f){break c}j=H[m>>2];g=H[m+32>>2];C=jb(n,4,0,H[q>>2],0,o+12|0);y=0;d:{e:{if(H[o+12>>2]){break e}R=jb(n,4,0,H[q>>2],0,o+12|0);if(H[o+12>>2]){break e}S=jb(n,4,0,H[q>>2],0,o+12|0);if(H[o+12>>2]){break e}f=Rb(m);f:{i=Rb(m);if(i>>>0<=b>>>0){V=f&4095;if(b>>>0>=V<<2>>>0){break f}}H[o+12>>2]=8;break e}z=i+(g-j|0)|0;if(f&32768){j=H[m+32>>2];b=H[m>>2];f=H[m+36>>2];H[m+32>>2]=f-b>>>0>z>>>0?b+z|0:f;y=Bg(m,H[q+76>>2],o+4|0);g=H[m+32>>2];f=H[m>>2];b=j-b|0;j=H[m+36>>2];H[m+32>>2]=b>>>0>>0?f+b|0:j;z=g-f|0}D=jb(n,4,0,e,0,o+12|0);g:{if(H[o+12>>2]){break g}E=jb(n,4,0,e,0,o+12|0);if(H[o+12>>2]){break g}h:{if(!e){break h}b=H[c+4>>2];g=0;if((e|0)!=1){j=e&-2;while(1){f=g<<3;i=f+r|0;t=b+f|0;H[i>>2]=H[t>>2]<<16;H[i+4>>2]=H[t+4>>2]<<16;f=f|8;i=f+r|0;f=b+f|0;H[i>>2]=H[f>>2]<<16;H[i+4>>2]=H[f+4>>2]<<16;g=g+2|0;h=h+2|0;if((j|0)!=(h|0)){continue}break}}if(!(e&1)){break h}f=g<<3;h=f+r|0;b=b+f|0;H[h>>2]=H[b>>2]<<16;H[h+4>>2]=H[b+4>>2]<<16}if(V){fa=e&-4;_=e&3;W=e-1|0;$=e-2|0;aa=e-3|0;T=e-4|0;ba=H[o+4>>2];b=0;while(1){ga=Rb(m);i:{j:{k:{l:{m:{f=Rb(m);n:{if(f&32768){g=0;if(!H[q>>2]){break n}while(1){ka=(g<<2)+C|0,la=Rb(m)<<16>>16<<2,H[ka>>2]=la;g=g+1|0;if(g>>>0>2]){continue}break}break n}h=f&4095;if(h>>>0>=K[q+60>>2]){break m}j=h;h=H[q>>2];mb(C,H[q+64>>2]+(N(j,h)<<2)|0,h<<2)}o:{if(!(f&16384)){break o}g=0;if(!H[q>>2]){break o}while(1){ka=(g<<2)+R|0,la=Rb(m)<<16>>16<<2,H[ka>>2]=la;g=g+1|0;h=H[q>>2];if(g>>>0>>0){continue}break}g=0;if(!h){break o}while(1){ka=(g<<2)+S|0,la=Rb(m)<<16>>16<<2,H[ka>>2]=la;g=g+1|0;if(g>>>0>2]){continue}break}}j=km(q,f,C,R,S);if(!j){break i}ha=H[m+32>>2];X=H[m>>2];h=H[m+36>>2];H[m+32>>2]=h-X>>>0>z>>>0?X+z|0:h;p:{if(f&8192){t=Bg(m,H[q+76>>2],o+8|0);f=H[o+8>>2];b=t;break p}H[o+8>>2]=ba;f=ba;t=b;b=y}h=f?f:e;L=ci(m,H[q+76>>2],h);M=ci(m,H[q+76>>2],h);if(!L|(!b|!M)){break j}q:{if((b|0)!=-1){if(!e){break k}h=0;g=0;i=0;if(W>>>0>=3){break q}break l}g=0;if(!e){break j}while(1){b=g<<2;f=b+E|0;h=H[f>>2];i=b+D|0;k=H[i>>2];l=ib(H[b+L>>2],j);b=ib(H[b+M>>2],j);r:{if(g>>>0>>0){H[i>>2]=k+l;H[f>>2]=b+h;break r}if(!(I[a+740|0]&4|(g|0)!=(T|0))){H[i>>2]=k+l;break r}if(!(I[a+740|0]&2|(g|0)!=(aa|0))){H[i>>2]=k+l;break r}if(!(I[a+740|0]&32|(g|0)!=($|0))){H[f>>2]=b+h;break r}if(I[a+740|0]&16|(g|0)!=(W|0)){break r}H[f>>2]=b+h}g=g+1|0;if((g|0)!=(e|0)){continue}break}break j}while(1){F[g+s|0]=0;k=g<<3;l=k+p|0;k=k+r|0;u=H[k+4>>2];H[l>>2]=H[k>>2];H[l+4>>2]=u;k=g|1;F[k+s|0]=0;k=k<<3;l=k+p|0;k=k+r|0;u=H[k+4>>2];H[l>>2]=H[k>>2];H[l+4>>2]=u;k=g|2;F[k+s|0]=0;k=k<<3;l=k+p|0;k=k+r|0;u=H[k+4>>2];H[l>>2]=H[k>>2];H[l+4>>2]=u;k=g|3;F[k+s|0]=0;k=k<<3;l=k+p|0;k=k+r|0;u=H[k+4>>2];H[l>>2]=H[k>>2];H[l+4>>2]=u;g=g+4|0;i=i+4|0;if((fa|0)!=(i|0)){continue}break}break l}H[o+12>>2]=8;break g}if(!_){break k}while(1){F[g+s|0]=0;i=g<<3;k=i+p|0;i=i+r|0;l=H[i+4>>2];H[k>>2]=H[i>>2];H[k+4>>2]=l;g=g+1|0;h=h+1|0;if((_|0)!=(h|0)){continue}break}}g=0;if(f){while(1){h=J[b+(g<<1)>>1];if(h>>>0>>0){F[h+s|0]=1;h=(h<<3)+p|0;i=g<<2;ka=h,la=ib(H[i+L>>2],j)+H[h>>2]|0,H[ka>>2]=la;ka=h,la=ib(H[i+M>>2],j)+H[h+4>>2]|0,H[ka+4>>2]=la}g=g+1|0;if((f|0)!=(g|0)){continue}break}}f=0;U=0;if(J[c>>1]){Y=p+4|0;O=r+4|0;while(1){w=G[H[c+12>>2]+(U<<1)>>1];s:{if((w|0)<(f|0)){break s}k=w+1|0;g=f;while(1){t:{b=g+1|0;if(I[g+s|0]){h=g;j=g;u:{v:{if((g|0)<(w|0)){while(1){u=h;h=b;l=j;i=j;w:{if(!I[h+s|0]){break w}i=h;if((l|0)>=(u|0)){break w}j=l+1|0;i=H[r+(l<<3)>>2]>H[r+(h<<3)>>2];P=i?l:h;Q=P<<3;b=H[Q+p>>2];B=i?h:l;Z=B<<3;x=H[Z+p>>2];v=H[r+Q>>2];l=H[r+Z>>2];if(!((v|0)==(l|0)&(b|0)!=(x|0))){ca=0;if((l|0)!=(v|0)){ca=pb(b-x|0,v-l|0)}ia=b-v|0;ja=x-l|0;b=j;while(1){i=b;da=b<<3;b=H[r+da>>2];x:{if((b|0)<=(l|0)){A=b+ja|0;break x}A=b+ia|0;if((b|0)>=(v|0)){break x}A=ib(b-l|0,ca)+x|0}H[p+da>>2]=A;b=i+1|0;if((i|0)!=(u|0)){continue}break}}i=H[O+Z>>2]>H[O+Q>>2];l=(i?B:P)<<3;b=H[l+Y>>2];i=(i?P:B)<<3;x=H[i+Y>>2];v=H[l+O>>2];l=H[i+O>>2];if((v|0)==(l|0)){i=h;if((b|0)!=(x|0)){break w}}A=0;if((l|0)!=(v|0)){A=pb(b-x|0,v-l|0)}P=b-v|0;Q=x-l|0;while(1){b=j;B=b<<3;j=H[B+O>>2];y:{if((j|0)<=(l|0)){i=j+Q|0;break y}i=j+P|0;if((j|0)>=(v|0)){break y}i=ib(j-l|0,A)+x|0}H[B+Y>>2]=i;j=b+1|0;if((b|0)!=(u|0)){continue}break}i=h}j=i;b=h+1|0;if((h|0)!=(w|0)){continue}break}if((g|0)!=(j|0)){break v}b=k}j=g<<3;i=j+r|0;h=H[i+4>>2];k=j+p|0;j=H[k+4>>2];k=H[k>>2];i=H[i>>2];if(!((k|0)!=(i|0)|(h|0)!=(j|0))){f=b;break s}j=j-h|0;i=k-i|0;if((g|0)<=(f|0)){break u}h=f+1|0;if(g-f&1){f=(f<<3)+p|0;H[f>>2]=i+H[f>>2];H[f+4>>2]=j+H[f+4>>2];f=h}if((g|0)==(h|0)){break u}while(1){h=(f<<3)+p|0;H[h>>2]=i+H[h>>2];H[h+4>>2]=j+H[h+4>>2];H[h+12>>2]=j+H[h+12>>2];H[h+8>>2]=i+H[h+8>>2];f=f+2|0;if((f|0)!=(g|0)){continue}break}break u}cm(j+1|0,w,j,g,r,p);if((g|0)<=0){break t}cm(f,g-1|0,j,g,r,p);break t}if((g|0)>=(w|0)){f=b;break s}h=g^-1;if(w-g&1){g=g+1|0;f=(g<<3)+p|0;H[f>>2]=i+H[f>>2];H[f+4>>2]=j+H[f+4>>2]}if((h|0)==(0-w|0)){f=b;break s}while(1){f=(g<<3)+p|0;H[f+8>>2]=i+H[f+8>>2];H[f+12>>2]=j+H[f+12>>2];g=g+2|0;f=(g<<3)+p|0;H[f>>2]=i+H[f>>2];H[f+4>>2]=j+H[f+4>>2];if((g|0)!=(w|0)){continue}break}f=b;break s}h=(g|0)==(w|0);g=b;if(!h){continue}}break}f=k}U=U+1|0;if((U|0)>1]){continue}break}}g=0;if(!e){break j}while(1){b=g<<3;f=b+p|0;h=b+r|0;b=H[f+4>>2]-H[h+4>>2]|0;f=H[f>>2]-H[h>>2]|0;i=g<<2;h=i+E|0;j=H[h>>2];i=i+D|0;k=H[i>>2];z:{if(g>>>0>>0){H[i>>2]=f+k;H[h>>2]=b+j;break z}if(!(I[a+740|0]&4|(g|0)!=(T|0))){H[i>>2]=f+k;break z}if(!(I[a+740|0]&2|(g|0)!=(aa|0))){H[i>>2]=f+k;break z}if(!(I[a+740|0]&32|(g|0)!=($|0))){H[h>>2]=b+j;break z}if(I[a+740|0]&16|(g|0)!=(W|0)){break z}H[h>>2]=b+j}g=g+1|0;if((g|0)!=(e|0)){continue}break}}b=-1;if((t|0)!=-1){if(t){Ya[H[n+8>>2]](n,t)}b=0}if(L){Ya[H[n+8>>2]](n,L)}if(M){Ya[H[n+8>>2]](n,M)}f=ha-X|0;h=H[m>>2];j=H[m+36>>2];H[m+32>>2]=f>>>0>>0?f+h|0:j}z=z+ga|0;ea=ea+1|0;if((ea|0)!=(V|0)){continue}break}}if(!e){break g}b=H[c+4>>2];g=0;while(1){c=g<<3;a=c+d|0;f=g<<2;h=f+D|0;H[a>>2]=H[a>>2]+(H[h>>2]+512>>10);f=f+E|0;H[a+4>>2]=H[a+4>>2]+(H[f>>2]+512>>10);a=b+c|0;H[a>>2]=H[a>>2]+(H[h>>2]+32768>>16);H[a+4>>2]=H[a+4>>2]+(H[f>>2]+32768>>16);g=g+1|0;if((g|0)!=(e|0)){continue}break}}if(D){Ya[H[n+8>>2]](n,D)}if(E){Ya[H[n+8>>2]](n,E)}if((y|0)==-1){break d}}if(y){Ya[H[n+8>>2]](n,y)}}if(C){Ya[H[n+8>>2]](n,C)}if(R){Ya[H[n+8>>2]](n,R)}if(S){Ya[H[n+8>>2]](n,S)}Db(m)}if(r){Ya[H[n+8>>2]](n,r)}if(p){Ya[H[n+8>>2]](n,p)}if(s){Ya[H[n+8>>2]](n,s)}s=H[o+12>>2]}Wa=o+16|0;return s}function CK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=Wa-32|0;Wa=k;a:{if(!H[c+68>>2]){break a}if(!Fb(c,b,105867,0)){break a}s=H[c+68>>2];b:{if(!s){break b}f=s-1|0;e=H[c+80>>2];j=I[e+15|0];while(1){c:{if((d|0)==(f|0)){d=s;break c}d=d+1|0;if((j|0)==I[(e+N(d,20)|0)+15|0]){continue}}break}if(!s){break b}h=H[c+80>>2];j=0;while(1){q=H[a+124>>2];i=d;d:{if(d>>>0<=j>>>0){break d}d=j;e=H[q+8>>2];if(!e){break d}while(1){f=N(d,20)+h|0;e:{if((e|0)!=H[f>>2]){break e}l=J[f+12>>1];if((l&96)!=96){break e}G[f+12>>1]=l&65439;F[f+18|0]=4}d=d+1|0;if((i|0)!=(d|0)){continue}break}}l=H[q+88>>2];o=(l|0)!=0;f=j;f:{g:{if(i>>>0<=f>>>0){l=j+1|0;if(l>>>0>>0){break g}break f}h:{while(1){d=f+1|0;if(I[(N(f,20)+h|0)+19|0]>=4){i:{if(!l){break i}e=d;if(d>>>0>=i>>>0){break i}while(1){g=N(e,20)+h|0;if(l&H[g+4>>2]){o=1;l=J[g+12>>1];if((l&112)==48){break i}j:{if(e>>>0>=i>>>0){f=e;break j}if(l&32){f=e;break j}f=e;if(I[g+18|0]!=4){break j}while(1){f=f+1|0;if((i|0)==(f|0)){f=i;break j}d=N(f,20)+h|0;if(I[d+12|0]&32){break j}if(I[d+18|0]==4){continue}break}}F[(N(f,20)+h|0)+19|0]=4;d=f+1|0;o=0;break i}o=1;e=e+1|0;if((i|0)!=(e|0)){continue}break}}k:{if(H[c+44>>2]!=1298954605|d>>>0>=i>>>0){break k}while(1){l:{if(d>>>0>=i>>>0){break l}while(1){e=N(d,20)+h|0;if(I[e+12|0]&32){break l}e=I[e+18|0];if(e>>>0>31|!(1<>>0>>0?i:e)-1|0;m:{while(1){l=d;d=d+1|0;if(i>>>0<=d>>>0){l=e;break m}g=N(d,20)+h|0;if(I[g+12|0]&32){break m}n=I[g+18|0];m=1<>>0>31;if(!(m&96?n:1)){continue}break}if(!(m&727046)|n|I[g+19|0]!=8){break m}F[g+19|0]=4;f=d}d=l+2|0;if(i>>>0>d>>>0){continue}break}}if(f>>>0<=j>>>0){break h}f=f-(I[(N(f,20)+h|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(i|0)){continue}break}f=i}n:{if(!((f|0)!=(i|0)|f>>>0<=j>>>0)){f=i;d=f-1|0;e=N(d,20)+h|0;if(I[e+12|0]&32){break n}f=I[e+18|0]==6?d:i}if(f>>>0<=j>>>0|f>>>0>=i>>>0){break n}while(1){d=N(f,20)+h|0;if(I[d+12|0]&32){break n}d=I[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}f=j;l=f+1|0;if(l>>>0>>0){break g}break f}l=j+1|0;n=l>>>0>=i>>>0;o:{if(n|f>>>0<=j>>>0){break o}d=((f|0)==(i|0)?-2:-1)+f|0;p:{q:{e=H[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break q}while(1){e=0;r:{if(d>>>0<=j>>>0){break r}while(1){e=N(d,20)+h|0;s:{if(I[e+12|0]&32){break s}g=I[e+18|0];if(g>>>0>31){break s}e=1;if(1<>>0>>0){continue}break}d=j;e=0}g=N(d,20)+h|0;if(I[g+12|0]&32|I[g+18|0]!=4|I[g+19|0]==2){break p}g=d+1|0;if(g>>>0>=i>>>0|(e^1|I[(N(g,20)+h|0)+18|0]!=6)){break q}d=d-1|0;continue}}if(I[(N(d,20)+h|0)+19|0]==2|d>>>0<=j>>>0){break p}e=d;while(1){m=d-1|0;g=N(m,20)+h|0;if(I[g+19|0]==2){H[k+24>>2]=H[g+16>>2];r=H[g+12>>2];H[k+16>>2]=H[g+8>>2];H[k+20>>2]=r;r=H[g+4>>2];H[k+8>>2]=H[g>>2];H[k+12>>2]=r;Yb(g,N(d,20)+h|0,N(e-m|0,20));d=N(e,20)+h|0;H[d+16>>2]=H[k+24>>2];g=H[k+20>>2];H[d+8>>2]=H[k+16>>2];H[d+12>>2]=g;g=H[k+12>>2];H[d>>2]=H[k+8>>2];H[d+4>>2]=g;f=f-(f>>>0>m>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>i>>>0?i:d;if(d-e>>>0>=2){kc(c,e,d)}e=e-1|0}d=m;if(j>>>0>>0){continue}break}break o}e=j;while(1){if(I[(N(e,20)+h|0)+19|0]==2){d=f+1|0;d=d>>>0>i>>>0?i:d;if(d-e>>>0<2){break o}kc(c,e,d);break g}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(n){break f}}m=N(j,20)+h|0;if(I[m+19|0]!=1|(I[m+18|0]==15|0)==((J[m+12>>1]&96)==32|0)){break f}g=H[H[q>>2]+16>>2];t:{u:{if((g|0)==12){break u}v:{w:{x:{d=l;if(f>>>0>d>>>0){while(1){e=d+1|0;n=N(d,20)+h|0;if(!(I[n+12|0]&32)&I[n+18|0]==4){break x}d=e;if((f|0)!=(d|0)){continue}break}}switch(g-5|0){case 4:break v;case 0:break w;default:break u}}if(e>>>0>=f>>>0){break t}g=N(e,20)+h|0;if(I[g+12|0]&32){break t}n=e;e=I[g+18|0];d=e>>>0<32?1<>>0>>0?i:d)-1|0;e=f;while(1){y:{d=e;e=d+1|0;if(i>>>0<=e>>>0){d=g;break y}if(I[(N(e,20)+h|0)+19|0]<6){continue}}break}if(d>>>0>=i>>>0){break u}break t}d=f+1|0;g=(d>>>0>>0?i:d)-1|0;e=f;while(1){z:{d=e;e=d+1|0;if(i>>>0<=e>>>0){d=g;break z}n=I[(N(e,20)+h|0)+19|0];if(n>>>0>31|!(1<>>0>>0){break t}}A:{d=l;if(f>>>0<=d>>>0){break A}while(1){B:{e=d+1|0;g=N(d,20)+h|0;if(!(I[g+12|0]&32)&I[g+18|0]==4){break B}d=e;if((f|0)!=(d|0)){continue}break A}break}if(e>>>0>=f>>>0){break t}g=N(e,20)+h|0;if(I[g+12|0]&32){break t}n=e;e=I[g+18|0];d=e>>>0<32?1<>>0>j>>>0?j:d;d=i;while(1){C:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break C}if(I[(N(d,20)+h|0)+19|0]==14){continue}}break}if(I[q+5|0]){break t}e=N(d,20)+h|0;if(I[e+12|0]&32|I[e+18|0]!=4){break t}e=f+1|0;if(e>>>0>=d>>>0){break t}while(1){d=d-(I[(N(e,20)+h|0)+18|0]==7)|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){kc(c,j,e)}H[k+24>>2]=H[m+16>>2];e=H[m+12>>2];H[k+16>>2]=H[m+8>>2];H[k+20>>2]=e;e=H[m+4>>2];H[k+8>>2]=H[m>>2];H[k+12>>2]=e;Yb(m,N(l,20)+h|0,N(d-j|0,20));e=N(d,20)+h|0;H[e+16>>2]=H[k+24>>2];g=H[k+20>>2];H[e+8>>2]=H[k+16>>2];H[e+12>>2]=g;g=H[k+12>>2];H[e>>2]=H[k+8>>2];H[e+4>>2]=g;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}D:{if(!o){break D}d=f+1|0;if(i>>>0<=d>>>0){break D}e=H[q+88>>2];E:{F:{while(1){G:{g=N(d,20)+h|0;if(e&H[g+4>>2]){if((J[g+12>>1]&96)!=32){break D}e=H[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break G}e=f;if(j>>>0>=e>>>0){break F}while(1){e=f;f=e-1|0;m=N(f,20)+h|0;H:{if(I[m+12|0]&32){break H}m=I[m+18|0];if(m>>>0>31){break H}if(1<>>0>j>>>0){continue}break}e=j;break E}d=d+1|0;if((i|0)!=(d|0)){continue}break D}break}e=f}if(e>>>0<=j>>>0){break E}f=N(e,20)+h|0;if(I[f-8|0]&32|I[f-2|0]!=4|(I[f+12|0]&32|e>>>0>=i>>>0)){break E}f=I[f+18|0];e=(f>>>0<32&(1<>>0>=2){kc(c,e,f)}H[k+24>>2]=H[g+16>>2];f=H[g+12>>2];H[k+16>>2]=H[g+8>>2];H[k+20>>2]=f;f=H[g+4>>2];H[k+8>>2]=H[g>>2];H[k+12>>2]=f;f=N(e,20)+h|0;Yb(f+20|0,f,N(d-e|0,20));H[f+16>>2]=H[k+24>>2];d=H[k+20>>2];H[f+8>>2]=H[k+16>>2];H[f+12>>2]=d;d=H[k+12>>2];H[f>>2]=H[k+8>>2];H[f+4>>2]=d}d=N(j,20)+h|0;I:{if(I[d+19|0]!=2){break I}J:{if(j){f=j-1|0;r=N(f,20);if(1<>1]&8190){break J}}H[d+4>>2]=H[d+4>>2]|H[q+116>>2];break I}d=H[c+68>>2];m=d>>>0>>0?d:l;o=m-f|0;if(o>>>0<2){break I}l=H[c+144>>2]|32;H[c+144>>2]=l;if(f>>>0>=m>>>0){break I}g=H[c+80>>2];h=-1;d=f;if(m-j>>>0>=3){t=o&-4;n=0;while(1){e=g+N(d,20)|0;p=H[e+8>>2];h=h>>>0

>>0?h:p;p=H[e+28>>2];h=h>>>0

>>0?h:p;p=H[e+48>>2];h=h>>>0

>>0?h:p;e=H[e+68>>2];h=e>>>0>h>>>0?h:e;d=d+4|0;n=n+4|0;if((t|0)!=(n|0)){continue}break}}e=0;n=o&3;if(n){while(1){t=H[(g+N(d,20)|0)+8>>2];h=h>>>0>>0?h:t;d=d+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}K:{if(!(o&1)){break K}f=j;d=g+r|0;if(H[d+8>>2]==(h|0)){break K}H[c+144>>2]=l;H[d+4>>2]=H[d+4>>2]|3}if((j|0)==(m|0)){break I}while(1){d=g+N(f,20)|0;if(H[d+8>>2]!=(h|0)){l=l|32;H[c+144>>2]=l;H[d+4>>2]=H[d+4>>2]|3}d=g+N(f+1|0,20)|0;if(H[d+8>>2]!=(h|0)){l=l|32;H[c+144>>2]=l;H[d+4>>2]=H[d+4>>2]|3}f=f+2|0;if((m|0)!=(f|0)){continue}break}}L:{if(!I[q+5|0]){break L}d=H[a+4>>2];if((d|0)==1399418472|(d|0)==1415671148|i-j>>>0<2){break L}kc(c,j,i)}e=H[c+68>>2];d=i+1|0;f=d>>>0>>0?e:d;h=H[c+80>>2];j=I[(h+N(i,20)|0)+15|0];d=i;while(1){M:{d=d+1|0;if(e>>>0<=d>>>0){d=f;break M}if((j|0)==I[(N(d,20)+h|0)+15|0]){continue}}break}j=i;if(i>>>0>>0){continue}break}}Fb(c,b,106008,0)}Wa=k+32|0}function Yp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,L=0,M=0,N=0;l=Wa-336|0;Wa=l;m=i&65535;p=d;q=e&65535;s=(e^i)&-2147483648;k=h;x=i>>>16&32767;y=e>>>16&32767;a:{b:{if(x-32767>>>0>4294934529&y-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){o=d;s=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){o=h;s=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;s=2147450880;break a}s=s|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));o=b?0:o;s=b?2147450880:s;b=0;c=0;break a}if(!(f|h|(e|g))){s=s|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){i=b;d=!(p|q);h=d<<6;j=Q(d?b:p)+32|0;b=Q(d?c:q);b=h+((b|0)==32?j:b)|0;Nc(l+320|0,i,c,p,q,b-15|0);n=16-b|0;p=H[l+328>>2];q=H[l+332>>2];c=H[l+324>>2];b=H[l+320>>2]}if(e>>>0>65535){break b}d=!(k|m);e=d<<6;h=Q(d?f:k)+32|0;d=Q(d?g:m);d=e+((d|0)==32?h:d)|0;Nc(l+304|0,f,g,k,m,d-15|0);n=(d+n|0)-16|0;k=H[l+312>>2];m=H[l+316>>2];f=H[l+304>>2];g=H[l+308>>2]}e=m|65536;z=e;A=k;d=k;k=e<<15|d>>>17;d=d<<15|g>>>17;h=0-d|0;e=k;i=1963258675-(e+((d|0)!=0)|0)|0;Fc(l+288|0,d,e,0,0,h,i,0,0);j=H[l+296>>2];Fc(l+272|0,0-j|0,0-(H[l+300>>2]+((j|0)!=0)|0)|0,0,0,h,i,0,0);h=H[l+280>>2];i=h<<1|H[l+276>>2]>>>31;h=H[l+284>>2]<<1|h>>>31;Fc(l+256|0,i,h,0,0,d,e,0,0);j=h;h=H[l+264>>2];Fc(l+240|0,i,j,0,0,0-h|0,0-(H[l+268>>2]+((h|0)!=0)|0)|0,0,0);h=H[l+248>>2];i=h<<1|H[l+244>>2]>>>31;h=H[l+252>>2]<<1|h>>>31;Fc(l+224|0,i,h,0,0,d,e,0,0);j=h;h=H[l+232>>2];Fc(l+208|0,i,j,0,0,0-h|0,0-(H[l+236>>2]+((h|0)!=0)|0)|0,0,0);h=H[l+216>>2];i=h<<1|H[l+212>>2]>>>31;h=H[l+220>>2]<<1|h>>>31;Fc(l+192|0,i,h,0,0,d,e,0,0);e=h;h=H[l+200>>2];Fc(l+176|0,i,e,0,0,0-h|0,0-(H[l+204>>2]+((h|0)!=0)|0)|0,0,0);i=d;h=H[l+184>>2];d=h<<1|H[l+180>>2]>>>31;e=d-1|0;h=(H[l+188>>2]<<1|h>>>31)-!d|0;Fc(l+160|0,i,k,0,0,e,h,0,0);d=f;j=g<<15|d>>>17;Fc(l+144|0,d<<15,j,0,0,e,h,0,0);k=H[l+172>>2];m=H[l+160>>2];B=H[l+152>>2];d=m+B|0;i=H[l+164>>2];j=i+H[l+156>>2]|0;j=d>>>0>>0?j+1|0:j;m=(i|0)==(j|0)&d>>>0>>0|i>>>0>j>>>0;i=m+H[l+168>>2]|0;k=i>>>0>>0?k+1|0:k;m=!j&d>>>0>1|(j|0)!=0;i=m+i|0;k=i>>>0>>0?k+1|0:k;Fc(l+112|0,e,h,0,0,0-i|0,0-(((i|0)!=0)+k|0)|0,0,0);Fc(l+128|0,1-d|0,0-((d>>>0>1)+j|0)|0,0,0,e,h,0,0);G=(y-x|0)+n|0;e=H[l+116>>2];w=e;d=H[l+112>>2];j=e<<1|d>>>31;m=d<<1;n=j;d=j;h=H[l+140>>2];u=h;e=H[l+136>>2];j=h<<1|e>>>31;i=e<<1|H[l+132>>2]>>>31;h=i+m|0;j=d+j|0;j=h>>>0>>0?j+1|0:j;i=h;e=j;j=j-(h>>>0<13927)|0;r=j;k=q|65536;L=k;B=p;j=p;k=k<<1|j>>>31;p=j<<1|c>>>31;d=0;j=d|k;q=j;v=HM(r,d,j,0);d=Xa;t=d;j=b;d=c<<1|j>>>31;x=j<<1;y=d;h=h-13927|0;j=(e|0)==(r|0)&h>>>0>>0|e>>>0>r>>>0;e=(e|0)==(n|0)&i>>>0>>0|e>>>0>>0;d=H[l+120>>2];k=H[l+124>>2]<<1|d>>>31;i=d<<1;m=j;n=e;e=u>>>31|0;d=e+(w>>>31|i)|0;j=k;j=d>>>0>>0?j+1|0:j;e=d;d=n+d|0;j=d>>>0>>0?j+1|0:j;e=d;d=m+d|0;k=d>>>0>>0?j+1|0:j;e=d;d=d-1|0;C=k-!e|0;D=0;i=HM(y,o,C,D);e=i+v|0;k=Xa+t|0;k=e>>>0>>0?k+1|0:k;m=(k|0)==(t|0)&e>>>0>>0|k>>>0>>0;v=d;i=HM(d,0,p,0);d=i+e|0;j=Xa+k|0;j=d>>>0>>0?j+1|0:j;n=d;i=j;e=(j|0)==(k|0)&d>>>0>>0|j>>>0>>0;d=m+e|0;k=0;k=d>>>0>>0?1:k;e=HM(q,o,C,D);d=e+d|0;j=Xa+k|0;u=d;d=d>>>0>>0?j+1|0:j;m=HM(q,o,v,o);k=Xa;w=HM(C,D,p,o);e=w+m|0;j=Xa+k|0;j=e>>>0>>0?j+1|0:j;w=e;e=j;j=(k|0)==(j|0)&m>>>0>w>>>0|j>>>0>>0;m=u+e|0;d=d+j|0;j=m;m=j>>>0>>0?d+1|0:d;u=j;e=0;d=e+n|0;j=i+w|0;j=d>>>0>>0?j+1|0:j;e=j;k=(j|0)==(i|0)&d>>>0>>0|i>>>0>j>>>0;i=u+k|0;j=m;u=i;i=i>>>0>>0?j+1|0:j;n=d;m=e;w=h;h=HM(h,0,p,o);e=Xa;t=HM(r,o,y,o);d=t+h|0;j=Xa+e|0;j=d>>>0>>0?j+1|0:j;e=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;h=j;E=u;t=e;F=x&-2;k=HM(v,o,F,0);e=k+d|0;j=Xa+j|0;j=e>>>0>>0?j+1|0:j;u=e;k=e;e=j;h=(j|0)==(h|0)&d>>>0>k>>>0|h>>>0>j>>>0;d=t+h|0;k=0;k=d>>>0>>0?1:k;j=d;h=n+d|0;d=k+m|0;d=h>>>0>>0?d+1|0:d;t=h;j=h;h=d;k=(d|0)==(m|0)&j>>>0>>0|d>>>0>>0;d=E+k|0;j=i;M=d;n=d>>>0>>0?j+1|0:j;I=HM(q,o,w,o);E=Xa;i=HM(C,D,F,o);d=i+I|0;j=Xa+E|0;j=d>>>0>>0?j+1|0:j;C=d;k=HM(r,o,p,o);i=d+k|0;m=j;d=j+Xa|0;d=i>>>0>>0?d+1|0:d;J=i;j=HM(y,o,v,o);i=i+j|0;k=Xa+d|0;D=i;k=i>>>0>>0?k+1|0:k;i=k;v=0;N=(d|0)==(k|0)&D>>>0>>0|d>>>0>k>>>0;j=(d|0)==(m|0)&C>>>0>J>>>0|d>>>0>>0;d=j+((m|0)==(E|0)&C>>>0>>0|m>>>0>>0)|0;k=0;d=N+d|0;m=i|0;k=m+t|0;j=(d|v)+h|0;v=k;d=k;j=d>>>0>>0?j+1|0:j;m=j;h=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;d=h+M|0;j=n;E=d;h=d>>>0>>0?j+1|0:j;t=HM(r,o,F,o);r=Xa;k=HM(y,o,w,o);d=k+t|0;j=Xa+r|0;j=d>>>0>>0?j+1|0:j;n=0;k=(j|0)==(r|0)&d>>>0>>0|j>>>0>>0;r=j;d=j+u|0;j=(k|n)+e|0;n=d;j=d>>>0>>0?j+1|0:j;u=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;i=0;e=i+d|0;d=j;k=D+d|0;k=e>>>0>>0?k+1|0:k;e=(d|0)==(k|0)&e>>>0>>0|d>>>0>k>>>0;d=u+e|0;j=0;j=d>>>0>>0?1:j;e=d;d=d+v|0;j=j+m|0;j=d>>>0>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=j+E|0;k=h;h=i;k=h>>>0>>0?k+1|0:k;i=k;c:{if((k|0)==131071|k>>>0<131071){Fc(l+80|0,d,e,h,i,f,g,A,z);j=b<<17;b=0;c=H[l+88>>2];n=b-c|0;k=H[l+80>>2];m=H[l+84>>2];B=(k|m)!=0;r=n-B|0;n=(j-(H[l+92>>2]+(b>>>0>>0)|0)|0)-(n>>>0>>0)|0;b=k;k=0-k|0;m=0-(((b|0)!=0)+m|0)|0;b=G+16382|0;break c}k=h<<31;d=(e&1)<<31|d>>>1;e=e>>>1|k;h=(i&1)<<31|h>>>1;i=i>>>1|0;Fc(l+96|0,d,e,h,i,f,g,A,z);q=0;m=H[l+104>>2];n=q-m|0;k=H[l+96>>2];p=H[l+100>>2];x=(k|p)!=0;r=n-x|0;n=((b<<16)-(H[l+108>>2]+(m>>>0>q>>>0)|0)|0)-(n>>>0>>0)|0;j=k;k=0-j|0;m=0-(((j|0)!=0)+p|0)|0;x=b;y=c;p=B;q=L;b=G+16383|0}if((b|0)>=32767){s=s|2147418112;b=0;c=0;break a}d:{if((b|0)>0){c=r;j=n<<1|c>>>31;r=c<<1|m>>>31;n=j;p=h;q=i&65535|b<<16;j=m<<1|k>>>31;b=k<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Se(l- -64|0,d,e,h,i,1-b|0);Nc(l+48|0,x,y,p,q,b+112|0);d=H[l+64>>2];e=H[l+68>>2];p=H[l+72>>2];q=H[l+76>>2];Fc(l+32|0,f,g,A,z,d,e,p,q);c=H[l+40>>2];i=c<<1;c=H[l+44>>2]<<1|c>>>31;b=H[l+56>>2];h=H[l+36>>2];n=h>>>31|i;i=b-n|0;n=H[l+60>>2]-((b>>>0>>0)+c|0)|0;c=H[l+32>>2];k=h<<1|c>>>31;c=c<<1;j=H[l+52>>2];b=H[l+48>>2];h=(k|0)==(j|0)&c>>>0>b>>>0|j>>>0>>0;r=i-h|0;n=n-(h>>>0>i>>>0)|0;h=b;b=h-c|0;j=j-((c>>>0>h>>>0)+k|0)|0}Fc(l+16|0,f,g,A,z,3,0,0,0);Fc(l,f,g,A,z,5,0,0,0);h=d;m=p;p=d&1;c=b+p|0;d=0;k=j+d|0;k=b>>>0>c>>>0?k+1|0:k;i=c;c=k;g=(k|0)==(g|0)&i>>>0>f>>>0|g>>>0>>0;d=(d|0)==(k|0)&i>>>0

>>0|d>>>0>k>>>0;b=d+r|0;j=n;j=b>>>0>>0?j+1|0:j;f=b;d=b;b=j;g=(d|0)==(A|0)&(j|0)==(z|0)?g:(z|0)==(j|0)&d>>>0>A>>>0|j>>>0>z>>>0;d=h+g|0;k=e;k=d>>>0>>0?k+1|0:k;g=(e|0)==(k|0)&d>>>0>>0|e>>>0>k>>>0;e=m+g|0;j=q;j=e>>>0>>0?j+1|0:j;g=e;e=d;m=g;d=H[l+20>>2];h=(d|0)==(c|0)&K[l+16>>2]>>0|c>>>0>d>>>0;d=H[l+28>>2];g=H[l+24>>2];h=j>>>0<2147418112&((f|0)==(g|0)&(b|0)==(d|0)?h:(d|0)==(b|0)&g>>>0>>0|b>>>0>d>>>0);g=e+h|0;d=k;d=g>>>0>>0?d+1|0:d;h=(d|0)==(k|0)&e>>>0>g>>>0|d>>>0>>0;e=m+h|0;k=e>>>0>>0?j+1|0:j;h=e;e=H[l+4>>2];i=(e|0)==(c|0)&K[l>>2]>>0|c>>>0>e>>>0;c=H[l+12>>2];e=H[l+8>>2];c=k>>>0<2147418112&((e|0)==(f|0)&(b|0)==(c|0)?i:(c|0)==(b|0)&e>>>0>>0|b>>>0>c>>>0);b=c+g|0;j=b>>>0>>0?d+1|0:d;c=j;f=(d|0)==(j|0)&b>>>0>>0|d>>>0>j>>>0;e=h+f|0;d=k;o=e|o;s=s|(e>>>0>>0?d+1|0:d)}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=o;H[a+12>>2]=s;Wa=l+336|0}function _F(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;l=Wa-560|0;Wa=l;H[l+548>>2]=k;H[l+552>>2]=b;H[l+96>>2]=1037;k=l+96|0;q=ic(l+136|0,l+144|0,k);b=H[q>>2];H[l+132>>2]=b;H[l+128>>2]=b+400;r=Ib(k);o=Ib(l+80|0);m=Ib(l- -64|0);n=Ib(l+48|0);p=Ib(l+32|0);H[65057]=0;ta(1049,c|0,d|0,l+120|0,l+116|0,l+112|0,r|0,o|0,m|0,n|0,l+28|0);b=H[65057];H[65057]=0;if((b|0)!=1){a:{H[j>>2]=H[i>>2];t=e&512;u=t>>>9|0;e=0;c=0;while(1){k=c;b:{c:{d:{e:{if((e|0)==4){break e}H[65057]=0;c=ca(1003,a|0,l+552|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(!c){break e}d=0;c=k;f:{g:{h:{i:{j:{switch(F[(l+120|0)+e|0]){case 1:if((e|0)==3){break c}H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[65057]=0;c=ka(1050,h|0,8192,c|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(c){H[65057]=0;ja(1051,l+16|0,a|0,0);b=H[65057];H[65057]=0;if((b|0)!=1){b=H[l+16>>2];H[65057]=0;da(1052,p|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){break i}}break a}H[f>>2]=H[f>>2]|4;a=0;break d;case 3:break h;case 0:break j;case 4:break f;case 2:break g;default:break b}}if((e|0)==3){break c}}while(1){H[65057]=0;c=ca(1003,a|0,l+552|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(!c){break c}H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[65057]=0;c=ka(1050,h|0,8192,c|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(!c){break c}H[65057]=0;ja(1051,l+16|0,a|0,0);b=H[65057];H[65057]=0;if((b|0)!=1){b=H[l+16>>2];H[65057]=0;da(1052,p|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){continue}}break}break a}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}if(I[n+11|0]>>>7|0){c=H[n+4>>2]}else{c=I[n+11|0]}if((b|0)==(0-c|0)){break c}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}if(I[n+11|0]>>>7|0){c=H[n+4>>2]}else{c=I[n+11|0]}if(!(c?b:0)){if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}if(b){H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m>>2]}else{b=m}if((c|0)==H[b>>2]){H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}c=b>>>0>1?m:k;break b}F[g|0]=1;break c}H[65057]=0;b=aa(1005,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}if(I[n+11|0]>>>7|0){c=H[n>>2]}else{c=n}if(H[c>>2]!=(b|0)){break c}H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}F[g|0]=1;if(I[n+11|0]>>>7|0){b=H[n+4>>2]}else{b=I[n+11|0]}c=b>>>0>1?n:k;break b}H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m>>2]}else{b=m}if((c|0)==H[b>>2]){H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}c=b>>>0>1?m:k;break b}H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[n+11|0]>>>7|0){b=H[n>>2]}else{b=n}if((c|0)==H[b>>2]){H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}F[g|0]=1;if(I[n+11|0]>>>7|0){b=H[n+4>>2]}else{b=I[n+11|0]}c=b>>>0>1?n:k;break b}H[f>>2]=H[f>>2]|4;a=0;break d}if(!(e>>>0<2|k)){c=0;if(!((e|0)==2&I[l+123|0]!=0|u)){break b}}v=l,w=dd(o),H[v+8>>2]=w;H[l+16>>2]=H[l+8>>2];k:{if(!e|I[(e+l|0)+119|0]>1){break k}l:{while(1){v=l,w=le(o),H[v+8>>2]=w;if(H[l+16>>2]==H[l+8>>2]){break l}b=H[H[l+16>>2]>>2];H[65057]=0;c=ka(1050,h|0,8192,b|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){if(!c){break l}H[l+16>>2]=H[l+16>>2]+4;continue}break}break a}v=l,w=dd(o),H[v+8>>2]=w;if(I[p+11|0]>>>7|0){c=H[p+4>>2]}else{c=I[p+11|0]}b=H[l+16>>2]-H[l+8>>2]>>2;if(c>>>0>=b>>>0){v=l,w=le(p),H[v+8>>2]=w;d=bp(l+8|0,0-b|0);c=le(p);b=dd(o);H[65057]=0;c=ep(d,c,b);b=H[65057];H[65057]=0;if((b|0)==1){break a}if(c){break k}}v=l,w=dd(o),H[v>>2]=w;H[l+8>>2]=H[l>>2];H[l+16>>2]=H[l+8>>2]}H[l+8>>2]=H[l+16>>2];m:{while(1){v=l,w=le(o),H[v>>2]=w;if(H[l+8>>2]==H[l>>2]){break m}H[65057]=0;c=ca(1003,a|0,l+552|0)|0;b=H[65057];H[65057]=0;n:{if((b|0)==1){break n}if(!c){break m}H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break n}if((c|0)!=H[H[l+8>>2]>>2]){break m}H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[l+8>>2]=H[l+8>>2]+4;continue}break}break a}if(!t){break c}v=l,w=le(o),H[v>>2]=w;if(H[l+8>>2]==H[l>>2]){break c}H[f>>2]=H[f>>2]|4;a=0;break d}o:{while(1){p:{H[65057]=0;c=ca(1003,a|0,l+552|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break p}if(!c){break o}H[65057]=0;s=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[65057]=0;c=ka(1050,h|0,2048,s|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}q:{if(c){b=H[j>>2];if((b|0)==H[l+548>>2]){H[65057]=0;ja(1054,i|0,j|0,l+548|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}b=H[j>>2]}H[j>>2]=b+4;H[b>>2]=s;d=d+1|0;break q}if(I[r+11|0]>>>7|0){b=H[r+4>>2]}else{b=I[r+11|0]}if(!b|!d|(s|0)!=H[l+112>>2]){break o}c=H[l+132>>2];if((c|0)==H[l+128>>2]){H[65057]=0;ja(1044,q|0,l+132|0,l+128|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}c=H[l+132>>2]}H[l+132>>2]=c+4;H[c>>2]=d;d=0}H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){continue}}break}break a}c=H[l+132>>2];if(!(!d|(c|0)==H[q>>2])){if(H[l+128>>2]==(c|0)){H[65057]=0;ja(1044,q|0,l+132|0,l+128|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}c=H[l+132>>2]}H[l+132>>2]=c+4;H[c>>2]=d}r:{if(H[l+28>>2]<=0){break r}H[65057]=0;c=ca(1004,a|0,l+552|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}s:{if(!c){H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if((c|0)==H[l+116>>2]){break s}}H[f>>2]=H[f>>2]|4;a=0;break d}H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}while(1){if(H[l+28>>2]<=0){break r}H[65057]=0;c=ca(1004,a|0,l+552|0)|0;b=H[65057];H[65057]=0;t:{if((b|0)==1){break t}u:{if(!c){H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break t}H[65057]=0;c=ka(1050,h|0,2048,c|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break t}if(c){break u}}H[f>>2]=H[f>>2]|4;a=0;break d}if(H[j>>2]==H[l+548>>2]){H[65057]=0;ja(1054,i|0,j|0,l+548|0);b=H[65057];H[65057]=0;if((b|0)==1){break t}}H[65057]=0;c=aa(1005,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break t}b=H[j>>2];H[j>>2]=b+4;H[b>>2]=c;H[65057]=0;H[l+28>>2]=H[l+28>>2]-1;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){continue}}break}break a}c=k;if(H[i>>2]!=H[j>>2]){break b}H[f>>2]=H[f>>2]|4;a=0;break d}v:{if(!k){break v}c=1;while(1){if(I[k+11|0]>>>7|0){b=H[k+4>>2]}else{b=I[k+11|0]}if(b>>>0<=c>>>0){break v}H[65057]=0;d=ca(1004,a|0,l+552|0)|0;b=H[65057];H[65057]=0;w:{if((b|0)==1){break w}x:{if(!d){H[65057]=0;b=aa(1005,a|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break w}if(I[k+11|0]>>>7|0){d=H[k>>2]}else{d=k}if(H[d+(c<<2)>>2]==(b|0)){break x}}H[f>>2]=H[f>>2]|4;a=0;break d}H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;c=c+1|0;if((b|0)!=1){continue}}break}break a}y:{if(H[q>>2]==H[l+132>>2]){break y}H[l+16>>2]=0;a=H[q>>2];H[65057]=0;zc(r,a,H[l+132>>2],l+16|0);a=H[65057];H[65057]=0;if((a|0)!=1){if(!H[l+16>>2]){break y}H[f>>2]=H[f>>2]|4;a=0;break d}break a}a=1}Sb(p);Sb(n);Sb(m);Sb(o);nb(r);Hb(q);Wa=l+560|0;return a|0}c=k}e=e+1|0;continue}}}a=$()|0;_()|0;Sb(p);Sb(n);Sb(m);Sb(o);nb(r);Hb(q);ba(a|0);X()}function An(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=Wa-48|0;Wa=k;d=ob(b,c+d|0);a:{if(d){break a}d=Nb(b,e);if(d){break a}b:{c:{if(!e){H[k+44>>2]=0;break c}g=H[b+32>>2];j=g+e|0;if(F[g|0]<0){l=H[a+16>>2];o=H[a+28>>2];H[k>>2]=0;d=8;if((e|0)<=0){break b}m=I[g|0];if(!(m&128)){break b}f=g+1|0;i=H[o>>2];d:{if(!(m&64)){e=f;break d}if(e>>>0<2){break b}e=g+2|0;h=I[f|0];if(!h){break d}while(1){f=e+2|0;if(f>>>0>j>>>0){break b}e=f+I[e|0]|0;if(j>>>0>>0){break b}h=h-1|0;if(h){continue}break}}p=m&63;f=p+l|0;h=H[a+20>>2];e:{if(f>>>0<=h>>>0){h=H[a+24>>2];break e}f=f+3&-4;if(f>>>0>64){break b}h=jb(i,24,h,f,H[a+24>>2],k);H[a+24>>2]=h;d=H[k>>2];if(d){break b}H[a+20>>2]=f}if(p){h=N(l,24)+h|0;d=8;while(1){f=e+1|0;if(j>>>0>>0){break b}i=I[e|0];H[h>>2]=65536;if(i&16){f=e+3|0;if(j>>>0>>0){break b}e=I[e+1|0]|I[e+2|0]<<8;H[h>>2]=(e<<8|e>>>8)<<16>>16<<4}H[h+4>>2]=65536;f:{if(!(i&32)){e=f;break f}e=f+2|0;if(j>>>0>>0){break b}f=I[f|0]|I[f+1|0]<<8;H[h+4>>2]=(f<<8|f>>>8)<<16>>16<<4}m=0;f=0;g:{h:{switch((i&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=I[e|0]|I[e+1|0]<<8;f=(e<<8|e>>>8)<<16>>16;e=g;break g;case 1:break h;default:break g}}g=e+1|0;if(g>>>0>j>>>0){break b}f=F[e|0];e=g}i:{j:{switch((i>>>2&3)-1|0){case 0:g=e+2|0;if(g>>>0>j>>>0){break b}e=I[e|0]|I[e+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=g;break i;case 1:break j;default:break i}}g=e+1|0;if(g>>>0>j>>>0){break b}m=F[e|0];e=g}H[h+12>>2]=m;H[h+8>>2]=f;k:{if(i&64){f=e+2|0;if(j>>>0>>0){break b}e=I[e+1|0]|I[e|0]<<8;break k}f=e+1|0;if(j>>>0>>0){break b}e=I[e|0]}H[h+20>>2]=e;l:{if(i&128){e=f+3|0;if(j>>>0>>0){break b}m=2;g=I[f+1|0]<<8|I[f|0]<<16;break l}e=f+2|0;if(j>>>0>>0){break b}m=1;g=I[f|0]<<8}H[h+16>>2]=g|I[f+m|0];H[a+16>>2]=H[a+16>>2]+1;h=h+24|0;q=q+1|0;if((p|0)!=(q|0)){continue}break}}Db(b);d=0;e=H[a+16>>2];if((e|0)==(l|0)){break a}j=e-l|0;m=0;while(1){h=G[o+22>>1];f=N(m,24);e=N(l,24);d=f+(e+H[a+24>>2]|0)|0;d=An(a,b,c,H[d+16>>2],H[d+20>>2]);if(d){break a}i=G[o+22>>1];g=i-h|0;e=f+(e+H[a+24>>2]|0)|0;f=H[e>>2];m:{if(!((f|0)==65536&H[e+4>>2]==65536)){if((g|0)<=0){break m}d=H[o+24>>2]+(h<<3)|0;h=0;while(1){u=d,v=ib(H[d>>2],f)+H[e+8>>2]|0,H[u>>2]=v;u=d,v=ib(H[d+4>>2],H[e+4>>2])+H[e+12>>2]|0,H[u+4>>2]=v;h=h+1|0;if((g|0)==(h|0)){break m}d=d+8|0;f=H[e>>2];continue}}if((g|0)<=0){break m}d=H[o+24>>2]+(h<<3)|0;f=H[e+12>>2];e=H[e+8>>2];if(i+(h^-1)>>>0>=3){i=g&-4;h=0;while(1){H[d>>2]=e+H[d>>2];H[d+4>>2]=f+H[d+4>>2];H[d+8>>2]=e+H[d+8>>2];H[d+16>>2]=e+H[d+16>>2];H[d+24>>2]=e+H[d+24>>2];H[d+12>>2]=f+H[d+12>>2];H[d+20>>2]=f+H[d+20>>2];H[d+28>>2]=f+H[d+28>>2];d=d+32|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}h=0;g=g&3;if(!g){break m}while(1){H[d>>2]=e+H[d>>2];H[d+4>>2]=f+H[d+4>>2];d=d+8|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}d=0;m=m+1|0;if((j|0)!=(m|0)){continue}break}break a}H[k+44>>2]=0;d=8;if((e|0)<=0){break b}l=I[g|0];if(l&128){break b}i=H[H[a+28>>2]>>2];n:{if(l&4){if(e>>>0<2){break b}f=g+2|0;c=I[g+1|0];q=c>>>4|0;m=c&15;break n}if(l&2){if(e>>>0<2){break b}m=I[g+1|0];c=g+2|0}else{c=g+1|0}if(!(l&1)){f=c;break n}f=c+1|0;if(j>>>0>>0){break b}q=I[c|0]}g=m+q|0;c=H[a+4>>2];o:{p:{if(g>>>0>c>>>0){d=c;c=g+7&1016;i=jb(i,4,d,c,H[a+8>>2],k+44|0);H[a+8>>2]=i;d=H[k+44>>2];if(d){break b}o=a+8|0;H[a+4>>2]=c;H[a+12>>2]=(m<<2)+i;p=a+12|0;break p}i=H[a+8>>2];H[a+12>>2]=i+(m<<2);p=a+12|0;o=a+8|0;if(!g){break o}}c=0;d=0;while(1){q:{if(d&7){e=f;break q}e=f+1|0;if(j>>>0>>0){break c}c=I[f|0]}n=(d<<2)+i|0;r:{if(c&1){f=e+2|0;if(j>>>0>>0){break c}e=I[e|0]|I[e+1|0]<<8;h=(e<<8|e>>>8)<<16>>16;break r}f=e+1|0;if(j>>>0>>0){break c}h=I[e|0]+h|0}H[n>>2]=h;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;s:{if(!(l&8)){c=f;break s}c=f+1|0;if(j>>>0>>0){break b}e=I[f|0];if(e){while(1){f=c+2|0;if(f>>>0>j>>>0){break b}c=f+I[c|0]|0;if(j>>>0>>0){break b}e=e-1|0;if(e){continue}break}}H[k+44>>2]=0}F[a+32|0]=0;H[k+24>>2]=0;H[k+28>>2]=0;H[k>>2]=0;H[k+4>>2]=0;r=k+16|0;s=k|8;f=0;h=0;while(1){g=c+1|0;if(g>>>0>j>>>0){break c}c=I[c|0];e=c&15;i=1;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{n=c>>>4|0;switch(n|0){case 0:break w;case 1:case 4:case 5:break x;case 7:break z;case 6:break A;case 3:break C;case 2:break D;default:break y}}if(e>>>0>=m>>>0){break c}H[k>>2]=H[H[o>>2]+(e<<2)>>2];break B}if(e>>>0>=q>>>0){break c}H[k>>2]=h;f=H[H[p>>2]+(e<<2)>>2]}H[k+4>>2]=f;c=H[k+4>>2];h=H[k>>2];H[k+24>>2]=h;H[k+28>>2]=c;f=c;c=g;break v}e=2958;i=3;break x}e=3627;i=3;break x}i=4}l=0;d=k;c=g;while(1){E:{F:{switch(e&3){case 0:g=c+1|0;if(g>>>0>j>>>0){break c}c=I[c|0];if(c>>>0>=m>>>0){break c}h=H[H[o>>2]+(c<<2)>>2];c=g;break E;case 1:g=c+2|0;if(g>>>0>j>>>0){break c}c=I[c|0]|I[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16;c=g;break E;case 2:break F;default:break E}}g=c+1|0;if(g>>>0>j>>>0){break c}h=F[c|0]+h|0;c=g}H[d>>2]=h;G:{H:{switch(e>>>2&3){case 0:h=c+1|0;if(h>>>0>j>>>0){break c}c=I[c|0];if(c>>>0>=q>>>0){break c}f=H[H[p>>2]+(c<<2)>>2];c=h;break G;case 1:h=c+2|0;if(h>>>0>j>>>0){break c}c=I[c|0]|I[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=h;break G;case 2:break H;default:break G}}h=c+1|0;if(h>>>0>j>>>0){break c}f=F[c|0]+f|0;c=h}H[d+4>>2]=f;I:{if(!((i|0)!=4|l)){f=c+1|0;if(f>>>0>j>>>0){break c}e=I[c|0];i=3;c=f;break I}e=e>>>4|0}f=H[d+4>>2];h=H[d>>2];H[k+24>>2]=h;H[k+28>>2]=f;d=d+8|0;l=l+1|0;if(l>>>0>>0){continue}break}J:{switch(n|0){case 4:case 5:e=H[a+28>>2];K:{if(!I[a+32|0]){break K}i=G[e+58>>1];d=i-1|0;g=J[e+56>>1];l=g<<16>>16;if((l|0)<=0){g=0}else{g=G[(H[e+68>>2]+(g<<1)|0)-2>>1]}L:{if((d|0)<=(g|0)){break L}n=H[e+60>>2];t=n+(g<<3)|0;n=n+(d<<3)|0;if(H[t>>2]!=H[n>>2]|H[t+4>>2]!=H[n+4>>2]){break L}G[e+58>>1]=i-1;d=i-2|0}if((d|0)<(g|0)){break K}G[e+56>>1]=l+1;G[H[e+68>>2]+(l<<1)>>1]=d}F[a+32|0]=1;i=H[e+4>>2];d=G[e+58>>1];l=(d+G[e+22>>1]|0)+1|0;if(!(i>>>0>=l>>>0&K[e+8>>2]>=(G[e+20>>1]+G[e+56>>1]|0)+1>>>0)){d=vc(e,1,1);if(d){break t}if(!I[a+32|0]){d=8;break t}e=H[a+28>>2];d=G[e+58>>1];l=(d+G[e+22>>1]|0)+1|0;i=H[e+4>>2]}if(i>>>0>>0){d=vc(e,1,0);if(d){break t}d=G[e+58>>1]}break u;case 1:case 2:case 3:break v;case 0:break w;default:break J}}if(I[a+32|0]){d=H[a+28>>2];e=G[d+58>>1];M:{if(K[d+4>>2]<(G[d+22>>1]+e|0)+3>>>0){e=vc(d,3,0);if(e){break M}e=G[d+58>>1]}i=H[d- -64>>2];l=H[k+4>>2];g=H[d+60>>2]+(e<<3)|0;H[g>>2]=H[k>>2];H[g+4>>2]=l;l=H[s+4>>2];H[g+8>>2]=H[s>>2];H[g+12>>2]=l;l=H[r+4>>2];H[g+16>>2]=H[r>>2];H[g+20>>2]=l;e=e+i|0;F[e+2|0]=1;F[e|0]=2;F[e+1|0]=2;G[d+58>>1]=J[d+58>>1]+3;e=0}d=e}else{d=8}break t}e=H[a+28>>2];if(I[a+32|0]){f=G[e+58>>1];d=f-1|0;c=J[e+56>>1];h=c<<16>>16;if((h|0)<=0){c=0}else{c=G[(H[e+68>>2]+(c<<1)|0)-2>>1]}N:{if((d|0)<=(c|0)){break N}g=H[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(H[j>>2]!=H[g>>2]|H[j+4>>2]!=H[g+4>>2]){break N}G[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){G[e+56>>1]=h+1;G[H[e+68>>2]+(h<<1)>>1]=d}F[a+32|0]=0}Zf(e);d=H[k+44>>2];break b}if(!I[a+32|0]){d=8;break t}e=H[a+28>>2];d=G[e+58>>1];if(K[e+4>>2]<(d+G[e+22>>1]|0)+1>>>0){d=vc(e,1,0);if(d){break t}d=G[e+58>>1]}}i=H[k+4>>2];g=H[e+60>>2]+(d<<3)|0;H[g>>2]=H[k>>2];H[g+4>>2]=i;F[d+H[e- -64>>2]|0]=1;G[e+58>>1]=J[e+58>>1]+1;d=0}H[k+44>>2]=d;if(!d){continue}break}break b}d=8}Db(b)}Wa=k+48|0;return d}function fG(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;l=Wa-560|0;Wa=l;H[l+548>>2]=k;H[l+552>>2]=b;H[l+104>>2]=1037;b=l+104|0;q=ic(l+136|0,l+144|0,b);k=H[q>>2];H[l+132>>2]=k;H[l+128>>2]=k+400;r=Ib(b);o=Ib(l+88|0);m=Ib(l+72|0);n=Ib(l+56|0);p=Ib(l+40|0);H[65057]=0;ta(1040,c|0,d|0,l+120|0,l+119|0,l+118|0,r|0,o|0,m|0,n|0,l+36|0);b=H[65057];H[65057]=0;if((b|0)!=1){a:{H[j>>2]=H[i>>2];s=e&512;t=s>>>9|0;k=0;c=0;while(1){e=c;b:{c:{d:{e:{if((k|0)==4){break e}H[65057]=0;b=ca(973,a|0,l+552|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}if(!b){break e}d=0;c=e;f:{g:{h:{i:{j:{switch(F[(l+120|0)+k|0]){case 1:if((k|0)==3){break c}H[65057]=0;b=aa(975,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}if((b|0)>=0?J[H[h+8>>2]+((b&255)<<1)>>1]&8192:0){H[65057]=0;ja(1041,l+24|0,a|0,0);b=H[65057];H[65057]=0;if((b|0)!=1){b=F[l+24|0];H[65057]=0;da(905,p|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){break i}}break a}H[f>>2]=H[f>>2]|4;a=0;break d;case 3:break h;case 0:break j;case 4:break f;case 2:break g;default:break b}}if((k|0)==3){break c}}while(1){H[65057]=0;b=ca(973,a|0,l+552|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}if(!b){break c}H[65057]=0;b=aa(975,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}if(!((J[H[h+8>>2]+((b&255)<<1)>>1]&8192)!=0&(b|0)>=0)){break c}H[65057]=0;ja(1041,l+24|0,a|0,0);b=H[65057];H[65057]=0;if((b|0)!=1){b=F[l+24|0];H[65057]=0;da(905,p|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){continue}}break}break a}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}if(I[n+11|0]>>>7|0){c=H[n+4>>2]}else{c=I[n+11|0]}if((b|0)==(0-c|0)){break c}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}if(I[n+11|0]>>>7|0){c=H[n+4>>2]}else{c=I[n+11|0]}if(!(c?b:0)){if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}if(b){H[65057]=0;c=aa(975,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m>>2]}else{b=m}if(I[b|0]==(c&255)){H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}c=b>>>0>1?m:e;break b}F[g|0]=1;break c}H[65057]=0;c=aa(975,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[n+11|0]>>>7|0){b=H[n>>2]}else{b=n}if(I[b|0]!=(c&255)){break c}H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}F[g|0]=1;if(I[n+11|0]>>>7|0){b=H[n+4>>2]}else{b=I[n+11|0]}c=b>>>0>1?n:e;break b}H[65057]=0;c=aa(975,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m>>2]}else{b=m}if(I[b|0]==(c&255)){H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[m+11|0]>>>7|0){b=H[m+4>>2]}else{b=I[m+11|0]}c=b>>>0>1?m:e;break b}H[65057]=0;c=aa(975,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}if(I[n+11|0]>>>7|0){b=H[n>>2]}else{b=n}if(I[b|0]==(c&255)){H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}F[g|0]=1;if(I[n+11|0]>>>7|0){b=H[n+4>>2]}else{b=I[n+11|0]}c=b>>>0>1?n:e;break b}H[f>>2]=H[f>>2]|4;a=0;break d}if(!(k>>>0<2|e)){c=0;if(!((k|0)==2&I[l+123|0]!=0|t)){break b}}u=l,v=dd(o),H[u+16>>2]=v;H[l+24>>2]=H[l+16>>2];k:{if(!k|I[(k+l|0)+119|0]>1){break k}while(1){l:{u=l,v=oe(o),H[u+16>>2]=v;if(H[l+24>>2]==H[l+16>>2]){break l}b=F[H[l+24>>2]];if((b|0)>=0){b=(J[H[h+8>>2]+((b&255)<<1)>>1]&8192)!=0}else{b=0}if(!b){break l}H[l+24>>2]=H[l+24>>2]+1;continue}break}u=l,v=dd(o),H[u+16>>2]=v;if(I[p+11|0]>>>7|0){c=H[p+4>>2]}else{c=I[p+11|0]}b=H[l+24>>2]-H[l+16>>2]|0;if(c>>>0>=b>>>0){u=l,v=oe(p),H[u+16>>2]=v;b=gp(l+16|0,0-b|0);c=oe(p);d=dd(o);H[65057]=0;b=lp(b,c,d);c=H[65057];H[65057]=0;if((c|0)==1){break a}if(b){break k}}u=l,v=dd(o),H[u+8>>2]=v;H[l+16>>2]=H[l+8>>2];H[l+24>>2]=H[l+16>>2]}H[l+16>>2]=H[l+24>>2];m:{while(1){u=l,v=oe(o),H[u+8>>2]=v;if(H[l+16>>2]==H[l+8>>2]){break m}H[65057]=0;b=ca(973,a|0,l+552|0)|0;c=H[65057];H[65057]=0;n:{if((c|0)==1){break n}if(!b){break m}H[65057]=0;b=aa(975,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break n}if(I[H[l+16>>2]]!=(b&255)){break m}H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[l+16>>2]=H[l+16>>2]+1;continue}break}break a}if(!s){break c}u=l,v=oe(o),H[u+8>>2]=v;if(H[l+16>>2]==H[l+8>>2]){break c}H[f>>2]=H[f>>2]|4;a=0;break d}o:{while(1){p:{H[65057]=0;b=ca(973,a|0,l+552|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break p}if(!b){break o}H[65057]=0;c=aa(975,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}q:{if((c|0)>=0?J[H[h+8>>2]+((c&255)<<1)>>1]&2048:0){b=H[j>>2];if((b|0)==H[l+548>>2]){H[65057]=0;ja(1043,i|0,j|0,l+548|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}b=H[j>>2]}H[j>>2]=b+1;F[b|0]=c;d=d+1|0;break q}if(I[r+11|0]>>>7|0){b=H[r+4>>2]}else{b=I[r+11|0]}if(!b|!d|I[l+118|0]!=(c&255)){break o}c=H[l+132>>2];if((c|0)==H[l+128>>2]){H[65057]=0;ja(1044,q|0,l+132|0,l+128|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}c=H[l+132>>2]}H[l+132>>2]=c+4;H[c>>2]=d;d=0}H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){continue}}break}break a}c=H[l+132>>2];if(!(!d|(c|0)==H[q>>2])){if(H[l+128>>2]==(c|0)){H[65057]=0;ja(1044,q|0,l+132|0,l+128|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}c=H[l+132>>2]}H[l+132>>2]=c+4;H[c>>2]=d}r:{if(H[l+36>>2]<=0){break r}H[65057]=0;b=ca(974,a|0,l+552|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}s:{if(!b){H[65057]=0;b=aa(975,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}if(I[l+119|0]==(b&255)){break s}}H[f>>2]=H[f>>2]|4;a=0;break d}H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}while(1){if(H[l+36>>2]<=0){break r}H[65057]=0;b=ca(974,a|0,l+552|0)|0;c=H[65057];H[65057]=0;t:{if((c|0)==1){break t}u:{if(!b){H[65057]=0;b=aa(975,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break t}if((b|0)>=0?J[H[h+8>>2]+((b&255)<<1)>>1]&2048:0){break u}}H[f>>2]=H[f>>2]|4;a=0;break d}if(H[j>>2]==H[l+548>>2]){H[65057]=0;ja(1043,i|0,j|0,l+548|0);b=H[65057];H[65057]=0;if((b|0)==1){break t}}H[65057]=0;b=aa(975,a|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break t}c=H[j>>2];H[j>>2]=c+1;F[c|0]=b;H[65057]=0;H[l+36>>2]=H[l+36>>2]-1;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){continue}}break}break a}c=e;if(H[i>>2]!=H[j>>2]){break b}H[f>>2]=H[f>>2]|4;a=0;break d}v:{if(!e){break v}c=1;while(1){if(I[e+11|0]>>>7|0){b=H[e+4>>2]}else{b=I[e+11|0]}if(b>>>0<=c>>>0){break v}H[65057]=0;b=ca(974,a|0,l+552|0)|0;d=H[65057];H[65057]=0;w:{if((d|0)==1){break w}x:{if(!b){H[65057]=0;d=aa(975,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break w}if(I[e+11|0]>>>7|0){b=H[e>>2]}else{b=e}if(I[b+c|0]==(d&255)){break x}}H[f>>2]=H[f>>2]|4;a=0;break d}H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;c=c+1|0;if((b|0)!=1){continue}}break}break a}y:{if(H[q>>2]==H[l+132>>2]){break y}H[l+24>>2]=0;a=H[q>>2];H[65057]=0;zc(r,a,H[l+132>>2],l+24|0);a=H[65057];H[65057]=0;if((a|0)!=1){if(!H[l+24>>2]){break y}H[f>>2]=H[f>>2]|4;a=0;break d}break a}a=1}nb(p);nb(n);nb(m);nb(o);nb(r);Hb(q);Wa=l+560|0;return a|0}c=e}k=k+1|0;continue}}}a=$()|0;_()|0;nb(p);nb(n);nb(m);nb(o);nb(r);Hb(q);ba(a|0);X()}function dJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=Wa-176|0;Wa=f;p=a+16|0;q=a+12|0;l=H[60540];n=1;while(1){a:{b:{h=Ab(1,126508);if(h){Rq(h,239535,0);e=tb(48);if(e){g=(f+168|0)+(i<<2)|0;H[g>>2]=e;H[e+12>>2]=1;b=tb(24);if(b){H[e+40>>2]=b;H[b+20>>2]=0;H[b+12>>2]=-1;H[b+16>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=0;H[e+44>>2]=0;b=e+16|0;c:{if(n){F[b|0]=0;F[b+1|0]=0;F[b+2|0]=0;F[b+3|0]=0;F[b+4|0]=0;F[b+5|0]=0;F[b+6|0]=0;F[b+7|0]=0;F[b+16|0]=0;F[b+17|0]=0;F[b+18|0]=0;F[b+19|0]=0;F[b+8|0]=0;F[b+9|0]=0;F[b+10|0]=0;F[b+11|0]=0;F[b+12|0]=0;F[b+13|0]=0;F[b+14|0]=0;F[b+15|0]=0;e=f- -64|0;b=H[H[H[a>>2]-12>>2]+q>>2];k=(b|0)<=0?2147483646:b;d=0;i=Wa-16|0;Wa=i;xj(i+8|0,a,0);d:{e:{f:{if(I[i+8|0]){b=H[H[a>>2]-12>>2];H[65057]=0;b=H[(a+b|0)+28>>2];H[i>>2]=b;H[b+4>>2]=H[b+4>>2]+1;b=H[65057];H[65057]=0;g:{h:{i:{if((b|0)!=1){H[65057]=0;m=ca(873,i|0,260512)|0;b=H[65057];H[65057]=0;if((b|0)==1){break i}b=H[i>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}b=e;c=k-1|0;j:{if(!c){break j}c=c+e|0;k=a+24|0;while(1){d=H[k+H[H[a>>2]-12>>2]>>2];j=H[d+12>>2];k:{if((j|0)==H[d+16>>2]){j=H[H[d>>2]+36>>2];H[65057]=0;d=aa(j|0,d|0)|0;j=H[65057];H[65057]=0;if((j|0)!=1){if((d|0)!=-1){break k}d=2;break j}d=ea(0)|0;_()|0;break h}d=I[j|0]}if(!(!(I[(H[m+8>>2]+((d&255)<<1)|0)+1|0]&32)|d<<24>>24<0)){d=0;break j}F[b|0]=d;d=H[k+H[H[a>>2]-12>>2]>>2];j=H[d+12>>2];l:{if((j|0)==H[d+16>>2]){j=H[H[d>>2]+40>>2];H[65057]=0;aa(j|0,d|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){break l}d=ea(0)|0;_()|0;break h}H[d+12>>2]=j+1}b=b+1|0;if((c|0)!=(b|0)){continue}break}d=0;b=c}F[b|0]=0;c=H[a>>2];H[(H[c-12>>2]+a|0)+12>>2]=0;d=(b|0)==(e|0)?d|4:d;break g}d=ea(0)|0;_()|0;break h}d=ea(0)|0;_()|0;b=H[i>>2];e=H[b+4>>2]-1|0;H[b+4>>2]=e;if((e|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}}oa(d|0)|0;d=1;b=H[a>>2]-12|0;e=H[b>>2]+a|0;H[e+16>>2]=H[e+16>>2]|1;if(F[(H[b>>2]+a|0)+20|0]&1){H[65057]=0;ia(874);a=H[65057];H[65057]=0;if((a|0)!=1){break e}a=$()|0;_()|0;H[65057]=0;ia(875);b=H[65057];H[65057]=0;if((b|0)==1){break f}ba(a|0);X()}pa();c=H[a>>2]}b=H[c-12>>2]+a|0;aq(b,H[b+16>>2]|d)}Wa=i+16|0;break d}ea(0)|0;_()|0;Gb()}X()}b=H[g>>2];m:{if(!(I[(a+H[H[a>>2]-12>>2]|0)+16|0]&5)){n:{switch(I[b+16|0]-10|0){case 0:case 3:F[b+16|0]=0;b=H[g>>2];break;default:break n}}o:{switch(I[b+17|0]-10|0){case 0:case 3:F[b+17|0]=0;b=H[g>>2];break;default:break o}}p:{switch(I[b+18|0]-10|0){case 0:case 3:F[b+18|0]=0;b=H[g>>2];break;default:break p}}q:{switch(I[b+19|0]-10|0){case 0:case 3:F[b+19|0]=0;b=H[g>>2];break;default:break q}}r:{switch(I[b+20|0]-10|0){case 0:case 3:F[b+20|0]=0;b=H[g>>2];break;default:break r}}s:{switch(I[b+21|0]-10|0){case 0:case 3:F[b+21|0]=0;b=H[g>>2];break;default:break s}}t:{switch(I[b+22|0]-10|0){case 0:case 3:F[b+22|0]=0;b=H[g>>2];break;default:break t}}u:{switch(I[b+23|0]-10|0){case 0:case 3:F[b+23|0]=0;b=H[g>>2];break;default:break u}}v:{switch(I[b+24|0]-10|0){case 0:case 3:F[b+24|0]=0;b=H[g>>2];break;default:break v}}w:{switch(I[b+25|0]-10|0){case 0:case 3:F[b+25|0]=0;b=H[g>>2];break;default:break w}}x:{switch(I[b+26|0]-10|0){case 0:case 3:F[b+26|0]=0;b=H[g>>2];break;default:break x}}y:{switch(I[b+27|0]-10|0){case 0:case 3:F[b+27|0]=0;b=H[g>>2];break;default:break y}}z:{switch(I[b+28|0]-10|0){case 0:case 3:F[b+28|0]=0;b=H[g>>2];break;default:break z}}A:{switch(I[b+29|0]-10|0){case 0:case 3:F[b+29|0]=0;b=H[g>>2];break;default:break A}}B:{switch(I[b+30|0]-10|0){case 0:case 3:F[b+30|0]=0;b=H[g>>2];break;default:break B}}C:{switch(I[b+31|0]-10|0){case 0:case 3:F[b+31|0]=0;b=H[g>>2];break;default:break C}}D:{switch(I[b+32|0]-10|0){case 0:case 3:F[b+32|0]=0;b=H[g>>2];break;default:break D}}E:{switch(I[b+33|0]-10|0){case 0:case 3:F[b+33|0]=0;b=H[g>>2];break;default:break E}}F:{switch(I[b+34|0]-10|0){case 0:case 3:F[b+34|0]=0;b=H[g>>2];break;default:break F}}G:{switch(I[b+35|0]-10|0){case 0:case 3:break G;default:break m}}F[b+35|0]=0;break m}F[b+16|0]=0}b=H[g>>2];r=b,s=!rb(b+16|0,239316),H[r+36>>2]=s;break c}c=b;b=H[f+168>>2];Ue(c,b+16|0,19);F[e+35|0]=0;H[e+36>>2]=H[b+36>>2];if(!o){break b}}b=oq(a,f- -64|0);if(I[(H[H[b>>2]-12>>2]+b|0)+16|0]&5){break a}while(1){if(wb(f- -64|0)>>>0<=99){b=f- -64|0;b=wb(b)+b|0;F[b|0]=10;F[b+1|0]=0}H:{I:{if(I[H[H[a>>2]-12>>2]+p|0]&2){break I}if(Ac(f- -64|0,10)){break I}while(1){J:{e=Wa-16|0;Wa=e;H[a+4>>2]=0;xj(e+8|0,a,1);K:{L:{M:{N:{if(!I[e+8|0]){b=-1;break N}b=H[H[a>>2]-12>>2];H[65057]=0;b=H[(a+b|0)+24>>2];c=H[65057];H[65057]=0;O:{P:{if((c|0)==1){break P}H[65057]=0;b=aa(898,b|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break P}c=6;if((b|0)==-1){break O}H[a+4>>2]=1;c=0;break O}b=ea(0)|0;_()|0;oa(b|0)|0;b=H[H[a>>2]-12>>2];H[65057]=0;b=a+b|0;c=H[b+16>>2];d=H[65057];H[65057]=0;Q:{R:{if((d|0)==1){break R}H[b+16>>2]=!H[b+24>>2]|(H[b+16>>2]|(c|1));b=H[H[a>>2]-12>>2];H[65057]=0;b=H[(a+b|0)+20>>2];c=H[65057];H[65057]=0;if((c|0)==1){break R}if(!(b&1)){break Q}H[65057]=0;ia(874);a=H[65057];H[65057]=0;if((a|0)!=1){break L}}a=$()|0;_()|0;H[65057]=0;ia(875);b=H[65057];H[65057]=0;if((b|0)==1){break M}ba(a|0);X()}pa();b=-1;c=0}$f(H[H[a>>2]-12>>2]+a|0,c)}Wa=e+16|0;break K}ea(0)|0;_()|0;Gb()}X()}switch(b+1|0){case 0:case 11:break J;default:continue}}break}if(I[f+64|0]==37){break H}H[f+48>>2]=100;xc(l,239478,f+48|0);break H}if(!Bc(f- -64|0,239282,9)){o=1;break a}if(I[f+64|0]==37){break H}wf(f- -64|0,H[g>>2],h)}b=oq(a,f- -64|0);if(!(I[(H[H[b>>2]-12>>2]+b|0)+16|0]&5)){continue}break}break a}H[f+32>>2]=24;xc(l,239364,f+32|0);qa(1);X()}H[f+16>>2]=48;xc(l,239364,f+16|0);qa(1);X()}H[f>>2]=126508;xc(l,239364,f);qa(1);X()}wf(H[H[f+168>>2]+36>>2]?239442:239464,e,h);b=f- -64|0;mb(b,242016,99);o=0;F[f+163|0]=0;wf(b,H[g>>2],h);wf(239437,H[g>>2],h);if(!H[H[f+168>>2]+36>>2]){break a}wf(239430,H[g>>2],h);wf(239423,H[g>>2],h)}b=0;e=0;while(1){d=H[(e<<2)+h>>2];if(d){while(1){k=1;S:{j=H[d+4>>2];if(!I[j|0]){break S}while(1){c=0;m=j+k|0;b=m;i=I[b|0];if(i){while(1){c=(c<<4)+(i<<24>>24)|0;i=c&-268435456;c=i?i>>>24^c&268435455:c;i=I[b+1|0];b=b+1|0;if(i){continue}break}b=(c>>>0)%31627|0}else{b=0}b=H[(b<<2)+h>>2];T:{if(!b){break T}while(1){if(rb(m,H[b+4>>2])){b=H[b>>2];if(b){continue}break T}break}b=H[b+8>>2];if((b|0)>=0){break S}}k=k+1|0;continue}}c=H[d+8>>2];if(c){H[(H[H[g>>2]+40>>2]+N(c,24)|0)+12>>2]=b}d=H[d>>2];if(d){continue}break}}e=e+1|0;if((e|0)!=31627){continue}break}c=0;while(1){b=H[(c<<2)+h>>2];if(b){while(1){e=H[b>>2];hb(H[b+4>>2]);hb(b);b=e;if(b){continue}break}}c=c+1|0;if((c|0)!=31627){continue}break}hb(h);i=1;b=n;n=0;if(b){continue}break}U:{if(o){b=H[f+168>>2];H[b+44>>2]=H[f+172>>2];break U}b=H[f+172>>2];h=H[f+168>>2];H[b+44>>2]=h;F[b|0]=I[h|0];F[b+1|0]=I[h+1|0];a=I[h+2|0];if(!a){a=I[h|0];a=a?a:3}F[b+2|0]=a;a=I[h+3|0];if(!a){a=I[h+1|0];a=a?a:3}F[b+3|0]=a}Wa=f+176|0;return b|0}function Rf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Wa-80|0;Wa=g;o=H[a>>2];a:{if(f){break a}i=H[a+4>>2];if(I[i+12|0]){break a}h=H[d>>2];H[g+68>>2]=0;H[g+72>>2]=0;H[g+60>>2]=0;H[g+64>>2]=0;H[g+52>>2]=0;H[g+56>>2]=0;H[g+48>>2]=h;Rf(i,b,c,g+48|0,e,1)}b:{c:{d:{if(I[d+4|0]){break d}i=H[c+20>>2]+H[b+20>>2]|0;e:{if(i>>>0>=97){b=H[d>>2];if(!b|H[b>>2]){break e}H[b>>2]=18;break e}H[d+8>>2]=i;G[d+4>>1]=257;H[d+12>>2]=i+7>>>3;if(!i){break d}c=0;i=-1<<(0-i&7);while(1){F[(c+d|0)+16|0]=255;c=c+1|0;h=H[d+12>>2];if(c>>>0>>0){continue}break}c=d+h|0;F[c+15|0]=i&I[c+15|0];if(I[d+4|0]){break d}}if(!I[o+8|0]){break b}H[H[d>>2]>>2]=0;a=a+13|0;break c}H[a+20>>2]=0;H[a+24>>2]=0;H[g+72>>2]=H[d+24>>2];i=H[d+20>>2];s=g- -64|0;c=s;H[c>>2]=H[d+16>>2];H[c+4>>2]=i;c=H[d+12>>2];H[g+56>>2]=H[d+8>>2];H[g+60>>2]=c;c=H[d+4>>2];H[g+48>>2]=H[d>>2];H[g+52>>2]=c;u=H[b+20>>2];if(u>>>0>K[d+8>>2]){break b}if(I[o+249|0]){H[g+40>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;c=g+24|0;Pf(a,o+288|0,c);Pf(a,c,o+268|0)}f:{g:{if(u){j=s;q=128;i=0;while(1){h:{if(!(I[j|0]&q)){break h}n=H[a+16>>2];H[g+40>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;c=i;h=H[b+20>>2];i:{if(c>>>0>>0){break i}c=0;k=H[b+4>>2];if(!k|H[k>>2]){break i}H[k>>2]=130}j:{k:{c=H[b+28>>2]+N(H[b+8>>2],c)|0;k=H[c+8>>2];l=H[c+4>>2];m=k-l|0;if((m|0)==-1376256){l=1}else{if((m|0)==-1310720){H[g+40>>2]=n;H[g+32>>2]=e;m=0;H[g+24>>2]=0;H[g+28>>2]=i;l=e;break k}k=(m|0)<0?k:l;l=4}m=l;H[g+40>>2]=n;H[g+24>>2]=m;H[g+28>>2]=i;l=e+k|0;H[g+32>>2]=l;if(!I[c|0]){break k}r=H[c+12>>2];m=m|16;H[g+24>>2]=m;H[g+36>>2]=r;break j}r=ib(l,n);H[g+36>>2]=r;h=H[b+20>>2]}k=H[a+16>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;c=i;l:{if(h>>>0>c>>>0){break l}c=0;h=H[b+4>>2];if(!h|H[h>>2]){break l}H[h>>2]=130}m:{n:{c=H[b+28>>2]+N(H[b+8>>2],c)|0;p=H[c+8>>2];h=H[c+4>>2];n=p-h|0;if((n|0)==-1310720){n=2}else{if((n|0)==-1376256){H[g+16>>2]=k;H[g+8>>2]=e;n=0;H[g>>2]=0;H[g+4>>2]=i;h=e;break n}h=(n|0)<0?h:p;n=8}H[g>>2]=n;p=H[o+232>>2];H[g+16>>2]=k;H[g+4>>2]=i;h=(e+h|0)+(p<<1)|0;H[g+8>>2]=h;if(!I[c|0]){break n}t=H[c+16>>2];n=n|16;H[g>>2]=n;break m}t=ib(h,k)}H[g+12>>2]=t;o:{if((m|n)&16){break o}v=H[o+244>>2];if(!v){break h}p=H[o+260>>2];k=n&10;p:{q:{r:{if(!(m&5)){c=0;if(!k){break h}while(1){l=N(c,20)+o|0;s:{if(I[l+324|0]){break s}k=H[l+308>>2];if((k-p|0)>(h|0)){break s}if((p+H[l+312>>2]|0)>=(h|0)){break r}}c=c+1|0;if((v|0)!=(c|0)){continue}break}break h}c=0;if(!k){while(1){h=N(c,20)+o|0;if(!(!I[h+324|0]|(H[h+308>>2]-p|0)>(l|0))){k=H[h+312>>2];if((p+k|0)>=(l|0)){break q}}c=c+1|0;if((v|0)!=(c|0)){continue}break h}}while(1){w=N(c,20)+o|0;k=H[w+308>>2];x=k-p|0;t:{if(I[w+324|0]){if((l|0)<(x|0)){break t}k=H[w+312>>2];if((p+k|0)<(l|0)){break t}break q}if((h|0)<(x|0)){break t}if((p+H[w+312>>2]|0)>=(h|0)){break r}}c=c+1|0;if((v|0)!=(c|0)){continue}break}break h}l=H[(N(c,20)+o|0)+320>>2];u:{if(I[o+248|0]){break u}l=t+32768&-65536;if(H[o+256>>2]>(h-k|0)){break u}c=H[(N(c,20)+o|0)+320>>2]+65536|0;l=(c|0)<(l|0)?l:c}c=l-t|0;if(!m){break p}H[g+24>>2]=m|16;H[g+36>>2]=c+r;break p}h=H[(N(c,20)+o|0)+320>>2];v:{if(I[o+248|0]){break v}h=r+32768&-65536;if(H[o+256>>2]>(k-l|0)){break v}c=H[(N(c,20)+o|0)+320>>2]-65536|0;h=(c|0)>(h|0)?h:c}H[g+24>>2]=m|16;H[g+36>>2]=h;if(!n){break o}c=h-r|0}H[g>>2]=n|16;H[g+12>>2]=c+t}Pf(a,g+24|0,g);F[j|0]=I[j|0]&(q^-1)}c=(i&7)==7;q=c?128:q>>>1&127;j=c+j|0;i=i+1|0;if((u|0)!=(i|0)){continue}break}if(f){break g}if(!u){break f}i=128;c=0;while(1){if(I[s|0]&i){m=H[a+16>>2];H[g+40>>2]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;h=c;k=H[b+20>>2];w:{if(k>>>0>c>>>0){break w}h=0;j=H[b+4>>2];if(!j|H[j>>2]){break w}H[j>>2]=130}x:{y:{l=H[b+28>>2]+N(H[b+8>>2],h)|0;j=H[l+8>>2];n=H[l+4>>2];h=j-n|0;if((h|0)==-1376256){h=1}else{if((h|0)==-1310720){H[g+40>>2]=m;H[g+32>>2]=e;H[g+24>>2]=0;H[g+28>>2]=c;j=e;break y}j=(h|0)<0?j:n;h=4}H[g+40>>2]=m;H[g+24>>2]=h;H[g+28>>2]=c;j=e+j|0;H[g+32>>2]=j;if(!I[l|0]){break y}j=H[l+12>>2];H[g+24>>2]=h|16;H[g+36>>2]=j;break x}y=g,z=ib(j,m),H[y+36>>2]=z;k=H[b+20>>2]}j=H[a+16>>2];H[g+16>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;h=c;z:{if(c>>>0>>0){break z}h=0;k=H[b+4>>2];if(!k|H[k>>2]){break z}H[k>>2]=130}A:{B:{m=H[b+28>>2]+N(H[b+8>>2],h)|0;l=H[m+8>>2];k=H[m+4>>2];h=l-k|0;if((h|0)==-1310720){h=2}else{if((h|0)==-1376256){H[g+16>>2]=j;H[g+8>>2]=e;H[g>>2]=0;H[g+4>>2]=c;k=e;break B}k=(h|0)<0?k:l;h=8}H[g>>2]=h;l=H[o+232>>2];H[g+16>>2]=j;H[g+4>>2]=c;k=(e+k|0)+(l<<1)|0;H[g+8>>2]=k;if(!I[m|0]){break B}j=H[m+16>>2];H[g>>2]=h|16;H[g+12>>2]=j;break A}y=g,z=ib(k,j),H[y+12>>2]=z}Pf(a,g+24|0,g)}h=(c&7)==7;i=h?128:i>>>1&127;s=h+s|0;c=c+1|0;if((u|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=H[a+20>>2];if(!(!c|H[a+36>>2]>0)&H[(N(c,20)+a|0)+16>>2]>=0){break f}H[g+36>>2]=0;H[g+28>>2]=0;H[g+32>>2]=0;H[g+24>>2]=49;c=H[a+16>>2];H[g+8>>2]=0;H[g+12>>2]=0;H[g+16>>2]=0;H[g>>2]=0;H[g+4>>2]=0;H[g+40>>2]=c;Pf(a,g+24|0,g)}H[H[a+8>>2]+20>>2]=0;q=H[a+20>>2];C:{if(!q){break C}c=0;while(1){k=c+1|0;s=N(c,20);l=s+a|0;e=H[l+28>>2];o=e&12;m=o?k:c;D:{if(e&16){break D}i=a+28|0;p=i+s|0;h=H[p+12>>2];e=h&65535;n=e?65536-e|0:0;r=i+N(m,20)|0;t=H[r+12>>2];j=t&65535;i=j?65536-j|0:0;i=i>>>0>n>>>0?n:i;n=(e|0)<(j|0)?e:j;j=0-n|0;E:{F:{if(m>>>0>>0){q=N(m+1|0,20)+a|0;if(H[q+40>>2]<((i+t|0)+32768|0)){break F}}if(!(!c|H[l+20>>2]<=((h-n|0)-32768|0))){e=i;break E}e=i>>>0>n>>>0?j:i;break E}G:{if(c){e=0;if(H[l+20>>2]>((h-n|0)-32768|0)){break G}}e=j;if(i>>>0>>0){break G}break E}if(I[q+28|0]&16){break E}H[g+24>>2]=m;H[g+28>>2]=i-e;jn(H[a+8>>2],g+24|0);h=H[p+12>>2]}H[p+12>>2]=e+h;if(!o){break D}H[r+12>>2]=H[r+12>>2]+e}H:{if(!c){break H}e=H[l+36>>2];i=H[l+16>>2];if((e|0)==(i|0)){break H}h=a+28|0;j=h+N(c-1|0,20)|0;y=j,z=pb(H[(h+s|0)+12>>2]-H[j+12>>2]|0,e-i|0),H[y+16>>2]=z}if(o){c=N(m,20);e=c+a|0;i=H[e+36>>2];e=H[e+16>>2];if((i|0)!=(e|0)){h=a+28|0;j=h+N(m-1|0,20)|0;y=j,z=pb(H[(c+h|0)+12>>2]-H[j+12>>2]|0,i-e|0),H[y+16>>2]=z}c=k}c=c+1|0;q=H[a+20>>2];if(c>>>0>>0){continue}break}h=H[a+8>>2];e=H[h+20>>2];if(!e){break C}k=H[h+8>>2];m=H[h+28>>2];c=e;while(1){c=c-1|0;i=c;I:{if(c>>>0>>0){break I}i=0;j=H[h+4>>2];if(!j|H[j>>2]){break I}H[j>>2]=130}j=m+N(i,k)|0;i=N(H[j>>2],20)+a|0;j=H[j+4>>2];l=j+H[i+40>>2]|0;J:{if(H[i+60>>2]<(l+32768|0)){break J}H[i+40>>2]=l;if(!(I[i+28|0]&12)){break J}H[i+20>>2]=j+H[i+20>>2]}if(c){continue}break}}K:{if(f){break K}h=H[a+20>>2];if(!h){break K}c=0;while(1){e=N(c,20)+a|0;i=H[e+28>>2];if(!(i&32)){h=H[e+32>>2];L:{if(h>>>0>2]){break L}h=0;f=H[b+4>>2];if(!f|H[f>>2]){break L}H[f>>2]=130;i=H[e+28>>2]}f=H[b+28>>2]+N(H[b+8>>2],h)|0;H[f+(i&10?16:12)>>2]=H[e+40>>2];F[f|0]=1;h=H[a+20>>2]}c=c+1|0;if(h>>>0>c>>>0){continue}break}}F[a+12|0]=1;a=d+5|0}F[a|0]=0}Wa=g+80|0}function xh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(I[b+16|0]&32){s=cl();Ae(s,b,0,-1)}u=b+40|0;f=H[a+72>>2];m=H[a+68>>2];h=Wa-48|0;Wa=h;q=H[a+16>>2];a:{if(H[q>>2]>0){n=H[q+208>>2];while(1){if(!Xq(h,0,q,u,c,d,f,m,e)){g=163632;break a}g=n;if(g){while(1){p=0;i=H[g>>2];if(!(H[i+16>>2]!=H[h>>2]|H[i+20>>2]!=H[h+4>>2]|(H[i+24>>2]!=H[h+8>>2]|H[i+28>>2]!=H[h+12>>2]))){p=H[i+32>>2]==H[h+16>>2]}b:{if(!p){break b}j=H[i+40>>2];if((j|0)!=H[h+24>>2]){break b}if(j){k=H[i+36>>2];p=H[h+20>>2];if(H[k>>2]!=H[p>>2]|H[k+4>>2]!=H[p+4>>2]){break b}l=0;t=1;while(1){c:{d:{e:{o=l<<4;r=o+k|0;if(!H[r+8>>2]){r=H[r+12>>2];o=p+o|0;if(!H[o+8>>2]){break e}if((r|0)!=-1){break d}break c}o=p+o|0;if(H[o+8>>2]|H[o+12>>2]!=-1){break d}break c}if((r|0)==-1^H[o+12>>2]==-1){break c}}l=l+1|0;t=j>>>0>l>>>0;if((j|0)==(l|0)){break c}o=l<<4;r=o+k|0;o=p+o|0;if(H[r>>2]!=H[o>>2]){break c}if(H[r+4>>2]==H[o+4>>2]){continue}}break}if(t){break b}}if((I[i+44|0]|I[i+45|0]<<8|(I[i+46|0]<<16|I[i+47|0]<<24))!=(I[h+28|0]|I[h+29|0]<<8|(I[h+30|0]<<16|I[h+31|0]<<24))|(I[i+48|0]|I[i+49|0]<<8|(I[i+50|0]<<16|I[i+51|0]<<24))!=(I[h+32|0]|I[h+33|0]<<8|(I[h+34|0]<<16|I[h+35|0]<<24))|H[i+52>>2]!=H[h+36>>2]){break b}g=H[g>>2];if(!g){g=0;break a}if(!H[g>>2]){break a}H[g>>2]=H[g>>2]+1;break a}g=H[g+4>>2];if(g){continue}break}}g=Wq(q,u,c,d,f,m,e);i=Ab(1,8);if(!i){break a}H[i+4>>2]=n;H[i>>2]=g;p=H[q+208>>2];n=(p|0)==(n|0);H[q+208>>2]=n?i:p;if(n){if(!g){g=0;break a}if(!H[g>>2]){break a}H[g>>2]=H[g>>2]+1;break a}Nj(g);hb(i);n=H[q+208>>2];if(H[q>>2]>0){continue}break}}g=Wq(q,u,c,d,f,m,e)}Wa=h+48|0;i=d;d=b;f:{g:{if(!H[d+68>>2]){break g}b=0;if(H[g>>2]<=0){break f}n=H[g+52>>2];if((n|0)==785){h:{if(H[a+96>>2]){break h}while(1){b=0;if(!H[a+92>>2]){break f}b=H[a+96>>2];H[a+96>>2]=b?b:1;if(!b){break h}if(!H[a+96>>2]){continue}break}}b=0;if(_q(g,a,d,c,i)){break g}break f}if((n|0)!=786){break f}i:{if(H[a+100>>2]){break i}while(1){b=0;if(!H[a+92>>2]){break f}b=H[a+100>>2];H[a+100>>2]=b?b:1;if(!b){break i}if(!H[a+100>>2]){continue}break}}b=0;if(!Ok(g,a,d,c,i)){break f}}b=1;if(H[d+36>>2]!=1){break f}H[d+36>>2]=2}Nj(g);if(s){if(b){u=b;n=a;q=c;p=i;f=Wa-80|0;Wa=f;i=1;b=1;g=d;j:{if(K[d+20>>2]>1){break j}b=H[g+40>>2];if(f+48|0){H[f+48>>2]=H[g+68>>2]}d=H[g+80>>2];i=H[f+48>>2];k:{if(i>>>0>=2){a=H[d+8>>2];h=(b&-3)==4;b=1;while(1){c=a;a=H[(d+N(b,20)|0)+8>>2];if(!((c|0)==(a|0)|h^a>>>0<=c>>>0)){De(g,n,105368,0);i=0;break k}b=b+1|0;if((i|0)!=(b|0)){continue}break}}i=1}b=1;if(K[g+20>>2]>1){break j}d=Gf(g);a=d;b=H[a+16>>2]&-33;if(H[a+4>>2]){H[a+16>>2]=b}h=Gf(g);a=h;b=H[a+16>>2]&-33;if(H[a+4>>2]){H[a+16>>2]=b}if(f+48|0){H[f+48>>2]=H[g+68>>2]}m=H[g+80>>2];if(f+72|0){H[f+72>>2]=H[s+68>>2]}t=H[s+80>>2];a=H[g+40>>2];l:{m:{l=H[f+48>>2];if(l-1>>>0<=4294967293){a=a&-3;o=(a|0)!=4;r=o?-1:0;k=1;j=(a|0)==4;c=j?0:H[f+72>>2];a=c;while(1){n:{if(l>>>0>k>>>0){b=m+N(k,20)|0;if(F[(m+N(k+r|0,20)|0)+4|0]&1|H[b+8>>2]==H[b-12>>2]){break n}}o:{if((l|0)==(k|0)){b=j?c:0;a=j?H[f+72>>2]:a;break o}if(!o){b=H[f+72>>2];if(b>>>0<=a>>>0){b=c;break o}l=H[(m+N(k,20)|0)+8>>2];while(1){if(l>>>0<=K[(t+N(a,20)|0)+8>>2]){b=c;break o}a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b;b=c;break o}l=H[(m+N(k,20)|0)-12>>2];while(1){b=c;if(!b){b=0;break o}c=b-1|0;if(l>>>0<=K[(t+N(c,20)|0)+8>>2]){continue}break}}if(H[d+4>>2]){H[d+36>>2]=0;H[d+40>>2]=0;H[d+72>>2]=0;H[d+64>>2]=0;H[d+68>>2]=0;F[d+62|0]=0;G[d+60>>1]=1;H[d+144>>2]=0;H[d+92>>2]=0;H[d+96>>2]=0;H[d+52>>2]=0;H[d+56>>2]=0;H[d+44>>2]=0;H[d+48>>2]=0;H[d+84>>2]=H[d+80>>2];H[d+100>>2]=0;H[d+104>>2]=0;H[d+108>>2]=0;H[d+112>>2]=0;H[d+116>>2]=0;H[d+120>>2]=0;H[d+124>>2]=0;H[d+128>>2]=0;H[d+132>>2]=0;H[d+136>>2]=0;F[d+140|0]=0}c=H[d+16>>2];c=b?c&-2:c;c=K[f+72>>2]>a>>>0?c&-3:c;if(H[d+4>>2]){H[d+16>>2]=c}Ae(d,s,b,a);if(!xh(n,d,q,p,e)){break m}Ae(h,d,0,-1);l=H[f+48>>2];a=j?a:b;c=a}k=k+1|0;if(k>>>0>>0){continue}break}}b=0;if(!Zk(h,g)){b=1;break l}De(g,n,105757,0);bl(g);Ae(g,h,0,-1);break l}b=0;De(g,n,105513,0)}Ce(h);Ce(d)}t=b&i;p:{q:{r:{s:{if(I[g+16|0]&64){i=1;b=1;if(K[g+20>>2]<=1){m=Gf(g);H[f+72>>2]=m;j=Gf(g);H[f+76>>2]=j;a=H[m+16>>2]&-33;if(H[m+4>>2]){H[m+16>>2]=a}a=H[j+16>>2]&-33;if(H[j+4>>2]){H[j+16>>2]=a}h=Gf(g);a=H[h+16>>2]&-33;if(H[h+4>>2]){H[h+16>>2]=a}a=H[g+44>>2];H[f+48>>2]=H[g+40>>2];H[f+52>>2]=a;H[f+64>>2]=H[g+56>>2];a=H[g+52>>2];H[f+56>>2]=H[g+48>>2];H[f+60>>2]=a;if(H[m+4>>2]){a=H[f+52>>2];H[m+40>>2]=H[f+48>>2];H[m+44>>2]=a;H[m+56>>2]=H[f+64>>2];a=H[f+60>>2];H[m+48>>2]=H[f+56>>2];H[m+52>>2]=a}if(H[j+4>>2]){a=H[f+52>>2];H[j+40>>2]=H[f+48>>2];H[j+44>>2]=a;H[j+56>>2]=H[f+64>>2];a=H[f+60>>2];H[j+48>>2]=H[f+56>>2];H[j+52>>2]=a}if(H[h+4>>2]){a=H[f+52>>2];H[h+40>>2]=H[f+48>>2];H[h+44>>2]=a;H[h+56>>2]=H[f+64>>2];a=H[f+60>>2];H[h+48>>2]=H[f+56>>2];H[h+52>>2]=a}if(f+44|0){H[f+44>>2]=H[g+68>>2]}o=H[g+80>>2];if(f+40|0){H[f+40>>2]=H[s+68>>2]}v=H[s+80>>2];r=H[g+40>>2]&-3;if((r|0)!=4){Be(g)}k=H[f+44>>2];if(k-1>>>0<4294967294){c=1;l=0;b=0;a=0;while(1){d=a;t:{u:{if(c>>>0>=k>>>0){break u}a=o+N(c,20)|0;if(H[a+8>>2]==H[a-12>>2]){a=d;break t}if(!(I[a+4|0]&2)){break u}a=d;break t}v:{if((c|0)==(k|0)){a=H[f+40>>2];break v}a=H[f+40>>2];if(b>>>0>=a>>>0){a=b;break v}k=H[(o+N(c,20)|0)+8>>2];while(1){if(k>>>0<=K[(v+N(b,20)|0)+8>>2]){a=b;break v}b=b+1|0;if((b|0)!=(a|0)){continue}break}}Ae(H[(f+72|0)+(l<<2)>>2],s,d,a);l=1-l|0;k=H[f+44>>2];b=a}c=c+1|0;if(c>>>0>>0){continue}break}}w:{if(!xh(n,m,q,p,e)){b=0;De(g,n,105513,0);break w}if(!xh(n,j,q,p,e)){b=0;De(g,n,105513,0);break w}if((r|0)!=4){Be(m);Be(j)}H[f+32>>2]=0;H[f+36>>2]=0;if(f+24|0){H[f+24>>2]=H[m+68>>2]}H[f+16>>2]=H[m+80>>2];if(f+28|0){H[f+28>>2]=H[j+68>>2]}H[f+20>>2]=H[j+80>>2];x:{d=H[f+24>>2];if(!(d|H[f+28>>2])){break x}l=0;while(1){c=l<<2;q=c+(f+32|0)|0;e=H[q>>2];b=e+1|0;y:{if(d>>>0<=b>>>0){break y}p=H[c+(f+16|0)>>2];a=H[(p+N(e,20)|0)+8>>2];while(1){v=a;k=p+N(b,20)|0;a=H[k+8>>2];if(I[k+4|0]&2?0:(v|0)!=(a|0)){break y}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}Ae(h,H[c+(f+72|0)>>2],e,b);H[q>>2]=b;if(K[f+28>>2]<=K[f+36>>2]&K[f+32>>2]>=K[f+24>>2]){break x}l=1-l|0;d=H[(f+24|0)+(l<<2)>>2];continue}}if((r|0)!=4){Be(g);Be(h)}b=0;if(!Zk(h,g)){b=1;break w}De(g,n,105930,0);bl(g);Ae(g,h,0,-1)}Ce(h);Ce(m);Ce(j)}if(!(b&t)){break s}break r}i=1;if(t){break r}}d=H[s+68>>2];H[f+48>>2]=d;b=0;c=N(d,10)+16|0;a=(c|0)>0;c=a?c:0;z:{if(a){while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}a=0;if((b|0)==-1){break z}b=tb(b);if(!b){break z}kb(b,0,c)}H[65057]=0;Ia(596,s|0,0,d|0,b|0,c|0,f+48|0,1413830740,1)|0;a=H[65057];H[65057]=0;if((a|0)==1){break q}H[f>>2]=b;H[65057]=0;ha(597,g|0,n|0,105206,f|0);a=H[65057];H[65057]=0;if((a|0)==1){break q}a=b}hb(a);i=0}Wa=f+80|0;break p}a=$()|0;_()|0;hb(b);ba(a|0);X()}b=i?u:0}else{b=0}Ce(s)}return b}function NA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=Wa+-64|0;Wa=f;H[f+40>>2]=0;g=I[a+48|0];a:{if(!(H[a+536>>2]|!g)){e=8;break a}e=H[a+540>>2];d=H[e>>2];if(!d){h=H[a>>2];H[e+4>>2]=33;d=zb(h,552,f+40|0);H[H[a+540>>2]>>2]=d;e=64;if(H[f+40>>2]){break a}H[d>>2]=h;if(!g){H[d+548>>2]=H[H[a+532>>2]+3088>>2]}H[d+152>>2]=0;H[d+156>>2]=0;e=d+168|0;H[e>>2]=0;H[e+4>>2]=0;H[d+160>>2]=0;H[d+164>>2]=0;H[d+148>>2]=34;H[d+144>>2]=35;H[d+156>>2]=36;H[d+168>>2]=d+4;H[d+164>>2]=h}H[d+176>>2]=a;H[d+172>>2]=a;h=H[a+4>>2];m=F[H[h+128>>2]+56|0];e=H[h+96>>2];k=I[e+32|0];H[f+8>>2]=0;H[f+12>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+36>>2]=b;H[f+28>>2]=b;H[f>>2]=0;H[f+4>>2]=0;H[f+24>>2]=0;H[f+32>>2]=b?b+c|0:0;b=H[a+8>>2];l=I[b+161|0];i=I[b+160|0];b:{if(i){n=(H[b+164>>2]+32|0)/64|0;H[f>>2]=n;b=(H[b+168>>2]+32|0)/64|0;break b}n=1024;H[f>>2]=1024;b=1024}H[f+12>>2]=b;c=0;c=g?c:I[h+732|0];F[d+8|0]=g;F[d+9|0]=c;c=(i|0)!=0;H[d+12>>2]=c;if(!(!l|(k|(m|0)>=0?m:0))){H[d+12>>2]=c|2}H[d+188>>2]=H[e+36>>2];H[d+192>>2]=H[e+40>>2];H[d+196>>2]=H[e+44>>2];H[d+200>>2]=H[e+48>>2];H[d+204>>2]=H[e+52>>2];H[d+208>>2]=H[e+56>>2];H[d+212>>2]=H[e+60>>2];H[d+216>>2]=H[e- -64>>2];c=J[H[a+4>>2]+68>>1];H[d+132>>2]=c;if(l){e=36;if((n|0)<=0|(b|0)<=0){break a}e=164;if(c<<16>>16<0){break a}a=pb(131072e3,c<<16);if((a|0)<(n|0)|(a|0)<(b|0)){break a}a=H[d+176>>2]}H[f+48>>2]=0;H[f+52>>2]=0;e=0;H[f+44>>2]=0;b=H[d+136>>2];m=H[d+140>>2];H[f+60>>2]=0;H[f+56>>2]=0;H[d+4>>2]=0;c=H[a+536>>2];if((c|0)!=H[d+180>>2]){H[d+180>>2]=c;e=1}c:{d:{if(!(I[d+8|0]|!H[H[a+532>>2]+3112>>2])){g=H[d+548>>2];h=H[a+4>>2];h=Ya[H[H[h+548>>2]+40>>2]](h,f+60|0,0,f+56|0,0)|0;H[d+4>>2]=h;if(h){break d}if(Ya[H[g+12>>2]](c+556|0,H[c+548>>2],H[f+60>>2],H[f+56>>2])|0){Ya[H[g+4>>2]](H[a+532>>2],c,H[f+60>>2],H[f+56>>2])|0;e=1}g=H[c+560>>2];F[d+93|0]=0;H[d+96>>2]=g;H[d+120>>2]=H[c+548>>2];H[d+124>>2]=H[f+60>>2];H[d+128>>2]=H[f+56>>2]}g=J[H[H[a+4>>2]+88>>2]+14>>1]<<16;if((g|0)!=H[d+88>>2]){H[d+88>>2]=g;e=1}c=H[d+12>>2];F[d+184|0]=c&1;e:{f:{g:{if(!Bc(f,d+16|0,16)){n=d+186|0;c=c&2;if((c|0)!=I[d+186|0]){break g}if(e){break f}break e}e=H[f+4>>2];H[d+16>>2]=H[f>>2];H[d+20>>2]=e;e=H[f+12>>2];H[d+24>>2]=H[f+8>>2];H[d+28>>2]=e;H[d+32>>2]=0;H[d+36>>2]=0;e=H[f+4>>2];H[d+40>>2]=H[f>>2];H[d+44>>2]=e;e=H[f+12>>2];H[d+48>>2]=H[f+8>>2];H[d+52>>2]=e;e=H[f+20>>2];H[d+56>>2]=H[f+16>>2];H[d+60>>2]=e;H[d+72>>2]=0;H[d+76>>2]=65536;H[d+64>>2]=65536;H[d+68>>2]=0;n=d+186|0;c=c&2;if((c|0)==I[d+186|0]){break f}}F[n|0]=c>>>1}c=H[H[a+536>>2]+400>>2]<<16;H[d+220>>2]=c;e=H[d+132>>2];l=e?e:1e3;e=65536e3/(l|0)|0;if((c|0)<=0){c=pb(4915200,e);H[d+220>>2]=c}h=d+188|0;g=(g|0)>262144?g:262144;h:{if((b|0)>0){c=l<<16;if((pb(c,g)|0)>=(b|0)){b=pb(c,g)}H[d+228>>2]=0;if(!b|(e|0)<655){break h}H[d+228>>2]=(b|0)/2;break h}rn(e,g,c,d+228|0,0,I[d+186|0],h)}b=H[H[a+536>>2]+396>>2];i:{if(b<<16>0){a=4915200;if(H[d+220>>2]>b<<17){break i}}a=7208960}a=pb(a,e);H[d+224>>2]=a;rn(e,g,a,d+232|0,m,I[d+186|0],h);a=1;a=H[d+228>>2]?a:H[d+232>>2]!=0;h=0;F[d+236|0]=0;F[d+185|0]=a;a=H[d+176>>2];q=kb(d+244|0,0,304);H[d+240>>2]=H[d+52>>2];u=d,v=pb(H[H[a+536>>2]+384>>2],65536e3),H[u+252>>2]=v;g=H[a+536>>2];H[d+256>>2]=H[g+388>>2]<<16;H[d+260>>2]=H[g+392>>2]<<16;r=I[g+191|0];m=I[g+190|0];l=I[g+189|0];b=I[g+188|0];j:{k:{if(H[g+524>>2]==1){l:{switch(b|0){case 4:if(H[g+192>>2]<<16>-7864321|H[g+196>>2]<<16>-7864321|(H[g+200>>2]<<16<57671681|H[g+204>>2]<<16<57671681)){break k}break;case 0:break l;default:break k}}H[d+296>>2]=-7864321;a=ib(-7864321,H[d+240>>2]);H[d+288>>2]=49;b=H[d+240>>2];H[d+304>>2]=b;H[d+300>>2]=(a+32768&-65536)-32768;a=(H[d+232>>2]<<1)+57671681|0;H[d+276>>2]=a;a=ib(a,b);H[d+268>>2]=50;F[d+249|0]=1;H[d+284>>2]=H[d+240>>2];H[d+280>>2]=a+32768&-65536|32768;break e}if(!b){break j}}c=H[d+244>>2];a=N(c,20)+d|0;h=H[g+192>>2]<<16;H[a+308>>2]=h;e=H[g+196>>2]<<16;H[a+312>>2]=e;h=e-h|0;m:{if((h|0)<0){h=0;break m}H[a+316>>2]=e;F[a+324|0]=1;c=c+1|0;H[d+244>>2]=c}e=2;if(b>>>0<=2){break j}k=g+192|0;while(1){a=N(c,20)+d|0;j=e<<2;i=H[j+k>>2]<<16;H[a+308>>2]=i;j=H[k+(j|4)>>2]<<16;H[a+312>>2]=j;o=j-i|0;if((o|0)>=0){p=j;j=H[d+232>>2]<<1;H[a+312>>2]=p+j;i=i+j|0;H[a+308>>2]=i;H[a+316>>2]=i;F[a+324|0]=0;c=c+1|0;H[d+244>>2]=c;h=(h|0)<(o|0)?o:h}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(l){b=H[q>>2];c=g+248|0;e=0;while(1){a=N(b,20)+d|0;k=e<<2;i=H[k+c>>2]<<16;H[a+308>>2]=i;k=H[c+(k|4)>>2]<<16;H[a+312>>2]=k;i=k-i|0;if((i|0)>=0){H[a+316>>2]=k;F[a+324|0]=1;b=b+1|0;H[d+244>>2]=b;h=(h|0)<(i|0)?i:h}e=e+2|0;if(l>>>0>e>>>0){continue}break}}l=pb(65536,H[d+240>>2]);o=H[d+244>>2];if(o){k=0;t=m>>>0<3;while(1){a=N(k,20)+d|0;i=a;e=H[a+316>>2];n:{if(I[a+324|0]){a=0;c=2147483647;o:{if(!r){break o}while(1){j=H[(g+(a<<2|4)|0)+344>>2]<<16;p=e-j|0;b=p>>31;p:{b=(b^p)-b|0;if((b|0)>=(c|0)|(b|0)>=(l|0)){break p}H[i+316>>2]=j;c=b;if((e|0)!=(j|0)){break p}c=0;break o}a=a+2|0;if(r>>>0>a>>>0){continue}break}}if(m>>>0<2){break n}b=H[g+292>>2]<<16;e=e-b|0;a=e>>31;a=(a^e)-a|0;if((a|0)>=(c|0)|(a|0)>=(l|0)){break n}H[i+316>>2]=b;break n}if(t){break n}p=H[d+232>>2]<<1;a=2;c=2147483647;while(1){j=(H[(g+(a<<2)|0)+288>>2]<<16)+p|0;s=e-j|0;b=s>>31;b=(b^s)-b|0;if(!((b|0)>=(c|0)|(b|0)>=(l|0))){H[i+316>>2]=j;c=b;if((e|0)==(j|0)){break n}}a=a+2|0;if(m>>>0>a>>>0){continue}break}}k=k+1|0;if((o|0)!=(k|0)){continue}break}}q:{if((h|0)<=0){break q}if(H[d+252>>2]<=(pb(65536,h)|0)){break q}u=d,v=pb(65536,h),H[u+252>>2]=v}a=H[d+240>>2];b=H[d+252>>2];if((a|0)<(b|0)){F[d+248|0]=1;a=sb(39322,a,b);H[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(I[n|0]){H[d+264>>2]=0}if(!H[q>>2]){break e}c=d+240|0;a=0;while(1){b=c+N(a,20)|0;e=I[b+84|0];i=b;j=ib(H[b+76>>2],H[d+240>>2]);b=H[d+264>>2];H[i+80>>2]=(j+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}if(H[d+4>>2]){break d}F[d+236|0]=0;b=d+144|0;a=I[d+185|0];while(1){H[d+160>>2]=0;re(H[H[d+172>>2]+12>>2]);Uf(d,f+24|0,b,f+48|0,0,0,0,f+44|0);if(H[d+4>>2]){break d}if(!(!(a&255)|H[d+160>>2]>=0)){F[d+236|0]=1;a=0;continue}break}g=H[d+172>>2];a=H[g+20>>2];r:{if(!a){break r}s:{t:{b=J[a>>1];e=b<<16>>16;if((e|0)>=2){b=G[(H[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break t}b=0;if(e){break t}c=J[a+2>>1];break s}c=G[a+2>>1];if((c|0)!=(b|0)){break s}G[a>>1]=e-1;break r}u:{if(c<<16>>16<2){break u}h=H[a+4>>2];n=h+(b<<3)|0;m=c&65535;h=(h+(m<<3)|0)-8|0;if(H[n>>2]!=H[h>>2]|H[n+4>>2]!=H[h+4>>2]|I[(m+H[a+8>>2]|0)-1|0]!=1){break u}c=c-1|0;G[a+2>>1]=c}if((e|0)<=0){break r}i=b;b=(c<<16>>16)-1|0;if((i|0)==(b|0)){G[a+2>>1]=c-1;G[a>>1]=e-1;break r}G[(H[a+12>>2]+(e<<1)|0)-2>>1]=b}Zf(H[g+12>>2]);if(!H[d+4>>2]){break c}}e=3;break a}a=H[f+44>>2];e=0;H[d+4>>2]=0;b=H[d+172>>2];if(I[b+48|0]){break a}H[H[b+544>>2]>>2]=a+32768>>16}Wa=f- -64|0;return e|0}function Pk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{i=H[b+4>>2];if(i>>>0>a>>>0){break a}g=H[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}d=H[b+12>>2];c=d-4|0;H[b+12>>2]=c;if(I[a|0]|I[a+1|0]<<8|(c|0)<=0){break a}c=a+2|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<2){break a}e=d-6|0;H[b+12>>2]=e;o=1;if((e|0)<=0){break a}d=I[a+2|0]|I[a+3|0]<<8;b:{if(!d){break b}c=a+4|0;if(c>>>0>>0|c>>>0>g>>>0){break a}f=g-c|0;d=(d<<8|d>>>8)&65535;c=d<<3;if(f>>>0>>0){break a}c=e-c|0;H[b+12>>2]=c;o=0;if((c|0)<=0){break b}u=d>>>0>1?d:1;while(1){o=0;g=((t<<3)+a|0)+4|0;e=H[b+4>>2];c:{if(g>>>0>>0){break c}i=H[b+8>>2];if(i>>>0>>0|i-g>>>0<8){break c}d=H[b+12>>2];c=d-8|0;H[b+12>>2]=c;if((c|0)<=0){break c}q=g+4|0;if(e>>>0>q>>>0|i>>>0>>0|i-q>>>0<4){break c}c=d-12|0;H[b+12>>2]=c;if((c|0)<=0){break c}c=F[g+4|0];e=I[g+7|0]|(I[g+5|0]<<16|c<<24|I[g+6|0]<<8);c=(e|0)!=0&(c|0)<0;o=!c;if(c|!e){break c}o=1;d=0;s=Wa-16|0;Wa=s;i=H[b+4>>2];f=a+e|0;d:{if(i>>>0>f>>>0){break d}h=H[b+8>>2];if(h>>>0>>0){break d}g=h-f|0;if(g>>>0<2){break d}e=H[b+12>>2];c=e-2|0;H[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break d}e:{f:{g:{h:{i:{j:{k:{c=I[f|0]|I[f+1|0]<<8;switch((c<<8|c>>>8)&65535){case 10:break h;case 6:break i;case 4:break j;case 0:break k;case 14:break e;case 13:break f;case 12:break g;default:break d}}d=0;if(g>>>0<262){break d}c=e-264|0;H[b+12>>2]=c;d=(c|0)>0;break d}if(g>>>0<14){d=0;break d}e=e-16|0;H[b+12>>2]=e;d=0;if((e|0)<=0){break d}d=I[f+2|0]|I[f+3|0]<<8;l:{if(!d){d=0;break l}c=(d<<8|d>>>8)&65535;if(c>>>0<=g>>>0){c=e-c|0;H[b+12>>2]=c;if((c|0)>0){break l}}d=0;c=H[b+28>>2];if(c>>>0>31){break d}H[b+28>>2]=c+1;if(!I[b+24|0]){break d}c=g>>>0<65535?g:65535;d=c<<8|(c&65280)>>>8;F[f+2|0]=d;F[f+3|0]=d>>>8}c=I[f+6|0]|I[f+7|0]<<8;d=(((c<<8|c>>>8)&65535)<<2)+16>>>0<=((d<<8|(d&65280)>>>8)&65535)>>>0;break d}if(g>>>0<10){d=0;break d}c=e-12|0;H[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+8|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<2){d=0;break d}e=e-14|0;H[b+12>>2]=e;if((e|0)<=0){d=0;break d}d=I[f+8|0]|I[f+9|0]<<8;if(d){c=f+10|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=((d<<8|d>>>8)&65535)<<1;if(f>>>0>>0){d=0;break d}c=e-c|0;H[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<20){d=0;break d}c=e-22|0;H[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+16|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<4){d=0;break d}e=e-26|0;H[b+12>>2]=e;if((e|0)<=0){d=0;break d}c=I[f+16|0]|I[f+17|0]<<8|(I[f+18|0]<<16|I[f+19|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0>2147483646){d=0;break d}if(d){c=f+20|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=d<<1;if(f>>>0>>0){d=0;break d}c=e-c|0;H[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<16){d=0;break d}c=e-18|0;H[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+12|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<4){d=0;break d}e=e-22|0;H[b+12>>2]=e;if((e|0)<=0){d=0;break d}c=I[f+12|0]|I[f+13|0]<<8|(I[f+14|0]<<16|I[f+15|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0>357913940){d=0;break d}if(d){c=f+16|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=N(d,12);if(f>>>0>>0){d=0;break d}c=e-c|0;H[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<16){d=0;break d}c=e-18|0;H[b+12>>2]=c;if((c|0)<=0){d=0;break d}c=f+12|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}if(h-c>>>0<4){d=0;break d}e=e-22|0;H[b+12>>2]=e;if((e|0)<=0){d=0;break d}c=I[f+12|0]|I[f+13|0]<<8|(I[f+14|0]<<16|I[f+15|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(d>>>0>357913940){d=0;break d}if(d){c=f+16|0;if(c>>>0>>0){d=0;break d}if(c>>>0>h>>>0){d=0;break d}f=h-c|0;c=N(d,12);if(f>>>0>>0){d=0;break d}c=e-c|0;H[b+12>>2]=c;d=0;if((c|0)<=0){break d}}d=1;break d}if(g>>>0<=9){d=0;break d}c=e-12|0;H[b+12>>2]=c;if((c|0)<=0){d=0;break d}H[s+12>>2]=f;d=0;k=f+6|0;h=H[b+4>>2];m:{n:{if(k>>>0>>0){break n}g=H[b+8>>2];if(g>>>0>>0|g-k>>>0<4){break n}i=H[b+12>>2]-4|0;H[b+12>>2]=i;if((i|0)<=0){break n}c=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>390451571){break n}c=1;if(!e){break m}c=k+4|0;if(c>>>0>>0|c>>>0>g>>>0){break n}f=g-c|0;c=N(e,11);if(f>>>0>>0){break n}c=i-c|0;H[b+12>>2]=c;if((c|0)<=0){break n}d=1;c=I[k|0]|I[k+1|0]<<8|(I[k+2|0]<<16|I[k+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!g){break n}d=0;e=k+4|0;if(h>>>0>e>>>0){break n}r=0;while(1){c=H[b+8>>2];if(c>>>0>>0|c-e>>>0<11){break n}l=H[s+12>>2];c=H[b+12>>2]-11|0;H[b+12>>2]=c;if((c|0)<=0){break n}m=0;i=k+N(r,11)|0;n=i+7|0;f=H[b+4>>2];o:{if(n>>>0>>0){break o}j=H[b+8>>2];if(j>>>0>>0|j-n>>>0<4){break o}e=H[b+12>>2];c=e-4|0;H[b+12>>2]=c;if((c|0)<=0){break o}c=F[n|0];h=I[n+3|0]|(I[n+1|0]<<16|c<<24|I[n+2|0]<<8);c=(h|0)!=0&(c|0)<0;m=!c;if(!h|c){break o}p=h+l|0;p:{if(p>>>0>>0|j>>>0

>>0|j-p>>>0<4){break p}h=e-8|0;H[b+12>>2]=h;if((h|0)<=0){break p}c=I[p|0]|I[p+1|0]<<8|(I[p+2|0]<<16|I[p+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>1073741822){break p}m=1;if(!e){break o}c=p+4|0;if(c>>>0>>0|c>>>0>j>>>0){break p}f=j-c|0;c=e<<2;if(f>>>0>>0){break p}c=h-c|0;H[b+12>>2]=c;if((c|0)>0){break o}}m=0;c=H[b+28>>2];if(c>>>0>31){break o}H[b+28>>2]=c+1;if(!I[b+24|0]){break o}F[n|0]=0;F[n+1|0]=0;F[n+2|0]=0;F[n+3|0]=0;m=1}if(!m){break n}m=0;j=i+11|0;h=H[b+4>>2];q:{if(j>>>0>>0){break q}f=H[b+8>>2];if(f>>>0>>0|f-j>>>0<4){break q}e=H[b+12>>2];c=e-4|0;H[b+12>>2]=c;if((c|0)<=0){break q}c=F[j|0];i=I[j+3|0]|(I[j+1|0]<<16|c<<24|I[j+2|0]<<8);c=(i|0)!=0&(c|0)<0;m=!c;if(!i|c){break q}l=i+l|0;r:{if(l>>>0>>0|f>>>0>>0|f-l>>>0<4){break r}i=e-8|0;H[b+12>>2]=i;if((i|0)<=0){break r}c=I[l|0]|I[l+1|0]<<8|(I[l+2|0]<<16|I[l+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>858993458){break r}m=1;if(!e){break q}c=l+4|0;if(c>>>0>>0|c>>>0>f>>>0){break r}f=f-c|0;c=N(e,5);if(f>>>0>>0){break r}c=i-c|0;H[b+12>>2]=c;if((c|0)>0){break q}}m=0;c=H[b+28>>2];if(c>>>0>31){break q}H[b+28>>2]=c+1;if(!I[b+24|0]){break q}F[j|0]=0;F[j+1|0]=0;F[j+2|0]=0;F[j+3|0]=0;m=1}if(!m){break n}d=1;r=r+1|0;if((g|0)==(r|0)){break n}d=0;e=(k+N(r,11)|0)+4|0;if(e>>>0>=K[b+4>>2]){continue}break}}c=d}d=c}Wa=s+16|0;if(d){break c}o=0;c=H[b+28>>2];if(c>>>0>31){break c}H[b+28>>2]=c+1;if(!I[b+24|0]){break c}F[q|0]=0;F[q+1|0]=0;F[q+2|0]=0;F[q+3|0]=0;o=1}if(!o){break b}t=t+1|0;if((u|0)!=(t|0)){continue}break}}return o}return 0}function VL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=-1;H[b+28>>2]=-1;H[b+80>>2]=0;H[b+84>>2]=0;H[b+72>>2]=0;H[b+76>>2]=8720;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b+32>>2]=-1;H[b+36>>2]=-1;H[b+40>>2]=-1;H[b+44>>2]=-1;H[b+48>>2]=-1;H[b+52>>2]=-1;H[b+56>>2]=-1;H[b+60>>2]=-1;H[b- -64>>2]=-1;H[b+88>>2]=0;H[b+92>>2]=0;H[b+96>>2]=0;H[b+100>>2]=0;k=I[163632];m=k|256;h=!I[a+16|0];while(1){a:{c=H[a+12>>2];d=c+1|0;i=H[a+4>>2];l=d>>>0<=i>>>0&h;if(!l){break a}b:{c:{if(c>>>0>>0){f=H[a>>2];h=I[f+c|0];if((h|0)==12){c=m;if(d>>>0>=i>>>0){break c}h=I[d+f|0]|256;c=d}if(c>>>0>=i>>>0){c=h;break c}H[a+12>>2]=c+1;break b}F[a+16|0]=1;h=65535;c=k;if((c|0)==12){break b}}F[a+16|0]=1;H[a+12>>2]=i;h=c}d=0;i=Wa-32|0;Wa=i;H[i+20>>2]=0;H[i+12>>2]=0;H[i+16>>2]=0;H[i+24>>2]=H[a+48>>2]+(H[b>>2]^-1);d:{e:{f:{g:{switch(h|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:f=a+24|0;c=H[f>>2];h:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];g=H[40908];H[64760]=g;H[64761]=c;x(0,g|0);x(1,c|0);e=+z();break h}e=M[H[a+36>>2]+(c<<3)>>3];break h}F[a+20|0]=1;c=H[40909];g=H[40908];H[64760]=g;H[64761]=c;x(0,g|0);x(1,c|0);e=+z()}i:{if(P(e)<2147483648){c=~~e;break i}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}j:{k:{l:{m:{n:{o:{p:{q:{r:{switch(h-1|0){default:switch(h-256|0){case 22:break k;case 38:break l;case 21:break m;case 0:break q;default:break j};case 3:break n;case 2:break o;case 1:break p;case 0:break r}}d=1;break j}d=2;break j}d=3;break j}d=4;break j}d=5;break j}d=6;break j}d=7;break j}d=8}H[((d<<2)+b|0)+24>>2]=c;break f;case 290:f=a+24|0;c=H[f>>2];s:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break s}e=M[H[a+36>>2]+(c<<3)>>3];break s}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}t:{if(P(e)<2147483648){c=~~e;break t}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+76>>2]=c;break f;case 286:f=a+24|0;c=H[f>>2];u:{if(c){c=c-1|0;H[a+24>>2]=c;if(K[a+32>>2]<=c>>>0){d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);e=+z();break u}e=M[H[a+36>>2]+(c<<3)>>3];break u}F[a+20|0]=1;c=0;d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);e=+z()}v:{if(P(e)<2147483648){d=~~e;break v}d=-2147483648}if((d|0)<0){F[a+20|0]=1;d=0}H[b+72>>2]=d;d=b- -64|0;w:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){c=H[40909];g=H[40908];H[64760]=g;H[64761]=c;x(0,g|0);x(1,c|0);e=+z();break w}e=M[H[a+36>>2]+(c<<3)>>3];break w}F[a+20|0]=1;c=H[40909];g=H[40908];H[64760]=g;H[64761]=c;x(0,g|0);x(1,c|0);e=+z()}x:{if(P(e)<2147483648){c=~~e;break x}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[d>>2]=c;c=H[a+24>>2];y:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break y}e=M[H[a+36>>2]+(c<<3)>>3];break y}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}z:{if(P(e)<2147483648){c=~~e;break z}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+60>>2]=c;break f;case 16:c=H[a+24>>2];A:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break A}e=M[H[a+36>>2]+(c<<3)>>3];break A}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}B:{if(P(e)<2147483648){c=~~e;break B}c=-2147483648}if((c|0)<0){F[a+20|0]=1;H[b+80>>2]=0;H[a+24>>2]=0;break d}H[b+80>>2]=c;H[a+24>>2]=0;if(c){break e}break d;case 15:c=H[a+24>>2];C:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break C}e=M[H[a+36>>2]+(c<<3)>>3];break C}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}D:{if(P(e)<2147483648){c=~~e;break D}c=-2147483648}if((c|0)<0){F[a+20|0]=1;H[b+84>>2]=0;H[a+24>>2]=0;break d}H[b+84>>2]=c;H[a+24>>2]=0;if(c){break e}break d;case 293:f=a+24|0;c=H[f>>2];E:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break E}e=M[H[a+36>>2]+(c<<3)>>3];break E}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}F:{if(P(e)<2147483648){c=~~e;break F}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+88>>2]=c;break f;case 18:f=a+24|0;c=H[f>>2];G:{if(c){c=c-1|0;H[a+24>>2]=c;if(K[a+32>>2]<=c>>>0){d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);e=+z();break G}e=M[H[a+36>>2]+(c<<3)>>3];break G}F[a+20|0]=1;c=0;d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);e=+z()}H:{if(P(e)<2147483648){d=~~e;break H}d=-2147483648}if((d|0)<0){F[a+20|0]=1;d=0}H[b+92>>2]=d;I:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break I}e=M[H[a+36>>2]+(c<<3)>>3];break I}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}J:{if(P(e)<2147483648){c=~~e;break J}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+96>>2]=c;break f;default:H[a+48>>2]=H[a+12>>2];Ps(h,a,b);if(!H[a+24>>2]){break e}break d;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break g}}f=a+24|0}H[f>>2]=0}if(I[a+20|0]|(I[a+40|0]|I[a+16|0])|H[a+28>>2]<0){break d}K:{L:{M:{c=H[b+4>>2];if((c|0)>=0){d=H[b+8>>2];f=d+1|0;f=(f|0)>0?f:0;if(f>>>0<=c>>>0){break L}d=c;while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(!(c>>>0>d>>>0|d>>>0>214748363)){c=Eb(H[b+12>>2],N(d,20));if(c){break M}}H[b+4>>2]=-1}H[64764]=H[40912];c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;j=259040;break K}H[b+4>>2]=d;H[b+12>>2]=c;d=H[b+8>>2]}if(d>>>0>>0){while(1){H[b+8>>2]=d+1;c=H[b+12>>2]+N(d,20)|0;H[c>>2]=0;H[c+4>>2]=0;H[c+16>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;d=H[b+8>>2];if(f>>>0>d>>>0){continue}break}}H[b+8>>2]=f;d=H[b+12>>2];H[64764]=H[40912];c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;d=(d+N(f,20)|0)-20|0;j=259040;if((d|0)==259040){break K}c=H[i+12>>2];H[d>>2]=H[i+8>>2];H[d+4>>2]=c;H[d+16>>2]=H[i+24>>2];c=H[i+20>>2];H[d+8>>2]=H[i+16>>2];H[d+12>>2]=c;j=d}c=j;H[c>>2]=h;f=H[a+12>>2];d=H[a+4>>2];g=H[a>>2];h=H[b>>2];H[c+12>>2]=0;H[c+4>>2]=h+g;c=d-h|0;c=c>>>0>d>>>0?0:c;h=f-h|0;H[j+8>>2]=c>>>0>>0?c:h;H[b>>2]=H[a+12>>2]}Wa=i+32|0;if(I[a+20|0]|(I[a+40|0]|I[a+16|0])){break a}h=1;if(H[a+28>>2]>=0){continue}}break}return!l|0}function sB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;k=Wa-48|0;Wa=k;s=6;j=H[a+4>>2];a:{if(!j){break a}r=c?c-1|0:0;if(r>>>0>=K[j+408>>2]){break a}b:{c:{if(d&9){break c}f=H[j+380>>2];if(!f){break c}u=H[j+416>>2];o=H[j+104>>2];c=H[j+388>>2];e=J[b+12>>1];while(1){if(!((e|0)==H[c>>2]&H[c+4>>2]==J[b+14>>1])){c=c+36|0;g=g+1|0;if((f|0)!=(g|0)){continue}break c}break}g=H[c+8>>2];if(ob(o,H[c+24>>2]+H[j+432>>2]|0)){break c}f=g&1;if(Nb(o,N(H[c+28>>2],(g>>>2&1)+(g&2?f+5|0:f|4)|0))){break c}m=H[c+8>>2];p=m&1;n=(m&2?p+5|0:p|4)+(m>>>2&1)|0;l=H[(r<<4)+u>>2];g=H[c+28>>2];h=H[o+32>>2];if(!(m&64)){f=H[o+36>>2];q=m|128;H[c+8>>2]=q;d:{e:{f:{e=N(g,n);t=e+h|0;if(f>>>0>=t>>>0){if((e|0)<=0){break d}e=-1;if(p){break f}f=h;while(1){i=e;e=I[f|0];if((i|0)>=(e|0)){break e}f=f+n|0;if(t>>>0>f>>>0){continue}break}break d}q=m&-129;break d}f=h;while(1){i=e;e=I[f+1|0]|I[f|0]<<8;if((i|0)>=(e|0)){break e}f=f+n|0;if(t>>>0>f>>>0){continue}break}break d}q=m&-129}m=q|64;H[c+8>>2]=m}g:{if(!(m&128)){break g}h:{if(!p){c=0;while(1){if(c>>>0>=g>>>0){break g}f=c+g>>>1|0;p=h+N(f,n)|0;e=I[p|0];i=e>>>0>l>>>0;g=i?f:g;c=i?c:e>>>0>>0?f+1|0:c;if((e|0)!=(l|0)){continue}break}f=p+1|0;break h}p=h+2|0;c=0;while(1){if(c>>>0>=g>>>0){break g}e=c+g>>>1|0;f=p+N(e,n)|0;h=f-2|0;h=I[h|0]<<8|I[h+1|0];i=h>>>0>l>>>0;c=i?c:h>>>0>>0?e+1|0:c;g=i?e:g;if((h|0)!=(l|0)){continue}break}}i:{if(m&2){g=I[f+1|0]|I[f|0]<<8;c=f+2|0;break i}g=I[f|0];c=f+1|0}f=I[c|0];j:{if(m&4){h=2;f=I[c+1|0]<<8|f<<16;break j}h=1;f=f<<8}c=I[c+h|0];Db(o);if(!g){break c}e=c|f;H[k+8>>2]=0;H[k+44>>2]=0;H[k+36>>2]=0;H[k+32>>2]=0;H[k+28>>2]=0;i=(r<<4)+u|0;c=H[i+4>>2];h=H[j+304>>2];f=H[j+300>>2];k:{if((h|0)==(f|0)){f=c;break k}f=sb(c,f,h);h=H[j+304>>2];c=H[i+4>>2]}H[a+56>>2]=f;f=sb(J[b+12>>1]<<8,c,h);H[k+40>>2]=f;if(ob(o,e+H[j+188>>2]|0)){break c}if(Nb(o,g)){break c}H[k+24>>2]=H[o+32>>2];p=8;h=H[o+36>>2];e=H[k+24>>2];l:{if(h>>>0>>0){break l}m:{n:{o:{p:{q:{q=I[e|0];switch((q&3)-1|0){case 2:break n;case 1:break o;case 0:break p;default:break q}}c=e+2|0;if(h>>>0>>0){break l}e=F[e+1|0];m=e>>4;i=e<<28>>28;break m}c=e+3|0;if(h>>>0>>0){break l}i=F[e+2|0];m=F[e+1|0];break m}c=e+5|0;if(h>>>0>>0){break l}i=I[e+3|0]|I[e+4|0]<<8;i=(i<<8|i>>>8)<<16>>16;e=I[e+1|0]|I[e+2|0]<<8;m=(e<<8|e>>>8)<<16>>16;break m}c=e+7|0;if(h>>>0>>0){break l}i=I[e+6|0]|(I[e+5|0]<<8|I[e+4|0]<<16);m=I[e+3|0]|(I[e+2|0]<<8|I[e+1|0]<<16)}l=q>>>2&3;n=l;r:{s:{switch(l-1|0){case 0:e=c+1|0;if(e>>>0>h>>>0){break l}c=I[c|0];n=c&15;l=c>>>4|0;c=e;break r;case 1:e=c+2|0;if(e>>>0>h>>>0){break l}n=I[c+1|0];l=I[c|0];c=e;break r;case 2:break s;default:break r}}e=c+4|0;if(e>>>0>h>>>0){break l}n=I[c+3|0]|I[c+2|0]<<8;l=I[c+1|0]|I[c|0]<<8;c=e}t:{u:{v:{w:{q=q>>>4|0;switch((q&3)-1|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}e=c+1|0;if(e>>>0>h>>>0){break l}f=F[c|0]<<8;c=e;break t}e=c+2|0;if(e>>>0>h>>>0){break l}c=I[c|0]|I[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break t}e=c+3|0;if(e>>>0>h>>>0){break l}f=I[c+2|0]|(I[c+1|0]<<8|I[c|0]<<16);c=e}H[k+8>>2]=m;H[k+44>>2]=i;H[k+36>>2]=l;H[k+32>>2]=n;H[k+40>>2]=f;H[k+28>>2]=q>>>2;H[k+24>>2]=c;p=0}if(p){break g}x:{y:{z:{A:{e=H[k+28>>2];switch(e|0){case 0:break y;case 2:break z;case 1:break A;default:break g}}c=H[k+32>>2];h=H[k+36>>2];if(N(c,h)>>>0<=N(g,15)>>>0){break x}break g}c=H[k+32>>2];h=H[k+36>>2];if(N(c,h)>>>0>N(g+1>>>1|0,255)>>>0){break g}break x}c=H[k+32>>2];h=H[k+36>>2];if(N(c,h)+7>>>3>>>0>g>>>0){break g}}if((c|0)<0){break g}g=H[k+44>>2];if((g|0)>(2147483647-c|0)){break g}H[a+72>>2]=1651078259;H[a+76>>2]=c;H[a+80>>2]=h;F[a+94|0]=1;H[a+28>>2]=c<<6;i=h<<6;H[a+24>>2]=i;h=h+7>>3;H[a+84>>2]=h;f=H[k+8>>2];H[a+36>>2]=g<<6;H[a+32>>2]=f<<6;l=H[k+40>>2];H[a+48>>2]=0;H[a+44>>2]=0-i>>1;H[a+40>>2]=(l>>2)+32&-64;i=H[b+32>>2];H[a+104>>2]=c+g;H[a+100>>2]=f;H[a+52>>2]=i;if(!(d&4194304)){if(Wg(a,N(c,h))){break g}d=H[k+24>>2];m=H[o+36>>2];c=I[j+208|0]>>>1&1;j=0;g=H[a+76>>2];B:{if(!g){break B}b=H[a+80>>2];if(!b){break B}f=H[a+84>>2];r=c?f:0-f|0;n=N(b,g);h=H[a+88>>2]+(c?0:N(f,g-1|0))|0;C:{D:{switch(e|0){case 0:a=m-d<<3;l=a>>>0>>0?a:n;if(!l){break B}i=128;f=0;c=h;a=b;g=l;while(1){if(!((g^l)&7)){f=I[d|0];d=d+1|0}j=f<<24>>31&i|j;a=a-1|0;E:{if(!a){F[c|0]=j;j=0;a=b;h=h+r|0;c=h;e=128;break E}e=i>>>1|0;if(i>>>0>1){break E}F[c|0]=j;c=c+1|0;j=0;e=128}i=e;f=f<<1;g=g-1|0;if(g){continue}break};if((i|0)!=128){break C}break B;case 1:if(!n){break B}s=1;g=128;c=h;e=b;l=0;a=0;i=1;while(1){f=a;F:{if(s){while(1){G:{if(!i){i=1;f=l;break G}if(d>>>0>=m>>>0){i=1;f=a;a=g;break F}a=I[d|0];l=a&15;d=d+1|0;i=0;f=a>>>4|0}a=0;if(!f){continue}break}}a=i?g:0}j=a|j;e=e-1|0;H:{if(!e){F[c|0]=j;j=0;e=b;h=h+r|0;c=h;a=128;break H}a=g>>>1|0;if(g>>>0>1){break H}F[c|0]=j;c=c+1|0;j=0;a=128}g=a;s=(f|0)<2;a=f-1|0;n=n-1|0;if(n){continue}break};if((g|0)!=128){break C}break B;case 2:break D;default:break B}}if(!n){break B}f=1;l=128;c=h;g=b;a=0;i=1;while(1){I:{if(!f|d>>>0>=m>>>0){break I}J:{while(1){i=i^1;f=d+1|0;a=I[d|0];if(a){break J}d=f;if((f|0)!=(m|0)){continue}break}a=0;d=m;break I}d=f}j=(i?l:0)|j;g=g-1|0;K:{if(!g){F[c|0]=j;j=0;g=b;h=h+r|0;c=h;e=128;break K}e=l>>>1|0;if(l>>>0>1){break K}F[c|0]=j;c=c+1|0;j=0;e=128}l=e;f=(a|0)<2;a=a-1|0;n=n-1|0;if(n){continue}break}if((l|0)==128){break B}}F[c|0]=j}}Db(o);break b}Db(o)}if(d&16384){break a}g=H[j+416>>2];H[a+72>>2]=1869968492;H[a+108>>2]=0;c=g+(r<<4)|0;f=H[c+8>>2];c=H[c+12>>2];e=H[j+188>>2];h=H[j+104>>2];re(H[a+188>>2]);H[a+176>>2]=0;s=An(a+160|0,h,e,c,f);if(s){break a}c=H[a+188>>2];e=H[c+24>>2];f=a+108|0;H[f>>2]=H[c+20>>2];H[f+4>>2]=e;H[f+16>>2]=H[c+36>>2];e=H[c+32>>2];H[f+8>>2]=H[c+28>>2];H[f+12>>2]=e;c=H[a+124>>2]&-6;H[a+124>>2]=c|4;if(J[b+14>>1]<=23){H[a+124>>2]=c|260}H[a+52>>2]=0;H[a+40>>2]=0;c=H[(g+(r<<4)|0)+4>>2];g=H[j+304>>2];e=H[j+300>>2];if((g|0)!=(e|0)){c=sb(c,e,g)}L:{if(F[j+324|0]&1){H[a+52>>2]=c;g=H[a+40>>2];break L}H[a+40>>2]=c;g=c;c=H[a+52>>2]}H[a+60>>2]=c;H[a+56>>2]=g;H[a+44>>2]=0;H[a+48>>2]=0;if(!(d&1)){d=H[b+20>>2];b=H[b+16>>2];if(G[a+110>>1]>0){c=H[a+112>>2];g=0;while(1){v=c,w=ib(H[c>>2],b),H[v>>2]=w;v=c,w=ib(H[c+4>>2],d),H[v+4>>2]=w;c=c+8|0;g=g+1|0;if((g|0)>1]){continue}break}g=H[a+40>>2]}v=a,w=ib(g,b),H[v+40>>2]=w;v=a,w=ib(H[a+52>>2],d),H[v+52>>2]=w}je(f,k+8|0);b=H[k+8>>2];H[a+24>>2]=H[k+16>>2]-b;c=H[k+20>>2];d=H[k+12>>2];H[a+36>>2]=d;H[a+32>>2]=b;H[a+28>>2]=c-d}s=0}Wa=k+48|0;return s|0}function kr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=H[b+80>>2];u=H[b+68>>2];a:{if(!H[b+132>>2]){break a}while(1){e=H[((g<<2)+b|0)+92>>2];f=H[b+12>>2];f=Qj(e,Ya[H[f+24>>2]](f,e,H[f+56>>2])|0);if((f|0)==7){e=0;g=g+1|0;if(g>>>0>2]){continue}break a}break}e=J[(f<<2)+125090>>1]}b:{if(!u){f=-1;break b}f=-1;while(1){n=o+N(l,20)|0;d=Qj(H[n>>2],J[n+16>>1]&31);c:{if((d|0)==7){F[n+19|0]=7;break c}t=N(e,24)+(d<<2)|0;g=I[t+125088|0];d:{if(!((g|0)==7|(f|0)==-1)){s=N(f,20);F[(s+o|0)+19|0]=g;e=H[b+68>>2];d=l+1|0;k=d>>>0>e>>>0?e:d;m=k-f|0;if(m>>>0<2){break d}g=H[b+144>>2]|32;H[b+144>>2]=g;if(f>>>0>=k>>>0){break d}j=H[b+80>>2];d=-1;e=f;r=k+(f^-1)|0;if(r>>>0>=3){p=m&-4;h=0;while(1){i=j+N(e,20)|0;q=H[i+8>>2];d=d>>>0>>0?d:q;q=H[i+28>>2];d=d>>>0>>0?d:q;q=H[i+48>>2];d=d>>>0>>0?d:q;i=H[i+68>>2];d=d>>>0>>0?d:i;e=e+4|0;h=h+4|0;if((p|0)!=(h|0)){continue}break}}h=0;i=m&3;if(i){while(1){p=H[(j+N(e,20)|0)+8>>2];d=d>>>0

>>0?d:p;e=e+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(m&1){e=j+s|0;if(H[e+8>>2]!=(d|0)){H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|3}f=f+1|0}if(!r){break d}while(1){e=j+N(f,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|3}e=j+N(f+1|0,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|3}f=f+2|0;if((k|0)!=(f|0)){continue}break}break d}if((f|0)==-1){if(!(I[b+16|0]&64)|d>>>0<2){break d}H[b+144>>2]=H[b+144>>2]|32;f=H[b+68>>2];e=l+1|0;h=f>>>0>>0?f:e;if(!I[b+61|0]){if(!h){break d}f=H[b+80>>2];e=0;d=0;if(h-1>>>0>=3){j=h&-4;g=0;while(1){k=f+N(d,20)|0;H[k+4>>2]=H[k+4>>2]|2;k=f+N(d|1,20)|0;H[k+4>>2]=H[k+4>>2]|2;k=f+N(d|2,20)|0;H[k+4>>2]=H[k+4>>2]|2;k=f+N(d|3,20)|0;H[k+4>>2]=H[k+4>>2]|2;d=d+4|0;g=g+4|0;if((j|0)!=(g|0)){continue}break}}g=h&3;if(!g){break d}while(1){h=f+N(d,20)|0;H[h+4>>2]=H[h+4>>2]|2;d=d+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break d}j=H[b+72>>2];e:{if(!j){break e}f=H[b+84>>2];e=0;d=0;if(j-1>>>0>=3){k=j&-4;g=0;while(1){m=f+N(d,20)|0;H[m+4>>2]=H[m+4>>2]|2;m=f+N(d|1,20)|0;H[m+4>>2]=H[m+4>>2]|2;m=f+N(d|2,20)|0;H[m+4>>2]=H[m+4>>2]|2;m=f+N(d|3,20)|0;H[m+4>>2]=H[m+4>>2]|2;d=d+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}g=j&3;if(!g){break e}while(1){j=f+N(d,20)|0;H[j+4>>2]=H[j+4>>2]|2;d=d+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}d=H[b+64>>2];if(h>>>0<=d>>>0){break d}g=h+(d^-1)|0;e=H[b+80>>2];f=0;j=h-d&3;if(j){while(1){k=e+N(d,20)|0;H[k+4>>2]=H[k+4>>2]|2;d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(g>>>0<3){break d}while(1){f=e+N(d,20)|0;H[f+4>>2]=H[f+4>>2]|2;H[f+24>>2]=H[f+24>>2]|2;H[f+44>>2]=H[f+44>>2]|2;f=f- -64|0;H[f>>2]=H[f>>2]|2;d=d+4|0;if((h|0)!=(d|0)){continue}break}break d}if(!(I[b+16|0]&64)|d>>>0<=1&e-2>>>0>3){break d}e=H[b+68>>2];d=l+1|0;k=d>>>0>e>>>0?e:d;m=k-f|0;if(m>>>0<2){break d}g=H[b+144>>2]|32;H[b+144>>2]=g;if(f>>>0>=k>>>0){break d}j=H[b+80>>2];d=-1;e=f;s=k+(f^-1)|0;if(s>>>0>=3){r=m&-4;h=0;while(1){i=j+N(e,20)|0;p=H[i+8>>2];d=d>>>0

>>0?d:p;p=H[i+28>>2];d=d>>>0

>>0?d:p;p=H[i+48>>2];d=d>>>0

>>0?d:p;i=H[i+68>>2];d=d>>>0>>0?d:i;e=e+4|0;h=h+4|0;if((r|0)!=(h|0)){continue}break}}h=0;i=m&3;if(i){while(1){r=H[(j+N(e,20)|0)+8>>2];d=d>>>0>>0?d:r;e=e+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if(m&1){e=j+N(f,20)|0;if(H[e+8>>2]!=(d|0)){H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|2}f=f+1|0}if(!s){break d}while(1){e=j+N(f,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|2}e=j+N(f+1|0,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|2}f=f+2|0;if((k|0)!=(f|0)){continue}break}}F[n+19|0]=I[t+125089|0];e=J[t+125090>>1];f=l}l=l+1|0;if((u|0)!=(l|0)){continue}break}}f:{if(!H[b+136>>2]){break f}h=0;while(1){d=H[((h<<2)+b|0)+112>>2];l=H[b+12>>2];l=Qj(d,Ya[H[l+24>>2]](l,d,H[l+56>>2])|0);if((l|0)==7){h=h+1|0;if(h>>>0>2]){continue}break f}break}l=I[(N(e,24)+(l<<2)|0)+125088|0];if(!((l|0)==7|(f|0)==-1)){F[(o+N(f,20)|0)+19|0]=l;j=H[b+68>>2];o=j-f|0;if(o>>>0<2){break f}g=H[b+144>>2]|32;H[b+144>>2]=g;if(f>>>0>=j>>>0){break f}l=H[b+80>>2];d=-1;e=f;k=j+(f^-1)|0;if(k>>>0>=3){m=o&-4;h=0;while(1){n=l+N(e,20)|0;i=H[n+8>>2];d=d>>>0>>0?d:i;i=H[n+28>>2];d=d>>>0>>0?d:i;i=H[n+48>>2];d=d>>>0>>0?d:i;n=H[n+68>>2];d=d>>>0>>0?d:n;e=e+4|0;h=h+4|0;if((m|0)!=(h|0)){continue}break}}n=o&3;if(n){h=0;while(1){m=H[(l+N(e,20)|0)+8>>2];d=d>>>0>>0?d:m;e=e+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}}if(o&1){e=l+N(f,20)|0;if(H[e+8>>2]!=(d|0)){H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|3}f=f+1|0}if(!k){break f}while(1){e=l+N(f,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|3}e=l+N(f+1|0,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|3}f=f+2|0;if((j|0)!=(f|0)){continue}break}break f}if(!(I[b+16|0]&64)|e-2>>>0>3){break f}j=H[b+68>>2];o=j-f|0;if(o>>>0<2){break f}g=H[b+144>>2]|32;H[b+144>>2]=g;if(f>>>0>=j>>>0){break f}l=H[b+80>>2];d=-1;e=f;k=j+(f^-1)|0;if(k>>>0>=3){m=o&-4;h=0;while(1){n=l+N(e,20)|0;i=H[n+8>>2];d=d>>>0>>0?d:i;i=H[n+28>>2];d=d>>>0>>0?d:i;i=H[n+48>>2];d=d>>>0>>0?d:i;n=H[n+68>>2];d=d>>>0>>0?d:n;e=e+4|0;h=h+4|0;if((m|0)!=(h|0)){continue}break}}n=o&3;if(n){h=0;while(1){m=H[(l+N(e,20)|0)+8>>2];d=d>>>0>>0?d:m;e=e+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}}if(o&1){e=l+N(f,20)|0;if(H[e+8>>2]!=(d|0)){H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|2}f=f+1|0}if(!k){break f}while(1){e=l+N(f,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|2}e=l+N(f+1|0,20)|0;if(H[e+8>>2]!=(d|0)){g=g|32;H[b+144>>2]=g;H[e+4>>2]=H[e+4>>2]|2}f=f+2|0;if((j|0)!=(f|0)){continue}break}}g:{h:{if((c|0)!=1299148391){break h}f=H[b+68>>2];if(f>>>0<2){break g}c=H[b+80>>2];d=1;e=f-1|0;l=e&1;if((f|0)!=2){e=e&-2;g=0;while(1){f=c+N(d,20)|0;h=H[f>>2]-6155|0;if(!(h>>>0>4|(h|0)==3)){F[f+19|0]=I[f-1|0]}h=c+N(d+1|0,20)|0;j=H[h>>2]-6155|0;if(!(j>>>0>4|(j|0)==3)){F[h+19|0]=I[f+19|0]}d=d+2|0;g=g+2|0;if((e|0)!=(g|0)){continue}break}}if(!l){break h}f=H[c+N(d,20)>>2]-6155|0;if(f>>>0>4|(f|0)==3){break h}c=c+N(d,20)|0;F[c+19|0]=I[c-1|0]}f=H[b+68>>2]}i:{if(!f){break i}b=H[b+80>>2];d=0;if((f|0)!=1){e=f&-2;g=0;while(1){c=b+N(d,20)|0;H[c+4>>2]=H[c+4>>2]|H[(I[c+19|0]<<2)+a>>2];c=b+N(d|1,20)|0;H[c+4>>2]=H[c+4>>2]|H[(I[c+19|0]<<2)+a>>2];d=d+2|0;g=g+2|0;if((e|0)!=(g|0)){continue}break}}if(!(f&1)){break i}b=b+N(d,20)|0;H[b+4>>2]=H[b+4>>2]|H[(I[b+19|0]<<2)+a>>2]}}function Gl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;c=H[b+4>>2];a:{if(c>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}h=H[b+12>>2];e=h-4|0;H[b+12>>2]=e;if((I[a|0]|I[a+1|0]<<8)!=256|(e|0)<=0){break a}k=c;c=a+4|0;if(k>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break a}d=h-6|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[c|0]|I[c+1|0]<<8;b:{if(!d){break b}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=H[b+28>>2];if(d>>>0>31){break a}H[b+28>>2]=d+1;if(!I[b+24|0]){break a}F[c|0]=0;F[c+1|0]=0}h=0;e=Wa-16|0;Wa=e;j=H[b+4>>2];d=a+6|0;c:{if(j>>>0>d>>>0){break c}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break c}l=H[b+12>>2];c=l-2|0;H[b+12>>2]=c;h=1;if((c|0)<=0){h=0;break c}c=I[d|0]|I[d+1|0]<<8;if(!c){break c}c=((c<<8|c>>>8)&65535)+a|0;d:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break d}h=l-4|0;H[b+12>>2]=h;if((h|0)<=0){break d}h=I[c|0]|I[c+1|0]<<8;e:{if(!h){break e}if(nc(c+((h<<8|h>>>8)&65535)|0,b)){break e}h=H[b+28>>2];if(h>>>0>31){break d}H[b+28>>2]=h+1;if(!I[b+24|0]){break d}F[c|0]=0;F[c+1|0]=0}H[e+12>>2]=c;h=1;if(El(c+2|0,b,e+12|0)){break c}}c=H[b+28>>2];if(c>>>0>31){h=0;break c}H[b+28>>2]=c+1;h=0;if(!I[b+24|0]){break c}F[d|0]=0;F[d+1|0]=0;h=1}Wa=e+16|0;if(!h){break a}h=0;o=Wa-16|0;Wa=o;e=H[b+4>>2];l=a+8|0;f:{if(e>>>0>l>>>0){break f}d=H[b+8>>2];if(d>>>0>>0|d-l>>>0<2){break f}f=H[b+12>>2];c=f-2|0;H[b+12>>2]=c;h=1;if((c|0)<=0){h=0;break f}c=I[l|0]|I[l+1|0]<<8;if(!c){break f}c=((c<<8|c>>>8)&65535)+a|0;g:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=f-4|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=I[c|0]|I[c+1|0]<<8;h:{if(!d){break h}if(nc(c+((d<<8|d>>>8)&65535)|0,b)){break h}d=H[b+28>>2];if(d>>>0>31){break g}H[b+28>>2]=d+1;if(!I[b+24|0]){break g}F[c|0]=0;F[c+1|0]=0}H[o+12>>2]=c;d=0;p=Wa-16|0;Wa=p;j=c+2|0;f=H[b+4>>2];i:{if(j>>>0>>0){break i}c=H[b+8>>2];if(c>>>0>>0|c-j>>>0<2){break i}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break i}g=I[j|0]|I[j+1|0]<<8;if(!g){d=1;break i}i=j+2|0;if(i>>>0>>0|c>>>0>>0){break i}k=c-i|0;c=(g<<8|g>>>8)&65535;g=c<<1;if(k>>>0>>0){break i}e=e-g|0;H[b+12>>2]=e;if((e|0)<=0){break i}e=j+2|0;if(f>>>0>e>>>0){break i}u=c>>>0>1?c:1;while(1){j:{c=H[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break j}d=H[o+12>>2];c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break j}c=I[e|0]|I[e+1|0]<<8;k:{if(!c){break k}f=d+((c<<8|c>>>8)&65535)|0;H[p+12>>2]=f;c=0;i=H[b+4>>2];l:{m:{if(i>>>0>f>>>0){break m}g=H[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break m}n=H[b+12>>2]-2|0;H[b+12>>2]=n;if((n|0)<=0){break m}m=I[f|0]|I[f+1|0]<<8;k=1;if(!m){break l}d=f+2|0;if(d>>>0>>0|d>>>0>g>>>0){break m}k=g-d|0;g=(m<<8|m>>>8)&65535;d=g<<1;if(k>>>0>>0){break m}d=n-d|0;H[b+12>>2]=d;if((d|0)<=0){break m}d=f+2|0;if(i>>>0>d>>>0){break m}v=g>>>0>1?g:1;n=0;while(1){n:{c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break n}g=H[p+12>>2];c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break n}c=I[d|0]|I[d+1|0]<<8;o:{if(!c){break o}p:{q:{r:{s=H[b+4>>2];g=g+((c<<8|c>>>8)&65535)|0;if(s>>>0>g>>>0){break r}m=H[b+8>>2];if(m>>>0>>0){break r}i=m-g|0;if(i>>>0<2){break r}q=H[b+12>>2];k=q-2|0;H[b+12>>2]=k;c=1;if((k|0)<=0){break r}s:{t:{u:{v:{k=I[g|0]|I[g+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break s}}c=0;if(i>>>0<4){break s}break q}c=0;if(i>>>0<4){break s}break q}if(i>>>0<6){break r}c=q-8|0;H[b+12>>2]=c;if((c|0)<=0){break r}i=g+4|0;if(i>>>0>>0|i>>>0>m>>>0|m-i>>>0<2){break r}m=q-10|0;H[b+12>>2]=m;c=1;if((m|0)<=0){break r}m=I[i|0]|I[i+1|0]<<8;if(!m){break s}if(Fe(g+((m<<8|m>>>8)&65535)|0,b)){break s}c=H[b+28>>2];if(c>>>0>31){break r}H[b+28>>2]=c+1;c=0;if(!I[b+24|0]){break s}F[i|0]=0;F[i+1|0]=0;c=1}break p}c=0;break p}c=q-6|0;H[b+12>>2]=c;c=(c|0)>0}if(c){break o}c=H[b+28>>2];if(c>>>0>31){break n}H[b+28>>2]=c+1;if(!I[b+24|0]){break n}F[d|0]=0;F[d+1|0]=0}c=1;n=n+1|0;if((v|0)==(n|0)){break m}d=(f+(n<<1)|0)+2|0;if(d>>>0>=K[b+4>>2]){continue}}break}c=0}k=c}if(k){break k}c=H[b+28>>2];if(c>>>0>31){break j}H[b+28>>2]=c+1;if(!I[b+24|0]){break j}F[e|0]=0;F[e+1|0]=0}d=1;r=r+1|0;if((u|0)==(r|0)){break i}e=(j+(r<<1)|0)+2|0;if(e>>>0>=K[b+4>>2]){continue}}break}d=0}Wa=p+16|0;if(d){break f}}c=H[b+28>>2];if(c>>>0>31){h=0;break f}H[b+28>>2]=c+1;h=0;if(!I[b+24|0]){break f}F[l|0]=0;F[l+1|0]=0;h=1}Wa=o+16|0;if(!h){break a}c=a+10|0;if(c>>>0>2]){break a}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[c|0]|I[c+1|0]<<8;w:{if(!d){break w}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break w}d=H[b+28>>2];if(d>>>0>31){break a}H[b+28>>2]=d+1;if(!I[b+24|0]){break a}F[c|0]=0;F[c+1|0]=0}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65538){return 1}h=0;l=Wa-16|0;Wa=l;e=H[b+4>>2];j=a+12|0;x:{if(e>>>0>j>>>0){break x}d=H[b+8>>2];if(d>>>0>>0|d-j>>>0<2){break x}f=H[b+12>>2];c=f-2|0;H[b+12>>2]=c;h=1;if((c|0)<=0){h=0;break x}c=I[j|0]|I[j+1|0]<<8;if(!c){break x}c=((c<<8|c>>>8)&65535)+a|0;y:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break y}d=f-4|0;H[b+12>>2]=d;if((d|0)<=0){break y}if((I[c|0]|I[c+1|0]<<8)!=256){break x}H[l+12>>2]=c;d=c+2|0;g=H[b+4>>2];z:{A:{if(d>>>0>>0){break A}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break A}f=H[b+12>>2]-2|0;H[b+12>>2]=f;e=1;if((f|0)<=0){break A}i=I[d|0]|I[d+1|0]<<8;if(!i){break z}e=d+2|0;if(e>>>0>>0|c>>>0>>0){break A}k=c-e|0;c=(i<<8|i>>>8)&65535;e=c<<2;if(k>>>0>>0){break A}f=f-e|0;H[b+12>>2]=f;e=0;if((f|0)<=0){break z}f=d+2|0;if(g>>>0>f>>>0){break z}i=c>>>0>1?c:1;c=0;while(1){e=H[b+8>>2];if(e>>>0>>0|e-f>>>0<4){break A}o=H[l+12>>2];e=H[b+12>>2]-4|0;H[b+12>>2]=e;if((e|0)<=0){break A}e=d+(c<<2)|0;g=F[f|0];e=I[e+3|0]<<16|g<<24|I[e+4|0]<<8|I[e+5|0];g=(e|0)!=0&(g|0)<0;B:{if(!(g|!e)){if(nc(e+o|0,b)){break B}e=H[b+28>>2];if(e>>>0>31){break A}H[b+28>>2]=e+1;if(!I[b+24|0]){break A}F[f|0]=0;F[f+1|0]=0;F[f+2|0]=0;F[f+3|0]=0;break B}if(g){break A}}e=1;c=c+1|0;if((i|0)==(c|0)){break z}f=(d+(c<<2)|0)+2|0;if(f>>>0>=K[b+4>>2]){continue}break}}e=0}if(e){break x}}c=H[b+28>>2];if(c>>>0>31){h=0;break x}H[b+28>>2]=c+1;h=0;if(!I[b+24|0]){break x}F[j|0]=0;F[j+1|0]=0;h=1}Wa=l+16|0;if(!h){break a}t=1;c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65539){break a}t=Fl(a+14|0,b,a)}return t}function af(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=Wa+-64|0;Wa=f;r=H[a+100>>2];g=H[a+104>>2];H[f+56>>2]=0;e=H[a+736>>2];a:{b:{if(!e){c=Ya[H[a+516>>2]](a,1735811442,g,f+60|0)|0;H[f+56>>2]=c;if(c){c=Ya[H[a+516>>2]](a,1128678962,g,f+60|0)|0;H[f+56>>2]=c;if(c){break a}}c=Ya[H[a+516>>2]](a,1719034226,g,f+60|0)|0;H[f+56>>2]=c;if(c){break a}o=H[g+8>>2];c=Mb(g,96848,f+40|0);H[f+56>>2]=c;if(c){break a}h=J[f+46>>1];i=J[f+52>>1];c=zb(r,80,f+56|0);H[a+736>>2]=c;if(H[f+56>>2]){break a}k=J[f+46>>1];H[c>>2]=k;x=(i|0)==((h<<2)+6|0);break b}k=H[e>>2];c=e}t=N(k,24);p=H[a+12>>2];q=p>>>16|0;u=N(q,12);v=(k<<1)+3&-4;y=N(k,q);w=y<<2;if(!e){e=c;c=((((N(k,5)+t|0)+v|0)+u|0)+w|0)+20|0;H[e+16>>2]=c;h=zb(r,c,f+56|0);if(H[f+56>>2]){break a}H[H[a+736>>2]+12>>2]=h;s=h+20|0;i=s+v|0;H[h+12>>2]=i;H[h+8>>2]=q;H[h+4>>2]=-1;H[h>>2]=k;n=i+t|0;H[h+16>>2]=n;e=n+u|0;c:{if(p>>>0<65536){break c}p=q>>>0>1?q:1;z=p&3;c=e;if(p-1>>>0>=3){p=p&65532;while(1){H[N(d,12)+n>>2]=c;l=c;c=k<<2;l=l+c|0;H[N(d|1,12)+n>>2]=l;l=c+l|0;H[N(d|2,12)+n>>2]=l;l=c+l|0;H[N(d|3,12)+n>>2]=l;c=c+l|0;d=d+4|0;j=j+4|0;if((p|0)!=(j|0)){continue}break}}if(!z){break c}j=k<<2;while(1){H[N(d,12)+n>>2]=c;d=d+1|0;c=c+j|0;m=m+1|0;if((z|0)!=(m|0)){continue}break}}d:{if(!k){break d}m=k&7;d=e+w|0;j=0;e:{if(k-1>>>0<7){c=0;break e}e=k&-8;c=0;n=0;while(1){H[N(c,24)+i>>2]=d;H[N(c|1,24)+i>>2]=d+5;H[N(c|2,24)+i>>2]=d+10;H[N(c|3,24)+i>>2]=d+15;H[N(c|4,24)+i>>2]=d+20;H[N(c|5,24)+i>>2]=d+25;H[N(c|6,24)+i>>2]=d+30;H[N(c|7,24)+i>>2]=d+35;c=c+8|0;d=d+40|0;n=n+8|0;if((e|0)!=(n|0)){continue}break}}if(!m){break d}while(1){H[N(c,24)+i>>2]=d;c=c+1|0;d=d+5|0;j=j+1|0;if((m|0)!=(j|0)){continue}break}}c=ob(g,J[f+44>>1]+o|0);H[f+56>>2]=c;if(c){break a}if(k){d=H[h+12>>2];e=0;while(1){c=Mb(g,96896,f+16|0);H[f+56>>2]=c;if(c){break a}c=H[f+16>>2];H[d+16>>2]=c;H[d+4>>2]=H[f+20>>2];H[d+8>>2]=H[f+24>>2];H[d+12>>2]=H[f+28>>2];H[d+20>>2]=J[f+34>>1];F[H[d>>2]]=c>>>24;F[H[d>>2]+1|0]=J[d+18>>1];F[H[d>>2]+2|0]=H[d+16>>2]>>>8;F[H[d>>2]+3|0]=H[d+16>>2];F[H[d>>2]+4|0]=0;G[s>>1]=J[f+32>>1];c=H[d+8>>2];if(!((c|0)>=H[d+4>>2]&(c|0)<=H[d+12>>2])){H[d+12>>2]=c;H[d+4>>2]=c}s=s+2|0;d=d+24|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}d=0;c=jb(r,4,0,y,0,f+56|0);e=H[a+736>>2];H[e+20>>2]=c;if(H[f+56>>2]){break a}f:{if(!J[f+50>>1]){break f}if(!I[e+24|0]){c=H[g+8>>2];nm(a);c=ob(g,c);H[f+56>>2]=c;if(c){break a}if(!J[f+50>>1]){break f}}i=k<<2;o=i+(x?6:4)|0;e=H[h+16>>2];j=H[H[a+736>>2]+20>>2];n=0;while(1){c=Nb(g,o);H[f+56>>2]=c;if(c){break a}A=e,B=Rb(g),H[A+4>>2]=B;Rb(g);if(k){d=H[e>>2];c=0;while(1){A=d,B=uc(g),H[A>>2]=B;d=d+4|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(x){c=Rb(g)}else{c=65535}H[e+8>>2]=c;mm(H[a+736>>2],k,H[e>>2],j);Db(g);e=e+12|0;j=i+j|0;d=J[f+50>>1];n=n+1|0;if(d>>>0>n>>>0){continue}break}}g:{if((d|0)==(q|0)){break g}c=17;e=H[a+540>>2];if(!(Ya[H[e+148>>2]](a,17,f+16|0,f+12|0)|0)){c=2;if(!(Ya[H[e+148>>2]](a,2,f+16|0,f+12|0)|0)){break g}}if(!(Ya[H[e+148>>2]](a,6,f+16|0,f+12|0)|0)){break g}e=H[h+16>>2]+N(J[f+50>>1],12)|0;H[e+8>>2]=6;H[e+4>>2]=c;if(!k){break g}d=H[e>>2];c=H[h+12>>2];if(k-1>>>0>=7){g=k&-8;e=0;while(1){H[d>>2]=H[c+8>>2];H[d+4>>2]=H[c+32>>2];H[d+8>>2]=H[c+56>>2];H[d+12>>2]=H[c+80>>2];H[d+16>>2]=H[c+104>>2];H[d+20>>2]=H[c+128>>2];H[d+24>>2]=H[c+152>>2];H[d+28>>2]=H[c+176>>2];d=d+32|0;c=c+192|0;e=e+8|0;if((g|0)!=(e|0)){continue}break}}g=k&7;if(!g){break g}e=0;while(1){H[d>>2]=H[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=Wa-16|0;Wa=c;d=H[a+736>>2];e=H[a+104>>2];g=H[e+28>>2];h=Ya[H[a+516>>2]](a,1297498450,e,c+8|0)|0;H[c+12>>2]=h;h:{if(h){break h}h=H[e+8>>2];j=yb(e,c+12|0);if(H[c+12>>2]){break h}i=dc(e,2);H[c+12>>2]=i;if((j|0)!=1|i){break h}A=d,B=zb(g,28,c+12|0),H[A+56>>2]=B;if(H[c+12>>2]){break h}j=dc(e,4);H[c+12>>2]=j;if(j){break h}j=yb(e,c+12|0);G[H[d+56>>2]>>1]=j;if(H[c+12>>2]){break h}j=yb(e,c+12|0);if(H[c+12>>2]){break h}i=H[e+8>>2];h=im(H[a+104>>2],H[a+736>>2],h+j|0,H[d+56>>2]+4|0);H[c+12>>2]=h;if(h){break h}g=jb(g,12,0,J[H[d+56>>2]>>1],0,c+12|0);H[H[d+56>>2]+24>>2]=g;if(H[c+12>>2]){break h}g=ob(e,i);H[c+12>>2]=g;if(g){break h}g=Nb(e,J[H[d+56>>2]>>1]<<3);H[c+12>>2]=g;if(g){break h}g=H[d+56>>2];h=J[g>>1];i:{if(!h){break i}o=H[g+24>>2];h=o+N(h,12)|0;while(1){j:{A=o,B=uc(e),H[A>>2]=B;A=o,B=Rb(e),G[A+4>>1]=B;j=Rb(e);G[o+6>>1]=j;i=J[o+4>>1];if(i>>>0>=K[g+4>>2]|j>>>0>=K[H[g+8>>2]+(i<<4)>>2]){break j}o=o+12|0;if(h>>>0>o>>>0){continue}break i}break}H[c+12>>2]=8}Db(e);if(H[c+12>>2]){break h}e=H[d+56>>2];d=J[e>>1];if(d){m=H[e+24>>2];e=m+N(d,12)|0;while(1){d=hm(a,H[m>>2]);if(d){G[m+8>>1]=J[d>>1]}m=m+12|0;if(e>>>0>m>>>0){continue}break}}H[a+740>>2]=H[a+740>>2]|256}Wa=c+16|0}if(!b){break a}c=zb(r,H[H[a+736>>2]+16>>2],f+56|0);if(H[f+56>>2]){break a}a=H[a+736>>2];h=mb(c,H[a+12>>2],H[a+16>>2]);c=(h+v|0)+20|0;g=t+c|0;H[h+16>>2]=g;H[h+12>>2]=c;a=g+u|0;i=H[h+8>>2];k:{if(!i){break k}j=0;d=0;e=a;if(i-1>>>0>=3){o=i&-4;n=0;while(1){H[g+N(d,12)>>2]=e;l=e;e=k<<2;m=l+e|0;H[g+N(d|1,12)>>2]=m;m=e+m|0;H[g+N(d|2,12)>>2]=m;m=e+m|0;H[g+N(d|3,12)>>2]=m;e=e+m|0;d=d+4|0;n=n+4|0;if((o|0)!=(n|0)){continue}break}}i=i&3;if(!i){break k}o=k<<2;while(1){H[g+N(d,12)>>2]=e;d=d+1|0;e=e+o|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}l:{if(!k){break l}d=a+w|0;if((k|0)!=1){j=k&-2;a=0;while(1){H[c>>2]=d;m:{n:{o:{e=H[c+16>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break o}if((e|0)!=1936486004){break m}l=10564;break n}l=10150;if((e|0)==2003265652){break n}if((e|0)!=2003072104){break m}l=10287;break n}l=10426}H[c>>2]=l}H[c+24>>2]=d+5;p:{q:{r:{s:{e=H[c+40>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break s}if((e|0)!=1936486004){break p}l=10564;break q}if((e|0)==2003072104){break r}l=10150;if((e|0)==2003265652){break q}break p}l=10426;break q}l=10287}H[c+24>>2]=l}c=c+48|0;d=d+10|0;a=a+2|0;if((j|0)!=(a|0)){continue}break}}if(!(k&1)){break l}H[c>>2]=d;t:{u:{v:{a=H[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break v}if((a|0)!=1936486004){break l}e=10564;break t}if((a|0)==2003072104){break u}e=10150;if((a|0)==2003265652){break t}break l}e=10426;break t}e=10287}H[c>>2]=e}H[b>>2]=h}Wa=f- -64|0;return H[f+56>>2]}function qv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a=Wa-336|0;Wa=a;H[b>>2]=1;q=b+504|0;H[q>>2]=0;r=gd(H[b+96>>2],9721,1);H[b+488>>2]=r;n=Ed(H[H[b+96>>2]+4>>2],9871);H[b+492>>2]=n;a:{if(!n){f=11;break a}h=H[b+100>>2];kb(a+16|0,0,304);t=b,u=zb(h,12,a+12|0),H[t+496>>2]=u;b:{if(H[a+12>>2]){break b}H[b+500>>2]=12;f=H[b+104>>2];Ya[H[H[n+4>>2]>>2]](a+16|0,0,0,h);F[a+100|0]=0;H[a+92>>2]=0;H[a+96>>2]=0;H[a+88>>2]=f;g=ob(f,0);H[a+320>>2]=g;c:{d:{if(g){break d}g=Nb(f,17);H[a+320>>2]=g;if(g){break d}if(Bc(H[f+32>>2],10372,17)){g=2;H[a+320>>2]=2;Db(f);break d}Db(f);g=ob(f,0);H[a+320>>2]=g;if(g){break d}i=H[f+4>>2];e:{if(!H[f+20>>2]){g=H[f+8>>2];j=H[f>>2];F[a+100|0]=1;H[a+96>>2]=i;H[a+92>>2]=g+j;g=dc(f,i);H[a+320>>2]=g;if(g){break d}i=H[a+96>>2];break e}j=zb(h,i,a+320|0);H[a+92>>2]=j;g=H[a+320>>2];if(g){break d}g=ec(f,j,i);H[a+320>>2]=g;if(g){break d}H[a+96>>2]=i}h=H[a+92>>2];H[a+20>>2]=h;H[a+12>>2]=0;break c}if(I[a+100|0]){H[a+12>>2]=g;break b}f=H[a+92>>2];if(f){Ya[H[h+8>>2]](h,f)}h=0;H[a+92>>2]=0;f=H[a+320>>2];H[a+12>>2]=f;if(f){break b}i=H[a+96>>2]}H[a+28>>2]=0;H[a+16>>2]=h;g=h+i|0;H[a+24>>2]=g;Ya[H[a+44>>2]](a+16|0);f:{g:{h:{f=H[a+16>>2];if(g>>>0>f>>>0){o=b+132|0;m=b+164|0;p=b+464|0;while(1){i:{j:{i=I[f|0];if(!((i|0)!=70|g>>>0<=f+25>>>0)){if(ub(f,10518,13)){break j}f=a+16|0;Ya[H[a+48>>2]](f);Ya[H[a+44>>2]](f);h=H[a+16>>2];f=h;k:{if(g>>>0<=f>>>0){break k}while(1){l:{if(!(I[f|0]!=107|g>>>0<=f+5>>>0)){if(!ub(f,10667,5)){break l}}Ya[H[a+48>>2]](a+16|0);f=H[a+28>>2];if(f){break h}Ya[H[a+44>>2]](a+16|0);f=H[a+16>>2];if(g>>>0>f>>>0){continue}break k}break}f=a+16|0;Ya[H[a+48>>2]](f);Ya[H[a+72>>2]](f,a+320|0);h=H[a+328>>2]==3?H[a+16>>2]:h}H[a+16>>2]=h;break i}if((i|0)!=47|g>>>0<=f+2>>>0){break j}i=f+1|0;H[a+16>>2]=i;Ya[H[a+48>>2]](a+16|0);f=H[a+28>>2];if(f){break h}h=H[a+16>>2];if((h|0)==(i|0)){break i}k=h-i|0;if(k>>>0>21){break i}f=0;if(g>>>0<=h>>>0){break i}while(1){m:{h=N(f,36);l=h+102480|0;j=H[l>>2];if(!j|I[i|0]!=I[j|0]){break m}if((wb(j)|0)!=(k|0)){break m}if(Bc(i,j,k)){break m}n:{if(f-15>>>0<=3){Ya[H[h+102492>>2]](b,a+16|0);f=H[a+28>>2];break n}f=H[h+102488>>2];o:{p:{switch(H[h+102484>>2]-2|0){case 0:H[a+320>>2]=m;break o;case 3:H[a+320>>2]=p;break o;default:break p}}H[a+320>>2]=o}if(f-9>>>0<=1){f=Ya[H[a+84>>2]](a+16|0,l,a+320|0,0,0)|0;break n}f=Ya[H[a+80>>2]](a+16|0,l,a+320|0,0,0)|0}H[a+28>>2]=f;if(!f){break i}H[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break i}Ya[H[a+48>>2]](a+16|0);f=H[a+28>>2];if(f){break h}}Ya[H[a+44>>2]](a+16|0);f=H[a+16>>2];if(g>>>0>f>>>0){continue}break}}f=H[a+28>>2];H[a+12>>2]=f;if(f){break b}if(I[b+437|0]!=42){H[a+12>>2]=2;break b}h=H[a+160>>2];H[b+420>>2]=h;if(!H[a+228>>2]){H[a+12>>2]=3}i=0;H[a+228>>2]=0;H[b+396>>2]=H[a+216>>2];H[b+428>>2]=H[a+240>>2];H[b+432>>2]=H[a+244>>2];H[b+400>>2]=H[a+164>>2];H[b+424>>2]=H[a+188>>2];H[a+188>>2]=0;H[a+164>>2]=0;if(H[b+368>>2]!=1){break b}j=0;k=H[a+124>>2];if((k|0)<=0){break f}g=0;if((h|0)<=0){break g}while(1){l=g<<2;o=H[l+H[a+132>>2]>>2];p=g<<1;G[p+H[b+384>>2]>>1]=0;H[l+H[b+388>>2]>>2]=10293;q:{if(!o){break q}s=H[b+424>>2];f=0;while(1){m=H[(f<<2)+s>>2];if(rb(o,m)){f=f+1|0;if((h|0)!=(f|0)){continue}break q}break}G[p+H[b+384>>2]>>1]=f;H[l+H[b+388>>2]>>2]=m;if(!rb(10293,m)){break q}j=(g|0)<(j|0)?j:g+1|0;i=(g|0)<(i|0)?g:i}g=g+1|0;if((k|0)!=(g|0)){continue}break}break f}H[a+12>>2]=f;break b}h=0;f=0;if(k-1>>>0>=3){i=k&-4;while(1){G[H[b+384>>2]+(f<<1)>>1]=0;H[H[b+388>>2]+(f<<2)>>2]=10293;j=f|1;G[H[b+384>>2]+(j<<1)>>1]=0;H[H[b+388>>2]+(j<<2)>>2]=10293;j=f|2;G[H[b+384>>2]+(j<<1)>>1]=0;H[H[b+388>>2]+(j<<2)>>2]=10293;j=f|3;G[H[b+384>>2]+(j<<1)>>1]=0;H[H[b+388>>2]+(j<<2)>>2]=10293;f=f+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}}g=k&3;if(!g){i=0;j=0;break f}while(1){i=0;G[H[b+384>>2]+(f<<1)>>1]=0;H[H[b+388>>2]+(f<<2)>>2]=10293;f=f+1|0;j=0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}H[b+380>>2]=j;H[b+376>>2]=i;H[b+372>>2]=H[a+104>>2]}f=H[a+156>>2];if(f){Ya[f|0](a+108|0)}f=H[a+264>>2];if(f){Ya[f|0](a+216|0)}f=H[a+212>>2];if(f){Ya[f|0](a+164|0)}f=H[a+316>>2];if(f){Ya[f|0](a+268|0)}if(!I[a+100|0]){f=H[a+32>>2];g=H[a+92>>2];if(g){Ya[H[f+8>>2]](f,g)}H[a+92>>2]=0}f=H[a+40>>2];if(f){Ya[f|0](a+16|0)}f=H[a+12>>2];if(f|(c|0)<0){break a}f=6;if(c&65535){break a}H[b+36>>2]=0;H[b+4>>2]=0;H[b+24>>2]=10079;H[b+16>>2]=H[b+420>>2];c=H[b+144>>2];H[b+20>>2]=c;H[b+8>>2]=H[b+8>>2]|(I[b+156|0]?533:529)|2048;r:{if(c){f=H[b+140>>2];if(!f){break r}h=I[f|0];if(!h){break r}while(1){i=h&255;g=I[c|0];s:{if((i|0)==(g|0)){f=f+1|0;c=c+1|0;break s}i=i-32|0;if(!(!i|(i|0)==13)){t:{switch(g-32|0){case 0:case 13:c=c+1|0;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break r;default:break t}}if(g){break r}H[b+24>>2]=f;break r}f=f+1|0}h=I[f|0];if(h){continue}break}break r}c=H[b+364>>2];if(!c){break r}H[b+20>>2]=c}H[b+28>>2]=0;H[b+32>>2]=0;H[a+16>>2]=9;t=a,u=oc(H[H[b+96>>2]+4>>2],10174),H[t+36>>2]=u;H[a+20>>2]=H[b+496>>2];H[a+24>>2]=H[b+500>>2];if(d){H[a+44>>2]=e;H[a+40>>2]=d;H[a+16>>2]=25}f=Lo(H[H[b+96>>2]+4>>2],a+16|0,0,q);if(f){break a}Ko(H[H[b+504>>2]+88>>2]);c=H[b+504>>2];d=H[c+56>>2];H[b+52>>2]=H[c+52>>2];H[b+56>>2]=d;d=H[c+64>>2];H[b+60>>2]=H[c+60>>2];H[b+64>>2]=d;G[b+68>>1]=J[c+68>>1];G[b+70>>1]=J[c+70>>1];G[b+72>>1]=J[c+72>>1];G[b+74>>1]=J[c+74>>1];G[b+76>>1]=J[c+76>>1];G[b+78>>1]=J[c+78>>1];G[b+80>>1]=J[b+158>>1];G[b+82>>1]=J[b+160>>1];d=H[b+152>>2]!=0;H[b+12>>2]=d;if(I[c+12|0]&2){H[b+12>>2]=d|2}if(I[c+8|0]&32){H[b+8>>2]=H[b+8>>2]|32}if(!r){f=0;break a}c=H[n+32>>2];H[a+16>>2]=b;H[a+20>>2]=1970170211;H[a+24>>2]=65539;f=hd(H[c+12>>2],0,a+16|0,0);u:{if(!f){break u}d=f&255;if((d|0)==163){break u}if((d|0)!=7){break a}}G[a+24>>1]=7;f=0;v:{w:{switch(H[b+368>>2]-1|0){case 1:G[a+26>>1]=0;H[a+20>>2]=1094995778;break v;case 3:G[a+26>>1]=1;H[a+20>>2]=1094992453;c=c+4|0;break v;case 0:G[a+26>>1]=2;H[a+20>>2]=1094992451;c=c+8|0;break v;case 2:break w;default:break a}}c=c+12|0;G[a+26>>1]=3;H[a+20>>2]=1818326065}b=H[c>>2];if(!b){break a}f=hd(b,0,a+16|0,0)}Wa=a+336|0;return f|0}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Wa-16|0;Wa=n;c=H[b+4>>2];a:{if(c>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0){break a}h=d-a|0;if(h>>>0<4){break a}g=H[b+12>>2];f=g-4|0;H[b+12>>2]=f;e=1;if((f|0)<=0){e=0;break a}b:{c:{f=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);d:{if((f|0)<=1953658212){if((f|0)==256){break b}if((f|0)==65536|(f|0)==1330926671){break d}break a}if((f|0)==1954115633){break d}if((f|0)==1953784678){break c}if((f|0)!=1953658213){break a}}if(h>>>0<12){e=0;break a}e=g-16|0;H[b+12>>2]=e;if((e|0)<=0){e=0;break a}e=a+4|0;if(e>>>0>>0){e=0;break a}if(d>>>0>>0){e=0;break a}if(d-e>>>0<8){e=0;break a}e=g-24|0;H[b+12>>2]=e;if((e|0)<=0){e=0;break a}f=I[a+4|0]|I[a+5|0]<<8;if(f){a=a+12|0;if(a>>>0>>0){e=0;break a}if(a>>>0>d>>>0){e=0;break a}d=d-a|0;a=((f<<8|f>>>8)&65535)<<4;if(d>>>0>>0){e=0;break a}a=e-a|0;H[b+12>>2]=a;e=0;if((a|0)<=0){break a}}e=1;break a}f=a+4|0;if(f>>>0>>0){e=0;break a}if(d>>>0>>0){e=0;break a}if(d-f>>>0<4){e=0;break a}d=g-8|0;H[b+12>>2]=d;e=0;if((d|0)<=0){break a}e=1;d=I[f|0]|I[f+1|0]<<8;if(((d<<8|d>>>8)&65535)-1>>>0>1){break a}H[n+12>>2]=a;e=0;d=a+8|0;h=H[b+4>>2];e:{f:{if(d>>>0>>0){break f}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break f}c=H[b+12>>2]-4|0;H[b+12>>2]=c;if((c|0)<=0){break f}a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(g>>>0>1073741822){break f}a=1;if(!g){break e}a=d+4|0;if(a>>>0>>0|a>>>0>f>>>0){break f}f=f-a|0;a=g<<2;if(f>>>0>>0){break f}a=c-a|0;H[b+12>>2]=a;if((a|0)<=0){break f}e=1;a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!l){break f}while(1){k=H[n+12>>2];f=0;a=(d+(i<<2)|0)+4|0;g=H[b+4>>2];g:{if(a>>>0>>0){break g}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break g}h=H[b+12>>2];c=h-4|0;H[b+12>>2]=c;if((c|0)<=0){break g}f=F[a|0];c=I[a+3|0]|(I[a+1|0]<<16|f<<24|I[a+2|0]<<8);j=(c|0)!=0&(f|0)<0;f=!j;if(!c|j){break g}c=c+k|0;h:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<12){break h}f=h-16|0;H[b+12>>2]=f;if((f|0)<=0){break h}f=c+4|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<8){break h}h=h-24|0;H[b+12>>2]=h;f=1;if((h|0)<=0){break h}k=I[c+4|0]|I[c+5|0]<<8;if(!k){break g}c=c+12|0;if(c>>>0>>0|c>>>0>e>>>0){break h}c=e-c|0;e=((k<<8|k>>>8)&65535)<<4;if(c>>>0>>0){break h}e=h-e|0;H[b+12>>2]=e;if((e|0)>0){break g}}f=0;e=H[b+28>>2];if(e>>>0>31){break g}H[b+28>>2]=e+1;if(!I[b+24|0]){break g}F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;f=1}e=f;if(!e){break f}i=i+1|0;if((l|0)!=(i|0)){continue}break}}a=e}e=a;break a}f=0;i:{j:{g=H[b+4>>2];k:{if(g>>>0>a>>>0){break k}i=H[b+8>>2];if(i>>>0>>0|i-a>>>0<16){break k}e=H[b+12>>2];d=e-16|0;H[b+12>>2]=d;if((d|0)<=0){break k}e=e-20|0;H[b+12>>2]=e;if((e|0)<=0){break k}d=F[a|0];if((d|0)<0){break k}d=I[a+3|0]|(I[a+1|0]<<16|(d&255)<<24|I[a+2|0]<<8);l:{m:{c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);switch(c+1|0){case 0:break k;case 1:break l;default:break m}}d=a+d|0;if(d>>>0>>0|d>>>0>i>>>0|c>>>0>i-d>>>0){break j}e=e-c|0;H[b+12>>2]=e;if((e|0)<=0){break j}d=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}c=a+4|0;if(c>>>0>>0|c>>>0>i>>>0|i-c>>>0<4){break j}H[b+12>>2]=e-4;if((e|0)<5){break j}e=F[c|0];if((e|0)<0){break k}p=a+d|0;d=0;e=(I[a+7|0]|(I[a+5|0]<<16|(e&255)<<24|I[a+6|0]<<8))+a|0;f=H[b+4>>2];n:{if(e>>>0>>0){break n}a=H[b+8>>2];if(a>>>0>>0|a-e>>>0<28){break n}i=H[b+12>>2];c=i-28|0;H[b+12>>2]=c;if((c|0)<=0){break n}c=e+24|0;if(c>>>0>>0|a>>>0>>0|a-c>>>0<2){break n}c=I[e+24|0]|I[e+25|0]<<8;g=i-30|0;H[b+12>>2]=g;if((g|0)<=0){break n}e=e+((c<<8|c>>>8)&65535)|0;if(f>>>0>e>>>0|a>>>0>>0|a-e>>>0<2){break n}i=i-32|0;H[b+12>>2]=i;if((i|0)<=0){break n}c=f;f=e+2|0;if(c>>>0>f>>>0|a>>>0>>0){break n}f=a-f|0;a=I[e|0]|I[e+1|0]<<8;q=(a<<8|a>>>8)&65535;a=(q<<3)+8|0;if(f>>>0>>0){break n}a=i-a|0;H[b+12>>2]=a;f=0;if((a|0)<=0){break n}while(1){d=0;a=((f<<3)+e|0)+2|0;g=H[b+4>>2];o:{if(a>>>0>>0){break o}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break o}h=H[b+12>>2];i=h-8|0;H[b+12>>2]=i;if((i|0)<=0){break o}i=0;d=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))==1936092788){d=I[a+4|0]|I[a+5|0]<<8;i=((d<<8|d>>>8)&65535)+1|0}p:{a=a+6|0;if(a>>>0>>0|a>>>0>c>>>0|c-a>>>0<2){break p}h=h-10|0;H[b+12>>2]=h;d=1;if((h|0)<=0){break p}if(!i){break o}a=I[a|0]|I[a+1|0]<<8;k=((a<<8|a>>>8)&65535)+e|0;if(g>>>0>k>>>0|c>>>0>>0){break p}d=0;a=N(i,12);if(a>>>0>c-k>>>0){break o}a=h-a|0;H[b+12>>2]=a;l=0;if((a|0)<=0){break p}while(1){d=0;a=0;g=N(l,12)+k|0;q:{if(g>>>0>2]){break q}c=H[b+8>>2];if(c>>>0>>0|c-g>>>0<12){break q}c=H[b+12>>2]-12|0;H[b+12>>2]=c;if((c|0)<=0){break q}c=g+5|0;o=H[b+4>>2];r:{if(c>>>0>>0){break r}h=H[b+8>>2];if(c>>>0>h>>>0|h-c>>>0<3){break r}j=H[b+12>>2];m=j-3|0;H[b+12>>2]=m;if((m|0)<=0){break r}c=p+(I[c+2|0]|(I[c+1|0]<<8|I[c|0]<<16))|0;s:{if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break s}m=j-7|0;H[b+12>>2]=m;d=1;if((m|0)<=0){break s}t:{j=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);switch(j+1|0){case 1:break r;case 0:break s;default:break t}}c=c+4|0;if(c>>>0>>0|c>>>0>h>>>0|j>>>0>h-c>>>0){break s}c=m-j|0;H[b+12>>2]=c;if((c|0)>0){break r}}d=0}if(!d){break q}h=H[b+4>>2];d=(p+(I[g+7|0]|(I[g+6|0]<<8|I[g+5|0]<<16))|0)+4|0;if(h>>>0>d>>>0){break q}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<12){break q}j=H[b+12>>2];g=j-12|0;H[b+12>>2]=g;if((g|0)<=0){break q}g=d+4|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<8){break q}g=j-20|0;H[b+12>>2]=g;if((g|0)<=0){break q}j=I[d+4|0]|I[d+5|0]<<8;if(j){d=d+12|0;if(d>>>0>>0|c>>>0>>0){break q}c=c-d|0;d=((j<<8|j>>>8)&65535)<<4;if(c>>>0>>0){break q}d=g-d|0;H[b+12>>2]=d;if((d|0)<=0){break q}}a=1}d=a;if(!a){break o}l=l+1|0;if((i|0)!=(l|0)){continue}break}break o}d=0}if(!d){break n}a=(f|0)!=(q|0);f=f+1|0;if(a){continue}break}}f=d}e=f;break i}e=0}}Wa=n+16|0;return e}function kx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Wa-16|0;Wa=g;H[g+4>>2]=0;f=H[e+32>>2];i=H[f+100>>2];a:{b:{c:{d:{if(ub(a,11158,7)){break d}e:{c=I[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}H[g+12>>2]=0;d=H[f+88>>2];h=d;d=(c?-8:-7)+b|0;j=d+1|0;h=jb(i,1,h,h+j|0,H[f+84>>2],g+12|0);H[f+84>>2]=h;b=H[g+12>>2];if(!b){n=mb(h+H[f+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,o=10,F[n|0]=o;H[f+88>>2]=j+H[f+88>>2];b=H[g+12>>2]}H[g+4>>2]=b;break c}f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{c=H[e>>2];if(!(c&32)){if(ub(a,11901,5)){break o}p:{switch(I[a+5|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}b=jd(e+40|0,11510,a,b);H[g+4>>2]=b;if(b){break b}b=H[H[e+40>>2]+4>>2];if(!b){break i}a=F[b|0];c=a&255;if(!c|!(I[(c>>>3|0)+24096|0]>>>(a&7)&1)){break i}c=0;q:{r:{while(1){if(c>>>0>=429496728){b=f+48|0;a=K[e+60>>2]/20|0;c=e+4|0;break r}c=I[a+24128|0]+N(c,10)|0;a=F[b+1|0];b=b+1|0;if(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}H[f+48>>2]=c;H[e+4>>2]=c;b=f+48|0;a=K[e+60>>2]/20|0;if(c>>>0<=a>>>0){a=c;break q}c=e+4|0}H[b>>2]=a;H[c>>2]=a}if(!a){break h}if(a>>>0<1114112){break g}b=6;break j}s:{t:{if(ub(a,24294,7)){break t}u:{switch(I[a+7|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}if(!(c&4032)){break s}b=186;break j}v:{if(ub(a,24302,7)){break v}w:{switch(I[a+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break v}}H[e+28>>2]=0;H[e>>2]=c&-4033;break f}d=c&64;if(!(H[H[e+36>>2]+4>>2]?1:!d|H[e+28>>2]!=-1)){break f}x:{if(ub(a,24310,9)){break x}y:{switch(I[a+9|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}if(c&4032){break k}c=H[e+24>>2];if(c){Ya[H[i+8>>2]](i,c)}H[e+24>>2]=0;c=e+40|0;b=jd(c,11510,a,b);H[g+4>>2]=b;if(b){break b}Am(c);a=ym(c,g+8|0);if(!a){break l}c=H[g+8>>2]+1|0;d=jb(i,1,0,c,0,g+4|0);H[e+24>>2]=d;b=H[g+4>>2];if(b){break b}mb(d,a,c);H[e>>2]=H[e>>2]|64;break f}z:{if(ub(a,24320,8)){break z}A:{switch(I[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}if(!d){break k}b=jd(e+40|0,11510,a,b);H[g+4>>2]=b;if(b){break b}c=H[e+40>>2];a=rm(H[c+4>>2]);b=(a|0)>=0;a=b?a:-1;H[e+28>>2]=a;if(!(K[e+48>>2]<3|b)){a=rm(H[c+8>>2]);H[e+28>>2]=a}if(a-1114112>>>0<=4293853182){H[e+28>>2]=-1;break n}if((a|0)<0){break n}b=H[f+52>>2];B:{if((b|0)!=H[f+48>>2]){c=H[f+56>>2];break B}c=jb(i,36,b,b- -64|0,H[f+56>>2],g+4|0);H[f+56>>2]=c;b=H[g+4>>2];if(b){break b}H[f+48>>2]=H[f+48>>2]- -64;b=H[f+52>>2];a=H[e+28>>2]}H[f+52>>2]=b+1;d=H[e+24>>2];b=N(b,36)+c|0;H[b+4>>2]=a;H[b>>2]=d;break m}if(c&128){d=H[e+28>>2]==-1;j=H[f+(d?64:52)>>2]-1|0;h=H[f+(d?68:56)>>2];if(c&2048){d=H[e+8>>2];b=h+N(j,36)|0;if(d>>>0>=J[b+14>>1]){if((c|0)<0){break f}H[e>>2]=c|-2147483648;break f}c=H[b+28>>2];b=H[b+24>>2]+N(c,d)|0;f=0;d=c<<1;C:{if(!d){c=0;break C}D:{while(1){c=f;k=I[c+a|0];f=k<<24>>24;if(!(I[(k>>>3|0)+24368|0]>>>(f&7)&1)){break D}F[b|0]=I[f+24128|0]+(I[b|0]<<4);f=c+1|0;if(!(!(c&1)|d>>>0<=f>>>0)){F[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break C}f=H[e>>2];if(f&1073741824){break C}H[e>>2]=f|1073741824}f=J[(h+N(j,36)|0)+12>>1];if(f){F[b|0]=I[b|0]&I[(N(f,J[H[e+32>>2]+96>>1])&7)+24329|0]}E:{if((c|0)!=(d|0)){break E}a=I[a+d|0];if(!(I[(a>>>3|0)+24368|0]>>>(a&7)&1)){break E}a=H[e>>2];if(a&1073741824){break E}H[e>>2]=a|1073741824}H[e+8>>2]=H[e+8>>2]+1;break f}F:{if(ub(a,24337,6)){break F}G:{switch(I[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}b=jd(e+40|0,11510,a,b);H[g+4>>2]=b;if(b){break b}n=h+N(j,36)|0,o=bf(H[H[e+40>>2]+4>>2]),G[n+8>>1]=o;H[e>>2]=H[e>>2]|256;break f}H:{if(ub(a,24344,6)){break H}I:{switch(I[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}b=jd(e+40|0,11510,a,b);H[g+4>>2]=b;if(b){break b}b=h+N(j,36)|0;c=bf(H[H[e+40>>2]+4>>2]);G[b+10>>1]=c;a=H[e>>2];if(!(a&256)){n=b,o=sb(c&65535,72e3,N(H[f+20>>2],H[f+16>>2])),G[n+8>>1]=o;a=H[e>>2]}H[e>>2]=a|512;break f}J:{if(ub(a,24351,3)){break J}K:{switch(I[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}b=jd(e+40|0,11510,a,b);H[g+4>>2]=b;if(b){break b}a=h+N(j,36)|0;c=H[e+40>>2];d=Eg(H[c+4>>2]);G[a+12>>1]=d;k=Eg(H[c+8>>2]);G[a+14>>1]=k;b=Nf(H[c+12>>2]);G[a+16>>1]=b;c=Nf(H[c+16>>2]);G[a+18>>1]=c;l=0-c|0;G[a+22>>1]=l;c=c+k|0;G[a+20>>1]=c;k=b+d|0;G[e+22>>1]=k;c=c<<16>>16;m=G[e+18>>1];G[e+18>>1]=(c|0)>(m|0)?c:m;c=G[e+20>>1];l=l<<16>>16;G[e+20>>1]=(c|0)>(l|0)?c:l;c=k<<16>>16;k=G[e+16>>1];G[e+16>>1]=(c|0)>(k|0)?c:k;c=G[e+12>>1];G[e+12>>1]=(b|0)<(c|0)?b:c;c=G[e+14>>1];G[e+14>>1]=(b|0)>(c|0)?b:c;b=H[e>>2];if(!(b&512)){G[a+10>>1]=d}L:{if(!H[H[e+36>>2]>>2]){break L}a=h+N(j,36)|0;b=sb(J[a+10>>1],72e3,N(H[f+20>>2],H[f+16>>2]));if(J[a+8>>1]==(b&65535)){b=H[e>>2];break L}G[a+8>>1]=b;b=H[e>>2]|4096}H[e>>2]=b|1024;break f}if(ub(a,24355,6)){break l}M:{switch(I[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break l}}b=183;if(!(c&1024)){break j}a=h+N(j,36)|0;c=N(J[f+96>>1],J[a+12>>1]);b=c+7>>>3|0;H[a+28>>2]=b;N:{if(c>>>0<=524280){a=N(b,J[a+14>>1]);if(a>>>0<65536){break N}}b=184;break j}b=h+N(j,36)|0;G[b+32>>1]=a;n=b,o=jb(i,1,0,a,0,g+4|0),H[n+24>>2]=o;b=H[g+4>>2];if(b){break b}H[e+8>>2]=0;H[e>>2]=H[e>>2]|2048;break f}b=182;break j}Ve(H[f+56>>2],H[f+52>>2],36,5);H[e>>2]=H[e>>2]&-2;H[d>>2]=6;break f}b=180;break j}if(H[H[e+36>>2]+4>>2]){a=H[f+64>>2];O:{if((a|0)!=H[f+60>>2]){c=H[f+68>>2];break O}c=jb(i,36,a,a+4|0,H[f+68>>2],g+4|0);H[f+68>>2]=c;b=H[g+4>>2];if(b){break b}H[f+60>>2]=H[f+60>>2]+4;a=H[f+64>>2]}b=N(a,36)+c|0;H[b>>2]=H[e+24>>2];H[f+64>>2]=a+1;H[b+4>>2]=a;break m}a=H[e+24>>2];if(a){Ya[H[i+8>>2]](i,a)}}H[e+24>>2]=0;H[e>>2]=H[e>>2]&1073741695|128;break f}b=3;break j}b=181}H[g+4>>2]=b;break b}H[f+48>>2]=0;H[e+4>>2]=0;b=f+48|0}a=64;H[b>>2]=64}n=f,o=jb(i,36,0,a,0,g+4|0),H[n+56>>2]=o;b=H[g+4>>2];if(b){break b}H[e>>2]=H[e>>2]|32}b=H[g+4>>2]}if(b){break b}b=0;break a}if(!(I[e|0]&64)){break a}a=H[e+24>>2];if(a){Ya[H[i+8>>2]](i,a)}H[e+24>>2]=0;b=H[g+4>>2]}Wa=g+16|0;return b|0}function nl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=H[b+4>>2];a:{if(l>>>0>a>>>0){break a}e=H[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<12){break a}d=H[b+12>>2]-12|0;H[b+12>>2]=d;if(I[a|0]|I[a+1|0]<<8|(d|0)<=0){break a}c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(c>>>0>f>>>0){break a}d=d-c|0;H[b+12>>2]=d;if((d|0)<=0){break a}c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}else{c=0}n=a+4|0;if(l>>>0>n>>>0){return 0}if(e>>>0>>0){return 0}if(e-n>>>0<4){return 0}H[b+12>>2]=d-4;if((d|0)<5){break a}d=F[a+4|0];e=I[a+7|0]|(I[a+5|0]<<16|d<<24|I[a+6|0]<<8);d=(e|0)!=0&(d|0)<0;q=!d;if(d|!e){break a}q=1;d=a+c|0;c=0;l=Wa-16|0;Wa=l;e=a+e|0;b:{if(e>>>0>2]){break b}a=H[b+8>>2];if(a>>>0>>0){break b}a=a-e|0;if(a>>>0<2){break b}f=H[b+12>>2];h=f-2|0;H[b+12>>2]=h;if((h|0)<=0){break b}c:{d:{e:{f:{g:{h:{h=I[e|0]|I[e+1|0]<<8;switch((h<<8|h>>>8)&65535){case 6:break e;case 4:break f;case 2:break g;case 0:break h;case 10:break b;case 8:break d;default:break c}}H[l+12>>2]=d;c=Uh(e+2|0,b,H[b+36>>2],l+12|0);break b}H[l+12>>2]=d;a=0;i:{e=e+2|0;g=H[b+4>>2];if(e>>>0>>0){break i}c=H[b+8>>2];if(c>>>0>>0|c-e>>>0<10){break i}f=H[b+12>>2]-10|0;H[b+12>>2]=f;if((f|0)<=0){break i}d=I[e|0]|I[e+1|0]<<8;h=(d<<8|d>>>8)&65535;if(h>>>0<6){break i}d=I[e+2|0]|I[e+3|0]<<8;k=(d<<8|d>>>8)&65535;i=N(k,h);if(i){j=g;g=e+10|0;if(j>>>0>g>>>0|c>>>0>>0|i>>>0>c-g>>>0){break i}c=f-i|0;H[b+12>>2]=c;if((c|0)<=0){break i}}c=0;j:{if(!d){break j}a=e+N(h,k-1|0)|0;if((I[a+10|0]|I[a+11|0]<<8)!=65535){break j}c=(I[a+12|0]|I[a+13|0]<<8)==65535?-1:0}a=1;o=c+k|0;if(!o){break i}k=e+10|0;c=0;while(1){h=(d<<8|d>>>8)&65535;g=H[l+12>>2];a=0;j=0;k:{if(!d){break k}d=I[e|0]|I[e+1|0]<<8;d=k+N(h-1|0,(d<<8|d>>>8)&65535)|0;j=0;if((I[d|0]|I[d+1|0]<<8)!=65535){break k}j=(I[d+2|0]|I[d+3|0]<<8)==65535?-1:0}if(j+h>>>0<=c>>>0){d=163632}else{d=I[e|0]|I[e+1|0]<<8;d=k+N((d<<8|d>>>8)&65535,c)|0}h=H[b+4>>2];l:{if(d>>>0>>0){break l}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<6){break l}i=H[b+12>>2];j=i-6|0;H[b+12>>2]=j;if((j|0)<=0){break l}d=d+4|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break l}j=i-8|0;H[b+12>>2]=j;if((j|0)<=0){break l}a=I[d|0]|I[d+1|0]<<8;d=g+((a<<8|a>>>8)&65535)|0;m:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break m}i=i-12|0;H[b+12>>2]=i;if((i|0)<=0){break m}a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(g>>>0>1073741822){break m}a=1;if(!g){break l}d=d+4|0;if(d>>>0>>0|d>>>0>f>>>0){break m}j=f-d|0;d=g<<2;if(j>>>0>>0){break m}d=i-d|0;H[b+12>>2]=d;if((d|0)>0){break l}}a=0}if(!a){break i}c=c+1|0;if((o|0)==(c|0)){break i}d=I[e+2|0]|I[e+3|0]<<8;continue}}c=a;break b}H[l+12>>2]=d;H[l+8>>2]=e;o=l+12|0;d=0;n:{e=e+2|0;g=H[b+4>>2];if(e>>>0>>0){break n}a=H[b+8>>2];if(a>>>0>>0|a-e>>>0<10){break n}f=H[b+12>>2]-10|0;H[b+12>>2]=f;if((f|0)<=0){break n}c=I[e|0]|I[e+1|0]<<8;h=(c<<8|c>>>8)&65535;if(h>>>0<6){break n}c=I[e+2|0]|I[e+3|0]<<8;k=(c<<8|c>>>8)&65535;i=N(k,h);if(i){j=g;g=e+10|0;if(j>>>0>g>>>0|a>>>0>>0|i>>>0>a-g>>>0){break n}a=f-i|0;H[b+12>>2]=a;if((a|0)<=0){break n}}a=0;o:{if(!c){break o}d=e+N(h,k-1|0)|0;if((I[d+10|0]|I[d+11|0]<<8)!=65535){break o}a=(I[d+12|0]|I[d+13|0]<<8)==65535?-1:0}d=1;i=a+k|0;if(!i){break n}h=e+10|0;a=0;while(1){k=(c<<8|c>>>8)&65535;d=0;g=0;p:{if(!c){break p}c=I[e|0]|I[e+1|0]<<8;c=h+N(k-1|0,(c<<8|c>>>8)&65535)|0;g=0;if((I[c|0]|I[c+1|0]<<8)!=65535){break p}g=(I[c+2|0]|I[c+3|0]<<8)==65535?-1:0}if(g+k>>>0<=a>>>0){c=163632}else{c=I[e|0]|I[e+1|0]<<8;c=h+N((c<<8|c>>>8)&65535,a)|0}k=H[b+4>>2];if(c>>>0>>0){break n}f=H[b+8>>2];if(f>>>0>>0|f-c>>>0<6){break n}g=H[l+8>>2];j=H[b+12>>2];m=j-6|0;H[b+12>>2]=m;if((m|0)<=0){break n}m=I[c|0]|I[c+1|0]<<8;m=(m<<8|m>>>8)&65535;p=I[c+2|0]|I[c+3|0]<<8;p=(p<<8|p>>>8)&65535;if(m>>>0

>>0){break n}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break n}f=j-8|0;H[b+12>>2]=f;if((f|0)<=0){break n}c=I[c|0]|I[c+1|0]<<8;if(!Uh(g+((c<<8|c>>>8)&65535)|0,b,(m-p|0)+1|0,o)){break n}d=1;a=a+1|0;if((i|0)==(a|0)){break n}c=I[e+2|0]|I[e+3|0]<<8;continue}}c=d;break b}H[l+12>>2]=d;a=0;q:{e=e+2|0;g=H[b+4>>2];if(e>>>0>>0){break q}d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break q}f=H[b+12>>2]-10|0;H[b+12>>2]=f;if((f|0)<=0){break q}c=I[e|0]|I[e+1|0]<<8;h=(c<<8|c>>>8)&65535;if(h>>>0<4){break q}c=I[e+2|0]|I[e+3|0]<<8;k=(c<<8|c>>>8)&65535;i=N(k,h);if(i){j=g;g=e+10|0;if(j>>>0>g>>>0|d>>>0>>0|i>>>0>d-g>>>0){break q}d=f-i|0;H[b+12>>2]=d;if((d|0)<=0){break q}}if(c){a=e+N(h,k-1|0)|0;d=(I[a+10|0]|I[a+11|0]<<8)==65535?-1:0}else{d=0}a=1;o=d+k|0;if(!o){break q}k=e+10|0;d=0;while(1){f=(c<<8|c>>>8)&65535;g=H[l+12>>2];a=0;if(c){c=I[e|0]|I[e+1|0]<<8;c=k+N(f-1|0,(c<<8|c>>>8)&65535)|0;c=(I[c|0]|I[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+f>>>0<=d>>>0){c=163632}else{c=I[e|0]|I[e+1|0]<<8;c=k+N((c<<8|c>>>8)&65535,d)|0}h=H[b+4>>2];r:{if(c>>>0>>0){break r}f=H[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break r}i=H[b+12>>2];j=i-4|0;H[b+12>>2]=j;if((j|0)<=0){break r}c=c+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break r}j=i-6|0;H[b+12>>2]=j;if((j|0)<=0){break r}a=I[c|0]|I[c+1|0]<<8;c=g+((a<<8|a>>>8)&65535)|0;s:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break s}i=i-10|0;H[b+12>>2]=i;if((i|0)<=0){break s}a=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(g>>>0>1073741822){break s}a=1;if(!g){break r}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0){break s}j=f-c|0;c=g<<2;if(j>>>0>>0){break s}c=i-c|0;H[b+12>>2]=c;if((c|0)>0){break r}}a=0}if(!a){break q}d=d+1|0;if((o|0)==(d|0)){break q}c=I[e+2|0]|I[e+3|0]<<8;continue}}c=a;break b}H[l+12>>2]=d;if(a>>>0<6){break b}a=f-8|0;H[b+12>>2]=a;if((a|0)<=0){break b}a=I[e+4|0]|I[e+5|0]<<8;c=Uh(e+6|0,b,(a<<8|a>>>8)&65535,l+12|0);break b}c=1}Wa=l+16|0;if(c){break a}q=0;a=H[b+28>>2];if(a>>>0>31){break a}H[b+28>>2]=a+1;if(!I[b+24|0]){break a}F[n|0]=0;F[n+1|0]=0;F[n+2|0]=0;F[n+3|0]=0;q=1}return q}function wJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-16|0;Wa=j;a:{if(!a){break a}o=-1;b:{if(!a|!(I[a+8|0]&8)){break b}i=H[a+96>>2];h=H[H[i>>2]+32>>2];if(!h){break b}i=Ya[h|0](i,9632)|0;if(!i){break b}l=Ya[H[i+4>>2]](a,2)|0}c:{if(!l|J[l>>1]==65535){break c}i=H[l+80>>2];if(i|H[l+84>>2]?(i|0)>=0:0){break c}i=H[a+36>>2];if((i|0)<=0){break c}h=H[a+40>>2];while(1){n=H[h+(b<<2)>>2];if(!(J[n+10>>1]|J[n+8>>1]!=3)){o=b;break c}b=b+1|0;if((i|0)!=(b|0)){continue}break}}b=H[a+8>>2]&8;p=G[(b?202:70)+a>>1];q=G[(b?198:72)+a>>1];H[j+12>>2]=0;H[j+8>>2]=0;n=Wa-16|0;Wa=n;i=a;b=H[a+20>>2];while(1){d:{a=I[b+d|0];e:{if((a|0)!=63){if(a){break e}f:{g:{if(I[b|0]!=60|d>>>0<7|(I[b+1|0]!=117|I[b+2|0]!=116)){break g}if(I[b+3|0]!=102|I[b+4|0]!=56|I[b+5|0]!=62){break g}e=0;H[j+8>>2]=0;a=d-5|0;h=Rc((a|0)!=(a&1073741823)?-1:a<<2);H[j+12>>2]=h;c=6;while(1){a=b+c|0;f=I[a|0];h:{if(!(f&128)){a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=f;c=c+1|0;break h}if(!(f&32)){g=0;a=c+1|0;if(a>>>0>>0){g=f<<6&1984|I[a+b|0]&63}a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=g;c=c+2|0;break h}if(!(f&16)){g=0;m=c+2|0;if(m>>>0>>0){g=I[b+m|0]&63|(f<<12&61440|(I[a+1|0]&63)<<6)}a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=g;c=c+3|0;break h}if(!(f&15)){g=0;m=c+3|0;if(m>>>0>>0){g=I[b+m|0]&63|(f<<18&1835008|(I[a+1|0]&63)<<12|(I[a+2|0]&63)<<6)}a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=g;c=c+4|0;break h}if(!(f&8)){g=0;m=c+3|0;if(m>>>0>>0){g=I[b+m|0]&63|(f<<18&1835008|(I[a+1|0]&63)<<12|(I[a+2|0]&63)<<6)}a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=g;c=c+4|0;break h}if(!(f&4)){g=0;m=c+4|0;if(m>>>0>>0){g=I[b+m|0]&63|(f<<24&50331648|(I[a+1|0]&63)<<18|(I[a+2|0]&63)<<12|(I[a+3|0]&63)<<6)}a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=g;c=c+5|0;break h}g=0;c=c+5|0;if(d>>>0>c>>>0){g=I[b+c|0]&63|(f<<30&1073741824|(I[a+1|0]&63)<<24|(I[a+2|0]&63)<<18|(I[a+3|0]&63)<<12|(I[a+4|0]&63)<<6)}a=e+1|0;H[j+8>>2]=a;H[h+(e<<2)>>2]=g}e=a;if(c>>>0>>0){continue}break}H[h+(e<<2)>>2]=0;break f}if(!(e&1)){H[j+8>>2]=d;a=d+1|0;a=Rc((a|0)!=(a&1073741823)?-1:a<<2);H[j+12>>2]=a;i:{if(!d){break i}if(d-1>>>0>=3){e=d&-4;while(1){H[a+(c<<2)>>2]=F[b+c|0];h=c|1;H[a+(h<<2)>>2]=F[b+h|0];h=c|2;H[a+(h<<2)>>2]=F[b+h|0];h=c|3;H[a+(h<<2)>>2]=F[b+h|0];c=c+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}e=d&3;if(!e){break i}while(1){H[a+(c<<2)>>2]=F[b+c|0];c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}H[a+(d<<2)>>2]=0;break f}j:{k:{if(!i|!(I[i+8|0]&8)){break k}f=J[i+340>>1];if(!f){break k}h=H[i+356>>2];while(1){a=h+N(c,20)|0;l:{if(J[a+6>>1]!=1){break l}m=J[a+8>>1];if(!m){break l}m:{switch(J[a>>1]){case 3:e=J[a+2>>1];if(e>>>0>10|!(1<>2];e=H[i+100>>2];H[n+12>>2]=0;r=a,s=jb(e,1,0,m,0,n+12|0),H[r+16>>2]=s;n:{if(H[n+12>>2]){break n}m=ob(g,H[a+12>>2]);H[n+12>>2]=m;if(m){break n}g=ec(g,H[a+16>>2],J[a+8>>1]);H[n+12>>2]=g;if(!g){break j}}g=H[a+16>>2];if(g){Ya[H[e+8>>2]](e,g)}H[a+16>>2]=0;G[a+8>>1]=0}c=c+1|0;if((f|0)!=(c|0)){continue}break}}H[j+8>>2]=d;a=d+1|0;a=Rc((a|0)!=(a&1073741823)?-1:a<<2);H[j+12>>2]=a;o:{if(!d){break o}f=0;c=0;if(d-1>>>0>=3){e=d&-4;g=0;while(1){H[a+(c<<2)>>2]=F[b+c|0];h=c|1;H[a+(h<<2)>>2]=F[b+h|0];h=c|2;H[a+(h<<2)>>2]=F[b+h|0];h=c|3;H[a+(h<<2)>>2]=F[b+h|0];c=c+4|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}e=d&3;if(!e){break o}while(1){H[a+(c<<2)>>2]=F[b+c|0];c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}H[a+(d<<2)>>2]=0;break f}f=H[a+16>>2];a=J[a+8>>1];c=0;H[j+12>>2]=0;H[j+8>>2]=0;if(a){b=a+1|0;H[j+8>>2]=b;r=j,s=Rc((b|0)!=(b&1073741823)?-1:b<<2),H[r+12>>2]=s;H[j+8>>2]=0;if((a|0)!=1){b=a>>>1|0;g=H[j+12>>2];e=0;while(1){d=I[f+1|0]|I[f|0]<<8;p:{if(d-56320>>>0<4294966272){c=2;a=1;break p}d=(d<<10&1047552|(I[f+3|0]|I[f+2|0]<<8&768))+65536|0;c=4;a=2}h=H[j+8>>2];H[j+8>>2]=h+1;H[g+(h<<2)>>2]=d;f=c+f|0;e=a+e|0;if(b>>>0>e>>>0){continue}break}c=H[j+8>>2]}H[H[j+12>>2]+(c<<2)>>2]=0}}Wa=n+16|0;break d}e=1}d=d+1|0;continue}break}f=H[j+8>>2];c=H[i+24>>2];h=wb(c);g=H[i+28>>2];e=tb(((f+h|0)+g<<2)+124|0);H[e>>2]=J[i+68>>1];H[e+4>>2]=G[i+70>>1];H[e+8>>2]=G[i+72>>1];H[e+12>>2]=G[i+74>>1];H[e+16>>2]=H[i+8>>2];H[e+20>>2]=H[i>>2];H[e+24>>2]=H[i+16>>2];H[e+28>>2]=H[i+36>>2];H[e+32>>2]=H[i+12>>2];H[e+36>>2]=H[i+4>>2];b=e+40|0;q:{if(!f){break q}a=H[j+12>>2];if(f-1>>>0>=3){m=f&-4;d=0;while(1){n=k<<2;H[b>>2]=H[n+a>>2];H[b+4>>2]=H[a+(n|4)>>2];H[b+8>>2]=H[a+(n|8)>>2];H[b+12>>2]=H[a+(n|12)>>2];k=k+4|0;b=b+16|0;d=d+4|0;if((m|0)!=(d|0)){continue}break}}f=f&3;if(!f){break q}d=0;while(1){H[b>>2]=H[a+(k<<2)>>2];k=k+1|0;b=b+4|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}k=0;H[b>>2]=0;a=b+4|0;r:{if(!h){break r}if(h-1>>>0>=3){f=h&-4;d=0;while(1){b=a;H[a>>2]=F[c+k|0];H[a+4>>2]=F[c+(k|1)|0];H[a+8>>2]=F[c+(k|2)|0];H[a+12>>2]=F[c+(k|3)|0];a=a+16|0;k=k+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}b=b+12|0}f=h&3;if(!f){break r}d=0;while(1){b=a;H[a>>2]=F[c+k|0];a=a+4|0;k=k+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}k=0;H[a>>2]=0;s:{if(l){H[b+8>>2]=J[l>>1];H[b+12>>2]=J[l+4>>1];H[b+16>>2]=J[l+64>>1];H[b+20>>2]=J[l+76>>1];H[b+24>>2]=J[l+78>>1];H[b+28>>2]=J[l+92>>1];H[b+32>>2]=G[l+70>>1];H[b+36>>2]=G[l+72>>1];H[b+40>>2]=G[l+74>>1];H[b+44>>2]=H[l+44>>2];H[b+48>>2]=H[l+48>>2];H[b+52>>2]=H[l+52>>2];d=H[l+84>>2];k=H[l+56>>2];a=H[l+80>>2];break s}H[b+12>>2]=0;H[b+16>>2]=0;H[b+8>>2]=65535;H[b+20>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b+36>>2]=0;H[b+40>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+52>>2]=0;d=0;a=0}H[b+80>>2]=g;H[b+76>>2]=p;H[b+72>>2]=q;H[b+68>>2]=o;H[b+64>>2]=d;H[b+60>>2]=a;H[b+56>>2]=k;t:{if((g|0)<=0){break t}c=g&3;b=b+84|0;i=H[i+32>>2];d=0;u:{if(g-1>>>0<3){k=0;break u}g=g&-4;k=0;a=0;while(1){o=k<<4;H[b>>2]=H[(o+i|0)+4>>2];H[b+4>>2]=H[(i+(o|16)|0)+4>>2];H[b+8>>2]=H[(i+(o|32)|0)+4>>2];H[b+12>>2]=H[(i+(o|48)|0)+4>>2];k=k+4|0;b=b+16|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}}if(!c){break t}while(1){H[b>>2]=H[(i+(k<<4)|0)+4>>2];k=k+1|0;b=b+4|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}a=H[j+12>>2];if(!a){break a}hb(a)}Wa=j+16|0;return e|0}function ds(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=1;a:{b:{switch(c-1|0){case 0:c:{d:{e=H[b+4>>2];if(e>>>0>a>>>0){break d}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break d}f=H[b+12>>2];g=f-2|0;H[b+12>>2]=g;c=1;if((g|0)<=0){break d}e:{f:{g:{g=I[a|0]|I[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break e}}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break d}d=f-4|0;H[b+12>>2]=d;if((d|0)<=0){break d}d=I[c|0]|I[c+1|0]<<8;h:{if(!d){break h}if(nc(((d<<8|d>>>8)&65535)+a|0,b)){break h}d=H[b+28>>2];if(d>>>0>31){break d}H[b+28>>2]=d+1;if(!I[b+24|0]){break d}F[c|0]=0;F[c+1|0]=0}a=a+4|0;if(a>>>0>2]){break d}d=H[b+8>>2];if(d>>>0>>0){break d}c=0;if(d-a>>>0<2){break e}a=H[b+12>>2]-2|0;H[b+12>>2]=a;c=(a|0)>0;break c}d=0;c=a+2|0;i:{if(c>>>0>2]){break i}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break i}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break i}e=I[c|0]|I[c+1|0]<<8;j:{if(!e){break j}if(nc(((e<<8|e>>>8)&65535)+a|0,b)){break j}e=H[b+28>>2];if(e>>>0>31){break i}H[b+28>>2]=e+1;if(!I[b+24|0]){break i}F[c|0]=0;F[c+1|0]=0}g=H[b+4>>2];e=a+4|0;if(g>>>0>e>>>0){break i}c=H[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break i}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break i}f=I[a+4|0]|I[a+5|0]<<8;if(f){a=a+6|0;if(a>>>0>>0|a>>>0>c>>>0){break i}c=c-a|0;a=((f<<8|f>>>8)&65535)<<1;if(c>>>0>>0){break i}a=e-a|0;H[b+12>>2]=a;if((a|0)<=0){break i}}d=1}c=d}break c}c=0}return c;case 1:return cs(a,b);case 2:return cs(a,b);case 3:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}d=0;c=a+2|0;k:{l:{if(c>>>0>2]){break l}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break l}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break l}e=I[c|0]|I[c+1|0]<<8;m:{if(!e){break m}if(nc(((e<<8|e>>>8)&65535)+a|0,b)){break m}e=H[b+28>>2];if(e>>>0>31){break l}H[b+28>>2]=e+1;if(!I[b+24|0]){break l}F[c|0]=0;F[c+1|0]=0}i=H[b+4>>2];c=a+4|0;if(i>>>0>c>>>0){break l}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break l}f=H[b+12>>2]-2|0;H[b+12>>2]=f;if((f|0)<=0){break l}g=I[a+4|0]|I[a+5|0]<<8;c=1;if(!g){break k}c=a+6|0;if(c>>>0>>0|c>>>0>e>>>0){break l}h=e-c|0;c=(g<<8|g>>>8)&65535;e=c<<1;if(h>>>0>>0){break l}e=f-e|0;H[b+12>>2]=e;if((e|0)<=0){break l}n=c>>>0>1?c:1;c=0;while(1){j=H[b+4>>2];i=((c<<1)+a|0)+6|0;d=0;n:{if(j>>>0>i>>>0){break n}g=H[b+8>>2];d=0;if(g>>>0>>0){break n}d=0;if(g-i>>>0<2){break n}h=H[b+12>>2];f=h-2|0;H[b+12>>2]=f;e=1;d=0;if((f|0)<=0){break n}d=I[i|0]|I[i+1|0]<<8;o:{if(!d){break o}p:{f=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>>0|f>>>0>g>>>0|g-f>>>0<2){break p}d=h-4|0;H[b+12>>2]=d;if((d|0)<=0){break p}h=I[f|0]|I[f+1|0]<<8;if(!h){break o}e=f+2|0;if(e>>>0>>0|e>>>0>g>>>0){break p}j=g-e|0;e=(h<<8|h>>>8)&65535;g=e<<1;if(j>>>0>>0){break p}d=d-g|0;H[b+12>>2]=d;if((d|0)<=0){break p}o=e>>>0>1?e:1;l=0;while(1){m=H[b+4>>2];j=(f+(l<<1)|0)+2|0;d=0;q:{if(m>>>0>j>>>0){break q}g=H[b+8>>2];d=0;if(g>>>0>>0){break q}d=0;if(g-j>>>0<2){break q}k=H[b+12>>2];h=k-2|0;H[b+12>>2]=h;e=1;d=0;if((h|0)<=0){break q}d=I[j|0]|I[j+1|0]<<8;r:{if(!d){break r}d=f+((d<<8|d>>>8)&65535)|0;s:{if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<2){break s}e=k-4|0;H[b+12>>2]=e;if((e|0)<=0){break s}h=d+2|0;if(h>>>0>>0|g>>>0>>0|g-h>>>0<2){break s}k=k-6|0;H[b+12>>2]=k;e=1;if((k|0)<=0){break s}h=I[h|0]|I[h+1|0]<<8;if(!h){break r}h=((h<<8|h>>>8)&65535)-1|0;if(!h){break r}d=d+4|0;if(d>>>0>>0|d>>>0>g>>>0){break s}g=g-d|0;d=h<<1;if(g>>>0>>0){break s}d=k-d|0;H[b+12>>2]=d;if((d|0)>0){break r}}e=H[b+28>>2];d=0;if(e>>>0>31){break q}H[b+28>>2]=e+1;e=0;if(!I[b+24|0]){break r}F[j|0]=0;F[j+1|0]=0;e=1}d=e}if(!d){break p}e=1;l=l+1|0;if((o|0)!=(l|0)){continue}break}break o}e=H[b+28>>2];d=0;if(e>>>0>31){break n}H[b+28>>2]=e+1;e=0;if(!I[b+24|0]){break o}F[i|0]=0;F[i+1|0]=0;e=1}d=e}if(!d){break l}c=c+1|0;if((n|0)!=(c|0)){continue}break}}c=d}return c;case 4:d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;t:{u:{v:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break a}}return bs(a,b)}return as(a,b)}return $r(a,b);case 5:return _r(a,b);case 6:c=0;w:{if(K[b+4>>2]>a>>>0){break w}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break w}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break w}c=1;if((I[a|0]|I[a+1|0]<<8)!=256){break w}c=0;x:{if(K[b+4>>2]>a>>>0){break x}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break x}d=H[b+12>>2]-8|0;H[b+12>>2]=d;if((d|0)<=0){break x}d=I[a+2|0]|I[a+3|0]<<8;if((d|0)==1792){break x}c=a;a=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=ds(a?c+a|0:163632,b,(d<<8|(d&65280)>>>8)&65535)}}return c;case 7:break b;default:break a}}d=0;if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}d=Wa-16|0;Wa=d;c=a+2|0;y:{if(c>>>0>2]){break y}f=H[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break y}f=H[b+12>>2]-2|0;H[b+12>>2]=f;if((f|0)<=0){break y}f=I[c|0]|I[c+1|0]<<8;z:{if(!f){break z}if(nc(((f<<8|f>>>8)&65535)+a|0,b)){break z}f=H[b+28>>2];if(f>>>0>31){break y}H[b+28>>2]=f+1;if(!I[b+24|0]){break y}F[c|0]=0;F[c+1|0]=0}H[d+12>>2]=a;f=a+4|0;if(!gg(f,b,d+12|0)){break y}c=I[a+4|0]|I[a+5|0]<<8;H[d+8>>2]=a;a=(f+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!gg(a,b,d+8|0)){break y}i=H[b+4>>2];c=I[a|0]|I[a+1|0]<<8;a=(a+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(i>>>0>a>>>0){break y}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break y}f=H[b+12>>2]-2|0;H[b+12>>2]=f;if((f|0)<=0){break y}g=I[a|0]|I[a+1|0]<<8;if(g){a=a+2|0;if(a>>>0>>0|a>>>0>c>>>0){break y}c=c-a|0;a=((g<<8|g>>>8)&65535)<<1;if(c>>>0>>0){break y}a=f-a|0;H[b+12>>2]=a;if((a|0)<=0){break y}}e=1}Wa=d+16|0;d=e}return d}function wx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Ed(H[H[b+96>>2]+4>>2],9005);if(!f){return 11}g=ob(a,0);a:{if(g){break a}g=Ya[H[f+4>>2]](a,b,c,d,e)|0;if(g){break a}j=H[b+104>>2];g=2;a=H[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}H[b+8>>2]=H[b+8>>2]|2048;g=0;if((c|0)<0){break a}g=Ya[H[f+8>>2]](j,b,c,d,e)|0;if(g){break a}l=Wa-128|0;Wa=l;c:{d:{if(!b){break d}a=H[b+20>>2];if(a){i=1;if(Xb(a,96928)){break c}if(Xb(a,96948)){break c}if(Xb(a,96968)){break c}if(Xb(a,96988)){break c}if(Xb(a,97008)){break c}if(Xb(a,97028)){break c}if(Xb(a,97048)){break c}if(Xb(a,97068)){break c}if(Xb(a,97088)){break c}if(Xb(a,97108)){break c}if(Xb(a,97128)){break c}if(Xb(a,97148)){break c}if(Xb(a,97168)){break c}if(Xb(a,97188)){break c}if(Xb(a,97208)){break c}if(Xb(a,97228)){break c}if(Xb(a,97248)){break c}if(Xb(a,97268)){break c}if(Xb(a,97288)){break c}if(Xb(a,97308)){break c}if(Xb(a,97328)){break c}if(Xb(a,97348)){break c}if(Xb(a,97368)){break c}if(Xb(a,97388)){break c}if(Xb(a,97408)){break c}if(Xb(a,97428)){break c}}f=kb(l,0,116);e:{f:{a=J[b+152>>1];if(!a){break f}d=0;while(1){i=0;e=1;g=0;h=H[b+156>>2];n=m<<4;k=H[h+n>>2];g:{if((k|0)!=1668707360){h:{if((k|0)!=1886545264){if((k|0)!=1718642541){break g}g=1;break h}g=2}e=d}a=0;while(1){d=h+n|0;p=N(i,24)+(g<<3)|0;if(H[d+12>>2]==H[p+97460>>2]){i:{if(a){break i}h=H[b+516>>2];if(!h){a=0;break i}a=0;if(Ya[h|0](b,H[d>>2],H[b+104>>2],0)|0){break i}k=H[b+104>>2];h=H[(H[b+156>>2]+n|0)+12>>2];if(Nb(k,h)){break i}if(h>>>0>3){while(1){a=uc(k)+a|0;h=h-4|0;if(h>>>0>3){continue}break}}d=3;if(h){while(1){o=a;a=H[k+32>>2];if(a>>>0>2]){H[k+32>>2]=a+1;a=F[a|0]}else{a=0}a=o+((a<<24>>24&255)<<(d<<3))|0;d=d-1|0;h=h-1|0;if(h){continue}break}}Db(k)}d=f+(i<<2)|0;h=H[d>>2];if(H[p+97456>>2]==(a|0)){h=h+1|0;H[d>>2]=h}if((h|0)==3){break e}}i=i+1|0;if((i|0)!=29){h=H[b+156>>2];continue}break}a=J[b+152>>1];d=e}m=m+1|0;if(m>>>0>>0){continue}break}if(!(d&255)){break f}i=1;if(H[f>>2]==3|H[f+4>>2]==3|(H[f+8>>2]==3|H[f+12>>2]==3)){break c}if(H[f+16>>2]==3|H[f+20>>2]==3|(H[f+24>>2]==3|H[f+28>>2]==3)){break c}if(H[f+32>>2]==3|H[f+36>>2]==3|(H[f+40>>2]==3|H[f+44>>2]==3)){break c}if(H[f+48>>2]==3|H[f+52>>2]==3|(H[f+56>>2]==3|H[f+60>>2]==3)){break c}if(H[f+64>>2]==3|H[f+68>>2]==3|(H[f+72>>2]==3|H[f+76>>2]==3)){break c}if(H[f+80>>2]==3|H[f+84>>2]==3|(H[f+88>>2]==3|H[f+92>>2]==3)){break c}if(H[f+96>>2]==3|H[f+100>>2]==3|(H[f+104>>2]==3|H[f+108>>2]==3)){break c}if(H[f+112>>2]==3){break c}break d}i=0;while(1){d=f+(i<<2)|0;a=H[d>>2];if(i-16>>>0<=11){a=a+1|0;H[d>>2]=a}if((a|0)==3){break e}a=i|1;if((a|0)==29){break d}d=f+(a<<2)|0;a=H[d>>2];if(i-15>>>0<=11){a=a+1|0;H[d>>2]=a}if((a|0)==3){break e}i=i+2|0;continue}}i=1;break c}i=0}Wa=l+128|0;if(i){H[b+8>>2]=H[b+8>>2]|8192}d=0;f=Wa-16|0;Wa=f;k=H[j+28>>2];j:{if(Ya[H[b+516>>2]](b,1751412088,j,f+8|0)|0){break j}a=H[f+8>>2];if(a>>>0<8){break j}h=b+768|0;a=Jc(j,a,h);H[f+12>>2]=a;k:{if(a){break k}l:{m:{e=H[h>>2];a=I[e+2|0]<<8|I[e+3|0];if(a>>>0<=255){l=H[f+8>>2];g=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);i=g>>>0>4294901759?g&65535:g;if(!a|i-65538>>>0>4294901761){break m}}H[f+12>>2]=3;break l}q=b,r=jb(k,1,0,a,0,f+12|0),H[q+784>>2]=r;if(H[f+12>>2]){break l}n:{if(!a){break n}g=e+8|0;h=e+l|0;while(1){e=g+i|0;if(e>>>0>h>>>0){break n}F[H[b+784>>2]+d|0]=I[g|0];g=e;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}H[b+776>>2]=d;a=H[f+8>>2];H[b+780>>2]=i;H[b+772>>2]=a;break k}bc(j,h);H[b+772>>2]=0}d=H[f+12>>2]}Wa=f+16|0;g=d;if(d){break a}g=0;o:{if(!(F[b+8|0]&1)){break o}p:{if(H[H[b+128>>2]+52>>2]){break p}g=Wa-16|0;Wa=g;d=Ya[H[b+516>>2]](b,1735162214,j,b+724|0)|0;q:{r:{if((d&255)==142){H[b+724>>2]=0;a=0;break r}if(d){break q}a=0;if(H[H[b+128>>2]+52>>2]){break r}a=H[j+8>>2]}H[b+728>>2]=a;d=144;if(Ya[H[b+516>>2]](b,1819239265,j,g+12|0)|0){break q}a=H[g+12>>2];s:{if(J[b+210>>1]){e=2;if(a>>>0>=262144){H[g+12>>2]=262143;a=262143}break s}e=1;if(a>>>0>=131072){H[g+12>>2]=131071;a=131071}}d=a>>>e|0;H[b+760>>2]=d;f=H[b+16>>2];t:{if(f>>>0>>0){break t}o=d;d=f+1|0;if((o|0)==(d|0)){break t}a=d<>2];f=H[j+8>>2];d=J[b+152>>1];u:{if(d){k=(d<<4)+e|0;d=2147483647;i=0;while(1){h=H[e+8>>2]-f|0;l=(h|0)>0&(d|0)>(h|0);i=l?1:i;d=l?h:d;e=e+16|0;if(k>>>0>e>>>0){continue}break}if(i&255){break u}}d=H[j+4>>2]-f|0}if(a>>>0<=d>>>0){H[b+760>>2]=H[b+16>>2]+1;H[g+12>>2]=a;break t}a=H[b+760>>2];H[b+16>>2]=a?a-1|0:0;a=H[g+12>>2]}d=Jc(j,a,b+764|0)}Wa=g+16|0;g=d;if(H[b+724>>2]){if(g){break a}if((g&255)!=142){break p}break a}if(g){break a}}g=xm(b,j);if((g&255)!=142?g:0){break a}a=Wa-16|0;Wa=a;v:{if(Ya[H[b+516>>2]](b,1718642541,j,a+12|0)|0){H[b+684>>2]=0;H[b+688>>2]=0;g=0;break v}d=H[a+12>>2];H[b+684>>2]=d;g=Jc(j,d,b+688|0)}Wa=a+16|0;if((g&255)!=142?g:0){break a}a=Wa-16|0;Wa=a;w:{if(Ya[H[b+516>>2]](b,1886545264,j,a+12|0)|0){H[b+692>>2]=0;H[b+696>>2]=0;g=0;break w}d=H[a+12>>2];H[b+692>>2]=d;g=Jc(j,d,b+696|0)}Wa=a+16|0;if((g&255)!=142?g:0){break a}if(!H[b+764>>2]|(H[H[b+128>>2]+52>>2]|!H[b+28>>2])){break o}a=0;d=0;f=Wa-16|0;Wa=f;e=0;x:{if(!H[b+760>>2]){break x}while(1){ai(b,a,f+12|0);y:{if(!H[f+12>>2]){break y}i=e-1|0;e=1;d=a;if(i>>>0>=4294967294){break y}e=0;break x}a=a+1|0;if(a>>>0>2]){continue}break}a=!e;e=0;if(a){break x}e=1;if(!d){break x}e=0;if(eo(b,d,f+4|0,8)|I[f+4|0]!=46){break x}e=(I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24))==1953459758&(I[f+8|0]|I[f+9|0]<<8|(I[f+10|0]<<16|I[f+11|0]<<24))==6710628}Wa=f+16|0;if(!e){break o}H[b+8>>2]=H[b+8>>2]&-2}if(!(!(H[b+8>>2]&256)|c>>>0<65536)){g=wm(b,c>>>16|0);if(g){break a}vm(b);g=0}H[b+528>>2]=75;H[b+536>>2]=76;H[b+532>>2]=77;H[b+520>>2]=78;H[b+524>>2]=79}return g|0}function Gr(a,b,c){var d=0,e=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a;f:{g:{h:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break h}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break f}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=733;break a}c=a;i:{j:{k:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break k}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break i}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=734;break a;case 1:l:{m:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break b}}c=a;n:{o:{p:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break o}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break p}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break n}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=735;break a}c=a;q:{r:{s:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break r}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break s}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break q}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=736;break a;case 2:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;t:{u:{v:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break u}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break v}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break t}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=737;break a;case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;w:{x:{y:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break x}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break y}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break w}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=738;break a;case 4:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;z:{A:{B:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break A}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break B}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break z}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=739;break a;case 5:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;C:{D:{E:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break D}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break E}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break C}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=740;break a;case 6:F:{G:{H:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break F;case 1:break G;case 0:break H;default:break b}}Wr(b,a);return}Vr(b,a);return}Ur(b,a);return;case 7:I:{J:{K:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break I;case 1:break J;case 0:break K;default:break b}}Tr(b,a);return}Sr(b,a);return}Rr(b,a);return;case 8:break c;default:break b}}if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;Gr(c,b,(a<<8|a>>>8)&65535)}}return}H[a>>2]=c;H[a+16>>2]=0;a=a+8|0;b=I[c+2|0]|I[c+3|0]<<8;L:{if(!b){Ic(163632,a);break L}Ic(((b<<8|b>>>8)&65535)+c|0,a)}}function PI(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;l=Wa-560|0;Wa=l;H[l+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;w=238047;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;w=238050;break a}s=e&1;w=s?238053:238048;z=!s}b:{if((g&2146435072)==2146435072){d=s+3|0;Oc(a,32,c,d,e&-65537);Gc(a,w,s);f=f&32;Gc(a,b!=b?f?238595:239265:f?238813:239297,3);Oc(a,32,c,d,e^8192);i=(c|0)<(d|0)?d:c;break b}u=l+16|0;c:{d:{e:{b=Fq(b,l+44|0);b=b+b;if(b!=0){g=H[l+44>>2];H[l+44>>2]=g-1;r=f|32;if((r|0)!=97){break e}break c}r=f|32;if((r|0)==97){break c}k=H[l+44>>2];m=(d|0)<0?6:d;break d}k=g-29|0;H[l+44>>2]=k;b=b*268435456;m=(d|0)<0?6:d}p=(k|0)<0?l+48|0:l+336|0;h=p;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}H[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;j=p;break f}j=p;d=k;while(1){d=(d|0)<29?d:29;g=h-4|0;g:{if(j>>>0>g>>>0){break g}i=0;while(1){o=H[g>>2];n=d&31;x=i;if((d&63)>>>0>=32){i=o<>>32-n;o=o<>>0>>0?i+1|0:i;i=JM(n,i,1e9,0);o=HM(i,Xa,1e9,0);H[g>>2]=n-o;g=g-4|0;if(j>>>0<=g>>>0){continue}break}if(!i){break g}j=j-4|0;H[j>>2]=i}while(1){g=h;if(j>>>0>>0){h=g-4|0;if(!H[h>>2]){continue}}break}d=H[l+44>>2]-d|0;H[l+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((m+25>>>0)/9|0)+1|0;n=(r|0)==102;while(1){d=0-d|0;i=(d|0)<9?d:9;h:{if(g>>>0<=j>>>0){h=H[j>>2];break h}o=1e9>>>i|0;y=-1<>2];H[h>>2]=x+(d>>>i|0);d=N(o,d&y);h=h+4|0;if(h>>>0>>0){continue}break}h=H[j>>2];if(!d){break h}H[g>>2]=d;g=g+4|0}d=i+H[l+44>>2]|0;H[l+44>>2]=d;j=(!h<<2)+j|0;h=n?p:j;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=j>>>0){break i}d=N(p-j>>2,9);h=10;i=H[j>>2];if(i>>>0<10){break i}while(1){d=d+1|0;h=N(h,10);if(i>>>0>=h>>>0){continue}break}}h=(m-((r|0)==102?0:d)|0)-((r|0)==103&(m|0)!=0)|0;if((h|0)<(N(g-p>>2,9)-9|0)){i=h+9216|0;n=(i|0)/9|0;k=((((k|0)<0?4:292)+l|0)+(n<<2)|0)-4048|0;h=10;i=i-N(n,9)|0;if((i|0)<=7){while(1){h=N(h,10);i=i+1|0;if((i|0)!=8){continue}break}}n=H[k>>2];t=(n>>>0)/(h>>>0)|0;i=n-N(h,t)|0;o=k+4|0;j:{if(!i&(o|0)==(g|0)){break j}k:{if(!(t&1)){b=9007199254740992;if(!(F[k-4|0]&1)|((h|0)!=1e9|j>>>0>=k>>>0)){break k}}b=9007199254740994}q=(g|0)==(o|0)?1:1.5;o=h>>>1|0;q=i>>>0>>0?.5:(o|0)==(i|0)?q:1.5;if(!(I[w|0]!=45|z)){q=-q;b=-b}i=n-i|0;H[k>>2]=i;if(b+q==b){break j}d=h+i|0;H[k>>2]=d;if(d>>>0>=1e9){while(1){H[k>>2]=0;k=k-4|0;if(k>>>0>>0){j=j-4|0;H[j>>2]=0}d=H[k>>2]+1|0;H[k>>2]=d;if(d>>>0>999999999){continue}break}}d=N(p-j>>2,9);h=10;i=H[j>>2];if(i>>>0<10){break j}while(1){d=d+1|0;h=N(h,10);if(i>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){h=g;i=g>>>0<=j>>>0;if(!i){g=h-4|0;if(!H[g>>2]){continue}}break}l:{if((r|0)!=103){k=e&8;break l}g=m?m:1;k=(g|0)>(d|0)&(d|0)>-5;m=(k?d^-1:-1)+g|0;f=(k?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(i){break m}n=H[h-4>>2];if(!n){break m}i=10;g=0;if((n>>>0)%10|0){break m}while(1){k=g;g=g+1|0;i=N(i,10);if(!((n>>>0)%(i>>>0)|0)){continue}break}g=k^-1}i=N(h-p>>2,9);if((f&-33)==70){k=0;g=(g+i|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break l}k=0;g=((d+i|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}i=-1;r=k|m;if(((r?2147483645:2147483646)|0)<(m|0)){break b}n=(((r|0)!=0)+m|0)+1|0;o=f&-33;n:{if((o|0)==70){if((2147483647-n|0)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=sf((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;F[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;F[t|0]=f;F[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(2147483647-n|0)){break b}}d=g+n|0;if((d|0)>(s^2147483647)){break b}f=d+s|0;Oc(a,32,c,f,e);Gc(a,w,s);Oc(a,48,c,f,e^65536);o:{p:{q:{if((o|0)==70){g=l+16|0;d=g|8;k=g|9;i=j>>>0>p>>>0?p:j;j=i;while(1){g=sf(H[j>>2],0,k);r:{if((i|0)!=(j|0)){if(l+16>>>0>=g>>>0){break r}while(1){g=g-1|0;F[g|0]=48;if(l+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}F[l+24|0]=48;g=d}Gc(a,g,k-g|0);j=j+4|0;if(p>>>0>=j>>>0){continue}break}if(r){Gc(a,239322,1)}if((m|0)<=0|h>>>0<=j>>>0){break q}while(1){g=sf(H[j>>2],0,k);if(g>>>0>l+16>>>0){while(1){g=g-1|0;F[g|0]=48;if(l+16>>>0>>0){continue}break}}Gc(a,g,(m|0)<9?m:9);g=m-9|0;j=j+4|0;if(h>>>0<=j>>>0){break p}d=(m|0)>9;m=g;if(d){continue}break}break p}s:{if((m|0)<0){break s}i=h>>>0>j>>>0?h:j+4|0;g=l+16|0;d=g|8;p=g|9;h=j;while(1){g=sf(H[h>>2],0,p);if((p|0)==(g|0)){F[l+24|0]=48;g=d}t:{if((h|0)!=(j|0)){if(l+16>>>0>=g>>>0){break t}while(1){g=g-1|0;F[g|0]=48;if(l+16>>>0>>0){continue}break}break t}Gc(a,g,1);g=g+1|0;if(!(k|m)){break t}Gc(a,239322,1)}x=g;g=p-g|0;Gc(a,x,(g|0)>(m|0)?m:g);m=m-g|0;h=h+4|0;if(i>>>0<=h>>>0){break s}if((m|0)>=0){continue}break}}Oc(a,48,m+18|0,18,0);Gc(a,t,u-t|0);break o}g=m}Oc(a,48,g+9|0,9,0)}Oc(a,32,c,f,e^8192);i=(c|0)<(f|0)?f:c;break b}m=(f<<26>>31&9)+w|0;u:{if(d>>>0>11){break u}g=12-d|0;q=16;while(1){q=q*16;g=g-1|0;if(g){continue}break}if(I[m|0]==45){b=-(q+(-b-q));break u}b=b+q-q}h=H[l+44>>2];g=h>>31;g=sf((g^h)-g|0,0,u);if((u|0)==(g|0)){F[l+15|0]=48;g=l+15|0}k=s|2;j=f&32;h=H[l+44>>2];p=g-2|0;F[p|0]=f+15;F[g-1|0]=(h|0)<0?45:43;i=e&8;h=l+16|0;while(1){f=h;if(P(b)<2147483648){g=~~b}else{g=-2147483648}F[h|0]=j|I[g+242640|0];b=(b-+(g|0))*16;h=f+1|0;if(!(!((d|0)>0|i)&b==0|(h-(l+16|0)|0)!=1)){F[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}i=-1;n=u-p|0;f=n+k|0;if((2147483645-f|0)<(d|0)){break b}v:{w:{if(!d){break w}j=h-(l+16|0)|0;if((j-2|0)>=(d|0)){break w}g=d+2|0;break v}j=h-(l+16|0)|0;g=j}d=g+f|0;Oc(a,32,c,d,e);Gc(a,m,k);Oc(a,48,c,d,e^65536);Gc(a,l+16|0,j);Oc(a,48,g-j|0,0,0);Gc(a,p,n);Oc(a,32,c,d,e^8192);i=(c|0)<(d|0)?d:c}Wa=l+560|0;return i|0}function bv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=Wa-160|0;Wa=f;l=H[b+100>>2];g=H[b+104>>2];d=0;H[b+132>>2]=0;e=ob(g,0);H[f+156>>2]=e;h=c>>31;i=(h^c)-h&65535;a:{if(e){break a}e=Mb(g,103376,f+152|0);H[f+156>>2]=e;if(e){break a}H[f+156>>2]=2;b:{c:{if(J[f+152>>1]!=23117){break c}e=ob(g,J[f+154>>1]);H[f+156>>2]=e;if(e){break a}e=Mb(g,103408,f+144|0);H[f+156>>2]=e;if(e){break a}h=2;H[f+156>>2]=2;d:{e:{f:{g:{switch(J[f+144>>1]-17742|0){case 0:e=ob(g,J[f+146>>1]+J[f+154>>1]|0);H[f+156>>2]=e;if(e){break a}e=Nb(g,J[f+148>>1]-J[f+146>>1]|0);H[f+156>>2]=e;if(e){break a}k=Le(g);if(k>>>0>16){break b}j=Le(g);h:{if(j){while(1){h=Le(g);e=((H[g+8>>2]+H[g+32>>2]|0)-H[g+36>>2]|0)+4|0;if((j&65535)==32776){break h}H[g+32>>2]=(H[g+32>>2]+N(h,12)|0)+4;j=Le(g);if(j){continue}break}}h=0;e=0}Db(g);if(!(e?h:0)){H[f+156>>2]=3;break a}if(K[g+4>>2]>>0){H[f+156>>2]=3;break a}H[b>>2]=h;if((c|0)<0){break a}if(h>>>0<=i>>>0){H[f+156>>2]=6;break a}r=b,s=zb(l,172,f+156|0),H[r+132>>2]=s;if(H[f+156>>2]){break a}e=ob(g,e+N(i,12)|0);H[f+156>>2]=e;if(e){break c}e=Nb(g,12);H[f+156>>2]=e;if(e){break c}e=Le(g);H[H[b+132>>2]>>2]=e<>2]+164>>2]=e<>2]=H[g+32>>2]+8;Db(g);h=Zh(H[b+132>>2],g);H[f+156>>2]=h;break f;case 2:break g;default:break f}}e=ob(g,J[f+154>>1]);H[f+156>>2]=e;if(e){break a}e=Mb(g,103440,f+120|0);H[f+156>>2]=e;if(e){break a}i:{if(!(H[f+120>>2]!=17744|J[f+124>>1]!=332|J[f+128>>1]!=224)){if(J[f+130>>1]==267){break i}}H[f+156>>2]=3;break a}h=0;H[b>>2]=0;if(!J[f+126>>1]){break e}while(1){e=Mb(g,103504,f+96|0);H[f+156>>2]=e;if(e){break a}if(H[f+132>>2]!=H[f+104>>2]){h=h+1|0;if(J[f+126>>1]<=(h&65535)>>>0){break e}continue}break}e=ob(g,H[f+112>>2]);H[f+156>>2]=e;if(e){break a}e=Mb(g,103536,f+80|0);H[f+156>>2]=e;if(e){break a}if(J[f+94>>1]!=(0-J[f+92>>1]|0)){m=H[f+112>>2];o=m+16|0;h=0;while(1){e=ob(g,(h<<3)+o|0);H[f+156>>2]=e;if(e){break a}e=Mb(g,103568,f+40|0);H[f+156>>2]=e;if(e){break a}e=H[f+44>>2];if((e|0)>=0){H[f+156>>2]=3;break a}e=e&2147483647;H[f+44>>2]=e;e=e+H[f+112>>2]|0;h=ob(g,e);H[f+156>>2]=h;if(h){break a}h=Mb(g,103536,f- -64|0);H[f+156>>2]=h;if(h){break a}if(J[f+78>>1]!=(0-J[f+76>>1]|0)){p=e+16|0;h=0;k=0;while(1){e=ob(g,(h<<3)+p|0);H[f+156>>2]=e;if(e){break a}e=Mb(g,103568,f+32|0);H[f+156>>2]=e;if(e){break a}e=H[f+36>>2];if((e|0)>=0){H[f+156>>2]=3;break a}e=e&2147483647;H[f+36>>2]=e;e=e+H[f+112>>2]|0;h=ob(g,e);H[f+156>>2]=h;if(h){break a}h=Mb(g,103536,f+48|0);H[f+156>>2]=h;if(h){break a}if(J[f+62>>1]!=(0-J[f+60>>1]|0)){q=e+16|0;h=0;j=0;while(1){e=ob(g,(h<<3)+q|0);H[f+156>>2]=e;if(e){break a}e=Mb(g,103568,f+24|0);H[f+156>>2]=e;if(e){break a}if(H[f+36>>2]<0){H[f+156>>2]=3;break a}if(H[f+40>>2]==8){e=ob(g,H[f+28>>2]+m|0);H[f+156>>2]=e;if(e){break a}e=Mb(g,103584,f+8|0);H[f+156>>2]=e;if(e){break a}e=H[b>>2];if((e|0)==(i|0)){e=zb(l,172,f+156|0);H[b+132>>2]=e;if(H[f+156>>2]){break a}H[e>>2]=(H[f+8>>2]+H[f+112>>2]|0)-H[f+104>>2];H[e+164>>2]=H[f+12>>2];e=Zh(e,g);H[f+156>>2]=e;if(e){break c}e=H[b>>2]}H[b>>2]=e+1}j=j+1|0;h=j&65535;if(h>>>0>1]+J[f+60>>1]>>>0){continue}break}}k=k+1|0;h=k&65535;if(h>>>0>1]+J[f+76>>1]>>>0){continue}break}}n=n+1|0;h=n&65535;if(h>>>0>1]+J[f+92>>1]>>>0){continue}break}}h=0}e=H[b>>2];if(!e){H[f+156>>2]=3;break a}if((e|0)>(i|0)){break d}H[f+156>>2]=6;break a}H[f+156>>2]=3;break a}if(!h){break a}}e=H[b+132>>2];if(!e){break a}g=H[b+100>>2];if(H[e+160>>2]){bc(H[b+104>>2],e+160|0)}h=H[e+168>>2];if(h){Ya[H[g+8>>2]](g,h)}H[e+168>>2]=0;if(e){Ya[H[g+8>>2]](g,e)}H[b+132>>2]=0;break a}H[f+156>>2]=3;Db(g)}e=H[f+156>>2];H[f+96>>2]=e;j:{if(e?0:(c|0)<0){break j}k:{l:{m:{if((e&255)==2){e=zb(l,172,f+96|0);H[b+132>>2]=e;d=H[f+96>>2];if(d){break j}H[b>>2]=1;d=0;H[e>>2]=0;H[e+164>>2]=H[a+4>>2];a=Zh(e,a);H[f+96>>2]=a;if(!(a|(c|0)<0)){if(!i){break m}H[f+96>>2]=6;break k}if(a){break k}break j}if(e){break l}}a=H[b+132>>2];if(!J[a+96>>1]){H[f+96>>2]=3;break k}H[b+4>>2]=i;c=H[b+8>>2];H[b+8>>2]=c|18;if(J[a+100>>1]==J[a+102>>1]){H[b+8>>2]=c|22}if(I[a+86|0]){H[b+12>>2]=H[b+12>>2]|1}if(J[a+90>>1]>=800){H[b+12>>2]=H[b+12>>2]|2}c=jb(l,16,0,1,0,f+96|0);H[b+32>>2]=c;if(H[f+96>>2]){break k}H[b+28>>2]=1;G[c+2>>1]=J[a+100>>1];G[c>>1]=J[a+84>>1]+J[a+96>>1];e=J[a+74>>1]<<6;H[c+4>>2]=e;d=J[a+78>>1];g=e;e=J[a+76>>1];e=e?e:72;g=sb(g,e,72)+32&-64;H[c+12>>2]=g;i=d?d:72;d=J[a+96>>1]<<6;n:{if((d|0)>=(g|0)){h=H[c+4>>2];break n}H[c+12>>2]=d;h=sb(d,72,e);H[c+4>>2]=h}r=c,s=sb(h,i,72)+32&-64,H[r+8>>2]=s;H[f+120>>2]=b;H[f+124>>2]=0;H[f+128>>2]=0;if(I[a+92|0]==77){G[f+128>>1]=1;H[f+124>>2]=1634889070}c=hd(103324,0,f+120|0,0);H[f+96>>2]=c;if(c){break k}c=I[a+105|0];d=I[a+104|0];if(c>>>0>>0){H[f+96>>2]=3;break k}H[b+16>>2]=(c-d|0)+2;c=H[a+8>>2];d=H[a+116>>2];if(c>>>0<=d>>>0){H[f+96>>2]=3;break k}c=c-d|0;d=zb(l,c+1|0,f+96|0);H[a+168>>2]=d;if(H[f+96>>2]){break k}mb(d,H[a+160>>2]+H[a+116>>2]|0,c);F[c+H[a+168>>2]|0]=0;d=a;a=H[a+168>>2];a=jb(l,1,c,wb(a)+1|0,a,f+96|0);H[d+168>>2]=a;if(H[f+96>>2]){break k}H[b+24>>2]=9328;H[b+20>>2]=a;c=H[b+12>>2];a=c&1;if(c&2){if(a){H[b+24>>2]=9527;d=0;break j}H[b+24>>2]=9643;d=0;break j}d=0;if(!a){break j}H[b+24>>2]=9796;break j}d=e;if(!b){break j}}a=H[b+100>>2];c=H[b+132>>2];if(c){if(H[c+160>>2]){bc(H[b+104>>2],c+160|0)}d=H[c+168>>2];if(d){Ya[H[a+8>>2]](a,d)}H[c+168>>2]=0;if(c){Ya[H[a+8>>2]](a,c)}H[b+132>>2]=0}c=H[b+32>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+28>>2]=0;H[b+32>>2]=0;d=H[f+96>>2]}Wa=f+160|0;return d|0}function lM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=O(0),m=0,n=0,o=0,p=0,q=0;f=Wa+-64|0;Wa=f;g=d;d=H[a+80>>2];p=g,q=(Ya[H[d+176>>2]](a,H[a+84>>2],c,H[d+32>>2])|0)/2|0,H[p>>2]=q;g=Wa-48|0;Wa=g;i=b+52|0;d=H[i>>2];a:{if(d){break a}m=i-52|0;while(1){d=H[m>>2];if(!d){d=163632;break a}H[g+8>>2]=0;H[g+12>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;F[g+24|0]=0;H[g+28>>2]=0;H[g+32>>2]=0;H[g>>2]=0;H[g+4>>2]=0;h=ac(d);F[g+40|0]=1;H[g+36>>2]=h;d=_b(d,1448038983);if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}F[g+24|0]=0;H[g+32>>2]=d;k=H[d+12>>2];H[g+4>>2]=k;j=H[d+16>>2];H[g+8>>2]=j+k;H[g+28>>2]=0;if(j>>>0>67108862){h=1073741823}else{h=j<<6;h=h>>>0>16384?h:16384;h=h>>>0<1073741823?h:1073741823}H[g+12>>2]=h;H[g+20>>2]=0;H[g>>2]=0;b:{if(!k){lb(d);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;break b}c:{d:{if((j|0)<8){break d}H[g+12>>2]=h-8;if((j&-2)==6|(I[k|0]|I[k+1|0]<<8)!=256){break d}n=h-10|0;H[g+12>>2]=n;h=I[k+6|0]|I[k+7|0]<<8;if(!h){break c}h=((h<<8|h>>>8)&65535)<<2;if(h>>>0>j-8>>>0){break d}h=n-h|0;H[g+12>>2]=h;if((h|0)>0){break c}}lb(d);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;lb(d);d=163632;break b}lb(d);H[g+32>>2]=0;H[g+4>>2]=0;H[g+8>>2]=0;if(H[d+4>>2]){H[d+4>>2]=0}}h=H[i>>2];d=d?d:163632;H[i>>2]=h?h:d;if(!h){break a}if(!(!d|(d|0)==163632)){lb(d)}d=H[i>>2];if(!d){continue}break}}Wa=g+48|0;e:{g=K[d+16>>2]<8?163632:H[d+12>>2];f:{if(I[g|0]|I[g+1|0]<<8|(I[g+2|0]|I[g+3|0]<<8)){n=H[a+48>>2];h=H[a+52>>2];g:{h:{a=I[g+6|0]|I[g+7|0]<<8;if(a){j=(a<<8|a>>>8)&65535;b=j-1|0;d=0;while(1){a=b+d>>>1|0;i=g+(a<<2)|0;i=I[i+8|0]|I[i+9|0]<<8;i=(i<<8|i>>>8)&65535;i:{if(i>>>0>c>>>0){b=a-1|0;break i}if((c|0)==(i|0)){break h}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=g+4|0;break g}a=(a>>>0>>0?(g+(a<<2)|0)+8|0:163632)+2|0}a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)<<16;b=a>>31;a=HM(n,h,a>>16,b)+32768|0;b=Xa;b=a>>>0<32768?b+1|0:b;H[e>>2]=(b&65535)<<16|a>>>16;break f}H[f+56>>2]=0;H[f+60>>2]=0;H[f+48>>2]=0;H[f+52>>2]=0;d=H[b+60>>2];j:{if(d){break j}while(1){g=H[b>>2];if(!g){d=163632;break j}k:{d=Ab(1,28);if(d){ng(d,g);g=H[b+60>>2];H[b+60>>2]=g?g:d;if(!g){break j}g=H[d+24>>2];H[65057]=0;fa(579,g|0);g=H[65057];H[65057]=0;if((g|0)==1){break e}hb(d);break k}d=163632;g=H[b+60>>2];H[b+60>>2]=g?g:163632;if(g){break k}break j}d=H[b+60>>2];if(!d){continue}break}}if(ct(d,a,c,f+48|0)){b=hk(b+48|0);h=H[b>>2];l:{m:{if(h>>>0>c>>>0){g=H[b+4>>2];d=H[b+20>>2];d=((c|0)<0?163632:H[(d?d:163632)+12>>2]+(c<<2)|0)+2|0;break m}g=H[b+4>>2];d=0;if(g>>>0<=c>>>0){break l}d=H[b+20>>2];d=(c-h<<1)+((h|0)<0?163632:H[(d?d:163632)+12>>2]+(h<<2)|0)|0}d=I[d|0]|I[d+1|0]<<8;d=(d<<8|d>>>8)<<16>>16}n:{if(c>>>0>=g>>>0){break n}k=H[a+68>>2];if(!k){break n}b=H[b+24>>2];b=b?b:163632;g=H[b+16>>2];if(g){j=H[a+72>>2];b=g>>>0<20?163632:H[b+12>>2];g=I[b+12|0]|I[b+13|0]<<8|(I[b+14|0]<<16|I[b+15|0]<<24);h=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);o:{if(!h){break o}g=I[b+16|0]|I[b+17|0]<<8|(I[b+18|0]<<16|I[b+19|0]<<24);if(!(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))){break o}g=b+h|0;p:{if(I[g|0]){break p}h=I[g+2|0]|I[g+3|0]<<8;if(!h){break p}h=(h<<8|h>>>8)&65535;c=c>>>0>>0?c:h-1|0;i=I[g+1|0];m=i>>>4&3;h=m+1|0;g=g+N(c,h)|0;c=I[g+4|0];q:{if(!m){break q}c=I[g+5|0]|c<<8;if((h|0)==2){break q}c=I[g+6|0]|c<<8;if((h|0)==3){break q}c=I[g+7|0]|c<<8}g=(i&15)+1|0;c=c>>>g<<16|(-1<>>8&65280|b>>>24);b=b?g+b|0:163632;g=I[b+6|0]|I[b+7|0]<<8;h=(g<<8|g>>>8)&65535;g=c>>>16|0;if(h>>>0<=g>>>0){break o}g=b+(g<<2)|0;g=I[g+8|0]|I[g+9|0]<<8|(I[g+10|0]<<16|I[g+11|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=g?g+b|0:163632;g=b;b=I[b+2|0]|I[b+3|0]<<8|(I[b+4|0]<<16|I[b+5|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);l=mg(h,c&65535,j,k,b?g+b|0:163632)}l=O(l+O(d|0));if(O(P(l))>2];g=H[d+108>>2];r:{if(g){break r}while(1){h=H[d+48>>2];if(!h){g=163632;break r}s:{g=Ab(1,28);if(g){ng(g,h);h=H[d+108>>2];H[d+108>>2]=h?h:g;if(!h){break r}h=H[g+24>>2];H[65057]=0;fa(579,h|0);h=H[65057];H[65057]=0;if((h|0)==1){break e}hb(g);break s}g=163632;h=H[d+108>>2];H[d+108>>2]=h?h:163632;if(h){break s}break r}g=H[d+108>>2];if(!g){continue}break}}d=0;t:{if(K[g+16>>2]<=c>>>0){break t}H[b+48>>2]=2139095039;H[b+52>>2]=-8388609;H[b+56>>2]=-8388609;H[b+16>>2]=2139095039;H[b+20>>2]=-8388609;H[b+24>>2]=-8388609;H[b+44>>2]=2139095039;H[b+40>>2]=b- -64;d=H[b+44>>2];H[b+8>>2]=H[b+40>>2];H[b+12>>2]=d;H[b+32>>2]=a;H[b+36>>2]=b+128;d=H[b+36>>2];H[b>>2]=H[b+32>>2];H[b+4>>2]=d;if(!ik(g,a,c,b)){g=H[g+8>>2];h=H[g>>2];u:{if(h>>>0>c>>>0){d=H[g+20>>2];c=((c|0)<0?163632:H[(d?d:163632)+12>>2]+(c<<2)|0)+2|0;break u}d=0;if(K[g+4>>2]<=c>>>0){break t}d=c-h<<1;c=H[g+20>>2];c=d+((h|0)<0?163632:H[(c?c:163632)+12>>2]+(h<<2)|0)|0}c=I[c|0]|I[c+1|0]<<8;d=(c<<8|c>>>8)<<16>>16;break t}l=O(O(U(L[b+104>>2]))-O(H[b+132>>2]));if(O(P(l))>2];g=H[a+48>>2];c=H[a+52>>2];a=d<<16;b=a>>31;b=HM(g,c,a>>16,b)+32768|0;a=Xa;a=b>>>0<32768?a+1|0:a;H[e>>2]=h+((a&65535)<<16|b>>>16);break f}H[f+40>>2]=0;H[f+44>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;b=H[a+80>>2];v:{if(Ya[H[b+156>>2]](a,H[a+84>>2],f,H[b+12>>2])|0){a=H[f>>2];break v}o=+H[a+24>>2]*.8;if(P(o)<2147483648){a=~~o;break v}a=-2147483648}H[e>>2]=a}Wa=f- -64|0;return 1}ea(0)|0;_()|0;Gb();X()}function Si(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;k=Wa-32|0;Wa=k;n=H[a>>2];f=Wa-48|0;Wa=f;g=H[b+20>>2];a:{b:{if(g){h=85;if(Ya[g|0](b,c,0,0)|0){break a}g=H[b+4>>2];break b}h=85;g=H[b+4>>2];if(g>>>0>>0){break a}}H[b+8>>2]=c;H[f+44>>2]=0;if(c>>>0>=g>>>0){break a}i=H[b+20>>2];c:{if(i){g=Ya[i|0](b,c,f+16|0,16)|0;break c}g=g-c|0;g=g>>>0<16?g:16;mb(f+16|0,H[b>>2]+c|0,g)}H[b+8>>2]=c+g;if(g>>>0<16){break a}g=F[f+16|0];if((g|0)<0){h=2;break a}i=F[f+20|0];if((i|0)<0){h=2;break a}j=F[f+24|0];if((j|0)<0){h=2;break a}l=F[f+28|0];if((l|0)<0){h=2;break a}g=I[f+19|0]|(I[f+17|0]<<16|(g&255)<<24|I[f+18|0]<<8);H[k+16>>2]=g;i=I[f+23|0]|(I[f+21|0]<<16|(i&255)<<24|I[f+22|0]<<8);if(!i){h=2;break a}m=I[f+31|0];l=m|(I[f+29|0]<<16|(l&255)<<24|I[f+30|0]<<8);j=I[f+27|0]|(I[f+25|0]<<16|(j&255)<<24|I[f+26|0]<<8);d:{if(g>>>0>>0){if((g|0)<=(i-j|0)){break d}h=2;break a}if((i|0)<=(g-l|0)){break d}h=2;break a}if(g>>>0>(j^2147483647)>>>0){h=2;break a}if(i>>>0>(l^2147483647)>>>0){h=2;break a}if((g+j^2147483647)<(c|0)){h=2;break a}if((i+l^2147483647)<(c|0)){h=2;break a}g=c+g|0;o=g+j|0;j=H[b+4>>2];if(o>>>0>j>>>0){h=2;break a}c=c+i|0;if(j>>>0>>0){h=2;break a}H[k+16>>2]=g;g=H[b+20>>2];e:{if(g){if(Ya[g|0](b,c,0,0)|0){break a}m=I[f+31|0];break e}if(c>>>0>K[b+4>>2]){break a}}H[b+8>>2]=c;F[f+15|0]=m+1;h=ec(b,f,16);if(h){break a}t=I[f|0];u=I[f+1|0];v=I[f+2|0];w=I[f+3|0];x=I[f+4|0];y=I[f+5|0];s=I[f+6|0];r=I[f+7|0];o=I[f+8|0];p=I[f+9|0];h=I[f+10|0];g=I[f+11|0];i=I[f+12|0];l=I[f+13|0];j=I[f+15|0];m=I[f+14|0];if(!(!(t|(u|(v|(w|(x|(y|(s|(r|(o|(p|(h|(g|(i|(l|(j|m)))))))))))))))|I[f+31|0]==(j|0)&I[f+30|0]==(m|0)&I[f+29|0]==(l|0)&I[f+28|0]==(i|0)&I[f+27|0]==(g|0)&I[f+26|0]==(h|0)&(p|0)==I[f+25|0]&(o|0)==I[f+24|0]&(r|0)==I[f+23|0]&(s|0)==I[f+22|0]&(y|0)==I[f+21|0]&(x|0)==I[f+20|0]&(w|0)==I[f+19|0]&(v|0)==I[f+18|0]&(u|0)==I[f+17|0]&(t|0)==I[f+16|0])){h=2;break a}h=H[b+8>>2]+8|0;i=H[b+20>>2];f:{g:{if(i){g=85;if(!(Ya[i|0](b,h,0,0)|0)){break g}break f}g=85;if(h>>>0>K[b+4>>2]){break f}}H[b+8>>2]=h;g=0}H[f+44>>2]=g;g=yb(b,f+44|0);h=H[f+44>>2];if(h){break a}h=2;g=g<<16>>16;if((g|0)<0){break a}c=c+g|0;g=H[b+20>>2];h:{if(g){h=85;if(!(Ya[g|0](b,c,0,0)|0)){break h}break a}h=85;if(c>>>0>K[b+4>>2]){break a}}H[b+8>>2]=c;H[k+20>>2]=c;h=0}Wa=f+48|0;c=h;i:{if(c){break i}c=1;j:{k:{h=H[k+20>>2];f=H[k+16>>2];l:{if(!Zn(a,b,h,f,1347375956,1,k+12|0,k+8|0)){p=H[k+12>>2];m:{n:{o:{if(d+1>>>0<=1){s=H[k+8>>2];if((s|0)>0){break o}c=10}d=c;if(p){break n}break i}r=H[a>>2];f=0;p:{while(1){c=H[p+(f<<2)>>2];d=H[b+20>>2];q:{if(d){if(Ya[d|0](b,c,0,0)|0){break p}d=H[b+4>>2];break q}d=H[b+4>>2];if(d>>>0>>0){break p}}H[b+8>>2]=c;if(c+3>>>0>=d>>>0){break p}r:{s:{d=H[b+20>>2];t:{if(d){if((Ya[d|0](b,c,k+28|0,4)|0)!=4){break p}c=H[b+8>>2];d=k+28|0;break t}d=H[b>>2];if(!d){break s}d=c+d|0}d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+8>>2]=c+4;c=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(c>>>0<=16777215){break r}d=9;break n}H[b+8>>2]=c+4;c=0}h=q+6|0;d=9;if(h>>>0>16777215-c>>>0){break n}q=c+h|0;f=f+1|0;if((s|0)!=(f|0)){continue}break}m=q+2|0;d=10;if(m>>>0<=5){break n}d=6;if((m|0)<=0){break n}c=Ya[H[r+4>>2]](r,m)|0;d=64;if(!c){break n}j=kb(c,0,m);F[j+2|0]=0;F[j+3|0]=0;F[j+4|0]=0;F[j+5|0]=0;F[j|0]=128;F[j+1|0]=1;o=2;f=6;c=0;l=1;d=0;u:{while(1){h=H[p+(d<<2)>>2];g=H[b+20>>2];v:{if(g){if(!(Ya[g|0](b,h,0,0)|0)){break v}break u}if(h>>>0>K[b+4>>2]){break u}}H[b+8>>2]=h;H[k+24>>2]=0;h=$b(b,k+24|0);if(H[k+24>>2]|(h|0)<0){break u}i=yb(b,k+24|0);if(H[k+24>>2]){break u}H[k+24>>2]=10;w:{if(i>>>0>=256){g=h-2|0;g=h>>>0>>0?0:g;i=i>>>8|0;x:{if((i|0)==(l|0)){h=f;c=c+g|0;break x}l=o+3|0;if(l>>>0>m>>>0){break u}h=j+o|0;F[h|0]=c;F[h+2|0]=c>>>16;F[h+1|0]=c>>>8;F[j+l|0]=c>>>24;if((i|0)==5){break w}h=f+6|0;if(m>>>0>>0){break u}l=f+j|0;F[l|0]=128;o=f+2|0;c=j+o|0;F[c|0]=0;F[c+1|0]=0;F[c+2|0]=0;F[c+3|0]=0;F[l+1|0]=i;l=i;c=g}if(h>>>0>q>>>0){break u}f=h+g|0;if(q>>>0>>0){break u}h=ec(b,h+j|0,g);H[k+24>>2]=h;if(h){break u}}d=d+1|0;if((s|0)!=(d|0)){continue}}break}d=f+2|0;if(d>>>0>m>>>0){break u}b=f+j|0;F[b|0]=128;F[b+1|0]=3;h=o+3|0;if(h>>>0<=m>>>0){break m}}Ya[H[r+8>>2]](r,j);Ya[H[n+8>>2]](n,p);c=1;break i}d=85}c=d;Ya[H[n+8>>2]](n,p);break i}b=j+o|0;F[b|0]=c;F[b+2|0]=c>>>16;q=1;F[b+1|0]=c>>>8;F[h+j|0]=c>>>24;c=Ai(a,j,d,0,11064,e);Ya[H[n+8>>2]](n,p);if(!c){break l}break i}c=Zn(a,b,h,f,1936092788,0,k+12|0,k+8|0);if(c){break i}h=H[k+12>>2];q=H[k+8>>2];c=(d|0)%(q|0)|0;i=c>>31^c;if((i|0)>=(q|0)){break k}f=H[a>>2];g=H[h+(i<<2)>>2];d=H[b+20>>2];y:{if(d){c=85;if(!(Ya[d|0](b,g,0,0)|0)){break y}break j}c=85;if(g>>>0>K[b+4>>2]){break j}}H[b+8>>2]=g;H[k+28>>2]=0;d=$b(b,k+28|0);c=H[k+28>>2];if(c){break j}c=1;if((d|0)<=0){break j}c=9;if(d>>>0>16777215){break j}if(!So(a,b,i,e)){Ya[H[n+8>>2]](n,h);break l}g=g+4|0;i=H[b+20>>2];z:{if(i){c=85;if(Ya[i|0](b,g,0,0)|0){break j}break z}c=85;if(g>>>0>K[b+4>>2]){break j}}H[b+8>>2]=g;c=Ya[H[f+4>>2]](f,d)|0;if(!c){c=64;break j}g=b;b=kb(c,0,d);c=ec(g,b,d);if(c){Ya[H[f+8>>2]](f,b);break j}c=Ai(a,b,d,0,d>>>0>=5?(I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24))==1330926671?11258:10087:10087,e);Ya[H[n+8>>2]](n,h);if(c){break i}}H[H[e>>2]>>2]=q;c=0;break i}c=1;if(!h){break i}Ya[H[n+8>>2]](n,h);break i}Ya[H[n+8>>2]](n,h)}Wa=k+32|0;return c}function Tx(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Wa-48|0;Wa=i;h=2;a:{b:{c:{switch(H[a+796>>2]-1|0){case 0:case 1:if(!H[a+864>>2]){h=142;break a}j=H[H[a+804>>2]+(b<<2)>>2];b=H[a+104>>2];h=ob(b,H[a+860>>2]);if(h){break a}H[i+4>>2]=b;H[i>>2]=a;b=H[a+84>>2];G[i+16>>1]=0;H[i+12>>2]=g;H[i+8>>2]=b+76;H[i+20>>2]=H[a+860>>2];H[i+24>>2]=H[a+864>>2];b=H[a+788>>2];H[i+36>>2]=b;e=H[a+792>>2];H[i+40>>2]=e+b;h=3;g=N(j,48);if(e>>>0>>0){break a}b=b+g|0;g=I[b+8|0]|I[b+9|0]<<8|(I[b+10|0]<<16|I[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);H[i+28>>2]=j;g=I[b+16|0]|I[b+17|0]<<8|(I[b+18|0]<<16|I[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);H[i+32>>2]=g;F[i+18|0]=I[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=Dm(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break b}h=0;break a;case 2:break c;default:break a}}b=H[H[a+804>>2]+(b<<2)>>2];d=0;G[g>>1]=0;G[g+2>>1]=0;if(K[a+16>>2]>>0){h=6;break a}b=H[a+788>>2]+(b<<2)|0;b=I[b+8|0]|I[b+9|0]<<8|(I[b+10|0]<<16|I[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=b+4|0;while(1){f=H[a+864>>2];if(f>>>0<=b>>>0){h=3;break a}c=c<<2;if(c+12>>>0>f-b>>>0){h=3;break a}h=ob(e,H[a+860>>2]+(c+g|0)|0);if(h){break a}h=Nb(e,8);if(h){break a}c=uc(e);f=uc(e);Db(e);if((c|0)==(f|0)){h=157;break a}if(c>>>0>f>>>0){h=3;break a}j=f-c|0;if(j>>>0<8){h=3;break a}h=3;if(f>>>0>H[a+864>>2]-b>>>0){break a}h=ob(e,H[a+860>>2]+(b+c|0)|0);if(h){break a}h=Nb(e,j);if(h){break a}Rb(e);Rb(e);c=uc(e);if((c|0)!=1685418085){d:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break d}}h=2}Db(e);break a}if((d|0)==4){h=3;Db(e);break a}c=Rb(e);Db(e);d=d+1|0;if(K[a+16>>2]>=c>>>0){continue}break}h=6;break a}h=0;if(I[f+18|0]!=7){break a}n=H[H[a+84>>2]>>2];if(i){H[i>>2]=0;H[i+4>>2]=0;H[i+16>>2]=0;H[i+20>>2]=0;H[i+8>>2]=0;H[i+12>>2]=0}g=f;l=Wa-16|0;Wa=l;H[l+12>>2]=0;e:{if(!n){d=33;break e}d=6;if(!g|!i){break e}f:{if((I[g+18|0]-1&255)>>>0<=6){f=H[n>>2];F[i+18|0]=2;h=H[i>>2];c=H[g>>2];H[i>>2]=c;H[i+4>>2]=H[g+4>>2];e=H[i+8>>2];b=H[g+4>>2];HM(b,0,c,0);if(Xa?(b|0)>0:0){break e}d=e>>31;c=Wn(f,N(h,(d^e)-d|0),N(b,c),H[i+12>>2],l+12|0);H[i+12>>2]=c;d=H[l+12>>2];if(d){break e}H[i+8>>2]=H[i+8>>2]<0?0-b|0:b;break f}H[l+12>>2]=6;c=H[i+12>>2]}b=H[g+12>>2];f=H[g+8>>2];if((f|0)<0){b=N(1-H[g>>2]|0,f)+b|0}j=H[i+8>>2];if((j|0)<0){c=N(1-H[i>>2]|0,j)+c|0}g:{h:{switch(I[g+18|0]-1|0){case 0:G[i+16>>1]=2;j=H[g>>2];if(!j){break g}while(1){e=H[g+4>>2];i:{if(e>>>0<8){f=b;d=c;break i}h=e>>>3|0;d=c;f=b;while(1){e=I[f|0];F[d+7|0]=e&1;F[d|0]=e>>>7;F[d+6|0]=e>>>1&1;F[d+5|0]=e>>>2&1;F[d+4|0]=e>>>3&1;F[d+3|0]=e>>>4&1;F[d+2|0]=e>>>5&1;F[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;h=h-1|0;if(h){continue}break}e=H[g+4>>2]}e=e&7;j:{if(!e){break j}f=I[f|0];F[d|0]=f>>>7;if((e|0)==1){break j}F[d+1|0]=f>>>6&1;if((e|0)==2){break j}F[d+2|0]=f>>>5&1;if((e|0)==3){break j}F[d+3|0]=f>>>4&1;if((e|0)==4){break j}F[d+4|0]=f>>>3&1;if((e|0)==5){break j}F[d+5|0]=f>>>2&1;if((e|0)==6){break j}F[d+6|0]=f>>>1&1}c=H[i+8>>2]+c|0;b=H[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 1:case 4:case 5:f=H[g+4>>2];G[i+16>>1]=256;d=H[g>>2];if(!d){break g}if(d&1){c=mb(c,b,f)+H[i+8>>2]|0;b=H[g+8>>2]+b|0;e=d-1|0}else{e=d}if((d|0)==1){break g}while(1){c=mb(c,b,f);b=H[g+8>>2]+b|0;c=mb(c+H[i+8>>2]|0,b,f)+H[i+8>>2]|0;b=b+H[g+8>>2]|0;e=e-2|0;if(e){continue}break};break g;case 2:G[i+16>>1]=4;j=H[g>>2];if(!j){break g}while(1){f=H[g+4>>2];k:{if(f>>>0<4){e=b;d=c;break k}k=f>>>2|0;h=k;d=c;e=b;if(f&4){d=I[b|0];F[c+3|0]=d&3;F[c|0]=d>>>6;F[c+2|0]=d>>>2&3;F[c+1|0]=d>>>4&3;h=k-1|0;e=b+1|0;d=c+4|0}if((k|0)!=1){while(1){f=I[e|0];F[d+3|0]=f&3;F[d|0]=f>>>6;F[d+2|0]=f>>>2&3;F[d+1|0]=f>>>4&3;f=I[e+1|0];F[d+7|0]=f&3;F[d+4|0]=f>>>6;F[d+6|0]=f>>>2&3;F[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=H[g+4>>2]}f=f&3;l:{if(!f){break l}e=I[e|0];F[d|0]=e>>>6;if((f|0)==1){break l}F[d+1|0]=e>>>4&3;if((f|0)==2){break l}F[d+2|0]=e>>>2&3}c=H[i+8>>2]+c|0;b=H[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 3:G[i+16>>1]=16;j=H[g>>2];if(!j){break g}while(1){f=H[g+4>>2];m:{if(f>>>0<2){e=b;d=c;break m}f=f>>>1|0;k=f-1|0;h=0;d=c;e=b;m=f&3;if(m){while(1){o=I[e|0];F[d+1|0]=o&15;F[d|0]=o>>>4;f=f-1|0;d=d+2|0;e=e+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}if(k>>>0>=3){while(1){h=I[e|0];F[d+1|0]=h&15;F[d|0]=h>>>4;h=I[e+1|0];F[d+3|0]=h&15;F[d+2|0]=h>>>4;h=I[e+2|0];F[d+5|0]=h&15;F[d+4|0]=h>>>4;h=I[e+3|0];F[d+7|0]=h&15;F[d+6|0]=h>>>4;d=d+8|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=H[g+4>>2]}if(f&1){F[d|0]=I[e|0]>>>4}c=H[i+8>>2]+c|0;b=H[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 6:break h;default:break g}}G[i+16>>1]=256;k=H[g>>2];if(!k){break g}h=H[g+4>>2];if(!h){break g}while(1){e=c;d=b;if(h){while(1){f=I[d+3|0];if(f){j=I[d+1|0];m=N(N(j,j),46871);j=I[d|0];m=m+N(N(j,j),4732)|0;j=I[d+2|0];f=f-((m+N(N(j,j),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}F[e|0]=f;e=e+1|0;d=d+4|0;h=h-1|0;if(h){continue}break}j=H[i+8>>2];f=H[g+8>>2]}k=k-1|0;if(!k){break g}b=b+f|0;c=c+j|0;h=H[g+4>>2];continue}}d=H[l+12>>2]}Wa=l+16|0;h=d;if(d){if(i?n:0){go(n,i)}break a}F[g+18|0]=I[i+18|0];H[g+8>>2]=H[i+8>>2];G[g+16>>1]=J[i+16>>1];Yi(H[a+84>>2],H[i+12>>2]);a=H[H[a+84>>2]+156>>2];H[a+4>>2]=H[a+4>>2]|1}Wa=i+48|0;return h|0}function Dq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Wa-80|0;Wa=h;H[h+76>>2]=b;x=h+55|0;s=h+56|0;b=0;a:{b:{c:{d:{e:while(1){if((2147483647-o|0)<(b|0)){break d}o=b+o|0;f:{g:{h:{k=H[h+76>>2];b=k;i=I[b|0];if(i){while(1){i:{i=i&255;j:{if(!i){i=b;break j}if((i|0)!=37){break i}i=b;while(1){if(I[b+1|0]!=37){break j}j=b+2|0;H[h+76>>2]=j;i=i+1|0;m=I[b+2|0];b=j;if((m|0)==37){continue}break}}b=i-k|0;w=2147483647-o|0;if((b|0)>(w|0)){break d}if(a){Gc(a,k,b)}if((i|0)!=(k|0)){continue e}r=-1;i=1;b=H[h+76>>2];if(!(F[b+1|0]-48>>>0>=10|I[b+2|0]!=36)){r=F[b+1|0]-48|0;u=1;i=3}b=i+b|0;H[h+76>>2]=b;p=0;l=F[b|0];j=l-32|0;k:{if(j>>>0>31){i=b;break k}i=b;j=1<>2]=i;p=j|p;l=F[b+1|0];j=l-32|0;if(j>>>0>=32){break k}b=i;j=1<>>0>=10){break n}b=H[h+76>>2];if(I[b+2|0]!=36){break n}H[((F[b+1|0]<<2)+e|0)-192>>2]=10;q=H[((F[b+1|0]<<3)+d|0)-384>>2];u=1;b=b+3|0;break m}if(u){break h}u=0;q=0;if(a){b=H[c>>2];H[c>>2]=b+4;q=H[b>>2]}b=H[h+76>>2]+1|0}H[h+76>>2]=b;if((q|0)>=0){break l}q=0-q|0;p=p|8192;break l}q=Cq(h+76|0);if((q|0)<0){break d}b=H[h+76>>2]}i=0;j=-1;m=0;o:{if(I[b|0]!=46){break o}if(I[b+1|0]==42){p:{q:{if(F[b+2|0]-48>>>0>=10){break q}b=H[h+76>>2];if(I[b+3|0]!=36){break q}H[((F[b+2|0]<<2)+e|0)-192>>2]=10;j=H[((F[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;break p}if(u){break h}if(a){b=H[c>>2];H[c>>2]=b+4;j=H[b>>2]}else{j=0}b=H[h+76>>2]+2|0}H[h+76>>2]=b;m=(j^-1)>>>31|0;break o}H[h+76>>2]=b+1;j=Cq(h+76|0);b=H[h+76>>2];m=1}v=m;while(1){t=i;n=28;if(F[b|0]-123>>>0<4294967238){break c}l=b+1|0;H[h+76>>2]=l;i=F[b|0];b=l;i=I[(i+N(t,58)|0)+242111|0];if(i-1>>>0<8){continue}break}r:{s:{if((i|0)!=27){if(!i){break c}if((r|0)>=0){H[(r<<2)+e>>2]=i;b=(r<<3)+d|0;i=H[b+4>>2];H[h+64>>2]=H[b>>2];H[h+68>>2]=i;break s}if(!a){break f}Bq(h- -64|0,i,c,g);l=H[h+76>>2];break r}if((r|0)>=0){break c}}b=0;if(!a){continue e}}m=p&-65537;i=p&8192?m:p;p=0;r=238037;n=s;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{b=F[l-1|0];b=t?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break t;case 9:case 13:case 14:case 15:break u;case 27:break z;case 12:case 17:break C;case 23:break D;case 0:case 32:break E;case 24:break F;case 22:break G;case 29:break H;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break I}}J:{switch(b-65|0){case 0:case 4:case 5:case 6:break u;case 2:break x;case 1:case 3:break g;default:break J}}if((b|0)==83){break y}break g}l=H[h+64>>2];k=H[h+68>>2];r=238037;break B}b=0;K:{switch(t&255){case 0:H[H[h+64>>2]>>2]=o;continue e;case 1:H[H[h+64>>2]>>2]=o;continue e;case 2:i=H[h+64>>2];H[i>>2]=o;H[i+4>>2]=o>>31;continue e;case 3:G[H[h+64>>2]>>1]=o;continue e;case 4:F[H[h+64>>2]]=o;continue e;case 6:H[H[h+64>>2]>>2]=o;continue e;case 7:break K;default:continue e}}i=H[h+64>>2];H[i>>2]=o;H[i+4>>2]=o>>31;continue e}j=j>>>0>8?j:8;i=i|8;b=120}m=s;y=b&32;l=H[h+64>>2];k=H[h+68>>2];if(l|k){while(1){m=m-1|0;F[m|0]=y|I[(l&15)+242640|0];z=!k&l>>>0>15|(k|0)!=0;t=k;k=k>>>4|0;l=(t&15)<<28|l>>>4;if(z){continue}break}}k=m;if(!(H[h+64>>2]|H[h+68>>2])|!(i&8)){break A}r=(b>>>4|0)+238037|0;p=2;break A}b=s;l=H[h+64>>2];k=H[h+68>>2];if(l|k){while(1){b=b-1|0;F[b|0]=l&7|48;t=!k&l>>>0>7|(k|0)!=0;m=k;k=k>>>3|0;l=(m&7)<<29|l>>>3;if(t){continue}break}}k=b;if(!(i&8)){break A}b=s-k|0;j=(b|0)<(j|0)?j:b+1|0;break A}b=H[h+68>>2];k=b;l=H[h+64>>2];if((b|0)<0){k=0-(k+((l|0)!=0)|0)|0;l=0-l|0;H[h+64>>2]=l;H[h+68>>2]=k;p=1;r=238037;break B}if(i&2048){p=1;r=238038;break B}p=i&1;r=p?238039:238037}k=sf(l,k,s)}if((j|0)<0?v:0){break d}i=v?i&-65537:i;m=H[h+64>>2];b=H[h+68>>2];if(!(j|(m|b)!=0)){k=s;n=k;j=0;break g}b=!(b|m)+(s-k|0)|0;j=(b|0)<(j|0)?j:b;break g}b=H[h+64>>2];k=b?b:239324;b=j>>>0<2147483647?j:2147483647;i=tf(k,0,b);b=i?i-k|0:b;n=b+k|0;if((j|0)>=0){i=m;j=b;break g}i=m;j=b;if(I[n|0]){break d}break g}if(j){n=H[h+64>>2];break w}b=0;Oc(a,32,q,0,i);break v}H[h+12>>2]=0;H[h+8>>2]=H[h+64>>2];n=h+8|0;H[h+64>>2]=n;j=-1}b=0;L:{while(1){k=H[n>>2];if(!k){break L}k=yq(h+4|0,k);m=(k|0)<0;if(!(m|k>>>0>j-b>>>0)){n=n+4|0;b=b+k|0;if(j>>>0>b>>>0){continue}break L}break}if(m){break b}}n=61;if((b|0)<0){break c}Oc(a,32,q,b,i);if(!b){b=0;break v}j=0;n=H[h+64>>2];while(1){k=H[n>>2];if(!k){break v}k=yq(h+4|0,k);j=k+j|0;if(j>>>0>b>>>0){break v}Gc(a,h+4|0,k);n=n+4|0;if(b>>>0>j>>>0){continue}break}}Oc(a,32,q,b,i^8192);b=(b|0)<(q|0)?q:b;continue e}if((j|0)<0?v:0){break d}n=61;b=Ya[f|0](a,M[h+64>>3],q,j,i,b)|0;if((b|0)>=0){continue e}break c}F[h+55|0]=H[h+64>>2];j=1;k=x;i=m;break g}j=b+1|0;H[h+76>>2]=j;i=I[b+1|0];b=j;continue}}if(a){break a}if(!u){break f}b=1;while(1){a=H[(b<<2)+e>>2];if(a){Bq((b<<3)+d|0,a,c,g);o=1;b=b+1|0;if((b|0)!=10){continue}break a}break}o=1;if(b>>>0>=10){break a}while(1){if(H[(b<<2)+e>>2]){break h}b=b+1|0;if((b|0)!=10){continue}break}break a}n=28;break c}m=n-k|0;l=(j|0)>(m|0)?j:m;if((l|0)>(2147483647-p|0)){break d}n=61;j=l+p|0;b=(j|0)<(q|0)?q:j;if((w|0)<(b|0)){break c}Oc(a,32,b,j,i);Gc(a,r,p);Oc(a,48,b,j,i^65536);Oc(a,48,l,m,0);Gc(a,k,m);Oc(a,32,b,j,i^8192);continue}break}o=0;break a}n=61}H[64884]=n}o=-1}Wa=h+80|0;return o}function vK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=H[c+80>>2];k=20;h=1;a=0;m=H[c+68>>2];d=!m;while(1){a:{b:{c:{if(!d){a=I[k+136960|0]==7?g:a;d=k<<1;j=G[d+136688>>1]+135840|0;b=F[k+136768|0];e=I[(i+N(g,20)|0)+18|0];k=I[d+135744|0];if(e>>>0>=k>>>0){b=e>>>0>I[d+135745|0]?b:e-k|0}b=F[b+j|0];break c}if((k|0)==20){break b}g=m;b=I[k+136912|0]-1|0}k=F[b+136816|0];d=b&31;d:{if(((b&63)>>>0>=32?12095>>>d|0:((1<>>d)&1){break d}e:{switch(F[b+136864|0]-1|0){case 1:f=g+1|0;break d;case 7:f=g+1|0;f:{if(f>>>0<=a>>>0){break f}d=h<<4|2;b=0;e=a;j=g-e|0;o=j+1&7;if(o){while(1){F[(i+N(e,20)|0)+15|0]=d;e=e+1|0;b=b+1|0;if((o|0)!=(b|0)){continue}break}}if(j>>>0<=6){break f}while(1){b=i+N(e,20)|0;F[b+35|0]=d;F[b+15|0]=d;F[b+55|0]=d;F[b+75|0]=d;F[b+95|0]=d;F[b+115|0]=d;F[b+135|0]=d;F[b+155|0]=d;b=e+7|0;e=e+8|0;if((b|0)!=(g|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 9:g:{if(a>>>0>=g>>>0){break g}f=h<<4;e=0;b=a;d=g-b&7;if(d){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break g}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=g;g=f-1|0;break d;case 11:h:{if(a>>>0>=g>>>0){break h}f=h<<4|1;e=0;b=a;d=g-b&7;if(d){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break h}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=g;g=f-1|0;break d;case 10:i:{if(a>>>0>=g>>>0){break i}f=h<<4|2;e=0;b=a;d=g-b&7;if(d){while(1){F[(i+N(b,20)|0)+15|0]=f;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if((a^-1)+g>>>0<=6){break i}while(1){d=i+N(b,20)|0;F[d+35|0]=f;F[d+15|0]=f;F[d+55|0]=f;F[d+75|0]=f;F[d+95|0]=f;F[d+115|0]=f;F[d+135|0]=f;F[d+155|0]=f;b=b+8|0;if((g|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=g;g=f-1|0;break d;case 0:g=f-1|0;j:{if(a>>>0>=f>>>0){break j}d=h<<4;e=0;b=a;j=f-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){e=i+N(b,20)|0;F[e+35|0]=d;F[e+15|0]=d;F[e+55|0]=d;F[e+75|0]=d;F[e+95|0]=d;F[e+115|0]=d;F[e+135|0]=d;F[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 4:g=f-1|0;k:{if(a>>>0>=f>>>0){break k}d=h<<4|1;e=0;b=a;j=f-b&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){e=i+N(b,20)|0;F[e+35|0]=d;F[e+15|0]=d;F[e+55|0]=d;F[e+75|0]=d;F[e+95|0]=d;F[e+115|0]=d;F[e+135|0]=d;F[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:l:{switch(l-2|0){case 0:g=f-1|0;m:{if(a>>>0>=f>>>0){break m}d=h<<4|1;e=0;b=a;l=f-b&7;if(l){while(1){F[(i+N(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){e=i+N(b,20)|0;F[e+35|0]=d;F[e+15|0]=d;F[e+55|0]=d;F[e+75|0]=d;F[e+95|0]=d;F[e+115|0]=d;F[e+135|0]=d;F[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}l=2;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 1:break l;default:break d}}g=f-1|0;n:{if(a>>>0>=f>>>0){break n}d=h<<4|2;e=0;b=a;l=f-b&7;if(l){while(1){F[(i+N(b,20)|0)+15|0]=d;b=b+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}if((a^-1)+f>>>0<=6){break n}while(1){e=i+N(b,20)|0;F[e+35|0]=d;F[e+15|0]=d;F[e+55|0]=d;F[e+75|0]=d;F[e+95|0]=d;F[e+115|0]=d;F[e+135|0]=d;F[e+155|0]=d;b=b+8|0;if((f|0)!=(b|0)){continue}break}}l=3;h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 3:f=g+1|0;l=2;break d;case 8:break e;default:break d}}f=g+1|0;l=3}a=I[k+137008|0]==6?0:a;g=g+1|0;if((m|0)!=(g|0)){break a}d=1;continue}o:{m=H[c+68>>2];if(!m){break o}a=m-1|0;g=0;b=H[c+80>>2];f=I[b+15|0];while(1){p:{if((a|0)==(g|0)){g=m;break p}g=g+1|0;if((f|0)==I[(b+N(g,20)|0)+15|0]){continue}}break}if(!m){break o}i=H[c+80>>2];d=0;h=m;while(1){f=g;k=f>>>0>h>>>0?h:f;l=k-d|0;q:{if(l>>>0<2){break q}b=H[c+144>>2]|32;H[c+144>>2]=b;if(d>>>0>=k>>>0){break q}g=-1;a=d;o=(d^-1)+k|0;if(o>>>0>=3){p=l&-4;j=0;while(1){e=N(a,20)+i|0;n=H[e+8>>2];g=g>>>0>>0?g:n;n=H[e+28>>2];g=g>>>0>>0?g:n;n=H[e+48>>2];g=g>>>0>>0?g:n;e=H[e+68>>2];g=e>>>0>g>>>0?g:e;a=a+4|0;j=j+4|0;if((p|0)!=(j|0)){continue}break}}e=0;j=l&3;if(j){while(1){p=H[(N(a,20)+i|0)+8>>2];g=g>>>0

>>0?g:p;a=a+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(l&1){a=N(d,20)+i|0;if(H[a+8>>2]!=(g|0)){H[c+144>>2]=b;H[a+4>>2]=H[a+4>>2]|3}d=d+1|0}if(!o){break q}while(1){a=N(d,20)+i|0;if(H[a+8>>2]!=(g|0)){b=b|32;H[c+144>>2]=b;H[a+4>>2]=H[a+4>>2]|3}a=N(d+1|0,20)+i|0;if(H[a+8>>2]!=(g|0)){b=b|32;H[c+144>>2]=b;H[a+4>>2]=H[a+4>>2]|3}d=d+2|0;if((k|0)!=(d|0)){continue}break}}a=f+1|0;a=a>>>0>>0?h:a;b=I[(N(f,20)+i|0)+15|0];g=f;while(1){r:{g=g+1|0;if(h>>>0<=g>>>0){g=a;break r}if((b|0)==I[(N(g,20)+i|0)+15|0]){continue}}break}if(f>>>0>=m>>>0){break o}h=H[c+68>>2];d=f;continue}}return}d=0;continue}}function sg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Wa-1488|0;Wa=e;h=H[a+4>>2];l=H[h+556>>2];q=H[l+40>>2];a:{b:{c:{i=H[h+712>>2];if(H[i+1504>>2]==65535){break c}f=H[i+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(K[i+1196>>2]>>0){break a}c=J[f+(c<<1)>>1];if(c){break b}break a}g=6;if(K[i+20>>2]<=c>>>0){break a}}H[a+164>>2]=65536;H[a+168>>2]=65536;m=d&1024?d|3:d;d:{e:{if(!b){break e}H[a+164>>2]=H[b+16>>2];H[a+168>>2]=H[b+20>>2];j=H[b+44>>2];if(m&8|(j|0)==-1){break e}f=H[b>>2];d=H[f+540>>2];if(!H[d+96>>2]){break e}if(Ya[H[d+72>>2]](h,j,c,m,H[f+104>>2],a+76|0,e+704|0)|0){break e}H[a+108>>2]=0;H[a+24>>2]=J[e+706>>1]<<6;H[a+28>>2]=J[e+704>>1]<<6;k=G[e+708>>1];H[a+32>>2]=k<<6;j=G[e+710>>1];H[a+36>>2]=j<<6;H[a+40>>2]=J[e+712>>1]<<6;f=G[e+714>>1];H[a+44>>2]=f<<6;b=G[e+716>>1];H[a+48>>2]=b<<6;d=J[e+718>>1];g=b;b=m&16;H[a+104>>2]=b?g:j;H[a+100>>2]=b?f:k;H[a+72>>2]=1651078259;H[a+52>>2]=d<<6;Ya[H[H[h+540>>2]+140>>2]](h,0,c,e+32|0,e+48|0);H[a+56>>2]=J[e+48>>1];if(!(!I[h+292|0]|!J[h+330>>1])){Ya[H[H[h+540>>2]+140>>2]](h,1,c,e+32|0,e+48|0);H[a+60>>2]=J[e+48>>1];break d}if(J[h+372>>1]!=65535){H[a+60>>2]=G[h+442>>1]-G[h+444>>1];break d}H[a+60>>2]=G[h+220>>1]-G[h+222>>1];break d}g=6;if(m&16384){break a}k=H[i+2024>>2];f:{if(k){g=0;f=H[i+3060>>2];g:{if(!f){break g}h:{switch(I[i+3052|0]){case 0:g=I[c+f|0];break g;case 3:break h;default:break g}}if(K[i+3072>>2]>c-H[i+3068>>2]>>>0){g=I[i+3076|0];break g}g=f+2|0;d=I[f+1|0]|I[f|0]<<8;j=f+H[i+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=I[g+2|0]|I[g+1|0]<<8;if(f>>>0>c>>>0){g=I[g|0];F[i+3076|0]=g;H[i+3072>>2]=f-d;H[i+3068>>2]=d;break g}d=f;g=g+3|0;if(j>>>0>g>>>0){continue}}break}g=0}f=(i+(((k>>>0>(g&255)>>>0?g:k-1|0)&255)<<2)|0)+2028|0;n=H[f>>2];k=H[n+68>>2];j=H[i+1440>>2];d=H[n+60>>2];H[e+40>>2]=H[n+56>>2];H[e+44>>2]=d;d=H[n+52>>2];H[e+32>>2]=H[n+48>>2];H[e+36>>2]=d;d=H[f>>2];o=H[d+72>>2];p=H[d+76>>2];if((j|0)==(k|0)){break f}s=a,t=sb(H[a+164>>2],j,k),H[s+164>>2]=t;s=a,t=sb(H[a+168>>2],j,k),H[s+168>>2]=t;r=1;break f}f=i+1428|0;d=H[f+4>>2];H[e+40>>2]=H[f>>2];H[e+44>>2]=d;f=i+1420|0;d=H[f+4>>2];H[e+32>>2]=H[f>>2];H[e+36>>2]=d;p=H[i+1448>>2];o=H[i+1444>>2]}H[a+108>>2]=0;H[a+72>>2]=1869968492;k=m&1;F[a+161|0]=!k;n=(m>>>1^-1)&1;F[a+160|0]=n;Ya[H[q>>2]](e+704|0,h,b,a,n,m>>>16&15,8,9);if(m&256){F[e+1297|0]=1}j=m&1024;F[e+770|0]=j>>>10;d=H[H[h+128>>2]+52>>2];i:{if(d){g=Ya[H[H[d>>2]>>2]](H[d+4>>2],c,e+48|0)|0;H[e+28>>2]=H[e+48>>2];H[e+24>>2]=H[e+52>>2];break i}g=sh(H[h+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Ya[H[q+4>>2]](e+704|0,b,c)|0;if(g){break a}d=e+48|0;Ya[H[l+24>>2]](d,e+704|0,0);f=d;d=H[e+24>>2];g=Ya[H[q+8>>2]](f,H[e+28>>2],d)|0;if((g&255)==164){F[a+160|0]=0;n=0;g=Ya[H[q+8>>2]](e+48|0,H[e+28>>2],d)|0;r=1}f=H[H[h+128>>2]+52>>2];j:{if(f){H[e+12>>2]=d;H[e+8>>2]=H[e+28>>2];Ya[H[H[f>>2]+4>>2]](H[f+4>>2],e+8|0);break j}f=H[h+712>>2];if(H[f+1236>>2]){break j}bc(H[f+1204>>2],e+28|0)}if(g){break a}g=0;k:{if(H[H[h+128>>2]+52>>2]){d=0}else{f=H[i+1232>>2];if(!f){break k}g=(H[i+1236>>2]+H[f+(c<<2)>>2]|0)-1|0}H[a+140>>2]=d;H[a+136>>2]=g}Ya[H[e+784>>2]](e+704|0);l=H[H[h+128>>2]+52>>2];l:{if(!l){break l}f=H[H[l>>2]+8>>2];if(!f){break l}H[e+12>>2]=0;H[e+8>>2]=H[e+736>>2];d=H[e+748>>2];H[e+16>>2]=H[e+744>>2];H[e+20>>2]=d;g=Ya[f|0](H[l+4>>2],c,0,e+8|0)|0;H[e+736>>2]=H[e+8>>2];d=H[e+20>>2];H[e+744>>2]=H[e+16>>2];H[e+748>>2]=d;if(g){break a}}if(j){H[a+32>>2]=H[e+736>>2];H[a+40>>2]=H[e+1288>>2];f=H[e+40>>2];d=H[e+44>>2];c=H[e+32>>2];b=H[e+36>>2];a=H[a+156>>2];H[a+28>>2]=o;H[a+32>>2]=p;F[a+8|0]=1;H[a+20>>2]=f;H[a+24>>2]=d;H[a+12>>2]=c;H[a+16>>2]=b;break d}m:{if(J[h+250>>1]){G[e+8>>1]=0;G[e+28>>1]=0;Ya[H[H[h+540>>2]+140>>2]](h,0,c,e+8|0,e+28|0);d=J[e+28>>1];H[a+32>>2]=G[e+8>>1];break m}d=H[e+1288>>2]}H[a+56>>2]=d;H[a+40>>2]=d;F[H[a+156>>2]+8|0]=0;n:{if(!(!I[h+292|0]|!J[h+330>>1])){G[e+8>>1]=0;G[e+28>>1]=0;Ya[H[H[h+540>>2]+140>>2]](h,1,c,e+8|0,e+28|0);H[a+48>>2]=G[e+8>>1];d=J[e+28>>1];H[a+52>>2]=d;f=1;break n}o:{if(J[h+372>>1]!=65535){d=G[h+442>>1]-G[h+444>>1]|0;H[a+52>>2]=d;break o}d=G[h+220>>1]-G[h+222>>1]|0;H[a+52>>2]=d}f=0}H[a+72>>2]=1869968492;H[a+60>>2]=d;l=a+108|0;H[a+124>>2]=b?J[b+14>>1]<24?260:4:4;p:{if(!(H[e+36>>2]|(H[e+32>>2]!=65536|H[e+44>>2]!=65536))){if(!H[e+40>>2]){break p}}Td(l,e+32|0);s=a,t=ib(H[a+40>>2],H[e+32>>2]),H[s+40>>2]=t;s=a,t=ib(H[a+52>>2],H[e+44>>2]),H[s+52>>2]=t}if(o|p){yc(l,o,p);H[a+40>>2]=H[a+40>>2]+o;H[a+52>>2]=H[a+52>>2]+p}if(!(r?0:k)){k=H[a+168>>2];j=H[a+164>>2];q:{if(H[e+772>>2]?n:0){break q}b=G[a+110>>1];if((b|0)<=0){break q}c=b&65535;d=H[a+112>>2];while(1){s=d,t=ib(H[d>>2],j),H[s>>2]=t;s=d,t=ib(H[d+4>>2],k),H[s+4>>2]=t;d=d+8|0;b=c>>>0>1;c=c-1|0;if(b){continue}break}}s=a,t=ib(H[a+40>>2],j),H[s+40>>2]=t;s=a,t=ib(H[a+52>>2],k),H[s+52>>2]=t}je(l,e+8|0);d=H[e+8>>2];H[a+24>>2]=H[e+16>>2]-d;c=H[e+12>>2];b=H[e+20>>2];H[a+36>>2]=b;H[a+32>>2]=d;H[a+28>>2]=b-c;if(f){H[a+44>>2]=d+(H[a+40>>2]/-2|0);s=a,t=ib(H[a+48>>2],H[a+168>>2]),H[s+48>>2]=t;break d}if(!(m&16)){break d}ff(a+24|0,H[a+52>>2])}g=0}Wa=e+1488|0;return g}function oK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=H[c+80>>2];h=1;a=0;l=H[c+68>>2];g=!l;while(1){a:{b:{c:{if(!g){a=I[k+139280|0]==2?f:a;e=k<<1;g=G[e+138864>>1]+137312|0;b=F[k+138976|0];d=I[(i+N(f,20)|0)+18|0];k=I[e+137184|0];if(d>>>0>=k>>>0){b=d>>>0>I[e+137185|0]?b:d-k|0}b=F[b+g|0];break c}if(!k){break b}f=l;b=G[(k<<1)+139168>>1]-1|0}k=F[b+139040|0];e=b&31;d:{if(((b&63)>>>0>=32?536674303>>>e|0:((1<>>e)&1){break d}e:{switch(F[b+139104|0]-3|0){case 3:f:{if(f+1>>>0<=a>>>0){break f}e=h<<4;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break f}while(1){d=i+N(b,20)|0;F[d+35|0]=e;F[d+15|0]=e;F[d+55|0]=e;F[d+75|0]=e;F[d+95|0]=e;F[d+115|0]=e;F[d+135|0]=e;F[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 1:g:{if(f+1>>>0<=a>>>0){break g}e=h<<4|3;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break g}while(1){d=i+N(b,20)|0;F[d+35|0]=e;F[d+15|0]=e;F[d+55|0]=e;F[d+75|0]=e;F[d+95|0]=e;F[d+115|0]=e;F[d+135|0]=e;F[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 7:h:{if(f+1>>>0<=a>>>0){break h}e=h<<4|1;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break h}while(1){d=i+N(b,20)|0;F[d+35|0]=e;F[d+15|0]=e;F[d+55|0]=e;F[d+75|0]=e;F[d+95|0]=e;F[d+115|0]=e;F[d+135|0]=e;F[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 5:i:{if(f+1>>>0<=a>>>0){break i}e=h<<4|2;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break i}while(1){d=i+N(b,20)|0;F[d+35|0]=e;F[d+15|0]=e;F[d+55|0]=e;F[d+75|0]=e;F[d+95|0]=e;F[d+115|0]=e;F[d+135|0]=e;F[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 0:j:{if(f+1>>>0<=a>>>0){break j}e=h<<4|3;d=0;b=a;g=f-b|0;j=g+1&7;if(j){while(1){F[(i+N(b,20)|0)+15|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(g>>>0<=6){break j}while(1){d=i+N(b,20)|0;F[d+35|0]=e;F[d+15|0]=e;F[d+55|0]=e;F[d+75|0]=e;F[d+95|0]=e;F[d+115|0]=e;F[d+135|0]=e;F[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}h=h+1|0;if((h|0)!=16){break d}h=1;break d;case 2:e=f-1|0;k:{if(a>>>0>=f>>>0){break k}g=h<<4;b=0;d=a;j=f-d&7;if(j){while(1){F[(i+N(d,20)|0)+15|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){b=i+N(d,20)|0;F[b+35|0]=g;F[b+15|0]=g;F[b+55|0]=g;F[b+75|0]=g;F[b+95|0]=g;F[b+115|0]=g;F[b+135|0]=g;F[b+155|0]=g;d=d+8|0;if((f|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)!=16){f=e;break d}h=1;f=e;break d;case 4:e=f-1|0;l:{if(a>>>0>=f>>>0){break l}g=h<<4|2;b=0;d=a;j=f-d&7;if(j){while(1){F[(i+N(d,20)|0)+15|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break l}while(1){b=i+N(d,20)|0;F[b+35|0]=g;F[b+15|0]=g;F[b+55|0]=g;F[b+75|0]=g;F[b+95|0]=g;F[b+115|0]=g;F[b+135|0]=g;F[b+155|0]=g;d=d+8|0;if((f|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)!=16){f=e;break d}h=1;f=e;break d;case 6:break e;default:break d}}m:{if(a>>>0>=f>>>0){break m}e=h<<4|3;b=0;d=a;g=f-d&7;if(g){while(1){F[(i+N(d,20)|0)+15|0]=e;d=d+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){b=i+N(d,20)|0;F[b+35|0]=e;F[b+15|0]=e;F[b+55|0]=e;F[b+75|0]=e;F[b+95|0]=e;F[b+115|0]=e;F[b+135|0]=e;F[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)==16){h=1}f=f-1|0}a=I[k+139344|0]==1?0:a;f=f+1|0;if((l|0)!=(f|0)){break a}g=1;continue}n:{l=H[c+68>>2];if(!l){break n}a=l-1|0;f=0;b=H[c+80>>2];e=I[b+15|0];while(1){o:{if((a|0)==(f|0)){f=l;break o}f=f+1|0;if((e|0)==I[(b+N(f,20)|0)+15|0]){continue}}break}if(!l){break n}i=H[c+80>>2];g=0;k=l;while(1){e=f;j=e>>>0>k>>>0?k:e;n=j-g|0;p:{if(n>>>0<2){break p}b=H[c+144>>2]|32;H[c+144>>2]=b;if(g>>>0>=j>>>0){break p}f=-1;a=g;p=j+(g^-1)|0;if(p>>>0>=3){o=n&-4;d=0;while(1){h=i+N(a,20)|0;m=H[h+8>>2];f=f>>>0>>0?f:m;m=H[h+28>>2];f=f>>>0>>0?f:m;m=H[h+48>>2];f=f>>>0>>0?f:m;h=H[h+68>>2];f=f>>>0>>0?f:h;a=a+4|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}h=0;d=n&3;if(d){while(1){o=H[(i+N(a,20)|0)+8>>2];f=f>>>0>>0?f:o;a=a+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(n&1){a=i+N(g,20)|0;if(H[a+8>>2]!=(f|0)){H[c+144>>2]=b;H[a+4>>2]=H[a+4>>2]|3}g=g+1|0}if(!p){break p}while(1){a=i+N(g,20)|0;if(H[a+8>>2]!=(f|0)){b=b|32;H[c+144>>2]=b;H[a+4>>2]=H[a+4>>2]|3}a=i+N(g+1|0,20)|0;if(H[a+8>>2]!=(f|0)){b=b|32;H[c+144>>2]=b;H[a+4>>2]=H[a+4>>2]|3}g=g+2|0;if((j|0)!=(g|0)){continue}break}}a=e+1|0;a=a>>>0>>0?k:a;b=I[(i+N(e,20)|0)+15|0];f=e;while(1){q:{f=f+1|0;if(k>>>0<=f>>>0){f=a;break q}if((b|0)==I[(i+N(f,20)|0)+15|0]){continue}}break}if(e>>>0>=l>>>0){break n}k=H[c+68>>2];g=e;continue}}return}g=0;continue}}function Kj(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0;m=Wa-144|0;Wa=m;a:{b:{c:{d:{e:{C=c+3|0;u=tb(C);if(u){l=C<<2;y=tb(l);if(!y){break e}z=tb(l);if(!z){break d}A=tb(l);if(!A){break c}F[u|0]=46;n=1;J=(c|0)<=0;f:{if(J){break f}q=c&1;g:{if((c|0)==1){l=0;break g}o=c&-2;l=0;while(1){r=n+u|0;s=I[b+l|0];F[r|0]=(s-48&255)>>>0<10?46:s;s=r;r=I[(l|1)+b|0];F[s+1|0]=(r-48&255)>>>0<10?46:r;l=l+2|0;n=n+2|0;p=p+2|0;if((o|0)!=(p|0)){continue}break}}if(!q){break f}l=I[b+l|0];F[n+u|0]=(l-48&255)>>>0<10?46:l;n=n+1|0}l=n+u|0;F[l|0]=46;F[l+1|0]=0;w=kb(d,48,n+1|0);x=c<<2;l=0;q=0;s=0;while(1){o=l;h:{if((q|0)!=-1){r=I[o+u|0];d=H[a+40>>2];while(1){q=d+N(q,24)|0;p=H[q+16>>2];if((p|0)>0){v=H[q+20>>2];l=0;while(1){t=v+(l<<3)|0;if((r|0)==I[t|0]){q=H[t+4>>2];d=d+N(q,24)|0;r=H[d>>2];if(!r){break h}l=F[d+9|0];v=F[d+8|0];t=(o-wb(r)|0)+1|0;D=H[d+4>>2];if(D){if(!(s|J)){kb(A,0,x);kb(z,255,x);s=c}H[y+(v+t<<2)>>2]=l}p=I[r|0];if(!p){break h}K=l+v|0;L=z+(v+t<<2)|0;l=0;d=r;while(1){E=l+t|0;B=E+w|0;i:{if(F[B|0]>=p<<24>>24){break i}F[B|0]=p;if(!(F[d|0]&1)){break i}H[A+(E<<2)>>2]=D;if(!D|(l|0)<(v|0)|(l|0)>(K|0)){break i}H[L>>2]=E}l=l+1|0;d=r+l|0;p=I[d|0];if(p){continue}break}break h}l=l+1|0;if((p|0)!=(l|0)){continue}break}}q=H[q+12>>2];if((q|0)!=-1){continue}break}}q=0}l=o+1|0;if((o|0)!=(n|0)){continue}break}break b}H[m>>2]=C;xc(H[60540],239364,m);break a}H[m+16>>2]=l;xc(H[60540],239364,m+16|0);break a}H[m+32>>2]=l;xc(H[60540],239364,m+32|0);break a}H[m+48>>2]=l;xc(H[60540],239364,m+48|0);break a}l=0;if((n|0)>=3){l=n-2|0;Yb(w,w+1|0,l)}if((c|0)>(l|0)){kb(l+w|0,48,(c-((n|0)>2?n:2)|0)+2|0)}l=0;F[c+w|0]=0;j:{k:{l:{m:{n:{if(!(!s|(c|0)<=0)){s=(e|0)!=0&(f|0)!=0&(g|0)!=0;while(1){d=l<<2;q=H[d+z>>2];o:{if((q|0)<0){break o}p=q<<2;o=H[p+A>>2];if(!o){break o}p:{if(!s){p=H[d+y>>2];break p}if(!H[e>>2]){Q=e,R=Ab(c,4),H[Q>>2]=R}if(!H[f>>2]){Q=f,R=Ab(c,4),H[Q>>2]=R}if(!H[g>>2]){Q=g,R=Ab(c,4),H[Q>>2]=R}r=wb(o);n=r+1|0;v=tb(n);if(!v){break n}n=r;r=mb(v,o,r);F[n+r|0]=0;o=p-4|0;H[o+H[e>>2]>>2]=r;H[o+H[f>>2]>>2]=q-l;p=H[d+y>>2];H[o+H[g>>2]>>2]=p}l=(l+p|0)-1|0}l=l+1|0;if((l|0)<(c|0)){continue}break}}hb(A);hb(y);hb(z);if(H[a+44>>2]){d=tb(x);if(!d){break m}H[m+140>>2]=d;l=tb(x);if(!l){break l}H[m+136>>2]=l;l=tb(x);if(!l){break k}H[m+132>>2]=l;r=tb(C);if(!r){break j}q:{r:{if((c|0)<=0){break r}H[d>>2]=0;s:{if((c|0)==1){break s}d=c-1|0;o=d&3;l=1;if(c-2>>>0>=3){s=d&-4;d=0;while(1){q=l<<2;H[q+H[m+140>>2]>>2]=0;H[(q+H[m+140>>2]|0)+4>>2]=0;H[(q+H[m+140>>2]|0)+8>>2]=0;H[(q+H[m+140>>2]|0)+12>>2]=0;l=l+4|0;d=d+4|0;if((s|0)!=(d|0)){continue}break}}if(!o){break s}p=0;while(1){H[H[m+140>>2]+(l<<2)>>2]=0;l=l+1|0;p=p+1|0;if((o|0)!=(p|0)){continue}break}}if((c|0)<=0){break r}D=(g|0)!=0&(f|0)!=0&(e|0)!=0;E=c&-4;y=c&3;J=c&-2;K=c&1;z=c-1|0;A=u+1|0;L=c+1|0;v=c+u|0;d=0;q=0;while(1){t:{u:{B=F[d+w|0]&1;if(B){break u}l=d+1|0;if((q|0)<=0){break t}if((c|0)==(l|0)){break u}break t}s=d-q|0;v:{if((s|0)<=0){q=d+1|0;break v}l=0;o=d+2|0;M=o+u|0;F[M|0]=0;p=0;w:{if(!e){break w}n=H[e>>2];if(!n){break w}G=H[f>>2];if(!G|!H[g>>2]){break w}O=d<<2;P=n+O|0;n=H[P>>2];if(!n){break w}t=Ac(n,61);G=G+O|0;p=o-H[G>>2]|0;Ue(p+u|0,n,(p^-1)+C|0);p=0;F[v+2|0]=0;if(!t){break w}p=t-(H[G>>2]+H[P>>2]|0)|0;F[(o+p|0)+u|0]=0}Kj(a,q+A|0,(p+s|0)+1|0,r,m+140|0,m+136|0,m+132|0,h,i,(q|0)>0?0:j,B?0:k);x:{if(!D){mb(q+w|0,r,s);break x}while(1){B=l+q|0;F[B+w|0]=I[l+r|0];o=H[m+140>>2];p=l<<2;if(H[o+p>>2]){if(!(H[g>>2]|(H[e>>2]|H[f>>2]))){Q=e,R=tb(x),H[Q>>2]=R;Q=f,R=tb(x),H[Q>>2]=R;Q=g,R=tb(x),H[Q>>2]=R;o=0;t=0;if(z){while(1){n=o<<2;H[n+H[e>>2]>>2]=0;H[n+H[f>>2]>>2]=0;H[n+H[g>>2]>>2]=0;n=n|4;H[n+H[e>>2]>>2]=0;H[n+H[f>>2]>>2]=0;H[n+H[g>>2]>>2]=0;o=o+2|0;t=t+2|0;if((J|0)!=(t|0)){continue}break}}if(K){o=o<<2;H[o+H[e>>2]>>2]=0;H[o+H[f>>2]>>2]=0;H[o+H[g>>2]>>2]=0}o=H[m+140>>2]}n=B<<2;H[n+H[e>>2]>>2]=H[o+p>>2];H[n+H[f>>2]>>2]=H[p+H[m+136>>2]>>2];H[n+H[g>>2]>>2]=H[p+H[m+132>>2]>>2]}l=l+1|0;if((s|0)!=(l|0)){continue}break}}q=d+1|0;F[M|0]=I[q+b|0];l=H[e>>2];if(!l|!H[f>>2]|(!H[g>>2]|!H[l+(d<<2)>>2])){break v}Ue(A,b,L);F[v+2|0]=0}d=0;l=0;o=0;if(z>>>0>=3){while(1){s=l<<2;H[s+H[m+140>>2]>>2]=0;H[H[m+140>>2]+(s|4)>>2]=0;H[H[m+140>>2]+(s|8)>>2]=0;H[H[m+140>>2]+(s|12)>>2]=0;l=l+4|0;o=o+4|0;if((E|0)!=(o|0)){continue}break}}if(y){while(1){H[H[m+140>>2]+(l<<2)>>2]=0;l=l+1|0;d=d+1|0;if((y|0)!=(d|0)){continue}break}}l=q}d=l;if((l|0)!=(c|0)){continue}break}if(q){break q}}Kj(H[a+44>>2],b,c,w,e,f,g,h,i,j,k);if(!j){Qq(H[a+36>>2],b,w,e,f,g,h)}if(k){break q}Pq(H[a+36>>2],b,c,w,e,f,g,i)}hb(H[m+140>>2]);hb(H[m+132>>2]);hb(H[m+136>>2]);hb(r)}hb(u);Wa=m+144|0;return}H[m+128>>2]=n;xc(H[60540],239364,m+128|0);break a}H[m+64>>2]=x;xc(H[60540],239364,m- -64|0);break a}H[m+80>>2]=x;xc(H[60540],239364,m+80|0);break a}H[m+96>>2]=x;xc(H[60540],239364,m+96|0);break a}H[m+112>>2]=C;xc(H[60540],239364,m+112|0)}qa(1);X()}function Me(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0;g=Wa-48|0;Wa=g;L=H[a>>2];y=H[a+40>>2];h=H[a+36>>2];c=H[H[a+2748>>2]+40>>2];F[g+39|0]=0;F[g+40|0]=0;F[g+41|0]=0;F[g+42|0]=0;H[g+32>>2]=0;H[g+36>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;H[g+8>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g>>2]=0;H[g+4>>2]=0;d=N(b,1348)+a|0;w=d;H[d+44>>2]=0;f=H[d+68>>2];D=(c>>>0)/14|0;e=H[a+28>>2];d=H[a+24>>2];c=e+N(d,40)|0;a:{if(!b){if((d|0)<=0){break a}while(1){H[e+24>>2]=G[e+12>>1];H[e+28>>2]=G[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}while(1){H[e+24>>2]=G[e+14>>1];H[e+28>>2]=G[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{if((h|0)>0){R=(h<<2)+y|0;u=N(b,1348)+a|0;E=u+72|0;c=f>>31;x=(c^f)-c|0;M=x;c=0;while(1){v=H[y>>2];e=H[v+36>>2];d=F[e+3|0];f=d>>7;f=(d^f)-f&255;c:{if((f|0)!=(x|0)){break c}d=F[v+3|0];h=d>>7;if(((d^h)-h&255)!=(x|0)){break c}if((f|0)==(x|0)){while(1){if((e|0)==(v|0)){break c}e=H[e+36>>2];d=F[e+3|0];f=d>>7;if(((d^f)-f&255)==(x|0)){continue}break}}v=H[e+32>>2]}n=0;k=-32e3;l=32e3;e=v;d=32e3;o=-32e3;h=0;f=0;m=32e3;p=-32e3;O=0;i=0;r=32e3;s=-32e3;z=32e3;A=-32e3;K=0;q=0;B=32e3;C=-32e3;while(1){P=1;d:{if(!n){break d}t=H[e+24>>2];n=(t|0)>(k|0);j=H[e+28>>2];if((j|0)<(d|0)){h=J[e>>1];d=j}k=n?t:k;l=(l|0)>(t|0)?t:l;t=J[e>>1];n=t&3;p=n?p:(j|0)>(p|0)?j:p;m=n?m:(j|0)<(m|0)?j:m;n=(j|0)>(o|0);f=n?t:f;o=n?j:o;if(!((e|0)==(v|0)|F[e+3|0]!=(M|0))){P=0;break d}e:{if(i){j=H[c+36>>2];if((j|0)==H[i+40>>2]){break e}}H[c+40>>2]=e;G[c+4>>1]=k-l>>>1;G[c+2>>1]=k+l>>>1;if(!(!((f|h)&3)|(p-m|0)>=(D|0))){F[c|0]=I[c|0]|1}G[c+8>>1]=o;G[c+6>>1]=d;G[c+10>>1]=o-d;i=c;r=l;s=k;z=d;A=o;K=h;q=f;B=m;C=p;c=0;break d}f:{if(I[j+2|0]==I[e+2|0]){H[i+40>>2]=e;j=(o|0)<(A|0);o=j?A:o;G[i+8>>1]=o;c=(d|0)>(z|0);d=c?z:d;G[i+6>>1]=d;G[i+10>>1]=o-d;k=(k|0)<(s|0)?s:k;l=(l|0)>(r|0)?r:l;G[i+4>>1]=k-l>>>1;G[i+2>>1]=k+l>>>1;h=c?K:h;f=j?q:f;p=(p|0)<(C|0)?C:p;m=(m|0)>(B|0)?B:m;F[i|0]=I[i|0]&254|((h|f)&3)!=0&(p-m|0)<(D|0);break f}j=A-z|0;Q=j>>31;t=o-d|0;n=t>>31;if((j^Q)-Q>>>0>(n^t)-n>>>0){H[i+40>>2]=e;s=(k|0)>(s|0)?k:s;r=(l|0)<(r|0)?l:r;G[i+4>>1]=s-r>>>1;G[i+2>>1]=r+s>>>1;break f}H[c+40>>2]=e;k=(k|0)<(s|0)?s:k;l=(l|0)>(r|0)?r:l;G[c+4>>1]=k-l>>>1;G[c+2>>1]=k+l>>>1;if(!(!((f|h)&3)|(p-m|0)>=(D|0))){F[c|0]=I[c|0]|1}G[c+10>>1]=t;G[c+6>>1]=d;G[c+8>>1]=o;H[i+40>>2]=H[c+40>>2];q=H[c+36>>2];H[i+32>>2]=H[c+32>>2];H[i+36>>2]=q;q=H[c+28>>2];H[i+24>>2]=H[c+24>>2];H[i+28>>2]=q;q=H[c+20>>2];H[i+16>>2]=H[c+16>>2];H[i+20>>2]=q;q=H[c+4>>2];H[i>>2]=H[c>>2];H[i+4>>2]=q;q=H[c+12>>2];H[i+8>>2]=H[c+8>>2];H[i+12>>2]=q;r=l;s=k;z=d;A=o;K=h;q=f;B=m;C=p}H[w+44>>2]=H[w+44>>2]-1;c=0}g:{if((e|0)==(v|0)){j=O;O=1;if(j){break g}}n=1;if(!P){e=H[e+32>>2];continue}j=F[e+3|0];n=j>>31;h:{if(((j^n)-n|0)==(x|0)){break h}n=0;if(H[e+36>>2]==(e|0)){break h}e=H[e+32>>2];continue}H[g+44>>2]=0;c=H[w+44>>2];i:{if((c|0)<=17){if(H[u+52>>2]){break i}H[u+52>>2]=E;H[u+48>>2]=18;break i}f=H[u+48>>2];if((f|0)>(c|0)){break i}if((f|0)>48806445){m=64;break b}j:{if((f|0)>=-16){c=(f+(f>>2)|0)+4|0;if((c|0)<48806447){break j}}c=48806446}d=H[u+52>>2];k:{if((d|0)==(E|0)){d=jb(L,44,0,c,0,g+44|0);H[u+52>>2]=d;m=H[g+44>>2];if(m){break b}mb(d,E,792);break k}S=u,T=jb(L,44,f,c,d,g+44|0),H[S+52>>2]=T;m=H[g+44>>2];if(m){break b}}H[u+48>>2]=c;c=H[w+44>>2]}n=1;k=H[u+52>>2];H[w+44>>2]=c+1;f=N(c,44);c=f+k|0;F[c|0]=0;h=H[g+20>>2];d=H[g+16>>2];F[c+1|0]=d;F[c+2|0]=d>>>8;F[c+3|0]=d>>>16;F[c+4|0]=d>>>24;F[c+5|0]=h;F[c+6|0]=h>>>8;F[c+7|0]=h>>>16;F[c+8|0]=h>>>24;h=H[g+28>>2];d=H[g+24>>2];F[c+9|0]=d;F[c+10|0]=d>>>8;F[c+11|0]=d>>>16;F[c+12|0]=d>>>24;F[c+13|0]=h;F[c+14|0]=h>>>8;F[c+15|0]=h>>>16;F[c+16|0]=h>>>24;h=H[g+36>>2];d=H[g+32>>2];F[c+17|0]=d;F[c+18|0]=d>>>8;F[c+19|0]=d>>>16;F[c+20|0]=d>>>24;F[c+21|0]=h;F[c+22|0]=h>>>8;F[c+23|0]=h>>>16;F[c+24|0]=h>>>24;d=I[g+39|0]|I[g+40|0]<<8|(I[g+41|0]<<16|I[g+42|0]<<24);F[c+24|0]=d;F[c+25|0]=d>>>8;F[c+26|0]=d>>>16;F[c+27|0]=d>>>24;H[c+28>>2]=32e3;H[c+40>>2]=H[g+8>>2];d=H[g+4>>2];H[c+32>>2]=H[g>>2];H[c+36>>2]=d;F[c+1|0]=j;H[c+40>>2]=e;H[c+36>>2]=e;i=i?c-44|0:0;d=H[e+28>>2];h=J[e>>1];o=h&3;p=o?-32e3:d;m=o?32e3:d;l=H[e+24>>2];if(H[e+36>>2]==(e|0)){f=f+k|0;G[f+2>>1]=l;if(o){F[c|0]=1}G[f+10>>1]=0;G[f+8>>1]=d;G[f+6>>1]=d;n=0;c=0}k=l;o=d;f=h;M=j;e=H[e+32>>2];continue}break}y=y+4|0;if(R>>>0>y>>>0){continue}break}}m=0;e=H[(N(b,1348)+a|0)+52>>2];if(!e){break b}a=H[w+44>>2];if((a|0)<=0){break b}b=N(a,44)+e|0;while(1){a=H[e+36>>2];f=H[H[a+36>>2]+28>>2];d=H[a+28>>2];a=H[e+40>>2];c=H[a+28>>2];l:{m:{if((d|0)<(c|0)){if((d|0)>(f|0)){G[e+10>>1]=J[e+10>>1]+(d-f>>>1|0)}a=H[H[a+32>>2]+28>>2];if((a|0)<=(c|0)){break l}a=a-c|0;break m}if((d|0)<(f|0)){G[e+10>>1]=J[e+10>>1]+(f-d>>>1|0)}a=H[H[a+32>>2]+28>>2];if((a|0)>=(c|0)){break l}a=c-a|0}G[e+10>>1]=J[e+10>>1]+(a>>>1|0)}e=e+44|0;if(b>>>0>e>>>0){continue}break}}Wa=g+48|0;return m}function ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=b<<1;q=d+a|0;if(b>>>0>=10){while(1){l=a+2|0;h=(b&-2)+a|0;i=(bk(l,h,c)|0)>0;b=i?l:h;d=d-2|0;g=d+a|0;e=g-2|0;if((bk(b,e,c)|0)>0){b=i?h:l;b=(bk(b,e,c)|0)>0?b:e}if((b|0)!=(g|0)){l=I[b|0];F[b|0]=I[g|0];F[g|0]=l;l=I[b+1|0];F[b+1|0]=I[g+1|0];F[g+1|0]=l}a:{if((d|0)<=0){e=0;break a}l=g;h=g;i=a;b=i;while(1){b:{if(b>>>0>=h>>>0){break b}c:{while(1){d:{n=J[b>>1];k=J[g>>1];e:{f:{g:{h:{i:{f=H[c+4>>2];if((f|0)!=131072){if((f|0)!=65536){break f}j=0;m=0;e=0;if(k>>>0<=257){e=k<<2;d=H[e+122816>>2];m=d+119104|0;e=H[e+122820>>2]+(d^-1)|0}if(n>>>0<=257){break i}d=0;break g}j=0;m=0;e=0;d=H[c+8>>2];o=I[d|0]|I[d+1|0]<<8;p=(o<<8|o>>>8)&65535;j:{if(p>>>0<=k>>>0){break j}e=d+(k<<1)|0;e=I[e+2|0]|I[e+3|0]<<8;o=(e<<8|e>>>8)&65535;if(o>>>0<=257){e=o<<2;m=H[e+122816>>2];e=H[e+122820>>2]+(m^-1)|0;m=m+119104|0;break j}e=0;o=o-258|0;if(o>>>0>=K[c+16>>2]){break j}e=H[c+24>>2]+H[H[c+20>>2]+(o<<2)>>2]|0;m=e+1|0;e=I[e|0]}if(n>>>0

>>0){break h}d=0;break g}d=n<<2;j=H[d+122816>>2];d=H[d+122820>>2]+(j^-1)|0;j=j+119104|0;break g}d=d+(n<<1)|0;d=I[d+2|0]|I[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){d=d<<2;j=H[d+122816>>2];d=H[d+122820>>2]+(j^-1)|0;j=j+119104|0;break g}d=d-258|0;if(d>>>0>=K[c+16>>2]){d=0;break g}d=H[c+24>>2]+H[H[c+20>>2]+(d<<2)>>2]|0;j=d+1|0;d=I[d|0]}if((d|0)!=(e|0)){d=d-e|0}else{if(!e){break f}d=Bc(j,m,e)}if((d|0)>0){if(b>>>0>>0){break d}break c}if(d){break e}}if(b>>>0>i>>>0){d=I[i|0];F[i|0]=n;F[b|0]=d;d=I[i+1|0];F[i+1|0]=n>>>8;F[b+1|0]=d}i=i+2|0}b=b+2|0;if(h>>>0>b>>>0){continue}break b}break}k:{while(1){n=k&65535;e=h-2|0;k=J[e>>1];o=k>>>8|0;l:{m:{n:{o:{p:{q:{if((f|0)!=131072){if((f|0)!=65536){break n}j=0;m=0;d=0;if(n>>>0<=257){d=n<<2;f=H[d+122816>>2];m=f+119104|0;d=H[d+122820>>2]+(f^-1)|0}if(k>>>0<=257){break q}f=0;break o}j=0;m=0;d=0;f=H[c+8>>2];p=I[f|0]|I[f+1|0]<<8;p=(p<<8|p>>>8)&65535;r:{if(p>>>0<=n>>>0){break r}d=f+(n<<1)|0;d=I[d+2|0]|I[d+3|0]<<8;n=(d<<8|d>>>8)&65535;if(n>>>0<=257){d=n<<2;m=H[d+122816>>2];d=H[d+122820>>2]+(m^-1)|0;m=m+119104|0;break r}d=0;n=n-258|0;if(n>>>0>=K[c+16>>2]){break r}d=H[c+24>>2]+H[H[c+20>>2]+(n<<2)>>2]|0;m=d+1|0;d=I[d|0]}if(k>>>0

>>0){break p}f=0;break o}f=k<<2;j=H[f+122816>>2];f=H[f+122820>>2]+(j^-1)|0;j=j+119104|0;break o}j=f+(k<<1)|0;j=I[j+2|0]|I[j+3|0]<<8;f=(j<<8|j>>>8)&65535;if(f>>>0<=257){f=f<<2;j=H[f+122816>>2];f=H[f+122820>>2]+(j^-1)|0;j=j+119104|0;break o}j=0;f=f-258|0;if(f>>>0>=K[c+16>>2]){f=0;break o}f=H[c+24>>2]+H[H[c+20>>2]+(f<<2)>>2]|0;j=f+1|0;f=I[f|0]}if((d|0)!=(f|0)){d=f-d|0}else{if(!d){break n}d=Bc(j,m,d)}if(d){break m}}d=l-2|0;if(h>>>0>=l>>>0){break l}F[e|0]=I[d|0];F[d|0]=k;l=l-1|0;F[h-1|0]=I[l|0];F[l|0]=o;break l}if((d|0)>=0){d=l;break l}if(b>>>0>>0){d=I[b|0];F[b|0]=k;F[e|0]=d;d=I[b+1|0];F[b+1|0]=o;F[h-1|0]=d}b=b+2|0;break k}if(b>>>0>>0){f=H[c+4>>2];k=J[g>>1];l=d;h=e;continue}break}l=d}h=e}if(b>>>0>>0){continue}}break}d=h-i|0;s:{if((a|0)==(i|0)|(h|0)==(i|0)){break s}b=i-a|0;if(b>>>0>d>>>0){if((d|0)<=0){break s}e=a+d|0;b=a+b|0;i=a;while(1){g=I[i|0];F[i|0]=I[b|0];F[b|0]=g;b=b+1|0;i=i+1|0;if(e>>>0>i>>>0){continue}break}break s}if((b|0)<=0){break s}e=a+b|0;b=a+d|0;i=a;while(1){g=I[i|0];F[i|0]=I[b|0];F[b|0]=g;b=b+1|0;i=i+1|0;if(e>>>0>i>>>0){continue}break}}e=l-h|0;if((h|0)==(l|0)|(l|0)==(q|0)){break a}b=q-l|0;if(b>>>0>>0){if((b|0)<=0){break a}l=b+h|0;b=e+h|0;while(1){i=I[h|0];F[h|0]=I[b|0];F[b|0]=i;b=b+1|0;h=h+1|0;if(l>>>0>h>>>0){continue}break}break a}if((e|0)<=0){break a}l=e+h|0;b=b+h|0;while(1){i=I[h|0];F[h|0]=I[b|0];F[b|0]=i;b=b+1|0;h=h+1|0;if(l>>>0>h>>>0){continue}break}}ck(a,d>>>1|0,c);a=q-e|0;d=e&-2;q=a+d|0;b=e>>>1|0;if(e>>>0>=20){continue}break}}j=a+2|0;if(q>>>0>j>>>0){while(1){b=j;t:{if(b>>>0<=a>>>0){break t}while(1){h=J[b>>1];l=b-2|0;i=J[l>>1];u:{v:{w:{d=H[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break t}f=0;d=0;e=0;if(h>>>0<=257){e=h<<2;d=H[e+122816>>2];e=H[e+122820>>2]+(d^-1)|0;d=d+119104|0}if(i>>>0<=257){break w}k=0;break u}f=0;d=0;e=0;g=H[c+8>>2];k=I[g|0]|I[g+1|0]<<8;m=(k<<8|k>>>8)&65535;x:{if(m>>>0<=h>>>0){break x}d=g+(h<<1)|0;d=I[d+2|0]|I[d+3|0]<<8;k=(d<<8|d>>>8)&65535;if(k>>>0<=257){e=k<<2;d=H[e+122816>>2];e=H[e+122820>>2]+(d^-1)|0;d=d+119104|0;break x}d=0;k=k-258|0;if(k>>>0>=K[c+16>>2]){break x}e=H[c+24>>2]+H[H[c+20>>2]+(k<<2)>>2]|0;d=e+1|0;e=I[e|0]}if(i>>>0>>0){break v}k=0;break u}f=i<<2;g=H[f+122816>>2];k=H[f+122820>>2]+(g^-1)|0;f=g+119104|0;break u}g=g+(i<<1)|0;g=I[g+2|0]|I[g+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0<=257){f=g<<2;g=H[f+122816>>2];k=H[f+122820>>2]+(g^-1)|0;f=g+119104|0;break u}g=g-258|0;if(g>>>0>=K[c+16>>2]){k=0;break u}g=H[c+24>>2]+H[H[c+20>>2]+(g<<2)>>2]|0;f=g+1|0;k=I[g|0]}if((e|0)!=(k|0)){d=k-e|0}else{if(!e){break t}d=Bc(f,d,e)}if((d|0)<=0){break t}F[l|0]=h;F[b+1|0]=i>>>8;F[b-1|0]=h>>>8;F[b|0]=i;b=l;if(b>>>0>a>>>0){continue}break}}j=j+2|0;if(q>>>0>j>>>0){continue}break}}}function UE(){var a=0,b=0,c=0;if(I[260496]){return H[65123]}if(I[260484]){a=H[65120]}else{H[65523]=0;H[65522]=254376;H[65522]=249448;H[65522]=249e3;H[65057]=0;b=ca(1062,262096,30)|0;a=H[65057];H[65057]=0;a:{b:{c:{d:{e:{if((a|0)!=1){H[65057]=0;c=ca(1063,262240,239301)|0;a=H[65057];H[65057]=0;if((a|0)==1){break e}Yo(b);H[65445]=0;H[65444]=254376;H[65444]=249448;H[65444]=250324;H[65057]=0;da(1064,262088,261776);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65447]=0;H[65446]=254376;H[65446]=249448;H[65446]=250356;H[65057]=0;da(1065,262088,261784);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ia(1066);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1067,262088,261792);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65453]=0;H[65452]=254376;H[65452]=249448;H[65452]=249504;H[65057]=0;da(1068,262088,261808);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65455]=0;H[65454]=254376;H[65454]=249448;H[65454]=249652;H[65057]=0;da(1069,262088,261816);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ia(1070);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1071,262088,261824);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65461]=0;H[65460]=254376;H[65460]=249448;H[65460]=249800;H[65057]=0;da(1072,262088,261840);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65463]=0;H[65462]=254376;H[65462]=249448;H[65462]=249916;H[65057]=0;da(1073,262088,261848);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ia(1074);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1075,262088,261856);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ia(1076);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1077,262088,261880);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65479]=0;H[65478]=254376;H[65478]=249448;H[65478]=250388;H[65057]=0;da(1078,262088,261912);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65481]=0;H[65480]=254376;H[65480]=249448;H[65480]=250632;H[65057]=0;da(1079,262088,261920);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65483]=0;H[65482]=254376;H[65482]=249448;H[65482]=250844;H[65057]=0;da(1080,262088,261928);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65485]=0;H[65484]=254376;H[65484]=249448;H[65484]=251076;H[65057]=0;da(1081,262088,261936);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;H[65487]=0;H[65486]=254376;H[65486]=249448;H[65486]=252060;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1083,262088,261944);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65489]=0;H[65488]=254376;H[65488]=249448;H[65488]=252208;H[65057]=0;da(1084,262088,261952);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65491]=0;H[65490]=254376;H[65490]=249448;H[65490]=252324;H[65057]=0;da(1085,262088,261960);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65493]=0;H[65492]=254376;H[65492]=249448;H[65492]=252440;H[65057]=0;da(1086,262088,261968);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;H[65495]=0;H[65494]=254376;H[65494]=249448;H[65494]=252556;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1088,262088,261976);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;H[65497]=0;H[65496]=254376;H[65496]=249448;H[65496]=252720;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1090,262088,261984);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;H[65499]=0;H[65498]=254376;H[65498]=249448;H[65498]=252884;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1092,262088,261992);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;H[65501]=0;H[65500]=254376;H[65500]=249448;H[65500]=253048;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1094,262088,262e3);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65503]=0;H[65502]=254376;H[65502]=249448;H[65504]=254304;H[65502]=251276;H[65504]=251324;H[65057]=0;da(1095,262088,262008);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65507]=0;H[65506]=254376;H[65506]=249448;H[65508]=254340;H[65506]=251540;H[65508]=251588;H[65057]=0;da(1096,262088,262024);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ia(1097);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1098,262088,262040);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ia(1099);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1100,262088,262056);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;H[65519]=0;H[65518]=254376;H[65518]=249448;H[65518]=253212;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;da(1102,262088,262072);a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65521]=0;H[65520]=254376;H[65520]=249448;H[65520]=253332;H[65057]=0;da(1103,262088,262080);a=H[65057];H[65057]=0;if((a|0)==1){break d}break a}a=$()|0;_()|0;break b}a=$()|0;_()|0;break c}a=$()|0;_()|0;nb(c)}Zo(b)}ba(a|0);X()}H[65119]=262088;F[260484]=1;H[65120]=260476;a=260476}a=H[a>>2];H[65122]=a;H[a+4>>2]=H[a+4>>2]+1;F[260496]=1;H[65123]=260488;return 260488}function il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=N(b,c)+a|0;if(b>>>0>=10){n=0-c|0;o=c-1&3;p=c-2>>>0<3;while(1){i=N(b-1|0,c);j=i+a|0;l=j+n|0;k=a+c|0;d=H[k>>2];h=N(b>>>1|0,c)+a|0;b=H[h>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(I[k+8|0]){break b}d=H[h+4>>2];b=H[k+4>>2];if((d^b)>>>0<2){break b}b=(b|0)<(d|0)?-1:1;break a}d=H[k+12>>2];b=H[h+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}e=(b|0)>0;b=e?k:h;d=H[b>>2];g=H[l>>2];c:{d:{if((d|0)!=(g|0)){if((d|0)>=(g|0)){break d}break c}e:{if(I[b+8|0]){break e}f=H[l+4>>2];d=H[b+4>>2];if((f^d)>>>0<2){break e}if((d|0)>=(f|0)){break d}break c}if(K[b+12>>2]<=K[l+12>>2]){break c}}f=e?h:k;b=H[f>>2];f:{if((b|0)!=(g|0)){b=(b|0)<(g|0)?-1:1;break f}g:{if(I[f+8|0]){break g}d=H[l+4>>2];b=H[f+4>>2];if((d^b)>>>0<2){break g}b=(b|0)<(d|0)?-1:1;break f}d=H[f+12>>2];b=H[l+12>>2];b=b>>>0>d>>>0?-1:d>>>0>b>>>0}b=(b|0)>0?f:l}if(!((b|0)==(j|0)|(c|0)<=0)){e=b+c|0;d=j;while(1){f=I[b|0];F[b|0]=I[d|0];F[d|0]=f;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}h:{if((i|0)<=0){e=0;break h}f=j;d=f;k=a;b=a;while(1){i:{i=d;if(b>>>0>=d>>>0){break i}j:{while(1){e=H[j>>2];h=H[b>>2];k:{if((e|0)!=(h|0)){if((e|0)>(h|0)){break k}break j}l:{if(I[b+8|0]){break l}g=H[j+4>>2];d=H[b+4>>2];if((g^d)>>>0<2){break l}if((d|0)>=(g|0)){break j}break k}g=H[b+12>>2];d=H[j+12>>2];if(g>>>0>>0){break k}if(d>>>0>>0){break j}m:{if((c|0)<=0|b>>>0<=k>>>0){break m}d=I[k|0];F[k|0]=h;F[b|0]=d;if((c|0)==1){break m}h=c+k|0;d=k+1|0;e=b;while(1){g=I[d|0];F[d|0]=I[e+1|0];F[e+1|0]=g;e=e+1|0;d=d+1|0;if(h>>>0>d>>>0){continue}break}}k=c+k|0}b=b+c|0;if(i>>>0>b>>>0){continue}break}d=i;break i}n:{if(b>>>0>=i>>>0){d=i;break n}while(1){o:{d=i+n|0;h=H[d>>2];p:{if((h|0)!=(e|0)){if((e|0)<=(h|0)){break p}break o}q:{if(I[d+8|0]){break q}g=H[j+4>>2];e=H[d+4>>2];if((g^e)>>>0<2){break q}if((e|0)<(g|0)){break o}break p}g=H[d+12>>2];e=H[j+12>>2];if(g>>>0>>0){break o}if(e>>>0>>0){break p}g=f+n|0;r:{if((c|0)<=0|f>>>0<=i>>>0){break r}F[d|0]=I[g|0];F[g|0]=h;e=d+1|0;if(i>>>0<=e>>>0){break r}f=0;h=g;if(o){while(1){l=I[e|0];F[e|0]=I[h+1|0];F[h+1|0]=l;e=e+1|0;h=h+1|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}if(p){break r}while(1){f=I[e|0];F[e|0]=I[h+1|0];F[h+1|0]=f;f=I[e+1|0];F[e+1|0]=I[h+2|0];F[h+2|0]=f;f=I[e+2|0];F[e+2|0]=I[h+3|0];F[h+3|0]=f;f=I[e+3|0];F[e+3|0]=I[h+4|0];F[h+4|0]=f;h=h+4|0;e=e+4|0;if(i>>>0>e>>>0){continue}break}}f=g}if(b>>>0>=d>>>0){break n}e=H[j>>2];i=d;continue}break}s:{if((c|0)<=0|b>>>0>=d>>>0){break s}i=I[b|0];F[b|0]=h;F[d|0]=i;if((c|0)==1){break s}g=b+c|0;e=b+1|0;h=d;while(1){i=I[e|0];F[e|0]=I[h+1|0];F[h+1|0]=i;h=h+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}}b=b+c|0}if(b>>>0>>0){continue}}break}i=d-k|0;t:{if((a|0)==(k|0)|(d|0)==(k|0)){break t}b=k-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break t}j=a+i|0;b=a+b|0;e=a;while(1){g=I[e|0];F[e|0]=I[b|0];F[b|0]=g;b=b+1|0;e=e+1|0;if(j>>>0>e>>>0){continue}break}break t}if((b|0)<=0){break t}j=a+b|0;b=a+i|0;e=a;while(1){g=I[e|0];F[e|0]=I[b|0];F[b|0]=g;b=b+1|0;e=e+1|0;if(j>>>0>e>>>0){continue}break}}e=f-d|0;if((d|0)==(f|0)|(f|0)==(m|0)){break h}b=m-f|0;if(b>>>0>>0){if((b|0)<=0){break h}g=b+d|0;b=d+e|0;while(1){f=I[d|0];F[d|0]=I[b|0];F[b|0]=f;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break h}if((e|0)<=0){break h}g=d+e|0;b=b+d|0;while(1){f=I[d|0];F[d|0]=I[b|0];F[b|0]=f;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}il(a,(i>>>0)/(c>>>0)|0,c);a=m-e|0;b=(e>>>0)/(c>>>0)|0;m=a+N(c,b)|0;if(b>>>0>=10){continue}break}}i=a+c|0;u:{if(m>>>0<=i>>>0){break u}l=0-c|0;if((c|0)<=0){while(1){v:{if(a>>>0>=i>>>0){break v}d=H[i>>2];b=i;while(1){e=d;f=b;b=b+l|0;d=H[b>>2];w:{if((e|0)!=(d|0)){if((d|0)>=(e|0)){break w}break v}x:{if(I[b+8|0]){break x}g=H[f+4>>2];e=H[b+4>>2];if((g^e)>>>0<2){break x}if((e|0)>=(g|0)){break w}break v}if(K[b+12>>2]<=K[f+12>>2]){break v}}if(a>>>0>>0){continue}break}}i=c+i|0;if(m>>>0>i>>>0){continue}break u}}k=c+2&3;h=c-3>>>0<3;while(1){f=i;y:{if(f>>>0<=a>>>0){break y}while(1){g=f;f=g+l|0;j=H[f>>2];e=H[g>>2];z:{if((j|0)!=(e|0)){if((e|0)>(j|0)){break y}break z}A:{if(I[f+8|0]){break A}d=H[g+4>>2];b=H[f+4>>2];if((d^b)>>>0<2){break A}if((b|0)<(d|0)){break y}break z}if(K[f+12>>2]<=K[g+12>>2]){break y}}F[f|0]=e;F[g|0]=j;b=f+1|0;B:{if(b>>>0>=g>>>0){break B}F[b|0]=I[g+1|0];F[g+1|0]=j>>>8;b=b+1|0;if((g|0)==(b|0)){break B}d=g+1|0;e=0;if(k){while(1){j=I[b|0];F[b|0]=I[d+1|0];F[d+1|0]=j;b=b+1|0;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(h){break B}while(1){e=I[b|0];F[b|0]=I[d+1|0];F[d+1|0]=e;e=I[b+1|0];F[b+1|0]=I[d+2|0];F[d+2|0]=e;e=I[b+2|0];F[b+2|0]=I[d+3|0];F[d+3|0]=e;e=I[b+3|0];F[b+3|0]=I[d+4|0];F[d+4|0]=e;d=d+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}}if(a>>>0>>0){continue}break}}i=c+i|0;if(m>>>0>i>>>0){continue}break}}}function Cg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Wa-48|0;Wa=h;H[h+12>>2]=0;F[a+733|0]=0;q=H[a+100>>2];k=H[a+736>>2];a:{if(!k){e=af(a,0);H[h+12>>2]=e;if(e){break a}k=H[a+736>>2]}b:{m=H[k+12>>2];f=H[m>>2];b=b>>>0>f>>>0?f:b;if(!b){break b}while(1){if(H[(g<<2)+c>>2]-65537>>>0>=4294836223){g=g+1|0;if((g|0)!=(b|0)){continue}break b}break}e=6;break a}if(!(I[a+732|0]|H[k+72>>2])){i=H[a+104>>2];g=H[i+28>>2];e=Ya[H[a+516>>2]](a,1735811442,i,h+40|0)|0;H[h+44>>2]=e;if(e){break a}l=H[i+8>>2];e=Mb(i,96800,h+16|0);H[h+44>>2]=e;if(e){break a}e=8;if(H[h+16>>2]!=65536){break a}f=J[h+20>>1];if((f|0)!=J[H[k+12>>2]>>1]){break a}o=N(f,J[h+22>>1]);f=H[h+40>>2];if(o>>>0>f>>>1>>>0){break a}j=N(J[h+28>>1]+1|0,F[h+30|0]&1?4:2);if(j>>>0>f>>>0){break a}H[k+76>>2]=f;f=H[h+32>>2];e=Nb(i,j);H[h+44>>2]=e;if(e){break a}e=0;t=k,u=jb(g,4,0,J[h+28>>1]+1|0,0,h+44|0),H[t+72>>2]=u;c:{d:{e:{if(H[h+44>>2]){break e}n=f+l|0;f=l+H[h+40>>2]|0;f:{if(!(F[h+30|0]&1)){j=0;while(1){o=n+(Rb(i)<<1)|0;e=e>>>0>o>>>0?e:o;H[H[k+72>>2]+(j<<2)>>2]=e>>>0>f>>>0?f:e;o=J[h+28>>1];p=o>>>0>j>>>0;j=j+1|0;if(p){continue}break}break f}j=0;while(1){o=uc(i)+n|0;j=j>>>0>o>>>0?j:o;H[H[k+72>>2]+(e<<2)>>2]=f>>>0>>0?f:j;o=J[h+28>>1];p=o>>>0>e>>>0;e=e+1|0;if(p){continue}break}}H[k+68>>2]=o;Db(i);if(!J[h+22>>1]){break c}f=ob(i,l+H[h+24>>2]|0);H[h+44>>2]=f;if(f){break d}f=Nb(i,N(J[h+22>>1],J[h+20>>1])<<1);H[h+44>>2]=f;if(f){break d}f=0;t=k,u=jb(g,4,0,N(J[h+22>>1],J[h+20>>1]),0,h+44|0),H[t+64>>2]=u;if(H[h+44>>2]){break e}g=J[h+22>>1];if(g){n=0;l=J[h+20>>1];f=g;while(1){e=0;g:{if(!(l&65535)){l=0;break g}while(1){g=Rb(i);l=J[h+20>>1];H[H[k+64>>2]+(N(n,l)+e<<2)>>2]=g<<16>>16<<2;e=e+1|0;if(l>>>0>e>>>0){continue}break}f=J[h+22>>1]}n=n+1|0;if(n>>>0<(f&65535)>>>0){continue}break}}H[k+60>>2]=f&65535;Db(i);break c}Db(i)}f=H[k+72>>2];if(f){Ya[H[g+8>>2]](g,f)}H[k+68>>2]=0;H[k+72>>2]=0}e=H[h+44>>2];H[h+12>>2]=e;if(e){break a}}p=H[k+4>>2];if(!p){t=k,u=jb(q,4,0,H[m>>2],0,h+12|0),H[t+4>>2]=u;e=H[h+12>>2];if(e){break a}}h:{i:{j:{k:{n=H[k+8>>2];if(n){g=0;if(b){break k}break j}n=jb(q,4,0,H[m>>2],0,h+12|0);H[k+8>>2]=n;e=H[h+12>>2];if(e){break a}j=H[m>>2];o=1;break h}l=1;while(1){f=g<<2;o=2;if(H[f+n>>2]!=H[c+f>>2]){break i}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}l=0;o=0}j=H[m>>2];f=H[a+4>>2];l:{if(f&2147418112){if(g>>>0>=j>>>0){break l}i=H[k+20>>2]+(N((f>>>16|0)-1|0,j)<<2)|0;f=g<<2;e=i+f|0;r=(g^-1)+j|0;i=f+n|0;s=j-g&3;m:{if(!s){f=g;break m}m=0;f=g;while(1){l=H[i>>2]==H[e>>2]?l:1;i=i+4|0;e=e+4|0;f=f+1|0;m=m+1|0;if((s|0)!=(m|0)){continue}break}}if(r>>>0<3){break l}while(1){l=H[i+12>>2]==H[e+12>>2]?H[i+8>>2]==H[e+8>>2]?H[i+4>>2]==H[e+4>>2]?H[i>>2]==H[e>>2]?l:1:1:1:1;i=i+16|0;e=e+16|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}break l}if(g>>>0>=j>>>0){break l}m=(g^-1)+j|0;e=(g<<2)+n|0;r=j-g&3;n:{if(!r){i=g;break n}f=0;i=g;while(1){l=H[e>>2]?1:l;e=e+4|0;i=i+1|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(m>>>0<3){break l}while(1){l=H[e+12>>2]|H[e+8>>2]|(H[e+4>>2]|H[e>>2])?1:l;e=e+16|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}o:{if(l&255){if(g>>>0>=j>>>0){break h}break o}F[a+733|0]=1;e=-1;break a}while(1){if(!H[(g<<2)+n>>2]){g=g+1|0;if((j|0)!=(g|0)){continue}break h}break}o=2}H[k>>2]=j;mb(n,c,b<<2);p:{if(!d){break p}e=H[k+4>>2];n=H[a+736>>2];j=H[n>>2];b=p?b:H[k>>2];f=b>>>0>j>>>0?j:b;q:{if(!f){break q}c=H[k+8>>2];i=0;g=0;if(f-1>>>0>=3){k=f&-4;l=0;while(1){d=g<<2;H[d+e>>2]=H[c+d>>2];m=d|4;H[m+e>>2]=H[c+m>>2];m=d|8;H[m+e>>2]=H[c+m>>2];d=d|12;H[d+e>>2]=H[c+d>>2];g=g+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}d=f&3;if(!d){break q}while(1){k=g<<2;H[k+e>>2]=H[c+k>>2];g=g+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(b>>>0>j>>>0){kb(e+(f<<2)|0,0,b-f<<2)}j=H[n+28>>2];if(!(!j|!f)){k=0;while(1){d=J[j>>1];r:{if(d>>>0<2){break r}i=e+(k<<2)|0;b=H[i>>2];c=H[j+4>>2];g=1;while(1){l=g<<3;m=l+c|0;p=H[m+4>>2];if((p|0)>(b|0)){g=b;b=l-8|0;c=b+c|0;d=H[c+4>>2];t=i,u=sb(g-d|0,H[m>>2]-H[c>>2]|0,p-d|0)+H[b+H[j+4>>2]>>2]|0,H[t>>2]=u;break r}g=g+1|0;if((d|0)!=(g|0)){continue}break}}j=j+8|0;k=k+1|0;if((f|0)!=(k|0)){continue}break}}if(!f){break p}b=H[H[n+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;i=H[j>>2];s:{t:{if((i|0)<0){g=H[b+4>>2];l=H[b+8>>2];d=l;break t}g=H[b+8>>2];d=g;if(!i){break s}l=H[b+12>>2];d=g}d=ib(i,l-g|0)+d|0}H[j>>2]=d;b=b+24|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}F[a+733|0]=1;b=H[a+704>>2];u:{if(!b){break u}v:{switch(o-1|0){case 1:if(b){Ya[H[q+8>>2]](q,b)}H[a+704>>2]=0;t=h,u=xm(a,H[a+104>>2]),H[t+12>>2]=u;break u;case 0:break v;default:break u}}t=h,u=lm(a,H[a+104>>2]),H[t+12>>2]=u}b=H[a+720>>2];if(b){Ya[H[q+8>>2]](q,b)}H[a+720>>2]=0;e=H[h+12>>2]}Wa=h+48|0;return e}function XB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;c=Wa-320|0;Wa=c;a:{if(!a){a=6;break a}a=19;i=H[b+8>>2];if(!(i&1)){break a}a=20;e=H[b+4>>2];if(!e){break a}d=G[e+2>>1];if(!d){a=0;break a}k=G[e>>1];if((k|0)<=0){a=0;break a}f=H[e+12>>2];if(!f|!H[e+4>>2]|(d|0)!=(G[(f+(k<<1)|0)-2>>1]+1|0)){break a}d=H[b>>2];H[c+232>>2]=H[e+16>>2];a=H[e+12>>2];H[c+224>>2]=H[e+8>>2];H[c+228>>2]=a;a=H[e+4>>2];H[c+216>>2]=H[e>>2];H[c+220>>2]=a;b:{if(i&2){a=H[b+12>>2];if(!a){a=0;break a}H[c+244>>2]=a;a=H[b+28>>2];H[c+312>>2]=0;H[c+248>>2]=a;a=H[b+32>>2];H[c+164>>2]=a;d=H[b+36>>2];H[c+172>>2]=d;e=H[b+40>>2];H[c+168>>2]=e;b=H[b+44>>2];break b}if(!d){a=6;break a}e=H[d+4>>2];if(!e){a=0;break a}b=H[d>>2];if(!b){a=0;break a}a=6;i=H[d+12>>2];if(!i){break a}a=H[d+8>>2];H[c+240>>2]=a;H[c+244>>2]=0;H[c+248>>2]=0;d=0;H[c+172>>2]=0;H[c+164>>2]=0;H[c+168>>2]=e;H[c+312>>2]=-1;H[c+236>>2]=i+((a|0)<0?0:N(a,b-1|0));a=0}H[c+176>>2]=b;if((a|0)>=(e|0)){a=0;break a}a=0;if((b|0)<=(d|0)){break a}e=0;i=Wa-16512|0;Wa=i;m=H[c+176>>2];k=H[c+172>>2];l=m-k|0;if(l>>>0>=129){a=l+127>>>7|0;l=((a+l|0)-1>>>0)/(a>>>0)|0}p=l<<2;a=p+15>>>4|0;H[c+200>>2]=1024-a;b=a<<4;a=i+128|0;H[c+196>>2]=b+a;H[c+192>>2]=a;b=0;c:{if((k|0)>=(m|0)){break c}o=c+252|0;q=c+216|0;while(1){a=k;H[c+172>>2]=a;k=a+l|0;f=(k|0)<(m|0)?k:m;H[c+176>>2]=f;H[i>>2]=f;H[i+4>>2]=a;a=i;while(1){n=H[a+4>>2];kb(H[c+192>>2],0,p);H[c+188>>2]=1;H[c+204>>2]=0;H[c+172>>2]=H[a+4>>2];H[c+176>>2]=H[a>>2];d:{e:{f:{g:{h:{if(e){H[65057]=0;b=H[65057];H[65057]=0;if((b|0)==1){break h}}H[65057]=0;j=ka(28,q|0,29384,c|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break h}if(e){H[65057]=0;b=H[65057];H[65057]=0;if((b|0)==1){break h}}i:{if(H[c+188>>2]){break i}d=H[c+156>>2];j:{g=H[c+192>>2]+(H[c+160>>2]-H[c+172>>2]<<2)|0;e=H[g>>2];k:{if(!e){e=0;break k}h=H[e>>2];if((d|0)<(h|0)){break k}l:{while(1){b=e;if((d|0)==(h|0)){break j}e=H[b+12>>2];if(e){h=H[e>>2];if((d|0)<(h|0)){break l}continue}break}e=0}g=b+12|0}b=H[c+204>>2];if((b|0)>=H[c+200>>2]){H[65057]=0;da(30,c|0,1);b=H[65057];H[65057]=0;if((b|0)==1){break h}e=H[g>>2];b=H[c+204>>2]}H[c+204>>2]=b+1;b=H[c+196>>2]+(b<<4)|0;H[b>>2]=d;H[b+8>>2]=H[c+180>>2];d=H[c+184>>2];H[b+12>>2]=e;H[b+4>>2]=d;H[g>>2]=b;break i}H[b+8>>2]=H[b+8>>2]+H[c+180>>2];H[b+4>>2]=H[b+4>>2]+H[c+184>>2]}if((j|0)==64){break g}if(j){break e}b=H[c+172>>2];h=b;m:{if(H[c+176>>2]<=(b|0)){break m}while(1){b=H[H[c+192>>2]+(h-b<<2)>>2];n:{o:{p:{if(!b){break p}f=H[c+164>>2];e=0;while(1){q:{if(!e){break q}g=H[b>>2];if((g|0)<=(f|0)){break q}d=e>>9;r:{if(I[c+232|0]&2){d=d&511;d=d>>>0>255?d^511:d;break r}d=d^e>>31;d=(d|0)<255?d:255}g=g-f|0;j=H[c+312>>2];if((j|0)>=0){n=j+1|0;H[c+312>>2]=n;j=N(j,6)+c|0;F[j+256|0]=d;G[j+254>>1]=g;G[j+252>>1]=f;if((n|0)!=10){break q}Ya[H[c+244>>2]](h,10,o,H[c+248>>2]);H[c+312>>2]=0;break q}f=(H[c+236>>2]-N(H[c+240>>2],h)|0)+f|0;s:{switch(g|0){case 7:F[f|0]=d;f=f+1|0;case 6:F[f|0]=d;f=f+1|0;case 5:F[f|0]=d;f=f+1|0;case 4:F[f|0]=d;f=f+1|0;case 3:F[f|0]=d;f=f+1|0;case 2:F[f|0]=d;f=f+1|0;case 1:F[f|0]=d;break q;case 0:break q;default:break s}}kb(f,d,g)}e=(H[b+4>>2]<<9)+e|0;d=H[b+8>>2];t:{if((e|0)==(d|0)){break t}f=H[b>>2];if((f|0)>2]){break t}g=e-d|0;d=g>>9;u:{if(I[c+232|0]&2){d=d&511;d=d>>>0>255?d^511:d;break u}d=d^g>>31;d=(d|0)<255?d:255}g=H[c+312>>2];if((g|0)>=0){j=g+1|0;H[c+312>>2]=j;g=N(g,6)+c|0;F[g+256|0]=d;G[g+254>>1]=1;G[g+252>>1]=f;if((j|0)!=10){break t}Ya[H[c+244>>2]](h,10,o,H[c+248>>2]);H[c+312>>2]=0;break t}F[f+(H[c+236>>2]-N(H[c+240>>2],h)|0)|0]=d}f=H[b>>2]+1|0;b=H[b+12>>2];if(b){continue}break}if(!e){break p}b=e>>9;d=H[c+168>>2];v:{if(I[c+232|0]&2){b=b&511;e=b>>>0>255?b^511:b;break v}b=b^e>>31;e=(b|0)<255?b:255}d=d-f|0;b=H[c+312>>2];if((b|0)>=0){g=b+1|0;H[c+312>>2]=g;b=N(b,6)+c|0;F[b+256|0]=e;G[b+254>>1]=d;G[b+252>>1]=f;b=10;if((g|0)!=10){break p}break o}b=(H[c+236>>2]-N(H[c+240>>2],h)|0)+f|0;w:{switch(d|0){case 7:F[b|0]=e;b=b+1|0;case 6:F[b|0]=e;b=b+1|0;case 5:F[b|0]=e;b=b+1|0;case 4:F[b|0]=e;b=b+1|0;case 3:F[b|0]=e;b=b+1|0;case 2:F[b|0]=e;b=b+1|0;case 1:F[b|0]=e;break p;case 0:break p;default:break w}}kb(b,e,d)}b=H[c+312>>2];if((b|0)<=0){break n}}Ya[H[c+244>>2]](h,b,o,H[c+248>>2]);H[c+312>>2]=0}h=h+1|0;if((h|0)>=H[c+176>>2]){break m}b=H[c+172>>2];continue}}b=a-4|0;break d}b=ea(257128)|0;if((_()|0)!=(za(257128)|0)){break f}oa(b|0)|0;pa()}e=f-n|0;if(e>>>0<2){break e}b=a+4|0;d=H[a+4>>2];H[a+8>>2]=d;H[a+4>>2]=d+(e>>1);break d}ba(b|0);X()}b=1;break c}if(b>>>0>=i>>>0){f=H[b>>2];e=1;a=b;continue}break}b=0;e=1;if((k|0)<(m|0)){continue}break}}Wa=i+16512|0;a=b}Wa=c+320|0;return a|0}function Uk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;m=Wa-80|0;Wa=m;e=rg(b,c);a:{if(e){break a}a=H[b+2740>>2];if(!(a&1)){e=Ns(b,0);if(e){break a}Jr(b,d,0);a=H[b+2740>>2]}if(!(a&2)){e=Ns(b,1);if(e){break a}Jr(b,d,1)}s=b+2748|0;p=b+2744|0;a=1;while(1){b:{e=H[b+2740>>2];o=a;c:{d:{if(a){if(e&1){break c}if(H[d+24>>2]|e&8){break d}cr(m+16|0,b,m+12|0,m+8|0);e=H[b+24>>2];if((e|0)<=0){break c}a=H[b+28>>2];e=a+N(e,40)|0;j=H[m+8>>2];f=H[m+12>>2];while(1){x=a,y=ib(G[a+12>>1],f)+j|0,H[x+16>>2]=y;a=a+40|0;if(e>>>0>a>>>0){continue}break}break c}if(e&2){break b}}t=N(l,1348)+b|0;w=t- -64|0;j=H[w>>2];q=H[t+56>>2];k=j+N(q,44)|0;i=0;a=j;u=(q|0)<=0;if(!u){while(1){e=I[a+12|0];e:{if(e&4){break e}f=H[a+24>>2];g=H[a+20>>2];f:{g:{if(!g){if(!f){break e}e=H[f+20>>2];if(!e){break e}g=H[e+8>>2];H[f+8>>2]=g;F[f+12|0]=I[f+12|0]|4;e=f;f=a;break g}g=H[g+8>>2];F[a+12|0]=e|4;H[a+8>>2]=g;if(!f){break f}e=a;if(H[f+20>>2]){break f}}x=f,y=uh(H[p>>2],H[s>>2],l,H[f+4>>2]-H[e+4>>2]|0)+g|0,H[x+8>>2]=y;F[f+12|0]=I[f+12|0]|4}i=i?i:a}g=0;a=a+44|0;if(k>>>0>a>>>0){continue}break}a=j;f=i;n=0;e=0;i=0;while(1){v=I[a+12|0];h:{if(v&4){break h}h=H[a+24>>2];if(!h){i=i+1|0;break h}i:{if(!(e&255)){break i}r=n- -64|0;if((r|0)<=H[a+8>>2]&(r|0)<=H[h+8>>2]){break i}i=i+1|0;break h}if(H[h+20>>2]){r=uh(H[p>>2],H[s>>2],l,H[a+4>>2]-H[h+4>>2]|0);h=H[h+8>>2];F[a+12|0]=v|4;H[a+8>>2]=h+r;break h}if(a>>>0>h>>>0){e=uh(H[p>>2],H[s>>2],l,H[a+4>>2]-H[h+4>>2]|0);h=H[h+8>>2];F[a+12|0]=v|4;n=e+h|0;H[a+8>>2]=n;e=1;break h}j:{if(!((f|0)!=0|l)){g=rq(b,a,h,0,0);break j}rq(b,a,h,g,l)}F[a+12|0]=I[a+12|0]|4;F[h+12|0]=I[h+12|0]|4;n=H[h+8>>2];e=1;f=a}a=a+44|0;if(k>>>0>a>>>0){continue}break}}k:{if(!o){break k}e=4;f=2;a=j;l:{switch(q-6|0){case 6:a=j+44|0;e=9;f=5;break;case 0:break l;default:break k}}if(H[a+24>>2]!=(a+44|0)){break k}g=j+N(f,44)|0;if(H[g+24>>2]!=(g+44|0)){break k}h=N(e,44);f=h+j|0;e=H[f+24>>2];if((e|0)!=(h+(j+44|0)|0)){break k}n=(H[g+4>>2]<<1)-(H[a+4>>2]+H[f+4>>2]|0)|0;h=n>>31;if((h^n)-h>>>0>7){break k}h=H[f+8>>2];a=(H[g+8>>2]<<1)-H[a+8>>2]|0;H[f+8>>2]=a;a=h-a|0;if(e){H[e+8>>2]=H[e+8>>2]-a}if((q|0)==12){H[j+360>>2]=H[j+360>>2]-a;H[j+492>>2]=H[j+492>>2]-a}F[f+12|0]=I[f+12|0]|4;if(!e){break k}F[e+12|0]=I[e+12|0]|4}m:{if(!i){break m}a=j;if(u){break m}while(1){f=I[a+12|0];n:{if(f&4){break n}e=H[a+28>>2];if(!e){break n}g=H[e+8>>2];e=H[e+4>>2];F[a+12|0]=f|4;H[a+8>>2]=H[a+4>>2]+(g-e|0);i=i-1|0}a=a+44|0;if(k>>>0>a>>>0){continue}break}if(!i){break m}e=j;if(u){break m}while(1){a=e;o:{if(I[a+12|0]&4){break o}while(1){f=a;a=a-44|0;h=j>>>0>a>>>0;if(!(I[f-32|0]&4?1:h)){continue}break}i=e;p:{q:{r:{while(1){g=i;i=g+44|0;if(k>>>0<=i>>>0){break r}if(!(I[g+56|0]&4)){continue}break}if(a>>>0>=j>>>0){break q}h=H[e+4>>2]+(H[g+52>>2]-H[g+48>>2]|0)|0;break p}if(h){break o}h=H[e+4>>2]+(H[f-36>>2]-H[f-40>>2]|0)|0;break p}i=J[i>>1];a=J[a>>1];h=H[f-36>>2];if((i|0)==(a|0)){break p}a=a<<16>>16;f=H[f-36>>2];h=sb(G[e>>1]-a|0,H[g+52>>2]-f|0,(i<<16>>16)-a|0)+f|0}H[e+8>>2]=h}e=e+44|0;if(k>>>0>e>>>0){continue}break}}g=H[w>>2];a=H[t+56>>2];j=g+N(a,44)|0;s:{t:{if(l|o){if((a|0)<=0){break s}if(H[p>>2]&(o?1:2)){if(o){while(1){f=H[g+8>>2];h=H[g+36>>2];e=h;while(1){i=e+36|0;k=H[e+40>>2];while(1){a=H[i>>2];H[a+16>>2]=f;G[a>>1]=J[a>>1]|4;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=H[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break s}}while(1){f=H[g+8>>2];h=H[g+36>>2];e=h;while(1){i=e+36|0;k=H[e+40>>2];while(1){a=H[i>>2];H[a+20>>2]=f;G[a>>1]=J[a>>1]|8;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=H[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}break s}if(!o){break t}while(1){f=H[g+8>>2]-H[g+4>>2]|0;h=H[g+36>>2];e=h;while(1){i=e+36|0;k=H[e+40>>2];while(1){a=H[i>>2];H[a+16>>2]=f+H[a+16>>2];G[a>>1]=J[a>>1]|4;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=H[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}break s}if((a|0)<=0){break s}}while(1){f=H[g+8>>2]-H[g+4>>2]|0;h=H[g+36>>2];e=h;while(1){i=e+36|0;k=H[e+40>>2];while(1){a=H[i>>2];H[a+20>>2]=f+H[a+20>>2];G[a>>1]=J[a>>1]|8;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=H[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}}ij(b,l);_i(b,l)}l=1;a=0;if(o){continue}}break}d=H[b+24>>2];if((d|0)<=0){e=0;break a}a=H[b+28>>2];b=a+N(d,40)|0;i=H[c+4>>2];f=H[c+8>>2];while(1){H[i>>2]=H[a+16>>2];H[i+4>>2]=H[a+20>>2];e=0;c=J[a>>1];F[f|0]=c&1?0:c&2?2:1;f=f+1|0;i=i+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}Wa=m+80|0;return e|0}function Lh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Wa-240|0;Wa=e;H[c+16>>2]=0;H[c+20>>2]=-1042284544;H[c+8>>2]=-4194304;H[c+12>>2]=1105199103;H[c>>2]=-4194304;H[c+4>>2]=1105199103;H[c+24>>2]=0;H[c+28>>2]=-1042284544;a:{if(!(!H[a>>2]|K[a+216>>2]<=b>>>0)){h=H[a+80>>2];b:{if((h|0)==163632){break b}c:{d:{switch(I[h|0]){case 0:f=(b+h|0)+1|0;break c;case 3:break d;default:break b}}f=1;g=I[h+1|0]|I[h+2|0]<<8;g=(g<<8|g>>>8)&65535;e:{if(g>>>0<2){break e}while(1){i=f>>>0>>0?(h+N(f,3)|0)+3|0:163632;i=I[i|0]|I[i+1|0]<<8;if(((i<<8|i>>>8)&65535)>>>0>b>>>0){break e}f=f+1|0;if((g|0)!=(f|0)){continue}break}f=g}f=f-1|0;f=(f>>>0>>0?(h+N(f,3)|0)+3|0:163632)+2|0}f=I[f|0]}F[e+88|0]=0;H[e+80>>2]=0;H[e+84>>2]=0;H[e+108>>2]=0;H[e+100>>2]=0;H[e+104>>2]=0;H[e+124>>2]=0;H[e+128>>2]=0;F[e+132|0]=0;H[e+176>>2]=0;H[e+168>>2]=0;H[e+172>>2]=0;H[e+208>>2]=0;H[e+212>>2]=0;H[e+72>>2]=0;H[e+76>>2]=0;H[e+116>>2]=0;H[e+120>>2]=0;H[e+200>>2]=0;H[e+204>>2]=0;H[e+224>>2]=0;H[e+228>>2]=0;g=H[a+72>>2];H[65057]=0;$e(e+56|0,g,b);b=H[65057];H[65057]=0;if((b|0)==1){break a}g=H[(K[a+208>>2]>f>>>0?H[a+212>>2]+N(f,24)|0:163632)+20>>2];h=H[a+68>>2];H[e+80>>2]=H[e- -64>>2];b=H[e+60>>2];H[e+72>>2]=H[e+56>>2];H[e+76>>2]=b;F[e+92|0]=0;F[e+88|0]=0;H[e+84>>2]=0;b=tb(4744);H[e+104>>2]=0;H[e+108>>2]=0;H[e+96>>2]=0;H[e+100>>2]=0;f:{if(!b){H[e+100>>2]=-1;break f}H[e+100>>2]=593;H[e+108>>2]=b;kb(b,0,4104);H[e+104>>2]=513}F[e+112|0]=0;b=H[e+60>>2];H[e+116>>2]=H[e+56>>2];H[e+120>>2]=b;H[e+124>>2]=H[e- -64>>2];H[e+136>>2]=0;H[e+140>>2]=0;F[e+132|0]=0;H[e+128>>2]=0;F[e+145|0]=1;F[e+146|0]=0;b=tb(560);H[e+172>>2]=0;H[e+176>>2]=0;H[e+164>>2]=0;H[e+168>>2]=0;F[e+153|0]=0;F[e+154|0]=0;F[e+155|0]=0;F[e+156|0]=0;F[e+157|0]=0;F[e+158|0]=0;F[e+159|0]=0;F[e+160|0]=0;H[e+208>>2]=0;H[e+212>>2]=0;H[e+148>>2]=0;H[e+152>>2]=0;H[e+200>>2]=0;H[e+204>>2]=0;g:{if(!b){H[e+168>>2]=-1;break g}H[e+168>>2]=20;H[e+176>>2]=b;H[b+48>>2]=0;H[b+52>>2]=0;H[b+40>>2]=0;H[b+44>>2]=0;H[b+32>>2]=0;H[b+36>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[b+56>>2]=0;H[b+60>>2]=0;f=b- -64|0;H[f>>2]=0;H[f+4>>2]=0;H[b+72>>2]=0;H[b+76>>2]=0;H[b+80>>2]=0;f=4;H[e+172>>2]=4;H[b+108>>2]=0;H[b+100>>2]=0;H[b+104>>2]=0;H[b+92>>2]=0;H[b+96>>2]=0;H[b+84>>2]=0;H[b+88>>2]=0;while(1){H[e+172>>2]=f+1;b=H[e+176>>2]+N(f,28)|0;H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;f=H[e+172>>2];if(f>>>0<10){continue}break}H[e+172>>2]=10}H[e+184>>2]=h;h:{i:{if(h){b=I[h|0]|I[h+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0>1239){break i}}H[e+180>>2]=107;break h}if(b>>>0<=33899){H[e+180>>2]=1131;break h}H[e+180>>2]=32768}H[e+192>>2]=g;j:{k:{if(g){b=I[g|0]|I[g+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0>1239){break k}}H[e+188>>2]=107;break j}if(b>>>0<=33899){H[e+188>>2]=1131;break j}H[e+188>>2]=32768}F[e+232|0]=d;H[e+220>>2]=0;G[e+216>>1]=0;H[e+40>>2]=0;H[e+44>>2]=-1042284544;H[e+32>>2]=0;H[e+36>>2]=-1042284544;H[e+24>>2]=-4194304;H[e+28>>2]=1105199103;F[e+144|0]=0;H[e+48>>2]=a;F[e+8|0]=0;H[e+16>>2]=-4194304;H[e+20>>2]=1105199103;i=I[163632];k=i|256;f=!I[e+88|0];a=H[40908];g=H[40909];l:{while(1){d=65535;m:{n:{o:{if(!(f&1)){break o}f=H[e+84>>2];h=f+1|0;j=H[e+76>>2];if(h>>>0>j>>>0){break o}p:{q:{if(f>>>0>>0){d=H[e+72>>2];b=I[d+f|0];if((b|0)==12){b=k;if(h>>>0>=j>>>0){break q}f=h;b=I[d+f|0]|256}if(f>>>0>=j>>>0){break q}H[e+84>>2]=f+1;break p}F[e+88|0]=1;b=i;if((b|0)==12){break o}}F[e+88|0]=1;H[e+84>>2]=j}if((b|0)!=14){d=b;if((b|0)!=256){break o}break n}f=H[e+96>>2];if(!I[e+216|0]){if(f&1){r:{if(!H[e+104>>2]){H[64760]=a;H[64761]=g;b=a;d=g;break r}d=H[e+108>>2];b=H[d>>2];d=H[d+4>>2]}H[e+220>>2]=1;F[e+217|0]=1;H[e+224>>2]=b;H[e+228>>2]=d}F[e+216|0]=1}if(f>>>0>=4){H[65057]=0;da(647,e+72|0,e+8|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}}F[e+144|0]=1;break n}H[65057]=0;qk(d,e+72|0,e+8|0);b=H[65057];H[65057]=0;if((b|0)!=1){break m}break a}H[e+96>>2]=0;H[e+220>>2]=0}f=0;if(I[e+160|0]){break l}f=0;if(H[e+168>>2]<0){break l}f=0;if(I[e+112|0]|I[e+88|0]){break l}f=0;if(I[e+92|0]){break l}f=0;if(H[e+100>>2]<0){break l}f=1;if(!I[e+144|0]){continue}break}a=H[e+20>>2];H[c>>2]=H[e+16>>2];H[c+4>>2]=a;a=H[e+44>>2];H[c+24>>2]=H[e+40>>2];H[c+28>>2]=a;a=H[e+36>>2];H[c+16>>2]=H[e+32>>2];H[c+20>>2]=a;a=H[e+28>>2];H[c+8>>2]=H[e+24>>2];H[c+12>>2]=a;f=1}H[e+104>>2]=0;hb(H[e+108>>2]);H[e+172>>2]=0;H[e+108>>2]=0;H[e+100>>2]=0;H[e+104>>2]=0;hb(H[e+176>>2]);H[e+104>>2]=0;H[e+176>>2]=0;H[e+168>>2]=0;H[e+172>>2]=0;hb(H[e+108>>2])}Wa=e+240|0;return f}a=$()|0;_()|0;pk(e+72|0);ba(a|0);X()} +function jG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;h=Wa+-64|0;Wa=h;H[h+56>>2]=b;H[e>>2]=0;i=H[d+28>>2];H[h>>2]=i;H[i+4>>2]=H[i+4>>2]+1;H[65057]=0;i=aa(998,h|0)|0;j=H[65057];H[65057]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((j|0)!=1){j=H[h>>2];k=H[j+4>>2]-1|0;H[j+4>>2]=k;if((k|0)==-1){Ya[H[H[j>>2]+8>>2]](j)}switch(g-65|0){case 54:break j;case 19:break k;case 18:break l;case 17:break m;case 49:break n;case 47:break o;case 45:case 51:break p;case 12:break q;case 44:break r;case 41:break s;case 8:break t;case 7:break u;case 5:break v;case 3:break w;case 35:case 36:break x;case 34:break y;case 1:case 33:case 39:break z;case 0:case 32:break A;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break d;case 24:break f;case 56:break g;case 23:break h;case 55:break i;default:break e}}c=$()|0;_()|0;a=H[h>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}up(a,f+24|0,h+56|0,c,e,i);break b}tp(a,f+16|0,h+56|0,c,e,i);break b}g=a;i=b;a=Ya[H[H[a+8>>2]+12>>2]](a+8|0)|0;B:{if(I[a+11|0]>>>7|0){b=H[a>>2];break B}b=a}j=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}l=h,m=Pd(g,i,c,d,e,f,j,b+(a<<2)|0),H[l+56>>2]=m;break b}a=Gd(h+56|0,c,e,i,2);b=H[e>>2];C:{if(!(a-1>>>0>30|b&4)){H[f+12>>2]=a;break C}H[e>>2]=b|4}break b}g=H[62211];H[h+24>>2]=H[62210];H[h+28>>2]=g;g=H[62209];H[h+16>>2]=H[62208];H[h+20>>2]=g;g=H[62207];H[h+8>>2]=H[62206];H[h+12>>2]=g;g=H[62205];H[h>>2]=H[62204];H[h+4>>2]=g;l=h,m=Pd(a,b,c,d,e,f,h,h+32|0),H[l+56>>2]=m;break b}g=H[62219];H[h+24>>2]=H[62218];H[h+28>>2]=g;g=H[62217];H[h+16>>2]=H[62216];H[h+20>>2]=g;g=H[62215];H[h+8>>2]=H[62214];H[h+12>>2]=g;g=H[62213];H[h>>2]=H[62212];H[h+4>>2]=g;l=h,m=Pd(a,b,c,d,e,f,h,h+32|0),H[l+56>>2]=m;break b}a=Gd(h+56|0,c,e,i,2);b=H[e>>2];D:{if(!((a|0)>23|b&4)){H[f+8>>2]=a;break D}H[e>>2]=b|4}break b}a=Gd(h+56|0,c,e,i,2);b=H[e>>2];E:{if(!(a-1>>>0>11|b&4)){H[f+8>>2]=a;break E}H[e>>2]=b|4}break b}a=Gd(h+56|0,c,e,i,3);b=H[e>>2];F:{if(!((a|0)>365|b&4)){H[f+28>>2]=a;break F}H[e>>2]=b|4}break b}a=Gd(h+56|0,c,e,i,2);b=H[e>>2];G:{if(!((a|0)>12|b&4)){H[f+16>>2]=a-1;break G}H[e>>2]=b|4}break b}a=Gd(h+56|0,c,e,i,2);b=H[e>>2];H:{if(!((a|0)>59|b&4)){H[f+4>>2]=a;break H}H[e>>2]=b|4}break b}a=h+56|0;b=Wa-16|0;Wa=b;H[b+8>>2]=c;while(1){I:{if(!lh(a,b+8|0)){break I}c=H[a>>2];d=H[c+12>>2];J:{if((d|0)==H[c+16>>2]){c=Ya[H[H[c>>2]+36>>2]](c)|0;break J}c=H[d>>2]}if(!(Ya[H[H[i>>2]+12>>2]](i,8192,c)|0)){break I}qf(a);continue}break}if(se(a,b+8|0)){H[e>>2]=H[e>>2]|2}Wa=b+16|0;break b}g=h+56|0;b=Ya[H[H[a+8>>2]+8>>2]](a+8|0)|0;K:{if(I[b+11|0]>>>7|0){a=H[b+4>>2];break K}a=I[b+11|0]}if(I[b+23|0]>>>7|0){d=H[b+16>>2]}else{d=I[b+23|0]}L:{if((a|0)==(0-d|0)){H[e>>2]=H[e>>2]|4;break L}c=dh(g,c,b,b+24|0,i,e,0);a=H[f+8>>2];if(!((c|0)!=(b|0)|(a|0)!=12)){H[f+8>>2]=0;break L}if(!((c-b|0)!=12|(a|0)>11)){H[f+8>>2]=a+12}}break b}g=mb(h,248880,44);l=g,m=Pd(a,b,c,d,e,f,g,g+44|0),H[l+56>>2]=m;break b}H[h+16>>2]=H[62236];g=H[62235];H[h+8>>2]=H[62234];H[h+12>>2]=g;g=H[62233];H[h>>2]=H[62232];H[h+4>>2]=g;l=h,m=Pd(a,b,c,d,e,f,h,h+20|0),H[l+56>>2]=m;break b}a=Gd(h+56|0,c,e,i,2);b=H[e>>2];M:{if(!((a|0)>60|b&4)){H[f>>2]=a;break M}H[e>>2]=b|4}break b}g=H[62247];H[h+24>>2]=H[62246];H[h+28>>2]=g;g=H[62245];H[h+16>>2]=H[62244];H[h+20>>2]=g;g=H[62243];H[h+8>>2]=H[62242];H[h+12>>2]=g;g=H[62241];H[h>>2]=H[62240];H[h+4>>2]=g;l=h,m=Pd(a,b,c,d,e,f,h,h+32|0),H[l+56>>2]=m;break b}a=Gd(h+56|0,c,e,i,1);b=H[e>>2];N:{if(!((a|0)>6|b&4)){H[f+24>>2]=a;break N}H[e>>2]=b|4}break b}a=Ya[H[H[a>>2]+20>>2]](a,b,c,d,e,f)|0;break a}g=a;i=b;a=Ya[H[H[a+8>>2]+24>>2]](a+8|0)|0;O:{if(I[a+11|0]>>>7|0){b=H[a>>2];break O}b=a}j=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}l=h,m=Pd(g,i,c,d,e,f,j,b+(a<<2)|0),H[l+56>>2]=m;break b}sp(f+20|0,h+56|0,c,e,i);break b}a=Gd(h+56|0,c,e,i,4);if(!(I[e|0]&4)){H[f+20>>2]=a-1900}break b}if((g|0)==37){break c}}H[e>>2]=H[e>>2]|4;break b}a=Wa-16|0;Wa=a;H[a+8>>2]=c;b=6;d=h+56|0;P:{Q:{if(se(d,a+8|0)){break Q}b=4;c=H[d>>2];f=H[c+12>>2];R:{if((f|0)==H[c+16>>2]){c=Ya[H[H[c>>2]+36>>2]](c)|0;break R}c=H[f>>2]}if((Ya[H[H[i>>2]+52>>2]](i,c,0)|0)!=37){break Q}b=2;if(!se(qf(d),a+8|0)){break P}}H[e>>2]=H[e>>2]|b}Wa=a+16|0}a=H[h+56>>2]}Wa=h- -64|0;return a|0}function ks(a,b,c){var d=0,e=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a;f:{g:{h:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break h}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break f}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=719;break a}c=a;i:{j:{k:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break k}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break i}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=720;break a;case 1:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;l:{m:{n:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break m}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break n}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break l}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=721;break a;case 2:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;o:{p:{q:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break q}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break o}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=722;break a;case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;r:{s:{t:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break t}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break r}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=723;break a;case 4:u:{v:{w:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break u;case 1:break v;case 0:break w;default:break b}}Wr(b,a);return}Vr(b,a);return}Ur(b,a);return;case 5:x:{y:{z:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break x;case 1:break y;case 0:break z;default:break b}}Tr(b,a);return}Sr(b,a);return}Rr(b,a);return;case 6:if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;ks(c,b,(a<<8|a>>>8)&65535)}return;case 7:break c;default:break b}}if((I[a|0]|I[a+1|0]<<8)!=256){break b}c=a;A:{B:{C:{d=H[b+4>>2];b=H[d>>2];if((b|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break B}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){b=Eb(H[d+8>>2],N(a,20));if(b){break C}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break A}H[d>>2]=a;H[d+8>>2]=b;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=730;H[a>>2]=c;H[a+16>>2]=0;a=a+8|0;b=I[c+2|0]|I[c+3|0]<<8;D:{if(!b){Ic(163632,a);break D}Ic(c+((b<<8|b>>>8)&65535)|0,a)}}return}H[a>>2]=c;H[a+16>>2]=0;a=a+8|0;b=I[c+2|0]|I[c+3|0]<<8;E:{if(!b){Ic(163632,a);break E}Ic(((b<<8|b>>>8)&65535)+c|0,a)}}function WC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;j=Wa-416|0;Wa=j;u=H[b+92>>2];H[a+40>>2]=J[b+68>>1];if(!ie(b,1970170211)){Hn(a,b);c=(H[H[a>>2]+12>>2]<<3)+6560|0;d=H[c>>2];if((d|0)!=5531){v=a+7720|0;w=a+44|0;while(1){r=c;g=d+1024|0;d=I[g|0];a:{if(!d){break a}s=I[r+4|0]&2?w:v;q=0;n=0;m=1;while(1){e=d&255;if((e|0)!=32){b:{c:{if((e|0)==124){g=g+1|0;break c}c=g+1|0;if(d<<24>>24<0){f=e>>>0<240;d=e>>>0<224;i=d?1:f?2:3;k=i-1|0;e=(d?31:f?15:7)&e;f=0;d=i;while(1){e=I[c|0]&63|e<<6;d=d-1|0;c=c+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(k>>>0>=3){while(1){e=I[c+3|0]&63|((I[c+1|0]&63|(e<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+i|0)+1|0}g=c;d=0;while(1){c=I[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}c=d>>>0<240;f=d>>>0<224;i=f?1:c?2:3;l=i-1|0;d=(f?31:c?15:7)&d;k=0;f=i;c=g;while(1){d=I[c|0]&63|d<<6;f=f-1|0;c=c+1|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}if(l>>>0>=3){while(1){d=I[c+3|0]&63|((I[c+1|0]&63|(d<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;f=f-4|0;if(f){continue}break}}g=g+i|0;continue}break}if(d){break b}c=pc(H[H[a+36>>2]>>2],e);if(!c){break b}if(Kd(b,c,1)){break b}c=H[b+84>>2];if(G[c+110>>1]<3){break b}e=0;t=G[c+108>>1];d:{if((t|0)<=0){c=0;break d}x=H[c+120>>2];k=H[c+112>>2];d=-1;l=0;c=0;while(1){i=G[x+(l<<1)>>1];e:{if((i|0)<=(e|0)){break e}h=J[r+4>>1];f=h&1;if(h&2){if(f){if((i-e|0)+1&1){f=H[(e<<3)+k>>2];h=(d|0)<0|(f|0)>(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=H[(f<<3)+k>>2];h=h|(d|0)>(c|0);o=h?f:e;e=f+1|0;p=H[(e<<3)+k>>2];h=h?d:c;c=(o|0)<0|(p|0)>(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}break e}if((i-e|0)+1&1){f=H[(e<<3)+k>>2];h=(d|0)<0|(f|0)<(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=H[(f<<3)+k>>2];h=h|(d|0)<(c|0);o=h?f:e;e=f+1|0;p=H[(e<<3)+k>>2];h=h?d:c;c=(o|0)<0|(p|0)<(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}break e}if(f){if((i-e|0)+1&1){f=H[((e<<3)+k|0)+4>>2];h=(d|0)<0|(f|0)>(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=H[((f<<3)+k|0)+4>>2];h=h|(d|0)>(c|0);o=h?f:e;e=f+1|0;p=H[((e<<3)+k|0)+4>>2];h=h?d:c;c=(o|0)<0|(p|0)>(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}break e}if((i-e|0)+1&1){f=H[((e<<3)+k|0)+4>>2];h=(d|0)<0|(f|0)<(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(i|0)){break e}while(1){e=d;h=(d|0)<0;d=H[((f<<3)+k|0)+4>>2];h=h|(d|0)<(c|0);o=h?f:e;e=f+1|0;p=H[((e<<3)+k|0)+4>>2];h=h?d:c;c=(o|0)<0|(p|0)<(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(i|0)){continue}break}}e=i+1|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}}if(m){H[(j+208|0)+(q<<2)>>2]=c;q=q+1|0;break b}H[(n<<2)+j>>2]=c;n=n+1|0}m=0}d=I[g|0];if(d){continue}if(!(n|q)){break a}f:{if(q>>>0<2){break f}g=1;c=q-1|0;i=c&1;if((q|0)!=2){k=c&-2;e=0;while(1){d=H[(j+208|0)+(g<<2)>>2];c=g;while(1){f=c-1|0;l=(j+208|0)+(f<<2)|0;m=H[l>>2];if((m|0)>(d|0)){H[(j+208|0)+(c<<2)>>2]=m;H[l>>2]=d;c=f;if(c){continue}}break}c=g+1|0;d=H[(j+208|0)+(c<<2)>>2];while(1){f=c-1|0;l=(j+208|0)+(f<<2)|0;m=H[l>>2];if((m|0)>(d|0)){H[(j+208|0)+(c<<2)>>2]=m;H[l>>2]=d;c=f;if(c){continue}}break}g=g+2|0;e=e+2|0;if((k|0)!=(e|0)){continue}break}}if(!i){break f}e=H[(j+208|0)+(g<<2)>>2];while(1){c=g-1|0;f=(j+208|0)+(c<<2)|0;d=H[f>>2];if((d|0)<=(e|0)){break f}H[(j+208|0)+(g<<2)>>2]=d;H[f>>2]=e;g=c;if(c){continue}break}}g:{if(n>>>0<2){break g}g=1;c=n-1|0;i=c&1;if((n|0)!=2){k=c&-2;e=0;while(1){d=H[(g<<2)+j>>2];c=g;while(1){f=c-1|0;l=(f<<2)+j|0;m=H[l>>2];if((m|0)>(d|0)){H[(c<<2)+j>>2]=m;H[l>>2]=d;c=f;if(c){continue}}break}c=g+1|0;d=H[(c<<2)+j>>2];while(1){f=c-1|0;l=(f<<2)+j|0;m=H[l>>2];if((m|0)>(d|0)){H[(c<<2)+j>>2]=m;H[l>>2]=d;c=f;if(c){continue}}break}g=g+2|0;e=e+2|0;if((k|0)!=(e|0)){continue}break}}if(!i){break g}e=H[(g<<2)+j>>2];while(1){c=g-1|0;f=(c<<2)+j|0;d=H[f>>2];if((d|0)<=(e|0)){break g}H[(g<<2)+j>>2]=d;H[f>>2]=e;g=c;if(c){continue}break}}c=H[s+216>>2];H[s+216>>2]=c+1;c=N(c,28)+s|0;h:{i:{if(!(!n|!q)){g=H[(j+208|0)+(q<<1&-4)>>2];H[c+220>>2]=g;e=H[(n<<1&-4)+j>>2];H[c+232>>2]=e;if((e|0)==(g|0)){break i}k=J[r+4>>1];if((k^(e|0)>=(g|0))&1){break h}g=(e+g|0)/2|0;H[c+232>>2]=g;H[c+220>>2]=g;break h}g=H[((n?n:q)<<1&-4)+(n?j:j+208|0)>>2];H[c+232>>2]=g;H[c+220>>2]=g}k=J[r+4>>1]}H[c+244>>2]=k<<1&2}else{d=I[g+1|0];g=g+1|0;continue}break}}c=r+8|0;d=H[r+8>>2];if((d|0)!=5531){continue}break}}pn(a)}he(b,u);Wa=j+416|0;return 0}function ok(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=O(0),m=O(0);g=Wa-208|0;Wa=g;a:{if(!(!H[a>>2]|K[a+216>>2]<=c>>>0)){i=H[a+80>>2];b:{if((i|0)==163632){break b}c:{d:{switch(I[i|0]){case 0:h=(c+i|0)+1|0;break c;case 3:break d;default:break b}}h=1;j=I[i+1|0]|I[i+2|0]<<8;j=(j<<8|j>>>8)&65535;e:{if(j>>>0<2){break e}while(1){k=h>>>0>>0?(i+N(h,3)|0)+3|0:163632;k=I[k|0]|I[k+1|0]<<8;if(((k<<8|k>>>8)&65535)>>>0>c>>>0){break e}h=h+1|0;if((j|0)!=(h|0)){continue}break}h=j}h=h-1|0;h=(h>>>0>>0?(i+N(h,3)|0)+3|0:163632)+2|0}h=I[h|0]}F[g+56|0]=0;H[g+48>>2]=0;H[g+52>>2]=0;H[g+76>>2]=0;H[g+68>>2]=0;H[g+72>>2]=0;H[g+92>>2]=0;H[g+96>>2]=0;F[g+100|0]=0;H[g+144>>2]=0;H[g+136>>2]=0;H[g+140>>2]=0;H[g+176>>2]=0;H[g+180>>2]=0;H[g+40>>2]=0;H[g+44>>2]=0;H[g+84>>2]=0;H[g+88>>2]=0;H[g+168>>2]=0;H[g+172>>2]=0;H[g+192>>2]=0;H[g+196>>2]=0;j=H[a+72>>2];H[65057]=0;$e(g+24|0,j,c);c=H[65057];H[65057]=0;if((c|0)==1){break a}j=H[(K[a+208>>2]>h>>>0?H[a+212>>2]+N(h,24)|0:163632)+20>>2];i=H[a+68>>2];H[g+48>>2]=H[g+32>>2];c=H[g+28>>2];H[g+40>>2]=H[g+24>>2];H[g+44>>2]=c;F[g+60|0]=0;F[g+56|0]=0;H[g+52>>2]=0;c=tb(4744);H[g+72>>2]=0;H[g+76>>2]=0;h=g- -64|0;H[h>>2]=0;H[h+4>>2]=0;f:{if(!c){H[g+68>>2]=-1;break f}H[g+68>>2]=593;H[g+76>>2]=c;kb(c,0,4104);H[g+72>>2]=513}F[g+80|0]=0;c=H[g+28>>2];H[g+84>>2]=H[g+24>>2];H[g+88>>2]=c;H[g+92>>2]=H[g+32>>2];H[g+104>>2]=0;H[g+108>>2]=0;F[g+100|0]=0;H[g+96>>2]=0;F[g+113|0]=1;F[g+114|0]=0;c=tb(560);H[g+140>>2]=0;H[g+144>>2]=0;H[g+132>>2]=0;H[g+136>>2]=0;F[g+121|0]=0;F[g+122|0]=0;F[g+123|0]=0;F[g+124|0]=0;F[g+125|0]=0;F[g+126|0]=0;F[g+127|0]=0;F[g+128|0]=0;H[g+176>>2]=0;H[g+180>>2]=0;H[g+116>>2]=0;H[g+120>>2]=0;H[g+168>>2]=0;H[g+172>>2]=0;g:{if(!c){H[g+136>>2]=-1;break g}H[g+136>>2]=20;H[g+144>>2]=c;H[c+48>>2]=0;H[c+52>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;h=c- -64|0;H[h>>2]=0;H[h+4>>2]=0;H[c+72>>2]=0;H[c+76>>2]=0;H[c+80>>2]=0;h=4;H[g+140>>2]=4;H[c+108>>2]=0;H[c+100>>2]=0;H[c+104>>2]=0;H[c+92>>2]=0;H[c+96>>2]=0;H[c+84>>2]=0;H[c+88>>2]=0;while(1){H[g+140>>2]=h+1;c=H[g+144>>2]+N(h,28)|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;h=H[g+140>>2];if(h>>>0<10){continue}break}H[g+140>>2]=10}H[g+152>>2]=i;h:{i:{if(i){c=I[i|0]|I[i+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>1239){break i}}H[g+148>>2]=107;break h}if(c>>>0<=33899){H[g+148>>2]=1131;break h}H[g+148>>2]=32768}H[g+160>>2]=j;j:{k:{if(j){c=I[j|0]|I[j+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>1239){break k}}H[g+156>>2]=107;break j}if(c>>>0<=33899){H[g+156>>2]=1131;break j}H[g+156>>2]=32768}F[g+200|0]=e;H[g+188>>2]=0;G[g+184>>1]=0;F[g+112|0]=0;H[g+20>>2]=a;H[g+12>>2]=d;H[g+16>>2]=f;H[g+8>>2]=b;f=I[163632];j=f|256;h=!I[g+56|0];a=H[40908];d=H[40909];l:{while(1){b=65535;m:{n:{o:{if(!(h&1)){break o}h=H[g+52>>2];e=h+1|0;i=H[g+44>>2];if(e>>>0>i>>>0){break o}p:{q:{if(h>>>0>>0){b=H[g+40>>2];c=I[b+h|0];if((c|0)==12){c=j;if(e>>>0>=i>>>0){break q}h=e;c=I[b+h|0]|256}if(h>>>0>=i>>>0){break q}H[g+52>>2]=h+1;break p}F[g+56|0]=1;c=f;if((c|0)==12){break o}}F[g+56|0]=1;H[g+52>>2]=i}if((c|0)!=14){b=c;if((c|0)!=256){break o}break n}e=H[g+64>>2];if(!I[g+184|0]){if(e&1){r:{if(!H[g+72>>2]){H[64760]=a;H[64761]=d;b=a;c=d;break r}c=H[g+76>>2];b=H[c>>2];c=H[c+4>>2]}H[g+188>>2]=1;F[g+185|0]=1;H[g+192>>2]=b;H[g+196>>2]=c}F[g+184|0]=1}if(e>>>0>=4){H[65057]=0;da(649,g+40|0,g+8|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}}F[g+112|0]=1;break n}H[65057]=0;ja(650,b|0,g+40|0,g+8|0);b=H[65057];H[65057]=0;if((b|0)!=1){break m}break a}H[g+64>>2]=0;H[g+188>>2]=0}h=0;if(I[g+128|0]){break l}h=0;if(H[g+136>>2]<0){break l}h=0;if(I[g+80|0]|I[g+56|0]){break l}h=0;if(I[g+60|0]){break l}h=0;if(H[g+68>>2]<0){break l}h=1;if(!I[g+112|0]){continue}break}b=H[g+12>>2];a=b+16|0;if(H[b+16>>2]){d=H[b+12>>2];c=H[b+8>>2];l=L[b+20>>2];m=L[b+24>>2];if(!(l==L[b+28>>2]&m==L[b+32>>2])){b=H[c+36>>2];e=H[c+16>>2];H[65057]=0;wa(e|0,c|0,d|0,a|0,O(l),O(m),b|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}}b=H[c+48>>2];e=H[c+28>>2];H[65057]=0;ha(e|0,c|0,d|0,a|0,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}}H[a>>2]=0;H[a+4>>2]=0;H[a+16>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;h=1}H[g+72>>2]=0;hb(H[g+76>>2]);H[g+140>>2]=0;H[g+76>>2]=0;H[g+68>>2]=0;H[g+72>>2]=0;hb(H[g+144>>2]);H[g+72>>2]=0;H[g+144>>2]=0;H[g+136>>2]=0;H[g+140>>2]=0;hb(H[g+76>>2])}Wa=g+208|0;return h}a=$()|0;_()|0;pk(g+40|0);ba(a|0);X()}function kK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;k=Wa-32|0;Wa=k;H[b+72>>2]=0;H[b+64>>2]=0;F[b+61|0]=1;F[b+62|0]=0;H[b+84>>2]=H[b+80>>2];H[b+64>>2]=0;j=H[b+68>>2];a:{if(!j){break a}while(1){d=H[b+80>>2];i=H[d+N(e,20)>>2];b:{if((i&-129)!=3635){if(I[b+61|0]){c:{if((d|0)==H[b+84>>2]){d=e;if(H[b+72>>2]==(d|0)){break c}}if(!qb(b,1,1)){break a}f=H[b+80>>2]+N(H[b+64>>2],20)|0;e=H[f+4>>2];d=H[b+84>>2]+N(H[b+72>>2],20)|0;H[d>>2]=H[f>>2];H[d+4>>2]=e;H[d+16>>2]=H[f+16>>2];e=H[f+12>>2];H[d+8>>2]=H[f+8>>2];H[d+12>>2]=e;e=H[b+64>>2];d=H[b+72>>2]}H[b+72>>2]=d+1}H[b+64>>2]=e+1;break b}g=i+26|0;if(qb(b,0,1)){f=H[b+64>>2];d:{if(f>>>0>2]){d=H[b+72>>2];e=H[b+84>>2];f=H[b+80>>2]+N(f,20)|0;break d}e=H[b+84>>2];d=H[b+72>>2];f=e+N(d?d-1|0:0,20)|0}e=N(d,20)+e|0;d=f;f=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=f;H[e+16>>2]=H[d+16>>2];f=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=f;H[e>>2]=g;H[b+72>>2]=H[b+72>>2]+1}d=H[b+72>>2];d=H[b+84>>2]+N(d?d-1|0:0,20)|0;G[d+16>>1]=J[d+16>>1]|128;g=i-1|0;h=qb(b,1,1);if(h){f=H[b+64>>2];e:{if(f>>>0>2]){d=H[b+72>>2];i=H[b+84>>2];f=H[b+80>>2]+N(f,20)|0;break e}i=H[b+84>>2];d=H[b+72>>2];f=i+N(d?d-1|0:0,20)|0}e=N(d,20)+i|0;d=f;f=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=f;H[e+16>>2]=H[d+16>>2];f=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=f;H[e>>2]=g;H[b+64>>2]=H[b+64>>2]+1;H[b+72>>2]=H[b+72>>2]+1}if(!h){break a}e=H[b+72>>2];d=e-2|0;i=N(d,20);f=i+H[b+84>>2]|0;G[f+16>>1]=J[f+16>>1]&224|12;f:{g:{while(1){f=d;if(!d){break g}d=f-1|0;g=H[H[b+84>>2]+N(d,20)>>2];h=g&-129;if((h|0)==3633|(g&-132)==3636|h-3655>>>0<8){continue}break}if(e>>>0>f+2>>>0){break f}if(H[b+20>>2]){break b}ae(b,d,e);break b}if(e>>>0<=2){break b}}ae(b,f,e);d=i;i=H[b+84>>2];d=d+i|0;H[k+24>>2]=H[d+16>>2];g=H[d+12>>2];H[k+16>>2]=H[d+8>>2];H[k+20>>2]=g;g=H[d+4>>2];H[k+8>>2]=H[d>>2];H[k+12>>2]=g;d=N(f,20);i=d+i|0;Yb(i+20|0,i,N(e-f|0,20)-40|0);f=H[k+12>>2];d=d+H[b+84>>2]|0;H[d>>2]=H[k+8>>2];H[d+4>>2]=f;H[d+16>>2]=H[k+24>>2];f=H[k+20>>2];H[d+8>>2]=H[k+16>>2];H[d+12>>2]=f}e=H[b+64>>2];if(j>>>0>e>>>0){continue}break}}ad(b);h:{if(I[a+32|0]|H[a+4>>2]!=1416126825){break h}s=H[b+68>>2];if(!s){break h}t=H[b+80>>2];a=3;g=2;f=0;i=0;while(1){e=0;i:{j:{u=N(i,20)+t|0;j=H[u>>2];if((j|0)==3633|(j&-4)==3636){break j}d=j-3655|0;if(1<>>0<=7:0){break j}e=1;if(j-3640>>>0<3){break j}e=2;if(j-3656>>>0<5){break j}k:{l:{d=j-3597|0;if(d>>>0<=18){d=1<>>0>45)<<2;break k}a=2}a=a<<2;g=H[a+139568>>2];a=H[a+139536>>2];f=i;break i}e=e<<3;d=e+N(g,24)|0;a=e+N(a,24)|0;r=H[a+139600>>2];if(!r){r=H[d+139696>>2]}w=d+139700|0;m=a+139604|0;a=H[b+68>>2];l=a>>>0>>0?a:i;p=l-f|0;m:{if(p>>>0<2){break m}a=H[b+144>>2]|32;H[b+144>>2]=a;if(f>>>0>=l>>>0){break m}h=H[b+80>>2];e=-1;d=f;v=l+(d^-1)|0;if(v>>>0>=3){q=p&-4;o=0;while(1){g=h+N(d,20)|0;n=H[g+8>>2];e=e>>>0>>0?e:n;n=H[g+28>>2];e=e>>>0>>0?e:n;n=H[g+48>>2];e=e>>>0>>0?e:n;g=H[g+68>>2];e=e>>>0>>0?e:g;d=d+4|0;o=o+4|0;if((q|0)!=(o|0)){continue}break}}g=0;o=p&3;if(o){while(1){q=H[(h+N(d,20)|0)+8>>2];e=e>>>0>>0?e:q;d=d+1|0;g=g+1|0;if((o|0)!=(g|0)){continue}break}}d=f;if(p&1){d=h+N(f,20)|0;if(H[d+8>>2]!=(e|0)){H[b+144>>2]=a;H[d+4>>2]=H[d+4>>2]|3}d=f+1|0}if(!v){break m}while(1){g=h+N(d,20)|0;if(H[g+8>>2]!=(e|0)){a=a|32;H[b+144>>2]=a;H[g+4>>2]=H[g+4>>2]|3}g=h+N(d+1|0,20)|0;if(H[g+8>>2]!=(e|0)){a=a|32;H[b+144>>2]=a;H[g+4>>2]=H[g+4>>2]|3}d=d+2|0;if((l|0)!=(d|0)){continue}break}}g=H[w>>2];a=H[m>>2];e=0;n:{o:{p:{switch(r|0){case 4:e=140128;q:{r:{s:{j=N(f,20)+t|0;d=H[j>>2];switch(d-3597|0){case 0:break r;case 3:break s;default:break q}}e=140140}h=H[e+4>>2];l=k+8|0;H[l>>2]=0;m=h;h=H[c+80>>2];if(Ya[H[h+164>>2]](c,H[c+84>>2],m,l,H[h+20>>2])|0){d=e+4|0}else{h=H[e+8>>2];l=k+8|0;H[l>>2]=0;m=h;h=H[c+80>>2];if(!(Ya[H[h+164>>2]](c,H[c+84>>2],m,l,H[h+20>>2])|0)){break q}d=e+8|0}d=H[d>>2]}H[j>>2]=d;break i;case 1:e=139776;break o;case 3:e=139888;break o;case 0:break n;case 2:break p;default:break o}}e=139968}d=H[e>>2];if(!d){break n}while(1){if((d|0)==(j|0)){d=H[e+4>>2];h=k+8|0;H[h>>2]=0;m=d;d=H[c+80>>2];if(Ya[H[d+164>>2]](c,H[c+84>>2],m,h,H[d+20>>2])|0){j=H[e+4>>2];break n}d=H[e+8>>2];h=k+8|0;H[h>>2]=0;m=d;d=H[c+80>>2];if(!(Ya[H[d+164>>2]](c,H[c+84>>2],m,h,H[d+20>>2])|0)){break n}j=H[e+8>>2];break n}d=H[e+12>>2];e=e+12|0;if(d){continue}break}}H[u>>2]=j}i=i+1|0;if((s|0)!=(i|0)){continue}break}}Wa=k+32|0}function AL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=Wa-16|0;Wa=h;a:{b:{switch(I[a+4|0]){case 0:f=H[b+4>>2];w=G[f+152>>1]&1;if(w){j=I[a+5|0];H[h+8>>2]=a;H[h+12>>2]=b;F[h+4|0]=j>>>2&1;H[h>>2]=h+8;r=H[f+144>>2];f=0;o=Wa-160|0;Wa=o;d=H[b+16>>2];l=H[b+8>>2];if(Fb(d,l,106300,0)){if(I[d+16|0]&64){Qb(d,2,0,-1,1,0)}b=id(o+8|0,1,l,d);H[b+120>>2]=r;H[b+132>>2]=8;H[b+36>>2]=0;H[b+8>>2]=b;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+52>>2]=b;H[b+20>>2]=r;F[b+17|0]=I[b+142|0];H[b+12>>2]=8;H[b+72>>2]=0;H[b+76>>2]=0;H[b- -64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=8;a=H[b+124>>2]==1;F[b+16|0]=a;F[b+60|0]=a|I[b+141|0]!=0;k=H[d+68>>2];if(k){s=b+4|0;m=H[d+88>>2];n=H[d+80>>2];x=(H[d+40>>2]&-2)!=4;while(1){c:{d:{p=N(f,20);q=p+n|0;if(!(r&H[q+4>>2])){break d}H[b+40>>2]=1;H[b+4>>2]=f;j=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[j+68>>2];a=0;F[b+24|0]=H[j+64>>2]==(f|0)?I[(p+H[j+80>>2]|0)+15|0]:0;if(!Pc(s,o+4|0)){break d}j=H[s>>2];g=N(j,20);u=H[H[h>>2]>>2];c=I[u+6|0]|I[u+7|0]<<8;e:{if(c){e=H[q>>2];y=H[g+n>>2];q=((c<<8|c>>>8)&65535)-1|0;while(1){f:{g:{v=a+q>>>1|0;i=u+N(v,6)|0;c=i+14|0;t=I[c|0]|I[c+1|0]<<8;t=(t<<8|t>>>8)&65535;h:{if((t|0)==(e|0)){i=I[i+16|0]|I[i+17|0]<<8;i=(i<<8|i>>>8)&65535;if(i>>>0>y>>>0){break h}if((i|0)==(y|0)){break e}break g}if(e>>>0>=t>>>0){break g}}q=v-1|0;break f}a=v+1|0}if((a|0)<=(q|0)){continue}break}}c=163632}c=I[c+4|0]|I[c+5|0]<<8;if(!c){break c}a=c<<8|c>>>8;i:{if(!x){a=a<<16;c=a>>31;a=HM(H[l+40>>2],H[l+44>>2],a>>16,c)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(I[h+4|0]){H[(g+m|0)+12>>2]=a;H[d+144>>2]=H[d+144>>2]|8;break i}c=m+p|0;e=c;i=H[c>>2];c=a>>1;H[e>>2]=i+c;g=g+m|0;a=a-c|0;H[g>>2]=a+H[g>>2];H[g+8>>2]=a+H[g+8>>2];break i}a=a<<16;c=a>>31;a=HM(H[l+48>>2],H[l+52>>2],a>>16,c)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(I[h+4|0]){H[(g+m|0)+8>>2]=a;H[d+144>>2]=H[d+144>>2]|8;break i}c=m+p|0;e=c;i=H[c+4>>2];c=a>>1;H[e+4>>2]=i+c;g=g+m|0;a=a-c|0;H[g+4>>2]=a+H[g+4>>2];H[g+12>>2]=a+H[g+12>>2]}Ad(d,f,j+1|0);j=H[s>>2];break c}j=f+1|0}f=j;if(k>>>0>f>>>0){continue}break}}Fb(d,l,106331,0)}Wa=o+160|0}break a;case 2:break b;default:break a}}f=H[b+4>>2];w=G[f+152>>1]&1;if(w){j=I[a+5|0];H[h+8>>2]=a;H[h+12>>2]=b;F[h+4|0]=j>>>2&1;H[h>>2]=h+8;r=H[f+144>>2];f=0;o=Wa-160|0;Wa=o;k=H[b+16>>2];l=H[b+8>>2];if(Fb(k,l,106300,0)){if(I[k+16|0]&64){Qb(k,2,0,-1,1,0)}b=id(o+8|0,1,l,k);H[b+120>>2]=r;H[b+132>>2]=8;H[b+36>>2]=0;H[b+8>>2]=b;H[b+28>>2]=0;H[b+32>>2]=0;H[b+80>>2]=0;H[b+52>>2]=b;H[b+20>>2]=r;F[b+17|0]=I[b+142|0];H[b+12>>2]=8;H[b+72>>2]=0;H[b+76>>2]=0;H[b- -64>>2]=-1;F[b+61|0]=1;H[b+56>>2]=8;a=H[b+124>>2]==1;F[b+16|0]=a;F[b+60|0]=a|I[b+141|0]!=0;j=H[k+68>>2];if(j){s=b+4|0;m=H[k+88>>2];q=H[k+80>>2];y=(H[k+40>>2]&-2)!=4;while(1){j:{k:{p=N(f,20);e=p+q|0;if(!(r&H[e+4>>2])){break k}H[b+40>>2]=1;H[b+4>>2]=f;a=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[a+68>>2];F[b+24|0]=H[a+64>>2]==(f|0)?I[(p+H[a+80>>2]|0)+15|0]:0;if(!Pc(s,o+4|0)){break k}a=H[h>>2];d=H[a>>2];v=H[s>>2];g=N(v,20);i=H[g+q>>2];c=H[a+4>>2];n=0;u=0;t=H[e>>2];a=I[d+8|0]|I[d+9|0]<<8;a=d+((a<<8|a>>>8)&65535)|0;e=I[a|0]|I[a+1|0]<<8;e=t-((e<<8|e>>>8)&65535)|0;x=I[a+2|0]|I[a+3|0]<<8;if(e>>>0<((x<<8|x>>>8)&65535)>>>0){a=a+(e<<1)|0;a=I[a+4|0]|I[a+5|0]<<8;u=(a<<8|a>>>8)&65535}a=I[d+10|0]|I[d+11|0]<<8;a=d+((a<<8|a>>>8)&65535)|0;e=I[a|0]|I[a+1|0]<<8;e=i-((e<<8|e>>>8)&65535)|0;i=I[a+2|0]|I[a+3|0]<<8;if(e>>>0<((i<<8|i>>>8)&65535)>>>0){a=a+(e<<1)|0;a=I[a+4|0]|I[a+5|0]<<8;n=(a<<8|a>>>8)&65535}a=0;e=(d+u|0)+n|0;n=I[d+12|0]|I[d+13|0]<<8;d=d+((n<<8|n>>>8)&65535)|0;d=(e-d&-2)+d|0;l:{if(d>>>0>2]){break l}n=H[c+28>>2];if(n>>>0>>0|n-d>>>0<2){break l}e=c;c=H[c+32>>2]-2|0;H[e+32>>2]=c;if((c|0)<=0){break l}a=I[d|0]|I[d+1|0]<<8;a=(a<<8|a>>>8)<<16>>16}if(a){m:{if(!y){a=a<<16;c=a>>31;a=HM(H[l+40>>2],H[l+44>>2],a>>16,c)+32768|0;d=Xa;d=a>>>0<32768?d+1|0:d;a=(d&65535)<<16|a>>>16;if(I[h+4|0]){H[(g+m|0)+12>>2]=a;H[k+144>>2]=H[k+144>>2]|8;break m}d=m+p|0;c=a>>1;H[d>>2]=c+H[d>>2];d=g+m|0;a=a-c|0;H[d>>2]=a+H[d>>2];H[d+8>>2]=a+H[d+8>>2];break m}a=a<<16;d=a>>31;a=HM(H[l+48>>2],H[l+52>>2],a>>16,d)+32768|0;c=Xa;c=a>>>0<32768?c+1|0:c;a=(c&65535)<<16|a>>>16;if(I[h+4|0]){H[(g+m|0)+8>>2]=a;H[k+144>>2]=H[k+144>>2]|8;break m}d=m+p|0;c=a>>1;H[d+4>>2]=c+H[d+4>>2];d=g+m|0;a=a-c|0;H[d+4>>2]=a+H[d+4>>2];H[d+12>>2]=a+H[d+12>>2]}Ad(k,f,v+1|0)}f=H[s>>2];break j}f=f+1|0}if(j>>>0>f>>>0){continue}break}}Fb(k,l,106331,0)}Wa=o+160|0}}Wa=h+16|0;return w|0}function fw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=H[a>>2]}H[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=H[a>>2]}H[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+436|0];break b;case 4:a=H[a+364>>2];if(!a){break e}b=wb(a)+1|0;if(!d|f>>>0>>0){break f}mb(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+420>>2];break c;case 7:if(K[a+420>>2]<=c>>>0){break e}a=H[H[a+424>>2]+(c<<2)>>2];c=wb(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=mb(d,a,b)+c|0,h=0,F[g|0]=h;break f;case 8:if(K[a+420>>2]<=c>>>0){break e}e=H[H[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=mb(d,H[H[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,F[g|0]=h;break f;case 9:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+368>>2];break c;case 10:if(H[a+368>>2]!=1|K[a+372>>2]<=c>>>0){break e}c=H[H[a+388>>2]+(c<<2)>>2];a=wb(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=mb(d,c,a)+a|0,h=0,F[g|0]=h;break f;case 11:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+404>>2];break c;case 12:b=H[a+416>>2];n:{if(b){b=Kc(c,b);if(!b){break e}c=H[b>>2];break n}if(K[a+404>>2]<=c>>>0){break e}}e=H[a+408>>2];if(!e){break e}a=H[H[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}g=mb(d,H[e+(c<<2)>>2],a)+a|0,h=0,F[g|0]=h;break f;case 13:b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+176|0];break b;case 16:if(I[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+177|0];break b;case 19:if(I[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+178|0];break b;case 21:if(I[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+179|0];break b;case 23:if(I[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+292|0];break b;case 27:if(I[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+293|0];break b;case 29:if(I[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}F[d|0]=I[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}G[d>>1]=J[a+164>>1];break a;case 36:a=H[a+132>>2];if(!a){break e}b=wb(a)+1|0;if(!d|f>>>0>>0){break f}mb(d,a,b);break f;case 37:a=H[a+136>>2];if(!a){break e}b=wb(a)+1|0;if(!d|f>>>0>>0){break f}mb(d,a,b);break f;case 38:a=H[a+140>>2];if(!a){break e}b=wb(a)+1|0;if(!d|f>>>0>>0){break f}mb(d,a,b);break f;case 39:a=H[a+144>>2];if(!a){break e}b=wb(a)+1|0;if(!d|f>>>0>>0){break f}mb(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=H[a+148>>2];if(!a){break e}b=wb(a)+1|0;if(!d|f>>>0>>0){break f}mb(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}H[d>>2]=H[a+152>>2]}return b|0}return 1}return 2}function cc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,R=0;k=Wa-96|0;Wa=k;t=h;u=i&65535;m=(e^i)&-2147483648;l=e&65535;p=l;z=l;J=i>>>16&32767;K=e>>>16&32767;a:{b:{if(J-32767>>>0>4294934529&K-32767>>>0>=4294934530){break b}l=e&2147483647;j=d;if(!(!d&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){o=d;m=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){o=h;m=i|32768;b=f;c=g;break a}if(!(b|j|(l^2147418112|c))){if(!(f|h|(e|g))){m=2147450880;b=0;c=0;break a}m=m|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){d=b|j;e=c|l;b=0;c=0;if(!(d|e)){m=2147450880;break a}m=m|2147418112;break a}if(!(b|j|(c|l))){b=0;c=0;break a}if(!(f|h|(e|g))){b=0;c=0;break a}if((l|0)==65535|l>>>0<65535){j=b;h=!(d|p);i=h<<6;l=Q(h?b:d)+32|0;b=Q(h?c:p);b=i+((b|0)==32?l:b)|0;Nc(k+80|0,j,c,d,p,b-15|0);s=16-b|0;d=H[k+88>>2];z=H[k+92>>2];c=H[k+84>>2];b=H[k+80>>2]}if(e>>>0>65535){break b}e=!(t|u);h=e<<6;i=Q(e?f:t)+32|0;e=Q(e?g:u);e=h+((e|0)==32?i:e)|0;Nc(k- -64|0,f,g,t,u,e-15|0);s=(s-e|0)+16|0;t=H[k+72>>2];u=H[k+76>>2];f=H[k+64>>2];g=H[k+68>>2]}e=f;j=g<<15|e>>>17;h=e<<15;e=j;p=h&-32768;q=c;A=HM(p,0,c,0);c=Xa;w=c;B=e;i=0;j=HM(e,0,b,i);e=j+A|0;h=Xa+c|0;h=e>>>0>>0?h+1|0:h;c=e;j=e;n=HM(b,i,p,i);l=0+n|0;e=Xa+e|0;e=l>>>0>>0?e+1|0:e;x=l;n=l;l=e;C=(j|0)==(e|0)&r>>>0>n>>>0|e>>>0>>0;r=d;L=HM(p,i,d,0);F=Xa;e=HM(q,i,B,i);d=e+L|0;j=Xa+F|0;n=d;d=d>>>0>>0?j+1|0:j;e=t;j=u<<15|e>>>17;y=e<<15|g>>>17;g=j;j=HM(y,0,b,i);e=j+n|0;f=Xa+d|0;G=e;f=e>>>0>>0?f+1|0:f;u=f;e=f;f=(h|0)==(w|0)&c>>>0>>0|h>>>0>>0;c=h+G|0;f=e+f|0;A=c;f=c>>>0>>0?f+1|0:f;t=f;c=f;D=z|65536;z=v;M=HM(p,i,D,v);I=Xa;h=HM(r,o,B,i);f=h+M|0;e=Xa+I|0;N=f;e=f>>>0>>0?e+1|0:e;v=e;E=g|-2147483648;w=0;g=HM(E,w,b,i);b=g+f|0;f=Xa+e|0;f=b>>>0>>0?f+1|0:f;O=b;e=HM(y,o,q,i);b=b+e|0;p=f;j=f+Xa|0;P=b;g=b>>>0>>0?j+1|0:j;f=0;b=f+A|0;e=c+P|0;e=b>>>0>>0?e+1|0:e;R=b;c=b;b=b+C|0;C=e;f=b>>>0>>0?e+1|0:e;c=f;s=((K+J|0)+s|0)-16383|0;j=HM(E,w,q,i);h=Xa;i=HM(D,z,B,i);e=i+j|0;f=Xa+h|0;f=e>>>0>>0?f+1|0:f;i=(f|0)==(h|0)&e>>>0>>0|f>>>0>>0;h=e;q=i;i=HM(y,o,r,o);e=i+e|0;j=Xa+f|0;j=e>>>0>>0?j+1|0:j;i=(f|0)==(j|0)&e>>>0>>0|f>>>0>j>>>0;f=q+i|0;h=0;h=f>>>0>>0?1:h;q=HM(E,w,D,z);i=q+f|0;f=Xa+h|0;f=i>>>0>>0?f+1|0:f;q=e;h=j;B=i;e=(d|0)==(u|0)&n>>>0>G>>>0|d>>>0>u>>>0;d=e+((d|0)==(F|0)&n>>>0>>0|d>>>0>>0)|0;j=0;j=d>>>0>>0?1:j;i=d;d=q+d|0;e=h+j|0;e=d>>>0>>0?e+1|0:e;n=d;i=e;e=(e|0)==(h|0)&d>>>0>>0|e>>>0>>0;d=B+e|0;h=d>>>0>>0?f+1|0:f;q=d;j=HM(y,o,D,z);e=Xa;r=HM(E,w,r,o);d=r+j|0;f=Xa+e|0;f=d>>>0>>0?f+1|0:f;r=d;d=f;f=(e|0)==(f|0)&j>>>0>r>>>0|e>>>0>f>>>0;y=d+q|0;e=f+h|0;e=d>>>0>y>>>0?e+1|0:e;h=0;d=h+n|0;f=i+r|0;f=d>>>0>>0?f+1|0:f;h=f;j=(i|0)==(f|0)&d>>>0>>0|f>>>0>>0;i=j+y|0;n=i;i=i>>>0>>0?e+1|0:e;r=d;e=d;d=h;j=(p|0)==(v|0)&N>>>0>O>>>0|p>>>0>>0;f=j+((v|0)==(I|0)&N>>>0>>0|v>>>0>>0)|0;h=0;j=f+((g|0)==(p|0)&O>>>0>P>>>0|g>>>0

>>0)|0;f=g+e|0;e=d+j|0;e=f>>>0>>0?e+1|0:e;g=f;h=(d|0)==(e|0)&f>>>0>>0|d>>>0>e>>>0;d=h+n|0;f=i;f=d>>>0>>0?f+1|0:f;h=e;n=d;i=(t|0)==(C|0)&A>>>0>R>>>0|t>>>0>C>>>0;d=i+((t|0)==(u|0)&A>>>0>>0|t>>>0>>0)|0;j=0;j=d>>>0>>0?1:j;i=d;d=d+g|0;e=e+j|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(h|0)&d>>>0>>0|e>>>0>>0;g=n+h|0;f=g>>>0>>0?f+1|0:f;h=g;i=f;c:{if(f&65536){s=s+1|0;break c}v=l>>>31|0;f=i<<1|h>>>31;h=g<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;g=x;f=l<<1|g>>>31;x=g<<1;l=f;f=c<<1|b>>>31;b=b<<1|v;c=f}if((s|0)>=32767){m=m|2147418112;b=0;c=0;break a}d:{if((s|0)<=0){f=1-s|0;if(f>>>0>=128){b=0;c=0;break a}g=s+127|0;Nc(k+48|0,x,l,b,c,g);Nc(k+32|0,d,e,h,i,g);Se(k+16|0,x,l,b,c,f);Se(k,d,e,h,i,f);x=H[k+32>>2]|H[k+16>>2]|(H[k+48>>2]|H[k+56>>2]|(H[k+52>>2]|H[k+60>>2]))!=0;l=H[k+36>>2]|H[k+20>>2];b=H[k+40>>2]|H[k+24>>2];c=H[k+44>>2]|H[k+28>>2];d=H[k>>2];e=H[k+4>>2];f=H[k+8>>2];g=H[k+12>>2];break d}f=h;g=i&65535|s<<16}o=f|o;m=g|m;if(!(!b&(c|0)==-2147483648?!(l|x):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;c=j;f=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;d=f+o|0;e=m;o=d;m=d>>>0>>0?e+1|0:e;break a}if(b|x|(c^-2147483648|l)){b=d;c=e;break a}j=m;c=d&1;b=c+d|0;f=b>>>0>>0?e+1|0:e;c=f;e=(e|0)==(f|0)&b>>>0>>0|e>>>0>f>>>0;d=e+o|0;o=d;m=d>>>0>>0?j+1|0:j}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=o;H[a+12>>2]=m;Wa=k+96|0}function ze(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=Wa-16|0;Wa=n;e=H[a+40>>2];a:{if(H[a+20>>2]|!e){break a}H[a+40>>2]=H[e+32>>2];o=H[a+4>>2];H[e+32>>2]=0;H[e+4>>2]=o;h=H[e>>2];H[a+4>>2]=h;if((h|0)==(o|0)){break a}f=h;b:{if(b){f=0;m=a+56|0;d=0;c:{if(!H[m+32>>2]){break c}j=H[e+4>>2];l=H[e>>2];d:{if((j|0)==(l|0)){break d}d=j-l|0;i=d&3;if(j+(l^-1)>>>0>=3){d=d&-4;j=0;while(1){k=N(F[l+(c|3)|0],-1640531535)+N(N(F[l+(c|2)|0],-1640531535)+N(N(F[l+(c|1)|0],-1640531535)+N(N(F[c+l|0],-1640531535)+N(k,31)|0,31)|0,31)|0,31)|0;c=c+4|0;j=j+4|0;if((d|0)!=(j|0)){continue}break}}if(!i){break d}while(1){k=N(F[c+l|0],-1640531535)+N(k,31)|0;c=c+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}d=H[e+12>>2]<<4;e:{if(!d){c=0;break e}g=H[e+16>>2];c=0;while(1){c=N(F[g+(f|3)|0],-1640531535)+N(N(F[g+(f|2)|0],-1640531535)+N(N(F[g+(f|1)|0],-1640531535)+N(N(F[f+g|0],-1640531535)+N(c,31)|0,31)|0,31)|0,31)|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=Rk(m,e,c^k);c=0;d=H[m+32>>2]+N(d,12)|0;k=H[d>>2];f:{if(!k){break f}d=H[d+4>>2];if(!d){break f}j=H[k+4>>2];m=H[k>>2];g=j-m|0;i=H[e>>2];if((g|0)!=(H[e+4>>2]-i|0)){break f}f=H[k+12>>2];if((f|0)!=H[e+12>>2]){break f}if((j|0)!=(m|0)){if(Bc(m,i,g)){break f}}i=f<<4;g:{if(!i){break g}j=H[k+16>>2];g=H[e+16>>2];if(I[j|0]!=I[g|0]){break f}f=0;while(1){f=f+1|0;if((i|0)==(f|0)){break g}if(I[f+j|0]==I[f+g|0]){continue}break}if(f>>>0>>0){break f}}c=d}d=c}if(d){break b}f=H[e>>2]}d=o-h|0;c=H[a+8>>2]-d|0;H[a+8>>2]=c;Yb(c,f,d);c=H[a+8>>2];H[e>>2]=c;H[e+4>>2]=c+d;h:{i:{j:{d=H[a+44>>2];if((d|0)>=0){c=H[a+48>>2];h=c+1|0;h=(h|0)>0?h:0;if(h>>>0<=d>>>0){break i}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(h>>>0>=c>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=Eb(H[a+52>>2],c<<2);if(d){break j}}H[a+44>>2]=-1}H[64760]=H[40908];break h}H[a+44>>2]=c;H[a+52>>2]=d;c=H[a+48>>2]}if(c>>>0>>0){kb(H[a+52>>2]+(c<<2)|0,0,h-c<<2)}H[a+48>>2]=h;c=H[a+52>>2];H[64760]=H[40908];c=(c+(h<<2)|0)-4|0;if((c|0)==259040){break h}H[c>>2]=e}k:{c=H[a+20>>2];l:{if(!(c|H[a+44>>2]>=0)){H[a+20>>2]=1;break l}if(!c){break k}}H[e+12>>2]=0;hb(H[e+16>>2]);H[e+24>>2]=0;H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;hb(H[e+28>>2]);H[e+28>>2]=0;H[e+20>>2]=0;H[e+24>>2]=0;d=0;break a}H[n+12>>2]=H[a+48>>2]-1;d=0;if(b){b=0;j=H[e+4>>2];i=H[e>>2];m:{if((j|0)==(i|0)){break m}h=j-i|0;g=h&3;f=0;c=0;if(j+(i^-1)>>>0>=3){h=h&-4;k=0;while(1){b=N(F[i+(c|3)|0],-1640531535)+N(N(F[i+(c|2)|0],-1640531535)+N(N(F[i+(c|1)|0],-1640531535)+N(N(F[c+i|0],-1640531535)+N(b,31)|0,31)|0,31)|0,31)|0;c=c+4|0;k=k+4|0;if((h|0)!=(k|0)){continue}break}}if(!g){break m}while(1){b=N(F[c+i|0],-1640531535)+N(b,31)|0;c=c+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}f=a+56|0;h=H[e+12>>2]<<4;n:{if(!h){c=0;break n}g=H[e+16>>2];c=0;while(1){c=N(F[g+(d|3)|0],-1640531535)+N(N(F[g+(d|2)|0],-1640531535)+N(N(F[g+(d|1)|0],-1640531535)+N(N(F[d+g|0],-1640531535)+N(c,31)|0,31)|0,31)|0,31)|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}Oh(f,e,b^c,n+12|0);d=H[a+20>>2]!=0}if(!(d|I[a+68|0])){H[a+20>>2]=1}d=H[n+12>>2];break a}o:{if(K[a+48>>2]<=d>>>0){H[64760]=H[40908];a=259040;break o}a=H[a+52>>2]+(d<<2)|0}p:{f=H[e+24>>2];if(!f){break p}i=H[e+28>>2];j=i+(f<<4)|0;g=H[a>>2];b=H[g+20>>2];if((b|0)<0){g=H[40910];h=H[40911];c=H[40908];b=H[40909];while(1){H[64762]=g;H[64763]=h;H[64760]=c;H[64761]=b;a=!!f;f=f-a|0;i=(a<<4)+i|0;if((j|0)!=(i|0)){continue}break}break p}while(1){q:{r:{s:{if((b|0)>=0){a=b;h=H[g+24>>2];c=h+1|0;c=(c|0)>0?c:0;if(a>>>0>=c>>>0){break r}while(1){a=((a>>>1|0)+a|0)+8|0;if(c>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>268435454)){b=Eb(H[g+28>>2],a<<4);if(b){break s}}H[g+20>>2]=-1}a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;break q}H[g+20>>2]=a;H[g+28>>2]=b;h=H[g+24>>2]}if(c>>>0>h>>>0){kb(H[g+28>>2]+(h<<4)|0,0,c-h<<4)}H[g+24>>2]=c;b=H[g+28>>2];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;c=(b+(c<<4)|0)-16|0;if((c|0)==259040){break q}b=f?i:163632;a=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=a;a=H[b+12>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=a}a=!!f;i=(a<<4)+i|0;if((j|0)==(i|0)){break p}f=f-a|0;b=H[g+20>>2];continue}}H[e+12>>2]=0;hb(H[e+16>>2]);H[e+24>>2]=0;H[e+16>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;hb(H[e+28>>2]);H[e+28>>2]=0;H[e+20>>2]=0;H[e+24>>2]=0}Wa=n+16|0;return d|0}function Qh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Wa-48|0;Wa=c;H[a+44>>2]=0;H[a>>2]=0;H[a+4>>2]=0;F[c+24|0]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;F[c+40|0]=0;H[c+36>>2]=65536;H[c>>2]=0;H[c+4>>2]=0;H[c+28>>2]=0;H[c+32>>2]=0;e=H[b+32>>2];if((e|0)==-1){e=Hc(b)}F[c+40|0]=1;H[c+36>>2]=e;d=H[b+12>>2];a:{if(d){b=Ya[d|0](b,1668112752,H[b+16>>2])|0;if(b){break a}}b=163632}if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}e=b;H[c+32>>2]=b;b:{c:{d:{e:{f:{while(1){F[c+24|0]=f;g=H[e+12>>2];H[c+4>>2]=g;h=H[e+16>>2];H[c+8>>2]=h+g;H[c+28>>2]=0;if(h>>>0<=67108862){h=h<<6;h=h>>>0>16384?h:16384;d=h>>>0<1073741823?h:1073741823}else{d=1073741823}H[c+12>>2]=d;H[c+20>>2]=0;H[c>>2]=0;if(!g){lb(e);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;break b}d=Pk(g,c);h=H[c+28>>2];g:{if(d){if(!h){break g}H[c+28>>2]=0;h=Pk(g,c);d=H[c+28>>2];lb(H[c+32>>2]);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;if(!h){break c}if(!d){break f}break c}if(I[c+24|0]|!h){break e}d=Ec(b);H[c+4>>2]=d;H[c+8>>2]=d+H[b+16>>2];e=H[c+32>>2];f=1;if(d){continue}break d}break}lb(H[c+32>>2]);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}break b}e=H[c+32>>2]}lb(e);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0}lb(b);b=163632}H[a+44>>2]=b;h=163632;b=b?b:163632;i=K[b+16>>2]<4?163632:H[b+12>>2];if(c){F[c|0]=0}j=163632;k=I[i+2|0]|I[i+3|0]<<8;h:{if(!k){break h}b=((k<<8|k>>>8)&65535)-1|0;while(1){i:{j:{f=b+l>>>1|0;g=i+(f<<3)|0;e=I[g+4|0]|I[g+5|0]<<8;d=(e<<8|e>>>8)&65535;k:{if(!(d>>>0>3|(e|0)!=768)){if(I[g+6|0]|I[g+7|0]<<8){break k}j=(i+(f<<3)|0)+4|0;break h}if(d>>>0<4){break j}}b=f-1|0;break i}l=f+1|0}if((b|0)>=(l|0)){continue}break}}b=I[j+4|0]|I[j+5|0]<<8|(I[j+6|0]<<16|I[j+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);l:{if(b){b=b+i|0;if(!c){break l}F[c|0]=1;break l}f=163632;m:{if(!k){break m}j=((k<<8|k>>>8)&65535)-1|0;l=0;while(1){n:{o:{p:{g=j+l>>>1|0;e=i+(g<<3)|0;d=I[e+4|0]|I[e+5|0]<<8;b=(d<<8|d>>>8)&65535;q:{if(!(b>>>0>3|(d|0)!=768)){b=I[e+6|0]|I[e+7|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>10){break q}if((b|0)==2560){break p}break o}if(b>>>0<4){break o}}j=g-1|0;break n}f=(i+(g<<3)|0)+4|0;break m}l=g+1|0}if((j|0)>=(l|0)){continue}break}}r:{b=I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(f){break r}f=163632;s:{if(!k){break s}b=((k<<8|k>>>8)&65535)-1|0;j=0;while(1){t:{u:{v:{e=b+j>>>1|0;d=i+(e<<3)|0;if(!(I[d+4|0]|I[d+5|0]<<8)){d=I[d+6|0]|I[d+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<7){break v}}b=e-1|0;break u}if((d|0)==1536){break t}j=e+1|0}if((b|0)>=(j|0)){continue}break s}break}f=(i+(e<<3)|0)+4|0}b=I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(f){break r}f=163632;w:{if(!k){break w}b=((k<<8|k>>>8)&65535)-1|0;j=0;while(1){x:{y:{z:{e=b+j>>>1|0;d=i+(e<<3)|0;if(!(I[d+4|0]|I[d+5|0]<<8)){d=I[d+6|0]|I[d+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<5){break z}}b=e-1|0;break y}if((d|0)==1024){break x}j=e+1|0}if((b|0)>=(j|0)){continue}break w}break}f=(i+(e<<3)|0)+4|0}b=I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(f){break r}b=Ff(i,3,1);if(b){break l}b=Ff(i,0,3);if(b){break l}b=Ff(i,0,2);if(b){break l}b=Ff(i,0,1);if(b){break l}b=Ff(i,0,0);b=b?b:163632;break l}b=f+i|0}H[a+4>>2]=163632;d=b;H[a>>2]=b;b=H[a+44>>2];b=b?b:163632;l=K[b+16>>2]<4?163632:H[b+12>>2];b=I[l+2|0]|I[l+3|0]<<8;A:{if(!b){break A}b=((b<<8|b>>>8)&65535)-1|0;e=0;while(1){B:{C:{D:{f=b+e>>>1|0;g=l+(f<<3)|0;if(!(I[g+4|0]|I[g+5|0]<<8)){g=I[g+6|0]|I[g+7|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<6){break D}}b=f-1|0;break C}if((g|0)==1280){break B}e=f+1|0}if((b|0)>=(e|0)){continue}break A}break}h=(l+(f<<3)|0)+4|0}b=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);E:{if(!b){break E}b=b+l|0;if((I[b|0]|I[b+1|0]<<8)!=3584){break E}H[a+4>>2]=b}g=d?d:163632;H[a+12>>2]=g;F:{if(I[c|0]){e=600;break F}e=601;G:{H:{b=I[g|0]|I[g+1|0]<<8;switch(((b<<8|b>>>8)&65535)-4|0){case 0:break G;case 8:break H;default:break F}}e=602;break F}b=I[g+6|0]|I[g+7|0]<<8;H[a+16>>2]=g+14;d=((b<<8|b>>>8)&65534)>>>1|0;H[a+36>>2]=d;h=d<<1;b=(h+g|0)+16|0;H[a+20>>2]=b;b=b+h|0;H[a+24>>2]=b;b=b+h|0;H[a+28>>2]=b;H[a+32>>2]=b+h;b=I[g+2|0]|I[g+3|0]<<8;H[a+12>>2]=a+16;H[a+40>>2]=(((b<<8|b>>>8)&65535)-(d<<3)|0)-16>>>1;e=603}H[a+8>>2]=e;Wa=c+48|0}function pG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Wa-32|0;Wa=h;H[h+24>>2]=b;H[e>>2]=0;j=h+8|0;i=H[d+28>>2];H[j>>2]=i;H[i+4>>2]=H[i+4>>2]+1;H[65057]=0;i=aa(892,j|0)|0;j=H[65057];H[65057]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((j|0)!=1){j=H[h+8>>2];k=H[j+4>>2]-1|0;H[j+4>>2]=k;if((k|0)==-1){Ya[H[H[j>>2]+8>>2]](j)}switch(g-65|0){case 54:break j;case 19:break k;case 18:break l;case 17:break m;case 49:break n;case 47:break o;case 45:case 51:break p;case 12:break q;case 44:break r;case 41:break s;case 8:break t;case 7:break u;case 5:break v;case 3:break w;case 35:case 36:break x;case 34:break y;case 1:case 33:case 39:break z;case 0:case 32:break A;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break d;case 24:break f;case 56:break g;case 23:break h;case 55:break i;default:break e}}c=$()|0;_()|0;a=H[h+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}xp(a,f+24|0,h+24|0,c,e,i);break b}wp(a,f+16|0,h+24|0,c,e,i);break b}g=a;i=b;a=Ya[H[H[a+8>>2]+12>>2]](a+8|0)|0;B:{if(I[a+11|0]>>>7|0){b=H[a>>2];break B}b=a}j=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}l=h,m=Qd(g,i,c,d,e,f,j,b+a|0),H[l+24>>2]=m;break b}a=Hd(h+24|0,c,e,i,2);b=H[e>>2];C:{if(!(a-1>>>0>30|b&4)){H[f+12>>2]=a;break C}H[e>>2]=b|4}break b}H[h+8>>2]=623865125;H[h+12>>2]=2032480100;l=h,m=Qd(a,b,c,d,e,f,h+8|0,h+16|0),H[l+24>>2]=m;break b}H[h+8>>2]=623728933;H[h+12>>2]=1680158061;l=h,m=Qd(a,b,c,d,e,f,h+8|0,h+16|0),H[l+24>>2]=m;break b}a=Hd(h+24|0,c,e,i,2);b=H[e>>2];D:{if(!((a|0)>23|b&4)){H[f+8>>2]=a;break D}H[e>>2]=b|4}break b}a=Hd(h+24|0,c,e,i,2);b=H[e>>2];E:{if(!(a-1>>>0>11|b&4)){H[f+8>>2]=a;break E}H[e>>2]=b|4}break b}a=Hd(h+24|0,c,e,i,3);b=H[e>>2];F:{if(!((a|0)>365|b&4)){H[f+28>>2]=a;break F}H[e>>2]=b|4}break b}a=Hd(h+24|0,c,e,i,2);b=H[e>>2];G:{if(!((a|0)>12|b&4)){H[f+16>>2]=a-1;break G}H[e>>2]=b|4}break b}a=Hd(h+24|0,c,e,i,2);b=H[e>>2];H:{if(!((a|0)>59|b&4)){H[f+4>>2]=a;break H}H[e>>2]=b|4}break b}a=h+24|0;b=Wa-16|0;Wa=b;H[b+8>>2]=c;while(1){I:{if(!ag(a,b+8|0)){break I}c=te(a);if((c|0)>=0){c=(J[H[i+8>>2]+((c&255)<<1)>>1]&8192)!=0}else{c=0}if(!c){break I}Re(a);continue}break}if(Sd(a,b+8|0)){H[e>>2]=H[e>>2]|2}Wa=b+16|0;break b}g=h+24|0;b=Ya[H[H[a+8>>2]+8>>2]](a+8|0)|0;J:{if(I[b+11|0]>>>7|0){a=H[b+4>>2];break J}a=I[b+11|0]}if(I[b+23|0]>>>7|0){d=H[b+16>>2]}else{d=I[b+23|0]}K:{if((a|0)==(0-d|0)){H[e>>2]=H[e>>2]|4;break K}c=fh(g,c,b,b+24|0,i,e,0);a=H[f+8>>2];if(!((c|0)!=(b|0)|(a|0)!=12)){H[f+8>>2]=0;break K}if(!((c-b|0)!=12|(a|0)>11)){H[f+8>>2]=a+12}}break b}g=I[248804]|I[248805]<<8|(I[248806]<<16|I[248807]<<24);F[h+15|0]=g;F[h+16|0]=g>>>8;F[h+17|0]=g>>>16;F[h+18|0]=g>>>24;g=I[248801]|I[248802]<<8|(I[248803]<<16|I[248804]<<24);H[h+8>>2]=I[248797]|I[248798]<<8|(I[248799]<<16|I[248800]<<24);H[h+12>>2]=g;l=h,m=Qd(a,b,c,d,e,f,h+8|0,h+19|0),H[l+24>>2]=m;break b}F[h+12|0]=I[248812];H[h+8>>2]=I[248808]|I[248809]<<8|(I[248810]<<16|I[248811]<<24);l=h,m=Qd(a,b,c,d,e,f,h+8|0,h+13|0),H[l+24>>2]=m;break b}a=Hd(h+24|0,c,e,i,2);b=H[e>>2];L:{if(!((a|0)>60|b&4)){H[f>>2]=a;break L}H[e>>2]=b|4}break b}H[h+8>>2]=624576549;H[h+12>>2]=1394948685;l=h,m=Qd(a,b,c,d,e,f,h+8|0,h+16|0),H[l+24>>2]=m;break b}a=Hd(h+24|0,c,e,i,1);b=H[e>>2];M:{if(!((a|0)>6|b&4)){H[f+24>>2]=a;break M}H[e>>2]=b|4}break b}a=Ya[H[H[a>>2]+20>>2]](a,b,c,d,e,f)|0;break a}g=a;i=b;a=Ya[H[H[a+8>>2]+24>>2]](a+8|0)|0;N:{if(I[a+11|0]>>>7|0){b=H[a>>2];break N}b=a}j=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}l=h,m=Qd(g,i,c,d,e,f,j,b+a|0),H[l+24>>2]=m;break b}vp(f+20|0,h+24|0,c,e,i);break b}a=Hd(h+24|0,c,e,i,4);if(!(I[e|0]&4)){H[f+20>>2]=a-1900}break b}if((g|0)==37){break c}}H[e>>2]=H[e>>2]|4;break b}a=Wa-16|0;Wa=a;H[a+8>>2]=c;b=6;c=h+24|0;O:{P:{if(Sd(c,a+8|0)){break P}b=4;if(((m=i,n=te(c),o=0,l=H[H[i>>2]+36>>2],Ya[l](m|0,n|0,o|0)|0)|0)!=37){break P}b=2;if(!Sd(Re(c),a+8|0)){break O}}H[e>>2]=H[e>>2]|b}Wa=a+16|0}a=H[h+24>>2]}Wa=h+32|0;return a|0}function yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Wa-16|0;Wa=k;j=H[a+16>>2];d=I[j+6|0]|I[j+7|0]<<8|(I[j+8|0]<<16|I[j+9|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!d){c=0;break a}i=j+13|0;b:{while(1){e=d+g>>>1|0;f=i+N(e,11)|0;h=f-3|0;h=I[h+1|0]<<8|I[h|0]<<16|I[h+2|0];c:{if(h>>>0>c>>>0){d=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(d>>>0>g>>>0){continue}break}c=0;break a}c=0;d=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!(d|e)){break a}d:{if(!d){c=H[a+28>>2];d=e+j|0;e=I[d+3|0];f=I[d+2|0];g=I[d+1|0];h=I[d|0];H[k+4>>2]=0;f=e|(g<<16|h<<24|f<<8);g=f+1|0;e:{if(g>>>0<=c>>>0){c=H[a+32>>2];break e}H[a+36>>2]=b;c=jb(b,4,c,g,H[a+32>>2],k+4|0);H[a+32>>2]=c;if(H[k+4>>2]){break d}H[a+28>>2]=g}f:{if(!f){break f}a=e&1;e=d+4|0;d=0;if((f|0)!=1){b=f-a|0;g=0;while(1){h=d<<2;H[h+c>>2]=I[e+2|0]|(I[e+1|0]<<8|I[e|0]<<16);H[(h|4)+c>>2]=I[e+7|0]|(I[e+6|0]<<8|I[e+5|0]<<16);d=d+2|0;e=e+10|0;g=g+2|0;if((b|0)!=(g|0)){continue}break}}if(!a){break f}H[(d<<2)+c>>2]=I[e+2|0]|(I[e+1|0]<<8|I[e|0]<<16)}H[(f<<2)+c>>2]=0;break a}if(!e){c=Im(a,d+j|0,b);break a}c=e+j|0;q=I[c+3|0];h=q|(I[c+1|0]<<16|I[c|0]<<24|I[c+2|0]<<8);f=c+4|0;i=d+j|0;c=I[i+3|0];g:{h:{n=c|(I[i+1|0]<<16|I[i|0]<<24|I[i+2|0]<<8);i:{if(n){l=c&3;e=i+7|0;c=0;j:{if(n-1>>>0<3){g=0;d=e;break j}m=n-l|0;g=0;j=0;while(1){g=(I[e+12|0]+(I[e+8|0]+(I[e+4|0]+(I[e|0]+g|0)|0)|0)|0)+4|0;d=e+16|0;e=d;j=j+4|0;if((m|0)!=(j|0)){continue}break}}if(l){while(1){g=(I[d|0]+g|0)+1|0;d=d+4|0;c=c+1|0;if((l|0)!=(c|0)){continue}break}}if(!h){break i}if(g){break h}break g}if(h){break g}}c=Im(a,i,b);break a}c=H[a+28>>2];H[k+12>>2]=0;d=(g+h|0)+1|0;k:{if(d>>>0<=c>>>0){c=H[a+32>>2];break k}H[a+36>>2]=b;c=jb(b,4,c,d,H[a+32>>2],k+12|0);H[a+32>>2]=c;if(H[k+12>>2]){break d}H[a+28>>2]=d}o=I[f+2|0]|(I[f+1|0]<<8|I[f|0]<<16);a=i+4|0;g=I[a+1|0]<<8|I[a|0]<<16|I[a+2|0];f=f+5|0;b=a+4|0;l=I[a+3|0];d=0;m=1;i=1;while(1){l:{if(g+l>>>0>>0){a=l+1|0;r=a&3;j=0;m:{if(l>>>0<3){e=0;break m}s=a&-4;e=0;a=0;while(1){p=(d<<2)+c|0;H[p>>2]=e+g;H[p+12>>2]=(e|3)+g;H[p+8>>2]=(e|2)+g;H[p+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;a=a+4|0;if((s|0)!=(a|0)){continue}break}}if(r){while(1){H[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}}m=m+1|0;if(n>>>0>>0){break l}g=I[b+2|0]|(I[b+1|0]<<8|I[b|0]<<16);l=I[b+3|0];b=b+4|0;continue}if(g>>>0>o>>>0){H[(d<<2)+c>>2]=o;d=d+1|0}i=i+1|0;if(h>>>0>>0){break l}o=I[f+2|0]|(I[f+1|0]<<8|I[f|0]<<16);f=f+5|0;continue}break}n:{if(h>>>0>=i>>>0){H[(d<<2)+c>>2]=o;a=d+1|0;if(h>>>0<=i>>>0){d=a;break n}b=i+1|0;if(q-i&1){H[(a<<2)+c>>2]=I[f+2|0]|(I[f+1|0]<<8|I[f|0]<<16);i=i+1|0;f=f+5|0;a=d+2|0}d=a;if((b|0)==(h|0)){break n}while(1){a=(d<<2)+c|0;H[a>>2]=I[f+2|0]|(I[f+1|0]<<8|I[f|0]<<16);H[a+4>>2]=I[f+7|0]|(I[f+6|0]<<8|I[f+5|0]<<16);d=d+2|0;f=f+10|0;i=i+2|0;if((h|0)!=(i|0)){continue}break}break n}if(m>>>0>n>>>0){break n}a=l+1|0;h=a&3;j=0;o:{if(l>>>0<3){e=0;break o}i=a&-4;e=0;a=0;while(1){f=(d<<2)+c|0;H[f>>2]=e+g;H[f+12>>2]=(e|3)+g;H[f+8>>2]=(e|2)+g;H[f+4>>2]=(e|1)+g;e=e+4|0;d=d+4|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(h){while(1){H[(d<<2)+c>>2]=e+g;e=e+1|0;d=d+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(m>>>0>=n>>>0){break n}while(1){f=I[b+2|0]|(I[b+1|0]<<8|I[b|0]<<16);a=I[b+3|0];e=a+1|0;h=e&3;j=0;p:{if(a>>>0<3){e=0;break p}i=e&508;e=0;a=0;while(1){g=(d<<2)+c|0;H[g>>2]=e+f;H[g+12>>2]=f+(e|3);H[g+8>>2]=f+(e|2);H[g+4>>2]=f+(e|1);e=e+4|0;d=d+4|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(h){while(1){H[(d<<2)+c>>2]=e+f;e=e+1|0;d=d+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}b=b+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}H[(d<<2)+c>>2]=0;break a}c=H[a+28>>2];H[k+8>>2]=0;d=h+1|0;q:{if(d>>>0<=c>>>0){c=H[a+32>>2];break q}H[a+36>>2]=b;c=jb(b,4,c,d,H[a+32>>2],k+8|0);H[a+32>>2]=c;if(H[k+8>>2]){break d}H[a+28>>2]=d}a=q&1;e=0;if((h|0)!=1){b=h-a|0;d=0;while(1){g=e<<2;H[g+c>>2]=I[f+2|0]|(I[f+1|0]<<8|I[f|0]<<16);H[(g|4)+c>>2]=I[f+7|0]|(I[f+6|0]<<8|I[f+5|0]<<16);e=e+2|0;f=f+10|0;d=d+2|0;if((b|0)!=(d|0)){continue}break}}if(a){H[(e<<2)+c>>2]=I[f+2|0]|(I[f+1|0]<<8|I[f|0]<<16)}H[(h<<2)+c>>2]=0;break a}c=0}Wa=k+16|0;return c|0}function br(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;k=Wa-32|0;Wa=k;if(!(e-d>>>0<2|d>>>0>=e>>>0)){E=H[c+80>>2];while(1){p=N(d,20);a:{if(1<>1]&7168){t=d;break a}i=d+1|0;g=e>>>0>i>>>0?e:i;h=g-1|0;m=d;while(1){b:{t=m;m=m+1|0;if(m>>>0>=e>>>0){t=h;m=g;break b}if(1<>1]&7168){continue}}break}h=H[c+68>>2];u=h>>>0>>0?h:m;r=u-d|0;c:{if(r>>>0<=1){q=H[c+80>>2];break c}o=H[c+144>>2]|32;H[c+144>>2]=o;q=H[c+80>>2];if(d>>>0>=u>>>0){break c}l=-1;h=d;y=u+(d^-1)|0;if(y>>>0>=3){C=r&-4;x=0;while(1){v=N(h,20)+q|0;g=H[v+8>>2];j=g>>>0>l>>>0?l:g;g=H[v+28>>2];j=g>>>0>j>>>0?j:g;g=H[v+48>>2];j=g>>>0>j>>>0?j:g;g=H[v+68>>2];l=g>>>0>j>>>0?j:g;h=h+4|0;x=x+4|0;if((C|0)!=(x|0)){continue}break}}s=0;j=r&3;if(j){while(1){g=H[(N(h,20)+q|0)+8>>2];l=g>>>0>l>>>0?l:g;h=h+1|0;s=s+1|0;if((j|0)!=(s|0)){continue}break}}h=d;if(r&1){h=q+p|0;if(H[h+8>>2]!=(l|0)){H[c+144>>2]=o;H[h+4>>2]=H[h+4>>2]|3}h=d+1|0}if(!y){break c}while(1){g=N(h,20)+q|0;if(H[g+8>>2]!=(l|0)){o=o|32;H[c+144>>2]=o;H[g+4>>2]=H[g+4>>2]|3}g=N(h+1|0,20)+q|0;if(H[g+8>>2]!=(l|0)){o=o|32;H[c+144>>2]=o;H[g+4>>2]=H[g+4>>2]|3}h=h+2|0;if((u|0)!=(h|0)){continue}break}}h=H[q+p>>2];H[k+8>>2]=0;H[k+12>>2]=0;H[k>>2]=0;H[k+4>>2]=0;g=h;h=H[b+80>>2];if(!(Ya[H[h+208>>2]](b,H[b+84>>2],g,k,H[h- -64>>2])|0)){if(i>>>0>=m>>>0){break a}m=H[c+80>>2];if(!f){if(t-d&1){h=N(i,20);if((J[(h+m|0)+16>>1]&31)==12){h=h+H[c+88>>2]|0;H[h>>2]=0;H[h+4>>2]=0}i=d+2|0}if((d+1|0)==(t|0)){break a}while(1){d=N(i,20);if((J[(d+m|0)+16>>1]&31)==12){d=d+H[c+88>>2]|0;H[d>>2]=0;H[d+4>>2]=0}h=i+1|0;d=N(h,20);if((J[(d+m|0)+16>>1]&31)==12){d=d+H[c+88>>2]|0;H[d>>2]=0;H[d+4>>2]=0}i=i+2|0;if((h|0)!=(t|0)){continue}break}break a}while(1){d=N(i,20);if((J[(d+m|0)+16>>1]&31)==12){g=d+H[c+88>>2]|0;h=H[g+4>>2];H[g+4>>2]=0;d=H[g>>2];H[g>>2]=0;H[g+8>>2]=H[g+8>>2]-d;H[g+12>>2]=H[g+12>>2]-h}d=(i|0)==(t|0);i=i+1|0;if(!d){continue}break}break a}d=H[(p+H[c+88>>2]|0)+12>>2];q=0;H[k>>2]=0;H[k+4>>2]=d+H[k+4>>2];d=H[b+80>>2];g=Ya[H[d+176>>2]](b,H[b+84>>2],H[p+H[c+80>>2]>>2],H[d+32>>2])|0;H[k+8>>2]=g;s=0;if((H[c+40>>2]&-3)==4){d=p+H[c+88>>2]|0;q=0-H[d+4>>2]|0;s=0-H[d>>2]|0}if(i>>>0>=m>>>0){break a}F=H[c+80>>2];d=p+F|0;D=I[d+14|0];w=I[d+12|0]&4?D&16?D&15:1:1;r=-1;u=255;z=0;x=H[k>>2];p=x;v=H[k+4>>2];m=v;h=g;y=H[k+12>>2];d=y;while(1){C=i;A=N(i,20);i=F+A|0;l=J[i+16>>1];o=1<>>0<256)){e:{if(w>>>0<2){break e}n=I[i+14|0];j=n&16?0:n&15;n=D>>>0<32?w:(n^D)>>>0>31?w:j>>>0>w>>>0?w:j;j=n-1|0;if((j|0)==(r|0)){break e}y=H[k+12>>2];r=H[k+8>>2];v=H[k+4>>2];g=H[k>>2];f:{if(z){break f}z=H[a>>2];if((z&-2)==4){break f}z=Rh(H[a+4>>2]);l=J[i+16>>1];o=1<>>8|0:0;if((j|0)!=(u|0)){h=g;m=v;p=x;u=j;d=y}i=H[H[c+80>>2]+A>>2];H[k+24>>2]=0;H[k+28>>2]=0;H[k+16>>2]=0;H[k+20>>2]=0;l=i;i=H[b+80>>2];g:{if(!(Ya[H[i+208>>2]](b,H[b+84>>2],l,k+16|0,H[i- -64>>2])|0)){o=H[c+88>>2];break g}l=H[b+24>>2];o=H[c+88>>2];i=A+o|0;H[i+12>>2]=0;n=(l|0)/16|0;h:{i:{j:{k:{l:{j=j-200|0;switch(j|0){case 16:case 22:case 32:break i;case 0:case 18:case 28:break j;case 33:case 34:break l;default:break k}}m:{switch(H[c+40>>2]-4|0){case 0:B=((h+p|0)+(H[k+24>>2]/-2|0)|0)-H[k+16>>2]|0;break h;case 1:break m;default:break k}}B=((H[k+24>>2]/-2|0)+p|0)-H[k+16>>2]|0;break h}B=(p-H[k+16>>2]|0)+((h-H[k+24>>2]|0)/2|0)|0;break h}B=p-H[k+16>>2]|0;break h}B=h+p-(H[k+24>>2]+H[k+16>>2])|0}H[i+8>>2]=B;n:{switch(j|0){case 18:case 20:case 22:case 33:d=d-n|0;case 0:case 2:n=(d+m|0)-H[k+20>>2]|0;j=(l|0)<16^(n|0)>0;H[i+12>>2]=j?0:n;d=(H[k+28>>2]+d|0)-(j?n:0)|0;break g;case 28:case 30:case 32:case 34:d=d-n|0;m=m+n|0;break;case 14:case 16:break n;default:break g}}j=(l|0)<16;n=H[k+28>>2];l=m-(n+H[k+20>>2]|0)|0;if(!(j^(l|0)>0)){j=(l|0)/-2|0;l=j+l|0;m=j+m|0;d=d-j|0}H[i+12>>2]=l;d=d+n|0;m=m-n|0}i=o+A|0;H[i>>2]=0;H[i+4>>2]=0;H[i+8>>2]=H[i+8>>2]+s;H[i+12>>2]=H[i+12>>2]+q;break d}j=H[c+88>>2]+A|0;i=H[j>>2];if((H[c+40>>2]&-3)==4){s=s-i|0;q=q-H[j+4>>2]|0;break d}s=i+s|0;q=H[j+4>>2]+q|0}i=C+1|0;if((t|0)!=(C|0)){continue}break}}d=t+1|0;if(e>>>0>d>>>0){continue}break}}Wa=k+32|0}function Ns(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;s=Wa-16|0;Wa=s;e=N(b,1348)+a|0;l=e;h=H[e+52>>2];a:{b:{if(h){e=H[e+44>>2];d=Me(a,b);if(d){break a}if((e|0)<=0){break b}e=N(e,44)+h|0;while(1){d=H[h+36>>2];c=J[d>>1];f=I[h|0];F[h|0]=f&254;i=H[h+40>>2];c:{if((i|0)==(d|0)){break c}c=c&3;while(1){g=c;d=H[d+32>>2];c=J[d>>1]&3;if(!((g|c)&65535)){break c}if((d|0)!=(i|0)){continue}break}F[h|0]=f|1}h=h+44|0;if(e>>>0>h>>>0){continue}break}break b}d=Me(a,b);if(d){break a}}n=H[H[a+2748>>2]+40>>2]/256|0;p=N(b,1348)+a|0;q=p+44|0;c=H[q>>2];e=H[l+52>>2];j=H[p+68>>2];t=(b?12:4)+a|0;h=pb(192,H[t>>2]);if((c|0)>0){k=N(c,44)+e|0;c=e;while(1){d=e;if((j|0)==F[c+1|0]){while(1){d:{if((c|0)==(d|0)|(j|0)!=(0-F[d+1|0]|0)){break d}i=G[d+2>>1]-G[c+2>>1]|0;if((i|0)<0){break d}f=G[c+8>>1];g=G[d+8>>1];r=(f|0)<(g|0)?f:g;f=G[c+6>>1];g=G[d+6>>1];f=r-((f|0)>(g|0)?f:g)|0;if((f|0)<(n|0)){break d}g=i<<3;m=H[c+28>>2];if(!((g|0)>=(N(m,9)|0)|(f|0)<=H[c+32>>2]&(g|0)>=(N(m,7)|0))){H[c+32>>2]=f;H[c+28>>2]=i;H[c+20>>2]=d}m=H[d+28>>2];if((g|0)>=(N(m,9)|0)|(f|0)<=H[d+32>>2]&(g|0)>=(N(m,7)|0)){break d}H[d+32>>2]=f;H[d+28>>2]=i;H[d+20>>2]=c}d=d+44|0;if(k>>>0>d>>>0){continue}break}}c=c+44|0;if(k>>>0>c>>>0){continue}break}c=e;while(1){f=H[c+20>>2];e:{if(!f|H[f+20>>2]!=(c|0)){break e}n=G[f+2>>1];m=G[c+2>>1];if((n|0)<=(m|0)){break e}o=H[c+28>>2];if((o|0)>=(h|0)){break e}v=o<<2;d=e;while(1){f:{i=G[d+2>>1];g:{if((c|0)==(d|0)|(i|0)>(m|0)){break g}j=H[d+20>>2];if(!j|H[j+20>>2]!=(d|0)){break g}g=G[j+2>>1];if((g|0)<(n|0)|(i|0)==(m|0)&(g|0)==(n|0)){break g}i=H[d+28>>2];if((i|0)<=(o|0)|(i|0)>=(v|0)){break g}g=e;if(H[c+32>>2]<(N(H[d+32>>2],3)|0)){break f}while(1){i=f;u=H[g+20>>2];h:{if((u|0)!=(d|0)){i=c;if((j|0)!=(u|0)){break h}}H[g+24>>2]=i;H[g+20>>2]=0}g=g+44|0;if(k>>>0>g>>>0){continue}break}}d=d+44|0;if(k>>>0>d>>>0){continue}break e}break}H[f+20>>2]=0;H[c+20>>2]=0}c=c+44|0;if(k>>>0>c>>>0){continue}break}while(1){c=H[e+20>>2];i:{if(!c|H[c+20>>2]==(e|0)){break i}H[e+20>>2]=0;d=H[c+28>>2];if((d|0)>=(h|0)&H[e+28>>2]>=d<<2){break i}H[e+24>>2]=H[c+20>>2]}e=e+44|0;if(k>>>0>e>>>0){continue}break}}v=H[a>>2];f=H[l+52>>2];c=H[a+2748>>2];H[p+56>>2]=0;e=H[q>>2];c=c+N(b,7676)|0;n=H[t>>2];j:{if((ib(H[c+248>>2],n)|0)>=17){g=pb(16,n);break j}g=H[c+248>>2]}if((e|0)>0){t=N(e,44)+f|0;u=(N(b,1348)+a|0)- -64|0;while(1){k:{l:{w=H[p+56>>2];m:{if((w|0)<=0){l=I[f+1|0];break m}l=I[f+1|0];m=H[u>>2];e=0;i=65535;h=0;while(1){d=N(h,44);k=d+m|0;n:{if(I[k+13|0]!=(l|0)){break n}j=G[f+2>>1]-G[k>>1]|0;c=j>>31;j=(c^j)-c|0;if((j|0)>=(g|0)|(i|0)<=(j|0)){break n}x=H[f+20>>2];if(x){c=0;r=H[(d+m|0)+36>>2];d=r;while(1){o:{o=H[d+20>>2];if(o){c=G[x+2>>1];o=G[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((g|0)<=(c|0)){break o}}d=H[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break n}}i=j;e=k}h=h+1|0;if((w|0)!=(h|0)){continue}break}if(e){break l}}d=on(q,G[f+2>>1],l<<24>>24,0,v,s+12|0);if(d){break a}e=H[s+12>>2];H[e+40>>2]=f;H[e+36>>2]=f;H[e>>2]=0;H[e+4>>2]=0;H[e+32>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;F[e+13|0]=I[f+1|0];c=G[f+2>>1];G[e>>1]=c;c=ib(c,n);H[e+8>>2]=c;H[e+4>>2]=c;H[f+16>>2]=f;break k}H[f+16>>2]=H[e+36>>2];H[H[e+40>>2]+16>>2]=f;H[e+40>>2]=f}f=f+44|0;if(t>>>0>f>>>0){continue}break}}c=H[p+56>>2];if((c|0)>0){e=H[(N(b,1348)+a|0)- -64>>2];p=e+N(c,44)|0;c=e;while(1){a=H[c+36>>2];d=a;if(d){while(1){H[d+12>>2]=c;d=H[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(p>>>0>c>>>0){continue}break}while(1){h=0;g=0;k=H[e+36>>2];if(k){j=e+28|0;a=e+24|0;d=k;while(1){q=F[d|0]&1;n=!q;c=H[d+24>>2];p:{q:{if(c){b=H[d+20>>2];f=H[c+12>>2];if(!b&(f|0)==(e|0)){break p}if((e|0)==(f|0)){i=0;f=a;break q}i=1;f=j;b=c;break q}i=0;f=a;b=H[d+20>>2];if(!b){break p}}c=H[f>>2];r:{if(c){l=G[e>>1]-G[c>>1]|0;f=l>>31;r=(f^l)-f|0;f=G[d+2>>1];l=G[b+2>>1];if((r|0)<=(((f|0)>(l|0)?f-l|0:l-f|0)|0)){break r}}c=H[b+12>>2]}if(i){H[j>>2]=c;F[c+12|0]=I[c+12|0]|2;break p}H[a>>2]=c}h=h+q|0;g=g+n|0;d=H[d+16>>2];if((k|0)!=(d|0)){continue}break}}F[e+12|0]=(g|0)<=(h|0)&(h|0)>0;if(!(!H[e+28>>2]|!H[e+24>>2])){H[e+28>>2]=0}e=e+44|0;if(p>>>0>e>>>0){continue}break}}d=0}Wa=s+16|0;return d}function gs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=Wa-16|0;Wa=n;g=H[b+4>>2];a:{if(g>>>0>a>>>0){break a}k=H[b+8>>2];if(k>>>0>>0|k-a>>>0<4){break a}j=H[b+12>>2];d=j-4|0;H[b+12>>2]=d;if((d|0)<=0){break a}f=F[a|0];d=I[a+3|0]|(I[a+1|0]<<16|f<<24|I[a+2|0]<<8);f=(d|0)!=0&(f|0)<0;o=!f;if(!d|f){break a}d=c+d|0;b:{if(d>>>0>>0|d>>>0>k>>>0|k-d>>>0<=3){break b}c=j-8|0;H[b+12>>2]=c;if((I[d|0]|I[d+1|0]<<8)!=256|(c|0)<=0){break b}H[n+12>>2]=d;o=1;c=0;j=d+4|0;i=H[b+4>>2];c:{d:{if(j>>>0>>0){break d}k=H[b+8>>2];if(k>>>0>>0|k-j>>>0<4){break d}g=H[b+12>>2]-4|0;H[b+12>>2]=g;if((g|0)<=0){break d}d=I[j|0]|I[j+1|0]<<8|(I[j+2|0]<<16|I[j+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>536870910){break d}e=1;if(!f){break c}d=j+4|0;if(d>>>0>>0|d>>>0>k>>>0){break d}e=k-d|0;d=f<<3;if(e>>>0>>0){break d}d=g-d|0;H[b+12>>2]=d;if((d|0)<=0){break d}c=1;d=I[j|0]|I[j+1|0]<<8|(I[j+2|0]<<16|I[j+3|0]<<24);s=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!s){break d}while(1){p=H[n+12>>2];c=0;k=0;g=(j+(r<<3)|0)+4|0;i=H[b+4>>2];e:{if(g>>>0>>0){break e}d=H[b+8>>2];if(d>>>0>>0|d-g>>>0<4){break e}e=H[b+12>>2];f=e-4|0;H[b+12>>2]=f;if((f|0)<=0){break e}c=F[g|0];f=I[g+3|0]|(I[g+1|0]<<16|c<<24|I[g+2|0]<<8);h=(f|0)!=0&(c|0)<0;c=!h;if(!f|h){break e}f:{f=f+p|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break f}e=e-6|0;H[b+12>>2]=e;c=1;if((e|0)<=0){break f}h=I[f|0]|I[f+1|0]<<8;if(!h){break e}c=f+2|0;if(c>>>0>>0|c>>>0>d>>>0){break f}l=d-c|0;c=(h<<8|h>>>8)&65535;d=c<<2;if(l>>>0>>0){break f}d=e-d|0;H[b+12>>2]=d;if((d|0)<=0){break f}q=c>>>0>1?c:1;d=0;while(1){i=0;c=(f+(d<<2)|0)+2|0;l=H[b+4>>2];g:{if(c>>>0>>0){break g}h=H[b+8>>2];if(h>>>0>>0|h-c>>>0<4){break g}m=H[b+12>>2];e=m-4|0;H[b+12>>2]=e;if((e|0)<=0){break g}i=F[c|0];e=I[c+3|0]|(I[c+1|0]<<16|i<<24|I[c+2|0]<<8);t=(e|0)!=0&(i|0)<0;i=!t;if(!e|t){break g}e=f+e|0;h:{if(e>>>0>>0|e>>>0>h>>>0){break h}h=h-e|0;if(h>>>0<2){break h}l=m-6|0;H[b+12>>2]=l;i=1;if((l|0)<=0){break h}if((I[e|0]|I[e+1|0]<<8)!=256){break g}if(h>>>0<8){break h}e=m-14|0;H[b+12>>2]=e;if((e|0)>0){break g}}i=0;e=H[b+28>>2];if(e>>>0>31){break g}H[b+28>>2]=e+1;if(!I[b+24|0]){break g}F[c|0]=0;F[c+1|0]=0;F[c+2|0]=0;F[c+3|0]=0;i=1}if(!i){break f}c=1;d=d+1|0;if((q|0)!=(d|0)){continue}break}break e}c=0;d=H[b+28>>2];if(d>>>0>31){break e}H[b+28>>2]=d+1;if(!I[b+24|0]){break e}F[g|0]=0;F[g+1|0]=0;F[g+2|0]=0;F[g+3|0]=0;c=1}i:{if(!c){break i}i=g+4|0;if(i>>>0>2]){break i}c=H[b+8>>2];if(c>>>0>>0|c-i>>>0<4){break i}c=H[b+12>>2]-4|0;H[b+12>>2]=c;if((c|0)<=0){break i}d=F[g+4|0];c=I[g+7|0]|(I[g+5|0]<<16|d<<24|I[g+6|0]<<8);d=(c|0)!=0&(d|0)<0;k=!d;if(d|!c){break i}k=1;j:{k:{f=H[b+4>>2];g=c+p|0;if(f>>>0>g>>>0){break k}c=H[b+8>>2];if(c>>>0>>0|c-g>>>0<4){break k}e=H[b+12>>2];d=e-4|0;H[b+12>>2]=d;if((I[g|0]|I[g+1|0]<<8)!=256|(d|0)<=0){break k}d=g+4|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<2){break k}e=e-6|0;H[b+12>>2]=e;d=1;if((e|0)<=0){break k}h=I[g+4|0]|I[g+5|0]<<8;l:{if(!h){break l}d=g+6|0;if(d>>>0>>0|c>>>0>>0){break k}l=c-d|0;c=(h<<8|h>>>8)&65535;d=N(c,6);if(l>>>0>>0){break k}f=e-d|0;H[b+12>>2]=f;d=0;if((f|0)<=0){break l}p=c>>>0>1?c:1;c=0;while(1){d=0;f=(g+N(c,6)|0)+6|0;e=H[b+4>>2];m:{if(f>>>0>>0){break m}h=H[b+8>>2];if(h>>>0>>0|h-f>>>0<6){break m}m=H[b+12>>2];q=m-6|0;H[b+12>>2]=q;if((q|0)<=0){break m}l=e;e=f+2|0;if(l>>>0>e>>>0|e>>>0>h>>>0|h-e>>>0<4){break m}h=m-10|0;H[b+12>>2]=h;if((h|0)<=0){break m}d=F[f+2|0];f=I[f+5|0]|(I[f+3|0]<<16|d<<24|I[f+4|0]<<8);h=(f|0)!=0&(d|0)<0;d=!h;if(h|!f){break m}d=1;if(fs(f+g|0,b,0)){break m}d=0;f=H[b+28>>2];if(f>>>0>31){break m}H[b+28>>2]=f+1;if(!I[b+24|0]){break m}F[e|0]=0;F[e+1|0]=0;F[e+2|0]=0;F[e+3|0]=0;d=1}if(!d){break l}c=c+1|0;if((p|0)!=(c|0)){continue}break}}break j}d=0}if(d){break i}k=0;c=H[b+28>>2];if(c>>>0>31){break i}H[b+28>>2]=c+1;if(!I[b+24|0]){break i}F[i|0]=0;F[i+1|0]=0;F[i+2|0]=0;F[i+3|0]=0;k=1}c=k;if(!c){break d}r=r+1|0;if((s|0)!=(r|0)){continue}break}}e=c}if(e){break a}}o=0;c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;o=1}Wa=n+16|0;return o}function $I(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=H[a+20>>2];if(!e){break a}b=H[a>>2];if(!((b|0)<=0|(b|0)!=H[a+12>>2])){g=H[a+4>>2];b=H[g+20>>2];if(b){hb(b)}b=H[g+4>>2];b:{if(!b){c=H[g+8>>2];if((g|0)==H[c>>2]){break b}d=g+8|0;while(1){b=H[d>>2];d=b+8|0;c=H[b+8>>2];if((b|0)!=H[c>>2]){continue}break}break b}while(1){c=b;b=H[b>>2];if(b){continue}break}}if((g|0)==H[a+4>>2]){H[a+4>>2]=c}H[a+12>>2]=H[a+12>>2]-1;d=H[a+8>>2];c:{d:{c=g;e=H[c>>2];if(e){b=H[g+4>>2];if(!b){break d}while(1){c=b;b=H[b>>2];if(b){continue}break}}e=H[c+4>>2];if(e){break d}e=0;f=1;break c}H[e+8>>2]=H[c+8>>2];f=0}h=H[c+8>>2];b=H[h>>2];e:{if((c|0)==(b|0)){H[h>>2]=e;if((c|0)==(d|0)){b=0;d=e;break e}b=H[h+4>>2];break e}H[h+4>>2]=e}i=!I[c+12|0];if((c|0)!=(g|0)){h=H[g+8>>2];H[c+8>>2]=h;H[h+(((g|0)!=H[H[g+8>>2]>>2])<<2)>>2]=c;h=H[g>>2];H[c>>2]=h;H[h+8>>2]=c;h=H[g+4>>2];H[c+4>>2]=h;if(h){H[h+8>>2]=c}F[c+12|0]=I[g+12|0];d=(d|0)==(g|0)?c:d}f:{if(i|!d){break f}if(f){while(1){c=I[b+12|0];g:{f=H[b+8>>2];if(H[f>>2]!=(b|0)){if(!c){F[b+12|0]=1;F[f+12|0]=0;e=H[f+4>>2];c=H[e>>2];H[f+4>>2]=c;if(c){H[c+8>>2]=f}H[e+8>>2]=H[f+8>>2];c=H[f+8>>2];H[(((f|0)!=H[c>>2])<<2)+c>>2]=e;H[e>>2]=f;H[f+8>>2]=e;c=b;b=H[b>>2];d=(b|0)==(d|0)?c:d;b=H[b+4>>2]}h:{i:{c=H[b>>2];j:{if(!(I[c+12|0]?0:c)){e=H[b+4>>2];if(I[e+12|0]?0:e){break j}F[b+12|0]=0;b=H[b+8>>2];k:{if((d|0)==(b|0)){b=d;break k}if(I[b+12|0]){break g}}F[b+12|0]=1;break f}e=H[b+4>>2];if(!e){break i}}if(I[e+12|0]){break i}c=b;break h}F[c+12|0]=1;F[b+12|0]=0;d=H[c+4>>2];H[b>>2]=d;if(d){H[d+8>>2]=b}H[c+8>>2]=H[b+8>>2];d=H[b+8>>2];H[((H[d>>2]!=(b|0))<<2)+d>>2]=c;H[c+4>>2]=b;H[b+8>>2]=c;e=b}d=H[c+8>>2];F[c+12|0]=I[d+12|0];F[d+12|0]=1;F[e+12|0]=1;c=H[d+4>>2];b=H[c>>2];H[d+4>>2]=b;if(b){H[b+8>>2]=d}H[c+8>>2]=H[d+8>>2];b=H[d+8>>2];H[(((d|0)!=H[b>>2])<<2)+b>>2]=c;H[c>>2]=d;H[d+8>>2]=c;break f}if(!c){F[b+12|0]=1;F[f+12|0]=0;c=H[b+4>>2];H[f>>2]=c;if(c){H[c+8>>2]=f}H[b+8>>2]=H[f+8>>2];c=H[f+8>>2];H[(((f|0)!=H[c>>2])<<2)+c>>2]=b;H[b+4>>2]=f;H[f+8>>2]=b;d=(d|0)==(f|0)?b:d;b=H[f>>2]}e=H[b>>2];l:{if(!(!e|I[e+12|0])){c=b;break l}c=H[b+4>>2];if(!(I[c+12|0]?0:c)){F[b+12|0]=0;b=H[b+8>>2];if((b|0)!=(d|0)?I[b+12|0]:0){break g}F[b+12|0]=1;break f}if(e){if(!I[e+12|0]){c=b;break l}c=H[b+4>>2]}F[c+12|0]=1;F[b+12|0]=0;d=H[c>>2];H[b+4>>2]=d;if(d){H[d+8>>2]=b}H[c+8>>2]=H[b+8>>2];d=H[b+8>>2];H[((H[d>>2]!=(b|0))<<2)+d>>2]=c;H[c>>2]=b;H[b+8>>2]=c;e=b}d=H[c+8>>2];F[c+12|0]=I[d+12|0];F[d+12|0]=1;F[e+12|0]=1;c=H[d>>2];b=H[c+4>>2];H[d>>2]=b;if(b){H[b+8>>2]=d}H[c+8>>2]=H[d+8>>2];b=H[d+8>>2];H[(((d|0)!=H[b>>2])<<2)+b>>2]=c;H[c+4>>2]=d;H[d+8>>2]=c;break f}c=b;b=H[b+8>>2];b=H[(((c|0)==H[b>>2])<<2)+b>>2];continue}}F[e+12|0]=1}hb(g);e=H[a+20>>2]}f=H[a+16>>2];c=a+8|0;b=H[c>>2];m:{if(b){c=a+8|0;while(1){d=H[b+16>>2];n:{if((d|0)>(f|0)){d=H[b>>2];if(d){break n}c=b;break m}if((d|0)>=(f|0)){break m}c=b+4|0;d=H[b+4>>2];if(!d){break m}b=c}c=b;b=d;continue}}b=c}if(H[c>>2]){break a}d=Rc(24);H[d+16>>2]=f;H[d+8>>2]=b;H[d>>2]=0;H[d+4>>2]=0;H[d+20>>2]=e;H[c>>2]=d;b=H[H[a+4>>2]>>2];if(b){H[a+4>>2]=b;b=H[c>>2]}else{b=d}f=H[a+8>>2];c=(f|0)==(b|0);F[b+12|0]=c;o:{if(c){break o}while(1){c=H[b+8>>2];if(I[c+12|0]){break o}p:{d=H[c+8>>2];e=H[d>>2];q:{if((c|0)==(e|0)){e=H[d+4>>2];if(!(!e|I[e+12|0])){break p}r:{if(H[c>>2]==(b|0)){b=c;break r}b=H[c+4>>2];e=H[b>>2];H[c+4>>2]=e;if(e){H[e+8>>2]=c;d=H[c+8>>2]}H[b+8>>2]=d;d=H[c+8>>2];H[(((c|0)!=H[d>>2])<<2)+d>>2]=b;H[b>>2]=c;H[c+8>>2]=b;d=H[b+8>>2]}F[b+12|0]=1;F[d+12|0]=0;b=H[d>>2];c=H[b+4>>2];H[d>>2]=c;if(c){H[c+8>>2]=d}H[b+8>>2]=H[d+8>>2];c=H[d+8>>2];H[((H[c>>2]!=(d|0))<<2)+c>>2]=b;H[b+4>>2]=d;c=d+8|0;break q}if(!(I[e+12|0]|!e)){break p}s:{if(H[c>>2]!=(b|0)){b=c;break s}e=H[b+4>>2];H[c>>2]=e;if(e){H[e+8>>2]=c;d=H[c+8>>2]}H[b+8>>2]=d;d=H[c+8>>2];H[(((c|0)!=H[d>>2])<<2)+d>>2]=b;H[b+4>>2]=c;H[c+8>>2]=b;d=H[b+8>>2]}F[b+12|0]=1;F[d+12|0]=0;b=H[d+4>>2];c=H[b>>2];H[d+4>>2]=c;if(c){H[c+8>>2]=d}H[b+8>>2]=H[d+8>>2];c=H[d+8>>2];H[((H[c>>2]!=(d|0))<<2)+c>>2]=b;H[b>>2]=d;c=d+8|0}H[c>>2]=b;break o}F[c+12|0]=1;c=(d|0)==(f|0);F[d+12|0]=c;F[e+12|0]=1;b=d;if(!c){continue}break}}H[a+12>>2]=H[a+12>>2]+1}}function Bl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=1;a:{b:{switch(I[a+7|0]){case 0:a=a+12|0;d=H[b+4>>2];c:{d:{if(a>>>0>>0){break d}g=b;b=H[b+8>>2];if(b>>>0>>0|b-a>>>0<16){break d}e=H[g+12>>2];c=e-16|0;H[g+12>>2]=c;if((c|0)<=0){break d}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break d}c=a+4|0;if(c>>>0>>0|b>>>0>>0|b-c>>>0<4){break d}b=e-20|0;H[g+12>>2]=b;if((b|0)<=0){break d}b=F[c|0];if((b|0)<0){break d}i=0;if(!td(a+(I[a+7|0]|(I[a+5|0]<<16|(b&255)<<24|I[a+6|0]<<8))|0,g)){break c}b=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(h>>>0>2147483646){break d}b=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);l=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;b=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);k=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;m=h<<1;c=0;a=0;while(1){b=a;e:{f:{g:{h:{if((c|0)<=(j|0)){d=j+1|0;i=0;if(!(!h|d>>>0<4294967295/(m>>>0)>>>0)){break c}a=N(d,m);i:{if(!a){e=H[g+12>>2];break i}if(k>>>0>2]){break d}e=H[g+8>>2];if(e>>>0>>0|a>>>0>e-k>>>0){break d}e=H[g+12>>2]-a|0;H[g+12>>2]=e;if((e|0)<=0){break d}}a=((j^-1)+c|0)+e|0;H[g+12>>2]=a;if((a|0)<=0|(d>>>0>=4294967295/(h>>>0)>>>0?h:0)){break d}a=N(d,h);if((a|0)<0){break d}c=N(c,h);if((c|0)<(a|0)){break h}c=d}if(!b){break f}a=b;break g}f=k+(a<<1)|0;e=k+(c<<1)|0;a=b;while(1){c=I[e|0]|I[e+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;a=a>>>0>c>>>0?a:c;e=e+2|0;if(f>>>0>e>>>0){continue}break}c=d}f=0;if(l>>>0>2]){break d}d=H[g+8>>2];if(d>>>0>>0){break d}e=d-l|0;d=a<<2;if(e>>>0>>0){break d}e=H[g+12>>2]-d|0;H[g+12>>2]=e;if((e|0)<=0){break d}break e}e=H[g+12>>2];a=b}e=(b-a|0)+e|0;H[g+12>>2]=e;i=0;if((e|0)<=0){break c}if((a|0)>(b|0)){d=l+(a<<2)|0;e=l+(b<<2)|0;while(1){b=I[e|0]|I[e+1|0]<<8;b=(b<<8|b>>>8)&65535;j=(b|0)<(j|0)?j:b;e=e+4|0;if(d>>>0>e>>>0){continue}break}}if((c|0)<=(j|0)){continue}break}f=1}i=f}return i|0;case 1:c=0;g=Wa-16|0;Wa=g;H[g+8>>2]=0;a=a+12|0;j:{if(!Al(a,b,g+8|0)){break j}j=H[g+8>>2];if(j){c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);l=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=0;while(1){f=l+(d<<3)|0;h=I[f+4|0]|I[f+5|0]<<8;k=((h<<8|h>>>8)&65535)+1|0;c=(h|0)==65535?c:c>>>0>k>>>0?c:k;f=I[f+6|0]|I[f+7|0]<<8;h=((f<<8|f>>>8)&65535)+1|0;c=(f|0)==65535?c:c>>>0>h>>>0?c:h;d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=a+16|0;if(d>>>0>2]){break j}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break j}f=H[b+12>>2]-4|0;H[b+12>>2]=f;if((f|0)<=0){break j}d=F[d|0];if((d|0)<0){break j}f=a+(I[a+19|0]|(I[a+17|0]<<16|(d&255)<<24|I[a+18|0]<<8))|0;H[g+12>>2]=f;d=0;k:{l:{if(c>>>0>1073741822){break l}a=1;if(!c){break k}if(f>>>0>2]){break l}a=H[b+8>>2];if(a>>>0>>0){break l}i=a-f|0;a=c<<2;if(i>>>0>>0){break l}a=H[b+12>>2]-a|0;H[b+12>>2]=a;if((a|0)<=0){break l}while(1){m:{a=f+(e<<2)|0;if(a>>>0>2]){break m}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break m}d=H[g+12>>2];h=H[b+12>>2]-4|0;H[b+12>>2]=h;if((h|0)<=0){break m}h=F[a|0];if((h|0)<0){break m}if(!td(d+(I[a+3|0]|(I[a+1|0]<<16|(h&255)<<24|I[a+2|0]<<8))|0,b)){break m}d=1;e=e+1|0;if((e|0)!=(c|0)){continue}break l}break}d=0}a=d}e=a}Wa=g+16|0;return e|0;case 2:c=0;a=a+12|0;n:{if(a>>>0>2]){break n}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<28){break n}d=H[b+12>>2]-28|0;H[b+12>>2]=d;if((d|0)<=0){break n}if(!zl(a,b)){break n}b=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break n}b=I[a+20|0]|I[a+21|0]<<8|(I[a+22|0]<<16|I[a+23|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break n}a=I[a+24|0]|I[a+25|0]<<8|(I[a+26|0]<<16|I[a+27|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return c|0;case 4:return td(a+12|0,b)|0;case 5:break b;default:break a}}c=0;d=a+12|0;if(d>>>0>2]){break a}e=H[b+8>>2];if(e>>>0>>0|e-d>>>0<20){break a}e=H[b+12>>2]-20|0;H[b+12>>2]=e;if((e|0)<=0){break a}if(!Al(d,b,0)){break a}a=I[a+28|0]|I[a+29|0]<<8|(I[a+30|0]<<16|I[a+31|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return c|0}function ar(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Wa-16|0;Wa=f;c=H[a+4>>2];d=H[H[c+80>>2]+N(H[c+64>>2],20)>>2];a:{b:{c:{d:{if(b){b=H[a+8>>2];H[f+12>>2]=H[a+16>>2];e=b;g=H[b+84>>2];b=H[b+80>>2];if(!(Ya[H[b+164>>2]](e,g,d,f+12|0,H[b+20>>2])|0)){break d}H[(H[c+80>>2]+N(H[c+64>>2],20)|0)+12>>2]=H[f+12>>2];if(I[c+61|0]){e:{if(H[c+84>>2]==H[c+80>>2]){a=H[c+72>>2];if((a|0)==H[c+64>>2]){break e}}if(!qb(c,1,1)){break a}b=H[c+80>>2]+N(H[c+64>>2],20)|0;d=H[b+4>>2];a=H[c+84>>2]+N(H[c+72>>2],20)|0;H[a>>2]=H[b>>2];H[a+4>>2]=d;H[a+16>>2]=H[b+16>>2];d=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=d;a=H[c+72>>2]}H[c+72>>2]=a+1}H[c+64>>2]=H[c+64>>2]+1;break a}if(Oj(a,0,d)){break b}b=H[a+8>>2];H[f+12>>2]=H[a+16>>2];e=b;g=H[b+84>>2];b=H[b+80>>2];if(!(Ya[H[b+164>>2]](e,g,d,f+12|0,H[b+20>>2])|0)){break c}H[(H[c+80>>2]+N(H[c+64>>2],20)|0)+12>>2]=H[f+12>>2];if(I[c+61|0]){f:{if(H[c+84>>2]==H[c+80>>2]){a=H[c+72>>2];if((a|0)==H[c+64>>2]){break f}}if(!qb(c,1,1)){break a}b=H[c+80>>2]+N(H[c+64>>2],20)|0;d=H[b+4>>2];a=H[c+84>>2]+N(H[c+72>>2],20)|0;H[a>>2]=H[b>>2];H[a+4>>2]=d;H[a+16>>2]=H[b+16>>2];d=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=d;a=H[c+72>>2]}H[c+72>>2]=a+1}H[c+64>>2]=H[c+64>>2]+1;break a}if(Oj(a,1,d)){break b}}g:{if((J[(H[c+80>>2]+N(H[c+64>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{switch(d+-8192|0){case 0:case 2:b=512;break h;case 4:b=768;break h;case 5:b=1024;break h;case 6:b=1536;break h;case 7:b=4864;break h;case 8:b=5120;break h;case 9:b=1280;break h;case 10:b=4096;break h;case 47:b=5376;break h;case 95:b=4352;break h;default:if((d|0)!=12288){break g}break;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break g;case 1:case 3:break i}}b=256}e=H[a+8>>2];H[f+8>>2]=0;g=e;h=H[e+84>>2];e=H[e+80>>2];if(!(Ya[H[e+164>>2]](g,h,32,f+8|0,H[e+20>>2])|0)){e=H[c+28>>2];H[f+8>>2]=e;if(!e){break g}}a=H[c+80>>2];d=H[c+64>>2];e=J[(a+N(d,20)|0)+16>>1];if((e&31)==29){G[(N(d,20)+a|0)+16>>1]=e&255|b;d=H[c+64>>2];a=H[c+80>>2]}H[(a+N(d,20)|0)+12>>2]=H[f+8>>2];j:{if(I[c+61|0]){k:{if(H[c+84>>2]==H[c+80>>2]){a=H[c+72>>2];if((a|0)==H[c+64>>2]){break k}}if(!qb(c,1,1)){break j}b=H[c+80>>2]+N(H[c+64>>2],20)|0;d=H[b+4>>2];a=H[c+84>>2]+N(H[c+72>>2],20)|0;H[a>>2]=H[b>>2];H[a+4>>2]=d;H[a+16>>2]=H[b+16>>2];d=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=d;a=H[c+72>>2]}H[c+72>>2]=a+1}H[c+64>>2]=H[c+64>>2]+1}H[c+144>>2]=H[c+144>>2]|4;break a}l:{if((d|0)!=8209){break l}a=H[a+8>>2];H[f+4>>2]=0;b=a;e=H[a+84>>2];a=H[a+80>>2];if(!(Ya[H[a+164>>2]](b,e,8208,f+4|0,H[a+20>>2])|0)){break l}H[(H[c+80>>2]+N(H[c+64>>2],20)|0)+12>>2]=H[f+4>>2];if(I[c+61|0]){m:{if(H[c+84>>2]==H[c+80>>2]){a=H[c+72>>2];if((a|0)==H[c+64>>2]){break m}}if(!qb(c,1,1)){break a}b=H[c+80>>2]+N(H[c+64>>2],20)|0;d=H[b+4>>2];a=H[c+84>>2]+N(H[c+72>>2],20)|0;H[a>>2]=H[b>>2];H[a+4>>2]=d;H[a+16>>2]=H[b+16>>2];d=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=d;a=H[c+72>>2]}H[c+72>>2]=a+1}H[c+64>>2]=H[c+64>>2]+1;break a}H[(H[c+80>>2]+N(H[c+64>>2],20)|0)+12>>2]=H[f+12>>2];if(I[c+61|0]){n:{if(H[c+84>>2]==H[c+80>>2]){a=H[c+72>>2];if((a|0)==H[c+64>>2]){break n}}if(!qb(c,1,1)){break a}b=H[c+80>>2]+N(H[c+64>>2],20)|0;d=H[b+4>>2];a=H[c+84>>2]+N(H[c+72>>2],20)|0;H[a>>2]=H[b>>2];H[a+4>>2]=d;H[a+16>>2]=H[b+16>>2];d=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=d;a=H[c+72>>2]}H[c+72>>2]=a+1}H[c+64>>2]=H[c+64>>2]+1;break a}H[c+64>>2]=H[c+64>>2]+1}Wa=f+16|0}function Dm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Wa-16|0;Wa=k;h=8;a:{if(e>>>0>100){break a}b:{i=H[a+32>>2];if(!i){break b}j=H[a+40>>2];m=H[a+36>>2]+H[a+28>>2]|0;g=m;while(1){c:{H[k+12>>2]=g+2;h=I[g+1|0];l=I[g|0];H[k+12>>2]=g+4;l=h|l<<8;if(l>>>0<=b>>>0&(I[g+3|0]|I[g+2|0]<<8)>>>0>=b>>>0){break c}g=g+8|0;H[k+12>>2]=g;i=i-1|0;if(i){continue}break b}break}g=I[g+4|0]|I[g+5|0]<<8|(I[g+6|0]<<16|I[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=8;if(g>>>0>j-m>>>0){break a}h=g+m|0;g=h+8|0;if(g>>>0>j>>>0){break b}H[k+12>>2]=h+2;i=I[h|0]|I[h+1|0]<<8;H[k+12>>2]=h+4;n=I[h+3|0];o=I[h+2|0];H[k+12>>2]=g;m=I[h+4|0]|I[h+5|0]<<8|(I[h+6|0]<<16|I[h+7|0]<<24);d:{e:{switch(((i<<8|i>>>8)&65535)-1|0){case 0:b=g+(b-l<<2)|0;g=b+8|0;if(g>>>0>j>>>0){break b}H[k+12>>2]=b+4;h=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[k+12>>2]=g;b=I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]<<16|I[b+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if((g|0)!=(i|0)){break d}break b;case 1:if(g+12>>>0>j>>>0){break b}H[k+12>>2]=g+4;h=I[g+3|0];i=I[g+2|0];p=I[g+1|0];g=I[g|0];if(ji(a,k+12|0,j)){break b}l=b-l|0;b=h|(p<<16|g<<24|i<<8);i=N(l,b);g=i+b|0;break d;case 2:b=g+(b-l<<1)|0;if(b+4>>>0>j>>>0){break b}H[k+12>>2]=b+2;h=I[b+1|0];i=I[b|0];H[k+12>>2]=b+4;g=I[b+3|0]|I[b+2|0]<<8;i=h|i<<8;if((g|0)!=(i|0)){break d}break b;case 3:g=g+4|0;if(j>>>0>>0){break b}H[k+12>>2]=g;if(g+4>>>0>j>>>0){break b}h=g-4|0;h=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(h>>>0>(j-g>>2)-1>>>0|!h){break b}i=0;while(1){H[k+12>>2]=g+2;if((I[g+1|0]|I[g|0]<<8)==(b|0)){H[k+12>>2]=g+4;b=I[g+3|0];h=I[g+2|0];H[k+12>>2]=g+6;i=b|h<<8;g=I[g+7|0]|I[g+6|0]<<8;break d}g=g+4|0;H[k+12>>2]=g;i=i+1|0;if((h|0)!=(i|0)){continue}break};break b;case 4:case 18:break e;default:break b}}if(g+16>>>0>j>>>0){break b}H[k+12>>2]=g+4;h=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);if(ji(a,k+12|0,j)){break b}i=H[k+12>>2];g=i+4|0;H[k+12>>2]=g;l=j-g>>1;i=I[i|0]|I[i+1|0]<<8|(I[i+2|0]<<16|I[i+3|0]<<24);j=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(l>>>0>>0|!j){break b}l=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);i=0;while(1){f:{h=g+2|0;H[k+12>>2]=h;if((I[g+1|0]|I[g|0]<<8)==(b|0)){break f}g=h;i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}i=N(i,l);g=l+i|0}if(g>>>0>>0){break b}l=n|o<<8;j=Wa-16|0;Wa=j;b=6;h=g-i|0;m=(m<<8&16711680|m<<24|(m>>>8&65280|m>>>24))+i|0;g:{if(!h|K[a+24>>2]>>0){break g}n=H[a+4>>2];b=ob(n,m+H[a+20>>2]|0);if(b){break g}b=Jc(n,h,j+8|0);if(b){break g}g=H[j+8>>2];H[j+12>>2]=g;i=g+h|0;b=7;h:{i:{j:{k:{l:{m:{n:{o:{switch(l-1|0){case 0:case 1:case 7:case 16:b=6;if((h|0)<5){break h}b=H[a+12>>2];G[b>>1]=I[g|0];G[b+2>>1]=I[g+1|0];G[b+4>>1]=F[g+2|0];G[b+6>>1]=F[g+3|0];h=I[g+4|0];G[b+14>>1]=0;G[b+10>>1]=0;G[b+12>>1]=0;G[b+8>>1]=h;F[a+16|0]=1;H[j+12>>2]=g+5;break n;case 18:break h;case 4:break m;case 5:case 6:case 8:case 17:break o;default:break i}}b=ji(a,j+12|0,i);if(b){break h}}m=72;b=7;p:{switch(l-1|0){case 16:case 17:break h;case 0:case 5:break j;case 8:break k;case 7:break l;case 4:break m;case 1:case 6:break p;default:break i}}g=H[a+12>>2];b=J[g>>1];h=J[g+2>>1];g=N(b,h+7>>>3|0);if(g>>>0<=N(b,h)+7>>>3>>>0){break m}if((g|0)==(i-H[j+12>>2]|0)){break j}}m=73;break j}b=0;g=H[j+12>>2]+1|0;if(g>>>0>i>>>0){break h}H[j+12>>2]=g}m=74}if(!I[a+17|0]){if(I[a+16|0]){h=H[a+12>>2];b=J[h+2>>1];g=H[a+8>>2];l=J[h>>1];H[g>>2]=l;H[g+4>>2]=b;h=3;q:{r:{s:{t:{switch(I[a+18|0]-1|0){case 0:F[g+18|0]=1;b=b+7>>>3|0;h=2;break r;case 1:F[g+18|0]=3;b=b+3>>>2|0;h=4;break r;case 3:F[g+18|0]=4;b=b+1>>>1|0;h=16;break r;case 7:F[g+18|0]=2;break s;case 31:break t;default:break q}}F[g+18|0]=7;b=b<<2}h=256}G[g+16>>1]=h;H[g+8>>2]=b;h=0;if(f){break q}b=N(b,l);if(!b){break q}h=Wg(H[H[a>>2]+84>>2],b);if(h){break q}F[a+17|0]=1;h=0}b=h}else{b=6}if(b){break h}}b=0;if(f){break h}b=Ya[m|0](a,H[j+12>>2],i,c,d,e)|0;break h}b=8}bc(n,j+8|0)}Wa=j+16|0;h=b;break a}h=e?21:157}Wa=k+16|0;return h}function Cn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=N(b,1348)+a|0;j=H[c- -64>>2];n=H[c+56>>2];r=j+N(n,44)|0;a:{if((b|0)==1){q=H[a+2748>>2];u=I[H[(H[H[q>>2]+8>>2]<<2)+16352>>2]+12|0];if((n|0)<=0){break a}s=a+2744|0;c=j;while(1){h=I[c+12|0];b:{if(h&4){break b}c:{d:{e:{f=H[c+20>>2];d=H[c+24>>2];f:{if(!f|!d){break f}e=1;if(!H[d+20>>2]){break e}g=I[d+12|0];if(g&8){H[d+20>>2]=0;F[d+12|0]=g&247;f=H[c+20>>2];break f}if(!(h&8)){break e}f=0;H[c+20>>2]=0;F[c+12|0]=h&247}e=(f|0)!=0;if(!d|f){break e}e=H[d+20>>2];if(!e){break b}f=H[e+8>>2];H[d+8>>2]=f;h=I[d+12|0]|4;F[d+12|0]=h;e=d;d=c;break d}if(!e){break b}f=H[f+8>>2];H[c+8>>2]=f;h=I[c+12|0]|4;F[c+12|0]=h;if(!d){break c}e=c;if(H[d+20>>2]){break c}}e=H[e+4>>2];g=H[d+4>>2]-e|0;i=f-e|0;e=I[d+12|0];h=Sf(H[s>>2],q,1,g,i,h&255,e);F[d+12|0]=e|4;H[d+8>>2]=f+h}l=l?l:c}c=c+44|0;if(r>>>0>c>>>0){continue}break}}g:{if((n|0)<=0){h=0;break g}w=(n|0)>0;q=a+2748|0;s=a+2744|0;c=j;h=0;while(1){f=I[c+12|0];h:{if(f&4){break h}d=H[c+24>>2];if(!d){h=h+1|0;break h}if(H[d+20>>2]){a=H[d+4>>2];e=H[d+8>>2];a=Sf(H[s>>2],H[q>>2],b,H[c+4>>2]-a|0,e-a|0,I[d+12|0],f);F[c+12|0]=f|4;H[c+8>>2]=a+e;break h}if(!l){m=H[s>>2];o=H[q>>2];e=H[c+4>>2];l=H[d+4>>2]-e|0;a=Sf(m,o,b,l,0,f,I[d+12|0]);i:{if((a|0)<=95){g=e+(l>>1)|0;t=g+32&-64;p=(a|0)<65;k=t+(p?-32:-38)|0;v=g-k|0;i=v>>31;p=t|(p?32:26);t=g-p|0;g=t>>31;g=((a|0)/-2|0)+((i^v)-i>>>0<(g^t)-g>>>0?k:p)|0;H[c+8>>2]=g;H[d+8>>2]=a+g;a=H[c+8>>2];break i}a=e+32&-64;H[c+8>>2]=a}f=f|4;F[c+12|0]=f;x=d,y=Sf(m,o,b,l,a-e|0,f,I[d+12|0])+a|0,H[x+8>>2]=y;l=c;break h}e=H[l+4>>2];k=H[l+8>>2];i=H[c+4>>2];g=H[d+4>>2]-i|0;m=I[d+12|0];a=Sf(H[s>>2],H[q>>2],b,g,0,f,m);j:{if(m&4){e=H[d+8>>2]-a|0;a=c;break j}k=k+(i-e|0)|0;e=k+(g>>1)|0;k:{if((a|0)<=95){i=e+32&-64;k=(a|0)<65;m=i+(k?-32:-38)|0;o=e-m|0;g=o>>31;k=i|(k?32:26);i=e-k|0;e=i>>31;e=(g^o)-g>>>0<(e^i)-e>>>0?m:k;a=(a|0)/2|0;H[c+8>>2]=e-a;e=a+e|0;break k}o=a>>>1|0;i=k+32|0;m=i&-64;p=o+(m-e|0)|0;k=p>>31;g=(g+i&-64)-a|0;i=g+(o-e|0)|0;e=i>>31;e=(k^p)-k>>>0<(e^i)-e>>>0?m:g;H[c+8>>2]=e;e=a+e|0}a=d}H[a+8>>2]=e;F[c+12|0]=f|4;F[d+12|0]=I[d+12|0]|4;if(c>>>0<=j>>>0){break h}a=H[c-36>>2];e=H[c+8>>2];l:{if(u){if((a|0)<(e|0)){break l}break h}if((a|0)<=(e|0)){break h}}e=H[d+8>>2]-a|0;d=e>>31;if((d^e)-d>>>0<17){break h}H[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}if(b){break a}c=4;f=2;d=j;m:{switch(n-6|0){case 6:d=j+44|0;c=9;f=5;break;case 0:break m;default:break a}}e=N(f,44)+j|0;a=N(c,44)+j|0;f=(H[e+4>>2]<<1)-(H[d+4>>2]+H[a+4>>2]|0)|0;b=f>>31;if((b^f)-b>>>0>7){break a}b=H[a+8>>2];d=(H[e+8>>2]<<1)-H[d+8>>2]|0;H[a+8>>2]=d;b=b-d|0;a=H[a+24>>2];if(a){H[a+8>>2]=H[a+8>>2]-b}if((n|0)==12){H[j+360>>2]=H[j+360>>2]-b;H[j+492>>2]=H[j+492>>2]-b}b=N(c,44)+j|0;F[b+12|0]=I[b+12|0]|4;if(!a){break a}F[a+12|0]=I[a+12|0]|4}if(!(!(!l|(h|0)!=0)|!w)){c=j;while(1){e=I[c+12|0];n:{if(e&4){break n}o:{p:{q:{a=H[c+28>>2];if(!a){break q}d=H[a+4>>2];f=H[c+4>>2];h=d-f|0;b=h>>31;if((b^h)-b>>>0>79){break q}d=f+(H[a+8>>2]-d|0)|0;break p}d=c;if(!l){d=H[c+4>>2]+32&-64;H[c+8>>2]=d;l=c;break o}while(1){a=d;d=d-44|0;h=j>>>0>d>>>0;if(!(I[a-32|0]&4?1:h)){continue}break}f=c;r:{while(1){b=f;f=b+44|0;n=r>>>0<=f>>>0;if(n){break r}if(!(I[b+56|0]&4)){continue}break}if(c>>>0<=d>>>0|h|(c>>>0>=f>>>0|n)){break r}d=H[a-36>>2];f=H[b+48>>2];a=H[a-40>>2];if((f|0)==(a|0)){break p}d=sb(H[c+4>>2]-a|0,H[b+52>>2]-d|0,f-a|0)+d|0;H[c+8>>2]=d;e=I[c+12|0];break o}d=H[l+8>>2]+((H[c+4>>2]-H[l+4>>2]|0)+16&-32)|0}H[c+8>>2]=d}F[c+12|0]=e|4;s:{if(c>>>0<=j>>>0){break s}a=H[c-36>>2];t:{if(u){if((a|0)<(d|0)){break t}break s}if((a|0)<=(d|0)){break s}}b=H[c+24>>2];if(!b){break s}e=H[b+8>>2]-a|0;b=e>>31;if((b^e)-b>>>0<17){break s}H[c+8>>2]=a;d=a}if(!(I[c+56|0]&4)|c+44>>>0>=r>>>0){break n}a=H[c+52>>2];u:{if(u){if((a|0)>(d|0)){break u}break n}if((a|0)>=(d|0)){break n}}b=H[c+24>>2];if(!b){break n}d=H[b+8>>2]-H[c-36>>2]|0;b=d>>31;if((b^d)-b>>>0<17){break n}H[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}}function AM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=f;H[a+8>>2]=H[b+8>>2];H[a+24>>2]=0;H[a+28>>2]=0;F[a+20|0]=0;F[a+16|0]=0;H[a+12>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;k=a+28|0;i=H[k>>2];if((i|0)>=0){a:{if(i>>>0<513){f=i;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=513){continue}break}b:{if(!(f>>>0>>0|f>>>0>134217726)){i=tb(f<<5);if(i){l=H[k+4>>2];c:{if(!l){break c}if(l-1>>>0>=7){n=l&-8;while(1){g=h<<5;e=g+i|0;H[e>>2]=0;H[e+4>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;e=(g|32)+i|0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;e=(g|64)+i|0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;e=(g|96)+i|0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;e=(g|128)+i|0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;e=(g|160)+i|0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;e=(g|192)+i|0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;g=(g|224)+i|0;H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;H[g>>2]=0;H[g+4>>2]=0;h=h+8|0;m=m+8|0;if((n|0)!=(m|0)){continue}break}}e=l&7;if(e){while(1){g=(h<<5)+i|0;H[g>>2]=0;H[g+4>>2]=0;H[g+24>>2]=0;H[g+28>>2]=0;H[g+16>>2]=0;H[g+20>>2]=0;H[g+8>>2]=0;H[g+12>>2]=0;h=h+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(!l){j=0;break c}g=0;while(1){j=g<<5;h=j+i|0;j=j+H[k+8>>2]|0;e=H[j+4>>2];H[h>>2]=H[j>>2];H[h+4>>2]=e;e=H[j+12>>2];H[h+8>>2]=H[j+8>>2];H[h+12>>2]=e;e=H[h+16>>2];H[h+16>>2]=H[j+16>>2];H[j+16>>2]=e;e=H[h+20>>2];H[h+20>>2]=H[j+20>>2];H[j+20>>2]=e;e=H[h+24>>2];H[h+24>>2]=H[j+24>>2];H[j+24>>2]=e;g=g+1|0;j=H[k+4>>2];if(g>>>0>>0){continue}break}if(!j){j=0;break c}h=j;while(1){h=H[k+8>>2]+(h<<5)|0;H[h-12>>2]=0;g=h-8|0;hb(H[g>>2]);H[g>>2]=0;h=h-16|0;H[h>>2]=0;H[h+4>>2]=0;h=H[k+4>>2]-1|0;H[k+4>>2]=h;if(h){continue}break}}H[k+4>>2]=j;hb(H[k+8>>2])}if(i){break b}}H[k>>2]=-1;break a}H[k>>2]=f;H[k+8>>2]=i}f=H[k+4>>2];d:{if(f>>>0<513){while(1){H[k+4>>2]=f+1;f=H[k+8>>2]+(f<<5)|0;H[f>>2]=0;H[f+4>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;f=H[k+4>>2];if(f>>>0<513){continue}break d}}if(f>>>0<=513){break d}while(1){f=H[k+8>>2]+(f<<5)|0;H[f-12>>2]=0;i=f-8|0;hb(H[i>>2]);H[i>>2]=0;f=f-16|0;H[f>>2]=0;H[f+4>>2]=0;f=H[k+4>>2]-1|0;H[k+4>>2]=f;if(f>>>0>513){continue}break}}H[k+4>>2]=513}}F[a+40|0]=0;f=H[b+4>>2];i=H[b>>2];H[a+52>>2]=H[b+8>>2];H[a+44>>2]=i;H[a+48>>2]=f;F[a+73|0]=1;F[a+74|0]=0;b=a- -64|0;H[b>>2]=0;H[b+4>>2]=0;F[a+60|0]=0;H[a+56>>2]=0;f=tb(560);H[a+100>>2]=0;H[a+104>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;F[a+81|0]=0;F[a+82|0]=0;F[a+83|0]=0;F[a+84|0]=0;F[a+85|0]=0;F[a+86|0]=0;F[a+87|0]=0;F[a+88|0]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+136>>2]=0;H[a+140>>2]=0;e:{if(!f){H[a+96>>2]=-1;break e}H[a+96>>2]=20;H[a+104>>2]=f;H[f+24>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;b=2;H[a+100>>2]=2;H[f+52>>2]=0;H[f+44>>2]=0;H[f+48>>2]=0;H[f+36>>2]=0;H[f+40>>2]=0;H[f+28>>2]=0;H[f+32>>2]=0;while(1){H[a+100>>2]=b+1;b=H[a+104>>2]+N(b,28)|0;H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;b=H[a+100>>2];if(b>>>0<10){continue}break}H[a+100>>2]=10}H[a+112>>2]=c;f:{g:{if(c){b=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break g}}H[a+108>>2]=107;break f}if(b>>>0<=33899){H[a+108>>2]=1131;break f}H[a+108>>2]=32768}H[a+120>>2]=d;h:{if(d){b=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break h}}H[a+116>>2]=107;return}if(b>>>0<=33899){H[a+116>>2]=1131;return}H[a+116>>2]=32768}function Mj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;i=Wa+-64|0;H[i+48>>2]=0;H[i+52>>2]=0;H[i+56>>2]=0;H[i+60>>2]=0;H[i+32>>2]=0;H[i+36>>2]=0;H[i+40>>2]=0;H[i+44>>2]=0;a:{b:{c:{d:{e:{if(c){if(c-1>>>0>=3){n=c&-4;while(1){m=i+32|0;l=k<<1;h=m+(J[l+b>>1]<<1)|0;G[h>>1]=J[h>>1]+1;h=m+(J[(l|2)+b>>1]<<1)|0;G[h>>1]=J[h>>1]+1;h=m+(J[(l|4)+b>>1]<<1)|0;G[h>>1]=J[h>>1]+1;h=m+(J[(l|6)+b>>1]<<1)|0;G[h>>1]=J[h>>1]+1;k=k+4|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}h=c&3;if(h){while(1){g=(i+32|0)+(J[(k<<1)+b>>1]<<1)|0;G[g>>1]=J[g>>1]+1;k=k+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}k=H[e>>2];l=15;g=J[i+62>>1];if(g){break d}break e}k=H[e>>2]}l=14;g=0;if(J[i+60>>1]){break d}l=13;if(J[i+58>>1]){break d}l=12;if(J[i+56>>1]){break d}l=11;if(J[i+54>>1]){break d}l=10;if(J[i+52>>1]){break d}l=9;if(J[i+50>>1]){break d}l=8;if(J[i+48>>1]){break d}l=7;if(J[i+46>>1]){break d}l=6;if(J[i+44>>1]){break d}l=5;if(J[i+42>>1]){break d}l=4;if(J[i+40>>1]){break d}l=3;if(J[i+38>>1]){break d}l=2;if(J[i+36>>1]){break d}if(!J[i+34>>1]){a=H[d>>2];H[d>>2]=a+4;G[a>>1]=320;G[a+2>>1]=0;a=H[d>>2];H[d>>2]=a+4;G[a>>1]=320;G[a+2>>1]=0;m=1;break b}r=(k|0)!=0;l=1;k=1;break c}r=k>>>0>>0?k:l;p=1;k=1;while(1){if(J[(i+32|0)+(k<<1)>>1]){break c}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l}j=-1;o=J[i+34>>1];if(o>>>0>2){break a}s=J[i+36>>1];h=4-(s+(o<<1)|0)|0;if((h|0)<0){break a}q=J[i+38>>1];h=(h<<1)-q|0;if((h|0)<0){break a}t=J[i+40>>1];h=(h<<1)-t|0;if((h|0)<0){break a}u=J[i+42>>1];h=(h<<1)-u|0;if((h|0)<0){break a}w=J[i+44>>1];h=(h<<1)-w|0;if((h|0)<0){break a}x=J[i+46>>1];h=(h<<1)-x|0;if((h|0)<0){break a}z=J[i+48>>1];h=(h<<1)-z|0;if((h|0)<0){break a}A=J[i+50>>1];h=(h<<1)-A|0;if((h|0)<0){break a}y=J[i+52>>1];h=(h<<1)-y|0;if((h|0)<0){break a}B=J[i+54>>1];h=(h<<1)-B|0;if((h|0)<0){break a}v=J[i+56>>1];h=(h<<1)-v|0;if((h|0)<0){break a}m=J[i+58>>1];h=(h<<1)-m|0;if((h|0)<0){break a}n=J[i+60>>1];h=(h<<1)-n|0;if((h|0)<0){break a}h=h<<1;if(h>>>0>>0|(!a|p?(g|0)!=(h|0):0)){break a}C=k>>>0>>0;j=0;G[i+2>>1]=0;G[i+4>>1]=o;g=o+s|0;G[i+6>>1]=g;g=g+q|0;G[i+8>>1]=g;g=g+t|0;G[i+10>>1]=g;g=g+u|0;G[i+12>>1]=g;g=g+w|0;G[i+14>>1]=g;g=g+x|0;G[i+16>>1]=g;g=g+z|0;G[i+18>>1]=g;g=g+A|0;G[i+20>>1]=g;g=g+y|0;G[i+22>>1]=g;g=g+B|0;G[i+24>>1]=g;g=g+v|0;G[i+26>>1]=g;g=g+m|0;G[i+28>>1]=g;G[i+30>>1]=g+n;f:{if(!c){break f}if((c|0)!=1){m=c&-2;g=0;while(1){h=J[(j<<1)+b>>1];if(h){h=(h<<1)+i|0;n=J[h>>1];G[h>>1]=n+1;G[(n<<1)+f>>1]=j}n=j|1;h=J[(n<<1)+b>>1];if(h){h=(h<<1)+i|0;v=J[h>>1];G[h>>1]=v+1;G[(v<<1)+f>>1]=n}j=j+2|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}if(!(c&1)){break f}c=J[(j<<1)+b>>1];if(!c){break f}c=(c<<1)+i|0;g=J[c>>1];G[c>>1]=g+1;G[(g<<1)+f>>1]=j}m=C?r:k;s=20;z=0;n=f;w=n;A=0;g:{h:{switch(a|0){case 1:j=1;if(m>>>0>9){break a}s=257;w=241824;n=241760;A=1;break g;case 0:break g;default:break h}}z=(a|0)==2;s=0;w=241952;n=241888;if((a|0)!=2){break g}j=1;if(m>>>0>9){break a}}q=1<>2];u=0;g=m;o=0;p=0;a=-1;while(1){h=1<>1];c=0;j:{if(g+1>>>0>>0){break j}if(g>>>0>>0){g=0;c=96;break j}c=g-s<<1;g=J[c+n>>1];c=I[c+w|0]}v=p>>>o|0;C=-1<>1]=g;F[y+1|0]=x;F[y|0]=c;if(j){continue}break}g=1<>>1|0;if(c&p){continue}break}g=(i+32|0)+(k<<1)|0;j=J[g>>1]-1|0;G[g>>1]=j;p=c?c+(c-1&p)|0:0;u=u+1|0;if(!(j&65535)){if((k|0)==(l|0)){break i}k=J[(J[(u<<1)+f>>1]<<1)+b>>1]}if(k>>>0<=m>>>0){continue}c=p&B;if((c|0)==(a|0)){continue}break}o=o?o:m;g=k-o|0;r=1<>>0>>0){a=l-o|0;j=k;k:{while(1){j=r-J[(i+32|0)+(j<<1)>>1]|0;if((j|0)<=0){break k}r=j<<1;g=g+1|0;j=o+g|0;if(l>>>0>j>>>0){continue}break}g=a}r=1<>>0>852&A|q>>>0>592&z){break a}a=H[d>>2];j=a+(c<<2)|0;F[j+1|0]=m;F[j|0]=g;t=(h<<2)+t|0;G[j+2>>1]=t-a>>>2;a=c;continue}break}if(p){a=(p<<2)+t|0;G[a+2>>1]=0;F[a+1|0]=x;F[a|0]=64}H[d>>2]=H[d>>2]+(q<<2)}H[e>>2]=m;j=0}return j}function ir(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;F[a|0]=0;F[a+1|0]=0;h=Xe(b);a:{b:{if(H[b+20>>2]){break b}i=4;c:{g=h+2|0;f=H[b+4>>2];d=g-f|0;if((d|0)<0|(d|0)>(H[b+8>>2]-f|0)){break c}m=H[c+16>>2];j=H[c+12>>2];k=H[c+4>>2];l=H[c>>2];d:{if((f|0)==(g|0)){H[b+4>>2]=d+g;break d}kb(f,0,d);c=H[b+4>>2];H[b+4>>2]=c+d;if(!c){break b}}e:{f:{g:{h:{if(!(!k|!m)){q=(m<<1)+j|0;r=(k<<1)+l|0;f=-2;g=m;e=j;c=k;d=l;while(1){i=c?d:163632;i=I[i|0]|I[i+1|0]<<8;i=(i<<8|i>>>8)&65535;o=((i|0)!=(f+1|0))+o|0;n=n+1|0;f=!!c;d=(f<<1)+d|0;if(!((r|0)!=(d|0)|(c|0)!=(f|0))){break h}c=c-f|0;p=!!g;g=g-p|0;f=i;e=(p<<1)+e|0;if((q|0)!=(e|0)){continue}break}break h}F[h|0]=0;F[h+1|0]=1;break g}c=N(o,3)>>>0>>0;d=c?512:256;F[h|0]=d;F[h+1|0]=d>>>8;if(c-1|0){break g}break f}if(H[b+20>>2]){break b}i=4;f=h+4|0;d=H[b+4>>2];c=f-d|0;if((c|0)<0|(c|0)>(H[b+8>>2]-d|0)){break c}i:{if((d|0)==(f|0)){H[b+4>>2]=(c+h|0)+4;break i}kb(d,0,c);e=c;c=H[b+4>>2];H[b+4>>2]=e+c;if(!c){break b}}c=k>>>0>>0?k:m;d=c<<8|(c&65280)>>>8;F[h+2|0]=d;F[h+3|0]=d>>>8;d=H[b+20>>2];if(c>>>0>=65536){H[b+20>>2]=d|16;break b}if(d){break b}g=((c<<1&131070)+h|0)+4|0;f=H[b+4>>2];d=g-f|0;if((d|0)<0|(d|0)>(H[b+8>>2]-f|0)){break c}j:{if((f|0)==(g|0)){H[b+4>>2]=d+g;break j}kb(f,0,d);e=d;d=H[b+4>>2];H[b+4>>2]=e+d;if(!d){break b}}if(!c){break e}d=0;if((c|0)!=1){m=c&-2;g=0;while(1){f=(d<<1)+h|0;j=k?l:163632;j=I[j|0]|I[j+1|0]<<8;F[f+4|0]=j;F[f+5|0]=j>>>8;j=((d|1)<<1)+h|0;f=!!k;l=(f<<1)+l|0;e=(f|0)==(k|0);i=e?163632:l;i=I[i|0]|I[i+1|0]<<8;F[j+4|0]=i;F[j+5|0]=i>>>8;d=d+2|0;j=!e;l=l+(j<<1)|0;k=k-(f+j|0)|0;g=g+2|0;if((m|0)!=(g|0)){continue}break}}if(!(c&1)){break e}c=(d<<1)+h|0;d=k?l:163632;d=I[d|0]|I[d+1|0]<<8;F[c+4|0]=d;F[c+5|0]=d>>>8;break e}if(H[b+20>>2]){break b}i=4;f=h+4|0;d=H[b+4>>2];c=f-d|0;if((c|0)<0|(c|0)>(H[b+8>>2]-d|0)){break c}k:{if((d|0)==(f|0)){e=c+f|0;H[b+4>>2]=e;break k}kb(d,0,c);e=c;c=H[b+4>>2];e=e+c|0;H[b+4>>2]=e;if(!c){break b}}o=0;f=-2;g=m;i=j;c=k;d=l;while(1){p=!!g;n=c?d:163632;n=I[n|0]|I[n+1|0]<<8;n=(n<<8|n>>>8)&65535;o=((n|0)!=(f+1|0))+o|0;f=!!c;d=(f<<1)+d|0;if((r|0)!=(d|0)|(c|0)!=(f|0)){c=c-f|0;g=g-p|0;f=n;i=(p<<1)+i|0;if((q|0)!=(i|0)){continue}}break}if(H[b+20>>2]){break b}i=4;d=h+4|0;c=d-e|0;if((c|0)<0|(c|0)>(H[b+8>>2]-e|0)){break c}l:{if((d|0)==(e|0)){H[b+4>>2]=c+e;break l}kb(e,0,c);e=c;c=H[b+4>>2];H[b+4>>2]=e+c;if(!c){break b}}c=o<<8|(o&65280)>>>8;F[h+2|0]=c;F[h+3|0]=c>>>8;c=H[b+20>>2];if(o>>>0>=65536){i=c|16;break c}if(c){break b}f=(N(o,6)+h|0)+4|0;d=H[b+4>>2];c=f-d|0;if((c|0)<0|(c|0)>(H[b+8>>2]-d|0)){break c}m:{if((d|0)==(f|0)){H[b+4>>2]=c+f;break m}kb(d,0,c);e=c;c=H[b+4>>2];H[b+4>>2]=e+c;if(!c){break b}}d=-2;c=-1;f=0;while(1){e=d+1|0;d=k?l:163632;g=I[d|0]|I[d+1|0]<<8;d=(g<<8|g>>>8)&65535;if((e|0)!=(d|0)){c=c+1|0;e=I[h+2|0]|I[h+3|0]<<8;n:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){G[129522]=I[164028]|I[164029]<<8;H[64760]=I[164024]|I[164025]<<8|(I[164026]<<16|I[164027]<<24);e=259040;break n}e=(N(c,6)+h|0)+4|0}F[e|0]=g;F[e+1|0]=g>>>8;e=I[h+2|0]|I[h+3|0]<<8;o:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){G[129522]=I[164028]|I[164029]<<8;H[64760]=I[164024]|I[164025]<<8|(I[164026]<<16|I[164027]<<24);e=259040;break o}e=(N(c,6)+h|0)+4|0}i=f<<8|(f&65280)>>>8;F[e+4|0]=i;F[e+5|0]=i>>>8}e=I[h+2|0]|I[h+3|0]<<8;p:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){G[129522]=I[164028]|I[164029]<<8;H[64760]=I[164024]|I[164025]<<8|(I[164026]<<16|I[164027]<<24);e=259040;break p}e=(N(c,6)+h|0)+4|0}F[e+2|0]=g;F[e+3|0]=g>>>8;g=!!k;l=(g<<1)+l|0;if(!((r|0)!=(l|0)|(g|0)!=(k|0))){break e}f=f+1|0;k=k-g|0;g=!!m;m=m-g|0;j=(g<<1)+j|0;if((q|0)!=(j|0)){continue}break}}s=1;Af(b,a,ze(b,1));break a}H[b+20>>2]=i}a=H[b+40>>2];if(H[b+20>>2]|!a){break a}H[b+40>>2]=H[a+32>>2];c=H[a+4>>2];H[b+4>>2]=H[a>>2];H[b+8>>2]=c;zf(b);H[a+12>>2]=0;hb(H[a+16>>2]);H[a+24>>2]=0;H[a+16>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;hb(H[a+28>>2]);H[a+28>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a>>2]=H[b+24>>2];H[b+24>>2]=a;return 0}return s}function AK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ab(1,140);a:{if(!f){break a}d=135328;H[f>>2]=135328;b:{c:{d:{e:{f:{g:{h:{i:{c=H[a+4>>2];if((c|0)<=1298954604){if((c|0)<=1198877297){if((c|0)==1113943655){break i}b=135356;if((c|0)==1147500129){break c}break b}if((c|0)==1198877298){break g}if((c|0)==1198879349){break h}if((c|0)!=1265525857){break b}b=135552;break c}if((c|0)<=1399418471){if((c|0)==1298954605){break e}if((c|0)!=1332902241){break b}b=135468;break c}if((c|0)==1399418472){break d}if((c|0)==1415671148){break f}if((c|0)!=1415933045){break b}b=135524;break c}b=135384;break c}b=135412;break c}b=135440;break c}b=135496;break c}b=135580;break c}b=135608}H[f>>2]=b;d=b}c=0;c=I[d+4|0]?I[a+24|0]!=50:c;F[f+4|0]=c;d=H[64752];if(!d){Xk();d=H[64752]}b=-1;H[f+8>>2]=-1;F[f+5|0]=d>>>2&1;g=c?g:H[a+4>>2]!=1298954605;F[f+20|0]=g;j=H[a+60>>2];h=H[a+56>>2];j:{if((h|0)<=0){break j}b=h-1|0;c=0;k:{while(1){d=c+b>>>1|0;e=H[N(d,36)+j>>2];l:{if(e>>>0>=1919969383){b=d-1|0;break l}if((e|0)==1919969382){break k}c=d+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break j}b=H[(N(d,36)+j|0)+12>>2]}d=H[a+92>>2];m:{if(d>>>0>>0){H[f+12>>2]=0;b=0;break m}if(b){c=b-1|0;c=H[(c>>>0>>0?H[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=H[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=H[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?H[a+72>>2]+(c<<3)|0:163632}else{b=0}H[f+12>>2]=b;b=e-c|0}F[f+32|0]=g;H[f+16>>2]=b;b=-1;n:{if((h|0)<=0){break n}b=h-1|0;c=0;o:{while(1){e=c+b>>>1|0;i=H[N(e,36)+j>>2];p:{if(i>>>0>=1886545255){b=e-1|0;break p}if((i|0)==1886545254){break o}c=e+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break n}b=H[(N(e,36)+j|0)+12>>2]}q:{if(b>>>0>d>>>0){H[f+24>>2]=0;b=0;break q}if(b){c=b-1|0;c=H[(c>>>0>>0?H[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=H[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=H[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?H[a+72>>2]+(c<<3)|0:163632}else{b=0}H[f+24>>2]=b;b=e-c|0}F[f+44|0]=g;H[f+28>>2]=b;b=-1;r:{if((h|0)<=0){break r}b=h-1|0;c=0;s:{while(1){e=c+b>>>1|0;i=H[N(e,36)+j>>2];t:{if(i>>>0>=1651275623){b=e-1|0;break t}if((i|0)==1651275622){break s}c=e+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break r}b=H[(N(e,36)+j|0)+12>>2]}u:{if(b>>>0>d>>>0){H[f+36>>2]=0;b=0;break u}if(b){c=b-1|0;c=H[(c>>>0>>0?H[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=H[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=H[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?H[a+72>>2]+(c<<3)|0:163632}else{b=0}H[f+36>>2]=b;b=e-c|0}F[f+56|0]=g;H[f+40>>2]=b;b=-1;v:{if((h|0)<=0){break v}b=h-1|0;c=0;w:{while(1){e=c+b>>>1|0;i=H[N(e,36)+j>>2];x:{if(i>>>0>=1886614631){b=e-1|0;break x}if((i|0)==1886614630){break w}c=e+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break v}b=H[(N(e,36)+j|0)+12>>2]}y:{if(b>>>0>d>>>0){H[f+48>>2]=0;b=0;break y}if(b){c=b-1|0;c=H[(c>>>0>>0?H[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=H[a+96>>2]+(b<<3)|0}else{b=a+68|0}e=H[b>>2];if((c|0)!=(e|0)){b=c>>>0>2]?H[a+72>>2]+(c<<3)|0:163632}else{b=0}H[f+48>>2]=b;b=e-c|0}F[f+68|0]=g;H[f+52>>2]=b;e=f- -64|0;b=-1;z:{if((h|0)<=0){break z}b=h-1|0;c=0;A:{while(1){g=c+b>>>1|0;i=H[N(g,36)+j>>2];B:{if(i>>>0>=1986098294){b=g-1|0;break B}if((i|0)==1986098293){break A}c=g+1|0}if((c|0)<=(b|0)){continue}break}b=-1;break z}b=H[(N(g,36)+j|0)+12>>2]}C:{if(b>>>0>d>>>0){H[f+60>>2]=0;a=0;break C}if(b){c=b-1|0;c=H[(c>>>0>>0?H[a+96>>2]+(c<<3)|0:163632)>>2]}else{c=0}if(b>>>0>>0){b=H[a+96>>2]+(b<<3)|0}else{b=a+68|0}d=H[b>>2];if((c|0)!=(d|0)){a=c>>>0>2]?H[a+72>>2]+(c<<3)|0:163632}else{a=0}H[f+60>>2]=a;a=d-c|0}H[e>>2]=a;if((h|0)<=0){break a}a=h-1|0;d=0;while(1){k=(d<<2)+f|0;b=0;D:{if(!(2548>>>d&1)){break D}h=H[(d<<3)+132208>>2];c=0;b=a;E:{while(1){g=c+b>>>1|0;i=N(g,36)+j|0;e=H[i>>2];F:{if(e>>>0>h>>>0){b=g-1|0;break F}if(e>>>0>=h>>>0){break E}c=g+1|0}if((c|0)<=(b|0)){continue}break}b=0;break D}b=H[i+28>>2]}H[k+72>>2]=b;d=d+1|0;if((d|0)!=17){continue}break}}return f|0}function Nz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Wa-176|0;Wa=f;H[f+172>>2]=0;i=H[e+32>>2];if(i){h=H[i+100>>2]}a:{b:{if(ub(a,11158,7)){break b}c:{g=I[a+7|0];switch(g|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!H[H[e+36>>2]+8>>2]|!i){break a}c=H[i+100>>2];H[f+32>>2]=0;h=c;c=H[i+88>>2];e=(g?-8:-7)+b|0;d=e+1|0;b=jb(h,1,c,d+c|0,H[i+84>>2],f+32|0);H[i+84>>2]=b;c=H[f+32>>2];if(c){break a}j=mb(b+H[i+88>>2]|0,g?a+8|0:a+7|0,e)+e|0,k=10,F[j|0]=k;H[i+88>>2]=d+H[i+88>>2];c=H[f+32>>2];break a}g=H[e>>2];if(!(g&1)){g=H[e+56>>2];c=176;if(ub(a,11270,9)){break a}d:{switch(I[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;H[e+32>>2]=0;H[e>>2]=1;b=zb(g,136,f+172|0);c=H[f+172>>2];if(c){break a}H[e+32>>2]=b;H[b+100>>2]=H[e+56>>2];H[e+56>>2]=0;b=b+112|0;c=Ep(b,g);H[f+172>>2]=c;if(c){break a}d=21680;while(1){c=_g(H[d>>2],a,b,g);H[f+172>>2]=c;if(c){break a}d=d+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=zb(g,24,f+172|0);H[H[e+32>>2]+92>>2]=a;c=H[f+172>>2];if(c){break a}c=Ep(a,g);if(c){break a}b=H[H[e+36>>2]+12>>2];a=H[e+32>>2];H[a+36>>2]=-1;H[a+28>>2]=b;c=0;break a}e:{f:{if(ub(a,11394,15)){break f}g:{switch(I[a+15|0]){case 0:case 9:case 10:case 13:case 32:break g;default:break f}}c=179;if(!(g&8)){break e}c=jd(e+40|0,11510,a,b);H[f+172>>2]=c;if(c){break a}a=H[e+32>>2];b=bf(H[H[e+40>>2]+4>>2]);H[a+72>>2]=b;H[e+4>>2]=b;if(b>>>0>H[e+60>>2]>>>2>>>0){H[a+72>>2]=0;c=6;break e}b=jb(h,16,0,b,0,f+172|0);a=H[e+32>>2];H[a+80>>2]=b;c=H[f+172>>2];if(c){H[a+72>>2]=0;break a}H[e>>2]=H[e>>2]|16;H[d>>2]=3;c=0;break a}h:{if(ub(a,11606,15)){break h}i:{switch(I[a+15|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break h}}c=178;if(!(g&4)){break e}c=jd(e+40|0,11510,a,b);H[f+172>>2]=c;if(c){break a}d=H[e+32>>2];b=H[e+40>>2];j=d,k=Eg(H[b+4>>2]),G[j+4>>1]=k;a=Eg(H[b+8>>2]);G[d+6>>1]=a;j=d,k=Nf(H[b+12>>2]),G[j+8>>1]=k;b=Nf(H[b+16>>2]);G[d+10>>1]=b;c=0;G[d+14>>1]=0-b;G[d+12>>1]=a+b;H[e>>2]=H[e>>2]|8;break a}j:{k:{if(ub(a,11730,4)){break k}l:{switch(I[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+40|0;c=jd(d,11510,a,b);H[f+172>>2]=c;if(c){break a}Am(d);b=ym(d,f+32|0);if(!b){break j}a=H[H[e+32>>2]>>2];if(a){Ya[H[h+8>>2]](h,a)}H[H[e+32>>2]>>2]=0;a=H[f+32>>2]+1|0;d=jb(h,1,0,a,0,f+172|0);H[H[e+32>>2]>>2]=d;c=H[f+172>>2];if(c){break a}mb(d,b,a);b=H[e+36>>2];h=Wa-272|0;Wa=h;d=6;g=H[e+32>>2];m:{if(!g){break m}c=H[g>>2];if(!c|!I[c|0]){break m}a=H[g+100>>2];H[h+8>>2]=0;H[h>>2]=0;H[h+4>>2]=0;H[h+12>>2]=a;H[g+28>>2]=H[b+12>>2];b=wb(c)+1|0;if(b>>>0>255){break m}a=h+16|0;mb(a,c,b);d=jd(h,24292,a,b);n:{if(d|H[h+8>>2]!=15){break n}c=32;o:{p:{switch(F[H[H[h>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}H[g+28>>2]=c}b=H[h+12>>2];if(!b){break m}a=H[h>>2];if(a){Ya[H[b+8>>2]](b,a)}}Wa=h+272|0;c=d;H[f+172>>2]=c;if(c){break a}H[e>>2]=H[e>>2]|2;c=0;break a}q:{if(ub(a,11809,4)){break q}r:{switch(I[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(g&2)){break e}c=jd(e+40|0,11510,a,b);H[f+172>>2]=c;if(c){break a}b=H[e+32>>2];a=H[e+40>>2];j=b,k=bf(H[a+4>>2]),H[j+16>>2]=k;j=b,k=bf(H[a+8>>2]),H[j+20>>2]=k;j=b,k=bf(H[a+12>>2]),H[j+24>>2]=k;s:{if(H[e+48>>2]==5){a=Nf(H[a+16>>2]);if(a>>>0>=5){G[b+96>>1]=8;break s}if(a>>>0>=3){G[b+96>>1]=4;break s}if((a|0)==2){G[b+96>>1]=2;break s}G[b+96>>1]=1;break s}G[b+96>>1]=1}H[e>>2]=H[e>>2]|4;c=0;break a}if(ub(a,11901,5)){break j}t:{switch(I[a+5|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break j}}c=179;if(!(g&8)){break e}a=G[i+12>>1];H[i+40>>2]=a;H[f+16>>2]=a;a=f+32|0;oh(a,f+16|0);c=He(H[e+32>>2],12084,a);H[f+172>>2]=c;if(c){break a}a=H[e+32>>2];b=G[a+14>>1];H[a+44>>2]=b;H[f>>2]=b;a=f+32|0;oh(a,f);c=He(H[e+32>>2],12180,a);if(c){break a}H[d>>2]=4;c=-1;break e}c=3}H[f+172>>2]=c}Wa=f+176|0;return c|0}function rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;l=Wa-16|0;Wa=l;H[l+12>>2]=0;H[a+1404>>2]=0;H[a+1392>>2]=0;H[a+56>>2]=0;H[a+44>>2]=0;H[a+36>>2]=0;H[a+24>>2]=0;e=H[a>>2];i=H[a+16>>2];m=H[a+8>>2];k=H[a+12>>2];t=H[a+4>>2];d=G[b>>1];a:{b:{c:{if(d>>>0<=8){if(H[a+40>>2]){break b}H[a+40>>2]=a+2760;c=8;break c}c=H[a+32>>2];if(c>>>0>=d>>>0){break b}h=c;c=d+3&-4;d=H[a+40>>2];if((d|0)==(a+2760|0)){H[a+40>>2]=0;d=0}w=a,x=jb(e,4,h,c,d,l+12|0),H[w+40>>2]=x;if(H[l+12>>2]){break a}}H[a+32>>2]=c}c=G[b+2>>1];d=c+2|0;d:{if(d>>>0<=96){if(H[a+28>>2]){break d}H[a+20>>2]=96;H[a+28>>2]=a+2792;break d}f=d;d=H[a+20>>2];if(f>>>0<=d>>>0){break d}h=c+11&-8;c=H[a+28>>2];if((c|0)==(a+2792|0)){H[a+28>>2]=0;c=0}w=a,x=jb(e,40,d,h,c,l+12|0),H[w+28>>2]=x;if(H[l+12>>2]){break a}H[a+20>>2]=h;c=G[b+2>>1]}H[a+24>>2]=c;c=G[b>>1];H[a+1416>>2]=-1;H[a+68>>2]=2;H[a+36>>2]=c;if((_n(b)|0)==1){H[a+1416>>2]=1;H[a+68>>2]=-2}H[a+12>>2]=k;H[a+4>>2]=t;H[a+2752>>2]=0;H[a+2756>>2]=0;H[a+16>>2]=i;H[a+8>>2]=m;p=H[a+24>>2];if(!p){break a}h=H[a+28>>2];r=h+N(p,40)|0;s=N(J[H[H[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;e=H[b+12>>2];if((p|0)>0){d=H[b+4>>2];n=H[b+8>>2];c=h;g=G[e>>1];f=c+N(g,40)|0;e=f;while(1){G[c+2>>1]=1028;j=H[d>>2];G[c+12>>1]=j;G[c+14>>1]=H[d+4>>2];j=ib(j,t)+m|0;H[c+4>>2]=j;H[c+16>>2]=j;j=ib(H[d+4>>2],k)+i|0;H[c+8>>2]=j;H[c+20>>2]=j;j=H[b+4>>2]+(g<<16>>16<<3)|0;G[f+12>>1]=H[j>>2];G[f+14>>1]=H[j+4>>2];j=I[n|0]&3;G[c>>1]=j?((j|0)==2)<<1:1;u=G[c+14>>1]-G[e+14>>1]|0;j=u>>31;v=G[c+12>>1]-G[e+12>>1]|0;q=v>>31;if((j^u)-j+((q^v)-q)>>>0>>0){G[e>>1]=J[e>>1]|32}H[c+36>>2]=e;H[e+32>>2]=c;e:{if((c|0)!=(f|0)){e=c;break e}o=o+1|0;if((o|0)>=G[b>>1]){e=c;f=c;break e}g=G[H[b+12>>2]+(o<<1)>>1];e=N(g,40)+h|0;f=e}n=n+1|0;d=d+8|0;c=c+40|0;if(r>>>0>c>>>0){continue}break}e=H[b+12>>2]}b=H[a+36>>2];f:{if((b|0)<=0){break f}c=H[a+40>>2];f=c+(b<<2)|0;d=0;while(1){H[c>>2]=N(d<<16>>16,40)+h;d=J[e>>1]+1|0;e=e+2|0;c=c+4|0;if(f>>>0>c>>>0){continue}break}if((b|0)<=0){break f}m=H[a+40>>2];j=m+(b<<2)|0;q=(s<<1)-1|0;while(1){d=H[m>>2];c=d;while(1){g:{f=c;n=G[c+12>>1];c=H[c+36>>2];if((d|0)==(c|0)){b=J[f+14>>1];break g}b=G[f+14>>1];g=b-G[c+14>>1]|0;a=g>>31;i=n-G[c+12>>1]|0;e=i>>31;if((q|0)>((a^g)-a+((e^i)-e)|0)){continue}}break}H[f+24>>2]=0;H[f+28>>2]=0;c=0;d=f;a=d;e=0;while(1){i=n<<16;g=b<<16;d=H[d+32>>2];b=G[d+14>>1];e=(b-(g>>16)|0)+e|0;g=e>>31;n=G[d+12>>1];c=(n-(i>>16)|0)+c|0;i=c>>31;g=(e^g)-g|0;i=(c^i)-i|0;h:{if(g+i>>>0>>0){G[d>>1]=J[d>>1]|16;break h}k=(d-a|0)/40|0;H[a+24>>2]=k;H[d+28>>2]=0-k;k=0-c|0;i:{if((c|0)<=(e|0)){i=(e|0)<(k|0);g=i?e:c;c=g>>31;g=(c^g)-c|0;c=i?k:e;o=i?-1:2;break i}o=1;if((e|0)>=(k|0)){break i}c=0-e|0;g=i;o=254}e=(N(g,14)|0)<(c|0)?o:4;F[a+3|0]=e;c=H[a+32>>2];if((d|0)!=(c|0)){while(1){F[c+3|0]=e;F[c+2|0]=e;c=H[c+32>>2];if((d|0)!=(c|0)){continue}break}}F[d+2|0]=e;a=(f-d|0)/40|0;H[d+24>>2]=a;c=0;H[f+28>>2]=0-a;a=d;e=0}if((d|0)!=(f|0)){continue}break}m=m+4|0;if(j>>>0>m>>>0){continue}break}}if((p|0)<=0){break a}c=h;while(1){e=J[c>>1];j:{if(e&16|I[c+2|0]!=4|I[c+3|0]!=4){break j}d=H[c+24>>2];a=N(d,40)+c|0;b=G[c+12>>1];i=G[a+12>>1]-b|0;g=b;f=H[c+28>>2];b=N(f,40)+c|0;if((i^g-G[b+12>>1])<0){break j}g=G[c+14>>1];if((g-G[b+14>>1]^G[a+14>>1]-g)<0){break j}G[c>>1]=e|16;e=b;b=(N(d-f|0,40)|0)/40|0;H[e+24>>2]=b;H[a+28>>2]=0-b}c=c+40|0;if(r>>>0>c>>>0){continue}break}if((p|0)<=0){break a}while(1){c=J[h>>1];k:{if(c&16){break k}l:{if(c&3){break l}a=I[h+3|0];b=I[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break l}c=G[h+12>>1];e=H[h+28>>2];a=N(e,40)+h|0;d=G[h+14>>1];f=H[h+24>>2];b=N(f,40)+h|0;if(!Tp(c-G[a+12>>1]|0,d-G[a+14>>1]|0,G[b+12>>1]-c|0,G[b+14>>1]-d|0)){break k}c=a;a=(N(f-e|0,40)|0)/40|0;H[c+24>>2]=a;H[b+28>>2]=0-a;c=J[h>>1];break l}if((0-(a<<24>>24)|0)!=b<<24>>24){break k}}G[h>>1]=c|16}h=h+40|0;if(r>>>0>h>>>0){continue}break}}Wa=l+16|0;return H[l+12>>2]}function Kd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=35;a:{if(!a|!H[a+88>>2]){break a}d=H[a+84>>2];if(!d){break a}b:{c:{e=H[d+156>>2];if(!e){break c}f=H[e+4>>2];if(!(f&1)){break c}g=H[d+88>>2];if(g){e=H[H[d+4>>2]+100>>2];Ya[H[e+8>>2]](e,g);e=H[d+156>>2];f=H[e+4>>2]}H[d+88>>2]=0;H[e+4>>2]=f&-2;break b}H[d+88>>2]=0}H[d+24>>2]=0;H[d+28>>2]=0;H[d+72>>2]=0;H[d+76>>2]=0;H[d+100>>2]=0;H[d+104>>2]=0;F[d+94|0]=0;H[d+32>>2]=0;H[d+36>>2]=0;H[d+40>>2]=0;H[d+44>>2]=0;H[d+48>>2]=0;H[d+52>>2]=0;H[d+56>>2]=0;H[d+60>>2]=0;H[d+80>>2]=0;H[d+84>>2]=0;H[d+108>>2]=0;H[d+112>>2]=0;H[d+116>>2]=0;H[d+120>>2]=0;H[d+124>>2]=0;H[d+128>>2]=0;H[d+132>>2]=0;H[d+136>>2]=0;H[d+140>>2]=0;H[d+144>>2]=0;H[d+148>>2]=0;H[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;h=c&4194304?c&-5:c;i=h&2;f=H[a+96>>2];g=H[H[f+4>>2]+160>>2];if(i|!g|h&32768){break e}e=H[a+8>>2];if((e&8193)!=1){break e}f:{if(h&2048){break f}j=H[a+128>>2];c=H[j>>2];if(!H[j+8>>2]){if(c){break f}break e}if(c){break e}}g:{if(h&32){break g}c=H[f>>2];if(!(I[c+1|0]&4)){break g}if(Xb(Ya[H[c+32>>2]](f,8765)|0,9155)){c=H[f+28>>2]==1}else{c=0}if(!(c|(I[H[f>>2]+1|0]&8)>>>3|(h&983040)!=65536)){e=H[a+8>>2];break g}e=H[a+8>>2];if(!(e&8)|!H[a+760>>2]|(J[a+286>>1]|H[a+684>>2])){break e}if(H[a+692>>2]){break e}}h:{if(!(e&2)|h&8){break h}if(Ya[H[H[f+12>>2]+72>>2]](d,H[a+88>>2],b,h|16384)|0){break h}c=0;if(H[d+72>>2]==1651078259){break d}}e=H[a+128>>2];f=H[e+24>>2];H[e+24>>2]=0;c=Ya[H[H[H[g>>2]+20>>2]+12>>2]](g,d,H[a+88>>2],b,h)|0;H[e+24>>2]=f;break d}e=Ya[H[H[f+12>>2]+72>>2]](d,H[a+88>>2],b,h)|0;if(e){break a}c=0;if(H[d+72>>2]!=1869968492){break d}g=G[d+110>>1];j=G[d+108>>1];if((g|j)&65535){e=6;if((g|0)<=0|(j|0)<=0){break a}l=H[d+120>>2];f=-1;while(1){m=f;f=G[(k<<1)+l>>1];if((m|0)>=(f|0)|(f|0)>=(g|0)){break a}k=k+1|0;if((j|0)!=(k|0)){continue}break}if((g-1|0)!=(f|0)){break a}}if(i){break d}i:{if(h>>>4&1){H[d+32>>2]=H[d+32>>2]&-64;e=H[d+44>>2];f=e&-64;H[d+44>>2]=f;g=H[d+48>>2];i=g&-64;H[d+48>>2]=i;H[d+36>>2]=H[d+36>>2]+63&-64;H[d+24>>2]=((e+H[d+24>>2]|0)+63&-64)-f;H[d+28>>2]=((g+H[d+28>>2]|0)+63&-64)-i;break i}H[d+44>>2]=H[d+44>>2]&-64;H[d+48>>2]=H[d+48>>2]&-64;e=H[d+32>>2];f=e&-64;H[d+32>>2]=f;g=H[d+36>>2];i=g+63&-64;H[d+36>>2]=i;H[d+28>>2]=i-(g-H[d+28>>2]&-64);H[d+24>>2]=((e+H[d+24>>2]|0)+63&-64)-f}H[d+40>>2]=H[d+40>>2]+32&-64;H[d+52>>2]=H[d+52>>2]+32&-64}j:{if(h&16){f=0;e=H[d+52>>2];break j}f=H[d+40>>2];e=0}H[d+64>>2]=f;H[d+68>>2]=e;if(!(!(F[a+8|0]&1)|h&8192)){e=H[a+88>>2];n=d,o=sb(H[d+56>>2],H[e+16>>2],64),H[n+56>>2]=o;n=d,o=sb(H[d+60>>2],H[e+20>>2],64),H[n+60>>2]=o}k:{if(h&2048){break k}i=H[a+128>>2];g=H[i+24>>2];if(!g){break k}l:{m:{a=H[H[H[d+4>>2]+96>>2]+4>>2];e=H[a+156>>2];n:{if(!e){f=H[d+72>>2];break n}f=H[d+72>>2];if((f|0)==H[e+16>>2]){break m}}a=H[a+148>>2];if(a){while(1){e=H[a+8>>2];if(H[e+16>>2]==(f|0)){break m}a=H[a+4>>2];if(a){continue}break}}o:{if((f|0)!=1869968492){break o}if(g&1){Td(d+108|0,i);g=H[i+24>>2]}if(!(g&2)){break o}j=G[d+110>>1];if((j|0)<=0){break o}f=H[i+20>>2];g=H[i+16>>2];a=H[d+112>>2];if(j-1>>>0>=3){k=j&-4;e=0;while(1){H[a>>2]=g+H[a>>2];H[a+4>>2]=f+H[a+4>>2];H[a+8>>2]=g+H[a+8>>2];H[a+16>>2]=g+H[a+16>>2];H[a+24>>2]=g+H[a+24>>2];H[a+12>>2]=f+H[a+12>>2];H[a+20>>2]=f+H[a+20>>2];H[a+28>>2]=f+H[a+28>>2];a=a+32|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}j=j&3;if(!j){break o}e=0;while(1){H[a>>2]=g+H[a>>2];H[a+4>>2]=f+H[a+4>>2];a=a+8|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}break l}c=Ya[H[H[e+12>>2]+44>>2]](e,d,i,i+16|0)|0}mh(d- -64|0,i)}e=c;H[d+12>>2]=b;H[H[d+156>>2]+40>>2]=h;if(e){break a}e=0;if(h&1){break a}a=H[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=h>>>16&15;a=a?a:h>>>11&2;if(h&4){b=H[d+4>>2];if(!b){return 6}return qq(H[H[b+96>>2]+4>>2],d,a)|0}tj(d,a,0)}return e|0}function Ts(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=N(b,c)+a|0;if(b>>>0>=10){p=0-c|0;q=c-1&3;o=c-2>>>0<3;while(1){j=a+c|0;g=H[j+4>>2];h=N(b>>>1|0,c)+a|0;f=H[h+4>>2];e=ub(H[j>>2],H[h>>2],f>>>0>g>>>0?g:f);f=((e?e:g-f|0)|0)>0;d=f?j:h;g=N(b-1|0,c);l=g+a|0;k=l+p|0;e=H[k>>2];i=H[d+4>>2];m=H[k+4>>2];b=ub(H[d>>2],e,i>>>0>>0?i:m);if(((b?b:i-m|0)|0)>0){b=f?h:j;f=H[b+4>>2];i=b;b=ub(H[b>>2],e,f>>>0>>0?f:m);d=((b?b:f-m|0)|0)>0?i:k}if(!((d|0)==(l|0)|(c|0)<=0)){f=c+d|0;b=l;while(1){e=I[d|0];F[d|0]=I[b|0];F[b|0]=e;b=b+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}a:{if((g|0)<=0){h=0;break a}f=l;e=f;j=a;h=a;b:while(1){c:{if(e>>>0<=h>>>0){break c}while(1){g=H[h>>2];k=H[l>>2];i=H[h+4>>2];d=H[l+4>>2];b=ub(g,k,d>>>0>i>>>0?i:d);b=b?b:i-d|0;if((b|0)>0){g=e;d:{if(e>>>0<=h>>>0){break d}while(1){e:{f:{e=g+p|0;m=H[e>>2];i=H[e+4>>2];b=ub(m,k,d>>>0>i>>>0?i:d);b=b?b:i-d|0;if(!b){i=f+p|0;if((c|0)<=0|f>>>0<=g>>>0){break f}F[e|0]=I[i|0];F[i|0]=m;d=e+1|0;if(g>>>0<=d>>>0){break f}k=0;b=i;if(q){while(1){f=I[d|0];F[d|0]=I[b+1|0];F[b+1|0]=f;d=d+1|0;b=b+1|0;k=k+1|0;if((q|0)!=(k|0)){continue}break}}if(o){break f}while(1){f=I[d|0];F[d|0]=I[b+1|0];F[b+1|0]=f;f=I[d+1|0];F[d+1|0]=I[b+2|0];F[b+2|0]=f;f=I[d+2|0];F[d+2|0]=I[b+3|0];F[b+3|0]=f;f=I[d+3|0];F[d+3|0]=I[b+4|0];F[b+4|0]=f;b=b+4|0;d=d+4|0;if(g>>>0>d>>>0){continue}break}break f}if((b|0)>=0){break e}g:{if((c|0)<=0|e>>>0<=h>>>0){break g}b=I[h|0];F[h|0]=m;F[e|0]=b;if((c|0)==1){break g}i=c+h|0;d=h+1|0;b=e;while(1){g=I[d|0];F[d|0]=I[b+1|0];F[b+1|0]=g;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}h=c+h|0;break d}f=i}if(e>>>0<=h>>>0){break d}k=H[l>>2];d=H[l+4>>2];g=e;continue}}if(e>>>0>h>>>0){continue b}break c}if(!b){h:{if((c|0)<=0|h>>>0<=j>>>0){break h}b=I[j|0];F[j|0]=g;F[h|0]=b;if((c|0)==1){break h}i=c+j|0;d=j+1|0;b=h;while(1){g=I[d|0];F[d|0]=I[b+1|0];F[b+1|0]=g;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}j=c+j|0}h=c+h|0;if(h>>>0>>0){continue}break}}break}g=e-j|0;i:{if((a|0)==(j|0)|(e|0)==(j|0)){break i}b=j-a|0;if(b>>>0>g>>>0){if((g|0)<=0){break i}l=a+g|0;d=a+b|0;b=a;while(1){i=I[b|0];F[b|0]=I[d|0];F[d|0]=i;d=d+1|0;b=b+1|0;if(l>>>0>b>>>0){continue}break}break i}if((b|0)<=0){break i}l=a+b|0;d=a+g|0;b=a;while(1){i=I[b|0];F[b|0]=I[d|0];F[d|0]=i;d=d+1|0;b=b+1|0;if(l>>>0>b>>>0){continue}break}}h=f-e|0;if((e|0)==(f|0)|(f|0)==(n|0)){break a}b=n-f|0;if(b>>>0>>0){if((b|0)<=0){break a}f=b+e|0;d=e+h|0;while(1){b=I[e|0];F[e|0]=I[d|0];F[d|0]=b;d=d+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}break a}if((h|0)<=0){break a}f=e+h|0;d=b+e|0;while(1){b=I[e|0];F[e|0]=I[d|0];F[d|0]=b;d=d+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}Ts(a,(g>>>0)/(c>>>0)|0,c);a=n-h|0;b=(h>>>0)/(c>>>0)|0;n=a+N(c,b)|0;if(b>>>0>=10){continue}break}}f=a+c|0;j:{if(n>>>0<=f>>>0){break j}m=0-c|0;if((c|0)>0){o=c+2&3;i=c-3>>>0<3;while(1){k=f;k:{if(a>>>0>=f>>>0){break k}while(1){e=k;k=e+m|0;j=H[k>>2];g=H[e>>2];h=H[k+4>>2];l=H[e+4>>2];b=ub(j,g,h>>>0>>0?h:l);if(((b?b:h-l|0)|0)<=0){break k}F[k|0]=g;F[e|0]=j;b=k+1|0;l:{if(b>>>0>=e>>>0){break l}F[b|0]=I[e+1|0];F[e+1|0]=j>>>8;d=b+1|0;if((e|0)==(d|0)){break l}b=e+1|0;h=0;if(o){while(1){g=I[d|0];F[d|0]=I[b+1|0];F[b+1|0]=g;d=d+1|0;b=b+1|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}if(i){break l}while(1){g=I[d|0];F[d|0]=I[b+1|0];F[b+1|0]=g;g=I[d+1|0];F[d+1|0]=I[b+2|0];F[b+2|0]=g;g=I[d+2|0];F[d+2|0]=I[b+3|0];F[b+3|0]=g;g=I[d+3|0];F[d+3|0]=I[b+4|0];F[b+4|0]=g;b=b+4|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}}if(a>>>0>>0){continue}break}}f=c+f|0;if(n>>>0>f>>>0){continue}break}break j}while(1){m:{if(a>>>0>=f>>>0){break m}e=H[f>>2];d=H[f+4>>2];b=f;while(1){b=b+m|0;g=H[b>>2];i=H[b+4>>2];e=ub(g,e,d>>>0>i>>>0?i:d);if(((e?e:i-d|0)|0)<=0){break m}e=g;d=i;if(a>>>0>>0){continue}break}}f=c+f|0;if(n>>>0>f>>>0){continue}break}}}function IL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Wa-48|0;Wa=e;H[b+72>>2]=0;a:{c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(n){q=n-1|0;a=a+8|0;while(1){c=I[a+4|0];b:{if(c&32){break b}f=H[b+16>>2];d=H[f+40>>2];if(((d&-2)!=4|0)==(c<<24>>24>=0|0)){break b}c=H[b+8>>2];H[e+16>>2]=h;if(!Fb(f,c,106245,e+16|0)){break b}h=d&-3;g=1;c:{if(j){break c}g=0;if(!(I[a+4|0]&64)){break c}j=H[b+16>>2];f=H[j+68>>2];g=1;if(!f){break c}d=H[j+88>>2];j=0;if((f|0)!=1){g=f&-2;c=0;while(1){i=d+N(j,20)|0;F[i+18|0]=2;G[i+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;i=d+N(j|1,20)|0;F[i+18|0]=2;G[i+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;j=j+2|0;c=c+2|0;if((g|0)!=(c|0)){continue}break}}g=1;if(!(f&1)){break c}c=d+N(j,20)|0;F[c+18|0]=2;G[c+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;g=1}j=g;k=(h|0)!=5;d:{if(k){break d}h=H[b+16>>2];i=H[h+68>>2];if(i>>>0>=2){m=H[h+80>>2];c=i-1|0;f=0;while(1){g=m+N(c,20)|0;d=g;H[e+40>>2]=H[d+16>>2];l=H[d+12>>2];H[e+32>>2]=H[d+8>>2];H[e+36>>2]=l;l=H[d+4>>2];H[e+24>>2]=H[d>>2];H[e+28>>2]=l;d=m+N(f,20)|0;H[g+16>>2]=H[d+16>>2];l=H[d+12>>2];H[g+8>>2]=H[d+8>>2];H[g+12>>2]=l;l=H[d+4>>2];H[g>>2]=H[d>>2];H[g+4>>2]=l;H[d+16>>2]=H[e+40>>2];g=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=g;g=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=g;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}if(!I[h+62|0]){break d}c=H[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break d}g=H[h+88>>2];c=c-1|0;f=0;while(1){h=g+N(c,20)|0;d=h;H[e+40>>2]=H[d+16>>2];i=H[d+12>>2];H[e+32>>2]=H[d+8>>2];H[e+36>>2]=i;i=H[d+4>>2];H[e+24>>2]=H[d>>2];H[e+28>>2]=i;d=g+N(f,20)|0;H[h+16>>2]=H[d+16>>2];i=H[d+12>>2];H[h+8>>2]=H[d+8>>2];H[h+12>>2]=i;i=H[d+4>>2];H[h>>2]=H[d>>2];H[h+4>>2]=i;H[d+16>>2]=H[e+40>>2];h=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=h;h=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=h;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}f=H[b+52>>2];c=H[f+12>>2];H[b+24>>2]=c;f=c+H[f+16>>2]|0;H[b+28>>2]=f;e:{if(!a|o>>>0>=q>>>0){break e}if(!(a>>>0>>0&a>>>0>=c>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break e}H[b+24>>2]=a;f=f-a|0;c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);H[b+28>>2]=(c>>>0>f>>>0?f:c)+a}H[65057]=0;l=ca(713,a|0,b|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}c=H[b+52>>2];f=H[c+12>>2];H[b+24>>2]=f;H[b+28>>2]=f+H[c+16>>2];f:{if(k){break f}h=H[b+16>>2];i=H[h+68>>2];if(i>>>0>=2){m=H[h+80>>2];c=i-1|0;f=0;while(1){g=m+N(c,20)|0;d=g;H[e+40>>2]=H[d+16>>2];k=H[d+12>>2];H[e+32>>2]=H[d+8>>2];H[e+36>>2]=k;k=H[d+4>>2];H[e+24>>2]=H[d>>2];H[e+28>>2]=k;d=m+N(f,20)|0;H[g+16>>2]=H[d+16>>2];k=H[d+12>>2];H[g+8>>2]=H[d+8>>2];H[g+12>>2]=k;k=H[d+4>>2];H[g>>2]=H[d>>2];H[g+4>>2]=k;H[d+16>>2]=H[e+40>>2];g=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=g;g=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=g;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}if(!I[h+62|0]){break f}c=H[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break f}g=H[h+88>>2];c=c-1|0;f=0;while(1){h=g+N(c,20)|0;d=h;H[e+40>>2]=H[d+16>>2];i=H[d+12>>2];H[e+32>>2]=H[d+8>>2];H[e+36>>2]=i;i=H[d+4>>2];H[e+24>>2]=H[d>>2];H[e+28>>2]=i;d=g+N(f,20)|0;H[h+16>>2]=H[d+16>>2];i=H[d+12>>2];H[h+8>>2]=H[d+8>>2];H[h+12>>2]=i;i=H[d+4>>2];H[h>>2]=H[d>>2];H[h+4>>2]=i;H[d+16>>2]=H[e+40>>2];h=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=h;h=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=h;c=c-1|0;f=f+1|0;if(c>>>0>f>>>0){continue}break}}p=l|p;c=H[b+8>>2];f=H[b+16>>2];H[e>>2]=H[b+72>>2];Fb(f,c,106272,e)}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);h=H[b+72>>2]+1|0;H[b+72>>2]=h;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;o=o+1|0;if((n|0)!=(o|0)){continue}break}}Wa=e+48|0;return p&1}a=$()|0;_()|0;c=H[b+52>>2];j=H[c+12>>2];H[b+24>>2]=j;H[b+28>>2]=j+H[c+16>>2];ba(a|0);X()}function pl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=1;a:{b:{c:{switch(I[a+7|0]){case 0:d=0;f=H[b+4>>2];e=a+12|0;if(f>>>0>e>>>0){break b}c=H[b+8>>2];if(c>>>0>>0|c-e>>>0<8){break b}g=H[b+12>>2]-8|0;H[b+12>>2]=g;if((g|0)<=0){break b}e=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>715827881){break b}if(e){a=a+28|0;if(a>>>0>>0|a>>>0>c>>>0){break b}c=c-a|0;a=N(e,6);if(c>>>0>>0){break b}a=g-a|0;H[b+12>>2]=a;if((a|0)<=0){break b}}return 1;case 1:d=0;if(K[b+4>>2]>a>>>0){break b}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=H[b+12>>2]-32|0;H[b+12>>2]=c;if((c|0)<=0){break b}break a;case 2:d=0;e=H[b+4>>2];d:{if(e>>>0>a>>>0){break d}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break d}g=H[b+12>>2];f=g-28|0;H[b+12>>2]=f;if((f|0)<=0){break d}f=e;e=a+16|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<4){break d}c=g-32|0;H[b+12>>2]=c;if((c|0)<=0){break d}c=F[e|0];if((c|0)<0){break d}e:{if(!td((I[a+19|0]|(I[a+17|0]<<16|(c&255)<<24|I[a+18|0]<<8))+a|0,b)){break e}c=a+20|0;if(c>>>0>2]){break e}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}d=H[b+12>>2]-4|0;H[b+12>>2]=d;if((d|0)<=0){break e}d=0;c=F[c|0];if((c|0)<0){break d}if(!td((I[a+23|0]|(I[a+21|0]<<16|(c&255)<<24|I[a+22|0]<<8))+a|0,b)){break e}d=1;c=I[a+24|0]|I[a+25|0]<<8|(I[a+26|0]<<16|I[a+27|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break d}if(K[b+4>>2]>a>>>0){break e}e=H[b+8>>2];if(e>>>0>>0){break e}d=0;if(c>>>0>e-a>>>0){break d}a=H[b+12>>2]-c|0;H[b+12>>2]=a;d=(a|0)>0;break d}d=0}return d|0;case 4:d=0;if(K[b+4>>2]>a>>>0){break b}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=H[b+12>>2]-32|0;H[b+12>>2]=c;if((c|0)<=0){break b}break a;case 6:break c;default:break b}}f:{g:{c=H[b+4>>2];if(c>>>0>a>>>0){break g}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<36){break g}e=H[b+12>>2];g=e-36|0;H[b+12>>2]=g;if((g|0)<=0){break g}h:{i:{if(F[a+15|0]&1){f=c;c=a+20|0;if(f>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<4){break g}d=e-40|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=0;c=F[c|0];if((c|0)<0){break g}if(!ol((I[a+23|0]|(I[a+21|0]<<16|(c&255)<<24|I[a+22|0]<<8))+a|0,b)){break h}c=a+24|0;if(c>>>0>2]){break h}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break h}e=H[b+12>>2]-4|0;H[b+12>>2]=e;if((e|0)<=0){break h}c=F[c|0];if((c|0)<0){break h}if(!ol((I[a+27|0]|(I[a+25|0]<<16|(c&255)<<24|I[a+26|0]<<8))+a|0,b)){break g}d=I[a+28|0]|I[a+29|0]<<8|(I[a+30|0]<<16|I[a+31|0]<<24);c=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!c){break i}if(K[b+4>>2]>a>>>0){break g}e=H[b+8>>2];if(e>>>0>>0){break g}d=0;if(c>>>0>e-a>>>0){break h}c=H[b+12>>2]-c|0;H[b+12>>2]=c;if((c|0)>0){break i}break h}f=c;c=a+20|0;if(f>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<4){break g}d=e-40|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=0;c=F[c|0];if((c|0)<0){break g}if(!td((I[a+23|0]|(I[a+21|0]<<16|(c&255)<<24|I[a+22|0]<<8))+a|0,b)){break h}c=a+24|0;if(c>>>0>2]){break h}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break h}e=H[b+12>>2]-4|0;H[b+12>>2]=e;if((e|0)<=0){break h}c=F[c|0];if((c|0)<0){break h}if(!td((I[a+27|0]|(I[a+25|0]<<16|(c&255)<<24|I[a+26|0]<<8))+a|0,b)){break g}d=I[a+28|0]|I[a+29|0]<<8|(I[a+30|0]<<16|I[a+31|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break i}if(K[b+4>>2]>a>>>0){break g}c=H[b+8>>2];if(c>>>0>>0|d>>>0>c-a>>>0){break g}c=H[b+12>>2]-d|0;H[b+12>>2]=c;d=0;if((c|0)<=0){break h}}d=1;c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);if(!(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break h}c=I[a+32|0]|I[a+33|0]<<8|(I[a+34|0]<<16|I[a+35|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break h}if(K[b+4>>2]>a>>>0){break g}e=H[b+8>>2];if(e>>>0>>0){break g}d=0;if(c>>>0>e-a>>>0){break h}a=H[b+12>>2]-c|0;H[b+12>>2]=a;d=(a|0)>0}break f}d=0}}return d|0}return zl(a+12|0,b)|0}function Nu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Wa-48|0;Wa=e;H[b+72>>2]=0;a:{c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(m){q=m-1|0;h=a+8|0;a=0;while(1){c=H[b+16>>2];d=H[c+40>>2];f=F[h+4|0];b:{if(((d&-2)!=4|0)==((f|0)>=0|0)){break b}g=H[b+8>>2];H[e+16>>2]=a;if(!Fb(c,g,106160,e+16|0)){break b}k=(f&16)>>>4^(d&-3)!=5;a=1;c:{if(n){break c}a=0;if(!(I[h+4|0]&64)){break c}d=H[b+16>>2];c=H[d+68>>2];a=1;if(!c){break c}d=H[d+88>>2];f=0;if((c|0)!=1){n=c&-2;a=0;while(1){g=d+N(f,20)|0;F[g+18|0]=2;G[g+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;g=d+N(f|1,20)|0;F[g+18|0]=2;G[g+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;f=f+2|0;a=a+2|0;if((n|0)!=(a|0)){continue}break}}a=1;if(!(c&1)){break c}a=d+N(f,20)|0;F[a+18|0]=2;G[a+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;a=1}n=a;d:{if(k){break d}g=H[b+16>>2];i=H[g+68>>2];if(i>>>0>=2){l=H[g+80>>2];a=i-1|0;f=0;while(1){c=l+N(a,20)|0;H[e+40>>2]=H[c+16>>2];d=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=d;d=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=d;d=l+N(f,20)|0;H[c+16>>2]=H[d+16>>2];j=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=j;j=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=j;H[d+16>>2]=H[e+40>>2];c=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=c;c=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}if(!I[g+62|0]){break d}a=H[g+68>>2];a=a>>>0>>0?a:i;if(a>>>0<2){break d}g=H[g+88>>2];a=a-1|0;f=0;while(1){c=g+N(a,20)|0;H[e+40>>2]=H[c+16>>2];d=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=d;d=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=d;d=g+N(f,20)|0;H[c+16>>2]=H[d+16>>2];i=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=i;i=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=i;H[d+16>>2]=H[e+40>>2];c=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=c;c=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}c=H[b+52>>2];a=H[c+12>>2];H[b+24>>2]=a;c=a+H[c+16>>2]|0;H[b+28>>2]=c;e:{if(!h|o>>>0>=q>>>0){break e}if(!(a>>>0<=h>>>0&c>>>0>h>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break e}H[b+24>>2]=h;c=c-h|0;a=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);H[b+28>>2]=(a>>>0>c>>>0?c:a)+h}H[65057]=0;l=ca(589,h|0,b|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[b+52>>2];c=H[a+12>>2];H[b+24>>2]=c;H[b+28>>2]=c+H[a+16>>2];f:{if(k){break f}g=H[b+16>>2];i=H[g+68>>2];if(i>>>0>=2){k=H[g+80>>2];a=i-1|0;f=0;while(1){c=k+N(a,20)|0;H[e+40>>2]=H[c+16>>2];d=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=d;d=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=d;d=k+N(f,20)|0;H[c+16>>2]=H[d+16>>2];j=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=j;j=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=j;H[d+16>>2]=H[e+40>>2];c=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=c;c=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}if(!I[g+62|0]){break f}a=H[g+68>>2];a=a>>>0>>0?a:i;if(a>>>0<2){break f}g=H[g+88>>2];a=a-1|0;f=0;while(1){c=g+N(a,20)|0;H[e+40>>2]=H[c+16>>2];d=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=d;d=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=d;d=g+N(f,20)|0;H[c+16>>2]=H[d+16>>2];i=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=i;i=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=i;H[d+16>>2]=H[e+40>>2];c=H[e+36>>2];H[d+8>>2]=H[e+32>>2];H[d+12>>2]=c;c=H[e+28>>2];H[d>>2]=H[e+24>>2];H[d+4>>2]=c;a=a-1|0;f=f+1|0;if(a>>>0>f>>>0){continue}break}}p=l|p;a=H[b+8>>2];c=H[b+16>>2];H[e>>2]=H[b+72>>2];Fb(c,a,106186,e)}c=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);a=H[b+72>>2]+1|0;H[b+72>>2]=a;h=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+h|0;o=o+1|0;if((m|0)!=(o|0)){continue}break}}Wa=e+48|0;return p&1}a=$()|0;_()|0;c=H[b+52>>2];d=H[c+12>>2];H[b+24>>2]=d;H[b+28>>2]=d+H[c+16>>2];ba(a|0);X()}function yr(a,b){var c=0,d=0,e=0,f=0,g=O(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Wa-32|0;Wa=j;h=H[b+100>>2];d=I[a+2|0]|I[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}c=Kb(c,H[H[h+80>>2]+N(H[h+64>>2],20)>>2]);i=I[a+4|0]|I[a+5|0]<<8;n=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:163632;d=0;a:{if(!(I[n|0]|I[n+1|0]<<8)){break a}d=H[h+64>>2];H[b+40>>2]=1;H[b+4>>2]=d;c=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[c+68>>2];F[b+24|0]=(d|0)==H[c+64>>2]?I[(H[c+80>>2]+N(d,20)|0)+15|0]:0;c=b+4|0;if(!Yd(c,j+28|0)){d=0;if(!(I[h+16|0]&64)){break a}Qb(h,2,H[j+28>>2],H[h+64>>2]+1|0,0,1);d=0;break a}d=I[a+2|0]|I[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}d=Kb(d,H[H[h+80>>2]+N(H[c>>2],20)>>2]);i=I[a+4|0]|I[a+5|0]<<8;d=d>>>0<((i<<8|i>>>8)&65535)>>>0?((d<<2)+a|0)+6|0:163632;r=I[d+2|0]|I[d+3|0]<<8;if(!r){d=0;if(!(I[h+16|0]&64)){break a}Qb(h,2,H[c>>2],H[h+64>>2]+1|0,0,1);d=0;break a}d=H[h+68>>2];i=H[h+64>>2];o=d>>>0>>0?d:i;d=H[c>>2];p=o-d|0;b:{if(p>>>0<2){break b}k=H[h+144>>2]|32;H[h+144>>2]=k;if(d>>>0>=o>>>0){break b}m=H[h+80>>2];f=-1;c=d;s=(c^-1)+o|0;if(s>>>0>=3){q=p&-4;while(1){e=N(c,20)+m|0;l=H[e+8>>2];f=f>>>0>>0?f:l;l=H[e+28>>2];f=f>>>0>>0?f:l;l=H[e+48>>2];f=f>>>0>>0?f:l;e=H[e+68>>2];f=f>>>0>>0?f:e;c=c+4|0;t=t+4|0;if((q|0)!=(t|0)){continue}break}}q=p&3;if(q){e=0;while(1){l=H[(N(c,20)+m|0)+8>>2];f=f>>>0>>0?f:l;c=c+1|0;e=e+1|0;if((q|0)!=(e|0)){continue}break}}c=d;if(p&1){c=N(d,20)+m|0;if(H[c+8>>2]!=(f|0)){H[h+144>>2]=k;H[c+4>>2]=H[c+4>>2]|3}c=d+1|0}if(!s){break b}while(1){e=N(c,20)+m|0;if(H[e+8>>2]!=(f|0)){k=k|32;H[h+144>>2]=k;H[e+4>>2]=H[e+4>>2]|3}e=N(c+1|0,20)+m|0;if(H[e+8>>2]!=(f|0)){k=k|32;H[h+144>>2]=k;H[e+4>>2]=H[e+4>>2]|3}c=c+2|0;if((o|0)!=(c|0)){continue}break}}Bh(((r<<8|r>>>8)&65535)+a|0,b,H[H[h+80>>2]+N(d,20)>>2],j+16|0,j+12|0);c=I[n|0]|I[n+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}Bh(a,b,H[H[h+80>>2]+N(i,20)>>2],j+24|0,j+20|0);f=H[h+88>>2];c:{d:{e:{f:{g:{k=H[b+116>>2];switch(k-4|0){case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break c}}c=f+N(d,20)|0;g=O(O(T(O(L[j+16>>2]+O(.5))))+O(H[c+8>>2]));h:{if(O(P(g))>2]=a;a=f+N(i,20)|0;e=H[a+8>>2];g=O(O(T(O(L[j+24>>2]+O(.5))))+O(e|0));i:{if(O(P(g))>2]=e-c;H[a>>2]=H[a>>2]-c;break c}a=f+N(d,20)|0;e=H[a+8>>2];g=O(O(T(O(L[j+16>>2]+O(.5))))+O(e|0));j:{if(O(P(g))>2]=e-c;H[a>>2]=H[a>>2]-c;a=f+N(i,20)|0;g=O(O(T(O(L[j+24>>2]+O(.5))))+O(H[a+8>>2]));if(O(P(g))>2]=~~g;break c}H[a>>2]=-2147483648;break c}c=f+N(d,20)|0;g=O(O(T(O(L[j+12>>2]+O(.5))))+O(H[c+12>>2]));k:{if(O(P(g))>2]=a;a=f+N(i,20)|0;e=H[a+12>>2];g=O(O(T(O(L[j+20>>2]+O(.5))))+O(e|0));l:{if(O(P(g))>2]=e-c;H[a+4>>2]=H[a+4>>2]-c;break c}a=f+N(d,20)|0;e=H[a+12>>2];g=O(O(T(O(L[j+12>>2]+O(.5))))+O(e|0));m:{if(O(P(g))>2]=e-c;H[a+4>>2]=H[a+4>>2]-c;c=f+N(i,20)|0;g=O(T(O(L[j+20>>2]+O(.5))));n:{if(O(P(g))>2]=a}a=I[b+132|0];g=O(L[j+20>>2]-L[j+12>>2]);o:{if(O(P(g))>2]-L[j+16>>2]);p:{if(O(P(g))>1]=d-a;F[i+18|0]=2;H[h+144>>2]=H[h+144>>2]|8;r:{if((H[b+116>>2]&-2)==4){H[i+12>>2]=c;break r}H[i+8>>2]=e}a=f+N(d,20)|0;if(G[a+16>>1]==(0-G[i+16>>1]|0)){G[a+16>>1]=0}H[h+64>>2]=H[h+64>>2]+1;d=1}Wa=j+32|0;return d}function js(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=Wa-16|0;Wa=r;a:{if(K[b+4>>2]>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=H[b+12>>2]-4|0;H[b+12>>2]=d;if((I[a|0]|I[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!is(a+4|0,b,a)){break a}if(!hs(a+6|0,b,a)){break a}n=a+8|0;if(n>>>0>2]){break a}d=H[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break a}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[n|0]|I[n+1|0]<<8;b:{if(!d){break b}k=((d<<8|d>>>8)&65535)+a|0;H[r+12>>2]=k;e=H[b+4>>2];c:{d:{if(e>>>0>k>>>0){break d}f=H[b+8>>2];if(f>>>0>>0|f-k>>>0<2){break d}g=H[b+12>>2]-2|0;H[b+12>>2]=g;if((g|0)<=0){break d}h=I[k|0]|I[k+1|0]<<8;d=1;if(!h){break c}d=k+2|0;if(d>>>0>>0|d>>>0>f>>>0){break d}j=f-d|0;d=(h<<8|h>>>8)&65535;f=d<<1;if(j>>>0>>0){break d}f=g-f|0;H[b+12>>2]=f;if((f|0)<=0){break d}l=k+2|0;if(e>>>0>l>>>0){break d}v=d>>>0>1?d:1;while(1){e:{c=H[b+8>>2];if(c>>>0>>0|c-l>>>0<2){break e}d=H[r+12>>2];c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break e}c=I[l|0]|I[l+1|0]<<8;f:{if(!c){break f}g=0;p=Wa-16|0;Wa=p;f=d+((c<<8|c>>>8)&65535)|0;d=H[b+4>>2];g:{if(f>>>0>>0){break g}c=H[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break g}e=H[b+12>>2];h=e-6|0;H[b+12>>2]=h;if((h|0)<=0){break g}h=f+4|0;if(h>>>0>>0|c>>>0>>0|c-h>>>0<2){break g}e=e-8|0;H[b+12>>2]=e;if((e|0)<=0){break g}q=I[f+4|0]|I[f+5|0]<<8;u=q<<8|q>>>8;s=u&65535;m=s<<1;if(q){i=f+6|0;if(i>>>0>>0|c>>>0>>0|m>>>0>c-i>>>0){break g}e=e-m|0;H[b+12>>2]=e;if((e|0)<=0){break g}}i=H[b+16>>2]+s|0;H[b+16>>2]=i;if((i|0)>16383){break g}if(I[f+3|0]&16){j=d;d=(f+m|0)+6|0;if(j>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break g}H[b+12>>2]=e-2;if((e|0)<3){break g}}H[p+12>>2]=f;c=I[f|0]|I[f+1|0]<<8;H[p+8>>2]=(c<<8|c>>>8)&65535;d=0;m=H[b+4>>2];h:{i:{if(m>>>0>h>>>0){break i}e=H[b+8>>2];if(e>>>0>>0|e-h>>>0<2){break i}i=H[b+12>>2]-2|0;H[b+12>>2]=i;if((i|0)<=0){break i}o=I[h|0]|I[h+1|0]<<8;j=1;if(!o){break h}c=h+2|0;if(m>>>0>c>>>0|c>>>0>e>>>0){break i}o=(o<<8|o>>>8)&65535;j=o<<1;if(j>>>0>e-c>>>0){break i}c=i-j|0;H[b+12>>2]=c;if((c|0)<=0){break i}e=h+2|0;if(m>>>0>e>>>0){break i}m=o>>>0>1?o:1;c=0;while(1){j:{d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break j}i=H[p+12>>2];d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break j}d=I[e|0]|I[e+1|0]<<8;k:{if(!d){break k}if(ds(i+((d<<8|d>>>8)&65535)|0,b,H[p+8>>2])){break k}d=H[b+28>>2];if(d>>>0>31){break j}H[b+28>>2]=d+1;if(!I[b+24|0]){break j}F[e|0]=0;F[e+1|0]=0}d=1;c=c+1|0;if((m|0)==(c|0)){break i}e=(h+(c<<1)|0)+2|0;if(e>>>0>=K[b+4>>2]){continue}}break}d=0}j=d}if(!j){break g}g=1;if(H[b+28>>2]|(!q|(I[f|0]|I[f+1|0]<<8)!=1792)){break g}d=0;c=J[81816];e=I[f+4|0]|I[f+5|0]<<8;g=e?I[f+6|0]|I[f+7|0]<<8:c;l:{if(!(g&65535)){g=163632;break l}g=f+((g<<8|(g&65280)>>>8)&65535)|0;c=I[g|0]|I[g+1|0]<<8}if((c&65535)==256){c=I[g+2|0]|I[g+3|0]<<8;d=(c<<8|c>>>8)&65535}c=1;if((u&65535)>>>0<2){g=1;break g}q=(e<<8|e>>>8)&65535;while(1){g=163632;e=c>>>0>>0?(h+(c<<1)|0)+2|0:163632;e=I[e|0]|I[e+1|0]<<8;if(e){g=f+((e<<8|e>>>8)&65535)|0}e=0;if((I[g|0]|I[g+1|0]<<8)==256){e=I[g+2|0]|I[g+3|0]<<8;e=(e<<8|e>>>8)&65535}g=(d|0)==(e|0);if((d|0)!=(e|0)){break g}c=c+1|0;if((s|0)!=(c|0)){continue}break}}Wa=p+16|0;if(g){break f}c=H[b+28>>2];if(c>>>0>31){break e}H[b+28>>2]=c+1;if(!I[b+24|0]){break e}F[l|0]=0;F[l+1|0]=0}c=1;t=t+1|0;if((v|0)==(t|0)){break d}l=((t<<1)+k|0)+2|0;if(l>>>0>=K[b+4>>2]){continue}}break}c=0}d=c}if(d){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[n|0]=0;F[n+1|0]=0}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!gs(a+10|0,b,a)){break a}}w=1}Wa=r+16|0;return w}function Fr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=Wa-16|0;Wa=r;a:{if(K[b+4>>2]>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=H[b+12>>2]-4|0;H[b+12>>2]=d;if((I[a|0]|I[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!is(a+4|0,b,a)){break a}if(!hs(a+6|0,b,a)){break a}n=a+8|0;if(n>>>0>2]){break a}d=H[b+8>>2];if(d>>>0>>0|d-n>>>0<2){break a}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[n|0]|I[n+1|0]<<8;b:{if(!d){break b}k=((d<<8|d>>>8)&65535)+a|0;H[r+12>>2]=k;e=H[b+4>>2];c:{d:{if(e>>>0>k>>>0){break d}f=H[b+8>>2];if(f>>>0>>0|f-k>>>0<2){break d}g=H[b+12>>2]-2|0;H[b+12>>2]=g;if((g|0)<=0){break d}h=I[k|0]|I[k+1|0]<<8;d=1;if(!h){break c}d=k+2|0;if(d>>>0>>0|d>>>0>f>>>0){break d}j=f-d|0;d=(h<<8|h>>>8)&65535;f=d<<1;if(j>>>0>>0){break d}f=g-f|0;H[b+12>>2]=f;if((f|0)<=0){break d}l=k+2|0;if(e>>>0>l>>>0){break d}v=d>>>0>1?d:1;while(1){e:{c=H[b+8>>2];if(c>>>0>>0|c-l>>>0<2){break e}d=H[r+12>>2];c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break e}c=I[l|0]|I[l+1|0]<<8;f:{if(!c){break f}g=0;p=Wa-16|0;Wa=p;f=d+((c<<8|c>>>8)&65535)|0;d=H[b+4>>2];g:{if(f>>>0>>0){break g}c=H[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break g}e=H[b+12>>2];h=e-6|0;H[b+12>>2]=h;if((h|0)<=0){break g}h=f+4|0;if(h>>>0>>0|c>>>0>>0|c-h>>>0<2){break g}e=e-8|0;H[b+12>>2]=e;if((e|0)<=0){break g}q=I[f+4|0]|I[f+5|0]<<8;u=q<<8|q>>>8;s=u&65535;m=s<<1;if(q){i=f+6|0;if(i>>>0>>0|c>>>0>>0|m>>>0>c-i>>>0){break g}e=e-m|0;H[b+12>>2]=e;if((e|0)<=0){break g}}i=H[b+16>>2]+s|0;H[b+16>>2]=i;if((i|0)>16383){break g}if(I[f+3|0]&16){j=d;d=(f+m|0)+6|0;if(j>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break g}H[b+12>>2]=e-2;if((e|0)<3){break g}}H[p+12>>2]=f;c=I[f|0]|I[f+1|0]<<8;H[p+8>>2]=(c<<8|c>>>8)&65535;d=0;m=H[b+4>>2];h:{i:{if(m>>>0>h>>>0){break i}e=H[b+8>>2];if(e>>>0>>0|e-h>>>0<2){break i}i=H[b+12>>2]-2|0;H[b+12>>2]=i;if((i|0)<=0){break i}o=I[h|0]|I[h+1|0]<<8;j=1;if(!o){break h}c=h+2|0;if(m>>>0>c>>>0|c>>>0>e>>>0){break i}o=(o<<8|o>>>8)&65535;j=o<<1;if(j>>>0>e-c>>>0){break i}c=i-j|0;H[b+12>>2]=c;if((c|0)<=0){break i}e=h+2|0;if(m>>>0>e>>>0){break i}m=o>>>0>1?o:1;c=0;while(1){j:{d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break j}i=H[p+12>>2];d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break j}d=I[e|0]|I[e+1|0]<<8;k:{if(!d){break k}if(Er(i+((d<<8|d>>>8)&65535)|0,b,H[p+8>>2])){break k}d=H[b+28>>2];if(d>>>0>31){break j}H[b+28>>2]=d+1;if(!I[b+24|0]){break j}F[e|0]=0;F[e+1|0]=0}d=1;c=c+1|0;if((m|0)==(c|0)){break i}e=(h+(c<<1)|0)+2|0;if(e>>>0>=K[b+4>>2]){continue}}break}d=0}j=d}if(!j){break g}g=1;if(H[b+28>>2]|(!q|(I[f|0]|I[f+1|0]<<8)!=2304)){break g}d=0;c=J[81816];e=I[f+4|0]|I[f+5|0]<<8;g=e?I[f+6|0]|I[f+7|0]<<8:c;l:{if(!(g&65535)){g=163632;break l}g=f+((g<<8|(g&65280)>>>8)&65535)|0;c=I[g|0]|I[g+1|0]<<8}if((c&65535)==256){c=I[g+2|0]|I[g+3|0]<<8;d=(c<<8|c>>>8)&65535}c=1;if((u&65535)>>>0<2){g=1;break g}q=(e<<8|e>>>8)&65535;while(1){g=163632;e=c>>>0>>0?(h+(c<<1)|0)+2|0:163632;e=I[e|0]|I[e+1|0]<<8;if(e){g=f+((e<<8|e>>>8)&65535)|0}e=0;if((I[g|0]|I[g+1|0]<<8)==256){e=I[g+2|0]|I[g+3|0]<<8;e=(e<<8|e>>>8)&65535}g=(d|0)==(e|0);if((d|0)!=(e|0)){break g}c=c+1|0;if((s|0)!=(c|0)){continue}break}}Wa=p+16|0;if(g){break f}c=H[b+28>>2];if(c>>>0>31){break e}H[b+28>>2]=c+1;if(!I[b+24|0]){break e}F[l|0]=0;F[l+1|0]=0}c=1;t=t+1|0;if((v|0)==(t|0)){break d}l=((t<<1)+k|0)+2|0;if(l>>>0>=K[b+4>>2]){continue}}break}c=0}d=c}if(d){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[n|0]=0;F[n+1|0]=0}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!gs(a+10|0,b,a)){break a}}w=1}Wa=r+16|0;return w}function sl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=Wa-32|0;Wa=h;e=I[c+2|0]|I[c+3|0]<<8;n=(e<<8|e>>>8)&65535;d=H[b+4>>2];o=H[d+72>>2];b=I[c+6|0]|I[c+7|0]<<8;a:{if((b|0)!=65535){g=n&31;e=H[d+152>>2]-g|0;H[d+152>>2]=e;if((e|0)<=0){break a}m=H[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;b:{c:{if(!g){break c}b=H[a+4>>2];if(m>>>0>2]){break c}e=H[b+28>>2];if(e>>>0>>0){break c}f=e-m|0;e=g<<1;if(f>>>0>>0){break c}f=b;b=H[b+32>>2]-e|0;H[f+32>>2]=b;if((b|0)>0){break b}}g=0}if(!$c(d,H[a+8>>2])){break a}f=n&1024;d:{if(f){break d}b=H[d+64>>2];if(b>>>0>=K[d+68>>2]){break d}b=H[d+80>>2]+N(b,20)|0;H[h+24>>2]=H[b+16>>2];e=H[b+12>>2];H[h+16>>2]=H[b+8>>2];H[h+20>>2]=e;e=H[b+4>>2];H[h+8>>2]=H[b>>2];H[h+12>>2]=e;if(!qb(d,0,1)){break a}e=H[h+12>>2];b=H[d+84>>2]+N(H[d+72>>2],20)|0;H[b>>2]=H[h+8>>2];H[b+4>>2]=e;H[b+16>>2]=H[h+24>>2];e=H[h+20>>2];H[b+8>>2]=H[h+16>>2];H[b+12>>2]=e;H[d+72>>2]=H[d+72>>2]+1}if(!qb(d,0,g)){break a}b=H[d+64>>2];i=H[d+68>>2];e:{if(b>>>0>>0){e=H[d+80>>2]+N(b,20)|0;break e}e=H[d+72>>2];e=H[d+84>>2]+N(e?e-1|0:0,20)|0}p=f;if(g){b=H[d+84>>2]+N(H[d+72>>2],20)|0;i=0;if((g|0)!=1){k=g&30;while(1){f=H[e+4>>2];H[b>>2]=H[e>>2];H[b+4>>2]=f;H[b+16>>2]=H[e+16>>2];f=e+8|0;l=H[f+4>>2];H[b+8>>2]=H[f>>2];H[b+12>>2]=l;f=i<<1;l=f+m|0;l=I[l|0]|I[l+1|0]<<8;H[b>>2]=(l<<8|l>>>8)&65535;H[b+36>>2]=H[e+16>>2];l=H[e+12>>2];H[b+28>>2]=H[e+8>>2];H[b+32>>2]=l;l=H[e+4>>2];H[b+20>>2]=H[e>>2];H[b+24>>2]=l;f=m+(f|2)|0;f=I[f|0]|I[f+1|0]<<8;H[b+20>>2]=(f<<8|f>>>8)&65535;i=i+2|0;b=b+40|0;j=j+2|0;if((k|0)!=(j|0)){continue}break}}if(g&1){j=H[e+4>>2];H[b>>2]=H[e>>2];H[b+4>>2]=j;H[b+16>>2]=H[e+16>>2];j=H[e+12>>2];H[b+8>>2]=H[e+8>>2];H[b+12>>2]=j;e=b;b=m+(i<<1)|0;b=I[b|0]|I[b+1|0]<<8;H[e>>2]=(b<<8|b>>>8)&65535}H[d+72>>2]=H[d+72>>2]+g;i=H[d+68>>2];b=H[d+64>>2]}if(!(p|b>>>0>=i>>>0)){H[d+64>>2]=b+1}if(!$c(d,g+o|0)){break a}b=H[d+64>>2]+1|0;e=H[d+68>>2];Qb(d,3,H[a+8>>2],b>>>0>>0?b:e,1,1)}if(n&32768){H[a+8>>2]=o}b=I[c+4|0]|I[c+5|0]<<8;if((b|0)==65535){break a}g=n>>>5&31;c=H[d+152>>2]-g|0;H[d+152>>2]=c;if((c|0)<=0){break a}c=H[a+12>>2]+(((b<<8|b>>>8)&65535)<<1)|0;f:{g:{if(!g){break g}a=H[a+4>>2];if(c>>>0>2]){break g}b=H[a+28>>2];if(b>>>0>>0){break g}e=b-c|0;b=g<<1;if(e>>>0>>0){break g}e=a;a=H[a+32>>2]-b|0;H[e+32>>2]=a;if((a|0)>0){break f}}g=0}e=H[d+72>>2];m=n&2048;h:{if(m){break h}a=H[d+64>>2];if(a>>>0>=K[d+68>>2]){break h}a=H[d+80>>2]+N(a,20)|0;H[h+24>>2]=H[a+16>>2];b=H[a+12>>2];H[h+16>>2]=H[a+8>>2];H[h+20>>2]=b;b=H[a+4>>2];H[h+8>>2]=H[a>>2];H[h+12>>2]=b;if(!qb(d,0,1)){break a}b=H[h+12>>2];a=H[d+84>>2]+N(H[d+72>>2],20)|0;H[a>>2]=H[h+8>>2];H[a+4>>2]=b;H[a+16>>2]=H[h+24>>2];b=H[h+20>>2];H[a+8>>2]=H[h+16>>2];H[a+12>>2]=b;H[d+72>>2]=H[d+72>>2]+1}if(!qb(d,0,g)){break a}b=H[d+64>>2];i=H[d+68>>2];i:{if(b>>>0>>0){a=H[d+80>>2]+N(b,20)|0;break i}a=H[d+72>>2];a=H[d+84>>2]+N(a?a-1|0:0,20)|0}if(g){b=H[d+84>>2]+N(H[d+72>>2],20)|0;i=0;if((g|0)!=1){o=g&30;j=0;while(1){f=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=f;H[b+16>>2]=H[a+16>>2];f=a+8|0;k=H[f+4>>2];H[b+8>>2]=H[f>>2];H[b+12>>2]=k;f=i<<1;k=f+c|0;k=I[k|0]|I[k+1|0]<<8;H[b>>2]=(k<<8|k>>>8)&65535;H[b+36>>2]=H[a+16>>2];k=H[a+12>>2];H[b+28>>2]=H[a+8>>2];H[b+32>>2]=k;k=H[a+4>>2];H[b+20>>2]=H[a>>2];H[b+24>>2]=k;f=c+(f|2)|0;f=I[f|0]|I[f+1|0]<<8;H[b+20>>2]=(f<<8|f>>>8)&65535;i=i+2|0;b=b+40|0;j=j+2|0;if((o|0)!=(j|0)){continue}break}}if(g&1){j=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=j;H[b+16>>2]=H[a+16>>2];j=H[a+12>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=j;a=c+(i<<1)|0;a=I[a|0]|I[a+1|0]<<8;H[b>>2]=(a<<8|a>>>8)&65535}H[d+72>>2]=H[d+72>>2]+g;i=H[d+68>>2];b=H[d+64>>2]}if(!(b>>>0>=i>>>0|m)){H[d+64>>2]=b+1}$c(d,e+(n&16384?0:g)|0)}Wa=h+32|0}function He(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Wa-16|0;Wa=f;g=H[a+100>>2];H[f+8>>2]=0;d=Kc(b,H[a+92>>2]);a:{if(d){b:{c:{d:{e=H[a+80>>2];d=H[d>>2];a=e+(d<<4)|0;switch(H[a+4>>2]-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}b=H[a+12>>2];if(b){Ya[H[g+8>>2]](g,b)}H[a+12>>2]=0;if(!c|!I[c|0]){break a}l=a,m=bd(g,c,f+8|0),H[l+12>>2]=m;break a}a=0;e:{if(!c){break e}g=I[c|0];if(!g){break e}b=0;g=(g|0)==45;c=g+c|0;a=F[c|0];f:{if(!(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1)){break f}while(1){if((b|0)>214748362){b=2147483647;break f}b=I[a+24128|0]+N(b,10)|0;a=F[c+1|0];c=c+1|0;if(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}a=g?0-b|0:b}H[(e+(d<<4)|0)+12>>2]=a;break a}b=0;g:{if(!c){break g}a=F[c|0];g=a&255;if(!g|!(I[(g>>>3|0)+24096|0]>>>(a&7)&1)){break g}while(1){if(b>>>0>429496727){b=-1;break g}b=I[a+24128|0]+N(b,10)|0;a=F[c+1|0];c=c+1|0;if(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}H[(e+(d<<4)|0)+12>>2]=b;break a}h:{i=a+112|0;e=Kc(b,i);if(!e){e=H[a+100>>2];H[f+12>>2]=0;if(!Kc(b,i)){d=H[a+108>>2];d=jb(e,16,d,d+1|0,H[a+104>>2],f+12|0);H[a+104>>2]=d;h=H[f+12>>2];if(h){break h}d=d+(H[a+108>>2]<<4)|0;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;j=wb(b)+1|0;k=jb(e,1,0,j,0,f+12|0);H[d>>2]=k;h=H[f+12>>2];if(h){break h}mb(k,b,j);H[d+4>>2]=1;H[d+8>>2]=0;h=_g(H[d>>2],H[a+108>>2]+83|0,i,e);if(h){break h}H[a+108>>2]=H[a+108>>2]+1}H[f+8>>2]=0;e=Kc(b,i)}d=H[a+76>>2];if((d|0)==H[a+72>>2]){i:{if(!d){d=jb(g,16,0,1,0,f+8|0);H[a+80>>2]=d;if(!H[f+8>>2]){break i}break a}d=jb(g,16,d,d+1|0,H[a+80>>2],f+8|0);H[a+80>>2]=d;if(H[f+8>>2]){break a}}d=(H[a+72>>2]<<4)+d|0;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[a+72>>2]=H[a+72>>2]+1}h=H[a+80>>2];i=H[a+76>>2];j=h+(i<<4)|0;d=H[e>>2];j:{if(d>>>0>=83){d=(H[a+104>>2]+(d<<4)|0)-1328|0;break j}d=(d<<4)+21680|0}H[j>>2]=H[d>>2];H[j+4>>2]=H[d+4>>2];H[j+8>>2]=H[d+8>>2];k:{l:{m:{switch(H[d+4>>2]-1|0){case 0:H[j+12>>2]=0;if(!c|!I[c|0]){break k}l=j,m=bd(g,c,f+8|0),H[l+12>>2]=m;if(!H[f+8>>2]){break k}break a;case 1:d=0;if(!c){break l}e=I[c|0];if(!e){break l}k=(e|0)==45;e=k+c|0;c=F[e|0];n:{if(!(I[((c&248)>>>3|0)+24096|0]>>>(c&7)&1)){break n}while(1){if((d|0)>214748362){d=2147483647;break n}d=I[c+24128|0]+N(d,10)|0;c=F[e+1|0];e=e+1|0;if(I[((c&248)>>>3|0)+24096|0]>>>(c&7)&1){continue}break}}d=k?0-d|0:d;break l;case 2:break m;default:break k}}d=0;if(!c){break l}e=F[c|0];k=e&255;if(!k|!(I[(k>>>3|0)+24096|0]>>>(e&7)&1)){break l}while(1){if(d>>>0>429496727){d=-1;break l}d=I[e+24128|0]+N(d,10)|0;e=F[c+1|0];c=c+1|0;if(I[((e&248)>>>3|0)+24096|0]>>>(e&7)&1){continue}break}}H[(h+(i<<4)|0)+12>>2]=d}o:{p:{if(ub(b,11158,7)){break p}switch(I[b+7|0]){case 0:case 9:case 10:case 13:case 32:break o;default:break p}}c=_g(H[j>>2],H[a+76>>2],H[a+92>>2],g);H[f+8>>2]=c;if(c){break a}}H[a+76>>2]=H[a+76>>2]+1;q:{if(ub(b,12772,12)){break q}r:{switch(I[b+12|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}H[a+36>>2]=H[(h+(i<<4)|0)+12>>2];break a}s:{if(ub(b,12084,11)){break s}t:{switch(I[b+11|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}H[a+40>>2]=H[(h+(i<<4)|0)+12>>2];break a}u:{if(ub(b,12180,12)){break u}v:{switch(I[b+12|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}H[a+44>>2]=H[(h+(i<<4)|0)+12>>2];break a}if(ub(b,9396,7)){break a}w:{switch(I[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break a}}b=H[(h+(i<<4)|0)+12>>2];if(!b){H[f+8>>2]=3;break a}x:{switch(I[b|0]-67|0){case 13:case 45:H[a+28>>2]=8;break a;case 10:case 42:H[a+28>>2]=16;break a;case 0:case 32:break x;default:break a}}H[a+28>>2]=32;break a}H[f+8>>2]=h}Wa=f+16|0;return H[f+8>>2]}function is(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=H[b+4>>2];if(e>>>0>a>>>0){return 0}g=H[b+8>>2];if(g>>>0>>0){return 0}if(g-a>>>0<2){return 0}f=H[b+12>>2];j=f-2|0;H[b+12>>2]=j;d=1;if((j|0)<=0){return 0}j=I[a|0]|I[a+1|0]<<8;a:{if(!j){break a}b:{j=((j<<8|j>>>8)&65535)+c|0;if(j>>>0>>0|g>>>0>>0|g-j>>>0<2){break b}c=f-4|0;H[b+12>>2]=c;if((c|0)<=0){break b}f=I[j|0]|I[j+1|0]<<8;if(!f){break a}d=j+2|0;if(d>>>0>>0|d>>>0>g>>>0){break b}h=g-d|0;d=(f<<8|f>>>8)&65535;g=N(d,6);if(h>>>0>>0){break b}c=c-g|0;H[b+12>>2]=c;if((c|0)<=0){break b}s=d>>>0>1?d:1;while(1){p=Wa-16|0;Wa=p;g=H[b+4>>2];c=(j+N(r,6)|0)+2|0;c:{if(g>>>0>c>>>0){g=0;break c}d=H[b+8>>2];if(d>>>0>>0){g=0;break c}if(d-c>>>0<6){g=0;break c}e=H[b+12>>2];f=e-6|0;H[b+12>>2]=f;if((f|0)<=0){g=0;break c}m=c+4|0;if(g>>>0>m>>>0){g=0;break c}if(d>>>0>>0){g=0;break c}if(d-m>>>0<2){g=0;break c}c=e-8|0;H[b+12>>2]=c;g=1;if((c|0)<=0){g=0;break c}d=I[m|0]|I[m+1|0]<<8;if(!d){break c}i=H[b+4>>2];e=j+((d<<8|d>>>8)&65535)|0;c=0;d:{if(i>>>0>e>>>0){break d}f=H[b+8>>2];c=0;if(f>>>0>>0){break d}c=0;if(f-e>>>0<2){break d}l=H[b+12>>2];k=l-2|0;H[b+12>>2]=k;d=1;c=0;if((k|0)<=0){break d}c=I[e|0]|I[e+1|0]<<8;e:{if(!c){break e}c=e+((c<<8|c>>>8)&65535)|0;f:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<6){break f}d=l-8|0;H[b+12>>2]=d;if((d|0)<=0){break f}d=c+4|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break f}l=l-10|0;H[b+12>>2]=l;d=1;if((l|0)<=0){break f}k=I[c+4|0]|I[c+5|0]<<8;if(!k){break e}c=c+6|0;if(c>>>0>>0|c>>>0>f>>>0){break f}h=f-c|0;c=((k<<8|k>>>8)&65535)<<1;if(h>>>0>>0){break f}c=l-c|0;H[b+12>>2]=c;if((c|0)>0){break e}}d=H[b+28>>2];c=0;if(d>>>0>31){break d}H[b+28>>2]=d+1;d=0;if(!I[b+24|0]){break e}F[e|0]=0;F[e+1|0]=0;d=1}c=d}if(c){H[p+12>>2]=e;d=0;l=Wa-16|0;Wa=l;g:{i=H[b+4>>2];f=e+2|0;if(i>>>0>f>>>0){break g}c=H[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break g}e=H[b+12>>2]-2|0;H[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break g}k=I[f|0]|I[f+1|0]<<8;if(!k){break g}d=f+2|0;if(d>>>0>>0){d=0;break g}if(c>>>0>>0){d=0;break g}h=c-d|0;c=(k<<8|k>>>8)&65535;d=N(c,6);if(h>>>0>>0){d=0;break g}e=e-d|0;H[b+12>>2]=e;d=0;if((e|0)<=0){break g}t=c>>>0>1?c:1;k=0;while(1){e=f+N(k,6)|0;c=e+2|0;d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);o=H[p+12>>2];H[l+12>>2]=o;H[l+8>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);h:{i:{if(c>>>0>>0){break i}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<=5){break i}c=H[b+12>>2]-6|0;H[b+12>>2]=c;if((c|0)>0){break h}}d=0;break g}H[l+4>>2]=l+8;q=H[b+4>>2];i=e+6|0;h=0;j:{if(q>>>0>i>>>0){break j}e=H[b+8>>2];h=0;if(e>>>0>>0){break j}h=0;if(e-i>>>0<2){break j}n=H[b+12>>2];c=n-2|0;H[b+12>>2]=c;d=1;h=0;if((c|0)<=0){break j}c=I[i|0]|I[i+1|0]<<8;k:{if(!c){break k}c=o+((c<<8|c>>>8)&65535)|0;l:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<6){break l}d=n-8|0;H[b+12>>2]=d;if((d|0)<=0){break l}d=c+4|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break l}n=n-10|0;H[b+12>>2]=n;d=1;if((n|0)<=0){break l}o=I[c+4|0]|I[c+5|0]<<8;if(!o){break k}c=c+6|0;if(c>>>0>>0|c>>>0>e>>>0){break l}h=e-c|0;c=((o<<8|o>>>8)&65535)<<1;if(h>>>0>>0){break l}c=n-c|0;H[b+12>>2]=c;if((c|0)>0){break k}}d=H[b+28>>2];h=0;if(d>>>0>31){break j}H[b+28>>2]=d+1;d=0;if(!I[b+24|0]){break k}F[i|0]=0;F[i+1|0]=0;d=1}h=d}d=h;if(!d){break g}k=k+1|0;if((t|0)==(k|0)){break g}i=H[b+4>>2];continue}}Wa=l+16|0;if(d){break c}}c=H[b+28>>2];if(c>>>0>31){g=0;break c}H[b+28>>2]=c+1;g=0;if(!I[b+24|0]){break c}F[m|0]=0;F[m+1|0]=0;g=1}Wa=p+16|0;if(!g){break b}d=1;r=r+1|0;if((s|0)!=(r|0)){continue}break}break a}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;d=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;d=1}return d}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Wa-32|0;Wa=e;a:{b:{c:{switch(H[a+68>>2]){case 1:d=1;j=c^1;c=0;f=1;break b;case 0:break a;default:break c}}j=c^1;c=0;f=1;while(1){i=c;d=H[a+80>>2]+N(f,20)|0;d:{if(Ya[b|0](d-20|0,d)|0){break d}if(!(f-i>>>0<2|j)){kc(a,i,f)}c=H[a+68>>2];d=c>>>0>>0?c:f;h=c>>>0>>0?c:i;e:{if(d>>>0>>0){break e}g=d-1|0;if(h>>>0>=g>>>0){break e}k=H[a+80>>2];while(1){c=N(g,20)+k|0;H[e+24>>2]=H[c+16>>2];d=H[c+12>>2];H[e+16>>2]=H[c+8>>2];H[e+20>>2]=d;d=H[c+4>>2];H[e+8>>2]=H[c>>2];H[e+12>>2]=d;d=N(h,20)+k|0;H[c+16>>2]=H[d+16>>2];l=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=l;l=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=l;H[d+16>>2]=H[e+24>>2];c=H[e+20>>2];H[d+8>>2]=H[e+16>>2];H[d+12>>2]=c;c=H[e+12>>2];H[d>>2]=H[e+8>>2];H[d+4>>2]=c;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}c=f;if(!I[a+62|0]){break d}d=H[a+68>>2];g=d>>>0>>0?d:f;h=d>>>0>>0?d:i;c=f;if(g>>>0>>0){break d}g=g-1|0;c=f;if(h>>>0>=g>>>0){break d}i=H[a+88>>2];while(1){c=i+N(g,20)|0;H[e+24>>2]=H[c+16>>2];d=H[c+12>>2];H[e+16>>2]=H[c+8>>2];H[e+20>>2]=d;d=H[c+4>>2];H[e+8>>2]=H[c>>2];H[e+12>>2]=d;d=i+N(h,20)|0;H[c+16>>2]=H[d+16>>2];k=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=k;k=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=k;H[d+16>>2]=H[e+24>>2];c=H[e+20>>2];H[d+8>>2]=H[e+16>>2];H[d+12>>2]=c;c=H[e+12>>2];H[d>>2]=H[e+8>>2];H[d+4>>2]=c;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}c=f}d=H[a+68>>2];f=f+1|0;if(d>>>0>f>>>0){continue}break}}if(!(f-c>>>0<2|j)){kc(a,c,f);d=H[a+68>>2]}b=d>>>0>>0?d:f;g=c>>>0>d>>>0?d:c;f:{if(b>>>0>>0){break f}h=b-1|0;if(h>>>0<=g>>>0){break f}i=H[a+80>>2];while(1){b=i+N(h,20)|0;H[e+24>>2]=H[b+16>>2];d=H[b+12>>2];H[e+16>>2]=H[b+8>>2];H[e+20>>2]=d;d=H[b+4>>2];H[e+8>>2]=H[b>>2];H[e+12>>2]=d;d=i+N(g,20)|0;H[b+16>>2]=H[d+16>>2];j=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=j;j=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=j;H[d+16>>2]=H[e+24>>2];b=H[e+20>>2];H[d+8>>2]=H[e+16>>2];H[d+12>>2]=b;b=H[e+12>>2];H[d>>2]=H[e+8>>2];H[d+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}g:{h:{if(!I[a+62|0]){break h}b=H[a+68>>2];f=b>>>0>>0?b:f;h=b>>>0>>0?b:c;if(f>>>0>>0){break g}g=f-1|0;if(h>>>0>=g>>>0){break h}f=H[a+88>>2];while(1){b=f+N(g,20)|0;H[e+24>>2]=H[b+16>>2];c=H[b+12>>2];H[e+16>>2]=H[b+8>>2];H[e+20>>2]=c;c=H[b+4>>2];H[e+8>>2]=H[b>>2];H[e+12>>2]=c;c=f+N(h,20)|0;H[b+16>>2]=H[c+16>>2];d=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=d;d=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=d;H[c+16>>2]=H[e+24>>2];b=H[e+20>>2];H[c+8>>2]=H[e+16>>2];H[c+12>>2]=b;b=H[e+12>>2];H[c>>2]=H[e+8>>2];H[c+4>>2]=b;g=g-1|0;h=h+1|0;if(g>>>0>h>>>0){continue}break}}b=H[a+68>>2]}if(b>>>0>=2){d=H[a+80>>2];h=b-1|0;g=0;while(1){c=d+N(h,20)|0;H[e+24>>2]=H[c+16>>2];f=H[c+12>>2];H[e+16>>2]=H[c+8>>2];H[e+20>>2]=f;f=H[c+4>>2];H[e+8>>2]=H[c>>2];H[e+12>>2]=f;f=d+N(g,20)|0;H[c+16>>2]=H[f+16>>2];i=H[f+12>>2];H[c+8>>2]=H[f+8>>2];H[c+12>>2]=i;i=H[f+4>>2];H[c>>2]=H[f>>2];H[c+4>>2]=i;H[f+16>>2]=H[e+24>>2];c=H[e+20>>2];H[f+8>>2]=H[e+16>>2];H[f+12>>2]=c;c=H[e+12>>2];H[f>>2]=H[e+8>>2];H[f+4>>2]=c;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}if(!I[a+62|0]){break a}c=H[a+68>>2];b=b>>>0>c>>>0?c:b;if(b>>>0<2){break a}c=H[a+88>>2];h=b-1|0;g=0;while(1){a=c+N(h,20)|0;H[e+24>>2]=H[a+16>>2];b=H[a+12>>2];H[e+16>>2]=H[a+8>>2];H[e+20>>2]=b;b=H[a+4>>2];H[e+8>>2]=H[a>>2];H[e+12>>2]=b;b=c+N(g,20)|0;H[a+16>>2]=H[b+16>>2];f=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=f;f=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=f;H[b+16>>2]=H[e+24>>2];a=H[e+20>>2];H[b+8>>2]=H[e+16>>2];H[b+12>>2]=a;a=H[e+12>>2];H[b>>2]=H[e+8>>2];H[b+4>>2]=a;g=g+1|0;h=h-1|0;if(g>>>0>>0){continue}break}}Wa=e+32|0}function JL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Wa-48|0;Wa=e;H[b+72>>2]=0;a:{d=I[a+2|0]|I[a+3|0]<<8;if(d){d=(d<<8|d>>>8)&65535;p=d>>>0>1?d:1;q=d-1|0;i=a+4|0;while(1){a=H[b+16>>2];d=H[a+40>>2];b:{if((F[i+5|0]&1)==((d&-2)!=4|0)){break b}c=H[b+8>>2];H[e+16>>2]=g;if(!Fb(a,c,106245,e+16|0)){break b}g=d&-3;f=1;c:{if(k){break c}f=0;if(!(I[i+5|0]&4)){break c}a=H[b+16>>2];k=H[a+68>>2];f=1;if(!k){break c}c=H[a+88>>2];a=0;if((k|0)!=1){f=k&-2;d=0;while(1){h=c+N(a,20)|0;F[h+18|0]=2;G[h+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;h=c+N(a|1,20)|0;F[h+18|0]=2;G[h+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;a=a+2|0;d=d+2|0;if((f|0)!=(d|0)){continue}break}}f=1;if(!(k&1)){break c}a=c+N(a,20)|0;F[a+18|0]=2;G[a+16>>1]=(H[H[b+16>>2]+40>>2]&-3)==4?-1:1;f=1}k=f;j=(g|0)!=5;d:{if(j){break d}g=H[b+16>>2];h=H[g+68>>2];if(h>>>0>=2){m=H[g+80>>2];d=h-1|0;a=0;while(1){f=m+N(d,20)|0;c=f;H[e+40>>2]=H[c+16>>2];l=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=l;l=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=l;c=m+N(a,20)|0;H[f+16>>2]=H[c+16>>2];l=H[c+12>>2];H[f+8>>2]=H[c+8>>2];H[f+12>>2]=l;l=H[c+4>>2];H[f>>2]=H[c>>2];H[f+4>>2]=l;H[c+16>>2]=H[e+40>>2];f=H[e+36>>2];H[c+8>>2]=H[e+32>>2];H[c+12>>2]=f;f=H[e+28>>2];H[c>>2]=H[e+24>>2];H[c+4>>2]=f;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}if(!I[g+62|0]){break d}a=H[g+68>>2];a=a>>>0>>0?a:h;if(a>>>0<2){break d}f=H[g+88>>2];d=a-1|0;a=0;while(1){g=f+N(d,20)|0;c=g;H[e+40>>2]=H[c+16>>2];h=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=h;h=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=h;c=f+N(a,20)|0;H[g+16>>2]=H[c+16>>2];h=H[c+12>>2];H[g+8>>2]=H[c+8>>2];H[g+12>>2]=h;h=H[c+4>>2];H[g>>2]=H[c>>2];H[g+4>>2]=h;H[c+16>>2]=H[e+40>>2];g=H[e+36>>2];H[c+8>>2]=H[e+32>>2];H[c+12>>2]=g;g=H[e+28>>2];H[c>>2]=H[e+24>>2];H[c+4>>2]=g;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}d=H[b+52>>2];a=H[d+12>>2];H[b+24>>2]=a;d=a+H[d+16>>2]|0;H[b+28>>2]=d;e:{if(!i|n>>>0>=q>>>0){break e}if(!(a>>>0<=i>>>0&d>>>0>i>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break e}H[b+24>>2]=i;a=d-i|0;d=I[i+2|0]|I[i+3|0]<<8;d=(d<<8|d>>>8)&65535;H[b+28>>2]=(a>>>0>>0?a:d)+i}H[65057]=0;l=ca(712,i|0,b|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[b+52>>2];d=H[a+12>>2];H[b+24>>2]=d;H[b+28>>2]=d+H[a+16>>2];f:{if(j){break f}g=H[b+16>>2];h=H[g+68>>2];if(h>>>0>=2){m=H[g+80>>2];d=h-1|0;a=0;while(1){f=m+N(d,20)|0;c=f;H[e+40>>2]=H[c+16>>2];j=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=j;j=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=j;c=m+N(a,20)|0;H[f+16>>2]=H[c+16>>2];j=H[c+12>>2];H[f+8>>2]=H[c+8>>2];H[f+12>>2]=j;j=H[c+4>>2];H[f>>2]=H[c>>2];H[f+4>>2]=j;H[c+16>>2]=H[e+40>>2];f=H[e+36>>2];H[c+8>>2]=H[e+32>>2];H[c+12>>2]=f;f=H[e+28>>2];H[c>>2]=H[e+24>>2];H[c+4>>2]=f;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}if(!I[g+62|0]){break f}a=H[g+68>>2];a=a>>>0>>0?a:h;if(a>>>0<2){break f}f=H[g+88>>2];d=a-1|0;a=0;while(1){g=f+N(d,20)|0;c=g;H[e+40>>2]=H[c+16>>2];h=H[c+12>>2];H[e+32>>2]=H[c+8>>2];H[e+36>>2]=h;h=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=h;c=f+N(a,20)|0;H[g+16>>2]=H[c+16>>2];h=H[c+12>>2];H[g+8>>2]=H[c+8>>2];H[g+12>>2]=h;h=H[c+4>>2];H[g>>2]=H[c>>2];H[g+4>>2]=h;H[c+16>>2]=H[e+40>>2];g=H[e+36>>2];H[c+8>>2]=H[e+32>>2];H[c+12>>2]=g;g=H[e+28>>2];H[c>>2]=H[e+24>>2];H[c+4>>2]=g;d=d-1|0;a=a+1|0;if(d>>>0>a>>>0){continue}break}}o=l|o;a=H[b+8>>2];d=H[b+16>>2];H[e>>2]=H[b+72>>2];Fb(d,a,106272,e)}a=I[i+2|0]|I[i+3|0]<<8;g=H[b+72>>2]+1|0;H[b+72>>2]=g;i=((a<<8|a>>>8)&65535)+i|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}}Wa=e+48|0;return o&1}a=$()|0;_()|0;d=H[b+52>>2];k=H[d+12>>2];H[b+24>>2]=k;H[b+28>>2]=k+H[d+16>>2];ba(a|0);X()}function OK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Wa-48|0;Wa=f;a:{if(!jr(a,b,1,c)){break a}j=Xe(b);H[f+32>>2]=H[d+8>>2];c=H[d+4>>2];d=H[d>>2];H[f+24>>2]=d;H[f+28>>2]=c;H[f+44>>2]=H[e+8>>2];h=H[e+4>>2];H[f+36>>2]=H[e>>2];H[f+40>>2]=h;e=H[f+36>>2];H[f+8>>2]=H[f+32>>2];H[f+12>>2]=e;e=H[f+44>>2];H[f+16>>2]=H[f+40>>2];H[f+20>>2]=e;H[f>>2]=d;H[f+4>>2]=c;e=0;k=Wa+-64|0;Wa=k;b:{if(H[b+20>>2]){break b}h=j+2|0;d=H[b+4>>2];c=h-d|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-d|0))){H[b+20>>2]=4;break b}c:{if((d|0)==(h|0)){H[b+4>>2]=c+h;break c}kb(d,0,c);d=c;c=H[b+4>>2];H[b+4>>2]=d+c;if(!c){break b}}d:{c=H[f+4>>2];if(!c){break d}d=H[f+16>>2];if(!d){break d}e=H[f+12>>2];h=I[e|0]|I[e+1|0]<<8;g=(h<<8|h>>>8)&65535;i=H[f>>2];h=I[i|0]|I[i+1|0]<<8;h=g-((h<<8|h>>>8)&65535)|0;e:{if((c|0)==1|(d|0)==1){break e}m=d-1|0;e=e+2|0;c=c-1|0;d=i+2|0;while(1){i=I[e|0]|I[e+1|0]<<8;g=i<<8|i>>>8;i=I[d|0]|I[d+1|0]<<8;if((h^g-(i<<8|i>>>8))&65535){break d}c=c-1|0;if(!c){break e}e=e+2|0;d=d+2|0;m=m-1|0;if(m){continue}break}}F[j|0]=0;F[j+1|0]=1;c=H[f+20>>2];H[k+48>>2]=H[f+16>>2];H[k+52>>2]=c;c=H[f+12>>2];H[k+40>>2]=H[f+8>>2];H[k+44>>2]=c;c=H[f+4>>2];H[k+32>>2]=H[f>>2];H[k+36>>2]=c;H[k+56>>2]=124897;if(H[b+20>>2]){e=0;break b}e=0;i=j+6|0;d=H[b+4>>2];c=i-d|0;if(!((c|0)<0|(c|0)>(H[b+8>>2]-d|0))){f:{if((d|0)==(i|0)){H[b+4>>2]=(c+j|0)+6;break f}kb(d,0,c);d=c;c=H[b+4>>2];H[b+4>>2]=d+c;if(!c){break b}}if(!ir(j+2|0,b,k+32|0)){break b}c=h<<8|(h&65280)>>>8;F[j+4|0]=c;F[j+5|0]=c>>>8;e=1;break b}H[b+20>>2]=4;break b}F[j|0]=0;F[j+1|0]=2;c=H[f+20>>2];H[k+24>>2]=H[f+16>>2];H[k+28>>2]=c;c=H[f+12>>2];H[k+16>>2]=H[f+8>>2];H[k+20>>2]=c;c=H[f+4>>2];H[k+8>>2]=H[f>>2];H[k+12>>2]=c;i=Wa-32|0;Wa=i;c=k+8|0;e=H[c+16>>2];m=H[c+12>>2];h=H[c+4>>2];d=H[c+20>>2];H[i+16>>2]=H[c+16>>2];H[i+20>>2]=d;d=H[c+12>>2];H[i+8>>2]=H[c+8>>2];H[i+12>>2]=d;d=H[c+4>>2];H[i>>2]=H[c>>2];H[i+4>>2]=d;H[i+24>>2]=124897;g:{if(H[b+20>>2]){c=0;break g}c=0;l=j+6|0;g=H[b+4>>2];d=l-g|0;if(!((d|0)>=0&(d|0)<=(H[b+8>>2]-g|0))){H[b+20>>2]=4;break g}h:{if((g|0)==(l|0)){d=d+l|0;H[b+4>>2]=d;h=e>>>0>h>>>0?h:e;break h}kb(g,0,d);g=H[b+4>>2];d=g+d|0;H[b+4>>2]=d;if(H[b+20>>2]|!g){break g}h=e>>>0>h>>>0?h:e}l=j+6|0;g=l-d|0;if(!((g|0)>=0&(g|0)<=(H[b+8>>2]-d|0))){H[b+20>>2]=4;break g}i:{if((d|0)==(l|0)){H[b+4>>2]=d+g;break i}kb(d,0,g);d=H[b+4>>2];H[b+4>>2]=d+g;if(!d){break g}}d=h<<8|(h&65280)>>>8;F[j+4|0]=d;F[j+5|0]=d>>>8;d=H[b+20>>2];if(h>>>0>=65536){H[b+20>>2]=d|16;break g}if(d){break g}l=(j+(h<<1&131070)|0)+6|0;g=H[b+4>>2];d=l-g|0;if(!((d|0)>=0&(d|0)<=(H[b+8>>2]-g|0))){H[b+20>>2]=4;break g}j:{if((g|0)==(l|0)){H[b+4>>2]=d+l;break j}kb(g,0,d);g=d;d=H[b+4>>2];H[b+4>>2]=g+d;if(!d){break g}}k:{if(!h){break k}d=0;if((h|0)!=1){l=h&-2;while(1){g=j+(d<<1)|0;n=e?m:163632;n=I[n|0]|I[n+1|0]<<8;F[g+6|0]=n;F[g+7|0]=n>>>8;n=j+((d|1)<<1)|0;g=!!e;m=(g<<1)+m|0;p=(e|0)==(g|0);o=p?163632:m;o=I[o|0]|I[o+1|0]<<8;F[n+6|0]=o;F[n+7|0]=o>>>8;d=d+2|0;n=!p;m=m+(n<<1)|0;e=e-(g+n|0)|0;c=c+2|0;if((l|0)!=(c|0)){continue}break}}if(!(h&1)){break k}c=j+(d<<1)|0;d=e?m:163632;d=I[d|0]|I[d+1|0]<<8;F[c+6|0]=d;F[c+7|0]=d>>>8}c=ir(j+2|0,b,i)}Wa=i+32|0;e=c}Wa=k- -64|0;if(e){q=1;l:{if(!(I[a+4|0]|I[a+5|0]<<8)){G[129520]=J[81816];a=259040;break l}a=a+6|0}Af(b,a,ze(b,1));break a}a=H[b+40>>2];if(H[b+20>>2]|!a){break a}H[b+40>>2]=H[a+32>>2];c=H[a+4>>2];H[b+4>>2]=H[a>>2];H[b+8>>2]=c;zf(b);H[a+12>>2]=0;hb(H[a+16>>2]);H[a+24>>2]=0;H[a+16>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;hb(H[a+28>>2]);H[a+28>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a>>2]=H[b+24>>2];H[b+24>>2]=a}Wa=f+48|0;return q|0}function sr(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c:{d:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=H[b+100>>2];c=H[H[c+80>>2]+N(H[c+64>>2],20)>>2];d=I[a+2|0]|I[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}f=Kb(d,c);e:{if((f|0)==-1){break e}a=I[a+4|0]|I[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;a=H[b+100>>2];c=H[a+80>>2]+N(H[a+64>>2],20)|0;a=J[c+12>>1]|16;if(I[b+140|0]){a=Xc(H[b+108>>2],e)|a&112}G[c+12>>1]=a;c=H[b+100>>2];if(!qb(c,1,1)){break e}a=H[c+64>>2];f:{if(a>>>0>2]){b=H[c+72>>2];d=H[c+84>>2];a=H[c+80>>2]+N(a,20)|0;break f}d=H[c+84>>2];b=H[c+72>>2];a=d+N(b?b-1|0:0,20)|0}b=N(b,20)+d|0;d=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=d;H[b+16>>2]=H[a+16>>2];d=H[a+12>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=d;H[b>>2]=e;H[c+64>>2]=H[c+64>>2]+1;H[c+72>>2]=H[c+72>>2]+1}return(f|0)!=-1}c=0;d=I[a+2|0]|I[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=163632}d=H[b+100>>2];d=Kb(e,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);g:{if((d|0)==-1){break g}e=I[a+4|0]|I[a+5|0]<<8;if(d>>>0>=((e<<8|e>>>8)&65535)>>>0){break g}c=1;a=(d<<1)+a|0;a=I[a+6|0]|I[a+7|0]<<8;e=(a<<8|a>>>8)&65535;a=H[b+100>>2];d=H[a+80>>2]+N(H[a+64>>2],20)|0;a=J[d+12>>1]|16;if(I[b+140|0]){a=Xc(H[b+108>>2],e)|a&112}G[d+12>>1]=a;a=H[b+100>>2];if(!qb(a,1,1)){break g}b=H[a+64>>2];h:{if(b>>>0>2]){c=H[a+80>>2]+N(b,20)|0;b=H[a+72>>2];d=H[a+84>>2];break h}d=H[a+84>>2];b=H[a+72>>2];c=d+N(b?b-1|0:0,20)|0}b=N(b,20)+d|0;d=H[c+4>>2];H[b>>2]=H[c>>2];H[b+4>>2]=d;H[b+16>>2]=H[c+16>>2];d=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=d;H[b>>2]=e;c=1;H[a+64>>2]=H[a+64>>2]+1;H[a+72>>2]=H[a+72>>2]+1}return c;case 1:if((I[a|0]|I[a+1|0]<<8)!=256){break a}c=I[a+2|0]|I[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];c=Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((c|0)==-1){break a}d=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}return Pr(a,b);case 2:if((I[a|0]|I[a+1|0]<<8)!=256){break a}c=I[a+2|0]|I[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];c=Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((c|0)==-1){break a}d=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}return Or(a,b);case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break a}i:{c=I[a+2|0]|I[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=H[b+100>>2];e=Kb(e,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((e|0)==-1){break i}c=163632;f=I[a+4|0]|I[a+5|0]<<8;e=e>>>0<((f<<8|f>>>8)&65535)>>>0?((e<<1)+a|0)+6|0:163632;e=I[e|0]|I[e+1|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}a=I[c|0]|I[c+1|0]<<8;if(!a){break i}f=(a<<8|a>>>8)&65535;g=f>>>0>1?f:1;e=0;d=1;while(1){a=((a<<8|(a&65280)>>>8)&65535)>>>0>e>>>0?((e<<1)+c|0)+2|0:163632;a=I[a|0]|I[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=163632}if(Nr(a,b)){break i}e=e+1|0;d=f>>>0>e>>>0;if((e|0)==(g|0)){break i}a=I[c|0]|I[c+1|0]<<8;continue}}return d;case 4:return rr(a,b);case 5:j:{k:{l:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break a}}return qr(b,a)}return Vj(a,b)}return Uj(a,b);case 6:if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;a=sr(c,b,(a<<8|a>>>8)&65535)}else{a=0}return a;case 7:break b;default:break a}}if((I[a|0]|I[a+1|0]<<8)!=256){break a}e=Ir(a,b)}return e}function Qb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=H[a+68>>2];j=d>>>0>g>>>0?g:d;l=j-c|0;a:{if(!(!e|f)&l>>>0<2){break a}h=H[a+144>>2]|32;H[a+144>>2]=h;if((!I[a+61|0]|f^1)==1){if(!e){if(c>>>0>=j>>>0){break a}f=(c^-1)+j|0;e=H[a+80>>2];a=l&3;if(a){d=0;while(1){g=e+N(c,20)|0;H[g+4>>2]=H[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break a}while(1){a=e+N(c,20)|0;H[a+4>>2]=H[a+4>>2]|b;H[a+24>>2]=H[a+24>>2]|b;H[a+44>>2]=H[a+44>>2]|b;a=a- -64|0;H[a>>2]=H[a>>2]|b;c=c+4|0;if((j|0)!=(c|0)){continue}break}break a}if(c>>>0>=j>>>0){break a}e=H[a+80>>2];d=-1;f=c;i=(c^-1)+j|0;if(i>>>0>=3){m=l&-4;while(1){g=e+N(f,20)|0;k=H[g+8>>2];d=d>>>0>>0?d:k;k=H[g+28>>2];d=d>>>0>>0?d:k;k=H[g+48>>2];d=d>>>0>>0?d:k;g=H[g+68>>2];d=d>>>0>>0?d:g;f=f+4|0;p=p+4|0;if((m|0)!=(p|0)){continue}break}}m=l&3;if(m){g=0;while(1){k=H[(e+N(f,20)|0)+8>>2];d=d>>>0>>0?d:k;f=f+1|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}if(l&1){f=e+N(c,20)|0;if(H[f+8>>2]!=(d|0)){H[a+144>>2]=h;H[f+4>>2]=H[f+4>>2]|b}c=c+1|0}if(!i){break a}while(1){f=e+N(c,20)|0;if(H[f+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[f+4>>2]=H[f+4>>2]|b}f=e+N(c+1|0,20)|0;if(H[f+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[f+4>>2]=H[f+4>>2]|b}c=c+2|0;if((j|0)!=(c|0)){continue}break}break a}if(!e){e=H[a+72>>2];b:{if(e>>>0<=c>>>0){break b}g=e+(c^-1)|0;f=H[a+84>>2];h=e-c&3;if(h){d=0;while(1){l=f+N(c,20)|0;H[l+4>>2]=H[l+4>>2]|b;c=c+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(g>>>0<=2){break b}while(1){d=f+N(c,20)|0;H[d+4>>2]=H[d+4>>2]|b;H[d+24>>2]=H[d+24>>2]|b;H[d+44>>2]=H[d+44>>2]|b;d=d- -64|0;H[d>>2]=H[d>>2]|b;c=c+4|0;if((e|0)!=(c|0)){continue}break}}c=H[a+64>>2];if(j>>>0<=c>>>0){break a}f=(c^-1)+j|0;e=H[a+80>>2];a=j-c&3;if(a){d=0;while(1){g=e+N(c,20)|0;H[g+4>>2]=H[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break a}while(1){a=e+N(c,20)|0;H[a+4>>2]=H[a+4>>2]|b;H[a+24>>2]=H[a+24>>2]|b;H[a+44>>2]=H[a+44>>2]|b;a=a- -64|0;H[a>>2]=H[a>>2]|b;c=c+4|0;if((j|0)!=(c|0)){continue}break}break a}l=H[a+80>>2];d=-1;g=H[a+64>>2];p=j>>>0<=g>>>0;c:{if(p){break c}e=j-g|0;m=e&3;f=g;if((f^-1)+j>>>0>=3){k=e&-4;e=0;while(1){i=l+N(f,20)|0;n=H[i+8>>2];d=d>>>0>>0?d:n;n=H[i+28>>2];d=d>>>0>>0?d:n;n=H[i+48>>2];d=d>>>0>>0?d:n;i=H[i+68>>2];d=d>>>0>>0?d:i;f=f+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}if(!m){break c}e=0;while(1){i=H[(l+N(f,20)|0)+8>>2];d=d>>>0>>0?d:i;f=f+1|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}m=H[a+72>>2];d:{if(m>>>0<=c>>>0){break d}i=H[a+84>>2];k=m+(c^-1)|0;n=m-c|0;o=n&3;e:{if(!o){f=c;break e}e=0;f=c;while(1){q=H[(i+N(f,20)|0)+8>>2];d=d>>>0>>0?d:q;f=f+1|0;e=e+1|0;if((o|0)!=(e|0)){continue}break}}if(k>>>0>=3){while(1){e=i+N(f,20)|0;o=H[e+8>>2];d=d>>>0>>0?d:o;o=H[e+28>>2];d=d>>>0>>0?d:o;o=H[e+48>>2];d=d>>>0>>0?d:o;e=H[e+68>>2];d=d>>>0>>0?d:e;f=f+4|0;if((m|0)!=(f|0)){continue}break}}if(n&1){e=i+N(c,20)|0;if(H[e+8>>2]!=(d|0)){H[a+144>>2]=h;H[e+4>>2]=H[e+4>>2]|b}c=c+1|0}if(!k){break d}while(1){e=i+N(c,20)|0;if(H[e+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[e+4>>2]=H[e+4>>2]|b}e=i+N(c+1|0,20)|0;if(H[e+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[e+4>>2]=H[e+4>>2]|b}c=c+2|0;if((m|0)!=(c|0)){continue}break}}if(p){break a}e=g+1|0;if(j-g&1){c=l+N(g,20)|0;if(H[c+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[c+4>>2]=H[c+4>>2]|b}g=g+1|0}if((e|0)==(j|0)){break a}while(1){c=l+N(g,20)|0;if(H[c+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[c+4>>2]=H[c+4>>2]|b}c=l+N(g+1|0,20)|0;if(H[c+8>>2]!=(d|0)){h=h|32;H[a+144>>2]=h;H[c+4>>2]=H[c+4>>2]|b}g=g+2|0;if((j|0)!=(g|0)){continue}break}}}function td(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=Wa-16|0;Wa=l;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=H[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=H[b+12>>2];j=d-2|0;H[b+12>>2]=j;c=1;if((j|0)<=0){c=0;break a}b:{c:{d:{e:{f:{g:{h:{i=I[a|0]|I[a+1|0]<<8;switch((i<<8|i>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=H[b+36>>2];if(c>>>0>2147483646){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=c<<1;if(e>>>0>>0){c=0;break a}a=j-a|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;H[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=I[c|0]|I[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){c=0;break a}f=I[a+4|0]|I[a+5|0]<<8;c=N(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}H[l+12>>2]=a;e=0;d=a+2|0;h=H[b+4>>2];i:{j:{if(d>>>0>>0){break j}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break j}a=H[b+12>>2]-10|0;H[b+12>>2]=a;if((a|0)<=0){break j}c=I[d|0]|I[d+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){break j}m=I[d+2|0]|I[d+3|0]<<8;j=(m<<8|m>>>8)&65535;i=N(j,c);if(i){g=d+10|0;if(g>>>0>>0|f>>>0>>0|i>>>0>f-g>>>0){break j}a=a-i|0;H[b+12>>2]=a;if((a|0)<=0){break j}}k:{if(!m){break k}c=d+N(c,j-1|0)|0;if((I[c+10|0]|I[c+11|0]<<8)!=65535){break k}e=(I[c+12|0]|I[c+13|0]<<8)==65535?-1:0}n=e+j|0;c=1;if(!n){break i}o=d+10|0;c=I[d|0]|I[d+1|0]<<8;p=(c<<8|c>>>8)&65535;d=o+N(p,j-1|0)|0;q=H[l+12>>2];i=0;while(1){e=0;g=N(i,p)+o|0;c=0;l:{if(!m){break l}c=0;if((I[d|0]|I[d+1|0]<<8)!=65535){break l}c=(I[d+2|0]|I[d+3|0]<<8)==65535?-1:0}c=c+j>>>0>i>>>0?g:163632;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<6){break j}g=a-6|0;H[b+12>>2]=g;if((g|0)<=0){break j}g=I[c|0]|I[c+1|0]<<8;g=(g<<8|g>>>8)&65535;k=I[c+2|0]|I[c+3|0]<<8;k=(k<<8|k>>>8)&65535;if(g>>>0>>0){break j}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break j}a=a-8|0;H[b+12>>2]=a;if((a|0)<=0){break j}g=(g-k|0)+1|0;if(g>>>0>2147483646){break j}if(g){c=I[c|0]|I[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+q|0;if(c>>>0>>0|c>>>0>f>>>0){break j}k=f-c|0;c=g<<1;if(k>>>0>>0){break j}a=a-c|0;H[b+12>>2]=a;if((a|0)<=0){break j}}e=1;i=i+1|0;if((n|0)!=(i|0)){continue}break}}c=e}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;H[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=I[c|0]|I[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<4){c=0;break a}f=I[a+4|0]|I[a+5|0]<<8;c=N(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;H[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=I[a+4|0]|I[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=((d<<8|d>>>8)&65535)<<1;if(e>>>0>>0){c=0;break a}a=c-a|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;H[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=I[a+2|0]|I[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=I[a+6|0]|I[a+7|0]<<8;d=N(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(d>>>0>e-a>>>0){c=0;break a}a=c-d|0;H[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Wa=l+16|0;return c}function ol(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=Wa-16|0;Wa=l;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=H[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=H[b+12>>2];j=d-2|0;H[b+12>>2]=j;if((j|0)<=0){break a}c=1;b:{c:{d:{e:{f:{g:{h:{i=I[a|0]|I[a+1|0]<<8;switch((i<<8|i>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}c=H[b+36>>2];if(c>>>0>1073741822){c=0;break a}if(!c){break b}a=a+2|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=c<<2;if(e>>>0>>0){c=0;break a}a=j-a|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;H[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=I[c|0]|I[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<8){c=0;break a}f=I[a+4|0]|I[a+5|0]<<8;c=N(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}H[l+12>>2]=a;e=0;d=a+2|0;h=H[b+4>>2];i:{j:{if(d>>>0>>0){break j}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<10){break j}a=H[b+12>>2]-10|0;H[b+12>>2]=a;if((a|0)<=0){break j}c=I[d|0]|I[d+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){break j}m=I[d+2|0]|I[d+3|0]<<8;j=(m<<8|m>>>8)&65535;i=N(j,c);if(i){g=d+10|0;if(g>>>0>>0|f>>>0>>0|i>>>0>f-g>>>0){break j}a=a-i|0;H[b+12>>2]=a;if((a|0)<=0){break j}}k:{if(!m){break k}c=d+N(c,j-1|0)|0;if((I[c+10|0]|I[c+11|0]<<8)!=65535){break k}e=(I[c+12|0]|I[c+13|0]<<8)==65535?-1:0}n=e+j|0;c=1;if(!n){break i}o=d+10|0;c=I[d|0]|I[d+1|0]<<8;p=(c<<8|c>>>8)&65535;d=o+N(p,j-1|0)|0;q=H[l+12>>2];i=0;while(1){e=0;g=N(i,p)+o|0;c=0;l:{if(!m){break l}c=0;if((I[d|0]|I[d+1|0]<<8)!=65535){break l}c=(I[d+2|0]|I[d+3|0]<<8)==65535?-1:0}c=c+j>>>0>i>>>0?g:163632;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<6){break j}g=a-6|0;H[b+12>>2]=g;if((g|0)<=0){break j}g=I[c|0]|I[c+1|0]<<8;g=(g<<8|g>>>8)&65535;k=I[c+2|0]|I[c+3|0]<<8;k=(k<<8|k>>>8)&65535;if(g>>>0>>0){break j}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break j}a=a-8|0;H[b+12>>2]=a;if((a|0)<=0){break j}g=(g-k|0)+1|0;if(g>>>0>1073741822){break j}if(g){c=I[c|0]|I[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+q|0;if(c>>>0>>0|c>>>0>f>>>0){break j}k=f-c|0;c=g<<2;if(k>>>0>>0){break j}a=a-c|0;H[b+12>>2]=a;if((a|0)<=0){break j}}e=1;i=i+1|0;if((n|0)!=(i|0)){continue}break}}c=e}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>e>>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}d=d-12|0;H[b+12>>2]=d;if((d|0)<=0){c=0;break a}c=I[c|0]|I[c+1|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<6){c=0;break a}f=I[a+4|0]|I[a+5|0]<<8;c=N(c,(f<<8|f>>>8)&65535);if(!c){break b}a=a+12|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(c>>>0>e-a>>>0){c=0;break a}a=d-c|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<6){c=0;break a}c=d-8|0;H[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=I[a+4|0]|I[a+5|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}e=e-a|0;a=((d<<8|d>>>8)&65535)<<2;if(e>>>0>>0){c=0;break a}a=c-a|0;H[b+12>>2]=a;c=0;if((a|0)>0){break b}break a}if(f>>>0<8){c=0;break a}c=d-10|0;H[b+12>>2]=c;if((c|0)<=0){c=0;break a}d=I[a+2|0]|I[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){c=0;break a}f=I[a+6|0]|I[a+7|0]<<8;d=N(d,(f<<8|f>>>8)&65535);if(!d){break b}a=a+8|0;if(a>>>0>>0){c=0;break a}if(a>>>0>e>>>0){c=0;break a}if(d>>>0>e-a>>>0){c=0;break a}a=c-d|0;H[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}Wa=l+16|0;return c}function Tv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=Wa-16|0;Wa=d;k=H[b+16>>2];l=H[b+8>>2];e=H[b>>2];n=H[a+492>>2];a:{b:{c=Ya[H[b+36>>2]](b)|0;if((c|0)<0){break b}e=l-e>>3;e=(c|0)<(e|0)?c:e;if(H[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;c:{if(!H[b+152>>2]){f=e+6|0;c=Ya[H[H[n>>2]>>2]](j,f,k)|0;if(c){break c}c=Ya[H[H[n>>2]>>2]](m,f,k)|0;if(c){break c}c=Ya[H[H[n>>2]>>2]](i,4,k)|0;H[d+12>>2]=c;if(c){break c}}Ya[H[b+28>>2]](b);c=H[b>>2];if(l>>>0<=c>>>0){break b}t=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}h:{switch(I[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break g}}i:{switch(I[c|0]-100|0){case 0:if(!g|(I[c+1|0]!=101|I[c+2|0]!=102)){break g}break e;case 1:break i;default:break g}}if(I[c+1|0]!=110){break g}if(I[c+2|0]==100){break f}}Ya[H[b+32>>2]](b);h=H[b>>2];if(h>>>0>=l>>>0){break b}if(H[b+12>>2]){break a}j:{if(I[c|0]!=47){break j}if(c+2>>>0>=l>>>0){H[d+12>>2]=3;break d}o=H[H[a+128>>2]+52>>2];f=H[b+8>>2];Ya[H[b+28>>2]](b);k:{e=H[b>>2];l:{if(e>>>0>=f>>>0|I[e|0]-48>>>0>9){break l}e=Ya[H[b+36>>2]](b)|0;Ya[H[b+32>>2]](b);if((e|0)<0){break l}q=f;r=H[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break k}}if(o){break a}H[b+12>>2]=3;break a}H[b>>2]=(e+r|0)+1;if(H[b+12>>2]){break a}if(H[b+152>>2]){break j}c=c+1|0;h=h-c|0;o=Ya[H[b+200>>2]](m,g,c,h+1|0)|0;H[d+12>>2]=o;if(o){break d}q=h;h=g<<2;F[q+H[h+H[b+180>>2]>>2]|0]=0;if(I[c|0]==46){c=rb(11262,H[h+H[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=H[a+172>>2];m:{if(!((c|0)<0|(g|0)>=(t|0))){if(c>>>0>=e>>>0){H[d+12>>2]=3;break d}c=zb(k,e,d+12|0);if(H[d+12>>2]){break d}c=mb(c,f,e);Ya[H[n+16>>2]](c,e,4330);f=H[a+172>>2];u=d,v=Ya[H[b+252>>2]](j,g,f+c|0,e-f|0)|0,H[u+12>>2]=v;if(c){Ya[H[k+8>>2]](k,c)}c=H[d+12>>2];break m}c=Ya[H[b+252>>2]](j,g,f,e)|0;H[d+12>>2]=c}if(c){break d}g=g+1|0}Ya[H[b+28>>2]](b);c=H[b>>2];if(l>>>0>c>>>0){continue}}break}if(!g){break b}}H[b+152>>2]=g;if(s&255){a=H[H[b+180>>2]>>2];if(!rb(11262,a)){break a}c=Ya[H[b+304>>2]](i,0,a,H[H[b+184>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+304>>2]](i,1,H[H[b+232>>2]>>2],H[H[b+236>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}a=p<<2;c=Ya[H[b+304>>2]](i,2,H[a+H[b+180>>2]>>2],H[a+H[b+184>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+304>>2]](i,3,H[a+H[b+232>>2]>>2],H[a+H[b+236>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+200>>2]](m,p,H[H[b+284>>2]>>2],H[H[b+288>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+252>>2]](j,p,H[H[b+284>>2]+4>>2],H[H[b+288>>2]+4>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+200>>2]](m,0,H[H[b+284>>2]+8>>2],H[H[b+288>>2]+8>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+252>>2]](j,0,H[H[b+284>>2]+12>>2],H[H[b+288>>2]+12>>2])|0;H[d+12>>2]=c;if(c){break c}break a}F[d+8|0]=I[100176];H[d+4>>2]=I[100172]|I[100173]<<8|(I[100174]<<16|I[100175]<<24);c=Ya[H[b+304>>2]](i,0,H[H[b+180>>2]>>2],H[H[b+184>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+304>>2]](i,1,H[H[b+232>>2]>>2],H[H[b+236>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+200>>2]](m,0,11262,8)|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+252>>2]](j,0,d+4|0,5)|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+200>>2]](m,g,H[H[b+284>>2]>>2],H[H[b+288>>2]>>2])|0;H[d+12>>2]=c;if(c){break c}c=Ya[H[b+252>>2]](j,g,H[H[b+284>>2]+4>>2],H[H[b+288>>2]+4>>2])|0;H[d+12>>2]=c;if(c){break c}H[b+152>>2]=H[b+152>>2]+1;break a}c=H[d+12>>2]}H[b+12>>2]=c;break a}H[d+12>>2]=3;H[b+12>>2]=3}Wa=d+16|0}function mt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=O(0);if(!I[a+178|0]){d=H[a+152>>2];b=I[d+8|0]|I[d+9|0]<<8;c=H[a+160>>2];c=c>>>0<((b<<8|b>>>8)&65535)>>>0?(d+(c<<2)|0)+10|0:163632;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?(c+d|0)+2|0:163632;e=I[c+4|0]|I[c+5|0]<<8;d=(e<<8|e>>>8)&65535;H[a+156>>2]=d;a:{if(!I[a+176|0]){break a}b:{c:{c=H[a+164>>2];if((c|0)>=0){if(c>>>0>=d>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){c=Eb(H[a+172>>2],b<<2);if(c){break c}}H[a+164>>2]=-1}F[a+40|0]=1;break a}H[a+164>>2]=b;H[a+172>>2]=c}c=H[a+168>>2];if(c>>>0>>0){kb(H[a+172>>2]+(c<<2)|0,0,d-c<<2)}H[a+168>>2]=d;g=H[a+152>>2]+2|0;d=H[a+160>>2];p=H[a+144>>2];q=H[a+148>>2];d:{if(!e){H[64760]=H[40908];c=259040;break d}c=H[a+172>>2]}b=I[g+6|0]|I[g+7|0]<<8;b=d>>>0<((b<<8|b>>>8)&65535)>>>0?(g+(d<<2)|0)+8|0:163632;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);h=b?b+g|0:163632;b=I[h+4|0]|I[h+5|0]<<8;k=(b<<8|b>>>8)&65535;j=H[a+156>>2];f=j>>>0>k>>>0?k:j;if(f){b=I[g+2|0]|I[g+3|0]<<8|(I[g+4|0]<<16|I[g+5|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b?b+g|0:163632;b=0;while(1){d=h+(b<<1)|0;d=I[d+6|0]|I[d+7|0]<<8;v=c+(b<<2)|0,w=mk(e,(d<<8|d>>>8)&65535,p,q),L[v>>2]=w;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(j>>>0>k>>>0){kb(c+(f<<2)|0,0,j-f<<2)}}F[a+178|0]=1}c=H[a+24>>2];e:{f:{if(c){c=c-1|0;H[a+24>>2]=c;if(c>>>0>=K[a+32>>2]){break f}c=H[a+36>>2]+(c<<5)|0;break e}F[a+20|0]=1}c=H[40915];H[64766]=H[40914];H[64767]=c;c=H[40913];H[64764]=H[40912];H[64765]=c;c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040}i=H[a+156>>2];b=0;g:{h:{i:{u=M[c>>3];j:{if(P(u)<2147483648){c=~~u;break j}c=-2147483648}if((c|0)>=0){e=H[a+24>>2];r=e+N(c,i^-1)|0;if(e>>>0>>0){break h}if(c){break i}break g}F[a+20|0]=1;e=H[a+24>>2];break g}l=(i|0)>0?i:0;k=i&-2;p=i&1;q=c+r|0;n=H[40908];o=H[40909];while(1){f=H[a+32>>2];b=m+r|0;if(b>>>0>=e>>>0){F[a+20|0]=1}h=H[a+36>>2];k:{if(b>>>0>=f>>>0){b=H[40915];H[64766]=H[40914];H[64767]=b;b=H[40913];H[64764]=H[40912];H[64765]=b;b=H[40911];H[64762]=H[40910];H[64763]=b;H[64760]=n;H[64761]=o;d=259040;break k}d=h+(b<<5)|0}H[d+12>>2]=m;H[d+8>>2]=c;b=H[d+16>>2];l:{if((b|0)<0){break l}e=b;if(b>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(l>>>0>=e>>>0){continue}break}m:{if(!(b>>>0>e>>>0|e>>>0>536870910)){b=Eb(H[d+24>>2],e<<3);if(b){break m}}H[d+16>>2]=-1;break l}H[d+16>>2]=e;H[d+24>>2]=b}b=H[d+20>>2];if(b>>>0>>0){kb(H[d+24>>2]+(b<<3)|0,0,l-b<<3)}H[d+20>>2]=l}n:{if(!i){break n}e=N(i,m)+q|0;b=f-e|0;s=e?b>>>0>f>>>0?0:b:f;t=h+(e<<5)|0;g=H[d+24>>2];j=H[d+20>>2];b=0;h=0;if((i|0)!=1){while(1){d=t+(b<<5)|0;o:{if(b>>>0>=j>>>0){H[64760]=n;H[64761]=o;f=259040;break o}f=g+(b<<3)|0}e=b>>>0>>0?d:163632;d=H[e+4>>2];H[f>>2]=H[e>>2];H[f+4>>2]=d;e=b|1;d=t+(e<<5)|0;p:{if(e>>>0>=j>>>0){H[64760]=n;H[64761]=o;f=259040;break p}f=g+(e<<3)|0}e=e>>>0>>0?d:163632;d=H[e+4>>2];H[f>>2]=H[e>>2];H[f+4>>2]=d;b=b+2|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!p){break n}d=t+(b<<5)|0;q:{if(b>>>0>=j>>>0){H[64760]=n;H[64761]=o;e=259040;break q}e=g+(b<<3)|0}d=b>>>0>>0?d:163632;b=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=b}e=H[a+24>>2];m=m+1|0;if((c|0)!=(m|0)){continue}break}b=c;break g}F[a+40|0]=1;return}c=N(b,i);if(c>>>0<=e>>>0){H[a+24>>2]=e-c;return}F[a+20|0]=1}function am(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Wa-16|0;Wa=g;H[b+12>>2]=0;H[b>>2]=c;h=c+d|0;H[b+8>>2]=h;Ya[H[b+28>>2]](b);c=H[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=I[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(I[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(I[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(ub(c,11709,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Ya[H[b+32>>2]](b);e=1;l=c;if(!H[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|I[c+1|0]!=68){break d}H[b>>2]=l;e=H[H[a+128>>2]+52>>2];d=H[b+8>>2];Ya[H[b+28>>2]](b);n:{c=H[b>>2];o:{if(c>>>0>=d>>>0|I[c|0]-48>>>0>9){break o}c=Ya[H[b+36>>2]](b)|0;Ya[H[b+32>>2]](b);if((c|0)<0){break o}f=d;d=H[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}H[b>>2]=(c+d|0)+1;e=0;if(!H[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|I[c+1|0]!=124){break d}H[b>>2]=l;e=H[H[a+128>>2]+52>>2];d=H[b+8>>2];Ya[H[b+28>>2]](b);p:{c=H[b>>2];q:{if(c>>>0>=d>>>0|I[c|0]-48>>>0>9){break q}c=Ya[H[b+36>>2]](b)|0;Ya[H[b+32>>2]](b);if((c|0)<0){break q}f=d;d=H[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}H[b>>2]=(c+d|0)+1;e=0;if(!H[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;H[b>>2]=i;Ya[H[b+32>>2]](b);if(H[b+12>>2]){break b}e=0;c=H[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=I[i|0];c=98480;f=12002;while(1){d=c;r:{if(I[f|0]!=(p|0)){break r}if((wb(f)|0)!=(j|0)){break r}if(Bc(i,f,j)){break r}c=H[b+376>>2];if(!(H[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(rb(f,11880)){break c}}f=H[a+532>>2];if(f){c=H[f>>2]?f:0}else{c=0}i=H[d+8>>2];s:{if((i|0)==11){Ya[H[d+12>>2]](a,b);c=H[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(H[d+4>>2]-2|0){case 1:H[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:H[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:H[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:H[g+12>>2]=b;e=g+12|0;break u;case 5:H[g+12>>2]=a;e=g+12|0;break u;case 6:H[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}H[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=H[e>>2];c=H[c>>2]}if(f){break t}break g}H[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Ya[H[b+68>>2]](b,d,e,c,0)|0;break s}c=Ya[H[b+64>>2]](b,d,e,c,0)|0}H[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=H[d+36>>2];if(f){continue}break}break c}if(!ub(c,11600,5)){break b}break d}e=0;H[b+12>>2]=0;break c}H[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(I[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(ub(c,11768,13)){break d}d=H[b+376>>2];if(d&1){H[b+376>>2]=d|2}H[b>>2]=c+13;break c}Ya[H[b+32>>2]](b);e=0;if(H[b+12>>2]){break b}}Ya[H[b+28>>2]](b);c=H[b>>2];if(h>>>0>c>>>0){continue}break}}c=H[b+12>>2]}Wa=g+16|0;return c}function Tl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=Wa-1328|0;Wa=g;j=H[a+4>>2];l=H[j+328>>2];H[g+1324>>2]=0;o=H[j+136>>2];q=H[j+100>>2];m=H[H[j+128>>2]+52>>2];a:{b:{if(m){c=Ya[H[H[m>>2]>>2]](H[m+4>>2],b,g+664|0)|0;H[g+1324>>2]=c;if(c){break a}c=0;l=H[j+288>>2];c:{if(!(l&255)){break c}k=l&3;f=H[g+664>>2];if((l-1&255)>>>0<3){d=0}else{n=l&252;while(1){e=f;f=e+4|0;d=d+4|0;if((n|0)!=(d&255)){continue}break}d=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!k){break c}while(1){d=I[f|0]|d<<8;f=f+1|0;i=i+1|0;if((k|0)!=(i&255)){continue}break}}f=H[g+668>>2];d:{if(!f){f=0;break d}c=f-l|0;f=zb(q,c,g+1324|0);if(H[g+1324>>2]){break d}mb(f,H[g+664>>2]+H[j+288>>2]|0,c)}Ya[H[H[m>>2]+4>>2]](H[m+4>>2],g+664|0);if(!H[g+1324>>2]){break b}break a}c=H[j+292>>2]+H[j+288>>2]|0;k=ob(l,(H[j+284>>2]+H[j+308>>2]|0)+N(c,b)|0);H[g+1324>>2]=k;if(k){break a}c=Nb(l,c<<1);H[g+1324>>2]=c;if(c){break a}c=H[l+32>>2];n=H[j+288>>2];if(n&255){f=c;k=n-1&255;if(k>>>0>=3){p=n&252;while(1){h=f;f=f+4|0;d=d+4|0;if((p|0)!=(d&255)){continue}break}d=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}h=n&3;if(h){while(1){d=I[f|0]|d<<8;f=f+1|0;e=e+1|0;if((h|0)!=(e&255)){continue}break}}c=(c+k|0)+1|0}e=0;k=H[j+292>>2];e:{if(!(k&255)){break e}f=c;r=k-1|0;s=r&255;if(s>>>0>=3){p=k&252;h=0;while(1){i=f;f=f+4|0;h=h+4|0;if((p|0)!=(h&255)){continue}break}h=I[i|0]|I[i+1|0]<<8|(I[i+2|0]<<16|I[i+3|0]<<24);i=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}h=k&3;if(h){while(1){i=I[f|0]|i<<8;f=f+1|0;e=e+1|0;if((h|0)!=(e&255)){continue}break}}p=k&3;f=((c+s|0)+n|0)+1|0;h=0;if((r&255)>>>0<3){e=0}else{k=k&252;e=0;while(1){c=f;f=c+4|0;e=e+4|0;if((k|0)!=(e&255)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!p){break e}while(1){e=I[f|0]|e<<8;f=f+1|0;h=h+1|0;if((p|0)!=(h&255)){continue}break}}Db(l);if(!(!(K[l+4>>2]>>0|K[j+300>>2]<=d>>>0)&e>>>0>=i>>>0)){H[g+1324>>2]=9;h=0;f=0;break a}h=0;f=0;if((e|0)==(i|0)){break a}c=e-i|0;f=zb(q,c,g+1324|0);if(H[g+1324>>2]){break a}e=Og(l,H[j+308>>2]+i|0,f,c);H[g+1324>>2]=e;if(e){break a}}e=H[j+316>>2]+(d<<3)|0;H[a+1364>>2]=H[e>>2];e=H[e+4>>2];H[a+1372>>2]=0;H[a+1376>>2]=0;H[a+1368>>2]=e;d=H[j+304>>2]+N(d,252)|0;e=H[d+220>>2];H[a+1380>>2]=H[d+216>>2];H[a+1384>>2]=e;i=H[d+228>>2];e=a+1388|0;H[e>>2]=H[d+224>>2];H[e+4>>2]=i;e=H[d+236>>2];H[a+1396>>2]=H[d+232>>2];H[a+1400>>2]=e;i=H[d+4>>2];H[a+1360>>2]=i;e=(i|0)>=0?i:0;if(e>>>0<=c>>>0){if((i|0)>=0){Ya[H[o+16>>2]](f,c,4330)}f:{if(I[a+70|0]){d=Ya[H[H[o+12>>2]+8>>2]](a,f+e|0,c-e|0)|0;H[g+1324>>2]=d;h=0;break f}h=g+664|0;Ya[H[o+24>>2]](h,a,1);i=d;d=g+8|0;Ya[H[o+28>>2]](j,i,d);H[g+1200>>2]=d;i=f+e|0;c=c-e|0;d=Ya[H[H[o+12>>2]+12>>2]](h,i,c)|0;H[g+1324>>2]=d;h=0;if((d&255)!=164){break f}F[H[a+8>>2]+160|0]=0;d=Ya[H[H[o+12>>2]+12>>2]](g+664|0,i,c)|0;H[g+1324>>2]=d;h=1}if(!H[H[m>>2]+8>>2]|(!m|d)){break a}c=H[a+32>>2];H[g+668>>2]=0;H[g+664>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=H[a+40>>2];H[g+672>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=H[a+44>>2];H[g+676>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t=g,u=Ya[H[H[m>>2]+8>>2]](H[m+4>>2],b,0,g+664|0)|0,H[t+1324>>2]=u;H[a+32>>2]=H[g+664>>2]<<16;H[a+40>>2]=H[g+672>>2]<<16;H[a+44>>2]=H[g+676>>2]<<16;break a}H[g+1324>>2]=9}if(f){Ya[H[q+8>>2]](q,f)}F[H[a+8>>2]+161|0]=h;Wa=g+1328|0;return H[g+1324>>2]}function aM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=O(0),j=0,k=O(0),l=0,m=0;d=H[a>>2];h=d+10|0;e=H[a+4>>2];d=I[d|0]|I[d+1|0]<<8;g=(d<<8|d>>>8)<<16>>16;m=g+1|0;d=h+(m<<1)|0;a:{if(e>>>0>d>>>0){break a}e=e+H[a+8>>2]|0;if(e>>>0>>0|e-d>>>0<2){break a}d=(h+(g<<1)|0)-2|0;d=I[d|0]|I[d+1|0]<<8;j=(d<<8|d>>>8)&65535;d=0;e=H[b>>2];b:{if((e|0)<0){break b}l=j+1|0;if(e>>>0<=j>>>0){f=e;while(1){f=((f>>>1|0)+f|0)+8|0;if(l>>>0>=f>>>0){continue}break}c:{if(!(e>>>0>f>>>0|f>>>0>268435454)){e=Eb(H[b+8>>2],f<<4);if(e){break c}}H[b>>2]=-1;break b}H[b>>2]=f;H[b+8>>2]=e}f=H[b+4>>2];if(f>>>0<=j>>>0){kb(H[b+8>>2]+(f<<4)|0,0,l-f<<4)}H[b+4>>2]=l}f=H[b+4>>2];if(f){d=f;e=0;while(1){d:{if(d>>>0<=e>>>0){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=H[b+4>>2];f=259040;break d}f=H[b+8>>2]+(e<<4)|0}H[f+4>>2]=0;H[f+8>>2]=0;F[f|0]=0;F[f+12|0]=0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}f=1;if(c){break a}e:{if((g|0)<=0){break e}e=0;while(1){c=h+(e<<1)|0;c=I[c|0]|I[c+1|0]<<8;c=(c<<8|c>>>8)&65535;f:{if(c>>>0>=d>>>0){c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break f}c=H[b+8>>2]+(c<<4)|0}F[c+12|0]=1;e=e+1|0;if((g|0)==(e|0)){break e}d=H[b+4>>2];continue}}c=h+(g<<1)|0;c=I[c|0]|I[c+1|0]<<8;c=(h+(m<<1)|0)+((c<<8|c>>>8)&65535)|0;f=0;e=0;while(1){d=H[a+4>>2];if(d>>>0>c>>>0|d+H[a+8>>2]>>>0<=c>>>0){break a}h=I[c|0];d=c+1|0;g:{if(K[b+4>>2]<=e>>>0){g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break g}g=H[b+8>>2]+(e<<4)|0}F[g|0]=h;if(h&8){g=H[a+4>>2];if(g>>>0>d>>>0|d>>>0>=g+H[a+8>>2]>>>0){break a}d=c+2|0;c=I[c+1|0];h:{if(!c){break h}while(1){e=e+1|0;if(j>>>0>>0){break h}c=c-1|0;i:{if(K[b+4>>2]<=e>>>0){g=H[40911];H[64762]=H[40910];H[64763]=g;g=H[40909];H[64760]=H[40908];H[64761]=g;g=259040;break i}g=H[b+8>>2]+(e<<4)|0}F[g|0]=h;if(c){continue}break}}}c=d;e=e+1|0;if(j>>>0>=e>>>0){continue}break}d=H[b+4>>2];if(!d){return 1}e=0;while(1){j:{if(d>>>0<=e>>>0){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break j}d=H[b+8>>2]+(e<<4)|0}h=I[d|0];k:{if(h&2){d=H[a+4>>2];if(d>>>0>c>>>0|d+H[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=O(I[c|0]);if(h&16){i=O(i+k);c=d;break k}i=O(i-k);c=d;break k}if(h&16){break k}d=H[a+4>>2];if(d>>>0>c>>>0){break a}d=d+H[a+8>>2]|0;if(d>>>0>>0|d-c>>>0<2){break a}d=I[c|0]|I[c+1|0]<<8;i=O(i+O((d<<8|d>>>8)<<16>>16));c=c+2|0}d=H[b+4>>2];l:{if(d>>>0<=e>>>0){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=H[b+4>>2];h=259040;break l}h=H[b+8>>2]+(e<<4)|0}L[h+4>>2]=i;e=e+1|0;if(d>>>0>e>>>0){continue}break}if(!d){return 1}i=O(0);e=0;while(1){m:{if(d>>>0<=e>>>0){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break m}d=H[b+8>>2]+(e<<4)|0}h=I[d|0];n:{if(h&4){f=0;d=H[a+4>>2];if(d>>>0>c>>>0|d+H[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=O(I[c|0]);if(h&32){i=O(i+k);c=d;break n}i=O(i-k);c=d;break n}if(h&32){break n}f=0;d=H[a+4>>2];if(d>>>0>c>>>0){break a}d=d+H[a+8>>2]|0;if(d>>>0>>0|d-c>>>0<2){break a}d=I[c|0]|I[c+1|0]<<8;i=O(i+O((d<<8|d>>>8)<<16>>16));c=c+2|0}d=H[b+4>>2];o:{if(d>>>0<=e>>>0){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=H[b+4>>2];f=259040;break o}f=H[b+8>>2]+(e<<4)|0}L[f+8>>2]=i;f=1;e=e+1|0;if(d>>>0>e>>>0){continue}break}}return f|0}function Xq(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{if(!(!f|!b)){l=Ab(f,16);if(l){break e}l=0;break c}j=H[d+4>>2];H[a>>2]=H[d>>2];H[a+4>>2]=j;H[a+16>>2]=H[d+16>>2];j=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=j;H[a+24>>2]=f;H[a+20>>2]=b?0:e;break d}b=H[d+4>>2];H[a>>2]=H[d>>2];H[a+4>>2]=b;H[a+16>>2]=H[d+16>>2];b=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=b;H[a+24>>2]=f;H[a+20>>2]=l;j=f&1;e=mb(l,e,f<<4);d=H[e+8>>2];b=H[e+12>>2];f:{if((f|0)==1){f=b;break f}k=f&-2;while(1){if(d){H[e+8>>2]=1}if((b|0)!=-1){H[e+12>>2]=2}if(d){H[e+8>>2]=1;d=1}else{d=0}f=-1;if((b|0)!=-1){H[e+12>>2]=2;f=2}b=f;m=m+2|0;if((k|0)!=(m|0)){continue}break}}if(!j){break d}if(d){H[e+8>>2]=1}if((f|0)==-1){break d}H[e+12>>2]=2}H[a+36>>2]=0;H[a+40>>2]=0;zs(c,1196643650,g,h,a+28|0);zs(c,1196445523,g,h,a+32|0);if(i){b=H[i>>2];if(!b){break c}d=c+40|0;e=c+44|0;while(1){c=i;g:{if(!rb(b,105020)){g=H[d>>2];h:{if(g){break h}f=d-4|0;while(1){if(!H[f>>2]){g=0;break h}g=1;b=H[d>>2];H[d>>2]=b?b:1;if(!b){break h}g=H[d>>2];if(!g){continue}break}}if(!g){break g}break b}if(rb(b,105334)){break g}g=H[e>>2];i:{if(g){break i}f=e-8|0;while(1){if(!H[f>>2]){g=0;break i}g=1;b=H[e>>2];H[e>>2]=b?b:1;if(!b){break i}g=H[e>>2];if(!g){continue}break}}if(!g){break g}break a}i=c+4|0;b=H[c+4>>2];if(b){continue}break}break c}d=H[64758];j:{if(d){break j}while(1){d=0;e=0;g=Wa-32|0;Wa=g;h=uf(105159);k:{if(!h|!I[h|0]){break k}f=Ab(1,40);if(!f){break k}b=H[40905];H[f+32>>2]=H[40904];H[f+36>>2]=b;b=H[40903];H[f+24>>2]=H[40902];H[f+28>>2]=b;b=H[40901];H[f+16>>2]=H[40900];H[f+20>>2]=b;b=H[40899];H[f+8>>2]=H[40898];H[f+12>>2]=b;b=H[40897];H[f>>2]=H[40896];H[f+4>>2]=b;j=f+20|0;while(1){e=Ac(h,44);if(!e){e=wb(h)+h|0}l:{if(d>>>0>1){break l}i=f+N(d,20)|0;k=e-h|0;b=d;m:{if((wb(i)|0)!=(k|0)){break m}b=d;if(ub(i,h,k)){break m}n=H[i+16>>2];H[g+24>>2]=n;b=H[i+12>>2];o=H[i+8>>2];H[g+16>>2]=o;H[g+20>>2]=b;m=H[i+4>>2];p=H[i>>2];H[g+8>>2]=p;H[g+12>>2]=m;H[i+16>>2]=n;H[i+8>>2]=o;H[i+12>>2]=b;H[i>>2]=p;H[i+4>>2]=m;b=d+1|0}n:{if(d){break n}if((wb(j)|0)!=(k|0)){break n}if(ub(j,h,k)){break n}H[g+24>>2]=H[j+16>>2];d=H[j+12>>2];H[g+16>>2]=H[j+8>>2];H[g+20>>2]=d;d=H[j+4>>2];H[g+8>>2]=H[j>>2];H[g+12>>2]=d;d=f+N(b,20)|0;Yb(d+20|0,d,N(1-b|0,20));H[d+16>>2]=H[g+24>>2];h=H[g+20>>2];H[d+8>>2]=H[g+16>>2];H[d+12>>2]=h;h=H[g+12>>2];H[d>>2]=H[g+8>>2];H[d+4>>2]=h;d=b+1|0;break l}d=b}h=e+1|0;if(I[e|0]){continue}break}e=f}Wa=g+32|0;d=e;if(!d){d=163584}b=H[64758];H[64758]=b?b:d;if(!b){break j}if(!(!d|(d|0)==163584)){hb(d)}d=H[64758];if(!d){continue}break}}o:{p:{b=H[d+16>>2];if((b|0)==785){if(H[c+40>>2]){break o}while(1){if(!H[c+36>>2]){break p}b=H[c+40>>2];H[c+40>>2]=b?b:1;if(!b){break o}if(!H[c+40>>2]){continue}break}break o}if((b|0)!=786){break p}if(H[c+44>>2]){break a}while(1){if(!H[c+36>>2]){break p}b=H[c+44>>2];H[c+44>>2]=b?b:1;if(!b){break a}if(!H[c+44>>2]){continue}break}break a}b=H[d+36>>2];if((b|0)!=785){if((b|0)!=786){break c}if(H[c+44>>2]){break a}while(1){if(!H[c+36>>2]){break c}b=H[c+44>>2];H[c+44>>2]=b?b:1;if(!b){break a}if(!H[c+44>>2]){continue}break}break a}if(H[c+40>>2]){break o}while(1){if(!H[c+36>>2]){break c}b=H[c+40>>2];H[c+40>>2]=b?b:1;if(!b){break o}if(!H[c+40>>2]){continue}break}}break b}hb(l);return 0}H[a+40>>2]=105020;H[a+36>>2]=785;return 1}H[a+40>>2]=105334;H[a+36>>2]=786;return 1}function Vk(a){var b=0,c=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+208>>2];if(b){while(1){c=H[b+4>>2];Nj(H[b>>2]);hb(b);b=c;if(b){continue}break}}b=H[a+52>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+56>>2];if(!(!b|(b|0)==163632)){lb(b)}b:{c:{b=H[a+60>>2];if(!(!b|(b|0)==163632)){c=H[b+44>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+64>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+68>>2];if(!(!b|(b|0)==163632)){c=H[b+20>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}H[b+20>>2]=0;c=H[b+24>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+72>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+76>>2];if(!(!b|(b|0)==163632)){hb(H[b+28>>2]);c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}H[b>>2]=0;H[b+16>>2]=0;hb(H[b+20>>2]);hb(b)}b=H[a+80>>2];if(!(!b|(b|0)==163632)){c=H[b+8>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}H[b+8>>2]=0;H[b+16>>2]=0;hb(H[b+20>>2]);hb(b)}b=H[a+84>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+88>>2];if(!(!b|(b|0)==163632)){c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+92>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+96>>2];if(!(!b|(b|0)==163632)){c=H[b+20>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}H[b+20>>2]=0;c=H[b+24>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+100>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+104>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+108>>2];if(!(!b|(b|0)==163632)){c=H[b+24>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+112>>2];if(!(!b|(b|0)==163632)){og(b);hb(b)}b=H[a+116>>2];if(!(!b|(b|0)==163632)){jk(b);hb(b)}b=H[a+120>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+124>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+128>>2];if(!(!b|(b|0)==163632)){c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+132>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+136>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+140>>2];if(!(!b|(b|0)==163632)){c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}_c(H[a+144>>2]);_c(H[a+148>>2]);b=H[a+152>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+156>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+160>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+164>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+168>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+172>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+176>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+180>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+184>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+188>>2];if(!(!b|(b|0)==163632)){lb(b)}b=H[a+192>>2];if(!(!b|(b|0)==163632)){c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}H[b>>2]=0;c=H[b+4>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+196>>2];if(!(!b|(b|0)==163632)){c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+200>>2];if(!(!b|(b|0)==163632)){c=H[b>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(b)}b=H[a+204>>2];if(!(!b|(b|0)==163632)){lb(b)}break b}ea(0)|0;_()|0;Gb();X()}b=H[a+20>>2];if(b){Ya[b|0](H[a+16>>2])}hb(a)}}function wf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Wa-304|0;Wa=g;a:{b:{c:{d:{e:{f:{g:{if(!ub(a,239242,13)){q=b,r=vf(a+13|0),F[q|0]=r;break g}if(!ub(a,239219,14)){q=b,r=vf(a+14|0),F[q+1|0]=r;break g}if(!ub(a,239234,21)){q=b,r=vf(a+21|0),F[q+2|0]=r;break g}if(!ub(a,239211,22)){q=b,r=vf(a+22|0),F[q+3|0]=r;break g}if(!ub(a,239256,8)){d=a+8|0;while(1){c=I[d|0];if(!((c|0)!=32&(c|0)!=9)){d=d+1|0;continue}break}h:{if(I[a|0]){c=wb(d);h=c+1|0;a=tb(h);if(!a){break f}h=c;c=mb(a,d,c);F[h+c|0]=0;H[b+4>>2]=c;break h}a=H[b+4>>2];if(!a){break g}}c=wb(a)+a|0;F[c-1|0]=0;a=H[b+4>>2];d=c-2|0;if(a>>>0>=d>>>0){break g}while(1){if(I[d|0]==44){H[b+8>>2]=H[b+8>>2]+1;F[d|0]=0;a=H[b+4>>2]}d=d-1|0;if(d>>>0>a>>>0){continue}break}break g}F[g+80|0]=48;d=Ac(a,47);if(d){h=d+1|0;e=Ac(h,44);F[d|0]=0;i:{if(e){i=e+1|0;d=Ac(i,44);F[e|0]=0;e=0;if(!d){break i}F[d|0]=0;j=vf(i)-1|0;e=vf(d+1|0);break i}e=wb(h);j:{if((e|0)<=0){break j}k:{l:{d=h+e|0;i=d-1|0;switch(I[i|0]-10|0){case 0:case 3:break l;default:break k}}F[i|0]=0}if(e>>>0<2){break j}e=d-2|0;if(I[e|0]!=13){break j}F[e|0]=0}e=wb(a)}d=wb(h);i=d+1|0;m=tb(i);if(!m){break e}q=mb(m,h,d)+d|0,r=0,F[q|0]=r}d=I[a|0];m:{if(d>>>0<33){i=0;break m}i=0;while(1){if((d-48&255)>>>0>=10){F[(g+192|0)+i|0]=d;i=i+1|0;d=48}F[(g+80|0)+i|0]=d;f=f+1|0;d=I[f+a|0];if(d>>>0>32){continue}break}}d=0;F[(g+192|0)+i|0]=0;F[(g+i|0)+81|0]=0;n:{if(!m){while(1){h=d;d=d+1|0;if(I[(g+80|0)+h|0]==48){continue}break}d=I[g+192|0];break n}d=I[g+192|0];h=(d|0)==46;if(!H[b+36>>2]){break n}l=wb(g+192|0);o:{if(l+1>>>0<=h>>>0){break o}o=e<<24>>24;f=-1;a=h;k=-1;while(1){k=((I[(g+192|0)+a|0]&192)!=128)+k|0;n=j<<24>>24;p=(k|0)==(n|0)&(f|0)<0;j=p?a:j;f=p?n:f;if(!((f|0)<0|(o|0)!=(k-f|0))){e=a-j|0;break o}n=(a|0)!=(l|0);a=a+1|0;if(n){continue}break}}j=j-((d|0)==46)|0}f=0;if(d&255){a=g+192|0;while(1){d=(f<<4)+(d<<24>>24)|0;k=d&-268435456;f=k?k>>>24^d&268435455:d;d=I[a+1|0];a=a+1|0;if(d){continue}break}f=(f>>>0)%31627|0}a=-1;d=H[(f<<2)+c>>2];p:{if(!d){break p}while(1){if(!rb(g+192|0,H[d+4>>2])){a=H[d+8>>2];break p}d=H[d>>2];if(d){continue}break}}k=Sq(b,c,g+192|0);d=(g+80|0)+h|0;h=wb(d);f=h+1|0;l=tb(f);if(!l){break d}d=mb(l,d,h);F[d+h|0]=0;h=H[b+40>>2]+N(k,24)|0;F[h+8|0]=j;H[h+4>>2]=m;H[h>>2]=d;if(!(e&255)){e=wb(g+192|0)}F[h+9|0]=e;if((i|0)<=0|(a|0)>=0){break g}while(1){d=g+192|0;m=i-1|0;a=d+m|0;o=I[a|0];f=0;F[a|0]=0;a=I[g+192|0];if(a){while(1){a=(f<<4)+(a<<24>>24)|0;h=a&-268435456;f=h?h>>>24^a&268435455:a;a=I[d+1|0];d=d+1|0;if(a){continue}break}f=(f>>>0)%31627|0}h=-1;d=H[(f<<2)+c>>2];q:{if(!d){break q}while(1){if(!rb(g+192|0,H[d+4>>2])){h=H[d+8>>2];break q}d=H[d>>2];if(d){continue}break}}d=Sq(b,c,g+192|0);j=H[b+40>>2];l=N(d,24);e=j+l|0;a=H[e+16>>2];r:{if(!a){f=tb(8);if(!f){break c}H[e+20>>2]=f;e=0;break r}if(a&a-1){f=H[e+20>>2];e=a;break r}f=H[e+20>>2];e=a<<4;f=Eb(f,e);if(!f){break b}j=H[b+40>>2];e=l+j|0;H[e+20>>2]=f;e=H[e+16>>2]}a=(a<<3)+f|0;H[a+4>>2]=k;F[a|0]=o;H[(j+l|0)+16>>2]=e+1;if((h|0)>=0){break g}a=(i|0)>1;i=m;k=d;if(a){continue}break}}Wa=g+304|0;return}H[g>>2]=h;xc(H[60540],239364,g);break a}H[g+64>>2]=i;xc(H[60540],239364,g- -64|0);break a}H[g+16>>2]=f;xc(H[60540],239364,g+16|0);break a}H[g+32>>2]=8;xc(H[60540],239364,g+32|0);break a}H[g+48>>2]=e;xc(H[60540],239364,g+48|0)}qa(1);X()}function Pn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=tb(16);if(d){H[d+12>>2]=24;H[d+4>>2]=25;H[d>>2]=0;H[d+8>>2]=26}if(!d){return 7}b=6;a:{if(!(!d|!a)){c=Ya[H[d+4>>2]](d,208)|0;b=64;if(!c){break a}kb(c+16|0,0,188);H[c+204>>2]=1;H[c+12>>2]=4;H[c+4>>2]=2;H[c+8>>2]=10;H[c>>2]=d;H[a>>2]=c;b=0}}j=b;b:{if(b){hb(d);break b}b=H[a>>2];if(b){Vc(b,17032)}if(b){Vc(b,95956)}if(b){Vc(b,98216)}if(b){Vc(b,24508)}if(b){Vc(b,100180)}if(b){Vc(b,30036)}if(b){Vc(b,102292)}if(b){Vc(b,103200)}if(b){Vc(b,29408)}if(b){Vc(b,30724)}if(b){Vc(b,93472)}if(b){Vc(b,31368)}if(b){Vc(b,93656)}if(b){Vc(b,93928)}if(b){Vc(b,29324)}if(b){Vc(b,21496)}}i=H[a>>2];h=Wa-432|0;Wa=h;c:{c=uf(8924);if(!c){break c}while(1){b=0;d:{e:{f:{f=c;e=I[c|0];switch(e|0){case 0:break c;case 9:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;default:break f}}if((e|0)==32){break d}}g:{h:{i:{while(1){a=e&255;if(!a){e=b;break g}if((a|0)==58){e=b;break g}F[(h+288|0)+b|0]=e;e=b|1;a=I[f+1|0];if(!a|(a|0)==58){break h}F[(h+288|0)+e|0]=a;e=b|2;a=I[f+2|0];if(!a|(a|0)==58){break i}F[(h+288|0)+e|0]=a;e=b|3;a=I[f+3|0];if(!(!a|(a|0)==58)){F[(h+288|0)+e|0]=a;f=f+4|0;e=128;b=b+4|0;if((b|0)==128){break g}e=I[f|0];continue}break}f=f+3|0;break g}f=f+2|0;break g}f=f+1|0}F[(h+288|0)+e|0]=0;if((c|0)==(f|0)|I[f|0]!=58){break c}a=1;e=f+1|0;b=0;j:{while(1){c=I[e|0];if(!c){c=b;break j}if((c|0)==61){c=b;break j}F[(h+144|0)+b|0]=c;c=b|1;d=a+1|0;e=d+f|0;g=I[e|0];if(!g){a=d;break j}if((g|0)==61){a=d;break j}F[(h+144|0)+c|0]=g;c=b|2;d=a+2|0;e=d+f|0;g=I[e|0];if(!g){a=d;break j}if((g|0)==61){a=d;break j}F[(h+144|0)+c|0]=g;c=b|3;d=a+3|0;e=d+f|0;g=I[e|0];if(!g){a=d;break j}if((g|0)==61){a=d;break j}F[(h+144|0)+c|0]=g;a=a+4|0;e=f+a|0;c=128;b=b+4|0;if((b|0)!=128){continue}break}a=129}F[(h+144|0)+c|0]=0;if((a|0)==1|I[e|0]!=61){break c}a=1;c=e+1|0;b=0;k:{while(1){d=a;f=b;l:{m:{g=I[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((g|0)!=32){break l}break k}F[b+h|0]=g;f=b|1;n:{o:{d=a+1|0;c=e+d|0;g=I[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((g|0)==32){break k}}F[f+h|0]=g;f=b|2;p:{q:{d=a+2|0;c=e+d|0;g=I[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((g|0)==32){break k}}F[f+h|0]=g;f=b|3;r:{s:{d=a+3|0;c=e+d|0;g=I[c|0];switch(g|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break r;default:break s}}if((g|0)==32){break k}}F[f+h|0]=g;a=a+4|0;c=e+a|0;f=128;b=b+4|0;if((b|0)!=128){continue}break}d=129}F[f+h|0]=0;t:{u:{a=I[c|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break t;default:break u}}if((a|0)!=32){break c}}if((d|0)==1){break c}f=h+288|0;e=h+144|0;v:{if(!i){break v}w:{if(!h|(!f|!e)){break w}a=i+20|0;b=H[i+16>>2];d=a+(b<<2)|0;x:{if((b|0)<=0){break x}while(1){if(!rb(H[H[H[a>>2]>>2]+8>>2],f)){break x}a=a+4|0;if(d>>>0>a>>>0){continue}break}}if((a|0)==(d|0)){break v}d=H[a>>2];b=H[H[d>>2]+32>>2];if(!b){break w}b=Ya[b|0](d,11331)|0;if(!b){break w}b=H[b>>2];if(!b){break w}Ya[b|0](H[a>>2],e,h,1)|0}}if(!I[c|0]){break c}}c=c+1|0;continue}}Wa=h+432|0;return j}function vc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Wa-16|0;Wa=i;g=H[a>>2];a:{b:{f=H[a+4>>2];c:{if(!f){f=0;break c}if(H[a+40>>2]){break c}e=f<<1;if((e|0)<0){d=6;break b}if(e){d=10;if(e>>>0>268435455){break b}f=f<<4;d=Ya[H[g+4>>2]](g,f)|0;if(!d){d=64;break b}kb(d,0,f);f=H[a+4>>2]}F[a+16|0]=1;H[a+40>>2]=d;j=(f<<3)+d|0;H[a+44>>2]=j;e=H[a+24>>2];if(e){h=e+(G[a+22>>1]<<3)|0}else{h=0}H[a+60>>2]=h;k=a- -64|0;e=H[a+28>>2];if(e){h=e+G[a+22>>1]|0}else{h=0}H[k>>2]=h;e=H[a+32>>2];if(e){h=e+(G[a+20>>1]<<1)|0}else{h=0}H[a+68>>2]=h;e=G[a+22>>1]<<3;H[a+80>>2]=e+j;H[a+76>>2]=d+e}d:{e:{f:{b=G[a+58>>1]+(G[a+22>>1]+b|0)|0;k=b>>>0<=f>>>0;g:{if(k){b=f;break g}d=10;j=b+7|0;b=j&-8;if(b>>>0>32767){break a}e=H[a+24>>2];if((f|j)<0){break f}h:{i:{j:{if(!b){if(e){Ya[H[g+8>>2]](g,e)}e=0;H[a+24>>2]=0;j=a+28|0;d=H[j>>2];if(!d){break j}Ya[H[g+8>>2]](g,d);break j}h=(b|0)<=(f|0);k:{if(!f){e=Ya[H[g+4>>2]](g,b<<3)|0;d=!e<<6;break k}d=Ya[H[g+12>>2]](g,f<<3,b<<3,e)|0;e=d?d:e;d=!d<<6}l:{if(e?h|d:1){H[a+24>>2]=e;if(!d){break l}break e}kb((f<<3)+e|0,0,b-f<<3);H[a+24>>2]=e}j=a+28|0;m:{if(!f){e=Ya[H[g+4>>2]](g,b)|0;d=!e<<6;break m}e=H[a+28>>2];d=Ya[H[g+12>>2]](g,f,b,e)|0;e=d?d:e;d=!d<<6}if(d|h|!e){break i}kb(e+f|0,0,b-f|0)}H[i+12>>2]=0;H[j>>2]=e;break h}H[i+12>>2]=d;H[a+28>>2]=e;if(d){break e}}if(I[a+16|0]){e=jb(g,8,f<<1,b<<1,H[a+40>>2],i+12|0);H[a+40>>2]=e;d=H[i+12>>2];if(d){break e}d=b<<3;f=f<<3;Yb(d+e|0,f+e|0,f);H[a+44>>2]=d+H[a+40>>2]}H[a+4>>2]=b}if(!(H[a+40>>2]|!b)){f=b<<1;if((f|0)<0){d=6;break d}n:{if(!f){f=0;break n}d=10;if(f>>>0>268435455){break d}d=H[a>>2];b=b<<4;f=Ya[H[d+4>>2]](d,b)|0;if(!f){d=64;H[a+40>>2]=0;break a}kb(f,0,b);b=H[a+4>>2]}F[a+16|0]=1;H[a+40>>2]=f;d=(b<<3)+f|0;H[a+44>>2]=d;b=H[a+24>>2];if(b){b=b+(G[a+22>>1]<<3)|0}else{b=0}H[a+60>>2]=b;h=a- -64|0;b=H[a+28>>2];if(b){b=b+G[a+22>>1]|0}else{b=0}H[h>>2]=b;b=H[a+32>>2];if(b){b=b+(G[a+20>>1]<<1)|0}else{b=0}H[a+68>>2]=b;b=G[a+22>>1]<<3;H[a+80>>2]=b+d;H[a+76>>2]=b+f}d=0;H[i+12>>2]=0;b=G[a+56>>1]+(G[a+20>>1]+c|0)|0;c=H[a+8>>2];o:{if(b>>>0>c>>>0){d=10;b=b+3&-4;if(b>>>0>32767){break a}l=a,m=jb(g,2,c,b,H[a+32>>2],i+12|0),H[l+32>>2]=m;d=H[i+12>>2];if(d){break e}H[a+8>>2]=b;break o}if(k){break a}}d=0;b=H[a+24>>2];if(b){b=b+(G[a+22>>1]<<3)|0}else{b=0}H[a+60>>2]=b;c=a- -64|0;b=H[a+28>>2];if(b){b=b+G[a+22>>1]|0}else{b=0}H[c>>2]=b;b=H[a+32>>2];if(b){b=b+(G[a+20>>1]<<1)|0}else{b=0}H[a+68>>2]=b;if(!I[a+16|0]){break a}b=G[a+22>>1]<<3;H[a+76>>2]=b+H[a+40>>2];H[a+80>>2]=b+H[a+44>>2];break a}d=6;H[i+12>>2]=6;H[a+24>>2]=e}b=H[a>>2];c=H[a+24>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+24>>2]=0;c=H[a+28>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+28>>2]=0;c=H[a+32>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+32>>2]=0;c=H[a+40>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+40>>2]=0;c=H[a+52>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+20>>2]=0;H[a+36>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+12>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a+88>>2]=0;b=H[a+24>>2];H[a+56>>2]=H[a+20>>2];H[a+60>>2]=b;c=H[a+32>>2];b=a- -64|0;H[b>>2]=H[a+28>>2];H[b+4>>2]=c;b=H[a+40>>2];H[a+72>>2]=H[a+36>>2];H[a+76>>2]=b;b=H[a+48>>2];H[a+80>>2]=H[a+44>>2];H[a+84>>2]=b;break a}H[a+40>>2]=0;break a}H[a+40>>2]=0;H[i+12>>2]=d}Wa=i+16|0;return d}function hA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Wa-16|0;Wa=l;H[l+8>>2]=c;H[l+12>>2]=a;c=kb(c,0,652);f=I[b+8|0];F[c+188|0]=f;a:{if(!f){break a}if(f-1>>>0>=3){i=f&252;g=c+192|0;h=b+12|0;while(1){H[g+(d<<2)>>2]=G[h+(d<<1)>>1];k=d|1;H[g+(k<<2)>>2]=G[h+(k<<1)>>1];k=d|2;H[g+(k<<2)>>2]=G[h+(k<<1)>>1];k=d|3;H[g+(k<<2)>>2]=G[h+(k<<1)>>1];d=d+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}f=f&3;if(!f){break a}j=0;while(1){H[(c+(d<<2)|0)+192>>2]=G[((d<<1)+b|0)+12>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=I[b+9|0];F[c+189|0]=g;b:{if(!g){break b}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+248|0;i=b+40|0;f=0;while(1){H[h+(d<<2)>>2]=G[i+(d<<1)>>1];e=d|1;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|2;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|3;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break b}while(1){H[(c+(d<<2)|0)+248>>2]=G[((d<<1)+b|0)+40>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=I[b+10|0];F[c+190|0]=g;c:{if(!g){break c}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+288|0;i=b+60|0;f=0;while(1){H[h+(d<<2)>>2]=G[i+(d<<1)>>1];e=d|1;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|2;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|3;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break c}while(1){H[(c+(d<<2)|0)+288>>2]=G[((d<<1)+b|0)+60>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=I[b+11|0];F[c+191|0]=g;d:{if(!g){break d}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+344|0;i=b+88|0;f=0;while(1){H[h+(d<<2)>>2]=G[i+(d<<1)>>1];e=d|1;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|2;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|3;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break d}while(1){H[(c+(d<<2)|0)+344>>2]=G[((d<<1)+b|0)+88>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}H[c+384>>2]=H[b+108>>2];H[c+388>>2]=H[b+112>>2];H[c+392>>2]=H[b+116>>2];H[c+396>>2]=J[b+120>>1];H[c+400>>2]=J[b+122>>1];g=I[b+124|0];F[c+404|0]=g;e:{if(!g){break e}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+408|0;i=b+128|0;f=0;while(1){H[h+(d<<2)>>2]=G[i+(d<<1)>>1];e=d|1;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|2;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|3;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break e}while(1){H[(c+(d<<2)|0)+408>>2]=G[((d<<1)+b|0)+128>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}g=I[b+125|0];F[c+405|0]=g;f:{if(!g){break f}j=0;d=0;if(g-1>>>0>=3){k=g&252;h=c+460|0;i=b+154|0;f=0;while(1){H[h+(d<<2)>>2]=G[i+(d<<1)>>1];e=d|1;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|2;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];e=d|3;H[h+(e<<2)>>2]=G[i+(e<<1)>>1];d=d+4|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}f=g&3;if(!f){break f}while(1){H[(c+(d<<2)|0)+460>>2]=G[((d<<1)+b|0)+154>>1];d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}F[c+512|0]=I[b+126|0];H[c+520>>2]=H[b+4>>2];H[c+524>>2]=H[b+184>>2];b=H[b+180>>2];H[c+552>>2]=c;H[c+528>>2]=b;g:{h:{a=H[a+128>>2];d=H[a+60>>2];if((d|0)==-1){break h}H[c+648>>2]=d;if(!d){break h}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}H[a+60>>2]=d;break g}a=l+4^(l+8^l+12);a=a>>>10^a^a>>>20;H[c+648>>2]=a?a:29572}Wa=l+16|0}function Qf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=Wa-48|0;Wa=h;g=H[a+11748>>2]==2;i=(g?11760:11776)+a|0;k=H[i+4>>2];s=1;o=H[i>>2];n=H[c>>2];j=H[c+4>>2];a:{if(!((o|0)!=(n|0)|(j|0)!=(k|0))){j=0;break a}g=(g?11752:11768)+a|0;m=H[g+4>>2];q=o;o=H[g>>2];p=(e-j|0)+16>>5;q=ib((q-o|0)+16>>5,p);r=(k-m|0)+16>>5;k=(d-n|0)+16>>5;r=ib(r,k);if((q|0)==(r|0)){j=0;break a}l=pb(ib((n-o|0)+16>>5,p)-ib((j-m|0)+16>>5,k)|0,q-r|0);j=H[g>>2];j=ib(l,H[i>>2]-j|0)+j|0;n=H[g+4>>2];m=ib(l,H[i+4>>2]-n|0);l=H[g>>2];o=H[i>>2];if((l|0)==(o|0)){p=j-l|0;k=p>>31;j=H[a+11700>>2]>((k^p)-k|0)?l:j}l=m+n|0;g=H[g+4>>2];n=H[i+4>>2];if((g|0)==(n|0)){m=l-g|0;k=m>>31;l=H[a+11700>>2]>((k^m)-k|0)?g:l}k=H[c>>2];if((k|0)==(d|0)){m=j-d|0;g=m>>31;j=H[a+11700>>2]>((g^m)-g|0)?d:j}g=H[c+4>>2];if((g|0)==(e|0)){m=l-e|0;d=m>>31;l=H[a+11700>>2]>((d^m)-d|0)?e:l}e=((k+o|0)/-2|0)+j|0;d=e>>31;d=(d^e)-d|0;e=H[a+11696>>2];if((d|0)>(e|0)){break a}g=((g+n|0)/-2|0)+l|0;d=g>>31;if((e|0)<((d^g)-d|0)){break a}H[i>>2]=j;H[i+4>>2]=l;s=0}d=H[a+11732>>2];i=d;e=H[a+11728>>2];H[h+8>>2]=e;H[h+12>>2]=d;b:{c:{d:{switch(H[a+11748>>2]-2|0){case 0:H[h+40>>2]=2;e:{if(f){g=H[a+11764>>2];d=ib(H[a+11644>>2],H[a+11760>>2])+ib(H[a+11648>>2],g)|0;g=vd(a+3876|0,g);break e}g=H[a+11764>>2];d=ib(H[a+11644>>2],H[a+11760>>2])+ib(H[a+11648>>2],g)|0;g=vd(b,g)}k=(ib(H[H[a>>2]+64>>2],d)+ib(H[H[a>>2]+72>>2],g)|0)+H[a+11656>>2]|0;H[h+16>>2]=k;d=(ib(H[H[a>>2]+68>>2],d)+ib(H[H[a>>2]+76>>2],g)|0)+H[a+11660>>2]|0;H[h+20>>2]=d;if((e|0)==(k|0)&(d|0)==(i|0)){break b}d=H[a+4>>2];i=d+4|0;e=h+16|0;break c;case 2:break d;default:break b}}H[h+40>>2]=4;d=H[a+11764>>2];e=ib(H[a+11644>>2],H[a+11760>>2]);i=ib(H[a+11648>>2],d);d=vd(b,d);e=e+i|0;t=h,u=(ib(H[H[a>>2]+64>>2],e)+ib(H[H[a>>2]+72>>2],d)|0)+H[a+11656>>2]|0,H[t+16>>2]=u;e=ib(H[H[a>>2]+68>>2],e)+ib(H[H[a>>2]+76>>2],d)|0;d=a+11660|0;H[h+20>>2]=e+H[d>>2];e=H[a+11772>>2];i=ib(H[a+11644>>2],H[a+11768>>2]);g=ib(H[a+11648>>2],e);e=vd(b,e);i=g+i|0;t=h,u=(ib(H[H[a>>2]+64>>2],i)+ib(H[H[a>>2]+72>>2],e)|0)+H[a+11656>>2]|0,H[t+24>>2]=u;t=h,u=(ib(H[H[a>>2]+68>>2],i)+ib(H[H[a>>2]+76>>2],e)|0)+H[d>>2]|0,H[t+28>>2]=u;e=H[a+11780>>2];i=ib(H[a+11644>>2],H[a+11776>>2]);g=ib(H[a+11648>>2],e);e=vd(b,e);i=g+i|0;t=h,u=(ib(H[H[a>>2]+64>>2],i)+ib(H[H[a>>2]+72>>2],e)|0)+H[a+11656>>2]|0,H[t+32>>2]=u;t=h,u=(ib(H[H[a>>2]+68>>2],i)+ib(H[H[a>>2]+76>>2],e)|0)+H[d>>2]|0,H[t+36>>2]=u;d=H[a+4>>2];i=d+12|0;e=h+32|0}Ya[H[i>>2]](d,h+8|0);d=H[e+4>>2];H[a+11728>>2]=H[e>>2];H[a+11732>>2]=d}f:{if(!(f|s)){break f}g:{if(f){b=H[c+4>>2];d=ib(H[a+11644>>2],H[c>>2])+ib(H[a+11648>>2],b)|0;b=vd(a+3876|0,b);break g}e=H[c+4>>2];d=ib(H[a+11644>>2],H[c>>2])+ib(H[a+11648>>2],e)|0;b=vd(b,e)}t=h,u=(ib(H[H[a>>2]+64>>2],d)+ib(H[H[a>>2]+72>>2],b)|0)+H[a+11656>>2]|0,H[t+16>>2]=u;b=(ib(H[H[a>>2]+68>>2],d)+ib(H[H[a>>2]+76>>2],b)|0)+H[a+11660>>2]|0;H[h+20>>2]=b;if(H[h+16>>2]==H[a+11728>>2]&(b|0)==H[a+11732>>2]){break f}H[h+40>>2]=2;b=H[a+11732>>2];H[h+8>>2]=H[a+11728>>2];H[h+12>>2]=b;b=H[a+4>>2];Ya[H[b+4>>2]](b,h+8|0);b=H[h+20>>2];H[a+11728>>2]=H[h+16>>2];H[a+11732>>2]=b}if(!s){H[c>>2]=j;H[c+4>>2]=l}Wa=h+48|0}function gh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;b=0;a:{if(!a){break a}n=H[a+12>>2];b=n>>31;m=H[a+8>>2];c=m>>31;i=H[a+4>>2];h=i>>31;f=H[a>>2];a=f>>31;d=(b^n)-b|0;j=(c^m)-c|0;k=(h^i)-h|0;e=(a^f)-a|0;a=(e|0)<(k|0)?k:e;a=(a|0)<(j|0)?j:a;b=(a|0)<(d|0)?d:a;if(b>>>0>=23171){b:{c:{if(b>>>0<=65535){a=((b<<16|11584)>>>0)/23170|0;h=a;break c}a=2147483647;h=2147483647;if(b>>>0>1518469119){break c}g=b<<16|11585;c=b>>>16|0;a=Q(c);b=32-a|0;c=g>>>b|c<>>0)/23170|0;c=N(h,-23170)+c|0;a=g<>>31;c=(g>>>0<23170?0:-23170)+g|0;h=h<<1|g>>>0>23169;a=a<<1;b=b-1|0;if(b){continue}break}a=h>>31;a=(a^h)-a|0;if(h){break c}c=2147483647;h=0;j=1;break b}b=f?(e|0)!=2147483647?e:2147483647:2147483647;b=i?b>>>0>k>>>0?k:b:b;b=m?b>>>0>j>>>0?j:b:b;b=n?b>>>0>d>>>0?d:b:b;if(b>>>0<=(a>>>17^65535)>>>0){c=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;j=0;break b}c=a>>>1|0;j=c+(b<<16)|0;b=(b>>>16|0)+(c>>>0>j>>>0)|0;if(b>>>0>=a>>>0){c=2147483647;j=0;break b}e=Q(b);d=32-e|0;b=j>>>d|b<>>0)/(a>>>0)|0;k=b-N(a,c)|0;b=j<>>31;k=e-(a>>>0>e>>>0?0:a)|0;c=c<<1|a>>>0<=e>>>0;b=b<<1;d=d-1|0;if(d){continue}break}}b=0;if(!((h|0)<0?0-c|0:c)){break a}k=2147483647;c=2147483647;d:{if(j){break d}b=f>>31;b=(b^f)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){c=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}d=a>>>1|0;g=d+(b<<16)|0;b=(b>>>16|0)+(d>>>0>g>>>0)|0;if(b>>>0>=a>>>0){break d}l=Q(b);d=32-l|0;b=g>>>d|b<>>0)/(a>>>0)|0;e=b-N(a,c)|0;b=g<>>31;e=g-(a>>>0>g>>>0?0:a)|0;c=c<<1|a>>>0<=g>>>0;b=b<<1;d=d-1|0;if(d){continue}break}}g=(h|0)<0;o=f>>31|1;p=0-o|0;e:{if(j){break e}b=i>>31;b=(b^i)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){k=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}d=a>>>1|0;e=d+(b<<16)|0;b=(b>>>16|0)+(e>>>0>>0)|0;if(b>>>0>=a>>>0){break e}l=Q(b);d=32-l|0;b=e>>>d|b<>>0)/(a>>>0)|0;f=b-N(a,k)|0;b=e<>>31;f=e-(a>>>0>e>>>0?0:a)|0;k=k<<1|a>>>0<=e>>>0;b=b<<1;d=d-1|0;if(d){continue}break}}o=g?p:o;b=i>>31|1;p=g?0-b|0:b;e=2147483647;d=2147483647;f:{if(j){break f}b=m>>31;b=(b^m)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){d=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}f=a>>>1|0;g=f+(b<<16)|0;b=(b>>>16|0)+(f>>>0>g>>>0)|0;if(b>>>0>=a>>>0){break f}l=Q(b);i=32-l|0;b=g>>>i|b<>>0)/(a>>>0)|0;f=b-N(a,d)|0;b=g<>>31;f=g-(a>>>0>g>>>0?0:a)|0;d=d<<1|a>>>0<=g>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}g=(o|0)<0;l=0-c|0;o=(p|0)<0;p=0-k|0;b=m>>31|1;q=(h|0)<0;m=((q?0-b|0:b)|0)<0;r=0-d|0;g:{if(j){break g}b=n>>31;b=(b^n)-b|0;if(b>>>0<=(a>>>17^65535)>>>0){e=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}h=a>>>1|0;f=h+(b<<16)|0;b=(b>>>16|0)+(f>>>0>>0)|0;if(b>>>0>=a>>>0){break g}i=Q(b);h=32-i|0;b=f>>>h|b<>>0)/(a>>>0)|0;j=b-N(a,e)|0;b=f<>>31;j=f-(a>>>0>f>>>0?0:a)|0;e=e<<1|a>>>0<=f>>>0;b=b<<1;h=h-1|0;if(h){continue}break}}i=o?p:k;m=m?r:d;a=n>>31|1;n=((q?0-a|0:a)|0)<0?0-e|0:e;f=g?l:c}a=N(f,n);c=N(i,m);b=0;if((a|0)==(c|0)){break a}b=a-c|0;a=b>>31;b=(((N(f,f)+N(i,i)|0)+N(m,m)|0)+N(n,n)>>>0)/((a^b)-a>>>0)>>>0<51}return b}function gM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a=d;i=at(b+28|0);f=H[i+4>>2];a:{b:{if((f|0)==65536){g=258}else{if((f|0)!=131072){break b}f=H[i+8>>2];f=I[f|0]|I[f+1|0]<<8;if(!f){break b}g=(f<<8|f>>>8)&65535}if((a|0)<0){a=wb(c)}if(!a){break b}f=H[i+28>>2];c:{if(f){break c}l=g<<1;if(!g){while(1){f=tb(l);h=0;if(!f){break a}ck(f,0,i);h=H[i+28>>2];H[i+28>>2]=h?h:f;if(!h){break c}hb(f);f=H[i+28>>2];if(!f){continue}break c}}p=g&65528;m=g&7;q=g-1>>>0<7;while(1){f=tb(l);if(!f){break b}n=0;h=0;o=0;if(!q){while(1){G[(h<<1)+f>>1]=h;j=h|1;G[(j<<1)+f>>1]=j;j=h|2;G[(j<<1)+f>>1]=j;j=h|3;G[(j<<1)+f>>1]=j;j=h|4;G[(j<<1)+f>>1]=j;j=h|5;G[(j<<1)+f>>1]=j;j=h|6;G[(j<<1)+f>>1]=j;j=h|7;G[(j<<1)+f>>1]=j;h=h+8|0;o=o+8|0;if((p|0)!=(o|0)){continue}break}}if(m){while(1){G[(h<<1)+f>>1]=h;h=h+1|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}ck(f,g,i);h=H[i+28>>2];H[i+28>>2]=h?h:f;if(!h){break c}hb(f);f=H[i+28>>2];if(!f){continue}break}}if(!g){break b}l=g-1|0;n=H[i+20>>2];o=H[i+16>>2];p=H[i+24>>2];m=H[i+8>>2];g=H[i+4>>2];q=(g|0)==131072;j=(g|0)!=65536;d:{while(1){r=k+l|0;i=J[(r&-2)+f>>1];e:{if(!q){h=0;g=0;if(i>>>0>257|j){break e}g=i<<2;h=H[g+122816>>2];g=H[g+122820>>2]+(h^-1)|0;h=h+119104|0;break e}h=0;g=0;s=I[m|0]|I[m+1|0]<<8;if(i>>>0>=((s<<8|s>>>8)&65535)>>>0){break e}g=m+(i<<1)|0;g=I[g+2|0]|I[g+3|0]<<8;i=(g<<8|g>>>8)&65535;if(i>>>0<=257){g=i<<2;h=H[g+122816>>2];g=H[g+122820>>2]+(h^-1)|0;h=h+119104|0;break e}g=0;i=i-258|0;if(i>>>0>=o>>>0){break e}g=p+H[n+(i<<2)>>2]|0;h=g+1|0;g=I[g|0]}i=r>>>1|0;if((a|0)!=(g|0)){g=a-g|0}else{g=Bc(c,h,a)}f:{if((g|0)<0){l=i-1|0;break f}if(!g){break d}k=i+1|0}if((k|0)<=(l|0)){continue}break}h=0;break a}k=1;a=(i<<1)+f|0;h=0;if(!a){break a}H[e>>2]=J[a>>1]}h=k}if(h){b=1}else{a=H[b+64>>2];g:{if(a){break g}while(1){f=H[b>>2];if(!f){a=163632;break g}a=Ab(1,244);h:{if(a){g=Hh(a,f);f=H[b+64>>2];H[b+64>>2]=f?f:a;if(!f){break g}og(g);hb(a);break h}a=163632;f=H[b+64>>2];H[b+64>>2]=f?f:163632;if(!f){break g}}a=H[b+64>>2];if(!a){continue}break}}b=0;if((d|0)<0){d=wb(c)}i:{if(!d){break i}f=H[a+236>>2];if((f|0)<=0){break i}k=H[a+240>>2];b=f-1|0;f=0;j:{while(1){g=b+f>>>1|0;i=k+(g<<4)|0;h=H[i+4>>2];i=ub(c,H[i>>2],d>>>0>>0?d:h);h=i?i:d-h|0;k:{if((h|0)<0){b=g-1|0;break k}if(!h){break j}f=g+1|0}if((b|0)>=(f|0)){continue}break}b=0;break i}f=k+(g<<4)|0;d=J[f+12>>1];l:{b=H[a+52>>2];m:{n:{if((b|0)!=163632){d=qg(b,d,H[a+216>>2]);break n}o:{switch(H[a+172>>2]){case 0:b=0;if(d>>>0<229){break n}break i;case 1:a=0;b=164;d=d&65535;p:{q:{while(1){c=a+b>>>1|0;g=J[(c<<2)+107792>>1];r:{if(g>>>0>d>>>0){b=c-1|0;break r}if((d|0)==(g|0)){break q}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break p}d=I[(c<<2)+107794|0]}break n;case 2:break o;default:break m}}a=0;b=85;d=d&65535;s:{t:{while(1){c=a+b>>>1|0;g=J[(c<<2)+108464>>1];u:{if(g>>>0>d>>>0){b=c-1|0;break u}if((d|0)==(g|0)){break t}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break s}d=I[(c<<2)+108466|0]}}if(d){break l}d=J[f+12>>1]}a=d&65535;d=0;if(!a){break l}b=0;break i}H[e>>2]=d;b=1}}return b|0}function VB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Wa+-64|0;Wa=i;H[i+60>>2]=0;h=b+108|0;n=H[a+8>>2];a:{b:{if(H[b+72>>2]!=H[a+16>>2]){H[i+60>>2]=6;break b}if(!((c|0)!=2&c>>>0<=4)){H[i+60>>2]=19;break b}if(F[H[b+156>>2]+4|0]&1){e=H[b+88>>2];if(e){Ya[H[n+8>>2]](n,e)}H[b+88>>2]=0;e=H[b+156>>2];H[e+4>>2]=H[e+4>>2]&-2}if(tj(b,c,d)){H[i+60>>2]=98;break b}f=b+76|0;e=H[f>>2];c:{if(!e){break c}g=H[b+84>>2];if(!g){break c}p=b,q=jb(n,g,0,e,0,i+60|0),H[p+88>>2]=q;if(H[i+60>>2]){break b}e=H[b+156>>2];H[e+4>>2]=H[e+4>>2]|1;e=H[b+76>>2]<<6;l=(I[b+94|0]==6?(e|0)/3|0:e)-(H[b+104>>2]<<6)|0;m=0-(H[b+100>>2]<<6)|0;if(d){m=H[d>>2]+m|0;l=H[d+4>>2]+l|0}if(l|m){yc(h,m,l)}d:{e:{if(c>>>0<=1){if(I[b+124|0]&64){d=a;g=Wa+-64|0;Wa=g;a=H[h+4>>2];if(a){e=(G[h+2>>1]<<3)+a|0}else{e=0}c=98;j=H[f+4>>2];f:{if(j&1073733632){break f}H[g+56>>2]=j<<2;H[g+48>>2]=0;H[g+52>>2]=0;H[g+28>>2]=31;H[g+24>>2]=3;H[g+20>>2]=h;H[g+44>>2]=g+8;j=H[f>>2];H[g+60>>2]=j<<2;k=H[f+12>>2];c=H[f+8>>2];H[g+12>>2]=c;H[g+8>>2]=k+((c|0)<0?0:N(c,j-1|0));if(a>>>0>>0){c=a;while(1){H[c>>2]=H[c>>2]<<2;H[c+4>>2]=H[c+4>>2]<<2;c=c+8|0;if(e>>>0>c>>>0){continue}break}c=Ya[H[d+56>>2]](H[d+52>>2],g+16|0)|0;if(a>>>0>=e>>>0){break f}while(1){H[a>>2]=H[a>>2]/4;H[a+4>>2]=H[a+4>>2]/4;a=a+8|0;if(e>>>0>a>>>0){continue}break}break f}c=Ya[H[d+56>>2]](H[d+52>>2],g+16|0)|0}Wa=g- -64|0;break e}H[i+16>>2]=1;H[i+12>>2]=h;H[i+8>>2]=f;c=Ya[H[a+56>>2]](H[a+52>>2],i+8|0)|0;break e}g:{switch(c-3|0){default:a=H[i+60>>2];break d;case 0:d=Wa+-64|0;Wa=d;e=H[a+4>>2];H[d+48>>2]=0;H[d+52>>2]=0;H[d+28>>2]=32;H[d+24>>2]=3;H[d+20>>2]=h;H[d+44>>2]=d+8;H[d+56>>2]=H[f+4>>2];g=H[f>>2];H[d+60>>2]=g;j=H[f+12>>2];c=H[f+8>>2];H[d+12>>2]=c;H[d+8>>2]=j+((c|0)<0?0:N(c,g-1|0));f=e+184|0;yc(h,0-H[e+180>>2]|0,0-H[f>>2]|0);c=Ya[H[a+56>>2]](H[a+52>>2],d+16|0)|0;h:{if(c){g=e+180|0;break h}H[d+8>>2]=H[d+8>>2]+1;g=e+188|0;f=e+192|0;yc(h,H[e+180>>2]-H[g>>2]|0,H[e+184>>2]-H[f>>2]|0);c=Ya[H[a+56>>2]](H[a+52>>2],d+16|0)|0;if(c){break h}H[d+8>>2]=H[d+8>>2]+1;g=e+196|0;f=e+200|0;yc(h,H[e+188>>2]-H[g>>2]|0,H[e+192>>2]-H[f>>2]|0);c=Ya[H[a+56>>2]](H[a+52>>2],d+16|0)|0}yc(h,H[g>>2],H[f>>2]);Wa=d- -64|0;break e;case 1:break g}}e=Wa-48|0;Wa=e;d=H[a+4>>2];k=H[f+8>>2];H[e+8>>2]=1;H[e+4>>2]=h;H[e>>2]=f;H[f+8>>2]=N(k,3);H[f>>2]=K[f>>2]/3;yc(h,0-H[d+184>>2]|0,H[d+180>>2]);c=Ya[H[a+56>>2]](H[a+52>>2],e)|0;g=H[d+184>>2];j=H[d+180>>2];i:{if(c){break i}H[f+12>>2]=k+H[f+12>>2];yc(h,g-H[d+192>>2]|0,H[d+188>>2]-j|0);c=Ya[H[a+56>>2]](H[a+52>>2],e)|0;j=H[d+188>>2];g=H[d+192>>2];o=H[f+12>>2]-k|0;H[f+12>>2]=o;if(c){break i}k=k<<1;H[f+12>>2]=k+o;yc(h,g-H[d+200>>2]|0,H[d+196>>2]-j|0);c=Ya[H[a+56>>2]](H[a+52>>2],e)|0;j=H[d+196>>2];g=H[d+200>>2];H[f+12>>2]=H[f+12>>2]-k}yc(h,g,0-j|0);H[f+8>>2]=H[f+8>>2]/3;H[f>>2]=N(H[f>>2],3);Wa=e+48|0}a=c;H[i+60>>2]=a}if(a){break b}}H[b+72>>2]=1651078259;break a}if(!(F[H[b+156>>2]+4|0]&1)){break a}a=H[b+88>>2];if(a){Ya[H[n+8>>2]](n,a)}H[b+88>>2]=0;a=H[b+156>>2];H[a+4>>2]=H[a+4>>2]&-2}if(l|m){yc(h,0-m|0,0-l|0)}Wa=i- -64|0;return H[i+60>>2]}function kt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{g=H[b+4>>2];b:{if(g>>>0>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break b}j=H[b+12>>2]-4|0;H[b+12>>2]=j;if((j|0)<=0){break b}e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>89478484){break b}if(!e){return 1}i=a+4|0;if(i>>>0>>0|d>>>0>>0){break b}e=N(e,48);if(e>>>0>d-i>>>0){break b}e=j-e|0;H[b+12>>2]=e;if((e|0)<=0){break b}f=1;j=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);r=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);if(!r){break b}while(1){j=N(p,48)+a|0;f=j+4|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<48){break a}n=H[c>>2];H[b+12>>2]=e-48;if((e|0)<49){break a}d=0;h=H[b+4>>2];c:{d:{if(h>>>0>f>>>0){break d}g=H[b+8>>2];if(g>>>0>>0|g-f>>>0<4){break d}m=H[b+12>>2]-4|0;H[b+12>>2]=m;if((m|0)<=0){break d}k=F[f|0];if((k|0)<0){break d}i=I[j+12|0]|I[j+13|0]<<8|(I[j+14|0]<<16|I[j+15|0]<<24);o=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);e=0;if(o>>>0>536870910){break c}e=1;if(!o){break c}n=n+(I[f+3|0]|(I[f+1|0]<<16|(k&255)<<24|I[f+2|0]<<8))|0;e=0;if(n>>>0>>0){break c}e=0;if(g>>>0>>0){break c}e=o<<3;if(e>>>0>g-n>>>0){break d}d=m-e|0;H[b+12>>2]=d;m=0;e=0;if((d|0)<=0){break c}while(1){e=0;d=n+(m<<3)|0;g=H[b+4>>2];e:{if(d>>>0>>0){break e}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<8){break e}i=H[b+12>>2];h=i-8|0;H[b+12>>2]=h;if((h|0)<=0){break e}h=I[d+2|0]|I[d+3|0]<<8;h=(h<<8|h>>>8)&65535;k=I[d|0]|I[d+1|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0>>0){break e}l=g;g=d+4|0;if(l>>>0>g>>>0|f>>>0>>0|f-g>>>0<4){break e}f=i-12|0;H[b+12>>2]=f;if((f|0)<=0){break e}e=F[d+4|0];d=I[d+7|0]|(I[d+5|0]<<16|e<<24|I[d+6|0]<<8);f=(d|0)!=0&(e|0)<0;e=!f;if(f|!d){break e}e=1;h=(h-k|0)+1|0;f:{g:{k=H[b+4>>2];d=d+n|0;if(k>>>0>d>>>0){break g}i=H[b+8>>2];if(i>>>0>>0|i-d>>>0<8){break g}q=H[b+12>>2];l=q-8|0;H[b+12>>2]=l;f=1;if((l|0)<=0){break g}h:{i:{j:{k:{l=I[d|0]|I[d+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 2:break j;case 0:break k;default:break h}}f=q-16|0;H[b+12>>2]=f;if((f|0)<=0){break g}h=h+1|0;if(h>>>0>1073741822){break g}if(!h){break i}d=d+8|0;if(d>>>0>>0|d>>>0>i>>>0){break g}l=i-d|0;d=h<<2;if(l>>>0>>0){break g}d=f-d|0;H[b+12>>2]=d;f=0;if((d|0)>0){break i}break h}f=q-16|0;H[b+12>>2]=f;if((f|0)<=0){break g}h=h+1|0;if(h>>>0>2147483646){break g}if(!h){break i}d=d+8|0;if(d>>>0>>0|d>>>0>i>>>0){break g}l=i-d|0;d=h<<1;if(l>>>0>>0){break g}d=f-d|0;H[b+12>>2]=d;f=0;if((d|0)<=0){break h}}f=1}break f}f=0}if(f){break e}e=0;d=H[b+28>>2];if(d>>>0>31){break e}H[b+28>>2]=d+1;if(!I[b+24|0]){break e}F[g|0]=0;F[g+1|0]=0;F[g+2|0]=0;F[g+3|0]=0;e=1}d=e;if(!d){break d}m=m+1|0;if((o|0)!=(m|0)){continue}break}}e=d}if(!e){break a}g=H[b+4>>2];e=j+20|0;if(g>>>0>e>>>0){break a}d=H[b+8>>2];if(e>>>0>d>>>0|d-e>>>0<12){break a}f=H[b+12>>2];e=f-12|0;H[b+12>>2]=e;if((e|0)<=0){break a}e=j+32|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<12){break a}e=f-24|0;H[b+12>>2]=e;f=0;if((e|0)<=0){break b}f=1;p=p+1|0;if((r|0)!=(p|0)){continue}break}}return f}return 0}function Fs(a,b,c){var d=0,e=0;d=H[b+16>>2]<<10;b=H[c+144>>2];a:{if(b){break a}while(1){a=H[c+48>>2];if(!a){b=163632;break a}b=Ab(1,12);b:{if(!b){b=163632;break b}ye(b,a)}a=H[c+144>>2];H[c+144>>2]=a?a:b;if(!a){break a}_c(b);b=H[c+144>>2];if(!b){continue}break}}a=H[b>>2];b=H[(a?a:163632)+16>>2];a=b>>>11|0;e=e|b<<21;d=a|d;b=H[c+148>>2];c:{if(b){break c}while(1){a=H[c+48>>2];if(!a){b=163632;break c}b=Ab(1,12);d:{if(!b){b=163632;break d}hg(b,a)}a=H[c+148>>2];H[c+148>>2]=a?a:b;if(!a){break c}_c(b);b=H[c+148>>2];if(!b){continue}break}}c=1;e:{f:{a=H[b>>2];a=H[(a?a:163632)+16>>2]|e;if((d|0)<=987147&a>>>0<=2743134887|(d|0)<987147){if((d|0)<=452609&a>>>0<=1732289589|(d|0)<452609){if((d|0)<=196614&a>>>0<=843062357|(d|0)<196614){if((d|0)<=192512&a>>>0<=553651553|(d|0)<192512){if((a|0)==1606425686&(d|0)==184326){break e}if((a|0)!=520097548|(d|0)!=192512){break f}break e}if((a|0)==553651554&(d|0)==192512){break e}if((a|0)!=734010454|(d|0)!=196614){break f}break e}if((d|0)<=440321&a>>>0<=1732288213|(d|0)<440321){if((a|0)==843062358&(d|0)==196614){break e}if((a|0)!=1732286926|(d|0)!=440321){break f}break e}if((a|0)==1732288214&(d|0)==440321){break e}if((a|0)!=1732286668|(d|0)!=452609){break f}break e}if((d|0)<=864259&a>>>0<=2428547489|(d|0)<864259){if((d|0)<=501761&a>>>0<=2092999333|(d|0)<501761){if((a|0)==1732289590&(d|0)==452609){break e}if((a|0)!=2092999598|(d|0)!=489473){break f}break e}if((a|0)==2092999334&(d|0)==501761){break e}if((a|0)!=-1820280774|(d|0)!=851971){break f}break e}if((d|0)<=931846&a>>>0<=583055987|(d|0)<931846){if((a|0)==-1866419806&(d|0)==864259){break e}if((a|0)!=557888902|(d|0)!=919558){break f}break e}if((a|0)==583055988&(d|0)==931846|(a|0)==1614866372&(d|0)==950283){break e}if((a|0)!=1640033596|(d|0)!=962571){break f}break e}g:{if((d|0)<=1071126&a>>>0<=4139790647|(d|0)<1071126){if((d|0)<=1030155&a>>>0<=4072730923|(d|0)<1030155){if((d|0)<=1017867&a>>>0<=4081118127|(d|0)<1017867){if((a|0)==-1551832408&(d|0)==987147){break e}if((a|0)!=-1560219632|(d|0)!=999435){break f}break e}if((a|0)==-213849168&(d|0)==1017867){break e}if((a|0)!=-629130764|(d|0)!=1028124){break f}break e}b=a-61346|0;if(((a>>>0<61346)+1030156|0)==(d|0)&b>>>0<=6){break g}b=d-((a>>>0<4286641516)+1042443|0)|0;e=a+8325780|0;if(!b&e>>>0>6|b){if((a|0)!=-222236372|(d|0)!=1030155){break f}break e}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break f;default:break e}}if((d|0)<=1083427&a>>>0<=239092841|(d|0)<1083427){if((d|0)<=1071139&a>>>0<=230704581|(d|0)<1071139){if((a|0)==-155176648&(d|0)==1071126){break e}if((a|0)!=226509528|(d|0)!=1071139){break f}break e}if((a|0)==230704582&(d|0)==1071139){break e}if((a|0)!=-150983126|(d|0)!=1083414){break f}break e}if((d|0)<=1361973&a>>>0<=2852184657|(d|0)<1361973){if((a|0)==239092842&(d|0)==1083427){break e}if((a|0)!=243286402|(d|0)!=1083427){break f}break e}b=(d|0)==1361973;if(b&(a|0)==-1442782638|b&(a|0)==-1442781604){break e}break f}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break f;default:break e}}c=0}return c}function hb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=H[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=H[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=H[d+8>>2];b=b>>>3|0;c=H[d+12>>2];if((c|0)==(e|0)){i=259732,j=H[64933]&LM(-2,b),H[i>>2]=j;break b}H[e+12>>2]=c;H[c+8>>2]=e;break b}h=H[d+24>>2];b=H[d+12>>2];c:{if((d|0)!=(b|0)){c=H[d+8>>2];H[c+12>>2]=b;H[b+8>>2]=c;break c}d:{e=d+20|0;c=H[e>>2];if(c){break d}e=d+16|0;c=H[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=H[e>>2];if(c){continue}e=b+16|0;c=H[b+16>>2];if(c){continue}break}H[g>>2]=0}if(!h){break b}e=H[d+28>>2];c=(e<<2)+260036|0;e:{if(H[c>>2]==(d|0)){H[c>>2]=b;if(b){break e}i=259736,j=H[64934]&LM(-2,e),H[i>>2]=j;break b}H[h+(H[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}H[b+24>>2]=h;c=H[d+16>>2];if(c){H[b+16>>2]=c;H[c+24>>2]=b}c=H[d+20>>2];if(!c){break b}H[b+20>>2]=c;H[c+24>>2]=b;break b}b=H[f+4>>2];if((b&3)!=3){break b}H[64935]=a;H[f+4>>2]=b&-2;H[d+4>>2]=a|1;H[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=H[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(H[64939]==(f|0)){H[64939]=d;a=H[64936]+a|0;H[64936]=a;H[d+4>>2]=a|1;if(H[64938]!=(d|0)){break a}H[64935]=0;H[64938]=0;return}if(H[64938]==(f|0)){H[64938]=d;a=H[64935]+a|0;H[64935]=a;H[d+4>>2]=a|1;H[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){e=H[f+8>>2];b=b>>>3|0;c=H[f+12>>2];if((c|0)==(e|0)){i=259732,j=H[64933]&LM(-2,b),H[i>>2]=j;break g}H[e+12>>2]=c;H[c+8>>2]=e;break g}h=H[f+24>>2];b=H[f+12>>2];h:{if((f|0)!=(b|0)){c=H[f+8>>2];H[c+12>>2]=b;H[b+8>>2]=c;break h}i:{e=f+20|0;c=H[e>>2];if(c){break i}e=f+16|0;c=H[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=H[e>>2];if(c){continue}e=b+16|0;c=H[b+16>>2];if(c){continue}break}H[g>>2]=0}if(!h){break g}e=H[f+28>>2];c=(e<<2)+260036|0;j:{if(H[c>>2]==(f|0)){H[c>>2]=b;if(b){break j}i=259736,j=H[64934]&LM(-2,e),H[i>>2]=j;break g}H[h+(H[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}H[b+24>>2]=h;c=H[f+16>>2];if(c){H[b+16>>2]=c;H[c+24>>2]=b}c=H[f+20>>2];if(!c){break g}H[b+20>>2]=c;H[c+24>>2]=b}H[d+4>>2]=a|1;H[a+d>>2]=a;if(H[64938]!=(d|0)){break f}H[64935]=a;return}H[f+4>>2]=b&-2;H[d+4>>2]=a|1;H[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+259772|0;c=H[64933];a=1<>2]}H[b+8>>2]=d;H[a+12>>2]=d;H[d+12>>2]=b;H[d+8>>2]=a;return}e=31;H[d+16>>2]=0;H[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}H[d+28>>2]=e;g=(e<<2)+260036|0;l:{m:{c=H[64934];b=1<>2]=d;H[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=H[g>>2];while(1){c=b;if((H[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=H[g+16>>2];if(b){continue}break}H[g+16>>2]=d;H[d+24>>2]=c}H[d+12>>2]=d;H[d+8>>2]=d;break l}a=H[c+8>>2];H[a+12>>2]=d;H[c+8>>2]=d;H[d+24>>2]=0;H[d+12>>2]=c;H[d+8>>2]=a}a=H[64941]-1|0;H[64941]=a?a:-1}}function Zc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-112|0;Wa=j;l=i&2147483647;k=e&2147483647;m=k;a:{b:{p=!(b|c);if(!(d|k?k-2147418112>>>0<2147549184:p)){n=l-2147418112|0;if(!h&(n|0)==-2147418112?f|g:(n|0)==-2147418112&(h|0)!=0|n>>>0>2147549184){break b}}if(!(!d&(m|0)==2147418112?p:m>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(l|0)==2147418112?!(f|g):l>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(m^2147418112|c))){k=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:k;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(l^2147418112|g))){break a}if(!(b|d|(c|m))){if(f|h|(g|l)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|l)){break b}f=b;g=c;h=d;i=e;break a}k=(l|0)==(m|0);q=k&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:k&d>>>0>>0|l>>>0>m>>>0;l=q;o=l?f:b;k=l?g:c;m=l?i:e;r=m;p=l?h:d;m=m&65535;e=l?e:i;s=e;h=l?d:h;l=e>>>16&32767;n=r>>>16&32767;if(!n){d=!(m|p);e=d<<6;i=Q(d?o:p)+32|0;d=Q(d?k:m);d=e+((d|0)==32?i:d)|0;Nc(j+96|0,o,k,p,m,d-15|0);p=H[j+104>>2];m=H[j+108>>2];o=H[j+96>>2];n=16-d|0;k=H[j+100>>2]}f=q?b:f;g=q?c:g;i=s&65535;if(!l){b=!(h|i);c=b<<6;d=Q(b?f:h)+32|0;b=Q(b?g:i);b=c+((b|0)==32?d:b)|0;Nc(j+80|0,f,g,h,i,b-15|0);l=16-b|0;h=H[j+88>>2];i=H[j+92>>2];g=H[j+84>>2];f=H[j+80>>2]}b=h;i=i<<3|b>>>29;d=b<<3|g>>>29;e=i|524288;b=p;c=m<<3|b>>>29;h=b<<3|k>>>29;i=c;b=f;c=g<<3|b>>>29;b=b<<3;g=r^s;c:{if((l|0)==(n|0)){break c}f=n-l|0;if(f>>>0>127){d=0;e=0;b=1;c=0;break c}Nc(j- -64|0,b,c,d,e,128-f|0);Se(j+48|0,b,c,d,e,f);b=H[j+48>>2]|(H[j+64>>2]|H[j+72>>2]|(H[j+68>>2]|H[j+76>>2]))!=0;c=H[j+52>>2];d=H[j+56>>2];e=H[j+60>>2]}l=h;q=i|524288;f=o;i=k<<3|f>>>29;m=f<<3;p=i;d:{if((g|0)<0){f=0;g=0;h=0;i=0;if(!(b^m|d^l|(c^p|e^q))){break a}o=m-b|0;k=p-((b>>>0>m>>>0)+c|0)|0;f=l-d|0;b=(c|0)==(p|0)&b>>>0>m>>>0|c>>>0>p>>>0;i=(q-((d>>>0>l>>>0)+e|0)|0)-(f>>>0>>0)|0;h=f-b|0;if(i>>>0>524287){break d}b=!(h|i);c=b<<6;d=Q(b?o:h)+32|0;b=Q(b?k:i);b=c+((b|0)==32?d:b)|0;b=b-12|0;Nc(j+32|0,o,k,h,i,b);n=n-b|0;h=H[j+40>>2];i=H[j+44>>2];o=H[j+32>>2];k=H[j+36>>2];break d}k=c+p|0;f=b+m|0;k=f>>>0>>0?k+1|0:k;o=f;f=(c|0)==(k|0)&b>>>0>f>>>0|c>>>0>k>>>0;c=e+q|0;b=d+l|0;c=b>>>0>>0?c+1|0:c;d=b;b=f+b|0;h=b;i=b>>>0>>0?c+1|0:c;if(!(i&1048576)){break d}o=o&1|((k&1)<<31|o>>>1);c=h;k=c<<31|k>>>1;n=n+1|0;h=(i&1)<<31|c>>>1;i=i>>>1|0}d=0;e=r&-2147483648;if((n|0)>=32767){h=d;i=e|2147418112;f=0;g=0;break a}l=0;e:{if((n|0)>0){l=n;break e}Nc(j+16|0,o,k,h,i,n+127|0);Se(j,o,k,h,i,1-n|0);o=H[j>>2]|(H[j+16>>2]|H[j+24>>2]|(H[j+20>>2]|H[j+28>>2]))!=0;k=H[j+4>>2];h=H[j+8>>2];i=H[j+12>>2]}c=h<<29;n=(k&7)<<29|o>>>3;m=o&7;g=m>>>0>4;f=n+g|0;b=k>>>3|c;k=f>>>0>>0?b+1|0:b;c=f;g=k;b=(b|0)==(k|0)&c>>>0>>0|b>>>0>k>>>0;c=d|((i&7)<<29|h>>>3);b=b+c|0;i=e|(i>>>3&65535|l<<16);i=b>>>0>>0?i+1|0:i;h=b;f:{if((m|0)==4){c=g+0|0;e=f&1;b=f+e|0;c=b>>>0>>0?c+1|0:c;f=b;g=c;c=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;b=c+h|0;i=b>>>0>>0?i+1|0:i;h=b;break f}if(!m){break a}}}H[a>>2]=f;H[a+4>>2]=g;H[a+8>>2]=h;H[a+12>>2]=i;Wa=j+112|0}function Xz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Wa-16|0;Wa=l;i=zb(a,2496,l+12|0);g=H[l+12>>2];if(!g){H[i>>2]=a;H[i+212>>2]=J[b+120>>1];f=I[b+124|0];a:{if(!f){break a}h=f-1|0;a=i+224|0;g=b+128|0;k=f&7;b:{if(!k){e=f;break b}e=f;while(1){H[a>>2]=G[g>>1];e=e-1|0;g=g+2|0;a=a+12|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(h>>>0<7){break a}while(1){H[a>>2]=G[g>>1];H[a+12>>2]=G[g+2>>1];H[a+24>>2]=G[g+4>>1];H[a+36>>2]=G[g+6>>1];H[a+48>>2]=G[g+8>>1];H[a+60>>2]=G[g+10>>1];H[a+72>>2]=G[g+12>>1];H[a+84>>2]=G[g+14>>1];g=g+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}e=1;H[i+208>>2]=f+1;H[i+8>>2]=J[b+122>>1];f=I[b+125|0];c:{if(!f){break c}k=f-1|0;a=i+20|0;g=b+154|0;j=f&7;d:{if(!j){d=f;break d}h=0;d=f;while(1){H[a>>2]=G[g>>1];d=d-1|0;g=g+2|0;a=a+12|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if(k>>>0<7){break c}while(1){H[a>>2]=G[g>>1];H[a+12>>2]=G[g+2>>1];H[a+24>>2]=G[g+4>>1];H[a+36>>2]=G[g+6>>1];H[a+48>>2]=G[g+8>>1];H[a+60>>2]=G[g+10>>1];H[a+72>>2]=G[g+12>>1];H[a+84>>2]=G[g+14>>1];g=g+16|0;a=a+96|0;d=d-8|0;if(d){continue}break}}H[i+4>>2]=f+1;d=0;a=i+412|0;$m(a,I[b+8|0],b+12|0,I[b+9|0],b+40|0,H[b+116>>2],0);$m(a,I[b+10|0],b+60|0,I[b+11|0],b+88|0,H[b+116>>2],1);a=I[b+8|0];e:{if(!a){break e}a=a-1|0;f=(a>>>1|0)+1|0;g=f&1;if(a>>>0>=2){k=f&-2;a=b+12|0;h=0;while(1){f=d<<1;j=J[a+(f|6)>>1]-J[a+(f|4)>>1]<<16>>16;f=J[a+(f|2)>>1]-J[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break e}a=d<<1;d=b+12|0;a=J[(a|2)+d>>1]-J[a+d>>1]<<16>>16;e=(a|0)>(e|0)?a:e}a=I[b+9|0];f:{if(!a){break f}a=a-1|0;d=(a>>>1|0)+1|0;g=d&1;g:{if(a>>>0<2){d=0;break g}k=d&-2;d=0;a=b+40|0;h=0;while(1){f=d<<1;j=J[a+(f|6)>>1]-J[a+(f|4)>>1]<<16>>16;f=J[a+(f|2)>>1]-J[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break f}a=d<<1;d=b+40|0;a=J[(a|2)+d>>1]-J[a+d>>1]<<16>>16;d=e<<16>>16;e=(a|0)>(d|0)?a:d}a=I[b+10|0];h:{if(!a){break h}a=a-1|0;d=(a>>>1|0)+1|0;g=d&1;i:{if(a>>>0<2){d=0;break i}k=d&-2;d=0;a=b+60|0;h=0;while(1){f=d<<1;j=J[a+(f|6)>>1]-J[a+(f|4)>>1]<<16>>16;f=J[a+(f|2)>>1]-J[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break h}a=d<<1;d=b+60|0;a=J[(a|2)+d>>1]-J[a+d>>1]<<16>>16;d=e<<16>>16;e=(a|0)>(d|0)?a:d}a=I[b+11|0];j:{if(!a){break j}a=a-1|0;d=(a>>>1|0)+1|0;g=d&1;k:{if(a>>>0<2){d=0;break k}k=d&-2;d=0;a=b+88|0;h=0;while(1){f=d<<1;j=J[a+(f|6)>>1]-J[a+(f|4)>>1]<<16>>16;f=J[a+(f|2)>>1]-J[a+f>>1]<<16>>16;e=e<<16>>16;e=(e|0)<(f|0)?f:e;e=(e|0)<(j|0)?j:e;d=d+4|0;h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!g){break j}a=d<<1;d=b+88|0;a=J[(a|2)+d>>1]-J[a+d>>1]<<16>>16;d=e<<16>>16;e=(a|0)>(d|0)?a:d}a=pb(1e3,e&65535);d=H[b+108>>2];H[i+2476>>2]=(a|0)>(d|0)?d:a;H[i+2480>>2]=H[b+112>>2];a=H[b+116>>2];H[i+404>>2]=0;H[i+408>>2]=0;H[i+200>>2]=0;H[i+204>>2]=0;H[i+2488>>2]=a;g=H[l+12>>2]}H[c>>2]=i;Wa=l+16|0;return g|0}function PK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Wa-640|0;Wa=j;h=H[b+80>>2];a:{b:{a=c;if(d>>>0<=a>>>0){break b}while(1){f=J[(N(a,20)+h|0)+16>>1];if(f>>>0>56319?1<>1];c:{if(!(!(1<>>0<56576)){f=a;break c}if(a>>>0>=d>>>0){f=a;break c}f=a;d:{if(!(1<>2];switch(e-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break d;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break e;default:break f}}i=e-1756|0;if(1<>>0<=12:0){break e}e=e-1620|0;if(e>>>0>4|!(1<>1];if(!(1<>>0>=2){kc(b,c,f)}e=g;g=f-a|0;i=N(g,20);l=mb(j,e,i);e=(c-a|0)+f|0;k=N(c,20)+h|0;Yb(N(e,20)+h|0,k,N(a-c|0,20));mb(k,l,i);if(c>>>0>=e>>>0){break c}if(g&1){g=N(c,20)+h|0;i=J[g+16>>1];if(1<>1]=i&255|6400}c=c+1|0}if((a+1|0)!=(f|0)){while(1){a=N(c,20)+h|0;g=J[a+16>>1];if(1<>1]=g&255|6400}a=N(c+1|0,20)+h|0;g=J[a+16>>1];if(1<>1]=g&255|6400}c=c+2|0;if((e|0)!=(c|0)){continue}break}}c=e}g:{if(d>>>0<=f>>>0){break g}while(1){a=J[(N(f,20)+h|0)+16>>1];if(a>>>0>58879?1<>1];if(!(!(1<>>0<59136)|d>>>0<=f>>>0){break a}a=f;h:{if(!(1<>2];switch(e-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break h;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break i;default:break j}}i=e-1756|0;if(1<>>0<=12:0){break i}e=e-1620|0;if(e>>>0>4|!(1<>1];if(!(1<>>0>=2){kc(b,c,a)}d=a-f|0;e=N(d,20);g=mb(j,g,e);b=(c-f|0)+a|0;i=N(c,20)+h|0;Yb(N(b,20)+h|0,i,N(f-c|0,20));mb(i,g,e);if(b>>>0<=c>>>0){break a}if(d&1){d=N(c,20)+h|0;e=J[d+16>>1];if(1<>1]=e&255|6656}c=c+1|0}if((f+1|0)==(a|0)){break a}while(1){a=N(c,20)+h|0;d=J[a+16>>1];if(1<>1]=d&255|6656}a=N(c+1|0,20)+h|0;d=J[a+16>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}Wa=j+640|0}function Nr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Wa-272|0;Wa=i;a:{b:{c:{c=I[a+2|0]|I[a+3|0]<<8;k=(c<<8|c>>>8)&65535;switch(k|0){case 0:break a;case 1:break c;default:break b}}a=I[a|0]|I[a+1|0]<<8;Qr(b,(a<<8|a>>>8)&65535);l=1;break a}H[i+268>>2]=0;H[i+264>>2]=0;l=Wj(b,k,a+4|0,731,0,i+264|0,i,i+268|0);if(!l){a=H[b+100>>2];if(!(I[a+16|0]&64)){break a}Qb(a,2,H[a+64>>2],H[i+264>>2],1,0);break a}a=I[a|0]|I[a+1|0]<<8;f=(a<<8|a>>>8)&65535;j=H[i+268>>2];a=H[i+264>>2];d=H[b+100>>2];c=H[d+64>>2];if(a-c>>>0>=2){kc(d,c,a)}c=1;a=H[d+80>>2];e=J[(a+N(H[i>>2],20)|0)+12>>1];m=!(e&8);e=!(e&2);d:{if(k>>>0<=1){break d}while(1){if(I[(a+N(H[(c<<2)+i>>2],20)|0)+12|0]&8){c=c+1|0;if((k|0)!=(c|0)){continue}break d}break}m=1;e=1}c=e&m;if(c){e=I[d+140|0]+1|0;e=(e|0)!=(e&255)?1:e;F[d+140|0]=e;n=e<<5&224}g=c?4:0;h=a+N(H[d+64>>2],20)|0;e=I[h+14|0];a=I[h+12|0]&4?e&16?e&15:1:1;e:{f:{g:{h:{if(c){F[h+14|0]=j&15|n|16;j=H[d+80>>2];h=H[d+64>>2];o=J[(j+N(h,20)|0)+16>>1];if((o&31)==12){G[(j+N(h,20)|0)+16>>1]=o&224|7}Mr(b,f,g);g=0-a|0;if(k>>>0>1){break h}b=a;break e}Mr(b,f,g);if(k>>>0<2){g=0-a|0;b=a;break e}f=d+72|0;h=d+60|0;break g}f=d+72|0;h=d+60|0;if(c){break f}}c=H[d+64>>2];g=1;while(1){i:{j=(g<<2)+i|0;if(!I[h|0]|K[j>>2]<=c>>>0){break i}e=1;if(!I[d+61|0]){while(1){c=c+1|0;H[d+64>>2]=c;if(K[j>>2]>c>>>0){continue}break i}}while(1){j:{if(e){k:{if(H[d+84>>2]==H[d+80>>2]){b=c;if(H[f>>2]==(c|0)){break k}}if(!qb(d,1,1)){c=H[d+64>>2];break j}c=H[d+80>>2]+N(H[d+64>>2],20)|0;e=H[c+4>>2];b=H[d+84>>2]+N(H[d+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=e;H[b+16>>2]=H[c+16>>2];e=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=e;c=H[d+64>>2];b=H[d+72>>2]}H[f>>2]=b+1}c=c+1|0;H[d+64>>2]=c}if(!I[h|0]|K[j>>2]<=c>>>0){break i}e=I[d+61|0];continue}}b=H[d+80>>2]+N(c,20)|0;j=J[b+12>>1];e=I[b+14|0];c=c+1|0;H[d+64>>2]=c;b=j&4?e&16?e&15:1:1;a=b+a|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}g=0-b|0;break e}c=H[d+64>>2];h=1;b=a;while(1){e=(h<<2)+i|0;l:{if(K[e>>2]<=c>>>0){break l}g=a+g|0;while(1){if(!I[d+60|0]){break l}f=H[d+80>>2]+N(c,20)|0;c=I[f+14|0];c=c&16?0:c&15;c=c?c:b;F[f+14|0]=g+(b>>>0>c>>>0?c:b)&15|n;m:{if(I[d+61|0]){n:{if(H[d+84>>2]==H[d+80>>2]){c=H[d+72>>2];if((c|0)==H[d+64>>2]){break n}}if(!qb(d,1,1)){c=H[d+64>>2];break m}f=H[d+80>>2]+N(H[d+64>>2],20)|0;j=H[f+4>>2];c=H[d+84>>2]+N(H[d+72>>2],20)|0;H[c>>2]=H[f>>2];H[c+4>>2]=j;H[c+16>>2]=H[f+16>>2];j=H[f+12>>2];H[c+8>>2]=H[f+8>>2];H[c+12>>2]=j;c=H[d+72>>2]}H[d+72>>2]=c+1}c=H[d+64>>2]+1|0;H[d+64>>2]=c}if(K[e>>2]>c>>>0){continue}break}}b=H[d+80>>2]+N(c,20)|0;f=J[b+12>>1];e=I[b+14|0];c=c+1|0;H[d+64>>2]=c;b=f&4?e&16?e&15:1:1;g=0-b|0;a=a+b|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}o:{if(!(e>>>0>31&m)){break o}c=H[d+64>>2];if(c>>>0>=K[d+68>>2]){break o}f=a+g|0;while(1){g=H[d+80>>2]+N(c,20)|0;a=I[g+14|0];if((a^e)>>>0>31|a&16){break o}a=a&15;if(!a){break o}F[g+14|0]=f+(a>>>0>b>>>0?b:a)&15|n;c=c+1|0;if(c>>>0>2]){continue}break}}}Wa=i+272|0;return l}function Nn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Wa-16|0;Wa=j;f=H[a+72>>2];m=H[a+64>>2];h=H[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(H[a>>2]){case 0:if(ob(H[a+164>>2],2)){break f}if((Di(H[a+164>>2],j+12|0,1)|0)!=1){break f}e=I[j+12|0];H[a+44>>2]=e&128;k=e&31;H[a+40>>2]=k;g=1<>2]=g-256;if(k>>>0>16){break f}H[a+52>>2]=9;H[a+56>>2]=e>>>7;H[a+60>>2]=k>>>0>9?256:g-255|0;f=0;g=xi(a);if(g>>>0>255){break f}if(b){F[b|0]=g}if(c>>>0<2){break e}k=1;H[a>>2]=1;h=g;m=g;break;case 2:break d;case 1:break g;default:break a}}e=0;break c}k=0;break b}e=1;h=g;m=g;break a}e=1}while(1){h:{if(!e){e=xi(a);if((e|0)<0){break b}i:{j:{k:{while(1){if((e|0)!=256){break k}if(!H[a+44>>2]){break j}F[a+32|0]=1;m=0;H[a+56>>2]=0;h=0;e=xi(a);if((e|0)>=0){continue}break}break b}g=e;if(e>>>0<256){break i}}g=e;d=e-256|0;f=H[a+56>>2];if(d>>>0>=f>>>0){if(d>>>0>f>>>0){break h}d=H[a+92>>2];f=H[a+96>>2];l:{if(d>>>0>>0){f=H[a+88>>2];break l}g=((f>>>1|0)+f|0)+4|0;l=H[a+168>>2];m:{n:{i=H[a+88>>2];if((i|0)!=(a+100|0)){d=65536;if(g>>>0>65536){break n}d=g;break m}i=0;H[a+88>>2]=0;d=g>>>0<65536?g:65536;f=0;break m}if((f|0)==65536){break h}}f=jb(l,1,f,d,i,j+12|0);H[a+88>>2]=f;if(H[j+12>>2]){break h}H[a+96>>2]=d;d=H[a+92>>2]}H[a+92>>2]=d+1;F[d+f|0]=h;g=m;if(g>>>0<256){break i}}l=a+100|0;d=H[a+76>>2];while(1){if(!d){break h}d=H[a+92>>2];f=H[a+96>>2];o:{if(d>>>0>>0){f=H[a+88>>2];break o}d=((f>>>1|0)+f|0)+4|0;n=H[a+168>>2];i=H[a+88>>2];p:{if((l|0)!=(i|0)){if(d>>>0<=65536){break p}d=65536;if((f|0)==65536){break h}break p}i=0;H[a+88>>2]=0;d=d>>>0<65536?d:65536;f=0}f=jb(n,1,f,d,i,j+12|0);H[a+88>>2]=f;if(H[j+12>>2]){break h}H[a+96>>2]=d;d=H[a+92>>2]}g=g-256|0;i=I[g+H[a+80>>2]|0];H[a+92>>2]=d+1;F[d+f|0]=i;d=H[a+76>>2];g=J[d+(g<<1)>>1];if(g>>>0>255){continue}break}}d=H[a+92>>2];h=H[a+96>>2];q:{if(d>>>0>>0){h=H[a+88>>2];break q}f=((h>>>1|0)+h|0)+4|0;l=H[a+168>>2];r:{s:{t:{u:{i=H[a+88>>2];if((i|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break u}d=f;break t}i=0;H[a+88>>2]=0;d=f>>>0<65536?f:65536;h=0;break t}if((h|0)==65536){break s}}h=jb(l,1,h,d,i,j+12|0);H[a+88>>2]=h;if(!H[j+12>>2]){break r}}h=g;break h}H[a+96>>2]=d;d=H[a+92>>2]}H[a+92>>2]=d+1;F[d+h|0]=g;H[a>>2]=2;h=g;f=e;d=k;e=1;continue}v:{if(b){while(1){e=H[a+92>>2];if(!e){break v}e=e-1|0;H[a+92>>2]=e;F[b+d|0]=I[e+H[a+88>>2]|0];d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}e=H[a+92>>2];while(1){if(!e){break v}e=e-1|0;H[a+92>>2]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}k=d;e=H[a+56>>2];if(e>>>0>2]){g=H[a+84>>2];if(g>>>0<=e>>>0){e=g?g+(g>>>2|0)|0:512;i=jb(H[a+168>>2],3,g,e,H[a+76>>2],j+12|0);H[a+76>>2]=i;if(H[j+12>>2]){break b}l=i+(e<<1)|0;H[a+80>>2]=l;Yb(l,i+(g<<1)|0,g);H[a+84>>2]=e;e=H[a+56>>2]}G[H[a+76>>2]+(e<<1)>>1]=m;F[H[a+80>>2]+e|0]=h;H[a+56>>2]=H[a+56>>2]+1}H[a>>2]=1;m=f;e=0;continue}break}f=e}e=k;H[a>>2]=3}H[a+72>>2]=f;H[a+68>>2]=h;H[a+64>>2]=m;Wa=j+16|0;return e}function Ar(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;p=Wa-16|0;Wa=p;d=H[b+100>>2];c=I[a+2|0]|I[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=0;g=Kb(e,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);a:{if((g|0)==-1){break a}c=H[d+64>>2];H[b+40>>2]=1;H[b+4>>2]=c;e=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[e+68>>2];F[b+24|0]=(c|0)==H[e+64>>2]?I[(H[e+80>>2]+N(c,20)|0)+15|0]:0;if(!Pc(b+4|0,p+12|0)){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[d+64>>2],H[p+12>>2],1,0);break a}h=a+4|0;m=H[b+4>>2];d=0;e=H[b+100>>2];k=H[e+80>>2];b:{c:{c=I[a+8|0]|I[a+9|0]<<8;c=g>>>0<((c<<8|c>>>8)&65535)>>>0?((g<<1)+a|0)+10|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}c=I[a|0]|I[a+1|0]<<8;if(c){n=h+2|0;g=KM(I[h|0]|I[h+1|0]<<8);q=I[h+2|0]|I[h+3|0]<<8;r=(KM(q)+g<<1)+2|0;j=H[N(m,20)+k>>2];c=((c<<8|c>>>8)&65535)-1|0;while(1){l=c+d>>>1|0;i=(a+N(l,r)|0)+2|0;o=I[i|0]|I[i+1|0]<<8;o=(o<<8|o>>>8)&65535;d:{if(o>>>0>j>>>0){c=l-1|0;break d}if((j|0)==(o|0)){break c}d=l+1|0}if((c|0)>=(d|0)){continue}break}}c=0;if(!(I[e+16|0]&64)){break b}a=H[e+68>>2];b=m+1|0;h=a>>>0>>0?a:b;a=H[e+64>>2];m=h-a|0;if(m>>>0<2){break b}b=H[e+144>>2]|32;H[e+144>>2]=b;if(a>>>0>=h>>>0){break b}d=-1;c=a;j=h+(c^-1)|0;if(j>>>0>=3){l=m&-4;while(1){g=N(c,20)+k|0;i=H[g+8>>2];d=d>>>0>>0?d:i;i=H[g+28>>2];d=d>>>0>>0?d:i;i=H[g+48>>2];d=d>>>0>>0?d:i;g=H[g+68>>2];d=d>>>0>>0?d:g;c=c+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}}g=m&3;if(g){f=0;while(1){l=H[(N(c,20)+k|0)+8>>2];d=d>>>0>>0?d:l;c=c+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(m&1){c=N(a,20)+k|0;if(H[c+8>>2]!=(d|0)){H[e+144>>2]=b;H[c+4>>2]=H[c+4>>2]|2}a=a+1|0}c=0;if(!j){break b}while(1){f=N(a,20)+k|0;if(H[f+8>>2]!=(d|0)){b=b|32;H[e+144>>2]=b;H[f+4>>2]=H[f+4>>2]|2}f=N(a+1|0,20)+k|0;if(H[f+8>>2]!=(d|0)){b=b|32;H[e+144>>2]=b;H[f+4>>2]=H[f+4>>2]|2}a=a+2|0;if((h|0)!=(a|0)){continue}break}break b}c=i+2|0;e:{if(!(s=1,t=we(h,b,a,c,H[e+88>>2]+N(H[e+64>>2],20)|0),u=we(n,b,a,c+(g<<1)|0,H[e+88>>2]+N(m,20)|0),u?s:t)){break e}a=H[e+68>>2];b=m+1|0;k=a>>>0>>0?a:b;a=H[e+64>>2];g=k-a|0;if(g>>>0<2){break e}f=H[e+144>>2]|32;H[e+144>>2]=f;if(a>>>0>=k>>>0){break e}h=H[e+80>>2];c=-1;d=a;l=k+(a^-1)|0;if(l>>>0>=3){i=g&-4;j=0;while(1){b=h+N(d,20)|0;n=H[b+8>>2];c=c>>>0>>0?c:n;n=H[b+28>>2];c=c>>>0>>0?c:n;n=H[b+48>>2];c=c>>>0>>0?c:n;b=H[b+68>>2];c=b>>>0>c>>>0?c:b;d=d+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}j=g&3;if(j){b=0;while(1){i=H[(h+N(d,20)|0)+8>>2];c=c>>>0>>0?c:i;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(g&1){b=h+N(a,20)|0;if(H[b+8>>2]!=(c|0)){H[e+144>>2]=f;H[b+4>>2]=H[b+4>>2]|3}a=a+1|0}if(!l){break e}while(1){b=h+N(a,20)|0;if(H[b+8>>2]!=(c|0)){f=f|32;H[e+144>>2]=f;H[b+4>>2]=H[b+4>>2]|3}b=h+N(a+1|0,20)|0;if(H[b+8>>2]!=(c|0)){f=f|32;H[e+144>>2]=f;H[b+4>>2]=H[b+4>>2]|3}a=a+2|0;if((k|0)!=(a|0)){continue}break}}H[e+64>>2]=((q|0)!=0)+m;c=1}}Wa=p+16|0;return c}function Kg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Wa-16|0;Wa=i;e=zb(H[a+100>>2],(H[a+16>>2]<<1)+392|0,i+4|0);d=H[i+4>>2];if(!d){H[e>>2]=a;d=H[a+16>>2];H[e+388>>2]=c;f=e+392|0;H[e+8>>2]=f;H[e+4>>2]=d;H[e+368>>2]=0;H[e+372>>2]=0;c=0;G[e+364>>1]=0;H[e+376>>2]=0;H[e+380>>2]=0;H[e+384>>2]=0;n=H[a+92>>2];a:{if(!d){break a}if(d-1>>>0>=7){j=d&-8;while(1){g=c<<1;G[g+f>>1]=16383;G[(g|2)+f>>1]=16383;G[(g|4)+f>>1]=16383;G[(g|6)+f>>1]=16383;G[(g|8)+f>>1]=16383;G[(g|10)+f>>1]=16383;G[(g|12)+f>>1]=16383;G[(g|14)+f>>1]=16383;c=c+8|0;h=h+8|0;if((j|0)!=(h|0)){continue}break}}g=d&7;if(!g){break a}d=0;while(1){G[(c<<1)+f>>1]=16383;c=c+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}b:{if(ie(a,1970170211)){break b}h=0;d=14512;while(1){j=H[(H[d+8>>2]<<2)+16352>>2];c=H[j+4>>2];c:{if(!c|H[d+16>>2]!=10){break c}d=H[c>>2];if(d){while(1){g=c;c=pc(a,d);H[i+12>>2]=c;d:{if(!c|c>>>0>=K[e+4>>2]){break d}c=(c<<1)+f|0;if((J[c>>1]&16383)!=16383){break d}G[c>>1]=h}d=Pg(a,d,i+12|0);while(1){c=H[i+12>>2];if(!(!c|K[g+4>>2]>>0)){e:{if(c>>>0>=K[e+4>>2]){break e}c=(c<<1)+f|0;if((J[c>>1]&16383)!=16383){break e}G[c>>1]=h}d=Pg(a,d,i+12|0);continue}break}c=g+8|0;d=H[g+8>>2];if(d){continue}break}}c=H[j+8>>2];d=H[c>>2];if(!d){break c}while(1){g=c;c=pc(a,d);H[i+8>>2]=c;f:{if(!c|c>>>0>=K[e+4>>2]){break f}c=(c<<1)+f|0;j=J[c>>1];if((j&16383)!=(h&65535)){break f}G[c>>1]=j|16384}d=Pg(a,d,i+8|0);while(1){c=H[i+8>>2];if(!(!c|K[g+4>>2]>>0)){g:{if(c>>>0>=K[e+4>>2]){break g}c=(c<<1)+f|0;j=J[c>>1];if((j&16383)!=(h&65535)){break g}G[c>>1]=j|16384}d=Pg(a,d,i+8|0);continue}break}c=g+8|0;d=H[g+8>>2];if(d){continue}break}}h=h+1|0;d=H[(h<<2)+16608>>2];if((h|0)!=87){continue}break}c=pc(a,48);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,49);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,50);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,51);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,52);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,53);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,54);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,55);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,56);if(!(!c|c>>>0>=K[e+4>>2])){c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}c=pc(a,57);if(!c|c>>>0>=K[e+4>>2]){break b}c=(c<<1)+f|0;G[c>>1]=J[c>>1]|32768}g=H[H[e+388>>2]+12>>2];h:{if((g|0)==16383){break h}h=H[e+4>>2];if((h|0)<=0){break h}d=0;if((h|0)!=1){j=h&-2;c=0;while(1){k=d<<1;l=k+f|0;m=J[l>>1];if((m&16383)==16383){G[l>>1]=g|m&49152}k=(k|2)+f|0;l=J[k>>1];if((l&16383)==16383){G[k>>1]=g|l&49152}d=d+2|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!(h&1)){break h}c=(d<<1)+f|0;d=J[c>>1];if((d&16383)!=16383){break h}G[c>>1]=g|d&49152}he(a,n);H[e+12>>2]=0;d=0}H[b>>2]=e;Wa=i+16|0;return d}function xq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=H[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=H[a>>2];b=c+b|0;c:{a=a-c|0;if((a|0)!=H[64938]){if(c>>>0<=255){e=H[a+8>>2];c=c>>>3|0;d=H[a+12>>2];if((d|0)!=(e|0)){break c}i=259732,j=H[64933]&LM(-2,c),H[i>>2]=j;break b}h=H[a+24>>2];c=H[a+12>>2];d:{if((c|0)!=(a|0)){d=H[a+8>>2];H[d+12>>2]=c;H[c+8>>2]=d;break d}e:{e=a+20|0;d=H[e>>2];if(d){break e}e=a+16|0;d=H[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=H[e>>2];if(d){continue}e=c+16|0;d=H[c+16>>2];if(d){continue}break}H[g>>2]=0}if(!h){break b}e=H[a+28>>2];d=(e<<2)+260036|0;f:{if(H[d>>2]==(a|0)){H[d>>2]=c;if(c){break f}i=259736,j=H[64934]&LM(-2,e),H[i>>2]=j;break b}H[h+(H[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}H[c+24>>2]=h;d=H[a+16>>2];if(d){H[c+16>>2]=d;H[d+24>>2]=c}d=H[a+20>>2];if(!d){break b}H[c+20>>2]=d;H[d+24>>2]=c;break b}c=H[f+4>>2];if((c&3)!=3){break b}H[64935]=b;H[f+4>>2]=c&-2;H[a+4>>2]=b|1;H[f>>2]=b;return}H[e+12>>2]=d;H[d+8>>2]=e}c=H[f+4>>2];g:{if(!(c&2)){if(H[64939]==(f|0)){H[64939]=a;b=H[64936]+b|0;H[64936]=b;H[a+4>>2]=b|1;if(H[64938]!=(a|0)){break a}H[64935]=0;H[64938]=0;return}if(H[64938]==(f|0)){H[64938]=a;b=H[64935]+b|0;H[64935]=b;H[a+4>>2]=b|1;H[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){e=H[f+8>>2];c=c>>>3|0;d=H[f+12>>2];if((d|0)==(e|0)){i=259732,j=H[64933]&LM(-2,c),H[i>>2]=j;break h}H[e+12>>2]=d;H[d+8>>2]=e;break h}h=H[f+24>>2];c=H[f+12>>2];i:{if((f|0)!=(c|0)){d=H[f+8>>2];H[d+12>>2]=c;H[c+8>>2]=d;break i}j:{d=f+20|0;e=H[d>>2];if(e){break j}d=f+16|0;e=H[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=H[d>>2];if(e){continue}d=c+16|0;e=H[c+16>>2];if(e){continue}break}H[g>>2]=0}if(!h){break h}e=H[f+28>>2];d=(e<<2)+260036|0;k:{if(H[d>>2]==(f|0)){H[d>>2]=c;if(c){break k}i=259736,j=H[64934]&LM(-2,e),H[i>>2]=j;break h}H[h+(H[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}H[c+24>>2]=h;d=H[f+16>>2];if(d){H[c+16>>2]=d;H[d+24>>2]=c}d=H[f+20>>2];if(!d){break h}H[c+20>>2]=d;H[d+24>>2]=c}H[a+4>>2]=b|1;H[a+b>>2]=b;if(H[64938]!=(a|0)){break g}H[64935]=b;return}H[f+4>>2]=c&-2;H[a+4>>2]=b|1;H[a+b>>2]=b}if(b>>>0<=255){b=b>>>3|0;c=(b<<3)+259772|0;d=H[64933];b=1<>2]}H[c+8>>2]=a;H[b+12>>2]=a;H[a+12>>2]=c;H[a+8>>2]=b;return}e=31;H[a+16>>2]=0;H[a+20>>2]=0;if(b>>>0<=16777215){c=b>>>8|0;g=c+1048320>>>16&8;c=c<>>16&4;c=c<>>16&2;c=(c<>>15|0)-(d|(e|g))|0;e=(c<<1|b>>>c+21&1)+28|0}H[a+28>>2]=e;g=(e<<2)+260036|0;m:{d=H[64934];c=1<>2]=a;H[a+24>>2]=g;break n}e=b<<((e|0)==31?0:25-(e>>>1|0)|0);c=H[g>>2];while(1){d=c;if((H[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=H[g+16>>2];if(c){continue}break}H[g+16>>2]=a;H[a+24>>2]=d}H[a+12>>2]=a;H[a+8>>2]=a;return}b=H[d+8>>2];H[b+12>>2]=a;H[d+8>>2]=a;H[a+24>>2]=0;H[a+12>>2]=d;H[a+8>>2]=b}}function ml(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if((I[a|0]|I[a+1|0]<<8)==2560){a:{c=I[a+4|0]|I[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=b>>>0){d=I[a+6|0]|I[a+7|0]<<8;f=(d<<8|d>>>8)&65535;d=b-c|0;if(f>>>0>d>>>0){break a}}a=H[40908];return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}b=I[a+2|0]|I[a+3|0]<<8;if(!b){return 0}c=0;f=a;b=(b<<8|b>>>8)&65535;a=N(b,d);a=(a|0)<0?163632:(f+a|0)+8|0;b=b>>>0>1?b:1;e=b&3;if(b-1>>>0<3){b=0}else{g=b&65532;b=0;while(1){d=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(e){while(1){b=I[a|0]|b<<8;a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return b}b:{c:{d:{e:{f:{g:{e=I[a|0]|I[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 4:break c;case 6:break d;case 8:break e;case 2:break f;case 0:break g;default:break b}}d=b>>>0>>0?(b|0)<0?163632:((b<<2)+a|0)+2|0:0;break b}e=0;c=I[a+4|0]|I[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=d;h:{if(!c){c=I[a+2|0]|I[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break h}g=I[a+2|0]|I[a+3|0]<<8;g=(g<<8|g>>>8)&65535;d=N(g,d-1|0)+a|0;c=0;if((I[d+12|0]|I[d+13|0]<<8)!=65535){break h}c=(I[d+14|0]|I[d+15|0]<<8)==65535?-1:0}c=f+c|0;i:{if((c|0)<=0){break i}f=a+12|0;c=c-1|0;d=0;while(1){a=c+d>>>1|0;e=f+N(a,g)|0;h=I[e+2|0]|I[e+3|0]<<8;j:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){d=I[e|0]|I[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){break i}d=a+1|0;break j}c=a-1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+4|0:0;break b}c=I[a+2|0]|I[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break b}b=b-c|0;e=I[a+4|0]|I[a+5|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){break b}d=(b|0)<0?163632:((b<<2)+a|0)+6|0;break b}c=I[a+4|0]|I[a+5|0]<<8;d=(c<<8|c>>>8)&65535;e=0;k:{if(!c){c=I[a+2|0]|I[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break k}c=I[a+2|0]|I[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=N(g,d-1|0)+a|0;c=(I[c+12|0]|I[c+13|0]<<8)==65535?-1:0}c=c+d|0;l:{if((c|0)<=0){break l}f=a+12|0;c=c-1|0;d=0;while(1){a=c+d>>>1|0;e=f+N(a,g)|0;h=I[e|0]|I[e+1|0]<<8;h=(h<<8|h>>>8)&65535;m:{if(h>>>0>b>>>0){c=a-1|0;break m}if((b|0)==(h|0)){break l}d=a+1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+2|0:0;break b}c=I[a+4|0]|I[a+5|0]<<8;f=(c<<8|c>>>8)&65535;n:{if(!c){c=I[a+2|0]|I[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break n}e=I[a+2|0]|I[a+3|0]<<8;g=(e<<8|e>>>8)&65535;e=N(g,f-1|0)+a|0;c=0;if((I[e+12|0]|I[e+13|0]<<8)!=65535){break n}c=(I[e+14|0]|I[e+15|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break b}h=a+12|0;c=c-1|0;while(1){f=c+d>>>1|0;e=h+N(f,g)|0;i=I[e+2|0]|I[e+3|0]<<8;i=(i<<8|i>>>8)&65535;o:{if(i>>>0<=b>>>0){d=I[e|0]|I[e+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=f+1|0;break o}c=a;a=I[e+4|0]|I[e+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;d=(a|0)<0?163632:c+(a<<2)|0;break b}c=f-1|0}if((c|0)>=(d|0)){continue}break}d=0}a=d?d:163632;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function Zr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=Wa-16|0;Wa=n;e=H[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}k=H[b+12>>2]-2|0;H[b+12>>2]=k;if((k|0)<=0){break a}l=I[a|0]|I[a+1|0]<<8;if(!l){h=1;break a}i=a+2|0;if(i>>>0>>0|d>>>0>>0){break a}i=d-i|0;d=(l<<8|l>>>8)&65535;l=d<<1;if(i>>>0>>0){break a}k=k-l|0;H[b+12>>2]=k;if((k|0)<=0){break a}l=a+2|0;if(e>>>0>l>>>0){break a}s=d>>>0>1?d:1;while(1){b:{d=H[b+8>>2];if(d>>>0>>0|d-l>>>0<2){break b}e=H[c>>2];d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break b}d=I[l|0]|I[l+1|0]<<8;c:{if(!d){break c}k=e+((d<<8|d>>>8)&65535)|0;H[n+12>>2]=k;d=0;i=H[b+4>>2];d:{e:{if(i>>>0>k>>>0){break e}h=H[b+8>>2];if(h>>>0>>0|h-k>>>0<2){break e}f=H[b+12>>2]-2|0;H[b+12>>2]=f;if((f|0)<=0){break e}j=I[k|0]|I[k+1|0]<<8;g=1;if(!j){break d}e=k+2|0;if(e>>>0>>0|e>>>0>h>>>0){break e}g=h-e|0;e=(j<<8|j>>>8)&65535;h=e<<1;if(g>>>0>>0){break e}h=f-h|0;H[b+12>>2]=h;if((h|0)<=0){break e}h=k+2|0;if(i>>>0>h>>>0){break e}t=e>>>0>1?e:1;o=0;while(1){f:{d=H[b+8>>2];if(d>>>0>>0|d-h>>>0<2){break f}e=H[n+12>>2];d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break f}d=I[h|0]|I[h+1|0]<<8;g:{if(!d){break g}q=0;f=e+((d<<8|d>>>8)&65535)|0;i=H[b+4>>2];h:{if(f>>>0>>0){break h}d=H[b+8>>2];if(d>>>0>>0|d-f>>>0<2){break h}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break h}g=I[f|0]|I[f+1|0]<<8;j=((g<<8|g>>>8)&65535)<<1;if(g){g=f+2|0;if(g>>>0>>0|d>>>0>>0|j>>>0>d-g>>>0){break h}e=e-j|0;H[b+12>>2]=e;if((e|0)<=0){break h}}f=(f+j|0)+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break h}j=e-2|0;H[b+12>>2]=j;if((e|0)<3){break h}e=I[f|0]|I[f+1|0]<<8;g=(e<<8|e>>>8)&65535;i:{if(!e){break i}r=g-1|0;if(!r){g=1;break i}m=f+2|0;if(i>>>0>m>>>0|d>>>0>>0){break h}u=d-m|0;m=r<<1;if(u>>>0>>0){break h}j=j-m|0;H[b+12>>2]=j;if((j|0)<=0){break h}}f=f+(e?g<<1:2)|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break h}e=j-2|0;H[b+12>>2]=e;if((j|0)<3){break h}g=I[f|0]|I[f+1|0]<<8;j=((g<<8|g>>>8)&65535)<<1;if(g){g=f+2|0;if(g>>>0>>0|d>>>0>>0|j>>>0>d-g>>>0){break h}e=e-j|0;H[b+12>>2]=e;if((e|0)<=0){break h}}f=(f+j|0)+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break h}j=e-2|0;H[b+12>>2]=j;if((e|0)<3){break h}e=I[f|0]|I[f+1|0]<<8;if(e){g=i;i=f+2|0;if(g>>>0>i>>>0|d>>>0>>0){break h}i=d-i|0;d=((e<<8|e>>>8)&65535)<<2;if(i>>>0>>0){break h}d=j-d|0;H[b+12>>2]=d;if((d|0)<=0){break h}}q=1}if(q){break g}d=H[b+28>>2];if(d>>>0>31){break f}H[b+28>>2]=d+1;if(!I[b+24|0]){break f}F[h|0]=0;F[h+1|0]=0}d=1;o=o+1|0;if((t|0)==(o|0)){break e}h=(k+(o<<1)|0)+2|0;if(h>>>0>=K[b+4>>2]){continue}}break}d=0}g=d}if(g){break c}d=H[b+28>>2];if(d>>>0>31){break b}H[b+28>>2]=d+1;if(!I[b+24|0]){break b}F[l|0]=0;F[l+1|0]=0}h=1;p=p+1|0;if((s|0)==(p|0)){break a}l=((p<<1)+a|0)+2|0;if(l>>>0>=K[b+4>>2]){continue}}break}h=0}Wa=n+16|0;return h}function So(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Wa-16|0;Wa=i;a:{b:{c:{d:{e:{k=H[b+8>>2];if(K[b+4>>2]<=k+3>>>0){break e}o=H[a>>2];e=H[b+20>>2];if(e){if((Ya[e|0](b,k,i+12|0,4)|0)!=4){break e}h=H[b+8>>2];e=i+12|0;break d}e=H[b>>2];if(e){e=e+k|0;h=k;break d}H[b+8>>2]=k+4;e=2;break c}e=85;break a}f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);j=h+4|0;H[b+8>>2]=j;e=2;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))!=1954115633){break c}f=H[b+4>>2];if(f>>>0<=h+5>>>0){break b}f:{g:{h:{e=H[b+20>>2];i:{if(e){if((Ya[e|0](b,j,i+12|0,2)|0)!=2){break b}h=H[b+20>>2];j=H[b+8>>2];e=i+12|0;break i}e=H[b>>2];if(!e){break h}h=0;e=e+j|0}f=I[e+1|0];e=I[e|0];H[b+8>>2]=j+2;g=j+8|0;p=f|e<<8;if(!h){f=H[b+4>>2];break g}e=85;if(!(Ya[h|0](b,g,0,0)|0)){break f}break a}H[b+8>>2]=h+6;g=h+12|0}e=85;if(f>>>0>>0){break a}}H[b+8>>2]=g;e=142;if(!p){break a}l=(c|0)>0?c&65535:c;n=-1;j:{k:{l:{while(1){h=H[b+4>>2];if(h>>>0<=g+3>>>0){break l}m:{n:{o:{p:{c=H[b+20>>2];q:{if(c){if((Ya[c|0](b,g,i+12|0,4)|0)!=4){break l}h=H[b+20>>2];g=H[b+8>>2];c=i+12|0;break q}c=H[b>>2];if(!c){break p}h=0;c=c+g|0}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[b+8>>2]=g+4;j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=g+8|0;if(!h){h=H[b+4>>2];break o}if(!(Ya[h|0](b,c,0,0)|0)){break n}e=85;break a}H[b+8>>2]=g+4;c=g+8|0;j=0}if(c>>>0<=h>>>0){break m}e=85;break a}h=H[b+4>>2]}H[b+8>>2]=c;r:{s:{t:{if(g+11>>>0>=h>>>0){break t}f=H[b+20>>2];u:{if(f){if((Ya[f|0](b,c,i+12|0,4)|0)!=4){break t}h=H[b+4>>2];c=H[b+8>>2];f=i+12|0;break u}f=H[b>>2];if(!f){break s}f=c+f|0}f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break r}e=85;break a}f=0}g=c+4|0;H[b+8>>2]=g;v:{w:{x:{if(c+7>>>0>=h>>>0){break x}c=H[b+20>>2];y:{if(c){if((Ya[c|0](b,g,i+12|0,4)|0)!=4){break x}g=H[b+8>>2];c=i+12|0;break y}c=H[b>>2];if(!c){break w}c=c+g|0}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break v}e=85;break a}c=0}g=g+4|0;H[b+8>>2]=g;z:{A:{if((j|0)!=1415139377){if((j|0)!=1128875040){break A}c=c-22|0;f=f+22|0;q=1;if((l|0)<0){break z}n=n+1|0;break A}c=c-24|0;f=f+24|0;q=0;if((l|0)<0){break z}n=n+1|0}if((l|0)==(n|0)&(l|0)>=0){break z}m=m+1|0;if((m|0)==(p|0)){break a}continue}break}e=8;h=H[b+4>>2];if(h>>>0>>0|h-f>>>0>>0){break a}m=f+k|0;f=H[b+20>>2];B:{if(f){e=85;if(!(Ya[f|0](b,m,0,0)|0)){break B}break a}e=85;if(h>>>0>>0){break a}}H[b+8>>2]=m;if((c|0)<=0){e=6;if(c){break a}g=0;e=ec(b,0,0);if(e){break j}break k}g=Ya[H[o+4>>2]](o,c)|0;if(!g){e=64;break a}f=kb(g,0,c);e=ec(b,f,c);if(!e){break k}Ya[H[o+8>>2]](o,f);break j}e=85;break a}e=Ai(a,g,c,l>>31&l,q?10933:11064,d)}if((e&255)!=2){break a}}a=e;c=H[b+20>>2];C:{if(c){e=85;if(!(Ya[c|0](b,k,0,0)|0)){break C}break a}e=85;if(K[b+4>>2]>>0){break a}}H[b+8>>2]=k;e=a;break a}e=85}Wa=i+16|0;return e}function _i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;c=H[a+36>>2];n=H[a+40>>2];k=H[a+28>>2];o=H[a+24>>2];q=k+N(o,40)|0;a:{if(b){r=8;if((o|0)<=0){break a}a=k;while(1){H[a+24>>2]=H[a+20>>2];H[a+28>>2]=H[a+8>>2];a=a+40|0;if(q>>>0>a>>>0){continue}break}break a}r=4;if((o|0)<=0){break a}a=k;while(1){H[a+24>>2]=H[a+16>>2];H[a+28>>2]=H[a+4>>2];a=a+40|0;if(q>>>0>a>>>0){continue}break}}if((c|0)>0){t=(c<<2)+n|0;while(1){i=H[n>>2];a=i;j=H[a+36>>2];b:{if(a>>>0>j>>>0){break b}c:{while(1){d:{if(J[a>>1]&r){c=a;e:while(1){d=c;h=d>>>0>=j>>>0;if(!h){c=d+40|0;if(J[d+40>>1]&r){continue}}g=1;f:{g:{e=d+40|0;c=e;f=j>>>0>>0;if(!f){while(1){if(J[c>>1]&r){break g}g=g+1|0;c=d+N(g,40)|0;if(j>>>0>=c>>>0){continue}break}}if((a|0)!=(d|0)){break f}c=H[a+24>>2];e=H[a+28>>2];if((c|0)==(e|0)){break b}e=c-e|0;if(a>>>0>i>>>0){break d}break c}if(g>>>0<2){continue}g=d+N(g,40)|0;l=g-40|0;h=H[d+28>>2]>H[g+28>>2];g=h?d:c;f=H[g+24>>2];g=H[g+28>>2];p=f-g|0;d=h?c:d;h=H[d+24>>2];d=H[d+28>>2];s=h-d|0;if(!((f|0)!=(h|0)&(d|0)!=(g|0))){while(1){f=H[e+28>>2];H[e+24>>2]=(d|0)<(f|0)?(f|0)<(g|0)?h:f+p|0:f+s|0;e=e+40|0;if(l>>>0>=e>>>0){continue}continue e}}u=pb(f-h|0,g-d|0);while(1){f=H[e+28>>2];h:{if((f|0)<=(d|0)){m=f+s|0;break h}m=f+p|0;if((f|0)>=(g|0)){break h}m=ib(f-d|0,u)+h|0}H[e+24>>2]=m;e=e+40|0;if(l>>>0>=e>>>0){continue}break}continue}break}i:{if(f|h){break i}c=H[d+28>>2]>H[a+28>>2];g=c?d:a;f=H[g+24>>2];g=H[g+28>>2];l=f-g|0;c=c?a:d;h=H[c+24>>2];c=H[c+28>>2];p=h-c|0;if(!((f|0)!=(h|0)&(c|0)!=(g|0))){while(1){f=H[e+28>>2];H[e+24>>2]=(c|0)<(f|0)?(f|0)<(g|0)?h:f+l|0:f+p|0;e=e+40|0;if(j>>>0>=e>>>0){continue}break i}}s=pb(f-h|0,g-c|0);while(1){f=H[e+28>>2];j:{if((f|0)<=(c|0)){m=f+p|0;break j}m=f+l|0;if((f|0)>=(g|0)){break j}m=ib(f-c|0,s)+h|0}H[e+24>>2]=m;e=e+40|0;if(j>>>0>=e>>>0){continue}break}}if(a>>>0<=k>>>0){break b}g=a-40|0;if(g>>>0>>0){break b}e=H[d+28>>2]>H[a+28>>2];c=e?d:a;j=H[c+24>>2];c=H[c+28>>2];h=j-c|0;a=e?a:d;e=H[a+24>>2];a=H[a+28>>2];f=e-a|0;if(!((e|0)!=(j|0)&(a|0)!=(c|0))){while(1){d=H[i+28>>2];H[i+24>>2]=(a|0)<(d|0)?(c|0)>(d|0)?e:d+h|0:d+f|0;i=i+40|0;if(g>>>0>=i>>>0){continue}break b}}j=pb(j-e|0,c-a|0);while(1){d=H[i+28>>2];k:{if((d|0)<=(a|0)){l=d+f|0;break k}l=d+h|0;if((c|0)<=(d|0)){break k}l=ib(d-a|0,j)+e|0}H[i+24>>2]=l;i=i+40|0;if(g>>>0>=i>>>0){continue}break}break b}a=a+40|0;if(j>>>0>=a>>>0){continue}break b}break}while(1){H[i+24>>2]=e+H[i+28>>2];i=i+40|0;if(i>>>0>>0){continue}break}}c=a+40|0;if(j>>>0>>0){break b}while(1){H[a- -64>>2]=e+H[a+68>>2];a=c;c=a+40|0;if(j>>>0>=c>>>0){continue}break}}n=n+4|0;if(t>>>0>n>>>0){continue}break}}l:{if(b){if((o|0)<=0){break l}while(1){H[k+20>>2]=H[k+24>>2];k=k+40|0;if(q>>>0>k>>>0){continue}break}break l}if((o|0)<=0){break l}while(1){H[k+16>>2]=H[k+24>>2];k=k+40|0;if(q>>>0>k>>>0){continue}break}}}function RK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;a:{if(!(F[b+147|0]&1)){break a}x=H[c+20>>2]>>31|1;v=1;while(1){t=H[b+68>>2];y=t+w|0;if(t){s=H[b+88>>2];q=H[b+80>>2];r=y;a=t;while(1){j=0;f=0;i=0;g=a;h=N(g-1|0,20);d=h+q|0;b:{if((I[d+19|0]&254)!=8){if(!B){break b}l=H[d+4>>2];r=r-1|0;f=N(r,20);g=f+q|0;H[g>>2]=H[d>>2];H[g+4>>2]=l;H[g+16>>2]=H[d+16>>2];l=H[d+12>>2];H[g+8>>2]=H[d+8>>2];H[g+12>>2]=l;g=f+s|0;d=h+s|0;H[g+16>>2]=H[d+16>>2];h=H[d+12>>2];H[g+8>>2]=H[d+8>>2];H[g+12>>2]=h;h=H[d+4>>2];H[g>>2]=H[d>>2];H[g+4>>2]=h;break b}c:{while(1){h=g-1|0;d=N(h,20)+q|0;if((I[d+19|0]&254)==8){l=0;g=H[c+80>>2];g=Ya[H[g+176>>2]](c,H[c+84>>2],H[d>>2],H[g+32>>2])|0;d=I[d+19|0];e=(d|0)==8;j=(e?g:0)+j|0;i=(e?0:g)+i|0;f=((d|0)!=8)+f|0;k=0;d=0;g=h;if(g){continue}break c}break}d=g;k=0;d:{while(1){h=d-1|0;e=N(h,20);l=e+q|0;if((I[l+19|0]&254)==8){break d}m=J[l+16>>1];if(!(1<>2]+k|0;d=h;if(d){continue}break}d=0}l=g}e=N(k-j|0,x);z=0;i=N(i,x);g=0;e:{if((i|0)<=0){break e}g=0;if((e|0)<=(i|0)){break e}g=((e|0)/(i|0)|0)-1|0}h=g+1|0;f:{if((e|0)<=(N(h,i)|0)){h=g;break f}if((f|0)<=0){h=g;break f}g=N(i,g+2|0)-e|0;if((g|0)<=0){break f}z=(g|0)/(N(f,h)|0)|0}g=l+1|0;if(v){w=N(f,h)+w|0;a=g;break b}f=H[b+68>>2];n=a>>>0>f>>>0?f:a;o=n-d|0;g:{if(o>>>0<2){break g}i=H[b+144>>2]|32;H[b+144>>2]=i;if(d>>>0>=n>>>0){break g}m=H[b+80>>2];e=-1;f=d;A=(d^-1)+n|0;if(A>>>0>=3){u=o&-4;k=0;while(1){j=N(f,20)+m|0;p=H[j+8>>2];e=e>>>0

>>0?e:p;p=H[j+28>>2];e=e>>>0

>>0?e:p;p=H[j+48>>2];e=e>>>0

>>0?e:p;j=H[j+68>>2];e=e>>>0>>0?e:j;f=f+4|0;k=k+4|0;if((u|0)!=(k|0)){continue}break}}j=0;k=o&3;if(k){while(1){u=H[(N(f,20)+m|0)+8>>2];e=e>>>0>>0?e:u;f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(o&1){f=N(d,20)+m|0;if(H[f+8>>2]!=(e|0)){H[b+144>>2]=i;H[f+4>>2]=H[f+4>>2]|3}d=d+1|0}if(!A){break g}while(1){f=N(d,20)+m|0;if(H[f+8>>2]!=(e|0)){i=i|32;H[b+144>>2]=i;H[f+4>>2]=H[f+4>>2]|3}f=N(d+1|0,20)+m|0;if(H[f+8>>2]!=(e|0)){i=i|32;H[b+144>>2]=i;H[f+4>>2]=H[f+4>>2]|3}d=d+2|0;if((n|0)!=(d|0)){continue}break}}if(a>>>0<=l>>>0){a=g;break b}k=h+1|0;i=0;while(1){a=a-1|0;d=N(a,20);h=d+q|0;f=H[c+80>>2];j=Ya[H[f+176>>2]](c,H[c+84>>2],H[h>>2],H[f+32>>2])|0;m=I[h+19|0]==9?k:1;if(m){f=d+s|0;d=0;while(1){i=(i-j|0)+(d?z:0)|0;H[f+8>>2]=i;r=r-1|0;n=N(r,20);e=n+q|0;H[e+16>>2]=H[h+16>>2];o=H[h+12>>2];H[e+8>>2]=H[h+8>>2];H[e+12>>2]=o;o=H[h+4>>2];H[e>>2]=H[h>>2];H[e+4>>2]=o;e=n+s|0;H[e+16>>2]=H[f+16>>2];n=H[f+12>>2];H[e+8>>2]=H[f+8>>2];H[e+12>>2]=n;n=H[f+4>>2];H[e>>2]=H[f>>2];H[e+4>>2]=n;d=d+1|0;if((m|0)!=(d|0)){continue}break}}if(a>>>0>l>>>0){continue}break}a=g}a=a-1|0;if(a){continue}break}}if(v){v=0;B=1;a=w+t|0;if(!a|a>>>0>2]){continue}if(be(b,a)){continue}break a}break}H[b+68>>2]=y}}function lm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Wa-16|0;Wa=g;h=H[b+28>>2];i=H[a+736>>2];H[g>>2]=0;a:{b:{if(i){c:{if(!H[a+704>>2]){break c}if(Ya[H[a+516>>2]](a,1668702578,b,g+8|0)|0){break c}f=Nb(b,H[g+8>>2]);H[g+12>>2]=f;if(f){break c}f=H[b>>2];d=H[b+32>>2];d:{if((uc(b)|0)!=65536){H[g+12>>2]=0;break d}o=jb(h,4,0,H[i>>2],0,g+12|0);if(H[g+12>>2]){break d}p=jb(h,4,0,H[i>>2],0,g+12|0);if(H[g+12>>2]){break d}q=jb(h,4,0,H[i>>2],0,g+12|0);if(H[g+12>>2]){break d}e=Rb(b);s=e&4095;k=Rb(b);c=H[g+8>>2];if((s<<2)+k>>>0>c>>>0){H[g+12>>2]=8;break d}j=k+(d-f|0)|0;if(e&32768){e=H[b+32>>2];f=H[b>>2];d=H[b+36>>2];H[b+32>>2]=d-f>>>0>j>>>0?f+j|0:d;r=Bg(b,c,g);k=H[b+32>>2];d=H[b>>2];f=e-f|0;e=H[b+36>>2];H[b+32>>2]=f>>>0>>0?d+f|0:e;j=k-d|0}l=jb(h,4,0,H[a+700>>2],0,g+12|0);e:{if(H[g+12>>2]){break e}if(s){k=H[g>>2];f=0;while(1){x=Rb(b);d=Rb(b);f:{if(d&32768){c=0;if(!H[i>>2]){break f}while(1){y=(c<<2)+o|0,z=Rb(b)<<16>>16<<2,H[y>>2]=z;c=c+1|0;if(c>>>0>2]){continue}break}break f}e=d&4095;if(e>>>0>=K[i+60>>2]){H[g+12>>2]=8;break e}c=H[i+64>>2];if(!c){H[g+12>>2]=8;break e}t=e;e=H[i>>2];mb(o,c+(N(t,e)<<2)|0,e<<2)}g:{if(!(d&16384)){break g}c=0;if(!H[i>>2]){break g}while(1){y=(c<<2)+p|0,z=Rb(b)<<16>>16<<2,H[y>>2]=z;c=c+1|0;e=H[i>>2];if(c>>>0>>0){continue}break}c=0;if(!e){break g}while(1){y=(c<<2)+q|0,z=Rb(b)<<16>>16<<2,H[y>>2]=z;c=c+1|0;if(c>>>0>2]){continue}break}}u=km(i,d,o,p,q);if(u){m=H[b+32>>2];c=H[b>>2];e=H[b+36>>2];H[b+32>>2]=e-c>>>0>j>>>0?c+j|0:e;v=m-c|0;h:{if(d&8192){e=Bg(b,H[g+8>>2],g+4|0);d=H[g+4>>2];f=e;break h}H[g+4>>2]=k;d=k;e=f;f=r}m=ci(b,H[g+8>>2],d?d:H[a+700>>2]);i:{j:{k:{if(!f|!m){break k}if((e|0)!=-1){c=0;if(!d){break j}while(1){n=J[f+(c<<1)>>1];if(n>>>0>2]){n=(n<<2)+l|0;t=H[n>>2];y=n,z=ib(H[m+(c<<2)>>2],u)+t|0,H[y>>2]=z}c=c+1|0;if((d|0)!=(c|0)){continue}break}break k}f=-1;if((d|0)!=H[a+700>>2]){break i}c=0;if(!d){break i}while(1){f=c<<2;d=f+l|0;n=H[d>>2];y=d,z=ib(H[f+m>>2],u)+n|0,H[y>>2]=z;c=c+1|0;if(c>>>0>2]){continue}break}}f=-1;if((e|0)==-1){break i}}if(e){Ya[H[h+8>>2]](h,e)}f=0}if(m){Ya[H[h+8>>2]](h,m)}d=H[b>>2];e=H[b+36>>2];H[b+32>>2]=v>>>0>>0?d+v|0:e}j=j+x|0;w=w+1|0;if((w|0)!=(s|0)){continue}break}}f=H[a+700>>2];if(!f){break e}e=H[a+704>>2];d=0;if((f|0)!=1){i=f&-2;k=0;while(1){c=d<<2;j=c+e|0;H[j>>2]=H[j>>2]+(H[c+l>>2]+512>>10);c=c|4;j=c+e|0;H[j>>2]=H[j>>2]+(H[c+l>>2]+512>>10);d=d+2|0;k=k+2|0;if((i|0)!=(k|0)){continue}break}}if(!(f&1)){break e}f=d<<2;d=f+e|0;H[d>>2]=H[d>>2]+(H[f+l>>2]+512>>10)}Db(b);if((r|0)==-1){break a}break b}Db(b);break b}}H[g+12>>2]=0}if(r){Ya[H[h+8>>2]](h,r)}}if(o){Ya[H[h+8>>2]](h,o)}if(p){Ya[H[h+8>>2]](h,p)}if(q){Ya[H[h+8>>2]](h,q)}if(l){Ya[H[h+8>>2]](h,l)}Vn(a+108|0,108);Wa=g+16|0;return H[g+12>>2]}function bK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=H[H[a+124>>2]+4>>2];if(c){kr(c,b,H[a+4>>2])}d=H[b+68>>2];if(d){g=H[b+80>>2];a=0;while(1){e=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=N(a,20)+g|0;b=H[f>>2];c=b>>>12|0;switch(c|0){case 19:break g;case 17:break h;case 16:break i;case 15:break j;case 10:break k;case 2:break l;case 1:break m;case 0:break n;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 18:case 20:case 21:case 23:case 25:case 26:case 28:case 29:break a;case 30:break c;case 27:break d;case 24:break e;case 22:break f;default:break o}}if((c|0)!=224|b-917760>>>0>239){break a}c=b-908608|0;break b}c=b-40|0;if(c>>>0<24){break b}if(b-160>>>0<=55){c=b-136|0;break b}p:{c=b&-8;if((c|0)!=1600){if((c|0)!=840){break p}c=b-760|0;break b}c=b-1512|0;break b}if(b-1992>>>0<=55){c=b-1896|0;break b}if((b&-32)==2112){c=b-1960|0;break b}if(b-2304>>>0<=1271){c=b-2120|0;break b}if(b-3840>>>0>199){break a}c=b-2384|0;break b}if(b-4096>>>0<=159){c=b-2440|0;break b}if(b-5888>>>0<=431){c=b-4072|0;break b}if(b-6400>>>0<=415){c=b-4152|0;break b}if(b-6912>>>0<=335){c=b-4248|0;break b}if(b-7376>>>0<=47){c=b-4376|0;break b}if((b&-8)!=7672){break a}c=b-4624|0;break b}if(b-8200>>>0<=15){c=b-5144|0;break b}if(b-8304>>>0<=23){c=b-5232|0;break b}q:{c=b&-8;if((c|0)!=9672){if((c|0)!=8432){break q}c=b-5336|0;break b}c=b-6568|0;break b}if(b-11568>>>0>79){break a}c=b-8456|0;break b}if(b-43008>>>0<=759){c=b-39816|0;break b}if((b&-64)!=43968){break a}c=b-40016|0;break b}if((b&-16)!=65024){break a}c=b-61008|0;break b}if(b-66928>>>0<=79){c=b-62896|0;break b}if(b-68096>>>0<=79){c=b-63984|0;break b}if(b-68288>>>0<=47){c=b-64096|0;break b}if(b-68480>>>0<=47){c=b-64240|0;break b}if((b&-64)==68864){c=b-64576|0;break b}if(b-69248>>>0<=55){c=b-64896|0;break b}if(b-69424>>>0>407){break a}c=b-65016|0;break b}if(b-69424>>>0<=407){c=b-65016|0;break b}if(b-69888>>>0<=319){c=b-65072|0;break b}if(b-70272>>>0<=247){c=b-65136|0;break b}if(b-70656>>>0<=223){c=b-65272|0;break b}if(b-71040>>>0<=455){c=b-65432|0;break b}if((b&-64)==71680){c=b-65616|0;break b}if(b-71936>>>0<=95){c=b-65808|0;break b}if(b-72096>>>0<=255){c=b-65872|0;break b}if(b-72704>>>0<=183){c=b-66224|0;break b}if(b-72960>>>0<=175){c=b-66296|0;break b}if(b-73440>>>0>23){break a}c=b-66600|0;break b}if(b-77824>>>0>1087){break a}c=b-70960|0;break b}if(b-92864>>>0<=119){c=b-84912|0;break b}if(b-93952>>>0<=151){c=b-85880|0;break b}if((b&-8)!=94176){break a}c=b-85952|0;break b}if(b-101120>>>0>471){break a}c=b-92888|0;break b}if(b-113664>>>0>159){break a}c=b-104960|0;break b}if(b-123136>>>0<=79){c=b-114272|0;break b}if(b-123536>>>0<=111){c=b-114592|0;break b}if(b-125184>>>0>95){break a}c=b-116128|0}e=I[c+142288|0]}F[f+18|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Wa-160|0;Wa=h;a:{b:{if(ub(a,24256,13)){break b}c:{switch(I[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}a=H[e+32>>2];d:{e:{if(!a|!H[a+72>>2]){break e}if(!Kc(12084,H[a+92>>2])){break e}if(H[a+80>>2]){break d}}b=H[e+32>>2];a=G[b+12>>1];H[b+40>>2]=a;H[h+16>>2]=a;a=h+32|0;oh(a,h+16|0);c=He(H[e+32>>2],12084,a);if(c){break a}}a=H[e+32>>2];f:{g:{if(!a|!H[a+72>>2]){break g}if(!Kc(12180,H[a+92>>2])){break g}if(H[a+80>>2]){break f}}b=H[e+32>>2];a=G[b+14>>1];H[b+44>>2]=a;H[h>>2]=a;a=h+32|0;oh(a,h);c=He(H[e+32>>2],12180,a);if(c){break a}}H[e>>2]=H[e>>2]&-17;H[d>>2]=4;c=0;break a}h:{if(ub(a,24270,21)){break h}c=0;switch(I[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break h}}i:{if(ub(a,11158,7)){break i}c=a+7|0;j:{switch(I[a+7|0]){case 9:case 10:case 13:case 32:F[a+7|0]=0;c=a+8|0;break;case 0:break j;default:break i}}c=He(H[e+32>>2],a,c);break a}j=H[e+32>>2];c=a;k:{while(1){l:{f=-1;m:{n:{d=I[c|0];switch(d|0){case 0:break k;case 9:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((d|0)==32){break l}}c=c+1|0;continue}break}F[c|0]=0;f=d}d=0;o:{if(!a|!I[a|0]){break o}g=Kc(a,j+112|0);if(!g){break o}d=H[g>>2];if(d>>>0>=83){d=(H[j+104>>2]+(d<<4)|0)-1328|0;break o}d=(d<<4)+21680|0}if((f|0)!=-1){F[c|0]=f}if(!(H[d+4>>2]!=1?d:0)){if(I[c|0]){F[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=I[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=((b|0)==34)+c|0;p:{if(b>>>0>=f>>>0){break p}while(1){q:{r:{f=f-1|0;switch(I[f|0]-9|0){case 25:break q;case 0:case 23:break r;default:break p}}F[f|0]=0;if(b>>>0>>0){continue}break p}break}F[f|0]=0}c=He(H[e+32>>2],a,b);break a}c=jd(e+40|0,11510,a,b);if(c){break a}b=H[e+40>>2];l=H[b>>2];j=0;s:{t:{u:{a=H[e+48>>2];switch(a|0){case 0:break s;case 1:break u;default:break t}}H[e+48>>2]=0;break s}H[b>>2]=H[b+4>>2];c=1;g=a-1|0;v:{if((g|0)==1){break v}b=a-2|0;k=b&3;d=1;if(a-3>>>0>=3){m=b&-4;b=0;while(1){f=H[e+40>>2];a=c<<2;n=f+a|0;i=f;f=d<<2;H[n>>2]=H[(i+f|0)+4>>2];i=H[e+40>>2];H[(i+a|0)+4>>2]=H[(f+i|0)+8>>2];i=H[e+40>>2];H[(i+a|0)+8>>2]=H[(f+i|0)+12>>2];f=a;a=H[e+40>>2];d=d+4|0;H[(f+a|0)+12>>2]=H[a+(d<<2)>>2];c=c+4|0;b=b+4|0;if((m|0)!=(b|0)){continue}break}}if(!k){break v}f=0;while(1){a=H[e+40>>2];d=d+1|0;H[a+(c<<2)>>2]=H[a+(d<<2)>>2];c=c+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}H[e+48>>2]=g;if(!g){break s}d=0;a=H[H[e+40>>2]>>2];c=a;b=0;while(1){f=I[c|0];if(f){while(1){F[a+d|0]=f;d=d+1|0;f=I[c+1|0];c=c+1|0;if(f){continue}break}g=H[e+48>>2]}b=b+1|0;if(g>>>0>b>>>0){F[a+d|0]=32;g=H[e+48>>2];d=d+1|0}if(b>>>0>>0){c=H[H[e+40>>2]+(b<<2)>>2];continue}break}j=24081;if((a|0)==24081){break s}F[a+d|0]=0;j=a}c=He(H[e+32>>2],l,j)}Wa=h+160|0;return c|0}function LB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;d=Wa-16|0;Wa=d;a:{b:{if(Fn(a,b,c)){Lg(b);g=Wa-16|0;Wa=g;e=b+132|0;c:{if(!(a?e:0)){H[g+8>>2]=40;break c}h=H[a+28>>2];f=Rn(a);H[g+8>>2]=f;if(f){break c}H[e+24>>2]=0;H[e+28>>2]=0;H[e>>2]=0;H[e+4>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e+28>>2]=h;f=Ci(h,8276,g+8|0);if(!H[g+8>>2]){H[f>>2]=a;H[f+4>>2]=e;i=H[e+28>>2];j=f+8264|0;H[f+8272>>2]=j;H[f+8>>2]=i;H[f+8268>>2]=j;H[f+8264>>2]=0;d:{i=Rn(a);e:{if(i){break e}i=H[a+8>>2];H[f+48>>2]=16;H[f+44>>2]=17;H[f+68>>2]=i;i=H[a+28>>2];H[f+16>>2]=0;H[f+52>>2]=i;H[f+12>>2]=f+4168;i=3;if(Uq(f+12|0,-15)){break e}if(H[f+12>>2]){break d}}H[g+8>>2]=i;if(f){Ya[H[h+8>>2]](h,f)}break c}H[g+8>>2]=0;H[e+12>>2]=f}j=H[a+8>>2];f:{g:{if(!ob(a,H[a+4>>2]-4|0)){i=Qc(a,g+12|0);k=H[g+12>>2];ob(a,j);j=k?0:i;if(j-1>>>0<=40958){k=zb(h,j,g+8|0);if(!H[g+8>>2]){if((yi(f,0,k,j)|0)==(j|0)){break f}yi(f,0,0,0);if(k){Ya[H[h+8>>2]](h,k)}}H[g+8>>2]=0;break g}if(j){break g}}i=2147483647}H[e+8>>2]=0;H[e+4>>2]=i;H[e+24>>2]=18;H[e+20>>2]=19;H[e>>2]=0;break c}vh(f+12|0);H[f+52>>2]=0;H[f+44>>2]=0;H[f+48>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;H[f>>2]=0;H[f+4>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;H[f+16>>2]=0;if(f){Ya[H[h+8>>2]](h,f)}H[e+4>>2]=j;H[e+8>>2]=0;H[e+12>>2]=0;H[e+24>>2]=18;H[e+20>>2]=0;H[e>>2]=k}Wa=g+16|0;f=H[g+8>>2];if((f&255)==7){break b}if(f){h=Wa-16|0;Wa=h;f=40;h:{if(!e|!a){break h}i=H[a+28>>2];f=ob(a,0);if(f){break h}f=ec(a,h+12|0,2);if(f){break h}f=3;if(I[h+12|0]!=31|I[h+13|0]!=157){break h}H[h+8>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;H[e+28>>2]=i;g=zb(i,4292,h+8|0);f=H[h+8>>2];if(!f){H[g>>2]=a;H[g+4>>2]=e;j=H[e+28>>2];k=g+4280|0;H[g+4288>>2]=k;H[g+8>>2]=j;H[g+4284>>2]=k;H[g+4280>>2]=0;i:{j=ob(a,0);j:{if(j){break j}j=ec(a,h+14|0,2);if(j){break j}j=3;if(I[h+14|0]!=31){break j}if(I[h+15|0]==157){break i}}H[h+8>>2]=j;if(g){Ya[H[i+8>>2]](i,g)}f=H[h+8>>2];break h}kb(g+12|0,0,172);H[g+176>>2]=a;i=H[a+28>>2];H[g+108>>2]=64;H[g+100>>2]=g+112;H[g+180>>2]=i;H[g+36>>2]=0;H[g+40>>2]=0;F[g+44|0]=0;H[g+64>>2]=9;H[e+12>>2]=g}H[e+8>>2]=0;H[e>>2]=0;H[e+4>>2]=2147483647;H[e+24>>2]=20;H[e+20>>2]=21}Wa=h+16|0;if((f&255)==7|f){break b}}H[b+104>>2]=e;H[b+172>>2]=a;if(Fn(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Lg(b);a=6;break a}k:{l:{a=H[b+180>>2];m:{if(!a){break m}c=H[b+176>>2];if(!c|(I[a|0]|32)!=105|((I[a+1|0]|32)!=115|(I[a+2|0]|32)!=111)){break m}a=a+3|0;if(!rb(a,9668)){break l}if(!rb(a,9831)){if(!rb(c,9964)){break l}}if(rb(a,10109)){break m}if(!rb(c,10212)){break l}}H[d+4>>2]=0;H[d+8>>2]=0;break k}H[d+4>>2]=1970170211;H[d+8>>2]=65539}H[d>>2]=b;a=hd(29552,0,d,0);break a}Lg(b);a=2}Wa=d+16|0;return a|0}function Tk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=kb(b,0,196);e=I[a+188|0];F[b+8|0]=e;a:{if(!e){break a}if(e-1>>>0>=3){h=e&252;f=b+12|0;g=a+192|0;while(1){G[f+(c<<1)>>1]=H[g+(c<<2)>>2];j=c|1;G[f+(j<<1)>>1]=H[g+(j<<2)>>2];j=c|2;G[f+(j<<1)>>1]=H[g+(j<<2)>>2];j=c|3;G[f+(j<<1)>>1]=H[g+(j<<2)>>2];c=c+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}e=e&3;if(!e){break a}i=0;while(1){G[(b+(c<<1)|0)+12>>1]=H[((c<<2)+a|0)+192>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=I[a+189|0];F[b+9|0]=f;b:{if(!f){break b}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+40|0;h=a+248|0;e=0;while(1){G[g+(c<<1)>>1]=H[h+(c<<2)>>2];d=c|1;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|2;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|3;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break b}while(1){G[(b+(c<<1)|0)+40>>1]=H[((c<<2)+a|0)+248>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=I[a+190|0];F[b+10|0]=f;c:{if(!f){break c}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+60|0;h=a+288|0;e=0;while(1){G[g+(c<<1)>>1]=H[h+(c<<2)>>2];d=c|1;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|2;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|3;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break c}while(1){G[(b+(c<<1)|0)+60>>1]=H[((c<<2)+a|0)+288>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=I[a+191|0];F[b+11|0]=f;d:{if(!f){break d}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+88|0;h=a+344|0;e=0;while(1){G[g+(c<<1)>>1]=H[h+(c<<2)>>2];d=c|1;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|2;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|3;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break d}while(1){G[(b+(c<<1)|0)+88>>1]=H[((c<<2)+a|0)+344>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}H[b+108>>2]=H[a+384>>2];H[b+112>>2]=H[a+388>>2];H[b+116>>2]=H[a+392>>2];G[b+120>>1]=H[a+396>>2];G[b+122>>1]=H[a+400>>2];f=I[a+404|0];F[b+124|0]=f;e:{if(!f){break e}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+128|0;h=a+408|0;e=0;while(1){G[g+(c<<1)>>1]=H[h+(c<<2)>>2];d=c|1;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|2;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|3;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break e}while(1){G[(b+(c<<1)|0)+128>>1]=H[((c<<2)+a|0)+408>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}f=I[a+405|0];F[b+125|0]=f;f:{if(!f){break f}i=0;c=0;if(f-1>>>0>=3){j=f&252;g=b+154|0;h=a+460|0;e=0;while(1){G[g+(c<<1)>>1]=H[h+(c<<2)>>2];d=c|1;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|2;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];d=c|3;G[g+(d<<1)>>1]=H[h+(d<<2)>>2];c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}e=f&3;if(!e){break f}while(1){G[(b+(c<<1)|0)+154>>1]=H[((c<<2)+a|0)+460>>2];c=c+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}F[b+126|0]=I[a+512|0];H[b+184>>2]=H[a+524>>2];H[b+4>>2]=H[a+520>>2]}function TL(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=H[a+4>>2]+1|0;f=a;g=H[a>>2];a:{if((g|0)>=0){h=(d|0)>0?d:0;if(g>>>0>>0){a=g;while(1){a=((a>>>1|0)+a|0)+8|0;if(h>>>0>=a>>>0){continue}break}b:{if(!(a>>>0>>0|a>>>0>134217726)){d=0;g=tb(a<<5);if(g){i=H[f+4>>2];c:{if(!i){break c}if(i-1>>>0>=7){k=i&-8;while(1){c=d<<5;b=c+g|0;H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;b=(c|32)+g|0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;b=(c|64)+g|0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;b=(c|96)+g|0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;b=(c|128)+g|0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;b=(c|160)+g|0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;b=(c|192)+g|0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=(c|224)+g|0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=d+8|0;j=j+8|0;if((k|0)!=(j|0)){continue}break}}b=i&7;if(b){while(1){c=(d<<5)+g|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;d=d+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(!i){e=0;break c}c=0;while(1){e=c<<5;d=e+g|0;e=e+H[f+8>>2]|0;H[d>>2]=H[e>>2];b=H[d+4>>2];H[d+4>>2]=H[e+4>>2];H[e+4>>2]=b;b=H[d+8>>2];H[d+8>>2]=H[e+8>>2];H[e+8>>2]=b;b=H[d+12>>2];H[d+12>>2]=H[e+12>>2];H[e+12>>2]=b;b=H[e+28>>2];H[d+24>>2]=H[e+24>>2];H[d+28>>2]=b;b=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=b;e=H[f+4>>2];c=c+1|0;if(e>>>0>c>>>0){continue}break}if(!e){e=0;break c}d=e;while(1){d=H[f+8>>2]+(d<<5)|0;H[d-24>>2]=0;c=d-20|0;hb(H[c>>2]);H[c>>2]=0;d=d-28|0;H[d>>2]=0;H[d+4>>2]=0;d=H[f+4>>2]-1|0;H[f+4>>2]=d;if(d){continue}break}}H[f+4>>2]=e;hb(H[f+8>>2])}if(g){break b}}H[f>>2]=-1;a=0;break a}H[f>>2]=a;H[f+8>>2]=g}a=H[f+4>>2];d:{if(h>>>0>a>>>0){while(1){H[f+4>>2]=a+1;a=H[f+8>>2]+(a<<5)|0;H[a>>2]=0;H[a+4>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;a=H[f+4>>2];if(h>>>0>a>>>0){continue}break d}}if(a>>>0<=h>>>0){break d}while(1){a=H[f+8>>2]+(a<<5)|0;H[a-24>>2]=0;g=a-20|0;hb(H[g>>2]);H[g>>2]=0;a=a-28|0;H[a>>2]=0;H[a+4>>2]=0;a=H[f+4>>2]-1|0;H[f+4>>2]=a;if(a>>>0>h>>>0){continue}break}}H[f+4>>2]=h;a=1}else{a=0}}if(!a){a=H[40915];H[64766]=H[40914];H[64767]=a;a=H[40913];H[64764]=H[40912];H[64765]=a;a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;return 259040}return(H[f+8>>2]+(H[f+4>>2]<<5)|0)-32|0}function vn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Wa-48|0;Wa=g;ee(a,g+32|0);k=H[g+40>>2];a:{if(!k){h=3;break a}f=H[g+32>>2];H[g+28>>2]=f;i=H[g+36>>2];b:{c:{d:{e=H[b+8>>2];if((e|0)==7){e=H[a+8>>2];H[a+8>>2]=i-1;l=1;h=H[a>>2];H[a>>2]=f+1;ee(a,g);H[a+8>>2]=e;H[a>>2]=h;h=3;if(H[g+8>>2]==3){break d}e=7;break b}h=3;if((k|0)==3){break c}l=1;break b}if(!d){break a}H[g+28>>2]=f+1;i=i-1|0;e=8;m=1;break b}if(!d){break a}m=1;H[g+28>>2]=f+1;i=i-1|0;l=d}n=d<<1;o=N(d,3);p=d<<2;q=e-1|0;r=k-2|0;e:{while(1){e=H[(m<<2)+c>>2];f=H[b+16>>2];tc(g+28|0,i);k=e+f|0;h=3;f:{g:{h:{i:{j:{k:{switch(q|0){case 0:h=H[g+28>>2];f=h;l:{if(I[f|0]!=116|f+3>>>0>=i>>>0|(I[f+1|0]!=114|I[f+2|0]!=117)){break l}if(I[f+3|0]!=101){break l}e=1;H[g+28>>2]=h+5;break j}e=0;m:{if(I[h|0]!=102|h+4>>>0>=i>>>0|(I[h+1|0]!=97|I[h+2|0]!=108)){break m}if(I[f+3|0]!=115){break m}h=(I[h+4|0]==101?6:0)+h|0}H[g+28>>2]=h;break j;case 2:e=Cd(g+28|0,i,0);break j;case 3:e=Cd(g+28|0,i,3);break j;case 7:break g;case 6:break h;case 4:case 5:break i;case 1:break k;default:break a}}j=H[g+28>>2];H[g>>2]=j;f=Dd(g,i,10);e=0;h=H[g>>2];if((j|0)==(h|0)){break j}if(!(I[h|0]!=35|h>>>0>=i>>>0)){j=h+1|0;H[g>>2]=j;f=Dd(g,i,f);h=H[g>>2];if((j|0)==(h|0)){break j}}H[g+28>>2]=h;e=f}n:{switch(I[b+20|0]-1|0){case 0:F[k|0]=e;break f;case 1:G[k>>1]=e;break f;default:break n}}H[k>>2]=e;break f}e=H[g+28>>2];if(e>>>0>=i>>>0){break f}j=i-e|0;f=H[a+16>>2];o:{p:{switch(r|0){case 2:H[g+28>>2]=e+1;e=j-1|0;break o;case 0:break p;default:break a}}H[g+28>>2]=e+1;e=j-2|0}h=H[k>>2];if(h){if(h){Ya[H[f+8>>2]](f,h)}H[k>>2]=0}f=zb(f,e+1|0,g+24|0);h=H[g+24>>2];if(h){break a}h=e;e=mb(f,H[g+28>>2],e);F[h+e|0]=0;H[k>>2]=e;break f}if((ef(g+28|0,i,4,g,0)|0)<=3){break a}e=H[g>>2];H[k>>2]=((e>>31)+e|0)+32768&-65536;e=H[g+4>>2];H[k+4>>2]=((e>>31)+e|0)+32768&-65536;e=H[g+8>>2];H[k+8>>2]=((e>>31)+e|0)+32768&-65536;e=H[g+12>>2];H[k+12>>2]=((e>>31)+e|0)+32768&-65536;break f}k=H[a+16>>2];e=jb(k,4,0,p,0,g+24|0);h=H[g+24>>2];if(h){break a}f=ef(g+28|0,i,d,e,0);if((f|0)<0|d>>>0>f>>>0){break e}f=g+28|0;tc(f,i);f=ef(f,i,d,e+p|0,0);if((f|0)<0|d>>>0>f>>>0){break e}f=g+28|0;tc(f,i);f=ef(f,i,d,e+(n<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break e}f=g+28|0;tc(f,i);f=ef(f,i,d,e+(o<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break e}tc(g+28|0,i);f=0;if(d){while(1){j=f<<2;h=H[j+c>>2];j=H[e+j>>2];H[h>>2]=((j>>31)+j|0)+32768&-65536;j=H[e+(d+f<<2)>>2];H[h+4>>2]=((j>>31)+j|0)+32768&-65536;j=H[e+(f+n<<2)>>2];H[h+8>>2]=((j>>31)+j|0)+32768&-65536;j=h;h=H[e+(f+o<<2)>>2];H[j+12>>2]=((h>>31)+h|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break}}if(e){Ya[H[k+8>>2]](k,e)}}m=m+1|0;l=l-1|0;if(l){continue}break}h=0;break a}H[g+24>>2]=3;if(e){Ya[H[k+8>>2]](k,e)}h=H[g+24>>2]}Wa=g+48|0;return h|0}function oi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(H[a+200>>2]==(b|0)&H[a+204>>2]==(d|0)){break a}H[a+200>>2]=b;H[a+204>>2]=d;d=H[a+4>>2];if(!d){break a}f=ib(H[a+8>>2],b);H[a+12>>2]=f;H[a+16>>2]=f+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){h=ib(H[d>>2],b);i=H[a+12>>2];j=h-i|0;g=j>>31;g=(g^j)-g>>>0<128?i:h;H[d+4>>2]=g;H[d+8>>2]=g+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(H[a+404>>2]==(c|0)&H[a+408>>2]==(e|0)){break b}H[a+404>>2]=c;H[a+408>>2]=e;b=H[a+208>>2];c:{if(!b){break c}d=ib(H[a+212>>2],c);H[a+216>>2]=d;H[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){g=ib(H[d>>2],c);h=H[a+216>>2];i=g-h|0;b=i>>31;b=(b^i)-b>>>0<128?h:g;H[d+4>>2]=b;H[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}F[a+2492|0]=(N(c,125)|0)>2]<<3&(c|0)<=34359737;d=H[a+2480>>2];d:{if((d|0)<=0){break d}while(1){if((ib(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}H[a+2484>>2]=d;b=H[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=ib(H[d+8>>2],c)+e|0,H[k+28>>2]=l;k=d,l=ib(H[d+12>>2],c)+e|0,H[k+24>>2]=l;k=d,l=ib(H[d>>2],c)+e|0,H[k+16>>2]=l;k=d,l=ib(H[d+4>>2],c),H[k+20>>2]=l;H[d+16>>2]=H[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=H[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=ib(H[d+8>>2],c)+e|0,H[k+28>>2]=l;k=d,l=ib(H[d+12>>2],c)+e|0,H[k+24>>2]=l;k=d,l=ib(H[d>>2],c)+e|0,H[k+16>>2]=l;k=d,l=ib(H[d+4>>2],c),H[k+20>>2]=l;H[d+16>>2]=H[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=H[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=ib(H[d+8>>2],c)+e|0,H[k+28>>2]=l;k=d,l=ib(H[d+12>>2],c)+e|0,H[k+24>>2]=l;k=d,l=ib(H[d>>2],c)+e|0,H[k+16>>2]=l;k=d,l=ib(H[d+4>>2],c),H[k+20>>2]=l;H[d+16>>2]=H[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=H[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=ib(H[d+8>>2],c)+e|0,H[k+28>>2]=l;k=d,l=ib(H[d+12>>2],c)+e|0,H[k+24>>2]=l;k=d,l=ib(H[d>>2],c)+e|0,H[k+16>>2]=l;k=d,l=ib(H[d+4>>2],c),H[k+20>>2]=l;H[d+16>>2]=H[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}e:{g=H[a+412>>2];if(!g){break e}d=H[a+1444>>2];if(!d){break e}b=a+1448|0;f=a+416|0;while(1){f:{if(!d){break f}e=b;while(1){i=H[f>>2]-H[e>>2]|0;h=i>>31;if((ib((h^i)-h|0,c)|0)<=63){H[f+28>>2]=H[e+28>>2];H[f+24>>2]=H[e+24>>2];H[f+16>>2]=H[e+16>>2];H[f+20>>2]=H[e+20>>2];break f}e=e+32|0;d=d-1|0;if(d){continue}break}}g=g-1|0;if(!g){break e}f=f+32|0;d=H[a+1444>>2];continue}}g=H[a+928>>2];if(!g){break b}d=H[a+1960>>2];if(!d){break b}b=a+1964|0;f=a+932|0;while(1){g:{if(!d){break g}e=b;while(1){i=H[f>>2]-H[e>>2]|0;h=i>>31;if((ib((h^i)-h|0,c)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break g}break}H[f+28>>2]=H[e+28>>2];H[f+24>>2]=H[e+24>>2];H[f+16>>2]=H[e+16>>2];H[f+20>>2]=H[e+20>>2]}g=g-1|0;if(!g){break b}f=f+32|0;d=H[a+1960>>2];continue}}}function lg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Wa-16|0;Wa=h;a:{if(K[b+16>>2]<=c>>>0){H[a+16>>2]=163632;H[a+8>>2]=0;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0;b=J[81816];if(!b){H[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){H[a+20>>2]=1;break a}H[a+20>>2]=2;break a}e=H[b+20>>2];e=e?e:163632;b:{if(I[b+12|0]){e=H[e+12>>2]+(c<<1)|0;f=I[e|0]|I[e+1|0]<<8;f=((f<<8|f>>>8)&65535)<<1;e=I[e+2|0]|I[e+3|0]<<8;e=((e<<8|e>>>8)&65535)<<1;break b}e=H[e+12>>2]+(c<<2)|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}c:{if(e>>>0>=f>>>0){b=H[b+24>>2];b=b?b:163632;if(e>>>0<=K[b+16>>2]){break c}}H[a+16>>2]=163632;H[a+8>>2]=0;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0;b=J[81816];if(!b){H[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){H[a+20>>2]=1;break a}H[a+20>>2]=2;break a}g=H[b+12>>2]+f|0;f=e-f|0;e=f>>>0<10?163632:g;b=I[e|0]|I[e+1|0]<<8;if(b){b=(b<<8|b>>>8)<<16>>16>0?1:2}else{b=0}if(d){d:{switch(b-1|0){case 1:H[a+16>>2]=e;H[a+8>>2]=0;H[a+12>>2]=-1;H[a+4>>2]=f;H[a>>2]=g;b=I[e|0]|I[e+1|0]<<8;if(!b){H[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){H[a+20>>2]=1;break a}H[a+20>>2]=2;break a;case 0:H[h+12>>2]=0;H[h+8>>2]=f;H[h+4>>2]=g;H[h>>2]=e;f=0;e=0;g=H[h+4>>2];b=H[h>>2];b=I[b|0]|I[b+1|0]<<8;b=g+((b<<8|b>>>8)<<16>>16<<1)|0;e:{f:{g:{h:{i=H[h+8>>2];j=g+i|0;if(j>>>0<=b+12>>>0){H[a+16>>2]=163632;H[a+8>>2]=0;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0;b=J[81816];if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}break f}c=b+10|0;b=I[c|0]|I[c+1|0]<<8;b=(((b<<8|b>>>8)&65535)+c|0)+2|0;c=c-2|0;c=I[c|0]|I[c+1|0]<<8;l=(c<<8|c>>>8)&65535;m=l+1|0;while(1){if(b>>>0>>0){k=1;c=b+1|0;d=I[b|0];if(d&8){if(c>>>0>=j>>>0){H[a+16>>2]=163632;H[a+8>>2]=0;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0;b=J[81816];if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}break f}k=I[b+1|0]+1|0;b=b+2|0}else{b=c}f=N((d&2?1:(d>>>3^-1)&2)+(d&4?1:(d>>>4^-1)&2)|0,k)+f|0;e=e+k|0;if(l>>>0>=e>>>0){continue}}break}if((e|0)!=(m|0)){H[a+16>>2]=163632;H[a+8>>2]=0;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0;b=J[81816];if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}break f}H[a+8>>2]=0;H[a+12>>2]=-1;H[a>>2]=g;b=((i-j|0)+f|0)+b|0;b=b>>>0>i>>>0?i:b;H[a+4>>2]=b;b=b>>>0<10?163632:g;H[a+16>>2]=b;b=I[b|0]|I[b+1|0]<<8;if(!b){break h}if((b<<8|b>>>8)<<16>>16>0){break g}H[a+20>>2]=2;break e}H[a+20>>2]=0;break e}H[a+20>>2]=1;break e}H[a+20>>2]=2}break a;default:break d}}H[a+16>>2]=e;H[a+8>>2]=0;H[a+12>>2]=-1;H[a+4>>2]=f;H[a>>2]=g;b=I[e|0]|I[e+1|0]<<8;if(!b){H[a+20>>2]=0;break a}if((b<<8|b>>>8)<<16>>16>0){H[a+20>>2]=1;break a}H[a+20>>2]=2;break a}H[a+20>>2]=b;H[a+16>>2]=e;H[a+12>>2]=c;H[a+8>>2]=0;H[a+4>>2]=f;H[a>>2]=g}Wa=h+16|0}function Bf(a,b,c){var d=0,e=0,f=0,g=O(0),h=O(0);e=H[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)<=1986098018){if((b|0)==1751216995){break h}if((b|0)==1751413603){break g}if((b|0)!=1751934832){break a}d=e+72|0;b=Xd(d);if((I[b+62|0]|I[b+63|0]<<8)<<16>>16>=0){break f}b=Xd(d);if(!(I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]|I[b+7|0]<<8)|(I[b+64|0]|I[b+65|0]<<8))){if(!(I[b+66|0]|I[b+67|0]<<8)){break f}}if(!c){break b}b=Xd(d);b=I[b+72|0]|I[b+73|0]<<8;g=O(Vd(Wd(e+132|0),1751934832,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16));h=O(H[a+24>>2]);break c}if((b|0)==1986098019){break e}if((b|0)==1986294627){break d}if((b|0)!=1986815856){break a}b=e+92|0;f=Ye(b);d=I[f|0]|I[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=Ye(b);b=I[b+8|0]|I[b+9|0]<<8;g=O(Vd(Wd(e+132|0),1986815856,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16));h=O(H[a+20>>2]);break c}i:{d=e+72|0;b=Xd(d);if((I[b+62|0]|I[b+63|0]<<8)<<16>>16>=0){break i}b=Xd(d);if(!(I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]|I[b+7|0]<<8)|(I[b+64|0]|I[b+65|0]<<8))){if(!(I[b+66|0]|I[b+67|0]<<8)){break i}}if(!c){break b}b=Xd(d);b=I[b+68|0]|I[b+69|0]<<8;g=O(P(O(Vd(Wd(e+132|0),1751216995,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16))));h=O(H[a+24>>2]);break c}b=e- -64|0;d=Ze(b);if(!(I[d|0]|I[d+1|0]<<8)){break a}if(!c){break b}b=Ze(b);b=I[b+4|0]|I[b+5|0]<<8;g=O(P(O(Vd(Wd(e+132|0),1751216995,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16))));h=O(H[a+24>>2]);break c}j:{d=e+72|0;b=Xd(d);if((I[b+62|0]|I[b+63|0]<<8)<<16>>16>=0){break j}b=Xd(d);if(!(I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]|I[b+7|0]<<8)|(I[b+64|0]|I[b+65|0]<<8))){if(!(I[b+66|0]|I[b+67|0]<<8)){break j}}if(!c){break b}b=Xd(d);b=I[b+70|0]|I[b+71|0]<<8;h=O(-O(P(O(Vd(Wd(e+132|0),1751413603,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16)))));g=O(H[a+24>>2]);break c}b=e- -64|0;d=Ze(b);if(!(I[d|0]|I[d+1|0]<<8)){break a}if(!c){break b}b=Ze(b);b=I[b+6|0]|I[b+7|0]<<8;h=O(-O(P(O(Vd(Wd(e+132|0),1751413603,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16)))));g=O(H[a+24>>2]);break c}b=e- -64|0;d=Ze(b);if(!(I[d|0]|I[d+1|0]<<8)){break a}if(!c){break b}b=Ze(b);b=I[b+8|0]|I[b+9|0]<<8;g=O(Vd(Wd(e+132|0),1751934832,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16));h=O(H[a+24>>2]);break c}b=e+92|0;f=Ye(b);d=I[f|0]|I[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=Ye(b);b=I[b+4|0]|I[b+5|0]<<8;g=O(P(O(Vd(Wd(e+132|0),1986098019,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16))));h=O(H[a+20>>2]);break c}b=e+92|0;f=Ye(b);d=I[f|0]|I[f+1|0]<<8;f=(d|0)!=0;if(!c|!d){break a}b=Ye(b);b=I[b+6|0]|I[b+7|0]<<8;h=O(-O(P(O(Vd(Wd(e+132|0),1986294627,H[a+72>>2],H[a+68>>2])+O((b<<8|b>>>8)<<16>>16)))));g=O(H[a+20>>2])}b=H[a+16>>2];a=H[b+28>>2];if(!a){a=vb(b)}g=O(T(O(O(O(g*h)/O(a>>>0))+O(.5))));k:{if(O(P(g))>2]=a}f=1}return f}function _r(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Wa-16|0;Wa=h;e=H[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=H[b+12>>2];g=d-2|0;H[b+12>>2]=g;f=1;if((g|0)<=0){f=0;break a}b:{c:{d:{e:{g=I[a|0]|I[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}f=a+2|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break b}c=d-4|0;H[b+12>>2]=c;if((c|0)<=0){break b}c=I[f|0]|I[f+1|0]<<8;f:{if(!c){break f}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break f}c=H[b+28>>2];if(c>>>0>31){break b}H[b+28>>2]=c+1;if(!I[b+24|0]){break b}F[f|0]=0;F[f+1|0]=0}H[h+12>>2]=a;f=Zr(a+4|0,b,h+12|0);break a}e=Wa-16|0;Wa=e;g:{h:{f=a+2|0;if(f>>>0>2]){break h}c=H[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break h}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break h}c=I[f|0]|I[f+1|0]<<8;i:{if(!c){break i}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break i}c=H[b+28>>2];if(c>>>0>31){break h}H[b+28>>2]=c+1;if(!I[b+24|0]){break h}F[f|0]=0;F[f+1|0]=0}f=0;c=a+4|0;if(c>>>0>2]){break g}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=I[c|0]|I[c+1|0]<<8;j:{if(!d){break j}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=H[b+28>>2];if(d>>>0>31){break g}H[b+28>>2]=d+1;if(!I[b+24|0]){break g}F[c|0]=0;F[c+1|0]=0}c=a+6|0;if(c>>>0>2]){break g}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=I[c|0]|I[c+1|0]<<8;k:{if(!d){break k}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break k}d=H[b+28>>2];if(d>>>0>31){break g}H[b+28>>2]=d+1;if(!I[b+24|0]){break g}F[c|0]=0;F[c+1|0]=0}c=a+8|0;if(c>>>0>2]){break g}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break g}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=I[c|0]|I[c+1|0]<<8;l:{if(!d){break l}if(ce(((d<<8|d>>>8)&65535)+a|0,b)){break l}d=H[b+28>>2];if(d>>>0>31){break g}H[b+28>>2]=d+1;if(!I[b+24|0]){break g}F[c|0]=0;F[c+1|0]=0}H[e+12>>2]=a;f=Zr(a+10|0,b,e+12|0);break g}f=0}Wa=e+16|0;break a}f=0;c=Wa-16|0;Wa=c;H[c+12>>2]=a;d=a+2|0;m:{if(!gg(d,b,c+12|0)){break m}e=I[a+2|0]|I[a+3|0]<<8;H[c+8>>2]=a;e=(d+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(!gg(e,b,c+8|0)){break m}d=I[e|0]|I[e+1|0]<<8;if(!d){break m}H[c+4>>2]=a;a=(e+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!gg(a,b,c+4|0)){break m}i=H[b+4>>2];e=I[a|0]|I[a+1|0]<<8;a=(a+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(i>>>0>a>>>0){break m}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break m}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break m}g=I[a|0]|I[a+1|0]<<8;if(g){a=a+2|0;if(a>>>0>>0|a>>>0>e>>>0){break m}e=e-a|0;a=((g<<8|g>>>8)&65535)<<2;if(e>>>0>>0){break m}a=d-a|0;H[b+12>>2]=a;if((a|0)<=0){break m}}f=1}Wa=c+16|0;break a}f=0}Wa=h+16|0;return f}function Zn(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Wa-16|0;Wa=i;o=H[a>>2];k=H[b+20>>2];a:{b:{if(k){a=85;if(Ya[k|0](b,c,0,0)|0){break a}j=H[b+4>>2];break b}a=85;j=H[b+4>>2];if(j>>>0>>0){break a}}H[b+8>>2]=c;H[i>>2]=0;c:{d:{if(c+1>>>0>=j>>>0){break d}e:{f:{a=H[b+20>>2];g:{if(a){if((Ya[a|0](b,c,i+6|0,2)|0)!=2){break d}j=H[b+8>>2];l=i+6|0;a=H[i>>2];break g}a=H[b>>2];if(!a){break f}l=a+c|0;j=c;a=0}k=I[l|0]|I[l+1|0]<<8;j=j+2|0;H[b+8>>2]=j;if(a){break a}a=8;p=(k<<8|k>>>8)<<16>>16;if((p|0)>4078){break a}if((p|0)>=0){break e}a=1;break a}j=c+2|0;H[b+8>>2]=j}while(1){H[i>>2]=0;if(K[b+4>>2]<=j+3>>>0){break d}h:{i:{a=H[b+20>>2];if(a){if((Ya[a|0](b,j,i+8|0,4)|0)!=4){break d}j=H[b+8>>2];a=H[i>>2];l=i+8|0;break i}a=H[b>>2];if(a){l=a+j|0;a=0;break i}l=j+4|0;H[b+8>>2]=l;n=0;break h}k=I[l|0]|I[l+1|0]<<8|(I[l+2|0]<<16|I[l+3|0]<<24);l=j+4|0;H[b+8>>2]=l;if(a){break a}n=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24)}H[i>>2]=0;if(K[b+4>>2]<=j+5>>>0){break d}j:{k:{a=H[b+20>>2];if(a){if((Ya[a|0](b,l,i+12|0,2)|0)!=2){break d}l=H[b+8>>2];a=H[i>>2];j=i+12|0;break k}a=H[b>>2];if(a){j=a+l|0;a=0;break k}j=l+2|0;H[b+8>>2]=j;m=0;break j}k=I[j|0]|I[j+1|0]<<8;j=l+2|0;H[b+8>>2]=j;if(a){break a}m=k<<8|k>>>8}H[i>>2]=0;if(K[b+4>>2]<=l+3>>>0){break c}l:{m:{a=H[b+20>>2];if(a){if((Ya[a|0](b,j,i+14|0,2)|0)!=2){break c}j=H[b+8>>2];a=H[i>>2];l=i+14|0;break m}a=H[b>>2];if(a){l=a+j|0;a=0;break m}j=j+2|0;H[b+8>>2]=j;k=0;break l}k=I[l|0]|I[l+1|0]<<8;j=j+2|0;H[b+8>>2]=j;if(a){break a}k=(k<<8|k>>>8)<<16>>16}if((e|0)!=(n|0)){a=1;k=(p|0)==(q|0);q=q+1|0;if(k){break a}continue}break}H[h>>2]=(m<<16>>16)+1;a=8;if((m&65535)>>>0>2726){break a}e=c+k|0;c=H[b+20>>2];n:{if(c){a=85;if(!(Ya[c|0](b,e,0,0)|0)){break n}break a}a=85;if(e>>>0>K[b+4>>2]){break a}}H[b+8>>2]=e;c=0;H[i>>2]=0;m=jb(o,8,0,H[h>>2],0,i);a=H[i>>2];if(a){break a}a=H[h>>2];o:{if((a|0)>0){while(1){e=m+(c<<3)|0;r=e,s=yb(b,i),G[r>>1]=s;if(H[i>>2]){break o}k=H[b+8>>2]+2|0;p:{a=H[b+20>>2];q:{if(a){if(Ya[a|0](b,k,0,0)|0){break q}break p}if(k>>>0<=K[b+4>>2]){break p}}H[i>>2]=85;break o}H[b+8>>2]=k;H[i>>2]=0;k=$b(b,i);if(H[i>>2]){break o}n=H[b+8>>2]+4|0;r:{a=H[b+20>>2];s:{if(a){if(Ya[a|0](b,n,0,0)|0){break s}break r}if(n>>>0<=K[b+4>>2]){break r}}H[i>>2]=85;break o}H[b+8>>2]=n;H[i>>2]=0;if((k|0)<0){H[i>>2]=8;break o}H[e+4>>2]=k&16777215;a=H[h>>2];c=c+1|0;if((a|0)>(c|0)){continue}break}}b=0;c=o;if(f){Ve(m,a,8,14);a=H[h>>2]}c=jb(c,4,0,a,0,i);a=H[i>>2];if(!a){if(H[h>>2]>0){while(1){H[c+(b<<2)>>2]=H[(m+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}H[g>>2]=c;H[i>>2]=0;a=0}if(!m){break a}}Ya[H[o+8>>2]](o,m);a=H[i>>2];break a}a=85;H[i>>2]=85;break a}a=85}Wa=i+16|0;return a}function Xb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;c=F[b|0];if(!c){return a}a=Ac(a,c);a:{if(!a){break a}if(!I[b+1|0]){return a}if(!I[a+1|0]){break a}if(!I[b+2|0]){c=I[a+1|0];e=(c|0)!=0;b:{if(!c){break b}c=c|I[a|0]<<8;h=I[b+1|0]|I[b|0]<<8;if((c|0)==(h|0)){break b}b=a+1|0;while(1){a=b;d=I[a+1|0];e=(d|0)!=0;if(!d){break b}b=a+1|0;c=d|c<<8&65280;if((h|0)!=(c|0)){continue}break}}return e?a:0}if(!I[a+2|0]){break a}if(!I[b+3|0]){d=b;b=a+2|0;c=I[a+2|0];e=(c|0)!=0;c:{d:{if(!c){break d}c=I[a+1|0]<<16|I[a|0]<<24|c<<8;h=I[d+1|0]<<16|I[d|0]<<24|I[d+2|0]<<8;if((c|0)==(h|0)){break d}while(1){a=b+1|0;d=I[b+1|0];e=(d|0)!=0;if(!d){break c}b=a;c=(c|d)<<8;if((h|0)!=(c|0)){continue}break}break c}a=b}return e?a-2|0:0}if(!I[a+3|0]){break a}if(!I[b+4|0]){d=b;b=a+3|0;c=I[a+3|0];e=(c|0)!=0;e:{f:{if(!c){break f}c=c|(I[a+1|0]<<16|I[a|0]<<24|I[a+2|0]<<8);a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((c|0)==(h|0)){break f}while(1){a=b+1|0;d=I[b+1|0];e=(d|0)!=0;if(!d){break e}b=a;c=d|c<<8;if((h|0)!=(c|0)){continue}break}break e}a=b}return e?a-3|0:0}h=a;i=Wa-1056|0;Wa=i;a=i+1048|0;H[a>>2]=0;H[a+4>>2]=0;a=i+1040|0;H[a>>2]=0;H[a+4>>2]=0;H[i+1032>>2]=0;H[i+1036>>2]=0;H[i+1024>>2]=0;H[i+1028>>2]=0;k=b;g:{h:{i:{j:{c=I[b|0];k:{if(!c){j=-1;a=1;break k}while(1){if(!I[f+h|0]){break h}a=c&255;f=f+1|0;H[(a<<2)+i>>2]=f;a=(i+1024|0)+(a>>>3&28)|0;H[a>>2]=H[a>>2]|1<>>0>1){break j}}g=-1;d=1;break i}b=1;c=1;while(1){g=I[(c+j|0)+k|0];e=I[a+k|0];l:{if((g|0)==(e|0)){if((b|0)==(c|0)){d=b+d|0;c=1;break l}c=c+1|0;break l}if(e>>>0>>0){b=a-j|0;d=a;c=1;break l}j=d;d=d+1|0;b=1;c=1}a=c+d|0;if(f>>>0>a>>>0){continue}break}d=1;g=-1;if(f>>>0<=1){a=b;break i}a=0;e=1;c=1;while(1){m=I[(c+g|0)+k|0];l=I[d+k|0];m:{if((m|0)==(l|0)){if((c|0)==(e|0)){a=a+e|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){e=d-g|0;a=d;c=1;break m}g=a;a=a+1|0;e=1;c=1}d=a+c|0;if(f>>>0>d>>>0){continue}break}a=b;d=e}b=a;a=g+1>>>0>j+1>>>0;e=a?d:b;l=a?g:j;m=l+1|0;n:{if(Bc(k,e+k|0,m)){a=(l^-1)+f|0;e=(a>>>0>>0?l:a)+1|0;b=0;break n}b=f-e|0}o=f-1|0;n=f|63;g=0;a=h;while(1){o:{if(h-a>>>0>=f>>>0){break o}c=tf(h,0,n);if(c){h=c;if(c-a>>>0>>0){break h}break o}h=h+n|0}d=I[a+o|0];c=f;p:{q:{if(!(H[(i+1024|0)+(d>>>3&28)>>2]>>>d&1)){break q}c=H[(d<<2)+i>>2];if((c|0)!=(f|0)){c=f-c|0;c=c>>>0>g>>>0?c:g;break q}r:{c=m;d=c>>>0>g>>>0?c:g;j=I[k+d|0];if(j){while(1){if(I[a+d|0]!=(j&255)){break r}d=d+1|0;j=I[k+d|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break g}c=c-1|0;if(I[k+c|0]==I[a+c|0]){continue}break}c=e;g=b;break p}c=d-l|0}g=0}a=a+c|0;continue}}a=0}Wa=i+1056|0;d=a}return d}function Au(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Wa-16|0;Wa=j;d=H[c>>2];a:{if(!b){if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}break a}k=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);a=65535;f=K[d+16>>2]<4?163632:H[d+12>>2];h=J[c+4>>1];i=j+12|0;if(i){H[i>>2]=0}d=163632;b:{c:{d:{e=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e:{if((e|0)<=1953658212){if((e|0)==256){break c}if((e|0)==65536|(e|0)==1330926671){break e}break b}if((e|0)==1954115633){break e}if((e|0)==1953784678){break d}if((e|0)!=1953658213){break b}}d=f;break b}e=I[f+4|0]|I[f+5|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break b}d=I[f+8|0]|I[f+9|0]<<8|(I[f+10|0]<<16|I[f+11|0]<<24);d=h>>>0<(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0?(f+(h<<2)|0)+12|0:163632;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+f|0:163632;break b}d=I[f+4|0]|I[f+5|0]<<8|(I[f+6|0]<<16|I[f+7|0]<<24);d=f+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;e=I[d+24|0]|I[d+25|0]<<8;e=((e<<8|e>>>8)&65535)+d|0;d=I[e|0]|I[e+1|0]<<8;n=(d<<8|d>>>8)&65535;d=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);o=f+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;d=0;f:{while(1){g:{l=e+(d<<3)|0;g=l;g=I[g+2|0]|I[g+3|0]<<8|(I[g+4|0]<<16|I[g+5|0]<<24);if((g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))!=1936092788){break g}g=I[l+6|0]|I[l+7|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){break g}d=e+(d<<3)|0;d=I[d+8|0]|I[d+9|0]<<8;d=(e+((d<<8|d>>>8)&65535)|0)+N(h,12)|0;d=((I[d+6|0]<<8|I[d+5|0]<<16|I[d+7|0])+o|0)+4|0;break f}g=(d|0)!=(n|0);d=d+1|0;if(g){continue}break}d=163632}if(i){H[i>>2]=d-f}}f=d;d=I[d+4|0]|I[d+5|0]<<8;e=d<<8|d>>>8;i=e&65535;h:{if(i>>>0<=15){i=e&65535;if(!d){break h}d=0;e=I[f+12|0]|I[f+13|0]<<8|(I[f+14|0]<<16|I[f+15|0]<<24);if(!((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>>0|(e|0)!=(k|0))){a=0;break h}while(1){d=d+1|0;if((i|0)==(d|0)){break h}e=f+(d<<4)|0;e=I[e+12|0]|I[e+13|0]<<8|(I[e+14|0]<<16|I[e+15|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>>0|(e|0)!=(k|0)){continue}break}a=d;break h}if(!d){break h}d=i-1|0;while(1){e=d+m>>>1|0;h=f+(e<<4)|0;h=I[h+12|0]|I[h+13|0]<<8|(I[h+14|0]<<16|I[h+15|0]<<24);g=(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0>>0;i:{if(!(g|(h|0)==(k|0))){d=e-1|0;break i}if(!((h|0)!=(k|0)|g)){a=e;break h}m=e+1|0}if((d|0)>=(m|0)){continue}break}}a=a>>>0>>0?(f+(a<<4)|0)+12|0:163632;b=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);a=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);d=gl(H[c>>2],H[j+12>>2]+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Wa=j+16|0;return d|0}function lw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Wa-32|0;Wa=g;i=H[b+28>>2];H[g+4>>2]=2;c=H[a+496>>2];if(c){d=H[c+36>>2];if(d){Ya[H[i+8>>2]](i,d)}H[c+36>>2]=0;H[c+40>>2]=0;d=H[c+28>>2];if(d){Ya[H[i+8>>2]](i,d)}H[c+28>>2]=0;H[c+32>>2]=0;if(c){Ya[H[i+8>>2]](i,c)}H[a+496>>2]=0}d=zb(i,44,g+4|0);a:{if(H[g+4>>2]){break a}c=Nb(b,H[b+4>>2]);H[g+4>>2]=c;if(c){break a}c=H[a+476>>2];H[d+12>>2]=H[a+472>>2];H[d+16>>2]=c;c=H[a+468>>2];H[d+4>>2]=H[a+464>>2];H[d+8>>2]=c;H[d+20>>2]=H[a+476>>2];H[d+24>>2]=H[a+468>>2];e=H[a+492>>2];c=H[e+36>>2];b:{if(c){c=Ya[H[c>>2]](g+8|0,H[b+28>>2],H[b+32>>2],H[b+36>>2])|0;H[g+4>>2]=c;if(!c){H[g+24>>2]=a+132;H[g+20>>2]=110;H[g+16>>2]=d;c=g+8|0;q=g,r=Ya[H[H[e+36>>2]+8>>2]](c)|0,H[q+4>>2]=r;Ya[H[H[e+36>>2]+4>>2]](c);c=H[g+4>>2]}if((c&255)==2){e=H[b+4>>2];if(e>>>0<7){break b}c=H[b+32>>2];if(I[c+1|0]>3|(e|0)!=(I[c+2|0]|I[c+3|0]<<8|(I[c+4|0]<<16|I[c+5|0]<<24))){break b}c=Wa-16|0;Wa=c;H[c+12>>2]=0;l=H[b+28>>2];c:{d:{j=H[b+36>>2];h=H[b+32>>2];if(j>>>0>>0){H[c+12>>2]=2;break d}e=(h+99|0)+(I[h+99|0]|I[h+100|0]<<8)|0;if(j>>>0>>0|(I[e+18|0]|I[e+19|0]<<8)>>>0<18){break c}e=I[e+32|0]|I[e+33|0]<<8|(I[e+34|0]<<16|I[e+35|0]<<24);if(!e){break c}k=e+h|0;h=k+2|0;if(j>>>0>>0){H[c+12>>2]=2;break d}e=I[k|0]|I[k+1|0]<<8;H[d+40>>2]=e;if(j>>>0<(e<<2)+h>>>0){H[c+12>>2]=2;break d}if(!e){break c}e=jb(l,16,0,e,0,c+12|0);H[d+36>>2]=e;if(H[c+12>>2]){break d}o=H[d+40>>2];j=H[a+92>>2];m=H[a+36>>2];e:{if((m|0)<=0){break e}p=H[a+40>>2];while(1){n=H[(f<<2)+p>>2];if(J[n+8>>1]!=7){f=f+1|0;if((m|0)!=(f|0)){continue}break e}break}f=he(a,n);H[c+12>>2]=f;if(f){break d}}f=o<<2;if((f|0)>0){f=(f+k|0)+2|0;while(1){q=e,r=pc(a,I[h|0]),H[q>>2]=r;q=e,r=pc(a,I[h+1|0]),H[q+4>>2]=r;k=(I[h+2|0]|I[h+3|0]<<8)<<16>>16;H[e+12>>2]=0;H[e+8>>2]=k;e=e+16|0;h=h+4|0;if(f>>>0>h>>>0){continue}break}}f:{if(j){e=he(a,j);H[c+12>>2]=e;break f}e=H[c+12>>2]}if(e){break d}Ve(H[d+36>>2],H[d+40>>2],16,111);if(H[c+12>>2]){break d}f=0;break c}f=H[d+36>>2];if(f){Ya[H[l+8>>2]](l,f)}H[d+36>>2]=0;H[d+40>>2]=0;f=H[c+12>>2]}Wa=c+16|0;c=f;H[g+4>>2]=c}if(c){break b}}c=H[d+8>>2];H[a+464>>2]=H[d+4>>2];H[a+468>>2]=c;c=H[d+16>>2];H[a+472>>2]=H[d+12>>2];H[a+476>>2]=c;H[a+52>>2]=G[d+6>>1];H[a+56>>2]=G[d+10>>1];H[a+60>>2]=H[d+12>>2]+65535>>16;H[a- -64>>2]=H[d+16>>2]+65535>>16;G[a+70>>1]=H[d+20>>2]+32768>>>16;G[a+72>>1]=H[d+24>>2]+32768>>>16;if(!H[d+40>>2]){break b}H[a+496>>2]=d;H[a+8>>2]=H[a+8>>2]|64;d=0}Db(b)}if(d){a=H[d+36>>2];if(a){Ya[H[i+8>>2]](i,a)}H[d+36>>2]=0;H[d+40>>2]=0;a=H[d+28>>2];if(a){Ya[H[i+8>>2]](i,a)}H[d+28>>2]=0;H[d+32>>2]=0;if(d){Ya[H[i+8>>2]](i,d)}}Wa=g+32|0;return H[g+4>>2]}function hg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Wa-48|0;Wa=d;H[a>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;F[d+24|0]=0;H[d+28>>2]=0;H[d+32>>2]=0;H[d>>2]=0;H[d+4>>2]=0;c=ac(b);F[d+40|0]=1;H[d+36>>2]=c;b=_b(b,1196445523);if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}c=b;H[d+32>>2]=c;a:{b:{c:{d:{e:{while(1){F[d+24|0]=f;f=H[c+12>>2];H[d+4>>2]=f;e=H[c+16>>2];H[d+8>>2]=e+f;H[d+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;j=e>>>0<1073741823?e:1073741823}else{j=1073741823}H[d+12>>2]=j;H[d+20>>2]=0;H[d>>2]=0;if(!f){lb(c);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;break a}e=Fr(f,d);c=H[d+28>>2];f:{if(e){if(!c){break f}H[d+28>>2]=0;c=Fr(f,d);f=H[d+28>>2];lb(H[d+32>>2]);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;if(!c){break b}if(!f){break e}break b}if(I[d+24|0]|!c){break d}e=Ec(b);H[d+4>>2]=e;H[d+8>>2]=e+H[b+16>>2];c=H[d+32>>2];f=1;if(e){continue}break c}break}lb(H[d+32>>2]);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}break a}c=H[d+32>>2]}lb(c);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0}lb(b);b=163632}c=b;H[a>>2]=c;b=c?c:163632;b=K[b+16>>2]<10?163632:H[b+12>>2];f=I[b+8|0]|I[b+9|0]<<8;if(f){b=b+((f<<8|f>>>8)&65535)|0}else{b=163632}b=I[b|0]|I[b+1|0]<<8;b=(b<<8|b>>>8)&65535;H[a+4>>2]=b;f=Ab(b,24);H[a+8>>2]=f;if(!f){H[a+4>>2]=0;lb(c);H[a>>2]=0;c=163632;H[a>>2]=163632;b=H[a+4>>2]}g:{if(!b){break g}b=0;while(1){f=163632;g=163632;e=H[a+8>>2]+N(b,24)|0;c=c?c:163632;c=K[c+16>>2]<10?163632:H[c+12>>2];h=I[c+8|0]|I[c+9|0]<<8;if(h){g=c+((h<<8|h>>>8)&65535)|0}c=I[g|0]|I[g+1|0]<<8;h:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break h}c=(b<<1)+g|0;c=I[c+2|0]|I[c+3|0]<<8;if(!c){break h}f=((c<<8|c>>>8)&65535)+g|0}h=0;g=Wa-16|0;Wa=g;H[e>>2]=0;H[e+4>>2]=0;H[e+8>>2]=0;H[g+12>>2]=e;H[g+8>>2]=0;i:{c=I[f+4|0]|I[f+5|0]<<8;if(!c){H[e+12>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[g+12>>2]=e+12;H[g+8>>2]=0;break i}i=I[f|0]|I[f+1|0]<<8;k=(i<<8|i>>>8)&65535;i=(c<<8|c>>>8)&65535;j=i>>>0>1?i:1;i=f+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>h>>>0?(i+(h<<1)|0)+2|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+f|0}else{c=163632}Ic(Hr(c,g+8|0,k),H[g+12>>2]);h=h+1|0;if((j|0)!=(h|0)){c=I[i|0]|I[i+1|0]<<8;continue}break}c=I[f+4|0]|I[f+5|0]<<8;i=I[f|0]|I[f+1|0]<<8;h=0;H[e+20>>2]=0;H[e+12>>2]=0;H[e+16>>2]=0;H[g+12>>2]=e+12;H[g+8>>2]=0;if(!c){break i}i=(i<<8|i>>>8)&65535;e=(c<<8|c>>>8)&65535;k=e>>>0>1?e:1;e=f+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>h>>>0?(e+(h<<1)|0)+2|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+f|0}else{c=163632}Gr(c,g+8|0,i);h=h+1|0;if((k|0)==(h|0)){break i}c=I[e|0]|I[e+1|0]<<8;continue}}Wa=g+16|0;b=b+1|0;if(b>>>0>=K[a+4>>2]){break g}c=H[a>>2];continue}}Wa=d+48|0}function cr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;u=Wa-272|0;Wa=u;r=H[b+4>>2];m=H[b+8>>2];H[a+52>>2]=-2147483648;H[a+56>>2]=0;H[a+48>>2]=m;H[a+44>>2]=r;y=H[b+52>>2];s=H[b+28>>2];f=H[b+24>>2];v=H[b+44>>2];H[c>>2]=r;H[d>>2]=m;a:{if((f|0)<2|(v|0)<=0){break a}e=f-1|0;j=e&3;l=G[s+12>>1];b:{if(f-2>>>0<3){e=1;n=l;break b}h=e&-4;e=1;n=l;while(1){k=s+N(e,40)|0;o=G[k+12>>1];f=(n|0)>(o|0)?n:o;p=G[k+52>>1];f=(f|0)>(p|0)?f:p;i=G[k+92>>1];f=(f|0)>(i|0)?f:i;k=G[k+132>>1];n=(f|0)>(k|0)?f:k;f=(l|0)<(o|0)?l:o;f=(f|0)<(p|0)?f:p;f=(f|0)<(i|0)?f:i;l=(f|0)<(k|0)?f:k;e=e+4|0;g=g+4|0;if((h|0)!=(g|0)){continue}break}}if(j){h=0;while(1){f=G[(s+N(e,40)|0)+12>>1];n=(f|0)<(n|0)?n:f;l=(f|0)>(l|0)?l:f;e=e+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((l|0)>=(n|0)){break a}z=a,A=ib(l,r)+m|0,H[z>>2]=A;h=ib(n,r)+m|0;H[a+4>>2]=h;e=h&-32;H[a+24>>2]=e;k=H[a>>2];i=k&-32;H[a+16>>2]=i;H[a+8>>2]=k&-64;g=e+32|0;H[a+28>>2]=g;f=i+32|0;H[a+20>>2]=f;H[a+12>>2]=h+63&-64;if((f|0)>(h|0)){H[a+20>>2]=h;f=h}if((e|0)<(k|0)){H[a+24>>2]=k;e=k}j=h-k|0;H[a+32>>2]=j;if((j|0)>=65){f=e-f|0}else{H[a+24>>2]=h;H[a+20>>2]=k;f=j}H[a+36>>2]=f;e=g-i|0;H[a+40>>2]=e;i=(j|0)<129?(j|0)<97?4:8:16;g=j-i|0;if((g|0)>(f|0)){H[a+36>>2]=g;f=g}g=j+i|0;if((g|0)<(e|0)){H[a+40>>2]=g;e=g}g=(N(j,3)|0)/4|0;if((g|0)>(f|0)){H[a+36>>2]=g;f=g}g=(N(j,5)|0)/4|0;if((g|0)<(e|0)){H[a+40>>2]=g;e=g}c:{if((e|0)<(f|0)){break c}s=n-l|0;while(1){g=(j-f|0)+k|0;d:{e:{if((f|0)>=(j|0)){e=H[a+16>>2];if((g|0)>=(e|0)){break e}g=(h-g|0)+e|0;break d}e=H[a+20>>2];if((g|0)<=(e|0)){break e}g=(h-g|0)+e|0;break d}e=g;g=h}w=pb(f-j|0,s)+r|0;o=ib(l,w);x=kb(u,0,260);i=H[a+24>>2];j=g;m=g-e|0;g=H[a+16>>2];i=(i|0)>(g+m|0)?i-m|0:g;q=H[a+8>>2];g=i-q|0;f:{if((g|0)<0){break f}t=i;p=H[a+28>>2];i=H[a+20>>2];i=(p|0)<(i+m|0)?p-m|0:i;if((t|0)>(i|0)){break f}t=i-q|0;if((t|0)>64){break f}p=((h|0)>(j|0)?h-j|0:j-h|0)+((e|0)<(k|0)?k-e|0:e-k|0)|0;m=e-o|0;o=e-q|0;if((v|0)>0){i=(m-o|0)+g|0;q=0;while(1){e=N(q,44)+y|0;k=G[e+8>>1]-G[e+6>>1]|0;j=ib(G[e+2>>1],w)+i|0;e=g;while(1){h=(e<<2)+x|0;H[h>>2]=H[h>>2]+N(k,H[((j&63)<<2)+21040>>2]);j=j+1|0;h=(e|0)<(t|0);e=e+1|0;if(h){continue}break}q=q+1|0;if((v|0)!=(q|0)){continue}break}}k=N(p,10);h=H[a+52>>2];while(1){e=g;j=e-o|0;i=j+k|0;g=H[(e<<2)+x>>2];if(!((g|0)<=(h|0)&((g|0)!=(h|0)|(i|0)>=H[a+56>>2]))){H[a+56>>2]=i;H[a+52>>2]=g;H[a+44>>2]=w;H[a+48>>2]=j+m;h=g}g=e+1|0;if((e|0)<(t|0)){continue}break}}if(H[a+40>>2]<=(f|0)){break c}f=f+1|0;j=H[a+32>>2];h=H[a+4>>2];k=H[a>>2];continue}}f=H[a+48>>2];e=H[a+44>>2];a=e-r|0;z=b,A=ib(l,a)+f|0,H[z+2752>>2]=A;z=b,A=ib(n,a)+f|0,H[z+2756>>2]=A;H[c>>2]=e;H[d>>2]=f}Wa=u+272|0}function Zq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Wa-16|0;Wa=i;a:{if(!a|!b|(!c|!H[b>>2])){break a}a=Xb(a,d);if(!a){break a}b:{c:{a=wb(d)+a|0;d=I[a|0];if((d|0)!=45){f=d-48|0;k=(d&223)-65|0;d:{if((f&255)>>>0>=10&(k&255)>>>0>=26){break d}d=Ya[e|0](d)|0;F[i+12|0]=d;g=I[a+1|0];if((g-48&255)>>>0>=10){j=1;if(((g&-33)-65&255)>>>0>25){break d}}g=Ya[e|0](g)|0;F[i+13|0]=g;h=I[a+2|0];if((h-48&255)>>>0>=10){j=2;if(((h&-33)-65&255)>>>0>25){break d}}h=Ya[e|0](h)|0;F[i+14|0]=h;a=I[a+3|0];if((a-48&255)>>>0<10){break c}j=3;if(((a&-33)-65&255)>>>0<26){break c}}if((f&255)>>>0>=10){f=0;if((k&255)>>>0>=26){break a}}kb((i+12|0)+j|0,32,4-j|0);a=I[i+15|0];h=I[i+14|0];g=I[i+13|0];d=I[i+12|0];break b}d=I[a+1|0];e=d-48|0;if((e&255)>>>0>=10){e:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break a}}e=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=I[a+2|0];g=d-48|0;if((g&255)>>>0>=10){f:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break f;default:break a}}g=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=I[a+3|0];h=d-48|0;if((h&255)>>>0>=10){g:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break g;default:break a}}h=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=I[a+4|0];k=d-48|0;if((k&255)>>>0>=10){h:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break h;default:break a}}k=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=I[a+5|0];j=d-48|0;if((j&255)>>>0>=10){i:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break a}}j=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=I[a+6|0];l=d-48|0;if((l&255)>>>0>=10){j:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break a}}l=((d-65&255)>>>0<26?d+32|0:d)-87|0}d=I[a+7|0];m=d-48|0;if((m&255)>>>0>=10){k:{switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break k;default:break a}}m=((d-65&255)>>>0<26?d+32|0:d)-87|0}a=I[a+8|0];f=a-48|0;if((f&255)>>>0>=10){f=0;l:{switch(a-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break l;default:break a}}f=((a-65&255)>>>0<26?a+32|0:a)-87|0}d=(e<<4)+g|0;g=(h<<4)+k|0;h=(j<<4)+l|0;a=(m<<4)+f|0;break b}a=Ya[e|0](a)|0;if((f&255)>>>0<10){break b}f=0;if((k&255)>>>0>=26){break a}}a=a&255|((g&255)<<16|d<<24|(h&255)<<8);H[c>>2]=(a&-538976289)==1145457748?a^538976288:a;f=1;H[b>>2]=1}Wa=i+16|0;return f}function WI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;n=Wa-16|0;Wa=n;H[n+8>>2]=d;H[n+12>>2]=b;o=Wa-16|0;Wa=o;b=H[a>>2];a=H[n+8>>2];if((a|0)==-1){a=wb(c)}H[o+12>>2]=a;k=Wa-16|0;Wa=k;d=H[b+24>>2];a=H[o+12>>2];a:{if(K[b+28>>2]>>0){if(d){hb(d);a=H[o+12>>2]}a=(a<<1)+10|0;H[b+28>>2]=a;d=Rc(a);H[b+24>>2]=d;kb(d,0,a);break a}if(!I[d|0]){break a}while(1){F[d|0]=0;a=I[d+1|0];d=d+1|0;if(a){continue}break}}b:{c:{e=H[n+12>>2];d:{if((e|0)==H[b+16>>2]){d=H[b+20>>2];break d}g=b+8|0;d=H[g>>2];if(!d){break c}a=g;while(1){f=(e|0)>H[d+16>>2];a=f?a:d;d=H[(f<<2)+d>>2];if(d){continue}break}if((a|0)==(g|0)|(e|0)>2]){break c}H[b+16>>2]=e;d=H[a+20>>2];H[b+20>>2]=d}a=0;if(!d){break b}H[k+12>>2]=0;H[k+8>>2]=0;H[k+4>>2]=0;h=H[o+12>>2];g=H[b+24>>2];l=k+12|0;p=k+8|0;q=k+4|0;Kj(d,c,h,g,l,p,q,F[d+2|0],F[d+3|0],1,1);a=F[d|0];Qq(H[d+36>>2],c,g,l,p,q,((a|0)>0?a:2)&255);a=F[d+1|0];Pq(H[d+36>>2],c,h,g,l,p,q,((a|0)>0?a:2)&255);a=H[d+4>>2];e:{if(!a){break e}f=H[d+8>>2];if((f|0)<0){break e}while(1){e=Xb(c,a);if(e){while(1){f=e-c|0;i=f-1|0;x=g+(wb(a)+i|0)|0,y=48,F[x|0]=y;if((f|0)>0){F[g+i|0]=48}e=Xb(e+1|0,a);if(e){continue}break}f=H[d+8>>2]}a=(wb(a)+a|0)+1|0;e=(f|0)>(j|0);j=j+1|0;if(e){continue}break}}if(H[d+36>>2]){a=0;s=Wa-16|0;Wa=s;d=I[c|0];f:{if((d&192)!=128){g:{if((h|0)<=0){e=-1;break g}if(!(!q|(!l|!p))){e=-1;while(1){e=((d&192)!=128)+e|0;F[g+e|0]=I[a+g|0];t=H[l>>2];h:{if(!t){break h}d=H[p>>2];if(!d){break h}r=H[q>>2];if(!r){break h}j=a<<2;i=H[j+d>>2];u=e<<2;m=d+u|0;H[m>>2]=0;i:{if((i|0)<=0){break i}f=0;d=0;if((i|0)!=1){w=i&-2;v=0;while(1){if((I[(a-d|0)+c|0]&192)!=128){f=f+1|0;H[m>>2]=f}if((I[((d^-1)+a|0)+c|0]&192)!=128){f=f+1|0;H[m>>2]=f}d=d+2|0;v=v+2|0;if((w|0)!=(v|0)){continue}break}}if(!(i&1)|(I[(a-d|0)+c|0]&192)==128){break i}H[m>>2]=f+1}m=H[j+r>>2];f=0;r=r+u|0;H[r>>2]=0;if((m|0)>0){d=(a-i|0)+1|0;i=m+d|0;while(1){if((I[c+d|0]&192)!=128){f=f+1|0;H[r>>2]=f}d=d+1|0;if((i|0)>(d|0)){continue}break}}H[t+u>>2]=H[j+t>>2];if((a|0)<=(e|0)){break h}H[j+H[l>>2]>>2]=0;H[j+H[p>>2]>>2]=0;H[j+H[q>>2]>>2]=0}a=a+1|0;if((h|0)==(a|0)){break g}d=I[a+c|0];continue}}d=(d&192)==128;F[g-d|0]=I[g|0];e=d?-1:0;d=1;if((h|0)==1){break g}f=h-1|0;l=f&1;if((h|0)!=2){f=f&-2;while(1){e=((I[c+d|0]&192)!=128)+e|0;F[e+g|0]=I[d+g|0];h=d+1|0;e=e+((I[h+c|0]&192)!=128)|0;F[g+e|0]=I[g+h|0];d=d+2|0;a=a+2|0;if((f|0)!=(a|0)){continue}break}}if(!l){break g}e=((I[c+d|0]&192)!=128)+e|0;F[g+e|0]=I[d+g|0]}F[(e+g|0)+1|0]=0;break f}H[s>>2]=c;xc(H[60540],239389,s)}Wa=s+16|0}a=H[b+24>>2];break b}H[b+20>>2]=0;H[b+16>>2]=e;a=0}Wa=k+16|0;Wa=o+16|0;Wa=n+16|0;return a|0}function uK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=Wa-48|0;Wa=f;if(Fb(c,b,105023,0)){zh(b,c,1,12,15,-1);q=H[c+68>>2];a:{if(!q){break a}e=q-1|0;d=H[c+80>>2];i=I[d+15|0];while(1){b:{if((e|0)==(g|0)){g=q;break b}g=g+1|0;if((i|0)==I[(d+N(g,20)|0)+15|0]){continue}}break}if(!q){break a}l=H[c+80>>2];h=I[l+15|0];d=q;while(1){i=g;c:{if(h&14){break c}g=o+1|0;if(i>>>0<=g>>>0){break c}n=H[a+124>>2];p=H[n+8>>2]|H[n+4>>2]|H[n+12>>2];h=0;d=g;j=i+(o^-1)&3;if(j){while(1){e=N(d,20)+l|0;H[e+4>>2]=p|H[e+4>>2];d=d+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if((i-o|0)-2>>>0>2){while(1){e=N(d,20)+l|0;H[e+4>>2]=p|H[e+4>>2];H[e+24>>2]=p|H[e+24>>2];H[e+44>>2]=p|H[e+44>>2];e=e- -64|0;H[e>>2]=p|H[e>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}s=i-4|0;t=i+1|0;r=N(g,20)+l|0;m=N(o,20)+l|0;p=m+40|0;h=0;while(1){e=g;k=N(e,20)+l|0;d=I[k+18|0];d:{if(!((d|0)!=14|h>>>0>2)){g=e+1|0;if(i>>>0<=g>>>0){break d}j=N(g,20)+l|0;if(I[j+18|0]!=16){h=h+1|0;break d}H[k+4>>2]=H[k+4>>2]|H[n>>2];H[j+4>>2]=H[j+4>>2]|H[n>>2];h=e+2|0;if(h-o>>>0>=2){kc(c,o,h)}H[f+40>>2]=H[k+16>>2];d=H[k+12>>2];H[f+32>>2]=H[k+8>>2];H[f+36>>2]=d;d=H[k+4>>2];H[f+24>>2]=H[k>>2];H[f+28>>2]=d;H[f+16>>2]=H[j+16>>2];d=H[j+12>>2];H[f+8>>2]=H[j+8>>2];H[f+12>>2]=d;d=H[j+4>>2];H[f>>2]=H[j>>2];H[f+4>>2]=d;Yb(p,m,N(e-o|0,20));H[m+16>>2]=H[f+40>>2];d=H[f+36>>2];H[m+8>>2]=H[f+32>>2];H[m+12>>2]=d;d=H[f+28>>2];H[m>>2]=H[f+24>>2];H[m+4>>2]=d;H[r+16>>2]=H[f+16>>2];d=H[f+12>>2];H[r+8>>2]=H[f+8>>2];H[r+12>>2]=d;d=H[f+4>>2];H[r>>2]=H[f>>2];H[r+4>>2]=d;j=H[n+16>>2];e:{if(!j|i>>>0<=h>>>0){break e}d=N(h,20)+l|0;H[d+4>>2]=j|H[d+4>>2];d=e+3|0;if(i>>>0<=d>>>0){break e}k=0;h=t-e&3;if(h){while(1){j=N(d,20)+l|0;H[j+4>>2]=H[j+4>>2]|H[n+16>>2];d=d+1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}}if(s-e>>>0<3){break e}while(1){e=N(d,20)+l|0;H[e+4>>2]=H[e+4>>2]|H[n+16>>2];H[e+24>>2]=H[e+24>>2]|H[n+16>>2];H[e+44>>2]=H[e+44>>2]|H[n+16>>2];e=e- -64|0;H[e>>2]=H[e>>2]|H[n+16>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}h=2;break d}g=e+1|0;if((d|0)!=28){break d}if(g-o>>>0>=2){kc(c,o,g)}H[f+40>>2]=H[k+16>>2];d=H[k+12>>2];H[f+32>>2]=H[k+8>>2];H[f+36>>2]=d;d=H[k+4>>2];H[f+24>>2]=H[k>>2];H[f+28>>2]=d;Yb(r,m,N(e-o|0,20));H[m+16>>2]=H[f+40>>2];d=H[f+36>>2];H[m+8>>2]=H[f+32>>2];H[m+12>>2]=d;d=H[f+28>>2];H[m>>2]=H[f+24>>2];H[m+4>>2]=d}if((g|0)!=(i|0)){continue}break}l=H[c+80>>2];d=H[c+68>>2]}g=i+1|0;e=d>>>0>g>>>0?d:g;h=I[(N(i,20)+l|0)+15|0];g=i;while(1){f:{g=g+1|0;if(g>>>0>=d>>>0){g=e;break f}if(I[(N(g,20)+l|0)+15|0]==(h|0)){continue}}break}o=i;if(i>>>0>>0){continue}break}}Fb(c,b,105617,0)}Wa=f+48|0}function ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=H[a+492>>2];i=H[b+16>>2];e=H[b+8>>2];Ya[H[b+28>>2]](b);c=3;a=H[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=I[a|0];c:{if(a-48>>>0<=9){a=Ya[H[b+36>>2]](b)|0;H[b+144>>2]=a;if(H[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=H[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}H[b+144>>2]=d;break c}if((a|0)!=60){break b}Ya[H[b+32>>2]](b);if(H[b+12>>2]){break a}Ya[H[b+28>>2]](b);d=H[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=I[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}H[b>>2]=d;H[b+144>>2]=h;a=d;break c}h=h+1|0}Ya[H[b+32>>2]](b);if(H[b+12>>2]){break a}Ya[H[b+28>>2]](b);a=H[b>>2];if(e>>>0>a>>>0){continue}break}}if(H[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Ya[H[H[g>>2]>>2]](k,H[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Ya[H[H[g>>2]>>2]](l,H[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Ya[H[H[g>>2]>>2]](h,4,i)|0;if(c){break b}Ya[H[b+28>>2]](b);a=H[b>>2];if(e>>>0<=a>>>0){H[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){e:{f:{c=I[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(I[a+1|0]!=110|a+3>>>0>=e>>>0|I[a+2|0]!=100){break f}switch(I[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Ya[H[b+32>>2]](b);f=H[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(H[b+12>>2]){break a}g:{h:{j=I[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Ya[H[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;F[c+H[f+H[b+172>>2]>>2]|0]=0;if(I[a|0]==46){a=rb(10293,H[f+H[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Ya[H[b+28>>2]](b);if((j|0)==40){Ya[H[b+32>>2]](b)}a=H[b>>2];Ya[H[b+36>>2]](b)|0;c=3;j=H[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Ya[H[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}F[a+H[f+H[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=H[b+144>>2]){break e}}Ya[H[b+28>>2]](b);a=H[b>>2];if(e>>>0>a>>>0){continue}}break}H[b+144>>2]=d;if(!(i&255)){c=3;break b}a=H[H[b+172>>2]>>2];if(!rb(10293,a)){break a}c=Ya[H[b+296>>2]](h,0,a,H[H[b+176>>2]>>2])|0;if(c){break b}c=Ya[H[b+296>>2]](h,1,H[H[b+224>>2]>>2],H[H[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Ya[H[b+296>>2]](h,2,H[a+H[b+172>>2]>>2],H[a+H[b+176>>2]>>2])|0;if(c){break b}c=Ya[H[b+296>>2]](h,3,H[a+H[b+224>>2]>>2],H[a+H[b+228>>2]>>2])|0;if(c){break b}c=Ya[H[b+192>>2]](l,g,H[H[b+276>>2]>>2],H[H[b+280>>2]>>2])|0;if(c){break b}c=Ya[H[b+244>>2]](k,g,H[H[b+276>>2]+4>>2],H[H[b+280>>2]+4>>2])|0;if(c){break b}c=Ya[H[b+192>>2]](l,0,H[H[b+276>>2]+8>>2],H[H[b+280>>2]+8>>2])|0;if(c){break b}c=Ya[H[b+244>>2]](k,0,H[H[b+276>>2]+12>>2],H[H[b+280>>2]+12>>2])|0;if(!c){break a}}H[b+12>>2]=c}} +function aK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Wa+-64|0;Wa=d;h=H[a+16>>2];b=161;a:{if(K[a+20>>2]>>0){break a}e=H[a+32>>2];m=e+48|0;F[e+64|0]=1;j=-2147483648;i=2147483647;while(1){b=l<<2;k=b+d|0;n=b+(d+32|0)|0;c=H[h>>2];f=I[c|0];b:{if((f|0)==30){b=yh(a,c,0,k);break b}g=c+1|0;c:{d:{e:{switch(f-28|0){case 0:b=0;if(K[a+8>>2]<=c+2>>>0){break c}b=I[c+2|0]|I[g|0]<<8;break c;case 1:b=0;if(K[a+8>>2]<=c+4>>>0){break c}b=I[c+1|0]|I[c+2|0]<<8|(I[c+3|0]<<16|I[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(f>>>0<=246){b=f-139|0;break c}c=H[a+8>>2];if(f>>>0<=250){b=0;if(c>>>0<=g>>>0){break c}b=(I[g|0]|f<<8)-63124|0;break c}b=0;if(c>>>0<=g>>>0){break c}b=64148-(I[g|0]|f<<8)|0}if((b|0)<32768){break c}c=5;f:{if(b>>>0<1e5){break f}c=6;if(b>>>0<1e6){break f}c=7;if(b>>>0<1e7){break f}c=8;if(b>>>0<1e8){break f}c=b>>>0<1e9?9:10}f=c-5|0;g=H[(f<<2)+27536>>2];if(((b|0)/(g|0)|0)>=32768){c=c-4|0;H[k>>2]=c;b=pb(b,H[(c<<2)+27536>>2]);break b}H[k>>2]=f;b=pb(b,g);break b}H[k>>2]=0;b=b<<16}H[n>>2]=b;if(b){b=H[k>>2];i=(b|0)<(i|0)?b:i;j=(b|0)>(j|0)?b:j}h=h+4|0;l=l+1|0;if((l|0)!=6){continue}break}if(!(j-1>>>0<4294967286|j-i>>>0>9)){f=0;h=0;a=H[d+32>>2];if(a){b=H[(j-H[d>>2]<<2)+27536>>2];h=b>>1;g:{if((a|0)<0){c=(a-h|0)/(b|0)|0;if(a>>>0>(h|-2147483648)>>>0){break g}c=-2147483648/(b|0)|0;break g}c=(a+h|0)/(b|0)|0;if(a>>>0<2147483647-h>>>0){break g}c=2147483647/(b|0)|0}h=c;H[d+32>>2]=h}a=H[d+36>>2];if(a){c=H[(j-H[d+4>>2]<<2)+27536>>2];b=c>>1;f=(((a|0)>=0?a>>>0<2147483647-b>>>0?a+b|0:2147483647:a>>>0>(b|-2147483648)>>>0?a-b|0:-2147483648)|0)/(c|0)|0;H[d+36>>2]=f}b=0;k=0;a=H[d+40>>2];if(a){i=H[(j-H[d+8>>2]<<2)+27536>>2];c=i>>1;k=(((a|0)>=0?a>>>0<2147483647-c>>>0?a+c|0:2147483647:a>>>0>(c|-2147483648)>>>0?a-c|0:-2147483648)|0)/(i|0)|0;H[d+40>>2]=k}a=H[d+44>>2];if(a){c=H[(j-H[d+12>>2]<<2)+27536>>2];b=c>>1;b=(((a|0)>=0?a>>>0<2147483647-b>>>0?a+b|0:2147483647:a>>>0>(b|-2147483648)>>>0?a-b|0:-2147483648)|0)/(c|0)|0}i=0;g=0;a=H[d+48>>2];if(a){g=H[(j-H[d+16>>2]<<2)+27536>>2];c=g>>1;g=(((a|0)>=0?a>>>0<2147483647-c>>>0?a+c|0:2147483647:a>>>0>(c|-2147483648)>>>0?a-c|0:-2147483648)|0)/(g|0)|0}a=H[d+52>>2];if(a){i=H[(j-H[d+20>>2]<<2)+27536>>2];c=i>>1;i=(((a|0)>=0?a>>>0<2147483647-c>>>0?a+c|0:2147483647:a>>>0>(c|-2147483648)>>>0?a-c|0:-2147483648)|0)/(i|0)|0}H[e+48>>2]=h;H[e+72>>2]=g;H[e+56>>2]=f;H[e+76>>2]=i;H[e+60>>2]=b;H[e+52>>2]=k;H[e+68>>2]=H[27536-(j<<2)>>2];b=0;if(gh(m)){break a}}H[e+48>>2]=65536;H[e+52>>2]=0;H[e+68>>2]=1;H[e+72>>2]=0;H[e+76>>2]=0;H[e+56>>2]=0;H[e+60>>2]=65536;b=0}Wa=d- -64|0;return b|0}function Fu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=xg(H[a>>2]+180|0);if(!(I[d|0]|I[d+1|0]<<8|(I[d+2|0]|I[d+3|0]<<8))){break a}if((b|0)==1633774708){e=163632;f=xg(H[a>>2]+180|0);b=I[f+4|0]|I[f+5|0]<<8;b:{if(!b){break b}d=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){c:{g=b+d>>>1|0;h=f+N(g,12)|0;h=I[h+12|0]|I[h+13|0]<<8;d:{if(((h<<8|h>>>8)&65535)>>>0>=18){d=g-1|0;break d}if((h|0)==4352){break c}b=g+1|0}if((b|0)<=(d|0)){continue}break b}break}e=(f+N(g,12)|0)+12|0}if(!(I[e+2|0]|I[e+3|0]<<8)){break a}d=H[a+20>>2];e:{f:{g:{f=H[a+16>>2];if((f|0)>=0){b=d+1|0;e=(b|0)>0?b:0;if(e>>>0<=f>>>0){break f}b=f;while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>268435454)){d=Eb(H[a+24>>2],b<<4);if(d){break g}d=H[a+20>>2]}H[a+16>>2]=-1}a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break e}H[a+16>>2]=b;H[a+24>>2]=d;d=H[a+20>>2]}if(d>>>0>>0){kb(H[a+24>>2]+(d<<4)|0,0,e-d<<4)}H[a+20>>2]=e;d=e;a=(H[a+24>>2]+(d<<4)|0)-16|0}H[a+12>>2]=d;H[a+4>>2]=c;H[a>>2]=17;F[a+8|0]=1;return}d=0;e=75;h:{i:{while(1){f=d+e>>>1|0;g=H[(f<<4)+103776>>2];j:{if(g>>>0>b>>>0){e=f-1|0;break j}if(b>>>0<=g>>>0){break i}d=f+1|0}if((d|0)<=(e|0)){continue}break}f=0;break h}f=(f<<4)+103776|0}if(!f){break a}e=xg(H[a>>2]+180|0);g=H[f+4>>2];h=163632;b=I[e+4|0]|I[e+5|0]<<8;k:{if(!b){break k}d=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){l:{i=b+d>>>1|0;j=e+N(i,12)|0;j=I[j+12|0]|I[j+13|0]<<8;j=(j<<8|j>>>8)&65535;m:{if((j|0)>(g|0)){d=i-1|0;break m}if((g|0)==(j|0)){break l}b=i+1|0}if((b|0)<=(d|0)){continue}break k}break}h=(e+N(i,12)|0)+12|0}if(!(I[h+2|0]|I[h+3|0]<<8)){if((g|0)!=37|H[f+8>>2]!=1){break a}h=163632;e=xg(H[a>>2]+180|0);b=I[e+4|0]|I[e+5|0]<<8;n:{if(!b){break n}d=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){o:{g=b+d>>>1|0;i=e+N(g,12)|0;i=I[i+12|0]|I[i+13|0]<<8;p:{if(((i<<8|i>>>8)&65535)>>>0>=4){d=g-1|0;break p}if((i|0)==768){break o}b=g+1|0}if((b|0)<=(d|0)){continue}break n}break}h=(e+N(g,12)|0)+12|0}if(!(I[h+2|0]|I[h+3|0]<<8)){break a}}d=H[a+20>>2];q:{r:{s:{g=H[a+16>>2];if((g|0)>=0){b=d+1|0;e=(b|0)>0?b:0;if(e>>>0<=g>>>0){break r}b=g;while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>268435454)){d=Eb(H[a+24>>2],b<<4);if(d){break s}d=H[a+20>>2]}H[a+16>>2]=-1}a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break q}H[a+16>>2]=b;H[a+24>>2]=d;d=H[a+20>>2]}if(d>>>0>>0){kb(H[a+24>>2]+(d<<4)|0,0,e-d<<4)}H[a+20>>2]=e;d=e;a=(H[a+24>>2]+(d<<4)|0)-16|0}H[a>>2]=H[f+4>>2];b=H[f+(c?8:12)>>2];H[a+12>>2]=d;H[a+4>>2]=b;F[a+8|0]=I[h+8|0]>>>7}}function Ls(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=H[b+4>>2];a:{if(g>>>0>a>>>0){break a}h=H[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break a}d=H[b+12>>2];f=d-2|0;H[b+12>>2]=f;if((f|0)<=0){break a}b:{switch(I[a|0]){case 0:e=H[b+36>>2];if(!e){return 1}j=1;k=a+1|0;if(!(g>>>0>k>>>0|h>>>0<=k>>>0)){i=d-3|0;d=i&i>>31;c:{if((i|0)<=0){c=d;break c}c=f-e|0;a=0;d:{while(1){a=a+1|0;if((e|0)==(a|0)){break d}f=a+k|0;if(f>>>0>>0){c=i;break d}if(f>>>0>=h>>>0){c=i;break d}i=i-1|0;if((i|0)>0){continue}break}c=d}j=a>>>0>>0}H[b+12>>2]=c}return!j|0;case 3:return Qs(a+1|0,b,c)|0;case 4:break b;default:break a}}h=Wa-16|0;Wa=h;H[h+12>>2]=c;d=a+1|0;e:{if(d>>>0>2]){break e}a=H[b+8>>2];if(a>>>0>>0|a-d>>>0<=3){break e}a=H[b+12>>2]-4|0;H[b+12>>2]=a;if((a|0)<=0){break e}H[h+8>>2]=0;c=0;j=H[b+4>>2];f:{g:{if(j>>>0>d>>>0){break g}e=H[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break g}g=H[b+12>>2]-4|0;H[b+12>>2]=g;if((g|0)<=0){break g}a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(f>>>0>715827881){break g}a=1;if(!f){break f}a=d+4|0;if(a>>>0>>0|a>>>0>e>>>0){break g}e=e-a|0;a=N(f,6);if(e>>>0>>0){break g}a=g-a|0;H[b+12>>2]=a;if((a|0)<=0){break g}c=1;a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!g){break g}f=H[h+12>>2];j=H[b+36>>2];e=0;while(1){h:{a=d+N(e,6)|0;c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);if(j>>>0<=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break h}a=I[a+8|0]|I[a+9|0]<<8;if(f>>>0<=((a<<8|a>>>8)&65535)>>>0){break h}c=1;e=e+1|0;if((g|0)!=(e|0)){continue}break g}break}c=0}a=c}if(!a){break e}a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);if(!a){break e}c=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break e}c=1;a=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);if(a>>>0>1){while(1){g=d+N(c,6)|0;e=a>>>0>c-1>>>0?g-2|0:163632;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=a>>>0>c>>>0?g+4|0:163632;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);if(f>>>0>=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0){break e}c=c+1|0;if((a|0)!=(c|0)){continue}break}}a=(d+N(a,6)|0)+4|0;if(a>>>0>2]){break e}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break e}a=H[b+12>>2]-4|0;H[b+12>>2]=a;if((a|0)<=0){break e}a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);a=a?(d+N(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),6)|0)-2|0:163632;a=I[a+6|0]|I[a+7|0]<<8|(I[a+8|0]<<16|I[a+9|0]<<24);i=H[b+36>>2]==(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Wa=h+16|0}return i|0}function Oe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=H[a+88>>2];k=h+12|0;a:{b:{c:{d:{if(F[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=H[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}e=J[a+68>>1];f=e;break e}e=H[a+60>>2]-H[a+52>>2]|0;d=H[a- -64>>2]-H[a+56>>2]|0;break f}e=G[a+76>>1];d=G[a+70>>1]-G[a+72>>1]|0;break f}c=H[b+4>>2];H[h+16>>2]=c;b=H[b+8>>2];H[h+20>>2]=b;if(!c){break c}if(b){break b}break d}e=G[a+70>>1]-G[a+72>>1]|0;d=e}c=d;c=c>>31;f=(d^c)-c|0;c=e>>31;e=(c^e)-c|0}d=H[b+4>>2];l=d;c=H[b+12>>2];if(c){l=(N(c,d)+36|0)/72|0}g=H[b+8>>2];j=g;b=H[b+16>>2];if(b){j=(N(b,g)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!e){break m}b=l>>31;d=(b^l)-b|0;if(d>>>0<=(e>>>17^65535)>>>0){c=((d<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break m}b=d<<16;n=b+(e>>>1|0)|0;b=(d>>>16|0)+(b>>>0>n>>>0)|0;if(b>>>0>=e>>>0){break m}d=Q(b);i=32-d|0;b=n>>>i|b<>>0)/(e>>>0)|0;m=b-N(c,e)|0;b=n<>>31;m=d-(d>>>0>>0?0:e)|0;c=c<<1|d>>>0>=e>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}c=(l|0)<0?0-c|0:c;H[h+16>>2]=c;if(g){b=2147483647;n:{if(!f){break n}d=j>>31;g=(d^j)-d|0;if(g>>>0<=(f>>>17^65535)>>>0){b=((g<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break n}d=g<<16;n=d+(f>>>1|0)|0;d=(g>>>16|0)+(d>>>0>n>>>0)|0;if(d>>>0>=f>>>0){break n}g=Q(d);i=32-g|0;d=n>>>i|d<>>0)/(f>>>0)|0;m=d-N(b,f)|0;e=n<>>31;m=d-(d>>>0>>0?0:f)|0;b=b<<1|d>>>0>=f>>>0;e=e<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-b|0:b;H[h+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}H[h+20>>2]=c;j=sb(l,f,e);b=c;break l}c=2147483647;o:{if(!f){break o}b=j>>31;d=(b^j)-b|0;if(d>>>0<=(f>>>17^65535)>>>0){c=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break o}b=d<<16;g=b+(f>>>1|0)|0;b=(d>>>16|0)+(b>>>0>g>>>0)|0;if(b>>>0>=f>>>0){break o}d=Q(b);i=32-d|0;b=g>>>i|b<>>0)/(f>>>0)|0;m=b-N(c,f)|0;b=g<>>31;m=d-(d>>>0>>0?0:f)|0;c=c<<1|d>>>0>=f>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-c|0:c;H[h+16>>2]=b;H[h+20>>2]=b;l=sb(j,e,f);c=b}if(!o){break a}break b}H[k>>2]=0;H[k+4>>2]=0;H[k+24>>2]=0;H[k+16>>2]=0;H[k+20>>2]=0;H[k+8>>2]=0;H[k+12>>2]=0;H[h+16>>2]=65536;H[h+20>>2]=65536;return}H[h+20>>2]=c;b=c;break b}H[h+16>>2]=b;c=b}d=(c|0)<0;g=J[a+68>>1];e=c;c=c>>31;c=(e^c)-c|0;p:{if(g+(c>>>8|0)>>>0<=8190){c=N(c,g)+32768>>>16|0;break p}c=N(g,c>>>16|0)+(N(g,c&65535)+32768>>>16|0)|0}l=d?0-c|0:c;c=b>>31;c=(c^b)-c|0;q:{if(g+(c>>>8|0)>>>0<=8190){c=N(c,g)+32768>>>16|0;break q}c=N(g,c>>>16|0)+(N(g,c&65535)+32768>>>16|0)|0}j=(b|0)<0?0-c|0:c}G[h+14>>1]=j+32>>>6;G[h+12>>1]=l+32>>>6;so(a,k)}function hm(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(J[a+562>>1]<2){break a}return H[a+564>>2]}if(J[a+562>>1]<3){break a}return H[a+564>>2]+4|0}if(J[a+562>>1]<4){break a}return H[a+564>>2]+8|0}if(J[a+562>>1]<5){break a}return H[a+564>>2]+12|0}if(J[a+562>>1]<6){break a}return H[a+564>>2]+16|0}if(J[a+562>>1]<7){break a}return H[a+564>>2]+20|0}if(J[a+562>>1]<8){break a}return H[a+564>>2]+24|0}if(J[a+562>>1]<9){break a}return H[a+564>>2]+28|0}if(J[a+562>>1]<10){break a}return H[a+564>>2]+32|0}if(J[a+562>>1]<11){break a}return H[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function Rj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=N(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){j=a+c|0;f=N(b>>>1|0,c)+a|0;h=(Ya[d|0](j,f)|0)>0;e=h?j:f;k=N(b-1|0,c);l=k+a|0;g=n+l|0;if((Ya[d|0](e,g)|0)>0){b=h?f:j;e=(Ya[d|0](b,g)|0)>0?b:g}if(!((e|0)==(l|0)|(c|0)<=0)){h=c+e|0;b=l;while(1){g=I[e|0];F[e|0]=I[b|0];F[b|0]=g;b=b+1|0;e=e+1|0;if(h>>>0>e>>>0){continue}break}}h=l;f=h;i=a;g=a;a:{if((k|0)<=0){i=0;break a}while(1){b:{if(g>>>0>=f>>>0){break b}c:{o=(c|0)<=0;if(!o){while(1){b=Ya[d|0](g,l)|0;if((b|0)>0){break c}if(!b){if(g>>>0>i>>>0){k=c+i|0;e=i;b=g;while(1){j=I[e|0];F[e|0]=I[b|0];F[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}i=c+i|0}g=c+g|0;if(f>>>0>g>>>0){continue}break b}}while(1){b=Ya[d|0](g,l)|0;if((b|0)>0){break c}i=b?i:c+i|0;g=c+g|0;if(f>>>0>g>>>0){continue}break}break b}d:{if(g>>>0>=f>>>0){break d}while(1){k=f;e:{f:{f=f+n|0;b=Ya[d|0](f,l)|0;if(!b){j=h+n|0;if(h>>>0<=k>>>0){break f}e=f;b=j;if(o){break f}while(1){h=I[e|0];F[e|0]=I[b|0];F[b|0]=h;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}break f}if((b|0)>=0){break e}if(!(o|g>>>0>=f>>>0)){k=c+g|0;e=g;b=f;while(1){j=I[e|0];F[e|0]=I[b|0];F[b|0]=j;b=b+1|0;e=e+1|0;if(k>>>0>e>>>0){continue}break}}g=c+g|0;break d}h=j}if(g>>>0>>0){continue}break}}if(g>>>0>>0){continue}}break}k=f-i|0;g:{if((a|0)==(i|0)|(f|0)==(i|0)){break g}b=i-a|0;if(b>>>0>k>>>0){if((k|0)<=0){break g}j=a+k|0;e=a+b|0;b=a;while(1){g=I[b|0];F[b|0]=I[e|0];F[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break g}if((b|0)<=0){break g}j=a+b|0;e=a+k|0;b=a;while(1){g=I[b|0];F[b|0]=I[e|0];F[e|0]=g;e=e+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}i=h-f|0;if((f|0)==(h|0)|(h|0)==(m|0)){break a}b=m-h|0;if(b>>>0>>0){if((b|0)<=0){break a}g=b+f|0;e=f+i|0;while(1){b=I[f|0];F[f|0]=I[e|0];F[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break a}if((i|0)<=0){break a}g=f+i|0;e=b+f|0;while(1){b=I[f|0];F[f|0]=I[e|0];F[e|0]=b;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}Rj(a,(k>>>0)/(c>>>0)|0,c,d);a=m-i|0;b=(i>>>0)/(c>>>0)|0;m=a+N(c,b)|0;if(b>>>0>=10){continue}break}}h=a+c|0;h:{if(m>>>0<=h>>>0){break h}l=0-c|0;if((c|0)>0){while(1){g=h;i:{if(g>>>0<=a>>>0){break i}while(1){f=g+l|0;if((Ya[d|0](f,g)|0)<=0){break i}e=f;b=g;while(1){j=I[e|0];F[e|0]=I[b|0];F[b|0]=j;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}g=f;if(f>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break h}}while(1){e=h;j:{if(e>>>0<=a>>>0){break j}while(1){b=e+l|0;if((Ya[d|0](b,e)|0)<=0){break j}e=b;if(b>>>0>a>>>0){continue}break}}h=c+h|0;if(m>>>0>h>>>0){continue}break}}}function rt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;c=Wa+-64|0;Wa=c;e=H[a+24>>2];d=e-4|0;if(e>>>0<=3){F[a+20|0]=1}g=H[a+32>>2];a:{if(g>>>0<=d>>>0){d=H[40909];h=H[40908];H[64760]=h;H[64761]=d;x(0,h|0);x(1,d|0);l=+z();break a}l=M[H[a+36>>2]+(d<<3)>>3]}if(e>>>0<=2){F[a+20|0]=1}d=e-3|0;b:{if(d>>>0>=g>>>0){d=H[40909];h=H[40908];H[64760]=h;H[64761]=d;x(0,h|0);x(1,d|0);m=+z();break b}m=M[H[a+36>>2]+(d<<3)>>3]}h=H[b+40>>2];if(e>>>0<=1){F[a+20|0]=1}d=e-2|0;c:{if(d>>>0>=g>>>0){d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);f=+z();break c}f=M[H[a+36>>2]+(d<<3)>>3]}d:{if(P(f)<2147483648){d=~~f;break d}d=-2147483648}g=0;e:{if(d>>>0<=255){g=I[d+108816|0];n=H[h+52>>2];if((n|0)!=163632){g=qg(n,g,H[h+216>>2]);h=H[b+40>>2];d=H[a+24>>2];break e}g=d>>>0<229?H[h+172>>2]?0:g:0}d=e}e=e-1|0;if(d>>>0<=e>>>0){F[a+20|0]=1}f:{if(e>>>0>=K[a+32>>2]){e=H[40909];d=H[40908];H[64760]=d;H[64761]=e;x(0,d|0);x(1,e|0);f=+z();break f}f=M[H[a+36>>2]+(e<<3)>>3]}g:{if(P(f)<2147483648){d=~~f;break g}d=-2147483648}e=0;h:{if(d>>>0>255){break h}e=I[d+108816|0];n=H[h+52>>2];if((n|0)!=163632){e=qg(n,e,H[h+216>>2]);break h}e=d>>>0<229?H[h+172>>2]?0:e:0}H[c+56>>2]=0;H[c+60>>2]=0;H[c+48>>2]=0;H[c+52>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;i:{j:{if(I[a+160|0]|(!e|!g)){break j}if(!Lh(H[b+40>>2],g,c+32|0,1)){break j}if(!Lh(H[b+40>>2],e,c,1)){break j}a=b+8|0;k:{l:{o=M[b+24>>3];p=M[b+8>>3];if(o>p){q=M[b+32>>3];r=M[b+16>>3];if(q>r){break l}}e=H[c+36>>2];H[a>>2]=H[c+32>>2];H[a+4>>2]=e;e=H[c+60>>2];H[a+24>>2]=H[c+56>>2];H[a+28>>2]=e;e=H[c+52>>2];H[a+16>>2]=H[c+48>>2];H[a+20>>2]=e;e=H[c+44>>2];H[a+8>>2]=H[c+40>>2];H[a+12>>2]=e;break k}f=M[c+48>>3];i=M[c+32>>3];if(!(f>i)){break k}j=M[c+56>>3];k=M[c+40>>3];if(!(j>k)){break k}if(i>3]=i}if(f>o){M[b+24>>3]=f}if(k>3]=k}if(!(j>q)){break k}M[b+32>>3]=j}j=M[c+16>>3];k=M[c>>3];f=M[c+24>>3];i=M[c+8>>3];if(!(!(j>k)|!(f>i))){f=m+f;M[c+24>>3]=f;j=l+j;M[c+16>>3]=j;i=m+i;M[c+8>>3]=i;k=l+k;M[c>>3]=k}m:{l=M[b+24>>3];m=M[b+8>>3];if(l>m){o=M[b+32>>3];p=M[b+16>>3];if(o>p){break m}}b=H[c+4>>2];H[a>>2]=H[c>>2];H[a+4>>2]=b;b=H[c+28>>2];H[a+24>>2]=H[c+24>>2];H[a+28>>2]=b;b=H[c+20>>2];H[a+16>>2]=H[c+16>>2];H[a+20>>2]=b;b=H[c+12>>2];H[a+8>>2]=H[c+8>>2];H[a+12>>2]=b;break i}if(!(j>k)|!(f>i)){break i}if(k>3]=k}if(j>l){M[b+24>>3]=j}if(i>3]=i}if(!(f>o)){break i}M[b+32>>3]=f;break i}F[a+40|0]=1}Wa=c- -64|0}function nw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Wa-1568|0;Wa=e;g=H[a+4>>2];F[e+47|0]=0;h=H[H[g+492>>2]+12>>2];a:{if(!(H[H[g+128>>2]+52>>2]|K[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){H[a+164>>2]=H[b+16>>2];f=H[b+20>>2];break b}H[a+164>>2]=65536;f=65536}H[a+108>>2]=0;H[a+72>>2]=1869968492;H[a+168>>2]=f;j=d&1;F[a+161|0]=!j;f=!(d&3);F[a+160|0]=f;f=Ya[H[h>>2]](e+48|0,g,b,a,H[g+424>>2],H[g+532>>2],f,d>>>16&15,109)|0;if(f){break a}i=d&1024;F[e+117|0]=i>>>10;H[e+1412>>2]=H[g+404>>2];H[e+1416>>2]=H[g+408>>2];H[e+1420>>2]=H[g+412>>2];H[e+1424>>2]=H[g+416>>2];H[e+1544>>2]=H[g+548>>2];H[e+1548>>2]=H[g+544>>2];f=Kf(e+48|0,c,e+16|0,e+47|0);if(!f){k=I[a+160|0];c=e+1436|0;f=H[c+4>>2];H[e+32>>2]=H[c>>2];H[e+36>>2]=f;c=H[e+1432>>2];H[e+24>>2]=H[e+1428>>2];H[e+28>>2]=c;c=H[e+1448>>2];f=H[e+1444>>2];Ya[H[h+4>>2]](e+48|0);H[a+124>>2]=H[a+124>>2]&1|4;c:{if(i){b=H[a+156>>2];d=H[e+80>>2];H[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=H[e+88>>2];H[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=H[e+36>>2];H[b+20>>2]=H[e+32>>2];H[b+24>>2]=d;d=H[e+28>>2];H[b+12>>2]=H[e+24>>2];H[b+16>>2]=d;H[b+32>>2]=c;H[b+28>>2]=f;F[b+8|0]=1;break c}h=H[e+88>>2];H[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=H[e+88>>2];H[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;F[H[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=H[g+476>>2]-H[g+468>>2]>>16;H[a+52>>2]=d;break d}d=H[e+92>>2];H[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=H[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}H[a+72>>2]=1869968492;H[a+60>>2]=d;if(!(!b|J[b+14>>1]>23)){H[a+124>>2]=H[a+124>>2]|256}h=a+108|0;e:{if(!(H[e+28>>2]|(H[e+24>>2]!=65536|H[e+36>>2]!=65536))){if(!H[e+32>>2]){break e}}Td(h,e+24|0);l=a,m=ib(H[a+40>>2],H[e+24>>2]),H[l+40>>2]=m;l=a,m=ib(H[a+52>>2],H[e+36>>2]),H[l+52>>2]=m}if(c|f){yc(h,f,c);H[a+40>>2]=f+H[a+40>>2];H[a+52>>2]=c+H[a+52>>2]}if(!(I[e+47|0]?0:j)){c=H[a+168>>2];f=H[a+164>>2];f:{if(H[e+120>>2]?k:0){break f}b=H[e+64>>2];d=G[b+2>>1];if((d|0)<=0){break f}d=d&65535;b=H[b+4>>2];while(1){l=b,m=ib(H[b>>2],f),H[l>>2]=m;l=b,m=ib(H[b+4>>2],c),H[l+4>>2]=m;b=b+8|0;j=d>>>0>1;d=d-1|0;if(j){continue}break}}l=a,m=ib(H[a+40>>2],f),H[l+40>>2]=m;l=a,m=ib(H[a+52>>2],c),H[l+52>>2]=m}je(h,e);b=H[e>>2];H[a+24>>2]=H[e+8>>2]-b;c=H[e+4>>2];d=H[e+12>>2];H[a+36>>2]=d;H[a+32>>2]=b;H[a+28>>2]=d-c;if(!i){break c}ff(a+24|0,H[a+52>>2])}H[a+136>>2]=H[e+16>>2];H[a+140>>2]=H[e+20>>2];f=0;b=H[H[g+128>>2]+52>>2];if(!b){break a}Ya[H[H[b>>2]+4>>2]](H[b+4>>2],e+16|0);H[a+136>>2]=0;H[a+140>>2]=0;break a}Ya[H[h+4>>2]](e+48|0)}Wa=e+1568|0;return f|0}function Vm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(H[a+92>>2]){case 0:f=H[a+64>>2];if((f|0)<(c|0)){j:{if(H[a+84>>2]){e=H[a+36>>2];break j}e=H[a+36>>2];H[a+84>>2]=e;H[a+80>>2]=e;e=e+32|0;H[a+36>>2]=e}if(K[a+32>>2]>e>>>0){g=H[a+4>>2];i=H[a+8>>2];d=H[a+80>>2];H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=e;H[d+28>>2]=0;H[d+4>>2]=0;G[d+12>>1]=I[a+164|0]|((i|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!H[a+88>>2]){H[a+88>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(H[a+84>>2]){e=H[a+36>>2];break k}e=H[a+36>>2];H[a+84>>2]=e;H[a+80>>2]=e;e=e+32|0;H[a+36>>2]=e}if(K[a+32>>2]>e>>>0){g=H[a+4>>2];i=H[a+8>>2];d=H[a+80>>2];H[d+16>>2]=0;H[d+20>>2]=0;H[d+8>>2]=e;H[d+28>>2]=0;H[d+4>>2]=0;e=I[a+164|0];G[d+12>>1]=(i|0)>(f&g-1)?e:e|16;if(!H[a+88>>2]){H[a+88>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=H[a+64>>2];if((d|0)<=(c|0)){break e}f=H[a+36>>2];e=H[a+80>>2];h=H[e+8>>2];j=f-h|0;if((j|0)<0){H[a+40>>2]=99;return 1}g=H[a+4>>2]-1&d;i=H[a+8>>2];l:{if((f|0)==(h|0)){d=f;break l}H[e+16>>2]=j>>2;if((g|0)>=(i|0)){d=J[e+12>>1];G[e+12>>1]=(d&8?16:32)|d}H[a+80>>2]=f;d=f+32|0;H[a+36>>2]=d;H[f+8>>2]=d;H[f+16>>2]=0;H[e+28>>2]=f;G[a+76>>1]=J[a+76>>1]+1;e=f}h=H[a+32>>2];if(h>>>0<=d>>>0){break a}F[a+79|0]=0;if(!H[a+84>>2]){H[a+84>>2]=d;H[a+80>>2]=d;f=d+32|0;H[a+36>>2]=f;e=d;d=f}if(d>>>0>=h>>>0){break a}H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=d;H[e+28>>2]=0;H[e+4>>2]=0;d=I[a+164|0];G[e+12>>1]=(g|0)<(i|0)?d:d|16;if(!H[a+88>>2]){H[a+88>>2]=e}}F[a+78|0]=1;H[a+92>>2]=2;F[a+79|0]=0;d=H[a+64>>2];break d}d=H[a+64>>2];if((d|0)>=(c|0)){break d}f=H[a+36>>2];e=H[a+80>>2];h=H[e+8>>2];j=f-h|0;if((j|0)<0){H[a+40>>2]=99;return 1}g=H[a+4>>2];g=((g+d|0)-1&0-g)-d|0;i=H[a+8>>2];m:{if((f|0)==(h|0)){d=f;break m}H[e+16>>2]=j>>2;if((g|0)>=(i|0)){d=J[e+12>>1];G[e+12>>1]=(d&8?16:32)|d}H[a+80>>2]=f;d=f+32|0;H[a+36>>2]=d;H[f+8>>2]=d;H[f+16>>2]=0;H[e+28>>2]=f;G[a+76>>1]=J[a+76>>1]+1;e=f}h=H[a+32>>2];if(h>>>0<=d>>>0){break a}F[a+79|0]=0;if(!H[a+84>>2]){H[a+84>>2]=d;H[a+80>>2]=d;f=d+32|0;H[a+36>>2]=f;e=d;d=f}if(d>>>0>=h>>>0){break a}H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=d;H[e+28>>2]=0;H[e+4>>2]=0;G[e+12>>1]=I[a+164|0]|((g|0)<(i|0)?8:40);if(!H[a+88>>2]){H[a+88>>2]=e}}F[a+78|0]=1;H[a+92>>2]=1;F[a+79|0]=0;d=H[a+64>>2]}f=1;if(Tm(a,H[a+60>>2],d,b,c,H[a+68>>2],H[a+72>>2])){break b}break c}e=I[a+78|0];d=Tm(a,H[a+60>>2],0-d|0,b,0-c|0,0-H[a+72>>2]|0,0-H[a+68>>2]|0);if(!(I[a+78|0]|!e)){e=H[a+80>>2];H[e+20>>2]=0-H[e+20>>2]}f=1;if(d){break b}}H[a+64>>2]=c;H[a+60>>2]=b;f=0}return f}H[a+40>>2]=98;return 1}function En(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;p=Wa-16|0;Wa=p;e=Me(a,d);a:{if(e){break a}Wf(a,b,c,d);q=H[a>>2];h=H[a+2748>>2];c=H[H[h>>2]+8>>2];b=N(d,1348)+a|0;i=b;H[b+56>>2]=0;e=0;e=(d|0)==1?I[H[(c<<2)+16352>>2]+12|0]:e;m=b+44|0;f=H[m>>2];c=H[b+52>>2];g=H[(d?12:4)+a>>2];if(!d){k=pb(64,H[a+12>>2])}u=pb(32,g);b=ib(H[((h+44|0)+N(d,9804)|0)+204>>2],g);l=pb((b|0)<16?b:16,g);if((f|0)>0){n=N(f,44)+c|0;v=N(k,3);o=(N(d,1348)+a|0)- -64|0;w=e&255;b=c;while(1){e=G[b+10>>1];b:{if((e|0)<(k|0)|G[b+4>>1]>(u|0)){break b}j=I[b+1|0];if((j|0)==4|(e<<1<(v|0)?H[b+24>>2]:0)){break b}c:{s=H[i+56>>2];d:{if((s|0)<=0){h=G[b+2>>1];break d}h=G[b+2>>1];x=H[o>>2];e=0;while(1){f=N(e,44)+x|0;t=h-G[f>>1]|0;r=t>>31;if((j|0)==I[f+13|0]&(l|0)>((r^t)-r|0)){break c}e=e+1|0;if((s|0)!=(e|0)){continue}break}}e=on(m,h,j<<24>>24,w,q,p+12|0);if(e){break a}e=H[p+12>>2];H[e+40>>2]=b;H[e+36>>2]=b;H[e>>2]=0;H[e+4>>2]=0;H[e+32>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;F[e+13|0]=I[b+1|0];f=G[b+2>>1];G[e>>1]=f;f=ib(f,g);H[e+8>>2]=f;H[e+4>>2]=f;H[b+16>>2]=b;break b}H[b+16>>2]=H[f+36>>2];H[H[f+40>>2]+16>>2]=b;H[f+40>>2]=b}b=b+44|0;if(n>>>0>b>>>0){continue}break}while(1){e:{if(I[c+1|0]!=4){break e}f=H[i+56>>2];if((f|0)<=0){break e}h=G[c+2>>1];k=H[o>>2];b=0;while(1){e=k+N(b,44)|0;j=h-G[e>>1]|0;g=j>>31;if((l|0)<=((g^j)-g|0)){b=b+1|0;if((f|0)!=(b|0)){continue}break e}break}H[c+16>>2]=H[e+36>>2];H[H[e+40>>2]+16>>2]=c;H[e+40>>2]=c}c=c+44|0;if(n>>>0>c>>>0){continue}break}}e=0;g=H[(N(d,1348)+a|0)- -64>>2];if(!g){break a}a=H[i+56>>2];if((a|0)<=0){break a}n=N(a,44)+g|0;e=g;while(1){a=H[e+36>>2];b=a;if(b){while(1){H[b+12>>2]=e;b=H[b+16>>2];if((a|0)!=(b|0)){continue}break}}e=e+44|0;if(n>>>0>e>>>0){continue}break}while(1){f=g+28|0;d=g+24|0;o=H[g+36>>2];b=o;c=0;k=0;while(1){j=F[b|0]&1;r=!j;f:{g:{h:{i:{h=H[b+24>>2];if(h){a=H[h+12>>2];i=(a|0)!=0&(a|0)!=(g|0);e=H[b+20>>2];if(!e){break i}if(!(i|H[e+12>>2]!=0)){break f}l=0;a=d;if(i){break h}break g}e=H[b+20>>2];if(!e){break f}l=0;a=d;if(H[e+12>>2]){break g}break f}if(!i){break f}}l=1;e=h;a=f}h=H[a>>2];j:{if(h){q=G[b+2>>1]-G[e+2>>1]|0;a=q>>31;m=G[g>>1]-G[h>>1]|0;i=m>>31;if((a^q)-a>>>0>=(i^m)-i>>>0){break j}}h=H[e+12>>2]}if(l){H[f>>2]=h;F[h+12|0]=I[h+12|0]|2;break f}H[d>>2]=h}c=c+j|0;k=k+r|0;b=H[b+16>>2];if((o|0)!=(b|0)){continue}break}F[g+12|0]=(c|0)!=0&c>>>0>=k>>>0;if(!(!H[g+28>>2]|!H[d>>2])){H[f>>2]=0}g=g+44|0;if(n>>>0>g>>>0){continue}break}e=0}Wa=p+16|0;return e}function Lz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Wa-96|0;Wa=h;H[h+80>>2]=0;H[h+84>>2]=0;H[h+72>>2]=0;H[h+76>>2]=0;j=h- -64|0;H[j>>2]=0;H[j+4>>2]=0;H[h+56>>2]=0;H[h+60>>2]=0;H[h+48>>2]=0;H[h+52>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;m=c+10|0;g=jb(a,8,0,m,0,h+92|0);H[b+20>>2]=g;j=H[h+92>>2];if(!j){a:{if(!c){break a}while(1){j=Ya[d|0](f,l)|0;b:{if(!j){break b}i=0;c:{d:{if(!rb(93520,j)){break d}i=1;if(!rb(93526,j)){break d}i=2;if(!rb(93532,j)){break d}i=3;if(!rb(93541,j)){break d}i=4;if(!rb(93548,j)){break d}i=5;if(!rb(93555,j)){break d}i=6;if(!rb(93558,j)){break d}i=7;if(!rb(93573,j)){break d}i=8;if(!rb(93579,j)){break d}if(rb(93592,j)){break c}i=9}k=i<<2;i=k+(h+48|0)|0;if(H[i>>2]){break c}H[i>>2]=1;H[h+k>>2]=l}i=Zm(j);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}k=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}k=1;break f}k=2;break f}k=3;break f}if((i|0)!=713){break e}k=4;break f}k=5;break f}k=6;break f}k=7;break f}k=8;break f}k=9}H[n+(k<<2)>>2]=2}H[g+4>>2]=l;H[g>>2]=i;g=g+8|0}if(!e){break b}Ya[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(H[h+48>>2]!=1){break a}H[g>>2]=916;H[g+4>>2]=H[h>>2];g=g+8|0}if(H[h+52>>2]==1){H[g>>2]=937;H[g+4>>2]=H[h+4>>2];g=g+8|0}if(H[h+56>>2]==1){H[g>>2]=8725;H[g+4>>2]=H[h+8>>2];g=g+8|0}if(H[h+60>>2]==1){H[g>>2]=173;H[g+4>>2]=H[h+12>>2];g=g+8|0}if(H[h+64>>2]==1){H[g>>2]=713;H[g+4>>2]=H[h+16>>2];g=g+8|0}if(H[h+68>>2]==1){H[g>>2]=956;H[g+4>>2]=H[h+20>>2];g=g+8|0}if(H[h+72>>2]==1){H[g>>2]=8729;H[g+4>>2]=H[h+24>>2];g=g+8|0}if(H[h+76>>2]==1){H[g>>2]=160;H[g+4>>2]=H[h+28>>2];g=g+8|0}if(H[h+80>>2]==1){H[g>>2]=538;H[g+4>>2]=H[h+32>>2];g=g+8|0}if(H[h+84>>2]==1){H[g>>2]=539;H[g+4>>2]=H[h+36>>2];g=g+8|0}j=H[b+20>>2];d=g-j>>3;r:{if((g|0)==(j|0)){if(g){Ya[H[a+8>>2]](a,g)}H[b+20>>2]=0;a=H[h+92>>2];j=a?a:163;break r}if(d>>>0>>1>>>0){j=jb(a,8,m,d,j,h+92|0);H[b+20>>2]=j;H[h+92>>2]=0}Ve(j,d,8,52);j=H[h+92>>2]}H[b+16>>2]=d}Wa=h+96|0;return j|0}function Hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Wa-22064|0;Wa=e;g=H[b+100>>2];kb(e+15424|4,0,2756);H[e+15424>>2]=g;H[a+7728>>2]=0;H[a+52>>2]=0;g=H[H[(H[H[a>>2]+8>>2]<<2)+16352>>2]+16>>2];c=I[g|0];a:{if(!c){break a}while(1){if((c&255)==32){while(1){c=I[g+1|0];g=g+1|0;if((c|0)==32){continue}break}}d=g+1|0;if((c&255)==32){while(1){g=d;d=d+1|0;c=I[g|0];if((c|0)==32){continue}break}}j=H[a+36>>2];h=c&255;if(c<<24>>24>=0){g=d}else{f=h>>>0<240;c=h>>>0<224;i=c?1:f?2:3;k=i-1|0;h=(c?31:f?15:7)&h;f=0;c=i;while(1){h=I[d|0]&63|h<<6;c=c-1|0;d=d+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(k>>>0>=3){while(1){h=I[d+3|0]&63|((I[d+1|0]&63|(h<<12|(I[d|0]&63)<<6))<<12|(I[d+2|0]&63)<<6);d=d+4|0;c=c-4|0;if(c){continue}break}}g=(g+i|0)+1|0}j=H[j>>2];d=0;while(1){c=I[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>=0){continue}f=d>>>0<240;c=d>>>0<224;i=c?1:f?2:3;k=i-1|0;d=(c?31:f?15:7)&d;l=0;f=i;c=g;while(1){d=I[c|0]&63|d<<6;f=f-1|0;c=c+1|0;l=l+1|0;if((i|0)!=(l|0)){continue}break}if(k>>>0>=3){while(1){d=I[c+3|0]&63|((I[c+1|0]&63|(d<<12|(I[c|0]&63)<<6))<<12|(I[c+2|0]&63)<<6);c=c+4|0;f=f-4|0;if(f){continue}break}}g=g+i|0;continue}break}b:{if(!d){d=pc(j,h);if(d){break b}c=I[g|0]}if(c&255){continue}break a}break}if(Kd(b,d,1)){break a}c=H[b+84>>2];if(G[c+110>>1]<=0){break a}d=e+16|0;kb(d,0,15396);g=H[a+40>>2];H[e+36>>2]=0;H[e+44>>2]=0;H[e+24>>2]=65536;H[e+28>>2]=65536;H[e+56>>2]=g;H[e+20>>2]=b;H[e+18164>>2]=0;H[e+18172>>2]=d;if(rg(e+15424|0,c+108|0)){break a}if(Me(e+15424|0,0)){break a}f=0;Wf(e+15424|0,0,0,0);b=H[e+15468>>2];if((b|0)>0){c=H[e+15476>>2];g=c+N(b,44)|0;while(1){b=H[c+20>>2];if(!(!b|H[b+20>>2]!=(c|0)|(b>>>0<=c>>>0|f>>>0>15))){b=G[c+2>>1]-G[b+2>>1]|0;d=b>>31;H[(N(f,12)+a|0)+56>>2]=(b^d)-d;f=f+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}H[e+12>>2]=f;Ng(e+12|0,a+56|0,K[e+56>>2]/100|0);H[a+52>>2]=H[e+12>>2];if(Me(e+15424|0,1)){break a}f=0;Wf(e+15424|0,0,0,1);b=H[e+16816>>2];if((b|0)>0){c=H[e+16824>>2];g=c+N(b,44)|0;while(1){b=H[c+20>>2];if(!(!b|H[b+20>>2]!=(c|0)|(b>>>0<=c>>>0|f>>>0>15))){b=G[c+2>>1]-G[b+2>>1]|0;d=b>>31;H[(N(f,12)+a|0)+7732>>2]=(b^d)-d;f=f+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}H[e+12>>2]=f;Ng(e+12|0,a+7732|0,K[e+56>>2]/100|0);H[a+7728>>2]=H[e+12>>2]}if(H[a+52>>2]){b=H[a+56>>2]}else{b=(N(H[a+40>>2],50)|0)/2048|0}F[a+256|0]=0;H[a+252>>2]=b;H[a+248>>2]=(b|0)/5;if(H[a+7728>>2]){b=H[a+7732>>2]}else{b=(N(H[a+40>>2],50)|0)/2048|0}F[a+7932|0]=0;H[a+7928>>2]=b;H[a+7924>>2]=(b|0)/5;zi(e+15424|0);Wa=e+22064|0}function xG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Wa-16|0;Wa=j;m=uj(g);p=bj(g);g=p;Ya[H[H[g>>2]+20>>2]](j,g);H[f>>2]=d;a:{b:{c:{i=a;g=I[i|0];switch(g-43|0){case 0:case 2:break c;default:break b}}H[65057]=0;g=ca(1027,m|0,g<<24>>24)|0;i=H[65057];H[65057]=0;if((i|0)==1){break a}i=H[f>>2];H[f>>2]=i+4;H[i>>2]=g;i=a+1|0}d:{g=i;if(!((c-g|0)<=1|I[g|0]!=48|(I[g+1|0]|32)!=120)){H[65057]=0;g=ca(1027,m|0,48)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+4;H[h>>2]=g;g=F[i+1|0];H[65057]=0;g=ca(1027,m|0,g|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+4;H[h>>2]=g;i=i+2|0;g=i;while(1){if(c>>>0<=g>>>0){break d}h=F[g|0];H[65057]=0;la(995)|0;k=H[65057];H[65057]=0;e:{if((k|0)==1){break e}H[65057]=0;k=H[65057];H[65057]=0;if((k|0)==1){break e}if(!(h-48>>>0<10|(h|32)-97>>>0<6)){break d}g=g+1|0;continue}break}break a}while(1){if(c>>>0<=g>>>0){break d}h=F[g|0];H[65057]=0;la(995)|0;k=H[65057];H[65057]=0;if((k|0)==1){break a}H[65057]=0;k=H[65057];H[65057]=0;if((k|0)==1){break a}if(h-48>>>0>=10){break d}g=g+1|0;continue}}f:{if(I[j+11|0]>>>7|0){l=H[j+4>>2]}else{l=I[j+11|0]}if(!l){h=H[f>>2];H[65057]=0;ga(1012,m|0,i|0,g|0,h|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}H[f>>2]=H[f>>2]+(g-i<<2);break f}H[65057]=0;me(i,g);h=H[65057];H[65057]=0;if((h|0)==1){break a}H[65057]=0;q=aa(1009,p|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=0;k=i;while(1){if(g>>>0<=k>>>0){h=H[f>>2];H[65057]=0;Yf((i-a<<2)+d|0,h);i=H[65057];H[65057]=0;if((i|0)!=1){break f}break a}if(I[j+11|0]>>>7|0){l=H[j>>2]}else{l=j}o=F[l+h|0]!=(n|0);if(I[j+11|0]>>>7|0){l=H[j>>2]}else{l=j}if(!(o|F[l+h|0]<=0)){n=H[f>>2];H[f>>2]=n+4;H[n>>2]=q;if(I[j+11|0]>>>7|0){l=H[j+4>>2]}else{l=I[j+11|0]}h=(l-1>>>0>h>>>0)+h|0;n=0}l=F[k|0];H[65057]=0;l=ca(1027,m|0,l|0)|0;o=H[65057];H[65057]=0;if((o|0)!=1){o=H[f>>2];H[f>>2]=o+4;H[o>>2]=l;k=k+1|0;n=n+1|0;continue}break}break a}g:{while(1){if(c>>>0>g>>>0){i=I[g|0];if((i|0)==46){H[65057]=0;i=aa(1013,p|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];k=h+4|0;H[f>>2]=k;H[h>>2]=i;g=g+1|0;break g}H[65057]=0;i=ca(1027,m|0,i<<24>>24)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+4;H[h>>2]=i;g=g+1|0;continue}break}k=H[f>>2]}H[65057]=0;ga(1012,m|0,g|0,c|0,k|0)|0;i=H[65057];H[65057]=0;if((i|0)==1){break a}i=f;f=H[f>>2]+(c-g<<2)|0;H[i>>2]=f;H[e>>2]=(b|0)==(c|0)?f:(b-a<<2)+d|0;nb(j);Wa=j+16|0;return}a=$()|0;_()|0;nb(j);ba(a|0);X()}function im(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Wa-16|0;Wa=e;j=H[a+28>>2];f=ob(a,c);H[e+12>>2]=f;a:{if(f){break a}f=yb(a,e+12|0);if(H[e+12>>2]){break a}if((f|0)!=1){H[e+12>>2]=8;break a}g=$b(a,e+12|0);if(H[e+12>>2]){break a}i=yb(a,e+12|0);H[d>>2]=i;if(H[e+12>>2]){break a}if(!i){H[e+12>>2]=8;break a}f=0;l=jb(j,4,0,i,0,e+12|0);if(H[e+12>>2]){break a}if(H[d>>2]){while(1){n=(f<<2)+l|0,o=$b(a,e+12|0),H[n>>2]=o;if(H[e+12>>2]){break a}f=f+1|0;if(f>>>0>2]){continue}break}}f=ob(a,c+g|0);H[e+12>>2]=f;if(f){break a}n=d,o=yb(a,e+12|0),G[n+8>>1]=o;if(H[e+12>>2]){break a}f=yb(a,e+12|0);H[d+12>>2]=f;if(H[e+12>>2]){break a}if(H[H[b+12>>2]>>2]!=J[d+8>>1]){H[e+12>>2]=8;break a}n=d,o=jb(j,4,0,f,0,e+12|0),H[n+16>>2]=o;if(H[e+12>>2]){break a}if(H[d+12>>2]){b=J[d+8>>1];while(1){i=jb(j,12,0,b&65535,0,e+12|0);H[H[d+16>>2]+(h<<2)>>2]=i;if(H[e+12>>2]){break a}b=0;if(J[d+8>>1]){f=0;while(1){g=yb(a,e+12|0);if(H[e+12>>2]){break a}k=yb(a,e+12|0);if(H[e+12>>2]){break a}m=yb(a,e+12|0);if(H[e+12>>2]){break a}b=i+N(f,12)|0;H[b+8>>2]=m<<16>>16<<2;H[b+4>>2]=k<<16>>16<<2;H[b>>2]=g<<16>>16<<2;b=J[d+8>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}}h=h+1|0;if(h>>>0>2]){continue}break}}f=jb(j,16,0,H[d>>2],0,e+12|0);H[d+4>>2]=f;if(H[e+12>>2]|!H[d>>2]){break a}b=ob(a,H[l>>2]+c|0);H[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;n=g,o=yb(a,e+12|0),H[n>>2]=o;if(H[e+12>>2]){break a}i=yb(a,e+12|0);if(H[e+12>>2]){break a}b=yb(a,e+12|0);H[g+4>>2]=b;if(H[e+12>>2]){break a}if(b>>>0>>0){H[e+12>>2]=8;break a}if(b>>>0>K[d+12>>2]){H[e+12>>2]=8;break a}n=g,o=jb(j,4,0,b,0,e+12|0),H[n+8>>2]=o;if(H[e+12>>2]){break a}f=0;b:{if(!H[g+4>>2]){b=0;break b}while(1){b=yb(a,e+12|0);H[H[g+8>>2]+(f<<2)>>2]=b;if(H[e+12>>2]){break a}if(b>>>0>2]){b=H[g+4>>2];f=f+1|0;if(b>>>0<=f>>>0){break b}continue}break}H[e+12>>2]=8;break a}n=g,o=jb(j,2,0,N(H[g>>2],b),0,e+12|0),H[n+12>>2]=o;if(H[e+12>>2]){break a}h=H[g+4>>2];if(N(h,H[g>>2])){f=0;while(1){if(i){b=f+i|0;while(1){h=yb(a,e+12|0);if(H[e+12>>2]){break a}G[H[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;if((b|0)!=(f|0)){continue}break}h=H[g+4>>2];f=b}b=i;if(h>>>0>b>>>0){while(1){h=jc(a,e+12|0);if(H[e+12>>2]){break a}G[H[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=H[g+4>>2];if(b>>>0>>0){continue}break}}if(N(H[g>>2],h)>>>0>f>>>0){continue}break}}k=k+1|0;if(k>>>0>=K[d>>2]){break a}f=H[d+4>>2];b=ob(a,H[(k<<2)+l>>2]+c|0);H[e+12>>2]=b;if(!b){continue}break}}if(l){Ya[H[j+8>>2]](j,l)}Wa=e+16|0;return H[e+12>>2]}function Vv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Wa-16|0;Wa=k;f=H[a+492>>2];h=H[b+8>>2];Ya[H[b+28>>2]](b);d=H[b>>2];a:{if(h>>>0<=d>>>0){H[b+12>>2]=3;break a}b:{l=I[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){g=H[b+16>>2];c:{if((l|0)==91){H[b>>2]=d+1;c=256;break c}c=Ya[H[b+36>>2]](b)|0}Ya[H[b+28>>2]](b);if(K[b>>2]>=h>>>0){break a}i=b+100|0;n=c;j=(c|0)<256?c:256;c=H[a+384>>2];d:{if(!c){break d}if(c){Ya[H[g+8>>2]](g,c)}H[a+384>>2]=0;c=H[a+388>>2];if(c){Ya[H[g+8>>2]](g,c)}H[a+388>>2]=0;c=H[b+148>>2];if(!c){break d}Ya[c|0](i)}H[a+372>>2]=j;H[b+96>>2]=j;o=a,p=jb(g,2,0,j,0,k+12|0),H[o+384>>2]=p;e=H[k+12>>2];if(e){break b}o=a,p=jb(g,4,0,j,0,k+12|0),H[o+388>>2]=p;e=H[k+12>>2];if(e){break b}e=Ya[H[H[f>>2]>>2]](i,j,g)|0;H[k+12>>2]=e;if(e){break b}e:{if((n|0)<=0){break e}e=(j|0)>1?j:1;m=e&3;f=0;c=0;if(e-1>>>0>=3){g=e&2147483644;e=0;while(1){Ya[H[b+144>>2]](i,c,11262,8)|0;Ya[H[b+144>>2]](i,c|1,11262,8)|0;Ya[H[b+144>>2]](i,c|2,11262,8)|0;Ya[H[b+144>>2]](i,c|3,11262,8)|0;c=c+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}if(!m){break e}while(1){Ya[H[b+144>>2]](i,c,11262,8)|0;c=c+1|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}Ya[H[b+28>>2]](b);c=H[b>>2];f:{if(h>>>0<=c>>>0){break f}m=(l|0)==91;e=0;while(1){g:{h:{i:{f=I[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(I[c+1|0]!=101|h>>>0<=d>>>0|I[c+2|0]!=102){break g}switch(I[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((l|0)!=91&f-48>>>0>=10)){m:{if(m){d=c;f=e;break m}f=Ya[H[b+36>>2]](b)|0;Ya[H[b+28>>2]](b);d=H[b>>2];if((d|0)==(c|0)){break k}}if(I[d|0]!=47|d+2>>>0>=h>>>0|(e|0)>=(n|0)){break l}d=d+1|0;H[b>>2]=d;Ya[H[b+32>>2]](b);c=H[b>>2];if(H[b+12>>2]|c>>>0>=h>>>0){break a}if((e|0)<(j|0)){g=c-d|0;c=Ya[H[b+144>>2]](i,f,d,g+1|0)|0;H[b+12>>2]=c;if(c){break a}F[g+H[H[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break j}Ya[H[b+32>>2]](b);d=c;if(H[b+12>>2]){break a}break j}if(!m){break j}}H[b+12>>2]=2;break a}Ya[H[b+28>>2]](b);c=H[b>>2];if(h>>>0>c>>>0){continue}break}}H[a+368>>2]=1;H[b>>2]=d;break a}n:{if(d+17>>>0>=h>>>0){break n}if(ub(d,23503,16)){break n}H[a+368>>2]=2;break a}o:{if(d+15>>>0>=h>>>0){break o}if(ub(d,23540,14)){break o}H[a+368>>2]=4;break a}p:{if(d+18>>>0>=h>>>0){break p}if(ub(d,23574,17)){break p}H[a+368>>2]=3;break a}H[b+12>>2]=162;break a}H[b+12>>2]=e}Wa=k+16|0}function HG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Wa-16|0;Wa=j;m=wj(g);p=ej(g);g=p;Ya[H[H[g>>2]+20>>2]](j,g);H[f>>2]=d;a:{b:{c:{i=a;g=I[i|0];switch(g-43|0){case 0:case 2:break c;default:break b}}H[65057]=0;g=ca(1016,m|0,g<<24>>24)|0;i=H[65057];H[65057]=0;if((i|0)==1){break a}i=H[f>>2];H[f>>2]=i+1;F[i|0]=g;i=a+1|0}d:{g=i;if(!((c-g|0)<=1|I[g|0]!=48|(I[g+1|0]|32)!=120)){H[65057]=0;g=ca(1016,m|0,48)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+1;F[h|0]=g;g=F[i+1|0];H[65057]=0;g=ca(1016,m|0,g|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+1;F[h|0]=g;i=i+2|0;g=i;while(1){if(c>>>0<=g>>>0){break d}h=F[g|0];H[65057]=0;la(995)|0;l=H[65057];H[65057]=0;e:{if((l|0)==1){break e}H[65057]=0;l=H[65057];H[65057]=0;if((l|0)==1){break e}if(!(h-48>>>0<10|(h|32)-97>>>0<6)){break d}g=g+1|0;continue}break}break a}while(1){if(c>>>0<=g>>>0){break d}h=F[g|0];H[65057]=0;la(995)|0;l=H[65057];H[65057]=0;if((l|0)==1){break a}H[65057]=0;l=H[65057];H[65057]=0;if((l|0)==1){break a}if(h-48>>>0>=10){break d}g=g+1|0;continue}}f:{if(I[j+11|0]>>>7|0){k=H[j+4>>2]}else{k=I[j+11|0]}if(!k){h=H[f>>2];H[65057]=0;ga(991,m|0,i|0,g|0,h|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}H[f>>2]=H[f>>2]+(g-i|0);break f}H[65057]=0;me(i,g);h=H[65057];H[65057]=0;if((h|0)==1){break a}H[65057]=0;q=aa(982,p|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=0;l=i;while(1){if(g>>>0<=l>>>0){h=H[f>>2];H[65057]=0;me((i-a|0)+d|0,h);i=H[65057];H[65057]=0;if((i|0)!=1){break f}break a}if(I[j+11|0]>>>7|0){k=H[j>>2]}else{k=j}o=F[k+h|0]!=(n|0);if(I[j+11|0]>>>7|0){k=H[j>>2]}else{k=j}if(!(o|F[k+h|0]<=0)){n=H[f>>2];H[f>>2]=n+1;F[n|0]=q;if(I[j+11|0]>>>7|0){k=H[j+4>>2]}else{k=I[j+11|0]}h=(k-1>>>0>h>>>0)+h|0;n=0}k=F[l|0];H[65057]=0;k=ca(1016,m|0,k|0)|0;o=H[65057];H[65057]=0;if((o|0)!=1){o=H[f>>2];H[f>>2]=o+1;F[o|0]=k;l=l+1|0;n=n+1|0;continue}break}break a}while(1){g:{if(c>>>0>g>>>0){i=I[g|0];if((i|0)!=46){break g}H[65057]=0;i=aa(992,p|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+1;F[h|0]=i;g=g+1|0}i=H[f>>2];H[65057]=0;ga(991,m|0,g|0,c|0,i|0)|0;i=H[65057];H[65057]=0;if((i|0)==1){break a}i=f;f=H[f>>2]+(c-g|0)|0;H[i>>2]=f;H[e>>2]=(b|0)==(c|0)?f:(b-a|0)+d|0;nb(j);Wa=j+16|0;return}H[65057]=0;i=ca(1016,m|0,i<<24>>24)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}h=H[f>>2];H[f>>2]=h+1;F[h|0]=i;g=g+1|0;continue}}a=$()|0;_()|0;nb(j);ba(a|0);X()}function lt(a,b){var c=0,d=0;a:{b:{c:{d:{e:{switch(a-247|0){default:if((a|0)!=28){break d}a=H[b+12>>2];d=H[b+4>>2];f:{if(a>>>0>=d>>>0){F[b+16|0]=1;c=163632;break f}c=a+H[b>>2]|0}c=I[c|0];a=a+1|0;g:{if(a>>>0>=d>>>0){F[b+16|0]=1;a=163632;break g}a=a+H[b>>2]|0}d=I[a|0];a=H[b+24>>2];h:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<5)|0;break h}F[b+20|0]=1;a=H[40915];H[64766]=H[40914];H[64767]=a;a=H[40913];H[64764]=H[40912];H[64765]=a;a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}H[a+8>>2]=0;H[a+12>>2]=0;if(H[a+16>>2]>=0){H[a+20>>2]=0}M[a>>3]=(d|c<<8)<<16>>16;if(I[b+16|0]){a=H[b+4>>2];break c}a=H[b+4>>2];c=H[b+12>>2];if(a>>>0>>0){break c}c=c+2|0;if(c>>>0>a>>>0){break c}break b;case 0:case 1:case 2:case 3:c=(a<<8)+2304|0;a=H[b+12>>2];i:{if(a>>>0>=K[b+4>>2]){F[b+16|0]=1;a=163632;break i}a=a+H[b>>2]|0}c=((c|I[a|0])<<16)+7077888|0;a=H[b+24>>2];j:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<5)|0;break j}F[b+20|0]=1;a=H[40915];H[64766]=H[40914];H[64767]=a;a=H[40913];H[64764]=H[40912];H[64765]=a;a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}H[a+8>>2]=0;H[a+12>>2]=0;if(H[a+16>>2]>=0){H[a+20>>2]=0}M[a>>3]=c>>16;if(I[b+16|0]){a=H[b+4>>2];break a}a=H[b+4>>2];c=H[b+12>>2];if(a>>>0>>0){break a}c=c+1|0;if(c>>>0>a>>>0){break a}break b;case 4:case 5:case 6:case 7:break e}}c=(a<<16)-16449536>>>8|0;a=H[b+12>>2];k:{if(a>>>0>=K[b+4>>2]){F[b+16|0]=1;a=163632;break k}a=a+H[b>>2]|0}c=c|I[a|0];a=H[b+24>>2];l:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<5)|0;break l}F[b+20|0]=1;a=H[40915];H[64766]=H[40914];H[64767]=a;a=H[40913];H[64764]=H[40912];H[64765]=a;a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}H[a+8>>2]=0;H[a+12>>2]=0;if(H[a+16>>2]>=0){H[a+20>>2]=0}M[a>>3]=-108-c|0;if(I[b+16|0]){a=H[b+4>>2];break a}a=H[b+4>>2];c=H[b+12>>2];if(a>>>0>>0){break a}c=c+1|0;if(c>>>0>a>>>0){break a}break b}if(a-32>>>0<=214){c=H[b+24>>2];m:{if(c>>>0>2]){H[b+24>>2]=c+1;b=H[b+36>>2]+(c<<5)|0;break m}F[b+20|0]=1;b=H[40915];H[64766]=H[40914];H[64767]=b;b=H[40913];H[64764]=H[40912];H[64765]=b;b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=259040}H[b+8>>2]=0;H[b+12>>2]=0;if(H[b+16>>2]>=0){H[b+20>>2]=0}M[b>>3]=a-139|0;return}F[b+40|0]=1;H[b+24>>2]=0;return}F[b+16|0]=1;H[b+12>>2]=a;return}H[b+12>>2]=c;return}F[b+16|0]=1;H[b+12>>2]=a}function Pm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;d=H[a+16>>2];l=I[d+6|0]<<8|I[d+7|0]&254;if(!l){return 0}w=H[a>>2];A=H[w+508>>2]+H[w+512>>2]|0;e=H[b>>2];r=e+1|0;o=c?r:e;u=l+2|0;s=d+14|0;v=l>>>1|0;g=v;a:{b:{c:{d:{while(1){j=g+h|0;f=(j&-2)+s|0;k=I[f|0]<<8|I[f+1|0];e=j>>>1|0;f=f+u|0;t=I[f|0]<<8|I[f+1|0];if(t>>>0<=o>>>0){if(k>>>0>=o>>>0){break d}h=e+1|0}else{g=e}if(g>>>0>h>>>0){continue}break}h=0;break c}h=0;g=f+l|0;i=g+l|0;x=I[i|0]<<8|I[i+1|0];f=(t|0)==65535&v-1>>>0<=e>>>0&(k|0)==65535&(x|0)!=0&(i+x|0)+2>>>0>A>>>0;p=f?0:x;g=I[g|0]|I[g+1|0]<<8;B=(g<<8|g>>>8)<<16>>16;m=f?1:B;e:{f:{g:{h:{if(I[a+20|0]&2){n=e+1|0;g=(p|0)==65535?n:e;if(j>>>0<2){break h}h=e-1|0;q=h<<1;j=q+s|0;f=I[j|0]<<8|I[j+1|0];if(o>>>0>f>>>0){break h}m=(d+N(l,3)|0)+16|0;C=s+u|0;i:{while(1){j:{j=f;d=h;y=q+C|0;z=y+l|0;i=z+l|0;p=I[i|0]<<8|I[i+1|0];g=(p|0)==65535?g:d;if(!d){break j}h=d-1|0;q=h<<1;f=q+s|0;f=I[f|0]<<8|I[f+1|0];if(o>>>0<=f>>>0){continue}break i}break}d=0;i=m}f=I[z|0]|I[z+1|0]<<8;m=(f<<8|f>>>8)<<16>>16;f=I[y+1|0]|I[y|0]<<8;break g}d=e;if((p|0)==65535){break e}break f}d=e;j=k;f=t}k:{if((g|0)!=(n|0)){k=j;break k}if((d|0)!=(e|0)){m=B;p=x;f=t;j=k}h=0;if(n>>>0>=v>>>0){d=e;k=j;break e}d=(n<<1)+s|0;i=u+d|0;q=I[i|0]<<8|I[i+1|0];l:{if(q>>>0>o>>>0){g=e;break l}g=e;m:{while(1){n:{f=q;j=d;k=(d+u|0)+l|0;i=k+l|0;p=I[i|0]<<8|I[i+1|0];g=(p|0)==65535?g:n;n=n+1|0;if((v|0)==(n|0)){break n}d=(n<<1)+s|0;i=u+d|0;q=I[i|0]<<8|I[i+1|0];if(q>>>0<=o>>>0){continue}break m}break}n=v}d=I[k|0]|I[k+1|0]<<8;m=(d<<8|d>>>8)<<16>>16;j=I[j+1|0]|I[j|0]<<8}k=j;d=n-1|0;if((e|0)==(g|0)){break e}}if((d|0)==(g|0)){e=g;t=f;break f}e=(g<<1)+s|0;k=I[e|0]<<8|I[e+1|0];e=e+u|0;t=I[e|0]<<8|I[e+1|0];e=e+l|0;i=e+l|0;p=I[i|0]<<8|I[i+1|0];e=I[e|0]|I[e+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=g}if(p){h=0;d=((o-t<<1)+p|0)+i|0;if(d>>>0>A>>>0?c:0){break c}d=I[d+1|0]|I[d|0]<<8;if(!d){break c}d=d+m&65535;h=d>>>0>2]?d:0;d=e;if(c){break b}break a}d=m+o|0;h=d&65535;if(!c){break a}o:{if(K[w+16>>2]>h>>>0){break o}c=k+m|0;p:{if((d|0)>=0){break p}h=0;if((c|0)<0){break p}r=0-m|0;break o}r=(d|0)<65536?(c|0)>65535?65536-m|0:o:o;h=0}d=e;break b}if(c){break b}break a}d=e;if(!c){break a}}c=h;if(k>>>0>>0){h=0;d=d+1|0;if((v|0)==(d|0)){break a}}q:{if(Om(a,d)){h=c;if(c){break q}return 0}H[a+24>>2]=r;if(c){H[a+28>>2]=c;h=c;break q}Nm(a);h=H[a+28>>2];if(!h){return 0}r=H[a+24>>2]}H[b>>2]=r}return h}function vl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;k=H[b+4>>2];a:{if(k>>>0>a>>>0){break a}h=H[b+8>>2];if(h>>>0>>0|h-a>>>0<8){break a}g=H[b+12>>2];d=g-8|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[a|0]|I[a+1|0]<<8;o=(d<<8|d>>>8)&65535;if(o>>>0<4){break a}d=a+2|0;if(d>>>0>>0|d>>>0>h>>>0|h-d>>>0<2){break a}d=g-10|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[a+2|0]|I[a+3|0]<<8;d=((d<<8|d>>>8)&65535)+a|0;if(d>>>0>>0|d>>>0>h>>>0|h-d>>>0<4){break a}e=g-14|0;H[b+12>>2]=e;if((e|0)<=0){break a}e=d+2|0;if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<2){break a}f=g-16|0;H[b+12>>2]=f;if((f|0)<=0){break a}g=I[d+2|0]|I[d+3|0]<<8;if(g){d=d+4|0;if(d>>>0>>0|d>>>0>h>>>0){break a}e=h-d|0;d=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}f=f-d|0;H[b+12>>2]=f;if((f|0)<=0){break a}}d=I[a|0]|I[a+1|0]<<8;u=(d<<8|d>>>8)&65535;d=I[a+6|0]|I[a+7|0]<<8;p=((d<<8|d>>>8)&65535)+a|0;v=h-p|0;g=a;a=I[a+4|0]|I[a+5|0]<<8;s=(a<<8|a>>>8)&65535;l=g+s|0;w=h-l|0;a=0;g=0;while(1){b:{if(!(a&1)){d=g;break b}i=0;if(4294967295/(o>>>0)>>>0<=m>>>0){break a}e=N(m,o);q=e+l|0;if(e){if(h>>>0>>0|k>>>0>q>>>0|h-q>>>0<0-e>>>0){break a}f=e+f|0;H[b+12>>2]=f;if((f|0)<=0){break a}}f=(m-r|0)+f|0;H[b+12>>2]=f;if((f|0)<=0|(e|0)>0){break a}c:{if(l>>>0<=q>>>0){d=g;break c}a=l;d=g;r=0-e&3;if(r){while(1){a=a-1|0;t=I[a|0]+1|0;d=d>>>0>t>>>0?d:t;i=i+1|0;if((r|0)!=(i|0)){continue}break}}if(e>>>0>4294967292){break c}while(1){e=I[a-1|0]+1|0;d=d>>>0>e>>>0?d:e;e=I[a-2|0]+1|0;d=d>>>0>e>>>0?d:e;e=I[a-3|0]+1|0;d=d>>>0>e>>>0?d:e;a=a-4|0;e=I[a|0]+1|0;d=d>>>0>e>>>0?d:e;if(a>>>0>q>>>0){continue}break}}r=m}d:{e:{f:{if((j|0)<=(n|0)){e=n+1|0;a=N(e,o);if(a){i=0;if(h>>>0>>0|k>>>0>l>>>0|a>>>0>w>>>0){break a}f=f-a|0;H[b+12>>2]=f;if((f|0)<=0){break a}}f=((n^-1)+j|0)+f|0;H[b+12>>2]=f;i=0;if((a|0)<0|(f|0)<=0){break a}j=N(j,o);if((j|0)<(a|0)){break f}j=e}a=j;if(d){break e}d=0;break d}i=a+l|0;a=j+l|0;while(1){j=I[a|0]+1|0;d=d>>>0>j>>>0?d:j;a=a+1|0;if(i>>>0>a>>>0){continue}break}a=e}j=a;i=0;if(h>>>0

>>0|k>>>0>p>>>0){break a}a=d<<3;if(a>>>0>v>>>0){break a}f=f-a|0;H[b+12>>2]=f;if((f|0)<=0){break a}}f=(g-d|0)+f|0;H[b+12>>2]=f;if((f|0)<=0){return 0}if((d|0)>(g|0)){e=(d<<3)+p|0;i=(g<<3)+p|0;while(1){a=I[i|0]|I[i+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(u|0)|0;n=(a|0)<(n|0)?n:a;m=(a|0)>(m|0)?m:a;i=i+8|0;if(e>>>0>i>>>0){continue}break}}g=d;a=(m|0)<(r|0);if(a|(j|0)<=(n|0)){continue}break}i=1;if(!c){break a}H[c>>2]=g}return i}function DK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Wa-16|0;Wa=h;if(Fb(c,b,105102,0)){e=H[a+124>>2];d=H[e>>2];a:{if(H[d+12>>2]!=1){break a}f=H[e+8>>2];if((f|0)==-1){f=H[d+8>>2];if(f){H[h+4>>2]=0;d=f;f=H[b+80>>2];f=Ya[H[f+164>>2]](b,H[b+84>>2],d,h+4|0,H[f+20>>2])|0;f=f?H[h+4>>2]:0}else{f=0}H[e+8>>2]=f}if(!f){break a}n=H[c+68>>2];if(!n){break a}o=H[c+80>>2];g=H[b+16>>2];j=h+8|0;while(1){m=N(l,20)+o|0;if(I[m+19|0]==4){d=H[m>>2];H[h+12>>2]=f;H[h+8>>2]=d;H[h+4>>2]=f;d=0;b:{c:{if(!H[e+40>>2]){break c}while(1){i=8;if(rd(g,J[H[e+36>>2]+(d<<3)>>1],h+4|0,2,I[e+44|0])){break b}d=d+1|0;k=H[e+40>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break c}while(1){if(rd(g,J[H[e+36>>2]+(d<<3)>>1],j,2,I[e+44|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;d:{if(!H[e+64>>2]){break d}while(1){i=8;if(rd(g,J[H[e+60>>2]+(d<<3)>>1],h+4|0,2,I[e+68|0])){break b}d=d+1|0;k=H[e+64>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break d}while(1){if(rd(g,J[H[e+60>>2]+(d<<3)>>1],j,2,I[e+68|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;e:{if(!H[e+52>>2]){break e}while(1){i=11;if(rd(g,J[H[e+48>>2]+(d<<3)>>1],h+4|0,2,I[e+56|0])){break b}d=d+1|0;k=H[e+52>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break e}while(1){if(rd(g,J[H[e+48>>2]+(d<<3)>>1],j,2,I[e+56|0])){break b}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;i=4;if(!H[e+28>>2]){break b}f:{while(1){if(rd(g,J[H[e+24>>2]+(d<<3)>>1],h+4|0,2,I[e+32|0])){break f}d=d+1|0;k=H[e+28>>2];if(d>>>0>>0){continue}break}d=0;if(!k){break b}while(1){if(rd(g,J[H[e+24>>2]+(d<<3)>>1],j,2,I[e+32|0])){break f}d=d+1|0;if(d>>>0>2]){continue}break}break b}i=11}F[m+19|0]=i}l=l+1|0;if((n|0)!=(l|0)){continue}break}}zh(b,c,4,12,15,15);g=H[c+68>>2];g:{if(!g){break g}f=g-1|0;e=0;d=H[c+80>>2];i=I[d+15|0];while(1){h:{if((e|0)==(f|0)){e=g;break h}e=e+1|0;if((i|0)==I[(d+N(e,20)|0)+15|0]){continue}}break}if(!g){break g}i=H[c+80>>2];j=I[i+15|0];d=0;while(1){f=e;e=H[b+16>>2];i:{j:{switch(j&15){case 0:case 1:fr(H[a+124>>2],e,c,d,f);break i;case 2:case 4:break j;default:break i}}j=H[a+124>>2];if(I[(N(f,20)+i|0)-2|0]==12?I[j+5|0]:0){break i}fr(j,e,c,d,f)}l=H[c+68>>2];e=f+1|0;d=e>>>0>>0?l:e;i=H[c+80>>2];j=I[(i+N(f,20)|0)+15|0];e=f;while(1){k:{e=e+1|0;if(l>>>0<=e>>>0){e=d;break k}if(I[(N(e,20)+i|0)+15|0]==(j|0)){continue}}break}d=f;if(g>>>0>d>>>0){continue}break}}Fb(c,b,105679,0)}Wa=h+16|0}function Du(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Wa-1120|0;Wa=i;j=H[a+68>>2];l=f?f:i+92|0;H[l>>2]=0;c=b>>>0>>0?c:b;j=c>>>0>j>>>0?j:c;if(e){F[d|0]=0}a:{if(b>>>0>=j>>>0){break a}c=b>>>0>j>>>0?j:b;b:{if((g|0)!=1246973774){if((g|0)!=1413830740){break a}g=H[a+80>>2];H[l>>2]=0;if(b>>>0>=j>>>0){k=j-c|0;break a}n=j-1|0;a=1;k=i+96|1;c:{if(!(h&1)){h=i+1120|0;b=c;while(1){F[i+96|0]=b?124:60;m=g+N(b,20)|0;H[i+16>>2]=H[m>>2];f=Ud(k,1023,106538,i+16|0);H[i>>2]=H[m+8>>2];f=((f|0)>0?f:0)+k|0;m=Ud(f,h-f|0,105573,i);f=((m|0)>0?m:0)+f|0;if((b|0)==(n|0)){F[f|0]=62;f=f+1|0}f=f-(i+96|0)|0;if(f>>>0>=e>>>0){break b}a=mb(d,i+96|0,f);H[l>>2]=f+H[l>>2];d=a+f|0;F[d|0]=0;e=e-f|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}break c}b=c;while(1){F[i+96|0]=b?124:60;H[i+32>>2]=H[g+N(b,20)>>2];f=Ud(k,1023,106538,i+32|0);f=((f|0)>0?f:0)+k|0;if((b|0)==(n|0)){F[f|0]=62;f=f+1|0}f=f-(i+96|0)|0;if(f>>>0>=e>>>0){break b}a=mb(d,i+96|0,f);H[l>>2]=f+H[l>>2];d=a+f|0;F[d|0]=0;e=e-f|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}}if(a){break a}k=j-c|0;break a}n=H[a+80>>2];H[l>>2]=0;if(b>>>0>=j>>>0){k=j-c|0;break a}m=j-1|0;a=1;b=i+96|0;k=b|6;g=b|2;d:{e:{if(!(h&1)){p=i+1120|0;q=I[106583];f=I[106579]|I[106580]<<8|(I[106581]<<16|I[106582]<<24);b=c;while(1){F[i+97|0]=123;F[i+96|0]=b?44:91;F[g+4|0]=q;F[g|0]=f;F[g+1|0]=f>>>8;F[g+2|0]=f>>>16;F[g+3|0]=f>>>24;o=n+N(b,20)|0;H[i+64>>2]=H[o>>2];h=Ud(k,1018,105428,i- -64|0);H[i+48>>2]=H[o+8>>2];h=((h|0)>0?h:0)+k|0;o=Ud(h,p-h|0,106351,i+48|0);h=((o|0)>0?o:0)+h|0;F[h|0]=125;if((b|0)!=(m|0)){h=h+1|0}else{F[h+1|0]=93;h=h+2|0}h=h-(i+96|0)|0;if(h>>>0>=e>>>0){break d}a=mb(d,i+96|0,h);H[l>>2]=h+H[l>>2];d=a+h|0;F[d|0]=0;e=e-h|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}break e}p=I[106583];f=I[106579]|I[106580]<<8|(I[106581]<<16|I[106582]<<24);b=c;while(1){F[i+97|0]=123;F[i+96|0]=b?44:91;F[g+4|0]=p;F[g|0]=f;F[g+1|0]=f>>>8;F[g+2|0]=f>>>16;F[g+3|0]=f>>>24;H[i+80>>2]=H[n+N(b,20)>>2];h=Ud(k,1018,105428,i+80|0);h=((h|0)>0?h:0)+k|0;F[h|0]=125;if((b|0)!=(m|0)){h=h+1|0}else{F[h+1|0]=93;h=h+2|0}h=h-(i+96|0)|0;if(h>>>0>=e>>>0){break d}a=mb(d,i+96|0,h);H[l>>2]=h+H[l>>2];d=a+h|0;F[d|0]=0;e=e-h|0;b=b+1|0;a=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}}if(a){break a}k=j-c|0;break a}if(!a){k=j-c|0;break a}k=b-c|0;break a}if(!(a&1)){k=j-c|0;break a}k=b-c|0}Wa=i+1120|0;return k|0}function Vh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=H[b+4>>2];a:{if(j>>>0>a>>>0){break a}g=H[b+8>>2];if(g>>>0>>0|g-a>>>0<8){break a}f=H[b+12>>2];c=f-8|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[a|0]|I[a+1|0]<<8;n=(c<<8|c>>>8)&65535;if(n>>>0<4){break a}c=a+2|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<2){break a}c=f-10|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[a+2|0]|I[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<4){break a}d=f-14|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=c+2|0;if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<2){break a}e=f-16|0;H[b+12>>2]=e;if((e|0)<=0){break a}f=I[c+2|0]|I[c+3|0]<<8;if(f){c=c+4|0;if(c>>>0>>0|c>>>0>g>>>0){break a}d=g-c|0;c=(f<<8|f>>>8)&65535;if(d>>>0>>0){break a}e=e-c|0;H[b+12>>2]=e;if((e|0)<=0){break a}}c=I[a|0]|I[a+1|0]<<8;t=(c<<8|c>>>8)&65535;c=I[a+6|0]|I[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;u=g-o|0;f=a;a=I[a+4|0]|I[a+5|0]<<8;r=(a<<8|a>>>8)&65535;k=f+r|0;v=g-k|0;a=0;f=0;while(1){b:{if(!(a&1)){c=f;break b}h=0;if(4294967295/(n>>>0)>>>0<=l>>>0){break a}d=N(l,n);p=d+k|0;if(d){if(g>>>0

>>0|j>>>0>p>>>0|g-p>>>0<0-d>>>0){break a}e=d+e|0;H[b+12>>2]=e;if((e|0)<=0){break a}}e=(l-q|0)+e|0;H[b+12>>2]=e;if((e|0)<=0|(d|0)>0){break a}c:{if(k>>>0<=p>>>0){c=f;break c}a=k;c=f;q=0-d&3;if(q){while(1){a=a-1|0;s=I[a|0]+1|0;c=c>>>0>s>>>0?c:s;h=h+1|0;if((q|0)!=(h|0)){continue}break}}if(d>>>0>4294967292){break c}while(1){d=I[a-1|0]+1|0;c=c>>>0>d>>>0?c:d;d=I[a-2|0]+1|0;c=c>>>0>d>>>0?c:d;d=I[a-3|0]+1|0;c=c>>>0>d>>>0?c:d;a=a-4|0;d=I[a|0]+1|0;c=c>>>0>d>>>0?c:d;if(a>>>0>p>>>0){continue}break}}q=l}d:{e:{f:{if((i|0)<=(m|0)){d=m+1|0;a=N(d,n);if(a){h=0;if(g>>>0>>0|j>>>0>k>>>0|a>>>0>v>>>0){break a}e=e-a|0;H[b+12>>2]=e;if((e|0)<=0){break a}}e=((m^-1)+i|0)+e|0;H[b+12>>2]=e;h=0;if((a|0)<0|(e|0)<=0){break a}i=N(i,n);if((i|0)<(a|0)){break f}i=d}a=i;if(c){break e}c=0;break d}h=a+k|0;a=i+k|0;while(1){i=I[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}a=d}i=a;h=0;if(g>>>0>>0|j>>>0>o>>>0){break a}a=c<<2;if(a>>>0>u>>>0){break a}e=e-a|0;H[b+12>>2]=e;if((e|0)<=0){break a}}e=(f-c|0)+e|0;H[b+12>>2]=e;if((e|0)<=0){return 0}if((c|0)>(f|0)){d=(c<<2)+o|0;h=(f<<2)+o|0;while(1){a=I[h|0]|I[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-r|0)/(t|0)|0;m=(a|0)<(m|0)?m:a;l=(a|0)>(l|0)?l:a;h=h+4|0;if(d>>>0>h>>>0){continue}break}}f=c;a=(l|0)<(q|0);if(a|(i|0)<=(m|0)){continue}break}h=1}return h}function Ks(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=H[a>>2];if((d|0)>=0){g=(b|0)>0?b:0;if(d>>>0>>0){b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(g>>>0>=b>>>0){continue}break}a:{if(!(b>>>0>>0|b>>>0>153391688)){f=tb(N(b,28));if(f){i=H[a+4>>2];b:{if(!i){break b}d=0;if(i-1>>>0>=7){j=i&-8;while(1){c=N(d,28)+f|0;H[c>>2]=0;H[c+4>>2]=0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;c=N(d|1,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=N(d|2,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=N(d|3,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=N(d|4,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=N(d|5,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=N(d|6,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=N(d|7,28)+f|0;H[c+24>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=d+8|0;e=e+8|0;if((j|0)!=(e|0)){continue}break}}c=i&7;if(c){while(1){e=N(d,28)+f|0;H[e>>2]=0;H[e+4>>2]=0;H[e+24>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;d=d+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if(!i){e=0;break b}h=0;while(1){e=N(h,28);d=e+f|0;e=e+H[a+8>>2]|0;H[d>>2]=H[e>>2];c=H[d+4>>2];H[d+4>>2]=H[e+4>>2];H[e+4>>2]=c;c=H[d+8>>2];H[d+8>>2]=H[e+8>>2];H[e+8>>2]=c;c=H[d+12>>2];H[d+12>>2]=H[e+12>>2];H[e+12>>2]=c;H[d+24>>2]=H[e+24>>2];c=H[e+20>>2];H[d+16>>2]=H[e+16>>2];H[d+20>>2]=c;e=H[a+4>>2];h=h+1|0;if(e>>>0>h>>>0){continue}break}if(!e){e=0;break b}d=e;while(1){d=H[a+8>>2]+N(d,28)|0;H[d-20>>2]=0;c=d-16|0;hb(H[c>>2]);H[c>>2]=0;d=d-24|0;H[d>>2]=0;H[d+4>>2]=0;d=H[a+4>>2]-1|0;H[a+4>>2]=d;if(d){continue}break}}H[a+4>>2]=e;hb(H[a+8>>2])}if(f){break a}}H[a>>2]=-1;return 0}H[a>>2]=b;H[a+8>>2]=f}b=H[a+4>>2];c:{if(g>>>0>b>>>0){while(1){H[a+4>>2]=b+1;b=H[a+8>>2]+N(b,28)|0;H[b>>2]=0;H[b+4>>2]=0;H[b+24>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;b=H[a+4>>2];if(g>>>0>b>>>0){continue}break c}}if(b>>>0<=g>>>0){break c}while(1){b=H[a+8>>2]+N(b,28)|0;H[b-20>>2]=0;d=b-16|0;hb(H[d>>2]);H[d>>2]=0;b=b-24|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+4>>2]-1|0;H[a+4>>2]=b;if(b>>>0>g>>>0){continue}break}}H[a+4>>2]=g;a=1}else{a=0}return a|0} +function Xs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=O(0),j=O(0),k=O(0),l=O(0),m=0;d=Wa-32|0;Wa=d;H[d+24>>2]=0;H[d+28>>2]=1065353216;H[d+16>>2]=1065353216;H[d+20>>2]=0;h=I[a|0]|I[a+1|0]<<8;c=h<<8|h>>>8;f=c&65535;a:{if(c&1){c=I[a+4|0]|I[a+5|0]<<8;m=(c<<8|c>>>8)<<16>>16;c=a+6|0;g=I[c|0]|I[c+1|0]<<8;g=(g<<8|g>>>8)<<16>>16;break a}c=a+4|0;m=F[a+4|0];g=F[a+5|0]}F[d+12|0]=0;F[d|0]=0;h=h<<22>>31;g=h&g;L[d+8>>2]=g|0;h=h&m;L[d+4>>2]=h|0;b:{if(f&8){c=I[c+2|0]|I[c+3|0]<<8;i=O(O((c<<8|c>>>8)<<16>>16)*O(6103515625e-14));L[d+16>>2]=i;L[d+28>>2]=i;g=1;break b}if(f&64){f=I[c+2|0]|I[c+3|0]<<8;L[d+16>>2]=O((f<<8|f>>>8)<<16>>16)*O(6103515625e-14);c=I[c+4|0]|I[c+5|0]<<8;L[d+28>>2]=O((c<<8|c>>>8)<<16>>16)*O(6103515625e-14);g=1;break b}if(f&128){f=I[c+2|0]|I[c+3|0]<<8;L[d+16>>2]=O((f<<8|f>>>8)<<16>>16)*O(6103515625e-14);f=I[c+4|0]|I[c+5|0]<<8;L[d+20>>2]=O((f<<8|f>>>8)<<16>>16)*O(6103515625e-14);f=I[c+6|0]|I[c+7|0]<<8;L[d+24>>2]=O((f<<8|f>>>8)<<16>>16)*O(6103515625e-14);c=I[c+8|0]|I[c+9|0]<<8;L[d+28>>2]=O((c<<8|c>>>8)<<16>>16)*O(6103515625e-14);g=1;break b}g=(h|g)!=0}c:{if(!g){break c}c=H[b+4>>2];if(((I[a|0]|I[a+1|0]<<8)&24)==8){if(!c){break c}while(1){d:{if(c>>>0<=e>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;c=H[b+4>>2];a=259040;break d}a=H[b+8>>2]+(e<<4)|0}L[a+4>>2]=L[d+4>>2]+L[a+4>>2];L[a+8>>2]=L[d+8>>2]+L[a+8>>2];e=e+1|0;if(e>>>0>>0){continue}break}if(!c){break c}k=L[d+16>>2];e=0;while(1){e:{if(c>>>0<=e>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;c=H[b+4>>2];a=259040;break e}a=H[b+8>>2]+(e<<4)|0}l=L[d+24>>2];i=L[a+4>>2];j=L[a+8>>2];L[a+8>>2]=O(i*L[d+20>>2])+O(j*L[d+28>>2]);L[a+4>>2]=O(i*k)+O(j*l);e=e+1|0;if(e>>>0>>0){continue}break}break c}if(!c){break c}k=L[d+16>>2];while(1){f:{if(c>>>0<=e>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;c=H[b+4>>2];a=259040;break f}a=H[b+8>>2]+(e<<4)|0}l=L[d+24>>2];i=L[a+4>>2];j=L[a+8>>2];L[a+8>>2]=O(i*L[d+20>>2])+O(j*L[d+28>>2]);L[a+4>>2]=O(i*k)+O(j*l);e=e+1|0;if(e>>>0>>0){continue}break}if(!c){break c}e=0;while(1){g:{if(c>>>0<=e>>>0){a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;c=H[b+4>>2];a=259040;break g}a=H[b+8>>2]+(e<<4)|0}L[a+4>>2]=L[d+4>>2]+L[a+4>>2];L[a+8>>2]=L[d+8>>2]+L[a+8>>2];e=e+1|0;if(e>>>0>>0){continue}break}}Wa=d+32|0}function Ej(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Wa-16|0;Wa=i;H[i+8>>2]=0;p=H[H[a>>2]+28>>2];H[b>>2]=0;a:{b:{if(H[a+28>>2]){break b}H[i+12>>2]=0;c:{f=H[a+12>>2];if(f){m=I[a+16|0];k=H[a>>2];h=H[k+28>>2];f=f+1|0;r=a,s=jb(h,4,0,f,0,i+12|0),H[r+28>>2]=s;if(H[i+12>>2]){break c}e=ob(k,H[a+8>>2]+H[a+4>>2]|0);H[i+12>>2]=e;if(e){break c}g=N(f,m);f=Nb(k,g);H[i+12>>2]=f;if(f){break c}e=H[k+32>>2];j=g+e|0;f=H[a+28>>2];d:{e:{switch(m-1|0){case 2:if((g|0)<=0){break d}while(1){H[f>>2]=I[e+2|0]|(I[e+1|0]<<8|I[e|0]<<16);f=f+4|0;e=e+3|0;if(j>>>0>e>>>0){continue}break};break d;case 1:if((g|0)<=0){break d}while(1){H[f>>2]=I[e+1|0]|I[e|0]<<8;f=f+4|0;e=e+2|0;if(j>>>0>e>>>0){continue}break};break d;case 0:if((g|0)<=0){break d}while(1){H[f>>2]=I[e|0];f=f+4|0;e=e+1|0;if(j>>>0>e>>>0){continue}break};break d;default:break e}}if((g|0)<=0){break d}while(1){g=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);H[f>>2]=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);f=f+4|0;e=e+4|0;if(j>>>0>e>>>0){continue}break}}Db(k);if(H[i+12>>2]){break c}}H[i+8>>2]=0;break b}f=h;h=H[a+28>>2];if(h){Ya[H[f+8>>2]](f,h)}H[a+28>>2]=0;e=H[i+12>>2];H[i+8>>2]=e;if(e){break a}}e=0;f=H[a+12>>2];if(!f){break a}h=H[a+24>>2];g=jb(p,4,0,f+1|0,0,i+8|0);e=H[i+8>>2];f:{if(e){break f}q=f+h|0;g:{h:{i:{j:{if(c){k=zb(p,q,i+8|0);if(H[i+8>>2]){break g}o=H[a+32>>2];H[g>>2]=k;l=H[a+12>>2];if(l){e=1;j=0;f=0;while(1){h=e<<2;n=H[h+H[a+28>>2]>>2]-1|0;k:{if(n>>>0>>0){H[g+h>>2]=(f+k|0)+j;break k}m=g+h|0;h=H[a+24>>2];h=h>>>0>n>>>0?n:h;n=(h+k|0)+j|0;H[m>>2]=n;if((f|0)!=(h|0)){l=H[m-4>>2];mb(l,f+o|0,n-l|0);F[H[m>>2]]=0;H[m>>2]=H[m>>2]+1;l=H[a+12>>2];j=j+1|0}f=h}e=e+1|0;if(l>>>0>=e>>>0){continue}break}break j}H[b>>2]=g;break i}h=H[a+32>>2];H[g>>2]=h;j=H[a+12>>2];if(!j){k=0;break j}f=1;k=0;e=0;if((j|0)!=1){n=j&-2;m=0;while(1){o=f<<2;l=H[o+H[a+28>>2]>>2]-1|0;if(l>>>0>=e>>>0){e=H[a+24>>2];e=e>>>0>l>>>0?l:e}H[g+o>>2]=e+h;o=f+1<<2;l=H[o+H[a+28>>2]>>2]-1|0;if(l>>>0>=e>>>0){e=H[a+24>>2];e=e>>>0>l>>>0?l:e}H[g+o>>2]=e+h;f=f+2|0;m=m+2|0;if((n|0)!=(m|0)){continue}break}}if(!(j&1)){break j}j=f<<2;f=H[j+H[a+28>>2]>>2]-1|0;if(f>>>0>=e>>>0){a=H[a+24>>2];e=a>>>0>f>>>0?f:a}H[g+j>>2]=e+h}H[b>>2]=g;if(!c){break h}}H[c>>2]=k}if(!d){break g}H[d>>2]=q}e=H[i+8>>2];if(!e|!k){break f}if(k){Ya[H[p+8>>2]](p,k)}e=H[i+8>>2]}if(!e|!g){break a}if(g){Ya[H[p+8>>2]](p,g)}e=H[i+8>>2]}Wa=i+16|0;return e}function $e(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=I[b|0]|I[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0<=c>>>0){H[a+8>>2]=H[40910];b=H[40909];H[a>>2]=H[40908];H[a+4>>2]=b;return}h=I[b+2|0];n=(N(h,l+1|0)+b|0)+3|0;d=0;a:{if(!h){break a}d=0;j=(N(c,h)+b|0)+3|0;f=j;k=h-1|0;if(k>>>0>=3){i=h&252;f=j;while(1){e=f;f=e+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}e=h&3;if(e){while(1){g=I[f|0]|g<<8;f=f+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;f=(N(c+1|0,h)+b|0)+3|0;d=f;if(k>>>0>=3){m=h&252;d=f;while(1){c=d;d=c+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){e=I[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}m=0;i=0;d=j;if(k>>>0>=3){o=h&252;while(1){c=d;d=c+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){i=I[d|0]|i<<8;d=d+1|0;m=m+1|0;if((c|0)!=(m|0)){continue}break}}n=g+n|0;d=0;if(e>>>0>>0){break a}e=0;g=0;d=f;if(k>>>0>=3){i=h&252;while(1){c=d;d=c+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){g=I[d|0]|g<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=h&3;d=(N(h,l)+b|0)+3|0;i=0;if(k>>>0<3){e=0}else{l=h&252;e=0;while(1){b=d;d=b+4|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){e=I[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}c=h&3;g=0;if(k>>>0<3){d=0}else{e=h&252;d=0;while(1){b=f;f=b+4|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){d=I[f|0]|d<<8;f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}c=h&3;g=0;if(k>>>0<3){f=0}else{e=h&252;f=0;while(1){b=j;j=b+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){f=I[j|0]|f<<8;j=j+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d-f|0}H[a+8>>2]=0;H[a+4>>2]=d;H[a>>2]=n-1}function ns(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=1;a:{b:{c:{switch(I[a+5|0]){case 0:e=0;f=H[b+4>>2];g=a+8|0;if(f>>>0>g>>>0){break b}d=H[b+8>>2];if(d>>>0>>0|d-g>>>0<8){break b}g=H[b+12>>2]-8|0;H[b+12>>2]=g;if((g|0)<=0){break b}c=I[a+8|0]|I[a+9|0]<<8;if(c){a=a+16|0;if(a>>>0>>0|a>>>0>d>>>0){break b}h=d-a|0;a=N((c<<8|c>>>8)&65535,6);if(h>>>0>>0){break b}a=g-a|0;H[b+12>>2]=a;if((a|0)<=0){break b}}return 1;case 1:e=0;if(K[b+4>>2]>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<18){break b}d=H[b+12>>2]-18|0;H[b+12>>2]=d;if((d|0)<=0){break b}return Vh(a+8|0,b)|0;case 2:d:{e:{g=H[b+4>>2];if(g>>>0>a>>>0){break e}d=H[b+8>>2];if(d>>>0>>0){break e}j=d-a|0;if(j>>>0<16){break e}e=H[b+12>>2];c=e-16|0;H[b+12>>2]=c;if((c|0)<=0){break e}c=a+10|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break e}c=e-18|0;H[b+12>>2]=c;if((c|0)<=0){break e}c=I[a+10|0]|I[a+11|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}f=e-22|0;H[b+12>>2]=f;if((f|0)<=0){break e}f=c+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break e}e=e-24|0;H[b+12>>2]=e;if((e|0)<=0){break e}f:{f=I[c+2|0]|I[c+3|0]<<8;if(!f){break f}c=c+4|0;if(c>>>0>>0|c>>>0>d>>>0){break e}h=d-c|0;c=((f<<8|f>>>8)&65535)<<1;if(h>>>0>>0){break e}e=e-c|0;H[b+12>>2]=e;if((e|0)>0){break f}break e}c=a+12|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break e}H[b+12>>2]=e-2;if((e|0)<3){break e}c=I[a+12|0]|I[a+13|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}H[b+12>>2]=e-6;if((e|0)<7){break e}f=c+2|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break e}f=e-8|0;H[b+12>>2]=f;if((e|0)<9){break e}e=1;g:{i=I[c+2|0]|I[c+3|0]<<8;if(!i){break g}h=g;g=c+4|0;if(h>>>0>g>>>0|d>>>0>>0){break e}g=d-g|0;d=((i<<8|i>>>8)&65535)<<1;if(g>>>0>>0){break e}f=f-d|0;H[b+12>>2]=f;if((f|0)>0){break g}break e}a=I[a+14|0]|I[a+15|0]<<8;h:{if(!a){break h}e=0;a=(a<<8|a>>>8)&65535;if(a>>>0>j>>>0){break h}a=f-a|0;H[b+12>>2]=a;e=(a|0)>0}break d}e=0}return e|0;case 3:break c;default:break b}}f=H[b+4>>2];if(f>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break a}g=H[b+12>>2]-14|0;H[b+12>>2]=g;if((g|0)<=0){break a}c=I[a+8|0]|I[a+9|0]<<8;c=N(I[a+12|0],I[a+11|0])+(I[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!c){break b}a=a+14|0;if(a>>>0>>0|a>>>0>d>>>0){break a}e=0;if(c>>>0>d-a>>>0){break b}a=g-c|0;H[b+12>>2]=a;e=(a|0)>0}return e|0}return 0}function KB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=H[b>>2];if(!f){return 35}b=6;a:{if(K[f+16>>2]<=c>>>0){break a}h=H[f+104>>2];g=H[f+292>>2];b=g+(c<<4)|0;j=G[b+6>>1];k=j+G[b+8>>1]|0;H[a+76>>2]=k;i=G[b>>1];b=G[b+2>>1];F[a+94|0]=1;G[a+92>>1]=1;e=b-i|0;H[a+80>>2]=e;b=3;b:{c:{switch((1<<(H[f+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}H[a+104>>2]=j;H[a+100>>2]=i;H[a+72>>2]=1651078259;H[a+84>>2]=b;b=G[(g+(c<<4)|0)+4>>1];H[a+36>>2]=j<<6;H[a+32>>2]=i<<6;H[a+28>>2]=k<<6;H[a+24>>2]=e<<6;H[a+40>>2]=b<<6;ff(a+24|0,H[f+208>>2]+H[f+204>>2]<<6);d:{if(d&4194304){break d}d=N(H[a+76>>2],H[a+84>>2]);b=Wg(a,d);if(b){break a}b=ob(h,H[(g+(c<<4)|0)+12>>2]);if(b){break a}b=ec(h,H[a+88>>2],d);if(b){break a}c=H[f+312>>2];if(!(!d|c&8)){i=d-1|0;c=H[a+88>>2];h=d&3;e:{if(!h){b=d;break e}e=0;b=d;while(1){g=I[c|0];g=g>>>4|(g&15)<<4;g=g>>>2&51|(g&51)<<2;F[c|0]=g>>>1&85|(g&85)<<1;c=c+1|0;b=b-1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(i>>>0>=3){while(1){e=I[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;F[c|0]=e>>>1&85|(e&85)<<1;e=I[c+1|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;F[c+1|0]=e>>>1&85|(e&85)<<1;e=I[c+2|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;F[c+2|0]=e>>>1&85|(e&85)<<1;e=I[c+3|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;F[c+3|0]=e>>>1&85|(e&85)<<1;c=c+4|0;b=b-4|0;if(b){continue}break}}c=H[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}b=0;f:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break a}a=H[a+88>>2];c=d-2|0;f=(c>>>1|0)+1&3;if(f){while(1){e=I[a+1|0];F[a+1|0]=I[a|0];F[a|0]=e;a=a+2|0;d=d-2|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=0;if(c>>>0<6){break a}while(1){c=I[a+1|0];F[a+1|0]=I[a|0];F[a|0]=c;c=I[a+2|0];F[a+2|0]=I[a+3|0];F[a+3|0]=c;c=I[a+4|0];F[a+4|0]=I[a+5|0];F[a+5|0]=c;c=I[a+6|0];F[a+6|0]=I[a+7|0];F[a+7|0]=c;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break a;case 2:break f;default:break a}}if(d>>>0<4){break d}a=H[a+88>>2];b=d-4|0;if(!(b&4)){c=I[a+3|0];F[a+3|0]=I[a|0];F[a|0]=c;c=I[a+1|0];F[a+1|0]=I[a+2|0];F[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break d}while(1){b=I[a+3|0];F[a+3|0]=I[a|0];F[a|0]=b;b=I[a+1|0];F[a+1|0]=I[a+2|0];F[a+2|0]=b;b=I[a+4|0];F[a+4|0]=I[a+7|0];F[a+7|0]=b;b=I[a+5|0];F[a+5|0]=I[a+6|0];F[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}b=0}return b|0}function RF(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-1072|0;Wa=j;H[j+16>>2]=f;H[j+20>>2]=g;H[j+24>>2]=h;H[j+28>>2]=i;a=j+960|0;H[j+956>>2]=a;k=Ud(a,100,238817,j+16|0);H[j+48>>2]=594;a=j+48|0;p=ic(j+536|0,0,a);H[j+48>>2]=594;l=ic(j+528|0,0,a);n=j+544|0;a:{b:{c:{d:{if(k>>>0>=100){H[65057]=0;a=la(995)|0;k=H[65057];H[65057]=0;if((k|0)==1){break d}H[j>>2]=f;H[j+4>>2]=g;H[65057]=0;H[j+8>>2]=h;H[j+12>>2]=i;k=ga(1018,j+956|0,a|0,238817,j|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}e:{if((k|0)!=-1){wc(p,H[j+956>>2]);wc(l,tb(k<<2));if(H[l>>2]){break e}}H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break d}break a}n=H[l>>2]}H[65057]=0;a=H[d+28>>2];H[j+520>>2]=a;H[a+4>>2]=H[a+4>>2]+1;a=H[65057];H[65057]=0;f:{g:{h:{i:{j:{k:{if((a|0)!=1){H[65057]=0;r=aa(998,j+520|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break k}H[65057]=0;a=H[j+956>>2];ga(1012,r|0,a|0,a+k|0,n|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break k}q=(k|0)>0?I[H[j+956>>2]]==45:q;h=Ib(j+488|0);f=Ib(j+472|0);g=Ib(j+456|0);H[65057]=0;ta(1059,c|0,q|0,j+520|0,j+512|0,j+508|0,j+504|0,h|0,f|0,g|0,j+452|0);a=H[65057];H[65057]=0;if((a|0)==1){break j}H[j+36>>2]=594;i=ic(j+40|0,0,j+36|0);c=j+48|0;a=H[j+452>>2];l:{if((a|0)<(k|0)){s=H[j+452>>2];if(I[f+11|0]>>>7|0){m=H[f+4>>2]}else{m=I[f+11|0]}if(I[g+11|0]>>>7|0){o=H[g+4>>2]}else{o=I[g+11|0]}a=(s+(m+(o+(k-a<<1)|0)|0)|0)+1|0;break l}o=H[j+452>>2];if(I[g+11|0]>>>7|0){a=H[g+4>>2]}else{a=I[g+11|0]}if(I[f+11|0]>>>7|0){m=H[f+4>>2]}else{m=I[f+11|0]}a=(o+(a+m|0)|0)+2|0}if(a>>>0<101){break i}wc(i,tb(a<<2));c=H[i>>2];if(c){break i}H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break a}break h}k=$()|0;_()|0;break b}k=$()|0;_()|0;break f}k=$()|0;_()|0;break g}a=H[d+4>>2];H[65057]=0;ua(1060,c|0,j+36|0,j+32|0,a|0,n|0,(k<<2)+n|0,r|0,q|0,j+512|0,H[j+508>>2],H[j+504>>2],h|0,f|0,g|0,H[j+452>>2]);a=H[65057];H[65057]=0;if((a|0)!=1){H[65057]=0;c=ma(1031,b|0,c|0,H[j+36>>2],H[j+32>>2],d|0,e|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){break c}}}k=$()|0;_()|0;Hb(i)}Sb(g);Sb(f);nb(h)}a=H[j+520>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break b}k=$()|0;_()|0;break b}Hb(i);Sb(g);Sb(f);nb(h);a=H[j+520>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Hb(l);Hb(p);Wa=j+1072|0;return c|0}Hb(l);Hb(p);ba(k|0);X()}X()}function Ss(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=I[b|0]|I[b+1|0]<<8;l=(d<<8|d>>>8)&65535;if(l>>>0>c>>>0){h=I[b+2|0];n=(N(h,l+1|0)+b|0)+3|0;d=0;a:{if(!h){break a}d=0;j=(N(c,h)+b|0)+3|0;f=j;k=h-1|0;if(k>>>0>=3){i=h&252;f=j;while(1){e=f;f=e+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}e=h&3;if(e){while(1){g=I[f|0]|g<<8;f=f+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=0;e=0;f=(N(c+1|0,h)+b|0)+3|0;d=f;if(k>>>0>=3){m=h&252;d=f;while(1){c=d;d=c+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){e=I[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}m=0;i=0;d=j;if(k>>>0>=3){o=h&252;while(1){c=d;d=c+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){i=I[d|0]|i<<8;d=d+1|0;m=m+1|0;if((c|0)!=(m|0)){continue}break}}n=g+n|0;d=0;if(e>>>0>>0){break a}e=0;g=0;d=f;if(k>>>0>=3){i=h&252;while(1){c=d;d=c+4|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=h&3;if(c){while(1){g=I[d|0]|g<<8;d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=h&3;d=(N(h,l)+b|0)+3|0;i=0;if(k>>>0<3){e=0}else{l=h&252;e=0;while(1){b=d;d=b+4|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){e=I[d|0]|e<<8;d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}d=0;if(e>>>0>>0){break a}c=h&3;g=0;if(k>>>0<3){d=0}else{e=h&252;d=0;while(1){b=f;f=b+4|0;d=d+4|0;if((e|0)!=(d|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){d=I[f|0]|d<<8;f=f+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}c=h&3;g=0;if(k>>>0<3){f=0}else{e=h&252;f=0;while(1){b=j;j=b+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){f=I[j|0]|f<<8;j=j+1|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d-f|0}H[a+8>>2]=0;H[a+4>>2]=d;H[a>>2]=n-1;return}H[a+8>>2]=H[40910];b=H[40909];H[a>>2]=H[40908];H[a+4>>2]=b}function Kx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Wa-16|0;Wa=e;l=H[a+100>>2];H[e+8>>2]=0;c=Ya[H[a+516>>2]](a,1129333068,b,e+4|0)|0;H[e+12>>2]=c;a:{b:{if(c){break b}c=H[e+4>>2];c:{if(c>>>0<12){break c}c=Jc(b,c,e+8|0);H[e+12>>2]=c;if(c){break b}c=H[e+8>>2];j=zb(l,20,e+12|0);if(H[e+12>>2]){break b}d=I[c|0]|I[c+1|0]<<8;h=d<<8|d>>>8;G[j>>1]=h;if((h&65535)>>>0>1){break c}d=I[c+2|0]|I[c+3|0]<<8;k=d<<8|d>>>8;G[a+660>>1]=k;d=I[c+4|0]|I[c+5|0]<<8;d=d<<8|d>>>8;G[a+648>>1]=d;f=I[c+6|0]|I[c+7|0]<<8;n=f<<8|f>>>8;G[j+2>>1]=n;m=d&65535;f=m<<1;d=H[e+4>>2];if(f+12>>>0>d>>>0){break c}g=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);i=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(i>>>0>=d>>>0){break c}g=n&65535;if(d-i>>>0>>0|g>>>0<(k&65535)>>>0){break c}c=c+12|0;H[j+8>>2]=c;g=H[e+8>>2];H[j+4>>2]=i+g;d:{if((h&65535)!=1){break d}if(d>>>0>>0){break c}c=c+f|0;h=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);i=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(f>>>0>d-c>>>0|c>>>0>=d>>>0){break c}d=jb(l,2,0,m,0,e+12|0);if(H[e+12>>2]){break b}g=H[e+8>>2];k=d+(J[a+648>>1]<<1)|0;if(k>>>0>d>>>0){f=c+g|0;c=d;while(1){n=I[f|0]|I[f+1|0]<<8;G[c>>1]=n<<8|n>>>8;f=f+2|0;c=c+2|0;if(k>>>0>c>>>0){continue}break}}H[a+656>>2]=d}c=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(c){d=H[e+4>>2];if(d>>>0<=c>>>0){break c}m=d-c|0;d=J[a+648>>1];if(m>>>0>>0){break c}d=jb(l,2,0,d,0,e+12|0);if(H[e+12>>2]){break b}g=H[e+8>>2];h=d+(J[a+648>>1]<<1)|0;if(h>>>0>d>>>0){f=c+g|0;c=d;while(1){k=I[f|0]|I[f+1|0]<<8;G[c>>1]=k<<8|k>>>8;f=f+2|0;c=c+2|0;if(h>>>0>c>>>0){continue}break}}H[a+652>>2]=d}c=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);if(!c){break d}d=H[e+4>>2];if(d>>>0<=c>>>0){break c}m=d-c|0;d=J[a+660>>1];if(m>>>0>>0){break c}d=jb(l,2,0,d,0,e+12|0);if(H[e+12>>2]){break b}g=H[e+8>>2];h=d+(J[a+660>>1]<<1)|0;if(h>>>0>d>>>0){f=c+g|0;c=d;while(1){i=I[f|0]|I[f+1|0]<<8;G[c>>1]=i<<8|i>>>8;f=f+2|0;c=c+2|0;if(h>>>0>c>>>0){continue}break}}H[a+664>>2]=d}H[j+12>>2]=g;H[j+16>>2]=H[e+4>>2];H[a+868>>2]=j;g=0;o=a,p=jb(l,4,0,J[a+660>>1],0,e+12|0),H[o+672>>2]=p;if(H[e+12>>2]){break b}if(!Bm(a,0)){break a}}H[e+12>>2]=8}bc(b,e+8|0);if(j){Ya[H[l+8>>2]](l,j)}H[a+868>>2]=0;g=H[e+12>>2]}Wa=e+16|0;return g|0}function VF(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-464|0;Wa=j;H[j+16>>2]=f;H[j+20>>2]=g;H[j+24>>2]=h;H[j+28>>2]=i;a=j+352|0;H[j+348>>2]=a;k=Ud(a,100,238817,j+16|0);H[j+48>>2]=594;a=j+48|0;p=ic(j+232|0,0,a);H[j+48>>2]=594;l=ic(j+224|0,0,a);n=j+240|0;a:{b:{c:{d:{if(k>>>0>=100){H[65057]=0;a=la(995)|0;k=H[65057];H[65057]=0;if((k|0)==1){break d}H[j>>2]=f;H[j+4>>2]=g;H[65057]=0;H[j+8>>2]=h;H[j+12>>2]=i;k=ga(1018,j+348|0,a|0,238817,j|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}e:{if((k|0)!=-1){wc(p,H[j+348>>2]);wc(l,tb(k));if(H[l>>2]){break e}}H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break d}break a}n=H[l>>2]}H[65057]=0;a=H[d+28>>2];H[j+216>>2]=a;H[a+4>>2]=H[a+4>>2]+1;a=H[65057];H[65057]=0;f:{g:{h:{i:{j:{k:{if((a|0)!=1){H[65057]=0;r=aa(892,j+216|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break k}H[65057]=0;a=H[j+348>>2];ga(991,r|0,a|0,a+k|0,n|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break k}q=(k|0)>0?I[H[j+348>>2]]==45:q;h=Ib(j+192|0);f=Ib(j+176|0);g=Ib(j+160|0);H[65057]=0;ta(1057,c|0,q|0,j+216|0,j+208|0,j+207|0,j+206|0,h|0,f|0,g|0,j+156|0);a=H[65057];H[65057]=0;if((a|0)==1){break j}H[j+36>>2]=594;i=ic(j+40|0,0,j+36|0);c=j+48|0;a=H[j+156>>2];l:{if((a|0)<(k|0)){s=H[j+156>>2];if(I[f+11|0]>>>7|0){m=H[f+4>>2]}else{m=I[f+11|0]}if(I[g+11|0]>>>7|0){o=H[g+4>>2]}else{o=I[g+11|0]}a=(s+(m+(o+(k-a<<1)|0)|0)|0)+1|0;break l}o=H[j+156>>2];if(I[g+11|0]>>>7|0){a=H[g+4>>2]}else{a=I[g+11|0]}if(I[f+11|0]>>>7|0){m=H[f+4>>2]}else{m=I[f+11|0]}a=(o+(a+m|0)|0)+2|0}if(a>>>0<101){break i}wc(i,tb(a));c=H[i>>2];if(c){break i}H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break a}break h}k=$()|0;_()|0;break b}k=$()|0;_()|0;break f}k=$()|0;_()|0;break g}a=H[d+4>>2];H[65057]=0;ua(1058,c|0,j+36|0,j+32|0,a|0,n|0,k+n|0,r|0,q|0,j+208|0,F[j+207|0],F[j+206|0],h|0,f|0,g|0,H[j+156>>2]);a=H[65057];H[65057]=0;if((a|0)!=1){H[65057]=0;c=ma(1020,b|0,c|0,H[j+36>>2],H[j+32>>2],d|0,e|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){break c}}}k=$()|0;_()|0;Hb(i)}nb(g);nb(f);nb(h)}a=H[j+216>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break b}k=$()|0;_()|0;break b}Hb(i);nb(g);nb(f);nb(h);a=H[j+216>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Hb(l);Hb(p);Wa=j+464|0;return c|0}Hb(l);Hb(p);ba(k|0);X()}X()}function fv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=Wa-16|0;Wa=k;f=H[a+492>>2];i=H[b+8>>2];Ya[H[b+28>>2]](b);d=H[b>>2];a:{if(i>>>0<=d>>>0){H[b+12>>2]=3;break a}b:{l=I[d|0];if(!(l-48>>>0>=10&(l|0)!=91)){g=H[b+16>>2];c:{if((l|0)==91){H[b>>2]=d+1;h=256;break c}e=3;h=Ya[H[b+36>>2]](b)|0;if((h|0)>256){break b}}Ya[H[b+28>>2]](b);if(K[b>>2]>=i>>>0){break a}j=b+92|0;c=H[a+384>>2];d:{if(!c){break d}if(c){Ya[H[g+8>>2]](g,c)}H[a+384>>2]=0;c=H[a+388>>2];if(c){Ya[H[g+8>>2]](g,c)}H[a+388>>2]=0;c=H[b+140>>2];if(!c){break d}Ya[c|0](j)}H[a+372>>2]=h;H[b+88>>2]=h;n=a,o=jb(g,2,0,h,0,k+12|0),H[n+384>>2]=o;e=H[k+12>>2];if(e){break b}n=a,o=jb(g,4,0,h,0,k+12|0),H[n+388>>2]=o;e=H[k+12>>2];if(e){break b}e=Ya[H[H[f>>2]>>2]](j,h,g)|0;H[k+12>>2]=e;if(e){break b}e:{if((h|0)<=0){break e}f=0;c=0;if(h-1>>>0>=3){g=h&-4;e=0;while(1){Ya[H[b+136>>2]](j,c,10293,8)|0;Ya[H[b+136>>2]](j,c|1,10293,8)|0;Ya[H[b+136>>2]](j,c|2,10293,8)|0;Ya[H[b+136>>2]](j,c|3,10293,8)|0;c=c+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}e=h&3;if(!e){break e}while(1){Ya[H[b+136>>2]](j,c,10293,8)|0;c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}Ya[H[b+28>>2]](b);c=H[b>>2];f:{if(i>>>0<=c>>>0){break f}m=(l|0)==91;e=0;while(1){g:{h:{i:{f=I[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(I[c+1|0]!=101|i>>>0<=d>>>0|I[c+2|0]!=102){break g}switch(I[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((l|0)!=91&f-48>>>0>=10)){m:{if(m){d=c;f=e;break m}f=Ya[H[b+36>>2]](b)|0;Ya[H[b+28>>2]](b);d=H[b>>2];if((d|0)==(c|0)){break k}}if(I[d|0]!=47|d+2>>>0>=i>>>0|(e|0)>=(h|0)){break l}d=d+1|0;H[b>>2]=d;Ya[H[b+32>>2]](b);c=H[b>>2];if(H[b+12>>2]|c>>>0>=i>>>0){break a}g=c-d|0;c=Ya[H[b+136>>2]](j,f,d,g+1|0)|0;H[b+12>>2]=c;if(c){break a}F[g+H[H[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break j}Ya[H[b+32>>2]](b);d=c;if(H[b+12>>2]){break a}break j}if(!m){break j}}H[b+12>>2]=2;break a}Ya[H[b+28>>2]](b);c=H[b>>2];if(i>>>0>c>>>0){continue}break}}H[a+368>>2]=1;H[b>>2]=d;break a}n:{if(d+17>>>0>=i>>>0){break n}if(ub(d,12672,16)){break n}H[a+368>>2]=2;break a}o:{if(d+15>>>0>=i>>>0){break o}if(ub(d,12736,14)){break o}H[a+368>>2]=4;break a}p:{if(d+18>>>0>=i>>>0){break p}if(ub(d,12844,17)){break p}H[a+368>>2]=3;break a}H[b+12>>2]=162;break a}H[b+12>>2]=e}Wa=k+16|0}function Nh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{d=I[a|0]|I[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 13:break b;case 12:break c;case 10:break d;case 6:break e;case 4:break f;case 0:break g;default:break a}}if(b>>>0>255){break a}a=I[(a+b|0)+6|0];if(!a){break a}H[c>>2]=a;return 1}d=0;e=I[a+6|0]|I[a+7|0]<<8;e=(e<<8|e>>>8)&65535;h:{if(e>>>0<2){break h}d=I[a+2|0]|I[a+3|0]<<8;e=e>>>1|0;n=(((d<<8|d>>>8)&65535)-(e<<3)|0)-16>>>1|0;d=e<<1;j=(d+a|0)+16|0;k=j+d|0;l=k+d|0;o=l+d|0;d=e-1|0;p=e+1<<1;i:{while(1){g=d+f|0;h=g>>>1|0;g=g&-2;i=(g+a|0)+14|0;m=I[i|0]|I[i+1|0]<<8;j:{if(((m<<8|m>>>8)&65535)>>>0>=b>>>0){d=i+p|0;d=I[d|0]|I[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break i}d=h-1|0;break j}f=h+1|0}if((d|0)>=(f|0)){continue}break}d=0;break h}a=g>>1;d=g+l|0;f=I[d|0]|I[d+1|0]<<8;if(f){d=0;e=a+(b-e|0)+(((f<<8|f>>>8)&65534)>>>1)|0;b=(a<<1)+j|0;b=I[b|0]|I[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=n>>>0){break h}b=(b<<1)+o|0;b=I[b|0]|I[b+1|0]<<8;if(!b){break h}b=(b<<8|b>>>8)&65535}d=0;a=(a<<1)+k|0;a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break h}H[c>>2]=a;d=1}return d}e=b;b=I[a+6|0]|I[a+7|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;e=((b<<1)+a|0)+10|0;a=I[a+8|0]|I[a+9|0]<<8;a=b>>>0<((a<<8|a>>>8)&65535)>>>0?e:163632;a=I[a|0]|I[a+1|0]<<8;if(a){H[c>>2]=(a<<8|a>>>8)&65535}return(a|0)!=0}e=b;b=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);b=e-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;e=((b<<1)+a|0)+20|0;a=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);a=b>>>0<(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0?e:163632;a=I[a|0]|I[a+1|0]<<8;if(a){H[c>>2]=(a<<8|a>>>8)&65535}return(a|0)!=0}return Qk(a,b,c)}d=0;f=164030;e=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);k:{if((e|0)<=0){break k}h=e-1|0;while(1){g=d+h>>>1|0;e=N(g,12)+a|0;i=I[e+16|0]|I[e+17|0]<<8|(I[e+18|0]<<16|I[e+19|0]<<24);l:{if((i<<24|i<<8&16711680|(i>>>8&65280|i>>>24))>>>0<=b>>>0){d=e;d=I[d+20|0]|I[d+21|0]<<8|(I[d+22|0]<<16|I[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>>0){d=g+1|0;break l}f=(N(g,12)+a|0)+16|0;break k}h=g-1|0}if((d|0)<=(h|0)){continue}break}}a=I[f+8|0]|I[f+9|0]<<8|(I[f+10|0]<<16|I[f+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){H[c>>2]=a}h=(a|0)!=0}return h}function Bx(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=3;a:{if((d|e)<0){break a}j=H[a+8>>2];f=H[a+12>>2];i=J[f+2>>1];if(K[j+4>>2]>>0){break a}f=J[f>>1];if(K[j>>2]>>0){break a}i=N(i,I[a+18|0]);if(N(i+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=H[j+8>>2];j=H[j+12>>2];c=(a+N(h,e)|0)+j|0;g=d&7;if(g){k=0;if(!f){break a}if(i>>>0>=8){while(1){d=0;e=i;a=c;while(1){j=a;k=b;d=I[b|0]|d;F[a|0]=I[a|0]|d>>>g;l=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((l|0)>15){continue}break}if((l|0)>8){d=I[k+1|0]&65280>>>e|d;b=k+2|0}F[a|0]=I[a|0]|d>>>g;if((e+g|0)>=9){F[j+2|0]=I[j+2|0]|d<<8>>>g}c=c+h|0;a=f;f=a-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>i|0;if(g+i>>>0>=9){if(!i){break a}if((h|0)!=1){if(f&1){a=d&I[b|0];F[c|0]=I[c|0]|a>>>g;F[c+1|0]=I[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&I[b|0];F[c|0]=I[c|0]|e>>>g;F[c+1|0]=I[c+1|0]|e<<8>>>g;c=c+h|0;e=d&I[b+1|0];F[c|0]=I[c|0]|e>>>g;F[c+1|0]=I[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}e=I[j+(a+e|0)|0];if(f&1){a=d&I[b|0];F[c|0]=a>>>g|e;e=I[c+1|0]|a<<8>>>g;F[c+1|0]=e;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&I[b|0];F[c|0]=f|e>>>g;e=I[c+1|0]|e<<8>>>g;F[c+1|0]=e;c=c+h|0;f=d&I[b+1|0];F[c|0]=e|f>>>g;e=I[c+1|0]|f<<8>>>g;F[c+1|0]=e;b=b+2|0;c=c+h|0;f=a-3|0;a=a-2|0;if(f>>>0<4294967294){continue}break}break a}if(!i){break a}if(f&1){F[c|0]=I[c|0]|(d&I[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){F[c|0]=I[c|0]|(d&I[b|0])>>>g;c=c+h|0;F[c|0]=I[c|0]|(d&I[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}k=0;if(!f){break a}if(i>>>0>=8){while(1){a=f;d=i;f=c;while(1){e=b;F[f|0]=I[b|0]|I[f|0];j=d;d=d-8|0;f=f+1|0;b=b+1|0;if((j|0)>15){continue}break}if((j|0)>8){F[f|0]=I[f|0]|I[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!i){break a}d=65280>>>i|0;e=f-1|0;i=f&3;if(i){a=0;while(1){F[c|0]=I[c|0]|d&I[b|0];c=c+h|0;f=f-1|0;b=b+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(e>>>0<3){break a}while(1){F[c|0]=I[c|0]|d&I[b|0];a=c+h|0;F[a|0]=I[a|0]|d&I[b+1|0];a=a+h|0;F[a|0]=I[a|0]|d&I[b+2|0];a=a+h|0;F[a|0]=I[a|0]|d&I[b+3|0];b=b+4|0;c=a+h|0;a=f-5|0;f=f-4|0;if(a>>>0<4294967294){continue}break}}return k|0}function Hh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;H[a>>2]=0;H[a+4>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+192>>2]=0;H[a+196>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;H[a+100>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;F[a+44|0]=0;H[a+40>>2]=65536;H[a+56>>2]=0;H[a+60>>2]=0;c=a- -64|0;H[c>>2]=0;H[c+4>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+200>>2]=0;H[a+204>>2]=0;H[a+208>>2]=0;H[a+212>>2]=0;H[a+216>>2]=0;H[a+220>>2]=0;H[a+224>>2]=0;H[a+228>>2]=0;H[a+232>>2]=0;H[a+236>>2]=0;H[a+240>>2]=0;H[65057]=0;da(681,a|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){a:{b:{if(!H[a>>2]|H[a+148>>2]!=-1){break b}if(H[a+216>>2]){while(1){H[65057]=0;g=gk(a,h);b=H[65057];H[65057]=0;c:{d:{if((b|0)!=1){if(g>>>0>390){break d}b=g<<2;c=H[b+115968>>2];j=H[b+115972>>2]+(c^-1)|0;i=c+109072|0;break c}break a}b=H[a+64>>2];H[65057]=0;$e(f,b,g-391|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}i=H[f>>2];if(i){j=H[f+4>>2];break c}H[65057]=0;fa(657,a|0);b=H[65057];H[65057]=0;if((b|0)!=1){break b}break a}c=H[a+232>>2];e:{if((c|0)<0){b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;break e}f:{e=c;b=H[a+236>>2];d=b+1|0;d=(d|0)>0?d:0;if(c>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(d>>>0>=e>>>0){continue}break}if(c>>>0>e>>>0|e>>>0>268435454){break f}b=Eb(H[a+240>>2],e<<4);if(!b){break f}H[a+232>>2]=e;H[a+240>>2]=b;b=H[a+236>>2]}if(b>>>0>>0){while(1){H[a+236>>2]=b+1;b=H[a+240>>2]+(b<<4)|0;H[b>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;b=H[a+236>>2];if(d>>>0>b>>>0){continue}break}}H[a+236>>2]=d;c=H[a+240>>2];b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=c+(d-1<<4)|0;if((b|0)==259040){break e}H[b>>2]=i;G[b+12>>1]=g;H[b+8>>2]=0;H[b+4>>2]=j;break e}H[a+232>>2]=-1;b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b}h=h+1|0;if(h>>>0>2]){continue}break}}b=H[a+236>>2];if(!b){break b}Ts(H[a+240>>2],b,16)}Wa=f+16|0;return a|0}}b=$()|0;_()|0;H[a+236>>2]=0;hb(H[a+240>>2]);H[a+240>>2]=0;H[a+232>>2]=0;H[a+236>>2]=0;H[a+224>>2]=0;hb(H[a+228>>2]);H[a+228>>2]=0;H[a+220>>2]=0;H[a+224>>2]=0;it(a);ba(b|0);X()}function Wj(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=Wa-16|0;Wa=q;a:{if(b>>>0>64){a=0;break a}o=H[a+100>>2];k=H[o+64>>2];H[a+40>>2]=b-1;H[a+4>>2]=k;i=H[H[a+8>>2]+100>>2];H[a+44>>2]=H[i+68>>2];l=(k|0)==H[i+64>>2]?I[(H[i+80>>2]+N(k,20)|0)+15|0]:l;H[a+36>>2]=c;H[a+32>>2]=e;H[a+28>>2]=d;F[a+24|0]=l;c=H[o+80>>2]+N(k,20)|0;i=I[c+14|0];e=i&16;b:{c:{d:{if(I[c+12|0]&4){if(!e){d=i>>>5|0;break d}d=i>>>5|0;c=i&15;break b}d=i>>>5|0;if(!e){break d}n=0;break c}n=i&15}c=1}j=a+4|0;H[g>>2]=k;e:{f:{g:{if(b>>>0<2){break g}p=1;h:{if(!(!n|i>>>0<32)){k=1;while(1){if(!Pc(j,q+12|0)){break f}H[(k<<2)+g>>2]=H[j>>2];l=H[o+80>>2];e=H[j>>2];a=I[(l+N(e,20)|0)+14|0];if((a>>>5|0)==(d|0)){a=((a&16?0:a&15)|0)==(n|0)}else{a=0}i:{if(a){break i}j:{switch(m|0){case 0:break j;case 1:break e;default:break i}}a=H[o+72>>2];e=H[o+84>>2];while(1){if(!a){break h}a=a-1|0;m=e+N(a,20)|0;i=I[m+14|0];if((i>>>5|0)!=(d|0)){break h}if(!(i&15?i&16:1)){continue}break}l=1;e=J[m+12>>1];i=H[j+8>>2];k:{if(e&i&14){break k}l:{if(!(e&8)){break l}if(i&16){e=H[H[j+4>>2]+108>>2];a=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65538){break k}a=I[e+12|0]|I[e+13|0]<<8;if(a){a=e+((a<<8|a>>>8)&65535)|0}else{a=163632}if((I[a|0]|I[a+1|0]<<8)!=256){break k}r=a;e=i>>>16|0;i=(a+(e<<2)|0)+4|0;a=I[a+2|0]|I[a+3|0]<<8;a=e>>>0<((a<<8|a>>>8)&65535)>>>0?i:163632;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((Kb(a?r+a|0:163632,H[m>>2])|0)==-1){break k}e=J[m+12>>1];break l}a=i&65280;if(!a){break l}if((a|0)!=(e&65280)){break k}}l=0;a=J[m+16>>1];if(e&16|(a&96)!=32|!I[j+12|0]&(a&543)==513){break k}l=I[j+13|0]?2:((a&287)!=257)<<1}if((l|0)!=1){break h}e=H[j>>2];l=H[o+80>>2];m=2}a=1;e=N(e,20)+l|0;m:{if(!(I[e+12|0]&4)){break m}e=I[e+14|0];if(!(e&16)){break m}a=e&15}c=a+c|0;k=k+1|0;p=k>>>0>>0;if((b|0)!=(k|0)){continue}break}break g}while(1){if(!Pc(j,q+12|0)){break f}H[(p<<2)+g>>2]=H[j>>2];a=H[o+80>>2]+N(H[j>>2],20)|0;n=I[a+14|0];m=n&15;e=n&16;if(!(e|((n>>>5|0)==(d|0)|n>>>0<32))){if(m){break e}}c=(J[a+12>>1]&4?e?m:1:1)+c|0;p=p+1|0;if((p|0)!=(b|0)){continue}break}break g}a=0;if(p&1){break a}}a=1;H[f>>2]=H[j>>2]+1;if(!h){break a}H[h>>2]=c;break a}H[f>>2]=H[q+12>>2]}a=0}Wa=q+16|0;return a}function gA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Wa-48|0;Wa=e;a:{b:{c:{if(!rb(b,21380)){f=6;if(d){break a}d=H[c>>2];b=0;c=14512;while(1){if(!((d|0)!=H[c+8>>2]|H[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=H[(c<<2)+16608>>2];if((d|0)==H[g+8>>2]&H[g+16>>2]==10){break c}c=b+2|0;g=H[(c<<2)+16608>>2];if((d|0)==H[g+8>>2]&H[g+16>>2]==10){break c}b=b+3|0;c=H[(b<<2)+16608>>2];if((b|0)!=87){continue}break}break a}if(!rb(b,21396)){f=6;if(d){break a}H[a+16>>2]=H[c>>2];break b}if(!rb(b,21411)){f=6;if(d){break a}b=H[c>>2];if(!b){f=35;break a}d=H[b+116>>2];H[e+16>>2]=d;if(!d){f=Kg(b,e+16|0,a);if(f){break a}d=H[e+16>>2];H[b+116>>2]=d;H[b+120>>2]=1}H[d+12>>2]=H[c+4>>2];break b}if(!rb(b,21429)){if(d){f=6;d:{switch(mc(c,0)|0){case 0:f=0;F[a+20|0]=0;break a;case 1:break d;default:break a}}F[a+20|0]=1;break b}F[a+20|0]=I[c|0];break b}if(!rb(b,21437)){e:{if(d){b=mc(c,e+12|0);f:{d=H[e+12>>2];g:{if(I[d|0]!=44|(c|0)==(d|0)){break g}d=d+1|0;l=e,m=mc(d,e+12|0),H[l+20>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+24>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+28>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+32>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+36>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+40>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break g}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+44>>2]=m;f=H[e+12>>2];if((I[f|0]|32)==32){break f}}f=6;break a}c=e+16|0;if((d|0)!=(f|0)){break e}f=6;break a}b=H[c>>2]}f=6;if((b|0)<0){break a}d=H[c+8>>2];if((d|0)<0){break a}g=H[c+16>>2];if((g|0)<0){break a}h=H[c+24>>2];if((h|0)<0){break a}i=H[c+4>>2];if((i|0)<0){break a}j=H[c+12>>2];if((j|0)<0){break a}k=H[c+20>>2];if((k|0)<0){break a}c=H[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}H[a+48>>2]=h;H[a+36>>2]=j;H[a+24>>2]=b;H[a+52>>2]=c;H[a+44>>2]=k;H[a+40>>2]=g;H[a+32>>2]=d;H[a+28>>2]=i;break b}f=12;if(rb(b,21458)){break a}if(d){f=0;if(!mc(c,0)){F[a+21|0]=0;break a}F[a+21|0]=1;break a}F[a+21|0]=I[c|0];break b}H[a+12>>2]=c}f=0}Wa=e+48|0;return f|0}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=Wa-16|0;Wa=m;h=H[a+12>>2];k=H[a+200>>2];b=H[a+196>>2];l=G[a+32>>1];a:{if(l){if(K[h+8>>2]>1]+(G[h+20>>1]+l|0)>>>0){c=vc(h,0,l);if(c){break a}}c=20;if((l|0)>4094){break a}}c=20;e=l<<1;if((e+b|0)+2>>>0>k>>>0){break a}d=H[h+68>>2];i=I[b|0];j=I[b+1|0]|i<<8;if((l|0)>0){G[d>>1]=j}if(i<<24>>16<0){break a}i=d+e|0;while(1){e=d+2|0;if(e>>>0>>0){d=I[b+2|0]|I[b+3|0]<<8;f=d<<8|d>>>8;G[e>>1]=f;g=j<<16;d=e;e=f<<16>>16;j=e;b=b+2|0;if((e|0)>g>>16){continue}break a}break}e=H[h+4>>2];f=G[h+58>>1];if((l|0)<=0){i=0}else{d=G[d>>1];if((d|0)<-1){break a}i=d+1|0}d=i+4|0;if(e>>>0>1]|0)>>>0){c=vc(h,d,0);if(c){break a}}d=H[a+8>>2];H[d+136>>2]=0;H[d+140>>2]=0;e=b+4|0;if(e>>>0>k>>>0){c=20;break a}b=I[b+2|0]|I[b+3|0]<<8;b=b<<8|b>>>8;b:{c:{d:{e:{if(I[a+16|0]&2){d=b&65535;break e}d=b&65535;if((d|0)>(k-e|0)){break d}c=H[a+156>>2];H[m+12>>2]=H[c+392>>2];c=em(H[c+8>>2],m+12|0,c+396|0,d);f=H[a+156>>2];H[f+392>>2]=J[m+12>>1];if(c){break a}c=H[a+8>>2];H[c+140>>2]=d;g=c;c=H[f+396>>2];H[g+136>>2]=c;if(!(b&65535)){break e}mb(c,e,d)}b=d+e|0;if((i|0)>0){e=H[h- -64>>2];c=i+e|0;while(1){f=b+1|0;if(f>>>0>k>>>0){c=20;break a}g=I[b|0];F[e|0]=g;d=e+1|0;f:{if(!(g&8)){b=f;break f}b=b+2|0;if(k>>>0>>0){c=20;break a}f=I[f|0];if(c>>>0>>0){c=20;break a}if(!f){break f}kb(d,g,f);d=((f-1&255)+e|0)+2|0}e=d;if(c>>>0>d>>>0){continue}break}}c=H[h+64>>2];if(!(!i|!(I[c|0]&64))){H[h+36>>2]=H[h+36>>2]|64}if(b>>>0>k>>>0){c=20;break a}if((i|0)<=0){break b}f=H[h+60>>2];o=f+(i<<3)|0;d=f;e=c;while(1){n=I[e|0];g:{if(n&2){g=b+1|0;if(g>>>0>k>>>0){c=20;break a}b=I[b|0];j=n&16?b:0-b|0;b=g;break g}j=0;if(n&16){break g}g=b+2|0;if(g>>>0>k>>>0){c=20;break a}b=I[b|0]|I[b+1|0]<<8;j=(b<<8|b>>>8)<<16>>16;b=g}p=j+p|0;H[d>>2]=p;e=e+1|0;d=d+8|0;if(o>>>0>d>>>0){continue}break}break c}c=22;break a}j=0;if((i|0)<=0){break b}while(1){g=I[c|0];h:{if(g&4){e=b+1|0;if(e>>>0>k>>>0){c=20;break a}b=I[b|0];d=g&32?b:0-b|0;b=e;break h}d=0;if(g&32){break h}e=b+2|0;if(e>>>0>k>>>0){c=20;break a}b=I[b|0]|I[b+1|0]<<8;d=(b<<8|b>>>8)<<16>>16;b=e}j=d+j|0;H[f+4>>2]=j;F[c|0]=g&1;c=c+1|0;f=f+8|0;if(o>>>0>f>>>0){continue}break}}G[h+56>>1]=l;G[h+58>>1]=i;H[a+196>>2]=b;c=0}Wa=m+16|0;return c|0}function dm(a,b){var c=0,d=0,e=0,f=0;f=H[H[a>>2]+96>>2];e=H[H[a+8>>2]+140>>2];if((e|0)>0){mb(H[a+132>>2],H[a+136>>2],J[a+128>>1]<<3)}mb(H[a+156>>2]+288|0,H[a+4>>2]+180|0,68);a:{if(b){c=H[a+156>>2];H[c+224>>2]=65536;H[c+228>>2]=65536;mb(H[a+140>>2],H[a+136>>2],J[a+128>>1]<<3);break a}c=H[a+156>>2];d=H[H[a+4>>2]+44>>2];H[c+224>>2]=H[d+4>>2];H[c+228>>2]=H[d+8>>2]}c=H[a+136>>2]+(J[a+128>>1]<<3)|0;d=c-32|0;H[d>>2]=H[d>>2]+32&-64;d=c-24|0;H[d>>2]=H[d>>2]+32&-64;d=c-12|0;H[d>>2]=H[d>>2]+32&-64;c=c-4|0;H[c>>2]=H[c>>2]+32&-64;b:{if((e|0)>0){d=H[H[a+12>>2]- -64>>2];c=H[a+156>>2];F[c+564|0]=b;H[c+468>>2]=e;H[c+464>>2]=H[c+396>>2];b=H[a+124>>2];H[c+144>>2]=H[a+120>>2];H[c+148>>2]=b;b=H[a+132>>2];H[c+152>>2]=H[a+128>>2];H[c+156>>2]=b;b=H[a+140>>2];H[c+160>>2]=H[a+136>>2];H[c+164>>2]=b;b=H[a+148>>2];H[c+168>>2]=H[a+144>>2];H[c+172>>2]=b;H[c+176>>2]=H[a+152>>2];b=H[a+156>>2];H[b+364>>2]=0;H[b+356>>2]=3;c=H[b+148>>2];H[b+36>>2]=H[b+144>>2];H[b+40>>2]=c;H[b+368>>2]=H[b+468>>2];c=H[b+156>>2];H[b+44>>2]=H[b+152>>2];H[b+48>>2]=c;c=H[b+164>>2];H[b+52>>2]=H[b+160>>2];H[b+56>>2]=c;c=H[b+172>>2];H[b+60>>2]=H[b+168>>2];H[b+64>>2]=c;H[b+68>>2]=H[b+176>>2];H[b+360>>2]=H[b+464>>2];c=H[b+148>>2];H[b+72>>2]=H[b+144>>2];H[b+76>>2]=c;c=H[b+156>>2];H[b+80>>2]=H[b+152>>2];H[b+84>>2]=c;c=H[b+164>>2];H[b+88>>2]=H[b+160>>2];H[b+92>>2]=c;c=H[b+172>>2];H[b+96>>2]=H[b+168>>2];H[b+100>>2]=c;H[b+104>>2]=H[b+176>>2];H[b+140>>2]=H[b+176>>2];c=H[b+172>>2];H[b+132>>2]=H[b+168>>2];H[b+136>>2]=c;c=H[b+164>>2];H[b+124>>2]=H[b+160>>2];H[b+128>>2]=c;c=H[b+156>>2];H[b+116>>2]=H[b+152>>2];H[b+120>>2]=c;c=H[b+148>>2];H[b+108>>2]=H[b+144>>2];H[b+112>>2]=c;G[b+352>>1]=1;H[b+348>>2]=65537;G[b+298>>1]=16384;G[b+300>>1]=0;G[b+302>>1]=16384;G[b+304>>1]=0;H[b+316>>2]=1;G[b+294>>1]=16384;G[b+296>>1]=0;H[b+308>>2]=1;H[b+432>>2]=0;H[b+16>>2]=0;b=Ya[H[H[b>>2]+708>>2]](b)|0;c=H[a+156>>2];if(I[c+565|0]?b:0){break b}F[d|0]=I[d|0]|I[c+344|0]<<5|4}if(H[f+64>>2]==40){b=0;if(I[H[a+156>>2]+615|0]){break b}}b=H[a+136>>2]+(J[a+128>>1]<<3)|0;c=b-32|0;e=H[c+4>>2];H[a+68>>2]=H[c>>2];H[a+72>>2]=e;c=b-24|0;e=H[c+4>>2];H[a+76>>2]=H[c>>2];H[a+80>>2]=e;c=b-16|0;e=H[c+4>>2];H[a+180>>2]=H[c>>2];H[a+184>>2]=e;b=b-8|0;c=H[b+4>>2];H[a+188>>2]=H[b>>2];H[a+192>>2]=c;b=0}return b}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Wa-16|0;Wa=f;H[f+8>>2]=0;a:{b:{c:{d:{e:{e=H[a+8>>2];f:{if(K[a+4>>2]<=e+3>>>0){break f}g:{h:{d=H[a+20>>2];if(d){if((Ya[d|0](a,e,f+12|0,4)|0)!=4){break f}e=H[a+8>>2];d=H[f+8>>2];g=f+12|0;break h}d=H[a>>2];if(d){g=d+e|0;d=0;break h}h=e+4|0;H[a+8>>2]=h;d=0;break g}g=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);h=e+4|0;H[a+8>>2]=h;if(d){break a}d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24)}g=d;d=2;if((b|0)!=(g|0)){break a}H[f+8>>2]=0;if(K[a+4>>2]<=e+7>>>0){break f}b=H[a+20>>2];i:{if(!b){H[a+8>>2]=h+4;break i}if((Ya[b|0](a,h,f+12|0,4)|0)!=4){break f}d=H[f+8>>2];h=H[a+8>>2];H[a+8>>2]=h+4;if(d){break a}}e=h+20|0;b=H[a+20>>2];j:{if(b){d=85;if(Ya[b|0](a,e,0,0)|0){break a}b=H[a+4>>2];break j}d=85;b=H[a+4>>2];if(e>>>0>b>>>0){break a}}H[a+8>>2]=e;H[f+8>>2]=0;if(h+21>>>0>=b>>>0){break f}b=H[a+20>>2];if(!b){break e}if((Ya[b|0](a,e,f+12|0,2)|0)==2){break d}}d=85;H[f+8>>2]=85;break a}b=H[a>>2];if(!b){break c}d=b+e|0;b=I[d+1|0];g=I[d|0];e=h+22|0;H[a+8>>2]=e;break b}b=I[f+13|0];g=I[f+12|0];d=H[f+8>>2];e=H[a+8>>2]+2|0;H[a+8>>2]=e;if(!d){break b}break a}H[a+8>>2]=h+22;d=2;break a}d=2;h=(b&255|g<<8)&65535;if(!h){break a}g=0;H[f+8>>2]=0;k:{if(K[a+4>>2]<=e+3>>>0){break k}while(1){l:{m:{n:{o:{p:{q:{b=H[a+20>>2];r:{if(b){if((Ya[b|0](a,e,f+12|0,4)|0)!=4){break k}e=H[a+8>>2];d=H[f+8>>2];b=f+12|0;break r}b=H[a>>2];if(!b){break q}d=0;b=b+e|0}i=I[b+3|0];j=I[b+2|0];k=I[b+1|0];l=I[b|0];b=e+4|0;H[a+8>>2]=b;if(d){break a}if((k<<16|l<<24|j<<8|i)==2){H[f+8>>2]=0;s:{if(K[a+4>>2]<=e+7>>>0){break s}d=H[a+20>>2];if(d){if((Ya[d|0](a,b,f+12|0,4)|0)!=4){break s}b=H[a+8>>2];e=H[f+8>>2];d=f+12|0;break n}d=H[a>>2];if(d){d=b+d|0;e=0;break n}H[a+8>>2]=e+8;b=0;break m}H[f+8>>2]=85;break l}d=e+12|0;b=H[a+20>>2];if(!b){break p}if(!(Ya[b|0](a,d,0,0)|0)){break o}d=85;break a}H[a+8>>2]=e+4;d=e+12|0}if(d>>>0<=K[a+4>>2]){break o}d=85;break a}H[a+8>>2]=d;H[f+8>>2]=0;break l}d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[a+8>>2]=b+4;if(e){break l}b=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24)}$b(a,f+8|0);if(H[f+8>>2]){break l}H[c>>2]=b;d=0;break a}g=g+1|0;if((h|0)==(g|0)){d=2;break a}e=H[a+8>>2];H[f+8>>2]=0;if(K[a+4>>2]>e+3>>>0){continue}break}}d=85}Wa=f+16|0;return d}function SL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;H[b>>2]=0;H[b+4>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b+24>>2]=0;H[b+28>>2]=-1;i=I[163632];k=i|256;f=!I[a+16|0];while(1){a:{c=H[a+12>>2];d=c+1|0;g=H[a+4>>2];j=d>>>0<=g>>>0&f;if(!j){break a}b:{c:{if(c>>>0>>0){h=H[a>>2];f=I[h+c|0];if((f|0)==12){c=k;if(d>>>0>=g>>>0){break c}f=I[d+h|0]|256;c=d}if(c>>>0>=g>>>0){c=f;break c}H[a+12>>2]=c+1;break b}F[a+16|0]=1;f=65535;c=i;if((c|0)==12){break b}}F[a+16|0]=1;H[a+12>>2]=g;f=c}d:{e:{f:{g:{h:{i:{j:{switch(f-18|0){default:k:{switch(f-261|0){case 0:case 2:break g;case 1:break i;default:break k}}if((f|0)!=294){break i}g=a+24|0;c=H[g>>2];l:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break l}e=M[H[a+36>>2]+(c<<3)>>3];break l}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}m:{if(P(e)<2147483648){c=~~e;break m}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+28>>2]=c;break f;case 0:g=a+24|0;c=H[g>>2];n:{if(c){c=c-1|0;H[a+24>>2]=c;if(K[a+32>>2]<=c>>>0){d=H[40909];h=H[40908];H[64760]=h;H[64761]=d;x(0,h|0);x(1,d|0);e=+z();break n}e=M[H[a+36>>2]+(c<<3)>>3];break n}F[a+20|0]=1;c=0;d=H[40909];h=H[40908];H[64760]=h;H[64761]=d;x(0,h|0);x(1,d|0);e=+z()}o:{if(P(e)<2147483648){d=~~e;break o}d=-2147483648}if((d|0)<0){F[a+20|0]=1;d=0}H[b+16>>2]=d;p:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z();break p}e=M[H[a+36>>2]+(c<<3)>>3];break p}F[a+20|0]=1;c=H[40909];d=H[40908];H[64760]=d;H[64761]=c;x(0,d|0);x(1,c|0);e=+z()}q:{if(P(e)<2147483648){c=~~e;break q}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+20>>2]=c;break f;case 11:kg(a+20|0,a);break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 12:break j}}e=jg(a);c=H[a+24>>2];if(c>>>0>2]){H[a+24>>2]=c+1;M[H[a+36>>2]+(c<<3)>>3]=e;break h}F[a+20|0]=1;c=H[40909];H[64760]=H[40908];H[64761]=c;M[32380]=e;break h}_e(f,a)}if(!H[a+24>>2]){break e}break d}g=a+24|0}H[g>>2]=0}if(I[a+20|0]|(I[a+40|0]|I[a+16|0])|H[a+28>>2]<0){break d}Fh(b,f,a)}if(I[a+20|0]|(I[a+40|0]|I[a+16|0])){break a}f=1;if(H[a+28>>2]>=0){continue}}break}return!j|0}function hi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;H[a+4>>2]=c;H[a>>2]=b;if(c){H[a+400>>2]=H[c+124>>2];H[a+404>>2]=H[c+128>>2];H[a+412>>2]=H[c+136>>2];H[a+416>>2]=H[c+140>>2];H[a+408>>2]=H[c+132>>2];H[a+420>>2]=H[c+144>>2];H[a+216>>2]=H[c+120>>2];d=H[c+80>>2];H[a+248>>2]=H[c+76>>2];H[a+252>>2]=d;d=H[c+88>>2];H[a+256>>2]=H[c+84>>2];H[a+260>>2]=d;d=H[c+96>>2];H[a+264>>2]=H[c+92>>2];H[a+268>>2]=d;d=H[c+104>>2];H[a+272>>2]=H[c+100>>2];H[a+276>>2]=d;d=H[c+112>>2];H[a+280>>2]=H[c+108>>2];H[a+284>>2]=d;d=H[c+44>>2];e=H[d+4>>2];H[a+220>>2]=H[d>>2];H[a+224>>2]=e;e=H[d+12>>2];H[a+228>>2]=H[d+8>>2];H[a+232>>2]=e;e=H[d+20>>2];H[a+236>>2]=H[d+16>>2];H[a+240>>2]=e;H[a+244>>2]=H[d+24>>2];H[a+424>>2]=H[c+148>>2];H[a+428>>2]=H[c+152>>2];d=H[c+160>>2];H[a+448>>2]=H[c+156>>2];H[a+452>>2]=d;d=H[c+168>>2];H[a+456>>2]=H[c+164>>2];H[a+460>>2]=d;d=H[c+176>>2];H[a+464>>2]=H[c+172>>2];H[a+468>>2]=d;mb(a+288|0,c+180|0,68);H[a+384>>2]=H[c+248>>2];H[a+388>>2]=H[c+252>>2];G[a+472>>1]=J[c+256>>1];H[a+476>>2]=H[c+260>>2];d=H[c+268>>2];H[a+180>>2]=H[c+264>>2];H[a+184>>2]=d;d=H[c+276>>2];H[a+188>>2]=H[c+272>>2];H[a+192>>2]=d;d=H[c+284>>2];H[a+196>>2]=H[c+280>>2];H[a+200>>2]=d;d=H[c+292>>2];H[a+204>>2]=H[c+288>>2];H[a+208>>2]=d;H[a+212>>2]=H[c+296>>2];kb(a+36|0,0,108)}e=H[a+8>>2];a:{b:{c:{c=J[b+284>>1]+32|0;d=H[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}i=a,j=jb(e,1,d<<2,c<<2,H[a+24>>2],f+8|0),H[i+24>>2]=j;e=H[f+8>>2];if(e){break c}e=H[a+8>>2]}H[a+20>>2]=c;c=J[b+286>>1];b=H[a+392>>2];if(c>>>0<=b>>>0){c=b;break b}i=a,j=jb(e,1,b,c,H[a+396>>2],f+12|0),H[i+396>>2]=j;e=H[f+12>>2];if(!e){break b}H[a+392>>2]=b&65535;break a}H[a+20>>2]=d;break a}e=0;H[a+152>>2]=0;H[a+392>>2]=c&65535;b=H[a+148>>2];c=H[a+144>>2];H[a+72>>2]=c;H[a+76>>2]=b;H[a+108>>2]=c;H[a+112>>2]=b;H[a+36>>2]=c;H[a+40>>2]=b;b=H[a+164>>2];c=H[a+160>>2];H[a+88>>2]=c;H[a+92>>2]=b;d=H[a+172>>2];g=H[a+168>>2];H[a+96>>2]=g;H[a+100>>2]=d;h=H[a+176>>2];H[a+104>>2]=h;H[a+124>>2]=c;H[a+128>>2]=b;H[a+132>>2]=g;H[a+136>>2]=d;H[a+140>>2]=h;H[a+52>>2]=c;H[a+56>>2]=b;H[a+60>>2]=g;H[a+64>>2]=d;H[a+68>>2]=h;b=H[a+156>>2];c=H[a+152>>2];H[a+80>>2]=c;H[a+84>>2]=b;H[a+116>>2]=c;H[a+120>>2]=b;H[a+44>>2]=c;H[a+48>>2]=b;F[a+492|0]=0}Wa=f+16|0;return e}function Hm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=Wa-16|0;Wa=d;c=H[a+104>>2];b=Ya[H[a+516>>2]](a,1886352244,c,d+4|0)|0;a:{if(b){break a}i=H[c+8>>2];l=H[d+4>>2];e=H[a+476>>2];b=dc(c,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=151552){b=3;if((e|0)!=131072){break b}e=H[c+28>>2];h=yb(c,d+8|0);b=H[d+8>>2];if(b){break b}b=3;if(h>>>0>J[a+264>>1]){break b}k=jb(e,2,0,h,0,d+8|0);if(H[d+8>>2]){break c}b=Nb(c,h<<1);H[d+8>>2]=b;if(b){break c}if(!h){break f}b=0;while(1){r=k+(b<<1)|0,s=Rb(c),G[r>>1]=s;b=b+1|0;if((h|0)!=(b|0)){continue}break}Db(c);m=h&1;g:{if((h|0)==1){b=0;break g}n=h&65534;b=0;while(1){j=f<<1;o=J[k+(j|2)>>1];p=o-257|0;j=J[k+j>>1];q=j-257|0;b=j>>>0>257?(b&65535)<(q|0)?q:b:b;b=o>>>0>257?(b&65535)<(p|0)?p:b:b;f=f+2|0;g=g+2|0;if((n|0)!=(g|0)){continue}break}}if(!m){break d}f=J[k+(f<<1)>>1];g=f-257|0;b=f>>>0>257?(g|0)>(b&65535)?g:b:b;break d}h=H[c+28>>2];e=yb(c,d+12|0);b=H[d+12>>2];if(b){break b}b=3;if(J[a+264>>1]<=(e-1&65535)>>>0|e>>>0>258){break b}b=0;f=jb(h,1,0,e,0,d+12|0);h:{if(H[d+12>>2]){break h}c=ec(c,f,e);H[d+12>>2]=c;if(c){break h}while(1){c=F[b+f|0]+b|0;if(!((c|0)<0|(c|0)>(e|0))){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}H[d+12>>2]=3}if(f){Ya[H[h+8>>2]](h,f)}b=H[d+12>>2];break b}Db(c);b=0;break d}H[a+640>>2]=f;G[a+636>>1]=e;b=0;break b}g=0;m=b&65535;f=jb(e,4,0,m,0,d+8|0);if(H[d+8>>2]){break c}i:{j:{if(!m){break j}l=i+l|0;while(1){if(l>>>0<=K[c+8>>2]){if((b&65535)>>>0<=(g&65535)>>>0){break j}while(1){c=jb(e,1,0,1,0,d+8|0);H[(g<<2)+f>>2]=c;if(H[d+8>>2]){break i}F[c|0]=0;g=g+1|0;if((m|0)!=(g|0)){continue}break}break j}i=jc(c,d+8|0);if(H[d+8>>2]){break i}i=i&255;if(!(l>>>0>=i>>>0&K[c+8>>2]<=l-i>>>0)){i=l-H[c+8>>2]|0;i=(i|0)>0?i:0}n=(g<<2)+f|0;j=jb(e,1,0,i+1|0,0,d+8|0);H[n>>2]=j;if(H[d+8>>2]){break i}j=ec(c,j,i);H[d+8>>2]=j;if(j){break i}F[H[n>>2]+i|0]=0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}H[a+644>>2]=f;H[a+640>>2]=k;G[a+638>>1]=b;G[a+636>>1]=h;b=0;break b}b=b&65535;c=b>>>0>1?b:1;b=0;while(1){h=(b<<2)+f|0;g=H[h>>2];if(g){Ya[H[e+8>>2]](e,g)}H[h>>2]=0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(f){Ya[H[e+8>>2]](e,f)}if(k){Ya[H[e+8>>2]](e,k)}b=H[d+8>>2]}F[a+632|0]=1}Wa=d+16|0;return b}function eJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=Wa-16|0;Wa=m;b=3;e=H[a+32>>2];a:{if(!e){break a}c=H[e+364>>2];if(!c){break a}h=H[c+588>>2];b=H[c+584>>2];e=H[e+360>>2];b:{if(!(!I[c+556|0]|(e|0)!=H[c+564>>2]|(b|0)!=H[c+568>>2])){if(!b){break b}if(!Bc(h,H[c+572>>2],b<<2)){break b}}b=hr(c+556|0,e,b,h);if(b){break a}}b=3;n=qd(a,H[H[a+20>>2]-4>>2]);if(n>>>0>K[a+24>>2]){break a}e=H[H[c+560>>2]+8>>2];H[m+12>>2]=0;b=161;f=(H[a+20>>2]-H[a+16>>2]|0)-4>>2;g=N(H[c+576>>2],n);c:{if(f>>>0>>0){break c}b=H[c+604>>2];i=H[c+600>>2];h=N(n,5);d:{if(b>>>0>=i+h>>>0){break d}j=H[c+596>>2];d=e;e=H[c+592>>2];d=jb(d,1,b,b+h|0,e,m+12|0);H[c+592>>2]=d;b=H[m+12>>2];if(b){break c}i=H[c+600>>2];H[c+596>>2]=d+i;H[c+604>>2]=h+H[c+604>>2];if(!e|(d|0)==(e|0)){break d}b=H[a+16>>2];k=H[a+20>>2];if(b>>>0>=k>>>0){break d}l=d-e|0;while(1){d=H[b>>2];if(!(d>>>0>>0|d>>>0>=j>>>0)){H[b>>2]=d+l;k=H[a+20>>2]}b=b+4|0;if(k>>>0>b>>>0){continue}break}}H[c+600>>2]=h+i;p=f-g|0;h=p+n|0;if(n){e=h;while(1){b=H[c+580>>2];q=o+p<<2;j=qd(a,H[q+H[a+16>>2]>>2])<<16;k=1;i=H[c+576>>2];if(i>>>0>=2){while(1){b=b+4|0;e:{f:{d=H[H[a+16>>2]+(e<<2)>>2];g=I[d|0];if((g|0)!=255){if((g|0)!=30){break f}f=yh(a,d,0,0)>>16;i=H[c+576>>2];break e}f=((I[d+3|0]|(I[d+2|0]<<8|I[d+1|0]<<16))<<8)+32768>>16;break e}l=d+1|0;g:{switch(g-28|0){case 0:f=0;if(K[a+8>>2]<=d+2>>>0){break e}f=(I[d+2|0]|I[l|0]<<8)<<16>>16;break e;case 1:f=0;if(K[a+8>>2]<=d+4>>>0){break e}d=I[d+1|0]|I[d+2|0]<<8|(I[d+3|0]<<16|I[d+4|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break e;default:break g}}if(g>>>0<=246){f=g-139|0;break e}d=H[a+8>>2];if(g>>>0<=250){f=0;if(d>>>0<=l>>>0){break e}f=(I[l|0]|g<<8)-63124|0;break e}f=0;if(d>>>0<=l>>>0){break e}f=64148-(I[l|0]|g<<8)|0}e=e+1|0;j=N(H[b>>2],f)+j|0;k=k+1|0;if(k>>>0>>0){continue}break}}H[H[a+16>>2]+q>>2]=H[c+596>>2];b=H[c+596>>2];H[c+596>>2]=b+1;F[b|0]=255;b=H[c+596>>2];H[c+596>>2]=b+1;F[b|0]=j>>>24;b=H[c+596>>2];H[c+596>>2]=b+1;F[b|0]=j>>>16;b=H[c+596>>2];H[c+596>>2]=b+1;F[b|0]=j>>>8;b=H[c+596>>2];H[c+596>>2]=b+1;F[b|0]=j;o=o+1|0;if((o|0)!=(n|0)){continue}break}b=H[m+12>>2]}else{b=0}H[a+20>>2]=H[a+16>>2]+(h<<2)}F[c+557|0]=1}Wa=m+16|0;return b|0}function kc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(H[a+20>>2]==2){e=H[a+68>>2];m=c>>>0>e>>>0?e:c;h=m-b|0;if(h>>>0<2){break a}j=H[a+144>>2]|32;H[a+144>>2]=j;if(b>>>0>=m>>>0){break a}l=H[a+80>>2];d=-1;e=b;g=(e^-1)+m|0;if(g>>>0>=3){f=h&-4;while(1){k=N(e,20)+l|0;c=H[k+8>>2];d=c>>>0>d>>>0?d:c;c=H[k+28>>2];d=c>>>0>d>>>0?d:c;c=H[k+48>>2];d=c>>>0>d>>>0?d:c;c=H[k+68>>2];d=c>>>0>d>>>0?d:c;e=e+4|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=h&3;if(f){c=0;while(1){i=H[(N(e,20)+l|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(h&1){c=N(b,20)+l|0;if(H[c+8>>2]!=(d|0)){H[a+144>>2]=j;H[c+4>>2]=H[c+4>>2]|3}b=b+1|0}if(!g){break a}while(1){c=N(b,20)+l|0;if(H[c+8>>2]!=(d|0)){j=j|32;H[a+144>>2]=j;H[c+4>>2]=H[c+4>>2]|3}c=N(b+1|0,20)+l|0;if(H[c+8>>2]!=(d|0)){j=j|32;H[a+144>>2]=j;H[c+4>>2]=H[c+4>>2]|3}b=b+2|0;if((m|0)!=(b|0)){continue}break}break a}h=H[a+80>>2];i=H[(h+N(b,20)|0)+8>>2];d=i;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}k=(c-b|0)-2|0;g=(b^-1)+c&3;c:{if(!g){d=i;break c}d=i;while(1){f=H[(h+N(e,20)|0)+8>>2];d=d>>>0>>0?d:f;e=e+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(k>>>0<=2){break b}while(1){g=h+N(e,20)|0;f=H[g+8>>2];f=d>>>0>>0?d:f;d=H[g+28>>2];f=d>>>0>f>>>0?f:d;d=H[g+48>>2];f=d>>>0>f>>>0?f:d;d=H[g+68>>2];d=d>>>0>f>>>0?f:d;e=e+4|0;if((e|0)!=(c|0)){continue}break}}e=H[a+68>>2];d:{if(e>>>0<=c>>>0){break d}while(1){f=h+N(c,20)|0;if(H[f-12>>2]!=H[f+8>>2]){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}g=H[a+64>>2];f=b>>>0>g>>>0?g:b;while(1){e:{e=b;if(g>>>0>=e>>>0){e=f;break e}b=e-1|0;if((i|0)==H[(h+N(b,20)|0)+8>>2]){continue}}break}f:{if((e|0)!=(g|0)){break f}b=H[a+72>>2];if(!b){break f}f=h+N(g,20)|0;i=H[a+84>>2];while(1){b=b-1|0;g=i+N(b,20)|0;a=H[g+8>>2];if((a|0)!=H[f+8>>2]){break f}if((a|0)!=(d|0)){H[g+4>>2]=H[g+4>>2]&-4}H[g+8>>2]=d;if(b){continue}break}}if(c>>>0<=e>>>0){break a}a=e+1|0;if(c-e&1){b=h+N(e,20)|0;if(H[b+8>>2]!=(d|0)){H[b+4>>2]=H[b+4>>2]&-4}H[b+8>>2]=d;e=e+1|0}if((a|0)==(c|0)){break a}while(1){a=h+N(e,20)|0;if(H[a+8>>2]!=(d|0)){H[a+4>>2]=H[a+4>>2]&-4}H[a+8>>2]=d;a=h+N(e+1|0,20)|0;if(H[a+8>>2]!=(d|0)){H[a+4>>2]=H[a+4>>2]&-4}H[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function NB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-80|0;Wa=j;e=rg(b,c);a:{if(e){break a}e=H[b+2740>>2];if(!(e&1)){e=En(b,H[d+52>>2],d+56|0,0);if(e){break a}e=H[b+2740>>2]}b:{if(e&2){break b}e=En(b,H[d+9856>>2],d+9860|0,1);if(e){break a}if(I[(H[H[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=H[b+1404>>2];if((a|0)<=0){break b}i=H[b+1412>>2];q=i+N(a,44)|0;o=H[d+9848>>2];while(1){a=ib(K[d+40>>2]/40|0,o);c:{if(!H[d+10064>>2]){break c}e=(a|0)<32?a:32;a=0;g=0;m=0;while(1){h=N(a,36)+d|0;f=H[h+10100>>2];d:{if(!(f&1)){break d}k=f>>>3&1;n=(f&6)!=0;if(!(k|n^H[b+1416>>2]==F[i+13|0])){break d}p=h+10068|0;l=G[i>>1]-H[p>>2]|0;f=l>>31;l=ib((f^l)-f|0,o);f=(l|0)<(e|0);e=f?l:e;g=f?p:g;m=f?k:m;if(k|(!(F[i+12|0]&1)|!l)){break d}f=G[i>>1];if(((f|0)>2]|0)==(n|0)){break d}n=f;f=h+10080|0;k=n-H[f>>2]|0;h=k>>31;h=ib((h^k)-h|0,o);if((h|0)>=(e|0)){break d}m=0;e=h;g=f}a=a+1|0;if(a>>>0>2]){continue}break}if(!g){break c}H[i+20>>2]=g;if(!(m&255)){break c}F[i+12|0]=I[i+12|0]|8}i=i+44|0;if(q>>>0>i>>>0){continue}break}}a=H[b+2740>>2];e:{if(!(H[d+24>>2]|a&8)){cr(j+16|0,b,j+12|0,j+8|0);d=H[b+24>>2];if((d|0)<=0){break e}a=H[b+28>>2];d=a+N(d,40)|0;e=H[j+8>>2];g=H[j+12>>2];while(1){r=a,s=ib(G[a+12>>1],g)+e|0,H[r+16>>2]=s;a=a+40|0;if(d>>>0>a>>>0){continue}break}break e}if(a&1){break e}Cn(b,0);a=H[b+44>>2];if((a|0)>0){e=H[b+52>>2];g=e+N(a,44)|0;while(1){a=H[e+12>>2];if(a){d=e+36|0;f=H[a+8>>2];h=H[e+40>>2];while(1){a=H[d>>2];H[a+16>>2]=f;G[a>>1]=J[a>>1]|4;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}ij(b,0);_i(b,0)}if(!(I[b+2740|0]&2)){Cn(b,1);a=H[b+1392>>2];if((a|0)>0){e=H[b+1400>>2];g=e+N(a,44)|0;while(1){a=H[e+12>>2];if(a){d=e+36|0;f=H[a+8>>2];h=H[e+40>>2];while(1){a=H[d>>2];H[a+20>>2]=f;G[a>>1]=J[a>>1]|8;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}ij(b,1);_i(b,1)}d=H[b+24>>2];if((d|0)<=0){e=0;break a}a=H[b+28>>2];b=a+N(d,40)|0;d=H[c+4>>2];g=H[c+8>>2];while(1){H[d>>2]=H[a+16>>2];H[d+4>>2]=H[a+20>>2];e=0;c=J[a>>1];F[g|0]=c&1?0:c&2?2:1;g=g+1|0;d=d+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}Wa=j+80|0;return e|0}function OA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;H[a+64>>2]=0;H[a+1140>>2]=b;j=a+1140|0;H[a+1344>>2]=j;k=a+112|0;H[a+1136>>2]=k;d=b+c|0;H[a+1148>>2]=d;H[a+1144>>2]=b;l=160;a:{if((c|0)<=0){break a}c=k;g=j;while(1){e=b+1|0;f=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{h=I[b|0];switch(h-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}f=2;break f}if(d>>>0<=e>>>0){break a}e=b+2|0;h=20;f=4;switch(I[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((h|0)==255){break d}}if(h>>>0<32){break a}l:{if(h>>>0<=246){b=h-139|0;break l}f=b+2|0;if(f>>>0>d>>>0){break a}if(h>>>0<=250){b=(I[e|0]|h<<8)-63124|0}else{b=64148-(I[e|0]|h<<8)|0}e=f}b=i?b:b<<16;f=(i|0)!=0;break c}f=24}h=f;if(i){break a}}b=H[(h<<2)+31200>>2];if((b|0)>c-k>>2){return 161}c=c-(b<<2)|0;m:{n:{o:{p:{switch(h-2>>>1|0){case 1:H[a+64>>2]=1;H[a+32>>2]=H[c>>2]+H[a+32>>2];H[a+36>>2]=H[c+4>>2]+H[a+36>>2];H[a+40>>2]=H[c+8>>2];b=H[c+12>>2];break m;case 9:m=c,n=pb(H[c>>2],H[c+4>>2]),H[m>>2]=n;c=c+4|0;i=0;b=e;break b;case 10:b=G[c+2>>1];d=H[a+1376>>2];if(d){b=Kc(b,d);if(!b){break a}b=H[b>>2]}if((b|0)<0|H[a+1364>>2]<=(b|0)|(g-j|0)>180){break a}H[g>>2]=e;e=b<<2;d=e+H[a+1368>>2]|0;b=H[d>>2];H[g+16>>2]=b;f=H[a+1372>>2];q:{if(f){d=H[e+f>>2]+b|0;break q}e=b;b=H[a+1360>>2];b=e+((b|0)>0?b:0)|0;H[g+16>>2]=b;d=H[d+4>>2]}H[g+12>>2]=b;H[g+20>>2]=d;if(!b){break a}g=g+12|0;break o;case 0:break n;case 11:break p;default:break a}}if(g>>>0<=j>>>0){break a}g=g-12|0;d=H[g+8>>2];b=H[g>>2]}H[a+1344>>2]=g;break b}H[a+64>>2]=1;H[a+32>>2]=H[c>>2]+H[a+32>>2];H[a+40>>2]=H[c+4>>2];b=0}H[a+44>>2]=b;l=0;break a}e=b+5|0;if(d>>>0>>0){break a}b=I[b+1|0]|I[b+2|0]<<8|(I[b+3|0]<<16|I[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b-32001>>>0<=4294903294){f=1;if(!i){break c}break a}b=i?b:b<<16;f=(i|0)!=0}i=f;if((c-k|0)>1020){break a}H[c>>2]=b;c=c+4|0;b=e}H[a+1136>>2]=c;if(b>>>0>>0){continue}break}}return l|0}function kM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=O(0),h=0,i=O(0);b=Wa+-64|0;Wa=b;g=L[a+32>>2];H[b+24>>2]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b+36>>2]=0;H[b+40>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+52>>2]=0;H[b+56>>2]=0;H[b+60>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+12>>2]=e;H[b+8>>2]=d;L[b>>2]=g;F[b+4|0]=g==O(0);a:{e=H[a+16>>2];d=H[e+108>>2];b:{c:{if(d){break c}while(1){f=H[e+48>>2];if(!f){d=163632;break c}d:{d=Ab(1,28);if(d){H[65057]=0;ca(674,d|0,f|0)|0;f=H[65057];H[65057]=0;if((f|0)!=1){f=H[e+108>>2];H[e+108>>2]=f?f:d;if(!f){break c}f=H[d+24>>2];H[65057]=0;fa(579,f|0);f=H[65057];H[65057]=0;if((f|0)==1){break a}hb(d);break d}break b}d=163632;f=H[e+108>>2];H[e+108>>2]=f?f:163632;if(f){break d}break c}d=H[e+108>>2];if(!d){continue}break}}H[65057]=0;d=ga(675,d|0,a|0,c|0,b|0)|0;e=H[65057];H[65057]=0;e:{if((e|0)==1){break e}f:{if(d){break f}e=H[a+16>>2];d=H[e+112>>2];g:{if(d){break g}while(1){f=H[e+48>>2];if(!f){d=163632;break g}d=Ab(1,244);h:{if(d){H[65057]=0;h=ca(676,d|0,f|0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break e}f=H[e+112>>2];H[e+112>>2]=f?f:d;if(!f){break g}og(h);hb(d);break h}d=163632;f=H[e+112>>2];H[e+112>>2]=f?f:163632;if(!f){break g}}d=H[e+112>>2];if(!d){continue}break}}H[65057]=0;d=ga(677,d|0,a|0,c|0,b|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break e}if(d){break f}e=H[a+16>>2];d=H[e+116>>2];i:{if(d){break i}while(1){f=H[e+48>>2];if(!f){d=163632;break i}d=Ab(1,132);j:{if(d){H[65057]=0;h=ca(678,d|0,f|0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break e}f=H[e+116>>2];H[e+116>>2]=f?f:d;if(!f){break i}jk(h);hb(d);break j}d=163632;f=H[e+116>>2];H[e+116>>2]=f?f:163632;if(!f){break i}}d=H[e+116>>2];if(!d){continue}break}}H[65057]=0;ga(679,d|0,a|0,c|0,b|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break e}}k:{if(H[b+16>>2]){c=b+16|0;d=H[b+12>>2];a=H[b+8>>2];i=L[b+20>>2];g=L[b+24>>2];if(!(i==L[b+28>>2]&g==L[b+32>>2])){e=H[a+36>>2];f=H[a+16>>2];H[65057]=0;wa(f|0,a|0,d|0,c|0,O(i),O(g),e|0);e=H[65057];H[65057]=0;if((e|0)==1){break k}}e=H[a+48>>2];f=H[a+28>>2];H[65057]=0;ha(f|0,a|0,d|0,c|0,e|0);a=H[65057];H[65057]=0;if((a|0)==1){break k}}Wa=b- -64|0;return}break a}}a=$()|0;_()|0;rk(b);ba(a|0);X()}ea(0)|0;_()|0;Gb();X()}function UG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-352|0;Wa=g;H[g+336>>2]=c;H[g+344>>2]=b;h=Ib(g+208|0);H[65057]=0;a=H[d+28>>2];H[g+16>>2]=a;H[a+4>>2]=H[a+4>>2]+1;a=H[65057];H[65057]=0;a:{b:{c:{d:{if((a|0)!=1){H[65057]=0;b=aa(998,g+16|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ga(1012,b|0,248752,248778,g+224|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}b=H[g+16>>2];a=H[b+4>>2]-1|0;H[b+4>>2]=a;if((a|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}a=Ib(g+192|0);if(I[a+11|0]>>>7|0){b=(H[a+8>>2]&2147483647)-1|0}else{b=10}H[65057]=0;da(906,a|0,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break b}if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}H[g+188>>2]=b;H[g+12>>2]=g+16;H[g+8>>2]=0;while(1){e:{H[65057]=0;d=ca(1003,g+344|0,g+336|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break e}if(!d){break c}d=H[g+188>>2];if(I[a+11|0]>>>7|0){c=H[a+4>>2]}else{c=I[a+11|0]}if((d|0)==(c+b|0)){if(I[a+11|0]>>>7|0){c=H[a+4>>2]}else{c=I[a+11|0]}if(I[a+11|0]>>>7|0){b=H[a+4>>2]}else{b=I[a+11|0]}H[65057]=0;da(906,a|0,b<<1);b=H[65057];H[65057]=0;if((b|0)==1){break b}b=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,a|0,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break b}if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}H[g+188>>2]=c+b}H[65057]=0;d=aa(1005,g+344|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break e}H[65057]=0;d=pe(d,16,b,g+188|0,g+8|0,0,h,g+16|0,g+12|0,g+224|0);c=H[65057];H[65057]=0;if((c|0)==1){break e}if(d){break c}H[65057]=0;aa(1007,g+344|0)|0;c=H[65057];H[65057]=0;if((c|0)!=1){continue}}break}break b}b=$()|0;_()|0;break a}b=$()|0;_()|0;c=H[g+16>>2];a=H[c+4>>2]-1|0;H[c+4>>2]=a;if((a|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}break a}H[65057]=0;da(906,a|0,H[g+188>>2]-b|0);b=H[65057];H[65057]=0;f:{if((b|0)==1){break f}if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}H[65057]=0;d=la(995)|0;c=H[65057];H[65057]=0;if((c|0)==1){break f}H[g>>2]=f;H[65057]=0;c=ga(996,b|0,d|0,238495,g|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break f}if((c|0)!=1){H[e>>2]=4}H[65057]=0;c=ca(1004,g+344|0,g+336|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}b=H[g+344>>2];nb(a);nb(h);Wa=g+352|0;return b|0}}b=$()|0;_()|0;nb(a)}nb(h);ba(b|0);X()}function ei(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Wa-16|0;Wa=j;H[j+12>>2]=0;o=H[a+100>>2];k=H[a+736>>2];a:{b:{if(!k){e=af(a,0);H[j+12>>2]=e;if(e){break b}k=H[a+736>>2]}l=H[k+12>>2];e=H[l>>2];d=H[k+4>>2];if(!d){d=jb(o,4,0,e,0,j+12|0);H[k+4>>2]=d;if(H[j+12>>2]){break b}}e=b>>>0>e>>>0?e:b;c:{if(!e){break c}if(e-1>>>0>=3){i=e&-4;b=0;while(1){h=H[c>>2];if((h|0)!=H[d>>2]){H[d>>2]=h;f=1}h=H[c+4>>2];if((h|0)!=H[d+4>>2]){H[d+4>>2]=h;f=1}h=H[c+8>>2];if((h|0)!=H[d+8>>2]){H[d+8>>2]=h;f=1}h=H[c+12>>2];if((h|0)!=H[d+12>>2]){H[d+12>>2]=h;f=1}d=d+16|0;c=c+16|0;b=b+4|0;if((i|0)!=(b|0)){continue}break}}b=e&3;if(!b){break c}while(1){i=H[c>>2];if((i|0)!=H[d>>2]){H[d>>2]=i;f=1}d=d+4|0;c=c+4|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}i=H[l>>2];b=H[a+4>>2];d:{if(b&2147418112){if(e>>>0>=i>>>0){break d}c=H[(H[l+16>>2]+N(b>>>16|0,12)|0)-12>>2]+(e<<2)|0;h=i+(e^-1)|0;m=i-e&3;e:{if(!m){g=e;break e}b=0;g=e;while(1){n=H[c>>2];if((n|0)!=H[d>>2]){H[d>>2]=n;f=1}d=d+4|0;c=c+4|0;g=g+1|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}}if(h>>>0<3){break d}while(1){b=H[c>>2];if((b|0)!=H[d>>2]){H[d>>2]=b;f=1}b=H[c+4>>2];if((b|0)!=H[d+4>>2]){H[d+4>>2]=b;f=1}b=H[c+8>>2];if((b|0)!=H[d+8>>2]){H[d+8>>2]=b;f=1}b=H[c+12>>2];if((b|0)!=H[d+12>>2]){H[d+12>>2]=b;f=1}d=d+16|0;c=c+16|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}break d}if(e>>>0>=i>>>0){break d}h=i+(e^-1)|0;c=H[l+12>>2]+N(e,24)|0;m=i-e&3;f:{if(!m){g=e;break f}b=0;g=e;while(1){n=H[c+8>>2];if((n|0)!=H[d>>2]){H[d>>2]=n;f=1}d=d+4|0;c=c+24|0;g=g+1|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}}if(h>>>0<3){break d}while(1){b=H[c+8>>2];if((b|0)!=H[d>>2]){H[d>>2]=b;f=1}b=H[c+32>>2];if((b|0)!=H[d+4>>2]){H[d+4>>2]=b;f=1}b=H[c+56>>2];if((b|0)!=H[d+8>>2]){H[d+8>>2]=b;f=1}b=H[c+80>>2];if((b|0)!=H[d+12>>2]){H[d+12>>2]=b;f=1}d=d+16|0;c=c+96|0;g=g+4|0;if((i|0)!=(g|0)){continue}break}}if(H[k+8>>2]){b=-1;if(!(f&255)){break a}}f=jb(o,4,0,i,0,j+12|0);if(H[j+12>>2]){break b}b=H[a+736>>2];if(!I[b+24|0]){nm(a);b=H[a+736>>2]}mm(b,e,H[k+4>>2],f);b=Cg(a,H[l>>2],f,0);H[j+12>>2]=b;if(b){break b}H[a+8>>2]=H[a+8>>2]&-32769|((e|0)!=0)<<15}if(f){Ya[H[o+8>>2]](o,f)}b=H[j+12>>2]}Wa=j+16|0;return b|0}function gH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-272|0;Wa=g;H[g+256>>2]=c;H[g+264>>2]=b;h=Ib(g+208|0);H[65057]=0;a=H[d+28>>2];H[g+16>>2]=a;H[a+4>>2]=H[a+4>>2]+1;a=H[65057];H[65057]=0;a:{b:{c:{d:{if((a|0)!=1){H[65057]=0;b=aa(892,g+16|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}H[65057]=0;ga(991,b|0,248752,248778,g+224|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}b=H[g+16>>2];a=H[b+4>>2]-1|0;H[b+4>>2]=a;if((a|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}a=Ib(g+192|0);if(I[a+11|0]>>>7|0){b=(H[a+8>>2]&2147483647)-1|0}else{b=10}H[65057]=0;da(906,a|0,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break b}if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}H[g+188>>2]=b;H[g+12>>2]=g+16;H[g+8>>2]=0;while(1){e:{H[65057]=0;d=ca(973,g+264|0,g+256|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break e}if(!d){break c}d=H[g+188>>2];if(I[a+11|0]>>>7|0){c=H[a+4>>2]}else{c=I[a+11|0]}if((d|0)==(c+b|0)){if(I[a+11|0]>>>7|0){c=H[a+4>>2]}else{c=I[a+11|0]}if(I[a+11|0]>>>7|0){b=H[a+4>>2]}else{b=I[a+11|0]}H[65057]=0;da(906,a|0,b<<1);b=H[65057];H[65057]=0;if((b|0)==1){break b}b=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,a|0,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break b}if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}H[g+188>>2]=c+b}H[65057]=0;d=aa(975,g+264|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break e}H[65057]=0;d=qe(d,16,b,g+188|0,g+8|0,0,h,g+16|0,g+12|0,g+224|0);c=H[65057];H[65057]=0;if((c|0)==1){break e}if(d){break c}H[65057]=0;aa(977,g+264|0)|0;c=H[65057];H[65057]=0;if((c|0)!=1){continue}}break}break b}b=$()|0;_()|0;break a}b=$()|0;_()|0;c=H[g+16>>2];a=H[c+4>>2]-1|0;H[c+4>>2]=a;if((a|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}break a}H[65057]=0;da(906,a|0,H[g+188>>2]-b|0);b=H[65057];H[65057]=0;f:{if((b|0)==1){break f}if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}H[65057]=0;d=la(995)|0;c=H[65057];H[65057]=0;if((c|0)==1){break f}H[g>>2]=f;H[65057]=0;c=ga(996,b|0,d|0,238495,g|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break f}if((c|0)!=1){H[e>>2]=4}H[65057]=0;c=ca(974,g+264|0,g+256|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}b=H[g+264>>2];nb(a);nb(h);Wa=g+272|0;return b|0}}b=$()|0;_()|0;nb(a)}nb(h);ba(b|0);X()}function Cd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Wa-16|0;Wa=h;e=H[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=I[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=I[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}H[h+8>>2]=e;f=Dd(h+8|0,b,10);e:{d=H[h+8>>2];if((e|0)!=(d|0)){if(I[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;H[h+8>>2]=i;f=Dd(h+8|0,b,f);d=H[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(I[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=I[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=F[f+31072|0]+N(e,10)|0;if((c|0)>0){c=c-1|0;break i}g=N(g,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=I[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}k=F[f+31072|0]+N(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?N(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((I[d|0]|32)!=101|k>>>0>=b>>>0)){H[h+12>>2]=k;j=Dd(h+12|0,b,10);o:{d=H[h+12>>2];if((k|0)!=(d|0)){if(I[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;H[h+12>>2]=f;j=Dd(h+12|0,b,j);d=H[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}H[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=N(e,10)}i=N(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}H[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=N(g,10);break q}e=(e|0)/10|0}if(!(e?0:a-10>>>0>=4294967277)){a=c;c=c+1|0;if(a>>>0>c>>>0){break l}continue}break}break a}if(!e){b=i;break k}b=pb(e,g)+i|0}f=m?0-b|0:b}Wa=h+16|0;return f}function li(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=H[a+88>>2];H[c>>2]=0;a:{if(!I[a+848|0]){H[a+828>>2]=0;H[a+832>>2]=0;H[a+836>>2]=0;H[a+840>>2]=0;H[a+844>>2]=0;H[a+848>>2]=0;k=8;e=J[a+152>>1];if(!e){break a}d=H[a+156>>2];e=d+(e<<4)|0;n=H[a+104>>2];while(1){b:{if(H[d>>2]==1111770656){i=H[d+12>>2];if(i){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}if(ob(n,H[d+8>>2])|i>>>0<8){break a}e=a+828|0;if(Jc(n,i,e)){break a}g=H[a+828>>2];H[a+832>>2]=g+i;c:{d:{if((I[g+1|0]|I[g|0]<<8)!=1){break d}h=I[g+4|0]|I[g+5|0]<<8|(I[g+6|0]<<16|I[g+7|0]<<24);d=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(d>>>0<8){break d}h=I[g+3|0];f=h|I[g+2|0]<<8;if(i>>>0>>0|f>>>0>d-8>>>2>>>0){break d}H[a+840>>2]=i-d;l=d+g|0;H[a+836>>2]=l;H[a+844>>2]=f;d=g+8|0;k=d+(f<<2)|0;e:{if(!f){break e}g=f-1|0;i=h&3;if(i){h=d;while(1){f=f-1|0;k=N(I[h+3|0]|I[h+2|0]<<8,10)+k|0;d=h+4|0;h=d;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(g>>>0<3){break e}while(1){k=(((N(I[d+3|0]|I[d+2|0]<<8,10)+k|0)+N(I[d+7|0]|I[d+6|0]<<8,10)|0)+N(I[d+11|0]|I[d+10|0]<<8,10)|0)+N(I[d+15|0]|I[d+14|0]<<8,10)|0;d=d+16|0;f=f-4|0;if(f){continue}break}}if(k>>>0<=l>>>0){break c}}bc(n,e);H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;return 8}F[a+848|0]=1}k=6;if(!b|!m){break a}j=H[a+844>>2];i=wb(b);if(!i|!j){break a}d=H[a+828>>2]+8|0;f=d+(j<<2)|0;e=J[m+14>>1];while(1){h=I[d+3|0]|I[d+2|0]<<8;if((e|0)==(I[d+1|0]|I[d|0]<<8)){if(!h){break a}while(1){f:{j=I[f+5|0];if(!(j&16)){break f}g=H[a+840>>2];e=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(g>>>0<=e>>>0){break f}d=g-e|0;if(d>>>0<=i>>>0){break f}l=I[f+6|0]|I[f+7|0]<<8|(I[f+8|0]<<16|I[f+9|0]<<24);m=e;e=H[a+836>>2];if(ub(b,m+e|0,d)){break f}d=l<<8&16711680|l<<24|(l>>>8&65280|l>>>24);g:{switch(j&15){case 0:case 1:if(d>>>0>=g>>>0){break f}e=d+e|0;if(!tf(e,0,g)){break f}H[c+4>>2]=e;H[c>>2]=1;return 0;case 2:H[c+4>>2]=d;H[c>>2]=2;return 0;case 3:break g;default:break f}}H[c+4>>2]=d;H[c>>2]=3;return 0}f=f+10|0;h=h-1|0;if(h){continue}break}break a}d=d+4|0;f=N(h,10)+f|0;j=j-1|0;if(j){continue}break}}return k|0}function nB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Wa-16|0;Wa=j;h=H[c>>2];H[j+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=I[a+3|0];g=I[a+4|0];a=H[c+92>>2];d=g+a|0;if(d>>>0>K[c+96>>2]){i=a;a=d+3&-4;o=c,p=jb(h,36,i,a,H[c+100>>2],j+12|0),H[o+100>>2]=p;d=H[j+12>>2];if(d){break a}H[c+96>>2]=a}d=8;a=b;b=f&4;h=f&1;i=f&2;l=f&8;k=f&16;if(a>>>0>>2|0)+(i?h+9|0:h|8)+(l>>>3)+(k>>>4)|0,g)+e>>>0){break a}m=H[c+92>>2];b:{if(!g){break b}a=H[c+100>>2]+N(m,36)|0;if(!b){b=0;while(1){c:{if(h){d=e+2|0;e=I[e+1|0]|I[e|0]<<8;break c}d=e+1|0;e=I[e|0]}H[a>>2]=e;d:{if(i){e=d+2|0;d=I[d+1|0]|I[d|0]<<8;break d}e=d+1|0;d=I[d|0]}H[a+4>>2]=d;H[a+8>>2]=I[e|0];H[a+20>>2]=I[e+2|0]|I[e+1|0]<<8;e:{if(l){f=I[e+4|0]<<8|I[e+3|0]<<16;n=5;d=e+6|0;break e}f=I[e+3|0]<<8;n=4;d=e+5|0}H[a+24>>2]=I[e+n|0]|f;f:{if(k){e=d+2|0;d=I[d+1|0]|I[d|0]<<8;break f}e=d+1|0;d=I[d|0]}H[a+28>>2]=d;a=a+36|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}break b}if(!l){f=0;while(1){g:{if(h){d=I[e+1|0]|I[e|0]<<8;b=e+2|0;break g}d=I[e|0];b=e+1|0}H[a>>2]=d;h:{if(i){e=I[b+1|0]|I[b|0]<<8;b=b+2|0;break h}e=I[b|0];b=b+1|0}H[a+4>>2]=e;H[a+8>>2]=I[b|0];H[a+20>>2]=I[b+3|0]|(I[b+2|0]<<8|I[b+1|0]<<16);H[a+24>>2]=I[b+5|0]|I[b+4|0]<<8;i:{if(k){e=b+8|0;b=I[b+7|0]|I[b+6|0]<<8;break i}e=b+7|0;b=I[b+6|0]}H[a+28>>2]=b;a=a+36|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break b}b=0;if(!h){while(1){H[a>>2]=I[e|0];j:{if(i){d=e+3|0;e=I[e+2|0]|I[e+1|0]<<8;break j}d=e+2|0;e=I[e+1|0]}H[a+4>>2]=e;H[a+8>>2]=I[d|0];H[a+20>>2]=I[d+3|0]|(I[d+2|0]<<8|I[d+1|0]<<16);H[a+24>>2]=I[d+6|0]|(I[d+5|0]<<8|I[d+4|0]<<16);k:{if(k){e=d+9|0;d=I[d+8|0]|I[d+7|0]<<8;break k}e=d+8|0;d=I[d+7|0]}H[a+28>>2]=d;a=a+36|0;b=b+1|0;if((g|0)!=(b|0)){continue}break b}}while(1){H[a>>2]=I[e+1|0]|I[e|0]<<8;l:{if(i){d=e+4|0;e=I[e+3|0]|I[e+2|0]<<8;break l}d=e+3|0;e=I[e+2|0]}H[a+4>>2]=e;H[a+8>>2]=I[d|0];H[a+20>>2]=I[d+3|0]|(I[d+2|0]<<8|I[d+1|0]<<16);H[a+24>>2]=I[d+6|0]|(I[d+5|0]<<8|I[d+4|0]<<16);m:{if(k){e=d+9|0;d=I[d+8|0]|I[d+7|0]<<8;break m}e=d+8|0;d=I[d+7|0]}H[a+28>>2]=d;a=a+36|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}H[c+92>>2]=g+m;d=H[j+12>>2]}Wa=j+16|0;return d|0}function On(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=H[(c?16:12)+b>>2];g=H[(c?8:4)+b>>2];b=N(c,9804)+a|0;d=b+9840|0;a:{if((g|0)==H[d>>2]&(j|0)==H[b+9844>>2]){break a}H[d>>2]=g;H[b+9844>>2]=j;d=H[a+10064>>2];b:{if(!d){break b}b=0;while(1){if(!(I[(N(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}b=ib(H[(N(b,36)+a|0)+10080>>2],g);d=H[H[a+36>>2]+12>>2];if(d){i=d;d=J[H[H[a+4>>2]+88>>2]+12>>1];d=d>>>0>5?i>>>0>=d>>>0?52:40:40}else{d=40}if((c|0)!=1){break b}d=b+d&-64;if((d|0)==(b|0)){break b}e=sb(g,d,b);d=H[a+40>>2];b=H[a+10064>>2];c:{if(!b){break c}m=b&1;d:{if((b|0)==1){b=0;break d}i=b&-2;k=a+10068|0;b=0;while(1){h=k+N(b,36)|0;l=H[h+24>>2];d=(d|0)>(l|0)?d:l;h=0-H[h+28>>2]|0;d=(d|0)>(h|0)?d:h;h=k+N(b|1,36)|0;l=H[h+24>>2];d=(d|0)>(l|0)?d:l;h=0-H[h+28>>2]|0;d=(d|0)>(h|0)?d:h;b=b+2|0;f=f+2|0;if((i|0)!=(f|0)){continue}break}}if(!m){break c}b=N(b,36)+a|0;f=H[b+10092>>2];d=(d|0)>(f|0)?d:f;b=0-H[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}b=e-g|0;f=ib(d,b);b=ib(d,b);g=((f|0)<0?0-b|0:b)>>>0<128?e:g}b=N(c,9804)+a|0;H[b+48>>2]=j;H[b+44>>2]=g;e:{if(!c){H[a+8>>2]=g;b=a+16|0;break e}H[a+12>>2]=g;b=a+20|0}H[b>>2]=j;d=N(c,9804)+a|0;if(H[d+52>>2]){b=0;while(1){f=d+N(b,12)|0;e=ib(H[f+56>>2],g);H[f- -64>>2]=e;H[f+60>>2]=e;b=b+1|0;if(b>>>0>2]){continue}break}}n=d,o=(ib(H[d+252>>2],g)|0)<40,F[n+256|0]=o;if(!H[a+10064>>2]|(c|0)!=1){break a}d=0;while(1){b=N(d,36)+a|0;f=b+10076|0;c=b+10068|0;e=ib(H[c>>2],g)+j|0;H[f>>2]=e;k=b+10072|0;H[k>>2]=e;e=b+10088|0;m=b+10080|0;i=ib(H[m>>2],g)+j|0;H[e>>2]=i;H[b+10084>>2]=i;b=b+10100|0;H[b>>2]=H[b>>2]&-2;c=ib(H[c>>2]-H[m>>2]|0,g);if(c+48>>>0<=96){i=f;f=H[k>>2]+32&-64;H[i>>2]=f;i=e;e=c>>31;e=(e^c)-e|0;e=e>>>0<32?0:e>>>0<48?32:64;H[i>>2]=f+((c|0)<0?e:0-e|0);H[b>>2]=H[b>>2]|1}d=d+1|0;c=H[a+10064>>2];if(d>>>0>>0){continue}break}if(!c){break a}f=0;while(1){b=N(f,36)+a|0;d=b+10100|0;j=H[d>>2];f:{if((j&5)!=5){break f}e=b+10076|0;k=b+10088|0;b=0;while(1){g=N(b,36)+a|0;if(!((H[g+10100>>2]&5)!=1|H[g+10076>>2]>H[k>>2]|H[g+10088>>2]>2])){H[d>>2]=j&-2;break f}b=b+1|0;if((c|0)!=(b|0)){continue}break}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function jg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Wa-48|0;Wa=i;Wa=i+48|0;a:{if(!I[a+16|0]){j=H[a>>2];n=I[163632];g=H[a+4>>2];while(1){b:{c:{d:{e:{if(!(h&1)){if(c){break b}e=H[a+12>>2];l=e+1|0;if(l>>>0>g>>>0){break b}k=n;f:{g:{if(e>>>0>=g>>>0){break g}k=I[e+j|0];if(c){break g}H[a+12>>2]=l;c=0;break f}F[a+16|0]=1;H[a+12>>2]=g;c=1}e=(k&240)>>>4|0;break e}e=k&15}switch(e-13|0){case 0:break b;case 2:break d;default:break c}}e=i+16|0;H[i+12>>2]=e;g=0;l=0;k=H[i+12>>2];e=f+e|0;h:{if(k>>>0>=e>>>0){f=k;break h}f=k;while(1){c=I[f|0];if(c-9>>>0>=5&(c|0)!=32){break h}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}i:{if((f|0)==(e|0)){f=e;break i}n=(e-f|0)+f|0;h=1;j:{while(1){c=F[h+107240|0];o=h<<1;p=I[o+107008|0];j=F[f|0];if((p|0)<=(j|0)){c=(j|0)>I[o+107009|0]?c:j-p|0}c=F[(I[h+107231|0]+107040|0)+c|0];k:{if(587>>>c&1){break k}l:{switch(F[c+107259|0]-1|0){case 0:q=1;break k;case 3:r=1;break k;case 1:b=b*10+ +(j-48|0);break k;case 2:if(!(d<=450359962737049)){break k}d=d*10+ +(j-48|0);m=m+1;break k;case 4:break l;default:break k}}h=(j+N(g,10)|0)-48|0;g=h>>>0<2048?h:g;l=h>>>0>2047|l}if((c|0)==1){break j}h=F[c+107249|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}f=n}m:{n:{o:{p:{if(m!=0){s=b;if(m<4294967296&m>=0){c=~~m>>>0}else{c=0}b=c&256?1e256:1;b=c&128?b*1e128:b;b=c&64?b*1e64:b;b=c&32?b*1e32:b;b=c&16?b*1e16:b;b=c&8?b*1e8:b;b=c&4?b*1e4:b;b=c&2?b*100:b;b=s+d/(c&1?b*10:b);if(q){break p}break o}if(!q){break o}}b=-b;h=1;if(!(l&1)){break m}break n}if(!(l&1)){break m}h=0}if(b==0){break i}if(r){b=h?-2.2250738585072014e-308:2.2250738585072014e-308;break i}b=h?-1.7976931348623157e308:1.7976931348623157e308;break i}if(!g){break i}d=g&256?1e256:1;d=g&128?d*1e128:d;d=g&64?d*1e64:d;d=g&32?d*1e32:d;d=g&16?d*1e16:d;d=g&8?d*1e8:d;d=g&4?d*1e4:d;d=g&2?d*100:d;d=g&1?d*10:d;if(r){b=b/d;break i}b=d*b}M[i>>3]=b;c=0;q:{if((f|0)==(k|0)){break q}H[i+12>>2]=f;c=(f|0)==(e|0)}if(!c){break b}b=M[i>>3];break a}F[(i+16|0)+f|0]=I[e+106545|0];r:{if((e|0)!=12){e=f;break r}e=f+1|0;if((e|0)==32){break b}F[(i+16|0)+e|0]=45}f=e+1|0;h=h+1|0;if(e>>>0<31){continue}}break}F[a+16|0]=1}b=0}return b}function Sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=I[a|0]|I[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}return b>>>0>>0?(b|0)<0?163632:((b<<1)+a|0)+2|0:0}c=I[a+4|0]|I[a+5|0]<<8;e=(c<<8|c>>>8)&65535;g:{if(!c){c=I[a+2|0]|I[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break g}d=I[a+2|0]|I[a+3|0]<<8;f=(d<<8|d>>>8)&65535;d=N(f,e-1|0)+a|0;g=d+12|0;c=0;if((I[g|0]|I[g+1|0]<<8)!=65535){break g}c=(I[d+14|0]|I[d+15|0]<<8)==65535?-1:0}d=0;c=c+e|0;h:{if((c|0)<=0){break h}g=a+12|0;c=c-1|0;e=0;while(1){a=c+e>>>1|0;d=g+N(a,f)|0;h=I[d+2|0]|I[d+3|0]<<8;i:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){e=I[d|0]|I[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=a+1|0;break i}c=a-1|0}if((c|0)>=(e|0)){continue}break}d=0}return d?d+4|0:0}c=I[a+2|0]|I[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=I[a+4|0]|I[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=(b|0)<0?163632:((b<<1)+a|0)+6|0;break a}c=I[a+4|0]|I[a+5|0]<<8;e=(c<<8|c>>>8)&65535;d=0;j:{if(!c){c=I[a+2|0]|I[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break j}c=I[a+2|0]|I[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=N(f,e-1|0)+a|0;c=(I[c+12|0]|I[c+13|0]<<8)==65535?-1:0}c=c+e|0;k:{if((c|0)<=0){break k}g=a+12|0;c=c-1|0;e=0;while(1){a=c+e>>>1|0;d=g+N(a,f)|0;h=I[d|0]|I[d+1|0]<<8;h=(h<<8|h>>>8)&65535;l:{if(h>>>0>b>>>0){c=a-1|0;break l}if((b|0)==(h|0)){break k}e=a+1|0}if((c|0)>=(e|0)){continue}break}d=0}return d?d+2|0:0}c=I[a+4|0]|I[a+5|0]<<8;d=(c<<8|c>>>8)&65535;m:{if(!c){c=I[a+2|0]|I[a+3|0]<<8;f=(c<<8|c>>>8)&65535;c=0;break m}f=I[a+2|0]|I[a+3|0]<<8;f=(f<<8|f>>>8)&65535;g=N(f,d-1|0)+a|0;h=g+12|0;c=0;if((I[h|0]|I[h+1|0]<<8)!=65535){break m}c=(I[g+14|0]|I[g+15|0]<<8)==65535?-1:0}c=c+d|0;if((c|0)<=0){break a}h=a+12|0;c=c-1|0;while(1){g=c+e>>>1|0;d=h+N(g,f)|0;i=I[d+2|0]|I[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=I[d|0]|I[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=g+1|0;break n}c=a;a=I[d+4|0]|I[d+5|0]<<8;c=c+((a<<8|a>>>8)&65535)|0;a=b-i|0;return(a|0)<0?163632:c+(a<<1)|0}c=g-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function $m(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=g?a+1032|0:a;H[l>>2]=0;j=g?a+1548|0:a+516|0;H[j>>2]=0;if(b>>>0>=2){while(1){a=c+2|0;m=h&1;o=G[(m?c:a)>>1];k=G[(m?a:c)>>1]-o|0;a=m?l:j;h=a+4|0;g=m?n:i;a:{b:{if(!g){break b}a=(a+(g<<5)|0)+4|0;c:{while(1){p=H[h>>2];if((p|0)>(o|0)){break c}if((o|0)==(p|0)){a=H[h+4>>2];if((k|0)<0){if((a|0)<=(k|0)){break a}H[h+4>>2]=k;break a}if((a|0)>=(k|0)){break a}H[h+4>>2]=k;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}Yb(h+32|0,h,g<<5)}H[h+4>>2]=k;H[h>>2]=o;if(m){n=n+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}H[l>>2]=n;H[j>>2]=i;if(d>>>0>=2){a=j+4|0;while(1){k=G[e+2>>1];c=G[e>>1]-k|0;h=a;d:{e:{if(!i){break e}b=((i<<5)+j|0)+4|0;g=i;f:{while(1){m=H[h>>2];if((m|0)>(k|0)){break f}if((k|0)==(m|0)){b=H[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}H[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}H[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}Yb(h+32|0,h,g<<5)}H[h+4>>2]=c;H[h>>2]=k;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}H[l>>2]=n;H[j>>2]=i;g:{if(!n){break g}h=l+4|0;a=n;while(1){h:{i:{switch(a|0){case 1:b=H[h+4>>2];g=H[h>>2];break h;case 0:break g;default:break i}}g=H[h>>2];b=H[h+32>>2]-g|0;c=H[h+4>>2];if((b|0)>=(c|0)){b=c;break h}H[h+4>>2]=b}H[h+12>>2]=g;H[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=j+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=H[h+4>>2];g=H[h>>2];break k;case 0:break j;default:break l}}g=H[h>>2];b=g-H[h+32>>2]|0;c=H[h+4>>2];if((b|0)<=(c|0)){b=c;break k}H[h+4>>2]=b}H[h+8>>2]=g;H[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(n){H[l+16>>2]=H[l+16>>2]-f;h=l+4|0;a=H[l+12>>2];g=n-1|0;m:{if(!g){b=h;break m}while(1){b=H[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);H[h+8>>2]=a?d:e;H[h+44>>2]=a?d:b-f|0;a=H[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}H[b+8>>2]=a+f}if(i){H[j+16>>2]=H[j+16>>2]-f;h=j+4|0;a=H[j+12>>2];g=i-1|0;n:{if(!g){b=h;break n}while(1){b=H[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);H[h+8>>2]=a?d:e;H[h+44>>2]=a?d:b-f|0;a=H[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}H[b+8>>2]=a+f}}function ng(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;H[a>>2]=0;H[a+4>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;F[a+5|0]=0;F[a+6|0]=0;F[a+7|0]=0;F[a+8|0]=0;F[a+9|0]=0;F[a+10|0]=0;F[a+11|0]=0;F[a+12|0]=0;H[a+24>>2]=0;c=ak(b+52|0);d=I[c+50|0]|I[c+51|0]<<8;if(!(((d<<8|d>>>8)&65535)>>>0>1|(I[c+52|0]|I[c+53|0]<<8))){F[a+12|0]=!d;k=a,l=Is(b+104|0),H[k+20>>2]=l;ac(b);c=_b(b,1735162214);if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}d=H[c+12>>2];lb(c);if(H[c+4>>2]?d:0){H[c+4>>2]=0}H[a+24>>2]=c;d=Wa-48|0;Wa=d;i=b+128|0;f=H[i>>2];a:{if(f){break a}j=i-80|0;while(1){c=H[j>>2];if(!c){f=163632;break a}b:{c:{f=Ab(1,4);if(f){H[d+8>>2]=0;H[d+12>>2]=0;H[d+16>>2]=0;H[d+20>>2]=0;F[d+24|0]=0;H[d+28>>2]=0;H[d+32>>2]=0;H[d>>2]=0;H[d+4>>2]=0;g=ac(c);F[d+40|0]=1;H[d+36>>2]=g;h=0;c=_b(c,1735811442);if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}g=c;H[d+32>>2]=c;d:{e:{f:{g:{h:{while(1){F[d+24|0]=h;h=H[g+12>>2];H[d+4>>2]=h;e=H[g+16>>2];H[d+8>>2]=e+h;H[d+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}H[d+12>>2]=e;H[d+20>>2]=0;H[d>>2]=0;if(!h){lb(g);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;break d}e=Hs(h,d);g=H[d+28>>2];i:{if(e){if(!g){break i}H[d+28>>2]=0;g=Hs(h,d);h=H[d+28>>2];lb(H[d+32>>2]);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;if(!g){break e}if(!h){break h}break e}if(I[d+24|0]|!g){break g}e=Ec(c);H[d+4>>2]=e;H[d+8>>2]=e+H[c+16>>2];g=H[d+32>>2];h=1;if(e){continue}break f}break}lb(H[d+32>>2]);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0}if(H[c+4>>2]){H[c+4>>2]=0}break d}g=H[d+32>>2]}lb(g);H[d+32>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0}lb(c);c=163632}H[f>>2]=c;c=H[i>>2];H[i>>2]=c?c:f;if(!c){break a}c=H[f>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(f);break b}f=163632;c=H[i>>2];H[i>>2]=c?c:163632;if(c){break b}break a}ea(0)|0;_()|0;Gb();X()}f=H[i>>2];if(!f){continue}break}}Wa=d+48|0;H[a>>2]=f;k=a,l=dt(b+68|0),H[k+4>>2]=l;k=a,l=hk(b+96|0),H[k+8>>2]=l;c=H[a+20>>2];c=H[(c?c:163632)+16>>2]>>>(I[a+12|0]?1:2)|0;c=(c>>>0>1?c:1)-1|0;H[a+16>>2]=c;f=H[b+32>>2];if((f|0)==-1){f=Hc(b);c=H[a+16>>2]}H[a+16>>2]=c>>>0>>0?c:f}return a|0}function gn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!(I[a+16|0]&8)){f=N(c,204)+b|0;n=H[f+200>>2];g=H[f+204>>2]+ib(H[a>>2],n)|0;e=ib(H[a+4>>2],n);a:{b:{c:{d:{e:{switch(c|0){case 1:if(I[d+121|0]){break d}break b;case 0:if(!I[d+120|0]){break b}k=I[d+122|0]!=0;break;default:break e}}H[a+12>>2]=e;i=a+12|0;break c}o=I[d+123|0];H[a+12>>2]=e;p=H[a>>2];r=I[b+2492|0];k=2;f=H[b+412>>2];f:{g:{if(!f){break g}i=H[a+4>>2]+p|0;h=b+416|0;j=H[b+2488>>2];l=0-j|0;while(1){m=i-H[h+12>>2]|0;if((m|0)<(l|0)){break g}if((i|0)<=(j+H[h+8>>2]|0)){if(!r){f=0;if((m|0)>H[b+2484>>2]){break f}}q=H[h+16>>2];k=3;f=1;break f}h=h+32|0;f=f-1|0;if(f){continue}break}}f=0}i=H[b+928>>2];h:{if(!i){j=0;break h}j=0;l=H[b+2488>>2];m=0-l|0;h=((i<<5)+b|0)+932|0;while(1){s=H[h-24>>2]-p|0;if((m|0)>(s|0)){break h}if((H[h-20>>2]-l|0)>(p|0)){h=h-32|0;i=i-1|0;if(i){continue}break h}break}if(!r&H[b+2484>>2]<=(s|0)){break h}j=H[h-16>>2];f=k}i=a+12|0;k=(o|0)!=0;i:{switch(f-1|0){case 1:H[a+8>>2]=j;if(!o){break a}H[a+12>>2]=(e|0)<64?64:e+32&-64;break a;case 2:H[a+8>>2]=j;H[a+12>>2]=q-j;break a;case 0:break i;default:break c}}H[a+8>>2]=q-e;if(!o){break a}b=(e|0)<64?64:e+32&-64;H[a+12>>2]=b;H[a+8>>2]=q-b;break a}f=H[a+20>>2];if(f){if(!(I[f+16|0]&8)){gn(f,b,c,d)}g=((H[f+8>>2]-(e>>1)|0)+(H[f+12>>2]>>1)|0)+ib((H[a>>2]-(H[f>>2]+(H[f+4>>2]>>1)|0)|0)+(H[a+4>>2]>>1)|0,n)|0}H[a+12>>2]=e;j:{if(!I[d+124|0]){break j}if((e|0)<=64){if((e|0)>=32){g=(e>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((e|0)<=0){g=b;break j}f=b-g|0;c=f>>31;d=e+g|0;g=d+32&-64;h=g-d|0;d=h>>31;g=(c^f)-c>>>0>(d^h)-d>>>0?g:b;break j}b=H[(N(c,204)+b|0)+12>>2];d=e-b|0;c=d>>31;e=(c^d)-c>>>0<40?(b|0)>48?b:48:e;if(e>>>0<=191){b=e&63;if(b>>>0<10){break j}c=e&-64;if(b>>>0<=31){e=c|10;break j}e=b>>>0<54?c|54:e;break j}e=e+32&-64}H[a+12>>2]=e;b=(g+32&-64)-g|0;c=b>>31;d=e+g|0;d=(d+32&-64)-d|0;f=d>>31;d=((b^c)-c>>>0>(d^f)-f>>>0?d:b)+g|0;H[a+8>>2]=d;if(!k){break a}b=(e|0)<64?64:e+32&-64;H[i>>2]=b;c=b>>1;H[a+12>>2]=b;H[a+8>>2]=(b&64?c+d&-64|32:(c+d|0)+32&-64)-c;break a}H[a+12>>2]=e;H[a+8>>2]=g}H[a+16>>2]=H[a+16>>2]|8}}function bo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=Wa-48|0;Wa=d;a:{b:{if(!a){break b}if(!b){f=6;break a}if(G[a>>1]<=0){break a}h=H[b+20>>2];i=H[b+16>>2];while(1){m=G[H[a+12>>2]+(n<<1)>>1];if((m|0)<0){break b}k=H[a+4>>2];e=k+(g<<3)|0;f=H[e+4>>2];o=(H[e>>2]<>2]=o;f=(f<>2]=f;l=k+(m<<3)|0;k=H[l>>2];q=H[l+4>>2];j=H[d+36>>2];H[d+40>>2]=H[d+32>>2];H[d+44>>2]=j;p=H[a+8>>2];j=p+g|0;g=I[j|0]&3;c:{if((g|0)==3){break c}d:{switch(g-1|0){case 1:break b;case 0:break c;default:break d}}g=(q<>2]=g;H[d+32>>2]=k;l=l-8|0;break e}H[d+36>>2]=(g+f|0)/2;H[d+32>>2]=(k+o|0)/2}j=j-1|0;e=e-8|0}f=Ya[H[b>>2]](d+32|0,c)|0;if(f){break a}f:{if(e>>>0>>0){while(1){k=j+1|0;g=e+8|0;g:{h:{i:{switch(I[j+1|0]&3){case 1:H[d+24>>2]=(H[e+8>>2]<>2]=(H[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break g;case 0:H[d+40>>2]=(H[e+8>>2]<>2]=(H[e+12>>2]<>>0>>0){while(1){e=I[k+1|0];j=(H[g+8>>2]<>2]=j;f=(H[g+12>>2]<>2]=f;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;f=0;break h}f=Ya[H[b+8>>2]](d+40|0,d+24|0,c)|0;if(f){break k}e=g;j=k;break g}H[d+16>>2]=(j+H[d+40>>2]|0)/2;H[d+20>>2]=(f+H[d+44>>2]|0)/2;f=Ya[H[b+8>>2]](d+40|0,d+16|0,c)|0;if(!f){break j}}g=10;break h}e=H[d+28>>2];H[d+40>>2]=H[d+24>>2];H[d+44>>2]=e;if(g>>>0>>0){continue}break}}f=Ya[H[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;f=0;if((I[j+2|0]&3)!=2|e+16>>>0>l>>>0){break h}H[d+24>>2]=(H[e+8>>2]<>2]=(H[e+12>>2]<>2]=(H[e+16>>2]<>2]=(H[e+20>>2]<>>0<=l>>>0){H[d+8>>2]=(H[e+24>>2]<>2]=(H[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(f){g=10;break h}j=j+3|0;e=g;break g}f=Ya[H[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(e>>>0>>0){continue}break}}f=Ya[H[b+4>>2]](d+32|0,c)|0}if(f){break a}g=m+1|0;f=0;n=n+1|0;if((n|0)>1]){continue}break}break a}f=20}Wa=d+48|0;return f|0}function Gu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){g=H[a+100>>2];d=H[a+540>>2];if(d){Ya[H[d+12>>2]](a)}c=H[a+712>>2];if(c){d=H[c+8>>2];b=H[c+108>>2];if(b){e=H[b+28>>2];f=c+140|0;if(H[f>>2]){bc(b,f)}b=H[c+136>>2];if(b){Ya[H[e+8>>2]](e,b)}H[c+140>>2]=0;H[c+132>>2]=0;H[c+136>>2]=0;H[c+124>>2]=0;H[c+128>>2]=0;H[c+116>>2]=0;H[c+120>>2]=0;H[c+108>>2]=0;H[c+112>>2]=0}b=H[c+1240>>2];if(b){e=H[b+28>>2];f=c+1272|0;if(H[f>>2]){bc(b,f)}b=H[c+1268>>2];if(b){Ya[H[e+8>>2]](e,b)}b=c+1240|0;H[b+32>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0}b=H[c+36>>2];if(b){e=H[b+28>>2];f=c+68|0;if(H[f>>2]){bc(b,f)}b=H[c- -64>>2];if(b){Ya[H[e+8>>2]](e,b)}H[c+68>>2]=0;H[c+60>>2]=0;H[c+64>>2]=0;H[c+52>>2]=0;H[c+56>>2]=0;H[c+44>>2]=0;H[c+48>>2]=0;H[c+36>>2]=0;H[c+40>>2]=0}b=H[c+1204>>2];if(b){e=H[b+28>>2];f=c+1236|0;if(H[f>>2]){bc(b,f)}b=H[c+1232>>2];if(b){Ya[H[e+8>>2]](e,b)}b=c+1204|0;H[b+32>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0}if(H[c+2024>>2]){b=0;while(1){fl(d,H[((b<<2)+c|0)+2028>>2]);b=b+1|0;if(b>>>0>2]){continue}break}b=H[c+2028>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+2028>>2]=0}H[c+144>>2]=0;H[c+148>>2]=0;H[c+152>>2]=0;b=H[H[c+4>>2]+28>>2];e=c+1192|0;f=H[e>>2];if(f){Ya[H[b+8>>2]](b,f)}H[e>>2]=0;H[e+4>>2]=0;e=c+1188|0;f=H[e>>2];if(f){Ya[H[b+8>>2]](b,f)}H[c+1180>>2]=0;H[c+1184>>2]=0;H[e>>2]=0;dl(c+3112|0,d);fl(d,c+1372|0);b=c+3060|0;if(H[b>>2]){bc(H[c+4>>2],b)}F[c+3052|0]=0;H[c+3056>>2]=0;H[c+3064>>2]=0;b=H[c+3092>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+3092>>2]=0;b=H[c+1348>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+1348>>2]=0;b=H[c+1352>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+1352>>2]=0;b=H[c+1360>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+1360>>2]=0;b=H[c+1364>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+1364>>2]=0;b=H[c+3108>>2];if(b){Ya[b|0](H[c+3104>>2]);b=H[c+3104>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+3104>>2]=0}b=H[c+3132>>2];if(b){Ya[H[d+8>>2]](d,b)}H[c+3132>>2]=0;d=H[a+712>>2];if(d){Ya[H[g+8>>2]](g,d)}H[a+712>>2]=0}d=H[a+548>>2];if(d){Ya[H[d+44>>2]](a)}H[a+736>>2]=0}}function aA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Wa-16|0;Wa=e;a:{if(H[a+4>>2]){break a}d=6;b:{if(H[a+12>>2]!=1){break b}l=(b|0)!=0;b=(N(l,36)+a|0)+16|0;d=H[c>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=H[c+4>>2];j=H[a>>2];d=Of(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e);if(d){break b}d=H[c+8>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=H[c+12>>2];d=Of(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e+4|0);if(d){break b}d=b;b=H[c+16>>2];f=(((b>>31)+b|0)+32768&-65536)>>16;b=H[c+20>>2];d=Of(d,f,(((b>>31)+b|0)+32768&-65536)>>16,j,e+8|0);if(d){break b}g=H[e+8>>2];h=H[e+4>>2];i=H[e>>2];k=N(l,36)+a|0;f=H[k+40>>2];c:{if(f){m=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=H[k+48>>2];d=f;while(1){b=H[c>>2];if((I[H[c+8>>2]+o|0]&r?i>>>0>>0:0)|(I[H[c+8>>2]+n|0]&q?b>>>0>h>>>0:0)|(I[m+H[c+8>>2]|0]&p?b>>>0>g>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}m=f+1|0;b=H[k+44>>2];d:{if(m>>>0<=b>>>0){c=H[(N(l,36)+a|0)+48>>2];break d}H[e+12>>2]=0;c=b;b=f+8&-8;d=N(l,36)+a|0;c=jb(j,16,c,b,H[d+48>>2],e+12|0);H[d+48>>2]=c;d=H[e+12>>2];if(d){break b}H[k+44>>2]=b}b=0;c=(f<<4)+c|0;H[c+12>>2]=0;H[c>>2]=0;H[k+40>>2]=m}if((i|0)>=0){if(b>>>0<=i>>>0){b=H[c+4>>2];H[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=jb(j,1,f,b,H[c+8>>2],e+12|0),H[s+8>>2]=t;d=H[e+12>>2];if(d){break b}H[c+4>>2]=b<<3}H[c>>2]=i+1}b=H[c+8>>2]+(i>>>3|0)|0;F[b|0]=I[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(K[c>>2]<=h>>>0){b=H[c+4>>2];H[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=jb(j,1,f,b,H[c+8>>2],e+12|0),H[s+8>>2]=t;d=H[e+12>>2];if(d){break b}H[c+4>>2]=b<<3}H[c>>2]=h+1}b=H[c+8>>2]+(h>>>3|0)|0;F[b|0]=I[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(K[c>>2]<=g>>>0){b=H[c+4>>2];H[e+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;s=c,t=jb(j,1,f,b,H[c+8>>2],e+12|0),H[s+8>>2]=t;d=H[e+12>>2];if(d){break b}H[c+4>>2]=b<<3}H[c>>2]=g+1}a=H[c+8>>2]+(g>>>3|0)|0;F[a|0]=I[a|0]|128>>>(g&7);break a}H[a+4>>2]=d}Wa=e+16|0}function Lr(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=H[a+100>>2];g=H[k+64>>2];i=I[k+61|0]?H[k+72>>2]:g;o=f-g|0;a:{if(!b){break a}f=i-g|0;if(b-1>>>0>=3){n=b&-4;while(1){g=j<<2;m=g+c|0;H[m>>2]=f+H[m>>2];m=(g|4)+c|0;H[m>>2]=f+H[m>>2];m=(g|8)+c|0;H[m>>2]=f+H[m>>2];g=(g|12)+c|0;H[g>>2]=f+H[g>>2];j=j+4|0;l=l+4|0;if((n|0)!=(l|0)){continue}break}}g=b&3;if(!g){break a}while(1){n=(j<<2)+c|0;H[n>>2]=f+H[n>>2];j=j+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}f=i+o|0;b:{if(!d){break b}m=0;while(1){if(!I[k+60|0]){break b}g=(m<<2)+e|0;i=I[g|0]|I[g+1|0]<<8;l=(i<<8|i>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}if(!i){i=I[g+2|0]|I[g+3|0]<<8;if(H[a+128>>2]==((i<<8|i>>>8)&65535)){break c}}p=(l<<2)+c|0;if(!$c(k,H[p>>2])|H[k+152>>2]<=0){break b}n=H[a+136>>2];if(!n){break c}h=H[a+104>>2];if(!h){break c}j=I[k+61|0];i=H[k+64>>2];q=H[k+72>>2];g=I[g+2|0]|I[g+3|0]<<8;s=H[k+68>>2];r=H[a+100>>2];o=H[r+152>>2];H[r+152>>2]=o-1;if((o|0)<=0){break c}H[a+136>>2]=n-1;g=Ya[h|0](a,(g<<8|g>>>8)&65535)|0;H[a+136>>2]=H[a+136>>2]+1;if(!g){break c}g=H[k+64>>2];g=(H[k+68>>2]-g|0)+(I[k+61|0]?H[k+72>>2]:g)|0;i=(s-i|0)+(j?q:i)|0;if((g|0)==(i|0)){break c}h=g-i|0;n=h+f|0;f=H[p>>2];if((n|0)<=(f|0)){break b}g=l+1|0;d:{if((h|0)>0){i=b+h|0;f=g;if(i>>>0<=64){break d}$c(k,n);return}f=g-b|0;h=(f|0)<(h|0)?h:f;i=h+b|0;f=g-h|0}o=f;f=(f<<2)+c|0;Yb(f+(h<<2)|0,f,b-o<<2);j=h+o|0;e:{if(j>>>0<=g>>>0){break e}b=(h+o|0)-l|0;q=b-2|0;f=H[p>>2];l=0;b=b-1&3;if(b){while(1){f=f+1|0;H[(g<<2)+c>>2]=f;g=g+1|0;l=l+1|0;if((b|0)!=(l|0)){continue}break}}if(q>>>0<=2){break e}while(1){l=(g<<2)+c|0;H[l>>2]=f+1;b=f+4|0;H[l+12>>2]=b;H[l+8>>2]=f+3;H[l+4>>2]=f+2;f=b;g=g+4|0;if((j|0)!=(g|0)){continue}break}}f:{if(i>>>0<=j>>>0){break f}f=0;b=i-(h+o|0)&3;if(b){while(1){g=(j<<2)+c|0;H[g>>2]=H[g>>2]+h;j=j+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(((h^-1)+i|0)-o>>>0<3){break f}while(1){b=(j<<2)+c|0;H[b>>2]=H[b>>2]+h;H[b+4>>2]=H[b+4>>2]+h;H[b+8>>2]=H[b+8>>2]+h;H[b+12>>2]=H[b+12>>2]+h;j=j+4|0;if((i|0)!=(j|0)){continue}break}}f=n;b=i}m=m+1|0;if((m|0)!=(d|0)){continue}break}}$c(k,f)}function pg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=I[a+4|0];a:{b:{if(!g){break b}k=N(b+1|0,g)+a|0;f=k+5|0;c=f;i=g-1|0;if(i>>>0>=3){j=g&252;c=f;while(1){h=c;c=c+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}e=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}h=g&3;if(h){while(1){e=I[c|0]|e<<8;c=c+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}h=g&3;l=N(b,g)+a|0;c=l+5|0;j=0;if(i>>>0<3){d=0}else{m=g&252;d=0;while(1){b=c;c=b+4|0;d=d+4|0;if((m|0)!=(d|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(h){while(1){d=I[c|0]|d<<8;c=c+1|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(e>>>0>>0){return 0}d=g&3;c=0;if(i>>>0<3){e=0}else{h=g&252;e=0;while(1){b=f;f=b+4|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(d){while(1){e=I[f|0]|e<<8;f=f+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}c:{if(g){b=a;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=(b+N(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),g)|0)+5|0;b=g&3;d=0;if(i>>>0<3){f=0}else{h=g&252;f=0;while(1){a=c;c=a+4|0;f=f+4|0;if((h|0)!=(f|0)){continue}break}a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(b){while(1){f=I[c|0]|f<<8;c=c+1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}if(e>>>0<=f>>>0){break c}return 0}f=0;d=0;if(!e){break b}break a}b=g&3;c=k+5|0;e=0;if(i>>>0<3){f=0}else{d=g&252;f=0;while(1){a=c;c=a+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(b){while(1){f=I[c|0]|f<<8;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}b=g&3;c=l+5|0;e=0;if(i>>>0<3){d=0}else{h=g&252;d=0;while(1){a=c;c=a+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(!b){break b}while(1){d=I[c|0]|d<<8;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}f=f-d|0}return f|0}function os(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=H[b+4>>2];if(c>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0>>0){break a}g=f-a|0;if(g>>>0<6){break a}d=H[b+12>>2]-6|0;H[b+12>>2]=d;if((d|0)<=0){break a}e=I[a+2|0]|I[a+3|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<6|e>>>0>g>>>0){break a}e=d-e|0;H[b+12>>2]=e;if((e|0)<=0){break a}d=1;b:{c:{switch(I[a+4|0]){case 0:d=a+6|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<8){break a}g=e-8|0;H[b+12>>2]=g;if((e|0)<9){break a}d=I[a+6|0]|I[a+7|0]<<8;if(d){a=a+14|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=f-a|0;a=N((d<<8|d>>>8)&65535,6);if(e>>>0>>0){break a}a=g-a|0;H[b+12>>2]=a;d=0;if((a|0)<=0){break b}}return 1;case 2:break c;default:break b}}d:{e:{e=H[b+4>>2];if(e>>>0>a>>>0){break e}f=H[b+8>>2];if(f>>>0>>0){break e}j=f-a|0;if(j>>>0<14){break e}d=H[b+12>>2];c=d-14|0;H[b+12>>2]=c;if((c|0)<=0){break e}c=a+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break e}c=d-16|0;H[b+12>>2]=c;if((c|0)<=0){break e}c=I[a+8|0]|I[a+9|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break e}g=d-20|0;H[b+12>>2]=g;if((g|0)<=0){break e}g=c+2|0;if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break e}d=d-22|0;H[b+12>>2]=d;if((d|0)<=0){break e}f:{g=I[c+2|0]|I[c+3|0]<<8;if(!g){break f}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0){break e}h=f-c|0;c=((g<<8|g>>>8)&65535)<<1;if(h>>>0>>0){break e}d=d-c|0;H[b+12>>2]=d;if((d|0)>0){break f}break e}c=a+10|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break e}H[b+12>>2]=d-2;if((d|0)<3){break e}c=I[a+10|0]|I[a+11|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break e}H[b+12>>2]=d-6;if((d|0)<7){break e}g=c+2|0;if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break e}g=d-8|0;H[b+12>>2]=g;if((d|0)<9){break e}d=1;g:{i=I[c+2|0]|I[c+3|0]<<8;if(!i){break g}h=e;e=c+4|0;if(h>>>0>e>>>0|f>>>0>>0){break e}e=f-e|0;f=((i<<8|i>>>8)&65535)<<1;if(e>>>0>>0){break e}g=g-f|0;H[b+12>>2]=g;if((g|0)>0){break g}break e}a=I[a+12|0]|I[a+13|0]<<8;h:{if(!a){break h}d=0;a=(a<<8|a>>>8)&65535;if(a>>>0>j>>>0){break h}a=g-a|0;H[b+12>>2]=a;d=(a|0)>0}break d}d=0}}return d|0}return 0}function Xp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Wa-128|0;Wa=j;a:{b:{c:{if(!Qe(f,g,h,i,0,0,0,0)){break c}m=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){l=4;if(n){break e}l=f|h|(g|m)?3:2;break d}l=!(f|h|(g|m))}}r=e>>>16|0;o=r&32767;if((o|0)==32767){break c}if(l){break b}}cc(j+16|0,b,c,d,e,f,g,h,i);e=H[j+16>>2];d=H[j+20>>2];c=H[j+24>>2];b=H[j+28>>2];Yp(j,e,d,c,b,e,d,c,b);d=H[j+8>>2];e=H[j+12>>2];h=H[j>>2];i=H[j+4>>2];break a}m=e&65535|o<<16;p=m;l=d;m=h;q=i>>>16&32767;k=i&65535|q<<16;if((Qe(b,c,l,p,f,g,h,k)|0)<=0){if(Qe(b,c,l,p,f,g,m,k)){h=b;i=c;break a}cc(j+112|0,b,c,d,e,0,0,0,0);d=H[j+120>>2];e=H[j+124>>2];h=H[j+112>>2];i=H[j+116>>2];break a}if(o){i=c;h=b}else{cc(j+96|0,b,c,l,p,0,0,0,1081540608);h=H[j+108>>2];p=h;l=H[j+104>>2];o=(h>>>16|0)-120|0;i=H[j+100>>2];h=H[j+96>>2]}if(!q){cc(j+80|0,f,g,m,k,0,0,0,1081540608);f=H[j+92>>2];k=f;m=H[j+88>>2];q=(k>>>16|0)-120|0;g=H[j+84>>2];f=H[j+80>>2]}s=k&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){t=l-m|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=(p-((l>>>0>>0)+s|0)|0)-(t>>>0>>0)|0;k=t-k|0;f:{if((n|0)>0|(n|0)>=0){l=h;h=h-f|0;i=i-((f>>>0>l>>>0)+g|0)|0;if(!(h|k|(i|n))){cc(j+32|0,b,c,d,e,0,0,0,0);d=H[j+40>>2];e=H[j+44>>2];h=H[j+32>>2];i=H[j+36>>2];break a}n=n<<1|k>>>31;l=k<<1|i>>>31;p=n;break f}n=p<<1|l>>>31;l=l<<1|i>>>31;p=n}n=i<<1|h>>>31;h=h<<1;i=n;o=o-1|0;if((q|0)<(o|0)){continue}break}o=q}q=l-m|0;n=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=(p-((l>>>0>>0)+s|0)|0)-(q>>>0>>0)|0;m=q-n|0;g:{if((k|0)<0){m=l;k=p;break g}l=h;h=h-f|0;i=i-((f>>>0>l>>>0)+g|0)|0;if(h|m|(i|k)){break g}cc(j+48|0,b,c,d,e,0,0,0,0);d=H[j+56>>2];e=H[j+60>>2];h=H[j+48>>2];i=H[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m;k=k<<1|b>>>31;m=c|b<<1;if(k>>>0<65536){continue}break}}b=r&32768;if((o|0)<=0){cc(j- -64|0,h,i,m,k&65535|(b|o+120)<<16,0,0,0,1065811968);d=H[j+72>>2];e=H[j+76>>2];h=H[j+64>>2];i=H[j+68>>2];break a}d=m;e=k&65535|(b|o)<<16}H[a>>2]=h;H[a+4>>2]=i;H[a+8>>2]=d;H[a+12>>2]=e;Wa=j+128|0}function hn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=Wa-16|0;Wa=j;g=H[b>>2];e=g<<1;u=a,v=jb(d,4,0,e,0,j+12|0),H[u+12>>2]=v;a:{if(H[j+12>>2]){break a}u=a,v=jb(d,28,0,g,0,j+12|0),H[u+8>>2]=v;if(H[j+12>>2]){break a}u=a,v=jb(d,16,0,e|1,0,j+12|0),H[u+24>>2]=v;if(H[j+12>>2]){break a}H[a>>2]=g;H[a+28>>2]=0;H[a+20>>2]=0;H[a+4>>2]=0;H[a+16>>2]=H[a+12>>2]+(g<<2);b:{if(!g){break b}h=g-1|0;d=H[a+8>>2];b=H[b+8>>2];i=g&3;c:{if(!i){f=g;break c}e=0;f=g;while(1){H[d>>2]=H[b>>2];H[d+4>>2]=H[b+4>>2];H[d+16>>2]=H[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(h>>>0<3){break b}while(1){H[d>>2]=H[b>>2];H[d+4>>2]=H[b+4>>2];H[d+16>>2]=H[b+8>>2];H[d+28>>2]=H[b+12>>2];H[d+32>>2]=H[b+16>>2];H[d+44>>2]=H[b+20>>2];H[d+56>>2]=H[b+24>>2];H[d+60>>2]=H[b+28>>2];H[d+72>>2]=H[b+32>>2];H[d+84>>2]=H[b+36>>2];H[d+88>>2]=H[b+40>>2];H[d+100>>2]=H[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}k=H[c>>2];i=H[c+8>>2];H[a+32>>2]=c;if(!k){break d}while(1){p=H[i>>2];if(p){m=H[i+8>>2];b=0;l=0;q=0;while(1){if(!b){q=I[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=H[a+8>>2]+N(l,28)|0;c=H[h+16>>2];if(c&4){break e}H[h+16>>2]=c|4;c=H[a+16>>2];H[h+20>>2]=0;f:{if(!e){break f}r=H[h>>2];t=r+H[h+4>>2]|0;f=e;d=c;while(1){n=H[d>>2];s=H[n>>2];if(!((s|0)>(t|0)|(H[n+4>>2]+s|0)<(r|0))){H[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;H[a+4>>2]=d;H[c+(e<<2)>>2]=h;e=d}b=b>>1;l=l+1|0;if((p|0)!=(l|0)){continue}break}}i=i+16|0;k=k-1|0;if(k){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=H[a+8>>2]+N(o,28)|0;b=H[f+16>>2];g:{if(b&4){break g}H[f+16>>2]=b|4;c=H[a+16>>2];H[f+20>>2]=0;h:{if(!e){break h}i=H[f>>2];l=i+H[f+4>>2]|0;b=e;d=c;while(1){h=H[d>>2];k=H[h>>2];if(!((k|0)>(l|0)|(i|0)>(k+H[h+4>>2]|0))){H[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;H[a+4>>2]=b;H[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Wa=j+16|0;return H[j+12>>2]}function Ok(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a=Wa-16|0;Wa=a;d=0;H[a+4>>2]=0;e=H[b+80>>2];g=Ya[H[e+164>>2]](b,H[b+84>>2],32,a+4|0,H[e+20>>2])|0;el(c);m=H[c+40>>2];k=H[c+68>>2];a:{if(!k){break a}j=H[c+88>>2];i=H[c+80>>2];if((m&-2)==4){while(1){b:{c:{if(!g){break c}e=N(d,20);f=e+i|0;if(!Mh(H[f>>2])){break c}H[f>>2]=H[a+4>>2];e=e+j|0;H[e>>2]=0;H[e+4>>2]=0;break b}e=N(d,20);f=e+i|0;h=H[f>>2];H[f>>2]=0;l=h;h=H[b+80>>2];Ya[H[h+164>>2]](b,H[b+84>>2],l,f,H[h+20>>2])|0;h=H[f>>2];e=e+j|0;H[e>>2]=0;H[e+4>>2]=0;l=h;h=H[b+80>>2];n=e,o=Ya[H[h+176>>2]](b,H[b+84>>2],l,H[h+32>>2])|0,H[n>>2]=o;Ee(b,H[f>>2],a+12|0,a+8|0);H[e+8>>2]=H[e+8>>2]-H[a+12>>2];H[e+12>>2]=H[e+12>>2]-H[a+8>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break a}}if(!g){while(1){e=N(d,20);f=e+i|0;g=H[f>>2];H[f>>2]=0;h=g;g=H[b+80>>2];Ya[H[g+164>>2]](b,H[b+84>>2],h,f,H[g+20>>2])|0;g=H[f>>2];e=e+j|0;H[e>>2]=0;H[e+4>>2]=0;h=g;g=H[b+80>>2];n=e,o=Ya[H[g+180>>2]](b,H[b+84>>2],h,H[g+36>>2])|0,H[n+4>>2]=o;Th(b,H[f>>2],a+12|0,a+8|0);H[e+8>>2]=H[e+8>>2]-H[a+12>>2];H[e+12>>2]=H[e+12>>2]-H[a+8>>2];d=d+1|0;if((k|0)!=(d|0)){continue}break a}}while(1){f=N(d,20);e=f+i|0;d:{if(Mh(H[e>>2])){H[e>>2]=H[a+4>>2];e=f+j|0;H[e>>2]=0;H[e+4>>2]=0;break d}g=H[e>>2];H[e>>2]=0;h=g;g=H[b+80>>2];Ya[H[g+164>>2]](b,H[b+84>>2],h,e,H[g+20>>2])|0;g=H[e>>2];f=f+j|0;H[f>>2]=0;H[f+4>>2]=0;h=g;g=H[b+80>>2];n=f,o=Ya[H[g+180>>2]](b,H[b+84>>2],h,H[g+36>>2])|0,H[n+4>>2]=o;Th(b,H[e>>2],a+12|0,a+8|0);H[f+8>>2]=H[f+8>>2]-H[a+12>>2];H[f+12>>2]=H[f+12>>2]-H[a+8>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((m&-3)==5){Be(c)}e=H[c+68>>2];e:{if(!e){break e}c=H[c+80>>2];d=0;b=0;if(e-1>>>0>=3){j=e&-4;f=0;while(1){i=c+N(b,20)|0;H[i+4>>2]=H[i+4>>2]&-4;i=c+N(b|1,20)|0;H[i+4>>2]=H[i+4>>2]&-4;i=c+N(b|2,20)|0;H[i+4>>2]=H[i+4>>2]&-4;i=c+N(b|3,20)|0;H[i+4>>2]=H[i+4>>2]&-4;b=b+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}e=e&3;if(!e){break e}while(1){f=c+N(b,20)|0;H[f+4>>2]=H[f+4>>2]&-4;b=b+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}Wa=a+16|0;return 1}function RL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;H[b>>2]=0;H[b+4>>2]=0;H[b+20>>2]=163632;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;i=I[163632];k=i|256;f=!I[a+16|0];while(1){a:{c=H[a+12>>2];d=c+1|0;g=H[a+4>>2];j=d>>>0<=g>>>0&f;if(!j){break a}b:{c:{if(c>>>0>>0){e=H[a>>2];f=I[e+c|0];if((f|0)==12){c=k;if(d>>>0>=g>>>0){break c}f=I[d+e|0]|256;c=d}if(c>>>0>=g>>>0){c=f;break c}H[a+12>>2]=c+1;break b}F[a+16|0]=1;f=65535;c=i;if((c|0)==12){break b}}F[a+16|0]=1;H[a+12>>2]=g;f=c}d=Wa-32|0;Wa=d;H[d+28>>2]=0;H[d+20>>2]=0;H[d+24>>2]=0;H[d+12>>2]=0;H[d+16>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{switch(f-6|0){default:c=f-265|0;if(c>>>0>10){break i}c=1<>2];if(c){c=c-1|0;if(c>>>0>2]){break g}c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;H[d+24>>2]=e;H[d+28>>2]=c;break f}F[a+20|0]=1;c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;H[d+24>>2]=e;H[d+28>>2]=c;break f}g=a+24|0;c=H[g>>2];o:{if(c){c=c-1|0;if(c>>>0>=K[a+32>>2]){c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;x(0,e|0);x(1,c|0);h=+z();break o}h=M[H[a+36>>2]+(c<<3)>>3];break o}F[a+20|0]=1;c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;x(0,e|0);x(1,c|0);h=+z()}p:{if(P(h)<2147483648){c=~~h;break p}c=-2147483648}if((c|0)<0){F[a+20|0]=1;c=0}H[b+16>>2]=c;break f}kg(a+20|0,a);break h}h=jg(a);c=H[a+24>>2];if(c>>>0>2]){H[a+24>>2]=c+1;M[H[a+36>>2]+(c<<3)>>3]=h;break h}F[a+20|0]=1;c=H[40909];H[64760]=H[40908];H[64761]=c;M[32380]=h;break h}_e(f,a)}if(!H[a+24>>2]){break e}break d}c=H[a+36>>2]+(c<<3)|0;e=H[c+4>>2];H[d+24>>2]=H[c>>2];H[d+28>>2]=e}H[g>>2]=0}if(I[a+20|0]|(I[a+40|0]|I[a+16|0])|H[a+28>>2]<0){break d}Os(b,f,a,d+8|0)}Wa=d+32|0;if(I[a+20|0]|(I[a+40|0]|I[a+16|0])){break a}f=1;if(H[a+28>>2]>=0){continue}}break}return!j|0}function Fv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Wa-1552|0;Wa=e;f=6;g=H[a+4>>2];a:{if(K[g+16>>2]<=c>>>0){break a}h=H[g+136>>2];H[a+164>>2]=H[b+16>>2];H[a+168>>2]=H[b+20>>2];d=d&1024?d|3:d;i=d&1;F[a+161|0]=!i;f=!(d&3);F[a+160|0]=f;H[a+108>>2]=0;H[a+72>>2]=1869968492;f=Ya[H[H[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,112)|0;if(f){break a}j=d&1024;F[e+101|0]=j>>>10;f=Tl(e+32|0,c);if(!f){k=I[a+161|0];l=I[a+160|0];c=e+1420|0;f=H[c+4>>2];H[e+24>>2]=H[c>>2];H[e+28>>2]=f;c=H[e+1416>>2];H[e+16>>2]=H[e+1412>>2];H[e+20>>2]=c;c=H[e+1432>>2];f=H[e+1428>>2];Ya[H[H[h+12>>2]+4>>2]](e+32|0);H[a+124>>2]=H[a+124>>2]&1|4;if(j){b=H[a+156>>2];d=H[e+64>>2];H[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=H[e+72>>2];H[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=H[e+28>>2];H[b+20>>2]=H[e+24>>2];H[b+24>>2]=a;a=H[e+20>>2];H[b+12>>2]=H[e+16>>2];H[b+16>>2]=a;H[b+32>>2]=c;H[b+28>>2]=f;F[b+8|0]=1;f=0;break a}h=H[e+72>>2];H[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=H[e+72>>2];H[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;F[H[a+156>>2]+8|0]=0;h=H[g+200>>2];g=H[g+208>>2];H[a+72>>2]=1869968492;g=g-h>>16;H[a+60>>2]=g;H[a+52>>2]=g;if(J[b+14>>1]<=23){H[a+124>>2]=H[a+124>>2]|256}g=a+108|0;b:{if(!(H[e+20>>2]|(H[e+16>>2]!=65536|H[e+28>>2]!=65536))){if(!H[e+24>>2]){break b}}Td(g,e+16|0);m=a,n=ib(H[a+40>>2],H[e+16>>2]),H[m+40>>2]=n;m=a,n=ib(H[a+52>>2],H[e+28>>2]),H[m+52>>2]=n}if(c|f){yc(g,f,c);H[a+40>>2]=f+H[a+40>>2];H[a+52>>2]=c+H[a+52>>2]}if(!(k?0:i)){c=H[a+168>>2];h=H[a+164>>2];c:{if(H[e+104>>2]?l:0){break c}f=H[e+48>>2];b=G[f+2>>1];if((b|0)<=0){break c}b=b&65535;f=H[f+4>>2];while(1){m=f,n=ib(H[f>>2],h),H[m>>2]=n;m=f,n=ib(H[f+4>>2],c),H[m+4>>2]=n;f=f+8|0;i=b>>>0>1;b=b-1|0;if(i){continue}break}}m=a,n=ib(H[a+40>>2],h),H[m+40>>2]=n;m=a,n=ib(H[a+52>>2],c),H[m+52>>2]=n}je(g,e);b=H[e>>2];H[a+24>>2]=H[e+8>>2]-b;c=H[e+4>>2];f=H[e+12>>2];H[a+36>>2]=f;H[a+32>>2]=b;H[a+28>>2]=f-c;if(d&16){ff(a+24|0,H[a+52>>2])}f=0;break a}Ya[H[H[h+12>>2]+4>>2]](e+32|0)}Wa=e+1552|0;return f|0}function Um(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;H[a+168>>2]=f;n=a+168|0;H[a+48>>2]=n;i=H[a+64>>2];H[a+192>>2]=H[a+60>>2];H[a+196>>2]=i;H[a+188>>2]=c;H[a+184>>2]=b;H[a+180>>2]=e;H[a+176>>2]=d;H[a+172>>2]=g;g=n;while(1){a:{b:{c:{j=H[g+20>>2];l=H[g+12>>2];e=H[g+28>>2];i=H[g+4>>2];if((((j|0)<(l|0)?j:l)|0)>=(((e|0)<(i|0)?e:i)|0)){k=(e|0)>(i|0);if((((j|0)>(l|0)?j:l)|0)<=((k?e:i)|0)){break c}}b=H[g+24>>2];H[g+48>>2]=b;H[g+52>>2]=e;c=e+j|0;H[g+44>>2]=c>>1;d=i+l|0;H[g+12>>2]=d>>1;e=H[g+8>>2];k=e+f|0;H[g+8>>2]=k>>1;m=b;b=H[g+16>>2];h=m+b|0;H[g+40>>2]=h>>1;m=c;c=j+l|0;j=m+c|0;H[g+36>>2]=j>>2;c=c+d|0;H[g+20>>2]=c>>2;b=b+e|0;d=b+k|0;H[g+16>>2]=d>>2;e=b+h|0;H[g+32>>2]=e>>2;b=3;H[g+28>>2]=c+j>>3;H[g+24>>2]=d+e>>3;break b}b=-3;if((e|0)==(i|0)){break b}o=k?2:1;c=H[a+92>>2];if((o|0)!=(c|0)){b=H[a+4>>2];d=k?e&b-1:((b+e|0)-1&0-b)-e|0;m=H[a+8>>2];if(c){b=H[a+36>>2];h=H[a+80>>2];c=H[h+8>>2];p=b-c|0;if((p|0)<0){H[a+40>>2]=99;return 1}d:{if((b|0)==(c|0)){c=b;break d}H[h+16>>2]=p>>2;if((d|0)>=(m|0)){c=J[h+12>>1];G[h+12>>1]=(c&8?16:32)|c}H[a+80>>2]=b;c=b+32|0;H[a+36>>2]=c;H[b+8>>2]=c;H[b+16>>2]=0;H[h+28>>2]=b;G[a+76>>1]=J[a+76>>1]+1}if(K[a+32>>2]<=c>>>0){H[a+40>>2]=98;return 1}F[a+79|0]=0}e:{if(H[a+84>>2]){c=H[a+36>>2];break e}b=H[a+36>>2];H[a+84>>2]=b;H[a+80>>2]=b;c=b+32|0;H[a+36>>2]=c}if(K[a+32>>2]<=c>>>0){H[a+40>>2]=98;return 1}b=H[a+80>>2];H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=c;H[b+28>>2]=0;H[b+4>>2]=0;h=I[a+164|0];G[b+12>>1]=h;f:{g:{if(!k){G[b+12>>1]=h|8;c=40;if((d|0)>=(m|0)){break g}break f}c=16;if((d|0)<(m|0)){break f}}G[b+12>>1]=c|h}if(!H[a+88>>2]){H[a+88>>2]=b}G[a+78>>1]=1;H[a+92>>2]=o}b=H[a+72>>2];c=H[a+68>>2];if(!k){if(!Gg(a,3,62,c,b)){break a}return 1}H[g+28>>2]=0-e;H[g+20>>2]=0-j;H[g+12>>2]=0-l;H[g+4>>2]=0-i;d=I[a+78|0];b=Gg(a,3,62,0-b|0,0-c|0);if(!(I[a+78|0]|!d)){c=H[a+80>>2];H[c+20>>2]=0-H[c+20>>2]}H[g+4>>2]=0-H[g+4>>2];if(!b){break a}return 1}H[a+48>>2]=(b<<3)+g}g=H[a+48>>2];if(n>>>0<=g>>>0){f=H[g>>2];continue}break}H[a+64>>2]=i;H[a+60>>2]=f;return 0}function at(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=H[a>>2];a:{if(c){break a}l=a-28|0;while(1){b=H[l>>2];if(!b){return 163632}b:{c:{c=Ab(1,32);if(c){e=Wa-48|0;Wa=e;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;F[e+24|0]=0;H[65057]=0;H[e+28>>2]=0;H[e+32>>2]=0;H[e>>2]=0;H[e+4>>2]=0;d=aa(683,b|0)|0;f=H[65057];H[65057]=0;d:{e:{if((f|0)==1){break e}H[e+36>>2]=d;H[65057]=0;F[e+40|0]=1;b=ca(684,b|0,1886352244)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}H[65057]=0;b=ca(709,e|0,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}H[c>>2]=b;b=b?b:163632;h=H[b+16>>2];b=h>>>0<32?163632:H[b+12>>2];d=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[c+4>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f:{if((d|0)!=512){break f}d=b+32|0;H[c+8>>2]=d;f=I[b+32|0]|I[b+33|0]<<8;g=(d+(((f<<8|f>>>8)&65535)<<1)|0)+2|0;H[c+24>>2]=g;f=H[c+16>>2];if(f>>>0>65534){break f}i=b+h|0;if(i>>>0<=g>>>0){break f}k=H[40908];while(1){if(I[g|0]+g>>>0>=i>>>0){break f}g:{h:{i:{h=H[c+12>>2];if((h|0)>=0){j=f+1|0;m=H[c+24>>2];b=f;d=h;if(b>>>0>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(j>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>1073741822)){b=Eb(H[c+20>>2],d<<2);if(b){break i}}H[c+12>>2]=-1}H[64760]=k;break g}H[c+12>>2]=d;H[c+20>>2]=b;b=H[c+16>>2]}if(b>>>0<=f>>>0){kb(H[c+20>>2]+(b<<2)|0,0,j-b<<2)}H[c+16>>2]=j;b=H[c+20>>2];H[64760]=k;b=b+(f<<2)|0;if((b|0)==259040){break g}H[b>>2]=g-m}f=H[c+16>>2];if(f>>>0>65534){break f}g=(I[g|0]+g|0)+1|0;if(i>>>0>g>>>0){continue}break}}Wa=e+48|0;break d}a=$()|0;_()|0;H[c+16>>2]=0;hb(H[c+20>>2]);H[c+20>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;ba(a|0);X()}b=H[a>>2];H[a>>2]=b?b:c;if(!b){break a}hb(H[c+28>>2]);b=H[c>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break c}H[c>>2]=0;H[c+16>>2]=0;hb(H[c+20>>2]);hb(c);break b}c=163632;b=H[a>>2];H[a>>2]=b?b:163632;if(b){break b}break a}ea(0)|0;_()|0;Gb();X()}c=H[a>>2];if(!c){continue}break}}return c}function Fx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=Wa-16|0;Wa=o;a:{b:{if(!H[c+88>>2]){H[c+100>>2]=H[d+100>>2];H[c+104>>2]=H[d+104>>2];e=H[d+80>>2];H[c+80>>2]=e;f=H[d+76>>2];F[c+94|0]=7;H[c+76>>2]=f;G[c+92>>1]=256;e=e<<2;H[c+84>>2]=e;e=N(e,f);f=Wg(c,e);H[o+12>>2]=f;if(f){break a}kb(H[c+88>>2],0,e);break b}i=H[d+104>>2];j=i-H[d+76>>2]|0;k=H[c+104>>2];m=k-H[c+76>>2]|0;l=H[d+100>>2];g=l+H[d+80>>2]|0;f=H[c+100>>2];e=f+H[c+80>>2]|0;if(!((e|0)<(g|0)|(f|0)>(l|0)|(i|0)>(k|0))){if((j|0)>=(m|0)){break b}}i=(i|0)<(k|0)?k:i;m=i-((j|0)>(m|0)?m:j)|0;k=(f|0)<(l|0)?f:l;g=((e|0)>(g|0)?e:g)-k|0;j=g<<2;l=zb(H[a+100>>2],N(m,j),o+12|0);f=H[o+12>>2];if(f){break a}if(H[c+76>>2]){e=(l+N(j,i-H[c+104>>2]|0)|0)+(H[c+100>>2]-k<<2)|0;f=H[c+88>>2];while(1){e=mb(e,f,H[c+80>>2]<<2)+j|0;f=H[c+84>>2]+f|0;h=h+1|0;if(h>>>0>2]){continue}break}}Yi(c,l);H[c+100>>2]=k;H[c+104>>2]=i;H[c+80>>2]=g;H[c+84>>2]=j;H[c+76>>2]=m;e=H[c+156>>2];H[e+4>>2]=H[e+4>>2]|1;H[c+72>>2]=1651078259}c:{if((b|0)==65535){if(I[a+676|0]){e=I[a+680|0];h=I[a+679|0];n=I[a+678|0];g=I[a+677|0];break c}b=H[a+656>>2];if(b){e=255;h=255;n=255;g=255;if(I[b+(J[a+668>>1]<<1)|0]&2){break c}}h=0;e=255;n=0;g=0;break c}a=H[a+672>>2]+(b<<2)|0;e=I[a+3|0];h=I[a+2|0];n=I[a+1|0];g=I[a|0]}f=0;i=H[d+76>>2];if(!i|!H[d+80>>2]){break a}l=h&255;m=n&255;g=g&255;b=e&255;a=H[c+84>>2];n=(H[c+88>>2]+N(a,H[c+104>>2]-H[d+104>>2]|0)|0)+(H[d+100>>2]-H[c+100>>2]<<2)|0;j=H[d+88>>2];k=0;e=1;while(1){h=0;f=0;if(e){while(1){f=(h<<2)+n|0;e=(N(b,I[j+h|0])>>>0)/255|0;a=255-e|0;F[f+1|0]=(((N(a,I[f+1|0])&65535)>>>0)/255|0)+(((N(e,m)&65535)>>>0)/255|0);F[f|0]=(((N(a,I[f|0])&65535)>>>0)/255|0)+(((N(e,g)&65535)>>>0)/255|0);F[f+2|0]=(((N(a,I[f+2|0])&65535)>>>0)/255|0)+(((N(e,l)&65535)>>>0)/255|0);F[f+3|0]=e+(((N(a,I[f+3|0])&65535)>>>0)/255|0);f=H[d+80>>2];h=h+1|0;if(f>>>0>h>>>0){continue}break}i=H[d+76>>2];a=H[c+84>>2]}n=a+n|0;j=H[d+84>>2]+j|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}Wa=o+16|0;return f|0}function GL(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=xe(a,b);h=I[j+4|0]|I[j+5|0]<<8;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(c){l=h?((h<<8|h>>>8)&65535)+j|0:163632;m=I[l|0]|I[l+1|0]<<8;a=((m<<8|m>>>8)&65535)-1|0;while(1){if(m){o=(n<<2)+d|0;p=H[o>>2];g=0;b=a;while(1){k=b+g>>>1|0;i=N(k,6)+l|0;i=I[i+2|0]|I[i+3|0]<<8|(I[i+4|0]<<16|I[i+5|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);n:{if(i>>>0>p>>>0){b=k-1|0;break n}if((i|0)==(p|0)){break m}g=k+1|0}if((b|0)>=(g|0)){continue}break}}if(e){H[e>>2]=65535}n=n+1|0;if((n|0)!=(c|0)){continue}break}}if(h){break l}a=163632;break k}if(e){H[e>>2]=k}if(!f){return 1}b=H[o>>2];a=1;break b}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=I[a|0]|I[a+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){c=b+g>>>1|0;d=a+N(c,6)|0;d=I[d+2|0]|I[d+3|0]<<8|(I[d+4|0]<<16|I[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);o:{if(d>>>0>=1145457749){b=c-1|0;break o}if((d|0)==1145457748){break j}g=c+1|0}if((b|0)>=(g|0)){continue}break}}if(e){H[e>>2]=65535}if(h){break i}a=163632;break h}if(e){H[e>>2]=c}b=1145457748;break c}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=I[a|0]|I[a+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){c=b+g>>>1|0;d=a+N(c,6)|0;d=I[d+2|0]|I[d+3|0]<<8|(I[d+4|0]<<16|I[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);p:{if(d>>>0>=1684434037){b=c-1|0;break p}if((d|0)==1684434036){break g}g=c+1|0}if((b|0)>=(g|0)){continue}break}}if(e){H[e>>2]=65535}if(h){break f}a=163632;break e}if(e){H[e>>2]=c}b=1684434036;break c}a=((h<<8|(h&65280)>>>8)&65535)+j|0}b=I[a|0]|I[a+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)-1|0;g=0;while(1){c=b+g>>>1|0;d=a+N(c,6)|0;d=I[d+2|0]|I[d+3|0]<<8|(I[d+4|0]<<16|I[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);q:{if(d>>>0>=1818326127){b=c-1|0;break q}if((d|0)==1818326126){break d}g=c+1|0}if((b|0)>=(g|0)){continue}break}}if(e){H[e>>2]=65535}b=65535;break c}if(e){H[e>>2]=c}b=1818326126}a=0;if(!f){break a}}H[f>>2]=b}return a|0}function Ru(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=Wa-32|0;Wa=f;d=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!g){break a}d=a;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);d=(d+N(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),12)|0)+16|0;while(1){a=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);b:{if(!((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))&c)){break b}a=I[d+4|0];if(!(a&32)&(a>>>7|0)==((H[H[b+16>>2]+40>>2]&-2)!=6|0)){break b}c:{if(a&16){e=(a&64)>>>6|0;a=H[b+16>>2];break c}e=(a&64)>>>6|0;a=H[b+16>>2];e=e^(H[a+40>>2]&-3)==5}i=H[b+8>>2];H[f+16>>2]=H[b+72>>2];if(!Fb(a,i,106086,f+16|0)){break b}d:{e:{f:{if(e){a=H[b+16>>2];Hf(a,583,H[a+20>>2]==1);e=H[b+52>>2];a=H[e+12>>2];H[b+24>>2]=a;e=a+H[e+16>>2]|0;H[b+28>>2]=e;g:{if(!(d>>>0>>0&a>>>0<=d>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break g}H[b+24>>2]=d;e=e-d|0;a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);H[b+28>>2]=(a>>>0>e>>>0?e:a)+d}H[65057]=0;ca(584,d|0,b|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break f}a=H[b+52>>2];e=H[a+12>>2];H[b+24>>2]=e;H[b+28>>2]=e+H[a+16>>2];a=H[b+16>>2];Hf(a,583,H[a+20>>2]==1);break d}e=H[b+52>>2];a=H[e+12>>2];H[b+24>>2]=a;e=a+H[e+16>>2]|0;H[b+28>>2]=e;h:{if(!(d>>>0>>0&a>>>0<=d>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break h}H[b+24>>2]=d;e=e-d|0;a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);H[b+28>>2]=(a>>>0>e>>>0?e:a)+d}H[65057]=0;ca(584,d|0,b|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){break e}}a=$()|0;_()|0;c=H[b+52>>2];d=H[c+12>>2];H[b+24>>2]=d;H[b+28>>2]=d+H[c+16>>2];ba(a|0);X()}a=H[b+52>>2];e=H[a+12>>2];H[b+24>>2]=e;H[b+28>>2]=e+H[a+16>>2]}a=H[b+8>>2];e=H[b+16>>2];H[f>>2]=H[b+72>>2];Fb(e,a,106120,f);if(!I[H[b+16>>2]+60|0]){break a}}a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);H[b+72>>2]=H[b+72>>2]+1;d=(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))+d|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}Wa=f+32|0}function Lu(a,b){a=a|0;b=b|0;var c=0,d=0,e=O(0),f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=L[H[b+8>>2]+64>>2];j=e<=O(0);a:{if(j){break a}k=H[H[b+4>>2]+148>>2];g=H[b+16>>2];if((H[g+40>>2]&-2)==4){d=I[a+6|0]|I[a+7|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}f=Jl(d,a,e);e=O((f|0)/2|0);a=H[b+8>>2];d=H[a+20>>2];c=H[a+16>>2];a=H[c+28>>2];if(a){b=d}else{a=vb(c);b=H[b+8>>2];c=H[b+16>>2];b=H[b+20>>2]}e=O(T(O(O(O(e*O(d|0))/O(a>>>0))+O(.5))));b:{if(O(P(e))>2];if(!a){a=vb(c)}e=O(T(O(O(e/O(a>>>0))+O(.5))));c:{if(O(P(e))>2];if(!c){break a}b=c-1|0;a=0;while(1){d:{if((a|0)==(b|0)){a=c;break d}a=a+1|0;if(I[(H[g+80>>2]+N(a,20)|0)+16|0]&128){continue}}break}if(!c){break a}l=H[g+80>>2];d=0;while(1){b=N(d,20);if(H[(b+l|0)+4>>2]&k){b=b+H[g+88>>2]|0;H[b>>2]=f+H[b>>2];H[b+8>>2]=h+H[b+8>>2]}b=a+1|0;d=b>>>0>>0?c:b;b=a;while(1){e:{b=b+1|0;if(c>>>0<=b>>>0){b=d;break e}if(I[(l+N(b,20)|0)+16|0]&128){continue}}break}i=a>>>0>>0;d=a;a=b;if(i){continue}break}break a}d=I[a+8|0]|I[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}f=Jl(d,a,e);e=O((f|0)/2|0);a=H[b+8>>2];d=H[a+24>>2];c=H[a+16>>2];a=H[c+28>>2];if(a){b=d}else{a=vb(c);b=H[b+8>>2];c=H[b+16>>2];b=H[b+24>>2]}e=O(T(O(O(O(e*O(d|0))/O(a>>>0))+O(.5))));f:{if(O(P(e))>2];if(!a){a=vb(c)}e=O(T(O(O(e/O(a>>>0))+O(.5))));g:{if(O(P(e))>2];if(!c){break a}a=c-1|0;b=0;while(1){h:{if((a|0)==(b|0)){b=c;break h}b=b+1|0;if(I[(H[g+80>>2]+N(b,20)|0)+16|0]&128){continue}}break}if(!c){break a}i=H[g+80>>2];d=0;while(1){a=N(d,20);if(H[(a+i|0)+4>>2]&k){a=a+H[g+88>>2]|0;H[a+4>>2]=f+H[a+4>>2];H[a+12>>2]=h+H[a+12>>2]}d=b;a=b+1|0;a=a>>>0>>0?c:a;while(1){i:{b=b+1|0;if(c>>>0<=b>>>0){b=a;break i}if(I[(i+N(b,20)|0)+16|0]&128){continue}}break}if(c>>>0>d>>>0){continue}break}}return!j|0}function hj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=H[b>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}g=H[d>>2];if(!g){break l}if(!a){d=c;break j}H[d>>2]=0;d=c;break k}m:{if(!H[H[64925]>>2]){if(!a){break m}if(!c){break a}g=c;while(1){d=F[e|0];if(d){H[a>>2]=d&57343;a=a+4|0;e=e+1|0;g=g-1|0;if(g){continue}break a}break}H[a>>2]=0;H[b>>2]=0;return c-g|0}d=c;if(!a){break i}break g}return wb(e)|0}f=1;break g}f=0;break h}f=1}while(1){if(!f){f=I[e|0]>>>3|0;if((f-16|f+(g>>26))>>>0>7){break f}f=e+1|0;n:{if(!(g&33554432)){break n}if((I[f|0]&192)!=128){e=e-1|0;break d}f=e+2|0;if(!(g&524288)){break n}if((I[f|0]&192)!=128){e=e-1|0;break d}f=e+3|0}e=f;d=d-1|0;f=1;continue}while(1){g=I[e|0];o:{if(e&3|g-1>>>0>126){break o}g=H[e>>2];if((g|g-16843009)&-2139062144){break o}while(1){d=d-4|0;g=H[e+4>>2];e=e+4|0;if(!((g-16843009|g)&-2139062144)){continue}break}}f=g&255;if(f-1>>>0<=126){d=d-1|0;e=e+1|0;continue}break}f=f-194|0;if(f>>>0>50){break e}e=e+1|0;g=H[(f<<2)+244480>>2];f=0;continue}}while(1){if(!f){if(!d){break a}while(1){p:{f=I[e|0];h=f-1|0;q:{r:{if(h>>>0>126){g=f;break r}if(e&3|d>>>0<5){break q}s:{while(1){g=H[e>>2];if((g|g-16843009)&-2139062144){break s}H[a>>2]=g&255;H[a+4>>2]=I[e+1|0];H[a+8>>2]=I[e+2|0];H[a+12>>2]=I[e+3|0];a=a+16|0;e=e+4|0;d=d-4|0;if(d>>>0>4){continue}break}g=I[e|0]}f=g&255;h=f-1|0}if(h>>>0>126){break p}}H[a>>2]=f;a=a+4|0;e=e+1|0;d=d-1|0;if(d){continue}break a}break}f=f-194|0;if(f>>>0>50){break e}e=e+1|0;g=H[(f<<2)+244480>>2];f=1;continue}i=I[e|0];f=i>>>3|0;if((f-16|f+(g>>26))>>>0>7){break f}t:{u:{h=e+1|0;f=i-128|g<<6;v:{if((f|0)>=0){break v}i=I[h|0]-128|0;if(i>>>0>63){break u}h=e+2|0;f=i|f<<6;if((f|0)>=0){break v}h=I[h|0]-128|0;if(h>>>0>63){break u}f=h|f<<6;h=e+3|0}e=h;H[a>>2]=f;d=d-1|0;a=a+4|0;break t}H[64884]=25;e=e-1|0;break c}f=0;continue}}e=e-1|0;if(g){break d}g=I[e|0]}if(g&255){break d}if(a){H[a>>2]=0;H[b>>2]=0}return c-d|0}H[64884]=25;if(!a){break b}}H[b>>2]=e}return-1}H[b>>2]=e;return c|0}function PF(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;t=Wa-16|0;Wa=t;H[c>>2]=a;w=d&512;x=h<<2;while(1){if((u|0)==4){if(I[n+11|0]>>>7|0){e=H[n+4>>2]}else{e=I[n+11|0]}if(e>>>0>1){z=t,A=dd(n),H[z+8>>2]=A;z=c,A=Xg(bp(t+8|0,1),le(n),H[c>>2]),H[z>>2]=A}d=d&176;if((d|0)!=16){if((d|0)==32){a=H[c>>2]}H[b>>2]=a}Wa=t+16|0}else{a:{b:{switch(F[i+u|0]){case 0:H[b>>2]=H[c>>2];break a;case 1:H[b>>2]=H[c>>2];h=Ya[H[H[g>>2]+44>>2]](g,32)|0;p=H[c>>2];H[c>>2]=p+4;H[p>>2]=h;break a;case 3:if(I[n+11|0]>>>7|0){h=H[n+4>>2]}else{h=I[n+11|0]}if(!h){break a}if(I[n+11|0]>>>7|0){h=H[n>>2]}else{h=n}h=H[h>>2];p=H[c>>2];H[c>>2]=p+4;H[p>>2]=h;break a;case 2:p=!w;if(I[m+11|0]>>>7|0){h=H[m+4>>2]}else{h=I[m+11|0]}if(p|!h){break a}z=c,A=Xg(dd(m),le(m),H[c>>2]),H[z>>2]=A;break a;case 4:break b;default:break a}}y=H[c>>2];e=e+x|0;h=e;while(1){c:{if(f>>>0<=h>>>0){break c}if(!(Ya[H[H[g>>2]+12>>2]](g,2048,H[h>>2])|0)){break c}h=h+4|0;continue}break}if((o|0)>0){p=H[c>>2];r=o;while(1){if(!(!r|e>>>0>=h>>>0)){h=h-4|0;s=H[h>>2];q=p+4|0;H[c>>2]=q;H[p>>2]=s;r=r-1|0;p=q;continue}break}d:{if(!r){q=0;break d}q=Ya[H[H[g>>2]+44>>2]](g,48)|0;p=H[c>>2]}while(1){s=p+4|0;if((r|0)>0){H[p>>2]=q;r=r-1|0;p=s;continue}break}H[c>>2]=s;H[p>>2]=j}e:{if((e|0)==(h|0)){p=Ya[H[H[g>>2]+44>>2]](g,48)|0;q=H[c>>2];h=q+4|0;H[c>>2]=h;H[q>>2]=p;break e}if(I[l+11|0]>>>7|0){p=H[l>>2]}else{p=l}q=F[p|0];if(I[l+11|0]>>>7|0){p=H[l+4>>2]}else{p=I[l+11|0]}q=p?q:-1;p=0;r=0;while(1){if((e|0)!=(h|0)){f:{if((p|0)!=(q|0)){s=p;break f}q=H[c>>2];H[c>>2]=q+4;H[q>>2]=k;s=0;if(I[l+11|0]>>>7|0){q=H[l+4>>2]}else{q=I[l+11|0]}r=r+1|0;if(q>>>0<=r>>>0){q=p;break f}if(I[l+11|0]>>>7|0){p=H[l>>2]}else{p=l}if(I[p+r|0]==127){q=-1;break f}if(I[l+11|0]>>>7|0){p=H[l>>2]}else{p=l}q=F[p+r|0]}h=h-4|0;p=H[h>>2];v=H[c>>2];H[c>>2]=v+4;H[v>>2]=p;p=s+1|0;continue}break}h=H[c>>2]}Yf(y,h)}u=u+1|0;continue}break}}function Uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Wa-16|0;Wa=f;h=H[b+16>>2];n=H[a+492>>2];Ya[H[b+28>>2]](b);e=H[b>>2];a:{if(!(e>>>0>=K[b+8>>2]|I[e|0]!=91)){Ya[H[b+32>>2]](b);Ya[H[b+28>>2]](b);a=H[b>>2];if(a>>>0>2]&I[a|0]==93){break a}H[b+12>>2]=3;break a}e=Ya[H[b+36>>2]](b)|0;if((e|0)<0){H[b+12>>2]=3;break a}b:{d=H[b+8>>2];c=H[b>>2];c:{if(d>>>0>>0){break c}d=d-c>>3;if((d|0)>=(e|0)){break c}if(H[b+368>>2]){e=d;break c}e=zb(h,24,f+12|0);H[b+368>>2]=e;c=H[f+12>>2];if(c){break b}i=f;H[e+16>>2]=12;H[e+12>>2]=13;H[e+8>>2]=0;H[e>>2]=80;H[e+4>>2]=241;c=Ya[H[h+4>>2]](h,964)|0;d:{if(!c){H[e+20>>2]=c;c=64;break d}o=e,p=kb(c,0,964),H[o+20>>2]=p;c=0}H[i+12>>2]=c;e=d;if(c){break b}}Ya[H[b+32>>2]](b);if(H[b+12>>2]){break a}j=b+316|0;Ya[H[b+28>>2]](b);if(!H[b+312>>2]){c=Ya[H[H[n>>2]>>2]](j,e,h)|0;H[f+12>>2]=c;if(c){break b}}d=H[b>>2];e:{if(K[b+8>>2]<=d+4>>>0){break e}while(1){if(ub(d,23623,3)){break e}Ya[H[b+32>>2]](b);d=Ya[H[b+36>>2]](b)|0;k=H[H[a+128>>2]+52>>2];c=H[b+8>>2];Ya[H[b+28>>2]](b);f:{g=H[b>>2];g:{if(g>>>0>=c>>>0|I[g|0]-48>>>0>9){break g}g=Ya[H[b+36>>2]](b)|0;Ya[H[b+32>>2]](b);if((g|0)<0){break g}i=c;c=H[b>>2];l=c+1|0;if((g|0)<(i-l|0)){break f}}if(k){break a}H[b+12>>2]=3;break a}H[b>>2]=(c+g|0)+1;if(H[b+12>>2]){break a}Ya[H[b+32>>2]](b);if(H[b+12>>2]){break a}Ya[H[b+28>>2]](b);c=H[b>>2];h:{if(K[b+8>>2]<=c+4>>>0){break h}if(ub(c,23645,3)){break h}Ya[H[b+32>>2]](b);Ya[H[b+28>>2]](b)}c=H[b+368>>2];if(c){_g(d,m,c,h);d=m}if(!H[b+312>>2]){c=H[a+172>>2];i:{if((c|0)>=0){if(c>>>0>g>>>0){c=3;H[f+12>>2]=3;break b}k=zb(h,g,f+12|0);c=H[f+12>>2];if(c){break b}c=mb(k,l,g);Ya[H[n+16>>2]](c,g,4330);i=d;d=H[a+172>>2];o=f,p=Ya[H[b+360>>2]](j,i,d+c|0,g-d|0)|0,H[o+12>>2]=p;if(c){Ya[H[h+8>>2]](h,c)}c=H[f+12>>2];break i}c=Ya[H[b+360>>2]](j,d,l,g)|0;H[f+12>>2]=c}if(c){break b}}m=m+1|0;d=H[b>>2];if(K[b+8>>2]>d+4>>>0){continue}break}}if(H[b+312>>2]){break a}H[b+312>>2]=e;break a}H[b+12>>2]=c}Wa=f+16|0}function nK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(Fb(c,b,105060,0)){zh(b,c,2,11,-1,-1);k=H[c+68>>2];a:{if(!k){break a}f=k-1|0;a=0;d=H[c+80>>2];g=I[d+15|0];while(1){b:{if((a|0)==(f|0)){a=k;break b}a=a+1|0;if((g|0)==I[(d+N(a,20)|0)+15|0]){continue}}break}if(!k){break a}h=H[c+80>>2];d=I[h+15|0];g=0;e=k;while(1){f=a;c:{switch(d&15){case 0:case 2:d:{e:{a=g+3|0;if(f>>>0>>0){break e}d=N(g,20)+h|0;if(I[d+18|0]!=16|I[d+38|0]!=18|I[d+58|0]!=4){break e}i=3;j=0;break d}i=0;a=g;j=1}d=g;f:{if(a>>>0>=f>>>0){break f}while(1){g:{d=N(a,20)+h|0;if(I[d+12|0]&32){break g}d=I[d+18|0];if(d>>>0>31|!(1<>>0>>0){a=0;e=g;if(!j){while(1){F[(N(e,20)+h|0)+19|0]=5;e=e+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(i-1>>>0>6){while(1){a=N(e,20)+h|0;F[a+39|0]=5;F[a+19|0]=5;F[a+59|0]=5;F[a+79|0]=5;F[a+99|0]=5;F[a+119|0]=5;F[a+139|0]=5;F[a+159|0]=5;e=e+8|0;if((l|0)!=(e|0)){continue}break}}a=l}if(a>>>0>>0){l=d+(a^-1)|0;e=0;j=d-a&7;if(j){while(1){F[(N(a,20)+h|0)+19|0]=3;a=a+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(l>>>0>=7){while(1){e=N(a,20)+h|0;F[e+39|0]=3;F[e+19|0]=3;F[e+59|0]=3;F[e+79|0]=3;F[e+99|0]=3;F[e+119|0]=3;F[e+139|0]=3;F[e+159|0]=3;a=a+8|0;if((d|0)!=(a|0)){continue}break}}a=d}if(a>>>0>>0){F[(N(a,20)+h|0)+19|0]=4;a=a+1|0}d=5;if(a>>>0>>0){while(1){i=3;e=N(a,20)+h|0;j=I[e+18|0];h:{i:{if((j|0)==22){break i}if(I[e+19|0]<4){break h}if((j|0)==30){i=I[e-1|0];break i}i=8;if(!((d|0)!=5|(j|0)!=27)){d=8;break i}if((d|0)==8){i=7;d=8;if((j|0)==10){break i}i=(j|0)==27?8:9;d=i;break i}i=d}F[e+19|0]=i}a=a+1|0;if((f|0)!=(a|0)){continue}break}}_k(c,g,f,764);h=H[c+80>>2];e=H[c+68>>2];break;default:break c}}a=f+1|0;g=a>>>0>>0?e:a;d=I[(N(f,20)+h|0)+15|0];a=f;while(1){j:{a=a+1|0;if(e>>>0<=a>>>0){a=g;break j}if((d|0)==I[(N(a,20)+h|0)+15|0]){continue}}break}g=f;if(f>>>0>>0){continue}break}}Fb(c,b,105638,0)}}function eK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Wa-32|0;Wa=f;if(Fb(c,b,105185,0)){zh(b,c,7,1,18,-1);m=H[c+68>>2];a:{if(!m){break a}d=m-1|0;a=0;g=H[c+80>>2];h=I[g+15|0];while(1){b:{if((a|0)==(d|0)){a=m;break b}a=a+1|0;if((h|0)==I[(g+N(a,20)|0)+15|0]){continue}}break}if(!m){break a}i=H[c+80>>2];e=I[i+15|0];g=0;while(1){h=a;c:{if(!(1<<(e&15)&135)){break c}d:{if(h-g>>>0<2){break d}j=N(g,20)+i|0;if(I[j+18|0]!=18){break d}e=g+1|0;if(e>>>0>=h>>>0){break d}n=h-1|0;a=e;while(1){e:{f:{g:{o=N(a,20)+i|0;d=I[o+18|0];if(d>>>0<=63){k=d&31;if((d&63)>>>0>=32){k=1<>>32-k}l=(l&2143289344|k&238)!=0}else{l=0}if(!l){if((d|32)!=44){break g}d=J[o+12>>1]&32;if((a|0)!=(n|0)?d:0){break e}if(d){break f}}a=a-1|0;break f}if((a|0)!=(n|0)){break e}a=n}d=a+1|0;if(d-g>>>0>=2){kc(c,g,d)}H[f+24>>2]=H[j+16>>2];d=H[j+12>>2];H[f+16>>2]=H[j+8>>2];H[f+20>>2]=d;d=H[j+4>>2];H[f+8>>2]=H[j>>2];H[f+12>>2]=d;Yb(j,N(e,20)+i|0,N(a-g|0,20));d=N(a,20)+i|0;H[d+16>>2]=H[f+24>>2];a=H[f+20>>2];H[d+8>>2]=H[f+16>>2];H[d+12>>2]=a;a=H[f+12>>2];H[d>>2]=H[f+8>>2];H[d+4>>2]=a;break d}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=g;if(h>>>0<=a>>>0){break c}while(1){e=N(g,20)+i|0;d=I[e+18|0];h:{if(!((d|32)!=44|I[e+12|0]&32)){a=g+1|0;break h}if(!(1<>>0>31){break h}d=I[e+14|0];if(!(d&16)&(d&15)!=0|a>>>0>=g>>>0){break h}d=g+1|0;if(d-a>>>0>=2){kc(c,a,d)}H[f+24>>2]=H[e+16>>2];d=H[e+12>>2];H[f+16>>2]=H[e+8>>2];H[f+20>>2]=d;d=H[e+4>>2];H[f+8>>2]=H[e>>2];H[f+12>>2]=d;e=N(a,20)+i|0;Yb(e+20|0,e,N(g-a|0,20));H[e+16>>2]=H[f+24>>2];d=H[f+20>>2];H[e+8>>2]=H[f+16>>2];H[e+12>>2]=d;d=H[f+12>>2];H[e>>2]=H[f+8>>2];H[e+4>>2]=d}g=g+1|0;if((h|0)!=(g|0)){continue}break}}d=H[c+68>>2];a=h+1|0;g=a>>>0>>0?d:a;i=H[c+80>>2];e=I[(i+N(h,20)|0)+15|0];a=h;while(1){i:{a=a+1|0;if(d>>>0<=a>>>0){a=g;break i}if(I[(N(a,20)+i|0)+15|0]==(e|0)){continue}}break}g=h;if(m>>>0>g>>>0){continue}break}}Fb(c,b,105721,0)}Wa=f+32|0}function TF(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;u=Wa-16|0;Wa=u;H[c>>2]=a;x=d&512;while(1){if((v|0)==4){if(I[n+11|0]>>>7|0){e=H[n+4>>2]}else{e=I[n+11|0]}if(e>>>0>1){z=u,A=dd(n),H[z+8>>2]=A;z=c,A=Xg(gp(u+8|0,1),oe(n),H[c>>2]),H[z>>2]=A}d=d&176;if((d|0)!=16){if((d|0)==32){a=H[c>>2]}H[b>>2]=a}Wa=u+16|0;return}a:{b:{switch(F[i+v|0]){case 0:H[b>>2]=H[c>>2];break a;case 1:H[b>>2]=H[c>>2];p=Ya[H[H[g>>2]+28>>2]](g,32)|0;q=H[c>>2];H[c>>2]=q+1;F[q|0]=p;break a;case 3:if(I[n+11|0]>>>7|0){p=H[n+4>>2]}else{p=I[n+11|0]}if(!p){break a}if(I[n+11|0]>>>7|0){p=H[n>>2]}else{p=n}p=I[p|0];q=H[c>>2];H[c>>2]=q+1;F[q|0]=p;break a;case 2:q=!x;if(I[m+11|0]>>>7|0){p=H[m+4>>2]}else{p=I[m+11|0]}if(q|!p){break a}z=c,A=Xg(dd(m),oe(m),H[c>>2]),H[z>>2]=A;break a;case 4:break b;default:break a}}y=H[c>>2];e=e+h|0;r=e;while(1){c:{if(f>>>0<=r>>>0){break c}p=F[r|0];if((p|0)>=0){p=(J[H[g+8>>2]+((p&255)<<1)>>1]&2048)!=0}else{p=0}if(!p){break c}r=r+1|0;continue}break}p=o;if((p|0)>0){while(1){if(!(!p|e>>>0>=r>>>0)){r=r-1|0;q=I[r|0];s=H[c>>2];H[c>>2]=s+1;F[s|0]=q;p=p-1|0;continue}break}if(p){q=Ya[H[H[g>>2]+28>>2]](g,48)|0}else{q=0}while(1){s=H[c>>2];H[c>>2]=s+1;if((p|0)>0){F[s|0]=q;p=p-1|0;continue}break}F[s|0]=j}d:{if((e|0)==(r|0)){p=Ya[H[H[g>>2]+28>>2]](g,48)|0;q=H[c>>2];H[c>>2]=q+1;F[q|0]=p;break d}if(I[l+11|0]>>>7|0){p=H[l>>2]}else{p=l}q=F[p|0];if(I[l+11|0]>>>7|0){p=H[l+4>>2]}else{p=I[l+11|0]}q=p?q:-1;p=0;t=0;while(1){if((e|0)==(r|0)){break d}e:{if((p|0)!=(q|0)){s=p;break e}q=H[c>>2];H[c>>2]=q+1;F[q|0]=k;s=0;if(I[l+11|0]>>>7|0){q=H[l+4>>2]}else{q=I[l+11|0]}t=t+1|0;if(q>>>0<=t>>>0){q=p;break e}if(I[l+11|0]>>>7|0){p=H[l>>2]}else{p=l}if(I[p+t|0]==127){q=-1;break e}if(I[l+11|0]>>>7|0){p=H[l>>2]}else{p=l}q=F[p+t|0]}r=r-1|0;p=I[r|0];w=H[c>>2];H[c>>2]=w+1;F[w|0]=p;p=s+1|0;continue}}me(y,H[c>>2])}v=v+1|0;continue}}function ML(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Wa-32|0;Wa=f;H[f+28>>2]=0;H[f+20>>2]=0;H[f+24>>2]=0;H[f+12>>2]=0;H[f+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(a-6|0){default:d=a-265|0;if(d>>>0>9){break f}d=1<>2];if(d){d=d-1|0;if(d>>>0>2]){break d}d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;H[f+24>>2]=g;H[f+28>>2]=d;break c}F[b+20|0]=1;d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;H[f+24>>2]=g;H[f+28>>2]=d;break c}e=b+24|0;d=H[e>>2];m:{if(d){d=d-1|0;if(d>>>0>=K[b+32>>2]){d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);h=+z();break m}h=M[H[b+36>>2]+(d<<3)>>3];break m}F[b+20|0]=1;d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);h=+z()}n:{if(P(h)<2147483648){d=~~h;break n}d=-2147483648}if((d|0)<0){F[b+20|0]=1;d=0}H[c+16>>2]=d;break c}o:{if(I[b+48|0]){e=H[b+44>>2];break o}d=H[b+24>>2];p:{if(d){d=d-1|0;if(d>>>0>=K[b+32>>2]){d=H[40909];e=H[40908];H[64760]=e;H[64761]=d;x(0,e|0);x(1,d|0);h=+z();break p}h=M[H[b+36>>2]+(d<<3)>>3];break p}F[b+20|0]=1;d=H[40909];e=H[40908];H[64760]=e;H[64761]=d;x(0,e|0);x(1,d|0);h=+z()}q:{if(P(h)<2147483648){e=~~h;break q}e=-2147483648}if((e|0)<0){F[b+20|0]=1;e=0}H[b+44>>2]=e}F[b+48|0]=1;H[c+24>>2]=e;e=b+24|0;break c}kg(b+20|0,b);break e}h=jg(b);d=H[b+24>>2];if(d>>>0>2]){H[b+24>>2]=d+1;M[H[b+36>>2]+(d<<3)>>3]=h;break e}F[b+20|0]=1;d=H[40909];H[64760]=H[40908];H[64761]=d;M[32380]=h;break e}_e(a,b)}if(!H[b+24>>2]){break b}break a}d=H[b+36>>2]+(d<<3)|0;g=H[d+4>>2];H[f+24>>2]=H[d>>2];H[f+28>>2]=g}H[e>>2]=0}if(I[b+20|0]|(I[b+40|0]|I[b+16|0])|H[b+28>>2]<0){break a}Os(c,a,b,f+8|0)}Wa=f+32|0}function _m(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Wa-16|0;Wa=i;d=H[a+12>>2];if(d){H[(H[a+20>>2]+(d<<4)|0)-4>>2]=b}k=H[a+24>>2];a:{if((k|0)<2){break a}o=k;while(1){p=o;g=H[a+32>>2];o=o-1|0;b=g+(o<<4)|0;l=H[b>>2];d=H[b+8>>2];j=p-2|0;while(1){b:{h=g+(j<<4)|0;b=H[h+8>>2];c:{h=H[h>>2];f=h>>>0>l>>>0?l:h;d:{e:{if(f>>>0<8){m=d;break e}m=(f-8>>>3|0)+1|0;h=m+b|0;m=d+m|0;e=d;while(1){if(I[b|0]&I[e|0]){break d}b=b+1|0;e=e+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=h}if(!f|!(I[b|0]&I[m|0]&-256>>f)){break c}}b=j>>>0>>0?j:o;m=j>>>0>o>>>0?j:o;if(b>>>0>=m>>>0|m>>>0>=k>>>0){break b}n=g+(m<<4)|0;l=H[n>>2];f:{if(!l){break f}g=g+(b<<4)|0;b=H[g>>2];g:{if(l>>>0<=b>>>0){k=l+7|0;f=k>>>3|0;break g}d=H[g+4>>2];H[i>>2]=0;k=l+7|0;f=k>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;q=g,r=jb(c,1,e,d,H[g+8>>2],i),H[q+8>>2]=r;e=H[i>>2];if(e){break a}H[g+4>>2]=d<<3}d=b+1|0;if(l-b&1){if(K[g>>2]>b>>>0){h=H[g+8>>2]+(b>>>3|0)|0;F[h|0]=I[h|0]&-129>>(b&7)}b=d}if((d|0)==(l|0)){break g}while(1){if(K[g>>2]>b>>>0){d=H[g+8>>2]+(b>>>3|0)|0;F[d|0]=I[d|0]&-129>>(b&7)}h=b+1|0;if(h>>>0>2]){d=H[g+8>>2]+(h>>>3|0)|0;F[d|0]=I[d|0]&-129>>(h&7)}b=b+2|0;if((l|0)!=(b|0)){continue}break}}if(k>>>0<8){break f}h=f-1|0;e=H[n+8>>2];b=H[g+8>>2];j=0;d=f&3;if(d){while(1){F[b|0]=I[e|0]|I[b|0];f=f-1|0;e=e+1|0;b=b+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}if(h>>>0<3){break f}while(1){F[b|0]=I[e|0]|I[b|0];F[b+1|0]=I[e+1|0]|I[b+1|0];F[b+2|0]=I[e+2|0]|I[b+2|0];F[b+3|0]=I[e+3|0]|I[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}H[n>>2]=0;H[n+12>>2]=0;b=H[a+24>>2];d=b+(m^-1)|0;if((d|0)>0){b=H[n+12>>2];H[i+8>>2]=H[n+8>>2];H[i+12>>2]=b;b=H[n+4>>2];H[i>>2]=H[n>>2];H[i+4>>2]=b;b=d<<4;d=Yb(n,n+16|0,b)+b|0;b=H[i+12>>2];H[d+8>>2]=H[i+8>>2];H[d+12>>2]=b;b=H[i+4>>2];H[d>>2]=H[i>>2];H[d+4>>2]=b;b=H[a+24>>2]}k=b-1|0;H[a+24>>2]=k;break b}b=(j|0)>0;j=j-1|0;if(b){continue}}break}if((p|0)>2){continue}break}e=0}Wa=i+16|0;return e}function wG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=Wa-432|0;Wa=i;H[i+424>>2]=37;H[i+428>>2]=0;m=bh(i+424|1,239290,H[c+4>>2]);H[i+380>>2]=i+384;a=lc();a:{if(m){k=H[c+8>>2];j=i- -64|0;H[j>>2]=g;H[j+4>>2]=h;H[i+56>>2]=e;H[i+60>>2]=f;H[i+48>>2]=k;a=Lc(i+384|0,30,a,i+424|0,i+48|0);break a}H[i+80>>2]=e;H[i+84>>2]=f;H[i+88>>2]=g;H[i+92>>2]=h;a=Lc(i+384|0,30,a,i+424|0,i+80|0)}H[i+128>>2]=594;k=ic(i+368|0,0,i+128|0);l=i+384|0;j=l;b:{c:{d:{if((a|0)>=30){e:{if(m){H[65057]=0;a=la(995)|0;j=H[65057];H[65057]=0;if((j|0)==1){break c}j=H[c+8>>2];H[i+16>>2]=g;H[i+20>>2]=h;H[i>>2]=j;H[65057]=0;H[i+8>>2]=e;H[i+12>>2]=f;a=ga(1018,i+380|0,a|0,i+424|0,i|0)|0;e=H[65057];H[65057]=0;if((e|0)!=1){break e}break c}H[65057]=0;a=la(995)|0;j=H[65057];H[65057]=0;if((j|0)==1){break c}H[i+32>>2]=e;H[i+36>>2]=f;H[65057]=0;H[i+40>>2]=g;H[i+44>>2]=h;a=ga(1018,i+380|0,a|0,i+424|0,i+32|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break c}}if((a|0)==-1){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break c}break d}wc(k,H[i+380>>2]);j=H[i+380>>2]}g=a+j|0;h=cd(j,g,c);H[i+116>>2]=594;e=ic(i+120|0,0,i+116|0);f:{g:{if(H[i+380>>2]==(i+384|0)){a=i+128|0;break g}a=tb(a<<3);if(!a){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break d}c=$()|0;_()|0;break f}wc(e,a);l=H[i+380>>2]}H[65057]=0;f=H[c+28>>2];H[i+104>>2]=f;H[f+4>>2]=H[f+4>>2]+1;f=H[65057];H[65057]=0;h:{i:{if((f|0)!=1){H[65057]=0;na(1030,l|0,h|0,g|0,a|0,i+116|0,i+112|0,i+104|0);f=H[65057];H[65057]=0;if((f|0)==1){break i}f=H[i+104>>2];g=H[f+4>>2]-1|0;H[f+4>>2]=g;if((g|0)==-1){Ya[H[H[f>>2]+8>>2]](f)}H[65057]=0;a=ma(1031,b|0,a|0,H[i+116>>2],H[i+112>>2],c|0,d|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break h}Hb(e);Hb(k);Wa=i+432|0;return a|0}c=$()|0;_()|0;break f}c=$()|0;_()|0;a=H[i+104>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break f}c=$()|0;_()|0}Hb(e);break b}X()}c=$()|0;_()|0}Hb(k);ba(c|0);X()} +function GG(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=Wa-256|0;Wa=i;H[i+248>>2]=37;H[i+252>>2]=0;m=bh(i+248|1,239290,H[c+4>>2]);H[i+204>>2]=i+208;a=lc();a:{if(m){k=H[c+8>>2];j=i- -64|0;H[j>>2]=g;H[j+4>>2]=h;H[i+56>>2]=e;H[i+60>>2]=f;H[i+48>>2]=k;a=Lc(i+208|0,30,a,i+248|0,i+48|0);break a}H[i+80>>2]=e;H[i+84>>2]=f;H[i+88>>2]=g;H[i+92>>2]=h;a=Lc(i+208|0,30,a,i+248|0,i+80|0)}H[i+128>>2]=594;k=ic(i+192|0,0,i+128|0);l=i+208|0;j=l;b:{c:{d:{if((a|0)>=30){e:{if(m){H[65057]=0;a=la(995)|0;j=H[65057];H[65057]=0;if((j|0)==1){break c}j=H[c+8>>2];H[i+16>>2]=g;H[i+20>>2]=h;H[i>>2]=j;H[65057]=0;H[i+8>>2]=e;H[i+12>>2]=f;a=ga(1018,i+204|0,a|0,i+248|0,i|0)|0;e=H[65057];H[65057]=0;if((e|0)!=1){break e}break c}H[65057]=0;a=la(995)|0;j=H[65057];H[65057]=0;if((j|0)==1){break c}H[i+32>>2]=e;H[i+36>>2]=f;H[65057]=0;H[i+40>>2]=g;H[i+44>>2]=h;a=ga(1018,i+204|0,a|0,i+248|0,i+32|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break c}}if((a|0)==-1){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break c}break d}wc(k,H[i+204>>2]);j=H[i+204>>2]}g=a+j|0;h=cd(j,g,c);H[i+116>>2]=594;e=ic(i+120|0,0,i+116|0);f:{g:{if(H[i+204>>2]==(i+208|0)){a=i+128|0;break g}a=tb(a<<1);if(!a){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break d}c=$()|0;_()|0;break f}wc(e,a);l=H[i+204>>2]}H[65057]=0;f=H[c+28>>2];H[i+104>>2]=f;H[f+4>>2]=H[f+4>>2]+1;f=H[65057];H[65057]=0;h:{i:{if((f|0)!=1){H[65057]=0;na(1019,l|0,h|0,g|0,a|0,i+116|0,i+112|0,i+104|0);f=H[65057];H[65057]=0;if((f|0)==1){break i}f=H[i+104>>2];g=H[f+4>>2]-1|0;H[f+4>>2]=g;if((g|0)==-1){Ya[H[H[f>>2]+8>>2]](f)}H[65057]=0;a=ma(1020,b|0,a|0,H[i+116>>2],H[i+112>>2],c|0,d|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break h}Hb(e);Hb(k);Wa=i+256|0;return a|0}c=$()|0;_()|0;break f}c=$()|0;_()|0;a=H[i+104>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break f}c=$()|0;_()|0}Hb(e);break b}X()}c=$()|0;_()|0}Hb(k);ba(c|0);X()}function Al(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}g=H[b+12>>2];e=g-16|0;H[b+12>>2]=e;if((e|0)<=0){break a}e=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<4){break a}e=a+4|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break a}d=g-20|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=F[e|0];if((d|0)<0){break a}if(!td((I[a+7|0]|(I[a+5|0]<<16|(d&255)<<24|I[a+6|0]<<8))+a|0,b)){return 0}d=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0>2147483646){break a}d=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;e=a;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);k=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;m=i<<1;h=0;a=0;d=0;while(1){e=d;b:{c:{d:{e:{if((a|0)>=(h|0)){g=a+1|0;if(!(!i|g>>>0<4294967295/(m>>>0)>>>0)){return 0}d=N(g,m);f:{if(!d){f=H[b+12>>2];break f}if(K[b+4>>2]>k>>>0){break a}f=H[b+8>>2];if(f>>>0>>0|d>>>0>f-k>>>0){break a}f=H[b+12>>2]-d|0;H[b+12>>2]=f;if((f|0)<=0){break a}}d=((a^-1)+h|0)+f|0;H[b+12>>2]=d;if((d|0)<=0|(g>>>0>=4294967295/(i>>>0)>>>0?i:0)){break a}d=N(g,i);if((d|0)<0){break a}h=N(h,i);if((h|0)<(d|0)){break e}h=g}if(!e){break c}d=e;break d}l=(d<<1)+k|0;f=(h<<1)+k|0;d=e;while(1){h=I[f|0]|I[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+1|0;d=d>>>0>h>>>0?d:h;f=f+2|0;if(l>>>0>f>>>0){continue}break}h=g}l=0;if(K[b+4>>2]>j>>>0){break a}g=H[b+8>>2];if(g>>>0>>0){break a}f=g-j|0;g=d<<3;if(f>>>0>>0){break a}f=H[b+12>>2]-g|0;H[b+12>>2]=f;if((f|0)<=0){break a}break b}f=H[b+12>>2];d=e}g=(e-d|0)+f|0;H[b+12>>2]=g;if((g|0)<=0){return 0}if((d|0)>(e|0)){g=(d<<3)+j|0;f=(e<<3)+j|0;while(1){e=I[f|0]|I[f+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;f=f+8|0;if(g>>>0>f>>>0){continue}break}}if((a|0)>=(h|0)){continue}break}l=1;if(!c){break a}H[c>>2]=d}return l}function VG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=Wa-384|0;Wa=a;H[a+368>>2]=c;H[a+376>>2]=b;aj(a+216|0,d,a+240|0,a+236|0,a+232|0);b=Ib(a+200|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+196>>2]=c;H[a+28>>2]=a+32;H[a+24>>2]=0;F[a+23|0]=1;F[a+22|0]=69;while(1){d:{H[65057]=0;d=ca(1003,a+376|0,a+368|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+196>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+196>>2]=d+c}H[65057]=0;d=aa(1005,a+376|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=ch(d,a+23|0,a+22|0,c,a+196|0,H[a+236>>2],H[a+232>>2],a+216|0,a+32|0,a+28|0,a+24|0,a+240|0);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+376|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+227|0]>>>7|0){d=H[a+220>>2]}else{d=I[a+227|0]}e:{if(!d|!I[a+23|0]){break e}d=H[a+28>>2];if((d-(a+32|0)|0)>159){break e}H[a+28>>2]=d+4;H[d>>2]=H[a+24>>2]}H[65057]=0;ha(994,a|0,c|0,H[a+196>>2],e|0);c=H[65057];H[65057]=0;f:{if((c|0)==1){break f}c=H[a+8>>2];d=H[a+12>>2];g=H[a+4>>2];H[f>>2]=H[a>>2];H[f+4>>2]=g;H[f+8>>2]=c;H[f+12>>2]=d;H[65057]=0;zc(a+216|0,a+32|0,H[a+28>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+376|0,a+368|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+376>>2];nb(b);nb(a+216|0);Wa=a+384|0;break a}}c=$()|0;_()|0;nb(b);nb(a+216|0);ba(c|0);X()}return c|0}function or(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;H[a+12>>2]=b;H[a+8>>2]=c;H[a+4>>2]=b;H[a+20>>2]=H[a+16>>2];l=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}h=H[a+20>>2];m=H[a+16>>2];i=h-m>>2;g=H[a+24>>2];e=I[b|0];c:{d:{if(!((e|0)==31|(e-27&255)>>>0>227)){d=4;if(g>>>0<=i>>>0){break c}H[a+20>>2]=h+4;H[h>>2]=b;e:{switch(e-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break c}d=I[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break};break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=(e>>>0>246)+b|0;break d}d=4;if(g>>>0<=i>>>0){break c}H[h>>2]=b;if((e|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break c}e=I[b|0]|256}g=25376;f=4;d=25376;j=H[a+28>>2]|e;f:{g:{if((j|0)==4096){break g}h:{i:{while(1){if((j|0)==H[d+32>>2]){break h}if((j|0)==H[d+60>>2]){break i}if((j|0)!=H[d+88>>2]){f=H[d+112>>2];if(!f){break f}e=d;g=d+112|0;d=g;if((j|0)!=H[e+116>>2]){continue}break g}break}g=d+84|0;f=H[d+84>>2];break g}g=d+56|0;f=H[d+56>>2];break g}g=d+28|0;f=H[d+28>>2]}e=H[g+8>>2];j=H[a+32>>2];if((f|0)!=6){d=12;if((h|0)==(m|0)){break c}}d=e+j|0;j:{k:{l:{m:{n:{o:{switch(f-1|0){case 0:case 3:case 4:e=qd(a,H[H[a+16>>2]>>2]);break n;case 1:e=yf(a,H[H[a+16>>2]>>2],0);break n;case 5:break m;case 2:break o;default:break l}}e=yf(a,H[H[a+16>>2]>>2],3)}p:{switch(I[g+12|0]-1|0){case 1:G[d>>1]=e;break j;case 0:break k;default:break p}}H[d>>2]=e;break j}e=H[a+16>>2];f=H[g+20>>2];i=f>>>0>i>>>0?i:f;F[j+H[g+24>>2]|0]=i;if(!i){break j}f=0;while(1){f=qd(a,H[e>>2])+f|0;q:{r:{s:{t:{u:{h=I[g+12|0];switch(h-1|0){case 3:break s;case 1:break t;case 0:break u;default:break r}}F[d|0]=f;h=I[g+12|0];break q}G[d>>1]=f;h=2;break q}H[d>>2]=f;h=4;break q}H[d>>2]=f}e=e+4|0;d=d+h|0;i=i-1|0;if(i){continue}break}break j}k=Ya[H[g+16>>2]](a)|0;d=7;if(k){break c}k=0;break j}F[d|0]=e}if(H[g>>2]==8){break d}}H[a+20>>2]=H[a+16>>2]}b=b+1|0;d=0}if(!d){continue}break}if(LM(d,30)-1>>>0<3){break a}}l=k}return l}function OF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Wa-496|0;Wa=g;a=g+488|0;h=H[d+28>>2];H[a>>2]=h;H[h+4>>2]=H[h+4>>2]+1;H[65057]=0;n=aa(998,a|0)|0;a=H[65057];H[65057]=0;a:{b:{c:{d:{e:{f:{g:{if((a|0)!=1){if(I[f+11|0]>>>7|0){a=H[f+4>>2]}else{a=I[f+11|0]}if(a){if(I[f+11|0]>>>7|0){a=H[f>>2]}else{a=f}k=H[a>>2];H[65057]=0;h=ca(1027,n|0,45)|0;a=H[65057];H[65057]=0;if((a|0)==1){break g}o=(h|0)==(k|0)}l=Ib(g+456|0);i=Ib(g+440|0);j=Ib(g+424|0);H[65057]=0;ta(1059,c|0,o|0,g+488|0,g+480|0,g+476|0,g+472|0,l|0,i|0,j|0,g+420|0);a=H[65057];H[65057]=0;if((a|0)==1){break f}H[g+4>>2]=594;m=ic(g+8|0,0,g+4|0);c=g+16|0;if(I[f+11|0]>>>7|0){a=H[f+4>>2]}else{a=I[f+11|0]}h:{if((a|0)>H[g+420>>2]){if(I[f+11|0]>>>7|0){h=H[f+4>>2]}else{h=I[f+11|0]}k=H[g+420>>2];if(I[i+11|0]>>>7|0){a=H[i+4>>2]}else{a=I[i+11|0]}if(I[j+11|0]>>>7|0){p=H[j+4>>2]}else{p=I[j+11|0]}a=(k+(a+(p+(h-k<<1)|0)|0)|0)+1|0;break h}k=H[g+420>>2];if(I[j+11|0]>>>7|0){a=H[j+4>>2]}else{a=I[j+11|0]}if(I[i+11|0]>>>7|0){h=H[i+4>>2]}else{h=I[i+11|0]}a=(k+(a+h|0)|0)+2|0}if(a>>>0<101){break e}wc(m,tb(a<<2));c=H[m>>2];if(c){break e}H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break d}X()}f=$()|0;_()|0;break b}f=$()|0;_()|0;break b}f=$()|0;_()|0;break c}k=H[d+4>>2];if(I[f+11|0]>>>7|0){h=H[f>>2]}else{h=f}if(I[f+11|0]>>>7|0){a=H[f>>2]}else{a=f}if(I[f+11|0]>>>7|0){f=H[f+4>>2]}else{f=I[f+11|0]}H[65057]=0;ua(1060,c|0,g+4|0,g|0,k|0,h|0,(f<<2)+a|0,n|0,o|0,g+480|0,H[g+476>>2],H[g+472>>2],l|0,i|0,j|0,H[g+420>>2]);a=H[65057];H[65057]=0;if((a|0)!=1){H[65057]=0;b=ma(1031,b|0,c|0,H[g+4>>2],H[g>>2],d|0,e|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){break a}}}f=$()|0;_()|0;Hb(m)}Sb(j);Sb(i);nb(l)}b=H[g+488>>2];a=H[b+4>>2]-1|0;H[b+4>>2]=a;if((a|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}ba(f|0);X()}Hb(m);Sb(j);Sb(i);nb(l);c=H[g+488>>2];a=H[c+4>>2]-1|0;H[c+4>>2]=a;if((a|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}Wa=g+496|0;return b|0}function iH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=Wa-288|0;Wa=a;H[a+272>>2]=c;H[a+280>>2]=b;dj(a+224|0,d,a+240|0,a+239|0,a+238|0);b=Ib(a+208|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+204>>2]=c;H[a+28>>2]=a+32;H[a+24>>2]=0;F[a+23|0]=1;F[a+22|0]=69;while(1){d:{H[65057]=0;d=ca(973,a+280|0,a+272|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+204>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+204>>2]=d+c}H[65057]=0;d=aa(975,a+280|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=eh(d,a+23|0,a+22|0,c,a+204|0,F[a+239|0],F[a+238|0],a+224|0,a+32|0,a+28|0,a+24|0,a+240|0);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+280|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+235|0]>>>7|0){d=H[a+228>>2]}else{d=I[a+235|0]}e:{if(!d|!I[a+23|0]){break e}d=H[a+28>>2];if((d-(a+32|0)|0)>159){break e}H[a+28>>2]=d+4;H[d>>2]=H[a+24>>2]}H[65057]=0;ha(994,a|0,c|0,H[a+204>>2],e|0);c=H[65057];H[65057]=0;f:{if((c|0)==1){break f}c=H[a+8>>2];d=H[a+12>>2];g=H[a+4>>2];H[f>>2]=H[a>>2];H[f+4>>2]=g;H[f+8>>2]=c;H[f+12>>2]=d;H[65057]=0;zc(a+224|0,a+32|0,H[a+28>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+280|0,a+272|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+280>>2];nb(b);nb(a+224|0);Wa=a+288|0;break a}}c=$()|0;_()|0;nb(b);nb(a+224|0);ba(c|0);X()}return c|0}function ik(a,b,c,d){var e=0,f=0,g=O(0),h=O(0),i=0,j=0,k=0;f=Wa-48|0;Wa=f;if(K[a+16>>2]>c>>>0){H[f+40>>2]=0;H[f+32>>2]=0;H[f+36>>2]=0;e=H[d+4>>2];H[65057]=0;lg(f+8|0,a,c,0);c=H[65057];H[65057]=0;a:{b:{c:{d:{if((c|0)==1){break d}H[65057]=0;k=ma(672,f+8|0,b|0,a|0,f+32|0,!e|0,0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break d}if(!k){break a}e:{if(!e){break e}c=H[f+36>>2];if(c>>>0>=5){i=c-5|0;j=H[f+40>>2];a=0;while(1){f:{if(a>>>0>=c>>>0){b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=259040;break f}b=(a<<4)+j|0}g=L[d+12>>2];h=L[b+4>>2];L[d+12>>2]=g<=h?g:h;g=L[d+16>>2];h=L[b+8>>2];L[d+16>>2]=g<=h?g:h;g=L[d+20>>2];h=L[b+4>>2];L[d+20>>2]=g>=h?g:h;g=L[d+24>>2];h=L[b+8>>2];L[d+24>>2]=g>=h?g:h;b=(a|0)==(i|0);a=a+1|0;if(!b){continue}break}}a=H[d>>2];H[65057]=0;ja(673,d+12|0,a|0,e|0);a=H[65057];H[65057]=0;if((a|0)!=1){break e}break d}b=H[d+8>>2];if(!b){break a}c=H[f+40>>2];g:{h:{i:{a=H[f+36>>2];j:{if(a>>>0>=4){d=(c+(a<<4)|0)+-64|0;e=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=e;e=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=e;break j}d=H[40911];e=H[40910];H[64762]=e;H[64763]=d;i=H[40909];j=H[40908];H[64760]=j;H[64761]=i;H[b+8>>2]=e;H[b+12>>2]=d;H[b>>2]=j;H[b+4>>2]=i;if((a|0)!=3){break i}}d=(c+(a<<4)|0)-48|0;e=H[d+4>>2];H[b+16>>2]=H[d>>2];H[b+20>>2]=e;e=H[d+12>>2];H[b+24>>2]=H[d+8>>2];H[b+28>>2]=e;break h}H[64762]=e;H[64763]=d;H[64760]=j;H[64761]=i;H[b+24>>2]=e;H[b+28>>2]=d;H[b+16>>2]=j;H[b+20>>2]=i;if(a>>>0<2){break g}}d=(c+(a<<4)|0)-32|0;e=H[d+4>>2];H[b+32>>2]=H[d>>2];H[b+36>>2]=e;e=H[d+12>>2];H[b+40>>2]=H[d+8>>2];H[b+44>>2]=e;break c}d=H[40911];H[b+40>>2]=H[40910];H[b+44>>2]=d;d=H[40909];H[b+32>>2]=H[40908];H[b+36>>2]=d;if(a){break c}a=259040;break b}a=$()|0;_()|0;H[f+36>>2]=0;hb(H[f+40>>2]);ba(a|0);X()}a=(c+(a<<4)|0)-16|0}c=H[a+4>>2];H[b+48>>2]=H[a>>2];H[b+52>>2]=c;c=H[a+12>>2];H[b+56>>2]=H[a+8>>2];H[b+60>>2]=c}H[f+36>>2]=0;hb(H[f+40>>2])}Wa=f+48|0;return k}function dv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=Wa-16|0;Wa=f;j=H[b+16>>2];k=H[b+8>>2];Ya[H[b+28>>2]](b);a:{b:{c:{d:{c=H[b>>2];if(c>>>0>>0){H[b>>2]=c+1;if(I[c|0]==91){break d}}c=3;H[f+12>>2]=3;break c}Ya[H[b+28>>2]](b);e:{f:{d=H[b>>2];g:{if(k>>>0<=d>>>0){break g}while(1){h:{i:{j:{c=I[d|0];if((c|0)!=60){if((c|0)!=93){break j}H[b>>2]=d+1;break b}if(l?0:g){break e}Ya[H[b+32>>2]](b);if(H[b+12>>2]){break b}c=H[b>>2];i=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break g}g=jb(j,1,p,i,g,f+12|0);c=H[f+12>>2];if(c){break c}H[b>>2]=d;l=1;Ya[H[b+44>>2]](b,g,i,f+8|0,1)|0;h=H[f+8>>2];break i}if(c-48>>>0>9){i=p;break i}if(l){break g}h=Ya[H[b+36>>2]](b)|0;if((h|0)<0){break e}Ya[H[b+32>>2]](b);if(H[b+12>>2]){break a}c=H[b>>2];g=c+1|0;if(k-c>>>0<=h>>>0){break e}H[b>>2]=(c+h|0)+1;l=0;break h}if(!g){break f}p=i}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(I[g+c|0]){break k}}h=c;if(!c){break g}}i=k-H[b>>2]|0;n=0;while(1){m:{n:{o:{switch(e|0){case 0:e=0;if((m|0)<12){break n}c=H[a+496>>2];o=(I[c+4|0]<<4)+I[c+5|0]|0;d=o<<4|12;H[a+500>>2]=d;if((d|0)>(i|0)){break g}s=a,t=jb(j,1,12,d,c,f+12|0),H[s+496>>2]=t;c=H[f+12>>2];if(c){break c}case 1:e=1;c=H[a+500>>2];if((m|0)<(c|0)){break n}q=H[a+496>>2];if(o){r=q+24|0;d=0;while(1){e=(d<<4)+r|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0|(i-e|0)<(c|0)){break g}c=(e+3&-4)+c|0;H[a+500>>2]=c;d=d+1|0;if((o|0)!=(d|0)){continue}break}}s=a,t=jb(j,1,o<<4|12,c+1|0,q,f+12|0),H[s+496>>2]=t;c=H[f+12>>2];if(c){break c}break;case 2:break o;default:break m}}e=2;if(H[a+500>>2]<=(m|0)){break g}}F[H[a+496>>2]+m|0]=I[g+n|0];m=m+1|0}n=n+1|0;if((n|0)!=(h|0)){continue}break}Ya[H[b+28>>2]](b);d=H[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;H[f+12>>2]=3;break c}c=3;H[f+12>>2]=3;g=0;break c}c=3;H[f+12>>2]=3;l=0}H[b+12>>2]=c}if(!l){break a}if(g){Ya[H[j+8>>2]](j,g)}}Wa=f+16|0}function SF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Wa-192|0;Wa=g;a=g+184|0;h=H[d+28>>2];H[a>>2]=h;H[h+4>>2]=H[h+4>>2]+1;H[65057]=0;n=aa(892,a|0)|0;a=H[65057];H[65057]=0;a:{b:{c:{d:{e:{f:{g:{if((a|0)!=1){if(I[f+11|0]>>>7|0){a=H[f+4>>2]}else{a=I[f+11|0]}if(a){if(I[f+11|0]>>>7|0){a=H[f>>2]}else{a=f}k=I[a|0];H[65057]=0;h=ca(1016,n|0,45)|0;a=H[65057];H[65057]=0;if((a|0)==1){break g}o=(k|0)==(h&255)}l=Ib(g+160|0);i=Ib(g+144|0);j=Ib(g+128|0);H[65057]=0;ta(1057,c|0,o|0,g+184|0,g+176|0,g+175|0,g+174|0,l|0,i|0,j|0,g+124|0);a=H[65057];H[65057]=0;if((a|0)==1){break f}H[g+4>>2]=594;m=ic(g+8|0,0,g+4|0);c=g+16|0;if(I[f+11|0]>>>7|0){a=H[f+4>>2]}else{a=I[f+11|0]}h:{if((a|0)>H[g+124>>2]){if(I[f+11|0]>>>7|0){h=H[f+4>>2]}else{h=I[f+11|0]}k=H[g+124>>2];if(I[i+11|0]>>>7|0){a=H[i+4>>2]}else{a=I[i+11|0]}if(I[j+11|0]>>>7|0){p=H[j+4>>2]}else{p=I[j+11|0]}a=(k+(a+(p+(h-k<<1)|0)|0)|0)+1|0;break h}k=H[g+124>>2];if(I[j+11|0]>>>7|0){a=H[j+4>>2]}else{a=I[j+11|0]}if(I[i+11|0]>>>7|0){h=H[i+4>>2]}else{h=I[i+11|0]}a=(k+(a+h|0)|0)+2|0}if(a>>>0<101){break e}wc(m,tb(a));c=H[m>>2];if(c){break e}H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break d}X()}f=$()|0;_()|0;break b}f=$()|0;_()|0;break b}f=$()|0;_()|0;break c}k=H[d+4>>2];if(I[f+11|0]>>>7|0){h=H[f>>2]}else{h=f}if(I[f+11|0]>>>7|0){a=H[f>>2]}else{a=f}if(I[f+11|0]>>>7|0){f=H[f+4>>2]}else{f=I[f+11|0]}H[65057]=0;ua(1058,c|0,g+4|0,g|0,k|0,h|0,a+f|0,n|0,o|0,g+176|0,F[g+175|0],F[g+174|0],l|0,i|0,j|0,H[g+124>>2]);a=H[65057];H[65057]=0;if((a|0)!=1){H[65057]=0;b=ma(1020,b|0,c|0,H[g+4>>2],H[g>>2],d|0,e|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){break a}}}f=$()|0;_()|0;Hb(m)}nb(j);nb(i);nb(l)}b=H[g+184>>2];a=H[b+4>>2]-1|0;H[b+4>>2]=a;if((a|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}ba(f|0);X()}Hb(m);nb(j);nb(i);nb(l);c=H[g+184>>2];a=H[c+4>>2]-1|0;H[c+4>>2]=a;if((a|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}Wa=g+192|0;return b|0}function Eb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(!a){return tb(b)}if(b>>>0>=4294967232){H[64884]=48;return 0}g=b>>>0<11?16:b+11&-8;f=a-8|0;j=H[f+4>>2];e=j&-8;a:{if(!(j&3)){if(g>>>0<256){break a}if(e>>>0>=g+4>>>0){c=f;if(e-g>>>0<=H[65053]<<1>>>0){break a}}c=0;break a}h=e+f|0;b:{if(e>>>0>=g>>>0){d=e-g|0;if(d>>>0<16){break b}H[f+4>>2]=j&1|g|2;c=f+g|0;H[c+4>>2]=d|3;H[h+4>>2]=H[h+4>>2]|1;xq(c,d);break b}if(H[64939]==(h|0)){e=e+H[64936]|0;if(e>>>0<=g>>>0){break a}H[f+4>>2]=j&1|g|2;d=f+g|0;c=e-g|0;H[d+4>>2]=c|1;H[64936]=c;H[64939]=d;break b}if(H[64938]==(h|0)){d=e+H[64935]|0;if(d>>>0>>0){break a}c=d-g|0;c:{if(c>>>0>=16){H[f+4>>2]=j&1|g|2;e=f+g|0;H[e+4>>2]=c|1;d=d+f|0;H[d>>2]=c;H[d+4>>2]=H[d+4>>2]&-2;break c}H[f+4>>2]=d|j&1|2;c=d+f|0;H[c+4>>2]=H[c+4>>2]|1;c=0;e=0}H[64938]=e;H[64935]=c;break b}d=H[h+4>>2];if(d&2){break a}k=e+(d&-8)|0;if(k>>>0>>0){break a}m=k-g|0;d:{if(d>>>0<=255){e=H[h+8>>2];c=d>>>3|0;d=H[h+12>>2];if((d|0)==(e|0)){n=259732,o=H[64933]&LM(-2,c),H[n>>2]=o;break d}H[e+12>>2]=d;H[d+8>>2]=e;break d}l=H[h+24>>2];i=H[h+12>>2];e:{if((i|0)!=(h|0)){c=H[h+8>>2];H[c+12>>2]=i;H[i+8>>2]=c;break e}f:{e=h+20|0;c=H[e>>2];if(c){break f}e=h+16|0;c=H[e>>2];if(c){break f}i=0;break e}while(1){d=e;i=c;e=c+20|0;c=H[e>>2];if(c){continue}e=i+16|0;c=H[i+16>>2];if(c){continue}break}H[d>>2]=0}if(!l){break d}d=H[h+28>>2];c=(d<<2)+260036|0;g:{if(H[c>>2]==(h|0)){H[c>>2]=i;if(i){break g}n=259736,o=H[64934]&LM(-2,d),H[n>>2]=o;break d}H[(H[l+16>>2]==(h|0)?16:20)+l>>2]=i;if(!i){break d}}H[i+24>>2]=l;c=H[h+16>>2];if(c){H[i+16>>2]=c;H[c+24>>2]=i}c=H[h+20>>2];if(!c){break d}H[i+20>>2]=c;H[c+24>>2]=i}if(m>>>0<=15){H[f+4>>2]=j&1|k|2;c=f+k|0;H[c+4>>2]=H[c+4>>2]|1;break b}H[f+4>>2]=j&1|g|2;d=f+g|0;H[d+4>>2]=m|3;c=f+k|0;H[c+4>>2]=H[c+4>>2]|1;xq(d,m)}c=f}if(c){return c+8|0}f=tb(b);if(!f){return 0}c=H[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;mb(f,a,b>>>0>c>>>0?c:b);hb(a);return f}function tj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(H[a+72>>2]==1869968492){if(c){l=H[c>>2];i=H[c+4>>2]}c=0;g=G[a+110>>1];a:{if(!g){break a}e=H[a+112>>2];c=H[e+4>>2];d=H[e>>2];if((g|0)<2){f=c;h=d;break a}j=(g<<3)+e|0;g=e+8|0;h=d;f=c;while(1){e=H[e+12>>2];f=(e|0)>(f|0)?e:f;c=(c|0)>(e|0)?e:c;e=H[g>>2];h=(e|0)>(h|0)?e:h;d=(d|0)>(e|0)?e:d;e=g;g=e+8|0;if(j>>>0>g>>>0){continue}break}}g=i&63;e=g+(f&63)|0;m=l&63;j=m+(h&63)|0;n=g+(c&63)|0;m=m+(d&63)|0;g=6;k=i>>6;i=k+(f>>6)|0;l=l>>6;f=l+(h>>6)|0;h=(c>>6)+k|0;c=l+(d>>6)|0;b:{c:{d:{switch(b-2|0){default:f=f+(j+63>>>6|0)|0;c=c+(m>>>6|0)|0;d=f-c|0;g=2;e=i+(e+63>>>6|0)|0;h=h+(n>>>6|0)|0;i=e-h|0;break c;case 0:d=j+32|0;f=f+(d>>>6|0)|0;b=c;c=m+31|0;b=b+(c>>>6|0)|0;e:{if((f|0)==(b|0)){if((((d&63)+(c&63)|0)-31|0)<=31){f=b;b=b-1|0;break e}f=b+1|0}}c=b;d=e+32|0;e=i+(d>>>6|0)|0;b=h;h=n+31|0;b=b+(h>>>6|0)|0;f:{if((e|0)==(b|0)){if((((d&63)+(h&63)|0)-31|0)<=31){e=b;b=b-1|0;break f}e=b+1|0}}h=b;i=e-b|0;d=f-c|0;b=d+15>>3&-2;g=1;break b;case 1:o=i;k=e;b=H[a>>2];d=H[b+184>>2];g=H[b+192>>2];e=(d|0)<(g|0)?d:g;i=H[b+200>>2];e=o+((k-((e|0)<(i|0)?e:i)|0)+63>>6)|0;d=(d|0)>(g|0)?d:g;h=(n-((d|0)>(i|0)?d:i)>>6)+h|0;i=e-h|0;k=f;d=H[b+180>>2];g=H[b+188>>2];f=(d|0)<(g|0)?d:g;b=H[b+196>>2];f=k+((j-((b|0)>(f|0)?f:b)|0)+63>>6)|0;k=c;c=(d|0)>(g|0)?d:g;c=k+(m-((b|0)<(c|0)?c:b)>>6)|0;d=N(f-c|0,3);b=d+3&-4;g=5;break b;case 2:break d}}o=f;k=j;b=H[a>>2];d=H[b+184>>2];j=H[b+192>>2];f=(d|0)<(j|0)?d:j;l=H[b+200>>2];f=o+((k-((f|0)<(l|0)?f:l)|0)+63>>6)|0;k=c;c=(d|0)>(j|0)?d:j;c=k+(m-((c|0)>(l|0)?c:l)>>6)|0;d=f-c|0;k=i;i=H[b+180>>2];j=H[b+188>>2];m=(i|0)>(j|0)?i:j;b=H[b+196>>2];e=k+((e+((b|0)<(m|0)?m:b)|0)+63>>6)|0;k=h;h=(i|0)<(j|0)?i:j;h=k+(((b|0)>(h|0)?h:b)+n>>6)|0;i=N(e-h|0,3)}b=d}H[a+104>>2]=e;H[a+100>>2]=c;H[a+76>>2]=i;F[a+94|0]=g;G[a+92>>1]=256;H[a+80>>2]=d;H[a+84>>2]=b;a=(c|0)<-32768|(f|0)>32767|(h|0)<-32768|(e|0)>32767}else{a=1}return a}function zl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=H[b+4>>2];a:{if(g>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}f=H[b+12>>2];d=f-16|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<4){break a}d=a+4|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<4){break a}c=f-20|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=F[d|0];if((c|0)<0){break a}if(!td((I[a+7|0]|(I[a+5|0]<<16|(c&255)<<24|I[a+6|0]<<8))+a|0,b)){return 0}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(h>>>0>2147483646){break a}c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);i=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;d=a;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);j=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;l=h<<1;g=0;a=0;c=0;while(1){d=c;b:{c:{d:{e:{if((a|0)>=(g|0)){f=a+1|0;if(!(!h|f>>>0<4294967295/(l>>>0)>>>0)){return 0}c=N(f,l);f:{if(!c){e=H[b+12>>2];break f}if(K[b+4>>2]>j>>>0){break a}e=H[b+8>>2];if(e>>>0>>0|c>>>0>e-j>>>0){break a}e=H[b+12>>2]-c|0;H[b+12>>2]=e;if((e|0)<=0){break a}}c=((a^-1)+g|0)+e|0;H[b+12>>2]=c;if((c|0)<=0|(f>>>0>=4294967295/(h>>>0)>>>0?h:0)){break a}c=N(f,h);if((c|0)<0){break a}g=N(g,h);if((g|0)<(c|0)){break e}g=f}if(!d){break c}c=d;break d}k=(c<<1)+j|0;e=(g<<1)+j|0;c=d;while(1){g=I[e|0]|I[e+1|0]<<8;g=((g<<8|g>>>8)&65535)+1|0;c=c>>>0>g>>>0?c:g;e=e+2|0;if(k>>>0>e>>>0){continue}break}g=f}k=0;if(K[b+4>>2]>i>>>0){break a}f=H[b+8>>2];if(f>>>0>>0){break a}e=f-i|0;f=N(c,6);if(e>>>0>>0){break a}e=H[b+12>>2]-f|0;H[b+12>>2]=e;if((e|0)<=0){break a}break b}e=H[b+12>>2];c=d}f=(d-c|0)+e|0;H[b+12>>2]=f;if((f|0)<=0){return 0}if((c|0)>(d|0)){f=N(c,6)+i|0;e=N(d,6)+i|0;while(1){d=I[e|0]|I[e+1|0]<<8;d=(d<<8|d>>>8)&65535;a=(a|0)>(d|0)?a:d;e=e+6|0;if(f>>>0>e>>>0){continue}break}}if((a|0)>=(g|0)){continue}break}k=1}return k}function pd(a,b,c){var d=0,e=0;if(b){d=a^-1;a:{if(!c|!(b&3)){break a}d=H[((I[b|0]^d&255)<<2)+229744>>2]^d>>>8;e=c-1|0;a=b+1|0;if(!(!e|!(a&3))){d=H[((I[b+1|0]^d&255)<<2)+229744>>2]^d>>>8;e=c-2|0;a=b+2|0;if(!(!e|!(a&3))){d=H[((I[b+2|0]^d&255)<<2)+229744>>2]^d>>>8;e=c-3|0;a=b+3|0;if(!(!e|!(a&3))){d=H[((I[b+3|0]^d&255)<<2)+229744>>2]^d>>>8;c=c-4|0;b=b+4|0;break a}b=a;c=e;break a}b=a;c=e;break a}b=a;c=e}if(c>>>0>31){while(1){a=H[b>>2]^d;a=H[b+4>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);a=H[b+8>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);a=H[b+12>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);a=H[b+16>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);a=H[b+20>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);a=H[b+24>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);a=H[b+28>>2]^(H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2]);d=H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=H[b>>2]^d;d=H[(a>>>6&1020)+231792>>2]^H[((a&255)<<2)+232816>>2]^H[(a>>>14&1020)+230768>>2]^H[(a>>>22&1020)+229744>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}b:{if(!c){break b}if(c&1){d=H[((I[b|0]^d&255)<<2)+229744>>2]^d>>>8;b=b+1|0;a=c-1|0}else{a=c}if((c|0)==1){break b}while(1){c=H[((I[b|0]^d&255)<<2)+229744>>2]^d>>>8;d=H[((I[b+1|0]^c&255)<<2)+229744>>2]^c>>>8;b=b+2|0;a=a-2|0;if(a){continue}break}}a=d^-1}else{a=0}return a}function wh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=a&65535;e=a>>>16|0;a:{if((c|0)==1){a=I[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;a=(b>>>0>65520?c+983040|0:c)|a;break a}if(b){if(c>>>0>=16){b:{c:{d:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=I[a|0]+d|0;h=g+I[a+1|0]|0;i=h+I[a+2|0]|0;j=i+I[a+3|0]|0;k=j+I[a+4|0]|0;l=k+I[a+5|0]|0;m=l+I[a+6|0]|0;n=m+I[a+7|0]|0;o=n+I[a+8|0]|0;p=o+I[a+9|0]|0;q=p+I[a+10|0]|0;r=q+I[a+11|0]|0;s=r+I[a+12|0]|0;t=s+I[a+13|0]|0;u=t+I[a+14|0]|0;d=u+I[a+15|0]|0;e=d+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(e+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;f=f-1|0;if(f){continue}break}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break b}if(c>>>0<16){break d}}while(1){a=I[b|0]+d|0;f=a+I[b+1|0]|0;g=f+I[b+2|0]|0;h=g+I[b+3|0]|0;i=h+I[b+4|0]|0;j=i+I[b+5|0]|0;k=j+I[b+6|0]|0;l=k+I[b+7|0]|0;m=l+I[b+8|0]|0;n=m+I[b+9|0]|0;o=n+I[b+10|0]|0;p=o+I[b+11|0]|0;q=p+I[b+12|0]|0;r=q+I[b+13|0]|0;s=r+I[b+14|0]|0;d=s+I[b+15|0]|0;e=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(f+(a+e|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break c}}g=c-1|0;h=c&3;if(h){f=0;a=b;while(1){c=c-1|0;d=I[a|0]+d|0;e=e+d|0;b=a+1|0;a=b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(g>>>0<3){break c}while(1){a=I[b|0]+d|0;f=a+I[b+1|0]|0;g=f+I[b+2|0]|0;d=g+I[b+3|0]|0;e=d+(g+(f+(a+e|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}a=e<<16|d;break a}e:{if(!c){break e}g=c-1|0;h=c&3;if(h){a=b;while(1){c=c-1|0;d=I[a|0]+d|0;e=e+d|0;b=a+1|0;a=b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(g>>>0<3){break e}while(1){a=I[b|0]+d|0;f=a+I[b+1|0]|0;g=f+I[b+2|0]|0;d=g+I[b+3|0]|0;e=d+(g+(f+(a+e|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}}return a}function Ir(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Wa-16|0;Wa=f;a:{if(H[b+136>>2]!=6){break a}c=I[a+2|0]|I[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];k=Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((k|0)==-1){break a}c=I[a+4|0]|I[a+5|0]<<8;g=(c<<8|c>>>8)&65535;d=((g<<1)+a|0)+6|0;c=I[d|0]|I[d+1|0]<<8;j=((((c<<8|c>>>8)&65535)<<1)+d|0)+2|0;c=I[j|0]|I[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=k>>>0){break a}H[f+12>>2]=0;H[f+8>>2]=0;l=a+6|0;h=Wa-16|0;Wa=h;c=H[b+100>>2];c=H[(I[c+61|0]?72:64)+c>>2];H[b+84>>2]=g;H[b+48>>2]=c;i=H[H[b+52>>2]+100>>2];H[b+88>>2]=H[i+68>>2];m=(c|0)==H[i+64>>2]?I[(H[i+80>>2]+N(c,20)|0)+15|0]:m;H[b+80>>2]=l;H[b+76>>2]=a;H[b+72>>2]=732;F[b+68|0]=m;b:{if(g){e=1;c:{c=b+48|0;if(Yd(c,h+12|0)){e=0;while(1){e=e+1|0;if((g|0)==(e|0)){break c}if(Yd(c,h+12|0)){continue}break}e=e>>>0>>0}H[f+12>>2]=H[h+12>>2];break b}e=e>>>0>>0;c=H[c>>2]}H[f+12>>2]=c}Wa=h+16|0;d:{if(e){break d}l=d+2|0;c=H[H[b+100>>2]+64>>2]+1|0;e=0;h=0;g=Wa-16|0;Wa=g;d=I[d|0]|I[d+1|0]<<8;d=(d<<8|d>>>8)&65535;H[b+84>>2]=d;c=c-1|0;H[b+48>>2]=c;i=H[H[b+52>>2]+100>>2];H[b+88>>2]=H[i+68>>2];h=(c|0)==H[i+64>>2]?I[(H[i+80>>2]+N(c,20)|0)+15|0]:h;H[b+80>>2]=l;H[b+76>>2]=a;H[b+72>>2]=732;F[b+68|0]=h;e:{if(d){e=1;f:{c=b+48|0;if(Pc(c,g+12|0)){a=0;while(1){a=a+1|0;if((d|0)==(a|0)){break f}if(Pc(c,g+12|0)){continue}break}e=a>>>0>>0}H[f+8>>2]=H[g+12>>2];break e}e=a>>>0>>0;c=H[c>>2]}H[f+8>>2]=c+1}Wa=g+16|0;if(e){break d}Qb(H[b+100>>2],3,H[f+12>>2],H[f+8>>2],1,1);a=I[j|0]|I[j+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>k>>>0?((k<<1)+j|0)+2|0:163632;a=I[a|0]|I[a+1|0]<<8;e=(a<<8|a>>>8)&65535;a=H[b+100>>2];c=H[a+80>>2]+N(H[a+64>>2],20)|0;a=J[c+12>>1]|16;if(I[b+140|0]){a=Xc(H[b+108>>2],e)|a&112}G[c+12>>1]=a;a=H[b+100>>2];H[H[a+80>>2]+N(H[a+64>>2],20)>>2]=e;n=1;break a}a=H[b+100>>2];if(!(I[a+16|0]&64)){break a}Qb(a,2,H[f+12>>2],H[f+8>>2],0,1)}Wa=f+16|0;return n}function Ig(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Wa+-64|0;Wa=g;k=H[b>>2];H[g>>2]=k;H[g+4>>2]=H[c>>2];m=I[e+9|0];o=m?10:9;while(1){n=(i<<2)+g|0;H[n+8>>2]=k;if(I[e+i|0]){j=H[a+8>>2];a:{if(H[a+12>>2]-j>>3>>>0<=h>>>0){j=0;l=H[a+4>>2];if(!l|H[l>>2]){break a}H[l>>2]=130;break a}b:{c:{d:{j=j+(h<<3)|0;switch(H[j+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}j=H[j>>2]<<16;break a}j=H[j>>2];j=((j>>31)+j|0)- -8192>>14;break a}j=H[j>>2]}H[n+8>>2]=j+k;h=h+1|0}i=i+1|0;if((o|0)!=(i|0)){k=H[(i<<2)+g>>2];continue}break}if(!m){H[g+44>>2]=H[c>>2]}e:{f:{if(f){f=H[g+44>>2]-H[c>>2]|0;e=f>>31;f=(e^f)-e|0;i=H[g+40>>2]-H[b>>2]|0;e=i>>31;i=(e^i)-e|0;e=H[a+8>>2];g:{if(H[a+12>>2]-e>>3>>>0<=h>>>0){h=0;e=H[a+4>>2];if(!e|H[e>>2]){break g}H[e>>2]=130;break g}h:{i:{j:{e=e+(h<<3)|0;switch(H[e+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}h=H[e>>2]<<16;break g}e=H[e>>2];h=((e>>31)+e|0)- -8192>>14;break g}h=H[e>>2]}if((f|0)<(i|0)){i=H[g+40>>2]+h|0;break f}i=H[b>>2];e=H[g+44>>2]+h|0;break e}k:{if(I[e+10|0]){i=H[g+40>>2];f=H[a+8>>2];l:{if(H[a+12>>2]-f>>3>>>0<=h>>>0){k=0;f=H[a+4>>2];if(!f|H[f>>2]){break l}H[f>>2]=130;break l}m:{n:{o:{f=f+(h<<3)|0;switch(H[f+4>>2]-1|0){case 0:break n;case 1:break o;default:break m}}k=H[f>>2]<<16;break l}f=H[f>>2];k=((f>>31)+f|0)- -8192>>14;break l}k=H[f>>2]}h=h+1|0;i=i+k|0;break k}i=H[b>>2]}H[g+48>>2]=i;if(!I[e+11|0]){break f}f=H[g+44>>2];e=H[a+8>>2];p:{if(H[a+12>>2]-e>>3>>>0<=h>>>0){h=0;e=H[a+4>>2];if(!e|H[e>>2]){break p}H[e>>2]=130;i=H[g+48>>2];break p}q:{r:{s:{e=e+(h<<3)|0;switch(H[e+4>>2]-1|0){case 0:break r;case 1:break s;default:break q}}h=H[e>>2]<<16;break p}e=H[e>>2];h=((e>>31)+e|0)- -8192>>14;break p}h=H[e>>2]}e=f+h|0;break e}e=H[c>>2]}de(d,H[g+8>>2],H[g+12>>2],H[g+16>>2],H[g+20>>2],H[g+24>>2],H[g+28>>2]);de(d,H[g+32>>2],H[g+36>>2],H[g+40>>2],H[g+44>>2],i,e);H[a+12>>2]=H[a+8>>2];H[b>>2]=i;H[c>>2]=e;Wa=g- -64|0}function Cl(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=H[b+4>>2];e=a+4|0;a:{if(f>>>0>e>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-e>>>0<4){break a}g=H[b+12>>2]-4|0;H[b+12>>2]=g;if((g|0)<=0){break a}e=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<16|a>>>0>>0|(a>>>0>c>>>0|e>>>0>c-a>>>0)){break a}g=g-e|0;H[b+12>>2]=g;if((g|0)<=0){break a}e=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>357913940){break a}if(e){h=f;f=a+16|0;if(h>>>0>f>>>0|c>>>0>>0){break a}f=c-f|0;c=N(e,12);if(f>>>0>>0){break a}c=g-c|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);c=N(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24),12)}else{c=0}d=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!g){return 1}a=(a+c|0)+16|0;e=0;while(1){c=0;b:{if(K[b+4>>2]>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0){break b}h=d-a|0;if(h>>>0<4){break b}f=H[b+12>>2]-4|0;H[b+12>>2]=f;if((f|0)<=0){break b}d=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>h>>>0){break b}d=f-d|0;H[b+12>>2]=d;if((d|0)<=0){break b}d=H[b+32>>2];c=H[d+12>>2];H[b+4>>2]=c;d=c+H[d+16>>2]|0;H[b+8>>2]=d;c:{if(!(a>>>0>>0&a>>>0>=c>>>0)){H[b+4>>2]=0;H[b+8>>2]=0;break c}H[b+4>>2]=a;d=d-a|0;c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);H[b+8>>2]=(c>>>0>d>>>0?d:c)+a}H[65057]=0;c=Bl(a,b);d=H[65057];H[65057]=0;d:{if((d|0)==1){break d}d=H[b+32>>2];f=H[d+12>>2];H[b+4>>2]=f;H[b+8>>2]=f+H[d+16>>2];break b}a=$()|0;_()|0;c=H[b+32>>2];d=H[c+12>>2];H[b+4>>2]=d;H[b+8>>2]=d+H[c+16>>2];ba(a|0);X()}d=c;if(!d){break a}c=a;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);a=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}return d}function fg(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=Wa-272|0;Wa=n;H[n+268>>2]=0;s=Wj(a,b,c,f,g,n+268|0,n,0);i=H[a+100>>2];g=H[i+64>>2];a:{if(s){c=H[i+68>>2];r=H[n+268>>2];m=c>>>0>>0?c:r;j=m-g|0;b:{if(j>>>0<2){break b}h=H[i+144>>2]|32;H[i+144>>2]=h;if(g>>>0>=m>>>0){break b}o=H[i+80>>2];c=-1;f=g;t=m+(g^-1)|0;if(t>>>0>=3){q=j&-4;while(1){l=o+N(f,20)|0;p=H[l+8>>2];c=c>>>0

>>0?c:p;p=H[l+28>>2];c=c>>>0

>>0?c:p;p=H[l+48>>2];c=c>>>0

>>0?c:p;l=H[l+68>>2];c=c>>>0>>0?c:l;f=f+4|0;k=k+4|0;if((q|0)!=(k|0)){continue}break}}l=j&3;if(l){k=0;while(1){q=H[(o+N(f,20)|0)+8>>2];c=c>>>0>>0?c:q;f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j&1){f=o+N(g,20)|0;if(H[f+8>>2]!=(c|0)){H[i+144>>2]=h;H[f+4>>2]=H[f+4>>2]|3}g=g+1|0}if(!t){break b}while(1){f=o+N(g,20)|0;if(H[f+8>>2]!=(c|0)){h=h|32;H[i+144>>2]=h;H[f+4>>2]=H[f+4>>2]|3}f=o+N(g+1|0,20)|0;if(H[f+8>>2]!=(c|0)){h=h|32;H[i+144>>2]=h;H[f+4>>2]=H[f+4>>2]|3}g=g+2|0;if((m|0)!=(g|0)){continue}break}}Lr(a,b,n,d,e,r);break a}if(!(I[i+16|0]&64)){break a}a=H[i+68>>2];b=H[n+268>>2];b=a>>>0>>0?a:b;d=b-g|0;if(d>>>0<2){break a}h=H[i+144>>2]|32;H[i+144>>2]=h;if(b>>>0<=g>>>0){break a}a=H[i+80>>2];c=-1;f=g;o=b+(g^-1)|0;if(o>>>0>=3){m=d&-4;while(1){e=a+N(f,20)|0;j=H[e+8>>2];c=c>>>0>>0?c:j;j=H[e+28>>2];c=c>>>0>>0?c:j;j=H[e+48>>2];c=c>>>0>>0?c:j;e=H[e+68>>2];c=c>>>0>>0?c:e;f=f+4|0;k=k+4|0;if((m|0)!=(k|0)){continue}break}}e=d&3;if(e){k=0;while(1){m=H[(a+N(f,20)|0)+8>>2];c=c>>>0>>0?c:m;f=f+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(d&1){d=a+N(g,20)|0;if(H[d+8>>2]!=(c|0)){H[i+144>>2]=h;H[d+4>>2]=H[d+4>>2]|2}g=g+1|0}if(!o){break a}while(1){d=a+N(g,20)|0;if(H[d+8>>2]!=(c|0)){h=h|32;H[i+144>>2]=h;H[d+4>>2]=H[d+4>>2]|2}d=a+N(g+1|0,20)|0;if(H[d+8>>2]!=(c|0)){h=h|32;H[i+144>>2]=h;H[d+4>>2]=H[d+4>>2]|2}g=g+2|0;if((b|0)!=(g|0)){continue}break}}Wa=n+272|0;return s}function ct(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Wa-96|0;Wa=f;e=0;a:{if(K[a+16>>2]<=c>>>0){break a}b:{e=H[b+68>>2];if(!e){break b}g=H[H[a>>2]>>2];g=g?g:163632;g=K[g+16>>2]<20?163632:H[g+12>>2];g=I[g+4|0]|I[g+5|0]<<8;if((e|0)!=((g<<8|g>>>8)&65535)){break b}H[f+88>>2]=-8388609;H[f+80>>2]=2139095039;H[f+84>>2]=-8388609;H[f+72>>2]=0;H[f+76>>2]=2139095039;H[f+68>>2]=d;H[f+64>>2]=b;if(d){H[f+88>>2]=-8388609}H[f+32>>2]=H[f+88>>2];d=H[f+84>>2];H[f+24>>2]=H[f+80>>2];H[f+28>>2]=d;d=H[f+76>>2];H[f+16>>2]=H[f+72>>2];H[f+20>>2]=d;d=H[f+68>>2];H[f+8>>2]=H[f+64>>2];H[f+12>>2]=d;e=ik(a,b,c,f+8|0);break a}lg(f+40|0,a,c,0);e=1;if(!H[f+60>>2]){break a}c=H[f+56>>2];g=H[a+4>>2];h=H[g>>2];e=H[f+52>>2];c:{d:{if(h>>>0>e>>>0){a=H[g+20>>2];a=((e|0)<0?163632:H[(a?a:163632)+12>>2]+(e<<2)|0)+2|0;break d}a=0;i=0;if(e>>>0>=K[g+4>>2]){break c}a=H[g+20>>2];a=(e-h<<1)+((h|0)<0?163632:H[(a?a:163632)+12>>2]+(h<<2)|0)|0}a=I[a|0]|I[a+1|0]<<8;e=(a<<8|a>>>8)<<16;a=e>>31;i=e>>16}g=H[b+40>>2];h=H[b+44>>2];e=HM(i,a,g,h)+32768|0;a=Xa;a=e>>>0<32768?a+1|0:a;H[d>>2]=(a&65535)<<16|e>>>16;a=H[b+52>>2];i=a;j=H[b+48>>2];k=c+8|0;l=c+4|0;a=I[c+4|0]|I[c+5|0]<<8;m=(a<<8|a>>>8)<<16>>16;a=I[c+8|0]|I[c+9|0]<<8;n=(a<<8|a>>>8)<<16>>16;a=(m|0)<(n|0)?k:l;a=I[a|0]|I[a+1|0]<<8;o=a<<8|a>>>8;e=o<<16;a=e>>31;a=HM(j,i,e>>16,a)+32768|0;b=Xa;b=a>>>0<32768?b+1|0:b;H[d+4>>2]=(b&65535)<<16|a>>>16;p=g;a=c+6|0;b=c+2|0;e=I[c+2|0]|I[c+3|0]<<8;e=(e<<8|e>>>8)<<16>>16;c=I[c+6|0]|I[c+7|0]<<8;c=(c<<8|c>>>8)<<16>>16;g=(e|0)<(c|0)?a:b;g=I[g|0]|I[g+1|0]<<8;a=(c|0)<(e|0)?a:b;a=I[a|0]|I[a+1|0]<<8;a=(g<<8|g>>>8)-(a<<8|a>>>8)<<16;b=a>>31;b=HM(p,h,a>>16,b)+32768|0;a=Xa;a=b>>>0<32768?a+1|0:a;H[d+8>>2]=(a&65535)<<16|b>>>16;a=(m|0)>(n|0)?k:l;a=I[a|0]|I[a+1|0]<<8;b=(a<<8|a>>>8)-o<<16;a=b>>31;b=HM(j,i,b>>16,a)+32768|0;a=Xa;a=b>>>0<32768?a+1|0:a;H[d+12>>2]=(a&65535)<<16|b>>>16;e=1}Wa=f+96|0;return e}function $F(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a=Wa-624|0;Wa=a;H[a+608>>2]=c;H[a+616>>2]=b;H[a+16>>2]=1037;b=ic(a+200|0,a+208|0,a+16|0);H[65057]=0;h=H[e+28>>2];H[a+192>>2]=h;H[h+4>>2]=H[h+4>>2]+1;h=H[65057];H[65057]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((h|0)!=1){H[65057]=0;h=aa(998,a+192|0)|0;i=H[65057];H[65057]=0;if((i|0)==1){break j}F[a+191|0]=0;e=H[e+4>>2];H[65057]=0;c=va(1048,a+616|0,c|0,d|0,a+192|0,e|0,f|0,a+191|0,h|0,b|0,a+196|0,a+608|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!c){break f}c=I[239310]|I[239311]<<8|(I[239312]<<16|I[239313]<<24);F[a+183|0]=c;F[a+184|0]=c>>>8;F[a+185|0]=c>>>16;F[a+186|0]=c>>>24;c=I[239307]|I[239308]<<8|(I[239309]<<16|I[239310]<<24);H[a+176>>2]=I[239303]|I[239304]<<8|(I[239305]<<16|I[239306]<<24);H[a+180>>2]=c;H[65057]=0;ga(1012,h|0,a+176|0,a+186|0,a+128|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break i}H[a+4>>2]=594;d=ic(a+8|0,0,a+4|0);c=a+16|0;if((H[a+196>>2]-H[b>>2]|0)<393){break g}wc(d,tb((H[a+196>>2]-H[b>>2]>>2)+2|0));if(H[d>>2]){break h}H[65057]=0;ia(972);c=H[65057];H[65057]=0;if((c|0)==1){break d}break a}e=$()|0;_()|0;break b}e=$()|0;_()|0;break c}e=$()|0;_()|0;break c}c=H[d>>2]}if(I[a+191|0]){F[c|0]=45;c=c+1|0}e=H[b>>2];while(1){if(K[a+196>>2]<=e>>>0){F[c|0]=0;H[a>>2]=g;if((Pp(a+16|0,a)|0)!=1){H[65057]=0;fa(1039,238410);c=H[65057];H[65057]=0;if((c|0)!=1){break a}break d}Hb(d)}else{h=a+128|0;j=c,k=I[(a+176|0)+($i(h,h+40|0,e)-h>>2)|0],F[j|0]=k;c=c+1|0;e=e+4|0;continue}break}}H[65057]=0;c=ca(1004,a+616|0,a+608|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}if(c){H[f>>2]=H[f>>2]|2}e=H[a+616>>2];c=H[a+192>>2];d=H[c+4>>2]-1|0;H[c+4>>2]=d;if((d|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}Hb(b);Wa=a+624|0;return e|0}e=$()|0;_()|0;break c}e=$()|0;_()|0;Hb(d)}a=H[a+192>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}}Hb(b);ba(e|0);X()}X()}function jd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Wa-48|0;Wa=f;H[a+8>>2]=0;i=H[a+4>>2];if(i){H[H[a>>2]>>2]=24081;H[H[a>>2]+4>>2]=24081;H[H[a>>2]+8>>2]=24081;H[H[a>>2]+12>>2]=24081;H[H[a>>2]+16>>2]=24081}a:{if(!d){break a}e=I[c|0];if(!e){break a}j=6;if(!b){break a}h=I[b|0];if(!h){break a}H[f+24>>2]=0;H[f+28>>2]=0;H[f+16>>2]=0;H[f+20>>2]=0;H[f+8>>2]=0;H[f+12>>2]=0;H[f>>2]=0;H[f+4>>2]=0;while(1){b:{c:{d:{g=h&255;if((g|0)!=43){if(!g){break d}g=I[b+1|0];break c}g=I[b+1|0];if(g){break c}k=1;g=0;break b}e:{if((d|0)<=0){d=0;b=0;break e}i=c+d|0;while(1){h=c;while(1){f:{if(I[((e&248)>>>3|0)+f|0]>>>(e&7)&1){g=h;break f}e=I[h+1|0];g=h+1|0;h=g;if(e){continue}}break}e=H[a+8>>2];g:{if((e|0)!=H[a+4>>2]){break g}H[f+44>>2]=0;if((e|0)==-1){break g}if((e|0)==536870911){j=64;break a}b=((e>>>1|0)+e|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=jb(H[a+12>>2],4,e,b,H[a>>2],f+44|0),H[l>>2]=m;j=H[f+44>>2];if(j){break a}H[a+4>>2]=b;e=H[a+8>>2]}H[a+8>>2]=e+1;H[H[a>>2]+(e<<2)>>2]=c>>>0>>0?c:24081;h=I[g|0];h:{i:{if(k){d=0;b=g;if(!(h&255)){e=0;c=g;break h}while(1){j:{if(!(I[((h&248)>>>3|0)+f|0]>>>(h&7)&1)){e=h;c=b;break j}e=0;F[b|0]=0;h=I[b+1|0];c=b+1|0;b=c;if(h){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(h&255)){e=0;c=g;d=0;break h}F[g|0]=0;c=g+1|0;e=I[g+1|0]}d=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}i=H[a+4>>2];b=H[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}H[f+44>>2]=0;if(b+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=jb(H[a+12>>2],4,i,b,H[a>>2],f+44|0),H[l>>2]=m;j=H[f+44>>2];if(j){break a}H[a+4>>2]=b}l:{if(!d){e=H[a+8>>2];break l}b=H[a+8>>2];e=b+1|0;H[a+8>>2]=e;H[H[a>>2]+(b<<2)>>2]=24081}j=0;H[H[a>>2]+(e<<2)>>2]=0;break a}j=((h&248)>>>3|0)+f|0;F[j|0]=I[j|0]|1<<(h&7)}b=b+1|0;h=g;continue}}Wa=f+48|0;return j}function gG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;a=Wa-288|0;Wa=a;H[a+272>>2]=c;H[a+280>>2]=b;H[a+16>>2]=1037;b=ic(a+152|0,a+160|0,a+16|0);H[65057]=0;h=H[e+28>>2];H[a+144>>2]=h;H[h+4>>2]=H[h+4>>2]+1;h=H[65057];H[65057]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((h|0)!=1){H[65057]=0;h=aa(892,a+144|0)|0;i=H[65057];H[65057]=0;if((i|0)==1){break j}F[a+143|0]=0;e=H[e+4>>2];H[65057]=0;c=va(1038,a+280|0,c|0,d|0,a+144|0,e|0,f|0,a+143|0,h|0,b|0,a+148|0,a+260|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}if(!c){break f}c=I[239310]|I[239311]<<8|(I[239312]<<16|I[239313]<<24);F[a+135|0]=c;F[a+136|0]=c>>>8;F[a+137|0]=c>>>16;F[a+138|0]=c>>>24;c=I[239307]|I[239308]<<8|(I[239309]<<16|I[239310]<<24);H[a+128>>2]=I[239303]|I[239304]<<8|(I[239305]<<16|I[239306]<<24);H[a+132>>2]=c;H[65057]=0;ga(991,h|0,a+128|0,a+138|0,a+118|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break i}H[a+4>>2]=594;d=ic(a+8|0,0,a+4|0);c=a+16|0;if((H[a+148>>2]-H[b>>2]|0)<99){break g}wc(d,tb((H[a+148>>2]-H[b>>2]|0)+2|0));if(H[d>>2]){break h}H[65057]=0;ia(972);c=H[65057];H[65057]=0;if((c|0)==1){break d}break a}e=$()|0;_()|0;break b}e=$()|0;_()|0;break c}e=$()|0;_()|0;break c}c=H[d>>2]}if(I[a+143|0]){F[c|0]=45;c=c+1|0}e=H[b>>2];while(1){if(K[a+148>>2]<=e>>>0){F[c|0]=0;H[a>>2]=g;if((Pp(a+16|0,a)|0)!=1){H[65057]=0;fa(1039,238410);c=H[65057];H[65057]=0;if((c|0)!=1){break a}break d}Hb(d)}else{h=a+118|0;j=c,k=I[(a+(cj(h,h+10|0,e)-a|0)|0)+10|0],F[j|0]=k;c=c+1|0;e=e+1|0;continue}break}}H[65057]=0;c=ca(974,a+280|0,a+272|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}if(c){H[f>>2]=H[f>>2]|2}e=H[a+280>>2];c=H[a+144>>2];d=H[c+4>>2]-1|0;H[c+4>>2]=d;if((d|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}Hb(b);Wa=a+288|0;return e|0}e=$()|0;_()|0;break c}e=$()|0;_()|0;Hb(d)}a=H[a+144>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}}Hb(b);ba(e|0);X()}X()}function dh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-128|0;Wa=j;H[j+120>>2]=b;H[j+4>>2]=594;n=ic(j+8|0,0,j+4|0);k=j+16|0;l=(d-c|0)/12|0;a:{b:{if(l>>>0>=101){k=tb(l);if(!k){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break a}b=$()|0;_()|0;break b}wc(n,k)}h=k;b=c;while(1){if((b|0)==(d|0)){c:{d:{e:while(1){f:{H[65057]=0;h=ca(1003,a|0,j+120|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break f}if(!(h&(l|0)!=0)){H[65057]=0;b=ca(1004,a|0,j+120|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break c}if(!b){break d}H[f>>2]=H[f>>2]|2;break d}H[65057]=0;o=aa(1005,a|0)|0;b=H[65057];H[65057]=0;g:{if((b|0)!=1){if(g){break g}H[65057]=0;o=ca(1006,e|0,o|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){break g}}b=$()|0;_()|0;break b}r=p+1|0;s=0;h=k;b=c;while(1){if((b|0)==(d|0)){p=r;if(!s){continue e}H[65057]=0;aa(1007,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){h=k;b=c;if(l+m>>>0<2){continue e}while(1){if((b|0)==(d|0)){continue e}if(I[b+11|0]>>>7|0){i=H[b+4>>2]}else{i=I[b+11|0]}if(!((i|0)==(p|0)|I[h|0]!=2)){F[h|0]=0;m=m-1|0}h=h+1|0;b=b+12|0;continue}}b=$()|0;_()|0;break b}h:{if(I[h|0]!=1){break h}if(I[b+11|0]>>>7|0){i=H[b>>2]}else{i=b}q=H[i+(p<<2)>>2];i:{if(g){break i}H[65057]=0;q=ca(1006,e|0,q|0)|0;i=H[65057];H[65057]=0;if((i|0)!=1){break i}b=$()|0;_()|0;break b}j:{if((o|0)==(q|0)){s=1;if(I[b+11|0]>>>7|0){i=H[b+4>>2]}else{i=I[b+11|0]}if((i|0)!=(r|0)){break h}F[h|0]=2;m=m+1|0;break j}F[h|0]=0}l=l-1|0}h=h+1|0;b=b+12|0;continue}}break}b=$()|0;_()|0;break b}k:{l:{while(1){if((c|0)==(d|0)){break l}if(I[k|0]!=2){k=k+1|0;c=c+12|0;continue}break}d=c;break k}H[f>>2]=H[f>>2]|4}Hb(n);Wa=j+128|0;return d|0}b=$()|0;_()|0}else{if(I[b+11|0]>>>7|0){i=H[b+4>>2]}else{i=I[b+11|0]}m:{if(i){F[h|0]=1;break m}F[h|0]=2;m=m+1|0;l=l-1|0}h=h+1|0;b=b+12|0;continue}break}}Hb(n);ba(b|0)}X()}function fh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Wa-128|0;Wa=j;H[j+120>>2]=b;H[j+4>>2]=594;n=ic(j+8|0,0,j+4|0);k=j+16|0;l=(d-c|0)/12|0;a:{b:{if(l>>>0>=101){k=tb(l);if(!k){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break a}b=$()|0;_()|0;break b}wc(n,k)}h=k;b=c;while(1){if((b|0)==(d|0)){c:{d:{e:while(1){f:{H[65057]=0;h=ca(973,a|0,j+120|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break f}if(!(h&(l|0)!=0)){H[65057]=0;b=ca(974,a|0,j+120|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break c}if(!b){break d}H[f>>2]=H[f>>2]|2;break d}H[65057]=0;o=aa(975,a|0)|0;b=H[65057];H[65057]=0;g:{if((b|0)!=1){if(g){break g}H[65057]=0;o=ca(976,e|0,o|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){break g}}b=$()|0;_()|0;break b}r=p+1|0;s=0;h=k;b=c;while(1){if((b|0)==(d|0)){p=r;if(!s){continue e}H[65057]=0;aa(977,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){h=k;b=c;if(l+m>>>0<2){continue e}while(1){if((b|0)==(d|0)){continue e}if(I[b+11|0]>>>7|0){i=H[b+4>>2]}else{i=I[b+11|0]}if(!((i|0)==(p|0)|I[h|0]!=2)){F[h|0]=0;m=m-1|0}h=h+1|0;b=b+12|0;continue}}b=$()|0;_()|0;break b}h:{if(I[h|0]!=1){break h}if(I[b+11|0]>>>7|0){i=H[b>>2]}else{i=b}q=F[i+p|0];i:{if(g){break i}H[65057]=0;q=ca(976,e|0,q<<24>>24)|0;i=H[65057];H[65057]=0;if((i|0)!=1){break i}b=$()|0;_()|0;break b}j:{if((o&255)==(q&255)){s=1;if(I[b+11|0]>>>7|0){i=H[b+4>>2]}else{i=I[b+11|0]}if((i|0)!=(r|0)){break h}F[h|0]=2;m=m+1|0;break j}F[h|0]=0}l=l-1|0}h=h+1|0;b=b+12|0;continue}}break}b=$()|0;_()|0;break b}k:{l:{while(1){if((c|0)==(d|0)){break l}if(I[k|0]!=2){k=k+1|0;c=c+12|0;continue}break}d=c;break k}H[f>>2]=H[f>>2]|4}Hb(n);Wa=j+128|0;return d|0}b=$()|0;_()|0}else{if(I[b+11|0]>>>7|0){i=H[b+4>>2]}else{i=I[b+11|0]}m:{if(i){F[h|0]=1;break m}F[h|0]=2;m=m+1|0;l=l-1|0}h=h+1|0;b=b+12|0;continue}break}}Hb(n);ba(b|0)}X()}function XG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=O(0);a=Wa-368|0;Wa=a;H[a+352>>2]=c;H[a+360>>2]=b;aj(a+200|0,d,a+224|0,a+220|0,a+216|0);b=Ib(a+184|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+180>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;F[a+7|0]=1;F[a+6|0]=69;while(1){d:{H[65057]=0;d=ca(1003,a+360|0,a+352|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+180>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+180>>2]=d+c}H[65057]=0;d=aa(1005,a+360|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=ch(d,a+7|0,a+6|0,c,a+180|0,H[a+220>>2],H[a+216>>2],a+200|0,a+16|0,a+12|0,a+8|0,a+224|0);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+360|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+211|0]>>>7|0){d=H[a+204>>2]}else{d=I[a+211|0]}e:{if(!d|!I[a+7|0]){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;h=O(Ba(990,c|0,H[a+180>>2],e|0));c=H[65057];H[65057]=0;f:{if((c|0)==1){break f}L[f>>2]=h;H[65057]=0;zc(a+200|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+360|0,a+352|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+360>>2];nb(b);nb(a+200|0);Wa=a+368|0;break a}}c=$()|0;_()|0;nb(b);nb(a+200|0);ba(c|0);X()}return c|0}function Ae(a,b,c,d){var e=0,f=0,g=0,h=0;a:{e=H[b+68>>2];d=d>>>0>e>>>0?e:d;if(d>>>0<=c>>>0){break a}e=H[a+68>>2];g=c>>>0>d>>>0?d:c;h=d-g|0;f=e+h|0;if(e>>>0>f>>>0){F[a+60|0]=0;return}b:{if(!H[a+4>>2]){break b}c=e;c:{if(!f){break c}c=e;if(f>>>0>2]){break c}if(!be(a,f)){break b}c=H[a+68>>2]}d:{if(c>>>0>=f>>>0){break d}kb(H[a+80>>2]+N(c,20)|0,0,N(f-c|0,20));if(!I[a+62|0]){break d}c=H[a+68>>2];kb(H[a+88>>2]+N(c,20)|0,0,N(f-c|0,20))}H[a+68>>2]=f;if(!f){H[a+132>>2]=0;H[a+36>>2]=0}H[a+136>>2]=0}if(!I[a+60|0]){break a}if(!e){H[a+36>>2]=H[b+36>>2]}e:{if(I[a+62|0]|!I[b+62|0]){break e}H[a+72>>2]=0;F[a+61|0]=0;F[a+62|0]=1;H[a+84>>2]=H[a+80>>2];c=N(H[a+68>>2],20);if(!c){break e}kb(H[a+88>>2],0,c)}c=H[a+40>>2];if(!c){c=H[b+40>>2];H[a+40>>2]=c}f:{if(H[b+40>>2]!=(c|0)){break f}c=H[a+44>>2];if(!c){c=H[b+44>>2];H[a+44>>2]=c}if(H[a+48>>2]|H[b+44>>2]!=(c|0)){break f}H[a+48>>2]=H[b+48>>2]}c=N(e,20);f=N(g,20);h=N(h,20);mb(c+H[a+80>>2]|0,f+H[b+80>>2]|0,h);if(I[a+62|0]){mb(c+H[a+88>>2]|0,f+H[b+88>>2]|0,h)}if(H[b+36>>2]!=1){break a}g:{if((0-H[b+132>>2]|0)==(g|0)|e){break g}H[a+132>>2]=0;h:{if(!g){break h}e=H[b+80>>2];c=0;while(1){g=g-1|0;f=H[e+N(g,20)>>2];H[a+132>>2]=c+1;H[((c<<2)+a|0)+92>>2]=f;if(!g){break h}c=H[a+132>>2];if(c>>>0<5){continue}break}}if(!H[b+132>>2]){break g}c=0;while(1){e=H[a+132>>2];if(e>>>0>4){break g}f=H[((c<<2)+b|0)+92>>2];H[a+132>>2]=e+1;H[((e<<2)+a|0)+92>>2]=f;c=c+1|0;if(c>>>0>2]){continue}break}}c=0;H[a+136>>2]=0;i:{if(K[b+68>>2]<=d>>>0){break i}f=H[b+80>>2];e=0;while(1){g=H[f+N(d,20)>>2];H[a+136>>2]=e+1;H[((e<<2)+a|0)+112>>2]=g;d=d+1|0;if(d>>>0>=K[b+68>>2]){break i}e=H[a+136>>2];if(e>>>0<5){continue}break}}if(!H[b+136>>2]){break a}while(1){d=H[a+136>>2];if(d>>>0>4){break a}e=H[((c<<2)+b|0)+112>>2];H[a+136>>2]=d+1;H[((d<<2)+a|0)+112>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}}function Oj(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Wa-16|0;Wa=f;H[f+12>>2]=0;H[f+8>>2]=0;H[f+4>>2]=0;H[f>>2]=0;e=H[a+8>>2];d=H[a+4>>2];a:{if(!(Ya[H[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break a}c=H[f+8>>2];if(c){H[f>>2]=0;h=c;c=H[e+80>>2];if(!(Ya[H[c+164>>2]](e,H[e+84>>2],h,f,H[c+20>>2])|0)){break a}}H[f+4>>2]=0;c=H[e+80>>2];c=Ya[H[c+164>>2]](e,H[e+84>>2],H[f+12>>2],f+4|0,H[c+20>>2])|0;g=H[f+12>>2];if(!c|!b){g=Oj(a,b,g);if(g){c=H[f+8>>2];if(!c){break a}H[(H[d+80>>2]+N(H[d+64>>2],20)|0)+12>>2]=H[f>>2];b:{if(!qb(d,0,1)){a=H[d+72>>2];break b}a=H[d+64>>2];c:{if(a>>>0>2]){e=H[d+72>>2];b=H[d+84>>2];a=H[d+80>>2]+N(a,20)|0;break c}b=H[d+84>>2];e=H[d+72>>2];a=b+N(e?e-1|0:0,20)|0}b=N(e,20)+b|0;e=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=e;H[b+16>>2]=H[a+16>>2];e=H[a+12>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=e;H[b>>2]=c;a=H[d+72>>2]+1|0;H[d+72>>2]=a}We(H[d+84>>2]+N(a?a-1|0:0,20)|0,d);g=g+1|0;break a}if(!c){g=0;break a}g=H[f+12>>2]}H[(H[d+80>>2]+N(H[d+64>>2],20)|0)+12>>2]=H[f+4>>2];d:{if(!qb(d,0,1)){a=H[d+72>>2];break d}a=H[d+64>>2];e:{if(a>>>0>2]){e=H[d+72>>2];c=H[d+84>>2];a=H[d+80>>2]+N(a,20)|0;break e}c=H[d+84>>2];e=H[d+72>>2];a=c+N(e?e-1|0:0,20)|0}b=N(e,20)+c|0;c=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=c;H[b+16>>2]=H[a+16>>2];c=H[a+12>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=c;H[b>>2]=g;a=H[d+72>>2]+1|0;H[d+72>>2]=a}We(H[d+84>>2]+N(a?a-1|0:0,20)|0,d);g=H[f+8>>2];if(!g){g=1;break a}H[(H[d+80>>2]+N(H[d+64>>2],20)|0)+12>>2]=H[f>>2];f:{if(!qb(d,0,1)){a=H[d+72>>2];break f}a=H[d+64>>2];g:{if(a>>>0>2]){e=H[d+72>>2];c=H[d+84>>2];a=H[d+80>>2]+N(a,20)|0;break g}c=H[d+84>>2];e=H[d+72>>2];a=c+N(e?e-1|0:0,20)|0}b=N(e,20)+c|0;c=H[a+4>>2];H[b>>2]=H[a>>2];H[b+4>>2]=c;H[b+16>>2]=H[a+16>>2];c=H[a+12>>2];H[b+8>>2]=H[a+8>>2];H[b+12>>2]=c;H[b>>2]=g;a=H[d+72>>2]+1|0;H[d+72>>2]=a}We(H[d+84>>2]+N(a?a-1|0:0,20)|0,d);g=2}Wa=f+16|0;return g}function zg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Wa-16|0;Wa=g;i=H[a+100>>2];H[g+12>>2]=0;e=H[a+532>>2];a:{if(!e){e=zb(i,420,g+12|0);if(H[g+12>>2]){break a}H[e+416>>2]=0;H[a+532>>2]=e}b:{c:{if(!b){break c}d=H[e>>2];if(!d){r=e,s=jb(i,32,0,b,0,g+12|0),H[r+148>>2]=s;if(H[g+12>>2]){break a}r=e,s=jb(i,196,0,b,0,g+12|0),H[r+216>>2]=s;if(H[g+12>>2]){break a}r=e,s=jb(i,16,0,b,0,g+12|0),H[r+288>>2]=s;if(H[g+12>>2]){break a}d=jb(i,4,0,b<<1,0,g+12|0);H[e+136>>2]=d;if(H[g+12>>2]){break a}H[e+284>>2]=a+464;H[e+212>>2]=a+168;H[e+144>>2]=a+132;j=2;H[e+140>>2]=d+(b<<2);d:{if(b>>>0<2){break d}f=b-1|0;o=f&3;a=H[e+288>>2];d=H[e+216>>2];h=H[e+148>>2];if(b-2>>>0>=3){q=f&-4;k=e+144|0;m=e+212|0;n=e+284|0;while(1){f=j<<2;H[f+k>>2]=h+32;H[f+m>>2]=d+196;H[f+n>>2]=a+16;l=f|4;H[l+k>>2]=h- -64;H[l+m>>2]=d+392;H[l+n>>2]=a+32;l=f+8|0;H[l+k>>2]=h+96;H[l+m>>2]=d+588;H[l+n>>2]=a+48;f=f+12|0;h=h+128|0;H[f+k>>2]=h;d=d+784|0;H[f+m>>2]=d;a=a- -64|0;H[f+n>>2]=a;j=j+4|0;p=p+4|0;if((q|0)!=(p|0)){continue}break}}if(!o){break d}f=0;while(1){k=(j<<2)+e|0;a=a+16|0;H[k+284>>2]=a;d=d+196|0;H[k+212>>2]=d;h=h+32|0;H[k+144>>2]=h;j=j+1|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}H[e>>2]=b;break c}if((b|0)!=(d|0)){break b}}a=H[e+4>>2];e:{if(!c){c=a;break e}if((a|0)!=(c|0)?a:0){break b}H[e+4>>2]=c}d=H[e>>2];if(H[e+24>>2]|(!d|!c)){break a}b=jb(i,4,0,N(c,d),0,g+12|0);H[e+24>>2]=b;if(H[g+12>>2]|d>>>0<2){break a}h=d-1|0;i=h&3;a=1;if(d-2>>>0>=3){j=h&-4;d=0;h=e+24|0;while(1){H[h+(a<<2)>>2]=b+(N(a,c)<<2);f=a+1|0;H[h+(f<<2)>>2]=b+(N(c,f)<<2);f=a+2|0;H[h+(f<<2)>>2]=b+(N(c,f)<<2);f=a+3|0;H[h+(f<<2)>>2]=b+(N(c,f)<<2);a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}d=0;while(1){H[((a<<2)+e|0)+24>>2]=b+(N(a,c)<<2);a=a+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break a}H[g+12>>2]=3}Wa=g+16|0;return H[g+12>>2]}function WG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-368|0;Wa=a;H[a+352>>2]=c;H[a+360>>2]=b;aj(a+200|0,d,a+224|0,a+220|0,a+216|0);b=Ib(a+184|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+180>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;F[a+7|0]=1;F[a+6|0]=69;while(1){d:{H[65057]=0;d=ca(1003,a+360|0,a+352|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+180>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+180>>2]=d+c}H[65057]=0;d=aa(1005,a+360|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=ch(d,a+7|0,a+6|0,c,a+180|0,H[a+220>>2],H[a+216>>2],a+200|0,a+16|0,a+12|0,a+8|0,a+224|0);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+360|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+211|0]>>>7|0){d=H[a+204>>2]}else{d=I[a+211|0]}e:{if(!d|!I[a+7|0]){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;h=+Aa(993,c|0,H[a+180>>2],e|0);c=H[65057];H[65057]=0;f:{if((c|0)==1){break f}M[f>>3]=h;H[65057]=0;zc(a+200|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+360|0,a+352|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+360>>2];nb(b);nb(a+200|0);Wa=a+368|0;break a}}c=$()|0;_()|0;nb(b);nb(a+200|0);ba(c|0);X()}return c|0}function mH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=O(0);a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;dj(a+208|0,d,a+224|0,a+223|0,a+222|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;F[a+7|0]=1;F[a+6|0]=69;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=eh(d,a+7|0,a+6|0,c,a+188|0,F[a+223|0],F[a+222|0],a+208|0,a+16|0,a+12|0,a+8|0,a+224|0);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d|!I[a+7|0]){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;h=O(Ba(990,c|0,H[a+188>>2],e|0));c=H[65057];H[65057]=0;f:{if((c|0)==1){break f}L[f>>2]=h;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function kH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;dj(a+208|0,d,a+224|0,a+223|0,a+222|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;F[a+7|0]=1;F[a+6|0]=69;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=eh(d,a+7|0,a+6|0,c,a+188|0,F[a+223|0],F[a+222|0],a+208|0,a+16|0,a+12|0,a+8|0,a+224|0);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d|!I[a+7|0]){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;h=+Aa(993,c|0,H[a+188>>2],e|0);c=H[65057];H[65057]=0;f:{if((c|0)==1){break f}M[f>>3]=h;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function Qx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=Wa-48|0;Wa=d;i=H[b+28>>2];H[d+20>>2]=H[b+8>>2];o=d,p=$b(b,d+4|0),H[o+8>>2]=p;c=H[d+4>>2];a:{if(c){break a}c=Mb(b,95856,d+8|0);H[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(H[d+8>>2]!=1330926671){e=H[d+20>>2];c=ob(b,e+12|0);H[d+44>>2]=c;if(c){break a}c=2;if(!J[d+12>>1]){break a}j=e+28|0;e=0;while(1){c:{c=Mb(b,95888,d+24|0);H[d+44>>2]=c;if(c){G[d+12>>1]=e-1;break c}g=H[b+4>>2];h=H[d+32>>2];d:{if(g>>>0>>0){break d}c=H[d+24>>2];m=g-h|0;g=H[d+36>>2];if(!((c|0)==1986884728|m>>>0>=g>>>0)&(c|0)!=1752003704){break d}f=f+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1751474532&(c|0)!=1651008868){break d}if(g>>>0<54){c=142;break a}c=ob(b,h+12|0);H[d+44>>2]=c;if(c){break a}$b(b,d+44|0);c=H[d+44>>2];if(c){break a}c=ob(b,j+(e<<4)|0);H[d+44>>2]=c;k=1;if(!c){break d}break a}n=1}e=e+1|0;if(e>>>0>1]){continue}}break}c=2;if(!(f&65535)){break a}if(!k){c=142;if(!l|!n){break a}}H[d+4>>2]=0;c=H[d+8>>2];break b}f=J[d+12>>1];if(f){break b}c=2;break a}H[a+148>>2]=c;G[a+152>>1]=f;o=a,p=jb(i,16,0,f&65535,0,d+4|0),H[o+156>>2]=p;c=H[d+4>>2];if(c){break a}c=ob(b,H[d+20>>2]+12|0);H[d+4>>2]=c;if(c){break a}c=Nb(b,J[d+12>>1]<<4);H[d+4>>2]=c;if(c){break a}f:{if(!J[d+12>>1]){f=0;break f}j=0;f=0;while(1){h=uc(b);l=uc(b);i=uc(b);k=uc(b);c=H[b+4>>2];g:{if(c>>>0>>0){break g}c=c-i|0;if(c>>>0>>0){if((h|0)!=1986884728&(h|0)!=1752003704){break g}k=c&-4}g=H[a+156>>2];e=f&65535;h:{if(!e){e=0;break h}c=0;while(1){if((h|0)==H[g+(c<<4)>>2]){break g}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=g+(e<<4)|0;H[c+12>>2]=k;H[c+8>>2]=i;H[c+4>>2]=l;H[c>>2]=h;f=f+1|0}j=j+1|0;if(J[d+12>>1]>(j&65535)>>>0){continue}break}}G[a+152>>1]=f;Db(b);c=H[d+4>>2]}Wa=d+48|0;return c|0}function Rh(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function Tj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=O(0),l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=O(0);j=Wa-16|0;Wa=j;o=163632;i=((c<<2)+a|0)+2|0;h=c;c=I[a|0]|I[a+1|0]<<8;c=h>>>0<((c<<8|c>>>8)&65535)>>>0?i:163632;h=I[c|0]|I[c+1|0]<<8;h=(h<<8|h>>>8)&65535;c=I[c+2|0]|I[c+3|0]<<8;if(c){o=((c<<8|c>>>8)&65535)+a|0}c=0;a:{if(f>>>0<=h>>>0){break a}a=I[e|0]|I[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=h+N(d,f)|0;a=(a|0)<0?163632:((a<<1)+e|0)+2|0;a=I[a|0]|I[a+1|0]<<8;if(!a){break a}s=((a<<8|a>>>8)&65535)+e|0;d=H[b+100>>2];a=H[d+68>>2];p=H[d+64>>2];c=p+1|0;l=a>>>0>>0?a:c;m=l-g|0;b:{if(m>>>0<=1){c=H[d+80>>2];break b}h=H[d+144>>2]|32;H[d+144>>2]=h;c=H[d+80>>2];if(g>>>0>=l>>>0){break b}a=-1;e=g;q=(e^-1)+l|0;if(q>>>0>=3){n=m&-4;while(1){f=N(e,20)+c|0;i=H[f+8>>2];a=a>>>0>>0?a:i;i=H[f+28>>2];a=a>>>0>>0?a:i;i=H[f+48>>2];a=a>>>0>>0?a:i;f=H[f+68>>2];a=a>>>0>>0?a:f;e=e+4|0;r=r+4|0;if((n|0)!=(r|0)){continue}break}}n=m&3;if(n){f=0;while(1){i=H[(N(e,20)+c|0)+8>>2];a=a>>>0>>0?a:i;e=e+1|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}}e=g;if(m&1){e=N(g,20)+c|0;if(H[e+8>>2]!=(a|0)){H[d+144>>2]=h;H[e+4>>2]=H[e+4>>2]|3}e=g+1|0}if(!q){break b}while(1){f=N(e,20)+c|0;if(H[f+8>>2]!=(a|0)){h=h|32;H[d+144>>2]=h;H[f+4>>2]=H[f+4>>2]|3}f=N(e+1|0,20)+c|0;if(H[f+8>>2]!=(a|0)){h=h|32;H[d+144>>2]=h;H[f+4>>2]=H[f+4>>2]|3}e=e+2|0;if((l|0)!=(e|0)){continue}break}}Bh(o,b,H[N(p,20)+c>>2],j+12|0,j+8|0);Bh(s,b,H[H[d+80>>2]+N(g,20)>>2],j+4|0,j);a=H[d+88>>2]+N(H[d+64>>2],20)|0;k=O(T(O(O(L[j+4>>2]-L[j+12>>2])+O(.5))));c:{if(O(P(k))>2]=b;k=L[j+8>>2];t=L[j>>2];c=1;F[a+18|0]=1;k=O(T(O(O(t-k)+O(.5))));d:{if(O(P(k))>2]=b;G[a+16>>1]=g-H[d+64>>2];H[d+144>>2]=H[d+144>>2]|8;H[d+64>>2]=H[d+64>>2]+1}Wa=j+16|0;return c}function bH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-352|0;Wa=a;H[a+336>>2]=c;H[a+344>>2]=b;h=md(d);i=mf(d,a+224|0);lf(a+208|0,d,a+332|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(1003,a+344|0,a+336|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(1005,a+344|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=pe(d,h,c,a+188|0,a+8|0,H[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+344|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=Rg(984,c,H[a+188>>2],e,h);d=Xa;h=H[65057];H[65057]=0;f:{if((h|0)==1){break f}H[f>>2]=c;H[f+4>>2]=d;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+344|0,a+336|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+344>>2];nb(b);nb(a+208|0);Wa=a+352|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function YG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-352|0;Wa=a;H[a+336>>2]=c;H[a+344>>2]=b;h=md(d);i=mf(d,a+224|0);lf(a+208|0,d,a+332|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(1003,a+344|0,a+336|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(1005,a+344|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=pe(d,h,c,a+188|0,a+8|0,H[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+344|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=Rg(988,c,H[a+188>>2],e,h);d=Xa;h=H[65057];H[65057]=0;f:{if((h|0)==1){break f}H[f>>2]=c;H[f+4>>2]=d;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+344|0,a+336|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+344>>2];nb(b);nb(a+208|0);Wa=a+352|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function jx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Wa-16|0;Wa=g;f=H[a+4>>2]&2147418112;a:{if(d&16){if(I[a+9|0]&128?1:f){i=7;if(!(I[a+740|0]&16)){break a}}if(!c){i=0;break a}b:{if(I[a+292|0]){d=0;f=1;break b}if(J[a+372>>1]==65535){b=G[a+220>>1]-G[a+222>>1]|0;a=b>>31;a=(a^b)-a&65535;i=0;b=0;if(c-1>>>0>=7){h=c&-8;f=0;while(1){d=b<<2;H[d+e>>2]=a;H[(d|4)+e>>2]=a;H[(d|8)+e>>2]=a;H[(d|12)+e>>2]=a;H[(d|16)+e>>2]=a;H[(d|20)+e>>2]=a;H[(d|24)+e>>2]=a;H[(d|28)+e>>2]=a;b=b+8|0;f=f+8|0;if((h|0)!=(f|0)){continue}break}}c=c&7;if(!c){break a}d=0;while(1){H[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break a}b=G[a+442>>1]-G[a+444>>1]|0;a=b>>31;a=(a^b)-a&65535;i=0;b=0;if(c-1>>>0>=7){h=c&-8;f=0;while(1){d=b<<2;H[d+e>>2]=a;H[(d|4)+e>>2]=a;H[(d|8)+e>>2]=a;H[(d|12)+e>>2]=a;H[(d|16)+e>>2]=a;H[(d|20)+e>>2]=a;H[(d|24)+e>>2]=a;H[(d|28)+e>>2]=a;b=b+8|0;f=f+8|0;if((h|0)!=(f|0)){continue}break}}c=c&7;if(!c){break a}d=0;while(1){H[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break a}while(1){i=(d<<2)+e|0;c:{if(f&255){Ya[H[H[a+540>>2]+140>>2]](a,1,b+d|0,g+14|0,g+12|0);f=J[g+12>>1];break c}if(J[a+372>>1]!=65535){h=G[a+442>>1]-G[a+444>>1]|0;f=h>>31;f=(f^h)-f|0;break c}h=G[a+220>>1]-G[a+222>>1]|0;f=h>>31;f=(f^h)-f|0}H[i>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){f=I[a+292|0];continue}break}i=0;break a}if(I[a+9|0]&128?1:f){i=7;if(!(I[a+740|0]&2)){break a}}if(!c){i=0;break a}i=0;d=0;if((c|0)!=1){h=c&-2;f=0;while(1){j=g+10|0;k=g+8|0;Ya[H[H[a+540>>2]+140>>2]](a,0,b+d|0,j,k);H[(d<<2)+e>>2]=J[g+8>>1];l=d|1;Ya[H[H[a+540>>2]+140>>2]](a,0,l+b|0,j,k);H[(l<<2)+e>>2]=J[g+8>>1];d=d+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(!(c&1)){break a}Ya[H[H[a+540>>2]+140>>2]](a,0,b+d|0,g+10|0,g+8|0);H[(d<<2)+e>>2]=J[g+8>>1]}Wa=g+16|0;return i|0}function mi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;H[a+168>>2]=d;k=a+168|0;H[a+48>>2]=k;g=H[a+64>>2];H[a+184>>2]=H[a+60>>2];H[a+188>>2]=g;H[a+180>>2]=c;H[a+176>>2]=b;H[a+172>>2]=e;e=k;while(1){h=H[e+4>>2];f=H[e+20>>2];c=(h|0)>(f|0);a:{b:{i=H[e+12>>2];if(!((i|0)>=((c?f:h)|0)&(i|0)<=(((f|0)>(h|0)?f:h)|0))){b=H[e+16>>2];H[e+32>>2]=b;H[e+36>>2]=f;c=f+i|0;H[e+28>>2]=c>>1;g=h+i|0;H[e+12>>2]=g>>1;f=H[e+8>>2];i=f+d|0;H[e+8>>2]=i>>1;f=b+f|0;H[e+24>>2]=f>>1;b=2;H[e+20>>2]=c+g>>2;H[e+16>>2]=f+i>>2;break b}b=-2;if((f|0)==(h|0)){break b}m=c?1:2;c=H[a+92>>2];if((m|0)!=(c|0)){b=H[a+4>>2];n=(f|0)>=(h|0);g=n?f&b-1:((b+f|0)-1&0-b)-f|0;l=H[a+8>>2];if(c){b=H[a+36>>2];j=H[a+80>>2];c=H[j+8>>2];o=b-c|0;if((o|0)<0){H[a+40>>2]=99;return 1}c:{if((b|0)==(c|0)){c=b;break c}H[j+16>>2]=o>>2;if((g|0)>=(l|0)){c=J[j+12>>1];G[j+12>>1]=(c&8?16:32)|c}H[a+80>>2]=b;c=b+32|0;H[a+36>>2]=c;H[b+8>>2]=c;H[b+16>>2]=0;H[j+28>>2]=b;G[a+76>>1]=J[a+76>>1]+1}if(K[a+32>>2]<=c>>>0){H[a+40>>2]=98;return 1}F[a+79|0]=0}d:{if(H[a+84>>2]){c=H[a+36>>2];break d}b=H[a+36>>2];H[a+84>>2]=b;H[a+80>>2]=b;c=b+32|0;H[a+36>>2]=c}if(K[a+32>>2]<=c>>>0){H[a+40>>2]=98;return 1}b=H[a+80>>2];H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=c;H[b+28>>2]=0;H[b+4>>2]=0;c=I[a+164|0];G[b+12>>1]=c;e:{f:{if(!n){G[b+12>>1]=c|8;j=40;if((g|0)>=(l|0)){break f}break e}j=16;if((g|0)<(l|0)){break e}}G[b+12>>1]=c|j}if(!H[a+88>>2]){H[a+88>>2]=b}G[a+78>>1]=1;H[a+92>>2]=m}b=H[a+72>>2];c=H[a+68>>2];if((f|0)<(h|0)){if(!Gg(a,2,61,c,b)){break a}return 1}H[e+20>>2]=0-f;H[e+12>>2]=0-i;H[e+4>>2]=0-h;g=I[a+78|0];b=Gg(a,2,61,0-b|0,0-c|0);if(!(I[a+78|0]|!g)){c=H[a+80>>2];H[c+20>>2]=0-H[c+20>>2]}H[e+4>>2]=0-H[e+4>>2];if(!b){break a}return 1}H[a+48>>2]=(b<<3)+e}e=H[a+48>>2];if(k>>>0<=e>>>0){d=H[e>>2];continue}break}H[a+64>>2]=h;H[a+60>>2]=d;return 0}function cH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-352|0;Wa=a;H[a+336>>2]=c;H[a+344>>2]=b;h=md(d);i=mf(d,a+224|0);lf(a+208|0,d,a+332|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(1003,a+344|0,a+336|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(1005,a+344|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=pe(d,h,c,a+188|0,a+8|0,H[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+344|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(980,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[f>>2]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+344|0,a+336|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+344>>2];nb(b);nb(a+208|0);Wa=a+352|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function aH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-352|0;Wa=a;H[a+336>>2]=c;H[a+344>>2]=b;h=md(d);i=mf(d,a+224|0);lf(a+208|0,d,a+332|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(1003,a+344|0,a+336|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(1005,a+344|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=pe(d,h,c,a+188|0,a+8|0,H[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+344|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(985,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}G[f>>1]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+344|0,a+336|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+344>>2];nb(b);nb(a+208|0);Wa=a+352|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function ZG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-352|0;Wa=a;H[a+336>>2]=c;H[a+344>>2]=b;h=md(d);i=mf(d,a+224|0);lf(a+208|0,d,a+332|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(1003,a+344|0,a+336|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(1005,a+344|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=pe(d,h,c,a+188|0,a+8|0,H[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+344|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(987,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[f>>2]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+344|0,a+336|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+344>>2];nb(b);nb(a+208|0);Wa=a+352|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function $G(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-352|0;Wa=a;H[a+336>>2]=c;H[a+344>>2]=b;h=md(d);i=mf(d,a+224|0);lf(a+208|0,d,a+332|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(1003,a+344|0,a+336|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(1005,a+344|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=pe(d,h,c,a+188|0,a+8|0,H[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(1007,a+344|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(986,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[f>>2]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(1004,a+344|0,a+336|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+344>>2];nb(b);nb(a+208|0);Wa=a+352|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function kJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-32|0;Wa=e;d=H[a+84>>2];a:{if(!(!H[d+88>>2]|b|H[d+72>>2]!=1651078259)){a=tb(60);H[a+8>>2]=0;H[a>>2]=15;H[a+4>>2]=0;b=H[d+24>>2];H[a+12>>2]=b;c=H[d+28>>2];H[a+24>>2]=c;H[a+20>>2]=b;H[a+16>>2]=c;H[a+28>>2]=H[d+40>>2];H[a+32>>2]=H[d+32>>2];H[a+36>>2]=H[d+36>>2];H[a+40>>2]=H[d+52>>2];H[a+44>>2]=H[d+44>>2];H[a+48>>2]=H[d+48>>2];H[a+52>>2]=H[d+56>>2];H[a+56>>2]=H[d+60>>2];break a}h=Wa-16|0;Wa=h;i=e+28|0;b:{if(!d|!i){break b}f=H[d>>2];if(!f){break b}j=H[f>>2];g=H[d+72>>2];c=29224;c:{d:{if((g|0)==1651078259){break d}c=29256;if((g|0)==1869968492){break d}e:{f:{if(!f){break f}c=H[f+148>>2];if(!c){break f}while(1){a=H[c+8>>2];if((g|0)==H[a+16>>2]){break e}c=H[c+4>>2];if(c){continue}break}}a=0}if(!a){break c}c=a+20|0}a=zb(j,H[c>>2],h+12|0);if(H[h+12>>2]){break b}H[a+4>>2]=c;H[a>>2]=f;H[a+8>>2]=H[c+4>>2];g:{f=H[d+64>>2];h:{if(f-2097152>>>0<4290772993){break h}g=H[d+68>>2];if(g-2097152>>>0<4290772993){break h}H[a+16>>2]=g<<10;H[a+12>>2]=f<<10;if(!(Ya[H[c+8>>2]](a,d)|0)){break g}c=H[a+4>>2]}f=H[H[a>>2]>>2];c=H[c+12>>2];if(c){Ya[c|0](a)}if(a){Ya[H[f+8>>2]](f,a)}break b}H[i>>2]=a}}Wa=h+16|0;a=H[e+28>>2];if(!a){a=0;break a}c=tb(800);H[e+20>>2]=200;H[e+16>>2]=c;H[c>>2]=0;Sn(a,1,e);H[c+4>>2]=H[e>>2];H[c+8>>2]=H[e+4>>2];H[c+12>>2]=H[e+8>>2];H[c+16>>2]=H[e+12>>2];H[c+20>>2]=H[d+24>>2];H[c+24>>2]=H[d+28>>2];H[c+28>>2]=H[d+40>>2];H[c+32>>2]=H[d+32>>2];H[c+36>>2]=H[d+36>>2];H[c+40>>2]=H[d+52>>2];H[c+44>>2]=H[d+44>>2];H[c+48>>2]=H[d+48>>2];H[c+52>>2]=H[d+56>>2];H[c+56>>2]=H[d+60>>2];a=15;H[e+24>>2]=15;if(b){bo(H[e+28>>2]+20|0,258804,e+16|0);a=H[e+24>>2];c=H[e+16>>2]}H[c>>2]=a;a=H[e+28>>2];if(a){b=H[H[a>>2]>>2];c=H[H[a+4>>2]+12>>2];if(c){Ya[c|0](a)}if(a){Ya[H[b+8>>2]](b,a)}}a=H[e+16>>2]}Wa=e+32|0;return a|0}function uH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;h=md(d);nf(a+208|0,d,a+255|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=qe(d,h,c,a+188|0,a+8|0,F[a+255|0],a+208|0,a+16|0,a+12|0,248752);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=Rg(984,c,H[a+188>>2],e,h);d=Xa;h=H[65057];H[65057]=0;f:{if((h|0)==1){break f}H[f>>2]=c;H[f+4>>2]=d;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function oH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;h=md(d);nf(a+208|0,d,a+255|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=qe(d,h,c,a+188|0,a+8|0,F[a+255|0],a+208|0,a+16|0,a+12|0,248752);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=Rg(988,c,H[a+188>>2],e,h);d=Xa;h=H[65057];H[65057]=0;f:{if((h|0)==1){break f}H[f>>2]=c;H[f+4>>2]=d;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function Ih(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=H[a+24>>2];a:{b:{if(d){d=d-1|0;H[a+24>>2]=d;if(d>>>0>=K[a+32>>2]){break b}d=H[a+36>>2]+(d<<5)|0;break a}F[a+20|0]=1}d=H[40915];H[64766]=H[40914];H[64767]=d;d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040}e=H[b>>2];c:{i=M[d>>3];d:{if(P(i)<2147483648){d=~~i;break d}d=-2147483648}h=d+e|0;e:{if((h|0)<0){break e}d=H[b+4>>2];if(!d){break e}d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<=h>>>0){break e}e=H[a+92>>2];if(e>>>0<10){break c}}F[a+40|0]=1;return}d=H[a+4>>2];H[a+44>>2]=H[a>>2];H[a+48>>2]=d;F[a+60|0]=I[a+16|0];d=H[a+12>>2];H[a+52>>2]=H[a+8>>2];H[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){H[a+92>>2]=e+1;f=H[d+4>>2];e=H[a+104>>2]+N(e,28)|0;H[e>>2]=H[d>>2];H[e+4>>2]=f;H[e+24>>2]=H[d+24>>2];f=H[d+20>>2];H[e+16>>2]=H[d+16>>2];H[e+20>>2]=f;f=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=f;break f}F[a+88|0]=1}g:{h:{g=H[b+4>>2];if(g){b=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}l=H[40910];e=H[40908];b=H[40909];break g}f=I[g+4|0];m=(N(f,b+1|0)+g|0)+5|0;e=0;i:{if(!f){break i}j=f&3;b=(N(f,h)+g|0)+5|0;if(f-1>>>0<3){e=0}else{n=f&252;while(1){f=b;b=b+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!j){break i}while(1){e=I[b|0]|e<<8;b=b+1|0;k=k+1|0;if((k|0)!=(j|0)){continue}break}}e=(e+m|0)-1|0;b=pg(g,h)}H[a+44>>2]=e;H[a+68>>2]=h;H[a- -64>>2]=c;F[a+60|0]=0;H[a+56>>2]=0;H[a+52>>2]=l;H[a+48>>2]=b;b=H[d+4>>2];H[a>>2]=H[d>>2];H[a+4>>2]=b;b=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=b;F[a+16|0]=I[d+16|0]}function Vl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Wa+-64|0;Wa=k;m=6;i=H[a+532>>2];a:{if(!i){break a}d=H[i+4>>2];o=b>>>0>d>>>0?d:b;b:{if(!d){d=0;break b}while(1){b=N(h,12)+i|0;g=H[b+96>>2];l=H[b+92>>2];c:{if(h>>>0>>0){e=I[b+88|0];f=H[(h<<2)+c>>2];break c}e=I[b+88|0];f=(H[((e<<2)+l|0)-4>>2]-H[l>>2]|0)/2|0}d:{e:{if(!e){break e}b=0;j=-1;f:{g:{while(1){n=b<<2;p=n+l|0;q=H[p>>2];if((f|0)==(q|0)){break f}if((f|0)<(q|0)){break g}j=b;b=b+1|0;if((e|0)!=(b|0)){continue}break}if(!e){break e}b=H[(g+(e<<2)|0)-4>>2];break d}if((j|0)<0){break e}b=j<<2;e=H[b+l>>2];b=sb(f-e|0,H[g+n>>2]-H[b+g>>2]|0,H[p>>2]-e|0);d=H[i+4>>2];break d}b=H[g+n>>2];break d}b=H[g>>2]}H[(h<<2)+k>>2]=b;h=h+1|0;if(h>>>0>>0){continue}break}i=H[a+532>>2];if(!i){break a}}m=-1;b=H[i>>2];if(!b){break a}f=H[i+4>>2];h:{if(f){g=d>>>0>f>>>0?f:d;j=0;e=f;h=0;while(1){b=0;d=65536;c=0;i:{if(!e){break i}while(1){j:{if(b>>>0>=g>>>0){d=d>>1;break j}c=H[(b<<2)+k>>2];c=h>>>b&1?c:65536-c|0;if((c|0)<=0){d=0;c=e;break i}if(c>>>0>65535){break j}d=ib(d,c);f=H[i+4>>2]}e=f;c=f;b=b+1|0;if(f>>>0>b>>>0){continue}break}}b=H[i+136>>2]+(h<<2)|0;if(H[b>>2]!=(d|0)){H[b>>2]=d;j=1}e=c;h=h+1|0;if(h>>>0>2]){continue}break}break h}h=b&3;f=H[i+136>>2];c=0;k:{if(b-1>>>0<3){j=0;b=0;break k}i=b&-4;j=0;b=0;e=0;while(1){d=b<<2;g=d+f|0;if(H[g>>2]!=65536){H[g>>2]=65536;j=1}g=f+(d|4)|0;if(H[g>>2]!=65536){H[g>>2]=65536;j=1}g=f+(d|8)|0;if(H[g>>2]!=65536){H[g>>2]=65536;j=1}d=f+(d|12)|0;if(H[d>>2]!=65536){H[d>>2]=65536;j=1}b=b+4|0;e=e+4|0;if((i|0)!=(e|0)){continue}break}}if(!h){break h}while(1){e=f+(b<<2)|0;if(H[e>>2]!=65536){H[e>>2]=65536;j=1}b=b+1|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}if(!j){break a}m=0;H[a+8>>2]=H[a+8>>2]&-32769|((o|0)!=0)<<15}Wa=k- -64|0;return m|0}function wH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;h=md(d);nf(a+208|0,d,a+255|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=qe(d,h,c,a+188|0,a+8|0,F[a+255|0],a+208|0,a+16|0,a+12|0,248752);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(980,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[f>>2]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function sH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;h=md(d);nf(a+208|0,d,a+255|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=qe(d,h,c,a+188|0,a+8|0,F[a+255|0],a+208|0,a+16|0,a+12|0,248752);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(985,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}G[f>>1]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function qH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;h=md(d);nf(a+208|0,d,a+255|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=qe(d,h,c,a+188|0,a+8|0,F[a+255|0],a+208|0,a+16|0,a+12|0,248752);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(986,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[f>>2]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function pH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=Wa-272|0;Wa=a;H[a+256>>2]=c;H[a+264>>2]=b;h=md(d);nf(a+208|0,d,a+255|0);b=Ib(a+192|0);if(I[b+11|0]>>>7|0){c=(H[b+8>>2]&2147483647)-1|0}else{c=10}H[65057]=0;da(906,b|0,c|0);c=H[65057];H[65057]=0;a:{b:{c:{if((c|0)!=1){if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=c;H[a+12>>2]=a+16;H[a+8>>2]=0;while(1){d:{H[65057]=0;d=ca(973,a+264|0,a+256|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}if(!d){break c}g=H[a+188>>2];if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}if((g|0)==(d+c|0)){if(I[b+11|0]>>>7|0){c=H[b+4>>2]}else{c=I[b+11|0]}if(I[b+11|0]>>>7|0){d=H[b+4>>2]}else{d=I[b+11|0]}H[65057]=0;da(906,b|0,d<<1);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=I[b+11|0]>>>7|0?(H[b+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,b|0,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break b}d=c;if(I[b+11|0]>>>7|0){c=H[b>>2]}else{c=b}H[a+188>>2]=d+c}H[65057]=0;d=aa(975,a+264|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break d}H[65057]=0;d=qe(d,h,c,a+188|0,a+8|0,F[a+255|0],a+208|0,a+16|0,a+12|0,248752);g=H[65057];H[65057]=0;if((g|0)==1){break d}if(d){break c}H[65057]=0;aa(977,a+264|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){continue}}break}break b}break b}if(I[a+219|0]>>>7|0){d=H[a+212>>2]}else{d=I[a+219|0]}e:{if(!d){break e}d=H[a+12>>2];if((d-(a+16|0)|0)>159){break e}H[a+12>>2]=d+4;H[d>>2]=H[a+8>>2]}H[65057]=0;c=ga(987,c|0,H[a+188>>2],e|0,h|0)|0;d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[f>>2]=c;H[65057]=0;zc(a+208|0,a+16|0,H[a+12>>2],e);c=H[65057];H[65057]=0;if((c|0)==1){break f}H[65057]=0;c=ca(974,a+264|0,a+256|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if(c){H[e>>2]=H[e>>2]|2}c=H[a+264>>2];nb(b);nb(a+208|0);Wa=a+272|0;break a}}c=$()|0;_()|0;nb(b);nb(a+208|0);ba(c|0);X()}return c|0}function Hr(a,b,c){var d=0;d=163632;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 1:f:{g:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 2:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 4:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 5:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 6:h:{i:{j:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+6|0]|I[a+7|0]<<8;if(!b){break b}break a;case 7:k:{l:{m:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=I[b+2|0]|I[b+3|0]<<8?b+4|0:163632;b=I[b|0]|I[b+1|0]<<8;if(!b){break b}break a;case 8:break c;default:break b}}if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;d=Hr(c,b,(a<<8|a>>>8)&65535)}else{d=163632}}return d}return((b<<8|b>>>8)&65535)+a|0}function Jl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=O(0),j=0,k=O(0),l=0;d=I[a|0]|I[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;e=d>>>0>1?d:1;a:{while(1){g=((f<<3)+a|0)+8|0;d=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);if(O(O(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*O(152587890625e-16))==O(0)){break a}f=f+1|0;if((e|0)!=(f|0)){continue}break}return 0}d=0;b:{c:{d:{e=I[a+2|0]|I[a+3|0]<<8;h=(e<<8|e>>>8)&65535;switch(h|0){case 0:break b;case 1:break d;default:break c}}a=(f<<3)+a|0;a=I[a+14|0]|I[a+15|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=I[a|0]|I[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;e:{f:{f=h-1|0;if(!f){break f}d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);l=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+b|0;d=0;g:{while(1){e=d>>>0>>0?l+(d<<2)|0:163632;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);if(O(O(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))*O(152587890625e-16))>=c){break g}d=d+1|0;if((f|0)!=(d|0)){continue}break}d=f}if(!d){break f}d=d-1|0;break e}d=0}a=I[a+2|0]|I[a+3|0]<<8;a=(a<<8|a>>>8)&65535;f=d>>>0>>0;e=d+1|0;h=e>>>0>>0;a=f?(d<<2)+j|0:163632;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=O(O(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*O(152587890625e-16));a=h?(e<<2)+j|0:163632;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);k=O(O(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*O(152587890625e-16));if(i==k){c=O(0)}else{c=O(O(c-i)/O(k-i))}a=I[g+6|0]|I[g+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;b=h?a+(e<<1)|0:163632;b=I[b|0]|I[b+1|0]<<8;a=f?a+(d<<1)|0:163632;a=I[a|0]|I[a+1|0]<<8;c=O(T(O(O(O(c*O((b<<8|b>>>8)<<16>>16))+O(O(O(1)-c)*O((a<<8|a>>>8)<<16>>16)))+O(.5))));if(O(P(c))>>8)&65535;h=d>>>0>1?d:1;d=a;a=I[a+8|0]|I[a+9|0]<<8;a=(d+N((a<<8|a>>>8)&65535,12)|0)+12|0;while(1){d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);b:{if(!((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))&c)){break b}e=I[a+2|0]|I[a+3|0]<<8;d=e&255;if(!(e&32)&(d>>>7|0)==((H[H[b+16>>2]+40>>2]&-2)!=6|0)){break b}c:{if(d&16){e=H[b+16>>2];d=(d&64)>>>6|0;break c}e=H[b+16>>2];d=(d&64)>>>6^(H[e+40>>2]&-3)==5}i=H[b+8>>2];H[f+16>>2]=H[b+72>>2];if(!Fb(e,i,106086,f+16|0)){break b}d:{e:{f:{if(d){d=H[b+16>>2];Hf(d,583,H[d+20>>2]==1);e=H[b+52>>2];d=H[e+12>>2];H[b+24>>2]=d;e=d+H[e+16>>2]|0;H[b+28>>2]=e;g:{if(!(a>>>0>>0&a>>>0>=d>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break g}H[b+24>>2]=a;d=e-a|0;e=I[a|0]|I[a+1|0]<<8;e=(e<<8|e>>>8)&65535;H[b+28>>2]=(d>>>0>>0?d:e)+a}H[65057]=0;ca(585,a|0,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}d=H[b+52>>2];e=H[d+12>>2];H[b+24>>2]=e;H[b+28>>2]=e+H[d+16>>2];d=H[b+16>>2];Hf(d,583,H[d+20>>2]==1);break d}e=H[b+52>>2];d=H[e+12>>2];H[b+24>>2]=d;e=d+H[e+16>>2]|0;H[b+28>>2]=e;h:{if(!(a>>>0>>0&a>>>0>=d>>>0)){H[b+24>>2]=0;H[b+28>>2]=0;break h}H[b+24>>2]=a;d=e-a|0;e=I[a|0]|I[a+1|0]<<8;e=(e<<8|e>>>8)&65535;H[b+28>>2]=(d>>>0>>0?d:e)+a}H[65057]=0;ca(585,a|0,b|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){break e}}a=$()|0;_()|0;c=H[b+52>>2];f=H[c+12>>2];H[b+24>>2]=f;H[b+28>>2]=f+H[c+16>>2];ba(a|0);X()}d=H[b+52>>2];e=H[d+12>>2];H[b+24>>2]=e;H[b+28>>2]=e+H[d+16>>2]}d=H[b+8>>2];e=H[b+16>>2];H[f>>2]=H[b+72>>2];Fb(e,d,106120,f);if(!I[H[b+16>>2]+60|0]){break a}}d=I[a|0]|I[a+1|0]<<8;H[b+72>>2]=H[b+72>>2]+1;a=((d<<8|d>>>8)&65535)+a|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}Wa=f+32|0}function Bh(a,b,c,d,e){var f=0,g=0,h=O(0),i=0,j=0,k=0,l=0;H[e>>2]=0;H[d>>2]=0;a:{b:{c:{d:{f=I[a|0]|I[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=I[a+2|0]|I[a+3|0]<<8;g=c<<8|c>>>8;f=H[b+92>>2];j=H[f+20>>2];b=H[f+16>>2];c=H[b+28>>2];if(!c){c=vb(b);b=H[f+16>>2]}L[d>>2]=O(O(g<<16>>16)*O(j|0))/O(c>>>0);a=I[a+4|0]|I[a+5|0]<<8;h=O(O((a<<8|(a&65280)>>>8)<<16>>16)*O(H[f+24>>2]));a=H[b+28>>2];if(!a){a=vb(b)}L[e>>2]=h/O(a>>>0);return}f=Wa-16|0;Wa=f;g=H[b+92>>2];j=H[g+60>>2];i=H[g+56>>2];H[f+4>>2]=0;H[f>>2]=0;e:{f:{k=0;g:{if(!(j|i)){break g}b=I[a+6|0]|I[a+7|0]<<8;H[f+4>>2]=0;l=(b<<8|b>>>8)&65535;b=H[g+80>>2];k=0;if(!(Ya[H[b+212>>2]](g,H[g+84>>2],c,l,f+4|0,f,H[b+68>>2])|0)){break g}Ee(g,c,f+12|0,f+8|0);b=H[f+4>>2]-H[f+12>>2]|0;H[f+4>>2]=b;H[f>>2]=H[f>>2]-H[f+8>>2];if(i){break f}k=1}c=k;b=I[a+2|0]|I[a+3|0]<<8;h=O(O((b<<8|b>>>8)<<16>>16)*O(H[g+20>>2]));i=H[g+16>>2];b=H[i+28>>2];if(!b){b=vb(i)}h=O(h/O(b>>>0));break e}c=1;h=O(b|0)}L[d>>2]=h;if(!c|!j){a=I[a+4|0]|I[a+5|0]<<8;h=O(O((a<<8|a>>>8)<<16>>16)*O(H[g+24>>2]));b=H[g+16>>2];a=H[b+28>>2];if(!a){a=vb(b)}h=O(h/O(a>>>0))}else{h=O(H[f>>2])}L[e>>2]=h;Wa=f+16|0;return}c=I[a+2|0]|I[a+3|0]<<8;j=c<<8|c>>>8;f=H[b+92>>2];i=H[f+20>>2];g=H[f+16>>2];c=H[g+28>>2];if(!c){c=vb(g);g=H[f+16>>2]}L[d>>2]=O(O(j<<16>>16)*O(i|0))/O(c>>>0);c=I[a+4|0]|I[a+5|0]<<8;h=O(O((c<<8|c>>>8)<<16>>16)*O(H[f+24>>2]));c=H[g+28>>2];if(!c){c=vb(g)}L[e>>2]=h/O(c>>>0);if(H[f+68>>2]?1:H[f+56>>2]){c=I[a+6|0]|I[a+7|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=Xj(c,f,H[b+112>>2]);L[d>>2]=L[d>>2]+O(c|0)}if(H[f+68>>2]?1:H[f+60>>2]){c=I[a+8|0]|I[a+9|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}a=Yj(a,f,H[b+112>>2]);L[e>>2]=L[e>>2]+O(a|0)}}}function yG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Wa-384|0;Wa=f;H[f+376>>2]=37;H[f+380>>2]=0;g=bh(f+376|1,239535,H[c+4>>2]);H[f+332>>2]=f+336;a=lc();a:{if(g){j=H[c+8>>2];M[f+40>>3]=e;H[f+32>>2]=j;a=Lc(f+336|0,30,a,f+376|0,f+32|0);break a}M[f+48>>3]=e;a=Lc(f+336|0,30,a,f+376|0,f+48|0)}H[f+80>>2]=594;j=ic(f+320|0,0,f+80|0);i=f+336|0;h=i;b:{c:{d:{if((a|0)>=30){e:{if(g){H[65057]=0;a=la(995)|0;h=H[65057];H[65057]=0;if((h|0)==1){break c}H[f>>2]=H[c+8>>2];H[65057]=0;M[f+8>>3]=e;a=ga(1018,f+332|0,a|0,f+376|0,f|0)|0;h=H[65057];H[65057]=0;if((h|0)!=1){break e}break c}H[65057]=0;a=la(995)|0;h=H[65057];H[65057]=0;if((h|0)==1){break c}M[f+16>>3]=e;H[65057]=0;a=ga(1018,f+332|0,a|0,f+376|0,f+16|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break c}}if((a|0)==-1){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break c}break d}wc(j,H[f+332>>2]);h=H[f+332>>2]}k=a+h|0;l=cd(h,k,c);H[f+68>>2]=594;h=ic(f+72|0,0,f+68|0);f:{g:{if(H[f+332>>2]==(f+336|0)){a=f+80|0;break g}a=tb(a<<3);if(!a){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break d}c=$()|0;_()|0;break f}wc(h,a);i=H[f+332>>2]}H[65057]=0;g=H[c+28>>2];H[f+56>>2]=g;H[g+4>>2]=H[g+4>>2]+1;g=H[65057];H[65057]=0;h:{i:{if((g|0)!=1){H[65057]=0;na(1030,i|0,l|0,k|0,a|0,f+68|0,f- -64|0,f+56|0);g=H[65057];H[65057]=0;if((g|0)==1){break i}g=H[f+56>>2];i=H[g+4>>2]-1|0;H[g+4>>2]=i;if((i|0)==-1){Ya[H[H[g>>2]+8>>2]](g)}H[65057]=0;a=ma(1031,b|0,a|0,H[f+68>>2],H[f+64>>2],c|0,d|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break h}Hb(h);Hb(j);Wa=f+384|0;return a|0}c=$()|0;_()|0;break f}c=$()|0;_()|0;a=H[f+56>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break f}c=$()|0;_()|0}Hb(h);break b}X()}c=$()|0;_()|0}Hb(j);ba(c|0);X()}function KG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Wa-208|0;Wa=f;H[f+200>>2]=37;H[f+204>>2]=0;g=bh(f+200|1,239535,H[c+4>>2]);H[f+156>>2]=f+160;a=lc();a:{if(g){j=H[c+8>>2];M[f+40>>3]=e;H[f+32>>2]=j;a=Lc(f+160|0,30,a,f+200|0,f+32|0);break a}M[f+48>>3]=e;a=Lc(f+160|0,30,a,f+200|0,f+48|0)}H[f+80>>2]=594;j=ic(f+144|0,0,f+80|0);i=f+160|0;h=i;b:{c:{d:{if((a|0)>=30){e:{if(g){H[65057]=0;a=la(995)|0;h=H[65057];H[65057]=0;if((h|0)==1){break c}H[f>>2]=H[c+8>>2];H[65057]=0;M[f+8>>3]=e;a=ga(1018,f+156|0,a|0,f+200|0,f|0)|0;h=H[65057];H[65057]=0;if((h|0)!=1){break e}break c}H[65057]=0;a=la(995)|0;h=H[65057];H[65057]=0;if((h|0)==1){break c}M[f+16>>3]=e;H[65057]=0;a=ga(1018,f+156|0,a|0,f+200|0,f+16|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break c}}if((a|0)==-1){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)==1){break c}break d}wc(j,H[f+156>>2]);h=H[f+156>>2]}k=a+h|0;l=cd(h,k,c);H[f+68>>2]=594;h=ic(f+72|0,0,f+68|0);f:{g:{if(H[f+156>>2]==(f+160|0)){a=f+80|0;break g}a=tb(a<<1);if(!a){H[65057]=0;ia(972);a=H[65057];H[65057]=0;if((a|0)!=1){break d}c=$()|0;_()|0;break f}wc(h,a);i=H[f+156>>2]}H[65057]=0;g=H[c+28>>2];H[f+56>>2]=g;H[g+4>>2]=H[g+4>>2]+1;g=H[65057];H[65057]=0;h:{i:{if((g|0)!=1){H[65057]=0;na(1019,i|0,l|0,k|0,a|0,f+68|0,f- -64|0,f+56|0);g=H[65057];H[65057]=0;if((g|0)==1){break i}g=H[f+56>>2];i=H[g+4>>2]-1|0;H[g+4>>2]=i;if((i|0)==-1){Ya[H[H[g>>2]+8>>2]](g)}H[65057]=0;a=ma(1020,b|0,a|0,H[f+68>>2],H[f+64>>2],c|0,d|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break h}Hb(h);Hb(j);Wa=f+208|0;return a|0}c=$()|0;_()|0;break f}c=$()|0;_()|0;a=H[f+56>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break f}c=$()|0;_()|0}Hb(h);break b}X()}c=$()|0;_()|0}Hb(j);ba(c|0);X()}function ql(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=H[b+4>>2];b:{if(f>>>0>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}g=H[b+12>>2];e=g-2|0;H[b+12>>2]=e;if((e|0)<=0){break b}e=I[a|0]|I[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<2){break b}e=a+4|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break b}e=g-6|0;H[b+12>>2]=e;if((e|0)<=0){break b}c=1;e=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!g){break b}j=g-1|0;a=a+8|0;e=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<12){return 0}k=H[b+12>>2];c=k-12|0;H[b+12>>2]=c;if((c|0)<=0){return 0}c=H[b+32>>2];f=H[c+12>>2];H[b+4>>2]=f;i=H[c+16>>2];d=i+f|0;H[b+8>>2]=d;c:{d:{e:{f:{if(e>>>0>=j>>>0){c=f;break f}c=e>>>0>>0?a:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){H[b+4>>2]=0;H[b+8>>2]=0;d=0;break e}H[b+4>>2]=c;h=d-c|0;d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=(d>>>0>h>>>0?h:d)+c|0;H[b+8>>2]=d}if(a>>>0>>0){break d}}if(a>>>0>d>>>0){break d}h=d-a|0;if(h>>>0<12){break d}d=k-24|0;H[b+12>>2]=d;if((d|0)<=0){break d}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<13|c>>>0>h>>>0){break d}c=d-c|0;H[b+12>>2]=c;if((c|0)<=0){break d}H[65057]=0;c=pl(a,b);f=H[65057];H[65057]=0;if((f|0)==1){break a}if(c){break c}a=H[b+32>>2];i=H[a+16>>2];f=H[a+12>>2]}H[b+4>>2]=f;H[b+8>>2]=f+i;return 0}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);d=H[b+32>>2];f=H[d+12>>2];H[b+4>>2]=f;d=H[d+16>>2]+f|0;H[b+8>>2]=d;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;c=1;e=e+1|0;if((g|0)!=(e|0)){continue}break}}return c}a=$()|0;_()|0;c=H[b+32>>2];f=H[c+12>>2];H[b+4>>2]=f;H[b+8>>2]=f+H[c+16>>2];ba(a|0);X()}function Pf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=1;a:{b:{if(!H[b>>2]){b=c;break b}if(!H[c>>2]){break b}l=0;if(H[c+8>>2]>2]){break a}}d=H[a+20>>2];c:{if(!d){break c}g=H[b+8>>2];d:{while(1){h=H[(N(f,20)+a|0)+36>>2];if((h|0)>=(g|0)){break d}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d;break c}if(I[(N(f,20)+a|0)+28|0]&8|(!l&(h|0)<=H[c+8>>2]|(g|0)==(h|0))){break a}}d=H[a+4>>2];if(!(!I[d+12|0]|I[b|0]&16)){e:{if(!l){d=vd(d,(H[b+8>>2]+H[c+8>>2]|0)/2|0);g=ib((H[c+8>>2]-H[b+8>>2]|0)/2|0,H[a+16>>2]);H[b+12>>2]=d-g;g=d+g|0;d=c;break e}g=vd(d,H[b+8>>2]);d=b}H[d+12>>2]=g}if(H[b+12>>2]>2]?f:0){break a}d=H[a+20>>2];f:{if(d>>>0<=f>>>0){break f}if(!l){if(H[c+12>>2]<=H[(N(f,20)+a|0)+40>>2]){break f}break a}if(H[b+12>>2]>H[(N(f,20)+a|0)+40>>2]){break a}}h=d+!l|0;if(h>>>0>191){break a}g:{if((d|0)==(f|0)){break g}i=f+1|0;m=d-f|0;h:{if(!(m&1)){g=d;break h}e=a+28|0;j=e+N(h,20)|0;g=d-1|0;e=e+N(g,20)|0;k=H[e+4>>2];H[j>>2]=H[e>>2];H[j+4>>2]=k;H[j+16>>2]=H[e+16>>2];k=H[e+12>>2];H[j+8>>2]=H[e+8>>2];H[j+12>>2]=k;h=h-1|0;m=m-1|0}if((d|0)==(i|0)){break g}j=a+28|0;while(1){i=j+N(g,20)|0;e=i-20|0;k=H[e+4>>2];d=j+N(h,20)|0;H[d>>2]=H[e>>2];H[d+4>>2]=k;H[d+16>>2]=H[e+16>>2];k=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=k;e=i-40|0;i=H[e+4>>2];d=d-20|0;H[d>>2]=H[e>>2];H[d+4>>2]=i;i=H[e+12>>2];H[d+8>>2]=H[e+8>>2];H[d+12>>2]=i;H[d+16>>2]=H[e+16>>2];h=h-2|0;g=g-2|0;m=m-2|0;if(m){continue}break}}d=N(f,20)+a|0;H[d+44>>2]=H[b+16>>2];f=H[b+12>>2];H[d+36>>2]=H[b+8>>2];H[d+40>>2]=f;f=H[b+4>>2];H[d+28>>2]=H[b>>2];H[d+32>>2]=f;H[a+20>>2]=H[a+20>>2]+1;if(l){break a}H[d- -64>>2]=H[c+16>>2];b=H[c+12>>2];H[d+56>>2]=H[c+8>>2];H[d+60>>2]=b;b=H[c+4>>2];H[d+48>>2]=H[c>>2];H[d+52>>2]=b;H[a+20>>2]=H[a+20>>2]+1}}function Or(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=I[a|0]|I[a+1|0]<<8;a:{if(!c){break a}m=(c<<8|c>>>8)&65535;c=H[b+120>>2];g=H[b+100>>2];h=H[g+80>>2];n=H[g+64>>2];c=(c&H[(h+N(n,20)|0)+4>>2])>>>GM(c)|0;b:{if((c|0)!=255){break b}c=255;if(!I[b+143|0]){break b}e=H[g+68>>2];c:{if(e>>>0<2){break c}i=H[g+144>>2]|32;H[g+144>>2]=i;d=-1;c=0;l=e-1|0;if(l>>>0>=3){j=e&-4;while(1){f=H[(N(c,20)+h|0)+8>>2];d=d>>>0>>0?d:f;f=H[(N(c|1,20)+h|0)+8>>2];d=d>>>0>>0?d:f;f=H[(N(c|2,20)+h|0)+8>>2];d=d>>>0>>0?d:f;f=H[(N(c|3,20)+h|0)+8>>2];d=d>>>0>>0?d:f;c=c+4|0;o=o+4|0;if((j|0)!=(o|0)){continue}break}}j=e&3;if(j){while(1){f=H[(N(c,20)+h|0)+8>>2];d=d>>>0>>0?d:f;c=c+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}j=e&1;d:{if(!l){c=0;break d}l=e&-2;c=0;k=0;while(1){e=N(c,20)+h|0;if(H[e+8>>2]!=(d|0)){i=i|32;H[g+144>>2]=i;H[e+4>>2]=H[e+4>>2]|3}e=N(c|1,20)+h|0;if(H[e+8>>2]!=(d|0)){i=i|32;H[g+144>>2]=i;H[e+4>>2]=H[e+4>>2]|3}c=c+2|0;k=k+2|0;if((l|0)!=(k|0)){continue}break}}if(!j){break c}c=N(c,20)+h|0;if(H[c+8>>2]==(d|0)){break c}H[g+144>>2]=i|32;H[c+4>>2]=H[c+4>>2]|3}c=(N(H[b+144>>2],48271)>>>0)%2147483647|0;H[b+144>>2]=c;c=((c>>>0)%(m>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=m>>>0){break a}p=1;a=(c<<1)+a|0;a=I[a+2|0]|I[a+3|0]<<8;g=(a<<8|a>>>8)&65535;c=N(n,20)+h|0;a=J[c+12>>1]|16;if(I[b+140|0]){a=Xc(H[b+108>>2],g)|a&112}G[c+12>>1]=a;a=H[b+100>>2];if(!qb(a,1,1)){break a}b=H[a+64>>2];e:{if(b>>>0>2]){d=H[a+80>>2]+N(b,20)|0;c=H[a+72>>2];b=H[a+84>>2];break e}b=H[a+84>>2];c=H[a+72>>2];d=b+N(c?c-1|0:0,20)|0}b=N(c,20)+b|0;c=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=c;H[b+16>>2]=H[d+16>>2];c=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=c;H[b>>2]=g;H[a+64>>2]=H[a+64>>2]+1;H[a+72>>2]=H[a+72>>2]+1}return p}function yM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Wa-208|0;Wa=e;if(!(!H[a>>2]|K[a+128>>2]<=c>>>0)){k=ot(H[a+96>>2],c);F[e+40|0]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+60>>2]=0;H[e+52>>2]=0;H[e+56>>2]=0;H[e+76>>2]=0;H[e+80>>2]=0;F[e+84|0]=0;H[e+128>>2]=0;H[e+120>>2]=0;H[e+124>>2]=0;H[e+160>>2]=0;H[e+164>>2]=0;H[e+196>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+68>>2]=0;H[e+72>>2]=0;H[e+152>>2]=0;H[e+156>>2]=0;H[e+188>>2]=0;H[e+192>>2]=0;a:{h=H[a+88>>2];g=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);m=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);b:{c:{if(m>>>0<=c>>>0){H[e+16>>2]=H[40910];c=H[40909];H[e+8>>2]=H[40908];H[e+12>>2]=c;break c}i=I[h+4|0];d:{if(!i){break d}n=i&3;g=(N(c,i)+h|0)+5|0;if(i-1>>>0<3){f=0}else{o=i&252;while(1){j=g;g=g+4|0;f=f+4|0;if((o|0)!=(f|0)){continue}break}f=I[j|0]|I[j+1|0]<<8|(I[j+2|0]<<16|I[j+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(!n){break d}while(1){f=I[g|0]|f<<8;g=g+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}H[65057]=0;c=pg(h,c);g=H[65057];H[65057]=0;if((g|0)==1){break b}H[e+16>>2]=0;H[e+12>>2]=c;H[e+8>>2]=((N(m+1|0,i)+h|0)+f|0)+4}f=H[(K[a+120>>2]>k>>>0?H[a+124>>2]+N(k,28)|0:163632)+20>>2];c=H[b+68>>2];g=H[b+72>>2];j=H[a+80>>2];l=0;H[65057]=0;ha(652,e+24|0,e+8|0,j|0,f|0);f=H[65057];H[65057]=0;if((f|0)==1){break b}H[e+172>>2]=c;H[e+168>>2]=g;f=H[a+84>>2];H[e+176>>2]=f;F[e+201|0]=0;F[e+202|0]=0;H[e+196>>2]=0;H[e+188>>2]=0;H[e+192>>2]=0;F[e+200|0]=!g|!c?l:(I[f|0]|I[f+1|0]<<8)!=0;H[e+184>>2]=H[(K[a+120>>2]>k>>>0?H[a+124>>2]+N(k,28)|0:163632)+24>>2];H[65057]=0;H[e+4>>2]=b;H[e>>2]=d;g=ca(656,e+24|0,e|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){break a}}a=$()|0;_()|0;Jh(e+24|0);ba(a|0);X()}Jh(e+24|0)}Wa=e+208|0;return g|0} +function yh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){H[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;i=I[b|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=N(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=K[a+8>>2]){e=0;break a}i=I[b|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=N(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(b>>>0>=K[a+8>>2]){e=0;break a}i=I[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+N(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=pb(f,10);H[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=N(H[(e<<2)+27536>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}H[d>>2]=a;e=f<<16;break a}b=b<<2;c=H[b+27516>>2];if(((f|0)/(c|0)|0)>=32768){e=pb(f,H[b+27520>>2]);H[d>>2]=a-4;break a}e=pb(f,c);H[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=m-a|0}else{f=(f|0)/H[27536-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=H[(a<<2)+27536>>2];if(((b|0)/(a|0)|0)>32767){break a}e=pb(b,a);break a}a=N(b,H[27536-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function Gq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Wa+-64|0;Wa=i;H[i+12>>2]=0;m=H[h+556>>2];k=H[g>>2];j=H[k>>2];H[i+28>>2]=0;H[i+32>>2]=0;H[i+36>>2]=0;H[i+40>>2]=0;H[i+20>>2]=0;H[i+24>>2]=0;H[i+48>>2]=a;H[i+44>>2]=f;H[i+52>>2]=0;H[i+16>>2]=k;l=(f|0)==12288|(f|0)==16384;n=l?513:96;k=jb(j,4,0,n,0,i+60|0);H[i+32>>2]=k;a:{b:{if(!H[i+60>>2]){H[i+36>>2]=k;H[i+40>>2]=n;break b}if(k){Ya[H[j+8>>2]](j,k)}H[i+32>>2]=0;j=H[i+60>>2];if(j){break a}}kb(a+24|0,0,160);H[a+156>>2]=8720;H[a+60>>2]=65536;H[a+44>>2]=2;H[a+48>>2]=65536;H[a+32>>2]=-6553600;H[a+36>>2]=3276800;H[a+184>>2]=l?513:48;H[a+172>>2]=65535;H[a+136>>2]=65535;H[a+128>>2]=65535;H[a+132>>2]=65535;H[a+16>>2]=65535;H[a+20>>2]=65535;H[a+8>>2]=65535;H[a+12>>2]=65535;H[a>>2]=65535;H[a+4>>2]=65535;c:{d:{if(!H[b+12>>2]){j=ob(d,H[b+20>>2]);if(j){break a}j=Jc(d,H[b+24>>2],i+12|0);if(j){break a}c=H[b+24>>2];H[i+60>>2]=c;break d}j=sh(b,c,i+12|0,i+60|0);if(j){break c}c=H[i+60>>2]}j=H[i+12>>2];j=or(i+16|0,j,j?c+j|0:0)}e:{if(H[b+12>>2]){if(H[b+32>>2]){break e}b=H[b>>2]}else{b=d}bc(b,i+12|0)}if(j){break a}j=0;if(H[a+132>>2]!=65535){break a}j=vr(g,a,0,0);if(j){break a}f:{if((f|0)==12288|(f|0)==16384){break f}f=H[H[h+128>>2]+60>>2];g:{if((f|0)==-1){b=H[h+96>>2];f=H[b+68>>2];H[a+648>>2]=f;if(!f){break g}while(1){f=Ya[H[m+20>>2]](f)|0;H[b+68>>2]=f;if((f|0)<0){continue}break}break g}H[a+648>>2]=f;if(!f){break g}while(1){f=Ya[H[m+20>>2]](f)|0;H[H[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(H[a+648>>2]){break f}H[a+648>>2]=H[a+532>>2]}b=H[a+536>>2];if(!b){j=0;break a}j=ob(d,H[a+116>>2]+(b+e|0)|0);if(j){break a}b=a+608|0;j=ve(b,d,1,l);if(j){break a}j=Ej(b,a+644|0,0,0)}a=H[H[i+16>>2]>>2];b=H[i+32>>2];if(b){Ya[H[a+8>>2]](a,b)}Wa=i- -64|0;return j}function ye(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Wa-48|0;Wa=c;H[a>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;b=_b(b,1196643650);if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=b;H[c+32>>2]=b;a:{b:{c:{d:{e:{while(1){F[c+24|0]=e;e=H[d+12>>2];H[c+4>>2]=e;f=H[d+16>>2];H[c+8>>2]=f+e;H[c+28>>2]=0;if(f>>>0<=67108862){f=f<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}else{f=1073741823}H[c+12>>2]=f;H[c+20>>2]=0;H[c>>2]=0;if(!e){lb(d);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;break a}f=js(e,c);d=H[c+28>>2];f:{if(f){if(!d){break f}H[c+28>>2]=0;d=js(e,c);e=H[c+28>>2];lb(H[c+32>>2]);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;if(!d){break b}if(!e){break e}break b}if(I[c+24|0]|!d){break d}f=Ec(b);H[c+4>>2]=f;H[c+8>>2]=f+H[b+16>>2];d=H[c+32>>2];e=1;if(f){continue}break c}break}lb(H[c+32>>2]);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}break a}d=H[c+32>>2]}lb(d);H[c+32>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0}lb(b);b=163632}d=b;H[a>>2]=b;b=b?b:163632;b=K[b+16>>2]<10?163632:H[b+12>>2];e=I[b+8|0]|I[b+9|0]<<8;if(e){b=b+((e<<8|e>>>8)&65535)|0}else{b=163632}b=I[b|0]|I[b+1|0]<<8;b=(b<<8|b>>>8)&65535;H[a+4>>2]=b;e=Ab(b,24);H[a+8>>2]=e;if(!e){H[a+4>>2]=0;lb(d);H[a>>2]=0;d=163632;H[a>>2]=163632;b=H[a+4>>2]}g:{if(!b){break g}b=0;while(1){f=163632;e=163632;h=H[a+8>>2]+N(b,24)|0;d=d?d:163632;d=K[d+16>>2]<10?163632:H[d+12>>2];g=I[d+8|0]|I[d+9|0]<<8;if(g){e=((g<<8|g>>>8)&65535)+d|0}d=I[e|0]|I[e+1|0]<<8;h:{if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break h}d=(b<<1)+e|0;d=I[d+2|0]|I[d+3|0]<<8;if(!d){break h}f=((d<<8|d>>>8)&65535)+e|0}ms(h,f);b=b+1|0;if(b>>>0>=K[a+4>>2]){break g}d=H[a>>2];continue}}Wa=c+48|0}function Hs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=H[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=H[b+8>>2];if(f>>>0>>0|f-a>>>0<20){break b}e=H[b+12>>2];c=e-20|0;H[b+12>>2]=c;if((I[a|0]|I[a+1|0]<<8)!=256|(c|0)<=0){break b}c=I[a+12|0]|I[a+13|0]<<8;h=(c<<8|c>>>8)&65535;if((h|0)!=H[b+36>>2]){break b}c=a+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break b}g=I[a+4|0]|I[a+5|0]<<8;j=I[a+6|0]|I[a+7|0]<<8;e=e-24|0;H[b+12>>2]=e;if((e|0)<=0){break b}k=F[c|0];if((k|0)<0){break b}c=N((j<<8|j>>>8)&65535,(g<<8|g>>>8)&65535);if(c>>>0>2147483646){break a}c:{if(!c){break c}d=(I[a+11|0]|(I[a+9|0]<<16|(k&255)<<24|I[a+10|0]<<8))+a|0;if(d>>>0>>0|d>>>0>f>>>0){break a}c=c<<1;if(c>>>0>f-d>>>0){break a}e=e-c|0;H[b+12>>2]=e;if((e|0)>0){break c}break a}c=a+20|0;d:{e:{g=(I[a+14|0]|I[a+15|0]<<8)&256;if(g){if(c>>>0>>0|c>>>0>f>>>0){break a}d=f-c|0;c=(h<<2)+4|0;if(d>>>0>=c>>>0){break e}break a}if(c>>>0>>0|c>>>0>f>>>0){break a}d=f-c|0;c=(h<<1)+2|0;if(d>>>0>>0){break a}e=e-c|0;H[b+12>>2]=e;if((e|0)>0){break d}break a}e=e-c|0;H[b+12>>2]=e;d=0;if((e|0)<=0){break b}}c=a+20|0;f:{if(g){d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+(h<<2)|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break f}d=I[c|0]|I[c+1|0]<<8;g=((d<<8|d>>>8)&65535)<<1;c=c+(h<<1)|0;c=I[c|0]|I[c+1|0]<<8;c=((c<<8|c>>>8)&65535)<<1}h=c-g|0;if((h|0)==-1){break a}d=1;if((c|0)==(g|0)){break b}c=a;a=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=(a?c+a|0:163632)+g|0;if(a>>>0>>0|a>>>0>f>>>0){break a}d=0;if(h>>>0>f-a>>>0){break b}a=e-h|0;H[b+12>>2]=a;d=(a|0)>0}return d}return 0}function DC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Wa-48|0;Wa=e;a:{if(!rb(b,10266)){b:{if(d){b=mc(c,e+12|0);c:{d=H[e+12>>2];d:{if(I[d|0]!=44|(c|0)==(d|0)){break d}d=d+1|0;l=e,m=mc(d,e+12|0),H[l+20>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+24>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+28>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+32>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+36>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+40>>2]=m;c=H[e+12>>2];if(I[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=mc(d,e+12|0),H[l+44>>2]=m;f=H[e+12>>2];if((I[f|0]|32)==32){break c}}f=6;break a}c=e+16|0;if((d|0)!=(f|0)){break b}f=6;break a}b=H[c>>2]}f=6;if((b|0)<0){break a}d=H[c+8>>2];if((d|0)<0){break a}g=H[c+16>>2];if((g|0)<0){break a}h=H[c+24>>2];if((h|0)<0){break a}i=H[c+4>>2];if((i|0)<0){break a}j=H[c+12>>2];if((j|0)<0){break a}k=H[c+20>>2];if((k|0)<0){break a}c=H[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}H[a+60>>2]=h;H[a+48>>2]=j;H[a+36>>2]=b;H[a- -64>>2]=c;H[a+56>>2]=k;H[a+52>>2]=g;H[a+44>>2]=d;H[a+40>>2]=i;f=0;break a}if(!rb(b,10438)){if(d){f=6;if(rb(c,10589)){break a}H[a+28>>2]=1;f=0;break a}f=7;if(H[c>>2]!=1){break a}H[a+28>>2]=1;f=0;break a}if(!rb(b,10703)){if(d){if(!mc(c,0)){F[a+32|0]=0;break a}F[a+32|0]=1;break a}F[a+32|0]=I[c|0];break a}f=12;if(rb(b,10830)){break a}f=0;e:{if(d){b=mc(c,0);break e}b=H[c>>2]}H[a+68>>2]=(b|0)>0?b:0}Wa=e+48|0;return f|0}function Ox(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Wa-16|0;Wa=d;H[a+788>>2]=0;H[a+792>>2]=0;g=a+796|0;H[g>>2]=0;H[g+4>>2]=0;h=a+788|0;a:{b:{c:{d:{if(!(Ya[H[a+516>>2]](a,1128418371,b,d+12|0)|0)){c=2;break d}c=1;if(!(Ya[H[a+516>>2]](a,1161972803,b,d+12|0)|0)){break d}if(!(Ya[H[a+516>>2]](a,1651273571,b,d+12|0)|0)){break d}c=Ya[H[a+516>>2]](a,1935829368,b,d+12|0)|0;if(c){break c}c=3}H[g>>2]=c;if(K[d+12>>2]<8){c=3;break c}i=a+800|0;k=H[b+8>>2];e:{f:{g:{h:{i:{c=H[g>>2];switch(c-1|0){case 2:break h;case 0:case 1:break i;default:break f}}c=Jc(b,H[d+12>>2],h);if(c){break c}f=H[d+12>>2];H[a+792>>2]=f;c=H[a+788>>2];e=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);j=I[c+1|0]<<16|I[c|0]<<24;if(!((j|0)==131072|(j|0)==196608)){c=I[c+2|0]|I[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)!=768){break e}}c=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(e>>>0>65535){break c}if(f>>>0>=(N(e,48)|8)>>>0){break g}e=(f-8>>>0)/48|0;break g}c=Nb(b,8);if(c){break c}c=Rb(b);f=Rb(b);e=uc(b);Db(b);if(!c){break e}if((f&65533)!=1){c=3;break c}c=3;if(e>>>0>65535){break c}f=H[d+12>>2];c=ob(b,H[b+8>>2]-8|0);if(c){break c}e=f>>>0<(e<<2)+8>>>0?f-8>>>2|0:e;c=(e<<2)+8|0;H[a+792>>2]=c;c=Jc(b,c,h);if(c){break c}}H[a+800>>2]=e;c=H[g>>2]}H[a+860>>2]=0;H[a+864>>2]=0;j:{k:{l:{switch(c|0){case 3:H[a+860>>2]=k;b=H[d+12>>2];break k;case 0:break b;default:break l}}m:{if(!(Ya[H[a+516>>2]](a,1128416340,b,d+8|0)|0)){break m}if(!(Ya[H[a+516>>2]](a,1161970772,b,d+8|0)|0)){break m}if(!(Ya[H[a+516>>2]](a,1650745716,b,d+8|0)|0)){break m}b=H[a+864>>2];break j}H[a+860>>2]=H[b+8>>2];b=H[d+8>>2]}H[a+864>>2]=b}c=0;if(b){break a}break b}c=2}if(H[h>>2]){bc(b,h)}H[a+792>>2]=0;i=g}H[i>>2]=0}Wa=d+16|0;return c|0}function ps(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{f=H[b+4>>2];b:{if(f>>>0>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break b}g=H[b+12>>2];c=g-4|0;H[b+12>>2]=c;if(!(I[a+1|0]<<16|I[a|0]<<24)|(c|0)<=0){break b}c=a+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break b}c=g-8|0;H[b+12>>2]=c;if((c|0)<=0){break b}e=1;c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!i){break b}k=i-1|0;a=a+8|0;while(1){if(a>>>0>>0){return 0}if(a>>>0>d>>>0){return 0}if(d-a>>>0<8){return 0}l=H[b+12>>2];e=l-8|0;H[b+12>>2]=e;if((e|0)<=0){return 0}d=H[b+32>>2];e=H[d+12>>2];H[b+4>>2]=e;j=H[d+16>>2];f=j+e|0;H[b+8>>2]=f;c:{d:{e:{f:{if(h>>>0>=k>>>0){d=e;break f}d=h>>>0>>0?a:0;if(!(e>>>0<=d>>>0&d>>>0>>0)){H[b+4>>2]=0;H[b+8>>2]=0;f=0;break e}H[b+4>>2]=d;g=f-d|0;c=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);f=(c>>>0>g>>>0?g:c)+d|0;H[b+8>>2]=f}if(a>>>0>>0){break d}}if(a>>>0>f>>>0){break d}d=f-a|0;if(d>>>0<8){break d}g=l-16|0;H[b+12>>2]=g;if((g|0)<=0){break d}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<8|c>>>0>d>>>0){break d}d=g-c|0;H[b+12>>2]=d;if((d|0)<=0){break d}H[65057]=0;d=ns(a,b);e=H[65057];H[65057]=0;if((e|0)==1){break a}if(d){break c}a=H[b+32>>2];j=H[a+16>>2];e=H[a+12>>2]}H[b+4>>2]=e;H[b+8>>2]=e+j;return 0}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);e=H[b+32>>2];f=H[e+12>>2];H[b+4>>2]=f;d=H[e+16>>2]+f|0;H[b+8>>2]=d;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;e=1;h=h+1|0;if((i|0)!=(h|0)){continue}break}}return e}d=$()|0;_()|0;e=H[b+32>>2];a=H[e+12>>2];H[b+4>>2]=a;H[b+8>>2]=a+H[e+16>>2];ba(d|0);X()}function kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Wa-16|0;Wa=k;H[k+12>>2]=c;g=H[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}d=H[b+12>>2];e=d-8|0;H[b+12>>2]=e;if((e|0)<=0){break a}e=a+4|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<4){break a}d=d-12|0;H[b+12>>2]=d;if((d|0)<=0){break a}i=F[e|0];if((i|0)<0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(e){c=(I[a+7|0]|(I[a+5|0]<<16|(i&255)<<24|I[a+6|0]<<8))+c|0;if(c>>>0>>0|c>>>0>f>>>0){break a}f=f-c|0;c=((e<<8|e>>>8)&65535)<<2;if(f>>>0>>0){break a}c=d-c|0;H[b+12>>2]=c;if((c|0)<=0){break a}}f=a+8|0;c=I[a|0]|I[a+1|0]<<8;g=(c<<8|c>>>8)&65535;b:{c:{if(g>>>0>536870910){break c}c=1;if(!g){break b}if(f>>>0>2]){break c}c=H[b+8>>2];if(c>>>0>>0){break c}d=c-f|0;c=g<<3;if(d>>>0>>0){break c}c=H[b+12>>2]-c|0;H[b+12>>2]=c;if((c|0)<=0){break c}e=H[b+4>>2];c=0;a=I[a+2|0]|I[a+3|0]<<8;if(!a){while(1){j=0;a=f+(c<<3)|0;if(a>>>0>>0){break c}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break c}i=H[b+12>>2];h=i-8|0;H[b+12>>2]=h;if((h|0)<=0){break c}a=a+6|0;if(a>>>0>>0|a>>>0>d>>>0|d-a>>>0<2){break c}a=i-10|0;H[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((g|0)!=(c|0)){continue}break c}}i=((a<<8|a>>>8)&65535)<<1;m=H[k+12>>2];while(1){j=0;d=f+(c<<3)|0;if(d>>>0>>0){break c}a=H[b+8>>2];if(a>>>0>>0|a-d>>>0<8){break c}h=H[b+12>>2];l=h-8|0;H[b+12>>2]=l;if((l|0)<=0){break c}d=d+6|0;if(d>>>0>>0|a>>>0>>0|a-d>>>0<2){break c}h=h-10|0;H[b+12>>2]=h;if((h|0)<=0){break c}d=I[d|0]|I[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+m|0;if(d>>>0>>0|a>>>0>>0|i>>>0>a-d>>>0){break c}a=h-i|0;H[b+12>>2]=a;if((a|0)<=0){break c}j=1;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=j}j=c}Wa=k+16|0;return j}function jz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(K[b+160>>2]>>0){Cb(b,8)}d=I[a+3|0]|I[a+2|0]<<8;if(K[b+160>>2]>>0){if(H[b+164>>2]>0){Cb(b,8)}d=H[b+160>>2]-a|0}if(d>>>0<=15){Cb(b,8)}c=I[a+7|0];k=c|I[a+6|0]<<8;if(!(!(c&1)|H[b+164>>2]<2)){Cb(b,8)}h=k&65534;if((h<<2)+16>>>0>d>>>0){Cb(b,8)}g=k>>>1|0;a:{if(H[b+164>>2]<2){break a}l=I[a+12|0];i=I[a+10|0];e=I[a+11|0];c=I[a+9|0];q=c|I[a+8|0]<<8;f=c;c=I[a+13|0];if((f|c)&1){Cb(b,8)}f=q>>>1|0;if(!(f>>>0>g>>>0|g>>>0>(q&65534)>>>0|(g|0)!=(f+((c|l<<8)>>>1|0)|0))){if((f|0)==1<<(e|i<<8)){break a}}Cb(b,8)}m=a+14|0;b:{if(H[b+164>>2]<2){break b}c=(h+m|0)-2|0;if((I[c|0]<<8|I[c+1|0])==65535){break b}Cb(b,8)}if(k>>>0>=2){n=(a+h|0)+16|0;o=h+n|0;j=h+o|0;s=h+j|0;h=g>>>0>1?g:1;k=a+d|0;g=g-1|0;e=0;c=0;while(1){a=c;d=e;q=I[j|0]<<8;f=I[j+1|0];l=I[o|0];i=I[o+1|0];c=I[n+1|0]|I[n|0]<<8;e=I[m+1|0]|I[m|0]<<8;if(c>>>0>e>>>0){Cb(b,8)}f=f|q;c:{if(!p|c>>>0>d>>>0){break c}if(H[b+164>>2]>0){Cb(b,8);break c}if(!(a>>>0<=c>>>0&e>>>0>=d>>>0)){r=r|1;break c}r=r|2}d:{if(!f){break d}if((f|0)!=65535){a=f+j|0;e:{f:{if(H[b+164>>2]>0){if(a>>>0>>0|k>>>0<((e-c<<1)+a|0)+2>>>0){break f}break e}if(!((g|0)!=(p|0)|(c|0)!=65535)&(e|0)==65535){break e}if(a>>>0>>0){break f}if(K[b+160>>2]>=((e-c<<1)+a|0)+2>>>0){break e}}Cb(b,8)}if(H[b+164>>2]<=0|c>>>0>=e>>>0){break d}l=i|l<<8;d=c;while(1){i=I[a+1|0]|I[a|0]<<8;if(!(!i|K[b+172>>2]>(l+i&65535)>>>0)){Cb(b,16)}a=a+2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break d}if(!((g|0)!=(p|0)|H[b+164>>2]>1|(c|0)!=65535)){if((e|0)==65535){break d}}Cb(b,8)}j=j+2|0;o=o+2|0;m=m+2|0;n=n+2|0;p=p+1|0;if((h|0)!=(p|0)){continue}break}}return r|0}function xg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}i=a-132|0;while(1){d=H[i>>2];if(!d){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=ac(d);F[b+40|0]=1;H[b+36>>2]=c;d=_b(d,1717920116);c=0;h=Wa-16|0;Wa=h;if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}e=d;H[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){F[b+24|0]=c;c=H[e+12>>2];H[b+4>>2]=c;f=H[e+16>>2];H[b+8>>2]=f+c;g=1073741823;H[b+28>>2]=0;if(f>>>0<=67108862){g=f<<6;g=g>>>0>16384?g:16384;g=g>>>0<1073741823?g:1073741823}H[b+12>>2]=g;H[b+20>>2]=0;H[b>>2]=0;if(!c){lb(e);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}if((f|0)<=11){break e}H[b+12>>2]=g-12;if((I[c|0]|I[c+1|0]<<8)!=256){break e}e=I[c+4|0]|I[c+5|0]<<8;H[h+8>>2]=c;g:{f=c+12|0;if(jl(f,b,(e<<8|e>>>8)&65535,h+8|0)){if(!H[b+28>>2]){break g}H[b+28>>2]=0;if(c>>>0>2]){break e}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<=11){break e}e=H[b+12>>2]-12|0;H[b+12>>2]=e;if((I[c|0]|I[c+1|0]<<8)!=256|(e|0)<=0){break e}e=I[c+4|0]|I[c+5|0]<<8;H[h+12>>2]=c;c=jl(f,b,(e<<8|e>>>8)&65535,h+12|0);e=H[b+32>>2];if(H[b+28>>2]){break d}lb(e);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(c){break f}break c}if(I[b+24|0]|!H[b+28>>2]){break e}f=Ec(d);H[b+4>>2]=f;H[b+8>>2]=f+H[d+16>>2];e=H[b+32>>2];c=1;if(f){continue}break d}break}lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}if(H[d+4>>2]){H[d+4>>2]=0}break b}e=H[b+32>>2]}lb(e);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(d);d=163632}Wa=h+16|0;c=d;if(!c){c=163632}d=H[a>>2];H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<12?163632:H[c+12>>2]}function we(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=I[a|0]|I[a+1|0]<<8;if(!h){return 0}j=H[b+116>>2];i=H[b+92>>2];a=0;l=(h<<8|h>>>8)&65535;if(l&1){k=H[e+8>>2];a=I[d|0]|I[d+1|0]<<8;f=(a<<8|a>>>8)<<16;g=f>>31;f=HM(H[i+40>>2],H[i+44>>2],f>>16,g)+32768|0;g=Xa;g=f>>>0<32768?g+1|0:g;H[e+8>>2]=k+((g&65535)<<16|f>>>16);d=d+2|0;a=(a|0)!=0}if(l&2){m=H[e+12>>2];k=I[d|0]|I[d+1|0]<<8;f=(k<<8|k>>>8)<<16;g=f>>31;f=HM(H[i+48>>2],H[i+52>>2],f>>16,g)+32768|0;g=Xa;g=f>>>0<32768?g+1|0:g;H[e+12>>2]=m+((g&65535)<<16|f>>>16);d=d+2|0;a=(k|0)!=0|a}k=j&-2;if(l&4){if((k|0)==4){m=H[e>>2];j=I[d|0]|I[d+1|0]<<8;f=(j<<8|j>>>8)<<16;g=f>>31;f=HM(H[i+40>>2],H[i+44>>2],f>>16,g)+32768|0;g=Xa;g=f>>>0<32768?g+1|0:g;H[e>>2]=m+((g&65535)<<16|f>>>16);a=(j|0)!=0|a}d=d+2|0}if(l&8){if((k|0)!=4){m=H[e+4>>2];j=I[d|0]|I[d+1|0]<<8;f=(j<<8|j>>>8)<<16;g=f>>31;f=HM(H[i+48>>2],H[i+52>>2],f>>16,g)+32768|0;g=Xa;g=f>>>0<32768?g+1|0:g;H[e+4>>2]=m-((g&65535)<<16|f>>>16);a=(j|0)!=0|a}d=d+2|0}a:{if(h>>>0<4096){break a}g=1;f=1;f=H[i+56>>2]?f:H[i+68>>2]!=0;if(!H[i+60>>2]){g=H[i+68>>2]!=0;if((g|f)!=1){break a}}b=H[b+112>>2];if(l&16){if(f){h=I[d|0]|I[d+1|0]<<8;j=(h|0)!=0;n=e,o=Xj(h?((h<<8|h>>>8)&65535)+c|0:163632,i,b)+H[e+8>>2]|0,H[n+8>>2]=o;a=a|j}d=d+2|0}if(l&32){if(g){h=I[d|0]|I[d+1|0]<<8;j=(h|0)!=0;n=e,o=Yj(h?((h<<8|h>>>8)&65535)+c|0:163632,i,b)+H[e+12>>2]|0,H[n+12>>2]=o;a=a|j}d=d+2|0}if(l&64){if((k|0)==4&f){f=I[d|0]|I[d+1|0]<<8;h=(f|0)!=0;n=e,o=Xj(f?((f<<8|f>>>8)&65535)+c|0:163632,i,b)+H[e>>2]|0,H[n>>2]=o;a=a|h}d=d+2|0}if(!g|(!(l&128)|(k|0)==4)){break a}d=I[d|0]|I[d+1|0]<<8;a=(d|0)!=0|a;b=Yj(d?((d<<8|d>>>8)&65535)+c|0:163632,i,b);H[e+4>>2]=H[e+4>>2]-b}return a}function rd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=Wa-32|0;Wa=h;f=a;g=H[a+144>>2];a:{if(g){break a}while(1){a=H[f+48>>2];if(!a){g=163632;break a}g=Ab(1,12);b:{if(!g){g=163632;break b}ye(g,a)}a=H[f+144>>2];H[f+144>>2]=a?a:g;if(!a){break a}_c(g);g=H[f+144>>2];if(!g){continue}break}}if(K[g+4>>2]<=b>>>0){c=0}else{H[h+20>>2]=d;H[h+16>>2]=c;H[h+8>>2]=0;F[h+24|0]=(e|0)!=0;H[h+12>>2]=f;c=H[f+144>>2];c:{if(c){break c}while(1){a=H[f+48>>2];if(!a){c=163632;break c}c=Ab(1,12);d:{if(!c){c=163632;break d}ye(c,a)}a=H[f+144>>2];H[f+144>>2]=a?a:c;if(!a){break c}_c(c);c=H[f+144>>2];if(!c){continue}break}}g=163632;a=163632;c=H[c>>2];c=c?c:163632;c=K[c+16>>2]<10?163632:H[c+12>>2];d=I[c+8|0]|I[c+9|0]<<8;if(d){a=c+((d<<8|d>>>8)&65535)|0}c=I[a|0]|I[a+1|0]<<8;e:{if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break e}c=(b<<1)+a|0;c=I[c+2|0]|I[c+3|0]<<8;if(!c){break e}g=((c<<8|c>>>8)&65535)+a|0}a=H[f+144>>2];f:{if(a){break f}while(1){c=H[f+48>>2];if(!c){a=163632;break f}a=Ab(1,12);g:{if(!a){a=163632;break g}ye(a,c)}c=H[f+144>>2];H[f+144>>2]=c?c:a;if(!c){break f}_c(a);a=H[f+144>>2];if(!a){continue}break}}a=H[a+8>>2]+N(b,24)|0;c=0;h:{e=h+8|0;if(!H[e+12>>2]){break h}b=H[H[e+8>>2]>>2];if(!(H[a>>2]>>>(b>>>4)&1)|!(H[a+4>>2]>>>b&1)|!(H[a+8>>2]>>>(b>>>9)&1)){break h}a=I[g+4|0]|I[g+5|0]<<8;if(!a){break h}b=I[g|0]|I[g+1|0]<<8;i=(b<<8|b>>>8)&65535;f=(a<<8|a>>>8)&65535;j=f>>>0>1?f:1;d=g+4|0;b=0;c=1;while(1){a=((a<<8|(a&65280)>>>8)&65535)>>>0>b>>>0?(d+(b<<1)|0)+2|0:163632;a=I[a|0]|I[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+g|0}else{a=163632}if(xs(a,e,i)){break h}b=b+1|0;c=f>>>0>b>>>0;if((b|0)==(j|0)){break h}a=I[d|0]|I[d+1|0]<<8;continue}}}Wa=h+32|0;return c}function Hy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=a+10|0;if(d>>>0>K[b+160>>2]){Cb(b,8)}c=I[a+6|0]|I[a+7|0]<<8|(I[a+8|0]<<16|I[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=I[a+2|0]|I[a+3|0]<<8|(I[a+4|0]<<16|I[a+5|0]<<24);g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(g>>>0<10|H[b+160>>2]-a>>>0>>0)&(g-10>>>0)/11>>>0>=k>>>0)){Cb(b,8)}if(k){l=a+4|0;c=1;while(1){m=I[d+2|0]|(I[d+1|0]<<8|I[d|0]<<16);a=I[d+7|0]|I[d+8|0]<<8|(I[d+9|0]<<16|I[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=I[d+3|0]|I[d+4|0]<<8|(I[d+5|0]<<16|I[d+6|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(e>>>0>>0&a>>>0>>0)){Cb(b,8)}if(c>>>0>m>>>0){Cb(b,8)}a:{if(!a){break a}a=a+l|0;if(a>>>0>K[b+160>>2]){Cb(b,8)}c=a-4|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(f>>>0>H[b+160>>2]-a>>>2>>>0){Cb(b,8);break b}if(!f){break a}}c=0;h=0;while(1){i=I[a+2|0]|(I[a+1|0]<<8|I[a|0]<<16);j=i+I[a+3|0]|0;if(j>>>0>=1114112){Cb(b,8)}if(h>>>0>i>>>0){Cb(b,8)}a=a+4|0;h=j+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c:{if(!e){break c}a=e+l|0;if(a>>>0>K[b+160>>2]){Cb(b,8)}c=a-4|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(H[b+160>>2]-a>>>0)/5>>>0){Cb(b,8);break d}if(!c){break c}}h=0;e=0;while(1){i=I[a+3|0];j=I[a+4|0];f=I[a+2|0]|(I[a+1|0]<<8|I[a|0]<<16);if(f>>>0>=1114112){Cb(b,8)}if(f>>>0>>0){Cb(b,8)}if(!(H[b+164>>2]<=0|K[b+172>>2]>(j|i<<8)>>>0)){Cb(b,16)}a=a+5|0;h=f+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function Bs(a,b,c,d,e,f,g){var h=0,i=0;b=xe(a,b);a:{b:{if((d|0)==-1){break b}a=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65537){break b}a=I[b+10|0]|I[b+11|0]<<8|(I[b+12|0]<<16|I[b+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+b|0:163632;h=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);i=a;a=(h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))>>>0>d>>>0?(a+(d<<3)|0)+8|0:163632;a=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=a?i+a|0:163632;a=I[d+4|0]|I[d+5|0]<<8;if(!a){break b}a=(a<<8|a>>>8)&65535;h=a>>>0>1?a:1;a=0;while(1){i=d+N(a,6)|0;i=I[i+6|0]|I[i+7|0]<<8;if(((i<<8|i>>>8)&65535)!=(c|0)){a=a+1|0;if((h|0)!=(a|0)){continue}break b}break}a=d+N(a,6)|0;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=a?a+d|0:163632;if(d){break a}}d=163632;a=163632;h=I[b+6|0]|I[b+7|0]<<8;if(h){a=b+((h<<8|h>>>8)&65535)|0}b=I[a|0]|I[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0>c>>>0?(N(c,6)+a|0)+2|0:163632;b=I[b+4|0]|I[b+5|0]<<8;if(!b){break a}d=((b<<8|b>>>8)&65535)+a|0}a=I[d+2|0]|I[d+3|0]<<8;a=(a<<8|a>>>8)&65535;c:{if(!f){break c}b=a-e|0;a=a>>>0>>0?0:b;b=H[f>>2];a=a>>>0>>0?a:b;H[f>>2]=a;if(!a){break c}e=(d+(e<<1)|0)+4|0;if(a&1){b=I[e|0]|I[e+1|0]<<8;H[g>>2]=(b<<8|b>>>8)&65535;e=e+2|0;g=g+4|0;f=a-1|0}else{f=a}if((a|0)==1){break c}b=f;while(1){a=I[e|0]|I[e+1|0]<<8;H[(f?g:259040)>>2]=(a<<8|a>>>8)&65535;a=(f|0)!=0;c=(a<<2)+g|0;d=I[e+2|0]|I[e+3|0]<<8;H[((a|0)==(f|0)?259040:c)>>2]=(d<<8|d>>>8)&65535;d=(a|0)!=(f|0);g=c+(d<<2)|0;f=f-(a+d|0)|0;e=e+4|0;b=b-2|0;if(b){continue}break}}}function Wh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=H[b+4>>2];a:{b:{if(f>>>0>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}g=H[b+12>>2]-2|0;H[b+12>>2]=g;e=1;if((g|0)<=0){break b}h=I[a|0]|I[a+1|0]<<8;if(!h){break a}e=a+2|0;if(e>>>0>>0|d>>>0>>0){break b}i=d-e|0;d=(h<<8|h>>>8)&65535;e=d<<2;if(i>>>0>>0){break b}g=g-e|0;H[b+12>>2]=g;e=0;if((g|0)<=0){break a}g=a+2|0;if(f>>>0>g>>>0){break a}n=d>>>0>1?d:1;while(1){e=H[b+8>>2];if(e>>>0>>0|e-g>>>0<4){break b}f=H[c>>2];e=H[b+12>>2]-4|0;H[b+12>>2]=e;if((e|0)<=0){break b}e=(k<<2)+a|0;h=F[g|0];d=I[e+3|0]<<16|h<<24|I[e+4|0]<<8|I[e+5|0];e=(d|0)!=0&(h|0)<0;c:{if(!(e|!d)){e=0;f=d+f|0;l=H[b+4>>2];d:{e:{if(f>>>0>>0){break e}h=H[b+8>>2];if(h>>>0>>0|h-f>>>0<6){break e}j=H[b+12>>2];d=j-6|0;H[b+12>>2]=d;if((d|0)<=0){break e}d=f+4|0;if(d>>>0>>0|d>>>0>h>>>0|h-d>>>0<2){break e}j=j-8|0;H[b+12>>2]=j;if((j|0)<=0){break e}d=I[f+4|0]|I[f+5|0]<<8;i=(d<<8|d>>>8)&65535;m=i<<1;if(d){d=f+6|0;if(d>>>0>>0|d>>>0>h>>>0|m>>>0>h-d>>>0){break e}j=j-m|0;H[b+12>>2]=j;if((j|0)<=0){break e}}d=I[f+2|0]|I[f+3|0]<<8;d=d<<8|d>>>8;if(i>>>0<(d&65535)>>>0){break e}i=i+(d&65535)|0;d=I[f|0]|I[f+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>=4294967295/(i>>>0)>>>0?i:0){break e}i=N(d,i);d=1;if(!i){break d}d=(f+m|0)+6|0;if(d>>>0>>0|d>>>0>h>>>0|i>>>0>h-d>>>0){break e}e=j-i|0;H[b+12>>2]=e;e=(e|0)>0}d=e}if(d){break c}e=H[b+28>>2];if(e>>>0>31){break b}H[b+28>>2]=e+1;if(!I[b+24|0]){break b}F[g|0]=0;F[g+1|0]=0;F[g+2|0]=0;F[g+3|0]=0;break c}if(e){break b}}e=1;k=k+1|0;if((n|0)==(k|0)){break a}g=((k<<2)+a|0)+2|0;if(g>>>0>=K[b+4>>2]){continue}break}}e=0}return e}function Ph(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(H[a+20>>2]){break b}b=H[a+48>>2];if(!b|(b|0)==1){break b}h=H[a+52>>2];m=h+(b<<2)|0;j=b-1|0;k=h+4|0;h=H[40908];while(1){f=H[(j?k:163632)>>2];g=H[f+12>>2];if(g){i=H[f+16>>2];n=i+(g<<4)|0;while(1){c=g?i:163632;b=H[c+12>>2];c:{if(b>>>0>=K[a+48>>2]){H[64760]=h;d=h;break c}d=H[H[a+52>>2]+(b<<2)>>2]}b=d;if(!b){break a}d=0;d:{e:{f:{g:{e=I[c|0];switch(e>>>4&3){case 1:break f;case 0:break g;case 2:break e;default:break d}}d=H[b>>2]-H[f>>2]|0;break d}d=H[b>>2]-H[f+4>>2]|0;break d}d=H[a+4>>2]+H[b>>2]-(H[a>>2]+H[a+8>>2])|0}b=d-H[c+8>>2]|0;h:{i:{if(e&8){d=H[f>>2]+(H[c+4>>2]&268435455)|0;if((e&7)==4){c=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);F[d|0]=c;e=c>>>8|0;F[d+1|0]=e;F[d+2|0]=c>>>16;l=d;d=c>>>24|0;F[l+3|0]=d;c=d|(e&65280|(c<<8&16711680|c<<24));if((b|0)!=(c|0)|c>>31){break i}break h}c=b<<8|(b&65280)>>>8;F[d|0]=c;F[d+1|0]=c>>>8;c=b<<16;d=c>>31;if((b|0)!=c>>16|d){break i}break h}j:{switch((e&7)-3|0){case 1:d=H[f>>2]+(H[c+4>>2]&268435455)|0;c=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);F[d|0]=c;e=c>>>8|0;F[d+1|0]=e;F[d+2|0]=c>>>16;l=d;d=c>>>24|0;F[l+3|0]=d;if((b|0)!=(d|(e&65280|(c<<8&16711680|c<<24)))){break i}break h;case 0:c=H[f>>2]+(H[c+4>>2]&268435455)|0;F[c+2|0]=b;F[c+1|0]=b>>>8;F[c|0]=b>>>16;if(b>>>0>=16777216){break i}break h;default:break j}}c=H[f>>2]+(H[c+4>>2]&268435455)|0;d=b<<8|(b&65280)>>>8;F[c|0]=d;F[c+1|0]=d>>>8;if(b>>>0<65536){break h}}H[a+20>>2]=H[a+20>>2]|2}b=!!g;g=g-b|0;i=(b<<4)+i|0;if((n|0)!=(i|0)){continue}break}}b=!!j;j=j-b|0;k=(b<<2)+k|0;if((m|0)!=(k|0)){continue}break}}return}H[a+20>>2]=H[a+20>>2]|1}function _e(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{switch(a-247|0){default:if((a|0)!=28){break c}d=H[b+12>>2];a=H[b+4>>2];e:{if(d>>>0>=a>>>0){F[b+16|0]=1;c=163632;break e}c=d+H[b>>2]|0}e=I[c|0]<<8;c=a;a=d+1|0;f:{if(c>>>0<=a>>>0){F[b+16|0]=1;a=163632;break f}a=a+H[b>>2]|0}c=e|I[a|0];a=H[b+24>>2];g:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<3)|0;break g}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}M[a>>3]=c<<16>>16;h:{a=H[b+4>>2];if(I[b+16|0]|d>>>0>a>>>0){break h}c=d+2|0;if(c>>>0>a>>>0){break h}break b}break a;case 0:case 1:case 2:case 3:d=H[b+12>>2];i:{if(d>>>0>=K[b+4>>2]){F[b+16|0]=1;c=163632;break i}c=d+H[b>>2]|0}c=((I[c|0]|(a<<8)+2304)<<16)+7077888>>16;a=H[b+24>>2];j:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<3)|0;break j}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}M[a>>3]=c|0;k:{a=H[b+4>>2];if(I[b+16|0]|d>>>0>a>>>0){break k}c=d+1|0;if(c>>>0>a>>>0){break k}break b}break a;case 4:case 5:case 6:case 7:break d}}d=H[b+12>>2];l:{if(d>>>0>=K[b+4>>2]){F[b+16|0]=1;c=163632;break l}c=d+H[b>>2]|0}c=-108-(I[c|0]|(a<<16)-16449536>>>8)|0;a=H[b+24>>2];m:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<3)|0;break m}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}M[a>>3]=c|0;n:{a=H[b+4>>2];if(I[b+16|0]|d>>>0>a>>>0){break n}c=d+1|0;if(c>>>0>a>>>0){break n}break b}break a}if(a-32>>>0<=214){c=a-139|0;a=H[b+24>>2];o:{if(a>>>0>2]){H[b+24>>2]=a+1;a=H[b+36>>2]+(a<<3)|0;break o}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}M[a>>3]=c|0;return}F[b+40|0]=1;H[b+24>>2]=0;return}H[b+12>>2]=c;return}F[b+16|0]=1;H[b+12>>2]=a}function tl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Wa-80|0;Wa=j;c=I[c+2|0]|I[c+3|0]<<8;d=c<<8|c>>>8;c=d&65535;e=H[b+4>>2];if(d&32768){H[a+4>>2]=H[e+64>>2]}if(c&8192){b=H[e+64>>2]+1|0;d=H[e+68>>2];H[a+8>>2]=b>>>0>>0?b:d}b=c&15;a:{if(!b){break a}c=H[a+4>>2];d=H[a+8>>2];if(c>>>0>=d>>>0){break a}b=I[b+106144|0];k=b>>>4|0;f=k>>>0<2?k:2;l=b&15;i=l>>>0<2?l:2;n=f+i|0;b=d-c|0;if(n>>>0>b>>>0){break a}g=H[e+64>>2]+1|0;h=H[e+68>>2];g=g>>>0>>0?g:h;if(g-c>>>0>=2){kc(e,c,g);d=H[a+8>>2];c=H[a+4>>2];b=d-c|0}if(b>>>0>=2){kc(e,c,d);d=H[a+8>>2];c=H[a+4>>2]}b=H[e+80>>2];g=b+N(c,20)|0;h=N(f,20);e=mb(j,g,h);m=N(i,20);o=mb(e+40|0,(b+N(d,20)|0)+N(i,-20)|0,m);if((f|0)!=(i|0)){Yb(g+m|0,g+h|0,N(d-(c+n|0)|0,20));c=H[a+4>>2]}mb(N(c,20)+b|0,o,m);mb((b+N(H[a+8>>2],20)|0)+N(f,-20)|0,e,h);if((k|0)==3){d=b+N(H[a+8>>2],20)|0;c=d-20|0;H[e+16>>2]=H[c+16>>2];f=H[c+4>>2];H[e>>2]=H[c>>2];H[e+4>>2]=f;f=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=f;d=d-40|0;f=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=f;f=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=f;H[c+16>>2]=H[d+16>>2];d=H[e+4>>2];c=(b+N(H[a+8>>2],20)|0)-40|0;H[c>>2]=H[e>>2];H[c+4>>2]=d;H[c+16>>2]=H[e+16>>2];d=H[e+12>>2];H[c+8>>2]=H[e+8>>2];H[c+12>>2]=d}if((l|0)!=3){break a}c=b+N(H[a+4>>2],20)|0;H[e+16>>2]=H[c+16>>2];d=H[c+4>>2];H[e>>2]=H[c>>2];H[e+4>>2]=d;d=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=d;d=H[c+24>>2];H[c>>2]=H[c+20>>2];H[c+4>>2]=d;d=H[c+32>>2];H[c+8>>2]=H[c+28>>2];H[c+12>>2]=d;H[c+16>>2]=H[c+36>>2];a=b+N(H[a+4>>2],20)|0;H[a+36>>2]=H[e+16>>2];b=H[e+12>>2];H[a+28>>2]=H[e+8>>2];H[a+32>>2]=b;b=H[e+4>>2];H[a+20>>2]=H[e>>2];H[a+24>>2]=b}Wa=j+80|0}function pr(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}c=H[b+100>>2];d=I[a+2|0]|I[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}d=Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((d|0)!=-1){we(a+4|0,b,a,a+6|0,H[c+88>>2]+N(H[c+64>>2],20)|0);H[c+64>>2]=H[c+64>>2]+1}d=(d|0)!=-1;break c}c=H[b+100>>2];f=I[a+2|0]|I[a+3|0]<<8;if(f){e=((f<<8|f>>>8)&65535)+a|0}else{e=163632}f=Kb(e,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((f|0)==-1){break c}e=I[a+6|0]|I[a+7|0]<<8;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break c}d=1;g=a+4|0;e=a;a=N(KM(I[a+4|0]|I[a+5|0]<<8),f);we(g,b,e,(a|0)<0?163632:(e+(a<<1)|0)+8|0,H[c+88>>2]+N(H[c+64>>2],20)|0);H[c+64>>2]=H[c+64>>2]+1}return d;case 1:f:{g:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}return Ar(a,b)}return zr(a,b);case 2:if((I[a|0]|I[a+1|0]<<8)!=256){break a}return yr(a,b);case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break a}return wr(a,b);case 4:if((I[a|0]|I[a+1|0]<<8)!=256){break a}return ur(a,b);case 5:if((I[a|0]|I[a+1|0]<<8)!=256){break a}return tr(a,b);case 6:return rr(a,b);case 7:h:{i:{j:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break a}}return qr(b,a)}return Vj(a,b)}return Uj(a,b);case 8:break b;default:break a}}if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;d=pr(c,b,(a<<8|a>>>8)&65535)}else{d=0}}return d}function DM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=O(0),k=O(0);g=Wa-16|0;Wa=g;c=H[b+4>>2];d=c+16|0;if(H[c+16>>2]){f=H[c+12>>2];e=H[c+8>>2];j=L[c+20>>2];k=L[c+24>>2];if(!(j==L[c+28>>2]&k==L[c+32>>2])){Ya[H[e+16>>2]](e,f,d,j,k,H[e+36>>2])}Ya[H[e+28>>2]](e,f,d,H[e+48>>2])}H[d>>2]=0;H[d+4>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d=H[a+24>>2];c=d-4|0;if(d>>>0<=3){F[a+20|0]=1}f=H[a+32>>2];a:{if(f>>>0<=c>>>0){c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;break a}c=H[a+36>>2]+(c<<3)|0;e=H[c>>2];c=H[c+4>>2]}H[g>>2]=e;H[g+4>>2]=c;if(d>>>0<=2){F[a+20|0]=1}c=d-3|0;b:{if(c>>>0>=f>>>0){c=H[40909];e=H[40908];H[64760]=e;H[64761]=c;break b}c=H[a+36>>2]+(c<<3)|0;e=H[c>>2];c=H[c+4>>2]}H[g+8>>2]=e;H[g+12>>2]=c;e=H[b+12>>2];if(d>>>0<=1){F[a+20|0]=1}c=d-2|0;c:{if(c>>>0>=f>>>0){c=H[40909];f=H[40908];H[64760]=f;H[64761]=c;x(0,f|0);x(1,c|0);h=+z();break c}h=M[H[a+36>>2]+(c<<3)>>3]}d:{if(P(h)<2147483648){c=~~h;break d}c=-2147483648}f=0;e:{if(c>>>0<=255){f=I[c+108816|0];i=H[e+52>>2];if((i|0)!=163632){f=qg(i,f,H[e+216>>2]);e=H[b+12>>2];c=H[a+24>>2];break e}f=c>>>0<229?H[e+172>>2]?0:f:0}c=d}d=d-1|0;if(c>>>0<=d>>>0){F[a+20|0]=1}f:{if(d>>>0>=K[a+32>>2]){d=H[40909];c=H[40908];H[64760]=c;H[64761]=d;x(0,c|0);x(1,d|0);h=+z();break f}h=M[H[a+36>>2]+(d<<3)>>3]}g:{if(P(h)<2147483648){d=~~h;break g}d=-2147483648}h:{i:{if(d>>>0>255){break i}c=I[d+108816|0];i=H[e+52>>2];j:{if((i|0)!=163632){d=qg(i,c,H[e+216>>2]);break j}d=d>>>0<229?H[e+172>>2]?0:c:0}if(!d|!f|I[a+160|0]){break i}if(!ok(H[b+12>>2],H[b>>2],f,H[b+4>>2],1,0)){break i}if(ok(H[b+12>>2],H[b>>2],d,H[b+4>>2],1,g)){break h}}F[a+40|0]=1}Wa=g+16|0}function xK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=H[b+68>>2];if(g){i=H[b+80>>2];while(1){d=8;f=N(e,20)+i|0;c=H[f>>2];h=Pj(c);b=h>>>8|0;a:{b:{c:{if(c-2387>>>0<2){break c}d=1;d:{e:{f:{a=c-7394|0;if(a>>>0>20){break f}a=1<>>0<6){break e}if(c-2674>>>0<2){break c}if(c-7406>>>0<4){d=18;break c}if((c|0)==2641){a=12;d=7;break a}d=8;if((c&-3)==70401){break c}d=3;if(c-70459>>>0<2){break c}g:{if((c|0)<=2810){if((c|0)==2432|(c|0)==2556){break g}break d}if((c|0)==2811|(c|0)==2901){break c}if((c|0)!=3200){break d}}d=11;break c}d=18;break c}if((c&-2)==8208){d=11;break c}if((c|0)==9676){d=12;break c}a=0;d=h&255;if(d>>>0>=32){break b}}a=1<>>7|0){case 5:a=c>>>0<3139?7:9;break a;case 6:a=c-3287>>>0<4294967276?7:9;break a;case 0:case 1:case 2:case 3:case 4:case 7:break j;default:break a}}a=12;break a;case 3:a=9;b=c-2560|0;if(b>>>0>=768){break a}a=H[(b>>>5&134217724)+135636>>2];break a;case 5:a=9;b=c-2560|0;if(b>>>0>=896){break a}a=H[(b>>>5&134217724)+135660>>2];break a;case 0:break a;default:break i}}a=b;break a}a=a&263424?14:b}F[f+19|0]=(c|0)==2817?7:a;F[f+18|0]=d;e=e+1|0;if((g|0)!=(e|0)){continue}break}}}function Zj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=H[a+100>>2];c=H[d+64>>2];if(c>>>0>=K[d+68>>2]){break a}while(1){if(!I[d+60|0]){break a}c=H[d+80>>2]+N(c,20)|0;e=H[c>>2];b:{c:{if(!(H[b>>2]>>>(e>>>4)&1)|!(H[b+4>>2]>>>e&1)|(!(H[b+8>>2]>>>(e>>>9)&1)|!(H[a+120>>2]&H[c+4>>2]))){break c}g=H[a+132>>2];c=J[c+12>>1];if(g&c&14){break c}d:{if(!(c&8)){break d}if(g&16){c=H[a+108>>2];f=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<65538){break c}f=I[c+12|0]|I[c+13|0]<<8;if(f){c=c+((f<<8|f>>>8)&65535)|0}else{c=163632}if((I[c|0]|I[c+1|0]<<8)!=256){break c}f=c;g=g>>>16|0;h=(c+(g<<2)|0)+4|0;c=I[c+2|0]|I[c+3|0]<<8;c=g>>>0<((c<<8|c>>>8)&65535)>>>0?h:163632;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((Kb(c?f+c|0:163632,e)|0)!=-1){break d}break c}e=g&65280;if(!e){break d}if((e|0)!=(c&65280)){break c}}c=0;g=H[b+16>>2];if(!g){break c}while(1){e=c>>>0>>0?H[b+20>>2]+N(c,20)|0:163632;f=H[a+100>>2];f=H[H[f+80>>2]+N(H[f+64>>2],20)>>2];if(!(!(H[e+8>>2]>>>(f>>>4)&1)|!(H[e+12>>2]>>>f&1)|!(H[e+16>>2]>>>(f>>>9)&1))){if(Ya[H[e+4>>2]](H[e>>2],a)|0){break b}g=H[b+16>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}if(I[d+61|0]){e:{if(H[d+84>>2]==H[d+80>>2]){c=H[d+72>>2];if((c|0)==H[d+64>>2]){break e}}if(!qb(d,1,1)){break b}e=H[d+80>>2]+N(H[d+64>>2],20)|0;g=H[e+4>>2];c=H[d+84>>2]+N(H[d+72>>2],20)|0;H[c>>2]=H[e>>2];H[c+4>>2]=g;H[c+16>>2]=H[e+16>>2];g=H[e+12>>2];H[c+8>>2]=H[e+8>>2];H[c+12>>2]=g;c=H[d+72>>2]}H[d+72>>2]=c+1}H[d+64>>2]=H[d+64>>2]+1}c=H[d+64>>2];if(c>>>0>2]){continue}break}}}function mK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=H[b+68>>2];if(g){h=H[b+80>>2];while(1){e=N(d,20)+h|0;c=H[e>>2];a=Pj(c);b=(c&-16)!=65024?a&255:30;f=a>>>8|0;a=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if((c|0)<=8209){if((c|0)<=4099){if((c|0)==45|(c|0)==160){break c}if((c|0)!=215){break d}break c}switch(c-4100|0){case 70:case 71:break f;case 52:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 139:case 150:case 151:case 152:break g;case 95:case 96:case 101:case 102:case 103:case 104:case 105:break h;case 55:case 90:case 91:break i;case 57:case 126:break j;case 56:break k;case 92:break l;case 58:break m;case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:break n;case 54:break o;case 53:break p;case 46:case 50:break q;case 0:case 23:case 86:break r;case 74:break a;default:break d}}if((c|0)<=9722){a=c-8210|0;if(a>>>0>16|!(1<>>0>=4){break d}break c}a=16;break a}a=10;break a}a=4;break a}a=18;break a}a=32;break a}a=21;break a}a=33;break a}a=22;break a}a=23;break a}a=24;break a}a=25;break a}a=8;break a}a=31;break a}if((c|0)==9676){break c}}if((b|0)==7){break b}a=b;break a}a=11;break a}a=7;b=f-3|0;c=b&255;if(c>>>0>8|!(297>>>c&1)){break a}a=b<<24>>24<<2;f=H[a+139436>>2];a=H[a+139400>>2]}F[e+19|0]=f;F[e+18|0]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}function ls(a,b,c){var d=0;d=163632;a:{b:{c:{switch(c-1|0){case 0:d:{e:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 1:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 2:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 3:if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a;case 4:f:{g:{h:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+6|0]|I[a+7|0]<<8;if(!b){break b}break a;case 5:i:{j:{k:{b=I[a|0]|I[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break b}}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}break a}b=I[a+2|0]|I[a+3|0]<<8;b=(a+2|0)+(((b<<8|b>>>8)&65535)<<1)|0;b=I[b+2|0]|I[b+3|0]<<8?b+4|0:163632;b=I[b|0]|I[b+1|0]<<8;if(!b){break b}break a;case 6:if((I[a|0]|I[a+1|0]<<8)==256){c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+a|0:163632;a=I[a+2|0]|I[a+3|0]<<8;a=ls(c,b,(a<<8|a>>>8)&65535)}else{a=163632}return a;case 7:break c;default:break b}}if((I[a|0]|I[a+1|0]<<8)!=256){break b}b=I[a+2|0]|I[a+3|0]<<8;if(!b){break b}d=((b<<8|b>>>8)&65535)+a|0}return d}return((b<<8|b>>>8)&65535)+a|0}function Xc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{g:{c=I[a+4|0]|I[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}d=I[c|0]|I[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}d=I[c+2|0]|I[c+3|0]<<8;d=b-((d<<8|d>>>8)&65535)|0;e=(c+(d<<1)|0)+6|0;c=I[c+4|0]|I[c+5|0]<<8;c=d>>>0<((c<<8|c>>>8)&65535)>>>0?e:163632;break e}h=164024;d=I[c+2|0]|I[c+3|0]<<8;h:{if(!d){break h}d=((d<<8|d>>>8)&65535)-1|0;while(1){f=d+e>>>1|0;g=c+N(f,6)|0;i=g+4|0;i=I[i|0]|I[i+1|0]<<8;i:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){e=I[g+6|0]|I[g+7|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break i}h=(c+N(f,6)|0)+4|0;break h}d=f-1|0}if((d|0)>=(e|0)){continue}break}}c=h+4|0}c=I[c|0]|I[c+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}return 2}return 4}j=8;j:{k:{l:{c=I[a+10|0]|I[a+11|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}a=I[c|0]|I[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break k;case 0:break l;default:break a}}a=I[c+2|0]|I[c+3|0]<<8;a=b-((a<<8|a>>>8)&65535)|0;b=I[c+4|0]|I[c+5|0]<<8;a=a>>>0<((b<<8|b>>>8)&65535)>>>0?(c+(a<<1)|0)+6|0:163632;break j}a=164024;d=I[c+2|0]|I[c+3|0]<<8;m:{if(!d){break m}d=((d<<8|d>>>8)&65535)-1|0;e=0;while(1){f=d+e>>>1|0;h=c+N(f,6)|0;g=h+4|0;g=I[g|0]|I[g+1|0]<<8;n:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=I[h+6|0]|I[h+7|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}a=(c+N(f,6)|0)+4|0;break m}d=f-1|0}if((d|0)>=(e|0)){continue}break}}a=a+4|0}a=I[a|0]|I[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function Qm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{m=I[b+7|0]&254|I[b+6|0]<<8;b:{if(!m){break b}q=(d|0)!=0;f=q+H[c>>2]|0;if(f>>>0>65535){break b}p=H[a+508>>2]+H[a+512>>2]|0;h=m>>>1|0;r=h>>>0>1?h:1;s=h-1|0;l=b+14|0;h=(b+m|0)+16|0;c:{if(!d){while(1){b=I[h+1|0]|I[h|0]<<8;if(b>>>0>f>>>0){break c}d:{f=b>>>0>>0?f:b;g=I[l+1|0]|I[l|0]<<8;if(f>>>0>g>>>0){break d}j=(b|0)==65535&n>>>0>=s>>>0&(g|0)==65535;g=h+m|0;k=g+m|0;i=I[k|0]<<8|I[k+1|0];j=j&(i|0)!=0&(i+k|0)+2>>>0>p>>>0;i=j?0:i;if((i|0)==65535){break d}if(!i){break a}b=k+(i+(f-b<<1)|0)|0;b=I[b|0]<<8|I[b+1|0];if(!b){break c}b=b+(j?1:I[g+1|0]|I[g|0]<<8)&65535;e=b>>>0>2]?b:0;break c}h=h+2|0;l=l+2|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}break c}while(1){b=h;g=I[b|0]<<8|I[b+1|0];f=f>>>0>g>>>0?f:g;j=I[l+1|0]|I[l|0]<<8;t=(g|0)==65535&n>>>0>=s>>>0&(j|0)==65535;h=b+2|0;l=l+2|0;i=b+m|0;k=i+m|0;u=k+2|0;e:{while(1){if(f>>>0>j>>>0){break e}b=I[i|0]|I[i+1|0]<<8;e=I[k+1|0]|I[k|0]<<8;o=(e|0)!=0&t&e+u>>>0>p>>>0;b=o?1:(b<<8|b>>>8)<<16>>16;f:{g:{e=o?0:e;if(e){if((e|0)==65535){break e}e=k+(e+(f-g<<1)|0)|0;if(e>>>0>p>>>0&q){break e}e=I[e+1|0]|I[e|0]<<8;if(!e){b=f;break f}e=b+e&65535;if(e>>>0>2]){break g}b=f;break f}o=b+f|0;e=o&65535;if(e>>>0>2]){break g}e=b+j|0;if(!((e|0)<0|(o|0)>=0)){b=0-b|0;break f}if((e|0)<65536|(o|0)>65535){break e}b=65536-b|0;break f}b=f;if(e){break c}}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;f=b;break c}n=n+1|0;if((r|0)!=(n|0)){continue}break}e=0}if(!d){break b}H[c>>2]=f}return e}return(j?1:I[g+1|0]|I[g|0]<<8)+f&65535}function HL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=Wa-16|0;Wa=h;d=H[a+712>>2];H[h+12>>2]=0;a:{if(!d){break a}f=H[d+3092>>2];if(f){c=0}else{f=zb(H[a+100>>2],32,h+12|0);c=H[h+12>>2];if(c){break a}a=0;e=H[d+1372>>2];g=0;b:{if((e|0)==65535){break b}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=K[d+1356>>2]){break b}g=H[H[d+1360>>2]+(e<<2)>>2];break b}c=H[d+3084>>2];g=0;if(!c){break b}g=Ya[H[c+20>>2]](e)|0}H[f>>2]=g;c=H[d+1376>>2];c:{if((c|0)==65535){break c}if(c>>>0>=391){c=c-391|0;if(c>>>0>=K[d+1356>>2]){break c}a=H[H[d+1360>>2]+(c<<2)>>2];break c}e=H[d+3084>>2];if(!e){break c}a=Ya[H[e+20>>2]](c)|0}H[f+4>>2]=a;a=0;e=H[d+1384>>2];g=0;d:{if((e|0)==65535){break d}if(e>>>0>=391){e=e-391|0;g=0;if(e>>>0>=K[d+1356>>2]){break d}g=H[H[d+1360>>2]+(e<<2)>>2];break d}c=H[d+3084>>2];g=0;if(!c){break d}g=Ya[H[c+20>>2]](e)|0}H[f+8>>2]=g;c=H[d+1388>>2];e:{if((c|0)==65535){break e}if(c>>>0>=391){c=c-391|0;if(c>>>0>=K[d+1356>>2]){break e}a=H[H[d+1360>>2]+(c<<2)>>2];break e}e=H[d+3084>>2];if(!e){break e}a=Ya[H[e+20>>2]](c)|0}H[f+12>>2]=a;c=0;a=H[d+1392>>2];f:{if((a|0)==65535){break f}if(a>>>0>=391){a=a-391|0;if(a>>>0>=K[d+1356>>2]){break f}c=H[H[d+1360>>2]+(a<<2)>>2];break f}e=H[d+3084>>2];if(!e){break f}c=Ya[H[e+20>>2]](a)|0}H[f+16>>2]=c;H[f+20>>2]=H[d+1400>>2];F[f+24|0]=I[d+1396|0];G[f+26>>1]=H[d+1404>>2];G[f+28>>1]=H[d+1408>>2];H[d+3092>>2]=f;c=H[h+12>>2]}a=H[f+4>>2];H[b>>2]=H[f>>2];H[b+4>>2]=a;a=H[f+28>>2];H[b+24>>2]=H[f+24>>2];H[b+28>>2]=a;a=H[f+20>>2];H[b+16>>2]=H[f+16>>2];H[b+20>>2]=a;a=H[f+12>>2];H[b+8>>2]=H[f+8>>2];H[b+12>>2]=a}Wa=h+16|0;return c|0}function Zx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Wa-16|0;Wa=e;j=H[b+28>>2];H[a+368>>2]=b;c=Ya[H[a+516>>2]](a,1851878757,b,e+8|0)|0;a:{if(c){break a}k=H[b+8>>2];c=Mb(b,95696,a+344|0);H[e+12>>2]=c;if(c){break a}c=145;g=k+6|0;d=H[a+348>>2];h=g+N(d,12)|0;i=H[e+8>>2]+k|0;if(h>>>0>i>>>0){break a}if(J[a+344>>1]==1){c=ob(b,h);H[e+12>>2]=c;if(c){break a}d=yb(b,e+12|0);H[a+360>>2]=d;c=H[e+12>>2];if(c){break a}l=a,m=jb(j,12,0,d,0,e+12|0),H[l+364>>2]=m;c=H[e+12>>2];if(c){break a}c=Nb(b,H[a+360>>2]<<2);H[e+12>>2]=c;if(c){break a}h=((d<<2)+h|0)+2|0;c=H[a+364>>2];b:{if(!c){break b}d=H[a+360>>2];if((d|0)<=0){break b}d=N(d,12)+c|0;while(1){l=e,m=Mb(b,95756,c),H[l+12>>2]=m;f=H[c+4>>2]+(H[a+352>>2]+k|0)|0;H[c+4>>2]=f;if(!(h>>>0<=f>>>0&f+J[c>>1]>>>0<=i>>>0)){G[c>>1]=0}c=c+12|0;if(d>>>0>c>>>0){continue}break}}Db(b);l=e,m=ob(b,g),H[l+12>>2]=m;d=H[a+348>>2]}l=a,m=jb(j,20,0,d,0,e+12|0),H[l+356>>2]=m;c=H[e+12>>2];if(c){break a}c=Nb(b,N(H[a+348>>2],12));H[e+12>>2]=c;if(c){break a}d=H[a+356>>2];f=H[a+348>>2];c:{if(!f){c=d;i=0;break c}c=d;while(1){d=Mb(b,95728,c);H[e+12>>2]=d;d:{if(d){break d}d=J[c+8>>1];if(!d){break d}g=H[c+12>>2]+(H[a+352>>2]+k|0)|0;H[c+12>>2]=g;if(h>>>0>g>>>0|d+g>>>0>i>>>0){break d}e:{if(J[a+344>>1]!=1){break e}d=G[c+4>>1];if((d|0)>=0){break e}d=(d&65535)-32768|0;if(d>>>0>=K[a+360>>2]|!J[H[a+364>>2]+N(d,12)>>1]){break d}}c=c+20|0}f=f-1|0;if(f){continue}break}d=H[a+356>>2];i=H[a+348>>2]}c=(c-d|0)/20|0;j=jb(j,20,i,c,d,e+12|0);H[a+348>>2]=c;H[a+356>>2]=j;Db(b);G[a+340>>1]=H[a+348>>2];c=H[e+12>>2]}Wa=e+16|0;return c|0}function qq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Wa-32|0;Wa=h;g=H[b+72>>2];a:{if((g|0)==1651078259){break a}b:{c:{if(!(I[H[b+156>>2]+42|0]&16)){break c}d=H[b+4>>2];f=H[b+12>>2];H[h+24>>2]=0;if(!(I[d+8|0]&8)|(!d|f>>>0>=K[d+16>>2])){break c}e=H[H[d+540>>2]+132>>2];if(!e){break c}if(!(Ya[e|0](d,f,h+12|0,h+8|0,h+16|0)|0)){g=H[b+72>>2];break c}if(!Xi(d,0)){e=H[d+540>>2];d:{while(1){g=Kd(d,H[h+12>>2],H[H[b+156>>2]+40>>2]&-1048581|4);if(g){break d}g=Ya[H[e+136>>2]](d,H[h+8>>2],b,H[d+84>>2])|0;if(g){break d}e:{if(!(I[d+8|0]&8)|f>>>0>=K[d+16>>2]){break e}g=H[H[d+540>>2]+132>>2];if(!g){break e}if(Ya[g|0](d,f,h+12|0,h+8|0,h+16|0)|0){continue}}break}H[b+72>>2]=1651078259;g=0}i=H[d+84>>2];f:{if(!i){break f}j=H[i+4>>2];e=H[j+84>>2];if(!e){break f}k=H[H[j+96>>2]+8>>2];g:{if((e|0)==(i|0)){d=0;break g}while(1){f=H[e+8>>2];if(!f){break f}d=e;e=f;if((i|0)!=(e|0)){continue}break}}H[(d?d+8|0:j+84|0)>>2]=H[i+8>>2];d=H[i+20>>2];if(d){Ya[d|0](i)}Vg(i);Ya[H[k+8>>2]](k,i)}if(!g){break b}}g=1869968492;H[b+72>>2]=1869968492}h:{if((g|0)!=1869968492){d=7;if(!a){break a}e=H[a+148>>2];if(!e){break a}while(1){f=H[e+8>>2];if(H[f+16>>2]==(g|0)){break h}e=H[e+4>>2];if(e){continue}break}break a}f=H[a+156>>2];if(!f){d=7;break a}e=H[a+148>>2]}d=0;f=Ya[H[f+60>>2]](f,b,c,0)|0;if(!f){break a}g=a+148|0;while(1){if((f&255)!=19){d=f;break a}e=H[(e?e+4|0:g)>>2];if(!e){d=f;break a}d=H[b+72>>2];i:{while(1){a=H[e+8>>2];if((d|0)==H[a+16>>2]){break i}e=H[e+4>>2];if(e){continue}break}d=f;break a}d=0;f=Ya[H[a+60>>2]](a,b,c,0)|0;if(f){continue}break}break a}d=0}Wa=h+32|0;return d}function id(a,b,c,d){var e=0,f=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;e=a- -64|0;H[e>>2]=0;H[e+4>>2]=0;H[a>>2]=0;H[a+4>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+92>>2]=c;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;H[a+56>>2]=0;H[a+60>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0;H[a+28>>2]=0;H[a+20>>2]=-1;H[a+72>>2]=0;H[e>>2]=-1;e=H[c+16>>2];H[a+104>>2]=0;H[a+100>>2]=d;H[a+96>>2]=e;c=H[e+140>>2];a:{if(c){break a}while(1){f=H[e+48>>2];if(!f){c=163632;break a}b:{c:{c=Ab(1,4);if(c){Rl(c,f);f=H[e+140>>2];H[e+140>>2]=f?f:c;if(!f){break a}f=H[c>>2];H[65057]=0;fa(579,f|0);f=H[65057];H[65057]=0;if((f|0)==1){break c}hb(c);break b}c=163632;f=H[e+140>>2];H[e+140>>2]=f?f:163632;if(f){break b}break a}ea(0)|0;_()|0;Gb();X()}c=H[e+140>>2];if(!c){continue}break}}c=H[c>>2];c=c?c:163632;c=K[c+16>>2]<12?163632:H[c+12>>2];H[a+108>>2]=c;e=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>=65539){e=I[c+14|0]|I[c+15|0]<<8|(I[c+16|0]<<16|I[c+17|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=e?e+c|0:163632}else{e=163632}H[a+112>>2]=e;d=H[d+40>>2];H[a+136>>2]=6;H[a+128>>2]=-1;H[a+132>>2]=0;H[a+124>>2]=b;H[a+120>>2]=1;H[a+116>>2]=d;c=I[c+4|0]|I[c+5|0]<<8;H[a+56>>2]=0;H[a+64>>2]=-1;G[a+60>>1]=257;H[a+72>>2]=0;H[a+76>>2]=0;H[a+12>>2]=0;F[a+16|0]=(b|0)==1;F[a+17|0]=1;H[a+20>>2]=1;H[a+52>>2]=a;H[a+80>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;H[a+8>>2]=a;H[a+36>>2]=0;F[a+143|0]=0;H[a+144>>2]=1;F[a+141|0]=1;F[a+142|0]=1;F[a+140|0]=(c|0)!=0;return a}function cn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Wa+-64|0;Wa=i;g=H[a>>2];a:{if((g|0)<=0){break a}e=H[a+24>>2];d=N(b,204);k=H[a+16>>2];c=H[a+8>>2];l=c+N(g,40)|0;b=0;a=c;while(1){b=(H[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(l>>>0>a>>>0){continue}break}if(!b){break a}n=H[(e+d|0)+200>>2];b:{if(b>>>0<=16){e=i;break b}e=jb(k,4,0,b,0,i);if(H[i>>2]){break a}}c:{if((g|0)<=0){break c}d=c;while(1){if(I[d+16|0]&16){a=(f<<2)+e|0;d:{if((f|0)<=0){b=a;break d}m=H[d+28>>2];while(1){b=a-4|0;j=H[b>>2];if((m|0)>=H[j+28>>2]){b=a;break d}H[a>>2]=j;a=b;if(e>>>0>>0){continue}break}}H[b>>2]=d;f=f+1|0}d=d+40|0;if(l>>>0>d>>>0){continue}break}if((g|0)<=0){break c}m=((f<<2)+e|0)-4|0;while(1){b=H[c+16>>2];e:{if(b&16){break e}a=H[c+12>>2];if(a&2){d=I[c+20|0];if(!(b&64|a&4)|((d|0)==4|(d|0)!=I[c+21|0])){break e}H[c+12>>2]=a&-3}f:{g:{if(f){b=H[c+28>>2];a=0;h:{while(1){if((b|0)>2]+28>>2]){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break g}}a=H[e>>2];h=H[a+36>>2]+ib(H[c+28>>2]-H[a+28>>2]|0,n)|0;break f}d=H[((a<<2)+e|0)-4>>2];b=f;while(1){a=b;if(a){b=a-1|0;if(H[H[(b<<2)+e>>2]+28>>2]>=H[c+28>>2]){continue}}break}if((a|0)==(f|0)){a=H[m>>2];h=H[a+36>>2]+ib(H[c+28>>2]-H[a+28>>2]|0,n)|0;break f}b=H[c+28>>2];g=H[d+28>>2];h=H[d+36>>2];if((b|0)==(g|0)){break f}a=H[(a<<2)+e>>2];j=H[a+28>>2];if((j|0)==(b|0)){h=H[a+36>>2];break f}h=H[a+36>>2];a=H[d+36>>2];h=sb(b-g|0,h-a|0,j-g|0)+a|0}H[c+36>>2]=h;H[c+16>>2]=H[c+16>>2]|32}c=c+40|0;if(l>>>0>c>>>0){continue}break}}if((e|0)==(i|0)){break a}if(e){Ya[H[k+8>>2]](k,e)}}Wa=i- -64|0}function Yr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=H[b+4>>2];if(h>>>0>a>>>0){return 0}d=H[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}i=H[b+12>>2];f=i-2|0;H[b+12>>2]=f;e=1;if((f|0)<=0){return 0}f=I[a|0]|I[a+1|0]<<8;a:{if(!f){break a}b:{f=((f<<8|f>>>8)&65535)+c|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<2){break b}c=i-4|0;H[b+12>>2]=c;if((c|0)<=0){break b}i=I[f|0]|I[f+1|0]<<8;if(!i){break a}e=f+2|0;if(e>>>0>>0|d>>>0>>0){break b}g=d-e|0;d=(i<<8|i>>>8)&65535;e=d<<1;if(g>>>0>>0){break b}c=c-e|0;H[b+12>>2]=c;if((c|0)<=0){break b}l=d>>>0>1?d:1;i=0;while(1){k=H[b+4>>2];h=(f+(i<<1)|0)+2|0;c=0;c:{if(k>>>0>h>>>0){break c}e=H[b+8>>2];c=0;if(e>>>0>>0){break c}c=0;if(e-h>>>0<2){break c}j=H[b+12>>2];g=j-2|0;H[b+12>>2]=g;d=1;c=0;if((g|0)<=0){break c}c=I[h|0]|I[h+1|0]<<8;d:{if(!c){break d}c=f+((c<<8|c>>>8)&65535)|0;e:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break e}d=j-4|0;H[b+12>>2]=d;if((d|0)<=0){break e}d=c+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break e}j=j-6|0;H[b+12>>2]=j;d=1;if((j|0)<=0){break e}g=I[c+2|0]|I[c+3|0]<<8;m=((g<<8|g>>>8)&65535)<<2;g=I[c|0]|I[c+1|0]<<8;g=m+(g?(((g<<8|g>>>8)&65535)<<1)-2|0:0)|0;if(!g){break d}c=c+4|0;if(c>>>0>>0|c>>>0>e>>>0|g>>>0>e-c>>>0){break e}c=j-g|0;H[b+12>>2]=c;if((c|0)>0){break d}}d=H[b+28>>2];c=0;if(d>>>0>31){break c}H[b+28>>2]=d+1;d=0;if(!I[b+24|0]){break d}F[h|0]=0;F[h+1|0]=0;d=1}c=d}if(!c){break b}e=1;i=i+1|0;if((l|0)!=(i|0)){continue}break}break a}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;e=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;e=1}return e}function DL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=163632;c=163632;d=H[H[H[a+96>>2]+144>>2]>>2];d=d?d:163632;d=K[d+16>>2]<10?163632:H[d+12>>2];f=I[d+8|0]|I[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=I[c|0]|I[c+1|0]<<8;a:{if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=(b<<1)+c|0;d=I[d+2|0]|I[d+3|0]<<8;if(!d){break a}e=((d<<8|d>>>8)&65535)+c|0}j=H[a+128>>2];H[a+128>>2]=b;b=I[e+2|0]|I[e+3|0]<<8;b=b<<8|b>>>8;c=b&65535;d=H[a+132>>2];if(b&16){b=I[e+4|0]|I[e+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+e|0;b=I[b+6|0]|I[b+7|0]<<8;c=(b<<8|b>>>8)<<16|c}H[a+132>>2]=c;H[a+36>>2]=0;H[a+8>>2]=a;H[a+28>>2]=0;H[a+32>>2]=0;H[a+12>>2]=c;H[a+80>>2]=0;H[a+52>>2]=a;f=H[a+120>>2];H[a+20>>2]=f;g=I[a+142|0];F[a+17|0]=g;H[a+72>>2]=0;H[a+76>>2]=0;H[a+56>>2]=c;H[a- -64>>2]=-1;F[a+61|0]=1;c=H[a+124>>2];b=(c|0)==1;F[a+16|0]=b;h=I[a+141|0];F[a+60|0]=b|(h|0)!=0;b=I[e+4|0]|I[e+5|0]<<8;if(b){c=I[e|0]|I[e+1|0]<<8;h=(c<<8|c>>>8)&65535;g=(b<<8|b>>>8)&65535;k=g>>>0>1?g:1;f=e+4|0;c=0;i=1;while(1){b:{b=((b<<8|(b&65280)>>>8)&65535)>>>0>c>>>0?(f+(c<<1)|0)+2|0:163632;b=I[b|0]|I[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=163632}if(sr(b,a,h)){break b}c=c+1|0;i=g>>>0>c>>>0;if((c|0)==(k|0)){break b}b=I[f|0]|I[f+1|0]<<8;continue}break}h=I[a+141|0];f=H[a+120>>2];g=I[a+142|0];c=H[a+124>>2]}H[a+132>>2]=d;H[a+128>>2]=j;H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;H[a+80>>2]=0;H[a+20>>2]=f;F[a+17|0]=g;H[a+12>>2]=d;H[a+72>>2]=0;H[a+76>>2]=0;H[a+64>>2]=-1;F[a+61|0]=1;H[a+56>>2]=d;b=(c|0)==1;F[a+16|0]=b;F[a+60|0]=b|(h|0)!=0;H[a+8>>2]=a;H[a+52>>2]=a;return i|0}function BL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=163632;c=163632;d=H[H[H[a+96>>2]+148>>2]>>2];d=d?d:163632;d=K[d+16>>2]<10?163632:H[d+12>>2];f=I[d+8|0]|I[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=I[c|0]|I[c+1|0]<<8;a:{if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=(b<<1)+c|0;d=I[d+2|0]|I[d+3|0]<<8;if(!d){break a}e=((d<<8|d>>>8)&65535)+c|0}j=H[a+128>>2];H[a+128>>2]=b;b=I[e+2|0]|I[e+3|0]<<8;b=b<<8|b>>>8;c=b&65535;d=H[a+132>>2];if(b&16){b=I[e+4|0]|I[e+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+e|0;b=I[b+6|0]|I[b+7|0]<<8;c=(b<<8|b>>>8)<<16|c}H[a+132>>2]=c;H[a+36>>2]=0;H[a+8>>2]=a;H[a+28>>2]=0;H[a+32>>2]=0;H[a+12>>2]=c;H[a+80>>2]=0;H[a+52>>2]=a;f=H[a+120>>2];H[a+20>>2]=f;g=I[a+142|0];F[a+17|0]=g;H[a+72>>2]=0;H[a+76>>2]=0;H[a+56>>2]=c;H[a- -64>>2]=-1;F[a+61|0]=1;c=H[a+124>>2];b=(c|0)==1;F[a+16|0]=b;h=I[a+141|0];F[a+60|0]=b|(h|0)!=0;b=I[e+4|0]|I[e+5|0]<<8;if(b){c=I[e|0]|I[e+1|0]<<8;h=(c<<8|c>>>8)&65535;g=(b<<8|b>>>8)&65535;k=g>>>0>1?g:1;f=e+4|0;c=0;i=1;while(1){b:{b=((b<<8|(b&65280)>>>8)&65535)>>>0>c>>>0?(f+(c<<1)|0)+2|0:163632;b=I[b|0]|I[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=163632}if(pr(b,a,h)){break b}c=c+1|0;i=g>>>0>c>>>0;if((c|0)==(k|0)){break b}b=I[f|0]|I[f+1|0]<<8;continue}break}h=I[a+141|0];f=H[a+120>>2];g=I[a+142|0];c=H[a+124>>2]}H[a+132>>2]=d;H[a+128>>2]=j;H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;H[a+80>>2]=0;H[a+20>>2]=f;F[a+17|0]=g;H[a+12>>2]=d;H[a+72>>2]=0;H[a+76>>2]=0;H[a+64>>2]=-1;F[a+61|0]=1;H[a+56>>2]=d;b=(c|0)==1;F[a+16|0]=b;F[a+60|0]=b|(h|0)!=0;H[a+8>>2]=a;H[a+52>>2]=a;return i|0}function CG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Wa-16|0;Wa=i;m=uj(g);g=bj(g);Ya[H[H[g>>2]+20>>2]](i,g);a:{if(I[i+11|0]>>>7|0){k=H[i+4>>2]}else{k=I[i+11|0]}b:{if(!k){H[65057]=0;ga(1012,m|0,a|0,c|0,d|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break b}g=(c-a<<2)+d|0;H[f>>2]=g;break a}H[f>>2]=d;c:{d:{k=a;h=I[k|0];switch(h-43|0){case 0:case 2:break d;default:break c}}H[65057]=0;k=ca(1027,m|0,h<<24>>24)|0;h=H[65057];H[65057]=0;if((h|0)==1){break b}h=H[f>>2];H[f>>2]=h+4;H[h>>2]=k;k=a+1|0}if(!(I[k|0]!=48|(c-k|0)<2|(I[k+1|0]|32)!=120)){H[65057]=0;h=ca(1027,m|0,48)|0;j=H[65057];H[65057]=0;if((j|0)==1){break b}j=H[f>>2];H[f>>2]=j+4;H[j>>2]=h;h=F[k+1|0];H[65057]=0;h=ca(1027,m|0,h|0)|0;j=H[65057];H[65057]=0;if((j|0)==1){break b}j=H[f>>2];H[f>>2]=j+4;H[j>>2]=h;k=k+2|0}j=0;H[65057]=0;me(k,c);h=H[65057];H[65057]=0;if((h|0)==1){break b}H[65057]=0;o=aa(1009,g|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break b}h=0;g=k;while(1){e:{if(c>>>0<=g>>>0){g=H[f>>2];H[65057]=0;Yf((k-a<<2)+d|0,g);g=H[65057];H[65057]=0;if((g|0)==1){break e}g=H[f>>2];break a}if(I[i+11|0]>>>7|0){l=H[i>>2]}else{l=i}n=!I[l+h|0];if(I[i+11|0]>>>7|0){l=H[i>>2]}else{l=i}if(!(n|F[l+h|0]!=(j|0))){j=H[f>>2];H[f>>2]=j+4;H[j>>2]=o;if(I[i+11|0]>>>7|0){l=H[i+4>>2]}else{l=I[i+11|0]}h=(l-1>>>0>h>>>0)+h|0;j=0}n=F[g|0];H[65057]=0;n=ca(1027,m|0,n|0)|0;l=H[65057];H[65057]=0;if((l|0)!=1){l=H[f>>2];H[f>>2]=l+4;H[l>>2]=n;g=g+1|0;j=j+1|0;continue}}break}}a=$()|0;_()|0;nb(i);ba(a|0);X()}H[e>>2]=(b|0)==(c|0)?g:(b-a<<2)+d|0;nb(i);Wa=i+16|0}function gm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Wa-16|0;Wa=e;d=H[a+104>>2];f=H[d+28>>2];k=H[a+736>>2];F[k+(b?44:32)|0]=1;c=Ya[H[a+516>>2]](a,b?1448493394:1213612370,d,e+8|0)|0;H[e+12>>2]=c;a:{if(c){break a}g=H[d+8>>2];i=yb(d,e+12|0);c=H[e+12>>2];if(c){break a}c=dc(d,2);H[e+12>>2]=c;if(c){break a}if((i|0)!=1){c=8;H[e+12>>2]=8;break a}i=$b(d,e+12|0);c=H[e+12>>2];if(c){break a}h=$b(d,e+12|0);c=H[e+12>>2];if(c){break a}f=zb(f,32,e+12|0);b:{if(b){H[k+52>>2]=f;break b}H[k+40>>2]=f}c=H[e+12>>2];if(c){break a}c=im(H[a+104>>2],H[a+736>>2],g+i|0,f);H[e+12>>2]=c;if(c){break a}if(h){d=Wa-16|0;Wa=d;i=H[a+104>>2];j=H[i+28>>2];c=ob(i,g+h|0);H[d+12>>2]=c;c:{if(c){break c}g=yb(i,d+12|0);c=H[d+12>>2];if(c){break c}h=yb(i,d+12|0);H[f+20>>2]=h;c=H[d+12>>2];if(c){break c}d:{if(g&65472){break d}p=f,q=jb(j,4,0,h,0,d+12|0),H[p+28>>2]=q;c=H[d+12>>2];if(c){break c}p=f,q=jb(j,4,0,H[f+20>>2],0,d+12|0),H[p+24>>2]=q;c=H[d+12>>2];if(c){break c}if(!H[f+20>>2]){c=0;break c}c=g&15;m=c+1|0;n=g>>>4&3;o=(2<>2];if(c){break c}g=l&255|g<<8;c=(j|0)!=(n|0);j=j+1|0;if(c){continue}break}c=g>>>m|0;if(c>>>0>=K[f>>2]){break d}j=h<<2;H[j+H[f+24>>2]>>2]=c;l=H[H[f+4>>2]+(c<<4)>>2];c=g&o;if(l>>>0<=c>>>0){break d}H[j+H[f+28>>2]>>2]=c;h=h+1|0;if(h>>>0>2]){continue}break}c=H[d+12>>2];break c}c=8;H[d+12>>2]=8}Wa=d+16|0;if(c){break a}}c=0;H[e+12>>2]=0;if(b){F[k+45|0]=1;H[a+740>>2]=H[a+740>>2]|16;break a}F[k+33|0]=1;H[a+740>>2]=H[a+740>>2]|2}Wa=e+16|0;return c} +function OG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Wa-16|0;Wa=i;m=wj(g);g=ej(g);Ya[H[H[g>>2]+20>>2]](i,g);a:{if(I[i+11|0]>>>7|0){k=H[i+4>>2]}else{k=I[i+11|0]}b:{if(!k){H[65057]=0;ga(991,m|0,a|0,c|0,d|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break b}g=(c-a|0)+d|0;H[f>>2]=g;break a}H[f>>2]=d;c:{d:{k=a;h=I[k|0];switch(h-43|0){case 0:case 2:break d;default:break c}}H[65057]=0;k=ca(1016,m|0,h<<24>>24)|0;h=H[65057];H[65057]=0;if((h|0)==1){break b}h=H[f>>2];H[f>>2]=h+1;F[h|0]=k;k=a+1|0}if(!(I[k|0]!=48|(c-k|0)<2|(I[k+1|0]|32)!=120)){H[65057]=0;h=ca(1016,m|0,48)|0;j=H[65057];H[65057]=0;if((j|0)==1){break b}j=H[f>>2];H[f>>2]=j+1;F[j|0]=h;h=F[k+1|0];H[65057]=0;h=ca(1016,m|0,h|0)|0;j=H[65057];H[65057]=0;if((j|0)==1){break b}j=H[f>>2];H[f>>2]=j+1;F[j|0]=h;k=k+2|0}j=0;H[65057]=0;me(k,c);h=H[65057];H[65057]=0;if((h|0)==1){break b}H[65057]=0;o=aa(982,g|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break b}h=0;g=k;while(1){e:{if(c>>>0<=g>>>0){g=H[f>>2];H[65057]=0;me((k-a|0)+d|0,g);g=H[65057];H[65057]=0;if((g|0)==1){break e}g=H[f>>2];break a}if(I[i+11|0]>>>7|0){l=H[i>>2]}else{l=i}n=!I[l+h|0];if(I[i+11|0]>>>7|0){l=H[i>>2]}else{l=i}if(!(n|F[l+h|0]!=(j|0))){j=H[f>>2];H[f>>2]=j+1;F[j|0]=o;if(I[i+11|0]>>>7|0){l=H[i+4>>2]}else{l=I[i+11|0]}h=(l-1>>>0>h>>>0)+h|0;j=0}n=F[g|0];H[65057]=0;n=ca(1016,m|0,n|0)|0;l=H[65057];H[65057]=0;if((l|0)!=1){l=H[f>>2];H[f>>2]=l+1;F[l|0]=n;g=g+1|0;j=j+1|0;continue}}break}}a=$()|0;_()|0;nb(i);ba(a|0);X()}H[e>>2]=(b|0)==(c|0)?g:(b-a|0)+d|0;nb(i);Wa=i+16|0}function Sf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!(I[(N(c,9804)+b|0)+256|0]|!(a&4))){h=d>>31;h=(h^d)-h|0;a:{b:{c:{if((c|0)==1){if(a&2){break c}if(!(g&2)|h>>>0>=192){break b}f=h;break a}if(!(a&1)){break b}}d:{e:{f:{g:{h:{e=H[(N(c,9804)+b|0)+52>>2];if(e){q=e&1;if((e|0)!=1){break h}g=98;f=0;e=h;break g}f=h+32&2147483584;e=h;break f}r=e&-2;g=98;f=0;i=(N(c,9804)+b|0)+56|0;e=h;while(1){n=H[(N(f|1,12)+i|0)+4>>2];j=h-n|0;k=j>>31;o=H[(N(f,12)+i|0)+4>>2];l=h-o|0;m=l>>31;l=(m^l)-m|0;m=(l|0)<(g|0);j=(k^j)-k|0;g=m?l:g;k=(j|0)<(g|0);g=k?j:g;e=k?n:m?o:e;f=f+2|0;p=p+2|0;if((r|0)!=(p|0)){continue}break}}if(q){f=H[((N(c,9804)+b|0)+N(f,12)|0)+60>>2];i=h-f|0;b=i>>31;e=((b^i)-b|0)<(g|0)?f:e}f=e+32&-64;if((e|0)>(h|0)){break e}}b=(h|0)<(f|48)?e:h;break d}b=(h|0)>(f-48|0)?e:h}if((c|0)==1){f=64;if((b|0)<64){break a}f=b+16&-64;break a}if(a&8){f=64;if((b|0)<64){break a}f=b+32&-64;break a}if((b|0)<=47){f=b- -64>>1;break a}if(b>>>0<=127){f=b+22&-64;b=f-h|0;a=b>>31;if((a^b)-a>>>0<16){break a}if(h>>>0>47){f=h;break a}f=h- -64>>>1|0;break a}f=b+32&-64;break a}f=f&1?h>>>0<80?64:h:h>>>0>56?h:56;a=N(c,9804)+b|0;if(!H[a+52>>2]){break a}a=H[a+60>>2];g=f-a|0;c=g>>31;if((c^g)-c>>>0<=39){f=(a|0)>48?a:48;break a}if(f>>>0<=191){a=f&63;if(a>>>0<10){break a}b=f&2147483584;if(a>>>0<=31){f=b|10;break a}f=a>>>0<54?b|54:f;break a}g=0;i:{if(!((d|0)>0&(e|0)>0)&(d&e)>=0){break i}a=J[H[H[b+4>>2]+88>>2]+12>>1];if(a>>>0>=10){if(a>>>0>29){break i}e=(N(30-a|0,e)|0)/20|0}a=e>>31;g=a-(a^e)|0}f=(f+g|0)+32&-64}d=(d|0)<0?0-f|0:f}return d}function Vs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=H[c>>2];e=H[a>>2];a:{if(d>>>0>e>>>0){break a}f=H[c+4>>2];if(e>>>0>=f+d>>>0){break a}d=e+1|0;H[a>>2]=d;h=I[e|0];if(h&128){g=H[c>>2];if(g>>>0>d>>>0|d>>>0>=f+g>>>0){break a}H[a>>2]=e+2;h=I[e+1|0]|h<<8&32512}e=H[b>>2];b:{if((e|0)<0){break b}if(e>>>0>>0){f=e;while(1){f=((f>>>1|0)+f|0)+8|0;if(h>>>0>=f>>>0){continue}break}c:{if(!(e>>>0>f>>>0|f>>>0>1073741822)){e=Eb(H[b+8>>2],f<<2);if(e){break c}}H[b>>2]=-1;break b}H[b>>2]=f;H[b+8>>2]=e}e=H[b+4>>2];if(e>>>0>>0){kb(H[b+8>>2]+(e<<2)|0,0,h-e<<2)}H[b+4>>2]=h}m=H[40908];f=0;while(1){i=f&65535;k=i>>>0>=h>>>0;if(k){break a}d=H[c>>2];e=H[a>>2];if(d>>>0>e>>>0|e>>>0>=d+H[c+4>>2]>>>0){break a}g=e+1|0;H[a>>2]=g;e=F[e|0];l=e&127;d:{e:{if((e|0)<0){e=0;while(1){d=H[c>>2];if(d>>>0>g>>>0){break e}d=d+H[c+4>>2]|0;if(d>>>0>>0|d-g>>>0<2){break e}d=I[g|0]|I[g+1|0]<<8;j=((d<<8|d>>>8)&65535)+j|0;f:{if(K[b+4>>2]<=i>>>0){H[64760]=m;g=H[a>>2];d=259040;break f}d=H[b+8>>2]+(i<<2)|0}H[d>>2]=j;g=g+2|0;H[a>>2]=g;d=e+1|0;f=f+1|0;if((e&65535)>>>0>=l>>>0){break d}e=d;i=f&65535;if(i>>>0>>0){continue}break}break d}e=0;d=H[c>>2];if(g>>>0>>0){break e}while(1){if(H[c+4>>2]+d>>>0<=g>>>0){break e}H[a>>2]=g+1;j=I[g|0]+j|0;g:{if(K[b+4>>2]<=i>>>0){H[64760]=m;d=259040;break g}d=H[b+8>>2]+(i<<2)|0}H[d>>2]=j;d=e+1|0;f=f+1|0;if((e&65535)>>>0>=l>>>0){break d}i=f&65535;if(i>>>0>=h>>>0){break d}e=d;d=H[c>>2];g=H[a>>2];if(d>>>0<=g>>>0){continue}break}}k=0;break a}if((d&65535)>>>0>l>>>0){continue}break}}return k|0}function Pr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{d=I[a|0]|I[a+1|0]<<8;f=d<<8|d>>>8;switch(f&65535){case 1:break c;case 0:break e;default:break d}}a=H[b+100>>2];d=H[a+80>>2];c=H[a+64>>2];e=H[(d+N(c,20)|0)+8>>2];f=c+1|0;f:{g:{h:{if(f>>>0>2]){if((e|0)==H[(d+N(f,20)|0)+8>>2]){break g}b=H[a+72>>2];if(b){break h}kc(a,c,c+2|0);H[a+64>>2]=H[a+64>>2]+1;break f}b=H[a+72>>2];if(!b){break g}}h=H[a+84>>2];i=H[(h+N(b,20)|0)-12>>2];if(i>>>0<=e>>>0){break g}d=H[(d+N(c,20)|0)+4>>2]&3;while(1){b=b-1|0;c=h+N(b,20)|0;if((i|0)!=H[c+8>>2]){break g}H[c+4>>2]=d|H[c+4>>2]&-4;H[c+8>>2]=e;if(b){continue}break}}H[a+64>>2]=f}return 1}c=H[b+100>>2];e=H[c+64>>2];if(!d){break a}c=H[c+80>>2]+N(e,20)|0;h=J[c+12>>1]>>>1&2;j=f&65535;k=I[c+14|0]>31;f=0;while(1){if(!k){c=H[b+100>>2];F[(H[c+80>>2]+N(H[c+64>>2],20)|0)+14|0]=f&15}c=(f<<1)+a|0;c=I[c+2|0]|I[c+3|0]<<8;i=(c<<8|c>>>8)&65535;c=H[b+100>>2];d=H[c+80>>2]+N(H[c+64>>2],20)|0;c=J[d+12>>1]|80;i:{if(I[b+140|0]){c=Xc(H[b+108>>2],i)|c&112;break i}if(!h){break i}c=h|c&112}G[d+12>>1]=c;d=H[b+100>>2];if(qb(d,0,1)){c=H[d+64>>2];j:{if(c>>>0>2]){e=H[d+72>>2];g=H[d+84>>2];c=H[d+80>>2]+N(c,20)|0;break j}g=H[d+84>>2];e=H[d+72>>2];c=g+N(e?e-1|0:0,20)|0}e=N(e,20)+g|0;g=H[c+4>>2];H[e>>2]=H[c>>2];H[e+4>>2]=g;H[e+16>>2]=H[c+16>>2];g=H[c+12>>2];H[e+8>>2]=H[c+8>>2];H[e+12>>2]=g;H[e>>2]=i;H[d+72>>2]=H[d+72>>2]+1}f=f+1|0;if((j|0)!=(f|0)){continue}break}break b}a=I[a+2|0]|I[a+3|0]<<8;Qr(b,(a<<8|a>>>8)&65535);return 1}c=H[b+100>>2];e=H[c+64>>2]}H[c+64>>2]=e+1;return 1}function Vc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b|H[b+16>>2]>131082){break a}e=H[a+16>>2];if(e){c=H[b+8>>2];b:{while(1){f=H[((d<<2)+a|0)+20>>2];g=H[f>>2];if(rb(H[g+8>>2],c)){d=d+1|0;if((d|0)!=(e|0)){continue}break b}break}if(H[b+12>>2]<=H[g+12>>2]){break a}if(a){ho(a,f)}e=H[a+16>>2]}if(e>>>0>31){break a}}e=0;g=H[a>>2];c=H[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}e=Ya[H[g+4>>2]](g,c)|0;if(!e){return}kb(e,0,c)}H[e+8>>2]=g;H[e+4>>2]=a;H[e>>2]=b;d:{c=b;d=H[c>>2];if(d&2){c=64;f=H[e+4>>2];h=H[f>>2];d=Ya[H[h+4>>2]](h,12)|0;e:{if(!d){break e}F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0;F[d+4|0]=0;F[d+5|0]=0;F[d+6|0]=0;F[d+7|0]=0;F[d+8|0]=0;F[d+9|0]=0;F[d+10|0]=0;F[d+11|0]=0;i=H[e>>2];H[e+12>>2]=i;c=H[i+36>>2];H[e+16>>2]=c;f:{g:{h:{if((c|0)!=1869968492){break h}c=H[H[i+56>>2]+4>>2];if(!c){break h}c=Ya[c|0](h,e+52|0)|0;if(c){break g}H[e+56>>2]=H[H[i+56>>2]+16>>2];H[e+60>>2]=H[i+40>>2]}H[d+8>>2]=e;c=H[f+152>>2];H[d>>2]=c;H[d+4>>2]=0;H[(c?c+4|0:f+148|0)>>2]=d;H[f+152>>2]=d;c=H[f+148>>2];if(!c){break f}i:{while(1){d=H[c+8>>2];if(H[d+16>>2]==1869968492){break i}c=H[c+4>>2];if(c){continue}break}d=0}H[f+156>>2]=d;c=0;break e}Ya[H[h+8>>2]](h,d);break e}H[f+156>>2]=0;c=0}if(c){break d}c=H[e>>2];d=H[c>>2]}if(d&4){H[a+160>>2]=e}if(d&1){H[e+12>>2]=c}b=H[b+24>>2];if(b){if(Ya[b|0](e)|0){break d}}b=H[a+16>>2];H[a+16>>2]=b+1;H[((b<<2)+a|0)+20>>2]=e;return}j:{if(!(I[H[e>>2]]&2)){break j}a=H[e+12>>2];if(!a|H[a+36>>2]!=1869968492){break j}b=H[e+52>>2];if(!b){break j}Ya[H[H[a+56>>2]+20>>2]](b)}Ya[H[g+8>>2]](g,e)}}function Ch(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=H[b+4>>2];if(g>>>0>a>>>0){return 0}d=H[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=H[b+12>>2];e=f-2|0;H[b+12>>2]=e;h=1;if((e|0)<=0){return 0}e=I[a|0]|I[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;H[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=I[e|0]|I[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;H[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{c=H[b+4>>2];if(c>>>0>e>>>0){break g}d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=H[b+12>>2];g=f-10|0;H[b+12>>2]=g;if((g|0)<=0){break g}g=c;c=e+6|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;H[b+12>>2]=d;if((d|0)<=0){break g}d=I[c|0]|I[c+1|0]<<8;h:{if(!d){break h}if(Fe(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=H[b+28>>2];if(d>>>0>31){break g}H[b+28>>2]=d+1;if(!I[b+24|0]){break g}F[c|0]=0;F[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=H[b+12>>2]-2|0;H[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=I[d|0]|I[d+1|0]<<8;i:{if(!f){break i}if(Fe(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=H[b+28>>2];if(c>>>0>31){break g}H[b+28>>2]=c+1;c=0;if(!I[b+24|0]){break i}F[d|0]=0;F[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;H[b+12>>2]=c;if((c|0)>0){break a}}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;h=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;h=1}return h}function et(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=163632;e=H[a+4>>2];i=e?e:163632;e=I[i+6|0]|I[i+7|0]<<8|(I[i+8|0]<<16|I[i+9|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if((e|0)<=0){break a}e=e-1|0;while(1){b:{f=e+j>>>1|0;h=i+N(f,11)|0;h=I[h+11|0]<<8|I[h+10|0]<<16|I[h+12|0];c:{if(h>>>0>c>>>0){e=f-1|0;break c}if((c|0)==(h|0)){break b}j=f+1|0}if((e|0)>=(j|0)){continue}break a}break}g=(i+N(f,11)|0)+10|0}c=0;d:{e:{f:{e=0;j=163632;f=I[g+3|0]|I[g+4|0]<<8|(I[g+5|0]<<16|I[g+6|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);l=f?f+i|0:163632;f=l;f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g:{if((f|0)>0){f=f-1|0;while(1){k=e+f>>>1|0;h=(k<<2)+l|0;m=I[h+5|0]<<8|I[h+4|0]<<16|I[h+6|0];h:{if(m>>>0>b>>>0){f=k-1|0;break h}e=2;if(I[h+7|0]+m>>>0>=b>>>0){break g}e=k+1|0}if((e|0)<=(f|0)){continue}break}}e=I[g+7|0]|I[g+8|0]<<8|(I[g+9|0]<<16|I[g+10|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);g=e?e+i|0:163632;e=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i:{if((e|0)<=0){break i}f=e-1|0;e=0;while(1){j:{i=e+f>>>1|0;h=g+N(i,5)|0;h=I[h+5|0]<<8|I[h+4|0]<<16|I[h+6|0];k:{if(h>>>0>b>>>0){f=i-1|0;break k}if((b|0)==(h|0)){break j}e=i+1|0}if((e|0)<=(f|0)){continue}break i}break}j=(g+N(i,5)|0)+4|0}g=I[j+3|0]|I[j+4|0]<<8;e=0;if(!g){break g}H[d>>2]=(g<<8|g>>>8)&65535;e=1}switch(e|0){case 0:break d;case 1:break f;default:break e}}return 1}e=H[a+8>>2];if(!e){break d}c=Ya[e|0](H[a+12>>2],b,d)|0}return c}function Qq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=I[b|0];a:{b:{if(!a){break b}h=239;if((i|0)!=239){break b}m=1;if(I[b+1|0]!=172){break a}m=(I[b+2|0]+125&255)>>>0<2?2:1;break a}m=1;if((i-48&255)>>>0<10){h=0;while(1){m=m-1|0;h=h+1|0;if((I[h+b|0]-48&255)>>>0<10){continue}break}}h=i}c:{if(!(h&255)|(g|0)<=(m|0)){break c}i=0;while(1){h=H[d>>2];d:{e:{if(!h){break e}j=H[e>>2];if(!j|!H[f>>2]){break e}q=i<<2;o=H[h+q>>2];if(!o){break e}r=Ac(o,61);if(!r){break d}n=0;k=0;p=i-H[j+q>>2]|0;f:{if((p|0)<0){break f}if(!a){h=p+1|0;while(1){if(!I[b+k|0]){break f}j=(k|0)==(p|0);k=k+1|0;if(!j){continue}break}k=h;break f}l=I[b|0];h=0;while(1){if(!l){break f}k=k+1|0;g:{if((l|0)!=239){break g}j=b+h|0;if(I[j+1|0]!=172){break g}k=((I[j+2|0]+125&255)>>>0<2)+k|0}while(1){j=h;h=h+1|0;l=I[h+b|0];if((l&192)==128){continue}break}if((j|0)<(p|0)){continue}break}}j=r-o|0;h:{if((j|0)<=0){break h}if(!a){while(1){if(!I[n+o|0]){break h}n=n+1|0;if((j|0)!=(n|0)){continue}break}n=j;break h}l=I[o|0];h=0;while(1){if(!l){break h}n=n+1|0;i:{if((l|0)!=239){break i}l=h+o|0;if(I[l+1|0]!=172){break i}n=((I[l+2|0]+125&255)>>>0<2)+n|0}while(1){h=h+1|0;l=I[o+h|0];if((l&192)==128){continue}break}if((h|0)<(j|0)){continue}break}}if((k+n|0)>=(g|0)){break d}hb(o);H[H[d>>2]+q>>2]=0}F[c+i|0]=48}h=i+1|0;j:{if(!a){break j}k=I[b+h|0];if((k|0)==239){i=b+i|0;if(I[i+2|0]!=172){break j}m=((I[i+3|0]+125&255)>>>0<2)+m|0;break j}i=h;if((k&192)==128){continue}}m=m+1|0;if((m|0)>=(g|0)){break c}i=h;if(I[h+b|0]){continue}break}}}function es(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(K[b+4>>2]>a>>>0){return 0}e=H[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}e=H[b+12>>2]-2|0;H[b+12>>2]=e;i=1;if((e|0)<=0){return 0}e=I[a|0]|I[a+1|0]<<8;a:{if(!e){break a}c=((e<<8|e>>>8)&65535)+c|0;b:{c:{d=H[d>>2];if((d|0)==1936292453){if(c>>>0>2]){break c}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<10){break c}d=H[b+12>>2]-10|0;H[b+12>>2]=d;if((d|0)<=0){break c}g=I[c|0]|I[c+1|0]<<8;if(!g){break c}e=I[c+8|0]|I[c+9|0]<<8;h=I[c+6|0]|I[c+7|0]<<8;f=I[c+4|0]|I[c+5|0]<<8;if(!(h|(f|(I[c+2|0]|I[c+3|0]<<8)))){d=1;if(!e){break b}}c=(g<<8|g>>>8)&65535;if(c>>>0<((h<<8|(h&65280)>>>8)&65535)>>>0){break c}d=0;if(c>>>0>((e<<8|(e&65280)>>>8)&65535)>>>0){break b}d=(f<<8|(f&65280)>>>8)<<16>>16>255;break b}e=d&-65536;if((e|0)!=1668677632){d=1;if((e|0)!=1936916480){break b}d=0;if(c>>>0>2]){break b}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break b}c=H[b+12>>2]-4|0;H[b+12>>2]=c;d=(c|0)>0;break b}d=0;h=H[b+4>>2];if(h>>>0>c>>>0){break b}e=H[b+8>>2];if(e>>>0>>0|e-c>>>0<14){break b}g=H[b+12>>2];f=g-14|0;H[b+12>>2]=f;if((f|0)<=0){break b}f=c+12|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break b}f=g-16|0;H[b+12>>2]=f;if((f|0)<=0){break b}g=I[c+12|0]|I[c+13|0]<<8;if(g){c=c+14|0;if(c>>>0>>0|c>>>0>e>>>0){break b}e=e-c|0;c=N((g<<8|g>>>8)&65535,3);if(e>>>0>>0){break b}c=f-c|0;H[b+12>>2]=c;if((c|0)<=0){break b}}d=1;break b}d=0}if(d){break a}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;i=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;i=1}return i}function Pq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if((c|0)<2){break a}j=1-c|0;m=c-1|0;i=m;b:{while(1){if((I[b+i|0]-48&255)>>>0>9){break b}o=o-1|0;k=(i|0)>1;i=i-1|0;if(k){continue}break}o=j}if((c|0)<2|(h|0)<=(o|0)){break a}r=b+1|0;while(1){c=H[e>>2];c:{d:{if(!c){break d}i=H[f>>2];if(!i){break d}j=H[g>>2];if(!j){break d}p=m<<2;q=H[c+p>>2];if(!q){break d}n=Ac(q,61);if(!n){break c}l=H[j+p>>2]+((m+r|0)-H[i+p>>2]|0)|0;e:{if(!a){i=0;while(1){if(!I[i+l|0]){j=i;break e}j=i+1|0;if(!I[l+j|0]){break e}j=i+2|0;if(!I[l+j|0]){break e}j=i+3|0;if(!I[l+j|0]){break e}j=i+4|0;if(!I[l+j|0]){break e}j=100;i=i+5|0;if((i|0)!=100){continue}break}break e}c=I[l|0];i=0;j=0;while(1){c=c&255;if(!c){break e}j=j+1|0;f:{if((c|0)!=239){break f}c=i+l|0;if(I[c+1|0]!=172){break f}j=((I[c+2|0]+125&255)>>>0<2)+j|0}while(1){k=i;i=i+1|0;c=I[l+i|0];if((c&192)==128){continue}break}if((k|0)<99){continue}break}}n=n+1|0;l=wb(n);g:{if((l|0)<=0){k=0;break g}if(!a){k=0;while(1){if(!I[k+n|0]){break g}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l;break g}c=I[n|0];i=0;k=0;while(1){c=c&255;if(!c){break g}k=k+1|0;h:{if((c|0)!=239){break h}c=i+n|0;if(I[c+1|0]!=172){break h}k=((I[c+2|0]+125&255)>>>0<2)+k|0}while(1){i=i+1|0;c=I[n+i|0];if((c&192)==128){continue}break}if((i|0)<(l|0)){continue}break}}if((j+k|0)>=(h|0)){break c}hb(q);H[H[e>>2]+p>>2]=0}F[d+m|0]=48}i:{j:{if(!a){break j}c=I[b+m|0];if((c&192)==192){break j}if(c&128){break i}}o=o+1|0}if((h|0)<=(o|0)){break a}c=(m|0)>1;m=m-1|0;if(c){continue}break}}}function bw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Wa-80|0;Wa=g;i=H[a+532>>2];a:{if(!i){a=6;break a}h=H[a+100>>2];j=H[i+4>>2];H[g+24>>2]=j;if(j){a=0;while(1){c=N(a,12);d=c+(g+24|0)|0;H[d+8>>2]=H[((a<<2)+i|0)+8>>2];c=c+i|0;e=H[c+92>>2];H[d+12>>2]=H[e>>2];H[d+16>>2]=H[(e+(I[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((j|0)!=(a|0)){continue}break}}c=H[i>>2];H[g+20>>2]=0;e=j<<1;d=e+3&-4;h=zb(h,(d+N(j,24)|0)+20|0,g+20|0);a=H[g+20>>2];if(a){break a}H[h+8>>2]=0;H[h+4>>2]=c;H[h>>2]=j;c=h+20|0;b:{if(!j){H[h+16>>2]=0;H[h+12>>2]=c+d;Ag(H[i+140>>2],g,H[i+4>>2]);break b}a=0;c=kb(c,0,e);H[h+16>>2]=0;e=c+d|0;H[h+12>>2]=e;while(1){d=N(a,24)+e|0;f=(g+24|0)+N(a,12)|0;c=H[f+8>>2];H[d>>2]=c;H[d+4>>2]=H[f+12>>2]<<16;f=H[f+16>>2];H[d+16>>2]=-1;H[d+20>>2]=-1;H[d+12>>2]=f<<16;c:{if(!c){break c}f=2003265652;d:{if(!rb(c,10150)){break d}f=2003072104;if(!rb(c,10287)){break d}if(rb(c,10426)){break c}f=1869640570}H[d+16>>2]=f}a=a+1|0;if((j|0)!=(a|0)){continue}break}Ag(H[i+140>>2],g,H[i+4>>2]);if(!j){break b}d=0;while(1){k=H[(d<<2)+g>>2];c=N(d,12)+i|0;f=H[c+96>>2];e:{if((k|0)>H[f>>2]){a=1;l=I[c+88|0];if(l>>>0>1){while(1){m=a<<2;n=H[m+f>>2];if((k|0)<=(n|0)){c=H[c+92>>2];e=m-4|0;a=H[c+e>>2];c=H[c+m>>2];e=H[e+f>>2];a=N(pb(k-e|0,n-e|0),c-a|0)+(a<<16)|0;e=H[h+12>>2];break e}a=a+1|0;if((l|0)!=(a|0)){continue}break}}a=H[(H[c+92>>2]+(l<<2)|0)-4>>2]<<16;break e}a=H[H[c+92>>2]>>2]<<16}H[(N(d,24)+e|0)+8>>2]=a;d=d+1|0;if((j|0)!=(d|0)){continue}break}}H[b>>2]=h;a=H[g+20>>2]}Wa=g+80|0;return a|0}function on(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Wa-16|0;Wa=i;H[i+12>>2]=0;g=H[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(H[a+20>>2]){break d}H[a+16>>2]=12;H[a+20>>2]=a+820;break d}j=H[a+16>>2];if((j|0)>(g|0)){e=H[a+20>>2];h=e+N(g,44)|0;break c}g=64;if((j|0)>48806445){break a}e:{if((j|0)>=-16){k=((j>>2)+j|0)+4|0;if((k|0)<48806447){break e}}k=48806446}l=H[a+20>>2];f:{if((l|0)==(a+820|0)){e=jb(e,44,0,k,0,i+12|0);H[a+20>>2]=e;g=H[i+12>>2];if(g){break a}mb(e,l,528);break f}m=a,n=jb(e,44,j,k,l,i+12|0),H[m+20>>2]=n;g=H[i+12>>2];if(g){break a}}H[a+16>>2]=k;g=H[a+12>>2]}e=H[a+20>>2];h=e+N(g,44)|0;if((g|0)<=0){break b}}if(!d){g=h;while(1){h=g-44|0;d=G[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|H[a+24>>2]!=(c|0))){h=g;break b}d=H[h+4>>2];H[g>>2]=H[h>>2];H[g+4>>2]=d;H[g+40>>2]=H[h+40>>2];d=H[h+36>>2];H[g+32>>2]=H[h+32>>2];H[g+36>>2]=d;d=H[h+28>>2];H[g+24>>2]=H[h+24>>2];H[g+28>>2]=d;d=H[h+20>>2];H[g+16>>2]=H[h+16>>2];H[g+20>>2]=d;d=H[h+12>>2];H[g+8>>2]=H[h+8>>2];H[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g-44|0;d=G[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|H[a+24>>2]!=(c|0))){h=g;break b}d=H[h+4>>2];H[g>>2]=H[h>>2];H[g+4>>2]=d;H[g+40>>2]=H[h+40>>2];d=H[h+36>>2];H[g+32>>2]=H[h+32>>2];H[g+36>>2]=d;d=H[h+28>>2];H[g+24>>2]=H[h+24>>2];H[g+28>>2]=d;d=H[h+20>>2];H[g+16>>2]=H[h+16>>2];H[g+20>>2]=d;d=H[h+12>>2];H[g+8>>2]=H[h+8>>2];H[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}H[a+12>>2]=H[a+12>>2]+1;g=0}H[f>>2]=h;Wa=i+16|0;return g}function Cf(a,b,c,d){var e=0,f=0,g=0;a=I[a|0]|I[a+1|0]<<8;a=a<<8|a>>>8;f=a&65535;d=(((((a&1)<<1)+d|0)+(a&2)|0)+(f>>>1&2)|0)+(f>>>2&2)|0;a:{b:{if(!(a&16)){a=d;break b}if(d>>>0>2]){break a}a=H[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=H[b+12>>2]-2|0;H[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=I[d|0]|I[d+1|0]<<8;if(!e){break b}if(Fe(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=H[b+28>>2];if(e>>>0>31){break a}H[b+28>>2]=e+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}c:{if(!(f&32)){d=a;break c}if(K[b+4>>2]>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=I[a|0]|I[a+1|0]<<8;if(!e){break c}if(Fe(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=H[b+28>>2];if(e>>>0>31){break a}H[b+28>>2]=e+1;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0}d:{if(!(f&64)){a=d;break d}if(K[b+4>>2]>d>>>0){break a}a=H[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=H[b+12>>2]-2|0;H[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=I[d|0]|I[d+1|0]<<8;if(!e){break d}if(Fe(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=H[b+28>>2];if(e>>>0>31){break a}H[b+28>>2]=e+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}g=1;if(!(f&128)){break a}if(K[b+4>>2]>a>>>0){return 0}d=H[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){return 0}d=I[a|0]|I[a+1|0]<<8;if(!d){break a}if(Fe(((d<<8|d>>>8)&65535)+c|0,b)){break a}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;g=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;g=1}return g}function Xe(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=Wa-16|0;Wa=f;a:{if(H[a+20>>2]){break a}b:{b=H[a+24>>2];if(b){break b}c=H[a+32>>2]+1|0;e=a+28|0;d=H[e>>2];c:{if((d|0)<0){break c}g=1;if(c>>>0<=d>>>0){break c}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}c=-1;g=0;d:{if(b>>>0>>0|b>>>0>1073741822){break d}d=Eb(H[e+8>>2],b<<2);if(!d){break d}H[e+8>>2]=d;g=1;c=b}H[e>>2]=c}e:{if(!g){break e}b=Ab(1,576);H[f+12>>2]=b;if(!b){break e}f:{g:{h:{d=H[e>>2];if((d|0)>=0){b=H[e+4>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break g}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){d=Eb(H[e+8>>2],b<<2);if(d){break h}}H[e>>2]=-1}H[64760]=H[40908];break f}H[e>>2]=b;H[e+8>>2]=d;b=H[e+4>>2]}if(b>>>0>>0){kb(H[e+8>>2]+(b<<2)|0,0,c-b<<2)}H[e+4>>2]=c;b=H[e+8>>2];H[64760]=H[40908];b=(b+(c<<2)|0)-4|0;if((b|0)!=259040){H[b>>2]=H[f+12>>2]}}b=H[f+12>>2];H[b+540>>2]=0;H[b+504>>2]=b+540;H[b+468>>2]=b+504;H[b+432>>2]=b+468;H[b+396>>2]=b+432;H[b+360>>2]=b+396;H[b+324>>2]=b+360;H[b+288>>2]=b+324;H[b+252>>2]=b+288;H[b+216>>2]=b+252;H[b+180>>2]=b+216;H[b+144>>2]=b+180;H[b+108>>2]=b+144;H[b+72>>2]=b+108;H[b+36>>2]=b+72;H[b>>2]=b+36;H[a+24>>2]=b;break b}if(H[a+20>>2]){break a}H[a+20>>2]=1;break a}H[a+24>>2]=H[b>>2];H[b+32>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[b>>2]=H[a+4>>2];H[b+4>>2]=H[a+8>>2];H[b+32>>2]=H[a+40>>2];H[a+40>>2]=b}Wa=f+16|0;return H[a+4>>2]}function Pd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;i=Wa-32|0;Wa=i;H[i+16>>2]=c;H[i+24>>2]=b;c=i+8|0;b=H[d+28>>2];H[c>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;b=aa(998,c|0)|0;c=H[65057];H[65057]=0;if((c|0)!=1){c=H[i+8>>2];j=H[c+4>>2]-1|0;H[c+4>>2]=j;if((j|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}H[e>>2]=0;c=0;a:{while(1){if(c|(g|0)==(h|0)){break a}b:{if(se(i+24|0,i+16|0)){break b}c:{if((Ya[H[H[b>>2]+52>>2]](b,H[g>>2],0)|0)==37){c=g+4|0;if((h|0)==(c|0)){break b}k=0;j=Ya[H[H[b>>2]+52>>2]](b,H[c>>2],0)|0;d:{if(!((j|0)==69|(j&255)==48)){c=g;break d}if((g+8|0)==(h|0)){break b}k=j;j=Ya[H[H[b>>2]+52>>2]](b,H[g+8>>2],0)|0}l=i,m=Ya[H[H[a>>2]+36>>2]](a,H[i+24>>2],H[i+16>>2],d,e,f,j,k)|0,H[l+24>>2]=m;g=c+8|0;break c}if(Ya[H[H[b>>2]+12>>2]](b,8192,H[g>>2])|0){while(1){e:{g=g+4|0;if((h|0)==(g|0)){g=h;break e}if(Ya[H[H[b>>2]+12>>2]](b,8192,H[g>>2])|0){continue}}break}while(1){if(!lh(i+24|0,i+16|0)){break c}c=H[i+24>>2];j=H[c+12>>2];f:{if((j|0)==H[c+16>>2]){c=Ya[H[H[c>>2]+36>>2]](c)|0;break f}c=H[j>>2]}if(!(Ya[H[H[b>>2]+12>>2]](b,8192,c)|0)){break c}qf(i+24|0);continue}}c=H[i+24>>2];j=H[c+12>>2];g:{if((j|0)==H[c+16>>2]){c=Ya[H[H[c>>2]+36>>2]](c)|0;break g}c=H[j>>2]}if((Ya[H[H[b>>2]+28>>2]](b,c)|0)==(Ya[H[H[b>>2]+28>>2]](b,H[g>>2])|0)){g=g+4|0;qf(i+24|0);break c}H[e>>2]=4}c=H[e>>2];continue}break}H[e>>2]=4}if(se(i+24|0,i+16|0)){H[e>>2]=H[e>>2]|2}Wa=i+32|0;return H[i+24>>2]}c=$()|0;_()|0;a=H[i+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Wa-17408|0;Wa=e;d=96;a:{if(!a){break a}a=H[b+4>>2];d=20;if(!a){break a}f=G[a+2>>1];d=0;if(!f){break a}c=G[a>>1];d=0;if((c|0)<=0){break a}g=H[a+12>>2];d=20;if(!g){break a}d=20;if(!H[a+4>>2]){break a}d=20;if((f|0)!=(G[((c<<1)+g|0)-2>>1]+1|0)){break a}d=19;if(I[b+8|0]&3){break a}b=H[b>>2];d=20;if(!b){break a}d=0;if(!H[b+4>>2]){break a}d=0;if(!H[b>>2]){break a}d=20;if(!H[b+12>>2]){break a}H[e+16520>>2]=H[a+16>>2];f=H[a+12>>2];c=e+16512|0;H[c>>2]=H[a+8>>2];H[c+4>>2]=f;c=H[a+4>>2];H[e+16504>>2]=H[a>>2];H[e+16508>>2]=c;c=H[b+12>>2];a=e+16488|0;H[a>>2]=H[b+8>>2];H[a+4>>2]=c;c=H[b+20>>2];a=e+16496|0;H[a>>2]=H[b+16>>2];H[a+4>>2]=c;a=H[b+4>>2];H[e+16480>>2]=H[b>>2];H[e+16484>>2]=a;a=e+16384|0;H[e+16412>>2]=a;H[e+16408>>2]=e;b=H[a+136>>2];c=b&256;H[a+20>>2]=c?30:2;H[a+16>>2]=c?256:32;c=c?12:6;H[a>>2]=c;c=1<>2]=c;H[a+12>>2]=c>>>6;H[a+8>>2]=c>>>1;b:{if(b&8){F[a+164|0]=2;break b}c=b>>>2&4;F[a+164|0]=c;if(b&32){break b}F[a+164|0]=c|1}H[a+1008>>2]=0;H[a+160>>2]=53;H[a+156>>2]=54;H[a+152>>2]=55;H[a+148>>2]=56;G[a+944>>1]=0;c=H[a+96>>2]-1|0;G[a+946>>1]=c;G[a+52>>1]=H[a+100>>2];f=H[a+108>>2];H[a+56>>2]=f;F[a+165|0]=(b>>>9^-1)&1;b=H[a+104>>2];if((b|0)>0){H[a+56>>2]=f+N(b,c)}b=Wm(a,0);c:{if(b){break c}if(!(!I[a+165|0]|I[a+164|0]==2)){H[a+1008>>2]=0;H[a+160>>2]=57;H[a+156>>2]=58;H[a+152>>2]=59;H[a+148>>2]=60;G[a+944>>1]=0;G[a+946>>1]=J[a+100>>1]-1;b=Wm(a,1);if(b){break c}}b=0}d=b}c=d;Wa=e+17408|0;return c|0}function Wf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=N(d,1348)+a|0;k=H[f+44>>2];g=b?H[(N(b,12)+c|0)-12>>2]:0;e=H[H[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(N(e,6e3)|0)/2048|0;a:{if((k|0)<=0){break a}c=H[f+52>>2];h=c+N(k,44)|0;m=e+255>>>0<511?1:b;i=H[(N(d,1348)+a|0)+68>>2];b:{if(!g){b=c;while(1){if((i|0)==F[b+1|0]){e=G[b+2>>1];a=c;while(1){c:{if((i|0)!=(0-F[a+1|0]|0)){break c}f=G[a+2>>1];if((f|0)<=(e|0)){break c}g=G[b+8>>1];d=G[a+8>>1];j=(d|0)>(g|0)?g:d;g=G[b+6>>1];d=G[a+6>>1];d=j-((d|0)<(g|0)?g:d)|0;if((d|0)<(m|0)){break c}d=(f-e|0)+((l|0)/(d|0)|0)|0;if((d|0)>2]){H[b+20>>2]=a;H[b+28>>2]=d}if((d|0)>=H[a+28>>2]){break c}H[a+20>>2]=b;H[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}break b}b=c;while(1){if((i|0)==F[b+1|0]){j=G[b+2>>1];a=c;while(1){d:{if((i|0)!=(0-F[a+1|0]|0)){break d}e=G[a+2>>1];if((e|0)<=(j|0)){break d}f=G[b+8>>1];d=G[a+8>>1];n=(d|0)>(f|0)?f:d;f=G[b+6>>1];d=G[a+6>>1];f=n-((d|0)<(f|0)?f:d)|0;if((f|0)<(m|0)){break d}d=(e-j<<10)/(g|0)|0;e=32e3;e:{if((d|0)>11024){break e}e=0;if((d|0)<1025){break e}d=d-1024|0;e=(N(d,d)>>>0)/3e3|0}d=e+((l|0)/(f|0)|0)|0;if((d|0)>2]){H[b+20>>2]=a;H[b+28>>2]=d}if((d|0)>=H[a+28>>2]){break d}H[a+20>>2]=b;H[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}}if((k|0)<=0){break a}while(1){a=H[c+20>>2];if(!(!a|H[a+20>>2]==(c|0))){H[c+20>>2]=0;H[c+24>>2]=H[a+20>>2]}c=c+44|0;if(h>>>0>c>>>0){continue}break}}}function sh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Wa-16|0;Wa=k;f=6;a:{if(!a){break a}g=H[a+12>>2];if(g>>>0<=b>>>0){break a}l=H[a>>2];b:{c:{d:{e:{f:{h=H[a+28>>2];if(!h){f=ob(l,(H[a+8>>2]+H[a+4>>2]|0)+N(I[a+16|0],b)|0);if(f){break a}f=ec(H[a>>2],k+8|0,I[a+16|0]);if(f){break a}g:{f=I[a+16|0];if(f){h=0;if(f-1>>>0>=3){i=f&252;while(1){g=e;e=e+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}i=k+8|0;i=I[i+(g|3)|0]|(I[i+(g|2)|0]|(I[i+g|0]<<16|I[i+(g|1)|0]<<8))<<8}g=f&3;if(g){while(1){i=I[(k+8|0)+e|0]|i<<8;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(i){break g}}i=0;f=0;break e}while(1){f=ec(H[a>>2],k+12|0,f&255);h:{if(f){break h}m=I[a+16|0];if(!m){break h}j=0;h=0;e=0;if(m-1>>>0>=3){n=m&252;while(1){g=h;h=g+4|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}e=k+12|0;e=I[e+(g|3)|0]|(I[e+(g|2)|0]|(I[e+g|0]<<16|I[e+(g|1)|0]<<8))<<8}g=m&3;if(g){while(1){e=I[(k+12|0)+h|0]|e<<8;h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>=K[a+12>>2]){break e}f=I[a+16|0];continue}}f=0;i=H[h+(b<<2)>>2];if(!i){break e}while(1){b=b+1|0;e=H[h+(b<<2)>>2];if(e){break f}if((b|0)!=(g|0)){continue}break}break e}f=0;b=H[l+4>>2];h=b+1|0;if(h>>>0>=e>>>0){break d}j=H[a+20>>2];break c}b=H[l+4>>2];e=0}j=H[a+20>>2];h=b+1|0;if(j>>>0<=h-e>>>0){break b}}e=h-j|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;H[d>>2]=b;d=H[a+32>>2];if(d){H[c>>2]=(d+i|0)-1;break a}f=ob(l,(H[a+20>>2]+i|0)-1|0);if(f){break a}f=Jc(l,b,c);break a}H[c>>2]=0;H[d>>2]=0}Wa=k+16|0;return f}function _u(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=Wa-16|0;Wa=h;b=H[b>>2];H[h+12>>2]=0;a:{if(!b){e=35;break a}e=6;g=H[b+132>>2];if(!g|K[b+16>>2]<=c>>>0){break a}e=J[g+4>>1];b=(e|0)==768;c=N(c?c-1|0:I[g+106|0],b?6:4)+(b?148:118)|0;b:{f=b?-4:-2;b=H[g+8>>2];if(c>>>0>=(f+b|0)-2>>>0){break b}c=c+H[g+160>>2]|0;i=I[c|0]|I[c+1|0]<<8;H[a+80>>2]=i;f=b;c=c+2|0;j=I[c|0];if((e|0)==768){b=I[c+2|0]<<16|I[c+3|0]<<24|I[c+1|0]<<8}else{b=I[c+1|0]<<8}b=j|b;if(f>>>0<=b>>>0){break b}c=J[g+96>>1];e=0;H[a+100>>2]=0;F[a+94|0]=1;H[a+76>>2]=c;f=J[g+80>>1];H[a+72>>2]=1651078259;H[a+104>>2]=f;i=i<<6;H[a+40>>2]=i;c=c<<6;H[a+28>>2]=c;H[a+24>>2]=i;H[a+32>>2]=0;H[a+36>>2]=f<<6;ff(a+24|0,c);if(d&4194304){break a}e=3;c=H[H[a+4>>2]+100>>2];i=H[g+160>>2];d=H[a+80>>2]+7|0;f=d>>>3|0;H[a+84>>2]=f;if(d>>>0<8){break a}j=H[g+8>>2];g=H[a+76>>2];if(j>>>0>>0){break a}c=jb(c,f,0,g,0,h+12|0);H[a+88>>2]=c;e=H[h+12>>2];if(e){break a}b=b+i|0;if(d&8){d=H[a+76>>2];if((d|0)>0){d=b+d|0;e=c;while(1){F[e|0]=I[b|0];e=H[a+84>>2]+e|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}c=c+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){e=H[a+76>>2];if((e|0)>0){f=b+e|0;e=c;while(1){F[e|0]=I[b|0];e=H[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=H[a+76>>2];if((e|0)>0){f=b+e|0;e=c+1|0;while(1){F[e|0]=I[b|0];e=H[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+2|0;d=d-2|0;if(d){continue}break}}e=H[h+12>>2];H[H[a+156>>2]+4>>2]=1;break a}e=3;H[h+12>>2]=3}Wa=h+16|0;return e|0}function bG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;a=Wa-160|0;Wa=a;H[a+144>>2]=c;H[a+152>>2]=b;H[a+20>>2]=1037;h=ic(a+24|0,a+32|0,a+20|0);H[65057]=0;b=H[e+28>>2];H[a+16>>2]=b;H[b+4>>2]=H[b+4>>2]+1;b=H[65057];H[65057]=0;a:{b:{c:{d:{if((b|0)!=1){H[65057]=0;i=aa(892,a+16|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break b}F[a+15|0]=0;b=H[e+4>>2];H[65057]=0;b=va(1038,a+152|0,c|0,d|0,a+16|0,b|0,f|0,a+15|0,i|0,h|0,a+20|0,a+132|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}if(!b){break c}b=Wa-16|0;Wa=b;e:{if(I[g+11|0]>>>7|0){c=H[g>>2];F[b+15|0]=0;F[c|0]=I[b+15|0];H[g+4>>2]=0;break e}F[b+14|0]=0;F[g|0]=I[b+14|0];F[g+11|0]=0}Wa=b+16|0;if(!I[a+15|0]){break d}H[65057]=0;b=ca(1016,i|0,45)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}H[65057]=0;da(905,g|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){break d}break b}e=$()|0;_()|0;break a}H[65057]=0;b=ca(1016,i|0,48)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}e=H[h>>2];c=H[a+20>>2];d=c-1|0;b=b&255;while(1){if(!((b|0)!=I[e|0]|d>>>0<=e>>>0)){e=e+1|0;continue}break}H[65057]=0;ka(1046,g|0,e|0,c|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){break c}break b}H[65057]=0;b=ca(974,a+152|0,a+144|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}if(b){H[f>>2]=H[f>>2]|2}d=H[a+152>>2];b=H[a+16>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}Hb(h);Wa=a+160|0;return d|0}e=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}}Hb(h);ba(e|0);X()}function XF(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;a=Wa-448|0;Wa=a;H[a+432>>2]=c;H[a+440>>2]=b;H[a+20>>2]=1037;h=ic(a+24|0,a+32|0,a+20|0);H[65057]=0;b=H[e+28>>2];H[a+16>>2]=b;H[b+4>>2]=H[b+4>>2]+1;b=H[65057];H[65057]=0;a:{b:{c:{d:{if((b|0)!=1){H[65057]=0;i=aa(998,a+16|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break b}F[a+15|0]=0;b=H[e+4>>2];H[65057]=0;b=va(1048,a+440|0,c|0,d|0,a+16|0,b|0,f|0,a+15|0,i|0,h|0,a+20|0,a+432|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}if(!b){break c}b=Wa-16|0;Wa=b;e:{if(I[g+11|0]>>>7|0){c=H[g>>2];H[b+12>>2]=0;H[c>>2]=H[b+12>>2];H[g+4>>2]=0;break e}H[b+8>>2]=0;H[g>>2]=H[b+8>>2];F[g+11|0]=0}Wa=b+16|0;if(!I[a+15|0]){break d}H[65057]=0;b=ca(1027,i|0,45)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}H[65057]=0;da(1052,g|0,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){break d}break b}e=$()|0;_()|0;break a}H[65057]=0;b=ca(1027,i|0,48)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}e=H[h>>2];c=H[a+20>>2];d=c-4|0;while(1){if(!((b|0)!=H[e>>2]|d>>>0<=e>>>0)){e=e+4|0;continue}break}H[65057]=0;ka(1055,g|0,e|0,c|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){break c}break b}H[65057]=0;b=ca(1004,a+440|0,a+432|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break b}if(b){H[f>>2]=H[f>>2]|2}d=H[a+440>>2];b=H[a+16>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}Hb(h);Wa=a+448|0;return d|0}e=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}}Hb(h);ba(e|0);X()}function Ws(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=O(0),j=0,k=O(0),l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=I[a+2|0]|I[a+3|0]<<8;e=f&128;a:{if(e){q=a+4|0;d=N(f>>>5&2|f>>>7&1,c);g=c>>>0>d>>>0?d:c;break a}g=f&65295;h=N((g<<8|g>>>8)&4095,c);g=H[d+4>>2];if(h>>>0>=g>>>0){return O(O(0))}q=H[d>>2]+(h<<1)|0;d=g-h|0;d=d>>>0>g>>>0?0:d;g=c>>>0>d>>>0?d:c}b:{if(!(f&64)){k=O(1);if(!c){break b}d=0;while(1){i=k;a=d>>>0>>0?(d<<1)+q|0:163632;a=I[a|0]|I[a+1|0]<<8;c:{if(!a){break c}e=H[(d<<2)+b>>2];a=(a<<8|a>>>8)<<16>>16;if((e|0)==(a|0)){break c}k=O(0);if(!e|(e|0)<(a&a>>31)|(e|0)>(((a|0)>0?a:0)|0)){break b}i=O(i*O(O(e|0)/O(a|0)))}k=i;d=d+1|0;if((d|0)!=(c|0)){continue}break}break b}k=O(1);if(!c){break b}d=0;f=N(f>>>5&2|f>>>7&1,c);h=e?c:0;l=h+c|0;e=f-l|0;e=e>>>0>f>>>0?0:e;r=c>>>0>e>>>0?e:c;e=f-h|0;e=e>>>0>f>>>0?0:e;f=c>>>0>e>>>0?e:c;a=a+4|0;h=a+(h<<1)|0;e=a+(l<<1)|0;while(1){i=k;j=d<<1;a=d>>>0>>0?j+q|0:163632;o=I[a|0]|I[a+1|0]<<8;d:{if(!o){break d}m=H[(d<<2)+b>>2];n=(o<<8|o>>>8)<<16>>16;if((m|0)==(n|0)){break d}a=d>>>0>>0?h+j|0:163632;l=I[a|0]|I[a+1|0]<<8;p=(l<<8|l>>>8)<<16>>16;if((p|0)>(n|0)){break d}a=d>>>0>>0?e+j|0:163632;a=I[a|0]|I[a+1|0]<<8;j=(a<<8|a>>>8)<<16>>16;if((j|0)<(n|0)|!((j|0)<=0|(p|0)>=0)){break d}k=O(0);if((m|0)<(p|0)|(j|0)<(m|0)){break b}if((m|0)<(n|0)){if((l|0)==(o|0)){break d}i=O(i*O(O(m-p|0)/O(n-p|0)));break d}if((a|0)==(o|0)){break d}i=O(i*O(O(j-m|0)/O(j-n|0)))}k=i;d=d+1|0;if((d|0)!=(c|0)){continue}break}}return O(k)}function mE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a=Wa-16|0;Wa=a;H[a+12>>2]=c;H[a+8>>2]=f;H[a+12>>2]=c;H[a+8>>2]=f;a:{b:{c:{while(1){d:{c=H[a+12>>2];if(c>>>0>=d>>>0){break d}j=H[a+8>>2];if(j>>>0>=g>>>0){break d}b=2;f=I[c|0];if(f>>>0>1114111){break b}e:{if(f<<24>>24>=0){G[j>>1]=f;b=c+1|0;break e}if(f>>>0<194){break b}if(f>>>0<=223){if((d-c|0)<2){break c}i=I[c+1|0];if((i&192)!=128){break a}f=i&63|f<<6&1984;if(f>>>0>1114111){break a}G[j>>1]=f;b=c+2|0;break e}if(f>>>0<=239){if((d-c|0)<3){break c}k=I[c+2|0];i=I[c+1|0];f:{g:{if((f|0)!=237){if((f|0)!=224){break g}if((i&224)==160){break f}break a}if((i&224)==128){break f}break a}if((i&192)!=128){break a}}if((k&192)!=128){break a}f=k&63|((i&63)<<6|f<<12);if((f&65535)>>>0>1114111){break a}G[j>>1]=f;b=c+3|0;break e}if(f>>>0>244){break b}b=1;if((d-c|0)<4){break a}k=I[c+2|0];i=I[c+1|0];h:{i:{switch(f-240|0){case 0:if((i+112&255)>>>0>=48){break b}break h;case 4:if((i&240)!=128){break b}break h;default:break i}}if((i&192)!=128){break b}}if((k&192)!=128){break b}c=I[c+3|0];if((c&192)!=128){break b}if((g-j|0)<4){break a}b=2;c=c&63;l=k<<6;f=f&7;if((c|(l&4032|(i<<12&258048|f<<18)))>>>0>1114111){break a}b=i<<2;G[j>>1]=(k>>>4&3|(b&192|f<<8|b&60))+16320|55296;H[a+8>>2]=j+2;G[j+2>>1]=c|l&960|56320;b=H[a+12>>2]+4|0}H[a+12>>2]=b;H[a+8>>2]=H[a+8>>2]+2;continue}break}b=c>>>0>>0;break a}b=1;break a}b=2}H[e>>2]=H[a+12>>2];H[h>>2]=H[a+8>>2];Wa=a+16|0;return b|0}function wl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;c=1;a:{b:{switch(I[a+3|0]){case 0:c=Vh(a+8|0,b);break a;case 1:c=0;H[f+12>>2]=0;j=a+8|0;if(!vl(j,b,f+12|0)){break a}H[f+8>>2]=0;c=a+16|0;a=H[b+4>>2];c:{d:{if(c>>>0>>0){break d}d=H[b+8>>2];if(c>>>0>d>>>0|d-c>>>0<2){break d}i=H[b+12>>2]-2|0;H[b+12>>2]=i;if((i|0)<=0){break d}h=H[f+8>>2];if(h>>>0>2147483646){break d}g=1;if(!h){break c}g=a;a=I[c|0]|I[c+1|0]<<8;a=j+((a<<8|a>>>8)&65535)|0;if(g>>>0>a>>>0|a>>>0>d>>>0){break d}d=d-a|0;c=h<<1;if(d>>>0>>0){break d}c=i-c|0;H[b+12>>2]=c;if(d>>>0<2|(c|0)<=0){break d}H[b+12>>2]=c-2;e:{if((c|0)<=2){break e}e=a;c=0;while(1){e=I[e|0]|I[e+1|0]<<8;if(!td(a+((e<<8|e>>>8)&65535)|0,b)){break e}e=1;c=c+1|0;if((h|0)==(c|0)){break d}e=a+(c<<1)|0;if(e>>>0>2]){break e}d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break e}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)>0){continue}break}}e=0}g=e}c=g;break a;case 2:c=0;e=a+8|0;if(e>>>0>2]){break a}d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<28){break a}d=H[b+12>>2]-28|0;H[b+12>>2]=d;if((d|0)<=0){break a}if(!Vh(e,b)|!(I[a+16|0]|I[a+17|0]<<8)|!(I[a+18|0]|I[a+19|0]<<8)){break a}c=(I[a+20|0]|I[a+21|0]<<8)!=0;break a;case 4:c=td(a+8|0,b);break a;case 5:break b;default:break a}}c=0;e=a+8|0;if(e>>>0>2]){break a}d=H[b+8>>2];if(d>>>0>>0|d-e>>>0<20){break a}d=H[b+12>>2]-20|0;H[b+12>>2]=d;if((d|0)<=0){break a}if(!vl(e,b,0)){break a}c=(I[a+16|0]|I[a+17|0]<<8)!=0}Wa=f+16|0;return c|0}function zh(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Wa-32|0;Wa=g;a:{if(I[b+16|0]&16){break a}i=H[b+68>>2];if(!i){break a}j=H[b+80>>2];while(1){if((I[(j+N(h,20)|0)+15|0]&15)!=(c|0)){h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}H[g+28>>2]=0;i=a;h=H[a+84>>2];a=H[a+80>>2];if(!(Ya[H[a+164>>2]](i,h,9676,g+28|0,H[a+20>>2])|0)){break a}l=H[g+28>>2];H[b+72>>2]=0;H[b+64>>2]=0;F[b+61|0]=1;F[b+62|0]=0;H[b+84>>2]=H[b+80>>2];H[b+64>>2]=0;k=H[b+68>>2];b:{if(!k){break b}m=(f|0)==-1?0:f;f=g+8|4;h=0;if((e|0)==-1){a=0;while(1){if(!I[b+60|0]){break b}i=H[b+80>>2]+N(h,20)|0;e=I[i+15|0];c:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Ld(b);break c}H[g+8>>2]=l;G[f+6>>1]=0;G[f+8>>1]=0;G[f+10>>1]=0;G[f+12>>1]=0;H[f>>2]=0;H[f+4>>2]=0;F[g+27|0]=m;F[g+26|0]=d;H[g+16>>2]=H[i+8>>2];H[g+12>>2]=H[i+4>>2];F[g+23|0]=I[i+15|0];dr(b,g+8|0);a=e}h=H[b+64>>2];if(h>>>0>2]){continue}break}break b}a=0;while(1){if(!I[b+60|0]){break b}j=H[b+80>>2]+N(h,20)|0;i=I[j+15|0];d:{if(!((i|0)==(a|0)|(i&15)!=(c|0))){H[g+8>>2]=l;G[f+6>>1]=0;G[f+8>>1]=0;G[f+10>>1]=0;G[f+12>>1]=0;H[f>>2]=0;H[f+4>>2]=0;F[g+27|0]=m;F[g+26|0]=d;H[g+16>>2]=H[j+8>>2];H[g+12>>2]=H[j+4>>2];F[g+23|0]=I[j+15|0];e:{if(h>>>0>=k>>>0){break e}while(1){a=H[b+80>>2]+N(h,20)|0;if((i|0)!=I[a+15|0]|I[a+18|0]!=(e|0)){break e}Ld(b);h=H[b+64>>2];if(h>>>0>=K[b+68>>2]){break e}if(I[b+60|0]){continue}break}}dr(b,g+8|0);a=i;break d}Ld(b)}h=H[b+64>>2];k=H[b+68>>2];if(h>>>0>>0){continue}break}}ad(b)}Wa=g+32|0}function FL(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=163632;h=163632;a=xe(a,b);b=I[a+4|0]|I[a+5|0]<<8;if(b){h=a+((b<<8|b>>>8)&65535)|0}a=I[h|0]|I[h+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>c>>>0?(N(c,6)+h|0)+2|0:163632;a=I[a+4|0]|I[a+5|0]<<8;if(a){j=((a<<8|a>>>8)&65535)+h|0}k=I[j+2|0]|I[j+3|0]<<8;a:{b:{c:{d:{e:{f:{if(!d){break f}c=65535;if(!k){break e}h=((k<<8|k>>>8)&65535)-1|0;if(!f){while(1){l=H[(i<<2)+e>>2];b=0;a=h;while(1){c=a+b>>>1|0;g=N(c,6)+j|0;g=I[g+4|0]|I[g+5|0]<<8|(I[g+6|0]<<16|I[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break d}b=c+1|0;break g}a=c-1|0}if((a|0)>=(b|0)){continue}break}i=i+1|0;if((i|0)!=(d|0)){continue}break f}}while(1){l=H[(i<<2)+e>>2];b=0;a=h;while(1){c=a+b>>>1|0;g=N(c,6)+j|0;g=I[g+4|0]|I[g+5|0]<<8|(I[g+6|0]<<16|I[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h:{if(g>>>0>l>>>0){a=c-1|0;break h}if((g|0)==(l|0)){break d}b=c+1|0}if((a|0)>=(b|0)){continue}break}H[f>>2]=65535;i=i+1|0;if((i|0)!=(d|0)){continue}break}}c=65535;if(!k){break e}a=((k<<8|(k&65280)>>>8)&65535)-1|0;b=0;while(1){d=a+b>>>1|0;e=N(d,6)+j|0;e=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i:{if(e>>>0>=1684434037){a=d-1|0;break i}if((e|0)==1684434036){break c}b=d+1|0}if((a|0)>=(b|0)){continue}break}}h=0;if(!f){break a}break b}h=1;if(f){break b}break a}h=0;c=d;if(!f){break a}}H[f>>2]=c}return h|0}function xl(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=H[b+4>>2];d=a+4|0;a:{if(e>>>0>d>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}g=H[b+12>>2]-4|0;H[b+12>>2]=g;if((g|0)<=0){break a}d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<12|a>>>0>>0|(a>>>0>c>>>0|d>>>0>c-a>>>0)){break a}g=g-d|0;H[b+12>>2]=g;if((g|0)<=0){break a}h=I[a+8|0]|I[a+9|0]<<8;d=N((h<<8|h>>>8)&65535,12);if(h){h=e;e=a+12|0;if(h>>>0>e>>>0|c>>>0>>0|d>>>0>c-e>>>0){break a}c=g-d|0;H[b+12>>2]=c;if((c|0)<=0){break a}}c=I[a+10|0]|I[a+11|0]<<8;if(!c){return 1}c=(c<<8|c>>>8)&65535;g=c>>>0>1?c:1;a=(a+d|0)+12|0;c=0;while(1){f=0;b:{if(K[b+4>>2]>a>>>0){break b}d=H[b+8>>2];if(d>>>0>>0){break b}h=d-a|0;if(h>>>0<2){break b}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break b}d=I[a|0]|I[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<9|d>>>0>h>>>0){break b}e=e-d|0;H[b+12>>2]=e;if((e|0)<=0){break b}e=H[b+32>>2];f=H[e+12>>2];H[b+4>>2]=f;e=f+H[e+16>>2]|0;H[b+8>>2]=e;c:{if(!(a>>>0>>0&a>>>0>=f>>>0)){H[b+4>>2]=0;H[b+8>>2]=0;break c}H[b+4>>2]=a;f=e-a|0;H[b+8>>2]=(d>>>0>f>>>0?f:d)+a}H[65057]=0;f=wl(a,b);d=H[65057];H[65057]=0;d:{if((d|0)==1){break d}d=H[b+32>>2];e=H[d+12>>2];H[b+4>>2]=e;H[b+8>>2]=e+H[d+16>>2];break b}a=$()|0;_()|0;c=H[b+32>>2];f=H[c+12>>2];H[b+4>>2]=f;H[b+8>>2]=f+H[c+16>>2];ba(a|0);X()}if(!f){break a}e=a;a=I[a|0]|I[a+1|0]<<8;a=e+((a<<8|a>>>8)&65535)|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}return f}function ij(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{c=N(b,1348)+a|0;e=H[c+56>>2];if((e|0)<=0){break a}f=H[a+24>>2];if((f|0)<=0){break a}a=H[a+28>>2];m=a+N(f,40)|0;j=b?8:4;n=j|16;g=H[c- -64>>2];i=(g+N(e,44)|0)-44|0;k=(b|0)==1;o=k?14:12;p=(e|0)==2;q=(e|0)==3;r=(e|0)==5;s=(e|0)==6;t=(e|0)==7;u=b?20:16;while(1){if(!(J[a>>1]&n)){b=H[(k?8:4)+a>>2];v=a+u|0;d=G[a+o>>1];f=G[g>>1];h=(d|0)>(f|0);c=(b+H[g+8>>2]|0)-H[g+4>>2]|0;b:{if(!h){break b}c=(b+H[i+8>>2]|0)-H[i+4>>2]|0;if(G[i>>1]<=(d|0)){break b}b=0;c:{c=e;d:{if(c>>>0<=8){b=h?e:0;e:{if((e|0)==1|(d|0)<=(f|0)){break e}c=G[g+44>>1];b=(c|0)<(d|0)?e:1;if(p|(c|0)>=(d|0)){break e}c=G[g+88>>1];b=(c|0)<(d|0)?e:2;if(q|(c|0)>=(d|0)){break e}c=G[g+132>>1];b=(c|0)<(d|0)?e:3;if((e|0)==4|(c|0)>=(d|0)){break e}c=G[g+176>>1];b=(c|0)<(d|0)?e:4;if(r|(c|0)>=(d|0)){break e}c=G[g+220>>1];b=(c|0)<(d|0)?e:5;if(s|(c|0)>=(d|0)){break e}c=G[g+264>>1];b=(c|0)<(d|0)?e:6;if(t|(c|0)>=(d|0)){break e}b=G[g+308>>1]<(d|0)?(e|0)==8?e:8:7}c=N(b,44)+g|0;if(J[c>>1]!=(d&65535)){break d}c=H[c+8>>2];break b}while(1){f=b+c>>1;h=N(f,44)+g|0;l=G[h>>1];f:{if((l|0)>(d|0)){c=f;break f}if((d|0)<=(l|0)){break c}b=f+1|0}if((b|0)<(c|0)){continue}break}}c=N(b,44)+g|0;b=c-44|0;f=H[c-28>>2];if(!f){f=pb(H[c+8>>2]-H[b+8>>2]|0,G[c>>1]-G[b>>1]|0);H[b+16>>2]=f}c=H[b+8>>2]+ib(d-G[b>>1]|0,f)|0;break b}c=H[h+8>>2]}H[v>>2]=c;G[a>>1]=J[a>>1]|j}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function Uo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=H[a+8>>2];m=H[a+12>>2];i=H[m+36>>2];a:{b:{if((i|0)<=0){k=6;if(!i){break b}break a}h=Ya[H[j+4>>2]](j,i)|0;if(!h){k=64;h=0;break a}kb(h,0,i)}H[h+100>>2]=j;H[h+96>>2]=a;H[h+104>>2]=H[b>>2];if(c){H[h+8>>2]=H[h+8>>2]|1024}c:{l=Ya[H[j+4>>2]](j,68)|0;if(!l){k=64;break c}i=0;c=kb(l,0,68);H[h+128>>2]=c;d:{if((e|0)<=0){break d}a=0;while(1){if(i){break d}i=0;k=(a<<3)+f|0;if(H[k>>2]==1768842098){i=H[k+4>>2];H[c+52>>2]=i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}H[c+60>>2]=-1;a=H[m+48>>2];e:{if(!a){H[b>>2]=H[h+104>>2];break e}k=Ya[a|0](H[b>>2],h,d,e,f)|0;H[b>>2]=H[h+104>>2];if(k){break c}}b=H[h+40>>2];f:{if(!b){break f}a=b+(H[h+36>>2]<<2)|0;c=a-4|0;g:{if(b>>>0<=c>>>0){while(1){i=H[c>>2];h:{if(H[i+4>>2]!=1970170211){break h}i:{switch(J[i+8>>1]){case 3:if(J[i+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(J[i+10>>1]==4){break g}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break f}i=H[a>>2];if(H[i+4>>2]!=1970170211){continue}break}}H[h+92>>2]=i}H[g>>2]=h;return 0}if(H[h+36>>2]>0){i=0;while(1){c=i<<2;a=H[c+H[h+40>>2]>>2];b=H[H[a>>2]+100>>2];d=H[H[a+12>>2]+8>>2];if(d){Ya[d|0](a)}Ya[H[b+8>>2]](b,a);H[c+H[h+40>>2]>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}a=H[h+40>>2];if(a){Ya[H[j+8>>2]](j,a)}H[h+36>>2]=0;H[h+40>>2]=0}a=H[m+52>>2];if(a){Ya[a|0](h)}if(l){Ya[H[j+8>>2]](j,l)}if(h){Ya[H[j+8>>2]](j,h)}H[g>>2]=0;return k}function hs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=H[b+4>>2];if(h>>>0>a>>>0){return 0}d=H[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}e=H[b+12>>2];g=e-2|0;H[b+12>>2]=g;f=1;if((g|0)<=0){return 0}g=I[a|0]|I[a+1|0]<<8;a:{if(!g){break a}b:{g=((g<<8|g>>>8)&65535)+c|0;if(g>>>0>>0|d>>>0>>0|d-g>>>0<2){break b}c=e-4|0;H[b+12>>2]=c;if((c|0)<=0){break b}e=I[g|0]|I[g+1|0]<<8;if(!e){break a}f=g+2|0;if(f>>>0>>0|d>>>0>>0){break b}i=d-f|0;d=(e<<8|e>>>8)&65535;f=N(d,6);if(i>>>0>>0){break b}c=c-f|0;H[b+12>>2]=c;if((c|0)<=0){break b}k=d>>>0>1?d:1;h=0;while(1){f=Wa-16|0;Wa=f;c=(g+N(h,6)|0)+2|0;d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);H[f+12>>2]=g;H[f+8>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);d=H[b+4>>2];c:{if(c>>>0>>0){c=0;break c}e=H[b+8>>2];if(e>>>0>>0){c=0;break c}if(e-c>>>0<6){c=0;break c}j=H[b+12>>2];i=j-6|0;H[b+12>>2]=i;if((i|0)<=0){c=0;break c}i=d;d=c+4|0;if(i>>>0>d>>>0){c=0;break c}if(d>>>0>e>>>0){c=0;break c}if(e-d>>>0<2){c=0;break c}e=j-8|0;H[b+12>>2]=e;c=1;if((e|0)<=0){c=0;break c}e=I[d|0]|I[d+1|0]<<8;if(!e){break c}if(fs(g+((e<<8|e>>>8)&65535)|0,b,f+8|0)){break c}c=H[b+28>>2];if(c>>>0>31){c=0;break c}H[b+28>>2]=c+1;c=0;if(!I[b+24|0]){break c}F[d|0]=0;F[d+1|0]=0;c=1}Wa=f+16|0;if(!c){break b}f=1;h=h+1|0;if((k|0)!=(h|0)){continue}break}break a}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;f=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;f=1}return f}function Cs(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=163632;i=163632;g=xe(a,b);a=I[g+4|0]|I[g+5|0]<<8;if(a){i=g+((a<<8|a>>>8)&65535)|0}a=I[i|0]|I[i+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>c>>>0?(N(c,6)+i|0)+2|0:163632;a=I[a+4|0]|I[a+5|0]<<8;if(a){h=((a<<8|a>>>8)&65535)+i|0}a:{if((d|0)==65535){b=I[h|0]|I[h+1|0]<<8;a=164018;if(!b){break a}a=((b<<8|b>>>8)&65535)+h|0;break a}b=I[h+2|0]|I[h+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0>d>>>0?(N(d,6)+h|0)+4|0:163632;b=I[b+4|0]|I[b+5|0]<<8;a=164018;if(!b){break a}a=((b<<8|b>>>8)&65535)+h|0}d=65535;b:{c:{b=I[a+4|0]|I[a+5|0]<<8;if(!b){break c}b=(b<<8|b>>>8)&65535;d:{c=I[g+6|0]|I[g+7|0]<<8;if(!c){i=0;g=b>>>0>1?b:1;c=J[81816];j=(c<<8|c>>>8)&65535;while(1){c=b>>>0>i>>>0?(a+(i<<1)|0)+6|0:164016;h=I[c|0]|I[c+1|0]<<8;c=(h<<8|h>>>8)&65535;if((h|0)!=65535){h=c>>>0>>0?N(c,6)+163634|0:163632;h=J[h>>1]|J[h+2>>1]<<16;h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}else{h=0}if((h|0)==(e|0)){break d}i=i+1|0;if((g|0)!=(i|0)){continue}break}break c}h=g+((c<<8|c>>>8)&65535)|0;j=b>>>0>1?b:1;i=0;while(1){c=b>>>0>i>>>0?(a+(i<<1)|0)+6|0:164016;g=I[c|0]|I[c+1|0]<<8;c=(g<<8|g>>>8)&65535;if((g|0)!=65535){g=I[h|0]|I[h+1|0]<<8;g=((g<<8|g>>>8)&65535)>>>0>c>>>0?(h+N(c,6)|0)+2|0:163632;g=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}else{g=0}if((g|0)==(e|0)){break d}i=i+1|0;if((j|0)!=(i|0)){continue}break}break c}d=c;i=1;break b}i=0}if(f){H[f>>2]=d}return i}function Qd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Wa-32|0;Wa=i;H[i+16>>2]=c;H[i+24>>2]=b;c=i+8|0;b=H[d+28>>2];H[c>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;j=aa(892,c|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[i+8>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}H[e>>2]=0;c=0;a:{while(1){if(c|(g|0)==(h|0)){break a}b:{if(Sd(i+24|0,i+16|0)){break b}c:{if((Ya[H[H[j>>2]+36>>2]](j,F[g|0],0)|0)==37){c=g+1|0;if((h|0)==(c|0)){break b}k=0;b=Ya[H[H[j>>2]+36>>2]](j,F[c|0],0)|0;d:{if(!((b|0)==69|(b&255)==48)){c=g;break d}if((g+2|0)==(h|0)){break b}k=b;b=Ya[H[H[j>>2]+36>>2]](j,F[g+2|0],0)|0}l=i,m=Ya[H[H[a>>2]+36>>2]](a,H[i+24>>2],H[i+16>>2],d,e,f,b,k)|0,H[l+24>>2]=m;g=c+2|0;break c}b=F[g|0];if((b|0)>=0){b=J[H[j+8>>2]+((b&255)<<1)>>1]&8192}else{b=0}if(b){while(1){e:{g=g+1|0;if((h|0)==(g|0)){g=h;break e}b=F[g|0];if((b|0)>=0){b=J[H[j+8>>2]+((b&255)<<1)>>1]&8192}else{b=0}if(b){continue}}break}while(1){if(!ag(i+24|0,i+16|0)){break c}b=te(i+24|0);if((b|0)>=0){b=(J[H[j+8>>2]+((b&255)<<1)>>1]&8192)!=0}else{b=0}if(!b){break c}Re(i+24|0);continue}}if(((m=j,n=te(i+24|0),l=H[H[j>>2]+12>>2],Ya[l](m|0,n|0)|0)|0)==(Ya[H[H[j>>2]+12>>2]](j,F[g|0])|0)){g=g+1|0;Re(i+24|0);break c}H[e>>2]=4}c=H[e>>2];continue}break}H[e>>2]=4}if(Sd(i+24|0,i+16|0)){H[e>>2]=H[e>>2]|2}Wa=i+32|0;return H[i+24>>2]}c=$()|0;_()|0;a=H[i+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function iA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=kb(a,0,656);H[a+56>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=0;H[a+4>>2]=0;H[a>>2]=H[b>>2];H[a+4>>2]=H[b+4>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=H[b+12>>2];H[a+16>>2]=H[b+16>>2];d=H[b+20>>2];H[a+40>>2]=b+48;H[a+36>>2]=b+40;H[a+32>>2]=b+32;H[a+28>>2]=b+28;H[a+24>>2]=b+24;H[a+20>>2]=d;if(c){d=I[b+68|0]|I[b+69|0]<<8;e=I[b+70|0];H[a+540>>2]=b+1508;f=H[7599];H[a+52>>2]=H[7598];H[a+56>>2]=f;F[a+48|0]=c;F[a+47|0]=e;F[a+45|0]=d;F[a+46|0]=d>>>8;H[a+604>>2]=H[b+1348>>2];H[a+584>>2]=H[b+1352>>2];H[a+580>>2]=H[b+1356>>2];H[a+588>>2]=H[b+1472>>2];H[a+644>>2]=H[b+1468>>2];H[a+556>>2]=H[b+1364>>2];H[a+572>>2]=H[b+1368>>2];H[a+612>>2]=H[b+1372>>2];H[a+616>>2]=H[b+1376>>2];H[a+648>>2]=H[b+1496>>2];H[a+652>>2]=H[b+1500>>2];H[a+608>>2]=H[b+1360>>2];return}F[a+44|0]=I[b+64|0];c=I[b+65|0]|I[b+66|0]<<8;d=I[b+67|0];e=H[7599];H[a+52>>2]=H[7598];H[a+56>>2]=e;F[a+48|0]=0;F[a+47|0]=d;F[a+45|0]=c;F[a+46|0]=c>>>8;c=H[b+108>>2];H[a+532>>2]=c;H[a+540>>2]=c+3104;H[a+536>>2]=H[b+768>>2];H[a+560>>2]=H[b+732>>2];H[a+576>>2]=H[b+748>>2];H[a+568>>2]=H[b+740>>2];H[a+556>>2]=H[b+728>>2];H[a+572>>2]=H[b+744>>2];c=H[b+736>>2];H[a+544>>2]=b+584;H[a+564>>2]=c;F[a+548|0]=I[b+593|0];H[a+588>>2]=H[b+760>>2];H[a+596>>2]=H[b+772>>2];H[a+600>>2]=H[b+776>>2]}function ux(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=H[a+12>>2];j=H[a+200>>2];c=H[a+196>>2];n=H[H[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Gp(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=H[i+88>>2]+(b<<5)|0;H[d+8>>2]=0;H[d+12>>2]=0;l=I[c+1|0];e=l|I[c|0]<<8;G[d+4>>1]=e;b=I[c+3|0]|I[c+2|0]<<8;H[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=I[c+4|0]|I[c+5|0]<<8;H[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=I[c+6|0]|I[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}H[d+8>>2]=F[c+4|0];f=F[c+5|0];b=c+6|0;break c}if(b){H[d+8>>2]=I[c+5|0]|I[c+4|0]<<8;f=I[c+7|0]|I[c+6|0]<<8;b=c+8|0;break c}H[d+8>>2]=I[c+4|0];f=I[c+5|0];b=c+6|0}H[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=I[b|0]|I[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=I[b+2|0]|I[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=I[b|0]|I[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=I[b+6|0]|I[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=I[b+4|0]|I[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=I[b+2|0]|I[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=I[b|0]|I[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}H[d+16>>2]=g;H[d+28>>2]=f;H[d+24>>2]=h;H[d+20>>2]=e;if(l&32){continue}break}H[i+84>>2]=k;b=H[H[a+24>>2]+8>>2];H[a+196>>2]=c;H[a+164>>2]=(c+b|0)-j;g=0}return g|0}function dt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=H[a>>2];a:{if(c){break a}j=a-20|0;while(1){g=H[j>>2];if(!g){return 163632}b:{c:{c=Ab(1,28);if(c){e=Wa-48|0;Wa=e;H[c+20>>2]=0;H[c+24>>2]=0;ac(g);b=_b(g,1752003704);if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=H[b+12>>2];lb(b);if(H[b+4>>2]?d:0){H[b+4>>2]=0}H[c+20>>2]=b;H[e+8>>2]=0;H[e+12>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;F[e+24|0]=0;H[e+28>>2]=0;H[e+32>>2]=0;H[e>>2]=0;H[e+4>>2]=0;b=ac(g);F[e+40|0]=1;H[e+36>>2]=b;k=c,l=_s(e,_b(g,1213612370)),H[k+24>>2]=l;k=c,l=vg(g),H[k+16>>2]=l;b=H[c+20>>2];b=H[(b?b:163632)+16>>2];i=b&-2;d=Ze(g- -64|0);d=I[d+34|0]|I[d+35|0]<<8;f=(d<<8|d>>>8)&65535;if(i>>>0>>0){f=b>>>2|0}H[c>>2]=f;b=fk(g+56|0);b=I[b+4|0]|I[b+5|0]<<8;h=(b<<8|b>>>8)&65535;H[c+4>>2]=h;b=h;d=H[c>>2];if(b>>>0>>0){b=d}f=i-(f<<2)|0;i=f>>>0>=b-d<<1>>>0;if(!i){b=d+(f>>>1|0)|0}if(!(i&d>>>0<=h>>>0)){H[c+4>>2]=b}if(d){h=b}else{H[c>>2]=0;H[c+4>>2]=0;h=0}f=h+((d+(f>>>1|0)|0)-b&2147483647)|0;H[c+8>>2]=f;b=H[g+32>>2];if((b|0)==-1){b=Hc(g);f=H[c+8>>2]}H[c+12>>2]=b>>>0>f>>>0?b:f;Wa=e+48|0;b=H[a>>2];H[a>>2]=b?b:c;if(!b){break a}b=H[c+20>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break c}H[c+20>>2]=0;b=H[c+24>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break c}hb(c);break b}c=163632;b=H[a>>2];H[a>>2]=b?b:163632;if(b){break b}break a}ea(0)|0;_()|0;Gb();X()}c=H[a>>2];if(!c){continue}break}}return c}function sK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=Ab(1,36);if(g){a:{b:{c:{d:{e:{c=H[a+56>>2];if((c|0)<=0){break e}e=H[a+60>>2];c=c-1|0;f:{g:{while(1){d=b+c>>>1|0;f=H[e+N(d,36)>>2];h:{if(f>>>0>=1886545255){c=d-1|0;break h}if((f|0)==1886545254){break g}b=d+1|0}if((b|0)<=(c|0)){continue}break}c=0;break f}c=H[(e+N(d,36)|0)+28>>2]}b=H[a+56>>2];H[g>>2]=c;if((b|0)<=0){break e}e=H[a+60>>2];c=b-1|0;b=0;i:{while(1){d=b+c>>>1|0;f=H[e+N(d,36)>>2];j:{if(f>>>0<=1651275622){b=H[(e+N(d,36)|0)+28>>2];if((f|0)==1651275622){break i}b=d+1|0;break j}c=d-1|0}if((b|0)<=(c|0)){continue}break}b=0}c=b;b=H[a+56>>2];H[g+4>>2]=c;if((b|0)<=0){break c}e=H[a+60>>2];c=b-1|0;b=0;while(1){d=b+c>>>1|0;f=H[e+N(d,36)>>2];k:{if(f>>>0<=1633842790){b=H[(e+N(d,36)|0)+28>>2];if((f|0)==1633842790){break d}b=d+1|0;break k}c=d-1|0}if((b|0)<=(c|0)){continue}break}b=0;break d}H[g+4>>2]=0;b=0}c=b;b=H[a+56>>2];H[g+8>>2]=c;c=0;if((b|0)<=0){H[g+12>>2]=0;b=0;break a}e=H[a+60>>2];b=b-1|0;while(1){d=b+c>>>1|0;f=H[e+N(d,36)>>2];l:{if(f>>>0<=1886614630){c=H[(e+N(d,36)|0)+28>>2];if((f|0)==1886614630){break b}c=d+1|0;break l}b=d-1|0}if((b|0)>=(c|0)){continue}break}}c=0}b=H[a+56>>2];H[g+12>>2]=c;if((b|0)>0){d=H[a+60>>2];c=b-1|0;b=0;while(1){a=b+c>>>1|0;e=H[d+N(a,36)>>2];m:{if(e>>>0<=1667654002){b=H[(d+N(a,36)|0)+28>>2];if((e|0)==1667654002){break a}b=a+1|0;break m}c=a-1|0}if((b|0)<=(c|0)){continue}break}}b=0}H[g+16>>2]=b}return g|0}function hk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=H[a>>2];a:{if(c){break a}j=a-48|0;while(1){g=H[j>>2];if(!g){return 163632}b:{c:{c=Ab(1,28);if(c){e=Wa-48|0;Wa=e;H[c+20>>2]=0;H[c+24>>2]=0;ac(g);b=_b(g,1986884728);if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=H[b+12>>2];lb(b);if(H[b+4>>2]?d:0){H[b+4>>2]=0}H[c+20>>2]=b;H[e+8>>2]=0;H[e+12>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;F[e+24|0]=0;H[e+28>>2]=0;H[e+32>>2]=0;H[e>>2]=0;H[e+4>>2]=0;b=ac(g);F[e+40|0]=1;H[e+36>>2]=b;k=c,l=_s(e,_b(g,1448493394)),H[k+24>>2]=l;k=c,l=vg(g),H[k+16>>2]=l;b=H[c+20>>2];b=H[(b?b:163632)+16>>2];i=b&-2;d=Ye(g+92|0);d=I[d+34|0]|I[d+35|0]<<8;f=(d<<8|d>>>8)&65535;if(i>>>0>>0){f=b>>>2|0}H[c>>2]=f;b=fk(g+56|0);b=I[b+4|0]|I[b+5|0]<<8;h=(b<<8|b>>>8)&65535;H[c+4>>2]=h;b=h;d=H[c>>2];if(b>>>0>>0){b=d}f=i-(f<<2)|0;i=f>>>0>=b-d<<1>>>0;if(!i){b=d+(f>>>1|0)|0}if(!(i&d>>>0<=h>>>0)){H[c+4>>2]=b}if(d){h=b}else{H[c>>2]=0;H[c+4>>2]=0;h=0}f=h+((d+(f>>>1|0)|0)-b&2147483647)|0;H[c+8>>2]=f;b=H[g+32>>2];if((b|0)==-1){b=Hc(g);f=H[c+8>>2]}H[c+12>>2]=b>>>0>f>>>0?b:f;Wa=e+48|0;b=H[a>>2];H[a>>2]=b?b:c;if(!b){break a}b=H[c+20>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break c}H[c+20>>2]=0;b=H[c+24>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break c}hb(c);break b}c=163632;b=H[a>>2];H[a>>2]=b?b:163632;if(b){break b}break a}ea(0)|0;_()|0;Gb();X()}c=H[a>>2];if(!c){continue}break}}return c}function Ng(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Wa-16|0;e=1;a:{b:{c:{switch(H[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=N(i,12)+b|0;d=f-12|0;if(H[f>>2]>2]){H[h+8>>2]=H[f+8>>2];g=H[f+4>>2];H[h>>2]=H[f>>2];H[h+4>>2]=g;H[f+8>>2]=H[d+8>>2];g=H[d+4>>2];H[f>>2]=H[d>>2];H[f+4>>2]=g;H[d+8>>2]=H[h+8>>2];f=H[h+4>>2];H[d>>2]=H[h>>2];H[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=H[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}k=j-1|0;m=H[b>>2];h=0;d=1;while(1){f=H[N(d,12)+b>>2]-m|0;d:{if(!((d|0)==(k|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(k|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;n=e&3;l=0;d=h;if(e-1>>>0>=3){o=e&-4;e=0;while(1){g=N(d,12)+b|0;p=H[g>>2];H[g>>2]=0;q=H[g+12>>2];H[g+12>>2]=0;r=H[g+24>>2];H[g+24>>2]=0;s=H[g+36>>2];H[g+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;d=d+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=f;if(!n){break e}while(1){e=N(d,12)+b|0;g=H[e>>2];H[e>>2]=0;d=d+1|0;i=g+i|0;l=l+1|0;if((l|0)!=(n|0)){continue}break}e=f}H[N(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=k>>>0){break d}h=f+1|0;m=H[N(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=N(d,12)+b|0;if(H[c>>2]){h=H[c+4>>2];f=N(e,12)+b|0;H[f>>2]=H[c>>2];H[f+4>>2]=h;H[f+8>>2]=H[c+8>>2];j=H[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}H[a>>2]=e}}function Zs(a,b){var c=0,d=0,e=0,f=0;a:{if(K[b+4>>2]>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=H[b+12>>2]-4|0;H[b+12>>2]=d;if((I[a|0]|I[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Fl(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=H[b+12>>2]-4|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=F[a+8|0];c=I[a+11|0]|(I[a+9|0]<<16|e<<24|I[a+10|0]<<8);e=(c|0)!=0&(e|0)<0;b:{if(!(e|!c)){if(kk(a+c|0,b)){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0;break b}if(e){break a}}d=a+12|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=H[b+12>>2]-4|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=F[a+12|0];c=I[a+15|0]|(I[a+13|0]<<16|e<<24|I[a+14|0]<<8);e=(c|0)!=0&(e|0)<0;c:{if(!(e|!c)){if(kk(a+c|0,b)){break c}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0;break c}if(e){break a}}d=a+16|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=H[b+12>>2]-4|0;H[b+12>>2]=c;if((c|0)<=0){break a}f=F[a+16|0];c=I[a+19|0]|(I[a+17|0]<<16|f<<24|I[a+18|0]<<8);e=(c|0)!=0&(f|0)<0;f=!e;if(e|!c){break a}f=1;if(kk(a+c|0,b)){break a}f=0;a=H[b+28>>2];if(a>>>0>31){break a}H[b+28>>2]=a+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0;f=1}return f}function Ic(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d=I[a|0]|I[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=I[a+2|0]|I[a+3|0]<<8;if(!c){return}d=a+4|0;f=(c<<8|c>>>8)&65535;g=f&1;c=H[b>>2];h=f-1|0;d:{if(!h){a=d;break d}i=f&65534;a=d;while(1){j=c;c=I[a|0]|I[a+1|0]<<8;j=j|1<<((c<<8|c>>>8)>>>4);c=I[a+2|0]|I[a+3|0]<<8;c=j|1<<((c<<8|c>>>8)>>>4);a=a+4|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}}if(g){a=I[a|0]|I[a+1|0]<<8;c=1<<((a<<8|a>>>8)>>>4)|c}H[b>>2]=c;g=f&3;c=H[b+4>>2];e:{if(h>>>0<3){a=d;break e}i=f&65532;e=0;a=d;while(1){c=1<>2]=c;a=H[b+8>>2];if(h>>>0>=3){e=f&65532;c=0;while(1){a=1<<((I[d|0]|I[d+1|0]<<8)>>>1)|a|1<<((I[d+2|0]|I[d+3|0]<<8)>>>1)|1<<((I[d+4|0]|I[d+5|0]<<8)>>>1)|1<<((I[d+6|0]|I[d+7|0]<<8)>>>1);d=d+8|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}e=f&3;if(e){c=0;while(1){a=1<<((I[d|0]|I[d+1|0]<<8)>>>1)|a;d=d+2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}H[b+8>>2]=a;return}c=I[a+2|0]|I[a+3|0]<<8;if(!c){return}d=0;if(!Xr(a+4|0,b)){return}c=(c<<8|c>>>8)&65535;c=c>>>0>1?c:1;while(1){d=d+1|0;if((c|0)==(d|0)){break a}e=I[a+2|0]|I[a+3|0]<<8;if(Xr(((e<<8|e>>>8)&65535)>>>0>d>>>0?(N(d,6)+a|0)+4|0:164024,b)){continue}break}}}function ae(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=c-b|0;if(H[a+20>>2]==2|f>>>0<2){break a}i=H[a+84>>2];g=H[(i+N(b,20)|0)+8>>2];d=g;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}h=f-2|0;j=(b^-1)+c&3;c:{if(!j){d=g;break c}f=0;d=g;while(1){k=H[(N(e,20)+i|0)+8>>2];d=d>>>0>>0?d:k;e=e+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(h>>>0<=2){break b}while(1){f=N(e,20)+i|0;h=H[f+8>>2];d=d>>>0>>0?d:h;h=H[f+28>>2];d=d>>>0>>0?d:h;h=H[f+48>>2];d=d>>>0>>0?d:h;f=H[f+68>>2];d=d>>>0>>0?d:f;e=e+4|0;if((e|0)!=(c|0)){continue}break}}while(1){e=b;if(e){b=e-1|0;if((g|0)==H[(N(b,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{g=H[a+72>>2];if(g>>>0<=c>>>0){break f}while(1){b=N(c,20)+i|0;if(H[b-12>>2]!=H[b+8>>2]){break f}c=c+1|0;if((g|0)!=(c|0)){continue}break}c=g;break e}if((c|0)!=(g|0)){break d}}b=H[a+64>>2];f=H[a+68>>2];if(b>>>0>=f>>>0){break d}g=(N(g,20)+i|0)-12|0;h=H[a+80>>2];while(1){a=h+N(b,20)|0;j=H[a+8>>2];if((j|0)!=H[g>>2]){break d}if((d|0)!=(j|0)){H[a+4>>2]=H[a+4>>2]&-4}H[a+8>>2]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(c>>>0<=e>>>0){break a}b=e+1|0;if(c-e&1){a=N(e,20)+i|0;if(H[a+8>>2]!=(d|0)){H[a+4>>2]=H[a+4>>2]&-4}H[a+8>>2]=d;e=e+1|0}if((b|0)==(c|0)){break a}while(1){a=N(e,20)+i|0;if(H[a+8>>2]!=(d|0)){H[a+4>>2]=H[a+4>>2]&-4}H[a+8>>2]=d;a=N(e+1|0,20)+i|0;if(H[a+8>>2]!=(d|0)){H[a+4>>2]=H[a+4>>2]&-4}H[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function QB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Wa-400|0;Wa=i;e=H[c+4>>2];f=H[b+4>>2];c=H[c>>2];b=H[b>>2];j=H[a>>2];a=H[a+4>>2];H[i+20>>2]=a<<2;H[i+16>>2]=j<<2;H[i+12>>2]=f<<2;H[i+8>>2]=b<<2;k=e<<2;H[i+4>>2]=k;g=c<<2;H[i>>2]=g;H[i+24>>2]=H[d+208>>2];b=H[d+212>>2];H[i+28>>2]=b;j=a>>6;a:{b:{c=e>>6;a=H[d+176>>2];e=f>>6;c:{d:{if(!((c|0)>=(a|0)&(e|0)>=(a|0))){b=b>>8;break d}b=b>>8;if((a|0)>(j|0)){break d}if((a|0)<=(b|0)){break c}}a=i;f=c;c=H[d+172>>2];if((f|0)>=(c|0)|(c|0)<=(e|0)|((c|0)<=(j|0)|(b|0)>=(c|0))){break b}}H[d+212>>2]=k;H[d+208>>2]=g;break a}while(1){f=H[a+24>>2];k=H[a+8>>2];e=H[a>>2];c=f+(N(k,-3)+(e<<1)|0)|0;b=c>>31;e:{if((b^c)-b>>>0>=129){j=H[a+12>>2];c=H[a+28>>2];b=H[a+4>>2];break e}c=H[a+28>>2];j=H[a+12>>2];b=H[a+4>>2];h=c+(N(j,-3)+(b<<1)|0)|0;g=h>>31;if((g^h)-g>>>0>128){break e}h=(e+(f<<1)|0)+N(H[a+16>>2],-3)|0;g=h>>31;if((g^h)-g>>>0>128){break e}h=((c<<1)+b|0)+N(H[a+20>>2],-3)|0;g=h>>31;if((g^h)-g>>>0>128){break e}ui(d,e,b);if((a|0)==(i|0)){break a}a=a-24|0;continue}H[a+48>>2]=f;H[a+52>>2]=c;e=e+k|0;H[a+8>>2]=e>>1;b=b+j|0;H[a+12>>2]=b>>1;h=f;f=H[a+16>>2];g=h+f|0;H[a+40>>2]=g>>1;h=e;e=f+k|0;f=h+e|0;H[a+16>>2]=f>>2;e=e+g|0;H[a+32>>2]=e>>2;h=c;c=H[a+20>>2];k=h+c|0;H[a+44>>2]=k>>1;H[a+24>>2]=e+f>>3;e=b;b=c+j|0;c=e+b|0;H[a+20>>2]=c>>2;b=b+k|0;H[a+36>>2]=b>>2;H[a+28>>2]=b+c>>3;a=a+24|0;continue}}Wa=i+400|0;return 0}function zy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Wa-16|0;Wa=j;d=H[a+28>>2];e=H[a+16>>2];k=H[a+24>>2];H[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=H[a+32>>2];break c}H[a+36>>2]=b;l=jb(b,4,d,g,H[a+32>>2],j+12|0);H[a+32>>2]=l;if(H[j+12>>2]){break b}H[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=I[e+7|0]|I[e+8|0]<<8|(I[e+9|0]<<16|I[e+10|0]<<24);o=I[e|0];p=I[e+1|0];q=I[e+2|0];d:{e:{f:{b=I[e+3|0]|I[e+4|0]<<8|(I[e+5|0]<<16|I[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+H[a+16>>2]|0;b=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=I[f+1|0]<<8|I[f|0]<<16|I[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+I[n|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+H[a+16>>2]|0;b=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+N(d,5)|0;f=h-3|0;f=I[f+1|0]<<8|I[f|0]<<16|I[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(I[h+1|0]|I[h|0]<<8)){break d}}H[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}H[g>>2]=0;break a}l=0}Wa=j+16|0;return l|0}function fo(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=H[a>>2];if(a){b=H[a+204>>2];H[a+204>>2]=b-1;if((b|0)<=1){k=H[a>>2];b=H[a+16>>2];a:{if(!b){break a}while(1){i=H[((h<<2)+a|0)+20>>2];c=H[i>>2];b:{if(rb(H[c+8>>2],9957)|!(F[c|0]&1)){break b}c=H[i+16>>2];if(!c){break b}while(1){f=H[c+8>>2];c:{if(!f){break c}d=H[f+96>>2];if(!d){break c}e=H[f+128>>2];b=H[e+64>>2];H[e+64>>2]=b-1;if((b|0)>1){break c}b=H[d+16>>2];if(!b){break c}g=d+16|0;e=H[d+8>>2];while(1){if((f|0)!=H[b+8>>2]){b=H[b+4>>2];if(b){continue}break c}break}c=H[b>>2];j=c?c+4|0:g;g=H[b+4>>2];H[j>>2]=g;H[(g?g:d+20|0)>>2]=c;Ya[H[e+8>>2]](e,b);hf(e,f,d);c=H[i+16>>2]}if(c){continue}break}b=H[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=H[((h<<2)+a|0)+20>>2];d:{if(!(F[H[i>>2]]&1)){break d}c=H[i+16>>2];if(!c){break d}while(1){f=H[c+8>>2];e:{if(!f){break e}d=H[f+96>>2];if(!d){break e}e=H[f+128>>2];b=H[e+64>>2];H[e+64>>2]=b-1;if((b|0)>1){break e}b=H[d+16>>2];if(!b){break e}g=d+16|0;e=H[d+8>>2];while(1){if((f|0)!=H[b+8>>2]){b=H[b+4>>2];if(b){continue}break e}break}c=H[b>>2];j=c?c+4|0:g;g=H[b+4>>2];H[j>>2]=g;H[(g?g:d+20|0)>>2]=c;Ya[H[e+8>>2]](e,b);hf(e,f,d);c=H[i+16>>2]}if(c){continue}break}b=H[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){b=H[((b<<2)+a|0)+16>>2];if(a){ho(a,b)}b=H[a+16>>2];if(b){continue}break}}Ya[H[k+8>>2]](k,a)}}hb(l)}function nE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;a=Wa-16|0;Wa=a;H[a+12>>2]=c;H[a+8>>2]=f;H[a+12>>2]=c;H[a+8>>2]=f;c=H[a+12>>2];a:{b:{while(1){if(c>>>0>=d>>>0){f=0;break a}f=2;b=J[c>>1];if(b>>>0>1114111){break a}c:{d:{if(b>>>0<=127){f=1;c=H[a+8>>2];if((g-c|0)<=0){break a}H[a+8>>2]=c+1;F[c|0]=b;break d}if(b>>>0<=2047){c=H[a+8>>2];if((g-c|0)<2){break b}H[a+8>>2]=c+1;F[c|0]=b>>>6|192;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b&63|128;break d}if(b>>>0<=55295){c=H[a+8>>2];if((g-c|0)<3){break b}H[a+8>>2]=c+1;F[c|0]=b>>>12|224;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b>>>6&63|128;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b&63|128;break d}if(b>>>0<=56319){f=1;if((d-c|0)<4){break a}i=J[c+2>>1];if((i&64512)!=56320){break c}if((g-H[a+8>>2]|0)<4){break a}f=b&960;if((i&1023|(b<<10&64512|f<<10))+65536>>>0>1114111){break c}H[a+12>>2]=c+2;c=H[a+8>>2];H[a+8>>2]=c+1;j=c;c=(f>>>6|0)+1|0;F[j|0]=c>>>2|240;f=H[a+8>>2];H[a+8>>2]=f+1;F[f|0]=c<<4&48|b>>>2&15|128;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=i>>>6&15|b<<4&48|128;b=H[a+8>>2];H[a+8>>2]=b+1;F[b|0]=i&63|128;break d}if(b>>>0<57344){break a}c=H[a+8>>2];if((g-c|0)<3){break b}H[a+8>>2]=c+1;F[c|0]=b>>>12|224;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b>>>6&63|128;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b&63|128}c=H[a+12>>2]+2|0;H[a+12>>2]=c;continue}break}f=2;break a}f=1}H[e>>2]=H[a+12>>2];H[h>>2]=H[a+8>>2];Wa=a+16|0;return f|0}function hr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=Wa-16|0;Wa=j;H[j+12>>2]=0;k=H[a+4>>2];p=H[k+8>>2];e=3;a:{if(d?0:c){break a}F[a|0]=0;if(K[k+3112>>2]<=b>>>0|(J[k+3120>>1]!=(c|0)?c:0)){break a}g=H[k+3116>>2];o=H[g+(b<<3)>>2];h=o+1|0;f=jb(p,1,H[a+20>>2]<<2,h<<2,H[a+24>>2],j+12|0);H[a+24>>2]=f;e=H[j+12>>2];if(e){break a}H[a+20>>2]=h;b:{if(!h){break b}q=g+(b<<3)|0;h=0;if(!c){while(1){c:{if(h){e=h<<2;if(K[(e+H[q+4>>2]|0)-4>>2]>=K[k+3124>>2]){e=3;break a}H[e+f>>2]=0;break c}H[f>>2]=65536}e=(h|0)==(o|0);h=h+1|0;if(!e){continue}break b}}while(1){d:{if(!h){H[f>>2]=65536;break d}n=h<<2;e=H[(n+H[q+4>>2]|0)-4>>2];if(e>>>0>=K[k+3124>>2]){e=3;break a}g=H[k+3128>>2];H[f+n>>2]=65536;r=g+(e<<2)|0;e=0;while(1){f=65536;i=H[r>>2]+N(e,12)|0;g=H[i+4>>2];l=H[i>>2];e:{if((g|0)<(l|0)){break e}m=H[i+8>>2];if(!g|((g|0)>(m|0)|!(!g|((m|0)<=0|(l|0)>=0)))){break e}f=0;i=H[(e<<2)+d>>2];if((i|0)<(l|0)|(i|0)>(m|0)){break e}f=65536;if((g|0)==(i|0)){break e}if((g|0)>(i|0)){f=pb(i-l|0,g-l|0);break e}f=pb(m-i|0,m-g|0)}g=ib(H[H[a+24>>2]+n>>2],f);f=H[a+24>>2];H[n+f>>2]=g;e=e+1|0;if((e|0)!=(c|0)){continue}break}}e=(h|0)!=(o|0);h=h+1|0;if(e){continue}break}}H[a+8>>2]=b;if(c){b=c<<2;f=jb(p,1,H[a+12>>2]<<2,b,H[a+16>>2],j+12|0);H[a+16>>2]=f;e=H[j+12>>2];if(e){break a}mb(f,d,b)}F[a|0]=1;H[a+12>>2]=c;e=H[j+12>>2]}Wa=j+16|0;return e|0}function ey(a){a=a|0;var b=0,c=0,d=0;if(a){c=H[a+100>>2];b=H[a+540>>2];a:{if(!b){break a}d=H[b+80>>2];if(d){Ya[d|0](a)}d=H[b+100>>2];if(d){Ya[d|0](a)}d=H[b+120>>2];if(!d){break a}Ya[d|0](a);Ya[H[b+124>>2]](a)}if(I[a+848|0]){if(H[a+828>>2]){bc(H[a+104>>2],a+828|0)}H[a+840>>2]=0;H[a+832>>2]=0;H[a+836>>2]=0}bc(H[a+104>>2],a+808|0);H[a+820>>2]=0;H[a+824>>2]=0;H[a+812>>2]=0;H[a+816>>2]=0;d=H[a+144>>2];if(d){Ya[H[c+8>>2]](c,d)}H[a+140>>2]=0;H[a+144>>2]=0;d=H[a+156>>2];if(d){Ya[H[c+8>>2]](c,d)}G[a+152>>1]=0;H[a+156>>2]=0;bc(H[a+104>>2],a+508|0);H[a+752>>2]=0;H[a+756>>2]=0;H[a+512>>2]=0;if(I[a+292|0]){d=H[a+332>>2];if(d){Ya[H[c+8>>2]](c,d)}H[a+332>>2]=0;d=H[a+336>>2];if(d){Ya[H[c+8>>2]](c,d)}F[a+292|0]=0;H[a+336>>2]=0}d=H[a+564>>2];if(d){Ya[H[c+8>>2]](c,d)}G[a+562>>1]=0;H[a+564>>2]=0;if(b){Ya[H[b+52>>2]](a)}b=H[a+20>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+20>>2]=0;b=H[a+24>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+24>>2]=0;b=H[a+32>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+32>>2]=0;b=H[a+804>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+28>>2]=0;H[a+804>>2]=0;b=H[a+720>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+720>>2]=0;b=H[a+744>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+744>>2]=0;b=H[a+652>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+652>>2]=0;b=H[a+656>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+656>>2]=0;b=H[a+664>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+664>>2]=0;b=H[a+672>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+540>>2]=0;H[a+672>>2]=0}}function dH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-32|0;Wa=g;H[g+24>>2]=b;a:{b:{if(!(H[d+4>>2]&1)){H[g>>2]=-1;b=Ya[H[H[a>>2]+16>>2]](a,b,c,d,e,g)|0;H[g+24>>2]=b;c:{switch(H[g>>2]){case 1:F[f|0]=1;break a;case 0:break b;default:break c}}F[f|0]=1;H[e>>2]=4;break a}a=H[d+28>>2];H[g>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;h=aa(998,g|0)|0;a=H[65057];H[65057]=0;d:{e:{f:{g:{if((a|0)!=1){a=H[g>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}a=H[d+28>>2];H[g>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;b=aa(999,g|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break g}a=H[g>>2];d=H[a+4>>2]-1|0;H[a+4>>2]=d;if((d|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}H[65057]=0;da(1e3,g|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){b=$()|0;_()|0;break d}H[65057]=0;da(1001,g|12,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break f}H[65057]=0;d=g+24|0;a=Ga(1002,d|0,c|0,g|0,d|0,h|0,e|0,1)|0;b=H[65057];H[65057]=0;if((b|0)==1){break e}F[f|0]=(a|0)==(g|0);b=H[g+24>>2];while(1){d=Sb(d-12|0);if((g|0)!=(d|0)){continue}break}break a}b=$()|0;_()|0;a=H[g>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break d}b=$()|0;_()|0;a=H[g>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break d}b=$()|0;_()|0;Sb(g);break d}b=$()|0;_()|0;while(1){d=Sb(d-12|0);if((g|0)!=(d|0)){continue}break}}ba(b|0);X()}F[f|0]=0}Wa=g+32|0;return b|0}function Zm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{g=I[a|0];if((g|0)!=117){break b}c:{d=I[a+1|0];if((d|0)!=110|I[a+2|0]!=105){break c}b=I[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=I[a+4|0];c=b-48|0;f=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(f>>>0>15){break c}b=I[a+5|0];c=b-48|0;h=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(h>>>0>15){break c}b=I[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+((f+(e<<4)<<4)+h<<4)|0;c=I[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-48|0;c=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(c>>>0>15){break b}b=I[a+2|0];d=b-48|0;e=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(e>>>0>15){break b}b=I[a+3|0];d=b-48|0;f=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(f>>>0>15){break b}b=I[a+4|0];d=b-48|0;b=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(b>>>0>15){break b}b=b+(f+(e+(c<<4)<<4)<<4)|0;c=I[a+5|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+5|0;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;c=I[a+6|0];e=c-48|0;c=e>>>0>9?c-71>>>0<4294967290?16:c-55|0:e;d=a+6|0;if(c>>>0>15){break d}b=c+(b<<4)|0;d=a+7|0}d=I[d|0];if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}b=a;while(1){e:{f:{if((g|0)!=46){if(g){break f}return Ym(a,b)|0}if(a>>>0>>0){break e}}g=I[b+1|0];b=b+1|0;continue}break}b=Ym(a,b)|-2147483648}return b|0}function yH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-32|0;Wa=g;H[g+24>>2]=b;a:{b:{if(!(H[d+4>>2]&1)){H[g>>2]=-1;b=Ya[H[H[a>>2]+16>>2]](a,b,c,d,e,g)|0;H[g+24>>2]=b;c:{switch(H[g>>2]){case 1:F[f|0]=1;break a;case 0:break b;default:break c}}F[f|0]=1;H[e>>2]=4;break a}a=H[d+28>>2];H[g>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;h=aa(892,g|0)|0;a=H[65057];H[65057]=0;d:{e:{f:{g:{if((a|0)!=1){a=H[g>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}a=H[d+28>>2];H[g>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;b=aa(968,g|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break g}a=H[g>>2];d=H[a+4>>2]-1|0;H[a+4>>2]=d;if((d|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}H[65057]=0;da(969,g|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){b=$()|0;_()|0;break d}H[65057]=0;da(970,g|12,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break f}H[65057]=0;d=g+24|0;a=Ga(971,d|0,c|0,g|0,d|0,h|0,e|0,1)|0;b=H[65057];H[65057]=0;if((b|0)==1){break e}F[f|0]=(a|0)==(g|0);b=H[g+24>>2];while(1){d=nb(d-12|0);if((g|0)!=(d|0)){continue}break}break a}b=$()|0;_()|0;a=H[g>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break d}b=$()|0;_()|0;a=H[g>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}break d}b=$()|0;_()|0;nb(g);break d}b=$()|0;_()|0;while(1){d=nb(d-12|0);if((g|0)!=(d|0)){continue}break}}ba(b|0);X()}F[f|0]=0}Wa=g+32|0;return b|0}function ig(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=H[b+4>>2];a:{if(k>>>0>a>>>0){break a}h=H[b+8>>2];if(h>>>0>>0|h-a>>>0<5){break a}c=H[b+12>>2]-5|0;H[b+12>>2]=c;b:{if((c|0)<=0){break b}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break b}return 1}g=H[b+12>>2]-5|0;H[b+12>>2]=g;if((g|0)<=0){break a}e=I[a+4|0];if((e-1&255)>>>0>3){break a}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+1|0;if(4294967295/(c>>>0)>>>0<=e>>>0&c>>>0>=i>>>0){break a}j=N(c,e);if((j|0)==-1){break a}if(j){c=a+5|0;if(c>>>0>>0|c>>>0>h>>>0|j>>>0>h-c>>>0){break a}g=g-j|0;H[b+12>>2]=g;if((g|0)<=0){break a}c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=N(i+1|0,e)}if((i|0)==-1){break a}l=(a+d|0)+5|0;p=e&252;o=e&3;j=e-1>>>0<3;while(1){f=(N(e,m)+a|0)+5|0;d=0;c=0;if(!j){while(1){c=f;f=c+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}d=0;if(o){while(1){c=I[f|0]|c<<8;f=f+1|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}}n=c>>>0>n>>>0?c:n;c=(i|0)!=(m|0);m=m+1|0;if(c){continue}break}a=n-1|0;if(!a){return 1}f=0;if((a|0)<0|l>>>0>>0|(h>>>0>>0|a>>>0>h-l>>>0)){break a}a=g-a|0;H[b+12>>2]=a;f=(a|0)>0}return f|0}function zn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;H[d>>2]=0;H[d+4>>2]=0;h=b?b-1|0:0;b=H[a+408>>2];a:{if(h>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=H[a+424>>2];if(!b){break a}f=c<<4;c=H[a+416>>2];c=J[f+c>>1]|H[c+(h<<4)>>2]<<16;i=H[a+104>>2];while(1){if(!(c>>>0<=K[b+20>>2]&c>>>0>=K[b+16>>2])){b=H[b>>2];if(b){continue}break a}break}e=ob(i,H[b+12>>2]);if(e){break a}e=Nb(i,N(H[b+8>>2],I[b+4|0]));if(e){break a}a=I[b+5|0];j=a&1;k=a>>>1&1;h=H[b+8>>2];e=H[i+32>>2];a=I[b+4|0];f=-2147483648>>>Q(a)|0;b:{c:{d:{if((a|0)==(f|0)){break d}a=N(h,a-f|0)+e|0;e:{if(j){g=I[a+1|0]<<16|I[a|0]<<24|I[a+2|0]<<8;l=a+3|0;a=a+4|0;break e}l=a+1|0;g=I[a|0]<<16;a=a+2|0}g=I[l|0]|g;if((g|0)==(c|0)){break c}if(c>>>0<=g>>>0){break d}e=(k?2:1)+a|0}a=N(f,h);f:{if(h>>>0>=a>>>0){break f}if(!j){while(1){a=a>>>1|0;f=e+a|0;g=I[f|0]<<16|I[f+1|0];if((g|0)==(c|0)){a=f+2|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;f=e+a|0;g=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if((g|0)==(c|0)){a=f+4|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break}}g:{if(j){h=3;f=I[e+1|0]<<16|I[e|0]<<24|I[e+2|0]<<8;a=e+4|0;break g}h=1;f=I[e|0]<<16;a=e+2|0}if((c|0)!=(f|I[e+h|0])){break b}}c=I[a|0];if(k){c=(I[a+1|0]|c<<8)<<16>>16}H[d>>2]=G[b+6>>1]+c}Db(i);e=0}return e|0}function ur(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Wa-16|0;Wa=i;d=H[b+100>>2];c=I[a+2|0]|I[a+3|0]<<8;if(c){g=((c<<8|c>>>8)&65535)+a|0}else{g=163632}k=Kb(g,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);c=0;a:{if((k|0)==-1){break a}c=H[d+64>>2];H[b+40>>2]=1;H[b+4>>2]=c;e=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[e+68>>2];g=0;g=(c|0)==H[e+64>>2]?I[(H[e+80>>2]+N(c,20)|0)+15|0]:g;H[b+12>>2]=8;F[b+24|0]=g;e=b+4|0;if(!Yd(e,i+12|0)){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[i+12>>2],H[d+64>>2]+1|0,0,1);c=0;break a}j=H[e>>2];c=I[a+4|0]|I[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}f=Kb(c,H[H[d+80>>2]+N(j,20)>>2]);if((f|0)==-1){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[e>>2],H[d+64>>2]+1|0,0,1);c=0;break a}g=163632;c=163632;h=I[a+10|0]|I[a+11|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}h=I[c|0]|I[c+1|0]<<8;b:{if(f>>>0>=((h<<8|h>>>8)&65535)>>>0){break b}f=(f<<1)+c|0;f=I[f+2|0]|I[f+3|0]<<8;if(!f){break b}g=((f<<8|f>>>8)&65535)+c|0}c=I[g|0]|I[g+1|0]<<8;if(!c){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[e>>2],H[d+64>>2]+1|0,0,1);c=0;break a}c=(c<<8|c>>>8)&65535;e=H[d+80>>2];f=I[(e+N(j,20)|0)+14|0];if(f>>>0>=32){d=I[(e+N(H[d+64>>2],20)|0)+14|0];e=d&16?0:d&15;c=(d^f)>>>0<32?e?c>>>0>>0?c:e:c:c}d=c-1|0;c=I[a+8|0]|I[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}a=I[a+6|0]|I[a+7|0]<<8;c=Tj(c,b,k,d,g,(a<<8|a>>>8)&65535,j)}Wa=i+16|0;return c}function Ot(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Wa-16|0;Wa=h;i=H[a+84>>2];a:{b:{c:{f=H[a+8>>2];if(!(f&8)){break c}f=!(H[a+4>>2]&2147418112|f&32768);if(d&16){if(!f){f=7;if(!(I[a+740|0]&16)){break a}}if(!I[a+292|0]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;d=0;while(1){j=h+14|0;k=h+12|0;Ya[H[H[a+540>>2]+140>>2]](a,1,b+g|0,j,k);H[(g<<2)+e>>2]=J[h+12>>1];l=g|1;Ya[H[H[a+540>>2]+140>>2]](a,1,l+b|0,j,k);H[(l<<2)+e>>2]=J[h+12>>1];g=g+2|0;d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break a}Ya[H[H[a+540>>2]+140>>2]](a,1,b+g|0,h+14|0,h+12|0);H[(g<<2)+e>>2]=J[h+12>>1];break a}if(!f){f=7;if(!(I[a+740|0]&2)){break a}}if(!J[a+250>>1]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;d=0;while(1){j=h+14|0;k=h+10|0;Ya[H[H[a+540>>2]+140>>2]](a,0,b+g|0,j,k);H[(g<<2)+e>>2]=J[h+10>>1];l=g|1;Ya[H[H[a+540>>2]+140>>2]](a,0,l+b|0,j,k);H[(l<<2)+e>>2]=J[h+10>>1];g=g+2|0;d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break a}Ya[H[H[a+540>>2]+140>>2]](a,0,b+g|0,h+14|0,h+10|0);H[(g<<2)+e>>2]=J[h+10>>1];break a}if(!c){break b}if(!i){f=37;break a}l=i+(d&16?60:56)|0;while(1){f=H[a+88>>2];j=(f?256:259)|d;k=b+g|0;d:{if(!(j&1?0:f)){f=sg(i,0,k,j);break d}if(H[f>>2]!=H[i+4>>2]){f=35;break a}f=sg(i,f,k,j)}if(f){break a}H[(g<<2)+e>>2]=H[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}Wa=h+16|0;return f|0}function Pc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c=H[a+40>>2];e=H[a>>2];if(c>>>0>e+H[a+36>>2]>>>0){while(1){c=e+1|0;H[a>>2]=c;d=H[a+4>>2];e=H[H[d+100>>2]+80>>2]+N(c,20)|0;c=J[e+12>>1];f=H[a+8>>2];c:{if(c&f&14){break c}d:{if(!(c&8)){break d}if(f&16){c=H[d+108>>2];d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65538){break c}d=I[c+12|0]|I[c+13|0]<<8;if(d){c=c+((d<<8|d>>>8)&65535)|0}else{c=163632}if((I[c|0]|I[c+1|0]<<8)!=256){break c}d=c;f=f>>>16|0;g=(c+(f<<2)|0)+4|0;c=I[c+2|0]|I[c+3|0]<<8;c=f>>>0<((c<<8|c>>>8)&65535)>>>0?g:163632;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((Kb(c?d+c|0:163632,H[e>>2])|0)==-1){break c}c=J[e+12>>1];break d}f=f&65280;if(!f){break d}if((f|0)!=(c&65280)){break c}}f=0;d=J[e+16>>1];if(!(c&16|(d&96)!=32|!I[a+12|0]&(d&543)==513)){f=I[a+13|0]?2:((d&287)!=257)<<1}e:{if(!(H[a+16>>2]&H[e+4>>2])){break e}c=H[a+32>>2];d=I[a+20|0];if((d|0)!=I[e+15|0]?d:0){break e}d=H[a+24>>2];f:{if(d){if(!(Ya[d|0](H[e>>2],c,H[a+28>>2])|0)){break e}c=H[a+32>>2];break f}if(f){break c}}H[a+36>>2]=H[a+36>>2]-1;e=1;if(!c){break a}H[a+32>>2]=c+2;return 1}if(!f){break b}}c=H[a+40>>2];e=H[a>>2];if(c>>>0>e+H[a+36>>2]>>>0){continue}break}}e=0;if(!b){break a}H[b>>2]=c;break a}e=0;if(!b){break a}H[b>>2]=H[a>>2]+1;return 0}return e}function sc(a,b,c,d){var e=0,f=O(0),g=O(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=O(0),u=O(0),v=O(0),w=O(0),x=O(0),y=0,z=0,A=0,B=0,C=0;h=M[d+8>>3];i=M[d>>3];j=M[c+8>>3];k=M[c>>3];l=M[b+8>>3];m=M[b>>3];b=H[a+8>>2];if(b){n=M[b+8>>3];h=h+n;o=M[b>>3];i=i+o;k=k+o;l=l+n;m=m+o;j=j+n}b=H[a+4>>2];c=H[a>>2];y=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(!e){e=vb(d);c=H[a>>2];d=H[c+16>>2]}z=H[c+24>>2];p=H[d+28>>2];if(!p){p=vb(d);c=H[a>>2];d=H[c+16>>2]}A=H[c+20>>2];q=H[d+28>>2];if(!q){q=vb(d);c=H[a>>2];d=H[c+16>>2]}B=H[c+24>>2];r=H[d+28>>2];if(!r){r=vb(d);c=H[a>>2];d=H[c+16>>2]}C=H[c+20>>2];s=H[d+28>>2];if(!s){s=vb(d);c=H[a>>2];d=H[c+16>>2]}a=H[c+24>>2];c=H[d+28>>2];if(!c){c=vb(d)}w=O(O(O(m)*O(y|0))/O(e>>>0));t=O(O(O(l)*O(z|0))/O(p>>>0));x=O(O(O(k)*O(A|0))/O(q>>>0));u=O(O(O(j)*O(B|0))/O(r>>>0));f=O(O(O(i)*O(C|0))/O(s>>>0));d=b+16|0;g=O(O(O(h)*O(a|0))/O(c>>>0));c=H[b+12>>2];a=H[b+8>>2];a:{if(I[b+4|0]){if(!H[d>>2]){Ya[H[a+12>>2]](a,c,d,L[b+28>>2],L[b+32>>2],H[a+32>>2]);H[b+16>>2]=1;e=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=e}Ya[H[a+24>>2]](a,c,d,w,t,x,u,f,g,H[a+44>>2]);break a}v=L[b>>2];f=O(O(g*v)+f);if(!H[b+16>>2]){Ya[H[a+12>>2]](a,c,d,L[b+28>>2],L[b+32>>2],H[a+32>>2]);H[b+16>>2]=1;e=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=e}Ya[H[a+24>>2]](a,c,d,O(O(t*v)+w),t,O(O(u*v)+x),u,f,g,H[a+44>>2])}L[b+32>>2]=g;L[b+28>>2]=f}function tr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Wa-16|0;Wa=h;d=H[b+100>>2];g=I[a+2|0]|I[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=163632}g=Kb(c,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);c=0;a:{if((g|0)==-1){break a}c=H[d+64>>2];H[b+40>>2]=1;H[b+4>>2]=c;f=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[f+68>>2];F[b+24|0]=(c|0)==H[f+64>>2]?I[(H[f+80>>2]+N(c,20)|0)+15|0]:0;H[b+12>>2]=H[b+132>>2]&-15;i=b+4|0;if(!Yd(i,h+12|0)){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[h+12>>2],H[d+64>>2]+1|0,0,1);c=0;break a}j=H[d+80>>2];f=H[i>>2];c=j+N(f,20)|0;if(!(I[c+12|0]&8)){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,f,H[d+64>>2]+1|0,0,1);c=0;break a}e=I[c+14|0];k=e&16?0:e&15;l=H[d+64>>2];c=I[(j+N(l,20)|0)+14|0];m=c&16?0:c&15;b:{c:{if((c^e)>>>0<=31){if(c>>>0<32){break b}if((k|0)!=(m|0)){break c}break b}if(m?0:c>>>0>=32){break b}if(e>>>0<32){break c}if(!k){break b}}c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,f,l+1|0,0,1);c=0;break a}c=I[a+4|0]|I[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=Kb(c,H[j+N(f,20)>>2]);if((c|0)==-1){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[i>>2],H[d+64>>2]+1|0,0,1);c=0;break a}d=I[a+8|0]|I[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}e=I[a+10|0]|I[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=163632}a=I[a+6|0]|I[a+7|0]<<8;c=Tj(d,b,g,c,e,(a<<8|a>>>8)&65535,f)}Wa=h+16|0;return c}function jt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=H[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}h=H[b+12>>2]-4|0;H[b+12>>2]=h;if((h|0)<=0){break a}f=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}if(!f){return 1}i=e;e=a+4|0;if(i>>>0>e>>>0|d>>>0>>0){break a}e=d-e|0;d=f<<2;if(e>>>0>>0){break a}d=h-d|0;H[b+12>>2]=d;if((d|0)<=0){break a}g=1;d=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!l){break a}h=0;while(1){j=H[c>>2];g=0;d=((h<<2)+a|0)+4|0;k=H[b+4>>2];b:{if(d>>>0>>0){break b}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break b}i=H[b+12>>2];e=i-4|0;H[b+12>>2]=e;if((e|0)<=0){break b}g=F[d|0];e=I[d+3|0]|(I[d+1|0]<<16|g<<24|I[d+2|0]<<8);m=(e|0)!=0&(g|0)<0;g=!m;if(!e|m){break b}e=e+j|0;c:{if(e>>>0>>0|f>>>0>>0|f-e>>>0<4){break c}j=i-8|0;H[b+12>>2]=j;if((j|0)<=0){break c}i=H[b+36>>2]+1|0;if(i>>>0>1073741822){break c}g=1;if(!i){break b}e=e+4|0;if(e>>>0>>0|f>>>0>>0){break c}e=f-e|0;f=i<<2;if(e>>>0>>0){break c}f=j-f|0;H[b+12>>2]=f;if((f|0)>0){break b}}g=0;f=H[b+28>>2];if(f>>>0>31){break b}H[b+28>>2]=f+1;if(!I[b+24|0]){break b}F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0;g=1}if(!g){break a}h=h+1|0;if((l|0)!=(h|0)){continue}break}}return g}function en(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=H[c+16>>2];a:{if(i&16){break a}k=H[c+28>>2];b:{g=F[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=F[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=H[(g<<2)+b>>2];j=k-H[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}H[c+24>>2]=h;H[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=H[(g<<2)+b>>2];j=k-(H[h>>2]+H[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}H[c+24>>2]=h;H[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=H[(g<<2)+b>>2];j=k-H[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=H[(g<<2)+b>>2];j=k-(H[h>>2]+H[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}H[c+24>>2]=h;H[c+16>>2]=g|i}if(H[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=H[(g<<2)+b>>2];h=H[i>>2];if(!((h|0)>(k|0)|(h+H[i+4>>2]|0)<(k|0))){H[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Yd(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c=H[a>>2];if(c>>>0>H[a+36>>2]-1>>>0){while(1){c=c-1|0;H[a>>2]=c;e=H[a+4>>2];f=H[H[e+100>>2]+84>>2]+N(c,20)|0;c=J[f+12>>1];d=H[a+8>>2];c:{if(c&d&14){break c}d:{if(!(c&8)){break d}if(d&16){c=H[e+108>>2];e=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<65538){break c}e=I[c+12|0]|I[c+13|0]<<8;if(e){c=c+((e<<8|e>>>8)&65535)|0}else{c=163632}if((I[c|0]|I[c+1|0]<<8)!=256){break c}e=c;d=d>>>16|0;g=(c+(d<<2)|0)+4|0;c=I[c+2|0]|I[c+3|0]<<8;c=d>>>0<((c<<8|c>>>8)&65535)>>>0?g:163632;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((Kb(c?e+c|0:163632,H[f>>2])|0)==-1){break c}c=J[f+12>>1];break d}d=d&65280;if(!d){break d}if((d|0)!=(c&65280)){break c}}e=0;d=J[f+16>>1];if(!(c&16|(d&96)!=32|!I[a+12|0]&(d&543)==513)){e=I[a+13|0]?2:((d&287)!=257)<<1}e:{if(!(H[a+16>>2]&H[f+4>>2])){break e}d=H[a+32>>2];c=I[a+20|0];if((c|0)!=I[f+15|0]?c:0){break e}c=H[a+24>>2];f:{if(c){if(!(Ya[c|0](H[f>>2],d,H[a+28>>2])|0)){break e}d=H[a+32>>2];break f}if(e){break c}}H[a+36>>2]=H[a+36>>2]-1;c=1;if(!d){break a}H[a+32>>2]=d+2;return 1}if(!e){break b}}c=H[a>>2];if(c>>>0>H[a+36>>2]-1>>>0){continue}break}}c=0;if(!b){break a}H[b>>2]=0;break a}c=0;if(!b){break a}a=H[a>>2];H[b>>2]=(a>>>0>1?a:1)-1;return 0}return c}function Vf(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 40}H[a+16>>2]=b;H[a+8>>2]=0;H[a+12>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a>>2]=0;f=Wa-16|0;Wa=f;a:{b:{if(!Ac(239171,F[8921])){H[64884]=28;break b}c=2;if(!Ac(8921,43)){c=I[8921]!=114}c=Ac(8921,120)?c|128:c;c=Ac(8921,101)?c|524288:c;e=c;g=c|64;c=I[8921];e=(c|0)==114?e:g;e=(c|0)==119?e|512:e;H[f>>2]=438;b=Ta(-100,b|0,((c|0)==97?e|1024:e)|32768,f|0)|0;if(b>>>0>=4294963201){H[64884]=0-b;b=-1}if((b|0)<0){break a}e=Wa-32|0;Wa=e;c:{d:{e:{if(!Ac(239171,F[8921])){H[64884]=28;break e}c=tb(1176);if(c){break d}}c=0;break c}kb(c,0,144);if(!Ac(8921,43)){H[c>>2]=I[8921]==114?8:4}f:{if(I[8921]!=97){d=H[c>>2];break f}d=Ea(b|0,3,0)|0;if(!(d&1024)){H[e+16>>2]=d|1024;Ea(b|0,4,e+16|0)|0}d=H[c>>2]|128;H[c>>2]=d}H[c+80>>2]=-1;H[c+48>>2]=1024;H[c+60>>2]=b;H[c+44>>2]=c+152;g:{if(d&8){break g}H[e>>2]=e+24;if(Sa(b|0,21523,e|0)|0){break g}H[c+80>>2]=10}H[c+40>>2]=884;H[c+36>>2]=885;H[c+32>>2]=886;H[c+12>>2]=887;if(!I[259549]){H[c+76>>2]=-1}H[c+56>>2]=H[64902];d=H[64902];if(d){H[d+52>>2]=c}H[64902]=c}Wa=e+32|0;d=c;if(c){break a}Ca(b|0)|0}d=0}Wa=f+16|0;if(!d){return 1}Gj(d,0,2);h:{if(H[d+76>>2]<0){b=Mq(d);c=Xa;break h}b=Mq(d);c=Xa}if((c|0)>=0&b>>>0>=2147483648|(c|0)>0){H[64884]=61;b=-1}H[a+4>>2]=b;if(!b){Oq(d);return 81}Gj(d,0,0);H[a+24>>2]=22;H[a+20>>2]=23;H[a+12>>2]=d;return 0}function Lx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=H[a+804>>2];a:{b:{if(e){d=6;if(K[a+28>>2]<=b>>>0){break a}b=H[e+(b<<2)>>2];break b}d=6;if(K[a+800>>2]<=b>>>0){break a}}d=2;c:{d:{switch(H[a+796>>2]-1|0){case 0:case 1:b=H[a+788>>2]+N(b,48)|0;f=I[b+52|0];G[c>>1]=f;g=I[b+53|0];G[c+2>>1]=g;j=F[b+24|0];e=j<<6;H[c+12>>2]=e;h=F[b+25|0];d=h<<6;H[c+16>>2]=d;i=F[b+33|0];e:{f:{if((h|0)>0){if((i|0)>=0){break e}d=0-d|0;break f}if(h|j){break e}d=F[b+32|0];if(d|i){e=d<<6;H[c+12>>2]=e;d=i<<6;break f}e=g<<6;H[c+12>>2]=e;d=0}H[c+16>>2]=d}H[c+20>>2]=e-d;if((d|0)==(e|0)){e=g<<6;H[c+20>>2]=e;H[c+16>>2]=d-e}H[c+24>>2]=F[b+31|0]+(I[b+26|0]+F[b+30|0]|0)<<6;b=a+178|0;break c;case 2:break d;default:break a}}d=3;b=H[a+788>>2]+(b<<2)|0;b=I[b+8|0]|I[b+9|0]<<8|(I[b+10|0]<<16|I[b+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(K[a+864>>2]>>0){break a}b=H[a+104>>2];d=ob(b,e+H[a+860>>2]|0);if(d){break a}d=Nb(b,4);if(d){break a}e=Rb(b);Rb(b);Db(b);b=a+178|0;d=J[b>>1];G[c+2>>1]=e;G[c>>1]=e;e=e<<6;k=c,l=sb(G[a+220>>1],e,d),H[k+12>>2]=l;k=c,l=sb(G[a+222>>1],e,d),H[k+16>>2]=l;k=c,l=sb(G[a+224>>1]+(G[a+220>>1]-G[a+222>>1]|0)|0,e,d),H[k+20>>2]=l;k=c,l=sb(J[a+226>>1],e,d),H[k+24>>2]=l;f=J[c>>1]}k=c,l=sb(f,4194304,J[b>>1]),H[k+4>>2]=l;k=c,l=sb(J[c+2>>1],4194304,J[b>>1]),H[k+8>>2]=l;d=0}return d|0}function Kh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;a:{b:{d=H[a+24>>2];c:{if(d){d=d-1|0;H[a+24>>2]=d;if(d>>>0>=K[a+32>>2]){d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);i=+z();break c}i=M[H[a+36>>2]+(d<<3)>>3];break c}F[a+20|0]=1;d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);i=+z()}d:{if(P(i)<2147483648){d=~~i;break d}d=-2147483648}f=d+H[b>>2]|0;e:{if((f|0)<0){break e}d=H[b+4>>2];if(!d){break e}d=I[d|0]|I[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=f>>>0){break e}e=H[a+92>>2];if(e>>>0<10){break b}}F[a+40|0]=1;break a}d=H[a+4>>2];H[a+44>>2]=H[a>>2];H[a+48>>2]=d;F[a+60|0]=I[a+16|0];d=H[a+12>>2];H[a+52>>2]=H[a+8>>2];H[a+56>>2]=d;d=a+44|0;f:{if(e>>>0>2]){H[a+92>>2]=e+1;h=H[d+4>>2];e=H[a+104>>2]+N(e,28)|0;H[e>>2]=H[d>>2];H[e+4>>2]=h;H[e+24>>2]=H[d+24>>2];h=H[d+20>>2];H[e+16>>2]=H[d+16>>2];H[e+20>>2]=h;h=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=h;break f}F[a+88|0]=1}g:{h:{b=H[b+4>>2];if(b){e=I[b|0]|I[b+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>f>>>0){break h}}H[g+8>>2]=H[40910];b=H[40909];H[g>>2]=H[40908];H[g+4>>2]=b;break g}$e(g,b,f)}b=H[g+4>>2];H[d>>2]=H[g>>2];H[d+4>>2]=b;H[d+8>>2]=H[g+8>>2];H[a+68>>2]=f;H[a- -64>>2]=c;F[a+60|0]=0;H[a+56>>2]=0;F[a+16|0]=I[d+16|0];b=H[d+12>>2];H[a+8>>2]=H[d+8>>2];H[a+12>>2]=b;b=H[d+4>>2];H[a>>2]=H[d>>2];H[a+4>>2]=b}Wa=g+16|0}function si(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Wa-16|0;Wa=c;H[c+12>>2]=H[a>>2];d=H[a+8>>2];tc(c+12|0,d);b=H[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=I[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}H[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=yn(c+12|0,d);break a}e=ri(c+12|0,d);break a}if(!(I[b+1|0]!=60|b+1>>>0>=d>>>0)){H[c+12>>2]=b+2;break b}e=xn(c+12|0,d);break a}f=b+1|0;H[c+12>>2]=f;e=3;if(I[f|0]!=62|d>>>0<=f>>>0){break a}H[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(I[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}H[c+12>>2]=b}e=0}b=H[c+12>>2];if(b>>>0>>0){e=(b|0)==H[a>>2]?3:e}H[a+12>>2]=e;H[a>>2]=b>>>0>d>>>0?d:b;Wa=c+16|0}function jE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;a=Wa-16|0;Wa=a;H[a+12>>2]=c;H[a+8>>2]=f;H[a+12>>2]=c;H[a+8>>2]=f;a:{b:{while(1){c:{i=H[a+12>>2];if(i>>>0>=d>>>0){break c}l=H[a+8>>2];if(l>>>0>=g>>>0){break c}f=F[i|0];c=f&255;d:{if((f|0)>=0){if(c>>>0<=1114111){f=1;break d}b=2;break a}b=2;if(f>>>0<4294967234){break a}if(f>>>0<=4294967263){if((d-i|0)<2){break b}j=I[i+1|0];if((j&192)!=128){break a}f=2;c=j&63|c<<6&1984;if(c>>>0<=1114111){break d}break a}if(f>>>0<=4294967279){if((d-i|0)<3){break b}k=I[i+2|0];j=I[i+1|0];e:{f:{if((c|0)!=237){if((c|0)!=224){break f}if((j&224)==160){break e}break a}if((j&224)==128){break e}break a}if((j&192)!=128){break a}}if((k&192)!=128){break a}f=3;c=k&63|(c<<12&61440|(j&63)<<6);if(c>>>0<=1114111){break d}break a}if(f>>>0>4294967284){break a}if((d-i|0)<4){break b}k=I[i+2|0];j=I[i+1|0];g:{h:{switch(c-240|0){case 0:if((j+112&255)>>>0<48){break g}break a;case 4:if((j&240)==128){break g}break a;default:break h}}if((j&192)!=128){break a}}if((k&192)!=128){break a}m=I[i+3|0];if((m&192)!=128){break a}f=4;c=m&63|(k<<6&4032|(c<<18&1835008|(j&63)<<12));if(c>>>0>1114111){break a}}H[l>>2]=c;H[a+12>>2]=f+i;H[a+8>>2]=H[a+8>>2]+4;continue}break}b=d>>>0>i>>>0;break a}b=1}H[e>>2]=H[a+12>>2];H[h>>2]=H[a+8>>2];Wa=a+16|0;return b|0}function zr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Wa-16|0;Wa=i;d=H[b+100>>2];c=I[a+2|0]|I[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=0;a:{if((Kb(e,H[H[d+80>>2]+N(H[d+64>>2],20)>>2])|0)==-1){break a}c=H[d+64>>2];H[b+40>>2]=1;H[b+4>>2]=c;e=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[e+68>>2];F[b+24|0]=(c|0)==H[e+64>>2]?I[(H[e+80>>2]+N(c,20)|0)+15|0]:0;e=b+4|0;if(!Pc(e,i+12|0)){c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[d+64>>2],H[i+12>>2],1,0);c=0;break a}c=163632;g=I[a+8|0]|I[a+9|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}j=I[a+4|0]|I[a+5|0]<<8;g=I[a+6|0]|I[a+7|0]<<8;c=Eh(c,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);h=I[a+10|0]|I[a+11|0]<<8;if(h){f=((h<<8|h>>>8)&65535)+a|0}else{f=163632}h=Eh(f,H[H[d+80>>2]+N(H[e>>2],20)>>2]);b:{f=I[a+12|0]|I[a+13|0]<<8;if(c>>>0<((f<<8|f>>>8)&65535)>>>0){f=I[a+14|0]|I[a+15|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>h>>>0){break b}}c=0;if(!(I[d+16|0]&64)){break a}Qb(d,2,H[d+64>>2],H[e>>2]+1|0,1,0);c=0;break a}j=KM(j);c=N(h+N(c,f)|0,KM(g)+j|0);c=(c|0)<0?163632:((c<<1)+a|0)+16|0;c:{if(k=1,l=we(a+4|0,b,a,c,H[d+88>>2]+N(H[d+64>>2],20)|0),m=we(a+6|0,b,a,c+(j<<1)|0,H[d+88>>2]+N(H[b+4>>2],20)|0),m?k:l){Ad(d,H[d+64>>2],H[e>>2]+1|0);break c}if(!(I[d+16|0]&64)){break c}Qb(d,2,H[d+64>>2],H[e>>2]+1|0,1,0)}H[d+64>>2]=H[e>>2]+((g|0)!=0);c=1}Wa=i+16|0;return c}function Vq(){var a=0,b=0,c=0;a=H[64856];a:{if(a){break a}while(1){a=Ab(1,112);if(a){H[a+8>>2]=0;H[a>>2]=1;H[a+4>>2]=1;if(H[64674]){H[64674]=0}if(H[64673]){H[64673]=H[64673]+1}H[a+12>>2]=258692;b=H[64678];H[a+16>>2]=H[64677];H[a+20>>2]=b;b=H[64680];H[a+24>>2]=H[64679];H[a+28>>2]=b;b=H[64682];H[a+32>>2]=H[64681];H[a+36>>2]=b;b=H[64684];H[a+40>>2]=H[64683];H[a+44>>2]=b;b=H[64686];H[a+48>>2]=H[64685];H[a+52>>2]=b;b=H[64688];H[a+56>>2]=H[64687];H[a+60>>2]=b;c=H[64690];b=a- -64|0;H[b>>2]=H[64689];H[b+4>>2]=c;b=H[64692];H[a+72>>2]=H[64691];H[a+76>>2]=b}else{a=258692}if(H[a+4>>2]){b=H[a+80>>2];if(b){Ya[b|0](H[a+48>>2])}H[a+16>>2]=787;H[a+80>>2]=0;H[a+48>>2]=0}if(H[a+4>>2]){b=H[a+88>>2];if(b){Ya[b|0](H[a+56>>2])}H[a+24>>2]=788;H[a+88>>2]=0;H[a+56>>2]=0}if(H[a+4>>2]){b=H[a+92>>2];if(b){Ya[b|0](H[a+60>>2])}H[a+28>>2]=789;H[a+92>>2]=0;H[a+60>>2]=0}if(H[a+4>>2]){b=H[a+96>>2];if(b){Ya[b|0](H[a- -64>>2])}H[a+32>>2]=790;H[a+96>>2]=0;H[a- -64>>2]=0}if(H[a+4>>2]){b=H[a+100>>2];if(b){Ya[b|0](H[a+68>>2])}H[a+36>>2]=791;H[a+100>>2]=0;H[a+68>>2]=0}if(H[a+4>>2]){b=H[a+104>>2];if(b){Ya[b|0](H[a+72>>2])}H[a+40>>2]=792;H[a+104>>2]=0;H[a+72>>2]=0}if(H[a+4>>2]){H[a+4>>2]=0}b=H[64856];a=a?a:258692;H[64856]=b?b:a;if(!b){break a}if(!(!a|(a|0)==258692)){xf(a)}a=H[64856];if(!a){continue}break}}return a}function Dh(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Wa-272|0;Wa=k;l=H[H[a+100>>2]+64>>2];H[k+264>>2]=0;a:{b:{c:{if(!Wj(a,d,e,H[j>>2],H[j+8>>2],k+264|0,k,0)){break c}n=H[k+264>>2];if(!n){l=0;break c}p=H[j+12>>2];q=H[j>>2];H[a+84>>2]=f;e=n-1|0;H[a+48>>2]=e;m=H[H[a+52>>2]+100>>2];H[a+88>>2]=H[m+68>>2];l=0;l=(e|0)==H[m+64>>2]?I[(H[m+80>>2]+N(e,20)|0)+15|0]:l;m=a+48|0;H[a+80>>2]=g;H[a+76>>2]=p;H[a+72>>2]=q;F[a+68|0]=l;l=n;if(!f){break b}d:{if(Pc(m,k+268|0)){e=0;break d}l=H[k+268>>2];break c}e:{while(1){e=e+1|0;if((f|0)!=(e|0)){if(Pc(m,k+268|0)){continue}break e}break}l=H[m>>2]+1|0;break b}l=H[k+268>>2];if(e>>>0>=f>>>0){break b}}a=H[a+100>>2];if(!(I[a+16|0]&64)){break a}Qb(a,2,H[a+64>>2],l,1,0);break a}f=H[a+100>>2];e=H[f+(I[f+61|0]?72:64)>>2];o=H[j+4>>2];p=H[j>>2];H[a+84>>2]=b;H[a+48>>2]=e;g=H[H[a+52>>2]+100>>2];H[a+88>>2]=H[g+68>>2];j=0;j=H[g+64>>2]==(e|0)?I[(H[g+80>>2]+N(e,20)|0)+15|0]:j;H[a+80>>2]=c;H[a+76>>2]=o;H[a+72>>2]=p;F[a+68|0]=j;f:{g:{if(b){if(!Yd(m,k+268|0)){break g}j=0;h:{while(1){j=j+1|0;if((j|0)==(b|0)){e=H[m>>2];break h}if(Yd(m,k+268|0)){continue}break}e=H[k+268>>2];c=e;if(b>>>0>j>>>0){break f}}f=H[a+100>>2]}o=1;Qb(f,3,e,l,1,1);Lr(a,d,k,h,i,n);break a}c=H[k+268>>2]}o=0;a=H[a+100>>2];if(!(I[a+16|0]&64)){break a}Qb(a,2,c,l,0,1)}Wa=k+272|0;return o}function de(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Wa+-64|0;Wa=h;i=a+11724|0;pi(a,H[a+11720>>2],H[i>>2],b,c,h+20|0,h+16|0);pi(a,d,e,f,g,h+12|0,h+8|0);j=H[a+4>>2];H[j+16>>2]=H[j+16>>2]+(N(e-c>>16,b>>16)-N(d-b>>16,c>>16)|0);j=H[h+20>>2];l=j+H[a+11720>>2]|0;H[h>>2]=l;k=H[h+16>>2];i=k+H[i>>2]|0;H[h+4>>2]=i;n=H[h+8>>2];o=H[h+12>>2];c=c+k|0;j=b+j|0;if(I[a+11667|0]){H[h+56>>2]=1;b=H[a+11732>>2];H[h+24>>2]=H[a+11728>>2];H[h+28>>2]=b;if(!I[a+20|0]){df(a,H[a+11736>>2],H[a+11740>>2])}k=ib(H[a+11644>>2],l);m=ib(H[a+11648>>2],i);b=vd(a+8|0,i);k=k+m|0;p=h,q=(ib(H[H[a>>2]+64>>2],k)+ib(H[H[a>>2]+72>>2],b)|0)+H[a+11656>>2]|0,H[p+32>>2]=q;p=h,q=(ib(H[H[a>>2]+68>>2],k)+ib(H[H[a>>2]+76>>2],b)|0)+H[a+11660>>2]|0,H[p+36>>2]=q;b=H[a+4>>2];Ya[H[b>>2]](b,h+24|0);k=H[h+32>>2];m=H[h+36>>2];b=0;H[a+11704>>2]=b|l;H[a+11708>>2]=i;H[a+11728>>2]=k;H[a+11732>>2]=m;H[a+11712>>2]=b|j;H[a+11716>>2]=c;F[a+11664|0]=1;F[a+11667|0]=0}if(I[a+11744|0]){Qf(a,a+8|0,h,j,c,0)}H[a+11748>>2]=4;F[a+11744|0]=1;b=H[h+4>>2];i=H[h>>2];H[a+11780>>2]=g+n;H[a+11776>>2]=f+o;H[a+11772>>2]=e+n;H[a+11768>>2]=d+o;H[a+11752>>2]=i;H[a+11756>>2]=b;H[a+11760>>2]=j;H[a+11764>>2]=c;b=H[a+11676>>2];if(I[b+5|0]){Rf(a+8|0,H[a+11668>>2],H[a+11672>>2],b,H[a+11680>>2],0)}H[a+11724>>2]=g;H[a+11720>>2]=f;Wa=h- -64|0}function Cy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;g=H[a+16>>2];a=I[g+6|0]|I[g+7|0]<<8|(I[g+8|0]<<16|I[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+N(e,11)|0;h=d-3|0;h=I[h+1|0]<<8|I[h|0]<<16|I[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);d:{a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;j=h+(a<<2)|0;d=j-3|0;d=I[d+1|0]<<8|I[d|0]<<16|I[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+I[j|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+N(c,5)|0;d=e-3|0;d=I[d+1|0]<<8|I[d|0]<<16|I[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(I[e+1|0]|I[e|0]<<8){break a}}i=-1}return i|0}function Ou(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}g=a-120|0;while(1){d=H[g>>2];if(!d){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=ac(d);F[b+40|0]=1;H[b+36>>2]=c;c=0;d=_b(d,1634626418);if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}f=d;H[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){F[b+24|0]=c;c=H[f+12>>2];H[b+4>>2]=c;e=H[f+16>>2];H[b+8>>2]=e+c;H[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}H[b+12>>2]=e;H[b+20>>2]=0;H[b>>2]=0;if(!c){lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}e=nl(c,b);f=H[b+28>>2];g:{if(e){if(!f){break g}H[b+28>>2]=0;c=nl(c,b);f=H[b+28>>2];lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(I[b+24|0]|!f){break e}e=Ec(d);H[b+4>>2]=e;H[b+8>>2]=e+H[d+16>>2];f=H[b+32>>2];c=1;if(e){continue}break d}break}lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}if(H[d+4>>2]){H[d+4>>2]=0}break b}f=H[b+32>>2]}lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(d);d=163632}c=d;if(!d){c=163632}d=H[a>>2];H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return(K[c+16>>2]<12?163632:H[c+12>>2])|0}function Dy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{i=H[a+16>>2];a=I[i+6|0]|I[i+7|0]<<8|(I[i+8|0]<<16|I[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+N(f,11)|0;h=e-3|0;h=I[h+1|0]<<8|I[h|0]<<16|I[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);e:{a=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;j=h+(a<<2)|0;e=j-3|0;e=I[e+1|0]<<8|I[e|0]<<16|I[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+I[j|0]>>>0>>0){continue}break}return Ya[H[H[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+N(b,5)|0;f=d-3|0;f=I[f+1|0]<<8|I[f|0]<<16|I[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return I[d+1|0]|I[d|0]<<8}function pn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Wa-32|0;Wa=f;H[f+28>>2]=0;H[f+16>>2]=H[5328];d=H[5327];H[f+8>>2]=H[5326];H[f+12>>2]=d;d=H[5325];H[f>>2]=H[5324];H[f+4>>2]=d;c=48;d=f;a:{while(1){b=d+1|0;if((c&255)==32){while(1){d=b;b=b+1|0;c=I[d|0];if((c|0)==32){continue}break}}i=H[a+36>>2];g=c&255;if(!(c<<24>>24>=0)){e=g>>>0<240;c=g>>>0<224;h=c?1:e?2:3;j=h-1|0;g=(c?31:e?15:7)&g;e=0;c=h;while(1){g=I[b|0]&63|g<<6;c=c-1|0;b=b+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}if(j>>>0>=3){while(1){g=I[b+3|0]&63|((I[b+1|0]&63|(g<<12|(I[b|0]&63)<<6))<<12|(I[b+2|0]&63)<<6);b=b+4|0;c=c-4|0;if(c){continue}break}}b=(d+h|0)+1|0}d=b;k=H[i>>2];c=0;while(1){b=I[d|0];if((b|32)!=32){d=d+1|0;c=b;if(b<<24>>24>=0){continue}e=c>>>0<240;b=c>>>0<224;h=b?1:e?2:3;j=h-1|0;c=(b?31:e?15:7)&c;i=0;e=h;b=d;while(1){c=I[b|0]&63|c<<6;e=e-1|0;b=b+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}if(j>>>0>=3){while(1){c=I[b+3|0]&63|((I[b+1|0]&63|(c<<12|(I[b|0]&63)<<6))<<12|(I[b+2|0]&63)<<6);b=b+4|0;e=e-4|0;if(e){continue}break}}d=d+h|0;continue}break}b:{if(c){dg(k,0,2051,f+28|0);break b}b=pc(k,g);dg(H[H[a+36>>2]>>2],b,2051,f+28|0);if(!b){break b}b=l;l=1;c=H[f+28>>2];if(!b){m=c;break b}if((c|0)==(m|0)){break b}b=0;break a}c=I[d|0];if(c){continue}break}b=1}F[a+32|0]=b;Wa=f+32|0}function sw(a){a=a|0;var b=0,c=0,d=0;if(a){c=H[a+100>>2];b=H[a+548>>2];if(b){if(b){Ya[H[c+8>>2]](c,b)}H[a+544>>2]=0;H[a+548>>2]=0}Lf(a);H[a+532>>2]=0;b=H[a+132>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+132>>2]=0;b=H[a+136>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+136>>2]=0;b=H[a+140>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+140>>2]=0;b=H[a+144>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+144>>2]=0;b=H[a+148>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+148>>2]=0;b=H[a+432>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+432>>2]=0;b=H[a+428>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+428>>2]=0;b=H[a+424>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+424>>2]=0;b=H[a+408>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+408>>2]=0;b=H[a+412>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+412>>2]=0;$g(H[a+416>>2],c);b=H[a+416>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+416>>2]=0;b=H[a+392>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+392>>2]=0;b=H[a+396>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+396>>2]=0;b=H[a+400>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+400>>2]=0;b=H[a+384>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+384>>2]=0;b=H[a+388>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+388>>2]=0;b=H[a+364>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+364>>2]=0;b=H[a+496>>2];if(b){d=H[b+36>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+36>>2]=0;H[b+40>>2]=0;d=H[b+28>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+28>>2]=0;H[b+32>>2]=0;if(b){Ya[H[c+8>>2]](c,b)}}H[a+20>>2]=0;H[a+24>>2]=0}}function kv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=H[H[H[a+4>>2]+96>>2]+28>>2];i=mc(H[H[H[b>>2]+428>>2]+(c<<2)>>2],0);a:{b:{c=H[a+160>>2];e=H[c+156>>2];if(!e){break b}f=H[e+4>>2];if(!(f&1)){break b}g=H[c+88>>2];if(g){e=H[H[c+4>>2]+100>>2];Ya[H[e+8>>2]](e,g);e=H[c+156>>2];f=H[e+4>>2]}H[c+88>>2]=0;H[e+4>>2]=f&-2;break a}H[c+88>>2]=0}H[c+24>>2]=0;H[c+28>>2]=0;H[c+152>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;H[c+48>>2]=0;H[c+52>>2]=0;H[c+56>>2]=0;H[c+60>>2]=0;kb(c+72|0,0,72);c=Ya[H[h+72>>2]](H[a+160>>2],H[b+44>>2],i,d|8)|0;if(!c){b=H[a+160>>2];d=H[b+28>>2];H[a+24>>2]=H[b+24>>2];H[a+28>>2]=d;d=H[b+36>>2];H[a+32>>2]=H[b+32>>2];H[a+36>>2]=d;d=H[b+44>>2];H[a+40>>2]=H[b+40>>2];H[a+44>>2]=d;d=H[b+52>>2];H[a+48>>2]=H[b+48>>2];H[a+52>>2]=d;H[a+56>>2]=H[b+56>>2];H[a+60>>2]=H[b+60>>2];H[a+72>>2]=H[b+72>>2];H[a+124>>2]=H[b+124>>2];d=H[b+120>>2];H[a+116>>2]=H[b+116>>2];H[a+120>>2]=d;d=H[b+112>>2];H[a+108>>2]=H[b+108>>2];H[a+112>>2]=d;d=H[b+96>>2];H[a+92>>2]=H[b+92>>2];H[a+96>>2]=d;d=H[b+88>>2];H[a+84>>2]=H[b+84>>2];H[a+88>>2]=d;d=H[b+80>>2];H[a+76>>2]=H[b+76>>2];H[a+80>>2]=d;H[a+100>>2]=H[b+100>>2];H[a+104>>2]=H[b+104>>2];H[a+128>>2]=H[b+128>>2];H[a+132>>2]=H[b+132>>2];H[a+136>>2]=H[b+136>>2];H[a+140>>2]=H[b+140>>2]}return c|0}function Kl(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}g=a-124|0;while(1){d=H[g>>2];if(!d){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=ac(d);F[b+40|0]=1;H[b+36>>2]=c;c=0;d=_b(d,1953653099);if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}f=d;H[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){F[b+24|0]=c;c=H[f+12>>2];H[b+4>>2]=c;e=H[f+16>>2];H[b+8>>2]=e+c;H[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}H[b+12>>2]=e;H[b+20>>2]=0;H[b>>2]=0;if(!c){lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}e=ll(c,b);f=H[b+28>>2];g:{if(e){if(!f){break g}H[b+28>>2]=0;c=ll(c,b);f=H[b+28>>2];lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(I[b+24|0]|!f){break e}e=Ec(d);H[b+4>>2]=e;H[b+8>>2]=e+H[d+16>>2];f=H[b+32>>2];c=1;if(e){continue}break d}break}lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}if(H[d+4>>2]){H[d+4>>2]=0}break b}f=H[b+32>>2]}lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(d);d=163632}c=d;if(!d){c=163632}d=H[a>>2];H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<12?163632:H[c+12>>2]}function wk(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}g=a-72|0;while(1){d=H[g>>2];if(!d){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=ac(d);F[b+40|0]=1;H[b+36>>2]=c;c=0;d=_b(d,1719034226);if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}f=d;H[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){F[b+24|0]=c;c=H[f+12>>2];H[b+4>>2]=c;e=H[f+16>>2];H[b+8>>2]=e+c;H[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}H[b+12>>2]=e;H[b+20>>2]=0;H[b>>2]=0;if(!c){lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}e=vk(c,b);f=H[b+28>>2];g:{if(e){if(!f){break g}H[b+28>>2]=0;c=vk(c,b);f=H[b+28>>2];lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(I[b+24|0]|!f){break e}e=Ec(d);H[b+4>>2]=e;H[b+8>>2]=e+H[d+16>>2];f=H[b+32>>2];c=1;if(e){continue}break d}break}lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}if(H[d+4>>2]){H[d+4>>2]=0}break b}f=H[b+32>>2]}lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(d);d=163632}c=d;if(!d){c=163632}d=H[a>>2];H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<16?163632:H[c+12>>2]}function Wd(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}g=a-84|0;while(1){d=H[g>>2];if(!d){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=ac(d);F[b+40|0]=1;H[b+36>>2]=c;c=0;d=_b(d,1297498450);if(!(!d|!H[d>>2])){H[d>>2]=H[d>>2]+1}f=d;H[b+32>>2]=d;b:{c:{d:{e:{f:{while(1){F[b+24|0]=c;c=H[f+12>>2];H[b+4>>2]=c;e=H[f+16>>2];H[b+8>>2]=e+c;H[b+28>>2]=0;if(e>>>0<=67108862){e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}else{e=1073741823}H[b+12>>2]=e;H[b+20>>2]=0;H[b>>2]=0;if(!c){lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}e=nr(c,b);f=H[b+28>>2];g:{if(e){if(!f){break g}H[b+28>>2]=0;c=nr(c,b);f=H[b+28>>2];lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(!c){break c}if(!f){break f}break c}if(I[b+24|0]|!f){break e}e=Ec(d);H[b+4>>2]=e;H[b+8>>2]=e+H[d+16>>2];f=H[b+32>>2];c=1;if(e){continue}break d}break}lb(H[b+32>>2]);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}if(H[d+4>>2]){H[d+4>>2]=0}break b}f=H[b+32>>2]}lb(f);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(d);d=163632}c=d;if(!d){c=163632}d=H[a>>2];H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<12?163632:H[c+12>>2]}function Mb(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=H[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=I[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=Nb(a,J[b+2>>1]);if(d){break a}d=H[a+32>>2];h=1;b=b+4|0;continue}f=I[b+1|0];e=f+d|0;if(e>>>0>K[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}mb(J[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=I[d+1|0]|I[d|0]<<8;f=16;d=d+2|0;break c}e=I[d|0]|I[d+1|0]<<8;f=16;d=d+2|0;break c}e=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=I[d+2|0]|(I[d+1|0]<<8|I[d|0]<<16);d=d+3|0;break c}f=8;e=I[d|0]|(I[d+1|0]<<8|I[d+2|0]<<16);d=d+3|0;break c}e=I[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=J[b+2>>1]+c|0;m:{n:{switch(I[b+1|0]-1|0){case 0:F[f|0]=e;break m;case 1:G[f>>1]=e;break m;default:break n}}H[f>>2]=e}b=b+4|0;continue}break}H[a+32>>2]=d;d=0}if(h){if(H[a+20>>2]){b=H[a>>2];if(b){c=H[a+28>>2];Ya[H[c+8>>2]](c,b)}H[a>>2]=0}H[a+32>>2]=0;H[a+36>>2]=0}return d}function zf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Wa-16|0;Wa=i;a:{if(H[a+20>>2]){break a}b=H[a+48>>2];if(b>>>0<2){break a}m=a+56|0;k=H[40908];while(1){b=b<<2;if(K[H[(b+H[a+52>>2]|0)-4>>2]>>2]>=K[a+8>>2]){break a}g=H[(b+H[a+52>>2]|0)-4>>2];b=0;H[i+12>>2]=0;h=0;d=H[g>>2];f=H[g+4>>2];b:{if((d|0)==(f|0)){break b}j=f-d|0;l=j&3;e=0;c=0;if(f+(d^-1)>>>0>=3){j=j&-4;f=0;while(1){h=N(F[(c|3)+d|0],-1640531535)+N(N(F[(c|2)+d|0],-1640531535)+N(N(F[(c|1)+d|0],-1640531535)+N(N(F[c+d|0],-1640531535)+N(h,31)|0,31)|0,31)|0,31)|0;c=c+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}if(!l){break b}while(1){h=N(F[c+d|0],-1640531535)+N(h,31)|0;c=c+1|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}d=H[g+12>>2]<<4;c:{if(!d){e=0;break c}c=H[g+16>>2];e=0;while(1){e=N(F[c+(b|3)|0],-1640531535)+N(N(F[c+(b|2)|0],-1640531535)+N(N(F[c+(b|1)|0],-1640531535)+N(N(F[b+c|0],-1640531535)+N(e,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}Oh(m,g,e^h,i+12|0);b=H[a+48>>2];d:{if(!b){H[64760]=k;b=k;break d}b=H[(H[a+52>>2]+(b<<2)|0)-4>>2]}H[b+12>>2]=0;hb(H[b+16>>2]);H[b+24>>2]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;hb(H[b+28>>2]);H[b+28>>2]=0;H[b+20>>2]=0;H[b+24>>2]=0;b=H[a+48>>2];if(!b){break a}b=b-1|0;H[a+48>>2]=b;if(b>>>0>1){continue}break}}Wa=i+16|0}function rc(a,b,c,d){var e=0,f=0,g=0,h=O(0),i=O(0),j=0,k=0,l=0,m=O(0),n=O(0),o=O(0),p=O(0),q=O(0),r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=H[a>>2];f=H[a+4>>2];r=H[f+20>>2];s=M[b>>3];g=H[f+16>>2];j=H[g+28>>2];if(!j){j=vb(g);f=H[a+4>>2];g=H[f+16>>2]}t=H[f+24>>2];u=M[b+8>>3];b=H[g+28>>2];if(!b){b=vb(g);f=H[a+4>>2];g=H[f+16>>2]}v=H[f+20>>2];w=M[c>>3];k=H[g+28>>2];if(!k){k=vb(g);f=H[a+4>>2];g=H[f+16>>2]}x=H[f+24>>2];y=M[c+8>>3];c=H[g+28>>2];if(!c){c=vb(g);f=H[a+4>>2];g=H[f+16>>2]}z=H[f+20>>2];h=O(M[d>>3]);l=H[g+28>>2];if(!l){l=vb(g);f=H[a+4>>2];g=H[f+16>>2]}p=O(O(O(s)*O(r|0))/O(j>>>0));m=O(O(O(u)*O(t|0))/O(b>>>0));q=O(O(O(w)*O(v|0))/O(k>>>0));n=O(O(O(y)*O(x|0))/O(c>>>0));h=O(O(h*O(z|0))/O(l>>>0));b=e+16|0;i=O(O(M[d+8>>3])*O(H[f+24>>2]));a=H[g+28>>2];if(!a){a=vb(g)}i=O(i/O(a>>>0));c=H[e+12>>2];a=H[e+8>>2];a:{if(I[e+4|0]){if(!H[b>>2]){Ya[H[a+12>>2]](a,c,b,L[e+28>>2],L[e+32>>2],H[a+32>>2]);H[e+16>>2]=1;d=H[e+32>>2];H[e+20>>2]=H[e+28>>2];H[e+24>>2]=d}Ya[H[a+24>>2]](a,c,b,p,m,q,n,h,i,H[a+44>>2]);break a}o=L[e>>2];h=O(O(i*o)+h);if(!H[e+16>>2]){Ya[H[a+12>>2]](a,c,b,L[e+28>>2],L[e+32>>2],H[a+32>>2]);H[e+16>>2]=1;d=H[e+32>>2];H[e+20>>2]=H[e+28>>2];H[e+24>>2]=d}Ya[H[a+24>>2]](a,c,b,O(O(m*o)+p),m,O(O(n*o)+q),n,h,i,H[a+44>>2])}L[e+32>>2]=i;L[e+28>>2]=h}function hM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;f=Wa-16|0;Wa=f;j=1;h=1;a=at(b+28|0);g=H[a+4>>2];a:{b:{if((g|0)!=131072){if((g|0)!=65536|c>>>0>257){break a}a=c<<2;h=H[a+122816>>2];g=h+119104|0;a=H[a+122820>>2]+(h^-1)|0;break b}g=H[a+8>>2];i=I[g|0]|I[g+1|0]<<8;if(((i<<8|i>>>8)&65535)>>>0<=c>>>0){break a}g=g+(c<<1)|0;g=I[g+2|0]|I[g+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0<=257){a=g<<2;h=H[a+122816>>2];g=h+119104|0;a=H[a+122820>>2]+(h^-1)|0;break b}g=g-258|0;if(g>>>0>=K[a+16>>2]){break a}a=H[a+24>>2]+H[H[a+20>>2]+(g<<2)>>2]|0;g=a+1|0;a=I[a|0]}h=!a;if(!e|!a){break a}h=0;i=g;g=e-1|0;a=a>>>0>g>>>0?g:a;k=Ue(d,i,a)+a|0,l=0,F[k|0]=l}c:{if(!h){break c}a=H[b+64>>2];d:{if(a){break d}while(1){h=H[b>>2];if(!h){a=163632;break d}a=Ab(1,244);e:{if(a){g=Hh(a,h);h=H[b+64>>2];H[b+64>>2]=h?h:a;if(!h){break d}og(g);hb(a);break e}a=163632;h=H[b+64>>2];H[b+64>>2]=h?h:163632;if(!h){break d}}a=H[b+64>>2];if(!a){continue}break}}if(!d){break c}j=0;if(!H[a>>2]|H[a+148>>2]!=-1){break c}b=gk(a,c);f:{if(b>>>0<=390){b=b<<2;a=H[b+115968>>2];b=H[b+115972>>2]+(a^-1)|0;a=a+109072|0;break f}$e(f,H[a+64>>2],b-391|0);b=H[f+4>>2];a=H[f>>2]}if(!b){break c}c=a;a=e-1|0;a=a>>>0>>0?a:b;k=Ue(d,c,a)+a|0,l=0,F[k|0]=l;j=1}Wa=f+16|0;return j|0}function Gs(a,b){var c=0,d=0,e=0,f=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}c=b;H[a+32>>2]=c;a:{b:{c:{while(1){F[a+24|0]=e;d=H[c+12>>2];H[a+4>>2]=d;e=H[c+16>>2];H[a+8>>2]=e+d;f=1073741823;H[a+28>>2]=0;if(e>>>0<=67108862){f=e<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}H[a+12>>2]=f;H[a+20>>2]=0;H[a>>2]=0;if(!d){lb(c);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}d:{e:{if((e|0)<4){break e}H[a+12>>2]=f-4;f:{g:{c=I[d|0]|I[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break f;case 0:break g;default:break d}}if(!qs(d,a)){break e}break d}if(ps(d,a)){break d}}if(I[a+24|0]|!H[a+28>>2]){break c}d=Ec(b);H[a+4>>2]=d;H[a+8>>2]=d+H[b+16>>2];c=H[a+32>>2];e=1;if(d){continue}break b}break}h:{if(H[a+28>>2]){e=0;H[a+28>>2]=0;if(d>>>0>2]){break c}c=H[a+8>>2];i:{if(c>>>0>>0|c-d>>>0<4){break i}c=H[a+12>>2]-4|0;H[a+12>>2]=c;if((c|0)<=0){break i}e=1;j:{k:{c=I[d|0]|I[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break j;case 0:break k;default:break i}}e=qs(d,a);break i}e=ps(d,a)}c=H[a+28>>2];lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!e){break a}if(!c){break h}break a}lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b}c=H[a+32>>2]}lb(c);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function hf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=H[c+12>>2];d=H[b+120>>2];if(d){Ya[d|0](H[b+116>>2])}e=H[b+84>>2];if(e){while(1){h=H[e+4>>2];d=H[h+84>>2];a:{if(!d){break a}i=H[H[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){g=0;break b}while(1){f=H[d+8>>2];if(!f){break a}g=d;d=f;if((e|0)!=(d|0)){continue}break}}H[(g?g+8|0:h+84|0)>>2]=H[e+8>>2];d=H[e+20>>2];if(d){Ya[d|0](e)}Vg(e);Ya[H[i+8>>2]](i,e);e=H[b+84>>2]}if(e){continue}break}}if(a){d=H[b+108>>2];if(d){while(1){g=H[d+4>>2];f=H[d+8>>2];e=H[f+8>>2];if(e){Ya[e|0](f)}e=H[H[c+12>>2]+60>>2];if(e){Ya[e|0](f)}e=H[f+40>>2];if(e){Ya[H[a+8>>2]](a,e)}H[f+40>>2]=0;Ya[H[a+8>>2]](a,f);Ya[H[a+8>>2]](a,d);d=g;if(d){continue}break}}H[b+108>>2]=0;H[b+112>>2]=0}H[b+88>>2]=0;c=H[b+48>>2];if(c){Ya[c|0](b)}if(H[b+36>>2]>0){d=0;while(1){f=d<<2;c=H[f+H[b+40>>2]>>2];g=H[H[c>>2]+100>>2];e=H[H[c+12>>2]+8>>2];if(e){Ya[e|0](c)}Ya[H[g+8>>2]](g,c);H[f+H[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=H[b+40>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+36>>2]=0;H[b+40>>2]=0;c=H[j+52>>2];if(c){Ya[c|0](b)}c=H[b+104>>2];c:{if(!c){break c}g=H[b+8>>2];d=H[c+28>>2];f=H[c+24>>2];if(f){Ya[f|0](c)}if(g&1024){break c}Ya[H[d+8>>2]](d,c)}H[b+104>>2]=0;c=H[b+128>>2];if(c){Ya[H[a+8>>2]](a,c);H[b+128>>2]=0}Ya[H[a+8>>2]](a,b)}function oq(a,b){var c=0,d=0,e=0;e=Wa-16|0;Wa=e;H[a+4>>2]=0;xj(e+8|0,a,1);a:{b:{c=0;c:{if(!I[e+8|0]){break c}while(1){d:{c=H[H[a>>2]-12>>2];H[65057]=0;c=H[(a+c|0)+24>>2];d=H[65057];H[65057]=0;if((d|0)==1){break d}H[65057]=0;d=aa(901,c|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break d}c=2;if((d|0)==-1){break c}d=d<<24>>24;if((d|0)==10){c=H[H[a>>2]-12>>2];H[65057]=0;c=H[(a+c|0)+24>>2];d=H[65057];H[65057]=0;e:{if((d|0)==1){break e}H[65057]=0;aa(898,c|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break e}H[a+4>>2]=H[a+4>>2]+1;c=0;break c}break d}c=4;if(H[a+4>>2]>=99){break c}F[b|0]=d;c=H[H[a>>2]-12>>2];H[65057]=0;c=H[(a+c|0)+24>>2];d=H[65057];H[65057]=0;b=b+1|0;if((d|0)==1){break d}H[65057]=0;aa(898,c|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break d}H[a+4>>2]=H[a+4>>2]+1;continue}break}c=ea(0)|0;_()|0;oa(c|0)|0;c=H[H[a>>2]-12>>2]+a|0;H[c+16>>2]=!H[c+24>>2]|(H[c+16>>2]|1);c=H[H[a>>2]-12>>2];H[65057]=0;c=H[(a+c|0)+20>>2];d=H[65057];H[65057]=0;f:{if((d|0)!=1){if(!(c&1)){break f}F[b|0]=0;H[65057]=0;ia(874);a=H[65057];H[65057]=0;if((a|0)!=1){break a}}a=$()|0;_()|0;H[65057]=0;ia(875);b=H[65057];H[65057]=0;if((b|0)==1){break b}ba(a|0);X()}pa();c=1}F[b|0]=0;$f(H[H[a>>2]-12>>2]+a|0,H[a+4>>2]?c:c|4);Wa=e+16|0;return a}ea(0)|0;_()|0;Gb()}X()}function uh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(a&4){f=d>>31;e=(f^d)-f|0;a:{b:{c:{if((c|0)==1){if(!(a&2)){break c}break b}if(a&1){break b}}d:{a=N(c,7676)+b|0;if(!H[a+52>>2]){break d}c=H[a+60>>2];a=e-c|0;b=a>>31;if((a^b)-b>>>0>39){break d}e=(c|0)>48?c:48;break a}if(e>>>0<=53){e=(54-e>>>1&127)+e|0;break a}if(e>>>0>191){break a}b=e&63;if(b>>>0<10){break a}a=e&2147483584;if(b>>>0<=21){e=a|10;break a}e=b-42>>>0<12?a|54:e;break a}e:{f:{g:{h:{i:{f=H[(N(c,7676)+b|0)+52>>2];if(f){r=f&1;if((f|0)!=1){break i}i=98;f=e;break h}h=e+32&2147483584;f=e;break g}s=f&-2;i=98;m=(N(c,7676)+b|0)+56|0;f=e;while(1){n=H[(N(h|1,12)+m|0)+4>>2];j=e-n|0;o=j>>31;p=H[(N(h,12)+m|0)+4>>2];g=e-p|0;k=g>>31;g=(g^k)-k|0;q=(g|0)<(i|0);j=(j^o)-o|0;g=q?g:i;k=(j|0)<(g|0);i=k?j:g;f=k?n:q?p:f;h=h+2|0;l=l+2|0;if((s|0)!=(l|0)){continue}break}}if(r){l=H[((N(c,7676)+b|0)+N(h,12)|0)+60>>2];b=e-l|0;g=b>>31;f=((b^g)-g|0)<(i|0)?l:f}h=f+32&-64;if((e|0)<(f|0)){break f}}b=(h|48)>(e|0)?f:e;break e}b=(h-48|0)<(e|0)?f:e}if((c|0)==1){e=64;if((b|0)<64){break a}e=b+16&-64;break a}if(a&8){e=64;if((b|0)<64){break a}e=b+32&-64;break a}if((b|0)<=47){e=b- -64>>1;break a}if(b>>>0<=127){e=b+22&-64;break a}e=b+32&-64}d=(d|0)<0?0-e|0:e}return d}function Vp(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{c=H[a+4>>2];f:{if((c|0)!=H[a+104>>2]){H[a+4>>2]=c+1;c=I[c|0];break f}c=Ub(a)}switch(c-43|0){case 0:case 2:break e;default:break d}}f=(c|0)==45;g=!b;c=H[a+4>>2];g:{if((c|0)!=H[a+104>>2]){H[a+4>>2]=c+1;c=I[c|0];break g}c=Ub(a)}b=c-58|0;if(g|b>>>0>4294967285){break c}if(H[a+116>>2]<0){break b}H[a+4>>2]=H[a+4>>2]-1;break b}b=c-58|0}if(b>>>0<4294967286){break b}b=c-48|0;if(b>>>0<10){while(1){d=N(d,10)+c|0;d=d-48|0;e=(d|0)<214748364;b=H[a+4>>2];h:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;c=I[b|0];break h}c=Ub(a)}b=c-48|0;if(e&b>>>0<=9){continue}break}e=d>>31}i:{if(b>>>0>=10){break i}while(1){d=HM(d,e,10,0);c=d+c|0;b=Xa;b=c>>>0>>0?b+1|0:b;d=c-48|0;e=b-(c>>>0<48)|0;b=H[a+4>>2];j:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;c=I[b|0];break j}c=Ub(a)}b=c-48|0;if(b>>>0>9){break i}if(d>>>0<2061584302&(e|0)<=21474836|(e|0)<21474836){continue}break}}if(b>>>0<10){while(1){b=H[a+4>>2];k:{if((b|0)!=H[a+104>>2]){H[a+4>>2]=b+1;b=I[b|0];break k}b=Ub(a)}if(b-48>>>0<10){continue}break}}b=H[a+116>>2];if((b|0)>0|(b|0)>=0){H[a+4>>2]=H[a+4>>2]-1}a=d;d=f?0-a|0:a;e=f?0-(((a|0)!=0)+e|0)|0:e;break a}e=-2147483648;if(H[a+116>>2]<0){break a}H[a+4>>2]=H[a+4>>2]-1;Xa=-2147483648;return 0}Xa=e;return d} +function Xm(a){var b=0,c=0,d=0,e=0,f=0;if(a){c=H[a+100>>2];d=H[a>>2];if(d){Ya[H[c+8>>2]](c,d)}H[a>>2]=0;d=H[a+92>>2];if(d){$g(d,c);d=H[a+92>>2];if(d){Ya[H[c+8>>2]](c,d)}H[a+92>>2]=0}d=H[a+84>>2];if(d){Ya[H[c+8>>2]](c,d)}H[a+84>>2]=0;d=H[a+72>>2];if(d){while(1){e=b<<4;f=e+H[a+80>>2]|0;if(H[f+4>>2]==1){d=H[f+12>>2];if(d){Ya[H[c+8>>2]](c,d)}H[(e+H[a+80>>2]|0)+12>>2]=0;d=H[a+72>>2]}b=b+1|0;if(d>>>0>b>>>0){continue}break}}b=H[a+80>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+80>>2]=0;if(H[a+52>>2]){b=H[a+56>>2];d=0;while(1){e=H[b>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b>>2]=0;e=H[b+24>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b+24>>2]=0;b=b+36|0;d=d+1|0;if(d>>>0>2]){continue}break}}if(H[a+64>>2]){b=H[a+68>>2];d=0;while(1){e=H[b>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b>>2]=0;e=H[b+24>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b+24>>2]=0;b=b+36|0;d=d+1|0;if(d>>>0>2]){continue}break}}b=H[a+56>>2];if(b){Ya[H[c+8>>2]](c,b)}d=0;H[a+56>>2]=0;b=H[a+68>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+68>>2]=0;$g(a+112|0,c);b=H[a+104>>2];if(H[a+108>>2]){while(1){e=H[b>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b>>2]=0;if(H[b+4>>2]==1){e=H[b+12>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b+12>>2]=0}b=b+16|0;d=d+1|0;if(d>>>0>2]){continue}break}b=H[a+104>>2]}if(b){Ya[H[c+8>>2]](c,b)}H[a+104>>2]=0}}function jr(a,b,c,d){var e=0,f=0,g=0;if(H[b+20>>2]){return 0}a:{f=a+6|0;g=H[b+4>>2];e=f-g|0;if(!((e|0)>=0&(e|0)<=(H[b+8>>2]-g|0))){break a}b:{c:{if((f|0)==(g|0)){H[b+4>>2]=e+f;break c}f=0;kb(g,0,e);g=e;e=H[b+4>>2];H[b+4>>2]=g+e;if(!e){break b}}f=d<<8|(d&65280)>>>8;F[a+2|0]=f;F[a+3|0]=f>>>8;c=c<<8|(c&65280)>>>8;F[a|0]=c;F[a+1|0]=c>>>8;if(H[b+20>>2]){return 0}f=a+6|0;e=H[b+4>>2];c=f-e|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-e|0))){break a}d:{if((e|0)==(f|0)){H[b+4>>2]=c+f;break d}f=0;kb(e,0,c);e=c;c=H[b+4>>2];H[b+4>>2]=e+c;if(!c){break b}}F[a+4|0]=0;F[a+5|0]=1;if(H[b+20>>2]){return 0}f=a+8|0;e=H[b+4>>2];c=f-e|0;if(!((c|0)>=0&(c|0)<=(H[b+8>>2]-e|0))){break a}e:{if((e|0)==(f|0)){c=c+f|0;H[b+4>>2]=c;break e}f=0;kb(e,0,c);e=H[b+4>>2];c=e+c|0;H[b+4>>2]=c;if(!e){break b}}f=1;if(!(I[a+3|0]&16)){break b}f=0;if(H[b+20>>2]){break b}e=I[a+4|0]|I[a+5|0]<<8;g=(((e<<8|e>>>8)&65535)<<1)+2|0;e=((g+a|0)-a|0)+6|0;if((e|0)<0){break b}f=a+e|0;e=f-c|0;if(!((e|0)>=0&(e|0)<=(H[b+8>>2]-c|0))){break a}f:{if((c|0)==(f|0)){H[b+4>>2]=c+e;break f}f=0;kb(c,0,e);c=b;b=H[b+4>>2];H[c+4>>2]=b+e;if(!b){break b}b=I[a+4|0]|I[a+5|0]<<8;g=(((b<<8|b>>>8)&65535)<<1)+2|0}a=a+g|0;b=d>>>8&16776960|d>>>24;F[a+4|0]=b;F[a+5|0]=b>>>8;f=1}return f}H[b+20>>2]=4;return 0}function Cj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=Wa-16|0;Wa=l;a:{b:{c:{if((c|0)<=36){f=I[a|0];if(f){break c}g=a;break b}H[64884]=28;d=0;e=0;break a}g=a;d:{while(1){f=f<<24>>24;if(!((f|0)==32|f-9>>>0<5)){break d}f=I[g+1|0];g=g+1|0;if(f){continue}break}break b}e:{f=I[g|0];switch(f-43|0){case 0:case 2:break e;default:break b}}m=(f|0)==45?-1:0;g=g+1|0}f:{if(!(c&-17|I[g|0]!=48)){o=1;if((I[g+1|0]&223)==88){g=g+2|0;j=16;break f}g=g+1|0;j=c?c:8;break f}j=c?c:10}p=j>>31;c=0;while(1){g:{f=-48;i=F[g|0];h:{if((i-48&255)>>>0<10){break h}f=-87;if((i-97&255)>>>0<26){break h}f=-55;if((i-65&255)>>>0>25){break g}}i=f+i|0;if((i|0)>=(j|0)){break g}Fc(l,j,p,0,0,k,h,0,0);f=1;i:{if(H[l+8>>2]|H[l+12>>2]){break i}q=HM(k,h,j,p);n=Xa;r=i>>31;s=r^-1;if((n|0)==(s|0)&(i^-1)>>>0>>0|n>>>0>s>>>0){break i}h=n+r|0;f=i+q|0;h=f>>>0>>0?h+1|0:h;k=f;o=1;f=c}g=g+1|0;c=f;continue}break}if(b){H[b>>2]=o?g:a}j:{k:{if(c){H[64884]=68;a=d&1;m=a?0:m;k=d;h=e;break k}if((e|0)==(h|0)&d>>>0>k>>>0|e>>>0>h>>>0){break j}a=d&1}if(!(a|m)){H[64884]=68;a=d;d=a-1|0;e=e-!a|0;break a}if((e|0)==(h|0)&d>>>0>=k>>>0|e>>>0>h>>>0){break j}H[64884]=68;break a}a=m;b=a^k;d=b-a|0;c=a>>31;e=(c^h)-((a>>>0>b>>>0)+c|0)|0}Wa=l+16|0;Xa=e;return d}function YI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Wa-16|0;Wa=f;H[f+8>>2]=d;H[f+12>>2]=b;b=Wa-144|0;Wa=b;e=H[f+12>>2];d=H[a>>2];H[d+20>>2]=0;H[d+16>>2]=e;H[b+8>>2]=243644;H[b+64>>2]=243664;a=H[60920];H[b>>2]=a;H[b+H[a-12>>2]>>2]=H[60921];H[b+4>>2]=0;a=H[H[b>>2]-12>>2];H[65057]=0;a=a+b|0;e=b+12|0;da(880,a|0,e|0);g=H[65057];H[65057]=0;a:{if((g|0)!=1){b:{H[a+72>>2]=0;H[a+76>>2]=-1;a=H[60922];H[b+8>>2]=a;H[H[a-12>>2]+(b+8|0)>>2]=H[60923];a=H[60919];H[b>>2]=a;H[b+H[a-12>>2]>>2]=H[60924];H[b+64>>2]=243664;H[b>>2]=243624;H[b+8>>2]=243644;H[65057]=0;aa(881,e|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break b}H[b+44>>2]=0;H[b+48>>2]=0;H[b+12>>2]=243056;H[b+52>>2]=0;H[b+56>>2]=0;H[b+60>>2]=24;a=b;break a}}a=$()|0;_()|0;rf(b- -64|0);ba(a|0);X()}e=H[f+8>>2];H[65057]=0;ka(877,a+8|0,c|0,e|0)|0;c=H[65057];H[65057]=0;c:{d:{if((c|0)==1){break d}H[65057]=0;c=aa(878,a|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break d}H[d+20>>2]=c;H[65057]=0;fa(879,d|0);c=H[65057];H[65057]=0;if((c|0)==1){break d}c=H[d+20>>2];d=H[60918];H[a>>2]=d;H[b+H[d-12>>2]>>2]=H[60926];H[a+12>>2]=243056;H[a+8>>2]=H[60927];if(F[a+55|0]<0){hb(H[a+44>>2])}bg(a+12|0);rf(a- -64|0);Wa=b+144|0;a=!c;break c}b=$()|0;_()|0;eg(a);ba(b|0);X()}Wa=f+16|0;return a|0}function wr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Wa-16|0;Wa=i;e=H[b+100>>2];g=I[a+2|0]|I[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=163632}g=Kb(c,H[H[e+80>>2]+N(H[e+64>>2],20)>>2]);c=0;a:{if((g|0)==-1){break a}c=H[e+64>>2];H[b+40>>2]=1;H[b+4>>2]=c;f=H[H[b+8>>2]+100>>2];H[b+44>>2]=H[f+68>>2];h=(c|0)==H[f+64>>2]?I[(H[f+80>>2]+N(c,20)|0)+15|0]:h;H[b+12>>2]=8;F[b+24|0]=h;b:{f=b+4|0;if(Yd(f,i+12|0)){while(1){h=H[e+80>>2];c=H[f>>2];d=h+N(c,20)|0;if(!(I[d+12|0]&64)){break b}d=I[d+14|0];k=d&16?0:d&15;if(!k|!c){break b}l=h+N(c-1|0,20)|0;if(I[l+12|0]&8){break b}j=d;d=I[l+14|0];if((j^d)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(k|0)){break b}H[b+40>>2]=H[b+40>>2]+1;c=H[b+36>>2];if(c){H[b+36>>2]=c-2}if(Yd(f,i+12|0)){continue}break}}if(I[e+16|0]&64){Qb(e,2,H[i+12>>2],H[e+64>>2]+1|0,0,1)}c=0;break a}d=I[a+4|0]|I[a+5|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}c=Kb(d,H[h+N(c,20)>>2]);if((c|0)==-1){c=0;if(!(I[e+16|0]&64)){break a}Qb(e,2,H[f>>2],H[e+64>>2]+1|0,0,1);c=0;break a}e=I[a+8|0]|I[a+9|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=163632}f=I[a+10|0]|I[a+11|0]<<8;if(f){j=((f<<8|f>>>8)&65535)+a|0}else{j=163632}a=I[a+6|0]|I[a+7|0]<<8;c=Tj(d,b,g,c,j,(a<<8|a>>>8)&65535,H[b+4>>2])}Wa=i+16|0;return c}function Dr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;d=H[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0){break a}if(c-a>>>0<=11){break a}g=H[b+12>>2];f=g-12|0;H[b+12>>2]=f;if((f|0)<=0){break a}f=d;d=a+2|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break a}c=g-14|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;b:{if(!c){break b}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;c:{if(!c){break c}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;d:{if(!c){break d}c=((c<<8|c>>>8)&65535)+a|0;H[e+12>>2]=c;if(Cr(c,b,e+12|0)){break d}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}d=I[a+6|0]|I[a+7|0]<<8;H[e+8>>2]=(d<<8|d>>>8)&65535;h=Br(a+10|0,b,a,e+8|0)}Wa=e+16|0;return h}function fk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}h=a-8|0;while(1){c=H[h>>2];if(!c){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;F[b+40|0]=1;H[b+36>>2]=0;c=_b(c,1835104368);if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}F[b+24|0]=0;H[b+32>>2]=c;e=H[c+12>>2];H[b+4>>2]=e;f=H[c+16>>2];H[b+8>>2]=e+f;H[b+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}H[b+12>>2]=d;H[b+20>>2]=0;H[b>>2]=0;b:{if(!e){lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}c:{d:{if((f|0)<6){break d}H[b+12>>2]=d-6;e:{f:{g=I[e|0]|I[e+1|0]<<8;switch((g<<8|g>>>8)&65535){case 0:break e;case 1:break f;default:break d}}if(f-6>>>0<26){break d}H[b+12>>2]=d-32;lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(H[c+4>>2]){H[c+4>>2]=0}break b}d=I[e+2|0]|I[e+3|0]<<8;lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if((d|0)!=80){break c}if(H[c+4>>2]){H[c+4>>2]=0}break b}lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(c);c=163632}d=H[a>>2];c=c?c:163632;H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<6?163632:H[c+12>>2]}function vs(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=N(c,20)+a|0;j=J[e+16>>1];if(!j){break a}f=I[e+18|0];G[e+16>>1]=0;g=j<<16>>16;e=g+c|0;if(e>>>0>=b>>>0){break a}vs(a,b,e,d);if(f&2){if((d&-2)==4){b=N(c,20)+a|0;H[b+12>>2]=H[b+12>>2]+H[(N(e,20)+a|0)+12>>2];return}b=N(c,20)+a|0;H[b+8>>2]=H[b+8>>2]+H[(N(e,20)+a|0)+8>>2];return}h=N(c,20)+a|0;b=N(e,20)+a|0;f=H[h+8>>2]+H[b+8>>2]|0;H[h+8>>2]=f;b=H[h+12>>2]+H[b+12>>2]|0;H[h+12>>2]=b;b:{if((d&-3)!=4){e=e+1|0;if(e>>>0>=c+1>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=N(d,20)+a|0;b=H[e+4>>2]+b|0;f=H[e>>2]+f|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=N(e,20)+a|0;b=(((H[d+4>>2]+b|0)+H[d+24>>2]|0)+H[d+44>>2]|0)+H[d- -64>>2]|0;f=H[d+60>>2]+(H[d+40>>2]+(H[d+20>>2]+(H[d>>2]+f|0)|0)|0)|0;d=e+3|0;e=e+4|0;if((c|0)!=(d|0)){continue}break}break b}if(c>>>0<=e>>>0){break a}g=0-g&3;if(g){d=e;while(1){e=N(d,20)+a|0;b=b-H[e+4>>2]|0;f=f-H[e>>2]|0;e=d+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(j>>>0>65532){break b}while(1){d=N(e,20)+a|0;b=b-(((H[d+4>>2]+H[d+24>>2]|0)+H[d+44>>2]|0)+H[d- -64>>2]|0)|0;f=f-(H[d+60>>2]+(H[d+40>>2]+(H[d>>2]+H[d+20>>2]|0)|0)|0)|0;e=e+4|0;if((e|0)!=(c|0)){continue}break}}H[h+8>>2]=f;H[h+12>>2]=b}}function Lf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=H[a+532>>2];if(c){h=H[c+4>>2];e=H[c>>2];f=H[a+100>>2];b=H[c+24>>2];if(b){Ya[H[f+8>>2]](f,b)}H[c+24>>2]=0;if(e>>>0>=2){kb(c+28|0,0,(e<<2)-4|0)}b=H[c+216>>2];if(b){Ya[H[f+8>>2]](f,b)}H[c+216>>2]=0;b=H[c+148>>2];if(b){Ya[H[f+8>>2]](f,b)}H[c+148>>2]=0;b=H[c+288>>2];if(b){Ya[H[f+8>>2]](f,b)}H[c+288>>2]=0;a:{if(!e){break a}if(e-1>>>0>=3){n=e&-4;i=c+212|0;j=c+144|0;k=c+284|0;while(1){b=d<<2;H[b+i>>2]=0;H[b+j>>2]=0;H[b+k>>2]=0;g=b|4;H[g+i>>2]=0;H[g+j>>2]=0;H[g+k>>2]=0;g=b|8;H[g+i>>2]=0;H[g+j>>2]=0;H[g+k>>2]=0;b=b|12;H[b+i>>2]=0;H[b+j>>2]=0;H[b+k>>2]=0;d=d+4|0;l=l+4|0;if((l|0)!=(n|0)){continue}break}}b=e&3;if(!b){break a}while(1){e=(d<<2)+c|0;H[e+284>>2]=0;H[e+144>>2]=0;H[e+212>>2]=0;d=d+1|0;m=m+1|0;if((b|0)!=(m|0)){continue}break}}d=H[c+136>>2];if(d){Ya[H[f+8>>2]](f,d)}H[c+136>>2]=0;H[c+140>>2]=0;b:{if(!h){break b}d=0;while(1){e=(d<<2)+c|0;b=H[e+8>>2];if(b){Ya[H[f+8>>2]](f,b)}H[e+8>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}if(!h){break b}d=0;while(1){e=N(d,12)+c|0;b=H[e+92>>2];if(b){Ya[H[f+8>>2]](f,b)}F[e+88|0]=0;H[e+92>>2]=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}c=H[a+532>>2];if(c){Ya[H[f+8>>2]](f,c)}H[a+532>>2]=0}}function vE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Wa-16|0;Wa=j;i=c;while(1){a:{if((d|0)==(i|0)){i=d;break a}if(!H[i>>2]){break a}i=i+4|0;continue}break}H[h>>2]=f;H[e>>2]=c;while(1){b:{c:{if(!((c|0)==(d|0)|(f|0)==(g|0))){k=H[b+4>>2];H[j+8>>2]=H[b>>2];H[j+12>>2]=k;m=1;l=Wa-16|0;Wa=l;H[l+12>>2]=H[a+8>>2];n=xd(l+8|0,l+12|0);H[65057]=0;k=Ha(1116,f|0,e|0,i-c>>2,g-f|0,b|0)|0;o=H[65057];H[65057]=0;d:{if((o|0)!=1){Dc(n);Wa=l+16|0;break d}a=$()|0;_()|0;Dc(n);ba(a|0);X()}e:{f:{g:{h:{switch(k+1|0){case 0:H[h>>2]=f;while(1){i:{if(H[e>>2]==(c|0)){break i}b=Ti(f,H[c>>2],j+8|0,H[a+8>>2]);if((b|0)==-1){break i}f=b+H[h>>2]|0;H[h>>2]=f;c=c+4|0;continue}break};H[e>>2]=c;break g;case 1:break c;default:break h}}f=k+H[h>>2]|0;H[h>>2]=f;if((f|0)==(g|0)){break e}if((d|0)==(i|0)){c=H[e>>2];i=d;continue}i=Ti(j+4|0,0,b,H[a+8>>2]);if((i|0)!=-1){break f}}m=2;break c}c=j+4|0;if(g-H[h>>2]>>>0>>0){break c}while(1){if(i){f=I[c|0];k=H[h>>2];H[h>>2]=k+1;F[k|0]=f;i=i-1|0;c=c+1|0;continue}break}c=H[e>>2]+4|0;H[e>>2]=c;i=c;while(1){if((d|0)==(i|0)){i=d;break b}if(!H[i>>2]){break b}i=i+4|0;continue}}c=H[e>>2]}m=(c|0)!=(d|0)}Wa=j+16|0;return m|0}f=H[h>>2];continue}}function Oo(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{b:{c:{if(!b){break c}if(!H[a+96>>2]){return 34}H[b>>2]=0;e=H[a+100>>2];g=H[H[a+96>>2]+12>>2];d=H[g+40>>2];d:{if((d|0)<=0){if(!d){break d}break c}f=Ya[H[e+4>>2]](e,d)|0;if(!f){return 64}kb(f,0,d)}e:{d=Ya[H[e+4>>2]](e,12)|0;if(d){F[d|0]=0;F[d+1|0]=0;F[d+2|0]=0;F[d+3|0]=0;F[d+4|0]=0;F[d+5|0]=0;F[d+6|0]=0;F[d+7|0]=0;F[d+8|0]=0;F[d+9|0]=0;F[d+10|0]=0;F[d+11|0]=0;H[f>>2]=a;c=Ya[H[e+4>>2]](e,36)|0;if(c){break e}c=64;break b}c=64;if(f){break a}break c}F[c|0]=0;F[c+1|0]=0;F[c+2|0]=0;F[c+3|0]=0;F[c+4|0]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+32|0]=0;F[c+33|0]=0;F[c+34|0]=0;F[c+35|0]=0;F[c+24|0]=0;F[c+25|0]=0;F[c+26|0]=0;F[c+27|0]=0;F[c+28|0]=0;F[c+29|0]=0;F[c+30|0]=0;F[c+31|0]=0;F[c+16|0]=0;F[c+17|0]=0;F[c+18|0]=0;F[c+19|0]=0;F[c+20|0]=0;F[c+21|0]=0;F[c+22|0]=0;F[c+23|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;F[c+13|0]=0;F[c+14|0]=0;F[c+15|0]=0;H[f+40>>2]=c;c=H[g+56>>2];if(c){c=Ya[c|0](f)|0;if(c){break b}}H[b>>2]=f;H[d+8>>2]=f;b=H[a+112>>2];H[d>>2]=b;c=0;H[d+4>>2]=0;H[(b?b+4|0:a+108|0)>>2]=d;H[a+112>>2]=d}return c}Ya[H[e+8>>2]](e,d)}a=H[f+40>>2];if(a){Ya[H[e+8>>2]](e,a)}H[f+40>>2]=0;Ya[H[e+8>>2]](e,f);return c}function um(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=H[a+736>>2];if(d){f=H[H[d+12>>2]>>2];c=H[a+100>>2];b=H[d+4>>2];if(b){Ya[H[c+8>>2]](c,b)}H[d+4>>2]=0;b=H[d+8>>2];if(b){Ya[H[c+8>>2]](c,b)}H[d+8>>2]=0;b=H[d+20>>2];if(b){Ya[H[c+8>>2]](c,b)}H[d+20>>2]=0;b=H[d+12>>2];if(b){Ya[H[c+8>>2]](c,b)}H[d+12>>2]=0;b=H[d+28>>2];if(b){if(f){while(1){g=e<<3;b=H[(g+b|0)+4>>2];if(b){Ya[H[c+8>>2]](c,b)}b=H[d+28>>2];H[(g+b|0)+4>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(b){Ya[H[c+8>>2]](c,b)}H[d+28>>2]=0}b=H[d+40>>2];if(b){di(H[a+100>>2],b);b=H[H[d+40>>2]+28>>2];if(b){Ya[H[c+8>>2]](c,b)}b=H[d+40>>2];H[b+28>>2]=0;b=H[b+24>>2];if(b){Ya[H[c+8>>2]](c,b)}b=H[d+40>>2];H[b+24>>2]=0;if(b){Ya[H[c+8>>2]](c,b)}H[d+40>>2]=0}b=H[d+52>>2];if(b){di(H[a+100>>2],b);b=H[H[d+52>>2]+28>>2];if(b){Ya[H[c+8>>2]](c,b)}b=H[d+52>>2];H[b+28>>2]=0;b=H[b+24>>2];if(b){Ya[H[c+8>>2]](c,b)}b=H[d+52>>2];H[b+24>>2]=0;if(b){Ya[H[c+8>>2]](c,b)}H[d+52>>2]=0}b=H[d+56>>2];if(b){di(H[a+100>>2],b+4|0);a=H[H[d+56>>2]+24>>2];if(a){Ya[H[c+8>>2]](c,a)}a=H[d+56>>2];H[a+24>>2]=0;if(a){Ya[H[c+8>>2]](c,a)}H[d+56>>2]=0}a=H[d+64>>2];if(a){Ya[H[c+8>>2]](c,a)}H[d+64>>2]=0;a=H[d+72>>2];if(a){Ya[H[c+8>>2]](c,a)}H[d+72>>2]=0;if(d){Ya[H[c+8>>2]](c,d)}}}function us(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=H[a+100>>2];c=H[g+64>>2];while(1){c=H[g+80>>2]+N(c,20)|0;e=H[c>>2];a:{if(!(H[b>>2]>>>(e>>>4)&1)|!(H[b+4>>2]>>>e&1)|(!(H[b+8>>2]>>>(e>>>9)&1)|!(H[a+120>>2]&H[c+4>>2]))){break a}f=H[a+132>>2];c=J[c+12>>1];if(f&c&14){break a}b:{if(!(c&8)){break b}if(f&16){c=H[a+108>>2];d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65538){break a}d=I[c+12|0]|I[c+13|0]<<8;if(d){c=c+((d<<8|d>>>8)&65535)|0}else{c=163632}if((I[c|0]|I[c+1|0]<<8)!=256){break a}d=c;f=f>>>16|0;h=(c+(f<<2)|0)+4|0;c=I[c+2|0]|I[c+3|0]<<8;c=f>>>0<((c<<8|c>>>8)&65535)>>>0?h:163632;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((Kb(c?d+c|0:163632,e)|0)!=-1){break b}break a}e=f&65280;if(!e){break b}if((e|0)!=(c&65280)){break a}}c=0;f=H[b+16>>2];if(!f){break a}while(1){e=c>>>0>>0?H[b+20>>2]+N(c,20)|0:163632;d=H[a+100>>2];d=H[H[d+80>>2]+N(H[d+64>>2],20)>>2];if(!(!(H[e+8>>2]>>>(d>>>4)&1)|!(H[e+12>>2]>>>d&1)|!(H[e+16>>2]>>>(d>>>9)&1))){if(Ya[H[e+4>>2]](H[e>>2],a)|0){break a}f=H[b+16>>2]}c=c+1|0;if(f>>>0>c>>>0){continue}break}}c=H[g+64>>2]-1|0;H[g+64>>2]=c;if((c|0)>=0){continue}break}}function Es(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=xe(a,b);f=I[g+6|0]|I[g+7|0]<<8;if(f){a=g+((f<<8|f>>>8)&65535)|0}else{a=163632}b=65535;a=I[a|0]|I[a+1|0]<<8;e=0;a:{b:{c:{if(!a){break c}i=(a<<8|a>>>8)&65535;d:{e:{if(!f){a=0;e=1;g=I[163635];f=J[81816];h=I[163634];if((((f?g:I[163633])&255)<<16|(f?h:I[163632])<<24|((f?I[163636]:h)&255)<<8|(f?I[163637]:g)&255)==(c|0)){b=0;if(d){break b}break a}f=(f<<8|f>>>8)&65535;g=i>>>0>1?i:1;while(1){a=a+1|0;if((g|0)!=(a|0)){e=a>>>0>>0?N(a,6)+163634|0:163632;e=J[e>>1]|J[e+2>>1]<<16;if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))!=(c|0)){continue}break e}break}e=a>>>0>>0;break c}e=1;a=0;f=g+((f<<8|f>>>8)&65535)|0;g=I[f|0]|I[f+1|0]<<8;h=g?f+2|0:163632;h=I[h|0]|I[h+1|0]<<8|(I[h+2|0]<<16|I[h+3|0]<<24);if((h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))!=(c|0)){break d}b=0;if(d){break b}break a}e=a>>>0>>0;b=a;if(d){break b}break a}g=(g<<8|g>>>8)&65535;h=i>>>0>1?i:1;f:{while(1){a=a+1|0;if((h|0)==(a|0)){break f}e=a>>>0>>0?(f+N(a,6)|0)+2|0:163632;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))!=(c|0)){continue}break}e=a>>>0>>0;b=a;if(d){break b}break a}e=a>>>0>>0}if(!d){break a}}H[d>>2]=b}return e}function Xi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}d=H[a+96>>2];if(!d){return 6}h=H[d+8>>2];a:{b:{i=H[d+12>>2];c=H[i+44>>2];c:{if((c|0)<=0){g=6;f=h;if(!c){break c}break b}e=Ya[H[h+4>>2]](h,c)|0;if(!e){g=64;break b}kb(e,0,c);d=H[a+96>>2];f=H[d+8>>2];i=H[d+12>>2]}H[e+4>>2]=a;H[e>>2]=H[d+4>>2];g=64;d:{c=Ya[H[f+4>>2]](f,44)|0;e:{if(!c){break e}F[c|0]=0;F[c+1|0]=0;F[c+2|0]=0;F[c+3|0]=0;F[c+4|0]=0;F[c+5|0]=0;F[c+6|0]=0;F[c+7|0]=0;F[c+40|0]=0;F[c+41|0]=0;F[c+42|0]=0;F[c+43|0]=0;F[c+32|0]=0;F[c+33|0]=0;F[c+34|0]=0;F[c+35|0]=0;F[c+36|0]=0;F[c+37|0]=0;F[c+38|0]=0;F[c+39|0]=0;F[c+24|0]=0;F[c+25|0]=0;F[c+26|0]=0;F[c+27|0]=0;F[c+28|0]=0;F[c+29|0]=0;F[c+30|0]=0;F[c+31|0]=0;F[c+16|0]=0;F[c+17|0]=0;F[c+18|0]=0;F[c+19|0]=0;F[c+20|0]=0;F[c+21|0]=0;F[c+22|0]=0;F[c+23|0]=0;F[c+8|0]=0;F[c+9|0]=0;F[c+10|0]=0;F[c+11|0]=0;F[c+12|0]=0;F[c+13|0]=0;F[c+14|0]=0;F[c+15|0]=0;H[e+156>>2]=c;if(!(I[H[d>>2]+1|0]&2)){d=Ya[H[f+4>>2]](f,96)|0;if(!d){break e}kb(d+4|0,0,92);H[d>>2]=f;H[c>>2]=d}f=H[i+64>>2];if(!f){break d}g=Ya[f|0](e)|0;if(!g){break d}}Vg(e);Ya[H[h+8>>2]](h,e);return g}H[e+8>>2]=H[a+84>>2];H[a+84>>2]=e;g=0;if(!b){break a}H[b>>2]=e;break a}if(!b){break a}H[b>>2]=0;return g}return g}function yi(a,b,c,d){var e=0,f=0,g=0,h=0;g=H[a+8264>>2];a:{if(g>>>0>b>>>0){g=0;if(ob(H[a>>2],H[a+68>>2])){break a}f=a+12|0;b:{if(!f|!H[f+32>>2]|!H[f+36>>2]){break b}e=H[f+28>>2];if(!e|(f|0)!=H[e>>2]|H[e+4>>2]-16180>>>0>31){break b}H[e+52>>2]=0;H[e+44>>2]=0;H[e+48>>2]=0;H[e+32>>2]=0;H[f+8>>2]=0;H[f+20>>2]=0;H[f+24>>2]=0;h=H[e+12>>2];if(h){H[f+48>>2]=h&1}H[e+60>>2]=0;H[e+64>>2]=0;H[e+36>>2]=0;H[e+24>>2]=32768;H[e+16>>2]=0;H[e+4>>2]=16180;H[e+8>>2]=0;H[e+7108>>2]=1;H[e+7112>>2]=-1;f=e+1332|0;H[e+112>>2]=f;H[e+84>>2]=f;H[e+80>>2]=f}H[a+28>>2]=0;H[a+12>>2]=a+72;H[a+16>>2]=0;e=a+8264|0;H[a+8272>>2]=e;H[a+24>>2]=a+4168;H[a+8268>>2]=e;H[e>>2]=0}c:{if(b>>>0>g>>>0){b=b-g|0;h=H[a+8268>>2];e=H[a+8272>>2]-h|0;f=b>>>0>e>>>0;e=f?e:b;H[a+8268>>2]=h+e;H[a+8264>>2]=e+g;if(f){while(1){if(Qn(a)){return 0}b=b-e|0;f=H[a+8268>>2];e=H[a+8272>>2]-f|0;g=b>>>0>e>>>0;e=g?e:b;H[a+8268>>2]=f+e;H[a+8264>>2]=H[a+8264>>2]+e;if(g){continue}break}}if(d){break c}return 0}if(d){break c}return 0}g=0;while(1){f=H[a+8268>>2];e=H[a+8272>>2]-f|0;b=d>>>0>e>>>0?e:d;c=mb(c,f,b);H[a+8268>>2]=b+H[a+8268>>2];H[a+8264>>2]=b+H[a+8264>>2];g=b+g|0;if(d>>>0<=e>>>0){break a}c=b+c|0;d=d-b|0;if(!Qn(a)){continue}break}}return g}function Xd(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}g=a-24|0;while(1){c=H[g>>2];if(!c){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;d=ac(c);F[b+40|0]=1;H[b+36>>2]=d;c=_b(c,1330851634);if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}F[b+24|0]=0;H[b+32>>2]=c;e=H[c+12>>2];H[b+4>>2]=e;f=H[c+16>>2];H[b+8>>2]=e+f;H[b+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}H[b+12>>2]=d;H[b+20>>2]=0;H[b>>2]=0;b:{if(!e){lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}c:{if((f|0)<78){break c}H[b+12>>2]=d-78;e=I[e|0]|I[e+1|0]<<8;d:{if(!e){break d}if(f-78>>>0<8){break c}H[b+12>>2]=d-86;e=e<<8|e>>>8;if((e&65535)>>>0<2){break d}if(f-86>>>0<10){break c}H[b+12>>2]=d-96;if((e&65535)>>>0<5){break d}if((f&-4)==96){break c}H[b+12>>2]=d-100}lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if(H[c+4>>2]){H[c+4>>2]=0}break b}lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;lb(c);c=163632}d=H[a>>2];c=c?c:163632;H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<78?163632:H[c+12>>2]}function qs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{e=H[b+4>>2];b:{if(e>>>0>a>>>0){break b}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}g=H[b+12>>2];d=g-2|0;H[b+12>>2]=d;if((d|0)<=0){break b}d=a+2|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<2){break b}g=g-4|0;H[b+12>>2]=g;if((g|0)<=0){break b}f=1;d=I[d|0]|I[d+1|0]<<8;if(!d){break b}d=(d<<8|d>>>8)&65535;h=d>>>0>1?d:1;g=d-1|0;a=a+4|0;d=0;while(1){if(a>>>0>>0){return 0}if(a>>>0>c>>>0){return 0}if(c-a>>>0<6){return 0}c=H[b+12>>2]-6|0;H[b+12>>2]=c;if((c|0)<=0){return 0}e=H[b+32>>2];c=H[e+12>>2];H[b+4>>2]=c;e=c+H[e+16>>2]|0;H[b+8>>2]=e;c:{if(d>>>0>=g>>>0){break c}f=c;c=d>>>0>>0?a:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){H[b+4>>2]=0;H[b+8>>2]=0;break c}H[b+4>>2]=c;e=e-c|0;f=I[c+2|0]|I[c+3|0]<<8;f=(f<<8|f>>>8)&65535;H[b+8>>2]=c+(e>>>0>>0?e:f)}H[65057]=0;c=os(a,b);e=H[65057];H[65057]=0;if((e|0)==1){break a}if(!c){a=H[b+32>>2];c=H[a+12>>2];H[b+4>>2]=c;H[b+8>>2]=c+H[a+16>>2];return 0}f=I[a+2|0]|I[a+3|0]<<8;c=H[b+32>>2];e=H[c+12>>2];H[b+4>>2]=e;c=H[c+16>>2]+e|0;H[b+8>>2]=c;a=((f<<8|f>>>8)&65535)+a|0;f=1;d=d+1|0;if((h|0)!=(d|0)){continue}break}}return f}a=$()|0;_()|0;c=H[b+32>>2];e=H[c+12>>2];H[b+4>>2]=e;H[b+8>>2]=e+H[c+16>>2];ba(a|0);X()}function YA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;e=Wa-464|0;Wa=e;f=b+8|0;g=H[f+4>>2];H[e+16>>2]=H[f>>2];H[e+20>>2]=g;H[e+40>>2]=H[b+32>>2];f=H[b+28>>2];H[e+32>>2]=H[b+24>>2];H[e+36>>2]=f;f=H[b+20>>2];H[e+24>>2]=H[b+16>>2];H[e+28>>2]=f;f=H[b+4>>2];g=H[b>>2];H[e+16>>2]=2;H[e+8>>2]=g;H[e+12>>2]=f;a:{switch(H[b+8>>2]-7|0){case 0:case 3:H[e+16>>2]=3;break;default:break a}}ee(a,e+448|0);b:{if(H[e+456>>2]!=3){b=162;break b}i=H[a>>2];g=H[e+448>>2]+1|0;H[a>>2]=g;j=H[a+8>>2];h=H[e+452>>2]-1|0;H[a+8>>2]=h;f=e+48|0;c:{if(g>>>0>=h>>>0){break c}g=e+432|0;f=e+48|0;while(1){ee(a,e+432|0);if(!H[e+440>>2]){break c}if(f>>>0>>0){h=H[e+436>>2];H[f>>2]=H[e+432>>2];H[f+4>>2]=h;H[f+8>>2]=H[e+440>>2]}f=f+12|0;if(K[a>>2]>2]){continue}break}}H[a+8>>2]=j;H[a>>2]=i;f=f-(e+48|0)|0;if((f|0)<0){b=162;break b}f=(f>>>0)/12|0;g=H[b+24>>2];g=f>>>0>>0?f:g;d:{if(H[b+8>>2]==7){break d}b=H[b+28>>2];if(!b){break d}F[b+H[c>>2]|0]=g}e:{if(g){h=I[e+28|0];f=e+48|0;while(1){H[a>>2]=H[f>>2];H[a+8>>2]=H[f+4>>2];b=vn(a,e+8|0,c,d,0);if(b){break e}H[e+24>>2]=h+H[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}H[a+8>>2]=j;H[a>>2]=i}Wa=e+464|0;return b|0}function Qs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=H[b+4>>2];a:{if(i>>>0>a>>>0){break a}h=H[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break a}e=H[b+12>>2];d=e-2|0;H[b+12>>2]=d;if((d|0)<=0){break a}e=e-4|0;H[b+12>>2]=e;if((e|0)<=0){break a}d=I[a|0]|I[a+1|0]<<8;if(!d){break a}f=a+2|0;if(f>>>0>>0|f>>>0>h>>>0){break a}g=h-f|0;d=(d<<8|d>>>8)&65535;f=N(d,3);if(g>>>0>>0){break a}f=e-f|0;H[b+12>>2]=f;if((f|0)<=0){break a}g=d>>>0>1?d:1;k=H[b+36>>2];e=0;while(1){d=N(e,3)+a|0;j=I[d+2|0]|I[d+3|0]<<8;if(k>>>0<=((j<<8|j>>>8)&65535)>>>0|I[d+4|0]>=c>>>0){break a}e=e+1|0;if((g|0)!=(e|0)){continue}break}c=I[a|0]|I[a+1|0]<<8;if(!c|(I[a+2|0]|I[a+3|0]<<8)){break a}d=c<<8|c>>>8;c=d&65535;e=1;if((d&65535)>>>0>1){while(1){d=N(e,3)+a|0;g=c>>>0>e-1>>>0?d-1|0:163632;g=I[g|0]|I[g+1|0]<<8;d=c>>>0>e>>>0?d+2|0:163632;d=I[d|0]|I[d+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=(N(c,3)+a|0)+2|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<2){break a}c=f-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=a;a=I[a|0]|I[a+1|0]<<8;a=a?(c+N((a<<8|a>>>8)&65535,3)|0)-1|0:163632;a=I[a+3|0]|I[a+4|0]<<8;l=H[b+36>>2]==((a<<8|a>>>8)&65535)}return l}function $y(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>K[b+160>>2]){Cb(b,8)}c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0<=H[b+160>>2]-a>>>0&c>>>0>8207)){Cb(b,8)}c=I[a+8204|0]|I[a+8205|0]<<8|(I[a+8206|0]<<16|I[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(H[b+160>>2]-d>>>0)/12>>>0){Cb(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);j=I[d+1|0]<<16|I[d|0]<<24;a=I[d+3|0]|(j|I[d+2|0]<<8);k=I[d+5|0]<<16|I[d+4|0]<<24;c=I[d+7|0]|(k|I[d+6|0]<<8);if(a>>>0>c>>>0){Cb(b,8)}if(!(!i|a>>>0>e>>>0)){Cb(b,8)}c:{if(H[b+164>>2]<=0){break c}l=H[b+172>>2];e=c-a|0;if(!(l>>>0>=e>>>0&l-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Cb(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(I[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){Cb(b,8)}if(!(I[(a>>>3&8191)+h|0]<<(a&7)&128)){Cb(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){Cb(b,8)}if(!e){break c}while(1){if(I[(a>>>3&8191)+h|0]<<(a&7)&128){Cb(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function wt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=O(0),i=O(0);f=Wa-96|0;Wa=f;g=H[b+24>>2];b=H[b+28>>2];H[65057]=0;c=ka(643,g|0,c|0,b|8)|0;b=H[65057];H[65057]=0;a:{b:{if((b|0)!=1){c:{d:{if(c){break d}c=H[g+84>>2];if(H[c+72>>2]!=1869968492){break d}g=H[26749];H[f+88>>2]=H[26748];H[f+92>>2]=g;g=H[26747];H[f+80>>2]=H[26746];H[f+84>>2]=g;g=H[26745];H[f+72>>2]=H[26744];H[f+76>>2]=g;h=L[a+32>>2];H[f+32>>2]=0;H[f+36>>2]=0;H[f+40>>2]=0;H[f+44>>2]=0;H[f+48>>2]=0;H[f+52>>2]=0;H[f+56>>2]=0;H[f+60>>2]=0;a=f- -64|0;H[a>>2]=0;H[a+4>>2]=0;H[f+24>>2]=0;H[f+28>>2]=0;H[f+20>>2]=e;H[f+16>>2]=d;L[f+8>>2]=h;H[65057]=0;F[f+12|0]=h==O(0);ka(28,c+108|0,f+72|0,f+8|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break c}if(!H[f+24>>2]){break d}c=f+24|0;d=H[f+20>>2];a=H[f+16>>2];i=L[f+28>>2];h=L[f+32>>2];if(!(i==L[f+36>>2]&h==L[f+40>>2])){e=H[a+36>>2];g=H[a+16>>2];H[65057]=0;wa(g|0,a|0,d|0,c|0,O(i),O(h),e|0);e=H[65057];H[65057]=0;if((e|0)==1){break b}}e=H[a+48>>2];g=H[a+28>>2];H[65057]=0;ha(g|0,a|0,d|0,c|0,e|0);a=H[65057];H[65057]=0;if((a|0)==1){break b}}Tb();Wa=f+96|0;return}a=$()|0;_()|0;rk(f+8|0);break a}a=$()|0;_()|0;break a}ea(0)|0;_()|0;Gb();X()}Tb();ba(a|0);X()}function ve(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Wa-16|0;Wa=f;k=H[b+28>>2];H[a+28>>2]=0;H[a+32>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a+12>>2]=0;H[a+16>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=b;H[a+4>>2]=H[b+8>>2];a:{b:{c:{if(d){e=$b(b,f+12|0);if(H[f+12>>2]){break b}d=5;break c}e=yb(b,f+12|0);if(H[f+12>>2]){break b}d=3}H[a+8>>2]=d;d=0;if(!e){break a}g=jc(b,f+12|0);if(H[f+12>>2]){break b}if((g-5&255)>>>0<=251){H[f+12>>2]=8;break b}F[a+16|0]=g;H[a+12>>2]=e;g=g&255;H[a+20>>2]=H[a+8>>2]+(H[a+4>>2]+N(g,e+1|0)|0);e=dc(b,N(e,g));H[f+12>>2]=e;if(e){break b}i=Wa-16|0;Wa=i;l=ec(H[a>>2],i+12|0,I[a+16|0]);d:{if(l){break d}j=I[a+16|0];if(!j){break d}e=0;if(j-1>>>0>=3){n=j&252;while(1){g=e;e=e+4|0;h=h+4|0;if((n|0)!=(h|0)){continue}break}h=i+12|0;h=I[h+(g|3)|0]|(I[h+(g|2)|0]|(I[g+h|0]<<16|I[h+(g|1)|0]<<8))<<8}g=j&3;if(!g){break d}while(1){h=I[(i+12|0)+e|0]|h<<8;e=e+1|0;m=m+1|0;if((g|0)!=(m|0)){continue}break}}H[f+12>>2]=l;Wa=i+16|0;if(H[f+12>>2]){break b}if(!h){H[f+12>>2]=8;break b}e=h-1|0;H[a+24>>2]=e;e:{if(c){b=Jc(b,e,a+32|0);break e}b=dc(b,e)}H[f+12>>2]=b;if(!b){break a}}b=H[a+28>>2];if(b){Ya[H[k+8>>2]](k,b)}H[a+28>>2]=0;d=H[f+12>>2]}Wa=f+16|0;return d}function ou(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{b=H[a+80>>2];h=H[b+176>>2];if((h|0)!=H[64642]){if(!c){break a}k=f,l=Ya[h|0](a,H[a+84>>2],H[d>>2],H[b+32>>2])|0,H[k>>2]=l;if((c|0)==1){break a}b=c-1|0;h=b&1;if((c|0)!=2){b=b&-2;c=0;while(1){f=f+g|0;d=d+e|0;i=H[a+80>>2];k=f,l=Ya[H[i+176>>2]](a,H[a+84>>2],H[d>>2],H[i+32>>2])|0,H[k>>2]=l;f=f+g|0;d=d+e|0;i=H[a+80>>2];k=f,l=Ya[H[i+176>>2]](a,H[a+84>>2],H[d>>2],H[i+32>>2])|0,H[k>>2]=l;c=c+2|0;if((b|0)!=(c|0)){continue}break}}if(!h){break a}b=a;c=H[a+84>>2];a=H[a+80>>2];k=f+g|0,l=Ya[H[a+176>>2]](b,c,H[d+e>>2],H[a+32>>2])|0,H[k>>2]=l;return}b=H[a+12>>2];h=H[b+80>>2];Ya[H[h+184>>2]](b,H[b+84>>2],c,d,e,f,g,H[h+40>>2]);if(!c){break a}d=H[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=H[f>>2];c=H[d+20>>2];h=H[a+20>>2];if((c|0)!=(h|0)){b=IM(HM(h,h>>31,b,b>>31),Xa,c,c>>31)}H[f>>2]=b;c=f+g|0;b=H[c>>2];f=H[d+20>>2];h=H[a+20>>2];if((f|0)!=(h|0)){b=IM(HM(h,h>>31,b,b>>31),Xa,f,f>>31)}H[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=H[f>>2];c=H[d+20>>2];a=H[a+20>>2];if((c|0)!=(a|0)){b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31)}H[f>>2]=b}}function nu(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{b=H[a+80>>2];h=H[b+180>>2];if((h|0)!=H[64643]){if(!c){break a}k=f,l=Ya[h|0](a,H[a+84>>2],H[d>>2],H[b+36>>2])|0,H[k>>2]=l;if((c|0)==1){break a}b=c-1|0;h=b&1;if((c|0)!=2){b=b&-2;c=0;while(1){f=f+g|0;d=d+e|0;i=H[a+80>>2];k=f,l=Ya[H[i+180>>2]](a,H[a+84>>2],H[d>>2],H[i+36>>2])|0,H[k>>2]=l;f=f+g|0;d=d+e|0;i=H[a+80>>2];k=f,l=Ya[H[i+180>>2]](a,H[a+84>>2],H[d>>2],H[i+36>>2])|0,H[k>>2]=l;c=c+2|0;if((b|0)!=(c|0)){continue}break}}if(!h){break a}b=a;c=H[a+84>>2];a=H[a+80>>2];k=f+g|0,l=Ya[H[a+180>>2]](b,c,H[d+e>>2],H[a+36>>2])|0,H[k>>2]=l;return}b=H[a+12>>2];h=H[b+80>>2];Ya[H[h+188>>2]](b,H[b+84>>2],c,d,e,f,g,H[h+44>>2]);if(!c){break a}d=H[a+12>>2];if(!d){break a}i=c&1;if((c|0)!=1){j=c&-2;e=0;while(1){b=H[f>>2];c=H[d+24>>2];h=H[a+24>>2];if((c|0)!=(h|0)){b=IM(HM(h,h>>31,b,b>>31),Xa,c,c>>31)}H[f>>2]=b;c=f+g|0;b=H[c>>2];f=H[d+24>>2];h=H[a+24>>2];if((f|0)!=(h|0)){b=IM(HM(h,h>>31,b,b>>31),Xa,f,f>>31)}H[c>>2]=b;f=c+g|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}}if(!i){break a}b=H[f>>2];c=H[d+24>>2];a=H[a+24>>2];if((c|0)!=(a|0)){b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31)}H[f>>2]=b}}function Ke(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Wa+-64|0;Wa=d;e=H[a+11720>>2];l=!(I[H[a+11676>>2]+5|0]?I[a+11665|0]:1);f=H[a+11724>>2];if(!(l|(f|0)!=(c|0)?0:(e|0)==(b|0))){pi(a,e,f,b,c,d+20|0,d+16|0);h=H[d+20>>2];i=h+H[a+11720>>2]|0;H[d+8>>2]=i;f=H[d+16>>2];e=f+H[a+11724>>2]|0;H[d+12>>2]=e;f=c+f|0;h=b+h|0;if(I[a+11667|0]){H[d+56>>2]=1;g=H[a+11732>>2];H[d+24>>2]=H[a+11728>>2];H[d+28>>2]=g;if(!I[a+20|0]){df(a,H[a+11736>>2],H[a+11740>>2])}j=ib(H[a+11644>>2],i);k=ib(H[a+11648>>2],e);g=vd(a+8|0,e);j=j+k|0;m=d,n=(ib(H[H[a>>2]+64>>2],j)+ib(H[H[a>>2]+72>>2],g)|0)+H[a+11656>>2]|0,H[m+32>>2]=n;m=d,n=(ib(H[H[a>>2]+68>>2],j)+ib(H[H[a>>2]+76>>2],g)|0)+H[a+11660>>2]|0,H[m+36>>2]=n;g=H[a+4>>2];Ya[H[g>>2]](g,d+24|0);g=H[d+32>>2];j=H[d+36>>2];k=i;i=0;H[a+11704>>2]=k|i;H[a+11708>>2]=e;H[a+11728>>2]=g;H[a+11732>>2]=j;H[a+11712>>2]=h|i;H[a+11716>>2]=f;F[a+11664|0]=1;F[a+11667|0]=0}if(I[a+11744|0]){Qf(a,a+8|0,d+8|0,h,f,0)}H[a+11748>>2]=2;F[a+11744|0]=1;e=H[d+12>>2];H[a+11752>>2]=H[d+8>>2];H[a+11756>>2]=e;H[a+11760>>2]=h;H[a+11764>>2]=f;if(l){Rf(a+8|0,H[a+11668>>2],H[a+11672>>2],H[a+11676>>2],H[a+11680>>2],0)}H[a+11724>>2]=c;H[a+11720>>2]=b}Wa=d- -64|0}function Jg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Wa-32|0;Wa=h;i=H[b+12>>2];g=H[b+8>>2];m=i-g|0;n=m>>3;j=n&1;if(!(I[e|0]|(I[a+8|0]|!j))){a:{if((g|0)==(i|0)){l=H[b+4>>2];if(!l|H[l>>2]){break a}H[l>>2]=130;break a}b:{switch(H[g+4>>2]-1|0){case 1:k=H[g>>2]<<16;break a;case 0:k=H[g>>2];k=((k>>31)+k|0)- -8192>>14;break a;default:break b}}k=H[g>>2]}H[d>>2]=(H[H[H[a+176>>2]+536>>2]+544>>2]<<16)+k}if(!I[H[a+176>>2]+548|0]){c:{if(m>>>0<9){break c}while(1){i=i-g>>3;d:{if(i>>>0<=j>>>0){a=0;d=H[b+4>>2];if(!d|H[d>>2]){break d}H[d>>2]=130;break d}e:{f:{g:{a=(j<<3)+g|0;switch(H[a+4>>2]-1|0){case 0:break f;case 1:break g;default:break e}}a=H[a>>2]<<16;break d}a=H[a>>2];a=((a>>31)+a|0)- -8192>>14;break d}a=H[a>>2]}d=a+f|0;H[h+12>>2]=d;a=j+1|0;h:{if(a>>>0>=i>>>0){g=0;a=H[b+4>>2];if(!a|H[a>>2]){break h}H[a>>2]=130;break h}i:{j:{k:{a=(a<<3)+g|0;switch(H[a+4>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=H[a>>2]<<16;break h}a=H[a>>2];g=((a>>31)+a|0)- -8192>>14;break h}g=H[a>>2]}H[h+20>>2]=0;H[h+24>>2]=0;F[h+8|0]=0;f=d+g|0;H[h+16>>2]=f;jn(c,h+8|0);g=H[b+8>>2];j=j+2|0;if(n>>>0<=j>>>0){break c}i=H[b+12>>2];continue}}H[b+12>>2]=g}F[e|0]=1;Wa=h+32|0}function ud(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Wa-16|0;Wa=f;h=H[a+100>>2];H[f+12>>2]=0;m=J[a+340>>1];a:{if(!m){break a}g=-1;i=-1;k=-1;l=-1;j=H[a+356>>2];e=j;while(1){b:{if(!J[e+8>>1]|J[e+6>>1]!=(b|0)){break b}c:{switch(J[e>>1]){case 0:case 2:g=d;break b;case 1:if(!J[e+4>>1]){k=d;break b}l=J[e+2>>1]?l:d;break b;case 3:break c;default:break b}}if((i|0)!=-1&(J[e+4>>1]&1023)!=9){break b}n=J[e+2>>1];if(n>>>0>10|!(1<>1]&1023)==9;i=d}e=e+20|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=(k|0)>=0?k:l;d:{e:{f:{if((i|0)>=0){if((d|0)>=0){b=70;if(!o){break f}}e=0;d=N(i,20)+j|0;g=J[d+2>>1];if(g>>>0>10){break a}b=71;if(1<=0){break f}e=0;b=71;d=g;if((d|0)<0){break a}}if(!j){break d}d=N(d,20)+j|0}g:{if(H[d+16>>2]){break g}a=H[a+368>>2];e=0;p=d,q=jb(h,1,0,J[d+8>>1],0,f+12|0),H[p+16>>2]=q;h:{if(H[f+12>>2]){break h}g=ob(a,H[d+12>>2]);H[f+12>>2]=g;if(g){break h}a=ec(a,H[d+16>>2],J[d+8>>1]);H[f+12>>2]=a;if(!a){break g}}a=H[d+16>>2];if(a){Ya[H[h+8>>2]](h,a)}G[d+8>>1]=0;H[d+16>>2]=0;break a}e=Ya[b|0](d,h)|0;break a}e=0}H[c>>2]=e;Wa=f+16|0;return H[f+12>>2]}function zs(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=c;c=-1;b=xe(a,b);a=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>=65537){a=I[b+10|0]|I[b+11|0]<<8|(I[b+12|0]<<16|I[b+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=a?a+b|0:163632}else{h=163632}a=h;a=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!l){break a}a=0;while(1){b=(a<<3)+h|0;b=I[b+8|0]|I[b+9|0]<<8|(I[b+10|0]<<16|I[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=b?b+h|0:163632;b=I[i|0]|I[i+1|0]<<8;if(!b){c=a;break a}m=1;j=(b<<8|b>>>8)&65535;o=j>>>0>1?j:1;b=0;while(1){b:{f=(b<<2)+i|0;f=I[f+2|0]|I[f+3|0]<<8|(I[f+4|0]<<16|I[f+5|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=f?f+i|0:163632;if((I[g|0]|I[g+1|0]<<8)!=256){break b}k=0;f=I[g+2|0]|I[g+3|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>>0){k=H[(f<<2)+n>>2]}f=I[g+4|0]|I[g+5|0]<<8;if((f<<8|f>>>8)<<16>>16>(k|0)){break b}f=I[g+6|0]|I[g+7|0]<<8;if((f<<8|f>>>8)<<16>>16<(k|0)){break b}b=b+1|0;m=j>>>0>b>>>0;if((b|0)!=(o|0)){continue}}break}if(!m){c=a;break a}a=a+1|0;if((l|0)!=(a|0)){continue}break}}H[e>>2]=c}function XC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Yc(a,H[b+8>>2],e)){if(!(H[b+28>>2]==1|H[b+4>>2]!=(c|0))){H[b+28>>2]=d}return}a:{if(Yc(a,H[b>>2],e)){if(!(H[b+16>>2]!=(c|0)&H[b+20>>2]!=(c|0))){if((d|0)!=1){break a}H[b+32>>2]=1;return}H[b+32>>2]=d;if(H[b+44>>2]!=4){f=a+16|0;h=f+(H[a+12>>2]<<3)|0;d=0;b:{c:{while(1){d:{if(f>>>0>=h>>>0){break d}G[b+52>>1]=0;Ii(f,b,c,c,1,e);if(I[b+54|0]){break d}e:{if(!I[b+53|0]){break e}if(I[b+52|0]){d=1;if(H[b+24>>2]==1){break c}g=1;if(I[a+8|0]&2){break e}break c}g=1;if(!(F[a+8|0]&1)){break c}}f=f+8|0;continue}break}a=4;if(!g){break b}}a=3}H[b+44>>2]=a;if(d&1){break a}}H[b+20>>2]=c;H[b+40>>2]=H[b+40>>2]+1;if(H[b+36>>2]!=1|H[b+24>>2]!=2){break a}F[b+54|0]=1;return}f=H[a+12>>2];g=a+16|0;Sg(g,b,c,d,e);if((f|0)<2){break a}g=g+(f<<3)|0;f=a+24|0;a=H[a+8>>2];if(!(!(a&2)&H[b+36>>2]!=1)){while(1){if(I[b+54|0]){break a}Sg(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}break a}if(!(a&1)){while(1){if(I[b+54|0]|H[b+36>>2]==1){break a}Sg(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break a}}while(1){if(I[b+54|0]|H[b+36>>2]==1&H[b+24>>2]==1){break a}Sg(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}}}function wd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=H[a+88>>2];b=H[a+32>>2]+(b<<4)|0;e=H[b+8>>2];G[f+12>>1]=e+32>>>6;j=H[b+12>>2];G[f+14>>1]=j+32>>>6;a:{b:{c:{d:{if(F[a+8|0]&1){k=f+12|0;c=J[a+68>>1];if(!c){d=2147483647;H[f+16>>2]=(e|0)<0?-2147483647:2147483647;break a}b=e>>31;d=(b^e)-b|0;if(d>>>0<=65535){b=((d<<16|c>>>1)>>>0)/(c>>>0)|0;break c}b=2147483647;g=d>>>16|0;if(g>>>0>=c>>>0){break c}h=d<<16|c>>>1;b=Q(g);i=32-b|0;g=h>>>i|g<>>0)/(c>>>0)|0;g=g-N(c,d)|0;b=h<>>31;g=h-(c>>>0>h>>>0?0:c)|0;d=d<<1|c>>>0<=h>>>0;b=b<<1;i=i-1|0;if(i){continue}break}H[f+16>>2]=(e|0)<0?0-d|0:d;if(!c){break d}b=j>>31;b=(b^j)-b|0;break b}H[f+28>>2]=0;H[f+24>>2]=j;H[f+16>>2]=65536;H[f+20>>2]=65536;a=G[b>>1];H[f+36>>2]=e;H[f+32>>2]=a<<6;return}d=2147483647;break a}H[f+16>>2]=(e|0)<0?0-b|0:b;b=j>>31;b=(b^j)-b|0}if(b>>>0<=65535){d=((b<<16|c>>>1)>>>0)/(c>>>0)|0;break a}d=2147483647;e=b>>>16|0;if(e>>>0>=c>>>0){break a}h=b<<16|c>>>1;b=Q(e);i=32-b|0;e=h>>>i|e<>>0)/(c>>>0)|0;g=e-N(c,d)|0;b=h<>>31;g=e-(c>>>0>e>>>0?0:c)|0;d=d<<1|c>>>0<=e>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}H[f+20>>2]=(j|0)<0?0-d|0:d;so(a,k)}function _n(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!a){break a}b=J[a+2>>1];c=b<<16>>16;if((c|0)<=0){break a}h=2;if((c|0)==1){break a}i=H[a+4>>2];j=i+(b<<3)|0;f=i+8|0;d=H[i>>2];e=d;b=i;c=H[b+4>>2];g=c;while(1){b=H[b+12>>2];g=(b|0)>(g|0)?b:g;c=(b|0)<(c|0)?b:c;b=H[f>>2];e=(b|0)>(e|0)?b:e;d=(b|0)<(d|0)?b:d;b=f;f=b+8|0;if(j>>>0>f>>>0){continue}break}if((d|0)==(e|0)|(c|0)==(g|0)|((d|0)<-16777216|(c|0)<-16777216)){break a}if((e|0)>16777216|(g|0)>16777216){break a}m=G[a>>1];if((m|0)>0){f=0;b=e>>31;e=(b^e)-b|0;b=d>>31;b=17-Q(e|(b^d)-b)|0;h=(b|0)>0?b:0;b=17-Q(g-c|0)|0;j=(b|0)>0?b:0;p=H[a+12>>2];a=0;while(1){e=G[(l<<1)+p>>1];b:{if((e|0)<(a|0)){break b}b=(e<<3)+i|0;c=H[b>>2]>>h;b=H[b+4>>2]>>j;c:{if(!((e-a|0)+1&1)){g=b;b=a;break c}d=c;c=(a<<3)+i|0;g=H[c+4>>2]>>j;c=H[c>>2]>>h;f=N(g-b|0,d+c|0)+f|0;b=a+1|0}if((a|0)==(e|0)){break b}while(1){n=b+1|0;d=(n<<3)+i|0;a=H[d+4>>2]>>j;k=(b<<3)+i|0;o=H[k+4>>2]>>j;d=H[d>>2]>>h;k=H[k>>2]>>h;f=N(a-o|0,d+k|0)+(N(c+k|0,o-g|0)+f|0)|0;b=b+2|0;c=d;g=a;if((e|0)!=(n|0)){continue}break}}a=e+1|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}h=1;if((f|0)>0){break a}h=0;if(f){break a}}h=2}return h}function ui(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=H[a+212>>2];g=f>>8;d=H[a+176>>2];j=c>>8;a:{if((g|0)>=(d|0)&(d|0)<=(j|0)){break a}d=H[a+172>>2];if((d|0)>(g|0)&(d|0)>(j|0)){break a}p=c&255;d=f&255;e=H[a+208>>2];if((g|0)==(j|0)){Mg(a,g,e,d,b,p);break a}h=c-f|0;if((b|0)==(e|0)){e=(h|0)>0;h=e<<8;d=h-d|0;H[a+184>>2]=d+H[a+184>>2];f=b<<1&510;H[a+180>>2]=H[a+180>>2]+N(f,d);k=b>>8;d=g;g=e?1:-1;d=d+g|0;ge(a,k,d);if((d|0)!=(j|0)){e=(e<<9)-256|0;m=N(e,f);while(1){H[a+180>>2]=m+H[a+180>>2];H[a+184>>2]=e+H[a+184>>2];d=d+g|0;ge(a,k,d);if((d|0)!=(j|0)){continue}break}}d=h+(c|-256)|0;H[a+184>>2]=d+H[a+184>>2];H[a+180>>2]=H[a+180>>2]+N(d,f);break a}i=b-e|0;m=1;f=d;b:{if((h|0)>0){k=256;d=256-d|0;break b}h=0-h|0;m=-1}n=N(d,i);d=(n|0)/(h|0)|0;o=e;l=f;f=n-N(d,h)|0;n=f>>31;e=n+(d+e|0)|0;Mg(a,g,o,l,e,k);d=g+m|0;ge(a,e>>8,d);c:{if((d|0)==(j|0)){g=256-k|0;break c}i=i<<8;g=(i|0)/(h|0)|0;i=i-N(g,h)|0;l=i>>31;i=(l&h)+i|0;l=g+l|0;g=256-k|0;f=f+(h&n)|0;while(1){o=e;f=f+i|0;e=(e+l|0)+((f|0)>=(h|0))|0;Mg(a,d,o,g,e,k);d=d+m|0;ge(a,e>>8,d);f=f-((f|0)<(h|0)?0:h)|0;if((d|0)!=(j|0)){continue}break}}Mg(a,j,e,g,b,p)}H[a+212>>2]=c;H[a+208>>2]=b}function nr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(K[b+4>>2]>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=H[b+12>>2];e=d-4|0;H[b+12>>2]=e;if((I[a|0]|I[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[a+6|0]|I[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=Wa-16|0;Wa=f;h=H[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=H[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=H[b+12>>2];c=i-2|0;H[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=I[e|0]|I[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;H[b+12>>2]=d;if((I[c|0]|I[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!Xh(c+2|0,b,c)){break c}H[f+12>>2]=c;d=1;if(Wh(c+6|0,b,f+12|0)){break b}}c=H[b+28>>2];if(c>>>0>31){d=0;break b}H[b+28>>2]=c+1;d=0;if(!I[b+24|0]){break b}F[e|0]=0;F[e+1|0]=0;d=1}Wa=f+16|0;if(!d){break a}c=I[a+6|0]|I[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=I[a+8|0]|I[a+9|0]<<8;c=N(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=H[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=H[b+12>>2]-c|0;H[b+12>>2]=a;j=(a|0)>0}return j}function ho(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=H[a+16>>2];if((e|0)<=0){break a}d=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(H[c>>2]==(b|0)){H[a+16>>2]=e-1;g=d-4|0;if(g>>>0>c>>>0){d=c+4|0;a=((e<<2)+a|0)+16|0;Yb(c,d,((c^-1)+(a>>>0>d>>>0?a:d)|0)+4&-4)}H[g>>2]=0;g=H[b+8>>2];e=H[b>>2];d=H[b+4>>2];a=e;b:{if(!d){break b}if(H[d+160>>2]==(b|0)){H[d+160>>2]=0}a=e;if(!(I[a|0]&2)){break b}c=H[d+148>>2];a=e;if(!c){break b}h=d+148|0;a=H[d>>2];c:{while(1){if(H[c+8>>2]==(b|0)){break c}c=H[c+4>>2];if(c){continue}break}a=e;break b}f=H[b+12>>2];d:{if(H[f+36>>2]!=1869968492){break d}i=H[b+52>>2];if(!i){break d}Ya[H[H[f+56>>2]+20>>2]](i)}f=H[c>>2];i=f?f+4|0:h;h=H[c+4>>2];H[i>>2]=h;H[(h?h:d+152|0)>>2]=f;Ya[H[a+8>>2]](a,c);c=H[d+148>>2];e:{if(c){while(1){a=H[c+8>>2];if(H[a+16>>2]==1869968492){break e}c=H[c+4>>2];if(c){continue}break}}a=0}H[d+156>>2]=a;a=H[b>>2]}f:{if(!(F[a|0]&1)){break f}d=H[b+8>>2];if(!d){break f}c=H[b+16>>2];if(c){while(1){a=H[c+4>>2];hf(d,H[c+8>>2],b);Ya[H[d+8>>2]](d,c);c=a;if(c){continue}break}}H[b+16>>2]=0;H[b+20>>2]=0}a=H[e+28>>2];if(a){Ya[a|0](b)}Ya[H[g+8>>2]](g,b);return}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function Uq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=-6;a:{if(I[8969]!=49){break a}if(!a){return-2}H[a+24>>2]=0;c=H[a+32>>2];if(!c){H[a+40>>2]=0;H[a+32>>2]=866;c=866}if(!H[a+36>>2]){H[a+36>>2]=867}e=Ya[c|0](H[a+40>>2],1,7120)|0;if(!e){return-4}H[a+28>>2]=e;H[e+56>>2]=0;H[e>>2]=a;H[e+4>>2]=16180;d=-2;b:{if(!a|!H[a+32>>2]){break b}f=H[a+36>>2];if(!f){break b}c=H[a+28>>2];if(!c|H[c>>2]!=(a|0)|H[c+4>>2]-16180>>>0>31){break b}if((b|0)<0){b=0-b|0}else{g=(b>>>4|0)+5|0;b=b>>>0<48?b&15:b}if(b?b-8>>>0>=8:0){break b}h=H[c+56>>2];c:{if(!((b|0)!=H[c+40>>2]?h:0)){H[c+40>>2]=b;H[c+12>>2]=g;break c}Ya[f|0](H[a+40>>2],h);H[c+56>>2]=0;f=H[a+32>>2];H[c+40>>2]=b;H[c+12>>2]=g;if(!f){break b}}if(!H[a+36>>2]){break b}b=H[a+28>>2];if(!b|H[b>>2]!=(a|0)|H[b+4>>2]-16180>>>0>31){break b}d=0;H[b+52>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+32>>2]=0;H[a+8>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;c=H[b+12>>2];if(c){H[a+48>>2]=c&1}H[b+60>>2]=0;H[b+64>>2]=0;H[b+36>>2]=0;H[b+24>>2]=32768;H[b+16>>2]=0;H[b+4>>2]=16180;H[b+8>>2]=0;H[b+7108>>2]=1;H[b+7112>>2]=-1;c=b+1332|0;H[b+112>>2]=c;H[b+84>>2]=c;H[b+80>>2]=c}b=d;d=0;if(!b){break a}Ya[H[a+36>>2]](H[a+40>>2],e);H[a+28>>2]=0;d=b}return d}function Tn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Wa-16|0;Wa=i;H[i+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}d=0;if((b|0)==(c|0)){break a}f=H[c+8>>2];h=f>>31|1;e=H[b+8>>2];j=e>>31|1;if(!H[b+12>>2]){a=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=a;a=H[b+20>>2];H[c+16>>2]=H[b+16>>2];H[c+20>>2]=a;a=H[b+12>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=a;if((h|0)==(j|0)){break a}H[c+8>>2]=0-H[c+8>>2];break a}d=e>>31;e=(d^e)-d|0;g=N(e,H[b>>2]);a=H[a>>2];d=H[c+12>>2];b:{c:{if(d){k=f>>31;f=N(H[c>>2],(f^k)-k|0);if((f|0)==(g|0)){break b}d=Wn(a,f,g,d,i+12|0);break c}d=Ci(a,g,i+12|0)}H[c+12>>2]=d}d:{if(H[i+12>>2]){break d}a=H[b+12>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=a;a=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=a;a=H[b+20>>2];H[c+16>>2]=H[b+16>>2];H[c+20>>2]=a;H[c+12>>2]=d;if((h|0)==(j|0)){mb(d,H[b+12>>2],g);break d}a=H[c>>2];if(!a){break d}g=0;c=0-e|0;f=a-1|0;d=N(f,e)+d|0;b=H[b+12>>2];h=a&3;if(h){while(1){a=a-1|0;d=mb(d,b,e)+c|0;b=b+e|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}if(f>>>0<3){break d}while(1){f=b+e|0;h=f+e|0;g=h+e|0;d=mb(mb(mb(mb(d,b,e)+c|0,f,e)+c|0,h,e)+c|0,g,e)+c|0;b=e+g|0;a=a-4|0;if(a){continue}break}}d=H[i+12>>2]}Wa=i+16|0;return d}function Os(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{f=H[a+4>>2];if((f|0)>=0){e=H[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(g>>>0<=f>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(!(e>>>0>>0|e>>>0>178956969)){f=Eb(H[a+12>>2],N(e,24));if(f){break c}}H[a+4>>2]=-1}d=H[40913];H[64764]=H[40912];H[64765]=d;d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;h=259040;break a}H[a+4>>2]=e;H[a+12>>2]=f;e=H[a+8>>2]}if(e>>>0>>0){while(1){H[a+8>>2]=e+1;e=H[a+12>>2]+N(e,24)|0;H[e>>2]=0;H[e+4>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;e=H[a+8>>2];if(g>>>0>e>>>0){continue}break}}H[a+8>>2]=g;e=H[a+12>>2];f=H[40913];H[64764]=H[40912];H[64765]=f;f=H[40911];H[64762]=H[40910];H[64763]=f;f=H[40909];H[64760]=H[40908];H[64761]=f;e=(e+N(g,24)|0)-24|0;h=259040;if((e|0)==259040){break a}f=H[d+4>>2];H[e>>2]=H[d>>2];H[e+4>>2]=f;f=H[d+20>>2];H[e+16>>2]=H[d+16>>2];H[e+20>>2]=f;f=H[d+12>>2];H[e+8>>2]=H[d+8>>2];H[e+12>>2]=f;h=e}f=h;H[f>>2]=b;e=H[c+12>>2];d=H[c+4>>2];g=H[c>>2];b=H[a>>2];H[f+12>>2]=0;H[f+4>>2]=b+g;f=d-b|0;d=d>>>0>>0?0:f;b=e-b|0;H[h+8>>2]=b>>>0>d>>>0?d:b;H[a>>2]=H[c+12>>2]}function ek(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=H[40908];h=H[b+4>>2];while(1){a:{k=f>>>0>=h>>>0;if(k){break a}g=H[c>>2];d=H[a>>2];if(g>>>0>d>>>0|d>>>0>=g+H[c+4>>2]>>>0){break a}e=d+1|0;H[a>>2]=e;d=I[d|0];i=d&63;b:{if(d&128){g=H[b+8>>2];e=0;while(1){c:{if(K[b+4>>2]<=f>>>0){H[64760]=j;d=259040;break c}d=g+(f<<2)|0}H[d>>2]=0;f=f+1|0;d=e+1|0;if(e>>>0>=i>>>0){break b}e=d;if(f>>>0>>0){continue}break}break b}d:{if(d&64){g=0;while(1){d=H[c>>2];if(d>>>0>e>>>0){break d}d=d+H[c+4>>2]|0;if(d>>>0>>0|d-e>>>0<2){break d}d=I[e|0]|I[e+1|0]<<8;d=(d<<8|d>>>8)<<16>>16;e:{if(K[b+4>>2]<=f>>>0){H[64760]=j;e=H[a>>2];l=259040;break e}l=H[b+8>>2]+(f<<2)|0}H[l>>2]=d;e=e+2|0;H[a>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0>>0){continue}break}break b}g=0;d=H[c>>2];if(e>>>0>>0){break d}while(1){if(H[c+4>>2]+d>>>0<=e>>>0){break d}H[a>>2]=e+1;e=F[e|0];f:{if(K[b+4>>2]<=f>>>0){H[64760]=j;d=259040;break f}d=H[b+8>>2]+(f<<2)|0}H[d>>2]=e;d=g+1|0;f=f+1|0;if(h>>>0<=f>>>0|g>>>0>=i>>>0){break b}g=d;d=H[c>>2];e=H[a>>2];if(d>>>0<=e>>>0){continue}break}}k=0;break a}if(d>>>0>i>>>0){continue}}break}return k|0}function Ps(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{switch(a-17|0){default:if((a|0)==263){break a}if((a|0)==292){break d}case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:_e(a,b);return;case 13:break b;case 12:break c;case 0:break e}}a=H[b+24>>2];f:{if(a){a=a-1|0;if(a>>>0>=K[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);d=+z();break f}d=M[H[b+36>>2]+(a<<3)>>3];break f}F[b+20|0]=1;a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);d=+z()}g:{if(P(d)<2147483648){a=~~d;break g}a=-2147483648}if((a|0)<0){F[b+20|0]=1;a=0}H[c+16>>2]=a;break a}a=H[b+24>>2];h:{if(a){a=a-1|0;if(a>>>0>=K[b+32>>2]){a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);d=+z();break h}d=M[H[b+36>>2]+(a<<3)>>3];break h}F[b+20|0]=1;a=H[40909];e=H[40908];H[64760]=e;H[64761]=a;x(0,e|0);x(1,a|0);d=+z()}i:{if(P(d)<2147483648){a=~~d;break i}a=-2147483648}if((a|0)<0){F[b+20|0]=1;a=0}H[c+20>>2]=a;break a}kg(b+20|0,b);return}d=jg(b);a=H[b+24>>2];if(a>>>0>2]){H[b+24>>2]=a+1;M[H[b+36>>2]+(a<<3)>>3]=d;return}F[b+20|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;M[32380]=d;return}H[b+24>>2]=0}function uE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;j=Wa-16|0;Wa=j;i=c;while(1){a:{if((d|0)==(i|0)){i=d;break a}if(!I[i|0]){break a}i=i+1|0;continue}break}H[h>>2]=f;H[e>>2]=c;while(1){b:{c:{d:{if((c|0)==(d|0)|(f|0)==(g|0)){break d}l=H[b+4>>2];H[j+8>>2]=H[b>>2];H[j+12>>2]=l;k=Wa-16|0;Wa=k;H[k+12>>2]=H[a+8>>2];m=xd(k+8|0,k+12|0);H[65057]=0;l=Np(f,e,i-c|0,g-f>>2,b);n=H[65057];H[65057]=0;e:{if((n|0)!=1){Dc(m);Wa=k+16|0;break e}a=$()|0;_()|0;Dc(m);ba(a|0);X()}f:{g:{h:{i:{if((l|0)==-1){while(1){j:{H[h>>2]=f;if(H[e>>2]==(c|0)){break j}g=1;k:{l:{m:{b=Qo(f,c,i-c|0,j+8|0,H[a+8>>2]);switch(b+2|0){case 2:break k;case 1:break m;case 0:break g;default:break l}}H[e>>2]=c;break i}g=b}c=c+g|0;f=H[h>>2]+4|0;continue}break}H[e>>2]=c;break d}f=H[h>>2]+(l<<2)|0;H[h>>2]=f;if((f|0)==(g|0)){break f}c=H[e>>2];if((d|0)==(i|0)){i=d;continue}if(!Qo(f,c,1,b,H[a+8>>2])){break h}}a=2;break c}H[h>>2]=H[h>>2]+4;c=H[e>>2]+1|0;H[e>>2]=c;i=c;while(1){if((d|0)==(i|0)){i=d;break b}if(!I[i|0]){break b}i=i+1|0;continue}}H[e>>2]=c;a=1;break c}c=H[e>>2]}a=(c|0)!=(d|0)}Wa=j+16|0;return a|0}f=H[h>>2];continue}}function mM(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=O(0);h=hk(b+48|0);if(c){b=0;while(1){i=0;j=H[d>>2];k=j;a:{b:{l=H[h+4>>2];if(l>>>0>j>>>0){break b}c:{k=H[h+8>>2];if(k){m=H[h+12>>2];if((k|0)==(l|0)){k=l-1|0;if(!l){if(j>>>0>=m>>>0|k>>>0>=m>>>0){break a}while(1)continue}if(j>>>0>>0){break b}break a}if(j>>>0>>0){break c}break a}i=H[h+16>>2];break a}i=H[h+20>>2];m=H[(i?i:163632)+12>>2];i=H[h>>2];m=((i|0)<0?163632:m+(i<<2)|0)+(l-i<<1)|0;i=j-l|0;j=k+(l^-1)|0;i=m+((i>>>0>>0?i:j)<<1)|0;i=I[i|0]|I[i+1|0]<<8;i=(i<<8|i>>>8)&65535;break a}i=H[h+20>>2];m=H[(i?i:163632)+12>>2];i=H[h>>2]-1|0;i=i>>>0>k>>>0?k:i;i=(i|0)<0?163632:m+(i<<2)|0;i=I[i|0]|I[i+1|0]<<8;k=i<<8|i>>>8;i=k&65535;if(!H[a+68>>2]|j>>>0>=l>>>0){break a}i=H[h+24>>2];i=i?i:163632;l=H[i+16>>2];if(l){n=O(O(T(O($s(l>>>0<20?163632:H[i+12>>2],j,a)+O(.5))))+O((k&65535)>>>0));if(n=O(0)){i=~~n>>>0;break a}i=0;break a}i=ht(a,j,1)}i=0-(i<<16)|0;j=HM(i>>16,i>>31,H[a+48>>2],H[a+52>>2])+32768|0;i=Xa;i=j>>>0<32768?i+1|0:i;H[f>>2]=(i&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function oM(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=O(0);h=dt(b+20|0);if(c){b=0;while(1){i=0;j=H[d>>2];k=j;a:{b:{l=H[h+4>>2];if(l>>>0>j>>>0){break b}c:{k=H[h+8>>2];if(k){m=H[h+12>>2];if((k|0)==(l|0)){k=l-1|0;if(!l){if(j>>>0>=m>>>0|k>>>0>=m>>>0){break a}while(1)continue}if(j>>>0>>0){break b}break a}if(j>>>0>>0){break c}break a}i=H[h+16>>2];break a}i=H[h+20>>2];m=H[(i?i:163632)+12>>2];i=H[h>>2];m=((i|0)<0?163632:m+(i<<2)|0)+(l-i<<1)|0;i=j-l|0;j=k+(l^-1)|0;i=m+((i>>>0>>0?i:j)<<1)|0;i=I[i|0]|I[i+1|0]<<8;i=(i<<8|i>>>8)&65535;break a}i=H[h+20>>2];m=H[(i?i:163632)+12>>2];i=H[h>>2]-1|0;i=i>>>0>k>>>0?k:i;i=(i|0)<0?163632:m+(i<<2)|0;i=I[i|0]|I[i+1|0]<<8;k=i<<8|i>>>8;i=k&65535;if(!H[a+68>>2]|j>>>0>=l>>>0){break a}i=H[h+24>>2];i=i?i:163632;l=H[i+16>>2];if(l){n=O(O(T(O($s(l>>>0<20?163632:H[i+12>>2],j,a)+O(.5))))+O((k&65535)>>>0));if(n=O(0)){i=~~n>>>0;break a}i=0;break a}i=ht(a,j,0)}i=i<<16;j=i>>31;j=HM(i>>16,j,H[a+40>>2],H[a+44>>2])+32768|0;i=Xa;i=j>>>0<32768?i+1|0:i;H[f>>2]=(i&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function Bd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Wa-16|0;Wa=g;a:{if((c|0)<=0){break a}i=H[a+4>>2];while(1){h=(k<<3)+b|0;b:{if(!H[h>>2]){Nd(i);if(H[i+12>>2]>1){break a}d=H[i>>2];f=d-1|0;l=H[i+8>>2];c:{while(1){j=3;if(d>>>0>=l>>>0){e=d;break c}e=d+1|0;H[i>>2]=e;m=I[d|0];d=e;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j=2}H[i+12>>2]=j;H[g+8>>2]=f;break b}f=Tf(i);H[g+8>>2]=f;if(!f){break a}e=H[i>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(H[h>>2]){case 0:case 1:d=Ci(H[a>>2],d,g+4|0);H[h+4>>2]=d;if(H[g+4>>2]){break e}mb(d,f,e);F[e+H[h+4>>2]|0]=0;break e;case 2:n=h,o=Cd(g+8|0,e+f|0,0),H[n+4>>2]=o;break e;case 3:H[g+12>>2]=f;l=e+f|0;j=Dd(g+12|0,l,10);e=0;d=H[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(I[d|0]!=35|d>>>0>=l>>>0)){f=d+1|0;H[g+12>>2]=f;j=Dd(g+12|0,l,j);d=H[g+12>>2];if((f|0)==(d|0)){break g}}H[g+8>>2]=d;e=j}H[h+4>>2]=e;break e;case 4:if((e|0)==4){e=ub(f,23711,4)}else{e=1}F[h+4|0]=!e;break e;case 5:break f;default:break e}}d=H[a+12>>2];if(d){n=h,o=Ya[d|0](f,e,H[a+16>>2])|0,H[n+4>>2]=o;break e}H[h+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}Wa=g+16|0;return k}function Vj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Wa-16|0;Wa=h;d=I[a+2|0]|I[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=H[b+100>>2];if((Kb(c,H[H[d+80>>2]+N(H[d+64>>2],20)>>2])|0)!=-1){g=163632;d=163632;f=I[a+4|0]|I[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}f=I[a+6|0]|I[a+7|0]<<8;if(f){g=((f<<8|f>>>8)&65535)+a|0}f=163632;e=163632;c=I[a+8|0]|I[a+9|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}c=H[b+100>>2];c=Eh(g,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);i=I[a+10|0]|I[a+11|0]<<8;c=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<1)+a|0)+12|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}H[h+12>>2]=e;H[h+8>>2]=g;H[h+4>>2]=d;H[h>>2]=716;a=I[f|0]|I[f+1|0]<<8;if(a){g=(a<<8|a>>>8)&65535;a=f+2|0;while(1){d=I[a|0]|I[a+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+f|0}else{d=163632}e=I[d|0]|I[d+1|0]<<8;j=(e<<8|e>>>8)&65535;k=(j<<1)+d|0;e=k+2|0;c=I[e|0]|I[e+1|0]<<8;l=(c<<8|c>>>8)&65535;e=(c?l<<1:2)+e|0;c=I[e|0]|I[e+1|0]<<8;m=(c<<8|c>>>8)&65535;c=(m<<1)+e|0;i=I[c+2|0]|I[c+3|0]<<8;d=Dh(b,j,d+2|0,l,k+4|0,m,e+2|0,(i<<8|i>>>8)&65535,c+4|0,h);if(!d){a=a+2|0;g=g-1|0;if(g){continue}}break}}else{d=0}g=d}Wa=h+16|0;return g}function vr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-48|0;Wa=e;g=H[a+4>>2];F[b+557|0]=0;H[b+560>>2]=a;if(!(!H[b+116>>2]|!H[b+120>>2])){i=kb(b+188|0,0,364);H[b+528>>2]=3932;H[b+520>>2]=-1;H[b+392>>2]=1;H[b+588>>2]=d;H[b+584>>2]=c;H[b+552>>2]=b;H[b+384>>2]=2596864;H[b+388>>2]=7;a:{if(!I[a+32|0]){d=8192;c=97;break a}d=20480;c=H[a+1556>>2]+1|0}h=H[a>>2];f=H[h>>2];j=H[b+176>>2];H[e+12>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+24>>2]=0;H[e+4>>2]=0;H[e+8>>2]=0;H[e+32>>2]=i;H[e+28>>2]=d;H[e>>2]=h;H[e+36>>2]=j;d=jb(f,4,0,c,0,e+44|0);H[e+16>>2]=d;b:{c:{if(!H[e+44>>2]){H[e+20>>2]=d;H[e+24>>2]=c;break c}if(d){Ya[H[f+8>>2]](f,d)}f=0;H[e+16>>2]=0;if(H[e+44>>2]){break b}}f=ob(g,H[b+116>>2]+H[a+12>>2]|0);if(f){break b}f=Nb(g,H[b+120>>2]);if(f){break b}f=or(e,H[g+32>>2],H[g+36>>2]);Db(g);if(f){break b}F[b+188|0]=I[b+188|0]&254;a=H[b+532>>2];d:{e:{if((a|0)<0){a=0-a|0;break e}if(a){break d}a=987654321}H[b+532>>2]=a}if(K[b+388>>2]>=1001){H[b+388>>2]=7}f=0;if(K[b+392>>2]<1001){break b}H[b+392>>2]=1}H[b+600>>2]=0;H[b+596>>2]=H[b+592>>2];a=H[H[e>>2]>>2];b=H[e+16>>2];if(b){Ya[H[a+8>>2]](a,b)}}Wa=e+48|0;return f|0}function ch(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0;m=Wa-16|0;Wa=m;H[m+12>>2]=a;a:{b:{if((a|0)==(f|0)){if(!I[b|0]){break b}a=0;F[b|0]=0;b=H[e>>2];H[e>>2]=b+1;F[b|0]=46;if(I[h+11|0]>>>7|0){b=H[h+4>>2]}else{b=I[h+11|0]}if(!b){break a}b=H[j>>2];if((b-i|0)>159){break a}c=H[k>>2];H[j>>2]=b+4;H[b>>2]=c;break a}if(I[h+11|0]>>>7|0){f=H[h+4>>2]}else{f=I[h+11|0]}if(!(!f|(a|0)!=(g|0))){if(!I[b|0]){break b}a=0;b=H[j>>2];if((b-i|0)>159){break a}a=H[k>>2];H[j>>2]=b+4;H[b>>2]=a;a=0;H[k>>2]=0;break a}a=-1;f=$i(l,l+128|0,m+12|0)-l|0;if((f|0)>124){break a}g=I[(f>>2)+248752|0];c:{d:{a=f&-5;if((a|0)!=88){if((a|0)!=96){break d}b=H[e>>2];if((b|0)!=(d|0)){a=-1;if((I[b-1|0]&95)!=(I[c|0]&127)){break a}}H[e>>2]=b+1;F[b|0]=g;a=0;break a}F[c|0]=80;break c}a=F[c|0];if((a|0)!=(g&95)){break c}F[c|0]=a|128;if(!I[b|0]){break c}F[b|0]=0;if(I[h+11|0]>>>7|0){a=H[h+4>>2]}else{a=I[h+11|0]}if(!a){break c}a=H[j>>2];if((a-i|0)>159){break c}b=H[k>>2];H[j>>2]=a+4;H[a>>2]=b}a=H[e>>2];H[e>>2]=a+1;F[a|0]=g;a=0;if((f|0)>84){break a}H[k>>2]=H[k>>2]+1;break a}a=-1}Wa=m+16|0;return a|0}function ak(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-48|0;Wa=b;c=H[a>>2];a:{if(c){break a}g=a-4|0;while(1){c=H[g>>2];if(!c){c=163632;break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;F[b+40|0]=1;H[b+36>>2]=0;c=_b(c,1751474532);if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}F[b+24|0]=0;H[b+32>>2]=c;e=H[c+12>>2];H[b+4>>2]=e;f=H[c+16>>2];H[b+8>>2]=e+f;H[b+28>>2]=0;if(f>>>0>67108862){d=1073741823}else{d=f<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}H[b+12>>2]=d;H[b+20>>2]=0;H[b>>2]=0;b:{if(!e){lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;break b}c:{d:{if((f|0)<54){break d}H[b+12>>2]=d-54;if((I[e|0]|I[e+1|0]<<8)!=256){break d}d=I[e+12|0]|I[e+13|0]<<8|(I[e+14|0]<<16|I[e+15|0]<<24);lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;if((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))!=1594834165){break c}if(H[c+4>>2]){H[c+4>>2]=0}break b}lb(c);H[b+32>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0}lb(c);c=163632}d=H[a>>2];c=c?c:163632;H[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==163632)){lb(c)}c=H[a>>2];if(!c){continue}break}}Wa=b+48|0;return K[c+16>>2]<54?163632:H[c+12>>2]}function eh(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0;m=Wa-16|0;Wa=m;F[m+15|0]=a;a:{b:{if((a|0)==(f|0)){if(!I[b|0]){break b}a=0;F[b|0]=0;b=H[e>>2];H[e>>2]=b+1;F[b|0]=46;if(I[h+11|0]>>>7|0){b=H[h+4>>2]}else{b=I[h+11|0]}if(!b){break a}b=H[j>>2];if((b-i|0)>159){break a}c=H[k>>2];H[j>>2]=b+4;H[b>>2]=c;break a}if(I[h+11|0]>>>7|0){f=H[h+4>>2]}else{f=I[h+11|0]}if(!(!f|(a|0)!=(g|0))){if(!I[b|0]){break b}a=0;b=H[j>>2];if((b-i|0)>159){break a}a=H[k>>2];H[j>>2]=b+4;H[b>>2]=a;a=0;H[k>>2]=0;break a}a=-1;f=cj(l,l+32|0,m+15|0)-l|0;if((f|0)>31){break a}g=I[f+248752|0];c:{d:{switch((f&-2)-22|0){case 2:b=H[e>>2];if((b|0)!=(d|0)&(I[b-1|0]&95)!=(I[c|0]&127)){break a}H[e>>2]=b+1;F[b|0]=g;a=0;break a;case 0:F[c|0]=80;break c;default:break d}}a=F[c|0];if((a|0)!=(g&95)){break c}F[c|0]=a|128;if(!I[b|0]){break c}F[b|0]=0;if(I[h+11|0]>>>7|0){a=H[h+4>>2]}else{a=I[h+11|0]}if(!a){break c}a=H[j>>2];if((a-i|0)>159){break c}b=H[k>>2];H[j>>2]=a+4;H[a>>2]=b}a=H[e>>2];H[e>>2]=a+1;F[a|0]=g;a=0;if((f|0)>21){break a}H[k>>2]=H[k>>2]+1;break a}a=-1}Wa=m+16|0;return a|0}function as(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;b:{if(!c){break b}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;c:{if(!c){break c}if(ce(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}g=H[b+4>>2];c=a+6|0;if(g>>>0>c>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+6|0]|I[a+7|0]<<8;if(!e){return 1}f=a+8|0;if(g>>>0>f>>>0|d>>>0>>0){break a}f=d-f|0;d=(e<<8|e>>>8)&65535;e=d<<1;if(f>>>0>>0){break a}c=c-e|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0>1?d:1;d=0;while(1){h=Yr(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function Oh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!I[a+12|0]){break a}if(!b){return}e=H[a+20>>2];if(K[a+24>>2]<=(e>>>1|0)+e>>>0){if(I[a+12|0]){e=(H[a+16>>2]<<1)+8|0;i=e?32-Q(e)|0:0;h=tb(12<>2]=0;H[f>>2]=0;H[f+4>>2]=0;j=1;break c}H[64760]=0;H[64761]=0;H[64762]=0;j=0}e=e-j|0;f=N(j,12)+f|0;if((k|0)!=(f|0)){continue}break}}H[a+16>>2]=0;H[a+20>>2]=0;j=H[a+24>>2];H[a+24>>2]=g-1;H[a+28>>2]=H[(i>>>0>31?106972:(i<<2)+106848|0)>>2];g=H[a+32>>2];H[a+32>>2]=h;if(!(!g|(j|0)==-1)){e=0;while(1){f=e;e=g+N(e,12)|0;i=H[e>>2];if(!(!i|!H[e+4>>2])){Oh(a,i,H[e+8>>2],e+4|0)}e=f+1|0;if((f|0)!=(j|0)){continue}break}}hb(g)}e=(h|0)!=0}else{e=0}if(!e){break a}}f=Rk(a,b,c);h=H[a+32>>2];g=N(f,12)+h|0;e=H[g>>2];d:{e:{if(!H[d>>2]){if((b|0)!=(e|0)){break a}g=h+N(f,12)|0;break e}if(e){break e}e=H[a+20>>2];break d}e=H[a+20>>2]-1|0;H[a+20>>2]=e;if(!H[(h+N(f,12)|0)+4>>2]){break d}H[a+16>>2]=H[a+16>>2]-1}H[g>>2]=b;d=H[d>>2];b=h+N(f,12)|0;H[b+8>>2]=c;H[b+4>>2]=d;H[a+20>>2]=e+1;if(!H[b+4>>2]){break a}H[a+16>>2]=H[a+16>>2]+1}}function mb(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ua(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){F[c|0]=I[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){H[c>>2]=H[b>>2];H[c+4>>2]=H[b+4>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=H[b+12>>2];H[c+16>>2]=H[b+16>>2];H[c+20>>2]=H[b+20>>2];H[c+24>>2]=H[b+24>>2];H[c+28>>2]=H[b+28>>2];H[c+32>>2]=H[b+32>>2];H[c+36>>2]=H[b+36>>2];H[c+40>>2]=H[b+40>>2];H[c+44>>2]=H[b+44>>2];H[c+48>>2]=H[b+48>>2];H[c+52>>2]=H[b+52>>2];H[c+56>>2]=H[b+56>>2];H[c+60>>2]=H[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){H[c>>2]=H[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){F[c|0]=I[b|0];F[c+1|0]=I[b+1|0];F[c+2|0]=I[b+2|0];F[c+3|0]=I[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){F[c|0]=I[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Bg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Wa-16|0;Wa=h;f=H[a+28>>2];H[h+12>>2]=0;H[c>>2]=0;e=H[a+32>>2];if(e>>>0>2]){H[a+32>>2]=e+1;d=F[e|0]}else{d=0}e=d<<24>>24;d=-1;a:{if(!e){break a}g=e&255;if(g&128){g=g<<8&32512;e=H[a+32>>2];if(e>>>0>2]){H[a+32>>2]=e+1;d=F[e|0]}else{d=0}g=g|d<<24>>24&255}d=0;if(b>>>0>>0){break a}e=jb(f,2,0,g+1|0,0,h+12|0);d=0;if(H[h+12>>2]){break a}H[c>>2]=g;if(g){c=0;b=0;while(1){d=H[a+32>>2];if(d>>>0>2]){H[a+32>>2]=d+1;d=F[d|0]}else{d=0}f=d<<24>>24;j=f&255;b:{if(f&128){c=Rb(a)+c|0;G[e+(b<<1)>>1]=c;b=b+1|0;d=0;f=j&127;if(!f){break b}while(1){c=Rb(a)+c|0;G[e+(b<<1)>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(f>>>0>d>>>0){continue}break}break b}i=e+(b<<1)|0;d=H[a+32>>2];if(d>>>0>2]){H[a+32>>2]=d+1;d=F[d|0]}else{d=0}c=(d<<24>>24&255)+c|0;G[i>>1]=c;b=b+1|0;d=0;if(!f){break b}while(1){i=e+(b<<1)|0;f=H[a+32>>2];if(f>>>0>2]){H[a+32>>2]=f+1;f=F[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;G[i>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(j>>>0>d>>>0){continue}break}}if(b>>>0>>0){continue}break}}d=e}Wa=h+16|0;return d}function dg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(K[a+16>>2]<=b>>>0){break a}e=H[H[H[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Ya[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=H[a+88>>2];if(!a){return 36}i=d,j=sb(H[d>>2],H[a+(c&16?20:16)>>2],64),H[i>>2]=j;return 0}if((e&255)!=7){break a}}e=35;b:{if(!a){break b}e=6;if(!d){break b}e=16;f=b+1|0;g=H[a+16>>2];c:{if(f>>>0>g>>>0|!f|b>>>0>=g>>>0){break c}e=H[H[H[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Ya[e|0](a,b,1,c,d)|0;if(!e){d:{if(!(c&1)){a=H[a+88>>2];e=36;if(!a){break d}b=H[a+(c&16?20:16)>>2];a=0;while(1){c=(a<<2)+d|0;i=c,j=sb(H[c>>2],b,64),H[i>>2]=j;a=a+1|0;if((a|0)!=1){continue}break}}e=0}break b}if((e&255)!=7){break c}}e=7;if(c&536870912){break c}g=c&1?1:1024;h=c|256;f=0;if(!(c&16)){while(1){e=Kd(a,b+f|0,h);if(e){break c}H[(f<<2)+d>>2]=N(g,H[H[a+84>>2]+64>>2]);e=0;f=f+1|0;if((f|0)!=1){continue}break c}}while(1){e=Kd(a,b+f|0,h);if(e){break c}H[(f<<2)+d>>2]=N(g,H[H[a+84>>2]+68>>2]);e=0;f=f+1|0;if((f|0)!=1){continue}break}}}}return e|0}function _g(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Wa-16|0;Wa=h;H[h>>2]=a;g=H[c+20>>2];f=g+((Ya[H[c+12>>2]](h)>>>0)%K[c+4>>2]<<2)|0;e=H[f>>2];a:{if(!e){break a}while(1){if(Ya[H[c+16>>2]](e,h)|0){break a}f=f-4|0;if(g>>>0>f>>>0){f=(g+(H[c+4>>2]<<2)|0)-4|0}e=H[f>>2];if(e){continue}break}}b:{c:{d:{e=H[f>>2];e:{if(!e){e=64;g=Ya[H[d+4>>2]](d,8)|0;if(!g){break b}H[f>>2]=g;H[g+4>>2]=b;H[g>>2]=a;f:{if(K[c+8>>2]>2]){break f}g=H[c+4>>2];a=g<<1;H[c+4>>2]=a;H[c>>2]=(a>>>0)/3;e=0;if((a|0)<0){e=6;break c}b=H[c+20>>2];if(a){e=10;if(a>>>0>536870911){break c}a=g<<3;e=Ya[H[d+4>>2]](d,a)|0;if(!e){break d}kb(e,0,a)}H[c+20>>2]=e;if(g){e=0;a=b;while(1){f=H[a>>2];if(f){H[h+8>>2]=H[f>>2];i=H[c+20>>2];f=i+((Ya[H[c+12>>2]](h+8|0)>>>0)%K[c+4>>2]<<2)|0;while(1){g:{j=H[f>>2];if(!j){break g}if(Ya[H[c+16>>2]](j,h+8|0)|0){break g}f=f-4|0;if(i>>>0<=f>>>0){continue}f=((H[c+4>>2]<<2)+i|0)-4|0;continue}break}H[f>>2]=H[a>>2]}a=a+4|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(!b){break f}Ya[H[d+8>>2]](d,b)}H[c+8>>2]=H[c+8>>2]+1;break e}H[e+4>>2]=b}e=0;break b}H[c+20>>2]=0;e=64;break b}H[c+20>>2]=0}Wa=h+16|0;return e}function NL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d:{switch(a-18|0){case 0:d=H[b+24>>2];e:{if(d){f=d-1|0;H[b+24>>2]=f;if(K[b+32>>2]<=f>>>0){d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);e=+z();break e}e=M[H[b+36>>2]+(f<<3)>>3];break e}F[b+20|0]=1;d=H[40909];g=H[40908];H[64760]=g;H[64761]=d;x(0,g|0);x(1,d|0);e=+z()}f:{if(P(e)<2147483648){d=~~e;break f}d=-2147483648}if((d|0)<0){F[b+20|0]=1;d=0}H[c+16>>2]=d;g:{if(f){d=f-1|0;if(d>>>0>=K[b+32>>2]){d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);e=+z();break g}e=M[H[b+36>>2]+(d<<3)>>3];break g}F[b+20|0]=1;d=H[40909];f=H[40908];H[64760]=f;H[64761]=d;x(0,f|0);x(1,d|0);e=+z()}h:{if(P(e)<2147483648){d=~~e;break h}d=-2147483648}if((d|0)<0){F[b+20|0]=1;d=0}H[c+20>>2]=d;H[b+24>>2]=0;break b;case 11:kg(b+20|0,b);break c;case 12:e=jg(b);d=H[b+24>>2];if(d>>>0>2]){H[b+24>>2]=d+1;M[H[b+36>>2]+(d<<3)>>3]=e;break c}F[b+20|0]=1;d=H[40909];H[64760]=H[40908];H[64761]=d;M[32380]=e;break c;default:break d}}_e(a,b)}if(H[b+24>>2]){break a}}if(I[b+20|0]|(I[b+40|0]|I[b+16|0])|H[b+28>>2]<0){break a}Fh(c,a,b)}}function Yj(a,b,c){var d=0,e=0,f=0,g=O(0),h=0;d=I[a+4|0]|I[a+5|0]<<8;d=d<<8|d>>>8;f=d&65535;a:{if(f-1>>>0>=3){if((f|0)!=32768){break a}d=I[c+6|0]|I[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=I[a+1|0]|I[a|0]<<8;if(e>>>0<=d>>>0){g=O(0)}else{d=(d<<2)+c|0;d=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=I[a+3|0]|I[a+2|0]<<8;a=I[c+2|0]|I[c+3|0]<<8|(I[c+4|0]<<16|I[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=mg(d?d+c|0:163632,e,H[b+72>>2],H[b+68>>2],a?a+c|0:163632)}g=O(g*O(H[b+24>>2]));b=H[b+16>>2];a=H[b+28>>2];if(!a){a=vb(b)}g=O(T(O(O(g/O(a>>>0))+O(.5))));b:{if(O(P(g))>2];if(!c){break a}f=I[a|0]|I[a+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(c>>>0>((e<<8|e>>>8)&65535)>>>0){break a}e=a;f=c-f|0;a=d&65535;d=4-a|0;e=e+(f>>>d<<1)|0;e=I[e+6|0]|I[e+7|0]<<8;e=((e<<8|e>>>8)&65535)>>>((f^-1|-1<>>(-1<>>0>>1>>>0?0:d;if((a|0)==(d|0)){break a}b=H[b+24>>2];a=a-d|0;h=IM(HM(b,b>>31,a,a>>31),Xa,c,0)}return h}function Xj(a,b,c){var d=0,e=0,f=0,g=O(0),h=0;d=I[a+4|0]|I[a+5|0]<<8;d=d<<8|d>>>8;f=d&65535;a:{if(f-1>>>0>=3){if((f|0)!=32768){break a}d=I[c+6|0]|I[c+7|0]<<8;e=(d<<8|d>>>8)&65535;d=I[a+1|0]|I[a|0]<<8;if(e>>>0<=d>>>0){g=O(0)}else{d=(d<<2)+c|0;d=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=I[a+3|0]|I[a+2|0]<<8;a=I[c+2|0]|I[c+3|0]<<8|(I[c+4|0]<<16|I[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=mg(d?d+c|0:163632,e,H[b+72>>2],H[b+68>>2],a?a+c|0:163632)}g=O(g*O(H[b+20>>2]));b=H[b+16>>2];a=H[b+28>>2];if(!a){a=vb(b)}g=O(T(O(O(g/O(a>>>0))+O(.5))));b:{if(O(P(g))>2];if(!c){break a}f=I[a|0]|I[a+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(c>>>0>((e<<8|e>>>8)&65535)>>>0){break a}e=a;f=c-f|0;a=d&65535;d=4-a|0;e=e+(f>>>d<<1)|0;e=I[e+6|0]|I[e+7|0]<<8;e=((e<<8|e>>>8)&65535)>>>((f^-1|-1<>>(-1<>>0>>1>>>0?0:d;if((a|0)==(d|0)){break a}b=H[b+20>>2];a=a-d|0;h=IM(HM(b,b>>31,a,a>>31),Xa,c,0)}return h}function rr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=I[a+2|0]|I[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=H[b+100>>2];e=Kb(e,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);e:{if((e|0)==-1){break e}c=163632;f=I[a+4|0]|I[a+5|0]<<8;e=e>>>0<((f<<8|f>>>8)&65535)>>>0?((e<<1)+a|0)+6|0:163632;e=I[e|0]|I[e+1|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}a=I[c|0]|I[c+1|0]<<8;if(!a){break e}e=(a<<8|a>>>8)&65535;a=c+2|0;while(1){d=I[a|0]|I[a+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=163632}f=I[d|0]|I[d+1|0]<<8;g=(f<<8|f>>>8)&65535;h=d+4|0;d=I[d+2|0]|I[d+3|0]<<8;d=fg(b,g,h,(d<<8|d>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,731,0);if(d){break e}a=a+2|0;e=e-1|0;if(e){continue}break}}return d}return Kr(a,b)}c=I[a+6|0]|I[a+7|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=H[b+100>>2];if((Kb(e,H[H[c+80>>2]+N(H[c+64>>2],20)>>2])|0)==-1){break a}c=b;b=I[a+2|0]|I[a+3|0]<<8;b=(b<<8|b>>>8)&65535;d=I[a+4|0]|I[a+5|0]<<8;d=fg(c,b,a+8|0,(d<<8|d>>>8)&65535,((b<<1)+a|0)+6|0,732,a)}return d}function El(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=H[b+4>>2];a:{if(e>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=H[b+12>>2]-2|0;H[b+12>>2]=g;if((g|0)<=0){break a}d=I[a|0]|I[a+1|0]<<8;if(!d){return 1}h=a+2|0;if(h>>>0>>0|f>>>0>>0){break a}k=f-h|0;d=(d<<8|d>>>8)&65535;f=d<<1;if(k>>>0>>0){break a}f=g-f|0;H[b+12>>2]=f;if((f|0)<=0){break a}f=a+2|0;if(f>>>0>>0){break a}l=d>>>0>1?d:1;h=0;while(1){b:{g=H[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break b}i=H[c>>2];j=H[b+12>>2];d=j-2|0;H[b+12>>2]=d;if((d|0)<=0){break b}d=I[f|0]|I[f+1|0]<<8;c:{if(!d){break c}d=i+((d<<8|d>>>8)&65535)|0;d:{if(d>>>0>>0|d>>>0>g>>>0|g-d>>>0<2){break d}i=j-4|0;H[b+12>>2]=i;if((i|0)<=0){break d}j=I[d|0]|I[d+1|0]<<8;if(!j){break c}k=e;e=d+2|0;if(k>>>0>e>>>0|e>>>0>g>>>0){break d}k=g-e|0;e=((j<<8|j>>>8)&65535)<<1;if(k>>>0>>0){break d}e=i-e|0;H[b+12>>2]=e;if((e|0)>0){break c}}e=H[b+28>>2];if(e>>>0>31){break b}H[b+28>>2]=e+1;if(!I[b+24|0]){break b}F[f|0]=0;F[f+1|0]=0}i=1;h=h+1|0;if((l|0)==(h|0)){break a}e=H[b+4>>2];f=((h<<1)+a|0)+2|0;if(e>>>0<=f>>>0){continue}}break}i=0}return i}function QF(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;k=Wa-16|0;Wa=k;a:{if(a){a=dp(c);b:{if(b){Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);break b}Ya[H[H[a>>2]+40>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+28>>2]](k,a)}Fd(i,k);Sb(k);l=e,m=Ya[H[H[a>>2]+12>>2]](a)|0,H[l>>2]=m;l=f,m=Ya[H[H[a>>2]+16>>2]](a)|0,H[l>>2]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(g,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Fd(h,k);Sb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0;break a}a=cp(c);c:{if(b){Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);break c}Ya[H[H[a>>2]+40>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+28>>2]](k,a)}Fd(i,k);Sb(k);l=e,m=Ya[H[H[a>>2]+12>>2]](a)|0,H[l>>2]=m;l=f,m=Ya[H[H[a>>2]+16>>2]](a)|0,H[l>>2]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(g,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Fd(h,k);Sb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0}H[j>>2]=a;Wa=k+16|0}function UF(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;k=Wa-16|0;Wa=k;a:{if(a){a=ip(c);b:{if(b){Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);break b}Ya[H[H[a>>2]+40>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+28>>2]](k,a)}Mc(i,k);nb(k);l=e,m=Ya[H[H[a>>2]+12>>2]](a)|0,F[l|0]=m;l=f,m=Ya[H[H[a>>2]+16>>2]](a)|0,F[l|0]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(g,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Mc(h,k);nb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0;break a}a=hp(c);c:{if(b){Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);break c}Ya[H[H[a>>2]+40>>2]](k,a);b=H[k>>2];F[d|0]=b;F[d+1|0]=b>>>8;F[d+2|0]=b>>>16;F[d+3|0]=b>>>24;Ya[H[H[a>>2]+28>>2]](k,a)}Mc(i,k);nb(k);l=e,m=Ya[H[H[a>>2]+12>>2]](a)|0,F[l|0]=m;l=f,m=Ya[H[H[a>>2]+16>>2]](a)|0,F[l|0]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(g,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Mc(h,k);nb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0}H[j>>2]=a;Wa=k+16|0}function bn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=H[a+4>>2];if(i){b=H[a+24>>2]+N(b,204)|0;j=H[b+200>>2];l=H[b+204>>2];k=H[a+12>>2];while(1){a=H[k+4>>2];g=(a|0)<=0;a:{if(g){break a}d=H[k>>2];c=d+N(a,40)|0;b=0;a=d;f=0;while(1){e=H[a+16>>2]&32;f=e?f?f:a:f;b=(e>>>5|0)+b|0;a=a+40|0;if(c>>>0>a>>>0){continue}break}a=f;if(b>>>0<=1){if((b|0)==1){l=H[f+36>>2]-ib(H[f+28>>2],j)|0}if(g){break a}while(1){if((d|0)!=(f|0)){n=d,o=ib(H[d+28>>2],j)+l|0,H[n+36>>2]=o}d=d+40|0;if(c>>>0>d>>>0){continue}break}break a}while(1){c=a;a=H[a+4>>2];if((f|0)==(a|0)){break a}if(I[a+16|0]&32){continue}b=a;while(1){b=H[b+4>>2];if(!(I[b+16|0]&32)){continue}break}d=H[c+28>>2];e=H[b+28>>2];b:{if((d|0)<=(e|0)){h=e-d|0;e=c;g=b;break b}h=d-e|0;d=e;e=b;g=c}m=H[g+36>>2];g=H[e+36>>2];c:{if((h|0)<=0){e=65536;break c}e=pb(m-g|0,h);a=H[c+4>>2]}while(1){c=H[a+28>>2]-d|0;d:{if((c|0)<=0){c=ib(c,j)+g|0;break d}if((c|0)>=(h|0)){c=ib(c-h|0,j)+m|0;break d}c=ib(c,e)+g|0}H[a+36>>2]=c;a=H[a+4>>2];if((b|0)!=(a|0)){continue}break}a=b;if((f|0)!=(a|0)){continue}break}}k=k+8|0;i=i-1|0;if(i){continue}break}}}function Kf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Wa-1312|0;Wa=f;g=H[a+4>>2];i=H[g+492>>2];j=H[i+12>>2];h=H[H[g+128>>2]+52>>2];k=H[g+452>>2];e=a+1388|0;H[e>>2]=H[g+448>>2];H[e+4>>2]=k;e=H[g+444>>2];H[a+1380>>2]=H[g+440>>2];H[a+1384>>2]=e;e=H[g+460>>2];H[a+1396>>2]=H[g+456>>2];H[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;H[c>>2]=H[e+H[g+428>>2]>>2];H[c+4>>2]=H[e+H[g+432>>2]>>2];break b}e=Ya[H[H[h>>2]>>2]](H[h+4>>2],b,c)|0;if(e){break a}}c:{if(I[a+70|0]){e=Ya[H[j+8>>2]](a,H[c>>2],H[c+4>>2])|0;break c}e=f+656|0;Ya[H[i+24>>2]](e,a,1);Ya[H[i+28>>2]](g,g+168|0,f);H[f+1192>>2]=f;e=Ya[H[j+12>>2]](e,H[c>>2],H[c+4>>2])|0;if((e&255)!=164){break c}F[H[a+8>>2]+160|0]=0;F[d|0]=1;e=Ya[H[j+12>>2]](f+656|0,H[c>>2],H[c+4>>2])|0}if(!h|e){break a}if(!H[H[h>>2]+8>>2]){e=0;break a}c=H[a+32>>2];H[f+4>>2]=0;H[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=H[a+40>>2];H[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=H[a+44>>2];H[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=Ya[H[H[h>>2]+8>>2]](H[h+4>>2],b,0,f)|0;H[a+32>>2]=H[f>>2]<<16;H[a+40>>2]=H[f+8>>2]<<16;H[a+44>>2]=H[f+12>>2]<<16}Wa=f+1312|0;return e}function iE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a=c;a:{if((d-a|0)<3){break a}}while(1){b:{if(e>>>0<=i>>>0|a>>>0>=d>>>0){break b}g=F[a|0];b=g&255;c:{if((g|0)>=0){g=1;if(b>>>0<=1114111){break c}break b}if(g>>>0<4294967234){break b}if(g>>>0<=4294967263){if((d-a|0)<2){break b}f=I[a+1|0];if((f&192)!=128){break b}g=2;if((f&63|b<<6&1984)>>>0<=1114111){break c}break b}d:{e:{if(g>>>0<=4294967279){if((d-a|0)<3){break b}h=I[a+2|0];f=I[a+1|0];if((b|0)==237){break e}if((b|0)==224){if((f&224)==160){break d}break b}if((f&192)!=128){break b}break d}if((d-a|0)<4|g>>>0>4294967284){break b}h=I[a+2|0];f=I[a+1|0];f:{g:{switch(b-240|0){case 0:if((f+112&255)>>>0<48){break f}break b;case 4:if((f&240)==128){break f}break b;default:break g}}if((f&192)!=128){break b}}if((h&192)!=128){break b}j=I[a+3|0];if((j&192)!=128){break b}g=4;if((j&63|(h<<6&4032|(b<<18&1835008|(f&63)<<12)))>>>0>1114111){break b}break c}if((f&224)!=128){break b}}if((h&192)!=128){break b}g=3;if((h&63|(b<<12&61440|(f&63)<<6))>>>0>1114111){break b}}i=i+1|0;a=a+g|0;continue}break}return a-c|0}function Ax(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=3;a:{if((d|e)<0){break a}g=H[a+8>>2];h=H[a+12>>2];i=J[h+2>>1];if(K[g+4>>2]>>0){break a}k=J[h>>1];if(K[g>>2]>>0){break a}i=N(i,I[a+18|0]);if((N(i,k)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!i|!k){break a}l=d&7;a=8-l|0;j=a>>>0>i>>>0?i:a;p=(255<>2];h=H[g+12>>2]+(N(n,e)+(d>>>3|0)|0)|0;q=i-j|0;o=8-j|0;e=0;g=0;d=k;while(1){m=d;b:{if(!l){f=i;d=h;break b}c:{if((k|0)==(m|0)){e=I[b|0];b=b+1|0;a=l;break c}if((g|0)<(j|0)){a=g+o|0;if(b>>>0>=c>>>0){break c}e=I[b|0]|e;b=b+1|0;a=g+o|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;F[h|0]=I[h|0]|(e&65535)>>>g&p;e=e<<8;f=q;d=h+1|0}a=b;if((f|0)>=8){while(1){b=I[a|0]|e;F[d|0]=I[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=I[a|0]|e;a=a+1|0}F[d|0]=I[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}F[d|0]=I[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+n|0;d=m-1|0;if((m|0)>1){continue}break}f=0}return f|0}function Of(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Wa-16|0;Wa=h;if(e){H[e>>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)>0?c:0;i=H[a+8>>2];g=H[a>>2];a:{b:{if(g){b=i;while(1){if(!(H[b>>2]!=(l|0)|H[b+4>>2]!=(m|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}j=g+1|0;b=H[a+4>>2];c:{if(j>>>0>>0){break c}H[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=jb(d,12,f,b,i,h+4|0);H[a+8>>2]=i;f=H[h+4>>2];if(f){break a}H[a+4>>2]=b}H[a>>2]=j;b=N(g,12)+i|0;H[b+8>>2]=c>>31&(k?3:1);H[b+4>>2]=m;H[b>>2]=l}b=H[a+12>>2];d:{e:{if(!b){f:{if(H[a+16>>2]){b=H[a+20>>2];break f}H[h+8>>2]=0;b=jb(d,16,0,8,H[a+20>>2],h+8|0);H[a+20>>2]=b;f=H[h+8>>2];if(f){break a}H[a+16>>2]=8}H[b+12>>2]=0;H[b>>2]=0;H[a+12>>2]=1;break e}b=(H[a+20>>2]+(b<<4)|0)-16|0;if(K[b>>2]>g>>>0){break d}}a=H[b+4>>2];H[h+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=jb(d,1,f,a,H[b+8>>2],h+12|0),H[n+8>>2]=o;f=H[h+12>>2];if(f){break a}H[b+4>>2]=a<<3}H[b>>2]=g+1}a=H[b+8>>2]+(g>>>3|0)|0;F[a|0]=I[a|0]|128>>>(g&7);f=0;if(!e){break a}H[e>>2]=g}Wa=h+16|0;return f}function RB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Wa-272|0;Wa=g;e=H[b+4>>2];f=H[b>>2];b=H[a>>2];d=H[a+4>>2];H[g+12>>2]=d<<2;H[g+8>>2]=b<<2;i=e<<2;H[g+4>>2]=i;f=f<<2;H[g>>2]=f;k=H[c+208>>2];H[g+16>>2]=k;a=H[c+212>>2];H[g+20>>2]=a;j=d>>6;a:{b:{l=e>>6;h=H[c+176>>2];c:{d:{if((l|0)<(h|0)){e=a>>8;break d}e=a>>8;if((h|0)>(j|0)){break d}if((e|0)>=(h|0)){break c}}h=H[c+172>>2];if((h|0)<=(l|0)|(h|0)<=(j|0)|(e|0)>=(h|0)){break b}}H[c+212>>2]=i;H[c+208>>2]=f;break a}e=1;f=(f-(b<<3)|0)+k|0;b=f>>31;d=a+(i-(d<<3)|0)|0;a=d>>31;b=(b^f)-b|0;a=(a^d)-a|0;a=a>>>0>>0?b:a;if(a>>>0>=65){while(1){e=e<<1;b=a>>>0>259;a=a>>>2|0;if(b){continue}break}}a=g;while(1){b=0-e&e;if(b>>>0>=2){while(1){d=H[a+16>>2];H[a+32>>2]=d;i=H[a+20>>2];H[a+36>>2]=i;f=H[a+8>>2];j=f+H[a>>2]|0;H[a+8>>2]=j>>1;d=d+f|0;H[a+24>>2]=d>>1;H[a+16>>2]=d+j>>2;d=H[a+12>>2];f=d+H[a+4>>2]|0;H[a+12>>2]=f>>1;d=d+i|0;H[a+28>>2]=d>>1;H[a+20>>2]=d+f>>2;a=a+16|0;d=b>>>0>3;b=b>>1;if(d){continue}break}}ui(c,H[a>>2],H[a+4>>2]);a=a-16|0;e=e-1|0;if(e){continue}break}}Wa=g+272|0;return 0}function Mi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;p=a;i=Wa-1040|0;Wa=i;q=H[64884];a:{b:{c:{a=i+16|0;l=J[((b>>>0>149?0:b)<<1)+256256>>1]+254424|0;c=H[H[64925]+20>>2];if(c){j=H[c+4>>2];c=H[c>>2];e=H[c>>2]+1794895138|0;h=Pe(H[c+8>>2],e);g=Pe(H[c+12>>2],e);d=Pe(H[c+16>>2],e);d:{if(j>>>2>>>0<=h>>>0){break d}k=j-(h<<2)|0;if((d|g)&3|(k>>>0<=g>>>0|d>>>0>=k>>>0)){break d}r=d>>>2|0;s=g>>>2|0;g=0;while(1){k=h>>>1|0;m=k+g|0;n=m<<1;d=c+(n+s<<2)|0;o=Pe(H[d>>2],e);d=Pe(H[d+4>>2],e);if(d>>>0>=j>>>0|j-d>>>0<=o>>>0|I[c+(d+o|0)|0]){break d}d=rb(l,c+d|0);if(!d){g=c+(r+n<<2)|0;h=Pe(H[g>>2],e);e=Pe(H[g+4>>2],e);if(e>>>0>=j>>>0|h>>>0>=j-e>>>0){break d}f=I[c+(e+h|0)|0]?0:c+e|0;break d}if((h|0)==1){break d}d=(d|0)<0;h=d?k:h-k|0;g=d?g:m;continue}}}f=f?f:l;c=wb(f);e:{if(c>>>0>=1024){mb(a,f,1023);F[a+1023|0]=0;f=68;break e}mb(a,f,c+1|0);f=0}switch(f+1|0){case 1:break a;case 0:break c;default:break b}}f=H[64884]}a=239535;if((f|0)==28){break a}xa();X()}if(!I[a|0]){H[i>>2]=b;a=i+16|0;Ud(a,1024,239123,i)}H[64884]=q;nd(p,a);Wa=i+1040|0}function $r(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=H[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}e=H[b+12>>2]-6|0;H[b+12>>2]=e;if((e|0)<=0){break a}f=I[a+2|0]|I[a+3|0]<<8;if(!f){break a}g=a+6|0;if(d>>>0>g>>>0|c>>>0>>0){break a}f=(f<<8|f>>>8)&65535;h=f<<1;if(h>>>0>c-g>>>0){break a}c=e-h|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=0;c=a+6|0;if(d>>>0>c>>>0){return 0}f=f>>>0>1?f:1;while(1){d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=H[b+12>>2]-2|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=I[c|0]|I[c+1|0]<<8;b:{if(!d){break b}if(nc(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=H[b+28>>2];if(d>>>0>31){break a}H[b+28>>2]=d+1;if(!I[b+24|0]){break a}F[c|0]=0;F[c+1|0]=0}e=e+1|0;if((f|0)!=(e|0)){c=((e<<1)+a|0)+6|0;if(c>>>0>=K[b+4>>2]){continue}break a}break}c=I[a+4|0]|I[a+5|0]<<8;if(!c){return 1}d=a;a=I[a+2|0]|I[a+3|0]<<8;a=(d+(((a<<8|a>>>8)&65535)<<1)|0)+6|0;if(a>>>0>2]){break a}e=H[b+8>>2];if(e>>>0>>0){break a}d=e-a|0;a=((c<<8|c>>>8)&65535)<<2;if(d>>>0>>0){break a}a=H[b+12>>2]-a|0;H[b+12>>2]=a;i=(a|0)>0}return i}function tm(a){var b=0,c=0,d=0,e=0;d=H[H[a>>2]+100>>2];b=H[a+300>>2];if(b){H[b+444>>2]=0;c=H[b+8>>2];e=H[b+24>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b+20>>2]=0;H[b+24>>2]=0;e=H[b+440>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b+440>>2]=0;H[b+432>>2]=0;H[b+436>>2]=0;e=H[b+396>>2];if(e){Ya[H[c+8>>2]](c,e)}H[b+392>>2]=0;H[b+396>>2]=0;H[b>>2]=0;H[b+4>>2]=0;if(b){Ya[H[c+8>>2]](c,b)}H[a+300>>2]=0}b=H[a+252>>2];if(b){Ya[H[d+8>>2]](d,b)}H[a+248>>2]=0;H[a+252>>2]=0;b=H[a+260>>2];if(b){Ya[H[d+8>>2]](d,b)}G[a+256>>1]=0;H[a+260>>2]=0;b=H[a+264>>2];if(b){c=H[a+292>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+292>>2]=0;c=H[a+288>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+288>>2]=0;c=H[a+280>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+280>>2]=0;c=H[a+276>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+276>>2]=0;c=H[a+284>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+284>>2]=0;H[a+272>>2]=0;H[a+264>>2]=0;H[a+268>>2]=0}b=H[a+132>>2];if(b){Ya[H[d+8>>2]](d,b)}H[a+132>>2]=0;b=H[a+144>>2];if(b){Ya[H[d+8>>2]](d,b)}H[a+136>>2]=0;H[a+140>>2]=0;H[a+124>>2]=0;H[a+128>>2]=0;H[a+144>>2]=0;H[a+148>>2]=0;H[a+152>>2]=0;H[a+304>>2]=-1;H[a+308>>2]=-1}function JM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(b){if(!g){break k}if(!d){break j}c=Q(d)-Q(b)|0;if(c>>>0<=31){break i}break c}if((d|0)==1|d>>>0>1){break c}a=(a>>>0)/(g>>>0)|0;Xa=0;break a}if(!a){break h}if(!d){break g}if(d-1&d){break g}a=b>>>GM(d)|0;Xa=0;break a}if(!(g-1&g)){break f}h=(Q(g)+33|0)-Q(b)|0;e=0-h|0;break d}h=c+1|0;e=63-c|0;break d}a=(b>>>0)/(d>>>0)|0;Xa=0;break a}c=Q(d)-Q(b)|0;if(c>>>0<31){break e}break c}if((g|0)==1){break b}c=GM(g);d=c&31;if((c&63)>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}Xa=c;break a}h=c+1|0;e=63-c|0}c=h&63;f=c&31;if(c>>>0>=32){c=0;i=b>>>f|0}else{c=b>>>f|0;i=((1<>>f}f=c;c=e&63;e=c&31;if(c>>>0>=32){c=a<>>32-e|b<>>31;f=f<<1|i>>>31;j=m-(f+(c>>>0>e>>>0)|0)>>31;k=g&j;i=c-k|0;f=f-((d&j)+(c>>>0>>0)|0)|0;b=b<<1|a>>>31;a=l|a<<1;l=j&1;h=h-1|0;if(h){continue}break}}Xa=b<<1|a>>>31;a=l|a<<1;break a}a=0;b=0}Xa=b}return a}function Be(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Wa-32|0;f=H[a+68>>2];if(f>>>0>=2){i=H[a+80>>2];e=f-1|0;while(1){b=N(e,20)+i|0;H[c+24>>2]=H[b+16>>2];d=H[b+12>>2];H[c+16>>2]=H[b+8>>2];H[c+20>>2]=d;d=H[b+4>>2];H[c+8>>2]=H[b>>2];H[c+12>>2]=d;d=N(g,20)+i|0;H[b+16>>2]=H[d+16>>2];h=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=h;h=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=h;H[d+16>>2]=H[c+24>>2];b=H[c+20>>2];H[d+8>>2]=H[c+16>>2];H[d+12>>2]=b;b=H[c+12>>2];H[d>>2]=H[c+8>>2];H[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!I[a+62|0]){break a}b=H[a+68>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=H[a+88>>2];e=b-1|0;g=0;while(1){a=d+N(e,20)|0;H[c+24>>2]=H[a+16>>2];b=H[a+12>>2];H[c+16>>2]=H[a+8>>2];H[c+20>>2]=b;b=H[a+4>>2];H[c+8>>2]=H[a>>2];H[c+12>>2]=b;b=d+N(g,20)|0;H[a+16>>2]=H[b+16>>2];f=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=f;f=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=f;H[b+16>>2]=H[c+24>>2];a=H[c+20>>2];H[b+8>>2]=H[c+16>>2];H[b+12>>2]=a;a=H[c+12>>2];H[b>>2]=H[c+8>>2];H[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function Ul(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=H[a+532>>2];if(!j){return 6}l=-1;d=H[j>>2];a:{if(!d){break a}e=H[j+4>>2];b:{if(e){m=b>>>0>e>>>0?e:b;d=e;while(1){h=0;i=65536;f=0;c:{if(!d){break c}while(1){d:{if(h>>>0>=m>>>0){i=i>>1;break d}f=H[(h<<2)+c>>2];f=g>>>h&1?f:65536-f|0;if((f|0)<=0){i=0;f=d;break c}if(f>>>0>65535){break d}i=ib(i,f);e=H[j+4>>2]}d=e;f=d;h=h+1|0;if(h>>>0>>0){continue}break}}d=H[j+136>>2]+(g<<2)|0;if(H[d>>2]!=(i|0)){H[d>>2]=i;k=1}d=f;g=g+1|0;if(g>>>0>2]){continue}break}break b}i=d&3;c=H[j+136>>2];if(d-1>>>0>=3){j=d&-4;d=0;while(1){e=h<<2;g=e+c|0;if(H[g>>2]!=65536){H[g>>2]=65536;k=1}g=c+(e|4)|0;if(H[g>>2]!=65536){H[g>>2]=65536;k=1}g=c+(e|8)|0;if(H[g>>2]!=65536){H[g>>2]=65536;k=1}e=c+(e|12)|0;if(H[e>>2]!=65536){H[e>>2]=65536;k=1}h=h+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break b}while(1){d=c+(h<<2)|0;if(H[d>>2]!=65536){H[d>>2]=65536;k=1}h=h+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(!k){break a}l=0;H[a+8>>2]=H[a+8>>2]&-32769|((b|0)!=0)<<15}return l|0}function bC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{a=H[a+12>>2];f=H[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=H[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){H[a+4280>>2]=b;H[a+4284>>2]=e-f;break c}f=0;if(ob(H[a>>2],0)){break a}H[a+12>>2]=0;H[a+16>>2]=0;H[a+104>>2]=0;H[a+48>>2]=0;H[a+36>>2]=0;H[a+40>>2]=0;F[a+44|0]=0;H[a- -64>>2]=9;e=a+4280|0;H[a+4288>>2]=e;H[a+4284>>2]=e;H[e>>2]=0}if(b>>>0<=f>>>0){break c}g=H[a+4284>>2];h=H[a+4288>>2]-g|0;b=b-f|0;e=h>>>0>>0;i=g;g=e?h:b;H[a+4284>>2]=i+g;H[a+4280>>2]=f+g;if(e){h=a+12|0;b=b-g|0;while(1){f=0;e=b>>>0<4096?b:4096;if(Nn(h,0,e)>>>0>>0){break a}H[a+4280>>2]=e+H[a+4280>>2];f=b>>>0>4096;b=b-e|0;if(f){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;j=a+12|0;e=H[a+4284>>2];h=H[a+4288>>2];f=0;while(1){i=e;e=h-e|0;b=d>>>0>e>>>0?e:d;mb(c+f|0,i,b);H[a+4284>>2]=b+H[a+4284>>2];H[a+4280>>2]=b+H[a+4280>>2];f=b+f|0;if(d>>>0<=e>>>0){break a}H[a+4284>>2]=g;i=Nn(j,g,4096);e=H[a+4284>>2];h=i+e|0;H[a+4288>>2]=h;d=d-b|0;if(i){continue}break}}return f|0}function My(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{if(!I[a+24|0]){h=H[b>>2];break c}h=H[b>>2];d=a+28|0;if((h|0)!=H[d>>2]){break c}Jm(a);if(!I[a+24|0]){return 0}c=H[a+32>>2];break b}c=H[a+16>>2];d=I[c+12|0]|I[c+13|0]<<8|(I[c+14|0]<<16|I[c+15|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i|(h|0)==-1){break a}j=c+20|0;k=h+1|0;d=i;d:{e:{while(1){g=d+l>>>1|0;e=N(g,12)+j|0;c=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g;f=e-4|0;f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=k>>>0){if(h>>>0>>0){break e}l=g+1|0}else{d=c}if(d>>>0>l>>>0){continue}break}c=0;break d}d=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);c=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}j=H[a>>2];if(h>>>0>=m>>>0){e=0;g=g+1|0;if((i|0)==(g|0)){break a}}F[a+24|0]=1;H[a+36>>2]=g;d=a+28|0;H[d>>2]=k;if(!(c>>>0>2]?c:0)){Jm(a);c=0;if(!I[a+24|0]){break b}c=H[a+32>>2];break b}H[a+32>>2]=c}e=c;H[b>>2]=H[d>>2]}return e|0}function fc(a){var b=0,c=0,d=0,e=0;b=Wa-32|0;Wa=b;H[b+12>>2]=0;H[b+8>>2]=1107;d=H[b+12>>2];H[b>>2]=H[b+8>>2];H[b+4>>2]=d;d=H[b+4>>2];c=b+16|0;H[c+4>>2]=H[b>>2];H[c+8>>2]=d;H[c>>2]=a;d=Wa-16|0;Wa=d;if(H[a>>2]!=-1){e=d+8|0;H[e>>2]=c;H[d>>2]=e;while(1){if(H[a>>2]==1){continue}break}a:{b:{c:{if(!H[a>>2]){H[a>>2]=1;H[65057]=0;c=H[65057];H[65057]=0;d:{if((c|0)==1){break d}H[65057]=0;fa(1112,d|0);c=H[65057];H[65057]=0;if((c|0)==1){break d}H[65057]=0;c=H[65057];H[65057]=0;if((c|0)==1){break d}H[a>>2]=-1;H[65057]=0;c=H[65057];H[65057]=0;if((c|0)==1){break d}H[65057]=0;c=H[65057];H[65057]=0;if((c|0)!=1){break a}}b=ea(0)|0;_()|0;oa(b|0)|0;H[65057]=0;b=H[65057];H[65057]=0;e:{if((b|0)==1){break e}H[a>>2]=0;H[65057]=0;a=H[65057];H[65057]=0;if((a|0)==1){break e}H[65057]=0;a=H[65057];H[65057]=0;if((a|0)==1){break e}H[65057]=0;ia(874);a=H[65057];H[65057]=0;if((a|0)!=1){break b}}a=$()|0;_()|0;H[65057]=0;ia(875);b=H[65057];H[65057]=0;if((b|0)==1){break c}ba(a|0);X()}break a}ea(0)|0;_()|0;Gb()}X()}}Wa=d+16|0;Wa=b+32|0;return H[a+4>>2]-1|0}function Nm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=H[a+24>>2];if(b>>>0>65534){break b}i=H[a>>2];l=H[i+508>>2]+H[i+512>>2]|0;c=b+1|0;b=H[a+40>>2];c=b>>>0>>0?c:b;while(1){g=H[a+44>>2];c:{if(g>>>0>>0){break c}f=H[a+48>>2];d:{e=H[a+52>>2];if(!e){j=H[i+16>>2];b=f+g|0;if((b|0)<0){while(1){d=c+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}c=c+1|0;if(g>>>0>=c>>>0){continue}break c}}e=0-f|0;if(b>>>0<=65535){break d}h=65536-f|0;while(1){k=c+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){b=e;if((k|0)<0){break e}b=h;if(k>>>0<65536){break e}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}break c}b=e+(c-b<<1)|0;if(l>>>0>>0){break c}while(1){e=I[b+1|0]|I[b|0]<<8;if(e){d=f+e&65535;if(d){break a}}b=b+2|0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}break c}while(1){h=c+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){b=e;if((h|0)<0){break f}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}}d=0;if((Om(a,H[a+36>>2]+1|0)|0)<0){break b}b=H[a+40>>2];c=b>>>0>>0?c:b;continue}}c=-1}H[a+28>>2]=d;H[a+24>>2]=c}function lE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a=c;a:{if((d-a|0)<3){break a}}while(1){b:{if(e>>>0<=g>>>0|a>>>0>=d>>>0){break b}b=I[a|0];if(b>>>0>1114111){break b}f=a+1|0;c:{if(b<<24>>24>=0){break c}if(b>>>0<194){break b}if(b>>>0<=223){if((d-a|0)<2){break b}f=I[a+1|0];if((f&192)!=128|(f&63|b<<6&1984)>>>0>1114111){break b}f=a+2|0;break c}d:{e:{if(b>>>0<=239){if((d-a|0)<3){break b}h=I[a+2|0];f=I[a+1|0];if((b|0)==237){break e}if((b|0)==224){if((f&224)==160){break d}break b}if((f&192)!=128){break b}break d}if((d-a|0)<4|b>>>0>244|e-g>>>0<2){break b}h=I[a+2|0];f=I[a+1|0];f:{g:{switch(b-240|0){case 0:if((f+112&255)>>>0<48){break f}break b;case 4:if((f&240)==128){break f}break b;default:break g}}if((f&192)!=128){break b}}if((h&192)!=128){break b}i=I[a+3|0];if((i&192)!=128|(i&63|(h<<6&4032|(b<<18&1835008|(f&63)<<12)))>>>0>1114111){break b}g=g+1|0;f=a+4|0;break c}if((f&224)!=128){break b}}if((h&192)!=128|(h&63|(b<<12&61440|(f&63)<<6))>>>0>1114111){break b}f=a+3|0}a=f;g=g+1|0;continue}break}return a-c|0}function Dn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;d=3;h=H[b+188>>2];a:{if(!h){break a}f=H[b+192>>2];while(1){if(H[f+(e<<4)>>2]==(c|0)){d=83;c=H[(f+(e<<4)|0)+12>>2];e=H[a+8>>2];if(c>>>0>>0){break a}if(dc(a,c-e|0)){break a}H[g+12>>2]=0;c=Qc(a,g+12|0);d=H[g+12>>2];if(d){break a}i=c&-256;if((i|256)==256){d=b+196|0;f=c&4;b:{if(f){d=Mb(a,29712,d);break b}d=Mb(a,29776,d)}H[g+12>>2]=d;if(d){break a}d=H[b+204>>2];e=d>>31;if((d^e)-e>>>0>=32768){H[b+204>>2]=(d|0)<0?-32767:32767}d=H[b+208>>2];e=d>>31;if((d^e)-e>>>0>=32768){H[b+208>>2]=(d|0)<0?-32767:32767}e=b+216|0;d=Mb(a,f?29840:29872,e);H[g+12>>2]=d;if(d){break a}h=c&255;f=b+232|0;d=ti(a,h,f);H[g+12>>2]=d;if(d){break a}c=b+248|0;if((i|0)==256){d=ti(a,h,c);H[g+12>>2]=d;if(d){break a}d=ti(a,h,b+264|0);break a}a=H[e+4>>2];H[c>>2]=H[e>>2];H[c+4>>2]=a;a=H[e+12>>2];H[c+8>>2]=H[e+8>>2];H[c+12>>2]=a;a=H[f+12>>2];H[b+272>>2]=H[f+8>>2];H[b+276>>2]=a;a=H[f+4>>2];H[b+264>>2]=H[f>>2];H[b+268>>2]=a}d=0;break a}e=e+1|0;if((h|0)!=(e|0)){continue}break}}Wa=g+16|0;return d}function Ve(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Wa-208|0;Wa=e;H[e+8>>2]=1;H[e+12>>2]=0;i=N(b,c);a:{if(!i){break a}H[e+16>>2]=c;H[e+20>>2]=c;j=0-c|0;b=c;f=b;h=2;while(1){g=b;b=(c+f|0)+b|0;H[(e+16|0)+(h<<2)>>2]=b;h=h+1|0;f=g;if(b>>>0>>0){continue}break}g=(a+i|0)+j|0;b:{if(g>>>0<=a>>>0){h=0;b=1;g=0;break b}h=1;b=1;while(1){c:{if((h&3)==3){Fj(a,c,d,b,e+16|0);rh(e+8|0,2);b=b+2|0;break c}f=b-1|0;d:{if(K[(e+16|0)+(f<<2)>>2]>=g-a>>>0){qh(a,c,d,e+8|0,b,0,e+16|0);break d}Fj(a,c,d,b,e+16|0)}if((b|0)==1){ph(e+8|0,1);b=0;break c}ph(e+8|0,f);b=1}f=H[e+8>>2];h=f|1;H[e+8>>2]=h;a=a+c|0;if(g>>>0>a>>>0){continue}break}h=f>>>0>1;g=H[e+12>>2]!=0}qh(a,c,d,e+8|0,b,0,e+16|0);if(!(g?1:h|(b|0)!=1)){break a}while(1){e:{if((b|0)<=1){f=e+8|0;g=Kq(f);rh(f,g);h=H[e+8>>2];b=b+g|0;break e}f=e+8|0;ph(f,2);H[e+8>>2]=H[e+8>>2]^7;rh(f,1);k=a+j|0;i=e+16|0;g=b-2|0;qh(k-H[i+(g<<2)>>2]|0,c,d,f,b-1|0,1,i);ph(f,1);h=H[e+8>>2]|1;H[e+8>>2]=h;qh(k,c,d,f,g,1,i);b=g}a=a+j|0;if(H[e+12>>2]|((b|0)!=1|(h|0)!=1)){continue}break}}Wa=e+208|0}function Im(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Wa-16|0;Wa=j;d=I[b+3|0];g=d|(I[b+1|0]<<16|I[b|0]<<24|I[b+2|0]<<8);if(g){h=d&3;e=b+7|0;a:{if(g-1>>>0<3){d=e;break a}l=g-h|0;while(1){f=(I[e+12|0]+(I[e+8|0]+(I[e+4|0]+(I[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;k=k+4|0;if((l|0)!=(k|0)){continue}break}}if(h){while(1){f=(I[d|0]+f|0)+1|0;d=d+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}d=f+1|0}else{d=1}e=H[a+28>>2];H[j+12>>2]=0;b:{c:{d:{if(d>>>0<=e>>>0){c=H[a+32>>2];break d}H[a+36>>2]=c;c=jb(c,4,e,d,H[a+32>>2],j+12|0);H[a+32>>2]=c;if(H[j+12>>2]){break c}H[a+28>>2]=d}d=c;if(g){while(1){e=I[b+6|0]|(I[b+5|0]<<8|I[b+4|0]<<16);i=0;a=I[b+7|0];f=a+1|0;h=f&7;if(h){while(1){H[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(a>>>0>=7){while(1){H[d>>2]=e;H[d+28>>2]=e+7;H[d+24>>2]=e+6;H[d+20>>2]=e+5;H[d+16>>2]=e+4;H[d+12>>2]=e+3;H[d+8>>2]=e+2;H[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;g=g-1|0;if(g){continue}break}}H[d>>2]=0;break b}c=0}Wa=j+16|0;return c}function bk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=J[b>>1];f=J[a>>1];a:{b:{c:{d:{a=H[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}b=0;a=0;if(d>>>0<=257){a=d<<2;c=H[a+122816>>2];h=c+119104|0;a=H[a+122820>>2]+(c^-1)|0}if(f>>>0<=257){break d}c=0;break b}b=0;g=H[c+8>>2];e=I[g|0]|I[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=0;e:{if(e>>>0<=d>>>0){break e}a=(d<<1)+g|0;a=I[a+2|0]|I[a+3|0]<<8;d=(a<<8|a>>>8)&65535;if(d>>>0<=257){a=d<<2;d=H[a+122816>>2];h=d+119104|0;a=H[a+122820>>2]+(d^-1)|0;break e}d=d-258|0;a=0;if(d>>>0>=K[c+16>>2]){break e}a=H[c+24>>2]+H[H[c+20>>2]+(d<<2)>>2]|0;h=a+1|0;a=I[a|0]}if(f>>>0>>0){break c}c=0;break b}c=f<<2;b=H[c+122816>>2];c=H[c+122820>>2]+(b^-1)|0;b=b+119104|0;break b}b=(f<<1)+g|0;b=I[b+2|0]|I[b+3|0]<<8;d=(b<<8|b>>>8)&65535;if(d>>>0<=257){c=d<<2;b=H[c+122816>>2];c=H[c+122820>>2]+(b^-1)|0;b=b+119104|0;break b}b=0;d=d-258|0;if(d>>>0>=K[c+16>>2]){c=0;break b}c=H[c+24>>2]+H[H[c+20>>2]+(d<<2)>>2]|0;b=c+1|0;c=I[c|0]}if((a|0)!=(c|0)){return c-a|0}if(!a){break a}i=Bc(b,h,a)}return i}function GK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=H[a+12>>2];H[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Ya[H[e+36>>2]](e,b,c,d,H[e+68>>2])|0){break a}}if(I[H[a>>2]+152|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}H[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}H[d>>2]=64287;break b}H[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}H[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}H[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){H[d>>2]=H[(a<<2)+128448>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:H[d>>2]=64300;break b;case 1:break d;default:break a}}H[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:H[d>>2]=64332;break b;case 10:H[d>>2]=64333;break b;case 19:break e;default:break a}}H[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}H[d>>2]=64298;break b}H[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}H[d>>2]=64299;break b}H[d>>2]=64301}f=1}return f|0}function $A(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Wa-16|0;Wa=f;tc(a,H[a+8>>2]);g=H[a+8>>2];d=H[a>>2];H[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e=I[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break d}i=125}d=d+1|0;H[f+12>>2]=d;if(d>>>0>=g>>>0){break a}e:{if(!c){while(1){tc(f+12|0,g);e=H[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(I[e|0]==(i|0)){break c}Cd(f+12|0,g,0);d=H[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}b=(b|0)>0?b:0;while(1){tc(f+12|0,g);e=H[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(I[e|0]==(i|0)){break c}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Cd(f+12|0,g,0)>>>16|0,G[j>>1]=k;d=H[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}tc(f+12|0,g);e=H[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(!I[e|0]){break c}if(!c|(b|0)>0){break b}d=e;break a}d=e+1|0;break a}j=c?c:f+10|0,k=Cd(f+12|0,g,0)>>>16|0,G[j>>1]=k;d=H[f+12>>2];h=(e|0)==(d|0)?-1:1}H[a>>2]=d;Wa=f+16|0;return h|0}function WE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=H[a+4>>2]-H[a>>2]>>2;if(d>>>0>>0){h=Wa-32|0;Wa=h;a:{b:{f=b-d|0;c:{if(f>>>0<=H[a+8>>2]-H[a+4>>2]>>2>>>0){Wi(a,f);break c}g=a+16|0;d=h+8|0;c=Wa-16|0;Wa=c;e=(H[a+4>>2]-H[a>>2]>>2)+f|0;H[c+12>>2]=e;d:{b=Go();if(e>>>0<=b>>>0){e=H[a+8>>2]-H[a>>2]>>2;if(e>>>0>>1>>>0){H[c+8>>2]=e<<1;b=Wa-16|0;Wa=b;Wa=b+16|0;b=c+12|0;e=c+8|0;b=H[(K[e>>2]>2]?b:e)>>2]}Wa=c+16|0;break d}Fo();X()}e=H[a+4>>2]-H[a>>2]>>2;c=Wa-16|0;Wa=c;H[c+12>>2]=0;H[d+12>>2]=0;H[d+16>>2]=g;if(b){i=Eo(H[d+16>>2],b)}H[d>>2]=i;g=(e<<2)+i|0;H[d+8>>2]=g;H[d+4>>2]=g;H[d+12>>2]=(b<<2)+i;Wa=c+16|0;c=Wa-16|0;Wa=c;H[c>>2]=H[d+8>>2];b=H[d+8>>2];H[c+8>>2]=d+8;H[c+4>>2]=b+(f<<2);b=H[c>>2];while(1){if(H[c+4>>2]!=(b|0)){H[H[c>>2]>>2]=0;b=H[c>>2]+4|0;H[c>>2]=b;continue}break}H[H[c+8>>2]>>2]=H[c>>2];Wa=c+16|0;H[65057]=0;da(1110,a|0,d|0);a=H[65057];H[65057]=0;if((a|0)==1){break b}Ao(d)}Wa=h+32|0;break a}a=$()|0;_()|0;Ao(d);ba(a|0);X()}return}if(b>>>0>>0){Bo(a,H[a>>2]+(b<<2)|0)}}function Xx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Wa-16|0;Wa=f;e=Ya[H[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=H[f+12>>2];if(c>>>0<4){break a}e=Jc(b,c,a+808|0);if(e){break a}c=H[f+12>>2];H[a+812>>2]=c;e=0;d=H[a+808>>2];b=I[d+2|0]<<8|I[d+3|0];j=b>>>0<32?b:32;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=I[b+3|0]|I[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(I[b+4|0]|(I[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}H[a+824>>2]=n;H[a+820>>2]=m;H[a+816>>2]=g}Wa=f+16|0;return e|0}function Rx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=H[a+816>>2];a:{if(!g){break a}e=H[a+812>>2];if((e|0)<10){break a}d=e;e=H[a+808>>2];k=d+e|0;d=e+4|0;f=e+10|0;l=b<<16|c;n=H[a+820>>2];h=1;while(1){b=(I[d+3|0]|I[d+2|0]<<8)+d|0;e=b>>>0>k>>>0?k:b;b:{if(I[d+4|0]|!(h&n)){break b}o=I[d+5|0];c=d+14|0;i=e-c|0;b=I[d+7|0]|I[f|0]<<8;b=(i|0)<(N(b,6)|0)?(i|0)/6|0:b;c:{if(H[a+824>>2]&h){if(!b){break b}i=d+18|0;c=0;while(1){f=b+c>>>1|0;j=i+N(f,6)|0;d=j-4|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;c=d?f+1|0:c;b=d?b:f;if(c>>>0>>0){continue}break b}break}b=j+1|0;break c}if(!b){break b}while(1){d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){c=c+6|0;b=b-1|0;if(b){continue}break b}break}j=c+4|0;b=c+5|0}m=((I[b|0]|I[j|0]<<8)<<16>>16)+(o&8?0:m)|0}g=g-1|0;if(!g){break a}h=h<<1;d=e;f=d+6|0;if(k>>>0>=f>>>0){continue}break}}return m|0}function pi(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=I[H[a>>2]+236|0];H[g>>2]=0;H[f>>2]=0;if(I[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=H[a+4>>2];h=N(h>>16,b>>16);b=d-b|0;H[j+16>>2]=H[j+16>>2]+(h-N(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=H[a+11688>>2];if((e|0)>b<<1){H[f>>2]=c;a=H[a+11692>>2];break a}k=f,l=ib(45875,c),H[k>>2]=l;a=ib(19661,H[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=H[a+11688>>2];if((0-e|0)>b<<1){H[f>>2]=0-c;a=H[a+11692>>2];break a}k=f,l=ib(-45874,c),H[k>>2]=l;a=ib(19661,H[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){H[f>>2]=0;a=H[a+11692>>2]<<1;break a}c=H[a+11688>>2];if((e|0)>(0-(b<<1)|0)){H[f>>2]=c;a=H[a+11692>>2];break a}k=f,l=ib(45875,c),H[k>>2]=l;a=ib(111411,H[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){H[f>>2]=0;a=H[a+11692>>2]<<1;break a}c=H[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){H[f>>2]=0-c;a=H[a+11692>>2];break a}k=f,l=ib(-45874,c),H[k>>2]=l;a=ib(111411,H[a+11692>>2]);break a}H[f>>2]=0;a=0}H[g>>2]=a}}function If(a,b,c,d,e){H[a+8>>2]=c;H[a+4>>2]=b;H[a>>2]=0;b=H[c+16>>2];H[a+64>>2]=163632;F[a+60|0]=0;H[a+56>>2]=65536;F[a+44|0]=0;H[a+36>>2]=0;H[a+40>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+16>>2]=d;H[a+12>>2]=b;d=H[b+140>>2];a:{if(d){break a}while(1){c=H[b+48>>2];if(!c){d=163632;break a}b:{c:{d=Ab(1,4);if(d){Rl(d,c);c=H[b+140>>2];H[b+140>>2]=c?c:d;if(!c){break a}c=H[d>>2];H[65057]=0;fa(579,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break c}hb(d);break b}d=163632;c=H[b+140>>2];H[b+140>>2]=c?c:163632;if(c){break b}break a}ea(0)|0;_()|0;Gb();X()}d=H[b+140>>2];if(!d){continue}break}}b=H[d>>2];b=b?b:163632;c=H[b+12>>2];b=H[b+16>>2];H[a+72>>2]=0;H[a+68>>2]=b>>>0<12?163632:c;if(!(!e|!H[e>>2])){H[e>>2]=H[e>>2]+1}F[a+44|0]=0;c=e;H[a+52>>2]=c;b=H[a+12>>2];d=H[b+32>>2];if((d|0)==-1){d=Hc(b);c=H[a+52>>2]}F[a+60|0]=1;H[a+56>>2]=d;b=H[c+12>>2];H[a+24>>2]=b;c=H[c+16>>2];H[a+48>>2]=0;H[a+40>>2]=0;H[a+20>>2]=0;H[a+32>>2]=1073741823;H[a+28>>2]=b+c;return a}function Jv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=H[a+100>>2];b=H[a+316>>2];if(b){d=H[a+300>>2];if((d|0)>0){while(1){b=(e<<3)+b|0;f=H[b+4>>2];if(f){d=H[f>>2];if(d){Ya[H[c+8>>2]](c,d)}H[H[b+4>>2]>>2]=0;d=H[b+4>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+4>>2]=0;d=H[a+300>>2]}e=e+1|0;if((e|0)<(d|0)){b=H[a+316>>2];continue}break}b=H[a+316>>2]}if(b){Ya[H[c+8>>2]](c,b)}H[a+316>>2]=0}b=H[a+164>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+164>>2]=0;b=H[a+168>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+168>>2]=0;b=H[a+172>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+172>>2]=0;b=H[a+176>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+176>>2]=0;b=H[a+180>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+180>>2]=0;b=H[a+304>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+300>>2]=0;H[a+304>>2]=0;b=H[a+140>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+140>>2]=0;b=H[a+152>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+152>>2]=0;b=H[a+156>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+20>>2]=0;H[a+24>>2]=0;H[a+156>>2]=0;b=H[a+324>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+324>>2]=0;b=H[a+328>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+328>>2]=0}}function Ex(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Wa-16|0;Wa=f;j=H[a+552>>2];a:{b:{g=J[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=H[(b?856:852)+a>>2];k=h+H[(b?756:752)+a>>2]|0;i=H[a+104>>2];if(c>>>0>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=ob(i,g);H[f+12>>2]=g;if(g){break b}m=e,n=yb(i,f+12|0),G[m>>1]=n;if(H[f+12>>2]){break b}m=d,n=yb(i,f+12|0),G[m>>1]=n;if(!H[f+12>>2]){break a}break b}h=h+(g<<2)|0;if(h-2>>>0>k>>>0){break b}h=h-4|0;l=ob(i,h);H[f+12>>2]=l;if(l){break b}m=e,n=yb(i,f+12|0),G[m>>1]=n;if(H[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){G[d>>1]=0;break a}g=ob(i,g+4|0);H[f+12>>2]=g;if(g){G[d>>1]=0;break a}m=d,n=yb(i,f+12|0),G[m>>1]=n;break a}G[d>>1]=0;G[e>>1]=0}if(j){H[f+8>>2]=J[e>>1];H[f+4>>2]=G[d>>1];c:{d:{if(b){b=H[j+12>>2];if(b){Ya[b|0](a,c,f+8|0)|0}b=H[j+16>>2];if(b){break d}break c}b=H[j>>2];if(b){Ya[b|0](a,c,f+8|0)|0}b=H[j+4>>2];if(!b){break c}}Ya[b|0](a,c,f+4|0)|0}G[e>>1]=H[f+8>>2];G[d>>1]=H[f+4>>2]}Wa=f+16|0}function Vg(a){var b=0,c=0,d=0,e=0,f=0;b=H[H[a+4>>2]+96>>2];f=H[b+8>>2];c=H[H[b+12>>2]+68>>2];if(c){Ya[c|0](a)}c=H[a+156>>2];if(!c){H[a+88>>2]=0;return}d=H[c+4>>2];a:{if(d&1){e=H[a+88>>2];if(e){c=H[H[a+4>>2]+100>>2];Ya[H[c+8>>2]](c,e);c=H[a+156>>2];d=H[c+4>>2]}H[a+88>>2]=0;H[c+4>>2]=d&-2;break a}H[a+88>>2]=0}if(!(I[H[b>>2]+1|0]&2)){b=H[c>>2];if(b){c=H[b>>2];d=H[b+24>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+24>>2]=0;d=H[b+28>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+28>>2]=0;d=H[b+32>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+32>>2]=0;d=H[b+40>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+40>>2]=0;d=H[b+52>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+20>>2]=0;H[b+36>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+52>>2]=0;H[b+12>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;H[b+88>>2]=0;d=H[b+24>>2];H[b+56>>2]=H[b+20>>2];H[b+60>>2]=d;e=H[b+32>>2];d=b- -64|0;H[d>>2]=H[b+28>>2];H[d+4>>2]=e;d=H[b+40>>2];H[b+72>>2]=H[b+36>>2];H[b+76>>2]=d;d=H[b+48>>2];H[b+80>>2]=H[b+44>>2];H[b+84>>2]=d;Ya[H[c+8>>2]](c,b);c=H[a+156>>2]}H[c>>2]=0}Ya[H[f+8>>2]](f,c);H[a+156>>2]=0}function mr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=Ab(1,40);if(e){f=H[a+56>>2];k=f-1|0;j=H[a+60>>2];b=H[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=H[N(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(H[(N(d,36)+j|0)+28>>2]){break b}}a=0}F[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=H[b+124992>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=N(b,36)+j|0;i=H[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=H[h+28>>2]}H[g>>2]=a;g=I[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=N(b,36)+j|0;i=H[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=F[h+32|0]&1}F[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}F[e+36|0]=a;return e|0}function fn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=H[a>>2];a:{if(!i){break a}g=i-1|0;d=H[a+8>>2];h=i&3;b:{if(!h){e=i;break b}e=i;while(1){H[d+24>>2]=-1;H[d+16>>2]=H[d+16>>2]&-5;d=d+28|0;e=e-1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(g>>>0<3){break a}while(1){H[d+24>>2]=-1;H[d+52>>2]=-1;H[d+80>>2]=-1;H[d+108>>2]=-1;H[d+16>>2]=H[d+16>>2]&-5;H[d+44>>2]=H[d+44>>2]&-5;H[d+72>>2]=H[d+72>>2]&-5;H[d+100>>2]=H[d+100>>2]&-5;d=d+112|0;e=e-4|0;if(e){continue}break}}if(!b){H[a+4>>2]=0;return}d=0;f=0;e=0;g=0;while(1){if(!d){f=I[c|0];d=128;c=c+1|0}c:{if(!(d&f)){break c}h=H[a+8>>2]+N(e,28)|0;j=H[h+16>>2];if(j&4){break c}H[h+16>>2]=j|4;if(g>>>0>=i>>>0){break c}H[H[a+12>>2]+(g<<2)>>2]=h;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}H[a+4>>2]=g;if((g|0)>=2){c=H[a+12>>2];a=1;while(1){e=H[c+(a<<2)>>2];i=H[e>>2];d=a;while(1){b=d-1|0;f=c+(b<<2)|0;h=H[f>>2];if((i|0)<=H[h>>2]){H[c+(d<<2)>>2]=h;H[f>>2]=e;f=(d|0)>1;d=b;if(f){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function Jx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-16|0;Wa=e;h=H[a+100>>2];H[e+8>>2]=0;c=3;a:{if(!H[a+868>>2]){break a}c=Ya[H[a+516>>2]](a,1129270354,b,e+4|0)|0;H[e+12>>2]=c;b:{if(c){break b}c:{c=H[e+4>>2];if(c>>>0<14){break c}c=Jc(b,c,e+8|0);H[e+12>>2]=c;if(c){break b}c=H[e+8>>2];f=zb(h,24,e+12|0);if(H[e+12>>2]){break b}d=I[c|0]|I[c+1|0]<<8;d=d<<8|d>>>8;G[f>>1]=d;if(d&65535){break c}d=I[c+2|0]|I[c+3|0]<<8;g=d<<8|d>>>8;G[f+2>>1]=g;d=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=H[e+4>>2];if(i>>>0>=d>>>0|d-i>>>0>>0){break c}g=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);c=I[c+12|0]|I[c+13|0]<<8;j=c<<8|c>>>8;G[f+4>>1]=j;c=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(c>>>0>=d>>>0|d-c>>>0<(j&65535)<<2>>>0){break c}b=H[e+8>>2];H[f+20>>2]=d;H[f+16>>2]=b;H[f+12>>2]=b+c;H[f+8>>2]=b+i;H[a+872>>2]=f;c=0;break a}H[e+12>>2]=8}bc(b,e+8|0);if(f){Ya[H[h+8>>2]](h,f)}c=H[e+12>>2]}Wa=e+16|0;return c|0}function Aj(a,b,c,d){var e=0,f=0,g=0,h=0;g=Wa-32|0;Wa=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=d<<4|c>>>28;f=c<<4|b>>>28;c=e;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){e=c+1073741824|0;a=f+1|0;e=a?e:e+1|0;f=a;break a}e=c+1073741824|0;if(b^134217728|a){break a}b=f&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){e=c;c=d<<4|e>>>28;f=e<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Nc(g+16|0,a,b,c,e,h-15233|0);Se(g,a,b,c,e,15361-h|0);e=H[g+4>>2];h=e;a=H[g+8>>2];c=H[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;b=H[g>>2]|(H[g+16>>2]|H[g+24>>2]|(H[g+20>>2]|H[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){a=f+1|0;e=a?e:e+1|0;f=a;break a}if(a^134217728|b){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}Wa=g+32|0;x(0,f|0);x(1,d&-2147483648|e);return+z()}function ce(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=H[b+4>>2];if(f>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0){break a}h=d-a|0;if(h>>>0<2){break a}e=H[b+12>>2];g=e-2|0;H[b+12>>2]=g;c=1;if((g|0)<=0){break a}b:{c:{d:{e:{g=I[a|0]|I[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(h>>>0<6){break a}c=e-8|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-10|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+4|0]|I[a+5|0]<<8;if(!e){break c}a=a+6|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=((e<<8|e>>>8)&65535)<<1;if(d>>>0>>0){break a}a=c-a|0;H[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=N((e<<8|e>>>8)&65535,6);if(d>>>0>>0){break a}a=c-a|0;H[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function Sk(a){a=a|0;var b=0,c=0,d=0,e=0;b=H[a+52>>2];c=H[a+48>>2];if(!(!c|(c|0)==1)){e=(c<<2)+b|0;c=c-1|0;d=b+4|0;while(1){b=H[(c?d:163632)>>2];H[b+12>>2]=0;hb(H[b+16>>2]);H[b+24>>2]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;hb(H[b+28>>2]);H[b+28>>2]=0;H[b+20>>2]=0;H[b+24>>2]=0;b=!!c;c=c-b|0;d=(b<<2)+d|0;if((e|0)!=(d|0)){continue}break}b=H[a+52>>2]}H[a+48>>2]=0;hb(b);H[a+52>>2]=0;H[a+56>>2]=-57005;H[a+44>>2]=0;H[a+48>>2]=0;b=H[a- -64>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+88>>2];if(b){hb(b);H[a+88>>2]=0}H[a+72>>2]=0;H[a+76>>2]=0;b=H[a+40>>2];if(b){while(1){H[a+40>>2]=H[b+32>>2];H[b+12>>2]=0;hb(H[b+16>>2]);H[b+24>>2]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;hb(H[b+28>>2]);H[b+28>>2]=0;H[b+20>>2]=0;H[b+24>>2]=0;b=H[a+40>>2];if(b){continue}break}}H[a+24>>2]=0;c=H[a+36>>2];b=H[a+32>>2];if(b){d=(b<<2)+c|0;while(1){hb(H[(b?c:163632)>>2]);e=!!b;b=b-e|0;c=(e<<2)+c|0;if((d|0)!=(c|0)){continue}break}c=H[a+36>>2]}H[a+32>>2]=0;hb(c);H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0}function OL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{if((a|0)!=24){if((a|0)==293){break e}if((a|0)!=263){break c}Fh(c,263,b);g=b+24|0;break d}g=b+24|0;d=H[g>>2];f:{if(d){d=d-1|0;if(d>>>0>=K[b+32>>2]){d=H[40909];e=H[40908];H[64760]=e;H[64761]=d;x(0,e|0);x(1,d|0);f=+z();break f}f=M[H[b+36>>2]+(d<<3)>>3];break f}F[b+20|0]=1;d=H[40909];e=H[40908];H[64760]=e;H[64761]=d;x(0,e|0);x(1,d|0);f=+z()}g:{if(P(f)<2147483648){d=~~f;break g}d=-2147483648}if((d|0)<0){F[b+20|0]=1;d=0}H[c+24>>2]=d;break d}g=b+24|0;d=H[g>>2];h:{if(d){d=d-1|0;if(d>>>0>=K[b+32>>2]){d=H[40909];e=H[40908];H[64760]=e;H[64761]=d;x(0,e|0);x(1,d|0);f=+z();break h}f=M[H[b+36>>2]+(d<<3)>>3];break h}F[b+20|0]=1;d=H[40909];e=H[40908];H[64760]=e;H[64761]=d;x(0,e|0);x(1,d|0);f=+z()}i:{if(P(f)<2147483648){d=~~f;break i}d=-2147483648}if((d|0)<0){F[b+20|0]=1;d=0}H[c+28>>2]=d}H[g>>2]=0;break b}Ps(a,b,c);if(H[b+24>>2]){break a}}if(I[b+20|0]|(I[b+40|0]|I[b+16|0])|H[b+28>>2]<0){break a}Fh(c,a,b)}}function Hg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;i=Wa-16|0;Wa=i;h=H[a+12>>2];if(h){H[(H[a+20>>2]+(h<<4)|0)-4>>2]=e}a:{b:{c:{k=h+1|0;g=H[a+16>>2];if(k>>>0>g>>>0){H[i+4>>2]=0;j=h+8&-8;e=jb(f,16,g,j,H[a+20>>2],i+4|0);H[a+20>>2]=e;g=H[i+4>>2];if(g){break a}H[a+16>>2]=j;g=(h<<4)+e|0;H[g+12>>2]=0;H[g>>2]=0;H[a+12>>2]=k;break c}e=H[a+20>>2];j=e+(h<<4)|0;H[j+12>>2]=0;H[j>>2]=0;H[a+12>>2]=k;if(k){break c}if(!g){H[i+8>>2]=0;e=jb(f,16,0,8,e,i+8|0);H[a+20>>2]=e;g=H[i+8>>2];if(g){break a}H[a+16>>2]=8}H[e+12>>2]=0;H[e>>2]=0;H[a+12>>2]=1;break b}e=(h<<4)+e|0}a=H[e+4>>2];H[i+12>>2]=0;h=d+7>>>3|0;a=a+7>>>3|0;d:{if(h>>>0<=a>>>0){f=H[e+8>>2];break d}g=a;a=h+7&1073741816;f=jb(f,1,g,a,H[e+8>>2],i+12|0);H[e+8>>2]=f;g=H[i+12>>2];if(g){break a}H[e+4>>2]=a<<3}H[e>>2]=d;g=0;if(!d){break a}b=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){c=I[f|0];F[f|0]=I[b|0]&e?c|a:c&(a^-1);c=a>>>0<2;a=c?128:a>>1;h=e>>>0<2;e=h?128:e>>1;f=c+f|0;b=b+h|0;d=d-1|0;if(d){continue}break}}Wa=i+16|0;return g}function Gg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=b<<3;f=H[a+36>>2];a:{i=H[a+48>>2];g=H[i+4>>2];b:{if((g|0)<(d|0)){break b}j=H[(i+m|0)+4>>2];if((j|0)>(e|0)){break b}h=g;k=H[a+4>>2];g=0-k|0;l=h&g;h=(l|0)<(e|0);c:{if((d|0)>(j|0)){g=d;break c}g=g&(j+k|0)-1;if(j&k-1&65535){d=g;break c}if(I[a+79|0]){F[a+79|0]=0;f=f-4|0}H[f>>2]=H[(b<<3)+i>>2];d=g+k|0;f=f+4|0}if(I[a+78|0]){H[H[a+80>>2]+20>>2]=g>>H[a>>2];F[a+78|0]=0}g=h?l:e;if((g|0)<(d|0)){break b}if(K[a+32>>2]<=((g-d>>H[a>>2]<<2)+f|0)+4>>>0){break a}j=0-b|0;k=b<<3;e=i;while(1){F[a+79|0]=0;b=H[e+4>>2];d:{if((b|0)>(d|0)){h=b;b=e+k|0;l=H[b+4>>2];h=h-l|0;if((h|0)>=H[a+16>>2]){Ya[c|0](e);break d}b=H[b>>2];H[f>>2]=((N(H[e>>2]-b|0,d-l|0)|0)/(h|0)|0)+b;f=f+4|0;d=H[a+4>>2]+d|0;b=(j<<3)+e|0;break d}if((b|0)==(d|0)){F[a+79|0]=1;H[f>>2]=H[e>>2];f=f+4|0;d=H[a+4>>2]+d|0}b=(j<<3)+e|0}e=b;if(i>>>0<=e>>>0&(d|0)<=(g|0)){continue}break}i=H[a+48>>2]}H[a+36>>2]=f;H[a+48>>2]=i-m;return 0}H[a+40>>2]=98;H[a+36>>2]=f;return 1}function ms(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;H[e+12>>2]=a;H[e+8>>2]=0;a:{c=I[b+4|0]|I[b+5|0]<<8;if(!c){H[a+12>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[e+12>>2]=a+12;H[e+8>>2]=0;break a}d=I[b|0]|I[b+1|0]<<8;g=(d<<8|d>>>8)&65535;d=(c<<8|c>>>8)&65535;h=d>>>0>1?d:1;d=b+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>f>>>0?(d+(f<<1)|0)+2|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=163632}Ic(ls(c,e+8|0,g),H[e+12>>2]);f=f+1|0;if((h|0)!=(f|0)){c=I[d|0]|I[d+1|0]<<8;continue}break}c=I[b+4|0]|I[b+5|0]<<8;d=I[b|0]|I[b+1|0]<<8;f=0;H[a+20>>2]=0;H[a+12>>2]=0;H[a+16>>2]=0;H[e+12>>2]=a+12;H[e+8>>2]=0;if(!c){break a}d=(d<<8|d>>>8)&65535;a=(c<<8|c>>>8)&65535;g=a>>>0>1?a:1;a=b+4|0;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>f>>>0?(a+(f<<1)|0)+2|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=163632}ks(c,e+8|0,d);f=f+1|0;if((g|0)==(f|0)){break a}c=I[a|0]|I[a+1|0]<<8;continue}}Wa=e+16|0}function ef(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Wa-16|0;Wa=h;f=H[a>>2];H[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{g=I[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break d}j=125}f=f+1|0;H[h+12>>2]=f;if(b>>>0<=f>>>0){break a}e:{if(d){c=(c|0)>0?c:0;while(1){tc(h+12|0,b);g=H[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(I[g|0]==(j|0)){break c}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Cd(h+12|0,b,e),H[k>>2]=l;f=H[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}while(1){tc(h+12|0,b);g=H[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(I[g|0]==(j|0)){break c}Cd(h+12|0,b,e);f=H[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=f>>>0){break a}tc(h+12|0,b);g=H[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(!I[g|0]){break c}if(!d|(c|0)>0){break b}f=g;break a}f=g+1|0;break a}k=d?d:h+8|0,l=Cd(h+12|0,b,e),H[k>>2]=l;f=H[h+12>>2];i=(g|0)==(f|0)?-1:1}H[a>>2]=f;Wa=h+16|0;return i}function LL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}F[a+24|0]=0;H[a+32>>2]=b;d=H[b+12>>2];H[a+4>>2]=d;e=H[b+16>>2];H[a+8>>2]=e+d;H[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!d){lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b|0}a:{if((e|0)>=32){H[a+12>>2]=c-32;b:{c:{f=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);g=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if((g|0)==65536){break c}d:{if((e&-2)==32|(g|0)!=131072){break d}g=c-34|0;H[a+12>>2]=g;c=I[d+32|0]|I[d+33|0]<<8;if(!c){break c}if(e>>>0<34){break d}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>e-34>>>0){break d}c=g-c|0;H[a+12>>2]=c;if((c|0)>0){break c}}lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if((f|0)==768){break b}break a}lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b|0}lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Yv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=6;f=H[a+532>>2];a:{if(!f){break a}if(!(b|c)){e=H[f>>2];if(!e){return 0}a=H[f+136>>2];b=H[f+140>>2];h=0;if(e-1>>>0>=3){f=e&-4;while(1){c=g<<2;H[c+a>>2]=H[b+c>>2];d=c|4;H[d+a>>2]=H[b+d>>2];d=c|8;H[d+a>>2]=H[b+d>>2];c=c|12;H[c+a>>2]=H[b+c>>2];g=g+4|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=e&3;if(!f){break a}c=0;while(1){e=g<<2;H[e+a>>2]=H[b+e>>2];g=g+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break a}if(!c){break a}k=H[f>>2];h=b>>>0>k>>>0?k:b;b:{if(!h){break b}e=H[f+136>>2];if(h-1>>>0>=3){l=h&-4;while(1){d=g<<2;H[d+e>>2]=H[c+d>>2];j=d|4;H[j+e>>2]=H[c+j>>2];j=d|8;H[j+e>>2]=H[c+j>>2];d=d|12;H[d+e>>2]=H[c+d>>2];g=g+4|0;m=m+4|0;if((l|0)!=(m|0)){continue}break}}d=h&3;if(!d){break b}while(1){l=g<<2;H[l+e>>2]=H[c+l>>2];g=g+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(b>>>0>>0){kb(H[f+136>>2]+(h<<2)|0,0,k-h<<2)}h=0;H[a+8>>2]=H[a+8>>2]&-32769|((b|0)!=0)<<15}return h|0}function Qv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Wa-336|0;Wa=c;h=H[a+100>>2];Ya[H[b+60>>2]](b,c+272|0,4,c+268|0);e=H[c+268>>2];a:{if((e|0)<0){d=162;break a}d=3;if(e-5>>>0<4294967292){break a}i=H[b+8>>2];j=H[b>>2];d=zg(a,0,e);H[c+332>>2]=d;if(d){break a}if(H[c+268>>2]>0){k=H[a+532>>2];a=0;while(1){d=N(a,12);f=d+(c+272|0)|0;H[b>>2]=H[f>>2];H[b+8>>2]=H[f+4>>2];Ya[H[b+60>>2]](b,c+16|0,20,c+12|0);e=H[c+12>>2];if(e-21>>>0<4294967276){d=3;break a}f=d+k|0;if(H[f+92>>2]){d=3;H[c+332>>2]=3;break a}g=jb(h,4,0,e<<1,0,c+332|0);H[f+92>>2]=g;d=H[c+332>>2];if(d){break a}e=H[c+12>>2];F[f+88|0]=e;H[f+96>>2]=g+(e<<2);d=0;if((e|0)>0){while(1){e=(c+16|0)+N(d,12)|0;H[b>>2]=H[e>>2]+1;H[b+8>>2]=H[e+4>>2]-1;e=Ya[H[b+36>>2]](b)|0;g=d<<2;H[g+H[f+92>>2]>>2]=e;e=Ya[H[b+40>>2]](b,0)|0;H[g+H[f+96>>2]>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}f=H[c+332>>2]}H[b+8>>2]=i;H[b>>2]=j;d=f}H[b+12>>2]=d;Wa=c+336|0}function Lm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=H[a+16>>2];f=I[d+12|0]|I[d+13|0]<<8|(I[d+14|0]<<16|I[d+15|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=H[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}l=d+20|0;d=i;b:{c:{while(1){f=d+j>>>1|0;g=N(f,12)+l|0;e=I[g|0]|I[g+1|0]<<8|(I[g+2|0]<<16|I[g+3|0]<<24);k=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=g-4|0;e=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=h>>>0){if(h>>>0<=k>>>0){break c}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break b}d=g;d=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=h-e|0;d=d>>>0>(g^-1)>>>0?0:d+g|0}if(!c){return d}c=H[a>>2];if(h>>>0>k>>>0){g=0;f=f+1|0;if((i|0)==(f|0)){break a}}F[a+24|0]=1;H[a+36>>2]=f;H[a+28>>2]=h;d:{if(!(d>>>0>2]?d:0)){Km(a);d=0;if(!I[a+24|0]){break d}d=H[a+32>>2];break d}H[a+32>>2]=d}g=d;H[b>>2]=H[a+28>>2]}return g}function xj(a,b,c){var d=0,e=0,f=0,g=0;e=Wa-32|0;Wa=e;F[a|0]=0;a:{d=H[H[b>>2]-12>>2]+b|0;b:{if(!H[d+16>>2]){if(H[d+72>>2]){tq(H[(H[H[b>>2]-12>>2]+b|0)+72>>2])}c:{if(!(H[(H[H[b>>2]-12>>2]+b|0)+4>>2]&4096)|c){break c}d=e+24|0;c=H[(H[H[b>>2]-12>>2]+b|0)+28>>2];H[d>>2]=c;H[c+4>>2]=H[c+4>>2]+1;H[65057]=0;g=aa(892,d|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}c=H[e+24>>2];d=H[c+4>>2]-1|0;H[c+4>>2]=d;if((d|0)==-1){Ya[H[H[c>>2]+8>>2]](c)}c=e+16|0;d=H[H[b>>2]-12>>2];H[65057]=0;d=H[(b+d|0)+24>>2];f=H[65057];H[65057]=0;d:{if((f|0)!=1){H[c>>2]=d;break d}ea(0)|0;_()|0;Gb();X()}d=e+8|0;H[d>>2]=0;while(1){e:{if(!ag(c,d)){break e}f=te(c);if((f|0)>=0){f=(J[H[g+8>>2]+((f&255)<<1)>>1]&8192)!=0}else{f=0}if(!f){break e}Re(c);continue}break}if(!Sd(c,d)){break c}$f(H[H[b>>2]-12>>2]+b|0,6)}F[a|0]=!H[(H[H[b>>2]-12>>2]+b|0)+16>>2];break b}$f(d,4)}Wa=e+32|0;return}c=$()|0;_()|0;a=H[e+24>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function mh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){c=H[a>>2];e=c>>31;f=H[b>>2];d=f>>31;e=(c^e)-e|0;d=(d^f)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){d=N(d,e)+32768>>>16|0;break a}g=e&65535;d=N(g,d>>>16|0)+N(d,e>>>16|0)+(N(g,d&65535)+32768>>>16)|0}g=c>>31|1;k=0-g|0;i=(((f|0)<0?k:g)|0)<0?0-d|0:d;f=H[a+4>>2];d=f>>31;h=H[b+4>>2];c=h>>31;d=(d^f)-d|0;c=(c^h)-c|0;b:{if(d+(c>>>8|0)>>>0<=8190){c=N(c,d)+32768>>>16|0;break b}j=d&65535;c=N(j,c>>>16|0)+N(c,d>>>16|0)+(N(j,c&65535)+32768>>>16)|0}f=f>>31|1;l=0-f|0;j=i+((((h|0)<0?l:f)|0)<0?0-c|0:c)|0;h=H[b+8>>2];c=h>>31;c=(c^h)-c|0;c:{if(e+(c>>>8|0)>>>0<=8190){e=N(c,e)+32768>>>16|0;break c}i=e&65535;e=N(i,c>>>16|0)+N(c,e>>>16|0)+(N(i,c&65535)+32768>>>16)|0}c=(((h|0)<0?k:g)|0)<0?0-e|0:e;e=H[b+12>>2];b=e>>31;b=(b^e)-b|0;d:{if(d+(b>>>8|0)>>>0<=8190){b=N(b,d)+32768>>>16|0;break d}g=d&65535;b=N(g,b>>>16|0)+N(b,d>>>16|0)+(N(g,b&65535)+32768>>>16)|0}H[a>>2]=j;H[a+4>>2]=c+((((e|0)<0?l:f)|0)<0?0-b|0:b)}}function kE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=Wa-16|0;Wa=a;H[a+12>>2]=c;H[a+8>>2]=f;H[a+12>>2]=c;H[a+8>>2]=f;b=H[a+12>>2];a:{while(1){if(b>>>0>=d>>>0){c=0;break a}c=2;b=H[b>>2];if(b>>>0>1114111|(b&-2048)==55296){break a}b:{c:{if(b>>>0<=127){c=1;f=H[a+8>>2];if((g-f|0)<=0){break a}H[a+8>>2]=f+1;F[f|0]=b;break c}if(b>>>0<=2047){c=H[a+8>>2];if((g-c|0)<2){break b}H[a+8>>2]=c+1;F[c|0]=b>>>6|192;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b&63|128;break c}c=H[a+8>>2];f=g-c|0;if(b>>>0<=65535){if((f|0)<3){break b}H[a+8>>2]=c+1;F[c|0]=b>>>12|224;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b>>>6&63|128;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b&63|128;break c}if((f|0)<4){break b}H[a+8>>2]=c+1;F[c|0]=b>>>18|240;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b>>>12&63|128;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b>>>6&63|128;c=H[a+8>>2];H[a+8>>2]=c+1;F[c|0]=b&63|128}b=H[a+12>>2]+4|0;H[a+12>>2]=b;continue}break}c=1}H[e>>2]=H[a+12>>2];H[h>>2]=H[a+8>>2];Wa=a+16|0;return c|0}function $c(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(!I[a+61|0]){H[a+64>>2]=b;break b}if(!I[a+60|0]){break a}d=H[a+72>>2];if(d>>>0>>0){if(K[a+76>>2]<=b>>>0){if(!be(a,b)){break a}}e=b-d|0;c=H[a+84>>2];d=H[a+80>>2];c:{if((c|0)!=(d|0)){b=d;break c}f=H[a+72>>2];b=c;if(f+e>>>0<=e+H[a+64>>2]>>>0){break c}b=H[a+88>>2];H[a+84>>2]=b;mb(b,d,N(f,20));c=H[a+84>>2];b=H[a+80>>2]}Yb(N(H[a+72>>2],20)+c|0,b+N(H[a+64>>2],20)|0,N(e,20));H[a+64>>2]=e+H[a+64>>2];H[a+72>>2]=e+H[a+72>>2];break b}if(b>>>0>=d>>>0){break b}e=d-b|0;b=H[a+64>>2];if(e>>>0>b>>>0){f=H[a+68>>2];d=e-b|0;g=f+d|0;if(!(!g|K[a+76>>2]>g>>>0)){if(!be(a,g)){break a}f=H[a+68>>2];b=H[a+64>>2]}c=H[a+80>>2]+N(b,20)|0;Yb(c+N(d,20)|0,c,N(f-b|0,20));b=d+H[a+64>>2]|0;c=H[a+68>>2];if(b>>>0>c>>>0){kb(H[a+80>>2]+N(c,20)|0,0,N(b-c|0,20));c=H[a+68>>2];b=d+H[a+64>>2]|0}H[a+68>>2]=c+d;d=H[a+72>>2]}c=d-e|0;H[a+72>>2]=c;b=b-e|0;H[a+64>>2]=b;Yb(H[a+80>>2]+N(b,20)|0,H[a+84>>2]+N(c,20)|0,N(e,20))}c=1}return c}function kL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Wa-16|0;Wa=g;e=I[a+2|0]|I[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=163632}e=H[b+100>>2];c=Kb(c,H[H[e+80>>2]+N(H[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=163632;d=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}d=0;a=H[31228];H[g+8>>2]=H[31227];H[g+12>>2]=a;a=H[31226];H[g>>2]=H[31225];H[g+4>>2]=a;a=I[e|0]|I[e+1|0]<<8;if(!a){break a}h=(a<<8|a>>>8)&65535;c=e+2|0;while(1){a=I[c|0]|I[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=163632}d=I[a|0]|I[a+1|0]<<8;i=(d<<8|d>>>8)&65535;j=(i<<1)+a|0;d=j+2|0;f=I[d|0]|I[d+1|0]<<8;k=(f<<8|f>>>8)&65535;d=(f?k<<1:2)+d|0;f=I[d|0]|I[d+1|0]<<8;l=(f<<8|f>>>8)&65535;f=(l<<1)+d|0;m=I[f+2|0]|I[f+3|0]<<8;d=Dh(b,i,a+2|0,k,j+4|0,l,d+2|0,(m<<8|m>>>8)&65535,f+4|0,g);if(d){break a}c=c+2|0;h=h-1|0;if(h){continue}break}}Wa=g+16|0;return d|0}function so(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=H[b+8>>2];d=g>>31;f=G[a+70>>1];c=f>>15;d=(d^g)-d|0;h=d>>>8|0;c=(c^f)-c&65535;a:{if(h+c>>>0<=8190){e=N(c,d)+32768>>>16|0;break a}e=N(c,d>>>16|0)+(N(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;H[b+12>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)+63&-64;f=G[a+72>>1];c=f>>15;c=(c^f)-c&65535;b:{if(c+h>>>0<=8190){e=N(c,d)+32768>>>16|0;break b}e=N(c,d>>>16|0)+(N(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;H[b+16>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)&-64;f=G[a+74>>1];c=f>>15;c=(c^f)-c&65535;c:{if(c+h>>>0<=8190){c=N(c,d)+32768>>>16|0;break c}c=N(c,d>>>16|0)+(N(c,d&65535)+32768>>>16|0)|0}d=c;e=0-d|0;d=f>>31|1;H[b+20>>2]=((((g|0)<0?0-d|0:d)|0)<0?e:c)+32&-64;g=G[a+76>>1];d=g>>15;c=H[b+4>>2];a=c>>31;d=(d^g)-d&65535;a=(a^c)-a|0;d:{if(d+(a>>>8|0)>>>0<=8190){e=N(a,d)+32768>>>16|0;break d}e=N(d,a>>>16|0)+(N(d,a&65535)+32768>>>16|0)|0}a=e;d=0-a|0;a=g>>31|1;H[b+24>>2]=((((c|0)<0?0-a|0:a)|0)<0?d:e)+32&-64}function fi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Wa-16|0;Wa=g;a:{if(F[a+372|0]&1){i=H[a+52>>2];j=H[a+48>>2];k=J[a+46>>1];h=J[a+44>>1];l=H[a+36>>2];m=H[a+40>>2];f=a- -64|0;n=H[f+4>>2];H[g+8>>2]=H[f>>2];H[g+12>>2]=n;f=H[a+60>>2];H[g>>2]=H[a+56>>2];H[g+4>>2]=f;f=a+290|0;break a}i=H[a+88>>2];j=H[a+84>>2];k=J[a+82>>1];h=J[a+80>>1];l=H[a+72>>2];m=H[a+76>>2];f=H[a+104>>2];H[g+8>>2]=H[a+100>>2];H[g+12>>2]=f;f=H[a+96>>2];H[g>>2]=H[a+92>>2];H[g+4>>2]=f;f=a+292|0}f=J[f>>1];b:{if(f>>>0>=h>>>0){if(I[a+565|0]){H[a+12>>2]=134}G[e>>1]=0;a=1;break b}H[d+16>>2]=i;H[d+12>>2]=j;G[d+10>>1]=k;G[d+8>>1]=h;H[d>>2]=l;H[d+4>>2]=m;h=H[g+4>>2];H[d+20>>2]=H[g>>2];H[d+24>>2]=h;h=H[g+12>>2];H[d+28>>2]=H[g+8>>2];H[d+32>>2]=h;G[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Ya[H[a+576>>2]](a,H[d>>2]-H[b>>2]|0,H[d+4>>2]-H[b+4>>2]|0)|0;o=e,p=sb(b,G[a+302>>1],H[a+568>>2]),H[o>>2]=p;o=c,p=sb(b,G[a+304>>1],H[a+568>>2]),H[o>>2]=p;a=0}Wa=g+16|0;return a}function tk(a,b,c){var d=0,e=0;d=H[b+92>>2];if(d){d=H[d+4>>2]==1937337698}else{d=0}e=Ab(1,1064);if(e){F[e+33|0]=c;F[e+32|0]=d;H[e+24>>2]=b;H[e+28>>2]=2;d=0;b=e+40|0;while(1){c=d<<2;H[c+b>>2]=-1;H[b+(c|4)>>2]=-1;H[b+(c|8)>>2]=-1;H[b+(c|12)>>2]=-1;H[b+(c|16)>>2]=-1;H[b+(c|20)>>2]=-1;H[b+(c|24)>>2]=-1;H[b+(c|28)>>2]=-1;d=d+8|0;if((d|0)!=256){continue}break}while(1){a:{b=H[64755];if(b){break a}b=Kk();Ik(b,623);Hk(b,624);Gk(b,625);Jk(b,626);Fk(b,627);if(H[b+4>>2]){c=H[b+108>>2];if(c){Ya[c|0](H[b+36>>2])}H[b+108>>2]=0;H[b+180>>2]=628;H[b+36>>2]=0}Ek(b,629);if(H[b+4>>2]){c=H[b+128>>2];if(c){Ya[c|0](H[b+56>>2])}H[b+128>>2]=0;H[b+200>>2]=630;H[b+56>>2]=0}Dk(b,631);if(H[b+4>>2]){c=H[b+140>>2];if(c){Ya[c|0](H[b+68>>2])}H[b+140>>2]=0;H[b+212>>2]=632;H[b+68>>2]=0}Ck(b,633);Bk(b,634);zk(b,635);if(H[b+4>>2]){H[b+4>>2]=0}c=H[64755];b=b?b:258392;H[64755]=c?c:b;if(!c){break a}if(!b|(b|0)==258392){continue}tg(b);continue}break}xk(a,b,e,622)}}function nm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Wa-16|0;Wa=c;d=H[a+104>>2];g=H[d+28>>2];e=H[a+736>>2];F[e+24|0]=1;a:{if(Ya[H[a+516>>2]](a,1635148146,d,c+8|0)|0){break a}a=Nb(d,H[c+8>>2]);H[c+12>>2]=a;if(a){break a}a=uc(d);f=uc(d);b:{if((a|0)!=65536|(f|0)!=H[H[e+12>>2]>>2]){break b}a=jb(g,8,0,f,0,c+12|0);H[e+28>>2]=a;if(H[c+12>>2]|(f|0)<=0){break b}while(1){c:{b=Rb(d);G[a>>1]=b;if(K[c+8>>2]>>0){break c}k=a,l=jb(g,8,0,b,0,c+12|0),H[k+4>>2]=l;if(H[c+12>>2]){break c}b=0;if(J[a>>1]){while(1){i=Rb(d);j=b<<3;H[j+H[a+4>>2]>>2]=i<<16>>16<<2;i=Rb(d);H[(H[a+4>>2]+j|0)+4>>2]=i<<16>>16<<2;b=b+1|0;if(b>>>0>1]){continue}break}}a=a+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break b}break}d:{if(!h){a=H[e+28>>2];break d}a=H[e+28>>2];while(1){f=h-1|0;b=f<<3;a=H[(b+a|0)+4>>2];if(a){Ya[H[g+8>>2]](g,a)}a=H[e+28>>2];H[(b+a|0)+4>>2]=0;b=(h|0)>1;h=f;if(b){continue}break}}if(a){Ya[H[g+8>>2]](g,a)}H[e+28>>2]=0}Db(d)}Wa=c+16|0}function $s(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:163632;a:{if(I[d|0]){break a}e=I[d+2|0]|I[d+3|0]<<8;if(!e){break a}g=I[d+1|0];h=g>>>4&3;f=h+1|0;e=(e<<8|e>>>8)&65535;d=d+N(f,b>>>0>>0?b:e-1|0)|0;b=I[d+4|0];b:{if(!h){break b}b=I[d+5|0]|b<<8;if((f|0)==2){break b}b=I[d+6|0]|b<<8;if((f|0)==3){break b}b=I[d+7|0]|b<<8}d=(g&15)+1|0;b=b>>>d<<16|(-1<>>8&65280|a>>>24);a=a?d+a|0:163632;d=I[a+6|0]|I[a+7|0]<<8;e=(d<<8|d>>>8)&65535;d=b>>>16|0;if(e>>>0<=d>>>0){return O(0)}d=a+(d<<2)|0;d=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=d?d+a|0:163632;d=a;a=I[a+2|0]|I[a+3|0]<<8|(I[a+4|0]<<16|I[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return mg(e,b&65535,H[c+72>>2],H[c+68>>2],a?d+a|0:163632)}function qr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Wa-16|0;Wa=g;e=I[b+2|0]|I[b+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+b|0}else{c=163632}e=H[a+100>>2];c=Kb(c,H[H[e+80>>2]+N(H[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=163632;d=I[b+4|0]|I[b+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+b|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+b|0}d=0;b=H[31228];H[g+8>>2]=H[31227];H[g+12>>2]=b;b=H[31226];H[g>>2]=H[31225];H[g+4>>2]=b;b=I[e|0]|I[e+1|0]<<8;if(!b){break a}h=(b<<8|b>>>8)&65535;c=e+2|0;while(1){b=I[c|0]|I[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=163632}d=I[b|0]|I[b+1|0]<<8;i=(d<<8|d>>>8)&65535;j=(i<<1)+b|0;d=j+2|0;f=I[d|0]|I[d+1|0]<<8;k=(f<<8|f>>>8)&65535;d=(f?k<<1:2)+d|0;f=I[d|0]|I[d+1|0]<<8;l=(f<<8|f>>>8)&65535;f=(l<<1)+d|0;m=I[f+2|0]|I[f+3|0]<<8;d=Dh(a,i,b+2|0,k,j+4|0,l,d+2|0,(m<<8|m>>>8)&65535,f+4|0,g);if(d){break a}c=c+2|0;h=h-1|0;if(h){continue}break}}Wa=g+16|0;return d}function hI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-16|0;Wa=e;a:{b:{if((b|0)!=-1){g=H[a+12>>2];h=H[a+8>>2];if(H[a+24>>2]==H[a+28>>2]){c=-1;if(!(I[a+48|0]&16)){break a}i=H[a+24>>2];f=H[a+20>>2];j=H[a+44>>2];H[65057]=0;d=a+32|0;da(905,d|0,0);c=H[65057];H[65057]=0;if((c|0)==1){break b}c=I[d+11|0]>>>7|0?(H[d+8>>2]&2147483647)-1|0:10;H[65057]=0;da(906,d|0,c|0);c=H[65057];H[65057]=0;if((c|0)==1){break b}if(I[d+11|0]>>>7|0){c=H[d>>2]}else{c=d}if(I[d+11|0]>>>7|0){d=H[d+4>>2]}else{d=I[d+11|0]}H[a+28>>2]=d+c;H[a+20>>2]=c;H[a+24>>2]=c;H[a+24>>2]=H[a+24>>2]+(i-f|0);H[a+44>>2]=H[a+20>>2]+(j-f|0)}H[e+12>>2]=H[a+24>>2]+1;c=Wa-16|0;Wa=c;Wa=c+16|0;c=a+44|0;d=e+12|0;H[a+44>>2]=H[(K[d>>2]>2]?c:d)>>2];if(I[a+48|0]&8){c=a+32|0;if(I[c+11|0]>>>7|0){c=H[c>>2]}H[a+16>>2]=H[a+44>>2];H[a+12>>2]=c+(g-h|0);H[a+8>>2]=c}c=pq(a,b<<24>>24);break a}c=(b|0)==-1?0:b;break a}a=ea(0)|0;_()|0;oa(a|0)|0;pa();c=-1}Wa=e+16|0;return c|0}function oz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(K[b+160>>2]>>0){Cb(b,8)}c=I[a+3|0]|I[a+2|0]<<8;i=c+a|0;if(!(c>>>0>=518&K[b+160>>2]>=i>>>0)){Cb(b,8)}c=a+6|0;while(1){d=I[c+1|0];f=d|I[c|0]<<8;if(!(!(d&7)|H[b+164>>2]<2)){Cb(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>K[b+160>>2]){Cb(b,8)}a=0;while(1){d=c+8|0;f=I[c+3|0]|I[c+2|0]<<8;a:{if(!f){c=d;break a}e=I[c+7|0]|I[c+6|0]<<8;k=I[c+4|0];l=I[c+5|0];h=I[c|0];m=I[c+1|0];b:{if(H[b+164>>2]<2){break b}h=h<<8|m;if(h>>>0<=255&f>>>0<=256-h>>>0){break b}Cb(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e>>>0>=j>>>0&e+(f<<1)>>>0<=i>>>0)){Cb(b,9)}if(H[b+164>>2]<=0){c=d;break a}e=k<<8|l;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=I[d+1|0]|I[d|0]<<8;if(!(!d|K[b+172>>2]>(d+e&65535)>>>0)){Cb(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function Lg(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=H[a+100>>2];b=H[a+292>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+292>>2]=0;b=H[a+308>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+308>>2]=0;b=H[a+284>>2];if(b){if(H[a+280>>2]>0){while(1){b:{if(!b){break b}b=N(e,12)+b|0;d=H[b>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b>>2]=0;if(!I[b+4|0]){break b}d=H[b+8>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+8>>2]=0}e=e+1|0;if((e|0)>2]){b=H[a+284>>2];continue}break}b=H[a+284>>2]}if(b){Ya[H[c+8>>2]](c,b)}H[a+284>>2]=0}b=H[a+192>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+192>>2]=0;b=H[a+20>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+20>>2]=0;b=H[a+24>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+24>>2]=0;b=H[a+32>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+32>>2]=0;b=H[a+176>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+176>>2]=0;b=H[a+180>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+180>>2]=0;c=H[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=H[c+24>>2];if(!b){break c}Ya[b|0](c)}H[a+104>>2]=H[a+172>>2]}}function Kb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=I[a+2|0]|I[a+3|0]<<8;if(!c){break a}c=((c<<8|c>>>8)&65535)-1|0;while(1){d=c+e|0;f=d>>>1|0;d=(d&-2)+a|0;d=I[d+4|0]|I[d+5|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){c=f-1|0;break d}if((b|0)==(d|0)){break a}e=f+1|0}if((c|0)>=(e|0)){continue}break}return-1}d=164024;c=I[a+2|0]|I[a+3|0]<<8;e:{if(!c){break e}c=((c<<8|c>>>8)&65535)-1|0;while(1){h=c+e>>>1|0;i=N(h,6)+a|0;g=i+4|0;g=I[g|0]|I[g+1|0]<<8;f:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=I[i+6|0]|I[i+7|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=h+1|0;break f}d=(N(h,6)+a|0)+4|0;break e}c=h-1|0}if((c|0)>=(e|0)){continue}break}}a=I[d+2|0]|I[d+3|0]<<8;c=(a<<8|a>>>8)&65535;a=I[d|0]|I[d+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=I[d+4|0]|I[d+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function Dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Wa+-64|0;Wa=e;H[e+60>>2]=0;h=b+108|0;g=H[a+8>>2];a:{b:{c:{d:{if(H[b+72>>2]!=H[a+16>>2]){H[e+60>>2]=6;break d}i=19;if((c|0)!=2){break a}if(F[H[b+156>>2]+4|0]&1){c=H[b+88>>2];if(c){Ya[H[g+8>>2]](g,c)}H[b+88>>2]=0;c=H[b+156>>2];H[c+4>>2]=H[c+4>>2]&-2}if(tj(b,2,d)){H[e+60>>2]=98;break d}j=b,k=jb(g,H[b+84>>2],0,H[b+76>>2],0,e+60|0),H[j+88>>2]=k;c=0;if(H[e+60>>2]){break c}c=H[b+156>>2];H[c+4>>2]=H[c+4>>2]|1;f=H[b+76>>2]-H[b+104>>2]<<6;c=0-(H[b+100>>2]<<6)|0;if(d){f=H[d+4>>2]+f|0;c=H[d>>2]+c|0}if(c|f){yc(h,c,f)}H[e+16>>2]=0;H[e+12>>2]=h;H[e+8>>2]=b+76;a=Ya[H[a+56>>2]](H[a+52>>2],e+8|0)|0;H[e+60>>2]=a;if(a){break c}H[b+72>>2]=1651078259;break b}c=0}if(!(F[H[b+156>>2]+4|0]&1)){break b}a=H[b+88>>2];if(a){Ya[H[g+8>>2]](g,a)}H[b+88>>2]=0;a=H[b+156>>2];H[a+4>>2]=H[a+4>>2]&-2}if(c|f){yc(h,0-c|0,0-f|0)}i=H[e+60>>2]}a=i;Wa=e- -64|0;return a|0}function Jt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a=H[b+24>>2];H[65057]=0;a=ca(637,a|0,c|0)|0;e=H[65057];H[65057]=0;a:{if((e|0)==1){break a}b:{c:{d:{if(a){break d}if(!(!I[b+32|0]|c>>>0>255)){a=H[b+24>>2];H[65057]=0;a=ca(637,a|0,c+61440|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break a}if(a){break d}}e=H[b+24>>2];e:{if(!e){break e}a=H[e+92>>2];if(!a){break e}h=H[a+4>>2]}if(H[e+36>>2]>0){while(1){b=0;a=H[H[e+40>>2]+(f<<2)>>2];if(!J[a+10>>1]){b=J[a+8>>1]==3}H[65057]=0;a=ca(638,e|0,a|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break b}if(!a){H[65057]=0;a=ca(637,e|0,c|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break b}if(!(!b|a)){H[65057]=0;a=ca(637,e|0,61440)|0;b=H[65057];H[65057]=0;if((b|0)==1){break b}}if(a){break d}}f=f+1|0;if((f|0)>2]){continue}break}}a=0;H[65057]=0;ie(e,h);c=H[65057];H[65057]=0;if((c|0)==1){break a}break c}H[d>>2]=a;a=1}Tb();return a|0}}a=$()|0;_()|0;Tb();ba(a|0);X()}function pv(a){a=a|0;var b=0,c=0;if(a){c=H[a+100>>2];b=H[a+504>>2];if(b){Qg(b)}b=H[a+132>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+132>>2]=0;b=H[a+136>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+136>>2]=0;b=H[a+140>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+140>>2]=0;b=H[a+144>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+144>>2]=0;b=H[a+148>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+148>>2]=0;b=H[a+432>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+432>>2]=0;b=H[a+428>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+428>>2]=0;b=H[a+424>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+424>>2]=0;b=H[a+396>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+396>>2]=0;b=H[a+400>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+400>>2]=0;b=H[a+384>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+384>>2]=0;b=H[a+388>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+388>>2]=0;b=H[a+364>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+364>>2]=0;b=H[a+496>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+496>>2]=0;b=H[a+560>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+556>>2]=0;H[a+560>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0}}function gk(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a+52>>2];a:{if((d|0)!=163632){if(K[a+216>>2]<=b>>>0){break a}b:{switch(I[d|0]){case 0:if(!b){break a}a=(d+(b<<1)|0)-1|0;a=I[a|0]|I[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b){break a}c=d+1|0;a=0;b=b-1|0;d=I[d+3|0];if(b>>>0>d>>>0){while(1){b=(d^-1)+b|0;a=a+1|0;d=I[(c+N(a,3)|0)+2|0];if(b>>>0>d>>>0){continue}break}}a=c+N(a,3)|0;a=I[a|0]|I[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b){break a}a=0;b=b-1|0;c=I[d+3|0]|I[d+4|0]<<8;c=(c<<8|c>>>8)&65535;if(b>>>0>c>>>0){while(1){b=(c^-1)+b|0;a=a+1|0;c=d+(a<<2)|0;c=I[c+3|0]|I[c+4|0]<<8;c=(c<<8|c>>>8)&65535;if(b>>>0>c>>>0){continue}break}}a=d+(a<<2)|0;a=I[a+1|0]|I[a+2|0]<<8;return((a<<8|a>>>8)&65535)+b|0}c:{switch(H[a+172>>2]){case 0:return(b>>>0<229?b:0)|0;case 1:return(b>>>0<=165?J[(b<<1)+107280>>1]:0)|0;case 2:break c;default:break a}}c=b>>>0<=86?J[(b<<1)+107616>>1]:0}return c|0}function gi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=H[a>>2];a:{if(I[b+732|0]){break a}F[a+112|0]=0;c=H[a+16>>2];d=H[a+12>>2];H[a+48>>2]=d;H[a+52>>2]=c;c=H[a+24>>2];H[a+56>>2]=H[a+20>>2];H[a+60>>2]=c;e=H[a+32>>2];c=a- -64|0;H[c>>2]=H[a+28>>2];H[c+4>>2]=e;H[a+72>>2]=H[a+36>>2];e=151;if(!(d&65535)|!J[a+50>>1]){break a}if(I[b+176|0]&8){f=a,g=ib(G[b+70>>1],H[a+56>>2])+32&-64,H[f+60>>2]=g;f=a- -64|0,g=ib(G[b+72>>1],H[a+56>>2])+32&-64,H[f>>2]=g;f=a,g=ib(G[b+74>>1],H[a+56>>2])+32&-64,H[f+68>>2]=g}F[a+112|0]=1;e=0;if(I[b+176|0]&8){f=a,g=pb(J[a+48>>1]<<6,J[b+68>>1]),H[f+52>>2]=g;f=a,g=pb(J[a+50>>1]<<6,J[b+68>>1]),H[f+56>>2]=g;f=a,g=ib(G[b+76>>1],H[a+52>>2])+32&-64,H[f+72>>2]=g}d=a+48|0;b=J[a+50>>1];c=J[a+48>>1];b:{if(b>>>0<=c>>>0){H[a+76>>2]=65536;G[a+84>>1]=c;H[a+92>>2]=H[a+52>>2];b=pb(b,c);break b}G[a+84>>1]=b;H[a+92>>2]=H[a+56>>2];f=a,g=pb(c,b),H[f+76>>2]=g;b=65536}H[a+308>>2]=-1;H[a+44>>2]=d;H[a+80>>2]=b}return e}function bM(a,b,c){a=a|0;b=b|0;c=c|0;var d=O(0),e=0,f=0,g=0,h=0,i=O(0);i=L[a+8>>2];d=L[a>>2];if(L[a+4>>2]>=L[a+12>>2]?1:i<=d){H[c>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;return}g=H[b+20>>2];e=H[b+16>>2];f=H[e+28>>2];if(f){h=g}else{f=vb(e);e=H[b+16>>2];i=L[a+8>>2];h=H[b+20>>2]}d=O(T(O(O(O(d*O(g|0))/O(f>>>0))+O(.5))));a:{if(O(P(d))>2]=g;f=H[e+28>>2];if(!f){f=vb(e);e=H[b+16>>2];g=H[c>>2]}d=O(T(O(O(O(i*O(h|0))/O(f>>>0))+O(.5))));b:{if(O(P(d))>2]=h-g;g=H[b+24>>2];d=L[a+12>>2];f=H[e+28>>2];if(f){h=g}else{f=vb(e);e=H[b+16>>2];h=H[b+24>>2]}d=O(T(O(O(O(d*O(g|0))/O(f>>>0))+O(.5))));c:{if(O(P(d))>2]=b;d=L[a+4>>2];a=H[e+28>>2];if(!a){a=vb(e);b=H[c+4>>2]}d=O(T(O(O(O(d*O(h|0))/O(a>>>0))+O(.5))));d:{if(O(P(d))>2]=a-b}function sm(a,b){var c=0,d=0,e=0,f=0,g=0;e=H[a>>2];if(H[a+248>>2]){d=H[a+92>>2]>>6;while(1){f=c<<2;g=ib(H[f+H[e+704>>2]>>2],d);H[f+H[a+252>>2]>>2]=g;c=c+1|0;if(c>>>0>2]){continue}break}}c=H[a+300>>2];d=hi(c,e,a);if(!d){F[c+565|0]=b;F[c+492|0]=0;H[c+16>>2]=0;H[c+432>>2]=0;f=H[e+696>>2];b=H[e+692>>2];H[c+464>>2]=0;H[c+468>>2]=0;H[c+460>>2]=b;H[c+456>>2]=f;d=0;if(b){H[c+368>>2]=b;H[c+360>>2]=f;H[c+364>>2]=0;H[c+356>>2]=2;d=Ya[H[e+708>>2]](c)|0}H[a+308>>2]=d;G[c+304>>1]=0;G[c+296>>1]=0;G[c+298>>1]=16384;G[c+300>>1]=0;G[c+302>>1]=16384;H[c+288>>2]=0;H[c+292>>2]=1073741824;G[c+352>>1]=1;H[c+348>>2]=65537;H[c+308>>2]=1;mb(a+180|0,c+288|0,68);H[a+124>>2]=H[c+400>>2];H[a+136>>2]=H[c+412>>2];H[a+148>>2]=H[c+424>>2];H[a+152>>2]=H[c+428>>2];b=H[c+452>>2];H[a+156>>2]=H[c+448>>2];H[a+160>>2]=b;b=H[c+460>>2];H[a+164>>2]=H[c+456>>2];H[a+168>>2]=b;b=H[c+468>>2];H[a+172>>2]=H[c+464>>2];H[a+176>>2]=b}return d}function WF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-16|0;Wa=e;if(I[a+11|0]>>>7|0){g=H[a+4>>2]}else{g=I[a+11|0]}d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:1;h=c-b>>2;a:{if(!h){break a}b:{if(I[a+11|0]>>>7|0){f=H[a>>2]}else{f=a}j=f>>>0<=b>>>0;if(I[a+11|0]>>>7|0){f=H[a>>2]}else{f=a}if(I[a+11|0]>>>7|0){i=H[a+4>>2]}else{i=I[a+11|0]}if(!(j&f+(i<<2)>>>0>=b>>>0)){if(d-g>>>0>>0){to(a,d,(g+h|0)-d|0,g,g)}if(I[a+11|0]>>>7|0){f=H[a>>2]}else{f=a}d=f+(g<<2)|0;while(1){if((b|0)==(c|0)){break b}H[d>>2]=H[b>>2];b=b+4|0;d=d+4|0;continue}}d=Wa-16|0;Wa=d;Jp(e,b,c);Wa=d+16|0;b=e;c:{if(I[b+11|0]>>>7|0){c=H[b>>2];break c}c=b}if(I[b+11|0]>>>7|0){b=H[e+4>>2]}else{b=I[e+11|0]}H[65057]=0;ka(1056,a|0,c|0,b|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){Sb(e);break a}a=$()|0;_()|0;Sb(e);ba(a|0);X()}H[e>>2]=0;H[d>>2]=H[e>>2];b=g+h|0;d:{if(I[a+11|0]>>>7|0){H[a+4>>2]=b;break d}F[a+11|0]=b}}Wa=e+16|0;return a|0}function Mh(a){var b=0,c=0,d=0;a:{b:{c:{if(a>>>0<=65535){d:{e:{f:{g:{h:{i:{j:{k:{l:{b=a>>>8|0;switch(b|0){case 6:break i;case 3:break j;case 0:break k;case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break b;case 32:break f;case 24:break g;case 23:break h;default:break l}}switch(b-254|0){case 1:break d;case 0:break e;default:break b}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}b=a-8203|0;if(b>>>0<36){break c}break a}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}m:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break m}else{break b}}return a-119155>>>0<8}return(a&-4096)==917504}d=1;c=b&31;if(!(((b&63)>>>0>=32?15>>>c|0:((1<>>c)&1)){break a}}return d}return(a&-16)==8288}function fs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Wa-16|0;Wa=g;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=H[b+12>>2];d=e-4|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break a}i=e-6|0;H[b+12>>2]=i;if((i|0)<=0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(e){d=a+4|0;if(h>>>0>d>>>0|d>>>0>f>>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=i-d|0;H[b+12>>2]=d;if((d|0)<=0){break a}}e=I[a|0]|I[a+1|0]<<8;b:{if(!e){break b}H[g+12>>2]=c?H[c>>2]:0;if(!es(a,b,a,g+12|0)){break a}if(!c|(I[a|0]|I[a+1|0]<<8)|H[c>>2]!=1936292453){break b}d=H[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=H[b+28>>2];if(d>>>0>31){break b}H[b+28>>2]=d+1;if(!I[b+24|0]){break b}d=e<<8|(e&65280)>>>8;F[a|0]=d;F[a+1|0]=d>>>8;H[g+8>>2]=H[c>>2];if(!es(a,b,a,g+8|0)){break a}}j=1}Wa=g+16|0;return j}function ee(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[b>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;tc(a,H[a+8>>2]);c=H[a>>2];H[d+12>>2]=c;f=H[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=I[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}H[b>>2]=c;H[b+8>>2]=2;if(ri(d+12|0,f)){break e}break d}H[b>>2]=c;H[b+8>>2]=3;if(!yn(d+12|0,f)){break d}break e}H[b>>2]=c;H[b+8>>2]=3;H[a>>2]=c+1;tc(a,f);c=H[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(H[a+12>>2]){break h}i:{j:{switch(I[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;H[d+12>>2]=c;H[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}si(a);tc(a,H[a+8>>2]);c=H[a>>2];if(f>>>0>c>>>0){continue}break}}H[d+12>>2]=c;break e}H[b>>2]=c;H[b+8>>2]=I[c|0]==47?4:1;si(a);c=H[a>>2];H[d+12>>2]=c;if(!H[a+12>>2]){break c}}c=H[b+4>>2];break b}c=H[d+12>>2]}H[b+4>>2]=c}if(c){break a}H[b+8>>2]=0;H[b>>2]=0}H[a>>2]=H[d+12>>2]}Wa=d+16|0}function ZF(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;k=Wa-16|0;Wa=k;a:{if(a){a=dp(b);Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[c|0]=b;F[c+1|0]=b>>>8;F[c+2|0]=b>>>16;F[c+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);Fd(i,k);Sb(k);Ya[H[H[a>>2]+28>>2]](k,a);Fd(h,k);Sb(k);l=d,m=Ya[H[H[a>>2]+12>>2]](a)|0,H[l>>2]=m;l=e,m=Ya[H[H[a>>2]+16>>2]](a)|0,H[l>>2]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(f,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Fd(g,k);Sb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0;break a}a=cp(b);Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[c|0]=b;F[c+1|0]=b>>>8;F[c+2|0]=b>>>16;F[c+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);Fd(i,k);Sb(k);Ya[H[H[a>>2]+28>>2]](k,a);Fd(h,k);Sb(k);l=d,m=Ya[H[H[a>>2]+12>>2]](a)|0,H[l>>2]=m;l=e,m=Ya[H[H[a>>2]+16>>2]](a)|0,H[l>>2]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(f,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Fd(g,k);Sb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0}H[j>>2]=a;Wa=k+16|0}function hd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=6;a:{if(!a|!c){break a}g=H[c>>2];if(!g){break a}i=H[g+100>>2];h=H[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=Ya[H[i+4>>2]](i,h)|0;if(!e){e=64;break b}f=kb(e,0,h)}e=H[c+4>>2];H[f>>2]=H[c>>2];H[f+4>>2]=e;H[f+8>>2]=H[c+8>>2];H[f+12>>2]=a;d:{a=H[a+4>>2];if(a){e=Ya[a|0](f,b)|0;if(e){break d}}a=H[g+36>>2];b=a+1|0;if((a|b)<0){e=6;break d}h=H[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}Ya[H[i+8>>2]](i,h);H[g+40>>2]=0;break e}e=10;if((a|0)>536870910){break d}h:{if(!a){c=Ya[H[i+4>>2]](i,b<<2)|0;e=!c<<6;break h}b=Ya[H[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;e=!b<<6}if(e|!c){break f}a=(a<<2)+c|0;F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0}H[g+40>>2]=c;break e}H[g+40>>2]=c;if(e){break d}}a=H[g+36>>2];H[g+36>>2]=a+1;H[(a<<2)+c>>2]=f;e=0;break b}a=H[H[f>>2]+100>>2];b=H[H[f+12>>2]+8>>2];if(b){Ya[b|0](f)}Ya[H[a+8>>2]](a,f);f=0}if(!d){break a}H[d>>2]=f}return e}function JA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=H[a+28>>2];if(I[d+44|0]){break b}c=nn(d,H[b>>2],H[b+4>>2]);if(!c){break b}a=H[a+24>>2];if(H[a>>2]){break a}H[a>>2]=c;return}c:{c=H[d+12>>2];if((G[c+22>>1]+G[c+58>>1]|0)+3>>>0<=K[c+4>>2]){break c}c=vc(c,3,0);if(!c){break c}a=H[a+24>>2];if(H[a>>2]){break a}H[a>>2]=c;return}a=H[d+20>>2];d:{e:{f:{if(!I[d+45|0]){G[a+2>>1]=J[a+2>>1]+1;break f}c=H[a+8>>2];e=H[b+8>>2];f=G[a+2>>1];g=H[a+4>>2]+(f<<3)|0;H[g+4>>2]=H[b+12>>2]>>10;H[g>>2]=e>>10;F[c+f|0]=2;e=I[d+45|0];c=H[d+20>>2];G[a+2>>1]=J[a+2>>1]+1;if(e){break e}a=c}G[a+2>>1]=J[a+2>>1]+1;break d}a=H[c+8>>2];e=H[b+16>>2];f=G[c+2>>1];g=H[c+4>>2]+(f<<3)|0;H[g+4>>2]=H[b+20>>2]>>10;H[g>>2]=e>>10;F[a+f|0]=2;e=I[d+45|0];a=H[d+20>>2];G[c+2>>1]=J[c+2>>1]+1;if(!e){break d}c=H[a+8>>2];d=H[b+24>>2];e=G[a+2>>1];f=H[a+4>>2]+(e<<3)|0;H[f+4>>2]=H[b+28>>2]>>10;H[f>>2]=d>>10;F[c+e|0]=1}G[a+2>>1]=J[a+2>>1]+1}}function eG(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;k=Wa-16|0;Wa=k;a:{if(a){a=ip(b);Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[c|0]=b;F[c+1|0]=b>>>8;F[c+2|0]=b>>>16;F[c+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);Mc(i,k);nb(k);Ya[H[H[a>>2]+28>>2]](k,a);Mc(h,k);nb(k);l=d,m=Ya[H[H[a>>2]+12>>2]](a)|0,F[l|0]=m;l=e,m=Ya[H[H[a>>2]+16>>2]](a)|0,F[l|0]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(f,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Mc(g,k);nb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0;break a}a=hp(b);Ya[H[H[a>>2]+44>>2]](k,a);b=H[k>>2];F[c|0]=b;F[c+1|0]=b>>>8;F[c+2|0]=b>>>16;F[c+3|0]=b>>>24;Ya[H[H[a>>2]+32>>2]](k,a);Mc(i,k);nb(k);Ya[H[H[a>>2]+28>>2]](k,a);Mc(h,k);nb(k);l=d,m=Ya[H[H[a>>2]+12>>2]](a)|0,F[l|0]=m;l=e,m=Ya[H[H[a>>2]+16>>2]](a)|0,F[l|0]=m;Ya[H[H[a>>2]+20>>2]](k,a);Mc(f,k);nb(k);Ya[H[H[a>>2]+24>>2]](k,a);Mc(g,k);nb(k);a=Ya[H[H[a>>2]+36>>2]](a)|0}H[j>>2]=a;Wa=k+16|0}function aG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-16|0;Wa=e;if(I[a+11|0]>>>7|0){g=H[a+4>>2]}else{g=I[a+11|0]}d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;h=c-b|0;a:{if(!h){break a}b:{if(I[a+11|0]>>>7|0){f=H[a>>2]}else{f=a}j=f>>>0<=b>>>0;if(I[a+11|0]>>>7|0){f=H[a>>2]}else{f=a}if(I[a+11|0]>>>7|0){i=H[a+4>>2]}else{i=I[a+11|0]}if(!(j&f+i>>>0>=b>>>0)){if(d-g>>>0>>0){Oi(a,d,(g+h|0)-d|0,g,g)}if(I[a+11|0]>>>7|0){f=H[a>>2]}else{f=a}d=f+g|0;while(1){if((b|0)==(c|0)){break b}F[d|0]=I[b|0];b=b+1|0;d=d+1|0;continue}}d=Wa-16|0;Wa=d;gq(e,b,c);Wa=d+16|0;b=e;c:{if(I[b+11|0]>>>7|0){c=H[b>>2];break c}c=b}if(I[b+11|0]>>>7|0){b=H[e+4>>2]}else{b=I[e+11|0]}H[65057]=0;ka(1047,a|0,c|0,b|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){nb(e);break a}a=$()|0;_()|0;nb(e);ba(a|0);X()}F[e+15|0]=0;F[d|0]=I[e+15|0];b=g+h|0;d:{if(I[a+11|0]>>>7|0){H[a+4>>2]=b;break d}F[a+11|0]=b}}Wa=e+16|0;return a|0}function kB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Wa-16|0;Wa=g;H[g+12>>2]=0;i=H[c>>2];d=zb(i,24,g+12|0);e=H[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=I[a|0];F[d+4|0]=h;f=I[a+1|0]|I[a+2|0]<<8;G[d+6>>1]=f<<8|f>>>8;f=I[a+3|0];F[d+5|0]=f;k=H[c+148>>2];l=H[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;H[d+8>>2]=f;H[d+12>>2]=(e+l|0)-k;if(e+N(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);H[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+N(f,h-1|0)|0;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}H[d+16>>2]=I[a+5|0]|I[a+4|0]<<16;a=e+N(f,h-1|0)|0;a=I[a|0]<<16|I[a+1|0]}e=0;H[d>>2]=0;H[d+20>>2]=a;H[H[c+140>>2]>>2]=d;H[c+140>>2]=d;H[c+132>>2]=H[c+132>>2]+h;break a}if(d){Ya[H[i+8>>2]](i,d)}e=H[g+12>>2];break a}if(d){Ya[H[i+8>>2]](i,d)}e=8}Wa=g+16|0;return e|0}function Qk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=164030;d=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}g=d-1|0;while(1){h=g+i>>>1|0;d=N(h,12)+a|0;f=d+16|0;f=I[f|0]|I[f+1|0]<<8|(I[f+2|0]<<16|I[f+3|0]<<24);b:{if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0<=b>>>0){d=I[d+20|0]|I[d+21|0]<<8|(I[d+22|0]<<16|I[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>>0){i=h+1|0;break b}e=(N(h,12)+a|0)+16|0;break a}g=h-1|0}if((g|0)>=(i|0)){continue}break}}g=0;a=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);c:{if(d>>>0>(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break c}a=I[e+8|0]|I[e+9|0]<<8|(I[e+10|0]<<16|I[e+11|0]<<24);a=(b-d|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;if(!a){break c}H[c>>2]=a;g=1}return g}function Ai(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=Wa-32|0;Wa=h;a:{if(!b){b=6;break a}i=H[a>>2];g=Ya[H[i+4>>2]](i,40)|0;if(!g){Ya[H[i+8>>2]](i,b);b=64;break a}F[g+20|0]=0;F[g+21|0]=0;F[g+22|0]=0;F[g+23|0]=0;F[g+24|0]=0;F[g+25|0]=0;F[g+26|0]=0;F[g+27|0]=0;H[g+8>>2]=0;H[g+4>>2]=c;H[g>>2]=b;F[g+12|0]=0;F[g+13|0]=0;F[g+14|0]=0;F[g+15|0]=0;F[g+16|0]=0;F[g+17|0]=0;F[g+18|0]=0;F[g+19|0]=0;F[g+36|0]=0;F[g+37|0]=0;F[g+38|0]=0;F[g+39|0]=0;F[g+28|0]=0;F[g+29|0]=0;F[g+30|0]=0;F[g+31|0]=0;F[g+32|0]=0;F[g+33|0]=0;F[g+34|0]=0;F[g+35|0]=0;H[g+24>>2]=15;H[h+16>>2]=g;H[h>>2]=2;if(e){H[h>>2]=10;b=H[a+16>>2];b:{if((b|0)<=0){c=0;break b}j=((b<<2)+a|0)+20|0;b=a+20|0;while(1){c=H[b>>2];if(!rb(H[H[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}H[h+20>>2]=c}b=Vi(a,h,d,f,0);if(!b){a=H[f>>2];H[a+8>>2]=H[a+8>>2]&-1025;b=0;break a}a=H[g+24>>2];if(a){Ya[a|0](g)}Ya[H[i+8>>2]](i,g)}Wa=h+32|0;return b}function ao(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;a:{if(!a){e=33;break a}e=6;if(!d){break a}g=H[a>>2];if(!g){break a}H[d>>2]=0;H[d+4>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}e=10;if(b>>>0>32767){break a}b:{c:{d:{e:{if(!b){h=d+4|0;e=0;break e}e=b<<3;h=Ya[H[g+4>>2]](g,e)|0;if(!h){H[f+12>>2]=64;e=d+4|0;h=e;break c}i=d,j=kb(h,0,e),H[i+4>>2]=j;h=d+4|0;e=Ya[H[g+4>>2]](g,b)|0;if(!e){break d}kb(e,0,b)}H[f+12>>2]=0;H[d+8>>2]=e;i=d,j=jb(g,2,0,c,0,f+12|0),H[i+12>>2]=j;e=H[f+12>>2];if(e){break b}G[d>>1]=c;G[d+2>>1]=b;H[d+16>>2]=H[d+16>>2]|1;e=0;break a}H[f+12>>2]=64;e=d+8|0}H[e>>2]=0;e=64}H[d+16>>2]=H[d+16>>2]|1;a=H[a>>2];if(!a){break a}b=H[h>>2];if(b){Ya[H[a+8>>2]](a,b)}H[d+4>>2]=0;b=H[d+8>>2];if(b){Ya[H[a+8>>2]](a,b)}H[d+8>>2]=0;b=H[d+12>>2];if(b){Ya[H[a+8>>2]](a,b)}H[d>>2]=0;H[d+4>>2]=0;H[d+16>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0}Wa=f+16|0;return e}function Uh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>2147483646){break b}if(!c){return 1}if(K[b+4>>2]>a>>>0){break b}e=H[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=c<<1;if(g>>>0>>0){break b}e=H[b+12>>2]-e|0;H[b+12>>2]=e;if((e|0)<=0){break b}h=H[b+4>>2];j=H[d>>2];while(1){d=(i<<1)+a|0;if(d>>>0>>0){break a}e=H[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=H[b+12>>2];g=f-2|0;H[b+12>>2]=g;if((g|0)<=0){break a}d=I[d|0]|I[d+1|0]<<8;d=((d<<8|d>>>8)&65535)+j|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<4){break a}g=f-6|0;H[b+12>>2]=g;if((g|0)<=0){break a}f=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}c:{if(!f){break c}d=d+4|0;if(d>>>0>>0|d>>>0>e>>>0){break a}e=e-d|0;d=f<<2;if(e>>>0>>0){break a}d=g-d|0;H[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function nc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{f=H[b+4>>2];if(f>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=H[b+12>>2];g=e-2|0;H[b+12>>2]=g;c=1;if((g|0)<=0){break a}b:{c:{d:{e:{g=I[a|0]|I[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=((e<<8|e>>>8)&65535)<<1;if(d>>>0>>0){break a}a=c-a|0;H[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+2|0]|I[a+3|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0>>0|a>>>0>d>>>0){break a}d=d-a|0;a=N((e<<8|e>>>8)&65535,6);if(d>>>0>>0){break a}a=c-a|0;H[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function JK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=Ab(1,16);a:{if(!f){break a}d=H[a+56>>2];if((d|0)<=0){break a}e=H[a+60>>2];d=d-1|0;a=d;b:{c:{while(1){b=a>>>1|0;if(!H[N(b,36)+e>>2]){break c}c=a>>>0<2;a=b-1|0;if(!c){continue}break}a=0;break b}a=H[(N(b,36)+e|0)+28>>2]}H[f>>2]=a;b=0;a=d;d:{while(1){c=a+b>>>1|0;g=H[N(c,36)+e>>2];e:{if(g>>>0<=1818914159){b=H[(N(c,36)+e|0)+28>>2];if((g|0)==1818914159){break d}b=c+1|0;break e}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}H[f+4>>2]=b;b=0;a=d;f:{while(1){c=a+b>>>1|0;g=H[N(c,36)+e>>2];g:{if(g>>>0<=1986686319){b=H[(N(c,36)+e|0)+28>>2];if((g|0)==1986686319){break f}b=c+1|0;break g}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}H[f+8>>2]=b;a=0;h:{while(1){b=a+d>>>1|0;c=H[N(b,36)+e>>2];i:{if(c>>>0<=1953131887){a=H[(N(b,36)+e|0)+28>>2];if((c|0)==1953131887){break h}a=b+1|0;break i}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}H[f+12>>2]=a}return f|0}function Zd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{i=H[b+4>>2];if(i>>>0>a>>>0){break a}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<3){break a}c=H[b+12>>2]-3|0;H[b+12>>2]=c;d=1;b:{if(I[a|0]|I[a+1|0]<<8?0:(c|0)>0){break b}c=H[b+12>>2]-3|0;H[b+12>>2]=c;if((c|0)<=0){break a}f=I[a+2|0];if((f-1&255)>>>0>3){break a}g=a+3|0;if(g>>>0>>0|e>>>0>>0){break a}d=I[a|0]|I[a+1|0]<<8;l=(d<<8|d>>>8)&65535;j=N(l+1|0,f);if(j>>>0>e-g>>>0){break a}k=c-j|0;H[b+12>>2]=k;d=0;if((k|0)<=0){break b}m=(f|0)==1;n=(f|0)==2;c=0;while(1){g=c;h=N(f,c)+a|0;c=I[h+3|0];c:{if(m){break c}c=I[h+4|0]|c<<8;if(n){break c}c=I[h+5|0]|c<<8;if((f|0)==3){break c}c=I[h+6|0]|c<<8}d=c>>>0>d>>>0?c:d;c=g+1|0;if((g|0)!=(l|0)){continue}break}c=d-1|0;if(!c){return 1}d=0;if((c|0)<0){break b}a=(a+j|0)+3|0;if(a>>>0>>0|a>>>0>e>>>0|c>>>0>e-a>>>0){break b}a=k-c|0;H[b+12>>2]=a;d=(a|0)>0}return d|0}return 0}function Sy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>K[b+160>>2]){Cb(b,8)}c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(c>>>0<16|c>>>0>H[b+160>>2]-a>>>0)&(c-16>>>0)/12>>>0>=h>>>0)){Cb(b,8)}if(h){c=0;a=0;while(1){f=c;g=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);c=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){Cb(b,8)}if(!(!a|e>>>0>f>>>0)){Cb(b,8)}a:{if(H[b+164>>2]<=0){break a}f=H[b+172>>2];e=c-e|0;if(f>>>0>=e>>>0&f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0){break a}Cb(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function Ub(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=H[a+112>>2];c=H[a+116>>2];d=!!(b|c);e=b;a:{i=d;d=H[a+4>>2];f=H[a+44>>2];b=d-f|0;h=b;g=b+H[a+120>>2]|0;b=H[a+124>>2]+(b>>31)|0;b=g>>>0>>0?b+1|0:b;if(!(i&((b|0)>=(c|0)&g>>>0>=e>>>0|(b|0)>(c|0)))){c=Wa-16|0;Wa=c;d=-1;b:{if(Ij(a)){break b}if((Ya[H[a+32>>2]](a,c+15|0,1)|0)!=1){break b}d=I[c+15|0]}Wa=c+16|0;if((d|0)>=0){break a}f=H[a+44>>2];d=H[a+4>>2]}H[a+112>>2]=-1;H[a+116>>2]=-1;H[a+104>>2]=d;c=f-d|0;d=c+g|0;b=(c>>31)+b|0;H[a+120>>2]=d;H[a+124>>2]=c>>>0>d>>>0?b+1|0:b;return-1}c=g+1|0;b=c?b:b+1|0;g=H[a+4>>2];f=H[a+8>>2];e=H[a+112>>2];h=H[a+116>>2];c:{if(!(e|h)){break c}i=e-c|0;e=h-(b+(c>>>0>e>>>0)|0)|0;j=f-g|0;h=j>>31;if((e|0)>=(h|0)&i>>>0>=j>>>0|(e|0)>(h|0)){break c}f=g+i|0}H[a+104>>2]=f;e=H[a+44>>2];f=e-g|0;c=f+c|0;b=(f>>31)+b|0;H[a+120>>2]=c;H[a+124>>2]=c>>>0>>0?b+1|0:b;if(g>>>0<=e>>>0){F[g-1|0]=d}return d}function Up(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Wa-32|0;Wa=g;f=d&2147483647;e=f-1065418752|0;h=f-1082064896|0;a:{if((e|0)==(h|0)&0|e>>>0>>0){f=(d&33554431)<<7|c>>>25;e=0;i=e;h=c&33554431;if(!(!e&(h|0)==16777216?!(a|b):!e&h>>>0<16777216)){e=f+1073741825|0;break a}e=f+1073741824|0;if(h^16777216|a|(b|i)){break a}e=(f&1)+e|0;break a}if(!(!c&(f|0)==2147418112?!(a|b):f>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(f>>>0>1082064895){break a}e=0;f=f>>>16|0;if(f>>>0<16145){break a}e=d&65535|65536;Nc(g+16|0,a,b,c,e,f-16129|0);Se(g,a,b,c,e,16257-f|0);b=H[g+8>>2];e=(H[g+12>>2]&33554431)<<7|b>>>25;h=H[g>>2]|(H[g+16>>2]|H[g+24>>2]|(H[g+20>>2]|H[g+28>>2]))!=0;f=H[g+4>>2];a=0;b=b&33554431;if(!(!a&(b|0)==16777216?!(h|f):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|h|(a|f)){break a}e=(e&1)+e|0}Wa=g+32|0;return x(2,d&-2147483648|e),B()}function tg(a){var b=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+84>>2];if(b){Ya[b|0](H[a+12>>2])}b=H[a+88>>2];if(b){Ya[b|0](H[a+16>>2])}b=H[a+92>>2];if(b){Ya[b|0](H[a+20>>2])}b=H[a+96>>2];if(b){Ya[b|0](H[a+24>>2])}b=H[a+100>>2];if(b){Ya[b|0](H[a+28>>2])}b=H[a+104>>2];if(b){Ya[b|0](H[a+32>>2])}b=H[a+108>>2];if(b){Ya[b|0](H[a+36>>2])}b=H[a+112>>2];if(b){Ya[b|0](H[a+40>>2])}b=H[a+116>>2];if(b){Ya[b|0](H[a+44>>2])}b=H[a+120>>2];if(b){Ya[b|0](H[a+48>>2])}b=H[a+124>>2];if(b){Ya[b|0](H[a+52>>2])}b=H[a+128>>2];if(b){Ya[b|0](H[a+56>>2])}b=H[a+132>>2];if(b){Ya[b|0](H[a+60>>2])}b=H[a+136>>2];if(b){Ya[b|0](H[a- -64>>2])}b=H[a+140>>2];if(b){Ya[b|0](H[a+68>>2])}b=H[a+144>>2];if(b){Ya[b|0](H[a+72>>2])}b=H[a+148>>2];if(b){Ya[b|0](H[a+76>>2])}b=H[a+152>>2];if(b){Ya[b|0](H[a+80>>2])}hb(a)}}function fA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;d=I[a+20|0];f=H[a+16>>2];g=H[a+12>>2];a:{b:{if(!rb(b,21476)){b=H[c>>2];if(!b){d=35;break a}d=H[b+116>>2];H[e+8>>2]=d;if(!d){d=Kg(b,e+8|0,a);if(d){break a}d=H[e+8>>2];H[b+116>>2]=d;H[b+120>>2]=1}H[c+4>>2]=H[d+8>>2];break b}if(!rb(b,21380)){H[c>>2]=H[H[(g<<2)+16608>>2]+8>>2];break b}if(!rb(b,21396)){H[c>>2]=f;break b}if(!rb(b,21411)){b=H[c>>2];if(!b){d=35;break a}d=H[b+116>>2];H[e+12>>2]=d;if(!d){d=Kg(b,e+12|0,a);if(d){break a}d=H[e+12>>2];H[b+116>>2]=d;H[b+120>>2]=1}H[c+4>>2]=H[d+12>>2];break b}if(!rb(b,21429)){F[c|0]=d;break b}if(!rb(b,21437)){H[c>>2]=H[a+24>>2];H[c+4>>2]=H[a+28>>2];H[c+8>>2]=H[a+32>>2];H[c+12>>2]=H[a+36>>2];H[c+16>>2]=H[a+40>>2];H[c+20>>2]=H[a+44>>2];H[c+24>>2]=H[a+48>>2];H[c+28>>2]=H[a+52>>2];break b}d=12;if(rb(b,21458)){break a}F[c|0]=I[a+21|0]}d=0}Wa=e+16|0;return d|0}function ot(a,b){var c=0,d=0,e=0;a:{if((a|0)==163632){break a}b:{switch(I[a|0]){case 0:return I[(a+b|0)+1|0];case 3:c=1;e=a+1|0;a=I[a+1|0]|I[a+2|0]<<8;a=(a<<8|a>>>8)&65535;c:{if(a>>>0<2){break c}while(1){d=a>>>0>c>>>0?(e+N(c,3)|0)+2|0:163632;d=I[d|0]|I[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>b>>>0){break c}c=c+1|0;if((a|0)!=(c|0)){continue}break}c=a}b=c-1|0;return I[(a>>>0>b>>>0?(e+N(b,3)|0)+2|0:163632)+2|0];case 4:break b;default:break a}}c=1;e=I[a+1|0]|I[a+2|0]<<8|(I[a+3|0]<<16|I[a+4|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d:{if(e>>>0<2){break d}while(1){d=c>>>0>>0?(N(c,6)+a|0)+5|0:163632;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>b>>>0){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}b=a;a=c-1|0;a=a>>>0>>0?(b+N(a,6)|0)+5|0:163632;a=I[a+4|0]|I[a+5|0]<<8;c=(a<<8|a>>>8)&65535}return c}function lo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!e){return 6}f=H[a+96>>2];H[e>>2]=0;H[e+4>>2]=0;f=H[H[f+12>>2]+76>>2];if(!f){return 0}b=Ya[f|0](a,b,c,e)|0;a:{if(b|(d|0)==2){break a}c=H[e>>2];b=c>>31;f=H[a+88>>2];h=H[f+16>>2];a=h>>31;b=(b^c)-b|0;a=(a^h)-a|0;b:{if(b+(a>>>8|0)>>>0<=8190){b=N(a,b)+32768>>>16|0;break b}i=b&65535;b=N(i,a>>>16|0)+N(a,b>>>16|0)+(N(i,a&65535)+32768>>>16)|0}a=b;g=0-a|0;a=c>>31|1;c=(((h|0)<0?0-a|0:a)|0)<0?g:b;H[e>>2]=c;h=H[e+4>>2];b=h>>31;i=H[f+20>>2];a=i>>31;b=(b^h)-b|0;a=(a^i)-a|0;c:{if(b+(a>>>8|0)>>>0<=8190){g=N(a,b)+32768>>>16|0;break c}g=b&65535;g=N(g,a>>>16|0)+N(a,b>>>16|0)+(N(a&65535,g)+32768>>>16)|0}a=g;b=0;j=0-a|0;a=h>>31|1;a=(((i|0)<0?0-a|0:a)|0)<0?j:g;H[e+4>>2]=a;if((d|0)==1){break a}d=J[f+12>>1];if(d>>>0<=24){c=sb(c,d,25)}d=J[f+14>>1];if(d>>>0<=24){a=sb(a,d,25)}H[e+4>>2]=a+32&-64;H[e>>2]=c+32&-64}return b}function kk(a,b){var c=0,d=0,e=0,f=0,g=0;a:{g=H[b+4>>2];if(g>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0<=a>>>0){break a}e=H[b+12>>2];c=e-1|0;H[b+12>>2]=c;d=1;if((c|0)<=0){break a}b:{c:{d:{switch(I[a|0]){case 0:if(f-a>>>0<4|a>>>0>f>>>0){break a}e=e-5|0;H[b+12>>2]=e;if((e|0)<=0){break a}c=I[a+2|0]|I[a+3|0]<<8;c=N((I[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(!c){break b}a=a+4|0;if(a>>>0>>0|a>>>0>f>>>0){break a}d=0;if(c>>>0>f-a>>>0){break b}a=e-c|0;break c;case 1:break d;default:break b}}if(f-a>>>0<6|a>>>0>f>>>0){break a}e=e-7|0;H[b+12>>2]=e;if((e|0)<=0){break a}d=I[a+2|0]|I[a+3|0]<<8|(I[a+4|0]<<16|I[a+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=(I[a+1|0]>>>4&3)+1|0;if(d>>>0>=4294967295/(c>>>0)>>>0){break a}c=N(c,d);if(!c){return 1}a=a+6|0;if(a>>>0>>0|a>>>0>f>>>0){break a}d=0;if(c>>>0>f-a>>>0){break b}a=e-c|0}H[b+12>>2]=a;d=(a|0)>0}return d}return 0}function gI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(K[b+24>>2]>K[b+44>>2]){H[b+44>>2]=H[b+24>>2]}k=-1;l=-1;h=f&24;a:{if(!h|(e|0)==1&(h|0)==24){break a}h=H[b+44>>2];if(h){g=b+32|0;if(I[g+11|0]>>>7|0){g=H[g>>2]}g=h-g|0;m=g;g=g>>31}b:{c:{switch(e|0){case 1:if(f&8){e=H[b+12>>2]-H[b+8>>2]|0;i=e;j=e>>31;break b}e=H[b+24>>2]-H[b+20>>2]|0;i=e;j=e>>31;break b;case 0:break b;case 2:break c;default:break a}}i=m;j=g}e=d+j|0;c=c+i|0;e=i>>>0>c>>>0?e+1|0:e;d=c;c=e;if(d>>>0>m>>>0&(e|0)>=(g|0)|(e|0)>(g|0)|(e|0)<0){break a}e=f&8;d:{if(!(c|d)){break d}if(H[b+12>>2]?0:e){break a}if(!(f&16)){break d}if(!H[b+24>>2]){break a}}if(e){e=H[b+8>>2];H[b+16>>2]=H[b+44>>2];H[b+12>>2]=d+e;H[b+8>>2]=e}if(f&16){e=H[b+20>>2];H[b+28>>2]=H[b+28>>2];H[b+20>>2]=e;H[b+24>>2]=e;H[b+24>>2]=d+H[b+24>>2]}k=d;l=c}H[a+8>>2]=k;H[a+12>>2]=l;H[a>>2]=0;H[a+4>>2]=0}function Zf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){d=G[a+56>>1];G[a+20>>1]=d+J[a+20>>1];b=J[a+22>>1];G[a+22>>1]=b+J[a+58>>1];h=H[a+48>>2]+H[a+84>>2]|0;H[a+48>>2]=h;a:{if((d|0)<=0){break a}f=H[a+68>>2];if(d-1>>>0>=3){k=d&-4;while(1){c=g<<1;e=c+f|0;G[e>>1]=b+J[e>>1];e=f+(c|2)|0;G[e>>1]=b+J[e>>1];e=f+(c|4)|0;G[e>>1]=b+J[e>>1];c=f+(c|6)|0;G[c>>1]=b+J[c>>1];g=g+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}d=d&3;if(!d){break a}while(1){c=f+(g<<1)|0;G[c>>1]=b+J[c>>1];g=g+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}H[a+84>>2]=0;H[a+56>>2]=0;b=H[a+24>>2];if(b){b=b+(G[a+22>>1]<<3)|0}else{b=0}H[a+60>>2]=b;c=a- -64|0;b=H[a+28>>2];if(b){b=b+G[a+22>>1]|0}else{b=0}H[c>>2]=b;b=H[a+32>>2];if(b){b=b+(G[a+20>>1]<<1)|0}else{b=0}H[a+68>>2]=b;if(I[a+16|0]){b=G[a+22>>1]<<3;H[a+76>>2]=b+H[a+40>>2];H[a+80>>2]=b+H[a+44>>2]}b=a;a=H[a+52>>2];H[b+88>>2]=a?a+(h<<5)|0:0}}function Cu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Wa-208|0;Wa=e;H[e+204>>2]=0;c=H[a>>2];b=H[H[c+712>>2]+3080>>2];c=oc(H[H[c+96>>2]+4>>2],11010);a:{if(!c|!b){break a}b=H[b>>2];if(!b){break a}h=Ya[b|0](c)|0;if(!h){break a}b=H[a>>2];f=H[b+712>>2];c=H[b+100>>2];b=zb(c,1028,e+204|0);b:{c:{if(H[e+204>>2]){break c}d=e+8|0;Tk(f+1372|0,d);d=Ya[H[h>>2]](H[H[a>>2]+100>>2],d,b)|0;H[e+204>>2]=d;if(d){break c}j=b+4|0;d=H[f+2024>>2];while(1){if(!d){break b}d=d-1|0;g=d<<2;i=e+8|0;Tk(H[(g+f|0)+2028>>2],i);g=Ya[H[h>>2]](H[H[a>>2]+100>>2],i,g+j|0)|0;H[e+204>>2]=g;if(!g){continue}break}}if(b){a=H[f+2024>>2];if(a){while(1){a=a-1|0;f=b+(a<<2)|0;d=H[f+4>>2];if(d){Ya[H[c+8>>2]](c,d)}H[f+4>>2]=0;if(a){continue}break}}a=H[b>>2];if(a){Ya[H[c+8>>2]](c,a)}H[b>>2]=0}if(b){Ya[H[c+8>>2]](c,b)}k=H[e+204>>2];break a}H[H[a+40>>2]>>2]=b;H[a+44>>2]=-1}Wa=e+208|0;return k|0}function Vd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=O(0);e=I[a+8|0]|I[a+9|0]<<8;a:{if(!e){break a}g=I[a+6|0]|I[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=N(j,h)+k|0;f=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=I[a+10|0]|I[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=163632}b=I[a+6|0]|I[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=I[e+5|0]|I[e+4|0]<<8;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=I[b+8|0]|I[b+9|0]<<8|(I[b+10|0]<<16|I[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=b?b+a|0:163632;b=a;a=I[a+2|0]|I[a+3|0]<<8|(I[a+4|0]<<16|I[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);l=mg(f,I[e+7|0]|I[e+6|0]<<8,c,d,a?b+a|0:163632)}return l}function Br(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;i=H[b+4>>2];if(i>>>0>a>>>0){return 0}e=H[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}h=H[b+12>>2];f=h-2|0;H[b+12>>2]=f;g=1;if((f|0)<=0){return 0}f=I[a|0]|I[a+1|0]<<8;a:{if(!f){break a}b:{c=((f<<8|f>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break b}d=H[d>>2];h=h-4|0;H[b+12>>2]=h;if((h|0)<=0){break b}g=I[c|0]|I[c+1|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>=4294967295/(d>>>0)>>>0?d:0){break b}f=N(d,g);if(f>>>0>2147483646){break b}g=1;if(!f){break a}d=c+2|0;if(d>>>0>>0|d>>>0>e>>>0){break b}e=e-d|0;d=f<<1;if(e>>>0>>0){break b}e=h-d|0;H[b+12>>2]=e;d=0;if((e|0)<=0){break b}while(1){if(!Ch((d|0)<0?163632:(c+(d<<1)|0)+2|0,b,c)){break b}d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}c=H[b+28>>2];if(c>>>0>31){return 0}H[b+28>>2]=c+1;g=0;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;g=1}return g}function Ob(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(I[b|0]){g=M[b+8>>3];break a}F[b|0]=1;g=M[b+8>>3];f=M[a+128>>3];if(g>f){M[b+8>>3]=f;g=f;f=M[a+128>>3]}if(f>M[b+24>>3]){M[b+24>>3]=f}f=M[a+136>>3];if(f>3]){M[b+16>>3]=f;f=M[a+136>>3]}if(!(M[b+32>>3]>3]=f}f=M[c>>3];if(g>f){M[b+8>>3]=f;g=f;f=M[c>>3]}h=M[b+24>>3];if(f>h){M[b+24>>3]=f;h=f}i=M[b+16>>3];f=M[c+8>>3];if(i>f){M[b+16>>3]=f;i=f;f=M[c+8>>3]}j=M[b+32>>3];if(f>j){M[b+32>>3]=f;j=f}f=M[d>>3];if(f>3]=f;f=M[d>>3]}if(f>h){M[b+24>>3]=f}g=M[d+8>>3];if(i>g){M[b+16>>3]=g;g=M[d+8>>3]}if(g>j){M[b+32>>3]=g}c=H[e+4>>2];H[a+128>>2]=H[e>>2];H[a+132>>2]=c;c=H[e+12>>2];H[a+136>>2]=H[e+8>>2];H[a+140>>2]=c;g=M[a+128>>3];if(g>3]){M[b+8>>3]=g;g=M[a+128>>3]}if(M[b+24>>3]>3]=g}g=M[a+136>>3];if(g>3]){M[b+16>>3]=g;g=M[a+136>>3]}if(M[b+32>>3]>3]=g}}function MJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(N(b,588)+N(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;g=H[(e<<2)+221392>>2];f=g&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=f>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=g&16383;break c}a=c>>>11|0;g=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{f=b+c>>>1|0;h=(f<<3)+223952|0;a=H[h+4>>2];h=H[h>>2];a=a&2147483647;i=h&-2097152;h:{if((a|0)==(e|0)&i>>>0>g>>>0|a>>>0>e>>>0){b=f-1|0;break h}if((a|0)==(e|0)&g>>>0<=i>>>0|a>>>0>e>>>0){break g}c=f+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&2097151}if(b){break a}}return 0}H[d>>2]=b;return 1}function Ad(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=H[a+68>>2];i=c>>>0>d>>>0?d:c;j=i-b|0;if(j>>>0<2){break a}g=H[a+144>>2]|32;H[a+144>>2]=g;if(b>>>0>=i>>>0){break a}h=H[a+80>>2];c=-1;d=b;l=(d^-1)+i|0;if(l>>>0>=3){k=j&-4;while(1){e=N(d,20)+h|0;f=H[e+8>>2];c=c>>>0>>0?c:f;f=H[e+28>>2];c=c>>>0>>0?c:f;f=H[e+48>>2];c=c>>>0>>0?c:f;e=H[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){e=0;while(1){f=H[(N(d,20)+h|0)+8>>2];c=c>>>0>>0?c:f;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(j&1){d=N(b,20)+h|0;if(H[d+8>>2]!=(c|0)){H[a+144>>2]=g;H[d+4>>2]=H[d+4>>2]|3}b=b+1|0}if(!l){break a}while(1){d=N(b,20)+h|0;if(H[d+8>>2]!=(c|0)){g=g|32;H[a+144>>2]=g;H[d+4>>2]=H[d+4>>2]|3}d=N(b+1|0,20)+h|0;if(H[d+8>>2]!=(c|0)){g=g|32;H[a+144>>2]=g;H[d+4>>2]=H[d+4>>2]|3}b=b+2|0;if((i|0)!=(b|0)){continue}break}}}function rj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Wa-16|0;Wa=c;H[c+12>>2]=b;H[c+8>>2]=a;Wa=c+16|0;b=c+8|0;a=0;a:{if(!b){break a}a=H[b+4>>2];b=H[b>>2];if(!b){b=a;a=a>>31;a=(b^a)-a|0;break a}if(!a){a=b>>31;a=(a^b)-a|0;break a}c=a>>31;d=(c^a)-c|0;c=b>>31;g=d|(c^b)-c;f=Q(g);h=f-2|0;b:{if(g>>>0<=1073741823){a=a<>c;c=b>>c}b=0-c|0;c:{if((a|0)>(c|0)){d=(a|0)>(b|0);c=d?b:0-a|0;b=d?a:b;break c}d=(a|0)<(b|0);b=d?0-a|0:c;c=d?c:a}a=1;d=1;while(1){e=a+c>>d;d:{if((c|0)>0){c=c-(a+b>>d)|0;b=b+e|0;break d}c=(a+b>>d)+c|0;b=b-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=b>>31;c=(a^b)-a|0;d=c&65535;a=N(d,56281);e=c>>>16|0;c=a+N(e,23318)|0;i=c<<16;d=i+N(d,23318)|0;a=(((N(e,56281)+(c>>>16|0)|0)+((a>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;b=(b|0)<0?0-a|0:a;a=b+(1<>h;if(g>>>0<=536870911){break a}a=b<<2-f}return a}function Zy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=H[b>>2];if((e|0)==-1){return 0}c=H[a+16>>2];d=I[c+8204|0]|I[c+8205|0]<<8|(I[c+8206|0]<<16|I[c+8207|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{b:{if(!f){break b}j=H[a>>2];a=e+1|0;d=c+8208|0;while(1){c=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a>>>0>g>>>0?a:g;c=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){break c}c=I[d+8|0]|I[d+9|0]<<8|(I[d+10|0]<<16|I[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h+1|0;d:{while(1){e=a-g|0;if((e^-1)>>>0>>0){break c}e=e+i|0;if(e){break d}if((a|0)==-1){break b}e=(a|0)==(h|0);a=a+1|0;if(!e){continue}break}a=c;break c}if(K[j+16>>2]>e>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}e=0;a=0}H[b>>2]=a;return e|0}function _L(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=H[a+4>>2];e=H[a>>2];a:{if((e|0)<0){break a}c=g;d=c+H[b+4>>2]|0;d=(d|0)>0?d:0;if(d>>>0>e>>>0){c=e;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}b:{if(!(c>>>0>>0|c>>>0>268435454)){e=Eb(H[a+8>>2],c<<4);if(e){break b}}H[a>>2]=-1;break a}H[a>>2]=c;H[a+8>>2]=e;c=H[a+4>>2]}if(c>>>0>>0){kb(H[a+8>>2]+(c<<4)|0,0,d-c<<4)}H[a+4>>2]=d}c=H[b+4>>2];if(c){e=0;while(1){c:{if(c>>>0<=e>>>0){c=H[40911];H[64762]=H[40910];H[64763]=c;c=H[40909];H[64760]=H[40908];H[64761]=c;c=259040;break c}c=H[b>>2]+(e<<4)|0}d=e+g|0;d:{if(d>>>0>=K[a+4>>2]){d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break d}d=H[a+8>>2]+(d<<4)|0}f=H[c+4>>2];H[d>>2]=H[c>>2];H[d+4>>2]=f;f=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=f;c=H[b+4>>2];e=e+1|0;if(c>>>0>e>>>0){continue}break}}}function rq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=H[a+2744>>2];l=i&4;f=64;a:{if(l){break a}f=(e|0)==1?55:49;if(!(!(F[b+12|0]&1)|!(F[c+12|0]&1))){break a}f=(e|0)==1?61:59}m=H[c+4>>2];n=H[b+4>>2];j=uh(i,H[a+2748>>2],e,m-n|0);b:{c:{d:{e:{i=(((m+n|0)/2|0)+d|0)+((j|0)/-2|0)|0;a=i&63;f:{if(!a){break f}g=j+i&63;if(!g){break f}d=64-a|0;if((f|0)>=(j|0)){if((g|0)>=(j|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!l){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}k=j&63;if(k>>>0>31){break e}if(d>>>0<=k>>>0){break f}if(g>>>0>k>>>0){break d}}a=(h|0)>-14?h:-14;break b}k=64-f|0}e=d-k|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-k|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)>-14?d:-14;a=(a|0)<14?a:14}d=l?h:a;f=d+i|0;e=f+j|0;a=(m|0)>(n|0);H[b+8>>2]=a?f:e;H[c+8>>2]=a?e:f;return d}function Gi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=H[a>>2];f=Od(g,c,11507);if(!f){return 64}a:{b=H[a>>2];a=Ya[H[b+4>>2]](b,40)|0;if(!a){c=64;break a}F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;F[a+29|0]=0;F[a+30|0]=0;F[a+31|0]=0;F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;F[a+4|0]=0;F[a+5|0]=0;F[a+6|0]=0;F[a+7|0]=0;F[a+32|0]=0;F[a+33|0]=0;F[a+34|0]=0;F[a+35|0]=0;F[a+36|0]=0;F[a+37|0]=0;F[a+38|0]=0;F[a+39|0]=0;F[a+16|0]=0;F[a+17|0]=0;F[a+18|0]=0;F[a+19|0]=0;F[a+20|0]=0;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+8|0]=0;F[a+9|0]=0;F[a+10|0]=0;F[a+11|0]=0;F[a+12|0]=0;F[a+13|0]=0;F[a+14|0]=0;F[a+15|0]=0;H[a+28>>2]=b;c=Vf(a,f);H[a+16>>2]=f;if(c){Ya[H[b+8>>2]](b,a);break a}H[a+28>>2]=b;c=Ne(a,333319,e);b=H[a+28>>2];e=H[a+24>>2];if(e){Ya[e|0](a)}Ya[H[b+8>>2]](b,a);if(c){break a}H[d>>2]=f;return 0}Ya[H[g+8>>2]](g,f);return c|0}function Fi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=H[a>>2];f=Od(g,c,12024);if(!f){return 64}a:{b=H[a>>2];a=Ya[H[b+4>>2]](b,40)|0;if(!a){c=64;break a}F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;F[a+29|0]=0;F[a+30|0]=0;F[a+31|0]=0;F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;F[a+4|0]=0;F[a+5|0]=0;F[a+6|0]=0;F[a+7|0]=0;F[a+32|0]=0;F[a+33|0]=0;F[a+34|0]=0;F[a+35|0]=0;F[a+36|0]=0;F[a+37|0]=0;F[a+38|0]=0;F[a+39|0]=0;F[a+16|0]=0;F[a+17|0]=0;F[a+18|0]=0;F[a+19|0]=0;F[a+20|0]=0;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+8|0]=0;F[a+9|0]=0;F[a+10|0]=0;F[a+11|0]=0;F[a+12|0]=0;F[a+13|0]=0;F[a+14|0]=0;F[a+15|0]=0;H[a+28>>2]=b;c=Vf(a,f);H[a+16>>2]=f;if(c){Ya[H[b+8>>2]](b,a);break a}H[a+28>>2]=b;c=Ne(a,333319,e);b=H[a+28>>2];e=H[a+24>>2];if(e){Ya[e|0](a)}Ya[H[b+8>>2]](b,a);if(c){break a}H[d>>2]=f;return 0}Ya[H[g+8>>2]](g,f);return c|0}function Ei(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=H[a>>2];f=Od(g,c,12096);if(!f){return 64}a:{b=H[a>>2];a=Ya[H[b+4>>2]](b,40)|0;if(!a){c=64;break a}F[a+24|0]=0;F[a+25|0]=0;F[a+26|0]=0;F[a+27|0]=0;F[a+28|0]=0;F[a+29|0]=0;F[a+30|0]=0;F[a+31|0]=0;F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;F[a+4|0]=0;F[a+5|0]=0;F[a+6|0]=0;F[a+7|0]=0;F[a+32|0]=0;F[a+33|0]=0;F[a+34|0]=0;F[a+35|0]=0;F[a+36|0]=0;F[a+37|0]=0;F[a+38|0]=0;F[a+39|0]=0;F[a+16|0]=0;F[a+17|0]=0;F[a+18|0]=0;F[a+19|0]=0;F[a+20|0]=0;F[a+21|0]=0;F[a+22|0]=0;F[a+23|0]=0;F[a+8|0]=0;F[a+9|0]=0;F[a+10|0]=0;F[a+11|0]=0;F[a+12|0]=0;F[a+13|0]=0;F[a+14|0]=0;F[a+15|0]=0;H[a+28>>2]=b;c=Vf(a,f);H[a+16>>2]=f;if(c){Ya[H[b+8>>2]](b,a);break a}H[a+28>>2]=b;c=Ne(a,333319,e);b=H[a+28>>2];e=H[a+24>>2];if(e){Ya[e|0](a)}Ya[H[b+8>>2]](b,a);if(c){break a}H[d>>2]=f;return 0}Ya[H[g+8>>2]](g,f);return c|0}function Ds(a,b,c,d,e,f){var g=0,h=0;g=163632;h=163632;a=xe(a,b);b=I[a+4|0]|I[a+5|0]<<8;if(b){h=a+((b<<8|b>>>8)&65535)|0}b=I[h|0]|I[h+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0>c>>>0?(N(c,6)+h|0)+2|0:163632;b=I[b+4|0]|I[b+5|0]<<8;if(b){g=((b<<8|b>>>8)&65535)+h|0}a:{if((d|0)==65535){c=I[g|0]|I[g+1|0]<<8;b=164018;if(!c){break a}b=((c<<8|c>>>8)&65535)+g|0;break a}c=I[g+2|0]|I[g+3|0]<<8;c=((c<<8|c>>>8)&65535)>>>0>d>>>0?(N(d,6)+g|0)+4|0:163632;c=I[c+4|0]|I[c+5|0]<<8;b=164018;if(!c){break a}b=((c<<8|c>>>8)&65535)+g|0}b=I[b+2|0]|I[b+3|0]<<8;g=b<<8|b>>>8;d=g&65535;if(e){H[e>>2]=d}if(f){if((b|0)==65535){a=0}else{c=163632;b=I[a+6|0]|I[a+7|0]<<8;if(b){c=a+((b<<8|b>>>8)&65535)|0}a=I[c|0]|I[c+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0>(g&65535)>>>0?(N(d,6)+c|0)+2|0:163632;a=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}H[f>>2]=a}}function Et(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;k=Wa-16|0;Wa=k;m=H[b+28>>2];n=H[b+24>>2];l=H[a+20>>2];if((l|0)!=H[b+36>>2]){h=b+40|0;while(1){i=j<<2;H[i+h>>2]=-1;H[h+(i|4)>>2]=-1;H[h+(i|8)>>2]=-1;H[h+(i|12)>>2]=-1;H[h+(i|16)>>2]=-1;H[h+(i|20)>>2]=-1;H[h+(i|24)>>2]=-1;H[h+(i|28)>>2]=-1;j=j+8|0;if((j|0)!=256){continue}break}H[b+36>>2]=H[a+20>>2]}a:{if(c){i=b+40|0;j=0;while(1){H[k+12>>2]=0;h=H[d>>2];b=i+((h&255)<<2)|0;a=H[b>>2];b:{if(!((a|0)==-1|(a>>>24|0)!=(h>>>8|0))){a=a&16777215;break b}H[65057]=0;ga(642,n|0,h|0,m|0,k+12|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[k+12>>2];if(h>>>0>65535|a>>>0>16777215){break b}H[b>>2]=h<<16&-16777216|a}H[f>>2]=((l|0)>=0?a:0-a|0)+512>>10;f=f+g|0;d=d+e|0;j=j+1|0;if((j|0)!=(c|0)){continue}break}}Tb();Wa=k+16|0;return}a=$()|0;_()|0;Tb();ba(a|0);X()}function Bz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=H[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){c=H[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=J[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((N(h,63)|0)/64|0)>>1&k;break c}if(!(H[e+28>>2]!=(f|0)|H[e+16>>2]>0)&(!(l&16)|H[a+8>>2]>(d-c|0))|!(H[f+28>>2]!=(e|0)|H[e+20>>2]!=(b|0))&(!(l&32)|H[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((N(h,63)|0)/64|0)>>1&k}c=H[a>>2];d=g;d=(j|0)>=0?J[a+52>>1]>j>>>c>>>0?j:i:d;b=((g|0)==(d|0)?i:g)>>c;if((b|0)<0|b>>>0>=J[a+52>>1]){break b}if(I[H[a+56>>2]+(H[a+140>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|b>>>0>=J[a+52>>1]){break a}a=H[a+56>>2]+(H[a+140>>2]+(b>>>3&65535)|0)|0;F[a|0]=I[a|0]|128>>>(b&7)}}function yz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=H[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=H[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=J[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((N(h,63)|0)/64|0)>>1&k;break c}if(!(H[e+28>>2]!=(f|0)|H[e+16>>2]>0)&(!(l&16)|H[a+8>>2]>(d-c|0))|!(H[f+28>>2]!=(e|0)|H[e+20>>2]!=(b|0))&(!(l&32)|H[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((N(h,63)|0)/64|0)>>1&k}e=H[a>>2];d=g;d=(j|0)>=0?K[a+96>>2]>j>>>e>>>0?j:i:d;c=((g|0)==(d|0)?i:g)>>e;if((c|0)<0|c>>>0>=K[a+96>>2]){break b}if(I[(H[a+56>>2]+(b>>3)|0)-N(c,H[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=K[a+96>>2]){break a}a=(H[a+56>>2]+(b>>3)|0)-N(c,H[a+104>>2])|0;F[a|0]=I[a|0]|128>>>(b&7)}}function cm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=H[(c<<3)+e>>2]>H[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=H[h+f>>2];l=g?d:c;c=l<<3;j=H[c+f>>2];h=H[e+h>>2];g=H[c+e>>2];if(!((h|0)==(g|0)&(i|0)!=(j|0))){if((g|0)!=(h|0)){m=pb(i-j|0,h-g|0)}o=i-h|0;p=j-g|0;d=a;while(1){c=d;n=d<<3;d=H[n+e>>2];b:{if((d|0)<=(g|0)){i=d+p|0;break b}i=d+o|0;if((d|0)>=(h|0)){break b}i=ib(d-g|0,m)+j|0}H[f+n>>2]=i;d=c+1|0;if((b|0)!=(c|0)){continue}break}}h=f+4|0;e=e+4|0;d=H[e+(l<<3)>>2]>H[e+(k<<3)>>2];g=(d?l:k)<<3;c=H[h+g>>2];d=(d?k:l)<<3;f=H[d+h>>2];g=H[e+g>>2];d=H[d+e>>2];if((g|0)==(d|0)&(c|0)!=(f|0)){break a}k=0;if((d|0)!=(g|0)){k=pb(c-f|0,g-d|0)}i=c-g|0;l=f-d|0;while(1){c=a;m=c<<3;a=H[m+e>>2];c:{if((a|0)<=(d|0)){j=a+l|0;break c}j=a+i|0;if((a|0)>=(g|0)){break c}j=ib(a-d|0,k)+f|0}H[h+m>>2]=j;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function QA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;a=kb(a,0,1516);j=gd(H[b+96>>2],23740,1);if(!j){return 7}F[a+68|0]=1;H[a+64>>2]=0;H[a+1348>>2]=j;H[a+8>>2]=d;H[a+4>>2]=b;H[a>>2]=H[b+100>>2];a:{if(!d){break a}j=H[H[d+156>>2]>>2];H[a+12>>2]=j;H[a+20>>2]=j+56;H[a+16>>2]=j+20;re(j);c=H[H[c+40>>2]>>2];H[a+72>>2]=0;H[a+76>>2]=c;if(!g){break a}H[a+72>>2]=H[H[d+156>>2]+36>>2]}H[a+24>>2]=0;H[a+28>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;c=H[7601];H[a+80>>2]=H[7600];H[a+84>>2]=c;c=H[7603];H[a+88>>2]=H[7602];H[a+92>>2]=c;c=H[7605];H[a+96>>2]=H[7604];H[a+100>>2]=c;c=H[7607];H[a+104>>2]=H[7606];H[a+108>>2]=c;H[a+1352>>2]=H[b+16>>2];H[a+1468>>2]=f;H[a+1476>>2]=i;H[a+1356>>2]=e;H[a+1472>>2]=h;c=H[7611];b=a+1488|0;H[b>>2]=H[7610];H[b+4>>2]=c;b=H[7609];H[a+1480>>2]=H[7608];H[a+1484>>2]=b;return 0}function dK(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Ab(1,8);a:{if(d){c=H[a+56>>2];b=0;b:{if((c|0)<=0){break b}e=H[a+60>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=H[N(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=H[(N(c,36)+e|0)+28>>2]}H[d>>2]=b;b=H[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=mr(a);H[d+4>>2]=a;if(a){break a}hb(d)}d=0}return d|0}function EG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=Wa-48|0;Wa=f;H[f+40>>2]=b;a:{if(!(H[c+4>>2]&1)){c=Ya[H[H[a>>2]+24>>2]](a,b,c,d,e)|0;break a}b=f+24|0;a=H[c+28>>2];H[b>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;a=aa(999,b|0)|0;b=H[65057];H[65057]=0;b:{if((b|0)!=1){b=H[f+24>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}c:{if(e){Ya[H[H[a>>2]+24>>2]](f+24|0,a);break c}Ya[H[H[a>>2]+28>>2]](f+24|0,a)}g=f,h=dd(f+24|0),H[g+16>>2]=h;while(1){g=f,h=le(f+24|0),H[g+8>>2]=h;if(H[f+16>>2]==H[f+8>>2]){c=H[f+40>>2];Sb(f+24|0);break a}a=H[H[f+16>>2]>>2];H[65057]=0;ca(1025,f+40|0,a|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){H[f+16>>2]=H[f+16>>2]+4;continue}break}c=$()|0;_()|0;Sb(f+24|0);break b}c=$()|0;_()|0;a=H[f+24>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}}ba(c|0);X()}Wa=f+48|0;return c|0}function ws(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=H[a+68>>2];if(k){l=H[a+88>>2];h=H[a+80>>2];while(1){a:{b:{f=N(e,20);c=f+h|0;if(Ya[b|0](c)|0){f=H[c+8>>2];c:{d:{e:{d=e+1|0;if(d>>>0>>0){if(H[(N(d,20)+h|0)+8>>2]!=(f|0)){break e}break a}if(g){break d}break b}if(!g){break c}}i=H[(N(g,20)+h|0)-12>>2];if(i>>>0<=f>>>0){break a}j=H[c+4>>2]&3;e=g;while(1){e=e-1|0;c=N(e,20)+h|0;if((i|0)!=H[c+8>>2]){break a}H[c+4>>2]=j|H[c+4>>2]&-4;H[c+8>>2]=f;if(e){continue}break}break a}kc(a,e,e+2|0);break b}if((e|0)!=(g|0)){j=H[c+4>>2];i=N(g,20);d=i+h|0;H[d>>2]=H[c>>2];H[d+4>>2]=j;H[d+16>>2]=H[c+16>>2];j=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=j;d=i+l|0;c=f+l|0;H[d+16>>2]=H[c+16>>2];f=H[c+12>>2];H[d+8>>2]=H[c+8>>2];H[d+12>>2]=f;f=H[c+4>>2];H[d>>2]=H[c>>2];H[d+4>>2]=f}g=g+1|0;d=e+1|0;break a}g=0}e=d;if((k|0)!=(d|0)){continue}break}}H[a+68>>2]=g}function Kr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Wa-16|0;Wa=f;c=I[a+2|0]|I[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];if((Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2])|0)!=-1){g=163632;e=163632;c=I[a+4|0]|I[a+5|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}c=H[b+100>>2];c=Eh(e,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);d=I[a+6|0]|I[a+7|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+8|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){g=((c<<8|c>>>8)&65535)+a|0}H[f+12>>2]=e;H[f+8>>2]=716;a=I[g|0]|I[g+1|0]<<8;if(a){e=(a<<8|a>>>8)&65535;a=g+2|0;while(1){c=I[a|0]|I[a+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+g|0}else{c=163632}d=I[c|0]|I[c+1|0]<<8;h=(d<<8|d>>>8)&65535;i=c+4|0;c=I[c+2|0]|I[c+3|0]<<8;c=fg(b,h,i,(c<<8|c>>>8)&65535,(d?(h<<1)-2|0:0)+i|0,H[f+8>>2],H[f+12>>2]);if(!c){a=a+2|0;e=e-1|0;if(e){continue}}break}}else{c=0}e=c}Wa=f+16|0;return e}function zA(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;i=H[b+712>>2];a=kb(a,0,780);H[a+8>>2]=d;H[a+4>>2]=b;F[a+65|0]=1;H[a>>2]=H[b+100>>2];a:{if(!d){break a}b=H[H[d+156>>2]>>2];H[a+12>>2]=b;H[a+20>>2]=b+56;H[a+16>>2]=b+20;re(b);H[a+68>>2]=0;H[a+72>>2]=0;if(!c|!e){break a}b=H[H[c+40>>2]>>2];if(!b){break a}H[a+72>>2]=H[b>>2];H[a+68>>2]=H[H[d+156>>2]+36>>2]}H[a+24>>2]=0;H[a+28>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[7660];H[a+76>>2]=H[7659];H[a+80>>2]=b;b=H[7662];H[a+84>>2]=H[7661];H[a+88>>2]=b;b=H[7664];H[a+92>>2]=H[7663];H[a+96>>2]=b;b=H[7666];H[a+100>>2]=H[7665];H[a+104>>2]=b;H[a+108>>2]=i;b=H[i+120>>2];H[a+732>>2]=b;H[a+748>>2]=H[i+1352>>2];b:{if(H[i+1416>>2]==1){break b}j=107;if(b>>>0<1240){break b}j=b>>>0<33900?1131:32768}H[a+776>>2]=h;H[a+772>>2]=g;H[a+760>>2]=f;H[a+740>>2]=j}function tq(a){var b=0,c=0,d=0;c=Wa-16|0;Wa=c;b=H[H[a>>2]-12>>2];H[65057]=0;b=H[(a+b|0)+24>>2];d=H[65057];H[65057]=0;a:{b:{c:{d:{e:{if((d|0)!=1){if(!b){break b}H[65057]=0;ca(894,c+8|0,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break d}if(!I[c+8|0]){break e}b=H[H[a>>2]-12>>2];H[65057]=0;b=H[(a+b|0)+24>>2];d=H[65057];H[65057]=0;f:{if((d|0)==1){break f}H[65057]=0;b=aa(895,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break f}if((b|0)!=-1){break e}b=H[H[a>>2]-12>>2];H[65057]=0;da(896,a+b|0,1);b=H[65057];H[65057]=0;if((b|0)!=1){break e}}b=ea(0)|0;_()|0;kh(c+8|0);break c}b=ea(0)|0;_()|0;break c}kh(c+8|0);break b}b=ea(0)|0;_()|0}oa(b|0)|0;b=H[H[a>>2]-12>>2];H[65057]=0;fa(897,a+b|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}pa()}Wa=c+16|0;return}a=$()|0;_()|0;H[65057]=0;ia(875);c=H[65057];H[65057]=0;if((c|0)!=1){ba(a|0);X()}ea(0)|0;_()|0;Gb();X()}function RG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=Wa-48|0;Wa=f;H[f+40>>2]=b;a:{if(!(H[c+4>>2]&1)){c=Ya[H[H[a>>2]+24>>2]](a,b,c,d,e)|0;break a}b=f+24|0;a=H[c+28>>2];H[b>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;a=aa(968,b|0)|0;b=H[65057];H[65057]=0;b:{if((b|0)!=1){b=H[f+24>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}c:{if(e){Ya[H[H[a>>2]+24>>2]](f+24|0,a);break c}Ya[H[H[a>>2]+28>>2]](f+24|0,a)}g=f,h=dd(f+24|0),H[g+16>>2]=h;while(1){g=f,h=oe(f+24|0),H[g+8>>2]=h;if(H[f+16>>2]==H[f+8>>2]){c=H[f+40>>2];nb(f+24|0);break a}a=F[H[f+16>>2]];H[65057]=0;ca(1014,f+40|0,a|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){H[f+16>>2]=H[f+16>>2]+1;continue}break}c=$()|0;_()|0;nb(f+24|0);break b}c=$()|0;_()|0;a=H[f+24>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}}ba(c|0);X()}Wa=f+48|0;return c|0}function mz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=H[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=H[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(I[c|0]<<8|I[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=I[a|0]<<8|I[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=I[c+1|0]|I[c|0]<<8;g=I[c+3|0]|I[c+2|0]<<8;f=d&255;h=I[c+6|0];k=I[c+7|0];l=I[c+4|0];m=I[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>>0?f:a)|0;a=f-a|0;a=a>>>0>f>>>0?0:a;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=I[d+1|0]|I[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:d+256&-256}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}H[b>>2]=e;return c|0}function Ag(a,b,c){a:{switch(c-1|0){case 0:H[b>>2]=H[a+4>>2];return;case 1:H[b>>2]=H[a+4>>2]+H[a+12>>2];H[b+4>>2]=H[a+8>>2]+H[a+12>>2];return;case 2:H[b>>2]=H[a+4>>2]+(H[a+12>>2]+(H[a+20>>2]+H[a+28>>2]|0)|0);H[b+4>>2]=H[a+8>>2]+(H[a+12>>2]+(H[a+24>>2]+H[a+28>>2]|0)|0);H[b+8>>2]=H[a+16>>2]+(H[a+20>>2]+(H[a+24>>2]+H[a+28>>2]|0)|0);return;default:break a}}H[b>>2]=H[a+4>>2]+(H[a+12>>2]+(H[a+20>>2]+(H[a+28>>2]+(H[a+36>>2]+(H[a+44>>2]+(H[a+52>>2]+H[a+60>>2]|0)|0)|0)|0)|0)|0);H[b+4>>2]=H[a+8>>2]+(H[a+12>>2]+(H[a+24>>2]+(H[a+28>>2]+(H[a+40>>2]+(H[a+44>>2]+(H[a+56>>2]+H[a+60>>2]|0)|0)|0)|0)|0)|0);H[b+8>>2]=H[a+16>>2]+(H[a+20>>2]+(H[a+24>>2]+(H[a+28>>2]+(H[a+48>>2]+(H[a+52>>2]+(H[a+56>>2]+H[a+60>>2]|0)|0)|0)|0)|0)|0);H[b+12>>2]=H[a+32>>2]+(H[a+36>>2]+(H[a+40>>2]+(H[a+44>>2]+(H[a+48>>2]+(H[a+52>>2]+(H[a+56>>2]+H[a+60>>2]|0)|0)|0)|0)|0)|0)}function vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=H[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=H[b+12>>2];e=d-4|0;H[b+12>>2]=e;if((I[a|0]|I[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<16){break a}d=d-20|0;H[b+12>>2]=d;if((I[a+10|0]|I[a+11|0]<<8)!=5120|(d|0)<=0){break a}c=I[a+14|0]|I[a+15|0]<<8;j=(c<<8|c>>>8)&65535;h=I[a+8|0]|I[a+9|0]<<8;g=(h<<8|h>>>8)&65535;if(j>>>0<(g<<2)+4>>>0){break a}e=I[a+4|0]|I[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=163632}g=N(g,20);if(h){if(c>>>0>>0|c>>>0>f>>>0|g>>>0>f-c>>>0){break a}d=d-g|0;H[b+12>>2]=d;if((d|0)<=0){break a}}c=I[a+12|0]|I[a+13|0]<<8;h=(c<<8|c>>>8)&65535;a=c?g+(e?((e<<8|e>>>8)&65535)+a|0:163632)|0:0;c=N(h,j);if(!c){return 1}if(a>>>0>>0|a>>>0>f>>>0|c>>>0>f-a>>>0){break a}a=d-c|0;H[b+12>>2]=a;k=(a|0)>0}return k}function yn(a,b){var c=0,d=0,e=0,f=0,g=0;d=Wa-16|0;Wa=d;c=H[a>>2];H[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=I[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=ri(d+12|0,b);break c}e=xn(d+12|0,b);break c}e=37;while(1){j:{k:{switch((e&255)-10|0){default:c=c+1|0;if((c|0)!=(b|0)){break j}c=b;break;case 0:case 3:break k}}H[d+12>>2]=c;break d}e=I[c|0];continue}}e=0}c=H[d+12>>2]+1|0;H[d+12>>2]=c;if(e?0:b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}H[a>>2]=c;Wa=d+16|0;return b}function Gx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=H[a+872>>2];if(!i){return 0}f=H[e+8>>2];a:{b:{if(f){g=H[e>>2];b=H[e+4>>2];break b}f=0;H[e+4>>2]=0;g=J[i+2>>1];if(!g){break a}g=g-1|0;l=H[i+8>>2]+2|0;c:{while(1){k=((g-f|0)/2|0)+f|0;h=N(k,6)+l|0;j=h-2|0;j=I[j|0]<<8|I[j+1|0];d:{if(j>>>0>>0){f=k+1|0;break d}if(b>>>0>=j>>>0){break c}g=k-1|0}if((f|0)<=(g|0)){continue}break}return 0}f=0;b=I[h+2|0]|I[h+3|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=I[h+1|0];h=I[h|0];H[e>>2]=g;b=b|h<<8;if(K[i+20>>2]>>0){break a}f=H[i+12>>2]+(b<<2)|0;H[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}H[e+8>>2]=f+2;H[c>>2]=I[f+1|0]|I[f|0]<<8;H[e+8>>2]=f+4;b=I[f+3|0]|I[f+2|0]<<8;H[d>>2]=b;if(K[c>>2]>=K[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=J[a+660>>1]){break a}}f=1;H[e+4>>2]=H[e+4>>2]+1}return f|0}function _s(a,b){var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=b;H[a+32>>2]=b;a:{b:{c:{d:{while(1){F[a+24|0]=c;e=H[d+12>>2];H[a+4>>2]=e;c=H[d+16>>2];H[a+8>>2]=c+e;H[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!e){lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}c=Zs(e,a);d=H[a+28>>2];e:{if(c){if(!d){break e}H[a+28>>2]=0;d=Zs(e,a);e=H[a+28>>2];lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(I[a+24|0]|!d){break c}e=Ec(b);H[a+4>>2]=e;H[a+8>>2]=e+H[b+16>>2];d=H[a+32>>2];c=1;if(e){continue}break b}break}lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b}d=H[a+32>>2]}lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Oy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>K[b+160>>2]){Cb(b,8)}d=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<16|d>>>0>H[b+160>>2]-a>>>0)&(d-16>>>0)/12>>>0>=g>>>0)){Cb(b,8)}if(g){a=0;while(1){d=a;f=I[c+8|0]|I[c+9|0]<<8|(I[c+10|0]<<16|I[c+11|0]<<24);a=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){Cb(b,8)}if(!(!h|d>>>0>>0)){Cb(b,8)}if(!(H[b+164>>2]<=0|K[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Cb(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function Nl(a,b){var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=b;H[a+32>>2]=b;a:{b:{c:{d:{while(1){F[a+24|0]=c;e=H[d+12>>2];H[a+4>>2]=e;c=H[d+16>>2];H[a+8>>2]=c+e;H[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!e){lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}c=Dl(e,a);d=H[a+28>>2];e:{if(c){if(!d){break e}H[a+28>>2]=0;d=Dl(e,a);e=H[a+28>>2];lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(I[a+24|0]|!d){break c}e=Ec(b);H[a+4>>2]=e;H[a+8>>2]=e+H[b+16>>2];d=H[a+32>>2];c=1;if(e){continue}break b}break}lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b}d=H[a+32>>2]}lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Ml(a,b){var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=b;H[a+32>>2]=b;a:{b:{c:{d:{while(1){F[a+24|0]=c;e=H[d+12>>2];H[a+4>>2]=e;c=H[d+16>>2];H[a+8>>2]=c+e;H[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!e){lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}c=yl(e,a);d=H[a+28>>2];e:{if(c){if(!d){break e}H[a+28>>2]=0;d=yl(e,a);e=H[a+28>>2];lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(I[a+24|0]|!d){break c}e=Ec(b);H[a+4>>2]=e;H[a+8>>2]=e+H[b+16>>2];d=H[a+32>>2];c=1;if(e){continue}break b}break}lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b}d=H[a+32>>2]}lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Ll(a,b){var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=b;H[a+32>>2]=b;a:{b:{c:{d:{while(1){F[a+24|0]=c;e=H[d+12>>2];H[a+4>>2]=e;c=H[d+16>>2];H[a+8>>2]=c+e;H[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!e){lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}c=ql(e,a);d=H[a+28>>2];e:{if(c){if(!d){break e}H[a+28>>2]=0;d=ql(e,a);e=H[a+28>>2];lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(I[a+24|0]|!d){break c}e=Ec(b);H[a+4>>2]=e;H[a+8>>2]=e+H[b+16>>2];d=H[a+32>>2];c=1;if(e){continue}break b}break}lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b}d=H[a+32>>2]}lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Hl(a,b){var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}d=b;H[a+32>>2]=b;a:{b:{c:{d:{while(1){F[a+24|0]=c;e=H[d+12>>2];H[a+4>>2]=e;c=H[d+16>>2];H[a+8>>2]=c+e;H[a+28>>2]=0;if(c>>>0<=67108862){c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}else{c=1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!e){lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}c=Gl(e,a);d=H[a+28>>2];e:{if(c){if(!d){break e}H[a+28>>2]=0;d=Gl(e,a);e=H[a+28>>2];lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!d){break a}if(!e){break d}break a}if(I[a+24|0]|!d){break c}e=Ec(b);H[a+4>>2]=e;H[a+8>>2]=e+H[b+16>>2];d=H[a+32>>2];c=1;if(e){continue}break b}break}lb(H[a+32>>2]);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}if(H[b+4>>2]){H[b+4>>2]=0}return b}d=H[a+32>>2]}lb(d);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Gf(a){var b=0,c=0;b=Ab(1,172);a:{if(!b){c=H[64421];b=257672;break a}H[b+8>>2]=0;H[b>>2]=1;H[b+4>>2]=1;H[b+148>>2]=1073741823;H[b+152>>2]=536870911;xf(0);c=Vq();if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}H[b+28>>2]=0;H[b+32>>2]=0;H[b+24>>2]=65533;H[b+16>>2]=0;H[b+20>>2]=0;H[b+12>>2]=c;H[b+36>>2]=0;H[b+40>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+52>>2]=0;H[b+56>>2]=0;H[b+72>>2]=0;H[b+64>>2]=0;H[b+68>>2]=0;F[b+62|0]=0;G[b+60>>1]=1;H[b+144>>2]=0;H[b+92>>2]=0;H[b+96>>2]=0;H[b+100>>2]=0;H[b+104>>2]=0;H[b+108>>2]=0;H[b+112>>2]=0;H[b+116>>2]=0;H[b+120>>2]=0;H[b+124>>2]=0;H[b+128>>2]=0;H[b+132>>2]=0;H[b+136>>2]=0;F[b+140|0]=0;H[b+84>>2]=H[b+80>>2]}xf(c);c=H[a+12>>2];if(!(!c|!H[c>>2])){H[c>>2]=H[c>>2]+1}H[b+12>>2]=c;H[b+16>>2]=H[a+16>>2];H[b+20>>2]=H[a+20>>2];c=H[a+28>>2];H[b+28>>2]=c;H[b+24>>2]=c;H[b+32>>2]=H[a+32>>2];return b}function mm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=H[a+12>>2];e=H[l>>2];h=b>>>0>e>>>0?e:b;if(h){b=H[l+12>>2];while(1){j=H[b+12>>2];e=j;k=i<<2;f=H[k+c>>2];if((e|0)>=(f|0)){e=H[b+4>>2];e=(e|0)<(f|0)?f:e}f=H[b+8>>2];a:{if((f|0)>(e|0)){g=0-pb(e-f|0,H[b+4>>2]-f|0)|0;break a}g=0;if((e|0)<=(f|0)){break a}g=pb(e-f|0,j-f|0)}H[d+k>>2]=g;b=b+24|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}e=H[l>>2]}if(e>>>0>h>>>0){kb((h<<2)+d|0,0,e-h<<2)}a=H[a+28>>2];if(!(!a|!e)){c=0;while(1){g=J[a>>1];b:{if(g>>>0<2){break b}i=(c<<2)+d|0;f=H[i>>2];h=H[a+4>>2];b=1;while(1){j=b<<3;k=j+h|0;m=H[k>>2];if((f|0)<(m|0)){g=f;b=j-8|0;e=b+h|0;f=H[e>>2];n=i,o=sb(g-f|0,H[k+4>>2]-H[e+4>>2]|0,m-f|0)+H[(b+H[a+4>>2]|0)+4>>2]|0,H[n>>2]=o;e=H[l>>2];break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}a=a+8|0;c=c+1|0;if(e>>>0>c>>>0){continue}break}}}function Km(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=H[a+28>>2];a:{if((b|0)==-1){break a}e=H[a+36>>2];h=H[a+40>>2];if(e>>>0>=h>>>0){break a}j=H[a>>2];d=b+1|0;k=H[a+16>>2]+20|0;while(1){b:{c=N(e,12)+k|0;b=c-4|0;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0>f>>>0?d:f;b=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0>g>>>0){break b}b=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=g+1|0;c:{while(1){c=d-f|0;if((c^-1)>>>0>>0){break b}c=c+i|0;if(c){break c}if((d|0)==-1){break a}c=(d|0)==(g|0);d=d+1|0;if(!c){continue}break}d=b;break b}if(c>>>0>=K[j+16>>2]){break b}H[a+36>>2]=e;H[a+32>>2]=c;H[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}F[a+24|0]=0}function hH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Wa-32|0;Wa=h;a:{b:{c:{if((b|0)!=(c|0)){j=H[64884];H[64884]=0;g=Wa-16|0;Wa=g;lc();e=Wa-16|0;Wa=e;f=Wa-16|0;Wa=f;fj(f,b,h+28|0,2);k=H[f>>2];i=H[f+4>>2];b=H[f+12>>2];H[e+8>>2]=H[f+8>>2];H[e+12>>2]=b;H[e>>2]=k;H[e+4>>2]=i;Wa=f+16|0;i=H[e>>2];f=H[e+4>>2];b=H[e+12>>2];H[g+8>>2]=H[e+8>>2];H[g+12>>2]=b;H[g>>2]=i;H[g+4>>2]=f;Wa=e+16|0;f=H[g>>2];e=H[g+4>>2];b=H[g+12>>2];H[h+16>>2]=H[g+8>>2];H[h+20>>2]=b;H[h+8>>2]=f;H[h+12>>2]=e;Wa=g+16|0;i=H[h+16>>2];f=H[h+20>>2];g=H[h+8>>2];e=H[h+12>>2];b=H[64884];if(!b){break c}if(H[h+28>>2]!=(c|0)){break b}l=g;m=e;n=i;o=f;if((b|0)!=68){break a}break b}H[d>>2]=4;break a}H[64884]=j;if(H[h+28>>2]==(c|0)){break a}}H[d>>2]=4;g=l;e=m;i=n;f=o}H[a>>2]=g;H[a+4>>2]=e;H[a+8>>2]=i;H[a+12>>2]=f;Wa=h+32|0}function qe(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;k=Wa-16|0;Wa=k;F[k+15|0]=a;a:{b:{c:{if(H[d>>2]!=(c|0)){break c}l=43;m=a&255;if((m|0)!=I[j+24|0]){l=45;if(I[j+25|0]!=(m|0)){break c}}H[d>>2]=c+1;F[c|0]=l;break b}if(I[g+11|0]>>>7|0){g=H[g+4>>2]}else{g=I[g+11|0]}if(!(!g|(a|0)!=(f|0))){a=0;b=H[i>>2];if((b-h|0)>159){break a}a=H[e>>2];H[i>>2]=b+4;H[b>>2]=a;break b}a=-1;f=cj(j,j+26|0,k+15|0)-j|0;if((f|0)>23){break a}d:{e:{switch(b-8|0){case 0:case 2:if((b|0)>(f|0)){break d}break a;case 1:break d;default:break e}}if((b|0)!=16|(f|0)<22){break d}b=H[d>>2];if((b|0)==(c|0)|(b-c|0)>2|I[b-1|0]!=48){break a}a=0;H[e>>2]=0;H[d>>2]=b+1;F[b|0]=I[f+248752|0];break a}a=H[d>>2];H[d>>2]=a+1;F[a|0]=I[f+248752|0];H[e>>2]=H[e>>2]+1;a=0;break a}a=0;H[e>>2]=0}Wa=k+16|0;return a|0}function pe(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;k=Wa-16|0;Wa=k;H[k+12>>2]=a;a:{b:{c:{if(H[d>>2]!=(c|0)){break c}l=43;if(H[j+96>>2]!=(a|0)){l=45;if(H[j+100>>2]!=(a|0)){break c}}H[d>>2]=c+1;F[c|0]=l;break b}if(I[g+11|0]>>>7|0){g=H[g+4>>2]}else{g=I[g+11|0]}if(!(!g|(a|0)!=(f|0))){a=0;b=H[i>>2];if((b-h|0)>159){break a}a=H[e>>2];H[i>>2]=b+4;H[b>>2]=a;break b}a=-1;g=$i(j,j+104|0,k+12|0)-j|0;if((g|0)>92){break a}f=g>>2;d:{e:{switch(b-8|0){case 0:case 2:if((b|0)>(f|0)){break d}break a;case 1:break d;default:break e}}if((b|0)!=16|(g|0)<88){break d}b=H[d>>2];if((b|0)==(c|0)|(b-c|0)>2|I[b-1|0]!=48){break a}a=0;H[e>>2]=0;H[d>>2]=b+1;F[b|0]=I[f+248752|0];break a}a=H[d>>2];H[d>>2]=a+1;F[a|0]=I[f+248752|0];H[e>>2]=H[e>>2]+1;a=0;break a}a=0;H[e>>2]=0}Wa=k+16|0;return a|0}function ll(a,b){var c=0,d=0,e=0,f=0;a:{d=H[b+4>>2];if(d>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=H[b+12>>2];f=e-12|0;H[b+12>>2]=f;if((I[a|0]|I[a+1|0]<<8)!=256|(f|0)<=0){break a}f=d;d=a+6|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<2){break a}c=e-14|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;b:{if(!c){break b}if(kl(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=H[b+12>>2]-2|0;H[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=I[d|0]|I[d+1|0]<<8;c:{if(!e){break c}if(kl(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=H[b+28>>2];if(a>>>0>31){break a}H[b+28>>2]=a+1;c=0;if(!I[b+24|0]){break c}F[d|0]=0;F[d+1|0]=0;c=1}return c}return 0}function Np(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Wa-1040|0;Wa=g;h=H[b>>2];H[g+12>>2]=h;f=a?d:256;j=a?a:g+16|0;d=0;a:{b:{c:{if(!(!h|!f)){while(1){i=c>>>2|0;if(!(c>>>0>131|i>>>0>=f>>>0)){i=f;break b}k=hj(j,g+12|0,f>>>0>i>>>0?i:f,e);if((k|0)==-1){d=-1;i=0;h=H[g+12>>2];break c}l=(g+16|0)==(j|0)?0:k;i=f-l|0;j=(l<<2)+j|0;c=c+h|0;h=H[g+12>>2];c=h?c-h|0:0;d=d+k|0;if(!h){break c}k=(f|0)!=(l|0);f=i;if(k){continue}break}break c}i=f}if(!h){break a}}if(!i|!c){break a}f=d;while(1){d:{d=_f(j,h,c,e);e:{if(d+2>>>0<=2){f:{switch(d+1|0){case 1:H[g+12>>2]=0;break e;case 0:break a;default:break f}}H[e>>2]=0;break e}h=H[g+12>>2]+d|0;H[g+12>>2]=h;f=f+1|0;i=i-1|0;if(i){break d}}d=f;break a}j=j+4|0;k=(c|0)!=(d|0);c=c-d|0;d=f;if(k){continue}break}}if(a){H[b>>2]=H[g+12>>2]}Wa=g+1040|0;return d|0}function sL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=I[a+2|0]|I[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=163632}c=H[b+100>>2];c=Kb(e,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=I[a+4|0]|I[a+5|0]<<8;if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){break a}d=1;a=(c<<1)+a|0;a=I[a+6|0]|I[a+7|0]<<8;e=(a<<8|a>>>8)&65535;a=H[b+100>>2];c=H[a+80>>2]+N(H[a+64>>2],20)|0;a=J[c+12>>1]|16;if(I[b+140|0]){a=Xc(H[b+108>>2],e)|a&112}G[c+12>>1]=a;a=H[b+100>>2];if(!qb(a,1,1)){break a}b=H[a+64>>2];b:{if(b>>>0>2]){d=H[a+80>>2]+N(b,20)|0;b=H[a+72>>2];c=H[a+84>>2];break b}c=H[a+84>>2];b=H[a+72>>2];d=c+N(b?b-1|0:0,20)|0}b=N(b,20)+c|0;c=H[d+4>>2];H[b>>2]=H[d>>2];H[b+4>>2]=c;H[b+16>>2]=H[d+16>>2];c=H[d+12>>2];H[b+8>>2]=H[d+8>>2];H[b+12>>2]=c;H[b>>2]=e;d=1;H[a+64>>2]=H[a+64>>2]+1;H[a+72>>2]=H[a+72>>2]+1}return d|0}function gg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=H[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break a}f=I[a|0]|I[a+1|0]<<8;if(!f){return 1}h=a+2|0;if(g>>>0>h>>>0|d>>>0>>0){break a}f=(f<<8|f>>>8)&65535;i=f<<1;if(i>>>0>d-h>>>0){break a}d=e-i|0;H[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(g>>>0>d>>>0){break a}f=f>>>0>1?f:1;g=0;while(1){b:{e=H[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break b}h=H[c>>2];e=H[b+12>>2]-2|0;H[b+12>>2]=e;if((e|0)<=0){break b}e=I[d|0]|I[d+1|0]<<8;c:{if(!e){break c}if(nc(h+((e<<8|e>>>8)&65535)|0,b)){break c}e=H[b+28>>2];if(e>>>0>31){break b}H[b+28>>2]=e+1;if(!I[b+24|0]){break b}F[d|0]=0;F[d+1|0]=0}j=1;g=g+1|0;if((f|0)==(g|0)){break a}d=((g<<1)+a|0)+2|0;if(d>>>0>=K[b+4>>2]){continue}}break}j=0}return j}function Tm(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=sb(h,f-c|0,j)+b|0;i=H[a>>2];f=f>>i;c=0;break b}i=H[a>>2];f=c>>i;c=H[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=H[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=sb(h,H[a+4>>2]-c|0,j)+b|0;break c}if(!I[a+79|0]){break c}H[a+36>>2]=H[a+36>>2]-4}F[a+79|0]=!d;if(I[a+78|0]){H[H[a+80>>2]+20>>2]=f;F[a+78|0]=0}g=e-f|0;c=g+1|0;if(K[a+32>>2]<=H[a+36>>2]+(c<<2)>>>0){H[a+40>>2]=98;return 1}d=1;e=H[a+4>>2];d:{if((h|0)>0){f=pj(e,h,j);break d}d=-1;h=0-h|0;f=0-pj(e,h,j)|0}h=(N(H[a+4>>2],h)|0)%(j|0)|0;e=H[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){H[e>>2]=b;g=g+h|0;i=(g|0)>=0;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=c>>>0>1;c=c-1|0;if(i){continue}break}}H[a+36>>2]=e}return 0}function Zk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=H[a+68>>2];a:{b:{c:{h=H[a+36>>2];if((h|0)!=H[b+36>>2]){c=H[b+68>>2];if(!f){break c}d=1;if(c){break a}}if((f|0)==H[b+68>>2]){break b}d=2;break a}if(!c){return 0}return 2}if(!f){return 0}c=H[a+80>>2];e=H[b+80>>2];d=0;while(1){d=H[c>>2]==H[e>>2]?d:d|16;d=H[c+8>>2]==H[e+8>>2]?d:d|32;d=H[c+4>>2]&(H[e+4>>2]^-1)&3?d|64:d;e=e+20|0;c=c+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((h|0)!=2){break a}f=f>>>0>1?f:1;c=H[a+88>>2];e=H[b+88>>2];g=0;while(1){b=H[c>>2]-H[e>>2]|0;a=b>>31;d:{e:{if((a|0)!=(a^b)){break e}b=H[c+4>>2]-H[e+4>>2]|0;a=b>>31;if((a|0)!=(a^b)){break e}b=H[c+8>>2]-H[e+8>>2]|0;a=b>>31;if((a|0)!=(a^b)){break e}b=H[c+12>>2]-H[e+12>>2]|0;a=b>>31;if((a|0)==(a^b)){break d}}return d|128}e=e+20|0;c=c+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}return d}function Dd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c-37>>>0<4294967261){break a}d=H[a>>2];if(d>>>0>=b>>>0){break a}b:{c:{e=I[d|0];switch(e-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=I[d|0];switch(e-43|0){case 0:case 2:break a;default:break b}}h=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){H[a>>2]=d;break e}l=2147483647-N(c,h)|0;while(1){f:{g:{h:{switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=F[e+31072|0];if((e|0)<0|(c|0)<=(e|0)){break g}i=1;g=f;i:{if((f|0)>(h|0)){break i}if((f|0)==(h|0)){g=h;if((e|0)>(l|0)){break i}}i=j;g=e+N(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){break f}j=i;d=b}H[a>>2]=d;a=2147483647;if(j&255){break d}break e}e=I[d|0];j=i;continue}}a=f}f=k?0-a|0:a}return f}function gt(a,b,c,d){var e=0,f=0,g=O(0);e=Wa-128|0;Wa=e;a:{b:{if(K[a+16>>2]<=c>>>0){break b}c:{f=H[H[a>>2]>>2];f=f?f:163632;f=K[f+16>>2]<20?163632:H[f+12>>2];f=I[f+4|0]|I[f+5|0]<<8;if(H[b+68>>2]==((f<<8|f>>>8)&65535)){H[e+48>>2]=2139095039;H[e+52>>2]=-8388609;H[e+56>>2]=-8388609;H[e+16>>2]=2139095039;H[e+20>>2]=-8388609;H[e+24>>2]=-8388609;H[e+44>>2]=2139095039;H[e+40>>2]=e- -64;f=H[e+44>>2];H[e+8>>2]=H[e+40>>2];H[e+12>>2]=f;H[e+36>>2]=0;H[e+32>>2]=b;f=H[e+36>>2];H[e>>2]=H[e+32>>2];H[e+4>>2]=f;if(ik(a,b,c,e)){break c}}if(d){a=ft(H[a+8>>2],c);break a}a=ft(H[a+4>>2],c);break a}if(d){g=O(L[e+104>>2]-L[e+120>>2])}else{g=O(L[e+84>>2]-L[e+68>>2])}g=O(T(O(g+O(.5))));g=g>=O(0)?g:O(0);g=g<=O(2147483648)?g:O(2147483648);if(!(g=O(0))){break b}a=~~g>>>0;break a}a=0}Wa=e+128|0;return a}function ci(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Wa-16|0;Wa=h;i=H[a+28>>2];H[h+12>>2]=0;a:{if(b>>>0>>0){break a}b=0;f=jb(i,4,0,c,0,h+12|0);if(!H[h+12>>2]){while(1){if(b>>>0>=c>>>0){break a}e=H[a+32>>2];if(e>>>0>2]){H[a+32>>2]=e+1;d=F[e|0]}else{d=0}d=d<<24>>24;g=d&63;b:{if(d&128){e=(b^-1)+c|0;e=g?e>>>0>>0?e:g:0;kb((b<<2)+f|0,0,(e<<2)+4|0);d=e+1|0;b=(b+e|0)+1|0;break b}e=0;if(d&64){while(1){k=(b<<2)+f|0,l=Rb(a)<<16,H[k>>2]=l;d=e+1|0;b=b+1|0;if(e>>>0>=g>>>0){break b}e=d;if(b>>>0>>0){continue}break b}}while(1){j=(b<<2)+f|0;d=H[a+32>>2];if(d>>>0>2]){H[a+32>>2]=d+1;d=F[d|0]}else{d=0}H[j>>2]=d<<24>>24<<16;d=e+1|0;b=b+1|0;if(e>>>0>=g>>>0){break b}e=d;if(b>>>0>>0){continue}break}}if(d>>>0>g>>>0){continue}break}if(f){Ya[H[i+8>>2]](i,f)}}f=0}Wa=h+16|0;return f}function bs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=H[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=I[d|0]|I[d+1|0]<<8;b:{if(!c){break b}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[d|0]=0;F[d+1|0]=0}g=H[b+4>>2];c=a+4|0;if(g>>>0>c>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=H[b+12>>2]-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+4|0]|I[a+5|0]<<8;if(!e){return 1}f=a+6|0;if(g>>>0>f>>>0|d>>>0>>0){break a}f=d-f|0;d=(e<<8|e>>>8)&65535;e=d<<1;if(f>>>0>>0){break a}c=c-e|0;H[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0>1?d:1;d=0;while(1){h=Yr(((d<<1)+a|0)+6|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function mo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Wa-32|0;Wa=f;H[f+8>>2]=0;g=d?d:e;i=g?g:72;H[f+20>>2]=i;d=g?d?e?e:d:e:72;H[f+24>>2]=d;e=b?b:c;g=(e|0)>64?e:64;H[f+12>>2]=g;b=b?c?c:b:c;c=(b|0)>64?b:64;H[f+16>>2]=c;b=35;a:{if(!a){break a}e=H[a+88>>2];H[H[e+40>>2]+12>>2]=0;j=H[H[a+96>>2]+12>>2];h=H[j+88>>2];if(h){b=Ya[h|0](e,f+8|0)|0;break a}h=H[a+8>>2];b:{if((h&3)==2){if(!(h&2)){break a}b=23;g=((N(g,i)+36|0)/72|0)+32&-64;if(!g){break a}i=(d?(N(c,d)+36|0)/72|0:c)+32&-64;if(!i){break a}d=H[a+28>>2];if((d|0)<=0){break a}h=H[a+32>>2];c=0;while(1){k=h+(c<<4)|0;if(!((i|0)==(H[k+12>>2]+32&-64)&(g|0)==(H[k+8>>2]+32&-64))){c=c+1|0;if((d|0)!=(c|0)){continue}break a}break}b=6;if((c|0)>=(d|0)){break a}b=H[j+92>>2];if(b){b=Ya[b|0](e,c)|0;break a}wd(a,c);break b}Oe(a,f+8|0)}b=0}Wa=f+32|0;return b}function Rv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Wa-272|0;Wa=d;Ya[H[b+60>>2]](b,d+80|0,16,d+76|0);f=H[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=H[a+532>>2];j=H[b+8>>2];k=H[b>>2];f=0;while(1){c=(d+80|0)+N(g,12)|0;H[b>>2]=H[c>>2];H[b+8>>2]=H[c+4>>2];Ya[H[b+60>>2]](b,d+16|0,4,d+12|0);e=H[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=zg(a,H[d+76>>2],e);if(c){break a}i=H[a+532>>2];c=H[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+N(c,12)|0;H[b>>2]=H[h>>2];H[b+8>>2]=H[h+4>>2];h=Ya[H[b+40>>2]](b,0)|0;H[H[e+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}H[b+8>>2]=j;H[b>>2]=k;c=0}H[b+12>>2]=c;Wa=d+272|0}function mk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=O(0),k=O(0),l=O(0),m=0,n=0;e=I[a+2|0]|I[a+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){return O(0)}e=I[a|0]|I[a+1|0]<<8;if(!e){return O(1)}f=a;a=(e<<8|e>>>8)&65535;m=(f+N(N(a,b),6)|0)+4|0;n=a>>>0>1?a:1;b=0;j=O(1);while(1){a=0;a=b>>>0>>0?H[(b<<2)+c>>2]:a;k=j;f=N(b,6)+m|0;g=I[f+2|0]|I[f+3|0]<<8;h=(g<<8|g>>>8)<<16>>16;e=I[f|0]|I[f+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;a:{b:{if((h|0)<(i|0)){break b}e=I[f+4|0]|I[f+5|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)<(h|0)){break b}if(!(!g|((e|0)<=0|(i|0)>=0))){break b}if(!g|(a|0)==(h|0)){break b}if((a|0)<=(i|0)){return O(0)}if((a|0)>=(e|0)){return O(0)}j=O(0);f=a-i|0;g=e-a|0;a=(a|0)<(h|0);l=O(O((a?f:g)|0)/O((a?h-i|0:e-h|0)|0));if(l==O(0)){break a}k=O(k*l)}j=k;b=b+1|0;if((n|0)!=(b|0)){continue}}break}return j}function lB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Wa-16|0;Wa=f;H[f+12>>2]=0;a:{if(H[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=I[a|0];g=a&15;h=b;b=g+(a>>>4|0)|0;if(h>>>0<(b<<1)+d>>>0){break a}a=jb(H[c>>2],4,0,b,0,f+12|0);e=H[f+12>>2];if(e){break a}H[c+76>>2]=a;H[c- -64>>2]=(g<<2)+a;e=0;if(!b){break a}c=b-1|0;g=b&3;if(g){while(1){h=I[d|0]|I[d+1|0]<<8;H[a>>2]=(h<<8|h>>>8)<<16>>16;a=a+4|0;b=b-1|0;d=d+2|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(c>>>0>=3){while(1){c=I[d|0]|I[d+1|0]<<8;H[a>>2]=(c<<8|c>>>8)<<16>>16;c=I[d+2|0]|I[d+3|0]<<8;H[a+4>>2]=(c<<8|c>>>8)<<16>>16;c=I[d+4|0]|I[d+5|0]<<8;H[a+8>>2]=(c<<8|c>>>8)<<16>>16;c=I[d+6|0]|I[d+7|0]<<8;H[a+12>>2]=(c<<8|c>>>8)<<16>>16;a=a+16|0;d=d+8|0;b=b-4|0;if(b){continue}break}}e=H[f+12>>2]}Wa=f+16|0;return e|0}function ge(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(H[a+188>>2]){break a}g=H[a+180>>2];if(!(H[a+184>>2]?1:g)){break a}h=H[a+156>>2];b:{i=H[a+192>>2]+(H[a+160>>2]-H[a+172>>2]<<2)|0;e=H[i>>2];c:{if(!e){e=0;break c}f=H[e>>2];if((h|0)<(f|0)){break c}d:{while(1){d=e;if((f|0)==(h|0)){break b}e=H[d+12>>2];if(e){f=H[e>>2];if((h|0)<(f|0)){break d}continue}break}e=0}i=d+12|0}d=H[a+204>>2];if((d|0)>=H[a+200>>2]){Lj(a,1);g=H[a+180>>2];e=H[i>>2];d=H[a+204>>2]}H[a+204>>2]=d+1;f=H[a+196>>2]+(d<<4)|0;H[f+8>>2]=g;H[f>>2]=h;d=H[a+184>>2];H[f+12>>2]=e;H[f+4>>2]=d;H[i>>2]=f;break a}H[d+8>>2]=H[d+8>>2]+g;H[d+4>>2]=H[d+4>>2]+H[a+184>>2]}H[a+180>>2]=0;H[a+184>>2]=0;H[a+160>>2]=c;d=H[a+164>>2];H[a+156>>2]=(b|0)<(d|0)?d-1|0:b;e=1;H[a+188>>2]=H[a+176>>2]<=(c|0)|H[a+172>>2]>(c|0)?e:H[a+168>>2]<=(b|0)}function ZL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Wa-16|0;Wa=f;e=H[a>>2];g=H[a+4>>2];H[d+24>>2]=H[a+8>>2];H[d+20>>2]=g;H[d+16>>2]=e;H[d+8>>2]=b;b=0;H[d+4>>2]=0;H[d+12>>2]=0;h=163632;a=g>>>0<4?163632:e;H[d>>2]=a;H[d+28>>2]=a+4;g=0;e=I[a|0]|I[a+1|0]<<8;a:{if(e&128){e=I[a+2|0]|I[a+3|0]<<8;if(e){h=a+((e<<8|e>>>8)&65535)|0}H[f+12>>2]=h;if(!Vs(f+12|0,c,d+16|0)){break a}H[d+12>>2]=H[f+12>>2]-h;g=H[d+4>>2];a=H[d>>2];e=I[a|0]|I[a+1|0]<<8}if(((e<<8|(e&65280)>>>8)&4095)>>>0<=g>>>0){break a}c=H[d+16>>2];a=H[d+28>>2];if(c>>>0>a>>>0){break a}c=c+H[d+20>>2]|0;if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}b=I[a+2|0]|I[a+3|0]<<8;b=(N(H[d+8>>2],b>>>5&2|b>>>7&1)<<1)+4|0;a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535;b=c>>>0>=(a>>>0>>0?b:a)>>>0&(b|0)!=0}Wa=f+16|0;return b|0}function hB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Wa-16|0;Wa=i;e=6;a:{if((b|0)<0|H[a+16>>2]<=(b|0)){break a}f=H[a+8>>2];e=H[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=H[a>>2];j=c-g|0;m=(j|0)>=0&f>>>0>j>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}k=H[a+32>>2];h=zb(k,f,i+12|0);H[a>>2]=h;e=H[i+12>>2];if(e){H[a>>2]=g;break a}if(g){mb(h,g,H[a+8>>2]);h=H[a+16>>2];if((h|0)>0){n=H[a>>2]-g|0;e=H[a+24>>2];h=e+(h<<2)|0;while(1){l=H[e>>2];if(l){H[e>>2]=n+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){Ya[H[k+8>>2]](k,g)}}H[a+8>>2]=f;e=m?j:-1;if((e|0)<0){break b}c=e+H[a>>2]|0}e=0;b=b<<2;f=H[a>>2];g=H[a+4>>2];H[b+H[a+24>>2]>>2]=f?f+g|0:0;H[b+H[a+28>>2]>>2]=d;mb(g+H[a>>2]|0,c,d);H[a+4>>2]=H[a+4>>2]+d}Wa=i+16|0;return e|0}function EL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;f=H[a+712>>2];H[g+12>>2]=0;a:{if(!f){break a}e=H[f+3132>>2];if(!e){e=zb(H[a+100>>2],2,g+12|0);c=H[g+12>>2];if(c){break a}G[e>>1]=0;a=H[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=K[f+1356>>2]){break b}a=H[H[f+1360>>2]+(a<<2)>>2];break c}c=H[f+3084>>2];if(!c){break b}a=Ya[H[c+20>>2]](a)|0}if(!a){break b}a=Xb(a,10721);if(!a){break b}c=a+7|0;a=Xb(c,10826);if(!a|(a|0)==(c|0)){break b}while(1){d:{d=I[c|0];e:{if((d-48&255)>>>0<=9){d=J[e>>1];if(d>>>0>6551){break d}d=N(d,10);G[e>>1]=d;G[e>>1]=(d+F[c|0]|0)-48;break e}d=d-10|0;if(d>>>0>22|!(1<>1]=0}H[f+3132>>2]=e;c=H[g+12>>2]}G[b>>1]=J[e>>1]}Wa=g+16|0;return c|0}function pm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Ya[H[a+596>>2]](a)|0;f=H[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=H[a+28>>2];if((b|0)<=1){if(I[a+565|0]){H[a+12>>2]=129}H[a+28>>2]=0;break a}d=b-2|0;H[a+28>>2]=d;c=b<<2;b=H[a+24>>2];c=J[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=H[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(I[a+372|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((J[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-J[a+338>>1];if(!(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40)){if(!(I[c+H[a+60>>2]|0]&16?1:J[a+304>>1]?I[a+564|0]:0)|(I[a+617|0]?I[a+616|0]:0)){break b}Ya[H[a+588>>2]](a,g,c,b);break b}Ya[H[a+588>>2]](a,g,c,b);break b}if(!I[a+565|0]){break b}H[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}H[a+32>>2]=H[a+28>>2]}function zK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;a:{b:{c:{d:{if((b|0)<=2963){if(b-2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b-3548>>>0<3){break c}a=H[a+12>>2];H[c>>2]=b;H[d>>2]=0;a=Ya[H[a+40>>2]](a,b,c,d,H[a+72>>2])|0;break b}e:{f:{f=H[H[a>>2]+124>>2];if(I[f+5|0]){break f}e=H[a+8>>2];H[g+12>>2]=0;h=e;i=H[e+84>>2];e=H[e+80>>2];if(!(Ya[H[e+164>>2]](h,i,b,g+12|0,H[e+20>>2])|0)|!H[f+52>>2]){break e}h=H[H[a+8>>2]+16>>2];e=0;while(1){if(rd(h,J[H[f+48>>2]+(e<<3)>>1],g+12|0,1,I[f+56|0])){break f}e=e+1|0;if(e>>>0>2]){continue}break}break e}H[c>>2]=3545;H[d>>2]=b;f=1;break a}a=H[a+12>>2];H[c>>2]=b;H[d>>2]=0;a=Ya[H[a+40>>2]](a,b,c,d,H[a+72>>2])|0}f=(a|0)!=0}Wa=g+16|0;return f|0}function Fh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=H[a+4>>2];if((f|0)>=0){d=H[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break b}d=f;while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>268435454)){f=Eb(H[a+12>>2],d<<4);if(f){break c}}H[a+4>>2]=-1}d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;g=259040;break a}H[a+4>>2]=d;H[a+12>>2]=f;d=H[a+8>>2]}if(d>>>0>>0){while(1){H[a+8>>2]=d+1;d=H[a+12>>2]+(d<<4)|0;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;d=H[a+8>>2];if(e>>>0>d>>>0){continue}break}}H[a+8>>2]=e;g=(H[a+12>>2]+(e<<4)|0)-16|0}d=g;H[d>>2]=b;e=H[c+12>>2];f=H[c+4>>2];h=H[c>>2];b=H[a>>2];H[d+12>>2]=0;H[d+4>>2]=b+h;d=f-b|0;d=d>>>0>f>>>0?0:d;b=e-b|0;H[g+8>>2]=b>>>0>d>>>0?d:b;H[a>>2]=H[c+12>>2]}function kh(a){var b=0,c=0;b=H[a+4>>2];c=H[H[b>>2]-12>>2];H[65057]=0;b=H[(b+c|0)+24>>2];c=H[65057];H[65057]=0;a:{if((c|0)==1){break a}b:{if(!b){break b}b=H[a+4>>2];c=H[H[b>>2]-12>>2];H[65057]=0;b=H[(b+c|0)+16>>2];c=H[65057];H[65057]=0;if((c|0)==1){break a}if(b){break b}b=H[a+4>>2];if(!(H[(H[H[b>>2]-12>>2]+b|0)+4>>2]&8192)){break b}if((Na()|0)>0){break b}b=H[a+4>>2];c=H[H[b>>2]-12>>2];H[65057]=0;b=H[(b+c|0)+24>>2];c=H[65057];H[65057]=0;c:{if((c|0)==1){break c}H[65057]=0;b=aa(895,b|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break c}if((b|0)!=-1){break b}a=H[a+4>>2];b=H[H[a>>2]-12>>2];H[65057]=0;da(896,a+b|0,1);a=H[65057];H[65057]=0;if((a|0)!=1){break b}}a=ea(0)|0;_()|0;oa(a|0)|0;H[65057]=0;ia(875);a=H[65057];H[65057]=0;if((a|0)==1){break a}}return}ea(0)|0;_()|0;Gb();X()}function Xh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=H[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=H[b+12>>2];e=g-4|0;H[b+12>>2]=e;if((e|0)<=0){break a}d=F[a|0];e=I[a+3|0]|(I[a+1|0]<<16|d<<24|I[a+2|0]<<8);i=(e|0)!=0&(d|0)<0;d=!i;if(!e|i){break a}c=c+e|0;b:{if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break b}e=g-8|0;H[b+12>>2]=e;if((e|0)<=0){break b}d=I[c+2|0]|I[c+3|0]<<8;g=(d<<8|d>>>8)&65535;d=I[c|0]|I[c+1|0]<<8;g=N(g,(d<<8|d>>>8)&65535);if(g>>>0>715827881){break b}d=1;if(!g){break a}c=c+4|0;if(c>>>0>>0|c>>>0>f>>>0){break b}f=f-c|0;c=N(g,6);if(f>>>0>>0){break b}c=e-c|0;H[b+12>>2]=c;if((c|0)>0){break a}}d=0;c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;d=1}return d}function vB(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=H[H[a+96>>2]+8>>2];H[a+20>>2]=0;H[a+24>>2]=0;c=H[a+100>>2];b=H[a+368>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+368>>2]=0;b=H[a+372>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+372>>2]=0;b=H[a+376>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+376>>2]=0;b=H[a+364>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+360>>2]=0;H[a+364>>2]=0;H[a+348>>2]=0;H[a+352>>2]=0;b=H[a+388>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+380>>2]=0;H[a+384>>2]=0;H[a+388>>2]=0;b=H[a+416>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+408>>2]=0;H[a+412>>2]=0;H[a+416>>2]=0;b=H[a+396>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+392>>2]=0;H[a+396>>2]=0;b=H[a+424>>2];if(b){while(1){e=H[b>>2];if(b){Ya[H[c+8>>2]](c,b)}b=e;if(b){continue}break}}H[a+428>>2]=0;H[a+420>>2]=0;H[a+424>>2]=0;c=H[a+32>>2];if(c){Ya[H[d+8>>2]](d,c)}H[a+32>>2]=0}}function un(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=pb(65536e3,b<<16);if((i|0)>=655){n=H[a+52>>2];h=H[a+48>>2];j=H[a+44>>2];f=H[a+40>>2];k=H[a+36>>2];g=H[a+32>>2];l=H[a+28>>2];m=H[a+24>>2];a=c<<16;e=(a|0)>262144?a:262144;b=Q(e);c=m<<16;if((d|0)<=0){a=4915200}else{a=ib(d<<16,i)}if(Q(a)+b>>>0<=16){b=h<<16}else{b=ib(a,e)}a:{if((c|0)>(b|0)){a=pb(l<<16,e);break a}b:{c:{d:{d=g<<16;e:{if((b|0)<(d|0)){b=pb(c,e);if((g|0)==(m|0)){break e}a=sb(a-b|0,k-l|0,g-m|0)+pb(l<<16,e)|0;break a}c=f<<16;if((b|0)>=(c|0)){break d}}b=pb(d,e);if((f|0)==(g|0)){c=f<<16;break c}a=sb(a-b|0,j-k|0,f-g|0)+pb(k<<16,e)|0;break a}if((b|0)>=h<<16){break b}}b=pb(c,e);if((f|0)==(h|0)){break b}a=sb(a-b|0,n-j|0,h-f|0)+pb(j<<16,e)|0;break a}a=pb(n<<16,e)}a=pb(a,i)+32768>>16}else{a=0}return a}function jl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>357913940){break b}if(!c){return 1}if(K[b+4>>2]>a>>>0){break b}e=H[b+8>>2];if(e>>>0>>0){break b}g=e-a|0;e=N(c,12);if(g>>>0>>0){break b}e=H[b+12>>2]-e|0;H[b+12>>2]=e;if((e|0)<=0){break b}i=H[b+4>>2];j=H[d>>2];e=0;while(1){d=N(e,12)+a|0;if(d>>>0>>0){break a}f=H[b+8>>2];if(f>>>0>>0|f-d>>>0<12){break a}g=H[b+12>>2]-12|0;H[b+12>>2]=g;if((g|0)<=0){break a}c:{h=I[d+2|0]|I[d+3|0]<<8;if(!h){break c}d=I[d+4|0]|I[d+5|0]<<8|(I[d+6|0]<<16|I[d+7|0]<<24);d=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+j|0;if(d>>>0>>0|d>>>0>f>>>0){break a}f=f-d|0;d=((h<<8|h>>>8)&65535)<<2;if(f>>>0>>0){break a}d=g-d|0;H[b+12>>2]=d;if((d|0)>0){break c}break a}f=1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return f}return 0}function TI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-32|0;Wa=e;f=H[a+28>>2];H[e+16>>2]=f;d=H[a+20>>2];H[e+28>>2]=c;H[e+24>>2]=b;b=d-f|0;H[e+20>>2]=b;f=b+c|0;j=2;a:{b:{b=e+16|0;d=Da(H[a+60>>2],b|0,2,e+12|0)|0;if(d){H[64884]=d;d=-1}else{d=0}c:{if(!d){while(1){d=H[e+12>>2];if((d|0)==(f|0)){break c}if((d|0)<0){break b}g=H[b+4>>2];h=g>>>0>>0;i=(h<<3)+b|0;g=d-(h?g:0)|0;H[i>>2]=g+H[i>>2];i=(h?12:4)+b|0;H[i>>2]=H[i>>2]-g;f=f-d|0;b=h?b+8|0:b;j=j-h|0;d=Da(H[a+60>>2],b|0,j|0,e+12|0)|0;if(d){H[64884]=d;d=-1}else{d=0}if(!d){continue}break}}if((f|0)!=-1){break b}}b=H[a+44>>2];H[a+28>>2]=b;H[a+20>>2]=b;H[a+16>>2]=b+H[a+48>>2];a=c;break a}H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a>>2]=H[a>>2]|32;a=0;if((j|0)==2){break a}a=c-H[b+4>>2]|0}Wa=e+32|0;return a|0}function Cc(a){var b=0,c=0,d=0;a:{if(!qb(a,0,1)){b=H[a+72>>2];break a}b=H[a+64>>2];b:{if(b>>>0>2]){c=H[a+72>>2];d=H[a+84>>2];b=H[a+80>>2]+N(b,20)|0;break b}d=H[a+84>>2];c=H[a+72>>2];b=d+N(c?c-1|0:0,20)|0}c=N(c,20)+d|0;d=H[b+4>>2];H[c>>2]=H[b>>2];H[c+4>>2]=d;H[c+16>>2]=H[b+16>>2];d=H[b+12>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=d;H[c>>2]=9676;b=H[a+72>>2]+1|0;H[a+72>>2]=b}b=H[a+84>>2]+N(b?b-1|0:0,20)|0;G[b+16>>1]=J[b+16>>1]&65407;c:{if(I[a+61|0]){d:{if(H[a+84>>2]==H[a+80>>2]){b=H[a+72>>2];if((b|0)==H[a+64>>2]){break d}}if(!qb(a,1,1)){break c}c=H[a+80>>2]+N(H[a+64>>2],20)|0;d=H[c+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=d;H[b+16>>2]=H[c+16>>2];d=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=d;b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=H[a+64>>2]+1}}function uu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=H[a+20>>2];a:{if((g|0)<=0){break a}f=H[a>>2];h=g-1|0;e=g+1<<1;b:{while(1){d=h+k|0;l=d>>>1|0;i=d&-2;j=i+f|0;d=I[j|0]|I[j+1|0]<<8;c:{if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){d=e+j|0;d=I[d|0]|I[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break b}h=l-1|0;break c}k=l+1|0}if((h|0)>=(k|0)){continue}break}d=0;break a}f=i>>1;d=i+H[a+12>>2]|0;e=I[d|0]|I[d+1|0]<<8;d:{if(e){d=0;e=f+(b-g|0)+(((e<<8|e>>>8)&65534)>>>1)|0;b=H[a+4>>2]+(f<<1)|0;b=I[b|0]|I[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=K[a+24>>2]){break d}b=H[a+16>>2]+(b<<1)|0;b=I[b|0]|I[b+1|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535}d=0;a=H[a+8>>2]+(f<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){break a}H[c>>2]=a;d=1}}return d|0}function fM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Wa-96|0;Wa=e;F[e+40|0]=0;F[e+28|0]=0;F[e+16|0]=0;H[e+12>>2]=d;H[e+8>>2]=b;a:{if(K[a+16>>2]>c>>>0){H[e+88>>2]=0;H[e+80>>2]=0;H[e+84>>2]=0;H[65057]=0;lg(e+56|0,a,c,0);c=H[65057];H[65057]=0;if((c|0)==1){break a}H[65057]=0;f=ma(672,e+56|0,b|0,a|0,e+80|0,0,0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break a}c=H[e+84>>2];if(c>>>0>4&f){a=0;while(1){b:{if(a>>>0>=c>>>0){b=H[40911];H[64762]=H[40910];H[64763]=b;b=H[40909];H[64760]=H[40908];H[64761]=b;b=259040;break b}b=H[e+88>>2]+(a<<4)|0}H[65057]=0;da(680,e+8|0,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}b=a+5|0;a=a+1|0;c=H[e+84>>2];if(b>>>0>>0){continue}break}}H[e+84>>2]=0;hb(H[e+88>>2])}Wa=e+96|0;return f|0}a=$()|0;_()|0;H[e+84>>2]=0;hb(H[e+88>>2]);ba(a|0);X()}function Rr(a,b){var c=0,d=0,e=0;a:{b:{c:{d=H[a+4>>2];c=H[d>>2];if((c|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=Eb(H[d+8>>2],N(a,20));if(c){break c}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break a}H[d>>2]=a;H[d+8>>2]=c;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=729;H[a>>2]=b;H[a+16>>2]=0;c=I[b+2|0]|I[b+3|0]<<8;c=(b+2|0)+(((c<<8|c>>>8)&65535)<<1)|0;c=I[c+2|0]|I[c+3|0]<<8?c+4|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){b=((c<<8|c>>>8)&65535)+b|0}else{b=163632}Ic(b,a+8|0)}function aj(a,b,c,d,e){var f=0,g=0;f=Wa-16|0;Wa=f;g=f+8|0;b=H[b+28>>2];H[g>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;b=aa(998,g|0)|0;g=H[65057];H[65057]=0;a:{if((g|0)==1){break a}H[65057]=0;ga(1012,b|0,248752,248784,c|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[65057]=0;b=aa(999,f+8|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}H[65057]=0;c=aa(1013,b|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break a}H[d>>2]=c;H[65057]=0;c=aa(1009,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break a}H[e>>2]=c;H[65057]=0;da(1010,a|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[f+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Wa=f+16|0;return}c=$()|0;_()|0;a=H[f+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function nk(a,b){var c=0,d=0,e=O(0),f=O(0),g=0,h=0,i=0,j=O(0),k=O(0),l=0;g=M[b+8>>3];h=M[b>>3];b=H[a+8>>2];if(b){h=h+M[b>>3];g=g+M[b+8>>3]}b=H[a+4>>2];c=H[a>>2];l=H[c+20>>2];d=H[c+16>>2];i=H[d+28>>2];if(!i){i=vb(d);c=H[a>>2];d=H[c+16>>2]}a=H[c+24>>2];c=H[d+28>>2];if(!c){c=vb(d)}j=O(O(O(h)*O(l|0))/O(i>>>0));d=b+16|0;k=O(O(O(g)*O(a|0))/O(c>>>0));c=H[b+12>>2];a=H[b+8>>2];a:{b:{if(I[b+4|0]){if(!H[d>>2]){break a}e=L[b+20>>2];f=L[b+24>>2];if(e==L[b+28>>2]&f==L[b+32>>2]){break b}Ya[H[a+16>>2]](a,c,d,e,f,H[a+36>>2]);break b}j=O(O(k*L[b>>2])+j);if(!H[b+16>>2]){break a}e=L[b+20>>2];f=L[b+24>>2];if(e==L[b+28>>2]&f==L[b+32>>2]){break b}Ya[H[a+16>>2]](a,c,d,e,f,H[a+36>>2])}Ya[H[a+28>>2]](a,c,d,H[a+48>>2]);H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0}L[b+32>>2]=k;L[b+28>>2]=j}function dj(a,b,c,d,e){var f=0,g=0;f=Wa-16|0;Wa=f;g=f+8|0;b=H[b+28>>2];H[g>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;b=aa(892,g|0)|0;g=H[65057];H[65057]=0;a:{if((g|0)==1){break a}H[65057]=0;ga(991,b|0,248752,248784,c|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}H[65057]=0;b=aa(968,f+8|0)|0;c=H[65057];H[65057]=0;if((c|0)==1){break a}H[65057]=0;c=aa(992,b|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break a}F[d|0]=c;H[65057]=0;c=aa(982,b|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break a}F[e|0]=c;H[65057]=0;da(983,a|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[f+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Wa=f+16|0;return}c=$()|0;_()|0;a=H[f+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function rs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{d=I[c|0]|I[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=a;a=I[c+2|0]|I[c+3|0]<<8;a=d-((a<<8|a>>>8)&65535)|0;d=((a<<1)+c|0)+6|0;c=I[c+4|0]|I[c+5|0]<<8;a=a>>>0<((c<<8|c>>>8)&65535)>>>0?d:163632;break b}i=164024;e=I[c+2|0]|I[c+3|0]<<8;e:{if(!e){break e}e=((e<<8|e>>>8)&65535)-1|0;d=0;while(1){g=e+d>>>1|0;h=N(g,6)+c|0;f=h+4|0;f=I[f|0]|I[f+1|0]<<8;f:{if(((f<<8|f>>>8)&65535)>>>0<=a>>>0){d=I[h+6|0]|I[h+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=g+1|0;break f}i=(N(g,6)+c|0)+4|0;break e}e=g-1|0}if((e|0)>=(d|0)){continue}break}}a=i+4|0}a=I[a|0]|I[a+1|0]<<8;e=(a<<8|a>>>8)&65535}a=I[b|0]|I[b+1|0]<<8;return((a<<8|a>>>8)&65535)==(e|0)|0}function qg(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(I[a|0]){case 0:if(!b|c>>>0<2){break a}f=1;a=a+1|0;while(1){d=(a+(f<<1)|0)-2|0;d=I[d|0]|I[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return f}f=f+1|0;if((f|0)!=(c|0)){continue}break};break a;case 1:if(!b|c>>>0<2){break a}d=1;g=a+1|0;while(1){a=g+N(f,3)|0;e=I[a+2|0];a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+e>>>0>>0)){return(b+d|0)-a|0}f=f+1|0;d=(d+e|0)+1|0;if(d>>>0>>0){continue}break};break a;case 2:break b;default:break a}}if(!b|c>>>0<2){break a}d=1;while(1){e=(f<<2)+a|0;g=I[e+3|0]|I[e+4|0]<<8;g=(g<<8|g>>>8)&65535;e=I[e+1|0]|I[e+2|0]<<8;e=(e<<8|e>>>8)&65535;if(!(e>>>0>b>>>0|e+g>>>0>>0)){return(b+d|0)-e|0}f=f+1|0;d=(d+g|0)+1|0;if(d>>>0>>0){continue}break}}return 0}function qI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Wa-16|0;Wa=e;H[65057]=0;ca(894,e+8|0,a|0)|0;d=H[65057];H[65057]=0;a:{b:{c:{if((d|0)!=1){d:{if(!c|!I[e+8|0]){break d}d=H[H[a>>2]-12>>2];H[65057]=0;d=H[(a+d|0)+24>>2];f=H[65057];H[65057]=0;e:{if((f|0)==1){break e}H[65057]=0;b=ka(903,d|0,b|0,c|0)|0;d=H[65057];H[65057]=0;if((d|0)==1){break e}if((b|0)==(c|0)){break d}b=H[H[a>>2]-12>>2];H[65057]=0;da(896,a+b|0,1);b=H[65057];H[65057]=0;if((b|0)!=1){break d}}b=ea(0)|0;_()|0;kh(e+8|0);break c}kh(e+8|0);break b}b=ea(0)|0;_()|0}oa(b|0)|0;b=H[H[a>>2]-12>>2];H[65057]=0;fa(897,a+b|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}pa()}Wa=e+16|0;return a|0}a=$()|0;_()|0;H[65057]=0;ia(875);b=H[65057];H[65057]=0;if((b|0)!=1){ba(a|0);X()}ea(0)|0;_()|0;Gb();X()}function xi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=H[a+52>>2];c=I[a+32|0];a:{b:{c:{if(c){break c}d=H[a+24>>2];if(d>>>0>=K[a+28>>2]){break c}if(K[a+56>>2]>2]){break b}}if(K[a+56>>2]>=K[a+60>>2]){b=b+1|0;H[a+52>>2]=b;e=-1;if(b>>>0>16){break a}H[a+60>>2]=K[a+40>>2]>b>>>0?(1<>2]+1|0}if(c){H[a+60>>2]=256;H[a+52>>2]=9;F[a+32|0]=0;b=9}e=-1;if(H[a+4>>2]){break a}d=0;c=Di(H[a+164>>2],a+8|0,b);H[a+24>>2]=0;f=c<<3;H[a+28>>2]=f;H[a+36>>2]=c+H[a+36>>2];g=H[a+52>>2];H[a+4>>2]=g>>>0>c>>>0;if(f>>>0<=g>>>0){break a}H[a+28>>2]=(f|1)-g;if(!c){break a}}H[a+24>>2]=b+d;g=(d>>>3|0)+a|0;c=g+8|0;f=d&7;e=I[c|0]>>>f|0;d=8-f|0;a=b-d|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;e=I[c+1|0]<>>0>c>>>0){break a}f=H[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=H[a+8>>2];f=H[g+(d<<3)>>2];g=H[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}j=H[a+4>>2];f=f<<3;h=H[j+f>>2];d=H[a>>2];l=H[f+d>>2];n=h-l|0;e=e<<3;k=H[e+j>>2];m=H[d+e>>2];o=k-m|0;if(!((h|0)==(k|0)|(g|0)==(i|0))){p=i-g|0;e=h-k|0;f=0;i=0;while(1){h=b<<3;d=H[h+d>>2];c:{if((d|0)<=(m|0)){d=d+o|0;break c}if((d|0)>=(l|0)){d=d+n|0;break c}if(!f){i=pb(e,p)}d=ib(H[H[a+8>>2]+h>>2]-g|0,i)+k|0;j=H[a+4>>2];f=1}H[h+j>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=H[a>>2];continue}}while(1){a=b<<3;e=H[a+d>>2];H[a+j>>2]=(e|0)>(m|0)?(e|0)<(l|0)?k:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function xb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){f=H[a- -64>>2];a:{b:{c:{h=H[a+60>>2];if((h|0)>=0){e=f+1|0;g=(e|0)>0?e:0;if(g>>>0<=h>>>0){break b}e=h;while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(!(e>>>0>>0|e>>>0>153391688)){f=Eb(H[a+68>>2],N(e,28));if(f){break c}f=H[a+64>>2]}H[a+60>>2]=-1}H[64766]=H[40914];e=H[40913];H[64764]=H[40912];H[64765]=e;e=H[40911];H[64762]=H[40910];H[64763]=e;e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break a}H[a+60>>2]=e;H[a+68>>2]=f;f=H[a+64>>2]}if(f>>>0>>0){kb(H[a+68>>2]+N(f,28)|0,0,N(g-f|0,28))}H[a+64>>2]=g;f=g;e=(H[a+68>>2]+N(f,28)|0)-28|0}H[e+12>>2]=c;H[e+8>>2]=d;H[e+4>>2]=f;H[e>>2]=b;H[e+16>>2]=0-(c&1)&d;H[e+20>>2]=H[a+52>>2];H[e+24>>2]=H[a+56>>2]}}function rn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;H[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=H[g+28>>2];j=H[g+24>>2];k=H[g+20>>2];h=H[g+16>>2];l=H[g+12>>2];i=H[g+8>>2];f=H[g+4>>2];g=H[g>>2];q=d;e=ib(c+e|0,a);if(Q(b)+Q(e)>>>0<=16){c=j<<16}else{c=ib(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=pb(f<<16,b);break a}b:{c:{d:{n=i<<16;e:{if((n|0)>(c|0)){c=pb(d,b);if((g|0)==(i|0)){break e}b=sb(e-c|0,l-f|0,i-g|0)+pb(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=pb(n,b);if((h|0)==(i|0)){f=h<<16;break c}b=sb(e-c|0,k-l|0,h-i|0)+pb(l<<16,b)|0;break a}if((c|0)>=j<<16){break b}}c=pb(f,b);if((h|0)==(j|0)){break b}b=sb(e-c|0,m-k|0,j-h|0)+pb(k<<16,b)|0;break a}b=pb(m<<16,b)}H[q>>2]=b;a=pb(b,a<<1)}else{a=0}H[o>>2]=p+a}}function tL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[b+100>>2];c=H[H[c+80>>2]+N(H[c+64>>2],20)>>2];e=I[a+2|0]|I[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=163632}f=Kb(d,c);a:{if((f|0)==-1){break a}a=I[a+4|0]|I[a+5|0]<<8;e=c+(a<<8|a>>>8)&65535;a=H[b+100>>2];c=H[a+80>>2]+N(H[a+64>>2],20)|0;a=J[c+12>>1]|16;if(I[b+140|0]){a=Xc(H[b+108>>2],e)|a&112}G[c+12>>1]=a;b=H[b+100>>2];if(!qb(b,1,1)){break a}a=H[b+64>>2];b:{if(a>>>0>2]){c=H[b+72>>2];d=H[b+84>>2];a=H[b+80>>2]+N(a,20)|0;break b}d=H[b+84>>2];c=H[b+72>>2];a=d+N(c?c-1|0:0,20)|0}c=N(c,20)+d|0;d=H[a+4>>2];H[c>>2]=H[a>>2];H[c+4>>2]=d;H[c+16>>2]=H[a+16>>2];d=H[a+12>>2];H[c+8>>2]=H[a+8>>2];H[c+12>>2]=d;H[c>>2]=e;H[b+64>>2]=H[b+64>>2]+1;H[b+72>>2]=H[b+72>>2]+1}return(f|0)!=-1|0}function Yb(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){return mb(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}F[d|0]=I[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;F[d|0]=I[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;H[c+a>>2]=H[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;F[c+a|0]=I[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){H[d>>2]=H[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){F[d|0]=I[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function lc(){var a=0,b=0,c=0,d=0,e=0,f=0;if(I[260472]){return H[65117]}b=Wa-32|0;Wa=b;a:{b:{while(1){d=Qp(a,1<>2]=d;if((d|0)!=-1){a=a+1|0;if((a|0)==6){break b}continue}break}break a}c=244744;if(!Bc(b+8|0,244744,24)){break a}c=244768;if(!Bc(b+8|0,244768,24)){break a}a=0;if(!I[260300]){while(1){e=(a<<2)+260252|0,f=Qp(a,239535),H[e>>2]=f;a=a+1|0;if((a|0)!=6){continue}break}F[260300]=1;H[65069]=H[65063]}c=260252;if(!Bc(b+8|0,260252,24)){break a}c=260276;if(!Bc(b+8|0,260276,24)){break a}c=tb(24);if(!c){break a}a=H[b+12>>2];H[c>>2]=H[b+8>>2];H[c+4>>2]=a;a=H[b+28>>2];H[c+16>>2]=H[b+24>>2];H[c+20>>2]=a;a=H[b+20>>2];H[c+8>>2]=H[b+16>>2];H[c+12>>2]=a}Wa=b+32|0;F[260472]=1;H[65117]=c;return c|0}function Fe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=H[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}g=H[b+12>>2];h=g-2|0;H[b+12>>2]=h;e=1;if((h|0)<=0){break a}b:{c:{d:{c=I[c|0]|I[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=f>>>0){break d}break a}if(a>>>0>>0|a>>>0>d>>>0){break a}f=d-a|0;if(f>>>0<6){break a}c=g-8|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a+2|0]|I[a+3|0]<<8;g=(e<<8|e>>>8)&65535;a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535;d=c-6|0;if(g>>>0>>0){break c}e=1;a=(g-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}e=0;if(a>>>0>f>>>0){break b}d=c-a|0;break c}if(a>>>0>d>>>0){break a}e=0;if(d-a>>>0<6){break b}d=g-8|0}H[b+12>>2]=d;e=(d|0)>0}return e}return 0}function vC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=wb(c);f=b+18|0;a:{b:{if((b|0)<=-18){a=6;if(f){break a}a=0;break b}a=H[a>>2];a=Ya[H[a+4>>2]](a,f)|0;if(!a){return 64}kb(a,0,f)}f=mb(a,c,b);b=f+b|0;a=I[11598]|I[11599]<<8;F[b+16|0]=a;F[b+17|0]=a>>>8;a=I[11594]|I[11595]<<8|(I[11596]<<16|I[11597]<<24);c=I[11590]|I[11591]<<8|(I[11592]<<16|I[11593]<<24);F[b+8|0]=c;F[b+9|0]=c>>>8;F[b+10|0]=c>>>16;F[b+11|0]=c>>>24;F[b+12|0]=a;F[b+13|0]=a>>>8;F[b+14|0]=a>>>16;F[b+15|0]=a>>>24;a=I[11586]|I[11587]<<8|(I[11588]<<16|I[11589]<<24);c=I[11582]|I[11583]<<8|(I[11584]<<16|I[11585]<<24);F[b|0]=c;F[b+1|0]=c>>>8;F[b+2|0]=c>>>16;F[b+3|0]=c>>>24;F[b+4|0]=a;F[b+5|0]=a>>>8;F[b+6|0]=a>>>16;F[b+7|0]=a>>>24;H[d>>2]=f;H[e>>2]=0;a=0}return a|0}function Bq(a,b,c,d){a:{switch(b-9|0){case 0:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=H[b>>2];return;case 6:b=H[c>>2];H[c>>2]=b+4;b=G[b>>1];H[a>>2]=b;H[a+4>>2]=b>>31;return;case 7:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=J[b>>1];H[a+4>>2]=0;return;case 8:b=H[c>>2];H[c>>2]=b+4;b=F[b|0];H[a>>2]=b;H[a+4>>2]=b>>31;return;case 9:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=I[b|0];H[a+4>>2]=0;return;case 16:b=H[c>>2]+7&-8;H[c>>2]=b+8;M[a>>3]=M[b>>3];return;case 17:Ya[d|0](a,c);default:return;case 1:case 4:case 14:b=H[c>>2];H[c>>2]=b+4;b=H[b>>2];H[a>>2]=b;H[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=H[c>>2];H[c>>2]=b+4;H[a>>2]=H[b>>2];H[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=H[c>>2]+7&-8;H[c>>2]=b+8;c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c}function ie(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!a){return 35}a:{b:{c:{if((b|0)!=1970170211){if(H[a+36>>2]|b){break c}return 6}f=38;e=H[a+40>>2];if(!e){break a}c=e+(H[a+36>>2]<<2)|0;b=c-4|0;if(e>>>0<=b>>>0){while(1){d=H[b>>2];d:{if(H[d+4>>2]!=1970170211){break d}e:{switch(J[d+8>>1]){case 3:if(J[d+10>>1]!=10){break d}break b;case 0:break e;default:break d}}if(J[d+10>>1]==4){break b}}b=b-4|0;if(e>>>0<=b>>>0){continue}break}}while(1){c=c-4|0;if(e>>>0>c>>>0){break a}d=H[c>>2];if(H[d+4>>2]!=1970170211){continue}break}break b}c=H[a+40>>2];if(!c){return 38}f=6;d=H[a+36>>2];if((d|0)<=0){break a}e=(d<<2)+c|0;while(1){d=H[c>>2];if(H[d+4>>2]==(b|0)){break b}c=c+4|0;if(e>>>0>c>>>0){continue}break}break a}H[a+92>>2]=d;f=0}return f|0}function XI(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;H[c+12>>2]=b;b=1;a=H[c+12>>2];a:{b:{if((a|0)<=2050){switch(a-1026|0){case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 10:case 12:case 14:case 16:case 17:case 18:case 19:case 20:case 22:case 23:case 24:case 25:case 27:case 29:case 31:case 32:case 34:case 36:case 37:case 40:case 42:case 43:case 61:case 65:case 78:case 84:case 108:case 128:break a;default:break b}}if((a|0)<=3078){switch(a-2051|0){case 0:case 4:case 6:case 16:case 17:case 19:case 64:break a;default:break b}}if((a|0)<=4104){a=a-3079|0;if(a>>>0>3|(a|0)==1){break b}break a}if((a|0)<=9241){if((a|0)==4105){break a}if((a|0)!=7177){break b}break a}if((a|0)==9242|(a|0)==10266){break a}}b=0}Wa=c+16|0;return b|0}function Ym(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=F[a|0];a=0;e=52;b:{while(1){h=a+e|0;c=(h&-2)+37440|0;c=(I[c+2|0]<<8|I[c+3|0])+37440|0;d=I[c|0];i=d&127;if((g|0)==(i|0)){break b}c=h>>1;d=(g|0)>(i|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){d=I[c|0];while(1){a=d<<24;d=I[c+1|0];g=F[f|0];c:{d:{if(a>>24<0){if((g|0)!=(d&127)){break d}c=c+1|0;break c}e=d&127;if(!e){break a}a=((d&128?3:1)+c|0)+1|0;while(1){c=(I[a+1|0]|I[a|0]<<8)+37440|0;d=I[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}return 0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|F[c+1|0]>=0){break a}return I[c+3|0]|I[c+2|0]<<8}return 0}function Qp(a,b){var c=0,d=0,e=0;a:{if(I[b|0]){break a}b=uf(239275);if(I[b|0]?b:0){break a}b=uf(N(a,12)+244800|0);if(I[b|0]?b:0){break a}b=uf(239292);if(I[b|0]?b:0){break a}b=239314}b:{while(1){d=I[b+c|0];if(!(!d|(d|0)==47)){d=23;c=c+1|0;if((c|0)!=23){continue}break b}break}d=c}e=239314;c:{d:{c=I[b|0];e:{f:{if(!(I[b+d|0]|(c|0)==46)){e=b;if((c|0)!=67){break f}}if(!I[e+1|0]){break e}}if(!rb(e,239314)){break e}if(rb(e,239196)){break d}}if(!a){c=244708;if(I[e+1|0]==46){break c}}return 0}b=0;c=H[65062];if(c){while(1){if(!rb(e,c+8|0)){break c}c=H[c+32>>2];if(c){continue}break}}c=tb(36);if(c){b=H[61178];H[c>>2]=H[61177];H[c+4>>2]=b;b=c+8|0;mb(b,e,d);F[b+d|0]=0;H[c+32>>2]=H[65062];H[65062]=c;b=c}c=a|b?b:244708}return c}function uk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{h=H[b+4>>2];b:{if(h>>>0>a>>>0){break b}g=H[b+8>>2];if(g>>>0>>0){break b}c=g-a|0;if(c>>>0<4){break b}d=H[b+12>>2];e=d-4|0;H[b+12>>2]=e;if((I[a|0]|I[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<8){break b}c=d-12|0;H[b+12>>2]=c;if((c|0)<=0){break b}f=1;d=I[a+6|0]|I[a+7|0]<<8;if(!d){break b}f=(d<<8|d>>>8)&65535;i=f>>>0>1?f:1;a=a+8|0;d=0;while(1){if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<2){break a}c=c-2|0;H[b+12>>2]=c;if((c|0)<=0){break a}e=I[a|0]|I[a+1|0]<<8;f=((e<<8|e>>>8)&65535)<<2;c:{if(!e){break c}e=a+2|0;if(e>>>0>>0|e>>>0>g>>>0|f>>>0>g-e>>>0){break a}c=c-f|0;H[b+12>>2]=c;if((c|0)>0){break c}break a}a=(f|2)+a|0;f=1;d=d+1|0;if((i|0)!=(d|0)){continue}break}}return f}return 0}function Zp(a,b,c,d,e,f){var g=0;g=Wa-80|0;Wa=g;a:{if((f|0)>=16384){cc(g+32|0,b,c,d,e,0,0,0,2147352576);d=H[g+40>>2];e=H[g+44>>2];b=H[g+32>>2];c=H[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}cc(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=H[g+24>>2];e=H[g+28>>2];b=H[g+16>>2];c=H[g+20>>2];break a}if((f|0)>-16383){break a}cc(g- -64|0,b,c,d,e,0,0,0,7471104);d=H[g+72>>2];e=H[g+76>>2];b=H[g+64>>2];c=H[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}cc(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)>-48920?f:-48920)+32538|0;d=H[g+56>>2];e=H[g+60>>2];b=H[g+48>>2];c=H[g+52>>2]}cc(g,b,c,d,e,0,0,0,f+16383<<16);b=H[g+12>>2];H[a+8>>2]=H[g+8>>2];H[a+12>>2]=b;b=H[g+4>>2];H[a>>2]=H[g>>2];H[a+4>>2]=b;Wa=g+80|0}function bA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Wa-16|0;Wa=e;a:{if(H[a+4>>2]){break a}d=6;b:{if(H[a+12>>2]!=1){break b}g=H[a>>2];c=H[a+28>>2];if(c){H[(H[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=H[a+32>>2];c:{if(h>>>0<=d>>>0){f=H[a+36>>2];break c}H[e+8>>2]=0;i=c+8&-8;f=jb(g,16,d,i,H[a+36>>2],e+8|0);H[a+36>>2]=f;d=H[e+8>>2];if(d){break b}H[a+32>>2]=i}c=(c<<4)+f|0;H[c+12>>2]=0;H[c>>2]=0;H[a+28>>2]=h;c=H[a- -64>>2];if(c){H[(H[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=H[a+68>>2];d:{if(f>>>0<=b>>>0){b=H[a+72>>2];break d}H[e+12>>2]=0;d=g;g=c+8&-8;b=jb(d,16,b,g,H[a+72>>2],e+12|0);H[a+72>>2]=b;d=H[e+12>>2];if(d){break b}H[a+68>>2]=g}b=(c<<4)+b|0;H[b+12>>2]=0;H[b>>2]=0;H[a+64>>2]=f;break a}H[a+4>>2]=d}Wa=e+16|0}function Mg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=e>>8;if((d|0)==(f|0)){ge(a,j,b);return}p=e&255;g=c&255;k=c>>8;if((k|0)!=(j|0)){h=f-d|0;l=1;e=e-c|0;a:{if((e|0)>0){m=256;c=256-g|0;break a}e=0-e|0;l=-1;c=g}i=N(c,h);c=(i|0)/(e|0)|0;n=i-N(c,e)|0;o=n>>31;i=c+o|0;H[a+184>>2]=i+H[a+184>>2];H[a+180>>2]=H[a+180>>2]+N(i,g|m);c=k+l|0;ge(a,c,b);d=d+i|0;if((c|0)!=(j|0)){h=h<<8;g=(h|0)/(e|0)|0;h=h-N(e,g)|0;i=h>>31;k=(i&e)+h|0;i=g+i|0;g=(e&o)+n|0;while(1){g=g+k|0;h=i+((g|0)>=(e|0))|0;H[a+184>>2]=h+H[a+184>>2];H[a+180>>2]=H[a+180>>2]+(h<<8);c=c+l|0;ge(a,c,b);g=g-((e|0)>(g|0)?0:e)|0;d=d+h|0;if((c|0)!=(j|0)){continue}break}}g=256-m|0}b=f-d|0;H[a+184>>2]=b+H[a+184>>2];H[a+180>>2]=H[a+180>>2]+N(b,g+p|0)}function yl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=H[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}f=H[b+12>>2];e=f-2|0;H[b+12>>2]=e;if((e|0)<=0){break a}e=I[a|0]|I[a+1|0]<<8;if(!e){break a}g=d;d=a+4|0;if(g>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}c=f-6|0;H[b+12>>2]=c;if((c|0)<=0){break a}h=1;c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!f){break a}d=0;c=a+8|0;if(!xl(c,b,(e<<8|e>>>8)&65535)){return 0}while(1){d=d+1|0;h=(f|0)==(d|0);if(h){break a}g=c;c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;e=I[a|0]|I[a+1|0]<<8;if(xl(c,b,(e<<8|e>>>8)&65535)){continue}break}}return h}function Dl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=H[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}f=H[b+12>>2];e=f-2|0;H[b+12>>2]=e;if((e|0)<=0){break a}e=I[a|0]|I[a+1|0]<<8;if(!e){break a}g=d;d=a+4|0;if(g>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}c=f-6|0;H[b+12>>2]=c;if((c|0)<=0){break a}h=1;c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!f){break a}d=0;c=a+8|0;if(!Cl(c,b,(e<<8|e>>>8)&65535)){return 0}while(1){d=d+1|0;h=(f|0)==(d|0);if(h){break a}g=c;c=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);c=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;e=I[a|0]|I[a+1|0]<<8;if(Cl(c,b,(e<<8|e>>>8)&65535)){continue}break}}return h}function lk(a,b){var c=0,d=0,e=0,f=O(0),g=0,h=O(0),i=O(0),j=O(0),k=0;c=H[a>>2];e=H[a+4>>2];k=H[e+20>>2];f=O(M[b>>3]);g=H[e+16>>2];d=H[g+28>>2];if(!d){d=vb(g);e=H[a+4>>2];g=H[e+16>>2]}f=O(O(f*O(k|0))/O(d>>>0));d=c+16|0;j=O(O(M[b+8>>3])*O(H[e+24>>2]));a=H[g+28>>2];if(!a){a=vb(g)}j=O(j/O(a>>>0));b=H[c+12>>2];a=H[c+8>>2];a:{b:{if(I[c+4|0]){if(!H[d>>2]){break a}h=L[c+20>>2];i=L[c+24>>2];if(h==L[c+28>>2]&i==L[c+32>>2]){break b}Ya[H[a+16>>2]](a,b,d,h,i,H[a+36>>2]);break b}f=O(O(j*L[c>>2])+f);if(!H[c+16>>2]){break a}h=L[c+20>>2];i=L[c+24>>2];if(h==L[c+28>>2]&i==L[c+32>>2]){break b}Ya[H[a+16>>2]](a,b,d,h,i,H[a+36>>2])}Ya[H[a+28>>2]](a,b,d,H[a+48>>2]);H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0}L[c+32>>2]=j;L[c+28>>2]=f}function kb(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}F[a|0]=b;e=a+c|0;F[e-1|0]=b;if(c>>>0<3){break a}F[a+2|0]=b;F[a+1|0]=b;F[e-3|0]=b;F[e-2|0]=b;if(c>>>0<7){break a}F[a+3|0]=b;F[e-4|0]=b;if(c>>>0<9){break a}e=0-a&3;f=e+a|0;d=N(b&255,16843009);H[f>>2]=d;b=c-e&-4;c=b+f|0;H[c-4>>2]=d;if(b>>>0<9){break a}H[f+8>>2]=d;H[f+4>>2]=d;H[c-8>>2]=d;H[c-12>>2]=d;if(b>>>0<25){break a}H[f+24>>2]=d;H[f+20>>2]=d;H[f+16>>2]=d;H[f+12>>2]=d;H[c-16>>2]=d;H[c-20>>2]=d;H[c-24>>2]=d;H[c-28>>2]=d;c=b;b=f&4|24;c=c-b|0;if(c>>>0<32){break a}d=HM(d,0,1,1);e=Xa;b=b+f|0;while(1){H[b+24>>2]=d;H[b+28>>2]=e;H[b+16>>2]=d;H[b+20>>2]=e;H[b+8>>2]=d;H[b+12>>2]=e;H[b>>2]=d;H[b+4>>2]=e;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function iw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=Wa-1536|0;Wa=f;a:{b:{if(d&16){if(!c){break b}d=0;kb(e,0,c<<2);break a}d=Ya[H[H[H[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,H[a+424>>2],H[a+532>>2],0,0,109)|0;if(d){break a}F[f+76|0]=0;F[f+78|0]=1;H[f+1372>>2]=H[a+404>>2];H[f+1376>>2]=H[a+408>>2];H[f+1380>>2]=H[a+412>>2];H[f+1384>>2]=H[a+416>>2];H[f+1504>>2]=H[a+548>>2];H[f+1508>>2]=H[a+544>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!Kf(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=H[H[H[f+12>>2]+128>>2]+52>>2];if(d){Ya[H[H[d>>2]+4>>2]](H[d+4>>2],f+1528|0)}d=H[f+48>>2];d=(((d>>31)+d|0)+32768&-65536)>>16;break c}d=0}H[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}Wa=f+1536|0;return d|0}function Gt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;c=H[a>>2];a:{if(I[c+8|0]&2){if(!(Ya[H[H[c+540>>2]+104>>2]](c,b,f+12|0)|0)){sk(a,H[f+12>>2]);break a}H[a+44>>2]=-1;c=H[a>>2]}Oe(c,b);c=H[a>>2];b=H[H[c+712>>2]+3080>>2];c=oc(H[H[c+96>>2]+4>>2],11010);if(!c|!b){break a}b=H[b>>2];if(!b){break a}g=Ya[b|0](c)|0;if(!g){break a}h=H[H[a>>2]+712>>2];c=H[h+1440>>2];i=H[H[a+40>>2]>>2];Ya[H[g+4>>2]](H[i>>2],H[a+16>>2],H[a+20>>2],0,0);e=H[h+2024>>2];if(!e){break a}while(1){b=H[a+16>>2];e=e-1|0;j=e<<2;d=H[H[(j+h|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){b=sb(b,c,d);d=sb(H[a+20>>2],c,d);break b}d=H[a+20>>2]}Ya[H[g+4>>2]](H[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Wa=f+16|0;return 0}function Af(a,b,c){var d=0,e=0,f=0,g=0;if(!(H[a+20>>2]|!c)){a:{b:{c:{e=H[a+40>>2];g=H[e+8>>2];if((g|0)>=0){d=H[e+12>>2];f=d+1|0;f=(f|0)>0?f:0;if(f>>>0<=g>>>0){break b}d=g;while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>268435454)){g=Eb(H[e+16>>2],d<<4);if(g){break c}}H[e+8>>2]=-1}d=H[40911];H[64762]=H[40910];H[64763]=d;d=H[40909];H[64760]=H[40908];H[64761]=d;d=259040;break a}H[e+8>>2]=d;H[e+16>>2]=g;d=H[e+12>>2]}if(d>>>0>>0){kb(H[e+16>>2]+(d<<4)|0,0,f-d<<4)}H[e+12>>2]=f;d=(H[e+16>>2]+(f<<4)|0)-16|0}if(H[H[a+40>>2]+8>>2]<0){H[a+20>>2]=H[a+20>>2]|1}H[d+12>>2]=c;F[d|0]=I[d|0]&192|2;a=H[H[a+40>>2]>>2];H[d+8>>2]=0;H[d+4>>2]=b-a&268435455|H[d+4>>2]&-268435456}} +function bi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=H[b+4>>2]+(c<<4)|0;c=H[j+4>>2];if(!c){return 0}n=H[j+12>>2]+(N(c,d)<<1)|0;while(1){a:{if(!J[b+8>>1]){d=65536;break a}c=H[H[b+16>>2]+(H[H[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){g=d;e=H[c+4>>2];h=H[c>>2];b:{if((e|0)<(h|0)){break b}i=H[c+8>>2];if((i|0)<(e|0)|!(!e|((i|0)<=0|(h|0)>=0))){break b}if(!e){break b}f=H[H[H[a+736>>2]+8>>2]+(l<<2)>>2];if((f|0)==(e|0)){break b}d=0;if((f|0)<=(h|0)|(f|0)>=(i|0)){break a}if((e|0)>(f|0)){g=sb(g,f-h|0,e-h|0);break b}g=sb(g,i-f|0,i-e|0)}d=g;c=c+12|0;l=l+1|0;if(l>>>0>1]){continue}break}}m=ib(d,J[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0>2]){continue}break}return m+32768>>16}function zi(a){var b=0,c=0;a:{if(!a){break a}c=H[a>>2];if(!c){break a}H[a+44>>2]=0;H[a+48>>2]=0;b=H[a+52>>2];if((b|0)!=(a+72|0)){if(b){Ya[H[c+8>>2]](c,b)}H[a+52>>2]=0}H[a+56>>2]=0;H[a+60>>2]=0;b=H[a- -64>>2];if((b|0)!=(a+864|0)){if(b){Ya[H[c+8>>2]](c,b)}H[a+64>>2]=0}b=a+1392|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){Ya[H[c+8>>2]](c,b)}H[a+1400>>2]=0}b=a+1404|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){Ya[H[c+8>>2]](c,b)}H[a+1412>>2]=0}b=H[a+40>>2];if((b|0)!=(a+2760|0)){if(b){Ya[H[c+8>>2]](c,b)}H[a+40>>2]=0}H[a+32>>2]=0;H[a+36>>2]=0;b=H[a+28>>2];if((b|0)!=(a+2792|0)){if(b){Ya[H[c+8>>2]](c,b)}H[a+28>>2]=0}H[a+20>>2]=0;H[a+24>>2]=0;H[a>>2]=0}}function yf(a,b,c){var d=0,e=0,f=0;d=I[b|0];if((d|0)==30){return yh(a,b,c,0)}f=b+1|0;a:{b:{switch(d-28|0){case 0:e=0;if(K[a+8>>2]<=b+2>>>0){break a}e=(I[b+2|0]|I[f|0]<<8)<<16>>16;break a;case 1:e=0;if(K[a+8>>2]<=b+4>>>0){break a}a=I[b+1|0]|I[b+2|0]<<8|(I[b+3|0]<<16|I[b+4|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break a;default:break b}}e=d-139|0;if(d>>>0<=246){break a}a=H[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break a}e=(I[f|0]|d<<8)-63124|0;break a}e=0;if(a>>>0<=f>>>0){break a}e=64148-(I[f|0]|d<<8)|0}d=e;if(c){a=c<<2;b=d>>31;if(H[a+27584>>2]<((b^d)-b|0)){return(d|0)>0?2147483647:-2147483647}d=N(H[a+27536>>2],d)}return(d|0)<=32767?(d|0)<-32767?-2147483647:d<<16:2147483647}function vG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a=Wa-208|0;Wa=a;G[a+204>>1]=I[248795]|I[248796]<<8;H[a+200>>2]=I[248791]|I[248792]<<8|(I[248793]<<16|I[248794]<<24);h=lc();H[a>>2]=e;f=a+176|0;i=Lc(f,20,h,a+200|0,a);e=i+f|0;h=cd(f,e,c);g=a+8|0;f=H[c+28>>2];H[g>>2]=f;H[f+4>>2]=H[f+4>>2]+1;H[65057]=0;g=aa(998,g|0)|0;f=H[65057];H[65057]=0;if((f|0)!=1){f=H[a+8>>2];j=H[f+4>>2]-1|0;H[f+4>>2]=j;if((j|0)==-1){Ya[H[H[f>>2]+8>>2]](f)}f=a+16|0;Ya[H[H[g>>2]+48>>2]](g,a+176|0,e,f)|0;g=b;b=f+(i<<2)|0;b=jf(g,f,(e|0)==(h|0)?b:(a+(h-a<<2)|0)-688|0,b,c,d);Wa=a+208|0;return b|0}c=$()|0;_()|0;a=H[a+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function gK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=H[H[a+124>>2]>>2];if(!i){break a}e=H[c+68>>2];if(!e){break a}d=e-1|0;a=0;f=H[c+80>>2];b=I[f+15|0];while(1){b:{if((a|0)==(d|0)){a=e;break b}a=a+1|0;if((b|0)==I[(N(a,20)+f|0)+15|0]){continue}}break}if(!e){break a}d=0;g=f;h=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=N(d,20)+f|0;if(!(H[a+4>>2]&i)){break c}if(I[a+12|0]&16){F[a+18|0]=18;g=H[c+80>>2];h=H[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?h:a;j=d-1|0;k=I[(N(b,20)+g|0)+15|0];a=b;while(1){d:{if((a|0)==(j|0)){a=d;break d}a=a+1|0;if(I[(N(a,20)+g|0)+15|0]==(k|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}}function Xt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=H[a+12>>2];H[d+8>>2]=0;H[d+12>>2]=0;H[d>>2]=0;H[d+4>>2]=0;e=b;f=H[b+84>>2];b=H[b+80>>2];g=Ya[H[b+208>>2]](e,f,c,d,H[b- -64>>2])|0;if(g){c=H[a+12>>2];a:{if(c){b=H[d>>2];e=H[c+20>>2];f=H[a+20>>2];if((e|0)!=(f|0)){b=IM(HM(f,f>>31,b,b>>31),Xa,e,e>>31)}H[d>>2]=b;b=H[d+4>>2];e=H[c+24>>2];f=H[a+24>>2];if((e|0)!=(f|0)){b=IM(HM(f,f>>31,b,b>>31),Xa,e,e>>31)}H[d+4>>2]=b;e=H[d+8>>2];b=H[c+20>>2];f=H[a+20>>2];if((b|0)!=(f|0)){e=IM(HM(f,f>>31,e,e>>31),Xa,b,b>>31)}b=d+12|0;H[d+8>>2]=e;d=H[d+12>>2];c=H[c+24>>2];a=H[a+24>>2];if((c|0)==(a|0)){break a}d=IM(HM(a,a>>31,d,d>>31),Xa,c,c>>31);break a}b=d+12|0;d=H[d+12>>2]}H[b>>2]=d}return g|0}function ts(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=I[a|0]|I[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){k=H[c+8>>2];l=H[c>>2];d=I[i|0]|I[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=163632}e=I[d|0]|I[d+1|0]<<8;g=(((e<<8|e>>>8)&65535)<<1)+d|0;d=g;f=I[d+2|0]|I[d+3|0]<<8;h=(f<<8|f>>>8)&65535;d=(d+2|0)+(f?h<<1:2)|0;b:{if(H[b+12>>2]!=(h|0)|(I[b+16|0]?e|(I[d|0]|I[d+1|0]<<8):0)){break b}if(h>>>0<2){return 1}f=1;d=1;g=g+4|0;if(!(Ya[l|0](H[H[b+8>>2]+4>>2],g,k)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}m=d<<1;d=e;if(Ya[l|0](H[H[b+8>>2]+(d<<2)>>2],g+m|0,k)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}return f}function iz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;d=H[b>>2];if(K[d+16>>2]>c>>>0){b=H[d+140>>2];f=J[b+96>>1];e=H[b+56>>2];if(c){b=c-1|0}else{b=H[d+148>>2]}b=e+N(b,36)|0;g=J[b+10>>1];c=G[b+20>>1];e=G[b+16>>1];h=H[b+24>>2];i=J[b+14>>1];j=J[b+12>>1];H[a+84>>2]=H[b+28>>2];H[a+80>>2]=j;H[a+76>>2]=i;Yi(a,h);a:{b:{switch(f-1|0){case 0:F[a+94|0]=1;break a;case 1:F[a+94|0]=3;break a;case 3:F[a+94|0]=4;break a;case 7:break b;default:break a}}G[a+92>>1]=256;F[a+94|0]=2}H[a+104>>2]=c;H[a+100>>2]=e;H[a+72>>2]=1651078259;H[a+40>>2]=g<<6;H[a+36>>2]=c<<6;H[a+32>>2]=e<<6;H[a+24>>2]=H[a+80>>2]<<6;H[a+28>>2]=H[a+76>>2]<<6;ff(a+24|0,J[H[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function Cr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{h=H[b+4>>2];if(h>>>0>a>>>0){break a}d=H[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=H[b+12>>2]-2|0;H[b+12>>2]=f;g=1;if((f|0)<=0){break a}e=I[a|0]|I[a+1|0]<<8;b:{if(!e){break b}g=a+2|0;if(g>>>0>>0|d>>>0>>0){break a}e=(e<<8|e>>>8)&65535;i=e<<2;if(i>>>0>d-g>>>0){break a}d=f-i|0;H[b+12>>2]=d;g=0;if((d|0)<=0){break b}f=a+2|0;if(h>>>0>f>>>0){break b}h=e>>>0>1?e:1;d=0;while(1){e=H[b+8>>2];if(e>>>0>>0|e-f>>>0<4){break b}f=H[c>>2];e=H[b+12>>2]-4|0;H[b+12>>2]=e;if((e|0)<=0){break b}if(!Ch(((d<<2)+a|0)+4|0,b,f)){break b}g=1;d=d+1|0;if((h|0)==(d|0)){break b}g=0;f=((d<<2)+a|0)+2|0;if(f>>>0>=K[b+4>>2]){continue}break}}return g}return 0}function zu(a){a=a|0;var b=0,c=0,d=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+4>>2]=H[a>>2];H[a+8>>2]=H[a+12>>2];Sk(a);a:{b:{c:{c=H[a+44>>2];if((c|0)>=0){b=H[a+48>>2];d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){c=Eb(H[a+52>>2],b<<2);if(c){break c}}H[a+44>>2]=-1}H[64760]=H[40908];break a}H[a+44>>2]=b;H[a+52>>2]=c;b=H[a+48>>2]}if(b>>>0>>0){kb(H[a+52>>2]+(b<<2)|0,0,d-b<<2)}H[a+48>>2]=d;c=H[a+52>>2];H[64760]=H[40908];c=(c+(d<<2)|0)-4|0;if((c|0)==259040){break a}H[c>>2]=0}H[a+56>>2]=1;H[a+60>>2]=1;H[a+72>>2]=0;H[a+76>>2]=0;F[a+68|0]=1;H[a- -64>>2]=0;H[a+80>>2]=0;H[a+84>>2]=0;H[a+88>>2]=0}function Eh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=I[a|0]|I[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=I[a+2|0]|I[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;c=((b<<1)+a|0)+6|0;a=I[a+4|0]|I[a+5|0]<<8;a=b>>>0<((a<<8|a>>>8)&65535)>>>0?c:163632;break b}h=164024;d=I[a+2|0]|I[a+3|0]<<8;e:{if(!d){break e}d=((d<<8|d>>>8)&65535)-1|0;c=0;while(1){f=d+c>>>1|0;g=N(f,6)+a|0;e=g+4|0;e=I[e|0]|I[e+1|0]<<8;f:{if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){c=I[g+6|0]|I[g+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=f+1|0;break f}h=(N(f,6)+a|0)+4|0;break e}d=f-1|0}if((d|0)>=(c|0)){continue}break}}a=h+4|0}a=I[a|0]|I[a+1|0]<<8;d=(a<<8|a>>>8)&65535}return d}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;c=H[b+72>>2];d=H[a+100>>2];H[e+12>>2]=0;b=Ya[H[b+36>>2]](b)|0;a:{if((b|0)<0|H[a+304>>2]){break a}c=K[c+4>>2]/100|0;c=b>>>0>>0?b:c;d=jb(d,252,0,c,0,e+12|0);H[a+304>>2]=d;if(H[e+12>>2]){break a}H[a+300>>2]=c;if(!c){break a}b=0;if((c|0)!=1){g=c&67108862;while(1){a=d+N(b,252)|0;H[a+116>>2]=1;H[a+108>>2]=2596864;H[a+112>>2]=7;H[a+180>>2]=3932;H[a+4>>2]=4;a=d+N(b|1,252)|0;H[a+116>>2]=1;H[a+108>>2]=2596864;H[a+112>>2]=7;H[a+180>>2]=3932;H[a+4>>2]=4;b=b+2|0;f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(c&1)){break a}a=d+N(b,252)|0;H[a+116>>2]=1;H[a+108>>2]=2596864;H[a+112>>2]=7;H[a+180>>2]=3932;H[a+4>>2]=4}Wa=e+16|0}function nL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=I[a+2|0]|I[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=H[b+100>>2];c=Kb(c,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);a:{if((c|0)==-1){break a}d=163632;e=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((e<<8|e>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=I[d|0]|I[d+1|0]<<8;if(!a){break a}e=(a<<8|a>>>8)&65535;c=d+2|0;while(1){a=I[c|0]|I[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=163632}f=I[a|0]|I[a+1|0]<<8;g=(f<<8|f>>>8)&65535;h=a+4|0;a=I[a+2|0]|I[a+3|0]<<8;f=fg(b,g,h,(a<<8|a>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,731,0);if(f){break a}c=c+2|0;e=e-1|0;if(e){continue}break}}return f|0}function Jr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=N(c,1348)+a|0;g=H[i- -64>>2];e=H[i+56>>2];j=N(c,7676)+b|0;k=H[j+44>>2];h=ib(K[b+40>>2]/40|0,k);a=1;a:{if((e|0)<=0){break a}d=H[j+260>>2];if(!d){break a}h=(h|0)<32?h:32;o=N(e,44)+g|0;p=N(c,7676)+b|0;while(1){if(a){a=0;b=h;c=0;while(1){e=N(a,28)+p|0;f=H[e+288>>2];if(!(!(f&1)|(f&2)>>>1^H[i+68>>2]!=F[g+13|0])){d=G[g>>1];l=d-H[e+264>>2]|0;f=l>>31;m=d-H[e+276>>2]|0;n=m>>31;e=(f^l)-f>>>0>(n^m)-n>>>0?e+276|0:e+264|0;f=d-H[e>>2]|0;d=f>>31;f=ib((d^f)-d|0,k);d=(f|0)<(b|0);b=d?f:b;c=d?e:c;d=H[j+260>>2]}a=a+1|0;if(d>>>0>a>>>0){continue}break}if(c){H[g+20>>2]=c}a=d}else{a=0}g=g+44|0;if(o>>>0>g>>>0){continue}break}}}function FG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a=Wa-96|0;Wa=a;G[a+92>>1]=I[248795]|I[248796]<<8;H[a+88>>2]=I[248791]|I[248792]<<8|(I[248793]<<16|I[248794]<<24);h=lc();H[a>>2]=e;f=a- -64|0;i=Lc(f,20,h,a+88|0,a);e=i+f|0;h=cd(f,e,c);g=a+8|0;f=H[c+28>>2];H[g>>2]=f;H[f+4>>2]=H[f+4>>2]+1;H[65057]=0;g=aa(892,g|0)|0;f=H[65057];H[65057]=0;if((f|0)!=1){f=H[a+8>>2];j=H[f+4>>2]-1|0;H[f+4>>2]=j;if((j|0)==-1){Ya[H[H[f>>2]+8>>2]](f)}f=a+16|0;Ya[H[H[g>>2]+32>>2]](g,a- -64|0,e,f)|0;g=b;b=f+i|0;b=kf(g,f,(e|0)==(h|0)?b:(a+(h-a|0)|0)-48|0,b,c,d);Wa=a+96|0;return b|0}c=$()|0;_()|0;a=H[a+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function $v(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Wa-16|0;Wa=g;h=H[a+532>>2];d=6;a:{if(!h){break a}i=H[h+4>>2];Ag(H[h+136>>2],g,i);j=b>>>0>i>>>0?i:b;if(j){while(1){n=k<<2;l=H[n+g>>2];d=N(k,12)+h|0;e=H[d+96>>2];b:{if((l|0)>H[e>>2]){a=1;f=I[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=H[m+e>>2];if((l|0)<=(o|0)){d=H[d+92>>2];f=m-4|0;a=H[d+f>>2];d=H[d+m>>2];e=H[e+f>>2];a=N(pb(l-e|0,o-e|0),d-a|0)+(a<<16)|0;break b}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=H[(H[d+92>>2]+(f<<2)|0)-4>>2]<<16;break b}a=H[H[d+92>>2]>>2]<<16}H[c+n>>2]=a;k=k+1|0;if((j|0)!=(k|0)){continue}break}}d=0;if(b>>>0<=i>>>0){break a}kb((j<<2)+c|0,0,b-j<<2);d=0}Wa=g+16|0;return d|0}function vv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Wa-32|0;Wa=c;e=H[b+96>>2];a:{if((e|0)<0|H[a+300>>2]<=(e|0)){break a}g=H[a+304>>2];if((Ya[H[b+52>>2]](b,6,c,3)|0)<6){break a}d=H[c+12>>2];if(!d){break a}f=d>>31;d=(d^f)-f|0;if((d|0)!=65536){h=a,i=pb(1e3,d),G[h+68>>1]=i;h=c,i=pb(H[c>>2],d),H[h>>2]=i;h=c,i=pb(H[c+4>>2],d),H[h+4>>2]=i;h=c,i=pb(H[c+8>>2],d),H[h+8>>2]=i;h=c,i=pb(H[c+16>>2],d),H[h+16>>2]=i;h=c,i=pb(H[c+20>>2],d),H[h+20>>2]=i;H[c+12>>2]=H[c+12>>2]<0?-65536:65536}a=N(e,252)+g|0;d=a+216|0;H[d>>2]=H[c>>2];H[a+224>>2]=H[c+4>>2];H[a+220>>2]=H[c+8>>2];H[a+228>>2]=H[c+12>>2];if(!gh(d)){H[b+12>>2]=3;break a}H[a+232>>2]=G[c+18>>1];H[a+236>>2]=G[c+22>>1]}Wa=c+32|0}function Wr(a,b){var c=0,d=0,e=0;a:{b:{c:{d=H[a+4>>2];c=H[d>>2];if((c|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=Eb(H[d+8>>2],N(a,20));if(c){break c}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break a}H[d>>2]=a;H[d+8>>2]=c;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=724;H[a>>2]=b;H[a+16>>2]=0;a=a+8|0;c=I[b+2|0]|I[b+3|0]<<8;if(!c){Ic(163632,a);return}Ic(((c<<8|c>>>8)&65535)+b|0,a)}function Vr(a,b){var c=0,d=0,e=0;a:{b:{c:{d=H[a+4>>2];c=H[d>>2];if((c|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=Eb(H[d+8>>2],N(a,20));if(c){break c}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break a}H[d>>2]=a;H[d+8>>2]=c;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=725;H[a>>2]=b;H[a+16>>2]=0;a=a+8|0;c=I[b+2|0]|I[b+3|0]<<8;if(!c){Ic(163632,a);return}Ic(((c<<8|c>>>8)&65535)+b|0,a)}function Ur(a,b){var c=0,d=0,e=0;a:{b:{c:{d=H[a+4>>2];c=H[d>>2];if((c|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=Eb(H[d+8>>2],N(a,20));if(c){break c}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break a}H[d>>2]=a;H[d+8>>2]=c;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=726;H[a>>2]=b;H[a+16>>2]=0;a=a+8|0;c=I[b+6|0]|I[b+7|0]<<8;if(!c){Ic(163632,a);return}Ic(((c<<8|c>>>8)&65535)+b|0,a)}function Tr(a,b){var c=0,d=0,e=0;a:{b:{c:{d=H[a+4>>2];c=H[d>>2];if((c|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=Eb(H[d+8>>2],N(a,20));if(c){break c}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break a}H[d>>2]=a;H[d+8>>2]=c;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=727;H[a>>2]=b;H[a+16>>2]=0;a=a+8|0;c=I[b+2|0]|I[b+3|0]<<8;if(!c){Ic(163632,a);return}Ic(((c<<8|c>>>8)&65535)+b|0,a)}function Sr(a,b){var c=0,d=0,e=0;a:{b:{c:{d=H[a+4>>2];c=H[d>>2];if((c|0)>=0){a=H[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=c>>>0){break b}a=c;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){c=Eb(H[d+8>>2],N(a,20));if(c){break c}}H[d>>2]=-1}H[64764]=H[40912];a=H[40911];H[64762]=H[40910];H[64763]=a;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040;break a}H[d>>2]=a;H[d+8>>2]=c;a=H[d+4>>2]}if(a>>>0>>0){kb(H[d+8>>2]+N(a,20)|0,0,N(e-a|0,20))}H[d+4>>2]=e;a=(H[d+8>>2]+N(e,20)|0)-20|0}H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=728;H[a>>2]=b;H[a+16>>2]=0;a=a+8|0;c=I[b+2|0]|I[b+3|0]<<8;if(!c){Ic(163632,a);return}Ic(((c<<8|c>>>8)&65535)+b|0,a)}function st(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=O(0),h=0,i=O(0),j=O(0),k=O(0),l=O(0),m=O(0),n=O(0);f=d+16|0;h=H[d+12>>2];e=H[d+8>>2];i=O(H[c+4>>2]);g=O(H[c>>2]);j=O(H[b+4>>2]);m=O(H[b>>2]);k=O(H[a+4>>2]);n=O(H[a>>2]);a:{if(I[d+4|0]){if(!H[f>>2]){Ya[H[e+12>>2]](e,h,f,L[d+28>>2],L[d+32>>2],H[e+32>>2]);H[d+16>>2]=1;a=H[d+32>>2];H[d+20>>2]=H[d+28>>2];H[d+24>>2]=a}Ya[H[e+24>>2]](e,h,f,n,k,m,j,g,i,H[e+44>>2]);break a}l=L[d>>2];g=O(O(i*l)+g);if(!H[d+16>>2]){Ya[H[e+12>>2]](e,h,f,L[d+28>>2],L[d+32>>2],H[e+32>>2]);H[d+16>>2]=1;a=H[d+32>>2];H[d+20>>2]=H[d+28>>2];H[d+24>>2]=a}Ya[H[e+24>>2]](e,h,f,O(O(k*l)+n),k,O(O(j*l)+m),j,g,i,H[e+44>>2])}L[d+32>>2]=i;L[d+28>>2]=g;return 0}function Rk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=H[a+32>>2];e=(c>>>0)%K[a+28>>2]|0;f=H[k+N(e,12)>>2];a:{b:{if(!f){break b}n=H[a+24>>2];a=0;g=-1;while(1){m=N(e,12)+k|0;c:{if(H[m+8>>2]!=(c|0)){break c}h=H[f+4>>2];l=H[f>>2];i=h-l|0;d=H[b>>2];if((i|0)!=(H[b+4>>2]-d|0)){break c}j=H[f+12>>2];if((j|0)!=H[b+12>>2]){break c}if((h|0)!=(l|0)){if(Bc(l,d,i)){break c}}h=j<<4;if(!h){break b}d=0;i=H[f+16>>2];j=H[b+16>>2];if(I[i|0]!=I[j|0]){break c}while(1){d=d+1|0;if((h|0)==(d|0)){break b}if(I[d+i|0]==I[d+j|0]){continue}break}if(d>>>0>=h>>>0){break b}}g=(g|0)==-1?H[m+4>>2]?-1:e:g;a=a+1|0;e=e+a&n;f=H[N(e,12)+k>>2];if(f){continue}break}if((g|0)!=-1){break a}}g=e}return g}function pL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=I[a+2|0]|I[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=H[b+100>>2];c=Kb(c,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);if((c|0)==-1){break a}d=163632;e=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((e<<8|e>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=I[d|0]|I[d+1|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;g=e>>>0>1?e:1;a=0;f=1;while(1){c=((c<<8|(c&65280)>>>8)&65535)>>>0>a>>>0?((a<<1)+d|0)+2|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+d|0}else{c=163632}if(Nr(c,b)){break a}a=a+1|0;f=e>>>0>a>>>0;if((a|0)==(g|0)){break a}c=I[d|0]|I[d+1|0]<<8;continue}}return f|0}function _f(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=Wa-16|0;Wa=h;f=d?d:260240;d=H[f>>2];a:{b:{c:{if(!b){if(d){break c}break a}e=-2;if(!c){break a}i=a?a:h+12|0;d:{if(d){a=c;break d}a=I[b|0];d=a<<24>>24;if((d|0)>=0){H[i>>2]=a;e=(d|0)!=0;break a}a=F[b|0];if(!H[H[64925]>>2]){H[i>>2]=a&57343;e=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}d=H[(a<<2)+244480>>2];a=c-1|0;if(!a){break b}b=b+1|0}g=I[b|0];j=g>>>3|0;if((j-16|(d>>26)+j)>>>0>7){break c}while(1){a=a-1|0;d=g-128|d<<6;if((d|0)>=0){H[f>>2]=0;H[i>>2]=d;e=c-a|0;break a}if(!a){break b}b=b+1|0;g=I[b|0];if((g&192)==128){continue}break}}H[f>>2]=0;H[64884]=25;e=-1;break a}H[f>>2]=d}Wa=h+16|0;return e|0}function DG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a=Wa-160|0;Wa=a;G[a+156>>1]=I[248789]|I[248790]<<8;H[a+152>>2]=I[248785]|I[248786]<<8|(I[248787]<<16|I[248788]<<24);f=a+152|0;ne(f|1,238630,1,H[c+4>>2]);g=lc();H[a>>2]=e;e=a+139|0;f=Lc(e,13,g,f,a)+e|0;i=cd(e,f,c);h=a+16|0;g=H[c+28>>2];H[h>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1026,e|0,i|0,f|0,a+32|0,a+28|0,a+24|0,h|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=jf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+160|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Cm(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=H[(c?16:12)+b>>2];b=H[(c?8:4)+b>>2];e=N(c,7676)+a|0;f=e+7712|0;a:{if((b|0)==H[f>>2]&H[e+7716>>2]==(g|0)){break a}H[f>>2]=b;H[e+48>>2]=g;H[e+44>>2]=b;H[e+7716>>2]=g;if(!H[e+260>>2]){break a}f=0;h=N(c,7676)+a|0;while(1){a=N(f,28)+h|0;c=ib(H[a+264>>2],b)+g|0;H[a+272>>2]=c;H[a+268>>2]=c;c=ib(H[a+276>>2],b)+g|0;H[a+284>>2]=c;H[a+280>>2]=c;H[a+288>>2]=H[a+288>>2]&-2;if(ib(H[a+264>>2]-H[a+276>>2]|0,b)+48>>>0<=96){c=H[a+268>>2]+32&-64;H[a+272>>2]=c;c=pb(c,b)-H[a+276>>2]|0;d=c>>31;d=ib((c^d)-d|0,b);d=(d|0)<32?0:d+32&-64;H[a+284>>2]=((c|0)<0?d:0-d|0)+H[a+272>>2];H[a+288>>2]=H[a+288>>2]|1}f=f+1|0;if(f>>>0>2]){continue}break}}}function AG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a=Wa-160|0;Wa=a;G[a+156>>1]=I[248789]|I[248790]<<8;H[a+152>>2]=I[248785]|I[248786]<<8|(I[248787]<<16|I[248788]<<24);f=a+152|0;ne(f|1,238630,0,H[c+4>>2]);g=lc();H[a>>2]=e;e=a+139|0;f=Lc(e,13,g,f,a)+e|0;i=cd(e,f,c);h=a+16|0;g=H[c+28>>2];H[h>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1026,e|0,i|0,f|0,a+32|0,a+28|0,a+24|0,h|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=jf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+160|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function sb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=2147483647;a:{if(!c){break a}b:{d=b>>31;f=(d^b)-d|0;d=a>>31;e=(d^a)-d|0;d=c>>31;d=(d^c)-d|0;if(f+e>>>0<=129894-(d>>>17|0)>>>0){f=N(f,e)+(d>>>1|0)|0;break b}i=f>>>16|0;g=e&65535;f=f&65535;j=e>>>16|0;k=N(i,g)+N(f,j)|0;e=k<<16;g=e+N(f,g)|0;f=g+(d>>>1|0)|0;e=((N(i,j)+(k>>>16|0)|0)+(e>>>0>g>>>0)|0)+(f>>>0>>0)|0;if(!e){break b}if(d>>>0<=e>>>0){break a}g=Q(e);i=32-g|0;e=f>>>i|e<>>0)/(d>>>0)|0;e=e-N(d,h)|0;f=f<>>31;e=g-(d>>>0>g>>>0?0:d)|0;h=h<<1|d>>>0<=g>>>0;f=f<<1;i=i-1|0;if(i){continue}break}break a}h=(f>>>0)/(d>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-h|0:h}function kg(a,b){var c=0,d=0,e=0,f=0;f=H[b+12>>2];d=H[b+4>>2];a:{if(f>>>0>=d>>>0){F[b+16|0]=1;e=163632;break a}e=f+H[b>>2]|0}e=I[e|0]<<24;c=f+1|0;b:{if(c>>>0>=d>>>0){F[b+16|0]=1;c=163632;break b}c=c+H[b>>2]|0}e=e|I[c|0]<<16;c=f+2|0;c:{if(c>>>0>=d>>>0){F[b+16|0]=1;c=163632;break c}c=c+H[b>>2]|0}c=e|I[c|0]<<8;e=d;d=f+3|0;d:{if(e>>>0<=d>>>0){F[b+16|0]=1;e=163632;break d}e=d+H[b>>2]|0}c=c|I[e|0];d=H[a+4>>2];e:{if(d>>>0>2]){H[a+4>>2]=d+1;a=H[a+16>>2]+(d<<3)|0;break e}F[a|0]=1;a=H[40909];H[64760]=H[40908];H[64761]=a;a=259040}M[a>>3]=c|0;f:{a=H[b+4>>2];if(I[b+16|0]|a>>>0>>0){break f}f=f+4|0;if(f>>>0>a>>>0){break f}H[b+12>>2]=f;return}F[b+16|0]=1;H[b+12>>2]=a}function QG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a=Wa-80|0;Wa=a;G[a+76>>1]=I[248789]|I[248790]<<8;H[a+72>>2]=I[248785]|I[248786]<<8|(I[248787]<<16|I[248788]<<24);f=a+72|0;ne(f|1,238630,1,H[c+4>>2]);g=lc();H[a>>2]=e;e=a+59|0;f=Lc(e,13,g,f,a)+e|0;i=cd(e,f,c);h=a+16|0;g=H[c+28>>2];H[h>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1015,e|0,i|0,f|0,a+32|0,a+28|0,a+24|0,h|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=kf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+80|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function MG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a=Wa-80|0;Wa=a;G[a+76>>1]=I[248789]|I[248790]<<8;H[a+72>>2]=I[248785]|I[248786]<<8|(I[248787]<<16|I[248788]<<24);f=a+72|0;ne(f|1,238630,0,H[c+4>>2]);g=lc();H[a>>2]=e;e=a+59|0;f=Lc(e,13,g,f,a)+e|0;i=cd(e,f,c);h=a+16|0;g=H[c+28>>2];H[h>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1015,e|0,i|0,f|0,a+32|0,a+28|0,a+24|0,h|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=kf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+80|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function $p(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{e=d>>31;f=(e^d)-e|0;e=a>>31;if((f+((e^a)-e|0)|0)>131071){break a}e=c>>31;f=(e^c)-e|0;e=b>>31;if((f+((e^b)-e|0)|0)>131071){break a}a=N(a,d);b=N(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d&65535;g=a>>>16|0;h=d>>>16|0;a=a&65535;i=N(h,a);d=N(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=N(j,k);m=c&65535;n=b>>>16|0;b=l+N(m,n)|0;c=b<<16;g=(N(g,h)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=e+N(a,f)|0;e=g+(d>>>0>>0)|0;a=(N(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+N(m,k)|0;c=a+(b>>>0>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(c>>>0>e>>>0){break b}a=1;if(b>>>0>>0){break b}a=b>>>0>d>>>0?-1:0}return a}function Ff(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=163632;d=I[a+2|0]|I[a+3|0]<<8;a:{if(!d){break a}g=((d<<8|d>>>8)&65535)-1|0;l=(b<<8|(b&65280)>>>8)&65535;m=(c<<8|(c&65280)>>>8)&65535;while(1){b:{c:{d:{f=g+j>>>1|0;h=(f<<3)+a|0;d=h+4|0;i=I[d|0]|I[d+1|0]<<8;k=(i<<8|i>>>8)&65535;d=b&65535;e:{if(!(k>>>0>d>>>0|(i|0)!=(l|0))){d=I[h+6|0]|I[h+7|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>(c&65535)>>>0){break e}if((d|0)==(m|0)){break d}break c}if(d>>>0>=k>>>0){break c}}g=f-1|0;break b}e=((f<<3)+a|0)+4|0;break a}j=f+1|0}if((g|0)>=(j|0)){continue}break}}b=a;a=I[e+4|0]|I[e+5|0]<<8|(I[e+6|0]<<16|I[e+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return a?b+a|0:0}function Ee(a,b,c,d){var e=0,f=0,g=0;e=Wa-48|0;Wa=e;H[d>>2]=0;H[c>>2]=0;f=H[a+80>>2];a:{if(Ya[H[f+192>>2]](a,H[a+84>>2],b,c,d,H[f+48>>2])|0){break a}H[d>>2]=0;H[c>>2]=0;f=H[a+80>>2];if(!(Ya[H[f+196>>2]](a,H[a+84>>2],b,c,d,H[f+52>>2])|0)){break a}f=b;b=H[a+80>>2];b=Ya[H[b+176>>2]](a,H[a+84>>2],f,H[b+32>>2])|0;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;f=(b|0)/-2|0;b=H[a+80>>2];b:{if(Ya[H[b+156>>2]](a,H[a+84>>2],e,H[b+12>>2])|0){a=H[e>>2];break b}g=+H[a+24>>2]*.8;if(P(g)<2147483648){a=~~g;break b}a=-2147483648}H[c>>2]=f+H[c>>2];H[d>>2]=H[d>>2]-a}Wa=e+48|0}function Th(a,b,c,d){var e=0,f=0,g=0;e=Wa-48|0;Wa=e;H[d>>2]=0;H[c>>2]=0;f=H[a+80>>2];a:{if(Ya[H[f+196>>2]](a,H[a+84>>2],b,c,d,H[f+52>>2])|0){break a}H[d>>2]=0;H[c>>2]=0;f=H[a+80>>2];if(!(Ya[H[f+192>>2]](a,H[a+84>>2],b,c,d,H[f+48>>2])|0)){break a}f=b;b=H[a+80>>2];b=Ya[H[b+176>>2]](a,H[a+84>>2],f,H[b+32>>2])|0;H[e+40>>2]=0;H[e+44>>2]=0;H[e+32>>2]=0;H[e+36>>2]=0;H[e+24>>2]=0;H[e+28>>2]=0;H[e+16>>2]=0;H[e+20>>2]=0;H[e+8>>2]=0;H[e+12>>2]=0;H[e>>2]=0;H[e+4>>2]=0;f=(b|0)/2|0;b=H[a+80>>2];b:{if(Ya[H[b+156>>2]](a,H[a+84>>2],e,H[b+12>>2])|0){a=H[e>>2];break b}g=+H[a+24>>2]*.8;if(P(g)<2147483648){a=~~g;break b}a=-2147483648}H[c>>2]=f+H[c>>2];H[d>>2]=a+H[d>>2]}Wa=e+48|0}function hl(a,b,c,d,e){var f=0;a:{if(!b){b=163632;if(!e){break a}Ya[e|0](d);return 163632}b:{c:{d:{e:{f:{if((b|0)<0){break f}f=Ab(1,32);if(!f){break f}H[f+8>>2]=0;H[f>>2]=1;H[f+4>>2]=1;H[f+28>>2]=e;H[f+24>>2]=d;H[f+20>>2]=c;H[f+16>>2]=b;H[f+12>>2]=a;if(c){break c}H[f+20>>2]=1;if(b){break e}H[f+20>>2]=2;b=f;break b}if(!e){break d}Ya[e|0](d);break d}c=tb(b);if(c){a=mb(c,a,b);if(e){Ya[e|0](d)}H[f+28>>2]=594;H[f+24>>2]=a;H[f+12>>2]=a;H[f+20>>2]=2;b=f;break b}if(!H[f>>2]){break d}a=H[f>>2];H[f>>2]=a-1;if((a|0)!=1){break d}H[f>>2]=-57005;a=H[f+8>>2];if(a){sd(a+24|0,a);Tb();hb(a)}a=H[f+28>>2];if(a){Ya[a|0](H[f+24>>2])}hb(f)}f=0}b=f}if(b){break a}b=163632}return b}function ai(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=H[a+760>>2];a:{if(h>>>0>b>>>0){g=H[a+764>>2];b:{if(J[a+210>>1]){e=g+(b<<2)|0;d=I[e|0]|I[e+1|0]<<8|(I[e+2|0]<<16|I[e+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=e+8|0;e=f;if(d>>>0>g+(h<<2)>>>0){break b}d=d-4|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break b}f=g+(b<<1)|0;e=I[f|0]<<8|I[f+1|0];d=e;f=f+4|0;if(f>>>0<=g+(h<<1)>>>0){d=f-2|0;d=I[d|0]<<8|I[d+1|0]}f=e<<1;e=d<<1}d=e;g=0;e=H[a+724>>2];if(e>>>0>>0){H[c>>2]=0;return 0}if(d>>>0>e>>>0){d=e;a=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?e:d}else{a=0}g=a-f|0;a=f}H[c>>2]=g;return a|0}function jk(a){var b=0,c=0;H[65057]=0;fa(658,a|0);b=H[65057];H[65057]=0;if((b|0)!=1){b=H[a+120>>2];if(b){while(1){b=H[a+124>>2]+N(b,28)|0;H[b-20>>2]=0;c=b-16|0;hb(H[c>>2]);H[c>>2]=0;b=b-24|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+120>>2]-1|0;H[a+120>>2]=b;if(b){continue}break}}hb(H[a+124>>2]);H[a+124>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;b=H[a+108>>2];if(b){while(1){b=H[a+112>>2]+N(b,28)|0;H[b-20>>2]=0;c=b-16|0;hb(H[c>>2]);H[c>>2]=0;b=b-24|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+108>>2]-1|0;H[a+108>>2]=b;if(b){continue}break}}hb(H[a+112>>2]);H[a+112>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+56>>2]=0;hb(H[a+60>>2]);H[a+60>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;return}ea(0)|0;_()|0;Gb();X()}function Ge(a){var b=0,c=0,d=0,e=0;c=H[a+420>>2];a:{if(!c){break a}b=H[a+412>>2];if((b|0)<=0){break a}b=N(b,24)+c|0;d=I[a+372|0];while(1){if(!(!I[c+16|0]|(d|0)!=I[c+12|0])){b=H[a+432>>2];if((b|0)>=H[a+436>>2]){H[a+12>>2]=130;return}H[a+432>>2]=b+1;b=H[a+440>>2]+(b<<4)|0;H[b>>2]=H[a+356>>2];d=H[a+364>>2];H[b+12>>2]=c;H[b+8>>2]=1;H[b+4>>2]=d+1;b=H[c>>2];b:{if(b-4>>>0<=4294967292){H[a+12>>2]=132;break b}d=(b-1<<3)+a|0;e=H[d+448>>2];if(!e){H[a+12>>2]=138;break b}d=H[d+452>>2];c=H[c+4>>2];if((d|0)<(c|0)){H[a+12>>2]=131;break b}H[a+368>>2]=d;H[a+360>>2]=e;H[a+364>>2]=c;H[a+356>>2]=b}F[a+380|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}H[a+12>>2]=128}function Wc(a){a=a|0;var b=0,c=0;lb(H[a+36>>2]);H[a+36>>2]=0;H[a+96>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;hb(H[a+100>>2]);H[a+100>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;b=H[a+196>>2];if(b){while(1){b=H[a+200>>2]+(b<<5)|0;H[b-24>>2]=0;c=b-20|0;hb(H[c>>2]);H[c>>2]=0;b=b-28|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+196>>2]-1|0;H[a+196>>2]=b;if(b){continue}break}}hb(H[a+200>>2]);H[a+200>>2]=0;H[a+192>>2]=0;H[a+196>>2]=0;b=H[a+208>>2];if(b){while(1){b=H[a+212>>2]+N(b,24)|0;H[b-16>>2]=0;c=b-12|0;hb(H[c>>2]);H[c>>2]=0;b=b-20|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+208>>2]-1|0;H[a+208>>2]=b;if(b){continue}break}}hb(H[a+212>>2]);H[a+212>>2]=0;H[a+204>>2]=0;H[a+208>>2]=0;lb(H[a>>2]);H[a>>2]=0}function LJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=d;a=b-44032|0;a:{b:{if(a>>>0<=11171){d=a&65535;e=(d>>>0)%28|0;if(e){H[c>>2]=b-e;a=e+4519|0;break b}b=(d>>>0)/588|0;H[c>>2]=b|4352;a=(((a-N(b,588)&65535)>>>0)/28|0)+4449|0;break b}e=0;if(b>>>0>195101){break a}a=J[(I[(b>>>6|0)+194118|0]<<7|(b&63)<<1)+209968>>1];if(!a){break a}b=a-1|0;if(b>>>0<=934){if(b>>>0<=824){a=J[(b<<1)+227056>>1]}else{a=J[(a<<1)+227068>>1]|131072}H[c>>2]=a;a=0;break b}b=a-936|0;if(b>>>0<=637){a=H[(b<<2)+221392>>2];H[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(a<<3)+211360|0;a=H[b+4>>2];b=H[b>>2];H[c>>2]=a>>>10;a=((a&2097151)<<11|b>>>21)&2097151}H[f>>2]=a;e=1}return e|0}function Jm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=H[a+28>>2];a:{if((b|0)==-1){break a}d=H[a+36>>2];f=H[a+40>>2];if(d>>>0>=f>>>0){break a}g=H[a>>2];e=b+1|0;h=H[a+16>>2]+20|0;while(1){b:{b=N(d,12)+h|0;c=b-4|0;c=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);if(e>>>0>(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break b}b=I[b+4|0]|I[b+5|0]<<8|(I[b+6|0]<<16|I[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b|b>>>0>=K[g+16>>2]){break b}H[a+36>>2]=d;H[a+32>>2]=b;H[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}F[a+24|0]=0}function uM(a){a=a|0;var b=0,c=0;lb(H[a+36>>2]);H[a+36>>2]=0;H[a+56>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;hb(H[a+60>>2]);H[a+60>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;b=H[a+108>>2];if(b){while(1){b=H[a+112>>2]+N(b,28)|0;H[b-20>>2]=0;c=b-16|0;hb(H[c>>2]);H[c>>2]=0;b=b-24|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+108>>2]-1|0;H[a+108>>2]=b;if(b){continue}break}}hb(H[a+112>>2]);H[a+112>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;b=H[a+120>>2];if(b){while(1){b=H[a+124>>2]+N(b,28)|0;H[b-20>>2]=0;c=b-16|0;hb(H[c>>2]);H[c>>2]=0;b=b-24|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+120>>2]-1|0;H[a+120>>2]=b;if(b){continue}break}}hb(H[a+124>>2]);H[a+124>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;lb(H[a>>2]);H[a>>2]=0}function $k(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=F[a|0];g=f&255;if((f|0)>=0){H[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=I[a+1|0]-128|0;if(b>>>0>=64){break a}H[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=I[e|0]-128|0;if(b>>>0>63){break a}f=I[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}H[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=I[e|0]-128|0;if(b>>>0>63){break a}f=I[a+2|0]-128|0;if(f>>>0>63){break a}h=I[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}H[c>>2]=d;return e}function Nj(a){var b=0,c=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=a+60|0;c=H[H[b+20>>2]+12>>2];if(c){Ya[c|0](H[b+124>>2])}H[b+56>>2]=0;hb(H[b+60>>2]);H[b+68>>2]=0;H[b+60>>2]=0;H[b+52>>2]=0;H[b+56>>2]=0;hb(H[b+72>>2]);H[b+92>>2]=0;H[b+72>>2]=0;c=b- -64|0;H[c>>2]=0;H[c+4>>2]=0;hb(H[b+96>>2]);H[b+96>>2]=0;H[b+88>>2]=0;H[b+92>>2]=0;H[b+80>>2]=0;hb(H[b+84>>2]);H[b+104>>2]=0;H[b+84>>2]=0;H[b+76>>2]=0;H[b+80>>2]=0;hb(H[b+108>>2]);H[b+116>>2]=0;H[b+108>>2]=0;H[b+100>>2]=0;H[b+104>>2]=0;hb(H[b+120>>2]);H[b+120>>2]=0;H[b+112>>2]=0;H[b+116>>2]=0;hb(H[a+36>>2]);hb(a)}}function Sh(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{while(1){f=H[64754];e=f;if(e){while(1){b=a;d=H[e+4>>2];c=I[d|0];c:{if(c){d:{while(1){g=F[I[b|0]+106592|0];if((g|0)!=(c&255)){break d}b=b+1|0;c=I[d+1|0];d=d+1|0;if(c){continue}break}g=F[I[b|0]+106592|0];c=0}if((c&255)!=(g|0)){break c}break b}if(!I[I[a|0]+106592|0]){break b}}e=H[e>>2];if(e){continue}break}}e=0;d=Ab(1,8);if(!d){break b}H[d>>2]=f;b=wb(a)+1|0;c=tb(b);H[d+4>>2]=c;if(!c){break a}b=I[mb(c,a,b)|0];if(b){while(1){F[c|0]=I[(b&255)+106592|0];b=I[c+1|0];c=c+1|0;if(b){continue}break}}e=H[64754];b=(e|0)==(f|0);H[64754]=b?d:e;if(!b){hb(H[d+4>>2]);hb(d);continue}break}e=d}return e}hb(d);return 0}function We(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=H[b+12>>2];c=H[a>>2];d=Ya[H[f+24>>2]](f,c,H[f+56>>2])|0;if(c>>>0>=128){H[b+144>>2]=H[b+144>>2]|1;e=d;a:{if(!Mh(c)){break a}h=H[b+144>>2];H[b+144>>2]=h|2;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}H[b+144>>2]=h|18;e=d|96}g=e;if(d>>>0>31){G[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=I[(Ya[H[f+16>>2]](f,c,H[f+48>>2])|0)+228944|0]<<8}d=b|g|128}G[a+16>>1]=d}function Hw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=H[a+736>>2];a:{if(!f){d=af(a,0);if(d){break a}f=H[a+736>>2]}if(!H[f+4>>2]){d=Cg(a,0,0,1);if(d){break a}}e=H[f>>2];e=b>>>0>e>>>0?e:b;b:{if(I[a+733|0]){if(!e){e=0;break b}f=H[f+8>>2];a=0;if(e-1>>>0>=3){h=e&-4;while(1){d=a<<2;H[d+c>>2]=H[d+f>>2];g=d|4;H[g+c>>2]=H[f+g>>2];g=d|8;H[g+c>>2]=H[f+g>>2];d=d|12;H[d+c>>2]=H[d+f>>2];a=a+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;H[h+c>>2]=H[f+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}break b}if(!e){e=0;break b}kb(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}kb((e<<2)+c|0,0,b-e<<2)}return d|0}function Fw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=H[a+736>>2];a:{if(!f){d=af(a,0);if(d){break a}f=H[a+736>>2]}if(!H[f+4>>2]){d=Cg(a,0,0,1);if(d){break a}}e=H[f>>2];e=b>>>0>e>>>0?e:b;b:{if(I[a+733|0]){if(!e){e=0;break b}f=H[f+4>>2];a=0;if(e-1>>>0>=3){h=e&-4;while(1){d=a<<2;H[d+c>>2]=H[d+f>>2];g=d|4;H[g+c>>2]=H[f+g>>2];g=d|8;H[g+c>>2]=H[f+g>>2];d=d|12;H[d+c>>2]=H[d+f>>2];a=a+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;H[h+c>>2]=H[f+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}break b}if(!e){e=0;break b}kb(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}kb((e<<2)+c|0,0,b-e<<2)}return d|0}function oL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=H[a+712>>2];a:{b:{if(!e){break b}f=H[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=H[e+3096>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=K[e+1356>>2]){break c}g=H[H[e+1360>>2]+(f<<2)>>2];break c}a=H[e+3084>>2];g=0;if(!a){break c}g=Ya[H[a+20>>2]](f)|0}a=g;H[e+3096>>2]=a}H[b>>2]=a}if(c){a=H[e+3100>>2];if(!a){a=0;b=H[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=K[e+1356>>2]){break d}a=H[H[e+1360>>2]+(b<<2)>>2];break d}f=H[e+3084>>2];if(!f){break d}a=Ya[H[f+20>>2]](b)|0}H[e+3100>>2]=a}H[c>>2]=a}if(!d){break b}H[d>>2]=H[e+1512>>2]}a=0}return a|0}function be(a,b){var c=0,d=0,e=0,f=0;a:{if(!I[a+60|0]){break a}if(K[a+148>>2]>>0){F[a+60|0]=0;return 0}d=H[a+80>>2];e=H[a+84>>2];b:{c:{d:{if(b>>>0>214748363){break d}c=H[a+76>>2];if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break d}e:{b=N(c,20);f=Eb(H[a+88>>2],b);b=Eb(H[a+80>>2],b);if(!(b?f:0)){F[a+60|0]=0;if(!f){break e}}H[a+88>>2]=f;if(!b){break b}break c}if(b){break c}H[a+84>>2]=H[((d|0)==(e|0)?80:88)+a>>2];break a}F[a+60|0]=0;H[a+84>>2]=(d|0)==(e|0)?d:H[a+88>>2];return 0}H[a+80>>2]=b}H[a+84>>2]=H[((d|0)==(e|0)?80:88)+a>>2];if(!I[a+60|0]){break a}H[a+76>>2]=c;return 1}return 0}function Ov(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Wa+-64|0;Wa=d;Ya[H[b+60>>2]](b,d+16|0,4,d+12|0);c=H[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=zg(a,0,c);H[d+8>>2]=c;if(c){break a}if(H[d+12>>2]<=0){c=0;break a}i=H[a+100>>2];j=H[a+532>>2];while(1){a=(d+16|0)+N(g,12)|0;c=H[a>>2];if(I[c|0]==47){c=c+1|0;H[a>>2]=c}e=H[a+4>>2];if((e|0)==(c|0)){c=3;break a}f=(g<<2)+j|0;h=H[f+8>>2];if(h){Ya[H[i+8>>2]](i,h)}h=f;e=e-c|0;f=zb(i,e+1|0,d+8|0);H[h+8>>2]=f;c=H[d+8>>2];if(c){break a}k=mb(f,H[a>>2],e)+e|0,l=0,F[k|0]=l;g=g+1|0;if((g|0)>2]){continue}break}c=H[d+8>>2]}H[b+12>>2]=c;Wa=d- -64|0}function km(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=H[a>>2];if(!f){return 65536}h=65536;a:{if(!(b&16384)){while(1){b=h;e=i<<2;d=H[e+c>>2];b:{if(!d){break b}e=H[e+H[a+8>>2]>>2];if(!e){return 0}if((d|0)==(e|0)){break b}h=0;if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}h=sb(b,e,d);f=H[a>>2]}i=i+1|0;if(i>>>0>>0){continue}break a}}while(1){b=h;g=i<<2;j=H[g+c>>2];c:{if(!j){break c}h=0;f=H[g+H[a+8>>2]>>2];if(!f){break a}if((f|0)==(j|0)){break c}k=H[d+g>>2];if((f|0)<=(k|0)){break a}g=H[e+g>>2];if((g|0)<=(f|0)){break a}if((f|0)<(j|0)){b=sb(b,f-k|0,j-k|0);break c}b=sb(b,g-f|0,g-j|0)}h=b;i=i+1|0;if(i>>>0>2]){continue}break}}return h}function Pj(a){var b=0,c=0;c=3840;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=3851;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1271){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2760|0;break b}if(a-6016>>>0<=111){b=a-4520|0;break b}if(a-7376>>>0>47){break a}b=a-5768|0;break b;case 2:if((a|0)==9676){c=3851;break a}if(a-8200>>>0<=15){b=a-6544|0;break b}if(a-8304>>>0>23){break a}b=a-6632|0;break b;case 10:break c;default:break a}}b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41536|0;break b}b=a-41760|0;break b}b=a-41856|0}c=J[(b<<1)+128560>>1]}return c}function Fl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=H[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}i=H[b+12>>2];e=i-4|0;H[b+12>>2]=e;if((e|0)<=0){break a}d=F[a|0];e=I[a+3|0]|(I[a+1|0]<<16|d<<24|I[a+2|0]<<8);j=(e|0)!=0&(d|0)<0;d=!j;if(!e|j){break a}c=c+e|0;b:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;H[b+12>>2]=d;if((I[c|0]|I[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!Xh(c+2|0,b,c)){break b}H[f+12>>2]=c;d=1;if(Wh(c+6|0,b,f+12|0)){break a}}d=0;c=H[b+28>>2];if(c>>>0>31){break a}H[b+28>>2]=c+1;if(!I[b+24|0]){break a}F[a|0]=0;F[a+1|0]=0;F[a+2|0]=0;F[a+3|0]=0;d=1}Wa=f+16|0;return d}function xe(a,b){var c=0;a:{if((b|0)!=1196445523){c=163632;if((b|0)!=1196643650){break a}b=H[a+144>>2];b:{if(b){break b}while(1){c=H[a+48>>2];if(!c){b=163632;break b}b=Ab(1,12);c:{if(!b){b=163632;break c}ye(b,c)}c=H[a+144>>2];H[a+144>>2]=c?c:b;if(!c){break b}_c(b);b=H[a+144>>2];if(!b){continue}break}}a=H[b>>2];a=a?a:163632;return K[a+16>>2]<10?163632:H[a+12>>2]}b=H[a+148>>2];d:{if(b){break d}while(1){c=H[a+48>>2];if(!c){b=163632;break d}b=Ab(1,12);e:{if(!b){b=163632;break e}hg(b,c)}c=H[a+148>>2];H[a+148>>2]=c?c:b;if(!c){break d}_c(b);b=H[a+148>>2];if(!b){continue}break}}a=H[b>>2];a=a?a:163632;c=K[a+16>>2]<10?163632:H[a+12>>2]}return c}function Sq(a,b,c){var d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;a:{d=I[c|0];if(d){e=c;while(1){d=(f<<4)+(d<<24>>24)|0;f=d&-268435456;f=f?f>>>24^d&268435455:d;d=I[e+1|0];e=e+1|0;if(d){continue}break}e=(f>>>0)%31627|0}else{e=0}d=H[(e<<2)+b>>2];b:{c:{if(!d){break c}while(1){if(rb(c,H[d+4>>2])){d=H[d>>2];if(d){continue}break c}break}d=H[d+8>>2];if((d|0)>=0){break b}}Rq(b,c,H[a+12>>2]);d=H[a+12>>2];d:{if(d&d-1){e=H[a+40>>2];break d}b=N(d,48);e=Eb(H[a+40>>2],b);if(!e){break a}H[a+40>>2]=e;d=H[a+12>>2]}b=N(d,24)+e|0;H[b+20>>2]=0;H[b+12>>2]=-1;H[b+16>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[a+12>>2]=d+1}Wa=g+16|0;return d}H[g>>2]=b;xc(H[60540],239364,g);qa(1);X()}function jv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=H[a>>2];d=H[a+44>>2];if(d){c=H[d>>2];if(!(!c|!H[c+96>>2])){H[c+88>>2]=d}}e=Wa-16|0;Wa=e;c=H[f+504>>2];a:{if(!c){d=35;break a}d=6;if(!b|H[b+4>>2]<0|(H[b+8>>2]<0|K[b>>2]>4)){break a}d=H[c+88>>2];H[H[d+40>>2]+12>>2]=0;g=H[H[H[c+96>>2]+12>>2]+88>>2];if(g){d=Ya[g|0](d,b)|0;break a}if((H[c+8>>2]&3)==2){d=Ho(c,b,e+12|0);if(d){break a}d=po(c,H[e+12>>2]);break a}Oe(c,b);d=0}Wa=e+16|0;if(!d){b=H[H[f+504>>2]+88>>2];c=H[b+16>>2];H[a+12>>2]=H[b+12>>2];H[a+16>>2]=c;H[a+36>>2]=H[b+36>>2];c=H[b+32>>2];H[a+28>>2]=H[b+28>>2];H[a+32>>2]=c;c=H[b+24>>2];H[a+20>>2]=H[b+20>>2];H[a+24>>2]=c}return d|0}function XA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;H[a>>2]=0;H[a+4>>2]=0;H[a+56>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;H[a>>2]=H[b>>2];H[a+4>>2]=H[b+4>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=H[b+12>>2];H[a+16>>2]=H[b+16>>2];d=H[b+20>>2];H[a+40>>2]=b+48;H[a+36>>2]=b+40;H[a+32>>2]=b+32;H[a+28>>2]=b+28;H[a+24>>2]=b+24;H[a+20>>2]=d;a:{if(c){e=68;f=70;d=69;break a}F[a+44|0]=I[b+64|0];e=65;f=67;d=66}e=I[b+e|0];d=I[b+d|0];b=I[b+f|0];f=H[7599];H[a+52>>2]=H[7598];H[a+56>>2]=f;F[a+48|0]=c;F[a+47|0]=b;F[a+46|0]=d;F[a+45|0]=e}function mg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=O(0),k=O(0);f=I[a|0]|I[a+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return O(0)}f=I[a+4|0]|I[a+5|0]<<8;i=(f<<8|f>>>8)&65535;f=I[a+2|0]|I[a+3|0]<<8;g=(f<<8|f>>>8)&65535;b=(((i<<1)+a|0)+N(g+i|0,b)|0)+6|0;a:{if(!f){f=0;break a}f=g>>>0>1?g:1;g=0;while(1){h=(g<<1)+a|0;h=I[h+6|0]|I[h+7|0]<<8;k=mk(e,(h<<8|h>>>8)&65535,c,d);h=I[b|0]|I[b+1|0]<<8;j=O(O(k*O((h<<8|h>>>8)<<16>>16))+j);b=b+2|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}if(f>>>0>>0){while(1){g=(f<<1)+a|0;g=I[g+6|0]|I[g+7|0]<<8;j=O(O(mk(e,(g<<8|g>>>8)&65535,c,d)*O(F[b|0]))+j);b=b+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}return j}function vm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(F[a+741|0]&1){a:{g=H[a+736>>2];c=H[g+56>>2];e=J[c>>1];if(!e){break a}b=H[c+24>>2];i=b+N(e,12)|0;e=0;while(1){h=hm(a,H[b>>2]);d=bi(a,c+4|0,J[b+4>>1],J[b+6>>1]);b:{c:{if(!h){break c}G[h>>1]=J[b+8>>1]+d;c=H[b>>2];if((c|0)==1751216995){break b}if((c|0)!=1751934832){if((c|0)!=1751413603){break c}f=d;break c}j=d}d=e}b=b+12|0;if(i>>>0<=b>>>0){break a}c=H[g+56>>2];e=d;continue}}e=J[a+72>>1];f=e+f|0;G[a+72>>1]=f;b=d;d=J[a+70>>1];b=b+d|0;G[a+70>>1]=b;c=G[a+486>>1];G[a+82>>1]=c;G[a+80>>1]=J[a+484>>1]+((c|0)/-2|0);G[a+74>>1]=(b+(e+((J[a+74>>1]+j|0)-d|0)|0)|0)-f;Vn(a+108|0,80)}}function hG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=Wa-416|0;Wa=i;d=i+416|0;H[i+12>>2]=d;h=Wa-144|0;Wa=h;H[h+28>>2]=h+132;c=h+32|0;rp(a+8|0,c,h+28|0,e,f,g);H[h+16>>2]=0;H[h+20>>2]=0;H[h+12>>2]=c;c=i+16|0;g=H[i+12>>2]-c>>2;e=Wa-16|0;Wa=e;H[e+12>>2]=H[a+8>>2];f=xd(e+8|0,e+12|0);H[65057]=0;a=hj(c,h+12|0,g,h+16|0);g=H[65057];H[65057]=0;a:{if((g|0)!=1){Dc(f);Wa=e+16|0;break a}a=$()|0;_()|0;Dc(f);ba(a|0);X()}if((a|0)==-1){op(239040);X()}H[i+12>>2]=(a<<2)+c;Wa=h+144|0;e=H[i+12>>2];a=Wa-16|0;Wa=a;H[a+8>>2]=b;while(1){if((c|0)!=(e|0)){iq(a+8|0,H[c>>2]);c=c+4|0;continue}break}Wa=a+16|0;Wa=d;return H[a+8>>2]}function cl(){var a=0,b=0;a=Ab(1,172);if(!a){return 257672}H[a+8>>2]=0;H[a>>2]=1;H[a+4>>2]=1;H[a+148>>2]=1073741823;H[a+152>>2]=536870911;xf(0);b=Vq();if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}H[a+28>>2]=0;H[a+32>>2]=0;H[a+24>>2]=65533;H[a+16>>2]=0;H[a+20>>2]=0;H[a+12>>2]=b;H[a+36>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;H[a+72>>2]=0;H[a+64>>2]=0;H[a+68>>2]=0;F[a+62|0]=0;G[a+60>>1]=1;H[a+144>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;H[a+104>>2]=0;H[a+108>>2]=0;H[a+112>>2]=0;H[a+116>>2]=0;H[a+120>>2]=0;H[a+124>>2]=0;H[a+128>>2]=0;H[a+132>>2]=0;H[a+136>>2]=0;F[a+140|0]=0;H[a+84>>2]=H[a+80>>2];return a}function gu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=H[a+12>>2];H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=b;e=H[b+84>>2];b=H[b+80>>2];g=Ya[H[b+156>>2]](d,e,c,H[b+12>>2])|0;if(g){a:{b:{b=H[a+12>>2];if(b){b=H[b+24>>2];d=H[a+24>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=H[c+8>>2];break a}a=c+8|0;b=H[c+8>>2];break a}e=d>>31;a=H[c>>2];f=b>>31;h=c,i=IM(HM(d,e,a,a>>31),Xa,b,f),H[h>>2]=i;a=H[c+4>>2];h=c,i=IM(HM(d,e,a,a>>31),Xa,b,f),H[h+4>>2]=i;a=c+8|0;c=H[c+8>>2];b=IM(HM(d,e,c,c>>31),Xa,b,f)}H[a>>2]=b}return g|0}function fu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=H[a+12>>2];H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=b;e=H[b+84>>2];b=H[b+80>>2];g=Ya[H[b+160>>2]](d,e,c,H[b+16>>2])|0;if(g){a:{b:{b=H[a+12>>2];if(b){b=H[b+20>>2];d=H[a+20>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=H[c+8>>2];break a}a=c+8|0;b=H[c+8>>2];break a}e=d>>31;a=H[c>>2];f=b>>31;h=c,i=IM(HM(d,e,a,a>>31),Xa,b,f),H[h>>2]=i;a=H[c+4>>2];h=c,i=IM(HM(d,e,a,a>>31),Xa,b,f),H[h+4>>2]=i;a=c+8|0;c=H[c+8>>2];b=IM(HM(d,e,c,c>>31),Xa,b,f)}H[a>>2]=b}return g|0}function _k(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Wa-32|0;Wa=g;e=b+1|0;if(e>>>0>>0){i=b;while(1){f=i;i=e;while(1){j=e;if(e>>>0>b>>>0){h=H[a+80>>2];e=j-1|0;if((Ya[d|0](h+N(e,20)|0,N(i,20)+h|0)|0)>0){continue}}break}if((i|0)!=(j|0)){e=f+2|0;if(e-j>>>0>=2){kc(a,j,e)}f=H[a+80>>2];h=f+N(i,20)|0;H[g+24>>2]=H[h+16>>2];e=H[h+12>>2];H[g+16>>2]=H[h+8>>2];H[g+20>>2]=e;e=H[h+4>>2];H[g+8>>2]=H[h>>2];H[g+12>>2]=e;e=f;f=N(j,20);e=e+f|0;Yb(e+20|0,e,N(i-j|0,20));e=H[g+12>>2];f=f+H[a+80>>2]|0;H[f>>2]=H[g+8>>2];H[f+4>>2]=e;H[f+16>>2]=H[g+24>>2];e=H[g+20>>2];H[f+8>>2]=H[g+16>>2];H[f+12>>2]=e}e=i+1|0;if((e|0)!=(c|0)){continue}break}}Wa=g+32|0}function Qj(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=I[a+125264|0];if((a|0)!=8){break a}}a=b>>>0>31?0:1<>2];b=f>>31;c=(b^f)-b|0;h=H[a>>2];if(!h){if(!f){return}H[a+4>>2]=(f|0)<0?-65536:65536;return}b=h>>31;d=(b^h)-b|0;if(!f){H[a>>2]=(h|0)<0?-65536:65536;return}e=c>>>0>>0?d+(c>>>1|0)|0:c+(d>>>1|0)|0;b=Q(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;a:{if((b|0)>0){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break a}g=e;e=0-b|0;b=g>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(N(b,d)>>16)+d|0;g=(N(b,c)>>16)+c|0;i=N((N(e,e)+N(g,g)|0)/-512|0,b+65536>>8);b=((i|0)/65536|0)+b|0;if((i|0)>65535){continue}break}H[a+4>>2]=(f|0)<0?0-g|0:g;H[a>>2]=(h|0)<0?0-e|0:e}function ft(a,b){var c=0,d=0,e=0;a:{e=H[a+4>>2];if(e>>>0>b>>>0){d=b;break a}b:{c:{d=H[a+8>>2];if(d){c=H[a+12>>2];if((d|0)==(e|0)){d=e-1|0;if(!e){a=0;if(b>>>0>=c>>>0){break b}while(1){if(d>>>0>>0){continue}break}break b}if(b>>>0>>0){break a}return 0}if(b>>>0>>0){break c}return 0}return H[a+16>>2]}c=H[a+20>>2];a=H[a>>2];c=((a|0)<0?163632:H[(c?c:163632)+12>>2]+(a<<2)|0)+(e-a<<1)|0;a=b-e|0;b=d+(e^-1)|0;a=c+((a>>>0>>0?a:b)<<1)|0;a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535}return a}b=H[a+20>>2];a=H[a>>2]-1|0;a=a>>>0>d>>>0?d:a;a=(a|0)<0?163632:H[(b?b:163632)+12>>2]+(a<<2)|0;a=I[a|0]|I[a+1|0]<<8;return(a<<8|a>>>8)&65535}function fK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=H[c+68>>2];if(!e){break a}d=e-1|0;a=0;f=H[c+80>>2];b=I[f+15|0];while(1){b:{if((a|0)==(d|0)){a=e;break b}a=a+1|0;if((b|0)==I[(N(a,20)+f|0)+15|0]){continue}}break}if(!e){break a}d=0;g=f;h=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=N(d,20)+f|0;if(I[a+12|0]&16){F[a+18|0]=22;g=H[c+80>>2];h=H[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?h:a;i=d-1|0;j=I[(N(b,20)+g|0)+15|0];a=b;while(1){d:{if((a|0)==(i|0)){a=d;break d}a=a+1|0;if(I[(N(a,20)+g|0)+15|0]==(j|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}}function $d(a,b){var c=0,d=0,e=0,f=O(0),g=0,h=0,i=O(0),j=0;g=M[b+8>>3];h=M[b>>3];b=H[a+8>>2];if(b){h=h+M[b>>3];g=g+M[b+8>>3]}b=H[a+4>>2];c=H[a>>2];j=H[c+20>>2];d=H[c+16>>2];e=H[d+28>>2];if(!e){e=vb(d);c=H[a>>2];d=H[c+16>>2]}c=H[c+24>>2];a=H[d+28>>2];if(!a){a=vb(d)}f=O(O(O(h)*O(j|0))/O(e>>>0));d=b+16|0;i=O(O(O(g)*O(c|0))/O(a>>>0));c=H[b+12>>2];a=H[b+8>>2];a:{b:{if(I[b+4|0]){if(!H[d>>2]){break b}break a}f=O(O(i*L[b>>2])+f);if(H[b+16>>2]){break a}}Ya[H[a+12>>2]](a,c,d,L[b+28>>2],L[b+32>>2],H[a+32>>2]);H[b+16>>2]=1;e=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=e}Ya[H[a+16>>2]](a,c,d,f,i,H[a+36>>2]);L[b+32>>2]=i;L[b+28>>2]=f}function gl(a,b,c){var d=0,e=0,f=0;e=163632;a:{b:{if(!a|!c){break b}d=H[a+16>>2];if(d>>>0<=b>>>0){break b}if(H[a+4>>2]){H[a+4>>2]=0}d=d-b|0;d=c>>>0>>0?c:d;if(H[a>>2]){H[a>>2]=H[a>>2]+1}if(!d){if(!H[a>>2]){break b}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break b}break a}c:{if((d|0)>=0){f=H[a+12>>2];c=Ab(1,32);if(c){break c}}if(!H[a>>2]){break b}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break b}break a}H[c+8>>2]=0;H[c>>2]=1;H[c+4>>2]=1;H[c+28>>2]=595;H[c+24>>2]=a;H[c+20>>2]=1;H[c+16>>2]=d;H[c+12>>2]=b+f;e=c}return e}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+28>>2];if(b){Ya[b|0](H[a+24>>2])}hb(a);return 163632}function rM(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=H[b+12>>2];a:{if(a){break a}while(1){h=H[b>>2];if(!h){a=163632;break a}b:{c:{a=Ab(1,48);if(a){Qh(a,h);h=H[b+12>>2];H[b+12>>2]=h?h:a;if(!h){break a}h=H[a+44>>2];H[65057]=0;fa(579,h|0);h=H[65057];H[65057]=0;if((h|0)==1){break c}hb(a);break b}a=163632;h=H[b+12>>2];H[b+12>>2]=h?h:163632;if(h){break b}break a}ea(0)|0;_()|0;Gb();X()}a=H[b+12>>2];if(!a){continue}break}}h=H[a+8>>2];if(!h){return 0}b=0;d:{if(!c){break d}a=H[a+12>>2];while(1){if(!(Ya[h|0](a,H[d>>2],f)|0)){break d}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function ad(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!I[a+60|0]){break a}if(I[a+61|0]){b=H[a+64>>2];e=H[a+68>>2]-b|0;c=H[a+84>>2];d=H[a+80>>2];f=H[a+72>>2];if(!((c|0)==(d|0)&(f|0)==(b|0))){b=e+f|0;if(!(!b|b>>>0>2])){if(!be(a,b)){break a}d=H[a+80>>2];c=H[a+84>>2]}b:{if((c|0)!=(d|0)){break b}c=H[a+72>>2];if(c+e>>>0<=H[a+64>>2]+e>>>0){c=d;break b}b=H[a+88>>2];H[a+84>>2]=b;mb(b,d,N(c,20));d=H[a+80>>2];c=H[a+84>>2]}Yb(N(H[a+72>>2],20)+c|0,N(H[a+64>>2],20)+d|0,N(e,20));b=H[a+72>>2]}H[a+72>>2]=b+e}c=H[a+84>>2];b=H[a+80>>2];if((c|0)!=(b|0)){H[a+80>>2]=c;H[a+88>>2]=b}H[a+68>>2]=H[a+72>>2]}H[a+72>>2]=0;F[a+61|0]=0;H[a+64>>2]=0}function Nv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Wa-208|0;Wa=d;f=H[a+532>>2];Ya[H[b+60>>2]](b,d+16|0,16,d+12|0);e=H[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=H[f>>2];if(g){break d}}c=zg(a,e,0);if(c){break a}e=H[b+8>>2];g=H[b>>2];if(H[d+12>>2]<=0){break b}f=H[a+532>>2];break c}if((e|0)!=(g|0)){break a}e=H[b+8>>2];g=H[b>>2]}c=0;while(1){a=(d+16|0)+N(c,12)|0;H[b>>2]=H[a>>2];H[b+8>>2]=H[a+4>>2];a=Ya[H[b+40>>2]](b,0)|0;h=c<<2;H[h+H[f+136>>2]>>2]=a;H[H[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}H[b+8>>2]=e;H[b>>2]=g;c=0}H[b+12>>2]=c;Wa=d+208|0}function zG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-256|0;Wa=a;H[a+248>>2]=37;H[a+252>>2]=0;g=a+248|0;ne(g|1,238623,0,H[c+4>>2]);h=lc();H[a>>2]=e;H[a+4>>2]=f;e=a+224|0;f=Lc(e,24,h,g,a)+e|0;h=cd(e,f,c);i=a+16|0;g=H[c+28>>2];H[i>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1026,e|0,h|0,f|0,a+32|0,a+28|0,a+24|0,i|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=jf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+256|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Gd(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;H[g+8>>2]=b;b=0;h=6;a:{b:{if(se(a,g+8|0)){break b}h=4;f=H[a>>2];i=H[f+12>>2];c:{if((i|0)==H[f+16>>2]){f=Ya[H[H[f>>2]+36>>2]](f)|0;break c}f=H[i>>2]}if(!(Ya[H[H[d>>2]+12>>2]](d,2048,f)|0)){break b}b=Ya[H[H[d>>2]+52>>2]](d,f,0)|0;while(1){d:{qf(a);b=b-48|0;if(!lh(a,g+8|0)|(e|0)<2){break d}f=H[a>>2];h=H[f+12>>2];e:{if((h|0)==H[f+16>>2]){f=Ya[H[H[f>>2]+36>>2]](f)|0;break e}f=H[h>>2]}if(!(Ya[H[H[d>>2]+12>>2]](d,2048,f)|0)){break a}e=e-1|0;b=(Ya[H[H[d>>2]+52>>2]](d,f,0)|0)+N(b,10)|0;continue}break}h=2;if(!se(a,g+8|0)){break a}}H[c>>2]=H[c>>2]|h}Wa=g+16|0;return b}function Eq(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Wa-208|0;Wa=f;H[f+204>>2]=c;c=f+160|0;kb(c,0,40);H[f+200>>2]=H[f+204>>2];a:{if((Dq(0,b,f+200|0,f+80|0,c,d,e)|0)<0){b=-1;break a}i=H[a+76>>2]>=0;g=H[a>>2];if(H[a+72>>2]<=0){H[a>>2]=g&-33}b:{c:{d:{if(!H[a+48>>2]){H[a+48>>2]=80;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;h=H[a+44>>2];H[a+44>>2]=f;break d}if(H[a+16>>2]){break c}}c=-1;if(Hj(a)){break b}}c=Dq(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Ya[H[a+36>>2]](a,0,0)|0;H[a+48>>2]=0;H[a+44>>2]=h;H[a+28>>2]=0;b=H[a+20>>2];H[a+16>>2]=0;H[a+20>>2]=0;c=b?c:-1}b=a;a=H[a>>2];H[b>>2]=a|g&32;b=a&32?-1:c;if(!i){break a}}Wa=f+208|0;return b}function BG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-256|0;Wa=a;H[a+248>>2]=37;H[a+252>>2]=0;g=a+248|0;ne(g|1,238623,1,H[c+4>>2]);h=lc();H[a>>2]=e;H[a+4>>2]=f;e=a+224|0;f=Lc(e,24,h,g,a)+e|0;h=cd(e,f,c);i=a+16|0;g=H[c+28>>2];H[i>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1026,e|0,h|0,f|0,a+32|0,a+28|0,a+24|0,i|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=jf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+256|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Yq(a,b,c,d){var e=0,f=0,g=0;e=wk(a+120|0);a=I[e+12|0]|I[e+13|0]<<8;a:{if(((a<<8|a>>>8)&65535)>>>0>b>>>0){a=I[e+4|0]|I[e+5|0]<<8;if(a){g=e+((a<<8|a>>>8)&65535)|0}else{g=163632}a=I[e+8|0]|I[e+9|0]<<8;a=(a<<8|a>>>8)&65535;if(!c){break a}f=H[c>>2];if(!f){break a}e=I[e+14|0]|I[e+15|0]<<8;f=a>>>0>>0?a:f;H[c>>2]=f;if(!f){break a}e=((N(a,20)+g|0)+N((e<<8|e>>>8)&65535,b)|0)+4|0;c=0;while(1){g=c<<2;b=g+e|0;b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);L[d+g>>2]=O(b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))*O(152587890625e-16);c=c+1|0;if((f|0)!=(c|0)){continue}break}break a}a=0;if(!c){break a}H[c>>2]=0}return a}function Wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Wa-32|0;Wa=c;a:{if((Ya[H[b+52>>2]](b,6,c,3)|0)<=5){H[b+12>>2]=3;break a}e=H[c+12>>2];if(!e){H[b+12>>2]=3;break a}d=e>>31;d=(d^e)-d|0;if((d|0)!=65536){f=a,g=pb(1e3,d),G[f+68>>1]=g;f=c,g=pb(H[c>>2],d),H[f>>2]=g;f=c,g=pb(H[c+4>>2],d),H[f+4>>2]=g;f=c,g=pb(H[c+8>>2],d),H[f+8>>2]=g;f=c,g=pb(H[c+16>>2],d),H[f+16>>2]=g;f=c,g=pb(H[c+20>>2],d),H[f+20>>2]=g;e=H[c+12>>2]<0?-65536:65536;H[c+12>>2]=e}H[a+440>>2]=H[c>>2];H[a+448>>2]=H[c+4>>2];d=H[c+8>>2];H[a+452>>2]=e;H[a+444>>2]=d;if(!gh(a+440|0)){H[b+12>>2]=3;break a}H[a+456>>2]=G[c+18>>1];H[a+460>>2]=G[c+22>>1]}Wa=c+32|0}function NG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-112|0;Wa=a;H[a+104>>2]=37;H[a+108>>2]=0;g=a+104|0;ne(g|1,238623,1,H[c+4>>2]);h=lc();H[a>>2]=e;H[a+4>>2]=f;e=a+80|0;f=Lc(e,24,h,g,a)+e|0;h=cd(e,f,c);i=a+16|0;g=H[c+28>>2];H[i>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1015,e|0,h|0,f|0,a+32|0,a+28|0,a+24|0,i|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=kf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+112|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function LG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a=Wa-112|0;Wa=a;H[a+104>>2]=37;H[a+108>>2]=0;g=a+104|0;ne(g|1,238623,0,H[c+4>>2]);h=lc();H[a>>2]=e;H[a+4>>2]=f;e=a+80|0;f=Lc(e,24,h,g,a)+e|0;h=cd(e,f,c);i=a+16|0;g=H[c+28>>2];H[i>>2]=g;H[g+4>>2]=H[g+4>>2]+1;H[65057]=0;na(1015,e|0,h|0,f|0,a+32|0,a+28|0,a+24|0,i|0);e=H[65057];H[65057]=0;if((e|0)!=1){e=H[a+16>>2];f=H[e+4>>2]-1|0;H[e+4>>2]=f;if((f|0)==-1){Ya[H[H[e>>2]+8>>2]](e)}b=kf(b,a+32|0,H[a+28>>2],H[a+24>>2],c,d);Wa=a+112|0;return b|0}c=$()|0;_()|0;a=H[a+16>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Fg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(J[a+264>>1]<=b>>>0){break a}d=H[a+544>>2];if(!d){return 7}e=0;g=c,h=Ya[H[d+16>>2]](0)|0,H[g>>2]=h;f=c;c=H[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Ya[H[d+16>>2]](b)|0;break b}if(!I[a+632|0]){if(Hm(a)){break a}}if(J[a+636>>1]<=b>>>0){break a}b=J[H[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Ya[H[d+16>>2]](b)|0;break b}a=H[(H[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!I[a+632|0]){if(Hm(a)){break a}}if(J[a+636>>1]<=b>>>0){break a}a=Ya[H[d+16>>2]](F[H[a+640>>2]+b|0]+b|0)|0}H[f>>2]=a}return e|0}function Uj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Wa-16|0;Wa=f;d=163632;e=I[a+2|0]|I[a+3|0]<<8;c=(a+2|0)+(((e<<8|e>>>8)&65535)<<1)|0;e=c+2|0;c=I[e|0]|I[e+1|0]<<8?c+4|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=H[b+100>>2];if((Kb(g,H[H[d+80>>2]+N(H[d+64>>2],20)>>2])|0)!=-1){d=I[e|0]|I[e+1|0]<<8;h=(d<<8|d>>>8)&65535;i=e+(h<<1)|0;d=i+2|0;c=I[d|0]|I[d+1|0]<<8;H[f+12>>2]=a;H[f+8>>2]=a;H[f+4>>2]=a;H[f>>2]=732;j=(c<<8|c>>>8)&65535;d=(j<<1)+d|0;c=I[d+2|0]|I[d+3|0]<<8;g=b;b=I[a+2|0]|I[a+3|0]<<8;c=Dh(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(c<<8|c>>>8)&65535,d+4|0,f)}Wa=f+16|0;return c}function Mp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;Wa=d+16|0;e=0;a:{if(!b){break a}b:{if(!c){break b}a=a?a:d+12|0;d=I[b|0];e=d<<24>>24;if((e|0)>=0){H[a>>2]=d;e=(e|0)!=0;break a}d=F[b|0];if(!H[H[64925]>>2]){H[a>>2]=d&57343;e=1;break a}d=(d&255)-194|0;if(d>>>0>50){break b}d=H[(d<<2)+244480>>2];if(d<>>0<=3){break b}c=I[b+1|0];e=c>>>3|0;if((e-16|e+(d>>26))>>>0>7){break b}c=c-128|d<<6;if((c|0)>=0){H[a>>2]=c;e=2;break a}d=I[b+2|0]-128|0;if(d>>>0>63){break b}c=d|c<<6;if((c|0)>=0){H[a>>2]=c;e=3;break a}b=I[b+3|0]-128|0;if(b>>>0>63){break b}H[a>>2]=b|c<<6;e=4;break a}H[64884]=25;e=-1}return e|0}function _y(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=H[a+16>>2];c=I[a+8204|0]|I[a+8205|0]<<8|(I[a+8206|0]<<16|I[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=I[a|0]|I[a+1|0]<<8|(I[a+2|0]<<16|I[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0>(b^-1)>>>0?0:a+b|0}return f|0}function SA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(H[a+64>>2]!=3){H[a+64>>2]=3;e=H[a+20>>2];if(!e){break a}b:{if(I[a+68|0]){d=H[a+12>>2];if((G[d+20>>1]+G[d+56>>1]|0)+1>>>0>K[d+8>>2]){d=vc(d,0,1);if(d){break a}}f=J[e>>1];d=f<<16>>16;if((d|0)<=0){break b}G[(H[e+12>>2]+(f<<1)|0)-2>>1]=J[e+2>>1]-1}d=J[e>>1]}G[e>>1]=d+1;d=H[a+12>>2];if((G[d+22>>1]+G[d+58>>1]|0)+1>>>0>K[d+4>>2]){d=vc(d,1,0);if(d){break a}}d=H[a+20>>2];if(I[a+68|0]){a=H[d+8>>2];e=G[d+2>>1];f=H[d+4>>2]+(e<<3)|0;H[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;H[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;F[a+e|0]=1}G[d+2>>1]=J[d+2>>1]+1}d=0}return d|0}function Pb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=N(b,12)+a|0;e=H[f+72>>2];if((e|0)>=0){d=H[f+76>>2];h=d+1|0;g=(h|0)>0?h:0;if(e>>>0>=g>>>0){break b}d=e;while(1){d=((d>>>1|0)+d|0)+8|0;if(g>>>0>=d>>>0){continue}break}if(!(d>>>0>>0|d>>>0>536870910)){h=N(b,12)+a|0;e=Eb(H[h+80>>2],d<<3);if(e){break c}}H[f+72>>2]=-1}e=H[40909];H[64760]=H[40908];H[64761]=e;e=259040;break a}H[h+80>>2]=e;H[f+72>>2]=d;d=H[f+76>>2]}if(d>>>0>>0){kb(H[(N(b,12)+a|0)+80>>2]+(d<<3)|0,0,g-d<<3)}H[f+76>>2]=g;e=(H[(N(b,12)+a|0)+80>>2]+(g<<3)|0)-8|0}b=(b<<2)+a|0;a=H[b+52>>2];H[e+4>>2]=c;H[e>>2]=a;H[b+52>>2]=H[b+52>>2]+1}function By(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Wa-16|0;Wa=f;c=H[a+28>>2];g=H[a+16>>2];e=H[a+24>>2];H[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=H[a+32>>2];break c}H[a+36>>2]=b;b=jb(b,4,c,d,H[a+32>>2],f+12|0);H[a+32>>2]=b;if(H[f+12>>2]){break b}H[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){g=e&-2;d=0;while(1){h=c<<2;H[h+b>>2]=I[a+2|0]|(I[a+1|0]<<8|I[a|0]<<16);H[(h|4)+b>>2]=I[a+13|0]|(I[a+12|0]<<8|I[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d+2|0;if((g|0)!=(d|0)){continue}break}}if(!(e&1)){break d}H[(c<<2)+b>>2]=I[a+2|0]|(I[a+1|0]<<8|I[a|0]<<16)}H[(e<<2)+b>>2]=0;break a}b=0}Wa=f+16|0;return b|0}function UD(a){a=a|0;if(I[260588]){return H[65146]}if(!I[261392]){a=261104;while(1){a=Ib(a)+12|0;if((a|0)!=261392){continue}break}F[261392]=1}Wb(261104,237954);Wb(261116,237945);Wb(261128,238790);Wb(261140,238626);Wb(261152,238024);Wb(261164,238958);Wb(261176,237962);Wb(261188,238074);Wb(261200,238443);Wb(261212,238426);Wb(261224,238434);Wb(261236,238453);Wb(261248,238599);Wb(261260,239167);Wb(261272,238478);Wb(261284,238294);Wb(261296,238024);Wb(261308,238502);Wb(261320,238619);Wb(261332,238796);Wb(261344,238482);Wb(261356,238195);Wb(261368,238066);Wb(261380,239163);F[260588]=1;H[65146]=261104;return 261104}function SD(a){a=a|0;if(I[260596]){return H[65148]}if(!I[261696]){a=261408;while(1){a=Ib(a)+12|0;if((a|0)!=261696){continue}break}F[261696]=1}Vb(261408,253752);Vb(261420,253784);Vb(261432,253820);Vb(261444,253844);Vb(261456,253868);Vb(261468,253884);Vb(261480,253904);Vb(261492,253924);Vb(261504,253952);Vb(261516,253992);Vb(261528,254024);Vb(261540,254060);Vb(261552,254096);Vb(261564,254112);Vb(261576,254128);Vb(261588,254144);Vb(261600,253868);Vb(261612,254160);Vb(261624,254176);Vb(261636,254192);Vb(261648,254208);Vb(261660,254224);Vb(261672,254240);Vb(261684,254256);F[260596]=1;H[65148]=261408;return 261408}function ri(a,b){var c=0,d=0,e=0,f=0;d=H[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{e=I[d|0];switch(e-40|0){case 1:break c;case 0:break d;default:break e}}if((e|0)!=92){break a}if((b|0)==(c|0)){H[a>>2]=b;return 3}f:{e=I[c|0];switch(e-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((e&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(I[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(I[d+3|0]&248)==48?d+4|0:c;break a}f=f+1|0;break a}f=f-1|0;if(f){break a}H[a>>2]=c;return 0}c=d+2|0}d=c;if(d>>>0>>0){continue}break}}H[a>>2]=d;return 3}function tt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=O(0),g=0,h=O(0),i=O(0),j=O(0),k=O(0);e=c+16|0;g=H[c+12>>2];d=H[c+8>>2];h=O(H[b+4>>2]);f=O(H[b>>2]);i=O(H[a+4>>2]);j=O(H[a>>2]);a:{if(I[c+4|0]){if(!H[e>>2]){Ya[H[d+12>>2]](d,g,e,L[c+28>>2],L[c+32>>2],H[d+32>>2]);H[c+16>>2]=1;a=H[c+32>>2];H[c+20>>2]=H[c+28>>2];H[c+24>>2]=a}Ya[H[d+20>>2]](d,g,e,j,i,f,h,H[d+40>>2]);break a}k=L[c>>2];f=O(O(h*k)+f);if(!H[c+16>>2]){Ya[H[d+12>>2]](d,g,e,L[c+28>>2],L[c+32>>2],H[d+32>>2]);H[c+16>>2]=1;a=H[c+32>>2];H[c+20>>2]=H[c+28>>2];H[c+24>>2]=a}Ya[H[d+20>>2]](d,g,e,O(O(i*k)+j),i,f,h,H[d+40>>2])}L[c+32>>2]=h;L[c+28>>2]=f;return 0}function pj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=2147483647;a:{if(!c){break a}d=c>>31;h=(d^c)-d|0;b:{d=b>>31;d=(d^b)-d|0;e=a>>31;e=(e^a)-e|0;if(d+e>>>0<=131071){d=N(d,e);break b}f=d>>>16|0;i=e&65535;d=d&65535;j=e>>>16|0;k=N(f,i)+N(d,j)|0;e=k<<16;d=e+N(d,i)|0;e=(N(f,j)+(k>>>16|0)|0)+(e>>>0>d>>>0)|0;if(!e){break b}if(e>>>0>=h>>>0){break a}f=Q(e);i=32-f|0;e=d>>>i|e<>>0)/(h>>>0)|0;e=e-N(g,h)|0;d=d<>>31;e=f-(h>>>0>f>>>0?0:h)|0;g=g<<1|h>>>0<=f>>>0;d=d<<1;i=i-1|0;if(i){continue}break}break a}g=(d>>>0)/(h>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-g|0:g}function yu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=H[H[a+40>>2]>>2];if(e){b=H[a>>2];h=H[b+100>>2];f=H[b+712>>2];a=H[f+3080>>2];b=oc(H[H[b+96>>2]+4>>2],11010);a:{if(!b|!a){break a}a=H[a>>2];if(!a){break a}c=Ya[a|0](b)|0;if(!c){break a}Ya[H[c+8>>2]](H[e>>2]);a=H[f+2024>>2];if(!a){break a}f=a-1|0;g=e+4|0;b=a&3;if(b){while(1){a=a-1|0;Ya[H[c+8>>2]](H[g+(a<<2)>>2]);d=d+1|0;if((d|0)!=(b|0)){continue}break}}if(f>>>0<3){break a}while(1){d=g+(a<<2)|0;Ya[H[c+8>>2]](H[d-4>>2]);Ya[H[c+8>>2]](H[d-8>>2]);Ya[H[c+8>>2]](H[d-12>>2]);a=a-4|0;Ya[H[c+8>>2]](H[g+(a<<2)>>2]);if(a){continue}break}}if(e){Ya[H[h+8>>2]](h,e)}}}function Om(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=H[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=H[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=I[c|0]<<8|I[c+1|0];H[a+44>>2]=e;c=c+j|0;h=I[c|0]<<8|I[c+1|0];H[a+40>>2]=h;c=c+g|0;d=I[c|0]|I[c+1|0]<<8;H[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=I[d|0]<<8|I[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=H[a>>2];if((c+d|0)+2>>>0<=H[e+508>>2]+H[e+512>>2]>>>0){break c}H[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}H[a+36>>2]=b;H[a+52>>2]=c;return 0}function zx(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=c;c=I[b+1|0]|I[b|0]<<8;if(i>>>0<(c<<2)+g>>>0){break a}b=H[a+12>>2];i=I[b+14|0];j=J[b+12>>1];k=J[b+10>>1];l=I[b+8|0];m=J[b+6>>1];n=J[b+4>>1];b:{if(!c){h=0;break b}f=f+1|0;b=0;while(1){h=Dm(a,I[g+1|0]|I[g|0]<<8,F[g+2|0]+d|0,F[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((c|0)!=(b|0)){continue}}break}b=H[a+12>>2]}G[b+14>>1]=i;G[b+8>>1]=l;G[b+12>>1]=j<<24>>24;G[b+10>>1]=k<<24>>24;G[b+6>>1]=m<<24>>24;G[b+4>>1]=n<<24>>24;a=H[a+8>>2];G[b+2>>1]=I[a+4|0];G[b>>1]=I[a|0]}return h|0}function qc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=H[a+16>>2];e=H[a>>2];g=H[a+4>>2];h=H[a+32>>2];i=H[a+28>>2];while(1){e=e-g|0;H[a>>2]=e;b=!!d;d=d-b|0;H[a+16>>2]=d;c=b+H[a+12>>2]|0;H[a+12>>2]=c;b=H[a+8>>2]+N(b,-20)|0;H[a+8>>2]=b;a:{if(!c){break a}b:{switch(I[b+18|0]-6|0){case 0:if(!(I[b+16|0]&32)){break a}if(!(J[b+12>>1]&16)){continue}break a;case 8:break b;default:break a}}j=H[H[i>>2]+68>>2];b=e;while(1){b=b+1|0;if(j>>>0<=b>>>0){break a}c=H[h>>2]+N(b,20)|0;c:{if(I[c+18|0]!=6){f=J[c+16>>1];break c}f=J[c+16>>1];if(!(f&32)){break c}if(!(J[c+12>>1]&16)){continue}}break}if(1<>2];a=I[c+12|0]|I[c+13|0]<<8|(I[c+14|0]<<16|I[c+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){g=c+20|0;while(1){e=a+f>>>1|0;c=N(e,12)+g|0;d=c-4|0;d=I[d|0]|I[d+1|0]<<8|(I[d+2|0]<<16|I[d+3|0]<<24);b:{if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>b>>>0){a=e;break b}d=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=I[c+4|0]|I[c+5|0]<<8|(I[c+6|0]<<16|I[c+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function uo(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=Wa-16|0;Wa=i;if((b^-1)+1073741807>>>0>=c>>>0){k=I[a+11|0]>>>7|0?H[a>>2]:a;a:{if(b>>>0<536870887){H[i+8>>2]=b<<1;H[i+12>>2]=b+c;c=Wa-16|0;Wa=c;Wa=c+16|0;c=i+8|0;j=i+12|0;c=H[(K[j>>2]>2]?c:j)>>2];if(c>>>0>=2){j=c+4&-4;c=j-1|0;c=(c|0)==2?j:c}else{c=1}break a}c=1073741806}j=c+1|0;c=Co(j);if(e){ue(c,k,e)}if(g){ue(c+(e<<2)|0,h,g)}l=e+f|0;h=d-l|0;if((d|0)!=(l|0)){d=e<<2;ue((d+c|0)+(g<<2)|0,(d+k|0)+(f<<2)|0,h)}if((b|0)!=1){Io(k)}H[a>>2]=c;H[a+8>>2]=j|-2147483648;b=a;a=h+(e+g|0)|0;H[b+4>>2]=a;H[i+4>>2]=0;H[c+(a<<2)>>2]=H[i+4>>2];Wa=i+16|0;return}od();X()}function qd(a,b){var c=0,d=0,e=0;a:{d=I[b|0];if((d|0)!=255){if((d|0)!=30){break a}return yh(a,b,0,0)>>16}return((I[b+3|0]|(I[b+2|0]<<8|I[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(K[a+8>>2]<=b+2>>>0){break b}return(I[b+2|0]|I[e|0]<<8)<<16>>16;case 1:c=0;if(K[a+8>>2]<=b+4>>>0){break b}a=I[b+1|0]|I[b+2|0]<<8|(I[b+3|0]<<16|I[b+4|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=H[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(I[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(I[e|0]|d<<8)|0}return c}function FK(a){a=a|0;a=a+24|0;Pb(a,0,754);xb(a,1819239276,1,1);xb(a,1667460464,1,1);Pb(a,0,755);xb(a,1853188980,13,1);Pb(a,0,0);xb(a,1634429038,13,1);Pb(a,0,0);xb(a,1919969382,12,1);Pb(a,0,0);xb(a,1919644262,13,1);Pb(a,0,0);xb(a,1886545254,12,1);Pb(a,0,0);xb(a,1651275622,12,1);Pb(a,0,0);xb(a,1633842790,12,1);Pb(a,0,0);xb(a,1751215206,12,1);Pb(a,0,0);xb(a,1886614630,12,1);Pb(a,0,0);xb(a,1986098293,13,1);Pb(a,0,0);xb(a,1667916660,13,1);Pb(a,0,0);Pb(a,0,756);xb(a,1768843636,12,1);xb(a,1886545267,13,1);xb(a,1633842803,13,1);xb(a,1651275635,13,1);xb(a,1886614643,13,1);xb(a,1751215214,13,1);Pb(a,0,757)}function ug(a){var b=0,c=0,d=0,e=0;H[65057]=0;fa(604,a|0);b=H[65057];H[65057]=0;if((b|0)!=1){a:{H[a+56>>2]=-57005;b=H[a- -64>>2];if(b){H[65057]=0;da(605,b+24|0,b|0);c=H[65057];H[65057]=0;if((c|0)==1){break a}Tb();hb(b)}b=H[a+88>>2];if(b){hb(b);H[a+88>>2]=0}H[a+72>>2]=0;H[a+76>>2]=0;H[a+48>>2]=0;hb(H[a+52>>2]);H[a+52>>2]=0;H[a+44>>2]=0;H[a+48>>2]=0;H[a+24>>2]=0;b=H[a+36>>2];c=H[a+32>>2];if(c){e=(c<<2)+b|0;while(1){hb(H[(c?b:163632)>>2]);d=!!c;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=H[a+36>>2]}H[a+32>>2]=0;hb(b);H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;return}}ea(0)|0;_()|0;Gb();X()}function nx(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{a=H[H[a+156>>2]>>2];b=H[a+4>>2];if(!(!b|H[a+40>>2])){d=b<<1;if((d|0)<0){c=6;break b}if(d){c=10;if(d>>>0>268435455){break b}c=H[a>>2];b=b<<4;c=Ya[H[c+4>>2]](c,b)|0;if(!c){break c}kb(c,0,b)}F[a+16|0]=1;H[a+40>>2]=c;d=(H[a+4>>2]<<3)+c|0;H[a+44>>2]=d;b=H[a+24>>2];if(b){b=b+(G[a+22>>1]<<3)|0}else{b=0}H[a+60>>2]=b;e=a- -64|0;b=H[a+28>>2];if(b){b=b+G[a+22>>1]|0}else{b=0}H[e>>2]=b;b=H[a+32>>2];if(b){b=b+(G[a+20>>1]<<1)|0}else{b=0}H[a+68>>2]=b;b=G[a+22>>1]<<3;H[a+80>>2]=b+d;H[a+76>>2]=b+c}c=0;break a}H[a+40>>2]=c;c=64;break a}H[a+40>>2]=0}return c|0}function GC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Wa-16|0;Wa=g;a:{if(!a){break a}d=H[a+92>>2];if(!d|H[d+4>>2]!=1970170211){break a}d=H[a+40>>2];if(!d){break a}f=H[a+36>>2];if((f|0)<=0){break a}i=(f<<2)+d|0;while(1){b:{f=H[d>>2];c:{if(J[f+8>>1]|J[f+10>>1]!=5){break c}e=H[f>>2];if(!e){break c}e=H[e+96>>2];h=H[H[e>>2]+32>>2];if(!h){break c}e=Ya[h|0](e,9712)|0;if(!e){break c}if(Ya[H[e>>2]](f,g+8|0)|0){break c}if(H[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=H[d>>2];if(!d){break a}j=Ya[H[H[d+12>>2]+20>>2]](d,H[a+92>>2],b,c)|0}Wa=g+16|0;return j|0}function gv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Wa-32|0;Wa=c;a:{if((Ya[H[b+52>>2]](b,6,c,0)|0)<=5){H[b+12>>2]=3;break a}e=H[c+12>>2];if(!e){H[b+12>>2]=3;break a}d=e>>31;d=(d^e)-d|0;if((d|0)!=65536){f=c,g=pb(H[c>>2],d),H[f>>2]=g;f=c,g=pb(H[c+4>>2],d),H[f+4>>2]=g;f=c,g=pb(H[c+8>>2],d),H[f+8>>2]=g;f=c,g=pb(H[c+16>>2],d),H[f+16>>2]=g;f=c,g=pb(H[c+20>>2],d),H[f+20>>2]=g;e=H[c+12>>2]<0?-65536:65536;H[c+12>>2]=e}H[a+440>>2]=H[c>>2];H[a+448>>2]=H[c+4>>2];d=H[c+8>>2];H[a+452>>2]=e;H[a+444>>2]=d;if(!gh(a+440|0)){H[b+12>>2]=3;break a}H[a+456>>2]=G[c+18>>1];H[a+460>>2]=G[c+22>>1]}Wa=c+32|0}function KA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=H[a+28>>2];a=H[f+20>>2];a:{if(!a){break a}b:{c:{b=J[a>>1];d=b<<16>>16;if((d|0)>=2){e=G[(H[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=J[a+2>>1];break b}b=G[a+2>>1];if((e|0)!=(b|0)){break b}G[a>>1]=d-1;break a}d:{if(b<<16>>16<2){break d}c=H[a+4>>2];g=c+(e<<3)|0;h=b&65535;c=(c+(h<<3)|0)-8|0;if(H[g>>2]!=H[c>>2]|H[g+4>>2]!=H[c+4>>2]|I[(H[a+8>>2]+h|0)-1|0]!=1){break d}b=b-1|0;G[a+2>>1]=b}if((d|0)<=0){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){G[a+2>>1]=b-1;G[a>>1]=d-1;break a}G[(H[a+12>>2]+(d<<1)|0)-2>>1]=e}F[f+44|0]=0}function kI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(I[a+11|0]>>>7|0){c=H[a+4>>2]}else{c=I[a+11|0]}a:{if(c>>>0>>0){d=Wa-16|0;Wa=d;e=b-c|0;if(e){c=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;if(I[a+11|0]>>>7|0){b=H[a+4>>2]}else{b=I[a+11|0]}f=b+e|0;if(c-b>>>0>>0){Oi(a,c,f-c|0,b,b)}c=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}vo(c+b|0,e,0);b:{if(I[a+11|0]>>>7|0){H[a+4>>2]=f;break b}F[a+11|0]=f}F[d+15|0]=0;F[b+f|0]=I[d+15|0]}break a}d=Wa-16|0;Wa=d;c:{if(I[a+11|0]>>>7|0){c=H[a>>2];F[d+15|0]=0;F[b+c|0]=I[d+15|0];H[a+4>>2]=b;break c}F[d+14|0]=0;F[a+b|0]=I[d+14|0];F[a+11|0]=b}}Wa=d+16|0}function Qe(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function wo(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=Wa-16|0;Wa=i;if((b^-1)-17>>>0>=c>>>0){if(I[a+11|0]>>>7|0){k=H[a>>2]}else{k=a}a:{if(b>>>0<2147483623){H[i+8>>2]=b<<1;H[i+12>>2]=b+c;c=Wa-16|0;Wa=c;Wa=c+16|0;c=i+8|0;j=i+12|0;c=H[(K[j>>2]>2]?c:j)>>2];if(c>>>0>=11){j=c+16&-16;c=j-1|0;c=(c|0)==11?j:c}else{c=10}break a}c=-18}j=c+1|0;c=Rc(j);if(e){Jd(c,k,e)}if(g){Jd(c+e|0,h,g)}l=e+f|0;h=d-l|0;if((d|0)!=(l|0)){Jd((c+e|0)+g|0,(e+k|0)+f|0,h)}b=b+1|0;if((b|0)!=11){hh(k)}H[a>>2]=c;H[a+8>>2]=j|-2147483648;b=a;a=h+(e+g|0)|0;H[b+4>>2]=a;F[i+7|0]=0;F[a+c|0]=I[i+7|0];Wa=i+16|0;return}od();X()}function jK(a){a=a|0;a=a+24|0;Pb(a,0,765);xb(a,1819239276,1,1);xb(a,1667460464,1,1);xb(a,1853188980,1,1);xb(a,1634429038,9,1);Pb(a,0,766);xb(a,1919969382,8,1);Pb(a,0,767);Pb(a,0,766);xb(a,1886545254,9,1);Pb(a,0,768);xb(a,1919644262,9,1);xb(a,1633842790,9,1);xb(a,1651275622,9,1);xb(a,1751215206,9,1);xb(a,1886614630,9,1);xb(a,1986098293,9,1);xb(a,1667916660,9,1);Pb(a,0,769);Pb(a,0,770);xb(a,1769172844,0,1);xb(a,1768843636,0,1);xb(a,1835361385,0,1);xb(a,1718185569,0,1);Pb(a,0,0);xb(a,1633842803,9,1);xb(a,1651275635,9,1);xb(a,1751215214,9,1);xb(a,1886545267,9,1);xb(a,1886614643,9,1)}function Rn(a){var b=0,c=0,d=0;b=Wa-16|0;Wa=b;d=ob(a,0);a:{if(d){break a}d=ec(a,b+8|0,4);if(d){break a}d=3;if(I[b+8|0]!=31|I[b+9|0]!=139|(I[b+10|0]!=8|I[b+11|0]>31)){break a}d=dc(a,6);H[b+12>>2]=d;c=I[b+11|0];if(c&4){c=Xn(a,b+12|0);d=H[b+12>>2];if(d){break a}d=dc(a,c);H[b+12>>2]=d;if(d){break a}d=0;c=I[b+11|0]}if(c&8){while(1){c=jc(a,b+12|0)?0:3;d=H[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=3){break a}c=I[b+11|0]}if(c&16){while(1){c=jc(a,b+12|0)?0:5;d=H[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=5){break a}c=I[b+11|0]}if(!(c&2)){break a}d=dc(a,2)}Wa=b+16|0;return d}function an(a,b){var c=0,d=0,e=0;c=H[a+32>>2];d=H[a+28>>2];if(d){while(1){e=H[c+8>>2];if(e){Ya[H[b+8>>2]](b,e)}H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=H[a+32>>2]}if(c){Ya[H[b+8>>2]](b,c)}H[a+24>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;c=H[a+20>>2];d=H[a+16>>2];if(d){while(1){e=H[c+8>>2];if(e){Ya[H[b+8>>2]](b,e)}H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=H[a+20>>2]}if(c){Ya[H[b+8>>2]](b,c)}H[a+12>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;c=H[a+8>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}function SC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if(Yc(a,H[b+8>>2],f)){Ji(b,c,d,e);return}h=I[b+53|0];g=H[a+12>>2];F[b+53|0]=0;i=I[b+52|0];F[b+52|0]=0;j=a+16|0;Ii(j,b,c,d,e,f);k=I[b+53|0];h=h|k;l=I[b+52|0];i=i|l;a:{if((g|0)<2){break a}j=j+(g<<3)|0;g=a+24|0;while(1){if(I[b+54|0]){break a}b:{if(l){if(H[b+24>>2]==1){break a}if(I[a+8|0]&2){break b}break a}if(!k){break b}if(!(F[a+8|0]&1)){break a}}G[b+52>>1]=0;Ii(g,b,c,d,e,f);k=I[b+53|0];h=k|h;l=I[b+52|0];i=l|i;g=g+8|0;if(j>>>0>g>>>0){continue}break}}F[b+53|0]=(h&255)!=0;F[b+52|0]=(i&255)!=0}function Az(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=H[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((J[e+12>>1]&7)!=2){b=H[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=H[a>>2];b=b>>c;a:{if((b|0)<0){break a}c=f>>c;d=J[a+52>>1];if((c|0)>=(d|0)){break a}d=b>>>0>>0?b:d-1|0;b=-128>>(d&7);g=(c|0)>0?c:0;c=g<<13>>16;e=H[a+56>>2];f=H[a+140>>2];a=c+(e+f|0)|0;g=255>>>(g&7)|0;h=d<<13>>16;d=h-c|0;b:{if((d|0)>0){F[a|0]=g|I[a|0];if((d|0)!=1){a=(d|0)<2?d:2;kb((e+(c+f|0)|0)+1|0,255,(h-(a+c|0)|0)+1|0);a=(e+((f+h|0)-a|0)|0)+1|0}a=a+1|0;break b}b=b&g}F[a|0]=I[a|0]|b}}function xt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=Wa-128|0;Wa=a;b=H[b+24>>2];a:{b:{c:{d:{if((d|0)<0){H[65057]=0;f=ca(645,b|0,c|0)|0;g=H[65057];H[65057]=0;if((g|0)!=1){break d}break c}d=(d|0)<127?d:127;f=Ue(a,c,d);F[a+d|0]=0;H[65057]=0;f=ca(645,b|0,f|0)|0;g=H[65057];H[65057]=0;if((g|0)==1){break c}}H[e>>2]=f;if(!f){H[65057]=0;f=ga(644,b|0,0,a|0,128)|0;b=H[65057];H[65057]=0;if((b|0)==1){break c}e:{if(!(f|(d|0)>=0)){if(rb(a,c)){break e}break b}if(!ub(a,c,d)){break b}}f=H[e>>2]}c=(f|0)!=0;break a}a=$()|0;_()|0;Tb();ba(a|0);X()}c=1}Tb();Wa=a+128|0;return c|0}function Ww(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=G[a+302>>1];if(f){a:{b:{c:{switch(H[H[H[a>>2]+96>>2]+64>>2]-35|0){case 5:if(I[a+615|0]){break a}g=b+16|0;e=H[b+16>>2]+(c<<3)|0;break b;case 0:break c;default:break a}}g=b+16|0;e=H[b+16>>2]+(c<<3)|0}e=H[e>>2];f=sb(d,f,H[a+568>>2]);H[H[g>>2]+(c<<3)>>2]=f+e}e=H[b+24>>2]+c|0;F[e|0]=I[e|0]|8}e=G[a+304>>1];if(e){d:{if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break d}}g=c<<3;f=H[(g+H[b+16>>2]|0)+4>>2];a=sb(d,e,H[a+568>>2]);H[(g+H[b+16>>2]|0)+4>>2]=a+f}a=H[b+24>>2]+c|0;F[a|0]=I[a|0]|16}}function cs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;f=H[b+4>>2];a:{if(f>>>0>a>>>0){break a}c=H[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}g=H[b+12>>2];h=g-2|0;H[b+12>>2]=h;if((h|0)<=0){break a}d=1;if((I[a|0]|I[a+1|0]<<8)!=256){break a}b:{d=a+2|0;if(d>>>0>>0|c>>>0>>0|c-d>>>0<2){break b}c=g-4|0;H[b+12>>2]=c;if((c|0)<=0){break b}c=I[d|0]|I[d+1|0]<<8;c:{if(!c){break c}if(nc(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=H[b+28>>2];if(c>>>0>31){break b}H[b+28>>2]=c+1;if(!I[b+24|0]){break b}F[d|0]=0;F[d+1|0]=0}H[e+12>>2]=a;d=El(a+4|0,b,e+12|0);break a}d=0}Wa=e+16|0;return d}function Tz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Wa-128|0;Wa=f;if((c|0)>0){k=(N((b|0)!=0,36)+a|0)+16|0;while(1){h=(c|0)<16?c:16;g=h<<1;b=0;while(1){e=b<<2;i=H[e+d>>2]+i|0;H[e+f>>2]=((i+(i>>31)|0)+32768&-65536)>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;j=(e|4)+f|0;H[j>>2]=H[j>>2]-H[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(H[a+4>>2]){break a}b=f;g=h;while(1){e=Of(k,H[b>>2],H[b+4>>2],H[a>>2],0);if(e){H[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-h|0;if((c|0)>0){continue}break}}Wa=f+128|0}function Wx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Wa-16|0;Wa=d;e=H[b+28>>2];c=Ya[H[a+516>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=Nb(b,4);H[d+12>>2]=c;if(c){break a}g=a,h=Rb(b),G[g+560>>1]=h;g=a,h=Rb(b),G[g+562>>1]=h;Db(b);if(J[a+560>>1]>=2){G[a+562>>1]=0;c=8;break a}c=e;e=J[a+562>>1];g=a,h=jb(c,4,0,e,0,d+12|0),H[g+564>>2]=h;c=H[d+12>>2];if(c){break a}c=Nb(b,e<<2);H[d+12>>2]=c;if(c){break a}if(e){c=H[a+564>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=Rb(b),G[g>>1]=h;g=f,h=Rb(b),G[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Db(b);c=H[d+12>>2]}Wa=d+16|0;return c|0}function FA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;G[a+64>>1]=256;H[a+8>>2]=d;H[a+4>>2]=b;H[a>>2]=H[b+100>>2];a:{if(!d){break a}b=H[H[d+156>>2]>>2];H[a+12>>2]=b;H[a+20>>2]=b+56;H[a+16>>2]=b+20;re(b);H[a+68>>2]=0;H[a+72>>2]=0;if(!c|!e){break a}b=H[H[c+40>>2]>>2];if(!b){break a}H[a+72>>2]=H[b>>2];H[a+68>>2]=H[H[d+156>>2]+36>>2]}H[a+24>>2]=0;H[a+28>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[7660];H[a+76>>2]=H[7659];H[a+80>>2]=b;b=H[7662];H[a+84>>2]=H[7661];H[a+88>>2]=b;b=H[7664];H[a+92>>2]=H[7663];H[a+96>>2]=b;b=H[7666];H[a+100>>2]=H[7665];H[a+104>>2]=b}function Ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;h=H[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=H[b+8>>2];if(e>>>0>>0|e-a>>>0<10){break a}d=H[b+12>>2]-10|0;H[b+12>>2]=d;if((d|0)<=0){break a}c=a+2|0;f=I[a|0]|I[a+1|0]<<8;if(f){if(c>>>0>>0|c>>>0>e>>>0){break a}f=(f<<8|f>>>8)&65535;if(f>>>0>e-c>>>0){break a}d=d-f|0;H[b+12>>2]=d;if((d|0)<=0){break a}}if(c>>>0>>0|c>>>0>e>>>0){break a}if(e-c>>>0<=7){break a}H[b+12>>2]=d-8;if((I[c|0]|I[c+1|0]<<8)!=256|(d|0)<9){break a}if(!Xh(a+4|0,b,c)){break a}H[g+12>>2]=c;i=Wh(a+8|0,b,g+12|0)}Wa=g+16|0;return i|0}function _d(a,b){var c=0,d=0,e=0,f=O(0),g=0,h=O(0),i=0;c=H[a>>2];g=H[a+4>>2];i=H[g+20>>2];f=O(M[b>>3]);d=H[g+16>>2];e=H[d+28>>2];if(!e){e=vb(d);g=H[a+4>>2];d=H[g+16>>2]}f=O(O(f*O(i|0))/O(e>>>0));e=c+16|0;h=O(O(M[b+8>>3])*O(H[g+24>>2]));a=H[d+28>>2];if(!a){a=vb(d)}h=O(h/O(a>>>0));b=H[c+12>>2];a=H[c+8>>2];a:{b:{if(I[c+4|0]){if(!H[e>>2]){break b}break a}f=O(O(h*L[c>>2])+f);if(H[c+16>>2]){break a}}Ya[H[a+12>>2]](a,b,e,L[c+28>>2],L[c+32>>2],H[a+32>>2]);H[c+16>>2]=1;d=H[c+32>>2];H[c+20>>2]=H[c+28>>2];H[c+24>>2]=d}Ya[H[a+16>>2]](a,b,e,f,h,H[a+36>>2]);L[c+32>>2]=h;L[c+28>>2]=f}function jf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=Wa-16|0;Wa=i;a:{b:{if(!a){break b}g=H[e+12>>2];h=c-b|0;if((h|0)>0){h=h>>>2|0;if((Ya[H[H[a>>2]+48>>2]](a,b,h)|0)!=(h|0)){break b}}b=d-b>>2;g=(b|0)<(g|0)?g-b|0:0;if((g|0)>0){b=zp(i,g,f);c:{if(I[b+11|0]>>>7|0){f=H[b>>2];break c}f=b}H[65057]=0;f=ka(1029,a|0,f|0,g|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}Sb(b);if((f|0)!=(g|0)){break b}}b=d-c|0;if((b|0)>0){b=b>>>2|0;if((Ya[H[H[a>>2]+48>>2]](a,c,b)|0)!=(b|0)){break b}}H[e+12>>2]=0;j=a}Wa=i+16|0;return j|0}a=$()|0;_()|0;Sb(b);ba(a|0);X()}function it(a){var b=0,c=0;b=H[a+208>>2];if(b){while(1){b=H[a+212>>2]+N(b,24)|0;H[b-16>>2]=0;c=b-12|0;hb(H[c>>2]);H[c>>2]=0;b=b-20|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+208>>2]-1|0;H[a+208>>2]=b;if(b){continue}break}}hb(H[a+212>>2]);H[a+212>>2]=0;H[a+204>>2]=0;H[a+208>>2]=0;b=H[a+196>>2];if(b){while(1){b=H[a+200>>2]+(b<<5)|0;H[b-24>>2]=0;c=b-20|0;hb(H[c>>2]);H[c>>2]=0;b=b-28|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+196>>2]-1|0;H[a+196>>2]=b;if(b){continue}break}}hb(H[a+200>>2]);H[a+200>>2]=0;H[a+192>>2]=0;H[a+196>>2]=0;H[a+96>>2]=0;hb(H[a+100>>2]);H[a+100>>2]=0;H[a+92>>2]=0;H[a+96>>2]=0}function sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;H[a+44>>2]=b;wd(H[a>>2],b);c=H[a>>2];b=H[H[c+712>>2]+3080>>2];c=oc(H[H[c+96>>2]+4>>2],11010);a:{if(!c|!b){break a}b=H[b>>2];if(!b){break a}e=Ya[b|0](c)|0;if(!e){break a}f=H[H[a>>2]+712>>2];c=H[f+1440>>2];h=H[H[a+40>>2]>>2];Ya[H[e+4>>2]](H[h>>2],H[a+16>>2],H[a+20>>2],0,0);b=H[f+2024>>2];if(!b){break a}while(1){g=H[a+16>>2];b=b-1|0;i=b<<2;d=H[H[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=sb(g,c,d);d=sb(H[a+20>>2],c,d);break b}d=H[a+20>>2]}Ya[H[e+4>>2]](H[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function ZA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Wa-32|0;Wa=e;H[d>>2]=-1;ee(a,e+16|0);if(H[e+24>>2]==3){i=H[a>>2];g=H[e+16>>2]+1|0;H[a>>2]=g;j=H[a+8>>2];h=H[e+20>>2]-1|0;H[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){ee(a,e);if(!H[e+8>>2]){break a}f=f+12|0;if(K[a>>2]>2]){continue}break}break a}c=N(c,12)+b|0;while(1){ee(a,e);if(!H[e+8>>2]){break a}if(c>>>0>f>>>0){g=H[e+4>>2];H[f>>2]=H[e>>2];H[f+4>>2]=g;H[f+8>>2]=H[e+8>>2]}f=f+12|0;if(K[a>>2]>2]){continue}break}}H[d>>2]=(f-b|0)/12;H[a+8>>2]=j;H[a>>2]=i}Wa=e+32|0}function UK(a){a=a|0;var b=0;b=a+24|0;xb(b,1937007464,1,1);Pb(b,0,746);xb(b,1667460464,1,1);xb(b,1819239276,1,1);Pb(b,0,0);xb(b,1769172844,(H[a+8>>2]==1098015074)<<1,1);Pb(b,0,0);xb(b,1718185569,(H[a+8>>2]==1098015074)<<1,1);Pb(b,0,0);xb(b,1718185522,0,1);Pb(b,0,0);xb(b,1718185523,0,1);Pb(b,0,0);xb(b,1835361385,(H[a+8>>2]==1098015074)<<1,1);Pb(b,0,0);xb(b,1835361330,0,1);Pb(b,0,0);xb(b,1768843636,(H[a+8>>2]==1098015074)<<1,1);Pb(b,0,0);xb(b,1919707495,11,1);if(H[a+8>>2]==1098015074){Pb(b,0,747)}xb(b,1919118452,9,1);xb(b,1667329140,9,1);Pb(b,0,0);xb(b,1836279156,1,1)}function Ys(a,b){var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}F[a+24|0]=0;H[a+32>>2]=b;d=H[b+12>>2];H[a+4>>2]=d;e=H[b+16>>2];H[a+8>>2]=d+e;H[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!d){lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b}a:{if((e|0)>=36){H[a+12>>2]=c-36;c=I[d|0]|I[d+1|0]<<8;lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if((c|0)!=256){break a}if(H[b+4>>2]){H[b+4>>2]=0}return b}lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function PL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}F[a+24|0]=0;H[a+32>>2]=b;d=H[b+12>>2];H[a+4>>2]=d;e=H[b+16>>2];H[a+8>>2]=d+e;H[a+28>>2]=0;if(e>>>0>67108862){c=1073741823}else{c=e<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}H[a+12>>2]=c;H[a+20>>2]=0;H[a>>2]=0;if(!d){lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;return b|0}a:{if((e|0)>=5){H[a+12>>2]=c-5;c=I[d|0];lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if((c|0)!=2){break a}if(H[b+4>>2]){H[b+4>>2]=0}return b|0}lb(b);H[a+32>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0}lb(b);return 163632}function Gm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;H[g+12>>2]=0;h=zb(a,(J[c+8>>1]>>>1|0)+1|0,g+12|0);e=0;a:{if(H[g+12>>2]){break a}e=ob(b,H[c+12>>2]);H[g+12>>2]=e;b:{if(e){break b}e=Nb(b,J[c+8>>1]);H[g+12>>2]=e;if(e){break b}e=h;c:{f=J[c+8>>1];if(f>>>0>=2){i=f>>>1|0;f=H[b+32>>2];while(1){if(I[f|0]){break c}if(!(Ya[d|0](F[f+1|0])|0)){break c}F[e|0]=I[f+1|0];f=f+2|0;e=e+1|0;i=i-1|0;if(i){continue}break}}F[e|0]=0;Db(b);e=h;break a}Db(b)}if(h){Ya[H[a+8>>2]](a,h)}H[c+12>>2]=0;G[c+8>>1]=0;b=H[c+16>>2];if(b){Ya[H[a+8>>2]](a,b)}H[c+16>>2]=0;e=0}Wa=g+16|0;return e}function Am(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}b:{c:{b=H[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){k=g&-4;while(1){c=H[a>>2];b=e<<2;f=d<<2;H[c+b>>2]=H[c+f>>2];c=H[a>>2];H[c+(b|4)>>2]=H[(c+f|0)+4>>2];c=H[a>>2];H[c+(b|8)>>2]=H[(c+f|0)+8>>2];c=b|12;b=H[a>>2];H[c+b>>2]=H[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}if(!h){break b}while(1){b=H[a>>2];H[b+(e<<2)>>2]=H[b+(d<<2)>>2];d=d+1|0;e=e+1|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}H[a+8>>2]=g}}function Xv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=H[a+532>>2];if(!e){return 6}f=H[e>>2];i=H[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}e=H[e+136>>2];a=0;if(f-1>>>0>=3){h=f&-4;while(1){d=a<<2;H[d+c>>2]=H[e+d>>2];g=d|4;H[g+c>>2]=H[e+g>>2];g=d|8;H[g+c>>2]=H[e+g>>2];d=d|12;H[d+c>>2]=H[e+d>>2];a=a+4|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}}d=f&3;if(!d){break b}while(1){h=a<<2;H[h+c>>2]=H[e+h>>2];a=a+1|0;k=k+1|0;if((d|0)!=(k|0)){continue}break}}a=0;if(f>>>0>=i>>>0){break a}kb((f<<2)+c|0,0,i-f<<2);a=0}H[b>>2]=f;return a|0}function Ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=H[a>>2];if(!b){return}f=H[b+96>>2];if(!f){return}c=H[b+108>>2];if(!c){break a}e=b+108|0;d=H[f+8>>2];while(1){if(H[c+8>>2]!=(a|0)){c=H[c+4>>2];if(c){continue}break a}break}g=H[c>>2];h=g?g+4|0:e;e=H[c+4>>2];H[h>>2]=e;H[(e?e:b+112|0)>>2]=g;Ya[H[d+8>>2]](d,c);b:{if(H[b+88>>2]!=(a|0)){break b}H[b+88>>2]=0;c=H[b+108>>2];if(!c){break b}H[b+88>>2]=H[c+8>>2]}b=H[a+8>>2];if(b){Ya[b|0](a)}b=H[H[f+12>>2]+60>>2];if(b){Ya[b|0](a)}b=H[a+40>>2];if(b){Ya[H[d+8>>2]](d,b)}H[a+40>>2]=0;Ya[H[d+8>>2]](d,a)}}function sn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=H[a+20>>2];b:{if(!a){break b}c:{d:{b=J[a>>1];e=b<<16>>16;if((e|0)>=2){d=G[(H[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=J[a+2>>1];break c}b=G[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if(b<<16>>16<2){break e}c=H[a+4>>2];f=c+(d<<3)|0;g=b&65535;c=(c+(g<<3)|0)-8|0;if(H[f>>2]!=H[c>>2]|H[f+4>>2]!=H[c+4>>2]|I[(H[a+8>>2]+g|0)-1|0]!=1){break e}b=b-1|0;G[a+2>>1]=b}if((e|0)<=0){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){G[a+2>>1]=b-1;break a}G[(H[a+12>>2]+(e<<1)|0)-2>>1]=d}return}G[a>>1]=e-1}function Nb(a,b){var c=0,d=0,e=0;a:{e=H[a+20>>2];b:{if(e){c=85;if(K[a+4>>2]>>0){break b}d=H[a+28>>2];c:{d:{if((b|0)>0){c=Ya[H[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=H[a+20>>2]}H[a>>2]=c;e=Ya[e|0](a,H[a+8>>2],c,b)|0;c=H[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Ya[H[d+8>>2]](d,c)}c=0;H[a>>2]=0;d=85}H[a+32>>2]=c;H[a+36>>2]=c?b+c|0:0;H[a+8>>2]=e+H[a+8>>2];return d}e=H[a+4>>2];d=H[a+8>>2];c=85;if(e>>>0<=d>>>0|e-d>>>0>>0){break b}H[a+8>>2]=b+d;c=d+H[a>>2]|0;H[a+32>>2]=c;H[a+36>>2]=b+c;c=0}return c}H[a>>2]=0;return c}function kf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=Wa-16|0;Wa=i;a:{b:{if(!a){break b}g=H[e+12>>2];h=c-b|0;if((h|0)>0){if((Ya[H[H[a>>2]+48>>2]](a,b,h)|0)!=(h|0)){break b}}b=d-b|0;g=(b|0)<(g|0)?g-b|0:0;if((g|0)>0){b=Ap(i,g,f);c:{if(I[b+11|0]>>>7|0){f=H[b>>2];break c}f=b}H[65057]=0;f=ka(903,a|0,f|0,g|0)|0;h=H[65057];H[65057]=0;if((h|0)==1){break a}nb(b);if((f|0)!=(g|0)){break b}}b=d-c|0;if((b|0)>0){if((Ya[H[H[a>>2]+48>>2]](a,c,b)|0)!=(b|0)){break b}}H[e+12>>2]=0;j=a}Wa=i+16|0;return j|0}a=$()|0;_()|0;nb(b);ba(a|0);X()}function UC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Yc(a,H[b+8>>2],e)){if(!(H[b+28>>2]==1|H[b+4>>2]!=(c|0))){H[b+28>>2]=d}return}a:{if(Yc(a,H[b>>2],e)){if(!(H[b+16>>2]!=(c|0)&H[b+20>>2]!=(c|0))){if((d|0)!=1){break a}H[b+32>>2]=1;return}H[b+32>>2]=d;b:{if(H[b+44>>2]==4){break b}G[b+52>>1]=0;a=H[a+8>>2];Ya[H[H[a>>2]+20>>2]](a,b,c,c,1,e);if(I[b+53|0]){H[b+44>>2]=3;if(!I[b+52|0]){break b}break a}H[b+44>>2]=4}H[b+20>>2]=c;H[b+40>>2]=H[b+40>>2]+1;if(H[b+36>>2]!=1|H[b+24>>2]!=2){break a}F[b+54|0]=1;return}a=H[a+8>>2];Ya[H[H[a>>2]+24>>2]](a,b,c,d,e)}}function WA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;F[a+68|0]=1;H[a+64>>2]=0;H[a+8>>2]=d;H[a+4>>2]=b;H[a>>2]=H[b+100>>2];a:{if(!d){break a}b=H[H[d+156>>2]>>2];H[a+12>>2]=b;H[a+20>>2]=b+56;H[a+16>>2]=b+20;re(b);b=H[H[c+40>>2]>>2];H[a+72>>2]=0;H[a+76>>2]=b;if(!e){break a}H[a+72>>2]=H[H[d+156>>2]+36>>2]}H[a+24>>2]=0;H[a+28>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;H[a+32>>2]=0;H[a+36>>2]=0;b=H[7601];H[a+80>>2]=H[7600];H[a+84>>2]=b;b=H[7603];H[a+88>>2]=H[7602];H[a+92>>2]=b;b=H[7605];H[a+96>>2]=H[7604];H[a+100>>2]=b;b=H[7607];H[a+104>>2]=H[7606];H[a+108>>2]=b}function mn(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;H[c+8>>2]=0;H[c+12>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=H[a+4>>2];a:{if(!H[H[d+128>>2]+52>>2]){d=18;if(b>>>0>255){break a}f=H[a+532>>2];if(!H[f+1188>>2]){break a}h=Ya[H[H[f+3088>>2]>>2]](b)|0;g=H[f+20>>2];if(!g){break a}f=H[f+1188>>2];b=0;while(1){if(J[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=H[a+4>>2]}d=Ya[H[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=H[e+12>>2];H[c+4>>2]=a;b=H[e+8>>2];H[c+12>>2]=a;d=0;H[c+8>>2]=a?a+b|0:0}Wa=e+16|0;return d}function AA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(I[a+64|0]){break a}F[a+64|0]=1;e=H[a+20>>2];b:{if(I[a+65|0]){d=H[a+12>>2];if((G[d+20>>1]+G[d+56>>1]|0)+1>>>0>K[d+8>>2]){d=vc(d,0,1);if(d){break a}}f=J[e>>1];d=f<<16>>16;if((d|0)<=0){break b}G[(H[e+12>>2]+(f<<1)|0)-2>>1]=J[e+2>>1]-1}d=J[e>>1]}G[e>>1]=d+1;d=H[a+12>>2];if((G[d+22>>1]+G[d+58>>1]|0)+1>>>0>K[d+4>>2]){d=vc(d,1,0);if(d){break a}}d=H[a+20>>2];if(I[a+65|0]){a=H[d+8>>2];e=G[d+2>>1];f=H[d+4>>2]+(e<<3)|0;H[f+4>>2]=c>>10;H[f>>2]=b>>10;F[a+e|0]=1}G[d+2>>1]=J[d+2>>1]+1;d=0}return d|0}function Vy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[b>>2];if((c|0)==-1){return 0}d=c+1|0;a=H[a+16>>2];c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d>>>0>f>>>0?d:f;d=c-f|0;e=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){H[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=I[a+1|0]|I[a|0]<<8;if(g){H[b>>2]=c;return g|0}if((c|0)==-1){return 0}a=a+2|0;c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}H[b>>2]=f;return 0}function cw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Wa-16|0;Wa=f;a=H[a+532>>2];a:{if(!a){e=6;break a}d=H[a+4>>2];Ag(H[a+136>>2],f,d);a=b>>>0>d>>>0?d:b;if(a){mb(c,f,a<<2)}if(b>>>0<=d>>>0){break a}d=(a^-1)+b|0;g=b-a&7;if(g){while(1){H[(a<<2)+c>>2]=32768;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=0;if(d>>>0<7){break a}while(1){d=(a<<2)+c|0;H[d>>2]=32768;H[d+4>>2]=32768;H[d+24>>2]=32768;H[d+28>>2]=32768;H[d+16>>2]=32768;H[d+20>>2]=32768;H[d+8>>2]=32768;H[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}Wa=f+16|0;return e|0}function qh(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=Wa-240|0;Wa=i;h=H[d>>2];H[i+232>>2]=h;d=H[d+4>>2];H[i>>2]=a;H[i+236>>2]=d;k=1;a:{b:{c:{if(!(d|(h|0)!=1)){d=a;break c}l=0-b|0;h=a;while(1){j=(e<<2)+g|0;d=h-H[j>>2]|0;if((Ya[c|0](d,a)|0)<=0){d=h;break c}d:{if(!((e|0)<2|f)){f=H[j-8>>2];j=h+l|0;if((Ya[c|0](j,d)|0)>=0){break d}if((Ya[c|0](j-f|0,d)|0)>=0){break d}}H[(k<<2)+i>>2]=d;h=i+232|0;f=Kq(h);rh(h,f);k=k+1|0;e=e+f|0;f=0;h=d;if(H[i+236>>2]|H[i+232>>2]!=1){continue}break b}break}d=h;break b}if(f){break a}}Jq(b,i,k);Fj(d,b,c,e,g)}Wa=i+240|0}function Gp(a,b){var c=0,d=0,e=0,f=0,g=0;b=H[a+84>>2]+(H[a+48>>2]+b|0)|0;d=H[a+12>>2];a:{if(b>>>0<=d>>>0){break a}b=b+1|0;if((b|d)<0){return 6}f=H[a>>2];g=H[a+52>>2];b:{c:{e=b&-2;d:{if(!e){b=0;if(!g){break d}Ya[H[f+8>>2]](f,g);H[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!d){b=Ya[H[f+4>>2]](f,e<<5)|0;c=!b<<6;break e}c=Ya[H[f+12>>2]](f,d<<5,e<<5,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break c}kb((d<<5)+b|0,0,e-d<<5)}H[a+52>>2]=b;break b}H[a+52>>2]=b;if(c){break a}}H[a+12>>2]=e;c=0;H[a+88>>2]=b?(H[a+48>>2]<<5)+b|0:0}return c}function nn(a,b,c){var d=0,e=0,f=0;a:{if(I[a+44|0]){break a}F[a+44|0]=1;e=H[a+20>>2];if(!e){return 3}b:{if(I[a+45|0]){d=H[a+12>>2];if((G[d+20>>1]+G[d+56>>1]|0)+1>>>0>K[d+8>>2]){d=vc(d,0,1);if(d){break a}}f=J[e>>1];d=f<<16>>16;if((d|0)<=0){break b}G[(H[e+12>>2]+(f<<1)|0)-2>>1]=J[e+2>>1]-1}d=J[e>>1]}G[e>>1]=d+1;d=H[a+12>>2];if((G[d+22>>1]+G[d+58>>1]|0)+1>>>0>K[d+4>>2]){d=vc(d,1,0);if(d){break a}}d=H[a+20>>2];if(I[a+45|0]){a=H[d+8>>2];e=G[d+2>>1];f=H[d+4>>2]+(e<<3)|0;H[f+4>>2]=c>>10;H[f>>2]=b>>10;F[a+e|0]=1}G[d+2>>1]=J[d+2>>1]+1;d=0}return d}function Fm(a,b){var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[d+12>>2]=0;e=jc(a,d+12|0);c=H[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}f=b;b=e&127;b:{if(!(e&128)){break b}e=jc(a,d+12|0);c=H[d+12>>2];if(c){break a}b=e&127|b<<7;if(!(e&128)){break b}e=jc(a,d+12|0);c=H[d+12>>2];if(c){break a}b=e&127|b<<7;if(!(e&128)){break b}e=jc(a,d+12|0);c=H[d+12>>2];if(c){break a}b=e&127|b<<7;if(!(e&128)){break b}a=jc(a,d+12|0);c=H[d+12>>2];if(c){break a}if(b>>>0>33554431){c=8;break a}c=8;if(a&128){break a}b=a&127|b<<7}H[f>>2]=b;c=0}Wa=d+16|0;return c}function jn(a,b){var c=0,d=0,e=0,f=0;f=Wa-16|0;Wa=f;a:{b:{d=H[a+20>>2];if((d|0)!=H[a+12>>2]){e=H[a+28>>2];break b}c=H[a+16>>2];H[f+12>>2]=0;c:{c=c+d|0;e=H[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=N(c,e);e=jb(H[a>>2],1,H[a+24>>2],d,H[a+28>>2],f+12|0);H[a+28>>2]=e;if(H[f+12>>2]){break c}H[a+24>>2]=d;H[a+12>>2]=c;d=H[a+20>>2];if(c>>>0>=d>>>0){break b}b=H[a+4>>2];if(!(!b|H[b>>2])){H[b>>2]=130}H[a+20>>2]=c;break a}a=H[a+4>>2];if(!a|H[a>>2]){break a}H[a>>2]=64;break a}c=H[a+8>>2];mb(N(c,d)+e|0,b,c);H[a+20>>2]=H[a+20>>2]+1}Wa=f+16|0}function Yx(a){a=a|0;var b=0,c=0,d=0,e=0;d=H[H[a+96>>2]+8>>2];b=H[a+356>>2];if(b){c=H[a+348>>2];if((c|0)>0){c=N(c,20)+b|0;while(1){e=H[b+16>>2];if(e){Ya[H[d+8>>2]](d,e)}H[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=H[a+356>>2]}if(b){Ya[H[d+8>>2]](d,b)}H[a+356>>2]=0}b=H[a+364>>2];if(b){c=H[a+360>>2];if((c|0)>0){c=N(c,12)+b|0;while(1){e=H[b+8>>2];if(e){Ya[H[d+8>>2]](d,e)}H[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=H[a+364>>2]}if(b){Ya[H[d+8>>2]](d,b)}H[a+364>>2]=0}G[a+344>>1]=0;H[a+360>>2]=0;H[a+348>>2]=0;H[a+352>>2]=0}function Mr(a,b,c){var d=0,e=0,f=0;d=H[a+100>>2];e=H[d+64>>2];d=H[d+80>>2];f=N(e,20)+d|0;a:{if(I[a+140|0]){c=Xc(H[a+108>>2],b)|48;break a}c=(c?c:J[(d+N(e,20)|0)+12>>1]&65423)|48}G[f+12>>1]=c;a=H[a+100>>2];if(qb(a,1,1)){c=H[a+64>>2];b:{if(c>>>0>2]){d=H[a+80>>2]+N(c,20)|0;e=H[a+72>>2];c=H[a+84>>2];break b}c=H[a+84>>2];e=H[a+72>>2];d=c+N(e?e-1|0:0,20)|0}c=N(e,20)+c|0;e=H[d+4>>2];H[c>>2]=H[d>>2];H[c+4>>2]=e;H[c+16>>2]=H[d+16>>2];e=H[d+12>>2];H[c+8>>2]=H[d+8>>2];H[c+12>>2]=e;H[c>>2]=b;H[a+64>>2]=H[a+64>>2]+1;H[a+72>>2]=H[a+72>>2]+1}}function ul(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=H[b+68>>2];d=I[e+4|0]|I[e+5|0]<<8;c=H[b+12>>2];f=H[c+32>>2];if((f|0)==-1){f=Hc(c)}c=0;b=H[b+16>>2];g=H[b+68>>2];a:{if(!g){break a}i=H[b+80>>2];b=0;if(!d){while(1){d=N(b,20)+i|0;e=Sc(a,H[d>>2],f);if(e){c=I[e|0]|I[e+1|0]<<8;H[d>>2]=(c<<8|c>>>8)&65535;c=1}b=b+1|0;if((g|0)!=(b|0)){continue}break}break a}while(1){d=N(b,20)+i|0;h=Sc(a,H[d>>2],f);if(h){c=I[h|0]|I[h+1|0]<<8;c=(c<<8|c>>>8)&65535;H[d>>2]=c;j=d,k=Xc(e,c),G[j+12>>1]=k;c=1}b=b+1|0;if((g|0)!=(b|0)){continue}break}}return c}function Ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=H[b+24>>2];b=H[H[d+88>>2]+20>>2];e=G[d+70>>1];H[65057]=0;b=ib(e,b);e=H[65057];H[65057]=0;a:{if((e|0)==1){break a}H[c>>2]=b;b=H[H[d+88>>2]+20>>2];e=G[d+72>>1];H[65057]=0;b=ib(e,b);e=H[65057];H[65057]=0;if((e|0)==1){break a}H[c+4>>2]=b;b=H[H[d+88>>2]+20>>2];d=G[d+74>>1];H[65057]=0;d=ib(d,b);b=H[65057];H[65057]=0;if((b|0)==1){break a}b=H[c+4>>2];e=H[c>>2];d=d+(b-e|0)|0;H[c+8>>2]=d;if(H[a+24>>2]<0){H[c+8>>2]=0-d;H[c+4>>2]=0-b;H[c>>2]=0-e}Tb();return 1}a=$()|0;_()|0;Tb();ba(a|0);X()}function yA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=H[H[a+4>>2]+712>>2];a:{b:{if(!H[d+2024>>2]){d=d+1372|0;break b}e=Ya[H[H[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=K[d+2024>>2]){break a}d=H[(d+(e<<2)|0)+2028>>2];if(!b|!H[a+68>>2]){break b}H[a+72>>2]=H[(H[H[b+40>>2]>>2]+(e<<2)|0)+4>>2]}e=H[d+620>>2];H[a+728>>2]=e;H[a+744>>2]=H[d+644>>2];c=0;b=0;c:{if(H[H[a+108>>2]+1416>>2]==1){break c}b=107;if(e>>>0<1240){break c}b=e>>>0<33900?1131:32768}H[a+736>>2]=b;H[a+584>>2]=H[d+540>>2];b=H[d+544>>2];H[a+768>>2]=d;H[a+588>>2]=b}return c|0}function oo(a,b){var c=0,d=0,e=0,f=0;c=Wa+-64|0;Wa=c;d=H[a>>2];e=H[d-4>>2];f=H[d-8>>2];H[c+20>>2]=0;H[c+16>>2]=256888;H[c+12>>2]=a;H[c+8>>2]=b;d=0;kb(c+24|0,0,39);a=a+f|0;a:{if(Yc(e,b,0)){H[c+56>>2]=1;Ya[H[H[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=H[c+32>>2]==1?a:0;break a}Ya[H[H[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(H[c+44>>2]){case 0:d=H[c+48>>2]==1?H[c+36>>2]==1?H[c+40>>2]==1?H[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(H[c+32>>2]!=1){if(H[c+48>>2]|H[c+36>>2]!=1|H[c+40>>2]!=1){break a}}d=H[c+24>>2]}Wa=c- -64|0;return d}function ix(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;c=H[a>>2];a:{b:{if(I[c+8|0]&2){d=Ya[H[H[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=H[e+12>>2];H[a+116>>2]=c;b=H[a>>2];if(F[b+8|0]&1){wd(b,c);d=0;gi(a);break a}d=Ya[H[H[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}H[a+116>>2]=-1;break a}H[a+116>>2]=-1;c=H[a>>2]}Oe(c,b);if(!(F[H[a>>2]+8|0]&1)){break a}d=gi(a);if(d){break a}c=a;d=J[a+84>>1];a=H[a+44>>2];a=H[(J[a>>1]>J[a+2>>1]?12:16)+b>>2];f=c,g=sb(d,4608,H[b>>2]!=4?a?a:72:72),H[f+120>>2]=g}d=0}Wa=e+16|0;return d|0}function vt(a,b){a=a|0;b=b|0;var c=0,d=0,e=O(0),f=O(0),g=0,h=O(0),i=O(0);d=b+16|0;g=H[b+12>>2];c=H[b+8>>2];i=O(H[a+4>>2]);h=O(H[a>>2]);a:{b:{if(I[b+4|0]){if(!H[d>>2]){break a}e=L[b+20>>2];f=L[b+24>>2];if(e==L[b+28>>2]&f==L[b+32>>2]){break b}Ya[H[c+16>>2]](c,g,d,e,f,H[c+36>>2]);break b}h=O(O(i*L[b>>2])+h);if(!H[b+16>>2]){break a}e=L[b+20>>2];f=L[b+24>>2];if(e==L[b+28>>2]&f==L[b+32>>2]){break b}Ya[H[c+16>>2]](c,g,d,e,f,H[c+36>>2])}Ya[H[c+28>>2]](c,g,d,H[c+48>>2]);H[d+8>>2]=0;H[d>>2]=0;H[d+4>>2]=0}L[b+32>>2]=i;L[b+28>>2]=h;return 0}function De(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;H[e+12>>2]=d;a:{if(H[a+156>>2]){Yk(a,b,c,H[e+12>>2]);break a}a=H[60540];Lq(106065,9,a);Aq(a,c,H[e+12>>2]);b=H[a+76>>2];b:{if(!((b|0)>=0&(!b|H[64907]!=(b&-1073741825)))){c:{if(H[a+80>>2]==10){break c}b=H[a+20>>2];if((b|0)==H[a+16>>2]){break c}H[a+20>>2]=b+1;F[b|0]=10;break b}Nq(a);break b}b=a+76|0;c=H[b>>2];H[b>>2]=c?c:1073741823;d:{e:{if(H[a+80>>2]==10){break e}c=H[a+20>>2];if((c|0)==H[a+16>>2]){break e}H[a+20>>2]=c+1;F[c|0]=10;break d}Nq(a)}H[b>>2]=0}}Wa=e+16|0}function OB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){g=H[d>>2]-N(H[d+4>>2],a)|0;while(1){b=b-1|0;a=J[c+2>>1];a:{if(!a){break a}h=a-1|0;d=N(G[c>>1],3)+g|0;e=0;f=a&7;if(f){while(1){F[d|0]=I[c+4|0];d=d+3|0;a=a-1|0;e=e+1|0;if((e&65535)!=(f|0)){continue}break}}if((h&65535)>>>0<7){break a}while(1){F[d|0]=I[c+4|0];F[d+3|0]=I[c+4|0];F[d+6|0]=I[c+4|0];F[d+9|0]=I[c+4|0];F[d+12|0]=I[c+4|0];F[d+15|0]=I[c+4|0];F[d+18|0]=I[c+4|0];F[d+21|0]=I[c+4|0];d=d+24|0;a=a-8|0;if(a&65535){continue}break}}c=c+6|0;if(b){continue}break}}}function Dg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=H[a+260>>2];if(!b){n=a;d=G[a+300>>1];b=H[a+248>>2];a:{if(!d){break a}c=G[a+298>>1];b=H[a+252>>2];if(!c){break a}e=H[a+248>>2];b=e>>31;f=(b^e)-b|0;b=c>>31;g=(b^c)-b|0;h=N(f>>>16|0,g);i=h<<16|8192;a=H[a+252>>2];b=a>>31;j=(a^b)-b|0;b=d>>31;k=(b^d)-b|0;l=N(j>>>16|0,k);m=l<<16|8192;b=i+N(g,f&65535)|0;b=(h>>>16|0)+(b>>>0>>0)<<18|b>>>14;c=(c^e)>=0?b:0-b|0;b=m+N(k,j&65535)|0;b=(l>>>16|0)+(b>>>0>>0)<<18|b>>>14;b=rj(c,(a^d)>=0?b:0-b|0)}H[n+260>>2]=b}return b}function xm(a,b){var c=0,d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;c=H[b+28>>2];d=Ya[H[a+516>>2]](a,1668707360,b,e+8|0)|0;H[e+12>>2]=d;a:{if(d){H[a+700>>2]=0;H[a+704>>2]=0;c=0;break a}d=H[e+8>>2]>>>1|0;H[a+700>>2]=d;f=a,g=jb(c,4,0,d,0,e+12|0),H[f+704>>2]=g;c=H[e+12>>2];if(c){break a}c=Nb(b,H[a+700>>2]<<1);H[e+12>>2]=c;if(c){break a}d=H[a+700>>2];if((d|0)>0){c=H[a+704>>2];d=c+(d<<2)|0;while(1){f=c,g=Rb(b)<<16>>16<<6,H[f>>2]=g;c=c+4|0;if(d>>>0>c>>>0){continue}break}}Db(b);if(!I[a+733|0]){c=H[e+12>>2];break a}c=lm(a,b)}Wa=e+16|0;return c}function Qn(a){var b=0,c=0,d=0,e=0,f=0;H[a+28>>2]=4096;b=a+4168|0;H[a+24>>2]=b;H[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!H[a+16>>2]){b=H[a>>2];c=H[b+20>>2];b:{if(c){c=Ya[c|0](b,H[b+8>>2],d,4096)|0;if(c){break b}break a}e=H[b+8>>2];c=H[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}mb(d,H[b>>2]+e|0,c)}H[b+8>>2]=H[b+8>>2]+c;H[a+16>>2]=c;H[a+12>>2]=d}b=Tq(f,0);if(b){if((b|0)==1){b=H[a+24>>2];H[a+8272>>2]=b;return(b|0)==H[a+8268>>2]?85:0}break a}if(H[a+28>>2]){continue}break}return 0}H[a+8272>>2]=H[a+8268>>2];return 85}function Id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Wa-16|0;Wa=f;A(+b);g=v(1)|0;d=v(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?Q(c):Q(d)+32|0;Nc(f,d,e,0,0,c+49|0);i=H[f>>2];h=H[f+4>>2];e=15372-c<<16;c=H[f+8>>2];d=e|H[f+12>>2]^65536}H[a>>2]=i;H[a+4>>2]=h;H[a+8>>2]=c;H[a+12>>2]=g&-2147483648|d;Wa=f+16|0}function lf(a,b,c){var d=0,e=0,f=0;e=Wa-16|0;Wa=e;d=e+8|0;b=H[b+28>>2];H[d>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;b=aa(999,d|0)|0;d=H[65057];H[65057]=0;a:{if((d|0)==1){break a}H[65057]=0;d=aa(1009,b|0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break a}H[c>>2]=d;H[65057]=0;da(1010,a|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[e+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Wa=e+16|0;return}c=$()|0;_()|0;a=H[e+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Aw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=H[a+8>>2];b=H[a>>2];a:{if(I[b+732|0]){break a}F[a+112|0]=0;c=H[a+16>>2];d=H[a+12>>2];H[a+48>>2]=d;H[a+52>>2]=c;c=H[a+24>>2];H[a+56>>2]=H[a+20>>2];H[a+60>>2]=c;e=H[a+32>>2];c=a- -64|0;H[c>>2]=H[a+28>>2];H[c+4>>2]=e;H[a+72>>2]=H[a+36>>2];if(!(d&65535)|!J[a+50>>1]){break a}if(I[b+176|0]&8){f=a,g=ib(G[b+70>>1],H[a+56>>2])+32&-64,H[f+60>>2]=g;f=a- -64|0,g=ib(G[b+72>>1],H[a+56>>2])+32&-64,H[f>>2]=g;f=a,g=ib(G[b+74>>1],H[a+56>>2])+32&-64,H[f+68>>2]=g}F[a+112|0]=1}return 0}function nf(a,b,c){var d=0,e=0,f=0;e=Wa-16|0;Wa=e;d=e+8|0;b=H[b+28>>2];H[d>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;b=aa(968,d|0)|0;d=H[65057];H[65057]=0;a:{if((d|0)==1){break a}H[65057]=0;d=aa(982,b|0)|0;f=H[65057];H[65057]=0;if((f|0)==1){break a}F[c|0]=d;H[65057]=0;da(983,a|0,b|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}a=H[e+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Wa=e+16|0;return}c=$()|0;_()|0;a=H[e+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function Ue(a,b,c){var d=0,e=0;e=a;a:{b:{c:{if((e^b)&3){break c}d=(c|0)!=0;d:{if(!(b&3)|!c){break d}while(1){d=I[b|0];F[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break d}if(c){continue}break}}if(!d){break b}if(!I[b|0]){break a}if(c>>>0<4){break c}while(1){d=H[b>>2];if((d^-1)&d-16843009&-2139062144){break c}H[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=I[b|0];F[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}kb(e,0,c);return a}function HK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{a=H[a+124>>2];if(!a){break a}d=H[b+68>>2];if(!d){break a}b=H[b+80>>2];if(d-1>>>0>=3){f=d&-4;c=0;while(1){H[b+4>>2]=H[b+4>>2]|H[a+(I[b+19|0]<<2)>>2];H[b+24>>2]=H[b+24>>2]|H[a+(I[b+39|0]<<2)>>2];H[b+44>>2]=H[b+44>>2]|H[a+(I[b+59|0]<<2)>>2];e=b- -64|0;H[e>>2]=H[e>>2]|H[a+(I[b+79|0]<<2)>>2];b=b+80|0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break a}c=0;while(1){H[b+4>>2]=H[b+4>>2]|H[a+(I[b+19|0]<<2)>>2];b=b+20|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}}function Ho(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=35;a:{if(!(I[a+8|0]&2)){break a}d=7;if(H[b>>2]){break a}e=H[b+4>>2];f=e;d=H[b+12>>2];if(d){f=(N(d,e)+36|0)/72|0}g=H[b+8>>2];h=g;d=23;b=H[b+16>>2];if(b){h=(N(b,g)+36|0)/72|0}b=g?h:f;f=(e?f:b)+32&-64;if(!f){break a}e=(e?b:h)+32&-64;if(!e){break a}h=H[a+28>>2];if((h|0)<=0){break a}a=H[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)==(H[g+12>>2]+32&-64)&(f|0)==(H[g+8>>2]+32&-64))){b=b+1|0;if((h|0)!=(b|0)){continue}break a}break}d=0;if(!c){break a}H[c>>2]=b;return 0}return d}function Sx(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!I[a+632|0]){break a}c=H[a+100>>2];b=H[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=H[a+640>>2];if(b){Ya[H[c+8>>2]](c,b)}G[a+636>>1]=0;H[a+640>>2]=0;if(J[a+638>>1]){b=0;while(1){d=b<<2;e=H[d+H[a+644>>2]>>2];if(e){Ya[H[c+8>>2]](c,e)}H[H[a+644>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=H[a+644>>2];if(b){Ya[H[c+8>>2]](c,b)}G[a+638>>1]=0;H[a+644>>2]=0;break a}b=H[a+640>>2];if(b){Ya[H[c+8>>2]](c,b)}G[a+636>>1]=0;H[a+640>>2]=0}F[a+632|0]=0} +function Hd(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;H[g+8>>2]=b;b=0;f=6;a:{b:{if(Sd(a,g+8|0)){break b}f=4;h=te(a);if((h|0)>=0){i=(J[H[d+8>>2]+((h&255)<<1)>>1]&2048)!=0}else{i=0}if(!i){break b}b=Ya[H[H[d>>2]+36>>2]](d,h,0)|0;while(1){c:{Re(a);b=b-48|0;if(!ag(a,g+8|0)|(e|0)<2){break c}f=te(a);if((f|0)>=0){h=(J[H[d+8>>2]+((f&255)<<1)>>1]&2048)!=0}else{h=0}if(!h){break a}e=e-1|0;b=(Ya[H[H[d>>2]+36>>2]](d,f,0)|0)+N(b,10)|0;continue}break}f=2;if(!Sd(a,g+8|0)){break a}}H[c>>2]=H[c>>2]|f}Wa=g+16|0;return b}function ru(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;b=0;h=H[a+80>>2];if(H[h+164>>2]!=H[64639]){a:{if(!c){break a}i=H[d>>2];H[f>>2]=0;if(!(Ya[H[h+164>>2]](a,H[a+84>>2],i,f,H[h+20>>2])|0)){break a}while(1){b=b+1|0;if((c|0)==(b|0)){b=c;break a}d=d+e|0;i=H[d>>2];h=H[a+80>>2];f=f+g|0;H[f>>2]=0;if(Ya[H[h+164>>2]](a,H[a+84>>2],i,f,H[h+20>>2])|0){continue}break}}return(b>>>0>>0?b:c)|0}a=H[a+12>>2];b=H[a+80>>2];return Ya[H[b+168>>2]](a,H[a+84>>2],c,d,e,f,g,H[b+24>>2])|0}function Se(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=d;H[a+12>>2]=e}function Qr(a,b){var c=0,d=0,e=0;c=H[a+100>>2];d=H[c+80>>2]+N(H[c+64>>2],20)|0;c=J[d+12>>1]|16;if(I[a+140|0]){c=Xc(H[a+108>>2],b)|c&112}G[d+12>>1]=c;c=H[a+100>>2];if(qb(c,1,1)){a=H[c+64>>2];a:{if(a>>>0>2]){d=H[c+72>>2];e=H[c+84>>2];a=H[c+80>>2]+N(a,20)|0;break a}e=H[c+84>>2];d=H[c+72>>2];a=e+N(d?d-1|0:0,20)|0}d=N(d,20)+e|0;e=H[a+4>>2];H[d>>2]=H[a>>2];H[d+4>>2]=e;H[d+16>>2]=H[a+16>>2];e=H[a+12>>2];H[d+8>>2]=H[a+8>>2];H[d+12>>2]=e;H[d>>2]=b;H[c+64>>2]=H[c+64>>2]+1;H[c+72>>2]=H[c+72>>2]+1}}function vd(a,b){var c=0,d=0,e=0;c=H[a+20>>2];if(!(I[a+13|0]?c:0)){return ib(b,H[a+16>>2])}d=H[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(H[(N(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=H[(N(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;H[a+24>>2]=0;d=H[a+36>>2];if((d|0)<=(b|0)){break b}return ib(b-d|0,H[a+16>>2])+H[a+40>>2]|0}H[a+24>>2]=c}a=N(c,20)+a|0;return ib(b-d|0,H[a+44>>2])+H[a+40>>2]|0}function qK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=H[b+68>>2];if(d){g=H[b+80>>2];b=0;while(1){e=N(b,20)+g|0;f=H[e>>2];c=Pj(f);a=16;a:{b:{switch(f-6042|0){case 47:case 48:case 50:a=20;break a;case 44:case 49:case 51:case 52:case 53:case 54:case 55:a=21;break a;case 45:case 46:case 57:case 67:a=22;break a;case 0:break a;default:break b}}a=c;if((c&255)!=7){break a}a=7;c=(c>>>8|0)-3|0;if((c&255)>>>0>8){break a}a=I[(c<<24>>24)+137048|0]}F[e+18|0]=a;b=b+1|0;if((d|0)!=(b|0)){continue}break}}}function he(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=H[a+40>>2];if(!d){break a}f=6;g=H[a+36>>2];if((g|0)<=0){break a}g=(g<<2)+d|0;while(1){b:{if(H[d>>2]!=(b|0)){break b}c=H[b>>2];c:{if(!c){break c}c=H[c+96>>2];h=H[H[c>>2]+32>>2];if(!h){break c}c=Ya[h|0](c,9712)|0;if(!c){break c}if(Ya[H[c>>2]](b,e+8|0)|0){break c}if(H[e+12>>2]==14){break b}}H[a+92>>2]=H[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}Wa=e+16|0;return f|0}function di(a,b){var c=0,d=0,e=0;c=H[b+4>>2];if(c){if(H[b>>2]){while(1){e=d<<4;c=H[(e+c|0)+8>>2];if(c){Ya[H[a+8>>2]](a,c)}c=e+H[b+4>>2]|0;H[c+8>>2]=0;c=H[c+12>>2];if(c){Ya[H[a+8>>2]](a,c)}c=H[b+4>>2];H[(e+c|0)+12>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){Ya[H[a+8>>2]](a,c)}H[b+4>>2]=0}c=H[b+16>>2];if(c){if(H[b+12>>2]){d=0;while(1){e=d<<2;c=H[e+c>>2];if(c){Ya[H[a+8>>2]](a,c)}c=H[b+16>>2];H[e+c>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){Ya[H[a+8>>2]](a,c)}H[b+16>>2]=0}}function GI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;while(1){a:{if((c|0)<=(g|0)){break a}d=H[a+12>>2];f=H[a+16>>2];b:{if(d>>>0>>0){H[e+12>>2]=2147483647;H[e+8>>2]=f-d;H[e+4>>2]=c-g;d=Wa-16|0;Wa=d;Wa=d+16|0;d=Wa-16|0;Wa=d;Wa=d+16|0;d=e+4|0;f=e+8|0;d=H[d>>2]>2]?d:f;f=e+12|0;d=H[(H[d>>2]>2]?d:f)>>2];Jd(b,H[a+12>>2],d);H[a+12>>2]=H[a+12>>2]+d;break b}d=Ya[H[H[a>>2]+40>>2]](a)|0;if((d|0)==-1){break a}F[b|0]=d;d=1}b=b+d|0;g=d+g|0;continue}break}Wa=e+16|0;return g|0}function pb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=2147483647;a:{if(!b){break a}c=a>>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){e=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}g=d>>>1|0;f=g+(c<<16)|0;c=(c>>>16|0)+(f>>>0>>0)|0;if(c>>>0>=d>>>0){break a}g=Q(c);h=32-g|0;c=f>>>h|c<>>0)/(d>>>0)|0;i=c-N(d,e)|0;c=f<>>31;i=f-(d>>>0>f>>>0?0:d)|0;e=e<<1|d>>>0<=f>>>0;c=c<<1;h=h-1|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-e|0:e}function dl(a,b){var c=0,d=0,e=0,f=0;f=H[a+16>>2];a:{if(!f){break a}if(!H[a+12>>2]){c=f;break a}c=f;while(1){f=e<<2;c=H[f+c>>2];if(c){Ya[H[b+8>>2]](b,c)}c=H[a+16>>2];H[f+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Ya[H[b+8>>2]](b,c)}H[a+16>>2]=0;c=H[a+4>>2];b:{if(!c){break b}if(!H[a>>2]){d=c;break b}e=0;d=c;while(1){c=e<<3;d=H[(c+d|0)+4>>2];if(d){Ya[H[b+8>>2]](b,d)}d=H[a+4>>2];H[(c+d|0)+4>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(d){Ya[H[b+8>>2]](b,d)}H[a+4>>2]=0}function Rs(a){var b=0,c=0,d=0,e=0,f=0,g=0;if((a|0)==163632){return 0}b=I[a|0]|I[a+1|0]<<8;if(!b){return 2}c=(b<<8|b>>>8)&65535;b=I[a+2|0];f=N(c+1|0,b);a:{if(!b){b=0;break a}d=b&3;a=(N(b,c)+a|0)+3|0;if(b-1>>>0<3){b=0}else{g=b&252;b=0;while(1){c=a;a=a+4|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}b=I[c|0]|I[c+1|0]<<8|(I[c+2|0]<<16|I[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!d){break a}while(1){b=I[a|0]|b<<8;a=a+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}}return(b+f|0)+2|0}function th(a){var b=0,c=0,d=0;if(!a){if(H[64885]){b=th(H[64885])}if(H[64744]){b=th(H[64744])|b}a=H[64902];if(a){while(1){if(H[a+20>>2]!=H[a+28>>2]){b=th(a)|b}a=H[a+56>>2];if(a){continue}break}}return b}d=H[a+76>>2]>=0;a:{b:{if(H[a+20>>2]==H[a+28>>2]){break b}Ya[H[a+36>>2]](a,0,0)|0;if(H[a+20>>2]){break b}b=-1;break a}b=H[a+8>>2];c=H[a+4>>2];if((b|0)!=(c|0)){b=c-b|0;Ya[H[a+40>>2]](a,b,b>>31,1)|0}b=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+4>>2]=0;H[a+8>>2]=0;if(!d){break a}}return b}function Ah(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b=H[c+68>>2];if(!b){break a}a=H[c+80>>2];c=0;if(b-1>>>0>=7){f=b&-8;while(1){F[(N(c,20)+a|0)+15|0]=0;F[(N(c|1,20)+a|0)+15|0]=0;F[(N(c|2,20)+a|0)+15|0]=0;F[(N(c|3,20)+a|0)+15|0]=0;F[(N(c|4,20)+a|0)+15|0]=0;F[(N(c|5,20)+a|0)+15|0]=0;F[(N(c|6,20)+a|0)+15|0]=0;F[(N(c|7,20)+a|0)+15|0]=0;c=c+8|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}b=b&7;if(!b){break a}while(1){F[(N(c,20)+a|0)+15|0]=0;c=c+1|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}}function vL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=H[a+712>>2];a:{if(I[c+24|0]==2){c=gd(oc(H[H[a+96>>2]+4>>2],9005),9996,0);if(!c){break a}c=H[c+4>>2];if(!c){break a}return Ya[c|0](a,b)|0}e=gd(H[a+96>>2],10901,1);if(!e|!H[c+20>>2]){break a}while(1){a=J[H[c+1188>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=K[c+1356>>2]){break b}a=H[H[c+1360>>2]+(a<<2)>>2];break c}a=Ya[H[e+20>>2]](a)|0}if(!a){break b}if(!rb(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function ny(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;H[c>>2]=-1;H[d>>2]=-1;f=J[a+340>>1];if(f){h=H[a+356>>2];a=0;while(1){e=N(a,20)+h|0;a:{if(J[e+6>>1]!=(b|0)|!J[e+8>>1]){break a}b:{c:{switch(J[e>>1]-1|0){case 2:if(J[e+2>>1]>1){break a}g=c;if(J[e+4>>1]==1033|H[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(J[e+2>>1]){break a}g=d;if(!J[e+4>>1]){break b}if(H[d>>2]!=-1){break a}}H[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(H[c>>2]<0?H[d>>2]>=0:1)|0}function xf(a){var b=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+80>>2];if(b){Ya[b|0](H[a+48>>2])}b=H[a+84>>2];if(b){Ya[b|0](H[a+52>>2])}b=H[a+88>>2];if(b){Ya[b|0](H[a+56>>2])}b=H[a+92>>2];if(b){Ya[b|0](H[a+60>>2])}b=H[a+96>>2];if(b){Ya[b|0](H[a- -64>>2])}b=H[a+100>>2];if(b){Ya[b|0](H[a+68>>2])}b=H[a+104>>2];if(b){Ya[b|0](H[a+72>>2])}b=H[a+108>>2];if(b){Ya[b|0](H[a+76>>2])}xf(H[a+12>>2]);hb(a)}}function nH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;a:{b:{c:{if((a|0)!=(b|0)){d:{e:{f=I[a|0];if((f|0)!=45){break e}a=a+1|0;if((b|0)!=(a|0)){break e}break d}h=H[64884];H[64884]=0;a=gj(a,e+12|0,d,lc());d=Xa;g=H[64884];f:{if(g){if(H[e+12>>2]!=(b|0)){break f}if((g|0)==68){break c}break b}H[64884]=h;if(H[e+12>>2]==(b|0)){break b}}}}H[c>>2]=4;b=0;a=0;break a}H[c>>2]=4;b=-1;a=-1;break a}c=(f|0)==45;b=c?0-a|0:a;a=c?0-(d+((a|0)!=0)|0)|0:d}Wa=e+16|0;Xa=a;return b|0}function wm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;d=H[a+736>>2];a:{if(!d){c=af(a,0);if(c){break a}d=H[a+736>>2]}c=6;if(J[a+14>>1]>>0){break a}b:{if(b){f=H[a+100>>2];g=H[d+12>>2];d=H[g+16>>2]+N(b,12)|0;c=Ya[H[H[a+540>>2]+144>>2]](a,J[d-8>>1],e+12|0)|0;if(c){break a}c=H[a+24>>2];if(c){Ya[H[f+8>>2]](f,c)}H[a+24>>2]=H[e+12>>2];c=ei(a,H[g>>2],H[d-12>>2]);if(c){c=(c|0)==-1?0:c;break a}c=0;break b}c=ei(a,0,0)}G[a+6>>1]=b;H[a+8>>2]=H[a+8>>2]&-32769}Wa=e+16|0;return c|0}function yc(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=G[a+2>>1];if((d|0)<=0){break a}a=H[a+4>>2];if(d-1>>>0>=3){f=d&-4;while(1){H[a>>2]=H[a>>2]+b;H[a+4>>2]=H[a+4>>2]+c;H[a+8>>2]=H[a+8>>2]+b;H[a+16>>2]=H[a+16>>2]+b;H[a+24>>2]=H[a+24>>2]+b;H[a+12>>2]=H[a+12>>2]+c;H[a+20>>2]=H[a+20>>2]+c;H[a+28>>2]=H[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){H[a>>2]=H[a>>2]+b;H[a+4>>2]=H[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function rH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;a:{b:{c:{d:{if((a|0)!=(b|0)){e:{f:{f=I[a|0];if((f|0)!=45){break f}a=a+1|0;if((b|0)!=(a|0)){break f}break e}h=H[64884];H[64884]=0;a=gj(a,e+12|0,d,lc());d=Xa;g=H[64884];g:{if(g){if(H[e+12>>2]!=(b|0)){break g}if((g|0)==68){break c}break d}H[64884]=h;if(H[e+12>>2]==(b|0)){break d}}}}H[c>>2]=4;a=0;break a}if(!d&a>>>0<=65535){break b}}H[c>>2]=4;a=65535;break a}a=(f|0)==45?0-a|0:a}Wa=e+16|0;return a&65535}function hK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b=H[c+68>>2];if(!b){break a}a=H[c+80>>2];c=0;if(b-1>>>0>=3){e=b&-4;while(1){d=N(c,20)+a|0;G[d+12>>1]=J[d+12>>1]&65519;d=N(c|1,20)+a|0;G[d+12>>1]=J[d+12>>1]&65519;d=N(c|2,20)+a|0;G[d+12>>1]=J[d+12>>1]&65519;d=N(c|3,20)+a|0;G[d+12>>1]=J[d+12>>1]&65519;c=c+4|0;f=f+4|0;if((e|0)!=(f|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=N(c,20)+a|0;G[e+12>>1]=J[e+12>>1]&65519;c=c+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}} +function Nc(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<>>32-b|c<>2]=b;H[a+4>>2]=c;H[a+8>>2]=d;H[a+12>>2]=e}function Jh(a){var b=0,c=0;H[65057]=0;nt(a);b=H[65057];H[65057]=0;if((b|0)!=1){H[a+168>>2]=0;hb(H[a+172>>2]);H[a+172>>2]=0;H[a+164>>2]=0;H[a+168>>2]=0;H[a+100>>2]=0;hb(H[a+104>>2]);H[a+104>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0;b=H[a+32>>2];if(b){while(1){b=H[a+36>>2]+(b<<5)|0;H[b-12>>2]=0;c=b-8|0;hb(H[c>>2]);H[c>>2]=0;b=b-16|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+32>>2]-1|0;H[a+32>>2]=b;if(b){continue}break}}hb(H[a+36>>2]);H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;return}ea(0)|0;_()|0;Gb();X()}function vH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Wa-16|0;Wa=e;a:{b:{c:{if((a|0)!=(b|0)){g=H[64884];H[64884]=0;a=Kp(a,e+12|0,d,lc());d=Xa;f=H[64884];d:{if(f){if(H[e+12>>2]!=(b|0)){break d}if((f|0)==68){break b}break c}H[64884]=g;if(H[e+12>>2]==(b|0)){break c}}}H[c>>2]=4;b=0;break a}if((d|0)<0&a>>>0<2147483648|(d|0)<-1|(a>>>0>2147483647&(d|0)>=0|(d|0)>0)){break b}b=a;break a}H[c>>2]=4;b=2147483647;if(!!a&(d|0)>=0|(d|0)>0){break a}b=-2147483648}Wa=e+16|0;return b|0}function sM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=H[b+12>>2];a:{if(a){break a}while(1){e=H[b>>2];if(!e){a=163632;break a}b:{c:{a=Ab(1,48);if(a){Qh(a,e);e=H[b+12>>2];H[b+12>>2]=e?e:a;if(!e){break a}e=H[a+44>>2];H[65057]=0;fa(579,e|0);e=H[65057];H[65057]=0;if((e|0)==1){break c}hb(a);break b}a=163632;e=H[b+12>>2];H[b+12>>2]=e?e:163632;if(e){break b}break a}ea(0)|0;_()|0;Gb();X()}a=H[b+12>>2];if(!a){continue}break}}b=H[a+8>>2];if(!b){return 0}return Ya[b|0](H[a+12>>2],c,d)|0}function SI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Wa-32|0;Wa=e;H[e+16>>2]=b;d=H[a+48>>2];H[e+20>>2]=c-((d|0)!=0);g=H[a+44>>2];H[e+28>>2]=d;H[e+24>>2]=g;a:{b:{d=Ra(H[a+60>>2],e+16|0,2,e+12|0)|0;if(d){H[64884]=d;d=-1}else{d=0}if(d){b=32}else{d=H[e+12>>2];if((d|0)>0){break b}b=d?32:16}H[a>>2]=b|H[a>>2];break a}g=H[e+20>>2];if(g>>>0>=d>>>0){f=d;break a}f=H[a+44>>2];H[a+4>>2]=f;H[a+8>>2]=f+(d-g|0);if(H[a+48>>2]){H[a+4>>2]=f+1;F[(b+c|0)-1|0]=I[f|0]}f=c}Wa=e+32|0;return f|0}function LA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=H[a+28>>2];if(I[c+44|0]){break b}d=nn(c,H[b>>2],H[b+4>>2]);if(!d){break b}a=H[a+24>>2];if(H[a>>2]){break a}H[a>>2]=d;return}d=H[b+12>>2];f=H[b+8>>2];c:{b=H[c+12>>2];if((G[b+22>>1]+G[b+58>>1]|0)+1>>>0>K[b+4>>2]){b=vc(b,1,0);if(b){break c}}a=H[c+20>>2];if(I[c+45|0]){b=H[a+8>>2];c=G[a+2>>1];e=H[a+4>>2]+(c<<3)|0;H[e+4>>2]=d>>10;H[e>>2]=f>>10;F[b+c|0]=1}G[a+2>>1]=J[a+2>>1]+1;return}a=H[a+24>>2];if(H[a>>2]){break a}H[a>>2]=b}}function fl(a,b){var c=0,d=0,e=0;if(b){c=H[b+608>>2];if(c){d=H[c+28>>2];e=b+640|0;if(H[e>>2]){bc(c,e)}c=H[b+636>>2];if(c){Ya[H[d+8>>2]](d,c)}H[b+640>>2]=0;H[b+632>>2]=0;H[b+636>>2]=0;H[b+624>>2]=0;H[b+628>>2]=0;H[b+616>>2]=0;H[b+620>>2]=0;H[b+608>>2]=0;H[b+612>>2]=0}c=H[b+644>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+644>>2]=0;c=H[b+572>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+572>>2]=0;c=H[b+580>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+580>>2]=0;c=H[b+592>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+592>>2]=0}}function ay(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ya[H[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=Mb(b,95328,d);if(c){break a}G[a+290>>1]=0;G[a+282>>1]=0;G[a+284>>1]=0;G[a+286>>1]=0;G[a+288>>1]=0;G[a+274>>1]=0;G[a+276>>1]=0;G[a+278>>1]=0;G[a+280>>1]=0;G[a+266>>1]=0;G[a+268>>1]=0;G[a+270>>1]=0;G[a+272>>1]=0;b:{if(H[a+260>>2]<65536){break b}c=Mb(b,95344,d);if(c){break a}if(J[a+280>>1]<=63){G[a+280>>1]=64}if(J[a+276>>1]<65532){break b}G[a+276>>1]=65531}c=0}return c|0}function Xy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>K[b+160>>2]){Cb(b,8)}c=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=I[a+4|0]|I[a+5|0]<<8|(I[a+6|0]<<16|I[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<20|d>>>0>H[b+160>>2]-a>>>0)&d-20>>>1>>>0>=c>>>0)){Cb(b,8)}if(!(!c|H[b+164>>2]<=0)){while(1){if(K[b+172>>2]<=(I[e+1|0]|I[e|0]<<8)>>>0){Cb(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function BJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[d+12>>2]=b;c=33;a:{if(!a){break a}c=6;e=d+12|0;b:{if(!e){break b}b=a+20|0;c=H[a+16>>2];a=b+(c<<2)|0;c:{if((c|0)<=0){break c}while(1){if(!rb(H[H[H[b>>2]>>2]+8>>2],238930)){break c}b=b+4|0;if(a>>>0>b>>>0){continue}break}}c=11;if((a|0)==(b|0)){break a}c=7;a=H[b>>2];f=H[H[a>>2]+32>>2];if(!f){break b}a=Ya[f|0](a,11331)|0;if(!a){break b}a=H[a>>2];if(!a){break b}c=Ya[a|0](H[b>>2],238571,e,0)|0}}Wa=d+16|0;return c|0}function xn(a,b){var c=0,d=0,e=0;d=Wa-16|0;Wa=d;c=H[a>>2]+1|0;H[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){tc(d+12|0,b);c=H[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=I[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;H[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(I[c|0]!=62){break c}}c=c+1|0;b=0}H[a>>2]=c;Wa=d+16|0;return b}function jB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[a+32>>2]=c;e=a,f=jb(c,4,0,b,0,d+12|0),H[e+24>>2]=f;a:{b:{if(H[d+12>>2]){break b}e=a,f=jb(c,4,0,b,0,d+12|0),H[e+28>>2]=f;if(H[d+12>>2]){break b}H[a+20>>2]=0;H[a+16>>2]=b;H[a+8>>2]=0;H[a+12>>2]=-559038737;H[a>>2]=0;H[a+4>>2]=0;b=H[7582];H[a+36>>2]=H[7581];H[a+40>>2]=b;b=H[7584];H[a+44>>2]=H[7583];H[a+48>>2]=b;a=0;break a}b=H[a+24>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+24>>2]=0;a=H[d+12>>2]}Wa=d+16|0;return a|0}function tf(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==I[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}}d:{if(I[a|0]==(b&255)|c>>>0<4){break d}d=N(b&255,16843009);while(1){e=d^H[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==I[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function rk(a){var b=0,c=0,d=0,e=0,f=O(0),g=O(0);b=a+16|0;a:{if(H[a+16>>2]){e=H[a+12>>2];c=H[a+8>>2];f=L[a+20>>2];g=L[a+24>>2];if(!(f==L[a+28>>2]&g==L[a+32>>2])){a=H[c+36>>2];d=H[c+16>>2];H[65057]=0;wa(d|0,c|0,e|0,b|0,O(f),O(g),a|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}}a=H[c+48>>2];d=H[c+28>>2];H[65057]=0;ha(d|0,c|0,e|0,b|0,a|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}}H[b>>2]=0;H[b+4>>2]=0;H[b+16>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;return}ea(0)|0;_()|0;Gb();X()}function Oi(a,b,c,d,e){var f=0,g=0,h=0;g=Wa-16|0;Wa=g;if(-17-b>>>0>=c>>>0){if(I[a+11|0]>>>7|0){h=H[a>>2]}else{h=a}a:{if(b>>>0<2147483623){H[g+8>>2]=b<<1;H[g+12>>2]=b+c;c=Wa-16|0;Wa=c;Wa=c+16|0;c=g+8|0;f=g+12|0;c=H[(K[f>>2]>2]?c:f)>>2];if(c>>>0>=11){f=c+16&-16;c=f-1|0;c=(c|0)==11?f:c}else{c=10}break a}c=-18}f=c+1|0;c=Rc(f);if(e){Jd(c,h,e)}if((d|0)!=(e|0)){Jd(c+e|0,e+h|0,d-e|0)}b=b+1|0;if((b|0)!=11){hh(h)}H[a>>2]=c;H[a+8>>2]=f|-2147483648;Wa=g+16|0;return}od();X()}function to(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Wa-16|0;Wa=g;if(1073741807-b>>>0>=c>>>0){h=I[a+11|0]>>>7|0?H[a>>2]:a;a:{if(b>>>0<536870887){H[g+8>>2]=b<<1;H[g+12>>2]=b+c;c=Wa-16|0;Wa=c;Wa=c+16|0;c=g+8|0;f=g+12|0;c=H[(K[f>>2]>2]?c:f)>>2];if(c>>>0>=2){f=c+4&-4;c=f-1|0;c=(c|0)==2?f:c}else{c=1}break a}c=1073741806}f=c+1|0;c=Co(f);if(e){ue(c,h,e)}if((d|0)!=(e|0)){i=e<<2;ue(i+c|0,h+i|0,d-e|0)}if((b|0)!=1){Io(h)}H[a>>2]=c;H[a+8>>2]=f|-2147483648;Wa=g+16|0;return}od();X()}function Xr(a,b){var c=0,d=0,e=0;c=I[a+2|0]|I[a+3|0]<<8;c=(c<<8|c>>>8)&65535;d=c>>>4|0;a=I[a|0]|I[a+1|0]<<8;a=(a<<8|a>>>8)&65535;e=a>>>4|0;a:{if(d-e>>>0>=31){H[b>>2]=-1;break a}d=1<>2]=H[b>>2]|((d<<1)-e|0)-(d>>>0>>0)}b:{if(c-a>>>0>=31){H[b+4>>2]=-1;break b}d=1<>2]=H[b+4>>2]|((d<<1)-e|0)-(d>>>0>>0)}c=c>>>9|0;a=a>>>9|0;if(c-a>>>0>=31){H[b+8>>2]=-1;return 1}d=b;e=H[b+8>>2];b=1<>2]=e|((b<<1)-a|0)-(a>>>0>b>>>0);return 1}function Vb(a,b){var c=0,d=0,e=0,f=0,g=0;c=Op(b);e=Wa-16|0;Wa=e;d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:1;a:{if(d>>>0>=c>>>0){if(I[a+11|0]>>>7|0){d=H[a>>2]}else{d=a}b:{c:{if(c){H[65057]=0;yo(d,b,c);b=H[65057];H[65057]=0;if((b|0)==1){break c}}break b}ea(0)|0;_()|0;Gb();X()}H[e+12>>2]=0;H[d+(c<<2)>>2]=H[e+12>>2];d:{if(I[a+11|0]>>>7|0){H[a+4>>2]=c;break d}F[a+11|0]=c}break a}f=a;g=c-d|0;if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}uo(f,d,g,a,0,a,c,b)}Wa=e+16|0}function hc(a,b,c){var d=0,e=0,f=0;e=Wa-16|0;Wa=e;H[b+4>>2]=H[b+4>>2]+1;d=Wa-16|0;Wa=d;H[d+12>>2]=b;b=e+8|0;H[b>>2]=H[d+12>>2];Wa=d+16|0;a:{a=a+8|0;if(H[a+4>>2]-H[a>>2]>>2>>>0<=c>>>0){H[65057]=0;da(1108,a|0,c+1|0);d=H[65057];H[65057]=0;if((d|0)==1){break a}}if(H[H[a>>2]+(c<<2)>>2]){d=H[H[a>>2]+(c<<2)>>2];f=H[d+4>>2]-1|0;H[d+4>>2]=f;if((f|0)==-1){Ya[H[H[d>>2]+8>>2]](d)}}d=H[b>>2];H[b>>2]=0;H[H[a>>2]+(c<<2)>>2]=d;Xo(b);Wa=e+16|0;return}a=$()|0;_()|0;Xo(b);ba(a|0);X()}function dn(a,b){var c=0,d=0,e=0,f=0,g=0;e=H[a>>2];if(e){f=H[(H[a+24>>2]+N(b,204)|0)+200>>2];a=H[a+8>>2];while(1){b=H[a+24>>2];if(b){d=H[a+16>>2];c=H[b+8>>2];a:{if(d&512){break a}c=H[b+12>>2]+H[b+8>>2]|0;if(d&1024){break a}d=H[a+28>>2]-H[b>>2]|0;if((d|0)<=0){c=H[b+8>>2]+ib(d,f)|0;break a}c=H[b+12>>2];g=H[b+8>>2];b=H[b+4>>2];if((b|0)<=(d|0)){c=ib(d-b|0,f)+(c+g|0)|0;break a}c=sb(d,c,b)+g|0}H[a+36>>2]=c;H[a+16>>2]=H[a+16>>2]|32}a=a+40|0;e=e-1|0;if(e){continue}break}}}function mf(a,b){var c=0,d=0;d=Wa-16|0;Wa=d;c=d+8|0;a=H[a+28>>2];H[c>>2]=a;H[a+4>>2]=H[a+4>>2]+1;H[65057]=0;a=aa(998,c|0)|0;c=H[65057];H[65057]=0;a:{b:{if((c|0)==1){break b}H[65057]=0;ga(1012,a|0,248752,248778,b|0)|0;a=H[65057];H[65057]=0;if((a|0)==1){break b}a=H[d+8>>2];c=H[a+4>>2]-1|0;H[a+4>>2]=c;if((c|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}Wa=d+16|0;break a}c=$()|0;_()|0;a=H[d+8>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}return b}function wn(a,b,c,d){var e=0,f=0,g=0,h=0;h=H[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=I[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=I[e+31072|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}F[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}F[c+g|0]=f<<4;g=g+1|0}H[a>>2]=b+h}return g}function eo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}F[c|0]=0;f=16;a:{if(H[a+16>>2]<=(b|0)){break a}if(!(I[a+9|0]&2)){return 6}f=6;b:{c:{g=H[a+128>>2];e=H[g+40>>2];switch(e+2|0){case 0:break a;case 2:break c;default:break b}}e=H[a+96>>2];f=H[H[e>>2]+32>>2];d:{if(!f){e=0;break d}e=Ya[f|0](e,9305)|0;g=H[a+128>>2]}H[g+40>>2]=e?e:-2}if(!e){return 6}f=6;e=H[e>>2];if(!e){break a}f=Ya[e|0](a,b,c,d)|0}return f|0}function Ze(a){var b=0,c=0,d=0,e=0;c=Wa-48|0;Wa=c;b=H[a>>2];a:{if(b){break a}e=a-16|0;while(1){b=H[e>>2];if(!b){b=163632;break a}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;b=Ys(c,_b(b,1751672161));if(!b){b=163632}d=H[a>>2];H[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){lb(b)}b=H[a>>2];if(!b){continue}break}}Wa=c+48|0;return K[b+16>>2]<36?163632:H[b+12>>2]}function Ye(a){var b=0,c=0,d=0,e=0;c=Wa-48|0;Wa=c;b=H[a>>2];a:{if(b){break a}e=a-44|0;while(1){b=H[e>>2];if(!b){b=163632;break a}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;b=Ys(c,_b(b,1986553185));if(!b){b=163632}d=H[a>>2];H[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){lb(b)}b=H[a>>2];if(!b){continue}break}}Wa=c+48|0;return K[b+16>>2]<36?163632:H[b+12>>2]}function Pl(a){var b=0,c=0,d=0,e=0;c=Wa-48|0;Wa=c;b=H[a>>2];a:{if(b){break a}e=a-108|0;while(1){b=H[e>>2];if(!b){b=163632;break a}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;b=Nl(c,_b(b,1836020344));if(!b){b=163632}d=H[a>>2];H[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){lb(b)}b=H[a>>2];if(!b){continue}break}}Wa=c+48|0;return K[b+16>>2]<8?163632:H[b+12>>2]}function Ol(a){var b=0,c=0,d=0,e=0;c=Wa-48|0;Wa=c;b=H[a>>2];a:{if(b){break a}e=a-112|0;while(1){b=H[e>>2];if(!b){b=163632;break a}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;b=Ml(c,_b(b,1836020340));if(!b){b=163632}d=H[a>>2];H[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){lb(b)}b=H[a>>2];if(!b){continue}break}}Wa=c+48|0;return K[b+16>>2]<8?163632:H[b+12>>2]}function Rq(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Wa-32|0;Wa=g;d=I[b|0];if(d){f=b;while(1){e=(e<<4)+(d<<24>>24)|0;d=e&-268435456;e=d?d>>>24^e&268435455:e;d=I[f+1|0];f=f+1|0;if(d){continue}break}e=(e>>>0)%31627|0}a:{f=tb(12);if(f){e=(e<<2)+a|0;H[f>>2]=H[e>>2];a=wb(b);d=a+1|0;h=tb(d);if(!h){break a}d=a;a=mb(h,b,a);F[d+a|0]=0;H[f+8>>2]=c;H[f+4>>2]=a;H[e>>2]=f;Wa=g+32|0;return}H[g>>2]=12;xc(H[60540],239364,g);qa(1);X()}H[g+16>>2]=d;xc(H[60540],239364,g+16|0);qa(1);X()}function Iz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=H[a+16>>2];a:{if(j){c=H[b>>2]+1|0;k=H[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=H[e>>2];if((f|0)==(c|0)){a=H[((i<<3)+k|0)+4>>2];H[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?H[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=H[a+20>>2]+(d<<3)|0;c=H[a>>2]&2147483647;g=H[a+4>>2]}H[b>>2]=c;return g|0}function Fc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;h=HM(b,c,h,i);i=Xa;j=h;h=HM(d,e,f,g);e=j+h|0;d=Xa+i|0;i=e;h=i>>>0>>0?d+1|0:d;j=i;k=g;e=0;l=c;d=0;i=HM(g,e,c,d);g=j+i|0;c=Xa+h|0;j=g;g=g>>>0>>0?c+1|0:c;h=f;i=b;f=HM(h,0,i,0);b=Xa;c=0;d=HM(h,c,l,d);b=b+d|0;c=Xa+c|0;c=b>>>0>>0?c+1|0:c;h=c;c=c+j|0;d=g;d=c>>>0>>0?d+1|0:d;h=c;c=d;d=HM(i,m,k,e)+b|0;e=Xa;e=b>>>0>d>>>0?e+1|0:e;g=a;i=e;h=i+h|0;H[g+8>>2]=h;H[g+12>>2]=h>>>0>>0?c+1|0:c;H[g>>2]=f;H[g+4>>2]=d}function $j(a){var b=0,c=0,d=0,e=0;c=Wa-48|0;Wa=c;b=H[a>>2];a:{if(b){break a}e=a-88|0;while(1){b=H[e>>2];if(!b){b=163632;break a}H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;b=Gs(c,_b(b,1801810542));if(!b){b=163632}d=H[a>>2];H[a>>2]=d?d:b;if(!d){break a}if(!(!b|(b|0)==163632)){lb(b)}b=H[a>>2];if(!b){continue}break}}Wa=c+48|0;return K[b+16>>2]<4?163632:H[b+12>>2]}function nz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=H[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(I[c|0]<<8|I[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=I[c|0]<<8|I[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(I[a+1|0]|I[a|0]<<8)|0;if(b>>>0>=(I[a+3|0]|I[a+2|0]<<8)>>>0){break a}c=I[a+7|0]|I[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=I[b|0]<<8|I[b+1|0];if(!b){break a}d=b+(I[a+5|0]|I[a+4|0]<<8)&65535}return d|0}function nh(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(a){if(b>>>0<=127){break a}b:{if(!H[H[64925]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){F[a+1|0]=b&63|128;F[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344&b>>>0>=55296)){F[a+2|0]=b&63|128;F[a|0]=b>>>12|224;F[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){F[a+3|0]=b&63|128;F[a|0]=b>>>18|240;F[a+2|0]=b>>>6&63|128;F[a+1|0]=b>>>12&63|128;return 4}}H[64884]=25;a=-1}else{a=1}return a|0}F[a|0]=b;return 1}function Fp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;a:{b:{c:{d:{if((a|0)!=(b|0)){e:{f:{f=I[a|0];if((f|0)!=45){break f}a=a+1|0;if((b|0)!=(a|0)){break f}break e}h=H[64884];H[64884]=0;a=gj(a,e+12|0,d,lc());d=Xa;g=H[64884];g:{if(g){if(H[e+12>>2]!=(b|0)){break g}if((g|0)==68){break c}break d}H[64884]=h;if(H[e+12>>2]==(b|0)){break d}}}}H[c>>2]=4;a=0;break a}if(!d){break b}}H[c>>2]=4;a=-1;break a}a=(f|0)==45?0-a|0:a}Wa=e+16|0;return a|0}function BB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=H[b>>2];d=H[a+16>>2];f=J[d+2>>1];g=f+(J[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=J[d>>1];j=(f-a|0)+1|0;h=J[d+4>>1];i=a+(h<<8)|0;k=H[d+12>>2];while(1){c=c+1|0;e=c>>>0>i>>>0?c:i;c=e&255;d=c>>>0>f>>>0;e=(d&a>>>0<=c>>>0)+(e>>>8|0)&65535;d=a>>>0>c>>>0?a:d?a:c;c=(e<<8)+d|0;e=J[k+((d-a|0)+N(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0>>0){continue}break}e=65535}H[b>>2]=c;return e|0}function $B(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(!d){f=1;if(K[a+4>>2]>>0){break a}}e=H[a+12>>2];if(H[a+8>>2]!=(b|0)){Gj(e,b,0)}a=H[e+72>>2];H[e+72>>2]=a-1|a;a=H[e+4>>2];b=H[e+8>>2];if((a|0)==(b|0)){a=d}else{f=a;a=b-a|0;a=a>>>0>>0?a:d;mb(c,f,a);H[e+4>>2]=a+H[e+4>>2];c=a+c|0;a=d-a|0}if(a){while(1){b:{c:{if(!Ij(e)){b=Ya[H[e+32>>2]](e,c,a)|0;if(b){break c}}d=d-a|0;break b}c=b+c|0;f=(a|0)!=(b|0);a=a-b|0;if(f){continue}}break}}f=d}return f|0}function qM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=H[b+12>>2];a:{if(a){break a}while(1){f=H[b>>2];if(!f){return et(163632,c,d,e)|0}b:{c:{a=Ab(1,48);if(a){Qh(a,f);f=H[b+12>>2];H[b+12>>2]=f?f:a;if(!f){break a}f=H[a+44>>2];H[65057]=0;fa(579,f|0);f=H[65057];H[65057]=0;if((f|0)==1){break c}hb(a);break b}a=163632;f=H[b+12>>2];H[b+12>>2]=f?f:163632;if(f){break b}break a}ea(0)|0;_()|0;Gb();X()}a=H[b+12>>2];if(!a){continue}break}}return et(a,c,d,e)|0}function rC(a,b){a=a|0;b=b|0;var c=0;if(H[b+72>>2]==1651078259){c=H[a>>2];H[a+20>>2]=H[b+100>>2];H[a+24>>2]=H[b+104>>2];a=a+28|0;if(F[H[b+156>>2]+4|0]&1){c=H[b+80>>2];H[a>>2]=H[b+76>>2];H[a+4>>2]=c;c=H[b+96>>2];H[a+16>>2]=H[b+92>>2];H[a+20>>2]=c;c=H[b+88>>2];H[a+8>>2]=H[b+84>>2];H[a+12>>2]=c;a=H[b+156>>2];H[a+4>>2]=H[a+4>>2]&-2;return 0}if(a){H[a>>2]=0;H[a+4>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}a=Tn(c,b+76|0,a)}else{a=18}return a|0}function zc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(I[a+11|0]>>>7|0){e=H[a+4>>2]}else{e=I[a+11|0]}if(!e|(c-b|0)<5){break a}Yf(b,c);f=c-4|0;if(I[a+11|0]>>>7|0){e=H[a+4>>2]}else{e=I[a+11|0]}if(I[a+11|0]>>>7|0){a=H[a>>2]}c=a;a=e+a|0;b:{while(1){c:{e=F[c|0];if(b>>>0>=f>>>0){break c}if(!((e|0)<=0|(e|0)>=127)&H[b>>2]!=F[c|0]){break b}b=b+4|0;c=((a-c|0)>1)+c|0;continue}break}if((e|0)<=0|(e|0)>=127|F[c|0]>>>0>H[f>>2]-1>>>0){break a}}H[d>>2]=4}}function ht(a,b,c){var d=0,e=0,f=0;f=H[a+16>>2];e=H[f+108>>2];a:{if(e){break a}while(1){d=H[f+48>>2];if(!d){return gt(163632,a,b,c)}b:{c:{e=Ab(1,28);if(e){ng(e,d);d=H[f+108>>2];H[f+108>>2]=d?d:e;if(!d){break a}d=H[e+24>>2];H[65057]=0;fa(579,d|0);d=H[65057];H[65057]=0;if((d|0)==1){break c}hb(e);break b}e=163632;d=H[f+108>>2];H[f+108>>2]=d?d:163632;if(d){break b}break a}ea(0)|0;_()|0;Gb();X()}e=H[f+108>>2];if(!e){continue}break}}return gt(e,a,b,c)}function Wt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;b=H[a+12>>2];H[f>>2]=0;H[e>>2]=0;g=b;h=H[b+84>>2];b=H[b+80>>2];h=Ya[H[b+212>>2]](g,h,c,d,e,f,H[b+68>>2])|0;if(h){c=H[a+12>>2];a:{if(c){b=H[e>>2];g=H[c+20>>2];d=H[a+20>>2];if((g|0)!=(d|0)){b=IM(HM(d,d>>31,b,b>>31),Xa,g,g>>31)}H[e>>2]=b;b=H[f>>2];c=H[c+24>>2];a=H[a+24>>2];if((c|0)==(a|0)){break a}b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31);break a}b=H[f>>2]}H[f>>2]=b}return h|0}function zp(a,b,c){var d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;f=Wa-16|0;Wa=f;a:{if(b>>>0<=1073741807){b:{if(b>>>0<=1){F[a+11|0]=b;d=a;break b}if(b>>>0>=2){e=b+4&-4;d=e-1|0;d=(d|0)==2?e:d}else{d=1}e=d+1|0;d=Co(e);H[a>>2]=d;H[a+8>>2]=e|-2147483648;H[a+4>>2]=b}c:{d:{if(b){H[65057]=0;xo(d,c,b);c=H[65057];H[65057]=0;if((c|0)==1){break d}}break c}ea(0)|0;_()|0;Gb();X()}H[f+12>>2]=0;H[(b<<2)+d>>2]=H[f+12>>2];Wa=f+16|0;break a}od();X()}Wa=g+16|0;return a}function _t(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=H[a+12>>2];H[e>>2]=0;H[d>>2]=0;f=b;g=H[b+84>>2];b=H[b+80>>2];f=Ya[H[b+196>>2]](f,g,c,d,e,H[b+52>>2])|0;if(f){c=H[a+12>>2];a:{if(c){b=H[d>>2];g=H[a+20>>2];h=H[c+20>>2];if((g|0)!=(h|0)){b=IM(HM(g,g>>31,b,b>>31),Xa,h,h>>31)}H[d>>2]=b;b=H[e>>2];c=H[c+24>>2];a=H[a+24>>2];if((c|0)==(a|0)){break a}b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31);break a}b=H[e>>2]}H[e>>2]=b}return f|0}function $t(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=H[a+12>>2];H[e>>2]=0;H[d>>2]=0;f=b;g=H[b+84>>2];b=H[b+80>>2];f=Ya[H[b+192>>2]](f,g,c,d,e,H[b+48>>2])|0;if(f){c=H[a+12>>2];a:{if(c){b=H[d>>2];g=H[a+20>>2];h=H[c+20>>2];if((g|0)!=(h|0)){b=IM(HM(g,g>>31,b,b>>31),Xa,h,h>>31)}H[d>>2]=b;b=H[e>>2];c=H[c+24>>2];a=H[a+24>>2];if((c|0)==(a|0)){break a}b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31);break a}b=H[e>>2]}H[e>>2]=b}return f|0}function wL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=H[a+712>>2];a:{if(I[e+24|0]==2){f=11;e=gd(oc(H[H[a+96>>2]+4>>2],9005),9996,0);if(!e){break a}e=H[e>>2];if(!e){break a}return Ya[e|0](a,b,c,d)|0}a=H[e+3084>>2];if(!a){return 11}b=J[H[e+1188>>2]+(b<<1)>>1];if((b|0)==65535){break a}b:{if(b>>>0>=391){a=b-391|0;if(a>>>0>=K[e+1356>>2]){break a}a=H[H[e+1360>>2]+(a<<2)>>2];break b}a=Ya[H[a+20>>2]](b)|0}if(!a){break a}Bi(c,a,d)}return f|0}function VK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[a+8>>2];a:{if(!c){break a}b:{switch(I[a|0]){case 0:e=I[b+c|0];break a;case 3:break b;default:break a}}if(K[a+20>>2]>b-H[a+16>>2]>>>0){e=I[a+24|0];break a}d=c+2|0;g=c+H[a+12>>2]|0;c=I[c+1|0]|I[c|0]<<8;while(1){if(b>>>0>>0){break a}f=I[d+2|0]|I[d+1|0]<<8;if(f>>>0>b>>>0){e=I[d|0];F[a+24|0]=e;H[a+20>>2]=f-c;H[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function Hq(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=I[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=H[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=N(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=H[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=I[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return wb(a)+a|0}return a}function ki(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=b&-4;if(c){while(1){e=(I[(d|3)+a|0]|(I[(d|1)+a|0]<<16|I[a+d|0]<<24|I[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){h=(b&3)-f|0;b=0;while(1){g=c<<3&16;d=I[(c|1)+a|0]<<(g^16)|(I[a+c|0]<<(g^24)|d);c=c+2|0;b=b+2|0;if((h|0)!=(b|0)){continue}break}}if(!f){break a}d=I[a+c|0]<<((c<<3^-1)&24)|d}e=d+e|0}return e}function At(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=H[b+28>>2];e=H[b+24>>2];H[65057]=0;c=ka(643,e|0,c|0,f|0)|0;f=H[65057];H[65057]=0;if((f|0)!=1){a:{if(c){break a}c=H[e+84>>2];e=H[c+32>>2];H[d>>2]=e;f=H[c+36>>2];H[d+4>>2]=f;g=H[c+24>>2];H[d+8>>2]=g;c=H[c+28>>2];H[d+12>>2]=0-c;if(H[a+20>>2]<0){H[d+8>>2]=0-g;H[d>>2]=0-e}g=1;if(H[a+24>>2]>=0){break a}H[d+12>>2]=c;H[d+4>>2]=0-f}Tb();return g|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function pE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;while(1){a:{if((c|0)==(d|0)|e>>>0<=h>>>0){break a}g=1;f=Wa-16|0;Wa=f;H[f+12>>2]=H[a+8>>2];i=xd(f+8|0,f+12|0);H[65057]=0;j=Lp(c,d-c|0,b);l=H[65057];H[65057]=0;b:{if((l|0)!=1){Dc(i);Wa=f+16|0;break b}a=$()|0;_()|0;Dc(i);ba(a|0);X()}c:{switch(j+2|0){default:g=j;break;case 0:case 1:break a;case 2:break c}}h=h+1|0;k=g+k|0;c=c+g|0;continue}break}return k|0}function YD(a){a=a|0;if(I[260572]){return H[65142]}if(!I[260920]){a=260752;while(1){a=Ib(a)+12|0;if((a|0)!=260920){continue}break}F[260920]=1}Wb(260752,238003);Wb(260764,238010);Wb(260776,237976);Wb(260788,237984);Wb(260800,237967);Wb(260812,238017);Wb(260824,237994);Wb(260836,238498);Wb(260848,238591);Wb(260860,238920);Wb(260872,239119);Wb(260884,238070);Wb(260896,238766);Wb(260908,238225);F[260572]=1;H[65142]=260752;return 260752}function sG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-16|0;Wa=g;H[g+8>>2]=b;b=H[d+28>>2];H[g>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;h=aa(892,g|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[g>>2];d=H[b+4>>2]-1|0;H[b+4>>2]=d;if((d|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}xp(a,f+24|0,g+8|0,c,e,h);Wa=g+16|0;return H[g+8>>2]}c=$()|0;_()|0;a=H[g>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function rG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-16|0;Wa=g;H[g+8>>2]=b;b=H[d+28>>2];H[g>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;h=aa(892,g|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[g>>2];d=H[b+4>>2]-1|0;H[b+4>>2]=d;if((d|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}wp(a,f+16|0,g+8|0,c,e,h);Wa=g+16|0;return H[g+8>>2]}c=$()|0;_()|0;a=H[g>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function ni(a){a=a|0;var b=0,c=0;if(a){c=H[a+100>>2];Xm(H[a+140>>2]);b=H[a+144>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+144>>2]=0;b=H[a+132>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+132>>2]=0;b=H[a+136>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+136>>2]=0;b=H[a+20>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+20>>2]=0;b=H[a+24>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+24>>2]=0;b=H[a+32>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+32>>2]=0;b=H[a+140>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+140>>2]=0}}function mG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-16|0;Wa=g;H[g+8>>2]=b;b=H[d+28>>2];H[g>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;h=aa(998,g|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[g>>2];d=H[b+4>>2]-1|0;H[b+4>>2]=d;if((d|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}up(a,f+24|0,g+8|0,c,e,h);Wa=g+16|0;return H[g+8>>2]}c=$()|0;_()|0;a=H[g>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function lG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-16|0;Wa=g;H[g+8>>2]=b;b=H[d+28>>2];H[g>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;h=aa(998,g|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[g>>2];d=H[b+4>>2]-1|0;H[b+4>>2]=d;if((d|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}tp(a,f+16|0,g+8|0,c,e,h);Wa=g+16|0;return H[g+8>>2]}c=$()|0;_()|0;a=H[g>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function WD(a){a=a|0;if(I[260580]){return H[65144]}if(!I[261096]){a=260928;while(1){a=Ib(a)+12|0;if((a|0)!=261096){continue}break}F[261096]=1}Vb(260928,253412);Vb(260940,253440);Vb(260952,253468);Vb(260964,253500);Vb(260976,253540);Vb(260988,253576);Vb(261e3,253604);Vb(261012,253640);Vb(261024,253656);Vb(261036,253672);Vb(261048,253688);Vb(261060,253704);Vb(261072,253720);Vb(261084,253736);F[260580]=1;H[65144]=260928;return 260928}function qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=H[a+540>>2];d=H[a+104>>2];e=H[a+100>>2];c=H[a+716>>2];if(c){Ya[c|0](H[a+712>>2])}if(b){Ya[H[b+12>>2]](a)}bc(H[a+104>>2],a+764|0);H[a+760>>2]=0;c=H[a+104>>2];b=H[c+28>>2];f=H[a+784>>2];if(f){Ya[H[b+8>>2]](b,f)}H[a+784>>2]=0;bc(c,a+768|0);b=H[a+704>>2];if(b){Ya[H[e+8>>2]](e,b)}H[a+700>>2]=0;H[a+704>>2]=0;bc(d,a+688|0);bc(d,a+696|0);H[a+692>>2]=0;H[a+684>>2]=0;um(a);H[a+736>>2]=0}}function xJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(!a){break a}d=H[a+36>>2];if(!d){return b|0}if((d|0)<=0){break a}d=0;while(1){c=H[H[a+40>>2]+(e<<2)>>2];b:{if(he(a,c)){break b}c:{c=H[c+4>>2];if((c|0)<=1937337697){if(!c){break c}if((c|0)!=1634889070){break b}break c}if((c|0)==1937337698){break c}if((c|0)!=1970170211){break b}d=0;c=pc(a,b);if(c){break a}break b}d=pc(a,b)}c=d;e=e+1|0;if((e|0)>2]){continue}break}}return c|0}function ew(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=H[a+496>>2];if(!f){return 6}g=H[f+32>>2];if(g){a=0;while(1){e=H[f+28>>2]+N(a,20)|0;a:{if(H[e>>2]!=(c|0)){break a}h=H[e+4>>2];if((h|0)>(b|0)){H[d>>2]=H[e+8>>2];break a}i=H[e+12>>2];if((i|0)<(b|0)){H[d>>2]=H[e+16>>2];break a}j=d,k=sb(b-h|0,H[e+16>>2]-H[e+8>>2]|0,i-h|0)+H[e+8>>2]|0,H[j>>2]=k;g=H[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function qG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=Wa-16|0;Wa=a;H[a+8>>2]=b;b=H[d+28>>2];H[a>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;g=aa(892,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[a>>2];d=H[b+4>>2]-1|0;H[b+4>>2]=d;if((d|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}vp(f+20|0,a+8|0,c,e,g);Wa=a+16|0;return H[a+8>>2]}c=$()|0;_()|0;a=H[a>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function kG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=Wa-16|0;Wa=a;H[a+8>>2]=b;b=H[d+28>>2];H[a>>2]=b;H[b+4>>2]=H[b+4>>2]+1;H[65057]=0;g=aa(998,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=H[a>>2];d=H[b+4>>2]-1|0;H[b+4>>2]=d;if((d|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}sp(f+20|0,a+8|0,c,e,g);Wa=a+16|0;return H[a+8>>2]}c=$()|0;_()|0;a=H[a>>2];b=H[a+4>>2]-1|0;H[a+4>>2]=b;if((b|0)==-1){Ya[H[H[a>>2]+8>>2]](a)}ba(c|0);X()}function yB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=H[a+16>>2];if(!e){H[b>>2]=0;return 0}i=H[a+20>>2];f=H[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=H[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}H[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){H[b>>2]=0;return 0}e=0;if(c){e=H[H[a+20>>2]+(c<<4)>>2];d=c+1|0}H[b>>2]=e;return d|0}function dL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=H[b+100>>2];d=I[a+2|0]|I[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=163632}d=Kb(c,H[H[e+80>>2]+N(H[e+64>>2],20)>>2]);a:{if((d|0)==-1){break a}c=I[a+6|0]|I[a+7|0]<<8;if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}f=1;g=a+4|0;c=a;a=N(KM(I[a+4|0]|I[a+5|0]<<8),d);we(g,b,c,(a|0)<0?163632:(c+(a<<1)|0)+8|0,H[e+88>>2]+N(H[e+64>>2],20)|0);H[e+64>>2]=H[e+64>>2]+1}return f|0}function lj(a,b,c,d,e){var f=0,g=0,h=0,i=0;h=-1;f=d&2147483647;i=f;g=(f|0)==2147418112;a:{if(g&!c?a|b:g&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;g=(f|0)==2147418112;if(g?0:g&0|f>>>0>2147418112){break a}if(!(a|c|(f|i|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function MF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;d=Wa-16|0;Wa=d;a:{if(!(I[f+11|0]>>>7|0)){H[a+8>>2]=H[f+8>>2];b=H[f+4>>2];H[a>>2]=H[f>>2];H[a+4>>2]=b;break a}e=H[f>>2];b:{c:{c=H[f+4>>2];d:{if(c>>>0<=1){b=a;F[a+11|0]=c;break d}if(c>>>0>1073741807){break c}if(c>>>0>=2){f=c+4&-4;b=f-1|0;b=(b|0)==2?f:b}else{b=1}f=b+1|0;b=Co(f);H[a>>2]=b;H[a+8>>2]=f|-2147483648;H[a+4>>2]=c}ue(b,e,c+1|0);break b}od();X()}}Wa=d+16|0}function lJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=H[d>>2];h=H[d+4>>2];f=H[d+8>>2];a:{if((h|0)>(f+7|0)){g=e;break a}if(!e){g=tb(800);H[d+4>>2]=200;H[d>>2]=g;f=0;break a}g=tb(h<<3);f=mb(g,e,f<<2);hb(e);H[d+4>>2]=h<<1;H[d>>2]=f;f=H[d+8>>2]}e=(f<<2)+g|0;H[e>>2]=3;H[e+4>>2]=H[a>>2];H[e+8>>2]=H[a+4>>2];H[e+12>>2]=H[b>>2];H[e+16>>2]=H[b+4>>2];H[e+20>>2]=H[c>>2];a=H[c+4>>2];H[d+8>>2]=f+7;H[e+24>>2]=a;return 0}function bz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=H[a>>2];d=H[f+140>>2];c=H[b+8>>2];g=H[f+32>>2];e=H[b+16>>2];if(e){c=(N(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(H[b>>2]){case 0:c=23;if((e|0)==H[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(H[d+44>>2]+H[d+40>>2]|0)){break a}}c=0;wd(f,0);H[a+24>>2]=H[d+40>>2]<<6;H[a+28>>2]=0-(H[d+44>>2]<<6);H[a+36>>2]=J[d+4>>1]<<6}return c|0}function oD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Wa-16|0;Wa=f;d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:1;if(I[a+11|0]>>>7|0){e=H[a+4>>2]}else{e=I[a+11|0]}a:{if(d-e>>>0>=c>>>0){if(!c){break a}if(I[a+11|0]>>>7|0){d=H[a>>2]}else{d=a}ue(d+(e<<2)|0,b,c);b=c+e|0;b:{if(I[a+11|0]>>>7|0){H[a+4>>2]=b;break b}F[a+11|0]=b}H[f+12>>2]=0;H[d+(b<<2)>>2]=H[f+12>>2];break a}uo(a,d,(c+e|0)-d|0,e,e,0,c,b)}Wa=f+16|0;return a|0}function DI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;while(1){a:{if((c|0)<=(f|0)){break a}d=H[a+24>>2];g=H[a+28>>2];if(d>>>0>=g>>>0){if((Ya[H[H[a>>2]+52>>2]](a,I[b|0])|0)==-1){break a}f=f+1|0;b=b+1|0}else{H[e+12>>2]=g-d;H[e+8>>2]=c-f;d=Wa-16|0;Wa=d;Wa=d+16|0;d=e+8|0;g=e+12|0;d=H[(H[d>>2]>2]?d:g)>>2];Jd(H[a+24>>2],b,d);H[a+24>>2]=d+H[a+24>>2];f=d+f|0;b=b+d|0}continue}break}Wa=e+16|0;return f|0}function Bn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Wa-16|0;Wa=f;H[f+12>>2]=0;e=H[d>>2];if(e){if(e){Ya[H[c+8>>2]](c,e)}H[d>>2]=0}a:{if(!b){e=0;break a}b:{e=b-1|0;if(I[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){if(F[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break c}break}e=0;break a}e=zb(c,b+1|0,f+12|0);g=H[f+12>>2];if(g){break a}h=mb(e,a,b)+b|0,i=0,F[h|0]=i;g=H[f+12>>2]}H[d>>2]=e;Wa=f+16|0;return g}function aB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=Wa-16|0;Wa=f;tc(a,H[a+8>>2]);g=H[a>>2];H[f+12>>2]=g;h=H[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(I[g|0]!=60){break a}H[f+12>>2]=g+1;j=d,k=wn(f+12|0,h,b,c),H[j>>2]=k;b=H[f+12>>2];H[a>>2]=b;if(I[b|0]!=62&b>>>0>2]){break a}b=b+1|0;break b}j=d,k=wn(f+12|0,h,b,c),H[j>>2]=k;b=H[f+12>>2]}H[a>>2]=b;i=0}Wa=f+16|0;return i|0}function vz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=H[a+24>>2];H[a+48>>2]=b;d=H[a+28>>2];H[a+52>>2]=d;e=H[a+8>>2];f=e+H[a>>2]|0;H[a+8>>2]=f>>1;c=b;b=H[a+16>>2];c=c+b|0;H[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;H[a+16>>2]=e>>2;b=b+c|0;H[a+32>>2]=b>>2;c=d;d=H[a+20>>2];f=c+d|0;H[a+44>>2]=f>>1;c=H[a+12>>2];g=c+H[a+4>>2]|0;H[a+12>>2]=g>>1;H[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;H[a+36>>2]=d>>2;b=b+g|0;H[a+20>>2]=b>>2;H[a+28>>2]=b+d>>3}function Cw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!I[a+733|0]){break a}d=H[a+736>>2];if(!d){break a}if(!I[d+32|0]){e=gm(a,0);d=H[a+736>>2];H[d+36>>2]=e}if(!I[d+33|0]){return H[d+36>>2]}d=H[d+40>>2];e=H[d+28>>2];b:{if(e){f=e;e=H[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=H[f+e>>2];f=H[e+H[d+24>>2]>>2];break b}e=6;if(K[H[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=bi(a,d,f,b)+H[c>>2]|0,H[g>>2]=h;e=0}return e|0}function Bw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!I[a+733|0]){break a}d=H[a+736>>2];if(!d){break a}if(!I[d+44|0]){e=gm(a,1);d=H[a+736>>2];H[d+48>>2]=e}if(!I[d+45|0]){return H[d+48>>2]}d=H[d+52>>2];e=H[d+28>>2];b:{if(e){f=e;e=H[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=H[f+e>>2];f=H[e+H[d+24>>2]>>2];break b}e=6;if(K[H[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=bi(a,d,f,b)+H[c>>2]|0,H[g>>2]=h;e=0}return e|0}function bu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Wa-16|0;Wa=b;H[b+12>>2]=c;d=H[a+80>>2];e=H[d+184>>2];a:{if((e|0)!=H[64644]){Ya[e|0](a,H[a+84>>2],1,b+12|0,0,b+8|0,0,H[d+40>>2]);c=H[b+8>>2];break a}d=H[a+12>>2];e=H[d+80>>2];c=Ya[H[e+176>>2]](d,H[d+84>>2],c,H[e+32>>2])|0;d=H[a+12>>2];if(!d){break a}d=H[d+20>>2];a=H[a+20>>2];if((d|0)==(a|0)){break a}c=IM(HM(a,a>>31,c,c>>31),Xa,d,d>>31)}Wa=b+16|0;return c|0}function au(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Wa-16|0;Wa=b;H[b+12>>2]=c;d=H[a+80>>2];e=H[d+188>>2];a:{if((e|0)!=H[64645]){Ya[e|0](a,H[a+84>>2],1,b+12|0,0,b+8|0,0,H[d+44>>2]);c=H[b+8>>2];break a}d=H[a+12>>2];e=H[d+80>>2];c=Ya[H[e+180>>2]](d,H[d+84>>2],c,H[e+36>>2])|0;d=H[a+12>>2];if(!d){break a}d=H[d+24>>2];a=H[a+24>>2];if((d|0)==(a|0)){break a}c=IM(HM(a,a>>31,c,c>>31),Xa,d,d>>31)}Wa=b+16|0;return c|0}function Ie(a,b){var c=0,d=0,e=0;c=Wa-16|0;Wa=c;H[c+12>>2]=0;e=jc(a,c+12|0);d=H[c+12>>2];a:{if(d){break a}b:{c:{d:{e:{e=e&255;switch(e-253|0){case 1:break c;case 2:break d;case 0:break e;default:break b}}e=yb(a,c+12|0);d=H[c+12>>2];if(!d){break b}break a}a=jc(a,c+12|0);d=H[c+12>>2];if(d){break a}e=(a&255)+253|0;break b}a=jc(a,c+12|0);d=H[c+12>>2];if(d){break a}e=(a&255)+506|0}G[b>>1]=e;d=0}Wa=c+16|0;return d}function Dj(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){break b}if(b&3){while(1){c=I[b|0];F[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=H[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){H[d>>2]=c;c=H[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=I[b|0];F[d|0]=c;if(!c){break a}while(1){c=I[b+1|0];F[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function mw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;H[d>>2]=0;H[d+4>>2]=0;e=H[a+496>>2];if(e){a=H[e+36>>2];e=(a+(H[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=H[b>>2]<<16|H[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;H[d>>2]=H[a+8>>2];h=H[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}H[d+4>>2]=h}return 0}function Zu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[b+8>>2];f=H[a>>2];g=H[f+32>>2];e=H[f+132>>2];d=H[b+16>>2];if(d){c=(N(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(H[b>>2]){case 0:c=23;if((d|0)==H[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=J[e+96>>1]){break a}}c=0;wd(f,0);b=J[e+80>>1];H[a+24>>2]=b<<6;H[a+28>>2]=b-J[e+96>>1]<<6;H[a+36>>2]=J[e+102>>1]<<6}return c|0}function tw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=H[a+20>>2];h=H[a+16>>2];a:{b:{if(h){e=H[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=H[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=H[(c<<3)+i>>2]}j=J[((c<<3)+i|0)+4>>1]+1&65535}H[b>>2]=e;return j|0}function JB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[b+8>>2];d=H[a>>2];f=H[d+32>>2];e=H[b+16>>2];if(e){c=(N(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(H[b>>2]){case 0:c=23;if((e|0)==H[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(H[d+208>>2]+H[d+204>>2]|0)){break a}}c=0;wd(d,0);H[a+24>>2]=H[d+204>>2]<<6;H[a+28>>2]=0-(H[d+208>>2]<<6);H[a+36>>2]=G[d+236>>1]<<6}return c|0}function lH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=O(0),g=0,h=O(0);e=Wa-16|0;Wa=e;a:{b:{c:{if((a|0)!=(b|0)){g=H[64884];H[64884]=0;lc();d=Wa-16|0;Wa=d;fj(d,a,e+12|0,0);f=Up(H[d>>2],H[d+4>>2],H[d+8>>2],H[d+12>>2]);Wa=d+16|0;a=H[64884];if(!a){break c}if(H[e+12>>2]!=(b|0)){break b}h=f;if((a|0)!=68){break a}break b}H[c>>2]=4;break a}H[64884]=g;if(H[e+12>>2]==(b|0)){break a}}H[c>>2]=4;f=h}Wa=e+16|0;return O(f)}function Ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Wa-16|0;Wa=f;d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;if(I[a+11|0]>>>7|0){e=H[a+4>>2]}else{e=I[a+11|0]}a:{if(d-e>>>0>=c>>>0){if(!c){break a}if(I[a+11|0]>>>7|0){d=H[a>>2]}else{d=a}Jd(d+e|0,b,c);b=c+e|0;b:{if(I[a+11|0]>>>7|0){H[a+4>>2]=b;break b}F[a+11|0]=b}F[f+15|0]=0;F[b+d|0]=I[f+15|0];break a}wo(a,d,(c+e|0)-d|0,e,e,0,c,b)}Wa=f+16|0;return a|0}function iI(a,b){a=a|0;b=b|0;var c=0,d=0;if(K[a+24>>2]>K[a+44>>2]){H[a+44>>2]=H[a+24>>2]}a:{if(K[a+8>>2]>=K[a+12>>2]){break a}if((b|0)==-1){c=H[a+8>>2];d=H[a+12>>2]-1|0;H[a+16>>2]=H[a+44>>2];H[a+12>>2]=d;H[a+8>>2]=c;return((b|0)==-1?0:b)|0}if(!(I[a+48|0]&16)&I[H[a+12>>2]-1|0]!=(b&255)){break a}c=H[a+8>>2];d=H[a+12>>2]-1|0;H[a+16>>2]=H[a+44>>2];H[a+12>>2]=d;H[a+8>>2]=c;F[H[a+12>>2]]=b;return b|0}return-1}function Zi(a,b){var c=0,d=0,e=0,f=0;e=Wa-16|0;Wa=e;a:{if(!(I[b+11|0]>>>7|0)){H[a+8>>2]=H[b+8>>2];c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;break a}f=H[b>>2];b:{c:{c=H[b+4>>2];d:{if(c>>>0<=10){b=a;F[b+11|0]=c;break d}if(c>>>0>4294967279){break c}if(c>>>0>=11){d=c+16&-16;b=d-1|0;b=(b|0)==11?d:b}else{b=10}d=b+1|0;b=Rc(d);H[a>>2]=b;H[a+8>>2]=d|-2147483648;H[a+4>>2]=c}Jd(b,f,c+1|0);break b}od();X()}}Wa=e+16|0}function nt(a){a=a|0;var b=0,c=0;H[a+168>>2]=0;hb(H[a+172>>2]);H[a+172>>2]=0;H[a+164>>2]=0;H[a+168>>2]=0;b=H[a+32>>2];if(b){while(1){b=H[a+36>>2]+(b<<5)|0;H[b-12>>2]=0;c=b-8|0;hb(H[c>>2]);H[c>>2]=0;b=b-16|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+32>>2]-1|0;H[a+32>>2]=b;if(b){continue}break}}hb(H[a+36>>2]);H[a+100>>2]=0;H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;hb(H[a+104>>2]);H[a+104>>2]=0;H[a+96>>2]=0;H[a+100>>2]=0}function LF(a,b){a=a|0;b=b|0;var c=0,d=0;d=Wa-16|0;Wa=d;H[a>>2]=0;H[a+4>>2]=0;H[d+12>>2]=0;H[65057]=0;c=a+8|0;H[c>>2]=0;F[c+128|0]=0;c=H[65057];H[65057]=0;a:{if((c|0)!=1){Wa=d+16|0;break a}ea(0)|0;_()|0;Gb();X()}d=a;b:{if(!b){break b}H[65057]=0;da(1104,a|0,b|0);c=H[65057];H[65057]=0;if((c|0)!=1){H[65057]=0;Wi(a,b);b=H[65057];H[65057]=0;if((b|0)!=1){break b}}a=$()|0;_()|0;Zo(d);ba(a|0);X()}return a|0}function xz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=H[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>H[a>>2];if((c|0)<0|c>>>0>=K[a+96>>2]){break a}c=(H[a+56>>2]+(b>>3)|0)-N(c,H[a+104>>2])|0;F[c|0]=I[c|0]|128>>>(b&7);e=0-H[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>H[a>>2];if((c|0)<0|c>>>0>=K[a+96>>2]){break b}a=(H[a+56>>2]+(b>>3)|0)-N(c,H[a+104>>2])|0;F[a|0]=I[a|0]|128>>>(b&7)}}function uC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=6;b=wb(c);f=b+6|0;a:{b:{if((b|0)<=-6){if(f){break a}a=0;break b}a=H[a>>2];a=Ya[H[a+4>>2]](a,f)|0;if(!a){return 64}kb(a,0,f)}g=0;c=mb(a,c,b);a=c+b|0;b=I[11728]|I[11729]<<8;F[a+4|0]=b;F[a+5|0]=b>>>8;b=I[11724]|I[11725]<<8|(I[11726]<<16|I[11727]<<24);F[a|0]=b;F[a+1|0]=b>>>8;F[a+2|0]=b>>>16;F[a+3|0]=b>>>24;H[d>>2]=c;H[e>>2]=0}return g|0}function ty(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{if(b){h=142;g=J[a+152>>1];if(!g){break b}f=H[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(H[f>>2]==(b|0)){g=H[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=H[f+8>>2]+c|0;break c}g=H[H[a+104>>2]+4>>2]}if(!e){f=g;break a}f=H[e>>2];if(f){break a}H[e>>2]=g;h=0}return h|0}return Og(H[a+104>>2],c,d,f)|0}function tH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Wa-16|0;Wa=e;a:{b:{if((a|0)!=(b|0)){g=H[64884];H[64884]=0;d=Kp(a,e+12|0,d,lc());a=Xa;f=H[64884];c:{if(f){if(H[e+12>>2]!=(b|0)){break c}if((f|0)==68){break b}break a}H[64884]=g;if(H[e+12>>2]==(b|0)){break a}}}H[c>>2]=4;d=0;a=0;break a}H[c>>2]=4;if(!!d&(a|0)>=0|(a|0)>0){d=-1;a=2147483647;break a}d=0;a=-2147483648}Wa=e+16|0;Xa=a;return d|0}function Sn(a,b,c){var d=0;a:{if(!c){break a}H[c>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;if(!a){break a}d=H[a+4>>2];if(!d){break a}d=H[d+24>>2];if(!d){break a}Ya[d|0](a,c);if((b&-3)==1){H[c>>2]=H[c>>2]&-64;H[c+4>>2]=H[c+4>>2]&-64;H[c+8>>2]=H[c+8>>2]+63&-64;H[c+12>>2]=H[c+12>>2]+63&-64}if((b&-2)!=2){break a}H[c>>2]=H[c>>2]>>6;H[c+4>>2]=H[c+4>>2]>>6;H[c+8>>2]=H[c+8>>2]>>6;H[c+12>>2]=H[c+12>>2]>>6}}function ut(a,b){a=a|0;b=b|0;var c=0,d=O(0),e=0,f=O(0),g=0;e=b+16|0;g=H[b+12>>2];c=H[b+8>>2];f=O(H[a+4>>2]);d=O(H[a>>2]);a:{b:{if(I[b+4|0]){if(!H[e>>2]){break b}break a}d=O(O(f*L[b>>2])+d);if(H[b+16>>2]){break a}}Ya[H[c+12>>2]](c,g,e,L[b+28>>2],L[b+32>>2],H[c+32>>2]);H[b+16>>2]=1;a=H[b+32>>2];H[b+20>>2]=H[b+28>>2];H[b+24>>2]=a}Ya[H[c+16>>2]](c,g,e,d,f,H[c+36>>2]);L[b+32>>2]=f;L[b+28>>2]=d;return 0}function _o(a,b){var c=0;a:{if(!a){break a}a=H[a+128>>2];H[a+24>>2]=0;b:{if(!b){H[a+8>>2]=0;H[a+12>>2]=65536;H[a>>2]=65536;H[a+4>>2]=0;b=a;break b}c=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=c;c=H[b+12>>2];H[a+8>>2]=H[b+8>>2];H[a+12>>2]=c}c:{if(!(H[b+8>>2]|H[b+4>>2]|H[b>>2]!=65536)){c=2;if(H[b+12>>2]==65536){break c}}H[a+24>>2]=1;c=3}H[a+16>>2]=0;H[a+20>>2]=0;if(!H[(a+16|0)+4>>2]){break a}H[a+24>>2]=c}}function jH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;a:{b:{c:{if((a|0)!=(b|0)){g=H[64884];H[64884]=0;lc();d=Wa-16|0;Wa=d;fj(d,a,e+12|0,1);f=Aj(H[d>>2],H[d+4>>2],H[d+8>>2],H[d+12>>2]);Wa=d+16|0;a=H[64884];if(!a){break c}if(H[e+12>>2]!=(b|0)){break b}h=f;if((a|0)!=68){break a}break b}H[c>>2]=4;break a}H[64884]=g;if(H[e+12>>2]==(b|0)){break a}}H[c>>2]=4;f=h}Wa=e+16|0;return+f}function kA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){i=d&-2;while(1){e=a+b|0;f=I[e|0];F[e|0]=f^c>>>8;g=(b|1)+a|0;e=I[g|0];c=N(c+f|0,52845)+22719|0;F[g|0]=e^c>>>8;c=N(c+e|0,52845)+22719&65535;b=b+2|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(!(d&1)){break a}a=a+b|0;F[a|0]=I[a|0]^c>>>8}}function eD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;a:{if(H[b>>2]){if(I[c+11|0]>>>7|0){e=H[c+4>>2]}else{e=I[c+11|0]}if(e){Ni(c,239361,wb(239361))}e=H[b+4>>2];Ya[H[H[e>>2]+24>>2]](d,e,H[b>>2]);H[65057]=0;ca(1376,c|0,d|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}nb(d)}b=H[c+4>>2];H[a>>2]=H[c>>2];H[a+4>>2]=b;H[a+8>>2]=H[c+8>>2];hq(c);Wa=d+16|0;return}a=$()|0;_()|0;nb(d);ba(a|0);X()}function $b(a,b){var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[b>>2]=0;a:{b:{c:{d:{c=H[a+8>>2];if(K[a+4>>2]<=c+3>>>0){break d}e=H[a+20>>2];e:{if(e){if((Ya[e|0](a,c,d+12|0,4)|0)!=4){break d}c=H[a+8>>2];b=d+12|0;break e}b=H[a>>2];if(!b){break c}b=b+c|0}b=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}H[b>>2]=85;break a}f=0}H[a+8>>2]=c+4}Wa=d+16|0;return f}function nD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Wa-16|0;Wa=d;H[d+12>>2]=b;a:{b:{c:{d:{if(I[a+11|0]>>>7|0){c=(H[a+8>>2]&2147483647)-1|0;e=H[a+4>>2];if((c|0)==(e|0)){break d}break b}e=1;c=1;b=I[a+11|0];if((b|0)!=1){break c}}to(a,c,1,c,c);b=e;if(I[a+11|0]>>>7|0){break b}}c=a;F[a+11|0]=b+1;break a}c=H[a>>2];H[a+4>>2]=e+1;b=e}a=(b<<2)+c|0;H[a>>2]=H[d+12>>2];H[d+8>>2]=0;H[a+4>>2]=H[d+8>>2];Wa=d+16|0}function Bm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=H[a+868>>2];a:{if(!d|J[a+648>>1]<=b>>>0){break a}e=8;b=H[d+8>>2]+(b<<1)|0;b=I[b|0]<<8|I[b+1|0];c=J[a+660>>1];if(J[d+2>>1]>>0){break a}e=0;if(!c){break a}a=H[a+672>>2];c=a+(c<<2)|0;b=H[d+4>>2]+(b<<2)|0;while(1){F[a|0]=I[b|0];F[a+1|0]=I[b+1|0];F[a+2|0]=I[b+2|0];F[a+3|0]=I[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function pD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Wa-16|0;Wa=d;F[d+15|0]=b;a:{b:{c:{d:{if(I[a+11|0]>>>7|0){c=(H[a+8>>2]&2147483647)-1|0;e=H[a+4>>2];if((c|0)==(e|0)){break d}break b}e=10;c=10;b=I[a+11|0];if((b|0)!=10){break c}}Oi(a,c,1,c,c);b=e;if(I[a+11|0]>>>7|0){break b}}c=a;F[a+11|0]=b+1;break a}c=H[a>>2];H[a+4>>2]=e+1;b=e}a=b+c|0;F[a|0]=I[d+15|0];F[d+14|0]=0;F[a+1|0]=I[d+14|0];Wa=d+16|0}function Ct(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=H[b+28>>2];f=H[b+24>>2];H[65057]=0;c=ka(643,f|0,c|0,g|0)|0;g=H[65057];H[65057]=0;if((g|0)!=1){a:{if(c){break a}c=H[f+84>>2];H[d>>2]=H[c+32>>2]-H[c+44>>2];H[e>>2]=H[c+48>>2]+H[c+36>>2];if(H[a+20>>2]<0){H[d>>2]=0-H[d>>2]}h=1;if(H[a+24>>2]>=0){break a}H[e>>2]=0-H[e>>2]}Tb();return h|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function df(a,b,c){if(I[a+11664|0]){F[a+11665|0]=1;Ke(a,H[a+11736>>2],H[a+11740>>2]);if(I[a+11744|0]){Qf(a,a+8|0,a+11704|0,H[a+11712>>2],H[a+11716>>2],1)}F[a+11744|0]=0;G[a+11664>>1]=0}H[a+11720>>2]=b;H[a+11736>>2]=b;F[a+11667|0]=1;H[a+11740>>2]=c;H[a+11724>>2]=c;b=a+8|0;c=H[a+11676>>2];if(!(I[c+5|0]?0:I[a+20|0])){Rf(b,H[a+11668>>2],H[a+11672>>2],c,H[a+11680>>2],0)}mb(a+3876|0,b,3868)}function ro(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-32|0;Wa=d;c=nd(d,c);H[65057]=0;ja(1377,d+16|0,b|0,c|0);e=H[65057];H[65057]=0;a:{b:{if((e|0)!=1){H[65057]=0;ca(1378,a|0,d+16|0)|0;e=H[65057];H[65057]=0;if((e|0)==1){break b}nb(d+16|0);nb(c);H[a>>2]=256636;c=H[b+4>>2];H[a+8>>2]=H[b>>2];H[a+12>>2]=c;Wa=d+32|0;return a|0}a=$()|0;_()|0;break a}a=$()|0;_()|0;nb(d+16|0)}nb(c);ba(a|0);X()}function cz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=H[b>>2]+1|0;if(c>>>0<=65535){h=b;d=H[a+16>>2];a=I[d+6|0]<<8|I[d+7|0];c=a>>>0>>0?c:a;b=c-a|0;g=I[d+9|0]|I[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=I[a+1|0]|I[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}f=0;e=0}H[h>>2]=e}return f|0}function $x(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ya[H[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=Mb(b,95408,d);if(c){break a}H[a+468>>2]=0;H[a+460>>2]=0;H[a+464>>2]=0;H[a+452>>2]=0;H[a+456>>2]=0;G[a+472>>1]=65535;if(!J[a+372>>1]){return 0}c=Mb(b,95584,d);if(c){break a}if(J[d>>1]<2){return 0}c=Mb(b,95600,d);if(c){break a}c=0;if(J[d>>1]<5){break a}c=Mb(b,95632,d)}return c|0}function vx(a){a=a|0;var b=0,c=0,d=0;b=H[a+196>>2];d=b+10|0;if(d>>>0<=K[a+200>>2]){c=I[b|0]|I[b+1|0]<<8;G[a+32>>1]=c<<8|c>>>8;c=I[b+2|0]|I[b+3|0]<<8;H[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=I[b+4|0]|I[b+5|0]<<8;H[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=I[b+6|0]|I[b+7|0]<<8;H[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=I[b+8|0]|I[b+9|0]<<8;H[a+196>>2]=d;H[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function iB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Wa-16|0;Wa=e;d=H[a>>2];a:{if(!d){break a}f=H[a+32>>2];b=zb(f,H[a+4>>2],e+12|0);H[a>>2]=b;if(H[e+12>>2]){break a}mb(b,d,H[a+4>>2]);b=H[a+16>>2];if((b|0)>0){g=H[a>>2]-d|0;c=H[a+24>>2];h=c+(b<<2)|0;while(1){b=H[c>>2];if(b){H[c>>2]=b+g}c=c+4|0;if(h>>>0>c>>>0){continue}break}}H[a+8>>2]=H[a+4>>2];if(d){Ya[H[f+8>>2]](f,d)}}Wa=e+16|0}function UB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=H[b+4>>2];H[a+2748>>2]=b;c=H[b+28>>2];H[a+4>>2]=H[b+44>>2];H[a+8>>2]=H[b+48>>2];H[a+12>>2]=H[b+9848>>2];H[a+16>>2]=H[b+9852>>2];d=H[b+24>>2];f=d&-3;c=(F[e+12|0]&1?0:(f|0)!=1)?c:c|1;H[a+2740>>2]=I[H[H[b+36>>2]+388>>2]+20|0]?c:c|8;c=a;a=(d&-2)==2;b=a|2;e=(d|0)==4?b:a;a=(d|0)==2;b=a?b:e;b=(f|0)==1?b:b|4;H[c+2744>>2]=a?b|8:b;return 0}function HH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=Wa-16|0;Wa=g;e=H[b>>2];a:{if(!e|!c){break a}d=a?d:0;while(1){f=nh(d>>>0<4?g+12|0:a,H[e>>2],0);if((f|0)==-1){h=-1;break a}if(a){if(d>>>0<=3){if(d>>>0>>0){break a}mb(a,g+12|0,f)}d=d-f|0;a=a+f|0}else{a=0}if(!H[e>>2]){e=0;break a}h=f+h|0;e=e+4|0;c=c-1|0;if(c){continue}break}}if(a){H[b>>2]=e}Wa=g+16|0;return h|0}function ym(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;H[b>>2]=0;a:{if(!a){break a}e=H[a+8>>2];if(!e){break a}d=H[H[a>>2]>>2];f=d;while(1){g=I[f|0];if(g){while(1){F[c+d|0]=g;c=c+1|0;g=I[f+1|0];f=f+1|0;if(g){continue}break}e=H[a+8>>2]}h=h+1|0;if(h>>>0>>0){F[c+d|0]=32;e=H[a+8>>2];c=c+1|0}if(e>>>0>h>>>0){f=H[H[a>>2]+(h<<2)>>2];continue}break}if((d|0)!=24081){F[c+d|0]=0}H[b>>2]=c}return d}function je(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=G[a+2>>1];a:{if(!c){c=0;break a}a=H[a+4>>2];d=H[a+4>>2];e=H[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=H[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=H[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}H[b+8>>2]=f;H[b>>2]=e;H[b+12>>2]=c;H[b+4>>2]=d}}function jb(a,b,c,d,e,f){var g=0;if((b|c|d)<0){H[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}Ya[H[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b|0)|0)<(d|0)){break b}c:{if(!c){e=Ya[H[a+4>>2]](a,N(b,d))|0;g=!e<<6;break c}a=Ya[H[a+12>>2]](a,N(b,c),N(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(c|0)>=(d|0)|!e){break b}g=0;kb(N(b,c)+e|0,0,N(d-c|0,b))}H[f>>2]=g;return e}H[f>>2]=0;return 0}function $g(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){d=H[a+4>>2];a:{if(!d){break a}c=H[a+20>>2];if((d|0)!=1){g=d&-2;while(1){e=H[c>>2];if(e){Ya[H[b+8>>2]](b,e)}H[c>>2]=0;e=H[c+4>>2];if(e){Ya[H[b+8>>2]](b,e)}H[c+4>>2]=0;c=c+8|0;f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(d&1)){break a}d=H[c>>2];if(d){Ya[H[b+8>>2]](b,d)}H[c>>2]=0}c=H[a+20>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+20>>2]=0}}function fB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;H[a+8>>2]=c;H[a+4>>2]=b;H[a+12>>2]=0;H[a+16>>2]=d;H[a>>2]=b;b=H[7586];H[a+20>>2]=H[7585];H[a+24>>2]=b;b=H[7588];H[a+28>>2]=H[7587];H[a+32>>2]=b;b=H[7590];H[a+36>>2]=H[7589];H[a+40>>2]=b;b=H[7592];H[a+44>>2]=H[7591];H[a+48>>2]=b;b=H[7594];H[a+52>>2]=H[7593];H[a+56>>2]=b;b=H[7596];H[a+60>>2]=H[7595];H[a+64>>2]=b;H[a+68>>2]=H[7597]}function rK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:H[c>>2]=6081;H[d>>2]=6078;return 1;case 1:H[c>>2]=6081;H[d>>2]=6079;return 1;case 2:H[c>>2]=6081;H[d>>2]=6080;return 1;case 6:H[c>>2]=6081;H[d>>2]=6084;return 1;case 7:H[c>>2]=6081;H[d>>2]=6085;return 1;default:break a}}a=H[a+12>>2];H[c>>2]=b;H[d>>2]=0;return(Ya[H[a+40>>2]](a,b,c,d,H[a+72>>2])|0)!=0|0}function mJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=H[c>>2];g=H[c+4>>2];e=H[c+8>>2];a:{if((g|0)>(e+5|0)){f=d;break a}if(!d){f=tb(800);H[c+4>>2]=200;H[c>>2]=f;e=0;break a}f=tb(g<<3);e=mb(f,d,e<<2);hb(d);H[c+4>>2]=g<<1;H[c>>2]=e;e=H[c+8>>2]}d=(e<<2)+f|0;H[d>>2]=2;H[d+4>>2]=H[a>>2];H[d+8>>2]=H[a+4>>2];H[d+12>>2]=H[b>>2];a=H[b+4>>2];H[c+8>>2]=e+5;H[d+16>>2]=a;return 0}function zt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=H[b+28>>2];a=H[b+24>>2];g=0;H[65057]=0;c=ka(643,a|0,c|0,h|0)|0;h=H[65057];H[65057]=0;if((h|0)!=1){a:{if(c){break a}a=H[a+84>>2];if(H[a+72>>2]!=1869968492|G[a+110>>1]>>>0<=d>>>0){break a}a=H[a+112>>2]+(d<<3)|0;H[e>>2]=H[a>>2];H[f>>2]=H[a+4>>2];g=1}Tb();return g|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function gq(a,b,c){var d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;e=c-b|0;if(e>>>0<=4294967279){a:{if(e>>>0<=10){F[a+11|0]=e;d=a;break a}if(e>>>0>=11){f=e+16&-16;d=f-1|0;d=(d|0)==11?f:d}else{d=10}f=d+1|0;d=Rc(f);H[a>>2]=d;H[a+8>>2]=f|-2147483648;H[a+4>>2]=e}while(1){if((b|0)!=(c|0)){F[d|0]=I[b|0];d=d+1|0;b=b+1|0;continue}break}F[g+15|0]=0;F[d|0]=I[g+15|0];Wa=g+16|0;return}od();X()}function Zw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=G[a+298>>1];e=N(d,b>>16);b=N(d,b&65535);d=e<<16;f=b+d|0;a=G[a+300>>1];g=N(a,c&65535);c=N(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function Yw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=G[a+294>>1];e=N(d,b>>16);b=N(d,b&65535);d=e<<16;f=b+d|0;a=G[a+296>>1];g=N(a,c&65535);c=N(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function Wb(a,b){var c=0,d=0,e=0,f=0,g=0;c=wb(b);e=Wa-16|0;Wa=e;d=I[a+11|0]>>>7|0?(H[a+8>>2]&2147483647)-1|0:10;a:{if(d>>>0>=c>>>0){if(I[a+11|0]>>>7|0){d=H[a>>2]}else{d=a}if(c){Yb(d,b,c)}F[e+15|0]=0;F[c+d|0]=I[e+15|0];b:{if(I[a+11|0]>>>7|0){H[a+4>>2]=c;break b}F[a+11|0]=c}break a}f=a;g=c-d|0;if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}wo(f,d,g,a,0,a,c,b)}Wa=e+16|0}function Tp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=a+c|0;g=f>>31;h=b+d|0;i=h>>31;e=c;c=c>>31;c=(e^c)-c|0;e=d;d=d>>31;d=(e^d)-d|0;e=a;a=a>>31;a=(e^a)-a|0;e=b;b=b>>31;b=(e^b)-b|0;c=(N(c>>>0>>0?c:d,3)>>>3|0)+(c>>>0>d>>>0?c:d)+((N(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b))|0;a=(g^f)-g|0;b=(i^h)-i|0;a=(N(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;return(c-a|0)<(a>>>4|0)}function Jp(a,b,c){var d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;e=c-b>>2;if(e>>>0<=1073741807){a:{if(e>>>0<=1){F[a+11|0]=e;d=a;break a}if(e>>>0>=2){f=e+4&-4;d=f-1|0;d=(d|0)==2?f:d}else{d=1}f=d+1|0;d=Co(f);H[a>>2]=d;H[a+8>>2]=f|-2147483648;H[a+4>>2]=e}while(1){if((b|0)!=(c|0)){H[d>>2]=H[b>>2];d=d+4|0;b=b+4|0;continue}break}H[g+12>>2]=0;H[d>>2]=H[g+12>>2];Wa=g+16|0;return}od();X()}function aq(a,b){var c=0,d=0;b=!H[a+24>>2]|b;H[a+16>>2]=b;if(b&H[a+20>>2]){c=Wa-16|0;Wa=c;b=sa(16)|0;a=Wa-16|0;Wa=a;if(!I[260236]){F[260236]=1}d=a+8|0;H[d+4>>2]=258984;H[d>>2]=1;d=H[a+12>>2];c=c+8|0;H[c>>2]=H[a+8>>2];H[c+4>>2]=d;Wa=a+16|0;H[65057]=0;ka(954,b|0,238462,c|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){ra(b|0,244064,955);X()}a=$()|0;_()|0;ya(b|0);ba(a|0);X()}}function nd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;d=wb(b);f=Wa-16|0;Wa=f;a:{if(d>>>0<=4294967279){b:{if(d>>>0<=10){F[a+11|0]=d;c=a;break b}if(d>>>0>=11){e=d+16&-16;c=e-1|0;c=(c|0)==11?e:c}else{c=10}e=c+1|0;c=Rc(e);H[a>>2]=c;H[a+8>>2]=e|-2147483648;H[a+4>>2]=d}Jd(c,b,d);F[f+15|0]=0;F[d+c|0]=I[f+15|0];Wa=f+16|0;break a}od();X()}Wa=g+16|0;return a|0}function jp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=Wa-16|0;Wa=e;f=H[a+4>>2];d=H[c>>2]-H[a>>2]|0;a:{if(d>>>0<2147483647){d=d<<1;break a}d=-1}d=d?d:4;h=H[b>>2];i=H[a>>2];g=Eb((f|0)==1037?0:H[a>>2],d);if(g){if((f|0)!=1037){H[a>>2]=0}H[e+4>>2]=594;f=ic(e+8|0,g,e+4|0);fp(a,f);Hb(f);H[b>>2]=H[a>>2]+(h-i|0);H[c>>2]=H[a>>2]+(d&-4);Wa=e+16|0;return}Pi();X()}function bh(a,b,c){var d=0,e=0;if(c&2048){F[a|0]=43;a=a+1|0}if(c&1024){F[a|0]=35;a=a+1|0}d=c&260;if((d|0)!=260){F[a|0]=46;F[a+1|0]=42;a=a+2|0}c=c&16384;while(1){e=I[b|0];if(e){F[a|0]=e;a=a+1|0;b=b+1|0;continue}break}a:{b:{if((d|0)!=256){if((d|0)!=4){break b}b=c?70:102;break a}b=c?69:101;break a}b=c?65:97;if((d|0)==260){break a}b=c?71:103}F[a|0]=b;return(d|0)!=260}function gd(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}d=H[H[a>>2]+32>>2];if(d){d=Ya[d|0](a,b)|0}else{d=0}if(d|!c){break a}d=H[a+4>>2];c=H[d+16>>2];if((c|0)<=0){break b}f=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){e=H[c>>2];c:{if((e|0)==(a|0)){break c}d=H[H[e>>2]+32>>2];if(!d){break c}d=Ya[d|0](e,b)|0;if(d){break a}}c=c+4|0;if(f>>>0>c>>>0){continue}break}}d=0}return d}function Ld(a){var b=0,c=0,d=0;if(I[a+61|0]){a:{if(H[a+84>>2]==H[a+80>>2]){b=H[a+72>>2];if((b|0)==H[a+64>>2]){break a}}if(!qb(a,1,1)){return}c=H[a+80>>2]+N(H[a+64>>2],20)|0;d=H[c+4>>2];b=H[a+84>>2]+N(H[a+72>>2],20)|0;H[b>>2]=H[c>>2];H[b+4>>2]=d;H[b+16>>2]=H[c+16>>2];d=H[c+12>>2];H[b+8>>2]=H[c+8>>2];H[b+12>>2]=d;b=H[a+72>>2]}H[a+72>>2]=b+1}H[a+64>>2]=H[a+64>>2]+1}function Ay(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=6;a=H[a+140>>2];a:{if(!a|!b|(!H[a+72>>2]|!I[b|0])){break a}b=Kc(b,H[a+92>>2]);if(!b){break a}a=H[a+80>>2];if(!a){break a}b:{c:{d:{e:{a=a+(H[b>>2]<<4)|0;switch(H[a+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}H[c>>2]=1;break b}H[c>>2]=2;break b}H[c>>2]=3}H[c+4>>2]=H[a+12>>2];d=0}return d|0}function Gj(a,b,c){var d=0,e=0,f=0;e=b>>31;a:{if((c|0)!=1){break a}d=H[a+8>>2];if(!d){break a}f=b;d=d-H[a+4>>2]|0;b=b-d|0;e=e-((d>>31)+(d>>>0>f>>>0)|0)|0}b:{if(H[a+20>>2]!=H[a+28>>2]){Ya[H[a+36>>2]](a,0,0)|0;if(!H[a+20>>2]){break b}}H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;Ya[H[a+40>>2]](a,b,e,c)|0;if((Xa|0)<0){break b}H[a+4>>2]=0;H[a+8>>2]=0;H[a>>2]=H[a>>2]&-17}}function Sj(a){var b=0;b=a- -64|0;H[b>>2]=0;hb(H[a+68>>2]);H[a+76>>2]=0;H[a+68>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0;hb(H[a+80>>2]);H[a+88>>2]=0;H[a+80>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;hb(H[a+92>>2]);H[a+84>>2]=0;H[a+88>>2]=0;H[a+76>>2]=0;H[a+92>>2]=0;hb(H[a+80>>2]);H[a+80>>2]=0;H[a+72>>2]=0;H[a+76>>2]=0;H[b>>2]=0;hb(H[a+68>>2]);H[a+68>>2]=0;H[a+60>>2]=0;H[a+64>>2]=0}function Od(a,b,c){var d=0,e=0,f=0,g=0;d=wb(b)+wb(c)|0;e=d+1|0;a:{b:{if(d>>>0>=2147483647){a=0;if(!e){break b}break a}a=Ya[H[a+4>>2]](a,e)|0;if(!a){return 0}kb(a,0,e)}d=wb(b)+1|0;while(1){c:{e=0;if(!d){break c}d=d-1|0;e=d+b|0;if(I[e|0]!=47){continue}}break}d:{if(e){d=b;b=(e-b|0)+1|0;f=Ue(a,d,b)+b|0,g=0,F[f|0]=g;b=e+1|0;break d}F[a|0]=0}a=Iq(Iq(a,c),b)}return a}function Cx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;f=H[a+16>>2];d=J[a+8>>1];c=d>>>1|0;b=jb(b,1,0,c+1|0,0,e+12|0);Wa=e+16|0;if(H[e+12>>2]){b=g}else{a=0;a:{if(d>>>0<2){break a}g=c>>>0>1?c:1;while(1){c=I[f+1|0];d=c|I[f|0]<<8;if(!d){break a}F[a+b|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}a=g}F[a+b|0]=0}return b|0}function cG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=Wa-16|0;Wa=e;f=H[a+4>>2];d=H[c>>2]-H[a>>2]|0;a:{if(d>>>0<2147483647){d=d<<1;break a}d=-1}d=d?d:1;h=H[b>>2];i=H[a>>2];g=Eb((f|0)==1037?0:H[a>>2],d);if(g){if((f|0)!=1037){H[a>>2]=0}H[e+4>>2]=594;f=ic(e+8|0,g,e+4|0);fp(a,f);Hb(f);H[b>>2]=H[a>>2]+(h-i|0);H[c>>2]=d+H[a>>2];Wa=e+16|0;return}Pi();X()}function uA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=H[b>>2];while(1){d=d+1|0;if(d>>>0>255){H[b>>2]=0;return 0}f=Ya[H[a+20>>2]](J[H[a+16>>2]+(d<<1)>>1])|0;g=H[a+24>>2];a:{if(g){h=H[a+28>>2];c=0;while(1){e=H[(c<<2)+h>>2];if(!(!e|I[e|0]!=I[f|0])){if(!rb(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}H[b>>2]=d;return c|0}function Wy(a,b){a=a|0;b=b|0;var c=0,d=0;a=H[a+16>>2];c=I[a+12|0]|I[a+13|0]<<8|(I[a+14|0]<<16|I[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(c>>>0>b>>>0){break a}b=b-c|0;c=I[a+16|0]|I[a+17|0]<<8|(I[a+18|0]<<16|I[a+19|0]<<24);if(b>>>0>=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0){break a}a=(a+20|0)+(b<<1)|0;d=I[a|0]<<8|I[a+1|0]}return d|0}function TC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Yc(a,H[b+8>>2],e)){if(!(H[b+28>>2]==1|H[b+4>>2]!=(c|0))){H[b+28>>2]=d}return}a:{if(!Yc(a,H[b>>2],e)){break a}if(!(H[b+16>>2]!=(c|0)&H[b+20>>2]!=(c|0))){if((d|0)!=1){break a}H[b+32>>2]=1;return}H[b+20>>2]=c;H[b+32>>2]=d;H[b+40>>2]=H[b+40>>2]+1;if(!(H[b+36>>2]!=1|H[b+24>>2]!=2)){F[b+54|0]=1}H[b+44>>2]=4}}function rL(a,b){a=a|0;b=b|0;var c=0,d=0;c=I[a+2|0]|I[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];c=Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((c|0)!=-1){d=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}a=Pr(a,b)}else{a=0}return a|0}function qL(a,b){a=a|0;b=b|0;var c=0,d=0;c=I[a+2|0]|I[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];c=Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2]);if((c|0)!=-1){d=I[a+4|0]|I[a+5|0]<<8;c=c>>>0<((d<<8|d>>>8)&65535)>>>0?((c<<1)+a|0)+6|0:163632;c=I[c|0]|I[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=163632}a=Or(a,b)}else{a=0}return a|0}function Lq(a,b,c){var d=0,e=0,f=0;a:{d=H[c+16>>2];if(!d){if(Hj(c)){break a}d=H[c+16>>2]}f=H[c+20>>2];if(d-f>>>0>>0){Ya[H[c+36>>2]](c,a,b)|0;return}b:{if(H[c+80>>2]<0){break b}d=b;while(1){e=d;if(!e){break b}d=e-1|0;if(I[d+a|0]!=10){continue}break}if(Ya[H[c+36>>2]](c,a,e)>>>0>>0){break a}a=a+e|0;b=b-e|0;f=H[c+20>>2]}mb(f,a,b);H[c+20>>2]=H[c+20>>2]+b}}function FC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(!(H[a+8>>2]&512)|(!a|!b)){break a}b:{c:{d=H[a+128>>2];c=H[d+40>>2];switch(c+2|0){case 0:break a;case 2:break c;default:break b}}c=H[a+96>>2];e=H[H[c>>2]+32>>2];d:{if(!e){c=0;break d}c=Ya[e|0](c,9305)|0;d=H[a+128>>2]}H[d+40>>2]=c?c:-2}if(!c){break a}c=H[c+4>>2];if(!c){break a}f=Ya[c|0](a,b)|0}return f|0}function ys(a){a=a|0;var b=0,c=0;b=H[a+144>>2];a:{if(b){break a}while(1){c=H[a+48>>2];if(!c){b=163632;break a}b=Ab(1,12);b:{if(!b){b=163632;break b}ye(b,c)}c=H[a+144>>2];H[a+144>>2]=c?c:b;if(!c){break a}_c(b);b=H[a+144>>2];if(!b){continue}break}}a=H[b>>2];a=a?a:163632;a=K[a+16>>2]<10?163632:H[a+12>>2];return(I[a|0]|I[a+1|0]<<8|(I[a+2|0]|I[a+3|0]<<8))!=0|0}function tc(a,b){var c=0,d=0;c=H[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(I[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((b|0)!=(c|0)){d=I[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}H[a>>2]=c}function cC(a){a=a|0;var b=0,c=0,d=0,e=0;b=H[a+12>>2];if(b){e=H[a+28>>2];H[b+104>>2]=0;H[b+48>>2]=0;H[b+36>>2]=0;H[b+40>>2]=0;F[b+44|0]=0;H[b+64>>2]=9;H[b+12>>2]=0;H[b+16>>2]=0;d=H[b+180>>2];c=H[b+100>>2];if((c|0)!=(b+112|0)){if(c){Ya[H[d+8>>2]](d,c)}H[b+100>>2]=0}c=H[b+88>>2];if(c){Ya[H[d+8>>2]](d,c)}b=kb(b,0,184);if(b){Ya[H[e+8>>2]](e,b)}H[a+12>>2]=0}}function $q(a){a=a|0;H[a+32>>2]=0;hb(H[a+36>>2]);H[a+44>>2]=0;H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;hb(H[a+48>>2]);H[a+68>>2]=0;H[a+48>>2]=0;H[a+40>>2]=0;H[a+44>>2]=0;hb(H[a+72>>2]);H[a+72>>2]=0;H[a+64>>2]=0;H[a+68>>2]=0;H[a+56>>2]=0;hb(H[a+60>>2]);H[a+80>>2]=0;H[a+60>>2]=0;H[a+52>>2]=0;H[a+56>>2]=0;hb(H[a+84>>2]);H[a+84>>2]=0;H[a+76>>2]=0;H[a+80>>2]=0}function Qc(a,b){var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[b>>2]=0;a:{b:{c:{d:{c=H[a+8>>2];if(K[a+4>>2]<=c+3>>>0){break d}e=H[a+20>>2];e:{if(e){if((Ya[e|0](a,c,d+12|0,4)|0)!=4){break d}c=H[a+8>>2];b=d+12|0;break e}b=H[a>>2];if(!b){break c}b=b+c|0}f=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);break b}H[b>>2]=85;break a}f=0}H[a+8>>2]=c+4}Wa=d+16|0;return f}function It(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;if(!c){Tb();return 0}a=0;a:{b:{while(1){h=H[d>>2];i=H[b+24>>2];H[65057]=0;h=ca(637,i|0,h|0)|0;i=H[65057];H[65057]=0;if((i|0)==1){break a}H[f>>2]=h;if(!h){break b}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}Tb();return a|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function CC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!rb(b,10266)){H[c>>2]=H[a+36>>2];H[c+4>>2]=H[a+40>>2];H[c+8>>2]=H[a+44>>2];H[c+12>>2]=H[a+48>>2];H[c+16>>2]=H[a+52>>2];H[c+20>>2]=H[a+56>>2];H[c+24>>2]=H[a+60>>2];H[c+28>>2]=H[a- -64>>2];break b}if(!rb(b,10438)){H[c>>2]=H[a+28>>2];break b}d=12;if(rb(b,10703)){break a}F[c|0]=I[a+32|0]}d=0}return d|0}function Qg(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=H[a+96>>2];if(!c){return}d=H[a+128>>2];b=H[d+64>>2];H[d+64>>2]=b-1;if((b|0)<=1){b=H[c+16>>2];if(!b){return}e=c+16|0;d=H[c+8>>2];a:{while(1){if(H[b+8>>2]==(a|0)){break a}b=H[b+4>>2];if(b){continue}break}return}f=H[b>>2];g=f?f+4|0:e;e=H[b+4>>2];H[g>>2]=e;H[(e?e:c+20|0)>>2]=f;Ya[H[d+8>>2]](d,b);hf(d,a,c)}}function iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=H[a>>2];d=H[a+44>>2];if(d){e=H[d>>2];if(!(!e|!H[e+96>>2])){H[e+88>>2]=d}}d=po(H[c+504>>2],b);if(!d){b=H[H[c+504>>2]+88>>2];c=H[b+16>>2];H[a+12>>2]=H[b+12>>2];H[a+16>>2]=c;H[a+36>>2]=H[b+36>>2];c=H[b+32>>2];H[a+28>>2]=H[b+28>>2];H[a+32>>2]=c;c=H[b+24>>2];H[a+20>>2]=H[b+20>>2];H[a+24>>2]=c}return d|0}function NI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=H[a+84>>2];f=H[e+4>>2];g=H[a+28>>2];d=H[a+20>>2]-g|0;d=d>>>0>f>>>0?f:d;if(d){mb(H[e>>2],g,d);H[e>>2]=d+H[e>>2];f=H[e+4>>2]-d|0;H[e+4>>2]=f}d=H[e>>2];f=c>>>0>f>>>0?f:c;if(f){mb(d,b,f);d=f+H[e>>2]|0;H[e>>2]=d;H[e+4>>2]=H[e+4>>2]-f}F[d|0]=0;b=H[a+44>>2];H[a+28>>2]=b;H[a+20>>2]=b;return c|0}function yb(a,b){var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[b>>2]=0;a:{b:{c:{d:{c=H[a+8>>2];if(K[a+4>>2]<=c+1>>>0){break d}e=H[a+20>>2];e:{if(e){if((Ya[e|0](a,c,d+14|0,2)|0)!=2){break d}c=H[a+8>>2];b=d+14|0;break e}b=H[a>>2];if(!b){break c}b=b+c|0}b=I[b|0]|I[b+1|0]<<8;f=b<<8|b>>>8;break b}H[b>>2]=85;break a}f=0}H[a+8>>2]=c+2}Wa=d+16|0;return f&65535}function mC(a){a=a|0;var b=0,c=0;a:{b=H[a>>2];if(!b){break a}a=a+20|0;if(!a){break a}b=H[b>>2];if(!b){break a}b:{if(!(F[a+16|0]&1)){break b}c=H[a+4>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+4>>2]=0;c=H[a+8>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+8>>2]=0;c=H[a+12>>2];if(!c){break b}Ya[H[b+8>>2]](b,c)}H[a>>2]=0;H[a+4>>2]=0;H[a+16>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0}}function gf(a,b){var c=0,d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;d=Op(b);f=Wa-16|0;Wa=f;a:{if(d>>>0<=1073741807){b:{if(d>>>0<=1){F[a+11|0]=d;c=a;break b}if(d>>>0>=2){e=d+4&-4;c=e-1|0;c=(c|0)==2?e:c}else{c=1}e=c+1|0;c=Co(e);H[a>>2]=c;H[a+8>>2]=e|-2147483648;H[a+4>>2]=d}ue(c,b,d);H[f+12>>2]=0;H[(d<<2)+c>>2]=H[f+12>>2];Wa=f+16|0;break a}od();X()}Wa=g+16|0}function UA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=H[a+12>>2];a:{if((G[d+22>>1]+G[d+58>>1]|0)+1>>>0>K[d+4>>2]){d=vc(d,1,0);if(d){break a}}d=H[a+20>>2];if(I[a+68|0]){a=H[d+8>>2];e=G[d+2>>1];f=H[d+4>>2]+(e<<3)|0;H[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;H[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;F[a+e|0]=1}G[d+2>>1]=J[d+2>>1]+1;d=0}return d|0}function Ji(a,b,c,d){F[a+53|0]=1;a:{if(H[a+4>>2]!=(c|0)){break a}F[a+52|0]=1;c=H[a+16>>2];b:{if(!c){H[a+36>>2]=1;H[a+24>>2]=d;H[a+16>>2]=b;if((d|0)!=1){break a}if(H[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=H[a+24>>2];if((c|0)==2){H[a+24>>2]=d;c=d}if(H[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}H[a+36>>2]=H[a+36>>2]+1}F[a+54|0]=1}}function XJ(a){a=a|0;var b=0,c=0,d=0;c=H[a+16>>2];if(K[a+20>>2]>=c+16>>>0){d=H[a+32>>2];b=yf(a,H[c>>2],0);H[d+84>>2]=((b>>31)+b|0)+32768&-65536;b=yf(a,H[c+4>>2],0);H[d+88>>2]=((b>>31)+b|0)+32768&-65536;b=yf(a,H[c+8>>2],0);H[d+92>>2]=((b>>31)+b|0)+32768&-65536;a=yf(a,H[c+12>>2],0);H[d+96>>2]=((a>>31)+a|0)+32768&-65536;a=0}else{a=161}return a|0}function Ec(a){var b=0,c=0;a:{if(!H[a+4>>2]){break a}b=H[a+16>>2];b:{if(!b){H[a+20>>2]=2;break b}c:{switch(H[a+20>>2]-2|0){case 1:H[a+20>>2]=1;break;case 0:break b;default:break c}}c=tb(b);if(!c){break a}b=mb(c,H[a+12>>2],b);c=H[a+28>>2];if(c){Ya[c|0](H[a+24>>2])}H[a+28>>2]=594;H[a+24>>2]=b;H[a+12>>2]=b;H[a+20>>2]=2}return H[a+12>>2]}return 0}function Fj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Wa-240|0;Wa=h;H[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-H[(j<<2)+e>>2]|0;if((Ya[c|0](a,g)|0)>=0){if((Ya[c|0](a,f)|0)>=0){break a}}l=g;g=(Ya[c|0](g,f)|0)>=0;f=g?l:f;H[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}Jq(b,h,i);Wa=h+240|0}function Ap(a,b,c){var d=0,e=0,f=0,g=0;g=Wa-16|0;Wa=g;f=Wa-16|0;Wa=f;a:{if(b>>>0<=4294967279){b:{if(b>>>0<=10){F[a+11|0]=b;d=a;break b}if(b>>>0>=11){e=b+16&-16;d=e-1|0;d=(d|0)==11?e:d}else{d=10}e=d+1|0;d=Rc(e);H[a>>2]=d;H[a+8>>2]=e|-2147483648;H[a+4>>2]=b}vo(d,b,c);F[f+15|0]=0;F[b+d|0]=I[f+15|0];Wa=f+16|0;break a}od();X()}Wa=g+16|0;return a}function AJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-48|0;Wa=e;H[e+24>>2]=c;H[e+20>>2]=b;H[e+16>>2]=17;b=tb(32);H[b+24>>2]=1768386675;H[b+28>>2]=0;H[b+16>>2]=1768386662;H[b+20>>2]=0;H[b+8>>2]=1768386675;H[b+12>>2]=0;H[b>>2]=1768386662;H[b+4>>2]=0;H[e+40>>2]=4;H[e+44>>2]=b;a=Lo(a,e+16|0,d,e+12|0);hb(b);Wa=e+48|0;return(a?0:H[e+12>>2])|0}function xr(a,b,c,d){var e=0,f=0,g=0;a:{e=N(b,20)+a|0;f=J[e+16>>1];if(!f){break a}g=I[e+18|0];if(!(g&2)){break a}G[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}xr(a,e,c,d);b:{if((c&-2)==4){H[(N(e,20)+a|0)+12>>2]=0-H[(N(b,20)+a|0)+12>>2];break b}H[(N(e,20)+a|0)+8>>2]=0-H[(N(b,20)+a|0)+8>>2]}a=N(e,20)+a|0;G[a+16>>1]=0-f;F[a+18|0]=g}}function cA(a){a=a|0;var b=0;b=H[a+8>>2];kb(a+16|0,0,84);H[a+136>>2]=39;H[a+132>>2]=40;H[a+128>>2]=41;H[a+124>>2]=42;H[a+120>>2]=43;H[a+116>>2]=44;H[a+108>>2]=45;H[a+104>>2]=46;H[a+100>>2]=47;H[a+12>>2]=b;H[a+164>>2]=39;H[a+160>>2]=48;H[a+156>>2]=49;H[a+152>>2]=50;H[a+148>>2]=43;H[a+144>>2]=51;b=a+12|0;H[a+112>>2]=b;H[a+140>>2]=b;return 0}function Jq(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Wa-256|0;Wa=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;H[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;mb(d,H[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;mb(H[g>>2],H[(d<<2)+b>>2],f);H[g>>2]=H[g>>2]+f;if((c|0)!=(d|0)){continue}break}if(a>>>0<257){break a}a=a-f|0;d=H[h>>2];continue}}Wa=e+256|0}function Nd(a){var b=0,c=0,d=0,e=0;a:{if(H[a+12>>2]>0){break a}c=3;b=H[a>>2];d=H[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;H[a>>2]=e;e:{switch(I[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if(d>>>0>b>>>0){continue}break b}break}c=2;break b}c=1}H[a+12>>2]=c}}function Jz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=H[a+20>>2];a=(c+(H[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=H[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return H[f+4>>2]}function yK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=H[a+12>>2];a:{if(Ya[H[e+24>>2]](e,b,H[e+56>>2])>>>0<=31){e=H[a+12>>2];f=0;if(1<>2]](e,b,H[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){H[d>>2]=2527;return 1}a=H[a+12>>2];H[d>>2]=0;f=0;if(!b|!c){break a}f=(Ya[H[a+36>>2]](a,b,c,d,H[a+68>>2])|0)!=0}return f|0}function sd(a,b){a=a|0;b=b|0;var c=0,d=0;if(!H[a+4>>2]){H[a+4>>2]=0;hb(H[a+8>>2]);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;return}b=H[a+4>>2];if(b){while(1){d=b-1|0;c=H[a+8>>2]+N(d,12)|0;b=H[c+8>>2];c=H[c+4>>2];H[a+4>>2]=d;Tb();if(b){Ya[b|0](c)}b=H[a+4>>2];if(b){continue}break}}H[a+4>>2]=0;hb(H[a+8>>2]);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0;Tb()}function _c(a){var b=0,c=0;a:{if(!(!a|(a|0)==163632)){if(H[a+4>>2]){while(1){b=H[a+8>>2]+N(c,24)|0;H[b+16>>2]=0;hb(H[b+20>>2]);H[b+20>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}hb(H[a+8>>2]);b=H[a>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)==1){break a}hb(a)}return}ea(0)|0;_()|0;Gb();X()}function Is(a){var b=0,c=0,d=0;b=H[a>>2];a:{if(b){break a}d=a-56|0;while(1){b=H[d>>2];if(!b){return 163632}b=_b(b,1819239265);if(!(!b|!H[b>>2])){H[b>>2]=H[b>>2]+1}c=H[b+12>>2];lb(b);if(H[b+4>>2]?c:0){H[b+4>>2]=0}c=H[a>>2];b=b?b:163632;H[a>>2]=c?c:b;if(!c){break a}if(!(!b|(b|0)==163632)){lb(b)}b=H[a>>2];if(!b){continue}break}}return b}function $C(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Wa+-64|0;Wa=e;d=1;a:{if(Yc(a,b,0)){break a}d=0;if(!b){break a}b=oo(b,256936);d=0;if(!b){break a}d=e+8|0;kb(d|4,0,52);H[e+56>>2]=1;H[e+20>>2]=-1;H[e+16>>2]=a;H[e+8>>2]=b;Ya[H[H[b>>2]+28>>2]](b,d,H[c>>2],1);a=H[e+32>>2];if((a|0)==1){H[c>>2]=H[e+24>>2]}d=(a|0)==1}Wa=e- -64|0;return d|0}function og(a){var b=0;H[a+236>>2]=0;hb(H[a+240>>2]);H[a+240>>2]=0;H[a+232>>2]=0;H[a+236>>2]=0;H[65057]=0;fa(657,a|0);b=H[65057];H[65057]=0;if((b|0)!=1){H[a+236>>2]=0;hb(H[a+240>>2]);H[a+240>>2]=0;H[a+232>>2]=0;H[a+236>>2]=0;H[a+224>>2]=0;hb(H[a+228>>2]);H[a+228>>2]=0;H[a+220>>2]=0;H[a+224>>2]=0;it(a);return}ea(0)|0;_()|0;Gb();X()}function Sl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;H[a+2748>>2]=b;d=H[b+28>>2];H[a+4>>2]=H[b+44>>2];H[a+8>>2]=H[b+48>>2];H[a+12>>2]=H[b+7720>>2];H[a+16>>2]=H[b+7724>>2];c=H[b+24>>2];H[a+2740>>2]=(I[H[H[b+36>>2]+388>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c&-3)==1?b:b|4;H[d+2744>>2]=a?b|8:b;return 0}function Rl(a,b){var c=0,d=0,e=0;c=Wa-48|0;Wa=c;H[a>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;F[c+24|0]=0;H[c+28>>2]=0;H[c+32>>2]=0;H[c>>2]=0;H[c+4>>2]=0;d=ac(b);F[c+40|0]=1;H[c+36>>2]=d;d=Hl(c,_b(b,1195656518));H[a>>2]=d;e=d?d:163632;if(Fs(K[e+16>>2]<12?163632:H[e+12>>2],d,b)){lb(H[a>>2]);H[a>>2]=163632}Wa=c+48|0}function Nf(a){var b=0,c=0,d=0;a:{if(!a){break a}b=I[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=F[b|0];b:{if(!(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=I[a+24128|0]+N(c,10)|0;a=F[b+1|0];b=b+1|0;if(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function Tf(a){var b=0,c=0,d=0,e=0,f=0;Nd(a);a:{if(H[a+12>>2]>0){break a}b=H[a>>2];d=b-1|0;e=H[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;H[a>>2]=b;d:{switch(I[f|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}c=2;break b}c=1}H[a+12>>2]=c}return d}function rm(a){var b=0,c=0,d=0;a:{if(!a){break a}b=I[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=F[b|0];b:{if(!(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=I[a+24128|0]+N(c,10)|0;a=F[b+1|0];b=b+1|0;if(I[((a&248)>>>3|0)+24096|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function Yh(a){a=a|0;var b=0;b=Wa-16|0;H[b+12>>2]=a;H[a+60>>2]=2333;H[a+64>>2]=0;H[a+52>>2]=1667;H[a+56>>2]=275;H[a+44>>2]=1e3;H[a+48>>2]=275;H[a+36>>2]=500;H[a+40>>2]=400;F[a+32|0]=1;H[a+28>>2]=1;b=H[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;H[a+68>>2]=b;a:{if((b|0)<0){b=0-b|0}else{if(b){break a}b=123456789}H[a+68>>2]=b}return 0}function Xn(a,b){var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[b>>2]=0;a:{b:{c:{d:{c=H[a+8>>2];if(K[a+4>>2]<=c+1>>>0){break d}e=H[a+20>>2];e:{if(e){if((Ya[e|0](a,c,d+14|0,2)|0)!=2){break d}c=H[a+8>>2];b=d+14|0;break e}b=H[a>>2];if(!b){break c}b=b+c|0}f=I[b|0]|I[b+1|0]<<8;break b}H[b>>2]=85;break a}f=0}H[a+8>>2]=c+2}Wa=d+16|0;return f}function Iv(a){a=a|0;var b=0,c=0,d=0,e=0;d=Wa-16|0;Wa=d;c=H[a>>2];b=H[c+320>>2];c=oc(H[H[c+96>>2]+4>>2],10070);a:{if(!c|!b){break a}b=H[b>>2];if(!b){break a}c=Ya[b|0](c)|0;if(!c){break a}b=H[a>>2];e=Ya[H[c>>2]](H[b+100>>2],H[b+304>>2]+N(H[b+4>>2],252)|0,d+12|0)|0;if(e){break a}H[H[a+40>>2]>>2]=H[d+12>>2]}Wa=d+16|0;return e|0}function pJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[b>>2];f=H[b+4>>2];d=H[b+8>>2];a:{if((f|0)>(d+3|0)){e=c;break a}if(!c){e=tb(800);H[b+4>>2]=200;H[b>>2]=e;d=0;break a}e=tb(f<<3);d=mb(e,c,d<<2);hb(c);H[b+4>>2]=f<<1;H[b>>2]=d;d=H[b+8>>2]}c=(d<<2)+e|0;H[c>>2]=0;H[c+4>>2]=H[a>>2];a=H[a+4>>2];H[b+8>>2]=d+3;H[c+8>>2]=a;return 0}function nJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[b>>2];f=H[b+4>>2];d=H[b+8>>2];a:{if((f|0)>(d+3|0)){e=c;break a}if(!c){e=tb(800);H[b+4>>2]=200;H[b>>2]=e;d=0;break a}e=tb(f<<3);d=mb(e,c,d<<2);hb(c);H[b+4>>2]=f<<1;H[b>>2]=d;d=H[b+8>>2]}c=(d<<2)+e|0;H[c>>2]=1;H[c+4>>2]=H[a>>2];a=H[a+4>>2];H[b+8>>2]=d+3;H[c+8>>2]=a;return 0}function lL(a,b){a=a|0;b=b|0;var c=0,d=0;c=I[a+6|0]|I[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=163632}c=H[b+100>>2];if((Kb(d,H[H[c+80>>2]+N(H[c+64>>2],20)>>2])|0)!=-1){d=b;b=I[a+2|0]|I[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=I[a+4|0]|I[a+5|0]<<8;a=fg(d,b,a+8|0,(c<<8|c>>>8)&65535,((b<<1)+a|0)+6|0,732,a)}else{a=0}return a|0}function bm(a,b,c){var d=0,e=0,f=0;e=Wa-16|0;Wa=e;d=ob(a,0);a:{if(d){break a}f=yb(a,e+12|0);d=H[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Qc(a,e+12|0);d=H[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=ob(a,0);if(d){break a}}d=Nb(a,c);if(d){break a}b=Bc(H[a+32>>2],b,c);Db(a);d=((b|0)!=0)<<1}Wa=e+16|0;return d}function ez(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>K[b+160>>2]){Cb(b,8)}d=I[a+3|0]|I[a+2|0]<<8;e=K[b+160>>2]>=d+a>>>0;a=I[a+9|0]|I[a+8|0]<<8;if(!(e&(a<<1)+10>>>0<=d>>>0)){Cb(b,8)}if(!(!a|H[b+164>>2]<=0)){while(1){if(K[b+172>>2]<=(I[c+1|0]|I[c|0]<<8)>>>0){Cb(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function GB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=H[a+280>>2];a:{if((e|0)<=0){break a}f=H[a+284>>2];a=0;while(1){b:{h=a;g=rb(H[N(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=N(h,12)+f|0;c:{if(I[a+4|0]){H[c>>2]=1;break c}H[c>>2]=2}H[c+4>>2]=H[a+8>>2];d=0}return d|0}function lv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b=H[a+160>>2];if(!b){break a}c=H[b+4>>2];a=H[c+84>>2];if(!a){break a}d=H[H[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=H[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}H[(f?f+8|0:c+84|0)>>2]=H[b+8>>2];a=H[b+20>>2];if(a){Ya[a|0](b)}Vg(b);Ya[H[d+8>>2]](d,b)}}function dw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[a+532>>2];if(!c){return 6}e=H[c+4>>2];H[b>>2]=e;H[b+4>>2]=H[c>>2];if(e){a=0;while(1){d=N(a,12);f=d+b|0;H[f+8>>2]=H[((a<<2)+c|0)+8>>2];d=c+d|0;g=H[d+92>>2];H[f+12>>2]=H[g>>2];H[f+16>>2]=H[((I[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function vf(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=b+1|0;c=F[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=F[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=F[a|0];b=a}if(c-48>>>0<10){while(1){d=(N(d,10)-F[b|0]|0)+48|0;a=F[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return e?d:0-d|0}function Zh(a,b){var c=0,d=0;c=ob(b,H[a>>2]);a:{if(c){break a}c=Mb(b,103616,a+4|0);if(c){break a}c=2;d=J[a+4>>1];if((d|256)!=768|K[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){H[a+140>>2]=0;H[a+132>>2]=0;H[a+136>>2]=0}if(F[a+72|0]&1){break a}c=ob(b,H[a>>2]);if(c){break a}c=Jc(b,H[a+8>>2],a+160|0)}return c}function zm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Wa-16|0;Wa=h;H[h+12>>2]=0;g=10;j=H[c>>2];k=j+e|0;a:{if(k>>>0>31457280){break a}i=H[a>>2];g=H[b>>2];if(g>>>0>>0){i=jb(f,1,g,k,i,h+12|0);g=H[h+12>>2];if(g){break a}H[b>>2]=H[c>>2]+e;j=H[c>>2]}mb(i+j|0,d,e);H[c>>2]=H[c>>2]+e;H[a>>2]=i;g=H[h+12>>2]}Wa=h+16|0;return g}function ji(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=H[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=H[a+12>>2];G[e>>1]=I[d|0];G[e+2>>1]=I[d+1|0];G[e+4>>1]=F[d+2|0];G[e+6>>1]=F[d+3|0];G[e+8>>1]=I[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}G[e+10>>1]=F[d+5|0];G[e+12>>1]=F[d+6|0];G[e+14>>1]=I[d+7|0];F[a+16|0]=1;H[b>>2]=c;f=0}return f}function dB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Wa-16|0;Wa=b;tc(a,H[a+8>>2]);e=H[a+8>>2];d=H[a>>2];H[b+12>>2]=d;f=Dd(b+12|0,e,10);c=H[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(I[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;H[b+12>>2]=d;f=Dd(b+12|0,e,f);c=H[b+12>>2];if((d|0)==(c|0)){break a}}H[a>>2]=c;g=f}Wa=b+16|0;return g|0}function bE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=rg(b,c);a:{if(d){break a}a=H[b+24>>2];if((a|0)<=0){break a}b=H[b+28>>2];f=b+N(a,40)|0;a=H[c+4>>2];c=H[c+8>>2];while(1){H[a>>2]=H[b+16>>2];H[a+4>>2]=H[b+20>>2];e=J[b>>1];F[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function Kc(a,b){var c=0,d=0,e=0;c=Wa-16|0;Wa=c;H[c+8>>2]=a;e=H[b+20>>2];a=e+((Ya[H[b+12>>2]](c+8|0)>>>0)%K[b+4>>2]<<2)|0;d=H[a>>2];a:{if(!d){break a}while(1){if(Ya[H[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((H[b+4>>2]<<2)+e|0)-4|0}d=H[a>>2];if(d){continue}break}}Wa=c+16|0;a=H[a>>2];return a?a+4|0:0}function pK(a){a=a|0;a=a+24|0;Pb(a,0,761);xb(a,1819239276,1,1);xb(a,1667460464,1,1);Pb(a,0,762);xb(a,1919969382,9,1);Pb(a,0,0);xb(a,1886545254,9,1);Pb(a,0,0);xb(a,1651275622,9,1);Pb(a,0,0);xb(a,1886614630,9,1);Pb(a,0,0);Pb(a,0,763);xb(a,1886545267,9,1);xb(a,1633842803,9,1);xb(a,1651275635,9,1);xb(a,1886614643,9,1)}function _j(a){var b=0,c=0,d=0;b=Wa-48|0;Wa=b;d=Ab(1,4);a:{if(!d){break a}H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;H[b+20>>2]=0;F[b+24|0]=0;H[b+28>>2]=0;H[b+32>>2]=0;H[b>>2]=0;H[b+4>>2]=0;c=ac(a);F[b+40|0]=1;H[b+36>>2]=c;c=Hl(b,_b(a,1195656518));H[d>>2]=c;if(!Fs(b,c,a)){break a}lb(c);H[d>>2]=163632}Wa=b+48|0;return d}function du(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Wa-16|0;Wa=b;H[b+12>>2]=c;e=H[a+80>>2];f=H[e+168>>2];a:{if((f|0)!=H[64640]){a=Ya[f|0](a,H[a+84>>2],1,b+12|0,0,d,0,H[e+24>>2])|0;break a}a=H[a+12>>2];H[d>>2]=0;e=a;f=H[a+84>>2];a=H[a+80>>2];a=Ya[H[a+164>>2]](e,f,c,d,H[a+20>>2])|0}Wa=b+16|0;return a|0}function $n(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=J[a+2>>1];if((d|0)!=J[b+2>>1]){break a}c=J[a>>1];if((a|0)==(b|0)|(c|0)!=J[b>>1]){break a}if(d){mb(H[b+4>>2],H[a+4>>2],d<<16>>16<<3);mb(H[b+8>>2],H[a+8>>2],G[a+2>>1]);c=J[a>>1]}if(c){mb(H[b+12>>2],H[a+12>>2],c<<16>>16<<1)}H[b+16>>2]=H[a+16>>2]&-2|H[b+16>>2]&1}}function oG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-32|0;Wa=g;h=H[62247];H[g+24>>2]=H[62246];H[g+28>>2]=h;h=H[62245];H[g+16>>2]=H[62244];H[g+20>>2]=h;h=H[62243];H[g+8>>2]=H[62242];H[g+12>>2]=h;h=H[62241];H[g>>2]=H[62240];H[g+4>>2]=h;h=a;a=g+32|0;b=Pd(h,b,c,d,e,f,g,a);Wa=a;return b|0}function Dx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;f=H[a+16>>2];c=b;b=J[a+8>>1];c=jb(c,1,0,b+1|0,0,d+12|0);Wa=d+16|0;if(H[d+12>>2]){a=e}else{a=0;a:{if(!b){break a}while(1){e=F[f|0];if(!e){break a}F[a+c|0]=(e|0)<32?63:e;f=f+1|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}F[a+c|0]=0;a=c}return a|0}function xw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=H[a+16>>2];if(d){g=H[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=H[(c<<3)+g>>2];if((e|0)==(b|0)){return J[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function wK(a){a=a|0;a=a+24|0;Pb(a,0,758);Pb(a,0,759);xb(a,1819239276,1,1);xb(a,1667460464,1,1);xb(a,1886545254,12,1);xb(a,1651275622,12,1);xb(a,1633842790,12,1);xb(a,1886614630,12,1);xb(a,1667654002,12,1);Pb(a,0,760);xb(a,1886545267,13,1);xb(a,1633842803,13,1);xb(a,1651275635,13,1);xb(a,1886614643,13,1)}function tE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Wa-16|0;Wa=f;H[e>>2]=c;a=Ti(f+12|0,0,b,H[a+8>>2]);c=2;a:{if(a+1>>>0<2){break a}b=a-1|0;c=1;if(b>>>0>d-H[e>>2]>>>0){break a}c=f+12|0;while(1){if(b){a=I[c|0];d=H[e>>2];H[e>>2]=d+1;F[d|0]=a;b=b-1|0;c=c+1|0;continue}break}c=0}Wa=f+16|0;return c|0}function rw(a){a=a|0;var b=0,c=0,d=0,e=0;d=Wa-16|0;Wa=d;b=H[a>>2];c=H[b+552>>2];b=oc(H[H[b+96>>2]+4>>2],10580);a:{if(!b|!c){break a}c=H[c>>2];if(!c){break a}c=Ya[c|0](b)|0;if(!c){break a}b=H[a>>2];e=Ya[H[c>>2]](H[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}H[H[a+40>>2]>>2]=H[d+12>>2]}Wa=d+16|0;return e|0}function ne(a,b,c,d){var e=0;a:{if(!(d&2048)){break a}e=d&74;if(!c|((e|0)==8|(e|0)==64)){break a}F[a|0]=43;a=a+1|0}if(d&512){F[a|0]=35;a=a+1|0}while(1){e=I[b|0];if(e){F[a|0]=e;a=a+1|0;b=b+1|0;continue}break}e=d&74;b=111;b:{if((e|0)==64){break b}b=d&16384?88:120;if((e|0)==8){break b}b=c?100:117}F[a|0]=b}function Bj(a){var b=0;b=1;a:{if((a|0)>=1024){b=8.98846567431158e307;if(a>>>0<2047){a=a-1023|0;break a}b=Z;a=((a|0)<3069?a:3069)-2046|0;break a}if((a|0)>-1023){break a}b=2.004168360008973e-292;if(a>>>0>4294965304){a=a+969|0;break a}b=0;a=((a|0)>-2960?a:-2960)+1938|0}x(0,0);x(1,a+1023<<20);return b*+z()}function oh(a,b){var c=0,d=0,e=0,f=0;e=Wa-16|0;Wa=e;H[e+12>>2]=b;c=Wa-160|0;Wa=c;f=c+8|0;mb(f,242656,144);H[c+52>>2]=a;H[c+28>>2]=a;d=-2-a|0;d=d>>>0>2147483647?2147483647:d;H[c+56>>2]=d;a=a+d|0;H[c+36>>2]=a;H[c+24>>2]=a;zq(f,12020,b);if(d){a=H[c+28>>2];F[a-((a|0)==H[c+24>>2])|0]=0}Wa=c+160|0;Wa=e+16|0}function PB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=(a|0)/-4|0;if(b){f=H[d>>2]+N(a,H[d+4>>2])|0;while(1){b=b-1|0;if(J[c+2>>1]){g=I[c+4|0]+8>>>4|0;d=0;while(1){e=f+((G[c>>1]+d|0)/4|0)|0;a=I[e|0]+g|0;F[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;if(b){continue}break}}}function ln(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=H[a+604>>2];c=Ya[H[c+20>>2]](J[H[c+24>>2]+(b<<1)>>1])|0;d=H[a+584>>2];if(!d){break a}e=H[a+580>>2];b=0;while(1){b:{a=H[(b<<2)+e>>2];if(!a|I[a|0]!=I[c|0]){break b}if(rb(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function eC(a){a=a|0;var b=0,c=0;c=H[a+28>>2];b=H[a+12>>2];if(b){vh(b+12|0);H[b+52>>2]=0;H[b+44>>2]=0;H[b+48>>2]=0;H[b+24>>2]=0;H[b+28>>2]=0;H[b>>2]=0;H[b+4>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b+16>>2]=0;if(b){Ya[H[c+8>>2]](c,b)}H[a+12>>2]=0}if(!H[a+20>>2]){b=H[a>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a>>2]=0}}function Md(a,b){var c=0;c=H[a+8>>2];a:{if(H[a+12>>2]-c>>3>>>0<=b>>>0){a=H[a+4>>2];b=0;if(!a|H[a>>2]){break a}H[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(H[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return H[a>>2]<<16}a=H[a>>2];return((a>>31)+a|0)- -8192>>14}b=H[a>>2]}return b}function PA(a){a=a|0;var b=0,c=0,d=0,e=0;e=H[a>>2];b=H[a+8>>2];if(b){c=H[a+16>>2];d=H[c+4>>2];H[b+108>>2]=H[c>>2];H[b+112>>2]=d;H[b+124>>2]=H[c+16>>2];d=H[c+12>>2];H[b+116>>2]=H[c+8>>2];H[b+120>>2]=d}b=H[a+1512>>2];if(b){Ya[b|0](H[a+1508>>2]);b=H[a+1508>>2];if(b){Ya[H[e+8>>2]](e,b)}H[a+1508>>2]=0}} +function kw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=H[c+288>>2];if((e|0)<=0){break a}f=H[c+292>>2];while(1){c=H[(d<<2)+f>>2];b:{if(!c|I[c|0]!=I[a|0]){break b}if((wb(c)|0)!=(b|0)){break b}if(!ub(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function jc(a,b){var c=0,d=0,e=0;c=Wa-16|0;Wa=c;F[c+15|0]=0;H[b>>2]=0;d=H[a+8>>2];a:{b:{e=H[a+20>>2];c:{if(e){if((Ya[e|0](a,d,c+15|0,1)|0)!=1){break b}d=H[a+8>>2];b=c+15|0;break c}if(K[a+4>>2]<=d>>>0){break b}b=H[a>>2]+d|0}b=I[b|0];H[a+8>>2]=d+1;break a}H[b>>2]=85;b=0}Wa=c+16|0;return b<<24>>24}function cB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=H[H[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=H[f+16>>2];if(c){b=H[H[(H[H[b+16608>>2]+4>>2]<<2)+16320>>2]+16>>2];if(b){Ya[b|0](c);c=H[f+16>>2]}if(c){Ya[H[d+8>>2]](d,c)}H[f+16>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}if(a){Ya[H[d+8>>2]](d,a)}}}function lr(a){a=a|0;var b=0,c=0,d=0,e=0;b=H[a+32>>2];if(!(!b|!H[b>>2])){while(1){e=(d<<2)+b|0;a:{if(!H[e+28>>2]){break a}c=N(d,24)+b|0;H[c- -64>>2]=0;hb(H[c+68>>2]);H[c+68>>2]=0;H[c+60>>2]=0;H[c+64>>2]=0;if(!I[b+4|0]){break a}hb(H[e+28>>2])}d=d+1|0;if(d>>>0>2]){continue}break}hb(b)}hb(a)}function Bc(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(H[a>>2]!=H[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=I[a|0];e=I[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}return d-e|0}return 0}function nG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=a;h=b;a=Ya[H[H[a+8>>2]+20>>2]](a+8|0)|0;a:{if(I[a+11|0]>>>7|0){b=H[a>>2];break a}b=a}i=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}return Pd(g,h,c,d,e,f,i,b+(a<<2)|0)|0}function kn(a,b,c){var d=0,e=0;e=Wa-16|0;Wa=e;d=H[H[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+H[a+432>>2]|0;a=H[d+H[a+428>>2]>>2];break b}b=Ya[H[H[d>>2]>>2]](H[d+4>>2],b,e+8|0)|0;if(b){break a}b=e+8|4;a=H[e+8>>2]}d=H[b>>2];H[c+12>>2]=a;b=0;H[c>>2]=0;H[c+4>>2]=a;H[c+8>>2]=a+d}Wa=e+16|0;return b}function ed(a,b){var c=0,d=0,e=0,f=0;d=Wa-16|0;Wa=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=Q(e);Nc(d,e,0,0,0,c+81|0);e=0+H[d+8>>2]|0;c=(H[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=H[d+4>>2];b=H[d>>2]}H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=e;H[a+12>>2]=f;Wa=d+16|0}function rl(a,b){var c=0,d=0,e=0;c=Wa-16|0;Wa=c;d=H[a+36>>2];a:{if(!d){break a}d=H[d+28>>2];b=sh(a+36|0,b,c+12|0,c+8|0);H[c+4>>2]=b;if(b){break a}b=H[c+8>>2];e=zb(d,b+1|0,c+4|0);if(!H[c+4>>2]){if(b){mb(e,H[c+12>>2],b)}F[b+e|0]=0}if(H[a+68>>2]){break a}bc(H[a+36>>2],c+12|0)}Wa=c+16|0;return e}function Eg(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=F[a|0];e=b&255;if(!e|!(I[(e>>>3|0)+24096|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+24128|0;b=F[a+1|0];a=a+1|0;d=I[c|0]+N(d,10)|0;c=d;if(I[((b&248)>>>3|0)+24096|0]>>>(b&7)&1){continue}break}}return c&65535}function CB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=H[a+16>>2];d=J[a+2>>1];a:{if(d+(J[a+6>>1]<<8)>>>0>>0){break a}c=J[a>>1];f=J[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>>0|d>>>0>>0){break a}g=J[H[a+12>>2]+((e-c|0)+N((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function TK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(I[H[a+124>>2]+36|0]&2)){break a}d=H[c+68>>2];if(!d){break a}e=H[c+80>>2];a=0;while(1){b=N(a,20)+e|0;if(I[b+12|0]&64){f=b;b=I[b+14|0];F[f+19|0]=b&16?8:b&1|8;H[c+144>>2]=H[c+144>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function DA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=H[a+12>>2];a:{if((G[d+22>>1]+G[d+58>>1]|0)+1>>>0>K[d+4>>2]){d=vc(d,1,0);if(d){break a}}d=H[a+20>>2];if(I[a+65|0]){a=H[d+8>>2];e=G[d+2>>1];f=H[d+4>>2]+(e<<3)|0;H[f+4>>2]=c>>10;H[f>>2]=b>>10;F[a+e|0]=1}G[d+2>>1]=J[d+2>>1]+1;d=0}return d|0}function jJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=6;a=H[a+84>>2];a:{if(!a){break a}e=H[a+4>>2];if(!e){break a}d=qq(H[H[e+96>>2]+4>>2],a,b)}if(!d){c=tb(24);H[c>>2]=H[a+100>>2];H[c+4>>2]=H[a+104>>2];H[c+8>>2]=H[a+80>>2];H[c+12>>2]=H[a+76>>2];H[c+16>>2]=H[a+84>>2];H[c+20>>2]=I[a+94|0]}return c|0}function fj(a,b,c,d){var e=0,f=0,g=0,h=0;e=Wa-160|0;Wa=e;H[e+60>>2]=b;H[e+20>>2]=b;H[e+24>>2]=-1;f=e+16|0;yd(f,0,0);Wp(e,f,d,1);d=H[e+8>>2];f=H[e+12>>2];g=H[e>>2];h=H[e+4>>2];if(c){H[c>>2]=((H[e+20>>2]+H[e+136>>2]|0)-H[e+60>>2]|0)+b}H[a+8>>2]=d;H[a+12>>2]=f;H[a>>2]=g;H[a+4>>2]=h;Wa=e+160|0}function TA(a){a=a|0;var b=0,c=0;b=H[a+20>>2];if(!b){return 3}a:{b:{if(I[a+68|0]){a=H[a+12>>2];if((G[a+20>>1]+G[a+56>>1]|0)+1>>>0>K[a+8>>2]){a=vc(a,0,1);if(a){break a}}c=J[b>>1];a=c<<16>>16;if((a|0)<=0){break b}G[(H[b+12>>2]+(c<<1)|0)-2>>1]=J[b+2>>1]-1}a=J[b>>1]}G[b>>1]=a+1;a=0}return a|0}function tG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=a;h=b;a=Ya[H[H[a+8>>2]+20>>2]](a+8|0)|0;a:{if(I[a+11|0]>>>7|0){b=H[a>>2];break a}b=a}i=b;if(I[a+11|0]>>>7|0){b=H[a>>2]}else{b=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}return Qd(g,h,c,d,e,f,i,b+a|0)|0}function sy(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(I[a+292|0]?a+296|0:0)|0;case 2:return(J[a+372>>1]==65535?0:a+372|0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=H[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function qt(){var a=0,b=0;a=Wa-16|0;Wa=a;a:{if(Qa(a+12|0,a+8|0)|0){break a}b=tb((H[a+12>>2]<<2)+4|0);H[64886]=b;if(!b){break a}b=tb(H[a+8>>2]);if(b){H[H[64886]+(H[a+12>>2]<<2)>>2]=0;if(!(Pa(H[64886],b|0)|0)){break a}}H[64886]=0}Wa=a+16|0;F[259535]=0;H[64881]=0;H[64925]=259580;H[64907]=42}function Pg(a,b,c){var d=0,e=0,f=0,g=0;e=Wa-16|0;Wa=e;d=0;a:{if(!a){break a}f=H[a+92>>2];d=0;if(!f){break a}d=0;if(!H[a+16>>2]){break a}H[e+12>>2]=b;while(1){g=Ya[H[H[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=K[a+16>>2]){continue}break}d=g?H[e+12>>2]:0}a=d;if(c){H[c>>2]=g}Wa=e+16|0;return a}function iG(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;c=Wa-128|0;Wa=c;H[c+12>>2]=c+116;d=a+8|0;a=c+16|0;rp(d,a,c+12|0,e,f,g);e=a;d=H[c+12>>2];a=Wa-16|0;Wa=a;H[a+8>>2]=b;while(1){if((d|0)!=(e|0)){kq(a+8|0,F[e|0]);e=e+1|0;continue}break}Wa=a+16|0;Wa=c+128|0;return H[a+8>>2]}function re(a){var b=0,c=0;H[a+20>>2]=0;H[a+36>>2]=0;H[a+48>>2]=0;b=H[a+24>>2];H[a+56>>2]=H[a+20>>2];H[a+60>>2]=b;c=H[a+32>>2];b=a- -64|0;H[b>>2]=H[a+28>>2];H[b+4>>2]=c;H[a+88>>2]=H[a+52>>2];b=H[a+40>>2];H[a+72>>2]=H[a+36>>2];H[a+76>>2]=b;b=H[a+48>>2];H[a+80>>2]=H[a+44>>2];H[a+84>>2]=b}function uf(a){var b=0,c=0,d=0,e=0;b=Hq(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(I[d+a|0]){break a}b=H[64886];if(!b){break a}c=H[b>>2];if(!c){break a}while(1){b:{if(!ub(a,c,d)){c=H[b>>2]+d|0;if(I[c|0]==61){break b}}c=H[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function er(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=H[a+12>>2];a:{if(Ya[H[e+24>>2]](e,b,H[e+56>>2])>>>0<=31){e=H[a+12>>2];f=0;if(1<>2]](e,b,H[e+56>>2])&7168){break a}}a=H[a+12>>2];H[d>>2]=0;f=0;if(!b|!c){break a}f=(Ya[H[a+36>>2]](a,b,c,d,H[a+68>>2])|0)!=0}return f|0} +function Dt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Wa-16|0;Wa=d;e=H[b+24>>2];b=H[b+28>>2];H[65057]=0;c=ga(642,e|0,c|0,b|16,d+12|0)|0;e=H[65057];H[65057]=0;if((e|0)!=1){if(!c){c=H[d+12>>2];f=(H[a+24>>2]<0?c:0-c|0)+512>>10}Tb();Wa=d+16|0;return f|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function sE(a){a=a|0;var b=0,c=0;b=H[a+8>>2];H[65057]=0;b=ga(1120,0,0,4,b|0)|0;c=H[65057];H[65057]=0;a:{if((c|0)==1){break a}if(b){a=-1}else{a=H[a+8>>2];if(!a){return 1}H[65057]=0;a=aa(1121,a|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){break a}a=(a|0)==1}return a|0}ea(0)|0;_()|0;Gb();X()}function yo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if((a|0)==(b|0)){break a}if(a-b>>>0>=c<<2>>>0){if(!c){break a}d=a;while(1){H[d>>2]=H[b>>2];d=d+4|0;b=b+4|0;c=c-1|0;if(c){continue}break}break a}if(!c){break a}while(1){c=c-1|0;d=c<<2;H[d+a>>2]=H[b+d>>2];if(c){continue}break}}return a|0}function Jb(a){var b=0,c=0;c=H[a+12>>2];a:{if((c|0)==H[a+8>>2]){a=H[a+4>>2];b=0;if(!a|H[a>>2]){break a}H[a>>2]=161;return 0}b=a;a=c-8|0;H[b+12>>2]=a;b:{switch(H[a+4>>2]-1|0){case 1:return H[a>>2]<<16;case 0:a=H[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=H[a>>2]}return b}function Gb(){var a=0;a=H[64749];H[65057]=0;ia(a|0);a=H[65057];H[65057]=0;a:{if((a|0)!=1){H[65057]=0;da(1390,239061,0);a=H[65057];H[65057]=0;if((a|0)!=1){break a}}a=ea(0)|0;_()|0;oa(a|0)|0;H[65057]=0;da(1390,238521,0);a=H[65057];H[65057]=0;if((a|0)!=1){break a}ea(0)|0;_()|0;Gb()}X()}function Ew(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=H[a+736>>2];a:{b:{if(f){if(b){H[b>>2]=H[f>>2]}if(c){H[c>>2]=H[f+4>>2]}if(d){H[d>>2]=H[H[a+736>>2]+8>>2]}if(!e){break a}a=H[H[a+736>>2]+12>>2];break b}if(b){H[b>>2]=0}if(c){H[c>>2]=0}a=0;if(!e){break a}}H[e>>2]=a}return 0}function wb(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!I[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=H[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=I[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function vA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Ya[H[a+20>>2]](J[H[a+16>>2]+(b<<1)>>1])|0;d=H[a+24>>2];if(!d){break a}e=H[a+28>>2];while(1){a=H[(c<<2)+e>>2];if(!(!a|I[a|0]!=I[b|0])){if(!rb(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function Pt(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=O(d);e=O(e);f=O(f);g=O(g);h=O(h);i=O(i);j=j|0;var k=O(0),l=O(0);k=L[b+12>>2];l=L[b+8>>2];L[c+12>>2]=l*L[c+12>>2];L[c+16>>2]=k*L[c+16>>2];a=H[b>>2];Ya[H[a+24>>2]](a,H[b+4>>2],c,O(l*d),O(k*e),O(l*f),O(k*g),O(l*h),O(k*i),H[a+44>>2])}function Mq(a){var b=0,c=0,d=0,e=0;b=H[a+40>>2];b=Ya[b|0](a,0,0,I[a|0]&128?H[a+20>>2]==H[a+28>>2]?1:2:1)|0;c=Xa;a:{if((c|0)<0){break a}e=b;d=H[a+8>>2];if(d){a=a+4|0}else{d=H[a+28>>2];if(!d){break a}a=a+20|0}b=H[a>>2]-d|0;a=e+b|0;c=(b>>31)+c|0;c=a>>>0>>0?c+1|0:c;b=a}Xa=c;return b}function Wg(a,b){var c=0,d=0,e=0;d=H[H[a+4>>2]+100>>2];c=H[a+156>>2];e=H[c+4>>2];a:{if(e&1){c=H[a+88>>2];if(c){Ya[H[d+8>>2]](d,c)}H[a+88>>2]=0;break a}H[c+4>>2]=e|1}e=0;c=b?6:0;b:{if((b|0)<=0){break b}d=Ya[H[d+4>>2]](d,b)|0;c=64;if(!d){break b}e=kb(d,0,b);c=0}H[a+88>>2]=e;return c}function ti(a,b,c){var d=0;d=Wa-16|0;Wa=d;a:{if(b>>>0<=255){b=Mb(a,b&4?29840:29872,c);break a}b=Mb(a,29904,d+8|0);if(b){break a}G[c>>1]=I[d+8|0]-128;G[c+2>>1]=I[d+9|0]-128;G[c+4>>1]=I[d+10|0]-128;G[c+6>>1]=I[d+11|0]-128;a=I[d+12|0];G[c+10>>1]=0;G[c+8>>1]=a-128}Wa=d+16|0;return b}function bJ(a){a=a|0;var b=0,c=0,d=0;b=Rc(32);H[b+28>>2]=100;c=b+8|0;H[c>>2]=0;H[c+4>>2]=0;H[b+4>>2]=c;H[65057]=0;c=aa(876,100)|0;d=H[65057];H[65057]=0;if((d|0)==1){a=$()|0;_()|0;hb(b);ba(a|0);X()}H[b+24>>2]=c;kb(c,0,100);H[b+16>>2]=0;H[b+20>>2]=0;H[b>>2]=-1;H[a>>2]=b;return a|0}function mj(a){a=a|0;var b=0,c=0;H[a>>2]=244e3;H[65057]=0;da(953,a|0,0);b=H[65057];H[65057]=0;if((b|0)!=1){b=H[a+28>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}hb(H[a+32>>2]);hb(H[a+36>>2]);hb(H[a+48>>2]);hb(H[a+60>>2]);return a|0}ea(0)|0;_()|0;Gb();X()}function jy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=J[a+152>>1];a:{if(!e){break a}a=H[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(H[a>>2]==(b|0)){g=H[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){H[d>>2]=g}f=ob(c,H[a+8>>2])}return f|0}function Gh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{c=H[a+4>>2];switch(c+1|0){case 0:break a;case 1:break b;default:break c}}a=H[a>>2];if(a>>>0>2]){break a}d=H[b+8>>2];if(a>>>0>d>>>0|d-a>>>0>>0){break a}a=H[b+12>>2]-c|0;H[b+12>>2]=a;return(a|0)>0|0}e=1}return e|0}function vh(a){var b=0,c=0,d=0;c=-2;a:{if(!a|!H[a+32>>2]){break a}d=H[a+36>>2];if(!d){break a}b=H[a+28>>2];if(!b|H[b>>2]!=(a|0)|H[b+4>>2]-16180>>>0>31){break a}c=H[b+56>>2];if(c){Ya[d|0](H[a+40>>2],c);d=H[a+36>>2];b=H[a+28>>2]}Ya[d|0](H[a+40>>2],b);c=0;H[a+28>>2]=0}return c}function jI(a){a=a|0;var b=0,c=0;if(K[a+24>>2]>K[a+44>>2]){H[a+44>>2]=H[a+24>>2]}a:{if(!(I[a+48|0]&8)){break a}if(K[a+16>>2]>2]){b=H[a+8>>2];c=H[a+12>>2];H[a+16>>2]=H[a+44>>2];H[a+12>>2]=c;H[a+8>>2]=b}if(K[a+12>>2]>=K[a+16>>2]){break a}return I[H[a+12>>2]]}return-1}function BA(a){a=a|0;var b=0,c=0;b=H[a+20>>2];a:{b:{if(I[a+65|0]){a=H[a+12>>2];if((G[a+20>>1]+G[a+56>>1]|0)+1>>>0>K[a+8>>2]){a=vc(a,0,1);if(a){break a}}c=J[b>>1];a=c<<16>>16;if((a|0)<=0){break b}G[(H[b+12>>2]+(c<<1)|0)-2>>1]=J[b+2>>1]-1}a=J[b>>1]}G[b>>1]=a+1;a=0}return a|0}function $u(a){a=a|0;var b=0,c=0,d=0;if(a){c=H[a+100>>2];b=H[a+132>>2];if(b){if(H[b+160>>2]){bc(H[a+104>>2],b+160|0)}d=H[b+168>>2];if(d){Ya[H[c+8>>2]](c,d)}H[b+168>>2]=0;if(b){Ya[H[c+8>>2]](c,b)}H[a+132>>2]=0}b=H[a+32>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+28>>2]=0;H[a+32>>2]=0}}function eL(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[b+100>>2];c=I[a+2|0]|I[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=163632}c=Kb(c,H[H[d+80>>2]+N(H[d+64>>2],20)>>2]);if((c|0)!=-1){we(a+4|0,b,a,a+6|0,H[d+88>>2]+N(H[d+64>>2],20)|0);H[d+64>>2]=H[d+64>>2]+1}return(c|0)!=-1|0}function Wo(a){a=a|0;var b=0,c=0,d=0,e=0;H[a>>2]=249e3;b=a+8|0;while(1){if(H[b+4>>2]-H[b>>2]>>2>>>0>c>>>0){if(H[H[b>>2]+(c<<2)>>2]){d=H[H[b>>2]+(c<<2)>>2];e=H[d+4>>2]-1|0;H[d+4>>2]=e;if((e|0)==-1){Ya[H[H[d>>2]+8>>2]](d)}}c=c+1|0;continue}break}nb(a+152|0);Zo(b);return a|0}function EH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=(e-d|0)+b|0;a:{while(1){if((d|0)!=(e|0)){a=-1;if((b|0)==(c|0)){break a}f=F[b|0];g=F[d|0];if((f|0)<(g|0)){break a}if((f|0)>(g|0)){return 1}else{d=d+1|0;b=b+1|0;continue}}break}a=(c|0)!=(h|0)}return a|0}function yk(a){var b=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+88>>2];if(b){Ya[b|0](H[a+84>>2])}yk(H[a+12>>2]);Vk(H[a+16>>2]);tg(H[a+80>>2]);hb(H[a+72>>2]);hb(H[a+76>>2]);hb(a)}}function cg(a,b,c,d){var e=0,f=0;e=Wa-160|0;Wa=e;f=-1;H[e+148>>2]=b?b-1|0:0;a=b?a:e+158|0;H[e+144>>2]=a;e=kb(e,0,144);H[e+76>>2]=-1;H[e+36>>2]=890;H[e+80>>2]=-1;H[e+44>>2]=e+159;H[e+84>>2]=e+144;a:{if((b|0)<0){H[64884]=61;break a}F[a|0]=0;f=Aq(e,c,d)}Wa=e+160|0;return f}function of(a,b){var c=0,d=0,e=0,f=0;c=Wa-16|0;Wa=c;a:{if(!b){b=0;break a}d=b;b=Q(b);Nc(c,d,0,0,0,b+81|0);e=16414-b<<16;b=0;d=b+H[c+8>>2]|0;e=e+(H[c+12>>2]^65536)|0;e=b>>>0>d>>>0?e+1|0:e;f=d;d=H[c>>2];b=H[c+4>>2]}H[a>>2]=d;H[a+4>>2]=b;H[a+8>>2]=f;H[a+12>>2]=e;Wa=c+16|0}function qb(a,b,c){var d=0,e=0;a:{d=H[a+72>>2]+c|0;if(!d|d>>>0>2]){break a}if(be(a,d)){break a}return 0}d=H[a+80>>2];b:{if((d|0)!=H[a+84>>2]){break b}e=c;c=H[a+72>>2];if(e+c>>>0<=H[a+64>>2]+b>>>0){break b}b=a;a=H[a+88>>2];H[b+84>>2]=a;mb(a,d,N(c,20))}return 1}function sz(a,b){a=a|0;b=b|0;var c=0;if(K[b+160>>2]>>0){Cb(b,8)}c=I[a+3|0]|I[a+2|0]<<8;if(!(c>>>0>=262&K[b+160>>2]>=a+c>>>0)){Cb(b,8)}if(H[b+164>>2]>0){a=a+6|0;c=0;while(1){if(K[b+172>>2]<=I[a|0]){Cb(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function hv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=H[a+420>>2];if((d|0)>0){f=H[a+424>>2];g=I[b|0];while(1){a:{e=H[(c<<2)+f>>2];if(I[e|0]!=(g|0)){break a}if(rb(b,e)){break a}return mc(H[H[a+428>>2]+(c<<2)>>2],0)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function sf(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=JM(a,b,10,0);f=Xa;e=HM(d,f,10,0);c=c-1|0;F[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;F[c|0]=d-N(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function pB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=H[a+88>>2];if(b){H[b>>2]=H[a+300>>2]}if(c){H[c>>2]=H[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=pb(J[f+12>>1]<<6,H[a+304>>2]);a=pb(J[f+14>>1]<<6,H[a+304>>2])}if(d){H[d>>2]=b}if(e){H[e>>2]=a}return 0}function OJ(a){a=a|0;var b=0,c=0,d=0;c=H[a+16>>2];b=161;a:{if(K[a+20>>2]>>0){break a}d=H[a+32>>2];c=qd(a,H[c>>2]);b=3;if(c-17>>>0<4294967281){break a}G[d+176>>1]=c;b=d;d=(H[a+20>>2]-H[a+16>>2]>>>2|0)-4|0;G[b+178>>1]=d;G[a+38>>1]=d;G[a+36>>1]=c;b=0}return b|0}function ib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=N(c,d)+32768>>>16|0;break a}e=d&65535;c=N(e,c>>>16|0)+N(c,d>>>16|0)+(N(c&65535,e)+32768>>>16)|0}a=a>>31|1;return((((b|0)<0?0-a|0:a)|0)<0?0-c|0:c)|0}function wz(a){a=a|0;var b=0,c=0,d=0,e=0;b=H[a+16>>2];H[a+32>>2]=b;d=H[a+20>>2];H[a+36>>2]=d;c=H[a+8>>2];e=c+H[a>>2]|0;H[a+8>>2]=e>>1;b=b+c|0;H[a+24>>2]=b>>1;H[a+16>>2]=b+e>>2;b=H[a+12>>2];c=b+H[a+4>>2]|0;H[a+12>>2]=c>>1;b=b+d|0;H[a+28>>2]=b>>1;H[a+20>>2]=b+c>>2}function bf(a){var b=0,c=0,d=0;a:{if(!a){break a}b=F[a|0];d=b&255;if(!d|!(I[(d>>>3|0)+24096|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=I[b+24128|0]+N(c,10)|0;b=F[a+1|0];a=a+1|0;if(I[((b&248)>>>3|0)+24096|0]>>>(b&7)&1){continue}break}}return c}function Tt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;b=Wa-16|0;Wa=b;H[b+4>>2]=e;H[b>>2]=d;d=H[a+12>>2];L[b+8>>2]=O(H[a+20>>2])/O(H[d+20>>2]);L[b+12>>2]=O(H[a+24>>2])/O(H[d+24>>2]);a=H[d+80>>2];Ya[H[a+224>>2]](d,H[d+84>>2],c,258620,b,H[a+80>>2]);Wa=b+16|0}function hw(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a>>2];c=H[d+552>>2];a:{d=oc(H[H[d+96>>2]+4>>2],10580);if(!(!d|!c)){c=H[c>>2];if(c){break a}}Oe(H[a>>2],b);return 0}c=Ya[c|0](d)|0;Oe(H[a>>2],b);if(c){Ya[H[c+4>>2]](H[H[a+40>>2]>>2],H[a+16>>2],H[a+20>>2],0,0)}return 0}function uv(a,b){a=a|0;b=b|0;var c=0;a=H[a+712>>2];b=J[H[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=K[a+1356>>2]){break a}return H[H[a+1360>>2]+(b<<2)>>2]}a=H[a+3084>>2];if(!a){break a}c=Ya[H[a+20>>2]](b)|0}return c|0}function Xw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=G[a+302>>1];if(e){f=c<<3;g=H[f+H[b+12>>2]>>2];e=sb(d,e,H[a+568>>2]);H[f+H[b+12>>2]>>2]=e+g}e=G[a+304>>1];if(e){c=c<<3;f=H[(c+H[b+12>>2]|0)+4>>2];a=sb(d,e,H[a+568>>2]);H[(c+H[b+12>>2]|0)+4>>2]=a+f}}function YC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(Yc(a,H[b+8>>2],0)){Ki(b,c,d);return}e=H[a+12>>2];f=a+16|0;no(f,b,c,d);a:{if((e|0)<2){break a}e=(e<<3)+f|0;a=a+24|0;while(1){no(a,b,c,d);if(I[b+54|0]){break a}a=a+8|0;if(e>>>0>a>>>0){continue}break}}}function Lw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=H[((c<<2)+a|0)+268>>2];c=H[a+484>>2];e=H[a+488>>2];if((b|0)>=0){b=((b+d|0)+e|0)-c|0;a=c+(b-((b|0)%H[a+480>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d+e-(b+c)|0;a=(b|0)%H[a+480>>2]-(b+c)|0;return((a|0)>0?0-c|0:a)|0}function AB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=H[a>>2];c=H[b+408>>2];H[a+16>>2]=c;d=H[b+416>>2];H[a+20>>2]=d;a:{if(c>>>0<2){break a}b=H[d>>2];a=1;while(1){e=b;b=H[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function ep(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Wa-32|0;Wa=d;H[d+16>>2]=b;H[d+24>>2]=a;H[d+8>>2]=c;while(1){a=H[d+24>>2]!=H[d+16>>2];if(!(!a|H[H[d+24>>2]>>2]!=H[H[d+8>>2]>>2])){H[d+24>>2]=H[d+24>>2]+4;H[d+8>>2]=H[d+8>>2]+4;continue}break}Wa=d+32|0;return!a|0}function cy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=H[a+516>>2];a:{b:{if(c){c=Ya[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Ya[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=Mb(b,95248,a);if(c){break a}H[a+36>>2]=0;H[a+40>>2]=0;c=0}return c|0}function Zt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=H[a+12>>2];e=H[b+80>>2];b=Ya[H[e+200>>2]](b,H[b+84>>2],c,d,H[e+56>>2])|0;c=H[a+12>>2];a:{if(!c){break a}c=H[c+20>>2];a=H[a+20>>2];if((c|0)==(a|0)){break a}b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31)}return b|0}function Yt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=H[a+12>>2];e=H[b+80>>2];b=Ya[H[e+204>>2]](b,H[b+84>>2],c,d,H[e+60>>2])|0;c=H[a+12>>2];a:{if(!c){break a}c=H[c+24>>2];a=H[a+24>>2];if((c|0)==(a|0)){break a}b=IM(HM(a,a>>31,b,b>>31),Xa,c,c>>31)}return b|0}function $o(a){a=a|0;var b=0,c=0,d=0;H[a>>2]=249072;b=H[a+8>>2];H[65057]=0;c=la(995)|0;d=H[65057];H[65057]=0;a:{if((d|0)==1){break a}if((b|0)!=(c|0)){b=H[a+8>>2];H[65057]=0;jj(b);b=H[65057];H[65057]=0;if((b|0)==1){break a}}return a|0}ea(0)|0;_()|0;Gb();X()}function BH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a:{while(1){if((d|0)!=(e|0)){a=-1;if((b|0)==(c|0)){break a}f=H[b>>2];g=H[d>>2];if((f|0)<(g|0)){break a}if((f|0)>(g|0)){return 1}else{d=d+4|0;b=b+4|0;continue}}break}a=(b|0)!=(c|0)}return a|0}function rB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;zn(a,b,c,d);b=H[a+300>>2];c=H[a+304>>2];a:{if((b|0)==(c|0)){break a}e=H[d>>2];if(e){f=d,g=sb(e,b,c),H[f>>2]=g}b=H[d+4>>2];if(!b){break a}f=d,g=sb(b,H[a+300>>2],H[a+304>>2]),H[f+4>>2]=g}return 0}function Nq(a){var b=0,c=0,d=0;c=Wa-16|0;Wa=c;F[c+15|0]=10;b=H[a+16>>2];a:{if(!b){if(Hj(a)){break a}b=H[a+16>>2]}d=b;b=H[a+20>>2];if(!((d|0)==(b|0)|H[a+80>>2]==10)){H[a+20>>2]=b+1;F[b|0]=10;break a}if((Ya[H[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}Wa=c+16|0}function VA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=H[a+20>>2];if(I[a+68|0]){a=H[e+8>>2];f=G[e+2>>1];g=H[e+4>>2]+(f<<3)|0;H[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;H[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;F[a+f|0]=d?1:2}G[e+2>>1]=J[e+2>>1]+1}function Ij(a){var b=0,c=0;b=H[a+72>>2];H[a+72>>2]=b-1|b;if(H[a+20>>2]!=H[a+28>>2]){Ya[H[a+36>>2]](a,0,0)|0}H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;b=H[a>>2];if(b&4){H[a>>2]=b|32;return-1}c=H[a+44>>2]+H[a+48>>2]|0;H[a+8>>2]=c;H[a+4>>2]=c;return b<<27>>31}function Qi(a){a=a|0;var b=0,c=0,d=0;b=H[a+8>>2];H[65057]=0;c=la(995)|0;d=H[65057];H[65057]=0;a:{b:{if((d|0)==1){break b}if((b|0)!=(c|0)){b=H[a+8>>2];H[65057]=0;jj(b);b=H[65057];H[65057]=0;if((b|0)==1){break b}}break a}ea(0)|0;_()|0;Gb();X()}return a|0}function Hc(a){var b=0,c=0;b=ak(a+52|0);b=I[b+50|0]|I[b+51|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=1){b=H[Is(a+104|0)+16>>2]>>>(b?2:1)|0;c=(b>>>0>1?b:1)-1|0}b=a;a=fk(a+56|0);a=I[a+4|0]|I[a+5|0]<<8;a=(a<<8|a>>>8)&65535;a=a>>>0>>0?c:a;H[b+32>>2]=a;return a}function lp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Wa-32|0;Wa=d;H[d+16>>2]=b;H[d+24>>2]=a;H[d+8>>2]=c;while(1){a=H[d+24>>2]!=H[d+16>>2];if(!(!a|I[H[d+24>>2]]!=I[H[d+8>>2]])){H[d+24>>2]=H[d+24>>2]+1;H[d+8>>2]=H[d+8>>2]+1;continue}break}Wa=d+32|0;return!a|0}function Qt(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=O(d);e=O(e);f=O(f);g=O(g);h=h|0;var i=O(0),j=O(0);i=L[b+12>>2];j=L[b+8>>2];L[c+12>>2]=j*L[c+12>>2];L[c+16>>2]=i*L[c+16>>2];a=H[b>>2];Ya[H[a+20>>2]](a,H[b+4>>2],c,O(j*d),O(i*e),O(j*f),O(i*g),H[a+40>>2])}function yd(a,b,c){var d=0,e=0,f=0,g=0;H[a+112>>2]=b;H[a+116>>2]=c;e=H[a+4>>2];d=H[a+44>>2]-e|0;H[a+120>>2]=d;H[a+124>>2]=d>>31;d=H[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}H[a+104>>2]=d}function Xk(){var a=0,b=0,c=0,d=0,e=0;b=uf(105174);a=2;a:{if(!b){break a}a=2;if(!I[b|0]){break a}while(1){c=Ac(b,58);if(!c){c=wb(b)+b|0}e=a|4;d=a;a=c-b|0;a=ub(b,105343,a)?d:(a|0)==24?e:d;b=(I[c|0]!=0)+c|0;if(I[b|0]){continue}break}a=a&255}H[64752]=a}function pA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=H[b>>2]+1|0;d=H[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+H[a+20>>2]|0;a:{if(c>>>0>>0){e=H[a+24>>2];while(1){a=J[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}H[b>>2]=c;return a|0}function Js(a){var b=0,c=0;b=H[a+4>>2];if(b){while(1){b=H[a+8>>2]+N(b,28)|0;H[b-20>>2]=0;c=b-16|0;hb(H[c>>2]);H[c>>2]=0;b=b-24|0;H[b>>2]=0;H[b+4>>2]=0;b=H[a+4>>2]-1|0;H[a+4>>2]=b;if(b){continue}break}}hb(H[a+8>>2]);H[a+8>>2]=0;H[a>>2]=0;H[a+4>>2]=0}function Dv(a,b){a=a|0;b=b|0;var c=0;Oe(H[a>>2],b);c=H[a>>2];b=H[c+320>>2];c=oc(H[H[c+96>>2]+4>>2],10070);a:{if(!c|!b){break a}b=H[b>>2];if(!b){break a}b=Ya[b|0](c)|0;if(!b){break a}Ya[H[b+4>>2]](H[H[a+40>>2]>>2],H[a+16>>2],H[a+20>>2],0,0)}return 0}function Fq(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Fq(a*0x10000000000000000,b);c=H[b>>2]+-64|0}H[b>>2]=c;return a}H[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function mB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[d+12>>2]=0;a:{if(H[c+80>>2]){break a}b=b-a|0;f=zb(H[c>>2],b+1|0,d+12|0);H[c+80>>2]=f;e=H[d+12>>2];if(e){break a}mb(f,a,b);F[b+H[c+80>>2]|0]=0;e=H[d+12>>2]}Wa=d+16|0;return e|0}function Go(){var a=0,b=0,c=0;b=Wa-16|0;Wa=b;H[b+12>>2]=1073741823;H[65057]=0;H[b+8>>2]=2147483647;a=Wa-16|0;Wa=a;Wa=a+16|0;a=b+8|0;c=b+12|0;a=K[a>>2]>2]?a:c;c=H[65057];H[65057]=0;if((c|0)!=1){Wa=b+16|0;return H[a>>2]}ea(0)|0;_()|0;Gb();X()}function Tc(a){var b=0,c=0;c=H[a+12>>2];a:{if((c|0)==H[a+8>>2]){a=H[a+4>>2];b=0;if(!a|H[a>>2]){break a}H[a>>2]=161;return 0}if(H[c-4>>2]!=2){a=H[a+4>>2];b=0;if(!a|H[a>>2]){break a}H[a>>2]=160;return 0}b=a;a=c-8|0;H[b+12>>2]=a;b=H[a>>2]}return b}function VI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;e=H[H[a+128>>2]+52>>2];a:{if(e){a=H[b>>2];H[d+12>>2]=c;H[d+8>>2]=a;Ya[H[H[e>>2]+4>>2]](H[e+4>>2],d+8|0);break a}a=H[a+712>>2];if(H[a+1236>>2]){break a}bc(H[a+1204>>2],b)}Wa=d+16|0}function JG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;H[e+12>>2]=b;H[e+8>>2]=d;b=xd(e,e+12|0);H[65057]=0;a=ka(1022,a|0,c|0,H[e+8>>2])|0;c=H[65057];H[65057]=0;if((c|0)!=1){Dc(b);Wa=e+16|0;return a|0}a=$()|0;_()|0;Dc(b);ba(a|0);X()}function Ce(a){var b=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}xf(H[a+12>>2]);hb(H[a+80>>2]);hb(H[a+88>>2]);b=H[a+164>>2];if(b){Ya[b|0](H[a+160>>2])}hb(a)}}function tB(a){a=a|0;var b=0,c=0;c=H[H[a+188>>2]>>2];b=H[a+168>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+172>>2]=0;H[a+164>>2]=0;H[a+168>>2]=0;b=H[a+184>>2];if(b){Ya[H[c+8>>2]](c,b)}F[a+192|0]=0;H[a+184>>2]=0;H[a+188>>2]=0;H[a+176>>2]=0;H[a+180>>2]=0}function dk(a,b,c,d,e){var f=O(0),g=O(0);if(H[c>>2]){f=L[c+4>>2];g=L[c+8>>2];if(!(f==L[c+12>>2]&g==L[c+16>>2])){Ya[H[a+16>>2]](a,b,c,f,g,H[a+36>>2])}Ya[H[a+28>>2]](a,b,c,H[a+48>>2]);H[c+8>>2]=0;H[c>>2]=0;H[c+4>>2]=0}L[c+16>>2]=e;L[c+12>>2]=d}function aJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Wa-16|0;Wa=e;f=H[H[a+128>>2]+52>>2];a:{if(f){a=Ya[H[H[f>>2]>>2]](H[f+4>>2],b,e+8|0)|0;H[c>>2]=H[e+8>>2];H[d>>2]=H[e+12>>2];break a}a=sh(H[a+712>>2]+1204|0,b,c,d)}Wa=e+16|0;return a|0}function Wi(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;H[c>>2]=a;a=H[a+4>>2];H[c+4>>2]=a;H[c+8>>2]=a+(b<<2);b=H[c+4>>2];a=H[c+8>>2];while(1){if((a|0)==(b|0)){H[H[c>>2]+4>>2]=H[c+4>>2];Wa=c+16|0}else{H[b>>2]=0;b=b+4|0;H[c+4>>2]=b;continue}break}}function aw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Wa-16|0;Wa=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=H[f+c>>2];H[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=Vl(a,e,d);Wa=d+16|0;return a|0}function Zl(a,b){a=a|0;b=b|0;var c=0;c=H[a+136>>2];H[b>>2]=H[a+132>>2];H[b+4>>2]=c;c=H[a+160>>2];H[b+24>>2]=H[a+156>>2];H[b+28>>2]=c;c=H[a+152>>2];H[b+16>>2]=H[a+148>>2];H[b+20>>2]=c;c=H[a+144>>2];H[b+8>>2]=H[a+140>>2];H[b+12>>2]=c;return 0}function Bv(a,b){a=a|0;b=b|0;var c=0;c=H[a+192>>2];H[b+24>>2]=H[a+188>>2];H[b+28>>2]=c;c=H[a+184>>2];H[b+16>>2]=H[a+180>>2];H[b+20>>2]=c;c=H[a+176>>2];H[b+8>>2]=H[a+172>>2];H[b+12>>2]=c;c=H[a+168>>2];H[b>>2]=H[a+164>>2];H[b+4>>2]=c;return 0}function oc(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=H[a+16>>2];if((c|0)<=0){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=H[a>>2];if(!rb(H[H[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function gz(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[b>>2];a:{if(c>>>0>65534){break a}if(F[a+20|0]&1){return Qm(H[a>>2],H[a+16>>2],b,1)|0}if((c|0)==H[a+24>>2]){Nm(a);c=H[a+28>>2];if(!c){break a}H[b>>2]=H[a+24>>2];return c|0}d=Pm(a,b,1)}return d|0}function Kw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=H[((c<<2)+a|0)+268>>2];c=H[a+484>>2];e=H[a+488>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-H[a+480>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-H[a+480>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function qw(a){a=a|0;var b=0,c=0;if(H[H[a+40>>2]>>2]){c=H[a>>2];b=H[c+552>>2];c=oc(H[H[c+96>>2]+4>>2],10580);a:{if(!c|!b){break a}b=H[b>>2];if(!b){break a}b=Ya[b|0](c)|0;if(!b){break a}Ya[H[b+8>>2]](H[H[a+40>>2]>>2])}H[H[a+40>>2]>>2]=0}}function Hv(a){a=a|0;var b=0,c=0;if(H[H[a+40>>2]>>2]){c=H[a>>2];b=H[c+320>>2];c=oc(H[H[c+96>>2]+4>>2],10070);a:{if(!c|!b){break a}b=H[b>>2];if(!b){break a}b=Ya[b|0](c)|0;if(!b){break a}Ya[H[b+8>>2]](H[H[a+40>>2]>>2])}H[H[a+40>>2]>>2]=0}}function ry(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=J[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=H[a+156>>2]+(b<<4)|0;H[c>>2]=H[a>>2];H[d>>2]=H[a+8>>2];g=H[a+12>>2]}H[e>>2]=g;f=0}return f|0}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(H[a+4>>2]){break a}e=c;g=a+52|0;f=H[g>>2];c=H[a+16>>2];if((e|0)!=(f+c|0)){break a}e=H[a>>2];c=Hg(a+16|0,d,f,c,b,e);if(!c){c=Hg(g,d,0,f,b,e);if(!c){break a}}H[a+4>>2]=c}}function Wn(a,b,c,d,e){if((b|1|c)<0){H[e>>2]=6;return d}a:{if(!c){if(!d){break a}Ya[H[a+8>>2]](a,d);break a}if(!b){a=Ya[H[a+4>>2]](a,c)|0;H[e>>2]=!a<<6;return a}a=Ya[H[a+12>>2]](a,b,c,d)|0;H[e>>2]=!a<<6;return a?a:d}H[e>>2]=0;return 0}function zB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[a+16>>2];if(c){f=H[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=H[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function gB(a){a=a|0;var b=0,c=0;if(H[a+12>>2]==-559038737){c=H[a+32>>2];b=H[a>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a>>2]=0;b=H[a+24>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+24>>2]=0;b=H[a+28>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+12>>2]=0;H[a+28>>2]=0}}function ub(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=I[a|0];a:{if(!d){break a}while(1){b:{e=I[b|0];if(!e){break b}c=c-1|0;if(!c|(d|0)!=(e|0)){break b}b=b+1|0;d=I[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-I[b|0]|0}function cd(a,b,c){c=H[c+4>>2]&176;if((c|0)==32){return b}a:{if((c|0)!=16){break a}b:{c:{c=I[a|0];switch(c-43|0){case 0:case 2:break c;default:break b}}return a+1|0}if((c|0)!=48|(b-a|0)<2|(I[a+1|0]|32)!=120){break a}a=a+2|0}return a}function Cq(a){var b=0,c=0,d=0;if(F[H[a>>2]]-48>>>0>=10){return 0}while(1){d=H[a>>2];c=-1;if(b>>>0<=214748364){c=F[d|0]-48|0;b=N(b,10);c=(c|0)>(2147483647-b|0)?-1:c+b|0}H[a>>2]=d+1;b=c;if(F[d+1|0]-48>>>0<10){continue}break}return b}function $z(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=H[c>>2];d=((d>>31)+d|0)+32768&-65536;c=H[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(H[a+4>>2]){break a}b=Of((N((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,H[a>>2],0);if(!b){break a}H[a+4>>2]=b}}function ky(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;e=li(a,9803,d);a:{if(e){break a}e=li(a,9929,d+8|0);if(e){break a}e=6;if(H[d>>2]!=1|H[d+8>>2]!=1){break a}H[b>>2]=H[d+12>>2];H[c>>2]=H[d+4>>2];e=0}Wa=d+16|0;return e|0}function Uw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(H[H[H[a>>2]+96>>2]+64>>2]-35|0){case 5:if(I[a+615|0]){break a}break;case 0:break b;default:break a}}a=H[b+16>>2]+(c<<3)|0;H[a>>2]=H[a>>2]+d}a=H[b+24>>2]+c|0;F[a|0]=I[a|0]|8}function Ed(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=H[a+16>>2];if((c|0)<=0){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=H[H[a>>2]>>2];if(rb(H[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=H[d+20>>2]}return e}function fe(a,b){var c=0,d=0,e=0,f=0;a:{c=H[a+280>>2];if((c|0)<=0){break a}d=H[a+284>>2];a=0;while(1){b:{f=a;e=rb(H[N(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return N(f,12)+d|0}return 0}function IA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Wa-16|0;Wa=f;e=zb(b,16,f+12|0);g=H[f+12>>2];if(!g){H[e+12>>2]=2;H[e+8>>2]=d;H[e>>2]=c;H[e+4>>2]=c;H[a+8>>2]=0;H[a+12>>2]=0;H[a+4>>2]=e;H[a>>2]=b}Wa=f+16|0;return g|0}function ec(a,b,c){var d=0,e=0,f=0;d=H[a+8>>2];f=H[a+4>>2];if(d>>>0>>0){e=H[a+20>>2];a:{if(e){b=Ya[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;mb(e,H[a>>2]+d|0,b)}H[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function Wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(H[a+4>>2]){break a}d=H[a+16>>2];e=a+52|0;f=H[e>>2];if((d+f|0)!=(b|0)){break a}g=H[a>>2];b=Hg(a+16|0,c,0,d,0,g);if(!b){b=Hg(e,c,d,f,0,g);if(!b){break a}}H[a+4>>2]=b}}function SJ(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=H[a+16>>2];a:{if(K[a+20>>2]>>0){break a}d=H[a+32>>2];b=3;e=qd(a,H[c>>2]);if((e|0)<0){break a}H[d+120>>2]=e;a=qd(a,H[c+4>>2]);if((a|0)<0){break a}H[d+116>>2]=a;b=0}return b|0}function Kz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=H[a>>2];d=a&2147483647;b=H[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function Df(a,b,c,d,e,f,g){var h=0;if(!H[c>>2]){Ya[H[a+12>>2]](a,b,c,L[c+12>>2],L[c+16>>2],H[a+32>>2]);H[c>>2]=1;h=H[c+16>>2];H[c+4>>2]=H[c+12>>2];H[c+8>>2]=h}Ya[H[a+20>>2]](a,b,c,d,e,f,g,H[a+40>>2]);L[c+16>>2]=g;L[c+12>>2]=f}function MH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Wa-16|0;Wa=d;H[d+12>>2]=c;H[d+8>>2]=c;e=-1;c=cg(0,0,b,c);a:{if((c|0)<0){break a}f=a;c=c+1|0;a=tb(c);H[f>>2]=a;if(!a){break a}e=cg(a,c,b,H[d+12>>2])}Wa=d+16|0;return e|0}function Lt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Wa-16|0;Wa=a;H[a+12>>2]=0;a:{if(co(c,b,0,a+12|0)){break a}d=tb(H[a+12>>2]);if(!d){break a}if(co(c,b,d,a+12|0)){hb(d);break a}e=hl(d,H[a+12>>2],2,d,594)}Wa=a+16|0;return e|0}function IM(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=JM(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Xa=(g^Xa)-((a>>>0>>0)+g|0)|0;return b}function GJ(a){a=a|0;var b=0,c=0,d=0,e=0;b=H[a+16>>2];if(K[a+20>>2]>=b+12>>>0){c=H[a+32>>2];d=c,e=qd(a,H[b>>2]),H[d+132>>2]=e;d=c,e=qd(a,H[b+4>>2]),H[d+136>>2]=e;d=c,e=qd(a,H[b+8>>2]),H[d+140>>2]=e;a=0}else{a=161}return a|0}function al(a,b){if(b){H[b>>2]=H[a+68>>2]}a:{if(I[a+62|0]){break a}if(H[a+168>>2]){return 0}H[a+72>>2]=0;F[a+61|0]=0;F[a+62|0]=1;H[a+84>>2]=H[a+80>>2];b=N(H[a+68>>2],20);if(!b){break a}kb(H[a+88>>2],0,b)}return H[a+88>>2]}function uL(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=H[a+12>>2];a:{if((c|0)==24428|(c|0)==24468){break a}d=0;c=gd(oc(H[H[H[a>>2]+96>>2]+4>>2],9005),10157,0);if(!c){break a}c=H[c>>2];if(!c){break a}d=Ya[c|0](a,b)|0}return d|0}function pk(a){H[a+32>>2]=0;hb(H[a+36>>2]);H[a+100>>2]=0;H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0;hb(H[a+104>>2]);H[a+96>>2]=0;H[a+100>>2]=0;H[a+32>>2]=0;H[a+104>>2]=0;hb(H[a+36>>2]);H[a+36>>2]=0;H[a+28>>2]=0;H[a+32>>2]=0} +function hJ(a){a=a|0;var b=0,c=0,d=0;b=wb(a);c=Wa+-64|0;Wa=c;a:{if(!I[a|0]|(!a|!b)){break a}b:{if((b|0)>=0){b=(b|0)<63?b:63;a=mb(c,a,b);F[a+b|0]=0;a=Sh(a);break b}a=Sh(a)}if(!a){break a}d=H[a+4>>2]}Wa=c- -64|0;return d|0}function QD(a){a=a|0;if(I[260604]){return H[65150]}if(!I[261736]){a=261712;while(1){a=Ib(a)+12|0;if((a|0)!=261736){continue}break}F[261736]=1}Wb(261712,239272);Wb(261724,239269);F[260604]=1;H[65150]=261712;return 261712}function OD(a){a=a|0;if(I[260612]){return H[65152]}if(!I[261768]){a=261744;while(1){a=Ib(a)+12|0;if((a|0)!=261768){continue}break}F[261768]=1}Vb(261744,254272);Vb(261756,254284);F[260612]=1;H[65152]=261744;return 261744}function yt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=H[b+24>>2];H[65057]=0;a=ga(644,a|0,c|0,d|0,e|0)|0;c=H[65057];H[65057]=0;if((c|0)!=1){c=!a;c=a|!e?c:I[d|0]!=0;Tb();return c|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function Rt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=O(d);e=O(e);f=f|0;var g=O(0),h=O(0);g=L[b+12>>2];h=L[b+8>>2];L[c+12>>2]=h*L[c+12>>2];L[c+16>>2]=g*L[c+16>>2];a=H[b>>2];Ya[H[a+16>>2]](a,H[b+4>>2],c,O(h*d),O(g*e),H[a+36>>2])}function Us(a,b,c,d,e){var f=0;if(!H[c>>2]){Ya[H[a+12>>2]](a,b,c,L[c+12>>2],L[c+16>>2],H[a+32>>2]);H[c>>2]=1;f=H[c+16>>2];H[c+4>>2]=H[c+12>>2];H[c+8>>2]=f}Ya[H[a+16>>2]](a,b,c,d,e,H[a+36>>2]);L[c+16>>2]=e;L[c+12>>2]=d}function xk(a,b,c,d){var e=0;a:{if(!H[a+4>>2]){if(!d){break a}Ya[d|0](c);return}e=H[a+88>>2];if(e){Ya[e|0](H[a+84>>2])}b=b?b:258392;if(H[b>>2]){H[b>>2]=H[b>>2]+1}tg(H[a+80>>2]);H[a+88>>2]=d;H[a+84>>2]=c;H[a+80>>2]=b}}function rE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;H[e+12>>2]=d;d=xd(e+8|0,e+12|0);H[65057]=0;a=Mp(a,b,c);b=H[65057];H[65057]=0;if((b|0)!=1){Dc(d);Wa=e+16|0;return a|0}a=$()|0;_()|0;Dc(d);ba(a|0);X()}function hC(a,b){a=a|0;b=b|0;var c=0,d=0;H[b+72>>2]=1869968492;d=H[a+36>>2];H[b+124>>2]=d;c=H[a+24>>2];H[b+108>>2]=H[a+20>>2];H[b+112>>2]=c;c=H[a+32>>2];H[b+116>>2]=H[a+28>>2];H[b+120>>2]=c;H[b+124>>2]=d&-2;return 0}function Rm(a,b){a=a|0;b=b|0;var c=0;c=H[b+4>>2];H[a+4>>2]=H[b>>2];H[a+8>>2]=c;H[a+28>>2]=H[b+24>>2];c=H[b+20>>2];H[a+20>>2]=H[b+16>>2];H[a+24>>2]=c;c=H[b+12>>2];H[a+12>>2]=H[b+8>>2];H[a+16>>2]=c;Cm(a,b,0);Cm(a,b,1)}function HM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=N(e,f);g=c&65535;h=a&65535;i=N(g,h);f=(i>>>16|0)+N(f,g)|0;e=(f&65535)+N(e,h)|0;Xa=(N(b,c)+j|0)+N(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function xx(a,b){a=a|0;b=b|0;var c=0,d=0;d=ld(96640,b);a:{if(d){break a}d=0;if(!a){break a}c=H[a+4>>2];if(!c){break a}c=oc(c,9005);if(!c){break a}c=H[H[c>>2]+20>>2];if(!c){break a}d=Ya[H[c+16>>2]](a,b)|0}return d|0}function Ht(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=H[b+24>>2];a=0;H[65057]=0;c=ka(640,f|0,c|0,d|0)|0;d=H[65057];H[65057]=0;if((d|0)!=1){if(c){H[e>>2]=c;a=1}Tb();return a|0}a=$()|0;_()|0;Tb();ba(a|0);X()}function ly(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Wa-16|0;Wa=d;e=H[a+16>>2];a:{if((e|0)>0){while(1){if(!Fg(a,c,d+12|0)){if(!rb(b,H[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Wa=d+16|0;return c|0}function Og(a,b,c,d){var e=0,f=0;f=H[a+4>>2];if(f>>>0>b>>>0){e=H[a+20>>2];a:{if(e){c=Ya[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;mb(e,H[a>>2]+b|0,c)}H[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function zw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(rb(b,10673)){break a}e=7;b:{c:{if(d){b=mc(c,0);break c}b=H[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}H[a- -64>>2]=b;e=0}return e|0}function iq(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a>>2];a:{if(!c){break a}d=H[c+24>>2];b:{if((d|0)==H[c+28>>2]){b=Ya[H[H[c>>2]+52>>2]](c,b)|0;break b}H[c+24>>2]=d+4;H[d>>2]=b}if((b|0)!=-1){break a}H[a>>2]=0}return a|0}function Rw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!I[a+616|0]|(!I[a+615|0]|H[H[H[a>>2]+96>>2]+64>>2]!=40))){if(I[a+617|0]){break a}}a=H[b+16>>2]+(c<<3)|0;H[a+4>>2]=H[a+4>>2]+d}a=H[b+24>>2]+c|0;F[a|0]=I[a|0]|16}function Di(a,b,c){var d=0,e=0,f=0,g=0;e=H[a+8>>2];f=H[a+4>>2];if(e>>>0>>0){d=H[a+20>>2];a:{if(d){d=Ya[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>>0?b:c;mb(g,H[a>>2]+e|0,d)}H[a+8>>2]=H[a+8>>2]+d}return d}function xL(a){a=a|0;var b=0,c=0;c=H[a+712>>2];a:{if(!(I[a+8|0]&8)|!H[a+540>>2]){break a}b=gd(oc(H[H[a+96>>2]+4>>2],9005),9908,0);if(!b){break a}b=H[b>>2];if(!b){break a}return Ya[b|0](a)|0}return H[c+1348>>2]}function qE(a){a=a|0;var b=0,c=0,d=0;b=Wa-16|0;Wa=b;H[b+12>>2]=a;a=xd(b+8|0,b+12|0);H[65057]=0;c=H[H[64925]>>2]?4:1;d=H[65057];H[65057]=0;if((d|0)!=1){Dc(a);Wa=b+16|0;return c|0}b=$()|0;_()|0;Dc(a);ba(b|0);X()}function Yi(a,b){var c=0,d=0,e=0;c=H[a+156>>2];a:{if(!c){break a}d=H[c+4>>2];if(!(d&1)){break a}e=H[a+88>>2];if(e){c=H[H[a+4>>2]+100>>2];Ya[H[c+8>>2]](c,e);c=H[a+156>>2];d=H[c+4>>2]}H[c+4>>2]=d&-2}H[a+88>>2]=b}function Px(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;e=Ya[H[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){H[(c?756:752)+a>>2]=H[d+12>>2];H[(c?856:852)+a>>2]=H[b+8>>2]}Wa=d+16|0;return e|0}function Ki(a,b,c){var d=0;d=H[a+16>>2];if(!d){H[a+36>>2]=1;H[a+24>>2]=c;H[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(H[a+24>>2]!=2){break a}H[a+24>>2]=c;return}F[a+54|0]=1;H[a+24>>2]=2;H[a+36>>2]=H[a+36>>2]+1}}function dr(a,b){var c=0,d=0;if(qb(a,0,1)){d=H[b+4>>2];c=H[a+84>>2]+N(H[a+72>>2],20)|0;H[c>>2]=H[b>>2];H[c+4>>2]=d;H[c+16>>2]=H[b+16>>2];d=H[b+12>>2];H[c+8>>2]=H[b+8>>2];H[c+12>>2]=d;H[a+72>>2]=H[a+72>>2]+1}}function Rd(a,b){a=a|0;b=b|0;a=H[a>>2];b=fc(b);if(!(H[H[a+8>>2]+(b<<2)>>2]!=0&b>>>0>2]-H[a+8>>2]>>2>>>0)){a=sa(4)|0;H[a>>2]=257388;H[a>>2]=257612;ra(a|0,257660,907);X()}return H[H[a+8>>2]+(b<<2)>>2]}function bd(a,b,c){var d=0,e=0,f=0;if(!b){H[c>>2]=0;return 0}e=c;c=wb(b);d=c+1|0;f=!d;a:{if(c>>>0<=2147483646){c=Ya[H[a+4>>2]](a,d)|0;a=!c<<6;break a}c=0;a=d?6:0}if(!(f|a)){mb(c,b,d);a=0}H[e>>2]=a;return c}function Nk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;H[c>>2]=0;H[c+4>>2]=0;H[c+40>>2]=0;H[c+44>>2]=0;H[c+32>>2]=0;H[c+36>>2]=0;H[c+24>>2]=0;H[c+28>>2]=0;H[c+16>>2]=0;H[c+20>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;return 0}function wg(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=K[a+1356>>2]){break a}return H[H[a+1360>>2]+(b<<2)>>2]}a=H[a+3084>>2];if(!a){break a}c=Ya[H[a+20>>2]](b)|0}return c}function uB(a){a=a|0;var b=0;b=H[H[a+156>>2]>>2];H[a+184>>2]=0;H[a+188>>2]=0;H[a+160>>2]=0;H[a+164>>2]=0;H[a+168>>2]=0;H[a+172>>2]=0;H[a+176>>2]=0;H[a+180>>2]=0;H[a+192>>2]=0;H[a+188>>2]=b;re(b);return 0}function Oc(a,b,c,d,e){var f=0;f=Wa-256|0;Wa=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;kb(f,b&255,d?c:256);if(!d){while(1){Gc(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Gc(a,f,c)}Wa=f+256|0}function rp(a,b,c,d,e,f){var g=0,h=0,i=0;g=Wa-16|0;Wa=g;F[g+15|0]=0;F[g+14|0]=f;F[g+13|0]=e;F[g+12|0]=37;if(f){qp(g+13|0,g+14|0)}h=c,i=(Ma(b|0,H[c>>2]-b|0,g+12|0,d|0,H[a>>2])|0)+b|0,H[h>>2]=i;Wa=g+16|0}function lb(a){a=a|0;var b=0;a:{if(!a|!H[a>>2]){break a}b=H[a>>2];H[a>>2]=b-1;if((b|0)!=1){break a}H[a>>2]=-57005;b=H[a+8>>2];if(b){sd(b+24|0,b);Tb();hb(b)}b=H[a+28>>2];if(b){Ya[b|0](H[a+24>>2])}hb(a)}}function em(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Wa-16|0;Wa=e;g=H[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=jb(a,1,g,d,H[c>>2],e+12|0),H[h>>2]=i;f=H[e+12>>2];if(f){break a}H[b>>2]=d;f=0}Wa=e+16|0;return f}function hz(a,b){a=a|0;b=b|0;var c=0,d=0;c=Wa-16|0;Wa=c;H[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(F[a+20|0]&1){d=Qm(H[a>>2],H[a+16>>2],c+12|0,0);break a}d=Pm(a,c+12|0,0)}a=d;Wa=c+16|0;return a|0}function Fb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;a:{if(!H[a+156>>2]){d=1;break a}H[a+168>>2]=H[a+168>>2]+1;H[e+12>>2]=d;d=Yk(a,b,c,d);H[a+168>>2]=H[a+168>>2]-1}Wa=e+16|0;return d|0}function EA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=H[a+20>>2];if(I[a+65|0]){a=H[e+8>>2];f=G[e+2>>1];g=H[e+4>>2]+(f<<3)|0;H[g+4>>2]=c>>10;H[g>>2]=b>>10;F[a+f|0]=d?1:2}G[e+2>>1]=J[e+2>>1]+1}function fL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=H[a+712>>2];a:{b:{if(!a){break b}d=6;if(H[a+1504>>2]==65535|K[a+20>>2]<=b>>>0){break a}if(!c){break b}H[c>>2]=J[H[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function oJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=H[a+32>>2];a:{if(!c){break a}d=H[c+364>>2];if(!d){break a}b=160;if(I[d+557|0]){break a}e=c,f=qd(a,H[H[a+16>>2]>>2]),H[e+360>>2]=f;b=0}return b|0}function co(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(I[a+8|0]&8)){break a}f=7;e=H[a+96>>2];g=H[H[e>>2]+32>>2];if(!g){break a}e=Ya[g|0](e,9632)|0;if(!e){break a}f=Ya[H[e>>2]](a,b,0,c,d)|0}return f}function uw(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;b=Kf(a,b,c+8|0,c+7|0);a:{if(b){break a}a=H[H[H[a+4>>2]+128>>2]+52>>2];if(!a){break a}Ya[H[H[a>>2]+4>>2]](H[a+4>>2],c+8|0)}Wa=c+16|0;return b|0}function Qo(a,b,c,d,e){var f=0;f=Wa-16|0;Wa=f;H[f+12>>2]=e;e=xd(f+8|0,f+12|0);H[65057]=0;a=_f(a,b,c,d);b=H[65057];H[65057]=0;if((b|0)!=1){Dc(e);Wa=f+16|0;return a}a=$()|0;_()|0;Dc(e);ba(a|0);X()}function Oq(a){var b=0,c=0;th(a);Ya[H[a+12>>2]](a)|0;if(!(F[a|0]&1)){b=H[a+52>>2];if(b){H[b+56>>2]=H[a+56>>2]}c=H[a+56>>2];if(c){H[c+52>>2]=b}if(H[64902]==(a|0)){H[64902]=c}hb(H[a+96>>2]);hb(a)}}function Pv(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[b>>2];H[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=J[H[a+16>>2]+(c<<1)>>1];if(!d){continue}break}H[b>>2]=c;return d|0}function rD(a,b){a=a|0;b=b|0;H[a>>2]=257388;H[a>>2]=257480;if(I[b+11|0]>>>7|0){b=H[b>>2]}H[65057]=0;ca(1373,a+4|0,b|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){return a|0}a=$()|0;_()|0;ba(a|0);X()}function po(a,b){var c=0;c=35;a:{if(!a|!(I[a+8|0]&2)){break a}c=6;if((b|0)<0|H[a+28>>2]<=(b|0)){break a}c=H[H[H[a+96>>2]+12>>2]+92>>2];if(c){return Ya[c|0](H[a+88>>2],b)|0}wd(a,b);c=0}return c}function RA(a){a=a|0;H[a+48>>2]=2333;H[a+52>>2]=0;H[a+24>>2]=500;H[a+28>>2]=400;H[a+12>>2]=86;H[a+16>>2]=30;H[a+40>>2]=1667;H[a+44>>2]=275;H[a+32>>2]=1e3;H[a+36>>2]=275;G[a+20>>1]=256;return 0}function UI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;a=Ka(H[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){H[64884]=a;a=-1}else{a=0}Wa=e+16|0;Xa=a?-1:H[e+12>>2];return(a?-1:H[e+8>>2])|0}function EF(){var a=0,b=0;a:{H[65457]=0;H[65456]=254376;H[65456]=249448;H[65456]=249072;H[65057]=0;a=la(995)|0;b=H[65057];H[65057]=0;if((b|0)!=1){H[65458]=a;break a}a=$()|0;_()|0;ba(a|0);X()}}function dc(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=H[a+8>>2]+b|0;d=H[a+20>>2];b:{if(d){if(!(Ya[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>K[a+4>>2]){break a}}H[a+8>>2]=b;c=0}return c}function Ti(a,b,c,d){var e=0;e=Wa-16|0;Wa=e;H[e+12>>2]=d;d=xd(e+8|0,e+12|0);H[65057]=0;a=nh(a,b,c);b=H[65057];H[65057]=0;if((b|0)!=1){Dc(d);Wa=e+16|0;return a}a=$()|0;_()|0;Dc(d);ba(a|0);X()}function Fd(a,b){var c=0,d=0;c=Wa-16|0;Wa=c;if(I[a+11|0]>>>7|0){Io(H[a>>2])}H[a+8>>2]=H[b+8>>2];d=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=d;F[b+11|0]=0;H[c+12>>2]=0;H[b>>2]=H[c+12>>2];Wa=c+16|0}function Sp(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:F[a|0]=c;return;case 1:G[a>>1]=c;return;case 2:case 3:H[a>>2]=c;return;case 5:break b;default:break a}}H[a>>2]=c;H[a+4>>2]=d}}function Hj(a){var b=0;b=H[a+72>>2];H[a+72>>2]=b-1|b;b=H[a>>2];if(b&8){H[a>>2]=b|32;return-1}H[a+4>>2]=0;H[a+8>>2]=0;b=H[a+44>>2];H[a+28>>2]=b;H[a+20>>2]=b;H[a+16>>2]=b+H[a+48>>2];return 0}function Ep(a,b){var c=0,d=0;H[a+16>>2]=10;H[a+12>>2]=11;H[a+8>>2]=0;H[a>>2]=80;H[a+4>>2]=241;b=Ya[H[b+4>>2]](b,964)|0;if(!b){H[a+20>>2]=b;return 64}c=a,d=kb(b,0,964),H[c+20>>2]=d;return 0}function uD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=b+4|0;e=H[a>>2];d=H[a+4>>2]-e|0;f=H[c>>2]-d|0;H[c>>2]=f;if((d|0)>0){mb(f,e,d)}ih(a,c);ih(a+4|0,b+8|0);ih(a+8|0,b+12|0);H[b>>2]=H[b+4>>2]}function kj(a,b,c,d,e,f,g,h,i){var j=0;j=Wa-16|0;Wa=j;Zc(j,b,c,d,e,f,g,h,i^-2147483648);d=H[j>>2];c=H[j+4>>2];b=H[j+12>>2];H[a+8>>2]=H[j+8>>2];H[a+12>>2]=b;H[a>>2]=d;H[a+4>>2]=c;Wa=j+16|0}function NE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{while(1){if((c|0)==(d|0)){break a}b:{if(K[c>>2]>127){break b}if(!(J[Xf()+(H[c>>2]<<1)>>1]&b)){break b}c=c+4|0;continue}break}d=c}return d|0}function tu(a){a=a|0;var b=0,c=0;b=H[a+4>>2];c=H[H[b+712>>2]+3080>>2];a:{if(!c){break a}b=oc(H[H[b+96>>2]+4>>2],11010);if(!b){break a}b=Ya[H[c+8>>2]](b)|0;H[H[a+156>>2]+36>>2]=b}return 0}function gw(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+420>>2];a:{if((c|0)>0){d=H[a+424>>2];a=0;while(1){if(!rb(b,H[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function gc(a,b){var c=0;a:{c=H[a+12>>2];if((c|0)==(H[a+8>>2]+(H[a+16>>2]<<3)|0)){a=H[a+4>>2];if(!a|H[a>>2]){break a}H[a>>2]=130;return}H[c>>2]=b;b=H[a+12>>2];H[b+4>>2]=0;H[a+12>>2]=b+8}}function cf(a,b){var c=0;a:{c=H[a+12>>2];if((c|0)==(H[a+8>>2]+(H[a+16>>2]<<3)|0)){a=H[a+4>>2];if(!a|H[a>>2]){break a}H[a>>2]=130;return}H[c>>2]=b;b=H[a+12>>2];H[b+4>>2]=2;H[a+12>>2]=b+8}}function Mc(a,b){var c=0,d=0;c=Wa-16|0;Wa=c;if(I[a+11|0]>>>7|0){hh(H[a>>2])}H[a+8>>2]=H[b+8>>2];d=H[b+4>>2];H[a>>2]=H[b>>2];H[a+4>>2]=d;F[b+11|0]=0;F[c+15|0]=0;F[b|0]=I[c+15|0];Wa=c+16|0}function rb(a,b){var c=0,d=0;c=I[a|0];d=I[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=I[b+1|0];c=I[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function ov(a){a=a|0;var b=0,c=0,d=0;c=Wa-16|0;Wa=c;d=Oo(H[H[a>>2]+504>>2],c+12|0);b=a;a=H[c+12>>2];H[b+44>>2]=a;if(a){b=H[a>>2];if(!(!b|!H[b+96>>2])){H[b+88>>2]=a}}Wa=c+16|0;return d|0}function NH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=H[a+84>>2];d=c+256|0;f=tf(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;mb(b,e,c);b=e+d|0;H[a+84>>2]=b;H[a+8>>2]=b;H[a+4>>2]=c+e;return c|0}function Ef(a,b){var c=0,d=0;b=b<<2;d=H[b+258548>>2];while(1){a:{c=H[(b+H[a+80>>2]|0)+156>>2]!=(d|0);if(c){break a}a=H[a+12>>2];if(!a){break a}if((a|0)!=258288){continue}}break}return c}function uc(a){var b=0,c=0;b=H[a+32>>2];if(K[a+36>>2]>b+3>>>0){c=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b=b+4|0}H[a+32>>2]=b;return c}function uG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=Wa-16|0;Wa=g;H[g+8>>2]=624576549;H[g+12>>2]=1394948685;h=a;a=g+16|0;b=Qd(h,b,c,d,e,f,g+8|0,a);Wa=a;return b|0}function WB(a){a=a|0;var b=0;b=H[a+4>>2];H[b+180>>2]=-21;H[b+184>>2]=0;H[b+196>>2]=21;H[b+200>>2]=0;H[b+188>>2]=0;H[b+192>>2]=0;Ya[H[H[H[a+12>>2]+56>>2]+8>>2]](H[a+52>>2],0,0);return 0}function qi(a){a=a|0;var b=0,c=0;b=H[a+8>>2];if(b){a=H[a+16>>2];c=H[a+4>>2];H[b+108>>2]=H[a>>2];H[b+112>>2]=c;H[b+124>>2]=H[a+16>>2];c=H[a+12>>2];H[b+116>>2]=H[a+8>>2];H[b+120>>2]=c}}function hx(a,b){a=a|0;b=b|0;var c=0;H[a+116>>2]=b;c=H[a>>2];if(F[c+8|0]&1){wd(c,b);gi(a);return 0}b=Ya[H[H[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}H[a+116>>2]=-1;return b|0}function cF(){var a=0;a:{H[65511]=0;H[65510]=254376;H[65510]=249448;H[65057]=0;aa(1109,262048)|0;a=H[65057];H[65057]=0;if((a|0)!=1){H[65510]=251776;break a}a=$()|0;_()|0;ba(a|0);X()}}function aF(){var a=0;a:{H[65515]=0;H[65514]=254376;H[65514]=249448;H[65057]=0;aa(1109,262064)|0;a=H[65057];H[65057]=0;if((a|0)!=1){H[65514]=251932;break a}a=$()|0;_()|0;ba(a|0);X()}}function Ut(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=H[a+12>>2];H[e>>2]=0;if((d|0)==-1){d=wb(c)}b=a;f=H[a+84>>2];a=H[a+80>>2];return Ya[H[a+220>>2]](b,f,c,d,e,H[a+76>>2])|0}function Ku(a,b){a=a|0;b=b|0;var c=0;c=ld(24608,b);a:{if(c){break a}c=0;if(!a){break a}a=H[a+4>>2];if(!a){break a}a=oc(a,9005);if(!a){break a}c=Ya[H[H[a>>2]+32>>2]](a,b)|0}return c|0}function Dk(a,b){var c=0;if(H[a+4>>2]){c=H[a+136>>2];if(c){Ya[c|0](H[a- -64>>2])}if(b){H[a+136>>2]=0;H[a+208>>2]=b;H[a- -64>>2]=0;return}H[a+136>>2]=0;H[a+208>>2]=616;H[a- -64>>2]=0}}function xE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Wa-16|0;Wa=a;H[a+12>>2]=e;H[a+8>>2]=d-c;b=Wa-16|0;Wa=b;Wa=b+16|0;Wa=a+16|0;b=a+8|0;a=a+12|0;return H[(K[b>>2]>2]?b:a)>>2]}function mv(a){a=a|0;var b=0,c=0,d=0;d=Wa-16|0;Wa=d;b=H[a+4>>2];c=H[b+504>>2];a:{if(!H[b+84>>2]){c=c+84|0;b=0;break a}b=c;c=d+12|0;b=Xi(b,c)}H[a+160>>2]=H[c>>2];Wa=d+16|0;return b|0}function ff(a,b){var c=0,d=0;d=H[a+4>>2];c=H[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(N(c,12)|0)/10|0;H[a+28>>2]=b;H[a+24>>2]=(b-c|0)/2;H[a+20>>2]=H[a+8>>2]+(H[a+16>>2]/-2|0)}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0;b=H[a>>2];c=H[b+712>>2];if(!H[c+1188>>2]){return 163}d=H[H[c+3084>>2]+4>>2];if(!d){return 7}return Ya[d|0](H[b+100>>2],a,H[c+20>>2],7,0,b)|0}function eg(a){a=a|0;var b=0;b=H[60918];H[a>>2]=b;H[H[b-12>>2]+a>>2]=H[60926];H[a+12>>2]=243056;H[a+8>>2]=H[60927];if(F[a+55|0]<0){hb(H[a+44>>2])}bg(a+12|0);rf(a- -64|0);return a|0}function XK(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[b>>2];d=H[a>>2];if((c|0)!=(d|0)){return(c>>>0>d>>>0?-1:1)|0}a=H[a+4>>2];b=H[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function ic(a,b,c){var d=0;d=Wa-16|0;Wa=d;H[d+12>>2]=b;H[65057]=0;H[a>>2]=H[d+12>>2];H[a+4>>2]=H[c>>2];b=H[65057];H[65057]=0;if((b|0)!=1){Wa=d+16|0;return a}ea(0)|0;_()|0;Gb();X()}function Rc(a){var b=0;a=a?a:1;a:{while(1){b=tb(a);if(b){break a}b=H[65583];if(b){Ya[b|0]();continue}break}a=sa(4)|0;H[a>>2]=257388;H[a>>2]=257368;ra(a|0,257440,1372);X()}return b}function Iy(a,b){a=a|0;b=b|0;H[a+16>>2]=b;b=I[b+6|0]|I[b+7|0]<<8|(I[b+8|0]<<16|I[b+9|0]<<24);H[a+28>>2]=0;H[a+32>>2]=0;H[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function rI(a,b){a=a|0;b=b|0;H[a+4>>2]=b;F[a|0]=0;if(!H[(H[H[b>>2]-12>>2]+b|0)+16>>2]){if(H[(H[H[b>>2]-12>>2]+b|0)+72>>2]){tq(H[(H[H[b>>2]-12>>2]+b|0)+72>>2])}F[a|0]=1}return a|0}function UH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;e=H[c+4>>2];c=H[c>>2];H[d>>2]=c;H[d+4>>2]=e;H[d+8>>2]=c;H[d+12>>2]=e;ro(a,d,b);H[a>>2]=243980;Wa=d+16|0;return a|0}function YH(a,b){a=a|0;b=b|0;H[a>>2]=257388;H[a>>2]=257460;H[65057]=0;ca(1373,a+4|0,b|0)|0;b=H[65057];H[65057]=0;if((b|0)==1){a=$()|0;_()|0;ba(a|0);X()}H[a>>2]=257528;return a|0}function OE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){a:{if((c|0)!=(d|0)){if(K[c>>2]>127){break a}if(!(J[Xf()+(H[c>>2]<<1)>>1]&b)){break a}}else{c=d}return c|0}c=c+4|0;continue}}function zk(a,b){var c=0;if(H[a+4>>2]){c=H[a+152>>2];if(c){Ya[c|0](H[a+80>>2])}if(b){H[a+152>>2]=0;H[a+224>>2]=b;H[a+80>>2]=0;return}H[a+152>>2]=0;H[a+224>>2]=620;H[a+80>>2]=0}}function Te(a){var b=0,c=0;b=H[64745];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Za()<<16>>>0){if(!(Oa(a|0)|0)){break a}}H[64745]=a;return b}H[64884]=48;return-1}function Td(a,b){var c=0;a:{if(!a|!b){break a}c=H[a+4>>2];if(!c){break a}a=G[a+2>>1];if((a|0)<=0){break a}a=(a<<3)+c|0;while(1){mh(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Gk(a,b){var c=0;if(H[a+4>>2]){c=H[a+100>>2];if(c){Ya[c|0](H[a+28>>2])}if(b){H[a+100>>2]=0;H[a+172>>2]=b;H[a+28>>2]=0;return}H[a+100>>2]=0;H[a+172>>2]=610;H[a+28>>2]=0}}function Fk(a,b){var c=0;if(H[a+4>>2]){c=H[a+112>>2];if(c){Ya[c|0](H[a+40>>2])}if(b){H[a+112>>2]=0;H[a+184>>2]=b;H[a+40>>2]=0;return}H[a+112>>2]=0;H[a+184>>2]=612;H[a+40>>2]=0}}function Ek(a,b){var c=0;if(H[a+4>>2]){c=H[a+124>>2];if(c){Ya[c|0](H[a+52>>2])}if(b){H[a+124>>2]=0;H[a+196>>2]=b;H[a+52>>2]=0;return}H[a+124>>2]=0;H[a+196>>2]=614;H[a+52>>2]=0}}function Ck(a,b){var c=0;if(H[a+4>>2]){c=H[a+144>>2];if(c){Ya[c|0](H[a+72>>2])}if(b){H[a+144>>2]=0;H[a+216>>2]=b;H[a+72>>2]=0;return}H[a+144>>2]=0;H[a+216>>2]=618;H[a+72>>2]=0}}function Bk(a,b){var c=0;if(H[a+4>>2]){c=H[a+148>>2];if(c){Ya[c|0](H[a+76>>2])}if(b){H[a+148>>2]=0;H[a+220>>2]=b;H[a+76>>2]=0;return}H[a+148>>2]=0;H[a+220>>2]=619;H[a+76>>2]=0}}function pw(a){a=a|0;var b=0,c=0;b=H[a+4>>2];c=H[b+552>>2];a:{if(!c){break a}b=oc(H[H[b+96>>2]+4>>2],10580);if(!b){break a}b=Ya[H[c+4>>2]](b)|0;H[H[a+156>>2]+36>>2]=b}return 0}function nC(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(H[b+72>>2]!=1869968492){break a}c=H[a>>2];a=a+20|0;c=ao(c,G[b+110>>1],G[b+108>>1],a);if(c){break a}$n(b+108|0,a);c=0}return c|0}function le(a){var b=0,c=0;b=Wa-16|0;Wa=b;if(I[a+11|0]>>>7|0){c=H[a>>2]}else{c=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}H[b+8>>2]=c+(a<<2);Wa=b+16|0;return H[b+8>>2]}function Gv(a){a=a|0;var b=0,c=0;b=H[a+4>>2];c=H[b+320>>2];a:{if(!c){break a}b=oc(H[H[b+96>>2]+4>>2],10070);if(!b){break a}b=Ya[H[c+4>>2]](b)|0;H[H[a+156>>2]+36>>2]=b}return 0}function dq(a){var b=0,c=0;b=H[a>>2];if(b){c=H[b+12>>2];a:{if((c|0)==H[b+16>>2]){b=Ya[H[H[b>>2]+36>>2]](b)|0;break a}b=H[c>>2]}if((b|0)!=-1){return!H[a>>2]}H[a>>2]=0}return 1}function PE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){if(K[b>>2]<=127){a=J[Xf()+(H[b>>2]<<1)>>1]}else{a=0}G[d>>1]=a;d=d+2|0;b=b+4|0;continue}break}return c|0}function Jn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(H[b+72>>2]!=H[a+16>>2]){break a}if(c){Td(b+108|0,c)}e=0;if(!d){break a}yc(b+108|0,H[d>>2],H[d+4>>2])}return e|0}function eq(a){var b=0,c=0;b=H[a>>2];if(b){c=H[b+12>>2];a:{if((c|0)==H[b+16>>2]){b=Ya[H[H[b>>2]+36>>2]](b)|0;break a}b=I[c|0]}if((b|0)!=-1){return!H[a>>2]}H[a>>2]=0}return 1}function Jk(a,b){var c=0;if(H[a+4>>2]){c=H[a+84>>2];if(c){Ya[c|0](H[a+12>>2])}if(b){H[a+84>>2]=0;H[a+12>>2]=0;H[a+156>>2]=b;return}H[a+84>>2]=0;H[a+12>>2]=0;H[a+156>>2]=606}}function Ik(a,b){var c=0;if(H[a+4>>2]){c=H[a+92>>2];if(c){Ya[c|0](H[a+20>>2])}if(b){H[a+92>>2]=0;H[a+164>>2]=b;H[a+20>>2]=0;return}H[a+92>>2]=0;H[a+164>>2]=608;H[a+20>>2]=0}}function Hk(a,b){var c=0;if(H[a+4>>2]){c=H[a+96>>2];if(c){Ya[c|0](H[a+24>>2])}if(b){H[a+96>>2]=0;H[a+168>>2]=b;H[a+24>>2]=0;return}H[a+96>>2]=0;H[a+168>>2]=609;H[a+24>>2]=0}}function oB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;H[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=K[a+408>>2]){break a}H[c>>2]=H[(H[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Xg(a,b,c){var d=0;d=Wa-16|0;Wa=d;H[d+8>>2]=a;a=H[d+8>>2];Wa=d+16|0;d=Wa-16|0;Wa=d;H[d+8>>2]=b;Wa=d+16|0;d=H[d+8>>2];b=d-a|0;if((a|0)!=(d|0)){Yb(c,a,b)}return b+c|0}function qz(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a+16>>2]+6|0;a=H[b>>2];while(1){a=a+1|0;if(a>>>0>255){H[b>>2]=0;return 0}c=I[a+d|0];if(!c){continue}break}H[b>>2]=a;return c|0}function oe(a){var b=0,c=0;b=Wa-16|0;Wa=b;if(I[a+11|0]>>>7|0){c=H[a>>2]}else{c=a}if(I[a+11|0]>>>7|0){a=H[a+4>>2]}else{a=I[a+11|0]}H[b+8>>2]=c+a;Wa=b+16|0;return H[b+8>>2]}function NK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!I[a|0]|H[a+8>>2]!=(b|0)|H[a+12>>2]!=(c|0)){break a}if(c){if(Bc(d,H[a+16>>2],c<<2)){break a}}e=0}return e|0}function Lb(a,b,c){var d=0,e=0;while(1){a=Xb(a,c);d=(a|0)!=0&a>>>0>>0;if(d){a=wb(c)+a|0;e=I[a|0];if((e-48&255)>>>0<10|((e&-33)-65&255)>>>0<26){continue}}break}return d}function sx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=H[a+24>>2];c=ob(b,c);a:{if(c){break a}c=Nb(b,d);if(c){break a}H[a+196>>2]=H[b+32>>2];H[a+200>>2]=H[b+36>>2];c=0}return c|0}function qJ(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;Sn(a,b,c);a=tb(16);H[a>>2]=H[c>>2];H[a+4>>2]=H[c+4>>2];H[a+8>>2]=H[c+8>>2];H[a+12>>2]=H[c+12>>2];Wa=c+16|0;return a|0}function Mm(a,b){a=a|0;b=b|0;H[a+16>>2]=b;b=I[b+12|0]|I[b+13|0]<<8|(I[b+14|0]<<16|I[b+15|0]<<24);F[a+24|0]=0;H[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Qy(a,b){a=a|0;b=b|0;var c=0;if(!(!I[a+24|0]|H[a+28>>2]!=H[b>>2])){Km(a);if(!I[a+24|0]){return 0}c=H[a+32>>2];H[b>>2]=H[a+28>>2];return c|0}return Lm(a,b,1)|0}function eu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(!(d&1?0:b)){return sg(a,0,c,d)|0}if(H[b>>2]==H[a+4>>2]){a=sg(a,b,c,d)}else{a=35}return a|0}function dz(a,b){a=a|0;b=b|0;a=H[a+16>>2];b=b-(I[a+6|0]<<8|I[a+7|0])|0;if(b>>>0<(I[a+9|0]|I[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=I[a+10|0]<<8|I[a+11|0]}else{a=0}return a|0}function Vt(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=H[a+12>>2];if(e){F[d|0]=0}b=a;f=H[a+84>>2];a=H[a+80>>2];return Ya[H[a+216>>2]](b,f,c,d,e,H[a+72>>2])|0}function Uy(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=10;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);H[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Py(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=12;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);H[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Ky(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=13;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);H[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Yy(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=8;a=I[a+8|0]|I[a+9|0]<<8|(I[a+10|0]<<16|I[a+11|0]<<24);H[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=H[b>>2]+1|0;b=H[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}H[e>>2]=b;return d|0}function wc(a,b){var c=0;c=H[a>>2];H[a>>2]=b;a:{if(c){a=H[a+4>>2];H[65057]=0;fa(a|0,c|0);a=H[65057];H[65057]=0;if((a|0)==1){break a}}return}ea(0)|0;_()|0;Gb();X()}function qD(a,b){a=a|0;b=b|0;H[a>>2]=257388;H[a>>2]=257480;H[65057]=0;ca(1373,a+4|0,b|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){return a|0}a=$()|0;_()|0;ba(a|0);X()}function Ql(a){var b=0;b=H[a+52>>2];H[65057]=0;fa(579,b|0);b=H[65057];H[65057]=0;if((b|0)!=1){H[a+52>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0;return}ea(0)|0;_()|0;Gb();X()}function tv(a,b){a=a|0;b=b|0;var c=0;c=H[b+96>>2];if(!((c|0)<0|H[a+300>>2]<=(c|0))){a=H[a+304>>2]+N(c,252)|0;b=Ya[H[b+40>>2]](b,0)|0;H[a+180>>2]=b;H[a+208>>2]=b}}function op(a){a=a|0;var b=0;b=sa(8)|0;H[65057]=0;ca(1034,b|0,a|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){ra(b|0,257592,1035);X()}a=$()|0;_()|0;ya(b|0);ba(a|0);X()}function Vo(a){var b=0,c=0;H[65057]=0;c=la(1111)|0;b=H[65057];H[65057]=0;if((b|0)!=1){b=a;a=H[c>>2];H[b>>2]=a;H[a+4>>2]=H[a+4>>2]+1;return}ea(0)|0;_()|0;Gb();X()}function PC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Wa-16|0;Wa=d;H[d+12>>2]=H[c>>2];a=Ya[H[H[a>>2]+16>>2]](a,b,d+12|0)|0;if(a){H[c>>2]=H[d+12>>2]}Wa=d+16|0;return a|0}function Kq(a){var b=0;b=H[a>>2]-1|0;b=F[(N(0-b&b,124511785)>>>27|0)+242128|0];if(!b){a=H[a+4>>2];a=F[(N(0-a&a,124511785)>>>27|0)+242128|0];b=a?a+32|0:0}return b}function CF(a,b){a=a|0;b=b|0;H[a+2748>>2]=b;H[a+2740>>2]=H[b+28>>2];H[a+4>>2]=H[b+8>>2];H[a+12>>2]=H[b+12>>2];H[a+8>>2]=H[b+16>>2];H[a+16>>2]=H[b+20>>2];return 0}function no(a,b,c,d){var e=0,f=0;e=H[a+4>>2];f=H[a>>2];a=0;a:{if(!c){break a}a=e>>8;if(!(e&1)){break a}a=H[a+H[c>>2]>>2]}Ya[H[H[f>>2]+28>>2]](f,b,a+c|0,e&2?d:2)}function ld(a,b){var c=0;a:{if(!a|!b){break a}c=H[a>>2];if(!c){break a}while(1){if(!rb(c,b)){return H[a+4>>2]}c=H[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function cu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=H[a+12>>2];H[e>>2]=0;b=a;f=H[a+84>>2];a=H[a+80>>2];return Ya[H[a+172>>2]](b,f,c,d,e,H[a+28>>2])|0}function xA(a,b){a=a|0;b=b|0;var c=0;b=H[a>>2];c=H[b+488>>2];H[a+24>>2]=H[b+420>>2];H[a+28>>2]=H[b+424>>2];H[a+20>>2]=H[c+20>>2];H[a+16>>2]=H[c+24>>2];return 0}function tA(a,b){a=a|0;b=b|0;var c=0;b=H[a>>2];c=H[b+488>>2];H[a+24>>2]=H[b+420>>2];H[a+28>>2]=H[b+424>>2];H[a+20>>2]=H[c+20>>2];H[a+16>>2]=H[c+28>>2];return 0}function ob(a,b){var c=0,d=0;d=H[a+20>>2];a:{b:{if(d){c=85;if(!(Ya[d|0](a,b,0,0)|0)){break b}break a}c=85;if(K[a+4>>2]>>0){break a}}H[a+8>>2]=b;c=0}return c}function Yu(a,b){a=a|0;b=b|0;var c=0;c=H[a>>2];b=H[c+132>>2];wd(c,0);c=J[b+80>>1];H[a+24>>2]=c<<6;H[a+28>>2]=c-J[b+96>>1]<<6;H[a+36>>2]=J[b+102>>1]<<6;return 0}function Ty(a,b){a=a|0;b=b|0;var c=0,d=0;d=H[a>>2];c=H[d+140>>2];wd(d,b);H[a+24>>2]=H[c+40>>2]<<6;H[a+28>>2]=0-(H[c+44>>2]<<6);H[a+36>>2]=J[c+4>>1]<<6;return 0}function Yn(a){var b=0,c=0;b=H[a+32>>2];if(K[a+36>>2]<=b+3>>>0){H[a+32>>2]=b;return 0}c=I[b|0]|I[b+1|0]<<8|(I[b+2|0]<<16|I[b+3|0]<<24);H[a+32>>2]=b+4;return c}function zH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)!=(c|0)){a=H[b>>2]+(a<<4)|0;d=a&-268435456;a=(d|d>>>24)^a;b=b+4|0;continue}break}return a|0}function LE(a,b,c){a=a|0;b=b|0;c=c|0;while(1){if((b|0)!=(c|0)){a=H[b>>2];if(a>>>0<=127){a=H[Ug()+(H[b>>2]<<2)>>2]}H[b>>2]=a;b=b+4|0;continue}break}return c|0}function JE(a,b,c){a=a|0;b=b|0;c=c|0;while(1){if((b|0)!=(c|0)){a=H[b>>2];if(a>>>0<=127){a=H[Tg()+(H[b>>2]<<2)>>2]}H[b>>2]=a;b=b+4|0;continue}break}return c|0}function fD(a,b,c){a=a|0;b=b|0;c=c|0;a:{if((c|0)>=257){if(!I[262329]){F[262329]=1}b=258992;break a}if(!I[262328]){F[262328]=1}b=258988}H[a+4>>2]=b;H[a>>2]=c}function by(a,b){a=a|0;b=b|0;var c=0;c=Ya[H[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=Jc(b,H[a+512>>2],a+508|0);if(!c){return 0}H[a+512>>2]=0}return c|0}function CH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)!=(c|0)){a=F[b|0]+(a<<4)|0;d=a&-268435456;a=(d|d>>>24)^a;b=b+1|0;continue}break}return a|0}function pM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Bf(a,1751216995,c)){break a}if(!Bf(a,1751413603,c+4|0)){break a}b=Bf(a,1751934832,c+8|0)}return b|0}function nM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Bf(a,1986098019,c)){break a}if(!Bf(a,1986294627,c+4|0)){break a}b=Bf(a,1986815856,c+8|0)}return b|0}function Yz(a){a=a|0;var b=0;if(a){H[a+412>>2]=0;H[a+4>>2]=0;H[a+1960>>2]=0;H[a+1444>>2]=0;H[a+928>>2]=0;H[a+208>>2]=0;b=H[a>>2];if(a){Ya[H[b+8>>2]](b,a)}}}function MA(a){a=a|0;var b=0,c=0;if(a){c=H[a>>2];b=H[a+108>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+108>>2]=0;b=H[a+116>>2];if(b){Ya[H[c+8>>2]](c,b)}H[a+116>>2]=0}}function lD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Wa-16|0;Wa=d;e=d+8|0;Ya[H[H[a>>2]+12>>2]](e,a,b);Wa=d+16|0;return H[e>>2]==H[c>>2]&H[e+4>>2]==H[c+4>>2]}function eH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;H[e+12>>2]=b;H[e+8>>2]=d;b=xd(e,e+12|0);a=Rp(a,c,H[e+8>>2]);Dc(b);Wa=e+16|0;return a|0}function PJ(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?G[(I[(b>>>2&63|I[(b>>>9|0)+180612|0]>>>(b>>>6&4)<<6&960)+180740|0]<<3|(b&3)<<1)+220336>>1]:0)+b|0}function pc(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(!a){break a}c=H[a+92>>2];if(!c){break a}b=Ya[H[H[c+12>>2]+12>>2]](c,b)|0;d=b>>>0>2]?b:0}return d|0}function oE(a){a=a|0;var b=0;a=H[a+8>>2];if(!a){return 1}H[65057]=0;a=aa(1121,a|0)|0;b=H[65057];H[65057]=0;if((b|0)!=1){return a|0}ea(0)|0;_()|0;Gb();X()}function nj(a){var b=0;b=sa(8)|0;H[65057]=0;ca(909,b|0,a|0)|0;a=H[65057];H[65057]=0;if((a|0)!=1){ra(b|0,257560,910);X()}a=$()|0;_()|0;ya(b|0);ba(a|0);X()}function Ab(a,b){var c=0,d=0;a:{if(!a){break a}c=HM(a,0,b,0);d=Xa;if((a|b)>>>0<65536){break a}c=d?-1:c}a=tb(c);if(!(!a|!(I[a-4|0]&3))){kb(a,0,c)}return a}function Pw(a,b,c){a=a|0;b=b|0;c=c|0;a=H[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64|32;return((a|0)<0?32:a)|0}a=a-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function Dc(a){a:{a=H[a>>2];if(a){H[65057]=0;if(a){H[64925]=(a|0)==-1?259580:a}a=H[65057];H[65057]=0;if((a|0)==1){break a}}return}ea(0)|0;_()|0;Gb();X()}function DE(a,b,c){a=a|0;b=b|0;c=c|0;while(1){if((b|0)!=(c|0)){a=F[b|0];if((a|0)>=0){a=H[Ug()+(F[b|0]<<2)>>2]}F[b|0]=a;b=b+1|0;continue}break}return c|0}function Bi(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=I[b|0];if(!d){break a}F[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}F[a|0]=0}function BE(a,b,c){a=a|0;b=b|0;c=c|0;while(1){if((b|0)!=(c|0)){a=F[b|0];if((a|0)>=0){a=H[Tg()+(F[b|0]<<2)>>2]}F[b|0]=a;b=b+1|0;continue}break}return c|0}function Qw(a,b,c){a=a|0;b=b|0;c=c|0;a=H[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function Nw(a,b,c){a=a|0;b=b|0;c=c|0;a=H[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function Jw(a,b,c){a=a|0;b=b|0;c=c|0;a=H[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function GE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)!=(c|0)){a=H[b>>2];F[e|0]=a>>>0<128?a:d;e=e+1|0;b=b+4|0;continue}break}return c|0}function Ak(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=H[a+540>>2];H[d>>2]=0;H[d+4>>2]=0;if(e){f=d,g=Ya[H[e+84>>2]](a,b,c)|0,H[f>>2]=g}return 0}function NJ(a,b,c){a=a|0;b=b|0;c=c|0;return H[((b>>>0<=917999?I[(b&15|J[(b>>>3&62|I[(b>>>9|0)+181700|0]<<6)+203504>>1]<<4)+183494|0]:2)<<2)+220736>>2]}function yE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)!=(c|0)){a=F[b|0];F[e|0]=(a|0)>=0?a:d;e=e+1|0;b=b+1|0;continue}break}return c|0}function sD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=wb(b);d=Rc(c+13|0);H[d+8>>2]=0;H[d+4>>2]=c;H[d>>2]=c;e=a,f=mb(d+12|0,b,c+1|0),H[e>>2]=f;return a|0}function _b(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!b){break b}c=H[a+12>>2];if(!c){break b}a=Ya[c|0](a,b,H[a+16>>2])|0;if(a){break a}}a=163632}return a|0}function dD(a,b){a=a|0;b=b|0;var c=0;c=a;if(I[b+11|0]>>>7|0){a=H[b>>2]}else{a=b}if(I[b+11|0]>>>7|0){b=H[b+4>>2]}else{b=I[b+11|0]}return Ni(c,a,b)|0}function VC(a,b){a=a|0;b=b|0;var c=0;c=H[b+92>>2];H[a+40>>2]=J[b+68>>1];a:{if(ie(b,1970170211)){H[b+92>>2]=0;break a}Hn(a,b);pn(a)}he(b,c);return 0}function RC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Yc(a,H[b+8>>2],f)){Ji(b,c,d,e);return}a=H[a+8>>2];Ya[H[H[a>>2]+20>>2]](a,b,c,d,e,f)}function Ln(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Wa-16|0;Wa=c;H[b>>2]=0;d=zb(a,4,c+12|0);e=H[c+12>>2];if(!e){H[d>>2]=a;H[b>>2]=d}Wa=c+16|0;return e|0}function Un(a,b){var c=0,d=0;if(!(!a|!b)){c=H[a>>2];if(c){while(1){d=H[c+4>>2];Ya[H[b+8>>2]](b,c);c=d;if(c){continue}break}}H[a>>2]=0;H[a+4>>2]=0}}function SH(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+40>>2];while(1){if(c){c=c-1|0;d=c<<2;Ya[H[H[a+32>>2]+d>>2]](b,a,H[d+H[a+36>>2]>>2]);continue}break}}function tn(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=H[a+12>>2];if((G[a+22>>1]+b|0)+G[a+58>>1]>>>0<=K[a+4>>2]){break a}c=vc(a,b,0)}return c|0}function go(a,b){var c=0;a=H[a>>2];c=H[b+12>>2];if(c){Ya[H[a+8>>2]](a,c)}H[b+16>>2]=0;H[b+20>>2]=0;H[b+8>>2]=0;H[b+12>>2]=0;H[b>>2]=0;H[b+4>>2]=0}function IB(a,b){a=a|0;b=b|0;var c=0;c=H[a>>2];wd(c,b);H[a+24>>2]=H[c+204>>2]<<6;H[a+28>>2]=0-(H[c+208>>2]<<6);H[a+36>>2]=G[c+236>>1]<<6;return 0}function St(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=O(d);e=O(e);f=f|0;a=H[b>>2];Ya[H[a+12>>2]](a,H[b+4>>2],c,O(L[b+8>>2]*d),O(L[b+12>>2]*e),H[a+32>>2])}function oC(a,b){a=a|0;b=b|0;var c=0;c=H[a+20>>2];H[b>>2]=c<<6;H[b+8>>2]=c+H[a+32>>2]<<6;c=H[a+24>>2];H[b+12>>2]=c<<6;H[b+4>>2]=c-H[a+28>>2]<<6}function _J(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=H[a+12>>2];H[d>>2]=0;if(!(!b|!c)){e=(Ya[H[a+36>>2]](a,b,c,d,H[a+68>>2])|0)!=0}return e|0}function Jy(a){a=a|0;var b=0,c=0;H[a+28>>2]=0;b=H[a+36>>2];a:{if(!b){break a}c=H[a+32>>2];if(!c){break a}if(c){Ya[H[b+8>>2]](b,c)}H[a+32>>2]=0}}function tK(a){a=a|0;var b=0;b=a+24|0;xb(b,1668049255,1,1);a=H[64752];if(!a){Xk();a=H[64752]}if(a&4){xb(b,1801810542,1,0)}xb(b,1818847073,1,0)}function _I(){var a=0,b=0,c=0;b=Rc(4);H[65057]=0;a=aa(883,b|0)|0;c=H[65057];H[65057]=0;if((c|0)!=1){return a|0}a=$()|0;_()|0;hb(b);ba(a|0);X()}function SG(a){a=a|0;var b=0,c=0;a=H[a>>2];b=I[a|0];if(b){while(1){c=N(c,31)+(b<<24>>24)|0;b=I[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function As(a,b){a=xe(a,b);b=I[a+8|0]|I[a+9|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=163632}a=I[a|0]|I[a+1|0]<<8;return(a<<8|a>>>8)&65535}function Ri(a,b){a:{if(!a){break a}a=H[a>>2];if(!a){break a}while(1){if(H[a+8>>2]==(b|0)){return a}a=H[a+4>>2];if(a){continue}break}}return 0}function Ao(a){var b=0;b=H[a+4>>2];while(1){if((b|0)!=H[a+8>>2]){H[a+8>>2]=H[a+8>>2]-4;continue}break}if(H[a>>2]){b=H[a>>2];Do(H[a+16>>2],b)}}function tJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Wa-16|0;Wa=f;H[f+8>>2]=c;H[f>>2]=b;H[f+12>>2]=e;H[f+4>>2]=d;_o(a,f);Wa=f+16|0}function Bt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=Wa-16|0;Wa=e;a=lo(H[b+24>>2],c,d,!H[a+56>>2],e+8|0);Wa=e+16|0;return(a?0:H[e+8>>2])|0}function zb(a,b,c){if((b|0)<=0){H[c>>2]=b?6:0;return 0}a=Ya[H[a+4>>2]](a,b)|0;if(!a){H[c>>2]=!a<<6;return 0}a=kb(a,0,b);H[c>>2]=0;return a}function vb(a){a=a|0;var b=0;b=a;a=ak(a+52|0);a=I[a+18|0]|I[a+19|0]<<8;a=(a<<8|a>>>8)&65535;a=a-16>>>0<16369?a:1e3;H[b+28>>2]=a;return a|0}function te(a){a=a|0;var b=0;a=H[a>>2];b=H[a+12>>2];a:{if((b|0)==H[a+16>>2]){a=Ya[H[H[a>>2]+36>>2]](a)|0;break a}a=I[b|0]}return a<<24>>24}function _z(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+4>>2];a:{if(c){break a}d=H[a>>2];c=_m(a+16|0,b,d);if(c){break a}c=_m(a+52|0,b,d)}return c|0}function Je(a,b){var c=0;a:{if(!a|!b|(!H[a+72>>2]|!I[b|0])){break a}b=Kc(b,H[a+92>>2]);if(!b){break a}c=H[a+80>>2]+(H[b>>2]<<4)|0}return c}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;a=H[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c){d=a;while(1){H[d>>2]=H[b>>2];d=d+4|0;b=b+4|0;c=c-1|0;if(c){continue}break}}return a|0}function ZJ(a,b){a=a|0;b=b|0;a=J[a+16>>1];a=1<>>8|0:0;b=J[b+16>>1];b=1<>>8|0:0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function pq(a,b){var c=0;c=H[a+24>>2];if((c|0)==H[a+28>>2]){return Ya[H[H[a>>2]+52>>2]](a,b&255)|0}H[a+24>>2]=c+1;F[c|0]=b;return b&255}function oA(a,b){a=a|0;b=b|0;var c=0;b=H[a>>2];c=H[H[b+488>>2]+4>>2];if(!c){return 7}return Ya[c|0](H[b+100>>2],a,H[b+420>>2],38,0,b)|0}function bg(a){a=a|0;var b=0,c=0;H[a>>2]=242808;b=H[a+4>>2];c=H[b+4>>2]-1|0;H[b+4>>2]=c;if((c|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}return a|0}function PH(a,b){a=a|0;b=b|0;H[a+20>>2]=0;H[a+24>>2]=b;H[a+12>>2]=0;H[a+4>>2]=4098;H[a+8>>2]=6;H[a+16>>2]=!b;kb(a+32|0,0,40);Vo(a+28|0)}function OI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=H[b>>2]+7&-8;H[c>>2]=b+16;d=a,e=Aj(H[b>>2],H[b+4>>2],H[b+8>>2],H[b+12>>2]),M[d>>3]=e}function Ii(a,b,c,d,e,f){var g=0,h=0;g=H[a+4>>2];h=g>>8;a=H[a>>2];if(g&1){h=H[H[d>>2]+h>>2]}Ya[H[H[a>>2]+20>>2]](a,b,c,d+h|0,g&2?e:2,f)}function Ib(a){var b=0,c=0;b=Wa-16|0;Wa=b;H[65057]=0;c=H[65057];H[65057]=0;if((c|0)!=1){hq(a);Wa=b+16|0;return a}ea(0)|0;_()|0;Gb();X()}function wy(a,b){a=a|0;b=b|0;var c=0;b=H[a>>2];c=H[H[b+544>>2]+4>>2];if(!c){return 7}return Ya[c|0](H[b+100>>2],a,H[b+16>>2],63,0,b)|0}function rh(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=H[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=H[c>>2];H[a+4>>2]=d>>>b;H[a>>2]=d<<32-b|c>>>b}function QJ(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=1114109?I[(b&15|J[(b>>>3&62|I[(b>>>9|0)+164048|0]<<6)+197168>>1]<<4)+166224|0]:2)|0}function vI(a){a=a|0;var b=0;a=H[a>>2];b=H[a+12>>2];a:{if((b|0)==H[a+16>>2]){a=Ya[H[H[a>>2]+36>>2]](a)|0;break a}a=H[b>>2]}return a|0}function JI(a){a=a|0;H[a>>2]=242808;Vo(a+4|0);H[a+24>>2]=0;H[a+28>>2]=0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+8>>2]=0;H[a+12>>2]=0;return a|0}function IF(){var a=0,b=0;H[65449]=0;H[65448]=254376;H[65448]=249448;F[261804]=0;H[65450]=0;H[65448]=249020;a=261800,b=Xf(),H[a>>2]=b}function Rb(a){var b=0,c=0;b=H[a+32>>2];if(K[a+36>>2]>b+1>>>0){c=I[b|0]|I[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}H[a+32>>2]=b;return c&65535}function Lc(a,b,c,d,e){var f=0;f=Wa-16|0;Wa=f;H[f+12>>2]=c;H[f+8>>2]=e;c=xd(f,f+12|0);a=cg(a,b,d,H[f+8>>2]);Dc(c);Wa=f+16|0;return a}function zv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){H[b>>2]=H[a+152>>2]}if(c){H[c>>2]=H[a+156>>2]}if(d){H[d>>2]=H[a+160>>2]}return 0}function ph(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=H[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=H[c>>2];H[a>>2]=d<>2]=c<>>32-b}function my(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Wa-16|0;Wa=e;a=Fg(a,b,e+12|0);if(!a){Bi(c,H[e+12>>2],d)}Wa=e+16|0;return a|0}function kz(a,b){a=a|0;b=b|0;var c=0;H[a+16>>2]=b;c=I[b+7|0];b=I[b+6|0];H[a+24>>2]=-1;H[a+28>>2]=0;H[a+32>>2]=(b<<8|c)>>>1;return 0}function Vn(a,b){var c=0,d=0;if(!(!a|!b)){a=H[a>>2];while(1){if(!a){return}c=H[a+4>>2];d=Ya[b|0](a,0)|0;a=c;if(!d){continue}break}}}function Sg(a,b,c,d,e){var f=0,g=0;f=H[a+4>>2];g=f>>8;a=H[a>>2];if(f&1){g=H[H[c>>2]+g>>2]}Ya[H[H[a>>2]+24>>2]](a,b,c+g|0,f&2?d:2,e)}function RJ(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?I[(b&7|I[(b>>>3&15|I[(b>>>7|0)+176960|0]<<4)+177940|0]<<3)+179380|0]:0)|0}function xu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(Nh(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=Nh(a,b+61440|0,c)}return d|0}function sA(a,b){a=a|0;b=b|0;var c=0;b=H[a>>2];c=H[b+376>>2];H[a+16>>2]=c;H[a+20>>2]=H[b+380>>2]-c;H[a+24>>2]=H[b+384>>2];return 0}function uJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Wa-16|0;Wa=d;H[d+8>>2]=0;H[d+12>>2]=0;lo(a,b,c,0,d+8|0);Wa=d+16|0;return H[d+8>>2]}function yL(a,b,c){a=a|0;b=b|0;c=c|0;b=I[b|0]|I[b+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+c|0}else{b=163632}return(Kb(b,a)|0)!=-1|0}function RE(a){a=a|0;var b=0,c=0;b=H[H[a>>2]>>2];c=H[b+8>>2];a=H[b+4>>2];b=H[b>>2]+(c>>1)|0;if(c&1){a=H[a+H[b>>2]>>2]}Ya[a|0](b)}function wp(a,b,c,d,e,f){a=Ya[H[H[a+8>>2]+4>>2]](a+8|0)|0;a=fh(c,d,a,a+288|0,f,e,0)-a|0;if((a|0)<=287){H[b>>2]=((a|0)/12|0)%12}}function tp(a,b,c,d,e,f){a=Ya[H[H[a+8>>2]+4>>2]](a+8|0)|0;a=dh(c,d,a,a+288|0,f,e,0)-a|0;if((a|0)<=287){H[b>>2]=((a|0)/12|0)%12}}function Mw(a,b,c){a=a|0;b=b|0;c=c|0;a=H[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function IE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){H[d>>2]=F[b|0];d=d+4|0;b=b+1|0;continue}break}return c|0}function $J(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=H[a+12>>2];H[c>>2]=b;H[d>>2]=0;return(Ya[H[a+40>>2]](a,b,c,d,H[a+72>>2])|0)!=0|0}function el(a){var b=0;H[a+72>>2]=0;F[a+61|0]=0;F[a+62|0]=1;H[a+84>>2]=H[a+80>>2];b=N(H[a+68>>2],20);if(b){kb(H[a+88>>2],0,b)}}function AE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){F[d|0]=I[b|0];d=d+1|0;b=b+1|0;continue}break}return c|0}function vj(a){a=a|0;var b=0;b=H[a+12>>2];if((b|0)==H[a+16>>2]){return Ya[H[H[a>>2]+40>>2]](a)|0}H[a+12>>2]=b+1;return I[b|0]}function qA(a,b){a=a|0;b=b|0;var c=0,d=0;c=H[a+16>>2];return(c>>>0>b>>>0|H[a+20>>2]+c>>>0<=b>>>0?d:J[H[a+24>>2]+(b<<1)>>1])|0}function me(a,b){a=a|0;b=b|0;a:{if((a|0)==(b|0)){break a}while(1){b=b-1|0;if(b>>>0<=a>>>0){break a}qp(a,b);a=a+1|0;continue}}}function Zz(a){a=a|0;H[a+12>>2]=1;H[a+16>>2]=0;H[a+4>>2]=0;H[a+76>>2]=0;H[a- -64>>2]=0;H[a+52>>2]=0;H[a+40>>2]=0;H[a+28>>2]=0}function ZC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Yc(a,H[b+8>>2],0)){Ki(b,c,d);return}a=H[a+8>>2];Ya[H[H[a>>2]+28>>2]](a,b,c,d)}function Yf(a,b){a=a|0;b=b|0;a:{if((a|0)==(b|0)){break a}while(1){b=b-4|0;if(b>>>0<=a>>>0){break a}ih(a,b);a=a+4|0;continue}}}function Sz(a){a=a|0;H[a+12>>2]=2;H[a+16>>2]=0;H[a+4>>2]=0;H[a+76>>2]=0;H[a- -64>>2]=0;H[a+52>>2]=0;H[a+40>>2]=0;H[a+28>>2]=0}function Su(a){a=a|0;var b=0;b=Pl(a+156|0);if(I[b|0]|I[b+1|0]<<8){a=1}else{a=Ol(a+160|0);a=(I[a|0]|I[a+1|0]<<8)!=0}return a|0}function In(a,b,c){a=a|0;b=b|0;c=c|0;H[c>>2]=0;H[c+4>>2]=0;H[c+8>>2]=0;H[c+12>>2]=0;if(H[b+72>>2]==H[a+16>>2]){je(b+108|0,c)}}function Db(a){var b=0,c=0;if(H[a+20>>2]){b=H[a>>2];if(b){c=H[a+28>>2];Ya[H[c+8>>2]](c,b)}H[a>>2]=0}H[a+32>>2]=0;H[a+36>>2]=0}function xp(a,b,c,d,e,f){a=Ya[H[H[a+8>>2]>>2]](a+8|0)|0;a=fh(c,d,a,a+168|0,f,e,0)-a|0;if((a|0)<=167){H[b>>2]=((a|0)/12|0)%7}}function up(a,b,c,d,e,f){a=Ya[H[H[a+8>>2]>>2]](a+8|0)|0;a=dh(c,d,a,a+168|0,f,e,0)-a|0;if((a|0)<=167){H[b>>2]=((a|0)/12|0)%7}}function kp(a,b){var c=0,d=0;a:{if(!a){break a}c=H[a+28>>2];d=H[a+24>>2];if(d){Ya[d|0](a)}if(b){break a}Ya[H[c+8>>2]](c,a)}}function Yk(a,b,c,d){var e=0;e=Wa-112|0;Wa=e;cg(e,100,c,d);a=Ya[H[a+156>>2]](a,b,e,H[a+160>>2])|0;Wa=e+112|0;return(a|0)!=0}function Rz(a){a=a|0;var b=0;H[a+140>>2]=0;H[a+112>>2]=0;b=H[a+12>>2];an(a+28|0,b);an(a- -64|0,b);H[a+12>>2]=0;H[a+16>>2]=0}function xo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c){d=a;while(1){H[d>>2]=b;d=d+4|0;c=c-1|0;if(c){continue}break}}return a|0}function ue(a,b,c){a:{if(c){H[65057]=0;wq(a,b,c);a=H[65057];H[65057]=0;if((a|0)==1){break a}}return}ea(0)|0;_()|0;Gb();X()}function bc(a,b){var c=0;a:{if(!a|!H[a+20>>2]){break a}c=H[b>>2];if(!c){break a}a=H[a+28>>2];Ya[H[a+8>>2]](a,c)}H[b>>2]=0}function Wu(a,b){a=a|0;b=b|0;var c=0;b=H[H[a>>2]+132>>2];c=I[b+104|0];H[a+16>>2]=c;H[a+20>>2]=(I[b+105|0]-c|0)+1;return 0}function $i(a,b,c){c=H[c>>2];while(1){a:{if((a|0)!=(b|0)){if((c|0)!=H[a>>2]){break a}}else{a=b}return a}a=a+4|0;continue}}function tC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Od(H[a>>2],c,11828);if(!a){return 64}H[d>>2]=a;H[e>>2]=0;return 0}function sC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Od(H[a>>2],c,11927);if(!a){return 64}H[d>>2]=a;H[e>>2]=0;return 0}function mq(a){var b=0;b=H[a+12>>2];if((b|0)==H[a+16>>2]){return Ya[H[H[a>>2]+40>>2]](a)|0}H[a+12>>2]=b+4;return H[b>>2]}function XE(a,b){a=a|0;b=b|0;var c=0;if(Go()>>>0>>0){Fo();X()}c=Eo(a+16|0,b);H[a>>2]=c;H[a+4>>2]=c;H[a+8>>2]=(b<<2)+c}function pC(a,b){a=a|0;b=b|0;var c=0;c=H[a>>2];H[b+20>>2]=H[a+20>>2];H[b+24>>2]=H[a+24>>2];return Tn(c,a+28|0,b+28|0)|0}function cj(a,b,c){c=I[c|0];while(1){a:{if((a|0)!=(b|0)){if((c|0)!=I[a|0]){break a}}else{a=b}return a}a=a+1|0;continue}}function Kk(){var a=0;a=Ab(1,228);if(!a){return 258392}H[a+8>>2]=0;H[a>>2]=1;H[a+4>>2]=1;mb(a+156|0,258548,72);return a}function EI(a){a=a|0;var b=0;if((Ya[H[H[a>>2]+36>>2]](a)|0)==-1){return-1}b=a;a=H[a+12>>2];H[b+12>>2]=a+1;return I[a|0]}function qn(a,b){a=a|0;b=b|0;a=H[a+4>>2]|H[a>>2]<<16;b=H[b+4>>2]|H[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function TB(a,b){a=a|0;b=b|0;var c=0;c=H[a>>2];a=H[a+4>>2];ge(b,c>>6,a>>6);H[b+212>>2]=a<<2;H[b+208>>2]=c<<2;return 0}function Eo(a,b){var c=0;c=Wa-16|0;Wa=c;a:{if(!(I[a+120|0]|b>>>0>30)){F[a+120|0]=1;break a}a=Co(b)}Wa=c+16|0;return a}function _h(a){a=a|0;var b=0,c=0;b=H[H[a>>2]+100>>2];c=H[a+20>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+16>>2]=0;H[a+20>>2]=0}function _G(a,b){a=a|0;b=b|0;a:{a=H[a>>2];b=H[b>>2];if(I[a|0]!=I[b|0]){break a}if(rb(a,b)){break a}return 1}return 0}function Ix(a){a=a|0;var b=0,c=0;b=H[a+868>>2];if(b){c=H[a+100>>2];bc(H[a+104>>2],b+12|0);if(b){Ya[H[c+8>>2]](c,b)}}}function Hx(a){a=a|0;var b=0,c=0;b=H[a+872>>2];if(b){c=H[a+100>>2];bc(H[a+104>>2],b+16|0);if(b){Ya[H[c+8>>2]](c,b)}}}function yC(a){a=a|0;var b=0,c=0;b=H[a>>2];if(b){c=H[a+28>>2];Ya[H[c+8>>2]](c,b)}H[a>>2]=0;H[a+4>>2]=0;H[a+24>>2]=0}function xd(a,b){var c=0;c=H[64925];b=H[b>>2];if(b){H[64925]=(b|0)==-1?259580:b}H[a>>2]=(c|0)==259580?-1:c;return a}function _p(a,b,c,d,e,f,g,h,i){H[a>>2]=b;H[a+4>>2]=c;H[a+8>>2]=d;H[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Xo(a){var b=0;b=H[a>>2];H[a>>2]=0;if(b){a=H[b+4>>2]-1|0;H[b+4>>2]=a;if((a|0)==-1){Ya[H[H[b>>2]+8>>2]](b)}}}function Em(a){a=a|0;var b=0,c=0;b=H[a+28>>2];c=H[a>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a>>2]=0;H[a+4>>2]=0;H[a+24>>2]=0}function lC(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=ao(H[a>>2],G[a+22>>1],G[a+20>>1],b);if(!c){$n(a+20|0,b)}return c|0}function dy(a,b){a=a|0;b=b|0;var c=0;c=Ya[H[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=Mb(b,95152,a+160|0)}return c|0}function _x(a,b){a=a|0;b=b|0;var c=0;c=Ya[H[a+516>>2]](a,1886352244,b,0)|0;if(!c){c=Mb(b,95648,a+476|0)}return c|0}function Vx(a,b){a=a|0;b=b|0;var c=0;c=Ya[H[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=Mb(b,95776,a+568|0)}return c|0}function Ux(a,b){a=a|0;b=b|0;var c=0;c=Ya[H[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=Mb(b,95152,a+160|0)}return c|0}function kq(a,b){a=a|0;b=b|0;var c=0;c=H[a>>2];a:{if(!c){break a}if((pq(c,b)|0)!=-1){break a}H[a>>2]=0}return a|0}function Le(a){var b=0,c=0;b=H[a+32>>2];if(K[a+36>>2]>b+1>>>0){c=I[b|0]|I[b+1|0]<<8;b=b+2|0}H[a+32>>2]=b;return c}function ZI(a){a=a|0;var b=0,c=0;if(a){b=H[a>>2];if(b){c=H[b+24>>2];if(c){hb(c)}Jj(b+4|0,H[b+8>>2]);hb(b)}hb(a)}}function md(a){a:{a=H[a+4>>2]&74;if(a){if((a|0)==64){return 8}if((a|0)!=8){break a}return 16}return 0}return 10}function gx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=b<<2;d=H[b+H[a+388>>2]>>2];c=pb(c,Dg(a));H[b+H[a+388>>2]>>2]=c+d}function bp(a,b){var c=0;c=Wa-16|0;Wa=c;H[c+8>>2]=H[a>>2];H[c+8>>2]=H[c+8>>2]+(b<<2);Wa=c+16|0;return H[c+8>>2]}function xI(a){a=a|0;var b=0;b=H[a+12>>2];if((b|0)==H[a+16>>2]){return Ya[H[H[a>>2]+36>>2]](a)|0}return I[b|0]}function iC(a,b){a=a|0;b=b|0;H[a+24>>2]=H[b+20>>2];H[a+4>>2]=H[b>>2];H[a+28>>2]=H[b+24>>2];On(a,b,0);On(a,b,1)}function Yc(a,b,c){if(!c){return H[a+4>>2]==H[b+4>>2]}if((a|0)==(b|0)){return 1}return!rb(H[a+4>>2],H[b+4>>2])}function Iw(a,b,c){a=a|0;b=b|0;c=c|0;c=Cg(a,b,c,1);if(!c){H[a+8>>2]=H[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function II(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;H[a+8>>2]=-1;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0}function vp(a,b,c,d,e){b=Hd(b,c,d,e,4);if(!(I[d|0]&4)){H[a>>2]=((b|0)<69?b+2e3|0:(b|0)<100?b+1900|0:b)-1900}}function sp(a,b,c,d,e){b=Gd(b,c,d,e,4);if(!(I[d|0]&4)){H[a>>2]=((b|0)<69?b+2e3|0:(b|0)<100?b+1900|0:b)-1900}}function ku(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;H[d>>2]=0;H[d+4>>2]=0;H[d+8>>2]=0;H[d+12>>2]=0;return 0}function xy(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;H[c+12>>2]=0;Fg(a,b,c+12|0);Wa=c+16|0;return H[c+12>>2]}function xF(){H[65471]=0;H[65470]=254376;H[65470]=249448;H[65472]=46;H[65473]=44;H[65470]=249160;Ib(261896)}function Bb(a,b){var c=0;c=b;b=wb(b);if(ub(a,c,b)){a=0}else{a=I[a+b|0];if(!a){return 1}a=(a|0)==45}return a}function gp(a,b){var c=0;c=Wa-16|0;Wa=c;H[c+8>>2]=H[a>>2];H[c+8>>2]=H[c+8>>2]+b;Wa=c+16|0;return H[c+8>>2]}function dd(a){var b=0;b=Wa-16|0;Wa=b;if(I[a+11|0]>>>7|0){a=H[a>>2]}H[b+8>>2]=a;Wa=b+16|0;return H[b+8>>2]}function Xf(){var a=0;H[65057]=0;a=H[65057];H[65057]=0;if((a|0)!=1){return H[61218]}ea(0)|0;_()|0;Gb();X()}function Ug(){var a=0;H[65057]=0;a=H[65057];H[65057]=0;if((a|0)!=1){return H[61412]}ea(0)|0;_()|0;Gb();X()}function Tg(){var a=0;H[65057]=0;a=H[65057];H[65057]=0;if((a|0)!=1){return H[61800]}ea(0)|0;_()|0;Gb();X()}function zJ(a){a=a|0;var b=0;b=H[a+32>>2];if(!b){return 3}qd(a,H[H[a+16>>2]>>2]);H[b+184>>2]=513;return 0}function Sm(a,b){a=a|0;b=b|0;a=H[H[a>>2]+4>>2];b=H[H[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Ro(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;H[e>>2]=c;H[h>>2]=f;return 3}function xC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;H[d>>2]=0;if(!b){return 81}return Ne(b,333319,e)|0}function wC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;H[d>>2]=0;if(!b){return 81}return Ne(b,333312,e)|0}function ih(a,b){var c=0;c=Wa-16|0;Wa=c;H[c+12>>2]=H[a>>2];H[a>>2]=H[b>>2];H[b>>2]=H[c+12>>2];Wa=c+16|0}function IG(a){a=a|0;a=H[a>>2];return N(N(N(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function fC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Wa-16|0;Wa=d;a=zb(a,N(b,c),d+12|0);Wa=d+16|0;return a|0}function Ry(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;H[c+12>>2]=b;a=Lm(a,c+12|0,0);Wa=c+16|0;return a|0}function Gw(a,b){a=a|0;b=b|0;b=H[a>>2];H[a+16>>2]=H[H[b+140>>2]+52>>2];H[a+20>>2]=H[b+144>>2];return 0}function FH(a){a=a|0;var b=0;b=H[64925];if(a){H[64925]=(a|0)==-1?259580:a}return((b|0)==259580?-1:b)|0}function hh(a){a:{H[65057]=0;hb(a);a=H[65057];H[65057]=0;if((a|0)!=1){break a}ea(0)|0;_()|0;Gb();X()}}function zF(){H[65465]=0;H[65464]=254376;H[65464]=249448;G[130932]=11310;H[65464]=249120;Ib(261868)}function hL(a,b){a=a|0;b=b|0;a=H[a+712>>2];F[b|0]=0;if(!(!a|H[a+1504>>2]==65535)){F[b|0]=1}return 0}function Ci(a,b,c){if((b|0)>0){a=Ya[H[a+4>>2]](a,b)|0;H[c>>2]=!a<<6;return a}H[c>>2]=b?6:0;return 0}function yw(a,b,c){a=a|0;b=b|0;c=c|0;if(rb(b,10673)){a=12}else{H[c>>2]=H[a- -64>>2];a=0}return a|0}function vJ(a){a=a|0;var b=0;a:{if(!a){break a}a=H[a+88>>2];if(!a){break a}b=H[a+36>>2]}return b|0}function iy(a,b){a=a|0;b=b|0;var c=0;c=H[H[a+12>>2]+48>>2];if(!c){return 150}return Ya[c|0](a,b)|0}function QE(a,b,c){a=a|0;b=b|0;c=c|0;if(c>>>0<=127){a=(J[Xf()+(c<<1)>>1]&b)!=0}else{a=0}return a|0}function ss(a,b,c){a=a|0;b=b|0;c=c|0;c=a;a=I[b|0]|I[b+1|0]<<8;return(c|0)==((a<<8|a>>>8)&65535)|0}function qp(a,b){var c=0;c=Wa-16|0;Wa=c;F[c+15|0]=I[a|0];F[a|0]=I[b|0];F[b|0]=I[c+15|0];Wa=c+16|0}function ju(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;H[f>>2]=0;H[e>>2]=0;return 0}function YL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ya[H[H[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Tb(){var a=0;H[65057]=0;a=H[65057];H[65057]=0;if((a|0)!=1){return}ea(0)|0;_()|0;Gb();X()}function Bo(a,b){var c=0;c=H[a+4>>2];while(1){if((b|0)!=(c|0)){c=c-4|0;continue}break}H[a+4>>2]=b}function jo(a){var b=0;a:{a=H[a>>2]-12|0;b=H[a+8>>2]-1|0;H[a+8>>2]=b;if((b|0)>=0){break a}hb(a)}}function jj(a){a=a|0;if((a|0)!=0&(a|0)!=244744&(a|0)!=244768&(a|0)!=260252&(a|0)!=260276){hb(a)}}function Io(a){H[65057]=0;hb(a);a=H[65057];H[65057]=0;if((a|0)!=1){return}ea(0)|0;_()|0;Gb();X()}function Do(a,b){var c=0;c=Wa-16|0;Wa=c;a:{if((a|0)==(b|0)){F[a+120|0]=0;break a}Io(b)}Wa=c+16|0}function sv(a){a=a|0;var b=0;b=oc(H[a+4>>2],10174);if(!b){return 11}H[a+28>>2]=H[b>>2];return 0}function dI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ya[H[H[b>>2]+16>>2]](a,b,H[c+8>>2],H[c+12>>2],0,d)}function QC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Yc(a,H[b+8>>2],f)){Ji(b,c,d,e)}}function Nt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=H[b>>2];Ya[H[a+28>>2]](a,H[b+4>>2],c,H[a+48>>2])}function Gn(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[H[a+12>>2]+56>>2]+12>>2]](H[a+52>>2],b,c)|0}function zz(a,b,c){a=a|0;b=b|0;c=c|0;c=H[a+104>>2];G[a+144>>1]=0-c;H[a+140>>2]=0-N(G[b>>1],c)}function hq(a){var b=0;b=a;a=0;while(1){if((a|0)!=3){H[(a<<2)+b>>2]=0;a=a+1|0;continue}break}}function To(a){a=a|0;var b=0;H[a>>2]=249020;b=H[a+8>>2];if(!(!b|!I[a+12|0])){hb(b)}return a|0}function HI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;H[a+8>>2]=-1;H[a+12>>2]=-1;H[a>>2]=0;H[a+4>>2]=0}function HC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Ya[a|0](b,c,d,e)|0;La(Xa|0);return a|0}function nv(a){a=a|0;if(Ri(H[H[a>>2]+504>>2]+108|0,H[a+44>>2])){Ko(H[a+44>>2]);H[a+44>>2]=0}}function Op(a){var b=0,c=0;c=a;while(1){b=c;c=b+4|0;if(H[b>>2]){continue}break}return b-a>>2}function LK(a){a=a|0;a=a+24|0;xb(a,1818914159,0,1);xb(a,1986686319,0,1);xb(a,1953131887,0,1)}function pz(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=0;H[b>>2]=I[a+5|0]|I[a+4|0]<<8;return 0}function lz(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=2;H[b>>2]=I[a+5|0]|I[a+4|0]<<8;return 0}function kC(a,b,c){a=a|0;b=b|0;c=c|0;if(b){Td(a+20|0,b)}if(c){yc(a+20|0,H[c>>2],H[c+4>>2])}}function fz(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=4;H[b>>2]=I[a+5|0]|I[a+4|0]<<8;return 0}function fI(a,b){a=a|0;b=b|0;var c=0;c=Wa-16|0;Wa=c;Wa=c+16|0;return(K[b>>2]>2]?b:a)|0}function az(a,b){a=a|0;b=b|0;a=H[a+16>>2];H[b+4>>2]=6;H[b>>2]=I[a+5|0]|I[a+4|0]<<8;return 0}function _A(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;tc(a,H[a+8>>2]);return ef(a,H[a+8>>2],b,c,d)|0}function YB(a,b,c){a=a|0;b=b|0;c=c|0;if(b){H[b>>2]=H[a+10056>>2]}if(c){H[c>>2]=H[a+252>>2]}}function HA(a){a=a|0;var b=0,c=0;b=H[a>>2];c=H[a+4>>2];if(c){Ya[H[b+8>>2]](b,c)}H[a+4>>2]=0}function lK(a,b){a=a|0;b=b|0;a=I[a+19|0];b=I[b+19|0];return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function fm(a,b,c){a=a|0;b=b|0;c=c|0;if(b){H[b>>2]=H[a+7928>>2]}if(c){H[c>>2]=H[a+252>>2]}}function bl(a){if(!H[a+4>>2]){return}H[a+68>>2]=0;H[a+132>>2]=0;H[a+36>>2]=0;H[a+136>>2]=0}function VH(a,b,c){a=a|0;b=b|0;c=c|0;if(!((c|0)==1|(c|0)>256)){Mi(a,c);return}nd(a,238339)}function mu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;H[e>>2]=0;H[d>>2]=0;return 1}function lu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;H[e>>2]=0;H[d>>2]=0;return 0}function Ud(a,b,c,d){var e=0;e=Wa-16|0;Wa=e;H[e+12>>2]=d;a=cg(a,b,c,d);Wa=e+16|0;return a}function Tw(a,b){a=a|0;b=b|0;a=H[a+4>>2];b=H[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Jc(a,b,c){b=Nb(a,b);if(!b){H[c>>2]=H[a+32>>2];H[a+32>>2]=0;H[a+36>>2]=0}return b}function Sw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=H[b+12>>2]+(c<<3)|0;H[a+4>>2]=H[a+4>>2]+d}function Pp(a,b){var c=0;c=Wa-16|0;Wa=c;H[c+12>>2]=b;a=Rp(a,238823,b);Wa=c+16|0;return a}function DJ(){var a=0;a=Wa-16|0;Wa=a;H[a+12>>2]=0;Pn(a+12|0);Wa=a+16|0;return H[a+12>>2]}function px(a){a=a|0;H[a+304>>2]=-1;H[a+308>>2]=-1;H[a+116>>2]=-1;F[a+112|0]=0;return 0}function LM(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function _l(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Bi(c,H[H[a+424>>2]+(b<<2)>>2],d);return 0}function Nx(a){a=a|0;bc(H[a+104>>2],a+788|0);H[a+800>>2]=0;H[a+792>>2]=0;H[a+796>>2]=0}function Mv(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Ya[H[b+52>>2]](b,0,0,0)|0,H[c+544>>2]=d}function dG(a,b,c){a=a|0;b=b|0;c=c|0;c=vj(H[b>>2])<<24;H[a+4>>2]=H[b>>2];F[a|0]=c>>24}function XD(a){a=a|0;a=260920;while(1){a=nb(a-12|0);if((a|0)!=260752){continue}break}}function WK(a,b){a=a|0;b=b|0;a=J[a>>1];b=J[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function VD(a){a=a|0;a=261096;while(1){a=Sb(a-12|0);if((a|0)!=260928){continue}break}}function TD(a){a=a|0;a=261392;while(1){a=nb(a-12|0);if((a|0)!=261104){continue}break}}function RH(a,b){a=a|0;b=b|0;var c=0;c=a;a=H[b+28>>2];H[c>>2]=a;H[a+4>>2]=H[a+4>>2]+1}function RD(a){a=a|0;a=261696;while(1){a=Sb(a-12|0);if((a|0)!=261408){continue}break}}function Pi(){var a=0;a=sa(4)|0;H[a>>2]=257388;H[a>>2]=257368;ra(a|0,257440,1372);X()}function PD(a){a=a|0;a=261736;while(1){a=nb(a-12|0);if((a|0)!=261712){continue}break}}function ND(a){a=a|0;a=261768;while(1){a=Sb(a-12|0);if((a|0)!=261744){continue}break}}function Ly(a,b,c){a=a|0;b=b|0;c=c|0;H[b>>2]=H[a+132>>2];H[c>>2]=H[a+136>>2];return 0}function HB(a,b,c){a=a|0;b=b|0;c=c|0;H[b>>2]=H[a+176>>2];H[c>>2]=H[a+180>>2];return 0}function AC(a,b){a=a|0;b=b|0;a=G[a>>1];b=G[b>>1];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function iu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){F[d|0]=0}return 0}function Vw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=H[b+12>>2]+(c<<3)|0;H[a>>2]=H[a>>2]+d}function Tu(a,b){a=a|0;b=b|0;return Ya[H[H[H[H[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function EE(a,b){a=a|0;b=b|0;if((b|0)>=0){b=H[Ug()+((b&255)<<2)>>2]}return b<<24>>24}function CE(a,b){a=a|0;b=b|0;if((b|0)>=0){b=H[Tg()+((b&255)<<2)>>2]}return b<<24>>24}function fH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ya[H[H[a>>2]+32>>2]](a,b,c,d)|0}function av(a,b){a=a|0;b=b|0;return Ya[H[H[H[H[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function TG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ya[H[H[a>>2]+48>>2]](a,b,c,d)|0}function ah(a,b,c){a=a|0;b=b|0;c=c|0;H[a>>2]=H[b>>2];H[a+4>>2]=H[c>>2];return a|0}function Vu(a,b){a=a|0;b=b|0;b=b-H[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function yD(a){a=a|0;if(!I[260740]){gf(260728,249392);F[260740]=1}return 260728}function iD(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>=257){nd(a,238375);return}Mi(a,c)}function gD(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)>=257){nd(a,238305);return}Mi(a,c)}function Mt(a){a=a|0;var b=0;if(I[a+33|0]){b=H[a+24>>2];if(b){Qg(b)}}Tb();hb(a)}function Mk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;H[e>>2]=0;return 0}function MD(a){a=a|0;if(!I[260628]){nd(260616,238028);F[260628]=1}return 260616}function KD(a){a=a|0;if(!I[260644]){gf(260632,249236);F[260644]=1}return 260632}function ID(a){a=a|0;if(!I[260660]){nd(260648,239202);F[260660]=1}return 260648}function GD(a){a=a|0;if(!I[260676]){gf(260664,249272);F[260676]=1}return 260664}function ED(a){a=a|0;if(!I[260692]){nd(260680,239175);F[260692]=1}return 260680}function DH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Wa-16|0;Wa=b;gq(a,c,d);Wa=b+16|0}function CD(a){a=a|0;if(!I[260708]){gf(260696,249308);F[260708]=1}return 260696}function AH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Wa-16|0;Wa=b;Jp(a,c,d);Wa=b+16|0}function AD(a){a=a|0;if(!I[260724]){nd(260712,238486);F[260724]=1}return 260712}function YF(a,b,c){a=a|0;b=b|0;c=c|0;c=mq(H[b>>2]);H[a+4>>2]=H[b>>2];H[a>>2]=c}function BM(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+548>>2]+12>>2]](a,b,c)|0} +function vM(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+548>>2]+20>>2]](a,b,c)|0}function tM(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+548>>2]+24>>2]](a,b,c)|0}function fx(a,b,c){a=a|0;b=b|0;c=c|0;c=pb(c,Dg(a));H[H[a+388>>2]+(b<<2)>>2]=c}function eM(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+548>>2]+32>>2]](a,b,c)|0}function dM(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+548>>2]+36>>2]](a,b,c)|0}function cx(a,b,c){a=a|0;b=b|0;c=c|0;a=H[a+388>>2]+(b<<2)|0;H[a>>2]=H[a>>2]+c}function _C(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Yc(a,H[b+8>>2],0)){Ki(b,c,d)}}function KM(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Ez(a){a=a|0;Ya[H[H[H[a+12>>2]+56>>2]+8>>2]](H[a+52>>2],0,0);return 0}function FM(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+548>>2]+8>>2]](a,b,c)|0}function sJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return mo(a,b,c,d,e)|0}function rz(a,b){a=a|0;b=b|0;return(b>>>0<=255?I[(H[a+16>>2]+b|0)+6|0]:0)|0}function kD(a,b,c){a=a|0;b=b|0;c=c|0;return H[b>>2]==(c|0)&H[b+4>>2]==(a|0)}function Zv(a,b){a=a|0;b=b|0;return(b>>>0<=255?J[H[a+16>>2]+(b<<1)>>1]:0)|0}function QL(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a+552>>2]>>2]](a,b,c)|0} +function xc(a,b,c){var d=0;d=Wa-16|0;Wa=d;H[d+12>>2]=c;zq(a,b,c);Wa=d+16|0}function dC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return yi(H[a+12>>2],b,c,d)|0}function ac(a){a=a|0;var b=0;b=H[a+32>>2];if((b|0)==-1){b=Hc(a)}return b|0}function ME(a,b){a=a|0;b=b|0;if(b>>>0<=127){b=H[Ug()+(b<<2)>>2]}return b|0}function KE(a,b){a=a|0;b=b|0;if(b>>>0<=127){b=H[Tg()+(b<<2)>>2]}return b|0}function Cv(a){a=a|0;a=H[a+140>>2];if(!a){return 0}return a+(I[a|0]==47)|0}function uy(a,b){a=a|0;b=b|0;return Ya[H[H[H[a>>2]+544>>2]+12>>2]](a,b)|0}function uI(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a>>2]+12>>2]](a,b,c)|0}function oy(a){a=a|0;return(a>>>0<=127?I[(a>>>3|0)+94544|0]&1<<(a&7):0)|0}function lA(a,b){a=a|0;b=b|0;return Ya[H[H[H[a>>2]+488>>2]+12>>2]](a,b)|0}function jq(a,b,c){a=a|0;b=b|0;c=c|0;return Ya[H[H[a>>2]+48>>2]](a,b,c)|0}function wA(a){a=a|0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0;H[a+28>>2]=0}function vy(a,b){a=a|0;b=b|0;return Ya[H[H[H[a>>2]+544>>2]+8>>2]](a,b)|0}function rF(){H[65487]=0;H[65486]=254376;H[65486]=249448;H[65486]=252060}function mF(){H[65495]=0;H[65494]=254376;H[65494]=249448;H[65494]=252556}function mA(a,b){a=a|0;b=b|0;return Ya[H[H[H[a>>2]+488>>2]+8>>2]](a,b)|0}function kF(){H[65497]=0;H[65496]=254376;H[65496]=249448;H[65496]=252720}function iF(){H[65499]=0;H[65498]=254376;H[65498]=249448;H[65498]=252884}function gF(){H[65501]=0;H[65500]=254376;H[65500]=249448;H[65500]=253048}function fp(a,b){var c=0;c=H[b>>2];H[b>>2]=0;wc(a,c);H[a+4>>2]=H[b+4>>2]}function ex(a,b){a=a|0;b=b|0;return ib(H[H[a+388>>2]+(b<<2)>>2],Dg(a))|0}function _E(){H[65519]=0;H[65518]=254376;H[65518]=249448;H[65518]=253212}function su(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;H[d>>2]=0;return 0}function bB(a,b){a=a|0;b=b|0;tc(a,H[a+8>>2]);return Cd(a,H[a+8>>2],b)|0}function Ui(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;H[e>>2]=c;return 3}function wD(a,b,c){a=a|0;b=b|0;c=c|0;H[a>>2]=0;F[a+128|0]=0;return a|0}function ke(a,b){a=a|0;b=b|0;F[a|0]=2;F[a+1|0]=3;F[a+2|0]=0;F[a+3|0]=4}function jw(a,b){a=a|0;b=b|0;H[a+16>>2]=H[H[a>>2]+712>>2]+668;return 0}function aC(a){a=a|0;Oq(H[a+12>>2]);H[a+12>>2]=0;H[a>>2]=0;H[a+4>>2]=0}function OH(a){a=a|0;H[a+16>>2]=H[a+16>>2]|1;if(F[a+20|0]&1){Fa();X()}}function Gz(a){a=a|0;return(a>>>0<=390?G[(a<<1)+35632>>1]+31408|0:0)|0}function Lj(a,b){a=a|0;b=b|0;a=sa(4)|0;H[a>>2]=b;ra(a|0,257128,0);X()}function EM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ok(a,b,c,d,0,0)|0}function wM(a,b){a=a|0;b=b|0;return Ya[H[H[a+548>>2]+16>>2]](a,b)|0} +function Rg(a,b,c,d,e){b=Ja(a|0,b|0,c|0,d|0,e|0)|0;Xa=_()|0;return b}function Pe(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function NF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Zi(a,f)}function Hz(a){a=a|0;return G[((a>>>0>257?0:a)<<1)+35104>>1]+31408|0}function Eu(a){a=a|0;if(!(!a|!H[a>>2])){H[a>>2]=H[a>>2]+1}return a|0}function iM(a,b){a=a|0;b=b|0;return Ya[H[H[a+548>>2]+28>>2]](a,b)|0}function UL(a){a=a|0;var b=0;b=H[a+548>>2];if(b){Ya[H[b+44>>2]](a)}}function SB(a,b){a=a|0;b=b|0;ui(b,H[a>>2]<<2,H[a+4>>2]<<2);return 0}function qC(a){a=a|0;var b=0;b=H[a>>2];a=a+28|0;if(a?b:0){go(b,a)}}function TE(a){a=a|0;var b=0;b=H[65125]+1|0;H[65125]=b;H[a+4>>2]=b}function Lp(a,b,c){a=a|0;b=b|0;c=c|0;return _f(0,a,b,c?c:260304)|0}function HE(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<128?b:c)<<24>>24}function Co(a){if(a>>>0>1073741823){nj(238847);X()}return Rc(a<<2)}function MI(a,b){a=a|0;b=b|0;if(!H[65057]){H[65058]=b;H[65057]=a}}function EC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Uk(a,b,c,d)|0}function vD(a){a=a|0;var b=0,c=0;b=a,c=lc(),H[b>>2]=c;return a|0}function QK(a,b,c){a=a|0;b=b|0;c=c|0;kr(H[a+124>>2],b,H[a+4>>2])}function OC(a){a=a|0;if(!a){return 0}return(oo(a,257032)|0)!=0|0}function Kn(a){a=a|0;var b=0;b=H[a>>2];if(a){Ya[H[b+8>>2]](b,a)}}function xH(a,b){a=a|0;b=b|0;return Ya[H[H[a>>2]+12>>2]](a,b)|0}function fq(a){a=a|0;H[a>>2]=243056;nb(a+32|0);bg(a);return a|0}function cq(a,b){a=a|0;b=b|0;return Ya[H[H[a>>2]+28>>2]](a,b)|0}function bx(a,b,c){a=a|0;b=b|0;c=c|0;H[H[a+388>>2]+(b<<2)>>2]=c}function ZH(a,b){a=a|0;b=b|0;return Ya[H[H[a>>2]+44>>2]](a,b)|0}function Xu(a,b){a=a|0;b=b|0;mb(b,H[a+132>>2]+4|0,156);return 0}function LH(a,b){a=a|0;b=b|0;return a-48>>>0<10|(a|32)-97>>>0<6}function qu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return H[a+20>>2]}function pu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return H[a+24>>2]}function aL(a){a=a|0;return(a>>>0<=255?J[(a<<1)+24864>>1]:0)|0}function xv(a,b,c){a=a|0;b=b|0;c=c|0;if(c){H[c>>2]=b}return 0}function _B(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Eb(d,c)|0}function Mf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function Ey(a,b){a=a|0;b=b|0;H[b>>2]=-1;H[b+4>>2]=14;return 0}function nA(a,b){a=a|0;b=b|0;return H[H[a+424>>2]+(b<<2)>>2]}function hu(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function ax(a,b){a=a|0;b=b|0;return H[H[a+388>>2]+(b<<2)>>2]}function Dw(a,b){a=a|0;b=b|0;H[H[a+8>>2]+308>>2]=-1;return 0}function DB(a,b){a=a|0;b=b|0;H[a+16>>2]=H[a>>2]+296;return 0}function zE(a,b,c){a=a|0;b=b|0;c=c|0;return((b|0)>=0?b:c)|0}function vg(a){var b=0;b=H[a+28>>2];if(!b){b=vb(a)}return b}function rA(a){a=a|0;H[a+16>>2]=0;H[a+20>>2]=0;H[a+24>>2]=0}function WJ(a){a=a|0;return!(I[a+16|0]&32?I[a+12|0]&16:1)|0}function UJ(a){a=a|0;return((a-65&255)>>>0<26?a+32|0:a)&255}function TJ(a){a=a|0;return((a-97&255)>>>0<26?a-32|0:a)&255}function Jj(a,b){if(b){Jj(a,H[b>>2]);Jj(a,H[b+4>>2]);hb(b)}}function mD(a,b,c){a=a|0;b=b|0;c=c|0;H[a+4>>2]=b;H[a>>2]=c}function cK(a){a=a|0;var b=0;b=H[a+4>>2];if(b){lr(b)}hb(a)}function py(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function Yl(a,b){a=a|0;b=b|0;G[b>>1]=J[a+164>>1];return 0}function No(a){a=a|0;H[a>>2]=249120;nb(a+12|0);return a|0}function Mo(a){a=a|0;H[a>>2]=249160;nb(a+16|0);return a|0}function Av(a,b){a=a|0;b=b|0;G[b>>1]=J[a+312>>1];return 0}function ko(a){a=a|0;H[a>>2]=257460;jo(a+4|0);return a|0}function Hi(a){a=a|0;H[a>>2]=257480;jo(a+4|0);return a|0}function FJ(a,b,c){a=a|0;b=b|0;c=c|0;return tb(N(b,c))|0}function Cz(a){a=a|0;H[a+140>>2]=H[a+140>>2]+G[a+144>>1]}function wu(a,b,c){a=a|0;b=b|0;c=c|0;return Nh(a,b,c)|0}function vu(a,b,c){a=a|0;b=b|0;c=c|0;return Qk(a,b,c)|0}function rJ(a,b,c){a=a|0;b=b|0;c=c|0;return Kd(a,b,c)|0}function nb(a){if(I[a+11|0]>>>7|0){hh(H[a>>2])}return a}function jA(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function aD(a,b,c){a=a|0;b=b|0;c=c|0;return Yc(a,b,0)|0}function Xl(a,b){a=a|0;b=b|0;mb(b,a+168|0,196);return 0}function Sb(a){if(I[a+11|0]>>>7|0){Io(H[a>>2])}return a}function Mx(a,b,c){a=a|0;b=b|0;c=c|0;return Ho(a,b,c)|0}function Kp(a,b,c,d){a=Cj(a,b,c,0,-2147483648);return a}function tI(a){a=a|0;return sj(H[H[a>>2]-12>>2]+a|0)|0}function oI(a){a=a|0;return jh(H[H[a>>2]-12>>2]+a|0)|0}function gC(a,b){a=a|0;b=b|0;if(b){Ya[H[a+8>>2]](a,b)}}function aI(a){a=a|0;return eg(H[H[a>>2]-12>>2]+a|0)|0}function Sv(a,b){a=a|0;b=b|0;H[b+376>>2]=H[b+376>>2]|1}function PG(a,b){a=a|0;b=b|0;return H[a>>2]==H[b>>2]|0}function Lk(a){a=a|0;a=H[a+156>>2];if(a){H[a+36>>2]=0}}function Ip(a,b){a=a|0;b=b|0;Ya[H[H[b>>2]+24>>2]](a,b)}function IJ(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function Hp(a,b){a=a|0;b=b|0;Ya[H[H[b>>2]+28>>2]](a,b)}function FB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function CI(a){a=a|0;return yj(H[H[a>>2]-12>>2]+a|0)|0}function Bp(a,b){a=a|0;b=b|0;Ya[H[H[b>>2]+20>>2]](a,b)}function yI(a){a=a|0;return Ya[H[H[a>>2]+24>>2]](a)|0}function HJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Dp(a){a=a|0;return Ya[H[H[a>>2]+12>>2]](a)|0}function Cp(a){a=a|0;return Ya[H[H[a>>2]+16>>2]](a)|0}function Ac(a,b){a=Hq(a,b);return I[a|0]==(b&255)?a:0}function yv(a,b){a=a|0;b=b|0;if(b){F[b|0]=1}return 0}function Zo(a){if(H[a>>2]){Yo(a);Do(a+16|0,H[a>>2])}}function dx(a){a=a|0;return ib(J[a+256>>1],Dg(a))|0}function Il(a,b){a=a|0;b=b|0;return I[b+16|0]>>>7|0}function GM(a){if(a){return 31-Q(a-1^a)|0}return 32}function tz(a,b){a=a|0;b=b|0;H[a+16>>2]=b;return 0}function rv(a,b){a=a|0;b=b|0;return ld(102400,b)|0}function cv(a,b){a=a|0;b=b|0;return ld(103296,b)|0}function cJ(a){a=a|0;if(F[259535]<0){hb(H[64881])}}function Lv(a,b){a=a|0;b=b|0;return ld(100288,b)|0}function yq(a,b){if(!a){return 0}return nh(a,b,0)}function xB(a,b){a=a|0;b=b|0;return ld(30144,b)|0}function ww(a,b){a=a|0;b=b|0;return ld(98320,b)|0}function uz(a,b){a=a|0;b=b|0;return ld(93728,b)|0}function dA(a,b){a=a|0;b=b|0;return ld(21600,b)|0}function QI(a,b){a=a|0;b=b|0;return a-48>>>0<10|0}function Mz(a,b){a=a|0;b=b|0;return ld(93616,b)|0}function MB(a,b){a=a|0;b=b|0;return ld(29504,b)|0}function CA(a,b){a=a|0;b=b|0;return ld(21344,b)|0}function mc(a,b){return Cj(a,b,10,-2147483648,0)}function KL(a){a=a|0;Ya[H[H[a+552>>2]+28>>2]](a)}function zj(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function yF(a,b){a=a|0;b=b|0;hc(a,b,fc(260552))}function wF(a,b){a=a|0;b=b|0;hc(a,b,fc(260560))}function vF(a,b){a=a|0;b=b|0;hc(a,b,fc(260324))}function uF(a,b){a=a|0;b=b|0;hc(a,b,fc(260332))}function tF(a,b){a=a|0;b=b|0;hc(a,b,fc(260340))}function sF(a,b){a=a|0;b=b|0;hc(a,b,fc(260348))}function qm(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function qF(a,b){a=a|0;b=b|0;hc(a,b,fc(260388))}function pF(a,b){a=a|0;b=b|0;hc(a,b,fc(260396))}function oF(a,b){a=a|0;b=b|0;hc(a,b,fc(260404))}function nF(a,b){a=a|0;b=b|0;hc(a,b,fc(260412))}function lF(a,b){a=a|0;b=b|0;hc(a,b,fc(260420))}function jF(a,b){a=a|0;b=b|0;hc(a,b,fc(260428))}function iJ(a){a=a|0;return H[H[a+84>>2]+88>>2]}function hF(a,b){a=a|0;b=b|0;hc(a,b,fc(260436))}function gj(a,b,c,d){a=Cj(a,b,c,-1,-1);return a}function fF(a,b){a=a|0;b=b|0;hc(a,b,fc(260444))}function eF(a,b){a=a|0;b=b|0;hc(a,b,fc(260356))}function dF(a,b){a=a|0;b=b|0;hc(a,b,fc(260364))}function bF(a,b){a=a|0;b=b|0;hc(a,b,fc(260372))}function _w(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function _v(a,b){a=a|0;b=b|0;return Ul(a,0,0)|0}function ZE(a,b){a=a|0;b=b|0;hc(a,b,fc(260452))}function YE(a,b){a=a|0;b=b|0;hc(a,b,fc(260460))}function KF(a,b){a=a|0;b=b|0;hc(a,b,fc(260308))}function JF(a,b){a=a|0;b=b|0;hc(a,b,fc(260316))}function HF(a,b){a=a|0;b=b|0;hc(a,b,fc(260512))}function GF(a,b){a=a|0;b=b|0;hc(a,b,fc(260504))}function Fy(a,b){a=a|0;b=b|0;H[b>>2]=0;return 0}function FF(a,b){a=a|0;b=b|0;hc(a,b,fc(260520))}function DF(a,b){a=a|0;b=b|0;hc(a,b,fc(260528))}function BF(a,b){a=a|0;b=b|0;hc(a,b,fc(260536))}function AF(a,b){a=a|0;b=b|0;hc(a,b,fc(260544))}function $f(a,b){a=a|0;b=b|0;aq(a,H[a+16>>2]|b)}function $E(a,b){a=a|0;b=b|0;hc(a,b,fc(260380))}function jm(a){a=a|0;H[a+16>>2]=0;H[a+20>>2]=0}function KK(a){a=a|0;xb(a+24|0,1667329140,1,0)}function Gc(a,b,c){if(!(I[a|0]&32)){Lq(b,c,a)}}function EB(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function BK(a){a=a|0;xb(a+24|0,1818847073,1,0)}function yx(a){a=a|0;H[a- -64>>2]=40;return 0}function vi(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function se(a,b){a=a|0;b=b|0;return nq(a,b)|0}function sI(a){a=a|0;lq(H[H[a>>2]-12>>2]+a|0)}function mL(a,b){a=a|0;b=b|0;return Kr(a,b)|0}function mI(a){a=a|0;qj(H[H[a>>2]-12>>2]+a|0)}function lh(a,b){a=a|0;b=b|0;return nq(a,b)^1}function jL(a,b){a=a|0;b=b|0;return Vj(a,b)|0}function iL(a,b){a=a|0;b=b|0;return Uj(a,b)|0}function gL(a,b){a=a|0;b=b|0;return Ir(a,b)|0}function cL(a,b){a=a|0;b=b|0;return Ar(a,b)|0}function bL(a,b){a=a|0;b=b|0;return zr(a,b)|0}function ap(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function ag(a,b){a=a|0;b=b|0;return sq(a,b)^1}function _K(a,b){a=a|0;b=b|0;return wr(a,b)|0}function ZK(a,b){a=a|0;b=b|0;return ur(a,b)|0}function YK(a,b){a=a|0;b=b|0;return tr(a,b)|0}function Sd(a,b){a=a|0;b=b|0;return sq(a,b)|0}function KJ(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function JJ(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function BI(a){a=a|0;uq(H[H[a>>2]-12>>2]+a|0)}function $K(a,b){a=a|0;b=b|0;return yr(a,b)|0}function $H(a){a=a|0;oj(H[H[a>>2]-12>>2]+a|0)}function RI(a){a=a|0;return Ca(H[a+60>>2])|0}function Pu(a){a=a|0;return H[a>>2]==65535|0}function qf(a){a=a|0;mq(H[a>>2]);return a|0}function ow(a){a=a|0;H[H[a+156>>2]+36>>2]=0}function ZB(a,b){a=a|0;b=b|0;return tb(b)|0}function SE(a){a=a|0;Ya[H[H[a>>2]+4>>2]](a)}function Re(a){a=a|0;vj(H[a>>2]);return a|0}function CL(a){a=a|0;return H[a+8>>2]>>>9&1}function Aq(a,b,c){return Eq(a,b,c,888,889)}function wj(a){a=a|0;return Rd(a,260512)|0}function uj(a){a=a|0;return Rd(a,260504)|0}function jh(a){a=a|0;rf(a+12|0);return a|0}function ej(a){a=a|0;return Rd(a,260552)|0}function bj(a){a=a|0;return Rd(a,260560)|0}function _H(a,b,c){a=a|0;b=b|0;c=c|0;hb(a)}function GH(){return(H[H[64925]>>2]?4:1)|0}function yj(a){a=a|0;rf(a+8|0);return a|0}function sj(a){a=a|0;rf(a+4|0);return a|0}function jC(a,b){a=a|0;b=b|0;je(a+20|0,b)}function dE(a,b){a=a|0;b=b|0;Zi(a,b+12|0)}function cE(a,b){a=a|0;b=b|0;Zi(a,b+16|0)}function aE(a,b){a=a|0;b=b|0;nd(a,238915)}function _D(a,b){a=a|0;b=b|0;nd(a,238924)}function ZD(a,b){a=a|0;b=b|0;gf(a,249212)}function Lo(a,b,c,d){return Vi(a,b,c,d,1)}function Iq(a,b){Dj(wb(a)+a|0,b);return a}function $D(a,b){a=a|0;b=b|0;gf(a,249192)}function AI(a){a=a|0;return!H[a+16>>2]|0}function vo(a,b,c){if(b){kb(a,c&255,b)}}function pp(a,b){a=a|0;b=b|0;return b|0}function pI(a){a=a|0;return jh(a-8|0)|0}function ox(a){a=a|0;tm(a);F[a+112|0]=0}function np(a,b){a=a|0;b=b|0;Ap(a,1,45)}function mp(a,b){a=a|0;b=b|0;zp(a,1,45)}function cI(a){a=a|0;return eg(a-8|0)|0}function $w(a){a=a|0;return J[a+256>>1]}function $l(a){a=a|0;return H[a+364>>2]}function zI(a){a=a|0;return H[a+24>>2]}function wI(a){a=a|0;return H[a+16>>2]}function lI(a){a=a|0;return H[a+12>>2]}function Yg(a){a=a|0;return 2147483647}function LI(a){a=a|0;return H[a+20>>2]}function Cb(a,b){H[a+168>>2]=b;Lj(a,1)}function Bu(a){a=a|0;lb(H[a>>2]);hb(a)}function zo(a){a=a|0;return H[a+4>>2]}function zC(a){a=a|0;return H[a+8>>2]}function vq(a,b){a=a|0;b=b|0;return-1}function sq(a,b){return eq(a)^eq(b)^1}function qo(a,b){a=a|0;b=b|0;xa();X()}function nq(a,b){return dq(a)^dq(b)^1}function bq(a){a=a|0;Li(a);return a|0}function Li(a){a=a|0;Hi(a);return a|0}function Gy(a,b){a=a|0;b=b|0;return 0}function wi(a,b,c){a=a|0;b=b|0;c=c|0}function fE(a){a=a|0;return F[a+8|0]}function eE(a){a=a|0;return F[a+9|0]}function eB(a){a=a|0;tc(a,H[a+8>>2])}function rx(a){a=a|0;Db(H[a+24>>2])}function XH(a){a=a|0;return Rc(a)|0}function Qz(a){a=a|0;return a+100|0}function Pz(a){a=a|0;return a+112|0}function Oz(a){a=a|0;return a+140|0}function Kt(a){a=a|0;lb(H[a+44>>2])}function Jd(a,b,c){if(c){mb(a,b,c)}}function EJ(a){a=a|0;return tb(a)|0}function kd(a,b){a=a|0;b=b|0;Ib(a)}function jD(a){a=a|0;return 239155}function ip(a){return Rd(a,260396)}function hp(a){return Rd(a,260388)}function hD(a){a=a|0;return 238603}function dp(a){return Rd(a,260412)}function cp(a){return Rd(a,260404)}function WH(a){a=a|0;return 238610}function NC(a){a=a|0;return 238506}function Mn(a,b){a=a|0;b=b|0;hb(b)}function MC(a){a=a|0;return 239140}function KC(a){a=a|0;return 238081}function yJ(a){a=a|0;if(a){Qg(a)}}function Wl(a){a=a|0;H[a+16>>2]=0}function CJ(a){a=a|0;if(a){fo(a)}}function zq(a,b,c){Eq(a,b,c,0,0)}function wE(a){a=a|0;$o(a);hb(a)}function io(a){a=a|0;ko(a);hb(a)}function hE(a){a=a|0;No(a);hb(a)}function gE(a){a=a|0;Mo(a);hb(a)}function cD(a){a=a|0;Li(a);hb(a)}function VE(a){a=a|0;Wo(a);hb(a)}function TH(a){a=a|0;bq(a);hb(a)}function QH(a){a=a|0;mj(a);hb(a)}function LC(a){a=a|0;Hi(a);hb(a)}function KI(a){a=a|0;bg(a);hb(a)}function FE(a){a=a|0;To(a);hb(a)}function zd(a){a=a|0;return a|0}function zD(a){a=a|0;nb(260712)}function xD(a){a=a|0;Sb(260728)}function Zg(a){a=a|0;return 127}function MM(a,b){Xa=a;return b} +function LD(a){a=a|0;nb(260616)}function JD(a){a=a|0;Sb(260632)}function HD(a){a=a|0;nb(260648)}function FD(a){a=a|0;Sb(260664)}function DD(a){a=a|0;nb(260680)}function BD(a){a=a|0;Sb(260696)}function uq(a){a=a|0;hb(yj(a))}function qj(a){a=a|0;hb(jh(a))}function oj(a){a=a|0;hb(eg(a))}function nI(a){a=a|0;qj(a-8|0)}function lq(a){a=a|0;hb(sj(a))}function eI(a){a=a|0;hb(fq(a))}function bI(a){a=a|0;oj(a-8|0)}function bD(){qo(239331,0);X()}function Jo(a){a=a|0;hb(Qi(a))}function yp(a){a=a|0;return 2}function Uc(a){a=a|0;return 0}function Po(a){a=a|0;return 4}function Jf(a){a=a|0;return 1}function FI(a){a=a|0;return-1}function yg(a,b){a=a|0;b=b|0}function od(){nj(238800);X()}function Yo(a){Bo(a,H[a>>2])}function Fo(){nj(238298);X()}function KH(){return 244872}function JH(){return 245648}function IH(){return 247200}function fJ(a){a=a|0;yk(a)}function Zb(a){a=a|0;hb(a)}function JC(){return Wa|0}function IC(a){a=a|0;Wa=a}function tD(a){a=a|0;X()}function Hb(a){wc(a,0)}function rf(a){mj(a)}function fd(a){a=a|0}function pt(){} // EMSCRIPTEN_END_FUNCS -e=G;p(Ra);var Ia=c([null,Dw,nv,Gt,Ls,ss,ge,Vq,Zy,Yy,ny,my,ly,ky,$x,_x,Ix,Hx,Gx,Fx,Ex,Dx,Cx,Bx,Ax,zx,_k,Po,pl,Po,Zg,px,ox,mw,lw,kw,jw,Ek,Pv,Gv,Dv,Cv,Bv,Av,zv,yv,og,xv,wv,vv,uv,sv,kv,cv,bv,av,$u,Bc,_u,Zu,xg,Yu,Xu,Zt,Rt,Qt,fk,fk,Tj,Tj,dt,ct,bt,at,$s,Xs,Ws,Vs,Us,Ts,as,Ns,Is,Hs,Gs,Fs,Es,Ds,Cs,Bs,Fj,As,zs,ys,xs,ws,vs,us,ts,rs,qs,ps,os,ns,ms,ls,ks,js,ds,Wr,Mr,Ek,fj,hy,ek,uj,dj,gi,jy,iy,ay,Jx,yx,ux,nx,gy,ek,uj,dj,dy,Sw,qw,Bc,bw,Iv,Hv,Ev,tv,ng,Ju,Cu,su,ku,$t,gs,xj,Zr,Vr,Kr,ij,yr,or,er,_f,Bq,sq,Yf,Bc,jq,iq,fq,bq,Zp,Up,Zh,Fp,Nh,mp,ep,Fh,CC,zC,uC,tC,qC,fC,cC,aC,VB,SB,NB,IB,FB,CB,zB,vB,uB,tB,rB,mB,fB,dB,cy,by,_A,Sm,TA,KA,Fm,_z,Vz,Qz,Lz,Ez,wz,lz,cz,Zx,Yx,Hg,Xx,Wx,Vx,Ux,Gg,Fg,Tx,Sx,Rx,Qx,Px,Ox,Nx,Mx,Lx,Kx,Zk,xg,wg,xx,Yk,wx,vx,Xk,Wk,Vk,tx,sx,rx,qx,ug,Bc,mx,lx,Ze,kx,jx,ix,hx,gx,fx,ex,dx,ij,cx,bx,ax,xj,$w,_w,Zw,Yw,Xw,Ww,Vw,Uw,Tw,Rw,Nk,Qw,Pw,Ow,Nw,Mw,Lw,Kw,Jw,Iw,Hw,Bc,Gw,sg,Fw,Ew,Cw,Bw,Aw,$c,zw,Jk,yw,xw,qg,ww,qg,Hk,vw,uw,tw,sw,Gk,rw,pw,ow,nw,iw,hw,gw,Zv,Yv,Xv,Wv,Vv,Uv,Tv,Sv,Rv,Qv,_f,Ov,Nv,fw,qg,Hk,ew,dw,cw,aw,Gk,$v,_v,Mv,Lv,Kv,Jv,qv,pv,ov,Fv,rv,mk,lv,jv,iv,hv,gv,mv,Zk,xg,wg,fv,Yk,ev,dv,Xk,Wk,Vk,Lt,Jt,It,Ht,Wu,Vt,Ft,Et,Dt,Ct,Bt,At,zt,yt,xt,wt,vt,ut,tt,Te,st,rt,qt,pt,ot,nt,mt,lt,kt,jt,it,ht,Qj,gt,ft,et,zc,Pt,Vu,Tu,Su,Uu,Ru,Pu,Ou,Qu,Nu,Mu,Ku,Iu,Lu,Hu,Fu,Eu,Gu,Du,Au,zu,Bu,yu,wu,vu,xu,uu,$j,ru,qu,tu,pu,$j,nu,mu,ou,lu,iu,ju,gu,fu,du,cu,bu,au,_t,hu,eu,Yt,_f,Xt,Wt,Ut,Tt,St,Ot,Nt,Mt,lg,Kt,_s,Bc,Zs,Ys,Ss,Rs,Qs,Ps,Os,Nh,Ms,Ks,Js,is,hs,Kd,eg,fs,Lj,es,Jj,cs,bs,Kj,ag,$r,_r,Yf,Bc,Yr,Xr,Ur,Tr,Sr,Rr,Qr,Pr,Or,Nr,Lr,Jr,oj,nj,Ir,mj,lj,kj,jj,Hr,Gr,Fr,hj,gj,Er,Dr,Cr,Br,Ar,zr,xr,fe,wr,vr,ur,tr,sr,rr,qr,pr,nr,mr,Yf,Bc,lr,kr,jr,ir,hr,gr,Zh,fr,dr,cr,br,ar,$q,_q,Zq,Yq,Xq,Wq,Uq,Tq,Bc,Sq,Rq,Qq,Pq,Oq,Nq,Mq,Lq,Kq,Jq,nj,Iq,oj,mj,lj,kj,jj,Hq,Gq,Fq,Eq,Dq,Cq,Aq,zq,yq,xq,wq,vq,uq,tq,Xa,mb,qq,pq,Wi,hq,gq,oq,nq,mq,lq,kq,Pi,Ki,Di,Ta,Xa,cq,od,aq,$p,Yp,Xp,Wp,Vp,ei,xc,Hp,Gp,Ep,Sp,Dp,Bp,Pp,Op,zp,yp,wp,vp,up,tp,sp,kp,lp,ip,hp,gp,fp,dp,cp,bp,ap,$o,_o,Zo,Yo,Xo,jp,Ob,cd,dd,fy,Ua,se,Kc,rl,ey,Jd,So,Eh,BC,AC,Ee,yC,xC,db,No,vC,ic,sC,rC,pC,oC,nC,mC,lC,kC,jC,iC,hC,gC,eC,Ae,bC,$B,Ce,dC,Gf,Ro,Bo,wC,WB,UB,uh,Db,Ab,OB,dq,MB,ko,xe,jo,io,io,LB,KB,_B,ZB,YB,vo,XB,uo,to,sh,TB,RB,QB,Ff,PB,Uc,JB,HB,GB,yB,xB,BB,AB,Qn,Nn,Mn,sB,qB,pB,oB,nB,lB,kB,jB,iB,hB,gB,eB,Rn,wB,cB,bB,aB,$A,ZA,YA,XA,WA,Tz,EB,DB,VA,UA,RA,QA,_p,Fd,MA,kd,Of,LA,CA,BA,AA,zf,tA,sA,zf,mA,lA,zf,jA,gA,fA,eA,dA,cA,zf,Zz,Yz,Xz,rq,Xn,eb,vb,eq,Wz,xm,Wi,Uz,Sz,Rz,wm,ai,Pz,Oz,Nz,Mz,Kz,Jz,Wo,Vo,Uo,To,Rn,SA,Km,Jm,PA,OA,NA,JA,IA,HA,Cc,GA,FA,EA,DA,zA,yA,Cc,Em,xA,wA,vA,uA,rA,qA,Cc,pA,Cm,oA,nA,kA,iA,hA,bA,aA,Em,Cm,$z,$h,$h,Tp,_h,Rp,Qp,Np,Mp,ge,ge,Lp,Kp,Jp,_h,Ip,Cp,Ap,xp,rp,qp,pp,op,np,wg,Iz,Hz,Fj,Gz,ge,ge,Fz,Dz,_k,nz,mz,kz,jz,bz,az,$y,_y,Xy,Wy,Vy,ug,ug,Rf,Ty,Ry,Ql,Qy,Gy,Hy,Sy,Fy,Ul,Rf,Cc,My,Py,Oy,Ny,Ly,Cc,Ky,Iy,Jy,Ey,Nl,la,Dy,Rf,Cc,Bc,Bc,Cy,Cc,By,vy,xy,Ay,Cc,wy,yy,zy,Cc,ry,Cc,sy,Ol,Nl,Sg,qy,Ol]);function Ja(){return C.byteLength/65536|0}function Oa(Pa){Pa=Pa|0;var Ka=Ja()|0;var La=Ka+Pa|0;if(Ka=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder)return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr));else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i);if(!dontAddNull)HEAP8[buffer>>0]=0} -var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)} -var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"])wasmMemory=Module["wasmMemory"];else wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536});if(wasmMemory)buffer=wasmMemory.buffer;INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscFonts"].onLoadModule();}];var runtimeInitialized=false; +63;if((u0&240)==224)u0=(u0&15)<<12|u1<<6|u2;else u0=(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63;if(u0<65536)str+=String.fromCharCode(u0);else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""} +function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]= +128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len} +function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i);if(!dontAddNull)HEAP8[buffer>>0]=0}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64; +function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216; +if(Module["wasmMemory"])wasmMemory=Module["wasmMemory"];else wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536});if(wasmMemory)buffer=wasmMemory.buffer;INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscFonts"].onLoadModule();}];var runtimeInitialized=false;function keepRuntimeAlive(){return noExitRuntime} function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length)addOnPreRun(Module["preRun"].shift())}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)} function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length)addOnPostRun(Module["postRun"].shift())}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)} if(!Math.imul||Math.imul(4294967295,5)!==-5)Math.imul=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};if(!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(x){froundBuffer[0]=x;return froundBuffer[0]}}if(!Math.clz32)Math.clz32=function(x){var n=32;var y=x>>16;if(y){n-=16;x=y}y=x>>8;if(y){n-=8;x=y}y=x>>4;if(y){n-=4;x=y}y=x>>2;if(y){n-=2;x=y}y=x>>1;if(y)return n-2;return n-x}; @@ -341,7 +346,7 @@ function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependen function abort(what){{if(Module["onAbort"])Module["onAbort"](what)}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e;}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="fonts.wasm";if(!isDataURI(wasmBinaryFile))wasmBinaryFile=locateFile(wasmBinaryFile); function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);var binary=tryParseAsDataURI(file);if(binary)return binary;if(readBinary)return readBinary(file);else throw"both async and sync fetching of the wasm failed";}catch(err$2){abort(err$2)}} function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER))if(typeof fetch=="function")return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"])throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)});return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})} -function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmTable=Module["asm"]["M"];addOnInit(Module["asm"]["L"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver, +function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmTable=Module["asm"]["_"];addOnInit(Module["asm"]["Z"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver, function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch=="function")return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation"); return instantiateArrayBuffer(receiveInstantiationResult)})});else return instantiateArrayBuffer(receiveInstantiationResult)}if(Module["instantiateWasm"])try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}instantiateAsync();return{}} function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func=="number")if(callback.arg===undefined)getWasmTableEntry(func)();else getWasmTableEntry(func)(callback.arg);else func(callback.arg===undefined?null:callback.arg)}}var wasmTableMirror=[]; @@ -357,7 +362,9 @@ function ___resumeException(catchInfoPtr){var catchInfo=new CatchInfo(catchInfoP function ___cxa_find_matching_catch_2(){var thrown=exceptionLast;if(!thrown){setTempRet0(0);return 0|0}var info=new ExceptionInfo(thrown);var thrownType=info.get_type();var catchInfo=new CatchInfo;catchInfo.set_base_ptr(thrown);catchInfo.set_adjusted_ptr(thrown);if(!thrownType){setTempRet0(0);return catchInfo.ptr|0}var typeArray=Array.prototype.slice.call(arguments);for(var i=0;i>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0} function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs}function _abort(){abort("")}var _emscripten_memcpy_big=Uint8Array.prototype.copyWithin?function(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}:function(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)};function _emscripten_get_heap_max(){return 2147483648} function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}} @@ -365,32 +372,55 @@ function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;reques 65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement)return true}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"} function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV)if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x];var strings=[];for(var x in env)strings.push(x+"="+env[x]);getEnvStrings.strings=strings}return getEnvStrings.strings} function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0} -function _fd_close(fd){return 0}function _fd_read(fd,iov,iovcnt,pnum){var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAP32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0} -function _llvm_eh_typeid_for(type){return type}var ASSERTIONS=false;function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS)assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.");chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")} +function _exit(status){exit(status)}function _fd_close(fd){return 0}function _fd_read(fd,iov,iovcnt,pnum){var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){} +function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAP32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}function _llvm_eh_typeid_for(type){return type}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31]; +var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31]; +function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11)newDate.setMonth(currentMonth+1);else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+ +days);return newDate}}return newDate} +function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p", +"%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1)pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule]);var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February", +"March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value=="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0)if((compare= +sgn(date1.getMonth()-date2.getMonth()))===0)compare=sgn(date1.getDate()-date2.getDate());return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()- +1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0)if(compareByDay(firstWeekStartNextYear,thisDate)<=0)return thisDate.getFullYear()+ +1;else return thisDate.getFullYear();else return thisDate.getFullYear()-1}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday, +2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+ +1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12)return"AM";else return"PM"},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var days=date.tm_yday+7-date.tm_wday;return leadingNulls(Math.floor(days/7),2)},"%V":function(date){var val=Math.floor((date.tm_yday+7-(date.tm_wday+6)%7)/7);if((date.tm_wday+371- +date.tm_yday-2)%7<=2)val++;if(!val){val=52;var dec31=(date.tm_wday+7-date.tm_yday-1)%7;if(dec31==4||dec31==5&&__isLeapYear(date.tm_year%400-1))val++}else if(val==53){var jan1=(date.tm_wday+371-date.tm_yday)%7;if(jan1!=4&&(jan1!=3||!__isLeapYear(date.tm_year)))val=1}return leadingNulls(val,2)},"%w":function(date){return date.tm_wday},"%W":function(date){var days=date.tm_yday+7-(date.tm_wday+6)%7;return leadingNulls(Math.floor(days/7),2)},"%y":function(date){return(date.tm_year+1900).toString().substring(2)}, +"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};pattern=pattern.replace(/%%/g,"\x00\x00");for(var rule in EXPANSION_RULES_2)if(pattern.includes(rule))pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date));pattern=pattern.replace(/\0\0/g,"%");var bytes=intArrayFromString(pattern, +false);if(bytes.length>maxsize)return 0;writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}var ASSERTIONS=false;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array} +function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS)assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.");chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")} var decodeBase64=typeof atob=="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1); if(enc3!==64)output=output+String.fromCharCode(chr2);if(enc4!==64)output=output+String.fromCharCode(chr3)}while(i0)return;preRun();if(runDependencies>0)return;function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else doRun()}Module["run"]=run; -if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0)Module["preInit"].pop()()}run(); +function exit(status,implicit){EXITSTATUS=status;procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0)Module["preInit"].pop()()}run(); function CReturnObject() @@ -539,6 +569,86 @@ AscFonts.HB_ShapeText = function(fontFile, text, features, script, direction, la return g_return_obj_count; }; +var hyphenApplication = 0; +AscFonts.Hyphen_Init = function() +{ + hyphenApplication = Module["_hyphenCreateApplication"](); +}; +AscFonts.Hyphen_Destroy = function() +{ + Module["_hyphenDestroyApplication"](hyphenApplication); +}; +AscFonts.Hyphen_CheckDictionary = function(lang) +{ + return false; +}; +AscFonts.Hyphen_LoadDictionary = function(lang, data) +{ + let dictSize = data.byteLength; + let dictPointer = Module["_malloc"](dictSize); + Module["HEAP8"].set(new Uint8ClampedArray(data), dictPointer); + + let result = Module["_hyphenLoadDictionary"](hyphenApplication, lang, dictPointer, dictSize); + + Module["_free"](dictPointer); + + return (result === 0) ? true : false; +}; + +function GetUtf8SymbolLen(c) +{ + if (0x00 == (c & 0x80)) + return 1; + else if (0x00 == (c & 0x20)) + return 2; + else if (0x00 == (c & 0x10)) + return 3; + else if (0x00 == (c & 0x0F)) + return 4; + else if (0x00 == (c & 0x08)) + return 4; + else if (0x00 == (c & 0x04)) + return 5; + return 6; +} + +AscFonts.Hyphen_Word = function(lang, word) +{ + let wordPointer = word.toUtf8Pointer(); + let wordLen = wordPointer.length; + let hyphens = []; + + if (wordPointer) + { + const ptr = Module._hyphenWord(hyphenApplication, lang, wordPointer.ptr, wordLen); + + let curUnicode = new Uint8ClampedArray(Module["HEAP8"].buffer, wordPointer.ptr, wordLen); + let posUnicode = 0; + let posUtf8 = 0; + + let vector = new Uint8ClampedArray(Module["HEAP8"].buffer, ptr, wordLen + 5); + + let pos = 0; + while (vector[pos] != 0) + { + if (1 === (vector[pos] & 1)) + { + while (posUtf8 < pos) + { + ++posUnicode; + posUtf8 += GetUtf8SymbolLen(curUnicode[posUtf8]); + } + hyphens.push(posUnicode); + } + + pos++; + } + + wordPointer.free(); + } + return hyphens; +}; + AscFonts.onLoadModule(); })(window, undefined); diff --git a/common/libfont/engine/fonts_native.js b/common/libfont/engine/fonts_native.js index a885ea59f4..df970bf1b3 100644 --- a/common/libfont/engine/fonts_native.js +++ b/common/libfont/engine/fonts_native.js @@ -206,6 +206,28 @@ AscFonts.HB_ShapeText = function(fontFile, text, features, script, direction, la return g_return_obj_count; }; +AscFonts.Hyphen_Init = function() +{ + // none +}; +AscFonts.Hyphen_Destroy = function() +{ + // GC +}; +AscFonts.Hyphen_CheckDictionary = function(lang) +{ + return g_native_engine["Hyphen_IsDictionaryExist"](lang); +}; +AscFonts.Hyphen_LoadDictionary = function(lang, data) +{ + return false; +}; +AscFonts.Hyphen_Word = function(lang, word) +{ + let ret = g_native_engine["Hyphen_Word"](lang, word); + return ret ? ret : []; +}; + AscFonts.onLoadModule(); AscFonts.onLoadModule(); diff --git a/common/plugins.js b/common/plugins.js index 1fb9f89ef3..75537c331e 100644 --- a/common/plugins.js +++ b/common/plugins.js @@ -32,7 +32,6 @@ (function(window, undefined) { - function CPluginData() { this.privateData = {}; @@ -52,16 +51,16 @@ serialize : function() { - var _data = ""; + let data = ""; try { - _data = JSON.stringify(this.privateData); + data = JSON.stringify(this.privateData); } catch (err) { - _data = "{ \"data\" : \"\" }"; + data = "{ \"data\" : \"\" }"; } - return _data; + return data; }, deserialize : function(_data) @@ -82,31 +81,60 @@ } }; + var CommandTaskType = { + Command : 0, + Method : 1 + }; + + function CCommandTask(type, guid) + { + this.type = type; + this.guid = guid; + this.value = null; + + // only for Method + this.name = ""; + + // only for commands + this.closed = false; + this.interface = false; + this.recalculate = false; + this.resize = false; + } + function CPluginsManager(api) { + // обычные и системные храним отдельно this.plugins = []; this.systemPlugins = []; + // мап guid => plugin + this.pluginsMap = {}; + + // дополнитеьная информация по всем запущенным плагинам. this.runnedPluginsMap = {}; // guid => { iframeId: "", currentVariation: 0, currentInit: false, isSystem: false, startData: {}, closeAttackTimer: -1, methodReturnAsync: false } - this.pluginsMap = {}; // guid => { isSystem: false } this.path = "../../../../sdkjs-plugins/"; this.systemPath = ""; + this.api = api; this["api"] = this.api; - this.runAndCloseData = null; + this.isSupportManyPlugins = false; - this.isNoSystemPluginsOnlyOne = true; + // используется только если this.isSupportManyPlugins === false + this.runAndCloseData = null; - this.guidAsyncMethod = ""; + this.queueCommands = []; + // посылать ли сообщения о плагине в интерфейс + // (визуальные - да, олеобъекты, обновляемые по ресайзу - нет) this.sendsToInterface = {}; - this.sendEncryptionDataCounter = 0; - this.language = "en-EN"; + // флаг для зашифрованного режима докладчика + this.sendEncryptionDataCounter = 0; if (this.api.isCheckCryptoReporter) this.checkCryptoReporter(); @@ -121,11 +149,11 @@ CPluginsManager.prototype = { + // registration unregisterAll : function() { - // удаляем все, кроме запущенного - var i = 0; - for (i = 0; i < this.plugins.length; i++) + // удаляем все, кроме запущенных + for (let i = 0; i < this.plugins.length; i++) { if (!this.runnedPluginsMap[this.plugins[i].guid]) { @@ -138,44 +166,39 @@ unregister : function(guid) { + // нет плагина - нечего удалять if (!this.pluginsMap[guid]) return null; - let removedPlugin = null; - this.close(guid); - if (this.pluginsMap[guid]) - delete this.pluginsMap[guid]; + delete this.pluginsMap[guid]; - let currentArray = this.plugins; - for (let indexArray = 0; indexArray < 2; indexArray++) + for (let arrIndex = 0; arrIndex < 2; arrIndex++) { + let currentArray = (arrIndex === 0) ? this.plugins : this.systemPlugins; for (let i = 0, len = currentArray.length; i < len; i++) { if (guid === currentArray[i].guid) { - removedPlugin = currentArray[i]; currentArray.splice(i, 1); - break; + return currentArray[i]; } } - currentArray = this.systemPlugins; } - - return removedPlugin; + return null; }, register : function(basePath, plugins, isDelayRun) { this.path = basePath; - for (var i = 0; i < plugins.length; i++) + for (let i = 0; i < plugins.length; i++) { - var guid = plugins[i].guid; - var isSystem = false; - if (plugins[i].variations && plugins[i].variations[0] && plugins[i].variations[0].isSystem) - isSystem = true; + let newPlugin = plugins[i]; + + let guid = newPlugin.guid; + let isSystem = newPlugin.isSystem(); if (this.runnedPluginsMap[guid]) { @@ -187,9 +210,10 @@ // заменяем новым for (var j = 0; j < this.plugins.length; j++) { - if (this.plugins[j].guid === guid && this.plugins[j].getIntVersion() < plugins[i].getIntVersion()) + if (this.plugins[j].guid === guid && this.plugins[j].getIntVersion() < newPlugin.getIntVersion()) { - this.plugins[j] = plugins[i]; + this.plugins[j] = newPlugin; + this.pluginsMap[j] = newPlugin; break; } } @@ -197,11 +221,11 @@ else { if (!isSystem) - this.plugins.push(plugins[i]); + this.plugins.push(newPlugin); else - this.systemPlugins.push(plugins[i]); + this.systemPlugins.push(newPlugin); - this.pluginsMap[guid] = { isSystem : isSystem }; + this.pluginsMap[guid] = newPlugin; } if (isSystem) @@ -223,7 +247,7 @@ for (var i = 0; i < plugins.length; i++) { - var guid = plugins[i].guid; + let guid = plugins[i].guid; // системные не обновляем if (this.pluginsMap[guid]) @@ -232,96 +256,187 @@ } this.systemPlugins.push(plugins[i]); - this.pluginsMap[guid] = { isSystem : true }; + this.pluginsMap[guid] = plugins[i]; } }, - runAllSystem : function() + + loadExtensionPlugins : function(_plugins, isDelayRun, isNoUpdateInterface) { - for (var i = 0; i < this.systemPlugins.length; i++) + if (!_plugins || _plugins.length < 1) + return false; + + let _map = {}; + for (let i = 0; i < this.plugins.length; i++) + _map[this.plugins[i].guid] = this.plugins[i].getIntVersion(); + + let newPlugins = []; + for (let i = 0; i < _plugins.length; i++) { - this.run(this.systemPlugins[i].guid, 0, ""); + let newPlugin = new Asc.CPlugin(); + newPlugin["deserialize"](_plugins[i]); + + let oldPlugin = this.pluginsMap[newPlugin.guid]; + + if (oldPlugin) + { + if (oldPlugin.getIntVersion() < newPlugin.getIntVersion()) + { + // нужно обновить + for (let j = 0; j < this.plugins.length; j++) + { + if (this.plugins[j].guid === newPlugin.guid) + { + this.plugins.splice(j, 1); + break; + } + } + delete this.pluginsMap[newPlugin.guid]; + } + else + { + continue; + } + } + + newPlugins.push(newPlugin); } - }, - // pointer events methods ------------------- - enablePointerEvents : function() - { - for (var guid in this.runnedPluginsMap) + + if (newPlugins.length > 0) { - var _frame = document.getElementById(this.runnedPluginsMap[guid].frameId); - if (_frame) - _frame.style.pointerEvents = ""; + this.register(this.path, newPlugins, isDelayRun); + + if (true !== isNoUpdateInterface) + this.updateInterface(); + + return true; } + + return false; }, - disablePointerEvents : function() + + // common functions + getPluginByGuid : function(guid) { - for (var guid in this.runnedPluginsMap) - { - var _frame = document.getElementById(this.runnedPluginsMap[guid].frameId); - if (_frame) - _frame.style.pointerEvents = "none"; - } + if (undefined === this.pluginsMap[guid]) + return null; + + return this.pluginsMap[guid]; }, - // ------------------------------------------ - checkRunnedFrameId : function(id) + + isRunned : function(guid) + { + return (undefined !== this.runnedPluginsMap[guid]); + }, + + isWorked : function() { - for (var guid in this.runnedPluginsMap) + // запущен ли хоть один несистемный плагин + for (let i in this.runnedPluginsMap) { - if (this.runnedPluginsMap[guid].frameId == id) + if (this.pluginsMap[i] && !this.pluginsMap[i].isSystem()) return true; } return false; }, - sendToAllPlugins : function(data) + + stopWorked : function() { - for (var guid in this.runnedPluginsMap) + for (let i in this.runnedPluginsMap) { - var _frame = document.getElementById(this.runnedPluginsMap[guid].frameId); - if (_frame) - _frame.contentWindow.postMessage(data, "*"); + let pluginType = this.pluginsMap[i] ? this.pluginsMap[i].type : -1; + if (pluginType !== Asc.PluginType.System && + pluginType !== Asc.PluginType.Background) + { + this.close(i); + } } }, - getPluginByGuid : function(guid) - { - if (undefined === this.pluginsMap[guid]) - return null; - var _array = (this.pluginsMap[guid].isSystem) ? this.systemPlugins : this.plugins; - for (var i = _array.length - 1; i >= 0; i--) + // sign/encryption + getSign : function() + { + for (let arrIndex = 0; arrIndex < 2; arrIndex++) { - if (_array[i].guid == guid) - return _array[i]; + let currentArray = (arrIndex === 0) ? this.plugins : this.systemPlugins; + for (let i = 0, len = currentArray.length; i < len; i++) + { + let variation = currentArray[i].variations[0]; + if (variation && "sign" === variation.initDataType) + return currentArray[i]; + } } return null; }, - isWorked : function() + + getEncryption : function() { - for (var i in this.runnedPluginsMap) + for (let arrIndex = 0; arrIndex < 2; arrIndex++) { - if (this.pluginsMap[i] && !this.pluginsMap[i].isSystem) + let currentArray = (arrIndex === 0) ? this.plugins : this.systemPlugins; + for (let i = 0, len = currentArray.length; i < len; i++) { - return true; + let variation = currentArray[i].variations[0]; + if (variation && "desktop" === variation.initDataType && "encryption" === variation.initData) + return currentArray[i]; } } - return false; + return null; }, - stopWorked : function() + + isRunnedEncryption : function() { - for (var i in this.runnedPluginsMap) - { - if (this.pluginsMap[i] && !this.pluginsMap[i].isSystem) - { - this.close(i); - } - } + let plugin = this.getEncryption(); + if (!plugin) + return false; + return this.isRunned(plugin.guid); }, - isRunned : function(guid) + + sendToEncryption : function(data) { - return (undefined !== this.runnedPluginsMap[guid]); + let plugin = this.getEncryption(); + if (!plugin) + return; + this.init(plugin.guid, data); + }, + + checkCryptoReporter : function() + { + this.sendEncryptionDataCounter++; + if (2 <= this.sendEncryptionDataCounter) + { + this.sendToEncryption({ + "type" : "setPassword", + "password" : this.api.currentPassword, + "hash" : this.api.currentDocumentHash, + "docinfo" : this.api.currentDocumentInfo + }); + } + }, + + checkRunnedFrameId : function(id) + { + for (let guid in this.runnedPluginsMap) + { + if (this.runnedPluginsMap[guid].frameId === id) + return true; + } + return false; + }, + + sendToAllPlugins : function(data) + { + for (let guid in this.runnedPluginsMap) + { + let frame = document.getElementById(this.runnedPluginsMap[guid].frameId); + if (frame) + frame.contentWindow.postMessage(data, "*"); + } }, + checkEditorSupport : function(plugin, variation) { - var typeEditor = this.api.getEditorId(); - var typeEditorString = ""; + let typeEditor = this.api.getEditorId(); + let typeEditorString = ""; switch (typeEditor) { case AscCommon.c_oEditorId.Word: @@ -336,155 +451,373 @@ default: break; } - var runnedVariation = variation ? variation : 0; + let runnedVariation = variation ? variation : 0; if (!plugin.variations[runnedVariation] || !plugin.variations[runnedVariation].EditorsSupport || !plugin.variations[runnedVariation].EditorsSupport.includes(typeEditorString)) return false; return true; }, - run : function(guid, variation, data, isNoUse_isNoSystemPluginsOnlyOne) - { - if (window["AscDesktopEditor"] && window["AscDesktopEditor"]["isSupportPlugins"] && !window["AscDesktopEditor"]["isSupportPlugins"]()) - return; - - var isEnabled = this.api.DocInfo ? this.api.DocInfo.get_IsEnabledPlugins() : true; - if (false === isEnabled) - return; - - if (this.runAndCloseData) // run only on close!!! - return; - - if (this.pluginsMap[guid] === undefined) - return; - - var plugin = this.getPluginByGuid(guid); - if (!plugin) - return; - if (!this.checkEditorSupport(plugin, variation)) + // events to frame + sendMessageToFrame : function(frameId, pluginData) + { + if ("" === frameId) + { + window.postMessage("{\"type\":\"onExternalPluginMessageCallback\",\"data\":" + pluginData.serialize() + "}", "*"); return; + } + let frame = document.getElementById(frameId); + if (frame) + frame.contentWindow.postMessage(pluginData.serialize(), "*"); + }, - var isSystem = this.pluginsMap[guid].isSystem; - var isRunned = (this.runnedPluginsMap[guid] !== undefined) ? true : false; + enablePointerEvents : function() + { + for (let guid in this.runnedPluginsMap) + { + let frame = document.getElementById(this.runnedPluginsMap[guid].frameId); + if (frame) + frame.style.pointerEvents = ""; + } + }, - if (isRunned && ((variation == null) || variation == this.runnedPluginsMap[guid].currentVariation)) + disablePointerEvents : function() + { + for (let guid in this.runnedPluginsMap) { - // запуск запущенного => закрытие - this.close(guid); - return false; + let frame = document.getElementById(this.runnedPluginsMap[guid].frameId); + if (frame) + frame.style.pointerEvents = "none"; } + }, - if ((isNoUse_isNoSystemPluginsOnlyOne !== true) && !isSystem && this.isNoSystemPluginsOnlyOne) + onExternalMouseUp : function() + { + for (let guid in this.runnedPluginsMap) { - // смотрим, есть ли запущенный несистемный плагин - var guidOther = ""; - for (var i in this.runnedPluginsMap) - { - if (this.pluginsMap[i] && !this.pluginsMap[i].isSystem) - { - guidOther = i; - break; - } - } + let runObject = this.runnedPluginsMap[guid]; + let pluginData = runObject.startData; - if (guidOther != "") - { - // стопим текущий, а после закрытия - стартуем новый. - this.runAndCloseData = {}; - this.runAndCloseData.guid = guid; - this.runAndCloseData.variation = variation; - this.runAndCloseData.data = data; + pluginData.setAttribute("type", "onExternalMouseUp"); + pluginData.setAttribute("guid", guid); + this.correctData(pluginData); - this.close(guidOther); - return; + let frame = document.getElementById(runObject.frameId); + if (frame) + { + frame.contentWindow.postMessage(pluginData.serialize(), "*"); } } + }, - var _startData = (data == null || data == "") ? new CPluginData() : data; - _startData.setAttribute("guid", guid); - this.correctData(_startData); - // set theme only on start (big object) - _startData.setAttribute("theme", AscCommon.GlobalSkin); + onEnableMouseEvents : function(isEnable) + { + for (let guid in this.runnedPluginsMap) + { + let runObject = this.runnedPluginsMap[guid]; + let pluginData = new Asc.CPluginData(); - this.runnedPluginsMap[guid] = { - frameId: "iframe_" + guid, - currentVariation: Math.min(variation, plugin.variations.length - 1), - currentInit: false, - isSystem: isSystem, - startData: _startData, - closeAttackTimer: -1, - methodReturnAsync: false, - isConnector: plugin.isConnector - }; + pluginData.setAttribute("type", "enableMouseEvent"); + pluginData.setAttribute("isEnabled", isEnable); + pluginData.setAttribute("guid", guid); + this.correctData(pluginData); - this.show(guid); + let frame = document.getElementById(runObject.frameId); + if (frame) + { + frame.contentWindow.postMessage(pluginData.serialize(), "*"); + } + } }, - runResize : function(data) + + onThemeChanged : function(obj) { - var guid = data.getAttribute("guid"); - var plugin = this.getPluginByGuid(guid); + for (let guid in this.runnedPluginsMap) + { + let runObject = this.runnedPluginsMap[guid]; - if (!plugin) - return; + runObject.startData.setAttribute("type", "onThemeChanged"); + runObject.startData.setAttribute("theme", obj); + runObject.startData.setAttribute("guid", guid); - if (true !== plugin.variations[0].isUpdateOleOnResize) - return; + this.correctData(runObject.startData); - data.setAttribute("resize", true); - return this.run(guid, 0, data, true); + let frame = document.getElementById(runObject.frameId); + if (frame) + frame.contentWindow.postMessage(runObject.startData.serialize(), "*"); + } }, - close : function(guid) - { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; - if (!plugin || !runObject) - return; - - if (runObject.startData && runObject.startData.getAttribute("resize") === true) - this.endLongAction(); - - runObject.startData = null; - if (true) + onChangedSelectionData : function() + { + for (let guid in this.runnedPluginsMap) { - if (this.sendsToInterface[plugin.guid]) + let plugin = this.getPluginByGuid(guid); + let runObject = this.runnedPluginsMap[guid]; + + if (plugin && plugin.variations[runObject.currentVariation].initOnSelectionChanged === true) { - this.api.sendEvent("asc_onPluginClose", plugin, runObject.currentVariation); - delete this.sendsToInterface[plugin.guid]; + // re-init + this.init(guid); } - var _div = document.getElementById(runObject.frameId); - if (_div) - _div.parentNode.removeChild(_div); } + }, - delete this.runnedPluginsMap[guid]; - this.api.onPluginCloseContextMenuItem(guid); + // plugin events + onPluginEvent : function(name, data) + { + if (this.mainEventTypes[name]) + this.mainEvents[name] = data; - if (this.runAndCloseData) - { - var _tmp = this.runAndCloseData; - this.runAndCloseData = null; - this.run(_tmp.guid, _tmp.variation, _tmp.data); - } + return this.onPluginEvent2(name, data, undefined); }, - show : function(guid) + onPluginEvent2 : function(name, data, guids) { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; + let needsGuids = []; + for (let guid in this.runnedPluginsMap) + { + if (guids && !guids[guid]) + continue; - if (!plugin || !runObject) - return; + let plugin = this.getPluginByGuid(guid); + let runObject = this.runnedPluginsMap[guid]; - // приходили главные евенты. нужно их послать - for (var mainEventType in this.mainEvents) - { - if (plugin.variations[runObject.currentVariation].eventsMap[mainEventType]) + if (plugin && plugin.variations[runObject.currentVariation].eventsMap[name]) { - if (!runObject.waitEvents) - runObject.waitEvents = []; - runObject.waitEvents.push({ n : mainEventType, d : this.mainEvents[mainEventType] }); + needsGuids.push(plugin.guid); + if (!runObject.isInitReceive) + { + if (!runObject.waitEvents) + runObject.waitEvents = []; + runObject.waitEvents.push({ n : name, d : data }); + continue; + } + var pluginData = new CPluginData(); + pluginData.setAttribute("guid", plugin.guid); + pluginData.setAttribute("type", "onEvent"); + pluginData.setAttribute("eventName", name); + pluginData.setAttribute("eventData", data); + + this.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); + } + } + return needsGuids; + }, + + buttonClick : function(id, guid, windowId) + { + if (guid === undefined) + { + // old version support + for (var i in this.runnedPluginsMap) + { + if (this.runnedPluginsMap[i].isSystem) + continue; + + if (this.pluginsMap[i]) + { + guid = i; + break; + } + } + } + + if (undefined === guid) + return; + + let plugin = this.getPluginByGuid(guid); + let runObject = this.runnedPluginsMap[guid]; + + if (!plugin || !runObject) + return; + + if (runObject.closeAttackTimer !== -1) + { + clearTimeout(runObject.closeAttackTimer); + runObject.closeAttackTimer = -1; + } + + if (-1 === id && !windowId) + { + if (!runObject.currentInit) + { + this.close(guid); + } + + // защита от плохого плагина + runObject.closeAttackTimer = setTimeout(function() + { + window.g_asc_plugins.close(); + }, 5000); + } + let iframe = document.getElementById(runObject.frameId); + if (iframe) + { + var pluginData = new CPluginData(); + pluginData.setAttribute("guid", plugin.guid); + pluginData.setAttribute("type", "button"); + pluginData.setAttribute("button", "" + id); + if (windowId) + pluginData.setAttribute("buttonWindowId", "" + windowId); + iframe.contentWindow.postMessage(pluginData.serialize(), "*"); + } + }, + + onPluginEventWindow : function(id, name, data) + { + let pluginData = new CPluginData(); + pluginData.setAttribute("guid", this.getCurrentPluginGuid()); + pluginData.setAttribute("type", "onEvent"); + pluginData.setAttribute("eventName", name); + pluginData.setAttribute("eventData", data); + + this.sendMessageToFrame(id, pluginData); + }, + + // interface + updateInterface : function() + { + let plugins = {"url" : this.path, "pluginsData" : []}; + for (let i = 0; i < this.plugins.length; i++) + { + plugins["pluginsData"].push(this.plugins[i].serialize()); + } + + this.api.sendEvent("asc_onPluginsInit", plugins); + }, + + startLongAction : function() + { + //console.log("startLongAction"); + this.api.sync_StartAction(Asc.c_oAscAsyncActionType.BlockInteraction, Asc.c_oAscAsyncAction.SlowOperation); + }, + endLongAction : function() + { + //console.log("endLongAction"); + this.api.sync_EndAction(Asc.c_oAscAsyncActionType.BlockInteraction, Asc.c_oAscAsyncAction.SlowOperation); + }, + + // run + runAllSystem : function() + { + for (let i = 0; i < this.systemPlugins.length; i++) + { + this.run(this.systemPlugins[i].guid, 0, ""); + } + }, + + run : function(guid, variation, data, isOnlyResize) + { + if (window["AscDesktopEditor"] && + window["AscDesktopEditor"]["isSupportPlugins"] && + !window["AscDesktopEditor"]["isSupportPlugins"]()) + return; + + if (this.api.DocInfo && !this.api.DocInfo.get_IsEnabledPlugins()) + return; + + if (this.runAndCloseData) // run only on close!!! + return; + + if (this.pluginsMap[guid] === undefined) + return; + + let plugin = this.getPluginByGuid(guid); + if (!plugin) + return; + + if (!this.checkEditorSupport(plugin, variation)) + return; + + let isSystem = this.pluginsMap[guid].isSystem(); + let isRunned = (this.runnedPluginsMap[guid] !== undefined) ? true : false; + + if (isRunned) + { + // запуск запущенного => закрытие + this.close(guid); + return false; + } + + if (!isSystem && !this.isSupportManyPlugins && !isOnlyResize) + { + // смотрим, есть ли запущенный несистемный плагин + var guidOther = ""; + for (let i in this.runnedPluginsMap) + { + if (this.pluginsMap[i] && !this.pluginsMap[i].isSystem()) + { + guidOther = i; + break; + } + } + + if (guidOther !== "") + { + // стопим текущий, а после закрытия - стартуем новый. + this.runAndCloseData = {}; + this.runAndCloseData.guid = guid; + this.runAndCloseData.variation = variation; + this.runAndCloseData.data = data; + + this.close(guidOther); + return; + } + } + + let startData = (data == null || data === "") ? new CPluginData() : data; + startData.setAttribute("guid", guid); + this.correctData(startData); + // set theme only on start (big object) + startData.setAttribute("theme", AscCommon.GlobalSkin); + + this.runnedPluginsMap[guid] = { + frameId: "iframe_" + guid, + currentVariation: Math.min(variation, plugin.variations.length - 1), + currentInit: false, + isSystem: isSystem, + startData: startData, + closeAttackTimer: -1, + methodReturnAsync: false, + isConnector: plugin.isConnector + }; + + this.show(guid); + }, + + runResize : function(data) + { + let guid = data.getAttribute("guid"); + let plugin = this.getPluginByGuid(guid); + + if (!plugin) + return; + + if (true !== plugin.variations[0].isUpdateOleOnResize) + return; + + data.setAttribute("resize", true); + return this.run(guid, 0, data, true); + }, + + show : function(guid) + { + let plugin = this.getPluginByGuid(guid); + let runObject = this.runnedPluginsMap[guid]; + + if (!plugin || !runObject) + return; + + // приходили главные евенты. нужно их послать + for (let mainEventType in this.mainEvents) + { + if (plugin.variations[runObject.currentVariation].eventsMap[mainEventType]) + { + if (!runObject.waitEvents) + runObject.waitEvents = []; + runObject.waitEvents.push({ n : mainEventType, d : this.mainEvents[mainEventType] }); } } @@ -498,24 +831,27 @@ if (runObject.startData.getAttribute("resize") === true) this.startLongAction(); - if (this.api.WordControl && this.api.WordControl.m_oTimerScrollSelect != -1) - { - clearInterval(this.api.WordControl.m_oTimerScrollSelect); - this.api.WordControl.m_oTimerScrollSelect = -1; - } + // заглушка + if (this.api.WordControl && this.api.WordControl.m_oTimerScrollSelect !== -1) + { + clearInterval(this.api.WordControl.m_oTimerScrollSelect); + this.api.WordControl.m_oTimerScrollSelect = -1; + } + + let urlParams = "?lang=" + this.language + "&theme-type=" + AscCommon.GlobalSkin.type; - var urlParams = "?lang=" + this.language + "&theme-type=" + AscCommon.GlobalSkin.type; - if (plugin.variations[runObject.currentVariation].isVisual && runObject.startData.getAttribute("resize") !== true) + if (plugin.variations[runObject.currentVariation]["get_Visual"]() && + runObject.startData.getAttribute("resize") !== true) { this.api.sendEvent("asc_onPluginShow", plugin, runObject.currentVariation, runObject.frameId, urlParams); this.sendsToInterface[plugin.guid] = true; } else { - var ifr = document.createElement("iframe"); + let ifr = document.createElement("iframe"); ifr.name = runObject.frameId; ifr.id = runObject.frameId; - var _add = plugin.baseUrl == "" ? this.path : plugin.baseUrl; + let _add = plugin.baseUrl === "" ? this.path : plugin.baseUrl; ifr.src = _add + plugin.variations[runObject.currentVariation].url + urlParams; ifr.style.position = (AscCommon.AscBrowser.isIE || AscCommon.AscBrowser.isMozilla) ? 'fixed' : "absolute"; ifr.style.top = '-100px'; @@ -530,7 +866,7 @@ if (runObject.startData.getAttribute("resize") !== true) { - var isSystem = false; + let isSystem = false; if (plugin.variations && plugin.variations[runObject.currentVariation].isSystem) isSystem = true; @@ -545,8 +881,8 @@ if (AscCommon.AscBrowser.isIE && !AscCommon.AscBrowser.isIeEdge) { - var ie_frame_id = runObject.frameId; - var ie_frame_message = { + let ie_frame_id = runObject.frameId; + let ie_frame_message = { data : JSON.stringify({"type" : "initialize", "guid" : guid}) }; @@ -562,69 +898,47 @@ } }, - buttonClick : function(id, guid, windowId) + // close + close : function(guid) { - if (guid === undefined) - { - // old version support - for (var i in this.runnedPluginsMap) - { - if (this.runnedPluginsMap[i].isSystem) - continue; - - if (this.pluginsMap[i]) - { - guid = i; - break; - } - } - } - - if (undefined === guid) - return; - - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; - + let plugin = this.getPluginByGuid(guid); + let runObject = this.runnedPluginsMap[guid]; if (!plugin || !runObject) return; - if (runObject.closeAttackTimer != -1) - { - clearTimeout(runObject.closeAttackTimer); - runObject.closeAttackTimer = -1; - } + if (runObject.startData && runObject.startData.getAttribute("resize") === true) + this.endLongAction(); - if (-1 === id && !windowId) + runObject.startData = null; + + if (true) { - if (!runObject.currentInit) + if (this.sendsToInterface[plugin.guid]) { - this.close(guid); + this.api.sendEvent("asc_onPluginClose", plugin, runObject.currentVariation); + delete this.sendsToInterface[plugin.guid]; } - - // защита от плохого плагина - runObject.closeAttackTimer = setTimeout(function() - { - window.g_asc_plugins.close(); - }, 5000); + var div = document.getElementById(runObject.frameId); + if (div) + div.parentNode.removeChild(div); } - var _iframe = document.getElementById(runObject.frameId); - if (_iframe) + + delete this.runnedPluginsMap[guid]; + this.api.onPluginCloseContextMenuItem(guid); + + if (this.runAndCloseData) { - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", plugin.guid); - pluginData.setAttribute("type", "button"); - pluginData.setAttribute("button", "" + id); - if (windowId) - pluginData.setAttribute("buttonWindowId", "" + windowId); - _iframe.contentWindow.postMessage(pluginData.serialize(), "*"); + let _tmp = this.runAndCloseData; + this.runAndCloseData = null; + this.run(_tmp.guid, _tmp.variation, _tmp.data); } }, + // start data init : function(guid, raw_data) { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; + let plugin = this.getPluginByGuid(guid); + let runObject = this.runnedPluginsMap[guid]; if (!plugin || !runObject || !runObject.startData) return; @@ -635,12 +949,11 @@ { case Asc.EPluginDataType.text: { - var text_data = { + let text_data = { data: "", - pushData: function (format, value) - { - this.data = value; - } + pushData: function (format, value) { + this.data = value; + } }; this.api.asc_CheckCopy(text_data, 1); @@ -651,12 +964,11 @@ } case Asc.EPluginDataType.html: { - var text_data = { + let text_data = { data: "", - pushData: function (format, value) - { - this.data = value ? value.replace(/class="[a-zA-Z0-9-:;+"\/=]*/g,"") : ""; - } + pushData: function (format, value) { + this.data = value ? value.replace(/class="[a-zA-Z0-9-:;+"\/=]*/g, "") : ""; + } }; this.api.asc_CheckCopy(text_data, 2); @@ -670,7 +982,7 @@ } case Asc.EPluginDataType.desktop: { - if (plugin.variations[runObject.currentVariation].initData == "encryption") + if (plugin.variations[runObject.currentVariation].initData === "encryption") { if (this.api.isReporterMode) { @@ -696,364 +1008,55 @@ } } break; - } - } - } - else - { - runObject.startData.setAttribute("data", raw_data); - } - - var _iframe = document.getElementById(runObject.frameId); - if (_iframe) - { - runObject.startData.setAttribute("type", "init"); - _iframe.contentWindow.postMessage(runObject.startData.serialize(), "*"); - } - - runObject.currentInit = true; - }, - correctData : function(pluginData) - { - pluginData.setAttribute("editorType", this.api._editorNameById()); - pluginData.setAttribute("mmToPx", AscCommon.g_dKoef_mm_to_pix); - - if (undefined == pluginData.getAttribute("data")) - pluginData.setAttribute("data", ""); - - pluginData.setAttribute("isViewMode", this.api.isViewMode); - pluginData.setAttribute("isMobileMode", this.api.isMobileVersion); - pluginData.setAttribute("isEmbedMode", this.api.isEmbedVersion); - pluginData.setAttribute("lang", this.language); - pluginData.setAttribute("documentId", this.api.documentId); - pluginData.setAttribute("documentTitle", this.api.documentTitle); - pluginData.setAttribute("documentCallbackUrl", this.api.documentCallbackUrl); - - if (this.api.User) - { - pluginData.setAttribute("userId", this.api.User.id); - pluginData.setAttribute("userName", this.api.User.userName); - } - }, - loadExtensionPlugins : function(_plugins, isDelayRun, isNoUpdateInterface) - { - if (!_plugins || _plugins.length < 1) - return false; - - var _map = {}; - for (let i = 0; i < this.plugins.length; i++) - _map[this.plugins[i].guid] = this.plugins[i].getIntVersion(); - - var _new = []; - for (let i = 0; i < _plugins.length; i++) - { - var _p = new Asc.CPlugin(); - _p["deserialize"](_plugins[i]); - - if (_map[_p.guid] !== undefined) - { - if (_map[_p.guid] < _p.getIntVersion()) - { - // нужно обновить - for (let j = 0; j < this.plugins.length; j++) - { - if (this.plugins[j].guid === _p.guid) - { - if (this.pluginsMap[_p.guid]) - delete this.pluginsMap[_p.guid]; - this.plugins.splice(j, 1); - } - } - } - else - { - continue; - } - } - - - _new.push(_p); - } - - if (_new.length > 0) - { - this.register(this.path, _new, isDelayRun); - - if (true !== isNoUpdateInterface) - this.updateInterface(); - - return true; - } - - return false; - }, - - updateInterface : function() - { - var _pluginsInstall = {"url" : this.path, "pluginsData" : []}; - for (var i = 0; i < this.plugins.length; i++) - { - _pluginsInstall["pluginsData"].push(this.plugins[i].serialize()); - } - - this.api.sendEvent("asc_onPluginsInit", _pluginsInstall); - }, - - startLongAction : function() - { - //console.log("startLongAction"); - this.api.sync_StartAction(Asc.c_oAscAsyncActionType.BlockInteraction, Asc.c_oAscAsyncAction.SlowOperation); - }, - endLongAction : function() - { - //console.log("endLongAction"); - this.api.sync_EndAction(Asc.c_oAscAsyncActionType.BlockInteraction, Asc.c_oAscAsyncAction.SlowOperation); - }, - - onChangedSelectionData : function() - { - for (var guid in this.runnedPluginsMap) - { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; - - if (plugin && plugin.variations[runObject.currentVariation].initOnSelectionChanged === true) - { - // re-init - this.init(guid); - } - } - }, - - onPluginEvent : function(name, data) - { - if (this.mainEventTypes[name]) - this.mainEvents[name] = data; - - let needsGuids = []; - for (var guid in this.runnedPluginsMap) - { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; - - if (plugin && plugin.variations[runObject.currentVariation].eventsMap[name]) - { - needsGuids.push(plugin.guid); - if (!runObject.isInitReceive) - { - if (!runObject.waitEvents) - runObject.waitEvents = []; - runObject.waitEvents.push({ n : name, d : data }); - continue; - } - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", plugin.guid); - pluginData.setAttribute("type", "onEvent"); - pluginData.setAttribute("eventName", name); - pluginData.setAttribute("eventData", data); - - this.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); - } - } - return needsGuids; - }, - - onPluginEvent2 : function(name, data, guids) - { - for (var guid in this.runnedPluginsMap) - { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; - - if (plugin && guids[guid]) - { - if (!runObject.isInitReceive) - { - if (!runObject.waitEvents) - runObject.waitEvents = []; - runObject.waitEvents.push({ n : name, d : data }); - continue; - } - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", plugin.guid); - pluginData.setAttribute("type", "onEvent"); - pluginData.setAttribute("eventName", name); - pluginData.setAttribute("eventData", data); - - this.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); - } - } - }, - - onPluginEventWindow : function(id, name, data) - { - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", this.guidAsyncMethod); - pluginData.setAttribute("type", "onEvent"); - pluginData.setAttribute("eventName", name); - pluginData.setAttribute("eventData", data); - - this.sendMessageToFrame(id, pluginData); - }, - - onExternalMouseUp : function() - { - for (var guid in this.runnedPluginsMap) - { - var runObject = this.runnedPluginsMap[guid]; - runObject.startData.setAttribute("type", "onExternalMouseUp"); - this.correctData(runObject.startData); - - var _iframe = document.getElementById(runObject.frameId); - if (_iframe) - { - runObject.startData.setAttribute("guid", guid); - _iframe.contentWindow.postMessage(runObject.startData.serialize(), "*"); - } - } - }, - - onEnableMouseEvents : function(isEnable) - { - for (var guid in this.runnedPluginsMap) - { - var runObject = this.runnedPluginsMap[guid]; - - var _pluginData = new Asc.CPluginData(); - _pluginData.setAttribute("type", "enableMouseEvent"); - _pluginData.setAttribute("isEnabled", isEnable); - this.correctData(_pluginData); - - var _iframe = document.getElementById(runObject.frameId); - if (_iframe) - { - _pluginData.setAttribute("guid", guid); - _iframe.contentWindow.postMessage(_pluginData.serialize(), "*"); - } - } - }, - - onThemeChanged : function(obj) - { - for (var guid in this.runnedPluginsMap) - { - var runObject = this.runnedPluginsMap[guid]; - runObject.startData.setAttribute("type", "onThemeChanged"); - runObject.startData.setAttribute("theme", obj); - this.correctData(runObject.startData); - - var _iframe = document.getElementById(runObject.frameId); - if (_iframe) - { - runObject.startData.setAttribute("guid", guid); - _iframe.contentWindow.postMessage(runObject.startData.serialize(), "*"); + } } } - }, - - onPluginMethodReturn : function(guid, _return) - { - var plugin = this.getPluginByGuid(guid); - var runObject = this.runnedPluginsMap[guid]; - - if (!plugin || !runObject) - return; - - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", plugin.guid); - pluginData.setAttribute("type", "onMethodReturn"); - pluginData.setAttribute("methodReturnData", _return); - - this.sendMessageToFrame(plugin.isConnector ? "" : runObject.frameId, pluginData); - }, - - setPluginMethodReturnAsync : function() - { - if (this.runnedPluginsMap[this.guidAsyncMethod]) - this.runnedPluginsMap[this.guidAsyncMethod].methodReturnAsync = true; - return this.guidAsyncMethod; - }, + else + { + runObject.startData.setAttribute("data", raw_data); + } - /* sign methods */ - getSign : function() - { - let _count = this.plugins.length; - for (let i = 0; i < _count; i++) + let frame = document.getElementById(runObject.frameId); + if (frame) { - var _variation = this.plugins[i].variations[0]; - if (_variation) - { - if ("sign" === _variation.initDataType) - return this.plugins[i]; - } + runObject.startData.setAttribute("type", "init"); + frame.contentWindow.postMessage(runObject.startData.serialize(), "*"); } - return null; + runObject.currentInit = true; }, + correctData : function(pluginData) + { + pluginData.setAttribute("editorType", this.api._editorNameById()); + pluginData.setAttribute("mmToPx", AscCommon.g_dKoef_mm_to_pix); - /* encryption methods ------------- */ - getEncryption : function() - { - var _count = this.plugins.length; - var i = 0; - for (i = 0; i < _count; i++) - { - var _variation = this.plugins[i].variations[0]; - if (_variation) - { - if ("desktop" == _variation.initDataType && "encryption" == _variation.initData) - return this.plugins[i]; - } - } + if (undefined === pluginData.getAttribute("data")) + pluginData.setAttribute("data", ""); - _count = this.systemPlugins.length; - for (i = 0; i < _count; i++) - { - var _variation = this.systemPlugins[i].variations[0]; - if (_variation) - { - if ("desktop" == _variation.initDataType && "encryption" == _variation.initData) - return this.systemPlugins[i]; - } - } + pluginData.setAttribute("isViewMode", this.api.isViewMode); + pluginData.setAttribute("isMobileMode", this.api.isMobileVersion); + pluginData.setAttribute("isEmbedMode", this.api.isEmbedVersion); + pluginData.setAttribute("lang", this.language); + pluginData.setAttribute("documentId", this.api.documentId); + pluginData.setAttribute("documentTitle", this.api.documentTitle); + pluginData.setAttribute("documentCallbackUrl", this.api.documentCallbackUrl); - return null; - }, - isRunnedEncryption : function() - { - var _plugin = this.getEncryption(); - if (!_plugin) - return false; - return this.isRunned(_plugin.guid); - }, - sendToEncryption : function(data) - { - var _plugin = this.getEncryption(); - if (!_plugin) - return; - this.init(_plugin.guid, data); - }, - checkCryptoReporter : function() - { - this.sendEncryptionDataCounter++; - if (2 <= this.sendEncryptionDataCounter) + if (this.api.User) { - this.sendToEncryption({ - "type" : "setPassword", - "password" : this.api.currentPassword, - "hash" : this.api.currentDocumentHash, - "docinfo" : this.api.currentDocumentInfo - }); + pluginData.setAttribute("userId", this.api.User.id); + pluginData.setAttribute("userName", this.api.User.userName); } - }, + }, + // external externalConnectorMessage : function(data) { switch (data["type"]) { case "register": { - var config = { + this.unregister(data["guid"]); + this.loadExtensionPlugins([{ "name" : "connector", "guid" : data["guid"], "baseUrl" : "", @@ -1063,14 +1066,11 @@ { "isViewer" : true, "EditorsSupport" : ["word", "cell", "slide"], - "isSystem" : true, + "type" : "system", "buttons" : [] } ] - }; - - this.unregister(data["guid"]); - this.loadExtensionPlugins([config], false, true); + }], false, true); break; } case "unregister": @@ -1080,7 +1080,7 @@ } case "attachEvent": { - var plugin = this.getPluginByGuid(data["guid"]); + let plugin = this.getPluginByGuid(data["guid"]); if (plugin && plugin.variations && plugin.variations[0]) { plugin.variations[0].eventsMap[data["name"]] = true; @@ -1089,7 +1089,7 @@ } case "detachEvent": { - var plugin = this.getPluginByGuid(data["guid"]); + let plugin = this.getPluginByGuid(data["guid"]); if (plugin && plugin.variations && plugin.variations[0]) { if (plugin.variations[0].eventsMap[data["name"]]) @@ -1112,6 +1112,7 @@ } }, + // check origin checkOrigin : function(guid, event) { let windowOrigin = window.origin; @@ -1126,24 +1127,202 @@ return true; // external plugins - var plugin = this.getPluginByGuid(guid); + let plugin = this.getPluginByGuid(guid); if (plugin && 0 === plugin.baseUrl.indexOf(event.origin)) return true; return false; }, - /* -------------------------------- */ - sendMessageToFrame : function(frameId, pluginData) + // commands + shiftCommand : function(returnValue) { - if ("" === frameId) + if (0 === this.queueCommands.length) { - window.postMessage("{\"type\":\"onExternalPluginMessageCallback\",\"data\":" + pluginData.serialize() + "}", "*"); + // значит был вызван плагинный метод не в плагине + return; + } + + let currentCommand = this.queueCommands.shift(); + + // send callback + let pluginDataTmp = undefined; + if (!currentCommand.closed) + { + pluginDataTmp = new CPluginData(); + pluginDataTmp.setAttribute("guid", currentCommand.guid); + + if (currentCommand.type === CommandTaskType.Command) + { + pluginDataTmp.setAttribute("type", "onCommandCallback"); + pluginDataTmp.setAttribute("commandReturnData", returnValue); + } + else + { + pluginDataTmp.setAttribute("type", "onMethodReturn"); + pluginDataTmp.setAttribute("methodReturnData", returnValue); + } + + let runObject = this.runnedPluginsMap[currentCommand.guid]; + if (runObject) + this.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginDataTmp); + } + + if (this.queueCommands.length > 0) + { + let nextCommand = this.queueCommands[0]; + if (nextCommand.type === CommandTaskType.Command) + { + this.callCommandInternal(nextCommand.value, nextCommand); + } + else + { + this.callMethodInternal(nextCommand.guid, nextCommand.name, nextCommand.value); + } + } + }, + + callCommand : function(guid, value, isClose, isInterface, isRecalculate, isResize) + { + let task = new CCommandTask(CommandTaskType.Command, guid); + task.closed = isClose; + task.interface = isInterface; + task.recalculate = isRecalculate; + task.resize = isResize; + + if (0 === this.queueCommands.length) + { + this.queueCommands.push(task); + this.callCommandInternal(value, task); + return; + } + + task.value = value; + this.queueCommands.push(task); + }, + + callMethod : function(guid, name, value) + { + let task = new CCommandTask(CommandTaskType.Method, guid); + + if (0 === this.queueCommands.length) + { + this.queueCommands.push(task); + this.callMethodInternal(guid, name, value); return; } - var _iframe = document.getElementById(frameId); - if (_iframe) - _iframe.contentWindow.postMessage(pluginData.serialize(), "*"); + + task.name = name; + task.value = value; + this.queueCommands.push(task); + }, + + getCurrentPluginGuid : function() + { + return this.queueCommands[0].guid; + }, + + callCommandInternal : function(value, task) + { + let commandReturnValue = undefined; + try + { + if ( !AscCommon.isValidJs(value) ) + { + console.error('Invalid JS.'); + this.shiftCommand(commandReturnValue); + return; + } + + if (task.interface) + { + try + { + AscCommon.safePluginEval(value); + } + catch (err) + { + console.error(err); + } + } + else if (!this.api.isLongAction() && (task.resize || this.api.asc_canPaste())) + { + this.api._beforeEvalCommand(); + AscFonts.IsCheckSymbols = true; + try + { + commandReturnValue = AscCommon.safePluginEval(value); + } + catch (err) + { + commandReturnValue = undefined; + console.error(err); + } + + if (!checkReturnCommand(commandReturnValue)) + commandReturnValue = undefined; + + AscFonts.IsCheckSymbols = false; + + if (task.recalculate === true) + { + this.api._afterEvalCommand(function() { + window.g_asc_plugins.shiftCommand(commandReturnValue); + }); + return; + } + else + { + switch (this.api.getEditorId()) + { + case AscCommon.c_oEditorId.Word: + case AscCommon.c_oEditorId.Presentation: + { + this.api.WordControl.m_oLogicDocument.FinalizeAction(); + break; + } + case AscCommon.c_oEditorId.Spreadsheet: + { + // На asc_canPaste создается точка в истории и startTransaction. Поэтому нужно ее закрыть без пересчета. + this.api.asc_endPaste(); + break; + } + default: + break; + } + } + } + } + catch (err) + { + } + + this.shiftCommand(commandReturnValue); + }, + + setPluginMethodReturnAsync : function() + { + let currentPlugin = this.getCurrentPluginGuid(); + if (this.runnedPluginsMap[currentPlugin]) + this.runnedPluginsMap[currentPlugin].methodReturnAsync = true; + }, + + onPluginMethodReturn : function(returnValue) + { + this.shiftCommand(returnValue); + }, + + callMethodInternal : function(guid, name, value) + { + let methodName = "pluginMethod_" + name; + let methodRetValue = undefined; + + if (this.api[methodName]) + methodRetValue = this.api[methodName].apply(this.api, value); + + let runObject = this.runnedPluginsMap[guid]; + if (!runObject.methodReturnAsync) + this.shiftCommand(methodRetValue); } }; @@ -1217,15 +1396,15 @@ if (!isObj && typeof(event.data) != "string") return; - var pluginData = new CPluginData(); + let pluginData = new CPluginData(); if (true === isObj) pluginData.wrap(event); else pluginData.deserialize(event.data); - var guid = pluginData.getAttribute("guid"); - var runObject = window.g_asc_plugins.runnedPluginsMap[guid]; + let guid = pluginData.getAttribute("guid"); + let runObject = window.g_asc_plugins.runnedPluginsMap[guid]; if (!runObject) return; @@ -1234,229 +1413,140 @@ if (!isObj && !window.g_asc_plugins.checkOrigin(guid, event)) return; - var name = pluginData.getAttribute("type"); - var value = pluginData.getAttribute("data"); + let name = pluginData.getAttribute("type"); + let value = pluginData.getAttribute("data"); - if ("initialize_internal" == name) + switch (name) { - if (pluginData.getAttribute("windowID")) + case "initialize_internal": { - var _iframe = document.getElementById(pluginData.getAttribute("windowID")); - if (_iframe && runObject.startData) + if (pluginData.getAttribute("windowID")) { - runObject.startData.setAttribute("data", ""); - runObject.startData.setAttribute("type", "init"); - _iframe.contentWindow.postMessage(runObject.startData.serialize(), "*"); + let frame = document.getElementById(pluginData.getAttribute("windowID")); + if (frame && runObject.startData) + { + runObject.startData.setAttribute("data", ""); + runObject.startData.setAttribute("type", "init"); + frame.contentWindow.postMessage(runObject.startData.serialize(), "*"); + } + return; } - return; - } - window.g_asc_plugins.init(guid); + window.g_asc_plugins.init(guid); - runObject.isInitReceive = true; + runObject.isInitReceive = true; - setTimeout(function() { - if (runObject.waitEvents) - { - for (var i = 0; i < runObject.waitEvents.length; i++) + setTimeout(function() { + if (runObject.waitEvents) { - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", guid); - pluginData.setAttribute("type", "onEvent"); - pluginData.setAttribute("eventName", runObject.waitEvents[i].n); - pluginData.setAttribute("eventData", runObject.waitEvents[i].d); - var _iframe = document.getElementById(runObject.frameId); - if (_iframe) - _iframe.contentWindow.postMessage(pluginData.serialize(), "*"); + for (var i = 0; i < runObject.waitEvents.length; i++) + { + let pluginDataTmp = new CPluginData(); + pluginDataTmp.setAttribute("guid", guid); + pluginDataTmp.setAttribute("type", "onEvent"); + pluginDataTmp.setAttribute("eventName", runObject.waitEvents[i].n); + pluginDataTmp.setAttribute("eventData", runObject.waitEvents[i].d); + let frame = document.getElementById(runObject.frameId); + if (frame) + frame.contentWindow.postMessage(pluginDataTmp.serialize(), "*"); + } + runObject.waitEvents = null; } - runObject.waitEvents = null; - } - }, 100); - } - else if ("initialize" == name) - { - let iframeID = runObject.frameId; - if (pluginData.getAttribute("windowID")) - iframeID = pluginData.getAttribute("windowID"); - - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", guid); - pluginData.setAttribute("type", "plugin_init"); - pluginData.setAttribute("data", /**/"(function(a,l){var f=[1,1.25,1.5,1.75,2,2.5,3,3.5,4,4.5,5];a.AscDesktopEditor&&a.AscDesktopEditor.GetSupportedScaleValues&&(f=a.AscDesktopEditor.GetSupportedScaleValues());var k=function(){if(0===f.length)return!1;var c=navigator.userAgent.toLowerCase(),e=-1e-1E-4);g++)h=Math.abs(f[g]-e),hMath.abs(c.zoom-b)||(b=c.zoom,document.firstElementChild.style.zoom=.001>Math.abs(b-1)?\"normal\":1/b)}})(window);(function(a,l){function f(b){this.plugin=b;this.ps;this.items=[];this.isCurrentVisible=this.isVisible=!1}function k(){this.id=a.Asc.generateGuid();this.id=this.id.replace(/-/g,\"\");this._events={};this._register()}f.prototype.createWindow=function(){var b=document.body,c=document.getElementsByTagName(\"head\")[0];b&&c&&(b=document.createElement(\"style\"),b.type=\"text/css\",b.innerHTML='.ih_main { margin: 0px; padding: 0px; width: 100%; height: 100%; display: inline-block; overflow: hidden; box-sizing: border-box; user-select: none; position: fixed; border: 1px solid #cfcfcf; } ul { margin: 0px; padding: 0px; width: 100%; height: 100%; list-style-type: none; outline:none; } li { padding: 5px; font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 400; color: #373737; } li:hover { background-color: #D8DADC; } .li_selected { background-color: #D8DADC; color: #373737; }.li_selected:hover { background-color: #D8DADC; color: #373737; }',c.appendChild(b),document.body.style.background=\"#FFFFFF\",document.body.style.width=\"100%\",document.body.style.height=\"100%\",document.body.style.margin=\"0\",document.body.style.padding=\"0\",document.body.innerHTML='

    ',this.ps=new PerfectScrollbar(document.getElementById(\"ih_area\"),{minScrollbarLength:20}),this.updateScrolls(),this.createDefaultEvents())};f.prototype.setItems=function(b){this.items=b;for(var c=\"\",e=b.length,d=0;d',c+=b[d].text,c+=\"\";document.getElementById(\"ih_elements_id\").innerHTML=c;this.updateScrolls();this.scrollToSelected()};f.prototype.createDefaultEvents=function(){this.plugin.onExternalMouseUp=function(){var c=document.createEvent(\"MouseEvents\");c.initMouseEvent(\"mouseup\",!0,!0,a,1,0,0,0,0,!1,!1,!1,!1,0,null);document.dispatchEvent(c)};var b=this;a.onkeydown=function(c){switch(c.keyCode){case 27:b.isVisible&&(b.isVisible=!1,b.plugin.executeMethod(\"UnShowInputHelper\",[b.plugin.info.guid,!0]));break;case 38:case 40:case 9:case 36:case 35:case 33:case 34:for(var e=document.getElementsByTagName(\"li\"),d=-1,m=0;md&&(d=0);break;case 40:d++;d>=e.length&&(d=e.length-1);break;case 9:d++;d>=e.length&&(d=0);break;case 36:d=0;break;case 35:d=e.length-1;break;case 33:case 34:m=1;var h=document.getElementById(\"ih_area\").clientHeight/24>>0;1d&&(d=0)):(d+=m,d>=e.length&&(d=d=e.length-1))}d .ps__thumb-y\":{\"border-color\":\"canvas-scroll-thumb-hover\",\"background-color\":\"canvas-scroll-thumb-hover !important\"},\".ps .ps__rail-x:hover\":{\"background-color\":\"background-toolbar\"},\".ps .ps__rail-x.ps--clicking\":{\"background-color\":\"background-toolbar\"},\".ps__thumb-x\":{\"background-color\":\"background-normal\",\"border-color\":\"Border !important\"},\".ps__rail-x:hover > .ps__thumb-x\":{\"border-color\":\"canvas-scroll-thumb-hover\"},a:{color:\"text-link !important\"},\"a:hover\":{color:\"text-link-hover !important\"},\"a:active\":{color:\"text-link-active !important\"},\"a:visited\":{color:\"text-link-visited !important\"},\"*::-webkit-scrollbar-track\":{background:\"background-normal\"},\"*::-webkit-scrollbar-track:hover\":{background:\"background-toolbar-additional\"},\"*::-webkit-scrollbar-thumb\":{\"background-color\":\"background-toolbar\",\"border-color\":\"border-regular-control\"},\"*::-webkit-scrollbar-thumb:hover\":{\"background-color\":\"canvas-scroll-thumb-hover\"},\".asc-plugin-loader\":{color:\"text-normal\"}},e=!1,d=\"\";a.plugin_sendMessage=function(h){a.Asc.plugin.ie_channel?a.Asc.plugin.ie_channel.postMessage(h):a.parent.postMessage(h,\"*\")};a.plugin_onMessage=function(h){if(a.Asc.plugin&&\"string\"==typeof h.data){var g={};try{g=JSON.parse(h.data)}catch(n){g={}}h=g.type;if(g.guid!=a.Asc.plugin.guid){if(l!==g.guid)return;switch(h){case \"onExternalPluginMessage\":break;default:return}}\"init\"==h&&(a.Asc.plugin.info=g);if(l!==g.theme&&(!a.Asc.plugin.theme||\"onThemeChanged\"===h))if(a.Asc.plugin.theme=g.theme,a.Asc.plugin.onThemeChangedBase||(a.Asc.plugin.onThemeChangedBase=function(n){var q=\"\",t;for(t in c){q+=t+\" {\";var w=c[t],r;for(r in w){var u=w[r],x=u.indexOf(\" !important\");-1*/); - var _iframe = document.getElementById(iframeID); - if (_iframe) - { - if (channel) - _iframe.contentWindow.postMessage(pluginData.serialize(), "*", [channel["port2"]]); - else - _iframe.contentWindow.postMessage(pluginData.serialize(), "*"); + }, 100); + break; } - return; - } - else if ("reload" == name) - { - if (true === pluginData.getAttribute("ctrl")) - { - if (AscCommon.c_oEditorId.Presentation === window.g_asc_plugins.api.getEditorId()) + case "initialize": + { + let iframeID = runObject.frameId; + if (pluginData.getAttribute("windowID")) + iframeID = pluginData.getAttribute("windowID"); + + let pluginDataTmp = new CPluginData(); + pluginDataTmp.setAttribute("guid", guid); + pluginDataTmp.setAttribute("type", "plugin_init"); + pluginDataTmp.setAttribute("data", /**/"(function(a,l){var f=[1,1.25,1.5,1.75,2,2.5,3,3.5,4,4.5,5];a.AscDesktopEditor&&a.AscDesktopEditor.GetSupportedScaleValues&&(f=a.AscDesktopEditor.GetSupportedScaleValues());var k=function(){if(0===f.length)return!1;var c=navigator.userAgent.toLowerCase(),e=-1e-1E-4);g++)h=Math.abs(f[g]-e),hMath.abs(c.zoom-b)||(b=c.zoom,document.firstElementChild.style.zoom=.001>Math.abs(b-1)?\"normal\":1/b)}})(window);(function(a,l){function f(b){this.plugin=b;this.ps;this.items=[];this.isCurrentVisible=this.isVisible=!1}function k(){this.id=a.Asc.generateGuid();this.id=this.id.replace(/-/g,\"\");this._events={};this._register()}f.prototype.createWindow=function(){var b=document.body,c=document.getElementsByTagName(\"head\")[0];b&&c&&(b=document.createElement(\"style\"),b.type=\"text/css\",b.innerHTML='.ih_main { margin: 0px; padding: 0px; width: 100%; height: 100%; display: inline-block; overflow: hidden; box-sizing: border-box; user-select: none; position: fixed; border: 1px solid #cfcfcf; } ul { margin: 0px; padding: 0px; width: 100%; height: 100%; list-style-type: none; outline:none; } li { padding: 5px; font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 400; color: #373737; } li:hover { background-color: #D8DADC; } .li_selected { background-color: #D8DADC; color: #373737; }.li_selected:hover { background-color: #D8DADC; color: #373737; }',c.appendChild(b),document.body.style.background=\"#FFFFFF\",document.body.style.width=\"100%\",document.body.style.height=\"100%\",document.body.style.margin=\"0\",document.body.style.padding=\"0\",document.body.innerHTML='
      ',this.ps=new PerfectScrollbar(document.getElementById(\"ih_area\"),{minScrollbarLength:20}),this.updateScrolls(),this.createDefaultEvents())};f.prototype.setItems=function(b){this.items=b;for(var c=\"\",e=b.length,d=0;d',c+=b[d].text,c+=\"\";document.getElementById(\"ih_elements_id\").innerHTML=c;this.updateScrolls();this.scrollToSelected()};f.prototype.createDefaultEvents=function(){this.plugin.onExternalMouseUp=function(){var c=document.createEvent(\"MouseEvents\");c.initMouseEvent(\"mouseup\",!0,!0,a,1,0,0,0,0,!1,!1,!1,!1,0,null);document.dispatchEvent(c)};var b=this;a.onkeydown=function(c){switch(c.keyCode){case 27:b.isVisible&&(b.isVisible=!1,b.plugin.executeMethod(\"UnShowInputHelper\",[b.plugin.info.guid,!0]));break;case 38:case 40:case 9:case 36:case 35:case 33:case 34:for(var e=document.getElementsByTagName(\"li\"),d=-1,m=0;md&&(d=0);break;case 40:d++;d>=e.length&&(d=e.length-1);break;case 9:d++;d>=e.length&&(d=0);break;case 36:d=0;break;case 35:d=e.length-1;break;case 33:case 34:m=1;var h=document.getElementById(\"ih_area\").clientHeight/24>>0;1d&&(d=0)):(d+=m,d>=e.length&&(d=d=e.length-1))}d .ps__thumb-y\":{\"border-color\":\"canvas-scroll-thumb-hover\",\"background-color\":\"canvas-scroll-thumb-hover !important\"},\".ps .ps__rail-x:hover\":{\"background-color\":\"background-toolbar\"},\".ps .ps__rail-x.ps--clicking\":{\"background-color\":\"background-toolbar\"},\".ps__thumb-x\":{\"background-color\":\"background-normal\",\"border-color\":\"Border !important\"},\".ps__rail-x:hover > .ps__thumb-x\":{\"border-color\":\"canvas-scroll-thumb-hover\"},a:{color:\"text-link !important\"},\"a:hover\":{color:\"text-link-hover !important\"},\"a:active\":{color:\"text-link-active !important\"},\"a:visited\":{color:\"text-link-visited !important\"},\"*::-webkit-scrollbar-track\":{background:\"background-normal\"},\"*::-webkit-scrollbar-track:hover\":{background:\"background-toolbar-additional\"},\"*::-webkit-scrollbar-thumb\":{\"background-color\":\"background-toolbar\",\"border-color\":\"border-regular-control\"},\"*::-webkit-scrollbar-thumb:hover\":{\"background-color\":\"canvas-scroll-thumb-hover\"},\".asc-plugin-loader\":{color:\"text-normal\"}},e=!1,d=\"\";a.plugin_sendMessage=function(h){a.Asc.plugin.ie_channel?a.Asc.plugin.ie_channel.postMessage(h):a.parent.postMessage(h,\"*\")};a.plugin_onMessage=function(h){if(a.Asc.plugin&&\"string\"==typeof h.data){var g={};try{g=JSON.parse(h.data)}catch(n){g={}}h=g.type;if(g.guid!=a.Asc.plugin.guid){if(l!==g.guid)return;switch(h){case \"onExternalPluginMessage\":break;default:return}}\"init\"==h&&(a.Asc.plugin.info=g);if(l!==g.theme&&(!a.Asc.plugin.theme||\"onThemeChanged\"===h))if(a.Asc.plugin.theme=g.theme,a.Asc.plugin.onThemeChangedBase||(a.Asc.plugin.onThemeChangedBase=function(n){var q=\"\",t;for(t in c){q+=t+\" {\";var w=c[t],r;for(r in w){var u=w[r],x=u.indexOf(\" !important\");-1*/); + let frame = document.getElementById(iframeID); + if (frame) { - window.g_asc_plugins.api.sendEvent("asc_onStartDemonstration"); + if (channel) + frame.contentWindow.postMessage(pluginDataTmp.serialize(), "*", [channel["port2"]]); + else + frame.contentWindow.postMessage(pluginDataTmp.serialize(), "*"); } + break; } - return; - } - else if ("close" == name || "command" == name) - { - if (runObject.closeAttackTimer != -1) + case "reload": { - clearTimeout(runObject.closeAttackTimer); - runObject.closeAttackTimer = -1; + if (true === pluginData.getAttribute("ctrl") && + AscCommon.c_oEditorId.Presentation === window.g_asc_plugins.api.getEditorId()) + { + window.g_asc_plugins.api.sendEvent("asc_onStartDemonstration"); + } + break; } - - if (value && value != "") + case "close": + case "command": { - var _command_callback_send = ("command" == name); - var commandReturn = undefined; - try + if (runObject.closeAttackTimer !== -1) { - if ( !AscCommon.isValidJs(value) ) - { - console.error('Invalid JS.'); - return; - } - - if (pluginData.getAttribute("interface")) - { - try - { - AscCommon.safePluginEval(value); - } - catch (err) - { - console.error(err); - } - } - else if (!window.g_asc_plugins.api.isLongAction() && (pluginData.getAttribute("resize") || window.g_asc_plugins.api.asc_canPaste())) - { - window.g_asc_plugins.api._beforeEvalCommand(); - AscFonts.IsCheckSymbols = true; - try - { - commandReturn = AscCommon.safePluginEval(value); - } - catch (err) - { - commandReturn = undefined; - console.error(err); - } - - if (!checkReturnCommand(commandReturn)) - commandReturn = undefined; - - AscFonts.IsCheckSymbols = false; - - if (pluginData.getAttribute("recalculate") == true) - { - _command_callback_send = false; - - window.g_asc_plugins.api._afterEvalCommand(function(){ - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", guid); - pluginData.setAttribute("type", "onCommandCallback"); - pluginData.setAttribute("commandReturnData", commandReturn); + clearTimeout(runObject.closeAttackTimer); + runObject.closeAttackTimer = -1; + } - window.g_asc_plugins.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); - }); - } - else - { - var editorId = window.g_asc_plugins.api.getEditorId(); - if (AscCommon.c_oEditorId.Spreadsheet === editorId) - { - // На asc_canPaste создается точка в истории и startTransaction. Поэтому нужно ее закрыть без пересчета. - window.g_asc_plugins.api.asc_endPaste(); - } - else if (AscCommon.c_oEditorId.Word === editorId || - AscCommon.c_oEditorId.Presentation === editorId) - { - window.g_asc_plugins.api.WordControl.m_oLogicDocument.FinalizeAction(); - } - } - } - } catch (err) + if (value && value !== "") { + window.g_asc_plugins.callCommand(guid, value, "close" === name, + pluginData.getAttribute("interface"), + pluginData.getAttribute("recalculate"), + pluginData.getAttribute("resize")); } - if (_command_callback_send) - { - var pluginData = new CPluginData(); - pluginData.setAttribute("guid", guid); - pluginData.setAttribute("type", "onCommandCallback"); - pluginData.setAttribute("commandReturnData", commandReturn); + if ("close" === name) + window.g_asc_plugins.close(guid); - window.g_asc_plugins.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); - } + break; } + case "resize": + { + let sizes = JSON.parse(value); - if ("close" == name) + window.g_asc_plugins.api.sendEvent("asc_onPluginResize", + [sizes["width"], sizes["height"]], + [sizes["minw"], sizes["minh"]], + [sizes["maxw"], sizes["maxh"]], function() { + // TODO: send resize end event + }); + break; + } + case "onmousemove": { - window.g_asc_plugins.close(guid); + let pos = JSON.parse(value); + window.g_asc_plugins.api.sendEvent("asc_onPluginMouseMove", pos["x"], pos["y"]); + break; } - } - else if ("resize" == name) - { - var _sizes = JSON.parse(value); - - window.g_asc_plugins.api.sendEvent("asc_onPluginResize", - [_sizes["width"], _sizes["height"]], - [_sizes["minw"], _sizes["minh"]], - [_sizes["maxw"], _sizes["maxh"]], function() { - // TODO: send resize end event - }); - } - else if ("onmousemove" == name) - { - var _pos = JSON.parse(value); - window.g_asc_plugins.api.sendEvent("asc_onPluginMouseMove", _pos["x"], _pos["y"]); - } - else if ("onmouseup" == name) - { - var _pos = JSON.parse(value); - window.g_asc_plugins.api.sendEvent("asc_onPluginMouseUp", _pos["x"], _pos["y"]); - } - else if ("method" == name) - { - var _apiMethodName = "pluginMethod_" + pluginData.getAttribute("methodName"); - var _return = undefined; - - window.g_asc_plugins.guidAsyncMethod = guid; - - if (window.g_asc_plugins.api[_apiMethodName]) - _return = window.g_asc_plugins.api[_apiMethodName].apply(window.g_asc_plugins.api, value); - - if (!runObject.methodReturnAsync) + case "onmouseup": + { + let pos = JSON.parse(value); + window.g_asc_plugins.api.sendEvent("asc_onPluginMouseUp", pos["x"], pos["y"]); + break; + } + case "method": + { + window.g_asc_plugins.callMethod(guid, pluginData.getAttribute("methodName"), value); + break; + } + case "messageToPlugin": { - var pluginData = new CPluginData(); pluginData.setAttribute("guid", guid); - pluginData.setAttribute("type", "onMethodReturn"); - pluginData.setAttribute("methodReturnData", _return); + pluginData.setAttribute("type", "onWindowEvent"); + pluginData.setAttribute("windowID", pluginData.getAttribute("windowID")); + pluginData.setAttribute("eventName", pluginData.getAttribute("eventName")); + pluginData.setAttribute("eventData", value); window.g_asc_plugins.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); + break; } - runObject.methodReturnAsync = false; - window.g_asc_plugins.guidAsyncMethod = ""; - return; - } - else if ("messageToPlugin" == name) - { - var winID = pluginData.getAttribute("windowID"); - - var pluginData2 = new CPluginData(); - pluginData.setAttribute("guid", guid); - pluginData.setAttribute("type", "onWindowEvent"); - pluginData.setAttribute("windowID", pluginData.getAttribute("windowID")); - pluginData.setAttribute("eventName", pluginData.getAttribute("eventName")); - pluginData.setAttribute("eventData", value); - - window.g_asc_plugins.sendMessageToFrame(runObject.isConnector ? "" : runObject.frameId, pluginData); + default: + break; } } @@ -1475,17 +1565,14 @@ if (window.g_asc_plugins) return window.g_asc_plugins; - window.g_asc_plugins = new CPluginsManager(api); - window["g_asc_plugins"] = window.g_asc_plugins; - window.g_asc_plugins.api = api; - window.g_asc_plugins["api"] = window.g_asc_plugins.api; + window.g_asc_plugins = new CPluginsManager(api); + window["g_asc_plugins"] = window.g_asc_plugins; - api.asc_registerCallback('asc_onSelectionEnd', function(){ + api.asc_registerCallback('asc_onSelectionEnd', function() { window.g_asc_plugins.onChangedSelectionData(); }); - window.g_asc_plugins.api.asc_registerCallback('asc_onDocumentContentReady', function() - { + window.g_asc_plugins.api.asc_registerCallback('asc_onDocumentContentReady', function() { setTimeout(function() { if (window.g_asc_plugins.api.preSetupPlugins) @@ -1497,29 +1584,28 @@ } }, 10); - }); if (window.location && window.location.search) { - var _langSearch = window.location.search; - var _pos1 = _langSearch.indexOf("lang="); - var _pos2 = (-1 != _pos1) ? _langSearch.indexOf("&", _pos1) : -1; - if (_pos1 >= 0) + let langSearch = window.location.search; + let pos1 = langSearch.indexOf("lang="); + let pos2 = (-1 !== pos1) ? langSearch.indexOf("&", pos1) : -1; + if (pos1 >= 0) { - _pos1 += 5; + pos1 += 5; - if (_pos2 < 0) - _pos2 = _langSearch.length; + if (pos2 < 0) + pos2 = langSearch.length; - var _lang = _langSearch.substr(_pos1, _pos2 - _pos1); - if (_lang.length == 2) + let lang = langSearch.substr(pos1, pos2 - pos1); + if (lang.length === 2) { - _lang = (_lang.toLowerCase() + "-" + _lang.toUpperCase()); + lang = (lang.toLowerCase() + "-" + lang.toUpperCase()); } - if (5 == _lang.length) - window.g_asc_plugins.language = _lang; + if (5 === lang.length) + window.g_asc_plugins.language = lang; } } @@ -1533,15 +1619,19 @@ window["Asc"].CPluginData_wrap = function(obj) { if (!obj.getAttribute) + { obj.getAttribute = function(name) { return this[name]; }; + } if (!obj.setAttribute) + { obj.setAttribute = function(name, value) { return this[name] = value; }; + } }; window["Asc"].loadConfigAsInterface = function(url) @@ -1589,34 +1679,7 @@ var arrPlugins = []; arrPluginsConfigs.forEach(function(item) { var plugin = new Asc.CPlugin(); - plugin["set_Name"](item["name"]); - plugin["set_Guid"](item["guid"]); - plugin["set_BaseUrl"](item["baseUrl"]); - plugin["set_Loader"](item["loader"]); - var variations = item["variations"]; - var variationsArr = []; - variations.forEach(function(itemVar){ - var variation = new Asc.CPluginVariation(); - variation["set_Description"](itemVar["description"]); - variation["set_Url"](itemVar["url"]); - variation["set_Icons"](itemVar["icons"]); - variation["set_Visual"](itemVar["isVisual"]); - variation["set_CustomWindow"](itemVar["'isCustomWindow"]); - variation["set_System"](itemVar["isSystem"]); - variation["set_Viewer"](itemVar["isViewer"]); - variation["set_EditorsSupport"](itemVar["EditorsSupport"]); - variation["set_Modal"](itemVar["isModal"]); - variation["set_InsideMode"](itemVar["isInsideMode"]); - variation["set_InitDataType"](itemVar["initDataType"]); - variation["set_InitData"](itemVar["initData"]); - variation["set_UpdateOleOnResize"](itemVar["isUpdateOleOnResize"]); - variation["set_Buttons"](itemVar["buttons"]); - variation["set_Size"](itemVar["size"]); - variation["set_InitOnSelectionChanged"](itemVar["initOnSelectionChanged"]); - variation["set_Events"](itemVar["events"]); - variationsArr.push(variation); - }); - plugin["set_Variations"](variationsArr); + plugin["deserialize"](item); arrPlugins.push(plugin); }); diff --git a/common/plugins/plugin_base_api.js b/common/plugins/plugin_base_api.js index 0c7fd8888f..cae0505688 100644 --- a/common/plugins/plugin_base_api.js +++ b/common/plugins/plugin_base_api.js @@ -125,14 +125,14 @@ window.startPluginApi = function() { * * @pr {string[]} icons - Plugin icon image files used in the editors. There can be several scaling types for plugin icons: 100%, 125%, 150%, 175%, 200%, etc. * - * @pr {boolean} [isViewer=false] - Specifies if the plugin is working when the document is available in the viewer mode only or not. * @pr {editorType[]} [EditorsSupport=Array.("word","cell","slide")] - The editors which the plugin is available for ("word" - text document editor, "cell" - spreadsheet editor, "slide" - presentation editor). + * @pr {boolean} [isViewer=false] - Specifies if the plugin is working when the document is available in the viewer mode only or not. + * @pr {boolean} [isDisplayedInViewer=true] - Specifies if the plugin will be displayed in the viewer mode as well as in the editor mode (isDisplayedInViewer == true) or in the editor mode only (isDisplayedInViewer == false). * * @pr {boolean} isVisual - Specifies if the plugin is visual (will open a window for some action, or introduce some additions to the editor panel interface) or non-visual (will provide a button (or buttons) which is going to apply some transformations or manipulations to the document). * @pr {boolean} isModal - Specifies if the opened plugin window is modal (used for visual plugins only, and if isInsideMode is not true). * @pr {boolean} isInsideMode - Specifies if the plugin must be displayed inside the editor panel instead of its own window. * @pr {boolean} isSystem - Specifies if the plugin is not displayed in the editor interface and is started in the background with the server (or desktop editors start) not interfering with the other plugins, so that they can work simultaneously. - * @pr {boolean} isDisplayedInViewer - Specifies if the plugin will be displayed in the viewer mode as well as in the editor mode (isDisplayedInViewer == true) or in the editor mode only (isDisplayedInViewer == false). * * @pr {boolean} initOnSelectionChanged - Specifies if the plugin watches the text selection events in the editor window. * diff --git a/configs/cell.json b/configs/cell.json index 388e98e90d..b1c968a7ff 100644 --- a/configs/cell.json +++ b/configs/cell.json @@ -115,6 +115,9 @@ "common/Drawings/DrawingObjectsHandlers.js", "common/Drawings/TextDrawer.js", + "common/PromiseIterators.js", + "common/ExternalDataLoader.js", + "common/Drawings/Externals.js", "common/GlobalLoaders.js", "common/Controls.js", @@ -149,6 +152,7 @@ "cell/model/FormulaObjects/lookupandreferenceFunctions.js", "cell/model/FormulaObjects/informationFunctions.js", "cell/model/FormulaObjects/logicalFunctions.js", + "cell/model/FormulaObjects/traceDependents.js", "cell/model/CellComment.js", "cell/model/WorkbookElems.js", "cell/model/Workbook.js", @@ -224,6 +228,7 @@ "word/Editor/Paragraph/DisplayStyleCalculator.js", "word/Editor/Paragraph/ParaRevisionMove.js", "word/Editor/Paragraph/GraphemesCounter.js", + "word/Editor/Paragraph/TextHyphenator.js", "word/Editor/Paragraph/TextShaper.js", "word/Editor/Hyperlink.js", "word/Editor/HyperlinkChanges.js", diff --git a/configs/slide.json b/configs/slide.json index 27b3ba8351..3f7a2f13e5 100644 --- a/configs/slide.json +++ b/configs/slide.json @@ -114,6 +114,9 @@ "common/Drawings/DrawingObjectsHandlers.js", "common/Drawings/TextDrawer.js", + "common/PromiseIterators.js", + "common/ExternalDataLoader.js", + "common/Drawings/Externals.js", "common/GlobalLoaders.js", "common/Controls.js", @@ -221,6 +224,7 @@ "word/Editor/Paragraph/DisplayStyleCalculator.js", "word/Editor/Paragraph/ParaRevisionMove.js", "word/Editor/Paragraph/GraphemesCounter.js", + "word/Editor/Paragraph/TextHyphenator.js", "word/Editor/Paragraph/TextShaper.js", "word/Editor/Hyperlink.js", "word/Editor/HyperlinkChanges.js", diff --git a/configs/word.json b/configs/word.json index d0be5162dd..fc3c77269c 100644 --- a/configs/word.json +++ b/configs/word.json @@ -42,6 +42,7 @@ "common/api/tableStylesPreviewGenerator.js", "common/api/spellCheckSettings.js", "common/api/addTextSettings.js", + "common/api/auto-hyphenation-settings.js", "common/api/autoCorrectSettings.js", "common/api/firstLetterExceptions.js", "common/api/restrictionSettings.js", @@ -112,6 +113,9 @@ "common/Drawings/DrawingObjectsHandlers.js", "common/Drawings/TextDrawer.js", + "common/PromiseIterators.js", + "common/ExternalDataLoader.js", + "common/Drawings/Externals.js", "common/GlobalLoaders.js", "common/Controls.js", @@ -186,6 +190,7 @@ "word/Editor/Paragraph/FormulaParser.js", "word/Editor/Paragraph/ParaRevisionMove.js", "word/Editor/Paragraph/GraphemesCounter.js", + "word/Editor/Paragraph/TextHyphenator.js", "word/Editor/Paragraph/TextShaper.js", "word/Editor/Hyperlink.js", "word/Editor/HyperlinkChanges.js", diff --git a/slide/Drawing/DrawingDocument.js b/slide/Drawing/DrawingDocument.js index d8c961947a..3cec3020e7 100644 --- a/slide/Drawing/DrawingDocument.js +++ b/slide/Drawing/DrawingDocument.js @@ -2903,7 +2903,11 @@ function CDrawingDocument() this.InlineTextTrackEnabled = false; if (true !== isOnlyMoveTarget) - this.m_oWordControl.m_oLogicDocument.OnEndTextDrag(this.InlineTextTrack, AscCommon.global_keyboardEvent.CtrlKey); + { + const bIsMac = AscCommon.AscBrowser.isMacOs; + const bCopy = bIsMac ? AscCommon.global_keyboardEvent.AltKey : AscCommon.global_keyboardEvent.CtrlKey; + this.m_oWordControl.m_oLogicDocument.OnEndTextDrag(this.InlineTextTrack, bCopy); + } else if (this.InlineTextTrack) { var Paragraph = this.InlineTextTrack.Paragraph; diff --git a/slide/Drawing/MorphTransition.js b/slide/Drawing/MorphTransition.js index 786f21f714..f286b737bd 100644 --- a/slide/Drawing/MorphTransition.js +++ b/slide/Drawing/MorphTransition.js @@ -394,7 +394,7 @@ this.morph(1); } AscFormat.InitClassWithoutType(CMorphedPath, CMorphObjectBase); - CMorphedPath.prototype.morph = function (dTime) { + CMorphedPath.prototype.morph = function (dTime, oInvTransform) { if(!this.isValid()) { return; } @@ -404,6 +404,7 @@ CMorphObjectBase.prototype.morph.call(this, dTime); let aCommands = this.path.ArrPathCommand; + let XT, YT; for(let nCmd = 0; nCmd < aCommands.length; ++nCmd) { let oCmd = aCommands[nCmd]; let aCmd1 = oCmd.cmd1; @@ -414,6 +415,12 @@ if(oCmd.id === AscFormat.moveTo) { oCmd.X = this.getValBetween(aCmd1[0], aCmd2[0]); oCmd.Y = this.getValBetween(aCmd1[1], aCmd2[1]); + if(oInvTransform) { + XT = oInvTransform.TransformPointX(oCmd.X, oCmd.Y); + YT = oInvTransform.TransformPointY(oCmd.X, oCmd.Y); + oCmd.X = XT; + oCmd.Y = YT; + } } else if(oCmd.id === AscFormat.bezier4) { oCmd.X0 = this.getValBetween(aCmd1[0], aCmd2[0]); @@ -422,6 +429,20 @@ oCmd.Y1 = this.getValBetween(aCmd1[3], aCmd2[3]); oCmd.X2 = this.getValBetween(aCmd1[4], aCmd2[4]); oCmd.Y2 = this.getValBetween(aCmd1[5], aCmd2[5]); + if(oInvTransform) { + XT = oInvTransform.TransformPointX(oCmd.X0, oCmd.Y0); + YT = oInvTransform.TransformPointY(oCmd.X0, oCmd.Y0); + oCmd.X0 = XT; + oCmd.Y0 = YT; + XT = oInvTransform.TransformPointX(oCmd.X1, oCmd.Y1); + YT = oInvTransform.TransformPointY(oCmd.X1, oCmd.Y1); + oCmd.X1 = XT; + oCmd.Y1 = YT; + XT = oInvTransform.TransformPointX(oCmd.X2, oCmd.Y2); + YT = oInvTransform.TransformPointY(oCmd.X2, oCmd.Y2); + oCmd.X2 = XT; + oCmd.Y2 = YT; + } } else if(oCmd.id === AscFormat.close) { @@ -462,8 +483,8 @@ CComplexMorphObject.call(this, oTexturesCache, nRelH1, nRelH2); this.shape1 = oShape1; this.shape2 = oShape2; - const oGeometry1 = this.shape1.getGeometry(); - const oGeometry2 = this.shape2.getGeometry(); + const oGeometry1 = this.shape1.getMorphGeometry(); + const oGeometry2 = this.shape2.getMorphGeometry(); let oBrush1, oBrush2; if(this.shape1.blipFill) { oBrush1 = new AscFormat.CUniFill(); @@ -479,6 +500,8 @@ else { oBrush2 = this.shape2.brush; } + + const oGeometryMorph = new CGeometryMorphObject(this.cache, this.relHeight1, this.relHeight2, oGeometry1, oBrush1, this.shape1.pen, this.shape1.transform, oGeometry2, oBrush2, this.shape2.pen, this.shape2.transform); @@ -524,6 +547,9 @@ } AscFormat.InitClassWithoutType(CGeometryMorphObject, CMorphObjectBase); CGeometryMorphObject.prototype.init = function() { + if(!this.geometry1 || !this.geometry2) { + return;; + } const aPathLst1 = this.geometry1.pathLst; const aPathLst2 = this.geometry2.pathLst; @@ -551,9 +577,9 @@ this.geometry.pathLst = aPaths; this.drawObject = new AscFormat.ObjectToDraw(new AscFormat.CUniFill(), new AscFormat.CLn(), 100, 100, this.geometry, new AscCommon.CMatrix(), 0, 0, null, null); this.textureShape1 = CGeometryTextureMorph.prototype.createShape.call(this, AscFormat.ExecuteNoHistory(function () { return new AscFormat.CreateGeometry("rect");}, this, []), - this.brush1, this.pen1, new AscCommon.CMatrix()); + this.brush1, AscFormat.CreateNoFillLine(), new AscCommon.CMatrix()); this.textureShape2 = CGeometryTextureMorph.prototype.createShape.call(this, AscFormat.ExecuteNoHistory(function () { return new AscFormat.CreateGeometry("rect");}, this, []), - this.brush2, this.pen2, new AscCommon.CMatrix()); + this.brush2, AscFormat.CreateNoFillLine(), new AscCommon.CMatrix()); } return; } @@ -563,9 +589,19 @@ return; } CMorphObjectBase.prototype.morph.call(this, dRelTime); + const oT = this.drawObject.transform; + const oT1 = this.transform1; + const oT2 = this.transform2; + oT.tx = this.getValBetween(oT1.tx, oT2.tx); + oT.ty = this.getValBetween(oT1.ty, oT2.ty); + oT.sx = this.getValBetween(oT1.sx, oT2.sx); + oT.sy = this.getValBetween(oT1.sy, oT2.sy); + oT.shx = this.getValBetween(oT1.shx, oT2.shx); + oT.shy = this.getValBetween(oT1.shy, oT2.shy); + const oInvT = AscCommon.global_MatrixTransformer.Invert(oT); const nPathsCount = this.morphedPaths.length; for(let nIdx = 0; nIdx < nPathsCount; ++nIdx) { - this.morphedPaths[nIdx].morph(dRelTime); + this.morphedPaths[nIdx].morph(dRelTime, oInvT); } }; CGeometryMorphObject.prototype.morphBrush = function(oBrush1, oBrush2, dScale) { diff --git a/slide/Editor/Format/Presentation.js b/slide/Editor/Format/Presentation.js index 017def1bb3..20297fbccb 100644 --- a/slide/Editor/Format/Presentation.js +++ b/slide/Editor/Format/Presentation.js @@ -3308,7 +3308,12 @@ CPresentation.prototype.collectHFProps = function (oSlide) { if (oDateTimeFieldsMap[oField.FieldType]) { sFieldType = oField.FieldType; } else { - sFieldType = "datetime"; + if(oField.FieldType === "datetimeFigureOut") { + sFieldType = "datetime1"; + } + else { + sFieldType = "datetime"; + } } oDateTime.put_DateTime(sFieldType); @@ -3990,7 +3995,7 @@ CPresentation.prototype.setHFProperties = function (oProps, bAll) { if (sDateTime) { sCustomDateTime = oDateTime.get_DateTimeExamples()[sDateTime]; } - oSp = oMaster.getMatchingShape(AscFormat.phType_dt, null, false, {}); + oSp = oNotesMaster.getMatchingShape(AscFormat.phType_dt, null, false, {}); if (oSp) { oContent = oSp.getDocContent && oSp.getDocContent(); if (oContent) { @@ -6529,7 +6534,7 @@ CPresentation.prototype.GetAddedTextOnKeyDown = function (e) { { if (e.AltKey) // Ctrl + Alt + E - добавляем знак евро € return [0x20AC]; - } else if (e.KeyCode === 189) // Клавиша Num- + } else if ((e.KeyCode === 189 || e.KeyCode === 173)) // Клавиша Num- { if (e.CtrlKey && e.ShiftKey) return [0x2013]; diff --git a/slide/Editor/Format/Timing.js b/slide/Editor/Format/Timing.js index d25ca08aa1..ebb60eafaa 100644 --- a/slide/Editor/Format/Timing.js +++ b/slide/Editor/Format/Timing.js @@ -10015,6 +10015,9 @@ this.y = nY; } CBaseAnimTexture.prototype.drawInRect = function(oGraphics, dAlpha, nX, nY, nW, nH) { + if(this.canvas.width === 0 || this.canvas.height === 0 || nW === 0 || nH === 0) { + return; + } oGraphics.SaveGrState(); oGraphics.SetIntegerGrid(true); oGraphics.put_GlobalAlpha(true, dAlpha); @@ -10024,6 +10027,9 @@ oGraphics.FreeFont && oGraphics.FreeFont(); }; CBaseAnimTexture.prototype.draw = function (oGraphics, oTransform) { + if(this.canvas.width === 0 || this.canvas.height === 0) { + return; + } var bNoTransform = false; if (!oTransform) { bNoTransform = true; diff --git a/slide/Native/api.js b/slide/Native/api.js index 0877d7276f..5c85b2080e 100644 --- a/slide/Native/api.js +++ b/slide/Native/api.js @@ -374,6 +374,7 @@ function NativeOpenFileP(_params, documentInfo){ }); _api.asc_registerCallback("asc_onSendThemeColors", onApiSendThemeColors); + _api.asc_registerCallback("asc_onPresentationSize", onApiPresentationSize); _api.asc_registerCallback("asc_onUpdateThemeIndex", function(nIndex) { var stream = global_memory_stream_menu; @@ -496,6 +497,14 @@ function onApiCanDecreaseIndent(value) { postDataAsJSONString(data, 8128); // ASC_PRESENTATIONS_EVENT_CANDECREASEINDENT } +function onApiPresentationSize(width, height, type) { + var size = { + "width" : width, + "height" : height, + }; + postDataAsJSONString(size, 8129); // ASC_PRESENTATIONS_EVENT_TYPE_SLIDE_SIZE_CHANGE +} + Asc['asc_docs_api'].prototype.UpdateTextPr = function(TextPr) { if (!TextPr) diff --git a/slide/api.js b/slide/api.js index a0764c6cf4..e7e677145b 100644 --- a/slide/api.js +++ b/slide/api.js @@ -1548,10 +1548,13 @@ background-repeat: no-repeat;\ [Asc.c_oAscPresentationShortcutType.Strikethrough, 53, true, false, false], [Asc.c_oAscPresentationShortcutType.PasteFormat, 86, true, false, true], [Asc.c_oAscPresentationShortcutType.Superscript, 187, true, true, false], + [Asc.c_oAscPresentationShortcutType.Superscript, 61, true, true, false], [Asc.c_oAscPresentationShortcutType.Superscript, 188, true, false, false], - [Asc.c_oAscPresentationShortcutType.Subscript, 187, true, false, false], + [Asc.c_oAscPresentationShortcutType.Subscript, 187, true, false, true], + [Asc.c_oAscPresentationShortcutType.Subscript, 61, true, false, true], [Asc.c_oAscPresentationShortcutType.Subscript, 190, true, false, false], [Asc.c_oAscPresentationShortcutType.EnDash, 189, true, true, false], + [Asc.c_oAscPresentationShortcutType.EnDash, 173, true, true, false], [Asc.c_oAscPresentationShortcutType.DecreaseFont, 219, true, false, false], [Asc.c_oAscPresentationShortcutType.IncreaseFont, 221, true, false, false] ]; @@ -3854,6 +3857,10 @@ background-repeat: no-repeat;\ /*functions for working with table*/ asc_docs_api.prototype.put_Table = function(col, row, placeholder, sStyleId) { + if(placeholder) + { + this.WordControl.m_bIsMouseLock = false; + } this.WordControl.m_oLogicDocument.Add_FlowTable(col, row, placeholder, sStyleId); }; asc_docs_api.prototype.addRowAbove = function(count) @@ -8059,6 +8066,20 @@ background-repeat: no-repeat;\ var dd = this.WordControl.m_oDrawingDocument; dataContainer.data = dd.ToRendererPart(oAdditionalData["nobase64"], isSelection); } + else if (this.insertDocumentUrlsData) { + var last = this.insertDocumentUrlsData.documents.shift(); + oAdditionalData['url'] = last.url; + oAdditionalData['format'] = last.format; + if (last.token) { + oAdditionalData['tokenDownload'] = last.token; + //remove to reduce message size + oAdditionalData['tokenSession'] = undefined; + } + oAdditionalData['outputurls']= true; + // ToDo select txt params + oAdditionalData["codepage"] = AscCommon.c_oAscCodePageUtf8; + dataContainer.data = last.data; + } else if(this.isOpenOOXInBrowser && this.saveDocumentToZip) { var title = this.documentTitle; @@ -8123,6 +8144,17 @@ background-repeat: no-repeat;\ this.WordControl.OnScroll(); }; + asc_docs_api.prototype.processSavedFile = function(url, downloadType, filetype) + { + if (this.insertDocumentUrlsData && this.insertDocumentUrlsData.convertCallback) + { + this.insertDocumentUrlsData.convertCallback(this, url); + } + else + { + AscCommon.baseEditorsApi.prototype.processSavedFile.call(this, url, downloadType, filetype); + } + }; asc_docs_api.prototype.asc_Recalculate = function(bIsUpdateInterface) { diff --git a/tests/cell/shortcuts/events.js b/tests/cell/shortcuts/events.js index a9e99ab012..1ff0b1c968 100644 --- a/tests/cell/shortcuts/events.js +++ b/tests/cell/shortcuts/events.js @@ -81,6 +81,7 @@ NumLock : 144, ScrollLock : 145, Equal : 187, + EqualFirefox : 61, Comma : 188, Minus : 189, Period : 190, @@ -184,8 +185,6 @@ superscriptAndSubscript : 56, superscript : 57, enDash : 58, - hyphen : 59, - underscore : 60, subscript : 61, increaseFontSize : 62, decreaseFontSize : 63 @@ -427,23 +426,17 @@ ]; oGraphicTestEvents[oGraphicTypes.superscript] = [ new CTestEvent(createEvent(oKeyCode.Equal, true, true, false, false, false)), + new CTestEvent(createEvent(oKeyCode.EqualFirefox, true, true, false, false, false)), new CTestEvent(createEvent(oKeyCode.Comma, true, false, false, false, false)) ]; oGraphicTestEvents[oGraphicTypes.enDash] = [ new CTestEvent(createEvent(oKeyCode.Minus, true, true, false, false, false)) - ]; - oGraphicTestEvents[oGraphicTypes.hyphen] = [ - new CTestEvent(createEvent(oKeyCode.Minus, true, false, false, false, false)) - - ]; - oGraphicTestEvents[oGraphicTypes.underscore] = [ - new CTestEvent(createEvent(oKeyCode.Minus, false, true, false, false, false)) - ]; oGraphicTestEvents[oGraphicTypes.subscript] = [ - new CTestEvent(createEvent(oKeyCode.Equal, true, false, false, false, false)), + new CTestEvent(createEvent(oKeyCode.Equal, true, false, true, false, false)), + new CTestEvent(createEvent(oKeyCode.EqualFirefox, true, false, true, false, false)), new CTestEvent(createEvent(oKeyCode.Period, true, false, false, false, false)) ]; @@ -556,10 +549,12 @@ new CTestEvent(createEvent(113, false, false, false, false, false)) ]; oTableEvents[oTableTypes.addDate] = [ - new CTestEvent(createEvent(186, true, false, false, false, false)) + new CTestEvent(createEvent(186, true, false, false, false, false)), + new CTestEvent(createEvent(59, true, false, false, false, false)) ]; oTableEvents[oTableTypes.addTime] = [ - new CTestEvent(createEvent(186, true, true, false, false, false)) + new CTestEvent(createEvent(186, true, true, false, false, false)), + new CTestEvent(createEvent(59, true, true, false, false, false)) ]; oTableEvents[oTableTypes.removeActiveCell] = [ new CTestEvent(createEvent(8, false, false, false, false, false)) diff --git a/tests/cell/shortcuts/shortcuts.js b/tests/cell/shortcuts/shortcuts.js index 5ca3d3a5b4..30a319552a 100644 --- a/tests/cell/shortcuts/shortcuts.js +++ b/tests/cell/shortcuts/shortcuts.js @@ -2415,24 +2415,6 @@ }, oGraphicTypes.enDash); }); - QUnit.test('Test add hyphen', (oAssert) => - { - const {deep, equal} = createTest(oAssert); - startGraphicTest((oEvent) => - { - checkTextAfterKeyDownHelperEmpty('-', oEvent, oAssert); - }, oGraphicTypes.hyphen); - }); - - QUnit.test('Test add underscore', (oAssert) => - { - const {deep, equal} = createTest(oAssert); - startGraphicTest((oEvent) => - { - checkTextAfterKeyDownHelperEmpty('_', oEvent, oAssert); - }, oGraphicTypes.underscore); - }); - QUnit.test('Test add subscript', (oAssert) => { const {deep, equal} = createTest(oAssert); diff --git a/tests/cell/spreadsheet-calculation/FormulaTrace.html b/tests/cell/spreadsheet-calculation/FormulaTrace.html new file mode 100644 index 0000000000..d567d6294b --- /dev/null +++ b/tests/cell/spreadsheet-calculation/FormulaTrace.html @@ -0,0 +1,32 @@ + + + + + + Unit Tests + + + + + + + + + + + + +

      Trace dependents tests

      +

      +
      +

      +
        +
        test markup, will be hidden
        +
        + + diff --git a/tests/cell/spreadsheet-calculation/FormulaTrace.js b/tests/cell/spreadsheet-calculation/FormulaTrace.js new file mode 100644 index 0000000000..c47ca3f605 --- /dev/null +++ b/tests/cell/spreadsheet-calculation/FormulaTrace.js @@ -0,0 +1,1828 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ +QUnit.config.autostart = false; +$(function() { + + Asc.spreadsheet_api.prototype._init = function() { + this._loadModules(); + }; + Asc.spreadsheet_api.prototype._loadFonts = function(fonts, callback) { + callback(); + }; + Asc.spreadsheet_api.prototype.onEndLoadFile = function(fonts, callback) { + openDocument(); + }; + AscCommonExcel.WorkbookView.prototype._calcMaxDigitWidth = function() { + }; + AscCommonExcel.WorkbookView.prototype._init = function() { + }; + AscCommonExcel.WorkbookView.prototype._onWSSelectionChanged = function() { + }; + AscCommonExcel.WorkbookView.prototype.showWorksheet = function() { + }; + AscCommonExcel.WorksheetView.prototype._init = function() { + }; + AscCommonExcel.WorksheetView.prototype.updateRanges = function() { + }; + AscCommonExcel.WorksheetView.prototype._autoFitColumnsWidth = function() { + }; + AscCommonExcel.WorksheetView.prototype.setSelection = function() { + }; + AscCommonExcel.WorksheetView.prototype.draw = function() { + }; + AscCommonExcel.WorksheetView.prototype._prepareDrawingObjects = function() { + }; + + AscCommon.baseEditorsApi.prototype._onEndLoadSdk = function() { + }; + + let g_oIdCounter = AscCommon.g_oIdCounter; + + let wb, ws, ws2, sData = AscCommon.getEmpty(), api; + if (AscCommon.c_oSerFormat.Signature === sData.substring(0, AscCommon.c_oSerFormat.Signature.length)) { + Asc.spreadsheet_api.prototype._init = function() { + }; + + api = new Asc.spreadsheet_api({ + 'id-view': 'editor_sdk' + }); + + api.FontLoader = { + LoadDocumentFonts: function() { + setTimeout(startTests, 0) + } + }; + + let docInfo = new Asc.asc_CDocInfo(); + docInfo.asc_putTitle("TeSt.xlsx"); + api.DocInfo = docInfo; + + window["Asc"]["editor"] = api; + AscCommon.g_oTableId.init(); + if (this.User) { + g_oIdCounter.Set_UserId(this.User.asc_getId()); + } + api._onEndLoadSdk(); + api.isOpenOOXInBrowser = false; + api._openDocument(AscCommon.getEmpty()); // this func set api.wbModel + // api._openOnClient(); + api.collaborativeEditing = new AscCommonExcel.CCollaborativeEditing({}); + api.wb = new AscCommonExcel.WorkbookView(api.wbModel, api.controller, api.handlers, api.HtmlElement, + api.topLineEditorElement, api, api.collaborativeEditing, api.fontRenderingMode); + wb = api.wbModel; + + AscCommonExcel.g_oUndoRedoCell = new AscCommonExcel.UndoRedoCell(wb); + AscCommonExcel.g_oUndoRedoWorksheet = new AscCommonExcel.UndoRedoWoorksheet(wb); + AscCommonExcel.g_oUndoRedoWorkbook = new AscCommonExcel.UndoRedoWorkbook(wb); + AscCommonExcel.g_oUndoRedoCol = new AscCommonExcel.UndoRedoRowCol(wb, false); + AscCommonExcel.g_oUndoRedoRow = new AscCommonExcel.UndoRedoRowCol(wb, true); + AscCommonExcel.g_oUndoRedoComment = new AscCommonExcel.UndoRedoComment(wb); + AscCommonExcel.g_oUndoRedoAutoFilters = new AscCommonExcel.UndoRedoAutoFilters(wb); + AscCommonExcel.g_DefNameWorksheet = new AscCommonExcel.Worksheet(wb, -1); + g_oIdCounter.Set_Load(false); + + let oBinaryFileReader = new AscCommonExcel.BinaryFileReader(); + oBinaryFileReader.Read(sData, wb); + // ws = wb.getWorksheet(wb.getActive()); + ws = api.wbModel.aWorksheets[0]; + ws2 = api.wbModel.createWorksheet(0, "Sheet2"); + AscCommonExcel.getFormulasInfo(); + + api.collaborativeEditing = new AscCommonExcel.CCollaborativeEditing({}); + api.wb = new AscCommonExcel.WorkbookView(api.wbModel, api.controller, api.handlers, api.HtmlElement, + api.topLineEditorElement, api, api.collaborativeEditing, api.fontRenderingMode); + + } + + let wsView = api.wb.getWorksheet(); + let traceManager = wsView.traceDependentsManager; + let parserFormula = AscCommonExcel.parserFormula, oParser; + + function traceTests() { + // TODO dependent perfomance, dependents delete perfomance, simple precedents delete prefomance + QUnit.test("Test: \"Base dependents test\"", function (assert) { + ws.getRange2("A1:J20").cleanAll(); + + // set active cell + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + // create cells with dependencies + ws.getRange2("A1").setValue("1"); + ws.getRange2("B101").setValue("=A1"); + ws.getRange2("C101").setValue("=B101"); + + // "click" on the button trace dependents + api.asc_TraceDependents(); + api.asc_TraceDependents(); + + // check the object with dependency cell numbers for compliance + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + B101Index = AscCommonExcel.getCellIndex(ws.getRange2("B101").bbox.r1, ws.getRange2("B101").bbox.c1), + C101Index = AscCommonExcel.getCellIndex(ws.getRange2("C101").bbox.r1, ws.getRange2("C101").bbox.c1); + + assert.ok(1, "Trace dependents from A1"); + assert.strictEqual(traceManager._getDependents(A1Index, B101Index), 1, "A1->B101"); + assert.strictEqual(traceManager._getDependents(B101Index, C101Index), 1, "B101->C101"); + + // clear traces from canvas + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + }); + QUnit.test("Test: \"Dependents\"", function (assert) { + ws.getRange2("A1:J20").cleanAll(); + + ws.getRange2("A1").setValue("1"); + ws.getRange2("C10").setValue("=A1"); + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + C10Index = AscCommonExcel.getCellIndex(ws.getRange2("C10").bbox.r1, ws.getRange2("C10").bbox.c1); + + ws.getRange2("A10").setValue("=A1:A2"); + ws.getRange2("A11").setValue("=A1:A2"); + let A10Index = AscCommonExcel.getCellIndex(ws.getRange2("A10").bbox.r1, ws.getRange2("A10").bbox.c1), + A11Index = AscCommonExcel.getCellIndex(ws.getRange2("A11").bbox.r1, ws.getRange2("A11").bbox.c1); + + ws.getRange2("B101").setValue("=SUM(A1:B2)+I3:J4+B2"); + ws.getRange2("B102").setValue("=SUM(A1:B2)+I3:J4+B2"); + ws.getRange2("C101").setValue("=SUM(A1:B2)+I3:J4+B2"); + ws.getRange2("C102").setValue("=SUM(A1:B2)+I3:J4+B2"); + let B101Index = AscCommonExcel.getCellIndex(ws.getRange2("B101").bbox.r1, ws.getRange2("B101").bbox.c1), + B102Index = AscCommonExcel.getCellIndex(ws.getRange2("B102").bbox.r1, ws.getRange2("B102").bbox.c1), + C101Index = AscCommonExcel.getCellIndex(ws.getRange2("C101").bbox.r1, ws.getRange2("C101").bbox.c1), + C102Index = AscCommonExcel.getCellIndex(ws.getRange2("C102").bbox.r1, ws.getRange2("C102").bbox.c1); + + ws.getRange2("E200").setValue("=C101:C102"); + ws.getRange2("E201").setValue("=C101:C102"); + let E200Index = AscCommonExcel.getCellIndex(ws.getRange2("E200").bbox.r1, ws.getRange2("E200").bbox.c1), + E201Index = AscCommonExcel.getCellIndex(ws.getRange2("E201").bbox.r1, ws.getRange2("E201").bbox.c1); + + ws.getRange2("H200").setValue("=E200:E201"); + ws.getRange2("H201").setValue("=E200:E201"); + let H200Index = AscCommonExcel.getCellIndex(ws.getRange2("H200").bbox.r1, ws.getRange2("H200").bbox.c1), + H201Index = AscCommonExcel.getCellIndex(ws.getRange2("H201").bbox.r1, ws.getRange2("H201").bbox.c1); + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace dependents from A1"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A1Index, C10Index), 1, "A1->C10"); + assert.strictEqual(traceManager._getDependents(A1Index, A10Index), 1, "A1->A10"); + assert.strictEqual(traceManager._getDependents(A1Index, A11Index), 1, "A1->A11"); + assert.strictEqual(traceManager._getDependents(A1Index, B101Index), 1, "A1->B101"); + assert.strictEqual(traceManager._getDependents(A1Index, B102Index), 1, "A1->B102"); + assert.strictEqual(traceManager._getDependents(A1Index, C101Index), 1, "A1->C101"); + assert.strictEqual(traceManager._getDependents(A1Index, C102Index), 1, "A1->C10"); + assert.strictEqual(traceManager._getDependents(C101Index, E200Index), undefined, "C101->E200 === undefined"); + assert.strictEqual(traceManager._getDependents(C101Index, E201Index), undefined, "C101->E201 === undefined"); + assert.strictEqual(traceManager._getDependents(E200Index, H200Index), undefined, "E200->H200 === undefined"); + assert.strictEqual(traceManager._getDependents(E200Index, H201Index), undefined, "E200->H201 === undefined"); + + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(C101Index, E200Index), 1, "C101->E200"); + assert.strictEqual(traceManager._getDependents(C101Index, E201Index), 1, "C101->E201"); + assert.strictEqual(traceManager._getDependents(E200Index, H200Index), undefined, "E200->H200 === undefined"); + assert.strictEqual(traceManager._getDependents(E200Index, H201Index), undefined, "E200->H201 === undefined"); + + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(E200Index, H200Index), 1, "E200->H200"); + assert.strictEqual(traceManager._getDependents(E200Index, H201Index), 1, "E200->H201"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + QUnit.test("Test: \"External dependencies\"", function (assert) { + ws.getRange2("A1:J20").cleanAll(); + + ws.getRange2("A1").setValue("1"); + ws.getRange2("B1").setValue("=A1"); + // external references + ws2.getRange2("A1").setValue("=Sheet1!A1"); + ws2.getRange2("B1").setValue("=Sheet1!B1"); + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + B1Index = AscCommonExcel.getCellIndex(ws.getRange2("B1").bbox.r1, ws.getRange2("B1").bbox.c1), + A1ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("A1").bbox.r1, ws2.getRange2("A1").bbox.c1) + ";0", + B1ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("B1").bbox.r1, ws2.getRange2("B1").bbox.c1) + ";0"; + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace dependents from A1"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A1Index, B1Index), 1, "A1->B1"); + assert.strictEqual(traceManager._getDependents(A1Index, A1ExternalIndex), 1, "A1->OtherSheet!A1"); + assert.strictEqual(traceManager._getDependents(B1Index, B1ExternalIndex), undefined, "B1->OtherSheet!B1 === undefined"); + + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(B1Index, B1ExternalIndex), 1, "B1->OtherSheet!B1"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + }); + QUnit.test("Test: \"Base precedents test\"", function (assert) { + ws.getRange2("A1:Z200").cleanAll(); + + // create cells with dependencies + ws.getRange2("A1").setValue("=B101"); + ws.getRange2("B101").setValue("=C101"); + ws.getRange2("C101").setValue("1"); + + // check the object with dependency cell numbers for compliance + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + B101Index = AscCommonExcel.getCellIndex(ws.getRange2("B101").bbox.r1, ws.getRange2("B101").bbox.c1), + C101Index = AscCommonExcel.getCellIndex(ws.getRange2("C101").bbox.r1, ws.getRange2("C101").bbox.c1); + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace precedents from A1"); + // "click" on the button trace precedents + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, B101Index), 1, "A1<-B101"); + assert.strictEqual(traceManager._getPrecedents(B101Index, C101Index), 1, "B101<-C101"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + QUnit.test("Test: \"Precedents\"", function (assert) { + ws.getRange2("A1:J20").cleanAll(); + + ws.getRange2("A1").setValue("=Sheet2!A10:A11+I5:J6+C1+A10:A11+Sheet2!C3"); + ws.getRange2("C1").setValue("=Sheet2!A10:A11+Sheet2!C3"); + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + I5Index = AscCommonExcel.getCellIndex(ws.getRange2("I5").bbox.r1, ws.getRange2("I5").bbox.c1), + A10Index = AscCommonExcel.getCellIndex(ws.getRange2("A10").bbox.r1, ws.getRange2("A10").bbox.c1), + A10ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("A10").bbox.r1, ws2.getRange2("A10").bbox.c1) + ";0", + C3ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("C3").bbox.r1, ws2.getRange2("C3").bbox.c1) + ";0"; + + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace precedents from A1"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1, "A1<-C1"); + assert.strictEqual(traceManager._getPrecedents(A1Index, A10Index), 1, "A1<-A10"); + assert.strictEqual(traceManager._getPrecedents(A1Index, I5Index), 1, "A1<-I5"); + assert.strictEqual(traceManager._getPrecedents(A1Index, A10ExternalIndex), 1, "A1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(A1Index, C3ExternalIndex), 1, "A1<-OtherSheet!C3"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), undefined, "C1<-OtherSheet!A10 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, C3ExternalIndex), undefined, "C1<-OtherSheet!C3 === undefined"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), 1, "C1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(C1Index, C3ExternalIndex), 1, "C1<-OtherSheet!C3"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + }); + QUnit.test("Test: \"DefName tests\"", function (assert) { + ws.getRange2("A1:J20").cleanAll(); + + wb.dependencyFormulas.addDefName("a", "Sheet1!$C$1:$D$2"); + // wb.dependencyFormulas.defNames.wb[name] + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + A3Index = AscCommonExcel.getCellIndex(ws.getRange2("A3").bbox.r1, ws.getRange2("A3").bbox.c1), + A4Index = AscCommonExcel.getCellIndex(ws.getRange2("A4").bbox.r1, ws.getRange2("A4").bbox.c1), + B3Index = AscCommonExcel.getCellIndex(ws.getRange2("B3").bbox.r1, ws.getRange2("B3").bbox.c1), + B4Index = AscCommonExcel.getCellIndex(ws.getRange2("B4").bbox.r1, ws.getRange2("B4").bbox.c1), + C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + C2Index = AscCommonExcel.getCellIndex(ws.getRange2("C2").bbox.r1, ws.getRange2("C2").bbox.c1), + D2Index = AscCommonExcel.getCellIndex(ws.getRange2("D2").bbox.r1, ws.getRange2("D2").bbox.c1), + F1Index = AscCommonExcel.getCellIndex(ws.getRange2("F1").bbox.r1, ws.getRange2("F1").bbox.c1); + + ws.getRange2("A1").setValue("=a"); + ws.getRange2("C1").setValue("=C2"); + ws.getRange2("C2").setValue("2"); + ws.getRange2("D1").setValue("1"); + ws.getRange2("D2").setValue("=F1"); + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace precedents from A1"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1, "A1<-C1"); + assert.strictEqual(traceManager._getPrecedents(C1Index, C2Index), undefined, "C1<-C2 === undefined"); + assert.strictEqual(traceManager._getPrecedents(D2Index, F1Index), undefined, "D2<-F1 === undefined"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1, "A1<-C1"); + assert.strictEqual(traceManager._getPrecedents(C1Index, C2Index), 1, "C1<-C2"); + assert.strictEqual(traceManager._getPrecedents(D2Index, F1Index), 1, "D2<-F1"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1, "A1<-C1"); + assert.strictEqual(traceManager._getPrecedents(C1Index, C2Index), 1, "C1<-C2"); + assert.strictEqual(traceManager._getPrecedents(D2Index, F1Index), 1, "D2<-F1"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // change selection to A3 + ws.selectionRange.ranges = [ws.getRange2("A3").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A3").getBBox0().r1, ws.getRange2("A3").getBBox0().c1); + let bbox = ws.getRange2("A3:B4").bbox; + ws.getRange2("A3:B4").setValue("=a", undefined, undefined, bbox); + + assert.ok(1, "Trace precedents from A3"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A3Index, C1Index), 1, "A3<-C1"); + assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), undefined, "A1<-C1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, C1Index), undefined, "B3<-C1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B4Index, C1Index), undefined, "B4<-C1 === undefined"); + + // change selection to A4 + ws.selectionRange.ranges = [ws.getRange2("A4").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A4").getBBox0().r1, ws.getRange2("A4").getBBox0().c1); + + ws.getRange2("A4").setValue("=a"); + bbox = ws.getRange2("A4").bbox; + cellWithFormula = new window['AscCommonExcel'].CCellWithFormula(ws, bbox.r1, bbox.c1); + oParser = new parserFormula("a", cellWithFormula, ws); + oParser.setArrayFormulaRef(bbox); + oParser.parse(); + + assert.ok(1, "Trace precedents from A4"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A3Index, C1Index), 1, "A3<-C1"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), 1, "A4<-C1"); + assert.strictEqual(traceManager._getPrecedents(B3Index, C1Index), undefined, "B3<-C1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B4Index, C1Index), undefined, "B4<-C1 === undefined"); + + // change selection to B3 + ws.selectionRange.ranges = [ws.getRange2("B3").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("B3").getBBox0().r1, ws.getRange2("B3").getBBox0().c1); + + assert.ok(1, "Trace precedents from B3"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A3Index, C1Index), 1, "A3<-C1"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), 1, "A4<-C1"); + assert.strictEqual(traceManager._getPrecedents(B3Index, C1Index), 1, "B3<-C1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, C1Index), undefined, "B4<-C1 === undefined"); + + // change selection to B4 + ws.selectionRange.ranges = [ws.getRange2("B4").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("B4").getBBox0().r1, ws.getRange2("B4").getBBox0().c1); + + assert.ok(1, "Trace precedents from B4"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A3Index, C1Index), 1, "A3<-C1"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), 1, "A4<-C1"); + assert.strictEqual(traceManager._getPrecedents(B3Index, C1Index), 1, "B3<-C1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, C1Index), 1, "B4<-C1"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A3Index, C1Index), 1, "A3<-C1"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), 1, "A4<-C1"); + assert.strictEqual(traceManager._getPrecedents(B3Index, C1Index), 1, "B3<-C1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, C1Index), 1, "B4<-C1"); + assert.strictEqual(traceManager._getPrecedents(C1Index, C2Index), 1, "C1<-C2"); + assert.strictEqual(traceManager._getPrecedents(D2Index, F1Index), 1, "D2<-F1"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + }); + QUnit.test("Test: \"Areas tests\"", function (assert) { + let bbox; + // -------------- precedents -------------- + ws.getRange2("A1:Z40").cleanAll(); + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + A2Index = AscCommonExcel.getCellIndex(ws.getRange2("A2").bbox.r1, ws.getRange2("A2").bbox.c1), + A3Index = AscCommonExcel.getCellIndex(ws.getRange2("A3").bbox.r1, ws.getRange2("A3").bbox.c1), + A4Index = AscCommonExcel.getCellIndex(ws.getRange2("A4").bbox.r1, ws.getRange2("A4").bbox.c1), + A5Index = AscCommonExcel.getCellIndex(ws.getRange2("A5").bbox.r1, ws.getRange2("A5").bbox.c1), + A6Index = AscCommonExcel.getCellIndex(ws.getRange2("A6").bbox.r1, ws.getRange2("A6").bbox.c1), + A12Index = AscCommonExcel.getCellIndex(ws.getRange2("A12").bbox.r1, ws.getRange2("A12").bbox.c1), + A20Index = AscCommonExcel.getCellIndex(ws.getRange2("A20").bbox.r1, ws.getRange2("A20").bbox.c1), + A21Index = AscCommonExcel.getCellIndex(ws.getRange2("A21").bbox.r1, ws.getRange2("A21").bbox.c1), + A22Index = AscCommonExcel.getCellIndex(ws.getRange2("A22").bbox.r1, ws.getRange2("A22").bbox.c1); + + ws.getRange2("A1").setValue("1"); + ws.getRange2("A2").setValue("2"); + ws.getRange2("A3").setValue("3"); + ws.getRange2("A4").setValue("=A12"); + ws.getRange2("A5").setValue("5"); + ws.getRange2("A6").setValue("6"); + ws.getRange2("A12").setValue("=B12"); + ws.getRange2("A20").setValue("2"); + ws.getRange2("A21").setValue("=A22"); + ws.getRange2("A22").setValue("=B22"); + + let B1Index = AscCommonExcel.getCellIndex(ws.getRange2("B1").bbox.r1, ws.getRange2("B1").bbox.c1), + B3Index = AscCommonExcel.getCellIndex(ws.getRange2("B3").bbox.r1, ws.getRange2("B3").bbox.c1), + B4Index = AscCommonExcel.getCellIndex(ws.getRange2("B4").bbox.r1, ws.getRange2("B4").bbox.c1), + B5Index = AscCommonExcel.getCellIndex(ws.getRange2("B5").bbox.r1, ws.getRange2("B5").bbox.c1), + B6Index = AscCommonExcel.getCellIndex(ws.getRange2("B6").bbox.r1, ws.getRange2("B6").bbox.c1), + B7Index = AscCommonExcel.getCellIndex(ws.getRange2("B7").bbox.r1, ws.getRange2("B7").bbox.c1), + B8Index = AscCommonExcel.getCellIndex(ws.getRange2("B8").bbox.r1, ws.getRange2("B8").bbox.c1), + B9Index = AscCommonExcel.getCellIndex(ws.getRange2("B9").bbox.r1, ws.getRange2("B9").bbox.c1), + B10Index = AscCommonExcel.getCellIndex(ws.getRange2("B10").bbox.r1, ws.getRange2("B10").bbox.c1), + B12Index = AscCommonExcel.getCellIndex(ws.getRange2("B12").bbox.r1, ws.getRange2("B12").bbox.c1), + B13Index = AscCommonExcel.getCellIndex(ws.getRange2("B13").bbox.r1, ws.getRange2("B13").bbox.c1), + B14Index = AscCommonExcel.getCellIndex(ws.getRange2("B14").bbox.r1, ws.getRange2("B14").bbox.c1), + B15Index = AscCommonExcel.getCellIndex(ws.getRange2("B15").bbox.r1, ws.getRange2("B15").bbox.c1), + B16Index = AscCommonExcel.getCellIndex(ws.getRange2("B16").bbox.r1, ws.getRange2("B16").bbox.c1), + B22Index = AscCommonExcel.getCellIndex(ws.getRange2("B22").bbox.r1, ws.getRange2("B22").bbox.c1); + + ws.getRange2("B1").setValue("=A4"); + bbox = ws.getRange2("B3:B9").bbox; + ws.getRange2("B3:B9").setValue("=A1:A6", undefined, undefined, bbox); + ws.getRange2("B10").setValue("=E6"); + ws.getRange2("B12").setValue("=B13"); + ws.getRange2("B13").setValue("=B14"); + ws.getRange2("B14").setValue("=B15"); + ws.getRange2("B15").setValue("=B16"); + ws.getRange2("B16").setValue("0"); + ws.getRange2("B22").setValue("=C23"); + + let C3Index = AscCommonExcel.getCellIndex(ws.getRange2("C3").bbox.r1, ws.getRange2("C3").bbox.c1), + C4Index = AscCommonExcel.getCellIndex(ws.getRange2("C4").bbox.r1, ws.getRange2("C4").bbox.c1), + C5Index = AscCommonExcel.getCellIndex(ws.getRange2("C5").bbox.r1, ws.getRange2("C5").bbox.c1), + C6Index = AscCommonExcel.getCellIndex(ws.getRange2("C6").bbox.r1, ws.getRange2("C6").bbox.c1), + C14Index = AscCommonExcel.getCellIndex(ws.getRange2("C14").bbox.r1, ws.getRange2("C14").bbox.c1), + C23Index = AscCommonExcel.getCellIndex(ws.getRange2("C23").bbox.r1, ws.getRange2("C23").bbox.c1); + + bbox = ws.getRange2("C3").bbox; + ws.getRange2("C3").setValue("=A1:A6", undefined, undefined, bbox); + ws.getRange2("C4").setValue("24"); + bbox = ws.getRange2("C5:C6").bbox; + ws.getRange2("C5:C6").setValue("=A1:A6", undefined, undefined, bbox); + bbox = ws.getRange2("C14").bbox; + ws.getRange2("C14").setValue("=A1:A6", undefined, undefined, bbox); + + let D22Index = AscCommonExcel.getCellIndex(ws.getRange2("D22").bbox.r1, ws.getRange2("D22").bbox.c1); + bbox = ws.getRange2("D22").bbox; + ws.getRange2("D22").setValue("=A20:A22", undefined, undefined, bbox); + + let E1Index = AscCommonExcel.getCellIndex(ws.getRange2("E1").bbox.r1, ws.getRange2("E1").bbox.c1), + E2Index = AscCommonExcel.getCellIndex(ws.getRange2("E2").bbox.r1, ws.getRange2("E2").bbox.c1), + E3Index = AscCommonExcel.getCellIndex(ws.getRange2("E3").bbox.r1, ws.getRange2("E3").bbox.c1), + E4Index = AscCommonExcel.getCellIndex(ws.getRange2("E4").bbox.r1, ws.getRange2("E4").bbox.c1), + E5Index = AscCommonExcel.getCellIndex(ws.getRange2("E5").bbox.r1, ws.getRange2("E5").bbox.c1), + E6Index = AscCommonExcel.getCellIndex(ws.getRange2("E6").bbox.r1, ws.getRange2("E6").bbox.c1); + + ws.getRange2("E1").setValue("25"); + bbox = ws.getRange2("E2:E6").bbox; + ws.getRange2("E2:E6").setValue("=B3:B7", undefined, undefined, bbox); + + let E9Index = AscCommonExcel.getCellIndex(ws.getRange2("E9").bbox.r1, ws.getRange2("E9").bbox.c1), + E10Index = AscCommonExcel.getCellIndex(ws.getRange2("E10").bbox.r1, ws.getRange2("E10").bbox.c1), + E11Index = AscCommonExcel.getCellIndex(ws.getRange2("E11").bbox.r1, ws.getRange2("E11").bbox.c1); + + bbox = ws.getRange2("E9:E11").bbox; + ws.getRange2("E9:E11").setValue("=B3:B5", undefined, undefined, bbox); + + let E13Index = AscCommonExcel.getCellIndex(ws.getRange2("E13").bbox.r1, ws.getRange2("E13").bbox.c1), + E14Index = AscCommonExcel.getCellIndex(ws.getRange2("E14").bbox.r1, ws.getRange2("E14").bbox.c1); + + bbox = ws.getRange2("E13:E14").bbox; + ws.getRange2("E13:E14").setValue("=B8:B10", undefined, undefined, bbox); + + let G1Index = AscCommonExcel.getCellIndex(ws.getRange2("G1").bbox.r1, ws.getRange2("G1").bbox.c1), + G2Index = AscCommonExcel.getCellIndex(ws.getRange2("G2").bbox.r1, ws.getRange2("G2").bbox.c1), + G3Index = AscCommonExcel.getCellIndex(ws.getRange2("G3").bbox.r1, ws.getRange2("G3").bbox.c1), + G4Index = AscCommonExcel.getCellIndex(ws.getRange2("G4").bbox.r1, ws.getRange2("G4").bbox.c1), + G5Index = AscCommonExcel.getCellIndex(ws.getRange2("G5").bbox.r1, ws.getRange2("G5").bbox.c1), + G6Index = AscCommonExcel.getCellIndex(ws.getRange2("G6").bbox.r1, ws.getRange2("G6").bbox.c1); + + ws.selectionRange.ranges = [ws.getRange2("D22").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("D22").getBBox0().r1, ws.getRange2("D22").getBBox0().c1); + + assert.ok(1, "Trace precedents from D22 to A20:A22 area"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(D22Index, A20Index), 1, "D22<-A20"); + assert.strictEqual(traceManager._getPrecedents(A21Index, A22Index), undefined, "A21<-A22 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A22Index, B22Index), undefined, "A22<-B22 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B22Index, C23Index), undefined, "B22<-C23 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A20:A22"]), "object", "Area A20:A22 exist"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(D22Index, A20Index), 1, "D22<-A20"); + assert.strictEqual(traceManager._getPrecedents(A21Index, A22Index), 1, "A21<-A22"); + assert.strictEqual(traceManager._getPrecedents(A22Index, B22Index), 1, "A22<-B22"); + assert.strictEqual(traceManager._getPrecedents(B22Index, C23Index), undefined, "B22<-C23 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A20:A22"]), "object", "Area A20:A22 exist"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(D22Index, A20Index), 1, "D22<-A20"); + assert.strictEqual(traceManager._getPrecedents(A21Index, A22Index), 1, "A21<-A22"); + assert.strictEqual(traceManager._getPrecedents(A22Index, B22Index), 1, "A22<-B22"); + assert.strictEqual(traceManager._getPrecedents(B22Index, C23Index), 1, "B22<-C23"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A20:A22"]), "object", "Area A20:A22 exist"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + ws.selectionRange.ranges = [ws.getRange2("E13").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("E13").getBBox0().r1, ws.getRange2("E13").getBBox0().c1); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(first click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), undefined, "B8<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), undefined, "B9<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), undefined, "B10<-E6 === undefined"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), undefined, "E6<-B3 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), undefined, "A4<-A12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), undefined, "A12<-B12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), undefined, "B3<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), undefined, "B4<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), undefined, "B5<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), undefined, "B6<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), undefined, "B7<-A1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "undefined", "Area A1:A6 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "undefined", "Area B3:B7 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(second click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), undefined, "E6<-B3 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), undefined, "A4<-A12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), undefined, "A12<-B12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), undefined, "B3<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), undefined, "B4<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), undefined, "B5<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), undefined, "B6<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), undefined, "B7<-A1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "undefined", "Area B3:B7 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(third click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), undefined, "A12<-B12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), undefined, "B3<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), undefined, "B4<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), undefined, "B5<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), undefined, "B6<-A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), undefined, "B7<-A1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(fourth click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), undefined, "B12<-B13 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), undefined, "B13<-B14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), undefined, "B14<-B15 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), undefined, "B15<-B16 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(fifth click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), 1, "B12<-B13"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), undefined, "B13<-B14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), undefined, "B14<-B15 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), undefined, "B15<-B16 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(sixth click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), 1, "B12<-B13"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), 1, "B13<-B14"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), undefined, "B14<-B15 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), undefined, "B15<-B16 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(seventh click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), 1, "B12<-B13"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), 1, "B13<-B14"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), 1, "B14<-B15"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), undefined, "B15<-B16 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Trace precedents from E13 to a chain of links with ranges(eighth click)"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), 1, "B12<-B13"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), 1, "B13<-B14"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), 1, "B14<-B15"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), 1, "B15<-B16"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Delete one last built precedents from from linking multiple ranges and cells. Click(1) on E13"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), 1, "B12<-B13"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), 1, "B13<-B14"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), 1, "B14<-B15"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), undefined, "B15<-B16 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Delete four more last built precedents from from linking multiple ranges and cells. Click(5) on E13"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(E13Index, B8Index), 1, "E13<-B8"); + assert.strictEqual(traceManager._getPrecedents(B8Index, A1Index), 1, "B8<-A1"); + assert.strictEqual(traceManager._getPrecedents(B9Index, A1Index), 1, "B9<-A1"); + assert.strictEqual(traceManager._getPrecedents(B10Index, E6Index), 1, "B10<-E6"); + assert.strictEqual(traceManager._getPrecedents(E6Index, B3Index), 1, "E6<-B3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), undefined, "A12<-B12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B12Index, B13Index), undefined, "B12<-B13 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B13Index, B14Index), undefined, "B13<-B14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B14Index, B15Index), undefined, "B14<-B15 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B15Index, B16Index), undefined, "B15<-B16 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B3Index, A1Index), 1, "B3<-A1"); + assert.strictEqual(traceManager._getPrecedents(B4Index, A1Index), 1, "B4<-A1"); + assert.strictEqual(traceManager._getPrecedents(B5Index, A1Index), 1, "B5<-A1"); + assert.strictEqual(traceManager._getPrecedents(B6Index, A1Index), 1, "B6<-A1"); + assert.strictEqual(traceManager._getPrecedents(B7Index, A1Index), 1, "B7<-A1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "object", "Area B3:B7 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Delete three more last built precedents from from linking multiple ranges and cells. Click(8) on E13"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "object", "Area A1:A6 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "undefined", "Area B3:B7 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Delete one more last built precedents from from linking multiple ranges and cells. Click(9) on E13"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "undefined", "Area A1:A6 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "undefined", "Area B3:B7 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "object", "Area B8:B10 exist"); + + assert.ok(1, "Delete one more last built precedents from from linking multiple ranges and cells. Click(10) on E13"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(typeof(traceManager.precedentsAreas["A1:A6"]), "undefined", "Area A1:A6 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B3:B7"]), "undefined", "Area B3:B7 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["B8:B10"]), "undefined", "Area B8:B10 doesn't exist"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + let N14Index = AscCommonExcel.getCellIndex(ws.getRange2("N14").bbox.r1, ws.getRange2("N14").bbox.c1), + N15Index = AscCommonExcel.getCellIndex(ws.getRange2("N15").bbox.r1, ws.getRange2("N15").bbox.c1), + L14Index = AscCommonExcel.getCellIndex(ws.getRange2("L14").bbox.r1, ws.getRange2("L14").bbox.c1), + L15Index = AscCommonExcel.getCellIndex(ws.getRange2("L15").bbox.r1, ws.getRange2("L15").bbox.c1), + J13Index = AscCommonExcel.getCellIndex(ws.getRange2("J13").bbox.r1, ws.getRange2("J13").bbox.c1), + J14Index = AscCommonExcel.getCellIndex(ws.getRange2("J14").bbox.r1, ws.getRange2("J14").bbox.c1), + I12Index = AscCommonExcel.getCellIndex(ws.getRange2("I12").bbox.r1, ws.getRange2("I12").bbox.c1), + I13Index = AscCommonExcel.getCellIndex(ws.getRange2("I13").bbox.r1, ws.getRange2("I13").bbox.c1); + + bbox = ws.getRange2("N14:N15").bbox; + ws.getRange2("N14:N15").setValue("=SUM(J13:J14)+SIN(L14:L15)", undefined, undefined, bbox); + ws.getRange2("L14").setValue("123"); + ws.getRange2("L15").setValue("321"); + ws.getRange2("J13").setValue("=I12+L14"); + ws.getRange2("J14").setValue("=I13+L15"); + ws.getRange2("I12").setValue("1"); + ws.getRange2("I13").setValue("2"); + + ws.selectionRange.ranges = [ws.getRange2("N14").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("N14").getBBox0().r1, ws.getRange2("N14").getBBox0().c1); + + assert.ok(1, "Trace precedents to a multiple consecutive ranges. First click on N14"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(N14Index, L14Index), 1, "N14<-L14"); + assert.strictEqual(traceManager._getPrecedents(N14Index, J13Index), 1, "N14<-J13"); + assert.strictEqual(traceManager._getPrecedents(J13Index, I12Index), undefined, "J13<-I12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J13Index, L14Index), undefined, "J13<-L14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J14Index, I13Index), undefined, "J14<-I13 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J14Index, L15Index), undefined, "J14<-L15 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["J13:J14"]), "object", "Area J13:J14 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["L14:L15"]), "object", "Area L14:L15 exist"); + + assert.ok(1, "Trace precedents to a multiple consecutive ranges. Second click on N14"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(N14Index, L14Index), 1, "N14<-L14"); + assert.strictEqual(traceManager._getPrecedents(N14Index, J13Index), 1, "N14<-J13"); + assert.strictEqual(traceManager._getPrecedents(J13Index, I12Index), 1, "J13<-I12"); + assert.strictEqual(traceManager._getPrecedents(J13Index, L14Index), 1, "J13<-L14"); + assert.strictEqual(traceManager._getPrecedents(J14Index, I13Index), 1, "J14<-I13"); + assert.strictEqual(traceManager._getPrecedents(J14Index, L15Index), 1, "J14<-L15"); + assert.strictEqual(typeof(traceManager.precedentsAreas["J13:J14"]), "object", "Area J13:J14 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["L14:L15"]), "object", "Area L14:L15 exist"); + + assert.ok(1, "Remove last built precedent traces from a multiple consecutive ranges. First click on N14"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(N14Index, L14Index), 1, "N14<-L14"); + assert.strictEqual(traceManager._getPrecedents(N14Index, J13Index), 1, "N14<-J13"); + assert.strictEqual(traceManager._getPrecedents(J13Index, I12Index), undefined, "J13<-I12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J13Index, L14Index), undefined, "J13<-L14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J14Index, I13Index), undefined, "J14<-I13 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J14Index, L15Index), undefined, "J14<-L15 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["J13:J14"]), "object", "Area J13:J14 exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["L14:L15"]), "object", "Area L14:L15 exist"); + + assert.ok(1, "Remove last built precedent traces from a multiple consecutive ranges. Second click on N14"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(N14Index, L14Index), undefined, "N14<-L14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(N14Index, J13Index), undefined, "N14<-J13 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J13Index, I12Index), undefined, "J13<-I12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J13Index, L14Index), undefined, "J13<-L14 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J14Index, I13Index), undefined, "J14<-I13 === undefined"); + assert.strictEqual(traceManager._getPrecedents(J14Index, L15Index), undefined, "J14<-L15 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["J13:J14"]), "undefined", "Area J13:J14 doesn't exist"); + assert.strictEqual(typeof(traceManager.precedentsAreas["L14:L15"]), "undefined", "Area L14:L15 doesn't exist"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // -------------- dependents -------------- + ws.selectionRange.ranges = [ws.getRange2("B12").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("B12").getBBox0().r1, ws.getRange2("B12").getBBox0().c1); + + assert.ok(1, "Trace dependents from B12"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getDependents(B12Index, A12Index), 1, "B12->A12"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), undefined, "A4<-A12 === undefined"); + assert.strictEqual(traceManager._getDependents(A12Index, A4Index), undefined, "A12->A4 === undefined"); + + assert.ok(1, "Trace dependents from B12"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getDependents(B12Index, A12Index), 1, "B12->A12"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getDependents(A12Index, A4Index), 1, "A12->A4"); + assert.strictEqual(traceManager._getDependents(A4Index, B1Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, B3Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, B8Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, B9Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, C3Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, C5Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, C6Index), undefined); + assert.strictEqual(traceManager._getDependents(A4Index, C14Index), undefined); + + assert.ok(1, "Trace dependents from B12"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getDependents(B12Index, A12Index), 1, "B12->A12"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getDependents(A12Index, A4Index), 1, "A12->A4"); + assert.strictEqual(traceManager._getDependents(A4Index, B1Index), 1, "A4->B1"); + assert.strictEqual(traceManager._getDependents(A4Index, B3Index), 1, "A4->B3"); + assert.strictEqual(traceManager._getDependents(A4Index, B8Index), 1, "A4->B8"); + assert.strictEqual(traceManager._getDependents(A4Index, B9Index), 1, "A4->B9"); + assert.strictEqual(traceManager._getDependents(A4Index, C3Index), 1, "A4->C3"); + assert.strictEqual(traceManager._getDependents(A4Index, C5Index), 1, "A4->C5"); + assert.strictEqual(traceManager._getDependents(A4Index, C6Index), 1, "A4->C6"); + assert.strictEqual(traceManager._getDependents(A4Index, C14Index), 1, "A4->C14"); + + // clear last built dependents + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getDependents(B12Index, A12Index), 1, "B12->A12"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), 1, "A4<-A12"); + assert.strictEqual(traceManager._getDependents(A12Index, A4Index), 1, "A12->A4"); + assert.strictEqual(traceManager._getDependents(A4Index, B1Index), undefined, "A4->B1 === undefined"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), 1, "A12<-B12"); + assert.strictEqual(traceManager._getDependents(B12Index, A12Index), 1, "B12->A12"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), undefined, "A4<-A12 === undefined"); + assert.strictEqual(traceManager._getDependents(A12Index, A4Index), undefined, "A12->A4 === undefined"); + assert.strictEqual(traceManager._getDependents(A4Index, B1Index), undefined, "A4->B1 === undefined"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getPrecedents(A12Index, B12Index), undefined, "A12<-B12 === undefined"); + assert.strictEqual(traceManager._getDependents(B12Index, A12Index), undefined, "B12->A12 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A4Index, A12Index), undefined, "A4<-A12 === undefined"); + assert.strictEqual(traceManager._getDependents(A12Index, A4Index), undefined, "A12->A4 === undefined"); + assert.strictEqual(traceManager._getDependents(A4Index, B1Index), undefined, "A4->B1 === undefined"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + }); + QUnit.test("Test: \"Shared tests\"", function (assert) { + // ??? + let cellWithFormula, oParser, sharedRef, bbox; + ws.getRange2("A1:J20").cleanAll(); + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + B1Index = AscCommonExcel.getCellIndex(ws.getRange2("B1").bbox.r1, ws.getRange2("B1").bbox.c1), + C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + A3Index = AscCommonExcel.getCellIndex(ws.getRange2("A3").bbox.r1, ws.getRange2("A3").bbox.c1), + B3Index = AscCommonExcel.getCellIndex(ws.getRange2("B3").bbox.r1, ws.getRange2("B3").bbox.c1), + C3Index = AscCommonExcel.getCellIndex(ws.getRange2("C3").bbox.r1, ws.getRange2("C3").bbox.c1), + A5Index = AscCommonExcel.getCellIndex(ws.getRange2("A5").bbox.r1, ws.getRange2("A5").bbox.c1), + B5Index = AscCommonExcel.getCellIndex(ws.getRange2("B5").bbox.r1, ws.getRange2("B5").bbox.c1), + C5Index = AscCommonExcel.getCellIndex(ws.getRange2("C5").bbox.r1, ws.getRange2("C5").bbox.c1), + D5Index = AscCommonExcel.getCellIndex(ws.getRange2("D5").bbox.r1, ws.getRange2("D5").bbox.c1), + E5Index = AscCommonExcel.getCellIndex(ws.getRange2("E5").bbox.r1, ws.getRange2("E5").bbox.c1); + + ws.getRange2("A1").setValue("=A3"); + ws.getRange2("B1").setValue("=B3"); + ws.getRange2("C1").setValue("=C3"); + ws.getRange2("A3").setValue("1"); + ws.getRange2("B3").setValue("2"); + ws.getRange2("C3").setValue("3"); + ws.getRange2("A5").setValue("=A3"); + ws.getRange2("B5").setValue("=B3"); + ws.getRange2("C5").setValue("=C3"); + ws.getRange2("D5").setValue("=D3"); + ws.getRange2("E5").setValue("=E3"); + + bbox = ws.getRange2("B1:C1").bbox; + cellWithFormula = new window['AscCommonExcel'].CCellWithFormula(ws, bbox.r1, bbox.c1); + oParser = new parserFormula("B3", cellWithFormula, ws); + sharedRef = bbox.clone(); + oParser.setShared(sharedRef, cellWithFormula); + oParser.parse(); // ? + oParser.calculate(); + + // set parser formula to the cell + ws.getRange2("B1:C1")._foreachNoEmpty(function (cell) { + cell.formulaParsed = oParser; + // cell.formulaParsed.setShared(sharedRef, cellWithFormula); + // cell.formulaParsed.parse(); + // cell.formulaParsed.calculate(); + // let parsed = cell.getFormulaParsed(); + // parsed.buildDependencies(); + }); + // console.log(ws.getRange2("C1").getFormula()); + ws.selectionRange.ranges = [ws.getRange2("B3").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("B3").getBBox0().r1, ws.getRange2("B3").getBBox0().c1); + + bbox = ws.getRange2("B5:E5").bbox; + cellWithFormula = new window['AscCommonExcel'].CCellWithFormula(ws, bbox.r1, bbox.c1); + oParser = new parserFormula("B3", cellWithFormula, ws); + sharedRef = bbox.clone(); + + ws.getRange2("B5:E5")._foreachNoEmpty(function (cell) { + // change parserFormula + }) + + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(B3Index, B1Index), 1); + assert.strictEqual(traceManager._getDependents(B3Index, B5Index), 1); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + QUnit.test("Test: \"Tables tests\"", function (assert) { + let bbox; + // -------------- precedents -------------- + ws.getRange2("A1:Z100").cleanAll(); + ws.selectionRange.ranges = [ws.getRange2("A2:A4").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A2").getBBox0().r1, ws.getRange2("A2").getBBox0().c1); + + let tableProp = AscCommonExcel.AddFormatTableOptions(); + tableProp.asc_setRange("$A$2:$A$4"); + tableProp.asc_setIsTitle(false); + + ws.autoFilters.addAutoFilter("TableStyleLight1", ws.selectionRange.getLast().clone(), tableProp); + + let A2Index = AscCommonExcel.getCellIndex(ws.getRange2("A2").bbox.r1, ws.getRange2("A2").bbox.c1), + A3Index = AscCommonExcel.getCellIndex(ws.getRange2("A3").bbox.r1, ws.getRange2("A3").bbox.c1), + A4Index = AscCommonExcel.getCellIndex(ws.getRange2("A4").bbox.r1, ws.getRange2("A4").bbox.c1), + A5Index = AscCommonExcel.getCellIndex(ws.getRange2("A5").bbox.r1, ws.getRange2("A5").bbox.c1), + A8Index = AscCommonExcel.getCellIndex(ws.getRange2("A8").bbox.r1, ws.getRange2("A8").bbox.c1), + B2Index = AscCommonExcel.getCellIndex(ws.getRange2("B2").bbox.r1, ws.getRange2("B2").bbox.c1), + B3Index = AscCommonExcel.getCellIndex(ws.getRange2("B3").bbox.r1, ws.getRange2("B3").bbox.c1), + B4Index = AscCommonExcel.getCellIndex(ws.getRange2("B4").bbox.r1, ws.getRange2("B4").bbox.c1), + B5Index = AscCommonExcel.getCellIndex(ws.getRange2("B5").bbox.r1, ws.getRange2("B5").bbox.c1), + C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + D2Index = AscCommonExcel.getCellIndex(ws.getRange2("D2").bbox.r1, ws.getRange2("D2").bbox.c1), + D3Index = AscCommonExcel.getCellIndex(ws.getRange2("D3").bbox.r1, ws.getRange2("D3").bbox.c1), + D4Index = AscCommonExcel.getCellIndex(ws.getRange2("D4").bbox.r1, ws.getRange2("D4").bbox.c1), + D5Index = AscCommonExcel.getCellIndex(ws.getRange2("D5").bbox.r1, ws.getRange2("D5").bbox.c1), + E2Index = AscCommonExcel.getCellIndex(ws.getRange2("E2").bbox.r1, ws.getRange2("E2").bbox.c1), + E3Index = AscCommonExcel.getCellIndex(ws.getRange2("E3").bbox.r1, ws.getRange2("E3").bbox.c1), + E4Index = AscCommonExcel.getCellIndex(ws.getRange2("E4").bbox.r1, ws.getRange2("E4").bbox.c1), + E5Index = AscCommonExcel.getCellIndex(ws.getRange2("E5").bbox.r1, ws.getRange2("E5").bbox.c1), + E7Index = AscCommonExcel.getCellIndex(ws.getRange2("E7").bbox.r1, ws.getRange2("E7").bbox.c1), + E8Index = AscCommonExcel.getCellIndex(ws.getRange2("E8").bbox.r1, ws.getRange2("E8").bbox.c1); + + ws.getRange2("A3").setValue("1"); + ws.getRange2("A4").setValue("=C1"); + ws.getRange2("A5").setValue("3"); + ws.getRange2("A8").setValue("=A2"); + ws.getRange2("B3").setValue("a"); + ws.getRange2("B4").setValue("b"); + ws.getRange2("B5").setValue("c"); + ws.getRange2("D2").setValue("=A2"); + + bbox = ws.getRange2("D3:D5").bbox; + ws.getRange2("D3:D5").setValue("=Table1", undefined, undefined, bbox); + + ws.getRange2("E2").setValue("=Table1"); + ws.getRange2("E3").setValue("=Table1"); + ws.getRange2("E4").setValue("=Table1"); + ws.getRange2("E5").setValue("=Table1"); + ws.getRange2("E7").setValue("=Table1"); + + bbox = ws.getRange2("E8").bbox; + ws.getRange2("E8").setValue("=Table1", undefined, undefined, bbox); + + ws.selectionRange.ranges = [ws.getRange2("A3").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A3").getBBox0().r1, ws.getRange2("A3").getBBox0().c1); + + assert.ok(1, "Trace dependents from A3"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A3Index, D2Index), undefined, "A3->D2 === undefined"); + assert.strictEqual(traceManager._getDependents(A3Index, D3Index), 1, "A3->D3"); + assert.strictEqual(traceManager._getDependents(A3Index, D4Index), 1, "A3->D4"); + assert.strictEqual(traceManager._getDependents(A3Index, D5Index), 1, "A3->D5"); + assert.strictEqual(traceManager._getDependents(A3Index, A8Index), undefined, "A3->A8 === undefined"); + + assert.ok(1, "Remove last dependents from A3"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getDependents(A3Index, D2Index), undefined, "A3->D2 === undefined"); + assert.strictEqual(traceManager._getDependents(A3Index, D3Index), undefined, "A3->D3 === undefined"); + assert.strictEqual(traceManager._getDependents(A3Index, D4Index), undefined, "A3->D4 === undefined"); + assert.strictEqual(traceManager._getDependents(A3Index, D5Index), undefined, "A3->D5 === undefined"); + assert.strictEqual(traceManager._getDependents(A3Index, A8Index), undefined, "A3->A8 === undefined"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + ws.selectionRange.ranges = [ws.getRange2("A2").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A2").getBBox0().r1, ws.getRange2("A2").getBBox0().c1); + + assert.ok(1, "Trace dependents from A2"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A2Index, D2Index), 1, "A2->D2"); + assert.strictEqual(traceManager._getDependents(A2Index, D3Index), undefined, "A2->D3 === undefined"); + assert.strictEqual(traceManager._getDependents(A2Index, D4Index), undefined, "A2->D4 === undefined"); + assert.strictEqual(traceManager._getDependents(A2Index, D5Index), undefined, "A3->D5 === undefined"); + assert.strictEqual(traceManager._getDependents(A2Index, A8Index), 1, "A2->A8"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // precedents + ws.selectionRange.ranges = [ws.getRange2("D2").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("D2").getBBox0().r1, ws.getRange2("D2").getBBox0().c1); + + assert.ok(1, "Trace precedents from D2"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(D2Index, A2Index), 1, "D2<-A2"); + assert.ok(1, "Remove last precedents from D2"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(D2Index, A2Index), undefined, "D2<-A2 === undefined"); + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + ws.selectionRange.ranges = [ws.getRange2("D3").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("D3").getBBox0().r1, ws.getRange2("D3").getBBox0().c1); + + assert.ok(1, "Trace precedents from D3"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(D3Index, A3Index), 1, "D3<-A3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$3:$A$5"]), "object", "Area A3:A5 exist"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(D3Index, A3Index), 1, "D3<-A3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), 1, "A4<-C1"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$3:$A$5"]), "object", "Area A3:A5 exist"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(D3Index, A3Index), 1, "D3<-A3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$3:$A$5"]), "object", "Area A3:A5 exist"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + assert.strictEqual(traceManager._getPrecedents(D3Index, A3Index), undefined, "D3<-A3 === undefined"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$3:$A$5"]), "undefined", "Area A3:A5 doesn't exist"); + + ws.selectionRange.ranges = [ws.getRange2("E2").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("E2").getBBox0().r1, ws.getRange2("E2").getBBox0().c1); + + assert.ok(1, "Trace precedents from E2"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E2Index, A3Index), 1, "E2<-A3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$3:$A$5"]), "object", "Area A3:A5 exist"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + ws.selectionRange.ranges = [ws.getRange2("E3").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("E3").getBBox0().r1, ws.getRange2("E3").getBBox0().c1); + + assert.ok(1, "Trace precedents from E3"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E2Index, A3Index), undefined, "E2<-A3 === undefined"); + assert.strictEqual(traceManager._getPrecedents(E3Index, A3Index), 1, "E3<-A3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1 === undefined"); + assert.strictEqual(traceManager.precedentsAreas, null); + + ws.selectionRange.ranges = [ws.getRange2("E8").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("E8").getBBox0().r1, ws.getRange2("E8").getBBox0().c1); + + assert.ok(1, "Trace precedents from E8"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(E8Index, A3Index), 1, "E8<-A3"); + assert.strictEqual(traceManager._getPrecedents(A4Index, C1Index), undefined, "A4<-C1 === undefined"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$3:$A$5"]), "object", "Area A3:A5 exist"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + QUnit.test("Test: \"Deletes tests\"", function (assert) { + let bbox; + // ------------------- base precedents ------------------- // + ws.selectionRange.ranges = [ws.getRange2("I1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("I1").getBBox0().r1, ws.getRange2("I1").getBBox0().c1); + + ws.getRange2("A1:J20").cleanAll(); + + ws.getRange2("I1").setValue("=G1"); + ws.getRange2("G1").setValue("=E1+G4"); + ws.getRange2("G4").setValue("=I4"); + ws.getRange2("I4").setValue("=I3"); + ws.getRange2("I3").setValue("=H3"); + ws.getRange2("H3").setValue("1"); + ws.getRange2("E1").setValue("=C1+C4"); + ws.getRange2("C1").setValue("1"); + ws.getRange2("C4").setValue("2"); + + let I1Index = AscCommonExcel.getCellIndex(ws.getRange2("I1").bbox.r1, ws.getRange2("I1").bbox.c1), + G1Index = AscCommonExcel.getCellIndex(ws.getRange2("G1").bbox.r1, ws.getRange2("G1").bbox.c1), + G4Index = AscCommonExcel.getCellIndex(ws.getRange2("G4").bbox.r1, ws.getRange2("G4").bbox.c1), + I4Index = AscCommonExcel.getCellIndex(ws.getRange2("I4").bbox.r1, ws.getRange2("I4").bbox.c1), + I3Index = AscCommonExcel.getCellIndex(ws.getRange2("I3").bbox.r1, ws.getRange2("I3").bbox.c1), + H3Index = AscCommonExcel.getCellIndex(ws.getRange2("H3").bbox.r1, ws.getRange2("H3").bbox.c1), + E1Index = AscCommonExcel.getCellIndex(ws.getRange2("E1").bbox.r1, ws.getRange2("E1").bbox.c1), + C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + C4Index = AscCommonExcel.getCellIndex(ws.getRange2("C4").bbox.r1, ws.getRange2("C4").bbox.c1); + + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), 1); + assert.strictEqual(traceManager._getPrecedents(G4Index, I4Index), 1); + assert.strictEqual(traceManager._getPrecedents(I4Index, I3Index), 1); + assert.strictEqual(traceManager._getPrecedents(I3Index, H3Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C4Index), 1); + + // first clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), 1); + assert.strictEqual(traceManager._getPrecedents(G4Index, I4Index), 1); + assert.strictEqual(traceManager._getPrecedents(I4Index, I3Index), 1); + assert.strictEqual(traceManager._getPrecedents(I3Index, H3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C4Index), 1); + + // second clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), 1); + assert.strictEqual(traceManager._getPrecedents(G4Index, I4Index), 1); + assert.strictEqual(traceManager._getPrecedents(I4Index, I3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I3Index, H3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C4Index), 1); + + // third clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), 1); + assert.strictEqual(traceManager._getPrecedents(G4Index, I4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I4Index, I3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I3Index, H3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1); + assert.strictEqual(traceManager._getPrecedents(E1Index, C1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(E1Index, C4Index), undefined); + + // fourth clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G4Index, I4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I4Index, I3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I3Index, H3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(E1Index, C1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(E1Index, C4Index), undefined); + + // fifth clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G4Index, I4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I4Index, I3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I3Index, H3Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(E1Index, C1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(E1Index, C4Index), undefined); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // ------------------- base precedents with external -------------------// + ws2.getRange2("B1").setValue("1"); + ws.getRange2("I1").setValue("=G1+Sheet2!B1"); + + let B1ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("B1").bbox.r1, ws2.getRange2("B1").bbox.c1) + ";" + ws2.getIndex(); + + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(I1Index, B1ExternalIndex), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1); + + // first clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), 1); + assert.strictEqual(traceManager._getPrecedents(I1Index, B1ExternalIndex), 1); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), undefined); + + // second clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + assert.strictEqual(traceManager._getPrecedents(I1Index, G1Index), undefined); + assert.strictEqual(traceManager._getPrecedents(I1Index, B1ExternalIndex), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, G4Index), undefined); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), undefined); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // ------------------- base dependents ---------------------------------// + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + ws.getRange2("A1:J10").cleanAll(); + + ws.getRange2("A1").setValue("1"); + ws.getRange2("A6").setValue("7"); + ws.getRange2("A7").setValue("7"); + ws.getRange2("A8").setValue("=A7"); + ws.getRange2("C1").setValue("=A1"); + ws.getRange2("C4").setValue("=A1"); + bbox = ws.getRange2("C7").bbox; + ws.getRange2("C7").setValue("=A6:A8", undefined, undefined, bbox); + ws.getRange2("E1").setValue("=C1"); + ws.getRange2("E4").setValue("=C4"); + ws.getRange2("G1").setValue("=E1+E4"); + ws.getRange2("G4").setValue("=E4"); + ws.getRange2("F6").setValue("=G4"); + ws.getRange2("H6").setValue("=G4"); + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + A6Index = AscCommonExcel.getCellIndex(ws.getRange2("A6").bbox.r1, ws.getRange2("A6").bbox.c1), + A7Index = AscCommonExcel.getCellIndex(ws.getRange2("A7").bbox.r1, ws.getRange2("A7").bbox.c1), + A8Index = AscCommonExcel.getCellIndex(ws.getRange2("A8").bbox.r1, ws.getRange2("A8").bbox.c1), + C7Index = AscCommonExcel.getCellIndex(ws.getRange2("C7").bbox.r1, ws.getRange2("C7").bbox.c1), + E4Index = AscCommonExcel.getCellIndex(ws.getRange2("E4").bbox.r1, ws.getRange2("E4").bbox.c1), + F6Index = AscCommonExcel.getCellIndex(ws.getRange2("F6").bbox.r1, ws.getRange2("F6").bbox.c1), + H6Index = AscCommonExcel.getCellIndex(ws.getRange2("H6").bbox.r1, ws.getRange2("H6").bbox.c1); + + api.asc_TraceDependents(); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), 1); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1); + assert.strictEqual(traceManager._getDependents(E1Index, G1Index), 1); + assert.strictEqual(traceManager._getDependents(E4Index, G4Index), 1); + assert.strictEqual(traceManager._getDependents(G4Index, F6Index), 1); + assert.strictEqual(traceManager._getDependents(G4Index, H6Index), 1); + + // first clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), 1); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1); + assert.strictEqual(traceManager._getDependents(E1Index, G1Index), 1); + assert.strictEqual(traceManager._getDependents(E4Index, G4Index), 1); + assert.strictEqual(traceManager._getDependents(G4Index, F6Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, H6Index), undefined); + + // second clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), 1); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1); + assert.strictEqual(traceManager._getDependents(E1Index, G1Index), undefined); + assert.strictEqual(traceManager._getDependents(E4Index, G4Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, F6Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, H6Index), undefined); + + // third clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), 1); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), undefined); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), undefined); + assert.strictEqual(traceManager._getDependents(E1Index, G1Index), undefined); + assert.strictEqual(traceManager._getDependents(E4Index, G4Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, F6Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, H6Index), undefined); + + // fourth clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), undefined); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), undefined); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), undefined); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), undefined); + assert.strictEqual(traceManager._getDependents(E1Index, G1Index), undefined); + assert.strictEqual(traceManager._getDependents(E4Index, G4Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, F6Index), undefined); + assert.strictEqual(traceManager._getDependents(G4Index, H6Index), undefined); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // ------------------- base dependents with external -------------------// + ws2.getRange2("A1").setValue("=Sheet1!A1"); + + let A1ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("A1").bbox.r1, ws2.getRange2("A1").bbox.c1) + ";" + ws2.getIndex(); + + api.asc_TraceDependents(); + api.asc_TraceDependents(); + + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, A1ExternalIndex), 1); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1); + + // first clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, A1ExternalIndex), 1); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), undefined); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), undefined); + + // second clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getDependents(A1Index, C1Index), undefined); + assert.strictEqual(traceManager._getDependents(A1Index, C4Index), undefined); + assert.strictEqual(traceManager._getDependents(A1Index, A1ExternalIndex), undefined); // ? + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), undefined); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), undefined); + + // clear all + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + ws.selectionRange.ranges = [ws.getRange2("A7").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A7").getBBox0().r1, ws.getRange2("A7").getBBox0().c1); + + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A7Index, A8Index), 1); + assert.strictEqual(traceManager._getDependents(A7Index, C7Index), 1); + assert.strictEqual(traceManager._getDependents(A8Index, C7Index), undefined); + + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A7Index, A8Index), 1); + assert.strictEqual(traceManager._getDependents(A7Index, C7Index), 1); + assert.strictEqual(traceManager._getDependents(A8Index, C7Index), 1); + + // first clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getDependents(A7Index, A8Index), 1); + assert.strictEqual(traceManager._getDependents(A7Index, C7Index), 1); + assert.strictEqual(traceManager._getDependents(A8Index, C7Index), undefined); + + // second clear + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + assert.strictEqual(traceManager._getDependents(A7Index, A8Index), undefined); + assert.strictEqual(traceManager._getDependents(A7Index, C7Index), undefined); + assert.strictEqual(traceManager._getDependents(A8Index, C7Index), undefined); + + // clear all + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + // QUnit.test("Test: \"Circular reference tests\"", function (assert) { + // // TODO checking for cycling dependency will be changed. Change tests after this + // ws.getRange2("A1:J20").cleanAll(); + + // let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + // C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + // A2Index = AscCommonExcel.getCellIndex(ws.getRange2("A2").bbox.r1, ws.getRange2("A2").bbox.c1), + // C2Index = AscCommonExcel.getCellIndex(ws.getRange2("C2").bbox.r1, ws.getRange2("C2").bbox.c1), + // B3Index = AscCommonExcel.getCellIndex(ws.getRange2("B3").bbox.r1, ws.getRange2("B3").bbox.c1), + // C3Index = AscCommonExcel.getCellIndex(ws.getRange2("C3").bbox.r1, ws.getRange2("C3").bbox.c1), + // D3Index = AscCommonExcel.getCellIndex(ws.getRange2("D3").bbox.r1, ws.getRange2("D3").bbox.c1); + + // ws.getRange2("A1").setValue("=C1"); + // ws.getRange2("C1").setValue("=A1"); + // ws.getRange2("A2").setValue("=A2+C2"); + // ws.getRange2("C2").setValue("=A2+C2"); + // ws.getRange2("B3").setValue("=C1"); + // ws.getRange2("C3").setValue("=C1"); + // ws.getRange2("D3").setValue("=C1"); + + // ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + // ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + // api.asc_TracePrecedents(); + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), 1); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, B3Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, C3Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, D3Index), undefined); + + // api.asc_TracePrecedents(); + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), 1); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), 1); + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, B3Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, C3Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, D3Index), undefined); + + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + // api.asc_TracePrecedents(); + + // api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), undefined); + + // api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), undefined); + + // // clear traces + // api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // api.asc_TraceDependents(); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), 1); + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, B3Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, C3Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, D3Index), undefined); + + // api.asc_TraceDependents(); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), 1); + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), 1); + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, B3Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, C3Index), 1); + // assert.strictEqual(traceManager._getDependents(C1Index, D3Index), 1); + + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + // api.asc_TraceDependents(); + + // api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A1Index), undefined); // 1 + // assert.strictEqual(traceManager._getDependents(A1Index, C1Index), undefined); // 1 + // assert.strictEqual(traceManager._getPrecedents(A1Index, C1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, A1Index), undefined); + // assert.strictEqual(traceManager._getDependents(C1Index, B3Index), 1); // undef + // assert.strictEqual(traceManager._getDependents(C1Index, C3Index), 1); // undef + // assert.strictEqual(traceManager._getDependents(C1Index, D3Index), 1); // undef + + // // clear traces + // api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + // }); + QUnit.test("Test: \"Mixed tests\"", function (assert) { + ws.getRange2("A1:J20").cleanAll(); + // TODO check formulas + ws.getRange2("A1").setValue("=Sheet2!A10+12"); + ws.getRange2("B1").setValue("=Sheet2!A10+A1"); + ws.getRange2("C1").setValue("=Sheet2!A10+B1"); + ws2.getRange2("A1").setValue("=Sheet1!C1"); + // ws.getRange2("A1").setValue("=Sheet2!A10:A11+I5:J6+C1+A10:A11+Sheet2!C3"); + // ws.getRange2("C1").setValue("=Sheet2!A10:A11+Sheet2!C3"); + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + B1Index = AscCommonExcel.getCellIndex(ws.getRange2("B1").bbox.r1, ws.getRange2("B1").bbox.c1), + C1Index = AscCommonExcel.getCellIndex(ws.getRange2("C1").bbox.r1, ws.getRange2("C1").bbox.c1), + A1ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("A1").bbox.r1, ws2.getRange2("A1").bbox.c1) + ";0", + A10ExternalIndex = AscCommonExcel.getCellIndex(ws2.getRange2("A10").bbox.r1, ws2.getRange2("A10").bbox.c1) + ";0"; + + ws.selectionRange.ranges = [ws.getRange2("B1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("B1").getBBox0().r1, ws.getRange2("B1").getBBox0().c1); + + assert.ok(1, "Trace precedents from B1"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, A10ExternalIndex), undefined, "A1<-OtherSheet!A10 === undefined"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A1Index), 1, "B1<-A1"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A10ExternalIndex), 1, "B1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(C1Index, B1Index), undefined, "C1<-B1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A1ExternalIndex), undefined, "C1<-OtherSheet!A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), undefined, "C1<-OtherSheet!A10 === undefined"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, A10ExternalIndex), 1, "A1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A1Index), 1, "B1<-A1"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A10ExternalIndex), 1, "B1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(C1Index, B1Index), undefined, "C1<-B1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A1ExternalIndex), undefined, "C1<-OtherSheet!A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), undefined, "C1<-OtherSheet!A10 === undefined"); + + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getPrecedents(A1Index, A10ExternalIndex), 1, "A1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A1Index), 1, "B1<-A1"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A10ExternalIndex), 1, "B1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(C1Index, B1Index), undefined, "C1<-B1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A1ExternalIndex), undefined, "C1<-OtherSheet!A1 === undefined"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), undefined, "C1<-OtherSheet!A10 === undefined"); + + assert.ok(1, "Trace dependents from B1"); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + + assert.strictEqual(traceManager._getPrecedents(A1Index, A10ExternalIndex), 1, "A1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A1Index), 1, "B1<-A1"); + assert.strictEqual(traceManager._getPrecedents(B1Index, A10ExternalIndex), 1, "B1<-OtherSheet!A10"); + assert.strictEqual(traceManager._getDependents(C1Index, A1ExternalIndex), 1, "C1->OtherSheet!A1"); + // assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), 1); // 1 + assert.strictEqual(traceManager._getDependents(B1Index, C1Index), 1, "B1->C1"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + + ws.selectionRange.ranges = [ws.getRange2("C1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("C1").getBBox0().r1, ws.getRange2("C1").getBBox0().c1); + + assert.ok(1, "Trace precedents from C1"); + api.asc_TracePrecedents(); + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace dependents from A1"); + api.asc_TraceDependents(); + api.asc_TraceDependents(); + + assert.strictEqual(traceManager._getDependents(A1Index, B1Index), 1, "A1->B1"); + assert.strictEqual(traceManager._getPrecedents(C1Index, B1Index), 1, "C1<-B1"); + assert.strictEqual(traceManager._getPrecedents(C1Index, A10ExternalIndex), 1, "C1<-OtherSheet!A10"); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + ws.getRange2("A1:J20").cleanAll(); + + ws.getRange2("A1").setValue("1"); + ws.getRange2("C1").setValue("=A1+A2"); + ws.getRange2("E1").setValue("=C1+E2"); + ws.getRange2("G1").setValue("=E1"); + ws.getRange2("A4").setValue("1"); + ws.getRange2("C4").setValue("=A4+A5"); + ws.getRange2("E4").setValue("=C4+E5"); + ws.getRange2("G4").setValue("=E4"); + + let E1Index = AscCommonExcel.getCellIndex(ws.getRange2("E1").bbox.r1, ws.getRange2("E1").bbox.c1), + E2Index = AscCommonExcel.getCellIndex(ws.getRange2("E2").bbox.r1, ws.getRange2("E2").bbox.c1), + G1Index = AscCommonExcel.getCellIndex(ws.getRange2("G1").bbox.r1, ws.getRange2("G1").bbox.c1), + A2Index = AscCommonExcel.getCellIndex(ws.getRange2("A2").bbox.r1, ws.getRange2("A2").bbox.c1), + A4Index = AscCommonExcel.getCellIndex(ws.getRange2("A4").bbox.r1, ws.getRange2("A4").bbox.c1), + A5Index = AscCommonExcel.getCellIndex(ws.getRange2("A5").bbox.r1, ws.getRange2("A5").bbox.c1), + C4Index = AscCommonExcel.getCellIndex(ws.getRange2("C4").bbox.r1, ws.getRange2("C4").bbox.c1), + E4Index = AscCommonExcel.getCellIndex(ws.getRange2("E4").bbox.r1, ws.getRange2("E4").bbox.c1), + E5Index = AscCommonExcel.getCellIndex(ws.getRange2("E5").bbox.r1, ws.getRange2("E5").bbox.c1), + G4Index = AscCommonExcel.getCellIndex(ws.getRange2("G4").bbox.r1, ws.getRange2("G4").bbox.c1); + + ws.selectionRange.ranges = [ws.getRange2("C1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("C1").getBBox0().r1, ws.getRange2("C1").getBBox0().c1); + + assert.ok(1, "Trace dependents from C1. Checking two independent lines"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1, "C1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), undefined, "G1->E1 === undefined. First line"); + assert.strictEqual(traceManager._getPrecedents(E1Index, E2Index), undefined, "E1->E2 === undefined. First line"); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), undefined, "C4->E4 === undefined. Second line"); + assert.strictEqual(traceManager._getPrecedents(G4Index, E4Index), undefined, "G4->E4 === undefined. Second line"); + assert.strictEqual(traceManager._getPrecedents(E4Index, E5Index), undefined, "E4->E5 === undefined. Second line"); + + ws.selectionRange.ranges = [ws.getRange2("G1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("G1").getBBox0().r1, ws.getRange2("G1").getBBox0().c1); + + assert.ok(1, "Trace dependents from G1. Checking two independent lines"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1, "C1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1, "G1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(E1Index, E2Index), undefined, "E1->E2 === undefined. First line"); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), undefined, "C4->E4 === undefined. Second line"); + assert.strictEqual(traceManager._getPrecedents(G4Index, E4Index), undefined, "G4->E4 === undefined. Second line"); + assert.strictEqual(traceManager._getPrecedents(E4Index, E5Index), undefined, "E4->E5 === undefined. Second line"); + + ws.selectionRange.ranges = [ws.getRange2("C4").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("C4").getBBox0().r1, ws.getRange2("C4").getBBox0().c1); + + assert.ok(1, "Trace dependents from C4. Checking two independent lines"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1, "C1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1, "G1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(E1Index, E2Index), undefined, "E1->E2 === undefined. First line"); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1, "C4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(G4Index, E4Index), undefined, "G4->E4 === undefined. Second line"); + assert.strictEqual(traceManager._getPrecedents(E4Index, E5Index), undefined, "E4->E5 === undefined. Second line"); + + ws.selectionRange.ranges = [ws.getRange2("G4").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("G4").getBBox0().r1, ws.getRange2("G4").getBBox0().c1); + + assert.ok(1, "Trace dependents from G4. Checking two independent lines"); + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1, "C1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1, "G1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(E1Index, E2Index), undefined, "E1->E2 === undefined. First line"); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1, "C4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(G4Index, E4Index), 1, "G4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(E4Index, E5Index), undefined, "E4->E5 === undefined. Second line"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1, "C1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1, "G1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(E1Index, E2Index), undefined, "E1->E2 === undefined. First line"); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1, "C4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(G4Index, E4Index), 1, "G4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(E4Index, E5Index), 1, "E4->E5. Second line"); + assert.strictEqual(traceManager._getPrecedents(C4Index, A4Index), undefined, "C4->A4 === undefined. Second line"); + assert.strictEqual(traceManager._getPrecedents(C4Index, A5Index), undefined, "C4->A5 === undefined. Second line"); + + api.asc_TracePrecedents(); + assert.strictEqual(traceManager._getDependents(C1Index, E1Index), 1, "C1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(G1Index, E1Index), 1, "G1->E1. First line"); + assert.strictEqual(traceManager._getPrecedents(E1Index, E2Index), undefined, "E1->E2 === undefined. First line"); + assert.strictEqual(traceManager._getDependents(C4Index, E4Index), 1, "C4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(G4Index, E4Index), 1, "G4->E4. Second line"); + assert.strictEqual(traceManager._getPrecedents(E4Index, E5Index), 1, "E4->E5. Second line"); + assert.strictEqual(traceManager._getPrecedents(C4Index, A4Index), 1, "C4->A4. Second line"); + assert.strictEqual(traceManager._getPrecedents(C4Index, A5Index), 1, "C4->A5. Second line"); + + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + QUnit.test("Test: \"Dependents perfomance tests\"", function (assert) { + let bbox; + // -------------- precedents -------------- + ws.getRange2("A1:Z10000").cleanAll(); + + let A1Index = AscCommonExcel.getCellIndex(ws.getRange2("A1").bbox.r1, ws.getRange2("A1").bbox.c1), + A50Index = AscCommonExcel.getCellIndex(ws.getRange2("A50").bbox.r1, ws.getRange2("A50").bbox.c1), + AA500Index = AscCommonExcel.getCellIndex(ws.getRange2("AA500").bbox.r1, ws.getRange2("AA500").bbox.c1); + + ws.getRange2("A1").setValue("2"); + bbox = ws.getRange2("A2:AA500").bbox; + ws.getRange2("A2:AA500").setValue("=A1:C1", undefined, undefined, bbox); + + ws.selectionRange.ranges = [ws.getRange2("A1").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("A1").getBBox0().r1, ws.getRange2("A1").getBBox0().c1); + + assert.ok(1, "Trace 13500 dependents from A1"); + api.asc_TraceDependents(); + assert.strictEqual(traceManager._getDependents(A1Index, A50Index), 1); + assert.strictEqual(traceManager._getDependents(A1Index, AA500Index), 1); + + assert.ok(1, "Trace 13500 dependents from A2:AA500"); + // api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.dependent); // ~10000ms + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + QUnit.test("Test: \"Precedents areas perfomance tests\"", function (assert) { + let bbox; + // -------------- precedents -------------- + ws.getRange2("A1:Z10000").cleanAll(); + + ws.selectionRange.ranges = [ws.getRange2("I2").getBBox0()]; + ws.selectionRange.setActiveCell(ws.getRange2("I2").getBBox0().r1, ws.getRange2("I2").getBBox0().c1); + + let I2Index = AscCommonExcel.getCellIndex(ws.getRange2("I2").bbox.r1, ws.getRange2("I2").bbox.c1), + A2Index = AscCommonExcel.getCellIndex(ws.getRange2("A2").bbox.r1, ws.getRange2("A2").bbox.c1), + C2Index = AscCommonExcel.getCellIndex(ws.getRange2("C2").bbox.r1, ws.getRange2("C2").bbox.c1), + F2Index = AscCommonExcel.getCellIndex(ws.getRange2("F2").bbox.r1, ws.getRange2("F2").bbox.c1), + A102Index = AscCommonExcel.getCellIndex(ws.getRange2("A102").bbox.r1, ws.getRange2("A102").bbox.c1), + C102Index = AscCommonExcel.getCellIndex(ws.getRange2("C102").bbox.r1, ws.getRange2("C102").bbox.c1), + F102Index = AscCommonExcel.getCellIndex(ws.getRange2("F102").bbox.r1, ws.getRange2("F102").bbox.c1), + A1002Index = AscCommonExcel.getCellIndex(ws.getRange2("A1002").bbox.r1, ws.getRange2("A1002").bbox.c1), + C1002Index = AscCommonExcel.getCellIndex(ws.getRange2("C1002").bbox.r1, ws.getRange2("C1002").bbox.c1), + F1002Index = AscCommonExcel.getCellIndex(ws.getRange2("F1002").bbox.r1, ws.getRange2("F1002").bbox.c1), + A2002Index = AscCommonExcel.getCellIndex(ws.getRange2("A2002").bbox.r1, ws.getRange2("A2002").bbox.c1), + C2002Index = AscCommonExcel.getCellIndex(ws.getRange2("C2002").bbox.r1, ws.getRange2("C2002").bbox.c1), + F2002Index = AscCommonExcel.getCellIndex(ws.getRange2("F2002").bbox.r1, ws.getRange2("F2002").bbox.c1); + + ws.getRange2("F2").setValue("=SUM(C2:E2)"); + + let ctrlPress = false, + nIndex = 5000; + // nIndex = 10; + + let oCanPromote = ws.getRange2("F2").canPromote(/*bCtrl*/ctrlPress, /*bVertical*/1, /*fill index*/ nIndex); + ws.getRange2("F2").promote(ctrlPress, 1, nIndex, oCanPromote); + + bbox = ws.getRange2("I2:I6").bbox; + ws.getRange2("I2:I6").setValue("=SUM($F$2:$F$2004,$C$2:$C$2004)*($A$2:$A$2004)", undefined, undefined, bbox); + + assert.ok(1, "Trace precedents from I2"); + api.asc_TracePrecedents(); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$2:$A$2004"]), "object"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$C$2:$C$2004"]), "object"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$F$2:$F$2004"]), "object"); + assert.strictEqual(typeof(traceManager.precedentsAreas["C2:E2"]), "undefined"); + assert.ok(1, "Trace 2000*3 precedents from I2"); + api.asc_TracePrecedents(); + assert.strictEqual(typeof(traceManager.precedentsAreas["$A$2:$A$2004"]), "object"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$C$2:$C$2004"]), "object"); + assert.strictEqual(typeof(traceManager.precedentsAreas["$F$2:$F$2004"]), "object"); + assert.strictEqual(typeof(traceManager.precedentsAreas["C2:E2"]), "object"); + // assert.strictEqual(typeof(traceManager.precedentsAreas["C1000:E1000"]), "object"); + api.asc_TracePrecedents(); // old: ~2800ms, new: ~280ms + // api.asc_TracePrecedents(); // old: ~5400ms, new: ~280ms + // api.asc_TracePrecedents(); // old: ~8400ms, new: ~280ms + // api.asc_TracePrecedents(); // old: ~10800ms, new: ~280ms + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.precedent); + + // clear traces + api.asc_RemoveTraceArrows(Asc.c_oAscRemoveArrowsType.all); + }); + // QUnit.test("Test: \"Interface tests\"", function (assert) { + // let bbox; + // // trace dependents/precedents -> click on interface element -> check dependencies + // // let a = new api.asc_CDefName(); + // // AddComment -> false + // // asc_Paste -> false + // // asc_PasteData -> true* + // }); + } + + QUnit.module("FormulaTrace"); + + function startTests() { + QUnit.start(); + traceTests(); + } + + startTests(); +}); diff --git a/tests/runAll.js b/tests/runAll.js index 58e3000274..e95a302ee1 100644 --- a/tests/runAll.js +++ b/tests/runAll.js @@ -46,6 +46,7 @@ const allTests = [ 'word/document-calculation/table/flowTablePosition.html', 'word/document-calculation/table/pageBreak.html', 'word/document-calculation/textShaper/textShaper.html', + 'word/document-calculation/text-hyphenator/text-hyphenator.html', 'word/forms/forms.html', 'word/forms/complexForm.html', 'word/numbering/numberingApplicator.html', diff --git a/tests/slide/shortcuts/shortcuts.js b/tests/slide/shortcuts/shortcuts.js index 335bd23157..81f96d0fb4 100644 --- a/tests/slide/shortcuts/shortcuts.js +++ b/tests/slide/shortcuts/shortcuts.js @@ -535,7 +535,7 @@ oEvent = createEvent(188, true, false, false, false, false); oAssert.strictEqual(editor.getShortcut(oEvent), Asc.c_oAscPresentationShortcutType.Superscript, 'Check getting superscript shortcut action'); - oEvent = createEvent(187, true, false, false, false, false); + oEvent = createEvent(187, true, false, true, false, false); oAssert.strictEqual(editor.getShortcut(oEvent), Asc.c_oAscPresentationShortcutType.Subscript, 'Check getting subscript shortcut action'); oEvent = createEvent(190, true, false, false, false, false); diff --git a/tests/word/common/measurer.js b/tests/word/common/measurer.js index 42172b83c1..40c22d9960 100644 --- a/tests/word/common/measurer.js +++ b/tests/word/common/measurer.js @@ -53,6 +53,17 @@ const GraphemeCombining_xyz = 40; const GraphemeCombining_xy = 45; + function GetCharWidth(codePoint) + { + if (0x00BC === codePoint) // ¼ + return 0.25 * CharWidth; + else if (0x00BD === codePoint) // ½ + return 0.5 * CharWidth; + else if (0x00BE === codePoint) // ¾ + return 0.75 * CharWidth; + + return CharWidth; + } let HB_String = []; AscFonts.HB_StartString = function() @@ -67,6 +78,10 @@ { HB_String.push(u); }; + AscFonts.GetGraphemeWidth = function() + { + return CharWidth; + }; AscFonts.CTextShaper.prototype.FlushWord = function() { AscFonts.HB_EndString(); @@ -112,7 +127,7 @@ } else { - this.FlushGrapheme(GraphemeNormal, CharWidth, 1, false); + this.FlushGrapheme(GraphemeNormal, GetCharWidth(HB_String[nIndex]), 1, false); } } @@ -143,17 +158,17 @@ { return FontDescent; }; - g_oTextMeasurer.MeasureCode = function() + g_oTextMeasurer.MeasureCode = function(codePoint) { - return {Width : CharWidth * FontSize}; + return {Width : GetCharWidth(codePoint) * FontSize}; }; g_oTextMeasurer.Measure2Code = function() { return {Width : CharWidth * FontSize}; }; - g_oTextMeasurer.Measure = function() + g_oTextMeasurer.Measure = function(char) { - return {Width : CharWidth * FontSize}; + return g_oTextMeasurer.MeasureCode(char ? char.codePointAt(0) : 0x0020); }; AscCommon.g_fontApplication = AscCommon.g_fontApplication || window.g_fontApplication || {}; AscCommon.g_fontApplication.LoadFont = function () { diff --git a/tests/word/document-calculation/text-hyphenator/hyphenation-service.js b/tests/word/document-calculation/text-hyphenator/hyphenation-service.js new file mode 100644 index 0000000000..8bb6385016 --- /dev/null +++ b/tests/word/document-calculation/text-hyphenator/hyphenation-service.js @@ -0,0 +1,88 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; + +const AscHyphenation = {}; + +(function(window) +{ + // Это тестовые функции, которые должны быть заменены на нормальные + let BUFFER_STRING = ""; + + AscHyphenation.addCodePoint = function(codePoint) + { + BUFFER_STRING += String.fromCodePoint(codePoint); + }; + AscHyphenation.setLang = function(langCode) + { + return true; + }; + AscHyphenation.hyphenate = function() + { + let checkString = BUFFER_STRING.toLowerCase(); + + if ("abcd" === checkString) + return [2]; + else if ("abb" === checkString) + return [1]; + else if ("abbb" === checkString) + return [1]; + else if ("aaabbb" === checkString) + return [3]; + else if ("aabbb" === checkString) + return [2]; + else if ("aabbbb" === checkString) + return [2]; + else if ("abbb" === checkString) + return [1]; + else if ("abbbb" === checkString) + return [1]; + else if ("aaabbb" === checkString) + return [3]; + else if ("testtest" === checkString) + return [4]; + else if ("aabbbcccdddd" === checkString) + return [2, 5, 8]; + else if ("ccdddd" === checkString) + return [3]; + else if ("zz½www" === checkString) + return [2]; + + return []; + }; + AscHyphenation.clear = function() + { + BUFFER_STRING = ""; + }; + +})(window); diff --git a/tests/word/document-calculation/text-hyphenator/text-hyphenator.html b/tests/word/document-calculation/text-hyphenator/text-hyphenator.html new file mode 100644 index 0000000000..c027624bd3 --- /dev/null +++ b/tests/word/document-calculation/text-hyphenator/text-hyphenator.html @@ -0,0 +1,38 @@ + + + + + + Text hyphenation tests + + + + + + + + + + + + + + + + + + + +

        Text hyphenation

        +

        +
        +

        +
          +
          test markup, will be hidden
          + + diff --git a/tests/word/document-calculation/text-hyphenator/text-hyphenator.js b/tests/word/document-calculation/text-hyphenator/text-hyphenator.js new file mode 100644 index 0000000000..2b7e9199cc --- /dev/null +++ b/tests/word/document-calculation/text-hyphenator/text-hyphenator.js @@ -0,0 +1,474 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; + +$(function () +{ + const charWidth = AscTest.CharWidth * AscTest.FontSize; + + let dc = new AscWord.DocumentContent(); + dc.ClearContent(false); + + let para = new AscWord.Paragraph(); + dc.AddToContent(0, para); + + let run = new AscWord.Run(); + para.AddToContent(0, run); + + function recalculate(width) + { + dc.Reset(0, 0, width, 10000); + dc.Recalculate_Page(0, true); + } + + function setText(text) + { + run.ClearContent(); + run.AddText(text); + } + + let autoHyphenation = false; + let hyphenateCaps = true; + let hyphenLimit = 0; + let hyphenationZone = 0; + + AscWord.Paragraph.prototype.isAutoHyphenation = function() + { + return autoHyphenation; + }; + AscWord.ParagraphRecalculationWrapState.prototype.isAutoHyphenation = function() + { + return autoHyphenation; + }; + AscWord.ParagraphRecalculationWrapState.prototype.getAutoHyphenLimit = function() + { + return hyphenLimit; + }; + AscWord.ParagraphRecalculationWrapState.prototype.getHyphenationZone = function() + { + return hyphenationZone; + }; + AscWord.TextHyphenator.prototype.isHyphenateCaps = function() + { + return hyphenateCaps; + }; + + function setAutoHyphenation(isAuto) + { + autoHyphenation = isAuto; + } + function setHyphenateCaps(isHyphenate) + { + hyphenateCaps = isHyphenate; + } + function setHyphenLimit(limit) + { + hyphenLimit = limit; + } + function setHyphenationZone(zone) + { + hyphenationZone = zone; + } + + function checkLines(assert, isAutoHyphenation, contentWidth, textLines) + { + setAutoHyphenation(isAutoHyphenation); + recalculate(contentWidth); + + assert.strictEqual(para.GetLinesCount(), textLines.length, "Check lines count " + textLines.length); + + for (let line = 0, lineBreakPos = 0; line < textLines.length; ++line) + { + lineBreakPos += textLines[line].length; + + let lineText = textLines[line]; + if (textLines[line].length && "-" === textLines[line].charAt(textLines[line].length - 1)) + { + --lineBreakPos; + checkAutoHyphenAfter(assert, lineBreakPos - 1, true); + lineText = textLines[line].substr(0, textLines[line].length - 1); + } + else + { + checkAutoHyphenAfter(assert, lineBreakPos - 1, false); + } + + assert.strictEqual(para.GetTextOnLine(line), lineText, "Text on line " + line + " '" + textLines[line] + "'"); + } + } + + function checkAutoHyphenAfter(assert, itemPos, isHyphen, _run) + { + let __run = _run ? _run : run; + let runItem = __run.GetElement(itemPos); + if (!runItem.IsText()) + assert.strictEqual(false, isHyphen, "Check auto hyphen after symbol"); + else + assert.strictEqual(runItem.IsTemporaryHyphenAfter(), isHyphen, "Check auto hyphen after symbol"); + } + + QUnit.module("Text hyphenation", + { + beforeEach : function () + { + setAutoHyphenation(false); + setHyphenateCaps(true); + setHyphenLimit(0); + } + }); + + QUnit.test("Test: \"Test regular line break cases\"", function (assert) + { + setText("abcd abcd aaabbb"); + checkLines(assert, false, charWidth * 8.5, [ + "abcd ", + "abcd ", + "aaabbb" + ]); + checkLines(assert, true, charWidth * 8.5, [ + "abcd ab-", + "cd aaa-", + "bbb" + ]); + // Дефис переноса не убирается + checkLines(assert, true, charWidth * 7.5, [ + "abcd ", + "abcd ", + "aaabbb" + ]); + + // Перенос на первой букве + setText("abbb"); + checkLines(assert, false, charWidth * 3.5, [ + "abb", + "b", + ]); + checkLines(assert, true, charWidth * 3.5, [ + "a-", + "bbb", + ]); + + setText("aabbbcccdddd"); + checkLines(assert, false, charWidth * 3.5, [ + "aab", + "bbc", + "ccd", + "ddd" + ]); + checkLines(assert, true, charWidth * 3.5, [ + "aa-", + "bbb", + "ccc", + "ddd", + "d" + ]); + }); + + QUnit.test("Test: \"Test edge cases\"", function (assert) + { + setText("aaaa zz½www bbbb"); + checkLines(assert, false, charWidth * 7.5, [ + "aaaa ", + "zz½www ", + "bbbb" + ]); + checkLines(assert, true, charWidth * 7.5, [ + "aaaa ", + "zz½www ", + "bbbb" + ]); + checkLines(assert, true, charWidth * 8.5, [ + "aaaa zz-", + "½www bbbb" + ]); + + // Перенос идет после второго символа z, а следующий за ним символ меньше по ширине, чем + // размер дефиса, который мы рисуем во время переноса + setText("zz½www"); + checkLines(assert, false, charWidth * 2.75, [ + "zz½", + "ww", + "w" + ]); + checkLines(assert, true, charWidth * 3.25, [ + "zz-", + "½ww", + "w" + ]); + checkLines(assert, true, charWidth * 2.75, [ + "zz½", + "ww", + "w" + ]); + checkLines(assert, true, charWidth * 2.25, [ + "zz", + "½w", + "ww" + ]); + + // TODO: Разобрать случай, когда перенос слова происходит в двух (или более местах) и следующее место переноса + // надо начинать считать с последнего места переноса, а не с начала слова + + // TODO: Случай, когда одно длинное слово разбивается по переносам и целиком переходит на следующую страницу + // из-за этого + }); + + QUnit.test("Test: \"Test DoNotHyphenateCaps parameter\"", function (assert) + { + setText("abcde AAABBB aaabbb"); + + checkLines(assert, false, charWidth * 11.5, [ + "abcde ", + "AAABBB ", + "aaabbb" + ]); + + setHyphenateCaps(true); + checkLines(assert, true, charWidth * 11.5, [ + "abcde AAA-", + "BBB aaabbb" + ]); + + setHyphenateCaps(false); + checkLines(assert, true, charWidth * 11.5, [ + "abcde ", + "AAABBB aaa-", + "bbb"] + ); + }); + + QUnit.test("Test: \"Test ConsecutiveHyphenLimit parameter for different words\"", function (assert) + { + setText("abcd aabbb ABBBB abbb AABBB abbbb aabbbb abcd"); + + checkLines(assert, false, charWidth * 8.5, [ + "abcd ", + "aabbb ", + "ABBBB ", + "abbb ", + "AABBB ", + "abbbb ", + "aabbbb ", + "abcd" + ]); + + checkLines(assert, true, charWidth * 8.5, [ + "abcd aa-", + "bbb A-", + "BBBB a-", + "bbb AA-", + "BBB a-", + "bbbb aa-", + "bbbb ab-", + "cd" + ]); + + setHyphenLimit(1); + checkLines(assert, true, charWidth * 8.5, [ + "abcd aa-", + "bbb ", + "ABBBB a-", + "bbb ", + "AABBB a-", + "bbbb ", + "aabbbb ", + "abcd" + ]); + + setHyphenLimit(2); + checkLines(assert, true, charWidth * 8.5, [ + "abcd aa-", + "bbb A-", + "BBBB ", + "abbb AA-", + "BBB a-", + "bbbb ", + "aabbbb ", + "abcd" + ]) + + setHyphenLimit(3); + checkLines(assert, true, charWidth * 8.5, [ + "abcd aa-", + "bbb A-", + "BBBB a-", + "bbb ", + "AABBB a-", + "bbbb aa-", + "bbbb ab-", + "cd" + ]); + }); + + QUnit.test("Test: \"Test ConsecutiveHyphenLimit parameter for single word\"", function(assert) + { + setText("aabbbcccdddd"); + + checkLines(assert, false, charWidth * 4.5, [ + "aabb", + "bccc", + "dddd" + ]); + + checkLines(assert, true, charWidth * 4.5, [ + "aa-", + "bbb-", + "ccc-", + "dddd" + ]); + + // В этом примере важно, что ccdddd тоже переносится по второму символу + setHyphenLimit(1); + checkLines(assert, true, charWidth * 4.5, [ + "aa-", + "bbbc", + "cc-", + "dddd" + ]); + + setHyphenLimit(2); + checkLines(assert, true, charWidth * 4.5, [ + "aa-", + "bbb-", + "cccd", + "ddd" + ]); + + }); + + QUnit.test("Test: \"Test HyphenationZone parameter\"", function(assert) + { + // На длинном слове, единственном на строке, не работает HyphenationZone (проверял на MS2019) + setText("aabbbcccdddd"); + + setHyphenationZone(2.5 * charWidth); + checkLines(assert, true, charWidth * 4.5, [ + "aa-", + "bbb-", + "ccc-", + "dddd" + ]); + + setHyphenationZone(4.5 * charWidth); + checkLines(assert, true, charWidth * 4.5, [ + "aa-", + "bbb-", + "ccc-", + "dddd" + ]); + + setText("a aabbbcccdddd"); + setHyphenationZone(2.5 * charWidth); + checkLines(assert, true, charWidth * 5.5, [ + "a aa-", + "bbb-", + "ccc-", + "dddd" + ]); + + setHyphenationZone(4.5 * charWidth); + checkLines(assert, true, charWidth * 5.5, [ + "a ", + "aa-", + "bbb-", + "ccc-", + "dddd" + ]); + + setText("abcd aabbb ABBBB abbbb ABB abbbb aabbbb abcd"); + + setHyphenationZone(1.5 * charWidth); + checkLines(assert, true, charWidth * 8.5, [ + "abcd aa-", + "bbb A-", + "BBBB a-", + "bbbb ABB ", + "abbbb ", + "aabbbb ", + "abcd" + ]); + + setHyphenationZone(4 * charWidth); + checkLines(assert, true, charWidth * 8.5, [ + "abcd ", + "aabbb ", + "ABBBB ", + "abbbb ", + "ABB a-", + "bbbb ", + "aabbbb ", + "abcd" + ]); + + // Делаем как в MSWord (проверено в 2019 версии) + // HyphenationZone расчитываерся начиная от левого поля, а не от левого края параграфа, но прибавляется + // текущий сдвиг относительно левого края параграфа + para.SetParagraphIndent({Left : 10 * charWidth, FirstLine : 0}); + setHyphenationZone(4 * charWidth); + checkLines(assert, true, charWidth * 18.5, [ + "abcd aa-", + "bbb A-", + "BBBB a-", + "bbbb ABB ", + "abbbb ", + "aabbbb ", + "abcd" + ]); + + para.SetParagraphIndent({Left : 0, FirstLine : 0}); + + // TODO: Реализовать этот случай + // Проверяем, что расчет HyphenationZone идет с начала слова, а не с места первого разрыва + // setText("abcd aabbbcccdddd"); + // + // setHyphenationZone(6 * charWidth); + // checkLines(assert, true, charWidth * 15.5, [ + // "abcd aabbbccc-", + // "dddd" + // ]); + // + // setHyphenationZone(9 * charWidth); + // checkLines(assert, true, charWidth * 15.5, [ + // "abcd aabbbccc-", + // "dddd" + // ]); + // + // setHyphenationZone(12 * charWidth); + // checkLines(assert, true, charWidth * 15.5, [ + // "abcd ", + // "aabbbcccdddd" + // ]); + + }); + +}); diff --git a/word/Drawing/DrawingDocument.js b/word/Drawing/DrawingDocument.js index 182a8e4ff6..b1ad6076ea 100644 --- a/word/Drawing/DrawingDocument.js +++ b/word/Drawing/DrawingDocument.js @@ -5973,7 +5973,11 @@ function CDrawingDocument() this.InlineTextTrackEnabled = false; if (true !== isOnlyMoveTarget) - this.m_oWordControl.m_oLogicDocument.OnEndTextDrag(this.InlineTextTrack, AscCommon.global_keyboardEvent.CtrlKey); + { + const bIsMac = AscCommon.AscBrowser.isMacOs; + const bCopy = bIsMac ? AscCommon.global_keyboardEvent.AltKey : AscCommon.global_keyboardEvent.CtrlKey; + this.m_oWordControl.m_oLogicDocument.OnEndTextDrag(this.InlineTextTrack, bCopy); + } else if (this.InlineTextTrack) { var Paragraph = this.InlineTextTrack.Paragraph; diff --git a/word/Drawing/Rulers.js b/word/Drawing/Rulers.js index 3868b57227..7195ccdfb0 100644 --- a/word/Drawing/Rulers.js +++ b/word/Drawing/Rulers.js @@ -1218,13 +1218,15 @@ function CHorRuler() if (newVal > _margin_right) newVal = _margin_right; } - this.m_dIndentRight = _margin_right - newVal; word_control.UpdateHorRulerBack(); var pos = left + (_margin_right - this.m_dIndentRight) * dKoef_mm_to_pix; word_control.m_oOverlayApi.VertLine(pos); + // if (!this.SimpleChanges.IsSimple) + // this.SetPrProperties(true); + break; } case 7: @@ -2270,18 +2272,35 @@ function CHorRuler() } } - this.SetPrProperties = function() + this.SetPrProperties = function(isTemporary) { - if (false === this.m_oWordControl.m_oLogicDocument.Document_Is_SelectionLocked(AscCommon.changestype_Paragraph_Properties)) + let left = this.m_dIndentLeft; + let right = this.m_dIndentRight; + let firstLine = this.m_dIndentLeftFirst - this.m_dIndentLeft; + + let logicDocument = this.m_oWordControl.m_oLogicDocument; + if (logicDocument.IsSelectionLocked(AscCommon.changestype_Paragraph_Properties)) + return; + + isTemporary = isTemporary && logicDocument.IsDocumentEditor(); + + if (isTemporary) + logicDocument.TurnOff_InterfaceEvents(); + + logicDocument.StartAction(AscDFH.historydescription_Document_SetParagraphIndentFromRulers); + logicDocument.SetParagraphIndent({ + Left : left, + Right : right, + FirstLine : firstLine + }); + logicDocument.UpdateInterface(); + logicDocument.Recalculate(); + logicDocument.FinalizeAction(); + + if (isTemporary) { - this.m_oWordControl.m_oLogicDocument.StartAction(AscDFH.historydescription_Document_SetParagraphIndentFromRulers); - this.m_oWordControl.m_oLogicDocument.SetParagraphIndent({ - Left : this.m_dIndentLeft, - Right : this.m_dIndentRight, - FirstLine : (this.m_dIndentLeftFirst - this.m_dIndentLeft) - }); - this.m_oWordControl.m_oLogicDocument.Document_UpdateInterfaceState(); - this.m_oWordControl.m_oLogicDocument.FinalizeAction(); + AscCommon.History.SetLastPointTemporary(); + logicDocument.TurnOn_InterfaceEvents(); } } this.SetMarginProperties = function() diff --git a/word/Editor/Bookmarks.js b/word/Editor/Bookmarks.js index b2a0a4dbb2..b50539a441 100644 --- a/word/Editor/Bookmarks.js +++ b/word/Editor/Bookmarks.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 11.10.2017 - * Time: 13:47 - */ /** * diff --git a/word/Editor/CommentsChanges.js b/word/Editor/CommentsChanges.js index 5fba0e4afe..10b6a5e11d 100644 --- a/word/Editor/CommentsChanges.js +++ b/word/Editor/CommentsChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.11.2016 - * Time: 15:59 - */ AscDFH.changesFactory[AscDFH.historyitem_Comment_Change] = CChangesCommentChange; AscDFH.changesFactory[AscDFH.historyitem_Comment_TypeInfo] = CChangesCommentTypeInfo; diff --git a/word/Editor/Comparison.js b/word/Editor/Comparison.js index dc2b0fdeaf..1aa4a175b3 100644 --- a/word/Editor/Comparison.js +++ b/word/Editor/Comparison.js @@ -3066,16 +3066,13 @@ oReviewInfo.PrevInfo = null; oReviewInfo.UserName = this.getUserName(); const oCore = this.revisedDocument.Core; - if(oCore) + if(oCore && (oCore.modified instanceof Date)) { - if(oCore.modified instanceof Date) - { - oReviewInfo.DateTime = oCore.modified.getTime(); - } + oReviewInfo.DateTime = oCore.modified.getTime(); } else { - oReviewInfo.DateTime = "Unknown"; + oReviewInfo.DateTime = (new Date()).getTime(); } }; CDocumentComparison.prototype.getElementsForSetReviewType = function (oObject) { diff --git a/word/Editor/Document.js b/word/Editor/Document.js index aeb9c7631e..57976e3cc5 100644 --- a/word/Editor/Document.js +++ b/word/Editor/Document.js @@ -1835,7 +1835,7 @@ function CDocument(DrawingDocument, isMainLogicDocument) this.TrackRevisions = null; // Локальный флаг рецензирования, который перекрывает флаг Settings.TrackRevisions, если сам не null this.TrackRevisionsManager = new AscWord.CTrackRevisionsManager(this); - this.Settings = new AscWord.CDocumentSettings(); + this.Settings = new AscWord.DocumentSettings(this); this.Layouts = { Print : new AscWord.CDocumentPrintView(this), @@ -10580,7 +10580,7 @@ CDocument.prototype.GetAddedTextOnKeyDown = function(e) if (true === e.AltKey) // Ctrl + Alt + E - добавляем знак евро € return [0x20AC]; } - else if (e.KeyCode == 189) // Клавиша Num- + else if (e.KeyCode == 189 || e.KeyCode == 173) // Клавиша Num- { if (true === e.CtrlKey && true === e.ShiftKey) return [0x2013]; @@ -12340,7 +12340,11 @@ CDocument.prototype.SetWatermarkProps = function(oProps) */ CDocument.prototype.TurnOff_InterfaceEvents = function() { + if (this.TurnOffInterfaceEvents) + return false; + this.TurnOffInterfaceEvents = true; + return true; }; /** * Включаем отсылку сообщений в интерфейс. @@ -12670,6 +12674,10 @@ CDocument.prototype.Refresh_RecalcData = function(oData) case AscDFH.historyitem_Document_MathSettings: case AscDFH.historyitem_Document_Settings_GutterAtTop: case AscDFH.historyitem_Document_Settings_MirrorMargins: + case AscDFH.historyitem_Document_Settings_AutoHyphenation: + case AscDFH.historyitem_Document_Settings_ConsecutiveHyphenLimit: + case AscDFH.historyitem_Document_Settings_DoNotHyphenateCaps: + case AscDFH.historyitem_Document_Settings_HyphenationZone: { nChangePos = 0; break; @@ -16132,6 +16140,10 @@ CDocument.prototype.GetDocumentSettings = function() { return this.Settings; }; +CDocument.prototype.getDocumentSettings = function() +{ + return this.Settings; +}; CDocument.prototype.GetCompatibilityMode = function() { return this.Settings.CompatibilityMode; @@ -16247,7 +16259,6 @@ CDocument.prototype.SetProtection = function(props) this.Settings.DocumentProtection.setProps(props); } }; - CDocument.prototype.GetDocumentLayout = function() { return this.Layout; @@ -16275,6 +16286,91 @@ CDocument.prototype.SetDocumentPrintMode = function() this.RecalculateFromStart(true); }; +CDocument.prototype.setAutoHyphenation = function(isAuto) +{ + if (this.Settings.isAutoHyphenation() === isAuto) + return; + + if (this.IsSelectionLocked(AscCommon.changestype_Document_SectPr)) + return + + this.StartAction(AscDFH.historydescription_Document_SetAutoHyphenation); + this.Settings.setAutoHyphenation(isAuto); + this.Recalculate(); + this.UpdateInterface(); + this.FinalizeAction(); +}; +CDocument.prototype.setConsecutiveHyphenLimit = function(limit) +{ + if (this.Settings.getConsecutiveHyphenLimit() === limit) + return; + + if (this.IsSelectionLocked(AscCommon.changestype_Document_SectPr)) + return + + this.StartAction(AscDFH.historydescription_Document_SetConsecutiveHyphenLimit); + this.Settings.setConsecutiveHyphenLimit(limit); + this.Recalculate(); + this.UpdateInterface(); + this.FinalizeAction(); +}; +CDocument.prototype.setHyphenateCaps = function(hyphenate) +{ + if (this.Settings.isHyphenateCaps() === hyphenate) + return; + + if (this.IsSelectionLocked(AscCommon.changestype_Document_SectPr)) + return + + this.StartAction(AscDFH.historydescription_Document_SetHyphenateCaps); + this.Settings.setHyphenateCaps(hyphenate); + this.Recalculate(); + this.UpdateInterface(); + this.FinalizeAction(); +}; +CDocument.prototype.getAutoHyphenationSettings = function() +{ + let documentSettings = this.getDocumentSettings(); + + let settings = new AscCommon.AutoHyphenationSettings(); + settings.setAutoHyphenation(documentSettings.isAutoHyphenation()); + settings.setHyphenationLimit(documentSettings.getConsecutiveHyphenLimit()); + settings.setHyphenationZone(documentSettings.getHyphenationZone()); + settings.setHyphenateCaps(documentSettings.isHyphenateCaps()); + return settings; +}; +CDocument.prototype.setAutoHyphenationSettings = function(settings) +{ + let documentSettings = this.getDocumentSettings(); + + if (settings.isAutoHyphenation() === documentSettings.isAutoHyphenation() + && settings.getHyphenationZone() === documentSettings.getHyphenationZone() + && settings.getHyphenationLimit() === documentSettings.getConsecutiveHyphenLimit() + && settings.isHyphenateCaps() === documentSettings.isHyphenateCaps()) + return; + + if (this.IsSelectionLocked(AscCommon.changestype_Document_SectPr)) + return + + this.StartAction(AscDFH.historydescription_Document_SetHyphenateCaps); + + documentSettings.setAutoHyphenation(settings.isAutoHyphenation()); + documentSettings.setHyphenationZone(settings.getHyphenationZone()); + documentSettings.setConsecutiveHyphenLimit(settings.getHyphenationLimit()); + documentSettings.setHyphenateCaps(settings.isHyphenateCaps()); + + this.Recalculate(); + this.UpdateInterface(); + this.FinalizeAction(); +}; +CDocument.prototype.OnChangeAutoHyphenation = function() +{ + let paragraphs = this.GetAllParagraphs(); + for (let i = 0, count = paragraphs.length; i < count; ++i) + { + paragraphs[i].NeedHyphenateText(); + } +}; CDocument.prototype.private_SetCurrentSpecialForm = function(oForm) { if (this.CurrentForm === oForm && ((!oForm && !this.CurrentFormFixed) || (oForm && this.CurrentFormFixed === oForm.IsFixedForm()))) diff --git a/word/Editor/DocumentChanges.js b/word/Editor/DocumentChanges.js index e3311598a1..8bc2c3d126 100644 --- a/word/Editor/DocumentChanges.js +++ b/word/Editor/DocumentChanges.js @@ -31,24 +31,23 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 27.10.2016 - * Time: 13:02 - */ - -AscDFH.changesFactory[AscDFH.historyitem_Document_AddItem] = CChangesDocumentAddItem; -AscDFH.changesFactory[AscDFH.historyitem_Document_RemoveItem] = CChangesDocumentRemoveItem; -AscDFH.changesFactory[AscDFH.historyitem_Document_DefaultTab] = CChangesDocumentDefaultTab; -AscDFH.changesFactory[AscDFH.historyitem_Document_EvenAndOddHeaders] = CChangesDocumentEvenAndOddHeaders; -AscDFH.changesFactory[AscDFH.historyitem_Document_DefaultLanguage] = CChangesDocumentDefaultLanguage; -AscDFH.changesFactory[AscDFH.historyitem_Document_MathSettings] = CChangesDocumentMathSettings; -AscDFH.changesFactory[AscDFH.historyitem_Document_SdtGlobalSettings] = CChangesDocumentSdtGlobalSettings; -AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_GutterAtTop] = CChangesDocumentSettingsGutterAtTop; -AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_MirrorMargins] = CChangesDocumentSettingsMirrorMargins; -AscDFH.changesFactory[AscDFH.historyitem_Document_SpecialFormsGlobalSettings] = CChangesDocumentSpecialFormsGlobalSettings; -AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_TrackRevisions] = CChangesDocumentSettingsTrackRevisions; +AscDFH.changesFactory[AscDFH.historyitem_Document_AddItem] = CChangesDocumentAddItem; +AscDFH.changesFactory[AscDFH.historyitem_Document_RemoveItem] = CChangesDocumentRemoveItem; +AscDFH.changesFactory[AscDFH.historyitem_Document_DefaultTab] = CChangesDocumentDefaultTab; +AscDFH.changesFactory[AscDFH.historyitem_Document_EvenAndOddHeaders] = CChangesDocumentEvenAndOddHeaders; +AscDFH.changesFactory[AscDFH.historyitem_Document_DefaultLanguage] = CChangesDocumentDefaultLanguage; +AscDFH.changesFactory[AscDFH.historyitem_Document_MathSettings] = CChangesDocumentMathSettings; +AscDFH.changesFactory[AscDFH.historyitem_Document_SdtGlobalSettings] = CChangesDocumentSdtGlobalSettings; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_GutterAtTop] = CChangesDocumentSettingsGutterAtTop; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_MirrorMargins] = CChangesDocumentSettingsMirrorMargins; +AscDFH.changesFactory[AscDFH.historyitem_Document_SpecialFormsGlobalSettings] = CChangesDocumentSpecialFormsGlobalSettings; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_TrackRevisions] = CChangesDocumentSettingsTrackRevisions; +AscDFH.changesFactory[AscDFH.historydescription_Document_DocumentProtection] = CChangesDocumentProtection; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_AutoHyphenation] = CChangesDocumentSettingsAutoHyphenation; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_ConsecutiveHyphenLimit] = CChangesDocumentSettingsConsecutiveHyphenLimit; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_DoNotHyphenateCaps] = CChangesDocumentSettingsDoNotHyphenateCaps; +AscDFH.changesFactory[AscDFH.historyitem_Document_Settings_HyphenationZone] = CChangesDocumentSettingsHyphenationZone; //---------------------------------------------------------------------------------------------------------------------- // Карта зависимости изменений //---------------------------------------------------------------------------------------------------------------------- @@ -723,7 +722,10 @@ CChangesDocumentSettingsTrackRevisions.prototype.CreateReverseChange = function( { return new CChangesDocumentSettingsTrackRevisions(this.Class, this.New, this.Old, this.UserId); }; - +/** + * @constructor + * @extends {AscDFH.CChangesBase} + */ function CChangesDocumentProtection(Class, Old, New, sUserId) { AscDFH.CChangesBase.call(this, Class, Old, New); if (Old && New) { @@ -797,7 +799,6 @@ function CChangesDocumentProtection(Class, Old, New, sUserId) { } this.UserId = sUserId; } - CChangesDocumentProtection.prototype = Object.create(AscDFH.CChangesBase.prototype); CChangesDocumentProtection.prototype.constructor = CChangesDocumentProtection; CChangesDocumentProtection.prototype.Type = AscDFH.historydescription_Document_DocumentProtection; @@ -1090,5 +1091,70 @@ CChangesDocumentProtection.prototype.CreateReverseChange = function () { return ret; }; +/** + * @constructor + * @extends {AscDFH.CChangesBaseBoolProperty} + */ +function CChangesDocumentSettingsAutoHyphenation(Class, Old, New, Color) +{ + AscDFH.CChangesBaseBoolProperty.call(this, Class, Old, New, Color); +} +CChangesDocumentSettingsAutoHyphenation.prototype = Object.create(AscDFH.CChangesBaseBoolProperty.prototype); +CChangesDocumentSettingsAutoHyphenation.prototype.constructor = CChangesDocumentSettingsAutoHyphenation; +CChangesDocumentSettingsAutoHyphenation.prototype.Type = AscDFH.historyitem_Document_Settings_AutoHyphenation; +CChangesDocumentSettingsAutoHyphenation.prototype.private_SetValue = function(value) +{ + this.Class.Settings.autoHyphenation = value; + this.Class.OnChangeAutoHyphenation(); +}; -AscDFH.changesFactory[AscDFH.historydescription_Document_DocumentProtection] = CChangesDocumentProtection; +/** + * @constructor + * @extends {AscDFH.CChangesBaseLongProperty} + */ +function CChangesDocumentSettingsConsecutiveHyphenLimit(Class, Old, New, Color) +{ + AscDFH.CChangesBaseLongProperty.call(this, Class, Old, New, Color); +} +CChangesDocumentSettingsConsecutiveHyphenLimit.prototype = Object.create(AscDFH.CChangesBaseLongProperty.prototype); +CChangesDocumentSettingsConsecutiveHyphenLimit.prototype.constructor = CChangesDocumentSettingsConsecutiveHyphenLimit; +CChangesDocumentSettingsConsecutiveHyphenLimit.prototype.Type = AscDFH.historyitem_Document_Settings_ConsecutiveHyphenLimit; +CChangesDocumentSettingsConsecutiveHyphenLimit.prototype.private_SetValue = function(value) +{ + this.Class.Settings.consecutiveHyphenLimit = value; + this.Class.OnChangeAutoHyphenation(); +}; + +/** + * @constructor + * @extends {AscDFH.CChangesBaseBoolProperty} + */ +function CChangesDocumentSettingsDoNotHyphenateCaps(Class, Old, New, Color) +{ + AscDFH.CChangesBaseBoolProperty.call(this, Class, Old, New, Color); +} +CChangesDocumentSettingsDoNotHyphenateCaps.prototype = Object.create(AscDFH.CChangesBaseBoolProperty.prototype); +CChangesDocumentSettingsDoNotHyphenateCaps.prototype.constructor = CChangesDocumentSettingsDoNotHyphenateCaps; +CChangesDocumentSettingsDoNotHyphenateCaps.prototype.Type = AscDFH.historyitem_Document_Settings_DoNotHyphenateCaps; +CChangesDocumentSettingsDoNotHyphenateCaps.prototype.private_SetValue = function(value) +{ + this.Class.Settings.doNotHyphenateCaps = value; + this.Class.OnChangeAutoHyphenation(); +}; + +/** + * @constructor + * @extends {AscDFH.CChangesBaseLongProperty} + */ +function CChangesDocumentSettingsHyphenationZone(Class, Old, New, Color) +{ + AscDFH.CChangesBaseLongProperty.call(this, Class, Old, New, Color); +} +CChangesDocumentSettingsHyphenationZone.prototype = Object.create(AscDFH.CChangesBaseLongProperty.prototype); +CChangesDocumentSettingsHyphenationZone.prototype.constructor = CChangesDocumentSettingsHyphenationZone; +CChangesDocumentSettingsHyphenationZone.prototype.Type = AscDFH.historyitem_Document_Settings_HyphenationZone; +CChangesDocumentSettingsHyphenationZone.prototype.private_SetValue = function(value) +{ + this.Class.Settings.hyphenationZone = value; + this.Class.OnChangeAutoHyphenation(); +}; diff --git a/word/Editor/DocumentContent.js b/word/Editor/DocumentContent.js index 58c74d9466..1df8387a5f 100644 --- a/word/Editor/DocumentContent.js +++ b/word/Editor/DocumentContent.js @@ -9078,3 +9078,4 @@ CDocumentRecalculateObject.prototype = window['AscCommonWord'] = window['AscCommonWord'] || {}; window['AscCommonWord'].CDocumentContent = CDocumentContent; window['AscWord'].CDocumentContent = CDocumentContent; +window['AscWord'].DocumentContent = CDocumentContent; diff --git a/word/Editor/DocumentContentChanges.js b/word/Editor/DocumentContentChanges.js index 6a62a7959a..1ac998c390 100644 --- a/word/Editor/DocumentContentChanges.js +++ b/word/Editor/DocumentContentChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.11.2016 - * Time: 14:03 - */ AscDFH.changesFactory[AscDFH.historyitem_DocumentContent_AddItem] = CChangesDocumentContentAddItem; AscDFH.changesFactory[AscDFH.historyitem_DocumentContent_RemoveItem] = CChangesDocumentContentRemoveItem; diff --git a/word/Editor/DocumentContentElementBase.js b/word/Editor/DocumentContentElementBase.js index 4092157278..a41c509e5e 100644 --- a/word/Editor/DocumentContentElementBase.js +++ b/word/Editor/DocumentContentElementBase.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 05.04.2017 - * Time: 11:42 - */ var type_Unknown = 0x00; diff --git a/word/Editor/DocumentOutline.js b/word/Editor/DocumentOutline.js index b9f0271428..1d758229d7 100644 --- a/word/Editor/DocumentOutline.js +++ b/word/Editor/DocumentOutline.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 19.12.2017 - * Time: 14:41 - */ /** * Класс для работы со структурой документа diff --git a/word/Editor/DocumentSettings.js b/word/Editor/DocumentSettings.js index e03a756c4b..0666b9b1a6 100644 --- a/word/Editor/DocumentSettings.js +++ b/word/Editor/DocumentSettings.js @@ -34,12 +34,17 @@ (function(window) { + const DEFAULT_HYPHENATION_ZONE = 360; + /** * Класс с глобальными настройками для документа + * @param {AscWord.CDocument} logicDocument * @constructor */ - function CDocumentSettings() + function DocumentSettings(logicDocument) { + this.LogicDocument = logicDocument; + this.View = Asc.DocumentView.None; this.MathSettings = undefined !== CMathSettings ? new CMathSettings() : {}; this.CompatibilityMode = AscCommon.document_compatibility_mode_Current; @@ -47,12 +52,18 @@ this.SpecialFormsSettings = new CSpecialFormsGlobalSettings(); this.WriteProtection = undefined; this.DocumentProtection = undefined !== AscCommonWord.CDocProtect ? new AscCommonWord.CDocProtect() : null; - - this.ListSeparator = undefined; - this.DecimalSymbol = undefined; - this.GutterAtTop = false; - this.MirrorMargins = false; - this.TrackRevisions = false; // Флаг рецензирования, который записан в самом файле + + // Параметры, связанные с автоматической расстановкой переносов + this.autoHyphenation = undefined; + this.hyphenationZone = undefined; + this.consecutiveHyphenLimit = undefined; + this.doNotHyphenateCaps = undefined; + + this.ListSeparator = undefined; + this.DecimalSymbol = undefined; + this.GutterAtTop = false; + this.MirrorMargins = false; + this.TrackRevisions = false; // Флаг рецензирования, который записан в самом файле // Compatibility this.SplitPageBreakAndParaMark = false; @@ -61,7 +72,55 @@ this.UlTrailSpace = false; this.UseFELayout = false; } + DocumentSettings.prototype.isAutoHyphenation = function() + { + return !!this.autoHyphenation; + }; + DocumentSettings.prototype.setAutoHyphenation = function(isAuto) + { + if (this.autoHyphenation === isAuto + || (!isAuto && undefined === this.autoHyphenation)) + return; + + AscCommon.AddAndExecuteChange(new CChangesDocumentSettingsAutoHyphenation(this.LogicDocument, this.autoHyphenation, isAuto)); + }; + DocumentSettings.prototype.isHyphenateCaps = function() + { + return (true !== this.doNotHyphenateCaps); + }; + DocumentSettings.prototype.setHyphenateCaps = function(isHyphenate) + { + if (this.doNotHyphenateCaps === !isHyphenate + || (isHyphenate && undefined === this.doNotHyphenateCaps)) + return; + + AscCommon.AddAndExecuteChange(new CChangesDocumentSettingsDoNotHyphenateCaps(this.LogicDocument, this.doNotHyphenateCaps, !isHyphenate)); + }; + DocumentSettings.prototype.getConsecutiveHyphenLimit = function() + { + return !this.consecutiveHyphenLimit ? 0 : this.consecutiveHyphenLimit; + }; + DocumentSettings.prototype.setConsecutiveHyphenLimit = function(limit) + { + if (this.consecutiveHyphenLimit === limit + || (undefined === this.consecutiveHyphenLimit && !limit)) + return; + + AscCommon.AddAndExecuteChange(new CChangesDocumentSettingsConsecutiveHyphenLimit(this.LogicDocument, this.consecutiveHyphenLimit, limit)); + }; + DocumentSettings.prototype.getHyphenationZone = function() + { + return undefined === this.hyphenationZone ? DEFAULT_HYPHENATION_ZONE : this.hyphenationZone; + }; + DocumentSettings.prototype.setHyphenationZone = function(zone) + { + if (this.hyphenationZone === zone + || (undefined === this.hyphenationZone && DEFAULT_HYPHENATION_ZONE === zone)) + return; + + AscCommon.AddAndExecuteChange(new CChangesDocumentSettingsHyphenationZone(this.LogicDocument, this.hyphenationZone, zone)); + }; //--------------------------------------------------------export---------------------------------------------------- - window['AscWord'].CDocumentSettings = CDocumentSettings; + window['AscWord'].DocumentSettings = DocumentSettings; })(window); diff --git a/word/Editor/Endnotes.js b/word/Editor/Endnotes.js index df22fa0537..13fdb222d6 100644 --- a/word/Editor/Endnotes.js +++ b/word/Editor/Endnotes.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 09.04.2020 - * Time: 13:31 - */ /** * Класс, работающий с концевыми сносками документа diff --git a/word/Editor/EndnotesChanges.js b/word/Editor/EndnotesChanges.js index e2196ac041..e9fc7851d9 100644 --- a/word/Editor/EndnotesChanges.js +++ b/word/Editor/EndnotesChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 09.04.2020 - * Time: 14:19 - */ AscDFH.changesFactory[AscDFH.historyitem_Endnotes_AddEndnote] = CChangesEndnotesAddEndnote; AscDFH.changesFactory[AscDFH.historyitem_Endnotes_RemoveEndnote] = CChangesEndnotesRemoveEndnote; diff --git a/word/Editor/FieldChanges.js b/word/Editor/FieldChanges.js index bb04d40a45..500a6205c6 100644 --- a/word/Editor/FieldChanges.js +++ b/word/Editor/FieldChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 10.11.2016 - * Time: 18:59 - */ AscDFH.changesFactory[AscDFH.historyitem_Field_AddItem] = CChangesParaFieldAddItem; AscDFH.changesFactory[AscDFH.historyitem_Field_RemoveItem] = CChangesParaFieldRemoveItem; diff --git a/word/Editor/FootnotesChanges.js b/word/Editor/FootnotesChanges.js index a950f186ac..c0376e95a3 100644 --- a/word/Editor/FootnotesChanges.js +++ b/word/Editor/FootnotesChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 10.11.2016 - * Time: 19:35 - */ AscDFH.changesFactory[AscDFH.historyitem_Footnotes_AddFootnote] = CChangesFootnotesAddFootnote; AscDFH.changesFactory[AscDFH.historyitem_Footnotes_SetSeparator] = CChangesFootnotesSetSeparator; diff --git a/word/Editor/GlossaryDocument.js b/word/Editor/GlossaryDocument.js index 70d54fe399..c9f335d408 100644 --- a/word/Editor/GlossaryDocument.js +++ b/word/Editor/GlossaryDocument.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 25.03.2020 - * Time: 16:06 - */ var c_oAscDefaultPlaceholderName = { Text : "DefaultPlaceholder_TEXT", diff --git a/word/Editor/GlossaryDocumentChanges.js b/word/Editor/GlossaryDocumentChanges.js index 9054c98f70..4ce8d3d589 100644 --- a/word/Editor/GlossaryDocumentChanges.js +++ b/word/Editor/GlossaryDocumentChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 27.03.2020 - * Time: 13:20 - */ AscDFH.changesFactory[AscDFH.historyitem_GlossaryDocument_AddDocPart] = CChangesGlossaryAddDocPart; diff --git a/word/Editor/GraphicObjects/DrawingStates.js b/word/Editor/GraphicObjects/DrawingStates.js index 0b8e57dcc5..0a3cf2a44a 100644 --- a/word/Editor/GraphicObjects/DrawingStates.js +++ b/word/Editor/GraphicObjects/DrawingStates.js @@ -526,7 +526,8 @@ MoveInlineObject.prototype = onMouseUp: function(e, x,y,pageIndex) { var check_paragraphs = []; - + const bIsMac = AscCommon.AscBrowser.isMacOs; + const bIsCopyKey = bIsMac ? e.AltKey : e.CtrlKey; if (this.majorObject.parent.CanInsertToPos(this.InlinePos)) { var oDstRun = null; @@ -585,7 +586,7 @@ MoveInlineObject.prototype = this.drawingObjects.document.FinalizeAction(); } } - else if(!e.CtrlKey) + else if(!bIsCopyKey) { var arrCheckTypes = []; @@ -749,7 +750,9 @@ RotateState.prototype = { var aCheckParagraphs = [], aNearestPos = [], aParentParagraphs = [], aBounds = [], aDrawings = [], bMoveState = (this instanceof MoveState), nearest_pos; var i, j, page_index, para_drawing; - for(i = 0; i < this.drawingObjects.arrTrackObjects.length; ++i) + const bIsMac = AscCommon.AscBrowser.isMacOs; + const bIsCopyKey = bIsMac ? e.AltKey : e.CtrlKey; + for(i = 0; i < this.drawingObjects.arrTrackObjects.length; ++i) { aDrawings[i] = this.drawingObjects.arrTrackObjects[i].originalObject.parent; bounds = this.drawingObjects.arrTrackObjects[i].getBounds(); @@ -759,7 +762,7 @@ RotateState.prototype = aNearestPos.push(nearest_pos); aParentParagraphs.push(aDrawings[i].Get_ParentParagraph()); } - if(bMoveState && e.CtrlKey && !this.drawingObjects.selection.cropSelection) + if(bMoveState && bIsCopyKey && !this.drawingObjects.selection.cropSelection) { for(i = 0; i < aNearestPos.length; ++i) { @@ -1467,7 +1470,9 @@ MoveInGroupState.prototype = this.drawingObjects.document.StartAction(AscDFH.historydescription_Document_MoveInGroup); var i; var tracks = this.drawingObjects.arrTrackObjects; - if(this instanceof MoveInGroupState && e.CtrlKey && !this.hasObjectInSmartArt) + const bIsMac = AscCommon.AscBrowser.isMacOs; + const bIsCopyKey = bIsMac ? e.AltKey : e.CtrlKey; + if(this instanceof MoveInGroupState && bIsCopyKey && !this.hasObjectInSmartArt) { this.group.resetSelection(); for(i = 0; i < tracks.length; ++i) diff --git a/word/Editor/History.js b/word/Editor/History.js index 0bc6576bfd..ac4292b4f9 100644 --- a/word/Editor/History.js +++ b/word/Editor/History.js @@ -312,7 +312,9 @@ CHistory.prototype = { if ( 0 !== this.TurnOffHistory ) return false; - + + this.RemoveLastTemporaryPoint(); + if (this.Document && this.Document.ClearListsCache) this.Document.ClearListsCache(); @@ -337,6 +339,7 @@ CHistory.prototype = Items : Items, // Массив изменений, начиная с текущего момента Time : Time, // Текущее время Additional : {}, // Дополнительная информация + Temporary : false, Description: nDescription }; @@ -1094,6 +1097,27 @@ CHistory.prototype = if (this.Points[this.Index] && this.Points[this.Index].Additional.FormFilling) delete this.Points[this.Index].Additional.FormFilling; }; + CHistory.prototype.SetLastPointTemporary = function() + { + if (this.Index < 0) + return; + + this.Points[this.Index].Temporary = true; + }; + CHistory.prototype.RemoveLastTemporaryPoint = function() + { + if (this.Index < 0 + || !this.Document.IsDocumentEditor() + || !this.Points[this.Index].Temporary) + return; + + let needOn = this.Document.TurnOff_InterfaceEvents(); + let changes = this.Undo(); + this.Document.UpdateAfterUndoRedo(changes); + + if (needOn) + this.Document.TurnOn_InterfaceEvents(); + }; CHistory.prototype.ClearAdditional = function() { if (this.Index >= 0) @@ -1298,6 +1322,44 @@ CHistory.prototype.private_ClearRecalcData = function() AllParagraphs : null }; }; + CHistory.prototype.getRecalcDataByElements = function(elements) + { + let storedRecalcData = this.RecalculateData; + + this.RecalculateData = { + Inline : { + Pos : -1, + PageNum : 0 + }, + Flow : [], + HdrFtr : [], + Drawings : { + All : false, + Map : {}, + ThemeInfo : null, + SlideMinIdx : null + }, + + Tables : [], + NumPr : [], + NotesEnd : false, + NotesEndPage : 0, + Update : true, + ChangedStyles : {}, + ChangedNums : {}, + LineNumbers : false, + AllParagraphs : null + }; + + for (let i = 0, count = elements.length; i < count; ++i) + { + elements[i].Refresh_RecalcData2(); + } + + let result = this.RecalculateData; + this.RecalculateData = storedRecalcData; + return result; + }; /** * Обработка изменений после Undo/Redo всех изменений */ diff --git a/word/Editor/HyperlinkChanges.js b/word/Editor/HyperlinkChanges.js index 73e049e3d0..86a89d8357 100644 --- a/word/Editor/HyperlinkChanges.js +++ b/word/Editor/HyperlinkChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.11.2016 - * Time: 18:59 - */ AscDFH.changesFactory[AscDFH.historyitem_Hyperlink_Value] = CChangesHyperlinkValue; AscDFH.changesFactory[AscDFH.historyitem_Hyperlink_ToolTip] = CChangesHyperlinkToolTip; diff --git a/word/Editor/MathChanges.js b/word/Editor/MathChanges.js index fdaebd73c1..8ea38613f2 100644 --- a/word/Editor/MathChanges.js +++ b/word/Editor/MathChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 09.11.2016 - * Time: 15:52 - */ // TODO: Изменения с добавлениями строк и колонок матриц работают не совсем корректно: // Нужно либо сделать специальнный класс CContentChanges для случая прямоугольной матрицы, diff --git a/word/Editor/Numbering/AbstractNum.js b/word/Editor/Numbering/AbstractNum.js index 509edc1203..42e8b76d6e 100644 --- a/word/Editor/Numbering/AbstractNum.js +++ b/word/Editor/Numbering/AbstractNum.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.05.2018 - * Time: 15:08 - */ // Import var g_oTextMeasurer = AscCommon.g_oTextMeasurer; diff --git a/word/Editor/Numbering/AbstractNumChanges.js b/word/Editor/Numbering/AbstractNumChanges.js index 4619fc4b80..ec3c8489ce 100644 --- a/word/Editor/Numbering/AbstractNumChanges.js +++ b/word/Editor/Numbering/AbstractNumChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.11.2016 - * Time: 14:37 - */ AscDFH.changesFactory[AscDFH.historyitem_AbstractNum_LvlChange] = CChangesAbstractNumLvlChange; AscDFH.changesFactory[AscDFH.historyitem_AbstractNum_TextPrChange] = CChangesAbstractNumTextPrChange; diff --git a/word/Editor/Numbering/Num.js b/word/Editor/Numbering/Num.js index 2b0f581ec1..49723e390e 100644 --- a/word/Editor/Numbering/Num.js +++ b/word/Editor/Numbering/Num.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.05.2018 - * Time: 15:08 - */ /** * Класс представляющий нумерацию параграфов в документах diff --git a/word/Editor/Numbering/NumChanges.js b/word/Editor/Numbering/NumChanges.js index 597f049930..b53c0e8161 100644 --- a/word/Editor/Numbering/NumChanges.js +++ b/word/Editor/Numbering/NumChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 14.05.2018 - * Time: 14:32 - */ AscDFH.changesFactory[AscDFH.historyitem_Num_LvlOverrideChange] = CChangesNumLvlOverrideChange; AscDFH.changesFactory[AscDFH.historyitem_Num_AbstractNum] = CChangesNumAbstractNum; diff --git a/word/Editor/Numbering/NumberingCommon.js b/word/Editor/Numbering/NumberingCommon.js index 8ec92d53f1..be247985a2 100644 --- a/word/Editor/Numbering/NumberingCommon.js +++ b/word/Editor/Numbering/NumberingCommon.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.05.2018 - * Time: 15:41 - */ var numbering_lvltext_Text = 1; var numbering_lvltext_Num = 2; diff --git a/word/Editor/Numbering/NumberingLvl.js b/word/Editor/Numbering/NumberingLvl.js index 6c028e4b89..82a8c4b1ee 100644 --- a/word/Editor/Numbering/NumberingLvl.js +++ b/word/Editor/Numbering/NumberingLvl.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.05.2018 - * Time: 17:06 - */ function CNumberingLvl() { diff --git a/word/Editor/Numbering/PresentationNumbering.js b/word/Editor/Numbering/PresentationNumbering.js index 0568e565c1..c202b82fe1 100644 --- a/word/Editor/Numbering/PresentationNumbering.js +++ b/word/Editor/Numbering/PresentationNumbering.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.05.2018 - * Time: 15:52 - */ // Import var g_oTextMeasurer = AscCommon.g_oTextMeasurer; @@ -595,6 +590,10 @@ CPresentationBullet.prototype.Draw = function(X, Y, Context, PDSE) for (var iter = sT.getUnicodeIterator(); iter.check(); iter.next()) { var charCode = iter.value(); + if (Context.m_bIsTextDrawer === true) + { + Context.CheckAddNewPath(X, Y, charCode); + } Context.FillTextCode( X, Y, charCode ); X += g_oTextMeasurer.MeasureCode(charCode).Width; } diff --git a/word/Editor/Paragraph.js b/word/Editor/Paragraph.js index 1c4103f6e0..ce1eeba948 100644 --- a/word/Editor/Paragraph.js +++ b/word/Editor/Paragraph.js @@ -1301,10 +1301,15 @@ Paragraph.prototype.OnContentChange = function() this.SpellChecker.ClearCollector(); this.RecalcInfo.NeedSpellCheck(); this.RecalcInfo.NeedShapeText(); + this.RecalcInfo.NeedHyphenateText(); if (this.Parent && this.Parent.OnContentChange) this.Parent.OnContentChange(); }; +Paragraph.prototype.NeedHyphenateText = function() +{ + this.RecalcInfo.NeedHyphenateText(); +}; Paragraph.prototype.Clear_ContentChanges = function() { this.m_oContentChanges.Clear(); @@ -17483,6 +17488,14 @@ Paragraph.prototype.IsBalanceSingleByteDoubleByteWidth = function() let oLogicDocument = this.GetLogicDocument(); return (oLogicDocument && oLogicDocument.IsDocumentEditor() ? oLogicDocument.IsBalanceSingleByteDoubleByteWidth() : false); }; +Paragraph.prototype.isAutoHyphenation = function() +{ + let logicDocument = this.GetLogicDocument(); + if (logicDocument && logicDocument.IsDocumentEditor()) + return logicDocument.GetDocumentSettings().isAutoHyphenation(); + + return false; +}; /** * Выделяем слово, около которого стоит курсор * @returns {boolean} @@ -18728,9 +18741,10 @@ var pararecalc_0_None = 1; function CParaRecalcInfo() { - this.Recalc_0_Type = pararecalc_0_All; - this.SpellCheck = false; - this.ShapeText = true; + this.Recalc_0_Type = pararecalc_0_All; + this.SpellCheck = false; + this.ShapeText = true; + this.HyphenateText = false; } CParaRecalcInfo.prototype = @@ -18748,6 +18762,10 @@ CParaRecalcInfo.prototype.NeedShapeText = function() { this.ShapeText = true; }; +CParaRecalcInfo.prototype.NeedHyphenateText = function() +{ + this.HyphenateText = true; +}; function CDocumentBounds(Left, Top, Right, Bottom) { @@ -20752,3 +20770,4 @@ window['AscCommonWord'].UnknownValue = UnknownValue; window['AscCommonWord'].type_Paragraph = type_Paragraph; window['AscWord'].CParagraph = Paragraph; +window['AscWord'].Paragraph = Paragraph; diff --git a/word/Editor/Paragraph/ComplexField.js b/word/Editor/Paragraph/ComplexField.js index fe8e95e963..397fd5a5ab 100644 --- a/word/Editor/Paragraph/ComplexField.js +++ b/word/Editor/Paragraph/ComplexField.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 15.08.2017 - * Time: 12:52 - */ var fldchartype_Begin = 0; var fldchartype_Separate = 1; diff --git a/word/Editor/Paragraph/ComplexFieldInstruction.js b/word/Editor/Paragraph/ComplexFieldInstruction.js index db86b6fd98..429e1458f0 100644 --- a/word/Editor/Paragraph/ComplexFieldInstruction.js +++ b/word/Editor/Paragraph/ComplexFieldInstruction.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 20.10.2017 - * Time: 15:46 - */ var fieldtype_UNKNOWN = 0x0000; var fieldtype_MERGEFIELD = 0x0001; diff --git a/word/Editor/Paragraph/ParaDrawing.js b/word/Editor/Paragraph/ParaDrawing.js index 6c6ffb6db7..efcba06118 100644 --- a/word/Editor/Paragraph/ParaDrawing.js +++ b/word/Editor/Paragraph/ParaDrawing.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 03.11.2016 - * Time: 11:37 - */ var drawing_Inline = 0x01; var drawing_Anchor = 0x02; @@ -82,8 +77,11 @@ function ParaDrawing(W, H, GraphicObj, DrawingDocument, DocumentContent, Parent) this.DocumentContent = DocumentContent; this.DrawingDocument = DrawingDocument; this.Parent = Parent; - this.LogicDocument = DrawingDocument ? DrawingDocument.m_oLogicDocument : null; + if(!this.LogicDocument) + { + this.LogicDocument = Asc.editor && Asc.editor.WordControl && Asc.editor.WordControl.m_oLogicDocument || null; + } // Расстояние до окружающего текста this.Distance = { @@ -1597,15 +1595,15 @@ ParaDrawing.prototype.updatePosition3 = function(pageIndex, x, y, oldPageNum) if (!(bIsHfdFtr && oDocContent && oDocContent.Get_StartPage_Absolute() !== pageIndex)) { // TODO: ситуацию в колонтитуле с привязкой к полю нужно отдельно обрабатывать через дополнительные пересчеты - if (!oDocContent || !bIsHfdFtr || this.GetPositionV().RelativeFrom !== Asc.c_oAscRelativeFromV.Margin) + if (!(bIsHfdFtr && this.GetPositionV().RelativeFrom !== Asc.c_oAscRelativeFromV.Margin)) { this.graphicObjects.addObjectOnPage(pageIndex, this.GraphicObj); - this.bNoNeedToAdd = false; - } - else - { - this.bNoNeedToAdd = true; } + this.bNoNeedToAdd = false; + } + else + { + this.bNoNeedToAdd = true; } } diff --git a/word/Editor/Paragraph/ParaDrawingChanges.js b/word/Editor/Paragraph/ParaDrawingChanges.js index 2178ba300e..c7c46b9790 100644 --- a/word/Editor/Paragraph/ParaDrawingChanges.js +++ b/word/Editor/Paragraph/ParaDrawingChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 03.11.2016 - * Time: 11:56 - */ AscDFH.changesFactory[AscDFH.historyitem_Drawing_DrawingType] = CChangesParaDrawingDrawingType; AscDFH.changesFactory[AscDFH.historyitem_Drawing_WrappingType] = CChangesParaDrawingWrappingType; diff --git a/word/Editor/Paragraph/ParaRevisionMove.js b/word/Editor/Paragraph/ParaRevisionMove.js index bdabe11637..5ab80f7d26 100644 --- a/word/Editor/Paragraph/ParaRevisionMove.js +++ b/word/Editor/Paragraph/ParaRevisionMove.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 05.04.2019 - * Time: 16:02 - */ /** * Класс для обозначения элемента начала/конца переноса текста во время рецензирования внутри параграфа diff --git a/word/Editor/Paragraph/ParaTextPr.js b/word/Editor/Paragraph/ParaTextPr.js index 01c08f6685..0e63814c9e 100644 --- a/word/Editor/Paragraph/ParaTextPr.js +++ b/word/Editor/Paragraph/ParaTextPr.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 02.11.2016 - * Time: 16:36 - */ /** * Класс представляющий собой настройки текста (сейчас используется как настройка текста для конца параграфа) diff --git a/word/Editor/Paragraph/ParaTextPrChanges.js b/word/Editor/Paragraph/ParaTextPrChanges.js index 951e9f8eef..60c1e93a44 100644 --- a/word/Editor/Paragraph/ParaTextPrChanges.js +++ b/word/Editor/Paragraph/ParaTextPrChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 02.11.2016 - * Time: 16:42 - */ AscDFH.changesFactory[AscDFH.historyitem_TextPr_Bold] = CChangesParaTextPrBold; AscDFH.changesFactory[AscDFH.historyitem_TextPr_Italic] = CChangesParaTextPrItalic; diff --git a/word/Editor/Paragraph/RunContent/Base.js b/word/Editor/Paragraph/RunContent/Base.js index a2e6e55c17..a8b6779dbf 100644 --- a/word/Editor/Paragraph/RunContent/Base.js +++ b/word/Editor/Paragraph/RunContent/Base.js @@ -204,6 +204,14 @@ { return false; }; + /** + * Нужно ли ставить дефис для автоматического переноса + * @returns {boolean} + */ + CRunElementBase.prototype.isHyphenAfter = function() + { + return false; + }; /** * Является ли данный элемент буквой (не цифрой, не знаком пунктуации и т.д.) * @returns {boolean} diff --git a/word/Editor/Paragraph/RunContent/Text.js b/word/Editor/Paragraph/RunContent/Text.js index 9a06717001..3d1828aaf2 100644 --- a/word/Editor/Paragraph/RunContent/Text.js +++ b/word/Editor/Paragraph/RunContent/Text.js @@ -39,23 +39,23 @@ const FLAGS_CS = 0x00000001; // FontSlot (не флагами, а значением const FLAGS_HANSI = 0x00000002; // от 0 до 3) const FLAGS_EASTASIA = 0x00000003; // - const FLAGS_FONTKOEF_SCRIPT = 0x00000004; // 2 бит - const FLAGS_FONTKOEF_SMALLCAPS = 0x00000008; // 3 бит - const FLAGS_SPACEAFTER = 0x00000010; // 4 бит - const FLAGS_CAPITALS = 0x00000020; // 5 бит - const FLAGS_LIGATURE = 0x00000040; // 6 бит - const FLAGS_LIGATURE_CONTINUE = 0x00000080; // 7 бит - const FLAGS_COMBINING_MARK = 0x00000100; // 8 бит - const FLAGS_TEMPORARY = 0x00000200; // 9 бит - const FLAGS_TEMPORARY_LIGATURE = 0x00000400; // 10 бит - const FLAGS_TEMPORARY_LIGATURE_CONTINUE = 0x00000800; // 11 бит - const FLAGS_TEMPORARY_COMBINING_MARK = 0x00001000; // 12 бит - const FLAGS_VISIBLE_WIDTH = 0x00002000; // 13 бит - const FLAGS_GAPS = 0x00004000; // 14 бит + const FLAGS_FONTKOEF_SMALLCAPS = 0x00000004; // 2 бит + const FLAGS_SPACEAFTER = 0x00000008; // 3 бит + const FLAGS_CAPITALS = 0x00000010; // 4 бит + const FLAGS_LIGATURE = 0x00000020; // 5 бит + const FLAGS_LIGATURE_CONTINUE = 0x00000040; // 6 бит + const FLAGS_COMBINING_MARK = 0x00000080; // 7 бит + const FLAGS_TEMPORARY = 0x00000100; // 8 бит + const FLAGS_TEMPORARY_LIGATURE = 0x00000200; // 9 бит + const FLAGS_TEMPORARY_LIGATURE_CONTINUE = 0x00000400; // 10 бит + const FLAGS_TEMPORARY_COMBINING_MARK = 0x00000800; // 11 бит + const FLAGS_VISIBLE_WIDTH = 0x00001000; // 12 бит + const FLAGS_GAPS = 0x00002000; // 13 бит + const FLAGS_HYPHEN_AFTER = 0x00004000; // 14 + const FLAGS_TEMPORARY_HYPHEN_AFTER = 0x00008000; // 15 // 16-31 биты зарезервированы под FontSize - const FLAGS_NON_FONTKOEF_SCRIPT = FLAGS_MASK ^ FLAGS_FONTKOEF_SCRIPT; const FLAGS_NON_FONTKOEF_SMALLCAPS = FLAGS_MASK ^ FLAGS_FONTKOEF_SMALLCAPS; const FLAGS_NON_SPACEAFTER = FLAGS_MASK ^ FLAGS_SPACEAFTER; const FLAGS_NON_CAPITALS = FLAGS_MASK ^ FLAGS_CAPITALS; @@ -68,6 +68,8 @@ const FLAGS_NON_VISIBLE_WIDTH = FLAGS_MASK ^ FLAGS_VISIBLE_WIDTH; const FLAGS_NON_TEMPORARY_COMBINING_MARK = FLAGS_MASK ^ FLAGS_TEMPORARY_COMBINING_MARK; const FLAGS_NON_GAPS = FLAGS_MASK ^ FLAGS_GAPS; + const FLAGS_NON_HYPHEN_AFTER = FLAGS_MASK ^ FLAGS_HYPHEN_AFTER; + const FLAGS_NON_TEMPORARY_HYPHEN_AFTER = FLAGS_MASK ^ FLAGS_TEMPORARY_HYPHEN_AFTER; function CreateNonBreakingHyphen() { @@ -177,7 +179,7 @@ nFS = FLAGS_CS; this.Flags = (this.Flags & 0xFFFFFFFC) | nFS; - + if (oTextPr.Caps || oTextPr.SmallCaps) { this.Flags |= FLAGS_CAPITALS; @@ -192,15 +194,12 @@ this.Flags &= FLAGS_NON_CAPITALS; this.Flags &= FLAGS_NON_FONTKOEF_SMALLCAPS; } + + let isCoeffScript = oTextPr.VertAlign !== AscCommon.vertalign_Baseline; - if (oTextPr.VertAlign !== AscCommon.vertalign_Baseline) - this.Flags |= FLAGS_FONTKOEF_SCRIPT; - else - this.Flags &= FLAGS_NON_FONTKOEF_SCRIPT; - - if (this.Flags & FLAGS_FONTKOEF_SCRIPT && this.Flags & FLAGS_FONTKOEF_SMALLCAPS) + if (isCoeffScript && this.Flags & FLAGS_FONTKOEF_SMALLCAPS) nFontCoef = smallcaps_and_script_koef; - else if (this.Flags & FLAGS_FONTKOEF_SCRIPT) + else if (isCoeffScript) nFontCoef = AscCommon.vaKSize; else if (this.Flags & FLAGS_FONTKOEF_SMALLCAPS) nFontCoef = smallcaps_Koef; @@ -290,8 +289,14 @@ { this.TempWidth = ((nWidth * (((this.Flags >> 16) & 0xFFFF) / 64)) * AscWord.TEXTWIDTH_DIVIDER) | 0; }; - CRunText.prototype.SetWidthVisible = function(nWidth) + CRunText.prototype.SetWidthVisible = function(nWidth, textPr) { + if (this.Flags & FLAGS_TEMPORARY_HYPHEN_AFTER) + { + let fontInfo = textPr.GetFontInfo(AscWord.fontslot_ASCII); + nWidth += AscFonts.GetGraphemeWidth(AscCommon.g_oTextMeasurer.GetGraphemeByUnicode(0x002D, fontInfo.Name, fontInfo.Style)) * (((this.Flags >> 16) & 0xFFFF) / 64); + } + let nW = (nWidth * AscWord.TEXTWIDTH_DIVIDER) | 0; let isTemporary = this.IsTemporary(); @@ -316,11 +321,17 @@ else return (this.Width / AscWord.TEXTWIDTH_DIVIDER); }; - CRunText.prototype.GetWidth = function() + CRunText.prototype.GetWidth = function(textPr) { let nWidth = (this.Flags & FLAGS_TEMPORARY ? this.TempWidth / AscWord.TEXTWIDTH_DIVIDER : this.Width / AscWord.TEXTWIDTH_DIVIDER); + + if (textPr && (this.Flags & FLAGS_TEMPORARY_HYPHEN_AFTER)) + { + let fontInfo = textPr.GetFontInfo(AscWord.fontslot_ASCII); + nWidth += AscFonts.GetGraphemeWidth(AscCommon.g_oTextMeasurer.GetGraphemeByUnicode(0x002D, fontInfo.Name, fontInfo.Style)) * (((this.Flags >> 16) & 0xFFFF) / 64); + } if (this.Flags & FLAGS_GAPS) nWidth += this.LGap + this.RGap; @@ -365,6 +376,9 @@ { AscFonts.DrawGrapheme(this.Grapheme, Context, X, Y, nFontSize); } + + if (this.Flags & FLAGS_TEMPORARY_HYPHEN_AFTER) + this.DrawHyphenAfter(Context, X, Y, nFontSize, oTextPr); if (this.Flags & FLAGS_GAPS) Context.RestoreGrState(); @@ -380,6 +394,13 @@ AscFonts.DrawGrapheme(this.Grapheme, Context, X + shift, Y, nFontSize); }; + CRunText.prototype.DrawHyphenAfter = function(context, X, Y, fontSize, textPr) + { + let fontInfo = textPr.GetFontInfo(AscWord.fontslot_ASCII); + let graphemeId = AscCommon.g_oTextMeasurer.GetGraphemeByUnicode(0x002D, fontInfo.Name, fontInfo.Style); + let shift = this.GetWidth(); + AscFonts.DrawGrapheme(graphemeId, context, X + shift, Y, fontSize); + }; CRunText.prototype.Measure = function(oMeasurer, oTextPr) { if (this.Flags & FLAGS_GAPS) @@ -435,6 +456,32 @@ { return !!(this.Flags & FLAGS_SPACEAFTER); }; + CRunText.prototype.isHyphenAfter = function() + { + return !!(this.Flags & FLAGS_HYPHEN_AFTER); + }; + CRunText.prototype.SetHyphenAfter = function(isHyphen) + { + if (isHyphen) + this.Flags |= FLAGS_HYPHEN_AFTER; + else + this.Flags &= FLAGS_NON_HYPHEN_AFTER; + }; + CRunText.prototype.ResetTemporaryHyphenAfter = function() + { + this.Flags &= FLAGS_NON_TEMPORARY_HYPHEN_AFTER; + }; + CRunText.prototype.SetTemporaryHyphenAfter = function(isHyphen) + { + if (isHyphen) + this.Flags |= FLAGS_TEMPORARY_HYPHEN_AFTER; + else + this.Flags &= FLAGS_NON_TEMPORARY_HYPHEN_AFTER; + }; + CRunText.prototype.IsTemporaryHyphenAfter = function() + { + return !!(this.Flags & FLAGS_TEMPORARY_HYPHEN_AFTER); + }; /** * Получаем символ для проверки орфографии * @param bCaps {boolean} diff --git a/word/Editor/Paragraph/TextHyphenator.js b/word/Editor/Paragraph/TextHyphenator.js new file mode 100644 index 0000000000..966c970854 --- /dev/null +++ b/word/Editor/Paragraph/TextHyphenator.js @@ -0,0 +1,246 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2023 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + +"use strict"; + +(function(window) +{ + let hyphenator = null; + function getInstance() + { + if (!hyphenator) + hyphenator = new TextHyphenator(); + + return hyphenator; + } + + function getWaitingLangCallback(lang, hyphenator) + { + return function() + { + hyphenator.onLoadLang(lang); + }; + } + + const DEFAULT_LANG = lcid_enUS; + + /** + * Класс для автоматической расстановки переносов в тексте + * @constructor + */ + function TextHyphenator() + { + this.word = false; + this.fontSlot = fontslot_Unknown; + this.lang = DEFAULT_LANG; + this.buffer = []; + + this.hyphenateCaps = true; + + this.document = null; + this.paragraph = null; + this.waitingLangs = {}; + } + TextHyphenator.hyphenate = function(paragraph) + { + let hyphenator = getInstance(); + hyphenator.hyphenateParagraph(paragraph); + }; + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // Private area + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + TextHyphenator.prototype.hyphenateParagraph = function(paragraph) + { + if (!this.document) + this.document = paragraph.GetLogicDocument(); + + this.paragraph = paragraph; + this.checkHyphenateCaps(paragraph); + + let self = this; + paragraph.CheckRunContent(function(run, startPos, endPos) + { + self.hyphenateRun(run, startPos, endPos); + }); + this.flushWord(); + }; + TextHyphenator.prototype.hyphenateRun = function(run, startPos, endPos) + { + for (let pos = startPos; pos < endPos; ++pos) + { + let item = run.GetElement(pos); + if (!item.IsText()) + { + this.flushWord(); + } + else if (item.IsNBSP() || item.IsPunctuation()) + { + this.flushWord(); + } + else + { + if (!this.word) + this.updateLang(run, item.GetFontSlot(run.Get_CompiledPr(false))); + + this.appendToWord(item); + + if (item.IsSpaceAfter()) + this.flushWord(); + } + } + }; + TextHyphenator.prototype.resetBuffer = function() + { + this.buffer.length = 0; + AscHyphenation.clear(); + }; + TextHyphenator.prototype.updateLang = function(run, fontSlot) + { + let textPr = run.Get_CompiledPr(false); + let lang; + switch (fontSlot) + { + case fontslot_EastAsia: + lang = textPr.Lang.EastAsia; + break; + case fontslot_CS: + lang = textPr.Lang.Bidi; + break; + case fontslot_HAnsi: + case fontslot_ASCII: + default: + lang = textPr.Lang.Val; + break; + } + + if (textPr.CS) + { + lang = textPr.Lang.Bidi; + fontSlot = fontslot_CS; + } + + this.lang = lang; + this.fontSlot = fontSlot; + }; + TextHyphenator.prototype.appendToWord = function(textItem) + { + this.word = true; + this.buffer.push(textItem); + AscHyphenation.addCodePoint(textItem.GetCodePoint()); + textItem.SetHyphenAfter(false); + }; + TextHyphenator.prototype.flushWord = function() + { + if (!this.word) + return; + + this.word = false; + + if (!this.isHyphenateCaps() && this.isAllCaps()) + return this.resetBuffer(); + + if (!this.checkLangAvailability()) + return this.resetBuffer(); + + let result = AscHyphenation.hyphenate(); + for (let i = 0, len = result.length; i < len; ++i) + { + let pos = result[i] - 1; + if (pos < 0 || pos >= this.buffer.length - 1) + continue; + + this.buffer[pos].SetHyphenAfter(true); + } + + this.resetBuffer(); + }; + TextHyphenator.prototype.isAllCaps = function() + { + for (let i = 0, len = this.buffer.length; i < len; ++i) + { + let char = String.fromCodePoint(this.buffer[i].GetCodePoint()); + if (char.toUpperCase() !== char) + return false; + } + + return true; + }; + TextHyphenator.prototype.checkHyphenateCaps = function(paragraph) + { + this.hyphenateCaps = true; + + let logicDocument = paragraph.GetLogicDocument(); + if (logicDocument && logicDocument.IsDocumentEditor()) + this.hyphenateCaps = logicDocument.GetDocumentSettings().isHyphenateCaps(); + }; + TextHyphenator.prototype.isHyphenateCaps = function() + { + return this.hyphenateCaps; + }; + TextHyphenator.prototype.checkLangAvailability = function() + { + if (this.waitingLangs[this.lang]) + return false; + + if (AscHyphenation.setLang(this.lang, getWaitingLangCallback(this.lang, this))) + return true; + + if (!this.waitingLangs[this.lang]) + this.waitingLangs[this.lang] = []; + + this.waitingLangs[this.lang].push(this.paragraph); + return false; + }; + TextHyphenator.prototype.onLoadLang = function(lang) + { + if (!this.waitingLangs[lang]) + return; + + this.waitingLangs[lang].forEach(function(paragraph) + { + paragraph.NeedHyphenateText(); + }); + + if (this.document) + { + let history = this.document.GetHistory(); + let recalcData = history.getRecalcDataByElements(this.waitingLangs[lang]); + this.document.RecalculateWithParams(recalcData); + } + + delete this.waitingLangs[lang]; + }; + //--------------------------------------------------------export---------------------------------------------------- + window['AscWord'].TextHyphenator = TextHyphenator; + +})(window); + diff --git a/word/Editor/ParagraphChanges.js b/word/Editor/ParagraphChanges.js index 227366a585..089507f6e8 100644 --- a/word/Editor/ParagraphChanges.js +++ b/word/Editor/ParagraphChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 27.10.2016 - * Time: 18:01 - */ AscDFH.changesFactory[AscDFH.historyitem_Paragraph_AddItem] = CChangesParagraphAddItem; AscDFH.changesFactory[AscDFH.historyitem_Paragraph_RemoveItem] = CChangesParagraphRemoveItem; diff --git a/word/Editor/Paragraph_Recalculate.js b/word/Editor/Paragraph_Recalculate.js index 21554a20de..046ef07c31 100644 --- a/word/Editor/Paragraph_Recalculate.js +++ b/word/Editor/Paragraph_Recalculate.js @@ -333,6 +333,8 @@ Paragraph.prototype.RecalculateFastRunRange = function(oParaPos) // а для всех строк, не учавствующих в быстром пересчете, мы должны все сохранить как есть this.ShapeText(); this.ShapeTextInRange(this.Get_StartRangePos2(Line, Range), this.Get_EndRangePos2(Line, Range)); + + this.HyphenateText(); // Если у нас отрезок, в котором произошли изменения является отрезком с нумерацией, тогда надо запустить // обычный пересчет. @@ -430,6 +432,7 @@ Paragraph.prototype.Recalculate_Page = function(CurPage) { this.CalculatedFrame = null; this.ShapeText(); + this.HyphenateText(); } this.Clear_NearestPosArray(); @@ -1208,7 +1211,7 @@ Paragraph.prototype.private_RecalculateLineRanges = function(CurLine, CurPa PRS.Range = CurRange; this.private_RecalculateRange(CurRange, CurLine, CurPage, RangesCount, PRS, ParaPr); - if ( true === PRS.ForceNewPage || true === PRS.NewPage || true === PRS.ForceNewLine ) + if (PRS.isForceLineBreak()) { // Поскольку мы выходим досрочно из цикла, нам надо удалить лишние отрезки обтекания this.Lines[CurLine].Ranges.length = CurRange + 1; @@ -1259,6 +1262,9 @@ Paragraph.prototype.private_RecalculateLineInfo = function(CurLine, CurPa if (PRS.LongWord) this.Lines[CurLine].Info |= paralineinfo_LongWord; + + if (PRS.LastHyphenItem) + this.Lines[CurLine].Info |= paralineinfo_AutoHyphen; }; Paragraph.prototype.private_RecalculateLineMetrics = function(CurLine, CurPage, PRS, ParaPr) @@ -2534,6 +2540,13 @@ Paragraph.prototype.ShapeText = function() AscWord.ParagraphTextShaper.Shape(this); this.RecalcInfo.ShapeText = false; }; +Paragraph.prototype.HyphenateText = function() +{ + if (!this.RecalcInfo.HyphenateText || !this.isAutoHyphenation()) + return; + + AscWord.TextHyphenator.hyphenate(this); +}; Paragraph.prototype.ShapeTextInRange = function(oStartPos, oEndPos) { @@ -2720,6 +2733,7 @@ var paralineinfo_Notes = 0x0040; // В строке есть сноск var paralineinfo_TextOnLine = 0x0080; // Есть ли в строке текст var paralineinfo_BreakLine = 0x0100; // Строка закончилась переносом строки var paralineinfo_LongWord = 0x0200; // В строке длинное слово, которое не убралось +let paralineinfo_AutoHyphen = 0x0400; // Строка закончилась автопереносом function CParaLine() { @@ -3147,6 +3161,7 @@ function CParagraphRecalculateStateWrap(Para) this.SectPr = null; // настройки секции, к которой относится данный параграф this.CondensedSpaces = false; this.BalanceSBDB = false; // BalanceSingleByteDoubleByteWidth + this.autoHyphenation = false; this.Fast = false; // Быстрый ли пересчет @@ -3213,15 +3228,20 @@ function CParagraphRecalculateStateWrap(Para) this.CurPos = new AscWord.CParagraphContentPos(); this.NumberingPos = new AscWord.CParagraphContentPos(); // Позиция элемента вместе с которым идет нумерация - - this.MoveToLBP = false; // Делаем ли разрыв в позиции this.LineBreakPos - this.LineBreakFirst = true; // Последняя позиция для переноса - это первый элемент в отрезке - this.LineBreakPos = new AscWord.CParagraphContentPos(); // Последняя позиция в которой можно будет добавить разрыв - // отрезка или строки, если что-то не умещается (например, - // если у нас не убирается слово, то разрыв ставим перед ним) - this.LastItem = null; // Последний непробельный элемент - this.UpdateLBP = true; // Флаг для первичного обновления позиции переноса в отрезке - + + this.MoveToLBP = false; // Делаем ли разрыв в позиции this.LineBreakPos + this.UpdateLBP = true; // Флаг для первичного обновления позиции переноса в отрезке + this.LineBreakFirst = true; // Последняя позиция для переноса - это первый элемент в отрезке + + // Последняя позиция в которой можно будет добавить разрыв отрезка или строки, если что-то не умещается (например, + // если у нас не убирается слово, то разрыв ставим перед ним) + this.LineBreakPos = new AscWord.CParagraphContentPos(); + + this.LastItem = null; // Последний непробельный элемент + this.LastItemRun = null; // Run, в котором лежит последний элемент LastItem + this.LastHyphenItem = null; + this.autoHyphenLimit = 0; + this.hyphenationZone = 0; this.RunRecalcInfoLast = null; // RecalcInfo последнего рана this.RunRecalcInfoBreak = null; // RecalcInfo рана, на котором произошел разрыв отрезка/строки @@ -3285,6 +3305,21 @@ CParagraphRecalculateStateWrap.prototype = this.CondensedSpaces = Paragraph.IsCondensedSpaces(); this.BalanceSBDB = Paragraph.IsBalanceSingleByteDoubleByteWidth(); + + let logicDocument = Paragraph.GetLogicDocument(); + if (logicDocument && logicDocument.IsDocumentEditor()) + { + let settings = logicDocument.GetDocumentSettings(); + this.autoHyphenation = settings.isAutoHyphenation(); + this.autoHyphenLimit = settings.getConsecutiveHyphenLimit(); + this.hyphenationZone = AscCommon.TwipsToMM(settings.getHyphenationZone()); + } + else + { + this.autoHyphenation = false; + this.autoHyphenLimit = 0; + this.hyphenationZone = 0; + } this.Page = CurPage; this.RunRecalcInfoLast = (0 === CurPage ? null : Paragraph.Pages[CurPage - 1].EndInfo.RunRecalcInfo); @@ -3361,7 +3396,9 @@ CParagraphRecalculateStateWrap.prototype = this.LineBreakPos = new AscWord.CParagraphContentPos(); this.LineBreakFirst = true; this.LastItem = null; + this.LastItemRun = null; this.UpdateLBP = true; + this.LastHyphenItem = null; // for ParaMath this.bMath_OneLine = false; @@ -3387,6 +3424,39 @@ CParagraphRecalculateStateWrap.prototype = this.LineBreakPos.Set(this.CurPos); this.LineBreakPos.Add(PosObj); this.LineBreakFirst = isFirstItemOnLine; + this.ResetLastAutoHyphen(); + }, + + ResetLastAutoHyphen : function() + { + if (!this.LastHyphenItem) + return; + + this.LastHyphenItem.SetTemporaryHyphenAfter(false); + this.LastHyphenItem = null; + }, + + CheckLastAutoHyphen : function(X, XEnd) + { + if (!this.isAutoHyphenation()) + return; + + this.ResetLastAutoHyphen(); + let item = this.LastItem; + let run = this.LastItemRun; + + if (!item || !item.IsText() || !item.isHyphenAfter()) + return; + + let hyphenWidth = this.getAutoHyphenWidth(item, run); + if (X + hyphenWidth > XEnd) + return; + + if (this.isExceedConsecutiveAutoHyphenLimit()) + return; + + this.LastHyphenItem = item; + item.SetTemporaryHyphenAfter(true); }, Set_NumberingPos : function(PosObj, Item) @@ -3999,6 +4069,88 @@ CParagraphRecalculateStateWrap.prototype.IsLastElementInWord = function(oRun, nP return (!oNextItem || !oNextItem.IsText()); }; +CParagraphRecalculateStateWrap.prototype.isAutoHyphenation = function() +{ + return this.autoHyphenation; +}; +CParagraphRecalculateStateWrap.prototype.getAutoHyphenLimit = function() +{ + return this.autoHyphenLimit; +}; +CParagraphRecalculateStateWrap.prototype.getHyphenationZone = function() +{ + return this.hyphenationZone; +}; +CParagraphRecalculateStateWrap.prototype.OnEndRecalculateLineRanges = function() +{ + this.ResetLastAutoHyphen(); +}; +/** + * Получам ширину дефиса, если на данном элементе можно разбить слово + * @returns {number} + */ +CParagraphRecalculateStateWrap.prototype.getAutoHyphenWidth = function(item, run) +{ + if (!this.isAutoHyphenation() || !item || !item.IsText() || !item.isHyphenAfter()) + return 0; + + let textPr = run.Get_CompiledPr(false); + let fontInfo = textPr.GetFontInfo(AscWord.fontslot_ASCII); + return AscFonts.GetGraphemeWidth(AscCommon.g_oTextMeasurer.GetGraphemeByUnicode(0x002D, fontInfo.Name, fontInfo.Style)) * textPr.FontSize; +}; +/** + * Проверяем нужно ли сделать обязательный перенос строки после расчета одного диапазона + * @returns {boolean} + */ +CParagraphRecalculateStateWrap.prototype.isForceLineBreak = function() +{ + return (this.ForceNewPage + || this.NewPage + || this.ForceNewLine + || this.LastHyphenItem); +}; +CParagraphRecalculateStateWrap.prototype.isExceedConsecutiveAutoHyphenLimit = function() +{ + let limit = this.getAutoHyphenLimit(); + if (!limit) + return false; + + let lines = this.Paragraph.Lines; + let curLine = this.Line - 1; + + while (curLine >= 0 && lines[curLine].Info & paralineinfo_AutoHyphen) + --curLine; + + ++curLine; + + return this.Line - curLine >= limit; +}; +CParagraphRecalculateStateWrap.prototype.canPlaceAutoHyphenAfter = function(runItem) +{ + return (this.isAutoHyphenation() + && !this.isExceedConsecutiveAutoHyphenLimit() + && runItem.isHyphenAfter()); +}; +CParagraphRecalculateStateWrap.prototype.checkHyphenationZone = function(x) +{ + // Делаем как в MSWord (проверено в 2019 версии): + // отмеряем сколько уже занято на текущей строке от начала строки, добавляем это значение к левому полю документа + // и вычитаем из позиции правого поля параграфа. Если полученное значение больше hyphenationZone, значит можно + // делать перенос. + // Схема немного странная, т.к. мы считаем расстояние от левой границы параграфа, а добавляем его к левому полю, + // поэтому при смещении параграфа целиком влево или вправо (одинаковом изменении левого и правого отступов) + // разбиение может происходить по-разному, хотя ширина параграфа не меняется + + let paraPr = this.Paragraph.Get_CompiledPr2(false).ParaPr; + + let shift = paraPr.Ind.Left; + if (this.UseFirstLine) + shift += paraPr.Ind.FirstLine; + + return x - shift < this.XLimit - this.getHyphenationZone(); +}; +AscWord.ParagraphRecalculationWrapState = CParagraphRecalculateStateWrap; + function CParagraphRecalculateStateCounter() { diff --git a/word/Editor/PresentationField.js b/word/Editor/PresentationField.js index d4dcf8c77a..d78716765d 100644 --- a/word/Editor/PresentationField.js +++ b/word/Editor/PresentationField.js @@ -60,6 +60,7 @@ var oDateTimeFormats = {}; oDateTimeFormats["datetime1"] = "MM/DD/YYYY"; + oDateTimeFormats["datetimeFigureOut"] = oDateTimeFormats["datetime1"]; oDateTimeFormats["datetime2"] = "dddd\\,\\ mmmm\\ dd\\,\\ yyyy"; oDateTimeFormats["datetime3"] = "DD\\ MMMM\\ YYYY"; oDateTimeFormats["datetime4"] = "MMMM\\ DD\\,\\ YYYY"; @@ -295,6 +296,7 @@ //match field type to index in Asc.c_oAscDateTimeFormat[nLang] switch (sResultFiledType) { + case "datetimeFigureOut": nIdx = 0; break;//"MM/DD/YYYY"; case "datetime1": nIdx = 0; break;//"MM/DD/YYYY"; case "datetime2": nIdx = 1; break;//"dddd\\,\\ mmmm\\ dd\\,\\ yyyy"; case "datetime3": nIdx = 8; break;//"DD\\ MMMM\\ YYYY"; diff --git a/word/Editor/RevisionsChange.js b/word/Editor/RevisionsChange.js index bbf21b056c..93d435d275 100644 --- a/word/Editor/RevisionsChange.js +++ b/word/Editor/RevisionsChange.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 05.04.2017 - * Time: 14:41 - */ /** * Класс для отображения изменения сделанного в режиме рецензирования diff --git a/word/Editor/Run.js b/word/Editor/Run.js index 1c6e2d8eca..390efbfdc1 100644 --- a/word/Editor/Run.js +++ b/word/Editor/Run.js @@ -3820,11 +3820,14 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) { // Отмечаем, что началось слово StartWord = true; - + if (para_ContinuationSeparator === ItemType || para_Separator === ItemType) Item.UpdateWidth(PRS); else if (para_Text === ItemType) + { Item.ResetTemporaryGrapheme(); + Item.ResetTemporaryHyphenAfter(); + } if (true !== PRS.IsFastRecalculate()) { @@ -3957,10 +3960,11 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) { NewRange = true; RangeEndPos = Pos; + PRS.CheckLastAutoHyphen(X + SpaceLen, XEnd); } } } - + if (true !== NewRange) { // Если с данного элемента не может начинаться строка, тогда считает все пробелы идущие @@ -3978,10 +3982,14 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) else if (Item.CanBeAtBeginOfLine()) { PRS.Set_LineBreakPos(Pos, FirstItemOnLine); + PRS.CheckLastAutoHyphen(X + SpaceLen, XEnd); } // Если текущий символ с переносом, например, дефис, тогда на нем заканчивается слово - if (Item.IsSpaceAfter()) + if (Item.IsSpaceAfter() + || (PRS.canPlaceAutoHyphenAfter(Item) + && X + SpaceLen + LetterLen + PRS.getAutoHyphenWidth(Item, this) <= XEnd + && (FirstItemOnLine || PRS.checkHyphenationZone(X + SpaceLen)))) { // Добавляем длину пробелов до слова и ширину самого слова. X += SpaceLen + LetterLen; @@ -4002,9 +4010,13 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) } else { - if (X + SpaceLen + WordLen + GraphemeLen > XEnd - && !FirstItemOnLine - && !PRS.TryCondenseSpaces(SpaceLen + WordLen + GraphemeLen, WordLen + GraphemeLen, X, XEnd)) + + let autoHyphenWidth = PRS.getAutoHyphenWidth(Item, this); + + let fitOnLine = (X + SpaceLen + WordLen + GraphemeLen + autoHyphenWidth <= XEnd + || PRS.TryCondenseSpaces(SpaceLen + WordLen + GraphemeLen + autoHyphenWidth, WordLen + GraphemeLen + autoHyphenWidth, X, XEnd)); + + if (!fitOnLine && !FirstItemOnLine) { MoveToLBP = true; NewRange = true; @@ -4015,7 +4027,10 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) // Мы убираемся в пределах данной строки. Прибавляем ширину буквы к ширине слова WordLen += LetterLen; - if (Item.IsSpaceAfter()) + if (Item.IsSpaceAfter() + || (PRS.canPlaceAutoHyphenAfter(Item) + && fitOnLine + && (FirstItemOnLine || PRS.checkHyphenationZone(X + SpaceLen)))) { // Добавляем длину пробелов до слова и ширину самого слова. X += SpaceLen + WordLen; @@ -4706,6 +4721,8 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) NewRange = true; End = true; + + PRS.OnEndRecalculateLineRanges(); RangeEndPos = Pos + 1; @@ -4828,7 +4845,10 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) } if (para_Space !== ItemType) - PRS.LastItem = Item; + { + PRS.LastItem = Item; + PRS.LastItemRun = this; + } if (true === NewRange) break; @@ -5091,6 +5111,8 @@ ParaRun.prototype.Recalculate_Range_Width = function(PRSC, _CurLine, _CurRange) var StartPos = this.protected_GetRangeStartPos(CurLine, CurRange); var EndPos = this.protected_GetRangeEndPos(CurLine, CurRange); + + let textPr = this.Get_CompiledPr(false); // TODO: Сделать возможность показывать инструкцию var isHiddenCFPart = PRSC.ComplexFields.IsComplexFieldCode(); @@ -5124,7 +5146,7 @@ ParaRun.prototype.Recalculate_Range_Width = function(PRSC, _CurLine, _CurRange) PRSC.Words++; } - PRSC.Range.W += Item.GetWidth(); + PRSC.Range.W += Item.GetWidth(textPr); PRSC.Range.W += PRSC.SpaceLen; PRSC.SpaceLen = 0; @@ -5343,7 +5365,7 @@ ParaRun.prototype.Recalculate_Range_Spaces = function(PRSA, _CurLine, _CurRange, else WidthVisible = Item.GetWidth() + PRSA.JustifyWord; - Item.SetWidthVisible(WidthVisible); + Item.SetWidthVisible(WidthVisible, this.Get_CompiledPr(false)); if (para_FootnoteReference === ItemType || para_EndnoteReference === ItemType) { @@ -8719,7 +8741,10 @@ ParaRun.prototype.Recalc_RunsCompiledPr = function() { this.Recalc_CompiledPr(true); }; - +/** + * @param bCopy {boolean} return a duplicate or reference to the compiled textPr object + * @returns {CTextPr} + */ ParaRun.prototype.Get_CompiledPr = function(bCopy) { if (this.IsStyleHyperlink() && this.IsInHyperlinkInTOC()) @@ -13862,3 +13887,4 @@ window['AscCommonWord'].CanUpdatePosition = CanUpdatePosition; window['AscWord'] = window['AscWord'] || {}; window['AscWord'].ParaRun = ParaRun; window['AscWord'].CRun = ParaRun; +window['AscWord'].Run = ParaRun; diff --git a/word/Editor/RunChanges.js b/word/Editor/RunChanges.js index ff275d999a..172084d0e3 100644 --- a/word/Editor/RunChanges.js +++ b/word/Editor/RunChanges.js @@ -32,12 +32,6 @@ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 21.10.2016 - * Time: 12:56 - */ - AscDFH.changesFactory[AscDFH.historyitem_ParaRun_AddItem] = CChangesRunAddItem; AscDFH.changesFactory[AscDFH.historyitem_ParaRun_RemoveItem] = CChangesRunRemoveItem; AscDFH.changesFactory[AscDFH.historyitem_ParaRun_Bold] = CChangesRunBold; diff --git a/word/Editor/SectionsChanges.js b/word/Editor/SectionsChanges.js index 6730f8cfe3..b876f0abf2 100644 --- a/word/Editor/SectionsChanges.js +++ b/word/Editor/SectionsChanges.js @@ -31,12 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 10.11.2016 - * Time: 14:24 - */ - AscDFH.changesFactory[AscDFH.historyitem_Section_PageSize_Orient] = CChangesSectionPageOrient; AscDFH.changesFactory[AscDFH.historyitem_Section_PageSize_Size] = CChangesSectionPageSize; diff --git a/word/Editor/Serialize2.js b/word/Editor/Serialize2.js index 1bf523ee3d..bc3ed92829 100644 --- a/word/Editor/Serialize2.js +++ b/word/Editor/Serialize2.js @@ -718,7 +718,11 @@ var c_oSer_SettingsType = { BookFoldRevPrinting: 17, SpecialFormsHighlight: 18, DocumentProtection: 19, - WriteProtection: 20 + WriteProtection: 20, + AutoHyphenation: 21, + HyphenationZone: 22, + DoNotHyphenateCaps: 23, + ConsecutiveHyphenLimit: 24 }; var c_oDocProtect = { AlgorithmName: 0, @@ -6971,6 +6975,11 @@ function BinarySettingsTableWriter(memory, doc, saveParams) oThis.saveParams.endnotesIndex = index; } }); + + let settings = oThis.Document.Settings; + if (!settings) + return; + if (oThis.Document.Settings && oThis.Document.Settings.DecimalSymbol) { this.bs.WriteItem(c_oSer_SettingsType.DecimalSymbol, function() {oThis.memory.WriteString3(oThis.Document.Settings.DecimalSymbol);}); } @@ -6991,6 +7000,15 @@ function BinarySettingsTableWriter(memory, doc, saveParams) { this.bs.WriteItem(c_oSer_SettingsType.WriteProtection, function(){oThis.WriteWriteProtect();}); } + if (true === settings.autoHyphenation) + this.bs.WriteItem(c_oSer_SettingsType.AutoHyphenation, function() {oThis.memory.WriteBool(true);}); + if (undefined !== settings.hyphenationZone) + this.bs.WriteItem(c_oSer_SettingsType.HyphenationZone, function() {oThis.memory.WriteLong(settings.hyphenationZone);}); + if (true === settings.doNotHyphenateCaps) + this.bs.WriteItem(c_oSer_SettingsType.DoNotHyphenateCaps, function() {oThis.memory.WriteBool(true);}); + if (undefined !== settings.consecutiveHyphenLimit) + this.bs.WriteItem(c_oSer_SettingsType.ConsecutiveHyphenLimit, function() {oThis.memory.WriteLong(settings.consecutiveHyphenLimit);}); + // if (oThis.Document.Settings && null != oThis.Document.Settings.PrintTwoOnOne) { // this.bs.WriteItem(c_oSer_SettingsType.PrintTwoOnOne, function() {oThis.memory.WriteBool(oThis.Document.Settings.PrintTwoOnOne);}); // } @@ -16428,6 +16446,22 @@ function Binary_SettingsTableReader(doc, oReadResult, stream) // { // editor.WordControl.m_oLogicDocument.Settings.BookFoldRevPrinting = this.stream.GetBool(); // } + else if (c_oSer_SettingsType.AutoHyphenation === type) + { + Settings.setAutoHyphenation(this.stream.GetBool()); + } + else if (c_oSer_SettingsType.HyphenationZone === type) + { + Settings.setHyphenationZone(this.stream.GetLong()); + } + else if (c_oSer_SettingsType.ConsecutiveHyphenLimit === type) + { + Settings.setConsecutiveHyphenLimit(this.stream.GetLong()); + } + else if (c_oSer_SettingsType.DoNotHyphenateCaps === type) + { + Settings.setHyphenateCaps(!this.stream.GetBool()); + } else res = c_oSerConstants.ReadUnknown; return res; diff --git a/word/Editor/StructuredDocumentTags/BlockLevel.js b/word/Editor/StructuredDocumentTags/BlockLevel.js index 644cc52a69..7aef75e17a 100644 --- a/word/Editor/StructuredDocumentTags/BlockLevel.js +++ b/word/Editor/StructuredDocumentTags/BlockLevel.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 04.04.2017 - * Time: 17:00 - */ var type_BlockLevelSdt = 0x0003; diff --git a/word/Editor/StructuredDocumentTags/InlineLevel.js b/word/Editor/StructuredDocumentTags/InlineLevel.js index effd152cf2..0d3068e51d 100644 --- a/word/Editor/StructuredDocumentTags/InlineLevel.js +++ b/word/Editor/StructuredDocumentTags/InlineLevel.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 11.05.2017 - * Time: 16:48 - */ /** * @constructor diff --git a/word/Editor/StructuredDocumentTags/SdtBase.js b/word/Editor/StructuredDocumentTags/SdtBase.js index 3fd06490d7..5d8f223cf2 100644 --- a/word/Editor/StructuredDocumentTags/SdtBase.js +++ b/word/Editor/StructuredDocumentTags/SdtBase.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 02.04.2020 - * Time: 15:50 - */ /** * Базовый класс для контент контролов diff --git a/word/Editor/StructuredDocumentTags/SdtPr.js b/word/Editor/StructuredDocumentTags/SdtPr.js index 9c84555096..097465a9bf 100644 --- a/word/Editor/StructuredDocumentTags/SdtPr.js +++ b/word/Editor/StructuredDocumentTags/SdtPr.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 03.05.2017 - * Time: 12:12 - */ function CSdtPr() { diff --git a/word/Editor/StructuredDocumentTags/SdtPrChanges.js b/word/Editor/StructuredDocumentTags/SdtPrChanges.js index dddced7738..254ed2c417 100644 --- a/word/Editor/StructuredDocumentTags/SdtPrChanges.js +++ b/word/Editor/StructuredDocumentTags/SdtPrChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 03.05.2017 - * Time: 14:58 - */ AscDFH.changesFactory[AscDFH.historyitem_SdtPr_Alias] = CChangesSdtPrAlias; AscDFH.changesFactory[AscDFH.historyitem_SdtPr_Id] = CChangesSdtPrId; diff --git a/word/Editor/StylesChanges.js b/word/Editor/StylesChanges.js index d641345bf6..1db4f4f9bb 100644 --- a/word/Editor/StylesChanges.js +++ b/word/Editor/StylesChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 08.11.2016 - * Time: 19:48 - */ AscDFH.changesFactory[AscDFH.historyitem_Style_TextPr] = CChangesStyleTextPr; AscDFH.changesFactory[AscDFH.historyitem_Style_ParaPr] = CChangesStyleParaPr; diff --git a/word/Editor/Table/TableCellChanges.js b/word/Editor/Table/TableCellChanges.js index ff2e2febe1..c7fceeac01 100644 --- a/word/Editor/Table/TableCellChanges.js +++ b/word/Editor/Table/TableCellChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 07.11.2016 - * Time: 16:57 - */ AscDFH.changesFactory[AscDFH.historyitem_TableCell_GridSpan] = CChangesTableCellGridSpan; AscDFH.changesFactory[AscDFH.historyitem_TableCell_Margins] = CChangesTableCellMargins; diff --git a/word/Editor/Table/TableChanges.js b/word/Editor/Table/TableChanges.js index fc3143df50..9ba6df3f15 100644 --- a/word/Editor/Table/TableChanges.js +++ b/word/Editor/Table/TableChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 03.11.2016 - * Time: 16:43 - */ AscDFH.changesFactory[AscDFH.historyitem_Table_TableW] = CChangesTableTableW; AscDFH.changesFactory[AscDFH.historyitem_Table_TableCellMar] = CChangesTableTableCellMar; diff --git a/word/Editor/Table/TableRowChanges.js b/word/Editor/Table/TableRowChanges.js index 95cfc6a4cd..f72ec0a8c0 100644 --- a/word/Editor/Table/TableRowChanges.js +++ b/word/Editor/Table/TableRowChanges.js @@ -31,11 +31,6 @@ */ "use strict"; -/** - * User: Ilja.Kirillov - * Date: 07.11.2016 - * Time: 14:21 - */ AscDFH.changesFactory[AscDFH.historyitem_TableRow_Before] = CChangesTableRowBefore; AscDFH.changesFactory[AscDFH.historyitem_TableRow_After] = CChangesTableRowAfter; diff --git a/word/api.js b/word/api.js index a0ad949998..2b7adc4e93 100644 --- a/word/api.js +++ b/word/api.js @@ -419,7 +419,6 @@ this.documents = _docs; this.returnDocuments = []; this.current = -1; - this.guid = ""; this.start = function() { @@ -428,14 +427,14 @@ this.api.incrementCounterLongAction(); if (window.g_asc_plugins) - this.guid = window.g_asc_plugins.setPluginMethodReturnAsync(); + window.g_asc_plugins.setPluginMethodReturnAsync(); this.run(); }; this.end = function() { if (window.g_asc_plugins) - window.g_asc_plugins.onPluginMethodReturn(this.guid, this.returnDocuments); + window.g_asc_plugins.onPluginMethodReturn(this.returnDocuments); delete this.api.__content_control_worker; this.api.decrementCounterLongAction(); @@ -1406,6 +1405,7 @@ background-repeat: no-repeat;\ [c_oAscDocumentShortcutType.UpdateFields, 120, false, false, false], [c_oAscDocumentShortcutType.Superscript, 188, true, false, false], [c_oAscDocumentShortcutType.NonBreakingHyphen, 189, true, true, false], + [c_oAscDocumentShortcutType.NonBreakingHyphen, 173, true, true, false], [c_oAscDocumentShortcutType.HorizontalEllipsis, 190, true, false, true], [c_oAscDocumentShortcutType.Subscript, 190, true, false, false], [c_oAscDocumentShortcutType.IncreaseFontSize, 221, true, false, false], @@ -1422,7 +1422,9 @@ background-repeat: no-repeat;\ [c_oAscDocumentShortcutType.ApplyHeading3, 51, false, false, true], [c_oAscDocumentShortcutType.InsertFootnoteNow, 70, true, false, true], [c_oAscDocumentShortcutType.InsertEquation, 187, false, false, true], - [c_oAscDocumentShortcutType.SoftHyphen, 189, false, false, true] + [c_oAscDocumentShortcutType.InsertEquation, 61, false, false, true], + [c_oAscDocumentShortcutType.SoftHyphen, 189, false, false, true], + [c_oAscDocumentShortcutType.SoftHyphen, 173, false, false, true] ]); } @@ -1433,7 +1435,9 @@ background-repeat: no-repeat;\ [c_oAscDocumentShortcutType.ApplyHeading2, 50, true, false, true], [c_oAscDocumentShortcutType.ApplyHeading3, 51, true, false, true], [c_oAscDocumentShortcutType.InsertEquation, 187, true, false, true], - [c_oAscDocumentShortcutType.SoftHyphen, 189, true, false, true] + [c_oAscDocumentShortcutType.InsertEquation, 61, true, false, true], + [c_oAscDocumentShortcutType.SoftHyphen, 189, true, false, true], + [c_oAscDocumentShortcutType.SoftHyphen, 173, true, false, true] ]); } @@ -3041,14 +3045,6 @@ background-repeat: no-repeat;\ AscCommon.baseEditorsApi.prototype.processSavedFile.call(this, url, downloadType, filetype); } }; - asc_docs_api.prototype.endInsertDocumentUrls = function() - { - if (this.insertDocumentUrlsData) { - this.insertDocumentUrlsData.endCallback(this); - this.insertDocumentUrlsData = null; - //this.sync_EndAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.DownloadAs); - } - }; asc_docs_api.prototype.startGetDocInfo = function() { /* @@ -8522,9 +8518,13 @@ background-repeat: no-repeat;\ { var t = this; this.sync_StartAction(c_oAscAsyncActionType.Information, c_oAscAsyncAction.Submit); - var data = {'type': 'sendForm', 'userconnectionid': this.CoAuthoringApi.getUserConnectionId()}; + var data = {'type': 'sendForm', 'userconnectionid': this.CoAuthoringApi.getUserConnectionId(), 'formdata': { + "key1": "qwerty", + "key2": true, + "key3": "2023-07-17" + }}; this.saveFromChanges(data, Asc.c_nMaxConversionTime, function(isTimeout, response) { - if (!(response && response.success)) { + if (!(response && AscCommon.c_oAscServerCommandErrors.NoError === response.code)) { t.sendEvent('asc_onError', Asc.c_oAscError.ID.Submit, c_oAscError.Level.NoCritical); } t.sync_EndAction(c_oAscAsyncActionType.Information, c_oAscAsyncAction.Submit); @@ -13680,7 +13680,61 @@ background-repeat: no-repeat;\ oCtx.drawImage(oOverlayCanvas, 0, 0); return oCtx.getImageData(0, 0, oCanvas.width, oCanvas.height); }; - + + // auto-hyphenation + asc_docs_api.prototype.asc_setAutoHyphenation = function(isAuto) + { + let logicDocument = this.private_GetLogicDocument(); + if (!logicDocument) + return; + + logicDocument.setAutoHyphenation(isAuto); + }; + asc_docs_api.prototype.asc_isAutoHyphenation = function() + { + let logicDocument = this.private_GetLogicDocument(); + return logicDocument ? logicDocument.getDocumentSettings().isAutoHyphenation() : false; + }; + asc_docs_api.prototype.asc_setHyphenateCaps = function(isHyphenateCaps) + { + let logicDocument = this.private_GetLogicDocument(); + if (!logicDocument) + return; + + logicDocument.setHyphenateCaps(isHyphenateCaps); + }; + asc_docs_api.prototype.asc_isHyphenateCaps = function() + { + let logicDocument = this.private_GetLogicDocument(); + return logicDocument ? logicDocument.getDocumentSettings().isHyphenateCaps() : true; + }; + asc_docs_api.prototype.asc_setConsecutiveHyphenLimit = function(limit) + { + let logicDocument = this.private_GetLogicDocument(); + if (!logicDocument) + return; + + logicDocument.setConsecutiveHyphenLimit(limit); + }; + asc_docs_api.prototype.asc_getConsecutiveHyphenLimit = function() + { + let logicDocument = this.private_GetLogicDocument(); + return logicDocument ? logicDocument.getDocumentSettings().getConsecutiveHyphenLimit() : 0; + }; + asc_docs_api.prototype.asc_getAutoHyphenationSettings = function() + { + let logicDocument = this.private_GetLogicDocument(); + return logicDocument ? logicDocument.getAutoHyphenationSettings() : new AscCommon.AutoHyphenationSettings(); + }; + asc_docs_api.prototype.asc_setAutoHyphenationSettings = function(settings) + { + let logicDocument = this.private_GetLogicDocument(); + if (!logicDocument) + return; + + logicDocument.setAutoHyphenationSettings(settings); + }; + //-------------------------------------------------------------export--------------------------------------------------- window['Asc'] = window['Asc'] || {}; CAscSection.prototype['get_PageWidth'] = CAscSection.prototype.get_PageWidth; @@ -14467,6 +14521,16 @@ background-repeat: no-repeat;\ asc_docs_api.prototype["asc_drawPrintPreview"] = asc_docs_api.prototype.asc_drawPrintPreview; asc_docs_api.prototype["asc_closePrintPreview"] = asc_docs_api.prototype.asc_closePrintPreview; asc_docs_api.prototype["asc_getPageSize"] = asc_docs_api.prototype.asc_getPageSize; + + // auto hyphenation + asc_docs_api.prototype["asc_setAutoHyphenation"] = asc_docs_api.prototype.asc_setAutoHyphenation; + asc_docs_api.prototype["asc_isAutoHyphenation"] = asc_docs_api.prototype.asc_isAutoHyphenation; + asc_docs_api.prototype["asc_setHyphenateCaps"] = asc_docs_api.prototype.asc_setHyphenateCaps; + asc_docs_api.prototype["asc_isHyphenateCaps"] = asc_docs_api.prototype.asc_isHyphenateCaps; + asc_docs_api.prototype["asc_setConsecutiveHyphenLimit"] = asc_docs_api.prototype.asc_setConsecutiveHyphenLimit; + asc_docs_api.prototype["asc_getConsecutiveHyphenLimit"] = asc_docs_api.prototype.asc_getConsecutiveHyphenLimit; + asc_docs_api.prototype["asc_setAutoHyphenationSettings"] = asc_docs_api.prototype.asc_setAutoHyphenationSettings; + asc_docs_api.prototype["asc_getAutoHyphenationSettings"] = asc_docs_api.prototype.asc_getAutoHyphenationSettings; CDocInfoProp.prototype['get_PageCount'] = CDocInfoProp.prototype.get_PageCount; CDocInfoProp.prototype['put_PageCount'] = CDocInfoProp.prototype.put_PageCount; diff --git a/word/api_plugins.js b/word/api_plugins.js index ef3b64136c..a93d4632bf 100644 --- a/word/api_plugins.js +++ b/word/api_plugins.js @@ -963,12 +963,8 @@ oDrawing.editExternal(oData["Data"], oData["ImageData"], oData["Width"], oData["Height"], oData["WidthPix"], oData["HeightPix"]); oImagesMap[oData["ImageData"]] = oData["ImageData"]; } - let oApi = this; - let sGuid; - if(window.g_asc_plugins) - { - sGuid = window.g_asc_plugins.setPluginMethodReturnAsync(); - } + + window.g_asc_plugins && window.g_asc_plugins.setPluginMethodReturnAsync(); AscCommon.Check_LoadingDataBeforePrepaste(this, {}, oImagesMap, function() { oLogicDocument.Reassign_ImageUrls(oImagesMap); oLogicDocument.Recalculate(); @@ -976,10 +972,8 @@ oLogicDocument.LoadDocumentState(oStartState); oLogicDocument.UpdateSelection(); oLogicDocument.FinalizeAction(); - if(window.g_asc_plugins) - { - window.g_asc_plugins.onPluginMethodReturn(sGuid); - } + + window.g_asc_plugins && window.g_asc_plugins.onPluginMethodReturn(); }); } else